yashsingh1/xdaforums huggingface dataset:
[Shield Android TV General] hallydamaster:
As far as I remember it should boot to Android booting animation, if it were just the block count that's not right.

The most likely culprit is that the combination of m2 SSD and adapter is the reason.

You are better off trying with a native sata SSD.
[Shield Android TV General] sabwafare2001:
An update:

Bought a Crucial SSD. Made an image from the SSHD to the laptop to obtain a backup for later. Then copied the image from the to the SSD and it worked.

Then I wondered what would happen if I copied that same image to the WD Blue M2. Did that and it worked.

It looks like the cloner and then one of the external enclosures used were the issue. I used a different external enclosure this time.

So in summary both the Crucial and WD Blue M2 SSD's (in a Sabrent enclosure) worked.
[Shield Android TV General] RDshift:
I've been having a surprising degree of difficulty reaching success here. So far, all I'm getting is the green power light. No fan spinup, no display on screen, nothing. I wasn't easily able to use fastboot to wipe, so I also recently attempted wiping with ext4 partition style, then overwriting with the details here as per usual. Not sure if a fastboot wipe of /data is a quick or a complete wipe. ANYWAY!

Here's the data I've used, and I think I've got it right, but clearly not, as I'm still struggling. Does anyone see any flaws in this so I can end my suffering and get back to entertainment? I've been using USB3.0 --> SATA adapters, mostly a Sabrent single port cable + plug adapter (not the two port dock I heard has problems).

New Drive

Intel 545S 512GB SSDSC2KW512G8X1

New drive size: 512110190592

get first part original: dd if=/dev/sdb of=firstpart.bin count=6899870

get last part original: dd if=/dev/sdb of=lastpart.bin skip=1000215206 bs=512

put first part onto new drive: dd if=firstpart.bin of=/dev/sdc

The calculations below were made with the Google Sheets spreadsheet and the drive size above, 512110190592.

Last LBA - 0x00000FA8

3B9E128E

Adjusted Reverse Byte Ordering Hex

8E 12 9E 3B

8E129E3B

New Checksum - 0x00001258

E6CCB241

Adjusted Reverse Byte Order Hex

41 B2 CC E6

41B2CCE6

Position of GPT Header - 0x00001218

3B9E12AF

AF 12 9E 3B

AF129E3B

Backup GPT Header - 0x00001220

3B9E12AF

AF 12 9E 3B

AF129E3B

Last Usable LBA - 0x00001230

3B9E128F

8F 12 9E 3B

8F129E3B

Starting LBA of array of partition entries - 0x00001248

3B9E12A6

A6 12 9E 3B

A6129E3B

Checksum of EFI Part - 0x00001210

B2D10CDC

DC 0C D1 B2

DC0CD1B2

Put the new lastpart.bin on new drive: dd if=newlast.bin of=/dev/sdc bs=512 seek=1000215206
[Shield Android TV General] SalmanYousaf:
Out of topic.... I have Shield 16gb 2017 version.. i plug ssd in usb 3.0 external and read speed is above 200mb and write speed above 150 but when same ssb configured as internal adoptable storage, read speed beacame 100mb....is there any reason why?
[Shield Android TV General] vostok4:
Does anyone know if a Widevine key can be used from an old phone to get a SHIELD TV that has a bricked HDD working? I have an old Nexus 6p with a shattered screen, if I can get the key from that can I get Widevine L1 using this flash + image modification in #143?
[Shield Android TV General] RoosterX:
Just did this process myself, and for the record just want to share my experience with it.

Been trying for quite a few hours trying to get my two spare SSD's that I just have lying around, Samsung 830 250GB, and one Crucial MX200 240GB, couldn't get neither to work, and were about to give up. Been using Windows "DD".

As a last resort I thought I might just give Ubuntu a try, on first attempt it worked, only hickup were that I needed to do a 'Factory reset' from fastboot menu of the Shield to get past the spinning 4 circles.

Note this is by using my Samsung 830 250GB SSD, which is as far as I could find searching the net not compatible because of it supposedly having to high power requirements, it does indeed work.

My Crucial I haven't tried using this method, but wouldn't surprise me if it did in fact work too.

[update]

Must add that the SSD seems to be just a tad to thick, so I do get an ever so slight bulge on the chassi. But I don't want to bother about that, it is still just gonna be standing still and hidden in my TV bench.
[Shield Android TV General] ckf92:
Hello i read in some other place that you just have to clone with a software like http://hddguru.com/software/HDD-Raw-Copy-Tool/ to replace SSHD by SSD. is it true now ?

Should i unlock bootloader or it doesn't matter anymore ?

I was thinking aout cloning wth acronis true image for example.

Last question.. any issues with NETFLIX HD ? "There are a few cloned images floating around XDA in the "replace your SSHD with a SSD" threads, but be aware that your Widevine encryption keys are lost forever, so no HD Netflix, Google Play Movies and Amazon Video access anymore." like it's told inside this post: https://forums.geforce.com/default/...o-rebuild-from-scratch-iso-or-img-available-/ #6

Thanks in advance for your answer.
[Shield Android TV General] ckf92:
hello can you help me ? i have error when i dumping lastpart.bin ( windows DD method) :

C:\Users\Florian\Desktop\shield\bin>dd if=\\?\Device\Harddisk2\Partition0 of=lastpart.bin skip=976773158 bs=512

rawwrite dd for windows version 0.5.

Written by John Newbigin <jn@it.swin.edu.au>

This program is covered by the GPL. See copying.txt for details

Error reading file: 2 Le fichier spÚcifiÚ est introuvable

10+0 records in

10+0 records out
[Shield Android TV General] jionny:
HI I used Hdd raw copy tool with perfect results, nothing lost and I did with bootloader locked
[Shield Android TV General] ckf92:
Thx

i just use Hdd raw copy tool .... now how can i do 4k align ?

thx in advance.
[Shield Android TV General] ckf92:
i answer myself...... the error.... doesn't matter... same file under linux or windows and the file is ok and working after hex editing. So everything is good for me. i didn't do 4K align because seems to be useless and introducing some issues....
[Shield Android TV General] zigguratt:
Great thread! I'm in the car (parked) so I'll keep it brief. I'm about to install an EVO 500 GB SSD into my 2015 Shield Pro. I plan to install Linux as the only OS on the machine. Is there anything I need to be aware of? Do I still need to clone the HDD? Thanks.
[Shield Android TV General] cruz40:
Great guide . My only problem was my SSD would never boot on shield. I tried dd write image to it in windows / Linux . Low-level formated the whole SSD before I wrote dd image to it and that did the trick the SSD booted on the shield.
[Shield Android TV General] Grasfer:
Hi, got problem with my shield that i get no signal, i suspect it's the sata cable. How far should it go in? Should the white ribbon on the cable be right up to the white connector?

From the picture on the OP it looks like the white ribbon is up to the connector, but i can only got a 1mm space between connector and the ribbon.

Tried original SSHD and i can't get it to boot/show picture either.

edit: [IMG="ifixit picture"]https://d3nevzfk7ii3be.cloudfront.net/igi/EuiO4aM4rdUpjhLB.medium[/IMG] mine looks like that, so i guess i got mine far enough.

// Grasfer
[Shield Android TV General] joke64:
Hello, I just bought a Crucial MX500 500GB to do the same operation. Do you confirm this SSD has the same number of sectors as the original shield HDD ?

Can you tell me which software you used for creating image et pushed it on the SSD ?

Thank you for your help :)
[Shield Android TV General] tyfoxx:
Is there a method if the Shield TV box is already dead.

Sorry if this was already mentioned.

Respectfully

Tyfoxx
[Shield Android TV General] joke64:
I answer to myself :)

Crucial MX500 500GB is fully compatible, same size and same number of sectors as original Hard Drive.

I put my Shield in Factory mode to be get a clean backup image.

I used HDD Raw copy software to create a backup image on my PC (I will keep it safely), and in a second step, I have pushed this image on my new SSD with the same software.

I have followed hardware and software guides created by Kelley Tech on Youtube.

