yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] A Sornchai:
Thank you sir. Never mind. I think that stay at twrp2.8.0.1 so good.
[G2 Android Development] pattonsj:
Amen to that. He is a beast. I wonder if he is getting close to an update?
[G2 Android Development] blastagator:
He's always working on it it seems, take a look:

https://github.com/omnirom/android_bootable_recovery/commits/android-5.0

I'm sure he'll get it sorted.
[G2 Android Development] pattonsj:
Yep, he's a machine.
[G2 Android Development] t1066:
There is no such file /proc/config.gz.

But if you are trying to build kernel, I found from Readme_KDDI.txt the following:

- Run following scripts to build kernel
a) cd kernel
b) export PATH=$PATH:tools/lz4demo
c) make ARCH=arm CROSS_COMPILE=../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- g2-kddi-perf_defconfig zImage -j4

* "-j4" : The number, 4, is the number of multiple jobs to be invoked simultaneously.
* lz4demo : More information can be found at "https://code.google.com/p/lz4/"
- After build, you can find the build image(zImage) at arch/arm/boot/

If there is any other information that you need, I would try my best to see if I could provide them.
[G2 Android Development] :
If you don't have proc/config.gz... I assume you're on a stock rom? Most custom roms have this ability enabled by default.

That command is just a standard build command. What he's after its the kernel config... g2-kddi-perf_defconfig in this case. If he doesn't have that file, he can't build the kernel.

Blastagator,

Tbh, if you can't get the config... Why don't you just use a pre-built kernel if one of these guys can rip their boot image? Its not the best way, but it's something...
[G2 Android Development] t1066:
Yes. I am on CloudyG3 2.1.

I had found g2-kddi-perf_defconfig in kernel/arch/arm/configs/. There are also lots of other config files as well. For example, g2-att-perf_defconfig is in that directory.
[G2 Android Development] blastagator:
I have a kernel config. The problem is the kernel I use, doesn't build because the files used to build l22 (certain flags) crash. I was working on trying to disable flags that wouldn't build, or fix the problems as they came along. I haven't messed with it much since that first night.

As for prebuilt kernel - there isn't one with f2fs and thermal, which is the point of my build. There is an existing l22 build. I'm not going to just post another build of the same.
[G2 Android Development] ktetreault14:
Well supposedly TWRP 2.8.4.0 will have native .IMG flash support. Will we see that as well?
[G2 Android Development] s1k1:
Hi i have twro 2.7.0 is any big different between 2.7.0 and 2.8.3.1?i dont understand what is mean bumed?And how to install 2.8.3.1?And does 2.8.3.1 wipe all my divice?
[G2 Android Development] blastagator:
Of course. I build it from their source. Anything they add will naturally be pulled in.
[G2 Android Development] pattonsj:
You mean to tell me that you don't take features out and mess stuff up just to be a big ole meany? I don't even know what to say... [emoji12]
[G2 Android Development] blastagator:
I only add the infinite-bootloop feature.
[G2 Android Development] pattonsj:
So you are in cahoots with the devs that intentionally make d2tw on people's phones quit working. I see where this is going. You and dees_troy also have a personal vendetta against Verizon users who need to use encryption and then you two get together and laugh at us. That's it, I refuse to download twrp ever again or until an update is released, whichever comes first.
[G2 Android Development] pattonsj:
For all you unofficial "don't be mean to our dev" police. This was meant as a joke and only a joke, so don't call your mama and whine because a big ole meany picked on blastagator. He's a big boy and I didn't take away from his time of trying to make sure you can still flash your hello kitty wallpaper. [MENTION=5031300]blastagator[/MENTION], sorry to high jack your thread. I hope a new recovery version or rom comes out soon, I'm getting punchy.
[G2 Android Development] bbender716:
It's out! And now we play the waiting game. :) thanks again for your ongoing dev work [MENTION=5031300]blastagator[/MENTION]
[G2 Android Development] blastagator:
Currently moving my BBQ VM between machines. Should have it up within a couple of days.
[G2 Android Development] bbender716:
Take your time to live your life too! Seriously thank you.
[G2 Android Development] blastagator:
It is building. Don't worry :)
[G2 Android Development] pattonsj:
Fyi, I downloaded the official and flashed the .img and got a boot cert error on reboot.
[G2 Android Development] blastagator:
If you're on KK bootloader it is because the official release probably uses loki and not bump.

Also, my builds are compiled, I just haven't had time to post them. d800 working on my phone. Will post them all tomorrow after work.
[G2 Android Development] pattonsj:
Yes, I'm on Kk bootloader. I didn't think of that. Ok, I will download yours when you get it uploaded.
[G2 Android Development] culot:
Is there any benefit to building this with Omnirom Lollipop instead of Kitkat? Just curious, as I saw your builds seem to be done with Kitkat, and the builds I did with Lollipop *seemed* to work fine, but I don't even know what I'm messing up/changing by using LP repos.
[G2 Android Development] blastagator:
Jan 13, 2015 (2.8.4.0)

-Changed Kernel Configs so default kernel state is SELinux Permissive.

++There was already a change that allowed TWRP to immediately change to Permissive, now it is Permissive immediately.

-Made a few changes to g2-common to accommodate lgl22 (when I get around to getting that working).
[G2 Android Development] blastagator:
Shouldn't make a difference. I just haven't put in the effort to change over since my device tree is KK based and this works just fine.
[G2 Android Development] Tinchoska:
So, only boot and recovery IMG will be able to be flash over recovery?
[G2 Android Development] berryman13:
Cheers on 2.8.4.0 on D800
[G2 Android Development] ktetreault14:
I'm guessing they're still uploading thats why I can't find them? Im going to update my splash screens for TWRP and if I can get a beta tester for the other models I can get you a different splash screen for your twrp also.

http://xdaforums.com/showthread.php?t=3001544
[G2 Android Development] Wimmme:
2.8.4.0 Installs and runs fine on d802.

Will backup/restore/flash some more tomorrow and report back.

Tnx for the new build !
[G2 Android Development] blastagator:
They are all posted.
[G2 Android Development] ktetreault14:
I can't see them. When I click link in op in directs me to the latest version 2.8.3.1
[G2 Android Development] blastagator:
Since you have a big thanks meter I won't flame you too hard - push F5 (or Ctrl-F5 if F5 alone doesn't work).
[G2 Android Development] ktetreault14:
I'm more of a mobile user as I'm reinstalling Ubuntu to the PC. I'm using chrome beta and clicking link in op. Either way I just noticed the tool to bump recovery and I'm going to do a quick repack and test it out

Just did exactly what you said and it worked thanks a bunch
[G2 Android Development] jonatutu:
I am having this error of " E: error sending message to add storage 65537" after I flash the latest 2.8.4.0 TWRP.

My device is D802
[G2 Android Development] HueyT:
2.8.4.0 all good on VS98012b :good:
[G2 Android Development] fLipz:
2840

As always, no problem on my D802

Good Work [MENTION=5031300]blastagator[/MENTION]
[G2 Android Development] scottdanpor:
Installed and working on LS980, thanks!
[G2 Android Development] pattonsj:
[MENTION=5031300]blastagator[/MENTION]

Still no decryption on vs980.
[G2 Android Development] sdeft:
I am also getting this on my D802. On the original 2.8.4.0 no error.
[G2 Android Development] LS89:
same...error

but i don't know what's really wrong.
[G2 Android Development] vladmir:
Thanks!

Bumped means..... it will work on JB or KK bootloader, rigth?

Enviado do meu LG-D802 através de Tapatalk
[G2 Android Development] samuele94:
Yes,i use this twrp with kk bootloader
[G2 Android Development] Tinchoska:
It's giving an error while wiping system.... Any idea? I don't know how to get a log from it...

---------- Post added at 10:12 AM ---------- Previous post was at 10:11 AM ----------

This error I mean
[G2 Android Development] ffejy462:
Twrp, advanced, copy log to sdcard

LG G2 xdabbeb's vs982.5
[G2 Android Development] A Sornchai:
How can lgl22 flash twrp2.8.4.0 with model version?
[G2 Android Development] CNordy:
Lost Recovery

I'm on a VS980 running crDroid LP ROM (therefore with 12B).

I had TWRP 2.8.1.0 I believe and tried upgrading to 2.8.4.0 by downloading/flashing thru Flashify. It looked like it successfully installed, but then when I rebooted into recovery, I got the LG logo screen with small text in the upper left corner (looked like fastboot stuff real quick) before getting stuck on a black screen. Can only hard reset with power button back into ROM. I tried 2.8.3.0 thru Flashify again to see if it was just a problem with the newest version. Same issue. Finally, I tried using the LG G2 Toolkit v1.5 program via USB to install 2.7.0.0 and I still get the same issue happening.

I have no idea what happened, but it seems I've lost recovery. Ideas? Help!
[G2 Android Development] stanbel:
Is there any way to flash BUMPed TWRP 2.8.4.0 on "clean" phone with Kitkat 4.4 and root? Without using of AutoRec and downgrading bootloader?
[G2 Android Development] kingtm:
Yes. You can. Use Flashify to do that.
[G2 Android Development] culot:
Yes, you can dd copy the image is over to the recovery partition.

EDIT: I see someone replied at the exact same time as me, so I'm removing the Flashify recommendation. :P

---------- Post added at 06:46 AM ---------- Previous post was at 06:04 AM ----------

I've been getting error a lot lately also. I've been doing my own modified builds from Blastagator sources (just playing around, figuring out how it works), so I assumed I'd broken something. I guess it wasn't me (this time)! :D

Okay, here goes:

- Wiping Dalvik, cache, or system: no error.

- Wiping Data -- then the 'E: error sending message to add storage 65537' pops up.

According to the recovery.log, 65537 is /data partition MTP_Storage_ID. Okay, when I first boot into TWRP, MTP doesn't load, I have to disable it, then re-enable it for it to appear in the OS (Linux/Windows). If I wipe *before* I do that, it gives me that error, if I wipe after MTP is all loaded up proper, no error.

Just double-checked, seems repeatable, every time. I also think I saw that error elsewhere recently, not specifically in the Wipe page, but I don't recall where (probably peripherally involved via install roms or whatnot, ones that call for a wipe maybe?).

EDIT: Now that I've done this, attempted to reproduce this over and over, I notice that it only happens when MTP is enabled when you boot into TWRP. If you disable MTP before you leave TWRP, and then come back, that error does not occur. Though if you enable MTP, then reload recovery, MTP will not actually function, as it won't show up in the OS (and shows an error in the log whining about this), which is where the disable->enable MTP comes in, and the error once again is vanquished.

**recovery.log**
[G2 Android Development] lingarajug:
Can i just use root explorer to copy paste this recovery and set permissions and will that be good enough? I know where to paste it but what permissions are no idea. Help.
[G2 Android Development] Veliion:
Sorry if this is a noob question, but are all Roms compatible with F2FS, or do I need to find a specific one? I've been trying to figure that out but I don't really find any info on this subject. Thanks in advance :D
[G2 Android Development] phoenix_rizzen:
The kernel needs to support F2FS.

The ramdisk needs to be able to mount filesystems correctly by type.

The ROM generally doesn't need to directly support F2FS, but some may need special support for an all-F2FS setup (where /system is F2FS).

Basically, you can format /cache as F2FS on any ROM, so long as the kernel supports it. And you need ramdisk/ROM support in order to use F2FS for any other filesystems.
[G2 Android Development] Veliion:
2nd noob question, what exactly is a ramdisk. Is this another word for ROM? And if it isn't where could I find one?
[G2 Android Development] phoenix_rizzen:
It's included with the kernel. Way it works is something along the lines of:

Boot loader loads kernel from disk

Kernel extracts it's ramdisk into RAM and mounts is as the root filesystem (/system in Android)

Kernel uses programs and settings in the ramdisk to configure things and to load drivers

Kernel then mounts the real filesystems from the disk (/system is mounted overtop of the ramdisk)

The OS continues to load, using the programs and settings from the real filesystems

Basically, the ramdisk allows the kernel to load all the correct drivers and needs to support the filesystems on the disk in order to mount them before loading the rest of the OS.

In the case of F2FS support, the ramdisk needs to have F2FS-related programs and drivers included, and have scripts to determine how to mount the rest of the filesystems on the phone (the mount command is different for ext4 vs F2FS filesystems).
[G2 Android Development] Veliion:
So what all can I safely convert to F2FS as long is I have a kernel to support it? Everything but /system, or only /cache?
[G2 Android Development] phoenix_rizzen:
With just kernel support, /cache is safe to convert to F2FS. I've tested this on a couple ROMs using Render's kernel.

It should also be possible to convert /data. However doing so will fomat your internal storage and you will lose all data stored on the phone!! Be sure to backup all data ahead of time to a PC, and know how to use "adb push" to put data back onto the phone from the PC! If you don't know how to do that (I don't, never tried), then don't format /data as F2FS.

I haven't seen any reports of successfully converting /system to F2FS on the G2 (although I haven't been looking too hard).
[G2 Android Development] Veliion:
Thank you so much, you've helped me a lot!

-------

Edit: So I changed /cache to F2FS and it booted on my d800 with blisspop and renderkernel. If I change /data to F2FS however it refuses to boot.
[G2 Android Development] lapena:
anybody can help

need help

