[RECOVERY] CWM for NVIDIA SHIELD

Entropy512

Senior Recognized Developer
Aug 31, 2007
14,095
25,085
0
Owego, NY
does flashing blobs do more that just copy the blob to the USP partition?
It's interesting since the /staging partition is mounted as type "emmc" - which pretty much means "used for raw images".

I need to look at how updater-binaries and recovery interact here - it may be a simple matter of adding /staging to the fstab but I'm not sure.

I'm also curious if nv_copy_blob_file is implemented in the source tree NVidia pushed - haven't looked yet. If source code for nv_copy_blob_file exists, it makes things much easier. :)
 

aDigitalPhantom

Senior Member
May 10, 2011
528
118
0
Classified
It's interesting since the /staging partition is mounted as type "emmc" - which pretty much means "used for raw images".

I need to look at how updater-binaries and recovery interact here - it may be a simple matter of adding /staging to the fstab but I'm not sure.

I'm also curious if nv_copy_blob_file is implemented in the source tree NVidia pushed - haven't looked yet. If source code for nv_copy_blob_file exists, it makes things much easier. :)
the partition that /staging mounts is /dev/block/platform/sdhci-tegra.3/by-name/USP

as can be seen in the factory recovery's recovery.fstab
Code:
# mount point	fstype		device

/recovery       emmc            /dev/block/platform/sdhci-tegra.3/by-name/SOS
/boot           emmc            /dev/block/platform/sdhci-tegra.3/by-name/LNX
/system         ext4            /dev/block/platform/sdhci-tegra.3/by-name/APP
/cache          ext4            /dev/block/platform/sdhci-tegra.3/by-name/CAC
/misc           emmc            /dev/block/platform/sdhci-tegra.3/by-name/MSC
/staging        emmc            /dev/block/platform/sdhci-tegra.3/by-name/USP
/metadata       emmc            /dev/block/platform/sdhci-tegra.3/by-name/MDA
/data           ext4            /dev/block/platform/sdhci-tegra.3/by-name/UDA
/sdcard         vfat            /dev/block/platform/sdhci-tegra.0/by-num/p1
I would like to know if the line
Code:
nv_copy_blob_file("blob", "/staging");
can be replaced with this line
Code:
package_extract_file("blob", "/dev/block/platform/sdhci-tegra.3/by-name/USP");
 

djGrrr

Member
Oct 21, 2012
5
0
0
I would like to know if the line
Code:
nv_copy_blob_file("blob", "/staging");
can be replaced with this line
Code:
package_extract_file("blob", "/dev/block/platform/sdhci-tegra.3/by-name/USP");
This should work, you can always use fastboot though to manually flash it with:
fastboot flash staging blob

I actually did the update without updating the staging partition and it still worked fine, then later manually flashed the blob file with fastboot
 
Last edited:

aDigitalPhantom

Senior Member
May 10, 2011
528
118
0
Classified
http://goo.im/devs/agrabren seems to be gone.

This was a simple ramdisk edit.
I don't know for 100% sure if this recovery is 1.1, but if I am correct 1.0 was based on 4.2.2 and 1.1 on 4.3
From that I am guessing that this is 1.1, as to my knowledge there have been two recovery images so far.
Also I have been wrong about 1.1 solving the naming error.


I have edited the ramdisk for 1.1 now and it should work.
Link

device name from update 63
Code:
assert(getprop("ro.product.device") == "roth" ||
       getprop("ro.build.product") == "roth");
name from 1.1
Code:
ro.product.device=thor
ro.cm.device=thor
name for edited recovery
Code:
ro.product.device=roth
ro.cm.device=roth
I also want to point out that I could be wrong here.

Link removed it seems to be broken
 
Last edited:
G

GuestD1080

Guest
Please anyone share information about how to remove CWM recovery in my nvidia shield? i want to remove it because its a old recovery and doesnt have support anymore
 
Last edited:
G

GuestD1080

Guest
What version do you have

Sent from my SPH-L710 using XDA Premium 4 mobile app

---------- Post added at 03:00 AM ---------- Previous post was at 02:46 AM ----------

Want to restore have you used the kit http://forum.xda-developers.com/showthread.php?t=2444525

Sent from my SPH-L710 using XDA Premium 4 mobile app

Thanks for the reply i download here thanks to the user shinradrt.I installed on my nvidia shield but i dont know how to access the CWM Recovery and tell you what version i have.Please can you help me to remove CWM recovery...
 
Last edited:

Sess

Senior Member
Aug 8, 2005
327
43
58
Metairie LA
blog.shinkamui.net
Development on this seems dead. Update 65 keeps trying to flash, and i show having version 64, yet, i have features from 65. I think i may also need to just remove CWM, since im running stock rooted anyway, its probably not serving any real purpose for me. Who has a link to stock recovery?
 

tangcla

Senior Member
Sep 10, 2008
2,467
347
0
Melbourne, Australia
www.tangcla.com
Development on this seems dead. Update 65 keeps trying to flash, and i show having version 64, yet, i have features from 65. I think i may also need to just remove CWM, since im running stock rooted anyway, its probably not serving any real purpose for me. Who has a link to stock recovery?
Here's the stock recovery image.
Edit : 4.2.1
 

Attachments

Last edited:

psycho1200

Senior Member
Jun 20, 2012
158
29
0
Ecatepec
Please anyone share information about how to remove CWM recovery in my nvidia shield? i want to remove it because its a old recovery and doesnt have support anymore
Use the nvidia toolkit posted on development to flash the recovery, if not im sorry to tell you this but will return your shield to out of the box using the same toolkit, [TOOLKIT] Shield Root and More! [Shield RAM V1.0](flash the recovery for 4.3), i used this to return out of the box [TOOLKIT] [UNLOCK ] [ROOT] [RESTORE] Kwongger's NVIDIA SHIELD Toolkit v2.0.1 Good luck and let me know if you need something else :victory:
 
G

GuestD1080

Guest
Use the nvidia toolkit posted on development to flash the recovery, if not im sorry to tell you this but will return your shield to out of the box using the same toolkit, [TOOLKIT] Shield Root and More! [Shield RAM V1.0](flash the recovery for 4.3), i used this to return out of the box [TOOLKIT] [UNLOCK ] [ROOT] [RESTORE] Kwongger's NVIDIA SHIELD Toolkit v2.0.1 Good luck and let me know if you need something else :victory:
Thanks for the help....but i resolve some time ago my problem.I only flashed the stock recovery with the software minimal adb fastboot.
 
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