[OFFICIAL][libra] TWRP 3.1

Sebbo06

Senior Member
Jul 3, 2014
59
10
0
After some dtb repacking and testing I think that this is caused by touchscreen firmware updating in first boot. In second it should work normally.

Wysłane z mojego Mi-4c przy użyciu Tapatalka
I tried this method, but it still doesn*t work for me.
I rebootet the phone three times after updating via flashify.
 

kevinnol

Senior Member
Apr 24, 2011
384
130
0
Flashed it and had the touchscreen issue for a few minutes, after that nothing. No problems at all
Appreciate your work

*I deleted the twrp folder and used fastboot erase recovery just in case
 
Last edited:

Sebbo06

Senior Member
Jul 3, 2014
59
10
0
Flashed it and had the touchscreen issue for a few minutes, after that nothing. No problems at all
Appreciate your work

*I deleted the twrp folder and used fastboot erase recovery just in case
Yes it worked now :)
I did the following:
1. Install [TOOL]Minimal ADB and Fastboot [8-28-15]6 and put the twrp.img from here in that folder
2. Run the Phone in fathboot mode
3. Open Minimal ADB and Fastboot
4. Type in: fastboot erase recovery
5. Type in: fastboot flash twrp.img
6. Reboot the phone by holding the power button for some seconds
7. Reboot into recovery and wait 3-5 minutes
8. Done :D

PS. Next reboot into recovery will be without any delay

Update: Delay is back, you have to wait about 1 min to be able to unlock the touch screen.
 
Last edited:

msdx123

New member
Feb 20, 2016
2
0
0
I using alterbang device tree without any big changes.

Wysłane z mojego Mi-4c przy użyciu Tapatalka
Did you change anything about SElinux?
Cz in alterbang's device tree SElinux is disabled
But your recovery set SElinux to permissive.
Once I set SElinux to permissive, my TWRP could not boot.
 

fays91

Senior Member
Jan 4, 2012
68
16
38
Paris
Hello always touch problem
The only recovery that does not have this problem and that of TS TEAM Version 2.8.7.3
their version 3.0.0.2 Touch prblème
why not this based on this 3.0.0.2 version fixed the bug
 

ketut.kumajaya

Recognized Developer
Apr 28, 2011
4,935
14,131
0
Bekasi
@AndropaX I confirm touchscreen firmware "ping-pong" issue the source problem of TWRP touchscreen freeze on boot. If touchscreen driver found a different firmware version, it will flash a "proper" firmware and delayed touchscreen event initialization. Replace your TWRP kernel with my own normal boot kernel fix this issue.
 
  • Like
Reactions: Autines

ketut.kumajaya

Recognized Developer
Apr 28, 2011
4,935
14,131
0
Bekasi
My kernel version:
Code:
# cat /proc/version                                               
Linux version 3.10.49-perf-gbd5d555-03937-g649baf6 ([email protected]) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Thu Dec 3 23:41:23 CST 2015
from miui_MI4c_V7.1.6.0.LXKCNCK_1debc127a9_5.1.zip
 

ketut.kumajaya

Recognized Developer
Apr 28, 2011
4,935
14,131
0
Bekasi
@AndropaX @ketut.kumajaya
So it is possible to have a TWRP 3.0 without touch problems? How can we make it?
Not sure, this TWRP in-kernel touchscreen firmware known different to my normal boot firmware, touchscreen lag on boot because initial firmware flashing process. Two possible solution, change touchscreen driver probe order early or prevent touchscreen driver to flash a firmware update on recovery boot.

No TWRP problem for me, my normal boot and recovery boot will be always use same kernel, same in-kernel touchscreen firmware, no boot delay because of touchscreen firmware flashing process.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone