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

K10.3.2

-| latest: form google

-| fixed: the battery reporting on PN

-| removed: automatic oc :: should help on sensitive N9's

-| FI.d: v50

Man i been more busy than when i was in school lol o well enjoy your update!

Happy Independence day!

[MENTION=2850740]12paq[/MENTION] try this version out! let me know how it goes!
[Nexus 9 Original Android Development] id4rox:
Thank you very much. Soft bricked my N9 the other day.... recovered with Pure Nexus and was waiting for your kernal update today! so far so good. I like it! Aloha,
[Nexus 9 Original Android Development] 12paq:
Will do! :)
[Nexus 9 Original Android Development] cunningstunts_1:
Can I just flash this over the previous 10.3.2 test version, or do I need to reflash the PN kernel again as we had to do for the test version.
[Nexus 9 Original Android Development] USBhost:
Na your good!
[Nexus 9 Original Android Development] cunningstunts_1:
Many thanks. This version has been excellent so far. Happy independence day to you from the UK.
[Nexus 9 Original Android Development] maelfilk:
Hey, any chance to have swipe2unlock feature?:fingers-crossed:
[Nexus 9 Original Android Development] USBhost:
Idk man...

I really don't want it. But I wonder how many people want it.
[Nexus 9 Original Android Development] uzi2:
We already have DT2W, so in my opinion it's not needed.
[Nexus 9 Original Android Development] AL2000EX:
Hey USBhost

There is a mod of your kernel out there on russian forums. It adds many patches from nvidia shield sources and removes gpu touch boost. It works like charm and significantly reduces heat during general usage. Can you have a look at his changes, because it looks like a huge step towards making nexus 9 great again.

Here's his sources

https://github.com/vartom/FIRE-ICE/tree/UPtemp

And here's the original post on 4pda forum

http://4pda.ru/forum/index.php?showtopic=628469&st=1640#entry49958695
[Nexus 9 Original Android Development] 12paq:
Working great so far! I use my N9 for work as a live display and control for my DSLR camera via Chainfire's app. So my N9 needs to be reliable. Been solid at work since the latest version was posted. No lag, no over heating all good.

Later at night, I did get two hard freezes while browsing with Chrome.

Ran this after hard reboot:

< cat /sys/fs/pstore/console-ramoops-0 > /sdcard/kmsg.log >

But it only generated an empty kmsg log.

I still think it is more my N9 and Chrome, than your kernel. Everything else is running great. Way glad to be up to date.

Thanks!
[Nexus 9 Original Android Development] NYCHitman1:
Good find, dude.
[Nexus 9 Original Android Development] USBhost:
Yep already know about it ;)

https://github.com/USBhost/FIRE-ICE/pull/8

Edit: this will come soonish... in the coming weeks

i like to know whats going in not just cherry-pick and be done with it.

Cheers man!!

I will look into those freezing
[Nexus 9 Original Android Development] PieceKeepr:
I would. My phone ROM has it and I'm so used to swiping up to unlock I keep doing it on the Nexus. Not asking for anything special, just thought I'd answer your question. [emoji1]

Also, I have no idea what caused it but I've had a couple of freezes myself today. Once it rebooted on its own and the last time I had to force it to turn off. Once I was using Dolphin Browser and I don't remember what I was doing the other time.
[Nexus 9 Original Android Development] maelfilk:
Can i use kernel with july update (base & vendor)? Or should i wait for new version?
[Nexus 9 Original Android Development] USBhost:
my kernel is compatible with all (unless specified) base and vendor basically any version.
[Nexus 9 Original Android Development] cardula:
[MENTION=5501864]USBhost[/MENTION] - I flashed your modded TWRP along with the latest Pure Nexus and with K10.3.2 and formatted data and cache to f2fs (first time trying out f2fs btw). All is well. so far. When booted into your modded TWRP, is there any way to tell it apart from official TWRP? I was trying to verify that yours flashed correctly, but I couldn't find any visual difference between yours and official while in recovery on my device (I flashed yours over official TWRP). I flashed your TWRP via fastboot, so I'm pretty sure it stuck, but it'd be nice to know for sure that I'm using yours.

This is my first time trying out fire-ice, so far it's been great, thanks for a great kernel and all your hard work. Cheers.
[Nexus 9 Original Android Development] USBhost:
ATM no but there is one way

"cat /proc/version" and you should see its using FIRE-ICE

thanks and enjoy your stay at FIRE-ICE! :good:

dont forget to check out FI.d
[Nexus 9 Original Android Development] uzi2:
I notice that overclocking is now disabled by default in f1.d.

Is it possible to allow overclocking, but have the default speed set to stock, so that it will work for everyone, but also allow for testing at the higher speeds?
[Nexus 9 Original Android Development] mangomonkey00:
i'm getting this android system as using the most battery since last two updates of kernel although overall battery backup has increased just thinking if it can be anymore

btw i'm using android n dp4
[Nexus 9 Original Android Development] USBhost:
The thing is that our cpu (Tegra K1) the cpu sets to the max available speed.

I can make FI.d to set the speed back to stock, but that may Interfer with

some apps bootup scripts.

PS. Our cpu has a safety cap that must be set to the max speed

to allow cpu config apps to work. Because they don't support our K1 cpu.

"/sys/module/cpu_tegra/parameters/cpu_user_cap"

https://github.com/USBhost/FI.d/blob/master/01afterboot#L223

I don't think that's the kernel's fault. It may be a bug in DP4.

Also to note Android system means a lot of things like wifi, settings, location etc..
[Nexus 9 Original Android Development] USBhost:
K10.3.3 is up

K10.3.3

-| latest: form google

-| I/O: noop is now default :: i think zen can make hard lockups

-| trying: AUTOGROUP :: to see if it would help on multitasking

-| trying: some RCU changes :: this may or may not help idk just testing

maybe something else...

I know its been like 3 weeks, I know im sad too :crying:

blame life. Its like going to 6 flags to much lol :angel:

well enjoy! and have a great day!
[Nexus 9 Original Android Development] Choochter:
I've been using fiops recently, not a heavy multitasker. You think noop has any advantages?

Thanks for the update
[Nexus 9 Original Android Development] tibere86:
Me too. I've been using FIOPS and 128k readahead and haven't had any lockups.
[Nexus 9 Original Android Development] dictionary:
I'm assuming yes, but will the latest kernel work for Dev Preview 5 of N?
[Nexus 9 Original Android Development] mangomonkey00:
u tried did it worked
[Nexus 9 Original Android Development] dictionary:
? Are you asking or telling?
[Nexus 9 Original Android Development] mangomonkey00:
"did it worked" is how you phrase a question i guess

anyways i went ahead and tried myself and it works
[Nexus 9 Original Android Development] dictionary:
Not to be rude, but I've seen non native English speakers phrase things similarly, and it was a declarative statement, because they used some incorrect words.

U tried did it worked. I've seen that corrected to "I tried it it worked. Also, " I did it worked. "

Anyway, glad it's working for you. Will wait to see if there are any kernel updates that USB is going to pull in. Thanks for the heads up
[Nexus 9 Original Android Development] enriquejones666:
Can you remind me what the command is to do this in "/sdcard/override"
[Nexus 9 Original Android Development] Choochter:
Just use Kernel Adiutor
[Nexus 9 Original Android Development] biscuitownz:
Just wanted to confirm something here. If I am not rooted, the OC will not be applied correct? Running cpu-z shows a max freq of 2.3ghz.
[Nexus 9 Original Android Development] USBhost:
Offhand idk but there was a vary big guide on XDA that explains almost everything.

http://androidmodguide.blogspot.com/p/io-schedulers.html?m=1 not XDA. I don't remember where

the XDA one was.

Thanks for the info!

Yep it will. Running it now

You don't need root to set the OC

Just put "oc=1" in "/sdcard/override"

But to answer your question.

The OC will not be applied by default if rooted or not.

P.S. sorry for the long wait I got very busy....
[Nexus 9 Original Android Development] Choochter:
Yeah, read that guide, the one you're referring to is here:

http://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957

Noop and fiops seem pretty much equivalent according to this info, was just wondering if you thought noop was better. As I mentioned, don't do a lot of multitasking. For those who do, might be better off with another I/O scheduler.
[Nexus 9 Original Android Development] dictionary:
For whatever reason, when I flash it, and then supersu 2.74 (like I always do) it isn't working. Still reports stock Google kernel. Not sure what's changed, as this is a first. Running the newest recovery too.
[Nexus 9 Original Android Development] USBhost:
Try 2.76

Also try booting my kernel first to make sure it's flashed

Then flash SuperSU
[Nexus 9 Original Android Development] AL2000EX:
Here's a bug, looks like /sys/kernel/mm/uksm is missing, so uksm can't run. Ksm works fine tho
[Nexus 9 Original Android Development] USBhost:
ATM KSM is being tested against UKSM

Because KSM is a lot faster than UKSM
[Nexus 9 Original Android Development] USBhost:
Need testing

Ok guys i need some testers

all im looking for is unexpected problems.:good:
[Nexus 9 Original Android Development] vimesxda:
Hi

I was just wondering if you would be able to add colour tweaking to this kernel, like being able to adjust the balance of RGB? I love this tablet but the whites are too cool and I really need them to be warmer. Do you think this is a feature you will add at some point?

Thanks
[Nexus 9 Original Android Development] Choochter:
Try f.lux on the Play store, although I agree - kernel control would be nice
[Nexus 9 Original Android Development] vimesxda:
Ahhh thank you very much! That works very well, and cf.lumen was recommended by google underneath and that has an adjustable rgb slider that does pretty much what I was looking for. I tried some other non rooted apps but they made all the blacks lighter and greyer also, this app adjusts the colours but leaves the black dark still, almost perfect.

Huge help seriously, I was considering getting a different tablet if i couldn't adjust that hue. I'm an artist so the screen quality and colours are very important to me :P. Still yet to find a tablet that has better colours than my Nook hd+, nexus9 is a bit sharper though slightly.

Sorry that this is slightly off topic from kernel. I would really love to see these features implemented into the kernel itself though, I think its a feature thats actually more important than a lot of people think.
[Nexus 9 Original Android Development] Bastlwastl2010:
What shall we test?

Its all fine here on CM and 10.3.3
[Nexus 9 Original Android Development] USBhost:
i want to make sure recovery works fine

i want to make sure it flashes just fine

because i redid how everything flashed

i moved away from update-binary way to the update-binary shell script way,

like how SuperSU does it. aka moving with the times hehe

on 10.3.4 the recoveries kernel and f2fs tools will update as well.

so FIRE-ICE will fireiceisify the recovery, so people no longer need to flash twrp manually.

Note: kernel and f2fs tools will only be updated..
[Nexus 9 Original Android Development] Bastlwastl2010:
Test it:

First: Flash kernel only, works, reboot, quick test, works

Second Reboot recovery: Flash newest CM nighlty:

E:TWFunc::Copy Log -- Cant open destination log file: /cache/revovery/log
E:DataManager::eek:utput_Version -- Unable to make /cache/recovery

Flash ends with error code 7

Flash Back Recovery

Error still exists---error code 7

Now i cant flash any new CM :((

---------- Post added at 10:56 AM ---------- Previous post was at 10:36 AM ----------

Deleting cache and dalvik - nor error message

But: flashing "hangs" on:

Patching system image unconditionaly

So i can not flash a new image

No boot, try to flash with adb

---------- Post added at 11:19 AM ---------- Previous post was at 10:56 AM ----------

The failure of flashing "hangs" is a corrupted image

Will try again......

---------- Post added at 11:58 AM ---------- Previous post was at 11:19 AM ----------

Heres my way:

Flash the new kernel

Wipe cache + dalvik

Reboot recovery

Flash CM and kernel

It works without errors

Quick test: no problems with 10.3.4

Will report if something fails
[Nexus 9 Original Android Development] Bastlwastl2010:
This feature is really cool :cool::cool:
[Nexus 9 Original Android Development] USBhost:
ATM I do not have the knowledge to do so.

If I get it then I will. But now it will not be added.

Also did any Tegra device get it ?
[Nexus 9 Original Android Development] AL2000EX:
None. Afaik only Qualcomm devices got proper kcal control
[Nexus 9 Original Android Development] Bryanx86:
Flashed fireice 10.3.4 and everything seems to be working fine but I get two red letter errors in twrp now.
[Nexus 9 Original Android Development] Bastlwastl2010:
Wipe dalvik and cache and restart recovery
[Nexus 9 Original Android Development] Bryanx86:
Well that worked perfectly and I was just trying to get a screenshot of the errors. Thank you
[Nexus 9 Original Android Development] USBhost:
TESTING 2

ok i fixed that cache recovery problem,

also some small changes in the install script,

plus the latest hehe.

let me know how this one works for you guys :good::good:
[Nexus 9 Original Android Development] Bastlwastl2010:
Flash newest kernel

Reboot recovery

Flash latest CM + kernel

Reboot

Works

Great Job!
[Nexus 9 Original Android Development] USBhost:
cheers!

anymore problems atm?
[Nexus 9 Original Android Development] AL2000EX:
So far so good

Running it on AOSPA btw, awesome rom
[Nexus 9 Original Android Development] porschet:
Ran both test kernels on latest Pure Nexus. Works fine.
[Nexus 9 Original Android Development] AL2000EX:
There's a feature on my oneplus one called adaptive low memory killer. Maybe this can be useful to improve memory management. Couldn't find much info on it tho

Sources for the kernel I'm using

https://github.com/sultanxda/android_kernel_oneplus_msm8974
[Nexus 9 Original Android Development] whowatchlist:
Please delete
[Nexus 9 Original Android Development] USBhost:
I had that on this kernel not too long ago

But it seemed not to help much. Plus it needed to much hacking to get it working.

You still are?

Can you try the testing version that's like a page back?

Edit: it looks like you deleted your post, does that mean you don't have a problem?
[Nexus 9 Original Android Development] whowatchlist:
Yup the test version fixed it. (How did you reply so fast lol)
[Nexus 9 Original Android Development] USBhost:
I'm in contact with John Titor and he tells me what's going to happen in the future.

So I'm always ready for everything. But he can only tell about 2 hours in the future so

It won't disrupt the World line.

All jokes aside it's Gmail! :laugh:

I try to answer as fast as possible!
[Nexus 9 Original Android Development] PieceKeepr:
I've tried a couple times to download the latest version posted on the previous page but when I download the regular version it's labeled as "N". Is it misnamed by chance or is something else going on?
[Nexus 9 Original Android Development] USBhost:
All fine here

http://xdaforums.com/attachment.php?attachmentid=3824992&d=1469597383
[Nexus 9 Original Android Development] PieceKeepr:
Bizarre. I still can't download it through the xda app but it worked fine from my PC. I'll blame it on the app.
[Nexus 9 Original Android Development] USBhost:
XDA labs ?

Report it to them.
[Nexus 9 Original Android Development] USBhost:
What GCC do you want me to use?

What GCC do you want me to use?

http://www.strawpoll.me/10876625
[Nexus 9 Original Android Development] Nikki1993:
Whatever can help squeeze every last drop of performance. Seriously, if not for your kernel I would have thrown Nexus 9 away by now. It's bad enough Google gave up on the tablet (now no Vulkan support what the hell...)

You are our only hope! Thanks a lot for everything that you do!

P.S. I vote Google GCC :P
[Nexus 9 Original Android Development] USBhost:
Last test

This is the last test of K10.4.0

I decided to change the version number from 10.3.4 to 10.4.0

Because I thought it deserved it with all the install changes and recovery updating

August update

and some more install script changes

P.S. this version is built with Google's GCC

and i do say it seems very much faster.

I can also run "gfix=1" with almost no lag.
[Nexus 9 Original Android Development] lmulli:
Any chance you could re-post the link to the N kernel only both of the above links appear to be to the same version (none N version) Thanks.

EDIT - FORGET AS APPEARS TO BE WORKING NOW.
[Nexus 9 Original Android Development] jlokos:
Working great on latest PN build.
[Nexus 9 Original Android Development] AL2000EX:
The tablet heats MUCH more with the new build. Looks like you brought gpu touch boost back, but why? I was so happy seeing it gone, there is NO reason why gpu must ramp up to max freq on a single touch
[Nexus 9 Original Android Development] USBhost:
... i did nothing to the gpu

except august update
[Nexus 9 Original Android Development] Vartom:
Try this patch

http://xdaforums.com/nexus-9/general/powerhal-library-tablet-n9-t3329775
[Nexus 9 Original Android Development] dictionary:
Wondering if this will work for latest Marshmallow RemixOS. I guess I'll be a test subject, lol.

Edit: Yurp, she works. Time will tell how well.
[Nexus 9 Original Android Development] USBhost:
The Real Last Test.....

well guys i know i said but i finally merged [MENTION=6556709]Vartom[/MENTION]'s gpu updates... man that was a lot

plus google released the kernel source for NDP5 and that was merged as well.

so here's the real last test :fingers-crossed:
[Nexus 9 Original Android Development] AL2000EX:
Oook, now I get it, touch boost was gone since I flashed your kernel from 4pda, which includes the lib, and it returned after I updated the rom.

I never expected stuff like that to be rom-dependant. Thanks for your work, mate
[Nexus 9 Original Android Development] Bastlwastl2010:
On latest CM 0803 soft reboots starting or closing apps with both test versions

No problems on CM 0727

Dont no if this a "nightly" thing or the combination with your kernel and the security patches integreated in CM with the last nightly

Logcats needed? Or just waiting tommorow nightlies?

Edit: Also tested latest "stable" kernel on 0803, dont works
[Nexus 9 Original Android Development] tamjan:
Yes, I noticed the same thing. Does 10.3.x work? I'll try to downgrade to that. My second guess is that the vendor partition needs upgrading...
[Nexus 9 Original Android Development] Bastlwastl2010:
Tommorow nightlys have update the fingerprint to mob30w

https://review.cyanogenmod.org/#/c/154948

Mayby this is the reason....
[Nexus 9 Original Android Development] giancarlo_f:
I did Experience the heating too! Also so now and then reboots..... Back to old kernel 10.3.2 for so long; this kernel works the best for me with PN..
[Nexus 9 Original Android Development] lmulli:
In fairness, all you have to do is to look at this device and it gets hot!
[Nexus 9 Original Android Development] Bastlwastl2010:
CM 0804 with MOB30W and latest test kernel works fine here

Edit

UPS. Todays nighly is removed...i have no problems with it
[Nexus 9 Original Android Development] dictionary:
There are two 10.4 kernels. Try the latest one, as I think that one will address the heating issue, as it's got Vartems commits
[Nexus 9 Original Android Development] PatrickMac:
[MENTION=5501864]USBhost[/MENTION]

Your kernel is really awesome. with the combination of the latest android N preview and your N-kernel the n9 feels much smoother than any MM ROM I tried. Battery seems to be good, too.
[Nexus 9 Original Android Development] porschet:
No issues with latest test on Pure Nexus. Thanks!
[Nexus 9 Original Android Development] Choochter:
Anyone seeing problems with init.d? I've got a script in there that can be run manually but refuses to run at boot. No obvious issues with permissions, busybox etc. Seeing the problem on 10.3.3 and 10.4.0 using Pure Nexus. Same script runs fine on another device.
[Nexus 9 Original Android Development] USBhost:
can you do this

"./system/etc/FI.d/00start > /sdcard/fi.txt"

and give me fi.txt

PS you can always put it in FI.d
[Nexus 9 Original Android Development] 12paq:
Curious. I accidentally flashed the N version of 10.4.0 on an M rom, and it boots and runs fine. Usually when I make a goofy mistake, I end up recovering from a soft brick, which I always enjoy (diary of a flashoholic lol).

Going to 10.4.0 for M now, looking forward to testing the GPU patches. My N9 is very heat intolerant. Although 10.3.3 M ran great.

Thanks again for your time USB!
[Nexus 9 Original Android Development] Choochter:
Doesn't work in Fl.d either ...
[Nexus 9 Original Android Development] USBhost:
Hmm ...

"> /sdcard/fi.txt" did not do what it should but o well...

Just do "./system/etc/FI.d/00start" as root and take a screenshot

It should look something like the one on this post

PS you did chmod it to 755 when it was in FI.d?
[Nexus 9 Original Android Development] Choochter:
Sorry, I'm a numpty ...

It was already 755
[Nexus 9 Original Android Development] USBhost:
i know why FI.d did not run init.d because

the ROM your using is supposed to support init.d.

FI.d should have runed your script just fine

can you post your script?

PS. just run chmod even if you think its 755 just to be safe
[Nexus 9 Original Android Development] Choochter:
Tried chmod, no difference. The script is from here:

http://xdaforums.com/android/software-hacking/mod-gov-tuner-project-29th-june-2016-t3407828

Thanks for your time
[Nexus 9 Original Android Development] USBhost:
K10.4.0 is up

K10.4.0

-| latest: from google

-| base: updated to NDP5

-| I/O: deadline is now default

-| add: recovery kernel updating (no need to flash my modded TWRP)

-| updated: gpu drivers (BIG)

-| supporting: GNU and Google's GCC builds

-| redone how FIRE-ICE flashes (made updating recovery possible)

-| maybe more?

sorry for the long wait but its here. also to help lower the sadness of No Man's Sky pc delay (im crying about this)

enjoy this update it took awhile to test! :laugh:
[Nexus 9 Original Android Development] Bastlwastl2010:
Thanks for the "stable" version....

No more rollercoaster in 6 flag :cool::cool:??
[Nexus 9 Original Android Development] Choochter:
[MENTION=5501864]USBhost[/MENTION] That script that wouldn't run for me has been updated by the dev and works now, must have had a problem. Thanks again.
[Nexus 9 Original Android Development] hjlow:
sorry for the semi-newb question, but how are you guys flashing this on DP5? Seems TWRP is not able to access an encrypted device. I even tried flashfire with no success. I do have it rooted.

edit: even tried modded TWRP from post 4
[Nexus 9 Original Android Development] lmulli:
Flashes fine with the normal TWRP here on DP5 from an OTG drive - because Data is encrypted you can't access the normal download folder on the device.
[Nexus 9 Original Android Development] AL2000EX:
One way is to sideload from pc

I guess most ppl disable encryption, its worth the time imo
[Nexus 9 Original Android Development] Bryanx86:
I was wondering if anyone can help me decipher this error message I got while turning Bluetooth on. I don't know how to read it, and every time I try turning Bluetooth on on my device, it force closes two times. I have a lot more than just this in the whole log, this is just the area where it says error. Am currently using the latest pure Nexus rom with the updated vendor IMG. MOB30W and using the latest 10.4.0 fire_ice kernel. Thanks in advance, kernel has been great with pure Nexus rom with this latest exception, which I'm sure is probably my fault somewhere.