yashsingh1/xdaforums huggingface dataset:
[Nexus 10 Original Android Development] Fidelator:
Has anyone seen improvements on the speed of our storage? Androbench throws pretty much the same results as before on my device
[Nexus 10 Original Android Development] GunnerOnASpooky:
I have noticed that it seems to be significantly quicker response and load times for apps. Not like a new ROM/clean install where it starts to lag after you get everything back to your configuration. I haven't used any benchmark apps either before or after.

Sent from my SCH-I535 using Xparent Skyblue Tapatalk 2
[Nexus 10 Original Android Development] b1g.p0ppa:
+1. I've not run any benchmarking but it is noticeably faster. I flash nightlies so what I most appreciate is no longer having to wait minutes for TWRP to format /system as ext4--f2fs format is instantaneous.

---------- Post added at 11:42 AM ---------- Previous post was at 11:38 AM ----------

Thanks for the update, [MENTION=4577448]Khaon[/MENTION]! Installed and working well. Will run intelliactive/bfq without any oc or uv for a couple of days (unless they outperform my usual interactive/sio, then they're permanent!) and will report if any issues.
[Nexus 10 Original Android Development] zamula:
Is there any chance of compiling an updated kernel that doesn't require F2S? I'd love to try the updates you've made but don't want to switch file systems at this time. Regardless, thanks for all of the effort!
[Nexus 10 Original Android Development] Khaon:
I will do that now. It's online !

BFQ can be tweaked for flash devices. Here is basicly the default config people have found to be optimal. Forgot to modify default value.
[Nexus 10 Original Android Development] b1g.p0ppa:
I think you maybe typoed?

You probably meant back_seek_penalty should be 1 instead of 2 (back_seek_max is 16384)

slice_idle instead of slide_idle

Thanks for the tips! Will set now.
[Nexus 10 Original Android Development] Khaon:
indeed was back_seek_penalty , because in flash device going at any part of the drive take the same time.

You might aswell have to set intelliactive to default settings ( so like interactive) to compare the best between those two.
[Nexus 10 Original Android Development] GunnerOnASpooky:
I'm no dev by any means, but I am interested in what needs to be added/changed in the kernel to be able to support f2fs....I have a Nexus 7 and a GS3 that would both benefit from this type of mod, but no one has modded the kernels for f2fs

Sent from my SCH-I535 using Xparent Skyblue Tapatalk 2
[Nexus 10 Original Android Development] Khaon:
Actually it is not that hard to be added. And I think now Philz recovery supports f2fs mounting and formating? If it is the case than you just need to add the files(link below) to your own folder. Today f2fs for linux 3.4 branch has been updated :P

Just go to this link (you need aswell this one and last one )and add manually those files. They are regulary updated. I apply manually patches from dev branch so sometimes you need to fix somes things but the simplest would be to manualy download them and copy/paste when you see it was updated. You need also to add f2fs enabled in your defconfig and fs/ folder's KConfig and Makefile

Take a look to this topic, you will find few patches and explanations about adding f2fs to a kenrel
[Nexus 10 Original Android Development] zamula:
Thanks so much. It's been running perfectly. By far the best 4.4 kernel for the N 10!
[Nexus 10 Original Android Development] GunnerOnASpooky:
Will you java conversion work with ROMs for other devices or is it Nexus 10 specific?
[Nexus 10 Original Android Development] ericp2:
Hi,

could you explain where this is controlled, ie, can i modify some configuration file and reboot, or do you need to provide a new kernel with the directors modifications?
[Nexus 10 Original Android Development] CazeW:
Tried this and I did notice an improvement in responsiveness and it did score better in Androbench. Unfortunately though it was very unstable for me. Sometimes it didn't wake up from the power button, it froze several times when I was restoring apps with Titanium Backup and the most intriguing freeze was when I was watching a video with MX Player. The subtitles froze and the system was unresponsive but the video and audio kept playing. Even after I pressed the power button to turn off the screen, the video was still playing as I could hear the audio. I did try two different ROMs (ThunderKat and Purity) which didn't help so most likely the kernel is the culprit. Unfortunately though I didn't grab any logs.
[Nexus 10 Original Android Development] CazeW:
Decided to give this another go with SlimKat. The system freezes everytime I'm transferring my files back to the internal sd. To be exact, it doesn't completely crash and events still register in logcat (like pressing power button) even though the screen doesn't come on. As there is no crash, there's no last_kmsg to post but I did get dmesg and from the looks of it, there is a mali driver crash. It could also be a problem with F2FS as doing a lot of writes freezes it everytime.

EDIT: Could you edit the ThunderKat kernel to support F2FS-ALL? It doesn't include all the bells and whistles the KT kernel has so it might be more stable for me.

EDIT2: Decided to try your Omni kernel with SlimKat and didn't have a single crash/freeze while copying files and restoring apps with Titanium. So the culprit was indeed the KT kernel.
[Nexus 10 Original Android Development] Khaon:
It is nexus 10 specific.

You can use ktweakert from Ktoonsez, you can download it from this topic

I will look into that, running atm omnirom, have indeed encounter one or two non waking-up screen. Your crashes occured only upon copying files to your internal storage? Yeah I can provide ThunderKat-f2fs, do you still want it?
[Nexus 10 Original Android Development] CazeW:
The crashes happened everytime there was a lot of writing to /data, like copying files to the internal storage and restoring Titanium backups. Your Omni kernel has been very stable so far but there are a few features in the ThunderKat kernel that I have use for so if you have time. :)

