yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] Steel01:
[MENTION=2022239]VJmac15[/MENTION] changing model to a completely different device is never going to be supported, especially on an official build. Part of the initialization process is keyed off the model string, if that is changed, parts of the device will not work. An example would be the cell modem.

[MENTION=9740679]Sir Daniel III[/MENTION] Just this side of impossible. It's a closed source stack that we have no reference code for at all. Several of the tegra devs across several projects put time into trying to make it work in various ways. None of us came up with anything.
[Shield Tablet Android Development] DabuPL:
I've been using the 15.1 build, and haven't encountered any big issues so far, nice job [MENTION=1416222]Steel01[/MENTION] :D

The lack of HW video isn't so bad, watching 720p60 streams on Twitch is absolutely fine, it struggles at 1080p60 tho. I'm not complaining, expected worse.

One minor issue I've found, is that LiveDisplay (that feature that tints the screen orange at night) doesn't seem to be working for me. Not sure if it's a Lineage problem or just this build. Oh well.
[Shield Tablet Android Development] Gitah.:
What about Youtube? How is it working?
[Shield Tablet Android Development] pierg75:
Does anyone know if any custom kernel works on 15.1?

I've been using the bio one on 14 and it gave a nice speed up.
[Shield Tablet Android Development] DabuPL:
When it comes to regular 30 fps videos even 1080p seems fine to me. But 60 fps content is choppy, at 720p as well, have to drop down to 480p in that case, which sucks.
[Shield Tablet Android Development] Sir Daniel III:
How about game performance like PUBG, Minecraft, Supercell games, etc?
[Shield Tablet Android Development] hly17_7:
Flash official?

Hello Steel01,

the official build is available indeed on the lineage website. Thanks for making this happen.

Now I would like to switch from your last unofficial version to this official one. What should I delete and flash to have the least amount of reinstallation work?

Thanks in advance for your reply.
[Shield Tablet Android Development] ricelid:
Sorry if this was answered at some point in the thread, but is hardware video decoding expected at some point, or is it infeasible?
[Shield Tablet Android Development] ST Dog:
Repeatedly answered. Most recently (last night)
[Shield Tablet Android Development] priisek:
Hi

Please help with my k1 tablet.

I have unlocked & rooted device, installed twrp & flashed to 15.1 but it failed.

Now when I try to go to twrp via ADB, the PC don't find Tablet. I've tried to boot tablet & all I get is a Nvidia logo. If I try biting with power button & volume, it bits to screen with continue etc. But nothing seems to do anything.

Please help.

Thanks

James
[Shield Tablet Android Development] TheKicKer69:
I flashed literally everything for the Official Lineage 15.1. Factory reset then format data then cache system wipe. mindtheGapps NEVER works for me (since i've been using Lineage Gapps never worked . i used pico ARM for the official one. i always used pico or micro

Roger
[Shield Tablet Android Development] DabuPL:
I tried PUBG and it was absolutely fine. I had occasional stutters like once every 5 minutes, but that's probably a PUBG bug. The frame rate is fine though, feels like constant 60 fps.

I mean Steel can correct me if I'm wrong, but pretty sure the lack of HW acceleration means just video. Games shouldn't be affected.
[Shield Tablet Android Development] Sir Daniel III:
Oh nice! How about battery life when browsing the web, playing games, and watching YouTube (with no HW acceleration)?
[Shield Tablet Android Development] TheKicKer69:
It can tackle any game. Literally
[Shield Tablet Android Development] Sir Daniel III:
Except for Fortnite ?

(It's not made to run on ARM devices...)
[Shield Tablet Android Development] aliveanddead86:
WOW Blitz isn't too good either with it. But still a decent tablet in this day.
[Shield Tablet Android Development] Lyokacanthrope:
Hey [MENTION=1416222]Steel01[/MENTION], if one were to work on building another Lineage 15.1 based ROM ourselves, would it be best to best them off the repos on the lineage github or the cm-shield gitlab.incom repo?
[Shield Tablet Android Development] chanunnaki:
yeah, I think the LiveDisplay feature is GPU driven. I've experienced the same thing unfortunately. and one streaming app i tried for "testing" (popcorn time, *cough*) produced unwatchable glitched video.

---------- Post added at 09:22 AM ---------- Previous post was at 09:16 AM ----------

Wut? I'm very surprised about the lack of HW acceleration without rewriting the NVMM stack. That's a real shame, as the hardware is literally the only reason I use this tablet. I noticed the device getting extremely hot just watching YouTube. The overall interface is a lot snappier though in general.

Does anyone have a guide for downgrading back to 14.1?

(btw, I ungraded to 15.1 from 14.1 without a hitch with the latest TWRP)
[Shield Tablet Android Development] jemail:
I don't think there is any special procedure for downgrading, just clean flash a 14.1 ROM. I'm sure others will correct me if this is wrong.
[Shield Tablet Android Development] Steel01:
In general, use upstream LineageOS repos if you want stable and CM-Shield if you want the bleeding edge of whatever I'm working on. But note, I make no guarantees that CM-Shield will boot at any given time, and sometimes it won't even compile. It's my work area. I do my best to keep it in decent shape, but it doesn't always happen. In the case of 15.1, there's not much difference anymore, a couple small things like non-working attempts at fixing touch rotation in console mode. Probably not going to be any more significant development for 15.1 either. Now 16.0 on the other hand... I doubt that will even compile atm, it's in so much flux right now. If I can finish what I'm trying to do though, things will be so much better going forward from a developer side.
[Shield Tablet Android Development] DoZe2:
Joypad P2570 (OEM for Shield tablet & Shield TV)

Problem to connect the Joypad.

Trying all AVRCP version, but no luck : "Unable to connect".

i've seen this post :

https://xdaforums.com/showpost.php?p=70327116&postcount=56

is there's a chance to obtain a working one with LineageOS ?

Regards.
[Shield Tablet Android Development] Steel01:
Wirelessly pairing the first gen nvidia controller hasn't been supported since 12.1. The spider web of internal dependencies hasn't been completely unravelled yet. Though, at this point, the closed source libraries required to support this are arm64 only, so this isn't likely to ever work on custom ROMs unless someome with java user space knowledge helps rewrite those from scratch. Which... There's a better chance of that than there is nvmm getting fixed. I know most of the plumbing needed for this, I just don't have the frontend GUI/android userspace knowledge to put anything usable together.

Edit: I suppose I should answer the live display comments too. Yeah, in the past, live display 'worked' because there was a gpu compositing fallback. However, that would break things like Netflix that didn't like their 'protected' streams being tampered with by userspace. I've got a work in progress patchset that properly implements the color transforms in the kernel (written originally by one of the mocha devs), however it's still funky. Horrible flickering when changing settings, if you set any of the colors too high, the display will go pure white or turn off completely. Etc, etc. It's in no shape to ship right now. So atm yeah, live display just doesn't work.
[Shield Tablet Android Development] xconwayx:
I made the jump from rooted stock to this.

TWRP Version 3.3.0-0

I used 2 different nightlys.

8.1 Pico Open Gapps - Hope this is the right version. New to Lineage.

128GB Sandisk Ultra XC1 setup as portable storage.

I have had to wipe this tablet a few times. It works for a small amount of time and boot loops back into TWRP. I advanced wiped, Dalvik, System, Cache, Data, Internal and Micro SD Card. On top of a Wipe, on top of repaired the ones I can.

Had it running great. Play Store updates were sitting at download pending, so I rebooted today and it just boot loops. Removed the SD card and I can get in for a minute or so before it reboots into TWRP.

Any ideas on what to do? I assume as this point it's go back to stock.
[Shield Tablet Android Development] Steel01:
[MENTION=1009956]xconwayx[/MENTION] Well, I do have to say I've not seen anything like that before. Can you do a hard power off, boot direct to Android, let it panic to twrp, then upload the files from /sys/fs/pstore/ somewhere? Those should be the logs from the last boot cycle. Maybe something in there will jump out to me.
[Shield Tablet Android Development] ShieldUser1:
So tried out 15.1 - it's not bad, but I don't know if I'd call it stable. For now I'm going back to 14

Issues I experienced:

Major:

Enabling encryption creates a boot loop, at which point the only solution is to reflash. Tried this twice, once with root, once without. Same behavior both times. This worked fine with 14

Battery life is pretty rough - I'm getting roughly half the life I had under 14

Launchers don't seem to get the same app priority they did before - switching from a full screen application back to home causes a noticeable delay before icons start appearing again

Minor:

Bluetooth audio seems a tad unstable - get millisecond audio cutouts. It's mostly fine though.

Can't enable LiveDisplay at all

PrivacyGuard doesn't seem to want to disable itself for specific apps even when you tell it to

Lots of random app crashes (including Lineage settings apps)
[Shield Tablet Android Development] bland.life:
15.1 worked fine enough for me, though my use for the tablet is rather basic.

One thing though is that Nvidia Games crash once every boot but after that everythings seems fine.
[Shield Tablet Android Development] Adai0:
I've successfully upgrade one of my tablets to LOS 15.1. Before that I've updated TWRP to 3.3.0-0.

So far: encrpytion still wokrs, OpenGApps pico work. Only minor issue: NVIDIA games app crashes right after boot.
[Shield Tablet Android Development] xconwayx:
Thank you for the quick response. Did a full wipe and am trying it again. It seems to be working. I will try this if it happens.

Thanks!
[Shield Tablet Android Development] Adai0:
I can confirm this. However you can encrypt the device in LOS 14.1 and then upgrade. This works.
[Shield Tablet Android Development] Steel01:
The nvidia games crash on boot is known. I don't know why it does that, though. It really should have the permissions it needs to do what it's doing. *shrugs*

The encryption thing is worrisome. I'll try to look at that this weekend. I don't use encryption, guess that's why I never noticed.
[Shield Tablet Android Development] ShieldUser1:
I'd point out that 14 doesn't appear to have NVidia games installed, just the console mode (I think....can't remember if I uninstalled it). Maybe it was removed for a reason.
[Shield Tablet Android Development] radier:
Why the first post isn't updated?

If I knew that such a core feature like hardware acceleration is not working I wouldn't bother in switching from stock ROM. I appreciate developer hard work but what is a point in using Oreo on this device without its basic feature in most cases? In stock multitasking sucked, but any kind of video players worked like a charm. For device with good screen and front firing stereo speakers it is a must.

I could live without console/gaming part in Oreo but not hardware acceleration.

BR,
[Shield Tablet Android Development] Drigga:
Hello,

is there a way to run GeforceNOW on 14.1?

I installed nVidia Games 5.6 and logged in, but can‘t acces GeforceNow Library.

Regards.
[Shield Tablet Android Development] yuningning520:
hey, can i install to mipad1 use this rom?
[Shield Tablet Android Development] fernseher:
Thanks for your work and this great rom! Works great in my case - only thing is that the camera crashes with every app I tried.Is that a known problem?
[Shield Tablet Android Development] ayan15:
Nice development here.. Battery efficient than the official.. Been waiting for year to unlock this beast til you guys came.. New life for my tab.. Keep it up..
[Shield Tablet Android Development] fards:
I'm seeing battery issues with this one. I've had it on charge all night and it hasn't charged at all.

That's using original charger and cable.

Doesn't have enough charge in it to drop into bootloader mode to flash a stock dtb

EDIT: Very odd. plugged it into my DEV pc and it powered on.

Obviously not enough charge to stay on, but its getting there.

Flashed last stock before starting again with Los and it's charged fully in 3 hours . Cool
[Shield Tablet Android Development] DipsoNOR:
Is the post about no hardware acceleration true?
[Shield Tablet Android Development] Snah001:
Yes it is.

[MENTION=1416222]Steel01[/MENTION]

Flashed weekly update by using Lineage update app and works perfect.

Thanks again for your dedication!
[Shield Tablet Android Development] daniver:
What is wrong with the nvmm stack and why does it need rewriting? Have the interfaces changed between versions or is it something more major than that? Is there a known spec it has to follow or is it case of trying to reverse engineer from existing kernel binaries / source code? The reason I ask is I am a developer; a bit rusty on C/C++ but I'd be willing to take a look at the task if it doesn't involve years of code tracing / debugging / reverse engineering first..
[Shield Tablet Android Development] Steel01:
That latter part would probably come into play... It's been a while since I traced it, but I remember a few pieces. The library that causes issues is libnvmmlite_video.so. I followed the logs to a function that calls some create surface function. And that's where stuff blows up. I'd have to re-run it all to give more information than that. Another piece of info: This works on foster and other tx1 devices, cause their libs got updated. Unfortunately, that video lib doesn't work on tk1 devices. Though, someome with a bit of decompiler knowledge may be able to compared the two and figure out a shim to the broken function. Though, that would be a bandaid that could break again soon. I'd much prefer to see the entire stack rewritten as open source software.
[Shield Tablet Android Development] daniver:
So a shared library has the issue, you think; is it user space or linked into the kernel? If it is user space, how is the library accessing the video decoding hardware; just memory mapping, syscalls or something else.

I'm guessing API changes between Android versions is the cause of the incompatibility and hence the crashes; or is it kernel changes? What enables hardware decoding verses default software decoding?
[Shield Tablet Android Development] Steel01:
It's all userspace. I've not dug through the interface to the kernel. I'm relatively certain it's not a kernel issue, though I can't guarantee it. I updated the kernel in line with the shield android tv and made a few small fixes to get the tablet booting again. Though, the kernel that had working hw accel on N didn't work on O, so again, pretty certain kernel is not the issue. Most likely, it's android api changes. Passing something different, etc.

https://review.lineageos.org/c/LineageOS/android_device_nvidia_shieldtablet/+/245535

That was the change to disable hardware codecs. That file ends up in /system/etc on device. Take out the comment characters and check logcat on boot and when trying to play a video to see what's going on.
[Shield Tablet Android Development] 0mad:
I'm going to ask 2 super rookie questions here, but in my reading I can't find an answer that makes sense.

1) Since installing LoS 14.1 from stock, fastboot doesn't seem to do anything. This doesn't bother me, I just sideloaded 15.1 using TWRP. But, why? Have I missed something?

2) When upgrading to 15.1, I had trouble fitting OpenGApps in the available space (I had to grab pico in the end to solve this). But it doesn't appear I'm short on space now it's up and running and I can look at the storage data. Again, anything I'm missing?

Thanks.
[Shield Tablet Android Development] drewski_1:
It's System partition size, not Data. GApps log should give you the details of what happened.

That said, I use Super with a config file to max out the space on System

---------- Post added at 03:26 PM ---------- Previous post was at 03:24 PM ----------

For Fastboot, you don't see the device? Or commands don't work?
[Shield Tablet Android Development] HairyMilkshakes:
Where can I find older versions of LOS? The update is making the device LAG.
[Shield Tablet Android Development] groegerjo:
There is a link on page 89 where you can find it...
[Shield Tablet Android Development] Snah001:
Flashed the weekly update.

Runs just fine.

Thanks [MENTION=1416222]Steel01[/MENTION]
[Shield Tablet Android Development] Terri08:
Hello, thanks for updates.

Is there any way to connect Nvidia Shield Gamepad on this rom? I can't find how.

It was the option in settings to connect gamepad, but I can't see such option on this rom. If there any way to connect Nvidia Shield Gamepad to Nvidia Shield Tablet on this rom, please tell me how.

Thanks.
[Shield Tablet Android Development] drewski_1:
No lag issues here so far.
[Shield Tablet Android Development] chrisssj2:
Tried to flash it using TWRP. Got

E3004 this package is for device shieldtablet: this device is .

ERROR 7

Error installing zop file/external_SD/lineage-15.1-20190429-nightly-shieldtablet-signed.zip

Any idea?
[Shield Tablet Android Development] Steel01:
[MENTION=5256591]chrisssj2[/MENTION] update twrp
[Shield Tablet Android Development] chrisssj2:
Ok figured out how to update the TWRP.

Tried again and it seems to be installing..! So is this really better then stock rom?
[Shield Tablet Android Development] Steel01:
Um. Shieldtablet is shieldtablet. There's no difference between the models that the software cares about. The so called 'k1' is a first gen tablet minus the stylus and partitioned slightly different. And... Flash the image via fastboot? The lineage wiki walks right through the process.
[Shield Tablet Android Development] Sir Daniel III:
Well Lineage OS 15.1 lacks Hardware acceleration... (AKA Goodbye HD High Bitrate Video streaming)

I'm not sure about battery life on LOS 15.1 but I know that 14.1 has great battery life cause I got double the amount I got from stock (mostly when watching YouTube).
[Shield Tablet Android Development] Steel01:
Also consider, video acceleration is not the same as 3d acceleration. What's broken is video/movie playback. The cpu can handle a fair amount of video formats just fine. Uber high bitrate has issues, even some YouTube 1080p stuff (though as pointed out, not all). Also, no secure decoding, aka no Netflix. But yeah, games should work just fine. I tested borderlands tps a while back and it ran just fine (as fine as it can on a k1 soc, that is).

But yeah, also as mentioned. Contributions welcome.
[Shield Tablet Android Development] flex1911:
Thread cleaned. Don't feed the troll, better report it immediately.
[Shield Tablet Android Development] chrisssj2:
I wasn't trolling at all. but fine whatever you want sir moderator.
[Shield Tablet Android Development] Terri08:
About 2019-04-29 Update

Two days ago I has updated to "lineage-15.1-20190429-nightly-shieldtablet-signed.zip" and recieved battery leak (from 70% to 10% for night without usage) and randomly drops of Adguard applications.
[Shield Tablet Android Development] Snah001:
Have no problems at all with the build.

I loose overnight 3 % charge.
[Shield Tablet Android Development] pierg75:
Sometimes the tablet doesn't charge. Happened again last night, I had to reboot it to make it working.
[Shield Tablet Android Development] Bounceme:
I went from 14.1 to this 15.1 and i really hate it.

Performance stutters, sound is terrible and the tablet freeses, and restarts randomly.

I dont know how to logcat (sorry), and i have not done wipe after update (do i have to?)

Can anyone help.

Thanks in advance.

Bounceme
[Shield Tablet Android Development] banksio:
You don't have to, but a factory reset will probably solve your issues. It runs fine on my tablet.
[Shield Tablet Android Development] chrisssj2:
I have another issue with this rom. First clean boot the camera seems to work. but upon taking the picture it will freeze and eventually say "can't connect to camera"

Then retries after will not initialize the webcam further untill a reboot is made.

But then the problem simply repeats. Any suggestions?
[Shield Tablet Android Development] tissot:
Its a Nightly and its allready a known issue.

So sit tight and relax. Perhaps some smart person is going to fix that in the future.

Lets hope so anyway.
[Shield Tablet Android Development] chrisssj2:
Can you circumvent it with a 3rd party app to take pictures?
[Shield Tablet Android Development] Alastor89:
Using the stock Nvidia camera app consistently work both to take pictures and record videos without crashing on official 15.1 nighties. I shared a flashable zip in this thread or in the other one. The zip itself does not work but if you extract the files and place them under /vendor, after a reboot the Nvdia Camera will work. Unfortunately this weekend I don't have too much time, but for the next week I should be able to fix the flashable zip and share it again.
[Shield Tablet Android Development] chrisssj2:
Yeah.. resetting all my apps/settings and files.. I defintely want to do that. I mean thnx for letting me know But i'll be stuck on this rom for the next year or 2 now that I have set it up...
[Shield Tablet Android Development] Steel01:
Well, broken camera was not something I was aware of. I've got a guess what the issue is, but I'll have to do some experiments this weekend. If all goes well, I'll have it fixed for Monday. But as usual, weird things happen, so no guarantees.
[Shield Tablet Android Development] Bounceme:
Well now i did a factory reset, and the tablet works a little better, sadly now the GPS dont work.

After installing it a few times more, and resetting it many time i finally got GPS working, but now WIFI wont turn on.

Now i will go back to 14.1, or somthing else :(
[Shield Tablet Android Development] Bounceme:
It seems that i loose GPS when i root.

How do i root without loosing GPS?

Sendt fra min CLT-L29 med Tapatalk
[Shield Tablet Android Development] chrisssj2:
Another problem I noticed. Constantly Starwars galaxy of heroes

Constantly giving me a popup that com.ea.games.capitalgames.CapitalGamesApplication is having trouble with Google Play Services if the problem presists, please contact the developer for assitance. And thus it is crashing like every 5 minutes.. Really annoying.

If im lucky I can play for 15-20 min. But mostly crash every 2-5 min...

It is the only game I play. I have this tablet more or less for this game...

Also "Nvidia games has stopped" Is another error I get alot.

Other then that it seems smooth sailing..
[Shield Tablet Android Development] pitoganzado:
[MENTION=4721612]Bounceme[/MENTION] where we can get the 14.1? Thanks!
[Shield Tablet Android Development] keelsonkeelson:
Camera is not that important for me on a tablet,so I would appreciate it!
[Shield Tablet Android Development] NinjaCoool:
Oh yeah right, Shield K1 do have a Camera. Lol. Nope, rarely use it too. :D
[Shield Tablet Android Development] didicola:
[MENTION=1416222]Steel01[/MENTION] what about low memory killer?

is it fixed? can you make some mod or something so as to take advantage of the full 2 gb ram?

i am asking because my nexus7 2013 has way batter memory management than K1

now i am using 5.1.1 official rom so as the condition is better
[Shield Tablet Android Development] ereinhart:
I've had the original tablet since first release. I have never used the camera.
[Shield Tablet Android Development] fpozar:
I only use the front camera every now and then, don't really care about the back camera. Anyways, thanks for your hard work.