yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] Son-j:
Initial Test on K9-05

Woah I didn't know TWRP has such a feature! Thanks.

As an Update:

1. As usual, my first test is checking out the behavior of Gundam Next rom at PPSSPP with autoframe skip enabled. It significantly caused lagging in the game. From my experience, BiTO kernels seem to have direct (negative impact) on PPSSPP performance tweaking (don't know why). Other 2D games seems to be OK though. Since this is not a KX variant, I'm guessing the performance was kinda reduced in favor of other features like battery life perhaps?

2. I'm actually excited about the NTFS write enabled on this kernel. Ever since I migrated to 5.0, I noticed that it's not possible to write and erase (again) in external hard drives using ES Explorer (it was fixed in 4.4). Unfortunately, the system is unable to detect external hard disk using this kernel.

3. System occasionally freezes or lag to the point that I have to reboot. Sometimes it would also freeze while rebooting so I need to hard reset again.

4. Device would heat up during idle. (This wasn't present in my 2 week experience of 5.0).

I reverted the kernel back to 5.0 stock and those symptoms were gone. I will wait for further updates in your kernel. Thanks for the hard work in improving this amazing device ;)
[Shield Tablet Android Development] BitOBSessiOn:
Have you wiped /cache and /dalvik after flashin K9-005 ? Have you installed xposed, or any similar "big-mod", or any custom tweaking scripts ...? My shield tablet runs cool and with no lags with 005 (clean stock after wiping).

Anyone else with same issues...? Thx.
[Shield Tablet Android Development] Son-j:
Sorry forgot to mention..

As SOP, I always wipe cache/dalvik before I exit from TWRP. My system has always been clean - unrooted, no exposed.

Are you able to write on external hard disk? Tnx
[Shield Tablet Android Development] TotallyAnxious:
Would you consider upstreaming interactive or merging in an updated interactive under some other name?

And would you consider adding the io schedulers Zen or maple?

Cpuquiet doesn't offline cores anymore. Is this because newer phones (at least s820 phones) and such stopped doing hotplugging because of the latency issue involved? I'm having a hard time find good documentation of Nvidia arm stuff. There's only file in the documentation section in the kenrel source and it's pretty bare bones info.
[Shield Tablet Android Development] primaleph:
I've been hoping to be able to test the pegasusq or smartassv2 governors with this tablet ever since trying them on my Note 5... and the Zen scheduler would also be cool to be able to play with.
[Shield Tablet Android Development] Bryandu13:
Edit.
[Shield Tablet Android Development] TotallyAnxious:
Could you post the voltage table? I'm having trouble understand the kernel source. I'm pretty sure the table is on this file https://github.com/BitOBSessiOn/and...bito-k9/drivers/platform/tegra/tegra12_dvfs.c but it's so different from qualcomm haha I'm working on tweaking the cpu more.
[Shield Tablet Android Development] BitOBSessiOn:
You need to revise code on some places, to be coherent (to build kernel + dtb file). You can look at the full commit for CPU and GPU OC below (thx to [MENTION=4716493]laufersteppenwolf[/MENTION] ):

https://github.com/BitOBSessiOn/and...mmit/bdb1e4c127d0dbf1302bfd100daffdc7693b1aab
[Shield Tablet Android Development] yreham:
Flashed the kernel but I had a lot trouble because of adaptive storage I have no mod ...Games were stuadering like crazy ..At one point it said the SD card wasn't inserted..... Restore stock kernel
[Shield Tablet Android Development] yreham:
Since this update I have a lot of trouble updating android webview witch is now disabled...I now this ain't the topic just want to know if it's the same for others thanks
[Shield Tablet Android Development] BitOBSessiOn:
Which CPU governor are you using ? How have you set performance settings if you are using stock N ...?
[Shield Tablet Android Development] yreham:
I have not set up anything now just the stock kernel...

On your kernel i had just changed the minimun CPU &GPU speeds to a 200 & 105 . Thats all
[Shield Tablet Android Development] xanthrax:
Webview it is integrated into chrome I guess, disable or freeze Chrome and install Chrome Beta then try to update Webview

Sent from my Darkside of Oneplus 3T
[Shield Tablet Android Development] BitOBSessiOn:
Maybe you can try with default values and set Power plan in Nvidia Settings to Optimized, and try again... A bad policy/value-set can ruin kernel performance. Keep in mind that K9 is set for interactive cpu governor as default, but sometimes this can collide with system one and a manual reset needed.
[Shield Tablet Android Development] Bryandu13:
Hey, can you upload your save of the stock kernel plz ? (If you're under 7.0)
[Shield Tablet Android Development] yreham:
Have problems uploading
[Shield Tablet Android Development] beitme:
Tried the k9 005 kernel with lineageOS. After a day or two my screen became highly unresponsive. One example, I had to keep my finger on a virtual key for a whole second or two before the keyboard registered the action. Another example, pages wouldn't scroll. I had to drag the page slowly up or down and often the system would just fail to recognize my gestures.

Back to k9 004 and everything is fine.
[Shield Tablet Android Development] ptrakk:
I flashed the k9-005 kernel to the latest Bliss Rom, and it would not boot.
[Shield Tablet Android Development] Nikownzyu:
Finally

Thanks for continuing to support this old ass tablet with constant kernel updates cause you are literally the only developer that still makes kernels for the shield. Cant wait till the KX9!
[Shield Tablet Android Development] BitOBSessiOn:
So... 004 ok but 005 laggy... In same scenario?

Thx
[Shield Tablet Android Development] beitme:
Yes, in same scenario.

Thanks for the work.
[Shield Tablet Android Development] tikizondo94:
What process are we using to use f2fs on on stock 7.0? Tried latest N kernel and so far I just get stuck with bootloops.
[Shield Tablet Android Development] BitOBSessiOn:
Have you flashed the f2fs_fstab injector after flashing K9-004/5 ?
[Shield Tablet Android Development] tikizondo94:
I have flashed it before flashing the kernel. Should i flash it after also?
[Shield Tablet Android Development] BitOBSessiOn:
It doesn't matter... I will revise fstab file for N and proper F2FS support.
[Shield Tablet Android Development] tikizondo94:
Sweet! Thanks man
[Shield Tablet Android Development] xanthrax:
So , I would recommend to FULLY wipe the device , save stuffs and format everything , flash the latest firmware , currently 5.1 for the wifi version , reformat your sdcard as adoptable again , don`t use it from the previous firmware , especially when it comes adoptable from Marshmallow

The sdcard app links may be borked , I have done as above and all good with the latest firmware and kernel

The only "bug" is the missing sdcard after boot but it shows for few seconds , it looks like a delay in reading it , then all works fine , no kernel tunings applied as off yet

-=-=-

wx_na_wf 5.1otafull.zip
[Shield Tablet Android Development] beitme:
But I'm not having such a big problem. The stock kernel runs fine as does the K9 004 kernel. Reformatting everything is too much of a pain. There's really no need.
[Shield Tablet Android Development] xanthrax:
I was referring to the 005 version issues you have had and wiping everything it is not really a pain , it's up to you

I do not have lag on 005
[Shield Tablet Android Development] yreham:
Hey could you give me the path to the OTA in the tablet.. thank you

Found it
[Shield Tablet Android Development] pietras83:
After flashing 005 i noticed that one of the cores is always 100% loaded
[Shield Tablet Android Development] Nikownzyu:
This might only be my tablet, but why is it in kernel adiutor and device control does it show up as all 4 cores running all the time? Even with different Governors and even before i flashed the k9 004 on stock kernel, all cores are turned on.

It never drops below 4 unless i turn off the governor and manually turn a core off. But when i use the custom performance option in the settings and set it to two cores then it never turns the other 2 on.

I noticed this changed when I upgraded to 7.0

Did Nvidia try to boost performance by forcing all cores to stay on? Cause ive heard from others that this 7.0 update kills the battery and takes longer to charge, so it makes sense now. But i wouldn't know cause i have a burnt out battery that only last like 1 hour without being charged.

Is there anyway that you can fix this?

Also on the kx9 version can we get inteli plug?
[Shield Tablet Android Development] TotallyAnxious:
Hotolugging cores creates latency issues with turning them on. And i think most oems have stopped trying to do it.
[Shield Tablet Android Development] Rhadamanthis:
Hi, i can instal in the k1? i flash kernel and tegra124-tn8-p1761-1270-a04-e-battery.dtb.zip?
[Shield Tablet Android Development] boswelja:
Yes, you shouldn't need the dtb unless you start having problems :)
[Shield Tablet Android Development] BitOBSessiOn:
KX9 coming: K9-004 or K9-005 base ?

Ok, guys... I want to prepare BitO-KX9... which base do you prefer... K9-004 or K9-005 ... ? Which one is smoother.... ? (both with NTFS write support)
[Shield Tablet Android Development] Exile1975:
I can't put my finger on why or how, but 004 had less problems for me.
[Shield Tablet Android Development] Son-j:
I'd go with 004 :) thanks man!
[Shield Tablet Android Development] BitOBSessiOn:
About 2.495GHz or 2.400GHz... ? Anyway.. Really, I don't think so much more is necessary... A little more speed can be reach but stability issues are present...
[Shield Tablet Android Development] dzefo:
2.39GHz exactly
[Shield Tablet Android Development] BitOBSessiOn:
Weird... How do you control CPU clock?
[Shield Tablet Android Development] dzefo:
3C Toolbox Pro
[Shield Tablet Android Development] BitOBSessiOn:
Can you try Kernel adiutor and check all available frequencies?
[Shield Tablet Android Development] dzefo:
avalibe is max 2499 ale not working max 2397 working
[Shield Tablet Android Development] NaminatoR1254jaime.sier:
From 016, I flashed KLX 018 stock and sometimes when rebooting I got stuck a few times on NVIDIA logo. So Im gonna go with KLinaro
[Shield Tablet Android Development] BitOBSessiOn:
Dalvik and Cache wiping... KL-017 is what I'm using.
[Shield Tablet Android Development] rubene66:
hi

I tried klx 18 for cm12.1 and it does not feel as same responsive and fast as the kl 17 i switch back to 17 don't why the others oc kernels work fine for me and the tablet was getting hotter with little use. I have the wifi version.
[Shield Tablet Android Development] BitOBSessiOn:
I think it can be something related to temperature and voltage control. I will check in kernel options.
[Shield Tablet Android Development] riganta:
Agreed - After a couple of days playing with shield LTE on CM12.1 KLX-0-18

Battery:

Very warm.

Gets hotter than usual

Drains a lot faster.

Video is Flickering on reboot

Stuck on logo Nvidia on reboot. I have to reboot a couple of times before being allowed in.

Network has become flaky. Was not when I fresh installed CM12.1 with KLX 018. Lose of connection frequent. No access to internet when VPN is connected. (Do not know if that has anything to do with 018)

Wiped Cache and Dalvik and did a fresh installed on 017 - Stayed with it for a with it for a little while (one hour). VPN still did not work. Connected find but no internet connection. Could ping (google.com) but that was it. With no VPN, internet connection worked fine.

Again Wiped Dalvik and Cache and re installed 018.

Networking is now fine. Very good internet connection. No disconnect and VPN is working fine.

I did not have time to reboot to see if I would get stuck on the Nvidia logo. I did not have time to see if screen was flickering as very much intermittent. Battery is still very warm.

Hope that helps
[Shield Tablet Android Development] BitOBSessiOn:
I understand you have tested as only primary system (no multirom), have you?
[Shield Tablet Android Development] riganta:
That is correct.
[Shield Tablet Android Development] Pariahnoble:
BitO kl 17 cm12 running on the new exodus rom, sweet as pie
[Shield Tablet Android Development] duanim:
Stock with klx

Battery drain faster and no charge to 100%

Open a page in Google chrome take to much time, I don't really know if is chrome or the device, or my internet doubt it or XDA web site to much ads.

Booting to much time

Gets warmer the device.

Go back to shaky kernel, that I don't any problems

I don't understand why so manny peoples have problems with the tablet and I don't.

Even though bitob you are man
[Shield Tablet Android Development] MarceloSiciliano:
When benchmarking with the KLX my tablet started doing some crazy noises hahahaha
[Shield Tablet Android Development] riganta:
An hours and a half playing yesterday night then watching movies on KLX 018 CM1201 and no issues to report this time.

I did wipe cache and dalvik two days ago. Don't know if that has anything to do with it.

I did not test if the battery drained faster than usual this time but definitely not getting hot at all.

Network is still flaky. For a moment I have a very good connection and then suddenly no more. This is true with or without VPN. Not linked to browser, VPN or my network.

I have to admit that playing modern combat was a real pleasure yesterday night. Felt like the shield had been reborn. I played and watched movies with the shield connected to power. That was not true two days ago when I had my issues. Could it be related?

You are the man BitO
[Shield Tablet Android Development] BitOBSessiOn:
Did you wipe...?
[Shield Tablet Android Development] duanim:
Yes always

Bitob,before the shield was so fast opening pages,even using ad blocker,right now take like 12 to 15 seconds sometimes more,what you think can be the problem.I am using Google chrome and did change the ram like Alberto says,and chrome beta problem too,more about the audio player in beta sometimes problem too,my Chinese Mele box with A31 allwinner faster opening pages and no audio problems.

When back to shaky kernel 61000 antutu,charge to 100%,and its drain a little ,like I said no major problems,jus display flickering but not noticeable.
[Shield Tablet Android Development] riganta:
@ duanim,

I don't know what you are running but on my shield, I have the same networking issue. I am running Cm12.01 KLX 018. I am loosing connection and then it comes back. The issue is not from my network (DNS etc...) nor it is linked to any browser. I use Chrome and FireFox latest and both have the issue. I think it is going to be hard to exactly pinpoint the problem. I switched DNS; google and my DNS with my own VPN but find it the same. When I turn on my VPN though the network link seems to be faster may be linked to compression (dont really know). Also try to remove any app that plays with your host file (if you have any) and test without. For example, I have ad block and I know it changes my host files. Most of the time I have to reboot when the host file has been changed but sometimes it is not sufficient and I loose connection. For my testing at the moment I have disabled it.
[Shield Tablet Android Development] CryoFast:
My NST running on 005 and I don't have a problem about weeks or 10 days
[Shield Tablet Android Development] Friedensfurz:
Just a quick question: Which kernel is the best for Android 6 with an AOSP Rom? Does the latest N kernel work with M too? Thx
[Shield Tablet Android Development] BitOBSessiOn:
BitO-KX9-006

Available for testing here.

This is basically BitO-K9-004 + NTFS write support + OC.

NOTES

Tested on latest OTA 5.1 (N for RoW LTE) and it seems to run very smoothly.

DTB not flashed, system seems stable, but not deep tested (games, etc...)

I've noticed that first boot after OTA 5.1 update (stock, no kernel, no root... clean), system was very very laggy...

I suggest to test stock system for a while and then flashing kernel, to check if any lag is produced by system and/or kernel.

Feedback welcome.

EDIT: F2FS injection tool updated for N. Available here.
[Shield Tablet Android Development] xanthrax:
I haven't noticed any lag at startup though on the stock it happened lol even after a deep sleep , testing , thanks BitO mate

No lag after deep sleep
[Shield Tablet Android Development] Bryandu13:
Testing KX9 :

I'm coming from stock kernel.

I didn't noticed any improvement in gaming but the device seems smoother for now.

Antutu score was 98 500 on stock and now 95 500.

I don't know why^^

But thank you for your work !

---------- Post added at 12:29 AM ---------- Previous post was at 12:25 AM ----------

And a question : If I backup my data (TWRP), format cache and data into F2FS and restore my data, my data will be restored as EXT4 or will stay F2FS ?
[Shield Tablet Android Development] BitOBSessiOn:
If you have backed up at FS level (no entire partition as image) your procedure for F2FS should work. If you try latest fstab injection tool for N let us know ;) thx
[Shield Tablet Android Development] Bryandu13:
But if I format at F2FS it will erase all my data no ?
[Shield Tablet Android Development] drewski_1:
yes, u will lose your data. backup first
[Shield Tablet Android Development] Bryandu13:
Yes but how ? If I use Titanium backup all my big games will stop working​ and if I backup data in TWRP they'll be restored as EXT4^^

I'll maybe save all and just take a look on F2FS performances.
[Shield Tablet Android Development] BitOBSessiOn:
You must use pc, usb, cloud...

Be careful, some incidents converting to f2fs... Until stabilized... Backing up is mandatory if you love your data...
[Shield Tablet Android Development] Exile1975:
There are also programs that will let you explore and extract ext4 image files.. maybe you could restore that way?
[Shield Tablet Android Development] Friedensfurz:
F2FS N injector + K9 004 doesn't boot
[Shield Tablet Android Development] BitOBSessiOn:
Ok, I must revise proper F2FS support in kernel after latest backported code... Thx.
[Shield Tablet Android Development] Son-j:
Have tried this for around 4 hours now. I can confirm that the first install caused the device to be a bit laggy but after rebooting again and clearing dalvik/cache in recovery, it was smooth. Will test this for a few more days to see if I there is wake up from sleep lags or occasional lags as I've experience with stock. Didn't use f2fs injector since I don't understand it yet hehe so I guess my setup is unrooted stock plus this one :)

Im also using Launcher 3 now. I've found from GeForce forums that Google Now may contribute to some occasional lagging (push related processes).

So far tablet is smooth. But to the guys who have been reporting 95k+ in AnTuTu, mehn I'm jealous! My AnTuTu dropped from 83k+ in stock to 79k+ with KX9. My MM AnTuTu scores where around 94k+, but had between 65k to 85k AnTuTu scores in nougat. I almost didn't change my apps and settings since (except I've enabled floating windows in nougat via ADB commands. Don't know how much it impacts the system).

Thanks BitO for these improvements! :)

---------- Post added at 04:49 PM ---------- Previous post was at 04:43 PM ----------

Oh remember my issues with BitO kernels whenever I play Gundam Next on PPSSPP (super laggy but was very smooth in stock)? Well, I have the same issues with KX9. Only this time, I thought the device can't be this smooth most of the time and get super laggy in PPSSPP. so I've decided to uninstall/reinstall PPSSPP while in KX9 and it's somehow "fixed" :p I may have some faulty settings unique in my system before. In any case I'm glad I'm able to play again in PPSSPP while testing BitO kernels. :D
[Shield Tablet Android Development] Nikownzyu:
Updating to 5.1 and then installing cant wait!
[Shield Tablet Android Development] ishemes:
Working great! Installed it on stock 5.1 install. Tabled is no longer sluggish and laggy. Not even after waking up after a night sleep. (for me and the tablet). Thank you. Great work.
[Shield Tablet Android Development] Rhadamanthis:
Which is are best settings? when i flash, i not change settings in kernel manager? or i change?

i've noticed that performance storange are low
[Shield Tablet Android Development] supertory:
can this work on marshmallow ?
[Shield Tablet Android Development] strann0:
I got 98.000+ in Antutu with the latest KX09, great work, i though MM could be a bit faster but it doesnt seem the case.

Waiting for proper F2FS support.
[Shield Tablet Android Development] chrzaszczwtrzcinie:
After flashing KX9 and rebooting everything seems fine. Antutu score over 95k. However after discharging to 0% and shutting down, the tablet will not boot up anymore, no matter how long I charge it, it'll always show this red battery with a lightning. Tried different chargers but nothing helped. After restoring boot in twrp everything is normal.

ROM: DU11
[Shield Tablet Android Development] Son-j:
Went back to stock after a few days of testing. For some reason, my device lags after operating for a long time. When I went back to stock, it seems to have stabilized, even until now. I think this is specific to my device since others have reported better user experience.
[Shield Tablet Android Development] f0xG3:
Hi guys, is it possible to format Adopted Storage into F2FS if I installed the F2FS tool with this Kernel?
[Shield Tablet Android Development] zergo2007:
Third time questing: BitO-KX9-006 can work on marshmallow ?
[Shield Tablet Android Development] jones0204:
can someone help me keep getting error 7 bitO kx9 006
[Shield Tablet Android Development] xanthrax:
No, it doesn't work

Sent from my Darkside of Oneplus 3

---------- Post added at 08:30 AM ---------- Previous post was at 08:28 AM ----------

Are you trying to flash it on a marshmallow ROM?

Sent from my Darkside of Oneplus 3
[Shield Tablet Android Development] jones0204:
No aicp 12.1 20170316(wish someone brought back resurrectionremix),got a fix had to move it to SDcard then it installed with no errors
[Shield Tablet Android Development] jemail:
Can someone tell me if the K9 series kernels are for the Original Tablet or are they only for the K1?

Tried KE9 and KX9 but got boot loop.

Thanks.
[Shield Tablet Android Development] yreham:
For all sheild tablets.

Installed KX9 ON THE SUBSTITUT LAST NIGHT...Snappy

Going to install on the OG but I have problem with adopted storage. Did a factory reset last night . But everytime I install an APK it going to storage and it takes forever to load

Anyways good work and thank you
[Shield Tablet Android Development] elite-NSX:
CPU hotpluggin

r u or hav u looked into cpu hotplugging? it seems lik nvidia has it enabled but i hate hotplugging personally normally keep it disabled so nothing is messing wit cores and cpu freqs generally i run 2 cores at min 51mhz - max round 600-700 wen im jus web browsering i dont mind the lag from tho freq

Device - New Shield K1 sb-na-wf

oh and [MENTION=6311143]Trafalgar Square[/MENTION] had a CM13 Temasek build and thread for the Shield tablet u dont happen to no y its closed and y we cant get the ROM anymor do ya? thats my favorite build on my Nexus 6
[Shield Tablet Android Development] xanthrax:
For the sdcard issues I suggest you to save data and reformat it as internal

Sent from my Darkside of Oneplus 3
[Shield Tablet Android Development] jemail:
Boot Loop with KX9 006

I'm having problems getting KX9 (also K9) to work on Original Tablet Stock 5.0 with f2fs. I get a boot loop.

Here's what I do:

1. Flash Stock 5.0 via fastboot in bootoader

2. Flash KX9 006 Bit-O-K DTB

3. Flash Bit-O-K latest TWRP & reboot to Recovery

4. Wipe Data and Cache

5. Format Data and Cache to F2FS

6. Flash KX9 006 OC Kernel

7. Flash F2FS N Injector

8. Reboot and infinte boot loop

Any ideas anyone?
[Shield Tablet Android Development] BitOBSessiOn:
F2FS needs revision... Wait at least for next version if you need this FS, please.