yashsingh1/xdaforums huggingface dataset:
[Shield Android TV Android Development] lenana:
I tried the last rootfan oreo kernel on full oreo by zulu99. It didn't work. I moved to full pie and it works well with the kernel. I don't think the dev would make a kernel for an older version of android especially if it is not official firmware.
[Shield Android TV Android Development] horqai:
Same here withe the 16 gb 2017 version but using the latest kernel - rootfan_kernel_r1_5.

Didn't even try to flash twrp just booted into it.

I'm on the 8.01 dev version.

During boot it stucks on the Nvidia logo and starts after some time again.

But thank you rootfan for all the effort!
[Shield Android TV Android Development] lenana:
I can confirm this issue. Flashing 1.5 over 1.42 breaks root. Magisk modules such as viper4android and youtube vanced install but fail to appear in launchers. At some point I got error that magisk was not installed and had no root. Restoring boot backup didn't work.; I got stuck at nvidia logo. I finally fixed the magisk root issue by flashing kernel version 1.42 first then booting back to recovery again and flashing magisk 20108 (fresh install of kernel only doesn't fix magisk). Other versions of magisk didn't work. Problem must be with the kernel.
[Shield Android TV Android Development] rootfan:
[MENTION=5454445]lenana[/MENTION], I've attached a fastboot flashable boot.img to try that should fix the Magisk modules problem. You'll need to install the Magisk Manager app seperately and it has to be the latest canary release. Also, if you've flashed any of my previous releases you'll need to restore the system partition. [MENTION=3880441]Giraff3[/MENTION] and [MENTION=4248081]horqai[/MENTION], let me know if this works for you.
[Shield Android TV Android Development] lenana:
Thank you for the quick response. Unfortunately I don't have a stock system backup (poor judgment on my end). Unless this step can be bypassed I think it is safer for me to stick to 1.42 for the foreseeable future.

EDIT: Decided to try attachment with a fresh system.img flash. It works well now....root is fixed. Thanks!
[Shield Android TV Android Development] horqai:
Hi Rootfan, I've tried to flash the original 8.01 dev to start from the beginning.

Flashed twrp and booted in to recovery which worked. Also rebooting out of the recovery to the system worked normaly.

Then I flashed your kernel 1.5 in twrp followed by your boot.img attached.

Unfortunately I still stuck again at the Nvidia logo followed by a reboot.

I also repeated the same steps but this time I flushed your boot .img outside twrp under fastboot - same result :(

At least for the org dev img 8.01 your boot.img seems not to work for me.

Let's see what the others report.

THX
[Shield Android TV Android Development] Giraff3:
Got the same result as well.
[Shield Android TV Android Development] rootfan:
So you extracted the attached zip and ran fastboot flash boot MagiskOC_2019-12-15.img from a stock system [MENTION=4248081]horqai[/MENTION] and [MENTION=3880441]Giraff3[/MENTION]? If this is the case and it doesn't work then there's nothing I can do to fix it without logs. [MENTION=4248081]horqai[/MENTION], you said that your device eventually reboots after flashing the kernel. Catch it when it does and boot into twrp. After that, follow the steps in this post to provide a log https://xdaforums.com/showpost.php?p=80774055&postcount=188.

edit:

[MENTION=4248081]horqai[/MENTION], thanks for the log. Here's a new boot.img to try. You do not need to install R1.5 first. Just flash the boot.img in fastboot and make sure you haven't flashed any of my previous stuff including magisk_shieldtv_pie_r2.
[Shield Android TV Android Development] horqai:
Don't know if I understand you correctly.

I did not flash it on a "stock system". I've first flashed the dev image, then in Fastboot I flashed the twrp followed by your 1.5 kernel.

After an unsuccessful reboot attempt with the logo bootloop I've flashed your boot image.

I'm wondering right now if I just need to flash your boot img before the Kernel?

Tried to just flush on a stock dev only your boot img and this ends up in a boot loop too.

Here you go: https://pastebin.com/pCHYZRjf
[Shield Android TV Android Development] allidea:
You shouldn't flash TWRP just use

fastboot boot twrp-image-name.zip

This way TWRP won't be flashed permanently just temporarily until next reboot and you won't get stuck in a bootloop.
[Shield Android TV Android Development] horqai:
I've also tried it without flashing TWRP permanently - same result :(

At the moment I'm rooted (using the Magisk version from this youtube video posted in development) without any issue, including recovery exchanged to TWRP - no bootloops.

Or do you think that this could be the root cause by checking the debug information I've uploaded?

Cheers

Horqai
[Shield Android TV Android Development] Ghisy:
Hi,

Are you planning a kernel update to fix the Magisk modules issue as well?

Thanks!
[Shield Android TV Android Development] lenana:
Try this: after flashing rootfans boot image also flash system image again via fastboot.

---------- Post added at 08:52 AM ---------- Previous post was at 08:50 AM ----------

After flashing rootfans boot.img flash system.img again in fastboot and see if it will go past nvidia logo.
[Shield Android TV Android Development] go2xraj:
Cant able to download shield tools 1.3 apk, any other links pls...
[Shield Android TV Android Development] redganger:
To update the kernel, do i just flash v1.5 over my existing v1.4?
[Shield Android TV Android Development] Giraff3:
Finally got some time after Christmas to try again, flashed the R1.5.1 Beta and it's working perfectly so far. Thanks Rootfan.
[Shield Android TV Android Development] Largewoodenspoon:
Hi guys. New beta version working on my 2017 model.

No problems installing this one. All others failed.

Am I good to update magisk if necessary, or leave it be!?

Also, best settings that people have tried!?!?
[Shield Android TV Android Development] horqai:
Same here, just flashed it a moment ago and it's working with my 16gb 2017 perfectly too!

Thank you!!
[Shield Android TV Android Development] rayholland:
help

Hi all,

Today i received my NVIDIA Shield Pro 500gb (2015 model - second hand) and i would like to root it.

The bootloader is now unlocked (took a long time)

Do i need to sideload Magisk, or can i just flash Rootfans MagiskOC_2019-12-18.img directly (fastboot flashable MagiskOC_2019-12-18.img)?

Or is the IMG file that Rootfan posted here in this thread, especially compiled/build for the 2017, 16GB shield?

Thanks

Update:

I tried fastboot boot MagiskOC_2019-12-18.img (before i want to flash) and the system booted correctly.

my 512GB internal HDD was also mounted correcttly.

And about displayed:

Model Number

P2571

Kernel version

4.9.140-g300a8bfdbd52-dirty

Build

PPR1.180610.011.4086637_1697.8089

BUT, the Root Checker Basic App, displayed: Sorry! Root access is not properly installed on this device

:(

[MENTION=4180946]rootfan[/MENTION], maybe you can help me please?

Update2: Damn, i read this topic again and after installing Magisk Manager, i have root access. Yahoo!

Big thanks to Rootfan!

Regards,

Ray
[Shield Android TV Android Development] lenana:
The old shield pro with 500gb is a great device. I run rootfan 1.5 and it is flawless. If you haven't you might need to swap hdd for ssd (samsung 860 evo 500gb only https://www.amazon.com/Samsung-500GB-Internal-MZ-76E500B-AM/dp/B0781Z7Y3S) because the stock 500gb hdd will slow you down with time. Good thing all you will need to do is clone your old drive to your new one using the hdd raw copy tool from hddguru.com and keep old drive as backup. No need to reinstall stuff after cloning...just proceed to use your device like nothing happened only that it will be insanely faster. With and ssd you will enjoy the speeds of rootfan kernel much better. This is all from my experience
[Shield Android TV Android Development] rayholland:
Thank you lenana for your tip. I am planning to swap the drive for a ssd later (i think i also saw you doing a ssd swap on youtube ;)).

BTW: I flashed the MagiskOC_2019-12-18.img boot image and it worked (kept the original system image).

Is this image the latest, or do i need to install/siteload the rootfan_kernel_r1_5.zip with twrp?
[Shield Android TV Android Development] lenana:
Haha it wasn't me actually but my friend Kelley from Kelley Tech. If I'm correct I think the magisk image is still 1.5 kernel. It was released by rootfan because flashing the original 1.5 over 1.4 caused root issues. 1.5.1 beta should be the latest I believe. But in terms of perfomance all should be the same since 1.4 at least from my testing. I stand corrected:)
[Shield Android TV Android Development] elliwigy:
Yoo [MENTION=4180946]rootfan[/MENTION] I checked the aosp source on nvidia developer site to see if it was available yet for 2019 models and it still says preparing.. however when I selected the latest source and viewed the NEW SHIELD README file that gives the instructions on doing the source I gave it a shot and it seemed to download fine.

When I tried it a few weeks ago it failed almost right away saying I wasn't authorized to download it but this time no errors. I'm no kernel dev tho so not sure if it is complete or if it only downloaded what is available or something..

I just thought I'd let you know in case you want to give it a shot.. or were you not planning to make your kernel for 2019 models?

The instructions I talk about is located here:

http://nv-tegra.nvidia.com/gitweb/?...0;hb=426ce82ed18b9026740ea9ceef02523d8da5880e

Also posted screens of path I took.. basically went to aosp source site and clicked on the latest binary rel-32-r7 then clicked on preparing opensource the new shield readme.. I then jumped to my linux distro and synced it.. I suppose it's possible the mdarcy code is not added yet.. either way it seems the latest aosp source downloaded none the lessso at least can update some of your source code in your env.

If u want me to look into the download for anything to try and confirm before u try to download urself then let me know!
[Shield Android TV Android Development] elliwigy:
Forgot the pics lol
[Shield Android TV Android Development] DumbKing@letthemeatspam:
Hello I'm on Nvidia Shield 2017 8.0.1 stock, can someone point me to a guide to flash Magisk on this?
[Shield Android TV Android Development] n2outlaw:
Just boot into twrp v3.1.1 and install it. I just did it and it works.
[Shield Android TV Android Development] dk1keith:
Is TWRP v3.1.1 a stable version with 8.1 Shield Pro 2017? Or at least capable of doing backup/restore within TWRP?
[Shield Android TV Android Development] kyvaith:
[MENTION=4180946]rootfan[/MENTION] Could you tell us the steps to compile a kernel and build zip for flashing like the one you attached? I would like to add DVB support to it. Thanks.
[Shield Android TV Android Development] dogotcat:
Hi guys, is this going to be updated for the new firmware 8.0.2 ?? Updating to the latest version bricked the device. Had to stock reflash.
[Shield Android TV Android Development] simonk206:
Wow didn't notice that update before :D Magisk modules problem is fixed with it on 2017 Shield TV and dev 8.0.1 :good:
[Shield Android TV Android Development] n2outlaw:
Root is working on 8.0.2 with magisk_shield_pie_r2.zip from first post and got the New Remote 2019 working. That was the reason I was updating. Also, I did this with a upgraded Samsung 860 Evo 500GB HDD with Netflix, Prime Video etc. still working.

I just tested this on a 500GB unit going from v8.0.1 to v8.0.2

All I did was update normally through nvidia update and then booted twrp from recovery, reflashed above magisk r2 zip file (first post) and everything is working. I don’t know if we need a update but it is working properly on two 500GB units but I would believe this will work on all Shield TV except the new 2019.
[Shield Android TV Android Development] devynel:
Working on 8.0.2

Hey [MENTION=4180946]rootfan[/MENTION],

Can confirm all functioning fine on Magisk 20.2, Kernel 1.5.1beta, Shield Tools 1.3, and Experience 8.0.2 on 2017 Darcy.

NOTE: Magisk 20.3 and 20.4 appears to NOT work on 8.0.2
[Shield Android TV Android Development] justiss:
[MENTION=4180946]rootfan[/MENTION]

Will There be relaese of overclocked kernel for shield pro 2019?

---------- Post added at 09:26 PM ---------- Previous post was at 09:26 PM ----------

