yashsingh1/xdaforums huggingface dataset:
[G3 General] jac10000:
[MENTION=4489126]afilbit[/MENTION] Excuse me but I don't understand. You have recovery ? And not Download mode ? Your G3 in not root ?

edit: ah yes I think I understand. When you boot to go on recovery mode you have this

you must clic yes the 2 times.

You can use this application if you want to reboot into recovery mode : https://play.google.com/store/apps/details?id=com.scartech.holoreboot&hl=fr_FR
[G3 General] afilbit:
I did the script all did ok I guess. it only booted once to download mode and I think it installed the root only. I was rooted before and all.

When i tried to go to recovery (with the double tap on vol - button and the power button) the menu of erasing my data showed up, I said yes and it just erased my data when it should boot to recovery....

Should I try the script again?
[G3 General] jac10000:
Yes that frightens to answer YES when we see RESET .

Test this application : https://play.google.com/store/apps/details?id=com.scartech.holoreboot&hl=fr_FR
[G3 General] afilbit:
Yes it's that. But I think it only installed root.... because that menu just erased my data

I'm not scared with the button, I just clicked it and it erased all my data

I remember that the script failed in the first reboot and then it rebooted to download mode
[G3 General] jac10000:
Yes that frightens to answer YES when we see RESET . But if you clic YES you go on recovery mode when we have install custom recovery.

But you can also use this application : https://play.google.com/store/apps/details?id=com.scartech.holoreboot&hl=fr_FR, it's less frightens lol

You have reboot manually in download mode ? If after the script continue, no problems. Normaly all is installed
[G3 General] afilbit:
I know. What I'm saying is that it seems that I don't have twrp on my phone after I runned the script because that menu erased my data. It was supposed to reboot into twrp but it erased my data it's only that..... So i suppose that I don't have a custom recovery....

Is it safe to run the script again?

---------- Post added at 05:07 PM ---------- Previous post was at 05:04 PM ----------

When I did the script, it failed to reboot but it ignored and then it rebooted to download mode and flashed something. Then I rebooted to see if I had twrp and then that menu showed up and when I clicked yes it didn't boot to recovery it only erased my data

So, i runned the script, went to that menu, clicked yes two times, and it didn't boot to twrp, it only erased my data
[G3 General] jac10000:
Yes the menu say that it erase your data but in fact he goes on recovery mode.

I suggest you testing Halo Reboot to go one recovery mode.

But you can also do another the script if you want to feel reassured. But you have after the same menu (reset data) to go on recovery mode via buttons (power + vol-) It's always the reset mode menu and we have to answer yes 2 times as if we do a rest but we go on recovery mode in place. It's same thing for the g2.

Edit : run one more time the script
[G3 General] afilbit:
I'm getting this error
[G3 General] 6ril1:
Seem that adb does not find the device.

Drivers ok ?

Usb debuging mode ok ?

Rsa message accepted ?
[G3 General] afilbit:
I'm installing lg united mobile drivers again now to see if it works, usb debugging is on, I accepted the message it showed on the screen.

I'll try again as soon as the lg drivers install with ptp mode
[G3 General] jac10000:
try to switche on mtp mode
[G3 General] afilbit:
the error occured me with mtp mode
[G3 General] jac10000:
have you watch if you have popup one the screen of your G3 when you switche or when the script begin ?
[G3 General] afilbit:
yes and i accepted it
[G3 General] jac10000:
and then you have errors during the srcipt

You can testing this : Open a terminal command in the folder who contain the script and you type:

adb devices

You must have sort of numbers series whith devices like this

454sf6ssf4ff4 devices

If it's : qgstehzosk offline for example it's that your g3 is not recogine to apply commands and you must switche between ptp and mtp mode.

And you do one more time :

adb devices

when you see devices after the numbers series

Do not close the terminal command and apply the script
[G3 General] afilbit:
tried again and didn't work
[G3 General] 6ril1:
[MENTION=1454606]alfibit[/MENTION]

Same error msg ?

You have just one device connected to the computer ?
[G3 General] afilbit:
Yes, Yes I do....
[G3 General] jac10000:
You can testing this : Open a terminal command in the folder who contain the script and you type:

adb devices

You must have sort of numbers series whith devices like this

454sf6ssf4ff4 devices

If it's : qgstehzosk offline for example it's that your g3 is not recogine to apply commands and you must switche between ptp and mtp mode.

