yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] silvercat:
LTE EU, I'm using stock as primary and Ubuntu as secondary . I have the twrp which was shared in multirom thread earlier but I couldn't find the latest "official" twrp. Can u please share the twrp file if u don't mind...Thanks :)
[Shield Tablet Android Development] BitOBSessiOn:
[MENTION=593514]twistedumbrella[/MENTION] kernel code is more modified than mine. He has included alternative governors and IO planners (I use CFQ instead NOOP, you can select which one you prefer), and some extras as ExFAT support., yo can also select in both ones different TCP congestion control algorithms. Just now, my code is basically last Nvidia official code + MultiROM patch (thnx to [MENTION=1416222]Steel01[/MENTION]) and my personal kernel config preferences. I have pending include more stable patches for those interesting features (I've build KX version with OC to test, and ExtFAT, but no success nounting volumes...), but I want to stabilize before any stuff and I have to learn how to do it well from proper masters, like [MENTION=593514]twistedumbrella[/MENTION] ... ;)
[Shield Tablet Android Development] BitOBSessiOn:
I've used TWRP 2.8.4 from OP, but if you use this version, probably you will have problems booting Ubuntu as secondary... you can try... I have pending revise latest mrom patches (maybe K-016).

[MENTION=1416222]Steel01[/MENTION] is working hard in MultiROM with [MENTION=4937137]Bogdacutu[/MENTION] 's help, and my intention is always to include these patches to support it.
[Shield Tablet Android Development] badagaio:
First of all let me thank you for your great rom and kernel. Incredible job doing what the guys at Nvidia should be doing. Now the Shield Tablet is not a complete failure.

Yesterday someone posted this on the forums regarding the Swap memory:

Disable swap (or add option to turn it on and off). My tablet, which is running Android 5.0.1 and has all the latest updates, is using a 512 MB swap space. I believe that the use of swap space is a major contributor to the freezes/lock ups that so many users have experienced. Swap space fools the Linux kernel into thinking it has additional memory and, consequently, the Android operating system doesn't kill old processes as it normally would. Instead the Linux kernel swaps RAM to disk, which is very slow. IMHO, that is a big design mistake. You can check for swap space by opening a terminal and entering the command:

cat /proc/meminfo | grep Swap

Or by using an app that can show the swap space stats such as OS Monitor.

I hope Nvidia fixes this soon (like in the upcoming 5.1 update). They need to either disable swap or give us the option to turn it on or off. The vast majority of Android devices do not use swap space precisely because Android has it's own unique method for memory management and swap interfers with it.

What have you done with zram/swap on this kernel? Can you disable the swap file?

Thanks a lot!
[Shield Tablet Android Development] BitOBSessiOn:
I usually disable swap. I don't like it. I think ZRAM is not necessary... An unnecessary overload... Prior versions had ZRAM disabled (from 010... If I remember...) but 015 has it enabled by default because I thought that always anybody can disable it and I built from fresh Nvidia source.

Now I"m testing 016 with absolutely no swap.. No ZRAM, no front cache, etc... Disabled in kernel.

You can disable ZRAM easily using a tool like Faux... or something else.
[Shield Tablet Android Development] kickassdave:
Guys... If this fixes the absolutely horrendous periodic lag on stock, please let me know. It is hard to believe a company who makes such cutting edge and blazing fast hardware (their desktop GPUs) can make such a flawed device.
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K-016: NO ZRAM for testing

BitO-K-016 Available in Test folder. No swap, no ZRAM... full 2Gb RAM available... keep it simple... ;)
[Shield Tablet Android Development] sebb2297:
OC in Stock version

will OC be added in future releases for stock rom ? would be awesome!

Thanks (sorry for my bad english)
[Shield Tablet Android Development] silasje1:
Smooth :)

BTW saw that fstrimming doesn't work on the Shield. Any reason for that?
[Shield Tablet Android Development] badagaio:
Gone is the awful stock experience.

Using the latest rom (dirty flashed) and BitO-K-016 kernel. Runing smooth as butter.

55.700+/- on antutu benchmark (not the highest score, I recon)

Right now switching between apps appears seamless with no lag whatsoever. I've been switching between facebook, facebook messenger, youtube, hearthstone and others without any slowdowns.

Bought this tablet not for gaming but as a beast that was supposed to handle everything and I was completery dissapointed by the performance. Unfortunately the stock rom completely cripples the experience.

Let's see if the guys at Nvidia can learn anything over here with BitOBSessiOn. :D
[Shield Tablet Android Development] kickassdave:
Same experience after a dirty flash. Just to test stock ROM without the swap/zram. Unless someone else has done it already.
[Shield Tablet Android Development] BitOBSessiOn:
Ummmh.. Have you tried to run fstrim manually? I know that some roms have scripts to run it but no knowledge about shield... Interesting, I will try to check options about trimming here... Thnx.
[Shield Tablet Android Development] MiePx3:
I can use fstrim withour any problems via terminal.

But I dont think it does much.

I use a tasker porfile to fstrim once a day, just to make sure.
[Shield Tablet Android Development] BitOBSessiOn:
Ideal solution would be to use f2fs and/or disabling fs sync in ext4 (and probably some system tweaking...) Until this, your solution is like in some roms, which have an init script to do exactly that.
[Shield Tablet Android Development] johnnystuff:
Just tried the K016 on my wifi only shield (wx_na_wf that is). Everything runs really smooth and flawless. No problem with wifi whatsoever. One step beyond :good:
[Shield Tablet Android Development] Paharsahath JG:
Thx. I will re check
[Shield Tablet Android Development] mohammed510:
Any chance for sabermod 7.0.x for the shield tablet?
[Shield Tablet Android Development] mohammed510:
http://cloud.tapatalk.com/s/574c79c448d6a/dmesg.txt

http://cloud.tapatalk.com/s/574c79ceadb65/last_kmsg.txt

I've had 2 crashes
[Shield Tablet Android Development] Paharsahath JG:
Hi. I cannot boot into twrp recovery my tablet. Any ideas? If i try to boot it with fastboot tablet goes bootloop. Maybe this is not the right section but in the other threads i received no answers. Thx
[Shield Tablet Android Development] doomwithdon:
Still random reboots with latest version :(
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K5-002 available. Please flash DTB file via fastboot after unpack (important to avoid RR).

https://basketbuild.com/devs/BitOBSessiOn/ShieldTablet/Kernel/K5/002

NTFS write support included. F2FS also included (from 001).

I will test sabermod 7.0... by curiosity...
[Shield Tablet Android Development] mohammed510:
flash another recovery
[Shield Tablet Android Development] Paharsahath JG:
Ths. I ll try
[Shield Tablet Android Development] Alastor89:
I tried k5-002 and did the trick of modifying the fstab , and it's ok, but I can't try f2fs because of the lack of a M recovery that support f2fs for the shield tablet.
[Shield Tablet Android Development] DR_HAX34:
Doesn't the multirom twrp work with f2fs?
[Shield Tablet Android Development] BitOBSessiOn:
We must add F2FS to mrom fstab and a little tweak to properly support it.

I was playing with this a time ago. Maybe we can prepare next twrp-mrom version with F2FS support... Maybe [MENTION=1416222]Steel01[/MENTION] can be also interested.
[Shield Tablet Android Development] hbar98:
Installed 005-2 and flashed the battery.dtb. I've had two reboots.

View attachment dmesg.txt

View attachment last_kmsg.txt

https://drive.google.com/open?id=1M6C0-WGJMU-8-w6aSm1VranXlfHS5JR6J_6GWcVjWm4

The third one is the logcat.

Several hours later... another reboot. Reboots never happen when the screen is on, only when the screen is off and the tablet is just laying there doing nothing.

View attachment 3768460
[Shield Tablet Android Development] hbar98:
Okay, so I had to flash the stock boot.img since I use my tablet as an alarm clock so I can't do any more testing tonight. Hopefully the files I pulled can help.

Other info: stock rom, rooted, xposed with a few modules. Other than that, not any mods or anything. I keep things pretty simple.
[Shield Tablet Android Development] Steel01:
I guess I could if someone submitted the patch. It's just an fstab change, right? Or does something need added to the kernel? *doesn't remember*
[Shield Tablet Android Development] BitOBSessiOn:
If you have latest boot.img and bootloader, dtb flashed and K-002 I think you shouldn't suffer RR... so.. Xposed..??? Can you try for a while without it? Any tweak in power governor...? Which governor do you use?
[Shield Tablet Android Development] BitOBSessiOn:
I have some branches for F2FS in my repo (kernel and device). I will revise them and let you know.
[Shield Tablet Android Development] DR_HAX34:
I don't have Xposed and I suffer from RR. Flashed dtb and everything. Maybe it's because I have MultiROM?
[Shield Tablet Android Development] hbar98:
Sure, I can do that. No, haven't done any power tweaks.
[Shield Tablet Android Development] hbar98:
Just had a reboot. Tablet was not in use, screen was off. I caught it and pulled the reports as soon as it rebooted. Before this happened I flashed 1.2.0 system.img, boot.img, recovery.img. Rebooted, then flashed TWPR, reboot, flash SuperSU, reboot, flash 002, reboot, flash battery, reboot and let the tablet sit.

View attachment 6010856.zip
[Shield Tablet Android Development] feelpt:
Is there any way to flash dtb without fastboot? Because my tablet always have had issues with windows usb, so i alwayd have trouble using fastboot.

Thanks in advance
[Shield Tablet Android Development] BitOBSessiOn:
No AFAIK (maybe via dd if you are root, but risky and not tested... or simply not possible...)
[Shield Tablet Android Development] BitOBSessiOn:
I think RRs may have to do with cpu governor... in the past I had to disable two of them (ondemand and conservative).

I will revise this... let's check what governor we're using if getting RR... please.
[Shield Tablet Android Development] hbar98:
Interactive. I haven't touched any tuning.
[Shield Tablet Android Development] DR_HAX34:
CPU Governor: Interactive

CPUQuiet Governor: Runnable
[Shield Tablet Android Development] mohammed510:
Same here.
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K5-003 available

You can download here.

Some kernel params updated and revised.

CPU governor turned back to defaults (userspace)

ondemand and conservative CPU governors reenabled.

Let's see if RR is fixed. Important to know if RR happen on Stock and/or CM/Bliss... Thx.
[Shield Tablet Android Development] Paharsahath JG:
Bit-o, do you work on xposed too?
[Shield Tablet Android Development] BitOBSessiOn:
Nope, sorry...
[Shield Tablet Android Development] mohammed510:
Still having RR on latest version.
[Shield Tablet Android Development] Paharsahath JG:
Thx anyway. Have you ever tried it on shield tablet?
[Shield Tablet Android Development] drewski_1:
xposed works fine on this tablet.
[Shield Tablet Android Development] Paharsahath JG:
Did you try xhalo floating Windows? On mine doesnt work
[Shield Tablet Android Development] BitOBSessiOn:
Stock ROM...? Version?
[Shield Tablet Android Development] mohammed510:
No. I'm using the latest resurrection remix rom and the latest bito kernel.
[Shield Tablet Android Development] drewski_1:
No, but probably a Q for the module's thread . . .
[Shield Tablet Android Development] energystuff:
Ok, TY guys. I brick my shield tablet after install KX-004.

Just Nvidia logo, cant go recovery because Vol down + PWR dont work.
[Shield Tablet Android Development] daeymon:
Does say "test are your own risk" on the first page. Plus you've used the KX variant, which is even more experimental, and hasn't been updated for the latest bootloader release. Hold down the power key to hard reset, then quickly hold volume down and power together to get up the fastboot menu. Having your device stuck on the logo is not a brick, I've been there and come back from it.
[Shield Tablet Android Development] Heroata:
Can you suggest me a Kernel Adiutor profile for best performance? I don't care the battery. I need best performance while capturing gameplay to my YouTube channel.
[Shield Tablet Android Development] mohammed510:
RR on latest DU (aosp) too.
[Shield Tablet Android Development] energystuff:
When I hold vol down + power shield tablet stay on logo and dont go to recovery.
[Shield Tablet Android Development] xanthrax:
You must hold power button and " vol -" to go into bootloader and FROM THERE you chose recovery but first hold power until it shuts off

Sent from my Darkside of Edge plus
[Shield Tablet Android Development] daeymon:
You need to hold those down while the device powers up before the logo comes up. If successful, fastboot loads instead of the logo.

So if your stuck on the logo, first hold down the power button to turn the device off. Then turn it on by holding power and volume down at the same time. Don't turn it on by pressing power, and then pressing power and volume down once it starts. You have to be pressing both buttons when the device powers up.

And to clarify, its the volume button furthest away from the power button. Because some roms make that volume up when in landscape, it can throw some people off which is which.
[Shield Tablet Android Development] energystuff:
OMG!!! I recovery my tablet! Ty very much!
[Shield Tablet Android Development] mohammed510:
Wait until the battery dies then try again with this combination. You should hold for like 15 secs or so. Good luck!
[Shield Tablet Android Development] xanthrax:
He was using a wrong buttons combo and it's OK now... Read above...

Sent from my Darkside of Edge plus
[Shield Tablet Android Development] energystuff:
Not wrong, I press Power + Vol-, but I must press Vol- Power - Power.

All guys write that I must press Vol- + Power, but it dont work on my shield.
[Shield Tablet Android Development] BitOBSessiOn:
Experimental K5-003 (sm5.3)

Available here you can find an experimental versions, built with Sabermod TC, 5.3

I would need some feedback about stability (no more RR), please.

Thx.
[Shield Tablet Android Development] mohammed510:
Will test now and report back. Thanks

---------- Post added at 06:55 PM ---------- Previous post was at 06:01 PM ----------

No RR for an hour now. I've noticed that SM7.0 says 5.3.1 in kernel info..
[Shield Tablet Android Development] mohammed510:
I've just had a RR

http://cloud.tapatalk.com/s/5759c07e44763/dmesg.txt

http://cloud.tapatalk.com/s/5759c48985ac3/last_kmsg.txt
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K5-004

After revising logs... Availabe here.

Feedback welcome. Thx.
[Shield Tablet Android Development] mohammed510:
Testing...
[Shield Tablet Android Development] mohammed510:
RR

http://cloud.tapatalk.com/s/575a73af83c45/dmesg.txt

http://cloud.tapatalk.com/s/575a73b9bc71f/last_kmsg.txt
[Shield Tablet Android Development] skooter32:
Nothing wrong with the new kernel bito flawless a still cant gethe gpu to stay at its highest clock speed but a do have a request for fast charging and overclock gpu and cpu thanks
[Shield Tablet Android Development] hbar98:
When you flash the updated test kernels, are you flashing the stock boot.img before you flash the next version?
[Shield Tablet Android Development] skooter32:
Running stock mm
[Shield Tablet Android Development] mohammed510:
Yes.
[Shield Tablet Android Development] TheLastBoyScout:
I was using the K4-005 kernel, but I just updated to the K5-004 kernel, and its a night and day difference. For some reason they K4-005 charged extremely slow, but the new K5-004 is charging much, much faster. Also, I am not having any wifi frequency swapping issues anymore.
[Shield Tablet Android Development] BitOBSessiOn:
It seems there is some prob with latest nvidia sources. I've built without any mod and still getting RR...
[Shield Tablet Android Development] gqukyo:
I just restored my US LTE tab. Should I wait before flashing the last kernel version available? I don't think I've experienced reboots though I'm not 100% sure. Definitely not when I'm using it.
[Shield Tablet Android Development] BitOBSessiOn:
I recommend flashing latest K4 or wait for next stable K5. Anyway, backup your boot.img, you can try K5 and restore in case you get any RR, or flash back latest K4 (keep in mind using proper DTB if you need it)
[Shield Tablet Android Development] m666p:
I was using the test version of stock 6.0.1 on K-5 002 and noticed the camera would freeze the device so I flashed blisspop and noticed cpu and gpu controls dont work on that too and I didnt want to lose the controller so I flashed the official 6.0.1 stock and then flashed K-5 005 and camera would freeze the device again, Ill flash the dtb file and see if there is any difference but I just wanted to report this issue. And thanks for all your work.
[Shield Tablet Android Development] xanthrax:
Check out the camera application permissions

Sent from my Darkside of Edge plus
[Shield Tablet Android Development] skooter32:
Hi dev f2fs support is that all partitions or just data?
[Shield Tablet Android Development] mohammed510:
Data and cache.
[Shield Tablet Android Development] skooter32:
Another question how do we change to f2fs?
[Shield Tablet Android Development] DR_HAX34:
So, new OTA came out, maybe when it's sources come out the RR will be fixed?
[Shield Tablet Android Development] Dombard:
Huh, I'm getting a bootloop both with K4-005 and K5-003-sm7.0. Maybe I'm doing something wrong? It's not a brick, I can access the recovery. And I flashed using the recovery. I'm using CM 12.1.
[Shield Tablet Android Development] xanthrax:
Cm 12.1??? Who said that it will work fine for this outdated build?

Sent from my Darkside of Edge plus
[Shield Tablet Android Development] Dombard:
Oh, sorry. Didn't see anything about that in the post.
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K5-006 Available

You can download here.

It's based on latest Nvidia source, rebased, kernel config revised, etc.... Built with TC 5.3-SM.

Tested all the morning on stock OTA 4.1 (partner DTB flashed) and ATM... no RR...

Feedback welcome. Thx
[Shield Tablet Android Development] BitOBSessiOn:
Dammm.... RR :(
[Shield Tablet Android Development] doomwithdon:
Yep can confirm.. Still RR
[Shield Tablet Android Development] boswelja:
I still get rr too
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K5-009 Available

Latest BitO-K5-009 available here.

Tested for more than a day and no RR... Nvidia source code revised (I think this is the bad part in older releases...). Built with standard TC 4.8.

You can also test same version, but built with TC 7.0-SaberMod. Available here. It seems to be blazing fast... but maybe placebo... You decide.

Remember to flash proper DTB if you need it.
[Shield Tablet Android Development] Lifeis4real:
Sorry to ask a newbie question but what's the difference between latest k5 series and this new sabermod series?

In terms for online gaming is sabermod better? Don't know much about sabermod :(
[Shield Tablet Android Development] BitOBSessiOn:
It's supposed that SaberMod TC should add some improvements...
[Shield Tablet Android Development] doomwithdon:
Yes RR is finally fixed. Thanks
[Shield Tablet Android Development] chrzaszczwtrzcinie:
[MENTION=6411851]BitOBSessiOn[/MENTION] can you build a new KX series kernel with RR fixed?
[Shield Tablet Android Development] xanthrax:
[emoji57]

Sent from my Darkside of Edge plus
[Shield Tablet Android Development] BitOBSessiOn:
I see you really like OC... ;)
[Shield Tablet Android Development] DR_HAX34:
I like the KX series more because of the experimental features, so +1 to making a KX release with RR fixed :)
[Shield Tablet Android Development] BitOBSessiOn:
BitO-KX5-010 (OC version)

Available for testing here.

Please, keep in mind I don't directly support OC (all kudos for [MENTION=4716493]laufersteppenwolf[/MENTION] ). You have to flash DTB file to properly support OC.

Enjoy.
[Shield Tablet Android Development] jemail:
I have a question about DTB files. Once we flash the correct DTB file (for a kernel) is it possible to go back to Stock DTB? If so how?
[Shield Tablet Android Development] xanthrax:
Dtb it is latest stock already not modified

Sent from my Darkside of Edge plus
[Shield Tablet Android Development] jemail:
Thanks for the reply, but I don't understand your statement.

If I flash latest Bliss, latest Bit-O kernel and DTB, then I wipe and flash, say Dirty Unicorns, will the DTB flashed previously not cause issues on the newly flashed Dirty Unicorns ROM?

Or does flashing a DTB only change something in current kernel which is overwritten when I flash a new kernel?
[Shield Tablet Android Development] xanthrax:
No, the dtb will stay, it will be changed only by flashing the stock firmware via fastboot, another custom rom or kernel doesn't contain the dtb file

Sent from my Darkside of Edge plus
[Shield Tablet Android Development] BitOBSessiOn:
You can get latest stock DTB file (with the rest system images) from Nvidia download page.

Latest DTB from BitO-K series (3,4, 5... ) should be equivalent, but it must be coherent with the system (kernel) you install.
[Shield Tablet Android Development] jemail:
Thank you for the reply.

I have downloaded the recovery 4.1.0 image from nVidia, but I cannot see a link for the DTB file and it is not present in the factory image zip.

Can you provide a link to the latest 4.1.0 (non K1) DTB file?
[Shield Tablet Android Development] BitOBSessiOn:
Sorry, latest Nvidia recovery images does not include DTB file... You can use latest DTB from BitO-K5-009, it's built from Nvidia sources without any mod.
[Shield Tablet Android Development] Chris189:
It's not placebo, it's waaaay faster than the standard TC 4.8 version. Can you build the KX kernel with TC 7.0 SaberMod? :)

Edit: I'm testing 009 version, so far so good, no RR today :)
[Shield Tablet Android Development] BitOBSessiOn:
BitO-KX5-010 (TC 7.0-sm)

It was on the way...

BitO-KX5-010 built with SaberMod 7.0 Tool Chain available here.
[Shield Tablet Android Development] Chris189:
Thank you, i will test and report back. :)
[Shield Tablet Android Development] lowsum:
Wow it's flying!! Just overclocked a bit at 2320mhz, no RR yet. Good job!
[Shield Tablet Android Development] strann0:
I have obtained 2.460 in Sling Shot 3.1 (3Dmark) with KX5 sm7. Is this a good value?
[Shield Tablet Android Development] Dashwood Foxe:
Cannot format sdcard as internal on MM as it ends up getting corrupted using kernel, reverting back to stock kernel remedies the issue.
[Shield Tablet Android Development] xanthrax:
Does it still shows corrupted after formating it with the stock one and reverting to K? Exactly which kernel did you flashed?

Sent from my Darkside of Edge plus
[Shield Tablet Android Development] NinjaCoool:
Does this still contain the QC 2.0 or just for the OC?
[Shield Tablet Android Development] Dashwood Foxe:
Still shows as corrupted until I flash back the default stock kernel and reformatted the SD card as internal again, SD card remains in internal format until it is formatted as portable, it appears to effect all BitO Kernel version.
[Shield Tablet Android Development] xconwayx:
What app does everyone use to make changes to the kernel?
[Shield Tablet Android Development] BitOBSessiOn:
Kernel Adiutor
[Shield Tablet Android Development] Shadowk1ller:
Hello guys,

I have a Nvidia Shield Tablet K1 with the last update, i have already root and a costum recovery, is this kernel compatible with my tablet?

If not, is there any kernel that is?

Thank you in advance.
[Shield Tablet Android Development] BitOBSessiOn:
Yes, it's compatible.
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K6 / KX6

Testing BitO-K6-001 and BitO-KX6-001.

Updated with latest Nvidia source code.
[Shield Tablet Android Development] BitOBSessiOn:
It seems that K6-001 RRs... anyone else...? Thx