[/COLOR [MENTION=4180946]rootfan[/MENTION]

Will There be relaese of overclocked kernel for shield pro 2019?
[Shield Android TV Android Development] elliwigy:
last i checked the source isnt even out yet
[Shield Android TV Android Development] DumbKing@letthemeatspam:
Anyone figure out how to root 8.0.2 with Magisk? I don't have TWRP because I don't have a wired mouse
[Shield Android TV Android Development] DumbKing@letthemeatspam:
Should I use this to flash 8.0.2? So basically (1) install 8.0.2 OTA, (2) then flash that boot.img, (3) install Magisk Canary and (4) update Magisk?
[Shield Android TV Android Development] DumbKing@letthemeatspam:
I followed these steps and it worked great. Thanks all!
[Shield Android TV Android Development] elliwigy:
why dont u adb reboot bootloader then u can use a lot if things to access fastboot.. i use a raspberry pi 3b+ or my samsung tablet with an otgadapter etc etc to use adb/fastboot
[Shield Android TV Android Development] elliwigy:
nvm previous post.. i see u already figured it out..
[Shield Android TV Android Development] Crumplet:
If twrp is not working how are you people flashing this kernel?
[Shield Android TV Android Development] elliwigy:
u dont need twrp to flash firmware.. u can use fastboot orother means such as if u have rootu can manually flash it over adbetc etc
[Shield Android TV Android Development] elliwigy:
to add, i am on latest canary magisk.. its now even more steps to get it working but theres some ill effects..

so magisk as it stands gave me error repacking the boot.img and would fail.. workaround is i rooted by flashing the modified magisk.zip in here that we've been using.. it seems to take some of the system files and creates some sort of ramdisk i think.. after this is done then can flash latest magisk and itll work..

thedownside im.experiencing tho is no matter wat os version im on after i flash n use latest magisk it turns off/disables thewifi on thedevice... settings shows wifi is turned off but it never comes back on until i do aclean install and dont use the latest magisk zip..

the steps might b contributing to my problems butnot sure..i have todo thesesteps:

fastboot boot twrp...

mount everything in twrp mount settings...

adb remount all

adb shell rm /system

adb shell mkdir /system

adb shell mount -o bind /system_root/system /system

Push the oroginal mag.tv.zip that works that we been using and flash in twrp...

Go back to mount settings and select everything again...

adb remount all

adb shell mount -o bind /system_root /system

Now adb push the latest magisk.zip and flash in twrp...

At this point you can reboot and see if it loads.. if its not loading u made need to wipe/format data and/or flash vbmeta/dtb again.. if u wipe/format data u must follow the steps to flash the zips again since somemagisk data isloaded to /data...

Also, if ur stuck on bootani without adb root orauthorization you can fastboot boot twrp then create a general boot script (postfs or service script) to set verifiedbootstate to orange and itshouldthen load... u might also need to manually install magisk manager if its not alreafy installed...

When i follow this method it kills my wifi and i can only use ethernet to connect to internet.. ive tried 8.1.0 8.1.1 stock and dev firmwares n all has same output..

im currently on 8.1.0 dev os firmware.. i have system root installed andmagisk bibaries installed.. manually rooting this way i still have my wifi lol

to add, my device is a 2019 NSTV Pro.. hope this helps someone lol
[Shield Android TV Android Development] Crumplet:
This is just to much work.
[Shield Android TV Android Development] danny19901:
Any chance of this working on Nvidia Shield Pro 2019 I really want to overclock
[Shield Android TV Android Development] elliwigy:
no
[Shield Android TV Android Development] primo_4c4:
Thank you very much for this development, I could apply it in an nvidia shield pro 2015 whit ssd on 8.0.1, I followed the instructions without problems and with the applications it is easy to configure. I did not want to upgrade to 8.0.2 I have read that it has given problems, any experience?. I can only thank you for making this shield more beast.
[Shield Android TV Android Development] mLgz0rn:
The thing is, you will mostly only hear from the people having issues and never from the people that has no issues.

So what 25 people on the nvidia forum are having an issue out of 1000's.

I'm having zero issues what so ever, and actually finally one of the major issues I had was fixed in the latest hotfix for 8.0.2.
[Shield Android TV Android Development] elliwigy:
fyi nstv pro 2019 source seems to now be available as of 4days ago

http://nv-tegra.nvidia.com/gitweb/?...c;hb=a9e971377c0addeb17ecb62316a1b7b58356376c
[Shield Android TV Android Development] g1dtf:
I have a 2015 16gb which is on the latest stock 8.0.2 OTA. I just need root so do I need to flash magisk_shield_pie_r2.zip or can I just flash the latest Magisk Canary ?
[Shield Android TV Android Development] theoisme123:
patching wireguard kernel module to kernel

Would it be possible to add a patch to the kernel in the next release to allow wireguard to utilize the kernel and not userspace for optimized vpn use?
[Shield Android TV Android Development] danny19901:
Would love to see a custom kernel for the NSTV pro 2019 if you would that would be awesome im willing to test also
[Shield Android TV Android Development] Phenomeno:
Thank you for the great job on kernel #rootfan. Beta R1.5.1 works flawlessly so far on NSTV 2017 with Shield experience 8.0.2. I have changed speeds of CPU GPU and now I don't remember the default settings. Would be nice to have button to back to defaults.
[Shield Android TV Android Development] tinhsoftware:
Hello i am on 8.0.2 can you guys please give me instruction how to root (2017 version) thank you. Please also provide download links.
[Shield Android TV Android Development] tinhsoftware:
Nvm, i have solved the problem.

For whoever want to root shield 2017 8.0.2

You need to start from fresh before root. You need

1. Twrp 3.3.1-0shieldtv-pie.img (downloadlink on first post)

2. magisk_shieldtv_pie_r2.zip (attached file on first post)

Temp boot to the twrp and flash the magisk zip file. The zip file included magisk manager.
[Shield Android TV Android Development] bum2kev:
Just flashed my 2017 500gb (SSD)! Working great. I booted into twrp and flashed from there vs just from ADB as I wanted to wipe dalvik/cache. This plus the SSD it probably blows the 2019 out of the water. Now all we need is the 2019 features to be copied over to the 2017 :)
[Shield Android TV Android Development] beatLeo:
Sorry, i'm new on flashing on shield. I noticed you didn't put to unlocked the boatloader. Is there no need for that anymore?

And, when you say "...start from fresh..." you mean i have to delete all?

I'm interested in improve game emulator so i want to try this kernel. So, 3 step should be to install kernel, right?
[Shield Android TV Android Development] elliwigy:
an unlocked bl should be obvious as its required for any android device to flash custom firmware such as twrp or kernels
[Shield Android TV Android Development] beatLeo:
Ok, thanks, that could help to a very noob one., Another cuestion, i have a custom shield, with an internal ssd hardrive, could that bring me another kind of problems? and is this procedure going to erase all my data?

Thanks for your answers.
[Shield Android TV Android Development] bum2kev:
Yes unlocking the bootloader will erase all your data. No having an ssd will not cause any problems.

[MENTION=4180946]rootfan[/MENTION] I looked on the thread and your github. I did not see a change log for 1.5.1b. What are changes from 1.5?

Thank you!
[Shield Android TV Android Development] skaif:
I have just tried to do this on my 2017 and now stuck in a boot loop with no access to adb or fastboot.

I managed to get twrp loaded and flash the pie.img and magisk.zip but after rebooting I get a bootloop.

I get the warning, the nvidia logo and then nothing. I was on 8.0.1 before and wanted to get root.

Any ideas what I can try? I do not have access to the original controller or a wired keyboard. I have various other controllers (PS4) and usb remotes etc.
[Shield Android TV Android Development] skaif:
Ok managed to fix mine by using a wired keyboard and flashing stock.

Managed to flash this kernel and everything looks good, only issue is the scaling. DPI is set way to high for me and everything is so small! Cant get Shield Tools app to work so I cant fix it. Any ideas?
[Shield Android TV Android Development] mLgz0rn:
If you want shield tools, you need the modified kernel "Kernel_R1.5.1_Beta.zip" from the first post.

You choose to use the magisk_shieldtv_pie_r2.zip which is only a modified boot with magisk.

You only need to use one of em.

magisk.zip for magisk only

kernel.zip for modified kernel which includes magisk and will make you able to use shield tools
[Shield Android TV Android Development] berpru007:
Hi everybody, hope you're doing FINE.

I've been testing the kernel overclocking the CPU and the GPU to their max levels to see a clear evolution in emulation performance. BUT suddenly after 15 to 20 minutes of gaming (Dolphin - Super Smash Melee) the Shield reboots. Someone has the same issues. Is it a thermal issue? or a stability problem with the kernel and Shield tools... THANKS for your experience.
[Shield Android TV Android Development] elliwigy:
lolol.. if ur implying it "blows" 2019 out of the water simply bcuz u have a ssd then y u need the 2019 features?

16gb is more than enough for streaming and if u want an ssd or more storage in general theres always external.

outside of that the ai upscaling better cpu and other features make it the optimal device.

heck, even the stick is better and that model isnt even rooted
[Shield Android TV Android Development] bum2kev:
The performance of the overclock is significantly faster than the 2019 stock CPU speed. The internal SSD is significantly faster than the internal 16gb drive. Not sure what you are trying to imply. The 2019 features only really added DV and the AI upscaling which my TV can do just fine. Are you not happy with the purchase of your 2019 model?
[Shield Android TV Android Development] elliwigy:
ssd isnt too relevant if using it to stream.. just saying if u want 2019 features then just upgrade lol

i also didnt pay for my 2019 nstv so im very happy with the purchase lol
[Shield Android TV Android Development] berpru007:
Hi guys. I have a question. Can I still using Netflix and Amazon Prime Video in 4k with a rooted NVIDIA Shield TV?

Thanks !
[Shield Android TV Android Development] pop4xda:
Yes, no problem.
[Shield Android TV Android Development] berpru007:
Hi everybody. Me again... I was wondering if anybody is having termal Issues. Can the Shield and its components handle overheating? Is it dangerous to overclock the GPU and RAM to it's max ? Thanks for your experience.
[Shield Android TV Android Development] chris151722:
Hi everyone, I have question, I want t go back to stock boot image i am currently using kernel 1.5.1 beta. The reason is because I am having issues with lag and freeze. Should i just flash boot.img alone or boot+system.img to prevent booting problem? I have nstv 2017 se 8.02.
[Shield Android TV Android Development] lenana:
Hello, I've been using the shield overclocked for a while and never experienced thermal issues. However, I would advise you to change the thermal paste . I was surprised to find that my paste was all dried up:p
[Shield Android TV Android Development] berpru007:
Thanks for your time. I already changed mine and I haven't rooted mu device yet. The Shield (unless the 2015 model that I have) doesn't have termal sensors ! So it's almost impossible to test if there's overheating issues...