yashsingh1/xdaforums huggingface dataset:
[G2 Android Development] heleos:
There is a difference between benchmarks that give you one score to rule them all (antutu) and specific benchmarks tied to a single task (read speed). Your antutu score can vary greatly, but it has a lot of factors going into it.

When you benchmark a single test, it shows more validity, and you are able to ascertain certain information out of it
[G2 Android Development] xXRapToRiXx:
Question

Hi, is f2fs working with r7?

If i format all to f2fs, will i also need a f2fs compatible rom ,or is a compatible kernel enough?
[G2 Android Development] heleos:
Only cache for f2fs on r7 at this point. R8 should have it working for all (or at least data)

I believe you need a compatible ROM, kernel and recovery
[G2 Android Development] RenderBroken:
Yes, just /cache for now. Also when I am sure all partitions work with F2FS, you still need a ROM to Support F2FS. So don't go and format your /system partition without doing the needed research first. Thanks.

Also it almost seems like there is a weird argument about whether or not its worth coding F2FS for myself. lol

1. Its not that big a deal, 95% of the work is already done.

2. I am going to code for it (There is no ifs)

3. I build my kernel like I want it. In the end I am building for myself. I add features in that I want. Do I listen to others and try to be accommodating if I can, sure. I like to share my work, I like to offer something that isn't offered. When I started Savoca was the only other AOSP Kernel out and it was getting out dated. I filled a gap. I like where this kernel is going. It offers features that aren't out and is not overly bloated. Also I don't over work every subsystem out there. If something is not broke, don't fix it. Still I like to build and learn and share what I know as well as instigate discussion if possible. The argument should not be if its work implementing or not because I am going to implement it. The argument should be where does F2FS succeed and where does it lag behind, what pitfalls could there be if any, etc. EXT4 has been around for awhile and is proven, still F2FS doesn't get better by remaining on the sidelines as a cool concept.
[G2 Android Development] Hid3rs:
JackpotCalvin is building some kind of hybrid kernel for his CM12 build, using the freshly released LG Lollipop kernel source (f320).

Don't you plan on cherry-picking stuff from LG's source code?

I can imagine there are some improvements in there considering that we still use JB sources if I'm correct. He said dt2w has never been so responsive before, which sounds good. I think it would improve our camera as well, at least we could use Mi2Raw to take .dngs.

I'm not saying that you should do it, I'm just wondering whether you thought about checking Lollipop source code out.
[G2 Android Development] jesssiii:
Speaking of that, I'm enjoying having R7 clocked down to that 96000 minimum, thanks!

LG G2 VS980
[G2 Android Development] RenderBroken:
Naw! Screw that new LG source with the new CAF changes. I dont need no stinking book learning to see that its not a good idear to update. lol jk Yea I have been eye balling LG source the past few days, I would rather wait til source for the D800 or D802 come out before I really start merging. Thanks to Rashed, I already know what CAF branch LG used to build the new kernel and could start picking those commits on top of this kernel but still I would rather wait til I can get my hands on more universal source. I will have to check out his progress to see what exactly he is pulling in. But do keep in mind that he just builds for the VS980 right? I have to make my kernel source build for all variants (Or at least the ones possible to build roms for) so I have to be a little more politic in what I do with the kernel. He can build a Kernel based on KK and make his rom support the dependencies. Boom done. I have to make my kernel stick with CM's JB crapola so my kernel will work with 95% of the roms our for the G2. Still I am waiting for newer source so maybe we can create a new standard LP kernel and have it separate from CM. Kinda like what dr87 did. At this point I would rather build a separate kernel for CM based roms and a nice, clean, properly built kernel for LP AOSP based roms.

See I look out for you guys! Even though I don't use it, I did not see a problem in adding it in.
[G2 Android Development] ktetreault14:
Is there any way I could get a copy of the latest ls980 build not in lz4? [MENTION=5438598]RenderBroken[/MENTION] It would further help with dualbooting at the moment.
[G2 Android Development] albertorodast2007:
Will R8 be bumped to KK bootloader or it will still need JB bootloader?
[G2 Android Development] RenderBroken:
Can I ask why it would help?

