Bumped LG Official Taiwan D838 20C Kernel - LG G Pro 2

BACKGROUND
LG Lollipop bootloader chain has already fixed bumped flaws. To use bumped CWM recovery with LG official Lollipop, we have to keep KK bootloader chain on our devices. However, LG official Lollipop kernel's certificate/signature does not compatible with LG KK bootloader. Therefore, we have to remove LG Lollipop kernel's certificate/signature and then bump it so that KK bootloader would like it.
After searching webs, I cannot find any update pack which has boot.img with proper kernel cmdline arguments as my Taiwan D838 20C kernel. It means they might be from other models or even from other KK ROMs. I decide to make a bumped official D838 20C kernel by myself.
DOWNLOADS
1. update_bumped_kernel_from_D83820C.zip: This update pack, could be used by CWM, contains LG official Taiwan V20C's cust.bin, tz.bin, rpm.bin, modem.bin and bumped boot.img. It is heard that LG's modem binary cannot run across KK and L kernel, so the boot.img and modem.bin should be updated in pairs.
2. updater-script.zip (optional for KK upgrade to L): This is just a supplementary script file.
WHO CAN USE AND HOW TO USE
The following operations may brick your devices. USE AT YOUR OWN RISKS.
Condition 1:
You have permanent CWM and official Lollipop LG ROM on your device. It means you still keep KK bootloader chain. Just to CWM to update the downloaded update_bumped_kernel_from_D83820C.zip file.
Condition 2:
You are still in KK ROM and want to upgrade to LG D838 V20C. Follow the steps:
1. copy update_bumped_kernel_from_D83820C.zip to another file such as update_20C.zip
2. Use update_20C.zip as a container. Replace META-INF\com\google\android\updater-script with extracted updater-script in the 2nd downloaded zip file.
3. Find LG official V20C kdz to extract system.img by yourself.
4. Pack system.img into to update_20C.zip.
5. Root you device if not yet.
6. Find a workable permanent D838 CWM recovery and install it by yourself if not yet.
7. Use CWM to install update_20C.zip.
8. Optionally you may use CWM to install SuperSU-update.zip pack.
Condition 3:
You have already upgraded to V20C by so called PURE method. It means you have rooted your device with all official LG Lollipop stuffs including bootloader. Now if you want to have permanent CWM, you will need to downgrade bootloader to KK to install CWM and also have to install this bumped V20C kernel.
The steps for condition 3 are roughly as follows. I have not trIed these steps by myself. Theoretically it should be like this:
1. Find LG official KK ROM kdz such aa 10F fw from web by yourself.
2. Extract kdz to get the following images including sbl1.bin, dbi.bin, aboot.bin persist.bin, and laf.bin. Do not include boot, modem, tz, rpm, cust and system.
3. Find a workable permanent D838 CWM recovery. Extract CWM recovery image from its zip or apk pack.
4. Extract boot.img from my download 1 zip pack.
5. Use adb shell to run su first. And then use dd command to write all images from step 2, 3 and 4 to corresponding partitions. IT'S VERY IMPORTANT that all partitions should be written together without interrupted by reboot or power-off, otherwise you will brick your device.

Related

Stock Everything Stock

I don't understand these directions from the FAQ:
"Q. How to get back to stock? I need to give my phone to warranty services how do I revert to official LG rom?
A. Check this thread. It is the v10b 2.2 stock rom as a flashable zip package. If you can't access the recovery, then see if the firmware for your country is available here or use this tool. Download the firmware and use the KDZ tool to flash. You will find instructions to use the KDZ tool on this thread. For a picture guide, check this thread.
Also for official GB lovers, see this and this. It is a v20g rom in flashable zip package. Or if you'd rather flash v20c/g roms from LGMDP, the links for that can be found in this thread.
If you are on Optimus V, see http://forum.xda-developers.com/show....php?t=1025911
If you are on the Optimus T, see this post. Uses the KDZ method.
Q. How do I restore the stock recovery?
A. Download the original recovery zip file from here and flash it. (Yes, you can flash a recovery from within recovery itself)"
I have LG P500 from USA T-Mobile. I'm on V20 Baseband.
1)Is kdz the only way to go back to stock?
2)Which way is the safer and better way to get back to stock?
3)How (full instructions) to get back to stock rom for USA T-Mobile?
4)How (full instructions) to get back to stock recovery for USA T-Mobile?
yes you can flash a recovery from recovery, if it is a flashable zip
you need to stick with your phone not other variants of LG p500, O-1(Europe), O-T or O-V, dunno what is the T-mobile USA version, but is it written inside your phone under battery
1) KDZ is for flashing software in your phone, but beware, if you are unexperienced you may brick your phone for good, but you can try it, DO NOT PULL OUT BATTERY OR DO SOMETHING WHILE KDZ IS NOT FINISHED FLASHING PHONE OR YOU WILL HARDBRICK IT (but, I do not think someone at service will notice that, after a hardbrick, it just went dead and nothing else, nobody knows nothing)
2)if you do not know what are you doing, nothing is safe, anyway, as I mentioned, a hardbrick is a hardbrick and if you still have warranty, you are lucky
3)http://forum.xda-developers.com/showthread.php?t=1824618 search there
4) LG P500 doesn't have stock recovery(just bootloader)
if you do not know what to flash try to find a T-mobile rom image (MAKE A REQUEST-someone will post it), and first time when flashing a recovery is to backup original rom for what will come after
LGMDP will work like this, it upgrades rom when you have an older version, so try to flash an older custom rom, find an Froyo 2.2 and flash it as any custom rom, boot, conect your phone to PC, that means that you have LG USB drivers installed, start LGMDP and w8 to detect your phone, after that goto options & help, select country, carrier, phone, w8 to detect latest update, start update
in case that your phone is not detected, boot into recovery, goto mounts and mount USB, that will make LGMDP detect your phone, start updating
androiddownloader said:
I don't understand these directions from the FAQ:
"Q. How to get back to stock? I need to give my phone to warranty services how do I revert to official LG rom?
A. Check this thread. It is the v10b 2.2 stock rom as a flashable zip package. If you can't access the recovery, then see if the firmware for your country is available here or use this tool. Download the firmware and use the KDZ tool to flash. You will find instructions to use the KDZ tool on this thread. For a picture guide, check this thread.
Also for official GB lovers, see this and this. It is a v20g rom in flashable zip package. Or if you'd rather flash v20c/g roms from LGMDP, the links for that can be found in this thread.
If you are on Optimus V, see http://forum.xda-developers.com/show....php?t=1025911
If you are on the Optimus T, see this post. Uses the KDZ method.
Q. How do I restore the stock recovery?
A. Download the original recovery zip file from here and flash it. (Yes, you can flash a recovery from within recovery itself)"
I have LG P500 from USA T-Mobile. I'm on V20 Baseband.
1)Is kdz the only way to go back to stock?
2)Which way is the safer and better way to get back to stock?
3)How (full instructions) to get back to stock rom for USA T-Mobile?
4)How (full instructions) to get back to stock recovery for USA T-Mobile?
Click to expand...
Click to collapse
KDZ is generally discouraged . However if you can find a Nandroid back up of GB , then that would be the safest way . I went back to stock froyo with the help of this thread - http://forum.xda-developers.com/showthread.php?t=1955354
sarans1987 said:
KDZ is generally discouraged . However if you can find a Nandroid back up of GB , then that would be the safest way . I went back to stock froyo with the help of this thread - http://forum.xda-developers.com/showthread.php?t=1955354
Click to expand...
Click to collapse
Thank you, i can just use that other download on the thread if i have the new baseband right? and what about removing cwm? or restoring stock recovery even though there wasnt before
androiddownloader said:
Thank you, i can just use that other download on the thread if i have the new baseband right? and what about removing cwm? or restoring stock recovery even though there wasnt before
Click to expand...
Click to collapse
Your have V20 that is new baseband so any rom from GingerBread onwards is good for you . Stock recovery can be flashed sitting right from custom recovery . Check out this thread for custom recovery and ROM of 2.3.3 - http://forum.xda-developers.com/showthread.php?t=1309744 . If you wanna try lgmdp look at this - http://forum.xda-developers.com/showthread.php?t=1324105

[Q] About Moto G 1st gen before OTA update

Hi everyone,
I have Moto G 1st gen with unlocked bootloader, rooted, custom recovery and xposed framework.
My question is if:
1. uninstall xposed framework
2.install stock recovery
3. unroot
4. factory reset
... can i get OTA 5.0.2 ? or should flash stock rom.
Thanks in advance
I also have exact same question
Guru.Eclairs said:
I also have exact same question
Click to expand...
Click to collapse
you will be able to download the OTA but not install it.
unrooting and uninstalling the xposed, and flashing stock recovery will not work.
I suggest you to back up the OTA zip file after it downloads to the computer (/cache/ folder - its outside the sdcard directory)
you will need root to backup the OTA zip file (use ES File Explorer with Root options)
now flash the stock 4.4.4 firmware (the one that got the OTA update) with fastboot
the Lollipop update checks if the system folder was modified in any way. if it has, the update will fail
AgentChaos said:
you will be able to download the OTA but not install it.
unrooting and uninstalling the xposed, and flashing stock recovery will not work.
I suggest you to back up the OTA zip file after it downloads to the computer (/cache/ folder - its outside the sdcard directory)
you will need root to backup the OTA zip file (use ES File Explorer with Root options)
now flash the stock 4.4.4 firmware (the one that got the OTA update) with fastboot
the Lollipop update checks if the system folder was modified in any way. if it has, the update will fail
Click to expand...
Click to collapse
Problem is once the bootloader is unlocked, it can't be relocked until stock firmware image is flashed. I was searching for relocking bootloader in non-gpe moto g but no gain. Relocking process in gpe moto g is working very well though.
I have a rather different scenario . . i have stock ROM, custom recovery, unlocked bootloader and root access . .i tried to get the official lollipop update, but it got rejected due to low internal memory . .then after clearing memory, when i check for system updates , it says my "software is up to date" while it is still in kitkat!! . .i have been then checkin for updates again and again for days but still no use . .plz what should i do to get the official update? . .i have seen lots of others asking the same thing in different sites.but no answer.
Sent from my XT1033 using XDA Free mobile app

Flash stock firmware

I'm having trouble flashing stock firmware, I followed this guide https://forum.xda-developers.com/mate-8/general/convert-chinese-mate-8-to-eu-variant-t3487205 and ended up with C900B133, which is a useless build. I want to upgrade maybe to NXT-L09C636B596 (my device was originally NXT-L09C636B191). What steps do I need to take, my device is rooted, TWRP installed, and adb/fastboot ready with the update.app and HuaweiUpdateExtractor ready.

Flashing stock LG 5.0.1 ROM over 4.4.2 stock LG ROM without PC

