yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] USBhost:
that's so odd

I use YouTube a lot and I don't get that...

but K10.1.1 will be up soon with some debugging

so we can find out what's going on!
[Nexus 9 Original Android Development] USBhost:
K10.1.1 is up

K10.1.1

-| f2fs: update :: another big one

-| some: debugging enabled

-| others: under the hood

ok guys if you get a freeze dont force reboot ok

let it reboot on its own. then get me the log "cat /sys/fs/pstore/* > /sdcard/kmsg.log"

also if you get freezes when you were not using my kernel please dont report it.

Edit: someone told me they lost there data on f2fs

if your using f2fs please do a back up to a usb drive.
[Nexus 9 Original Android Development] Maraudeur:
[MENTION=5501864]USBhost[/MENTION] I dunno what exactly you've changed, but 10.1.1 is really very and very fast and smooth compared to 10.1.0! That's amazing! Changes are noticeable! There are no reboots so far.
[Nexus 9 Original Android Development] USBhost:
K10.1.1 was pulled for a full data corruption

K10.1.2 will be up soon for a fix. sorry for that guys

it was brought to my attention today.
[Nexus 9 Original Android Development] USBhost:
K10.1.2 and R12.T4 are up

R12.T4

-| kernel: update as to K10.1.2

-| updated: f2fs-tools to v1.6

K10.1.2

-| linux: 3.10.99

-| add: f2fs-tools v1.6 :: this should fix f2fs problems

Note's:

ok guys cheers!! we got updated f2fs tools!!

now we should not have anymore f2fs problems.

it was a complete headache to compile it! gerrr.... i had to chroot a arm64 linux distro

just to compile it.... cross compiling was not working!!!!.... o well we got it now! all cheers!!

FIRE-ICE will now replace mkfs.f2fs and fsck.f2fs that's in /system/bin with the new ones.

o and the new recovery is highly recommended for you to flash it.

before you flash please make a backup to your computer or usb drive

just to be in the safe side.
[Nexus 9 Original Android Development] AL2000EX:
OK so data corruption is still there. My download folder got corrupted and I'm loosing some app data. What do I do to stop it?
[Nexus 9 Original Android Development] b1g.p0ppa:
It's possible that corruption occured from prior version. My recommendation would be to boot to twrp and wipe/ advanced wipe/ repair filesystem for /data.
[Nexus 9 Original Android Development] AL2000EX:
I did not flash the prior version

First time I tried repairing data it throwed errors at me, after some rebooting and trying to rewrite corrupted directories (big mistake) I tried it again and it worked. Corrupted directories and files/apps seem to be fine again (except for ones I tried modifying). Still looking for signs of corruption tho, sorry for not having any logs

Edit: everything looks fine for now, no signs of corruption
[Nexus 9 Original Android Development] Maraudeur:
[MENTION=5501864]USBhost[/MENTION] I have problems with random dead freeezes again! But tab doesn't reboot on its own, just stay in stuck position and doesn't reboot, so I reboot it myself and aint can use debug mode.

I'll try to migrate from Stock to Pure Nexus or smth, may be problem in ROM
[Nexus 9 Original Android Development] tamjan:
Are extra steps needed for upgrading to 10.1.2 from 10.1.0? Like repair of fs or so? Or is it supposed to just work?
[Nexus 9 Original Android Development] USBhost:
the kernel logs don't help when it does not reboot.

if you can get an adb log of the freeze.

adb logcat > 'where you want to save it'

I think that would work on windows.

if not just do it in your n9.

it should just work

but do a back up to your computer/usb drive anyway
[Nexus 9 Original Android Development] dex2grigg:
Sorry I'm new to nexus 9. Tried both aosp versions of your kernel on dirty unicorns and could not boot. Any help would be great
[Nexus 9 Original Android Development] USBhost:
Welcome man!

thanks for the report DU should have booted.

but I have not tryed it in a long time something in MM most likely.
[Nexus 9 Original Android Development] NYCHitman1:
Could be the sepolicy differences.
[Nexus 9 Original Android Development] dex2grigg:
Switched over to pure nexus and works perfect thank you !!
[Nexus 9 Original Android Development] joeyddr:
Got super lags on the latest with only 2 apps running, no reboots but took about 2 minutes to respond to anything. I'm back on r2 and it's solid as ever, I'm running latest pure Nexus with data at f2fs

Sent using XDA One
[Nexus 9 Original Android Development] USBhost:
but my kernel replaces the boot.img so that should not be a problem

man thats what i dont understand...

how long did it take for you to get lags?

what were you doing?

a logcat would be nice.

are you willing to test?
[Nexus 9 Original Android Development] slaughts:
Which versions did you try? I am current running AOSPM K10.1.2 without issues on DU 10 OFFICIAL, and was running 10.1.0 and 10.0.x prior to that on the DU 10 TEST ROMs.
[Nexus 9 Original Android Development] NYCHitman1:
Something tells me the user just didn't give the system enough time to boot and/or did not wipe cache prior to flashing your kernel. As you said, it shouldn't be an issue and I know that a few dudes do in fact use F&I on DU w/o problems.
[Nexus 9 Original Android Development] USBhost:
Android N is out!!!!

well guys my kernel will be updated soon for it!
[Nexus 9 Original Android Development] USBhost:
K10.1.3 is up

K10.1.3

-| support: Android N

-| linux: 3.10.100

-| latest: from google

-| FI.d: v42

-| others

Note's:

ok guys android N is now supported!

also as of now SuperSU v2.68 makes N bootloop

so dont flash.

FI.d

if you have an override file please read what changed in FI.d
[Nexus 9 Original Android Development] dictionary:
Have any idea if older versions may work? (SuperSU)
[Nexus 9 Original Android Development] USBhost:
they do not
[Nexus 9 Original Android Development] dictionary:
I can't even get into twrp lol. It just keeps flashing on the splash screen. *shrug*
[Nexus 9 Original Android Development] USBhost:
It will boot just give it time
[Nexus 9 Original Android Development] dictionary:
Yours kept flashing like that as well? If so, I'll give it another go
[Nexus 9 Original Android Development] USBhost:
Yep I got the same thing

Also when your not encrypted you won't get it.
[Nexus 9 Original Android Development] tamjan:
Upgraded to 10.1.3 (CM13), and all seems well enough! :)
[Nexus 9 Original Android Development] mangomonkey00:
twrp cant decrypt

---------- Post added at 10:07 PM ---------- Previous post was at 10:07 PM ----------

android n
[Nexus 9 Original Android Development] USBhost:
yep

you will have to sideload FIRE-ICE
[Nexus 9 Original Android Development] kacang87:
hllo sir usbhost..I flash your latest kernel into latest pure nexus rom..laggy happen only when I open multiple tab on chrome(all tab still on loading) and i tried to scroll down the notification..i dont know how to produce log..thank you
[Nexus 9 Original Android Development] USBhost:
are you sure you did not get the lag before this kernel?
[Nexus 9 Original Android Development] kacang87:
didnt try on stock kernel..but it never happen on elementalx..so far others no problem at all
[Nexus 9 Original Android Development] USBhost:
K10.1.4 is up

K10.1.4

-| restored: support for DriveDroid :: forgot to add it on k10.1

-| some: cleanup from ramdisk and defconfig

-| toolchain: changed to Linaro upstream

Note's:

Things have been slow this week

so not a big update.

just some cleanup on things
[Nexus 9 Original Android Development] Bastlwastl2010:
[MENTION=5501864]USBhost[/MENTION]: Before you ask:

No problems with 10.1.4 on CM13

Thanks a lot
[Nexus 9 Original Android Development] USBhost:
So guys what GCC you want me to use?

Linaro GCC 5.3 or GNU GCC 6 or GNU GCC 5.3
[Nexus 9 Original Android Development] Nikki1993:
Latest and greatest GNU GCC 6.

Yea I am a rolling release freak, always need latest updates regardless xD
[Nexus 9 Original Android Development] USBhost:
Ask and ye shall receive!
[Nexus 9 Original Android Development] Vartom:
I do not notice a difference between the GCC . So the main thing is that the tablet does not buggy !
[Nexus 9 Original Android Development] USBhost:
NEWS...

well guys I will out for the week...

I have to go to a wedding... so boring.... slow/no internet.... :eek:

so don't expect any update this week.
[Nexus 9 Original Android Development] tamjan:
Does this kernel include https://android.googlesource.com/kernel/common/+/4a5a45669796c5b4617109182e25b321f9f00beb ?
[Nexus 9 Original Android Development] USBhost:
https://github.com/USBhost/FIRE-ICE/commit/4a5a45669796c5b4617109182e25b321f9f00beb

Not yet

Its in for 10.2 or 10.1.5
[Nexus 9 Original Android Development] JayDream:
I cant get DU 10 stable to boot with this kernel for some reason. I clean flash it together with the rom & gapps in your modded recovery, then I factory reset after flashing before attempting to boot into system... Should I be flashing the rom and gapps first, let it boot, then reboot into recovery and flash kernel??

Twrp modded 3.0.2

Fire-Ice Aospm K.10.1.4

DU rom v.10 stable

open gapps stock arm64
[Nexus 9 Original Android Development] USBhost:
Thats kind of a known problem that I thought was fixed.

i should have it sorted out by next week, thats when i get home.
[Nexus 9 Original Android Development] JayDream:
Oh ok no wonder.. Do any of your earlier versions work good for this rom?
[Nexus 9 Original Android Development] USBhost:
none ATM
[Nexus 9 Original Android Development] freddienuxx:
is there permissive?

Sent from my Nexus 6P
[Nexus 9 Original Android Development] USBhost:
No.

I was thinking of making it permissive

But... i hate all the kernel logs it makes

If i can silence SELinux it will go permissive.
[Nexus 9 Original Android Development] USBhost:
well guys i found the problem...

DU now needs special treatment.

/system/framework/org.dirtyunicorns.utils.jar is needed in the ramdisk for DU now.

also what i found was that if you booted du first then flash FIRE-ICE it would boot.
[Nexus 9 Original Android Development] NYCHitman1:
Yeah, that's part of our DUI -- the implementation of Pulse, Fling, and SmartBar.
[Nexus 9 Original Android Development] USBhost:
K10.2.0 is up

K10.2.0

-| major cleaning: follows about in op now

-| linux: 3.10.101 / also with google's upstream linux

-| ramdisk: updated as to android-6.0.1_r22 :: only for AOSPM

-| FI.d: v43

-| latest: from google

-| fix: DU booting

-| toolchain: changed to GNU GCC 6 upstream

-| others: i think?

Also guys happy April Fools!

i will update AOSPN when i fix the root problem
[Nexus 9 Original Android Development] MotoFlasher:
Hi, Thx for the new version...

I have just tested it. Runs great except for one small thing ... SuperSU was deleted/disabled after kernel flash. Nothing really bad ;) Had reflash supersu. BTW clean flash rom / kernel etc
[Nexus 9 Original Android Development] USBhost:
That's because DU uses systemless root

So flashing another boot.img will make you lose root
[Nexus 9 Original Android Development] USBhost:
O.T. but guys give this a try!

wm size 1080x1440
wm density 197

it will hurt your eyes but will save you memory!

this is a 30% quality drop

when done do

wm size reset
wm density reset
[Nexus 9 Original Android Development] euqilobaid:
Sorry for the n00b question, but how can one lower the CPU frequency? Should one change something in the /system/etc/FI.d/01afterboot or use some app to make the change?
[Nexus 9 Original Android Development] ricco333:
In kernel adiutor, select the cpu section, then tap the box that says "set the maximum frequency the cpu scales to" a dropdown will appear with the available frequencies for you to choose.

Erik
[Nexus 9 Original Android Development] zamula:
I have a question regarding the options in fl.d, if my goal is to maximize memory usage and multitasking. Should I enable UKSM, and what should the settings be for cswap, aswap, raid, etc. Thanks!
[Nexus 9 Original Android Development] euqilobaid:
By kernel auditor you mean the app?
[Nexus 9 Original Android Development] Choochter:
That's the one
[Nexus 9 Original Android Development] mangomonkey00:
waiting for new aospn version
[Nexus 9 Original Android Development] USBhost:
how much lag are you willing to have?

I hear you man!
[Nexus 9 Original Android Development] zamula:
I'd rather have lag if it reduces app redraws, and I'm willing to experiment with the values to find the best balance between better multitasking vs. lag.

Issue is I don't know how all the options work together. Is it better to have uksm and no zram, or regular ksm and zram? What's a good value for cswap, and what is the real impact of setting raid=1? So many choices!
[Nexus 9 Original Android Development] Maraudeur:
Dear [MENTION=5501864]USBhost[/MENTION], friend! Last version is very good - smooth and quite fast. But at least once a day dead freeezes happen. After that I have to reboot manually ,so my power button is very worn (very "tired"). It's annoying, man. So I hope for magic from you ;):)
[Nexus 9 Original Android Development] USBhost:
http://xdaforums.com/showpost.php?p=64087113&postcount=2339 heres an old post

im using

gfix=1
zswap=0
cswap=50
raid=1

for you this can be a good start

uksm=1
zswap=0
cswap=100
raid=1
swait=1

i bet! i would hate to get freezes

What ROM are you using?

Im going to build it with gcc 4.9 to see if that fixes your freezes...
[Nexus 9 Original Android Development] Maraudeur:
[MENTION=5501864]USBhost[/MENTION] I use Stock ROM MMB29V
[Nexus 9 Original Android Development] liang512:
I am using stock ROM and fire-ice, and don't have any freeze.
[Nexus 9 Original Android Development] USBhost:
https://drive.google.com/open?id=0B1cOHQ70J9vlbmZ3WVZyTENWNGM
[Nexus 9 Original Android Development] NYCHitman1:
[MENTION=5501864]USBhost[/MENTION] Hey buddy. Any plans to update your modified TWRP image?
[Nexus 9 Original Android Development] USBhost:
Working on it as we speak

Im updating f2fs tools

edit: recovery will come out when K10.2.1 comes out
[Nexus 9 Original Android Development] NYCHitman1:
http://truegif.com/pictures/gif/6974.gif
[Nexus 9 Original Android Development] USBhost:
... SELinux ... ....

so guys what do you want FI.d or root?

for android N.

Edit: nvm got both working
[Nexus 9 Original Android Development] CrimsonKnight13:
I prefer root, but what would the benefit of Fl.d be? I don't think I've used it with your kernel (or at least understood what I was dealing with).
[Nexus 9 Original Android Development] USBhost:
you should check it out! there's cools things you can do!

https://github.com/USBhost/FI.d/blob/master/01afterboot
[Nexus 9 Original Android Development] CrimsonKnight13:
I'll have to check that outside of work. Sadly, github times out every time I try accessing it.
[Nexus 9 Original Android Development] USBhost:
or in /system/etc/FI.d/

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

K10.2.1 and recovery is up tonight so you guys can get the latest before release tomorrow

https://drive.google.com/drive/folders/0B1cOHQ70J9vlbmZ3WVZyTENWNGM

https://drive.google.com/drive/folders/0B1cOHQ70J9vlZzBKcklmUlpxOFU for recovery

AOSPML

AOSPM

AOSPN

CMM

DU

REMIX :: REMIX OS
[Nexus 9 Original Android Development] CrimsonKnight13:
heh, I've only got an hour left until I leave for home. Can't check my tablet in work due to restrictions. I'll get back with you on my thoughts.
[Nexus 9 Original Android Development] CrimsonKnight13:
[MENTION=5501864]USBhost[/MENTION] Looks great though it's tough to edit it without root, so I vote for root until you can get both working.
[Nexus 9 Original Android Development] Maraudeur:
I dunno myself why there are dead freezes, but K9.9.5r2 runs very well (verybslowly sometimes,but without reboot or dead freeze).
[Nexus 9 Original Android Development] AL2000EX:
New recovery freezes when trying to backup data or flash DU

Also, MTP doesnt work.
[Nexus 9 Original Android Development] NYCHitman1:
Have you tried using the stock TWRP 3.0.2 image to confirm the issue(s) duplicate?
[Nexus 9 Original Android Development] USBhost:
it was my fault

