yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] b1g.p0ppa:
VS980 zip failed to flash for me.

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

/tmp # ls -l

__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!

__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!

__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!

drwxr-xr-x root root 2014-10-20 21:49 loki

-rwxr-xr-x root root 417 2008-08-01 12:00 loki.sh

-rw-rw-rw- root root 16532 2014-10-20 21:50 recovery.log

-rwxr-xr-x root root 283576 2014-10-20 21:49 updater

/tmp # sh -x loki.sh

+ 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.133037 seconds, 7.5MB/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
[G2 Android Development] blastagator:
Is your time set correctly (and your time zone) in your existing recovery?
[G2 Android Development] b1g.p0ppa:
Yes. Time is accurate, not using 24-hour clock, time zone is right and use DST is checked.

Sorry, but I've got to commute home from work now. Won't be able to get back on xda until later tonight, maybe 9:30 Central time. Will be happy to continue troubleshooting then.
[G2 Android Development] blastagator:
Ok. When you get home let me know what recovery you are using currently.
[G2 Android Development] 1Jonathan1:
Can you make a cloudy g3 version with f2fs support?
[G2 Android Development] dorimanx:
Open the file and look, there is no more data mount inside when your partition is f2fs before you post an wrong info without even check it.

Sent from my LG-D802
[G2 Android Development] blastagator:
Sorry I make you more headaches :p
[G2 Android Development] b1g.p0ppa:
I am using your TWRP 2.8.0.2 I loki_flashed earlier today from your .img you posted this morning. I will be online later.

Sorry, dori, I don't know what you mean. After formatting /data to F2FS I made sure it was mounted and I adb pushed my pics, media, tibu files back into it before attempting to reboot. Adb wouldn't connect when it was at the encryption PIN screen so I couldn't tell what was mounted. I know it couldn't have been mounted though because fstab.g2 has ext4 as its type and it was F2FS at that point. That mount attempt would have failed and I just made an assumption that that was why I was getting the encryption PIN screen because it is the only time I've ever seen it.

Sorry if what I said came across as anything other than an honest (albeit clumsy) attempt to contribute to this effort.
[G2 Android Development] luv2increase:
Vs980 working great here with 2.8.0.2!!

You must use flashify app and flash the .img in android
[G2 Android Development] blastagator:
A) If you're already using the most recent version, why are you trying to reinstall it? :p

B) I installed the vs980 zip on my phone successfully, but since I have a d800, I obviously couldn't boot it. However, flashing within TWRP worked fine.

I messaged one of the other vs980 users to see if they have same problem before trying to diagnose further.
[G2 Android Development] blastagator:
Please try to install the zip version and let me know if you get an error. Thanks :)
[G2 Android Development] Really now:
Yes, put the new zip on your phone and flash it with your existing TWRP, then go to the REBOOT tap and reboot RECOVERY. You'll be good to go!
[G2 Android Development] :
[MENTION=5031300]blastagator[/MENTION],

When you rebuild, would you be willing to add

/sns ext4 /dev/block/platform/msm_sdcc.1/by-name/sns flags=backup=1;display=Sensors

to your g2-common/twrp/twrp.g2.has_sd.fstab ?

It would be nice to be able to backup/restore that sensors partition when flashing between bootstacks/modems etc. Seems like I have to go back to stock each time, or manually restore my image of that partition.

If I get a chance, I might just rebuild my own with it.

Thanks.
[G2 Android Development] blastagator:
Yes. I will add next build. Made note :)
[G2 Android Development] koftheworld:
And now I love you.
[G2 Android Development] :
Thanks. When going from my 12B based Bliss over to 39A based roms on VS980, I've noticed that if my rotation doesn't work, I can reflash my image backup of that partition and it starts working again. A binary diff of the partition image shows differences, so I'm not sure if it's getting corrupted somehow or if the 39A baseband is actually modifying it intentionally. Either way, it would be nice to get it backed up with the applicable rom for easier restoration.

Thanks again, you're the man.
[G2 Android Development] babe0607:
Hi...

I have g2 d802 international with cloudyfaG2 2.2 Last dorimanx kernel and tmwrp 2.8.5.1. My partition is ext4. what is the benefits if I change to e2fs?

is it possible to have step by step the procedure for changing the partition?

thanks in advanced
[G2 Android Development] berryman13:
... Okay?

The XDA rules are clear. Now stop posting about a version of twrp that doesn't exist yet in this thread, until it's announced by gator.

Hear this though. He knew of the update coming a few days before it was announced, I'd bet. I hate this crap, developers don't need their users telling them when something is updated because they have the freaking source.

What's in 2.8.6.0 that you need?

---------- Post added at 04:57 AM ---------- Previous post was at 04:51 AM ----------

Do not go f2fs. That's the process. Yes, we're working hard on it, but please.... Save yourself the headache.

You will gain nothing from f2fs in terms of benefits but you will have to wipe all your data including internal SD in order to try it... Just take my word and the word of like everybody who tried it.

I wiped back to ext4. Now f2fs may be better supported with dorimanx, in which case, ignore my post... But for most of us it's negligible
[G2 Android Development] babe0607:
Thank you berryman13 for your response. :) I'll remain on ext4 partition at the moment and be patient... thank you very much :) be well
[G2 Android Development] iko11:
Someone who is asking OT questions in some other developing thread telling me this ? Don't try to be a smartass. Get your own business. Even developer's himself answered that notification kindly.
[G2 Android Development] Pumpino:
Apologies for such simple questions, but I've only had my G2 for a few days.

What is the difference between BUMPed TWRP and the standard TWRP?

Can I flash the zip using Flashify?

Is TowelRoot the best way to root before flashing TWRP?
[G2 Android Development] :
Use whatever routing method you want. Then use AutoRec from the forums here to get the right bootstack and twrp, then flash this bumped twrp from the twrp that AutoRec installed .

Beyond that... Bump has been explained, literally, a thousand times in this g2 forum... Use the search.
[G2 Android Development] Sunandroid:
Or you check out the thread in my signature for such questions. ;)
[G2 Android Development] :
XDA app doesn't show signatures.
[G2 Android Development] Sunandroid:
damn^^

noobs, go this way: [HELP THREAD][Noob Friendly] LG G2 Ask any question

And help keeping developement threads clean this way!
[G2 Android Development] blastagator:
2.8.6.0 built and running on d800. Added the Sensors partition and ability to backup, as requested :)

My PC is building all versions now. Will provide update once everything is posted.

PS Stop flaming each other, keep my thread friendly please :)

edit: rebuilding d800, trying updated f2fs tool git (per inspiration by [MENTION=2941286]xdabbeb[/MENTION]) - the cm git has update f2fs tools, omni does not!

edit2: It doesn't seem to like me doing that, so I'll go back to the old tools, for now.
[G2 Android Development] blastagator:
Mar 28, 2015 (2.8.6.0)

-Added ability to backup/restore Sensors partition (per user request)

-TWRP Changelog:

All versions now available!
[G2 Android Development] xdabbeb:
[MENTION=5031300]blastagator[/MENTION] you can just use the f2fs binaries I sent you. It's been a few months, but I remember it was a slight pain in the butt getting it to build properly the first time. The ones I sent were synced as of the 20th and are v1.4.1...and thanks again for what you do!
[G2 Android Development] blastagator:
To be honest, I was too lazy to manually stick them in every file. I might make a script or something to do it for the next release. Or maybe even try to switch to cm-11 as the build base instead of omni.
[G2 Android Development] TDSJR:
I must be missing something. I'm not seeing a link to 2.8.6.0, on the site.
[G2 Android Development] blastagator:
Ctrl-F5 (refresh) - you probably have old version in your browser cache.
[G2 Android Development] TDSJR:
Came back to say, "never mind", I got it. Lol

Thanks
[G2 Android Development] scottdanpor:
[MENTION=5031300]blastagator[/MENTION]

Is this using slightly outdated sources? I have shifted sliders when using a 2.8.6 theme.

I can go without a theme, just wondering.
[G2 Android Development] blastagator:
Everything was sync'd to omnirom git today. So should all be up to date.
[G2 Android Development] samuele94:
Can i flash on 30A official rom? Or it need the recovery that rom owns
[G2 Android Development] picard47:
Hi ladys and gentlenerds,

I am quite new to G2 and I have some quick questions about the wiping procedures. Maybe someone could clear me out.

On Samsung, Sony and HTC I was used to full wipe (data, cache, data/media, sdcard, system) a device before I flash a firmware or reset to stock, things like that. So that no old files remains in the partitions.

I've already read that some people had problems specially to wipe the system partition (brick the device). Is this still a current problem? Can I do this with the TWRP here? Is it even relevant if I, for example, do a Firmware flash with kdz and Flash Tool 2014?

And can I flash a kdz file with Flash Tool when I've installed a TWRP? Or will the partitions be rewritten anyway?

greetz
[G2 Android Development] Krenol:
You will not lose the download mode with twrp so you can use the flash tool. And you won't have to wipe your internal only dalvik cache System and data
[G2 Android Development] spencerchong:
I'm getting this as well. can't flash anything. anyone can help?
[G2 Android Development] :
You mean 39a? Yeah, you can use this with it.
[G2 Android Development] KyPbP:
Use the theme 285X_v1 and will be fine.
[G2 Android Development] Tinchoska:
Delete
[G2 Android Development] dredq:
I am on VS980 and have been running Liquid Smooth 3/4 nightly and Blackbird 3/16 kernel. Using the new TWRP 2.8.6.0. I am ready to flash the newest nightly. So I am ready to play with F2FS. I have been lurking on this forum for months. Does anyone have experience with this combination? I should convert the cache, dalvik, data, and internal storage to F2FS; correct? I leave system as is; correct? I understand that I will wipe the internal storage and I am ok with that. I have OTG backups. Thanks
[G2 Android Development] samuele94:
No 30A for d802
[G2 Android Development] :
Disregard then, I have no idea. I'm on VS980, I know it works with the 39A baseband/27A boostack combo. I'd imagine it would be the same for all variants though.
[G2 Android Development] Crumplet:
Bug report: Cannot enter download mode when using Twrp ver. 2.8.5.1.

Any suggestions so i can unbrick my phone so i can use lg flash tools?I try to get into download mode and it fails and i keep getting bumped into twrp and can't boot up any roms for some reason as well.Not sure wtf is going on.Only other option i guess is to re flash to stock however i can't...no download mode.

How i got into this mess in the first place was i installed this stock KK rom http://xdaforums.com/showthread.php?t=2755783 and worked however the rom decide to update an official update and phone rebooted after and got stuck at trwp boot up screen and since then nothing boots when i try to install any rom.
[G2 Android Development] Lawlrus:
[MENTION=4857538]Crumplet[/MENTION]

Twrp shouldn't have any factor in whether your download mode works I don't think.

You can't flash ROMs because now your bootloader is 4.4 or 5.0 based and you are probably trying to flash a loki'd ROM. Use adb sideload to push whatever onto your phone.

See if your device has a flashible 4.2 bootloader, or push a ROM that has a bumped kernel, and your twrp should be able to flash it.

Edit: and unless your phone is a paper weight, its not a brick.
[G2 Android Development] Crumplet:
Twrp does play a factor in download mode obviously reference link: http://forums.androidcentral.com/ge...ricked-lg-g2-stuck-twrp-no-download-mode.html

I tried latest cm 12 lp as well as cloudys 2.2 kk along with blastagators bootloader and modems nothing boots.I need to get into download mode and the instructions from the referance link is not working.

How do i use ADB side load?
[G2 Android Development] dorimanx:
Try this:

Power down the phone till black screen.

Now connect usb to pc.

Push vol up + pwr and download mode will show up.

Sent from my LG-D802
[G2 Android Development] Lawlrus:
Obviously? I am on this build and I can get into download mode fine, you don't have download mode because you took the ota.

I've already stated you can't flash ROMs using Loki. So no 5.0 aosp ROMs will flash. Cloudys ROM is also Loki's so nope, it won't work either. You need to use a ROM that has a BUMP'D kernel, that is intended to be used on the KitKat boot loader, that is if you even took the KitKat ota. If you took the 5.0 ota, bump was also blocked, so aside from finding a flashible 4.2 boot loader, or forcing fast boot, I'm not sure what other options you have with an at&t device.

I'm not going to spend the time teaching you how to use adb side load because of the response post that I received. Use google. There are plenty of resources you can use to teach you how to do it.

You need to figure out what you need to push, based off what ota you took, before you should try to do anything.
[G2 Android Development] Crumplet:
Not working.When i power down phone and then plug phone into usb, it powers back on it's own.WHILE thats happening i hold vol up + pwr and phone stays black with a red led flashing.Nothing happens.
[G2 Android Development] TDSJR:
This worked for me, in the past, let the battery die, and then plug it in and follow the instructions to get to download mode.

Response to [MENTION=4857538]Crumplet[/MENTION]
[G2 Android Development] Crumplet:
Bad thing is my phone is 100% battery life and i have work in 10 hours.I need a fix asap.Or i will go on the road with no phone for a whole week.:crying:

YES GOT IT TO WORK...Thank you everyone.

What works is these to commands then reboot system and plug usb in and fast begin pressing on vol up + pwr. After entering these commands in TWRP terminal command.

dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota

then hit enter

type

dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc

then hit enter and reboot.
[G2 Android Development] FloFloFlow:
Can't flash

Hi! I've got a new LG G2, and i can't flash any ROM, i got an "E:Error executing updater binary in zip"... i tried new and old version of TWRP and no one works. Any idea?
[G2 Android Development] Taifuuni89:
Go to mount menu and mount System. Try after that. I had that same problem when my system was formatted as F2FS even when I specifically avoided it converting from ext4.

Sent from my LG-D802
[G2 Android Development] The_Engine:
Apologies in advance for potentially noob question. I'm on a VS980 running Resurrection Remix ROM. So CM12 based 5.0.2 and baseband 12b.I want to update TWRP. Can I just download the zip files and install from recovery? I can't seem to locate a legitimate guide that explains this without out assuming prior knowledge of how to do it in the first place.
[G2 Android Development] Voltaine:
You are correct

Just download the zip file --> enter recovery --> flash file --> reboot recovery

That's it :)
[G2 Android Development] FloFloFlow:
Didnt work... andi tried with Ressurection Remix ROM, no error but phone bricked. :good:
[G2 Android Development] _that:
I can't find the sources for android_bootable_recovery under that link... where are your TWRP sources?
[G2 Android Development] nfin1te:
Hey guys,

just wanted to chime in and report a minor "issue".

Since 2.8.6.0. me and several others are facing a "broken slider" issue using the materialised twrp theme (Thread -> http://xdaforums.com/google-nexus-5/themes-apps/theme-twrp-materialised-dark-light-play-t2915611 ). We cant flash or wipe anything, because the slider starts in the middle of the screen.

The theme dev took a look at it and said, that this recovery is missing some changes that were made to the original twrp, hence the issue. The post can be found here: http://xdaforums.com/showpost.php?p=59787165&postcount=630

I dont know if this was an intentional change, i am no developer - i just thought that might be interesting in case it wasnt intentional.
[G2 Android Development] gbeardmore:
2.8.6.0 working fine for me... Just tested it by Fixing Permissions and the slider worked without issue.
[G2 Android Development] Mikulic1802:
And you are using material theme for twrp?
[G2 Android Development] nfin1te:
The bug only occurs with twrp 2.8.6.0 and the latest materialised theme made for 2.8.6.0 - it doesnt work because something is missing from blastagators TWRP compared to official TWRP. I just dont know what it is or if leaving that bit out was intentional or not. It works when you use TWRP 2.8.6.0 with materialised made for 2.8.5.1 f.e.
[G2 Android Development] :
Pull and post your recovery log.

Advanced > Copy log to SD.

You could also pull dmesg just to be safe.. adb shell dmesg > dmesg.txt
[G2 Android Development] nfin1te:
Ok. With the theme installed or without the theme installed?
[G2 Android Development] blastagator:
https://github.com/omnirom/android_bootable_recovery

Not sure why there is no commit for "2.8.6.0" to update the variables. This has always been the most up-to-date tree I know of. The TWRP tree doesn't have any commits at all beyond 2.8.5.0. So I might just be blind as to where twrp is most up-to-date :p.
[G2 Android Development] Michalko5896:
BUG: Cannot reboot without installing superSU
[G2 Android Development] :
Personally, I'd say both. The recovery log is more important than the dmesg... probably wont be anything in that anyway tbh.
[G2 Android Development] Mikulic1802:
TWRP 2.8.6.0. doesnt work good with theme for 2.8.5.1., i dont remember what was the problem, but i had some issues and i removed it...
[G2 Android Development] _that:
TWRP development continues in the 5.1 branch. You can build this in 4.4, 5.0 and 5.1. So you're using unmodified sources from 5.0? How did you get a version number of 2.8.6.0 then?
[G2 Android Development] blastagator:
Oops :p - will rebuild - doh.

I had that problem last time they switched the build tree - I didn't notice.

--Up and running on my d800. Will post all builds when done.
[G2 Android Development] blastagator:
Mar 30, 2015 (2.8.6.1)

-Added ability to backup/restore Sensors partition (per user request)

-Thanks to [MENTION=4878287]_that[/MENTION] for tipping my off to my previous error (& [MENTION=2719389]z31s1g[/MENTION] who's themeing led to problem discovery)

-TWRP Changelog:

Sorry: My build box decided to implode on itself after building d802. Hopefully can recover tomorrow and get all models up. For now, d800, d801, and (most popular) d802 are posted.

Edit: All builds now posted.

To clarify: Previous "2.8.6.0" was actually somewhere in between 5 and 6. It had some commits but not others. Therefore, you should not use my 2.8.6.0. The new "2.8.6.1" is really just a proper build of 2.8.6.0, but I incremented the digit so you could make sure it changed/installed :)
[G2 Android Development] :
If you cant, and me a message or something with where you're pulling your source from. I can probably sync it up and run of some builds for you
[G2 Android Development] jason2988:
thank you works like a charm.....
[G2 Android Development] blastagator:
I got it up and running. I'll have everything posted this evening after work.

Thanks for the offer though!

Also, can someone confirm themes are working properly now?
[G2 Android Development] 60nine:
i jumped from 2.5.x.x. to the 2.6.0.0. (both bumped) few days ago - just flashed newer version over the old one, rebooted to recovery and my materal theme was there, working ok...

i didn't yet try the latest twrp (2.8.6.1) - but i didn't have theme problems with the previous one...

d802, cloudy 2.2 rom, dorimanx kernel
[G2 Android Development] :
im a normal user and twrp 2.8.6.0 works fine for me, do i need this? lol i really have no idea :confused:
[G2 Android Development] Mikulic1802:
2.8.6.0. You have is actually 2.8.5.0., and 2.8.6.1. Is real 2.8.60.... Simply explainedh

---------- Post added at 05:02 PM ---------- Previous post was at 05:01 PM ----------

And themes are working good now :)
[G2 Android Development] Wimmme:
2.8.6.1 running fine on my d802 (never themes), tnx !
[G2 Android Development] projectDz:
Using 2.8.6.1 with the material theme (both the .5 and .6 variant) and the slide bar has shifted to the left instead of the right. So still not usable ATM.
[G2 Android Development] blastagator:
All builds now posted. Please let me know of any bad/incorrect links.

To clarify: Previous "2.8.6.0" was actually somewhere in between 5 and 6. It had some commits but not others. Therefore, you should not use my 2.8.6.0. The new "2.8.6.1" is really just a proper build of 2.8.6.0, but I incremented the digit so you could make sure it changed/installed :)

No idea why that would be. This is proper 2.8.6.0 build now.
[G2 Android Development] 60nine:
i've updated to latest, but now i can't "swipe to flash" anything :/

"swipe area" somehow moved to left or smtn like that...

using material theme from my earlier twrp versions (i posted a wrong version number above - i had 2.8.5.x before)
[G2 Android Development] Crumplet:
Does this recovery support kexec?If not that would be a awesome upgrade future wise for our phones due to lollipop being our last official update I am guessing.

I would also like to see a feature for multi-boot roms. At least option for duel boot . Being able to bounce back and fourth from stock to a custom rom would be so convenient.
[G2 Android Development] KyPbP:
slider now works properly in version 2.8.6.1! Theme Materialised TWRP 286X_v1
[G2 Android Development] 60nine:
can you post a link to the theme you're using because my swipe doesn't work (screenshot)

thanks in advance

ps

op could link the confirmed working themes somewhere in the 1st post
[G2 Android Development] KyPbP:
https://basketbuild.com/devs/z31s1g/1080/TWRP 286X_v1

use 286X_v1_1080_light.zip
[G2 Android Development] Mikulic1802:
http://xdaforums.com/showthread.php?t=2915584

All themes from this thread must work, just make sure you download 2.8.6.0 version of theme
[G2 Android Development] 60nine:
thnx to you and [MENTION=5418208]KyPbP[/MENTION]

totally forgot about this theme thread (i used the older theme from the same thread which worked fine until this latest twrp update)

everything is back to normal now (eventhough it's 1st of April :D )
[G2 Android Development] blastagator:
Any theme that works with "normal" or "original" TWRP will work with my TWRP. I just made a mistake on the original release. Sorry for the error.
[G2 Android Development] berryman13:
Thanks for 2.8.6.1
[G2 Android Development] tsjanda:
Slider issue is fixed and looks to be good
[G2 Android Development] HueyT:
2.8.6.1 works great for VS980 variant:good:

Love the \sensors backup/restore/mount addition. :good:

USB-OTG works also.

Flashes cool to prevent screen damages
[G2 Android Development] ars0n:
Is the slider issue a theme issue or other?

i ask because my themes slider is messed up with 2.8.6.1 vs980, but is that due to my theme? the recovery update? both?
[G2 Android Development] krija:
Hi ars0n. It's due twrp's theme engine update. You need update your theme too.
[G2 Android Development] mannequin:
just a heads up, latest twrp's don't work on the newly released official lollipop builds.