HUAWEI Y7 PRIME (2018)/NOVA 2 LITE/LDN-LX2/LDN-L21/LDN-TL10 General Discussion

Search This thread

Arsam javed

Member
Jul 21, 2019
26
1
1 - Had you flashed vendor via fastboot? ( fastboot flash vendor vendor.img )
2 - Can you boot into twrp ?
Since /vendor is symbolic link, you need to flash vendor image to /dev/block/mmcblk0p51.
Or even full path /dev/block/platform/soc/7824900.sdhci/by-name.
You can do it from twrp, terminal as superuser (su) via dd and vendor image on sd card >
dd if=/external_sd/vendor.img of=/dev/block/mmcblk0p51. Also try to flash dm-verity + forced-encryption patch.
3 - You can probably boot to eRecovery to recover latest stock system. Also flash the same patch with twrp and permissive kernel.
I have solved this problem. Now after flashing stock rom three strange things happen first is that my finger print is not showing in setting. Second is that auto brightness controll feature is gone. And third an android icon is showing as icon of my camera app.
If they can work after installing custom rom and then please recomend me an A-only android 11 custom rom for ldn-l21.
 

harlodi

New member
Aug 10, 2021
3
0
is there an unofficial twrp build for LDN-L21 ? if so, can somebody link to the latest version ?
 
Last edited:

adeii

Senior Member
Nov 11, 2013
414
93
Sajlent Hil
is there an unofficial twrp build for LDN-L21 ? if so, can somebody link to the latest version ?
Latest version is 3.5.2, using branch for android 9.
But you have to unlock bootloader first before any custom recovery.
And remember to flash it to recovery_ramdisk, not recovery.
 

Attachments

  • TWRP-3.5.2_9-london-jada.img.zip
    8.1 MB · Views: 86
Last edited:

marcnathan88

New member
Aug 11, 2021
2
1
I have Huawei LDN-LX2 and I would like to learn how to flash it to fix the restart loop issue. I'd like to know where I can learn to do this and where to download the firmware and everything else I would need to flash my device

Thanks
 

Arsam javed

Member
Jul 21, 2019
26
1
ok

ok, but what is brunch? my phone has emui 8.0.0 and Android 8.0.0

Brunch is a framework. It is not a concern in this case. You can flash twrp by using fastboot on an unlocked bootloader.
Command to flash is

fastboot flash recovery_ramdisk "twrp image name"
You should have minimal adb installed on your pc
 

adeii

Senior Member
Nov 11, 2013
414
93
Sajlent Hil
ok

ok, but what is brunch? my phone has emui 8.0.0 and Android 8.0.0
Sorry for my typo. It is branch, not brunch (meal between breakfast and lunch).
There are 9.0 and 10.0 branches for TWRP 3.5.0+, so I use older for our phones. Since it works even for custom roms based upon A10 and A11, no need for other branch.
Do not consider emui/android version, it works on stock rom (emui 8.0). I am still on stock rom.
 

adeii

Senior Member
Nov 11, 2013
414
93
Sajlent Hil
how do i unlock bootloader code then
MinistryOfSolution, if still works. You need 4 usd on Paypal, installed teamviewer and flexyhub.
He also use DC Unlocker and remotely read your bootloader unlock code.

Warning - reading code and then unlocking bootloader will ERASE all you user data on phone (data and internal storage partitions). Backup before any actions!

On the other hand, be happy with Huawei.
Imagine you got Samsung Z Fold 3 ... with no working camera anymore:
 

Arsam javed

Member
Jul 21, 2019
26
1
MinistryOfSolution, if still works. You need 4 usd on Paypal, installed teamviewer and flexyhub.
He also use DC Unlocker and remotely read your bootloader unlock code.

Warning - reading code and then unlocking bootloader will ERASE all you user data on phone (data and internal storage partitions). Backup before any actions!

On the other hand, be happy with Huawei.
Imagine you got Samsung Z Fold 3 ... with no working camera anymore:
Can yu plz provide me EFS file of Huawei Y7 Prime LDN-L21 c185
 

adeii

Senior Member
Nov 11, 2013
414
93
Sajlent Hil
New stock update appeared for LDN-L21B C432 (8.0.0.159), last one was 8.0.0.151.
Code:
http://update.dbankcdn.com/download/data/pub_13/HWHOTA_hotaMigrate_900_9/d1/v3/beb9cc4fb2a94ad1bedd5e32386ff99b/full/update.zip
http://update.dbankcdn.com/download/data/pub_13/HWHOTA_hotaMigrate_900_9/d1/v3/beb9cc4fb2a94ad1bedd5e32386ff99b/full/public/update_data_full_public.zip
http://update.dbankcdn.com/download/data/pub_13/HWHOTA_hotaMigrate_900_9/d1/v3/beb9cc4fb2a94ad1bedd5e32386ff99b/full/LDN-L21B_hw_eu/update_full_LDN-L21B_hw_eu.zip
 
Last edited:

雯hai

Member
Jan 2, 2019
7
0
@adeii

Bro.When I brush the GSI of Android 11 and 9, there's a problem with the brightness. The maximum brightness is still very dark. Android 10 is normal. Do you have any solutions?
 

B83C

Member
Dec 7, 2020
36
4
Behind you
Asus ZenFone 2
Anyone tried this combination:
CAOS11 phh + Magisk v23.0 phh + adkcal kernel?
It doesn't seem to run well on my LDN LX2... (I see a lot of dumps from crashed process in dmesg, causing the device to lag very much)