my cleanup script removed something it should not have done
[Nexus 9 Original Android Development] Maraudeur:
[MENTION=5501864]USBhost[/MENTION]

Still there are dead freeezes... It's hard ,but I'll try to full wipe((
[Nexus 9 Original Android Development] USBhost:
Try a custom ROM:good:

Did the kernel logs say anything useful.

after you forced a reboot?
[Nexus 9 Original Android Development] Logix:
hey hey newest version running good with lte cm :) thanks ,m8
[Nexus 9 Original Android Development] USBhost:
R13.T1

-| kernel: update as to K10.2.1

-| updated: f2fs-tools to v1.6.1

-| TWRP: 3.0.2-0

K10.2.1

-| updated: f2fs

-| updated: f2fs-tools to v1.6.1

-| latest from google

-| updated: bcmdhd :: our wifi drivers

-| some swap updates

-| fixed: AOSPN root problem :: i dislike selinux.....

-| FI.d: v44

Note's:

AOSPN

MAN... this was a hard one to fix!

but i got root and FI.d to work cheers!!

in doing so made my kernel a lot more selinux friendly

but i'm still going to keep it disabled. i really do not like selinux!

Note: AOSPN is the only one that has selinux enforcing

bcmdhd

last time i tryed updating it, i made things go vary bad.

but this time i have a lot more knowledge and i think it did it good!

so guys let me know.
[Nexus 9 Original Android Development] zycho42:
I'm on N, but I haven't been able to get past the boot animation. I have TWRP R14.T1, which works great. Also supersu beta 2.71, perhaps that's the problem?

Any tips?
[Nexus 9 Original Android Development] montbazon:
Your kernel works really great for me. Very smooth and no issue.

But actually it would be happier to me if you enable SELinux??
[Nexus 9 Original Android Development] CrimsonKnight13:
I can confirm that the newest AOSPN kernel with SuperSU 2.71 in system mode does not boot. I had to use the UnSU script to get it to boot.
[Nexus 9 Original Android Development] zycho42:
So UnSU+K 10.2.0 will leave me with a properly rooted N9 then?
[Nexus 9 Original Android Development] CrimsonKnight13:
No. Just a bootable unrooted tablet. :)
[Nexus 9 Original Android Development] zycho42:
Aww! [emoji53] Is there a root solution that works with AOSPN?
[Nexus 9 Original Android Development] USBhost:
... i found the the problem...

i forgot to take "echo "SYSTEMLESS=false" > /data/.supersu" out lol

reuploading....

Edit: AOSPN should work now!

if you flashed the old one..

just reflash the system.img or the UnSU zip
[Nexus 9 Original Android Development] Davidov2501:
noob question:

what do you mean by the fl.d file.

do i need to do something after flashing the kernel?
[Nexus 9 Original Android Development] USBhost:
FI.d is my own init.d

So no you don't need to. :good:
[Nexus 9 Original Android Development] zycho42:
Ok, so I flashed system again and K10.2.1 AOSPN after that, booted nicely! Unfortunately no root... Can someone plz tell me how to get root with this setup? I assume it's possible...
[Nexus 9 Original Android Development] USBhost:
Flash SuperSU now and it should work.

If you already got the new AOSPN
[Nexus 9 Original Android Development] zycho42:
Awesome! 2.71?
[Nexus 9 Original Android Development] USBhost:
Yes
[Nexus 9 Original Android Development] zycho42:
Great!

[MENTION=4324367]CrimsonKnight[/MENTION], [MENTION=5501864]USBhost[/MENTION]:Thank you for the quick responses!
[Nexus 9 Original Android Development] ericplatham:
How? I have K1 flashed, but did not upload your take on TWRP. AnTuTu is still showing 32bit. Is there something I am missing?
[Nexus 9 Original Android Development] USBhost:
Thats a new version that im testing out, not out yet

To make sure every thing is good to release
[Nexus 9 Original Android Development] ericplatham:
+1 to me jumping the gun again....
[Nexus 9 Original Android Development] belair56:
Booted fine.

