yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] wantowan2:
OK, happened first time in a while. 12% battery, no battery saver dialogue, then crashed.

https://drive.google.com/file/d/0B6SlEmAAY2geU1BNRmFCMVdWVzA/view?usp=drivesdk

Hope this helps.

Just throwing this out there. Could it have anything to do with quick charging? Probably not but something got in the way of the saver under load. Even kernel panic would tell me its shutting down. Race would cause lag. Storage failure would be a one off.

Maybe some driver that doesn't get used till the end of battery cycle. While the video driver fails, so does everything else. Usually android protects itself way better then this.

I'm on that 16 August build.

The most recent build posted is 31 July
[Nexus 9 Original Android Development] 777.300:
Has someone passed safetynet with this kernel when using Magisk?

Using this combi with PureNexus ROM on my N9 and safetynet check fails.

Verstuurd vanaf mijn Nexus 9 met Tapatalk
[Nexus 9 Original Android Development] Marky__Mark:
[MENTION=5501864]USBhost[/MENTION] Im on your latest kernel and is there any way i can dirty flash a nightly without your kernel and not have to do a factory reset to boot?
[Nexus 9 Original Android Development] USBhost:
Someone said it did

https://xdaforums.com/showpost.php?p=73083849&postcount=3649

If your on ext4 data then go ahead!

If your on f2fs... You can try but chances are you will get data corruption.
[Nexus 9 Original Android Development] Marky__Mark:
Oh yeah, that fun stuff...thanks
[Nexus 9 Original Android Development] Marky__Mark:
Your kernel runs fantastic after i flash with a dirty flash, then after a couple days it lags so much.

---------- Post added at 04:50 PM ---------- Previous post was at 04:42 PM ----------

Just undid all of my settings. See if that helps. So far, so good.
[Nexus 9 Original Android Development] RancidPenguins:
I've tried on Pure Nexus, Lineage, RR, AOSP and stock. Works great, just make sure you have USB debugging off.
[Nexus 9 Original Android Development] italynstylion:
Does this Kernel support the ability to charge the device via OTG Y cable and still have USB devices mounted? For example, one end of the OTG Y cable charges the device and the other end has a USB hub attached with a USB drive, USB DAC, etc... Looking for a replacement to Timur's kernel from way back.
[Nexus 9 Original Android Development] USBhost:
From what I heard no. but it was supposed to work, its in the kernel and everything.
[Nexus 9 Original Android Development] b1g.p0ppa:
Am I just being dense? I can't find a link to download 10.6.9.
[Nexus 9 Original Android Development] USBhost:
Let's just say it will be there soon.

The real reason is I found a problem and pulled it and I procrastinated to much.

So.. it should be up in like 20min...
[Nexus 9 Original Android Development] b1g.p0ppa:
Thank you!
[Nexus 9 Original Android Development] USBhost:
K10.6.9 is up

changelog will come later this weekend

Edit: as you can see it's no longer the weekend...

Gahh!!!
[Nexus 9 Original Android Development] italynstylion:
Thanks for the answer Sir!

Can anyone confirm or deny this by testing really quick with their device? I'm trying to avoid blowing away my current config to test it. I'd also have to remove it from the dash of my truck so.... :D
[Nexus 9 Original Android Development] tamjan:
Well, my findings suggests caution.

First of all, I messed up my system using the first 10.6.9 release. Not having a recent backup, I decided to re-install. I've been wanting to switch to the official LOS v14.1 dist for a while anyway, so no biggie. But I could not connect to wi-fi using the new 10.6.9, the tablet was perceived slower/laggier than usual, and had to revert to 10.6.8.1 to install satisfactorily. Haven't really found a good reason to try to upgrade again after that experience. I hope the issue gets figured out. This kernel is like almost a prerequisite for a somewhat working N9!
[Nexus 9 Original Android Development] mute66:
Installed 10.6.9 yesterday, no problems here.
[Nexus 9 Original Android Development] b1g.p0ppa:
Also happy to report no problems whatsoever with 10.6.9.
[Nexus 9 Original Android Development] enriquejones666:
Agreed. There is a thread under Q&A discussing places you can buy a 3rd party replacement battery (unfortunately, there is no OEM replacement). Luckily, battery replacement is a cinch on the N9.
[Nexus 9 Original Android Development] USBhost:
K10.6.9.1 is up

K10.6.9-.1

2017-09-(07-15)

-| Latest: from google :: mostly sdcardfs stuff

-| Latest: security updates as to Sep

-| Initial: Android O support

-| Removed: graphite optimization :: it seemed to degrade performance over time

-| Added: NFS and CIFS network file systems

Well guys it's been a long overdue... I have been busy as of late with University work and im just starting my second week. So that explains why i've been so absent as of late. Also I have been trying to fix HW on Android O still without luck (if anyone's good with reverse engineering PM me). Well anyways Enjoy everyone wish me luck! :good:

PS: I decided to just make a new post without editing the old one

so more people can see what happened.
[Nexus 9 Original Android Development] Maraudeur:
[MENTION=5501864]USBhost[/MENTION] Hi! Thank you, K10.6.9 is very smooth, but still iptables dont work. K10.6.5 is the last version with working iptables?
[Nexus 9 Original Android Development] USBhost:
And you tell me now....

Will look into it
[Nexus 9 Original Android Development] Maraudeur:
I told you once. When K10.6.7 released. But you said that you hadn't changed this part of kernel)
[Nexus 9 Original Android Development] fhem:
Any diff between the builds on your GD?? Small diff in the time stamps --- just wondering.

Thanks much for your continued support and hard work. Study hard and learn much -- that's the most important thing you have to do. Good Luck. :good::cool:

EDIT: Well DUH M vs N I got it LOL sorry my old brain don't work so good sometimes.
[Nexus 9 Original Android Development] albsat:
[MENTION=5501864]USBhost[/MENTION]

I hope you manage to fix HW on Android O. You will get the right ideas while you will be studying. :)
[Nexus 9 Original Android Development] Marky__Mark:
My device freezes up frequently and have to reboot on this update.
[Nexus 9 Original Android Development] italynstylion:
Just blew away my old config to test this and sadly it doesn't work. If you could get that one feature working I'd be over the moon. I know it's technically possible on this device since I had it working with another kernel (one that's halted development unfortunately). I'd be happy to do any type of testing needed.
[Nexus 9 Original Android Development] USBhost:
any examples you can give me so i can test in my end?

Any logs? What were you doing? what version were you on before?

what kernel were you on before ?
[Nexus 9 Original Android Development] Marky__Mark:
No logs. I was on Facebook and got a notification from another app and freeze. It mostly froze when i use Gello browser. Im on AICP and just dirty flashed the latest nightly/vendor. Ill see if that helps and let you know.
[Nexus 9 Original Android Development] italynstylion:
It was a beta version of Timur's "kernel" which is more USB host + services bolted onto the stock kernel. Same thing he has for the Nexus 7 listed here.

https://timur.mobi/
[Nexus 9 Original Android Development] USBhost:
Looking forward.

Not that guy again....

Question did he at anytime have a beta version for flounder? And source code for the kernel?

Someone else already told me about him.

And the source code he gives is so hard to read and assuming if it's the right one.
[Nexus 9 Original Android Development] Marky__Mark:
I havent had any freezes since.
[Nexus 9 Original Android Development] italynstylion:
Yes he had a beta version; that's all that ever existed (and what I have). It never made it out of beta though which was sad because it was SO close to being ready for prime time.

I'm thinking I may have found a way to make it work though. By using Tasker to automate a few things his kernel did (sleep, suspend, etc) I can use the one VERY stable feature of that kernel which is the ability to charge while having USB devices plugged in. I'll report on how it goes assuming it goes well. I'll be happy if it works but kinda bummed I would be able to use this kernel in tandem. Yours has always been the best for battery life and performance.
[Nexus 9 Original Android Development] AlexanderDG83:
On latest lineageos nightly, the backlight setting not work. I try fire-ice K10.6.8.1 and K10.6.9.1, same problem! [emoji849]
[Nexus 9 Original Android Development] Choochter:
Only the latest nightly? Probably a lineageos problem then
[Nexus 9 Original Android Development] 777.300:
I read a lot about device hangups lately.

I experienced them to on the latest kernels and had 1 or 2 hangups a day using different apps (sorry no logs).

It became really annoying and the love for my N9 degraded.

I remembered that when I started with Fire-Ice kernel all was fine and it saved my N9 from selling it.

One week ago I went back to the first Fire-Ice version I used in the beginning of 2017.

I flashed FIRE-ICE N K10.6.5 04-28-2017.zip and guess what, the N9 hasn't had a hangup since then.

All great again and the love for the N9 is back.

So my advice to everyone experiencing hangup, use the version mentioned before and see if it helps.

Greeting from the Netherlands
[Nexus 9 Original Android Development] USBhost:
Quick news update.

K10.6.10 will be up this weekend.

And in other news I will be going to the "Albuquerque International Balloon Fiesta" if anyone of you are going hit me up I'll love to say hi. Anyways good luck everyone

[MENTION=3284446]777.300[/MENTION] I'll see what I can do
[Nexus 9 Original Android Development] 777.300:
Have fun in Albuquerque.

Greetings

Verstuurd vanaf mijn Nexus 9 met Tapatalk
[Nexus 9 Original Android Development] Marky__Mark:
Did the same thing. Gold!
[Nexus 9 Original Android Development] 777.300:
The old version rocks, not a single hangup since installing. [emoji2] [emoji2] [emoji2]
[Nexus 9 Original Android Development] USBhost:
[MENTION=3284446]777.300[/MENTION] [MENTION=6362361]Marky__Mark[/MENTION]

Try this. i removed all changes to ksm to before k10.6.5

Tell me as soon as you can if your problems are fixed.
[Nexus 9 Original Android Development] 777.300:
Installing right now. Will keep you informed.

Thanks for all your hard work on this kernel, much appreciated.
[Nexus 9 Original Android Development] 777.300:
Used the N9 the whole morning, no hangup until now, great.

Will report back within a couple of days.

Verstuurd vanaf mijn Nexus 5X met Tapatalk
[Nexus 9 Original Android Development] Marky__Mark:
Thanks. Just installed and ill report back.
[Nexus 9 Original Android Development] 777.300:
Today first hangup on latest kernel when browsing with Firefox.

Can someone explain how to retrieve crash logs?
[Nexus 9 Original Android Development] USBhost:
What exactly happens .

Does the tablet freeze or just the app?

If you leave your tablet for awhile does it resume?

Just look the Q/A in the first page . It should be the first question.
[Nexus 9 Original Android Development] Marky__Mark:
Had a hangup today. I use gello browser.
[Nexus 9 Original Android Development] USBhost:
Ok thanks. It good to know ksm was not the problem.

Going to try something else expect an update later today.
[Nexus 9 Original Android Development] 777.300:
The whole tablet freezes.

Left it alone for +-2 minutes, than forced reboot via pwr button.

Sorry I missed your info in the first post.

Here is my log, hope it is helpful.

Greetings

http://cloud.tapatalk.com/s/59dbb8367b3ae/console-ramoops-0.zip
[Nexus 9 Original Android Development] Marky__Mark:
Thats what i get too.
[Nexus 9 Original Android Development] USBhost:
ok new test version. i think this did it.
[MENTION=3284446]777.300[/MENTION] [MENTION=6362361]Marky__Mark[/MENTION]
[Nexus 9 Original Android Development] Marky__Mark:
Thanks. Trying it out.
[Nexus 9 Original Android Development] 777.300:
Thanks, flashing right now.
[Nexus 9 Original Android Development] 777.300:
It is looking great until now.

After flashing this morning and heavy usage today the N9 was running smoothly and without freezing. Hope this stays this way the upcoming days.

Thanks again for all your work on this kernel.

Verstuurd vanaf mijn Nexus 5X met Tapatalk
[Nexus 9 Original Android Development] Marky__Mark:
My tablet has been running like crap lately. I had xposed installed and just uninstalled it. Hopefully thats the problem.
[Nexus 9 Original Android Development] Marky__Mark:
Theres my tablet again. Running great!
[Nexus 9 Original Android Development] madbat99:
I was just about to try Xposed. Thanks for the warning.
[Nexus 9 Original Android Development] Marky__Mark:
It seems like it makes apps use more ram and our nexus 9 cant handle that well.
[Nexus 9 Original Android Development] USBhost:
How's everything? Any freezes?
[Nexus 9 Original Android Development] buttie:
None so far. It used to freeze on me mainly during playing video (Plex and Netflix, occasionally YouTube). I've flashed K10.6.10 10-09-2017 along with latest LineageOS build and tablet is still up since then.
[Nexus 9 Original Android Development] 777.300:
I believe you fixed it.

No freezes observed since I installed latest version.

Great.
[Nexus 9 Original Android Development] PieceKeepr:
I was also having bad freezing issues and I have been using the test kernel for a couple of days now and it seems to be working great. Was able to watch a couple YouTube videos and did quite a bit of browsing with multiple browser tabs open and everything worked as it should. Normally I would have had to force a reboot somewhere along the way if the tablet didn't crash and reboot on it's own.
[Nexus 9 Original Android Development] Marky__Mark:
So far, so good!
[Nexus 9 Original Android Development] 777.300:
Sure, still good.
[Nexus 9 Original Android Development] USBhost:
Does anyone still use marshmallow?

I'm thinking about dropping support for it.

To be honest I'm just procrastinating to fix the merge conflicts of the security update for the marshmallow branch
[Nexus 9 Original Android Development] JaylanPHNX:
Nope
[Nexus 9 Original Android Development] Choochter:
Just check the download logs
[Nexus 9 Original Android Development] jolinnard:
No... :eek: drop it IMHO
[Nexus 9 Original Android Development] USBhost:
K10.6.10 is up

K10.6.10

-| Latest: from google :: only net stuff

-| Security: updates as to Oct

-| Support: 32bit ramdisks :: this is an installer only fix meant to support "My AOSP" 32bit version

-| Fixed: freezing that came from K10.6.6 :: lowmemorykiller stuff that was broken was reverted.

K10.6.10 is up only for N-O ATM (M will come when I finish it) and it will be the last version that will support M. Unless someone says they're still on M.

Edit: ok now it's all good
[Nexus 9 Original Android Development] didnt1able:
Updater ends in error 2 on every rom tested 8.0,7.1.2 and 7.1.2 32 bit.
[Nexus 9 Original Android Development] Choochter:
Same here, Pure Nexus, 7.12
[Nexus 9 Original Android Development] USBhost:
Gerr.... Let me check what happened...

FIXED... blame my sleep
[Nexus 9 Original Android Development] yakov116:
Still erroring me out
[Nexus 9 Original Android Development] USBhost:
try again. i reuploaded it and made sure it works
[Nexus 9 Original Android Development] yakov116:
Worked!

Thanks
[Nexus 9 Original Android Development] PieceKeepr:
The latest version didn't error and stop but I got all of this.
[Nexus 9 Original Android Development] USBhost:
OK... that should not have happened

Ok I remade the zip and reuploaded it.

sorry for all the inconveniences

also that error you got meant it didn't flash.

EDIT: Does anyone else have problems ?

EDIT2: found the real problem.

OK for real this time all problems have been fixed.

if not ....... i will give you a thinks
[Nexus 9 Original Android Development] PieceKeepr:
Newest version flashed fine and I'm using it now.
[Nexus 9 Original Android Development] Dark_One:
It flashed fine for me. I've been using it with the latest N Lineage and everything has been perfect
[Nexus 9 Original Android Development] 777.300:
Latest flashed fine. Thanks again.
[Nexus 9 Original Android Development] AlexanderDG83:
Installed latest kernel on lineageos 14.1; backlight setting works fine! Thanks! [emoji6]
[Nexus 9 Original Android Development] lmulli:
Any reason why my Snapchat won't work after installing this kernel? Using latest Su and have SuHide set accordingly. Works with the default kernel that comes with my ROM. Thanks.
[Nexus 9 Original Android Development] Marky__Mark:
My tablet still freezes quite a bit.
[Nexus 9 Original Android Development] yakov116:
Mine too
[Nexus 9 Original Android Development] USBhost:
Probably because the kernel writes to system.

I do not support systemless.

Is it any different than the test version you tried?
[Nexus 9 Original Android Development] yakov116:
The last version has been the best one in a looong time
[Nexus 9 Original Android Development] USBhost:
https://xdaforums.com/showpost.php?p=74101449&postcount=3744 this one ?
[Nexus 9 Original Android Development] yakov116:
Yes
[Nexus 9 Original Android Development] Marky__Mark:
You dont support systemless?
[Nexus 9 Original Android Development] USBhost:
Nope because of f2fs.

Sure SuperSU etc will work but don't expect safety net to pass. If it does cheers !
[Nexus 9 Original Android Development] USBhost:
Ok. Now that's weird.

Like nothing changed over that to release.
[Nexus 9 Original Android Development] Marky__Mark:
Ah
[Nexus 9 Original Android Development] Marky__Mark:
Yeah this test version is good.
[Nexus 9 Original Android Development] USBhost:
OK then.... try this...

i just reverted the common android merge.

Edit: removed
[Nexus 9 Original Android Development] dumdum2:
I've tried 10.6.10 and had some problems with google play when changing accounts. It seems it crashes the application.

Reverted to 10.6.7 and all seems fine now.
[Nexus 9 Original Android Development] 777.300:
Hi USB host,

Compared version 10.6.10 (10-17-2017) with 10.6.5 (04-28-2017)

With 10.6.10 I had 2 hangups last 5 days.

10.6.5 never hangs.

Greetings from the Netherlands.

Verstuurd vanaf mijn Nexus 5X met Tapatalk
[Nexus 9 Original Android Development] 777.300:
Just flashed, will report back in a couple of days.
[Nexus 9 Original Android Development] phillysmako:
OK cool! Thank you sir

:)
[Nexus 9 Original Android Development] frankt2012:
For some reason when I create a script in smanger for the interactive fix I get "No such directoryu/cpufreq/interactive/above_hispeed_delay". I also get this for boost and timer_slack. The directory is there and so are all the files. I copy and pasted from the first post. I don't get what is going on. Any help would be awesome. Would love to get this script working. Kernel is awesome also. Thank you Usbhost for all the great work. I also attached a text copy of how I made the script.

-Frank
[Nexus 9 Original Android Development] USBhost:
Hmm it sould have worked...

Does the one I attached

Work?

Does this one work

You need to select root in SM

echo "40000 1020000:50000 1536000:80000" > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay
echo 1000000 > /sys/devices/system/cpu/cpufreq/interactive/boostpulse_duration
echo 1020000 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
echo 60000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
echo "70 1020000:95 1536000:80" > /sys/devices/system/cpu/cpufreq/interactive/target_loads
echo 20000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate
echo 20000 > /sys/devices/system/cpu/cpufreq/interactive/timer_slack

Also side note:

Tasker works too

But if your going to use tasker

Tell me so I can give you a edited script for that
[Nexus 9 Original Android Development] frankt2012:
Thank you so much. When I get home from work I will try this out. I never tried tasker before. Is tasker better then smanager?

-Frank
[Nexus 9 Original Android Development] kyleco:
I would be interested in that tasker script if you could post it! Thanks!
[Nexus 9 Original Android Development] djkinetic:
Not sure if this is kernel related but thought I'd share, so I was on Lollipalooza with USB Host modified TWRP, I flashed official TWRP 2.8.3.0 and then K4 when I booted into pc i got an unsuccessful decryption error corrupted data even though my system and data was unencrypted before on previous releases of the kernel. I figured whatever ill just factory restore, so I did and same thing decryption error, so i flashed the factory images from google and was able to boot back in but encrypted of course, so i reflashed TWRP 2.8.3.0 and wiped user data/factory reset in bootloader and then flashed k4 again, and once again upon boot decryption error corrupted data message. Is the new TWRP and K4 not compatible with each other?
[Nexus 9 Original Android Development] Kazba1626:
Same thing happened to me with new TWRP. I haven't attempted to reflash with modified recovery.
[Nexus 9 Original Android Development] USBhost:
Well yes and no

Tasker does not support 64bit fully

Only echo root commands work as of this time

PM me

If you want the full script its kind long

The system kernel has nothing to do with recovery and its operations

And ty for the warning

I will not stay on 2.8.3.0

And i will update my modded recovery soon
[Nexus 9 Original Android Development] djkinetic:
I figured it shouldnt, but something is going on, with the combination of new TWRP and the K4 kernel, I'll flash back to the previous TWRP till your modified recovery is updated.
[Nexus 9 Original Android Development] frankt2012:
Ok that script worked. I think my problem was making it in windows and then copying it to the tablet. Thank you for the help.

-Frank
[Nexus 9 Original Android Development] USBhost:
s.basketbuild.com seems to be down

mirror link coming up
[Nexus 9 Original Android Development] USBhost:
Im doing some changes to lowmemorykiller
[Nexus 9 Original Android Development] buffalo_guy:
Can't load kernel. Decrypt error

Something here. Has anyone tried the modded TWRP or an earlier release? For now I am running the stock kernel.
[Nexus 9 Original Android Development] USBhost:
R4 is twrp 2.8.2.1

And i know about the decrypt problem

I think i will i will just keep

The twrp stock kernel for now to try too figure out what's going on
[Nexus 9 Original Android Development] USBhost:
Look what i got haha

Edit: I think I found the RAM bug
[Nexus 9 Original Android Development] kyleco:
Awesome! Thank you! I've been running stock kernel for a while and have had much better memory management(had a problem and reflashed stock images). I will flash your kernel and test it once you release! Looking forward to it!
[Nexus 9 Original Android Development] USBhost:
ii ty

making sure its not a freak of nature

But i hope not lol
[Nexus 9 Original Android Development] Vinzie:
Nice:D This RAM bug fix will be available in the next kernel release? Great work:good:
[Nexus 9 Original Android Development] USBhost:
You bet!!
[Nexus 9 Original Android Development] USBhost:
Ok guys after 1 day of using

Chrom gamil youtube

Tasker

pretty much multitasking a lot

The ram will go low when you have a bunch of apps in recents

+ I made lowmemorykiller less aggressive

I do say so my self I think I found that RAM bug haha hehe
[Nexus 9 Original Android Development] Marky__Mark:
Been using this the last couple days and its much better.
[Nexus 9 Original Android Development] PieceKeepr:
Working pretty good here as well. A little stuttering in video playback at times but no freezes so far.
[Nexus 9 Original Android Development] Marky__Mark:
Mine does that too.
[Nexus 9 Original Android Development] USBhost:
in what videos?

new test. this time i only did this https://github.com/USBhost/FIRE-ICE/commit/f80047678395e299951ab7946af9340ed4096ad9 to see if this did it.
[Nexus 9 Original Android Development] Marky__Mark:
Any browser embedded videos. Especially in full screen.

---------- Post added at 04:47 PM ---------- Previous post was at 04:46 PM ----------

Will report back. Thanks