yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] blastagator:
May 7, 2016 (3.0.2-1)

New release. Moved to cm-13 based builds. All should be working as beta builds went smooth.

Of particular note:

AROMA - I added a hack to fix the graphics for AROMA. If your zip file still isn't working, see my guide here:

http://xdaforums.com/showpost.php?p=66747442&postcount=2591

Jelly Bean Bootloader - Should be working. Beta versions now removed.

I am fairly confident that this will work on the jellybean bootloader. If you boot and it goes to black screen instead of TWRP splash, please go to the BETA build list and start with letter -g. Work down from there until it is working again. Then report which letter you had to use to get it working.

Change Log

-Tree

++Completely rebased onto cm-13

++All file utilities, etc. are now up-to-date with the latest cm-13 tree.

++Changed from debug builds to engineering builds, per TeamWin instructions (thanks [MENTION=6622051]Startrek852[/MENTION])

-Kernel

++Took cm-13 kernel and added my stuff to it

++Disabled some tuner/multimedia stuff we don't need

++Updated f2fs

-TWRP

++New sexy splash screen (see post attachment)

++New fstab processing

++Fixed AROMA graphic bug. If AROMA still crashes, try this:

http://xdaforums.com/showpost.php?p=66747442&postcount=2591

++Lots of language updates.
[G2 Android Development] Eselter:
Nice custom splash screen^^

And ofc great job, aroma seems to be working :)
[G2 Android Development] raptorddd:
i made a post in the Q&A section. of roms that work with new twrp and aroma. so please post what rom you used..

thanks
[G2 Android Development] blastagator:
How-To: Fix AROMA

First, try your chosen zip file, as is. There is a decent chance that it will work without you having to do anything!

IF your chosen zip file ["your zip"] does NOT work, you need to replace a couple of binary files in your zip:

1) Download the AROMA Binary zip ["my zip"] I have posted here: http://www.gregtwallace.com/lgg2-projects/miscellaneous/

2) Open your zip file.

3) Navigate within your zip to the folder: /META-INF/com/google/android

4) Delete the files in your zip: update-binary & update-binary-installer

5) Copy the two files from my zip into your zip.

Done! Your zip should now work properly :)

Thanks to [MENTION=6037748]Zackptg5[/MENTION] & [MENTION=6622051]Startrek852[/MENTION] for testing help.
[G2 Android Development] raptorddd:
main download is not working is grey out. and the one on bottom gives me error

Not Found

The requested URL /Android/Devices/LG G2/TWRP/blastagator/ was not found on this server.
[G2 Android Development] blastagator:
The main site is fine, I just didn't have the /url/ tags around it.
[G2 Android Development] KyPbP:
Tested on Icerom 5.8 Everything is fine
[G2 Android Development] raptorddd:
ill post it on the other thread you mean icex 4.5?
[G2 Android Development] Startrek852:
No, I think he means IceROM, Look here: http://4pda.ru/forum/index.php?showtopic=724616&st=20#entry46988606
[G2 Android Development] raptorddd:
so theres icex rom and ice rom. :good:
[G2 Android Development] blastagator:
Beta builds have now been removed, given that there are no complaints about the release :)
[G2 Android Development] n@vier:
[MENTION=5031300]blastagator[/MENTION]

Without your stunning work we couldn't flash nothing!

Thanks, You Rock! ;)
[G2 Android Development] djchru:
Where is IceRom 5.8? I see up to 5.7, can you share a link?

Thanks!!!
[G2 Android Development] KyPbP:
http://4pda.ru/forum/index.php?showtopic=724616&st=980#entry49273380
[G2 Android Development] dorimanx:
And that is a major fact! No recovery, use iphone. ?
[G2 Android Development] Zackptg5:
Finally made my own aroma installer to restore my apps and it works great with latest version. Great work!
[G2 Android Development] blastagator:
Which repo did you use? And did you make any modifications?
[G2 Android Development] Zackptg5:
Not sure. I followed this guide: http://xdaforums.com/showthread.php?t=2422457

So I had my own custom aroma-config and such. I just made the aroma installer as a quick way to restore my apps. I tried the default one that came with the zip from the above thread but I kept getting weird errors. So I used the update-binary files from icex rom (http://xdaforums.com/lg-g2/development/rom-icex-rom-t3271099) which worked fine
[G2 Android Development] blastagator:
Interesting. Thanks. All of the source links point to 2.7 source, but I see binarys for 3.0.... not sure what the deal is. Good to know that 3.0 is the way to go! I'll update some posts.

edit: Which file (or files) did you replace? I want to upload them to my site. Thanks bud! :)
[G2 Android Development] Zackptg5:
I'm pretty sure this one is version 2.7 because that's what it says when flashing (I also did the same thing for my nexus 5x except I took the update-binary and such from an aroma kernel installer for the 5x and it said version 3 when flashing. It works fine on default twrp 3.0).

