yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] _that:
Yes, really.

boot.img is unrelated to /system.

system.img is a filesystem image. It overwrites the current filesystem - to install it, /system must not be mounted at all.
[G2 Android Development] Nightshadow931:
Yes, I've just tried it.

It asks for a factory reset, I said yes two times, and then it rebooted into system normally.

Yes, I'm sure I flashed the right version.

I just checked now, and md5 is not good. Seems like my file was broken.

Can I use flashify to flash recovery.img from this .zip file, since I have no recovery to flash that .zip?

Edit : Flashify did the trick, it works now.
[G2 Android Development] dredq:
Will this effect doing a KDZ?
[G2 Android Development] PoedelPCS:
if that's the case, you're right!

I always thought about some minor updates on my nexi devices that would patch some files in the system partition. In that case it must be mounted r/w. But that might be different with these LG devices. If updates are always full partition images that makes it clear for me ;)

---------- Post added at 01:47 PM ---------- Previous post was at 01:44 PM ----------

for KDZ I am probably the wrong person to ask.. my G2 never booted original.. it was swapped out before it saw the light of day :)

But if KDZ contain complete partition images they will probably overwrite the complete recovery partition and system partition. First removes twrp, second SU (if I am not wrong most parts are in system partition.. are there any in boot?). If the recovery partition is stripped out of these KDZ files twrp remains and giving it the possibility to r/w will restore SU functionality. For marshmallow there will be nothing touched as far as I understood the policy.
[G2 Android Development] ST Dog:
Of course zip files that change /system exist. And you have to mount r/w for them. They also break the OTA patches mentioned.

But that not the same as a full partition image, like TWRP creates for backups.

KDZ filed are generally full partition images, though they may be split with empty sections missing.
[G2 Android Development] _that:
Older Android versions used file-based updates - in this case the updater mounted /system writable and patched the existing files. Newer Android versions use block-based updates - in this case /system must not be mounted (and must have never been mounted writable because that changes at least the superblock), and the filesystem image is patched directly.
[G2 Android Development] _that:
If the zip has been written properly, it does the mount itself and doesn't expect it to be mounted by the recovery.
[G2 Android Development] ST Dog:
But it still ends up mounted r/w and breaks the OTA updates.

(Not that I care as I don't use stock ROMs anyway ;) )

The point being that there are 2 ways to update. One requires /system to be mounted r/w. The other requires it to have never been mounted r/w.
[G2 Android Development] fenie:
Can you now KitKat ROM boot with 3.0.0 ? Or it is better to stay on 2.7.3 ?

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] ChaosLord88:
Guys, where can I download the new twrp for d802 (I'm on crdroid ROM)? Both links from the 1st post are dead, at least that's what I get when trying to open them.
[G2 Android Development] blastagator:
Yes, thanks! :)
[G2 Android Development] luv2increase:
Had anyone successfully installed a ROM on the LG G2 with system "and/or" data partitions as f2fs?
[G2 Android Development] blastagator:
Also good news, I've written shell scripts so I can run one command and return to my computer with the signed zips & md5s all ready!

No more hand editing releases makes me VERY happy!!!!
[G2 Android Development] dorimanx:
you are on correct path!

did you see my build script? the option 8 is something that i can be proud :)

took some time to make it works as atomic clock.
[G2 Android Development] blastagator:
I made mine from scratch, yours is way over my head!
[G2 Android Development] dorimanx:
I have fixed my f2fs auto mount scripts.

https://github.com/dorimanx/LG-G2-D802-Ramdisk/commit/2316d1fa716212ce664b7d28dd99a22813e43dcf

now will mount all partitions as should. there was mess, as original scripts that was rely on where not for LG G2

and had wrong defines.

any way now that i had some time at night when i am resting and listen to music.

to fix all and convert my cache to f2fs.

next build will be F2FS ready for 100% and possibly allow to use ROMS fully F2FS.
[G2 Android Development] luv2increase:
We are very excited for that!!
[G2 Android Development] blastagator:
You the man! :)
[G2 Android Development] je2854:
[MENTION=2376110]dorimanx[/MENTION] even xdabbeb's version?
[G2 Android Development] dorimanx:
You will tell us that after test :)

I hope so.

Sent from my LG-D802
[G2 Android Development] je2854:
I will gladly put my phone on the line again.

Let's do this!
[G2 Android Development] blastagator:
Version of?
[G2 Android Development] berryman13:
Um camera binary?
[G2 Android Development] je2854:
ROM... specially 2.2.0 (26a based)

