yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] jagman96:
The DL link from OP is now working :). I have used this TWRP recovery for a long time without any issues. I have a vs980. I was on 2860 and it was fine. I downloaded 2861 because I wanted to flash Vanir 5.1 and flashed it. After rebooting to recovery I was unable to install anything or do a backup. The swipe right line at the bottom just had a line but no circle to swipe across. I rebooted the system and extracted the image and flashed it via Flashify (since I couldn't flash it in recovery). Rebooted to recovery but it didn't fix it. I redownloaded the 2861 zip thinking I had a bad DL. No dice. I then downloaded 2851, extracted the image and flashed with Flashify, went into recovery and it was back to normal. I then tried downloading the 2861 version from the link in the post above thinking the file might be different but again I had the same problem described above. Have any of you experienced this (vs980 or other versions)? I want to flash the 5.1 builds but I don't think I can without being on 2861.
[G2 Android Development] jagman96:
BTW I tried flashing the official 2860 image and the same prob was there. I went back to 2851 again and it is back to working. Strange. Again this is vs980.
[G2 Android Development] dt_matthews:
Did you have a skin/theme installed?
[G2 Android Development] jagman96:
Yes. Play light. 2861 is the only one this has happened with but I'll try disabling it.

---------- Post added at 08:29 AM ---------- Previous post was at 08:18 AM ----------

That was it! Play light doesn't play nice with 2861. I re-enabled the theme and it broke again. Disabled again and now 2861 works. Interesting.
[G2 Android Development] dt_matthews:
Glad that was the issue - I had the same problem with a theme, removing it resolved.
[G2 Android Development] hteles:
Help!

Hi, there.

I was using Philz touch with cm12 but today i updated recovery to twrp from this thread and all went well, but after reading some more i thought in updating the boot loader to KitKat too.

After updating to kitkat bootloader ( KK-20H-D802-BOOT-LOADER.zip )from here ( http://www.dorimanx.com/LG/ ) my phone doens't boot and i can't enter recovery nor ADB nor nothing....

It boots to a black screen after a error displaying "secure booting error". I can enter to the menu ( power+down follewed by up+down ) where it should go to the recovery ( Factory reset ) and after i reset the history repeats itself :(

Any Help? How can i get download mode/ADB/Fastboot? :crying:

Edit: Solved already. I was missing plugin the USB cable tonenter download mode.... Was a Samsung user for a long time :p
[G2 Android Development] albertorodast2007:
Been there, but are you completely sure you can't enter Download mode? With the device powered off keep pressed Vol Up and connect to PC. If you can, just follow the instructions here http://xdaforums.com/showthread.php?t=2797190 to flash kdz stock ROM. That was the only way I could unbrick it.
[G2 Android Development] hteles:
Hi.

Thanks for your reply.

I've just finished restored my phone. The step that was missing was to plug USB cable tonenter download mode :banghead:

Already restored stock ROM, applied autorec and reinstaled cm12 too.

Regards. I will avoid messing again with the boot loader.

Regards and thanks
[G2 Android Development] Nandrew:
Has anyone ever had recovery not load past the TWRP splash screen? -the phone will just reboot after showing splash screen for like 3sec. My vs980 system works fine. The issue is when I reboot to recovery manually or from my ROM's advanced reboot options. Recovery worked fine. ROM works fine. Friday, I successfully flashed some gapps. That was the last time I was in recovery. I even extracted and flashed recovery image in flashify thinking something got jacked. Anyone ever see this issue before?
[G2 Android Development] SkipDeath:
confused

Hey sorry for sounding like a noob but I can install any rom I want right? I mean it doesnt necessarily has to have f2fs support because i havent changed my partitions from ext4 to f2fs. And does it really matter if I dont update the bootloader. I want to install CM12 rom so I was wonderimg if I have to do something else as well.

Thanks.
[G2 Android Development] Sunandroid:
For CM12 you need to be on JB bootloader. F2FS is optional. So no need for a ROM which supports it. ;)
[G2 Android Development] Nandrew:
Can someone check there permissions for dev/block/platform/msm_sdcc.1/by-name/recovery ? Mine is 0600 is that correct? Pulling my hair out here lol
[G2 Android Development] bolt890:
Had the same issue 3 times and to me it only happens when i use android 5.1+F2FS. I mentioned it before and it only happens with the setup i mentioned.(If ur wondering blisspop 3.0 has blackbird in latest build and render in the first build for the d802(official) which i used to boot F2FS).
[G2 Android Development] Nandrew:
Thanks for the feedback. I'm on f2fs on stock vanir 5.1 (stock kernel).
[G2 Android Development] HueyT:
Try AutoRec by Bender_007 if you're on LP or AutoRec by CloudyFA if you're on KK/JB

https://play.google.com/store/apps/details?id=b007.autorecvs980 is for LP

https://www.androidfilehost.com/?fid=23329332407585976 is for KK/JB
[G2 Android Development] Nandrew:
What bootloader does autorec for kk/jb leave my phone with? Sorry guys. HueyT I tried to PM you..
[G2 Android Development] HueyT:
12B which is JellyBean which plays well with LOKI'ed roms. KK bootloader needs BUMPED roms to work
[G2 Android Development] liusi522:
Thank you

Thank you very much for sharing:D
[G2 Android Development] noidea24:
Also confirming this. Ive had to restore my vs980 to stock via kdz 4 times now, and about to do it again. Is there anyway to convert back to ext4 without the recovery?

Right now im on blisspop 3.0 with renders r12 kernel, and data/cache to f2fs. And i am stuck where i am until i go back to stock again and re root, reinstall recovery, etc.

Android 5..1 and f2fs is definitely the cause of recovery problems. someone please fix it XD
[G2 Android Development] berryman13:
5.1 does not support f2fs whatsoever on this device and this was an intentional move.

f2fs sucks. You can't get back to ext4 unless you do so via recovery or repartition it via a usb or sd reader.
[G2 Android Development] noidea24:
​

Actually, my phone is still working flawlessly with blisspop 5.1 and f2fs as cache and data. Besides not being able to use my recovery.

I like f2fs, write speed is about the same but read speed is almost quadruple and you can definitely feel it with the right setup.
[G2 Android Development] 0xetrov1:
Does ROM and Kernel support is needed for F2FS for Data partition? or can I simply convert my data to F2FS? :confused:

Thanks
[G2 Android Development] noidea24:
In order to convert data to f2fs you need to backup ALL data from internal storage to your computer (because this will format the device).

I'm almost positive kernel and ROM need to support it, but I've tested every ROM for my vs980 and as long as i flashed a f2fs compatible kernel (renders kernel) it would boot and run fine.
[G2 Android Development] ffejy462:
Otg drives work well too.

xdabbeb's vs982.5 (for Vs980) ver 1.2 rom (with kernel) has f2fs support as well.

lg g2 xdabbeb's vs982.5 1.2.0
[G2 Android Development] Z0ld3n:
Just wanted to share repacked recovery with changed splash screen ( dark teal from this post ). All credits goes to [MENTION=5031300]blastagator[/MENTION] for recovery and [MENTION=5444464]PunchUp[/MENTION] for splash screen. D802 only!!!
[G2 Android Development] midan:
You can other TWRP themes plase?
[G2 Android Development] Z0ld3n:
If for D802 than sure. PM me which splash screen.
[G2 Android Development] risis78:
Yes, works on F320L!

I installed it by zip file. It seems all ok except for the external sd. I can not use it for backup-restore or to explore it with file manager.

With TWRP 2.7 (installed with AUTOREC) external sd works except only for usb storage mount.

Thanks for your work
[G2 Android Development] blastagator:
Can you please link me to the TWRP that properly mounts your external SD? I'll see if I can add support for you :)

Strike that - working on it now :)
[G2 Android Development] luv2increase:
It didnt work. Sorry
[G2 Android Development] je2854:
try using flashify (it's free to use)
[G2 Android Development] blastagator:
Please try: https://www.dropbox.com/sh/p9oliddhx5yqkbw/AADb1YlQbdSiOTECDkGNiMdta?dl=0

Let me know a) does it work at all? b) if SDCard working?

:)
[G2 Android Development] b1g.p0ppa:
Thank you for that suggestion, but I'm not desperate to get it installed. In fact, I have already loki_flash'ed it by skeletonizing an old twrp zip. I was just reporting the issue thinking the next time twrp updates may not install for whatever reason loki hates my aboot.img. I'm not dead in the water or in any kind of dire straits, just trying to contribute however I can. I may be coming off like it, but I don't mean to be a squeaky wheel or need/expect any kind of special treatment.
[G2 Android Development] blastagator:
Please try vs980 zip here: https://www.dropbox.com/sh/den7x131v5xopv1/AABDt2pNElpuC-ZRVpl8IYMha?dl=0

Let me know if works :)

And no, you're not the squeaky wheel. This was just kind of a pet project I randomly decided to do / learn. So I am still learning as well. I appreciate the feedback and want to get everything as close to perfect as I can! But the fact of the matter is I only have a d800, so everything else I am working in the dark.
[G2 Android Development] je2854:
this is why they invented glasses... (us VS980 users who are brave enough to put our phones on the line for you)
[G2 Android Development] blastagator:
lol be nice to him. We all have to start somewhere.
[G2 Android Development] b1g.p0ppa:
Awesome. I'm happy to do what I can. The zip failed printing the exact same error on the screen.

