yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] BitOBSessiOn:
Time ago faced the issue.. I'm not sure if the feature got borked after any update by Nvidia (they are real specialist for it...) or if it has to do with a governor issue (Nvidia implemented it's own power daemon in stock rom).

I wanted to revise this, but no time, sorry.
[Shield Tablet Android Development] Baldyshugga:
Still waiting for a reply from anyone about Cifs integration.
[Shield Tablet Android Development] yreham:
Can I still use this kernel on the shield
[Shield Tablet Android Development] MCterra10:
Technically yes, but now that Oreo roms are being released I would not recommend It at all.
[Shield Tablet Android Development] Steel01:
There are kernel updates needed for O to boot period. Since this hasn't been updated with those (yet?), you will not be able to use it on O releases. It'll still work as intended on current N releases, however.
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K12-001

Available here.

Info:

Latest NVIDIA source code base (rel-24-uda-r2)

Latest Linux 3.10.108 source code merged (upstreamed)

Latest F2FS source code backported from Linux 4.10

Usual K-tweaks

Built using Linaro 4.9 TC

*Tested with latest stock OTA 5.4 (CPUQuiet working)
[Shield Tablet Android Development] n0credit:
Did nVidia ever release sources for the 5.4 update?
[Shield Tablet Android Development] D-m-x:
Working good here. I'm on 5.2 from Nvidia and haven't seen any Problems for the past day.

Gesendet von meinem SHIELD Tablet K1 mit Tapatalk
[Shield Tablet Android Development] darth_antz:
using your new k12 kernel. thanks so much for the long-awaited update to the kernel.

Buttery smooth with the latest RR. Ive followed fpozar's breathing new life into the tablet guide and havent had any reboots or any issues.

Thank you for your contributions
[Shield Tablet Android Development] supertory:
lastest RR as in version 6.0 Oreo??
[Shield Tablet Android Development] darth_antz:
no official RR14.1. I'll wait for fpozar's guide update for oreo, and when a stable official release comes out. im happy with the current official release
[Shield Tablet Android Development] Legitsu:
is flashing dtb still recommended ? I see the last dtb build is very old tablet is charging/ampere is working but I am only getting 400 to 900mah

also I can't seem to find a updated KX10 build
[Shield Tablet Android Development] nathan-96:
No they did not
[Shield Tablet Android Development] Legitsu:
flashed the last kx variant along with its dtb

did get some improvement

can anybody point me to the source for it so I can play with the values my self

it still acts like its throttling i tested it with my anker 5 amp charger it ranges from 900mah to 1800mah but it dips as low as 90mah-300mah :crying:
[Shield Tablet Android Development] dawidek1258:
Hello

Is this kernel will work with stock rooted 5.4 update??
[Shield Tablet Android Development] D-m-x:
Yes

Gesendet von meinem Pixel 2 XL mit Tapatalk
[Shield Tablet Android Development] yreham:
Flashed the new kernel but the tablet freezes when on you tube "vanced"

Which version is the most battery friendly thank you
[Shield Tablet Android Development] D-m-x:
No Problem with Vanced here just fyi.
[Shield Tablet Android Development] hacktrix2006:
EDIT: Sorted, needed to flash the DTB by the looks of it. Stupid me.
[Shield Tablet Android Development] ogremalfeitor:
Hello.

First of all, thanks for your hard work.

Recently I tried K12, that worked fine for a few days, then out of the blue the tablet just started freezing. First it happened when running some streaming apps (like the portuguese Meo GO), and after that it started freezing right after unlocking the screen after a reboot. I then tried to flash KX10 (stable version) but the same problems persisted. I ended up reflashing stock (plus) firmware to remove BitO-K12, and got no more freezes since then

Meanwhile I've decided to do a full wipe (all partitions) and reinstall (battery was draining uglily). I've done it, still running stock plus firmware, and I have all set up and working. I would like to try BitO kernel again (since I found the system so much smoother with it), but now I'm not sure if I missed something about the dtb partition on my first try, because I can't find the dtb for download on the same location as the K12-001 version. Which one is the suitable dtb for that version? The one near BitO-K11-005 downloads?

Thanks in advance.
[Shield Tablet Android Development] moliverac8:
Is it possible to control the headphones output gain? I've been able to do so on several kernels in my phones using kernel auditor but I can't find the option using this kernel. Thanks

Enviado desde mi Mi A1 mediante Tapatalk
[Shield Tablet Android Development] yreham:
Did you flash dtb?
[Shield Tablet Android Development] ogremalfeitor:
I did, but it was for version k10 so I probably messed up.

What is the proper dtb for k12? There's no dtb in the folder where k12 is...
[Shield Tablet Android Development] alcopsy:
ZRAM is disable in this build? I hope thanks for job
[Shield Tablet Android Development] alcopsy:
Hummm i think zram is enable... Remerber this pls > https://xdaforums.com/shield-tablet/development/tweaked-kernel-nvidia-shield-tablet-t3069776/page204

I've same issue like zram enable..
[Shield Tablet Android Development] Sumea:
So just to clarify few things as I am very excited about prospects to usability these kernels could have, but need to make sure that there isn't incompatibilities or anything such before flashing.

I am using older shield tablet non-lte 16gigs internal memory, one with pen, one that should be recalled. I want to make sure these kernels are compatible with that model, on almost-stock setup, custom recovery, removed the killswitch stuff - from roms and blobs provided by that thread with flashable zips of official roms for shield tablets.

Are the different K number variants just feature differences? Are they compatible with all shield tablet revisions? And do I need also the blobs or whatever from the OP message as well, on almost stock 7.0.1 ROM?
[Shield Tablet Android Development] aarjey2014:
My Shield K1 Tablet bricked, please help

I have Shield K1 Tablet. When I flashed BitO-KU kernel and rebooted, everything was working fine. But after installing dtb and blob file my tablet is not booting since then. I've flashed firmware images for my K1 tablet from official nvidia site, which I've successfully flashed many times before as well, but this time it stuck on boot logo. I'm also unable to boot into recovery mode. Flashed various versions of TWRP from official website. Still not working.

Please help guys.
[Shield Tablet Android Development] alcopsy:
Hummmm flash blob after rom installed isn't recomended i think... Dtd isn't necesary... So why dont just install rom?!

Try force power off, mantain power botom long time, very long, then start with volume down+power, format data/cache and system, flash correctly firmware, restart recovery, flash rom erease dalvik cache and reboot, 1st boot may take long time...
[Shield Tablet Android Development] Disrupthor:
Sorry for just asking but can lastest version work on Marshmallow? If not which will? Thank you.
[Shield Tablet Android Development] alcopsy:
Omg, why use marshmallow ?!
[Shield Tablet Android Development] Disrupthor:
Because thats the base here at home. So the answer to my previous question is?
[Shield Tablet Android Development] alcopsy:
Me at home i never update m'y Windows because is the base here.... I use Windows 2000 and what is update, it useless, why update! Obselete option.. please all never update !!! It's useless!!! Bad answer=Bad answer...
[Shield Tablet Android Development] gumbyx84:
Do all three versions of the kernel work on all Shield tablets? Are any of them compatible with Resurrection Remix ROMs?
[Shield Tablet Android Development] drewski_1:
Agreed. Your answer is bad.
[Shield Tablet Android Development] alcopsy:
Thanks :)
[Shield Tablet Android Development] manr1mg:
Bito-kx10-003 and 003b

Any difference? Or do I flash them both along with the dtb?
[Shield Tablet Android Development] MaxPowerOne:
I'm running lineage nougat version and this kernel. Performance is good, battery the same, which is the most stable overclocking kernel? Kx10?
[Shield Tablet Android Development] Norbzzz:
Hey there. Im using kernel K12 (Linaro).

