Lg g2 return to stock (unroot) - G2 General

i know that there is a lot of threads about unrooting the g2 ​in this thread i fix all the issues on the another threads
for d802 only
HOW TO UNROOT :
get your phone in download mode and plug it to the pc
DOWNLOAD THE FIRMWARE FOR YOUR DEVICE HERE
1. go to this official lg link and download :
A.the drivers for your device and install them
B. lg mobile support tool
2. after installing the drivers install lg mobile support tool and then CLOSE it if u got Chinese language or ?? symbols plz send me a pm
3.download and extract the flash tool
4. after extracting the flash tool open UpTestEX (BROWSE THE KDZ FILE,SELECT TYPE AND PHONE MODEL FOR D802 CHOSE 3GQCT/DIAG )
5.click normal web upgrade test and then click upgrade start
6. a loading menu should popup now wait for it and then don't play with the country choice, u can only change the language
THATS IT
KNOW ISSUES
1. KOREAN OR ??? SYMBOLS ON LG SUPPORT TOOL to fix it just send me a pm
2.''lg support tool already updatin'' close everything and restart the pc
3.if u get this error ''please up date R&D flash tool'' then download lgmobileax extract it and copy its content to C:\ProgramData\ LGMOBILEAX \
4.if u get lg support tool error ''lg support tool needs an up... check your connection'' then go to C:\Windows/System32/drivers/etc and open hosts file with notepad ++ and go to the end of the file and type 127.0.0.1 csmg.lgmobile.com click save , close hosts file then reopen it and delete that line , save again
5.if the support tool stooped on 2% check the kdz file u chose (be aware of 16/32 gb )
6.if the support tool stooped on 49% check the type and model in the flash tool
if it was useful hit thanks

Awesome, this is the BEST instructions to return to Stock ever.
It doesn't even require the phone to plug in and it works for all G2 variants.
Bravo!!!
REALLY???

votinh said:
Awesome, this is the BEST instructions to return to Stock ever.
It doesn't even require the phone to plug in and it works for all G2 variants.
Bravo!!!
REALLY???
Click to expand...
Click to collapse
Hey . first of all i said that iam FIXING the issues or u didnt see it ??? So in this thread i just fix the issues no need to say u should plug ur phone -_- every one on this planet knows u should do it . and for the variants they mentioned that in thier threads
Thanks

android_for_all said:
i know that there is a lot of threads about unrooting the g2 ​in this thread i fix all the issues on the another threads
HOW TO UNROOT :
DOWNLOAD THE FIRMWARE FOR YOUR DEVICE HERE
1. go to this official lg link and download :
A.the drivers for your device and install them
B. lg mobile support tool
2. after installing the drivers install lg mobile support tool and then CLOSE it if u got Chinese language or ?? symbols plz send me a pm
3.download and extract the flash tool
4. after extracting the flash tool open UpTestEX (BROWSE THE KDZ FILE,SELECT TYPE AND PHONE MODEL FOR D802 CHOSE 3GQCT/DIAG )
5.click normal web upgrade test and then click upgrade start
6. a loading menu should popup now wait for it and then don't play with the country choice, u can only change the language
THATS IT
KNOW ISSUES
1. KOREAN OR ??? SYMBOLS ON LG SUPPORT TOOL to fix it just send me a pm
2.''lg support tool already updatin'' close everything and restart the pc
3.if u get this error ''please up date R&D flash tool'' then download lgmobileax extract it and copy its content to C:\ProgramData\ LGMOBILEAX \
4.if u get lg support tool error ''lg support tool needs an up... check your connection'' then go to C:\Windows/System32/drivers/etc and open hosts file with notepad ++ and go to the end of the file and type 127.0.0.1 csmg.lgmobile.com click save , close hosts file then reopen it and delete that line , save again
5.if the support tool stooped on 2% check the kdz file u chose (be aware of 16/32 gb )
6.if the support tool stooped on 49% check the type and model in the flash tool
if it was useful hit thanks
Click to expand...
Click to collapse
flash tool link asking decryption key.

What a mess.

thanks

createben said:
flash tool link asking decryption key.
Click to expand...
Click to collapse
https://mega.co.nz/#!NBsFHKQI!3e2zxV_sI-Kf39GC3RKuWwlaEW_DGlWnCRFT1_dK0nY check this

Related

Flash your Rom (kdz) from lgmdp

Afraid of kdz updater , here is an alternative to
FLASH STOCK ROM
Note: Donot use this method from emergency mode unless you already have a backup of your nv
Note: using this prodcedure there should be no disconnection of phone or power cut.
DO THIS ON YOUR OWN RISK, I WILL HAVE NO LIABILITY IF YOU BRICK YOUR PHONE !!!
download lgmdp : Download here
1. disable lg modem
( in right click mycomputer->manage->device manager->modems->right click on lg modem disable it)
2. now connect your phone to pc.
3. start lgdmp
4. click "select port"
Phone will be automatically detected press "connect"
(close the pop up window of image select generally you will get it on connect of lgmdp)
5. backup nv for safety (tools->nv backup)
6. After backup , store this nv file somewhere in computer (and remember where you stored lol..)
7. close lgmdp
Now you need
1. Firmware download application by crecked : (Check this url)
If above application doesnot work for you follow Original ROM : (Check this URL)
2. LG Utils 0.4.2 (Download Here)
Step 1: First we need to get a dz from the kdz (original firmware), extract LG Utils 0.4.2 and open KP500-Utils-EN.exe
(You need to run this as administrator, or else you are getting an empty .cab file)
Step 2: Select the I option (Extract files from KDZ file), and type the route to your .kdz file (Mine is C:\V10A_00.kdz).
Now, you must have a V10A_00.cab (Or another name, it depends on the stock rom you downloaded).
Step 3: Open .cab file with a extractor like 7zip or rar or similar and extract the file "LGP500AT-00-V10a-EUR-XX-SEP-25-2010+0.dz" from V10A_00.cab
(Or another name, it depends on the stock rom you downloaded).
Step 4: Start lgdmp
Step 5: Click "select port"
Phone will be automatically detected press "connect"
Step 6: Press "DZ" (in right corner of image selection window which poped up)
or (if no window poped up press "select image" in lgmdp then press "DZ" (in right corner))
Step 7: Browse for the dz file you extracted in step 1
Step 8: In the drop down box select "ERASE EFS APPS"
Step 8: Start
DONOT DISCONNECT YOUR MOBILE UNTILL IT SHOWS DOWNLOAD COMPLETE AT BOTTOM
it shows in middle trying to connect to phone etc. donot touch the phone it will be automatically connect everytime.
After download complete you are done with procedure.
----------------------------------------------------------------------------------------------------------------------------------------------
I'd like to thank:
janitux (Cook your custom rom for LG P500)
The_ERROR (for Original LG Firmware list)
crecked (for Application for download Original LG Firmware)
----------------------------------------------------------------------------------------------------------------------------------------------
Note : Creating nv with different imei is illegal.
For people who messed up with nv, lost their nv follow http://forum.xda-developers.com/showthread.php?t=534704 to create nv.
----------------------------------------------------------------------------------------------------------------------------------------------
NV will be automatically restored at the end before you see download complete.
If any error occured while restore of nv
follow below steps to restore nv
put the nv file which you backed up in first part of procedure in this order*
create new folder
- rename folder: <your_imei_(on_which_nv2_is_created)>
- create new folder in <your_imei_(on_which_nv2_is_created)>
named <port no.> on which your phone is connected
(ex:for com4 name folder as " _COM_4_" (without quotes), you can find
port number when you click on "select port" when connecting mobile to
lgmdp under port column.)
- now place nv2 file in this folder <port no.>
- so now u r nv2 file is in
" \<your_imei_(on_which_nv2_is_created)>\<port no.>\ "
- now place lgmdp.exe and <your_imei_(on_which_nv2_is_created)> in
new folder
- start lgmdp
- "select port"
- "connect"
- press "NV Restore"
----------------------------------------------------------------------------------------------------------------------------------------------
why did you open another thread on this? you already have one here:
http://forum.xda-developers.com/showthread.php?t=1324105
sweetnsour said:
why did you open another thread on this? you already have one here:
http://forum.xda-developers.com/showthread.php?t=1324105
Click to expand...
Click to collapse
The thread you mentioned is only for flashing v10e or v20c (indian versions)
In this thread we can see procedure to flash any version by using extracted dz file from kdz.
I thought this would be helpful for people who want to flash stock rom from different countries having different versions of rom.
I followed your instructions and it all went well. I have stock rom installed and all it's working fine.
One question though: before the install was finished lgmdp gave me an NV restore error!!
Should I worry or it's something normal?
dodialfaed said:
I followed your instructions and it all went well. I have stock rom installed and all it's working fine.
One question though: before the install was finished lgmdp gave me an NV restore error!!
Should I worry or it's something normal?
Click to expand...
Click to collapse
Did you back up nv as mentioned in first part ?
Are u able to use GSM and data (connected to your sim network) ?
Yes I can use gsm and data, all is working well.
Yes I backed-up the nv on my pc.
As far as I know everything went ok. It's just that it gave me that error...
dodialfaed said:
Yes I can use gsm and data, all is working well.
Yes I backed-up the nv on my pc.
As far as I know everything went ok. It's just that it gave me that error...
Click to expand...
Click to collapse
Store that nv file with you.
If you face any difficulty in gsm or data, then flash that nv.
I prefer you do restore your nv once, as you said it gave error
Thank you very much!
---------- Post added at 03:10 PM ---------- Previous post was at 03:01 PM ----------
mak.3736 said:
Store that nv file with you.
If you face any difficulty in gsm or data, then flash that nv.
I prefer you do restore your nv once, as you said it gave error
You can flash that nv file from lgmdp following same steps
-Start lgmdp
-Click "select port"
Phone will be automatically detected press "connect"
-select "original" in bottom right (u need this step if you have selected "DZ" before)
-Browse "NV Default" to your nv file
-check "nv default" and uncheck others
-Select "Erase EFS " in NV bacup/restore
-select "start" , if start is grayed out close the window, select "download" in main lgmdp window
Click to expand...
Click to collapse
When I select Erase EFS APPS it gives me the error: You cannot erase the efs without the partition table!
dodialfaed said:
Thank you very much!
---------- Post added at 03:10 PM ---------- Previous post was at 03:01 PM ----------
When I select Erase EFS APPS it gives me the error: You cannot erase the efs without the partition table!
Click to expand...
Click to collapse
Select "Erase EFS"
I selected Erase EFS and it's the same error.
****! I restarted the phone and I noticed that all the apps and settings I made dissapeared!
Something is definitelly wrong.
Any advice?
dodialfaed said:
I selected Erase EFS and it's the same error.
****! I restarted the phone and I noticed that all the apps and settings I made dissapeared!
Something is definitelly wrong.
Any advice?
Click to expand...
Click to collapse
are you able to boot into rom normally ?
yes
data is working
all is ok
just that my apps disapeared
dodialfaed said:
yes
data is working
all is ok
just that my apps disapeared
Click to expand...
Click to collapse
Sorry for inconvenience
did you try with selecting "none" ?
or
here is fool proof method but a little lengthy
put the nv file in this order
create new folder
- rename folder: <your_imei_(on_which_nv2_is_created)>
- create new folder in <your_imei_(on_which_nv2_is_created)>
named <port no.> on which your phone is connected
(ex:for com4 name folder as " _COM_4_" (without quotes), you can find
port number when you click on "select port" when connecting mobile to
lgmdp under port column.)
- now place nv2 file in this folder <port no.>
- so now u r nv2 file is in
" \<your_imei_(on_which_nv2_is_created)>\<port no.>\ "
- now place lgmdp.exe and <your_imei_(on_which_nv2_is_created)> in
new folder
- start lgmdp
- "select port"
- "connect"
- press "NV Restore"
I did all that and it started restoring the NV but in the end it gave me this error:
This is the same error I got after installing the stock firmware.
try changing baseband....i think nv didnt got backed up correctly but you have gsm signal right
Problem solved
I flashed using lgmd a 10E stock version and than I fired up lg mobile update tool and udated to v20H.
Now all is working well and after rebooting apps are still there, nothing gets deleted.
This is good news for me
Thank you very much for your help guys!
dodialfaed said:
I flashed using lgmd a 10E stock version and than I fired up lg mobile update tool and udated to v20H.
Now all is working well and after rebooting apps are still there, nothing gets deleted.
This is good news for me
Thank you very much for your help guys!
Click to expand...
Click to collapse
I think apps were deleted before becoz of selecting erase efs while restoring nv.
bump.. lgmdp is safer than kdz.. mod plz add this to a sticky thread.. pls
Hope people still use there P500, because this seems to work other then the fact that I get Error! Partiton Table in red under when I try to update via kz or do the recovery partition update.
Thank you very much, it gets my phone out of bootloop

