[ROM] [UNOFFICIAL] LineageOS 15.1 for Shield Tablet OMX | Camera working

Search This thread

NorTrek

Member
Aug 2, 2011
12
1
Hi Everyone

The new October Build is out and ready for download here: October Build

Unfortunately i wasn't able to recover my build signature and had to make a new one. That means everyone needs to do a clean install to use this build just updating as usual isn't possible !

I'm sorry for inconvenience and i did a backup from my signature this time 😅
I wiped everything, but still it crashes a lot when starting upp, then it reboots and get loops.
What can be the problem ? Clean install
 
Last edited:

Scavenger87

Senior Member
Nov 6, 2019
110
82
Nvidia Shield Tablet
I wiped everything, but still it crashes a lot when starting upp, then it reboots and get loops.
What can be the problem ? Clean install
Hi

From which version/rom you starting ?

Is your bootloader updated to the latest ?

Which version of twrp you are using ?

Which opengapps package you are using ?

Does it even boot into the homescreen or crash on the bootscreen ?
 

NorTrek

Member
Aug 2, 2011
12
1
Hi

From which version/rom you starting ?

Is your bootloader updated to the latest ?

Which version of twrp you are using ?

Which opengapps package you are using ?

Does it even boot into the homescreen or crash on the bootscreen ?
Bootloader 4.00.2016.04
lineage-15.1-20211018-UNOFFICIAL-shieldtablet
TWRP 3.5.1.9.0
I am trying without gaps, and it still crashes. but when i tested gaps i used the latest Arm Pico version.

I get crashes like:

android.process.media Has Stopped​

 

Scavenger87

Senior Member
Nov 6, 2019
110
82
Nvidia Shield Tablet
Bootloader 4.00.2016.04
lineage-15.1-20211018-UNOFFICIAL-shieldtablet
TWRP 3.5.1.9.0
I am trying without gaps, and it still crashes. but when i tested gaps i used the latest Arm Pico version.

I get crashes like:

android.process.media Has Stopped​

Ok interesting which device do you have ? (OG Shield Tablet, LTE or K1)

I never had any of this errors on one of my devices and i own all 3 versions.

For further bugfixing i need a logcat file and please try to reinstall first the factory recovery to exclude a corrupt file system
 

NorTrek

Member
Aug 2, 2011
12
1
Ok interesting which device do you have ? (OG Shield Tablet, LTE or K1)

I never had any of this errors on one of my devices and i own all 3 versions.

For further bugfixing i need a logcat file and please try to reinstall first the factory recovery to exclude a corrupt file system
I have the Wifi K1

I manage to get it working, but now i have a problem
I use the tablet for navigation in my boat, and it get super hot.
And the power usage is as quick as i charge, so i had to turn it off.
What can be the problem since it is running so hot ?
 

Scavenger87

Senior Member
Nov 6, 2019
110
82
Nvidia Shield Tablet
I have the Wifi K1

I manage to get it working, but now i have a problem
I use the tablet for navigation in my boat, and it get super hot.
And the power usage is as quick as i charge, so i had to turn it off.
What can be the problem since it is running so hot ?
Glad to hear you got it working on one side but on the other side that with the heating up and quick discharge doesnt sound good to me. Which navigation app do you use ?

For me it sounds like your battery is dying from here but i will check that out please do me a favor and dont use this device on your boat until i know if your navigation app is heating up the tablet with my build because i dont want to be responsible when it burns down your boat or you getting lost because of the tablet 😅
 

Xenomorph613

Member
Nov 25, 2015
10
2
24
As i mentioned before some Games are direct related to the Shield Devices and need some specified libaries which need to be added to this Rom. But for this i really need detailed Errorlogs and even then its not sure i can fix those issues due possible incompatibilities of those libaries with newer android versions than nougat (7.0) but if you send me those logs i can give it a try.

In the October version of the firmware, there are indeed much fewer artifacts in the video. (actually, except for Chrome, as you said)
In terms of game changes, ARK Survival Evolve starts, DOOM 3 BFG Edition does not start due to a broken cache. I deleted the cache, let the game download it on its own and it started. The same cannot be said about Half-Life 2 ep.1 and ep.2. Those, as before, swear at the libraries, they give a sound, but at the same time a black screen (while entering Google Play Games is visible). With Half-Life 2, the same error occurs, but without a black screen, you can play.
I tried to get some information via catlog, I don't know if it will help or not.

In terms of autonomy, smart firmware, I installed a new BM51 battery (from the Xiaomi device) and the tablet began to work on average 5 hours of screen time, the total operating time can be 7 hours, and in standby mode without Wi-Fi, LTE and Bluetooth, it lives for 12 days.
 

Attachments

  • half-life 2ep1 8.rar
    12.3 KB · Views: 14
Last edited:
In the October version of the firmware, there are indeed much fewer artifacts in the video. (actually, except for Chrome, as you said)
In terms of game changes, ARK Survival Evolve starts, DOOM 3 BFG Edition does not start due to a broken cache. I deleted the cache, let the game download it on its own and it started. The same cannot be said about Half-Life 2 ep.1 and ep.2. Those, as before, swear at the libraries, they give a sound, but at the same time a black screen (while entering Google Play Games is visible). With Half-Life 2, the same error occurs, but without a black screen, you can play.
I tried to get some information via catlog, I don't know if it will help or not.

In terms of autonomy, smart firmware, I installed a new BM51 battery (from the Xiaomi device) and the tablet began to work on average 5 hours of screen time, the total operating time can be 7 hours, and in standby mode without Wi-Fi, LTE and Bluetooth, it lives for 12 days.
You installed BM51 battery from Xiaomi and it worked?
 

Xenomorph613

Member
Nov 25, 2015
10
2
24
You installed BM51 battery from Xiaomi and it worked?
Yes, I installed it. Why shouldn't it work?
Gently evaporated the controller from the BM51 battery, it turned out two bare terminals to them, soldered the controller from the tablet directly, then insulated it, put it in the tablet, soldered 4 wires to the tablet board and it all worked. After calibration, the controller itself figured out how to work with it.
 
  • Like
Reactions: thelangosta
Yes, I installed it. Why shouldn't it work?
Gently evaporated the controller from the BM51 battery, it turned out two bare terminals to them, soldered the controller from the tablet directly, then insulated it, put it in the tablet, soldered 4 wires to the tablet board and it all worked. After calibration, the controller itself figured out how to work with it.
So i suppose it works good? Where did you buy the battery?
 

Scavenger87

Senior Member
Nov 6, 2019
110
82
Nvidia Shield Tablet
Hi @Xenomorph613

Thank you for your detailed feedback again and i'm glad to hear you was able made some of the games working again. Also thank you for the logcat file i will check it out as soon as possible. For the next release i was anyway about to ask if you could try your games again because i added some framework stuff from nvidia to make something other working which i will include into my next nightly build because it needs some more polish to get released in a regular release so stay tuned everyone ;)

Also your information about your battery swap is really interesting (y)
Can you maybe do me a favor and check out that battery's capacity with a app like accu battery ?

In any case good work
 

Xenomorph613

Member
Nov 25, 2015
10
2
24
Привет, [USER = 7100642] @ Xenomorph613 [/ USER]

needs some work to be released in regular release

By the way, it would still be nice to make the frame black, not green, if you really don't fix it right at the root.
In the games Grand Theft Auto, Max Payne, Bully, sometimes a green frame pops up around the edges ... In terms of errors, crashes and other troubles, it does not interfere with playing, but visually it is very annoying.
Screenshot_20211202-154743_GTA_VC.png
 

Scavenger87

Senior Member
Nov 6, 2019
110
82
Nvidia Shield Tablet
Hi Everyone

First i wish all of you a happy new year !

Sadly i have to start this year with a sad message for you guys.

I will discontinuing this build because of two reasons:

First reason is that LOS itself has abandoned 15.1 that means there are no more security bulletins in the future as you can see here in the comment section of this unofficial attempt to add the December bulletin :

Bump Security String to 2021-12-05

My second reason is that there is virtually no information and source files available anymore to build good working roms for this K1 chipset which means its very hard (at least for me) to add new features or fix problems like the ones with the hw acceleration that give us those green artifacts.
I also tried to re-add the nvidia games app to my rom which worked first after i tinkered around with the framework of 15.1 by retrofitting the nvidia specific patches you found here for lineage-16.0 :

nvidia-enhancements-q

