eMMC recovery tool for ODROID-U2/U3

User avatar
odroid
Site Admin
Posts: 41864
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3433 times
Been thanked: 1920 times
Contact:

eMMC recovery tool for ODROID-U2/U3

Post by odroid »

================ Update 26-June-2014 =======================
Added the U3+(PCB Rev 0.5) Support for the fastboot interface via USB OTG.
Added the eMMC 5.0 compatibility.
exynos4412_emmc_recovery_from_sd_20140629.zip
(485.23 KiB) Downloaded 2902 times
========================================================

Few people have an issue of dead eMMC with ODROID-U2/U3.
We thought there is possibility of some portion of hidden boot sector in eMMC can be corrupted.
So we made this utility.

How to use. (Read carefully)
1. Prepare a microSD card and flash the attached image.
2. Boot with the microSD without eMMC
3. Turn on U2/U3 and wait for a few seconds and blue LED will blink.
4. Plug your eMMC module into U2/U3
5. Plug micro-USB cable into U2/U3 and connect other side to your PC USB host or ODROID's USB host port. (This is a trigger to start the recovery)
6. After recovery process (only a few seconds), the blue LED will turn off automatically.
7. Finish. Install OS on your eMMC with as usual.

Before trying this utility, double check your USB memory reader first.
Because of tolerance issue of reader board, some USB memory reader has the mechanical contact issue.
Please also note that the eMMC needs much more current(power consumption) than normal SD card.
So some reader may not supply enough power for eMMC.



We are using this Transcend USB reader for 2 years and there was no issue. Just for your reference.
Image
These users thanked the author odroid for the post:
clang (Thu May 07, 2020 6:45 am)

User avatar
sert00
Posts: 745
Joined: Sun Feb 24, 2013 12:26 am
languages_spoken: english,italian
ODROIDs: ODROID-U2*2__ODROID-U3__ODROID-XU-E__ODROID-XU-Ebeta__ODROID-C1__ODROID-XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2

Post by sert00 »

very great work guys!thanks,it could be very helpful! :D
2x Odroid-U2
2x Odroid-XU-E
Odroid-U3
Odroid-C1+
Odroid-XU4
Lcd touch panel 10.1"
....and many of the goodies available....

User avatar
sert00
Posts: 745
Joined: Sun Feb 24, 2013 12:26 am
languages_spoken: english,italian
ODROIDs: ODROID-U2*2__ODROID-U3__ODROID-XU-E__ODROID-XU-Ebeta__ODROID-C1__ODROID-XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2

Post by sert00 »

i had a non-working 8gb Emmc...it was drive me crazy..then after trying this method,i can definetly boot what i want in it after a week of tests,at least 15 times i tried dd'ing an .img without luck!
confirmed working,and thanks!!!!
2x Odroid-U2
2x Odroid-XU-E
Odroid-U3
Odroid-C1+
Odroid-XU4
Lcd touch panel 10.1"
....and many of the goodies available....

cyborgas
Posts: 28
Joined: Sat Mar 02, 2013 6:18 am
languages_spoken: portuguese,english
ODROIDs: odroid-u2
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2

Post by cyborgas »

Great!! It really works. I was thinking that i might damaged my emmc, but it was boot corruption... now i'm off to the new android version.

readyblue
Posts: 14
Joined: Thu Feb 28, 2013 7:00 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2

Post by readyblue »

Confirmed working even on Odroid-X2, than you very much!

tokki2cut
Posts: 5
Joined: Fri Mar 08, 2013 9:52 am
languages_spoken: english, korean, japanese
ODROIDs: ODROID-X, ODROID-PC, ODROID-U2, ODROID-XU
Location: Daejeon, Korea
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2

Post by tokki2cut »

It also works on ODROID-X like a charm!

My symptom of eMMC module was like this:

Code: Select all

...
MMC Device 0: 15028 MB
..
reading boot.scr
Warning : Reads a file that is smaller than the cluster size.
431 bytes read
## Executing script at 40008000
reading kernel..device 0 Start 2455, Count 16384
MMC read: dev # 0, block # 2455, count 16384 ... 16384 blocks read: OK
completed
reading RFS..device 0 Count 18839, Start 2048
MMC read: dev # 0, block # 18839, count 2048 ... 2048 blocks read: OK
completed
Wrong Image Format for bootm command
ERROR: can't get kernel image!
But I could recover my eMMC module with the above instruction. Thanks!

After recovering, I could dd via Transcend TS-RDF8K USB reader, eMMC connected with Hardkernel's eMMC reader (enclosed with U2), on my iMac. And now Ubuntu starts to work in my ODROID-X solely on eMMC module.

User avatar
Matt
Posts: 575
Joined: Tue Feb 26, 2013 4:57 pm
languages_spoken: English
ODROIDs: X2, U2, XU+E rev.2, Smart Power
Location: Charlottesville, VA, USA
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2

Post by Matt »

Just out of curiosity... If someone were to get an ODROID-XU with an eMMC that had this same problem, would this recovery tool work for it? Or will the new eMMCs or new bootloaders need a new recovery tool?

The way I understand it is that there was a batch of eMMCs that had corrupt software/firmware/bootloader or something flashed to them, and that this tool re-flashes that software/firmware/bootloader to fix the problem? In any case, theoretically there should be no such problem on any of the new eMMCs in the future, but I was just wondering if the software that was corrupt would have to be different for the new eMMC modules.
ODROID Boards: U2, X2, XU+E rev.2
Accessories: VU, Smart Power, 13" LCD Kit (for the X2)

mdrjr
Site Admin
Posts: 11965
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 5 times
Been thanked: 110 times
Contact:

Re: eMMC recovery tool for ODROID-U2

Post by mdrjr »

Matt wrote:Just out of curiosity... If someone were to get an ODROID-XU with an eMMC that had this same problem, would this recovery tool work for it? Or will the new eMMCs or new bootloaders need a new recovery tool?

The way I understand it is that there was a batch of eMMCs that had corrupt software/firmware/bootloader or something flashed to them, and that this tool re-flashes that software/firmware/bootloader to fix the problem? In any case, theoretically there should be no such problem on any of the new eMMCs in the future, but I was just wondering if the software that was corrupt would have to be different for the new eMMC modules.
We'll release a tool for XU, this one.. doens't work for XU..

XU users a completely different bootloader..

gripped
Posts: 691
Joined: Tue May 21, 2013 11:34 pm
languages_spoken: english
ODROIDs: U2 XU U3 XU3
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2

Post by gripped »

mdrjr wrote:
We'll release a tool for XU, this one.. doens't work for XU..

XU users a completely different bootloader..
Did it get released? The only one I can find is the android one at http://dn.odroid.com/ODROID-XU/Recovery ... taller.zip
I assume I can just use this and then delete the partitions to get an XU bootloader on a spare emmc I have (currently has U2 bootloader on it) ?

mdrjr
Site Admin
Posts: 11965
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 5 times
Been thanked: 110 times
Contact:

Re: eMMC recovery tool for ODROID-U2

Post by mdrjr »

gripped wrote:
mdrjr wrote:
We'll release a tool for XU, this one.. doens't work for XU..

XU users a completely different bootloader..
Did it get released? The only one I can find is the android one at http://dn.odroid.com/ODROID-XU/Recovery ... taller.zip
I assume I can just use this and then delete the partitions to get an XU bootloader on a spare emmc I have (currently has U2 bootloader on it) ?
Yes, but please create a separated thread for that so we don't offtopic this one :)

Apokalypz
Posts: 178
Joined: Thu Dec 26, 2013 12:58 pm
languages_spoken: english
ODROIDs: • Odroid -XU
• Odroid-C1
Location: USA
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2

Post by Apokalypz »

Just a thought. Will cloning the first 512 bytes of a freshly restored eMMC with dd preserve just the boot loader? The restoration method in the OP is a PITA and i never want to go through it again. I know it works on HDDs, though I'm not sure how uboot or eMMCs work. Thanx.

User avatar
odroid
Site Admin
Posts: 41864
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3433 times
Been thanked: 1920 times
Contact:

Re: eMMC recovery tool for ODROID-U2

Post by odroid »

Because the eMMC boot sectors are not accessible with the dd command, we made this special way.
The hidden boot block should be access in a different way.
The u-boot in the SD-card open the hidden block and write some boot blobs and close it.

jelh
Posts: 2
Joined: Wed Jan 22, 2014 11:12 pm
languages_spoken: english,swedish
ODROIDs: Odroid-U3
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2

Post by jelh »

Does this recovery tool also work for Odroid-U3?

mdrjr
Site Admin
Posts: 11965
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 5 times
Been thanked: 110 times
Contact:

Re: eMMC recovery tool for ODROID-U2

