yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] jlokos:
WiFi issues

I noticed some folks were having wifi issues on some of the latest kernels. I have been using the aicp rom with your kernel and no issues. I recently dl'ed the validus 5.1 rom and flashed the 9.2.5r3 kernel, and I was unable to see any available wifi connections; I then tried the 9.2.5.r2 build and again a no go. I finally flashed the the 9.2.4 kernel and the wifi worked. I just thought I'd let you know. Your kernels are great. Thanks.
[Nexus 9 Original Android Development] USBhost:
They only seem to happen on CM based ROMs

Or its has to be with my ramdisk? Hmm...
[Nexus 9 Original Android Development] Steffe89:
Hi again,

I just want to report that after I switched to pure stock kernel and aosp (5.1.1) on my nexus, I had no freezes that required reboot at all. The tablet has been running 106h without a reboot, so something in the kernel or acip rom must be the reason for these freezes.

And also no WiFi issue in stock, nice to see you are working on that

Cheers
[Nexus 9 Original Android Development] jlokos:
I thought aicp was CM based.
[Nexus 9 Original Android Development] USBhost:
It is

The WiFi problem comes and goes
[Nexus 9 Original Android Development] jlokos:
I never had an issue with your kernel on aicp; very strange; in any event, 9.2.4 working well on validus.
[Nexus 9 Original Android Development] USBhost:
When the new kernel comes out 9.3 will be released

hopefully in one or two days
[Nexus 9 Original Android Development] wingdo:
I posted this in the ElementalX thread as well, but I traced my inability to play Dungeon Hunter 5 to these two kernels. Game crashes to launcher during final loading.
[Nexus 9 Original Android Development] USBhost:
K9.3.r3

K9.3.r3 is up

a lot of things changed

i will work on a proper change log

soon
[Nexus 9 Original Android Development] Megaflop666:
I know you've been playing with M. Does this latest update work on M or Lollipop?

Have you made a non encrypting boot image for the 9 yet? I put M on my 9 but twrp isn't working right and I think it has to do with the encryption.

Edit: never mind, just saw it on the m preview thread
[Nexus 9 Original Android Development] USBhost:
How did you know I was playing with M lol

I did merge the new kernel source on 9.3

I don't think it will boot on M
[Nexus 9 Original Android Development] vogemic:
Flashed newest build from Temasek. I have FC on system.ui. it's because of custom kernels. Got this answer: "Cm changes in init.environ.rc. Custom kernels needs to update it or else fc." Can you update the kernel? Latest beta also gives FC.

Thanks!
[Nexus 9 Original Android Development] USBhost:
thanks for the info

there will be an update soon for that
[Nexus 9 Original Android Development] Meastersquallx:
dead links...
[Nexus 9 Original Android Development] richardddd:
Basketbuild is down! links will be up as soon as they fix it :P
[Nexus 9 Original Android Development] USBhost:
heres the bata one for the meantime
[Nexus 9 Original Android Development] richardddd:
Thanks! Is the fixes inluded in the latest beta? ?
[Nexus 9 Original Android Development] USBhost:
it will be in .r4

later today

im a little busy today
[Nexus 9 Original Android Development] AllanJacques:
What fixes?
[Nexus 9 Original Android Development] Megaflop666:
Because I read a lot, and like you, I'm all over XDA. ;)

If you write one for M for the 9, let me know, I'll test drive for you. I have M up and rooted.
[Nexus 9 Original Android Development] dictionary:
Was looking forward to your m kernel, but kept getting weird issues. Rotation would lock at times and I'd have to reboot. Also overlay issues with videos sometimes. Little bit of drain, but I knew with your kernel it would be fine. Sadly had to revert. M is looking to be awesome though!!!!

BTW, will this kernel work with 5.0.1?
[Nexus 9 Original Android Development] USBhost:
stuff with the ramdisk for CM

yes
[Nexus 9 Original Android Development] AllanJacques:
Should I try latest beta or wait for r4?
[Nexus 9 Original Android Development] USBhost:
r4

edit its up

its just a ramdisk change