Here are the update-binary, update-binary-installer, aroma-config, and updater-script I used for my VS980.
[G2 Android Development] blastagator:
Hmmm... thanks. The main AROMA thread has a version 3.0 posted. I'll probably test those files and if they work, I'll upload that version. Some of the graphics stuff was supposedly updated.
[G2 Android Development] A Sornchai:
L22 work great with twrp 3.0.2-1 test with cloudy g2 2.2. Thank you very much.
[G2 Android Development] Startrek852:
[MENTION=5031300]blastagator[/MENTION], those CloudyG2 files you gave me worked perfectly! It completely fixed IceX ROM v4.0 with AROMA installer v2.7RC2, Open GApps still has the freezing on exit problem, but I don't think that that matters that much. Thanks!
[G2 Android Development] blastagator:
Which did you replace? Both?
[G2 Android Development] Startrek852:
Yes, I replaced both.
[G2 Android Development] blastagator:
Thanks. I'll update the guide.
[G2 Android Development] blastagator:
Because this is fun to post every now and then, top all-time downloads:
[G2 Android Development] _that:
This is certainly one of the best supported TWRP builds. I don't even have a G2, I'm only here because I answered the occasional question. And now I'm here to congratulate [MENTION=5031300]blastagator[/MENTION] on finally getting his RC title. Well deserved, keep up the good work!
[G2 Android Development] blastagator:
Thanks man, I really appreciate it :)

This started as a side project to learn some stuff and has blossomed into this colossus. Going back to some of the first pages of this thread always makes me laugh and think to myself "wow, i really didn't know anything back then!" lol.
[G2 Android Development] pattonsj:
They should add a new status, Superman.
[G2 Android Development] szabyka95:
[MENTION=5031300]blastagator[/MENTION]

after installing healthy marshmallow kernel i got this. . before upgrading to this version of recovery i didn't had any problems with data,cache on f2fs

i'm on exodus ROM

it's weird because i didn't encrypted anything ...
[G2 Android Development] blastagator:
I believe this is what happens when your kernel doesn't support the file system (or possibly the ROM)
[G2 Android Development] dorimanx:
Congratulations my friend on RC title!

You earn it 110% i am really happy to see that XDA team know how much you did for LG 2 community.

Without your work, and TWRP team work!

My project cant even exist.

Respect :)
[G2 Android Development] szabyka95:
http://review.cyanogenmod.org/#/c/145419/
[G2 Android Development] blastagator:
No... that's an entirely different issue.
[G2 Android Development] szabyka95:
i reverted back to 3.0.2.0, i don't have anymore that issue ..

i attached a log (after flashing kernel with 3.0.2.1 recovery, my data partition disappeared.) maybe you can look into it
[G2 Android Development] lakyljuk:
Install options?

Hi, I am on official LG G2 LP 5.0.2, I would like to switch to official CM13. So root, install Autorec, upgrade TWRP via zip flash and then flash CM13 and gapps. Problem is, that Autorec from PlayStore probably installs some bootstac, which is not needed for going stock LP -> CM13. I would like to avoid this, is there any way, how to flash newest TWRP directly, after rooting stock LP ROM? I mean leave out Autorec? Thanks.
[G2 Android Development] blastagator:
Looks like your data partition became corrupted. I just tested on my phone, f2fs is working fine. You should try partition repair, that's what it is there for :)
[G2 Android Development] Startrek852:
You can try Flashify, but the thread for Cyanogenmod 13 recommends using Autorec, so I would just use Autorec.
[G2 Android Development] Sirpaul1:
Device : D803

TWRP : 3.0.2-1

Tried clean flashing the latest resurrection remix rom and got reboot to lg logo before flashing was complete, tried again with same result, tried restoring from backup with same result. So i reflashed TWRP 3.0.2-1 and everything was back to normal.....just putting this out there if anyone else has the same problem
[G2 Android Development] babe0607:
Hi... i have d802 and i have v30h. also i had TWRP twrp-3.0.2-1-d802-bump-blastagator-signed.

Suddenly i cant reboot to revovery and the screen is stuck to Teamwin logo.

Can you help me please?

How can i flash twrp-3.0.2-1-d802-bump blastagator-signed.zip via adb?

Send by my Lg g2 (D802)
[G2 Android Development] runekock:
Try deleting the TWRP folder from your internal storage.

Actually, on my phone it is in a subfolder called 0. Maybe that's a bug in the new 3.0.2-1?
[G2 Android Development] babe0607:
Thank you!!!! It worked!!! Recovery came back!!!

Be well my friend :)

Send by my Lg g2 (D802)
[G2 Android Development] blastagator:
The internal SD is /data/media/0
[G2 Android Development] Startrek852:
I think he meant that it's a subfolder called 0 in the internal storage, so like /sdcard/0 or /data/media/0/0.
[G2 Android Development] GodKiller_222:
Definitely it is. When I manually format /userdata to f2fs, after reboot-recovery sdcard mounts with /0 subdirectory. If you backup or upload smth to sdcard at this time - it all (and /0 directory) disappears after reboot, but still occupies space on sdcard. Whatever, after reboot /0 directory disappear and all came to normal, but bug is nasty one.
[G2 Android Development] runekock:
Yes, like Startrek852 says, it got an extra 0.

Perhaps it was because I has just reformatted data. Or maybe when I installed CM13 it wanted the recovery's files out of the way.

Anyway, I guess I shouldn't have called it a bug, because it doesn't harm anything. More like a curiosity really.

Edit: I didn't see the post from [MENTION=3266470]GodKiller_222[/MENTION] when I wrote the above. Obviously, if there is a scenario where files disappear, then it's a lot worse than I thought.
[G2 Android Development] blastagator:
This has been like this for awhile. It only happens with complete wipe, it doesn't seem to recreate the folder structure correctly. I looked at it briefly awhile ago (its been like this in numerous versions) but the specific conditions were narrow enough I forgot about it and didn't readdress it.
[G2 Android Development] :
If you join the twrp chat on irc, deestroy would likely help you figure this out
[G2 Android Development] blastagator:
Honestly, I've just been really busy with other things :)

If anyone has the exact sequence of steps to cause the bug, that would be appreciated. I lost my sticky note with this issue on it :eek:

edit: I realized the old issue I was having was files were going into /data/media without the 0, and then getting lost when the ROM booted and created the correct directory structure. I don't know what is causing an extra 0. I looked through the code and can't figure out where the extra /0 may be coming from. Will look soon, once I'm caught up on sleep. If anyone can give specific step-by-step to create the problem, that would be an awesome start.
[G2 Android Development] lox2013:
Is stable so can I flash 5.1.1 or 6.0 ROMs without bluestack
[G2 Android Development] ukguy115:
Early yet but new build seems to behave much better with my WiFi, so far anyway.
[G2 Android Development] Startrek852:
I think you mean bootstack, and NO, you need it.
[G2 Android Development] lox2013:
Now I want to know if I flash bootstack will I brick first time hearing or reading about this
[G2 Android Development] Startrek852:
If you flash the wrong one, yes. Let me rephrase my answer, you need a bootstack, but you don't need to flash one unless your ROM specifies it.
[G2 Android Development] blastagator:
Recovery won't do anything to your wifi.... :eek:
[G2 Android Development] lox2013:
Last time I flash without boot stack it was a hard brick
[G2 Android Development] ukguy115:
Wrong thread, my bad. Meant cm13 build 5/29
[G2 Android Development] Dabiel248:
Brother try to make a backup and put me in red letters Error opening: /data/data/com.wildtangent.android/cache/eula/es/es/es/es/es/es/es/es/es/ is \ (too many open files) that folder is the problem but I do not want to erase and the browser has super user permissions and delete that folder ago
[G2 Android Development] blastagator:
Its a cache folder. You should be able to delete it. Alternatively, try to repair the partition.
[G2 Android Development] Dabiel248:
Ayuda

They do not want to erase none of the folders and what is wrong code design me: 39 and do not know how to repair the partition would like to help me what happens is that I am new to this and want to install rom please help thanks
[G2 Android Development] Startrek852:
Just delete the stupid folder, NOTHING bad will happen.
[G2 Android Development] Dabiel248:
:llorando:That's the problem you do not want deleted that folder tells me error code 39
[G2 Android Development] blastagator:
Someone had this problem before and had to backup what they could and wipe the entire /data partition to fix it.
[G2 Android Development] smartpr1v4t3:
I dont know why but i have this problem every time on my nexus 7 2012 after some time.

I think its a problem for me because nexus 7 2012 + f2fs partition. Only a complete wipe helps to remove the error.

Never had this on my lg g2.

Maybe its a hardware failure when it happens often?
[G2 Android Development] Startrek852:
Really? I have never had that problem on my Nexus 7 2012 with /data and /cache formatted as F2FS.
[G2 Android Development] android is the best:
how could I enter the recovery?