---------- Post added at 04:41 PM ---------- Previous post was at 04:39 PM ----------

Oh you guys....

Files themselves do not care of the file system type.

So the binaries would totally be out of the question lol
[G2 Android Development] toaom2:
Does this version support unlocking/flashing to a CM11 encrypted data partition?
[G2 Android Development] blastagator:
Of course the files don't care what FS :p All that matters is installer script is set correctly and that kernel can mount partitions. Once mounted, away it goes!

Recovery should support that. However, I never had any luck using MTP (or otherwise accessing /data) when I had /data encrypted.
[G2 Android Development] toaom2:
Finally managed to flash this version, just to try, due to a very unstable CM11 after enabling encryption. TWRP 2.8.0.1 does not support unlocking the encrypted volume. This one does. I had to copy the zip to /system using root explorer in order to flash it. After creating a temp mount to /data and /sdcard using the steps outlined here: https://www.bfccomputing.com/updating-cyanogenmod-11-kitkat-milestones-on-encrypted-devices/

Sideload is not working *at all* in the stock 2.8.0.1. Have not tried it with this version, yet. Looks like I'm in a much better position now that I have a working recovery again. Thanks! I might actually be able to do a Factory Reset now :).
[G2 Android Development] je2854:
I wanna use [MENTION=2941286]xdabbeb[/MENTION] ROM but be use imgs inside to install and not regular /folder system... Any suggestion?
[G2 Android Development] toaom2:
The device didn't get any more stable after reflashing the firmware while the device is encrypted. Can't find anything of use in the logcat, device just randomly reboots (kind of like the current one+one issues), I tried removing encryption using this version of TWRP, but that fails with:

E:Unable to mount /data

E:Unable to mount /data

E:Unabe to wipe '/data/' -- unknown file system 'auto'

E:Unable to format to remove encryption

Updating partition details

E:Unable to mount /data

E:Unable to mount storage

---------- Post added at 09:21 AM ---------- Previous post was at 09:04 AM ----------

Finally got the encrypted partition formatted manually by issuing: make_ext4fs /dev/block/mmcblk0p35

From the TWRP terminal directly. Won't be enabling Device encryption on a LG G2 CM11 any time soon :S. Argh!
[G2 Android Development] Arctic Prodigy:
Sorry if this has been answered before, can I still use this version of TWRP even if I don't want to format to F2FS and want to keep ext4?
[G2 Android Development] :
Google blastagator, then follow the link to his site. That's what I did.
[G2 Android Development] natenkiki2004:
I have horrible luck when it comes to my own personal Android devices. Seems like everything I do ends up with a 10-hour binge to fix it. My luck continues with TWRP 3. Flashed it via TWRP 2.8.7.3 with the MD5 file which it verified. Rebooted to recovery but it shows the LG logo for a split second then goes black. No backlight. Hold power for a few seconds, release, tap power and it boots to BlissPop just fine. Got in Flashify, downloaded TWRP 3 from the other mirror, extracted the .img file and flashed it. Same issue. Flashed 2.8.7.3 via Flashify (pulling the .img out of the .zip) and all is well. Flashed 3.0.0-0 and end up with the same black screen on reboot. Am I cursed or is anyone else having this issue?

D800 on BlissPop 5.1.1 (4.0.3)
[G2 Android Development] da_reeseboy:
My guess would be that you have a custom theme in twrp that isn't compatible with version 3.
[G2 Android Development] _that:
Incompatible themes are now detected and ignored by TWRP, so that should not be the issue.
[G2 Android Development] da_reeseboy:
That's a nice feature. Glad to know.
[G2 Android Development] Trixanity:
Not sure but doesn't bootloader affect both rom and recovery? Pre-MM aosp/cm roms use loki/jellybean bootloader, right?

On the other hand, I was under the impression that the previous recovery version worked fine on jellybean bootloader and that recovery was bumped just like 3.0, so I'm probably just reaching here.
[G2 Android Development] metteduch:
Nope dont flash 3.0 if on kitkat. I reported it doesnt work and someone else also said he ended up with black screen.
[G2 Android Development] Sunandroid:
ROM version doesn't matter. Almost all ROMs use the KK bootloader and a LP as kernel base.
[G2 Android Development] blastagator:
You must have KK BL to use the new TWRP. I know this now, sorry for no prewarning. I didn't know before. I'm not really sure why, either.

