[RECOVERY] [Y560-L01] TWRP 2.8.7.0 for Huawei Y5

Search This thread

Nikiz

Senior Member
Feb 14, 2014
221
74
27
Kauhajoki
Code:
#include 
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

Note: Not tested with encrypted data! Backups also corrupt sometimes. I have no idea why. Also happens on CWM.

Downloads:
* Raw image
* Stock recovery

Booting to the recovery:
* Turn the phone off.
* Hold <Vol Up> + <Power> for about 5 seconds. (You have to hold them or it will just boot up normally..)

Installation:
* Install adb and fastboot on your PC.
* Download the image.
* Reboot your phone to the fastboot-mode. ("adb reboot bootloader" or from the recovery)
* Type "fastboot erase cache" to format the cache partition. It can cause some problems, if it isn't erased.
* Type "fastboot boot recovery.img" to test if it works.
* Type "fastboot flash recovery recovery.img" to actually flash it.
* Type "fastboot reboot" to exit the fastboot-mode.

Unlocking the bootloader:
* Note: Unlocking the bootloader WILL format your data!
* Go to Settings -> Developer options and enable "OEM unlocking".
* Reboot your phone to the fastboot-mode. ("adb reboot bootloader" or from the recovery)
* Type "fastboot oem unlock".
* If it doesn't work, try "fastboot oem unlock-go".

Screenshot:
attachment.php


Changelog:
Code:
26/December/2015:
 * Initial release.

Bugs:
Corrupted backups:
Sometimes backups get corrupted for some reason. (Even with MD5 verification)
recovery.log:
Code:
--- snip ---
E:Unable to extract tar archive '/external_sd/TWRP/BACKUPS/4485b88f/2015-12-30--10-17-55_Y560-L01V100R001C577B040/data.ext4.win000'
I:Error extracting '/external_sd/TWRP/BACKUPS/4485b88f/2015-12-30--10-17-55_Y560-L01V100R001C577B040/data.ext4.win000' in thread ID 0
E:Error extracting split archive.
E:extractTarFork() process ended with ERROR=255

Manually extracting the package:
Code:
~ # cd /data
/data # cat /external_sd/TWRP/BACKUPS/4485b88f/2015-12-30--10-17-55_Y560-L01V100R001C577B040/data.ext4.* | tar -xpv
--- snip ---
data/app/com.google.android.apps.photos-1/lib/arm/libframesequence.so
tar: invalid tar magic
/data #

If you find any bugs, please report them to this thread.

Sources:
* Device tree
* Kernel

XDA:DevDB Information
[RECOVERY] [Y560-L01] TWRP 2.8.7.0 for Huawei Y5, Tool/Utility for all devices (see above for details)

Contributors
Nikiz
Source Code: https://github.com/TheNikiz/android_device_huawei_y560/tree/android-5.1


Version Information
Status: Stable

Created 2015-12-26
Last Updated 2016-01-02
 

Attachments

  • twrp.png
    twrp.png
    24 KB · Views: 12,726
Last edited:

giaki3003

Senior Member
Jun 19, 2014
453
203
Awesome! Will include in my General thread then
So device tree is fully working?
Great work anyway
Greetz giaki3003
 

Nikiz

Senior Member
Feb 14, 2014
221
74
27
Kauhajoki
Awesome! Will include in my General thread then
So device tree is fully working?
Great work anyway
Greetz giaki3003

Umm, the device tree is only made for TWRP. You can't compile OmniROM yet. I am working on CyanogenMod 12.1 though. I got to the bootanimation, but it is stuck in there and I can't get a ADB connection. A new build just finished, so I'll test it soon.
 

giaki3003

Senior Member
Jun 19, 2014
453
203
Umm, the device tree is only made for TWRP. You can't compile OmniROM yet. I am working on CyanogenMod 12.1 though. I got to the bootanimation, but it is stuck in there and I can't get a ADB connection. A new build just finished, so I'll test it soon.
Great job! I'll start building as sono as i get my computer going. Would ne good if you upload your source to github.

Inviato dal mio HUAWEI Y560-L01 utilizzando Tapatalk
 

Nikiz