CM 9.3.r4
[Nexus 9 Original Android Development] vogemic:
Everything is working great. No more system.ui FC.
[Nexus 9 Original Android Development] USBhost:
Cheers!!
[Nexus 9 Original Android Development] AllanJacques:
Well, r4 won't boot for me...
[Nexus 9 Original Android Development] siraltus:
R4 is for Cyanogen and CM-based ROMs only, from what I understand. That's why the file is labeled "CM."
[Nexus 9 Original Android Development] USBhost:
what ROM are you using

you got it
[Nexus 9 Original Android Development] AllanJacques:
AICP
[Nexus 9 Original Android Development] USBhost:
how old?

it boots for me on aicp
[Nexus 9 Original Android Development] AllanJacques:
Latest version...
[Nexus 9 Original Android Development] MotoFlasher:
AICP SaberMod here and no problems... (r4 cm version)
[Nexus 9 Original Android Development] Max128:
I have CM12 official build and the kernel K9.3.r3.zip is working but the CM K9.3.r4.zip not working at all is stuck on bootanimation.
[Nexus 9 Original Android Development] USBhost:
that so odd

i will look into it
[Nexus 9 Original Android Development] AllanJacques:
Suddenly it worked...
[Nexus 9 Original Android Development] USBhost:
i think i found the wifi problem
[Nexus 9 Original Android Development] USBhost:
cheers!!

can you try r6 to see if its runing good
[Nexus 9 Original Android Development] Max128:
USBhost: The R6 have the fix for my bootloop?
[Nexus 9 Original Android Development] USBhost:
on what ROM?

edit: CM right

can you get a logcat of the bootloop

if you get it
[Nexus 9 Original Android Development] Max128:
the device is on the bootanimation I was unable to run adb with the pc. it does not detect is work only when is boot normally.

Can you check it for me?
[Nexus 9 Original Android Development] AllanJacques:
No elementalx on r6?
[Nexus 9 Original Android Development] USBhost:
no

man the official CM is stuck in cm 12

thats old... i will try to get it working

but i think i'll just drop support for android 5.0.2.

CM has been a little stubborn for me

boots fine then not. :(

o man i forgot that lol

i did a complete rebase/clean up of my kernel

in the hopes i fixed the wifi problem in which I think I did. :D :: BFS my have been the problem!

in doing so i fixed some other stuff.

sorry for not much updates

i have been vary busy these last few weeks

2 weeks left in school.
[Nexus 9 Original Android Development] Max128:
Yeah CM is slow for updating to 5.1

EDIT: USBhost Finally i have install the same rom like you the AICP great rom! I'll wait CM 12.1 with this one.
[Nexus 9 Original Android Development] AllanJacques:
I, for one, like bfs...
[Nexus 9 Original Android Development] dictionary:
Can't wait for the first M kernel, bfs or not lol.
[Nexus 9 Original Android Development] USBhost:
cheers!!

To be honest

im starting to agree with [MENTION=4684315]flar2[/MENTION] about BFS

i haven't noticed a difference without it
[Nexus 9 Original Android Development] dictionary:
BFS usually stands for "Battery frickin sucks" on my devices. Any and every time. I have always preferred CFS honestly.

I keep trolling your download page to see if you've uploaded a test M kernel lol. I never knew how much I'd miss your kernel until I couldn't have it. I'm going through withdrawal lol
[Nexus 9 Original Android Development] AllanJacques:
Just my two cents, but 9.2.4 gives me best performance and battery...
[Nexus 9 Original Android Development] USBhost:
I know

Still trying to get some things fixed

Almost done
[Nexus 9 Original Android Development] 12paq:
+1

Edit: CM K9.3 is very smooth and snappy. :thumbup:
[Nexus 9 Original Android Development] USBhost:
K9.3 is up

K9.3

K9.2.5-K9.3

-| Linux 3.10.80

-| latest from Googles Tegra branch

-| bcmdhd: updated

-| Re-based to M's kernel

-| big! improvements to memory management

--| LMK tuning

--| swap tuning

-| Linaro's ZRAM

--| zram tuning

-| big improvements to FI.d scripts :: take a look at it

-| cache can be formatted to anything ext2, ext3, ext4, f2fs, ntfs, exFat and still mount

---Note: f2fs will have problems with size, being to small

-| BUG: fix no ssid at boot

--| BFS dropped to fix wifi

-| BUG: fix boot on some CM based ROMs

-| BUG: fix UI FC on CM based ROMs

-| toolchain: updated

-| some makefile fixes

-| some clean up

-| others i dont remember lol.

Notes:

This is a beta release

so some bugs my sill happen.

K9.3 will only boot on android 5.1.x .

As for Android M i will work on it when i finish school

one week to go.......... M will be K10
[Nexus 9 Original Android Development] tyvar1:
Awesome! Thank you for your hard work! :D
[Nexus 9 Original Android Development] AllanJacques:
Wich version should I use for AICP?
[Nexus 9 Original Android Development] slebit:
CM.
[Nexus 9 Original Android Development] USBhost:
nvm
[Nexus 9 Original Android Development] Vit Riddare:
I use AICP and the AOSP version.
[Nexus 9 Original Android Development] USBhost:
that would work but not for all

CM based ROMs

because they need a little something extra

in the ramdisk
[Nexus 9 Original Android Development] preacher65:
Speaking of ramdisk, I assume you have some tweaks in yours, since the kernel comes as a whole boot.img rather than using anykernel? I had a search through the thread, but didn't find anything specific. Just curious, so not a big deal, just always interested in what I'm flashing. :cowboy:

And thanks for the new kernel, will try it once I've finished messing with my mako. :good:
[Nexus 9 Original Android Development] USBhost:
You bet it has some tweaks.

It adds more freedom when you have your own ramdisk

and not bound by the ROMs

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

K9.3.1 is up

-| FIX: start for some apps
[Nexus 9 Original Android Development] Vit Riddare:
Ah ha. I had simply assumed that it wouldn't boot if it was the wrong one. Good news for me though :D Means I get to switch and get even better performance! :)
[Nexus 9 Original Android Development] siraltus:
Thanks for posting 9.3.1 so fast. I flashed 9.3 and Digitally Imported Radio would keep FCing, I was tearing my hair out. It works perfectly on 9.3.1.
[Nexus 9 Original Android Development] AllanJacques:
Sorry to report that 9.31 doesn't feel right, actually lags a lot...

Enviado de meu D6603 usando Tapatalk
[Nexus 9 Original Android Development] USBhost:
do you have a lot of stuff in memory?
[Nexus 9 Original Android Development] AllanJacques:
Always!
[Nexus 9 Original Android Development] siraltus:
Works perfectly fine here, smooth as butter.
[Nexus 9 Original Android Development] Nikki1993:
Hey people,

I do apologize if I missed the answer, I tried my best searching about why selinux is disabled in this kernel? I figured it's an important protection layer or did I miss something?

Cheers.
[Nexus 9 Original Android Development] SuberSeb:
Hello everyone

Now i have AOSP rom and ElementalX kernel. If i flash fire ice, can i get bootloop? Ex kernel have enabled SELinux
[Nexus 9 Original Android Development] USBhost:
edit: i disabled it because who actually needs it.

SE just adds headaches for me and some people

true it adds security but we root our devices

which in turn make SE almost useless.

a simple program just needs to execute "setenforce 0"

and boom its off. so why do we need to headache with something that's so easy to disable?

also SE has been getting more strict, then it was in the old days.

so if we dont need it, disabled it which in turn increases performance

to a certain extent.

SE was off by default with jelly bean

and i heard no one getting any problems with

security.

no it won't bootloop
[Nexus 9 Original Android Development] Nikki1993:
Cheers for a great explanation [MENTION=5501864]USBhost[/MENTION], I will be trying out your kernel since I can't bare the lag anymore on my Nexus 9 on stock kernel.
[Nexus 9 Original Android Development] USBhost:
if you want full blown speed

set "set" to 0 in 01afterboot in /system/etc/FI.d

like so "set=0"

if you want to overclock

set co to 1

"OC=1"
[Nexus 9 Original Android Development] Nikki1993:
I will test out on default settings for now :) so far, for the hour I've been fiddling around with the tablet, noticeable app opening speed improvement. Used elementalX kernel app to turn on usb fastcharge and so far no problems :)
[Nexus 9 Original Android Development] USBhost:
UKSM

that will be in 9.3.2 or k10
[Nexus 9 Original Android Development] AllanJacques:
Please make it compatible with 5.11?
[Nexus 9 Original Android Development] USBhost:
It is

Also 9.3.2 is up
[Nexus 9 Original Android Development] AllanJacques:
Thank you!

Let the testing phase begin!
[Nexus 9 Original Android Development] USBhost:
What do you guys think

Should i keep the 2.0A charging

Or should i go back to stock 1.5A
[Nexus 9 Original Android Development] Scotlac:
So, nothing blew up? ;)
[Nexus 9 Original Android Development] USBhost:
Nop all fine here

I'm loving the faster charging

Even though its only 0.5A more lol
[Nexus 9 Original Android Development] Gormsen:
Keep the faster charging ;)

Waiting for my replacement unit, and then I'm gonna give your kernel a spin :P

Smashed down on the mighty Nexus 9
[Nexus 9 Original Android Development] zanoli99:
I'm in favor of keeping it as I have had no issues
[Nexus 9 Original Android Development] USBhost:
Awesome
[Nexus 9 Original Android Development] USBhost:
An update

I will be out with vary slow Internet

So i wont be doing any updates until next week

Sorry guys
[Nexus 9 Original Android Development] USBhost:
i got internet cheers every one enjoy

R12 is up

rebuild with Linaro 4.9.3

did some cleaning up of the deconfig

Noop is now default again :: do to better writing speed

flar2 optimizations are enabled now

BL now locks brightness to the number you chose

To unlock do UL
[Nexus 9 Original Android Development] zanoli99:
running great. The lock BL is nice change. appreciate the work. you have donation link? Oh one thing I did notice is that the double tap to wake doesnt seem to work. sleep/wake works fine with my case. No biggie. Thanks again.
[Nexus 9 Original Android Development] kyleco:
I'm about to install this kernel once Lollipopalooza ROM finishes downloading. One question is what does everyone do for the terminal commands having to be run after each reboot? I'm mainly talking about this part:

as I would imagine that would be very beneficial to have running on each reboot.

Have things changed recently that I don't need to do this or is there an init.d script I can setup to run this on boot?

Thanks!
[Nexus 9 Original Android Development] USBhost:
To enable

Go to ^system/etc/init.d

Open test and put change the 0 to a 1
[Nexus 9 Original Android Development] USBhost:
I tryed to do the init.d method and it did not work

And in tasker the root function does not work on 64 bit lol

Some one did say that secure settings works but I did not test it yet
[Nexus 9 Original Android Development] kyleco:
Thanks for the quick reply! Anyone try SManager(Script Manager)

https://play.google.com/store/apps/details?id=os.tools.scriptmanagerpro

I will try it, just had the tablet boot up
[Nexus 9 Original Android Development] USBhost:
R12 hot fix

Fixed charging
[Nexus 9 Original Android Development] kyleco:
Good News Everybody!!

We've got a delivery to Omicron Persei 8!!

But no, seriously, SManager does work. I created a new script, called it OnBoot, copy and pasted all the lines for the fix and the CPU and GPU overclocks. I set the script to run at boot and run as superuser. Before rebooting I verified that the values for the overclocks were not the same as the overclocks(they were not). I rebooted the tablet and looked at those files again, they were updated to the overclocked values. Looks like we have a success!
[Nexus 9 Original Android Development] USBhost:
Awesome will try it
[Nexus 9 Original Android Development] wigginst:
Deleted: saw this was already answered by dev in here.
[Nexus 9 Original Android Development] USBhost:
R13 is up

added: Full DriveDroid support
[Nexus 9 Original Android Development] bruce2662:
Any higher overclocks?