/tmp # sh -x ./loki.sh

+ grep -c lcd_maker_id=1 /proc/cmdline

+ lcdmaker=0

+ [ 0 == 1 ]

+ [ 0 == 0 ]

+ echo LGD panel detected

LGD panel detected

+ find /tmp/loki/recovery.img -type f -exec sed -i s/console=ttyHSL0,115200,n8 androidboot.hardware=g2 user_debug=31 msm_rtb.filter=0x0 mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_g2_jdi_cmd/console=ttyHSL0,115200,n8 androidboot.hardware=g2 user_debug=31 msm_rtb.filter=0x0 mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_g2_lgd_cmd/g {} ;

+ dd if=/dev/block/platform/msm_sdcc.1/by-name/aboot of=/tmp/loki/aboot.img

2048+0 records in

2048+0 records out

1048576 bytes (1.0MB) copied, 0.020968 seconds, 47.7MB/s

+ /tmp/loki/loki_patch recovery /tmp/loki/aboot.img /tmp/loki/recovery.img /tmp/loki/recovery.lok

[+] loki_patch v2.1

[-] Unsupported aboot image.

+ exit 1

/tmp # echo $?

1
[G2 Android Development] je2854:
Processing OpenRecoveryScript file...

I:command is: 'install'

Installing zip file '/data/media/0//Download/recovery_vs980_test.zip'

Installing '/data/media/0//Download/recovery_vs980_test.zip'...

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

I:Zip does not contain SELinux file_contexts file in its root.

I:Legacy property environment initialized.

-----------------------------------

- blastagator's LG G2 TWRP -

- 2.8.0.2 -

- LG G2 vs980 -

- (with F2FS and Thermal Control) -

- Build Date Oct 20 2014 -

-----------------------------------

Installing New Recovery

minzip: Extracted file "/tmp/loki.sh"

minzip: Extracted file "/tmp/loki/loki_flash"

minzip: Extracted file "/tmp/loki/loki_patch"

about to run program [/tmp/loki.sh] with 1 args

LGD panel detected

2048+0 records in

2048+0 records out

1048576 bytes (1.0MB) copied, 0.028585 seconds, 35.0MB/s

[+] loki_patch v2.1

[-] Unsupported aboot image.

run_program: child exited with status 1

script aborted: assert failed: run_program("/tmp/loki.sh") == 0

assert failed: run_program("/tmp/loki.sh") == 0

I:Legacy property environment disabled.

E:Error executing updater binary in zip '/data/media/0//Download/recovery_vs980_test.zip'

