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:
Changelog:
Code:
26/December/2015:
* Initial release.
Bugs:
Corrupted backups:
Sometimes backups get corrupted for some reason. (Even with MD5 verification)
recovery.log:
Manually extracting the package:
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
Last edited: