yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] primaleph:
no... I formatted it as internal storage using the GUI, which I had thought would format it as the same file system as /data.

If I should be formatting it as internal as ext4 manually, what is the command line for that?
[Shield Tablet Android Development] BitOBSessiOn:
I will treat to build a version with same K10 F2FS params.... In KU I set all (unnecessary) params to check a correct build.
[Shield Tablet Android Development] jasonrhodes32:
Any chance you could build a kernel that includes wakelock blocking, zen or fiops I/O schedulers, color and sound control?
[Shield Tablet Android Development] Mojar7070:
[MENTION=6411851]BitOBSessiOn[/MENTION]

Hello, I'm using the current kx10, 003b and Lineage 14.1 as my Rom. I've always uses the stock and kernels setting and it's been good. I turned off core 3 and 4 out of curiosity and to my surprise the OS seemed to run smoother. Any particular reason why??
[Shield Tablet Android Development] BitOBSessiOn:
There are always chances...
[Shield Tablet Android Development] BitOBSessiOn:
I can only guess that with only 2 cores the switch CPU manager which decides when enabling or disabling each core is more efficient. Maybe with only 2 cores decision is not needed and both are always enabled... or instruction queues are quicker managed.. but this is valid when you don't demand full power, where 4 better than 2...

Have you tested latest K10-11 or KU...?
[Shield Tablet Android Development] Mojar7070:
I did try the k10 and had the same result. Haven't had a chance to test KU. Would you like me to??

Your explanation makes sense. I don't do any gaming on the tablet. Mostly social media, Netflix, YouTube and web browsing. So only having 2 core on is sufficient for my needs. Thanks for the response.

Edit: does the KU kernel need to be used on a stock ROM??
[Shield Tablet Android Development] alcopsy:
Hi, Xposed framework can conflict with this kernel or can i install it?
[Shield Tablet Android Development] BitOBSessiOn:
No, you should be able to use it on any ROM.
[Shield Tablet Android Development] BitOBSessiOn:
You can try, after backup... but don't expect Xposed support here, sorry.
[Shield Tablet Android Development] primaleph:
Use systemless Xposed with Magisk. Much safer.
[Shield Tablet Android Development] alcopsy:
Xposed work like a charm :)

I've RR ROM with magisk but it was error when install with magisk. > Edit: just creat MagiskManager folder to internal storage.

Good work with xposed apk.
[Shield Tablet Android Development] fpozar:
[MENTION=6411851]BitOBSessiOn[/MENTION] how come there isn't a thread for your AOSP Extended ROM? I have AEX on my xiaomi mi5 and it's awesome, I'd love to try it out for Shield Tablet, maybe it would be wise to create a thread so that people have a place to report bugs and an easier way of finding the ROM (I bet 90% of xda community doesn't even know you develop aex for shield tablet), not everyone digs around your android filehost folder xD
[Shield Tablet Android Development] BitOBSessiOn:
Thx. The problem is I don't have time to process and manage bugs... ATM, in best case, I only can maintain it and build newer versions...
[Shield Tablet Android Development] primaleph:
How does the NTFS RW support work?

It seems not to work at all unless I have the Paragon NTFS app installed... but if I do, it can't mount the SD card volume and I can't open files, only view their names.

For background, I have a 256 GB SanDisk MicroSD card that I've had nothing but trouble with on this tablet. Doesn't seem to matter whether I use NTFS or exFAT, files disappear from it or get corrupted. Switching between LineageOS, AEX, and Dirty Unicorns also has made no difference.

The card has already been replaced once. The replacement has the same issue.

I have tried formatting it as ext4, and the tablet said it was corrupted.

When it was formatted as f2fs, it was recognized properly but I could not copy files to it.

I know BitO has recommended formatting a SD card as either ext4 or f2fs before, so I'm wondering if there's any additional step I need to take to get this to work .
[Shield Tablet Android Development] dzidexx:
With AEX & Resurrection Remix you can use sd card formatted as exfat. I have AEX.

