[Development] auto twrp recovery porter v.1.4 and Wiko Sunny
[Development] auto twrp recovery porter v.1.4 and Wiko Sunny
(17-04-2019, 10:47 AM)Alvin50 Hi all,
I'm trying to install TWRP recovery on a Wiko Sunny.
I have made hudreds of unsuccessful trials using all methods I can have heard on...
So I gave a try to Auto TWRP Recovery Porter V1.4
The phone was already rooted, and I had PhilZ Touch 6.59.0 installed.
Also installed was the wiko official update Android Marshmallow 6 [23] kernel 3.18.19
from which I took the stock recovery to port. The Recovery Porter found DM verity
true, and asked for a boot.img patch, but it was irrelevant, as the phone was rooted.
Anyway, I tried to install the patched recovery, and ended with a TWRP screen where
the touch was inactive, so I couldn't swipe to go on. I then thought it dipended by the
recovery I used, or, as I have read somewhere, by a kernel problem. After other useless
trials, I guessed that it couldn't be a kernel issue, because PhilZ touch used this very kernel
and had touch active. So I tried to use the PhilZ recovery image as input for the TWRP
Porter. This time I had the "No DM verity found" message, but the final result was the same,
no touch. So I suppose that the problem is in the TWRP recovery itself.
I have found old similar issues on this forum, but in most cases I couldn't test the solutions
given there, because their links were broken and the files lost.
Summing up, it appears that the recovery obtained from Recovery Porter v1.4 using recovery.img
of PhilZ Touch 6.59.0 is the most likely to be modified to achieve a successful TWRP on Wiko Sunny...
Any hint?
Best regards
(20-04-2019, 02:58 AM)Alvin50 Now I'm ready to report...
I have tested five recoveries, two from PhilZ, three TWRP.
The Philz ones had touch working, as usual, while none of the TWRPs did, as usual...
Every time I tested a recovery, it ended in a bootloop, that's while rebooting from
the recovery I came back again into the same one. This looks as a fastboot issue, as
the same ones, if flashed with flashtools performed correctly. Maybe an address issue,
as fastboot doesn't use scatter file.
Each time I started from the official update file "sunny V46" with its own installer.
Each time I re-enabled developer and security options.
I also standardized the test using a batch file to avoid mistyping or distraction-due
mistakes, that are easy to happen on repetitive tasks.
Here's the command list:
adb devices
adb reboot bootloader
fastboot devices
fastboot oem unlock
pause
fastboot flash boot recovery.img
pause
fastboot reboot
I have put the pauses to allow inputs to the phone and to test for reboot mode as I had
a suspect that it set the bootlock on again. Fastboot reboot is a pain in the *** as
every time it is called it's necessary to manually set all developer's crap...
That's all, presently, thank you for your support
(20-04-2019, 08:57 PM)Alvin50 Yes, after 'fastboot reboot' it rebooted on the recovery I flashed.
When flashing TWRP I then had a touchless screen I coudn't swipe.
Pushing power button caused the display change with an overimpressed
padlock. no other action possible. Extracting an reinserting the battery led
to the same screen on power up.
When flashing Philz, it came on with touch working, but when I selected
"reboot", it rebooted on itself and I had to restore the previous official update.
Which utility could I use to have a comparison file between the PhilZ ad the TWRP recoveries?
In my opinion this is the very starting point. I tried to do something like with Double Commander,
but it isn't the right tool for this.
Alternately, it would be necessary to have the source code for both, at least for the touch section.
Best regards