Jump to content

Huawei Y3 II 4G (huawei-lua-l21): Difference between revisions

From postmarketOS Wiki
Faveoled2 (talk | contribs)
Initial
 
Faveoled2 (talk | contribs)
/proc/cpuinfo
Line 19: Line 19:
== Contributors ==
== Contributors ==
faveoled
faveoled
== Unlocking bootloader ==
== Unlocking bootloader ==
You need an unlock code. Can be bought online.
You need an unlock code. Can be bought online.
Line 49: Line 50:
$ adb sideload /tmp/postmarketOS-export/pmos-huawei-lua-l21.zip # pmbootstrap adb flasher doesn't work  
$ adb sideload /tmp/postmarketOS-export/pmos-huawei-lua-l21.zip # pmbootstrap adb flasher doesn't work  
</syntaxhighlight>
</syntaxhighlight>
== Processor info (TWRP) ==
<syntaxhighlight lang="shell-session">
# 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
</syntaxhighlight>
== See also ==
== See also ==
* [https://gitlab.com/faveoled/android_kernel_huawei_y3_ii_lua_l Kernel source]
* [https://gitlab.com/faveoled/android_kernel_huawei_y3_ii_lua_l Kernel source]
* [https://gitlab.postmarketos.org/faveoled/pmaports/-/commit/89ffc0b01dfcec7e534b66a6cd2bbf0f12492c0f Port files]
* [https://gitlab.postmarketos.org/faveoled/pmaports/-/commit/89ffc0b01dfcec7e534b66a6cd2bbf0f12492c0f Port files]

Revision as of 11:45, 23 March 2025

This device is marked as not booting.
Status: Kernel compiles, doesn't boot
Huawei Y3 II 4G
Manufacturer Huawei
Name Y3 II 4G
Codename 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

Processor 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

See also