[ROOT][10-29-13]How to Manually Root the Nvidia Shield

shimp208

Recognized Contributor
Jan 25, 2011
2,624
3,035
0
Boston
Yep those are the ones I have an entire thread under this in the general section. Been through hell and ack but its not working. Uninstalled the original drivers found in device manager and installed the ADB ones from that post
Still no joy
Do you have a Linux box or Linux installed that you could try using ADB with? If you do this make sure to add the Nvidia USB vendor id of 0955 to the 51 or 99 Android USB rules as mentioned in the official Android build environment guide.
 

lichangzhou

New member
Aug 23, 2013
2
0
0
after i input the commends it show like this,what is problem

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP /syste
m
exitmount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP /s
ystem
ev/block/platform/sdhci-tegra.3/by-name/APP /system <
mount: Operation not permitted
255|[email protected]:/ $
exit
 

gogul1

Senior Member
Aug 20, 2013
76
1
0
Same here

after i input the commends it show like this,what is problem

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP /syste
m
exitmount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP /s
ystem
ev/block/platform/sdhci-tegra.3/by-name/APP /system <
mount: Operation not permitted
255|[email protected]:/ $
exit
Same here I got that too at one point
 

shimp208

Recognized Contributor
Jan 25, 2011
2,624
3,035
0
Boston
after i input the commends it show like this,what is problem

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
mount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP /syste
m
exitmount -o rw,remount -t ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP /s
ystem
ev/block/platform/sdhci-tegra.3/by-name/APP /system <
mount: Operation not permitted
255|[email protected]:/ $
exit
Make sure you flash the insecure boot.img provided in the original post first or else it will not allow you to mount the /system partition to make the necessary changes which is why is returning a operation not permitted error.
 

gogul1

Senior Member
Aug 20, 2013
76
1
0
all the tegra stuff installed.

Ok I installed all that stuff. So what should I do now?

---------- Post added at 10:33 PM ---------- Previous post was at 09:48 PM ----------

sorry Still no luck with it :crying:

operation not permitted
these are the new drivers in my device manager

View attachment 2209175


Here is a video of my original problem before I installed the Nvidia Tegra developer drivers

http://youtu.be/amk7fkKJtSc

Please watch as any advice will be better than none. cheers
 
Last edited:

wwjoshdew

Recognized Contributor
Dec 30, 2008
1,389
1,399
0
Seattle
tinyurl.com
Ok I installed all that stuff. So what should I do now?

sorry Still no luck with it :crying:

operation not permitted
these are the new drivers in my device manager

View attachment 2209175


Here is a video of my original problem before I installed the Nvidia Tegra developer drivers

http://youtu.be/amk7fkKJtSc

Please watch as any advice will be better than none. cheers
@gogul1 Try this: http://www.youtube.com/watch?v=XSisjVwcPbE

UPDATE: NEVERMIND... I watched your video and you did everything I did, and it's something else that you need help with. Sorry!

UPDATE 2: Looks like at about 7:19 in the video, you're trying to copy/paste multiple commands at once. Do each one, one by one.
http://www.youtube.com/watch?v=amk7fkKJtSc&hd=1&t=7m10s
 
Last edited:

lichangzhou

New member
Aug 23, 2013
2
0
0
Make sure you flash the insecure boot.img provided in the original post first or else it will not allow you to mount the /system partition to make the necessary changes which is why is returning a operation not permitted error.
i was flash the "thor-insecure-boot.img" which u post,still like that,but after i tried cwm recovery to upload Superuser-su is ok,root already now,thanks for ur help.
after root will effect the update from nvidia server?
 

shimp208

Recognized Contributor
Jan 25, 2011
2,624
3,035
0
Boston
i was flash the "thor-insecure-boot.img" which u post,still like that,but after i tried cwm recovery to upload Superuser-su is ok,root already now,thanks for ur help.
after root will effect the update from nvidia server?
The general rule of thumb is that OTA updates will break root access. As long you are on the stock ROM you will receive OTA updates from Nvidia, but if you try to apply them while running a custom recovery they will likely fail. However I believe agrabren fixed his CWMR recovery image to allow you to flash OTA updates through the custom recovery.
 

gogul1

Senior Member
Aug 20, 2013
76
1
0
@gogul1 Try this: http://www.youtube.com/watch?v=XSisjVwcPbE

UPDATE: NEVERMIND... I watched your video and you did everything I did, and it's something else that you need help with. Sorry!

UPDATE 2: Looks like at about 7:19 in the video, you're trying to copy/paste multiple commands at once. Do each one, one by one.
http://www.youtube.com/watch?v=amk7fkKJtSc&hd=1&t=7m10s
Yeah tried typing in the lines seperately, still no joy.

Its odd because
I can boot it
It shows up when I type in Fastboot devices
It installs the thor.img and reboots ok
I type in adb shell
I then type in the mount order and it still says operation not permitted.

What is stopping the mount?
very odd.
Could still be the drivers but don't see why I can get that far on the developer drivers and then not go any further.

View attachment 2210120

and heres the operation not permitted screen

View attachment 2210155
 
Last edited:

shimp208

Recognized Contributor
Jan 25, 2011
2,624
3,035
0
Boston
Yeah tried typing in the lines seperately, still no joy.

Its odd because
I can boot it
It shows up when I type in Fastboot devices
It installs the thor.img and reboots ok
I type in adb shell
I then type in the mount order and it still says operation not permitted.

What is stopping the mount?
very odd.
Could still be the drivers but don't see why I can get that far on the developer drivers and then not go any further.

and heres the operation not permitted screen
From looking at the reason your getting permission denied for the mount operation is because you don't have a root shell in adb shell not a driver related issue. Now this is baffling because the boot image I provided is insecure and has ro.secure in deafult.prop set to 0 (ro.secure=0) I'll look into this.

Edit: Ok I think I have found the problem thanks to Wugfresh's explanation which can be found here. It seems Nvidia has patched the adbd binary to prevent running boot commands from the boot.img but I'll try and patch it with a different binary as recommended and upload a new boot.img file.
 

shimp208

Recognized Contributor
Jan 25, 2011
2,624
3,035
0
Boston
@gogul1

The Original Post has been updated to include a new insecure boot.img. This new boot.img includes a patched adbd binary that should now allow root shell access when the insecure boot.img is booted through fastboot.
 
  • Like
Reactions: gogul1

gogul1

Senior Member
Aug 20, 2013
76
1
0
@gogul1

The Original Post has been updated to include a new insecure boot.img. This new boot.img includes a patched adbd binary that should now allow root shell access when the insecure boot.img is booted through fastboot.
It WORKED!

WOO HOO!

Thanks to all you guys who helped, really appreciate it what a great and patient bunch of people you are!
Thank you Thank you Thank you!
 
  • Like
Reactions: shimp208

MakiManPR

Member
Feb 20, 2013
8
1
0
The manual method I posted in this thread should still work with the latest OTA update if you follow the procedure in the OTA :good:.
When in Normal Shield Boot Mode my PC(Win8) does detect it. I can even give it the command to go to Fastboot. But when in Fastboot my PC doesn't recognize it anymore.

This is after going to Fastboot





---------- Post added at 01:06 PM ---------- Previous post was at 12:24 PM ----------

Fixed everything thanks to this vid



---------- Post added at 01:44 PM ---------- Previous post was at 01:06 PM ----------


If users would like me to create a 1-click root process of this please let me know and I will do so :).


PLEASE!
 
Last edited:
  • Like
Reactions: wwjoshdew
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone