yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] bruce2662:
Yes, I am using a 16GB wifi only version Nexus 9

Does the weird behaviour of the modded TWRP recovery happen in anyone else's n9?:confused:

I do not know why weird problems are coming up so frequently.:crying:

Do you guys have any weird problems while flashing roms, kernels, gapps.... ?

One thing that I must mention is that I did not wipe my internal storage (aka sd storage) while all kinds of weird things happen. Do you guys think that the user data in the internal storage may cause these problems? I want to ask you guys to check before I wipe my device! just confirmation!! THANKS!!
[Nexus 9 Original Android Development] USBhost:
16gb or 32gb should not do anything

try this

fastboot boot recovery recoveryR2.img

or boot the older one

fastboot boot recovery recoveryR1.img
[Nexus 9 Original Android Development] bruce2662:
Any difference between "fastboot boot recoveryR1.img" and "fastboot boot recovery recoveryR1.img"?

So... Does the data in my internal storage affect flashing TWRP, flashiing ROM, flashing kernel, decrypting system etc.?

Just to reminded that I have done more than 10 times of TWRP flashing, 10 times of ROM, kernel flashing, more than 10 attempts to decrypt system since I got the brand new device, BUT I HAVE NEVER WIPE MY INTERNAL STORAGE. I'm not sure whether the "accumulated" cache, and data in internal storage would affect flashing TWRP, flashiing ROM, flashing kernel, decrypting system.
[Nexus 9 Original Android Development] USBhost:
fastboot boot recoveryR1.img

Thats right

Sorry

Hmm dont know

stranger things have happened
[Nexus 9 Original Android Development] buffalo_guy:
Peer 5 download not working

I can't seem to download the newest files. It says it is downloading but i never recieve the file. What am i missing? Thanks

Edit. Only works in Chrome. Other browsers i have used don't get the download.
[Nexus 9 Original Android Development] USBhost:
Don't know

But Here you go

If you want the recovery

Let me know
[Nexus 9 Original Android Development] mywebslave:
I was having bootloops for twrp r2. I looked to see if i had a 3rd party theme and there is none. Also tried to delete the .twrps file and none exists. But the r1 release works fine. Not sure whats going on there. Other then that the k1 kernel is working great, just confused with the twrp issue.
[Nexus 9 Original Android Development] USBhost:
Ok i

Will go back to stock twrp kernel

Another question

Why would it work for me

But not you?

Its so hard for me to figure out what happening

When it does not bloody happen to me!?
[Nexus 9 Original Android Development] mywebslave:
I wish i had an answer for you. The kernel is awesome, just twrp is picky. I'm thinking maybe the other guy was having the same problem. Is there a newer hboot out that you are using? I haven't had the time to check the latest factory img from google.
[Nexus 9 Original Android Development] USBhost:
Well

Im using the same one as the first forced update when I got my n9
[Nexus 9 Original Android Development] USBhost:
Will make a separate build

for the lte versions of the nexus 9

because there's no point having the lte futures for us

Wifi only users
[Nexus 9 Original Android Development] bruce2662:
Look at the attachments

It seems that the /data speed is pretty fast now R: 80 W: 350

BUT the /sdcard speed is still very slow

R: 60 W: 120

I'm wondering why it's still showing encrypted... Does it mean my n9 is decrypted now?

Also isn't weird that the writing speed is faster than reading speed? Is that a bug of the app?
[Nexus 9 Original Android Development] USBhost:
I lost trust for that tool

because it told me i had only 4mb random W/s

O and your nexus 9 is encrypted

It should look like this
[Nexus 9 Original Android Development] USBhost:
oops
[Nexus 9 Original Android Development] GeneralSmart:
Could anyone provide flashable stock kernel please?
[Nexus 9 Original Android Development] USBhost:
Sure
[Nexus 9 Original Android Development] zawata:
So I just found out about the modded twrp, does it have a new (correctly-sized) theme to it or is it just some system changes and the stuff listed in the OP
[Nexus 9 Original Android Development] USBhost:
Im a noob on editing twrp lol

I just made it look a little bit better

So there are still things that look weird

OK guys

TestR2 recovery is up does it boot for you?

If it does not I think I know why
[Nexus 9 Original Android Development] GeneralSmart:
very much appreciated , thankx
[Nexus 9 Original Android Development] kacanghantu:
i got a slight lag when playing boom beach with zram n ksm active..but after disable,game more smoother..and also ui become more smoother..what your recommendation setting for this kernel with pure nexus rom..thanks sir
[Nexus 9 Original Android Development] USBhost:
im just running stock settings (atm)

ksm adds lag so dont enable it when your using zram.
[Nexus 9 Original Android Development] stonebear:
uksm and ksm set to zero with zswap?
[Nexus 9 Original Android Development] Maraudeur:
K10.0.2 with zram 500 swapping 60. I have rarely long freezes
[Nexus 9 Original Android Development] madbat99:
Hey [MENTION=5501864]USBhost[/MENTION] there is a guy in this thread who seems to have a developer nexus 9. When he boots it, it says developer device, not for public. Or something like that. Interesting...
[Nexus 9 Original Android Development] maelfilk:
On Purenexus, when i switch on KSM, some apps like GooglePlus stop working, they just force close at start. When i switch ksm off they start working again.:confused:
[Nexus 9 Original Android Development] USBhost:
Some apps don't like uksm
[Nexus 9 Original Android Development] Pazienza:
Is there a way to get the stock GPU frequency?
[Nexus 9 Original Android Development] USBhost:
it's already stock by default

unless "oc=1"
[Nexus 9 Original Android Development] Pazienza:
Ok found it.. Thank you! Run's great so far
[Nexus 9 Original Android Development] AlexanderDG83:
Installed K10 on my flounder with latest stock factory image and all work good. Thank you USBhost! [emoji6]
[Nexus 9 Original Android Development] USBhost:
R12 is up

R12

-| kernel: updated as to K10.0.3

-| TWRP: updated to 3.0.0-0

-| theme: removed
[Nexus 9 Original Android Development] Sn0wHookr:
Thanks for your great work with this kernel. I'm using 10.0.2 with PureNexus ROM. Everything works great except my tablet seems to take 1-2 hours longer to charge then when on stock. Battery app says it charges at about 700mA. Any ideas on this issue? Thanks!

Update: seems like it was a cable/charger issue. Using a different charger allows it to charge at 1.4mA and charge time is back to normal. Strange how custom ROM/kernel makes the stock charger ineffective.
[Nexus 9 Original Android Development] USBhost:
k10.0.3 is up

K10.0.3

-| latest: from google

-| some: optimization/changes :: testing

-| re-enabled: memory control groups

-| some: under the hood changes (mm stuff)

Note's:

about the optimization/changes i did this version may run slower or faster

so test it out and let me know how it goes.

Memory Control Group

i re enabled it because i never felt a decrease in performance when it was enabled

so its enabled now. if you don't know what this is: it's what google disabled on android 5.0.1

thinking that is made reclaiming memory a performance hog. but i'm not saying that google was

wrong it's just i never felt it.
[Nexus 9 Original Android Development] maelfilk:
Thanks! So far it's running great!
[Nexus 9 Original Android Development] Bastlwastl2010:
Installed the new kernel with the your new TWRP 3.0.0-0

Works like a charme
[Nexus 9 Original Android Development] enriquejones666:
Are Memory Control Groups something that we can fine tune (like with Kernel Adiutor or terminal commands), or is that baked into the kernel?
[Nexus 9 Original Android Development] Bastlwastl2010:
The last two weeks i playing around with different governors specialy with the inteliactive....

But in my conclusion and for my use the good old interactive with gfix=1 is still the best in performance/akku runtime.

With gaming, browsing the web and reading pdf in mix i am 6 hours runtime.

All other combination give me shorter lifetime and the N9 becomes really hot
[Nexus 9 Original Android Development] USBhost:
yes and no

yes you can configure it

no the OS does it better

no you will have almost no idea what to do.
[Nexus 9 Original Android Development] joeyddr:
Just had a really bad lag and a reboot. Attached log.
[Nexus 9 Original Android Development] USBhost:
on recovery?
[Nexus 9 Original Android Development] joeyddr:
No just browsing around booted into rom

Sent using XDA One

---------- Post added at 05:16 PM ---------- Previous post was at 05:15 PM ----------

Sorry I thought I quoted your latest kernel

Sent using XDA One
[Nexus 9 Original Android Development] USBhost:
NP :)

if your nexus 9 a wifi only
[Nexus 9 Original Android Development] joeyddr:
Yes

Sent using XDA One
[Nexus 9 Original Android Development] USBhost:
what cpu gov where you using
[Nexus 9 Original Android Development] joeyddr:
Intelliactive

Sent using XDA One
[Nexus 9 Original Android Development] USBhost:
try another one to see if you still get a reboot
[Nexus 9 Original Android Development] joeyddr:
Ok

Sent using XDA One
[Nexus 9 Original Android Development] stonebear:
Got a weird error on your new TWRP "failed to unmount system" in red at the end.
[Nexus 9 Original Android Development] USBhost:
when did this happen ?
[Nexus 9 Original Android Development] b1g.p0ppa:
I saw this doing after a backup. Everything still worked fine though.
[Nexus 9 Original Android Development] stonebear:
just before I posted.
[Nexus 9 Original Android Development] USBhost:
haha
[Nexus 9 Original Android Development] USBhost:
If IMC stock twrp seems to have the same thing

so I don't think is my problem.
[Nexus 9 Original Android Development] stonebear:
Here is a pic of the full error message.
[Nexus 9 Original Android Development] ricco333:
Yes, stock TWRP has the same issue, I went back to your R11.T2 and everything is awesome again, plus I like your theme better. It will get sorted out eventually.

Erik
[Nexus 9 Original Android Development] Maraudeur:
K10.0.3 ..still dead freezes ....
[Nexus 9 Original Android Development] USBhost:
can you get a kernel log?

if its the same as the other guy I may know what's up
[Nexus 9 Original Android Development] maelfilk:
K10.0.3 running interactive with no KSM or ZRAM, no freezes

I had one when i set ZRAM to 400, returned to 0.
[Nexus 9 Original Android Development] tibere86:
I have the same set up...Interactive CPU governor, KSM and ZRAM both disabled. No freezes or reboots. Many thanks [MENTION=5501864]USBhost[/MENTION] :good:
[Nexus 9 Original Android Development] USBhost:
K10.0.4

-| latest: from google

-| FI.d: v40

-| add: lmk control for swap :: look in FI.d

-| some: cleanups

Note's: take a look at what added in FI.d

you can now control how full you want swap to be

before lmk starts killing

also if you download k10.0.4 before this post redownload

it because an older version of k10.0.4 was up last night and most today :angel:

I was a little bit to anxious for the release lol
[Nexus 9 Original Android Development] 1031982:
Sorry if this seems stupid, but how would I go about doing this?
[Nexus 9 Original Android Development] Bastlwastl2010:
[MENTION=5501864]USBhost[/MENTION]

Do you compile a twrp-3.0.0-2 ?

Thanks
[Nexus 9 Original Android Development] 1031982:
I should have been more specific, sorry. How can I restorecon every file? I want to avoid a wipe.
[Nexus 9 Original Android Development] USBhost:
i do not compile twrp i just mod it

bty my moded one of twrp-3.0.0-2 will be up today

this should do it :good:

run "restorecon -rv /*" in recovery

but only after you flash the new kernel
[Nexus 9 Original Android Development] 1031982:
Thanks. It's running now. I'm guessing it will take a good hour or two if not more, but that's fine.
[Nexus 9 Original Android Development] USBhost:
what do you mean?

an hour? it should not take that long.
[Nexus 9 Original Android Development] 1031982:
I wasn't sure how long. Took around 10-20 minutes. However, it did not work. It just crashed after the Google logo and restarted in TWRP.

I flashed another kernel, ran the command, cleared cache, and then restarted.

Regardless, I simply pulled my data off the tablet and wiped it to start fresh.
[Nexus 9 Original Android Development] USBhost:
sorry man.
[Nexus 9 Original Android Development] USBhost:
R12.T2

-| kernel: updated as to K10.0.5 (as of now)

-| TWRP: updated to 3.0.0-2
[Nexus 9 Original Android Development] 1031982:
It's OK. I had a little time to play around with my Nexus, and tried a new kernel knowing the risk. If I had more time, I would have worked more on it. Because I use it for school stuff, I'm limited with the amount of time I can play with it in terms of modifying the system. I need it it stable and for some reason this kernel caused the CPU to spike seemingly randomly forcing me to do a hard reboot. If it wasn't for that, I would have most likely left it on.

I didn't change any of the kernel settings, so I'm not sure what was going on.
[Nexus 9 Original Android Development] tristpinsm:
Hi, here's a report of an issue I ran into using your kernel:

(thanks for working on this by the way!)

I had flashed 10.0.4 about a week ago, along with superSU 2.67, and everything was working great. But this morning I was using the Dropbox app (don't know if this is related) and suddenly the tablet rebooted and I was stuck in a boot loop. It would appear to boot fine, but after the android logo showed up the screen would just go black for about a minute (the LED light would briefly go on also), followed by the "starting apps" dialog for a second, before it rebooted again. I tried reflashing 10.0.4 and superSU, but that had no effect. So I flashed the latest stock images and it has now booted up (seemingly) alright.

I also just noticed that the Dropbox app crashes when I try to open it now... I will try and wipe the cache and see if that helps.
[Nexus 9 Original Android Development] USBhost:
Hmm. If you could get a logcat of the boot that would new awesome

Also the logcat of Dropbox fc
[Nexus 9 Original Android Development] tristpinsm:
Is it too late to recover logcat of the boot loop? I've flashed system and boot to stock.

And Dropbox is fine after clearing app caches and data.
[Nexus 9 Original Android Development] USBhost:
yes it is. man I would have loved to see that log
[Nexus 9 Original Android Development] tristpinsm:
Oh well... Maybe next time!
[Nexus 9 Original Android Development] USBhost:
News update!

News update!

K10.1.0 will most likely be my next update.

The main change that it will have is "Search and Destroy" (get the reference)

What that means is that I will go through every single commit making sure its working and applied.

Before I was a little bit, too much hack and slash he he (My bad :)) so things most likely got broken,

that could explain all the reboots people have been having... And like always I don't get them lol my N9 is unbreakable!

So the next update could take a little while/or not as I go through all the commits (2000+) it all depends on how much I can do a day.

Also what do you guys think of News updates?
[Nexus 9 Original Android Development] Bastlwastl2010:
Thats great, so we now you are working on the kernel :):)

btw, i am on cm version and never have any problems with your kernel, no reboots, hangs, stable and fine here
[Nexus 9 Original Android Development] b1g.p0ppa:
Another vote for News Updates!
[Nexus 9 Original Android Development] jdancer:
CIFS command-line syntax?

Does anyone know the exact command-line syntax to mount a CIFS share?

I can confirm I can mount the CIFS share with AndSMB (samba client) from Play store and under Windows 10.

I just can't figure out the correct command-line syntax. My next step is use the patched CIFS Manager http://xdaforums.com/showpost.php?p=53760495&postcount=537

I rather mount the CIFS manually.

Thanks for the help!
[Nexus 9 Original Android Development] USBhost:
something like this "mount -t cifs -o username=USERNAME,password=PASSWD //192.168.1.88/shares /mnt/share" ?
[Nexus 9 Original Android Development] alegru:
I'm using Tasker to automate mounting. Try this in a shell:

su --mount-master -c mount -t cifs -o rw,username=xxx,password=xxx,iocharset=utf8,file_mode=0666,dir_mode=0777,noperm //ip/share /local_mountpoint
[Nexus 9 Original Android Development] ÜBER™:
Flashed your latest twrp img, booted into recovery to flash new rom and kernel updates... and my sdcard was empty? Booted back up and everything is there. :confused:
[Nexus 9 Original Android Development] USBhost:
hmm are you encrypted?
[Nexus 9 Original Android Development] ÜBER™:
Shouldn't be, already on your kernel was just updating.
[Nexus 9 Original Android Development] USBhost:
was data mounted?
[Nexus 9 Original Android Development] ÜBER™:
Its not allowing me to mount it :S under mounts it says internal storage is 0.
[Nexus 9 Original Android Development] USBhost:
in recovery after you try to mount do

"dmesg"

then when in android can you do.

"mount"

give me the out put.

PS maybe you got a bad flash did the md5sums match for recovery?
[Nexus 9 Original Android Development] ÜBER™:
Redownloaded and reflashed, same thing. Couldn't get the dmesg log to copy to my sdcard because its not recognized in recovery and couldn't seem to figure out how to run that on my PC. Ran mount in terminal when i rebooted, but took a picture of the log screen with errors on it.

Log screen

Mount
[Nexus 9 Original Android Development] USBhost:
bug found! thanks for the info!

looks like recovery can't seem to Mount encrypted data

idk if its my problem or theirs, looks like I need to encrypt my data find out :angel:
[Nexus 9 Original Android Development] ÜBER™:
:good: In no hurry to update tablet still works fine so I can wait till it gets sorted out.
[Nexus 9 Original Android Development] USBhost:
na.. i need to update my ROM anyway! im still on PureNexus 1/9/16 build lol

hopefully by tonight i will get it all sorted out! [MENTION=4333155]Über™[/MENTION] its fixed

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

K10.0.5

-| some: optimization/changes :: testing v2

-| bugfix: reboots attempt 1

-| other: updates

i did not want you guys to wait for K10.1.0 for the reboot fix,

that im ~80% sure it will be fixed. so here's K10.0.5.

Note's:

Reboot Fix Attempt 1

im ~80% sure this will fix it, so guys, try to get it to reboot/crash for me!

Optimization/Changes

also i think this version will run faster at least it has for me.

so please report back!
[Nexus 9 Original Android Development] scooby1024:
2 was perfect, 3 & 4 had reboots and now five has been perfect. No logs on the reboots but performing all the same operations/conditions. I think you fixed the reboot issue. =) Thank you.
[Nexus 9 Original Android Development] enriquejones666:
Thanks, TWRP.R12.T3.zip fixed it.

I didn't even realise I was encrypted until I tried to flash something from /sdcard with your previous version.

Hmmm, maybe this wasn't a bug after all; just a feature to remind you to decrypt ?
[Nexus 9 Original Android Development] ÜBER™:
Yep, ditto. T3 fixed sdcard issues, now up and running 10.0.5 on the latest PureNexus. No complaints :good:
[Nexus 9 Original Android Development] Maraudeur:
I'm on stock and 10.0.5 and crash/reboots appear again. On all versions from 10.0.0 I have them, last stable version is K9.9.5r2
[Nexus 9 Original Android Development] USBhost:
Can you get a log?
[Nexus 9 Original Android Development] Maraudeur:
Can you give me please some instructions how to do it or link to them? I had yet searched, but I couldn't find
[Nexus 9 Original Android Development] USBhost:
NP

after the freezes/hard reboot do

"cat /sys/fs/pstore/console-ramoops-0 > /sdcard/kmsg.log"

then give me the log
[Nexus 9 Original Android Development] Maraudeur:
Do I must it do from Terminal for Android? It says that "no such directory"
[Nexus 9 Original Android Development] USBhost:
Then just do

