25

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

 1 year ago
source link: https://forum.xda-developers.com/t/huawei-y7-prime-2018-nova-2-lite-ldn-lx2-ldn-l21-ldn-tl10-general-discussion.3790159/page-14#post-88304753
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Top Liked Posts

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:
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
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)
After a bunch more testing....
If you want the kernel.img, here it is:
Enforcing Kernel
Permissive Kernel

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.

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.

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
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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK