yashsingh1/xdaforums huggingface dataset:
[Nexus 10 Original Android Development] corumuk:
It doesn't get stuck on the same screen, just continuously reboots after about eight seconds, I think after the google logo but before the loading animation. Had to do a three key reset and restore the backup i'd just taken. I'm not using f2fs at all.
[Nexus 10 Original Android Development] RichieXX:
New download and bootloop again between Google logo and bootanimation. No f2fs.
[Nexus 10 Original Android Development] Khaon:
Okay I taught both of you were running F2FS on your partition. I am gonna format to ext4 my /data partition I Think it will be easier for us.

otherwhise you should have retrieve this file:

/tmp/anykernel/ramdisk/fstab.manta

with ADB just after flashing the kernel package.
[Nexus 10 Original Android Development] Khaon:
Ok I have formated my device to f2fs and installed Chroma-AOSP and my latest kernel on the gdrive, I could boot.

May you state your ROM's ? Have you flashed my latest kernel over a clean install that was booting correctly ?
[Nexus 10 Original Android Development] Syk69:
I also get in reboot loop with latest kernel. What I noticed is the kernel that works for me is the 6/9 version, is that when I flash it with temasek rom the ram disk is compressed with gzip and boots fine. But the latest kernel 12/9 compresses ram disk with lz4 and I get boot loop after Google screen.
[Nexus 10 Original Android Development] drewski_1:
I thought Temesek ROM already includes this kernel so no need to flash it?
[Nexus 10 Original Android Development] Syk69:
You don't if you are fine with default settings. I like to tinker and use CPU governors that aren't in the default kernel of temasek.
[Nexus 10 Original Android Development] Khaon:
I installed Chroma-AOSP on a ext4 layout partition and I could not reproduce the boot loops with the kernel on the gdrive.

Could someone that face that upload to me the recovery.log ? You can back it up from advanced settings or just.

adb pull /tmp/recovery.log [X]

where [X] is the output where you want the file to be retreived .

Also if I could get the output of

adb shell ls -lia /tmp/anykernel/ramdisk

would be appreciated.
[Nexus 10 Original Android Development] ricco333:
I'm in the same boat, I installed latest Chroma, with the 09/08 kernel from the Gdrive on ext4 partition and everything is working great.

Erik
[Nexus 10 Original Android Development] Khaon:
No temasek rom includes another tree I am working on... The kernel is based on 3.4.108 vanilla merged with manta & few patches.

The goal is to provide something stable and a bit lighter.

[br]

[MENTION=4628258]Syk69[/MENTION] [MENTION=4400066]corumuk[/MENTION] [MENTION=5671934]RichieXX[/MENTION]

What is your status ? Did you see my latest ost?
[Nexus 10 Original Android Development] RichieXX:
Sorry, I'm not at home and can test it. Maybe I have this time at the weekend.
[Nexus 10 Original Android Development] drewski_1:
cool thanks for the clarification! :good:
[Nexus 10 Original Android Development] Langduscher:
Hey lads, it's been a while since I flashed my manta - so please bear with me :o

I am on latest factory images with an older version of Khaon kernel. I would like to update to latest AND give f2fs a try. I've read up and I believe these are the steps I need to take:

- flash latest Kaon kernel

- copy /sd contents to pc

- change all partitions BUT /system to f2fs

- reboot & profit?

I thought I'd ask before fckuing up my manta :D
[Nexus 10 Original Android Development] Medizinmann:
After you changed all partitions you must flash a rom again and then Khaons Kernel - don't forget to format /data using the format command from TWRP - changing the partition alone isn't enough..

...don't forget to flash Gapps if you use another rom than pure Google...

I would recommend Khaons build from temaseks CM12.1 and Banks Gapps.

Greetings

Medzinmann
[Nexus 10 Original Android Development] drewski_1:
Format /data will make it ext4.

I think it's a good first step for a clean install, but he will need to do that first and then change file system under advanced after to get to F2FS

Sent from my SHIELD Tablet
[Nexus 10 Original Android Development] Khaon:
Flashing my kernel is the last part: it adjusts your fstab if you are running some f2fs partitions.

System partition is now supported, therefore you can have a full f2fs if you wish...

So:

1/ format your partition(s)
2/ Flash my kernel.

My rom has already a fstab compatible with f2fs and ext4. If you flash my rom you don't need to flash my kernel, unless the one that comes witth the rom lacks some features you like.
[Nexus 10 Original Android Development] RichieXX:
Now i have flashed (clean flash with data and cache wipe) the newest kernel 12/09 with chroma 09/09 an i have bootloop again.
[Nexus 10 Original Android Development] anjo88:
hey im using this kern but i have reboot once in a while can any one pass me kernel auditor settings please?
[Nexus 10 Original Android Development] Langduscher:
Cheers! Your ROM is in the Google Drive?
[Nexus 10 Original Android Development] Khaon:
That's so weird as I have returned my /data to ext4 to try reproducing and I could not see any bugs...

Can you priovide the recovery.log ? Go to advanced settings to back it up.

Yes
[Nexus 10 Original Android Development] RichieXX:
Yes. Sorry.
[Nexus 10 Original Android Development] Khaon:
Thx you but this log doesn't show details when flashing my package. With the ui_print function some infos should have been displayeD.

Are you sure you packed it that after trying to flash my kernel package?

Khaon kernel for nexus 10 device

AnyKernel2 by osm0sis @ xda-developers

about to run program [/sbin/busybox] with 3 args
about to run program [/sbin/sh] with 3 args
Checking device...

Creating init.d...

mkdir: can't create directory '/system/etc/init.d': File exists
run_program: child exited with status 1
about to run program [/sbin/sh] with 2 args
Installing kernel...
/tmp/anykernel/anykernel.sh: line 6: kernel.string=Khaon: not found
/tmp/anykernel/anykernel.sh: line 7: do.devicecheck=1: not found
/tmp/anykernel/anykernel.sh: line 8: do.initd=1: not found
/tmp/anykernel/anykernel.sh: line 9: do.modules=0: not found
/tmp/anykernel/anykernel.sh: line 10: do.cleanup=0: not found
/tmp/anykernel/anykernel.sh: line 11: device.name1=manta: not found
/tmp/anykernel/anykernel.sh: line 12: device.name2=: not found
/tmp/anykernel/anykernel.sh: line 13: device.name3=: not found
/tmp/anykernel/anykernel.sh: line 14: device.name4=: not found
/tmp/anykernel/anykernel.sh: line 15: device.name5=: not found
32768+0 records in
32768+0 records out
16777216 bytes (16.0MB) copied, 0.336925 seconds, 47.5MB/s
BOARD_KERNEL_CMDLINE
BOARD_KERNEL_BASE 10000000
BOARD_NAME
BOARD_PAGE_SIZE 2048
BOARD_KERNEL_OFFSET 00008000
BOARD_RAMDISK_OFFSET 01000000
BOARD_TAGS_OFFSET 00000100

Ramdisk was compressed with lz4

\nUnpacking ramdisk to "ramdisk/"...\n
Compression used: lz4
cpio: sbin/post-init.sh not created: newer or same age file exists
cpio: sbin/bb/busybox not created: newer or same age file exists
cpio: fscheck not created: newer or same age file exists
5281 blocks
/system's file system is ext4
/cache's file system is f2fs
/userdata's file system is ext4
fstab patching done.

If you migrate from ext4 to f2fs or vice versa.
You will have to install this package again.

repacking the ramdisk with lz4 algorithm
15240+0 records in
15240+0 records out
7802880 bytes (7.4MB) copied, 0.999961 seconds, 7.4MB/s
about to run program [/sbin/sh] with 3 args
cat: can't open '/tmp/anykernel/exitcode': No such file or directory
sh: 1: unknown operand
run_program: child exited with status 2

Done!
script result was [Done!]
I:Legacy property environment disabled.
Updating partition details...
I:Data backup size is 1194MB, free: 19976MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
I:operation_end - status=0

Something like this should be in the logs.
[Nexus 10 Original Android Development] Remisse:
Is there a way to tweak the display colors? Something like MDNIE on Samsung devices?
[Nexus 10 Original Android Development] Syk69:
It still reboots for me the 12/9 version. I have to use 6/9 version.

Hopefully this log helps.
[Nexus 10 Original Android Development] Khaon:
I seen this from your log

seems your recovery was built with omni 4-4 branch. Could you try with mine ? It is built with 5.1 branch.

link
[Nexus 10 Original Android Development] Syk69:
Thanks! that was the culprit! Boots fine now :)
[Nexus 10 Original Android Development] Khaon:
hehe thx you too !

I have updated the OP so people know best is to flash my custom recovery.
[Nexus 10 Original Android Development] tavocabe:
Hi Khaon, could a MultiRom solution be possible with this kernel?
[Nexus 10 Original Android Development] RichieXX:
With your recovery flashs perfect and no bootloop. Absolut perfect! Thanks Khaon.
[Nexus 10 Original Android Development] Langduscher:
I'm experiencing a couple of issues:

- System partition is full (constantly getting an annoying notification "storage space is running out"; Storage in Settings says 798/798Mb used (huh??)

- Cannot install apps from Play Store (Banks Gapps; only Play Store?): error 504. Googled for solutions but none of them work

I am at a loss here. If someone could advise on how to fix, I'd be very happy!

Rom I use = cm-12.1-20150925-UNOFFICIAL-by.temasek-manta (BaNkS-Dynamic-GApps-5.x.x-9-22-15)

recovery I use = twrp-unofficial-2.8.7.0 (I changed system, cache & data to f2fs using all the info from this thread, worked flawlessly).

edit: tried flashing the resize_manta zip form the mods folder but that didn't do anything. Search also didn't return these specific issues. In twrp there is no option to resize either. Does this have to do with f2fs format?
[Nexus 10 Original Android Development] Remisse:
You could try flashing a smaller GApps package, such as the Pico version of TK GApps.
[Nexus 10 Original Android Development] Langduscher:
Thanks - TK Gapps won't install at all; throws an error (about the installer that failed).

Banks Gapps also only installed Play Store. Removing the CM bloat doens't free up the 250Mb Android says I need to free up. I have a feeling I'm doing something wrong..
[Nexus 10 Original Android Development] drewski_1:
Have you checked the md5 of the rom download or tried an earlier cm build?
[Nexus 10 Original Android Development] Remisse:
Well, I had the same issue with the /system partition, and the previous CM build worked flawlessly when flashing TK GApps. But yeah, I too suggest to check the MD5.
[Nexus 10 Original Android Development] Khaon:
Yes, it does !

You need to find a gapps package that will not fail checking the left space.

Maybe someone might ligthen us what to use ?

I am currently using former package I flashed I dont recall what it was:

You don't need to flash your gapps package after a flash of my rom or any cm12 based rom it will back up your gapps. However you still need to flash a package if you wish to update
[Nexus 10 Original Android Development] Langduscher:
I've just downloaded the 26/9 and 13/9 roms + TK Gapps Pico & Full. Will go from there and report back :good:

Where do I find the md5 sums for the roms? :o
[Nexus 10 Original Android Development] Langduscher:
It worked with the 26/9 ROM + TK Gapps Pico. All is good now :D

Thanks at all for helping me :cowboy::good::good:
[Nexus 10 Original Android Development] Remisse:
Glad it worked, Ti!

Anyway, am I the only one experiencing random freezes/reboots? Doesn't matter whether I'm on EXT4 or F2FS, CM12 or stock... Do you have any suggestions?
[Nexus 10 Original Android Development] Khaon:
What gapps did you use ?

HM, what are you using ? ROM? /Kernel? etc? thx.
[Nexus 10 Original Android Development] Remisse:
Currently on Temasek (latest release), TK GApps Pico, all partitions on EXT4. The issue only occurs when using your kernel, specifically while browsing through the internet or the Store. All's well If I stay on stock kernel (Temasek's, in this case).
[Nexus 10 Original Android Development] Langduscher:
TK Gapps Pico from here

I removed all CM bloatware and installed all the Google Apps through Play Store. A bit of a pain, but I am up and running :D

I experienced this same thing on factory images with your kernel - ever since the latest update from Google kept nagging. That was part of the reason for my endeavour of flashing your rom and making my manta f2fs :cowboy:

N10 is much faster now and (random) reboots are gone too :thumbup:
[Nexus 10 Original Android Development] Remisse:
So it was just a matter of switching completely to F2FS? Gotta try that one more time :good:
[Nexus 10 Original Android Development] Langduscher:
Not sure f2fs had something to do with it, but it did make my N10 THAT much faster :D (I used the 26/9 ROM & Pico TK Gapps with the included kernel ;) )
[Nexus 10 Original Android Development] Remisse:
No luck, Khaon's kernel is still unstable for me. Maybe it needs an update to work properly on newer ROMs?
[Nexus 10 Original Android Development] Syk69:
Capture a log for khaon. Because its completely stable for me no freezes or reboots on latest temasek version.
[Nexus 10 Original Android Development] Remisse:
Can you tell me how? Never done this before.
[Nexus 10 Original Android Development] Syk69:
How to get last_kmsg log

If your tablet rebooted unexpectedly, you need to save last_kmsg log. It will contain kernel log just before reboot and may show what caused reboot.

To get last_kmsg log on your device you need to do:

Open terminal app

Enter "su" to get root privileges

Enter "cat /proc/last_kmsg > /sdcard/last_kmsg.txt" to save current log.

Close terminal app.
[Nexus 10 Original Android Development] Remisse:
Here's the log.
[Nexus 10 Original Android Development] Khaon:
Hello !

I was kinda of busy to answer earlier.

I took a quickly look at your logs, may you answer this?

What is the upperlying ROM ?

What is your partitions's layout?

Have you enabled DT2W ?
[Nexus 10 Original Android Development] Remisse:
Temasek CM12.1, latest release.

/system, /cache and /data formatted to F2FS, if that's what you're asking.

Nope.
[Nexus 10 Original Android Development] codygs83:
So maybe a dumb question but I've been out of the n10 game for to long and the wife's n10 needs an update. Do I need to convert to f2fs before flashing this kernel or will it still work on ext4?

Just put her on the latest chroma and want to give this kernel a shot.

Thanks!
[Nexus 10 Original Android Development] Medizinmann:
No need to convert. But if you do a fresh install anyway, I would take the opportunity and change everything to f2fs.

Greetings

Medizinmann

Gesendet von meinem Nexus 10 mit Tapatalk
[Nexus 10 Original Android Development] codygs83:
Awesome. Thank you!
[Nexus 10 Original Android Development] Khaon:
Temasek cm12.1 comes with another kernel than the one you were having( theone of this thread).

Does those bugs happentoo with this one ?

I took a look at your logs,well it is kinda surprising.

Have you install any special software you can think of ?
[Nexus 10 Original Android Development] Remisse:
Nay, Temasek's kernel works fine.

As for the apps.. nothing out of the ordinary, all of them are from the Store except AdAway.

I took a quick look at your commits on GitHub, and noticed a very recent fix: "gpu:mali:migdard:fix hardware reboot caused by underlock variable". Could this be what I'm facing?
[Nexus 10 Original Android Development] moore.bryan:
Has anyone else experienced a problem with opengapps and /system size? After converting /system, /data, and /cache to fsf2, I can't get any opengapps to work--the installer cites an "Error 70"; that is, lack of space, error--and BaNks's gapps also "fills" the entire /system partition. Does the TWRP formatting screw things up partition-wise?

Much needed help would be greatly appreciated... and if this has been asked/answered previously, I apologize; I looked through *most* of the 111 pages of posts and didn't see anything.

Thanks, in-advance!
[Nexus 10 Original Android Development] drewski_1:
i'm F2FS on /data & /cache, but not /system and have no issues with TK GApps, but definitely need to limit the number of apps to fit the /system size.

not sure with Open GApps, but TK GApps creates a LOG file that shows what TWRP thinks is the /system partition size and how much each app needs so you can adjust the install accordingly to maximize use of the partition, without going over.

btw, i was told on another device thread on F2FS that it benefits Writes vs. Reads. after initial ROM install, the system partition is almost entirely Read-Only in daily usage so formatting /system as F2FS has little performance benefits.
[Nexus 10 Original Android Development] Khaon:
Try this one
[Nexus 10 Original Android Development] moore.bryan:
That's interesting about the /system... makes sense. I've already contacted opengapps on github to see if they think it's a f2fs issue, too.

Tried and failed; banks's gapps "fill up" the entire partition and nothing new can be downloaded or updated. I've reformatted several times, tried having just /cache and /data as fsf2 and /system as ext4, to no avail; the space issues extend.

Apparently, someone from opengapps went through the debug log and wonders if there's a problem with the recovery incorrectly partitioning. In part:
[Nexus 10 Original Android Development] Khaon:
I could install tk nano gapps package, I think we are lacking of spaces with f2fs partition as it keeps for himself space. This can be tunned. I will try home to lower that
[Nexus 10 Original Android Development] moore.bryan:
I've tried both the tk nano and the opengapps nano without luck.

I'm beginning to wonder more and more if this is a partitioning issue of the recovery because ever since I formatted everything out to fsf2, I'm unable to install any gapps packages due to the insufficient space error. I've even tried using the official twrp for the manta to go back to ext4, but I'm still running into the same errors. Perhaps there's a way to completely clean slate the tablet and start partitioning from scratch and/or a partition manager out there I could use to manually specify things?

Thanks, again, for your help...
[Nexus 10 Original Android Development] Khaon:
Watch out you may need to resize your ext4 partition. You can do that from the wipe>check system > advanced > resize.
[Nexus 10 Original Android Development] moore.bryan:
Hmm... could I just do that with it all formatted to fsf2? Do you have suggestions about sizes for partitions? I'm comfortable with partitioning--I'm a linux guy--but have never toyed with it in Android.

Alright, so I just went into twrp's "resize partition" and found no particular settings, so I slid the slider and it resized. I've formatted /cache and /data to fsf2, /system to ext4, and I was able to install the khaon cm12.1 modded rom and banks's gapps package; I didn't get an error this time, so I'll assume that's progress...
[Nexus 10 Original Android Development] furkandeger:
Does this kernel work with stock google? Also can you add ondemand governer?
[Nexus 10 Original Android Development] michaelearth:
I just downloaded and installed the latest Khaon kernel while running Lollipopalooza. But when I try to boot back into the system, I get stuck in a bootloop. The Google logo unlock symbol boot-screen will appear then shut off and repeat. Any idea whats wrong?
[Nexus 10 Original Android Development] furkandeger:
Try using the twrp in OP
[Nexus 10 Original Android Development] drewski_1:
Odd. That's the combo i am using. Was it a clean install?

Sent from my Moto X
[Nexus 10 Original Android Development] michaelearth:
This solved my issue. Thank you!

However, I do have another question. I downloaded "Kernel Adiutor" to change kernel settings but like its stated in the OP, it does not support GPU tweaks. Is there any way available to tweak GPU settings?
[Nexus 10 Original Android Development] Khaon:
there is a .sh file in the archive that is put at /system/etc/init.d

there are some tunnable in this file.
[Nexus 10 Original Android Development] furkandeger:
Usually Kernel Adiutor supports GPU tweaking, I don't know why this is not the case for our device.
[Nexus 10 Original Android Development] Khaon:
Because the path to the sysfs entries are different than msm's.

Also do kernel audiutor supports gpu boost + gpu boost time duration ?

Last time I checked nope only thing I could pull request was the path to t he max gpu frequency.

I didn't do that since this kernel supports gpu touch boost, OC, UV.

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

New kernel(s) build online !

changelog

[/COLOR][/B][COLOR=Black]f2fs sources updated to upstream revision (10/10)

You can find two package

the light-version is a lighter kernel but upgraded to 3.4.109

the other is the default kernel that comes with all features.
[Nexus 10 Original Android Development] Bastlwastl2010:
Lighter... :confused::confused: Which features are missing?

Thanks
[Nexus 10 Original Android Development] furkandeger:
Hmm didn't know these. Thanks for the clearance!
[Nexus 10 Original Android Development] Khaon:
@Nicholas1994

I made a little misstake: f2fs files weren't compiled.

I resovled this issue...

This is the current changelog of marshmallow kernel.

I didn't have time to add patches to this kernel.

I plan on updating this to 3.4.109 + add cpu overclock/UV + gpu oc/uv + some i/o scheduler ( fiops, sio, bfq) during this weekend.

Current kernel build(compatible with

f2fs

can be download there
[Nexus 10 Original Android Development] anjo88:
why here can we see the changelog for 19/10 version of thew kernel? thank you for not let nexus 10 die sir
[Nexus 10 Original Android Development] Khaon:
There is nothing new. I just built again the kernel to make it available on my remote server. Because of the build script the date is 19/10 :p

you can see however latest changes there
[Nexus 10 Original Android Development] anjo88:
Ok but are you thinking in added new features like fast charging?
[Nexus 10 Original Android Development] tathagatab:
I've been asking him that for some months. He seems reluctant to implement fast charge.
[Nexus 10 Original Android Development] yamaha_wins:
Can I use UPDATE-AnyKernel2-khaon-kernel-manta-10-20-2015 with blisspop 5.1.1? I get boot loop's when I attempt. That's coming from a fresh install..

So I've been reading... Maybe this is related to my twrp version I'm using?
[Nexus 10 Original Android Development] drewski_1:
What TWRP are you using? Are you also converting to F2FS?
[Nexus 10 Original Android Development] _Raziel666:
Same happens to me. I'm on latest TWRP (2.8.7.0). Any ideas?
[Nexus 10 Original Android Development] Khaon:
interresting may you provide a logcat and/or a dmesg log ?

Also could you specify your partitions's filesystem ?
[Nexus 10 Original Android Development] _Raziel666:
I haven't changed the partition's file system - I'm on stock ROM, so if I'm not mistaken, it's ext4.

As for the logcat, I think that in order to provide one, the device should boot first - mine shows the Google logo, then black and the Google logo again... forever!

---------- Post added at 01:39 AM ---------- Previous post was at 12:59 AM ----------

Sorry for the double post. Weird thing is that I tried to install your kernel with your modified TWRP recovery and it worked! Don't know how or why that happened.

One question I'd like to ask is if it's possible to have a stock ROM with F2FS filesystem in all partitions. I read your first couple of posts but I can't see how that would be possible.