I am using LG L Bello D331 on Android 4.4.2 KitKat and D331 got no OTA software updates unlike other versions of basically the same phone (I heard D335 ROM works when flashed on D331).
I was wondering if there is a way to flash the 5.0.1 LG ROM without PC (my phone is already rooted via KingRoot).
P.S I'm a newbie and I never flashed anything before.
Hey! You must do it on PC. I did it just yesterday, here's how i've done it
You'll need two things:
-Stock firmware (.kdz file) you can find them here: https://lg-firmwares.com/lg-d331-firmwares/firmwares/
(just download the CIS region file, I downloaded it too :good
-Lg Flash Tool: https://forum.xda-developers.com/showthread.php?t=2797190
-Also Lg drivers but i think you already have them
After you downloaded the kdz file, open Lg flash tool and connect your phone to pc via usb.
Change phone mode to emergency, select the kdz and choose CSE flash (this will erase all your data so do backup first)
On the new windows choose start, choose langauge and here you go. Afyer 20-30 min you will be done.
Good luck!

2022_VZW_EMMC_15_Chipset For Unlocked Dev BL To Downgrade To LL_KK Or Upgrade To MM_And Keep Unlock Bootloader

This Process Will Update Or Downgrade Your VZW EMMC Chipset DEV Aboot Bootloader Unlocked S5 To Marshmallow 6.0 Lollipop 5.0 Or Kitkat 4.2 or 4.4
​Root And Unlock Instructions Can Be Found Here
EMMC 15 Rooting And Bootloader Unlocking
EMMC 11 Rooting And Bootloader Updating Or Downgrading
Explanation On This Process
To update bootloaders to a newer or older bootloaders all moddified system firmware must be put back to stock in order for the bootloader to update. There is some kind of check and a flag is thrown if there is a modded boot or recovery image present. This is why it is a 2 step process and why it cannot simply be a one zip process. You are on unlocked bootloader and have TWRP probably install and maybe a custom boot.img. To upgrade bootloaders the stock recovery and boot images must be put back to stock and when you do this you obviously do not have a way to flash the zip to update rom and bootloaders. because there is no more custom recovery installed. So too do this the first zip removes TWRP and puts back Stock recovery and boot images and also adds safestrap recovery which is a system based recovery. Then when booted to safestrap recovery you can flash the rom zip with bootloader update and it will flash properly because there is no modified boot or recovery image then once the zip is flashed it removes safestrap and puts back TWRP recovery. Now the reason there is a 2 different Files To Prepair To Upgrade Or Downgrade one for kitkat and one for Lollipop/Marshmallow is the safestrap needs to be different for the kitkat system vs the lollipop/marshmallow system which can use the same safestrap. This is the reason on zip does not work for all 3 systems
Download Files To Prepair To Upgrade Or Downgrade From Unlocked KitKat 4.2 or 4.4 Bootloader Rev1-Use To Update To Rev2
EMMC_15_TWRP_KK_Prepare_Dev_BL_Update.zip
This File Is Only For People Still On Rev1 Bootloaders
Download Files To Prepair To Upgrade Or Downgrade From Unlocked KK LL MM All Bootloader Rev2
EMMC_15_TWRP_Prepare_Dev_BL_UP_Dwngrd.zip
This File Is Only For People On Rev2 Bootloaders
Download Rom Files
EMMC_15_SS_Install_QL1_6_0_1_MM_Bootloader_Unlock_AIO_Rom.zip
Stock QL1 Deodexed Rom Prerooted With EFTSU with root hide Debloated And DeKnoxed
EMMC_15_SS_Install_PB1_5_0_1_LL_Bootloader_Unlock_AIO_Rom.zip
Stock PB1 Deodexed Rom Prerooted with SuperSU 2.82 Debloated And Deknoxed
If you wish to use magisk on this rom you can download the View attachment Magisk-v13.3.zip and flash when this entire process is done. If you wish to use newer magisk zips you will need to manually patch your boot.img but the View attachment Magisk-v13.3.zip will do it for you when you flash it
EMMC_15_SS_Install_NK2_4_4_4_KK_Bootloader_Unlock_AIO_Rom.zip
Stock NK2 Deodexed Rom Prerooted with SuperSU 2.82 Debloated And Deknoxed
Instructions
You Must Be On VZW EMMC Chipset 15 With DEV Aboot Unlocked Bootloader With TWRP Recovery
1. Choose the file from the Download Files To Prepair To Upgrade Or Downgrade above that matches your current firmware and place on phone
2. Choose rom from Download Rom Files that you wish to upgrade or downgrade too and copy to phone
3. Reboot too TWRP recovery and choose install and choose EMMC_15_TWRP_**_Prepare_Dev_BL_UP_Dwngrd.zip and install. Do not wipe anything at this point just flash. This zip will remove TWRP recovery and replace any it and your boot image with stock boot images and install safestrap to your system which is needed to upgrade or downgrade bootloaders. When down flashing phone will reboot phone to Safestrap Recovery which looks just like TWRP recovery.
4. In Safestrap recovery choose install and choose the EMMC_15_SS_Install_***_*_*_*_**_Bootloader_Unlock_AIO_Rom.zip you copied to your phone. This zip will install proper bootloaders and firmware and rom and TWRP again. Do Not wipe anything at this point just flash the zip. Once zip is finished flashing phone will power off.
5. Now reboot phone to TWRP recovery which will now be back on your phone and goto wipe and choose advanced wipe and wipe data only. Then reboot phone and you are done
Bugs Problems And Tips
All roms are deodexed so they will take a long time to boot up to 20 minutes or maybe longer the first time or if you wipe dalvik cache or data
When Rom is booting up if your key lights come on and stay on why the rom is on bootanimation the entire time and waiting for rom to boot then this means your bootloader is not matched to firmware. I suggest trying above process
Fingerprint will not work on kitkat roms and may not work on others
All above roms use the QL1 baseband you are free to use any baseband you want however the Non-Hlos file must match firmware so only flash modem file
If you flash modded boot images it may break root
If you loose bootloader unlock or wish too start fresh go here first https://forum.xda-developers.com/ve...-emmc-15-chipset-onlyroot-bootloader-t4009089
If simply wanting to reflash an above rom zip over same rom and firmware it is ok too just flash it in TWRP you can skip the EMMC_15_TWRP_**_Prepare_Dev_BL_UP_Dwngrd.zip
All above methods are for Samsung Stock roms I do not offer support or answer questions about flashing Lineage or AOSP based roms
Tools And Extras
View attachment G900V_TWRP_RECOVERY_AROMA_FIX.tar This is an older TWRP that supports Aroma Installer zips
View attachment Odin_Files_3_13_Patched.zip Patched Odin
Thank you my friend.
Updated root scripts added

Categories

Resources