On models with no KK bootloader, please let me know if your variant works.
[G2 Android Development] Trixanity:
So 3.0 works on aosp/cm mm. That's confirmed. I assume it also works on stock lp? So that would mean no stock kk or aosp/cm lp. Correct?
[G2 Android Development] blastagator:
Brain fart - meant to say you cant use JB. Must use KK BL
[G2 Android Development] Trixanity:
Of course but I have a feeling a lot of users don't know which bootloader they're using. I can't remember if stock KK ever got the bumped KK bootloader but I'm quite certain that a lot of the pre-MM use JB bootloader although I never used them much, so basically going off memory of what I've read here (I'm on MM now though).

I wonder if those with boot loops can use hybrid bootstack to get a working 3.0 recovery while continuing to use whatever rom they're using.

But until then, just add to the OP that they need a bumped KK bootloader to use the latest recovery.
[G2 Android Development] mind_challenge:
So, does the 3.0 work with the Hybrid bootstacks from here? I think it should, as it uses KK bootloader, but I'm not sure, and I don't want to mess-up my D802.
[G2 Android Development] edennem:
Yes, it works (on my d802 with that hybrid bootstack and the latest ressurection remix nightly [marshmallow])
[G2 Android Development] quicksilvree:
[MENTION=5031300]blastagator[/MENTION] Is there a difference between your bootstacks and the hybrid bootstacks? For me your bootstacks have always been the go to for me ...... If there is a difference will you be working on hybrids of your own?
[G2 Android Development] Aures Batna:
I fash this new twrp on my ls980 it works fine thank you , i m using this lolipop rom here

xdaforums.com/sprint-g2/development/rom-ls980-stock-5-0-2-zvi-flashable-t3303163
[G2 Android Development] blastagator:
Should be the same. When I made mine I had to, because no one had extracted the newest LP files.
[G2 Android Development] blastagator:
Version 3.0.0-1

-Fixed decryption!

DO NOT ENCRYPT f2fs - You will bootloop ROM and recovery!!!

See main changelog here.
[G2 Android Development] babe0607:
Hi...

I have D802, Thunder rom v2.2, Dori kernel 8.9 and twrp v3.00. I've tried to install the flashable zip SRK-D80230H_20160107_droidth from somboons (clean install first...wipe everything except internal memory) and when i was in recovery and aroma started screen stuck to recovery and after a few seconds booted to rom(thunder rom).

I've tried 2-3 times the procedure and the result was the same.

Any help please?

TIA

Send by my lg g2
[G2 Android Development] Sunandroid:
This is weird indeed. I mean it is possible to boot any rom on any BL as long as it's bumped. At least that's what came out when i tried a few and what I heard. Not sure about that anymore tho.

As I stated earlier, almost all ROMs, no matter if stock or AOSP switched to the CAF source which allowed and preferred the KK BL. So there should be very few ppl using JB BL.

