yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] USBhost:
K10.7

K10.7

-| Latest: from google

-| I'm Back!

Long time no see to the people who are still around.

ATM FIRE-ICE will not boot on Android 8.1 hopefully in the near future it will :good:
[Nexus 9 Original Android Development] jolinnard:
Welcome back! Thanks for the update :good:
[Nexus 9 Original Android Development] USBhost:
Not that I know of.

Yes and no. Yes you don't need this kernel. No you need a custom kernel with the patch.
[Nexus 9 Original Android Development] daitalos:
FIRE-ICE 3.10.108 works much better than elementalx on my device & Slim 7.1.2 & with very good battery management ...

Thanks!
[Nexus 9 Original Android Development] GialanG:
Excuse me, this question may have been asked somewhere but I can't find. Does this kernel work with Lineage OS 14.1, LTE version?
[Nexus 9 Original Android Development] almodovaris:
Yes, it does.
[Nexus 9 Original Android Development] ronald_loulan:
Just flash this kernel and it works great.

Underclocked -100 to CPU and -50 to GPU.

And good recommended app to tweak the kernel apart from Kernel Adiutor?

In my Mipad which is same Tegra K1 as Shield, there's a kernel which allow user to switch better power save, mid performance, max performance and video mode on the fly.

Looking to maximize the performance without overheating. Will do the heatsink mod later when needed.

BTW anyone using Tegra Overclock?
[Nexus 9 Original Android Development] Hammerfest:
@USBhost

with the latest TWRP have they resolve the fs issue? or is there a need for a newly modded TWRP?

getting ready to bring this N9 back to life and use

EDIT: damn, must be, nuked the thing, fresh rom/gapps/kernel and sitting forever on boot gfx
[Nexus 9 Original Android Development] USBhost:
Are you referring to f2fs fs problems?
[Nexus 9 Original Android Development] Hammerfest:
don't think that's it actually, have no idea how to make it use f2fs. i got it working (it didn't like first boot from a full wipe scenario), but now i got that bloody device not certified so no Netflix ect, and it was working before (with NO root/magisk/ect), shoulda just upgraded instead of full wipe... le sigh~
[Nexus 9 Original Android Development] ChristopherXI:
Fire/ice breaks safetynet for some reason. It's a great kernel but loosing safetynet is not worth it for me
[Nexus 9 Original Android Development] Hammerfest:
ah, makes sense, i might have to stop being lazy and root/magisk it... kernel is nice so far
[Nexus 9 Original Android Development] ElwOOd_CbGp:
thanks! been a while since I came to the thread since it's been running so nice. not even sure what FireIce version is on it. Video is playing right now so . . .

. . . anyway, u got btc address or just Paypal?
[Nexus 9 Original Android Development] USBhost:
Welcome :good: yeah it's been awhile... Our N9 is like 4 years now. It's been mostly collecting dust mostly. However I do take it out every of often:good:

Nope don't have a Bitcoin just good old PayPal.
[Nexus 9 Original Android Development] ElwOOd_CbGp:
OK I see if I can figure out how to work it. I've really appreciated having Fire all this time
[Nexus 9 Original Android Development] 777.300:
Hi guys,

Question: which CPU governor and CPU min - max settings are you using?

Two or three times a week my Nexus 9 have a complete hangup.

Almost always during web browsing with Firefox.

Hope tweaking some settings can solve the problem.

Any tips are much appreciated.

Greetings Harald
[Nexus 9 Original Android Development] Choochter:
I use Govtuner on the Interactive governor, works for me. Root required

https://xdaforums.com/android/software-hacking/mod-gov-tuner-project-29th-june-2016-t3407828
[Nexus 9 Original Android Development] 777.300:
I have been using Govtuner for a while but still having issues with N9 hangups.

Lately I haven't used it, will install it again to see if the issue gets better.
[Nexus 9 Original Android Development] 777.300:
Using Govtuner again last couple of days. The N9 is really smooth and fast again thanks to govtuner but unfortunately it does not stop the hangups.

Just had while opening an email.

Had to restart again using the power button.
[Nexus 9 Original Android Development] HaRdC0r3:
Wanted to say thanks....I love this tablet now.... I've tweaked your kernel to my liking and its made a difference but the SOUND tho!!!!! Big thank you!!! I am a musician and I know its not gonna sound as good as my home speakers but for what it is this is superior to all my other tablets.
[Nexus 9 Original Android Development] daitalos:
I tried "Grid Card Recents" on slim stable 7.1.2 & I like very much!

generally Fire Ice is the best kernel for n9 in my opinion
[Nexus 9 Original Android Development] argon9898:
Has anyone tried flashing the kernel on TWRP-3.2.3-0 from the official TWRP page? Have they updated the f2fs yet?

And what's your best CPU governor and I/O scheduler for it btw.
[Nexus 9 Original Android Development] daitalos:
yes without problem & many times

for f2fs you must find the chengelog of 3.2.3 in official page

my data/cache formated as ext4

for cpu/ gpu etc my settings here

https://postimg.cc/gallery/29qbhczpa/

I'm using govtuner + fire ice on slim stable 7.1.2 -

sry for english
[Nexus 9 Original Android Development] argon9898:
I also noticed ElementalX has a kernel option for N9 Nougat as well. Dunno if that's worth the try
[Nexus 9 Original Android Development] daitalos:
Elementalx & Fire Ice are the best kernels for this device,but for me fire ice works much better than elementalx (my opinion)

you can use & govtuner with very good results for battery management & not only...

https://xdaforums.com/android/software-hacking/mod-gov-tuner-project-29th-june-2016-t3407828
[Nexus 9 Original Android Development] sm00th4f3:
sublime(based on elementalx) is the best option for now, as fire&ice breaks safetynet. And is break yt video sometimes.

Sublime is the latest updated option to go for.
[Nexus 9 Original Android Development] deloj:
Hi sm00th,

I got a nexus 9 also. Just rooted it today. My biggest complaint is the battery and heat. You said sublime is the best kernel for it even better than fireice. But are you saying it's better than fireice cuz of safetynet? Or cuz it's better for the battery?

FYI, I'm looking for the best ways to save the most in battery in terms of custom Roms, kernels, etc. I was thinking of installing slimrom with either fireice or sublime. What do you think? Looking forward to your reply. Thanks bro.
[Nexus 9 Original Android Development] borxnx:
I'm running this kernel on the 32-bit version of MyAOSP. I find it to be much snappier, more responsive, runs cooler, and generally just better overall experience than any of the 64-bit custom ROMs (or stock images) that I've tried.
[Nexus 9 Original Android Development] ChristopherXI:
i've only seen the 32 bit version of Lineage, where did you find the 32 bit version of this "MyAOSP", does it present similar problems as the lineage one(camera not working ect)?

edit: Nvm found it
[Nexus 9 Original Android Development] borxnx:
The camera works. YouTube works. I don't know what problems Lineage has, I've never used it on this tablet. I haven't come across anything broken yet, and I've been running the same My AOSP ROM for well over a year.
[Nexus 9 Original Android Development] sm00th4f3:
Sublime is the new overall best choice.

Slimrom or any nougat rom is fine.

Sublime also enables Netflix video and fullhd60fps on YouTube. You would otherwise get a black screen.

Battery and performance is fine on both. When chosing sublime, install magisk and kernel adiutor, then change CPU governor to sublime-active.

For more battery backup with a bit less performance activate cpu-quiet.

Edit: Netflix show black screen after some time.
[Nexus 9 Original Android Development] Jz5678910:
Unfortunately, I have to disagree with you here. I gave it a try after seeing you recommend it, and it's really been a mess for me. I did a clean flash to make sure nothing would get in the way, but it stuttered a lot and had lock ups requiring a hard shut down often. I don't think that's inherently sublimes fault as I had the same behavior with ElementalX, but with that said, I think fire and ice is still the way to go. I will say though using sub-lime active on fireice has worked great for battery life. Not sure how I got the governor to stick, but it's great.
[Nexus 9 Original Android Development] sm00th4f3:
Yeah can confirm that now. Latest sublime somehow broke a lot and it's unstable.

Fire and Ice is a good choice. Just a few hiccups here and there but no freezes or reboots.

Also HW Video in netflix,youtube doesn't get lost.
[Nexus 9 Original Android Development] Lttlwing16:
Hey, don't know if any one can answer, but I'm still using the n9 and wanted to give this a try, just had a couple questions. I read the first 300 posts, but didn't have the stamina to go 3200. I also searched for the answers but couldn't find them. That said:

1) I would be flashing this over 7.1.1 stock, and didn't now if this kernel is compatible.

2) Can I flash this kernel in fastboot without TWRP? If so is there a link to the boot.img, or do I have to pull it from the .zip?

3) If no to 2, can I flash this by temporarily booting TWRP to flash the correct zip and factory resetting (I'd like to unencrypt)? (fastboot boot recovery.img)

thanks in advance
[Nexus 9 Original Android Development] ChristopherXI:
there's a search function......
[Nexus 9 Original Android Development] borxnx:
1. It's compatible. I skimmed the second post for about 30 seconds to verify this myself.

2. Probably, but:

3. Tasks performed in TWRP are identical whether it's installed or temporarily booted (fastboot flash recovery.img vs. fastboot boot recovery.img).

My advice to you to avoid potential headaches, based on the information you've provided:

Go ahead and factory reset, get the unencryption done before messing with the kernel. Once it's successfully decrypted, boot into the OS and go through initial setup. As soon as setup finishes, reboot to bootloader (don't set a PIN or password or anything yet). Fastboot boot TWRP, flash the kernel, and reboot. You should be good to go at this point.
[Nexus 9 Original Android Development] Lttlwing16:
Thanks for the helpful reply. I got the itch and flashed things last night. Needless to say, your instructions would've proved helpful last night, as I could flash the kernel fine in temp twrp, just not get the decryption to stick. In attempt to remedy that, I formatted /data (the option that requires you to type yes as I saw in some posts) and it dorked the /data partition, and the thing wouldn't boot at all. Took me about an hour, but after a few re-flashes of the stock kernel, TWRP, and other gymnastics I got it booted with F&I , unencrypted. Don't ask me exactly how I got here, but I did, at it seems to be worth it so far!
[Nexus 9 Original Android Development] RisingNoob:
Just got a Nexus 9, thinking about this kernel would you tell me if the performance really improves upon stock? How is battery and temps?
[Nexus 9 Original Android Development] Lttlwing16:
Definitely a smoother experience vs stock (can't tell if those gains are from removing forced encryption, the kernel or both). Sound is much better. Battery is about the same, maybe slightly decreased (negligible difference) and temps I cant really comment as I do next to no cpu intensive tasks.

If I was in your shoes I'd definitely give it a go! Very stable with no glitches or issues to mention.
[Nexus 9 Original Android Development] RisingNoob:
Hey man, thanks a lot for your advice. Since your last answer I put the Kernel on my Nexus 9 and is awesome, new level of experience. Great increase in performance, RAM management, battery still good with the performance improved.

Sad to see this great hardware so limited, could run Pie easly with the right support and drivers.

Still on ROM stock, didn't see any reason to change yet. Any thoughts on that?
[Nexus 9 Original Android Development] Lttlwing16:
No, I looked around and felt there was too many issues, for little gain, changing to custom ROM. Stock ROM with Fire and Ice has brought a couple more years to the Nexus 9 for me.
[Nexus 9 Original Android Development] Jz5678910:
The biggest things you would gain from LOS vs Stock would be unencrypted (which I think is not possible with stock?), Some nice LOS features (Live display, Privacy guard, etc.) And the latest security patches which was just updated today to July patches.

Edit: there are other ROMS, I just mentioned Lineage cause that's what I'm currently running alongside fire&ice.
[Nexus 9 Original Android Development] RisingNoob:
I hear ya both, too many issues. Google tried hard to get to the high end market with the Pixel C, then the Pixel Book...but they belong with the mid range market like they did with Nexus 7, 10 and 9.

Would be great to see a new Nexus tablet with some newer Nvidia SoC like Tegra X2, would be good for emulation too. The Tegra K1 in our Nexus 9 already does a realy good job all around.
[Nexus 9 Original Android Development] Technoolli:
Not Version for Android 8.1 ????
[Nexus 9 Original Android Development] swaaye:
This kernel and his 32-bit AOSP ROM might be the best things available for the Nexus 9.
[Nexus 9 Original Android Development] USBhost:
aarch64-linux-android
[Nexus 9 Original Android Development] frap129:
Thanks! I wasn't sure.
[Nexus 9 Original Android Development] USBhost:
Np
[Nexus 9 Original Android Development] USBhost:
today i will work on geting github working so i can

Start doing awesome things
[Nexus 9 Original Android Development] tyvar1:
Looking forward to see the results! :D
[Nexus 9 Original Android Development] USBhost:
i think i got github working but i wont know in a bit
[Nexus 9 Original Android Development] USBhost:
new build coming today

it will almost be the same as ElementalX

but with some add-ons
[Nexus 9 Original Android Development] USBhost:
new build up
[Nexus 9 Original Android Development] belair56:
Question

Is a factory reset needed to have encryption disabled by default?

Flash your FireIce.img then factory reset.....
[Nexus 9 Original Android Development] pantmunu:
So i flash and factory reset .. is that it .. wookay .. lol . Backing up. Will flash and hit u up .
[Nexus 9 Original Android Development] USBhost:
Awesome

Enjoy a faster N9
[Nexus 9 Original Android Development] zanoli99:
Running great. Thanks
[Nexus 9 Original Android Development] USBhost:
Cheers
[Nexus 9 Original Android Development] tyvar1:
Will you add gpu OC?
[Nexus 9 Original Android Development] st33med:
Why do you have CFQ for the IO scheduler? That's meant for hard drives which tend to have atrocious random read or write. CFQ takes more processor time to schedule everything with fair IO access according to the algorithm.
[Nexus 9 Original Android Development] USBhost:
Yes

Its there if people need it
[Nexus 9 Original Android Development] st33med:
So it's not the default scheduler. I was getting the impression it was default from the OP.
[Nexus 9 Original Android Development] USBhost:
O sorry
[Nexus 9 Original Android Development] st33med:
No problem. I was just a bit confused.
[Nexus 9 Original Android Development] Vinzie:
Sounds good, kernel with memory leak fix seems ready to be released...:D
[Nexus 9 Original Android Development] kyleco:
Awesome man! Can't wait to switch back to FIK! If you want another heavy multitasker to test some stuff I'd be happy to help. I use a lot of memory heavy apps. Not afraid to restart with factory Imgs if something goes wrong. I'm trying to learn kernel development and would love to help diagnose problems.
[Nexus 9 Original Android Development] jonahmt21:
Any idea whats the max charge current the nexus 9 can handle?
[Nexus 9 Original Android Development] USBhost:
I will be uploading a test version tonight

to see is im right about the fix

let's hope so !!

I dont know

and i don't want to find out
[Nexus 9 Original Android Development] USBhost:
testK5 is up

https://s.basketbuild.com/devs/USBhost/Nexus 9/Kernel/FIRE-ICE/bata

ok guys test the ram

lets see if i fixed it
[Nexus 9 Original Android Development] Vinzie:
Will do, flashing now :o
[Nexus 9 Original Android Development] USBhost:
It seems that chrome has a memory leak

Like the longer its running the more ram it uses
[Nexus 9 Original Android Development] Vinzie:
Can't get k5 to boot. Did a factory reset from bootloader after flashing k5, but it get stuck at the boot logo with the colored globes..any advise..???

Edit: flashed k5 via fastboot and flashed recovery r3 as r4 gets stuck ...
[Nexus 9 Original Android Development] USBhost:
Hmm must have did somthing to the ramdisk with k5 will fix

Wait R4 won't boot hmm

Hmm there's almost no change from R3 to R4

O well tomorrow I will work on geting K5 fixed

And updating the recovery to twrp 2.8.3.0

Also remember always tmp boot the test kernel

So if any thing goes wrong you will be fine
[Nexus 9 Original Android Development] Vinzie:
Got k5 to boot, should have left the data partition to f2fs....
[Nexus 9 Original Android Development] Vinzie:
So we should not use chrome? What about chrome beta? Or what other browser you recommend? Using Firefox now with k5 kernel, really smooth and quick with multitasking so far :D
[Nexus 9 Original Android Development] USBhost:
I was using Chrome beta

don't know about normal chrome

But i think its ok to use but just reboot every so often
[Nexus 9 Original Android Development] USBhost:
Hows k5 working for you guys?
[Nexus 9 Original Android Development] kyleco:
So far so good. RAM usage is good with under 15% critical memory state. Is swap still enabled in K5? Is there anything I need to do to turn it on? Free shows 0 for swap and swapon fails. I remember a while ago you had said to run a command but I couldn't find in last 15 pages and XDA app is a no-search app.

Thanks again for all the hard work! Much appreciated!
[Nexus 9 Original Android Development] USBhost:
zram is disabed

so not in the kernel

also did some changes to the low-memory killer

there will be an update to the beta kernel today

so stay tuned

in the update fixed

/sys/module/lowmemorykiller/parameters/minfree can be changed now

oom_score_adj sould be -941 now same as the note 3 and nexus 7
[Nexus 9 Original Android Development] kyleco:
Awesome. Will flash when its released. Any plans to add zram back? 2 GB of RAM is very little for this device. Having that extra ~500mb would be nice. Thanks
[Nexus 9 Original Android Development] USBhost:
im thinking about it

Note: something is up with chrome

my ram is like 900-800mb free

then when i start chrome then close it

my ram goes to 700-600mb and never goes up

also process stats

looks at the cached processes not the actual free ram

which is weird Hmm...
[Nexus 9 Original Android Development] kyleco:
Maybe make the swappiness(not sure if this is technical but its how GUIs seem to represent it) really high, say 80-85(EDIT: or is it really low?), to make it so swap is only used in low memory situations.

Chrome uses on average of 500-600 mb of memory for me according to process stats under foreground but only about 10mb under cached. Settings>apps shows 160mb for ram usage. This line up with yours?

I use chrome and chrome beta, both are basically identical stats wise. I usually have 20+ tabs open which probably explains my high memory use.
[Nexus 9 Original Android Development] USBhost:
test 2 of K5 is up

https://www.copy.com/s/cj7W8wULhs9gFhce/fire-ice/test2.K5.img
[Nexus 9 Original Android Development] kyleco:
It boots. Flashed via flashify over test 1. No wipes needed. Will report how it runs. Any changes other than the low memory change you mentioned earlier?
[Nexus 9 Original Android Development] USBhost:
About the same but i never have over 5 tabs open lol

What is up with this

Why do i have 2 in there hmm
[Nexus 9 Original Android Development] USBhost:
I think thats it but i idk lol

I have been working on updating recovery

To 2.8.3.0

So my mind is messed up lol
[Nexus 9 Original Android Development] USBhost:
Ok guys recovery will be updated today

R5 will be twrp 2.8.3.0

test.3.K5 will be up for testing soon
[Nexus 9 Original Android Development] USBhost:
recovery testR5 is up :: how does it work for you

kernel test.3.K5 is up :: fixed some stuff

sorry for the delay
[Nexus 9 Original Android Development] kyleco:
Just flashed both with flashify. Everything works OK so far. Recovery boots with no errors in the log. Didn't have anything to flash though lol. Kernel boots good. What kind of changes are we looking at?

Thanks for the amazing kernel!!
[Nexus 9 Original Android Development] USBhost:
Well in the last version

Test 2

Somtimes the kernel will panic due to a sync error

When the screen was off :: i got this twice today so i fixed it

Also somtimes the screen wont turn on right away

So hopefully I fixed that too

Note: K5 :: will mostly be only changes made to the ramdisk

specifically the fstab

If you want to see my ramdisk go here

side note: im trying to making a folder thats Linked to ram

so we can have tmp storage :: like a folder called RAM in /sdcard

But im must be doing somthing wrong
[Nexus 9 Original Android Development] Vinzie:
Flashed both, kernel boots nicely, but recovery still restart to the 'teamwin' flash screen all the time. It show the flash screen, flashes to a black screen for half a second and again shows the flash screen.

I flashed both via Flashify, didn't do any clearing of cache...

With kernel test 2 I did had some CRITIC RAM time, like 2 minutes or so, curious to see if this is completely solved now... will report back after some testing...
[Nexus 9 Original Android Development] Dr. Hurt:
[MENTION=5501864]USBhost[/MENTION]:

Could you please post results of the

latest

version of androbench with your kernel (unencrypted)?!

I'm currently back on stock encrypted and the results using the latest version of androbench are significantly lower than before.
[Nexus 9 Original Android Development] hoof hearted:
Same result here. Also tried via ADB and same. Went back to official TWRP for recovery.

New kernel is flying tho. Will report back if otherwise. Thanks for your work.
[Nexus 9 Original Android Development] Vinzie:
I agree, kernel perform great. Far better then the stock kernel. Still wonder if the memory leak fix from google (5.0.3) would add even more performance...
[Nexus 9 Original Android Development] USBhost:
Here you go
[Nexus 9 Original Android Development] USBhost:
Hey guys what do you think of having zram 1g big?
[Nexus 9 Original Android Development] Hiro Nakamura:
I'm not sure. Does having more zram means better performance?

For those with the 16gb version is 1gb less space a huge deal.
[Nexus 9 Original Android Development] tyvar1:
Sounds interesting :D
[Nexus 9 Original Android Development] nmalready:
Hmm, I'm not sure what kind of magic voodoo you put into k5, but its running really smooth and stable for me so far. Also seems to stay cooler in Chrome.

​
[Nexus 9 Original Android Development] MrPhilo:
If we could customize the ZRAM such as a init.d script, wouldn't it be better :)?

So some can have 512, 1gb etc, or disable it if they dont need it
[Nexus 9 Original Android Development] USBhost:
Well no it does not mean better performance

And zram does not use disk space so 16gb version should be ok

Your so right need to look into this