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
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?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
1 - its not made yet;I use y7 prime 2018(ldn-l21) but I can't find twrp file on Google can someone please send me a link and is there any other way to install it without pc
Okay thank youDoes 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.
This guy did it over teamviewer and flexihub for 4$ ministryofsolutions.com/huawei-bootloader-unlock-paid-service-html. Cracking bootloader code will ERASE all data in phone (internal memory also). After 1st boot of phone, turn on adb debug and oem unlocking. Then unlock bootloader (in bootloader mode) with code that you got from "ministry of solutions"-guy and it will ERASE all data again. Use this guide.Can someone tell me step by step if I can root y7 prime 2018(ldn-l21) without any custom recovery.?
Becase I can't find any custom recovery on internet
and king root and other apps don't work.
TWRP 3.2.3 for Toronto (Y7 2017) by Kiruha21, successfully ported for London (Y7 [Prime] 2018) !!!
https://www.androidfilehost.com/?fid=11410963190603859487
Still in beta phase!!! WORKS, BUT USE ON YOUR RESPONSIBILITY!!!
Limitations:
- stock /data and its part /sdcard (or /internal_sd) are encrypted and folders and files have fuzzy names
- screencap -p *.png and sideload do not work
- adb can not write on /external_sd even as root
Pros:
- charger animation works (green cycle and flashbolt)
- reboot to system, recovery, bootloader and power off works
- mounting of partitions works
- reading files works
- terminal can write files
Installation:
-Back up stock /recovery_ramdisk partition (terminal > su > dd if=/dev/block/mmcblk0p43 of=/storage/5CEB-2300/stock_recovery_ramdisk.img)
-Boot to bootloader mode (power off Y7 and hold Vol- and Power until white Bootloader screen)
-Flash twrp via fastboot (fastboot flash recovery_ramdisk rec_ramdisk_trt2ldn_port1.img)
-Reboot to system (fastboot reboot)
-After that, reboot to twrp recovery (adb reboot recovery) or use some app like 3Minit rebooter or use Vol+ + Power combo on turned off Y7.
OTG and Sideload not work. Have to use adb push to /tmp (or /data/tmp) or use external sd.Update: Sorry about the adb question. Didnt read correctly. Works as you said. Thank you. I'll try to find sd card or otg for flashing zip.
Which partition contains boot.img? I need to pull it via ADB in order to install magisk using the patched boot.img method. I have a Y7 Prime 2018 (LDN-LX2) running Ressurection Remix GSI and it's limited to ADB root onlyOTG and Sideload not work. Have to use adb push to /tmp (or /data/tmp) or use external sd.
/data and /sdcard have most of crypted folders and files and can not backup on stock rom.
No boot.img in Oreo. There are kernel.img and ramdisk.img, Magisk patches ramdisk.img.Which partition contains boot.img? I need to pull it via ADB in order to install magisk using the patched boot.img method. I have a Y7 Prime 2018 (LDN-LX2) running Ressurection Remix GSI and it's limited to ADB root only
/kernel emmc /dev/block/bootdevice/by-name/kernel flags=display="Kernel";backup=1;flashimg
/ramdisk emmc /dev/block/bootdevice/by-name/ramdisk flags=display="Boot_RamDisk";backup=1;flashimg
Partitions in LDN-L21, should be the same
kernel -> /dev/block/mmcblk0p41
ramdisk -> /dev/block/mmcblk0p42
recovery_ramdisk -> /dev/block/mmcblk0p43
system -> /dev/block/mmcblk0p54
userdata -> /dev/block/mmcblk0p55
vendor -> /dev/block/mmcblk0p51
No boot.img in Oreo. There are kernel.img and ramdisk.img, Magisk patches ramdisk.img.
Backing up of kernel, ramdisk, e/recovery also works in TWRP but just to external Micro SD.
If you disable forced encryption of /data and /sdcard, you could also backup to internal storage.
Code:/kernel emmc /dev/block/bootdevice/by-name/kernel flags=display="Kernel";backup=1;flashimg /ramdisk emmc /dev/block/bootdevice/by-name/ramdisk flags=display="Boot_RamDisk";backup=1;flashimg
Run in terminal: ls -l /dev/block/platform/soc/7824900.sdhci/by-name to list all partitions.
Code:Partitions in LDN-L21, should be the same kernel -> /dev/block/mmcblk0p41 ramdisk -> /dev/block/mmcblk0p42 recovery_ramdisk -> /dev/block/mmcblk0p43 system -> /dev/block/mmcblk0p54 userdata -> /dev/block/mmcblk0p55 vendor -> /dev/block/mmcblk0p51
If you decompile ramdisk.img, you will got /split_img/ramdisk.img-cmdline with ending:Thanks. I successfully installed magisk. Is there a way to set selinux mode to permissive? I've tried multiple apps but it won't work and tried the command "setenforce 0" via adb but it says "invalid argument"
can you provide the procedure of unlocking bootloader of Nova 2 Lite please?
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://xdaforums.com/android/software/tool-turkdevs-image-kitchen-t3816395 so combining phh GSI + Descendant at once could works...
thank you mate , last question please .. is lineage roms full stable ? do you recommend it
CC: @adeii
fastboot erase system
fastboot flash system (phhtreble GSI)
fastboot reboot
fastboot -u flash (RROS 7 GSI)
fastboot reboot
Does sourcecode contain /kernel, /vendor folders only or you had found something more like device tree?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