Im acidentaly erase evrything on my phone..in recovery.I save on my computer one Twrp backup of Alegen room and I want to restore them.When Im copy that files in phone and try to restore,nothing hapend.My qestion is wher I must put that file to restore them?
[G2 Android Development] Tinchoska:
Anything about wipe error?
[G2 Android Development] lingarajug:
Well if u have an external sd or an otg, copy backup in to it and then restore it.
[G2 Android Development] lapena:
Thats problem.,dont have external sd,or otg...any other solution
[G2 Android Development] tsjanda:
What is the benefit/drawbacks of converting /cache to F2FS?

What are the steps to convert just the /cache folder?
[G2 Android Development] lingarajug:
Never did it before but u may be able to push using adb.
[G2 Android Development] Sully9663:
Is there a way or would it be possible to add screen rotation?
[G2 Android Development] south956:
Well have you tried making a simple backup thru Twrp and then finding folder using Esexplorer (or something similar) to find TRWP folder where the backups are, then copy and paste the original backup into it. Boot back into Twrp and then backup should be there.[emoji1]

For your own custom Sig : http://xdaforums.com/showthread.php?t=1922304
[G2 Android Development] lapena:
Tnx for answer, yes, try that too, but TWRP doesn't recognize ... I install new room already..
[G2 Android Development] RenderBroken:
Well a benefit would be a possible performance increase.

Drawback would be having to format /cache and thus losing any data stored there so like app settings and many other saved files would be gone. It would be like clearing cache/dalvic cache.

But the next boot would restore most of it and you may just have to re-setup app settings for some apps. Its really easy to do.
[G2 Android Development] tsjanda:
Can you give me details or steps i can take to convert my /cache to F2FS. Is it done thru twrp? I have 2.8.4.0 flashed. Thanks
[G2 Android Development] fLipz:
i did it with AiCP 11-10-14 and Render Kernel R26. and used [MENTION=3927368]poo706[/MENTION] F2FS ROM Converter

/data=F2FS

/cache=F2FS

/system=F2FS

had to go back to EXT4 'coz internal storage can't be recognized.

maybe this week i'll try again with [MENTION=5438598]RenderBroken[/MENTION] R7 Kernel and Exodus ROM.

i'll give this one a shot by [MENTION=4544860]osm0sis[/MENTION] SD CARD Fix Permission

---------- Post added at 08:02 AM ---------- Previous post was at 07:56 AM ----------

Try this one F2FS
[G2 Android Development] RenderBroken:
Its really simple, Just open up TWRP > Wipe > Advanced Wipe > Select the Partition Check-box you want to change > Repair or Change File System > Change File system > Select the format type you want to change to

lol thanks. I think that tool may not be working correctly for our roms. I am not 100% sure though. I do know i have used the tool for my N7 2013 and it worked great!

EDIT: AH you beat me to it! Still thanks for helping out!
[G2 Android Development] tsjanda:
I was able to change just my cache to f2fs. Wonder if i can change delvik to? Anyone try sucessfully?
[G2 Android Development] fLipz:
+1

i just disable MTP and all is good.

---------- Post added at 09:09 AM ---------- Previous post was at 08:47 AM ----------

you cant format Dalvik Cache or iNternal Storage to F2FS.

---------- Post added at 09:18 AM ---------- Previous post was at 09:09 AM ----------

it worked for me 100% with [MENTION=4668017]NABENDU1[/MENTION] F2FS Tool or poo76 Script.

but my problem with F2FS, internal Storage cant be recognized.

later, ill play with it again with Lollipop Rom and your R7.
[G2 Android Development] samuele94:
Same error (e: error sending message to add storage 65537)when flash dorimamx 9.7 without wipe. I add log https://www.dropbox.com/s/lptsuepu7tvoj3m/recovery.log?dl=0 flash working fine and no problem with dorimanx flashed
[G2 Android Development] tsjanda:
I too encountered this error, disabling mtp in twrp solved this for me.
[G2 Android Development] samuele94:
for me is just a display bug but I have not tried to use the transfer mtp but if one needed mtp it works?!
[G2 Android Development] tsjanda:
I have never used mtp (in twrp), but just disabling it, and reflashing the 9.7 cleared the error. I am not a dev so I cant elaborate on the why it happen or if it the 2.8.4.0 twrp that causes the error, or the dori kernel. I am not sure if it is directly related to just the 9.7 or if it effects earlier versions as well.

I read the people are having errors when trying to wipe especially if they are trying to wipe the /data partition. When they disable mtp the error is solved.

I think it should be disabled by default unless selected by user.
[G2 Android Development] raulx222:
The " error sending message to add storage 65537" is from TWRP..I'm on CM12 and i get this error when i flash/wipe
[G2 Android Development] dorimanx:
Kernel is not effecting recovery.

Recovery has its own kernel!

So its no point to report that you installed my or other kernel and see bug in recovery.

Just report the bug. Its belong to recovery only.

Sent from my LG-D802
[G2 Android Development] sdeft:
If you don't want to disable MTP as mentioned above you can always go back to original TWRP 2.8.4.0 which does not have the error until blastagator fixes this. Unless it is a setting issue between the 2 that is different, maybe the MTP.
[G2 Android Development] raulx222:
It's ADB enabled in recovery?.. or is any way to enable it?

I need ADB in recovery for this: http://xdaforums.com/showthread.php?t=2635736&highlight=adb

When I connect the phone to PC(while the phone is in recovery and MTP enabled) it recognize it, but no ADB connection..any ideas?

I have the drivers installed, and I also tried UniversalAdbDriver but with both drivers I can use ADB only when Android is booted and not in recovery.

I need that tool to take screenshots in AROMA..because in TWRP works vol down + power button to take screens, but in AROMA doesn't

EDIT: MTP works.. but any way to make ADB to work?

On Linux ADB works in TWRP..so yes, ADB is enabled in recovery...but it doesn't work on windows, it doesnt recognize my phone when it is in recovery..help?

Solved! :D
[G2 Android Development] samuele94:
I use the bootloader kk then I rest with this TWRP
[G2 Android Development] sdeft:
I used the below driver and never had issues with adb.

http://adbdriver.com/
[G2 Android Development] StreetkillnHD:
do i just download the latest recovery and flash it to update my old 1?

because i did that and got an error
[G2 Android Development] tsjanda:
Might help if you are more specific on regards to what error, current settings, and phone specs ect. Just saying.
[G2 Android Development] samuele94:
How to disable mtp in twrp?
[G2 Android Development] tsjanda:
In mount disable mtp button
[G2 Android Development] samuele94:
thanks, now everything works fine!
[G2 Android Development] tsjanda:
Glad i was able to help
[G2 Android Development] blastagator:
I don't know what's causing it and I don't get it on my d800. Sorry!

edit: I see it now when I tried to flash something. Turning MTP off first prevents the error.

You say original TWRP doesn't cause this error?
[G2 Android Development] minoel:
i think there is a bug with version 2.8.4.0 on lg d802 after made wipe the data partition didnt wipe and the message was somthing like dint mont partition 6780 in red .i downgrade to v 2.8.3. 0 and it worked
[G2 Android Development] 0bu:
+1, reverted back to 2.8.3.1 till its solved
[G2 Android Development] fLipz:
i'll test it now on DeesTroy TWRP.2840.

EDIT:

tested original TWRP-2840

1. Enable MTP >> 5X WIPE cache, dalvik, system, data = no error

2. Disable MTP >> 5X WIPE cache, dalvik, system, data = no error

tested blastagator.TWRP-2840

1. Enable MTP >> 5X WIPE cache, dalvik, system, data = error

2. Disable MTP >> 5X WIPE cache, dalvik, system, data = no error

D802 user

see atta hed Log
[G2 Android Development] tester5224:
I apologize if its been asked, but searched and couldn't find exact answers. (maybe best to put in Q&A on 3rd post)

I'm currently on CloudyG2 v2.2 with TWRP 2.8.0.1 that is NOT BUMPed. (on D802)

1. Can I update this simply by flashing with my current TWRP without any wipes ?

2. What about the F2FS? is it optional, and I don't have to reformat ?

3. When LL will be available for the D802, (CloudyG2 v3.X for example) will I have to replace the recovery\format again? (so best for me to wait?)

Thank you
[G2 Android Development] Wimmme:
1. Yes

2. Yes. No if not using f2fs ROM

3. Patience. No.
[G2 Android Development] eddro22:
Is the error just on d800s or on all the g2 I have ls980 is it safe to update my recovery thanks
[G2 Android Development] 0bu:
Yeah, red that in a few posts too, but im getting this error message regardless of MTP state. So am patiently waiting for a next build or correction.
[G2 Android Development] Tinchoska:
Guys what about the error occurring when wiping system?
[G2 Android Development] ledvedder:
Backups seem to take much longer than they did on 2.8.3.1
[G2 Android Development] sdeft:
Yes in original TWRP I do not get the error.
[G2 Android Development] culot:
Looks like the next version of TWRP fixes this, as they've changed it up so it doesn't display that error anymore. It's harmless anyway, just looks so red and ominous. :)
[G2 Android Development] willemhouterman:
Hi,

Sorry for asking, but can someone help me with or to a safe instal guide fot this twrp? Can't find a recent one on the internet. Only from 2013.

tyvm