I have attached the log below
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    This is probably going to be hard, but does anyone have the firehose for the LDN ? I managed to find some for the LDN msm8937 but they don't work.
    1
    Thank you for information. :) Do you know about this rom video or screen shot if there is?
    I don't have current screenshots/video of custom roms on my LDN-LX2 but I do have old pictures of it.
    photo_2021-03-19_01-48-00.jpg
  • 2
    Huawei Y7 Prime (2018) is a phone that packs 6 inches HD+ Fullview IPS Display with Qualcomm Snapdragon 430 and 3gb of ram/32gb of internal storage. It has a dual camera setup of 13+2mp 2,2 aperture and a front camera of 8mp 2,0 aperture. This phone was released April, 2018 and has Android 8.0 onboard with a kernel that is attached in here. I ask for a cooperation with XDA developers and I hope that we, users, help you as well in return. I hope that these device will soon have its custom recovery, root guide, custom kernel, and etc.

    This is the link for its kernel source code, "LDN" is the name of the device: http://download-c1.huawei.com/downl...oadId=98800&version=416724&siteCode=worldwide

    I hope for a better future with this phone I'm using:fingers-crossede32::):cyclops:


    2
    can you provide the procedure of unlocking bootloader of Nova 2 Lite please?

    Bro i have unlocked through www.ministryofsolutions.com
    You can also try
    2
    Sorry for replying late! Had some few examinations to go through before continuing some android development. I'll answer some questions since my last visit here.

    Can you build this GSI please? Descendant

    I'll see what I can do about that. Meanwhile, feel free to use @adeii 's solution here.

    UPDATE1 - Maybe, PIE GSI needs 3 POST-sGSI files to be flash to boots normally according to https://androidfilehost.com/?w=files&flid=280192

    UPDATE2 - This toolkit can unpack/repack PIE GSIs https://forum.xda-developers.com/android/software/tool-turkdevs-image-kitchen-t3816395 so combining phh GSI + Descendant at once could works...

    That might be a good solution to the boot-up failure we've been getting on Pie GSIs.

    Also, I need your favor, since you're still on stock rom (and most probably rooted), could you upload framework-res.apk from /system/framework? The max brightness on my GSI is literally the minimum brightness on the stock EMUI rom. I need the file to create and overlay file(which has info about the true minimum and maximum brightness for the device). If you wanna know more about what I mean, here it is.

    thank you mate , last question please .. is lineage roms full stable ? do you recommend it

    Hmm, I would recommend phh-treble by @phhusson if you're upgrading to a Pie GSI. And this is the ONLY GSI that would work on the device as of today's testing.

    For Oreo GSIs, you're better off with any GSI you'd like since I tried 5 and they all would boot.

    Just make sure you've done:
    - Filesystem modifications (would ease some installs on TWRP/remove forced encryption)
    - The permissive kernel I made. (Since GSIs need a permissive SELinux to boot)
    - a full wipe (system, userdata, cache)
    2
    After a bunch more testing....

    CC: @adeii

    Ok, I’ve tested the permissive kernel and it works fine on @phhusson’s Android Pie GSI. What I’m weirded out is that it doesn’t want to boot any other GSI out there.:eek:

    Resurrection Remix needs to be flashed over phhtreble to actually boot, but the kernel init stage takes TOO MUCH TIME.
    If you want to try, this is the method:
    Code:
    fastboot erase system
    fastboot flash system (phhtreble GSI)
    fastboot reboot
    Then, do the initial setup. After finishing, reboot to fastboot and do this:
    Code:
    fastboot -u flash (RROS 7 GSI)
    fastboot reboot
    The -u is needed to flash over phhtreble system files, more accurately merge them both.
    Be careful: This results in ADB and SD Card not working, and the kernel init slowness. (This is not all the bugs I found since I quickly reverted back into phhtreble)

    Luckily, I might have a solution to the problem. The main problem would be that the vendor HALs (the piece of android code used to communicate with /vendor code) that are present in any other GSIs support Huawei’s EMUI 9 vendor HAL but not EMUI 8 vendor HAL. One proof that this might be true would be this repo by @phhusson himself which contains a folder called “Huawei-8.1” which the latest commit (as of writing) labelling it as EMUI 8.1 HALs. What’s convenient about this repo is that it has an automatic GSI builder with device patches which enable booting on other devices (in this case, the LDN device line). I’ll fire up my android build server and see if this method works.

    If you want a build of these GSIs below, let me know. I’ll build one for you.
    - AOSP 9
    - RROS 7
    - Pixel Experience Pie
    - AOSP Extended
    - Havoc OS

    I’ll build with this configuration: arm64-aonly-vanilla-nosu . This means no GAPPs installed and no superuser. If you want a custom config, also let me know.

    This list is not complete though, so if you have another GSI in mind, give me the GitHub link to the source code and I’ll see if I can modify the auto-builder code.

    I’ll do some further testing, will be back with you guys in about 3-4 days of tireless backups and tests. Feel free to send me PMs if you want, I’m in the forum in like 7am - 9am, 12pm - 2pm, and 10pm - 11pm (all times are in UTC btw). See ya!

    Screenshots of phone running Android P:
    https://imgur.com/a/JH9VFQt
    https://streamable.com/vavpm
    2
    I have downloaded the source code, but how can I make a custom rom from it?
    I'm using Huawei Nova 2 Lite how to root my device please help me
    Does sourcecode contain /kernel, /vendor folders only or you had found something more like device tree?
    This should be enough to make custom recovery first, but for custom rom...something is missing.