yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] jojimat:
Thanks for the reply ,

one more question ,

Install the LP bootstack means , install (bootstack-d800-LP_30f-bump-blastagator-signed.zip) first and then flash Rom ?
[G2 Android Development] Zackptg5:
Correct. Bootstack contains boot loader, recovery, and other partitions
[G2 Android Development] voxluna:
Okay, I tried it. No joy. :( It does ask for the password, that's a start. But somehow it is not decrypting the partition. And then it just sits there saying "Trying Decryption with Your Password" and

Updating partition details...

...done.

E: Unable to mount storage.

Full SELinux support present.

Running boot script...

Finished running boot script.​

There's also a runner bar going at the bottom. But it never times out, which also means you have to cold boot it to try again. I tried several times just to make sure I wasn't putting it in wrong.
[G2 Android Development] blastagator:
Were you using 2.8.7.1?
[G2 Android Development] agonthier2011:
rogers d803 swipe not working in twrp

i tried installing twrp 2.8.7.1 bumped on my rogers d803 g2 and the swipe to flash isnt visible or working in recovery, all bumped versions from 2.8.6.1 and foward are broken for me . 2.8.5.1 is working, the swipe in recovery works fine. had to install clockwork mod to install a working version of twrp via android.....
[G2 Android Development] lacus:
Delete or update your twrp theme

Sent from my LG-D802
[G2 Android Development] voxluna:
Yes, I downloaded the D801 2.8.7.1 ZIP from your site, extracted the .IMG file, and flashed it with Flashify.

Still, to satisfy my own curiosity (and make sure I wasn't sending you on a wild goose chase), I flashed your 2.8.6.3 image, and confirmed it was the version that booted. It exhibits the same password prompt, and fails to accept it. Then I flashed your 2.8.7.1 again, observed that the version number changed, and tried once more -- same result. So I'm 100% certain it's the right file.

Just for fun, I also downloaded the official TWRP image using Flashify's internal function, the latest of which was 2.8.6.0 (weird?). This one in fact does not ask for the password at all, and consequently cannot see /data (or more properly, it shows it as zero MB).

Since I've now tried this multiple times, very very carefully entering the password and watching the buttons depress, I'm also certain I'm inputting it correctly.
[G2 Android Development] Wiplive:
How do I install this? I have old TWRP from AutoRec V1 using 4.4 KitKat. Do I just flash the new ZIP?
[G2 Android Development] bender_007:
Either flash zip or extract zip and flash the image via twrp or via flashify(twrp has and option to flash img also, just tap on zip )
[G2 Android Development] Iiz10ninja:
so, to my understanding, this will flash a lp bootstack which will allow us to flash lollipop rom?
[G2 Android Development] jamesd1085:
If that's your understanding then you need to do a lot more reading...
[G2 Android Development] blastagator:
Another encryption commit: https://github.com/omnirom/android_bootable_recovery/commit/7fe1b3987a2c87a79d95f5b55fa11752f918a79b

However, I don't think this will change anything for us. They know it is an issue. Not sure when it will be sorted (if ever, for our phone)
[G2 Android Development] voxluna:
I'm just surprised this is still an issue, and not a bigger one -- I guess not that many people encrypt. And/or not that many devs have G2s. After losing 3 phones (a D800, L90 and EVO 4G) to various bad actors, it's an absolute necessity for me.

But without Nandroid backups, it's sketchy trying out other ROMs when you have an encrypted /data partition. There is an alternative called Online Nandroid Backup, which in some ways is more convenient, but in others less so. In the past I'd flash new ROMs left and right (my God, that poor SGS 2!), and if something blew, just use a backup to restore to the exact second I left it. Now, though, I only have TiBu backups of frequently changed data, the occasional ONB, and a much less secure feeling. It's what's holding me back from doing an LP update....

Anyway, thanks for looking into this, and let me know if you have a new image you want to test. I'll be happy to test it as much as you need.
[G2 Android Development] TMG1961:
Is there a way to protect twrp with a password or pincode? Or even a way to remove twrp from phone and have the standard recovery?
[G2 Android Development] z3pp3lin:
Nope https://twrp.me/faq/securetwrp.html tot or kdz back to stock for standard recovery
[G2 Android Development] TMG1961:
Thanks for your answer.
[G2 Android Development] voxluna:
I'm not sure what the stock recovery would accomplish, if I understand the question (wanting a passcode). Because it certainly doesn't do this.

Which is why I am adamant about encryption now... and, consequently, annoyed that TWRP doesn't support it on the G2. Encrypting the /data partition partially alleviates this problem of physical access, particularly for lost or stolen phones. That said, someone who can touch the device could still plant something in /system, or (ideally) the bootloader, then return it to you. Because there are really no absolute methods to prevent it -- and this includes PCs or any other machine.

Moral: Keep your phone close, and don't let anyone at it. At a minimum you might be inconvenienced, at worst you could be extorted or embarrassed, lose your job, have your bank account emptied -- hell, who knows, some people are horrible and delight in these things. Am I paranoid? Absolutely. And I consider it a best practice.
[G2 Android Development] acehazard:
Is it possible to enable Sideload in TWRP from adb. Can't enable from within recovery, got erratic touch.
[G2 Android Development] antond57:
The later version of TRWP support MPT drive, so the internal storage is mounted as a external disk drive to the Windows system.

Copy en paste de required files to it on the Windows method.
[G2 Android Development] dannycellestio:
[MENTION=5031300]blastagator[/MENTION] have you seen the TWRP for the LG G4 ? A video on how to root the G4 has been posted a while ago on to the portal. Do you think you could get that on our device ? With all the Material Design and stuff ? Or is it just a theme ? :confused:
[G2 Android Development] 60nine:
it's a theme
[G2 Android Development] tryceo:
how do i install this? loki?
[G2 Android Development] Zackptg5:
You need to already have a custom recovery installed, then flash this. If you do not have a custom recovery yet, then follow this guide: http://xdaforums.com/showthread.php?t=2449670

I used option 2

Then boot into recovery, and flash this twrp

Loki is an exploit to get around lock bootloaders so you can use custom recoveries. It's not a method of installing custom recoveries but rather a tool to do so
[G2 Android Development] rancur3p1c:
I have a question: 'what's wrong with my bootstack that is causing this, and how do I get to the Blastigator's hybrid-BUMP bootstack so that I can jump between both LP and my current daily-driver KK rom'?

Here's the back story:

0. I had LG G2 D800 KK4.4.2 stock rom installed

1. I installed TWRP using the old lokifying AutoRec. I didn't know TWRP didn't need Loki->AutoRec, I just used it cause it was easier than fastboot flashing.

2. I updated TWRP, used my phone for 6 months, and then made a TWRP backup of my 4.4.2 stock rom before I reflashed...

3. I reflashed phone completely, using LG Flash Tool, and manually OTA'd to Lollipop, because I wanted to check it out.

4. I used the newer autorec (https://play.google.com/store/apps/details?id=b007.autorecd800)

5. I got Boot Certification Verify errors after restoring my KK4.4.2 backup

I tried flashing each of Blastigator's Bootloaders (http://blastagator.ddns.net/bootloader.php) but still got the Boot Certification Verify issues and was unable to boot the original backup.

To fix,

1. I re-flashed and manually OTA'd back to 4.4.2

2. I used the old lokifying AutoRec to install TWRP (and updated TWRP)

3. I restored the original KK backup I had and it works again

Basically, I don't understand why I can't just install Blastigator's bootloaders and go on to better things.
[G2 Android Development] Zackptg5:
For starters, the root of your problem is that you're mixing up bootloader and bootstack. Blastigator has multiple bootstacks for the D800. A bootstack contains several partitions including recovery and bootloader. All lollipop bootstacks for all lg g2 variants still contain the kitkat bootloaders because the exploit used to modify them (bump) was patched by LG.

So in your case, make a twrp backup of your kitkat install with at least these partitions backed up (what I back up): boot, system, data, cache, efs, (modem if you feel unsure about the rom you'll be flashing).

Then flash Blastigator's lollipop boostack, flash latest TWRP, then flash your lollipop rom.

Since the LP bootstack contains the KK bootloader, you can just restore you're KK rom backup whenever without having to flash anything. So you can go back and forth between KK and LP roms (if they require KK bootloader) without needing to make any changes to the bootloader and such
[G2 Android Development] rancur3p1c:
this is what I've done, and it doesn't work. Like I said, I've tried restoring with each of his available bootloaders.
[G2 Android Development] themaskofwraith:
Thanks it worked
[G2 Android Development] dannycellestio:
Does anybody know where could I find Material themes compatible with 2.8.7.1 ?
[G2 Android Development] Bullshark_7:
I'm unable to update my recovery to the latest version,it always shows an error
[G2 Android Development] AlmightyAl:
Oh no......

Was using 2.8.5 running CM12 roms. Then wanted to try Cloudy's G2 3.3 so flashed correct Bootloader. Used cloudy for a few days.

Decided I don't want stock rom so went back to TWRP. Wiped phone, re flashed TWRP. Flashed RRemix. Rebooted. Now stuck on LG Logo and can't access recovery. Stuck on logo.

Help!
[G2 Android Development] AlmightyAl:
UPDATE

I have tried all of the hardware button combinations multiple times and it wont load ROM and it wont go into recovery. I can get it to download mode but at the moment my PC wont recognise the phone (I don't have any specific software installed on PC yet though).

I can also hold all three hardware buttons and it takes me to a screen with options of switching hardware buttons off etc (Hardware Key Control Mode), but this obviously doesn't help.

What are my options now?
[G2 Android Development] PatrickMac:
What bootloader did you flash?

And what button combo did you press to go into recovery?
[G2 Android Development] AlmightyAl:
I reflashed TWRP then RRemix. I don't think I flashed a bootloadrr.

As for combos I have tried all. Vol down and power, vol up and power, all three, vol up and power then vol down and power and everything in between........

When I wiped phone I reflashed TWRP then rebooted. It then rebooted back to Cloudy 3.3. I rebooted and tried button combo but wouldn't work and it booted to Cloudy again. I installed titanium backup and rebooted to recovery from there which worked (so I k NJ ow TWRP is there somewhere). I wiped again then installed RR and rebooted. Now I can't get past LG logo. Almost like the hardware button combo doesn't work and as I cant access ROM I cant reboot to recovery that way either........
[G2 Android Development] PatrickMac:
First make sure that your phone is fully powered off. These are the button combinations that worked for me in the past:

1) Power+Vol DOWN, after LG Logo Power+Vol Down

2) Power+Vol Down, after LG Logo Power +Vol UP

3) Power+Vol Down, after LG Logo Vol UP+Vol DOWN
[G2 Android Development] AlmightyAl:
Erm.............

Tried option 3 and it worked.

I tried every conceivable options (including 3 or so I thought)

I'm now going to slink away in shame.

But thanks PatrickMac.
[G2 Android Development] kRel:
hi [MENTION=5031300]blastagator[/MENTION]

have you noticed that sometimes (indeed often) when bumped TWRP active energy saving, the screen goes black with the padlock and the phrase "swipe to unlock" screen does not release in no case?

I know that the swipe It must be done slowly from left to right, perhaps trying several times ... Believe me: on my G2 D802 is sometimes necessary to restart by pressing for 10 seconds the back button ....

It is not an unsolvable problem or severe, but this little flaw makes it impossible to make any wipes, (eg. Cache and Dalvik) immediately after the installation of a rom or after a restore, before restarting .

thanks for your attention
[G2 Android Development] powwow12:
What does this thermal control do exactly? Does it just set an upper limit of CPU temperature? My device gets very hot even with casual use, so I'm looking for ways to bring the temperatures down. Will this help or should I look for other more active (?) ways to do this?
[G2 Android Development] blastagator:
I haven ever experienced this issue and I don't believe anyone else has reported it. Not sure what the cause could be.

This commit probably explains it the best: https://github.com/blastagator/aicp...mmit/19c3cc4450b44813b540b3eb69d51a858129d595

Basically it sets max CPU speed based on temperature tiers. As device gets hotter, CPU gets throttled down more.
[G2 Android Development] da_reeseboy:
I had this issue with 2.8.6.1 or 2.8.6.3 (I can't remember which). Basically I would end up with multiple layers of "swipe to unlock" piled and would have to swipe thru 3 or 4 of them to get it unlocked. I haven't had any trouble with 2.8.7.1 though.
[G2 Android Development] _that:
Yes, that has been fixed before 2.8.7.0.
[G2 Android Development] blastagator:
Added "misc" partition for backup and restore option.

Also added all of the bootloader partitions.

Will be in next version :)
[G2 Android Development] queerquirks:
As i plan to sell my device, which option do I choose to wipe all personal files and data but leave root access?
[G2 Android Development] fLipz:
What is your Current ROM?

Variant?

if your on AOSP ROM:

Go to Settings

Backup and Reset

Factory Data Reset

Erase Stored Content

that should do it. i think it's the same as Stock ROM.

for some peace of Mind:

Reboot to Recovery (TWRP)

Go To WIPE

Advance WIPE

Check Dalvik Cache, System, Data, Cache, Internal Storage

Flash AOSP ROM or Stock ROM (Cloudy, Somboons etc.)

Flash SuperSU

Flash GAPPS
[G2 Android Development] queerquirks:
thanks for the quick reply.

im using pardus 7.7, i believe its based on stock rom :confused::confused:

i havent read into android development stuff for almost a year now so Im pretty confused.

Variant is international version D802, did i understand you correctly?
[G2 Android Development] fLipz:
Yes, Option 1 is enough. and make sure you check Erase Stored Content
[G2 Android Development] queerquirks:
Option 1 meaning this:

Go to Settings

Backup and Reset

Factory Data Reset

Erase Stored Content

The above method will keep root and custom recovery but remove personal data? Wont it remove my rom file too if sth goes wrong, how do i go about flashing then?

Appreciate the replies!:o
[G2 Android Development] v.konvict:
First time tranna make up a backup. I am on aosp 12.1 wanna test cloudy g2 3.3 . do i backup system and system image or just system??
[G2 Android Development] gozzaa:
Just the system is enough
[G2 Android Development] voxluna:
Is /system able to run on F2FS? I can format the partition with TWRP as F2FS, but when I go to restore a backup, it formats it with make_ext4fs and it's an EXT4 partition.
[G2 Android Development] nimrodsv:
You won't get any benefit from it and it can only do harm, no good.
[G2 Android Development] voxluna:
Are you talking about /system in particular, or any partition? I haven't seen anything about the harm part, but I did read that F2FS is faster than EXT4 in most benchmarks. Now, whether it doesn't play nice with something, I don't know. But [MENTION=5031300]blastagator[/MENTION] did put it into this TWRP version, so it must have somewhat of an audience.
[G2 Android Development] nimrodsv:
System in particular.
[G2 Android Development] BaschtlWaschtl:
F2fs is faster in writing. System is read only partition..
[G2 Android Development] voxluna:
Hmm. What do you base that on, something you've read, an article, experience... ? (No, serious question.) Everything I've seen has been positive about it. I'll have to look for the F2FS benchmark article I read, because I thought it had a performance benefit for read, too. The only "downside" I've seen, such as it is, is that it takes up a little more space for the journal.

This is why I was wondering if it's supported on /system, because I wound up with EXT4 on that, and F2FS on /data. Not sure how that happened otherwise.
[G2 Android Development] da_reeseboy:
You might reread what he said. F2fs is faster at writing, but system is a read only partition... As in you don't write to it. So the performance increase f2fs has in writing doesn't exist with system since you don't write to it.
[G2 Android Development] runekock:
f2fs is more likely to have bugs, because it's newer and less used than ext4.

For instance, for some Galaxy Nexus users messages disappear in whatsapp: http://xdaforums.com/showthread.php?t=3140876
[G2 Android Development] fLipz:
For our Device LG G2 it is not good to use F2FS as our

File System

especially for /system based on some user experience. you'll encounter a lot of troubles and problems (sometimes you'll break your Recovery, you can't boot, then you'll have to KDZ again just to restore back from the start)

on the safe side, i'm using F2FS for /cache 'coz anytime i can switch back and forth from EXT4 to F2FS
[G2 Android Development] voxluna:
Well, that part about read-only was after I had written the question, right above it. And I had been under the impression F2FS had read benefits as well. In any case, after seeing these negative comments, I'm just going to stick with EXT4.

---------- Post added at 11:16 AM ---------- Previous post was at 11:11 AM ----------

But from the sounds of it, I don't know that I would even trust an F2FS /cache not to introduce problems. :-/ It's a shame, because it has the potential to make a difference, I think. Maybe when it's more mature....
[G2 Android Development] blastagator:
I have been using F2FS for almost the entire time of this project. Most kernels use the latest drivers (double check your kernel to confirm). I have not had a single issue traced to the FS.

Just as FYI to others :) Currently running Dirty Unicorns 9.6. Previously on Dorimanx Stock I never had problems either.
[G2 Android Development] kRel:
TWRP bumped format *.img

Hi...

Please there is some recent version of recovery bump in * .img format?

It would be a good thing, because you could install via fastboot USB and PC in the event of damage to the recovery

I hope that it is possible, in this case that [MENTION=5031300]blastagator[/MENTION] reads this request. and forgive me for this quote.

EDIT

I have another equally important question:

extracting with winrar from 2.8.7.1 the file recovery.img , it can be installed via adb fastboot?
[G2 Android Development] voxluna:
Yeah, I'm conflicted, really. I was hoping F2FS could counteract some of the performance penalty of using encryption (save a little time on read/write, because CPU is be busy with encrypt/decrypt). Then I read the part about /system being read-only (which I knew, just didn't factor in), and the reports of it misbehaving. I also read elsewhere that Samsung didn't go forward with launch on whatever phone was going to introduce it, because they didn't think it was ready yet.

It has promise, I'm just not sure what to think right now. In the midst of all this, my phone had a nearly hard-brick crash a couple days ago, which put the fear of God in me -- only hours of experimentation brought it back. I may have to use F2FS whether I like it or not, since my Nandroids are in that format, so I'm glad you have positive things to say.
[G2 Android Development] blastagator:
You can format the partition and then restore and it will keep the new format. TWRP will just give you a warning that the files are being restored to a different fs.
[G2 Android Development] Kirpman:
Well, for me something went really bad anyway. After converting to f2fs when booting phone asked to decrypt some code so I had to go back to ext4. Using glody g3 rom and dorimanx kernel.
[G2 Android Development] wgbfilho:
F2FS in uSD Card Partition

Hi,

Is it possible to use f2fs in uSD card partition with Link2SD?

How can I format my sd-ext partition in f2fs?

Tks
[G2 Android Development] je2854:
Whenever I've ever tried to touch Dalvik I've always been denied.

Format /data = success

Format /dalvik cache = invalid partition

That being a choice it treats it as another partition and not a mounted folder. Or maybe it's like Windows and handles a mounted folder like a partition which still treats it as a drive letter even though it's a folder... And STILL has it's own file system. Sounds contradicting and maybe it is but it's 2a here and its sounds correct in my mind.... Maybe I'm just as confused and delirious and have absolutely no idea what I'm talking about.
[G2 Android Development] risis78:
SD card still does not work...

In the "select storage" page I don't see more "sdcard" item and in the mount page I see "storage1/sdcard" but it don't check if I tap over it
[G2 Android Development] blastagator:
I will try to make some more tweaks and push another build today after work.
[G2 Android Development] jriv:
My phone didn't like this recovery apparently happened first reboot after flashed it?
[G2 Android Development] blastagator:
Compiling new test now :)
[G2 Android Development] blastagator:
Please try test 3 :)

https://www.dropbox.com/sh/khwyo61di7i5rq9/AACOGcLv8yNQW_oCz7U293o0a?dl=0
[G2 Android Development] risis78:
Sd card works now!

(also by MTP device)

You are great!
[G2 Android Development] blastagator:
Yay! I'm going to tweak some more stuff and probably post one more for testing before calling it final. Thank you for your help :)
[G2 Android Development] blastagator:
TWRP 2.8.1.0

TWRP 2.8.1.0 was marked up the pipeline! I'll be building it for all of us as soon as I have the f320 SD Card sorted just the way I want it :)
[G2 Android Development] blastagator:
https://www.dropbox.com/sh/khwyo61di7i5rq9/AACOGcLv8yNQW_oCz7U293o0a?dl=0

Please try test 5 and confirm I didn't break anything :p

After confirmed I am going to roll out 2.8.1.0 on all models!
[G2 Android Development] risis78:
Yes, It seems all ok
[G2 Android Development] je2854:
Possibly in Fahrenheit or an option to change
[G2 Android Development] chevycam94:
I was kinda hoping for the same things. Id prefer Fahrenheit.
[G2 Android Development] revo420:
Thank you for your work! I used the early build of your current build (does that make sense!?) I will update with the new current build. Problem I ran into was I was able to transfer KK baseband and some small files but I wasn't able to transfer cloudyg3 which is 1.3gb. I will try new version and see what happens.

So lets say I'm on JB and moving up to KK. I would:

Wipe everything and convert /data and /cache to F2FS

Install KK Baseband

Install CloudyG3

Install Dorimanx 8.5 kernel

and everything should be fine?

Thank you again - read each reply and it helped me understand some things :good:
[G2 Android Development] blastagator:
TWRP 2.8.1.0 is building for all models right now! Will be up tonight!
[G2 Android Development] blastagator:
Oct 24, 2014 (2.8.1.0)

-Team Win released version 2.8.1.0

--Thus, all changes that come with that. [TeamWin Page]

-Full repo sync and upstream merges on all sources.

-F320 External SD Card is now supported.

-Ability to backup Modem and Recovery partitions

-NOTE: After install you

MUST

boot in to TWRP, go to "Settings" and click "Restore Defaults". You might have issues if you don't do this, so just do it!
[G2 Android Development] blastagator:
Team Win added that feature. That is in their source, not mine. Sorry :)
[G2 Android Development] vladmir:
I want to do the same thing as you....did you change the update scrip of cloudyg3 rom?

Enviado do meu LG-D802 através de Tapatalk