Post by mdrjr »

Aye! :) It works!

jelh
Posts: 2
Joined: Wed Jan 22, 2014 11:12 pm
languages_spoken: english,swedish
ODROIDs: Odroid-U3
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by jelh »

I have tried to recover my emmc card a several times but it does not work, so I give up.
I have only one microSD to test with and every time I have flashed it with the Android image it seems to be corrupt. The blue led does not blink.
I have used both Gparted and KDE:s partition tool when creating partitions.
I bought 2 emmc cards, the other is a Linux card (Xubuntu) and it works.
I want to have a new working emmc card with Android, how shall I do?

mdrjr
Site Admin
Posts: 11965
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 5 times
Been thanked: 110 times
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by mdrjr »

jelh wrote:I have tried to recover my emmc card a several times but it does not work, so I give up.
I have only one microSD to test with and every time I have flashed it with the Android image it seems to be corrupt. The blue led does not blink.
I have used both Gparted and KDE:s partition tool when creating partitions.
I bought 2 emmc cards, the other is a Linux card (Xubuntu) and it works.
I want to have a new working emmc card with Android, how shall I do?
create your own thread. is a good start.

Wolf
Posts: 2
Joined: Fri Feb 28, 2014 4:36 pm
languages_spoken: English
ODROIDs: Odroid U2/3
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by Wolf »

After recoveried my 64G emmc, the emmc just show 31G? Is there any solution to recovery it in order to get back the original 64G size? Thank you!

User avatar
odroid
Site Admin
Posts: 41864
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3433 times
Been thanked: 1920 times
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by odroid »

It is normal when you access the eMMC in Windows.
Check the full partitions and you can see 62~64GB.

smashukikz
Posts: 4
Joined: Sat Feb 23, 2013 2:47 pm
languages_spoken: english
ODROIDs: 2 X Odroid U2's
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by smashukikz »

Nice thanks for this...

nobicycle
Posts: 69
Joined: Fri Oct 25, 2013 6:10 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by nobicycle »

Turn on U2/U3 and wait a few seconds and blue LED will blink.
4. Plug your eMMC module into U2/U3
Please confirm - the eMMc is plugged into the U2/U3 with the power to the U2/U3 on? Hot plugging causes no damage?

mdrjr
Site Admin
Posts: 11965
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 5 times
Been thanked: 110 times
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by mdrjr »

nobicycle wrote:
Turn on U2/U3 and wait a few seconds and blue LED will blink.
4. Plug your eMMC module into U2/U3
Please confirm - the eMMc is plugged into the U2/U3 with the power to the U2/U3 on? Hot plugging causes no damage?
eMMC isn't initialized at that point. So no of course there's no damage.
Why we would ask you to do something that will damage your board?

nobicycle
Posts: 69
Joined: Fri Oct 25, 2013 6:10 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by nobicycle »

If the power is switched on, it is a normal concern. Stating that the board is designed for eMMc hot plugging would have cleared up the consternation.

mdrjr
Site Admin
Posts: 11965
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 5 times
Been thanked: 110 times
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by mdrjr »

nobicycle wrote:If the power is switched on, it is a normal concern. Stating that the board is designed for eMMc hot plugging would have cleared up the consternation.
Read what I've said before carefully. I didn't said it was designed to be hot plugged.
Do not distort my words.

nobicycle
Posts: 69
Joined: Fri Oct 25, 2013 6:10 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by nobicycle »

Allow me to explain the concept as I understand it:
The board is live. Something gets connected in this state. = Hot plugging

mdrjr
Site Admin
Posts: 11965
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 5 times
Been thanked: 110 times
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by mdrjr »

nobicycle wrote:Allow me to explain the concept as I understand it:
The board is live. Something gets connected in this state. = Hot plugging
Wrong.
Hot plugging involves dealing with way more stuff. Such as proper peripheral initialization, clocks and the unhandled exceptions due to abrupt removal.
And in ANY moment I claimed that hot plugged or the needed parts for it work are supported.

nobicycle
Posts: 69
Joined: Fri Oct 25, 2013 6:10 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by nobicycle »

Nit picking. Those things are the technical implementation of the concept.

mdrjr
Site Admin
Posts: 11965
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 5 times
Been thanked: 110 times
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by mdrjr »

nobicycle wrote:Nit picking. Those things are the technical implementation of the concept.
Its not "nit picking" its explaining that you assumed something that its incorrect.

Board powers on.. No eMMC.. ok.. move along and boot from SD.
At this stage eMMC isn't initialized because it wasn't present.
When you do connect the eMMC and connect the USB cable as it is told so.
It will initialize the eMMC and recovery it.
After this is done the board is shutdown to prevent damages to the data written on the eMMC.

This above isn't hot plug. Its more like late initialization.

Understand now?

Michel Labitzke
Posts: 96
Joined: Mon Jun 16, 2014 5:45 pm
languages_spoken: english, german
ODROIDs: U3, U3+, C1
Location: Germany, Ulm
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by Michel Labitzke »

Works for me too.

Great work guys! :D

Androchiel
Posts: 10
Joined: Mon Feb 25, 2013 8:27 pm
languages_spoken: english Dutch
ODROIDs: Odroid-U2
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by Androchiel »

For me to.
Glad it works again.

User avatar
Gaudi
Posts: 39
Joined: Wed Apr 16, 2014 11:01 pm
languages_spoken: English, Deutsch, Ukrainian, Russian, Polish
ODROIDs: Odroid-U3 Community Edition
Location: Ukraine
Has thanked: 9 times
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by Gaudi »

I described my problem in this tread http://forum.odroid.com/viewtopic.php?f=77&t=5848

I've tried to solve it with this little tool. But it dooesn't work in my case. What shoud I do?

Thanks!

:arrow: Upd.
I didn't extract *.xz archive. :oops: Thank you mdrjr!
Last edited by Gaudi on Mon Jul 28, 2014 3:55 am, edited 1 time in total.

mdrjr
Site Admin
Posts: 11965
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 5 times
Been thanked: 110 times
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by mdrjr »

Don't post here. Wait until someone answers your thread.

User avatar
Vespucci187
Posts: 14
Joined: Wed Jun 18, 2014 1:32 am
languages_spoken: english
ODROIDs: .
Odroid U3 Community Edition
Odroid XU
eMMC 8Gb (linux)
eMMC 16Gb (Android 4.2.2)
USB WiFi Dongle
BenQ GL2250 with sound via HDMI
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by Vespucci187 »

After a long time and a zillion times of flasshing with dd, I came across this article. I have an Odroid XU and an ODROID U3 community edition. That last one had a problem with booting automatically from eMMC. So when I saw this article I gave it a try. And yes, also for me this was THE solution. In the start it looked like the eMMC or the image where broke. But it needed this correction tool to work properly.
Do follow instructionbs exactly, so:
1. Insert SD
2. Turn on, see blue flashing led
3. apply the eMMC
4. apply the mini-USB and hook up to the USB ports on the Odroid U3 to start the process
5. then blue light off...
6. now you can flash the eMMC via other computer with dd

this did it for me. Thanks I was almost giving up hope and to return to my SD again...

vectrex
Posts: 2
Joined: Thu Aug 28, 2014 8:20 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by vectrex »

worked for me too, thanks!

uDude
Posts: 77
Joined: Mon Sep 15, 2014 7:32 am
languages_spoken: english
ODROIDs: 3 U3's,
2 XU3's,
5 C1's,
26 XU4's,
3 HC-1s
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by uDude »

I am a curious fellow -- I would like to know what the utility does.

I guess I could download the zip, put it on a u-sd, mount it on a linux loopback fs to see what is going on (if linux didn't mount it). I'm lazy.

Are you reinstalling uboot? Just fixing the boot sectors of the emmc referenced by the boot loader? wiping, partitioning and formating? Locking bad file sectors? I'm am always curious about what really occurs. I'm not a newb. I've been using and writing kernel code since the ancient ATT UX days from bell labs. Feel free to just shoot me a private email as well.

I only ask becuase the data on the emmc need not be lost in most scenarios (e.g. if the root partition is healthy, mount it on ux and collect your install, etc).

BTW, I highly endorse the U3. I have yet to get an xu,but I want the sata and gigE, so Iwill.

uDude

User avatar
odroid
Site Admin
Posts: 41864
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3433 times
Been thanked: 1920 times
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by odroid »

There is a boot.ini file in the FAT partition if you dd the img file in to your SD card.
That script will explain what the utility does. ;)

fuxing
Posts: 21
Joined: Thu Oct 02, 2014 3:44 pm
languages_spoken: english, german,
ODROIDs: Odroid U3+
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by fuxing »

I followed the steps exactly as written, but cant get the odroid u3 to boot from my emmc (either android nor ubuntu).
I have tried several sd adapters as also usb adapters and also bought a new usb 3.0 transcend today.

Do I need the "exynos4412_emmc_recovery_from_sd_20140629.zip" or the "exynos4412_emmc_recovery_from_sd.zip" image?
i flashed the recovery to an 4gb sandisk micro sd. i also tried to flash android img before and after recovery. by the way do i have to flash the android.img before or after recovery? When recovery is done and the blue led goes out, do i just need to switch on again or unplug the power and plug in again? do I keep plugged in the sd card on first boot or remove it?

I tried with windows 7 and 8.1 using hardkernel "Disk Imager".

Is there anything else I could try?

mdrjr
Site Admin
Posts: 11965
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 5 times
Been thanked: 110 times
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by mdrjr »

You flash the Android image to the eMMC after the recovery.
Also create your own thread.

fuxing
Posts: 21
Joined: Thu Oct 02, 2014 3:44 pm
languages_spoken: english, german,
ODROIDs: Odroid U3+
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by fuxing »


Guso
Posts: 47
Joined: Mon Mar 03, 2014 1:32 am
languages_spoken: english (alike), spanish
ODROIDs: C1
Has thanked: 1 time
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by Guso »

I've already tried to adapt this tool to my HW a couple times, but frankly I'm not quite sure about what I'm doing exactly with uboot specially, I've a C1 btw

My first try was to make a bootable micro SD with the instructions on the rootfs to USB HDD tutorial on the wiki, then copy the files on this img(both of them, i guess they are the same just different uboot, but...), never get the blue led blink, then I used the img on this tutorial and plugged in and install uboot using the arch script on it, same story, I can get access to a XU lite if needed but I'm pretty short of ideas right now

these are the links that I used
Ubuntu rootfs on USB HDD
http://odroid.com/dokuwiki/doku.php?id= ... s%5B%5D=dd

ArchARM wiki
http://archlinuxarm.org/platforms/armv7 ... /odroid-c1

And off course I checked my C1, it's in fact running with another micro SD card with arch :)

ps: I've post on right section everything else that I already tried and here is the link, I just don't wanna spam this post

http://forum.odroid.com/viewtopic.php?f=117&t=8802

simonh
Posts: 2
Joined: Thu Sep 03, 2015 8:52 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by simonh »

Where can I download the recovery tool from?

User avatar
odroid
Site Admin
Posts: 41864
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3433 times
Been thanked: 1920 times
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by odroid »

The tool was lost accidentally by my mistake.
We are trying to find it in the forum back SQL now.
Please give us couple of days to re-upload it.
Sorry for the inconvenience caused. :(

User avatar
odroid
Site Admin
Posts: 41864
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3433 times
Been thanked: 1920 times
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by odroid »

I has been back on the OP.

simonh
Posts: 2
Joined: Thu Sep 03, 2015 8:52 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by simonh »

Thank you odroid!

dklinkman
Posts: 15
Joined: Wed Mar 05, 2014 8:23 am
languages_spoken: english
ODROIDs: U3, XU3, C1, XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by dklinkman »

Hello!

I have a pair of XU3 w/ 64GB emmc running Ubuntu 14.04. I noticed today that both have died apparently due to emmc errors. They may have been dead awhile. I don't look at them very often. This seems to be the relevant piece of console output:

Code: Select all

Checking Boot Mode ... EMMC
MMC:   S5P_MSHC0: 0, S5P_MSHC2: 1
MMC Device 0: 58.2 GiB
MMC Device 1: [ERROR] response timeout error : 00000104 cmd 1
Card did not respond to voltage select!
*** Warning - bad CRC, using default environment
Is this the same problem described and discussed in this thread? Is it appropriate to use the recovery tool on the XU3?

If it's just the bootloader that gets fixed will the rest of the partitions/data be ok or will I need to flash from scratch?

Thanks!! --David

User avatar
odroid
Site Admin
Posts: 41864
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 3433 times
Been thanked: 1920 times
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by odroid »

@David (dklinkman)

MMC Device 0: eMMC slot
MMC Device 1: micro-SD slot

Open a new thread on the XU3 forum.

jrrose
Posts: 11
Joined: Sat Mar 14, 2015 12:54 am
languages_spoken: english, german, a little bit russian
ODROIDs: odroid-u3, xu4, xu4
Location: Berlin
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by jrrose »

I tried to creare this recovery tool with:
dd if=emmc_recovery_pegasus_20140629.img of=/dev/sdc
on a microsd card which was recognized as /dev/sdc
which seems to work without any problems. Then I reinserted this microdf card. It was automatically mount as /dev/sdc1:

root@lynx:/home_lynx/rose/Txt/projects/Boards/Odroid/Installation/Unzip(104)# df | grep sdc
/dev/sdc1 10202 538 9664 6% /run/media/rose/48E0-7CDF
root@lynx:/home_lynx/rose/Txt/projects/Boards/Odroid/Installation/Unzip(105)# fdisk -l /dev/sdc
Disk /dev/sdc: 7.7 GiB, 8263827456 bytes, 16140288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xdeadffe5

Device Boot Start End Sectors Size Id Type
/dev/sdc1 200000 220479 20480 10M c W95 FAT32 (LBA)

root@lynx:/home_lynx/rose/Txt/projects/Boards/Odroid/Installation/Unzip(106)# ll /run/media/rose/48E0-7CDF/
total 6
-rw-r--r-- 1 rose rose 2701 Jun 28 2014 boot.ini
drwxr-xr-x 64 rose rose 2048 Jun 28 2014 update/


But if I try to list/run/media/rose/48E0-7CDF/update , I get Input/output errors . Is this to expected, because it is maybe only a locale problem or is the recovery tool faulty installed and I should repeat the installation of the recovery tool?

jrrose
Posts: 11
Joined: Sat Mar 14, 2015 12:54 am
languages_spoken: english, german, a little bit russian
ODROIDs: odroid-u3, xu4, xu4
Location: Berlin
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by jrrose »

'ls -l /run/media/rose/48E0-7CDF/update/' show something like:

root@lynx:/home_lynx/rose/Txt/projects/Boards/Odroid/Installation/Unzip(107)# ll /run/media/rose/48E0-7CDF/update/
/bin/ls: cannot access /run/media/rose/48E0-7CDF/update/UUUUUUUU.uuu: Input/output error
/bin/ls: cannot access /run/media/rose/48E0-7CDF/update/UUUUUUUU.uuu: Input/output error
...
/bin/ls: cannot access /run/media/rose/48E0-7CDF/update/UUUUUUUU.uuu: Input/output error
/bin/ls: cannot access /run/media/rose/48E0-7CDF/update/UUUUUUUU.uuu: Input/output error
total 0
d????????? ? ? ? ? ? UUUUUUUU.uuu/
d????????? ? ? ? ? ? UUUUUUUU.uuu/
d????????? ? ? ? ? ? UUUUUUUU.uuu/
...
d????????? ? ? ? ? ? UUUUUUUU.uuu/
d????????? ? ? ? ? ? UUUUUUUU.uuu/
root@lynx:/home_lynx/rose/Txt/projects/Boards/Odroid/Installation/Unzip(108)#

User avatar
meveric
Posts: 12126
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 93 times
Been thanked: 675 times
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by meveric »

flash the image again and do a "sync" after the dd command finished.
You might have removed the SD card too fast.

Anyway you are not suppose to start anything "manually" but you should BOOT the SD card, it's nothing you start by hand.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

dirtyrobinson
Posts: 36
Joined: Sun Jan 19, 2014 8:49 am
languages_spoken: english
ODROIDs: Odroid U3 & C1
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by dirtyrobinson »

After spending a couple hours trying to figure out why an eMMC module from a spare board wasn't working in my U3, I came across this utility and FINALLY was able to boot my U3.

Thank you so much for making this recovery tool but it was a little hard to find since I didn't think this would be in the How-To section, I searched the U3 section without a solution.

odchab
Posts: 12
Joined: Thu Aug 14, 2014 8:10 pm
languages_spoken: german, english
ODROIDs: U3,C1
Has thanked: 0
Been thanked: 0
Contact:

Re: eMMC recovery tool for ODROID-U2/U3

Post by odchab »

spending a lot of time trying to boot from emac on U3 - won't work

i tried the recovery tool (as described) many times - won't work

when i stop autoboot on recovery image - insert the emmc and run copy_uboot_sd2emmc
i get:
reading FWBL1 ..device 0 Start 1, Count 30
MMC read: dev # 0, block # 1, count 30 ... 30 blocks read: OK
completed
MMC Device 1 not found
so the emmc will not recognized by u3 - but works fine with C1

any chance or broken board?

Post Reply

Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests