yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] kyleco:
Does anyone have the issue of not having many apps stored in memory? On my N9, putting an app in the background while I load a game causes the first app to be removed from memory. Example: i have great big war game playing and i switch to clash of clans to check my army, returning to great big war game causes the game to reload from scratch. My nexus 7 and nexus 5 are able to remember my position in the previous apps(sometimes up to 5 or more). I understand different apps use different amounts of memory, but the N9 still has ~400mb free and my other devices handle these scenarios. This happens with basically every app I have. Can't get more than 2-3 apps stored.

This seems very aggressive to me to be killing apps with that much free space. Is it because of the amount of RAM we have? If so, I'm all for more RAM. If not, what would cause this?

Or am I the only poor soul experiencing this?
[Nexus 9 Original Android Development] USBhost:
Some times i do

Will look into doing some changes to low memory killer
[Nexus 9 Original Android Development] USBhost:
get rdy for an update Cheers
[Nexus 9 Original Android Development] happy73093:
Would this update include USB OTG Host mode + Charging :D
[Nexus 9 Original Android Development] USBhost:
Well no not that
[Nexus 9 Original Android Development] happy73093:
Oh so sad for me lol, could I request that to be a future feature perhaps?
[Nexus 9 Original Android Development] USBhost:
If i can you bet
[Nexus 9 Original Android Development] happy73093:
Thank you for that :)!
[Nexus 9 Original Android Development] USBhost:
K4 is up

removed unneeded root fix for init

fstab changes

BL fixed

FDE enhancements

FIOPS now default gov

Makefile changes

Note: I don't know if it will boot

On encrypted data pls tell me

Because of my fstab changes
[Nexus 9 Original Android Development] Magoggles:
K4 booting fine with encryption on. :D
[Nexus 9 Original Android Development] USBhost:
Ok ty :)
[Nexus 9 Original Android Development] TenderloinShadow:
Do you need to use the modified version of TWRP to run this kernel, or is it just an option?
[Nexus 9 Original Android Development] USBhost:
just an option
[Nexus 9 Original Android Development] Kazba1626:
I haven't been able to Flash Kernel K3 or K4 with modified or the new updated TWRP recovery. It says zip file corrupted. I'm on latest lalapalooza Rom and have TWRP 2.8.3.0. Kernel version k1. I'm also unencrypted. Anyone have same issue?
[Nexus 9 Original Android Development] USBhost:
Nop sorry

Every thing is working

Fine here

Did you check the md5sum of your download?
[Nexus 9 Original Android Development] phillysmako:
I'm on the stock rom just got this bad boy for Christmas☺. If i want to unencrypt how would i go about this? Do i factpry reset in recpvery?
[Nexus 9 Original Android Development] USBhost:
Flash a kernel the supports unencrypted data

Like this one

Do a factory reset in the bootloader

Reboot and thats it
[Nexus 9 Original Android Development] phillysmako:
When you say bootloader, do you mean like the recovery? I'm sorry! Im not new to this tuff

But im not familiar witht the decrypt process. So i cab flasg your kernel abnd then wipe then reboot and ill be good to go?
[Nexus 9 Original Android Development] USBhost:
Nop bootloader

Just do

adb reboot bootloader

select hboot

Then select factory reset

But flash my kernel before doing that
[Nexus 9 Original Android Development] Bugenhagen:
Working great with Slim :)
[Nexus 9 Original Android Development] USBhost:
K10.6.7 is up

K10.6.7

-| Latest: from google

-| Linux: 3.10.107

I just wanted to get it out to you guys fast! :cowboy:

_____________________________________________________________________

Old one i forgot to say lol

K10.6.6

-| Latest: from google :: lots !!

-| Latest: f2fs

-| removed: UKSM

-| updated: KSM to work like UKSM

-| Latest: security updates as to Jun

-| No longer enables grid recents :: separate zip now

-| Using: Linaro GCC 7.1.1

maybe more its been like almost 3 months.

_____________________________________________________________________

As of yesterday (26th) I'm officially a high school graduate!

from K12

(any one here that was in k12?)

It's been a very long bumpy road for me, bad grades for the first 2 1/2 years. But for my last 1 1/2 years I really grew up I became a better man. It's been a journey of ups and downs, I learned many things mostly from the hard way :silly:. I just wanted to say Thanks to all the people I met here and all those who supported me throughout the years. It's been an honor being here with you all.

EI Psy Kongroo
[Nexus 9 Original Android Development] sabrdawg:
Congrats on your graduation! :) You have a lot of success ahead of you!
[Nexus 9 Original Android Development] Marky__Mark:
Im using this one right now and i think the freezing only happens after scrolling for a bit on the Facebook app.
[Nexus 9 Original Android Development] USBhost:
I will have a test version tomorrow July 5th.

I think i know what did it but I don't want to fix it. (LMK is finally working right.)
[Nexus 9 Original Android Development] Marky__Mark:
Thanks. And if its something you don't want to mess with, let me know how i can fix the settings.
[Nexus 9 Original Android Development] Marky__Mark:
I may have fixed it. Is there a reason the default read ahead value is only 128?
[Nexus 9 Original Android Development] USBhost:
Cheers!!

why its 128. hmm idk its just stock i dont touch it.

but if you want i can make it more.
[Nexus 9 Original Android Development] Marky__Mark:
Nah, its cool. Thanks man.

---------- Post added at 09:45 PM ---------- Previous post was at 09:35 PM ----------

And correct me if im wrong, but it seems that box of goodies all touch the build prop so they undo each other if flashed together. If so, can you make one flashable zip that enables both sdcardfs and the grid recents?

---------- Post added at 09:51 PM ---------- Previous post was at 09:45 PM ----------

Never mind. I see what happened. I manually added the recents to the build prop then flashed the enable sdcardfs and the sdcardfs attached to the end of the string.
[Nexus 9 Original Android Development] Marky__Mark:
Facebook still freezes.
[Nexus 9 Original Android Development] USBhost:
Here you go ! let me know if it's fixed :fingers-crossed:

[MENTION=6362361]Marky__Mark[/MENTION] new test is up

Edit: fixed: battery fix for user built roms
[Nexus 9 Original Android Development] Marky__Mark:
Still freezes but not as frequent. Could be the app.
[Nexus 9 Original Android Development] USBhost:
By the way what webview are you using?
[Nexus 9 Original Android Development] Marky__Mark:
I got google installed in addition to the preinstalled stock which is probably Lineage for AICP, but i remember reading something that said doing something like that doesn't activate the Google app. Ill uninstall it and see if that does anything.
[Nexus 9 Original Android Development] yakov116:
Quick question why dont u use github tags/releases?
[Nexus 9 Original Android Development] USBhost:
I'm to lazy... Plus resting is more fun! :highfive:
[Nexus 9 Original Android Development] yakov116:
LOL

I am on github a whole day would be nice just to be able to download from there.
[Nexus 9 Original Android Development] Marky__Mark:
So far so good. Ill report back in a couple days. Thank you.
[Nexus 9 Original Android Development] Maraudeur:
[MENTION=5501864]USBhost[/MENTION] hi! Did you cut iptables change support in last version?(
[Nexus 9 Original Android Development] USBhost:
No?..

What is not working for you?
[Nexus 9 Original Android Development] yakov116:
[MENTION=5501864]USBhost[/MENTION] I am having the battery present issue on the last one (6/27) not the one you made for the facebook guy (didn't try it)
[Nexus 9 Original Android Development] USBhost:
What ROM are you using?
[Nexus 9 Original Android Development] yakov116:
Pure nexus
[Nexus 9 Original Android Development] USBhost:
Can you send me the build.prop
[Nexus 9 Original Android Development] yakov116:
Uploaded (changed the ext....)
[Nexus 9 Original Android Development] USBhost:
Ahh thanks! I found the problem!

If I'm right you didn't get a notification saying fixing battery or what ever when you flashed FIRE-ICE.

The problem was a regression with my scripts when I did some cleaning. It wouldn't fix battery on user built ROMs.

PS: sorry for the late reply

I somehow missed my email telling me about your post.
[Nexus 9 Original Android Development] yakov116:
Yeah I was quite mad about that! I waited with my xda page open for the past few hours, refreshing every 8 seconds to see if you replied.

I almost filed a complaint with a mod.

Thanks for all your amazing work!
[Nexus 9 Original Android Development] USBhost:
Good One man!! Have another thanks for that laugh! :good:

I'll mention you when I have the fix-up :fingers-crossed: [MENTION=2654325]yakov116[/MENTION] its up. look at the past page
[Nexus 9 Original Android Development] yakov116:
Up where. Last page?
[Nexus 9 Original Android Development] USBhost:
https://xdaforums.com/showpost.php?p=72935641&postcount=3602
[Nexus 9 Original Android Development] yakov116:
Ok trying it now

Thanks

---------- Post added at 11:45 PM ---------- Previous post was at 11:33 PM ----------

[MENTION=5501864]USBhost[/MENTION] Error 2 :(
[Nexus 9 Original Android Development] USBhost:
Gerr... Looking for what happened stay tuned

edit: [MENTION=2654325]yakov116[/MENTION] ok try again.... sorry about that
[Nexus 9 Original Android Development] Maraudeur:
It seems not working to me. I reflashed K10.6.5 and all works again. May be I confused smth... Simply I'll try to flash last build again
[Nexus 9 Original Android Development] USBhost:
What are you trying to do?
[Nexus 9 Original Android Development] yakov116:
OK I think were OK but this does not have the grid?
[Nexus 9 Original Android Development] USBhost:
Check OP for the box of tricks.

I removed it from being enabled by default because some people don't like it.
[Nexus 9 Original Android Development] yakov116:
Having a lot of lag in this last build and the double tap to open is going haywire
[Nexus 9 Original Android Development] USBhost:
all is fine here. also i dont touch DTW

try rebooting
[Nexus 9 Original Android Development] yakov116:
Nope did not help. Also still having the battery issue
[Nexus 9 Original Android Development] Choochter:
Go into 'About tablet' and check that you're not somehow still on the stock kernel, happened to me once
[Nexus 9 Original Android Development] yakov116:
Something tells me that I am going to need a full wipe and install
[Nexus 9 Original Android Development] USBhost:
was he right?

___________________________________

Last one hopefully until [MENTION=6362361]Marky__Mark[/MENTION] gets back to me:good:
[Nexus 9 Original Android Development] yakov116:
No
[Nexus 9 Original Android Development] philidor:
It's your kernel safety net compatible with magisk?

Thanks

Inviato dal mio Nexus 9 utilizzando Tapatalk
[Nexus 9 Original Android Development] USBhost:
No. My kernel has to modify system.

Unless magisk can mask it.

I do not support safety net.
[Nexus 9 Original Android Development] philidor:
You are fast! No magisk can't hide it. But it's not a problem for me. I can live without safety net pass.

And your kernel is superb. Thank you and have a good day!

Inviato dal mio Nexus 9 utilizzando Tapatalk
[Nexus 9 Original Android Development] Marky__Mark:
Sorry, just saw this. Installed and testing...

---------- Post added at 10:47 AM ---------- Previous post was at 10:36 AM ----------

Im not having any issues on this.
[Nexus 9 Original Android Development] USBhost:
Are all things still good?
[Nexus 9 Original Android Development] yakov116:
They are good by me....
[Nexus 9 Original Android Development] Marky__Mark:
Yea. Occasional FB freeze so its no big deal. Everything else is superb and if Facebook takes a hit so the tablet functions better in other areas, so be it.
[Nexus 9 Original Android Development] USBhost:
When it does freeze does your screen go all Haywire?
[Nexus 9 Original Android Development] Marky__Mark:
Nope. Its the feed scroll. The app just freezes after a while due to the videos playing in the feed. Very seldom now though. Just close the app and all is good. Doesn't cause the tablet to shut down or use too much ram.

---------- Post added at 01:27 PM ---------- Previous post was at 01:08 PM ----------

And its not the webview. I tested that.
[Nexus 9 Original Android Development] Gunners_Classic:
I am testing all your kernel updates. Its no problem but I've got for the last one and a half weeks freezes on this kernel while charging, long term screen off and playing YouTube freezes over half an hour. Which kind of log should I provide?
[Nexus 9 Original Android Development] USBhost:
So the my kernel freezes after 1 1/2 week uptime?

And it also freezes after a long time on YouTube?
[Nexus 9 Original Android Development] Gunners_Classic:
No sorry.

What I mean is that all the test versions of the kernel since around the start of July freezes sometimes. Especially after charging and yes, watching YouTube a long time.
[Nexus 9 Original Android Development] USBhost:
That's interesting..

I used YouTube a lot and not once did it freeze on me.

And I had a few days uptime all is well.

I will be playing YouTube all day to see what happens.
[Nexus 9 Original Android Development] yakov116:
I find the in July releases that many tabs are causing the slowdown. Something changed I am not sure what
[Nexus 9 Original Android Development] philidor:
With new magisk your kernel (on LINEAGE) pass safety net

Inviato dal mio Nexus 9 utilizzando Tapatalk
[Nexus 9 Original Android Development] USBhost:
Quick update: I cannot reproduce what you said

I went ahead and played a YouTube video all day nothing happened.

And the same with charging.

Does anyone else have the same problem?
[Nexus 9 Original Android Development] Gunners_Classic:
Okay. After a clean a few days ago I completely wiped the device yesterday and flashed everything new. I'll give an update if the problems happen again.
[Nexus 9 Original Android Development] Vartom:
Can you test your kernel in this CPU Throttling Test ?
[Nexus 9 Original Android Development] USBhost:
It's probably not best for me to do it.

Because I may have made my heatsink smaller.

So my results probably would not be the most accurate.
[Nexus 9 Original Android Development] wantowan2:
Hey, what kernel app is everybody using? I'm just using some version of Kernel Adiutor that I pulled off of git. It isn't reporting various stats properly.
[Nexus 9 Original Android Development] USBhost:
K10.6.8.1 is up

What stats?

________________________________________________

K10.6.8.1

-| Latest: from google

-| Latest: security updates as to Jul

-| some: ksm updates :: use zero pages...

-| FI.d: v63 :: you will no longer need to flash anything to fix the startup wizard FC using OpenGapps etc...

Long overdue i know......
[Nexus 9 Original Android Development] Choochter:
Try KA mod:

https://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549
[Nexus 9 Original Android Development] wantowan2:
CPU primarily. I can change it in KA but it still says the max. When I use perfmon it says the lower setting I had selected in KA.

Not every app asks for perms correctly these days. So I moved the install of KA over to system using Titanium Backup. Whipped the data and reconfigured KA. But it still doesn't report the correct CPU setting.

---------- Post added at 06:04 PM ---------- Previous post was at 06:03 PM ----------

Thanks
[Nexus 9 Original Android Development] yakov116:
Don't know what you did but I no longer have the brightness issue on startup. It used to be on max until I took it off auto and put back in auto.
[Nexus 9 Original Android Development] Dark_One:
My max GPU frequency is set to 852, and the min is set to 984.

Is it normal for the min to be higher than the max? Does anybody have recommended settings for the GPU? I don't play many games but I watch a lot of videos. Thanks!
[Nexus 9 Original Android Development] yakov116:
Are you having any issues with your camera?
[Nexus 9 Original Android Development] USBhost:
Yes in where you see it. Our GPU is vary strange.

Minimum is basically ignored (to what I understand)

Such as?
[Nexus 9 Original Android Development] yakov116:
It not working at all
[Nexus 9 Original Android Development] USBhost:
Working just fine here.

What version of FIRE-ICE(M or N) did you use and what Android version are you on?
[Nexus 9 Original Android Development] Dark_One:
My camera crashes about half the time I open it. I'm using N and the 8/1 Lineage
[Nexus 9 Original Android Development] yakov116:
N pure nexus. Never had an issue till this last kernel.

If I have a min I will go back to the old one.... this weekend I don't think i'll have time
[Nexus 9 Original Android Development] USBhost:
Hmm...

Did this happen on K10.6.8 also?
[Nexus 9 Original Android Development] yakov116:
I never had this issue before
[Nexus 9 Original Android Development] USBhost:
K10.6.8

K10.6.8.1

Which one of those you experienced the problem?
[Nexus 9 Original Android Development] yakov116:
10.6.8.1
[Nexus 9 Original Android Development] USBhost:
Ok thanks

I will have a test version tonight
[Nexus 9 Original Android Development] yakov116:
I will not be able to test till sun
[Nexus 9 Original Android Development] Dark_One:
I'm also on 10.6.8.1 and I can test it tonight
[Nexus 9 Original Android Development] USBhost:
So it's just a FC?

Or is there anything more?

Edit: anyways i reverted the kernel back to K10.6.8

ONLY FLASH THIS IF YOU WANT TO HELP TEST TO SEE IF IT WAS THE PROBLEM.
[Nexus 9 Original Android Development] Dark_One:
Here's a logcat https://pastebin.com/LRHpwaHr

The first time I opened it, it opened fine. The second time it gave me a camera error that said "can't connect to the camera" and it closed.

---------- Post added at 01:39 AM ---------- Previous post was at 01:27 AM ----------

https://pastebin.com/zjAiKta5

I'm having the same issue with the new kernel. I just flashed this from stock so I don't have anything else to compare it to unfortunately.

---------- Post added at 01:48 AM ---------- Previous post was at 01:39 AM ----------

I download another camera app and it's working fine
[Nexus 9 Original Android Development] USBhost:
Hmm I find that so odd I never had any problems opening camera.

Using stock camera app. But I haven't used it in a while, Open Camera FTW!

No problems opening AOSP camera multiple times.
[Nexus 9 Original Android Development] yakov116:
Did not work will get u loga tomorrow's
[Nexus 9 Original Android Development] wantowan2:
This is a dmsg post crash. @ 26% battery this time. I haven't found that other fs/../ log much use. Be handy to have last_kmsg back... How do you trace these crashes?

https://pastebin.com/jsVyKfLx

What about adding a thermal module? Without being able to control the soc values, its hard to rule it out?

---------- Post added 17th August 2017 at 12:05 AM ---------- Previous post was 16th August 2017 at 11:53 PM ----------

This is one of those other logs. Was to big to copy/paste so.

https://drive.google.com/file/d/0B6SlEmAAY2geV2JPdGlrYS11azA/view?usp=drivesdk
[Nexus 9 Original Android Development] USBhost:
myword man that last one... what were you doing?...

i never seen anything close to that before.....

[38252.688880] "Thread-17" (2460) uses obsolete SWP{B} instruction
[38252.703337] "Thread-2" (2318) uses obsolete SWP{B} instruction

Those syscall traces you dont... i tried... no luck.

even building with debugging i got nothing helpful.

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

Let me know if you get any freezes.
[Nexus 9 Original Android Development] alegru:
enable Network File Systems

Hey USBhost! I have another request. Could you please enable support for NFSv2/3/4 and SMBv2.1 ?

I really want to get rid of SMBv1, even Microsoft suggests to disable it (looking at you, EternalBlue).

Kernel 3.10.x supports SMBv2.1, but you need to compile it in.

This pr could be a base: https://review.lineageos.org/#/c/173346/

Last month, Google released an official Android Samba Client. I would like to compare the speed between modern SMB in userspace / kernelspace and NFS, wich has even less overhead.
[Nexus 9 Original Android Development] USBhost:
Will do!

PS: (maybe) I may be able to compile sshfs for an added bonus!

Edit: [MENTION=6747306]alegru[/MENTION] here you go! SMBv2 and NFS2-4

Edit: see the next page
[Nexus 9 Original Android Development] alegru:
Wow! That was fast!

But I cannot get the device to boot, stuck at Google logo. Did something go wrong? 10.6.8 07-25-2017 boots fine.
[Nexus 9 Original Android Development] USBhost:
oops.... :angel: Mybad on the last one... I was playing around with the kernel configs... I forgot to clear it.

This one will boot :good:
[Nexus 9 Original Android Development] alegru:
Oh yes, works perfectly :D

Can connect to my SMB server using SMBv2.1

For future reference, I use this command:

su --mount-master -c mount -t cifs -o rw,username=user,password=pass,iocharset=utf8,file_mode=0666,dir_mode=0777,noperm,vers=2.1 //ip/share /mnt/cifs/share

Thank you for your fast support :o
[Nexus 9 Original Android Development] wantowan2:
I can't find the post right now but you dropped a link in a reply? Anyway, I flashed it. This is the first time in a long time that I have seen the low battery utility appear asking if I want battery saver. And it worked fine. Not sure if that was the point of that build or not but it didn't freeze.

I will get back if it does. Hopefully with a log or two.

Thank you.

Do the subsequent builds I see have these fixes in them? Or did it take me too long to get back to you?

To jog your memory:
[Nexus 9 Original Android Development] alegru:
Follow-up for nfs:

This was difficult to figure out. You need busybox and the command is

su --mount-master -c "busybox mount -t nfs -o ro,nolock,hard,vers=3 ip:/export/share /mnt/nfs/share"

[MENTION=5501864]USBhost[/MENTION] would be great if you could make sshfs work, I would try it out and post my findings :)
[Nexus 9 Original Android Development] USBhost:
Thanks for testing!

Did you get any reboots when on low battery?

try mounting that as rw and make a swap file then swapon.

_________________________________________-

Tonight is going to be vary busy!:good::good: (if you know what i mean)
[Nexus 9 Original Android Development] wantowan2:
So far so good. So:

The battery saver dialogue is "new". Like I said, can't remember the last time I saw it on this config. Makes me think my initial instincts were on to something.

Let me get this strait. Did you just compile the kernel from top of ROM source, lunch the device-userdebug in device then compile the bootimage? I know that fixes some screen issues but not this batt saver issue.

I didn't really explain that properly because its been a while. I always used to compile the kernel after lunching the device. That and using the userdebug option. Seems too easy. Cuz you know google doesn't.

I have pushed it a little. Down to 14% say. I got the batt saver a few times OK. Its kind of like that game "Operation". I've been zapped so many times I'm nervous. Haha

I see you have posted more since that tester. Did you also userdebug those as well?

Also, any ideas around getting more out of multitasking? Or have you optimized the kernel settings already?
[Nexus 9 Original Android Development] wantowan2:
OK, so no freeze of death so far.

https://drive.google.com/file/d/0B6SlEmAAY2geUml0R2o0Qi1qVEE/view?usp=drivesdk

I didn't look at this. Was an app crash but my guess was out of memory, thrashing, race condition. Etc...
[Nexus 9 Original Android Development] Extreemator:
Bluetooth bug. After connection to speakers sometimes cpu starts to work at full load and starts to deplete battery to heat. 7.1.2, your asop