Everything is working fine and the Shield is really fast now :)

Thank you again for this topic which help me to understand what we can do to improve the Shield !
[Shield Android TV General] etzkaaa:
HI. I have shield 2015 16gb version, its hard bricked with wrong img files with fastboot. Now there are no boot, no fastboot, no recovery, no signal to tv, only green light on top of the box. I desoldered emmc chip from mainboard, soldered to sdcard adapter and now I see all partitions of that emmc.

Question is,-How can I unbrick satv in this situation, perhaps I can rewrite bootloader and anothers partition directly from img files from nvidia site(blob, boot, recovery, system, vendor images with ubuntu dd commands? If thats possible what commands should I use? Firstly I want to backup partitions to img files(partition by partition, or I cant do that ?)( I prefer windows, but I can use ubuntu from live usb). At firstly I used some dd, but I destroyed my 1tb hhd files :D (stupid me):eek:

photos in links...

ibb.co/kG0WrZL

ibb.co/LRYRgM6

ibb.co/gP7N6QH

ibb.co/WnNQvKc

ibb.co/gP1CdsN
[Shield Android TV General] etzkaaa:
HI, can someone help me with this?

Or someone has emmc dump? I would happy if someone share these files...

Another question.- if I dont see BCT (boot_config_table) , NVC (nvtboot.bin-bootloader), NVC-B (nvtboot.bin - bootloader), GP1 partitions in partition layout( because of sdcard adapter over usb),- are they needed for repair partition to unbrick satv? Or, I have to find a solution to read all partition? There are anothers bootloaders in TBC (nvtboot_cpu.bin), TBC-B (nvtboot_cpu.bin), EBT (cboot.bin), RBL(cboot.bin),- mayby thats enought with somethink, like, recovery partition (SOS)
[Shield Android TV General] ldeveraux:
Can't you extract the bits you need from the image and flash in fastboot?

https://developer.nvidia.com/gameworksdownload#?search=SHIELD%20ANDROID%20TV%20Developer&tx=$additional,shield
[Shield Android TV General] etzkaaa:
Fastboot not working, satv is tottaly hard bricked (dead), only green light on top of the box. I cant connect satv to pc, because when connecting, no device appears in device manager. Thats why I desoldered emmc chip to work directly with that...

So far i have just copied( made backup images) all the content from emmc with dd in ubuntu :)
[Shield Android TV General] Mogster2K:
I thought I had an image, but I can't seem to find it. I will keep looking. Also, how exactly did you wire the eMMC to the adapter?
[Shield Android TV General] etzkaaa:
I wired vcc, vccq, vss, cmd, clk, dat0, dat1, dat2, dat3 chip pins directly to sdcard adapter pins. Used wire from loudspeaker.

photos in links...

ibb.co/kG0WrZL

ibb.co/LRYRgM6

ibb.co/gP7N6QH

ibb.co/WnNQvKc

ibb.co/gP1CdsN
[Shield Android TV General] etzkaaa:
Do you find the image?

Does anyone have an image(backup) from eMMC or not? Or I have to throw shield tv to the trash...:(

[MENTION=354948]oldshanshi[/MENTION] I think has, but he has not responded to my pm...
[Shield Android TV General] Mogster2K:
No luck so far, but don't trash it just yet. I may end up removing the chip and soldering it to an SD adapter myself.
[Shield Android TV General] etzkaaa:
[MENTION=4148780]Mogster2K[/MENTION] , I would be very grateful. According to this https://xdaforums.com/android/help/adb-fastboot-commands-bootloader-kernel-t3597181 its possible to backup partitions by adb .

Another think, that this method, connecting emmc to sd card adapter(over usb) has a problem, not seeing firsts boot partitions and I dont know whether it is needed or not to unbrick satv. If you connect to internal sd card reader( on laptop over pci-e)( not external over usb), then I think, there is no problem seeing all partitions...

And there is no need to desolder emmc chip, I have my photo with pins on motherboard, where you can solder wires. But you should have 1.8v and 3.3v from somewhere, desolder cpu crystal oscilator, because it can interupt reading emmc. That, somehow, dont work for me, then I desolder chip and that works for me.

here is the foto for pins:

ibb.co/HgCqdMJ
[Shield Android TV General] Gyngy:
Thank you guys ([MENTION=2890402]hallydamaster[/MENTION], [MENTION=7254357]anchung.chen[/MENTION], ...) for this great guide.

I was able to install 60GB SSD to shield and it is working very nice.

What still bothers me is need to do factory reset after new ssd is prepared. I was looking for solution to copy data from /data and /system partition (it was around 30 GB in my case) and put it on SSD to have all apps and settings preserved. But unfortunately there is no systematic way how to do it. Do you know way how to do it (but copy whole partition sector by sector)?
[Shield Android TV General] Mogster2K:
Sorry for the late reply. I had hoped to get a motherboard off ebay, but it got sniped. :crying:

How certain are you about these solder points on the motherboard? I've never done anything quite like this and I want to be sure of as much as I can before starting. Is the point labeled VCC Q the ground? I don't see a point for 1.8V here, is it really needed? Which part is the CPU oscillator? Thanks
[Shield Android TV General] etzkaaa:
Hi, I found myself these solder points, when I desolder eMMc chip. Theoretically, soldering to these points should work . For some reason it did not work for me, maybe voltage was to small or somethink else.. Theoretically, there is no need to solder 3.3v and 1.8v to motherboard, if you connect AC wall plug. Maybe instead of 1.8v it should be 3.3v, but thats possibly can damage cpu and another thinks on that voltage rail.

To avoid all this, I desoldered emmc. Connected VCC-3,3V, VCCQ-3,3V( should work 1.8v too. SD card adapter only gives 3.3v), VSS-ground(everywhere on motherboard, where is ground), CLK, CMD, and four data lines.

Oscilator is here, I desoldered it:

https://ibb.co/DrfxFkW

More info is here, about connecting emmc chip to sdcard adapter (pdf file):

https://www.blackhat.com/docs/us-17/wednesday/us-17-Etemadieh-Hacking-Hardware-With-A-$10-SD-Card-Reader-wp.pdf
[Shield Android TV General] rootfan:
Thanks [MENTION=2890402]hallydamaster[/MENTION], [MENTION=7254357]anchung.chen[/MENTION] , and [MENTION=2163004]Luxferro[/MENTION] . My shield is now running well with an 80Gb Intel SSD. While I was working on this I made a Python 3 script that works just like anchung.chen's program to do the GPT edits and 4K alignment. However, since it's a Python 3 script, it'll work on Windows, MacOS, or a Raspberry Pi for that matter. Just make sure Python 3 is installed if you use it on windows.

Example Usage following hallydamaster's guide:

./pro_gpt_calc.py lastpart.bin 2000398934016 new_lastpart.bin

On Windows leave out the ./
[Shield Android TV General] hallydamaster:
Great one there, hopefully going to help those doing it the Windows way. ?
[Shield Android TV General] etzkaaa:
[MENTION=4148780]Mogster2K[/MENTION] there is another more simple way to read emmc partition to image file. You can desolder emmc chip and solder it to USB 2.0 eMMC adapter, and then emmc acts like regular usb flash drive. I soldered toshiba emmc from sony android tv mainboard, and it works great...

https://www.ebay.com/itm/USB-2-0-eMMC-Adapter-153-169-eMCP-PCB-Main-Board-without-Flash-Memory/232603040068?hash=item362838b944:g:skIAAOSwBkRaOggb
[Shield Android TV General] Danieli1669:
Hello Guys,

My original SSHD(Seagate 500gb) has been fault, it wont turn on again,

What i got right now its sandisk 240GB SSD, how can i do that with it?

Please its really urgent :(
[Shield Android TV General] hallydamaster:
If you don't have a backup of your partitions, you'll first have to obtain a backup from another device.

Then you will have to modify the last part.bin to match the byte count on your 240gb SSD.

Then you can install it in the SATV and start it up.

If you use a backup obtained from another device, Netflix 4k and the likes will not work, due to Widevine being broken.
[Shield Android TV General] Danieli1669:
Helllo, thank you for answering, Its not possible to flash a new OS that i can downloading from Nvidia on the 240GB SSD sandisk?

what about if i have another 850Evo Samsung 250GB?
[Shield Android TV General] hallydamaster:
Unfortunately you cannot "install" a new OS from scratch, it has to be your original partitions to get everything working.

There is a 250gb lastpart.bin in the first post, but you will need a working set of partitions to get it working.

There is a firstpart.bin in another thread by Tilator, but it'll break Widevine.
[Shield Android TV General] Danieli1669:
Thank you for answering, But to clear it, if im getting another SSHD Seagate 500GB(New one)

I cant do anything? the original one become deffective, then i cant get the original partition?

I can make my shield work again or just throwing to the garbage ?
[Shield Android TV General] ahmed68:
this working partition

1.

https://mega.nz/#!lsBHESQJ!YgdiENLIIA5k6fd-6FMedxR4vgEPuw7ZX0KHifY2AnU

2.

https://mega.nz/#!VtxznaLR!QtEbzfqAomuksyiZIUOx3KlSnzUxqKurd8WiDJqb7hs
[Shield Android TV General] Danieli1669:
Hello Ahmed, i got another disk 500gb of Seagate, how can i do it exactly with these one? should i need both? and which commands ? Please help me dear
[Shield Android TV General] ahmed68:
connect hdd to pc

use ubuntu In a terminal

sudo -s

fdisk -l

u see the name of your hhd (sdX)

be sure that partition table its GPT can use GParted

then In a terminal

sudo -s

dd if=backup.(img or bin) of=/dev/sdX conv=sync,noerror

P.S

this backup from stok SATV Pro sshd 500 gb its 100% worken

backup.(img or bin) must be copied in home folder

if dosnt work tray with this command

1.sudo fdisk -l

sudo fdisk /dev/sdx # input n, p ,1, enter, enter, w

sudo mkfs.ext4 /dev/sdx
[Shield Android TV General] Danieli1669:
thank you for answering, is that possible to talk with u directly? via discord? skype?
[Shield Android TV General] etzkaaa:
[MENTION=7449004]ahmed68[/MENTION] maybe you have good 2015 16gb version eMMc flash dump?
[Shield Android TV General] ahmed68:
so sorry only 500 gb
[Shield Android TV General] etzkaaa:
Look forward, maybe someone will have somethink. Surprisingly, no one has 16gb dump...:(
[Shield Android TV General] ahmed68:
download and install Recovery Images from nvidia

https://developer.nvidia.com/shield-open-source

ENTERING FASTBOOT MODE

*****

To begin, connect your SHIELD via USB to the PC where you downloaded this recovery image.

- Insert a USB OTG cable and connect the other end to the host PC

- Setup adb using one of the guides above

Next, put your SHIELD into fastboot mode using one of the following methods:

Software Method:

- Boot the into Android

- Connect the device to the host PC

- Open terminal (on linux); command prompt (on windows).

- Type "adb reboot bootloader" at the prompt

Hardware Method:

- Disconnect power cable

- Connect power cable to SHIELD

- As soon as the green LED turns on -BUT NOT BEFORE- hold down the power button

- Count to three, then immediately release the power button

- i.e. one-one thousand, two-one thousand, three-one thousand.. LIFT!

- You should now see the fastboot menu on the screen.

- If the standard boot process starts, disconnect the power cable and repeat

the process increasing the count in the previous step to 4.

NOTE: You should leave the HDMI TV connected to SHIELD at all times.
[Shield Android TV General] etzkaaa:
Its impossible to do that. Bootloader is broken with wrong nvidia image. I flashed 6.3 blob file over original 8.0. For now its impossible to boot to recovery, no fastboot, only green light on top...Thats why I need emmc flash dump, I can directly write good partitions to emmc...
[Shield Android TV General] Danieli1669:
Hello Ahmed,

I tried with your backup on 500GB Seagate

and insert it to my nvidia, now i turn it on but nothing happened.. after the dd commands i see the disk on linux but looks like nothing there, its ok?
[Shield Android TV General] ahmed68:
if the first method not work mebay hdd have other geometry . dowload this torrent

https://yadi.sk/d/30zFSLAT9PagcQ

This is a guide to change Nvidia Shield TV Pro internal SSHD to SSD (or other 500GB drive).

This will only tell how to prepare SSD for this Nvidia Shield TV PRO 500GB. You have to also know how to open the device, how to take old disk out and how to put new to replace it. You also need a Linux computer with free SATA port to connect your drive to for flashing it. However there are not any screws to hold the drive and it has a common SATA connection.

Preparation takes two binary files to be put on the new drive. I have only done this for Samsung EVO 850 500GB drive (type MZ-75E500B/EU). I suppose this works with other similar drives too, but I can not guarantee it.

Here is what you need to do:

1. unzip start.zip and put binary file start.bin in the beginning of your SSD drive. I use Linux command DD to do this. If your drive is sdX the command will be something like this:

dd if=start.bin of=/dev/sdX bs=4M

2. unzip end_976574630.zip and put binary file end_976574630.bin to a proper place of the same disk. Again with DD it would be something like this:

dd if=end_976574630.bin of=/dev/sdX seek=976574630

3. put the SSD drive in your Nvidia Shield TV PRO and boot it up. Let it run about 15 minutes. It will not boot until you now cold boot it second time.

It takes a minute or two to boot this time and the device will come up as expected.

Enjoy your new Nvidia Shield TV PRO SSD !!!!

B.T.W The same procedure works with a normal 500GB HDD too in case you would like to use this type disk. So - this also works as an emergency backup in case the original drive will become defective.
[Shield Android TV General] Danieli1669:
Also tried, im sure im doing it wrong, Please its that possible to contact u directly?
[Shield Android TV General] ahmed68:
connect hdd to pc with ubuntu open terminal

1.sudo -su

fdisk -l

fdisk /dev/sdx # input n, p ,1, enter, enter, w

mkfs.ext4 /dev/sdx

2.from backup

https://mega.nz/#!lsBHESQJ!YgdiENLIIA5k6fd-6FMedxR4vgEPuw7ZX0KHifY2AnU

dd if=firstpart.bin of=/dev/sdx

dd if=lastpart.bin of=/dev/sdx bs=512 skip=3907029158

in fastboot mod

fastboot format FS:EXT4 /data
[Shield Android TV General] Danieli1669:
thank for reply, should i see anything in the disk with ubuntu? (after im doing all of that)
[Shield Android TV General] ivanovjohn2018:
When you transfer 2 files (each separately), the terminal will show that the copied file size ****

In the Ubuntu you will not see the disk with Nvidia Shield tv with files (if you click open folders).There will be reflected the main computer and other disks or a flash drive which is connected. Your 500(480) gb drive will not be reflected.
[Shield Android TV General] Timtheloon:
Been at this 4 two days, with a swap of a USB controller, Yes!!! Finally some action.

So I was struggling to get this to work tried every method given on this thread and nothing could not get my Shield to boot with a 512gb SSD.

So I thought I would just try a different USB drive holder and hey presto that was it!!

The one I was originally using didn't show all the sectors of the drive it only give me 1000215215 sectors.

So I then used another and it give me 1000215216 sectors so I followed the method in post 3 using Linux, popped it in my Shield and I am now SSD'd!!!!

Thank you so much guys for all the work you have put into this fix/mod.

Hopefully this will help others who are having trouble it just maybe your USB controller.

:good:
[Shield Android TV General] Danieli1669:
After im did it this its still not working.. see image :
[Shield Android TV General] ivanovjohn2018:
You do not have a partition on the sda disk, to create a partition, type the command in the terminal

sudo mkfs -t ext4 /dev/sda

then again go through the command sudo gparted , you should reflect the partition formatted in ext4

then press the right mouse button where I pointed and select again format in ext4, do not forget to tick where I pointed the arrow. Then you can execute commands for your disk sda to copy files.

sudo dd if=start.bin of=/dev/sda bs=4M

sudo dd if=end_976574630.bin of=/dev/sda seek=976574630