yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] purpleurkle:
I just flashed a cm12 nightly for the first time since installing 2.8.6.1, got an error during the install and now after I boot into the ROM and unlock the lock screen it immediately says unfortunately configupdater has stopped. When I hit OK it then says unfortunately the process com.google.gapps has stopped, then says google partner setup has stopped. I tried flashing the nightly that was on before but it won't go away. Can't use phone at all. Can someone please help? Thanks
[G2 Android Development] Sunandroid:
hold down the power button for at least 15 seconds, then use the buttoncombo to enter the recovery and either reflash, flash another rom or restore a backup.
[G2 Android Development] purpleurkle:
I flashed another ROM and it's still there

Update: flashed gapps again and that fixed it
[G2 Android Development] Au5t1n:
Whenever I try updating my version of TWRP I get an error message saying, "unsupported aboot image". I've seen others say this happens when trying to flash a .zip file with loki in it because it doesn't work with the new bootloader. What confuses me though is that I used AutoRec to downgrade my bootloader and install TWRP using the loki exploit so why won't it work? :confused:
[G2 Android Development] bender_007:
Update step by step. Which means upgrade to the next version. Then next higher and so on
[G2 Android Development] Au5t1n:
I get the same result :(
[G2 Android Development] bender_007:
Extract the zip and flash the img via flashify m8
[G2 Android Development] Bilgramiz:
Soft break forget to make backup G2 LS980

Hi Guys!

I forget to make backup and now there is no ROM install in my LG G2 LS980. I am currently using TWRP 2.7.0 recovery and also stuck how to update it. The problem is USB-OTG not mounting and i think because of this issue i also can't able to install ADB Drivers as in PC device manager there is no drivers showing there. Can anybody help me how to install ROM in my PC. The ROM which was installed in my phone is Cloudy G3. I tried almost every trick and procedure but failed to recover my ROM.

Kindly help me in this matter. Thanks in advance :)

Regards

Bilgramiz
[G2 Android Development] bender_007:
Usb otg will mount but format your flashdrive to fat32 format first
[G2 Android Development] Sunandroid:
[MENTION=6679357]f_4Strings[/MENTION] can't post here (10 posts rule) he has the following problem:

Hi, I'm on LG G2 stock Lollipop (5.0.2 - 30B), kernel dorimanx - TWRP 2.8.6.1. My smartphone isn't encrypted.

I'd like to use the Twrp encryption capability for my nandroid backups, but whenever I backup my Data partition, it unfortunately fails. The procedure ends up with the following output error: "Backup Failed" (I've attached an image)

More specifically, the twrp successfully makes the encrypted backup of all the remaining partitions (boot, system, cache, efs, modem), except for the Data partition! Please, how could I solve?

Source: http://xdaforums.com/showpost.php?p=60738243&postcount=6183

[MENTION=5031300]blastagator[/MENTION]
[G2 Android Development] creepin:
Can anyone please tell me how to flash twrp 2.8.6.1 on LS980? I am currently using v2.7.0.0. Do i have to simply flash over it or is there something else I have to do?
[G2 Android Development] pattonsj:
Yes, just boot into recovery and flash the new zip.

Sent from my SM-N910V
[G2 Android Development] DroidForLife33:
I'm trying to make a backup on my flash drive. I keep on getting a message not enough space. Can anyone help? Thanks.

Nevermind I figured it out the backups is 4 gigs and I didn't have enough space. lol
[G2 Android Development] toaom2:
Fix for "canno encrypt" issues?

It looks like there is a fix for the "cannot decrypt" issues with recent lollipop builds (such as the LG G2 5.01 image). I'm hoping very much that this patch will work for those devices too... Any chance of a new build?

https://gerrit.omnirom.org/#/c/13673/2
[G2 Android Development] iamtha1:
For the second time.. I made a backup of my stock lollipop rom.. Via blasts 2.8.6.1 twrp.. Flashed a new rom.. Decided to go back to the stock lollipop.. Flash kitkat bootloader.. Restore backup. Then it bootloops.. D800.. Wont boot whatever i do. Any ideas?
[G2 Android Development] renaltosonylevi:
To save lots of typing and repetition I will just link to this post.

Unfortunately the links are for the d802, but I think it will be the same concept for the d800.:)
[G2 Android Development] Tech_Savvy:
can i flash the lastest bumped twrp over the loki 2.7.0.0 and then flash roms that aren't bumped like blisspop?
[G2 Android Development] renaltosonylevi:
In short, yes

For most models you need to also flash a jb modem.
[G2 Android Development] Au5t1n:
I forgot about that lol it worked though ?
[G2 Android Development] bender_007:
:) hehe. Enjoy twrp. Thx to OP
[G2 Android Development] :
Guys I come for help. I have 2.8.6.1 and this morning I changed data to f2fs. I copied everything to my PC, changed file system then copied back. When I rebooted I now have Vodafone boot animation (I use 30e by somboons) I had lost all user apps including keyboards and I now can't boot into recovery. I see the twrp splash for a few seconds then it goes to the LG logo. I tried reflashing the recovery with flashify but no luck. Any ideas? I have D802.
[G2 Android Development] smartpr1v4t3:
As i know is blastagator working on a fix because f2fs on data and no working twrp.
[G2 Android Development] Sunandroid:
There are only very little ROMs that support F2FS. And I'm pretty sure the stock one doesn't. Since you still have your data as backup, you could go back to stock using the kdz method and start all over again.
[G2 Android Development] :
No, the rom works perfectly. I have dorimanx kernel installed. I just can't boot recovery. I've just been reading in Dori's thread and it seems the problem is known.
[G2 Android Development] blastagator:
New TWRP will be coming in a day or two. I'm working on it now. Updated f2fs kernel driver to the same f2fs driver [MENTION=2376110]dorimanx[/MENTION] has in his kernel.

It also looks like the TWRP guys may have fixed encryption for qualcomm devices (e.g. LG G2) so I'm tinkering with that right now. It also looks like they may have fixed the multiple lock-screen issue.

I'll also be adding in the newest f2fs-tools. ( [MENTION=2941286]xdabbeb[/MENTION] can you send me the binaries again, in case I can't get them building?)

Also, anyone know what this is ?

https://github.com/omnirom/android_bootable_recovery/commit/de50c5f5528930b31aa7981d8891370d6ea4e77e

I don't know if I should add this or not and can't really find much info about it.
[G2 Android Development] _that:
You need this only if you get a compile error.
[G2 Android Development] blastagator:
Thank you :)
[G2 Android Development] 3pt:
Try this: Find a TWRP folder in your internal storage. There is a small hidden file inside, named .twrps (seems to be the settings file). Delete it and try to boot into recovery then, should boot normally (works for me). TWRP will make new file again. Unfortunately, that's just temporary solution (till that's fixed), meaning you'll probably have to delete the same file most of the times you want to boot into recovery.
[G2 Android Development] :
Can confirm this works. Thanks. Will tide us over for now. [emoji4]
[G2 Android Development] blastagator:
May 24, 2015 (2.8.6.2)

-Test build that is now removed.

-Only built for d800 & d802.
[G2 Android Development] abc001:
Unable to download. Is the site down?
[G2 Android Development] blastagator:
No. I just downloaded from it fine.
[G2 Android Development] blastagator:
I have worked out the kinks with f2fs-tools and now have the latest version from cm-12.1 building and working. I installed a test build and everything seems to be working great.

I will compile all variants 2.8.6.3 tonight and post tomorrow.

Please continue to test 2.8.6.2 - Let me know if:

1) TWRP freezes when loading when you are running lollipop with f2fs /data and you reboot to twrp

2) (Only if you have encrypted data)

---2a) Does TWRP decrypt your /data?

---2b) Is your /data f2fs or ext4?