Not yet. I have debugging output to help me track down the issue but at the moment there is no real benefit to using a KK bootloader other than just having the ability to do so. So with that its pretty low on my to do list. Is there a particular reason why you want to use a KK bootloader? There may be unforeseen reasons that I am not aware of. I have the D800 and don't see a reason to do so but that may be different for the other phones.
[G2 Android Development] Jugstah:
I think it would be a tremendously positive thing to not be held back by JB kernel. As i understand it the KK kernel (and I would assume the LP kernel) allow you to build once for many variants, something which is not possible with JB. (edit: if you compile the kernel in dtbv2 as opposed to dtbv1, which was added in KK, then one build can support many devices)
[G2 Android Development] xXRapToRiXx:
This Kernel is fantastic:

2 cm12 nightlys had bootloop(with cm Kernel)...I flashed RenderKernel and it worked.
[G2 Android Development] qweewq22:
synapse at this kern dont save sentings after reboot
[G2 Android Development] rmsinaga:
You can set it at Synapse settings (3 vertical dots on the top right): tick 'apply on boot'
[G2 Android Development] carlos67:
Even with set on boot ticked it still doesn't save settings sometimes. Synapse is just plain buggy. All over xda people complain of settings lost on reboot. I'm contemplating moving over to Trickstermod but gonna wait till R8 to see if things improve.
[G2 Android Development] ktetreault14:
Well the main reason is because chenxiaolong has a dual boot patcher that we are working to make better on the LG G2. It currently doesn't have support for the lz4 format and that is the only thing stopping me from running lollipop and cloudy flex ? on my ls980 of course.
[G2 Android Development] RenderBroken:
I agree that JB is not the way to go indefinitely. I plan on updating in the near future, after the LP source is released.

Glad to hear!

I don't have this particular issue. I would love some logs on this, both dmesg and logcat would be great if you could swing it. Thanks!

If you ask nicely I might make a special build for you. Give me a bit and I will see what I can do.
[G2 Android Development] ktetreault14:
Hehehe [MENTION=5438598]RenderBroken[/MENTION] pretty please with 13 Cherry's on top. Could you magically produce a build without lz4 compression :D

EDIT: http://xdaforums.com/showthread.php?t=2447534

[PATCHER][APP] Dual boot any ROM on all Supported Devices.
[G2 Android Development] Formhault:
And that build flag for 1Gbps LTE speeds I told you about. :silly:
[G2 Android Development] 93fuelslut:
Can anybody tell me how to create and share a log?

I keep getting like three to four random reboots a day. Does anybody know what usually causes them?

KK vs980 liquid. R26

sent from your moms phone
[G2 Android Development] heleos:
Download syslog from the play store. After a random reboot you'll want to grab at least last kmesg, possibly modem? Syslog will zip files for you and you can upload directly to Google drive, then share the link
[G2 Android Development] RenderBroken:
Sure, Maybe I will get one out today.

Yea, I filed that right by Muffler Bearings and Headlight fluid. lol

Most likely you are getting LTE Low Signal Reboots. I get them too. That is unless you made some crazy changes in Synapse. Yea just use Syslog to procure some logs for us. Thanks.
[G2 Android Development] reemar:
is R8 do its way to our devices?
[G2 Android Development] RenderBroken:
I think something got lost in translation here. If you are asking for an ETA, I will just say:

soon.
[G2 Android Development] RenderBroken:
OK I have found a rather simple and elegant way to mount F2FS with no scripts at all! I need a D800 user that would like to test it out. I already know/cache mounts properly to F2FS but I need to check /data. If you are interested in testing let me know but I am a little busy right now so I wont be able to build for other variants til later. But I would LOVE a D800 user to test this new build.

D800 Test Build for F2FS
[G2 Android Development] ktetreault14:
[MENTION=5438598]RenderBroken[/MENTION] I appreciate that very much and whenever you manage to squeeze one out I'll be testing lollipop and CloudyFlex :D hopefully lol
[G2 Android Development] reemar:
not asking for eta, just ->yes/no, thanks for reply..
[G2 Android Development] teamacc:
I had those too but they went away after disabling the "random" thingy in synapse (along with a few other settings). Haven't had them since, so this might either be helpful, or it was a different setting and thus be entirely useless.

Worth a try though
[G2 Android Development] berryman13:
Testing this as we speak. Android is Upgradiung.... :)
[G2 Android Development] RenderBroken:
Not sure what random thing you are talking about, can you tell me which tab in Synapse
[G2 Android Development] teamacc:
I/O: general tunables: Add Random

As i said before, im not even 50% certain this is the thingy that causes reboots
[G2 Android Development] RenderBroken:
Well? . . . I am anxious to here your results!
[G2 Android Development] RenderBroken:
Ok Thanks. If you could get logs that would help me.
[G2 Android Development] Drakknar:
Interesting. I thought Rashed and the G2 dream team were working to update the kernel to use the KK source (I saw a few commits from them before CM12 came out). To your knowledge, did they change their mind or stopped this project? :eek:
[G2 Android Development] 93fuelslut:
Okay my phone just rebooted randomly. I think I did a log correctly

sent from your moms phone

---------- Post added at 08:24 PM ---------- Previous post was at 08:24 PM ----------

https://docs.google.com/file/d/0B4vFetH9WjuMN1I4UXNHTHpPcDA/edit?usp=docslist_api

sent from your moms phone
[G2 Android Development] RenderBroken:
We are working on CAF Kernel. ASAIK CM for the G2 will always be JB source unless something drastic changes (which I don't see coming) So we are taking things into our own hands and are working on a new kernel for LP source, hopefully in the end it will be LP source not KK. I foresee it being like KK was. You had CM KK and AOSP KK. I see CM LP(JB Kernel) AOSP LP(CAF Based with LG LP source overlayed)

Yea you did it fine. Not exactly sure what it was but it had to deal with Bluetooth audio. Where you using Bluetooth? Any other abnormal changes to Kernel Settings? Thanks!
[G2 Android Development] fLipz:
willing to test for D802.
[G2 Android Development] Jugstah:
I am by no means a developer, but I took a quick peak at the F320 source that came out a few days ago and it seemed to be a full dump of g2/g3 source + others for LP. All the def configs were there, maybe there was other stuff missing I am not totally sure.

---------- Post added at 10:50 PM ---------- Previous post was at 10:46 PM ----------

We have to gang up on the g2 maintainer (i'll be polite and not call him out!) and convince him to change his mind. From what I understand, it's a no for now just because 'why bother' but the door is not totally closed. If someone else came out with a CM supporting kernel, that was better, enabled multiple devices in one kernel and so on, it would become much harder to keep resisting! :) I think it may partly be a time thing too, it is a lot easier to just keep g2 running for the more popular devices on JB kernel then it is to get a whole new kernel going. So awesome for you if you can do it, i'll be the first person to line up to test it!
[G2 Android Development] berryman13:
[MENTION=5438598]RenderBroken[/MENTION] sorry I've been busy making my shield tablet rom. I will wipe system and cache to f2fs right now. Please tell me if you need anything else tested and how to do it
[G2 Android Development] RenderBroken:
You are fine. I went ahead and just did it myself. I am happy to announce that F2FS now properly mounts. At the moment I just have/data and /cache mounted as F2FS and will test it out. Just wanted to let you guys know. So that can now officially be marked off the To Do list.
[G2 Android Development] berryman13:
Dang it m, I really wanted to contribute! What else will we see in R8, is synapse gone?
[G2 Android Development] Drakknar:
Oh okay, now I see. Thanks for the explanation and for your hard work :) :) I'll do my best to support the development by helping with constructive feedback and logs.
[G2 Android Development] heleos:
I know this has been reported a million times, but I had my first instance of low mic volume with r7. Interesting enough, I have been using r7 since it for released, but this was the first time I was using my phone while it was charging, so maybe that has something to do with it?
[G2 Android Development] 93fuelslut:
Not sure if I was but I do use bluetooth all the time and my hotspot. But my kernel settings are at what you recommended

sent from your moms phone
[G2 Android Development] luv2increase:
Great looking forward to it.
[G2 Android Development] drivenby:
No ETAs
[G2 Android Development] MrDarkKV:
Half an hour from the post the server will go down for scheduled maintenance.

Back soon!
[G2 Android Development] RenderBroken:
Thanks!

Maybe a fluke? Not sure with regards to the log. There really isnt much other than there is an error with voice driver and Bluetooth was near it. Keep me updated, if you will, and let me know if you have any more issues. Thanks!

I was thinking the middle of next year really . . .

So I have been testing F2FS, it does appear to be faster. I changed Scheduler to ROW to combat F2FS slower sequential reads when compared to EXT4. One thing that may be coincidence is I am getting more LTE Low Signal Reboots than before. So because of that and having Dynamic FSync enabled, I am getting weird things like settings reverting back in Trickstermod. Still that's because of the reboot with DynFsync, NOT F2FS. But overall it does seem rather faster, Apps load faster, scrolling is smoother. Writing to internal memory flies. So if using F2FS use ROW as its the best (in my opinon) to offset F2FS pitfalls. Now that this is done, I will move on to the other Items on my list. Still I need more testers. Note that the F2FS source I am using is from upstream 3.14 and is stable.