And you do one more time :

adb devices

when you see devices after the numbers series

Do not close the terminal command and apply the script
[G3 General] geokilla:
Got a Canadian LG D852 32GB on Lollipop. Can I use this to install TWRP only? Or is there another way to install TWRP? I already used a one click root method last week.
[G3 General] jac10000:
I don't know if the D852 use the same aboot, laf, boot and twrp than the D855. So you can adapte the script by extracting in D852 KitKat KDZ the aboot and laf and replace them in the package. You also do adapte the custom recovery in package with D852 version. And also extract a Lollipop boot.img for D852 that you bump! and copy in the package.

After I don't know if the D852 must have to be downgrade to kitkat the aboot and the laf like the D855. You must watch what do the other solutions do to install a recovery and if you must apply all like the D855.
[G3 General] afilbit:
I MADE IT WORK!!!!

Went to my old pc. It lasted one hour because that pc is very very slow but at least it worked at first try (MTP mode). Thank you very much! On my way to CM12 ;)
[G3 General] endva3:
No root and no twrp :(

v20h-231-02
[G3 General] afilbit:
It seems that the root script failed.... Did you tried again?
[G3 General] endva3:
yes 3 times and same result :/
[G3 General] jac10000:
The G3 reboot into Download mode ?
[G3 General] endva3:
No, just reboot 1 time. no reboot in to download mode.
[G3 General] jac10000:
not this message ? : Serial port not found, please insert the phone manually into Download mode.
[G3 General] Smittels:
hi everyone,

I rooted my phone like the description said and everything worked just fine. Then i wanted to wipe my phone (to have a clean root installation).

Unfortunately, i think i wiped the wrong data in the custom recovery. Now my phone is stuck booting, showing nothing but the LG logo.

I only can access the custom recovery.

What can I do?
[G3 General] endva3:
no.just messages on the screen shot what i post.
[G3 General] jac10000:
I think you wipe system.

2 solutions :

1 - Get back your data on recovery mode and after reboot on Dowload mode and flash a firmware kdz. Then retry the root and recovery install without wipe one more time the system lol

2 - copy a custom rom in the sd card et flash it by recovery.
[G3 General] Smittels:
Thanks for the quick answer, but i think i need a more detailed instruction :(
[G3 General] jac10000:
Do you use the original usb cable.

have test on ptp and mtp mode ?

Test the script from another usb port or pc .
[G3 General] jac10000:
method 1 : reboot on recovery mod and plug the G3 to the pc then get back all your data

Then you apply this tuto http://xdaforums.com/showthread.php?t=2785089

method 2 : download a rom ( like cloudyg3 2.2 for example)

reboot on recovery mod and plug the G3 to the pc then you copy the rom in internal storage of the G3.

Then you flash it with the install button of the recovery
[G3 General] Smittels:
ok, i downloaded chupachups 3.0 and put all data on the sd card.

but wich file do i chose for installing?

There is boot.img, cust.img, modem.img, system.img

Thank you so much for your help so far. I shouldn't have tried to root my phone in the first place :D
[G3 General] cvexkeks:
Do not unzip rom file to sd card, just copy and flash in recovery (wipe first).
[G3 General] Smittels:
but how do i copy the zip file to my phone?
[G3 General] endva3:
Yes original usb cable, test mtp and ptp mode.

tried on 3 different usb port and on another pc..same result :(
[G3 General] jac10000:
test this script to root your G3 : http://xdaforums.com/lg-g3/general/guide-root-lg-firmwares-kitkat-lollipop-t3056951 it's te same script but without install custom recovery .

And test to desactivate your antivirus before install
[G3 General] cvexkeks:
Boot to recovery, connect to pc via usb, mount usb storage, copy zip to sd or internal memory, flash zip, enjoy?
[G3 General] Smittels:
Ok, it worked after the 3 time.

Tnak you so much guys! you just saved me! 400 euros saved!

I owe you big one!

Thanks again!!!
[G3 General] jac10000:
edit : good work :)

http://xdaforums.com/showpost.php?p=53452990&postcount=1
[G3 General] endva3:
Ok, antivirus deactive. I trie the script only for root. phone reebot and i have message on pc to manual enter download mode. When i manual enter download mode nothing hapend. still have message waiting for device. LG drivers reinstalled but same result..

g3 is in download mode but nothing happend
[G3 General] amorimcorreia60:
BOA
[G3 General] amag3000:
Just registered to say thanks for this - worked perfectly on my 2GB/16GB D855. :)

I already had it rooted on Lollipop, but wasn't brave enough to find, bump and flash the other files I needed to get TWRP installed (I only just bought the G3), so this did that for me great. :good:
[G3 General] Golzer:
If my phone is rooted I need to unroot it?
[G3 General] amag3000:
No - I ran this on a rooted Lollipop, I didn't need to unroot. It went through the rooting process, but it didn't cause any harm.
[G3 General] Golzer:
Thanks man! I did all working
[G3 General] 6ril1:
Compath is not found ('VERSION 3.0 ' is displayed instead of your port number). Reg cmd for finding the port doesn't work on your computer. Can you try on another computer ?

[MENTION=2745162]welly_59[/MENTION] solved this problem, i just asked him if he could give us more details :

http://xdaforums.com/showthread.php?p=59915455
[G3 General] nektgen:
Thanks work great
[G3 General] lkl01:
If i need to back to stock recovery

Is it just flash stock kdz will do??
[G3 General] somboons:
I think ,He is setting command path in system variable.

Set this in .bat
[G3 General] endva3:
I tried to 2 computers but same result.

Pls how do I set this in .bat?
[G3 General] jojobans:
Hi guys

This script working for kitkat??
[G3 General] welly_59:
Endva to see if it is your system variable, can you please type 'reg' into a command prompt and take a note of what it says.
[G3 General] somboons:
I modified my script for adding system ENV/checking port after reboot /loging for stamp check point In LG G2 thread
[G3 General] 6ril1:
My thanks quota is filled for today, so I will reserve for tomorrow and in the meantime I'll write it here: Thank's ;)
[G3 General] endva3:
This?
[G3 General] welly_59:
The problem is not your environmental variables then as that command worked. It must be something else. Are you using latest lg drivers?
[G3 General] endva3:
Yes. I use latest lg drivers. I reinstall drivers 2 times but same result. When i connect PTP, phone restart 1time but no in download mode. When connect MTP, phone restart 1time and then restart and reboot in download mode. In another PC same result. When connect to other usb in 2nd computer i have message problem with Port 11.

USB debugging enable,original usb cable,lg drivers install.

I do not know what to do :(
[G3 General] jac10000:
Yes flash a stock kdz

Only Lollipop

Thank's [MENTION=4008653]somboons[/MENTION] :)

I'm going to adapt the script here with your modifications
[G3 General] jac10000:
Ok [MENTION=2222271]endva3[/MENTION] test one more time the root only but manually with this method. You must type all commands in terminal. It is apparently a problem of port. Can be that manually you already succeed in root.

Apply this: [GUIDE] New Root Method for LG Devices
[G3 General] endva3:
[MENTION=4479135]jac10000[/MENTION] ok i trie manualy root the device. Its possible flash twrp when i root device manualy?
[G3 General] jac10000:
Yes we can flash manually recovery but don't use flashify or other apk. There is a lot of command line but not difficult. Test first the root and after if you make a success, we shall look for recovery
[G3 General] endva3:
Ok manual metod works. Im ROOTED :) thx

Now how to put TWRP in device?:)
[G3 General] jac10000:
:good: goooood !!!

and I give you that at soon for the recovery
[G3 General] hamid.aa17:
very good testing
[G3 General] kp_q:
Sensational

so far so good. great to get something so easy. thanks for the work :)

used http://xdaforums.com/lg-g3/development/stock-t2961073 to upgrade my sofware. working great
[G3 General] jac10000:
[MENTION=2222271]endva3[/MENTION]

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

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:

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

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:

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)
[G3 General] endva3:
[MENTION=4479135]jac10000[/MENTION] THX bro. Step by step and i have a TWRP. Great manual :) THX

Now im want flash cloudy G3 ROM. Boot in twrp and flash this ROM from SD card or OTG?
[G3 General] jac10000:
So first you backup your stock rom with recovery.