Yes it does.
[G2 Android Development] kolouch.petr:
I have upgraded TWRP from 2.8.7.3 to 3.0.0.1 and I cant get into TWRP anymore :( only black screen appear :((((
[G2 Android Development] Sunandroid:
boot into android and use flashify to return to 2.8.7.3, to use the 3.+ version you need a kk bootloader.
[G2 Android Development] Computoncio:
Just to report that v3.0.0.1 is working fine with my configuration, didn't test encryption, or flashing zip's with aroma. Normal zip's flashed without issues.

Phone: LG G2 D805

Kernel: Dorimanx kernel v8.9 LP D802

1st ROM : SRK-D80230h_20160107_droidth

2nd ROM : Waiting for custom recovery ;)

MODS: Viper4Android, Xposed
[G2 Android Development] khedr30000:
how to know what kind is my BL ?

D802 running THUNDER ROM V 2.3 LP rom based ..... TWRP 2.8.7.3
[G2 Android Development] shuvam.gayen:
Hi I am using cm12.1 how can I know which boot loader version I am using. I am using d802 and don't want to mess up with my phone. Someone plz say
[G2 Android Development] sheikhramnuj:
Is it safe to restore my back up roms that i made from version 2.8.7.1 with this version 3.0.0.1?
[G2 Android Development] EvilKing009:
Hello,

I am having difficulties downloading Twrp 3.0.0.1 for D800 variant.

Both download links are dead.
[G2 Android Development] djtiesto22:
I download using chrome right now everything is good. Try to click on first link (budgetVM) and long press on your version, now open to new card or page using chrome and download will start in background!
[G2 Android Development] 60nine:
both links work... don't download using your mobile phone's browser or use a download manager if you do...

else - download via your computer...
[G2 Android Development] dredq:
Enter TWRP via holding power and vol- method (hold power button until off and then LG screen flashes...release for 3-seconds and then press both power and volume down together) If you have KK bootloader you will get to the factory reset screen and you will need to use volume keys to make selection and power key to OK selection. This is the KK bootloader. If you have a JB bootloader you will enter the factory data reset but will have different menu/key presses....
[G2 Android Development] shuvam.gayen:
Thanks for replying. So I am using a kk boot loader. But what a lolipop boot loader look like bro?
[G2 Android Development] dredq:
If you have a KK BL you can use 3.0.0-1. KK BL is used for LP.
[G2 Android Development] shuvam.gayen:
Thanks again. I had one more doubt what is bootstack . I read that in several ROM flashing description. But don't know what is that. Would you like to tell me if possible.

Actually I am very new to these things that's why asking. Hope you understand my situation
[G2 Android Development] dredq:
Yes...been there...

Read http://xdaforums.com/showthread.php?t=2692223 particularly Q12

and http://xdaforums.com/showpost.php?p=62325533&postcount=7113
[G2 Android Development] EvilKing009:
Thanks, i will try it with computer, seams to be having trouble downloading with mobile, budgetVM is showing me 404 error and pcloud is just stuck at loading.
[G2 Android Development] Exanies:
Im on 2.8.7.1 now, i can update it through flashify or better through recovery?
[G2 Android Development] dredq:
Recovery
[G2 Android Development] Exanies:
Thanks (:
[G2 Android Development] raptorddd:
if you are in cm12 that means you are ok KK BL. unless you are using resurection remix then you on JB BL
[G2 Android Development] dredq:
Why (: ??? Very easy to flash in recovery.
[G2 Android Development] pmgnet:
For everyone having download problems, try clicking through to the pcloud links, say, oh a dozen times. There's some crazy redirect going on, and it finally took for me.

---------- Post added at 07:47 PM ---------- Previous post was at 07:42 PM ----------

the new TWRP looks great! Congratulations, TWRP team!
[G2 Android Development] fenie:
Hello, there is a new key combination to the TWRP occur? It always starts back into the system! Even after the invitation to Systemerase. (3.0.0.1)
[G2 Android Development] blastagator:
This is what happens when you're on the old bootloader. Upgrade to KK.
[G2 Android Development] Darkeligos:
NVM
[G2 Android Development] fenie:
Hello, I had installed from there KK-20H-D802-BOOT-LOADER.zip. Is that not correct? http://www.dorimanx.com/LG/

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] blastagator:
Are you following the instructions to use volume up and down instead of just power button? Can you reboot from ROM menu into recovery?
[G2 Android Development] fenie:
Have they downloaded again and now everything works fine. Thank you for your patience.

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] blastagator:
No problem.

No JB Bootloader Coming! I spent some time today messing with TWRP - I can't get it to boot, no matter what I try, on the JB bootloader. So, if you're stuck in the past stick with 2.8.7.3, but I strongly recommend you move into the future! I am not going to spend any more time trying to get TWRP3 booting on the JB bootloader. If anyone has any suggestions, I may try them. I have tried old kernel, old dtb, old kernel command line - nada works.

Mirrors Fixed - I loosened the security. You should be able to DL the files with either mirror, without the forbidden error.

.
[G2 Android Development] 60nine:
wow... some people... :rolleyes:

on a side note

flashed 3.0.0.1 without a problem

- d802

- 20h bumped bootloader

- google edition 1.3 rom

- dorimanx kernel 9.0

- previous recovery version 2.8.7.3
[G2 Android Development] eric93se:
I can't get into TWRP after updating to 3.0.0.1 It's a D801, it had the hybrid bootstack daniel stuarts. The phone only boots to the ROM (AICP latest). I tried Flashify to put 2.8.7.3 TWRP back on there but no dice!

On 3.0.0.0 the phone booted fine.

I tried both booting from the phone and using download mode to get to recovery, dosen't happen.
[G2 Android Development] da_reeseboy:
Did you confirm md5 before flashing?
[G2 Android Development] eric93se:
no I didn't. I dl'd from my phone.

Ok, just check MD5 and its good.

Need some love please :)

edit: Flashify kept asking for root permission, so I did so in privacy guard. Tried flashing 2.8.7.3 again, didn't work.

Tried switching to permissive and root for aps and shell (was just aps prior).

Anyone know if flashify can flash the hybrid boot stack??

Still no access to twrp :(
[G2 Android Development] kolouch.petr:
https://play.google.com/store/apps/details?id=com.cgollner.flashify

it doesn´t work for me :(((

---------- Post added at 08:04 AM ---------- Previous post was at 07:59 AM ----------

it is working well, sorry :)

so, where can I download the KK BL ?? thank you
[G2 Android Development] X301:
Ignore this, Im on TWRP vanilla not this.
[G2 Android Development] Mrondo:
I have experienced a similar issue. After flashing TWRP 3.0.0-1 I lost access to the recovery partition. D801. Flashify has been unable to assist. Any ideas?
[G2 Android Development] dredq:
I do not know if this would work or whether you should do this but....Autorec?
[G2 Android Development] Mrondo:
I was crazy enough to try this but now I have a bootloop... On the bright side I can now see the teamwin splash screen but still no access
[G2 Android Development] cnaukai:
İ have the same problem. My 801 cant enter recovery
[G2 Android Development] eric93se:
I tried so much on my D801, I cant even get into the rom now. I only have access to download mode. I can't get the stupid LG drivers to recognize my phone to try and wipe the whole thing with a KDZ file.
[G2 Android Development] dredq:
I am sorry this did not work. :(
[G2 Android Development] Computoncio:
Did you guys tried to delete /TWRP directory and reboot.

Just a suggestion...

Phone: LG G2 D805

Kernel: Dorimanx kernel v9.0 LP D802

1st ROM : SRK-D80230h_20160107_droidth

2nd ROM : Waiting for custom recovery ;)

MODS: Viper4Android, Xposed
[G2 Android Development] Zackptg5:
Did you use autorec v2? If you used version 1 or for the wrong variant, this is expected
[G2 Android Development] Mrondo:
You don't need KDZ yet... Don't give up

No matter, I've fixed it now

That will not work

I used my D801 variant. As for the version I couldn't tell which one it was
[G2 Android Development] lunafag:
Seems like the latest version doesn't work with loki'd LP bootstack. Got myself into nasty no ROM & no recovery situation today. kdz flashing helped.
[G2 Android Development] Jonatino:
Flashed this today on my D803 running Blisspop 6.0.1. Couldn't boot into recovery (I'm using hybrid bootstacks). Thank fully I was able to downgrade to 2.8 :)
[G2 Android Development] Startrek852:
Download SRKTool, use it to Nuke Download Mode, that will get you to fastboot mode, then use fastboot to flash a recovery image, then boot into recovery, then reflash your bootstack.
[G2 Android Development] blastagator:
Is anyone on d801 running new version successfully? Please advise rom/bootstack for others. As to people who had 3 working but not 3-1, the only change was kernel config for crypt, not sure what issue might be.. I'll brain storm tonight if no good reports.
[G2 Android Development] Mrondo:
Not AFAIK, including me. CM13, Stuart's hybrid bootstack
[G2 Android Development] Startrek852:
Works fine for me on D801.

ROM: Inazuma ROM

Bootstack: Rashed97's BUMPed LP Bootstack.

http://xdaforums.com/lg-g2/development/lg-g2-bootstacks-t3173715
[G2 Android Development] blastagator:
<Wipe /data error>
[G2 Android Development] eric93se:
Still stuck in fastboot mode. The phone doesn't receive commands from adb fastboot Its not returning a success acknowledgment. Tried all different drivers. I can't find any instructions on commands to send other than the flash commands.

Currently the screen lists:

[500] fastboot mode started

[620] --- reset ---

[630] --- Port charge ---

[640] ---- reset ---

[710] fastboot: processing commands
[G2 Android Development] Startrek852:
You aren't actually typing adb fastboot, right? You can get a full list of commands by typing "fastboot".
[G2 Android Development] eric93se:
To flash the recover image:

fastboot flash recovery recovery.img

The recovery.img file is the latest twrp from their website. So the phone receives the command and never finishes.

screen shows:

[38450] fastboot: getvar: partition-type;recovery

[38500] fastboot: getvar:max-download-size

[38570] fastboot: download:00aca000

[38970] fastboot: flash:recovery

So I misspoke before when I said it wasn't receiving commands.
[G2 Android Development] blastagator:
Have you looked at:

http://xdaforums.com/showthread.php?t=2477595
[G2 Android Development] Startrek852:
That shows how to fix download mode, not recovery mode. They're trying to use fastboot mode to fix recovery mode.
[G2 Android Development] blastagator:
Wait, you can boot the ROM but not the recovery? Just use flashify then?
[G2 Android Development] Startrek852:
No, they can't boot into the ROM or recovery mode. They only have access to fastboot mode.
[G2 Android Development] eric93se:
I lost access to the rom trying other things. When I did have access flashify did not work to downgrade twrp.