Active Topics

 


Reply
Thread Tools
HtheB's Avatar
Moderator | Posts: 3,718 | Thanked: 7,419 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#31
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?
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#32
Originally Posted by HtheB View Post
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
 

The Following 2 Users Say Thank You to thedead1440 For This Useful Post:
HtheB's Avatar
Moderator | Posts: 3,718 | Thanked: 7,419 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#33
Originally Posted by thedead1440 View Post
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 does that really matter?
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#34
Originally Posted by HtheB View Post
Oke, I will flash it again using that command

Although, there is no emmc for N950 available 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
 

The Following 2 Users Say Thank You to thedead1440 For This Useful Post:
HtheB's Avatar
Moderator | Posts: 3,718 | Thanked: 7,419 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#35
Originally Posted by thedead1440 View Post
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?
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#36
Originally Posted by HtheB View Post
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

Last edited by thedead1440; 2013-03-25 at 13:34. Reason: Link added
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Posts: 123 | Thanked: 457 times | Joined on Feb 2012
#37
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.

Last edited by Vesuri; 2013-04-04 at 11:10. Reason: New observations
 
Reply

Tags
application, problem, storage


 
Forum Jump


All times are GMT. The time now is 01:41.