yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] USBhost:
At the moment AICP

But it may change
[Nexus 9 Original Android Development] MrPhilo:
Settings? Pretty damn dope score.
[Nexus 9 Original Android Development] USBhost:
Just oc cpu to 2.5 ghz
[Nexus 9 Original Android Development] maxstep:
42(4?)

Dear Mr. USBhost,

Is the elementalx governor included?

Elemtalx AROMA installer?

Support for the elemtalx app on the app store?

Is the "FIX THAT CPU GOV" section still relevant to the latest build of your SELinux-off wonder?

Thank you Mr. USBhost.
[Nexus 9 Original Android Development] USBhost:
no because there isn't one :: as of now

no

yes

yes
[Nexus 9 Original Android Development] dragonballz2k:
Does anyone here have Swiftkey issues with kernel it make a lot of "noise's" sort of like when cpu get 100% and music start stuttering. I went back to stock and just installed your kernel to see if issue still happens. It still does any idea why?
[Nexus 9 Original Android Development] USBhost:
Nop

I went to try it and all fine

What did you do

So I can try to replicate it
[Nexus 9 Original Android Development] dragonballz2k:
So far it happens it happens with spotify and being in chrome and I start typing in the address bar.

EDIT: happens with any audio in the background
[Nexus 9 Original Android Development] USBhost:
ok guys i fixed some things

for test.9.K5 :: will be up soon

LTE support

GOV fix in the OP no longer needed :: haha finally figured it out

hopefully fix slow benchmarks

makefile changes
[Nexus 9 Original Android Development] Logix:
Yes yes yes yes thank you!!!!!!! I appreciate it so much!!!!
[Nexus 9 Original Android Development] USBhost:
Test.9.K5 is up

If every thing is good to go

I will make it a stable release
[Nexus 9 Original Android Development] USBhost:
I finally broke that single core record

Haha hehe!!
[Nexus 9 Original Android Development] meistertom:
Hey guys,

Just a short question. Is it possible to mount NFS shares with this kernel?
[Nexus 9 Original Android Development] USBhost:
maybe I can add support for it if you want
[Nexus 9 Original Android Development] madsquabbles:
i'd like CIFS if it's not too much trouble:fingers-crossed:
[Nexus 9 Original Android Development] nellorocca:
With this new test version I get 57k on antutu from the 47k of the previous version!
[Nexus 9 Original Android Development] USBhost:
I just got

This
[Nexus 9 Original Android Development] nellorocca:
With CPU OC? I'll try
[Nexus 9 Original Android Development] USBhost:
max gpu oc

and cpu
[Nexus 9 Original Android Development] nellorocca:
Got 59k with both oc, what could be making this difference between our devices?

EDIT: of course, I'm encrypted!
[Nexus 9 Original Android Development] idelgado782:
Flashed the 9.5 test version on my LTE version and it booted up with no issues. Will report back as I test. Thanks for adding LTE support!
[Nexus 9 Original Android Development] USBhost:
NP

PS.

Also look at this
[Nexus 9 Original Android Development] USBhost:
Note guys

If you get micro lag on test.9

Wipe your dalvik-cache
[Nexus 9 Original Android Development] meistertom:
That would be great!!! :) :good:

Thanks
[Nexus 9 Original Android Development] USBhost:
OK guys will add those web file systems

In k6

And guys how's k5 doing for you?

All good better then test.8?

Should I make it a stable release?
[Nexus 9 Original Android Development] Ishwara Sandesh C M:
Ya.. It's better. (Test 9)
[Nexus 9 Original Android Development] USBhost:
WOW...

I declare record Brocken
[Nexus 9 Original Android Development] Ishwara Sandesh C M:
Awesome!! :sly: :thumbup:
[Nexus 9 Original Android Development] Philaphlous:
Wow... I thought I had the record... Guess not.

I'm running the elementalx kernel on the stock rom
[Nexus 9 Original Android Development] Vinzie:
OMG... you used test 9 ? With the 2.5 ghz overclock ??? Nothing else ??
[Nexus 9 Original Android Development] USBhost:
Yep test.9

Yep

No :: zram disabled and fsync disabled
[Nexus 9 Original Android Development] USBhost:
Making test.9.k5 official release

and will start working on k6
[Nexus 9 Original Android Development] omvir:
USB, can I request the interactive governor from franco kernel?
[Nexus 9 Original Android Development] USBhost:
Huh his interactive gov is the same as stock

aka the same as this kernel
[Nexus 9 Original Android Development] th3g1z:
Hi USBhost thanks for your contributions.. gave your kernel a whirl and am pretty impressed so far (an hour).

Ironically, I have a USBhost request if possible ;) I'm using an OTG Y cable to (attempt) using OTG for a USB mouse while also charging the Nexus 9.. I know this needs to have kernel support to work, if you happen to stumble upon it and feel like throwing it in a build that would be cool :) no need to go out of your way I am searching for a commit I know of from a long time ago if I find it I'll try to compile with your source and give it a try but thank you for the solid build so far so good!

Sent from my LG-D800
[Nexus 9 Original Android Development] ChristianJay:
Thanks for this just finally said **** it and unlocked, rooted and installed your kernel. 3 weeks I've had the device, Lol, knew that wouldn't take long.
[Nexus 9 Original Android Development] tyvar1:
Hehe :) flashed any ROMs yet?
[Nexus 9 Original Android Development] ChristianJay:
No, but no doubt I soon will. The battery life improvement was why I went with this kernel, which ROM is your favorite so far?

I ran CM almost exclusively on my N7, that was a great one.
[Nexus 9 Original Android Development] USBhost:
test.1.k6 is up

added CIFS

added NFS

ok guys does it work for you?
[Nexus 9 Original Android Development] madsquabbles:
i probably won't be able to test til this weekend. i'll report back as soon as i get time. maybe in can sneak in some testing during work, lol.
[Nexus 9 Original Android Development] LanderN:
Hi [MENTION=5501864]USBhost[/MENTION]

