yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] henderjr:
Hi. I'm a fairly new owner of this device purchased second hand from eBay. Definitely not a noob in the root/flashing/android world though. So I am running the latest 7.1 release rooted (or maybe it's 7.1.1? whatever the absolute latest beta is). I thought I'd give this kernel a try last night. I flashed it with FlashFire and everything seems fine. I just cannot, for the life of me, figure out how to change the brightness. I have terminal emulator installed (and am familiar with it) but can't get any sort of BL (or bl) command to be recognized. Generally I just tried bl -r but kept getting the same error (command not recognized or something similar). I also tried giving SU access first by entering in su and then the bl -r command after I get root access. What am I missing? I didn't find any help in the search but sorry if I missed something. I tend to spend the majority of my time reading on my N9 at night in bed and it was wayyyy too bright last night. Thanks for any help!
[Nexus 9 Original Android Development] Choochter:
As a stopgap you might want to try f.lux from the Play store, helps a lot with nighttime reading
[Nexus 9 Original Android Development] Bryanx86:
C.f.lumen by chain fire is an app that can adjust your brightness and screen tint
[Nexus 9 Original Android Development] USBhost:
My kernel needs to be flashed from recovery for bl to work.
[Nexus 9 Original Android Development] USBhost:
K10.5.4 is up

K10.5.4

-| updated: to N 7.1.1 kernel source

-| slight: cleanup of the K10.5 full system freeze fix

Happy Holidays!
[Nexus 9 Original Android Development] USBhost:
Thanks everyone for testing.

K10.5.5 will be up today.
[Nexus 9 Original Android Development] buttie:
Test 1 and 2 froze while watching video, test 1 on YouTube and test 2 on Amazon Video to be exact. Uptime varies but is not longer than 3h. Didn't check 3 yet.

BTW: did you change anything in recovery kernel in test 1 or 2? TWRP rebooted on me once in a while on idle and every time when I tried to flash ROM. Problem disappeared after flashing test 3.
[Nexus 9 Original Android Development] USBhost:
only the kernel.

what im testing is what causing the freeze i had on K10.5.4(K10.5.3 i had an uptime of 3days+).

1.2.3 all had freezing. im trying to make sure this was really the problem.

PS. test 4 is up if you want to try.
[Nexus 9 Original Android Development] buttie:
I've clocked almost 4 days on 10.5.3 with ResurrectionRemix, it froze eventually but for this dreadful tablet it's still exceptional result. ;)

Although I've had video freezes on Netflix, other video apps (Amazon Video, BBC iPlayer, SeeSo) run smoothly.

On test 3 I'm on hour 9, but didn't use tablet very intensely, will check test 4.
[Nexus 9 Original Android Development] blackbuffalo:
Good news. I'm on Test 4 and when play video on youtube, it not freeze :good:

PS:

1. I updated to 7.1.1 and get random freeze with test 4. Back to 5.3 version and will test with test 6
[Nexus 9 Original Android Development] buttie:
Test 4 is better than 1, 2 and 3, but still far from stable. Although, freeze on test 4 is not permanent like before, after a minute or three tablet unfreeze itself so now I'm on 24h of uptime even though it froze on me at least 4 times.
[Nexus 9 Original Android Development] USBhost:
K10.5.5 is up

K10.5.5

-| latest: from google

-| reverted: "slight: cleanup of the K10.5 full system freeze fix" because the freezes came back

edit: man i must be sleepy lol fixed
[Nexus 9 Original Android Development] oldseddie:
10.5.5 fixed a problem I had with Tecarta Bible not scrolling. So far looks like a keeper. Thanks for you work!
[Nexus 9 Original Android Development] buttie:
Sadly problem with Netflix is back on 10.5.5 and 10.5.6.
[Nexus 9 Original Android Development] USBhost:
Hmm...

edit: 1 (again... :( ) Anyone if you are getting freezes please help me test. this bug needs to be killed!

well here's a new testing version....

please let me know if anything happened.

edit: 2 (if you were on edit 1 please stay on that version to see if it will freeze)

edit: 3 (edit 2 failed)

new test everyone from test 1 please test this version
[Nexus 9 Original Android Development] buttie:
Netflix works! Thx.

Now we'll see how with stability. ;)
[Nexus 9 Original Android Development] oldseddie:
I got a freeze so I'm game for it. I assume it's OK to flash over 10.5.5 but I will do some reading first.
[Nexus 9 Original Android Development] davall:
Thanks for working continously on this excellent kernel.

On my 7.11 ABCrom i get a problem with the battery indicator and akku display when i install your kernel zip. The cause seems to be inside your kernel zip and not the kernel itself. Maybe the healthd in your zip is to old? Can you take a look? Am i the only one with this problem on latest 7.11?
[Nexus 9 Original Android Development] USBhost:
Yeah it's fine.

Thanks for the report.

I will add the new healthd from 7.1.1
[Nexus 9 Original Android Development] buttie:
Update from battlefield:

- test 1 froze in hour 24 when tablet wasn't even in use (not sure if it's kernel issue though),

- test 2 is on hour 27 of uptime, it choked a bit once while watching Twitch but recovered after a minute, no other issues so far.

- I'm starting with test 3 now
[Nexus 9 Original Android Development] Choochter:
[MENTION=5501864]USBhost[/MENTION] I'm using N K10.5.6 and I notice that there's no choice of I/O scheduler anymore - any chance of this changing in future?
[Nexus 9 Original Android Development] USBhost:
Umm... are you sure they're not there?

i never removed it.
[Nexus 9 Original Android Development] Choochter:
Tried flashing it again, only got noop
[Nexus 9 Original Android Development] dictionary:
Pm sent.

[MENTION=5501864]USBhost[/MENTION] not sure if it even sent. It's not showing up in XDALabs (where I sent it from)
[Nexus 9 Original Android Development] USBhost:
Replied.

edit: 4 (i think this will do it)

edit: 5 (i think i found something...)

edit: 5.1 (no new version)

i think what i been doing is just a small/temporary workaround...

there's something bigger i'm not seeing... what can it be?...

edit: 6 (let me know if you get any freezes)
[Nexus 9 Original Android Development] davall:
[MENTION=5501864]USBhost[/MENTION] did you exchange healthd with the 7.1.1 version?

Edit: My bad. Looked in the zip. Thanks!
[Nexus 9 Original Android Development] USBhost:
Ok guys...

How was test 4?
[Nexus 9 Original Android Development] buttie:
For me results are... mixed. I've got to 38 hours when tablet finally froze permanently (during installing updates from Play store), but I've got a few chokes earlier. It takes from a minute up to 5 for tablet to recover from them.

Although when it works, it works good, tablet feels fast and all the apps (including Netflix) run smooth and are responsive. In the end of the day: it's still the best experience on this tablet with Nougat
[Nexus 9 Original Android Development] USBhost:
thanks for the all help!

test 5 is up if you want to test.

its another one of my theories.

If you get any freezes let me know.
[Nexus 9 Original Android Development] Bryanx86:
I will try testing as well, is there anything i need to do to help you test other than report freezes? Also I'm using substratum, will your kernel break any already applied overlays? I am on ABCrom 7.1.1, anything else i should know?
[Nexus 9 Original Android Development] wantowan2:
I wish I had time to dive into this. I think that when you take a step back, way back and look at when the N9 bug started. (One of the first things I would try to find out) What ever it is has now spanned 3 android versions. Even when you look at googles git, development for the N9 dripped like a cliff when Nexus went away from the whole Denver/tegra experiment. Its stuck @ v.1.0 . That also means that the bionic people might not be tracking it. (You do strait compile on kernel source or @ top of device repos??? Hmmmm) That would be an interesting test. I always did think that compiling in a device tree pulled the kernel from being solely Linux over to android a bit more. If you look at the buffer, there is a sack more going on @ make bootimage then strait make @ kernel source.

Or maybe its the long game. See, its happening with everybody. What about repatching the kernel with every sequential update patch from conception on. I just don't know about mass patching and patch bundles.

Another thing is I haven't tried taking a full google update pack from the image site and first flashing it and if it fixed stuff to diff the whole freaking thing. I think it would become clear quickly at that point that it isn't even in the kernel, honestly.

Back on skyrocket, I would rebase my oc kernel every year, maybe add something when it came up like quick charge but that was it. There wasn't enough to do in just the kernel so I posted some ROMs that had my kernel.

Baaaaahhhh! lol

Maybe over Christmas I will try FI with a factory image
[Nexus 9 Original Android Development] Bryanx86:
There is such a remarkable difference in your kernel and everyone elses. Tablet is flying now and I've noticed CPU is clocked lower than the previous kernel i was using. It charges faster, responds quicker, and doesn't get as hot. Awesome job! Thank you!
[Nexus 9 Original Android Development] USBhost:
it will not break any already applied overlays...

it will just break changes.

i just got a idea.... (i'll leave it for the next update)

Thanks for those thoughts!

But i do have some hunches that it's not the ROM.
[Nexus 9 Original Android Development] enriquejones666:
Are you compiling this yourself or is this available publicly somewhere? (Sorry for thread hijack)
[Nexus 9 Original Android Development] Bryanx86:
ABCrom flounderworks very well with latest test fireice kernel
[Nexus 9 Original Android Development] USBhost:
How are things????
[Nexus 9 Original Android Development] lmulli:
That is one messed up thread!

---------- Post added at 07:40 AM ---------- Previous post was at 07:39 AM ----------

No immediate issues identified here thanks.
[Nexus 9 Original Android Development] Bryanx86:
Everything works good on flounder with test 5, haven't had a freeze yet, sometimes have lag when typing.

---------- Post added at 08:57 AM ---------- Previous post was at 08:43 AM ----------

Yes but it is a great ROM, I have it on my nex9 and my 6p. Runs great and has good battery life
[Nexus 9 Original Android Development] USBhost:
K10.5.7 is up

K10.5.6-7

-| latest: from google

-| latest: f2fs

-| redo: that K10.5 system freeze fix

-| fix: battery for 7.1.1 for custom ROMs

-| some: cleanups... :: not much

Merry Christmas! everyone!!! and a happy new year!

also a thanks for everyone for the testing! you guys are the best!

OT: RIP CyanogenMod/Cyanogen Inc

I never liked your caf stuff but... its sad to see you go. i wish you all the best!

"When a tree falls many shall take its place"

LineageOS GOOD LUCK!

(2017 is looking to be a great new year! unlike 2016)
[Nexus 9 Original Android Development] dj stewie:
I've been suggested this kernel as I'm experiencing long charging time with the ROM Noobbuilds.

Everytime I try to install the kernel, either previous version or last, I get the following response from the twrp.

Do I do something wrong? I just place the file in the sdcard folder(not in any subfolder) I reboot in recovery and tap install. It directs me to sdcard path from which I select the file and the flash starts, which interrupts after few second with the error above.

Any help?
[Nexus 9 Original Android Development] Bryanx86:
Check the md5 of your download, it could be just a bad download, and also make sure you are flashing over your ROM's original boot image, not just another custom kernel
[Nexus 9 Original Android Development] Choochter:
Turn off zip signature verification in TWRP settings
[Nexus 9 Original Android Development] dj stewie:
Another noob question here: What do you mean flashing it over the ROM's original boot image?

Thanks to both, will download last version today, check the md5 and try ticking off zip signature.
[Nexus 9 Original Android Development] Choochter:
On noobbuilds you're fine just flashing Fire-ice. In general, as was pointed out, you shouldn't flash a custom kernel over a different custom kernel, only over the provided one. It's OK to upgrade a custom kernel over an older version of itself however.
[Nexus 9 Original Android Development] dj stewie:
Solved the issue as suggested by Choochter, by disabling zip signature when in recovery mode.
[Nexus 9 Original Android Development] USBhost:
Here's something that I'm working on that will be in the next update.

It's mostly for stock ROMs about mounting USB drives.

If anyone has any suggestions please tell me :good:

Also I was thinking about a complete USB control tool

That will have formatting... File system repair, etc...

of all the supported file systems...

P.S. Happy New Year!!!
[Nexus 9 Original Android Development] jolinnard:
Happy New Year [MENTION=5501864]USBhost[/MENTION] !!

So you want to create a tool to manage USB disks? Will be an app or something only by command-line?

Functions implemented in attached txt are... ok. Maybe, to make things funny, you can use something like http://wiki.bash-hackers.org/howto/getopts_tutorial#using_it

One last thing... Why you chmod -R the entire USB? :silly:
[Nexus 9 Original Android Development] USBhost:
Wow thanks for that link!

Probably CMD line first then a tasker app(I already started it).

About Chmod... Sometimes Android does not want to read it.. plus it was my first rough draft :angel: I didn't like using Chmod myself

Chmod will be needed if root formated a drive

Because the user will be root when mounted. Changing user would probably be to problematic.
[Nexus 9 Original Android Development] USBhost:
im retesting to see if the january update fixed the freeze... i honestly dont think it did but o well lets test it anyway.

if you get any freeze please let me know ASAP!

EDIT: looks like i was right.... it was not fixed.

K10.5.8 will be out today
[Nexus 9 Original Android Development] jolinnard:
OK. You can try to add some options to mount... something like:

# mount -o gid=users,fmask=113,dmask=002 /dev/sda1 /mnt/usbstick

In Android I don't know if gid users exist... or if it has any sense...
[Nexus 9 Original Android Development] USBhost:
K10.5.8 is up

K10.5.8

-| updated: to the latest kernel source

-| FI.d: v56

Note's: usb mount tool added its still vary new but its working well

just type "usb -h" in terminal to get started.
[Nexus 9 Original Android Development] Marky__Mark:
I never heard that before and i just did it. Fire and ice over elemental x. It seems to be performing well.
[Nexus 9 Original Android Development] USBhost:
What I think he meant(one part that is) was if your using data f2fs on elemental x and coming here will upgrade the old f2fs to the new f2fs that is not backward compatible. If your using ext4 then your free to come and go.

I for one can't even boot stock kernel without the updated f2fs because boot will halt on mounting while throwing a bunch of errors.

Did I make sense?
[Nexus 9 Original Android Development] tibere86:
Kind of a side note, which Flounder ROM out there supports F2FS on /system + /data + /cache? I'd love to give it a spin.
[Nexus 9 Original Android Development] maelfilk:
I've seen some posts regarding bad sound quality on 7.1.1. Can this be fixes fir F-I kernel?
[Nexus 9 Original Android Development] USBhost:
I'm looking into it.

But... I have no idea other than audio to look for

[MENTION=6362361]Marky__Mark[/MENTION] I'll answer your question ASAP
[Nexus 9 Original Android Development] Marky__Mark:
Meh, its alright. Ive done it before. Made two mistakes. Should've cleared cache before switching to f2fs. Switched my data from f2fs to ext4 to try to correct it wiped the whole tablet. Learn the hard way sometimes, but Ill live.
[Nexus 9 Original Android Development] USBhost:
[MENTION=6362361]Marky__Mark[/MENTION]

All f2fs doesn't have much marit.

Cache does like nothing. You can format cache to swap and still be good(FI.d has that option)

System f2fs is not Worth the work to do especially with disk patching. It's not like the old ways as in the days of the Nexus 7 2012 before marshmallow/lollipop.

And system is mostly only read not write.
[Nexus 9 Original Android Development] Marky__Mark:
Ah. Thank you. I was wondering all that. Also, Arcus is no longer working and I can't figure it out. It force closes now. Think it might have to do with f2fs? I'm on marshmallow.
[Nexus 9 Original Android Development] topjohnwu:
[MENTION=5501864]USBhost[/MENTION], not sure where to ask appropriately so I'll just ask here :).

I'm currently on 100% stock rom from Google, the only feature I wanted to add is support for the notification light on my Nexus 9.

I had it on a custom rom I tried for a while ago (that was on Marshmallow), so I knew it was possible.

I'm aware that it requires a kernel patch, however does it also requires modifications on the system side?

I'll really appreciate it if you point out how to add this feature, I don't want to install a custom rom just for notification lights. I can't even know what custom roms has this currently.

Many thanks!
[Nexus 9 Original Android Development] Choochter:
That feature used to be available on Pure Nexus, maybe that's the ROM you're referring to. The code is still up on Github, if that's any use to you:

https://github.com/PureNexusProject-Legacy
[Nexus 9 Original Android Development] Marky__Mark:
10.5.7 arcus works. 10.5.8 arcus crashes.
[Nexus 9 Original Android Development] Marky__Mark:
I went back to marshmallow because of this.
[Nexus 9 Original Android Development] Bryanx86:
Resurrection remix, and ABCrom have what you're referring to. I also think Noobbuilds might. All are great ROMs with fire ice kernel
[Nexus 9 Original Android Development] USBhost:
I could have supported it if it was only a library (.so)

But it's more than that. It needs a ROM modification/patch. FIRE-ICE does no patching so...

No it will not be added. Sorry but if it was only a library (.so)

I know CM/L has it

Thanks for the report. I'll see what I can do.

Can you get a logcat of the crash?

Android 7 is still fine, the audio problem only came from 7.1.1
[Nexus 9 Original Android Development] USBhost:
how are things going?

everything stable?
[Nexus 9 Original Android Development] Marky__Mark:
Cant do a logcat for the arcus because im back on 10.5.7. But its easy to repro if you're on CM13. Install Arcus and an arcus theme and try to create a theme. The 2nd screen force closes.
[Nexus 9 Original Android Development] USBhost:
i'm on stock, going on to PURE NEXUS when i gets built.

but if your already on CM/L its a lot easier for you to test.

if not then in the week end ill test it.
[Nexus 9 Original Android Development] Marky__Mark:
If its ok to go back to 10.5.7 from 10.5.8, ill do it tomorrow or the next day.
[Nexus 9 Original Android Development] USBhost:
yep! i try to make it backwards compatible
[Nexus 9 Original Android Development] USBhost:
Pure Nexus

Do not flash FIRE-ICE or you may have broken battery reporting.

i know ill fix it

Note: when i tried stock OpenGapps it would not boot. pico worked.
[Nexus 9 Original Android Development] buffal0b1ll:
I built Pure Nexus the other day. It's here https://plus.google.com/+BillBlandford/posts/RWBRUg6F7ym

Experiencing the same issue as the Arcus reporter above when trying to build, enable, disable overlays in Substratum on 10.5.8 (10.5.7 is fine BTW) on every ROM with January security updates. ElementalX 5.07 has the same problem (and 5.06 works fine still too).

Here's a table that outlines the ROMs and kernel versions I've tried https://drive.google.com/open?id=1Ipwihi1hyOxudPJv_HfNKQKbATyTkt94tX23BnzpmlA

Here's a log http://pastebin.com/EXHkX5aL
[Nexus 9 Original Android Development] USBhost:
Thanks for the log.

Man... I wish things like that get posted on XDA...

I don't use Google+ lol:silly:
[Nexus 9 Original Android Development] Marky__Mark:
I have the logcat. PM me with your email and Ill email it to you.
[Nexus 9 Original Android Development] Vartom:
Try to add this comment

https://github.com/vartom/android_kernel_flounder/commit/8a09d06859a53bc4916a71e0416568cf7c65e06c

It seems like Google again outwit Nvidia drivers, but nothing happened.
[Nexus 9 Original Android Development] USBhost:
thanks man! i have a hard time thinking it was the gpu updates that did it..... man....
[Nexus 9 Original Android Development] maelfilk:
So i've been using latest android M version with Dirty Unicorns 6.0.1 and a lot of apps were crashing when i launch them. When i switched to another kernel they started working properly. Hopefully you'll fix it, cause F-I still gives the smoothest performance :)
[Nexus 9 Original Android Development] USBhost:
OK thanks for the report
[Nexus 9 Original Android Development] zamula:
I have the similar issue on a 6.01 ROM with the latest M version of the kernel. In my case EX File Explorer will crash after opening, but it's fine with the previous kernel version.

I'm wondering if it might have something to do with the January update, because an EX kernel user on the latest version reported the same issue. Here's a link to the post which has a log: http://xdaforums.com/showthread.php?p=70415750

Thanks for your time and all your efforts!
[Nexus 9 Original Android Development] USBhost:
Has anyone felt that there was an I/O deadlock on f2fs like nothing happens but no freeze?

https://xdaforums.com/showpost.php?p=70492947&postcount=8793

I'm like ?? Does this problem affect us?
[Nexus 9 Original Android Development] enriquejones666:
[MENTION=5501864]USBhost[/MENTION] Are you doing your own PureNexus builds, or are you using BuffaloBill's build? Trying to figure out which to use to test your latest FI kernels. {Sorry again for OT}
[Nexus 9 Original Android Development] USBhost:
i dropped doing PN builds so dont test on it.

------------------------------------------------------------------

ok guys the substratum app crash should not happen anymore.

also people that are still on MM/6.0.1 do you still have FC?
[Nexus 9 Original Android Development] Choochter:
Latest version of FI seems to have cured the battery issue on PN 7.1.1 - thanks
[Nexus 9 Original Android Development] zamula:
Issues seem fixed for me. Thanks again!
[Nexus 9 Original Android Development] Marky__Mark:
Fixed on mm! Thanks

Ill have to play around with it to see if its laggy like 10.5.8 was.
[Nexus 9 Original Android Development] Marky__Mark:
This kernel is pretty good!
[Nexus 9 Original Android Development] USBhost:
K10.5.9 will be up today
[Nexus 9 Original Android Development] Choochter:
Sorry, my audio's unchanged, on Pure Nexus 7.1.1
[Nexus 9 Original Android Development] USBhost:
OK thanks...

I will find the problem.... But I'll leave it for K10.5.10
[Nexus 9 Original Android Development] USBhost:
K10.5.9 is up

K10.5.9 Rolling:Terrier

-| latest: from google

-| FI.d: v57

-| fix: substratum app crash :: from the january update

-| fix: black screen of death :: from the january update

-| fix: MM FC :: from the january update

Thanks [MENTION=6556709]Vartom[/MENTION] for the substratum fix!

Notes:

i have been getting a (black screen of death) like when your N9 won't seem to wake from sleep. or just goes black on you (this happened to me today). so i reverted all the gpu changes from the january kernel update. I'm pretty sure that fixed it because i never had anything like that before the january update.

Also to note i'm trying to find what caused the bad audio so wish me luck!

P.S. i stopped going google gcc builds they were really getting to me the wrong way.

but if you really want it go try out, my ROM "My AOSP" its FIRE-ICE kernel is built with google's gcc.
[Nexus 9 Original Android Development] vincenzo697:
If I am on ElementalX kernel and want to flash yours what's the procedure?
[Nexus 9 Original Android Development] Choochter:
https://xdaforums.com/showpost.php?p=70418277&postcount=3330
[Nexus 9 Original Android Development] Marky__Mark:
How do i get my tablet to charge 2.0A? I have it turned on with your kernel and its only charging at 1.5. The charger is a 2.0A Qualcomm quick charger.