Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@matsuu
Created July 23, 2008 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matsuu/1650 to your computer and use it in GitHub Desktop.
Save matsuu/1650 to your computer and use it in GitHub Desktop.
#!/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