Senior Member
Feb 14, 2014
221
74
27
Kauhajoki
Great job! I'll start building as sono as i get my computer going. Would ne good if you upload your source to github.

Inviato dal mio HUAWEI Y560-L01 utilizzando Tapatalk

Added the CM-12.1 device tree to my Github repo. It is not booting yet though. (Well, there are some changes made that may or may not fix the ART-errors, but I haven't finished building yet. Takes about 6 hours to build a clean build on my computer..)
 
  • Like
Reactions: giaki3003

giaki3003

Senior Member
Jun 19, 2014
453
203
Added the CM-12.1 device tree to my Github repo. It is not booting yet though. (Well, there are some changes made that may or may not fix the ART-errors, but I haven't finished building yet. Takes about 6 hours to build a clean build on my computer..)
Ok [emoji481] BTW any ccache?

Inviato dal mio HUAWEI Y560-L01 utilizzando Tapatalk
 

Nikiz

Senior Member
Feb 14, 2014
221
74
27
Kauhajoki
Found a bug, (?) backups get corrupted for some reason. (Even with MD5 verification) I am not 100% sure if it is a bug or if my SD-card is dying.. (About 6 years old and has been reformatted million times..) Backup your data atleast twice to be safe for now. This happens to me every time I try to restore. Sometimes it is the system and sometimes it is the data..
 
Last edited:

berkantkz

Recognized Developer
Apr 7, 2014
1,260
1,183
LG G4
Samsung Galaxy Fresh GT-S7390
Found a bug, (?) backups get corrupted for some reason. (Even with MD5 verification) I am not 100% sure if it is a bug or if my SD-card is dying.. (About 6 years old and has been reformatted million times..) Backup your data atleast twice to be safe for now. This happens to me every time I try to restore. Sometimes it is the system and sometimes it is the data..

I have same issue on my tablet build by me. I guess this is an issue of Team Win.
 

charger92

New member
Mar 26, 2016
2
0
Islamabad
Huawei Y5 (Huawei 560-u02)

dear experts, I have Huawei Y5 (Huawei 560-u02) with 4.4.2 android version and build # is Y560-U02V100R001C328B104.
I have a question related to this specific model,
on Huawei official website i found "Y5 Open Source (Y560-L01&L02&L03&L23, Android 5.1, kernel )" but not for my device that is Y5 (Y560-U02), my question is that can i install that open source on my device?? any problem may occur? How to install, please guide me
 

ZeeaK

New member
Mar 24, 2016
4
0
Help

Hello, I'm new to Roms and recovery and all so I tought I could ask you, can you help how to do this where I should click and all beacuse this feels more like experienced users. Thanks
 

Alucard

Senior Member
Jul 2, 2012
1,414
239
Hello great job but i want to ask,do i have to unlock bootloader first to flash recovery?Also do i need to be rooted ,whats the easiest way to be rooted?
 
Last edited:

Nikiz

Senior Member
Feb 14, 2014
221
74
27
Kauhajoki
Hello great job but i want to ask,do i have to unlock bootloader first to flash recovery?Also do i need to be rooted ,whats the easiest way to be rooted?

Yes, you have to unlock the bootloader. The point of doing is to be able to rewrite the boot and recovery partitions. No, you don't need root for it, as we are flashing it with fastboot. Best way to root it is with the custom recovery and flashing the UPDATE-SuperSU.zip. You can do it with KingRoot without a custom recovery, but it is a PITA to replace the SuperUser app and removing the bloatware it installs.
 
  • Like
Reactions: berkantkz

amiro13

Senior Member
Jul 17, 2015
171
54
Tbilisi
dd
Yes, you have to unlock the bootloader. The point of doing is to be able to rewrite the boot and recovery partitions. No, you don't need root for it, as we are flashing it with fastboot. Best way to root it is with the custom recovery and flashing the UPDATE-SuperSU.zip. You can do it with KingRoot without a custom recovery, but it is a PITA to replace the SuperUser app and removing the bloatware it installs.

Hi Nikiz.
twrp recovery, that i have ported for huawei Y560-U02 works normally: creats backup, flash .zip file e.t.c...
but:
the blue color lines on screenshots ,really in the device have yellow color
plz tell, where is error? how you think?
thank you
twrp installed after device was rooted, kingroot 4.8.5
 

Attachments

  • Screenshot_2016-05-12-22-46-04.png
    Screenshot_2016-05-12-22-46-04.png
    28.3 KB · Views: 71
  • Screenshot_2016-05-12-22-44-51.png
    Screenshot_2016-05-12-22-44-51.png
    33.6 KB · Views: 65
  • Screenshot_2016-05-12-22-43-23.png
    Screenshot_2016-05-12-22-43-23.png
    46.3 KB · Views: 67
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Code:
    #include 
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    Note: Not tested with encrypted data! Backups also corrupt sometimes. I have no idea why. Also happens on CWM.

    Downloads:
    * Raw image
    * Stock recovery

    Booting to the recovery:
    * Turn the phone off.
    * Hold <Vol Up> + <Power> for about 5 seconds. (You have to hold them or it will just boot up normally..)

    Installation:
    * Install adb and fastboot on your PC.
    * Download the image.
    * Reboot your phone to the fastboot-mode. ("adb reboot bootloader" or from the recovery)
    * Type "fastboot erase cache" to format the cache partition. It can cause some problems, if it isn't erased.
    * Type "fastboot boot recovery.img" to test if it works.
    * Type "fastboot flash recovery recovery.img" to actually flash it.
    * Type "fastboot reboot" to exit the fastboot-mode.

    Unlocking the bootloader:
    * Note: Unlocking the bootloader WILL format your data!
    * Go to Settings -> Developer options and enable "OEM unlocking".
    * Reboot your phone to the fastboot-mode. ("adb reboot bootloader" or from the recovery)
    * Type "fastboot oem unlock".
    * If it doesn't work, try "fastboot oem unlock-go".

    Screenshot:
    attachment.php


    Changelog:
    Code:
    26/December/2015:
     * Initial release.

    Bugs:
    Corrupted backups:
    Sometimes backups get corrupted for some reason. (Even with MD5 verification)
    recovery.log:
    Code:
    --- snip ---
    E:Unable to extract tar archive '/external_sd/TWRP/BACKUPS/4485b88f/2015-12-30--10-17-55_Y560-L01V100R001C577B040/data.ext4.win000'
    I:Error extracting '/external_sd/TWRP/BACKUPS/4485b88f/2015-12-30--10-17-55_Y560-L01V100R001C577B040/data.ext4.win000' in thread ID 0
    E:Error extracting split archive.
    E:extractTarFork() process ended with ERROR=255

    Manually extracting the package:
    Code:
    ~ # cd /data
    /data # cat /external_sd/TWRP/BACKUPS/4485b88f/2015-12-30--10-17-55_Y560-L01V100R001C577B040/data.ext4.* | tar -xpv
    --- snip ---
    data/app/com.google.android.apps.photos-1/lib/arm/libframesequence.so
    tar: invalid tar magic
    /data #

    If you find any bugs, please report them to this thread.

    Sources:
    * Device tree
    * Kernel

    XDA:DevDB Information
    [RECOVERY] [Y560-L01] TWRP 2.8.7.0 for Huawei Y5, Tool/Utility for all devices (see above for details)

    Contributors
    Nikiz
    Source Code: https://github.com/TheNikiz/android_device_huawei_y560/tree/android-5.1


    Version Information
    Status: Stable

    Created 2015-12-26
    Last Updated 2016-01-02
    1
    Great job! I'll start building as sono as i get my computer going. Would ne good if you upload your source to github.

    Inviato dal mio HUAWEI Y560-L01 utilizzando Tapatalk

    Added the CM-12.1 device tree to my Github repo. It is not booting yet though. (Well, there are some changes made that may or may not fix the ART-errors, but I haven't finished building yet. Takes about 6 hours to build a clean build on my computer..)
    1
    Ok [emoji481] BTW any ccache?

    Inviato dal mio HUAWEI Y560-L01 utilizzando Tapatalk

    Yeah, I have 50Gb ccache.. :D
    1
    Will it to work for Huawei Y560-U02?
    thanks

    I don't know. The hardware seems similar, so it MIGHT work.. I wouldn't try it without having a backup of the stock recovery.