[UTILITY] LG-G2 Toolkit | Multi Root | Multi Flash Recovery | LINUX/MAC

Search This thread

Homero2

Senior Member
Jan 24, 2009
285
720
Valencia
www.todomovillg.es
NOTE
I've created this tool to see that most of the support for the G2 you have on Windows, and little or very little under Linux. So that I started to work and this is the first dislike, it is a beta, but I have tested it and apparently everything, except low Mac works, having no system iOS not have been able to test, so you have Mac and try it can give their opinion and report possible errors.



LG-G2 Toolkit is a Linux/Mac multi-tool

  1. FlashTWRP Recovery 2.6.3.2 and 2.6.3.3 flasher for the range of G2, incorporating a routine of autodetection that makes things and there is an incompatible recovery flashing error.
  2. Rooted for all models from LG Oprimus G to LG G Flex, based on IORoot21
  3. Backup FLEXs
  4. Flash Recovery stock (only G2)
  5. UnRoot for all LG G, G Pro, G2 and Flex models, (G2 and Flex the unroot is not removed the flag of root)
  6. Restore backup FLEXs


COMPATIBLE MODELS

  • AT&T G2 (D800) - D80010d
  • Verizon G2 (VS980) - VS98010B (Shipping ROM)
  • Verizon G2 (VS980) - VS98011A (OTA)
  • T-Mobile G2 (Shipping ROM)
  • KT F320k (Shipping ROM)
  • Rogers D803 (Shipping ROM)
  • Bell D803 (Shipping ROM)
  • Telus D803 (Shipping ROM)
  • OPEN D802 (Shipping ROM)


INSTRUCTIONS

- In Ubuntu, go to Software Center and installed ADB.
- Active the USB debug on the phone, if it is already active, deactivates and returns has activated.
- Online PC select Charge the phone.
- Connect phone to USB and accepts the pop-up window.
- ERun the file menu.sh and follow the on-screen instructions.


Changelog
v-1.0.6 - Error correction
v-1.0.6 - Add Restore EFS

v-1.0.4 - Error correction
v-1.0.4 - Discard non compatible device
v-1.0.4 - UnRoot
v-1.0.4 - Flash Recobvery CWM and Philz (only G2)
v-1.0.4 - Flash Recobvery Stock (only G2)
v-1.0.4 - The EFS are stored in the folder efs/

v-1.0.2 - Reorganize code IORoot
v-1.0.2 - The backup of EFS are stored in the efs/ folder
SCREENSHOTS

LG-G2_Toolkit_Menu_en.png
LG-G2_Toolkit_Instrucciones_en.png
LG-G2_Toolkit_IORoot.png
LG-G2_Toolkit_Recovery_en.png



CREDITS

- Automated root for LG Optimus G, G2, G Pro, G Flex
- Original idea by IOMonster (thecubed on XDA)
- Original linux script y Sprint root por Shelnutt2
- Original LG root backdoor idea by giantpune
- Current version of ioroot by autoprime
- To WACOMalt provide the recoverys, download them from your thread
- Implementing detection Linux Mac by Homero
- Rearrange folder root by Homero
- Flash recovery by Homero
- Menu control by Homero


DOWNLOAD

English version LGG2_Toolkit_en.tar 258.55 MB
Version española LGG2_Toolkit.tar 255.54 MB desde mi foro
 
Last edited:

Homero2

Senior Member
Jan 24, 2009
285
720
Valencia
www.todomovillg.es
Hello
I'm thinking that something would be good can Flash the stock recovery, by issue of updates via OTA.
I have an international D802, I don't have the recovery of other models, and I do not include them in the program.

Whoever has the original of these models I can post the download link here.

Thank
 

iall5tar

Senior Member
Apr 1, 2011
1,101
1,380
WinCity
Hi mate!

Thank you so much! That's a great tool for Mac!
It's a must! If you have another OS.
Btw would be great if you can also add the stock recovery just in case!

Cheers!

Sent from my G2 POWERED by Dorimanx
 

Homero2

Senior Member
Jan 24, 2009
285
720
Valencia
www.todomovillg.es
I apologize
I have detected an error in the scrip that could cause it not to run correctly.
I'm uploading the version revised and expanded, with the "restoration EFS" included
 

Homero2

Senior Member
Jan 24, 2009
285
720
Valencia
www.todomovillg.es
I'm sorry but can you please post the installing instructions for mac? Also, will it work with OSX10.5.8? Thanks.

Hi oscar!

A brief explanation:
MAC, uses kernel Darwin, that means that it is UNIX, so it will operate like that on Linux, that is compatible with UNIX.
Having that clear we can say that MAC and LINUX are supported in the use of bash script, but are not supported in the use of binary, but that's the script that knows to differentiate that binary used at each time depending on your system operatrivo is where running the script (Linux or Darwin)

Instructions for use, for Mac and Linux:
- Download the file.tar.gz, unpack in your personal folder, to not make mistakes you unpack in your desktop.
- With the file manager navigate to the folder where you unpacked.
- Now it stings twice on the file menu.sh

If you do it from console:
- Open the terminal
- Browse to the folder where you unpacked
- type:
Code:
./menu.sh

If I'm wrong correct me please
 

ObiWan_C

Senior Member
Feb 13, 2012
71
16
Hi,

Found an error in the English version tools/re.sh line 143, you are missing an "r" in the CabFlasher module.

Additionally there is an issue flashin a recovery, did not have a chance to troubleshoot this, but you might want to have a look at loki.sh:

/dev/block/platform/msm_sdcc.1/by-name/aboot: cannot open for read: Permission denied
[+] loki_patch v2.1
[-] Failed to open /data/local/tmp/loki/aboot.img for reading.


I was trying to flash the TWRP recovery on an OPEN (d802) 32GB device.
 
Last edited:
  • Like
Reactions: omarayyoub

wmburke

New member
This looks like a great tool for those of us on Linux. I am trying to root my LG G2 D801 from T*Mobile, but have already upgraded to kitkat. Will this enable me to downgrade to the Jelly Bean ROM that shipped with the phone so that I can root it?

If not, I would really appreciate being pointed to directions of how to do that. I have not had any luck in finding those.
 

pik.

Senior Member
Nov 27, 2009
93
2
Corfu
hello.

do I need to download any drivers on mac?:silly:
I do not think so but just saying.

Also is this ok for 4.4.2?

thanks!!!!!
 

ErikMunoz

Member
Jan 8, 2014
44
5
Reynosa
It is possible to do full flash (original rom)using your tool? with no root and stuff. i would like to do this on linux but i saw that Lg flash tool is only for windows.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 38
    NOTE
    I've created this tool to see that most of the support for the G2 you have on Windows, and little or very little under Linux. So that I started to work and this is the first dislike, it is a beta, but I have tested it and apparently everything, except low Mac works, having no system iOS not have been able to test, so you have Mac and try it can give their opinion and report possible errors.



    LG-G2 Toolkit is a Linux/Mac multi-tool

    1. FlashTWRP Recovery 2.6.3.2 and 2.6.3.3 flasher for the range of G2, incorporating a routine of autodetection that makes things and there is an incompatible recovery flashing error.
    2. Rooted for all models from LG Oprimus G to LG G Flex, based on IORoot21
    3. Backup FLEXs
    4. Flash Recovery stock (only G2)
    5. UnRoot for all LG G, G Pro, G2 and Flex models, (G2 and Flex the unroot is not removed the flag of root)
    6. Restore backup FLEXs


    COMPATIBLE MODELS

    • AT&T G2 (D800) - D80010d
    • Verizon G2 (VS980) - VS98010B (Shipping ROM)
    • Verizon G2 (VS980) - VS98011A (OTA)
    • T-Mobile G2 (Shipping ROM)
    • KT F320k (Shipping ROM)
    • Rogers D803 (Shipping ROM)
    • Bell D803 (Shipping ROM)
    • Telus D803 (Shipping ROM)
    • OPEN D802 (Shipping ROM)


    INSTRUCTIONS

    - In Ubuntu, go to Software Center and installed ADB.
    - Active the USB debug on the phone, if it is already active, deactivates and returns has activated.
    - Online PC select Charge the phone.
    - Connect phone to USB and accepts the pop-up window.
    - ERun the file menu.sh and follow the on-screen instructions.


    Changelog
    v-1.0.6 - Error correction
    v-1.0.6 - Add Restore EFS

    v-1.0.4 - Error correction
    v-1.0.4 - Discard non compatible device
    v-1.0.4 - UnRoot
    v-1.0.4 - Flash Recobvery CWM and Philz (only G2)
    v-1.0.4 - Flash Recobvery Stock (only G2)
    v-1.0.4 - The EFS are stored in the folder efs/

    v-1.0.2 - Reorganize code IORoot
    v-1.0.2 - The backup of EFS are stored in the efs/ folder
    SCREENSHOTS

    LG-G2_Toolkit_Menu_en.png
    LG-G2_Toolkit_Instrucciones_en.png
    LG-G2_Toolkit_IORoot.png
    LG-G2_Toolkit_Recovery_en.png



    CREDITS

    - Automated root for LG Optimus G, G2, G Pro, G Flex
    - Original idea by IOMonster (thecubed on XDA)
    - Original linux script y Sprint root por Shelnutt2
    - Original LG root backdoor idea by giantpune
    - Current version of ioroot by autoprime
    - To WACOMalt provide the recoverys, download them from your thread
    - Implementing detection Linux Mac by Homero
    - Rearrange folder root by Homero
    - Flash recovery by Homero
    - Menu control by Homero


    DOWNLOAD

    English version LGG2_Toolkit_en.tar 258.55 MB
    Version española LGG2_Toolkit.tar 255.54 MB desde mi foro
    2
    New version 1.0.4 revised and new functions.
    Root, UnRoot, Recovery: CWM, TWRP, Philz and Stock.
    New routines of detections of errors and models that are not compatible with this program.
    2
    I'm sorry but can you please post the installing instructions for mac? Also, will it work with OSX10.5.8? Thanks.

    Hi oscar!

    A brief explanation:
    MAC, uses kernel Darwin, that means that it is UNIX, so it will operate like that on Linux, that is compatible with UNIX.
    Having that clear we can say that MAC and LINUX are supported in the use of bash script, but are not supported in the use of binary, but that's the script that knows to differentiate that binary used at each time depending on your system operatrivo is where running the script (Linux or Darwin)

    Instructions for use, for Mac and Linux:
    - Download the file.tar.gz, unpack in your personal folder, to not make mistakes you unpack in your desktop.
    - With the file manager navigate to the folder where you unpacked.
    - Now it stings twice on the file menu.sh

    If you do it from console:
    - Open the terminal
    - Browse to the folder where you unpacked
    - type:
    Code:
    ./menu.sh

    If I'm wrong correct me please
    1
    is it work on windows ???

    Here's the thread for Windows.

    http://xdaforums.com/showthread.php?t=2633941

    Sent from my G2 POWERED by Dorimanx