yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] USBhost:
AOSPM is for android 6.0.0r26. hopefully the December update will allow everyone to go AOSPM

AOSPML is for android 6.0.0r1-16
[Nexus 9 Original Android Development] smayonak:
Ah, thank you! It sounds like Google is releasing different firmware for the same tablets. Judging from the logs, do you think that NVIDIA might have two different versions of Denver chip in the N9? That would be worse than Apple using two different production processes in its A9 chip.
[Nexus 9 Original Android Development] wantowan2:
Dev, I have run across this issue that from what I can see doesn't look like it is coming from your kernel but its hard to say. I compiled yours myself and had the same issue..

When flashed over "PureNexus" ROM, the Batt stats are are messed up. My status bar indicator shows 3,847%... If I use an app that gets it right from the kernel, it shows 30%.

That makes it look like its PureNexus and/or its native boot.IMG that has the problem. Thing with that is that both their ROM and kernel would have to be messed in the same way for the healthd to work right.

I bring it up because when my device just ran out of power, there was no 5sec count down, nothing. Just EEE4RRRRRRR ***Flash*** total failure.... lol Every driver failed at the same time. Was very bright and very loud and very frozen.

You would know better then I.

Thanks
[Nexus 9 Original Android Development] USBhost:
don't think so

day one nexus 9 user here

is your n9 alright?
[Nexus 9 Original Android Development] Nalorokk:
Its not stable enough for everyday usage. Freezes and reboots eats battery :(

Will wait and hope for fixes
[Nexus 9 Original Android Development] USBhost:
eats battery?...

can you get a log of the reboot.

adb pull /sys/fs/pstore/*
[Nexus 9 Original Android Development] Nalorokk:
For some reason there is old log. I don't think that it is useful, but will attach it.

And screenshot of what i'm saying. It's morning here, i don't used tablet at night, and something happens during it. Battery logging don't worked. At morning tablet was not usable. It was not actually freezed, but can't run any app. I'm saw this behavior before, if play with it longer it will say that "android.system crashed" or something like it. Then it will do some kind of partial reboot, which seems like reboot, but faster and don't solve problems =)
[Nexus 9 Original Android Development] USBhost:
OK guys I need some guinea pigs

To try to fix those reboots and freezes (Because I dont get those problems)

I need someone that knows how to use adb

make logs, and has those problems.

PM me if your up for it!
[Nexus 9 Original Android Development] b1g.p0ppa:
I'm not seeing this behavior either. Running AOSPM K9.9.1r2 over top of pure_nexus_flounder-6.0-20151201. Interactive with oc=1 and gfix=1. Sioplus. Sux that this is happening for people but with USBhosts's device not exhibiting these symptoms the logs are crucial to figuring out what's going on. Strongly encourage anyone seeing this to PM and get involved.
[Nexus 9 Original Android Development] stonebear:
I don't get reboots or freezes either. :)
[Nexus 9 Original Android Development] Nalorokk:
You are lucky ones. I'm using latest official ROM on LTE version. Are you?

Please, can you try to do unique cool feature for your kernel? I'm about trying to fix bug that exists even in original kernel! =)

When playing music, or watching youtube videos there is little sound noises like sound lags, happen every 5-10 seconds. It is a lot easier to detect on device IRL, but i'm recorded it, i don't has good sound recording tech, so it's not really good record, but can do some description.

There is 2 short samples with lag, and exactly lag second repeated 3 times and the end. 01.690 sec - first lag. 05.098 sec - second lag.

This site doesn't allow to uplaod .wav or .mp3, so it is .zip with .wav inside.

I think it is software problem because - it happens in headphones too, it happens allmost everytime device goes to sleep mode.
[Nexus 9 Original Android Development] stonebear:
My N9 is not LTE. I have used this kernel with stock ROM, Ubermallow and Marshmalicious with no problems.
[Nexus 9 Original Android Development] Nalorokk:
I'm got new cool adb logcat of bootloop after another freeze. I'm get trough bootloop 2 times, for recording it.

Interesting fact - /sdcard (and /storage/emulated) was unavilable during freeze.
[Nexus 9 Original Android Development] USBhost:
...

what's going on with your mmc

when and where did you get your N9?
[Nexus 9 Original Android Development] stonebear:
This is my override file

zswap=500

fc=1

fs=0

gfix=1

oc=0

Does that look correct for 500mb Zram, fast charge enabled, fsync disabled, no over clock?

I am asking because when I check the settings in Kernel Adiutor they are not showing up correctly. Is it my file or Kernel Adiutor that's wrong?
[Nexus 9 Original Android Development] USBhost:
Yep

Remember after the led turns on then it should show

In Kernel Adiutor.
[Nexus 9 Original Android Development] bruce2662:
Thanks!!!:good:

For Confirmation:

So i use your TWRP to flash the rom, kernel, gapps.....

then flash STOCK TWRP

Then use the STOCK TWRP to do factory reset?

is that correct?

Other Questions::confused:

1. Flashing image is no longer needed because it is included in the kernel, right?

2. Does it matter if i flash gapps right after i flash rom or i flash it after my system is decrypted?

(because I want to keep the AOSP browser in the system. AOSP browser vanishes if i flash gapps right after flashing rom.)

3. Do I ijust use "Factory Reset" slidebar? Do i need to format cache, data? Because I found that the cache partition always has 150ish out of 250ish MB of memory no matter how many times i factory reset it. It becomes ~0MB only when I use formatting. (not sure if it is the problem of my TWRP recoveyr)

Thanks again for solving my problems!!!!
[Nexus 9 Original Android Development] USBhost:
No need to flash stock twrp

Just use the modded one

+ i made it look better then stock hehe

Just do what you would normally do

About the cache you may need to format it back to f2fs

After reset or reflash this kernel

3. O and i think thats a twrp bug

Using the modded recovery

Flash ROM Gapps kernel

Factory reset

Check to see if cache is f2fs

If not format it to f2fs

And your done
[Nexus 9 Original Android Development] pantmunu:
What is the lite version of nexus 9 ?
[Nexus 9 Original Android Development] USBhost:
Sorry misspelled it lol

I meant lte

You know the one with data
[Nexus 9 Original Android Development] pantmunu:
Damn. Got scared for a bit . Lol . Flashing in a bit. Trickster should work fine though .. right .. for adjuating cpu min/max .. i hate typing all that ..
[Nexus 9 Original Android Development] USBhost:
Lol sorry

You know you can copy it to the clipboard
[Nexus 9 Original Android Development] TotallyAnxious:
Why ofast? Just out of curiosity. The O2/O3/Ofast thing has always been a little confusing. And why disable zram? I figured a powerful device like ours with insufficient ram would benefit from zram.
[Nexus 9 Original Android Development] USBhost:
Why -Ofast because frap129 used it

why disable zram idk maybe

because in my nexus 7 days

We all hated zram

So every kernel did not have it

And so i guess the hatred came to me lol

Plus it makes the kernel larger lol
[Nexus 9 Original Android Development] bruce2662:
The recovery img that you posted isn't working properly

when i flash a rom, i shows

E: Error executing updater binary in zip ' /usbstorage/ROM.zip"

any fix?
[Nexus 9 Original Android Development] USBhost:
Will look into it

That problem seems to only happen to ROMs

Wonder why

Hmm

Or just a bad download

... Your using a usb maby thats the problem

Try to move it to internal storage

To see how that goes
[Nexus 9 Original Android Development] USBhost:
try this one

http://xdaforums.com/showpost.php?p=56537095&postcount=2
[Nexus 9 Original Android Development] tyvar1:
Wop wop! :D
[Nexus 9 Original Android Development] eded333:
Have you got cgroups enabled or disabled? Could you enable them if they are disabled and check the memory management without zram?

Nice to see Ofast optimizations enabled, for any one who wants to know what Ofast means, here's an article for an AMD CPU comparing different levels of GCC optimization.

http://www.phoronix.com/scan.php?page=article&item=gcc_47_optimizations&num=1
[Nexus 9 Original Android Development] USBhost:
cgroups are enabled

because when i tryed to disable them i got a bootloop lol
[Nexus 9 Original Android Development] eded333:
Nice, how's the memory management going with zram off and cgroups on? Is it staying too much time on critical memory and forcing launcher redraws or is it behaving as it should?
[Nexus 9 Original Android Development] USBhost:
I never get such things

My ram is doing what it should be doing

Working well :)

Im using apex launcher

Note you can turn on ksm you know
[Nexus 9 Original Android Development] bruce2662:
I'm using the 16GB non LTE model

I just tried the new recovery. When I tried to enter recovery mode, it does not enter the recovery. It stuck at the TWMP logo screen.

Do you think that is my problem?
[Nexus 9 Original Android Development] USBhost:
Wait wait

You mean the wifi only nexus 9?
[Nexus 9 Original Android Development] Hiro Nakamura:
he wrote non LTE model AND 16gb version i think it's the wifi model
[Nexus 9 Original Android Development] USBhost:
O ok

Dont know why i wont boot for hmm

It boots just fine for me?
[Nexus 9 Original Android Development] Nalorokk:
It is Nexus 9 32GB LTE version

It is from big hypermarket kinda like tech oriented Walmart. I'm bough it in aug 2015, it was from fresh batch, and had latest released firmware on that moment (i'm choosed sealed box, so it could't be updated in store).

And i don't have this problems on official kernel, so it shouldn't be hardware problem.
[Nexus 9 Original Android Development] ArisLi:
Same here, bootloop 2 times continuously, or long freeze randomly. NO relation to huge ram use.

It happen more frequently after clean install latest pure nexus for few days.

Temporary move to ElementalX Kernel for half day, this issue never happen yet.

Edited: Another half day use on ElementalX Kernel, suffer the same issue one time, also auto-reboot twice. It might not be the kernel issue, but gapp issue?

I am on pure nexus and bank gapp.
[Nexus 9 Original Android Development] USBhost:
I'm on Pure Nexus 12/1 | opengapps

i was thinking it could be a ROM problem

and just some N9s get the bug

thanks for the report

it gives me some peace
[Nexus 9 Original Android Development] Nikki1993:
Do you have Google voice activation everywhere working? I am on opengapps too but for me those options are greyed out...
[Nexus 9 Original Android Development] Nalorokk:
I'm got ramoops and seems like it was dead freeze, not poweredoff. Maybe it will be usefull. Battery reporting not worked during this freeze, but seems like kernel was alive (it is in logs).

I will do more testing about this state, but it did not react on any buttons.
[Nexus 9 Original Android Development] USBhost:
nop

freezes like that happen only one or 2 times a week for me

and only when I'm testing lmk
[Nexus 9 Original Android Development] Nalorokk:
Happened for me again right now. Two times today.
[Nexus 9 Original Android Development] ArisLi:
Report more details:

I am original come from very clean factory img flash all, then pure nexus 11/21 with USBhost's recommend micro OPEN GAPP. I have has suffer this (freeze/auto-reboot) issue on that rom/gapp.

Since Fire-ice is my 1st pick kernel, when it come to pure nexus 12/01 version, I try ciean flash rom-> flash fire ice kernel->boot -> then flash latest mini open Gapp, but it seems to be gapp not compatible, open GAPPS always be FC while 1st booting.

So I re-clean-flash with Bank GAPPs, it look like everything is OK in the beginning , but now it suffer frequently freeze and double auto-reboot issue.

Sometimes I see the pop message show " Some current APP is stop" "System UI no response" "GAPPS stop......." while long freezing.....

I will keep my rom clean and see if it happen again, now i have to uninstall all layers overlay.

--------Sorry for may English, I have try my best.----------- : )
[Nexus 9 Original Android Development] USBhost:
NP man my english is also bad lol

try thses https://renderserver.net/browse?path=USBhost/tmp

also for opengapps try Pico-Package

if you still get a fc pls get a logcat
[Nexus 9 Original Android Development] tibere86:
Weird. I'm on the latest Pure Nexus and Fire-Ice Kernel and Open Gapps have never worked for me. I always get Google Play Services force closes after a clean flash. Bank's Gapps are the only one that reliably works for me.

Edit: I also forgot to mention, I have never had any of these reboot issues people have been experiencing. I run stock settings expect for setting ZRAM to 500MB and Swapiness to 80.
[Nexus 9 Original Android Development] USBhost:
ok guys if any one of you update to android 6.0.1 try to see

if AOSPM works for you
[Nexus 9 Original Android Development] Bastlwastl2010:
Don now if this helps:

I am still on CM 12.1 with OpenGAPPS.

Have two Versions:

open_gapps-arm64-5.1-nano-20151104.zip

open_gapps-arm64-5.1-nano-20151207.zip

cm-12.1-20151204-NIGHTLY-flounder works with non of these two builds (fc reboots)

cm-12.1-20151202-NIGHTLY-flounder and

cm-12.1-20151118-NIGHTLY-flounder

works with open_gapps-arm64-5.1-nano-20151104.zip

not with open_gapps-arm64-5.1-nano-20151207.zip (fc, reboots)

With original cm kernel the same errors.

Think i flashed my tablet 15 times these day to verify this
[Nexus 9 Original Android Development] BupycNet:
Why I cant charging on stock wall charger? Working only 1.7 A custom charger.
[Nexus 9 Original Android Development] USBhost:
can I have a kernel log

because I can charge on stock charger.
[Nexus 9 Original Android Development] Nikki1993:
It's the same for me with stock charger. For some reason it doesn't like 2.0A commit :P when removing said commit, stock charger works no probs
[MENTION=5501864]USBhost[/MENTION]
[Nexus 9 Original Android Development] BupycNet:
I test multiple chargers and multiple devices.

ITS PROBLEM IN CHARGER!!

1. i connect kindle fire to stock charger - ok its charging

2. i connect nexus 9 with kernel to stork - charger dont work anymore!!!

3. connect kindle - dont work!!!

...

4. Disconnect from wall. Wait 10 min.

5. Connect to kindle - its working.

Outcome: Charging has protection which is triggered when connecting nexus 9

How to Lower Power?
[Nexus 9 Original Android Development] MECK187:
Hi,

When I'm turning fast charge on and using my s6 edge charger it's charging slower like when I'm turning fast charge off with stock charger.

Why?

Best regards

Gesendet von meinem SM-G925F mit Tapatalk
[Nexus 9 Original Android Development] USBhost:
thanks will look into it
[Nexus 9 Original Android Development] jasonlai79:
I connect stock charger-about 1.3A(sometimes i cant charge, the problem is charger)

I connect anker 20w 4A dual-port wall charger-about 1.9A

I think the kernel is well, the stock charger maybe has some problems.

Sorry for my poor English!
[Nexus 9 Original Android Development] USBhost:
I found the problem most likely

So guys what do you want?

9.9.1r3 or 9.9.2
[Nexus 9 Original Android Development] b1g.p0ppa:
9.9.2! </please>
[Nexus 9 Original Android Development] Bastlwastl2010:
[MENTION=5501864]USBhost[/MENTION]

Can you add govenour intelliactice to this kernel?

I test around with blueactice and wheatly, but i am still back on interactive.

Maybe intelliactive give me the balance between performace and battery.

And i quote myself:

Thats all bull****.....

With newest nightlys and gapps from today no problems, seems a "nightly" problem :cowboy:
[Nexus 9 Original Android Development] USBhost:
will do for 9.9.3
[Nexus 9 Original Android Development] USBhost:
K9.9.2 is up

K9.9.2

-| memory updates (a lot)

-| zram fix/updated to linux 4.4 ( last one was not fully 4.4 )

-| BUGFIX: some/all reboots should be fixed ( not 100% sure )

-| Linux 3.10.94

-| updated to 6.0.1 kernel source

-| latest from google

-| others dont remember

https://github.com/USBhost/FIRE-ICE/compare/9.9.1...9.9.2 full list
[Nexus 9 Original Android Development] Nalorokk:
Seems like reboots is maybe fixed, but systemless root not working :)
[Nexus 9 Original Android Development] tibere86:
I'm running vK9.9.2 with Pure Nexus ROM. I've noticed my /cache (formated EXT4) partition isn't being used. It's always empty when I check it in TWRP. Is this normal behavior?

Additionally, I've noticed also if I format my /cache partition to F2FS, 70MB of space immediately gets taken up. Is this also normal?
[Nexus 9 Original Android Development] USBhost:
will look into it

yep that's normal
[Nexus 9 Original Android Development] locutus2000:
I just flashed your kernel on PureNexus 6.0.1 for faster charging and exfat/ntfs support. So I just inserted a exfat USB drive and the tablet marks it as corrupted. Would I need additional software to mount the stick? I checked under about tablet that the kernel is installed. I installed the AOSPM Kernel
[Nexus 9 Original Android Development] USBhost:
to mount anything other than fat you will need to mount it manually or by using

https://play.google.com/store/apps/details?id=eu.chainfire.stickmount
[Nexus 9 Original Android Development] locutus2000:
Thanks, it worked!
[Nexus 9 Original Android Development] Bastlwastl2010:
[MENTION=5501864]USBhost[/MENTION]

It seems CM13 wont boot with this kernel
[Nexus 9 Original Android Development] USBhost:
ii will fix

i will be dropping support for cm12.1
[Nexus 9 Original Android Development] jlokos:
TWRP System read only

I'm sure this is user error, but I have searched and cannot find the answer. I'm using your modified TWRP. I flashed the latest Pure Rom (with your fire & ice kernel); I wanted to flash another rom so I wiped and attempted to restore a nandroid backup. However, I got the following error message in TWRP: "Cannot restore system -- mounted read only." I can't figure out how to get back to read/write. Any help would be appreciated.
[Nexus 9 Original Android Development] USBhost:
did you reboot recovery?
[Nexus 9 Original Android Development] jlokos:
Yes; same result.
[Nexus 9 Original Android Development] USBhost:
does formating system work?
[Nexus 9 Original Android Development] jlokos:
Yes, under advanced wipe, I can format system.
[Nexus 9 Original Android Development] USBhost:
after formating system can you wite on it?
[Nexus 9 Original Android Development] jlokos:
Thanks for your help. I went back to mount in TWRP and noticed (for the first time) an option box (which was checked) mount system as read only. I unchecked the box, got a warning from TWRP, accepted the warning, went back to restore and successfully restored the nandroid. Bang head!!!
[Nexus 9 Original Android Development] USBhost:
9.9.3 should be out on Sunday with some fixes

Nothing big. And support for CM marshmallow
[Nexus 9 Original Android Development] USBhost:
K9.9.3

-| some memory build fixes

-| updated the mount options for f2fs and ext4

-| support cm 13

-| dropped support for cm 12.1

-| dropped support for android 5.1.1

-| FI.d: v34

Note's if your using an override

pls read what changed in FI.d
[Nexus 9 Original Android Development] Bastlwastl2010:
Looks fine on CM 13 with F2FS Data Partitiion

Please dont forget the intelliactive govenour

Thanks
[Nexus 9 Original Android Development] jonahmt21:
Lots of my apps are now crashing after upgrading to cm13 and 9.9.3. What did I miss
[Nexus 9 Original Android Development] USBhost:
are you sure its not the ROM's fault?
[Nexus 9 Original Android Development] jonahmt21:
ok i think its just a bad flash i guess. flashed the latest nightly and then your kernel and its good again. thanks for your awesome kernel :)
[Nexus 9 Original Android Development] ArisLi:
HI USBhost , report my latest auto/randomly reboot issue:

Maybe, it is not ROM/GAPP issue, but ANDROID M +XPOSED + Greenify issue:

http://xdaforums.com/apps/greenify/greenify-xposed-marshmallow-t3249362

(see xiaolvmu in the thread:))

I am a big fan of Fire-ice kernel, while suffer the auto/randomly reboot, just temporary move to ElmentalX kernel.

In the weekend, on the latest EX kernel for 6.0.1, seem to be fine under heavy usage, no reboot.

But on Monday, it reboot several times.

Our local android forum has tons of hTC M8 Android M issue reported (hTC: our local brand), one is the reboot issue with xposed/greenify.

Now I unchecked the GCM box on PN rom and FI kernel, bank GAPP, and see if it still reboot.

Will report few days later.
[Nexus 9 Original Android Development] scooby1024:
Really top notch kernel. Installed on 6.0.1 purenexus and it's smooth as silk on default settings. Very good battery life as well. ? Thank you for your hard work.
[Nexus 9 Original Android Development] AL2000EX:
Is it still better to set swapinness to 100 if using a 120mb cswap with f2fs? imo zram does more bad than good
[Nexus 9 Original Android Development] b1g.p0ppa:
Swappiness is back down to 60 in latest Fl.d. I think USBhost had it up at 100 in order to test swapping.
[Nexus 9 Original Android Development] USBhost:
yep it was for testing

having swapinness 100 vs 60 had almost no difference

but if you have low swap than it should be higher
[Nexus 9 Original Android Development] b1g.p0ppa:
I'm giving blu_active another chance. Last time I tried it I didn't think about gfix=1 in my /sdcard/overrride file. I've set gfix=0 now, rebooted of course, and am really enjoying the snappiness. Interactive was really fast too with gfix=0 but blu_active seems to be even better.
[Nexus 9 Original Android Development] USBhost:
Cough gfix only effects interactive cough cough. :angel:
[Nexus 9 Original Android Development] b1g.p0ppa:
Lol. My bad :p . It sure is noticeable on interactive. Nice to know I can leave it in there then and play with some kernel audiutor profiles for battery savings. Not sure what is making blu_active so much better than the last time I tried it but it definitely doesn't suck now.
[Nexus 9 Original Android Development] bensl84:
I must be doing something wrong. Running stock 6.0.1 and latest fire Ice. No root. Flashed su2.6 as well.

Background : came from stock 6.0.1 running elementalx. I had root.

I'm confused
[Nexus 9 Original Android Development] USBhost:
What root method?
[Nexus 9 Original Android Development] bensl84:
Flashing latest systemless root.

I was rooted prior to flashing fire and ice. I lost root once I flashed fire and ice. Once I realized I lost root. I then flashed the latest su.zip but apon reboot. I wasn't rooted
[Nexus 9 Original Android Development] USBhost:
flash 2.52

Systemless root does not work to well on this kernel

just the way how I have my ramdisk

I plan to support superSU systemless root in the future but right now I don't have time.

FYI FI.d mods system anyway
[Nexus 9 Original Android Development] AL2000EX:
One thing I've noticed about blu_active is that the hispeed_freq is set to 2499 by default even if *not* overclocked. I'm pretty sure that's not intentional
[Nexus 9 Original Android Development] bensl84:
Thanks for the quick reply. I tried last night but twrp started bootlooping. I plan on flashing your modded twrp later this afternoon so I can flash 2.52. I will let you know my results.

Again thabks[emoji1]
[Nexus 9 Original Android Development] smayonak:
Using Android 6.0.1 on AOSPML 9.9.3 doesn't allow the tablet's screen to turn on (it's black and backlit) on boot.

I think it is otherwise booting normally. The notifications light blinks once and then turns off. The tablet might be working normally, but unfortunately I can't collect logs because the screen is not working properly and 6.0.1 seems to have broken AirDroid's ability to do screen mirroring (which would allow me to turn MTP on, with a dysfunctional screen).

Any ideas on how I can collect logs?
[Nexus 9 Original Android Development] USBhost:
don't flash legacy

flash AOSPM only