yashsingh1/xdaforums huggingface dataset:
[Nexus 10 Original Android Development] Khaon:
Hehe thx you,

that was exactly I was about to ask you to do.

I am not sure "default" recovery was integrating all components that mine uses...

My anykernel might be requiring some libs that are not included by default with twrp.

Sorry for those having issue if I was right :P.

Hope you can confirm or infirm quicly :D
[Nexus 10 Original Android Development] n0j0e:
Which recovery do you preferred to flash your new anykernel??
[Nexus 10 Original Android Development] Bastlwastl2010:
Works with last CM 12.1

[MENTION=4577448]Khaon[/MENTION]

There are no GPU controls in the latest MM Kernel (99khaon_gpu_controls) ?
[Nexus 10 Original Android Development] Khaon:
No idea they are nto available :P.

I was too lazy from the very beginning to implement that lol. Well sicne someone is asking(you), it will be my pleasure to do so.
[Nexus 10 Original Android Development] MrMarques01:
Just to give you a quick heads up, I flashed the kernel using the custom recovery you provided, and now my Nexus boots without any isses (lastest OmniROM). Thanks for you work!
[Nexus 10 Original Android Development] Bastlwastl2010:
Nope....

Start Firefox gives an immediatly reboot.

No problem with UPDATE-AnyKernel2-khaon-kernel-manta-10-28-2015.zip on cm 12-1
[Nexus 10 Original Android Development] n0j0e:
OK after reading the first post ? i flash the custom TWRP and the MM kernel successfully on the omni-homemade Rom. But also get a reboot when i try to start FF.
[Nexus 10 Original Android Development] Khaon:
Ok glad to know this issue comes from my kernel and not ROM's( well at least the one i am using, mine).

I am gonna downgrade the kernel to a stable release then , for the time being.

EDIT

This build doesn't cause FF to crash.
[Nexus 10 Original Android Development] ericp2:
For info the latest kernel build works perfect with official cm13
[Nexus 10 Original Android Development] PainToad:
cm13's default kernel supports F2FS, why use this one?
[Nexus 10 Original Android Development] Bastlwastl2010:
OC / UV and optimized kernel

[MENTION=4577448]Khaon[/MENTION]

latest kernel works with latest CM 12.1 and FF
[Nexus 10 Original Android Development] Khaon:
Indeed, now, cm's kernel uses recent sources for f2fs.

My kernel includes some little extras features compared to cm's.

So I think if you don't feel as an adventurer, you should try cm's :D
[Nexus 10 Original Android Development] lepa71:
Does this kernel work on Omni 6? Thanks
[Nexus 10 Original Android Development] n0j0e:
yup! Flash custom TWRP from first post and then the kernel.
[Nexus 10 Original Android Development] Khaon:
I don't remember who asked me to add my former gpu patches but I did so.

Edit: I found he back ! [MENTION=4909149]Bastlwastl2010[/MENTION]

The latest build includes the follwoing changes :

a44b0af added a sysfs interface for the gpu voltage
2a30a0e gpu:mali: add missing break-line
97b3ab8 gpu:mali:added an sysfs interface for the gpu boost freq
a7ecd6e gpu:mali:add control for the gpu boost duration
f9d17dd gpu:mali:increase gpu touchboost duration to 250 ms
0552514 driver:input:touchscreen:simply the touchscreen algorithm
ec1a8d4 gpu:arm:mali:add input touchboost
5e69dbb f2fs:update sources to 3.4.y upstream branch
b31cfcf update the build script to match new paths
132e348 ANDROID: android: base-cfg: disable CONFIG_SYSVIPC
6e8f47c UPSTREAM: include/linux/poison.h: fix LIST_POISON{1,2} offset
0b82ef1 UPSTREAM: proc: actually make proc_fd_permission() thread-friendly
f7f420f UPSTREAM: proc: make proc_fd_permission() thread-friendly
f63f8d6 __ptrace_may_access() should not deny sub-threads
5dbbefb ANDROID: exec_domains: Disable request_module() call for personalities
925b1f5 BACKPORT: pagemap: do not leak physical addresses to non-privileged userspace
716cac3 selinux: Android kernel compatibility with M userspace
ee242e9 selinux: extended permissions for ioctls
4964bce security: add ioctl specific auditing to lsm_audit
fc43b15 selinux: remove unnecessary pointer reassignment
f67cd64 Revert "security: lsm_audit: add ioctl specific auditing"
cb21193 Revert "SELinux: per-command whitelisting of ioctls"
5494628 Revert "SELinux: use deletion-safe iterator to free list"
73d24ee Revert "SELinux: ss: Fix policy write for ioctl operations"

This release includes mainly gpu control : governor table, voltage, touchboost and touchboost duration.

enjoy
[Nexus 10 Original Android Development] lepa71:
Were you answering my question? If yes, why do I have to flash Khaon's recovery and not just kernel? Thanks
[Nexus 10 Original Android Development] drewski_1:
new TWRP 3.0.0.0 was just released. don't have my n10 with me, so not sure if it needs your F2FS magic :D

https://dl.twrp.me/manta/twrp-3.0.0-0-manta.img.html
[Nexus 10 Original Android Development] Khaon:
hehe I am right now building twrp 3.0.0
[Nexus 10 Original Android Development] drewski_1:
cool! i like the new theme, but confirmed no F2FS support from the "official" TWRP

not sure i understand why it's missing for the N10 because my Moto-X TWRP includes F2FS in the official versions . . .
[Nexus 10 Original Android Development] scanno:
Moto X has F2FS is the stock kernel [MENTION=512311]khuan[/MENTION] Oh just in case you get the orange color in TWRP: https://gerrit.omnirom.org/#/c/16813/
[Nexus 10 Original Android Development] Khaon:
Well to get f2fs option in twrp you just need to declare some line in your BoardConfig.mk file... I don't understand myself as well why they did not include this

[MENTION=905572]scanno[/MENTION]

thx for the commit link, I am gonna try this in fewm inutes :P
[Nexus 10 Original Android Development] scanno:
Make sure you clean first before you build again ;)
[Nexus 10 Original Android Development] drewski_1:
makes sense :cyclops:

yeah, that orange color is horrid.

didn't play around with it, but assumed (probably incorrectly) that since the same guy who did the material theme worked on this new one that there might be a way to change it in TWRP settings?
[Nexus 10 Original Android Development] Khaon:
There is on my drive a twrp 3.0.0.0 build that supports f2fs

https://drive.google.com/drive/folders/0B9kxrJw-dzUmcC03RUZsWXB5bTg
[Nexus 10 Original Android Development] scanno:
Orange or Blue :P
[Nexus 10 Original Android Development] Khaon:
lol honestly, sorry, cant even remember I am just booting right now on a fresh rom and it is building art cache..
[Nexus 10 Original Android Development] Khaon:
It is the blue theme :P
[Nexus 10 Original Android Development] drewski_1:
Can you do Ramdisk with GZip instead of LZ4?

SuperSU can currently only handle GZip so couldn't patch the boot.img

or is this a factor of the ROM i'm installing on. i tried with OmniROM
[Nexus 10 Original Android Development] Khaon:
What supersu version did you use ?

Indeed I didnt think of trouble with lz4 compressed objects.

I will remove it.

If you flash supersu v2.56 you should not have any problem as 2.56 was the latest version patching a boot image
[Nexus 10 Original Android Development] Khaon:
I have reviewed my code, only when flashing my standalone kernel, the ramdisk got compressed with lz4. You did not flash my standalone kernel did you ?
[Nexus 10 Original Android Development] zamula:
I also encountered the supersu issue with the standalone kernel. If you can use gzip that would be great, but I was able to work around it for now by flashing the kernel after supersu.

I'd like to express my appreciation for your continued support of manta. Your kernel makes a very noticeable difference in performance and usability!
[Nexus 10 Original Android Development] drewski_1:
yes, it was your standalone kernel.

---------- Post added at 05:06 PM ---------- Previous post was at 05:04 PM ----------

+1 on the appreciation! :good:

so it sounds like flashing the kernel after SuperSU does not lose Root? i'm not sure of the exact Boot.img mods that SuperSU for MM does. is it limited to the Ramdisk?
[Nexus 10 Original Android Development] drewski_1:
this worked to get root!

Thanks!
[Nexus 10 Original Android Development] scanno:
[MENTION=4577448]Khaon[/MENTION] can you tell me what changes you made for twrp?
[Nexus 10 Original Android Development] drewski_1:
sorry, i missed this yesterday. i tried SuperSU 2.67

Chainfire did say that he would be addressing alternate compression algorithms in the next few weeks so maybe don't need to remove LZ4, as it's more efficient (speedwise) than GZIP, and point people to the work-around that was given (flash SuperSU before flashing your Kernel).
[Nexus 10 Original Android Development] shuli81:
[MENTION=4538400]kahon[/MENTION], I noticed that since Marshmallow there is no DT2W in your kernel. Do u plan on reintroducing it eventually?
[Nexus 10 Original Android Development] Khaon:
Ahahah Indeed I did not add this back. Well I will do it, honestly, if it is not implemnted in the next two days, send me a pm.
[Nexus 10 Original Android Development] Khaon:
I didn't yet include patches for the double tap to wake.

however I posted a new kernel build on my gdrive
[Nexus 10 Original Android Development] Der_Graf:
Good job. Thank you :)

Still waiting for DT2W
[Nexus 10 Original Android Development] Khaon:
Hello,

double tap to wake is available on my next build.

You can edit it at

/sys/devices/platform/s3c2440-i2c.3/i2c-3/3-004a/dt2w_enable

setting this to 1 or 0.

Also you can use kernel audiutor.

Be default, dt2w is disabled.
[Nexus 10 Original Android Development] Der_Graf:
That´s what i waiting for. Thank you very much. Now my Nexus 10 is nearly perfect.

But a off-topic question: Do you know how i can modify the navbar? I want to put the volume control in the navbar (louder, quiter, mute).
[Nexus 10 Original Android Development] Divyansh747:
anyone tell me f2fs have support for custom kernel?
[Nexus 10 Original Android Development] drewski_1:
not sure i understand your Q . . . this is a custom kernel with F2FS support.
[Nexus 10 Original Android Development] mustyrash:
I'm looking for a kernel compatible with the nexus 10 running marshmallow (omnirom) that has some kind of power or battery saving mode or governor and allows me to calibrate the display. Am I looking in the right place or could somebody suggest one please
[Nexus 10 Original Android Development] tavocabe:
Is it possible to overclock the gpu to more than 533 mhz?
[Nexus 10 Original Android Development] HipHopAst:
Hi.

How did you manage to overclock GPU in the first place??

What program have you use??
[Nexus 10 Original Android Development] Khaon:
Hello, there are no display calibration. I think you had/have some snapdragon chips ?

I have no idea if it is even possible to have this on an exynos chip.

I have been no longer targeting battery saving for few months because as our device is old I think it is better to provide a nice user experience rather than something slow because of the battery saving.

Hehe noes, but, I could find a former git patch of mine that enables overclocking for the gpu up to 720mhz.

I am already running this, if I don't experience any bug, i will post it.
[Nexus 10 Original Android Development] Khaon:
I have added support for gpu o/c. Tell me if you got any issues.

You won't find gpu o/c on any software.

Send the frequency you want (661, 667 or 720) at

/sys/devices/platform/mali.0/dvfs_upper_lock

You can also edit my gpu init script
[Nexus 10 Original Android Development] Khaon:
I am testing right now a former patch of mine increasing OC up to 720 Mhz, everything seems to work flawlessly.

I am gonna post in a few days, if I dont encounter any errors.
[Nexus 10 Original Android Development] Khaon:
I have uploaded a new build featuring latest f2fs updates & gpu OC up to 720Mhz

(see my 99khaon_gpu_script located under the patch folder)
[Nexus 10 Original Android Development] tavocabe:
Placed script in init.d folder and edited to

#!/system/bin/sh

