yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] runekock:
It depends on your bootloader. On mine it's power&vol- until logo, then vol+&vol-. And I have to try a few times to get the timing right.
[G2 Android Development] feeling7:
thank you, las option worked for me, I spent hours to find this combination:good::good::good:

---------- Post added at 11:37 PM ---------- Previous post was at 11:31 PM ----------

thank you, las option worked for me, I spent hours to find this combination:good::good::good:
[G2 Android Development] smartpr1v4t3:
Hey guys, i have a Problem

I installed betterbatterystats AS system APP and did an reboot.

Now my phone doesnt Boot anymore only LG logo.

Thought OK no Problem flash system New.... but i cant acces twrp 3.0.0.4 anymore?? The twrp Logo shows up and after some seconds the phone reboot. Anybody has an idea what could happened?

Maybe i can fix this from PC without flashing kdz?

Cloudy 3.3 and Dori 9.3
[G2 Android Development] Degenerator96:
Uhm... How to install? ;)

Please, can you show me the method to install the recovery? :confused:
[G2 Android Development] Sunandroid:
I was SO tempted to post a lmgtfy link. Google for autorec for the G2 and make sure you pick the right version for KK or LP. You have got to get root access before installing a recovery.
[G2 Android Development] dajhacker:
does d802 autorec will work on f320k??
[G2 Android Development] 60nine:
what do you think?

see here

https://www.androidfilehost.com/?w=files&flid=13763
[G2 Android Development] dajhacker:
is that for lollipop?? thanks
[G2 Android Development] 60nine:
i don't know - if you can install it - then it is

if it's not - then use google to find the lollipop autorec for f320k (i think there is one for sure)

3 minute google search

https://www.androidfilehost.com/?fid=24052804347762667
[G2 Android Development] dajhacker:
that's f320s :) it seems that you cant find also for f320k..

but I think it will also work?
[G2 Android Development] KyPbP:
https://www.androidfilehost.com/?fid=23991606952607171
[G2 Android Development] sunekosuri:
I am using encryption on cm 13 and TWRP 3.0.0.4 the only issue is what I got is decryption in recovery.

I am using pattern as my security lock screen setting and it is working just fine, when I boot my phone it ask me for pattern and I enter it and it's ok.

The problem is when I am trying to enter recovery, it ask me for pattern, I enter it properly but after that it tells me can't decrypt - bad password. When I boot into system, change my security setting to PIN instead of pattern then when I boot into recovery and enter the PIN it decrypts my storage fine. It is very strange because I cannot use pattern as security lock. Pattern is ok to use until my system stops booting properly and I will not be able to access recovery to fix things.

Apart from that, all is fine with TWRP.
[G2 Android Development] _that:
CM13 changed how they derive the key from the pattern (if it's larger than 3x3). [MENTION=5031300]blastagator[/MENTION]: This should fix it -> https://gerrit.omnirom.org/#/c/16939/
[G2 Android Development] blastagator:
As stated in the OP for this version, I was aware this is an issue. Thanks for mentioning the fix _that. I probably won't run another build just for this. As stated in the OP, you're pretty much wasting CPU power on encryption if you're using pattern or PIN. I'd recommend using a password and then setting your lock screen to PIN/pattern. There are guides for separating the two if you google :)
[G2 Android Development] sunekosuri:
Thank you! I was trying to google those things up and tried solution as

vdc cryptfs changepw password "paste your non-hexed password with quotes!@$!"

but no luck here, after that I was not able to boot, wrong password.

Guide from here

http://xdaforums.com/general/security/guide-separate-passwords-encrypted-t3048072/
[G2 Android Development] blastagator:
vdc cryptfs changepw password CURRENTPASS NEWPASS

I use this WITHOUT quotes around the password. Also note, you input the current pass followed by new pass. For a PIN you just enter the pin number. As for pattern, that is a little more complicated. You'd have to look at how CM derives the password from a pattern and enter that.
[G2 Android Development] sunekosuri:
What do you mean by #? You mean the # sign only or the PIN after the hashing function? If hashing function what would be the hash algorithm? Or should I juts put the 1234#?
[G2 Android Development] jaydee 77:
IMO it's meant to be pin number as 1234.
[G2 Android Development] blastagator:
The number. Do not use the '#' symbol. Previous post edited for clarity.
[G2 Android Development] tobben:
upgrade d802 from twrp 2.8.1.1 and cm12

Hello together,

i'am comming from twrp 2.8.1.1 and cm12 (Android 5.0.2 / CM 12-20150709-NIGHTLY-d802).

i just want to be shure to make the right steps in order to upgrade to marshmallow.

1. Upgrade twrp to the one from this thread (3.0.0-4):

1.1 I put the zip (twrp-3.0.0-4-d802-bump-blastagator-signed.zip) onto sd card

1.2 i boot into my twrp recovery and chose install / chose twrp-3.0.0-4-d802-bump-blastagator-signed.zip and install

1.3 reboot into recovery - new recovery should start

2 Upgrade CM

2.1 Boot into Recovery / Chose install / chose CM13 and gapps

...

Thanks for your support
[G2 Android Development] Sunandroid:
Yeah you can go ahead I guess. Can't see anything wrong^^
[G2 Android Development] ohdev:
[MENTION=5031300]blastagator[/MENTION], Thanks you very much for this solid recovery.

I want to report a problem with TWRP and Aroma, I searched the Teamwin Issues page but couldn't find anyone reporting this.

My setup:

* LG G2 D802 16GB

* twrp-3.0.0-4-d802-bump-blastagator-signed ( coming from 2.8.7.3, which did not have these problems)

- When I open open_gapps-arm-6.0-aroma-20160317, arome does not hide the dimms the background, so it's writing on the same screen causing text to merge/overlap with log text from twrp.

- also when trying to exit/cancel the aroma installer, twrp hangs, and I can only restart the device by long pressing the power button.

Thanks again, have a nice day.
[G2 Android Development] blastagator:
Read the OP. Thanks.
[G2 Android Development] Mo.Joe:
fork() failed

Good morning

I tried today a full nandroid backup with TWRP 3.0.0-4 via usb_utg.

Data Backup started but with the switch from data.ext4.win000 to data.ext4.win001 i got an error:

Prozess createTarFork() endete mit FEHLER: 255

data.ext4.win001 is created with 0 KB and empty.

14 Gigabyte free on usb_utg.

I:addFile '/data/app/com.vertumus.urmun-2/oat/arm/base.odex' including root: 1
setting selinux context: u:object_r:dalvikcache_data_file:s0
I:pigz process ended with RC=0
Teile Thread-ID 0 in Archiv 2
I:Using compression...
I:fork() failed
Fehler beim Erstellen der Sicherung.
I:Error creating tar '/usb_otg/TWRP/BACKUPS/.../2016-03-22--08-09-15_cm_d802-userdebug_6.0.1_MHC19J_f81e240aea_t//data.ext4.win001' for thread 0
Fehler beim Erstellen der Sicherung.
I:ERROR tarList for thread ID 0
Fehler beim Erstellen der Sicherung.
I:InfoManager saving '/usb_otg/TWRP/BACKUPS/.../2016-03-22--08-09-15_cm_d802-userdebug_6.0.1_MHC19J_f81e240aea_t/data.info'
Prozess createTarFork() endete mit FEHLER: 255
Sicherung fehlgeschlagen, bereinige Sicherungs-Verzeichnis
I:Copying file /tmp/recovery.log to /usb_otg/TWRP/BACKUPS/.../2016-03-22--08-09-15_cm_d802-userdebug_6.0.1_MHC19J_f81e240aea_t/recovery.log
I:Set page: 'action_complete'
I:operation_end - status=1
I:Set overlay: ''
I:Set page: 'clear_vars'
I:Set page: 'backup'
Truncating string cache entries.
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'terminalcommand'
I:Set page: 'advanced'
I:Set page: 'fixcontexts'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /usb_otg/recovery.log

LG G2 (D802) on hybrid Bootstack with resurrection remix m
[G2 Android Development] Toomkee:
Well, got quite a big problem over here.

I cant boot into recovery anymore. I came from 2.8.7.3 bumped and upgraded to 3.0.0-4 bumped on my LG G2 D802 32GB and it shows me a black screen with a single line with "[always random number] Fastboot mode started".

any way to install it with cyanogenmod 13 running and fix this problme?
[G2 Android Development] Startrek852:
Yes, if you have fastboot installed on your computer, you can use that to flash TWRP.
[G2 Android Development] furry34790:
Touch screen not responding in recovery mode

Hi!

I've got a G2 d802 which previously had custom rom & recovery installed. Yesterday I got it back from repair where motherboard was replaced and the latest LG stock firmware (V30b-EUR-XX) was loaded.

After the repair I've tried flashing several different versions of TWRP (from 2.6 to 3.0.0-4) using different methods but all of them behave exactly the same - TWRP start screen loads but does not respond to touch.

Any ideas how to get custom recovery working are welcome!
[G2 Android Development] runekock:
Perhaps you can use an OTG mouse?
[G2 Android Development] furry34790:
Good idea. :) I'll get the OTG adapter and try that.... Thanks!
[G2 Android Development] RodMY:
I don't know why but AutoRec doesn't work on my device. I have a D805 rooted with One Click Root, Lollipop 5.0.2 stock. How do I install TWRP? It seems that everybody uses AutoRec, I haven't found other way. It seems I need to downgrade my bootloader or something like that, I'd appreciate some help...

EDIT: Forget it all. I've run AutoRec once more and magically it worked.
[G2 Android Development] gamerZ1:
Does F2FS work on 3.0.0-4.

I want to put TWRP 3.0.0-4 CloudyG2 3.3 and Dorimanx kernel with F2FS?Has anyone has this combination?Any feedback would be great.
[G2 Android Development] 60nine:
i won't bother with f2fs if i was you...

while it might work for data/cache partition without any significant boost you'll notice - it could cause you trouble when updating/changing rom or recovery version...

you'll get more boost in speed with good cpu/ram management that dorimanx kernel provides...
[G2 Android Development] gamerZ1:
Why would I get in trouble when changing ROM's or recovery versions please explain.Thank you.
[G2 Android Development] 60nine:
http://xdaforums.com/showpost.php?p=65972749&postcount=91

read from this post (#91)

especially [MENTION=5031300]blastagator[/MENTION]'s reply

http://xdaforums.com/showpost.php?p=65989680&postcount=93

this was my experience when trying to flash a newer version of the same rom (i had f2fs data and cache)

although - i guess i wouldn't have had any problem if i flashed the twrp again directly after flashing the rom - but who would think of that... or you just forget this part sometimes...
[G2 Android Development] komir:
backup folder

in TWRP 3.0.0, is it possible to select folder where it will be created backup?

I can't access data/media/0/TWRP from computer, to copy backup on PC?And i don't have free space to copy entire folder to another place on internal storage...

Is it necessary to backup /data ,for later restoring?Are there some system files necessary for OS to start?

Greetings
[G2 Android Development] djtiesto22:
Yes it is possible, when you go to backup option in Twrp you will see under the partitions internal storage so choose from there. Best solution is to use USB OTG. If you installing new rom whit all wipe, just make sure that internal storage is not selected, or you will end whit bricked device. If something goes wrong make sure that you selected /system /data in backup partitions as the this two are the main files that you will need to restore after not working new rom files. Also don't use twrp >3.0, is unstable, just start doing backups whit 2.7.3 version !
[G2 Android Development] komir:
Thanks for an answer! I know about selection internal storage/otg, but when select internal storage, it make backup in data/media/0/twrp - not storage/emulated/0/twrp, so it can't be accessed via PC?
[G2 Android Development] 60nine:
why don't you use a root file manager of some kind (i.e. es file manager) which has a network option...

and then simply create a shared folder on your pc somewhere - and use wifi to copy/paste from twrp folder via network to pc...

i know it's slower - but it works...

ps:

as far as i can remember - my backups were always saved in "storage/emulated/0/twrp/..." folder... and i could always access them via pc...

maybe something changed in the latest twrp's... last time i've used backup to internal memory was like a year ago - i use usb/otg stick most of the time...
[G2 Android Development] Darko46:
Hey !

I got a little problem on my LG D802 device. I have flashed original CM 13 nightly on my phone and it's working very nice. I updated my TWRP on 3.0.0-4 and all stuffs I have to install that I've seen on tutorial, and I'm using my phone for 5 days without problem, then I release that I can't boot into TWRP when my phone is off, the only way is when phone is on via option Reboot - Recovery.

This is kinda scary cuz I had bricked phone 2 weeks ago when I was on custom ROM 5.1.1 and I fixed that with TWRP and CMD on my PC.

So, I'm looking how to get into TWRP via buttons on phone. On older TWRP and 5.1.1 it worked when I press PWR button and vol down in same time until logo shows, then release and hold the same again.

Now someone said that I have to hold vol up and down after logo shows and whatever I try it just loads into my CM 13
[G2 Android Development] runekock:
[MENTION=5530532]Darko46[/MENTION]

The buttons to use depends on which version of the bootloader you have installed. It does not matter which recovery is installed.

On my phone, I have to press power&vol-down until logo, then vol-up&vol-down. I usually have to try three or four times before I get the timing right. Also, make sure that the phone is really powered off before you start - if you need to, hold the power button for around 30 secs forces first a reboot, then a power off.
[G2 Android Development] Darko46:
Bootloader ? Hmm..

I instaled just bootstack CAF D802, is that the same ? Before I installed that and newer version of TWRP I was able to get white screen where it says something about factory reset and when I proceed it boots into TWRP recovery, but now it just boots on my system. On older TWRP and 5.1.1 ROM it worked when I press PWR button and vol down in same time until logo shows, then release and hold the same again.

I tryed your method like 5 times but still not working.. :(
[G2 Android Development] fLipz:
TWRP 3.0.1-0 Released

Apr 1, 2016

TWRP 3.0.1-0 is out now for all currently supported devices.

What’s new in 3.0.1-0:
[G2 Android Development] ST Dog:
Boot loader is one of the parts of the boot stack.
[G2 Android Development] Eselter:
Our device is not officially supported so we are waiting for [MENTION=5031300]blastagator[/MENTION] :)
[G2 Android Development] Led Zeppelin:
It's hidden;)but no new realese for D802

https://dl.twrp.me/g2d802/
[G2 Android Development] Startrek852:
That's because the G2 is no longer supported officially.
[G2 Android Development] Darko46:
So, here's my bootstack, how to solve my problem ? :/ It worked before I installed this bootstack, new twrp and CM 13, as I said.
[G2 Android Development] ST Dog:
Start over. Go back to factory LP. Full KDZ/TOT.

You shouldn't need a different bootstack.

But honestly, I think it's just getting the timing right when switching to vol+/vol-
[G2 Android Development] Darko46:
I'm scared cuz it so easy to brick phone now. Only way I can get into TWRP is on reboot option when my system is up and running. Cuz if I fail during flashing some thing as I did earlier, but without TWRP I'll be in big trouble.

I have shuted down my phone and tryed to boot into TWRP so many times and I still didn't succeed.

Just to remember, my current TWRP version is 3.0.0-4 (newest, probably) and bootstack is CAF, but I'm not that good in that stuffs so I'm not sure what bootstack is :D

This method of getting into TWRP worked before I did update to CM 13 and all other stuffs I have to install to get this thing working, and it works fine.
[G2 Android Development] Startrek852:
Try flashing this bootstack: http://xdaforums.com/lg-g2/development/lg-g2-bootstacks-t3173715. Pick the one for your model that has the KitKat bootloader, then try using the normal button combo to get into TWRP.
[G2 Android Development] Darko46:
Allright but I'm not sure what bootstack is and what is it used for ? Is it safe to just install it in TWRP without anything else I mean like wiping stuffs etc. ? Sorry but I'm noob in this :D

Edit : As I know for CM 13 is required CAF bootstack, does this flash change anything ?
[G2 Android Development] Startrek852:
No wiping, just flash it.

EDIT: If CM13 requires a CAF bootstack, do not flash that bootstack, cause it will brick your phone. Bootstack contains a set of images that are crucial to your phone like the bootloader, download mode, the modem, and others that i don't know what they are or do.
[G2 Android Development] Darko46:
Okay, good that I asked you about that :D I knew that it will brick my phone even tho I'm new in this.
[G2 Android Development] ST Dog:
You just wouldn't be able to start the OS. You'd just have TWRP and download.

But flashing the KDZ with the LG tool is how you recover from a soft brick.

I suggest you star by reading the threads on recovering from a soft brick, which you should have done before messing with a custom ROM.

And if you had looked at a few CM13 threads for the G2 you'd see repeated warnings about using bootstack and recommendations to use a factory LP image.
[G2 Android Development] blastagator:
April 7, 2016 (3.0.2-0)

Again I say, Aroma problem is an Aroma problem, not a TWRP problem.

Change Logs:

TWRP 3.0.2-0:

TWRP 3.0.1-0:

Device / Kernel / etc.

-No changes

Basically, this just fixes bugs that were discovered after initial TWRP3 release. This addresses the lockscreen pattern decrypting problem that someone previously reported, as well as some other issues and language update.

I made no changes to any of my trees.

Enjoy!
[G2 Android Development] kostasgia82:
How do i install this?

I am new....
[G2 Android Development] Simba83:
Install it as a zip. Then reboot.
[G2 Android Development] raptorddd:
are you rooted? do you have twrp already? if not send pm or start new thread. to help you. this is not the correct section to ask..:)
[G2 Android Development] Led Zeppelin:
Aroma installer still has bugs :D

2.8.7.3 best version i think...

Thanks for your hard work...
[G2 Android Development] Mo.Joe:
Nandroid backup has still the Fork error bug,...
[G2 Android Development] blastagator:
Change language to english, reboot TWRP, do whatever is causing the error.

Then, attach the full log. Please also advise how the USB drive is formatted (ntfs, fat, etc.)

Also, do you have compression enabled? If so, disable it and try again.

Thanks :)

See also: http://xdaforums.com/nexus-6/help/e-createtarfork-process-error255-t3302462

You might just have to bite the bullet. I don't have USB-OTG cable to test.

.
[G2 Android Development] Eselter:
For me nand backup working on usb-otg.

USB: FAT32

Compression: on

Encryption: off

TWRP: 3.0.2-0
[G2 Android Development] Mo.Joe:
TWRP Settings --> Restore Defaults

Reboot to Recovery

USB: FAT32

Compression: off

Encryption: off

TWRP: 3.0.2-0

Log is attached, ...

I will have a look for your posted thread.

Thank you!

Mo

I:InfoManager saving '/usb_otg/TWRP/BACKUPS/064dfec6a5250de6/2016-04-09--03-02-28_cm_d802-userdebug_6.0.1_MHC19J_f79fdbce44_t/data.info'
createTarFork() process ended with signal: 9
Backup Failed. Cleaning Backup Folder.
I:Copying file /tmp/recovery.log to /usb_otg/TWRP/BACKUPS/064dfec6a5250de6/2016-04-09--03-02-28_cm_d802-userdebug_6.0.1_MHC19J_f79fdbce44_t/recovery.log

Edit:

Problem is only with data Partition,....
[G2 Android Development] da_reeseboy:
I'm no expert with this by any means, but if I were to guess I would say the issue is the FAT32 formatting of your OTG, since the file size limitation of FAT32 is 4GB and you data partition backup would be double that -

/data | /dev/block/mmcblk0p35 | Size: 25434MB Used: 9627MB Free: 8682MB Backup Size: 9627MB

Edit: I know previous versions of TWRP broke it into smaller files, maybe thats not happening anymore?
[G2 Android Development] Zackptg5:
Any one else have the time an hour behind? I have the correct time zone and DST set but its still an hour behind. This issue wasn't present in the previous version, just 3.0.2
[G2 Android Development] blastagator:
Try running repair on the partition. This seems to happen when data gets damaged and then TWRP doesn't want to back it up. Only other answer I have seen is to do factory reset and start over, so the damaged data gets removed. Also try backing up to phone, not usb-otg.

Mine is correct. Make sure you click save (or update, or whatever the button says on the timezone page) after you pick the new timezone.
[G2 Android Development] Zackptg5:
I did all of that and even reflashed twrp but the I'm still an hour behind. I think it may be device specific (for my 5x) as I don't have this issue with your latest twrp for my g2

Edit: Just realized I have this in the wrong thread. Meant to put it on the nexus 5x TWRP thread. Sorry!
[G2 Android Development] taco9:
Could be daylight saving time issue where TWRP goes by GMT +/- and some countries/time zones change relative to that. I have same issue on 2.8.7 which I only encountered in last couple weeks (or around the time DST goes into effect in some countries).
[G2 Android Development] Mo.Joe:
I think you are right. I switched back to 2.8.7.3 with the same error. My next to do, factory reset.

Thx,

Mo

Gesendet von meinem LG-D802 mit Tapatalk
[G2 Android Development] lollipo:
Hello,

i installed a new rom and it also installed an old twrp version. After rom installation i rebooted to recovery to install dorimanx kernel, coz I have data and cache as f2fs. unfortunately twrp doesn't load. I only see the twrp logo and then my phone reboots.

The rom itself stucks at a screen "encryption" or something. What can I do?

Unfortunately kdz method doesnt work because it stucks at 2 percent. I cannot enter twrp. I had such a problem once and it helped deleting the twrp folder on the sd card. But how could I possibly do this?

I am very grateful for help.
[G2 Android Development] 60nine:
i guess you'll have to do a tot method and go completely from scratch (stock 4.4.2 > lg flashtool to upgrade to 5.0.2 > root > autorec > custom rom)

)

it happened to me when i tried to upgrade google edition rom from v1.3 to 1.5... couldn't get to twrp as well (also showing only twrp logo and nothing after)

only thing i could do to restore the phone was a tot flash of stock 4.4.2...

lucky for me - i don't keep anything important on the phone, and everything else was backed up on google account...

so prepare yourself mentaly to lose everything you have on the device...

good luck
[G2 Android Development] lollipo:
Yeah, I didn't see any other option either. Finally tot flashed and now I am back to stock. A little OT, but my Sim wasn't recognized after tot- and then kdz-flash. I had to restart my phone, while putting in another SIM. This one was recognized and then I could put my original SIM back in. Weird thing but it worked.

Luckily I don't have important data on my phone.