DU, Omni can't.

Ntfs - only stock. [MENTION=5009901]primaleph[/MENTION]
[Shield Tablet Android Development] DR_HAX34:
Hi [MENTION=6411851]BitOBSessiOn[/MENTION], [MENTION=4898097]arter97[/MENTION] recently worked with the f2fs maintainer to patch a GC issue present in F2FS. Can you do a build with an updated F2FS driver and mkfs.f2fs tool?
[Shield Tablet Android Development] beitme:
Random reboots with K10-011-UBERTC_6.4, and less frequent reboots with K10-011-LINARO_4.9.

ROM - AEX

Stock kernel settings

Back on K10-009-shieldtablet. No reboots.
[Shield Tablet Android Development] liam_davenport:
If you get random reboots please post appropriate logs or it doesn't get fixed :good:
[Shield Tablet Android Development] Ikarbb:
I have always been a fan of your kernel here. But, I had one question / feature request. I'm mostly just curious how to get the original stock "Nivida Color Management" feature in the display settings onto another ROM.

In the Resurrection Remix rom, you can adjust the RGB values in the "Live Display" settings, but you can't control the gamma, contrast, or saturation. I have not been able to find an app that allows me to control this either.

[IMG="The stock Nvidia Color Managament menu"]https://drive.google.com/file/d/1Lj495BLutNPpQwFSZmtxnHb19eA1geDC/view?usp=sharing[/IMG]
[Shield Tablet Android Development] bananammonkey:
With (BitO-KU-uda-r1.4-v3.10.107-F2FS-shieldtablet.zip) for F2FS support do I need to flash (BitO-K-F2FS-inject-shieldtablet-N.zip) after, or is the injector not needed anymore?
[Shield Tablet Android Development] LaGaipaG:
You need to flash the injector too.
[Shield Tablet Android Development] marvi0:
Guys am running stock, and need the tablet for work projects. Anyone having random reboots before I jump in please?
[Shield Tablet Android Development] LaGaipaG:
With the K10-009 no random reboots for me. With the K10-010 and K10-011, instead, sometimes I had random reboots.
[Shield Tablet Android Development] alcopsy:
Never had random reboot with K10-010 and 011...

Data and cache in F2FS

actualy i'm with KX10-011 no reboot...

why any have problem and other (like me) haven't.. i don't know
[Shield Tablet Android Development] hly17_7:
Never changed Kernel

Hello, have been using the shield tablet K1 with LOS now for quite some time. The battery life however is not always satisfactory, esp. wakelocks seem to spoil the party somewhat. I have never introduced a different kernel. In this view two questions:

a. Could I expect improvements to battery life with this kernel (my usage pattern is CPU and graphics wise probably quite light, using apps to read newspapers and the like)?

b. As a novice to Kernel mod: Can I find somewhere the exact steps I need to take to change towards this kernel. The explaining on the first page of this thread is for me somewhat thin (do I need to wipe cache, dalvik etc, do I need to reinstall apps afterwards, which files need to be flashed KU/K10/KX10 and in which order)?

May be the answers can be found somewhere else in this thread, but after browsing about 30 of the around 200 pages, I have not been able to find, but sorry in case these points have been explained already.

Thanks in advance for help.
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K11-004

BitO-K11-004 available for downloading here.

Latest code from Nvidia (rel-24-uda-1.4) merged.

Latest Linux code (v3.10.108) merged.

Latest F2FS code merged.

Stable and experimental (UBER_4.9) versions

Usual BitO-K kernel tweaks (SafetyNet bypass, IO and CPU management optimizations, etc...)

Kernel source here.
[Shield Tablet Android Development] alcopsy:
Thx,

i go test it now, need i fresh intall or just flash it over KX10? are you prepare KX version?

