yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] BitOBSessiOn:
I can't track your petition, sorry... I'm afraid you should dive in thread history but with no guarantees... My memory is too weak...
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K10-005

Available for downloading here.

Notes

Linux code updated to 3.10.106

F2FS code updated to latest stable backport from 4.x
[Shield Tablet Android Development] D-m-x:
Awesome, thanks

Gesendet von meinem Nexus 6P mit Tapatalk
[Shield Tablet Android Development] Techie Android:
I have a Shield K1 running AICP N 7.1.2. Which kernel will give me the best speed? I don't care about anything else.
[Shield Tablet Android Development] aditya2603d:
Do we still need to flash f2fsinjector for proper f2fs support or with this Kernel version, it's not need.

PS - I am using your TWRP with f2fs support, will be flashing K10-005, and Tesla-N ROM
[Shield Tablet Android Development] undrwater:
Apologies if this is unrelated:

Is Wi-Fi-Direct a kernel option thing? I have to turn my tablet off when I'm done using it because of Wi-Fi interference.

Wondering if it's possible to create a switch to turn it on / off.

Thanks!
[Shield Tablet Android Development] Techie Android:
[MENTION=6411851]BitOBSessiOn[/MENTION]

I have a Shield K1 running AICP N 7.1.2.

Your OP is confusing to me because you have 2 different kernels the K10 and the KX10. So what's up with that? One is updated in April and the other was updated in June. I'm guessing since the KX10 was intended to be a copy of the K10 but with OC, but since it hasn't been updated it is no longer receiving support, am I correct? When you said "Other optimizacions(spelled optimizations): (list)" which kernel are you referring to that this is supposed to apply to, the K10 or KX10 because it's directly after you mention the KX10? I'm just trying to find a good kernel for my Shield K1 but if I can't get a response here I guess that's a clear sign to move on and that this project is dead.
[Shield Tablet Android Development] BitOBSessiOn:
I don't know which fstab aicp uses, so it doesn't hurt if you flash f2fs injector... If you can be sure aicp properly supports f2fs then you don't need it.
[Shield Tablet Android Development] BitOBSessiOn:
My suggestion is always to use latest K10 (K series in general), it has all optimizations (thx for correction ;) ) except OC.
[Shield Tablet Android Development] Techie Android:
Oh okay thanks. I hope I didn't come off insulting, I was just hoping for a answer. I appreciate the help. :)
[Shield Tablet Android Development] BitOBSessiOn:
Sure, np. It's all good ?
[Shield Tablet Android Development] Driftbum:
Can't find TWRP folder with adaptable storage since last update
[Shield Tablet Android Development] D-m-x:
Nothing to do with the Kernel, flash the modified TWRP from Multirom Topic, I had the same Problem.
[Shield Tablet Android Development] bigtastie:
Can I flash this kernel om my original Shield (the non-K1 version)? Device model: wx_na_wf
[Shield Tablet Android Development] LiamAtkins90:
Yessir
[Shield Tablet Android Development] TotallyAnxious:
Would you consider adding the verified boot state safety net commits? I'd be happy to get the links.
[Shield Tablet Android Development] BitOBSessiOn:
Send me a Pm, please. Thx!
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K10-006 (SafetyNet bypass)

Available for testing here.

Added SafetyNet bypass. Succesfully checked on Stock OTA 5.2.

*Thx to [MENTION=5377398]TotallyAnxious[/MENTION] for suggesting, pointing necessary code and testing.
[Shield Tablet Android Development] Rhadamanthis:
i have random sporadic fc when play evilbane:(
[Shield Tablet Android Development] BitOBSessiOn:
No FCs with previous version...? Thx
[Shield Tablet Android Development] Rhadamanthis:
Some down, bit tour kernel is crazy Best for k1. I think is a game bugged, but i investigate in this day

Inviato dal mio HTC U11 utilizzando Tapatalk
[Shield Tablet Android Development] BitOBSessiOn:
Nice, thx for feedback.
[Shield Tablet Android Development] bluegizmo83:
Hi, I just today updated my Shield Tablet (non K1) from Android 5.1.1 (Lollipop) to Android 7.0 (Nougut).

Before the update my Tenergy Model 59046 QC 2.0 charger would charge the tablet at QC 2.0 levels (verified because this model charger has a blue/green led that lights blue for standard charge and green for QC 2.0 speeds).

After first updating to 7.0 I tested the charger and only got the blue led (standard charge). Then I flashed your kernel (BitO-KX10-002-shieldtablet.zip) and tested again, only standard charge still. Then I fastboot flashed the DTB file from that same kernel download page ( tegra124-tn8-p1761-1270-a04-e-battery.dtb), still just a standard blue led charge.

I know this isn't specifically an issue with your kernel, because it did this as soon as I flashed Android 7.0, before I ever even flashed your kernel, but I thought i'd mention it here because of your work with the DTB files fixing some QC 2.0 chargers. If there is anything I can do to help you test and/or implement a fix for this Tenergy Model 59046 QC 2.0 charger I own, I'd be happy to help
[Shield Tablet Android Development] BitOBSessiOn:
I abandoned QC modding in DTB because security reasons (pyro-issues...). Furthermore, I'm not sure if Nvidia moved code from DTB/Kernel into blobs so modding atm can be more difficult to reach.

If I have time I can try to take a look, but I can't guarantee success.
[Shield Tablet Android Development] bluegizmo83:
Oh ok, no worries man. My tablet isn't something I use very regularly anyway, so I can deal with slower charging. Thanks though!
[Shield Tablet Android Development] djibril13:
So isn't necessary to flash dtb zip file ?
[Shield Tablet Android Development] BitOBSessiOn:
No strictly.
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K10-008

Available for downloading here.

Log:

Updated to latest Nvidia code.

Added kernel support for communication with the Trusted LK secure OS monitor/runtime (TLK enabled).

*I can't test this kernel as much as I would like, so feedback is always welcome. Thx.
[Shield Tablet Android Development] rejectedjs:
Works fine for me, device seems pretty snappy, just got back into using my shield tablet after about a year of not turning it on :)
[Shield Tablet Android Development] undrwater:
I'm bumping my question below, and I'll add; anyone who has run a custom ROM, is Wi-Fi direct still present? If so, does it have a switch?
[Shield Tablet Android Development] BitOBSessiOn:
I can't help here, sorry.
[Shield Tablet Android Development] Norbzzz:
updated from K10 - 03 to K10 - 06, and now I cant charge over 98% after a full discharge.

Didn't flash DTB.

Im flashing 08 now, wiped dalvik and cache, ill keep you up to date
[Shield Tablet Android Development] D-m-x:
Im seeing that too, altough for me it is 99%. Disconnecting and connecting the Charger again and it charges to 100%.

Also I'm seeing spontanious Soft Reboots, I can't really remember when it started, I believe with 06 however.

I tried to find the relevant Log but I don't know for sure, I'm attaching it either way :)
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K10-009

Can you test BitO-K10-009, please ?

https://www.androidfilehost.com/?w=files&flid=209457

SafetyNet bypass reverted....

Thx !
[Shield Tablet Android Development] D-m-x:
No, thank you!

Will do, but I need a few Days to Test everyday use I think, but i will report back for sure :)
[Shield Tablet Android Development] BitOBSessiOn:
Nice.. it seems better by my (few) tests.
[Shield Tablet Android Development] Son-j:
Hi Bit-O. Is it possible for you to enable Miracast for this device via kernel? Even if I edit the build.prop it still won't work. I think it has something to do with the design of Nougat or a few more tweaks at the hardware level.
[Shield Tablet Android Development] D-m-x:
Ok, as promised a quick Feedback. I've been running the Tablet straight the last 115h without rebooting it, also heavy using (mostly Music, Browsing etc., no Gaming) an haven't seen a Single (Soft) Reboot. So either they are gone or they were during a time I didn't see it but i beliebe they are gone. 009 seems very stable and even better with the Performance :D
[Shield Tablet Android Development] BitOBSessiOn:
Have you tried the latest linaro6 version...? Same AFH folder...
[Shield Tablet Android Development] D-m-x:
Nope, not yet tried 009 for the Past Days to see if it is Stable, and it is :)

What exactly did you change in the Linaro Release, anything different?
[Shield Tablet Android Development] BitOBSessiOn:
Same functionality but built using latest Linaro 6.4.1 TC, instead standard google 4.8, this should mean more performance and battery friendly because newest TC optimizations for some archs like arm... in theory.

In arm64 I've noticed a great jump between using each TC, I wanted to see if here we also can get some gain.
[Shield Tablet Android Development] D-m-x:
Thanks for the explanation. Hopefully [emoji3]

I will flash it right away. Let's see in some Days :)

Gesendet von meinem SHIELD Tablet K1 mit Tapatalk
[Shield Tablet Android Development] Paolo ponzano:
with the linaro version i'm having a lot of RR when i don't use the tablet :c

is there a way to know why?
[Shield Tablet Android Development] LaGaipaG:
Same here. Fresh clean installed stock ROM and BitO-K10-009 Linaro version and a lot of reboots, even when I'm using the tablet. I'll try with the Google compiled version and I'll report the results. Anyway, thank you for your great work!
[Shield Tablet Android Development] D-m-x:
Yep, came here to post that too, 30 Minutes after installing I had the first. To be honest I was sceptical to even post because there are not many People here giving Feedback and I thought it could be something in combination with my Setup. But seeing that others have it too it seems it's the Linaro Version. For now I've reverted to 009, that ran for about 120h without Reboots. Testing that a bit more :)

Also unfortunately I haven't seen a single Log or indication as to why it Reboots previous dmesg is empty when the Tablet Rebooted and the Current dmesg is just logging the well current Stuff after the Reboot. Any way to get Logs to see why it's rebooting?
[Shield Tablet Android Development] BitOBSessiOn:
Ummmhhhh... Have you wiped cache and dalvik after flashing, right...?
[Shield Tablet Android Development] D-m-x:
Always do, most of the Times I even flash back the Stock Kernel first to clean up via Fastboot. Also [MENTION=7999642]LaGaipaG[/MENTION] seems to have it clean flashed completely (incl. Rom).

May I ask if you Guys with the RR also are using Adoptive Storage? I do, I'm not really sure but sometimes I have the feeling that adds some instability.
[Shield Tablet Android Development] hacktrix2006:
I also tested the linaro version, sluggish with a load of apps force closing that was on my adopted storage. So the RR could be a result of something on that path. Once my PC is backup and running will try the kernel again with logcat running full time on wireless mode.
[Shield Tablet Android Development] BitOBSessiOn:
UBERT 6.4 version uploaded...
[Shield Tablet Android Development] Kaneki:
What is better ubert or linaro?

PD: Thanks for your work!!

Enviado desde mi SHIELD Tablet mediante Tapatalk
[Shield Tablet Android Development] hacktrix2006:
Running ubert version now still slightly sluggish compared to your normal builds no FC or RR however a few freezes. Have cleared caches 3 times before and after flashing kernel.
[Shield Tablet Android Development] hacktrix2006:
One random reboot thus far whilst it was idle. Will keep monitoring

Edit: There has since been several random reboots all whilst idle not sure why so have restored my device back to stock via Nvidia's Images will test again.

[MENTION=6411851]BitOBSessiOn[/MENTION] Right i am currently testing your K10-009 Kernel

Logcat and Dmesg is showing

init: Starting service 'tlk_daemon'...
init:service 'tlk_daemon' pid (20454) exited with status 1,
init:service 'tlk_daemon' pid (20454) killing any children in process group

with Logcat also showing

E/TLK_Daemon Failed to open (increasing PID value) /dev/tlk_device

too.

After i have restored my main apps i need will work on flashing the other kernels as well.

Will keep you updated.
[Shield Tablet Android Development] primaleph:
Linaro version is working great for me so far with f2fs on Dirty Unicorns 11.7. Haven't noticed any issues.
[Shield Tablet Android Development] BitOBSessiOn:
With ubertc you usually get more battery at the cost of a bit less performance... maybe better in balance.
[Shield Tablet Android Development] LaGaipaG:
Yes, I'm using Adoptive Storage and also F2FS for data and cache. Anyway, after a manual reboot, it seems to work fine. I haven't noticed random reboots since more. I will keep you updated.
[Shield Tablet Android Development] Sjamaan:
Linaro version is also flying for me in latest Tesla with no adopted storage. No RR yet and feels slightly faster than normal toolchain version.

Enviado desde mi SHIELD Tablet mediante Tapatalk
[Shield Tablet Android Development] D-m-x:
From what i can see here it seems that Linaro has Problems on Stock Rom maybe? Custom Roms seem more Stable.

[MENTION=5009901]primaleph[/MENTION]: Little bit OT but how is DU on the Shield Tablet. Tried it a few Times but there was Stuff like no Video/Mic etc. Is that working now? Any Downsides on this Rom? Might switch at some Point if not.
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K10-010 (multiple editions)

Available for downloading and testing here.

Notes

ZRAM is back with LZ4 support (feedback welcome about using or not ZRAM... you can disable via Kernel Adiutor)

Optimizations for SSD only devices enabled (now it should work)

Minor kernel config revisions

Versions: Standard TC 4.8, LINARO TC 4.9, LINARO 6.4.1, ... (maybe UBER TC coming...)

SafetyNet bypass OFF (testing version with SafetyNet enabled... K10-011 ?? )

Feedback about performance, any FC, etc... welcome. If you get any FC, please, try to determine which governor were you using (interactive, ondemand, conservative, etc...). If you get FCs when idle, please, confirm if ONLY getting FCs when idle... etc... Thx !!
[Shield Tablet Android Development] primaleph:
Video issue seems to be solved. Haven't tried the microphone yet.
[Shield Tablet Android Development] THEHOLYG0D:
The zRAM, it works like a charm, zero lag, also apps stay in background longer.
[Shield Tablet Android Development] primaleph:
Do I need to reflash the f2fs injector after flashing one of these?
[Shield Tablet Android Development] BitOBSessiOn:
Which version are you using...? UBER / LINARO / standard... ? TIA
[Shield Tablet Android Development] BitOBSessiOn:
Not necessary.
[Shield Tablet Android Development] THEHOLYG0D:
Currently using this one BitO-K10-010-LINARO_6.4-shieldtablet :3

with Z-RAM size of 2048 MB
[Shield Tablet Android Development] hacktrix2006:
Will test the K10-010 branch as soon as my tablet is restored.
[Shield Tablet Android Development] hacktrix2006:
Ok i see you've now made K10-011 versions. guess i will testing them instead.

Edit: Currently running your latest K10-011 Linaro 4.9 build its smooth thus far without any random reboots as yet. Nice work OP

Edit there is errors showing in Logcat to do with tegra_memtrack failed to open /sys/kernel/debug/nvmap/handles_by_pid permission denied as well as BatteryStatsService no controller energy info supplied, or modem info is invaild.

Will keep an eye for random reboots though.
[Shield Tablet Android Development] BitOBSessiOn:
Debug info is restricted (unnecessary one disabled in kernel config to get a lighter kernel, Nvidia has enabled a lot info, maybe too much, by default), this can explain that part.

About battery stats... Can you send me the logcat, please? Thx for feedback.

K10-011 is 010 + SafetyNet bypass re-enabled (and revised, thx to [MENTION=5377398]TotallyAnxious[/MENTION]).
[Shield Tablet Android Development] primaleph:
Is there a clear benefit to Linaro 4.9 or 6.4 over the other one?
[Shield Tablet Android Development] BitOBSessiOn:
The newer TC (higher version), the more optimized code you get (more performance, battery... in theory), because particular arch optimizations, etc...
[Shield Tablet Android Development] hacktrix2006:
Did my logcats from stock kernel help??? Still running stock right now setting up tablet from scratch will do another logcat run if needed.
[Shield Tablet Android Development] BitOBSessiOn:
I would like to compare with pure stock status logs... Thx
[Shield Tablet Android Development] hacktrix2006:
Just woke up give me a few will then do a logcat run and send them to you.
[Shield Tablet Android Development] hacktrix2006:
[MENTION=6411851]BitOBSessiOn[/MENTION] Check your e-mail bud i have just sent you a big log cat from the Stock Kernel will do the same with Linario build when i flash it..
[Shield Tablet Android Development] BitOBSessiOn:
Same issues with stock kernel in stock ROM...
[Shield Tablet Android Development] coopmaster:
So can I flash this on the stock optimized Ron thats on 5.2 update?
[Shield Tablet Android Development] BitOBSessiOn:
Yes, you can (make backup first...)
[Shield Tablet Android Development] dzidexx:
Hi,

Has any version kCal support?

I'm after 5.2, now on Resurrection Remix 5.8.4.
[MENTION=6411851]BitOBSessiOn[/MENTION]
[Shield Tablet Android Development] Friedensfurz:
Where did u get RR? Thanks ;)
[Shield Tablet Android Development] dzidexx:
Here on XDA.

https://xdaforums.com/shield-tablet/development
[Shield Tablet Android Development] beitme:
random freezes

device: shield k1

rom: LineageOS (Official 2017/09/01)

kernel: K10-011-UBERTC_6.4

CPU governor: conservative

IO scheduler: noop

GPU frequencies both lowered to 0
[Shield Tablet Android Development] Bryanx86:
I have a tablet I can test things out on if you need any extra testers for your kernel. Pyro tab on stock 5.2, about to flash your latest kernel. Thank you for optimizing this old but still awesome tablet
[Shield Tablet Android Development] Eddy74:
Hello,

I have random boot with K10-011-UBERTC_6.4 on LOS 04/09.
[Shield Tablet Android Development] BitOBSessiOn:
Try with 4.9 version...
[Shield Tablet Android Development] D-m-x:
[MENTION=6411851]BitOBSessiOn[/MENTION]

Can you tell me what the Min Frequency for the Kernel is set to? I'm using 010 Standard with EX Kernel manager and it doesn't seem to use anything below 1224 Mhz. Is that right?

Gesendet von meinem Nexus 6P mit Tapatalk
[Shield Tablet Android Development] TotallyAnxious:
That's a ROM issue. Nvidia's stock input boost works by changing the minimum frequency to 1224. For like 2000 milliseconds. The ROM forces 204 MHz. You have to edit the ROM to modify the minimum frequency. It's also why hotplugging doesn't work.
[Shield Tablet Android Development] D-m-x:
Thanks, I didn't even notice (know) that until now. I suspect that's due to the Nvidia Power Manager. You wouldn't have any reading material guide on how to set up the stock Rom to behave normally?

Gesendet von meinem Nexus 6P mit Tapatalk
[Shield Tablet Android Development] TotallyAnxious:
Sadly there's no reading material. It was all trial and error. The reason ex manager doesn't read a normal minium freq is that the boost lasts longer than the refresh time for stats. So the minimum frequency is always on when it checks. You can modify the boost settings in something like /sys/module/cf_input_boost or input_cf_boost. And the setting should be self explanatory.

---------- Post added 14th September 2017 at 12:04 AM ---------- Previous post was 13th September 2017 at 11:58 PM ----------

Too elaborate, you have to modify the setting or system ui apks to achieve this (setting the minimum freq below 204 and fixing hotplugging). I don't recall which one does which. I haven't been using my k1 much.
[Shield Tablet Android Development] D-m-x:
So if I'm understanding that correctly, the Min Frequency in Ex kernel Manager/CPU is incorrectly detected because the Boost is longer than the Detection? Lowering the Boost setting would also automatically lower the Min Frequency since that's what Ex Kernel detects?

For that matter, Ex doesn't detect the Max Frequency either, just says 0.

Somehow with Kernel Adiutor the Frequency was stuck at 2218 all the time. A little strange that whole Topic imho.

Gesendet von meinem Nexus 6P mit Tapatalk
[Shield Tablet Android Development] TotallyAnxious:
There's only one device from Nvidia that uses the k1 chip. So devs haven't had a lot of chances to see how everything is laid out. The Nexus 9 likely is very different kernel wise to the k1. Not to mention Nvidia having way too many things affecting how the cpu works. But this is getting off topic. It happens on stock kernel too. Nvidia really hasn't been testing the updates.

The min frequency will change to whatever the boost settings is for the alotted time. Other boost methods have a boost freq. Nvidia's boosting just modifies the minimum freq. Which probably also confuses governor's and more. The non boosted min freq is locked at 204. You cannot go lower without modifying system apks.
[Shield Tablet Android Development] BitOBSessiOn:
has anyone tried to disable nvidia binaries for power control.... ?
[Shield Tablet Android Development] TotallyAnxious:
I wouldn't know how to do that. I've had trouble deciphering a lot of the names Nvidia uses for certain features.
[Shield Tablet Android Development] Spadizzle:
Could the tablet work with a blue active governor?
[Shield Tablet Android Development] BitOBSessiOn:
No, because that governor is not implemented in this kernel.
[Shield Tablet Android Development] weedy2887:
Has anything significantly changed from nvidia 4.x compatible kernels to the current 5.2 compatible kernel when it comes to charging? Different limits in the dtb?

My tablet only pulls 1.24-1.36amps from the wall now after updating ROM/kernel.

I could also just need new cables, but I thought I would ask.
[Shield Tablet Android Development] D-m-x:
Well, with the newest Nvidia Rom Update my old wall charger which worked the whole time had the same issue. I changed Charger and cable to another one I had and charging is fast again.

Gesendet von meinem Nexus 6P mit Tapatalk
[Shield Tablet Android Development] Spadizzle:
Is that something that you be able to do, implement blue into your kernel? ?
[Shield Tablet Android Development] BitOBSessiOn:
I guess so... But my main problem is lack of time...
[Shield Tablet Android Development] Spadizzle:
Would be appreciated but I understand if you don't. Thank you for your time.
[Shield Tablet Android Development] primaleph:
Would any of the code from a project like Werewolf Kernel, or Twisted Kernel 2.0 for the Sprint Galaxy Note 5 (which has many, many governors in it) make it easier to add governors your kernel?