Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/system/bin/sh
#
# VALUES (_id,name,numeric,mcc,mnc,apn,user,server,password,proxy,port,mmsproxy,mmsport,mmsc,current)
#
SQLITE="/system/bin/sqlite3"
DB="/data/data/com.google.android.providers.telephony/databases/telephony.db"
# Telecom New Zealand
"$SQLITE" "$DB" "INSERT INTO carriers VALUES(NULL, 'Telecom New Zealand', '53000', '530', '00', 'internet', 'mobile@jamamobile', '*', 'telecom', NULL, NULL, NULL, NULL, 'null', NULL);"
# EMOBILE(emb)
#"$SQLITE" "$DB" "INSERT INTO carriers VALUES(NULL, 'EMOBILE', '44000', '440', '00', 'emb.ne.jp', 'em', '*', 'em', NULL, NULL, NULL, NULL, 'null', NULL);"
# EMOBILE(EMnet)
"$SQLITE" "$DB" "INSERT INTO carriers VALUES(NULL, 'EMOBILE', '44000', '440', '00', 'emnet.connect', 'emobile', '*', 'emobile', 'wm.internal.emnet.ne.jp', 8080, NULL, NULL, 'http://mms.internal.emnet.ne.jp', NULL
);"
#"$SQLITE" "$DB" ".dump"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.