[Q] Alcatel t'pop 4010x Rooting

Good day, any idea how to root Alcatel One Touch Glory 2S (4010X). Have been search through the forum and Google. Anyone who knows to root this device ?
alwayzdevil said:
Good day, any idea how to root Alcatel One Touch Glory 2S (4010X). Have been search through the forum and Google. Anyone who knows to root this device ?
Click to expand...
Click to collapse
+1
Did you already tried the MTK droid tools?
I can help you... I rooted the 4030E and helped others how to do it. Basically every MTK device (the motherboard alcatel is using) will be rooted using the trick I did with the help of some other devs here...
cyberangel22k said:
Did you already tried the MTK droid tools?
I can help you... I rooted the 4030E and helped others how to do it. Basically every MTK device (the motherboard alcatel is using) will be rooted using the trick I did with the help of some other devs here...
Click to expand...
Click to collapse
Hei bro, thanks for the reply and sorry for the late reply. I havent try the MTK Droid tools, anyway can you let me know how did u root your alcatel 4030E ? Thanks
alwayzdevil said:
Hei bro, thanks for the reply and sorry for the late reply. I havent try the MTK Droid tools, anyway can you let me know how did u root your alcatel 4030E ? Thanks
Click to expand...
Click to collapse
Here's the link. If you have any errors, ask rua1. He will help you.
http://forum.xda-developers.com/showpost.php?p=38337401&postcount=5
ROOT ALCATEL 4010x
OK.. i have done working on ishuaji root tool, ive change the shell root to english version which is original from superuser DEV. hehehehe.. @Mr.Hyde.. can u post the step for me.. im to lazy to post with picture instruction.. plus not understand chinese.. hehehe..
here the step..
1st google superuser binary download, download from superuser website better.
2nd : download ishuaji root tool
HTML:
http://app.down.ishuaji.cn/lvdouapp/root/ishuaji_root.exe
3rd : install root tool
4th : open superuser binary via zip program
5th : open My Computer and go to this directory : C:\Program Files (x86)\RootTool\Android_Root (windows 8/7) C:\Program Files \RootTool\Android_Root (windows XP)
6th : delete ld_superuser.apk inside the folder or u can move to other folder as a backup (recommended if anything goes wrong n u can use back this file)
7th : replace with superuser binary that u have downloaded (just drag n drop) then RENAME it to ld_superuser.apk
Then run the root tool as per normal. and root ur device just by clicking the green button. wait unil it finish. and u will have normal superuser which is in English.
HAVE FUN GUYS.. hehhehe
jayXzMx said:
OK.. i have done working on ishuaji root tool, ive change the shell root to english version which is original from superuser DEV. hehehehe.. @Mr.Hyde.. can u post the step for me.. im to lazy to post with picture instruction.. plus not understand chinese.. hehehe..
here the step..
1st google superuser binary download, download from superuser website better.
2nd : download ishuaji root tool
HTML:
http://app.down.ishuaji.cn/lvdouapp/root/ishuaji_root.exe
3rd : install root tool
4th : open superuser binary via zip program
5th : open My Computer and go to this directory : C:\Program Files (x86)\RootTool\Android_Root (windows 8/7) C:\Program Files \RootTool\Android_Root (windows XP)
6th : delete ld_superuser.apk inside the folder or u can move to other folder as a backup (recommended if anything goes wrong n u can use back this file)
7th : replace with superuser binary that u have downloaded (just drag n drop) then RENAME it to ld_superuser.apk
Then run the root tool as per normal. and root ur device just by clicking the green button. wait unil it finish. and u will have normal superuser which is in English.
HAVE FUN GUYS.. hehhehe
Click to expand...
Click to collapse
Will this work for the Alcatel OT 4010a also?
jayXzMx said:
OK.. i have done working on ishuaji root tool, ive change the shell root to english version which is original from superuser DEV. hehehehe.. @Mr.Hyde.. can u post the step for me.. im to lazy to post with picture instruction.. plus not understand chinese.. hehehe..
here the step..
1st google superuser binary download, download from superuser website better.
2nd : download ishuaji root tool
HTML:
http://app.down.ishuaji.cn/lvdouapp/root/ishuaji_root.exe
3rd : install root tool
4th : open superuser binary via zip program
5th : open My Computer and go to this directory : C:\Program Files (x86)\RootTool\Android_Root (windows 8/7) C:\Program Files \RootTool\Android_Root (windows XP)
6th : delete ld_superuser.apk inside the folder or u can move to other folder as a backup (recommended if anything goes wrong n u can use back this file)
7th : replace with superuser binary that u have downloaded (just drag n drop) then RENAME it to ld_superuser.apk
Then run the root tool as per normal. and root ur device just by clicking the green button. wait unil it finish. and u will have normal superuser which is in English.
HAVE FUN GUYS.. hehhehe
Click to expand...
Click to collapse
Don't use this method, once you install that root tool it spams your computer with random programs and opens them randomly, it installed 10+ programs on my pc within minuets... I was able to stop them and uninstall all, I am now doing a clean wipe with 3 programs and also scanning with my antivirus, be warned.

