Sunday, September 25, 2016

Phone bricked stuck on Android screen, access to adb and fastboot, logs provided

Hello,

I recently messed up my phone. Long story short, I snatched an OTA, modified it and tried to force it on my phone. The vanilla OTA always failed in the check process because I modified some /system files on my phone. In result of that, a couple of files has been wrongly patched ( /system/app/OpenWnn/OpenWnn.apk ; /system/bin/debuggerd ; /system/bin/install-recovery.sh ; /system/priv-app/ApeCloudFileManager/ApeCloudFileManager.apk ; and maybe others indirectly ). I can provide more informations about my slip up if you wish.
Since then when I start my phone I'm stuck at the "Wiko, powered by Android" screen. I can access the stock recovery menu, and the factory mode. I also have access to my phone throught adb, adbd, and fastboot.
My phone is a Wiko Rainbow Lite 4G ( http://ift.tt/2d8GNcg ), the actual manfacturer is Tinno so the phone is probably sold under different names around the world, Wiko being only a "middle-man".

With that said, I can't flash the ROM using the utility given to me by Wiko. They do not provide "stock rom" with scatter file, but instead use their own software, a sole .exe file ready-to-use, you hook your phone to your pc, restart the phone by pressing random combination of buttons, and voila. However, I managed to extract the system.img, boot.img, etc files from the .exe . So I figured out I could try to use "fastboot flash system system.img" command to restore whatever files are messed up. Might as well not touch /recovery and /boot because I can access the recovery the phone seems to boot correctly ( from what I understand /boot is just a bootloader, so me being a pc-guy I wouldn't see the point of reinstalling GRUB if windows was missing a dll or something like that ) .
But the phone is locked .... Here's the "fastboot oem device-info" result
Code:

(bootloader)        Device tampered: false
(bootloader)        Device unlocked: false
(bootloader)        Charger screen enabled: true
(bootloader)        Display panel:
OKAY [  0.005s]

And I when I try to "fastboot oem unblock" :
Code:

FAILED (remote: oem unlock is not allowed)
So yeah .... I'm stuck there. If anyone got an idea, even a vague one of what I could try next to unbrick my phone that would be very kind of you. There's no wrong answers. So please if you got a couple minutes to spare (you already made it through my laïus which is already something ) I would be very grateful.

I'm thinking about extracting files from system.img and copy them on my /system partitions throught adbd with a script .... But I'm not sure if that would help or make it worse.

If you need informations here's the logcat I got under "factory mode" ; part1 : http://ift.tt/2d9gTTL , part2 : http://ift.tt/2cCCarv
the pstree (because come on, if a phone can launch all of that, certainly there's something we can do to repair it) : http://ift.tt/2cvULY2
dmesg : http://ift.tt/2d8E2Ib
prop : http://ift.tt/2cvUlkm
cpuinfo : http://ift.tt/2d8Ey96

PS : Yes I'm still a noob when it comes to Android, but please if you have any questions, need more informations, ask and I shall provide.
PPS : @moderators, I apologize if I posted in the wrong section, please redirect me


from xda-developers http://ift.tt/2d9fpcp
via IFTTT

No comments:

Post a Comment