yashsingh1/xdaforums huggingface dataset:
[LG Optimus G Pro] culot:
Welp, that's no good! A recovery that cannot use the external SD is majorly crippled. This will not stand!

Providing one/some/any of those logs would help. Probably a simple recovery.log from TWRP would be all that's necessary.

---------- Post added at 02:43 AM ---------- Previous post was at 02:07 AM ----------

I'm actually working on a fuschia-colored theme, one to match my desktop background. :D And a matching CM12 theme eventually, hopefully. I have a mighty craving for bright, vivid colors.
[LG Optimus G Pro] bountyman334:
have u tried naming the backup...b4 backing up
[LG Optimus G Pro] ecrum:
yes. bt it's not only the backup restore. i found the external storage is (0) in install zip too in f240k. actually it never mounted. that is the problem. Renaming works for some 980 guys who can see the ext.card bt could not make backup to external. wish at least tht worked for me. :(

i'd try to do some logging for culot rather not waiting bt this will help him most i believe. it works fine( works everything)

https://doc-00-68-docs.googleuserco...203/*/0Bx5wbqoLgEQScExleDdjeDZfVEU?e=download

please dig it for us dear
[LG Optimus G Pro] culot:
Ah, thanks. I'll pry it open soon here and find where I went wrong.
[LG Optimus G Pro] Schrotty35:
Is there twrp for e986?
[LG Optimus G Pro] Schrotty35:
I have use flashify on my E986/E980 for install on stock 4.4.2 and now i see only the LG Logo with Secure booting error.
[LG Optimus G Pro] DorkyDev:
What else do I need to do to get this done successfully and how do I get into Custom recovery, not sure if it took, it said insecure boot and something else after rebooting from flashify do I hold power and volume up or down and home key or?

_

"Secure booting error

Cause: boot certification verify"

Is what it exactly says...
[LG Optimus G Pro] Emmanuel U:
Is there a fix for the "boot certification error"? I installed this on my stock ROM mistakenly with CWM before I noticed that there were instructions not to. I can't boot into recovery nor rom.

Edit: Nvm I flashed back to stock.
[LG Optimus G Pro] @lexda:
Hello, I have Optimus G Pro F240K and I have installed the ROM stock 4.1.2, with recvery TWRP 2.6.3.0.

my question and, I can pass this recovery through adb sideload without any problems?

and then I have to unpack the zip file, or leave whole?

thanks hitekredneck
[LG Optimus G Pro] hitekredneck:
Please note that as stated, I take no credit for this recovery as I am not the original developer. This question would be best suited for [MENTION=6079287]culot[/MENTION] as he is the main developer for TWRP for the Optimus G Pro variants. I would assume that you should be able to sideload one of the available IMG files and flash it with Flashify, but I may be mistaken. It would be best to wait for Culot to weigh in on this subject and verify if my assumptions are correct.
[LG Optimus G Pro] @lexda:
ok thanks hitekredneck now I try to ask culot.
[LG Optimus G Pro] culot:
If you're on Windows, then this should work to root and install the recovery for you. It's what I used when I started over from stock to make sure I spent the least amount of time in stock as possible. Maybe the version of TWRP in that zip is an older one; it wouldn't hurt to replace with the one in OP.

Sorry the non-update fruiting, I've been ill and everything is all mucked up.

---------- Post added at 12:26 AM ---------- Previous post was at 12:22 AM ----------

It turned out that I specified EXFAT instead of VFAT in the fstab, and exfat was not even included/enable in the kernel. In the future that can be easily fixed by just setting it to auto, though it's not difficult to add EXFAT. which should be in there anyway, as a recovery should be able to handle that (and NTFS, and whatever else).
[LG Optimus G Pro] @lexda:
I thank thee, but I meant are already rooted and I have installed the recovery TWRP fine thanks equal.

my speech is another
[LG Optimus G Pro] g0at1:
Hey, were able to work on that? What about F2FS?

Please don't take it for an ETA!

