Huawei Y560 (huawei-y560)

From postmarketOS Wiki
Huawei Y560-L01
Huawei Y560 running Weston
Huawei Y560 running Weston
Manufacturer Huawei
Name Y560-L01
Codename huawei-y560
Released 2015
Type handset
Hardware
Chipset Qualcomm Snapdragon 210 (MSM8909)
CPU Quad-core 1.1 GHz Cortex-A7
GPU Adreno 304
Display 480x854 IPS LCD
Storage 8 GB
Memory 1 GB
Architecture armv7
Software
Original software Android
Original version 5.1 (Linux 3.10.49)
postmarketOS
Category testing
Pre-built images no
Mainline no
postmarketOS kernel 3.10.49
Features
Flashing
Works
USB Networking
Works
Internal storage
SD card
Battery
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Audio
Broken
Camera
Camera Flash
Connectivity
WiFi
Partial
Bluetooth
GPS
Broken
NFC
Modem
Calls
Broken
SMS
Broken
Mobile data
Broken
Miscellaneous
FDE
USB OTG
Broken
HDMI/DP
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer


Contributors

  • Worldblender
  • Sonic011gamer

Users owning this device


How to enter flash mode

Hold the Volume Down button, and then press the Power button

Unlocking the bootloader

Downgrade the bootloader & system to version B100 to be able to unlock bootloader.

1. Root your phone, you can use kingoroot for easy rooting.

2. Download stock android and recovery from here

3. Install Rashr - Flash Tool from the Play store, or download it from the internet and grant it root access.

4. Unzip the downloaded stock recovery on your internal storage.Unzip the downloaded ROM on an SDcard, or you can use ADB later.

5. Inside Rashr, choose "Recovery from storage" and select the unzipped recovery.

6. Choose "reboot" from the Rashr app.

7. After you reboot into recovery, choose either "Apply update from ADB" or "Apply update from SDcard".

8. When update finishes, restart(if it didn't already do that), enable developer settings, click on the OEM unlock setting and enable adb.

9. In a commandline run:

adb reboot-bootloader

10. The phone should reboot to a black screen/OEM image. From inside the commandline run:

fastboot oem-unlock go

Install TWRP (optional, but recommended!)

1. Download TWRP from here

2. Reboot into fastboot mode.

3. Inside a commandline run:

fastboot flash recovery [drag your downloaded recovery image here]

4. It should now work to reboot into TWRP!

Installation

Setup chroot. Select huawei-y560 as device.

pmbootstrap init

Build rootfs

pmbootstrap build device-huawei-y560

Build kernel

pmbootstrap build linux-huawei-y560

Flash rootfs (Note, this will install rootfs to system partition. You can optionally try to install to userdata partition with --partition userdata argument. In that case you should probably erase system partition with "sudo fastboot erase system")

pmbootstrap flasher flash_rootfs

Flash kernel

./pmbootstrap.py flasher flash_kernel

Run kernel (or you can just restart phone manually)

./pmbootstrap.py flasher boot


See also