Thanks! And I'll see you all tomorrow :)
[G2 Android Development] 0xetrov1:
Thank you Sir, Outstanding work, Okay, so I have tested the V.2.8.6.2 with /data and /cache as F2FS, and recovery boots up, everything is in perfect condition, D802 running Lollipop version 5.0.2 using SEA ROM + [MENTION=2376110]dorimanx[/MENTION] Kernel V.2.4

Thank you very much [MENTION=2941286]xdabbeb[/MENTION] [MENTION=5031300]blastagator[/MENTION] [MENTION=2376110]dorimanx[/MENTION]

but unfortunately I didn't test with encrypted /data partition, don't know how to enable it.

UPDATE-1: unfortunately the problem still exist! Sometimes it works, sometimes don't! (I've flashed the recovery.img using flashify)
[G2 Android Development] duki994:
Well...

Not really needed if recovery works good.

ION is google's memory allocator that replaced old proprietary CMEM, PMEM, NVMAP.... allocators. Very important subsytem.

Info:

https://lwn.net/Articles/480055/

It's good if you integrate it and it works. Maybe new heap id mask will work faster. I presume that instead of heap, it masks only it's id, so in theory should work faster (but probably insignificant for recovery). Possible UI speedup/less hickups if TWRP guys optimized more.

But ION updates are more geared toward mem reserving for intensive camera(HD, 4K...), GPU, .... On my old LG L9, kernel dev had to update entire ION subsystem to get HD recording working on AOSP/CM.
[G2 Android Development] VladAndreMano:
Sorry for asking dumb questions, i really need some help guys...

Ok so i wiped everything in TWRP and now i get a bootloop, i honestly have no idea what i can do, is there any way to boot into TWRP again?

Managed to get into Download mode, its saying that it does a Firmware Update but its not doing anything and im affraid to unplug the phone from my computer, i really need help guys...

I kept holding volume down + power button, it gets to the logo, i do it again and then it shuts itself and goes back to the logo again, i cant manually boot into twrp
[G2 Android Development] 3pt:
Not sure how much you can do, since you wiped everything... Imho, the best would be to do KDZ flash.

General advice, if you're not sure what you are doing, the best would be to wait, read a bit more and follow instructions closely (unless you don't mind flashing whole system again). :)
[G2 Android Development] bender_007:
After seeing the lg logo release the button combination and hold again.
[G2 Android Development] fire6water:
Vol down + power, when logo shows release power for few seconds then press again all while holding volume down the whole time.
[G2 Android Development] blastagator:
May 25, 2015 (2.8.6.3)

-Updated f2fs kernel module to match the version used by [MENTION=2376110]dorimanx[/MENTION]

-Updated vendor blobs by applying all changes from lg-devs and using newest 12.1 branch

-Updated e2fsprogs (the binaries used to manipulate the filesystem) to latest cm-12.1 version

-Updated to using the newest branch for qcom_common

-Updated f2f2-tools by forking cm-12.1 and making some tweaks (Git)

-Fixes the issue where TWRP won't load if you're using Lollipop with f2fs

-Relocated common manifest to g2-common git

-Enable new Qualcomm HW Decrypt flag

-TWRP Fixes:

++Prevent multiple unlock screens

++<MAYBE> Enable proper decryption of an encrypted /data partition

If you change /data partition filesystem, you will get:

[COLOR="Red"]error: mount -0 bind '/data/media' '/sdcard' process ended with error=255[/COLOR]

This is nothing to worry about.
[G2 Android Development] blastagator:
Thanks for the great info!
[G2 Android Development] blastagator:
Thanks for report. Please try 2.8.6.3 :) Everything fully updated now.
[G2 Android Development] thevinh.btr:
Bug for me.

I try to change data to f2fs but i got error: mount -0 bind '/data/media' '/sdcard' process ended with error=255

Nothing change. D802, Dori 2.4, V30B and TWRP 2.8.63

So sad :(
[G2 Android Development] A Sornchai:
Thanks for update new version, it's works good for me lgl22.
[G2 Android Development] blastagator:
Strange. Conversion still succeeds. I believe they changed some error handling, so this error may have been occuring all along and just not being displayed.

This is nothing to worry about :)
[G2 Android Development] thevinh.btr:
This script displayed when I format:

"Formating Data using mkfs.f2fs...

E: mount -0 bind '/data/media' '/sdcard' process ended with error=255

E: mount -0 bind '/data/media' '/sdcard' process ended with error=255

Updating partition details....

,,,done"

when I back I see current file system: F2FS. anh Sdcard empty.

But after rebooting, nothing change: data:ext4 and everything on sdcard come back.

Sorry my bad English!
[G2 Android Development] blastagator:
I just did f2f2 -> ext4, restore files

Booted OS, confirmed /data was ext4

I just did ext4 -> f2fs, restore files

Booted OS, confirmed /data was f2fs

Conversion is working fine. Try resetting TWRP to default settings.
[G2 Android Development] 0xetrov1:
I've updated to the latest version 2.8.6.3 and booted into recovery like I think 10 times, and every time it booted perfectly, /data and /cache are F2FS, and everything is outstanding, Thanks a lot Sir. :good: :)
[G2 Android Development] _that:
That's correct. Someone started a fix, I don't know if it works or if it's even finished: https://gerrit.omnirom.org/#/c/13747/
[G2 Android Development] 3pt:
Did you maybe do factory reset after converting /data to f2fs or just converted without backup? In that case, Android will convert /data back to ext4 when you boot to system (you will see Android is upgrading on boot, 140+apps...).

Otherwise, I can confirm, everything works well for me too (version 2.8.6.3). :)
[G2 Android Development] blastagator:
If either of you are still on G2, please let me know if decryption is fixed :)

[MENTION=3116305]troublekick[/MENTION], [MENTION=5429733]pattonsj[/MENTION]
[G2 Android Development] pattonsj:
I'm no longer on the G2. Sorry. I hope it's fixed for everyone though.

Sent from my SM-N910V
[G2 Android Development] EvilKing009:
On 2.8.6.3 update.The Device gets over heat during nandroid backup process.

Its temperature reaches upto 80°c. :eek:
[G2 Android Development] straylight23:
I just finished a backup from latent twrp. Max CPU temp was 75...
[G2 Android Development] :
Hmmm, I cannot flash 2.8.6.3. Keep getting zip file is corrupt error. Have downloaded again 3 times no change?
[G2 Android Development] smartpr1v4t3:
Only wanna report everythings works fine with 2.8.3 and cache/date on f2fs.

Thanks
[G2 Android Development] blastagator:
Did you check the hash?
[G2 Android Development] tsjanda:
Downloaded and flashed. Did a backup and rebooted all seem well. Great job mr blastagator
[G2 Android Development] thevinh.btr:
I kdz, and just install TWRP and Dori kernel, but I got the same error.

Maybe it's only happen to me, bc the others reported it working perfect!

So don't worry. I will live ext4 :)

Thanks for your support!
[G2 Android Development] 4r44444:
With new Version I get error Message when I try to format /Data to F2fs

E:mount -o bind 'data/media/0' 'sdcard' process ended with ERROR=255
[G2 Android Development] blastagator:
The error is going to happen, it can be ignored though.
[G2 Android Development] troublekick:
I was never on G2, however I had decryption issue on oneplus, which is now fixed in 2.8.6.1 version for Bacon. Hope u will find a solution soon

Cheers!
[G2 Android Development] z720:
finally~ official TWRP for L22. :good:
[G2 Android Development] dorimanx:
Can you just find the line with mount -o and add check, that on format not to run it?

Sent from my LG-D802
[G2 Android Development] majormickey:
I'm on rooted stock lollipop still on stock recovery, can anybody point me to the safest tutorial to install this recovery??

Many thanks in advance
[G2 Android Development] :
Yes. It says md5 doesn't match. I can't boot recovery at all now. Even with the work around that was posted before. I've tried flashing 2.8.6.3 & 2.8.6.1 with flashify. I get the twrp splash screen but no further.

