• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help Minimal update.zip to turn on wifi

Hello everybody!

I have the following problem: I've locked myself out of my Galaxy S5 by swiping over the fingerprint sensor too often while it was wet. Now it requests my alternate password, which I unfortunately don't have anymore . I know I could get back into my phone through the ADM (Android Device Manager: it enables me to return to the swipe screen). Unfortunately an open data connection/wifi needs to be enabled in order to do that, which is not the case (both were turned off while I was happily swiping to get in).
The only communication channel I managed to open up to the phone until now is through the "adb sideload update.zip" path: it successfully uploads an update.zip.
My questions are: can I use this to enable wifi by placing a line like:
run_program("svc", "wifi", "enable");
into the updater-script, such that it's also enabled when I reboot the phone? And if so, can anybody direct me which tools I need to create a signed update.zip in order to achieve this? Is there maybe some other way to turn on wifi in such case?
I have some personal data on my phone, which I would really like to retrieve (I have no backup of it, otherwise I wouldn't care).
Any help greatly appreciated,
John
 
Thanks a lot for the quick responses - you guys are great!! :thumbsupdroid:
I've tried what you suggested, but any "adb shell" command (the easy way) yields an "error: closed". I guess the problem is, that I might not have "USB debugging" turned on (not sure though). Connecting with Kies 3 eg. also tells me that my device is locked. That's why I was thinking about the update.zip way, as it does react to "adb sideload update.zip", but it always fails with errors like "E: footer is wrong" and/or "E: signature verification failed"..
 
Me three. :( I think your worry proved to be true! I did all steps according to the tutorial, but end up with the "E: footer is wrong"/"E: signature verification failed" errors. So let me guess: the only thing I need to do is prepare my update.zip and find somebody at Samsung to sign it for me, right? Damn... :saddroid:
 
Me three. :( I think your worry proved to be true! I did all steps according to the tutorial, but end up with the "E: footer is wrong"/"E: signature verification failed" errors. So let me guess: the only thing I need to do is prepare my update.zip and find somebody at Samsung to sign it for me, right? Damn... :saddroid:

If only they would (and they won't :()...

Without USB debugging enabled (to allow adb access) or an unlocked bootloader (to enable launching of a custom recovery or insecure boot image) your options are pretty limited I'm afraid.
 
Back
Top Bottom