yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] USBhost:
Can you get a logcat

I'm pulling 8.3 for now

until the recent issues are fixed
[Nexus 9 Original Android Development] ousoonerchase:
I'm happy to help but I don't know how to pull the logs from boot. I always just use the catlog app. I'm good at following instructions and have a few hours to kill though. [emoji106]
[Nexus 9 Original Android Development] USBhost:
adb logcat

Just wait for like 20s then ^c

Give me the output
[Nexus 9 Original Android Development] R3Lax1:
Did you follow the procedure that [MENTION=2850740]12paq[/MENTION] provided? Shouldn't encounter any problems then.
[Nexus 9 Original Android Development] ousoonerchase:
I'll see what I can do, work computer doesn't allow programs installed but I bet I can borrow a laptop. Sorry I'm not a lot of help!
[Nexus 9 Original Android Development] USBhost:
Try that if that works

I think I know why...
[Nexus 9 Original Android Development] ousoonerchase:
Followed them to a T. Reinstalled 7.7.3 and it booted fine in about 90 seconds. I'm still trying to locate a real computer I can plug into
[Nexus 9 Original Android Development] USBhost:
try this one
[Nexus 9 Original Android Development] ousoonerchase:
Sure thing, trying now. Heres a log I tried to capture, FWIW.
[Nexus 9 Original Android Development] 12paq:
I think I found the script error.

Ok, to test, from booted and running FI 5.1 8.3, I went back to recovery and changed Cache to ext4,

then flashed FI 5.1 7.7.3. and confirmed in recovery that I was in ext4.

Then, I successfully booted to Android with ext4 cache.

Then I added this line to the very end of your updater-script of FI 5.1 K8.3 :

unmount("/cache");

run_program("/sbin/mke2fs", "-t", "ext4", "/dev/block/platform/sdhci-tegra.3/by-name/CAC");

ui_print("All done enjoy");

I booted back into recovery and flashed my test kernel 5.1 K8.3 without changing file systems in recovery, and Android booted up just fine, with the changed file system to 2fs.

This was a dirty patch with no code clean up on the previous lines. I just pasted the above code to your Updater script. The ui print even said ("All done enjoy") twice, lol.

I'm sure you found this already, and I still could be wrong, this could be an encryption error?, but it was fun to try to figure out.

Also, I think the updater-script might need an "if then line" that identifies what file system cache is currently in, so users can flash back and revert from Ext4 with K8.3+ to a previous 2fs legacy kernel, but I did not test that.

Edit: Here's a test to try, please back up your boot image first:
[Nexus 9 Original Android Development] ousoonerchase:
Sorry, no luck. 8.2 boots perfect, 8.3 loops.
[Nexus 9 Original Android Development] USBhost:
try this one

i think its Journaling

o well it looks like Journaling will stay
[Nexus 9 Original Android Development] ousoonerchase:
I tried every arrangement of installation options I could think of but still couldn't get it to boot. :/ Sorry sir
[Nexus 9 Original Android Development] USBhost:
Did you try to format cache to ext4
[Nexus 9 Original Android Development] ousoonerchase:
Yes sir. I tried wiping dalvik/cache. Reformatting to ext4 before flashing kernel w/ wipe after and without. I also tried reformatting cache to ext4 and f2fs both before and after kernel flash. I'd restart system and wait 10 minutes before rebooting recovery. Is there any sort of prerequisite step I'm missing? Obviously I'm rooted, running your r7 TWRP, 5.0.1 LRX22C. I don't really depend on this tablet for work/school so I'm willing to be your guinea pig. Just want to help if I can.
[Nexus 9 Original Android Development] USBhost:
Ok to clear up some stuff

Do you get a bootlogo?

Are you encrypted?

So K7.7.3 works?
[Nexus 9 Original Android Development] ousoonerchase:
Yes, it sticks on the colored orbs.

Im not sure, I haven't followed the steps outlined in other threads in order to do so but I can't see anything definitive either way.

7.7.3 and 8.2 work perfectly. I'm running 8.2 right now without issue.
[Nexus 9 Original Android Development] USBhost:
[MENTION=4913305]ousoonerchase[/MENTION]

BUG: found with encryption

It was the cause of the bootloop

It turns out

the kernel needs to boot

with insecure mode.

Don't worry if you don't know what it means

Sorry for your inconvenience

with bootloops

So officially K8.3

Will be released today

In about 9h

I need my sleep lol

I would have uploaded it earlier if

XDA wasn't in bloody maintenance....
[Nexus 9 Original Android Development] USBhost:
K8.3 is back up

ok can you guys test it

to see if it boots

everything is working for me

so its up to you to tell me
[Nexus 9 Original Android Development] BigJPNut:
Booted fine here....thank you!
[Nexus 9 Original Android Development] USBhost:
All cheers!!!

Enjoy 3.10.73
[Nexus 9 Original Android Development] NYCHitman1:
Feel free to check out http://gerrit.dirtyunicorns.com/#/q/status:merged+project:android_kernel_htc_flounder,n,z for some I/O goodies :)
[Nexus 9 Original Android Development] USBhost:
O.. I already merged that

Thanks anyway
[Nexus 9 Original Android Development] NYCHitman1:
I don't see it in your source :confused:
[Nexus 9 Original Android Development] USBhost:
https://github.com/USBhost/FIRE-ICE-2/commit/1da73551a95b6ad0562dda4004315d1e8ea4b9a8

Its in there
[Nexus 9 Original Android Development] NYCHitman1:
Oh, you merged the 3.10 branch.. :good:
[Nexus 9 Original Android Development] roulyz:
there is a problem... I got "unable to mount storage" when I flashed K8.3 zip :confused:

and after a few hour of use... I leave N9 on standby at about 70% battery and when took it, it was at 5%. why?
[Nexus 9 Original Android Development] USBhost:
Can you give me your recovery log
[Nexus 9 Original Android Development] roulyz:
how can I get it?
[Nexus 9 Original Android Development] USBhost:
After flashing the zip

Go to advance and copy to sdcard

If that does not work then

adb shell cat /tmp/*.log
[Nexus 9 Original Android Development] roulyz:
:confused: I restart and flashed again and it works with any warning message... tks
[Nexus 9 Original Android Development] USBhost:
O OK that's good

It must have been just one of those things
[Nexus 9 Original Android Development] Ace42:
After flashing your kernel over AICP my battery has increased significantly over stock. Last week I told you I got about ~4-4.5hrs SOT on stock, & right now it's at ~5.5hrs with 48% battery remaining. I probably won't reach your records since I charge around 25%, but I'm much happier now than when it was unrooted.

Also I wanted to know why Tegra devices are missing interfaces in CPU apps. No app can target their GPU settings, voltage, hotplug, and sound controls like on Qualcomm chips. Are all of these impossible to do outside of Snapdragon/Exynos?

Sent from my Nexus 9
[Nexus 9 Original Android Development] USBhost:
My bad...
[Nexus 9 Original Android Development] USBhost:
That's good to hear

One thing is that

the k1 64bit is a new SOC

So apps don't support it

On my nexus 7

trickster mode support it all the way
[Nexus 9 Original Android Development] AllanJacques:
Dude I gotta tell you that without your kernel N9 seems a very worse piece of hardware...
[Nexus 9 Original Android Development] tyvar1:
Well the Nexus 9 is a great device but with this kernel the device go from great to the greatest! :D
[Nexus 9 Original Android Development] USBhost:
OK guys a quick update

I been working on cleaning up my code

And fixing some little things here and there

Also getting ready for the official 5.1.x kernel release

K8.4 will come this week
[Nexus 9 Original Android Development] ousoonerchase:
Hey, I got mine unencrypted and thought it might be useful to put what I did here, or maybe you could put something in the OP to reflect this to prevent noobs like me from bootlooping. Basically download this boot img and then download a rom and gapps of your choosing and this kernel. Back everything up to a USBOTG. Flash the boot.img in flashify. Reboot recovery. Format all data. Reboot recovery. Flash Rom gapps and kernel, wipe caches. Reboot system.

Worked like a charm. Sorry if most might find it unnecessary, just thought it may help:good:

I'm now running your newest 5.1 8.3 kernel with no isssues so far. Great work [MENTION=5501864]USBhost[/MENTION] !
[Nexus 9 Original Android Development] smayonak:
On the latest beta build (k8.3 for Android 5.0.2) I've found two potential bugs. I pulled this error message from LogCat:

This is almost certainly tied into the touchscreen as the error only shows up when fingers are on the screen.

Another issue is that with brightness unlocked and set to 1 (using bl -s 1 -l), after a while the backlight won't turn on, even though the device is working (the screen just looks black). I couldn't find any error related to this in LogCat.

By the way, the performance on the conservative governor is ultra-smooth now. Whatever changes you made are really working. Thank you!
[Nexus 9 Original Android Development] USBhost:
About PowerHAL that's a bug in the ROM

Well in the device tree

Also you can use bl -s from 1-255

Some devices are deferent

So try 2 or 5

I recommend that you only use -l

Only if you like the setting
[Nexus 9 Original Android Development] smayonak:
Sorry, I should not have mentioned it. IIRC, something else may have asked this question a dozen pages back and you gave the same answer. This was a really long thread to read. :)

Should have mentioned that I tried bl 1 through 9 and continued to get backlight problems. It seems that each individual Nexus 9 has different tolerances for backlight settings. However, at around 5 and up the problem become far less frequent. I'm taking a closer look at bl 4 right now. Thanks for the help!

EDIT: Around bl 9, the brightness seems about equal to stock. I'm not sure why the backlight goes off at this point.
[Nexus 9 Original Android Development] USBhost:
K8.4 is up

K8.4

-| EDP support dropped

-| CPU topology dropped

-| updated to the latest google kernel source

-| toolchain updated

-| Frandom fixed in the ramdisk

-| other ramdisk fixes

-| CIFS

-| BUG: touch none responsive at start up fixed

i think thats it...

Notes:

EDP

that thing makes cpu frequencies jump like

crazy while benchmarking.

topology

I don't see any benefit in using it.

supposedly this is a optimization

that compacts cpu tasks

but this thing is that cpu is used to

compact the tasks. i dont see any

benefit in proformance using it, even

looks like it decreases it.

so i dropped it

else note:

those two people : maybe more

that check my download page often when i say nothing

i take my hat off to you guys! :good:
[Nexus 9 Original Android Development] dictionary:
8.4 for 5.1 didn't boot for me. 8.3 boots fine

And I'm one of the two, lol. ;)
[Nexus 9 Original Android Development] USBhost:
Does it go to the boot screen

Are you encrypted

Can you get a logcat?
[Nexus 9 Original Android Development] dictionary:
Unencrypted. Goes to the Google screen, sits for a little, then off, and back to Google. Not near a computer right now to grab a log. If it booted I could use Andylog. Sorry that doesn't help much.
[Nexus 9 Original Android Development] USBhost:
Hmm I did get that one time

But it went away

Try a reboot after the failed boot
[Nexus 9 Original Android Development] dictionary:
Still won't boot. Hopefully someone can grab a log
[Nexus 9 Original Android Development] USBhost:
sorry...

everything boots fine here

if you can do

adb shell

su

cat /dev/kmsg

before it stops

also flashing back to 8.3 works right?
[Nexus 9 Original Android Development] dictionary:
Hmm, that's strange. Which 5.1 ROM are you on? I'm on the latest DU. When I get to a computer I'll pull a kmsg.

Correct. Going back into recovery and flashing 8.3 works just fine.
[Nexus 9 Original Android Development] USBhost:
OK good

AICP 5.1

Can't wait for the kmsg

Are you up for some

Test builds?
[Nexus 9 Original Android Development] dictionary:
Sure throw em at me
[Nexus 9 Original Android Development] BigJPNut:
Boots fine here....thank you!
[Nexus 9 Original Android Development] USBhost:
try this one

it takes me about 8min every build

what ROM are you using
[Nexus 9 Original Android Development] nericollin:
Running the same ROM here as well. Just flashed and booted the 04/09 5.1 kernel just fine without issues.
[Nexus 9 Original Android Development] USBhost:
So its DU related

Then it must be with the ramdisk
[Nexus 9 Original Android Development] christian_l:
Just wanted to add that I had exactly the same problem with 8.4 (not the 5.1 version) on stock 5.0.1 ROM, encrypted. Flashing back to 8.3 fixed it. Unfortunately, I won't be able to run any more tests before Saturday. I'm really excited about CIFS though!
[Nexus 9 Original Android Development] dictionary:
Hmm. I think I deleted my copy of AICP 5.1, because it gave me the internal error message (before I realized the fix). Let me go download again and test
[Nexus 9 Original Android Development] USBhost:
[MENTION=2190489]dictionary[/MENTION]

here's a new build with some ramdisk changes

lets see if this boots
[Nexus 9 Original Android Development] dictionary:
Literally 1 minute after I full wiped to try out aicp lol. I can always see if it boots, then back to recovery, flash DU, and this new kernel to test
[Nexus 9 Original Android Development] USBhost:
lol sorry only if i was 1min sooner
[Nexus 9 Original Android Development] dictionary:
Maybe I actually am encrypted. Swore I wasn't though .. Just flashed AICP clean, and 8.4, and got the same error.
[Nexus 9 Original Android Development] USBhost:
With the new kernel?
[Nexus 9 Original Android Development] dictionary:
No, with the original 8.4 kernel. Need to get a booting system to download the latest one. Using my phone to reply now
[Nexus 9 Original Android Development] USBhost:
Kk if the new one does not work

Then its encryption

I will encrypt my nexus 9

To test lol tomorrow it's getting late here

Hmm...

Whats up with me and encryption

lately :confused:
[Nexus 9 Original Android Development] dictionary:
Still waiting for it to finish upgrading everything. Next time, I'm not flashing gapps lol. Not for a quick test. This process is insanely slow
[Nexus 9 Original Android Development] USBhost:
:cool:
[Nexus 9 Original Android Development] hapee:
this one did not work for me, I am on AICP nightly and the 8.3 kernel did enter into the AICP startscreen but stayed there forever, the latest updated 8.4 never goes beyond the google screen and reboots again.
[Nexus 9 Original Android Development] USBhost:
What do you mean by stayed at the startscreen forever?
[Nexus 9 Original Android Development] dictionary:
Give it time. It can take a bit of time.

[MENTION=460765]usb[/MENTION], seems I must just be doing something wrong. Even with the latest posted build, on AICP, it does the same thing. Last thing to try will be that same kernel now on DU. Currently booting into another clean flash of DU. Getting late though, so I may be calling it a night. Almost 3 a.m. here lol.
[Nexus 9 Original Android Development] USBhost:
yeah its encryption

No need to test any more

Thanks for the help:good:

I updated the announcement for unencrypted devices

I will work on getting it fixed in the morning
[Nexus 9 Original Android Development] hapee:
well AICP has this very busy rotating icon screen when it starts, so basically it goes one step further than the 8.4 that does not get further than the google and than reboots
[Nexus 9 Original Android Development] Hashbang173:
Do you have cache formatted correctly?
[Nexus 9 Original Android Development] dictionary:
Is there an incorrect way? Lol. I haven't formatted it to f2fs or anything if that's what you mean, and 8.3 works just fine.
[Nexus 9 Original Android Development] Metallice:
Hey USBHost how sure are you with this commit?

https://github.com/USBhost/Fire-Ice/commit/d6e261d01628ffa8486ee13b7c6414bee7c9d141

I could be wrong, but it seems like a really, really, really bad idea to try to force a 2amp charge speed by increasing the minimum charge rate to 2000mah. I'm sure there's a reason the stock minimum is 900mah with a stock maximum of 1500mah. It kind of seems unsafe. Bad cables, bad adapters. Plus I'm pretty sure the charge rate is supposesed to decrease when the battery is almost full or with excessive heat for overall battery health and longevity (although I'm not sure if these things are related to the value changed).

Either way I'm not sure of the purpose regardless. The device should pull as much as it can unless capped by a 1500mah or 2000mah maximum. Right?
[Nexus 9 Original Android Development] USBhost:
well in my testing

that only affects if the 2a adapter is unstable

because if the kernel detects unstable

current it goes down 900ma

and that does not affect usb computer charging
[Nexus 9 Original Android Development] USBhost:
K8.4 is up

repost of log

K8.4

-| EDP support dropped

-| CPU topology dropped

-| updated to the latest google kernel source

-| toolchain updated

-| Frandom fixed in the ramdisk

-| other ramdisk fixes

-| CIFS

-| BUG: fix touch none responsive at start up

-| BUG: fix graphic distortion on some apps

Notes:

CIFS

CIFS may or may not work

its here only for testing

EDP

that thing makes cpu frequencies jump like

crazy while benchmarking.

topology

I don't see any benefit in using it.

supposedly this is a optimization

that compacts cpu tasks

but this thing is that cpu is used to

compact the tasks. i dont see any

benefit in proformance using it, even

looks like it decreases it.

so i dropped it

else note:

those two people : maybe more

that check my download page often when i say nothing

i take my hat off to you guys! :good:
[Nexus 9 Original Android Development] Ace42:
No boot looping with this one on AICP 04/09 (with encryption).

Sent from my Nexus 9
[Nexus 9 Original Android Development] USBhost:
Selinux is not included

So it won't even enable
[Nexus 9 Original Android Development] ins5736:
4/5 Dirty Unicorns. Google app crashes at boot and restarts.
[Nexus 9 Original Android Development] USBhost:
Did you wipe caches

In recovery
[Nexus 9 Original Android Development] ins5736:
Yes.
[Nexus 9 Original Android Development] USBhost:
Can you get a logcat
[Nexus 9 Original Android Development] christian_l:
CIFS works beautifully - thank you so much!!! :victory:

No other problems so far either.
[Nexus 9 Original Android Development] USBhost:
Cheers !!!:victory:
[Nexus 9 Original Android Development] ins5736:
I doubt it. The crashes are nonstop. I don't know how to get a log.
[Nexus 9 Original Android Development] USBhost:
adb logcat

Do you get those fc on 8.3

What android version are you using

Make sure you flashed the right zip
[Nexus 9 Original Android Development] hapee:
With 8.4 after installing and wiping caches I get a NFC not able to connect even if I disable NFC, is this a kernel issue or did I just flash the wrong gapps?

Sent from my Nexus 9
[Nexus 9 Original Android Development] albsat:
Will you update to twrp 2.6.1 version, pls?
[Nexus 9 Original Android Development] USBhost:
I get no NFC fc so I think its the ROM

You bet

Edit: when it comes out
[Nexus 9 Original Android Development] albsat:
Strange, I have 2.8.6.1 version on LG g2. Let me check. Thanks anyway.
[Nexus 9 Original Android Development] ExLucif3r:
Thanks for the great release!

I found an issue where the sound stutters when I minimized the app ( Skype, LINE ) during a call.

I've had this issue since 8.3 and it still persists in 8.4.

II'm on stock 5.0.1 LRX22C and I always wipe dalvik and cache everytime I flash.

Any advice?
[Nexus 9 Original Android Development] USBhost:
I will update it when a newer one comes

available for the nexus 9

That's a bug with stock kernel

So it will be in this kernel

assuming if its the kernels problem

But you say you did not have it in

8.2?
[Nexus 9 Original Android Development] ExLucif3r:
I didn't have this problem before when I was on stock and Elementalx (I went back to stock and Elementalx after finding out this issue to check).

I loved the overall battery life from your kernel, and was hoping this'd be fixed in 8.4 same with the graphic glitch.

Any idea what caused this?
[Nexus 9 Original Android Development] USBhost:
Not a clue

But I will look into it

Thanks for the report
[Nexus 9 Original Android Development] ins5736:
derp. i was flashing the 5.0 kernel on a 5.1 rom. my apologies. running great now.
[Nexus 9 Original Android Development] Hashbang173:
Could this be related to the weird graphical glitches occuring when starting up a demanding app such as a game?
[Nexus 9 Original Android Development] USBhost:
Don't think so

Because he said he got it in 8.3

That's when I updated to 3.10.73
[Nexus 9 Original Android Development] Metallice:
Try adding a minimum freq lock when audio is playing. I had to do that with the nexus 7 kernel as using any governor less agressive/rampy than the tegra interactive with stock settinga led to audio stuttering. Had to lock min freq to one frequency slot higher than the stock minimum when the audio driver was engaged.
[Nexus 9 Original Android Development] Ace42:
The whole screen has gotten nasty before when starting Driver & Telltale's Game of Thrones.

Sent From Capsule Corp.
[Nexus 9 Original Android Development] USBhost:
Is that graphic distortion still

In 8.4?
[Nexus 9 Original Android Development] Ace42:
No, the screen just turns black like usual then starts the game in 8.4.

Sent From Capsule Corp.
[Nexus 9 Original Android Development] USBhost:
O good:victory:
[Nexus 9 Original Android Development] Hashbang173:
Is there a fix for this? Just an annoyance....
[Nexus 9 Original Android Development] Ace42:
I'm using your builds of 5.0.2 AICP with this kernel. The only thing I did was lower the max/min to 1.6ghz/204.

Sent From Capsule Corp.
[Nexus 9 Original Android Development] sbollero:
Just posted on AICP thread about constant issues with video streaming services, aka Netflix and prime instant video. Stuttering, stopping, freezing with audio continuing, and just straight freezing where the app crashes. Recent sabermod AICP with fire-ice 8.3. Does no one else stream or is it just me?
[Nexus 9 Original Android Development] USBhost:
I get that vary annoying issue

On stock kernel

And I have no idea what can cause it

And in the logcat

It shows something about a codec not working / errors

I spent days trying to fix it but with no luck

So I blame it on the ROM
[Nexus 9 Original Android Development] USBhost:
K8.5 is up

K8.5

-| Linux 3.10.74

-| small makefile changes

-| dm-crypt optimizations back from 8.2

-| a f2fs fix about active logs

think thats it
[Nexus 9 Original Android Development] ExLucif3r:
Hi,

Unfortunately, the sound stutter when I'm on a call (Skype) is still there..

It only happens when the app is minimized, soon after you re open the app the stutter is gone and when minimized again, starts to stutter again..
[Nexus 9 Original Android Development] USBhost:
... O well

I blame and on the recent updated

It had lol

So you don't get it on 8.2

Can you make sure if it still does not happen?
[Nexus 9 Original Android Development] ExLucif3r:
Hi, I never use the 8.2 before..

K8.3 was the first version of your kernel that I tried..
[Nexus 9 Original Android Development] mywebslave:
I have this problem too. Been running Dirty Unicorns and haven't had any issues. I also have issues with a couple apps that won't run. They open but say something about an installer error and to reinstall.
[Nexus 9 Original Android Development] atoy74:
I think the download link is dead...
[Nexus 9 Original Android Development] USBhost:
Is it still?

O OK you just gave the impression

What kernel where you using

Before your problem
[Nexus 9 Original Android Development] ExLucif3r:
Hi, I was on stock before the 8.3.

Stock > 8.3 > ElementalX > 8.4
[Nexus 9 Original Android Development] USBhost:
With one did you not have the problem?

Stock right?
[Nexus 9 Original Android Development] AllanJacques:
Just to keep up with reports, performance seems smoother on 8.3 than on 8.4 with same settings.

Couldn't test 8.5 yet but will do it today.
[Nexus 9 Original Android Development] USBhost:
yeah 8.4 was a little messed up

8.5 should be better