Flashing custom kernel to lg g8 thinq device - LG G8 Questions & Answers

I trying do flash custom kernel to lg g8 device with success, I do the following steps:
I downloaded the exactly kernel sources from official lg site
Build the kernel according to instructions (README file)
Unpack the original boot image (via known script unpackbootimg.sh)
Replace the zImage and repack to new_boot.img (via known script mkbootimg.py)
Flash the kernel via fastboot ("flash boot new_boot.img")
Doing restart
Unfortunately, the operating system does not start up and doing restart again and again. Do I need to disable some features in the kernel ? I see in lg g7 everyone doing this with twrp (wipe partition and doing factory), Do I missed something ?
Thanks,

Related

[Q] can i merge aboot.img to compiled kernel ?

SOLVED
----------
hey
i compiled stock kk kernel and after search in xda found "bump" method and now i can put bump'd boot.img to a flashable zip and flash it via custom recovery.(without bump method got security verfication failed at boot logo).
but after flash the kernel ,phone shows "fastboot mode started" .then have to restore boot from recovery to start phone normally.
i think my kernel doesnt work good with bootloader( doesnt have "aboot.img")
can i merge aboot.img to boot.img? or fix this issue while flashing the kernel?
------------------------
solved : just follow compile instruction supplied by LGe and use proper bump tool

Help! I flashed wrong wrong boot image into my lg g3, it won't boot

Hi everyone. So i have an lg g3 d850 version, I had rooted it installed cyanogenmod 12 and twrp recovery, everything was fine. Problem came up when i tried to upgrade twrp recovery to v3.0.0.0 (latest version). I downloaded the twrp.img into my sd card, I used Flashify and erroneously chose FLASH BOOT IMAGE instead of RECOVERY IMAGE. Since they are both .img files flashify flashed it. I tried to reboot my phone it would not boot, just kept displaying on and off the lg logo, i guess it couldn't find the correct boot image. I thing flashify flashed a recovery .img into the boot partion (what a bummer!). So I tried to restore phone to stock, it booted into download mode (vol up+usb cable), used the lg flash tool and installed the stock .tot file with its dll, went well to completion. Tried to boot again, but it would not boot. I guess the boot partion is still unflashed. Someone please assist me on this problem, is there a way i can get and flash the original boot .img into my LG G3 D850?
Flash Boot from CyanogenMod
Hello and thank you for using Q/A,
you can download the CyanogenMod 12 ZIP and extract the boot.img from Cyanogen. Now flash the extracted Boot.img via Fastboot.
Kind regards
Trafalgar Square
Do you have a step by step guide on how to do that? Remember the tot method completed, so i guess its back to stock.
Densmac said:
Do you have a step by step guide on how to do that? Remember the tot method completed, so i guess its back to stock.
Click to expand...
Click to collapse
On computer -> open the rom zip via winrar or any archive utility, find boot.img, copy over to phone (connect while in twrp), tap on IMG in twrp (there are 2 options - zip and img, currently it´s zip mode), then find the boot.img, choose to flash and select "boot" or "kernel" (it asks you if it´s recovery or kernel)
Don´t panic , you have twrp at lease
I don't have twrp
Well doesn't make sense.
-you had older twrp
-you wanted new one
-you flashed it to boot partition?
It means you can't boot Android but you still have twrp
volume down and power,wait for lg logo. Release and hold again..confirm twice
Poslano sa mog Nexus 5X koristeći Tapatalk

Mi9Se TWRP loop after install a new rom

Hi everyone,
I try to install custom rom from miglobe with the mi9SE.
First step I successfully flash the bootloader with the custom TWRP ---> "TWRP-3.4.0-2-Mi9SE" (actually the file name is twrp-3.4.0-2grus.img download from github / redispade)
Then I boot on it, I wipe and hard reset everything, then I go to INSTALL and I select the zip file corresponding to the last miglobe rom for Mi9se.
The installation is done successfully. I reboot the phone, and now, the device always boot on the TWRP.
So I flash the device again with the mi flash tool and official globale rom.
Then I try again, trying to format all data and other option, but it's always the same, device boot on TWRP everytime after custom rom installation.
What is wrong in my installation process ?
1. Coming from any Mi-ROM, you've to flash vbmeta before new ROM.
2. Try SHRP from march instead.
(please use the search to find details and files)

Question (HELP) Flashed Wrong Kernal - Stuck in Fastboot Mode

Hi I recently made a mistake by flashing Arter97 Kernel on my International/Global OP9 which was on android 12.. I am attempting to fast boot the c39 update via platform tools. I am currently stock in fastboot mode, and whenever I attempt to boot the stock 39 img I have the error, " failed to load/authenticate boot image: Load Error" Any help would be appreciated!!
Edit: SOLVED
You can try downloading and falshing the stock boot img. For whatever version of Android you were on. Like android 11,or Android 12. Make sure you get the boot img. That you had before you flashed the kernel. So download the boot img. Specific for your device. if that doesn't work you need to find the msm tool and firmware for your phone and specific model like global, eu.
Adelino80 said:
Hi I recently made a mistake by flashing Arter97 Kernel on my International/Global OP9 which was on android 12.. I am attempting to fast boot the c39 udpate via platform tools. I am currently stock in fastboot mode, and whenever I attempt to fast boot boot the stock img i have the error failed to load/authenticate boot image: Load Error. Any help would be appreciated!!
Click to expand...
Click to collapse
you need not fasboot boot boot.img
use fastboot flash boot boot.img
Soft_M said:
you need not fasboot boot boot.img
use fastboot flash boot boot.img
Click to expand...
Click to collapse
I actually did flash the update to both slots, and it would still be stuck in fast boot mode. I ended up having to use the MSM tool to reset to stock.
brandon79 said:
You can try downloading and falshing the stock boot img. For whatever version of Android you were on. Like android 11,or Android 12. Make sure you get the boot img. That you had before you flashed the kernel. So download the boot img. Specific for your device. if that doesn't work you need to find the msm tool and firmware for your phone and specific model like global, eu.
Click to expand...
Click to collapse
Thanks ended up using the MSM tool. Thank God Oneplus provides us with the tools to flash at a chip level..
Adelino80 said:
Thanks ended up using the MSM tool. Thank God Oneplus provides us with the tools to flash at a chip level..
Click to expand...
Click to collapse
Yes, for that kernel, you need boot, dtbo, & vendor_boot backup to go back to stock or another kernel. Awesome that you already fixed it though, just thought I'd mention.
Samuel Holland said:
Yes, for that kernel, you need boot, dtbo, & vendor_boot backup to go back to stock or another kernel. Awesome that you already fixed it though, just thought I'd mention.
Click to expand...
Click to collapse
Thanks for the information. By any chance how would I normally backup vendor_boot and dtbo partitions which the Arter97 Kernal touches. Can I back that up using TWRP?
You had before you flashed the kernel. So download the boot img. Specific mcdvoice for your device. if that doesn't work you need to find the msm tool and firmware for your phone and specific model like global, eu.

Moto G7 play (XT1952-1) - please help with TWRP install ....

Hi, I got myself an used Motorola Moto G7 play (XT1952-1) with Android 10 Stock update (Build QPYS30.52-22-8-9) and just can't successfully install TWRP on it. What I did:
- Bootloader unlocked
- TWRP temporary loaded with fastboot (fastboot boot twrp.img)
- In TWRP 'Iinstall' selected the matching TWRP .zip and it said it was installed in both slots a and b.
But then, when I select 'restart to bootloader' and try to launch recovery, I get a bootloop (black screen with (N/A) in the top left corner. The OS as such still starts normally. So I guess the main problem here is the bootloop when trying to launch recovery...?
I tried installing over booted TWRP with unmodified boot.img and with Magisk patched boot.img, same result. The G7 play does not have a separate revovery partition, recovery is included in the boot.img
I used the TWRP files (EU) and instructions from here:
Motorola Moto G7 Play
Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...
twrp.me
My stock firmware is XT1952-1_CHANNEL_RETEU_10_QPYS30.52-22-8-9_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip from here:
lolinet mirrors - firmware, software, iso etc.
lolinet mirrors - powered by h5ai
mirrors.lolinet.com
Am I missing something? I've now searched for days (most info is outdated, taken from other places/Motorola phones with just 'G7 play' added, or is ambiguous); so can anyone *PLEASE* help me? Does anyone have a G7 play of the same type with Android 10 Stock who has successfully installed TWRP and was able to access the Recovery afterward without being stuck in a loop?
I also can't create a TWRP backup with a fastboot booted TWRP because system (and internal SD too) seems to be encrypted, and I don't seem to be able to deactivate this in the phone. Is this normal? Some places say that TWRP can decrypt when it's installed permanently...
Or could anybody patch the boot.img in above Firmware and add TWRP for me so I can just flash the boot.img?
Thanks in advance... please reply noob-friendly.
Still need a patched boot.img? Attached you'll find a boot.img with TWRP installed. I followed your links to get boot.img + twrp.img.
NO MAGISK INSTALLED!!!​Please patch before flashing if Magisk is already installed.
I put a log of the repack command into the zip that is showing the checksums of the boot header. Just to have a proof.
WoKoschekk said:
Still need a patched boot.img? Attached you'll find a boot.img with TWRP installed.
Click to expand...
Click to collapse
Thanks for trying to help, but this boot.img behaves exactly like the one I made by following the installation instructions on the TWRP website. I flashed it, restarted bootloader, then tried to go into recovery, and it bootloops (black screen with N/A in the top left corner).
But what I need is a boot.img with a WORKING TWRP recovery (that can actually be launched when recovery is selected...
Any idea why this won't work, why TWRP won't start?
@Alonso_Quixana Try the attached one. It's a boot.img patched with twrp + recovery_dtbo. The recovery_dtbo is part of the twrp.img but TWRP's installer.zip doesn't take it into account while repacking the patched boot.img. Maybe (hopefully!) that's the reason why you're able to boot TWRP but not to install it permanently.
Please try also - in any case! - the patched installer.zip that comes with a recovery_dtbo.
Sadly, you can't flash TWRP on stock ROM, in case you did sucessfully, ROM will not boot and that can cause SIM and VoLTE issues, i did flash it on mine and now VoLTE doesn't work on my phone, you can only boot it in case you want to flash an custom ROM, flash it then reboot into recovery to install GApps on the Custom Recovery that the ROM does install, but since all of the ROMs are arm64, i don't recommend it since you will have constant app restarting when changing from one app to another app
chuy19312 said:
Sadly, you can't flash TWRP on stock ROM, in case you did sucessfully, ROM will not boot and that can cause SIM and VoLTE issues, i did flash it on mine and now VoLTE doesn't work on my phone, you can only boot it in case you want to flash an custom ROM, flash it then reboot into recovery to install GApps on the Custom Recovery that the ROM does install, but since all of the ROMs are arm64, i don't recommend it since you will have constant app restarting when changing from one app to another app
Click to expand...
Click to collapse
Thanks for replying...
I've seen so-called tutorials on Youtube where someone actually succeeded in installing TWRP on his Moto G7 play (but did not mention which Android version was on the phone), and the TWRP developers too claim that their version for Moto G7 play would work, it even got an official update for Android 10 (alas they never reply to direct e-mails, those snooty guys)... some on XDA even said the flashing of a 'dirty port' worked for them. Were they all mistaken? Or did it work on Android 9? Are all XDA threads and internet posts / Youtube videos misleading / lying?
Are you REALLY sure that there is no way to install TWRP on a Moto G7 play (to be able to create a working backup of the encrypted data partition)? A 'full restorable backup of everything' is what I need...
I'm not sure about Android 10 Stock Rom, but it seems to be a 32bit system on a 64bit Kernel?
Alonso_Quixana said:
I'm not sure about Android 10 Stock Rom, but it seems to be a 32bit system on a 64bit Kernel?
Click to expand...
Click to collapse
It's a 32bit system on a 64bit CPU (Snapdragon 632). That's not unusual for Motorola devices. Open a terminal app and execute uname -a.
Alonso_Quixana said:
Thanks for replying...
I've seen so-called tutorials on Youtube where someone actually succeeded in installing TWRP on his Moto G7 play (but did not mention which Android version was on the phone), and the TWRP developers too claim that their version for Moto G7 play would work, it even got an official update for Android 10 (alas they never reply to direct e-mails, those snooty guys)... some on XDA even said the flashing of a 'dirty port' worked for them. Were they all mistaken? Or did it work on Android 9? Are all XDA threads and internet posts / Youtube videos misleading / lying?
Are you REALLY sure that there is no way to install TWRP on a Moto G7 play (to be able to create a working backup of the encrypted data partition)? A 'full restorable backup of everything' is what I need...
I'm not sure about Android 10 Stock Rom, but it seems to be a 32bit system on a 64bit Kernel?
Click to expand...
Click to collapse
I think it only works on certain Moto G7 Play variations or even only on Android 9, also, another way to install TWRP is installing an Custom ROM then flashing an flashable zip of TWRP_11 by SyberHexen on Custom ROM's Recovery
Link to TWRP_11 Flashable Zip
channel-twrp-installer-3.6.2_11.0_RC-1.0.zip | by SyberHexen for Moto G7 Play
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
In my case, flashing TWRP, even by following some tutorials made my MetroPCS Moto G7 Play to stop booting and also, VoLTE stopped working, fortunately, i had an EFS backup to restore my IMEI
Android 10 Stock Rom is an Arm (32 bits) ROM, every Custom ROM i tested are Arm64, but i don't recommend any of them since you will get constant app rebooting and notification problems since this is an 2 GB RAM device

Categories

Resources