I did notice quite a bit better sqlite performance with the KT kernel which I suspect comes from the f2fs updates you merged. If you could also merge those f2fs updates to either your Omni kernel or the ThunderKat kernel, that would be great.
[Nexus 10 Original Android Development] Khaon:
I will compile and post omni and thunderkat with lastest f2fs upstream, probably tomorrow in the evening they will be online. I think the unstable problem comes from lastest f2fs commits, well, you will be able to try it out and give feedback.
[Nexus 10 Original Android Development] Khaon:
Found? http://xdaforums.com/showthread.php?t=2015874
[Nexus 10 Original Android Development] Khaon:
Just installed again from Drive to be sure, it is working. Can you provide /tmp/recovery.log
[Nexus 10 Original Android Development] Khaon:
I have uplodaed TWRP 2.8.6.0 in case official one does not support f2fs
[Nexus 10 Original Android Development] ilciumbia:
Wow, that is great news, thank you very much! As I was saying before, I have it on the nexus 5 and battery drain is minimal, so it is certainly worth it at least for me. I expect it to be even less on the N10, considering battery capacity. In association with sweep2sleep, it would be top of the notch! :)

Sent from my Nexus 5
[Nexus 10 Original Android Development] SeemannBootlegs:
This is what you want??? http://goo.gl/TacPlp
[Nexus 10 Original Android Development] Khaon:
Yes! ! Thank you

run_program: execv failed: No such file or directory
run_program: child exited with status 1
about to run program [/sbin/busybox] with 3 args
minzip: Error writing 581 bytes from zip file from 0xbeba357c: No space left on device

You don't have enough space on your partition! Did you wipe before installing? If yes, then you can use the mod I made

http://xdaforums.com/nexus-10/development/mod-reclaim-free-space-partition-t3029605
[Nexus 10 Original Android Development] SeemannBootlegs:
Thanks Khaon I wipe system partition and now I'm running latest version of optipop and your Kernel, I just have some observations:

Swype up from home to launch Google Now don't work and in settings I have active cellular networks but of course ours beloved N10 doesn't have that option ?
[Nexus 10 Original Android Development] Khaon:
Oh yeah I did not even noticed that about mobile network!

Google search works here swiping from home buttontothe middle. Maybe you should make sure you are using a correct gapps package? I am using gapps minimal 5.1 or bank gapps depends who is faster to upload latest apks.

http://fitsnugly.euroskank.com/?rom=banks&device=gapps

http://xdaforums.com/android/software/gapps-google-apps-minimal-edition-t2943330

We are on 5.1 not 5.0.2 btw!

PS: FLASHING my kernel is no longer required when flashing the rom

edit: https://www.youtube.com/watch?v=FTbxnO3i9ak you are talking about that?
[Nexus 10 Original Android Development] SeemannBootlegs:
I mean this: http://goo.gl/XsEOyy
[Nexus 10 Original Android Development] vecino:
You need install https://play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox. Do you have it?
[Nexus 10 Original Android Development] SeemannBootlegs:
Of course using Google app and Google Now Launcher
[Nexus 10 Original Android Development] Khaon:
Well like I said : https://www.youtube.com/watch?v=FTbxnO3i9ak is opening google now but sometimes google launcher doesn't become the default launcher. Ofc launcher3(default launcher) doesn't features long press to open google now.

on my video you don't see Google label on the button but its there.
[Nexus 10 Original Android Development] frankieboy1233:
Random freezes

