yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] lilmonkw:
Greetings! I post this in active threads hoping someone would eventually help me out with my issue.

I ask for the "mmcblk0p24" file from the updated of the Nvidia Shield Tablet, K1 16GB specifically. (The one that came out without the stylus.)

HERE'S THE INSTRUCTION ON HOW TO COPY THE FILE:

1. Enter TWRP

2. Mount System if necessary

3. Advanced -> File Manager

4. Path to the file: /dev/block/mmcblk0p24 (you can simply copy it straight to /sdcard)

IF YOU HAVE mmcblk0p25 AS WELL, MENTION IT! In my case, I don't have the mmcblk0p25 file. That means I need the mmcblk0p24 file that comes from the system without mmcblk0p25 either. So, if you are willing to share the file I requested, make sure you DON'T have the mmcblk0p25 file in your /blocks folder and your device is a 16GB version.

Though it could be useful for somebody else, there's no harm in posting it anyway.

That's it! Nothing bad is going to happen to your device. Simply copy the file!

It also would be very nice of someone to fully upload the "/blocks" folder. It could be very useful for restoring the tablet for other people!

Thanks in advance!
[Shield Tablet Android Development] john_matrix:
I think you have to type the command "repopick 268655" for implementing the second part of the patch during the ROM build:

https://wiki.lineageos.org/usinggerrit-howto.html
[Shield Tablet Android Development] Scavenger87:
Hi thank you for the explanation but like i said i'm not building a new Rom i was just tinkering around with the Root folders and some Config Files

And now that a LineageOS 16.0 is out with hw acceleration working i think we can let go his old 15.1 for good now :)
[Shield Tablet Android Development] moviefirst:
Hello, watching YouTube and movies still gives green screen and stutter, isn't that fixed already?
[Shield Tablet Android Development] player594:
Where is the 16.0 build for the Shield K1?
[Shield Tablet Android Development] Scavenger87:
The 16.0 Build is located here : https://updater.oddsolutions.us/#/devices/shieldtablet/builds
[Shield Tablet Android Development] josselin2196:
I try to flash the last rom:

Odd Solutions Downloads

updater.oddsolutions.us

with the instruction, provided.

I'm stuck on nvidia boot logo, do i miss something?
[Shield Tablet Android Development] moviefirst:
I'm also stuck on boot logo, i did a clean install with format data but no success. Flashed stock rom again.
[Shield Tablet Android Development] Scavenger87:
Yes it also doesnt work for me too. I already posted it with logs on the ATAP LOS 16.0 Thread which is from the owner of the oddsolutions site.
[Shield Tablet Android Development] josselin2196:
Did someone has a backup of older version, the website has only the faulty last version, i lost the initial version i installed?
[Shield Tablet Android Development] moviefirst:
No sorry, i flashed stock rom again
[Shield Tablet Android Development] Stickman89:
All the releases are here: https://github.com/ods-releases/shieldtablet/releases/

Although saying that, their github releases section for the Shield Tablet is a mess. I'm not even sure how they've managed it, but their latest releases aren't in date order. 2020 releases uploaded in 2019? What the heck. Traverse through the pages and you'll see what I mean.
[Shield Tablet Android Development] Stickman89:
This one (Lineage 16 build) boots: https://github.com/ods-releases/shi...age-16.0-20201128-UNOFFICIAL-shieldtablet.zip
[Shield Tablet Android Development] Avalon72:
Same issue here with lineage-16.0-20201210-UNOFFICIAL-shieldtablet. After the update I'm stuck on the bootloader with its logo, even with a complete wipe process before the install through ADB (model P1761W, so the K1 Wifi only from 2015).

Only the previous version lineage-16.0-20201128-UNOFFICIAL-shieldtablet works for now.
[Shield Tablet Android Development] john_matrix:
If someone is interested, I have compiled this build:

not found | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com

All credits to Steel01

Take the pico Gapps
[Shield Tablet Android Development] Avalon72:
Thanks ! This version could be installed without any problem.

Thanks to you and Steel01 :)
[Shield Tablet Android Development] Scavenger87:
Hi i installed your build and it works just as fine as the earlier ones brought to us from npjohnson thank you for all the work.

I installed it without Gapps so far to test out the stability and to provide error logs as clean as possible.

The only issue i noticed so far is that the hw acceleration is still unstable and produce green artefacts. I try to catch some logs about this problem and send them to you if you like maybe we can figure out something and support this way Steel01.
[Shield Tablet Android Development] john_matrix:
No problems, feel free to investigate with greeny videos and report the log ;-)

Don't know if it's better to open a new thread for this or keep continuing in this one.

I have also noticed some applications are closing immediately after being opened (maybe related to a too much agressive low memory killer)

To be honest, I am a begginer for debugging Android applications but I think more we are and more we can get rid of the isssues.
[Shield Tablet Android Development] Scavenger87:
Today i did my first try with the logcat but it has way to much entrys in the log atm i think next time i have to narrow it down but i attached it anyway maye its still helpful. What i did was that i opened the youtube site with firefox and started a random video where it crashed immediatly.

I also was looking for the Low Memory Killer settings but i could not found them on the App Kernel Manager and also on Kernel Auditor. I even didnt found the sys/modules/lowmemorykiller folder with the parameters in it.

Because of that i think the memory management ist quit different on 9.0 pie as we know it on oreo and nougat but i didnt found out how but i'm still on it :)
[Shield Tablet Android Development] john_matrix:
Seems the low memory killer has been disabled from the kernel by this commit:

defconfig: shieldtablet: Disable in kernel low memory killer (05ca6adf) · Commits · CM-Shield / android_kernel_nvidia_shield · GitLab

Enable memcg as needed by Android lmkd Change-Id: I7878c48a84270a1d0383727b957bbf9b43cb3b87

gitlab.incom.co

I have tried to set different values with Franco kernel manager but haven't noticed any improvements.

I have noticed that the camera is not working everytime and especially with Footej that is not working at all (camera status is in error state)

In the logs you provided, there are some errors related to missing files for the camera, that could be good to see if this can be solved.

Note that I have used device/vendor from Steel01 Gitlab repos, maybe using the LineageOS Github repos will be more 'stable'?
[Shield Tablet Android Development] Scavenger87:
Ok i tought this option isnt available in general on android 8.0 and higher because i also wasnt able to see it in kernel managers on the aex extended roms from triodexe when i remember right.

The camera i didnt try right now but i will take a look after work today.

From what i saw all 9.0 roms so far have the same issues i would say they all a bit unstable at the moment and have the same issues with the hw acceleration.

Here i found a errormessage from the Video crashing in Firefox:

12-21 18:25:33.403 2093 2106 E GeckoRemoteCodec: java.io.IOException: Failed to find matching codec OMX.Nvidia.h264.decode, error 0xffffffed

Maybe thats helpful to narrow down the region of the code thats faulty
[Shield Tablet Android Development] john_matrix:
There is a reference to OMX.Nvidia.h264.decode in the file android_device_nvidia_shieldtablet/media/media_codecs.xml

Found this post in the Nvidia dev section:

Porting/using the Gstreamer-OMX plugins for hardware H.264 encoding/decoding on the NVIDIA Shield K1?

Hello all! I am wondering if it is possible to use or port the NVIDIA GST plugins that give access to hardware encoding/decoding such as nv_omx_h264enc for use on the NVIDIA K1 Shield Android Tablet with the Android GST SDK? Thank you, I appreciate any help or direction! Please let me know if...

forums.developer.nvidia.com
[Shield Tablet Android Development] Scavenger87:
Ok thanks i think i download a media codec info app to take a look which video codecs are installed on the los 16.0 rom but i think its not like somethings missing, like more that those codecs not made for android versions above nougat. That means Steel01 might had to rewrite or modify them for the newer android structure and there still some issues around in the code.
[Shield Tablet Android Development] john_matrix:
If interested, I have compiled another build with the LineageOS Github repos:

not found | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com
[Shield Tablet Android Development] Scavenger87:
I installed this Rom on a different K1 so that we can compare it to the first build you released on 18/12.

It started without any errors and i install now the same apps as on first :)
[Shield Tablet Android Development] Scavenger87:
Ok after some quick testing yesterday i can say that the one you released yesterday made from the los_respo is better. The camera is working and it seems a bit more stable than the one from the cm-shield respo. That one also did warm up yesterday when it was charging and did also not gain capacity like it should but i think thats maybe because the battery is on the way out :giggle:.

But i think the los_repo is the one with the better working roms at the moment
[Shield Tablet Android Development] john_matrix:
Thanks for your feedback ;-)

I don't have heavily tested it yet but have noticed a better stability too (or I don't know if this is more a placebo effect).

Think it's good to keep an eye on this: https://review.lineageos.org/q/branch:lineage-16.0+shieldtablet

Seems that the force closing application are not related to the Android memory management but from the Tegra K1 GL blobs: https://review.lineageos.org/c/LineageOS/android_hardware_interfaces/+/265297

Will continue to see if something can be done with logcat to help devs in their work
[Shield Tablet Android Development] Scavenger87:
Ok thats seems promising when i see how much people actually work on the shieldtablet rom right now :)

I also did some testing again today and because i had this weird charging behaviour on the 18/12 build i wiped that rom and installed on that tablet also the newer 22/12 and now the slow charging and heating up seems gone.

I also did a logging again after i installed firefox and a restart i opened firefox, head to youtube and opened the first random video.

First the video run normally but after i closed the app by pressing the cube symbol and opened it up again the video refused to work again and gave me the error message you can see on the screenshot i took.

And i also added a logfile which is also way too big again.

I'm sorry for that but i have really to learn how to narrow it down to the important informations.

But for me it seems the omx crashes after one succesful using maybe it has also something to do with the K1 GL blobs issue they mentioned.

But all in all i still really stocked about this rom i mean apart of the errors we found theres a lot that DOES work like Nvidia Games App, Screen Mirroring, The Camera,Bluetooth,.. And its imho fast and does not take much Space from the Internal Storage.

When the tablet ischarged up again i do more testing.
[Shield Tablet Android Development] Scavenger87:
Did a reply instead of editing 😅

Keeping this post for the logs
[Shield Tablet Android Development] Scavenger87:
Merry Christmas to everyone here ! :)

I did some more testing over the last few days and it still seems that omx works the first time and after you close the app or you start a different video it crashes. I did two different logs this time for when its working and when its crashing to narrow it a bit down.

I also tried to change out the following files from a 15.1 build with working omx in the system/vendor/etc to see what happends:

media_codecs.xml

media_codecs_performance.xml

media_codecs_google_video.xml

media_codecs_google_audio.xml

And i added media_profiles.xml and media_codec_v1.dtd because there was only a media_codec_v1.xml

I also put everything of that in the system/etc like on the 15.1 build but nothing changed.

I think now its has nothing to do with those files because its working once and it doesnt matter which resolution its choosen on youtube for example.

I also saw your Thread from early december where you tried to fix omx on the 15.1 build and wanted to ask you if you can compile the very last los 15.1 from the los_repo and apply the patches ?

Instead of the initial build from triodexe here on this Thread the nvgames app doesnt crash randomly it wasnt just able to start the game session because of the lack off hw acceleration.

Maybe its wise to take one step back and try to get hw acceleration running on these build like you mentioned earlier and maybe add there the newest security string like Saint2k did :)

Edit : Thanks john_matrix for all the work and support you give in with building and compiling those builds. :)👍
[Shield Tablet Android Development] john_matrix:
Merry Christmas to you Scavenger and everyone too.

Indeed, I have tried to compile a 15.1 build with the HW acceleration but I am facing an issue.

When I apply the HW patch and modify the xml files, the Youtube videos doesn't play at all... have always the loading screen :(

I didn't take too much time with this because 16.0 give best result.

Anyway if you want to try, I have recompiled a 15.1 build (make a backup, I don't have tried it :D):

not found | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com

Edit: for the LineageOS 16.0 builds, I notice that formatting the sdcard in FAT32 (I had exFAT) increase the stability of the ROM.

Very few crash and application restarts.
[Shield Tablet Android Development] Scavenger87:
I finally was able to install your 15.1 Rom had to repair my tablet first by change out the mainboard because on that LOS 16.0 Roms is something wrong with charging. It doesnt charge when on/off and the battery was so low that it didnt startup in recovery to test. So i had to change out the board with one that has a different rom with working charging. :)

To your 15.1 its true there is something wrong with the hw acceleration like you describe but only on firefox. On those build-in browser the hw acceleration does actually work !

I made you a short log when i tried it on firefox

And maybe your Rom just miss this line of code : ZYGOTE_WHITELIST_PATH_EXTRA := \"/dev/nvhost-ctrl\",\"/dev/mem\",\"/dev/knvmap\",

at the BoardConfig.mk like mentioned here : https://xdaforums.com/t/rom-official-lineageos-for-the-shield-tablet.3562839/post-81770755

Also the Nvidia Games App gave me some Troubles with crashing which could be because i updated it by replacing the apk in the vendor/apps/nvgames folder 😌

I think i try to update it trough the playstore by installing gapps.

But if i remember right on this build from npjohnson : lineage-15.1-20201009-UNOFFICIAL-shieldtablet.zip nvgames worked to the point until it needed hw acceleration.

For the 16.0 Rom

You mean we should format the internal storage to fat32 for better stability ?
[Shield Tablet Android Development] suicyko:
Same here.

Flashed without problems.

Green screen is present when playing videos with MXPlayer 1.26.7. I had to desactivate all HW+ / HW decoder and active SW decoder instead.

Simple Gallery Pro 6.18 , idem, videos are playing green.

By the way , Youtube Vanced is running without prob. Is it running with HW decoding ? I dunno.

EDIT: ow ! when the HW acceleration is "broken" by an app, all the others apps using HW are greeny.

exemple, i start up the tablet, launch youtube, videos play fine. then i launch mxplayer , boom, green is coming.

if i re-launch youtube, the videos are now also green.
[Shield Tablet Android Development] Scavenger87:
Ok you facing those issues with the 15.1 or 16.0 build ?
[Shield Tablet Android Development] suicyko:
arf sorry : 16.0 build
[Shield Tablet Android Development] Scavenger87:
Yes there is still a issue with the hw acceleration in general.

But it seems the developers like Steel01 and npjohnson working on that roms right now.

On 15.1 the hw acceleration was fixed some time ago by Steel01 with 2 patches and Triodexe the builder of the initial Rom of this Thread released some Roms with hw acceleration working.

I think it would be great to have a 15.1 with hw acceleration working and the newest security patch and maybe even with nvgames working too :)

At the moment it seems its still something missing on patching the omx that Triodexe knew but i think he left this forums some months ago.

So it needs some more research on that but john_matrix and i'm already on it

But feel free to join the band ;)
[Shield Tablet Android Development] john_matrix:
Hello,

You are right, it seems that there is something wrong with charging as I have noticed strange behavior too.

If you see in the screenshot, the battery drain was fine until I plug the wallmount and after it was a disaster with a very hot tablet.

I took a look in the Yellowstone topic and the issue is also here.

I think the same as you to have an updated 15.1 build with HW acceleration.

I will compile another build with the parameter you specify in the BoardConfig.mk to see if it will solve the issue.

For the file format, I was talking about sdcard and not internal memory ;-)

Also, I am thinking about system partition resizing as for LOS 16.0, you have to install pico GApps (as nano is too heavy). Also, there is a CACHE partition with 1GB and since years ago, Google make useless to have such bigger partition (512MB should be sufficient)

I mainly use my tablet for Youtube (with Youtube Vanced installed) so HW acceleration is "a must" :D

I will aslo check in the Triodexe Github to see what he modified for his builds.
[Shield Tablet Android Development] Scavenger87:
Yes there is really something wrong with the charging i also saw that a member with atap facing this issue so i have no los 16.0 at the moment on any of my devices until thats fixed.