Synapse - Cleanup and Profile support

Sound Control - easy fix

Throw in other Kernel goodies!

Also note that Using the method I am for F2FS mounting, KEXEC may not work. This means no MultiRom. I am thinking of ways to get around this like a script to check if MultiRom is in place upon flashing. I have a few ideas so we will see.
[G2 Android Development] 93fuelslut:
https://docs.google.com/file/d/0B4vFetH9WjuMMUtVbDNJSFhGUWM/edit?usp=docslist_api

Got another one and then 2 hours later I got another reboot. Just listening to music with my hotspot on. I wonder if clean flashing my rom all over again which is a pain is the only solution

sent from your moms phone
[G2 Android Development] RenderBroken:
This on my KK kernel right? The logs looks similar to the other one. Some sort of panic. Still thanks for the logs. I will look through them more later.
[G2 Android Development] 93fuelslut:
Yes sir KK. I'm sure you don't remember but I set up my kernel the way you suggested for better battery life.

sent from your moms phone
[G2 Android Development] phoenix_rizzen:
I'd be happy to test an F2FS-enabled kernel that supports /data on F2FS. I've already tested it with /cache as F2FS without issues. It just so happens that a fairly major update for the ROM I'm using (BlissPop) was just released, so was planning on doing a clean flash this weekend ... so the timing is perfect to test a new kernel. ;) :) :D (Currently using R6 on BlissPop 1.7)
[G2 Android Development] RenderBroken:
Yea I may have slept once or twice since then . . .

Glad to hear! Yea you don't realize how much crap app installs put on your phone till you format and reinstall. I now have 6GBs more free space than normal!
[G2 Android Development] aToS88:
+1 for testing F2FS, I would be glad to test on a d802
[G2 Android Development] heleos:
For those testing, make sure you back up anything on your SD... Formatting to f2fs on /data removes everything [emoji14] I won't make that mistake again!
[G2 Android Development] BoostRoid:
If you need a D803 for F2FS testing, I'm your man.
[G2 Android Development] bbender716:
vs980 f2fs guinea pig at your service!
[G2 Android Development] fix-this!:
Post of the year!
[G2 Android Development] Jugstah:
Rashed is definitely still perusing it based on the activity on github. Getting that into CM is another story. If I am not mistaken, it 'looks' like he is working on one kernel for G2 & G3 support. But that is my interpretation only :)
[G2 Android Development] RenderBroken:
Hang tight and I will rip some builds for you guys.

Notes:

Before formatting ALL your partitions to F2FS keep in mind that due to F2FS's performance drop of Sequential Reads (when compared to EXT4) it may be better to leave /system as EXT4. Still its your choice and may find it runs better! With /system you mainly are reading from it than writing. Note that you cannot format /system UNLESS the Rom supports it! Also DO NOT format any other partitions other than:

/system

/data (this will format userdata too FYI)

/cache

The steps I used:

1. Backup EVERYTHING on your Internal Memory to another device (Pro Tip - Use an app like SD Maid and get rid of orphaned data first, could save you alot of time/space)

2. Boot into a F2FS enabled recovery - I use this one: [TWRP][2.8.4.0][2015.01.13][BUMPed] TWRP w/ Thermal & F2FS

3. Format the Desired partition to F2FS:

* Go to Wipe

* Select Format Data

* Select Advanced Wipe - Only select one partition at a time or you will get an error!

* Select Repair or Change File System

* Select Change File System

* Select F2FS

4 Now that you have formatted your desired partition Connect your phone back up to your back up Device. For me it was a computer then:

* Go to Mount

* Enable MTP

This should allow you to mount your phone while connected to a computer. I had issues with it mounting properly. It would show up but I couldn't add anything to it. I found that I needed to install the proper drivers for it to mount properly. For me I used Google Composite ADB Drivers.

5. Now that you are mounted properly, go ahead and copy your files back so you can flash a rom and get back up and running. Also, if you made a backup and did not format /system, once you copy your TWRP files back you can restore from that backup.
[G2 Android Development] RenderBroken:
Kinda, it looks like LG's new kernel source works for both the G2 and G3.

F2FS Enabled Builds:

D802

D803

LS908

NOTE: Synapse does not work in these builds. I am testing.
[G2 Android Development] Jugstah:
Ya I spent some more time going through it and talked to another dev and from what i've been told its a combined LP kernel for G2/G3.
[G2 Android Development] ktetreault14:
I'll test for ls980 if lz4 isn't there ? lmao jk Awesome work man. Used f2fs on the GNex and Nexus 4. Actually showed differences.
[G2 Android Development] BoostRoid:
Sweet! Going to test for d803 now.

Update: Up and running perfectly!
[G2 Android Development] xXRapToRiXx:
Hi, i want to test f2fs (data and cache) for d802. Can i use r7, or do i have to wait for r8?
[G2 Android Development] aToS88:
Question regarding /data backup... Twrp backup/restore formats the partition before restoring? Or can I back it up while it's ext4 and restore after formatting to f2fs?
[G2 Android Development] berryman13:
What are the benefits of f2fs over everything else we get in synapse and such? Is the performance that much better?
[G2 Android Development] Arju:
https://www.google.se/url?sa=t&sour...WzqIzqBLy7708n-6Q&sig2=0Jt7qGWeTSscrZ3uMq425w
[G2 Android Development] bgx:
Great! For only using f2fs with the cache partition do I need a ROM that support it? I'm on ressurection and it doesn't support f2fs as far as I know.
[G2 Android Development] bamonkey:
*Crackes Knuckles* Okay i think it was explained pretty well a few pages back but since i was doing f2fs on my old Nexus7 before it broke I'm pretty versed in this now.

1)There are couple test builds R3v3N has posted recently above for f2fs above.... r7 works for /cache on f2fs but i would wait till r8 because i can only vouch for d800 here which is the same device our OP uses as well..

2)TWRP backup/restore WILL NOT work when you want to format to F2FS. the entire data partition is wiped INCLUDING all your previous and current twrp backups AND anything on your internal sd...EVERYTHING is wiped. you will need to back everything up on your computer or usb drive before changing and then copy everything back over once you have formated to f2fs..i would NOT recommend restoring your old ext4 on your new partition....just..not a good idea

3) the /Cache partion will work on f2fs for r7 on all roms.. as mentioned above the /system partition should be left alone unless a rom specificly says it supports it

I used convert a few nexus7 roms to all f2fs.. i would NOT support them only post a mirror and say "done when i have free time"...i will look into seeing if i can do the same with the g2 but its been probably close to a year since i did so no promises... i know encrytion 'may' be an issue but i havent looked yet.. i just converted my /data and to f2fs a couple hours ago and got my files back on my phone and restored so...now my journey begins.
[G2 Android Development] xXRapToRiXx:
The rom is on the "System Partition", i think you just need a f2fs-supporting rom,if you format System to f2fs.
[G2 Android Development] Arju:
I han confirm that it works on my d802. Swithched both cache and data too f2fs. Running cm12 nigthly 24th of January build. It's super smooth and feels quick and snappy. Can't wait for ROM support so that we can change system too. Thank you [MENTION=5438598]RenderBroken[/MENTION] for your hard work!
[G2 Android Development] BoostRoid:
I did a full backup before I converted my cache and data partition to f2fs. I didn't wipe my system partition or change it. Afterwards I restored my twrp full backup and restarted. Worked like a charm. Render is a kernal God. This phone is fast. Too fast. I may never need to upgrade.
[G2 Android Development] bamonkey:
I think i found my instructions for modifying a rom to allow f2fs on /system. As mentioned above we did all f2fs on our nexus7's because TBH the storage they used was terrible and f2fs at least helped for that device.. I dont 'think' it is really worth it but i will at least try and see what happens :good:
[G2 Android Development] aToS88:
Running F2FS on /data and cache, everything is fine and smooth :) however I had to rework all my settings and apps, restoring the data partition could not happen... Never mind, system is up and running
[G2 Android Development] xXRapToRiXx:
d802 or 800?
[G2 Android Development] aToS88:
D802
[G2 Android Development] RenderBroken:
You should be able to copy your backups back and restore them.

R3v3N

R3v3N

R3v3N

Awe shucks. . .

Glad you were able to restore properly. This TWRP that i use is the newest version and should restore your data fine. When it formats before restoring it detects that its F2FS.

So were you able to restore your /data or not?
[G2 Android Development] aToS88:
Finally built up everything from scratch
[G2 Android Development] bamonkey:
Oh man...I go to turn in for sleep and the (reply) notification goes off.

I hang my head in shame.....render.....

Seppuku!!!