Hi Khaon,

This a great rom, very fast, and really enjoy using it, but I have random freezes, don't know, what's causing this, but I'm not used to switch off the tablet, I just switch it to airplane mode when I'm not using it, and sometimes the device won't wake up, I have to long press the on-off switch to reboot the tablet. With stock rom, I don't experience this. Yesterday, when I used chrome, read a webpage, the freeze reoccured. Or when a notification arrives e.g. from Facebook, the tablet freezes. When I put the tablet on the charger, the tablet froze and didn't charge. I did a factory reset, before installed the rom, using f2fs for data and cache. Could you help me diagnose the problem that causes the freezes?

Thx

Frankieboy
[Nexus 10 Original Android Development] frontalot:
I've been having the same problems with the last few builds.
[Nexus 10 Original Android Development] coalee:
A few latest release from OptiPop Nexus 5 has Layers/RRO working good without any problem. Is it possible that it can build for Nexus 10 too?

Cheers
[Nexus 10 Original Android Development] Vanilla Pudding:
Can I use this ROM without using the f2fs partition ? Or is f2fs only ?
[Nexus 10 Original Android Development] Khaon:
You can
[Nexus 10 Original Android Development] mabs123:
Unfortunately there are many lags on latest build. Devise is freezing many times while browsing or swiping around.
[Nexus 10 Original Android Development] vsot13:
Never had any lag on this build. Play with your settings

From my N10
[Nexus 10 Original Android Development] thandlovsky:
The latest version of this works with ubuntu touch and it's at a usable speed now.
[Nexus 10 Original Android Development] Khaon:
Make sure to make a full wipe and not dirty flash. If your issues still persist grab the logcat log and dmesg kernel log.

We working on porting dark to rro branch. Tomorrow I have access to my computer I can build rro for'thode whose wanna have it!
[Nexus 10 Original Android Development] frontalot:
I'm having issues with freezing and lag on a fresh install. It usually happens after I leave the tablet on for a few hours and goes away after a reboot.
[Nexus 10 Original Android Development] thandlovsky:
Hello now when switch back to android I get this error:

error e: mount -o bind '/data/media/0' '/sdcard' process ended with error=255

Has anyone ever seen this before?

I have wiped literally everything but when I reinstall the custom recovery and try to make the partition f2fs it produces this output and won't et me boot the rom.

Anyone have a clue what to do?
[Nexus 10 Original Android Development] shuli81:
Exciting news!
[Nexus 10 Original Android Development] b1g.p0ppa:
Maybe try fastboot flashing a different twrp version and try the operation again?
[Nexus 10 Original Android Development] coalee:
Try flash (fastboot) with factorey image 5.1.0 then after system re-boot flash again with recovery by Khaon's twrp (f2fs compatible version) v.2.8.5. Then do factory reset then try change data, cache to f2fs. Personally, I will leave system as ext4

let we know if it work for you.
[Nexus 10 Original Android Development] anoneemooz:
Dragging an icon or app in Nova is incredibly laggy for some reason
[Nexus 10 Original Android Development] coalee:
What version are you using? 04/04 Also, what partition type? ext4 or f2fs?
[Nexus 10 Original Android Development] thandlovsky:
I tried this option, I downloaded the factory image from google flashed that and then did a factory system restore and used fastboot to flash the twrp-unoffical-2.8.6.0.img and then flash the rom gapps and superSU. I made system and cache f2fs and then made a backup.

The breakdown seems to come when I switch data over to f2fs, when I boot the rom I get asked for a password and told my data is corrupt and the backup file is missing.

I cant even use fastboot to erase the partition as it breaks the pipe.

I had this working before. Is there any chance this could be ROM related, as I have gotten it to work with others.

Any suggestions? I'm stumped and starting to believe I may have to live without the data partition being f2fs, but it's just so hard to go back when I know it could be better.

Thanks guys
[Nexus 10 Original Android Development] coalee:
Try twrp v.2.8.5. (f2fs compatible) and leave system as ext4 but you can try convert cach/data to f2fs.
[Nexus 10 Original Android Development] Khaon:
You have to reflash my kernel after changing the file system of cache or usrrdzta partition
[Nexus 10 Original Android Development] thandlovsky:
Thanks so much I guess the 2.8.6.0 didn't like the conversion but 2.8.5.0 worked perfectly thanks guys
[Nexus 10 Original Android Development] coalee:
You're welcome man.. TWRP v2.6.0 has problem with Nexus 5 too. The problem has been fixed in v2.6.1. I hope Khaon will release the update version soon.
[Nexus 10 Original Android Development] anoneemooz:
Sorry, just quickly posted from my phone a while ago but yes f2fs and on 04/04
[Nexus 10 Original Android Development] drewski_1:
in the TWRP thread, it was said the N5 issues were not present in the N10 2.8.6.0

this sounds like it's F2FS specific? which would be more Khaon's customizations
[Nexus 10 Original Android Development] coalee:
May be you're right, I went back to 2.8.5 without any issue with f2fs.

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

I also using 04/04 with ext4 on /system and f2fs on cache & data. In Nova launcher, I am experience the good speed no lack at all.

f2fs is really shows the speed improvement. I am recommend everyone to try it.
[Nexus 10 Original Android Development] anoneemooz:
Are you using the beta of Nova launcher that is material design?
[Nexus 10 Original Android Development] Khaon:
Didn't know there was a beta version featuring material design. Hm I don't have the same build than your. So I m notnsure but I think your issue will be gone next public build . I have removed and added few UI modules to fast math.

You can now screen record and thus easily upload to any host(YouTube,drive ,Dropbox,etc..) To help!reproduce things

To enable screen recording just go to opti pop tweak power menu pane and enable screen record.
[Nexus 10 Original Android Development] drewski_1:
Nova Beta community. Upper right post has joining instructions.

https://plus.google.com/communities/103449253667195874971
[Nexus 10 Original Android Development] anoneemooz:
Uploading a screen recording now. I was able to remedy the issue now though by turning off the setting for sub grid positioning under Nova Settings > Desktop > Desktop Grid > uncheck "subgrid positioning"

I noticed that the lag only happened whenever I would try dragging an icon onto or around the main desktop grid but when I moved out of the grid it was smooth movement again while moving the icon around. Also, setting a smaller grid size speeds things up as well.

I guess this might be a limitation of the device itself. I have the same settings on a Note 2 and a OnePlus One but these don't experience that kind of lag despite enabling subgrid positioning.

---------- Post added at 05:24 AM ---------- Previous post was at 04:50 AM ----------

https://youtu.be/1ymfejGREzs

I start off with Subgrid Positioning Disabled, 10x12 grid. There is some noticeable lag but not too too much.

Later I enable Subgrid Positioning and that's when lag becomes unbearable.

Then I change the grid size to something much smaller 5x6. Subgrid Positioning still enabled but lag is much less again with the smaller grid.
[Nexus 10 Original Android Development] ilciumbia:
Hi, any news about the problem with the battery gauge not properly marking the discharge? Not a big deal, but if i don't pay attention the device just turns off on me...

Sent from my Nexus 10
[Nexus 10 Original Android Development] frontalot:
I figured out what's causing the awful performance on my tablet: Go to Developer Options and select Disable HW Overlays. After a few minutes, you'll notice the tablet becomes essentially unusable. Normally I wouldn't mess with developer options, but in this case I'm using Cf.lumen, which automatically turns that option off and on.

Can you look into this, Khaon?

Edit : just installing the Cf.lumen driver, without even enabling it, makes the tablet unusable. There must be some kind of conflict between the driver and your kernel.
[Nexus 10 Original Android Development] Khaon:
I haven't try yet your video on the builds I am uploading right, will do after this message written :P.

Yeah me too! I have asked other ppl if they had the similar problem on their devices(nexus 5, nexus 6, etc.) it seems not! For now I haven't looked deeper into this, but I think this comes from BBS(which doesn't really make sense).

Never used cf.lumen, its a software from supersu dev right? I can try to have a look to that? Any clue why you think it must come from the kernel?

============================================================================

============================================================================

New builds online !!

changelog

updated sources to aosp 5.1.0_r5

few commits fixing bugs such memory leaks applied to framework/base,etc.

sqlite updated to 3.8.9

f2fs sources updated to upstream

sync with kernel/common 3.4 branch

toolchains for kernel and rom updated

You can download now two builds! one is stock theme WITH sony's RRO!!!

The other one is simply Chet's dark theming.