LG L7 II How to unpack KDZ (and system.img)

OK, let's start:
1. Download https://www.dropbox.com/s/rnqrx7xh4z27zfr/KDZ.RAR
2. Unpack archive and open folder KDZ
3. Drag the firmware file (eg, V10J_00.kdz) on 1.unpack_kdz.bat
4. You get ,cab file (eg. V10J_00.cab)
5. Drag the .cab file on 2.unpack_cab.bat
6. In stock folder, you can find firmware folder with .dz, and .dll file
7, Download https://www.dropbox.com/s/sjb9ff7wmpdxl6a/LGwinTools_1.02.zip
8. Unpack archive LGwinTools, start LGwintools.exe
9. Open our .dz file previously extracted in stock folder
10. Click on 'save' icon (dont work through File ... menu), and choose folder for extraction...
That's it.
To unpack system.img:
1. Download https://www.dropbox.com/s/z7mqlzmobblf0d7/ext4_unpacker_exe.zip, and unpack it.
2. Run the ext4unpacker.exe, choose image file (system), and click on save as ext4. You can't miss, only 3 buttons is available: open image file, save as ext4, and exit.
4. Name it however you want .ext4 and save.
5. Download https://www.dropbox.com/s/5i33dt4n0w2z398/ext2explore-2.2.71%20%281%29.zip, unpack it and run ext2explore.exe,
6. Choose system.ext4, and do whatever you want.
Enjoy
I understand all points what you write...But then, the last point absolutely not understand.
Choose system.ext4, and do whatever you want?????
Please help me, thank you and sorry for my English.
So basically, it turns the kdz into a zip file that can be extracted?
So i just copy the file on the SDcard and install zip from the SDcard in recovery?
EDIT: Now the phone doesnt turn on..when i turn od it will displayed blue strips and thats all..
Pecan6 said:
I understand all points what you write...But then, the last point absolutely not understand.
Choose system.ext4, and do whatever you want?????
Please help me, thank you and sorry for my English.
Click to expand...
Click to collapse
Read carefuly point 4.:
To unpack system.img:
1. Download https://www.dropbox.com/s/z7mqlzmobb...packer_exe.zip, and unpack it.
2. Run the ext4unpacker.exe, choose image file (system), and click on save as ext4. You can't miss, only 3 buttons is available: open image file, save as ext4, and exit.
4. Name it however you want .ext4 and save.-MEANS ADD (.ext4) extension (eg. system.ext4)
5. Download https://www.dropbox.com/s/5i33dt4n0w... (1).zip, unpack it and run ext2explore.exe,
6. Choose system.ext4, and do whatever you want.
Dennydap said:
So basically, it turns the kdz into a zip file that can be extracted?
Click to expand...
Click to collapse
No, it turns kdz file in readable format, with possibility to manipulate with files.
When someone figure out how to pack changed/switched/modded files back in kdz, we will have tool to distribute rom through KDZ-s.
Pecan6 said:
So i just copy the file on the SDcard and install zip from the SDcard in recovery?
EDIT: Now the phone doesnt turn on..when i turn od it will displayed blue strips and thats all..
Click to expand...
Click to collapse
Why did you do that?
This is tool for extract rom files from kdz pack to regular format.
Where did you find a word zip, or zip for flashing in thread?
Flash only regulary kdz for your phone model, or verified rom.zip...
Read this; http://forum.xda-developers.com/showthread.php?t=2409308
Rename Topic
Rename the topic to "LG IL3 II, L5 II, L7 II, L9 II. How to Correctly unpack KDZ"
can u help me
there is a way to convert lg p705 kdz to be a ToT file.
i need that origial tot for unbrick this l7. thanks.
rezzkull said:
there is a way to convert lg p705 kdz to be a ToT file.
i need that origial tot for unbrick this l7. thanks.
Click to expand...
Click to collapse
Idk if it is even possible for P705 (never hear anybody did it, or have it).
I know how to extract partitions from dz (and merge system), but what is the difference, or how did you recover P705 with tot file, and why did you didn't with dz?
Anyway, I think you can find more information on lg l7 forum...
hs usb mode
the phone is hardbricked
the jtag pinouts now was damage (sorry cant upload picture)
if the only way can fix dead boot via usb mode, it will be superb things.
the emmc modem n etc does not detected in device manager.
any advice????
Is it possible to get boot.img and recovery.img?
rezzkull said:
the phone is hardbricked
the jtag pinouts now was damage (sorry cant upload picture)
if the only way can fix dead boot via usb mode, it will be superb things.
the emmc modem n etc does not detected in device manager.
any advice????
Click to expand...
Click to collapse
Have you any sign of phone in device manager? Try to pull out battery.
If not, i doubt even qpst (with proper emmcbld.hex) help you.
How did you damage jtag pinouts? If you try to recover boot area, with which device?
maxx_hr said:
Have you any sign of phone in device manager? Try to pull out battery.
If not, i doubt even qpst (with proper emmcbld.hex) help you.
How did you damage jtag pinouts? If you try to recover boot area, with which device?
Click to expand...
Click to collapse
sorry for late reply...
the phone is usb qualcomm 9008 mode at device mnager. with or without battery.
jtag pin damage is ... TDO , NRST n RTCK. all jtag pinouts are direct to Processor qualcom msm7227A. and that ic is permanently glue.
it impossible to reball n re write if the IC was damage by hot air .
thanks for advice.
if any other way from usb to repair dead boot mode....please tell me?
thank you.
Br.
rezzkull said:
sorry for late reply...
the phone is usb qualcomm 9008 mode at device mnager. with or without battery.
jtag pin damage is ... TDO , NRST n RTCK. all jtag pinouts are direct to Processor qualcom msm7227A. and that ic is permanently glue.
it impossible to reball n re write if the IC was damage by hot air .
thanks for advice.
if any other way from usb to repair dead boot mode....please tell me?
thank you.
Br.
Click to expand...
Click to collapse
You won't get away with that without a very good RE knowledge and the time will not be worth most likely. You can destroy any connection with QDL Mode with wrong files. I have been there. Sorry, that phone is done.
my stupid question
how to repack kdz?
THANK YOU
THANK YOU SUPER EXPLAINED ... SENT FINE.
:laugh: :victory:

[PSA] NO OTAs!! | Keep Root/Unlock | How-To: Block OTA, DL SW/FW, Update Manually

Manual Updating: How-To Preserve Root Access and Bootloader Unlock!
update... as of Nov 10 2014:
Official Lollipop for D855 and F400 has come out... following my instructions here you can still get bump'd - http://forum.xda-developers.com/showpost.php?p=56650179&postcount=59
So far, no anti-rollback in sight but I would still be careful of future updates.. and all other G3 devices models should be careful before taking an OTA (AT&T/Verizon... maybe).
Follow the steps above and you will ALWAYS have access to root/bump and flash anything you want.
​This thread assumes you are already rooted, have TWRP installed and can read English.
If you have those 3 covered the rest is EASY as long as you read.
If you are unsure of any terms used in this post please search XDA/Google instead of asking in here.
Background
I'll get this out of the way right now... if you do not care about having access to Bump or root you can ignore all of this and continue to take LG's OTA updates. One could argue that taking OTA updates is required to maintain any level of safety/security... but that goes out the window once you start rooting and installing recovery/roms anyway. Regardless, I am not telling anyone not to update. But if you do update... do it manually. As of Oct 18 2014, every single G3 variant has root and bootloader unlock.. either out of the box(D851) or thanks to Bump. There is no need to ever take an OTA from here on out. The latest D855 and F400 OTA updates have blocked TowelRoot, IORoot and even Stump.. pretty sure only PurpleDrake works on them for now... I would expect PurpleDrake to be patched soon enough. And with official Lollipop updates coming root will only get harder. But.. as long as we install everything through TWRP manually we can update while keeping root/unlock/Bump.
Yes, we can downgrade using LG FlashTool but that could be blocked at any time with an OTA update to prevent rollback(Samsung does this).
Yes, it's possible to complete an OTA upgrade and maintain root but there is no way to know for sure if root will stick. And the OTA is upgrading the bootloader. Why gamble? This post is just a suggestion on how to stay updated without locking yourself out of anything... but it's not a rule. Just one of many options you can take. But if you do lose root or bootloader unlock after an OTA... don't go asking any devs when then next root tool is coming out or if there's a magical way to downgrade the bootloader. ​Overview
With all that said... now that we're all rooted and unlocked I decided to make a thread on how to:
1. Block OTA updates and remove OTA packages and that annoying notification. Easy!
2. Download updates manually.. no OTA zip needed. Easy!
3. Manually flash updates without losing root or Bump. Easy!
Most of us have access to the same files found in the latest OTA.. either with a .KDZ or .TOT(Sprint and AT&T refuse to release KDZ files..it seems they would prefer you to not be ale to fix the phone yourself). We can extract the individual partition files from a KDZ/TOT and easily flash them through TWRP. ATT/Sprint users will need leaked TOT files... or something like a pre-patched System.img/Boot.img/Modem.img from a user who has run a modified OTA update... yet managed to keep/regain root. More on that possibly in the future.
The main things we want out of a new OTA update:
A. Radio/Modem.img - although newer isn't always better
B. Kernel/Boot.img - this is often where root is blocked in new updates. But update manually and it no longer matters since we can root system through TWRP.
C. Rom/System.img - this is where most of the "fixes" in updates happen.. and what most people want from an OTA.
D. *Optional: Bootloader stack/Aboot.img,SBL1.img, DBI.img, LAF.img, RPM.img, TZ.img - this is where downgrading and Bump could be blocked. Avoid updating for now unless you are 110% sure you know what you're doing.​How-To Block and Remove OTA Updates
If you are flashing custom roms in TWRP.. I'd expect OTA updates to already be removed. If you get an OTA update while running a custom flashable rom be sure to ask the dev why he can't make a proper custom rom that keeps you safe from OTA updates.
Block
Open LG Hidden Menu (3845#*851#) --> WLAN Test --> OTA Setting --> Disable
*Replace "851" with your devices model number, 850, 852, 855 etc.
This seems to only work on D851, D851 and D855 versions (possibly D857/8/9 and F400). AT&T, Verizon and Sprint users have reported the Hidden Menu method does not work. If you have one of those devices you can use a RootExplorer-type app to find the OTA related APK and rename the file to ____.apk.bak or use Titanium Backup to freeze it. If using Titanium Backup look for com.lge.lgfota.permission, OTA or System Update and freeze it. If looking for apk and odex file to rename.. search for OTA or FOTA or LGDMSClient.. etc
If you see an "Apps update" that just might be the "LG Apps" and not a firmware update. Updating LG apps is safe.. firmware is not (if you want to be able to maintain root/mods).
Remove OTA Update(and notification)
If an OTA notification is on your device you most likely already have the OTA file on your phone. If rooted, you can remove the OTA files and get rid of that annoying notification.
Updates are found in the /cache/ folder on your phone. Using a RootExplorer-type app(or ES File Explorer) browse to the root of your phone(NOT the root of your internal storage, /sdcard/, but the actual phone). If using ES File Explorer you may have to use the "show hidden files" option and grant the app root. You will see the update .zip file in cache if you did everything correctly. If no one has already uploaded the OTA zip.. copy the update to your sdcard and then upload for everyone else. Now delete the zip file from /cache/.
Deleting the file in /cache/ will get rid of the OTA but will not get rid of the notification. To get rid of notification:
1. Pull the notification shade down on your phone
2. Long press on the OTA notification until you see the App Info option pop up.
3. Click App Info and uncheck the Show Notifications box.
​How-To Download Updates and Extract KDZ/TOT Files
1. Easiest way to obtain updates would be to look in this around XDA in your proper subforum for an update already posted by someone else. With Bump, many flashable rom zips will be popping up. Roms usually contain "system" and "boot"... which are two of the three things we generally want from an update. The third being the modem.. which is never included in a flashable rom and often not required to be updated. If you want the updated modem you will have to look around for the file or use the steps below to get it yourself.
2. If there is a new OTA update, no one has already posted the updated flashable files and you can't wait any longer... it is time to take matters into your own hands. Instead of giving in and taking the official OTA or begging others for help.. download the updated KDZ for your device yourself. And NO, we will NOT be not flashing the full KDZ.. we are just taking some files from it.
You can get your devices KDZ by visiting THIS LINK and entering in your MEID or IMEI.. it will give you a link to the latest available KDZ from LG. Sometimes KDZ files take a few days to show up after the OTA.. give it a little time. Do not beg in thread for KDZ files. Help yourself or wait for someone to post the files you were looking for.
It is encouraged to share not only KDZ and TOT files... but the extracted System/Boot/Modem images you extract from them as well. Only one person needs to download a KDZ per DeviceVariant/SoftwareVersion... that person can then share and everyone else just downloads from their link. You no longer have to be a "rom dev" of even know how to make a flashable zip to help share updates with others.
Anyway... to extract these partitions after downloading the KDZ/tot you can check out the following posts for scripts/tools to make things easy:
a. CLICK HERE [Tool][python] LG Compressed KDZ Extractor - by thecubed Script to extract partitions from KDZ.
b. CLICK HERE SystemMerger.py - by cybojenix Script to merge split system files from extracted KDZ.
c. CLICK HERE [TOOL]LG Bin Firmware Extractor - by xonar_ Script to extract TOT files and merge system.img's into one.
d. CLICK HERE [TOOL] KDZ and TOT Extractor - by bullghost Windows tool, adds all features of the scripts above with an easy to use UI.
invisiblek has updated xonar_'s LGBinExtractor to work with some more G3 devices - https://github.com/invisiblek/LGBinExtractor
If you have a question about an extraction tool be sure to read everything in the 4 threads. Post in the above threads if your question is still unanswered. Between the 5 extraction links above you can extract any G3 KDZ/TOT on Linux, OSX or Windows.
And remember, the main partitions we want from the TOT or KDZ: modem, boot and system.
Alternatively you can extract the KDZ directly on your phone -- click HERE.
Since more than a few people are having issues manually extracting... I will show an example that came from this thread and how to correct it:
KDZFileTools.py -f D85510L_00.kdz -x
[!] Error: Unsupported KDZ file format.
[ ] Expected: 0x28 0x5 0x0 0x0 0x34 0x31 0x25 0x80 ,
but received 0x28 0x5 0x0 0x0 0x24 0x38 0x22 0x25
Two things wrong here... first, the command is incorrect. when using the KDZFileTools.py "-x" is not used.. you want "-s 0" to extract the DZ.
Example:
Code:
python KDZFileTools.py -f D85510L_00.kdz -s 0
The second error is the "Expected.. but received" message. To fix this just open the .py script up in a proper text editor(notepad++ on windows for example).. find "x28x05x00x00x34x31x25x80" in the script...
replace it with "x28x05x00x00x24x38x22x25" (or whatever string is given after the "but received" output.. use logic) then save script.
rerun script. DZ will now extract into the "kdzextracted" folder. Once that finishes extracting you can use the Windows GUI tool to extract the .DZ file into individual partitions (and merge system). Or you can continue using the manual script methods.
To manually extract the DZ you're going to now use the DZFileTools.py script to split the DZ file (that's in the kdzextracted folder) into individual partitions.
Example:
Code:
python DZFileTools.py -f kdzextracted/D85510l_00.dz -x
that command will extract all your partitions into the dzextracted folder. Now drop the SystemMerger.py - by cybojenix file linked above into the dzextracted folder.. cd into the dzextracted folder and run that script to merge all the split system partitions into one system file.
Code:
python SystemMerger.py
All done.. you now have the boot, modem and full system.img to flash on your phone (along with every other partitions that comes with a kdz). :good:
3. Other methods for obtaining updated files would be grabbing the OTA update zip from the /cache folder and trying to pull files out of that.. or having an "in" and getting some leaked files or TOT. Sprint and AT&T users would benefit most from a leaked updated TOT.
​Where-To Download KDZ Files
In this section I want to start a collection of all the latest KDZ files for all G3 devices.
You can help me out by either posting your KDZ link with FULL info about the KDZ/DEVICE..
Example of a helpful post:
derp said:
Hi, here is my model info and kdz url below...
LGD855
A6NEWH
D85510L_00
16GB
http://csmgdl.lgmobile.com/dn/downloader.dev?fileKey=FW978806432109876543213/D85510L_00.kdz
Click to expand...
Click to collapse
OR you can PM/Private Message me your IMEI so I can look up all the models and latest KDZ's myself. This would help me the most but I understand the security concern. If security is an issue.. you could leave the last 3 digits off the end so I dont have your exact #. If you trust me.. please consider sending me your IMEI if you own one of the devices I need listed below...
KDZ Links Below
Team Codefire had to come through once again and supply TOT files to the USA carriers that provide no public KDZ (AT&T, Sprint, Verizon)
AS985 (USA Regional) - NEED IMEI
D850 (USA AT&T) - 10D TOT (AT&T has no public KDZ files. Feel free to complain to them.)
D850PR (Puerto Rico Claro) - NEED IMEI
D851 (USA T-Mobile) - 10M KDZ
D852 (Canada) - NEED IMEI for D852 Bell, D852 Rogers and D852G
D855 (Europe) - 10L Netherlands 16GB | 10L Germany 16GB NEED MORE IMEIS
D855AR (Argentina) - NEED IMEI
D855K (Australia) - NEED IMEI
D855P (Brazil / Mexico) - NEED IMEI
D855TR (Turkey) - NEED IMEI
D857 (China) - 10C KDZ NEED IMEI STILL
D858 (China / Hong Kong) - NEED IMEI D858 and D858HK
D859 (China) - NEED IMEI
F400 (Korea)- F400L 20E,
LS990 (USA Sprint) - ZV4 TOT (Sprint has no public KDZ files. Feel free to complain to them.)
US990 (USA US Cellular) - 10C KDZ
VS985 (USA Verizon) - 12B​
Click to expand...
Click to collapse
​How-To Manually Flash/Update Device w/ System.img, Boot.img and Modem.img
1. You downloaded a custom rom flashable zip a rom has made for the community. Roms contain "system" and "boot"
Flash these in TWRP and follow any instructions in the thread/post where you downloaded it. Rom questions belong in those specific rom threads.
You may have to wipe data/factory reset in TWRP, depending on rom.. or you may need to flash a gapps zip if using an aosp-type rom.. etc..
There's no need to worry about OTA's using this route. Proper custom roms will never include the bootloader stack or anything that could remove your bootloader unlock. And just about all custom roms come with a pre-rooted "system" so you don't have to worry about root either. Remember to make a backup in TWRP before flashing anything.
2. You obtained some boot.img,modem.img,system.img files... either extracting from TOT/KDZ yourself or downloaded files another XDA member has uploaded. This method is something you can do all by yourself... no help from a dev needed. To make this method just as easy as flashing a custom rom zip in method #1.. I have made 3 flashable zip files - [Flash2System.zip, Flash2Boot.zip and Flash2Modem.zip]
Download them to your phone using the link below then follow the directions that follow...
DOWNLOAD FLASH2 FILES FROM CODEFIRE HERE
A. Make a new folder on your internal sdcard called: flash2
B. Download and place Flash2System.zip, Flash2Boot.zip and Flash2Modem.zip on your phone. Internal/external sdcard.
C. Stick system.img, boot.img and modem.img into the /sdcard/flash2/ folder. Files must be named system.img, boot.img and modem.img
D. Create backup's in TWRP.
E. In TWRP, flash Flash2System.zip and/or Flash2Boot.zip and/or Flash2Modem.zip to install your updated images.
F. If you have flashed a stock system.img you will need root. After the flash completes press Reboot System and TWRP will ask if you want root. Go thru the process in TWRP then reboot. After booting you may have a notification to finalize root. Few more clicks and you're rooted... it's that easy. No more worrying if root is patched in the latest OTA update... or having to undo everything you changed in stock so that the OTA doesn't brick you.
Flash2*.zip didn't work? Make sure your system/boot/modem.img files are in the /sdcard/flash2/ folder. Internal sdcard!
​How-To Properly Share KDZ/TOT and other Update Files
If you have a new KDZ or have already extracted the KDZ.. please share it with the rest of us in this thread! Please post the KDZ link along with the exact model, region software version and size. Example: D855 Germany 10L 16GB KDZ.
If you want to share your extracted system.img, boot.img and modem.img files please upload them somewhere and share the link. Please specify if you would like others to mirror your files or not (if hosting them on personal server).
Please label all shared files properly! Name them appropriately with boot, modem or system in the name.. as well as the FULL model and software version. Entering my IMEI into the KDZ generator from the last section I can see my device info such as: LGD851TN and D85110M_00. Exact models and software versions are important so other users know which files they need to flash and which to avoid. You should only flash files for your exact device variant. An example name based on my info above: LGD851TN_10M_00_Boot.img (this can be renamed later to boot.img once downloaded or placed on sdcard).
​
Click to expand...
Click to collapse
More G3 Flash2 Threads:
[FIX] Stuck in Custom Recovery [TWRP/CWM] (After trying OTA)
[EFS] LG G3 EFS Backup and Restore
XDA:DevDB Information
Flash2, Tool/Utility for the LG G3
Contributors
autoprime
Version Information
Status: Stable
Current Stable Version: 1.0
Created 2014-10-18
Last Updated 2014-12-11
Reserved
Nice. On the LS990 (Sprint), it appears that the APK responsible for OTA is titled "com.lge.lgfota.permission" version 4.4.2-LS990ZV41403169216
If I'm looking at the wrong app, someone please correct me, so that other users don't freeze this app and think they're covered, but I froze it and rebooted with no problems.
I also had to run the command line "am start com.lge.hiddenmenu ....[etcetera]" to get into the OTA enable/disable screen.
Block and remove instructions won't show, "spoiler" text reads "blocked"
Sent from my LG-D850
I have Verizon and after i enter : am start com.lge.hiddenmenu/.wlan_service.wifi_ota_buttons in to adb i get an error:
WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please Fix.
WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please Fix.
starting: intent {act=android.intent.acton.MAIN cat =[android.intent.category.LAUNCHER] cmp=com.lge.hiddenmenu/.wlan_service.wifi_ota_buttons} does not exist.
cali4nia831 said:
I have Verizon and after i enter : am start com.lge.hiddenmenu/.wlan_service.wifi_ota_buttons in to adb i get an error:
WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please Fix.
WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please Fix.
starting: intent {act=android.intent.acton.MAIN cat =[android.intent.category.LAUNCHER] cmp=com.lge.hiddenmenu/.wlan_service.wifi_ota_buttons} does not exist.
Click to expand...
Click to collapse
did you install the hiddenmenu.apk as the link instructed?
then entered the following commands like the URL says:
Code:
adb shell
su
am start -a android.intent.action.MAIN -n com.lge.hiddenmenu/com.lge.hiddenmenu.HiddenMenu
which should then give you the hidden menu where you can "WLAN Test --> OTA Setting --> OFF"
Yes I did install the apk as instructed. It does open up the hidden menu after i enter those commands and after that error message but there is no WLAN TEST in the hidden menu that i can see.
---------- Post added at 10:55 PM ---------- Previous post was at 10:42 PM ----------
autoprime said:
did you install the hiddenmenu.apk as the link instructed?
then entered the following commands like the URL says:
Code:
adb shell
su
am start -a android.intent.action.MAIN -n com.lge.hiddenmenu/com.lge.hiddenmenu.HiddenMenu
which should then give you the hidden menu where you can "WLAN Test --> OTA Setting --> OFF"
Click to expand...
Click to collapse
Okay so i got it to the hidden menu to pop up as well as OTA enable/disable page even though it still gives me the same error message. I tap ENABLE and it says ENABLE but then i go back to the hidden menu and it still isn't listed...
EDIT:
Ended up just renaming the LGFOTA.apk file listed in the first reply above. So I should be good to go...
cali4nia831 said:
Yes I did install the apk as instructed. It does open up the hidden menu after i enter those commands and after that error message but there is no WLAN TEST in the hidden menu that i can see.
---------- Post added at 10:55 PM ---------- Previous post was at 10:42 PM ----------
Okay so i got it to the hidden menu to pop up as well as OTA enable/disable page even though it still gives me the same error message. I tap ENABLE and it says ENABLE but then i go back to the hidden menu and it still isn't listed...
Click to expand...
Click to collapse
Don't tap Enable.. Tap Disable... and that's it. OTA disabled... off.. all done.
Someone can provide me with img files? I dont have a PC, just using my phone PM if you can help me.
autoprime said:
word
XDA:DevDB Information
Flash2, Tool/Utility for the LG G3
Contributors
autoprime
Version Information
Status: Stable
Current Stable Version: 1.0
Created 2014-10-18
Last Updated 2014-10-18
Click to expand...
Click to collapse
Don't stick threads.. stick the man
He knows too much
Thanks for all your work
Edit: Can someone sticks his threads ?
Sorry for my noobish post, but where can I find tool for extracting KDZ for LG G3? You just provide link for GitHub, not for .exe program. Thanks.
First of all, thanks for the guide! It will help a lot of users in preserving bump and root
I don't think that leaving boot/etc .img out will help. LG engineers aren't stupid. The can, for example, do it like this: after "m" update all our phones will reflash aboot/etc partitions to patched versions on 1 jan 2015. The partition's images will be hidden in some big system file, while the waiting daemon will be hidden in, for example, healthd. We will never discover it until it's too late. GG WP.
That said, I really doubt that they will do it that way, but this is still a possibility. I guess i'll flash AOSP/CM/OMNI/smthing rom ASAP.
pRo_lama said:
Sorry for my noobish post, but where can I find tool for extracting KDZ for LG G3? You just provide link for GitHub, not for .exe program. Thanks.
Click to expand...
Click to collapse
link a, b ,c , d in the O.P. mate.. He provided all you need.... =)
The Python scripts and Windows GUI App, don't work for my D855 kdz files.
Don't have linux currently setup to test the last one (needs to be compiled).
L10nH34Rt said:
The Python scripts and Windows GUI App, don't work for my D855 kdz files.
Don't have linux currently setup to test the last one (needs to be compiled).
Click to expand...
Click to collapse
I'm on windows 8 mate... use the phython first with the kdz, then you can use the one with GUI for the dz file....
The hidden menu setting ever resets? Not after reboot, factory reset etc?
teddy0209 said:
I'm on windows 8 mate... use the phython first with the kdz, then you can use the one with GUI for the dz file....
Click to expand...
Click to collapse
I get an unsupported KDZ format error, that's my problem.
L10nH34Rt said:
I get an unsupported KDZ format error, that's my problem.
Click to expand...
Click to collapse
Well, I just extracted mine.... d855, v10i..
Check the command...
teddy0209 said:
Well, I just extracted mine.... d855, v10i..
Check the command...
Click to expand...
Click to collapse
I tried to extract v10l and it failed.
i deleted system updates with tibu should i delete LGFOTA.apk? under system,etc security there are a file named otacerts.zip should i delete that one to.

LG G2 UNBRICK . for those who is suffering from previous posts in xda

you can try this with any lg g2 phone models . just replace d802 in below text with your phone model.
but do it at your own risk . its always said in these kind of threads
sorry in advance for my bad English .
anyway
this solution is for :
your phone must be in bulk mod .( if not then try triggering test point for lg g2 )
(bulk mod means u see a tons of drives which your pc cant read them . if you see them then you are in bulk mod )
ones that cant recover from black screen after using the SRK TOOL first
you need :
KDZ file of your mobile specific to your country or region
LG_Firmware_Extract_v1.2.6.1
SRK TOOL (v 2 above)
LG Flash Tool 2014
instructions :
STEP 1 :
1- download LG_Firmware_Extract_v1.2.6.1 ( google it . i dont know if the previous versions work or not so . u google it and find one )
2- extract the zip file
3- run WindowsLGFirmwareExtract.exe
4- in the kdz/tot file section pick the rom u downloaded
5- select file with .dz extension
6- click extract KDZ
7- wait till complete
8- select the extracted dz file in the dz section . (directory is the same as the extractor program)
9- select all of them except system files . ( we dont need them )
10- select extract dz
11-wait till complete
12- now we are done with LG_Firmware_Extract . close it.
STEP 2:
1- download SRK TOOL
2- extract zip file in an empty folder
3- open the folder which the program exracted
4-open this folder : unbrick_qhsusb_bulk-D802
5- look at the image files . we need their name to be placed in the bin files extracted from LG_Firmware_Extract
for example :
we have : droidth-aboot.img in folder unbrick_qhsusb_bulk-D802
aboot_229376.bin in folder LG_Firmware_Extract
you need to rename aboot_229376.bin to droidth-aboot.img and replace the file with the one which is in the unbrick_qhsusb_bulk-D802 folder
STEP3 :
remember : disable anti-virus before continuing ( it prevents the app from writing anything to phone )
1- these steps are the same as the original thread
and done .
now disconnect usb and reconnect it again .
press power bottom till its rebooted . if dint . wait 3 sec the try press the botton again . ateleast 10 to 15 sec needed .
when the lg logo appeared release it
now you are in download mod
STEP4:
1-now use lg flash tool to flash the kdz file you downloaded to the phone . guide
DONE
NOW wait until your phone starts erasing the old system and install new one
warning : dont reboot manually , wait 15 min . if u see lg logo or black screen for 15 min the try reboot the phone by pressing power for 15sec
done .

Categories

Resources