yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] xanthrax:
Rename the file dtbfile.dtb and run

fastboot flash dtb dtbfile.dtb

Also from fastboot chose fastboot mode

sent from my Darkside of SHIELD Tablet
[Shield Tablet Android Development] duanim:
bitobsession .

I get in antutu 61000+ with hotplug, interactive ,bfq,etc, definitely the best so far but i get some frozen screen sometime.. no rrr.

About the DTB charging issues there is another way to flash the file besides the fastboot, i don't know how to do it, or way for the next updated.

Thankfully
[Shield Tablet Android Development] BitOBSessiOn:
To get into fastboot mode from powered off, push Volume Down + Power On... Then connect to PC and follow the steps described before (fastboot flash dtb dtbfile.dtb)
[Shield Tablet Android Development] quangv:
[MENTION=6411851]BitOBSessiOn[/MENTION]: what's your setting to balance performance and battery? Or best setting for battery saver
[Shield Tablet Android Development] BitOBSessiOn:
As I've commented any time before, I usually use Intelliplug + dynamic fsync + bfq IO planner + interactive governor + high speed TCP congestion alg.

But it does not mean this is the optimum config...
[Shield Tablet Android Development] floks:
I flashed KSX52 first and booted into system. After that I flashed DTB. Now it's stuck at nvidia boot logo. Booting into recovery doesn't work, too. Fastboot is working. What can i do?
[Shield Tablet Android Development] xanthrax:
which kernel version have you flashed on which rom ?

which recovery do you have ?
[Shield Tablet Android Development] floks:
Oh my... it was my own fault. Didn't look properly and renamed the file tegra124-tn8-p1761-1270-a04-e-battery.dtb.zip to dtbfile.dtb and flashed that zip instead the unpacked dtb file. *facepalm*

Tablet lives again. :)
[Shield Tablet Android Development] Nvjoel:
I flashed DTB and ksx 052 charging finally works but otg doesn't work
[Shield Tablet Android Development] Sjamaan:
It turns out you need an unlocked bootloader to flash the dtb. That was to be expected... I don't want to unlock mine's yet, because of the warranty.

Anyway, I flashed 052 without the dtb and it seems to work great. In fact, for me it works way smoother than 051. And charging seems to work just fine.

Enviado desde mi SHIELD Tablet mediante Tapatalk
[Shield Tablet Android Development] ytain:
After flashing via fastboot the dtb file, the charging is working again in BlissPop 3.6 and temasek. I guess the issue with no charging was because I didn't flash the stock 3.0 before unlocking and putting custom ROM on the tablet.
[Shield Tablet Android Development] gqukyo:
Plenty of people unlocked their bootloaders and got an RMA with no issues. I just did and I specifically mentioned that I unlocked and installed custom rom in my ticket with Nvidia. I wouldn't worry about it plus I believe you can relock easily if you want to.
[Shield Tablet Android Development] mankow04:
Hi all,

I am relatively new to flashing kernels, but I am using Blisspop and trying to flash this kernel. After I install through CWM and reboot my device sticks on the Cynogen logo.

Thanks!
[Shield Tablet Android Development] Oldarsegames:
I just flashed this using flashfire. it worked. Is there anyway this kernel can fix the otg support issue or is that beyond kernel tweaks? Thanks! =)
[Shield Tablet Android Development] BitOBSessiOn:
Have you tried with TWRP instead CWM ? Have you flashed DTB file AFTER unzip it... ?
[Shield Tablet Android Development] BitOBSessiOn:
Proper OTG support depends on Kernel + System helper to manage it. In theory kernel has enabled this option, and both Stock and CM like roms can manage OTG... so I suspect anything is broken after OTA 3.0 sources in kernel... I want to revise latest kernel source after this last source updated when I have time.
[Shield Tablet Android Development] BitOBSessiOn:
USB OTG (mass storage) working on Stock and latest Bliss with KSX-052 (latest 052 DTB flashed)...

After change my OTG cable... first one did not work [emoji15]
[Shield Tablet Android Development] TessellatedGuy:
Thanks, it's online again![emoji3]

---------- Post added at 01:25 PM ---------- Previous post was at 01:23 PM ----------

OTA 3.1? Likely, as nvidia updated the SHIELD Portable and the Tegra Note 7 both to 5.1 recently.

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

I find this kernel very progressive...... I was back from my work I left home for, for 5 days and you guys jump from 45 to 51 straight up massive improvements, and in 1 day.....KSX-052, kudos to TeamBliss and all who are working hard and keeping this kernel updated!
[Shield Tablet Android Development] supertory:
thanks , um could you tell me what's a high speed TCP congestion alg ?
[Shield Tablet Android Development] BitOBSessiOn:
Here you are info about HSTCP and other algorithms.
[Shield Tablet Android Development] leogeeko:
DTB is working like a charm. Thanks for this!
[Shield Tablet Android Development] leogeeko:
Use device control on play store to change that other settings
[Shield Tablet Android Development] Lltp:
The DTB files completely solved the charging problem.

Thank you very much BitOBSessiOn for your hard work!
[Shield Tablet Android Development] drewski_1:
i tried flashing the DTB and got "error: out of memory"
[Shield Tablet Android Development] BitOBSessiOn:
Can you detail steps you've followed?
[Shield Tablet Android Development] johnnystuff:
I waited few days before posting this because I wasn't sure it was related to the new DTB file/partition/whatever it is. Anyway since I flashed it I'm experiencing massive battery drains while the device is idle, like 70-80% in a day (actually half a day, 12 hrs). First it was an app in particular, I uninstalled it, then another one came out, I tried to move it to sd then I had to uninstall it too. Now it's a service that I cannot uninstall. I changed absolutely nothing except the DTB and all those apps were there before. Do you have any idea why? Still on KSX-051 here, Blisspop 3.6, wx_na_wf
[Shield Tablet Android Development] BitOBSessiOn:
I'm pretty sure that's not a kernel problem. I've been about 2-3 days before charging... Probably something is avoiding deep sleep... Which is the suspicious service...?
[Shield Tablet Android Development] johnnystuff:
Now it's the media scanner. But before it was science daily (an app) an nothing was wrong with media scanner, and so on. It must be related to the DTB since it's the only thing I flashed. No battery drain at all before that.
[Shield Tablet Android Development] BitOBSessiOn:
Can you try with newest KSX-052 + its DTB... ?
[Shield Tablet Android Development] drewski_1:
Boot to bootloader

Verified connectivity "fastboot devices"

Flashed with "fastboot flash dtb <filename.dtb>"

Received error "error: out of memory"

i did flash the 3.0 Full OTA and did not have charging issues on 052. Just wanted to try the "latest & greatest" :)
[Shield Tablet Android Development] TheLastBoyScout:
I'm running the latest kernel and DTB file with Blisspop 3.6 ROM, and this is for sure the smoothest that my tablet has ever been. No issues charging either.
[Shield Tablet Android Development] johnnystuff:
Ok I just flashed them. Everything looks ok (charging, connectivity to the pc, ampere......) but the battery is almost dead now, I'll let you know tomorrow or in a couple of days.
[Shield Tablet Android Development] lowsum:
+1 I got huge battery drain since I flashed the new dtb & 052. I tried flashing the old dtb back and now it won't charge at all. I'll try old dtb and earlier kernel to see if that works.

Edit: Old dtb won't charge anymore, even after flashing earlier kernel (051)...I'll try stock kernel next.

Edit2: Now that's weird, stock kernel & stock dtb is giving me bootloops... Constantly optimizing apps at boot and crash and booting again and optimizing etc... I guess I need a complete factory reset...?
[Shield Tablet Android Development] BitOBSessiOn:
In my Stock deep sleep works fine, and battery draining is correct. Maybe some app or service or particular ROM stuff... ?
[Shield Tablet Android Development] johnnystuff:
I can confirm draining is still there with 052 and its own DTB. Services that are draining are almost random, today is google play service, then the clock, then media scanner, then the email service...... All of them draining the battery while I'm at work and the tablet is NOT connected to the wifi nor anything else.

It must be something related to the new DTB. I'm 100% sure of that. I had a clean installed rom + ksx-051 and all the problems about the tablet not charging and not connecting to the pc but no battery drain at all. I flashed the new DTB, I fixed all the previous problem and gained a lot in responsiveness in general but I have those drains now. I haven't flashed anything else at all. Also same apps, some uninstalled now but really nothing else but the dtb. That being said, I'm not sayinf it's not kernel related, just that the trigger is the DTB. My 2 cents.
[Shield Tablet Android Development] duanim:
Bitobsession

Didn't flash yet the dtb file but I flash the 52 and I had to do factory reset because some boot loops and the optimization problems, I never had the problem with charging and optimization before, but sometimes I have boot loops, when some applicaticionits updating from Google play.

This kernel so far is good, the new update from nvidia is coming in the next couples days, I will wait for you for the following revision and new kernel

Thanks
[Shield Tablet Android Development] johnehle37:
Thanks

You all are awesome the new 52 is running incredibly smooth and the battery life is better than it is ever been
[Shield Tablet Android Development] BitOBSessiOn:
Thnx, [MENTION=6851994]johnehle37[/MENTION], Can you confirm if you have flashed DTB file from 052 and what your latest OTA version installed ?
[Shield Tablet Android Development] johnehle37:
No only the 52 with stock 5.1 3.0
[Shield Tablet Android Development] clown_from_hell:
My device is EU LTE, I flashed BitO-KSX-052-CM12.1-wx_na_do.zip on Steel01's CM 12.1, build cm-12.1-20150720-UNOFFICIAL-shieldtablet.zip, I get 'no SIM Card detected'. It's working fine with the default kernel.

Any ideas? I understand this is the correct version of the kernel, accoring to the 1st post - wx_na_do: LTE US (and RoW)
[Shield Tablet Android Development] silvercat:
Try wx_un_do
[Shield Tablet Android Development] BitOBSessiOn:
Yes, it's correct. There is not un_do version for CM. na_do should work ok, so if it doesn't then maybe it can be a ROM related issue...

Enviado desde mi SHIELD Tablet mediante Tapatalk
[Shield Tablet Android Development] BitOBSessiOn:
New KSX-052 UNIFIED Version

There is available a new (testing) zip (BitO-KSX-052-UNIFIED.zip) with a UNIFIED version of the kernel for three device variants and for stock and CM like ROMs.

Try this, if you have bootloops or crashes in CM 12.1 other than BlissPop. It should be compatible with ANY ROM version.

I've tested in stock 3.1 and latest BlissPop (CM 12.1) in my wx_un_do and it runs fine.

Feedback welcome.

PS: Big thnx to [MENTION=1416222]Steel01[/MENTION] for zip container and his help.
[Shield Tablet Android Development] Pilz:
I'm trying it now on my wx_na_do (LTE US model) I'll let you know how it goes.
[Shield Tablet Android Development] duanim:
I did try and I got a lot of messages the unfortanaly everything has stopped,when back with the originally 052 for stock.
[Shield Tablet Android Development] Pilz:
Its working fine, but my tablet keeps optimizing apps when I reboot. It didn't do this before on the stock 5.1.1 kernel
[Shield Tablet Android Development] BitOBSessiOn:
Which ROM are you running?

I'm on OTA 3.1 and it works fine (no DTB flashing because using last one from OTA 3.1). Flashed with TWRP 2.8.7.0 MultiROM from [MENTION=1416222]Steel01[/MENTION] .

Xposed or another mod...?
[Shield Tablet Android Development] BitOBSessiOn:
Not mine... All the apps...? Always?
[Shield Tablet Android Development] Pilz:
It doesn't say it just "optimizes apps" for 30 seconds without showing a tally of what its doing like it normally does. Its odd to say the least. The kernel works fine, but I did notice that I can't tweak the GPU frequencies in any kernel app because they crash if I click GPU is that nromal?

---------- Post added at 11:55 ---------- Previous post was at 11:11 ----------

Before I forget in running the stock ROM with nothing else besides root, TWRP and this kernel. I've tried several kernel apps including ElementalX, TricksterMOD, and Franco Kernel app. I love this kernel but it sucks not being able to mess with the GPU and to have it optimize but its all fine because it runs well.
[Shield Tablet Android Development] BitOBSessiOn:
I have in my list of pending things to study how to offer GPU tweak functionality...
[Shield Tablet Android Development] BitOBSessiOn:
Revised HDMI in Stock and Console mode seems to work fine.

Tested also in latest BlissPop and HDMI connection also works.
[Shield Tablet Android Development] Pilz:
I see, I though it was in there earlier but I must have been mistaken. I'm going to reflash your kernel and see if it fixes the other small bug. Thank you for your help and great kernel!
[Shield Tablet Android Development] BakaPhoenix:
This revision is already in the last 052?
[Shield Tablet Android Development] Garfield3333:
THX to BitO-K group !!!!!

Thx for supporting NVIDIA SHIELD TABLET.........

CM 12.1 Rom............

and Kernel is working smooth criminal......

BIG fat THX to all ........:good::good::good:
[Shield Tablet Android Development] duanim:
Ok my bad flash the latest OTA and bitob K 052 unified my god you are the man bitobsession.thank..

Stock Latest OTA nividia stock kernel cpu max/min 2.2ghz kernel auditor Antutu 58500.

Stock Latest OTA bitob K 052 unified cpu max/min 2.5ghz kernel auditor Antutu 62000

Both interactive .

Nothing more to ask for now. Running extra smoothl..
[Shield Tablet Android Development] BitOBSessiOn:
Yes, tested on KSX-052.
[Shield Tablet Android Development] rubene66:
Ksx-52 is working great in bitob ROM no reboot thanks for the hard work
[Shield Tablet Android Development] TessellatedGuy:
Just asking,

What kernel tweaking app do you guys use for this kernel?

BTW this kernel works wonders on ota 3.1, no bugs no errors and same performance as 5.1.

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

Which kernel app do you use yourself? Because I don't have an idea which kernel app has more functionality for this kernel.

I'm using kernel auditor right now..... Is that ok for this kernel?
[Shield Tablet Android Development] xanthrax:
I would say kernel auditor, quite complex and easy to use

Sent from my Darkside of 1+1
[Shield Tablet Android Development] Pilz:
I'm having issues "quick charging" since flashing this kernel. My Shield used to quick chargers fine using any of my 6 QC 2.0 chargers but not it won't charge above 1A for more than a minute even when the battery is at 20% or less. My tablet used to charge at 3A until it hit 90% but now it won't. I'm not sure if the 5.1.1 update caused this not; however I reverted back to the stock kernel and it still won't quick charge. I know its not listed as officially being capable of quick charging but it always has anyway until a few days ago when I noticed the estimated time to a full charge was 4 hours. My battery was at 75°F which is cool so no issues there. I've read about charging issues on here with the kernel but not quick charging ones hence why I'm asking. Its not the end of the world but i do miss being able to charge it a lot faster.

---------- Post added at 12:41 ---------- Previous post was at 12:40 ----------

ElementalX, or TricksterMOD usually. I have Franco's app as well but I prefer ElementalX 9/10 times. None of the 3 I use have more functionality than each other so I just pick the one I like the best.
[Shield Tablet Android Development] BitOBSessiOn:
Quick Charge (QC2.0) was officially disabled from OTA 3.0 because battery problems...
[Shield Tablet Android Development] Pilz:
I see, I only use OTA 3.0 for a few days before seeing the issues and downgrading. Is there a way to re-enable it? Do you know what the issues were? Thanks for letting me know; it sucks that they would disable such a great feature.
[Shield Tablet Android Development] Lltp:
They haven't disabled it just to annoy you, ye know. The thing is that with QC, the battery undergoes a much higher permanent capacity loss per cycle (due to poor battery design). There is nothing you can do yourself to prevent that.
[Shield Tablet Android Development] BakaPhoenix:
I noticed that playing Kai Ri Sei Million arthur the app freeze using this kernel.

Using it a 2,2ghz with interactive governor, deadline scheduler and fsync active.

What option should i change to make it run stable? (p.s. only the app freeze the os still works, but i noticed those freeze only with this kernel)
[Shield Tablet Android Development] Pilz:
I've used it on my Nexus 6 since I bought it last November and I haven't noticed any battery performance issues. I understand how batteries work and unless it's getting really hot and staying that way it won't adverse affect it more than usual. Anything you do to a battery will 'hurt' it overtime whether it's normal charging, qi or quick charging. Its all minimal in the end and I still want to use it regardless of what others opinions are. I'm not trying to be rude but rather state that I'm not worried about any issues regarding that.
[Shield Tablet Android Development] Pilz:
Disclaimer: Sorry for the OT

To add to my previous post quick charging doesn't significantly degrade your battery over normal charging. In this study on 4 cars (yes I know cars aren't phones but the theory is still the same for batteries) the quick charged batteries only lost 3% more over a prolonged period of quick charging. That's marginal and not enough to worry about in my book. If it were 10%+ then I would be a little concerned. I have a extended warranty for my tablet and phone so again it doesn't necessarily matter in my case. It can cause more stress but again it's not a big deal when I don't use it unless I need to which can be fairly frequently depending on the situation.

Source 1: http://www.greencarreports.com/news/1090954_does-quick-charging-hurt-battery-life-total-miles-are-more-important

Source 2: http://batteryuniversity.com/learn/article/ultra_fast_chargers
[Shield Tablet Android Development] drewski_1:
Well, there was the battery based recall . . . maybe related?

If so maybe quick charge comes back in an update post recall?

Sent from my Lollipop TF700T
[Shield Tablet Android Development] Pilz:
Its possible but not likely unless there was a flaw in the circuit design that allow the voltage to runaway and or over or under charge at high rates than are sustainable by design.

http://batteryuniversity.com/learn/article/lithium_based_batteries
[Shield Tablet Android Development] TessellatedGuy:
Best option — don't use deadline i/o scheduler for gaming, it is an unstable scheduler. Use cfq or bfq (prefer cfq, better performance)for your internal storage and fiops for you external storage.

If this doesn't help then try disabling Fsync, as I myself have noticed lags in UI and apps with it turned on. That's all that came into my mind ......... Otherwise it might be the app's problem as itsnot optimised for shield tab yet?

---------- Post added at 06:58 AM ---------- Previous post was at 06:56 AM ----------

Try formatting dalvik cache and rebooting...
[Shield Tablet Android Development] BitOBSessiOn:
Main problem with QC in Shield Tablet is because faulty battery problems. Exactly the commentary in source code is:

Disabling QC2.0 charging to avoid battery swelling issues.

In my case, my battery is a bit more fat than when it was new...
[Shield Tablet Android Development] Pilz:
That's really odd, I haven't had any issues with mine. I did notice that it would peak at 6A in the battery monitor app while charging which might be why. It would only stay up there for 1-3 minutes before dropping down to 4A which is still a ton of power.
[Shield Tablet Android Development] BakaPhoenix:
I noticed android mode the game to the sd, so maybe that was the problem, i also put cfq as scheduler and after 2h of playing didn't stuck so i guess was either deadline or the sd
[Shield Tablet Android Development] xanthrax:
I wish I can see some screenshots, 6A looks impossible, 6000mA... Maximum should be around 1700mA, 1.7A

The charger provides 2A so how can it charge that high?

Sent from my Darkside of 1+1
[Shield Tablet Android Development] tikizondo94:
Thanks

052-UNI=Fastest kernel to-date. My shield is running smooth as all get-out! Thanks!
[Shield Tablet Android Development] drewski_1:
Battery swelling happened to my Droid Razr Max . . . almost doubled in size :eek:
[Shield Tablet Android Development] Pilz:
It could be the monitoring app but I'm 100% serious. Let me look for them and I'll post them. If I can't find any then I'll downgrade to 2.2.1 and charge it to take a screenshot.
[Shield Tablet Android Development] Pilz:
I'm using my Nexus 6's "Turbo Charger" aka a Qualcomm QC 2.0 charger. Here are the screenshots of my tablet running v2.2.1 charging at 6.2A as seen in the Batter Monitor Widget Pro app by 3C. I'm not here to lie or spread nonsense and I wanted to show you that it is possible according to the battery monitor. I've verified this in another battery monitoring app as well. It could very well be wrong but the developer has good apps so I'm going to trust it unless given a reason not to. I set up the app using the standard profile that it recommends and that was it. I use it on my Nexus 6 and it usually peaks at 2.7A on a good day.
[Shield Tablet Android Development] xanthrax:
Ok, can you show me a battery discharge rate for few minutes using the same application?

I'm curious to see how much power is loosing on screen off

I'm not saying you're lying, u just wanted to know because I've never heard of 6A changing speed and I thought you're using the normal Nvidia charger not the turbo

BTW, how it shows when not using the turbo gadget?

Sent from my Darkside of 1+1
[Shield Tablet Android Development] TessellatedGuy:
Glad I could help :)

---------- Post added at 08:45 AM ---------- Previous post was at 08:40 AM ----------

Can you tell me if your battery is Y01 or B01 and have you given it up for a recall?

Mine says it's affected by fire hazard risk and I am not sure if I would like to give it for a recall as I do a lot of apps in it (Hate backing up huge apps), and there also haven't been any overheating issues of this tab even after overclocking....Wtf nvidia?

Or is it that your battery is fatter than before because it is Y01 status....
[Shield Tablet Android Development] BitOBSessiOn:
Mine is Y01 and my tablet is given up for recall... My recommendation... fill the form and manage the recall. You can use it normally until you get the new one.
[Shield Tablet Android Development] Pilz:
Sure I'll post some once I my tablet finishes restoring back to v3.1
[Shield Tablet Android Development] Pilz:
Here are screen shots of the discharge rate via that app. Its so high initially because I was downloading all of my apps again because I clean flashed the update.
[Shield Tablet Android Development] xanthrax:
There's something weird thought..

3000+ discharging it's too much but then goes to kinda normal

I'm using ampere and I've never seen more that 1200 discharging though the average settles around 300 on stand-by

I have a feeling that this battery monitor apps doesn't work purely accurate on all devices

Sent from my Darkside of 1+1
[Shield Tablet Android Development] drewski_1:
There are several options for how BMW tracks. It seems most accurate on Auto with Nexus devices. My LG G3 is way off like that.

Tried with Turbo Charger on 3.1 and was lower than stock Charger 1.1A vs 1.4A

Sent from my Moto X

---------- Post added at 09:01 AM ---------- Previous post was at 08:59 AM ----------

Forgot the screenshot

Sent from my Moto X