Hey USBhost,

I am wondering whether it is possible to make n9 run beyond 2.5GHz

something around 3.0GHz with increased voltage would be good

also, i'm wondering whether you can make n9 gpu run beyond 1GHz, maybe something around 1.2GHz so that there is a 20% boost. The 2K screen does suck up lots of system resources.

more choices is always better, even though there's risks. people are always asking for the maximum performance possible for any devices.

These are just suggestions and hope that everything will be improved soon.

one more problem, anyway to make the gpu clock locked at the max frequency?

GOOD JOB ANYWAYS
[Nexus 9 Original Android Development] USBhost:
Will work on it

Note: i did have the gpu go up to 1ghz

a while ago but did not have time to add it again
[Nexus 9 Original Android Development] USBhost:
Aye!
[Nexus 9 Original Android Development] siraltus:
Hey man! So the feature list says "USB storage automount support" - does that mean I don't need StickMount anymore? If I uninstall StickMount, the USB drive does not appear anywhere. Just trying to understand what this means.
[Nexus 9 Original Android Development] USBhost:
thats for ROMs that mount usb automatically
[Nexus 9 Original Android Development] siraltus:
Oh, so the kernel has to support and then the ROM has to implement automount, and since stock Nexus ROMs don't have automount, I still have to use StickMount. Makes sense now!
[Nexus 9 Original Android Development] AllanJacques:
Well, last version hanged twice and lags quite a bit...

Could you use 9.2.4 as base?

Enviado de meu D6603 usando Tapatalk
[Nexus 9 Original Android Development] USBhost:
Did you try 9.3.3?

Lol I updated twice yesterday
[Nexus 9 Original Android Development] AllanJacques:
Nope!

Should I?

JK, downloading now!
[Nexus 9 Original Android Development] USBhost:
I was going to say...

Lol

I hope 9.3.3 fixes your problem
[Nexus 9 Original Android Development] AllanJacques:
Sorry but no good at all...

Lags a lot and hangs sometimes...
[Nexus 9 Original Android Development] Nikki1993:
Weird. I am on the latest beta and everything is smooth as butter. Finally no lag on my nexus 9.
[Nexus 9 Original Android Development] USBhost:
Try this

Remove the line of LMK in

01afterboot

That's the only logical one left

Also it would explain your lags

Because like you said you always

Have a lot of stuff in ram

So everything ends up in swap.

He has an eye for performance
[Nexus 9 Original Android Development] MotoFlasher:
Again or repeatedly?! ;) ... Thx for your trouble and experiment joy ... runs fine .... :good: :highfive:
[Nexus 9 Original Android Development] AllanJacques:
Thanks!

That minimized the issue but still feels choppy...
[Nexus 9 Original Android Development] USBhost:
That because of UKSM/KSM
[Nexus 9 Original Android Development] christian_l:
What's the latest kernel for the stock ROM - K9.3.r3, or can I use one of the CM or AOSP kernels?
[Nexus 9 Original Android Development] USBhost:
K9.3.3

aosp
[Nexus 9 Original Android Development] christian_l:
Thanks!
[Nexus 9 Original Android Development] Nikki1993:
My tablet froze today twice. First when I opened chrome and second time with YouTube. Had to reboot the device. Any way to capture the info why it froze to troubleshoot the issue,?
[Nexus 9 Original Android Development] USBhost:
adb pull /sys/fs/pstore/console-ramoops-0

after the freeze
[Nexus 9 Original Android Development] wingdo:
Running 9.3.3CM on latest temasek. With minimum speed set to 204 as always the cpu seldom drops below 500-600. Refreshed ElementalX and bootloops as usual. Reflashed temasek and ElementalX and the CPU idles at 204 again.

Sent from my thumbs and Tapatalk.
[Nexus 9 Original Android Development] USBhost:
UKSM/KSM was enabled

In K9.3.x

uksm uses about 0-1% of CPU

In which makes the CPU gov kick up the speed.

So if you want to idle at 204 turn off uksm.

Interactive governor is very sensitive.

Having the CPU idle at 204 is almost has no benefit to battery

Like 10ma different
[Nexus 9 Original Android Development] dictionary:
Ever get a chance to make that twrp flashable version of M?
[Nexus 9 Original Android Development] USBhost:
not yet been busy this week
[Nexus 9 Original Android Development] dictionary:
Oh okay, no rush. Remember you were busy, just wasn't sure when it was coming to a close.
[Nexus 9 Original Android Development] lilliput222:
what version to install for stock 5.1.1 . Im so confused
[Nexus 9 Original Android Development] USBhost:
AOSP

if stable then just normal 8.11
[Nexus 9 Original Android Development] USBhost:
K9.4

-| speed improvement

-| toolchain: updated

-| strict aliasing

-| latest from Googles Tegra branch :: it was big

-| CFQ is default now

-| CFG enabled

-| EDL restored :: helps with temp

Notes:

CFQ

i dropped noop because CFG is

actually faster with some tweaks

CFG

its like another BFS
[Nexus 9 Original Android Development] taronas:
After flashing 9.4 I got a reboot right before I could unlock SIM the first time. But since then it seems stable.
[Nexus 9 Original Android Development] USBhost:
thanks
[Nexus 9 Original Android Development] taronas:
2nd reboot :(

Back to the previous one ...

Good luck
[Nexus 9 Original Android Development] USBhost:
Thanks

I completely forgot about the LTE users lol sorry guys

So 9.4 is good to go for the WiFi only users.

[MENTION=3352111]taronas[/MENTION] are you up or any other LTE user for some testing tomorrow

I will make a debugging build to see what's going on.
[Nexus 9 Original Android Development] taronas:
Probably not as quick to respond as today but I'm there ... :)
[Nexus 9 Original Android Development] Meastersquallx:
please support us LTE owners
[Nexus 9 Original Android Development] palaiouras:
I've got the LTE model too. Frequent reboots or FCs without an apparent reason or system pressure.

Regards from Greece
[Nexus 9 Original Android Development] USBhost:
NOTE if you an wifi only user dont flash this

debugging build

do what you did it get a reboot

then give me the log from /sys/fs/pstore/

strict aliasing brakes stuff.
[Nexus 9 Original Android Development] AllanJacques:
Gotta tell you that good times seems to be back.

9.4 behavior is great and performance is top notch, no lags or hangs.
[Nexus 9 Original Android Development] 12paq:
Same experience here.

Not sure why, could've been my set up, but anything after 9.3.r4 until 9.4, ran choppy and lagged.

9.4 runs great!
[Nexus 9 Original Android Development] USBhost:
That what i like to hear :D

hows your guys memory management?
[Nexus 9 Original Android Development] taronas:
It boots and LTE works. Let's see how long :)

Reboots before seemed random

Thanks
[Nexus 9 Original Android Development] palaiouras:
LTE model with latest kernel version

Hello again,

After 24hr with the debugger version, the device FC. I rebooted and captured the file you requested.

I've attacched it. I hope it helps to improve the kernel even more.

Regards from Greece

P.S. The device has AOSP 5.1.1 with your kernel on top without any alteration but the GPU OC to 984Mhz.
[Nexus 9 Original Android Development] USBhost:
That's weird

There's no kernel panic in the log.

Can you try again? Let the device reboot on its own

What do you mean by FC?
[Nexus 9 Original Android Development] palaiouras:
I mean the system simply froze, no touch screen input was handled, and I needed to reboot manually
[Nexus 9 Original Android Development] slebit:
I can't boot cm version on my validus ROM. My rom is using aicp kernel, which makes it a bit weird... Any ideas what's wrong?

Edit: AOSP version does boot.
[Nexus 9 Original Android Development] USBhost:
it really depends on how much

the ROM is CM based
[Nexus 9 Original Android Development] Nikki1993:
Seems like everything is fine so far. One thing I noticed on latest beta is that hearthstone lags like hell when tablet heats up. I mean even worse than on a stock kernel. Any ideas why?