Jump to content
Ceastel

[RECOVERY][ALL] TWRP 3.1.1-0 [27/05/17]

Recommended Posts

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

21_29_42_14upper.png 21_29_53_10lower.png 21_31_01_22upper.png 21_32_09_43upper.png 22_01_53_52upper.png 

Download:

--------------------------------------------

3.1.1-0 [27/05/17]

Y300: https://drive.google.com/file/d/0B4n8T0KQ5a3hNWFad0NQeHRYZms/view?usp=sharing (zip)

G510: TODO

--------------------------------------------

--------------------------------------------

3.1.0-0 [26/03/17]

Y300: https://drive.google.com/open?id=0B4n8T0KQ5a3hT0ZxUF9Sbzdoazg (zip)

G510: TODO

-------------------------------------------

-------------------------------------------

3.0.2-0 [30/10/16] (bugged)

Y300: http://d-h.st/ivC5 (img)

Y300: http://d-h.st/NOin (zip)

G510http://d-h.st/rEMd (img)

G510: http://d-h.st/8n9K (zip)

-----------------------------------------

Bugs:

-?

Thanks:

Kra1o5

 

Edited by Ceastel
  • Upvote 3

Share this post


Link to post
Share on other sites
On 31/10/2016 at 1:14 PM, pesartom said:

doesnt work, my device didnt show any screen after flashing it and rebooting.

Wait 10 seconds after recovery boot.

Share this post


Link to post
Share on other sites

TWRP can not start every time, even after 1-2 minutes. Not only 3.0.2.0 can not reboot, also 2.8.6.0 freeze on reboot.

Share this post


Link to post
Share on other sites
On 10/31/2016 at 7:14 AM, pesartom said:

doesnt work, my device didnt show any screen after flashing it and rebooting.

 

On 11/12/2016 at 1:05 PM, adeii said:

TWRP can not start every time, even after 1-2 minutes. Not only 3.0.2.0 can not reboot, also 2.8.6.0 freeze on reboot.

On the first boot after flashing I didn't see anything either. But I waited a full 60 seconds (the default screen timeout) and then pressed the power button once and it came right up. Haven't had a problem since.

Share this post


Link to post
Share on other sites
On 10/30/2016 at 4:35 PM, Ceastel said:

Bugs:

-reboot button cause freeze (need to pull out battery)

 

On 11/6/2016 at 2:54 AM, Kiodo1981 said:

PowerOff button cause freezing in G510.

Confirmed, reboot and poweroff don't work. I can also confirm that the equivalent commands don't work in terminal mode. Those don't cause a freeze though, they just have no effect and return you right back to the command line after saying "Done."  I think the GUI is issuing the same commands behind the scenes and the GUI freezes because they are simply expected to have worked.

 

I think updating the busybox in the recovery might do the trick. This is the version that is in there now:

BusyBox v1.21.1-jb bionic (2013-07-25 21:23 +0100) multi-call binary.

 

Edited by Geko45
  • Upvote 1

Share this post


Link to post
Share on other sites

Tested my hunch on the outdated busybox and confirmed it.

Went into TWRP and mounted my system partition from my ROM (CM11). Went into "system/xbin" and ran "./busybox reboot" and TWRP instantly rebooted. This was with BusyBox 1.22.1 (as opposed to 1.21.1 in the recovery image).

So, all we need to do is replace the BusyBox with a newer one and poweroff and reboot should work.

  • Upvote 1

Share this post


Link to post
Share on other sites

I only know how to unpack/repack recovery image, do you think it could be useful to replace /sbin content with the /system/xbin one from another rom where I installed my favourite busybox in order to fix the reboot options bugs?

Edited by Micky007

Share this post


Link to post
Share on other sites

Hi Ceastel, I have installed the zip recovery and its bootable but it haves the same problem than TWRP 3.0.2.0, it don´t reboots, then I go to terminal and write su reboot recovery and nothing happens. Its neccesary to pull out battery. The recovery aks me about to install the official TWRP App and I choose not to install then it get freezed. Now i´m flashing my rom again and it did the work. I go again to terminal and write busybox, it´s v1.21.1-jb bionic (2013-07-25) i´m not an specialist and I don´t know how change busybox.

Sorry for my English and thanks for your answer.

Edited by Luisk22

Share this post


Link to post
Share on other sites

Thanks for testing Luisk22.
The reboot/shutdown problem wasn't related to busybox but to TWRP bugged code itself.
I've made some changes and hope it will be working good.
Y300 new build is ready (in first post) about G510 .... I will compile it one day ... 
Greetings

  • Upvote 2

Share this post


Link to post
Share on other sites

Yes, Ceastel! This one (3.1.0) has finaly working reboot!!! I sugest to turn off screen timeout to speed up recovery initial screen.
 

Share this post


Link to post
Share on other sites

Hi Ceastel, yesterday I tested the new TWRP version and I find the following bugs:

1. The recovery clock showed wrong time, for example 2:30 pm it displayed 2:20 pm, this morning I entered in recovery mode again and the time was ok.

2. In terminal mode, reboot command doesn´t works.

3. In reboot menu, when I taped on reboot recovery it booted again but in system mode.

4. When phone is off and I connect charger, the battery charging animation turns center to the right side and viceversa. I don´t know if this is a special effect or a wrong behavior.

Thanks for your work and attention.

Edited by Luisk22
  • Upvote 1

Share this post


Link to post
Share on other sites

Bugs Found for Huawei Ascend Y300:

Quote
On 3/27/2017 at 3:47 PM, Luisk22 said:

Hi Ceastel, yesterday I tested the new TWRP version and I find the following bugs:

1. The recovery clock showed wrong time, for example 2:30 pm it displayed 2:20 pm, this morning I entered in recovery mode again and the time was ok.

2. In terminal mode, reboot command doesn´t works.

3. In reboot menu, when I taped on reboot recovery it booted again but in system mode.

4. When phone is off and I connect charger, the battery charging animation turns center to the right side and viceversa. I don´t know if this is a special effect or a wrong behavior.

Thanks for your work and attention.

Also the black screen when entering Recovery Mode. The screen goes to sleep hence screen is black. I was able to figure out a temporary resolve, just press power button twice quickly when you notice you are on recovery mode but aren't seeing nothing then the screen will pop up.  Other than that excellent job. Thanks for your brilliant mind. We owe you a million :-)

 

  • Upvote 1

Share this post


Link to post
Share on other sites

Last official version is 2.8.6.0, so 3.1.0.0 is unofficial but much better

Share this post


Link to post
Share on other sites

For fix battery charging animation need build kernel witch

CONFIG_FRAMEBUF_SELF_ADAPT_HACK=y
CONFIG_FB_MSM_ALIGN_BUFFER=y

and add in /recovery/ramdisk/sbin/charge.sh

# Don't start recovery if we're in charge mode. Turn off soft keys light.
if [ $recovery == 0 ] ; then
 echo 0 > /sys/class/leds/button-backlight/brightness
+ echo 1 > /sys/module/msm_fb/parameters/align_buffer
 exit 0
fi

  • Upvote 2

Share this post


Link to post
Share on other sites

Blackscreen bug is a difficult to resolve for me because it seems that I don't have this problem on my y300.
In this test version(15-04-17) I tried to fix it.... does it work? I truly have no idea.
I also added a patch from madix (fix animation changing) and disabled broken reboot buttons (aka reboot recovery/bootloader).

Y300 [15-04-17]
https://drive.google.com/file/d/0B4n8T0KQ5a3hcDVuSnhqcS1lRTA/view

@adei
I think turning off screen timeout might result in pernament blackscreen for peoples who have this problem because timeout is trigger that fix it :D
Boot recovery -----> blackscreen ----> screen timeout -----> person wakes up phone with a button - and now everything is fine
This is how I understand that.

@Forart.eu
We could eventually ... maybe at some point.

Greetings

Edited by Ceastel

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use.