Flashed in bootloader, rebooted bootloader, rebooted to recovery cleared cache reboot fine.
[Nexus 9 Original Android Development] bruce2662:
Boots fine

Everything's fine and my system is finally decrypted by using the format data in recovery. Factory reset doesn't work well.

Also, the memory management is kinda aggressive right? I feel like there's weird delays... Anyways it's wonderful to get decrypted with this wonderful kernel!!
[Nexus 9 Original Android Development] EverythingPortable:
Amost 60.000 = (
[Nexus 9 Original Android Development] USBhost:
Heres my guide to 60k+

Put your n9

In the freezer wait for idk like 10min

Then do a benchmark

Put your n9 back to the freezer during the benchmark

Then pray that it does not force close lol

Boom 60k!!!!
[Nexus 9 Original Android Development] bruce2662:
Alternative improvement to the kernel

Hi USB host

Anyway to disable thermal throttling?
[Nexus 9 Original Android Development] USBhost:
Yes

but i highly advise against it
[Nexus 9 Original Android Development] bruce2662:
I think that would be good to make as an option for the kernel

Also is it possible to be done through modifying files under /sys ?
[Nexus 9 Original Android Development] USBhost:
I could try that

but im a noob at C
[Nexus 9 Original Android Development] bruce2662:
Ya and I will try to figure out

Also do you experience some lag over time with the new k1 kernel. I check and see there's a bunch of ram ~500MB BUT THERE'S SOME WEIRD SLOW RESPONSE until I clear some apps then it becomes better
[Nexus 9 Original Android Development] USBhost:
Well some times

some system apps go rogue

But no I don't get any SLOW RESPONSE

note are you using the interactive fix that's in the op

if so then yes
[Nexus 9 Original Android Development] USBhost:
Will be making a data

folder so you guys can test what I'm doing
[Nexus 9 Original Android Development] EverythingPortable:
I would love to test a build without Thermal throttling. Any chance you can release it? = )
[Nexus 9 Original Android Development] USBhost:
I will

But you wont be able to turn it on

Fyi

Will do it tomorrow

1:36am here lol
[Nexus 9 Original Android Development] EverythingPortable:
Nice, thank you!!
[Nexus 9 Original Android Development] bruce2662:
memory problem

Memory management problem

the overall experience feels like I need to kill the app from multitasking screen in order to make it smooth after I used it for a while (feels like the oom is not aggressive enough)

However there is a bunch of ram left (600MB)

I'm wondering if the system is now allowing apps to use the RAM

I searched that Theres a memory leak in Android lollipop

Any clue?:confused:
[Nexus 9 Original Android Development] USBhost:
What are you doing when this happens
[Nexus 9 Original Android Development] bruce2662:
I was readin Sth on Polaris office while the AOS P browser is on... also with some of other apps. I was constantly switchin between Polaris office and browser by the multitasking button.

It's always smooth until somehow it's getting unresponsiveness since once I'm trying to press multitasking button. Things are getting weird delays since then

It's not lag, just a long delay of what I pressed. There's 600MB of ram while this happened. CPU frequency didn't drop. Then I clear apps, things seems to be good again. Eventually I rebooted then it becomes very food again.
[Nexus 9 Original Android Development] CrimsonKnight13:
That's great work! I'll try it out after work.
[Nexus 9 Original Android Development] ricco333:
New recovery working like a champ, thanks very much [MENTION=5501864]USBhost[/MENTION]
[Nexus 9 Original Android Development] CrimsonKnight13:
Thanks [MENTION=5501864]USBhost[/MENTION]! I now have it rooted.
[Nexus 9 Original Android Development] Bastlwastl2010:
[MENTION=5501864]USBhost[/MENTION]

Ethan says F2FS Tools 1.6.1 break encryption?:

http://review.cyanogenmod.org/#/c/140285/
[Nexus 9 Original Android Development] USBhost:
I don't use the CM's f2fs tools.

I use the stock ones from https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/

Which does not support Google's encryption. Thats the vary reason why I use the them because

it gives more free space when formated other than Android's version which reserves space for encryption aka less space when you format.
[Nexus 9 Original Android Development] Bastlwastl2010:
Thanks for the explanation!