Edit : Solved I Extracted the recovery.img from the zip and flashed that with flashify. All working now. Thank you [MENTION=5031300]blastagator[/MENTION]
[G2 Android Development] 4r44444:
F2F2 /data worked by me with this way:

1. Install ROM.

2. Install newest Dorimanx Kernel.

3. Start ROM and wait 5 min.

4. Start in Recovery and change /data/ to 2f2s

5. Restart Recoery
[G2 Android Development] _that:
One could do that, but it's not the correct fix. It just suppresses the error message.
[G2 Android Development] drew150931:
[MENTION=5031300]blastagator[/MENTION], i have question regarding in restoring of nandroid backup. after i installing v30e rom [MENTION=4008653]somboons[/MENTION] i create a nandroid backup using twrp recovery 2.8.6.1 and before i install the mods like (plug & pop, call recorder, Flashlight toggle, miniview, t-action and 32dpi navigation bar) then i try to used my nandroid backup and restore it but after reboot my navigation bar is gone and to fix that i try to dirty wipe and re-install again the v30e rom. 2nd scenario i try again to re-install v30e rom then install all the mods then create a nandroid backup and restore it then after reboot the navigation is still missing. What do you think is the problem when restoring my nandroid backup, the navigation bar is missing? I hope you can answer my question... A million thanks to you. :o:) :good:
[G2 Android Development] 0xetrov1:
For people getting the error

E: mount -0 bind '/data/media' '/sdcard' process ended with error=255

AND

the /data partition WON'T convert to F2FS

do the following:

-Backup all data to PC

-reboot into recovery and flash TWRP Recovery V.2.8.6.1

-Flash DORIMANX's Kernel

-reboot to system

-NOW control YOU HAVE DORIMANX's Kernel (it's a MUST)

-again reboot to recovery

-convert /data to F2FS (This way you won't get that error)

-now restart to system

-After you have restarted to system confirm the /data partition is F2FS

-Install flashify and extract the TWRP Recovery V.2.8.6.3 recovery.img and flash it using flashify

Using this Method

1- you won't get that error

2- your partition WILL BE F2FS

3- you have the latest recovery with all the F2FS fixed things.

I myself Have done this Method, and it works.

Good Luck
[G2 Android Development] Mako0:
Hi guys, I'm on stock 30b with 2.8.6.1... I've rooted and installed TWRP with autorec, but everytime I wipe internal sdcard, the phone will stuck on LG bootanimation...

After a rebooting TWRP, I can't see sdcard in mount and storage... I've tried a data-cache-dalvik wipe but nothing, I've to install something or return stock with flashtool...

What I'm missing??
[G2 Android Development] 3pt:
[MENTION=5031300]blastagator[/MENTION]

I have to correct myself, this seems to only be the issue with the version 2.8.6.3, tested now with 2.8.6.1 and it doesn't happen. Don't know if the error showing while converting /data has anything to do with that...

Generally, with version 2.8.6.3, when I convert /data to f2fs and reboot straight to recovery, it will show /data as f2fs. If I then reboot to system (first time after converting) without doing any kind of restoring backup, /data will be reverted to ext4. If I do restore backup of /data (before booting first time to system), then everything works fine (/data will be f2fs). Factory reset that I mentioned also works later normally. The only thing that makes the difference seems to be the actions prior to booting first time to system after conversion. This is not the case with version 2.8.6.1, where it doesn't matter if I restore backup or not before booting first time to system, /data will be f2fs in both cases.
[G2 Android Development] blastagator:
Good job diagnosing. This explains why I couldn't reproduce problem. I believe when TWRP boots it creates the necessary directory structure, because it creates the /TWRP folder with the settings file.

Further proof everyone should read the directions, from OP: "format /data as f2fs. Then reboot recovery"

Kudos to you! I'm sure TWRP guys will fix it soon. Missing directory structure probably causing revert and or boot loop / boot brick.

I'll redo that section of the OP later.
[G2 Android Development] 3pt:
Btw, just to clarify (to avoid any possible misunderstanding :)), in both cases, when it converted successfully and failed, I booted both times to recovery straight after conversion (and TWRP both times showed /data as f2fs). The only thing is that if I don't restore /data backup on that second recovery boot (must be done before booting to system for the first time), it will be reverted to ext4.
[G2 Android Development] thevinh.btr:
It worked. Thank you very much^^
[G2 Android Development] blastagator:
No idea. I can't explain that. *shrug* I'm sure the TWRP guys will fix it up before next release.
[G2 Android Development] minotavros:
I change data and cache via TWRP to f2fs with blastagator instruction at 4th post . So the data change to f2fs but now I see data space get about 8,5gb in my system memory.

Any solution for this?

Thank you!
[G2 Android Development] lambo98:
the latest TWRP is for KitKat or Lollipop?
[G2 Android Development] fLipz:
Oh My God!

Thats for sure for our G2 both KK & LP.

Go grab the Last Stable Version for your Variant which is TWRP.v2.8.6.1
[G2 Android Development] Aolorn:
I would like to ask for a bit of assistence here.

I installed this recovery on my D802 on stock Lollipop V30B and created a recovery image, but as the image is quite a big file, I would like to move it to my computer.

But the problem is, I can't locate the recovery file.

Is the file hidden somehow or what do I need to do to find it?

Thank you for your time and sorry if it's just some dumb trifle.
[G2 Android Development] bender_007:
Inatall and open terminal emulator.

Type: su

Tyoe: restorecon*-FR /data/media/0

Profit
[G2 Android Development] Aolorn:
A typo in the command, but I got it working and can now access the files, so thanks!
[G2 Android Development] blastagator:
:eek:
[G2 Android Development] jeebspawnshop:
No.. no...

What I think you MEANT to say was this...

[IMG="WATAF!"]http://i60.tinypic.com/ern9s2.jpg[/IMG]
[G2 Android Development] BaschtlWaschtl:
hi guys, dont know where to place my question so i try here... i have D802 and backuped my cloudyg2 2.2. is it possible to install this, maybe just system backup, to another D802? A friend has the same phone and i want to give him my system backup with xposed and so on.

i thougt: restore system, factory reset, install Kernel..

would it work?
[G2 Android Development] ceza1380:
If you backed up everything and your friend has D802 copy your backup folder through pc and copy his phone's twrp folder and restore in twrp. It will be work. But don't restore efs backup to his phone.
[G2 Android Development] BaschtlWaschtl:
Thanks. The app data like accounts and contacts are on data partition, right?

so i thougt restore system only. nothing else..

thanks..
[G2 Android Development] ceza1380:
Yeah. Those belong to data. Your friend can use your same system as same as your without your app and contact data. Just restore system.
[G2 Android Development] DjSkreem:
so when i try cm12 nightly im getting the loki error and it fails to flash

what do have to flash to fix the bootloader cuz im seeing the d800 d801 d802 no vs980 specific fixes
[G2 Android Development] UnderRdr9:
Dirty Flashing

I can never dirty flash a new nightly successfully. I download zip manually, flash in TWRP (says success no errors) wipe dalvik and cache and reboot. I get stuck on cyanogenmod (also PA) logo. This happens on Cyanogenmod 12 , Paranoid Android 5.0.2, and Vanir5.1. This happened on TWRP 2.7.0.0 2.8.6.1 and just tried 2.8.6.3. I just want to flash a new nightly without having to do a clean install so I can keep my apps and settings. I'm staying within the same version i.e. CM12, PA 5.1, Vanir 5.1. Also I can backup, restore, and clean flash with no problem. ??

LG-D800 CM 12 nightly 05-23-2015 JB-Baseband JB-Bootoader TWRP 2.8.6.3 SuperSu 2.46 F-Droid No google apps