yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] Steel01:
Wow, lots to catch up on. Posting from my tablet, so this isn't going to be fancy.

I'm starting to slow down on development on this a bit. Now, I'm not stopping completely, but I'm not spending five hours a night either. I'm focusing on show stopping bugs for the moment, so keep the bug reports if you see problems.

Audiofx wasn't the problem, huh? Too bad. But I was kinda surprised to hear that was the problem. I'll have to continue looking into it then. Maybe I'll pull the libs from nvidias aosp and see what happens.

I'm glad to hear the wakelock isn't specific to the ROM. Wasn't looking forward to debugging that. But that isn't the only gapps problem I've seen recently. Was getting force closures on stock too. The last update does seem pretty bad.

The USB otg line will be easy enough to add to the build. I'll do that next time I touch the device tree. Good catch there as well.

[MENTION=5880696]djharris10[/MENTION]:

I really want to know how you made the WiFi auto connect. Like was asked before, did you change any settings. Either way, can you post a logcat? Might help to figure out the real difference.

And I've got a problem maybe some other devs or people in general could help with. Kodi doesn't accept touch in this rom. I had the problem with the old cm11 build too. But it works great on stock. Does anyone know what triggers that on and off?
[Shield Tablet Android Development] djharris10:
I am having difficulty getting the logcat made, I have never done a logcat so I hope you bear with me on that. I can tell you what I have done which strangely caused it to happen. I don't know if it made any difference. But what I did was I flashed the March 19th build using ROM manager, which I then didn't let the tablet completely restart, force restarted it into my TWRP recovery (which I use the unofficial one obviously) flashed GApps, XPosed Framework Beta 2 for Android Lollipop, not sure if kernel is part of it either, I used the multirom one, but I rebooted the tablet and did the initial setup as normal. I then installed GravityBox LP from the XPosed installer, rebooted the tablet expecting to have to re-connect to my WiFi manually, but it was already connected. If I can get a Logcat working, I will gladly attach it. Apologies if that sounds kinda complicated.

As for settings I have potentially changed for my wifi advanced settings, i didn't even know I could mess with those >.> I'm still decently new to AOSP, I have an HTC One M7 Sense edition alongside this tablet.

---------- Post added at 02:39 AM ---------- Previous post was at 02:09 AM ----------

For the people who want a logcat from me, please private message me your email address. For some reason I'm not allowed to attach log files.
[Shield Tablet Android Development] C0BRA01:
Junior members can't upload. I don't remember where the break is. 50 posts maybe?

---------- Post added at 09:01 PM ---------- Previous post was at 08:58 PM ----------

Had my tablet asleep a few hours, and had to manually connect WiFi. So much for that. :)
[Shield Tablet Android Development] djharris10:
Oh that explains it...thanks for that information. Sorry about that folks!
[Shield Tablet Android Development] kickassdave:
Thanks. But by flash, I mean a zip I can just shove on the internal SD and tap "flash" in recovery.

Just a tiny but easier than the full process which I've ran through before.
[Shield Tablet Android Development] thefiqs:
I can't find that. Where it is?
[Shield Tablet Android Development] BitOBSessiOn:
Ummh... I don't know if there is a zip from stock for custom recovery... I haven't seen it at the moment. As you say, it'll be interesting.

Can be Flashify or similar apps an option?
[Shield Tablet Android Development] kickassdave:
Needs to be done via computer. It's not too painful, just not great when your computer isn't convenient.

A flashable zip would be great. Just need one of these geniuses to create a "stock" ROM.
[Shield Tablet Android Development] C0BRA01:
From the lack of response, either no one is on AT&T or everyone else's is working on LTE?
[Shield Tablet Android Development] BitOBSessiOn:
I can confirm that data (not sure if LTE, I can try to confirm) on RoW version woks.
[Shield Tablet Android Development] C0BRA01:
I was not really separating the two. Data on LTE is not working.

Thanks.

I wonder if it is an APN setting?

