yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] minieod:
I can't find shield hub on the play store?is there a way to bring hub and all that here for downloading from it. Trine is $17 ...

Also. Looks like banks gapps fixed my fc. Will report back.
[Shield Tablet Android Development] Keithn:
I can download shield hub using the newest build. Trine 2 does cost money, it was included on the stock ROM which is why you didn't have to pay for it. It was located in /vendor/libh on stock, if you want to try pulling it and loading it up on vanir.

Sent from my SHIELD Tablet
[Shield Tablet Android Development] Enterprise-D:
Update : Still no luck, FC are coming back :(

I will try now with bank gapps...
[Shield Tablet Android Development] Unjustified Dev:
Give me a logcat and kmsg please.
[Shield Tablet Android Development] Gilbot:
It seemed like the gapps I was using was causing the fc. A full wipe and clean install using CM 11 gapps (lite) worked without issue. Unfortunately, my external SDcard was not showing up, which I need for my music obsession.
[Shield Tablet Android Development] Enterprise-D:
Can you specify wich gapps cause the FC, and the one you are using now ?

Thanks.

---------- Post added at 08:55 PM ---------- Previous post was at 08:47 PM ----------

Here is my logcat :

https://www.dropbox.com/s/fijlaljvlcacld8/2014-09-01-20-44-25.txt?dl=0

(The FC correspond to "start timeout" lines)

Thanks.
[Shield Tablet Android Development] Gilbot:
http://wiki.cyanogenmod.org/w/Google_Apps

Fewest FC:

Version: CM 11 20140606

EDIT: figures minutes after I say this I get random force closes ?
[Shield Tablet Android Development] Enterprise-D:
:(

So, we are three to get FC, right ? (Gibot, minieod, Enterprise-D)
[Shield Tablet Android Development] Unjustified Dev:
I seen some things about binder. I just merged another commit from nvidia back porting latest binder building now I abandoned this commit since I got it to build with it I guess these changes are for 3.10 kernels they are found in the master branch of android git and it isn't likely going to be another release of android with these commits. The next release will most likely be Android L. Hopefully this is the issue.
[Shield Tablet Android Development] Enterprise-D:
Another issue I meet is that my shield tablet isn't compatible anymore with some non nvidia apps on the play store, such as NOVA 3, or multipicture live wallpaper

About multipicture live wallpaper, it works very well with stock rom 1.1, but with vaniraosp, it is showed incompatible on the play store.

I can still sideload the apk, but after installed, it was as if this app didn't exist, Nova Launcher can't recognize it (in live wallpapers, it says app not installed), there is no icon in the app launcher, and when I try to open the app via Titanium backup, it redirect me to a "classic" wallpaper selection screen.

Very weird.
[Shield Tablet Android Development] Unjustified Dev:
And they are compatible on stock correct? If you could pm me the apk to decompile I will check and see
[Shield Tablet Android Development] Enterprise-D:
Here it is : http://www.tamanegi.org/prog/android-apps/mplwp.html (developer's website indicated by the play store)

Yes, it was compatible on stock.

Thanks a lot

Update : Simply search for "live wallpaper" on the play store, a lot of them are shown as incompatible...
[Shield Tablet Android Development] Unjustified Dev:
Found the issue for that one will be fixed next next build I already finished one.
[Shield Tablet Android Development] Keithn:
Nova 3 isnt showing as compatible on stock 440 either
[Shield Tablet Android Development] noneabove:
What's the RAM usage like after boot and after awhile of being booted/used but with no apps open?
[Shield Tablet Android Development] minieod:
Nice. Yeah my fc came back. Less than with pa gapps. But still happen. Hopefully the next release is fixed. You think this is something that needs a full wipe or just dirty?
[Shield Tablet Android Development] Unjustified Dev:
I can't really say honestly. I would suggest a clean flash because I did change a few files , but if you dirty flash and have issues go ahead and clean flash and log. The build is already uploading and I'm already ready to reply with the changes. Should be done in 10mins.
[Shield Tablet Android Development] minieod:
You guys rock
[Shield Tablet Android Development] Unjustified Dev:
New build is up https://www.androidfilehost.com/?fid=23622183712465625

Changelog from me

device/nvidia/shieldtablet

* shieldtablet: SELinux permissive

* Attempt to fix usbdrive denied error

* shieldtablet: Add missing libgov_gpucompute.so

* shieldtablet: Build libaudio-resampler

* shieldtablet: Remove useless attempts at adb in recovery (this was fixed in recovery)

bionic

* Regenerate binder header

frameworks/native

* Merge backport of new Binder API
[Shield Tablet Android Development] Enterprise-D:
Unfortunately, I still get FC on the latest build (dirty flash)
[Shield Tablet Android Development] MRobbo80:
I will install l8r and provide a log cat :good:
[Shield Tablet Android Development] minieod:
Same here. worse than 831 build I think ..this is on a clean flash
[Shield Tablet Android Development] FroyoShark:
My touch screen's been locking up after the screen turns off on both builds, even when the lock screen is disabled.
[Shield Tablet Android Development] Enterprise-D:
Latest built,my tablet sometimes freeze completely or can't wake up (Have to do a hard reboot)
[Shield Tablet Android Development] minieod:
you mean when you turn on the screen and there is zero responsiveness from the screen? i get this, too. can't swipe the lockring to unlock, cant do anything. i can hold power and get the power menu, but cant select any of the items.

i have to hold power to turn off, then turn on. works for a bit, then starts to lock up again when turning on the screen.
[Shield Tablet Android Development] Enterprise-D:
I get this too, but the two others (tablet freeze or can't wake up, screen doesn't turn on) are different issues.
[Shield Tablet Android Development] MRobbo80:
Guys any chance one of you can supply a log cat please I cannot get to my PC :crying:

The only way the dev can fix this issue is by seeing what is wrong. I will try to get a log when I can get to PC.
[Shield Tablet Android Development] minieod:
Download catlog and use that on your tablet to make a log
[Shield Tablet Android Development] FroyoShark:
Yep, that's exactly what's happening. Sometimes it works fine though, but most of the time it will lock up.
[Shield Tablet Android Development] Gilbot:
Edit
[Shield Tablet Android Development] MRobbo80:
That would be great but the dev prefers the proper way.
[Shield Tablet Android Development] minieod:
what are you referring to?
[Shield Tablet Android Development] Ksehwail:
Have you tried using 2 fingers when it gets "locked up".... I did this and for some reason it recognized my using two fingers rather then 1
[Shield Tablet Android Development] MRobbo80:
Use pc adb I don't like

those chopped up logcats I see apps give.

In settings developer options enable adb root

adb logcat > logcat.txt

adb root

adb remount

adb shell cat proc/kmsg > kmsg.txt
[Shield Tablet Android Development] Enterprise-D:
Returning to stock for now, too many FC :(
[Shield Tablet Android Development] Gilbot:
So, I applied this (http://xdaforums.com/nvidia-shield/general/shield-tablet-source-factory-t2840406), not thinking about it wiping my userdata (Good thing i had little user data to care about). The problem is that the pure AOSP build linked has issues with exfat SDcards-they show as damaged and when you try to reformat the OS reboots. That's a deal breaker because this tablet is my media device and all of it is stored on my 128 gb sdcard.

I then proceeded to wipe and instal Vanir. Vanir runs with pretty much no issues alongside the "small" gapps CM11 package (http://goo.im/gapps/gapps-kk-20140105-signed.zip). No Force closes. Can't speak for the screen locks, but for the time I had it loaded, i didn't experience any. Once again, the only problem is SDcards. I still cant get it to read my 128gb sdcard.

I suggest a userdata wipe, that seemed to be the best way to install this rom with no issues (other than Sdcard)
[Shield Tablet Android Development] Keithn:
exFat is an issue with licensing. It is something that can be made to work, (obviously since it does on stock / other places) but it looks like the support isn't there in many places because of it. Example with twrp http://teamw.in/exFAT. So a kernel with the proper additions made into the source could potentially solve it.

I did find this https://github.com/dorimanx/exfat-nofuse. I don't have too much expirence with this stuff but I will see if I can get something to compile with that.
[Shield Tablet Android Development] Gilbot:
Ahh, it makes sense now. If you do compile a pure AOSP ROM with exfat support that'd be awesome. No worries if not.
[Shield Tablet Android Development] Keithn:
The module is compiled but I haven't tested it yet. Module Download

push it to /system/lib/modules and try running insmod on it (insmod /system/lib/modules/exfat.ko). I would test on something you don't care if you loose data on, just in the case that it gets corrupted or something. I don't have the time to play with it right now, so I can't test it myself.

This will just be a test to see if this works, you'll have to insmod it every boot to load the module if you want to keep using it.
[Shield Tablet Android Development] Keithn:
http://d-h.st/MpI Made a build with the module compiled with the kernel. I haven't tested yet.
[Shield Tablet Android Development] ssj3hulk:
In the currently used Kernel, what is the thermal policy? Is the kernel going to lower the CPU/GPU frequency when certain termperature is reached ?
[Shield Tablet Android Development] Keithn:
Not sure, this build is using the vanir source with the only changes being that I am trying to add the exfat module. It does look like it has a generic thermal driver, not sure beyond that.

The exfat stuff didn't seem to work. I'll post if I figure anything out.
[Shield Tablet Android Development] Gilbot:
Will try later!
[Shield Tablet Android Development] Keithn:
Didn't seem to work properly for me but if it still doesn't work for you please grab a log. I asked a kernel dev about it and it seems like I'm on the right track at least. Don't have much more time to put into it tonight though.
[Shield Tablet Android Development] ssj3hulk:
Would it be possible to manually tweak it so the cpu and gpu frequency always be the highest available ?

With the stock kernel even if I use a third party app to manuall lock the cpu frequency to maximum, if a certain temperature is reached, the cpu frequency will be lowered and the mhz starts to jump. Maybe this is even causing some games to run choppy.

Would it be nice if the CPU and GPU frequency would always run on maximum.

The Shield Tablet has really good temps even if running 4 cores 100% compared to other devices, like the Xiaomi Mipad or LG G2 phone so if cpu and gpu frequency would always run maximum, it would not kill the device.
[Shield Tablet Android Development] Keithn:
I'm not sure where/how to tweak the settings. I am trying to get exfat to work first then I might try playing with some other things.

Also here is a boot.img for a kernel with exfat. It is untested for now. https://docs.google.com/file/d/0B46-y8opd1H-ckhHSE4za01SLU0/edit?usp=docslist_api
[Shield Tablet Android Development] Gilbot:
No luck using that boot IMG in place of the aosp one. If I need a kernel to use alongside it, I haven't tried that
[Shield Tablet Android Development] Keithn:
The boot image is the kernel. I may need to compile with another toolchain. Need to check logs though and see if I can figure it out.
[Shield Tablet Android Development] Gilbot:
Well, don't I look stupid? But yeah, I replaced the boot.img and flashed it. The sdcard still shows up as damaged. Appreciate the efforts.
[Shield Tablet Android Development] Enterprise-D:
Does anyone still experience force close on latest nightly ?
[Shield Tablet Android Development] Keithn:
Looking into the log I don't see where the issue is, it saw my sdcard and appeared to mount okay but showed up as a 0GB in storage. I'll see if I can find another card to test with in the case it is causing an issue.
[Shield Tablet Android Development] Keithn:
Try this one
[Shield Tablet Android Development] Gilbot:
Haven't got a chance to try it, thanks to being sick. I'll give it a whirl tomorrow morn
[Shield Tablet Android Development] Keithn:
I tested it and was able to use exfat. The nice thing about the shield is that it looks like custom kernels should work on stock and custom ROMs. I used it on both cm and stock.

Sent from my One M8
[Shield Tablet Android Development] Wulfpk:
This rom loves to force quit and do this on me... Not sure what's doing it I haven't changed anything major, yet.

Sent from my SHIELD
[Shield Tablet Android Development] Unjustified Dev:
Use cyanogenmod vanir toolchain is the issue I believe don't have time to change it and build again
[Shield Tablet Android Development] Wulfpk:
Cool, I'll try that then. :)
[Shield Tablet Android Development] terra.ce Jones:
nvidia shield portable

will this work on the nvida shield portable
[Shield Tablet Android Development] rejectedjs:
No, dude...Like, what? Why are you in the Shield Tablet forums asking for a ROM for the portable?

[MENTION=4911249]Unjustified Dev[/MENTION] I just checked the nightlies link and I see the last nightly was built on the 20th and is for the 5.0 build and not 5.0.1. Are these builds based off of pure AOSP or NVIDIA's ROM? I'd really like to see NVIDIA's 2.1 Lollipop update with Vanir's optimization skills.
[Shield Tablet Android Development] Martin_Ro:
Vanir Lollipop is based on CyanogenMod 12.0
[Shield Tablet Android Development] derekmt95:
Help?

So I know all about flashing ROMs but I can't seem to figure out this tablet. Every time I try to flash a custom ROM it just boots to a black screen. Can I get some help here?
[Shield Tablet Android Development] seniorstew:
Same here.. Wiped system and everything in cwm, Flashed rom gapps and su.. It keeps bootlooping with the Nvidia splash screen any ideas?
[Shield Tablet Android Development] xero110:
+1

Question to OP. Will we see a new build? If not I will try to build this ROM sometime this week/weekend. If it functions and the OP doesn't mind I'll post it.
[Shield Tablet Android Development] berryman13:
I'm working on porting vanir L5 with all NVIDIA binaries included. Any interest in a 5.0.2 ROM?
[Shield Tablet Android Development] pjim:
Just do up Cyanogenmod. I am so sorry to make a request, this tablet screams out for AOSP. I use CM12 on my M8 and it is flawless, I love it! This tablets hardware and a small clean ROM.....WOW!
[Shield Tablet Android Development] srihari210:
That would be awesome... Waiting for your upload
[Shield Tablet Android Development] rejectedjs:
Good god man. Now we're talking, I might be really excited to use my Shield Tablet again now. You hurry up with this release or I'll...I'll cry ;~; God I can't wait! Thanks

---------- Post added at 12:44 PM ---------- Previous post was at 12:41 PM ----------

Eh? I'm not really sure about that..I mean, I've tried Vanir 4.4.4 on my Droid DNA, as well as CM, and I think Vanir definitely offers a more AOSP-like experience than CM. Maybe it's different on other devices.
[Shield Tablet Android Development] notyu1459:
Nah.....who wants that?

.......

GIMME
[Shield Tablet Android Development] rejectedjs:
I was gonna say xD
[Shield Tablet Android Development] darkmuffin:
.....

.................

YES!
[Shield Tablet Android Development] kickassdave:
I think we've all been patiently waiting for an AOSP build that still allows the Nvidia apps to function properly.

I recently got the controller and been streaming my PC games and it is a brilliant experience, so pure AOSP without that is really not an option.

Take your time (obviously) and I'm sure you will find sincere gratitude from us all if you are successful :)
[Shield Tablet Android Development] berryman13:
I can't do this alone.

Fear not, as I have seen many developers on XDA start out just the same....TommyTarts' Quantum Kernel for the AT&T GS3, KT747 Kernel by Ktoonsez, all began with experimentation and the learning followed...

So I need some other people who know their way around git, know their way around linux and have the time to spend with me looking for solutions. I'm right now fully synced with CM and the Shield source, now I'm working on merging the 2.
[Shield Tablet Android Development] notyu1459:
I know what you mean, being an i747 owner, myself. I'm surprised the development scene for either Shield Tablet hasn't exploded yet, considering how friendly Nvidia is to it. They are straight up handing over the source to us and saying that they will still repair it even if you softmod it as long as its not broken as a result of your fiddling.

Speaking of fairly priced devices made by a company super friendly to the development scene, the Oneplus One has the most rapidly expanding scene I've ever seen (no pun intended), and that's become one of my favorite features about the device. Seriously, the thing has a practically uncountable number of Devs, custom ROMs, and even kernels! They have that many KERNELS.

That being said, why aren't some of the Devs that have been attracted to the Oneplus One also attracted to the Shield Tablet? Sure, not everybody has the money, but someone's gotta.
[Shield Tablet Android Development] Fransis88:
New versión 5.0.2? Link please?
[Shield Tablet Android Development] Hashbang173:
What device tree and kernel are you using?
[Shield Tablet Android Development] berryman13:
Not decided yet. Haven't decided on the final goal (VANIR AOSP, AOSPA, CM12, Slim, etc..) but leaning towards cm-12.0, then abandoning that once it's churning out nightlies to focus on a super-duper-mega-customizable VanirAOSP or Blisspop ROM.

I have partnered up with my new friend @ t1mz0r and together we think we can at least get CM-12 with the NVIDIA features working.

but for your question, here are the trees i'm looking at:

Device:

https://github.com/TeamRegular/android_device_nvidia_shieldtablet

Kernel:

https://github.com/TeamRegular/android_kernel_nvidia_shieldtablet

Vendor:

https://github.com/TheMuppets/proprietary_vendor_nvidia/tree/cm-12.0/shieldtablet

ALSO I have the entire latest lollipop ROM source sitting in it's folder, it's 12GB in total. That includes the stock kernel, stock ROM..
[Shield Tablet Android Development] pjim:
One vote for CM12!
[Shield Tablet Android Development] Hashbang173:
I've got a 5.0 ROM compiled, untested since I don't have the device. PM me if you would like to test, (and arn't afraid of a brick).

The trees I used: Kernel Device-wx_na_wf Device-shieldtablet Vendor was the same as yours I think.
[Shield Tablet Android Development] Keithn:
Once the device tree is updated with the 5.0 stuff I'm sure there will be a few ROMs, that's the easier part.

The 4.4 tree did compile fine, so hopefully what unjustifieddev came up with will be a good place to start.

Sent from my HTC M8
[Shield Tablet Android Development] silasje1:
I vote for Nameless rom (don't know if you can vote but like the rom a lot! Been using it for most of the time on Find7a)

https://nameless-rom.org/
[Shield Tablet Android Development] Keithn:
Keep in mind those haven't been touched since KK.

Sent from my HTC M8
[Shield Tablet Android Development] Hashbang173:
I updated the kernel from nvidia source.
[Shield Tablet Android Development] danjull:
I got eos compiled with those trees slightly modified, and merged stock kernel and it's a no booter so far. Missing some vendor parts. Got them all extracted from the factory image, just haven't had time to go through what's missing yet.
[Shield Tablet Android Development] Hashbang173:
Can you send me the vendor files by any chance? Or put them on TheMuppets? The current ones are out of date.
[Shield Tablet Android Development] Unjustified Dev:
That's your problem you can't extract them from the factory image as aosp doesn't support nvidias optimized binaries you will get a crash somewhere I forget every time, but if you sync from nvidia and build aosp 5.0 or whatever your interested in those blobs are not nvidia optimized and allows the build to boot. [MENTION=3710905]Keithn[/MENTION] can confirm the builds based on stock image do not produce a working rom.
[Shield Tablet Android Development] Hashbang173:
My the custom roms on 5.0 I've been building boot, but have many bluetooth crashes and WiFi doesn't work.

The trees I used:

Kernel

Device-wx_na_wf

Device-shieldtablet

Vendor

Very hard for me to build, since I currently do not have the device.
[Shield Tablet Android Development] Unjustified Dev:
If somebody syncs and build aosp 5.0 I'll update my trees based on it shouldn't take nothing but a few hours. I don't have time to build and update trees at least not this week.
[Shield Tablet Android Development] danjull:
Well, the boot looping build is so far 100% muppets binaries and your device tree.

"libnvhwc_service.so" needed by "hwcomposer.tegra.so"

was my first error from that logcat. But I haven't had much time to spend the tablet yet. Just got it last week and came down with the stomache bug.
[Shield Tablet Android Development] Hitorijanae:
Sorry to come into the thread like this, but I'm really at my wit's end and I don't know where else to ask, so since you guys have been working on porting through source, I figured this is the best place to ask. I've been building an AOKP rom, and, while it boots up fine, SystemUI force closes continually. I have a logcat, but I can't figure out what the problem is.

https://drive.google.com/file/d/0Bzd9a2_EJuXaUFJXQ0pCYW44OUU/view?usp=sharing
[Shield Tablet Android Development] danjull:
I have to look at it on my laptop. On my phone now and that's a big log... But standing out on a quick glance

W/WallpaperManagerService(21977): Wallpaper service gone: ComponentInfo{com.android.systemui/com.android.systemui.ImageWallpaper} W/WallpaperManagerService(21977): Reverting to built-in wallpaper! I/ActivityManager(21977): Process com.android.systemui (pid 17168) has died W/ActivityManager(21977): Scheduling restart of crashed service com.android.systemui/.SystemUIService in 0ms W/ActivityManager(21977): Scheduling restart of crashed service com.android.systemui/.ImageWallpaper in 0ms W/ActivityManager(21977): Scheduling restart of crashed service com.android.systemui/.keyguard.KeyguardService in 0ms
[Shield Tablet Android Development] Hitorijanae:
Yeah, because I can get everything working, Wi-Fi and all, just systemUI
[Shield Tablet Android Development] Keithn:
I can do that at some point, probably this weekend.

Sent from my HTC M8
[Shield Tablet Android Development] vinman07a:
If somebody could upload their blobs to themuppets that would be fantastic.
[Shield Tablet Android Development] Unjustified Dev:
When we get 5.0 CM working. I will do so. The sleep/touch issue was the reason it never got official support.
[Shield Tablet Android Development] vinman07a:
I'm working on the same thing:) what have you changed locally from the github so far? What is the sleep touch issue???
[Shield Tablet Android Development] danjull:
Ah, I wondered why cm didn't have any shield trees while I saw all these cm forks.
[Shield Tablet Android Development] Keithn:
I have my Linux computer compiling from the r2 branch now. Hopefully it will be fixed with that, because it seemed to be an issue on nvidia's end. Mine had some slight issue with that even while on stock on some earlier builds.

Sent from my SHIELD Tablet
[Shield Tablet Android Development] danjull:
Well, I got boot. Just having random reboot issues an no working wifi. It was a hack build though, so issues was to be expected.

If a group of people would be interested in starting a Hangout for some collaboration work, shoot me a pm and we can get going. Unless there's one already going. If so, shoot me an invite :)
[Shield Tablet Android Development] Bogdacutu:
count me in too
[Shield Tablet Android Development] cheep5k8:
I would also like to participate. Thanks!
[Shield Tablet Android Development] vinman07a:
we could chat on irc