yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] USBhost:
It it works but you need to enable it

Look at fireice script in system / etc / init.d
[Nexus 9 Original Android Development] racketier:
Would it be possible to have the "tap to wake" on by default? I think it's a useful feature. Or is there a reason to leave it off? Thanks!
[Nexus 9 Original Android Development] USBhost:
I just got lazy when testing

so I made it disabled by default

Because I don't use it lol

I can re-upload it with it enabled?
[Nexus 9 Original Android Development] racketier:
Makes sense. I'm still using 5 actually, and I'll update to 6 when you guys say it's stable and ready to use as a daily driver. If you plan on making it "on" by default in the stable release then feel free to ignore me.

Thanks for the reply either way.
[Nexus 9 Original Android Development] 12paq:
Test 6 so far has been rock solid and snappy. I have double tap to wake enabled in the EX app, all good. :)
[Nexus 9 Original Android Development] 12paq:
Edit: and test 6 runs fine with RRO Layers, so far.

explaination of RRO Layers:

https://github.com/deadman96385/RRO-WIKI/wiki/About-RRO
[Nexus 9 Original Android Development] USBhost:
it does ??

does the layers app work?
[Nexus 9 Original Android Development] 12paq:
You said it wouldn't boot, right? Your kernel boots with layers enabled with a corresponding layers enable ROM (Banks).

The layers app seems less then mature, it's quite buggy and throws pages of log errors. To my limited eye, I didn't see anything kernel related and the device always booted. I am not encrypted. I didn't test the app with a stock or other kernel. So, not much conclusive data...

I can do some specific tests for you if you want. At this point the RRO Layer mods seem way Alpha. Meanwhile, your kernel is rock solid as ever.

Edit: I played around with another RRO build and it wouldn't boot. No big deal here, just trying to help. I'd rather run your kernel then RRO. All good!
[Nexus 9 Original Android Development] nellorocca:
I've got problem changing kernel. I'd like to flash the stock kernel so I wiped cache to ext4 and flash the kernel but at boot all my apps are crashing. Someone know how to do?
[Nexus 9 Original Android Development] USBhost:
If your sure cache is ext4

Then

That's because of selinux

I will be making a flushable zip that will fix

All of these problems in do time
[Nexus 9 Original Android Development] USBhost:
Which ROM was that?
[Nexus 9 Original Android Development] nellorocca:
Yes, I'm sure it's ext4! Thank you a lot for your help
[Nexus 9 Original Android Development] MotoFlasher:
Just for info ... t6k6 @ simpleaosp te version runs gorgeous! :good:

THX! :highfive:
[Nexus 9 Original Android Development] USBhost:
ok flash this

flash stock kernel

then flash the selinux fix

flash selinux fix after everything so last
[Nexus 9 Original Android Development] nellorocca:
No, it's not working... I've wiped cache, flashed stock kernel and then flashed your zip. At boot I've got crashes
[Nexus 9 Original Android Development] USBhost:
i gave up on trying to fix layers

i will wait until someone tells me what are the kernel requirements

test.7.k6 is up

-| gpu speed set to 540 to save power :: you can make it faster dont wory :)

-| oom_score_adj set to 0 :: like how its on Ubuntu

-| removed symlink of /vendor :: it's not needed

-| make userspace the only CPUQuiet gov

-| others i dont remember
[Nexus 9 Original Android Development] USBhost:
i know i found out i will have to restorecon for every file!

haaa!!!>!>!>!>!....

o well the only fix that will work fast is to do a clean install

when i have time i will try to fix this problem...
[Nexus 9 Original Android Development] nellorocca:
I fastbooted bootloader, recovery, boot, system, vendor and cache but I still have this problem...
[Nexus 9 Original Android Development] USBhost:
Data is what making it not to boot

When I mean clean install is a format of system cache and data

I recommend you to reflash the ROM you had and kernel

Then back up your files
[Nexus 9 Original Android Development] AllanJacques:
K7 gives me flickering and worst performance...
[Nexus 9 Original Android Development] USBhost:
All fine here

Wipe your delvik cache
[Nexus 9 Original Android Development] AllanJacques:
I did wipe dalvik...
[Nexus 9 Original Android Development] USBhost:
Looks like I made the GPU to low

O well I will be updating it with some fixes

Note:

guys pls tell me when things aren't working for you

So I make sure I fix it. :)
[Nexus 9 Original Android Development] Vinzie:
Great attitude, keep up the good work :o
[Nexus 9 Original Android Development] Ishwara Sandesh C M:
K6.7 is awesome. My n9 is Smooth and fast than before.

( with AICP 8/2/15 build )
[Nexus 9 Original Android Development] tyvar1:
this is true support! Keep your good work up :D
[Nexus 9 Original Android Development] 12paq:
Exactly.

I looked through Github and the RRO stuff on G+ and could only find custom ROM requirements. Nadda on kernel builds. If I find something I'll let ya kno.

Thanks again for Fire & Ice!

Edit: On Git, for roms to be compatible for RRO building, they require cherrypicks for only android_frameworks_base, seen here: https://github.com/deadman96385/RRO-WIKI/wiki/Making-a-Rom-compatible

Nothing for for custom kernel requirements. I'll keep looking and asking.
[Nexus 9 Original Android Development] USBhost:
Awesome thanks
[Nexus 9 Original Android Development] USBhost:
test.8.k6 is up

-| cgroup changes

-| removed /proc/sys :: use /sys , i never seen an app use proc/sys to changes kernel settings.

-| gpu set to stock speed :: 852

-| init.d script changes

-| SM toolchain update

-| removed some stuff :: to hard too explain... I could if you want?
[Nexus 9 Original Android Development] tyvar1:
Thank you! Will test it when i come home! :D
[Nexus 9 Original Android Development] AllanJacques:
Reports from K8 usage:

Performance on par with K6 and no detectable flickering.

Can't say about battery but looks promising.

Bug detected: can't change swappines value under misc options on elemental X app.

One small observation:

Even with stock kernel my N9 doesn't seem to like 204 MHz and it doesn't go to it unless I change governors to powersave or conservative and then back to interactive. Is this common?

BTW, you are one of the best developers around when it comes to support, I would like to thank you and "pledge allegiance" to house FIRE-ICE (sorry, too much Game of Thrones).

That means if you need someone to test something I volunteer as tribute!
[Nexus 9 Original Android Development] tyvar1:
Any news? :D
[Nexus 9 Original Android Development] Rjporter:
tap to wake, off?

Is there a reason why the tap-to-wake was disabled?
[Nexus 9 Original Android Development] tyvar1:
Enable it in ElementalX app :)
[Nexus 9 Original Android Development] Rjporter:
Yes, I already enabled it already in init.d but my question is why it was disabled by default on the latest K6? Is there a reason? Because I read Google disabled it official on Nexus 6 phone.
[Nexus 9 Original Android Development] USBhost:
haha thanks!

looks like proc/sys does get used going to add it back :: o well lol

about the 204

i only get that on custom ROMs

one fix is to reset the cpu gov

but in doing so will make an bug in the ROM that well make the wake lock not go away

= wont sleep almost all the time

maybe today or tomorrow

because i dont use it and it gets tiring to have to disable it all the time
[Nexus 9 Original Android Development] tyvar1:
awesome! :D

Test 8 is running great! :D
[Nexus 9 Original Android Development] visitor29:
Hello everyone here, some ones please tell me if this is normal... I install k5 on LTE true flashable zip in custom recovery and original charger 5v - 1.5A not charging anymore not in on mode and off mode? And I have no 2A charger to test by hand now.
[Nexus 9 Original Android Development] USBhost:
can you give me a logcat?

su

cat /dev/kmsg

give me the output when you plug it in and out

does it charge in recovery?
[Nexus 9 Original Android Development] USBhost:
test.9.k6 is up :: its not big

-| added /proc/sys back

Note: i forgot to add

that the CPUQuiet power Management is set to runnable

in the last update
[Nexus 9 Original Android Development] visitor29:
I miss that, and here it says not for LTE on 22 page only, "please edit description on firs page and mention about that" . In my n9 lte power left 4% for keep reading and finding answer why not charging (on and off mode) and how to revert, and now I found, i hope it's not to late for reflash stock kernel lte on pc, otherwise tablet will die and will not gonna woke up.
[Nexus 9 Original Android Development] USBhost:
Does any one else have a LTE that has this problem?

OK do this reboot to recovery

Does it charge there?

The main kernel of the system does not affect fastboot or the bootloader or recovery

So if it does not charge in any of them then your N9 got a problem
[Nexus 9 Original Android Development] visitor29:
Do you have different solution, cuz my tablet is nearly out of power...? Quick reinstall or something like that...
[Nexus 9 Original Android Development] USBhost:
Reboot to the bootloader

Flash TWRP recovery

Boot to recovery

And it should charge there
[Nexus 9 Original Android Development] visitor29:
You mean your modded twrp?
[Nexus 9 Original Android Development] USBhost:
Any twrp
[Nexus 9 Original Android Development] visitor29:
I have already twrp installed, so this means should charge in recovery mode? Sorry for questioning about all this, risky to turning on without make sure...
[Nexus 9 Original Android Development] USBhost:
Yes make sure its plugged in AC power

Wall charger

You should see something that tells you that your charging
[Nexus 9 Original Android Development] visitor29:
Ha ha ha charging :) thanks. Will let charge for hour and reinstall everything. Thanks for helping me sorted out.
[Nexus 9 Original Android Development] USBhost:
Cheers

That's why I have tests to make sure this does not happen

So anyone else have no charging

On the LTE nexus 9?
[Nexus 9 Original Android Development] visitor29:
So your kernels are officially compatible for lte, like k5 k6? According by post on 22 page, I'm bit confused now...or kernels before k5?
[Nexus 9 Original Android Development] USBhost:
Yes LTE is officially compatible

K5 or k4 is when I restored LTE
[Nexus 9 Original Android Development] visitor29:
Ok thanks for this, will try reinstall all clean stock rom and install k5 again, will see then. I must make some kind mistake around befere with installing other kernels roms and tests bla bla bla...maybe there that glitch was happened. Cheers
[Nexus 9 Original Android Development] tyvar1:
TWRP 2.8.5.0 is out!

"Scale the GUI - TWRP can read the theme's resolution and scale it up or down to fit the theme to your screen's resolution" :D
[Nexus 9 Original Android Development] USBhost:
Thanks
[Nexus 9 Original Android Development] buffal0b1ll:
Been running test.8.k6 for 2 days with AICP. Bought the ElementalX tweaker app on PlayStore to enable DT2W, and I'm glad I did because that app opens up the kernel way more than Trickster ever did.

MY N9 HAS NEVER RUN FASTER! WOW!!!!

Double Wow. test.9.k6 is up. Off to flash;)
[Nexus 9 Original Android Development] USBhost:
recovery R6 is up

look here
[Nexus 9 Original Android Development] tyvar1:
Thank you so much! :D

Will flash test9 and R6 tomorrow! ;D
[Nexus 9 Original Android Development] Max128:
I was a 74% last night .. now this afternoon: 24%. I have the fire-ice kernel with the CM12 rom..

I'll put the stock rom again for now..
[Nexus 9 Original Android Development] USBhost:
I know about this bug && I get it

Trying to fix it

But are you using the test version
[Nexus 9 Original Android Development] Max128:
You'll be able to easily fix it ?

Yes i using your last version this one: test.9.K6 ,
[Nexus 9 Original Android Development] USBhost:
OK good

It should be easy to fix

When I find what made the problem
[Nexus 9 Original Android Development] mywebslave:
Don't know if anyone else reported but I lost double tap to wake, and my charging is super slow. I've tried a couple of different chargers and the same thing. It takes several hours to go a couple of percent.
[Nexus 9 Original Android Development] USBhost:
DTW is disabled by default

You can enable it

For the charging

Can you do

su

cat /dev/kmsg

Then plug it in then give me the out put
[Nexus 9 Original Android Development] mywebslave:
Here you go

http://hastebin.com/zixoqivepo.avrasm
[Nexus 9 Original Android Development] USBhost:
Hmm...

everything looks fine

try this https://play.google.com/store/apps/details?id=com.gombosdev.ampere&hl=en

and tell me the output
[Nexus 9 Original Android Development] mag13:
Is it nescesarry to activate the covfix script or is it allready activated?
[Nexus 9 Original Android Development] mywebslave:
So apparently it was the cable I was using. It was going between 10ma and 400 ma. Swapped cables and now it's between 1100ma and 1200ma. Tried my charger from my g3 and I was getting up to 1500 ma.

Thanks so much for pointing me to ampere. Would never have thought about that.

Also I was able to get dtw to work. Ended up using the elementalx app. Didn't see listed how I enable it through command line.
[Nexus 9 Original Android Development] USBhost:
No

Its automatic
[Nexus 9 Original Android Development] mag13:
Okay Thanks
[Nexus 9 Original Android Development] USBhost:
i may have found it :fingers-crossed: :fingers-crossed:

stay tuned!
[Nexus 9 Original Android Development] Max128:
It's good if the problem is solved! i waiting for this. If you want i can test with you.
[Nexus 9 Original Android Development] USBhost:
On the kernel your using that does not have this problem

Can you do this for me

Turn off your screen

Wait for about 10s

Then turn it on then immediately after

su

logcat

^c

Stop logcat right after executing it

Give me the output
[Nexus 9 Original Android Development] Max128:
Here: https://www.dropbox.com/s/04ajn1vi83rxr0b/logcat.txt?dl=0

On the kernel your using that does not have this problem <-- What? i have this problem on the test.9.K6 excessive battery drain
[Nexus 9 Original Android Development] USBhost:
Didn't you say you went stock?

O well thanks

Try this one

its stock kernel but with se disabled

and the same ramdisk of this kernel

fastboot boot boot.img

trying to narrow down the problem

its so hard to debug when it does not happen all the time...
[Nexus 9 Original Android Development] USBhost:
OK guys this is what I know

The sleep problem is completely random

It may happen now or later / night or day

It just your luck if it happens at night.

So you don't know if it happened

But if you Pres the power button if screen lags to turn on it happened :: well it does for me

I also tryed the stock kernel

It happened with it too :: now what's going on how can I fix something that's with the stock kernel?

Or its nothing to do with the kernel it can be the ROM too..

Any ideas ?
[Nexus 9 Original Android Development] Max128:
Finnaly for now i still have CM12 with your kernel because you said you can fix it the battery drain.

With the stock rom (with stock kernel) i do not have this problem.

I'll flash the stock kernel that you have provided and will see.
[Nexus 9 Original Android Development] USBhost:
I thought I did fix it

For 1h I was turning my screen off and on

And no problems then boom it happened

Hmm I must have had bad luck with stock kernel

Will try it again.

I won't be updating this kernel until this problem is resolved
[Nexus 9 Original Android Development] Max128:
I have flashed your boot.img.. i will see later if i still have a battery drain.

When I was the kernel CM12, I have also this problem but it was less important but the tablet was charging really slow when it was open. I do not know where the problem with CM12 but it affects many people.
[Nexus 9 Original Android Development] USBhost:
The thing is

The CM 12 kernel is stock

Now there's a problem :eek:
[Nexus 9 Original Android Development] Max128:
The problem only happening with CM12, with the rom stock is fine.

If CM12 have a stock kernel why the charging is so slow? and when I flash your kernel is fine like stock rom.. The battery drain is happening too with CM12..
[Nexus 9 Original Android Development] USBhost:
One thing is that my kernel has 2a charging

Stock does not

About the slow charging I don't know why.
[Nexus 9 Original Android Development] Max128:
Well .. with your kernel stock last night I lost 1% on 12 hours, With the test.9.K6.zip the other night I lost 50% and more .. now what ?
[Nexus 9 Original Android Development] USBhost:
it comes to this

Its all random

It may or may not happen
[Nexus 9 Original Android Development] Max128:
I see, no ideas how to fix it.
[Nexus 9 Original Android Development] USBhost:
test.K7 is up

ok guys :cool: I completely rebased my kernel

code here

I did this because I got tired of problems that i could not fix.

also to clean up my code lol

so everyone test to see if you have suspend problems

also can you test to see if layers works :fingers-crossed:

as of this build

-| no zram :: will add it back if everything is good

-| toolchain update

-| linux 3.10.42

and a bunch of others, just look at my github :o
[Nexus 9 Original Android Development] tyvar1:
Awesome man! Great news!

Now when k7 is up when will k6 be released as a stable version? Also it says bata and not beta on the download site he he ;)
[Nexus 9 Original Android Development] USBhost:
Fixed thanks

There will not be a stable k6

Because of that suspend issue

Also I decided to jump to k7

Because of the major changes I have done

Also I need to update the thread

And improve it
[Nexus 9 Original Android Development] tyvar1:
Cool! Thanks for the info! :) will flash K7 tonight!
[Nexus 9 Original Android Development] xtcdk:
My tablet dont shut of the screen when charging with power off . dont even get to percentage . no issues on k5v2. Maybe its a aosp thing
[Nexus 9 Original Android Development] USBhost:
ok? what do you mean?

so your screen wont turn off

with power off?

or you mean battery

not showing percentage?
[Nexus 9 Original Android Development] USBhost:
Not one of my best results

But its awesome nonetheless
[Nexus 9 Original Android Development] Surnom:
I have the same problem I think, turned off, if i plug it, it stays on the fixed battery charging image and the screen never turns off. Its stays like that even if I unplug it, I need to press power 10+ secs for it to boot.

Rastapop on K7 , didnt notice until today so I dont know if kernel related and when it started.
[Nexus 9 Original Android Development] USBhost:
test.1.k7 is up

-| fixed [MENTION=3181183]Surnom[/MENTION] problem :: it was the kernel well ramdisk

-| removed some stuff :: the long journey starts again lol

-| ramdisk make it look pretty :: but still needs work :good:
[Nexus 9 Original Android Development] Surnom:
That was fast, test.1.k7 does fix the problem, Thanks. :D
[Nexus 9 Original Android Development] hapee:
[MENTION=5501864]USBhost[/MENTION] On the Antutu benchmark I only get 56218 and it keeps saying that it is non-verified but you did not have that, how do I verify the score?
[Nexus 9 Original Android Development] RogueSven:
Is there any way to manually disable fastcharge on your kernel? Thanks.
[Nexus 9 Original Android Development] xtcdk:
I mean . when tablet is powered off . i plugin USB cabel . screen turns on with battery icon . and screen stays on forever without continuing to percentage icon

Edit : works again on k7 test1
[Nexus 9 Original Android Development] xtcdk:
K7test1 running good . also goes below 510 mhz on aosp

Dirty Unicorns /Uber / Beanstalk Yuga adm.
[Nexus 9 Original Android Development] USBhost:
Now that I don't know why.

I got it too but it went away after the third try :: benchmarking
[Nexus 9 Original Android Development] USBhost:
test.2.k7 is up

-| fixed the Antutu problem :: well i think?

-| ramdisk lz4 compressed :: its back, booting should be faster now

-| ramdisk some changes

side note:

67.5k on antutu :cool:

new record for me!!
[Nexus 9 Original Android Development] mag13:
Antutu crashes for me with K7
[Nexus 9 Original Android Development] USBhost:
Wipe cache and dalvik-cache
[Nexus 9 Original Android Development] xtcdk:
Test 1 got suddenly screen total unresposive after some hours . test 2 all god so far ?

Dirty Unicorns /Uber / Beanstalk Yuga adm.
[Nexus 9 Original Android Development] mag13:
This worked, but I only get 55k, with flar's I geht 62k...
[Nexus 9 Original Android Development] USBhost:
Just try again & You'll do better!

That's the Nexus 9 motto

Also make sure you let your nexus

cool down a bit
[Nexus 9 Original Android Development] mag13:
I tried it again and Antutu crashes at 3D perfomance test
[Nexus 9 Original Android Development] USBhost:
That happens to me

Even on stock kernel

But any way

3d gives about 20500

Points

So if you got about

45k without 3d

Its about 65k
[Nexus 9 Original Android Development] mag13:
Without 3d I only get 35k
[Nexus 9 Original Android Development] tyvar1:
Can you please upload the latest Modded TWRP as a flashable zip? :D
[Nexus 9 Original Android Development] tyvar1:
Wow! That was fast! Ahha!

Thank you! :D
[Nexus 9 Original Android Development] USBhost:
done
[Nexus 9 Original Android Development] Max128:
Hi, the bug with Cm12 is still not fix it i suppose?
[Nexus 9 Original Android Development] USBhost:
What bug?

Sleep bug?
[Nexus 9 Original Android Development] Max128:
Yes the sleep bug
[Nexus 9 Original Android Development] USBhost:
So are you getting

The sleep bug on k7?
[Nexus 9 Original Android Development] Max128:
I have not yet installed the k7 , I wanted to know if you had solved this in the k7 but i will try now your last build..
[Nexus 9 Original Android Development] USBhost:
I have not gotten it in the last 2 days
[Nexus 9 Original Android Development] 12paq:
Just an fyi: I also had occasional screen unresponsiveness on test 1, and none on test 2. I have no evidence or logs that can say it was the kernel. So no real evidence here. This kernel runs great.
[Nexus 9 Original Android Development] Ishwara Sandesh C M:
+1 . also had screen unresponsiveness once one k7.1 , K7.2 fixed it :thumbup:
[Nexus 9 Original Android Development] USBhost:
Man lol I fixed a bug I didn't even know existed :angel:

That's good to know!
[Nexus 9 Original Android Development] 12paq:
:D !
[Nexus 9 Original Android Development] tyvar1:
Thank you! :D
[Nexus 9 Original Android Development] tyvar1:
Flashed latest test build and twrp. Holy Molly! Smooth as butter! Thanks for all your hard work!
[Nexus 9 Original Android Development] Max128:
I have it since last night is still good , great!
[Nexus 9 Original Android Development] USBhost:
O! Never thought of that

ty
[Nexus 9 Original Android Development] pantmunu:
Will I lose root if I flash this on top of the aosp rooted ROM ?
[Nexus 9 Original Android Development] USBhost:
No
[Nexus 9 Original Android Development] USBhost:
I will trun KSM back on in the next update
[Nexus 9 Original Android Development] MRobbo80:
Well done m8! Nice start ?

I'm starting to build a rom, going to wait for a little while until it matures. ?

Sent from my Nexus 9
[Nexus 9 Original Android Development] TotallyAnxious:
Why'd you turn it off?
[Nexus 9 Original Android Development] USBhost:
I was just testing to see if that made the ram faster which it did not
[Nexus 9 Original Android Development] MikeC84:
You realize after you release an update you have to re upload the new kernel source, right.
[Nexus 9 Original Android Development] USBhost:
Yes i do

But i will update the source like every other release

It takes too bloody long to upload it
[Nexus 9 Original Android Development] USBhost:
r3 is up

KSM is back on now

also disabled all the ZRAM dependencys i could find
[Nexus 9 Original Android Development] pantmunu:
Lemme try and flash it with flashify .. i use a surface pro 3 with no keyboard so its a pita for me to put in all the adb commands. Hence the reason for always asking about flashify .