• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[D855] [GUIDE] One Click ROOT+TWRP Recovery for Lollipop Stock Firmware [20H/20P/20G]

Search This thread

jac10000

Senior Member
Feb 5, 2012
652
917
Troyes
One Click ROOT+TWRP Recovery for Lollipop Stock Firmware
-----------------------------------------------------------------------
I recommend you to use AutoRec For Lollipop 20H from @[B]bender_007[/B]
@ingoljosh includes all version of autorec (D855, D852, D850, LS990 ...) in his post : Flash TWRP With AutoRec

First use OneClic Script ( by @avicohh ) to root your G3
Then install and use AutoRec to install the recovery custom

-----------------------------------------------------------------------
Only for D855​
Only Lollipop (not KitKat)
(16GB/2GB and 32GB/3GB variants)​
Use only this tuto in case of failure with the previous quoted method
Credit
- @6ril1 for all his advice and convinced me to publish this method here
- @somboons and his post for the LG G2 : [TOOLS] One Click ROOT+TWRP Recovery for Lollipop Stock Firmware
Somboons have modified One Root Script ROOT KitKat / Lollipop firmware that for One Click ROOT+TWRP D802 firmware 30a/30d and I have updated his work for the LG G3 D855
- @avicohh for his One click script
- @thecubed for Bumps!
- @Unjustified Dev for send_command and his New Root Method for LG Devices
- @Chainfire for SuperSU
- G3 tuto on Frandroid
---------------------------------------------​
Download Link for Lollipop 20H:
Mega LGG3-D855-OneClickRootRecoveryV1.1.zip
Box LGG3-D855-OneClickRootRecoveryV1.1.zip
Dropbox LGG3-D855-OneClickRootRecoveryV1.1.zip
md5 : 33c50a727eecc9402ae1551e818b9615
---------------------------------------------
NEW

Download Link for Lollipop 20P:
Mega LGG3-D855-OneClickRootRecovery-V20P.zip
Dropbox LGG3-D855-OneClickRootRecovery-V20P.zip
md5 : a5f1776215dc6e9792e57efae400dcae

Download Link for Lollipop 20G:
Mega LGG3-D855-OneClickRootRecovery-V20G.zip
Dropbox LGG3-D855-OneClickRootRecovery-V20G.zip
md5 : 624a30b28037a6ed7023ea1f245c2aa8

@6ril1 thank to him for the bump of the 20P and 20G boot :good:

20P and 20G --> If you are not root having applied this tool, copy UPDATE-SuperSU-v2.46.zip on your SDCARD , restart on recovery mode and flash UPDATE-SuperSU-v2.46.zip

For those who used the LGG3-D855-OneClickRootRecoveryV1.1.zip version (for 20H) on the firmware:
- 20P download this file :
Kernel fixed by @6ril1 (v20p) --> http://forum.xda-developers.com/showpost.php?p=60770468&postcount=1019

- 20G download this file : Kernel fixed by @6ril1 (v20G) --> http://forum.xda-developers.com/showpost.php?p=60940277&postcount=220

And use Flashify or your custom recovery to install this boot
For more informations see here : http://forum.xda-developers.com/showpost.php?p=60913483&postcount=23
Thank's @black_horse_88
---------------------------------------------​

changelog:
http://forum.xda-developers.com/showpost.php?p=59926518&postcount=91

older version:


(recovery includes in LGG3-D855-OneClickRootRecovery.zip file: TWRP 2.8.6.1 w. Splash Screens/Modem/F2FS)

Backup Data on SDCARD Before doing everything

How to install


1 - Install LG drivers if they are not installed yet.

2 - Make sure you are enable USB Debuging Mode . (Go to Settings > General > About phone > Software information, tap Build number seven times and then go to Settings > Developer options and turn on Usb debugging)
384873dbogageusb.jpg


3 - Connect your phone to pc on PTP mode

4 - Extract LGG3-D855-OneClickRootRecovery.zip and double click on the OneClick_ROOT_RECOVERY.bat file, to run the script.
602478LGG3D855OneClickRootRecovery1.jpg


5 - Follow the instructions.
352599waitingfordevicebloqu.jpg


If the phone not recognize, try to switch between MTP and PTP options.

Watch the screen of your smarphone you could see this popup asking you to access to the G3
Of course, accept
138239popupptp.jpg


Your G3 reboot several times.

If you see this message , reboot the G3 manually into Download mode
285156serialportnofoundinsertmanuelly.jpg



6 - Enjoy ROOT+TWRP on Lollipop Firmware
250058droulementdurootetrecovery.jpg


7 - Verify if you are root, you have custom recovery and working Download Mode

Problems and solutions
1 - @somboons describes the manual procedure on his original publication for the LgG2. If you have errors during the script you can try the manual procedure.

Normally If doesn't work for people please checking port that connecting between device and computer or checking LG driver and Re-run script again or use Manual method :)



What does the automate script do ?

(For people can't use automate script we have to use manually ROOT+TWRP)

Make sure you are enable USB Debuging Mode . See this Method > Enable Debugging Mode


1. Pushing all stuff files

Run file

It will be show command DOS windows
C:\Users\M\Desktop\LGG3-D80230a-OneClickRootRecoveryV1.1>

Using command as below to push files to device
adb.exe push busybox /data/local/tmp/ && adb.exe push lg_root.sh /data/local/tmp/ && adb.exe push UPDATE-SuperSU-v2.46.zip /data/local/tmp/
adb.exe push aboot.img /data/local/tmp/aboot.img
adb.exe push laf.img /data/local/tmp/laf.img
adb.exe push boot.img /data/local/tmp/boot.img
adb.exe push recovery.img /data/local/tmp/recovery.img



2. Reboot to Download mode

3. When enter to Download mode successfully.We need to send command to connect device with computer
Send_Command.exe \\.\COM_PATH

COM_PATH . we can find with ports.bat command

Ex.
C:\Users\M\Desktop\LGG3-D855-OneClickRootRecoveryV1.1>ports.bat
C:\Users\M\Desktop\LGG3-D855-OneClickRootRecoveryV1.1>reg query HKLM\hardware\devicemap\SERIALCOMM
HKEY_LOCAL_MACHINE\hardware\devicemap\SERIALCOMM
\Device\LGANDNETMDM0 REG_SZ COM3
\Device\LGANDNETDIAG1 REG_SZ COM4


A command that send to device when connecting to computer with Download Mode is
C:\Users\M\Desktop\LGG3-D855-OneClickRootRecoveryV1.1>Send_Command.exe \\.\COM4


4. When we see this prompt
C:\Users\M\Desktop\LGG3-D855-OneClickRootRecoveryV1.1>Send_Command.exe \\.\COM4
Author : blog.lvu.kr
SPECIAL COMMAND : ENTER, LEAVE

#


Try to use this command to ROOT+TWRP
# sh /data/local/tmp/lg_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.46.zip /data/local/tmp/busybox



5. When we see this message
ui_print - Disabling OTA survival
ui_print - Removing old files
ui_print - Placing files
ui_print - Post-installation script
ui_print - Unmounting /system and /data
ui_print - Done !

Please press Ctrl+C, and then type N and ENTER to reboot.

#


Try to use LEAVE command to restart device.


6. Enjoy ROOT+TWRP

2- If you always have errors or blockings try this other manual method

1 - Apply this tuto : [GUIDE] New Root Method for LG Devices

2 - Then this one : http://forum.xda-developers.com/showpost.php?p=59931455&postcount=104

3 - If your G3 don't boot on system but you can go on Recovery and Download Mode
Your boot is not correctly flash and we have to make it by line of commands
Tuto here : http://forum.xda-developers.com/showpost.php?p=59962266&postcount=127
 
Last edited:

Smowza

Member
Apr 16, 2011
10
2
York
Hi, I'm currently rooted on stock lollipop but do not have recovery. Can I run this to give me custom recovery? Cheers
 

topet2k12001

Senior Member
Apr 22, 2013
588
594
Metro Manila
Huge Improvement!

HI @jac10000,

This is great! Way better than what I have posted. :)

I assume that this can be repackaged to cater to other LG G3 variants, by simply replacing aboot.img, laf.img, boot.img (users need to have this "bump'd" prior), and recovery.img (need to be "bump'd" prior as well) from those of their respective LG G3 variants, correct?

EDIT: I have promoted your approach in my how-to thread: http://forum.xda-developers.com/showpost.php?p=59897649&postcount=455
 
Last edited:

jac10000

Senior Member
Feb 5, 2012
652
917
Troyes
HI @jac10000,

This is great! Way better than what I have posted. :)

I assume that this can be repackaged to cater to other LG G3 variants, by simply replacing aboot.img, laf.img, boot.img (users need to have this "bump'd" prior), and recovery.img (need to be "bump'd" prior as well) from those of their respective LG G3 variants, correct?

EDIT: I have promoted your approach in my how-to thread: http://forum.xda-developers.com/showpost.php?p=59897649&postcount=455
Yes I think it's possible. I don't know the others models of G3 and their specific characteristics for installing custom recovery
 

afilbit

Senior Member
Feb 11, 2012
145
28
Does it make any difference if I have the LG G3 D855 16GB/2GB variant?

Can anyone report back?
 

jac10000

Senior Member
Feb 5, 2012
652
917
Troyes
What would I need to provide to make this work on a f460k G3 Cat6? I have not found a bump'd boot.img to start with and don't fully understand how to make one myself.

I do not know the specific obligations for the f460k. But for the D855 I extracted from kitkat Kdz the aboot.img and laf.img and copy them in the tools folder. I think you must use specific recovery Twrp for the f460k. For the bump boot, I have ever install recovery and bump boot by this method and I use here le boot.img includes in it.
 

kreml0n

Member
Oct 13, 2012
38
2
Success

Successfully completed process. TWRP installed and Download mode works. LG Stock OS (V20h-EUR-XX) was rooted before using "No Downgrade" method.
Details of my phone -
LGD855
32GB (European Model),
Software Version: V20h-EUR-XX
Thank you OP! You have just opened a new world for me.
 
  • Like
Reactions: jac10000

Top Liked Posts

  • There are no posts matching your filters.
  • 96
    One Click ROOT+TWRP Recovery for Lollipop Stock Firmware
    -----------------------------------------------------------------------
    I recommend you to use AutoRec For Lollipop 20H from @[B]bender_007[/B]
    @ingoljosh includes all version of autorec (D855, D852, D850, LS990 ...) in his post : Flash TWRP With AutoRec

    First use OneClic Script ( by @avicohh ) to root your G3
    Then install and use AutoRec to install the recovery custom

    -----------------------------------------------------------------------
    Only for D855​
    Only Lollipop (not KitKat)
    (16GB/2GB and 32GB/3GB variants)​
    Use only this tuto in case of failure with the previous quoted method
    Credit
    - @6ril1 for all his advice and convinced me to publish this method here
    - @somboons and his post for the LG G2 : [TOOLS] One Click ROOT+TWRP Recovery for Lollipop Stock Firmware
    Somboons have modified One Root Script ROOT KitKat / Lollipop firmware that for One Click ROOT+TWRP D802 firmware 30a/30d and I have updated his work for the LG G3 D855
    - @avicohh for his One click script
    - @thecubed for Bumps!
    - @Unjustified Dev for send_command and his New Root Method for LG Devices
    - @Chainfire for SuperSU
    - G3 tuto on Frandroid
    ---------------------------------------------​
    Download Link for Lollipop 20H:
    Mega LGG3-D855-OneClickRootRecoveryV1.1.zip
    Box LGG3-D855-OneClickRootRecoveryV1.1.zip
    Dropbox LGG3-D855-OneClickRootRecoveryV1.1.zip
    md5 : 33c50a727eecc9402ae1551e818b9615
    ---------------------------------------------
    NEW

    Download Link for Lollipop 20P:
    Mega LGG3-D855-OneClickRootRecovery-V20P.zip
    Dropbox LGG3-D855-OneClickRootRecovery-V20P.zip
    md5 : a5f1776215dc6e9792e57efae400dcae

    Download Link for Lollipop 20G:
    Mega LGG3-D855-OneClickRootRecovery-V20G.zip
    Dropbox LGG3-D855-OneClickRootRecovery-V20G.zip
    md5 : 624a30b28037a6ed7023ea1f245c2aa8

    @6ril1 thank to him for the bump of the 20P and 20G boot :good:

    20P and 20G --> If you are not root having applied this tool, copy UPDATE-SuperSU-v2.46.zip on your SDCARD , restart on recovery mode and flash UPDATE-SuperSU-v2.46.zip

    For those who used the LGG3-D855-OneClickRootRecoveryV1.1.zip version (for 20H) on the firmware:
    - 20P download this file :
    Kernel fixed by @6ril1 (v20p) --> http://forum.xda-developers.com/showpost.php?p=60770468&postcount=1019

    - 20G download this file : Kernel fixed by @6ril1 (v20G) --> http://forum.xda-developers.com/showpost.php?p=60940277&postcount=220

    And use Flashify or your custom recovery to install this boot
    For more informations see here : http://forum.xda-developers.com/showpost.php?p=60913483&postcount=23
    Thank's @black_horse_88
    ---------------------------------------------​

    changelog:
    http://forum.xda-developers.com/showpost.php?p=59926518&postcount=91

    older version:


    (recovery includes in LGG3-D855-OneClickRootRecovery.zip file: TWRP 2.8.6.1 w. Splash Screens/Modem/F2FS)

    Backup Data on SDCARD Before doing everything

    How to install


    1 - Install LG drivers if they are not installed yet.

    2 - Make sure you are enable USB Debuging Mode . (Go to Settings > General > About phone > Software information, tap Build number seven times and then go to Settings > Developer options and turn on Usb debugging)
    384873dbogageusb.jpg


    3 - Connect your phone to pc on PTP mode

    4 - Extract LGG3-D855-OneClickRootRecovery.zip and double click on the OneClick_ROOT_RECOVERY.bat file, to run the script.
    602478LGG3D855OneClickRootRecovery1.jpg


    5 - Follow the instructions.
    352599waitingfordevicebloqu.jpg


    If the phone not recognize, try to switch between MTP and PTP options.

    Watch the screen of your smarphone you could see this popup asking you to access to the G3
    Of course, accept
    138239popupptp.jpg


    Your G3 reboot several times.

    If you see this message , reboot the G3 manually into Download mode
    285156serialportnofoundinsertmanuelly.jpg



    6 - Enjoy ROOT+TWRP on Lollipop Firmware
    250058droulementdurootetrecovery.jpg


    7 - Verify if you are root, you have custom recovery and working Download Mode

    Problems and solutions
    1 - @somboons describes the manual procedure on his original publication for the LgG2. If you have errors during the script you can try the manual procedure.

    Normally If doesn't work for people please checking port that connecting between device and computer or checking LG driver and Re-run script again or use Manual method :)



    What does the automate script do ?

    (For people can't use automate script we have to use manually ROOT+TWRP)

    Make sure you are enable USB Debuging Mode . See this Method > Enable Debugging Mode


    1. Pushing all stuff files

    Run file

    It will be show command DOS windows
    C:\Users\M\Desktop\LGG3-D80230a-OneClickRootRecoveryV1.1>

    Using command as below to push files to device
    adb.exe push busybox /data/local/tmp/ && adb.exe push lg_root.sh /data/local/tmp/ && adb.exe push UPDATE-SuperSU-v2.46.zip /data/local/tmp/
    adb.exe push aboot.img /data/local/tmp/aboot.img
    adb.exe push laf.img /data/local/tmp/laf.img
    adb.exe push boot.img /data/local/tmp/boot.img
    adb.exe push recovery.img /data/local/tmp/recovery.img



    2. Reboot to Download mode

    3. When enter to Download mode successfully.We need to send command to connect device with computer
    Send_Command.exe \\.\COM_PATH

    COM_PATH . we can find with ports.bat command

    Ex.
    C:\Users\M\Desktop\LGG3-D855-OneClickRootRecoveryV1.1>ports.bat
    C:\Users\M\Desktop\LGG3-D855-OneClickRootRecoveryV1.1>reg query HKLM\hardware\devicemap\SERIALCOMM
    HKEY_LOCAL_MACHINE\hardware\devicemap\SERIALCOMM
    \Device\LGANDNETMDM0 REG_SZ COM3
    \Device\LGANDNETDIAG1 REG_SZ COM4


    A command that send to device when connecting to computer with Download Mode is
    C:\Users\M\Desktop\LGG3-D855-OneClickRootRecoveryV1.1>Send_Command.exe \\.\COM4


    4. When we see this prompt
    C:\Users\M\Desktop\LGG3-D855-OneClickRootRecoveryV1.1>Send_Command.exe \\.\COM4
    Author : blog.lvu.kr
    SPECIAL COMMAND : ENTER, LEAVE

    #


    Try to use this command to ROOT+TWRP
    # sh /data/local/tmp/lg_root.sh dummy 1 /data/local/tmp/UPDATE-SuperSU-v2.46.zip /data/local/tmp/busybox



    5. When we see this message
    ui_print - Disabling OTA survival
    ui_print - Removing old files
    ui_print - Placing files
    ui_print - Post-installation script
    ui_print - Unmounting /system and /data
    ui_print - Done !

    Please press Ctrl+C, and then type N and ENTER to reboot.

    #


    Try to use LEAVE command to restart device.


    6. Enjoy ROOT+TWRP

    2- If you always have errors or blockings try this other manual method

    1 - Apply this tuto : [GUIDE] New Root Method for LG Devices

    2 - Then this one : http://forum.xda-developers.com/showpost.php?p=59931455&postcount=104

    3 - If your G3 don't boot on system but you can go on Recovery and Download Mode
    Your boot is not correctly flash and we have to make it by line of commands
    Tuto here : http://forum.xda-developers.com/showpost.php?p=59962266&postcount=127
    6
    This is what I am waiting for. do you think there will be one available for the Sprint variant (LS990)?

    all this side loading and adb pushing scares me and i dont have time to be fixing any bootloops and frozen devices.

    Simple APK will be the way to go for me,

    do you have an ETA on when this will come out and also where will i be able to find it?

    Later today or tomorrow :)
    4
    Hi, I'm currently rooted on stock lollipop but do not have recovery. Can I run this to give me custom recovery? Cheers

    Yes you can :)
    it's the twrp 2.8.6.1 version
    4
    @endva3

    Ok we install manually the recovery, boot_bump and downgrade to kitkat laf and aboot

    1 -You go in LGG3-D855-OneClickRootRecovery folder and you open a terminal
    2 - you plug your g3 on pc. PTP mode (or mtp if ptp don't work)
    3 - In terminal type:

    adb devices

    you must have this
    796491adbdevices.jpg

    if not , switche between PTP and MTP and type one more time "adb devices"

    4 - we copy by command lines the files on sdcard , in the terminal type:

    adb push aboot.img /sdcard/

    adb push boot.img /sdcard/

    adb push recovery.img /sdcard/

    adb push laf.img /sdcard/

    you must have this:
    792316adbpush.jpg

    5 - We flash the files (recovery, laf, boot and aboot)

    in the therminal you type:

    adb shell

    su

    Watch the screen of the G3 and accept the access of adb shell
    you must have this
    857904adbshellsu.jpg


    Now we apply the flashs. In the terminal type:

    dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/recovery

    dd if=/sdcard/recovery.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery

    dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/aboot

    dd if=/sdcard/aboot.img of=/dev/block/platform/msm_sdcc.1/by-name/aboot

    dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/laf

    dd if=/sdcard/laf.img of=/dev/block/platform/msm_sdcc.1/by-name/laf

    dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/boot

    dd if=/sdcard/boot.img of=/dev/block/platform/msm_sdcc.1/by-name/boot

    You must have this:
    266233flash.jpg


    You have now a custom recovery, bump_boot, downgrade laf and aboot partitions.

    If you have not message with the error "denied" during the flash , all is ok and you can reboot your G3.
    Verify if you have Download mode and recovery

    If you have a message with error "denied", don't reboot and report here where is the error ( flash of recovery or aboot or laf or boot)
    3
    It will be in another thread, no need to spoil other threads with it. Also I need to implement more versions and more security checks.