yashsingh1/xdaforums huggingface dataset:
[G4 Original Android Development] galerio:
To install recovery directly with Android 6.0 without downgradign (you must have unlocked bootloader) follow what I have written here: http://xdaforums.com/showpost.php?p=64148898&postcount=287

At the end, reboot directly in recovery, don't reboot to system and NEVER let recovery install supersu!!! When you reboot, twrp asks you if you want to install super su. DON'T do it. So, reboot into the installed recovery and then install a rom that you want or an auto root kernel like this one: http://xdaforums.com/g4/orig-development/kernel-t3213145

I've done so, like you I was on Android 6.0 and I have not downgraded.
[G4 Original Android Development] xSTAZEN:
Hey, I used your guide and TWRP started, I tried then install TWRP on mobile, and then go into recovery mode on the phone, Power and Down button, but only Lgs original recovery shows up. But I also tryed

to install http://xdaforums.com/g4/orig-development/kernel-t3213145 (6.0 - KERNEL v1.6 Release) but the install said zip failed. Hope you can explain more in detail.. Maybe just something im missing in TWRP.

Thx for the help!
[G4 Original Android Development] galerio:
[MENTION=6653316]xSTAZEN[/MENTION] I'm not using vol-down+power to boot into recovery. I Just use an app that reboot the phone into recovery. I have followed the guide at this thread http://xdaforums.com/g4/help/lgup-install-kdz-mm-lp-t3249803 and at the end it says to use an app to reboot into recovery as the recovery itself is no installed (? don't know what it means exactly)
[G4 Original Android Development] xSTAZEN:
Hard to use any Reboot apps if I dont have root yet.. ): Im trying to get root and twrp installed. ): Just got my bootloader unlocked.
[G4 Original Android Development] bender_007:
Then use adb reboot recovery :)

Poslano sa mog LG-H815 koristeći Tapatalk
[G4 Original Android Development] gonsa:
Hey guys,

I'm on H815 stock 5.1.1 10d with bootloader locked.

I want to install TWRP and then 6.0 MM and root.

How should I proceed?

Go to the LG webiste and unlock bootloader.

Then can I use the playstore method from the first post to install TWRP?

After that can I just flash all the partitions like in this post http://xdaforums.com/g4/development/stock-h815-20b-images-flashables-kdz-t3257544

1. Download the boot, modem, bootloader and system zips listed under the download section and place them on internal or external sdcard.
2. Also download the latest SuperSu zip from HERE [Thanks to Chainfire for his auto-patching boot.img version!]
3. (re)Boot into TWRP... don't wipe anything.
4. Backup current partitions: boot, system, data, efs
5. Install boot, bootloader, modem, system and supersu zips- ADD SUPERSU LAST! (Install > select zip > press "add more zips" > select next zip > repeat)
6. After all 5 zips finish flashing you can reboot! (if TWRP asks if you want to install SU, NO!!!)

Downloads:
LG-H81520B-Flashable.System.zip
100% stock untouched system. MD5 = 22edce52ca96e20f7a16a67d00934b4d

LG-H81520B-Flashable.Modem.zip
This is a flashable stock 20B modem.

LG-H81520B-Flashable.Boot.zip
This is a flashable stock 20B boot.img. Boot.img contains kernel + dtb + ramdisk.

LG-H81520B-Flashable.Bootloader.zip
This is a flashable stock 20B bootloader. It contains aboot, factory, hyp, laf, pmic, raw_resources, rpm, sbl1, sdi, sec and tz. Do NOT wipe system before flashing this zip. Zip checks model before flashing.

Thanks
[G4 Original Android Development] @Mir hosiEn:
Any one test on h815p?

This model have oem unlock on developer option

And all h815 roms work on it this means these models have same tz ,kernel, bootloader,...

What about twrp?
[MENTION=912474]Dees_Troy[/MENTION]
[MENTION=2684188]autoprime[/MENTION]
[G4 Original Android Development] bender_007:
Try it. It wont kill the phone(recovery..)

Poslano sa mog LG-H815 koristeći Tapatalk
[G4 Original Android Development] patalao:
Tried that but i`m stuck on bootloader.

I`m with windows 10 x64

It boots into bootloader using fastboot but then it just hangs there and can`t do nothing.

I believe it`s a driver issue because it show`s me this driver missing(atached below) after entering bootloader(unlocked) .

I`m not able to figure it out

Edit:

Just figured it out.

Updated adb drivers and installed those missing drivers manually
[G4 Original Android Development] galerio:
Great! Hope this news can help others
[G4 Original Android Development] happy_5:
Any news on having TWRP for the Sprint version of LG G4? Would gladly donate for your efforts.
[G4 Original Android Development] P650SE:
Guys,

I have a slight problem with my G4 and i'm hoping someone might be able to help. Earlier i unlocked the bootloader on my H815 LG G4 which was bought from Vodafone in the UK. After unlocking the bootloader, i went to the TWRP website and search for the LG G4. It returned two results for the 'LG G4 T-Mobile USA (H811)' and 'LG G4 International (H815)'. I clicked on the H815 one and downloaded 'TWRP-2.8.7.0-H815.img'. Then i opened Command Prompt on my PC and typed 'adb reboot bootloader', followed by 'fastboot flash recovery TWRP-2.8.7.0-H815.img'. This returned a message saying that the recovery had been successfully flashed. I ran the 'fastboot reboot' command to boot back into the G4's stock Android 6.0 Marshmallow and then 'adb reboot recovery' to check whether the recovery was working.

It reboots but then goes onto a black screen with a dead Android in the middle, and a small triangular red warning symbol above it. What have i done wrong? :confused: I've redownloaded and reflashed the recovery once again but it's still not working. Any suggestions would be most appreciated.
[G4 Original Android Development] Noker7:
You're great! (Thanks from an italian friend and his phone ;) ) [MENTION=5393119]P650SE[/MENTION] try this
[G4 Original Android Development] P650SE:
Indeed, i've just done that and it worked fine. You're a genius Galerio, thank you so damn much! :)
[G4 Original Android Development] galerio:
Don't thank me guys! It comes from other minds!

I have only tested it directly to Marshmellow, and it really works!

Anyway, I tried to boot into recovery via Power button + Vol Down and I noticed that it enters for first in LG recovery (the one that asks you to reset your phone to factory), but after saying yes and confirming to factory reset the phone, it enters into TWRP recovery! Well, I don't know if it happens also with the "standard" method to install recovery. But, well, now I know I can get to recovery even if I can't do it with an app!
[G4 Original Android Development] Daywalkr1990:
I have an problem with the TWRP Recovery

With cm13 and V20B bootloader it can't find the external_sd so i cant make backups to it

is there any solution for this problem?
[G4 Original Android Development] patalao:
Did you try to select wich storage to use?

If so and it doesn't show up try to flash TWRP again
[G4 Original Android Development] Daywalkr1990:
i tried selecting the storages but it didn't show up

i try flashing twrp again
[G4 Original Android Development] patalao:
Turn off phone, remove your card and insert it again and try one more time.

If that doesn't work see if the card works on the computer or other device.

If it works on other devices then it could be a hardware problem on the phone, not able to read the card.

That is if it doesn't work on TWRP and when you boot into system.

If it works when you boot then try to revert back to stock and start from scratch the steps to root and flash TWRP, or format the card.
[G4 Original Android Development] barcodelinux:
I have the same issue but I have not seen a fix for it yet.
[G4 Original Android Development] Daywalkr1990:
Tried flashing again

TWRP didn't show my sdcard

Sdcard works without problems in cm 13

got the v20B bootloader and modem running and with cm13 the mountpoint of sdcard changed

is there a fix for this in twrp?
[G4 Original Android Development] migidid:
Tried everything, could not flash, but boot worked great !
[G4 Original Android Development] rfec:
So TWRP is working fine on G4?

I have 2.8.7.0 downloaded, it should be ok then.
[G4 Original Android Development] rfec:
It is flashed with the following output.:

d:\Teló\adb>fastboot flash recovery twrp-2.8.7.0-h815.img

target reported max download size of 536870912 bytes

sending 'recovery' (32064 KB)...

OKAY [ 1.018s]

writing 'recovery'...

OKAY [ 0.285s]

finished. total time: 1.306s

But when I try to start it with it with "adb reboot recovery" all I get is a dead droid in the middle of the screen.

So how can I fix this, any ideas?

Is there a key combination to enter TWRP that way?

---------- Post added at 07:59 PM ---------- Previous post was at 07:53 PM ----------

So this means we have to do this every time if we going to need TWRP? :confused:
[G4 Original Android Development] rfec:
The install method via TWRP was working, thank you. :)
[G4 Original Android Development] nitrous²:
Please, stop quoting OP.

Yes, this screen will also appear when using the "standard" method.

Check out the mount point of your external storage with your preferred file explorer. When you've found it navigate to the same location in TWRP.

It's a known bug. Don't expect a fix any time soon.
[G4 Original Android Development] migidid:
I managed to fix this, first i had problems with fastboot drivers, i had fastboot drivers for like 6 devices and only google drivers worked... then i couldnt flash since phone never asked me to allow my pc, needed to first reset my device before it asked it.... then i could flash no problems...
[G4 Original Android Development] Daywalkr1990:
just visiting the mountpoint doesn't help here..

it helps for installing zips but not for making backups or flashing them back
[G4 Original Android Development] AndHD2:
[help] twrp crashed and refusing to load

All was fine until I installed a cm13 rom (AICP). It ran well for a few days then I had a green demigod screen (see below). I rebooted and it came back up straight away. I figured I'd flash another rom to hopefully cure the problem. I wiped my device and TWRP crashed. I took the battery out and tried to go into TWRP to perform another wipe to make sure and install a new rom. I couldn't boot into TWRP at all. Now when I boot the G4 it goes straight into the LG flash screen displaying bootloader unlocked in the top left hand corner. I've sent it to LG but they're returning it to me tomorrow as it were rooted.

I need to flash TWRP using my laptop. Can anyone guide me through this. I've already downloaded the recovery..img but all attempts to flash using fastboot fails and device is not listed as a fastboot device in cmd.

Any help greatly appreciated.
[G4 Original Android Development] Newmak:
I tried to unlock the phone H815p in LG Developers page, but it doesn't support it.
[G4 Original Android Development] goran_oh:
Only H815 Eu models support unlock boatloder.
[G4 Original Android Development] Cozmos23:
I´ve already answered this here
[G4 Original Android Development] AndHD2:
As TWRP crashed while I were wiping the device to install a new rom, I have no USB debugging available to enable. Therefore my device is not detectable by ADB or fastest. My Samsung galaxy note 4 is detectable but not my G4, even after I install the official G4 drivers.

Flashing KDZ also fails saying it can't find my Internet connection (home broadband).
[G4 Original Android Development] Cozmos23:
Then you may do something wrong.

Sometimes twrp just freezes and waiting 30 seconds does the trick.

Sometimes its crashing ye.

I'm lucky it always happened when doing unimportant stuff.

If you get it sorted out keep in mind that you always need to have usb debugging enabled on this phone. I learned it the hard way too.
[G4 Original Android Development] danny_wasp:
Finally managed to get this working and SU my phone, was a total ball ache - sign up as a developer to unlock the boot loader, download AndroidSDK etc. This is coming from a previous Samsung owner though, mind you it doesn't help that LG's instructions on their site aren't totally clear.
[G4 Original Android Development] plu200sur:
Hello all, this problem of time and date it done was evoked and it can be corrected under Marshmallow? With current MM V20c ...

Ecusez me for my English (Google translation or reverse one)

Thank you
[G4 Original Android Development] Leavard:
Try disconnecting the internet from your computer when doing the KDZ flash.
[G4 Original Android Development] Spaceboy60:
How comes when I restore a backup, my security pattern isn't recognised and I have to do numerous wrong attempts till it asks for your backup pin (which luckily it recognises and lets me in).

Any suggestions?
[G4 Original Android Development] SunamY:
hi, i'm new to G4 rooting. I've unlocked the bootloader and flashed TWRP via fastboot. The problem is, if i reboot to recovery there is the dead Android. I cant get into TWRP.

what can i do?
[G4 Original Android Development] CraigHardy:
adb reboot bootloader

fastboot boot twrp(whatever version you have here).img
[G4 Original Android Development] smason:
After you done:

fastboot flash recovery twrp-2.8.6.0-h815.img

instead to reboot the device do

fastboot boot twrp-2.8.6.0-h815.img

Finally play with TWRP
[G4 Original Android Development] flodroidnexus:
Any News on twrp 3.0.0.0 for g4?

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Original Android Development] gap30:
https://twrp.me/devices/lgg4h815.html
[G4 Original Android Development] DaarkieDoo:
Will g4 get the new version?
[G4 Original Android Development] patalao:
It should.

It's one of devices listed on their site, so it should be officially supported.
[G4 Original Android Development] barcodelinux:
Working on it. They are trying to build it with the new sources but there are a few bugs in our device tree. See this for the latest output from the builds.
[G4 Original Android Development] Svartsyn333:
Any solution for folders not showing? If I choose install they show up but not when I choose backup or restore.

I tried everything possible to flash twrp, using adb and flashify and even tried all three available versions but none of them works.
[G4 Original Android Development] nidalius:
TWRP 3.0 available @ superxe thread : installed without any issue

KERNEL G4-h815 SUPERXE 5.1/6.0 31/12/2015 * TWRP 3.0.0.0
[G4 Original Android Development] alain57:
thanks for people too lazy to search it is in this thread at the lowest part of first post
[G4 Original Android Development] alefpiro:
lg g4s

hi. twrp recovery for lg g4 beat exist or not. have any version for this phone.

thanks
[G4 Original Android Development] Follow_and_Feel:
Unfortunately it's not supported yet
[G4 Original Android Development] alefpiro:
Thanks the link its not working

Enviado desde mi LG-H735 usando XDA Forums Pro.
[G4 Original Android Development] Follow_and_Feel:
There is no link. LG G4 beat doesn't have a TWRP recovery
[G4 Original Android Development] Rohela:
Hello I am using the H815p variant of the G4 and unlocking the bootloader isn't supported, how can I get twrp?
[G4 Original Android Development] goran_oh:
No way to instal twrp for now.
[G4 Original Android Development] nitrous²:
I'm not sure what exactly happened. Tried to do a backup when I got "Error 255". From the recovery log I can read that it fails to open '/system/app/BluetoothMidiService' because it's "Not a directory". Funny thing is, I made a bunch of backups before with TWRP 3.x.x.

UPDATE: Important to note maybe. The ROM I'm trying to backup was originally flashed via LGUP as a KDZ file, then backed up, removed and again restored (was experimenting with CM).

UPDATE: SOLVED
[G4 Original Android Development] Gregzi:
In TWRP 3.0 also the following backup option is available:

- System Image (over 4GB).

I suppose this is handy if stored somewhere if needed / to be able to flash it with fastboot?

I think so...

Thanks for clarification.
[G4 Original Android Development] albre:
Hello

Sry i m french i use google translate

That can not install TWRP :

I am the procedure :

H: \ Android \ Bootloader \ platform -tools > fastboot flash recovery TWRP - 3.0.0-0 - h815.img

Reported target max download size of 536870912 bytes

sending 'recovery' ( 31620 KB ) ...

OKAY [ 0.708s ]

writing 'recovery' ...

OKAY [ 0.287s ]

finished . total time: 0.999s

H: \ Android \ Bootloader \ platform -tools > fastboot boot TWRP - 3.0.0-0 - h815.img

downloading ' boot.img ' ...

OKAY [ 0.714s ]

booting ...

OKAY [ 0.035s ]

finished . total time: 0.753s

My phone reboot normally no TWRP

When I type the command adb reboot recovery android a small green man lying with a red triangle.

Thanks for your help

Sweet
[G4 Original Android Development] Nekator:
So do you have an h815 and is your bootloader unlocked?

Try fastboot flash recovery <your recovery img>

And then fastboot reboot

Then simply try to enter recovery.

I dont get why you try to boot the img after you flashed it already.
[G4 Original Android Development] albre:
Sry but i do what to enter in recovery ?

TY
[G4 Original Android Development] Nekator:
If the phone reboots type abd reboot recovery or Power off the device press Volume down and power button until lg logo appears and then release the buttons for a second after that press them again and hold them until you boot into recovery.
[G4 Original Android Development] Matze060906:
Release only power button. Release both doesn't work...

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Original Android Development] albre:
Rhooo :rolleyes:

My phone is unlocked

I do this

H:\Android\Bootloader\platform-tools>fastboot flash recovery twrp-3.0.0-0-h815.img

target reported max download size of 536870912 bytes

sending 'recovery' (31620 KB)...

OKAY [ 0.708s]

writing 'recovery'...

OKAY [ 0.290s]

finished. total time: 1.003s

after i do fastboot reboot

after adb reboot recovery

And same i have android man lying with red triangle.

Thx for help
[G4 Original Android Development] Matze060906:
Try adb fastboot boot "recovery img"...

In twrp go to install, press zip at bottom, search for you twrp on sd card and install it as recovery. Don't flash supersu if asked. After that reboot to recovery.

Forgot to say, copy the twrp img to your SD card before...

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Original Android Development] albre:
Hummm

Dont work impossible to boot in recovery
[G4 Original Android Development] equiliym:
any news about this particular issue? i started having problems backing up recently with the same error, tried with both twrp 2.8.7.0 and 3.0.0.0, dont know how and why since i could backup before and now im stuck with this
[G4 Original Android Development] Danmike:
Done everything correct.

Bootloader unlocked.

Android Version: 6.0

Tried 3 available recoverys

the latest one gets me the furthest and that is the the little android man with a warning triangle over him like he is dead... Device boots fine. Any idea's?
[G4 Original Android Development] Matze060906:
You flashed twrp in twrp right? What happened if you press reboot recovery in twrp?

Gesendet von meinem LG-H815 mit Tapatalk
[G4 Original Android Development] albre:
No i cant have the menu of twrp

and thx for your help
[G4 Original Android Development] asce1992:
Hi all!

I successfully installed TWRP. It is working properly with the app "TWRP manager", but when I try to start it with the key combination always reappears the original lg recovey that allows me just to format the phone. It 's normal? I installed everything with the rom Stock 20D.

Thank you! :)
[G4 Original Android Development] CraigHardy:
yes it's normal, just proceed selecting yes
[G4 Original Android Development] asce1992:
and after my system you will be formatted or will enter intoTWRP?:)
[G4 Original Android Development] MickyFoley:
You will get into TWRP. Don't mind the messages from LG and continue with YES. Just weird, they weren't able to implement a better recovery like Samsung does.

And just for the easy way:

• Boot to TWRP

• Flash SuperSU

• Reboot to System

• Install Flashify from Google Play Store

• Install previously downloaded TWRP IMG with Flashify

• Success!
[G4 Original Android Development] albre:
help me please dont work

someome can explain the procedure please :crying:
[G4 Original Android Development] wartomato:
Rename the .IMG to recovery.IMG and try again like you described in your first post. This worked for me. When in recovery, flash it over and reboot.

Your thoughts were correct...

At least it worked with twrp 2.8.7.0.
[G4 Original Android Development] albre:
Hello

I have rename its same dont work

I have try with a diifferent pc dont work

I think i m a big noob.....
[G4 Original Android Development] nitrous²:
Unfortunately, no. I moved along and reflashed a stock KDZ (refurbish) to get it backing up again. I don't think it's got something to do with TWRP. Did or do you happen to have Xposed installed? Deodexed apps?

No, your latest one does not get you anywhere either. What you see there is the stock recovery system. You somehow don't even have TWRP installed on your device.

Be sure you have set up ADB correctly. If not, remove any ADB/Fastboot installs and proceed here first to set up ADB correctly.

Enable USB-Debugging.

Connect to PC.

Allow Connection on Phone.

Copy TWRP image anywhere on external/internalt storage on Phone.

Open the folder in Windows Explorer where your TWRP image is stored.

Hold shift and right click with your mouse on an empty area within the Explorer window.

Choose "Open Command Prompt Here".

Type: adb reboot bootloader

Once in Bootloader, type: fastboot boot twrp.img

Once TWRP has boot up, choose "Install" then on the bottom right, choose "Install IMG".

Navigate to the location where you've stored a TWRP.img on your device and click on it

IMPORTANT: choose "Recovery" in the following prompt.

Swipe to flash. Reboot to recovery to see if it stuck.
[G4 Original Android Development] equiliym:
i had a backup before, i installed xposed, yes and since it broke a lot of things for me, i reverted the backup without it and deleted it from my sd.. after that when i tried to backup again, i got that error.. i dont know, i noticed i have system image 4gb and system 2gb, if i select system, it fails, without it it works..

edit: i also noticed around the same time adb stopped working for me, giving unauthorized for my device and not even showing the popup to authorize on the phone.. might be the system i guess
[G4 Original Android Development] nitrous²:
Ok, that behaviour sounds familiar to me. Especially the ADB authorization part. That would happen to me whenever I'd flash a repacked kernel or any kernel, be it custom or stock that wasn't from the same KDZ package my G4 was running on. The solution is easy but has its price. You need to reflash a stock KDZ package, preferebly using LGUP in "Refurbish" mode (haven't tested using "Update" only). My guess is that somewhere along the restore process, something has messed up the restoration of the boot.img and you ended up with this issue. It might also solve your backup problems.
[G4 Original Android Development] albre:
I try all solution dont work dont want boot into recovery mod
[G4 Original Android Development] equiliym:
now that you mention it, i do have a 20a-rooted flashable kernel that i think i flashed on my phone, dont really remember.. thanks for the solutions, ill check it out during the weekend and ill post info on it if anything changes
[G4 Original Android Development] nitrous²:
See. You no longer need pre-rooted kernels anymore. Just follow the instructions of this thread, where you'll be shown how to get SuperSu Beta 2.67 up and running on your G4.
[G4 Original Android Development] equiliym:
thanks, guess i solved it all, i didnt flash kdz, i took genisys rom with both modem, bootloader and everything, got half data restored from google, other part from apps so no harm done, have xposed now even and my apps arent broken, twrp and adb both working.. so yeah, i guess it was that kernel that broke at least half of my things