yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] USBhost:
1.5a is normal, think it as this (2a-(running power)). for me the max charge i was able to get was 1.7a (2a-(0.3))

On idle its about ~200-300ma

and yes its enabled.
[Nexus 9 Original Android Development] Marky__Mark:
Gotcha. Thanks
[Nexus 9 Original Android Development] USBhost:
quick test update.

This update has some sound improvements (thanks Vartom)

and enables sdcardfs (only for N)

Also dont forget to give Vartom's kernel a go, it has a lot of nvidia updates.

FIRE-ICE stays near stock kernel but his kernel goes nvidia! (F2FS people be careful)
[Nexus 9 Original Android Development] vincenzo697:
i will try your latest Fire-Ice kernel. if we want to flash Vartom's kernel is it ok to flash on top of yours?
[Nexus 9 Original Android Development] USBhost:
F2FS users cant. They will get a bootloop.

Also i think his kernel is for stock ROM only (correct me if I'm wrong)

Ext4 users can come and go as they please.
[Nexus 9 Original Android Development] blackbuffalo:
His kernel changed model to Ndivia Shield tablet.
[Nexus 9 Original Android Development] Choochter:
Volume a bit louder, still getting stuttering in some apps - on latest PN 7.1.1
[Nexus 9 Original Android Development] buffal0b1ll:
Substratum now successfully builds and enables overlays with this 10.5.9 1/22 and subs 561 and phh superuser. This is the first fireice since 10.5.7 that has done so for me, thanks.
[Nexus 9 Original Android Development] lmulli:
I noticed that too. I have a Shield K1 and don't use it, I don't particularly want my N9 to have it's model changed to the same!
[Nexus 9 Original Android Development] damngood98:
probably just something you can edit in your build prop, no?
[Nexus 9 Original Android Development] borxnx:
Yeah, you can edit your device's label in the build.prop. The reason it changes the device model to the Shield is to enable using GeForce Now, GameStream, etc. -- all the nVidia stuff mentioned in the kernel thread OP.
[Nexus 9 Original Android Development] lmulli:
More than likely, it was a PixelXL last week.
[Nexus 9 Original Android Development] buffal0b1ll:
Random reboot last kmsg http://pastebin.com/hCWjYS3Z[/url
I....sys.sdcardfs=true
And the problem went away.
[Nexus 9 Original Android Development] maelfilk:
SAOSP-N rom with https://xdaforums.com/showpost.php?p=70684239&postcount=3375 kernel and f2fs - no problems
[Nexus 9 Original Android Development] USBhost:
ok test2

removed sdcardfs because it did not allow mounts in /data/media/0/

try 2 to fix audio let me know how it is.
[Nexus 9 Original Android Development] Choochter:
Still getting occasional sound breakup - on latest PN, otherwise OK
[Nexus 9 Original Android Development] RogueSven:
Mine faces a terrible wakelock with tmp_lock. Device cant sleep anymore. Please help!
[Nexus 9 Original Android Development] vimesxda:
Hi

I updated to latest version of the kernel because I wanted selinux to be be permissive but every time I check the status its still disabled. I've tried various terminal commands too but it always says disabled or the the directory for selinux doesn't exist.

Can't tell what I'm missing, how do I enable it? Running pure nexus ROM for nexus 9 if that's any help.

Cheers :)
[Nexus 9 Original Android Development] jonahmt21:
2Amp charging

Hi USBHost, Which part of the source did you edit to enable 2amp charging. thanks!
[Nexus 9 Original Android Development] USBhost:
https://github.com/USBhost/FIK/commit/62aa76b7e1c6e68abdcc723e7a2aabfd398cf9e4
[Nexus 9 Original Android Development] jonahmt21:
thank you sir. im trying to learn kernel mod and i want to edit the stock kernel just to implement this 2 amp charging and the rest is stock. this is totally possible right?
[Nexus 9 Original Android Development] USBhost:
Edit: attempting to change the cpu throttle to 54c
[Nexus 9 Original Android Development] di11igaf:
Did you find anything in source that throttles CPU at 50°? I seen some things that look like they throttle at 80 or so, and all CPU tests I've done (running back to back to back CPU benchmarks while using performance governor and monitoring temp/CPU freq). CPU stays at 2.3 GHz until 70°, then it throttles to about 2ghz. I haven't seen any throttling below 70°
[Nexus 9 Original Android Development] USBhost:
45c yes

when i get to 120f cpu goes to 2ghz
[Nexus 9 Original Android Development] di11igaf:
Ya, I saw this:

cdev_type = "skin-balanced",
.trip_temp = 45000,
.trip_type = THERMAL_TRIP_PASSIVE,
.upper = THERMAL_NO_LIMIT,
.lower = THERMAL_NO_LIMIT,
.hysteresis = 0,
}

But, I had no throttling until 70.

Also, /sys/devices/system/cpu/cpu0/cpu-freq/throttle shows 0 until throttling starts at 70 or so, then it shows 1.
[Nexus 9 Original Android Development] USBhost:
How are you checking?

want app?

How are you even getting to 70c

I can't even get past 49c
[Nexus 9 Original Android Development] di11igaf:
Trickster to check temp, or reading it right from /d/soc-therm/

Running geekbench 3 multiple times in a row, then after like 3 benchmarks instantly switch to read from soc-therm or trickster.

(governor set to performance)
[Nexus 9 Original Android Development] USBhost:
Lol man i cant even get to 55c lol on 2.5ghz and on performance gov

Looks like my heat sink works well hehe
[Nexus 9 Original Android Development] Vinzie:
Can you please try this using the 'cpu temperature' app. Using that program you can set the cpu temp as overlay. So you can watch the cpu temp while running the benchmarks. When I run the cpu prime benchmark stress test, which runs until you stop it, it get a cpu temp with a max of 74 degrees celcius after about a minute. Wonder how much USBhosts heat sink will lower this value. Using performance gov as well.

[MENTION=5501864]USBhost[/MENTION]: what kind of thermal paste did you use....?
[Nexus 9 Original Android Development] USBhost:
Well it took me about 10min to get to ~70c

the first 5min the tmp was in the ~60s

and the moment i stoped the test my cpu tmp went to ~60c

The only way i got to 70 was because the battery

Tmp went up to ~40c about 110f

and my heat sink was on the battery lol

what kind of thermal paste: hmm dont know i just went to a radio shack

and got the most expensive one they had hehe which was $12

if you want a pic just tell me
[Nexus 9 Original Android Development] kyleco:
Are you saying you installed a heat sink on this thing? How much did that cost and what parts were used?

Yes pics please! :)
[Nexus 9 Original Android Development] Vinzie:
How many layers is your alumnum foil? And where did you use the thermal paste? Between the copper foil at the top and the aluminum? Just ordered some akasa 5022 thermal paste, should be here this monday, so going to reproduce your heat sink. How did you 'glue' the foil to the battery? Also with thermal paste?
[Nexus 9 Original Android Development] USBhost:
I just used alumnum foil

I know there are better material out there but I had none nearby lol

How many layers: idk well as much as i could without interfering with nfc

So it was the same height as the pins for nfc.

I did not glue the heat sink to the battery

The thermal paste kept it there

What kind of paste

as of now I don't know because I don't have it with me

But will edit this post when i do
[Nexus 9 Original Android Development] USBhost:
Update info

Fixed: BL

Now it works every time

Some others too
[Nexus 9 Original Android Development] Dr. Hurt:
I have a strange suggestion/question, though I'm not even sure if that's technically possible.

On the Jetson Tegra K1, you could enable USB 3.0 by changing ODMDATA (in "pm375_release_armhf/Linux_for_Tegra/jetson-tk1.conf") from ODMDATA=0x6009C000 for USB 2.0 operation to ODMDATA=0x6209C000 for USB 3.0 operation.

I wonder if it's possible to do the same to enable USB 3.0 on our Nexus.
[Nexus 9 Original Android Development] Vinzie:
And between the copper foil and the aluminum foil you also used thermal paste? And the aluminum foil, is it 1 piece or 2 with some thermal paste in between?
[Nexus 9 Original Android Development] USBhost:
well if we could

we won't be able to use it lol

the n9 does not have a usb 3 port

Put the paste on the copper foil

then squish the aluminum foil on it

Edit: i used "high density polysynthetic silver thermal compound"
[Nexus 9 Original Android Development] USBhost:
FIRE-ICE does not disable selinux anymore since a while ago.

Can you give me the out put of "cat /proc/cmdline"
[Nexus 9 Original Android Development] vimesxda:
Says permission denied. My system seems to be a bit strange. The sellinux folder in sys/fs/ has nothing in it and usual command lines to enable and disable selinux don't seem to work.

As far as I'm aware its fully rooted, according to rootcheck at least. Rootcheck actually says selinux is enforcing but settings say its disabled. I'll attach some screenshots.
[Nexus 9 Original Android Development] Choochter:
I'm also on PureNexus and Fire-ice, SELinux is permissive by default for me. Use kernel adiutor mod to set it
[Nexus 9 Original Android Development] vimesxda:
Cheers, yeah I have kernel auditor but there's no selinux option and I can't find any way to add it. Maybe I'm missing something or its under a different name? I feel like I must be missing something very vital somewhere lol, all the usual solutions concerning selinux don't seem to work. Could it be the purenexus ROM? I thought the kernel controlled selinux though
[Nexus 9 Original Android Development] Choochter:
Kernel adiutor MOD, search for it here on XDA
[Nexus 9 Original Android Development] vimesxda:
Didn't know about that ,thanks. Doesnt seem to work though . Says selinux status unknown and when I switch it nothing changes
[Nexus 9 Original Android Development] Choochter:
Try a clean install, works for me
[Nexus 9 Original Android Development] USBhost:
But did your sound improve like it was in 7.0/7.1.0

What ROM are you using?

After a reboot and after the led lights turns on and off (about 1 minute after boot)

Give me the output of "dmesg".
[Nexus 9 Original Android Development] Choochter:
Your second to last kernel improved the sound for me as I reported at the time, this one is no better than that
[Nexus 9 Original Android Development] USBhost:
O OK. Thanks.
[Nexus 9 Original Android Development] vimesxda:
Clean install of the kernel?
[Nexus 9 Original Android Development] Choochter:
Everything
[Nexus 9 Original Android Development] USBhost:
here's another test version.

im just testing fab update to make sure it fixed the past gpu problems.

about the K10.5.11 change log... i got lazy...

the next change log will be for both 11 and 12
[Nexus 9 Original Android Development] brutalv4:
Thnx! Grabbing it! :highfive:

And also I've want to suggest maybe try to combine some great stuff of other great kernel devs.

How about adding ElementalX and Sublime Active cpu governors from corresponding kernels? Last one by the way recently got some interesting CPU Quiet governor called "Touch".

And of course this is just a suggestion and all the credits goes to the their respective owners! :o
[Nexus 9 Original Android Development] Choochter:
Might want to check out this thread:

https://xdaforums.com/android/software-hacking/mod-gov-tuner-project-29th-june-2016-t3407828
[Nexus 9 Original Android Development] brutalv4:
Gov-Tuner 3.9.1 and blu_active balanced profile alongside with some main tweaks from L-Speed mod is my favorite setup by far. :good:
[Nexus 9 Original Android Development] nada324:
Can i update k10.5.9 N to 10.5.11, without reinstalling the rom? Thanks for this amazing kernel!
[Nexus 9 Original Android Development] Choochter:
Yes, just flash one over the other
[Nexus 9 Original Android Development] yakov116:
Wow amazing!
[Nexus 9 Original Android Development] USBhost:
I rather not take some of CPU governors that make those kernels there own kernel.

I will ask them if it's OK with them. It just doesn't feel right taking all there hard work and just put it in mine.

PS. I'm out from tonight to Sunday late. If I don't respond in a timely manner that's why.
[Nexus 9 Original Android Development] USBhost:
K10.5.11--K10.6.0 Defiant:Traveler

2017-02-14

-| Linux: 3.10.105 :: big update!

-| FI.d: v58.1

-| Feb: security update

-| Latest: from google

-| removed: sdcardfs (K10.5.11-12) (K10.6.0 just warning if it's enabled)

-| improved: lz4 some :: Thanks flar2

sorry for the long wait... and for the change logs :silly:
[Nexus 9 Original Android Development] Marky__Mark:
Runs well. Thanks!
[Nexus 9 Original Android Development] borxnx:
Yes, thank you [MENTION=5501864]USBhost[/MENTION]! This kernel is wonderful.
[Nexus 9 Original Android Development] tikizondo94:
This kernel has made my flounder an absolute joy to use. I've been using your kernels for as long as ive owned this device and I use nothing else. So much appreciated [MENTION=5501864]USBhost[/MENTION].. Thank you!
[Nexus 9 Original Android Development] USBhost:
K10.6.1

-| FI.d: v59

-| f2fs: tools updated to 1.8

-| exfat: updated

-| Latest: from google :: not much only sdcardfs...

Note's:

This will be the last update

that usb mount tool will be in FI.d.

its moving to greater things in the future. (PS did i get you with that color?)

It's been a slow week.... School is School...

not much happened.... O well enjoy the weekend!! :highfive:

Thanks everyone! im not going anywhere :cool:
[Nexus 9 Original Android Development] USBhost:
K10.6.2 is up

K10.6.2

2017-03-08

-| Latest: from google :: good size

-| FI.d: v60

i thought google already released the march security update. So I went ahead and got everything ready thinking i already applied the kernel security update. While i was writing the patch notes, I realized I never merged the security update because they weren't even out... Well anyways enjoy this small update :silly:

The new home for the usb tools are at https://github.com/USBhost/USBtools

Edit: there will be a flashable zip soon for usbtools. Or just move everything to the root of the zip then flash it.

If only GitHub zipped everything to the root other then in a folder.
[Nexus 9 Original Android Development] buttie:
Thnak you [MENTION=5501864]USBhost[/MENTION], since version 10.5.8 this device changed from barely usable brick to fully working tablet. No freezes, reboots or overheating on both Pure and Reconstruction roms (bonus point: kernel fixes infamous battery status bug in Pure Nexus).
[Nexus 9 Original Android Development] Beta1440:
[MENTION=5501864]USBhost[/MENTION] would it be possible for you to make a standalone 7.1.1 battery indicator patch that can work for other kernels? I've tried making one but I've had issues getting it to work. This is clearly your specialty and I would appreciate if you take the time to do it. Thanks.

---------- Post added at 02:57 PM ---------- Previous post was at 02:53 PM ----------

I'd be happy to help port "Sublime Active" and "Touch" to your kernel if you're interested.
[Nexus 9 Original Android Development] USBhost:
Sure I'll make one (soon).

Thanks! If I need help I'll be sure to ask.
[Nexus 9 Original Android Development] yakov116:
http://www.securityweek.com/google-...gn=Feed:+Securityweek+(SecurityWeek+RSS+Feed)

Is this in the March patch?
[Nexus 9 Original Android Development] USBhost:
Just a quick reminder.

To update TWRP just flash the new TWRP then reflash FIRE-ICE
[Nexus 9 Original Android Development] fleischbanane:
I didn't flashed FIRE-ICE right after the update and now TWRP won't boot. Neither the new version nor the old one. Do you have any solution for me? I restart to recovery, see the TWRP splash screen and then the tablet reboots to recovery and it's the same procedure.
[Nexus 9 Original Android Development] USBhost:
O grate... (not your problem)

Give me a few minutes so I can cook you a ready TWRP

That you can flash from fastboot or on Android.

edit: [MENTION=3211691]fleischbanane[/MENTION]

here you go https://drive.google.com/open?id=0B1cOHQ70J9vlSzdmdFh3OFNaZmc

use fastboot or https://play.google.com/store/apps/details?id=de.mkrtchyan.recoverytools&hl=en

Please let me know ASAP if it worked!

i'll be up for another 20min (it's 1:00AM at the time of writing)
[Nexus 9 Original Android Development] fleischbanane:
Thanks, works for me. That was super fast!
[Nexus 9 Original Android Development] USBhost:
Cheers! Have a good day or night...

Well good night here in the US PST
[Nexus 9 Original Android Development] Darkouting:
should I do a factory reset before flashing in? I got a freeze when using root access installing some stuffs. Or isn't this kernel compatible with krnexus?
[Nexus 9 Original Android Development] brutalv4:
These frequent rotation locks are strange and annoying. :(

Found this Rotate Screen Orientation app useful as a temporarily solution. Cheers :fingers-crossed:
[Nexus 9 Original Android Development] dictionary:
While I really appreciate the suggestion, you're quoting a post that's almost 2 years old, lol. The issue has long since been addressed, at least in my case v
[Nexus 9 Original Android Development] USBhost:
Yeah I noticed that to.

But I did nothing to affect it or at least I don't think so.

The Orientation fixes itself after a little bit for me.

I think it's more of a ROMs fault than mine.

I noticed it when I updated to March
[Nexus 9 Original Android Development] Tung_meister:
Just flashed the kernel over lineage and everything is great other than I'm only getting audio out of the top speaker?
[Nexus 9 Original Android Development] USBhost:
Wait what??

Anyone else get this to??

PS. Sorry for the delay I got no email telling me about your post.
[Nexus 9 Original Android Development] dumdum2:
I've flashed the FI kernel over Resurrection Remix, and it actually fixed my audio playback.

The audio it was horrible with Resurrection remix rom. Thank god you exist :)
[Nexus 9 Original Android Development] Tung_meister:
No problem, It's definitely kernel related as I didn't have the issue prior to flashing. It's affecting all audio, notifications and media etc.
[Nexus 9 Original Android Development] USBhost:
Reflash vendor and report back.
[Nexus 9 Original Android Development] Tung_meister:
No change.
[Nexus 9 Original Android Development] USBhost:
Ok the rules out one thing.

Give me the link of the ROM you used.

Plus the build date of the one you flashed.
[Nexus 9 Original Android Development] Tung_meister:
https://harryyoud.co.uk/lineageos/downloads.php, it's the build referenced in a few threads below yours. I've currently got 20/03 build flashed.
[Nexus 9 Original Android Development] USBhost:
clean install lineage-14.1-20170321-UNOFFICIAL-flounder.zip

opengapps open_gapps-arm64-7.1-nano-20170321.zip

plus my kernel

all is well, both speakers are working / stock web browser youtube

try updating to that build? or try doing a clean install again.
[Nexus 9 Original Android Development] USBhost:
here you go.

copy, send it, edit it, share it i dont care! it's yours...

enjoy!

if you have any problems just let me know! :good::good:

P.S. just make sure you credit osm0sis because im using his bootimage tools
[Nexus 9 Original Android Development] Tung_meister:
That's the exact setup I'm running now yet still have the issue. I did another clean install last night so I'll try a different ROM as I guess my speaker might have randomly died.
[Nexus 9 Original Android Development] USBhost:
Any news?
[Nexus 9 Original Android Development] Tung_meister:
Yeah, it wasn't the kernel. I've just stripped down the device and re-seated the speaker and it's working again. Sorry for the mess about it was just a complete fluke that it died just after I flashed your kernel! keep up the good work!
[Nexus 9 Original Android Development] USBhost:
Cheers all is well!
[Nexus 9 Original Android Development] USBhost:
K10.6.3

-| Latest: from google :: a lot!

-| Latest: f2fs

-| Support: Nethunter

Here i bring you a decent sized update!

Long time i know :rolleyes:

ill work on porting that cpu gov that was in the past few pages for K10.6.4
[Nexus 9 Original Android Development] Bryanx86:
[MENTION=5501864]USBhost[/MENTION] Just want to say thank you for being one of the hardest working kernel devs, you do an amazing job for our flounders. Thank you sir
[Nexus 9 Original Android Development] mward7221:
Great Kernel

