maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Cannot Flash EMMC (https://talk.maemo.org/showthread.php?t=66004)

borland 2010-11-22 12:55

Cannot Flash EMMC
 
Hello
I've got a problem with my N900 that whole memory became ReadOnly. I cannot delete any files,I cannot format the storage, fsck does not find any problems, and I cannot connect it to PC in MassStorageDevice.
I cannot flash emmc as well I am getting the following Error when trying to do so:
Raw data transfer EP found at EP2.
SU_GET_UPDATE_STATUS_REQ terminated with error code 1.

The Flashing is done under WinXP Pro.

Anyone knows how solve this issue?

ivyking 2010-11-22 13:12

Re: Cannot Flash EMMC
 
ouch ! can't flash.. this hurts ! may I know how are you flashing in details ? you may be doing something wrong .

does maemo still boot ?

ossipena 2010-11-22 13:16

Re: Cannot Flash EMMC
 
could the memory chip be corrupted?

ivyking 2010-11-22 13:27

Re: Cannot Flash EMMC
 
well , since you didn't reply , I will assume maemo still boots
try unmounting the partition , then mounting it again with rw option
in x-terminal as root :
umount /home/user/MyDocs
mount /dev/mmcblk0p1 /home/user/MyDocs -o rw

and see if you can still copy anything into it , or if it can be exported for usb mass storage .

[Edit]

after some thought , the emmc is supposed to be flashed correctly no matter what condition the partitions are in ...

try to flash the fiasco image and then flash the emmc image , hope that works...

if you fail to fix the emmc by other means try the following :

first download ubuntu live cd image , burn it to a cd , insert it on your cd drive , and reboot your pc , ubuntu shall start without affecting your windows installation .

now follow instructions at :

http://wiki.maemo.org/Repartitioning...rom_a_linux_PC

these instructions were intended for those who want to custom partition the emmc , while you aren't interested in repartitioning , follow these instructions , and when you get the emmc as a device in /dev/sd* start gparted , choose the correct device , delete all partitions , make one big ext3 partition.

after that , unplug the n900 from pc , remove the battery , reconnect the usb cable , press U , and put the battery back in, flash the pr1.3 fiasco image and then flash the emmc image

see how it goes...

borland 2010-11-22 14:13

Re: Cannot Flash EMMC
 
Thank you Ivyking,
First, the OS won't even boot, I had to flash fiasco image- worked fine, but then I noticed it is in read-only mode.
Trying to flash eMMC failed. OS still bootable and I was able to install rootsh. The Roofs is full 83% after reflashing.

I will try with livecd when I get home and report on my findings

PS: I can connect the N900 in Nokia PC suite mode and browse the contents, but again I cannot copy anything to N900

ivyking 2010-11-22 14:20

Re: Cannot Flash EMMC
 
wait a second, what I understand from your description is that you started maemo in between flashing the fiasco image and the emmc image...

what you should do is turn of the n900 , slide open the keyboard , press and hold "u" ,plug the usb cable in your n900 and in your pc .

now in the command prompt..

change the current directory to where flasher-3.5 is then :

flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM -f

after that's done...

flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f -R

thats all...

borland 2010-11-22 18:21

Re: Cannot Flash EMMC
 
No, I did not start the OS in between.
On first attempt, I just flashed the fiasco image. When I found out, that the internal memory was corrupted, I decided to flash eMMC as well and did exactly the same steps you proposed- after flashing fiasco (no reboot -R key used), I started eMMC flash (the N900 had dots running on the lcd which frozen after a couple of seconds). and I've got the following error:
Raw data transfer EP found at EP2.
SU_GET_UPDATE_STATUS_REQ terminated with error code 1

At this point, the only way to reboot the N900 is to take the battery out.

borland 2010-11-23 03:22

Re: Cannot Flash EMMC
 
The phone goes to Nokia RMA.
After it is coming back, it will be ebayed.

lanwellon 2010-11-23 08:51

Re: Cannot Flash EMMC
 
Do not use any USB keyboard or mouse when you try to flash EMMC.

Thats my experience.

geneven 2010-11-23 09:11

Re: Cannot Flash EMMC
 
Someone could have made a lot of money with a

Boots R Us!

business. $50 to flash your N900.

No success, no pay.

It's probably too late now.

ivyking 2010-11-23 09:17

Re: Cannot Flash EMMC
 
have you tried the rescue initrd + meego kernel as posted above and try fixing from pc after the emmc appears as a device in your pc ? just try that before declaring the emmc dead...

borland 2010-11-23 12:11

Re: Cannot Flash EMMC
 
I flashed the phone before with no problems, following the same procedure as on maemo wiki. Something is corrupted. The fact that if I delete the files thru xterm I get an error with access denied message. If I delete thru the File Browser- it shows that it deleted it but after reboot the file is still there.

tcbl50 2010-11-23 20:12

Re: Cannot Flash EMMC
 
dude i had a similar problem with the same error but i followed these instructions n i was able to flash emmc...

flasher-3.5 -F RX-51_2009SE_10.2010.19-1_PR_COMBINED_MR0_ARM.bin -f

change kernel with
flasher-3.5 -F RX-51_2009SE_1.2009.42-11_PR_COMBINED_MR0_ARM.bin' --flash-only=kernel -f

Restore emmc with vanilla
flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin' -f -R

hope it works for you

borland 2010-11-23 21:47

Re: Cannot Flash EMMC
 
Tnx for the help guys, but the phone already on its way to Alabama repair center, because my warranty expires within a month and I did not want to wait-. Will let you know what Nokians think about this problem.
Also I did try before flashing the older image with older emmc with same result.

borland 2010-12-03 05:03

Re: Cannot Flash EMMC
 
New replacement phone is on its way from Alabama. Or refurb- will see.

borland 2010-12-10 00:29

Re: Cannot Flash EMMC
 
Ive got brand new shiny phone, initially I wanted to sell it and get android based phone... Turned out I am still with Maemo, even its EOL.

joshv06 2010-12-10 02:18

Re: Cannot Flash EMMC
 
I am now having the same problem, I had the problem this morning with Flasher-3.5 which the Nokia Rep had no idea what that was when I talked to him. He told me to use Ovi suite, and I just found out that doesn't work either. I'm gonna call tomorrow and hopefully they'll send me a replacement. And since Maemo is EOL, it's time for me to go to Android, cause Nokia's future with Meego doesn't look as fun as Maemo.

topet2k12001 2010-12-29 02:03

Re: Cannot Flash EMMC
 
Quote:

Originally Posted by ivyking (Post 880293)
wait a second, what I understand from your description is that you started maemo in between flashing the fiasco image and the emmc image...

what you should do is turn of the n900 , slide open the keyboard , press and hold "u" ,plug the usb cable in your n900 and in your pc .

now in the command prompt..

change the current directory to where flasher-3.5 is then :

flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM -f

after that's done...

flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f -R

thats all...

Hi Friends,

New N900 user here, just bought my device this Monday. I recently got hooked into Linux early this year so I found this device very interesting and I'm enjoying it so far. :)

Following the wiki guide here: https://wiki.maemo.org/Updating_the_firmware as well as the summarized version above as my quick-reference guide, I have verified that the procedure works. :)

Just one question: the wiki procedure stated that, if you are to flash the eMMC (the 32GB internal storage) as well as the OS itself (rootfs), first should be EMMC first and then the OS. (direct link here: https://wiki.maemo.org/Updating_the_...MC_in_the_N900):

Quote:

When flashing the eMMC content, always flash the eMMC/VANILLA image first, and then flash the FIASCO/Rootfs image. Do not boot up the device between the two i.e do NOT use the -R parameter at the end! Rationale: on accidental booting in between the 2 flash processes, the sequence formerly suggested (rootfs first) will result in a broken system. The sequence "eMMC first, then rootfs" is checked back with Nokia affiliates and is proven to work. The former advice on tablets-dev.nokia.com was not based on any facts for the recent eMMC VANILLA image. It's fixed now and in line with this wiki
because...

Quote:

...flashing eMMC will delete the /opt directory, so you *always* need to reflash your rootfs (the COMBINED image) after flashing eMMC (VANILLA img)
However, the way the instructions on the wiki are presented makes it seem like it should be the other way around, i.e. OS first and then eMMC. Likewise, I've been reading up a lot of threads about flashing in this forum and most of the advices are pretty similar (OS first before eMMC). I just wanted to confirm which is which?

On my part though, here are the order of steps taken:

1. Flashed the OS (rootfs) via the "combined" image/file (I removed/did not include the "-R" option of the command)
2. Flashed the eMMC (the 32 GB storage) via the "Vaniila eMMC" image/file (I removed/did not include the "-R" option of the command)
3. Flashed the OS again as per the disclaimer/note. (I added the "-R" option of the command)

Note:

1. I used a Linux OS (Ubuntu 10.04) since I'm getting hooked to Linux. :)
2. I read up on a lot of posts before I actually did this, to ensure I had an understanding of common problems encountered by other users and tried to research based on their experience before I tried this to my device.
3. One common problem experienced with flashing, based on what I've read, is something similar to this (based here: http://forums.internettablettalk.com...3&postcount=17):

Quote:

Originally Posted by wakkamis (Post 905743)
Didnt want to start a new thread so I'll post here for now.

Seems I can flash the "RX-51_2009SE_20.2010.36-2.002_PR_COMBINED_002_ARM.bin"
image just fine. Then I get to installing the emmc and the last line tells me "Suitable USB device not found, waiting." Then nothing happens.

Not sure if this will help, but I seemed to have experienced this too (Terminal/command line is just stuck at 'suitable USB device not found'). My phone's keyboard slider was open and I closed it, and then the flashing continued. Or it could be my imagination and I was just impatient and it just incidentally continued as it was supposed to, perhaps I just had the impression that my closing the slider keyboard had anything to do with it. Just wanted to share.

Thanks in advance. :)

Duy2anh 2010-12-30 15:33

Re: Cannot Flash EMMC
 
Hello,

Twice I also have the read-only system file (30) problem with eMMC when trying to delete files from the MyDocs folder, or copy files to it, either from the external card or from PC.

The first time I had the problem, I reflash both the OS and the EMMC and things were back to normal. That time I was copying some movies from the external memory card using Midnight Commander when the N900 froze. I rebooted the phone and could neither delete the unfinished file nor any other file from the eMMC.

The problem gone a little while and now it comes back, and I can't remember what I did that cause the MyDocs to become read only. But I am sure it is not the unfinished file copying problem. Also, I don't use torrent download on the N900, not even install torrent client on it, so that cause can be ruled out safely.

Quote:

Originally Posted by ivyking (Post 880256)
....I will assume maemo still boots
try unmounting the partition , then mounting it again with rw option
in x-terminal as root :
umount /home/user/MyDocs
mount /dev/mmcblk0p1 /home/user/MyDocs -o rw

I tried the above advice by ivyking, but seems nothing wrong there, umount OK, remount OK. Still, "Unable to continue, read-only folder Documents" when deleting via the builtin File Manager, or "read-only file system (30)" when deleting via Midnight Commander.

Even, when I change the camera app to use internal memory instead of the external one, I cannot take picture because the app cannot write to the internal memory.

The MyDocs partition is not Windows filesystem, so fixdisk or scandisk cannot help.

Reflashing is not a big deal, having to reinstall everything back is doable, but the problem will be back sometimes after reflashing because we haven't figured out the cause of it.

Could anyone provide a proper cure instead of just reflashing, which as many others have faced: not always possible?

michaaa62 2010-12-30 17:58

Re: Cannot Flash EMMC
 
Try fsck after unmounting the partition. First find out the partition to check
Code:

mount
This will list every mounted partition and folder. Identify the partition mounted at /home/user/MyDocs, may be /dev/mmcblk0p1, the default.
Unmount the partition
Code:

umount /dev/mmcblk0p1 #OrYourPartitonHere
Check the file system
Code:

fsck -af /dev/mmcblk0p1
Fsck should identify the file system type.
Then, if everything goes well, mount it back to its place
Code:

mount /home/user/MyDocs

Duy2anh 2010-12-31 01:14

Re: Cannot Flash EMMC
 
Quote:

Originally Posted by michaaa62 (Post 907757)
Try fsck after unmounting the partition. First find out the partition to check
Code:

mount
This will list every mounted partition and folder. Identify the partition mounted at /home/user/MyDocs, may be /dev/mmcblk0p1, the default.

The code lists a bunch of mounted things, among which:

/dev/mmcblk0p1 on /home/user/MyDocs

Quote:

Unmount the partition
Code:

umount /dev/mmcblk0p1 #OrYourPartitonHere

With "#OrYourPartitonHere" is replaced by "/home/user/MyDocs"

Return:

"umount: cannot umount /dev/mmcblk0p1: invalid argument" without the quotes

Despite not being able to umount the partition, I proceed with this:

Quote:

Check the file system
Code:

fsck -af /dev/mmcblk0p1

The "fsck" indentified some problems, did some autocorrection. The problems turn out to be because I play some games stored on the external memory card with DrNokSnes or iNES and stop in the middle when the phone froze.

Quote:

Then, if everything goes well, mount it back to its place
Code:

mount /home/user/MyDocs -o rw

Everything goes back to normal. THANK YOU. YOU SAVE ME alot of time and troubles.

I will copy all games to the internal eMMC to play to avoid this error.

Should I convert all the /MyDocs partition to ext3 instead of Vfat to completely prevent this stupid read-only problems? I have a 16GB external memory card, which I think is enough to communicate with the Windows PC.

pursueky 2011-03-16 16:25

Re: Cannot Flash EMMC
 
Quote:

Originally Posted by tcbl50 (Post 881478)
dude i had a similar problem with the same error but i followed these instructions n i was able to flash emmc...

flasher-3.5 -F RX-51_2009SE_10.2010.19-1_PR_COMBINED_MR0_ARM.bin -f

change kernel with
flasher-3.5 -F RX-51_2009SE_1.2009.42-11_PR_COMBINED_MR0_ARM.bin' --flash-only=kernel -f

Restore emmc with vanilla
flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin' -f -R

hope it works for you

it failed to flash the emmc again after i reinstall the kernel

J4ZZ 2011-03-25 15:57

Re: Cannot Flash EMMC
 
Quote:

Originally Posted by pursueky (Post 969030)
it failed to flash the emmc again after i reinstall the kernel

It's not reinstalling the kernel it's "changing the kernel" ;)

Here's it how it works...

First of all you need two firmware images PR1.2 and PR1.3 for example
Code:

PR1.3 = RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM

PR1.2 = RX-51_2009SE_10.2010.19-1_PR_COMBINED_MR0_ARM

PR1.1.1 will work also... ;)

Then you need a matching emmc image (PR1.3_original or a custom image file for bigger apps partition)
Code:

PR1.3 RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin

• 5GB Apps 24GB MyDocs:
http://www.mediafire.com/?j6srnaxwr3notaf

• 8GB Apps 21GB MyDocs:
http://www.mediafire.com/?5o1hkuuwhn8hh1c

1. Flash PR1.3
Code:

flasher-3.5 -F RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin -f
2. Flash only Kernel of PR1.2
Code:

flasher-3.5 -F RX-51_2009SE_10.2010.19-1_PR_COMBINED_MR0_ARM.bin --flash-only=kernel -f
3. Flash your EMMC (custom or PR1.3)
Code:

flasher-3.5 -F RX-51_2009SE_10.2010.13-2.VANILLA_PR_EMMC_MR0_ARM.bin -f
4. Reflash PR1.3 firmware (see 1.) or try --flash-only=kernel but with the PR1.3 image (see 2.)

:cheers:

..::J4ZZ::..

andy2611 2011-05-25 05:54

