yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] xanthrax:
Hmm, comparing those 2 apps and the third screenshot, I can't believe that it was charging at 5000+

sent from my Darkside of SHIELD Tablet
[Shield Tablet Android Development] Pilz:
OP: sorry about all of the OT.

That's how I set mine up. I selected automatic and had it record every 1 minute interval unless you tap the charging rate which will update it for you faster. The G3 doesn't support quick charge 2.0 from what I recall. I've had 4 different models (F400S, F460S, D850, D851) and none of them worked with QC 2.0 in case you were wondering.
[Shield Tablet Android Development] Pilz:
Its entirely possible as I said; however, I went off the app and assumed it was correct.
[Shield Tablet Android Development] tehdewm:
Does this kernel have voltages unlocked for editing? Considering getting a shield tablet soon to replace my current tablet and undervolting (for heat and battery life) is important to me for any device I own base don android.
[Shield Tablet Android Development] TessellatedGuy:
No, this kernel doesn't have voltage control. (Yet)

---------- Post added at 06:21 PM ---------- Previous post was at 06:19 PM ----------

Ok, thanks [emoji3]. Definitely giving for a recall as I don't wanna die. (No insanity intended)
[Shield Tablet Android Development] tehdewm:
Thanks for the reply. Think ill still get one anyway.
[Shield Tablet Android Development] BitOBSessiOn:
KS-037, KSX-054 available

Main features:

Voltage charging params revised after latest OTA (reverted to default values)

Debug info reduced (samaller binaries)

LZMA Kernel compression, changed from GZip (big kernel size reduction, more space for features...)

LZMA support for initrd

Compiled with latest Sabermod 5.1 TC

Universal zip for ALL versions (any model, stock or CM, One zip to rule them all... Sorry, If I don't tell it.... :p).

Code updated to latest NVIDIA sources (KS version)
[Shield Tablet Android Development] Shorty88jr:
Best kernel you have make!

KSX-54 is the smoothest kernel ever! I have it clocked at 1ghz to maximize battery and it feels like it's running at 5ghz. It the best experience I have ever had on this tablet since day one. You put the Nvidia developers to shame. Keep up the awesome work. Now you should figure out how to bypass Nvidia's kill switch so we can keep our old tablets, that would be amazing
[Shield Tablet Android Development] TessellatedGuy:
I ship them so much.... (My shield tab and KSX-054)
[Shield Tablet Android Development] supertory:
should i update to the latest dtb file thats in the same folder as the 054 kernel ?
[Shield Tablet Android Development] xanthrax:
Only if you didn't do it before otherwise no

sent from my Darkside of SHIELD Tablet
[Shield Tablet Android Development] BitOBSessiOn:
Yes, as [MENTION=3946657]xanthrax[/MENTION] says, only if you have not updated in 052 or with latest OTA 3.1.

The DTB provided with 054 should be equivalent to latest OTA 3.1 about charging values.
[Shield Tablet Android Development] Pilz:
I flashed the 054 build and I'm getting horrible battery life. My device won't sleep at all. I tried reverting back to the 052 build but its still not sleeping at all. I've attached screenshots below to show the issue I'm having. I might revert back to the stock kernel and try to flash the 054 again to see if it helps.

Thanks gap in the battery life is when I flashed the 052 build from the 054.
[Shield Tablet Android Development] BitOBSessiOn:
Xposed installed or any other mod...?

Can you install wake lock detector ?

Probably you have some app or service that it's avoiding your device go into sleep....

I'm pretty sure it isn't a kernel problem. I have experimented about 3 days in standby...
[Shield Tablet Android Development] Pilz:
No other mods, I flashed back to stock last week and just rooted 2 days ago. Which wake lock detector would you like me to use? I also noticed that it would say its fully charged at 97% which was odd but its not a big deal. The app is likely in the system so I installed Greenify and used root to hibernate some of the possible system apps. I'll let you know if that helps when it finishes fully charging.
[Shield Tablet Android Development] bluegizmo83:
I just flashed 054 kernel too coming from 100% stock rooted 3.1 and now I have horrible battery life. With just the screen on and doing NOTHING else, and I have the CPU limited to 1ghz, its using almost 1% battery per minute and my tablet will not charge past 97% anymore!
[Shield Tablet Android Development] Pilz:
Mine charges to 100% now, I let it fully discharge then plugged it in again. I haven't picked it up again this morning but I'll have a look at the standby from sitting overnight when I get home shortly.
[Shield Tablet Android Development] BitOBSessiOn:
Have you flashed DTB file provided with KSX-054 ?
[Shield Tablet Android Development] bluegizmo83:
No, just the kernel.
[Shield Tablet Android Development] BitOBSessiOn:
You should try to flash it (after unzip: fastboot flash dtb <dtb_file.dtb> ) and test again, please...
[Shield Tablet Android Development] bluegizmo83:
OK. How do I backup the original DTB file in case I desire to go back to stock? Will a twrp nandroid backup restore it?
[Shield Tablet Android Development] xanthrax:
Yes, a nandroid backup will restore as it is

Sent from my Darkside of 1+1
[Shield Tablet Android Development] bluegizmo83:
edit: nevermind
[Shield Tablet Android Development] Pilz:
Mine is still not sleeping but it does charge. For a while it wasn't charging earlier today but after swapping cables it was just a old one so I didn't mention it. I haven't checked it again since I flashed the dtb file earlier but I'll update everyone when I check the battery.

If you check earlier in the OP you will notice that other people had a similar issue. I would check and see how they fixed it. Worst case scenario you could RMA it
[Shield Tablet Android Development] bluegizmo83:
Thanks but literally RIGHT after I posted that I tried it again and it turned on thank god. It must just be charging super slow. Luckily it did come back on because I cannot RMA it because its my old tablet from the recall lol.
[Shield Tablet Android Development] Pilz:
I'm glad it turned it, I would try flashing the dtb file if you haven't already. My tablet has been acting weird since they replaced it a few weeks ago so I don't know what's going on with it.
[Shield Tablet Android Development] bluegizmo83:
Yup thats my next task. If that doesn't work then I'll just re-flash the nandroid backup I created before installing this kernel.
[Shield Tablet Android Development] Pilz:
Usually a clean flash works to fix issues for me. I can't get a single backup to restore no matter what version of TWRP I use but that's a issue for another OP. Its good to see that your tablet powered on, how low was the battery when it turned on?
[Shield Tablet Android Development] bluegizmo83:
When it finally turned on it showed 8%
[Shield Tablet Android Development] Pilz:
Did you flash the dtb?
[Shield Tablet Android Development] bluegizmo83:
Not yet.
[Shield Tablet Android Development] Pilz:
I think it helps, or at least in my case it appears to so far.
[Shield Tablet Android Development] BitOBSessiOn:
Hi guys... I'm glad to see everything goes ok again...

DTB file is necessary to solve charging and USB to PC connection problems.

KSX is tested to sleep like a baby, so if you get abnormal battery draining I would bet for the problem is some app or service, or a recovery/flash related prob...

Let us know...
[Shield Tablet Android Development] Pilz:
I'm still having the issue after flashing the DTB via fastboot so I'm going to restore it to the stock OTA 3.1 and try again.

Thank you for the help
[Shield Tablet Android Development] bluegizmo83:
Ok I just flashed the DTB file to the tablet. The first two times I tried to flash it though, fastboot on my PC crashed out before it flashed! I restarted the tablet into fastboot mode again and after that it flashed fine. I'll report back later to say if it helped. If not, I will do some testing with both my tablets.

My new tablet from the recall program is now setup IDENTICAL to my old one, with the exception of my old tablet has BitO kernel. Other than that they are identical because I made a nandroid backup on the old tablet (before installing the kernel) and I moved that backup to my new tablet and restored it on there so that both tablets are identical.

If I still see weird battery drain, I will fully charge both tablets and then put them both on a streaming wifi movie loop and see which one dies first.

Edit: also, is there something special I need to do to re-enable QuickCharge 2.0? I thought that just by flashing the DTB it would re-enable QC 2.0 but it didn't seem to do so...
[Shield Tablet Android Development] Steelpapi:
Hi guys.

Flashed Blisspop 3.9 a couple of days ago and was having problems with lags and the weird metallic sound when using spotify, but just flashed this kernel and everything seems to be running like it should be. Will report back after I've used for a few days.
[Shield Tablet Android Development] fro24:
Sorry, this is probably a stupid question, but am I supposed to flash the DTB or the Kernel first? Also would it hurt to flash the DTB if I'm not sure I am on the correct version? Thanks.
[Shield Tablet Android Development] bluegizmo83:
I would flash the kernel first just to be safe. Because (I think, but I may be wrong) if you have a kernel from 2.2.x or earlier, then flashing the DTB will cause charging problems: http://xdaforums.com/showpost.php?p=62004266&postcount=584
[Shield Tablet Android Development] bluegizmo83:
Hey BitO, I flashed the DTB file (I'm using the 054 kernel) and it did seem to help with the charging issues and battery drain, but now how do I get QC 2.0 working? I thought that just flashing the DTB file would re-enable it since QC 2.0 was listed on the DTB forum post, but my QC 2.0 charger is not charging at the faster rate. The charger I have has a blue & green led on it. When its lit up green it is using QC 2.0, but when its blue is not using QC 2.0 which is how I know its not charging at the faster rate.
[Shield Tablet Android Development] BitOBSessiOn:
QC 2.0 is disabled again after OTA 3.1. If you want to test a QC enabled DTB file I think it would be possible prepare it...
[Shield Tablet Android Development] bluegizmo83:
Oh OK. Yeah that would be great. I'd be happy to test it out for you.
[Shield Tablet Android Development] lukaszertel:
Hi guys!

I have stock rom 5.1.1 with stock kernel 3.10.33-g754e743 with recovery installed and root access.

Which zip file I should install from this side to have latest BitO-K kernel?

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

Cheers,

Lucas
[Shield Tablet Android Development] BitOBSessiOn:
The one in 054 folder:

https://basketbuild.com/filedl/devs...eldTablet/Kernel/054/BitO-KSX-054-UNIFIED.zip
[Shield Tablet Android Development] lukaszertel:
Done!

Thanks,

Lucas
[Shield Tablet Android Development] BakaPhoenix:
You can change how ram is handle with the kernel?

My n4 with cm 12.1 (and stock cm kernel) with the same 2 gb of ram can handle multitasking much better,for example i can put a game in background, open a browser and go back to the game and is still there where i left it, while on the shield, with the same game, as soon i go on the launcher the game close.
[Shield Tablet Android Development] Itow:
Hello ;)

to flash the dtb-file with locked bootloader

download the dtb.zip

extract it

rename it to battery.dtb

copy it to your adb & fastboot directory

reboot your tablet in recovery mode

start adb & fastboot

type:

adb push battery.dtb /sdcard/

adb shell

dd if=/data/media/0/battery.dtb of=/dev/block/platform/sdhci-tegra.3/by-name/DTB

restart your Tablet

sorry for my bad english
[Shield Tablet Android Development] d-style:
Does anyone know what flashing a dtb file does and do we need to flash it? I've searched and I've only seen a couple of posts mentioning it but none explain what it is.

Could flashing tegra124-tn8-p1761-1270-a04-e-battery.dtb cause some apps to not work or be moved to the SD card? They're probably not related but everything was working fine before that. Even switching roms doesn't work.
[Shield Tablet Android Development] BitOBSessiOn:
Flashing dtb file is necessary when you come from an incompatible kernel version (older) to solve charging and pc connection problems.

Flashing dtb file wouldn't be bad for any app, neither for system if you are using a KSX kernel.
[Shield Tablet Android Development] Themaniacboy:
So how can i flash this kernel with fastboot ? I can't find any boot.img, only mkbootimg, but i don't suppose those are the right files ?

I also can't use the TWRP recovery on my recently unlocked bootloader, it seems that it can't mount the /data and /system partitions, that is why i'm trying it with fastboot.
[Shield Tablet Android Development] BakaPhoenix:
Just extract the boot.img from the zip file in the op
[Shield Tablet Android Development] BitOBSessiOn:
You flash kernel zip via custom recovery and dtb file via fastboot after unzip it.
[Shield Tablet Android Development] Themaniacboy:
No, i need to flash kernel with fastboot. My recovery isn't working correctly. THE first post says you have to flash boot.img in fastboot, but i can't find that anywhere in the zip.
[Shield Tablet Android Development] BitOBSessiOn:
There is no boot.img file in unified version, only kernel file and modules. boot.img file is generated while installing. If we use static boot.img files we need different zip versions for each model.

Why don't you flash a working recovery...? Or maybe you can use flashify or similar tool to flash a zip from running system.
[Shield Tablet Android Development] Themaniacboy:
That's the problem, none of the recoveries work correctly on the tablet.

I'll try to figure out what the problem is, thanks for your help.
[Shield Tablet Android Development] bluegizmo83:
Hey again, I guess you haven't had a chance yet to prepare a QC 2.0 DTB file for testing? If not that's OK man I completely understand, I'm not trying to rush ya!

If it would be easier for you, perhaps you could just give me a short "how to" on editing the DTB file and what I'd need to change and then maybe I could try and tackle it myself.
[Shield Tablet Android Development] BitOBSessiOn:
I've uploaded 055 folder to Basketbuild. This is KLX-055, basically it's the same that KSX-054, but compiled with Linaro toolchain (UBERTC) and first approach to restore QC 2.0. You tell me.
[Shield Tablet Android Development] bluegizmo83:
On OK, awesome! Thank you. I just flashed both the 055 kernel and the new dtb file, and now the light on my QC 2.0 charger is turning green as it should when its charging at the faster rate! I'll report back in a day or two after I observe the charging for awhile.
[Shield Tablet Android Development] mnstr695:
Thanks for this, quick charge is great! I can also confirm QC 2.0 is working with KSX-55. Tested on ampere app at about 2.5A average until it tapered off with replacement unit battery reaching 107F before going back down. No weirdness happening, currently using EOS nightly
[Shield Tablet Android Development] Tabaqui:
I did the same too since i was getting the same screeching metallic noise. After a few days that awful noise came back, it happens when im listening to music or watching a video. I dont know what to do, Ill probably get another rom because it only happens with Blisspop.
[Shield Tablet Android Development] zooltar:
Hello,i have android 5.0.1 and wifi version of tablet,what version of kernel I must used?
[Shield Tablet Android Development] BitOBSessiOn:
KSX-054. It's a universal zip.
[Shield Tablet Android Development] zooltar:
I must install tegra124-tn8-p1761-1270-a04-e-battery.dtb.zip ?
[Shield Tablet Android Development] BitOBSessiOn:
You should if you come from 5.0... unzip and install:

fastboot flash dtb dtbfile.dtb

You can search in previous posts if you need it.
[Shield Tablet Android Development] PanayidA:
Just a quick one, I have flashed KSX - 054 and I'm using kernel Adiutor to set my min and max CPU values however what ever value I put in is over ridden to the max CPU speed. I'm on the stock nvidia rom Android 5.1.1 and rooted. Also can't use battery saving mode and the shield power control doesn't seem to be working, I.e. can't use it to disable cores. Any ideas?
[Shield Tablet Android Development] BitOBSessiOn:
This is because governor and hotplug driver used. Min cpu value is really stabilised and you can only manually switch off cpus if you use an user mode hotplug driver (or don't use it any). If you use a custom kernel with a automatic hotplug driver then this driver decides when enable or disable cpus. In KSX if you choose intelliplug, you can switch to eco modes that only activate 2cpus, for instance.
[Shield Tablet Android Development] PanayidA:
Awesome thank you for the feedback! That works.

Now I have a strange one. With the new Kernel my Tablet is very responsive and is very smooth under normal operation and with most games I also go from a Antutu score of 54 000 to about 57 000 points. However when I play Half-life 2 it gets very choppy. I did a full system restore putting me back to my original kernel and when I play Half-Life 2 the choppiness goes away, which doesn't make any sense to me. I have tested this several times. I then thought it may be my low memory killer but no matter what settings I use I can never match the stock playability of Half-Life 2. My current set-up is stock Nvidia OTA 3.1 on shield tab 16GB wifi, rooted and currently on BitO-K 054. Can anyone with a smiler set-up just check Half-Life and see.

Using Kernel Adiutor:

My current Low Mem settings are on aggressive:

Foreground apps = 72MB

Visible apps = 90MB

Secondary Server 108 MB

Hidden Apps = 126

Content Providers = 219MB

Empty Apps = 256MB

CPU:

CPU clock on 2.49 GHz

CPU Governor Tunable = untouched

CPU Governor = interactive

CPUQuiet Governor = runnable.

Under CPU Hotplug:

Everything else is untouched, i.e.

InteliPlug off

Profile = balanced

Hysteresis = 8

Threshhold value 500

Thanks!
[Shield Tablet Android Development] duanim:
new OTA 3.1.1

Bitob what do you think,waiting for you review
[Shield Tablet Android Development] BitOBSessiOn:
I've just updated this morning, after flashing first boot, recovery and system from 3.1 to be able to update ok.

I think is basically to solve Stagefright security issue... Not tested in deep.

We have updated nvidia source code (still Android 5.1)... so we have work this weekend...
[Shield Tablet Android Development] michiillo:
yeah!! i'm waiting for you new kernel, are really wonderful!

but i feel that this new update has better performance than others, may be the update with your kernel have more perfomance than actual

estoy esperando por tu nuevo kernel, son maravillosos!

pero siento que esta nueva actualización tiene mejor rendimiento que otras, puede ser que la actulización con tu kernel tenga mejor rendimiento que el actual.
[Shield Tablet Android Development] rubene66:
I got 56200 in antutu with the new update the tablet feels very smooth now
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K/KX/QC 060 Available

Release notes

Code updated to latest OTA 3.1.1 Nvidia source

Unified zip for all models (WiFi / LTE) and systems (Stock / CM)

Unified version for all kernel variants (060)

DTB file if you need (you come from a earlier version than OTA 3.1.1). Unzip and flash via fastboot

You choose:

K for Base version

KX for eXperimental version (K + extra features and OC)

KX-QC for KX + QC2.0 support
[Shield Tablet Android Development] Garfield3333:
Temasek

You are the man !!!!!!!!!!!!!!!!!

:good::good::good::good::good:
[Shield Tablet Android Development] giukas:
hi thanks for this

i'm experienciing lockups and slow performance with latest blisspop and 054 kernel. i updated to 060 but not better. should i flash dtb file? i have no pc can i use an app?
[Shield Tablet Android Development] supertory:
Im having similar problems where like i have to manually reboot about 3 times daily and the system ui restarts randomly
[Shield Tablet Android Development] BitOBSessiOn:
Have you flashed DTB file...? Are you in Stock OTA 3.1.1 ... ?
[Shield Tablet Android Development] endiz:
Do we have to manually enable fsync? If so, how?
[Shield Tablet Android Development] cckidquick:
I have to have my device encrypted to use it at work, but can't seem to get it to work with this kernel. Is it just me or is this known? Thanks!
[Shield Tablet Android Development] supertory:
Flashed the dtb file previously when i was running another version of your kernel and im running the latest Blisspop Rom
[Shield Tablet Android Development] BitOBSessiOn:
You need same dtb version than kernel. If you have flashed 060, probably you need to flash again latest dtb.
[Shield Tablet Android Development] NaminatoR1254jaime.sier:
between ksx 054 and kx 060, Im I the only one having less ram with the newer version?

In Ksx 054 I had 1 gb free at startup. Now only 600 mb

EDIT: Seems the new OTA could be held responsable. I flashed ksx 054 in the new OTA and still just 800mb ram free.
[Shield Tablet Android Development] BitOBSessiOn:
I've disabled ZRAM in 010 because I think is not necessary with 2GB RAM and it can improve performance... Please, feedback is welcome about responsiveness, lags, etc... Thnx!
[Shield Tablet Android Development] BitOBSessiOn:
A bit laggy sometimes in CM 12.1 with Minimal GApps 5.1... I think probably system framework... Anybody with CM 12.0...? Thnx!
[Shield Tablet Android Development] silasje1:
Chrome still lags from time to time. Could you maybe add intelliplug? Maybe the default hotplugger is the issue
[Shield Tablet Android Development] BitOBSessiOn:
I don't think so... I think more anything related to IO... In general this device it's some laggy when writing to internal or external memory... More tunning needed here, I think...

Anyway, I also have pending study hotplug drivers for future releases.
[Shield Tablet Android Development] estanenmi:
can use this kernel on stock rom?

Enviado desde mi SHIELD Tablet usando xda Forum
[Shield Tablet Android Development] BitOBSessiOn:
No, because the ZIP is based in boot.img, dependant on CM build. I want to compile an independent kernel version that I hope it can be flashed on stock. It's in my pending tasks list.

Un saludo ;)
[Shield Tablet Android Development] john_matrix:
Hi!

I have installed your kernel on CM12 and everything is smooth and fast!

Only the audio bug is persisting as the nvidia stock Android version.

Tell me if you need more infos ;)
[Shield Tablet Android Development] Pilz:
That would be awesome if you could! I don't like CM12 because I miss the Nvidia settings and apps which don't work properly with CM. I like the kernel but I like the stock ROM adds for school. There's no palm detection in CM for the stylus. I am a serial flasher and I'll happily test the kernel for you. I have the US LTE model if that helps out.

Edit:

Also if DT2W and DT2S or S2S could be added you would be my hero lol
[Shield Tablet Android Development] Pariahnoble:
Just wondered, as I've seen this posted EVERYWHERE, but really noone seems to think on the dt2w..... At least as far as this device goes, it makes no real sense to implement it, we have a stylus on our device. If the issue is the power button just pull the stylus and pop it back in. Otherwise it kills the battery by keeping the digitizer active even when asleep to receive the double tap, and also due to the stylus the shield tablet screen is EXTREMELY sensitive. The thing would pretty much stay awake ALL THE TIME. I had to disable double tap to sleep in status bar mods on cm because it kept going dark on me accidently. Just carrying it in ur hand would become almost impossible. Sorry for my 2 cents but it seems to be on every rom and kernel thread for shield tablet here on xda and seems to really need to be explained repeatedly making it rather difficult for those trying to come for info.

Anyways cheers bitO thanks for the work on this man. Really enjoy seeing this platform progress.