Are you trying to get the notification LED working? Or are you waiting to see if google comes with an update that activates it? Such a shame that it's there and it's only used to show us that our battery is dead :(
[Nexus 9 Original Android Development] SwoRNLeaDejZ:
Three weeks? I had mine 3 hours... Lol...
[Nexus 9 Original Android Development] drewski_1:
Can you do f2fs /data or just /cache ?

Sent from my Nexus 9
[Nexus 9 Original Android Development] USBhost:
OK thanks

Waiting for Google

Or someone Else

Just format data to f2fs and you should be fine
[Nexus 9 Original Android Development] StNickZA:
echo 1020000 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq

Does this command essentially set the max CPU frequency to 1ghz?
[Nexus 9 Original Android Development] USBhost:
No it will go over
[Nexus 9 Original Android Development] Dr. Hurt:
Why KSM? We have 2GB of RAM so this will just be a waste of power.

I was actually gonna suggest disabling zram too and seeing how that affects performance/power. It made a lot of difference on some of my older devices.
[Nexus 9 Original Android Development] USBhost:
Hmm will try that
[Nexus 9 Original Android Development] StNickZA:
I did a factory reset with this kernel and the improvement is incredible! Tablet feels like another beast altogether. Not sure if the kernel is to thank or whether it's the lack of encryption but I wish that the Nexus 9 performed like this out the box! We'd have fewer scathing reviews, that's for sure.

Thank you USBhost!
[Nexus 9 Original Android Development] USBhost:
ok guys

doing a test build with out zram

if every thing gos well will add GPU OC to 1Ghz and exFAT
[Nexus 9 Original Android Development] USBhost:
new build it up
[Nexus 9 Original Android Development] zanoli99:
stupid question. I am going to install this version. Will I have to do a factory reset again? Thanks for great kernel.
[Nexus 9 Original Android Development] USBhost:
Well.. if you want you can..

but its not needed for kernels
[Nexus 9 Original Android Development] zanoli99:
great thanks. I did the first time to get rid of encryption.
[Nexus 9 Original Android Development] USBhost:
Yep that should do it

No need to do a reset again
[Nexus 9 Original Android Development] di11igaf:
Cyanogenmod used cfq for a long time as their default disk scheduler, and it seemed to perform generally pretty well. Some are better for flash drives, but none are best. I used to set my kernels with noop, but some people hate it as well. Sio seems decent.
[Nexus 9 Original Android Development] USBhost:
The new kernel

Chnaged parts of zram and swap

This kernel dose not use them so no need to update
[Nexus 9 Original Android Development] davy917:
So do you mean if I have the 11/11 version there's no need to update?
[Nexus 9 Original Android Development] USBhost:
Yes

Edit: but to be in the safe side I will do an update
[Nexus 9 Original Android Development] overground:
Warning

[MENTION=5501864]USBhost[/MENTION]

You have 24 hours from the timestamp on this post to put sources up.

If you fail to do so, we have no choice but to delete this thread.

Thank you for your cooperation.
[Nexus 9 Original Android Development] USBhost:
II sorry will upload

Edit: done
[Nexus 9 Original Android Development] USBhost:
There will be an update

tomorrow

I turned off all the debuging i could find

kernel feels faster now
[Nexus 9 Original Android Development] USBhost:
new build

cgroups off : just in case

new compiler

USB storage automount support
[Nexus 9 Original Android Development] craigacgomez:
Fantastic. Recommend you state that USB storage automount support only works on custom ROMs which support it. Just so that you don't get people complaining for no reason!
[Nexus 9 Original Android Development] Diaphragma:
Google didn't intend to use it for notifications, so they'll never enable in an update, Same with the nexus 6. It has an LED, but it's not enabled for notifications. We'll have to enable it ourselves. Hoping someone finds out how for our nexus 9's.
[Nexus 9 Original Android Development] LanderN:
Yeah, I too doubt that Google is gonna make this happen... They haven't included it in the first place and there must be a reason for that! So some talented developers should take a look at it I think! *hint hint*
[Nexus 9 Original Android Development] albsat:
[MENTION=5501864]USBhost[/MENTION]

If I format data to f2fs will I lose all the files in it? Is it necesary to format data to f2f in order to decrypt the Tablet. I am using your recovery and this kernel.
[Nexus 9 Original Android Development] USBhost:
Yes :: backup your files

Yes
[Nexus 9 Original Android Development] hoof hearted:
Does your kernel support /data f2fs? I tried with k5 and test.k6 and got stuck in a bootloop.
[Nexus 9 Original Android Development] USBhost:
Yes I'm f2fs data

Can you get a logcat
[Nexus 9 Original Android Development] hoof hearted:
I realized my error in flashing. My /data was f2fs but /cache was not. Wiped everything again and started fresh. Made sure those two were f2fs. Fastboot flashed the boot.img. Now I'm up and running with /data and /cache as f2fs. Nice.

Thanks for the quick reply.
[Nexus 9 Original Android Development] USBhost:
Dont give me a heart attack man lol

J/K

good to know everything is working fine!!
[Nexus 9 Original Android Development] drewski_1:
+1. running the test.k6 with F2FS on /data & /cache. no problems so far. :good:
[Nexus 9 Original Android Development] madsquabbles:
same here. no problems so far. haven't gotten a cifs share to mount yet but i gotta make sure that it's not my fault first. i've only tried for 30 min with different settings using cifs manager. dunno if the forced username is screwing me up since i was trying to mount a share that doesn't need a username or pass.
[Nexus 9 Original Android Development] USBhost:
Can you link the app you are using

Edit: i'm wondering if the app your using

even supports 64-bit?

Because if I think your using the one I think

that app have not been updated in 4 years
[Nexus 9 Original Android Development] smallvan:
Just to share my flashing of custom kernels.

My Nexus 9 is LTE version. While failed with another custom kernel, I flash K5 n booted up well. Then, I format /data only to f2fs by twrp. Booted up again and the tablet was still encrypted. Then used twrp to format /data back to ext2. And did not do anything on the /cache. Booted up n find it is de-encrytp. Now, the /data is ext2, but, /cache is f2fs.

Do I need to format the /cache back to ext2 or else? Please advise!

Many thanks
[Nexus 9 Original Android Development] USBhost:
Reboot to recovery

Go to wipe

Then format data

Then reboot if unencrypted

Then format data to f2fs
[Nexus 9 Original Android Development] hoof hearted:
In my experience I started from scratch. Backed up what I wanted to my pc. I wiped everything including /data (typed yes) and then rebooted recovery. I then wiped cache and data as f2fs and rebooted recovery again. Then I sideloaded ROM, gapps, and k5. Tablet booted up with data and cache as f2fs and was unencrypted.
[Nexus 9 Original Android Development] albsat:
So, please. I have your recovery and installed a custom rom (rastapop) and your kernel. I want to decrypt my tablet. Following your steps, I have this question :

Reboot to recovery

Go to wipe

Then format data

Then reboot if unencrypted

Then format data and cache to f2fs

Reboot

My question : after reboot, do I have still my custom rom and your kernel or is my tablet without os because of the format ?
[Nexus 9 Original Android Development] USBhost:
Yes

But format cache to f2fs or it won't boot
[Nexus 9 Original Android Development] albsat:
Yes that I have the initial rom and your kernel? Or, yes that I don't have an os, because of the format? :)
[Nexus 9 Original Android Development] USBhost:
Your only formating data not system

so you os should be fine

So make sure

my kernel is flashed

and cache is f2fs

Then you try to uncrypt
[Nexus 9 Original Android Development] albsat:
So strange. No luck at all. Format cache and data to f2fs. Factory reset from bootloader. Installed rom, gaps, your kernel, still encrypted. I am trying another rom. But I am almost giving up.
[Nexus 9 Original Android Development] USBhost:
Which recovery are you using
[Nexus 9 Original Android Development] albsat:
Yours, the 2.8.3 version.
[Nexus 9 Original Android Development] USBhost:
Hmm...

thats so weird

You did use the format option that you had to type yes at
[Nexus 9 Original Android Development] albsat:
I used twrp. Went to wipe. Selected data and chose format and then f2fs. Did the same for partition cache.
[Nexus 9 Original Android Development] USBhost:
Use the one that you have to type yes at

Aka

wipe/format data
[Nexus 9 Original Android Development] USBhost:
There will be an update today

With some fixes
[Nexus 9 Original Android Development] madsquabbles:
cifsmanager

keep forgetting about the 64bit:silly:

i'll have to see about doing it manually later.
[Nexus 9 Original Android Development] smallvan:
I did the almost the same like you and still encrypted. After I reformat /data back to ext2, it becomes unencrypted.

It may worth to try. Mine is LTE version.

Cheers
[Nexus 9 Original Android Development] USBhost:
test.2.k6 is up

removed NFS :: if some one would test it to see if it worked i will add it again

removed useless support for some dev boads

some makefile changes to see if that helps

some ramdisk changes

some fixes on govfix in init.d :: better battery
[Nexus 9 Original Android Development] albsat:
What is the status that shows the Tablet is decrypted?

I have the message : Encrypt Tablet which opens a menu for doing it. I don't think I have decrypted still.
[Nexus 9 Original Android Development] drewski_1:
If you have the "Encrypt Tablet" option showing in Settings->Security that means your decrypted :good: :D
[Nexus 9 Original Android Development] USBhost:
OK guys I found a bug in the govfix script

That will cause wake lock issues.

There will be an update for beta and stable with the fix
[Nexus 9 Original Android Development] USBhost:
ok test.3.K6 && K5.v2 is up

I recommand that every one on test.2.K6 or K5 to upgrade

so you will not have the wake lock problem.

test.3.K6

-\ fixed govfix

-\ removed VGA support

-\ some changes to the graphics driver :: testing wonder how this goes

K5.v2

-\ fixed govfix

Note:

if you want more info about this problem just tell me :)
[Nexus 9 Original Android Development] LanderN:
Thanks for the update! One question: are you sure you uploaded the right version? Cause my kernel info says Jan 19 and I doubt you made this fix that long ago [emoji14]
[Nexus 9 Original Android Development] madsquabbles:
I guess that would be why k5 was giving me worse standby life than k4 was. The k6 bug hasn't hit me yet and getting as good life as k4 was. Gonna try v3 of k6. Hopefully I'll test cifs some more today.
[Nexus 9 Original Android Development] USBhost:
It was just a an init.d script that I fixed
[Nexus 9 Original Android Development] LanderN:
That explains it, thanks!
[Nexus 9 Original Android Development] Logix:
lte

k6 has no lte for me again are you aware of this?
[Nexus 9 Original Android Development] USBhost:
No... hmm

It must have been the board files

I will put them back
[Nexus 9 Original Android Development] JCUK89:
Hi, can you advise what is the best solution for daily use? I am on AICP and your kernel. I also decrypted data but don't really see much difference. What do you think? What ROM would you recommend?. Thanks ;)
[Nexus 9 Original Android Development] USBhost:
K5 or k6 if you want to test

I'm on AICP my self so IDK

unencrypted makes things so much easier to work with

There my be no I/O different but the real difference is easiness
[Nexus 9 Original Android Development] JCUK89:
OK thanks, just to check with you, I am on K6 and Antutu score is 58k. Is that OK?
[Nexus 9 Original Android Development] USBhost:
i get that somtimes

its ok but if you never go over 60 even when your n9 is clould

then thats when i should worry

.........................................................................................

test.4.k6 is up

does your LTE work?
[Nexus 9 Original Android Development] madsquabbles:
Seems k6 2 had better battery life for me. There were a few app updates since flashing to test 3 so imma test #2 again.

Dalvic was wiped each time. I do that with all kernel flashes.

Damn as I was typing this I lost 2% so it's not kennel related.
[Nexus 9 Original Android Development] USBhost:
what ROM are you using?

im on test.3 and every thing is good
[Nexus 9 Original Android Development] madsquabbles:
I'm on test 4 now.

Playing with cpuz it's like the tablet ramps up to full speed on every touch, which may be why the browsers drain so bad. Leaving hpthe ablet alone let's the processor stay at idle speed. Soon as I touch it it zooms back up. Keep tapping and it stays at full speed. Stop tapping and it drops again.

Touching the screen and the CPU goes full speed at 21% usage. Leaving it alone an its 204Mhz (using SetCPU) and 10% usage. It's like the digitizer driver may be the battery drain on our device. I don't think it's you kernel doing this.

Gov is set to interactive. Tried on demand and it kept the CPU at lower clocks but ramped up too slowly and caused stutters.

Again lost 2% just tying this response because I'm tapping the screen.
[Nexus 9 Original Android Development] USBhost:
Wait for about 2 min after booting

so the governor fix to execute

cpu should not go over 1ghz

Or do

su

./system/etc/init.d/govfix

then wait for 2 min

make sure it's the one on test 3
[Nexus 9 Original Android Development] madsquabbles:
I went ahead and ran the command on test 4 and it's staying under 1Ghz when touching now.

Seems everything's fine now. I just never notice how much cpu was used in just touching the screen. At least now it's not ramping to full speed. It does hang about 50% usage [MENTION=5365914]1400[/MENTION]Mhz just having chrome in the foreground. Hope goggle fixes this soon.
[Nexus 9 Original Android Development] JCUK89:
Do you mean clocked?
[Nexus 9 Original Android Development] MrPhilo:
Would you know which part of an ROM updater script you would change for F2FS system? I'd love to use full F2FS :(
[Nexus 9 Original Android Development] USBhost:
Yes I do

To be full f2fs would be /system /data /cache /vendor

for our nexus 9

edit pm me the update script
[Nexus 9 Original Android Development] USBhost:
Just in I got 67k on antutu

Note: I can't seem to get f2fs system to boot
[Nexus 9 Original Android Development] madsquabbles:
still no luck on cifs. i've gotta assume it's my fault though. if adding it slows you don't i'd wouldn't mind it if you don't include it in other versions until you get everything stabilized. if i wanna keep testing i have the other versions with cifs included to see what i'm doing wrong. i've only been using helper apps, and not trying to mount an smb share manually, that could be my problem.
[Nexus 9 Original Android Development] USBhost:
test.5.k6 is up

-\ built with SaberMod 4.9.x :: i wanted to build with it a long time ago but you know things did not work

-\ stop lost+found from being made.

-\ https://github.com/USBhost/FIK/commit/bd738a5b3a66cce8e8b0e31685af95fbf8c0b7ed

-\ added -mtune=cortex-a57 :: it seems to help i got to 67k on antutu
[Nexus 9 Original Android Development] JCUK89:
Hi is it possible to set over clocking on boot? I seem to have to run the commands each time I reboot. And I only get 60k max in Antutu, average is 58k Is that normal?
[Nexus 9 Original Android Development] USBhost:
Thats normal

i got to 67k when my nexus 9 was like 40f

Put your nexus 9 in the freezer
[Nexus 9 Original Android Development] JCUK89:
All right, sorry for my noob questions. I have to say your work is great regardless of what I get in antutu ;)
[Nexus 9 Original Android Development] nellorocca:
Something must be wrong cause I get only 35k now... do I need to wipe dalvik after flash?

Inviato dal mio Nexus 9
[Nexus 9 Original Android Development] USBhost:
You should

I did change toolchain
[Nexus 9 Original Android Development] madsquabbles:
Test 5 going great so far. Seems earlier it was the amazon app killing the battery. At start up it was running the processor at full speed. Force kill and it goes back to normal. I've uninstalled it for now. Prime video sucks on tablets since I can't turn off HD. Limited internet sucks.
[Nexus 9 Original Android Development] albsat:
Latest test plus rastapop seem very fast to me. I don't see the lag in opening apps, as used to. Thanks for your work.
[Nexus 9 Original Android Development] tyvar1:
will you update TWRP to 2.8.4.0?
[Nexus 9 Original Android Development] USBhost:
Yes

In a little bit

Just been busy with stuff
[Nexus 9 Original Android Development] tyvar1:
awesome and no worries! :D
[Nexus 9 Original Android Development] tyvar1:
Just did a benchmark and got 60636. any reason why you managed to get 6k more than me? :)

1 ghz gpu

2.5 ghz cpu

zram enabled 30 swappiness

fsync enabled

I/O fiops
[Nexus 9 Original Android Development] USBhost:
My nexus 9 was cold vary cold

ZRAM disabled

Fsync off

cpu and gpu OC
[Nexus 9 Original Android Development] tyvar1:
i see! :)

Will do one more try with your settings! :)

Holy moly! 64201 :D
[Nexus 9 Original Android Development] drewski_1:
how do you GPU OC? i don't see that option in Trickster.

are you using a different Kernel App or just command line stuff in Terminal?
[Nexus 9 Original Android Development] USBhost:
http://elementalx.org/elementalx-app/
[Nexus 9 Original Android Development] xtcdk:
Del
[Nexus 9 Original Android Development] drewski_1:
cool. i have that form running E-x on my N7!
[Nexus 9 Original Android Development] USBhost:
OK guys test.6.k6 is up

Note: there will be no more updates until the layers problem is fixed

On test.6

Will allow ROMs with layers to boot

With no UI FC

Edit: im completely stumped with this layer problem
[Nexus 9 Original Android Development] Ishwara Sandesh C M:
What are layer problems?
[Nexus 9 Original Android Development] USBhost:
RRO layers

They don't work on all kernels
[Nexus 9 Original Android Development] palaiouras:
Is it my imagination or with latest build the double tap to wake function doesn't work?