yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] Maraudeur:
[MENTION=5501864]USBhost[/MENTION] It's need me flash your modded recovery if I flash your kernel after clean installation of stock ROM?
[Nexus 9 Original Android Development] USBhost:
All you need to have is TWRP (stock) or my modded one.

Flashing my kernel will automatically update/patch recovery.

There is no need to flash my modded one.

So to answer your question

no

you do not need to.

I recommend against doing so.
[Nexus 9 Original Android Development] Maraudeur:
Thank you very much for u work! Except sound problem it runs very nice!
[Nexus 9 Original Android Development] Choochter:
Installed 10.6.5 on latest Pure Nexus and lost the ability to swipe apps away on the recent apps screen, have to use the 'clear all' or 'X' buttons. Went back to 10.6.4, problem still present. Wasn't a problem before flashing 10.6.5. Is this kernel related?

Edit: In hindsight, I'm guessing this was the 'something cool' you mentioned, fair enough
[Nexus 9 Original Android Development] USBhost:
Yeah but keep opening apps

So you can see it's true colors! :good:
[Nexus 9 Original Android Development] yakov116:
Can you make that for one app open you can swipe?
[Nexus 9 Original Android Development] USBhost:
That's beyond me.

All I did was enable tablet recents.
[Nexus 9 Original Android Development] yakov116:
You know of any apps that customize this?
[Nexus 9 Original Android Development] USBhost:
None that I know of.
[Nexus 9 Original Android Development] Marky__Mark:
Hell yea, man. Diggin it!
[Nexus 9 Original Android Development] Marky__Mark:
You'll get used to it.
[Nexus 9 Original Android Development] yakov116:
I know but for one its just annoying to have to press the X
[Nexus 9 Original Android Development] 777.300:
Or use this app for recent apps management:

https://play.google.com/store/apps/details?id=eu.chainfire.recently

It also have the "close all" feature.
[Nexus 9 Original Android Development] maelfilk:
Hmm as i understood the latest kernel brought new recents screen? I flashed it with latest PN rom (7.1.2) and recents screen hasn't changed.
[Nexus 9 Original Android Development] borxnx:
delete
[Nexus 9 Original Android Development] yakov116:
It has for me
[Nexus 9 Original Android Development] USBhost:
can you give me your /system/build.prop

________________________________________________________

Here's a new test version K10.6.6 built with gcc 7.1

im trying out gcc 7 to see how it is...

https://drive.google.com/open?id=0B1cOHQ70J9vlTXh2OGo2UjV3a2s
[Nexus 9 Original Android Development] USBhost:
Thanks! The build prop looks fine...

If you can.

Reflash the latest kernel

Then copy the recovery log for me

"cp /tmp/recovery.log /sdcard/recovery.txt"

Or use the copy recovery log option in TWRP

Then give me the file
[Nexus 9 Original Android Development] maelfilk:
Oh, nevermind, i flashed kernel again and this time have the new recents screen, thanks!
[Nexus 9 Original Android Development] brutalv4:
Updated to the latest test version, runs very smoothly. Cheers! :fingers-crossed:
[Nexus 9 Original Android Development] maelfilk:
I really like the sublime_active governor, it makes my tablet much less hot even when playing 3d intensive games compared to interactive governor, however i get frequent wi-fi disconnects with it.
[Nexus 9 Original Android Development] Markyiptw:
Hi USBhost,

recently I find an interesting patch for ksm:

https://patchwork.kernel.org/patch/5274351/

Now ksm can scan user process (like uksm), just check it out!
[Nexus 9 Original Android Development] Heartbreakidhn:
Sound

Hey, great work man, just wondering, is there a way to restore the audio thingy it replaces when flashing the kernel? I had no issues with volume and now is way to low, thanks!
[Nexus 9 Original Android Development] USBhost:
Thanks I will look into it.

What Android version?

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

Small news update.

Lowmemorykiller was removed from Linux 4.12

Now I'm currently running without LMK to see if any unexpected problems​ come around.

I will be posting a new test version for the people who want to test in a few hours/tomorrow/when it's daylight.
[Nexus 9 Original Android Development] Heartbreakidhn:
Android 7.1.2
[MENTION=5501864]USBhost[/MENTION]
[Nexus 9 Original Android Development] USBhost:
kk thanks!

to fix simply reflash vendor.

NOTE: DOES ANYONE ELSE GET BAD AUDIO FROM FLASHING?
[Nexus 9 Original Android Development] USBhost:
Here's the test version. No LMK in the kernel but its using Androids user space one that seems to work better.

Edit: new test version is up
[Nexus 9 Original Android Development] yakov116:
No issues

---------- Post added at 02:16 AM ---------- Previous post was at 01:39 AM ----------

Newer than the test?
[Nexus 9 Original Android Development] 777.300:
Clean install needed due to the changes?
[Nexus 9 Original Android Development] USBhost:
Na your fine.
[Nexus 9 Original Android Development] 777.300:
Great. Flashed test version, rebooted, all fine. Seems te be really smooth.

It is amazing how your kernel (combined with PureNexus ROM) changed my lagging N9 in a great and super smooth tablet. Thanks for all your time in developing this kernel, much appreciated.

Greetings from the Netherlands.
[Nexus 9 Original Android Development] yakov116:
Weird issue when playing audio my screen light is flickering. Only this last one.

Edit: I restarted whatsapp and it stopped. Will report if it happens again.
[Nexus 9 Original Android Development] 777.300:
No issue here with audio playing using Shuttle+ music player.
[Nexus 9 Original Android Development] yakov116:
My issue might have had to do with whatsapp nothing to do with the kernel
[Nexus 9 Original Android Development] 777.300:
Hmm, lost Viper4Arise functionality after latest update. Audio is really bad. Trying to find out the source of the problem.

Edit: Re-flashed Viper4Arise, all fine again.

---------- Post added at 06:46 AM ---------- Previous post was at 06:18 AM ----------

The new kernel seems to have improved Audio playing a lot. I use Viper4android (Viper4Arise) for music player and with the old kernel I had to switch Cpu governor to Performance to get the best Viper4android music playing performance and to minimize sound distortion (ticking and cracking sound) and also maintaining smooth tablet performance.

Now with the new test kernel version and Cpu governor still in interactive (my standard mode) audio playing is almost crack and tick free and the sound is great. Only app switching sometimes gives a short distortion.

Perhaps it is a "placebo effect" and it is cause by my Viper4Arise Re-flash but I am very happy with this improvement. I really use my N9 a lot for music playing and always use Viper4Arise, it is THE best sound mod there is.

Currently playing Fates Warning and the sound is sooooo good. ?

Verstuurd vanaf mijn Nexus 9 met Tapatalk
[Nexus 9 Original Android Development] Choochter:
I had the crackling problem with Viper on my phone, solved it by raising the minimum CPU frequency in Kernel Adiutor. You can set a profile with the higher frequency in KA and switch to it with a home screen shortcut when playing music
[Nexus 9 Original Android Development] 777.300:
Okay, thank for the tip. Will create a profile with higher min cpu freq if needed.
[Nexus 9 Original Android Development] 777.300:
Indeed, raising the min freq to 688mhz removed the last crackling sounds. Great
[Nexus 9 Original Android Development] Choochter:
Glad to hear it worked for you
[Nexus 9 Original Android Development] 777.300:
On latest test kernel battery charger stopt at 77% last night. (started at 18%). Is this the famous N9 battery bug? Could it be kernel related? Can I flash the old kernel over the test version or is a ROM flash first needed?

Verstuurd vanaf mijn Nexus 9 met Tapatalk
[Nexus 9 Original Android Development] Heartbreakidhn:
Hey man, thanks 4 helping, I reflashed vendor image, but it didn't help :/ [MENTION=5501864]USBhost[/MENTION]
[Nexus 9 Original Android Development] USBhost:
I changed nothing that had to do with the battery so most likely.

Question what version did you get the bad audio?

or you are completely new?
[Nexus 9 Original Android Development] Heartbreakidhn:
I'm completely new xD so, the last version before the latest you've released, which I haven't tried yet. [MENTION=5501864]USBhost[/MENTION]
[Nexus 9 Original Android Development] USBhost:
what Android version did you say you were again?

7.1.2?
[Nexus 9 Original Android Development] Heartbreakidhn:
7.1.2, running SIMPLE-AOSPN ROM, everything was fine, had blasting amazing audio with Dby Atmos, then I decided to try your kernel (which is amazing BTW) and audio fell bad.
[Nexus 9 Original Android Development] USBhost:
Thanks for the report i will look into it.

Do you have an hangouts where we can talk easier?

PM it to me if you have one
[Nexus 9 Original Android Development] Heartbreakidhn:
Yes I do, I PMd you.
[Nexus 9 Original Android Development] USBhost:
New test

-| readded lowmemorykiller with some changes :: check how your multitasking is working (report back)

lmkd aka android's userspace one has a tendency to not kill right after some uptime

-| some tuning with ksm :: check your battery / performance / memory savings

Also when you flash FIRE-ICE does your audio go bad when you're using audio mods?

It seemed to happen to you guys and im like ????

[MENTION=8070138]Heartbreakidhn[/MENTION] i will get back to you soon

[MENTION=4973107]t99220475[/MENTION] thank you very much for letting me know about those ksm patches!

Edit: test4: removed all changes of lowmemorykiller from FI.d

so it's running stock values now. let me how if you get reboots
[Nexus 9 Original Android Development] yakov116:
Having 3 issue's.

Right after flashing it did not boot. Had to hold down the power.

The second thing is that I had for the first time in tablets history a random reboot.

The third thing is an issue that went away with the last 2-3 months on your kernel and now has come back. It's that when the tablet starts up the brightness is the highest it can be and I have to turn off auto adjust and put it back.

Edit the auto brightness is not working properly at all. And switching apps is making the tablet freeze

But it definitely feels snappier
[Nexus 9 Original Android Development] USBhost:
#1: The black screen you experienced happens every so often don't worry about it. It's still booting but just black and if you let it boot then wait a few minutes then press the power button the screen will turn on.

#2: Those reboots could be because of the lowmemorykiller changes so I won't worry about it just yet. And that would probably explain switching apps freeze. I will have a new version up soon with some changes.

#3: the auto brightness starting at Max hmm... I don't think it's because of the kernel, because I haven't touched it. But it could be caused by lack of memory.

Edit: see past post for test4
[Nexus 9 Original Android Development] Heartbreakidhn:
Sure thing man, gonna try test 4 right now [MENTION=5501864]USBhost[/MENTION]
[Nexus 9 Original Android Development] 777.300:
Flashed latest test version on PureNexus ROM.

Normal boot and no screen brightness issue observed.

Audio with Viper4Arise is great as soon as I set Cpu governor at Performance and raise the min cpu freq to 688mHZ. Stock settings give crackling sound but that happens on a lot of other ROM and Kernel combinations on the N9 and other devices like my N7-2013. I created a special Stock and Music profile in Kernel Auditor so switching is a Mather of seconds so that is no real problem.

So to be short, the N9 is running great so far on latest test version. Will report if something unexpected happens. Thanks for you time spending in developing the Top N9 kernel.

Verstuurd vanaf mijn Nexus 9 met Tapatalk
[Nexus 9 Original Android Development] yakov116:
It did not reboot again. I did not do test 4 maybe later today. I guess it was a one time thing
[Nexus 9 Original Android Development] yakov116:
Just tested v4 were all good now
[Nexus 9 Original Android Development] USBhost:
how's your multitasking?
[Nexus 9 Original Android Development] Vartom:
I tried, adding your patches in my kernel. Something that I returned from what I added earlier.

It seems to be better.
[Nexus 9 Original Android Development] Marky__Mark:
I think this kernel version may have screwed up substratum. It only force closes. What i did to reproduce this is: install your kernel, install both antutu apps, run the benchmark. Ever since i cannot get substratum to open. I uninstalled all layers, all substratum apps, reinstalled your 4/28 kernel, uninstalled both antutu apps, reflashed your the rom. Still broke. Im baffled and i dont want to wipe data.
[Nexus 9 Original Android Development] USBhost:
Question when did your fc start?

Was it on my test when it started and continued​ to k10.6.5?
[Nexus 9 Original Android Development] 777.300:
Substratum working fine here on latest kernel.
[Nexus 9 Original Android Development] Marky__Mark:
Started right after i completed the antutu test and it hasn't stopped. I cant fix it.

---------- Post added at 12:38 PM ---------- Previous post was at 12:37 PM ----------

Try running antutu test. Actually don't. Id hate to have the same thing happen to you.
[Nexus 9 Original Android Development] Marky__Mark:
Can you do me a favor and try installing and enabling a new overlay?
[Nexus 9 Original Android Development] yakov116:
I did notice on the last build it was better I think.
[Nexus 9 Original Android Development] Marky__Mark:
My issue was probably rom related. Im on AICP and substratum works on the latest rom.

---------- Post added at 08:56 PM ---------- Previous post was at 08:35 PM ----------

Im running your test kernel now and all is well.
[Nexus 9 Original Android Development] USBhost:
I understand, life having ORD is hard. I feel you :highfive:
[Nexus 9 Original Android Development] Marky__Mark:
Obsessive rom disorder? Haaa!
[Nexus 9 Original Android Development] 777.300:
Working fine here.
[Nexus 9 Original Android Development] Heartbreakidhn:
Well, went back to stock kernel , not as smooth as yours :( but that low sound was killing me xD [MENTION=5501864]USBhost[/MENTION]
[Nexus 9 Original Android Development] 777.300:
Use Viper4Arise, sound is great then. You can also raise the overall gain.

https://xdaforums.com/showthread.php?t=3379709
[Nexus 9 Original Android Development] yakov116:
[MENTION=5501864]USBhost[/MENTION] Since on the last test my tablet froze 3-4 times something that has not happened since I changed to your kernel
[Nexus 9 Original Android Development] USBhost:
Are you referring to the test versions​ or FIRE-ICE in general?
[Nexus 9 Original Android Development] yakov116:
Test version
[Nexus 9 Original Android Development] USBhost:
tests are here for a reason :angel::good::good:

anyways can you try to get a log of the crash
[Nexus 9 Original Android Development] yakov116:
Sure explain to me how to get the log
[Nexus 9 Original Android Development] USBhost:
when you get a freeze (that lasts long). reboot then copy "/sys/fs/pstore/console-ramoops-0" and give it to me.

Also can you get a dmesg as the freeze is taking place. "adb shell" then do "dmesg" copy all that you see and give it to me.

if you cant get in adb then thats fine no worries
[Nexus 9 Original Android Development] yakov116:
Sure
[Nexus 9 Original Android Development] mutlucan96:
Hello.

Always​ on "Ok Google" detection doesn't work on this kernel. Fresh install of latest stock ROM and latest Fire-İce kernel. I also tried to clean Google app data.
[Nexus 9 Original Android Development] USBhost:
Hmm... does this happen to anyone else?

The last time i was on stock i remember it working.

Yet again that was a long time ago lol
[Nexus 9 Original Android Development] Gunners_Classic:
Yep. Same here.
[Nexus 9 Original Android Development] USBhost:
Ok thanks for the report

One more Question when did this happen or did it happen when ever you flashed FIRE-ICE/ from the beginning of time?
[Nexus 9 Original Android Development] Markyiptw:
[MENTION=5501864]USBhost[/MENTION],

According to the discussion here, there are two patches which could make lmkd function better,

mm: vmpressure: dynamic window sizing

mm: memcontrol: lockless page counters

what do you think?
[Nexus 9 Original Android Development] USBhost:
Interesting! I will work on getting that ported.

But... It looks to be hard to do :rolleyes:... Hahaha
[Nexus 9 Original Android Development] mutlucan96:
I flashed FIRE-ICE after setting up the ROM. It never worked on this kernel.
[Nexus 9 Original Android Development] USBhost:
Ok thanks!
[Nexus 9 Original Android Development] USBhost:
Ok I just flashed Stock Android 7.1.1 (factory image)

And always on Ok Google detection works.

With the screen off or on.

Is there anymore info you can give ?

Are you sure it was Stock? Not a custom ROM?
[Nexus 9 Original Android Development] yakov116:
Have the file. I tried to get the adb but by the time i got to the computer it started to restart on its own

https://drive.google.com/open?id=0B7PfvMvaicWMRk1SbTNsZ1VUeFk
[Nexus 9 Original Android Development] goover41:
Hi everyone. I can't get rid of forced encryption. I did full wipe then flashed rom (purenexus 7.1.2), Gapps, then this kernel. But it still shows that my data is ecrypted. Did factory reset, still encrypted. What did I miss?
[Nexus 9 Original Android Development] Choochter:
Format data in TWRP
[Nexus 9 Original Android Development] goover41:
Yeah, missed that part. Thanks!
[Nexus 9 Original Android Development] USBhost:
Quick update: I have been vary busy as of late with school and family.

I get off school at the 16th and I'm graduating from HS yes!!!

I also was staying with my sister for a few weeks in Texas.

As you can see I have not been the most active as of late :angel:.

Kernel: so far my latest home build has been vary stable. 3 days+ uptime,

I had to shut my n9 down because I didn't want it to get to hot in the car (6 flags).

I'm sure it would have went longer just fine. So far I think I fixed​ the

most annoying thing about lowmemorykiller with it not being consistent (as it acts on first boot).

I will try to have the last test early next week. I'm leaving back home on Monday.

Other (OT): For you Anime people out there.

El Psy Kongroo
[Nexus 9 Original Android Development] sabrdawg:
Wow, you're only in HS? Fantastic work on this kernel! It works wonderfully! Congrats on your upcoming graduation :)
[Nexus 9 Original Android Development] mutlucan96:
Yes. It's stock. :rolleyes:
[Nexus 9 Original Android Development] USBhost:
last test.... :good:
[Nexus 9 Original Android Development] Marky__Mark:
Thanks. Ill give it a go.
[Nexus 9 Original Android Development] yakov116:
Working just fine here
[Nexus 9 Original Android Development] Marky__Mark:
Test 6 freezes up on me to the point where the tablet is unusable.
[Nexus 9 Original Android Development] USBhost:
Thanks!

How was the one before this one?
[Nexus 9 Original Android Development] Marky__Mark:
The one before it was excellent. Unfortunately i deleted it.
[Nexus 9 Original Android Development] USBhost:
Test 4 right?
[Nexus 9 Original Android Development] Marky__Mark:
The one before the latest. I thought it was test 5 and the latest was 6.
[Nexus 9 Original Android Development] USBhost:
It was test 4:good:

And here's the link

https://xdaforums.com/showpost.php?p=72346832&postcount=3519

I will have one more last test (I know lol)

To check if its those lowmemorykiller configs I accidentally left in FI.d in test 5. They weren't supposed to be there.

PS last day of school!! Hell yeah!

Edit: I was so happy that it's my last day I forgot proper English

Edit2: expect a update on monday
[Nexus 9 Original Android Development] Marky__Mark:
Yessss. Thats it. Thanks.
[Nexus 9 Original Android Development] jlokos:
Just an FYI. I had no issues with your latest test build. I'm using it with the latest Tesla Rom. Thanks for your continued support of our device.
[Nexus 9 Original Android Development] Marky__Mark:
I will test this weekend when i get home. The issues I encountered on the latest took a day or so to appear.
[Nexus 9 Original Android Development] 777.300:
Same here, no issues on latest test version combined with PureNexus ROM.
[Nexus 9 Original Android Development] Marky__Mark:
Im on AICP
[Nexus 9 Original Android Development] mutlucan96:
Hello!

Headphone jack doesn't work wit latest kernel.

I haven't tried immediately after and before. But it was working on the previous one.

I'm on stock rom by the way.
[Nexus 9 Original Android Development] USBhost:
My headphone jack works just fine.

And I tried it yesterday on the train.

Anyone else has this problem?
[Nexus 9 Original Android Development] 777.300:
Working fine on my N9
[Nexus 9 Original Android Development] rabbyx:
Also here, everything is running well.

I'm on PureNexus
[Nexus 9 Original Android Development] Monazite:
Hi, first, thanks for your kernel, but I have a question…I am using lineage os and I have used your kernel. everything works well, and recent apps is windows style. However, if I flash original los kernel, recent apps is still windows style. So…how can I switch to card style? Thank you.:p
[Nexus 9 Original Android Development] Marky__Mark:
Flash version 10.6.4.

---------- Post added at 10:27 AM ---------- Previous post was at 10:25 AM ----------

I think the biggest difference between the two latest test kernels is the swap isnt present in the latest one by default. Not sure if thats a bug or intended, but i perfer that on which is why i like test version 4 better.
[Nexus 9 Original Android Development] USBhost:
just remove ro.recents.grid=true

from system/build.prop

Im thinking about removing that from my kernel and have an addon pack for those things

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

test6? idk lol

let me know if you get any freezes :good:

[MENTION=6362361]Marky__Mark[/MENTION]
[Nexus 9 Original Android Development] USBhost:
Hmm... swap was not present ?
[Nexus 9 Original Android Development] Marky__Mark:
Not with my settings. I use the kernel adiutor app instead of Fi.d so my settings in the app have swappiness at 60. That setting doesn't fill up the swap so i have to reboot every couple days. Anyway, thats my setup and Diskinfo doesn't show a swap on test 5. Its there in test 4.

---------- Post added at 05:12 PM ---------- Previous post was at 05:08 PM ----------

Ill try it.

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

Swap present in this one.
[Nexus 9 Original Android Development] mutlucan96:
Hello again.

Headphone jack problem was a hardware problem sorry about that. But Ok Google detection breaks after Fire-Ice.

I wiped everything and flash latest stock ROM. Tried Ok Google detection and it was working. Then I flashed latest Fire-Ice and it's not working.
[Nexus 9 Original Android Development] Bastlwastl2010:
[MENTION=5501864]USBhost[/MENTION]

Is your last kernel read for sdcardfs?

LOS have merged it for flounder

https://review.lineageos.org/#/c/176562
[Nexus 9 Original Android Development] USBhost:
I will test stock again.

Yes but I do not like sdcardfs because it doesn't read or allow mounts from /data/media/ to show in /sdcard

For a matter of a fact my kernel has supported it for like a few months now.
[Nexus 9 Original Android Development] USBhost:
Hows Everything? [MENTION=6362361]Marky__Mark[/MENTION]
[Nexus 9 Original Android Development] Marky__Mark:
Froze up after a couple days so went back to test 4. Thats my jam. But test 6 is definitely better than 5.
[Nexus 9 Original Android Development] USBhost:
Ok thanks! i will go ahead and release K10.6.6 today.

Then K10.6.7 should follow soon after that to kill that one freeze you had. :good:

Going on ~3 months K10.6.5 is old!!!
[Nexus 9 Original Android Development] USBhost:
Sould i make a /tmp file

Thats tied to RAM

So you can have some temporary storage

I think I would be cool!