I have a strange behavior when charging the tablet.

When charging from a wall charger, like my samsung one, an iPad one from my workplace, or any charger with 1A output or more, the battery tend to stop charging sometimes, like it might go from 22 to 25%, then stop.

If I plug it to a USB port on a computer (0.5A) it charges slowly but without any issues.

After a very long idle time (like 2 weeks, when deactivating WiFi), I sometimes cannot charge over 97 or 98%, but discharging the battery again resolves the issue so it's not that bad

Anyone has the same issues with charging and battery ?
[Shield Tablet Android Development] Ikarbb:
Try reflashing the "blob" file in fastboot mode. [Fastboot flash staging blob] Blob contains binary files required to get the hardware working properly.
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K12-002 available here.

- Minor update from latest official Nvidia code

- Built with standard Google TC 4.8

*Only flash DTB file inside zip if you need it (charging issues, etc...).

Feedback welcome. Thx.
[Shield Tablet Android Development] D-m-x:
Flashed it 2 hours ago. Running smooth on Optimized Stock Rom. Haven't had the chance to charge yet but I have seen no problems. I will edit this post in 2 days at the latest giving final results.

Thanks for the continued support :)

Gesendet von meinem SHIELD Tablet K1 mit Tapatalk
[Shield Tablet Android Development] alcopsy:
Thank you, i'll try now :)
[Shield Tablet Android Development] john_matrix:
Thank you!

Is your kernel support passing parameters?

As I am looking on how to pass the argument androidboot.orientation in order to rotate a cutomized bootanimation
[Shield Tablet Android Development] alcopsy:
Zram is diable ? If not, can you make it without zram? like KX10-003b.

Thks for job :)
[Shield Tablet Android Development] D-m-x:
Ok, tested the Kernel a few days. Never had a problem, no reboot, no charging problems etc. I think it's safe to say that it's stable :)

Thanks!

Gesendet von meinem SHIELD Tablet K1 mit Tapatalk
[Shield Tablet Android Development] alcopsy:
Same here, stable, no reload background app, no crash/freeze... Thanks for job! :)
[Shield Tablet Android Development] SandroMarciano:
I'm on kx10 latest version, but I tried also k12 and stock kernel. All have some touch boost: when I put my finger in the screen min frequency jump to 1224mhz. I've tried tuning governor but is something with higher priority.

For the ageing of my battery atm it is a problem.

Does someone has an suggestion to disable it?

Thanks

Sandro
[Shield Tablet Android Development] thelangosta:
Do we still need the f2fs injector with the latest TWRP?
[Shield Tablet Android Development] EchoWB:
Hi, 3 days ago i've rooted, installed TWRP and flashed K12-002 + DTB on my Shield Tablet. Battery indicator shows that charge never go beyond 98% and every night the tablet turns on by itself after some hours that i've turned it off. It doesn't happen during the day, only by night. What can i do? Did i do something wrong? Thanks

EDIT: after a full discharge and recharge, percentage turned back to 100%. i don't think that a discharge solved the other problem though.

EDIT 2: The tablet with K12-002 freezes while gaming, i had to hard shutdown it. I'm installing now KX10-003b + DTB

EDIT 3: With KX10-003b + DTB the tablet works flawlessly, the recharge got stuck again at 98% but i suspect it's just the battery ageing
[Shield Tablet Android Development] Jz5678910:
Anyone know how to undervolt this thing? Worked wonders on my Nexus 9, figured I'd try it on this too.
[Shield Tablet Android Development] dizgustipated:
Dear OP

Congratulations on the new device! Appreciate your work.

Now that it's here, any chance of convincing you to implement a double tap to wake feature?
[Shield Tablet Android Development] Afanasii:
Tablet Shield ext usb wifi dongle Intel 3160 (iwlwifi)

Hi,

I've been trying to get Intel 3160 to work for several weeks as an external wifi dongle. I already reassembled 100 cores, But I just can’t force iwlwifi to determine my device and create an interface in "ifconfig" like wlan1 or some.

Please help me to get my target.

P.S. Intel Dual Bend Wireless-AC 3160

Model:3160HMW

Attached by OTG cable trough USB->miniPCI

Kernel 3.10.40

Target: have wifi interface with Monitor mode

image https://ibb.co/Chy0K5x"]https://ibb.co/Chy0K5x

image https://ibb.co/PhWxvhr"]https://ibb.co/PhWxvhr

------------ dmesg | grep Intel ----------------

[ 12.678207] Intel(R) Wireless WiFi driver for Linux, in-tree:d

[ 12.678210] Copyright(c) 2003-2013 Intel Corporation

------------- lsusb ------------------------------

Bus 001 Device 002: ID 8087:07dc Intel Corp.

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

------------- lsmod -----------------------------

Module Size Used by

iwlmvm 106254 0

iwlwifi 132865 1 iwlmvm

mac80211 349920 1 iwlmvm

bcmdhd 523896 0

cfg80211 319095 4 iwlwifi,mac80211,bcmdhd,iwlmvm
[Shield Tablet Android Development] fukowski:
Lineage OS 15.1

Hi there, anyone using lineageOS 15.1 and any of these kernels?

If so, which one and what is needed (dtb, blobs)

Thanks
[Shield Tablet Android Development] BitOBSessiOn:
No more support to this device, sorry. Long ago not used by me.

Enviado desde mi ONEPLUS A5010 mediante Tapatalk
[Shield Tablet Android Development] dizgustipated:
I know the troubles supporting a device you don't have any more. I appreciate your efforts, as I love this device more than my others.

If you could kindly tell me which branch on your github is the most current K1 with cpu/gpu oc AND which defconfig file to use to build with, I'd like to try and add it.

Is it branch "BitO-kx10" and the defconfig "lineageos_shieldtablet_defconfig"?

apparently it's not possible to add this feature without major rewrite according to twistedumbrella and SuperPichu. Too bad, it's a feature sorely needed.

Guess I'll just be adding some stuff for personal use/play.

Thanks again for your kernel.

& your proper git repo. It was a pleasure to not have to fix a bunch of stuff to get it to build and boot properly.

EDIT: Curious about the other branches and which defconfig to use. Guessing its omni tab one.

Much thanks again!
[Shield Tablet Android Development] Stickman89:
Why is it that 'BitO-KU-002-shieldtablet.zip' doesn't follow the normal naming convention? Is it the latest Nvidia source code with Linux upstream changes? Or is 'BitO-KU-uda-r1.4-v3.10.108-shieldtablet.zip' the latest?

Sorry to ask, they've all got the same date stamp at androidfilehost.

If 'BitO-KU-002-shieldtablet.zip' and 'BitO-KU-uda-r1.4-v3.10.108-shieldtablet.zip' are somehow different, and it isn't that one is built from newer sources, what is the difference?

Edit: I've just applied 'BitO-KU-uda-r1.4-v3.10.108-shieldtablet.zip' (until someone can get back to me regarding the above) against Nvidia's stock 5.4 firmware and the kernel apparently altered my 360 controller mapping.

The 360 controller 'Guide' (Central ORB) button used to act as the home button prior to the kernel update. I was using Nvidia's 5.4 stock kernel. Now it does nothing, and I can't go home. Is there a solution for this issue before I revert back to stock kernel?

Edit edit: I've solved the controller issue myself. This kernel detected my wireless 360 controller as a different product id. Which is quite perculiar, but wasn't to problematic to fix. If there is anyone else with a similar issue with their 360 controller then just say so here... I'll provide a short write up on how to solve the problem.
[Shield Tablet Android Development] BitOBSessiOn:
Same sound issues with Viper Audio...?
[Shield Tablet Android Development] johnnystuff:
Been listening couple of hours of music and so far no sound bug since I installed V4A. Still on KL017, will try 020 tomorrow.
[Shield Tablet Android Development] Pariahnoble:
Yeah. I always always have viper audio installed. It helps it not happen as often.

I've been doing a ton of research the last few days, and found some interesting stuff about the cfq scheduler, by its nature when it's really loaded down it can introduce stutter in performance, ie jittery video and game play, the occasional "wtf is this thing doing?", you know, you'll be doing stuff just fine for ages then from one tap to the next it slows do to a crawl... Caused by congestion in the requests for cpu cycles and their ability to wait long enough at the io level for the requests to be handled by the cpu governor. Cfq makes them all wait with no priority level. Completely fair queue (cfq) were some tasks need a higher priority. I'm pretty positive that's where the audio screech comes from. io congestion, not being able to handle the simultaneous activity threads and kinda freaks out, causing audio artifacting, and the stutter in videos I noticed. Cfq also schedules more leaning towards movable media (hard drive platters) were the cpu has to wait for the data read write to sync, solid state and flash don't have access queuing, nothing is moving and has to be waited upon. It's the real reason I suggested adding row (read over write) scheduler, it was built for use on non moving media systems (SoC, SSD) and gives read requests for the cpu more priority than writes, it doesn't have to wait to write to hard drive and read in between. Cfq is better serving on an actual Linux pc, and actually can slow down intensive tasks, as it totally breaks tasking priority evenly across all tasks (but it expects at least in the range of 5 to 15)phine rarely have more than 3 at most intensive tasks at once. So it slows everything down to the same level.

Sorry that was a mouthful, just hope I understood what I've been studying right. It's a dream of mine to get into the programming level of Android. And I think at least some of us are all learning together here ;) I'd love to be able to help out but I don't even have a pc lol anyways cheers! Thanks for the hard work always (starting to realize how much!)
[Shield Tablet Android Development] jemail:
I am confused about the different kernel versions. From reading the thread I have been able to piece together the following:

All kernels are only for Lollipop. X versions are overclocked.

So what version of kernel should I use? I have RoW LTE tablet.

K <- what is this version for?

KL <- what is this version for?

KX <- overclocked version for?

KLX <- overclocked version for?

Maybe the OP could be updated to show explicitly what these versions are and where they should be used?
[Shield Tablet Android Development] BitOBSessiOn:
First of all, thnx for you research. I think ideal scenary would be we can use F2FS (modern FS for solid state memory) instead EXT4 (FS for classic OS with mechanic HD). My objective with this kernel is optimize multitasking, because we have 4 cores fast enough to run any IO planner. CFQ introduces a little overhead but it wouldn't be as important as for collapse this kind of CPU. I think, nvidia sound driver is poorly implemented (like other nvidia services...) and this is the root of the problem. If you change sound driver or if we use another IO planner this can help, but the real solution is other. Perhaps audio apps which use little buffers have more problems than ones that use larger memory buffers.

Anyway, what you say is very interesting, ¿have you tried NOOP IO Planner..? This is default one, and it's very light (most of all), perhaps, only worse in practice than ROW, because this is implemented to priorize reads in favor of UI responsiveness.

I have some tests with F2FS, but having problems for final kernel, and we need to reformat partitions... I've seen StarKissed repo to get ROW but we need to wait a while till we can enjoy it... if it works... ;) Still working...

Thnx again!
[Shield Tablet Android Development] BitOBSessiOn:
Let's simplify... Choose KL for normal use.. KLX if you want OC. Then you need wx_un_do version for LTE Row if you are on Stock ROM (OTA 2.2.1) or use wx_na_do if you use CM 12.1..

K and KX versions are old... probably they won't be updated... so I might delete them now than *L* version work fine...
[Shield Tablet Android Development] jarpo:
Would you explain what this means for the rest of the mortal people?:silly:
[Shield Tablet Android Development] BitOBSessiOn:
[MENTION=5558549]Pariahnoble[/MENTION] explained ROW IO Scheduler very well a few post before... ;)

In practice (what theory says...), less lag in user interface and games, for example... Perhaps less problems with sound in some apps... Let's see...
[Shield Tablet Android Development] BitOBSessiOn:
KLX-021 with some tweaks and ROW IO Scheduler enabled

KLX-021 with ROW set as default available to download.

No more CM 12.0 builds. If ROW works fine then, I'll think to merge into KL. In the other hand, if KLX is stable enough, KL could be abandoned... (or less updated). KLX can be configured easily as KL limiting max clock frequency...

I'm thinking about... One thing seems to be clear... K and KX are obsolete.

Thnx for testing, feedback welcome.
[Shield Tablet Android Development] jarpo:
I get infinite CM boot logo, anyone else?

I'm runing the BitO-KLX-018-cm-12.1-20150504-UNOFFICIAL-wx_na_wf rom as secundary with multirom; no problems with kl20
[Shield Tablet Android Development] feelpt:
Same here... Had to go back to previous release
[Shield Tablet Android Development] rubene66:
Me to stuck in boot wifi cm12.1
[Shield Tablet Android Development] BitOBSessiOn:
KL-021 uploaded... Could you test if same problem, please... ?
[Shield Tablet Android Development] johnnystuff:
Had a little issue with KL-021 na_wf. Basically it stucks on the CM droid logo, rebooted twice, always stuck. I left it there for more than 5 minutes, then I forced reboot into recovery, flashed KL-020, all worked out perfectly. The only different thing I did was wiping cache and dalvik after flashing KL-021, but that should be just right I guess.

Btw, it would be good if beneath the bootup logo there was a verbose output saying what's happening on the background, just in cases like these.

As for kernels in general, if I can throw my 2 cents: I undrstand that K and KX are obsolete, but I'm not really a fan of overclocking on a tablet, even if on a "gaming tablet". I mean: I'm happy that you are offering that option but I'd be even happier if you keep on releasing not overclovked ones too :)

Even more on the "conservative" side of things, I'd really like to have kernels aiming to save battery life. From my experience in the past some undervolting feature could help bigtime. So: what about a KL, KX and KU (as in Undervolt) branches in the feature? :D
[Shield Tablet Android Development] jarpo:
KL21 doesn't works neither, stuck in boot logo
[Shield Tablet Android Development] BitOBSessiOn:
I've just uploaded a new compilation for KLX-021 for WIFI:

BitO-KLX-021b-CM12.1-wx_na_wf.zip

Can anyone test it please ? Any problem with KL-021 versions... ? Thnx

I'm compiling also again KLX-021 for LTE...
[Shield Tablet Android Development] BitOBSessiOn:
Initial KL/KLX-021 CM 12.1 builds in quarantine... until bug catched.

KLX-021b pending to test....
[Shield Tablet Android Development] jarpo:
5+ mins stuck in boot logo... i guess 21B should be in cuarentine too :(
[Shield Tablet Android Development] BitOBSessiOn:
Ok... I have a theory... I've build them from latest CM 12.1 sources... so probably latest CM 12.1 system is necesary for correct booting...

Which CM 12.1 version do you have...? I will try with a complete CM build... until now, it's better to forget CM 12.1 version... Sorry.

Stock seems to work, at least both KL and KLX LTE versions...
[Shield Tablet Android Development] jarpo:
Don't worry, kl20 works really smooth anyway ;)

My CM version is 12.1-20150502-UNOFFICIAL-wx_na_wf

I'll give a try to the stock version, i want to see how good has been your work!
[Shield Tablet Android Development] BitOBSessiOn:
Really... I think stock works as well that I don't miss CM.... ;)