Thank you very much sir it is working very well but my main problem that I can not enter the recovery through the hardware buttons good you please learn me how to enter it with hardware buttons because it helps me very much in installing roms
[G2 Android Development] mal13:
In my D802 works: push vol down & power button... When see LG logo, i'll start to push vol up & vol down buttons. Same time.
[G2 Android Development] android is the best:
thank you for your reply I have D802 also and your methot does not working for me :(
[G2 Android Development] runekock:
If you have the newest KitKat bootloader, then [MENTION=2275158]mal13[/MENTION] 's method is definitely correct, but you have to get the timing exactly right. I sometimes have to try 4 or 5 times before succeeding.

If you have an older bootloader, press power & vol-down until logo, release, then press the same buttons again.

There is no easy way of telling which bootloader you have except by trying.

When you succeed, you'll be asked to reset the phone. Accept that, and then recovery will start instead of reset. If you have a recovery installed of course.
[G2 Android Development] android is the best:
I think the problem is from the bumped recovery because it only appear when I install it , also I will try your method
[G2 Android Development] Sunandroid:
It's definitely not the issue of the (bumped) recovery. Keep trying.
[G2 Android Development] android is the best:
thank you very much I kept trying for several times and it has worked

---------- Post added at 06:52 AM ---------- Previous post was at 06:51 AM ----------

thank you very much for your interest it has worked
[G2 Android Development] ashhad101:
Hey guys i want to install cloudy 3.3 for that kk bootloader is required but the bootloader zip is bump signed and i have loki so should i install this recovery currently i have lg g2 ls980 running cloudy 2.2 android 4.4.2 and installed twrp using autorec (twrp version is 2.700) and also my lcd panel is jdi please guys help me!!. Thanks
[G2 Android Development] Twist79:
Thanks for twrp-3.0.2-1-d802-bump-blastagator-signed.zip

Keep up the good work!
[G2 Android Development] _tyler_:
I have a VS980 running XDABbeb's VS980 3.1.2 ROM and I flashed 3.0.2-1 from 2.8.6.3 and I get stuck on the splash screen and every few minutes the screen freaks out changing between black/white/static. I can't access recovery now bc it won't get past that.

Edit: I got into recovery but rebooting to System would show the LG logo and say Security Error under it.

Edit: Flashed 11A tot, currently on 24A/4.4.2 rooted with twrp from AutoRec, hesitant to try another TWRP from this post unless someone can inform me what went wrong last time :/
[G2 Android Development] astherion:
Yhanks for your great work! For 5 or 6 months I've use yor recoveries on mine LS980 and has no problems! You are awesome! 3.x recoveries also has native language support, battery-charging etc.
[G2 Android Development] blastagator:
If you flashed the recovery img file directly, your panel may not have been properly detected. You have to flash the .zip file for proper panel detection. Flashing/static screen is a result of panel mismatch, I think(?).

Security error is a result of the boot.img not being bumped (or less likely, the wrong bootloader)
[G2 Android Development] _tyler_:
The instructions say "Once you have a working TWRP, simply flash my zip to upgrade to latest version. If you flash the image directly, the panel detection script will not run! (This is only important if you have a jdi LCD panel.)" Last time I just flashed twrp-3.0.2-1-vs980-bump-blastagator-signed.zip which seems to be what you said I should do. I have an LGD display (I used

su
cat /proc/cmdline

and it said I have an LGD display "mdss_dsi_g2_lgd_cmd".) What would be the proper steps to flashing a newer version of TWRP because I did what you said and that gave me Security Error last time. I'm currently on 4.4.2 with xdabbeb's VS982.5 v1.2 rom.

So in the case of a Security Error, what would I do? I need to reflash the rom? Thanks for replying.

Edit: I ran the command again and I think it says I have a JDI panel now because it says panel=1 and the .sh file in your zip says panel 1 is JDI http://i.imgur.com/lSWhnYe.png I got my original information from this reddit post.
[G2 Android Development] blastagator:
Two separate issues:

1) Flashing wrong/bad/whatever recovery will not cause a secure boot error of the boot partition. You should flash a working boot.img. If you installed SuperSU zip or xposed-systemless zip, that will break your boot.img. Boot.img would need to be bumped after that. Flashing wrong model might also give this error, but can't remember off the top of my head.

2) Static/whatever on the TWRP boot is generally from wrong panel.
[G2 Android Development] _tyler_:
1) Before my tot reset to stock because of the Security Error, I didn't flash SuperSU or xposed. SuperSU came appeared when I rooted and I flashed xposed months ago but I had it disabled. I flashed your zip and upon trying to reboot I got the glitchy screen and upon trying to force reboot I got Security Error :/

2) Can you please tell me a definitive way to determine my G2's panel type? And from there, how I would flash a newer TWRP with your much nicer looking UI?

I'm not sure if you saw my edit on my last post but it had the terminal readout from

cat /proc/cmdline

although I don't know which panel I have from that because I don't know what it means. I believe I have LGD because I never had glitching or flashing screen from flashing a new ROM and I thought that only happens if you have a JDI. I don't know definitively though.
[G2 Android Development] blastagator:
lcd_maker_id=0

LGD Panel

Not sure what might have happened to cause the lines for you. I have only heard of that issue when wrong panel, or when screen does bad and gets a permanent line.

Secure boot is related to bump/loki.
[G2 Android Development] _tyler_:
Well that sucks :/ I'd like to flash your TWRP again but I don't want to possibly get another Security Error. It's big inconvenience to have my phone unusable for a couple hours while I flash stock, upgrade to kitkat, root, flash rom and restore all my apps again. I guess it's fine since I'm rarely in recovery mode because my phone is not littered with issues/bugs like it was before resetting it. Thanks for your input on this though, nice to have help from someone who I can trust knows what they're talking about as opposed to random people with baseless suggestions.
[G2 Android Development] Punraz_:
So only need to flash the new recovery into old and thats all? Have an D802 bcs did not understand this idj lcd announce
[G2 Android Development] Alphanor:
Yes :)
[G2 Android Development] YuvalHas:
how can i enter to TWRP recovery mode while the LG G2 is turning off?
[G2 Android Development] Treboeth:
You need to wait until the phone is completely off 15-20 seconds and then power&volume down until lg logo release buttons then press both again.

Then click yes option.
[G2 Android Development] oTeMpLo:
Aroma installer of OpenaGaps ...open_gapps-arm-6.0-aroma-20160815.zip does not work.. (reboots recovery when trying to install?

Fix ?
[G2 Android Development] Startrek852:
I have the same problem, but with the 5.0 GApps.
[G2 Android Development] bolydah:
3.0.2.1 is only for CM13 based Rom or also for L5.0.2 Rom, I'm on SRK-D80230H !?

Thanks
[G2 Android Development] Startrek852:
OMG, TWRP doesn't care what ROM or Android version you have. It will work with whatever.
[G2 Android Development] bolydah:
Lot thanks 4 ur help, now it's clear about TWRP
[G2 Android Development] nicky3:
Can I simply downgrade from 3.0.2.1 to 2.8.7.3 ?

I mean flash the zip of 2.8.7.3 ?

D802

Thanks..
[G2 Android Development] Z0R:
yes, you can.... but why?
[G2 Android Development] Startrek852:
Yes.
[G2 Android Development] nicky3:
I don't like that new interface, and somehow I feel more safe with older version.

Thanks
[G2 Android Development] dorimanx:
Me too :)
[G2 Android Development] amynjimmy:
Did the button.combo.change. to force recovery from power off
[G2 Android Development] oTeMpLo:
No
[G2 Android Development] blastagator:
I use normal open gapps and it works fine. Link to AROMA version? Also, as previously stated (in a few places, I think) the patch I did for AROMA is a hack. If it still doesn't work, sorry! I likely can't really do much else.

It depends on your bootloader. If you changed your bootloader, the button combination may have changed.

In other news, lots of new TWRP commits. It looks like they're getting ready for another release in the near future. I'll be sure to get it out to you guys when it is ready. As for me, I'll likely be switching to the new Nexus when that finally gets released. I plan to continue making G2 releases.
[G2 Android Development] oTeMpLo:
http://opengapps.org/ choose variant: (Aroma)
[G2 Android Development] blastagator:
Ah, staring me right in the face, of course. Aside from me previous suggestion of swapping out the AROMA binaries in the file you want to flash, I don't think there is much else I can do.
[G2 Android Development] oTeMpLo:
OK... Thank you
[G2 Android Development] HudanAchmad:
I cant install twrp 3. Im on 2.8.7.3. dorimanx kernel. when i flashed the zip, my g2 just blank and back to twrp menu.
[G2 Android Development] runekock:
Check that you have downloaded for the correct phone model (d800, d802 etc). If that is correct, check that the file is correctly downloaded (e.g. by downloading it once more).
[G2 Android Development] oTeMpLo:
on hybrid bootstack:

-Hold power + vol down, then, release and hold vol up + vol down.

on LP-BUMPED:

-Hold power + vol down, then, release and hold power + vol down again.

this method works on my d802!!
[G2 Android Development] Fenri:
I have changed my Data Partition to F2FS now my Internal Storage was erased. I dont now why...

Any chance to restore it?