yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] MrPhilo:
Love the performance, defo not a placebo, I can see the difference in day to day run :)

Thankq, looking forward to the future releases
[Shield Tablet Android Development] Exile1975:
Thanks, I'll have to check this out tonight.

On a side note, I must be one of the only people I know having a really good experience with the MM update. A few isolated programs have been problematical, such as star wars heroes and star wars uprising, but I think they just need a compatibility update.
[Shield Tablet Android Development] TVD1903:
[MENTION=6411851]BitOBSessiOn[/MENTION] , thanks! It seems to be working great, performance is definitely better than before.
[Shield Tablet Android Development] Motawa88:
is this for k1 too?

edit: well, I guess not:

unknown partition 'tegra124-tn8-p1761-1270-a04-e-battery.dtb'

error: cannot determine image filename for 'tegra124-tn8-p1761-1270-a04-e-battery.dtb'
[Shield Tablet Android Development] BitOBSessiOn:
AFAIK you don't need flash dtb file with latest MM bootloader, only zip file (if MM compatible kernel, like K3).
[Shield Tablet Android Development] el3c:
[MENTION=6411851]BitOBSessiOn[/MENTION]

Tried your Kernel 3 for MM, it works fine for me. Waiting for update with imrovements :)
[Shield Tablet Android Development] Exile1975:
Been running this kernel on mm for about a day and all seems stable and fast. Great work so far, can't wait to see what comes next. I loved your lollipop kernel so have a lot of faith in this project.
[Shield Tablet Android Development] BitOBSessiOn:
Thnx a lot, dudes. Sometimes is a bit frustrating not having as much time as I would like...
[Shield Tablet Android Development] Exile1975:
Quality work is hard to come by, so take your time please. In the mean time I think I'm gonna give the WW kernel a try, especially since I see you are as well. ☺
[Shield Tablet Android Development] Namaless:
Don't worries about it, its for fun and anyone know we have a real life with some problems so take your time ?
[Shield Tablet Android Development] swaaye:
I have a question. Is the AES engine enabled in stock kernels? Has it been benchmarked against software (ie is it faster or just a battery saving measure?)

I'm thinking about adopted storage and its encryption. Adopted storage seems very slow and I'm curious if this is caused by the encryption or EXT4 being used on a SD card.
[Shield Tablet Android Development] BitOBSessiOn:
AES HW support option is not enabled in stock kernel. You can compare with BitO-K, where is enabled, and test it by yourself. I haven't benchmarked.
[Shield Tablet Android Development] swaaye:
Yeah read around online and found that /proc/cypto lists cryptographic functions. No tegra-aes in there.

I'm on 2.2.1 (5.0.1) right now because MM is too buggy and 3.1.1 (5.1.1) has a Carmageddon crash problem. I also haven't figured out how to actually test AES. On Linux I would run openssl -speed but that can't be done here....
[Shield Tablet Android Development] Mertico:
Its not working for OTA 4.0
[Shield Tablet Android Development] Adrixan:
Is K3 also meant for the original shield tablet (LTW row)?
[Shield Tablet Android Development] Mertico:
Yes
[Shield Tablet Android Development] BitOBSessiOn:
Updating from source code...
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K4 available

New kernel for K1 OTA 1.1 and classic model OTA 4.0 available here.

Remember, you must flash DTB (after unzip it) if you have NOT updated to one of these OTAs. If you don't have a compatible DTB+Kernel pair, you can have probs with USB, charging, WIFI, etc...

More info about flashing DTB here.

Basically it's stock feature kernel built with SaberMod 5.3 TC.
[Shield Tablet Android Development] philipp21897:
So the k4 series is only for the Stock Nvidia software and k3 for the Custom roms?
[Shield Tablet Android Development] Exile1975:
I'm pretty sure the k4 is for the 1.1 and 4.0 updates for the k1 and original shield respectively. The k3 was for the k1 1.0 update.
[Shield Tablet Android Development] BitOBSessiOn:
That's right.

Anyway, you can flash K4 on any version/model not officially updated if you also flash proper DTB and it should work fine.
[Shield Tablet Android Development] rusty.gh:
Midi Support in K4?

Have you looked in to the Midi USB host mode / USB peripheral mode?

(been looking around for the new Midi support, is this perhaps what we need?)

https://source.android.com/devices/audio/midi.html

"To enable MIDI for USB host mode, first support USB host mode in general, and then enable CONFIG_SND_RAWMIDI and CONFIG_SND_USB_MIDI in your kernel configuration."

"To enable MIDI for USB peripheral mode, you may need to apply patches to your Linux kernel to integrate the drivers/usb/gadget/f_midi.c into the USB gadget driver."
[Shield Tablet Android Development] THEHOLYG0D:
[MENTION=6411851]BitOBSessiOn[/MENTION] I flashed the Kernel KSX-051 and bundled it with the .dtb which u had mentioned which is supposed to be for the OTA4.1 or for MMs, and flashed the Bliss 6.1 As of 7th Feb, Now My ST wifi wont work :33 , Any ideas ? :33

---------- Post added at 01:29 PM ---------- Previous post was at 01:20 PM ----------

Can somebody provide me the K3 series or OTA 3's .dtb would be very helpful :33
[Shield Tablet Android Development] THEHOLYG0D:
Nevermind :3 Somehow got it to work, but don;t know if temporary or permanent :D :33
[Shield Tablet Android Development] BitOBSessiOn:
Better K4 for latest OTAs in both models.
[Shield Tablet Android Development] hochoch:
I've been anxious to try this on my son's tablet, but am just concerned about any conflicts with the Shield Power Control options. In the processor mode under system performance mode, is it possible to disable these or will something like kernel adiutor or trickstermod override any of these settings? i'm trying to get him longer battery life, but don't want it to drain faster because these programs are competing with each other.

Any advice on what to set the processor mode to is appreciated!
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K4-002 available

Available to download here.

Remember, flash DTB file if you get any Wifi, USB, etc... issue.

Some tweaks added. OP updated with features.
[Shield Tablet Android Development] BitOBSessiOn:
Try latest BitO-K4-002... and see...
[Shield Tablet Android Development] duanim:
How Manny times we had to flash the DTB
[Shield Tablet Android Development] BitOBSessiOn:
Only once for each big update. If you've flashed for K4-001 theorically you don't have to flash again for 002.
[Shield Tablet Android Development] duanim:
i did flashed again because i went from stock to bliss,by the way great room,official bliss cant do configuration,install nightlies good to go.

sombody in werewolf kernel got in Antutu 85000+ and with k4 kernel i got 86000+.

thanks again Bitob
[Shield Tablet Android Development] Ricktator:
Which one do i use for the nvidia shield tablet k1, on cm 12.1, running Lollipop 5.1.1?
[Shield Tablet Android Development] drewski_1:
060 is for LP

Sent from my 6.0 SHIELD Tablet
[Shield Tablet Android Development] BitOBSessiOn:
Theoretically you should be able to use latest K4 but only flashing latest K1 OTA 1.1 (MM) bootloader and DTB...
[Shield Tablet Android Development] Lifeis4real:
For the lte version I'm using cm12.1 .should I be flashing from the 060 folder. Is that the latest one ? (Lollipop)

---------- Post added at 12:06 AM ---------- Previous post was at 12:01 AM ----------

Oh sorry about I see this question is already been,answered 060 it is.
[Shield Tablet Android Development] Exile1975:
I've been running the k4 v2 update since last night and it's running very nicely. Overall the tablet seems a bit more smooth, my internet speed seems much faster, and I haven't had a random freeze yet. Thank you!
[Shield Tablet Android Development] el3c:
[MENTION=6411851]BitOBSessiOn[/MENTION]

i am on MM with my K1, but i did not installed the last OTA.

I have first flashed the kernel, then DTB file. It works, but now i get in AnTuTu 85000, before with k3 i got 91000 scoring points.
[Shield Tablet Android Development] Exile1975:
The k4 is a work in progress. Not all of the features from the k3 are in it yet. Give it some time.
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K4-002 on latest OTA 4.0
[Shield Tablet Android Development] el3c:
Now with Power mode
[Shield Tablet Android Development] Exile1975:
One observation tho. Using the stock kernel ampere measured my charging rate at 1750ma avg, right now using the same charger and cable is only measuring around 1240ma. I thought it seemed to be charging slower, but since I was gaming I wanted to check and be sure. Just thought I would pass on the info.

Edit: also wanted to ask if high speed is what you would recommend for TCP protocol? The only reason I ask is that cubic is still default but I noticed you added in several other protocols. Thanks again for the kernel and any opinions you've got on this.

Edit 2: OK, I don't know what was going on earlier but it seems to be charging normally now. Maybe I was overheating?
[Shield Tablet Android Development] BitOBSessiOn:
Charging rate has to do with current charging level + temp (to improve battery life), that's because it's not always the same.
[Shield Tablet Android Development] Paharsahath JG:
Hi Bito. Nvidia just released the fixed marshmallow update for Shield Tablet. Do you think is good to update?
[Shield Tablet Android Development] zarish:
Thank you!. Initial favorable results with Quick Charge 2 enabled 060 on Stock NVIDIA 3.1.1 A 5.1.1.

I had confirmed QC2 worked on stock 4.4.2.

Then confirmed no QC2 on stock 5.1.1. Installed Kernel for 060 KX-QC and have confirmed QC2 via my Tenergy charger goes green again for supported QC2.

More testing will be done once I have my replacement batteries in hand.
[Shield Tablet Android Development] skooter32:
Not fixed wifi still no go

---------- Post added at 12:27 PM ---------- Previous post was at 12:18 PM ----------

Hey bito how to convert to f2fs on the k1?
[Shield Tablet Android Development] Dashwood Foxe:
I'd like to know how too, TWRP 3.0.0.0 for MM doesn't seem to have the option to flash f2fs in the advanced wipe menu. :(
[Shield Tablet Android Development] Flash-User:
Bit o K-4 Kernel works without any problems with OG Tablet and the latest OTA 4.0 Nvidia Stock firmware, even with root and xposed installed.

Everything works fine.
[Shield Tablet Android Development] yreham:
I'm on your latest kernel k4 and 4.0 update, but I feel that battery is not as good as on lollipop with k60 kernel....my GPU goes to 860mhz and CPU 2218mhz....it was higher on k60 ....anyways thanks for your hard work
[Shield Tablet Android Development] duanim:
it seems like he is busy,let him work
[Shield Tablet Android Development] Scootsch:
HI,

i've flashed latest K4 Kernel on my K1 but there is no way to get wifi to work.

Someone got stock kernel to flash back via recovery?

Update:

Looks like my problem is the 5Ghz mode or automatic mode.

When i switch to 2.4Ghz only, everything works good!
[Shield Tablet Android Development] drewski_1:
you can get stock kernel from the Recovery Images recently posted by nVidia

or you could also try Werewolf kernel + his dtb
[Shield Tablet Android Development] BitOBSessiOn:
Yes... very busy...Lot of work + personal stuff... Anyway I try to stay around...
[Shield Tablet Android Development] diji1:
Flashed this kernel to replace stock 5.1.1 while keeping stock 5.1.1 firmware and benchmarked using Antutu 6.0.4:

Stock kernel

Highest: 82517

Average: 81842

BitO-K4 060

Highest: 85613

Average: 85514

No configuration changes other then switching to intelliplug.
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K4-004 available

Available to download here.

CHANGES

Merged latest code from Nvidia

Fix memory corruption, from Google sources (thnx to [MENTION=5720423]OfficerJimLahey[/MENTION] )

NOTES

Wipe cache and dalvik

Remember, flash DTB file if you get any Wifi, USB, etc... issue.
[Shield Tablet Android Development] Exile1975:
I've only had it installed for less than an hour but my initial impression is very positive. Runs smooth and no hiccups so far. BTW, I'm running it on the 6.0.1 Vulcan preview in case anyone is curious. Antutu score is pretty nice also.

I'll update you if I run into any problems. I'm really glad your still working on this. Thank you!
[Shield Tablet Android Development] Evolution101:
What is the battery related zip inside some of the kernel download folders? Do i need to flash it alongside the kernel?
[Shield Tablet Android Development] THEHOLYG0D:
Only if you face wifi issues,otherwise you are good to go ..
[Shield Tablet Android Development] Exile1975:
I updated my SuperSU to 2.71 beta right after flashing this so can't be sure which is the cause but I started to notice random reboots s few seconds after shutting off the screen sometimes. Not always, and no noticeable pattern. I since reverted to stock kernel and SuperSU 2.71 beta and haven't had one since yesterday, which leads me to lean towards the kernel causing problems. Let me know what logs would help and I'll go back to this and see what I can get.
[Shield Tablet Android Development] Techamazon:
I'm sitting on SuperSU 2.65 and this Kernel and started having these issues about 2-3 days ago. I'll post a logcat once I have more time to play with the tab come weekend.
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K4-005 (MultiROM support) available

Available here.

*This is basically K4-004 tweak set, plus KEXEC patch set from [MENTION=1416222]Steel01[/MENTION] (and some code cleaning)

Thnx also to [MENTION=3946657]xanthrax[/MENTION] for testing.
[Shield Tablet Android Development] dorwoo:
Ok, I'm a new shield user, on marshmallow 6.0.1,can I flash this kernel? Dtb only if I run into issues or better flash that too?
[Shield Tablet Android Development] THEHOLYG0D:
Since you're already on MM just flash the kernel, and at all issues flash dtb :3
[Shield Tablet Android Development] dorwoo:
Can someone upload the stock kernel from 6.0.1 update? I had some freezes with this one.

I did a twrp backup but didnt knew that it doesnt work with adoptable storage.
[Shield Tablet Android Development] Motawa88:
Did anyone try the quick charge kernel and does the tablet finaly charge or at least doesnt discharge while playing games like hl2 or portal?
[Shield Tablet Android Development] boswelja:
What happened to the kx lineup for k4? Overcleck would be nice :)
[Shield Tablet Android Development] NinjaCoool:
Is there any flashable zip to get back to stock kernel?
[Shield Tablet Android Development] njhuiz:
Not that I know of. But in the official factory images on

https://developer.nvidia.com/gameworksdownload

you'll find a file called "boot.img".

You can either use

fastboot flash boot boot.img

from the bootloader, or if you know, what you are doing,

dd if=boot.img of=/dev/block/platform/sdhci-tegra.3/by-name/LNX

from your favorite root shell. But be extremely careful with the last three letters. This could be a quick way to hardbrick your phone.
[Shield Tablet Android Development] yurikal:
KX and KX-QC for K4?

Like boswelja says, it would be great to have K4 with OC version, like KX and KX-QC!

Do you think it will be possible in the future?

Thanks in advance!
[Shield Tablet Android Development] BitOBSessiOn:
Yes, it's possible...
[Shield Tablet Android Development] BitOBSessiOn:
BitO-KX4-006 Available (OC version)

BitO-KX, with OC support available for testing here.

This is basically BitO-K4-005 + Werewolfs's OC feature merged in, so expect same OC features (CPU and GPU).

Many thanks (and kudos) to [MENTION=4716493]laufersteppenwolf[/MENTION] for his great kernel and for his generosity.

Remember to flash DTB file (unzip first... via fastboot), necessary for proper OC support.

As always, feedback welcome.
[Shield Tablet Android Development] laufersteppenwolf:
actually, you really should flash the DTB, as the new freq steps also need to be added to the DTB in order to reach the max freqs, especially GPU freqs won't go all the way up without the modified DTB. And also proper thermal throttling depends on the updated DTB as well ;)

I hope this way you guys can get the best of your device, as I just can't get around working on my shield ATM

But sooner or later I will certainly be back, I still have some plans to be worked at regarding this device ;)
[Shield Tablet Android Development] BitOBSessiOn:
Thx for remarking DTB flashing... Post edited
[Shield Tablet Android Development] jkrell:
If I've flashed the DTB before, do I ever have to do it again?
[Shield Tablet Android Development] BitOBSessiOn:
Yes, you need this DTB because is an OC version... OC DTB for OC kernel.
[Shield Tablet Android Development] quangv:
Your kernel is great! But can i change selinux to permissive? [MENTION=6411851]BitOBSessiOn[/MENTION]
[Shield Tablet Android Development] yurikal:
Like I sad in the Werewolf Kernel thread,

I already installed this Werewolf OC Kernel and DTB on my Shield K1 with Bliss 6.3, everything works great, great CPU performance in 2D bench, but when I try any 3D bench like 3DMark, Quadrant or GFXBench I always get very low scores and lower fps compared to my 2nd Shield tablet K1 with stock MM rom and kernel.

So I think I will wait for a 2nd version of Werewolf kernel, hoping to get more consistent GPU performance..
[Shield Tablet Android Development] BitOBSessiOn:
I've uploaded a new version: 006b... It should be the same... but I was playing with DTBs (to integrate it in ZIP) in first build, so I'm not 100% sure it was really "clean", so I've rebuilt it.

If you encounter any problem, please, reflash 006b (Zip + DTB).

I've updated initial post, to redirect to 006b.
[Shield Tablet Android Development] Chris189:
Hi. Your kernel works great, fast and fluid. But i have some random reboots. I'm using Shield K1 with the newest Vulcan update.
[Shield Tablet Android Development] DR_HAX34:
I'm having these random reboots too, both with Stock Rom and Ressurection Remix.
[Shield Tablet Android Development] chrzaszczwtrzcinie:
Same here on Dirty Unicorns
[Shield Tablet Android Development] BitOBSessiOn:
All you are have flashed also dtb file... ?
[Shield Tablet Android Development] racerx002:
I did and was having the same problem.
[Shield Tablet Android Development] DR_HAX34:
Yep, I always flash the dtb whenever I flash your kernel. (Just to make sure)
[Shield Tablet Android Development] JohnK71:
I am too but also had the random reboots before I flashed it. I think it's something in the Vulkan update maybe.
[Shield Tablet Android Development] crying:
Hi =)

Ive constants reboots with thisd kernel but can't instal dtb. log:

Installing zip file '/sdcard/Download/tegra124-tn8-p1761-1270-a04-e-battery.dtb.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Could not find 'META-INF/com/google/android/update-binary' in the zip file.
Error installing zip file '/sdcard/Download/tegra124-tn8-p1761-1270-a04-e-battery.dtb.zip'
Updating partition details...
I:Data backup size is 2980MB, free: 7621MB.
I:Unable to mount '/usbstorage'
I:Actual block device: '', current file system: 'vfat'
...done
[Shield Tablet Android Development] DR_HAX34:
To flash the dtb you need to extract it from the zip, boot your tablet in fastboot mode and flash it using a PC with the command "fastboot flash dtb [nameoffile].dtb".
[Shield Tablet Android Development] xanthrax:
Unzipping manually will show you a file which must be flashed via fastboot

fastboot flash dtb .dtb

-=-=- women are so fast nowadays...

Sent from my Darkside of Edge+
[Shield Tablet Android Development] crying:
After flashing dtb my shield k1 don't reboot anymore. I try all, flash new rom, twrp... nothing i'm stuck on nvidia logo. If you know how revert this or how to got a full wipe (don'rt have recovery but adb and fastboot works). thnk you for your help
[Shield Tablet Android Development] RBS01:
Flashing stock ROM from nvidia via fastboot should do the work
[Shield Tablet Android Development] crying:
Yep I try, nothing, 40 min. stuck on nvidia logo
[Shield Tablet Android Development] RBS01:
Did you flash last twrp 3.0.2.1 from twrp web?
[Shield Tablet Android Development] doomwithdon:
I noticed that it reboots when i get notifications from hangouts
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K5-001 Available (OTA 4.1 sources)

Available here.

Updated to latest Nvidia sources (OTA 4.1).

KEXEC HardBoot patched

Standard BitO-K tweak pack (kernel configuration)

Built with SaberMod 5.3 TC

DTB available if needed.
[Shield Tablet Android Development] chrzaszczwtrzcinie:
OC?
[Shield Tablet Android Development] BitOBSessiOn:
Nop, K (estable), no KX (experimental)
[Shield Tablet Android Development] xanthrax:
The OC has been present on the previous version, I don't think that something has changed...

Sent from my Darkside of Edge plus

---------- Post added at 10:53 PM ---------- Previous post was at 10:52 PM ----------

Ohh...

Sent from my Darkside of Edge plus
[Shield Tablet Android Development] nodiaque:
Question: Does it include K4 feature too, like NTFS Write?

Another question. I have an HTC M9 with a 64GB SD. I can move my apps to the sd through apps. In the nvidia shield tablet, with the same (well, another but same brand) 64gb, I cannot. When it was 16GB, I could. I use the format option from the tablet but it didn't solved it. Do you have any clue? I tried the sd into my phone and it's working, so it seems to be something from Nvidia. I'm rooted on Stock rom.

Thank you!
[Shield Tablet Android Development] Doughnut643:
Bro thank you very much for keeping this kernel and this device alive. I'm making a nandroid and flashing right away ?
[Shield Tablet Android Development] mohammed510:
Could you please include f2fs kernel fstab?
[Shield Tablet Android Development] DR_HAX34:
OK, seems like the reboots have stopped, I was using KX so maybe that's the reason the tablet was rebooting.
[Shield Tablet Android Development] Paharsahath JG:
Hi Bit-O. your kernel is very useful but does it have the display color tuner settings?
[Shield Tablet Android Development] BitOBSessiOn:
I will try to include F2FS and NTFS write support again. The problem is, that these features can increase final kernel size futher the limit... Let's see.
[Shield Tablet Android Development] BitOBSessiOn:
This version must be as stable as stock version. Keep in mind that KX was an OC version... I offered KX-4 for OC enthusiasts, but it's not my main dev line.
[Shield Tablet Android Development] BitOBSessiOn:
AFAIK color tunning is provided by system app, so, If you use this kernel in stock rom, you must stilll have color tunning.
[Shield Tablet Android Development] Pilz:
I just found it thank for for the help! In trying it out now and it seems to work fine so far. Are the changes for the stock one the same as the CM versions?
[Shield Tablet Android Development] BitOBSessiOn:
Yes, same kernel config and MultiROM patch for all.
[Shield Tablet Android Development] silvercat:
Thanks for the stock version.

Multirom patch doesn't seem to work.
[Shield Tablet Android Development] BitOBSessiOn:
I have used latest official twrp and multirom and no problems with stock as primary and cm12.1 build as secondary. Which versions and configuration are you testing?
[Shield Tablet Android Development] Pariahnoble:
Alright [MENTION=6411851]BitOBSessiOn[/MENTION] guess it's time to take the plunge. Been using umbrellas kernel for a while now on stock to overcome the goddess awful lag and sputter on stock. But I wanted to ask since it seems ur in touch with umbrella is this kernel comparable in terms of improvements on stock to umbrellas? Just want to be sure when I run it what im seeing as far as improvements, I know he put his own gov on it and such. So I was curious as far as all the "behind the scenes" stuff (as he says)(rolls eyes) is there or what the changes over stock r. I have incredible results using umbrella_core, row i/o, and high-speed tcp on my wifi shield. But honestly, I'd rather use urs after seeing how ppl have been treating each other in his thread. I like how ppl help one another here =) and thanks for ur work ahead of time friend.