E:Error installing zip file '/data/media/0//Download/recovery_vs980_test.zip'

Done processing script file
[G2 Android Development] blastagator:
Derp. I think I fixed it for real this time, try again. File has same name :p
[G2 Android Development] b1g.p0ppa:
EDIT: nvm
[G2 Android Development] je2854:
works as it should this time!
[G2 Android Development] blastagator:
Cool! I shall remake all of the zips with the updated loki.
[G2 Android Development] je2854:
I was referring to you not having a VS980...

there are other users out there that are willing to help you test things.

I was not trying to be rude, being helpful as I can.

Sorry if you misinterpreted what I was trying to say.
[G2 Android Development] b1g.p0ppa:
Confirmed! Rebooted recovery just to check version and yep, it works. Nice work, [MENTION=5031300]blastagator[/MENTION]! And thanks to you, [MENTION=3016475]je2854[/MENTION] for putting your VS980 on the line for us myopic minions!

EDIT: Cool. I see what you posted when I posted this and no hatin' here.
[G2 Android Development] je2854:
as well as flashify works perfect too.

BUT flashing over an existing TWRP

works now. /thumbsup
[G2 Android Development] blastagator:
Oops, sorry :)
[G2 Android Development] b1g.p0ppa:
Omg, just looked up where Montgomery is. My mother's side hails from Trinity (19 miles north of Hunstville on HWY 19). Small world, eh?

---------- Post added at 11:36 PM ---------- Previous post was at 11:34 PM ----------

LOL! Dang, you got my internet muscles all flexed up for nothing! I'll remember that then next time we're down at WDW (we've gone there like every year for 6 years!).
[G2 Android Development] ninjazin:
Also made a custom splash version

ONLY FOR D802!!!

See attached image

Download here: https://mega.co.nz/#!mA9xSBaS!TusjaBfT32rnkzdy5SwOQ2FVRbMHoPtbCMR9M5-vQKs
[G2 Android Development] blastagator:
Anyone still looking for lgl22? I'm working on the kernel again seeing if I can get it compiling. IF I manage to get that to happen, I will need tester(s). [MENTION=6077145]A Sornchai[/MENTION]

UPDATE! I have (I believe) fully fixed the lgl22 kernel. It now compiles and has the thermal config as well as f2fs. :D :D :D Hit snag when got all the way to end of build and hit building dt.img. dt.img threw an error and crashed the build. It is already 1:15AM here and I need to go to sleep, already going to be tired as it is at work tomorrow. Just wanted to let all know that I am very close!
[G2 Android Development] pattonsj:
Tester(s) or teste(s). Sorry, couldn't resist. Carry on.

Sent from my SM-N910V
[G2 Android Development] renaltosonylevi:
Sorry this might have bean well covered earlier in the thread but is it possible to include the bootloader and laf partition in a backup?

Just wondering if that would make it easer to have a backup of stock lp and ROMs that require a jb bootloader? :)

Edit

Have managed to read a bit further back and I say there is nothing like a good soft bricking to "learn em up" ( I speak from experience).:thumbup:
[G2 Android Development] dorimanx:
I have a request.

We have advanced restore. Good.

Now how about advanced backup?

I want to backup only the data, to save time and room...

So i can test something then restore data...

Should not be too hard, just reverse the restore to backup, by using same function for menu, but change the action to backup :)

I wish i could do that my self....

Sent from my LG-D802
[G2 Android Development] urushiol:
Dorimanx,

What version of blastagator's twrp are you using? I am on v2.8.6.1 for the D800 and have advanced backup and advanced restore.

And just a btw, huge thanks to you Dorimanx for the most amazing kernel ever, and thanks blastagator for such a great version of TWRP!!
[G2 Android Development] blastagator:
Under backup you can select only certain partitions. I am not sure I am understanding correctly.
[G2 Android Development] A Sornchai:
Very thanks sir, Now my recovery's twrp 2.8.6.1 lastest version port to l22 by andy_zhang, he is a Chinese developer. It's work great. Thanks for your work. I want to test it.

