yashsingh1/xdaforums huggingface dataset:
[Nexus 10 Original Android Development] cubalibre832910:
With your TWRP 2.8.1.0, everything perfect on the first try. Only data in f2fs. Backup restored directly from OTG-USB. Thanks for your incredible work!
[Nexus 10 Original Android Development] Khaon:
New update online !

Rom:

Compiled with sabermod 4.8.5 - 17/12

Kernel:

f2fs updated to revision

The build seems very stable and smooth, better than linaro's, tell me guys what you think.

Also bluetooth is working and so seems users

@foxymyeung , @necropuppy
[Nexus 10 Original Android Development] Lim Wee Huat:
Thanks for the Christmas edition.. ?
[Nexus 10 Original Android Development] brGabriel:
Thanks for the latest build. Running great!
[Nexus 10 Original Android Development] ericp2:
Same here... Working great! Thanks!
[Nexus 10 Original Android Development] foxymyeung:
Thanks Khaon for your hard work! I can confirm that the bluetooth is functioning great, as it pairs well with my bluetooth keyboard!

Unfortunately though after a bunch of playing with 2 user setups, the system still has the same system hang / unresponsive to touch issue. Though it is better this time around because primary user could do things just fine, and then when switching to the second user - the user could use it fine for the next few hours or so (typical apps used: chrome, gmail, yahoo mail, es file explorer, bsfreevideo player to watch shows, facebook). But when the second user switched back to the primary user the touch input would fail. So only the power & volume buttons worked, and could do a hard reset.

It's a bit of a nuisance right now, but i can live with it. Just no clue why it would happen like that.
[Nexus 10 Original Android Development] SeemannBootlegs:
Thanks Khaon from bringing new life to my Nexus10 ?
[Nexus 10 Original Android Development] benjmiester:
Nice pic! Hey, what's that weather widget you're using in that? It looks nice!
[Nexus 10 Original Android Development] Izeltokatl:
[MENTION=4577448]Khaon[/MENTION] , is your KK version from 11-08 f2fs and ext4 compatible?
[Nexus 10 Original Android Development] Khaon:
Yes, it does
[Nexus 10 Original Android Development] nigelhealy:
/system is full! Its causing progs to fail to install or setup correctly. Looking at why, there's a lot of bloat in CM12, apps I don't use but I don't see a de-install option. I could just delete the apks ?

---------- Post added at 10:45 PM ---------- Previous post was at 10:39 PM ----------

Is there fuse support in the kernel?
[Nexus 10 Original Android Development] Khaon:
You can use a file Explorer to mount and delete any folder from system/priv-app.

Maps YouTube Google plus are good applications to start with.

About fuse dunno need to check if it is activated
[Nexus 10 Original Android Development] DroidRevenge:
there is a new version on the mediafire share... don't you?

Actually i see 2 version newer then mine... i am on 25/12! there is 27/12 and 31/12....
[Nexus 10 Original Android Development] fifthelement:
Thank you for this great ROM/Kernel. I have following questions :

1. Although I formatted all 3 partitions cache,system and data to f2fs before ROM installation, after I installed the ROM. cache and system are automatically reverted back to ext4 and only data has remained f2fs. is this intended ?

2. Is it required to trim /data partition anymore ? I tried it several times and noticed it trims all free space every time. when it was on ext4, the second run it would report 0 bytes trimmed but now it reports all free space every time you run trim on /data. is this normal ?
[Nexus 10 Original Android Development] fifthelement:
It is very strange. I rebooted into recovery again and reformatted /cache partition with f2fs file system but when I rebooted back into system it is still ext4 ! I am using TWRP 2.8.2.0 and ROM 31/12/2014. can u check this on your side ?
[Nexus 10 Original Android Development] Khaon:
I will check on that later.
[Nexus 10 Original Android Development] fifthelement:
Thank you. This ROM is definitely faster and snappier than stock ROM. at first I was hesitant to switch from stock but now I am happy that I did it.
[Nexus 10 Original Android Development] Khaon:
I have cache formated to f2fs right now.

You have most likely checked rm -rf in Settings, preventing twrp to format properly.

Uncheck it and format again.
[Nexus 10 Original Android Development] DroidRevenge:
Maybe (almost for sure) i miss something about kernel:

- is ROM equipped with ANYKERNEL2 kernel?

- ANYKERNEL2 should work with all fstab configuration?

When i flash a new version at boot it asks me password...

I am forced to flash OLD FUL EXT4 kernel (12-13-2014)

Could someone explain me? 10x
[Nexus 10 Original Android Development] Khaon:
Nope, the ROM comes with default cm boot image.

Any kernel will dump and repack patched fstab plus scripts with my kernel image.

So they are both standalone.

Sent from my nexus 10
[Nexus 10 Original Android Development] Khaon:
Data is'ext4 ?

When you flash any kernel the output in twrp displays that data has ext4?

Sent from my nexus 10
[Nexus 10 Original Android Development] DroidRevenge:
i suppose you are talking to me...

no, i said that i have ALL PARTITIONS formatted in EXT4....

So i asking what anykernel does... BUT WAIT, I AM READING AT [MENTION=4544860]osm0sis[/MENTION] thread....

10x

---------- Post added at 05:30 PM ---------- Previous post was at 05:17 PM ----------

Read [MENTION=4544860]osm0sis[/MENTION] thread...

OK i have read and maybe (maybe i said) understood, but still my question remains: why (i am with FULL EXT4 partitions) does it ask me for PASSWORD after flashing a new release forcing me to flash FULL EXT4 KERNEL (12-13-2014 release)?
[Nexus 10 Original Android Development] fifthelement:
"rm -rf" was not checked in TWRP settings.

but it went from strange to super strange. as I said I was on TWRP 2.8.2.0, so once more I formatted /cache to f2fs and to make sure it is formatted correctly I rebooted into recovery again and checked file system and TWRP reported it f2fs, so I booted into system and BAM. it is ext4 again !

I thought may be TWRP 2.8.2.0 is broken, so I updated to TWRP 2.8.3.0 and this time, there is no f2fs in TWRP anymore.

did TWRP 2.8.3.0 remove f2fs support ? or am I missing something ?
[Nexus 10 Original Android Development] droidroidz:
Latest version would not boot on rastapop..anyone else ? Just sat at boot animation..rebooted multiple times and nothing
[Nexus 10 Original Android Development] Khaon:
Was any any kernel version working ? If yes can you give build date ?

Can you provide a logcat and adb shell mount ?

Sent from my nexus 10
[Nexus 10 Original Android Development] Khaon:
I am using my custom 2.8.1.0. Can you give a dmesg log and adb shell mount?

Sent from my nexus 10
[Nexus 10 Original Android Development] fifthelement:
Sure. Attached.

can you provide a link to your custom 2.8.1.0 recovery ? may be problem is TWRP.
[Nexus 10 Original Android Development] fifthelement:
Something else I just noticed in dmesg. a lot of processes are being killed continuously with messages like this :

<6>[ 40.172689] lowmemorykiller: Killing 'droid.deskclock' (2199), adj 1000,

<6>[ 40.172693] to free 35668kB on behalf of 'kswapd0' (32) because

<6>[ 40.172696] cache 176124kB is below limit 225000kB for oom_score_adj 529

<6>[ 40.172699] Free memory is 30012kB above reserved

<3>[ 40.278339] init: untracked pid 2198 exited with status 0

I checked dmesg after 10 minutes and it is still killing many processes. seems like a misconfiguration or a bug.
[Nexus 10 Original Android Development] Khaon:
It is on my mediafire repo, just haing trouble connecting to the website.

You can also just boot the recovery with fastboot boot x.img .
[Nexus 10 Original Android Development] Khaon:
You are running default CyanogenMod kernel. Since lollipop Google has deactivated this driver.

Linux version 3.4.67-cyanogenmod-g445257f (khaon@khaon-pc) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Wed Dec 31 07:41:44 CET 2014

Format again to f2fs and install my any kernel package. The default kernel mounts cache with ext4

Sent from my nexus 10
[Nexus 10 Original Android Development] droidroidz:
It seemed to install fine in CWM.

UPDATE-AnyKernel2-khaon-kernel-manta-12-31-2014.zip was the version

My backup didn't work for some reason so I had to revert back to an older one
[Nexus 10 Original Android Development] Khaon:
It is my bad, didn't think it might cause that issue. 29~31th' builds are using another fstab patching engine. I dropped it to revert to the previous one.

But it cause then interferrence.

Install original ramdisk, you can do so

fastboot flash boot boot.img

You can find the boot.img in your rom's zip archive.
[Nexus 10 Original Android Development] LiquidSolstice:
Is the kernel integrated into the latest CM build you uploaded? On Mediafire, all your CM12 kernels are in an "old" folder.
[Nexus 10 Original Android Development] Khaon:
Was my mistake then.

No, the rom is never shipped with my kernel.
[Nexus 10 Original Android Development] Khaon:
I put a new rom build on the mediafire. There was a code error in cm source code that has been fixed since then. It was causing system_core to crash... Kinda annoying. If you are having this issue, it is corrected.
[Nexus 10 Original Android Development] SeemannBootlegs:
So which is the newest version of the kernel since there is nothing in lollipop folder?
[Nexus 10 Original Android Development] Khaon:
It's mediafire fault, it doesn't want to upload, I ll attach here in the meantime
[Nexus 10 Original Android Development] fifthelement:
I dont know why I cant get this ROM to work properly. I believe instructions are incomplete and confusing.

I would appreciate if you clarify my questions :

1. Does this cyanogen rom that you release support f2fs by itself ? if yes, why there is a need to flash your kernel separately ? if no, how come was it working for me with f2fs /data partition before flashing your kernel ?

2. Why isnt your kernel integrated in the ROMs that you release ? isnt the point of your releases to be f2fs compatible ?

3. After flashing your kernel, SUPERSU has stopped working for me. it was working fine with cyanogen kernel. is your kernel compatible with SuperSU ? I tried to reflash supersu but still it doesnt work.

clicking on youtube links in reddit sync app causes the "Android System" to crash. I wanted to send a logcat but I am not even sure if I have things setup correctly.
[Nexus 10 Original Android Development] Khaon:
1.2. The ROM comes with cm12 kernel. I just added into it f2fs drivers. Before I modified the fstab, it was mounting data with f2fs. Since one day lr two I have reverted original fstab so full ext4. I made an any kernel solution to make my kernel universal regardless of the ROM. During the installation it check your partitions's filesystems and patch the fstab. Also some users prefer having cm kernel with full ext4 over mine.

3. Cm12 has built in superuser. You don't have to use SU to have root access however are you using SU for

a particular reason ? Cyanogen kernel disable totally selinux. I just installed su 2.40 works for me just some trouble with the application to grant rights.

I will update OP instructions. Some of them are outdated

Sent from my nexus 10
[Nexus 10 Original Android Development] Khaon:
Anyone still running kitkat? I think the lollipop Anykernel version should work on kitkat.
[Nexus 10 Original Android Development] newellj79:
Might take the leap and install this today. My nexus could use a performance boost. Can anyone confirm the having multiple accounts is functional?
[Nexus 10 Original Android Development] Khaon:
I will confirm that later but it should be working as I have changed the flags to make increase stability. I had to turn off some optimizations but the most significant are still on.

Regarding performance boost f2fs on data partition will be more noticeable than my rom
[Nexus 10 Original Android Development] newellj79:
The f2fs on data partition is what I was referring to. Thank you for you help. The multiple account thing is a killer for me if not functional.
[Nexus 10 Original Android Development] Khaon:
Don't forget that the migration on data erases internal storage! Make sure to back up your personal data
[Nexus 10 Original Android Development] fifthelement:
Thank you for clarification. I suggest you to add this information to the first post so users don't get confused.

I am having 2 problems with latest version of Khaon's kernel :

1. As u said some apps have issues with SuperSU. the thing is that SuperSU works fine with stock kernel and SELinux enabled.

2. Clicking on any youtube link in reddit sync app causes the "Android System" to crash. I didnt have this issue on stock rom. I tried to record logcat, but as long as root doesnt work properly, the logcat app was unable to gain root rights.

SuperSU is superior to super user in many ways. for example it doesnt need SELinux to be disabled and also some apps dont work with super user in lollipop like Titanium Backup.
[Nexus 10 Original Android Development] Khaon:
Multi users is stable and working. Will upload!within the hour a new build with linaro 4.9.3. All other were built with saberlod GCC 4.8.5 .

The issue with YouTube link is gone. It was due to a mistake of cm developers .

Can you tell me a example of titanium back up failing due to root issue ?

Sent from my nexus 10
[Nexus 10 Original Android Development] fifthelement:
Thank you for updates. I reinstalled the ROM and kernel again after a full wipe and things are working properly now. I think something was messed up in my tablet after dirty flashing many different versions. I can confirm the youtube crash issue is resolved.

Regarding titanium backup, it gives you a warning if you dont have SuperSU installed (while u have super user installed) that it may not work properly and recommends you to install SuperSU. as an example, it is unable to freeze apps or may hang while restoring backups without SuperSU.
[Nexus 10 Original Android Development] newellj79:
Working on this now. Just so I understand, the big benefit is from changing data partition to f2fs, as such it's the only one I need to format?
[Nexus 10 Original Android Development] Khaon:
That's it.
[Nexus 10 Original Android Development] newellj79:
I flashed it with cm12 gapps and had all kinds of errors when it booted and no play store. Ran out of time to play so I'm restoring my backup after changing data back to ext4. May try later.
[Nexus 10 Original Android Development] Khaon:
What gapps did you used. PA gapps lollipop are those I use
[Nexus 10 Original Android Development] newellj79:
I'll try again.

---------- Post added at 01:05 PM ---------- Previous post was at 12:41 PM ----------

In a big jam. I reformatted everything including only data to f2fs. Reflashed rom and Nana PA gapps. Boots up and says enter password then decryption unsuccessful. I've never encrypted. I used twrp2.8.1.0 unofficial. Please help.
[Nexus 10 Original Android Development] Khaon:
It is stated in op and even when you flash the kernel that any migration requires reflashing the kernel package
[Nexus 10 Original Android Development] newellj79:
I'm sorry, just so I understand. Format data to f2fs, flash rom and gapps. Then flash your kernel? I thought I read the stock kernel was OK.

---------- Post added at 02:15 PM ---------- Previous post was at 01:19 PM ----------

Edit. I'm up and running now. Thank you.
[Nexus 10 Original Android Development] b1g.p0ppa:
[MENTION=4577448]Khaon[/MENTION], on 102 and 103 ROMs I have a problem playing videos in Plex. After selecting a video to play it churns for a bit and then just pops up a message saying it cannot play the video. The problem does not exist on the 1231 ROM and the video plays fine. I'm testing all three with the exact same video. Attaching dmesg and logcat. You can ignore the plexapp complaining about not being able to connect to 127.0.0.1 as I ssh tunnel it when I'm away from home but have been testing at home on local network for these logs. Logs are from the 103 ROM. Thank you!

Edit: changing kernel does not resolve the issue. I have tested 1231, 101, 102 and 103 kernels all with the same result. Changing out the ROM is what resolves the issue. I am running F2FS /data and cache.
[Nexus 10 Original Android Development] Khaon:
Can delete or set default hosts file ? I have included a patched host file with easy list. If it cause issues I will revert back to default one.

Sent from my nexus 10
[Nexus 10 Original Android Development] b1g.p0ppa:
With default hosts file in place (and reboot afterwards) I still have same problem, though error message appears faster. Hosts file:

$ adb shell cat /etc/hosts

127.0.0.1 localhost

Same log files attached. No changes other than hosts file to previously reported config.
[Nexus 10 Original Android Development] Khaon:
I will take a look on that this afternoon

------------------

I am uploading a new build compiled with linaro 4.9.3 toolchain. While gcc 4.8.x should be the stablest, linaro 4.9.3 may bring better performance but also more instability.

Have been using the build for one or two hours, seems to me it is better than sabermod, well it might be placebo effect, waiting on your feedbacks.
[Nexus 10 Original Android Development] fifthelement:
Can you please explain what is the proper procedure to upgrade to new build ? Does it require formatting or wiping any partitions ? Or just a dirty flash is sufficient ?
[Nexus 10 Original Android Development] Khaon:
dirty flash + flash anykernel.
[Nexus 10 Original Android Development] fifthelement:
Thank you for your hard work :) will try it out and let u know.

If you could upload your files to somewhere with better download speeds - for example google drive, it would help a lot. mediafire throttles download speeds intentionally to encourage buying premium accounts. it takes me 20-30 minutes to download a ROM which is frustrating.

Also if you could put the direct links to latest ROM and kernel in first post, it would save all users from digging into media fire and finding it.
[Nexus 10 Original Android Development] fifthelement:
Here goes my upgrade experience to new build :

I dirty flashed the new rom and kernel and rebooted into system. but I noticed SuperSU is gone and I have no root access. so I rebooted back into recovery and flashed SuperSU. then rebooted into system but it just hanged on boot animation. SuperSU somehow broke this new ROM. I rebooted back into recovery and reflashed the ROM and kernel and this time I could boot into system. but this time google services stopped working and I was getting FC messages. so again I rebooted into recovery and flashed this minimal gapps :

http://xdaforums.com/android/software/gapps-google-apps-minimal-edition-t2943330 (only 30MB)

this resolved the issues of google play, but still gmail app could not run and it would force close. I reinstalled it and it resolved the issue (may be we should have cleared the cache ?)

performance wise I do not feel any differences, both are fast and fluid. also antutu score is almost the same for both builds aroud 29350.
[Nexus 10 Original Android Development] Khaon:
I am using PA's Pico modular package ( http://xdaforums.com/paranoid-andro...oogle-apps-t2943900/post56832806#post56832806), works very well.

Yes cache may raise problems when changing rom/kernel.

And I guess even more now as my art cache folder is 850MB and I have no that much extra apps.

I have noticed from my own experience that not clearing the cache when installing a new rom compiled with an other toolchain/options than the previous one it would raise bugs...

So you should not clear cache when dirty flashing, myself I dont do it. Ofc if you installed linaro's over sabermod's, I guess it was the source of your issues.

Just curious what is your governor? I think since I included touch boost interactive behaves very well, dunno if some users are playing I will had touch gpu boost also in the next releases.
[Nexus 10 Original Android Development] fifthelement:
Can u tell me where is ART cache folder located ? is it in /cache ?

my governor is interactive. that's a very good idea to have input boost. If I remember correctly stock kernel has this feature too, seems CM has removed it from their kernel. Although I am not sure. things will definitely get snappier with input boost ;)
[Nexus 10 Original Android Development] b1g.p0ppa:
[MENTION=4577448]Khaon[/MENTION], so sorry but I misspoke. The Plex issue also occurs on the 1231 ROM. It works properly on the 1227 build. I tested the 103 Linaro build and it has the same problem.
[Nexus 10 Original Android Development] SeemannBootlegs:
In which partitions is recommended to use F2FS?
[Nexus 10 Original Android Development] Khaon:
Nope it is located at /data/dalvik-cache. In fact, stock rom doesn't include touch boost driver. It is a process that is run from the rom and upon touch it nodify the kernel the screen was touched( it does that by writing into a files of the sysfs).

It is not very optimal and efficient, kernel side driver does better.

/data
[Nexus 10 Original Android Development] Khaon:
I am uploading a new rom build: it is very stock cyanogen configuration without optimizations. It has been compiled with latest linaro tool chain(4.9.3) available.

The main purpose of this build is mainly for two things:

1/ see if optimizations are actually outputting better code and not the opposite (i.e. we will see that from user experience). Like linaro explained in their blog, some optimization are enhancing some part of the code but some module are not and overall it is not advised to enables this or this flag. They were explaining they removed graphite feature for example.

2/ see if broken/bugs are linked to the code or compilations options.

So I suggest not flashing this build unless you have an experience with the other builds.

ALSO under a request I moved the repo from mediafire to google drive! Here is the manta folder :

https://drive.google.com/folderview?id=0B9kxrJw-dzUmcEIxeTFjV1V2Qms&usp=sharing#list
[Nexus 10 Original Android Development] ericp2:
cm12 12-20150103 memory issue

Hi,

I have just installed this version, using the kernel from 25/12/2014. while it's running fine, there is a message at startup :

"storage space running out". but i have 6.8Gb free on the device. so it must be referring to one of the partitions i suppose.

checking with df, the only partition which has little space is /system, with 8k, but it seems the message makes no sense and is spurious.

I tried removing files, wipe cache/dalvik (which should not be necessary anyways), but there is no difference.

Any clue?

note however an incredible improvement linked to cache rebuilding. it's probably about 10 times faster!

thanks again for your work
[Nexus 10 Original Android Development] Khaon:
I don't know where comes this annoying notification, I had one or two times and now it's gone. Was it a bug linked to a CM's modification that has been corrected or just a bug I don't know but apart being annoying I don't think it impact performances.

But since I don't have this any more I assume it has been fixed.
[Nexus 10 Original Android Development] b1g.p0ppa:
The 105 without optimizations ROM does play the video whilst the 105 linaro ROM does not. Tested using the 105 kernel. Initial boot ART compiles took significantly longer on the w/o optimizations ROM and opening apps for the first time seems a lot slower too. Opening them for a second time is noticeably slower as well. I wish we could isolate what is causing the video not to play as that is the only issue I experience with the optimizations--everything else is awesome!
[Nexus 10 Original Android Development] Khaon:
If you are still running the version supporting Plex could you back up those two files and when you have time replace the otpimized linaro's?

system/app/webview/webview.apk
system/lib/libwebviewchromium.so

If the code related to the error is located in this library then I will do like ART: linaro 4.9 build comes with everything compiled with it but ART ( all 4.9.x compiler yield seg fault with art).

I will look more into that tomorrow reading throughout fully the log you provided me