Re: Cannot Flash EMMC
 
Quote:

Originally Posted by borland (Post 880239)
Hello
I've got a problem with my N900 that whole memory became ReadOnly. I cannot delete any files,I cannot format the storage, fsck does not find any problems, and I cannot connect it to PC in MassStorageDevice.
I cannot flash emmc as well I am getting the following Error when trying to do so:
Raw data transfer EP found at EP2.
SU_GET_UPDATE_STATUS_REQ terminated with error code 1.

The Flashing is done under WinXP Pro.

Anyone knows how solve this issue?

Hello Pal,

I have the exact problem as you had but my phone is now out of warranty,do you know the root cause of this problem and have you been able to figure out a solution other than replacing the phone?

karan9t1 2011-05-28 19:23

Re: Cannot Flash EMMC
 
my device memory is corrupted
doesnt show any data
cannot access file manager
..i m worried.
can you help me?

karan9t1 2011-05-28 19:28

Re: Cannot Flash EMMC
 
Quote:

Originally Posted by ivyking (Post 880245)
ouch ! can't flash.. this hurts ! may I know how are you flashing in details ? you may be doing something wrong .

does maemo still boot ?

my phone's inbuilt 32gb memory is corrupted
no data no access to file manager
memry status shows memory corrupted.
can you help me fixing this problem
i m worried

gabby131 2011-06-17 13:00

Re: Cannot Flash EMMC
 
okay, i was once having a challenge flashing n900 emmc but yesterday, i surprisingly made it using windows 7 with windows xp virtual machine. and after flashing, installing/restoring apps, nitdroid, and CSSU etc, i noticed that my n900 seems faster than before. that was my first time of flashing the eMMC and wondering if i did something wrong before i flash that I feel some pain using my n900. the device is not yet OC'd but it feels like its on 850mhz.

Lasher 2011-09-27 11:19

Re: Cannot Flash EMMC
 
Ive been at this for a few hours now. It will simply NOT install eMMC. I have tried flashing different vanilla.bin 's and relevant eMMC's after. When it does boot the Mydocs etc is not visible when I run 'mount' in Xterm. I've even tried rescue kernel and initrd rpm from my ubuntu laptop and was unable to even see the disk in Gparted. Is the memory gone? arent the rootfs and mydocs just partitions on the same flash storage not seperate? it should be possible to just wipe the lot and start over like any other flash disk shouldnt it? I want to cry lol. I love my n900.

:EDIT

As a last resort after one more try changing the kernal as suggested by J4ZZ i will try to use my 8gb memory stick as the home/mydocs and see how it goes from there

jochga 2012-05-29 16:40

Re: Cannot Flash EMMC
 
My device is corrupt can you help me?

MINKIN2 2012-05-29 17:11

Re: Cannot Flash EMMC
 
Quote:

Originally Posted by jochga (Post 1214463)
My device is corrupt can you help me?

Can you give a more detailed description of "corrupt"? There are a lot of helpful people here but we would need to have some idea of what proplems you are facing :)

Also, what device are you using?

mrrhq 2012-05-29 18:10

Re: Cannot Flash EMMC
 
Quote:

Originally Posted by lanwellon (Post 880889)
Do not use any USB keyboard or mouse when you try to flash EMMC.

Thats my experience.

I don't think that would make a difference.

jochga 2012-05-29 19:47

Re: Cannot Flash EMMC
 
Quote:

Originally Posted by MINKIN2 (Post 1214494)
Can you give a more detailed description of "corrupt"? There are a lot of helpful people here but we would need to have some idea of what proplems you are facing :)

Also, what device are you using?

My device is a Nokia n900 with Maemo 5, i try to flash the firmware and the emmc but the file storage say memory card format unsuported, I can't acces to MyDocs folder, send messages, and takes photos

jochga 2012-05-29 19:55

Re: Cannot Flash EMMC
 
Quote:

Originally Posted by geneven (Post 880900)
Someone could have made a lot of money with a

Boots R Us!

business. $50 to flash your N900.

No success, no pay.

It's probably too late now.

my nokia n900's memory is corrupted can you help me?


All times are GMT. The time now is 13:47.

vBulletin® Version 3.8.8