cat /sys/fs/pstore/* > /sdcard/kmsg.log

You don't need to do in android

Adb if fine
[Nexus 9 Original Android Development] Maraudeur:
Thanks, I got it. Its very hard to work with 10.0.5, it stucks all time, every 5 min :(

That's files all I have(
[Nexus 9 Original Android Development] USBhost:
what ROM are you using?

kmsg.txt log you got it after the crash?

edit: let me know if this version reboots for you

https://drive.google.com/open?id=0B1cOHQ70J9vlbmZ3WVZyTENWNGM
[Nexus 9 Original Android Development] Maraudeur:
Thank you!! This kernel is more stable than another K10.0.* versions. I havent yet got stucks or needs to reboot. By the way I use stock ROM MMB29K.
[Nexus 9 Original Android Development] USBhost:
Awesome! Guess it's time to releases it!
[Nexus 9 Original Android Development] joeyddr:
this version works great no lags or hangs just like r2 but snappier,
[Nexus 9 Original Android Development] USBhost:
no FCs in anything?

I'm just making sure

because of https://github.com/USBhost/FIRE-ICE/commit/8abbf2c8ea26d684002709dcc74bcfa0100ef097
[Nexus 9 Original Android Development] joeyddr:
Been fine

Sent using XDA One

---------- Post added at 05:24 PM ---------- Previous post was at 05:22 PM ----------

Using purenexus latest.

Sent using XDA One
[Nexus 9 Original Android Development] tamjan:
I'm running the CMM one (10.1.0) with CM13 without any noted issues.
[Nexus 9 Original Android Development] Maraudeur:
In this morning (after two good days with this version), I had stuck (dead freeze) again,when I wanted to turn on LTE.(I'm on the same stock ROM)

Unfortunately I didn't do log, because ain't have got time :(
[Nexus 9 Original Android Development] USBhost:
ok thanks !

so it has something to do with LTE

edit: [MENTION=6025349]Maraudeur[/MENTION] try this one

https://drive.google.com/open?id=0B1cOHQ70J9vlbmZ3WVZyTENWNGM

test LTE turn it off/on use it dont use it test it
[Nexus 9 Original Android Development] Maraudeur:
On previous version I had dead freezes again when I opened video on Youtube and I did reboot because it was very slow work(

I did cat /sys/fs/pstore/* , it is in attachment
[Nexus 9 Original Android Development] USBhost:
K10.1.0

-| Linux: 3.10.98

-| latest: from google

-| some: reboots fixed

Note's:

K10.1.0 will be a multiple release

until all the reboots are fixed

This Release

is a bugfixing release i went through every commit

making sure it worked and fixed some of them. in the hope

of fixing all the reboots some people have been getting.
[Nexus 9 Original Android Development] USBhost:
So how's everything working for you guys?
[Nexus 9 Original Android Development] Bastlwastl2010:
Perfect, cant say more.....
[Nexus 9 Original Android Development] tamjan:
I'll flash it tomorrow. Didn't have time today. I'm still on the 3.10.97 one (CMM) and YouTube does indeed hang for a while. But it's much better than 10.0.5. On the other hand I've also disabled encryption and switched to F2FS since then...
[Nexus 9 Original Android Development] schickel:
I'm on pure nexus and your kernel (default settings) and have no issues with it (no reboots or FC). Only thing is the "small" heating while reading and surfing (no games no heavy apps) on the back.
[Nexus 9 Original Android Development] mute68:
Working great on pure nexus ROM!
[Nexus 9 Original Android Development] enriquejones666:
Small correction to your OP. The section titled "ramdisk" should probably be "drive mounts" or "partition mounts" or something similar. I'm guessing the ramdisk heading is supposed to be its own section, but you ran out of time to complete it.

RAMDISK

-| no forced encryption

-| universal cache mounting / any file system
[Nexus 9 Original Android Development] tamjan:
3.10.98 works fine. Haven't noticed any regressions yet.
[Nexus 9 Original Android Development] Maraudeur:
But I have the same problems... YouTube sometimes crashes my tab ;-(

I mean "dead freeze"