Why using two build when RRO allow you to theme your rom? From our own experience, it seems that rro slow down a bit performance.
[Nexus 10 Original Android Development] frontalot:
Are you only posing ROM builds now and not separate kernels? I was going to try the latest update and try to root cause my performance problems.
[Nexus 10 Original Android Development] Khaon:
My kernels are embedded into the the rom now
[Nexus 10 Original Android Development] frontalot:
How can I extract the kernel and flash it to stock lollipop?
[Nexus 10 Original Android Development] madalone:
thanks for the rom! any way you could please add Pie controls? that'd be awesome :)
[Nexus 10 Original Android Development] vsot13:
Extract a boot.img from the zip and flash it with flashify or TWRP.

Sent from my Nexus 5
[Nexus 10 Original Android Development] Khaon:
Nono the kernel package is dumping current rom's ramdisk and repack with my kernel image with the upperlyaing ramdisk.

My zip package are still maintained last time was 09/04 building a new atm.
[Nexus 10 Original Android Development] Khaon:
I have uploaded a new flashable kernel
[Nexus 10 Original Android Development] Khaon:
Your link is private cannt watch! But might be good on latest build : I have removed modules handling gestures
[Nexus 10 Original Android Development] Bastlwastl2010:
Today i make a clean install with CM 12.1

First time i use f2fs for data and cache.

What should i say........

It runs as hell..... :):)

Thanks Khaon
[Nexus 10 Original Android Development] ericp2:
Cm 12.1 from Team UB and khaon kernel from 18th of April: I dirty flashed over cm 12 and all is running quite well. [MENTION=4577448]Khaon[/MENTION] would optipop run over this if dirty flashed it?
[Nexus 10 Original Android Development] coalee:
Hi

Thanks for update a new build, Khoan. The rom works very well also RRO theme.

Cheers
[Nexus 10 Original Android Development] tathagatab:
readahead cache not modifiable?

[MENTION=4577448]Khaon[/MENTION]

Using the April 18 kernel, it seems I can't change the readahead cache size from the default value of 512K. Is this a bug, or by design?

Also, you hinted about fastcharge support in a future release. Any news about that?
[Nexus 10 Original Android Development] ericp2:
dirty flashing over CM 12.1: won't work!

I reply to myself... Dirty flashing almost works, but com.android.phone process message pops up every second or so, so it's next to impossible to try to correct. After wiping data (which leaves SD untouched), everything works fine. Thank you Khaon, the combination of Optipop and your kernel is by far the best combination i have used so far.
[Nexus 10 Original Android Development] fischwrap:
My CPU is out of commission for a few days... Is it possible to get a flashable zip of the f2fs compatible twrp recovery? Cheers!

Edit: nvm, apparently flashify will work? Never used it before... Here goes nothing!
[Nexus 10 Original Android Development] shuli81:
Hi [MENTION=4577448]Khaon[/MENTION],

will this work on 5.1.1 or should we wait for update?
[Nexus 10 Original Android Development] ilciumbia:
I tried uninstalling BBS (it wasn't easy btw) but still the battery does not update when discharging... It is the only really disappointing bug in your otherwise very good ROM... Any further ideas?

Also: you suggested some time ago you were reconsidering about doubletap2wake... Any news about that, too?

Thanks for your excellent work!

Sent from my Nexus 10
[Nexus 10 Original Android Development] Khaon:
No you should be able to change it. I will test to be sure.

Oh yeah, I will add fast charge support now.

So? Did it? !

Flashing the kernel over a 5.1.1 rom? Yes.

Hm, yeah, then if its not related to that I will have to check with the kernel to start with ...

I have merged sleep 2 wake today, will edit/port double tap also later.
[Nexus 10 Original Android Development] fischwrap:
I believe so! I'm new to f2fs, so I don't know how to confirm (other than the ROM/kernel install went smoothly). I went to bed right after, so I haven't needed around with it. But it seems my apps aren't restoring from the play store. That's the only issue (will play with it more tonight), and tibu should rectify that
[Nexus 10 Original Android Development] Khaon:
You can easily check the informations regarding your partitions with this app
[Nexus 10 Original Android Development] fischwrap:
Hrm... Looks like everything is still ext4

Do I need to do something special in the modded twrp? I noticed that when I wiped my partitions, the text was displaying ext4
[Nexus 10 Original Android Development] drewski_1:
F2FS is not automatic.

In the Wipe section you need to select the partition and do the "change filesystem" option.

There's more detailed instructions in the OP.
[Nexus 10 Original Android Development] fischwrap:
Ah, ok. Thanks for the info! Sorry, just when I think I'm grasping modding my devices, I find myself a total noob again. One more question, and I have searched the Google, but I want to confirm.... When I do change the file system, will it completely wipe the partitions? What about my sdcard (backups and tibu etc)?