Checked, if it is, it is identical to the ATT PLA setting on my phone, so probably not. :(
[Shield Tablet Android Development] Steel01:
It works on T-Mobile for me. Did you get a sim missing warning on first boot? Can you post a log somewhere?

For those that can't attach a log directly, there are sites like pastebin where you can dump large amounts of text.

The full ota zips are flashable from recovery. I haven't tried using one to make a multirom secondary, though. Using the multirom kexec boot image probably won't work well with cm, so I'm keeping stock as the internal ROM for now. I would have made a cm boot image with kexec, but Bogdans patch doesn't work right even after fixing the diff header typo. And I haven't got Bogdan to fix his patch, either.
[Shield Tablet Android Development] BitOBSessiOn:
I've compiled stock source kernel (OTA 2.2.1) with KEXEC_HARDBOOT patch merged from [MENTION=2672500]SuperPichu[/MENTION] github (because the same problem with diff file from [MENTION=4937137]Bogdacutu[/MENTION], thnx to both for their work). It works on stock, and it boots in the primary stock, but when trying to boot a secondary I get a reboot to multirom boot manager... Playing with it...
[Shield Tablet Android Development] Steel01:
As far as I can tell, the version [MENTION=2672500]SuperPichu[/MENTION] has is identical to the one [MENTION=4937137]Bogdacutu[/MENTION] has posted. Most of the reports in SuperPichu's thread say multirom doesn't work and only one says it does (haven't checked in a week or so, may have changed since). I'm trying to recreate the kexec patch based on the hammerhead patch like Bogdacutu said he did (on the Tegra hangout channel), but haven't got very far. Need to port the dtb changes to kexec-tools to Tassadars latest as well.
[Shield Tablet Android Development] _Fidor_:
Hi,

I've found a temp solution for wakelocks problem. A CLI commands ("pm enable....") as described in http://xdaforums.com/google-nexus-5/general/script-google-play-services-battery-t3059585 works for me. However judging from from second post in thread above the permanent fix was applied to CM sources:

http://review.cyanogenmod.org/#/c/91579/

http://review.cyanogenmod.org/#/c/91021/

So could you use the updated CM sources as the base for next relase?
[Shield Tablet Android Development] Steel01:
Sure, I'll run builds overnight. Guess I should add the usb otg change as requested by someone else earlier first. though.
[Shield Tablet Android Development] mitarai:
Installed this thingy yesterday and it seems pretty reliable. (well it's actually difficult to make a worse OS than nVidia) Apart from some occassional freezes it runs very smoothly and battery also isn't the worst. So good work. I think this may have potential.

One bug I found - google maps crash when opened, even after cache wipe and wiping the apps data...

Odoslané z SHIELD Tablet pomocou Tapatalku
[Shield Tablet Android Development] Steel01:
Haven't had time to finish up the last couple things yet. I'm on vacation for a bit now, so I'm hoping to take a couple of those days to work on cm stuff. If I can just get widevine to work, I think I'll release an unofficial build. I don't know if I'll be able to get the camcorder issue fixed before Nvidia officially releases N or not.
[Shield Tablet Android Development] Steel01:
I *think* I got wvm working for cm-14.1. Netflix is happier at least, if not completely allowing everything. Doing more testing and seeing if some of the other devs can take a look. After that, I get to work with the sepolicy stuff a bit before I can make a release. I had most of them caught up, so hopefully that won't take too long.
[Shield Tablet Android Development] techwiz24:
Anyone else having problems with video playback glitching out horribly? Lots of artifacting / corruption and flashing in youtube. HTML5 videos play for 3-4 seconds and then video stops (sometimes audio keeps going, sometimes it buffers forever). I've tried 2016-12-04 and 2016-12-12.

I updated from 12.1 because I was experiencing freezing (media would periodically play at like 1/8 speed). AFIK The only requirement is updating to the 4.x series bootloader (which I used from the OP).
[Shield Tablet Android Development] beitme:
I'm also expriencing problems with video when played through web browsers.

Many web pages fail to load properly as well. And the system freezes and reboots often.

Not sure if I did anything wrong in installing the rom. Wasn't sure about the firmware portion of the instructions. I installed the firmware marked for mashmallow. Now my bootloader is listed as unknown in kernel adiutor as well as on the bootloader.

Disappointed so far since I bought this device because it was one of only 2 or 3 tablets that had cm available for it.

---------- Post added at 07:23 PM ---------- Previous post was at 07:10 PM ----------

This one isn't on cm website
[Shield Tablet Android Development] smokinjoe2122:
Can someone post this build or any well working November build since it is no longer on the CM website? Thanks!

Update: Found 11/18 build here:

https://download.cyanogenmod.org/?device=shieldtablet

Update2: Cannot get Camera to work...Any suggestions? Is it the Gapps version I'm using? (latest OpenGpaps)

Update3..Installed BitO-k8, cleared caches, all is well. I'll stop typing now
[Shield Tablet Android Development] :
We hope so! :D

BTW: Latest nightly works without problems.
[Shield Tablet Android Development] smokinjoe2122:
So, I'm fairly new to this device, but have a pretty decent Android background. I flashed Cm13, installed BitO-K8 kernel, and performance wise, the device is an 7.5-8/10....My question is with RAM usage...I know this device only has 2 GB of RAM, but I cannot seem to have more than 3 apps in memory (Hangouts\Gmail\Twitter, ect) without complete app reloads while multi-tasking...Should this be expected with the 2GB of ram? Anyone have any tweaks or suggestions?

I am stopping startup on quite a few apps with Greenify, but it really only seems to help battery life..
[Shield Tablet Android Development] brandon88tube:
I need some help! I just installed the 4.2.0 firmware because I was planning on going from a Lolipop 5.1.1 CM to the latest nightly and now my tablet stays on the Nvidia logo at boot.

Edit:

Luckily I was able to hold down the Volume Down + Power to get fastboot working, but I discovered that the latest CM Recovery(cm-13.0-20161219-NIGHTLY-shieldtablet-recovery.img) is broken for my tablet. It loads upside down and locks up if I try to do anything. Luckily the latest TWRP(twrp-3.0.2-2-shieldtablet.img) saved me.
[Shield Tablet Android Development] davidplz:
[MENTION=511915]Steel[/MENTION] are you going to be working in the fork of CyanogenMod?
[Shield Tablet Android Development] Steel01:
Yeah, all shield development will be continued under Lineage Android OS. Guess this means I'll need to make new threads, huh...
[Shield Tablet Android Development] ghostman256:
I'm still getting green video artifacts, I tried latest nightly build and also 11/18 , full wipe and also tried the bit0 Kernel
[Shield Tablet Android Development] techwiz24:
Anyone have a mirror of the latest nightly? getcm resolves and seems to function correctly, but they shut down the official mirror...
[Shield Tablet Android Development] ToHellWithGA:
I have it but I blew my monthly mobile data quota getting it, concerned that I might not be able to get it by the time I'm next on WiFi. I'll upload it to Google Drive soon - remind me if I don't add a link to this post by Friday.
[Shield Tablet Android Development] hectoralexgarcia:
It's still available at cyanogenmod.org using direct link for now...

https://download.cyanogenmod.org/?device=shieldtablet

http://oss.reflected.net/jenkins/189298/cm-13.0-20161219-NIGHTLY-shieldtablet.zip
[Shield Tablet Android Development] fpozar:
Hey, just wanted to report a few bugs in case you want to continue your awesome debelopment. So firstly, buttons settings don't work as they should. What I mean by that is that some long press actions don't work after I set them (screen lock and menu for example). Next bug is quite big, my device is constantly awake even though I greenified (root) 90% of my apps and wakelock detector cant see the problem as well. Ill try scanning system apps for wakelocks and report back again if I find anything. But other than that, the rom is great! Combined with pico gapps and kx8 kernel so I can OC when gaming, the experience is so much smoother and faster than on stock, great work man.
[Shield Tablet Android Development] Steel01:
Battery life does seem to vary greatly person to person. Even on the same device, I've seen. Doing development, I reinstall all the time. Most of the time, it's fine for what I'm doing. Other times, I can turn around and find 20% gone (not quite, but still). If you can find something OS level that's seems to cause an issue, by all means let me know so I can look into it.

Buttons... That I don't know much about, is more of a general CM thing than device specific. I'll try to remember to look into it and report upstream if needed.
[Shield Tablet Android Development] brandon88tube:
I've noticed video artifacting in YouTube and Netflix with the cm-13.0-20161219-NIGHTLY-shieldtablet build, but who knows what's going to happen now that CM is dead and they are trying to move to Lineage OS.
[Shield Tablet Android Development] jeremy803:
odd bug in Security settings

I'm currently running cm-13.0-20161118-NIGHTLY-shieldtablet and noticed an odd bug in the Security settings. If you go to Settings -> Security, it is missing the first page or so of the security settings (starts out at Encrypt Tablet instead of the General section). I discovered a work-around to see all the security settings, just try and install an APK from a file, it will say not allowed and direct you to the Security page to enable installing APKs from files, and going to the Security settings this way ends up displaying all the Security settings correctly.
[Shield Tablet Android Development] mikeskid07:
I'm seeing the same thing in Firefox. A video will start, be very buggy/laggy/artifacty, then go green with the audio never skipping a beat. I wonder if it would be worth flashing Temasek's build overtop of this until LinOS is up.

I wonder if LineageOS will carry on 13 development or only move up to 14.

In the mean time, has anyone successfully gotten Adaway or DNS66 to fully work with CM13 on the Shield?

Thanks guys!
[Shield Tablet Android Development] Steel01:
I'm still debating that actually. I'd like to just go with 14.1, but I keep finding more issues. If I can't fix them to where I'm happy using it, I'm definitely not shipping it to anyone else. We'll see where I'm at when we're ready to start rolling nightlies.

I've not had these video issues people keep talking about. I'll try a few things to see if I can get it; but if I can't, there's not much I can do to fix it.
[Shield Tablet Android Development] brandon88tube:
Well, hopefully this can be worked out because I gave this to my mother as a Christmas present and she keeps on getting artifacts and stuff like the camera app keeps crashing... I'm not even sure what to move to that would be more stable in the meantime. In case you were wondering it's a 16GB WiFi model prior to the K1.
[Shield Tablet Android Development] ereinhart:
If I were you. I would keep it stock if it's a present for someone else
[Shield Tablet Android Development] Steel01:
That sounds like the blob hasn't been updated. The latest release changed some low level dtb stuff with the camera, so that might be the problem. I just linked a 4.3 blob flashable zip in the OP. Try that and see if at least the camera problems go away.
[Shield Tablet Android Development] brandon88tube:
Thanks, I'll try this out and hopefully it fixes things.
[Shield Tablet Android Development] mikeskid07:
I (re(I think)) flashed the 4.3 blob, and away went the green screens, still slightly artifacty if recents is full though. But slight, and only if multiple firefox tabs and bacon reader and and and are in recents. Thanks for the great work!
[Shield Tablet Android Development] fpozar:
I don't think the buttons bug is CM specific because I have a phone with official CM13 on it and the bugs I had mentioned aren't there.

To everyone with poor battery life while not using the device, here is what I did : first uninstall as many google apps as possible which you can find a replacement to in play store (PDF readers, all the play music or play videos apps, e-books and whatever), it seems to me that google apps are buggy, also try using the latest version from opengapps. Secondly, download greenify and greenify all the apps which don't have to sync a lot (instagram, perhaps facebook if you don't care about notifications, youtube etc.) and also enable the agressive doze option.

Those steps helped me solve my battery issues, without them the ROM is so good! Well done Steel, keep up the good work, there is little left to do now. :)
[Shield Tablet Android Development] brandon88tube:
With the 4.3 blob, the stock camera locks up, but the shield camera seems to be OK. Also haven't noticed the artifacts that it was getting before.
[Shield Tablet Android Development] multiwirth:
Hello community,

i want to buy a new tablet and i think the shield tablet would be just perfect.

But how is the cm13 rom on it?

"Known issues: touch does not work in some games"

Is this a big problem?

Are there any updates planned (lineage os) ?

Thanks
[Shield Tablet Android Development] Shadow53:
See the following quote about planned updates:

In terms of tablets, the shield is a good one, especially foe gaming, BUT from my experience the custom roms for it are having a number of issues. It is mostly usable, but there are annoyances.
[Shield Tablet Android Development] Steel01:
Yeah, I'm still trying to work out those issues. Think I might have got one knocked out, but I'm doing some more research and tinkering to make sure I get it right.

There's other stuff that makes it difficult to keep things straight. Like, almost every recent kernel update from upstream Nvidia has had accompanying dtb changes. But afaict, there's no way to check the bootloader version to make sure the device is on the right version. Suppose I could ship appended dtb, but that might not even catch everything. But it might get a lot closer. I should look into that... But it's not gonna be high on the priority list.
[Shield Tablet Android Development] multiwirth:
I will follow this project until I have this tablet.

My old tablet is really poor and useless.

The rockchip 1ghz cpu can´t handle the simplest things like browsing or the like.
[Shield Tablet Android Development] multiwirth:
Hello again!

I found two different models of the shield tablet:

The Nvidia Shield:

http://www.gsmarena.com/nvidia_shield-6601.php

And the "newer" Nvidia Shield K1:

http://www.gsmarena.com/nvidia_shield_k1-7832.php

Only the K1 is avaiable to buy.

So the question is:

For wich one is this rom designed?

The hardware seems almost identic, so is it only a newer design of the device itself?
[Shield Tablet Android Development] Steel01:
Pretty much all of the custom ROMs can run on all variants of the shield tablet. The couple that don't are pretty explicit in their opening posts. I put a lot of time in early on to make sure the unified ROM stuff worked. But yeah, there's no quantifiable difference in the core specs of the original wifi only tablet and the so called K1 tablet. I just wish they still sold the LTE model. I recently cracked the screen on my daily driver (my test device is practically shattered already) and I can't replace it now. :( Oh well, at least the touch panel is amazing. Even if the display is completely shattered like one of mine, touch is still dead on accurate.
[Shield Tablet Android Development] brandon88tube:
Speaking of accurate, in the original NVIDIA ROMs, you were able to adjust the sensitivity of the touch screen. It seems in any of the CM ROMs I've used, this option is missing. I'm one of those that happens to have the issue where I can be a few millimeters above the screen and it may think that I touch the screen when I haven't. Being able to adjust this was nice and I very much miss this feature.
[Shield Tablet Android Development] Steel01:
Hmmm... Is there not a calibration utility? I've never looked since I've never needed one. Guess I can ask around, though.

Alright, time for a little teaser. This isn't ready for release yet, but I've confirmed that I can make it work. HDMI audio is *finally* working. The workaround I have working is only confirmed on cm13/lineage13/M based ROMs, however. I have my doubts about being able to shoehorn this into N, but I haven't tried yet. Currently, I'm holding out while trying to get a code based fix, but I might never hear back on that part. So if I don't by later this week when I have some free time, I'll polish up an unofficial build of lineage13 and release it.
[Shield Tablet Android Development] Steel01:
Alright, finally getting this release out. A few things to note.

1. This is lineage release. Not all the rebranding is done yet, so expect to see some CM references still. However, it's still pretty much cm-13.0, since most of the work is focused on 14.1.

2. HDMI audio works. Kind of the point of this release. I tried to use the same workaround in 14.1, but no such luck.

3. I've been fighting out of memory issues for a while. Persistent apps closing, Soft reboots from time to time. Etc. So I've tried a few different things to remedy that. This build has zram reenabled to see if it helps. Will have to run it at load for a few days to say one way or the other, though.

4. Side note. The shield android tv gets official N next week. The corresponding code drop will be pretty close behind. I'm hoping to kang a bunch from there even before the tablet officially gets N. And hopefully I can get it up to par so I can release 14.1. Read, the current stuff I have for 14.1 doesn't make my cut, that's why I haven't released it yet even though my device tree is being used in other releases.

lineage-13.0-20170114-UNOFFICIAL-shieldtablet.zip

P.S. And even more good news. A patch was merged last night to Retroarch to finally fix our touch issue! Go check out the buildbot website or fdroid repo for builds that *finally* work for us.
[Shield Tablet Android Development] suhridkhan:
All these are very exciting. Thanks for all your work.
[Shield Tablet Android Development] bandofbrothers:
got it installed as a second rom, HDMI seems to be working pretty good. The only real issue is that the navigation bar dosnt fully go away unless you go into the extended desktop system setting, even then some times it pops back up when typing on a bluetooth keyboard. (see SS) This blocks being able to click in that area.

Also, not sure but WIFI seems randomly slow (play store never went over 500KB/s) Could just be something on my end, but thought id share.
[Shield Tablet Android Development] Fidelator:
Does this version keep the App optimization settings Nvidia included in the stock ROM? Does it support the color management and modes included in the stock ROM?

Thank you
[Shield Tablet Android Development] :
No and no
[Shield Tablet Android Development] john_matrix:
Thanks Steel for your first Nougat build! ;)

Can we install regular OpenGApps? (because on some other topics, they talk about Dynamics GApps)

Edit: Seems that I have been mistaken by the "lineage" name, this build is still MM :)
[Shield Tablet Android Development] garou_umbra_warrior:
Does the lineage just posted work over the cm13 originally posted for a dirty install? Or is it a different path to go down?
[Shield Tablet Android Development] skythian:
Dirty flash worked fine for me.