Sorry for my bad eng.
[G2 Android Development] blastagator:
lgl22 build complete! Please test:

http://blastagator.ddns.net/testing.php

Note: Version will read 0.8.6.1 - since this is a test build. Once confirmed working, I will rerelease with correct build number.
[G2 Android Development] dorimanx:
Hmm, sorry you right, i was thinking that i seen it only in restore.

Any way thanks for reply :)

Sent from my LG-D802
[G2 Android Development] A Sornchai:
OK, Thankfully.
[G2 Android Development] blastagator:
No problem. Just shows even the best man can overlook something! Makes the rest of us feel a little better.

Also, pending confirmation of working lgl22 recovery, if you look at my kernel git, I only had to make a couple tweaks to add lgl22 kernel support, if you're interested in adding. Idk how many users there really are though...

Still not working, boo.
[G2 Android Development] A Sornchai:
Not work. When I flash twrp 0.8.6.1 complete and then reboot system, it's ok.

But, when I reboot to recovery agian. It's to be reboot system not recovery.

And manual mode can't boot to recovery too.
[G2 Android Development] blastagator:
Do you get black screen and have to reset? Do you ever see TWRP logo?
[G2 Android Development] A Sornchai:
Yes, that is correct.
[G2 Android Development] A Sornchai:
Fueled by my recovery version or not.

"Now I use twrp v2.8.6.1"
[G2 Android Development] blastagator:
What?

Can you post link (URL) to the working version?
[G2 Android Development] A Sornchai:
Ok, credit : andy_zhang, he's Chinese developer.

https://mega.co.nz/#!RM9GXLIR!jhhwb6wAkkhV-dQyehtBHGFOuhiDMAZyClt9f4hKLgs

---------- Post added at 05:45 AM ---------- Previous post was at 05:36 AM ----------

Twrp v2.8.6.1 work great, thanks for your work and I hope to be support l22 in the next version.
[G2 Android Development] blastagator:
Please try this one: [Removed]
[G2 Android Development] A Sornchai:
Ok. When I flash complete and reboot recovery, it's ok but show old version twrp 2.8.6.1 not 0.8.6.1 .
[G2 Android Development] blastagator:
Please try beta3 - http://blastagator.ddns.net/testing.php
[G2 Android Development] A Sornchai:
Thanks, version is available to twrp 0.8.6.1 and work very good.
[G2 Android Development] blastagator:
Great!!!

Please try beta4 (0.8.6.2) - http://blastagator.ddns.net/testing.php

Test SD-Card please.
[G2 Android Development] :
[MENTION=5031300]blastagator[/MENTION],

Hey man, did you ever start using the updated F2FS binaries from XDABBEB?

I repacked your TWRP with my kernel (just because) and his binaries because I was still getting the kernel panics occasionally when wiping F2FS partitions.

Haven't had a single one again yet since switching to his binaries.

Just wanted to toss the idea out there, since the only way to fix it when people start getting the kernel panics otherwise is convert to EXT4 and lose everything. With the updated binaries, that stops being so.
[G2 Android Development] blastagator:
I don't want to manually unpack and repack every build. When I messed with it a little bit, I kept getting error that mkfs.f2fs module wasn't found, even though it was defined in the makefile.

I'll fiddle around with it one of these days.
[G2 Android Development] A Sornchai:
Ok,work. It can choose file from

- internal storage

- usb-otg

- external sd

To install.
[G2 Android Development] :
If I'm not mistaken, you should be able to define them as product copy files in the makefile. Though that may not override the ones that are being built.
[G2 Android Development] blastagator:
May 2, 2015 (2.8.6.1)

-Added lgl22 support. All models now supported!
[G2 Android Development] A Sornchai:
Yeh ! Thanks you so much. I live in Thailand today is Sun, May 3, at 10:11 PM.
[G2 Android Development] blastagator:
That is a really good idea that I did not think of. Doh. I'll give it a whirl soon and see what happens. For tonight, I am happy with finishing lgl22.
[G2 Android Development] A Sornchai:
I'm very happy too.
[G2 Android Development] ajamie123:
not sure if im missing something but im not sure how to install
[G2 Android Development] blastagator:
The same way you would install any other version. Flash zip.
[G2 Android Development] ajamie123:
But it doesnt show anything for sdcard in stock recovery
[G2 Android Development] countryfolk07:
You need to have a custom recovery to start with. Not sure of all your specifics, phone, software version, firmware, etc. But there is autorec on the play store for several G2 models on lollipop. That will get you the latest.
[G2 Android Development] ajamie123:
should have noted that im on ls980 sprint running 5.0.2. Ive been trying to install via adb but every time i do i get UPDATE-SuperSU-v2.46.zip not found so i dont understand it im new to not having an sd slot so forgive me for sounding stupid
[G2 Android Development] :
What ton your on means nothing to recovery...
[G2 Android Development] ajamie123:
I'm just not sure what to do from here I can't install via stock recovery. adb is being difficult I've never had this problem before so
[G2 Android Development] xRaevyn:
Is this better than a normal TWRP?, im new here, what are the advantages of using this instead of the regular TWRP. There is a thermal throttle function, is that for preventing overheating during flashing?. Thanks!
[G2 Android Development] Sj12345:
i will try right now
[G2 Android Development] :
AutoRec not working then?
[G2 Android Development] ajamie123:
No tried that

---------- Post added at 12:12 AM ---------- Previous post was at 12:08 AM ----------

Not for the ls980 anyway they havent put one out for it yet
[G2 Android Development] jamesd1085:
Pm bender_007 and ask him which files he needs...if you can post him the files he can cook it up pretty fast usually...he posted weeks ago to get the files from all variants...if the files never got to him then nobody thought it was worth their time and effort...its a great tool
[G2 Android Development] ajamie123:
reverted back to 4.4.2 and installed using autorec no problems. now questing if I update to 5.0.2 using adb sideload does that overwrite the recovery so I have to figure all of this out again
[G2 Android Development] jamesd1085:
Have no clue...
[G2 Android Development] ajamie123:
for autorec for lollipop thank bender_007
[G2 Android Development] jamesd1085:
Been available for my device for over a month...i got bender the needed files for d801 and had a release the next morning...
[G2 Android Development] bender_007:
Check one of my posts. Ls980 has autorec. It's also in sprint thread. Today I'll try again to upload it to playstore.
[G2 Android Development] iamtha1:
Anyone else having problems flashing the latest xposed for lollipop 5.1.1 with blasts latest twrp... I get a binary error.. Not complaing or saying anything against his recovery. Just wondering if I'm alone or missing something.
[G2 Android Development] Lawlrus:
Check your pm's
[G2 Android Development] lambo98:
Appear notice 'E: Unable to Mount Storage' After wipe Internal Storage, it's will be fine?
[G2 Android Development] voxluna:
Unable to decrypt w/ 2.8.6.1, 2.8.5.1

I've read through the thread, I hope I haven't missed answers to this...

I have a D801 with 10c ROM. I've been rooted, installed the stock 2.8.6.0 TWRP recovery, etc for quite some time. Today, I'm trying to fix the long-standing problem where TWRP doesn't ask for the password to decrypt and mount my /data partition, and thus you can't make a (useful) backup.

So I found this thread, installed the latest version (2.8.6.1/blastagator) and here's all I got:

Trying Decryption with Your Password

Updating partition details...
...done.
E:Unable to mount storage
Full SE Linux support is present.
Running boot script...

Finished running boot script.

It just sits there, doing nothing but move the progress bar. Eventually the screen timeouts and turns off.

Next, I downloaded 2.8.5.1/blastagator, installed that, and now it keeps telling me my password is wrong. Yet it is the same password that does unlock and decrypt the phone when rebooting into the system.

Any idea what's going on here? My recovery log from /cache is attached, hopefully the correct one. Tx!
[G2 Android Development] Sunandroid:
It's a known issue of TWRP on the G2. Doesn't matter if which version (blastgator/official/whatever).