Jump to content

Huawei Y3 II 4G (huawei-lua-l21)

From postmarketOS Wiki
This device is marked as not booting.
Status: Kernel compiles, doesn't boot
Huawei Y3 II 4G
Manufacturer Huawei
Name Y3 II 4G
Codename huawei-lua-l21
Released 2016
Type handset
Hardware
Chipset MediaTek MT6735M
GPU Mali-T720
Display 4.5 inches, 480 x 854 pixels
Storage 8 GB
Memory 1 GB
Architecture armv7
Software
Original software Android
Original version 5.1
postmarketOS
Category handset

Contributors

faveoled

Unlocking bootloader

You need an unlock code. Can be bought online.

  • Press and hold Volume Up and Power simultaneously while device is powered off, use the menu to enter fastboot mode
$ fastboot oem unlock <your_unlock_code>

How to enter flash mode

Flashing through TWRP recovery.

  • Press and hold Volume Up and Power simultaneously while device is powered off, use the menu to enter recovery

Build the image

1. Download initial port from links at the end of the page. Put it at these locations:

$ ls .local/var/pmbootstrap/cache_git/pmaports/device/testing/linux-huawei-lua-l21/
$ ls .local/var/pmbootstrap/cache_git/pmaports/device/testing/device-huawei-lua-l21/

2. Build the image

$ pmbootstrap init # choose Vendor: huawei, Device codename: lua-l21
$ pmbootstrap install --android-recovery-zip

Install the image

TWRP sideload
$ pmbootstrap export

$ adb sideload /tmp/postmarketOS-export/pmos-huawei-lua-l21.zip # pmbootstrap adb flasher doesn't work

CPU/Kernel info (TWRP)

# cat /proc/cpuinfo
Processor       : ARMv7 Processor rev 4 (v7l)
processor       : 0
BogoMIPS        : 7.24
Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

Hardware        : MT6735M
Revision        : 0000
Serial          : 0000000000000000
# uname -a
Linux localhost 3.10.65 #1 SMP PREEMPT Sat Oct 29 17:12:16 CST 2016 armv7l GNU/Linux

See also