Is Linaro version?
[Shield Tablet Android Development] BitOBSessiOn:
BitO-KU-uda-r1.4-v3.10.108-F2FS

Latest stock kernel (built from sources, no tweaks, no external unofficial patches) available here.

3 versions:

Stock from latest Nvidia code (rel-24-uda1.4)

... + latest linux code upstreamed (v3.10.108)

... + latest F2FS code merged.
[Shield Tablet Android Development] alcopsy:
No mirror found on BitO-K11-004-shieldtablet.zip ...
[Shield Tablet Android Development] BitOBSessiOn:
Stable version is built using Google TC 4.8, experimental one using UBER TC 4.9 + -O3 gcc optimizations enabled.

You can flash directly over your latest BitO-K.

I'm not aboslutely sure if KX worths...
[Shield Tablet Android Development] BitOBSessiOn:
Be patient, please... AFH is a real pain in the neck these days...
[Shield Tablet Android Development] drewski_1:
yeah, seems like since they "updated" to the Cloud Theme webpage, AFH has been slow and unstable :(
[Shield Tablet Android Development] BitOBSessiOn:
I will try to reupload (maybe other service...) if problem persist after a while... I'm having also many problems to get zips uploaded...

EDIT: Right now seems some mirror is available... Germany in my case... FYI
[Shield Tablet Android Development] alcopsy:
And canada :)

Thks
[Shield Tablet Android Development] alcopsy:
And canada :)

Thks

Sry double post... bug
[Shield Tablet Android Development] bananammonkey:
BitO-KU-uda-r1.4-v3.10.108-F2FS-shieldtablet.zip with BitO-K-F2FS-inject-shieldtablet-N.zip hangs at the Nvidia logo.
[Shield Tablet Android Development] BitOBSessiOn:
Weird... that's the base for BitO-K11 which is working fine for me... Have you tried with BitO-K11-004 ...?
[Shield Tablet Android Development] bananammonkey:
BitO-K11-004-shieldtablet.zip works just fine with injector and the previous BitO-KU-uda-r1.4-v3.10.107-F2FS-shieldtablet.zip as well, but for some reason BitO-KU-uda-r1.4-v3.10.108-F2FS-shieldtablet.zip is giving me that problem. It could be something on my end though. :good:
[Shield Tablet Android Development] BitOBSessiOn:
I will revise... Thx
[Shield Tablet Android Development] moliverac8:
How good is this kernel with RAM management? I can't have chrome open and another app at the same time with stock, its horrible.

Enviado desde mi SHIELD Tablet mediante Tapatalk
[Shield Tablet Android Development] bluegizmo83:
Not great, but I don't think it's the kernels fault. Before I updated my tablet to Nougat (it was on rooted stock Marshmallow for a long time), I never noticed any RAM issues or apps closing in the background. As soon as I updated to rooted stock Nougat I immediately noticed the RAM issues and apps closing constantly in the background (all my apps stayed the same, just updated from MM to N). I've tried using different kernels and tweaks but it hasn't helped, something in the shield nougat release seems to be causing it.
[Shield Tablet Android Development] BitOBSessiOn:
Maybe because ZRAM enabled by default (assigning 512mb from 2gb... This -25% RAM) and this can make memory management a bit more complex.

You can try to disable (or increase) ZRAM using Kernel Adiutor (also other memory/swap tweaks).

IMO I prefer to totally disable ZRAM by I received contradictory feedback about using it or not. In theory ZRAM must increase RAM room for apps, but...

I can prepare an alternative kernel with ZRAM disabled and you choose after comparing.
[Shield Tablet Android Development] D-m-x:
Yeah, RAM Management isn't very good on the Shield Tablet. Problem with disabling ZRAM seems to be that it defaults back to 512MB after a Reboot or some time, don't know why but ive seen it on Kernel Adiutor and EX Kernel Manager.

If you do prepare a ZRAM Off Kernel maybe K10-010 would be a good base, this one is rock solid (normal Build, not Linaro)?
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K11-005 (ZRAM disabled)

BitO-K11-005 available here.

*ZRAM support disabled (again).
[Shield Tablet Android Development] fpozar:
Wow, turning zram off really helped a lot!

I was going back and forth between a few not so small college scripts for 20ish minutes and to my surprise when I opened Google Chrome both of my tabs were still there and didn't have to be reloaded. Im guessing this and a few tweaks to swappiness might finally solve or at least make multi tasking somewhat enjoyable.

Good job yet again. I will make sure to try K11-005 as soon as I clean flash the newest AEX build.
[Shield Tablet Android Development] alcopsy:
Yes, disable zram is good ! App not reloaded, cool :)
[Shield Tablet Android Development] Sjamaan:
Yep, no ZRAM seems to make a difference. I'm not totally sure if it is real or placebo yet, but so far feels a lot better.

Thanks bito.

Enviado desde mi SHIELD Tablet mediante Tapatalk
[Shield Tablet Android Development] tikizondo94:
The no zram kernel has made a BIG change in my shield. Apps load so much smoother now. AWESOME! Much appreciated:)
[Shield Tablet Android Development] bluegizmo83:
Yup I have to agree, so far the disabled zram seems to have made a noticeable improvement. I truely don't understand the whole zram thing, because I thought having more zram would be better, but it seems the opposite is true.
[Shield Tablet Android Development] moliverac8:
I can finally have Spotify and Chrome at the same time running!

Enviado desde mi Mi A1 mediante Tapatalk
[Shield Tablet Android Development] D-m-x:
Actually I thought the same until today. Waiting for the new OTA from today to arrive to install the No ZRAM Version.
[Shield Tablet Android Development] alcopsy:
New ota today ? From nvidia ?
[Shield Tablet Android Development] D-m-x:
Yes, 5.3 is rolling out. But I have yet to see the OTA appear on my Device, will check in the evening after work

https://shield.nvidia.com/support/shield-tablet/release-notes
[Shield Tablet Android Development] alcopsy:
Thank you, but im on RR build ;) and no zram is very very good for this device !
[Shield Tablet Android Development] filjusz:
Im impressed how good shield perform with z-ram disabled
[Shield Tablet Android Development] Both Barrelz:
Yeah. New update but nothing special. Its really just a security update with some minor fixes for bugs on peripheral connection. Probably going to bring way more problems than it fixes and provably the last update to expect for this now 3 year old device.

All this good reading about disabling zram. Is it really as good as people say? Any negative feedback?
[Shield Tablet Android Development] D-m-x:
It is the last Update, Nvidia said that. Fixing Bugs and Vulnerabilities should be their main concern for a final release. I doubt it adds a lot of problems.

Gesendet von meinem SHIELD Tablet K1 mit Tapatalk
[Shield Tablet Android Development] alcopsy:
thx for reply :) yes disable zram is very very very good, really more smoother.
[Shield Tablet Android Development] robgee789:
Hey guys I've got a K1 running rooted stock with twrp which is right kernel for me to flash?
[Shield Tablet Android Development] Both Barrelz:
I run the K-10. Some people think the K9 is the most stable. The K11 is the latest. The choice is yours.
[Shield Tablet Android Development] robgee789:
Thanks mate give it a go once the next update comes through
[Shield Tablet Android Development] DFA1:
Where is the K11 download? I'm also on the original shield tablet with stylus insert. Will this work on mine?
[Shield Tablet Android Development] alcopsy:
no problem with K11 https://xdaforums.com/showpost.php?p=74659661&postcount=2033

no random reboot or app reload :)
[Shield Tablet Android Development] DFA1:
Can I flashfire this? And if I update a new rom, do I flash this kernal after I install the new rom? Thanks in advance.
[Shield Tablet Android Development] alcopsy:
I'm on resurrection remix build, i don't know if work in original room.
[Shield Tablet Android Development] Baldyshugga:
For the latest OTA update 5.3 check this thread. Last post. That's the captured OTA zip from my K1.

https://xdaforums.com/shield-tablet/general/stock-recovery-images-ota-library-guides-t2988881/page59

Also I've asked before, but not answered, is Cifs support ppossible with this kernel?
[Shield Tablet Android Development] BitOBSessiOn:
Yes, you can reinstall after flashing a new rom.
[Shield Tablet Android Development] robgee789:
I just flashed this and now it says my SD card is missing and I can't even see it twrp, I was using the sd card as adoptable storage, I've tried rebooting but it doesn't make any difference
[Shield Tablet Android Development] alcopsy:
I've tested this kernel with 128Go SD card with no problem, i don't know what happened with your...
[Shield Tablet Android Development] Both Barrelz:
This happens with adoptable storage. I have read it many times. You need to look up what to do/ research your issue. Sorry I can't be of more help but I don't use adoptable storage and never have since it is plagued with issues.

Try reformatting with a PC.
[Shield Tablet Android Development] robgee789:
Yeah I had to bite the bullet and just format it but it's all up and running now, phew
[Shield Tablet Android Development] hacktrix2006:
Happens to me on stock ROM wiping the caches and rebooting twice solves the issue
[Shield Tablet Android Development] D-m-x:
I just let it sit for about 5 minutes, it recognize the car eventually

Gesendet von meinem SHIELD Tablet K1 mit Tapatalk
[Shield Tablet Android Development] Baldyshugga:
If I want to go back, where can I get the stock kernel?
[Shield Tablet Android Development] fpozar:
I believe you just have to dirty flash your ROM again
[Shield Tablet Android Development] D-m-x:
Depends on your Rom. Stock Nvidia Factory Images are downloadable on their Website. Just extract Boot.img and flash it via Bootloader.

Also, ZRAM Disabled is like a whole new experience, it definitely makes a difference!
[Shield Tablet Android Development] skooter32:
Hey guys a was just wondering if any of these kernel's have quick charge or fast charge anyone or Bit0 the kernel king.

Cheers
[Shield Tablet Android Development] bluegizmo83:
If I recall correctly, it's hit or miss. The batt file included with the kernel downloads may or may not help. Bit0 can answer better than I can, but I seem to recall him saying that after Nvidia removed quick charge from the stock system (it was never suppose to be officially supported I guess), that adding it back became too difficult, I believe it was because something different had to be added to the charging files for each and every different brand of fast/quick charger and without having a supply of different brand chargers on hand it's difficult to implement and test. The batt file didn't help with my Tenergy model 59046 QC 2.0 charger (which used to fast charger my shield tablet before Nvidia made the change).
[Shield Tablet Android Development] filjusz:
In my honest opinion shield have quick charge, at least my one because charging from 0% to 100% takes about two hours and this is good result. Battery is big so definitely quick charge works
[Shield Tablet Android Development] bluegizmo83:
Yeah it may be that your brand of quick charger is working. Not all do though. The one I have the Tenergy, doesn't quick charge anymore though. It has a blue/green LED light on the charger that turns green when it's outputting QC 2.0 charging rates, and turns blue when it's just normal charging rates. It used to turn green and fast charge, but doesn't anymore. Doesn't really bother me though because I don't use my tablet a whole lot.
[Shield Tablet Android Development] skooter32:
Oh ok cool where is Bit0?
[Shield Tablet Android Development] BitOBSessiOn:
BitO is about to begin to play with his new Shield TV PRO...
[Shield Tablet Android Development] xanthrax:
You know spamming with different stuffs on someone's thread isn't nice, do you?

Ohh.. It's you thread sorry [emoji16] Ha-ha! [emoji23] keep it up mate! Nvidia TV box is great though I have the older version [emoji58]
[Shield Tablet Android Development] BitOBSessiOn:
I had pending talk to you about ... [emoji6][emoji106]
[Shield Tablet Android Development] skooter32:
Nice but does that mean not working on the tablet anymore??
[Shield Tablet Android Development] BitOBSessiOn:
Not necessarily, I still own both devices and they share many lines of code... ;)
[Shield Tablet Android Development] skooter32:
Cool!
[Shield Tablet Android Development] Baldyshugga:
Is the zram disable in kernel by default?
[Shield Tablet Android Development] BitOBSessiOn:
It's totally disabled by default, so no way to get ZRAM running.
[Shield Tablet Android Development] Both Barrelz:
Gonna have to disagree with the recent hype. Disabling zram seemed snappy at first but then after a few days, I have been plagued with lag when scrolling and even typing. A reboot seems to sort it but then it keeps lagging. Couldn't bare it any longer and have reverted back to my safe place. So comfortable again, don't really care if chrome tabs reload. ;)
[Shield Tablet Android Development] Baldyshugga:
I've asked this before but never got an answer, is cifs possible with this kernel? I wanna set up a samba drive to use with apps like emulators.
[Shield Tablet Android Development] D-m-x:
Anyone in here who can try a Search via Google App of something with Videos (like a game or musician etc.). Searching via the Google App the results are unbearable laggy until I scroll past the Video Results which are the first to show. Just curious because either it came with a Kernel Update or the 5.3 Update (did both last week).

Gesendet von meinem SHIELD Tablet K1 mit Tapatalk
[Shield Tablet Android Development] drewski_1:
Interesting. It's laggy on my Pixel C too through the video section.

Stock 8.1
[Shield Tablet Android Development] D-m-x:
That really is interesting, so it's not isolated to the Shield Tablet, I thought that at first because my Nexus 5 and 6P have no problems. Thanks for checking :highfive:

Maybe a Google App Bug then on larger Displays or something like that.
[Shield Tablet Android Development] drewski_1:
Use error. Mods, delete
[Shield Tablet Android Development] marvi0:
Guys am on the shield k tablet and have stock 5.3 installed and bito kernel 11. However charging speed is ridiculously slow. Am hoping to go back to stock kernel does anyone have any files I could flash. I also don't have access to my laptop at the moment but am rooted and have a twrp installed thanks.
[Shield Tablet Android Development] Sjamaan:
Dude, you should make backup of affected partitions before making any flash. That's flashing 101.

Anyway, you can flash a boot image file from any stock zip rom file as a image in TWRP.

Enviado desde mi SHIELD Tablet mediante Tapatalk
[Shield Tablet Android Development] marvi0:
Thanks which one should I flash please any links? I just want to have a stock kernel.
[Shield Tablet Android Development] Sjamaan:
In General section, at Stock Recovery Images and OTA Library w/ Guides thread, look for the full OTA of your rom version.

Download, extract and inside you will see a boot.img. That's it.

Enviado desde mi SHIELD Tablet mediante Tapatalk
[Shield Tablet Android Development] multiwirth:
Can someone test if hotplug works?

I´m running lates LineageOS nightly and the cpu hotplug is broken.

I already tried this kernel and kernels from other roms but nothing changes.

All 4 cores are forced to be online, even if I try to disable them with kernel adiutor.

I have to disable CPUQuiet (hotplug) to set cores to offline.
[Shield Tablet Android Development] BitOBSessiOn:
You don't have any kind of "intelliplug"... It "works" exactly as you say.
[Shield Tablet Android Development] multiwirth:
Are you sure?

I'm pretty sure I had this feature well working in an older lineageos build and now it has gone away.

Also CPUQuiet is described to turn on/off cores if not needed in order to save power.

That's what hotplug does on every device except those big.little cpus from qualcomm or the exynos versions of samsung.

By the way even an old galaxy s3 has an hotplug like this with a custom governor called zzmoove.

So why should the shield tablet not have this feature to save power?