But after a week and a another update by nvidia to the app it started crashing again while starting up the game sessions. I dont know exactly whats the reason for this as i tried it the last few weeks with different changes on my build but i cant get it working again for some reason.

Thats the reason i will discontinuing my build for this device at least for now and i hope you guys could understand this.

I just want to thank again for all the support that let me build this rom the last year and if someone needs assistance to start his own build can still message me here on this forum and can find my sourcefiles on my github account :)

Regards
Chris
 

xdaggg

Member
Feb 29, 2020
16
11
Sorry to hear that :( But thank you for all the hard work you put into maintaining this build for us! It really is a pain when you have everything set up just right and an official update ruins your effort. Nevertheless I am thankful you worked on it as long as you did.

Take your well deserved break and Happy New Year!
 
Hi Everyone

First i wish all of you a happy new year !

Sadly i have to start this year with a sad message for you guys.

I will discontinuing this build because of two reasons:

First reason is that LOS itself has abandoned 15.1 that means there are no more security bulletins in the future as you can see here in the comment section of this unofficial attempt to add the December bulletin :

Bump Security String to 2021-12-05

My second reason is that there is virtually no information and source files available anymore to build good working roms for this K1 chipset which means its very hard (at least for me) to add new features or fix problems like the ones with the hw acceleration that give us those green artifacts.
I also tried to re-add the nvidia games app to my rom which worked first after i tinkered around with the framework of 15.1 by retrofitting the nvidia specific patches you found here for lineage-16.0 :

nvidia-enhancements-q

But after a week and a another update by nvidia to the app it started crashing again while starting up the game sessions. I dont know exactly whats the reason for this as i tried it the last few weeks with different changes on my build but i cant get it working again for some reason.

Thats the reason i will discontinuing my build for this device at least for now and i hope you guys could understand this.

I just want to thank again for all the support that let me build this rom the last year and if someone needs assistance to start his own build can still message me here on this forum and can find my sourcefiles on my github account :)

Regards
Chris
Sorry to hear that LOS 15.1 has been discontinued and that you will be taking a break for a while. At this point I think I will return to stock 😫
 

Xenomorph613

Member
Nov 25, 2015
10
2
24
My second reason is that there is virtually no information and source files available anymore to build good working roms for this K1 chipset which means its very hard (at least for me) to add new features or fix problems like the ones with the hw acceleration that give us those green artifacts.

It's sad that you stopped supporting this firmware (
In my opinion, the most adequate firmware that is. Still a little bit to modify ...
Specifically, there is an idea about hw acceleration: add a script to the firmware, they say, when you shake the tablet hard, or turn it abruptly and hard in your hands - hw acceleration restarts.
Well, I found bugs on bluetooth (which is typical on all lineage 14, 15 and 16): some devices do not want to connect, more precisely, there is an endless pairing, no confirmation windows come out. For example, dualshock 4 of the first versions do not connect, dualshock 4 of the second version connects without problems ...
The rest is - well, little things ... On the one hand, solved this way, on the one hand, just leave it as it is and put up with it.


Nvidia games services are no longer used by many) Not exclusive and there are many analogues.
For example, streaming from a computer: Moonlight, AMD Link and others.
It's the same with streaming services.
The nvidia dabbler drawing tool has an analogue - autodesk sketchbook
The only thing is that there is no way to work normally with HDMI. The picture goes both to the matrix of the tablet and to the monitor / TV, but on the second there is a picture with fields.
 
Last edited:
Added all relevant stylus software and drivers, working on patching the Lineage settings app to include directsylus settings then I can figure out how to trigger a launcher using stylus removal

Edit: Is there a way to replicate HW acceleration issue?
Found the stylus removal trigger and controller triggers in framework-res.apk in /system/framework of latest shield update. Now figuring a way to move these to the latest lineage build we have for the SHIELD.
 
  • Like
Reactions: hectoralexgarcia

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    lineagelogo.png

    Disclaimer:
    Not responsible for any injuries you do to yourself or your device being damaged caused by this ROM.
    Big thanks goes to @Steel01 for all the hard work and the Sources.


    LineageOS is a free, community built, aftermarket firmware distribution of Android, which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.


    Hi Everyone

    After some months of learning how to build my own Roms and how to edit the proprietary files of this Device i was able to build my first edited version of LineageOS 15.1 with HW Acceleration and the Camera working.
    Its a slim an snappy Rom for everyone that´s looking for a monthly updated Android 8.1 Rom to keep this unique Device alive.
    This first release is really basic because i deleted everything that doesn't work right.
    My plans for this Rom are to keep it updated in case of Security Patches and add some Features here and there as i still learn how this Device and Android is working in general.
    Also the official release of LineageOS 16 will end the development of this Rom for the reason i don't want to rival the official contributors of this Device.

    Little FAQ to this Rom:


    Do i need to Wipe my existing Rom even its LineageOS 15.1 based ?
    Yes because i use my own Release Keys for this Rom you need to Wipe your existing one.

    Is this Rom compatible with every Shield Tablet ?
    Yes this Rom is working with every Shield Tablet

    I have a Shield LTE Version and after flashing this Rom i cant connect my device for Data Transfer with my computer anymore.
    For some Reason i still didnt found out on LineageOS 15.1 there is no Drop Down Menu for this Device to change the type of connection.
    To change it go to Settings > Connected Devices > USB


    I found a Bug with this Rom i didnt had on any Rom before what should i do before i post it here ?
    Before you post any Bugs and Errors here make sure you installed this Rom correct as i told with a full wipe in your recovery first and if there are modifications installed like Magisk
    Moduls or Xposed or you changed this Rom in any way, you should reinstall it fresh first to take a look if the issue still occurs.
    If yes post a detailed report of the Error with a Logcat.txt File


    Can i install and use Apps like Netflix, Amazon Prime,.. and watch content in HD again with this ROM ?
    As this is a Problem with the Widevine Services and this Device itself this Rom doesn´t change anything on that. If you want to use the Netflix App for example you still have to use the liboemdecrypt modul on Magisk and its SD only



    Thanks goes to:
    @Steel01 and the whole LOS Team for doing all the hard work to keep this Device alive
    @Artemka2008 for figuring out the OMX fix
    @Triodexe for uploading his work on his Github so i could figure out how to edit the vendor files
    @john_matrix for teaching me how to set up my build enviroment and being really helpful when i´m stuck with errors :)

    Requirements:
    • Bootloader Unlock
    • Bootloader Version 4.00.2016.04
    • Custom Recovery installed (use Version 9.5.0_9-0 of TWRP or Lineage Recovery)


    Instructions:

    • Download the latest build and gapps if needed (8.1 / arm / pico)
    • Reboot to recovery and wipe your existing Rom
    • Flash the latest build and gapps
    • Reboot

    Downloads:


    Whats working now:

    • HW Acceleration
    • Snap Camera

    Whats still not working:

    • Nvidia Games App (Deleted)
    • Console Mode UI (Deleted but HDMI still working fine)
    • Encryption (will lead to a Bootloop if tried)
    • Screen Mirroring ( In App Cast like on the Youtube App still working fine)
    Contributors:

    @Steel01
    Source Code: https://github.com/LineageOS
    @Scavenger87
    Device: https://github.com/Scavenger-87/android_nvidia_device_shield-common
    https://github.com/Scavenger-87/android_device_nvidia_shieldtablet
    Vendor: https://github.com/Scavenger-87/android_vendor_nvidia_shield


    ROM OS Version: 8.1 Oreo
    ROM Kernel: Linux 3.10.96+

    Version Information:
    Status:
    userdebug
    SELinux: Enforcing
    Security Patch: 5.10.2021
    Build Signature: Own Release Key

    Created 14.05.2021
    Last Updated 18.10.2021
    5
    Any updates on this?
    Next update will be released when the July Security Bulletin is merged. I also still working on the code to make it more stable with every release.

    Stay tuned ;)
    5
    I installed following files after formatting data, and wipe cache and system,
    lineage-15.1-20210617-UNOFFICIAL-shieldtablet.zip.zip
    open_gapps-arm-8.1-pico-20210805.zip

    But the Browser crashes, Google Meet crashes,
    Google chrome crashes And reboots.

    Usually crashes happen when switching to other windows and come back to the app (Google Meet, chrome, Browser).

    Is there a solution for these crashes?
    Hi

    Sounds to me its running out of memory as chrome, google meet and a another browser app will take a lot of memory and the device isn't able to handle all of this with just 2GB of Ram even i set the Low Memory Killer to very low settings before it starts to kill apps.
    Maybe its helping when you root your device and adjust the LMK Settings with a App like Smart Pack-Kernel Manager or similar

    I also think its time to keep you updated on the work i do to this Rom at the moment since the new Security Bulletin is around the corner.

    Right now i still looking for a solution to fix this artifacts issues that this device facing on ROMs above Android 7.0 .
    After i tried to optimize the Memory Management and deleted stuff like hwc2on1 (which leads still to performance cuts even they fixed a memory leak there) i still get those artifacts on website based video-streaming mostly in chrome.

    So i was going a other route with this problem and started working on the .so files that located at the vendor folder. I did this for the reason because i saw some difference in size on those files we found at the vendor files from @Steel01 and the last OEM release of Nvidia which was the version 5.4.

    A short explanation what those files are: ( I hope my explanation is correct otherwise don't hesitate to correct me :) )

    .SO Files are Shared Libraries that located in the "lib" folders of the vendor files. those Files are containing the code how the device handles the HW acceleration and video playback,sound,... and many things more. Those files are compiled that means its not possible to edit them with reasonable effort ( would need reverse-engineering and recompiling after editing).

    But what i can do is to change them out from newer versions of this files from the above mentioned OEM 5.4 ROM or even from the Shield TV Roms which i tried with 7.2.3 because its the last Android 8.1 ROM before the Upgrade to Android 9.

    First i tried to update every file with the same name to a newer version which leads to the device not even starting up after install. When i just changed the files from the folders nvmm and media the device started up but the overall performance was much worse and the video-playback was only smooth at max 720p which is strange as it even happens with the Files from 5.4.

    But it seems i´m on the right track there and maybe i need to delete and add more files because those files might correlated to each other.
    This need a lot of work and testing so that means that this changes are not included in my next update when the security bulletin is merged maybe not even in the next after this.

    But i'm eager if i can fix the artifact issues with this and maybe even more.

    Like i mentioned above i might interpret some things wrong and if someone of you knows more about those files and its function i´m glad to learn more about :)

    Have a nice Sunday everyone ;)
    5
    Hi Everyone

    First i wish all of you a happy new year !

    Sadly i have to start this year with a sad message for you guys.

    I will discontinuing this build because of two reasons:

    First reason is that LOS itself has abandoned 15.1 that means there are no more security bulletins in the future as you can see here in the comment section of this unofficial attempt to add the December bulletin :

    Bump Security String to 2021-12-05

    My second reason is that there is virtually no information and source files available anymore to build good working roms for this K1 chipset which means its very hard (at least for me) to add new features or fix problems like the ones with the hw acceleration that give us those green artifacts.
    I also tried to re-add the nvidia games app to my rom which worked first after i tinkered around with the framework of 15.1 by retrofitting the nvidia specific patches you found here for lineage-16.0 :

    nvidia-enhancements-q

    But after a week and a another update by nvidia to the app it started crashing again while starting up the game sessions. I dont know exactly whats the reason for this as i tried it the last few weeks with different changes on my build but i cant get it working again for some reason.

    Thats the reason i will discontinuing my build for this device at least for now and i hope you guys could understand this.

    I just want to thank again for all the support that let me build this rom the last year and if someone needs assistance to start his own build can still message me here on this forum and can find my sourcefiles on my github account :)

    Regards
    Chris
    5
    Hi Everyone

    The new Build is ready and up.

    You find it here : August Build Update

    I did go again over that LMK Settings as i saw on the earlier Builds the issue with those artifacts are way less common and is kinda direct related to those Parameters is set maybe a bit too less aggressive and the video-streams especially on chrome was running out of memory and did start with those issues instead of just crashing. This way it was really hard to find out for me until i had the tablet of my sister in house for updating where i found out about that.
    The Issues should now appear less common and i had not even one framework reboot so far with my type of usage which is mostly Browsing and Youtube.
    Also Clash of Clans is still running and still needs to be started twice after a first crash sometimes.

    I would say its a good example again that its a bit of a ride on the razorblade with this lmk parameters as 2GB is really not much for today's standart and you might have to adjust your LMK Settings yourself from now on to fit your needs and user profile.

    And i did not forget about the .so Files i still looking for the best working ones and plan to clean up the vendor files a bit to get the max out of this tablet for you guys ;)