I just tried your kernel for the first time about a week ago and it has completely transformed my N9. I had tried a number of ROM's and kernel configurations and would always get freeze ups, normally several times a day. Since I started using the Fire and Ice kernel I haven't had one single freeze. Thank you so much for your hard work and somehow understanding what the N9 needs.
[Nexus 9 Original Android Development] infernusdark:
SafetyNet patch?

Enviado desde mi Nexus 9 mediante Tapatalk
[Nexus 9 Original Android Development] USBhost:
This kernel mods system.

So SafetyNet will not be supported.
[Nexus 9 Original Android Development] infernusdark:
I have flashed another kernel and restarted after booting

Enviado desde mi Nexus 6P mediante Tapatalk
[Nexus 9 Original Android Development] USBhost:
you mean bootloop?
[Nexus 9 Original Android Development] USBhost:
K10.6.4 is up

K10.6.4

-| Latest: from google

-| updated: UKSM to 0.1.2.6

-| April: security update

i know, no kernel gov... i have been very busy as of late moving, school etc

especially deadlines on the 13th. wish me luck i'll need it!
[Nexus 9 Original Android Development] USBhost:
are you still?

is your data f2fs?
[Nexus 9 Original Android Development] brutalv4:
Thanks for your hard work! Good luck with school! :fingers-crossed:
[Nexus 9 Original Android Development] infernusdark:
Yes

Enviado desde mi Nexus 6P mediante Tapatalk
[Nexus 9 Original Android Development] USBhost:
can you get a logcat?
[Nexus 9 Original Android Development] maelfilk:
Okay i don't exactly know where to dig... But i have some audio issues on latest PN and F-I. Sound in youtube, twitch and music players is fine, but it's super choppy and laggy in games, both hardware intensive and light. Never happened to me before.

UPD: did a clean install this time without Magisk, sound issue seems to be gone... Weird.
[Nexus 9 Original Android Development] Marky__Mark:
Ok so i just ran into an issue. I was on marshmallow with fire and ice and had data f2fs. I wiped everything but data and uprgraded to 7.1.2 with fire and ice. That flashed successfully and everything runs fine but i now cannot wipe davlik to do a dirty flash. I know what happens when i switch to ext so i dont want to do that. Any ideas on how to correct this without wiping my internal storage?

---------- Post added at 11:38 AM ---------- Previous post was at 11:30 AM ----------

Never mind. I fixed it by reflashing your kernel.
[Nexus 9 Original Android Development] Bryanx86:
Good luck!
[Nexus 9 Original Android Development] USBhost:
Thanks man ! I'll be a free man after Sunday!
[Nexus 9 Original Android Development] Maraudeur:
Hi, [MENTION=5501864]USBhost[/MENTION] ! Your kernel is awesome ,but I have one question. Could you please add TTL fixation, if it's possible?
[Nexus 9 Original Android Development] USBhost:
TTL?
[Nexus 9 Original Android Development] Maraudeur:
Yeah, to support apps like this https://play.google.com/store/apps/details?id=org.segin.ttleditor
[Nexus 9 Original Android Development] USBhost:
O sure!
[Nexus 9 Original Android Development] USBhost:
K10.6.5 is up

K10.6.5

2017-04-28

-| Latest: from google :: lots of sdcardfs fixes etc...

-| added: sublime cpu gov

-| added: support for those TTL apps

-| 7.1.2: if your on it you will get something cool :: if you do not already have it.

Hi again everyone! Long time no see :silly:

Most (if not all) of my USB bandwidth was being used to move from one home drive to the new one.

Also most of my CPU usage was with school processing a bunch of random nonsense for some deadline.

So my system load was vary high! :cool:

Enjoy the new update!
[Nexus 9 Original Android Development] dictionary:
If it's something that's already enabled in your latest rom, then booo, lol. Was looking forward to something new. Will flash in a bit.
[Nexus 9 Original Android Development] USBhost:
Gahhh you jinxed it man lol. :eek: