Jump to content

Lost wi-fi tethering on 2.2, help with sqlite 3 command


Recommended Posts

Guest neologan
Posted

I tried to set up wi-fi tethering (portable wi-fi hotspot) in 2.2 after moving to flibblesan's ROM, but I've caused this annoying bug to happen when you bork the settings: http://www.google.com/support/forum/p/andr...024a7&hl=en

there is a post saying i can edit the settings using this command in ADB: sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'update secure set value="Andy" where name="wifi_ap_ssid"'

but it doesn't work, i get this error: error too many options: android.bat

There is no way i'm doing a factory reset to get this working again, can someone with deeper knowledge than I help me on this one?

here is the full post:

I'm running build FRF91 (CyanogenMod-6.0.0-Desire-RC2) on a HTC Desire, and can easily hose wifi hotspot as per this thread by setting the SSID to "I, Android".

Fortunately, it's recoverable *without* a factory reset: the SSID is stored in the /data/data/com.android.providers.settings/databases/settings.db sqllite db, and can be reset to something sane as follows (e.g. via adb shell):

sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'update secure set value="Andy" where name="wifi_ap_ssid"'

use

sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'select * from secure'

to check the current value.

Guest samjam
Posted
can no one help? :unsure:

Can you post the exact command you typed (use cut-and-paste) which gave the android.bat error?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.