#Must be a multiple of 25 mv
gpu_voltage_table="100mhz: 875 mV 160mhz: 900 mV 266mhz: 900 mV 350mhz: 950 mV 400mhz: 1000 mV 450mhz: 1050 mV 533mhz: 1100 mV 612mhz: 1150 mV 667mhz: 1200 mV 720mhz: 1250 mV";
#min and max threshold in percent before ramping up or down
gpu_dvfs_table="100mhz:0,55 160mhz:50,70 266mhz:60,79 350mhz:70,86 400mhz:80,95 450mhz:94,99 533mhz:98,99 612mhz:99,100 667mhz:99,100 720mhz:99,100";

echo 720 > /sys/devices/platform/mali.0/dvfs_upper_lock;
echo 533 > /sys/devices/platform/mali.0/dvfs_under_lock;
echo 533 > /sys/devices/platform/mali.0/dvfs_gpu_boost_freq;
echo 300 > /sys/devices/platform/mali.0/dvfs_boost_time_duration;
echo $gpu_voltage_table > /sys/devices/platform/mali.0/asv;
echo $gpu_dvfs_table > /sys/devices/platform/mali.0/dvfs_gpu_table;

...but not seeing any difference. Can't get upper lock to 720, only 533. One of the first kernel releases including GPU OC I was able to oc to 667 and the fluidness felt great.
[Nexus 10 Original Android Development] Khaon:
Indeed, I was logging in just to say I spotted an error of mine that was preventing the user to get to 720 mhz.

I have fixed it

I am just atm testing Antutu to see if the voltage I set for it is enough.

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

If you are using latest SU versions, you can simply put the script under /su/su.d, the advantage of doing so is that when your flash a new rom, until you do some factory reset, your data will remain.

some image located in the /data folder is mounted at /su
[Nexus 10 Original Android Development] drewski_1:
[MENTION=4577448]Khaon[/MENTION] Scanno just posted about a Kernel security vulnerability that he just patched in Omnirom.

The details and a patch are in this link:

https://source.android.com/security/advisory/2016-03-18.html
[Nexus 10 Original Android Development] Khaon:
Thank you very much, I have included the patch for 3.4 kernels. Gonna build in the next minutes a new package and upload it on my drive.

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

EDIT: its up.
[Nexus 10 Original Android Development] drewski_1:
Awesome!

Sent from my Moto X
[Nexus 10 Original Android Development] Khaon:
I have added full gpu support to kernel audiutor.

You get the apk there
[Nexus 10 Original Android Development] Khaon:
new kernel build online including latest android-3.4 kernel patch.
[Nexus 10 Original Android Development] drewski_1:
3.0.1-0 was recently released

https://dl.twrp.me/manta/twrp-3.0.1-0-manta.img.html

changelog

https://twrp.me/site/update/2016/04/01/twrp-3.0.1-0-released.html
[Nexus 10 Original Android Development] Khaon:
Hello,

thank you to telling me this. I need firstly to sync all omnirom's sources and then build ... I am gonna try to build this by the next two days.
[Nexus 10 Original Android Development] necropuppy:
kernel running awesome. installed a brand new battery this tablet and its flying and so light on battery drain. you're the best. I hope you don't stop developing for manta......ever......
[Nexus 10 Original Android Development] shuli81:
thanks for keeping us updated [MENTION=4538400]kahon[/MENTION].

btw, twrp was updated again and is now 3.0.2
[Nexus 10 Original Android Development] drewski_1:
There's a report that 3.0.2-0 has broken SE Linux

http://xdaforums.com/showthread.php?t=1997878&p=66217389
[Nexus 10 Original Android Development] Khaon:
Hello, the thing is I just started a new work so I could not sync yet omni's source(~20++GB) to build a new TWRP.