Then you flash from SDcard (internal storage) I prefer from sdcard ...
[G3 General] somboons:
If you interest my instruction manual root+twrp you can apply for g3.
[G3 General] jac10000:
Ah yes thank you, good idea, it is quite recent the addition of the instruction manual root+twrp in your post ? I don't see that this morning ...
[G3 General] somboons:
Yes, it is a recently add.
[G3 General] u1988:
[MENTION=4479135]jac10000[/MENTION] [MENTION=4008653]somboons[/MENTION] (and all the members in the OP)

Thank you all for great job!

Few Q just to make sure we all get it right:

1.Can I use the OP script on 4.4.2 for root and TWRP recovery

(Because It try to replce to 4.4.2 boot files that allready there it dosn't matter,right)?

The script are much easier that to it manually root and Bump it Separately...

2.What if I can't get in to Download mode or coustm recovey after I did the script?

I can't found the "NO Recovery mode...fix for G3 (No script there too?:D )"

3.If I have root I still can use the script to do TWRP+BUMP (instead use the old long way)?

4.Can you please add to the script EFS backup to the PC after root before doing the TWRP ?

http://xdaforums.com/lg-g3/development/efs-lg-g3-efs-backup-restore-t2907329

5.It make different where I put the scpirt (C:\Root or other place to prevent errors)?

6.in the "install manually" above you said:

What can be worng if I reboot the device? there is a fix if somthing not working (flashing KDZ or TOT)?

Can I close the termial or send the comments and try it again?
[G3 General] dornz:
Happy days
[G3 General] Oaklands:
I tried numerous times on my Verizon LG G2 and it would get to the last step running the "sh" command. Nothing would scroll across my screen. I was ready to give up and post here for help and all of a sudden Superuser kicked in and started asking and giving permissions. It ended up working but I never saw all the files being moved across on my command prompt screen.

Thanks to both developers for a great way to root. Now I can try to tame my battery life on Lollipop and use TB again.
[G3 General] cowboysgz:
Thanks so much! Tried it on my LG G3 D855! AWESOME! I have TWRP now! Just one question, do I have to try Bump'd roms or I can use any rom as long as it's for my D855? Thanks!
[G3 General] u1988:
Only Bump'd roms will work , nothing chance there.

of course all the custom roms here in XDA for d855... will be bumped allready..
[G3 General] juampi83:
Thanks a lot !! This worked like a charm on my D855.

Perhaps you could explain me this: I flashed a custom rom via TWRP (stock based, 20h), did a full wipe and factory reset, but then software version reads "20a" wich was my original stock rom. Shouldn't it say "20h" ? Should I reflash a 20h stock KDZ, apply this GUIDE and then flash the custom rom??

Sorry for this, I just can't understand this basic custom/stock rom difference.

Thanks for your help !
[G3 General] quangtien_bk:
Wait long time for this one

Thank you so much, I will try right now.
[G3 General] jac10000:
1 - No only with Lollipop. With this script we downgrade the bootloader and the download mode to kitkat version. The boot version is lollipop.

2 - no download mode + no recovery + no phone boot = you are brick.

just no download mode but recovery ok =you can restore download mode

no recovery but download mode ok = you can apply a kdz firmware, or if your g3 boot normaly you can restore a recovery or other

there are a lot of possible situations ...

3 - yes you can

4 - Can be to see

5 - where you want:, c:\ , desktop, ....

6 - Logically everything well has to take place if it is literally applied but I put a warning in case ...
[G3 General] jac10000:
If you already have a custom rom, you are already root and have custom recovery.

Can be that you had root and install recovery on KitKat version. If it is the case I would recommend to you of to apply a kdz firmware 20H. And then apply this script. And then flash custom rom lollipop.
[G3 General] jac10000:
You frighten me there, you have G2 or G3 ?
[G3 General] code72:
Hi, i have a G3 32gb D855 and followed 1st post guide, now my phone can go in twrp recovery and in download mode but it don't boot, it's stuck on LG logo. Previously i was on 20h rooted with stock recovery. I already wiped cache and dalvik cache with no luck

Any help, without wipe everything?
[G3 General] gefilus:
I did root with similar methode, can i install custom recovery over my rooted stock rom. ? I have used many methods, but this is my first lg so, need to start from scratch
[G3 General] apsneto:
Great Job!!

No need downgrade! Many thanks!
[G3 General] gefilus:
I rooted with this method, but then there wasnt twrp added, so what to do now, i can just flash it over? One more time?
[G3 General] cvexkeks:
Run script and you'll have TWRP, if the phone does not go into download mode do it manualy.
[G3 General] gefilus:
All works, all went well. Made backup saved on pc and now lets start flashing
[G3 General] russtyd:
[MENTION=4479135]jac10000[/MENTION], just wanted to say a big Thank You for your work - worked great on my UK D855 after I had a few failed attempts getting Security Errors because the aboot.img and laf.img weren't bumped through other methods (thankfully I just adb shell'd and did an 'if=.... 'back a non-bumped stock recovery and I was OK again!).... great script and instructions, thanks!
[G3 General] jac10000:
Hi Code72, ok all flash correctly except the boot. We flash it by command lines . So for that you boot your G3 on recovery and you plug it on the pc.