Interesting toughts about playing around with the size of the partitions i also just use only the pico gapps since some months and i'm super happy with that. Also reducing the cache partition is worth a try. Maybe we could also try zram on a build to reduce the amount of ram usage because ram is one of the main bottlenecks of this devices and i noticed triodexes los 15.1 rom does need a lot of it for the system itself ( up to 1.4gb in some cases).

But i have to say i didnt used his zram version of his build so far.

All i can say is that i really looking forward to help produce a good working 15.1 build with hw acceleration on, the latest security pack and all the benefits of the LineageOS to give this device a new lease of life :)

Soon i also should get my spot welder for my battery project too, so that i can change on all my devices the old batteries.

With this done i can field test those batteries right in case of capacity and usage to give everyone here the best possible battery replacement.

I wish everyone here a happy new year :)

Edit: I saw today that theres a new TWRP Version out for our devices:

Download TWRP for shieldtablet

Download TWRP Open Recovery for shieldtablet

eu.dl.twrp.me

Its named 3.5.0_9-0 which means for me that other than the 3.5.0 versions for devices that came with Android 10 still only can work with the 9.0 branch but its maybe still more suited for installing 9.0 based roms.
[Shield Tablet Android Development] MrShield22:
Hello Everyone,

I would like to say in advance that I am new here.

I own a shield tablet with the stock rom 7.0.

A few days ago i even planned to sell the device but i still find it very cool! and then I didn't sell it and started looking for a custom rom.

And then came across this thread. unfortunately i don't understand the subject of programming. But i would be very, very happy if you get that under control and get Android 9 running. Respect to your skills and also that you try to implement it privately. As I said, I like to read along and would be very happy about a custom rom based on android 9 on this tablet. I think many users out there have this tablet laying around maybe we can get this viral.

Happy new year to you and stay healthy!
[Shield Tablet Android Development] Trevor_g:
Hey all. Recently ordered and installed a new battery from China. Nice to have this device up and running again! I'm not new to flashing roms, however I just have one question:

Does this ROM include support for older Nvidia gamepads -- you know, the ones that use 5GHz WiFi? I realize that the official builds for this device had all kinds of proprietary Nvidia stuff. Is it all included in this ROM as well? Thanks in advance for your help!
[Shield Tablet Android Development] john_matrix:
@Scavenger87: Steel01 advised to let 15.1 (I think he is right because it's too old and because lot of changes have been done between 15.1-16.0)

Also have found this during LOS 16.0 debugging and when application is crashing:

Starting from Android 9, LMK can be implemented in userspace and needs new optimization settings:

Low memory killer daemon | Android Open Source Project

source.android.com

Will see if this new userspace LMKD can be tuned.

@Trevor_g: can't say... I don't have an Nvidia controller to test.
[Shield Tablet Android Development] airtower:
Pardon my ignorance, but will these 16.0 builds not work on a pre K1 tablet? All are erroring out for me in TWRP with Status 7. I had always assumed the K1 rebrand was just a marketing thing and that the internals were the same.

If so, does anyone have a later 15.1 build? The yellowstone rep only has a 16.0 from late last year.
[Shield Tablet Android Development] _shagohod_:
If you want to try 16.0, use this one :

https://xdaforums.com/t/rom-unoffic...-omx-fixed-camera-fixed.4058801/post-84152371

It works not bad but you have to kill apps in memory often.
[Shield Tablet Android Development] john_matrix:
Can someone test this build?

OMX HW acceleration (video in 1080p/60fps) should work but need some help to test other things.

lineage-15.1-20210108-UNOFFICIAL-shieldtablet.zip | by john_matrix for Shield Tablet

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com
[Shield Tablet Android Development] Scavenger87:
When i'm home from work today i give it a try :)(y)
[Shield Tablet Android Development] Scavenger87:
Ok i installed the rom and try it a bit and i can say its working nicely now with the hw acceleration :D(y)

Only the Nv Games App is still crashing when you want to start a Game but hey lets dont be picky now 😁

But whats interesting when i start the youtube app the first time i literally had the same issue with hw acceleration like on the 16.0 Build with the Green Screens which confused me first because i tought: did i installed the wrong build ? 🤔

But after a restart of the device the issues went away and doesnt came back so far.

Did you use datas from 16.0 to made it working ?