maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [HELP] Application data - Not available in mass storage mode (https://talk.maemo.org/showthread.php?t=89579)

HtheB 2013-03-25 13:16

Re: [HELP] Application data - Not available in mass storage mode
 
Well... Actually,

What I did is:

flasher -f -F main.bin --erase-user-data=secure -R

Isn't that enough to also repair the partitions?

thedead1440 2013-03-25 13:18

Re: [HELP] Application data - Not available in mass storage mode
 
Quote:

Originally Posted by HtheB (Post 1331658)
Well... Actually,

What I did is:

flasher -f -F main.bin --erase-user-data=secure -R

Isn't that enough to also repair the partitions?

Yikes you didn't do it right no wonder... What you have done is just do a rootfs flash not emmc flash... If you screwed up partitions you should have done:

Code:

flasher -f -F main.bin -F emmc.bin --no-preserve --erase-user-data=secure -R
In simple terms, rootfs only flashes your / partition while emmc fixes your partitions ;)

HtheB 2013-03-25 13:19

Re: [HELP] Application data - Not available in mass storage mode
 
Quote:

Originally Posted by thedead1440 (Post 1331659)
Yikes you didn't do it right no wonder... What you have done is just do a rootfs flash not emmc flash... If you screwed up partitions you should have done:

Code:

flasher -f -F main.bin -F emmc.bin --no-preserve --erase-user-data=secure -R

Oke, I will flash it again using that command :)

Although, there is no emmc for N950 available :p does that really matter?

thedead1440 2013-03-25 13:20

Re: [HELP] Application data - Not available in mass storage mode
 
Quote:

Originally Posted by HtheB (Post 1331660)
Oke, I will flash it again using that command :)

Although, there is no emmc for N950 available :p does that really matter?

Why is there no emmc for N950? Extract the emmc from the pr1.2 beta one-click flasher and use it ;)

HtheB 2013-03-25 13:27

Re: [HELP] Application data - Not available in mass storage mode
 
Quote:

Originally Posted by thedead1440 (Post 1331662)
Why is there no emmc for N950? Extract the emmc from the pr1.2 beta one-click flasher and use it ;)

Any idea if that emmc will work with leaked pr1.3?

thedead1440 2013-03-25 13:30

Re: [HELP] Application data - Not available in mass storage mode
 
Quote:

Originally Posted by HtheB (Post 1331664)
Any idea if that emmc will work with leaked pr1.3?

It should work; I read it on a thread around here that you can extract and it'll work as expected :)

Vesuri 2013-04-04 10:57

Re: [HELP] Application data - Not available in mass storage mode
 
I also encountered a device with exactly the same symptoms.

I did the following:

1. dump the partition to a file:

Code:

dd if=/dev/mmcblk0p3 of=/home/user/MyDocs/home.img
2. copy the partition dump to a desktop Linux system
3. run fsck.ext4 on the partition dump

Code:

fsck.ext4 -y home.img
4. copy the fixed partition dump back to the device
5. write the partition dump back to the mmc

Code:

dd of=/dev/mmcblk0p3 if=/home/user/MyDocs/home.img
6. reboot
7. keep fingers crossed that this doesn't happen again :(

I first tried running fsck.ext4 on the device itself but it kept segfaulting. There could be something wrong with the memory chips on the device.

Unfortunately it seems that even though the partition now works again, too many files were corrupted on the partition. Most likely the tracker database was lost since all contacts, messages etc. were lost. However, at least after this /home is on its own partition as expected. Of course that would also be achievable by just making a new ext4 filesystem on the partition and copying the relevant files over from /home/user.


All times are GMT. The time now is 22:17.

vBulletin® Version 3.8.8