Go to folder " LGG3-D855-OneClickRootRecoveryV1.1" and open a terminal command .

Your are on recovery

type in the terminal

you see this

Then we copy the boot.img on the sdcard:

type in the terminal:

Now we flash the boot

Type in the terminal

then

Your boot is flash and you can reboot

Not need to wipe
[G3 General] Oaklands:
G2
[G3 General] jac10000:
But this script is adapted for the G3. For the root it's ok but the bootloader, dowmload mode, recovery and boot are for the G3, not G2. I don't think that G3 partitions are compatible 100% with G2.

It's the [MENTION=4008653]somboons[/MENTION] original script you had to use for root + TWRP : http://xdaforums.com/lg-g2/development-d802/tools-how-to-install-twrp-bump-d80230a-t3072186/post59883186#post59883186

And I don't know if the G2 Verizon is a D802 variant ...

Your G2 work fine ?

Can be that you adapted this G3 script with G2 Verizon partitions ?

If not I recommend to you of to flash the good partitions for your G2 Verizon but not with the G2 script because it's the G3 Download mode which is intalled in your G2 I find that it is risked to use it on G2. [MENTION=4008653]somboons[/MENTION] will better know how to guide to choose the good partitions for your G2 variant.

I recommend to you of to flash by command lines G2 verizon KitKat aboot, KitKat laf, G2 bump Lollipop boot and G2 recovery: like here : http://xdaforums.com/showpost.php?p=59931455&postcount=104

Because your are root you can flash by command lines these partitions. It's less risked in your situation ...
[G3 General] Rewtor:
Thanks - managed to root my new G3 on stock Lollipop but couldn't get recovery to flash! After a few hours I finally found your thread, worked like a charm.
[G3 General] freddyjgv:
Rooted D855 lollipop stock with red blue LED

I flahed via flashify the last twrp, now i cant get into recovery mode (black screen + blue red led flashing + s*** in my pants), does this mehod will fix the twrp issue or do i have to flash stock recovery.img

any help will be highly appreciated. thanks
[G3 General] yazilimcionline:
works well. thnx :D
[G3 General] jac10000:
If you can boot normaly your G3, yes you can apply this script.
[G3 General] cvexkeks:
https://www.androidfilehost.com/?fid=95916177934552509

Anyone willing to try, apk for rooted LG G3 on Lollipop, flashes TWRP and also makes a backup of original recovery so you can go back anytime. I didn't try because I already have TWRP installed.

I found this on http://forum.benchmark.rs/showthread.php?319952-LG-G3/page282.
[G3 General] linux_svk:
eeey mans i have fckin trouble...

yesterday i was trying installin twrp on my rooted d855 5.0 v20h aand i cant boot recovery... system boot fine

today i tried this one click root and twrp, but wheen i get to download mode, my phone was not responding...still waiting for device..... so i start it manually... and theres next trouble... when i was finding ports its show me just

C:\Users\Lukas\Desktop\LGG3-D855-OneClickRootRecoveryV1.1>HKEY_LOCAL_MACHINE\har

dware\devicemap\SERIALCOMM

when i click enter it shows system cant find path....

nothing more....so what i should do??

problem solved with http://xdaforums.com/showpost.php?p=59931455&postcount=104
[G3 General] jac10000:
Yes [MENTION=3279781]bender_007[/MENTION] is making this apk for G3 like for the G2.

Coming soon :)
[G3 General] bender_007:
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.
[G3 General] BoredKender:
Bender - anything I can do to assist with making this a thing for us 460 users?
[G3 General] freddyjgv:
Problem Solved

Thanks for this script, now i have TWRP on my lollipop tock rooted D855... it works!!!!