My stupid mates managed to lock my phone under the "too many attempts" thing... I REFUSE to wipe my phone... all im trying to do is turn on either wifi or data connection through adb using key events
i (think) i know the settings bit is
adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
that worked for gingerbread... i dont know if ics has changed
but i need the keyevents for it
i HAVE tried sqlite but i get the responce
"CAnnot update file - read only"
ive tried
chmod777 (whatever...)/settings.db
but it doesnt affect it
Bump.... please help... i want my phone back :/
Boom. done.
So? What was the solution?
mahrud said:
So? What was the solution?
Click to expand...
Click to collapse
Pulled data/data/com.android.providers.settings/databases/settings.db
changed "lock_pattern_autolock" value to 0
Pushed settings.db
allowed me to enter my pattern and unlocked my phone
Another solution to turn on wifi connection through adb when your phone is under the "too many attempts :
-Download on your PC a simple apk that toggle the WiFi (I use "WiFi On/Off Toggle swticher" apk from the Play Store https://play.google.com/store/apps/details?id=jp.ne.neko.freewing.WiFiOnOff)
-Install the apk with the command : adb install jp.ne.neko.freewing.WiFiOnOff.apk
-Start the activity : adb shell am start -n jp.ne.neko.freewing.WiFiOnOff/.WiFiOnOff
I use this method to unlock the Motorola Defy Mini XT320 (2.3.6) of a friend.
Related
Hello every body...
when I turn on the WI-FI the massage appear Unable to Scan Networks Then the wi-fi turns itself off.
Help me please guys...
i would suggest reflashing the stock firmware with ODIN. I had an issue like this on my Nexus One. Nothing helped. I had to fully wipe the phone and start over.
I found it :
since you're rooted, go to /data/wifi/ and delete bcm_supp.conf (back it up first just in case). Then reboot your phone.
alsatea said:
I found it :
since you're rooted, go to /data/wifi/ and delete bcm_supp.conf (back it up first just in case). Then reboot your phone.
Click to expand...
Click to collapse
Awesome! Many thanks for the tip! You've made my day! That file's gotta be deleted from time to time, as it can get quite clogged. (And when you think I could've re-flashed my phone as per the previous post...!)
I having the same problem as this. after i removed and re entered my wifi login. also i had been on holiday and logged into a few other wifi routers.
when i re entered my home wifi it just kept turning off and saying "unable to scan networks"
its a vodafone UK contract Galaxy S (if that makes any difference)
I tried to root my phone using
[PROGRAM] One Click Root/UnRoot I9000 (Eclair and Froyo) Mac and PC
it seemed to work . i had an extra app for changing a few settings. but i still couldn't find the wifi file i need to delete? Had it not been rooted properly?
I'd really like to fix this without having to do a master reset every time?
What are my options?
Could i take an image of the mobile and remove the file from the image? then restore the image. A bit crazy if routing is not a possibility?
Can anyone help?
Thank you, unable to scan networks solved
How did you solve it?
with master reset?
Latest update to DI07 fixed this issue for me
The update was DI07 for the Samsung Epic 4G, not the Vibrant.
llamaunix said:
This weekend's update to DI07 from DG27 has fixed my "Unable to scan" Wifi issues. Since a few days ago when I would turn on Wifi it would turn itself off after about 10-20 seconds. It would also show a message saying "unable to scan for networks".. Previously I read that a factory reset would fix this problem but I held out for the new update to be pushed to my phone today (9/19) and indeed it fixed my problem. After the update rebooted, my Wifi turned on with no problem and it showed my previously added networks as well.
Good luck!
Click to expand...
Click to collapse
Is this update for the galaxy S?
or is there going to be a similar update?
I haven't logged onto another WIFI since I had to reset the phone (apart from my home WIFI). so i don't have to go through setting it up again.
cheers for the extra info
quick update
I am backing up with titanium backup manger now (free)
so hopefully it will restore the wifi it goes wrong again
(the phone needs to be ROOTED for the Titanium backup to work)
I rooted my phone with
http://forum.xda-developers.com/showthread.php?t=742403
one click rooter ( i couldn't run the "Galaxy S I9000 One-Click Root" file. i ran "rootme" file for 2.1 android, the rootme2.2 is for 2.2 it says dont run both)
And have 'astro file manager'(Free) and can explore more of my phone by pressing the up button a few times.
in astro file manger I searched for the word 'wifi' and got about 3 results. So its probably one of these.
We'll it working for the moment but I'm posting the more info for anyone else.
(I still don't know which file to delete to reset the wifi though.) but the titanium backup should be able to restore the wifi settings
alsatea said:
I found it :
since you're rooted, go to /data/wifi/ and delete bcm_supp.conf (back it up first just in case). Then reboot your phone.
Click to expand...
Click to collapse
hello alsatea,
I have the wifi problem as well, and my galaxy s is rooted by running rootme but I can't find the bcm_supp.conf file. How do I fix the problem without applying factory reset?
thanks
chanXda said:
hello alsatea,
I have the wifi problem as well, and my galaxy s is rooted by running rootme but I can't find the bcm_supp.conf file. How do I fix the problem without applying factory reset?
thanks
Click to expand...
Click to collapse
Hi,
You have first to open 'adb shell' and in the shell enter 'su' (you must allow superuser access on your phone).
Next execute 'rm /data/wifi/bcm_supp.conf' and finaly 'reboot'
Good luck,
Mark
CommanderTux said:
Hi,
You have first to open 'adb shell' and in the shell enter 'su' (you must allow superuser access on your phone).
Next execute 'rm /data/wifi/bcm_supp.conf' and finaly 'reboot'
Good luck,
Mark
Click to expand...
Click to collapse
THANK YOU SO MUCH.
I spent over an hour on the phone with AT&T and then with Samsung trying to resolve the "unable to scan networks" issue. Absolutely worthless.
I rooted my phone just to try this and avoid doing the factory reset, and it worked!
Now if only I knew how to avoid this in the future...
thanks this actually worked for my fascinate as well.. saved me some hassle!
I had the unable to scan networks problem on my Bell Canada Samsung Galaxy S Vibrant.
Have been attaching to static IP in my house using Wifi Static app. (great app, by the way. stores configurations for multiple static ips and then configures wifi and connects automatically when you're in range of one of them. no more manual fiddling with settings for every static IP)
But I guess this precipitated whatever happens to the "conf" file mentioned above.
Initially installed ES Strong file manager to see if I could see the contents of the /data folder. Showed up as empty. (apparently not a high enough level of access to see if there's anything in there)
So needed to go for "root" access.
Rooted my phone with One Click Root:
http://forum.xda-developers.com/showthread.php?t=742403
then installed the "Terminal Emulator" app from Android marketplace.
Ran the terminal emulator to get a command prompt. your soft keyboard should pop up. if not, hit the menu button on your phone and hit "toggle soft keyboard". Then typed in:
'su' and hit 'enter' (do not type quote marks)
to gain superuser access.
The superuser app will pop up to ask you if you want to grant superuser access to the terminal. hit 'yes' or 'ok' or whatever the right button is.
terminal responds with a '#' prompt.
Then I typed in:
'mv /data/wifi/bcm_supp.conf /data/wifi/bcm_supp.bak' and hit 'enter'
to rename the file.
I then typed 'exit' and hit 'enter' to get out of superuser and then I hit the phone's 'back' button to shut down the terminal.
And now my wifi works again!!
The terminal procedure could probably be put into a script.
Next time it happens, I'll just do the same.
Once Bell releases Froyo in Mid-dec, maybe this will be solved. But I'll probably hold off and watch the forums for a while before jumping to Froyo just in case it buggers up something else.
Good luck!
dietrite said:
Now if only I knew how to avoid this in the future...
Click to expand...
Click to collapse
android market
titanium backup
free version
paid is very fast
titanium backup
phone menu button
batch
backup all apps and user data (look for the highest number on the right)
it backs up everything
maybe set a schedule to back up
--
if wifi goes wrong
select backup restore tab
and restore wifi settings
--
xdacalfun said:
I had the unable to scan networks problem on my Bell Canada Samsung Galaxy S Vibrant.
Have been attaching to static IP in my house using Wifi Static app. (great app, by the way. stores configurations for multiple static ips and then configures wifi and connects automatically when you're in range of one of them. no more manual fiddling with settings for every static IP)
But I guess this precipitated whatever happens to the "conf" file mentioned above.
Initially installed ES Strong file manager to see if I could see the contents of the /data folder. Showed up as empty. (apparently not a high enough level of access to see if there's anything in there)
So needed to go for "root" access.
Rooted my phone with One Click Root:
http://forum.xda-developers.com/showthread.php?t=742403
then installed the "Terminal Emulator" app from Android marketplace.
Ran the terminal emulator to get a command prompt. your soft keyboard should pop up. if not, hit the menu button on your phone and hit "toggle soft keyboard". Then typed in:
'su' and hit 'enter' (do not type quote marks)
to gain superuser access.
The superuser app will pop up to ask you if you want to grant superuser access to the terminal. hit 'yes' or 'ok' or whatever the right button is.
terminal responds with a '#' prompt.
Then I typed in:
'mv /data/wifi/bcm_supp.conf /data/wifi/bcm_supp.bak' and hit 'enter'
to rename the file.
I then typed 'exit' and hit 'enter' to get out of superuser and then I hit the phone's 'back' button to shut down the terminal.
And now my wifi works again!!
The terminal procedure could probably be put into a script.
Next time it happens, I'll just do the same.
Once Bell releases Froyo in Mid-dec, maybe this will be solved. But I'll probably hold off and watch the forums for a while before jumping to Froyo just in case it buggers up something else.
Good luck!
Click to expand...
Click to collapse
Had the same problem. Then I was having problems getting Superuser to allow my ADB shell, so I followed the steps above with a terminal emulator and got my Wi-fi on my Captivate back. thx
xdacalfun said:
then installed the "Terminal Emulator" app from Android marketplace.
Ran the terminal emulator to get a command prompt. your soft keyboard should pop up. if not, hit the menu button on your phone and hit "toggle soft keyboard". Then typed in:
'su' and hit 'enter' (do not type quote marks)
to gain superuser access.
The superuser app will pop up to ask you if you want to grant superuser access to the terminal. hit 'yes' or 'ok' or whatever the right button is.
terminal responds with a '#' prompt.
Then I typed in:
'mv /data/wifi/bcm_supp.conf /data/wifi/bcm_supp.bak' and hit 'enter'
to rename the file.
I then typed 'exit' and hit 'enter' to get out of superuser and then I hit the phone's 'back' button to shut down the terminal.
And now my wifi works again!!
Click to expand...
Click to collapse
Beautiful, works great, and I can do this with out a PC, and much more simple. Very nice when you are traveling. Thanks for the tip.
alsatea said:
I found it :
since you're rooted, go to /data/wifi/ and delete bcm_supp.conf (back it up first just in case). Then reboot your phone.
Click to expand...
Click to collapse
Thanks a lot alsatea. Deleting /data/wifi/bcm_supp.conf and rebooting resolved the problem and I got back wi-fi. All the networks remembered previously came back. Thanks mate.
Just in case anyone is reading this topic but is unable to find the bcm_supp.conf file, try this instead:
> adb shell
$ su
# cd /data/misc
# chown wifi.wifi wifi
Then try enabling the wifi again. It should work.
Due to "high demand" here's a dedicated thread to explain howenable live wallpapers on Samsung i5800/i5801. You can find original tutorial by ali_alex here:
1) You need to root your i5800/i5801, you can find a tutorial here. An alternate method to root was described here
Video for the same see this : http://www.youtube.com/watch?v=cus0yaC5ayY
Hope OP doesn't mind just trying to help - thanks hari
2) Download and unrar "sdcard.rar" (attached to this thread) in your SD Card
3) Download Terminal Emulator from the market (http://www.androlib.com/android.application.jackpal-androidterm-zxnC.aspx)
4) Start terminal emulator from your i5800/i5801 and write (in orders):
Code:
su
mount -o remount,rw,codepage=utf8,vfat,xattr,check=no /dev/stl5 /system
cat /sdcard/LiveWallpapersPicker.apk > /system/app/LiveWallpapersPicker.apk
cat /sdcard/libRS.so > /system/lib/libRS.so
cat /sdcard/librs_jni.so > /system/lib/librs_jni.so
reboot
When you write "su" and press enter, terminal ask for root permission, give it
5) Once rebooted you can use live wallpapers
Thanks, it works fine. Very nice tutorial!
Sent from my GT-I5800 using Tapatalk
when i write su and press enter it says not found what to do?
Live wallpapers not working on a rooted phone
I've sucessfully rooted the phone using adb and the root.rar from the thread but I cant seem to enable live wallpapers.
Tried the manual transfer of files as well as adding the files in the update.zip file before rooting.
Here is a transcript of an adb session
Code:
C:\root>adb shell
$ su
su
# ls /system/app/LiveW*
ls /system/app/LiveW*
/system/app/LiveWallpapersPicker.apk
# ls /system/lib/librs*
ls /system/lib/librs*
/system/lib/librs_jni.so
# ls /system/lib/libR*
ls /system/lib/libR*
/system/lib/libRS.so
#
So, I know i have the files in the right locations. Now, what am I missing. The Live wallpapers option doesn't appear at all in the "Select Wallpaper from" picker along with "Gallery" and "Wallpaper gallery".
Would appreciate some help.
Cheers.
vj.vijay20 said:
when i write su and press enter it says not found what to do?
Click to expand...
Click to collapse
Root is required
It does work, but the best of them, like the Galactic Core, slows down the phone alot... it just cant handle most of the live wallpapers.
Guess theres a reason not to have them in the first place
hey buddy,
wen ever i prompt of live wallpapers, a msg pop ups "the application livewallpapers has stopped unexpectedly. please try again"
Plz help. hav already worked on this4 hours. dnt want my efforts to go waste.
got it working
Got live wallpapers working for my i5801. It was a problem with the owner/group settings.
Incase anyone else has the same problem do this.
su
mount -o remount,rw,codepage=utf8,vfat,xattr,check=no /dev/stl5 /system
chown root.root /system/app/LiveWallpapersPicker.apk
chown root.root /system/lib/librs_jni.so
chown root.root /system/lib/libRS.so
Click to expand...
Click to collapse
Cheers
LenZoid said:
So, I know i have the files in the right locations. Now, what am I missing. The Live wallpapers option doesn't appear at all in the "Select Wallpaper from" picker along with "Gallery" and "Wallpaper gallery".
Would appreciate some help.
Cheers.
Click to expand...
Click to collapse
Live wallpaper not working....
I have the files in the right locations. Now, what am I missing. The Live wallpapers option doesn't appear at all in the "Select Wallpaper from" picker along with "Gallery" and "Wallpaper gallery".
I've tried all the settings mentioned here....please help
Need your help urgently......real urgent....
Hi,
Need your help urgently......real urgent....
I had rooted my phone (samsung galaxy 3) to run live wallpaper, somehow that did not happen, i tried to root the phone again but now it is stuk on the Android System Recovery screen, giving me option to reboot the system / apply sdcard:update.zip....etc etc..
iv'e rebooted the phone multiple times...it is not starting ....please please please help me......
help...
when iwrite these code it shows "cannot create......:read only file system" what to do
I am also facing same problem as the one of the above user.I think that i have rooted my phone because when i type su i am granted special read write permission. when i type the cat & the rest of the command i get this read only error.
Pls help.
sonijd said:
Hi,
Need your help urgently......real urgent....
I had rooted my phone (samsung galaxy 3) to run live wallpaper, somehow that did not happen, i tried to root the phone again but now it is stuk on the Android System Recovery screen, giving me option to reboot the system / apply sdcard:update.zip....etc etc..
iv'e rebooted the phone multiple times...it is not starting ....please please please help me......
Click to expand...
Click to collapse
remove sd card and reboot... sorry for my english
Wallpapers works great! Thank you!
Friends from India
hi friends,
Even i couldn't get the Live Wallpapers in the First Go.With Same Error "Cannot Create ... : Read only file System"
but i guess the mistake is simple jus try typing as it is given even Caps,Spaces etc.
it worked for me.
And Thanks To the Admin for posting this it took me a little more than 5 hrs to figure out the correct file even after giving the links (there's a spl file for I5801 india) please try rooting through that.
Love this forum
I'm able 2 run first line but when i tried 2 execute 2nd line it gave me following error
cannot create /system it is a directory
wat is that special file i'm also from india plz rep me back 2 my email if possible send d file also my id is [email protected]
Rooting and installing the live wallpaper worked perfectly for me, although I had a little hard time typing the codes.
The only problem I face now is that my phone isn't coming as a storage device when I plug it in the USB. I tried the USB settings, Debugging etc in the phone. The PC detects it as "Samsung USB Composite Device". Any solutions to my problem?
Its probably a typo that causes the error. I suggest going to ur internet browser on your phone, to this website, and simply copy each kernal 1 line at a time.
also, I have enabled live wallpapers, and while its an amazing feature, i seem to have a problem, and that problem is that the phone switches off once in a day due to locking up and then restarts.
i have been at it for 5 god damn hours and nothing has happened....it jus keeps saying no such dir found....
its there u damn phone!!! look!!
what do i do to fix this....have read all the threads relating to live wallpapers....no luck!
I recently got my Samsung captivate and whenever i try to open market, gmail etc i need to sign in with my google account. This is fine, however it doesnt let me. I enter all my details correctly and i get "Error Can’t establish a reliable data connection to the server".
Im doing it over wifi and ive tried with my SIM in and out. Ive also tried the youtube workaround but i get "There was a network error while trying to sign in". My phone is parallel imported and has Android 2.2 with lidroid.
I have factory reset 3 times now but nothing has helped, each time i am presented with a chinease setup screen which i cannot understand.
Could someone please help me
- Doc
anyone know what to do?
I read this...
1. adb remount
2. adb shell
3. su
4. rm /data/data/com.android.providers.settings/databases/settings.db
Not good with android, could someone explain if the above would work?
doctorwhobbc said:
anyone know what to do?
I read this...
1. adb remount
2. adb shell
3. su
4. rm /data/data/com.android.providers.settings/databases/settings.db
Not good with android, could someone explain if the above would work?
Click to expand...
Click to collapse
I went to /data/data/com.android.providers.settings/ and there was only a folder called lib and nothing was in it. would this be the problem? does anyone know what the correct files should be in /data/data/com.android.providers.settings/
thanks
call your cellular provider. i had this issue before. it is server issue in my cellular provider
Hello all!
I realize that many many Android users have that issue and don't get any satisfying answer.
Let me introduce you my own experience. This may help and clear things up about Android safe mode.
It started one week ago when I got into a party and the barman threw lots of water at my friends and me. When I went to bed I didn't bother dry myself up, went straight to bed and slept.
When I woke up the next morning (with such a bad headache by the way ), my phone was acting really weird :
1 : it couldn't recognize my SIM card or any SIM card
2 : the little textbox "Safe Mode" had appeared
3 : My Volume up/Volume Down buttons weren't working anymore.
I rebooted the device several times, wondering why would it do that to me!! I googled that all day to understand what was happening to it.
All of the sudden, after a reboot, the Sim Card was recognized again and this problem was fixed. Yay!
Then, I tried all I could about the buttons (opened the device with youtube tutorial and a Torx screw driver T5) tried to clean the volume flex cable, dry it... Nothing to do.
The volume buttons still not responding, safe mode still here.
There are several reasons for safe mode to show itself :
-Holding a button while booting (depending on the device and manufacturer) : simply reboot the device to get back in normal mode.
-A previously downloaded and installed app is causing issues on the device (Android self protection) : you'll need to find that app and uninstall it to get back in normal mode.
-I ran into a forum where someone was explaing how changing one of his internal components that wasn't working anymore fixed his safe mode problem (mostly non responding buttons like my phone).
So I ordered a brand new volume flex cable for my HTC sensation and I am still wating for it (long delivery...) I'll let you know as soon as I replace the component if that has fixed it.
The problem is : in the meantime I just can't access non system apps (in other words : all origin apps, no others). I bought a smartphone to be able to do many more things on it than just call, text message or email...
So I found a solution about it (I am going to test it tonight and will let you know) :
You need to have a rooted device in order to install all apps that you need to run, even though Android is running under safe mode, into /system/apps location. This will "make believe" those apps are actually system apps and will force your device run them at boot.
How does this work?
You need to get ADB tool in order to push command shell to the device (because terminal emulator or other apps that ease root commands directly on the device can't be loaded... Thanks safe mode!!)
!!!!! Important !!!!!!! I haven't tested this myself yet but will tonight and will let you know on that thread, so watch it before doing anything you wouldn't understand.
from Adb terminal you'll need to get into the system partition and mount it as read and write :
adb shell
su
mount -o remount,rw /dev/null /system
give everyone permissions to write in that folder :
chmod 777 /system/app/
Then, you'll need to store the apks you need into your sdcard (wherever).
Then, copy all apps you need into the folder :
cp -a /sdcard/[pathtoyourapk/theapkyouwanttoinstall] /system/app/
reset the permissions on that folder :
chmod 755 /system/app/
mount -o remount,ro /dev/null /system
sync
Reboot the device :
reboot
You're done.
Don't hesitate correct me if I gave any wrong information, but trust me, I spent enough time on this problem to get self confident and write in here.
Thanks for your attention!
Regards!
Adding information
I tested it and it does work.
However I forgot something :
Once you've copied your apk into the system\app folder just chmod it with 644 :
chmod 644 /system/app/[yourapp.apk]
This will give the system and yourself access grant to the application.
There! =)
Good morning,
I have the following problem with a tablet of a child's parents bought in December.
The boy was set to release by drawing on the screen. Now after he has made a number of attempts is displayed when the message "Too many attempts to enter the sequence" and requires the google account. The problem is that you do not remember your credentials, or because you do not connect to the wifi network is not able to validate credentials.
To get around this I did the following tests:
1) attempt to enter the recovery mode by pressing volume + and power
2) attempt via adb with the command "adb reboot recovery"
But every time you restart it is as if there is no recovery mode and starts normally and returns the usual screen that asks for credentials.
I also run this procedure:
> Adb-d shell
# Sqlite3 data / data / com.android.providers.settings / databases / settings.db
sqlite> update system set value = 0 where name = 'lock_pattern_autolock';
sqlite>. exit
# exit
but when I reboot I get the same error message with the introduction of the credentials.
Nobody can help me?....:crying::crying::crying:
Go to recovery and restore factory
If USB debugging is active, do this:
Code:
adb shell rm /data/system/gesture.key
let that finish then:
Code:
adb reboot
Your tablet will reboot, and you should be able to enter any code, and it will unlock.
thanks so much, with your help I solved the problem ............................ :good::good::good::good::good:
try to install the application "Screen Lock Reset" from google play
it may do the job for you
yiorgosc said:
try to install the application "Screen Lock Reset" from google play
it may do the job for you
Click to expand...
Click to collapse
without unlocking the phone, yeah right.
Temporarily haven't meet this situation.