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

[TOOLS] One Click ROOT+TWRP Recovery for Lollipop Stock Firmware

Search This thread

somboons

Senior Member
Apr 25, 2011
3,183
4,477
Bangkok
For D802 Only

I have modified One Root Script ROOT KitKat / Lollipop firmware that for One Click ROOT+TWRP D802 Support firmware 30a/30d.

It can be use in other firmware version of D802


Download Link:

LGG2-D802-OneClickRootRecoveryV1.1.zip
http://bit.ly/1Ij1soU


If you like my work, want to support development and have few coins spare .You can Press button DONATE TO ME



How to install

Backup Data on SDCARD Before doing everything
AFTER SCRIPT FINISHED IT WILL BE REBOOT TO RECOVERY AUTOMATICLY

1. Make sure you are enable USB Debuging Mode . See this Method > Enable Debugging Mode
2. Plug G2 into computer
3. Run OneClick_ROOT_RECOVERY.bat
4. Enjoy ROOT+TWRP on Lollipop Firmware



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\cc\LG Root Script\LGG2-D80230a-OneClickRootRecovery>

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\cc\LG Root Script\LGG2-D80230a-OneClickRootRecovery>ports.bat
C:\Users\M\Desktop\cc\LG Root Script\LGG2-D80230a-OneClickRootRecovery>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\cc\LG Root Script\LGG2-D80230a-OneClickRootRecovery>Send_Command.exe \\.\COM4

4. When we see this prompt

C:\Users\M\Desktop\cc\LG Root Script\LGG2-D80230a-OneClickRootRecovery>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

ขอบคุณครับ

For. any question that want to ask me in private Please Leave a question in facebook group
https://www.facebook.com/groups/1420724551528661/
......... DON'T INBOX TO ME .........



attachment.php


attachment.php




Original Script
[Guide] Root LG firmwares (KitKat / Lollipop) - One click script by @avicohh
 

Attachments

  • 1.jpg
    1.jpg
    77.2 KB · Views: 360,088
  • 2.jpg
    2.jpg
    96.9 KB · Views: 359,989
Last edited:

6ril1

Senior Member
Jan 23, 2010
510
864
Bordeaux

Kuoi

Senior Member
Aug 3, 2011
345
367
I'm stuck at :

special command : ENTER , LEAVE
#

I did the root script once ,but wanted recovery ... maybe the other root script from avicohh is interfering ?

How to uninstall the supersu completely ,because it worked with the avicohh script, but i wanted recovery too so trying to install your script now ?
 

somboons

Senior Member
Apr 25, 2011
3,183
4,477
Bangkok
I'm stuck at :

special command : ENTER , LEAVE
#

I did the root script once ,but wanted recovery ... maybe the other root script from avicohh is interfering ?

How to uninstall the supersu completely ,because it worked with the avicohh script, but i wanted recovery too so trying to install your script now ?
Can you copy of log that show on command dos to me?
This script working very well for me.
 

Kuoi

Senior Member
Aug 3, 2011
345
367
Can you copy of log that show on command dos to me?
This script working very well for me.

Trying the avihocc script now ,but as expected ... same , stuck on #

I think the first install of supersu with avihocc script interfered with yours , so now i think i have to do the installation of the rom again to test if it was
 

Top Liked Posts

  • There are no posts matching your filters.
  • 105
    For D802 Only

    I have modified One Root Script ROOT KitKat / Lollipop firmware that for One Click ROOT+TWRP D802 Support firmware 30a/30d.

    It can be use in other firmware version of D802


    Download Link:

    LGG2-D802-OneClickRootRecoveryV1.1.zip
    http://bit.ly/1Ij1soU


    If you like my work, want to support development and have few coins spare .You can Press button DONATE TO ME



    How to install

    Backup Data on SDCARD Before doing everything
    AFTER SCRIPT FINISHED IT WILL BE REBOOT TO RECOVERY AUTOMATICLY

    1. Make sure you are enable USB Debuging Mode . See this Method > Enable Debugging Mode
    2. Plug G2 into computer
    3. Run OneClick_ROOT_RECOVERY.bat
    4. Enjoy ROOT+TWRP on Lollipop Firmware



    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\cc\LG Root Script\LGG2-D80230a-OneClickRootRecovery>

    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\cc\LG Root Script\LGG2-D80230a-OneClickRootRecovery>ports.bat
    C:\Users\M\Desktop\cc\LG Root Script\LGG2-D80230a-OneClickRootRecovery>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\cc\LG Root Script\LGG2-D80230a-OneClickRootRecovery>Send_Command.exe \\.\COM4

    4. When we see this prompt

    C:\Users\M\Desktop\cc\LG Root Script\LGG2-D80230a-OneClickRootRecovery>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

    ขอบคุณครับ

    For. any question that want to ask me in private Please Leave a question in facebook group
    https://www.facebook.com/groups/1420724551528661/
    ......... DON'T INBOX TO ME .........



    attachment.php


    attachment.php




    Original Script
    [Guide] Root LG firmwares (KitKat / Lollipop) - One click script by @avicohh
    8
    both this and original links are dead :silly:
    THIS one should work :confused:
    7
    Tested on 32g Spain Vodafone 30d Rom and works like a charm, thanks :)

    I will be update my script for One Click ROO+TWRP. :D
    7
    Worked nicely for me. Here's the file as the original link seems down:

    http://www3.zippyshare.com/v/ZaFY3bDl/file.html
    4
    Update new version