Thx
[LG Optimus G Pro] culot:
F2FS is go for cache and data partitions. I could not get it working on the system partition. There's going to be a problem using F2FS if a rom's installer doesn't recognize that options other than Ext4 exist, as many want to format to Ext4 during install. F2FS, Exfat, ext4, fat32, NTFS are all go for the USB-OTG (maybe HFS+ too, havn't tested yet); perhaps for the external SD, but insufficiently tested yet.
[LG Optimus G Pro] ecrum:
any update on f240 recovery ..:silly: [MENTION=6079287]culot[/MENTION]
[LG Optimus G Pro] culot:
There'll be a fully-functional build next weekend, should be rock-solid. I don't want to put out another one that isn't reliable, so I'm going to beat the crap out of this before I post it up. So far it seems to be very fast and stable.

F2FS is fine, but I'm not sure how useful it really is, as most flashable Android zips want for format ext4 before installing. Benchmarks via FIO showed a huge speed increase with F2FS, but Antutu and a couple of others Play Store benchmarking apps showed it to be slower. I haven't seen any noticeable increase in speed in how it feels, and F2FS partitions seem to mount slow -- dunno what's up with that. I'm going to upgrade to all the latest F2FS-tools and kernelcode and go another round just now.

Maybe I could ship you a test build sometime next week to try on your f240? I'm almost certain it should be flawless and stable -- the issue from last time is definitely fixed.
[LG Optimus G Pro] yijinsa:
That's great news bro .can't wait to get latest twrp for my device .
[LG Optimus G Pro] ecrum:
any time bro any time :) just call my name . thnx in advance for everything
[LG Optimus G Pro] Ponder Stibbons:
Error installing zip file...

Hello @ all,

I think I found an error in this usefull program. I have made a screenshot of this situation.

I use cm12 nightlies from this side https://download.cyanogenmod.org/?device=e980 and I started with cm-12-20150329-NIGHTLY-e980.zip. Today I am on cm-12-20150403-NIGHTLY-e980.zip.

Here are my "workflow" :)

My E986 informs me when an cm12 update is available (I think that is a feature of cm). In the same dialogue is an option to download and install the new update of cm12. I confirm that and after download the phone reboots into recovery. Normally (that means in my old situation when I am using cm11 between cm11 m3 and cm11 m12) the recovery is able to install the new update. Unfortunatelly TWRP v2.8.1.0 is unable to do that because of an error message "E:Zip file is corrupt! E:Error installing zip file '/cache/recovery/block.map' (please have a look at the screenshot)". I have checked the md5sums of the downloads and they are correct.

When I press the install button in TWRP v2.8.1.0 it is able to install the same cm12 zip file.

What do you think? Is there a possibility to fix this annoying situation?

Many thanks in advance and Happy Easter!

Ponder
[LG Optimus G Pro] yijinsa:
Any update? Thanks
[LG Optimus G Pro] culot:
Sorry, apparently not. I can't borrow the device to test. It seems to be some sort of holiday for an undead lagomorphic ovaraptor, and people are naturally busy offering up sacrifices. I cannot rent time on an e980 to test like I had expected.
[LG Optimus G Pro] yijinsa:
It's OK bro .just asking but not requests .

Thanks
[LG Optimus G Pro] zepp3lin:
Subscribe to this thread for the F240K version to work.:good:
[LG Optimus G Pro] irt118:
Deleted
[LG Optimus G Pro] artssa:
Does anyone know if this new procedure (with Stock KK 4.4) work??

http://xdaforums.com/optimus-g-pro/orig-development/recovery-boot-unlock-install-recovery-t3054295
[LG Optimus G Pro] irt118:
yes, it'll work. Just install Recovery 6.0.4.4 and then flash twrp 2.8.1.0 via flashify
[LG Optimus G Pro] artssa:
And what about the BusyBox step? Not necessary?
[LG Optimus G Pro] irt118:
yep, it's not necessary.
[LG Optimus G Pro] artssa:
I see. I'm kinda noob, so I'll have to ask u one more question: i read that the purpose of using FreeGee is to, beside getting a new Recovery, unlock bootloader and bypass LG Security. Will Flashify do it also? Don't I need these things to flash a custom rom? (until now, i have only the Stock KK + root)

Thank you very much!
[LG Optimus G Pro] irt118:
recovery 6.0.4.4 does all for you. Flashify just only install a new recovery.
[LG Optimus G Pro] artssa:
I installed the LGOG Pro recovery, then flashed the recovery using Flashify, but it didn't work, it softbricked my phone.

I don't know if I did something wrong, but I don't think so, I followed the steps.

However, after solving the softbrick (I flashed original KDZ), I followed the steps from the XDA topic that i posted earlier and it worked perfectly (LGOG Pro Recovery 6.0.4.4 + Busybox + FreeGee (TWRP) + after all that, update TWRP).

Thank you guys.
[LG Optimus G Pro] irt118:
glad to hear that :o
[LG Optimus G Pro] Shmong:
Here is the problem:

When i flashing BlissPop3.4 i see the message: This package for E98x, your device is F240L. But my device isn't! It's E988. Do this error about recovery or not? Because i cannot find CWM to try, and ALL TWRP i've installed getting this error.

Maybe you know how to fix it?
[LG Optimus G Pro] t3chwizard:
[MENTION=6079287]culot[/MENTION] I sent you a PM and an email. I hope you see them . I want to try to help out on this if possible.
[LG Optimus G Pro] nerdyblonde:
Hey guys! So today I worked on TWRP 2.8.7.0 for us and got it working.. Haven't tried to put it a zip file yet, but flashed img with Flashify.. First boot into TWRP, the touch wouldn't work on (I believe this happened previously with 2.6.3.3) but second boot all worked fine.. So did the other 10 times I tried it.. I did a complete wipe, flashed Bliss and all worked good.. I am having it tested by another user, and if backup and restore is working, I will post to XDA tomorrow and push my config to Github.. I will be able to keep it updated for us now since I figured out the right configurations!

I just noticed my fingers look all weird in that pic...Just for the record, they don't really look like that.. Lmao
[LG Optimus G Pro] nerdyblonde:
The new TWRP is up on a new thread in original dev forum.. Have a good weekend everyone!
[LG Optimus G Pro] ThoR294:
holy fking malware batman on the download links. can you pick a crappier download site? lol
[LG Optimus G Pro] xdax1:
4shared gave me The file link that you requested is not valid. on the first OP download (the flashable zip)
[LG Optimus G Pro] hitekredneck:
Folks, refer to the post directly above these last two. This version is severely deprecated. Use the one from NerdyBlonde and your problems will be solved. I have moved to a different device and rarely check this thread any more.
[LG Optimus G Pro] ashhad101:
Hey i have lg g pro not sure it is optimus g pro or just g pro but anyway i used app called freegee to install twrp on my lg e980 at&t but problem is i havr twrp version 2.6.8.0 but i want latest version twrp so i can install a lollipop please tell me that can i flash this twrp currently i have stock rom runinng android 4.1.2, please help. Thanks
[LG Optimus G Pro] g0at1:
Download twrp 2.8.7 from official website. There are newer versions, but they weren't lokified...
[LG Optimus G Pro] ashhad101:
so should i just download zip file and flash it??
[LG Optimus G Pro] g0at1:
You download the .img file and flash it with flashify.
[LG Optimus G Pro] ashhad101:
yeah i used flashify to get latest twrp for my device:good::good:
[LG Optimus G Pro] g0at1:
The latest twrp was not lokified some weeks ago. Because of that, it wouldn't flash anything. However, try and report.

If the latest doesn't work, go back to 2.8.7. It's also available on twrp website....
[LG Optimus G Pro] ashhad101:
my twrp worked perfectly:laugh::laugh: it was version 3.x.x.x , successfully flashed new android lollipop rom
[LG Optimus G Pro] saintbump:
nevermind figured it out
[LG Optimus G Pro] Arjomer:
Hi guys, I recently bought this phone as my 2nd phone, so I decided to flash a new rom (since phone came rooted) so I thought it had a custom recovery so I bumped to recovery.

When I got to recovery I had the 'boot certification error' or something like that. So. Can I flash this .IMG to fix this? Or do I have to flash back to stock

I have the f240l btw
[LG Optimus G Pro] @lexda:
for the gallery wallpapers lg

What is the path to android lg systemfor the wallpaper gallery?
[LG Optimus G Pro] soralz:
I might take a look with it later if I have time later regarding the SD card and update the links again.
[LG Optimus G Pro] hitekredneck:
My apologies [MENTION=6079287]culot[/MENTION]. It is now available as an attachment on the OP. It is the recovery.img that soralz provided, to be used by users when flashing on a stock ROM. The flashable zip file causes verification errors when flashing on a stock ROM so he provided the .img file to be flashed with Flashify for users with stock ROM's.

BTW - Thanks to all of you for delving into this and trying to get us a fully functional TWRP of the latest version, it is greatly appreciated!
[LG Optimus G Pro] powerserge1:
So we have to root our phone to install TWRP or no? Be nice not to have to go through so many steps to root and install CWM/TWRP by other methods. I am new to this device, I have the E980 and not sure if the bootloader lock is an issue. What I am getting is that if I have a new phone with stock I can boot to stock recovery and install this? Thanks in advance for your help.
[LG Optimus G Pro] hitekredneck:
You still must go through the root and recovery install process using the FreeGee method. But once you have the device rooted and a recovery installed, you can use Flashfy to install the recovery.img file that is supplied in the 2nd attachment in the OP. That .img file is to be used if you are running a stock ROM and must be unzipped before Flashifying it. If you flash a custom ROM that is not a stock variant, such as BlissPop, CM or any other CM based ROM, you can simply flash the TWRP flashable zip file that is in the first attachment on the OP.

I have added this information to the OP in the hopes that no one will attempt flashing this before obtaining root and S OFF workaround has been applied first. Please check the appropriate sub-forum for FreeGee specific information.
[LG Optimus G Pro] soralz:
Guys, good news !!!

EDIT: This consider quite stable and basically everything works already.

To Do (Final):

-Cleanup, and remove unnecessary mount points.

NOT FLASHABLE, EXTRACT and then flash it with apps such as Flashify.
[LG Optimus G Pro] culot:
Sweet. :) I like that the hideous TWRP boot image is changed! If only that lovely Play theme was included.

Note: Coming from stock Kitkat it still gives the secure boot error, but that can be fixed by Lokifying it. I used the Sphinx GPro Recovery aboot.img to Loki patch it, and it worked great, from a fresh, rooted Kitkat 20g install.

This is same thing I have to do to make Freegee work, also, so I think you can probably just install the CWM recovery via the old Sphinx GPro Recovery first, but do not reboot into, then flash the image you've provided, via Flashify or DD or whatever, and it should work swimmingly on Kitkat stock.
[LG Optimus G Pro] soralz:
The Play Theme is included on the first page, my post. I will update some more info later. Currently busying about homework :D

Anyway I think there are still some bugs with the recovery but I think it's not necessary to fix them, I might or might not fix it either. Such as vibration and screen timeout is missing. It's annoying anyway if you turn those features on. :P
[LG Optimus G Pro] culot:
Good grief, I didn't even notice that. Way ahead of me. :D Thanks!
[LG Optimus G Pro] ricco333:
Great Job guys! does this TWRP Lokifies the image when flashing? In other words, does it have built-in LOKI support?

I miss TWRP, again thank you for the efforts.

Erik
[LG Optimus G Pro] culot:
Anyway, for those on fresh, stock Kitkat using Windows:

- Download.

- Unzip wherever.

- Root about first.

- Have ADB in your PATH, or copy the stuff from the 'adb' directory up one.

- Run 'nifty2.bat'.

- All else is evident.

This mainly Lokifies the TWRP image. Also adds the Aroma File Manager option.

Note: that modified Play theme is way wicked nice. :D

EDIT: Updated with latest version located a few posts below. And tested it again on fresh Kitkat: flawless.
[LG Optimus G Pro] soralz:
I am finalizing the TWRP, Currently modding something my phone went into a softbrick :eek: Have to revive using LG Flash Tool. Please hold ;). But for sure I can't enable screen timeout and enable vibration though. Don't know how-to .

But current state of the TWRP is pretty stable already. :D
[LG Optimus G Pro] culot:
Ah, k. Holding position initiated.
[LG Optimus G Pro] soralz:
Anyway, can someone explain to me what is Loki? Stock KitKat doesn't have whatever Loki isn't it? Because on start-up the FreeGee app it just give me not supported on KitKat 20a.
[LG Optimus G Pro] culot:
Loki -- takes care of the secure booting error, allowing custom recoveries, which is the gateway to nirvana. I don't pretend to understand it comprehensively, but I think that gist jives,.

I assume Freegee uses 'loki_tool' to attempt to check if the device's aboot.img is compatible, which is why it balks at e980 Kitkat installs. For some reason the Loki hasn't been updated to work on Kitkat for the e980. It reads the Kitkat aboot.img and says, "WTF is this crap?!" Flashing the Sphinx Gpro CWM recovery (the aboot.img specifically) fixes that, allowing Freegee to recognize and accept it (or just feed loki_tool that Sphinx aboot.img when loki patching).

Erm, I think that's about right. Regardless, the method in that Nifty2 batch file is what I always use, as it cuts out both of the annoyingly online-only Freegee and Towelroot apps. Too bad I can't figure out how to repack a TOT or KDZ for a lean, pared-down build, so that frustratingly awful stock Kitkat could be avoided.
[LG Optimus G Pro] soralz:
So does that mean I can get rid off the "Secure booting error" message whenever I start-up my phone?
[LG Optimus G Pro] culot:
Loki doesn't remove the secure booting error message, but changes it so it says 'success!', meaning it no longer in an impediment. Maybe you could try Bumping it? I believe that removes that error entirely (haven't had much success yet with that, but no secure booting errors when I've tried it).
[LG Optimus G Pro] ricco333:
Loki only works when you restore to the Jelly Bean 10g .tot using Flash Tools, the Loki workaround was patched by LG with the official KK release. If you flash the 20g .tot file Loki will not work.

Erik
[LG Optimus G Pro] soralz:
Well, now I am getting "Secure booting error" message and "Cause: Device UnLock, so boot success message". I just straight flash from stock LG 4.1.2 and the phone still boots nicely into CM.

Anyway. This is all the last TWRP I compiled. Lazy to mess with it already. So it's final. :p

Working:

Everything, including SD Card mounting.

Bugs / Issues (won't be entertained since it's not necessary fix also):

-Unable to set screen time-out

-No vibration

**I don't plan to create a flashable zip because it keep's giving "boot certification error".

There are three recoveries with different theme.

OP [MENTION=1946677]hitekredneck[/MENTION] please update, it's final-ed :)

Description:

-aromafm-1.91.zip --- Aroma File Manager

-com.cgollner.flashify-1.8.3.apk --- Flashify

-unofficial-twrp-2.8.1.0-e980-geefhd.img --- stock TWRP theme

-unofficial-twrp-2.8.1.0-e980-geefhd.zip --- same as above but flashable, BUT only works on lokified-able recovery such as Philz or you have a modified, unlocked aboot, else you will get "Boot certification verify"

>> TWRP 2.8.1.0 Materialised e980-geefhd --- TWRP with Play theme mod folder

--ui.zip --- Play theme (Place in /sdcard/TWRP/theme/ui.zip)

--unofficial-twrp-2.8.1.0-PLAY-e980-geefhd.img --- TWRP with complete Play theme, doesn't need ui.zip

--unofficial-twrp-2.8.1.0-theme-e980-geefhd.img --- stock TWRP theme but with new splash screen

Download

Thanks to:

[MENTION=912474]Dees_Troy[/MENTION] for the original recovery

[MENTION=3717338]hoangnova[/MENTION] for the modded recovery (I just mod it to add more usablity, without him there's no TWRP 2.8.1.0 for our device!) [MENTION=1946677]hitekredneck[/MENTION] OP, which I found TWRP 2.8.1.0 for our device

[MENTION=2719389]z31s1g[/MENTION] for the Play Theme!

Screenies in attachment.

and... good night... :)
[LG Optimus G Pro] Fant0m3:
Wow you guys rock lol I just last night pulled source and was going through it to find discrepancies lol....I'm to slow at this stuff hahaha anyways much appreciate
[LG Optimus G Pro] culot:
>Well, now I am getting "Secure booting error" message and "Cause: Device UnLock, so boot success message".

That's totally normal, and is a good sign. :)

> This is all the last TWRP I compiled

Is the code up on Github? I would enjoy playing with one that compiles and actually functions (mine has not reached the functional stage yet).

> **I don't plan to create a flashable zip because it keep's giving "boot certification error".

It's not too difficult to throw a Loki script in there. If no one beats me to it, I'll put a flashable version up tomorrow.
[LG Optimus G Pro] ydim73:
Thank you, man. You are the best. It works on my E988 20b CIS very good. :good:
[LG Optimus G Pro] hitekredneck:
Am I correct in assuming that I need to update the .img file in OP, with "unofficial-twrp-2.8.1.0-e980-fhd.img"?

Let me know for sure and I will swap them out.

Thanks for all the hard work on this!
[LG Optimus G Pro] soralz:
Actually I have the zip, I can upload it here later. I don't prefer it because I keep getting secure booting error and can't boot into it. Maybe it's caused by I am using stock LG aboot.
[LG Optimus G Pro] Fant0m3:
Flashed through rom toolbox perfectly ui.zip was beautifully done and works flawlessly
[LG Optimus G Pro] soralz:
I have to admit, I don't have github account, I just made some small modifications to it using simple Android Image Kitchen.

Line added into existing /etc/twrp.fstab file

/external_SD exfat /dev/block/mmcblk1p1	/dev/block/mmcblk1	flags=display="SD Card";storage;wipeingui;removable

That do the trick. :D

For theme, I just merge existing Play theme and put it into /res folder. That converted the stock TWRP to Play style theme. :good:
[LG Optimus G Pro] hoangnova:
Very nice. Thanks for your work.

And now we dont need loki, we can use bump !! And it works well on 4.4.2 bootloader.
[LG Optimus G Pro] culot:
Ah, k, thanks. :) But dang! I was hoping for a lead in the source on why my freshly-compiled version doesn't boot. Ah well, back to the code dungeon!
[LG Optimus G Pro] hitekredneck:
OP has been updated and all downloads are now pulled from my 4Shared storage. The 10MB limit for attachments was preventing me from uploading the .img files because they were too big. Therefore it was necessary for me to zip them before uploading. I feel that the current way I am doing it will be less confusing because the .img files do not need to be zipped and everyone knows exactly which one the flashable .zip is.

Thanks again guys for all your long and hard work. If anyone sees anything that needs to be changed in the OP, please let me know and I will get it done.

Merry Christmas Eve! - HTR
[LG Optimus G Pro] culot:
Are you perhaps going to update your Sphinx installer with a fixed SD card TWRP 2.8? That's such a convenient app, which saves many users from having to do things manually like flashing and .IMG, etc.
[LG Optimus G Pro] soralz:
Update Dec 27 Sat GMT +8.

http://xdaforums.com/showpost.php?p=57701624&postcount=38

Add:

Ability to wipe USB-OTG partitions.
[LG Optimus G Pro] irt118:
will this twrp work with F240?
[LG Optimus G Pro] soralz:
If you can extract the build.prop from Unofficial custom ROM I can port it and might work.
[LG Optimus G Pro] irt118:
here is the file build.prop
[LG Optimus G Pro] soralz:
You sure this one is from F240? Because when I check the details it state E980 also.
[LG Optimus G Pro] irt118:
Yes, I'm using vanir ROM with F240 kernel

Edit: I tried your mod twrp and everything work expect sd card mounting