Honestly, I am gonna try doing so by the end of the week(well during the weekend). From what I have read the 3.0.1 was not bringing much things for our device. I doubt 3.0.2 is, well I ll check.
[Nexus 10 Original Android Development] tavocabe:
Hi [MENTION=4577448]Khaon[/MENTION], it's great that we can now control GPU using KAdiutor but I'm getting reboots when using 720mhz and I think it's because not enough voltage, the thing is I can not change stock values as whenever I set a different voltage and hit OK, it resets to the stock setting. Tried using init.d but failed too. BTW, congratulations on your new job ?
[Nexus 10 Original Android Development] Khaon:
It might be tied indeed with a too low voltage possiblity. I don't remember the value but there is some max voltage value. Might be 1300 mv or 1400 mv. I think it is 1300. I need to look at that.

What highest value did you put ?
[Nexus 10 Original Android Development] Bastlwastl2010:
Is seems it is the same failure i posted here:

http://xdaforums.com/showpost.php?p=66198299&postcount=82
[Nexus 10 Original Android Development] tavocabe:
I was trying to set 667mhz to 1350mV just like the 720mhz step if I remember correctly, now I'm using RemixOS and GPU controls in Kernel Adiutor are not showing :/
[Nexus 10 Original Android Development] necropuppy:
Could someone please link my Khaons build of kernel auditor I can't seem to find it scrolling back in the threads and its not popping up on search. I appreciate it if anyone has the link or a mirror.
[Nexus 10 Original Android Development] drewski_1:
1 page ago http://xdaforums.com/showpost.php?p=65948462&postcount=1244

though everyone has problems spelling "adiutor" ;)
[Nexus 10 Original Android Development] necropuppy:
tyvm. totally missed it.
[Nexus 10 Original Android Development] philocritus:
Hi guys,

I'm using the latest omnirom and I wanna jump on the khaon's kernel bandwagon.

Can I install the kernel and keep ext4 on all partitions?

If so, to install do I have to clean system and data?

thanks in advance
[Nexus 10 Original Android Development] drewski_1:
If you're keeping ext4, just flash it. No wipes needed.
[Nexus 10 Original Android Development] philocritus:
Installed it yesterday!

Thanks drewski_1, working OK!
[Nexus 10 Original Android Development] liniuxs:
I don't know what I am doing wrong, but always google play service is crashing.
[Nexus 10 Original Android Development] David 617:
Thanks Khaon for helping me to get this working!

Here is a rom I just compiled. If there is interest I'll open a separate thread for it...

Latest Cyanogenmod source (including latest security patches from Google)

Khaon Kernel 3.4.111 branch

Uber 5.4 (both Rom and Kernel)

https://www.dropbox.com/s/sj2dzcwfau4t2xv/cm-13.0-20160616-UNOFFICIAL-manta_uber_khaon.zip?dl=1
[Nexus 10 Original Android Development] Khaon:
Nice currently I can't even build myself, so it is nice. In my own opinion master branch >>>>> ALL.

However if you care about extra features it is definitely the way not to go!
[Nexus 10 Original Android Development] David 617:
Your kernel master branch or master aosp?

Do you mean that it'll be harder to add features to the 3.4.111 branch? Why is that? Is master cleaner? What linux version is master on?

(By features I mean io scheduloers and governers first.. i've never done kernel dev work, so I'd want to start slowly)

---------- Post added at 12:36 PM ---------- Previous post was at 12:26 PM ----------

Sure.

If you've never built a rom before, start here

https://wiki.cyanogenmod.org/w/Build_for_manta

I added this to my roomservice.xml

http://pastebin.com/K7aMgDB9

(I forked the kernel and changed the defconfig name to get it to build with Cyanogenmod.)

I get the Uber binaries from here

http://uber.oceighty.co/TOOLCHAIN/

and just place them in the toolchain folder (replacing the old toolchains. i keep the same folder name as the old one so that the compilation works easily)
[Nexus 10 Original Android Development] Khaon:
No I mean the ROM, the kernel works with MM or master branch.

IMO the master branch is the best build you can get. But since it is AOSP it lacks of a lot of features.
[Nexus 10 Original Android Development] moore.bryan:
Am I missing something or does the kernel only have four governors, but there are more listed in first post?
[Nexus 10 Original Android Development] anjo88:
My nexus take a whole day to charge 20% is it normal what cano do I all ready trade cable and charger

Enviado do meu ONEPLUS A3003 através de Tapatalk
[Nexus 10 Original Android Development] damngood98:
if using different cables yields the same result, it likely needs a new battery after so many years....they are available, seems like most are quite happy after doing so. do a search and research a little and you should be okay.
[Nexus 10 Original Android Development] ilciumbia:
Is LMK (low memory killer) included in this kernel?

Inviato dal mio Nexus 10 utilizzando Tapatalk
[Nexus 10 Original Android Development] dafunky:
Just tried to make this kernel work with omnirom 7.1.1 : fail
[Nexus 10 Original Android Development] RichieXX:
This is quite logical. The name of the file are UPDATE-AnyKernel2-khaon-kernel-manta-marshmallow-04-02-2016.zip.
[Nexus 10 Original Android Development] Kazamario:
Khaon,

Thank you for all your hard work on this kernel.

Does anyone know if there will be a nougat version at all?

Thanks!
[Nexus 10 Original Android Development] ilciumbia:
Probably not... It seems Kahon's nexus 10 has been stolen... :(

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 10 Original Android Development] moore.bryan:
Anyone have any suggestions for another Nougat kernel?
[Nexus 10 Original Android Development] joh9:
Has no One a Nexus 10 for him, for free??
[Nexus 10 Original Android Development] dr3am_r:
I know this is a deat thread but does anyone still have somewhere some last version of Khaon kernel for Marshmallow + kernel adiutor version that works to tweak also GPU ? Khaon GDrive no longer has them, also could not find them anywhere else stored (probably because Nexus 10 is a dinosaur gone extinct, but would work for a small project I have). I would compile the kernel myself from Khaon sources in github, but I have 0 experience thus this might take longer than needed to learn.
[Nexus 10 Original Android Development] Umarabdullah230:
I've a copy of this: UPDATE-AnyKernel2-khaon-kernel-manta-marshmallow-04-02-2016.zip https://drive.google.com/drive/folders/1Ex_5ns1mRQyhtberI6HXDx3z7o5hmOb4?usp=share_link

You'll have to create boot.img by yourself
[Nexus 10 Original Android Development] Khaon:
Hello,

To get a ROM working with f2fs as long as you got a correct recovery, you just need to edit mouting and formating instructions in the updater script. You should look at yours maybe the jar is behaving not like it should be.

Then you just pick your kernel. That's it.[emoji12]
[Nexus 10 Original Android Development] nigelhealy:
Noob in this area, meaningless to me. :o

Step-by-step and no assuming a 5-step process in 2-words.
[Nexus 10 Original Android Development] Khaon:
Anyone having those issues running all f2fs?
[Nexus 10 Original Android Development] b1g.p0ppa:
I've been really busy and had just a couple of minutes to try your kernel. I installed the latest omni nightly, gapps, your thunderkat 103 ALL2FS kernel (to try and get a good fstab) and then your khaon kernel. Rebooted and stuck on Google screen and would not progress.

Probably stupid mistake on my part but I was hurrying to try your kernel out and only had tablet, no PC to do anything with.
[Nexus 10 Original Android Development] nigelhealy:
You have to either not f2fs /system or modify the ROM. I'm currently just /cache /data f2fs
[Nexus 10 Original Android Development] Khaon:
Hello. It is my bad there is an error inside the rzmdisk heh. So either run this kernel if system was formatéd with f2fs or wait I come back home heh.

You can also repack with a correct fstab for those who know what I am talking about.
[Nexus 10 Original Android Development] b1g.p0ppa:
Mine is all f2fs. /system, /data, cache but won't boot.
[Nexus 10 Original Android Development] Khaon:
Sorry I mean ext4 xD writing from smartphone heh
[Nexus 10 Original Android Development] nigelhealy:
I had same problem I couldn't get /system f2fs booting. It' working fine though leaving /system as ext4. There is a claim as ext4 is faster at reads and /system is read-only (for the most part) its better to leave /system as ext4 anyway which means only recovery and kernel change not ROM change.
[Nexus 10 Original Android Development] Khaon:
You gain time however Formatting with f2fs quite handy for those who format daily