maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   plz plz help me my emmc is broken (https://talk.maemo.org/showthread.php?t=69648)

dylan1282529 2011-02-11 04:18

plz plz help me my emmc is broken
 
helloo broozz how r u


i just dropped my phone and my emmc disloged from the main board

at first, i cant open any application it says not enough memory application is closed

after that i had a solution on this article which allows me to make the swapiness on sd card so i can open application such as camera,notes.....

http://discussions.europe.nokia.com/.../751901#M17953




so i bought a 16 gb sd memory and i did it ( its works great for every thing, my phone is back and works perfect)

there's only one problem that my rootfs is too small bcz its not on sd
i cant install any application

any one help me to make the rootfs on sd so i can install appliction and have a more space???

just some help like booting maemo on sd or rootfs on sd

any thing that would help


and thank u very much for listning to me

michaaa62 2011-02-11 07:37

Re: plz plz help me my emmc is broken
 
Well, you are not alone...
First backup all your stuff like settings, bookmarks and stuff using the Backup application on your phone, then also backup at least your /home/user folder to some external storage as well, just to be safe.
Read from this post on http://talk.maemo.org/showpost.php?p=933228&postcount=8 about a possible solution, but it also might fail...

dylan1282529 2011-02-11 13:18

Re: plz plz help me my emmc is broken
 
thank u very very much dear michaaa62 for replying

i just did what u said and nothing happend

i found u reply in this thread could u explain

PHP Code:

sudo gainroot
mount 
/dev/mmcblk1p2 /mnt
cp 
-ax /home/* /mnt
mkdir /mnt/opt #there might be a neglectable error here, if the directory exists already
cp -ax /opt /mnt/opt
nano /usr/lib/genfstab.awk 


im gettin error when try mount/dev/mmcblk1p2 /mnt

Durango 2011-02-11 18:43

Re: plz plz help me my emmc is broken
 
See this post:

http://talk.maemo.org/showpost.php?p...4&postcount=20

I semi-automated everything that michaaa62 is explaining. Just download the zip and copy the "emmcfix" folder directly to your SD card. But READ the readmes that are included.

michaaa62 2011-02-11 19:58

Re: plz plz help me my emmc is broken
 
The error you are receiving might be from a different setup than Durango's setup at the start. He posted the output of the commands we needed to look at the setup. There might be other values and files necessary for your personal need.
So please also post the output of
Code:

mount
df -h
free
sudo gainroot
sfdisk -l

But you really might take a look at the packages and explanations Durango has put together in his zip file. Nice work, man!

dylan1282529 2011-02-13 00:46

Re: plz plz help me my emmc is broken
 
Dear durango i did what u said in ur file
every thing looks good

unit i reach this point

-5) To start moving /home and /opt over to your mSD card,
type the following:

sh copyhome.txt

-6) Type 'reboot' to reboot the N900



it tolds me invalid argument and after that the rootfs will be full only 1 kb left

and the phone stopped at the five points when rebooting it

i did all that until this point which is the most important for me?

what shall i do could u help me plz?

im askin how much the size of rootfs when u did it succesfully??

dylan1282529 2011-02-13 00:52

Re: plz plz help me my emmc is broken
 
and plz could u help with partition the sd 16 gb

cuz i make a partition assuming it 8 gb

Durango 2011-02-13 01:19

Re: plz plz help me my emmc is broken
 
Try this for a 16 GB card:

Code:

sfdisk /dev/mmcblk1 << EOF
1,39000,c
390001,60000,83
450001,,82
EOF

dd if=/dev/zero of=/dev/mmcblk1p1 bs=512 count=1

Like I mentioned, I don't exactly know how these numbers work, I'm only calculating them off ratios from that post on the Nokia Europe boards, so if someone has a clue what they're doing here, feel free to chime in.

But that should give you approximately 13 GB for the FAT32 partition, 2 GB for the ext3 and 1 GB for the swap.

dylan1282529 2011-02-13 01:23

Re: plz plz help me my emmc is broken
 
thank u so much bro for this

and what is ur think about this issue of my last reply

Dear durango i did what u said in ur file
every thing looks good

unit i reach this point

-5) To start moving /home and /opt over to your mSD card,
type the following:

sh copyhome.txt

-6) Type 'reboot' to reboot the N900



it tolds me invalid argument and after that the rootfs will be full only 1 kb left

and the phone stopped at the five points when rebooting it

i did all that until this point which is the most important for me?

what shall i do could u help me plz?

im askin how much the size of rootfs when u did it succesfully??

Durango 2011-02-13 01:34

Re: plz plz help me my emmc is broken
 
please type this in x-term:

Code:

sudo gainroot
df -h >> /media/mmc1/output.txt
sfdisk -l /dev/mmcblk1 >> /media/mmc1/output.txt

Then copy output.txt from your microSD card and attach it to your a post here so we can view the contents.

PS: please note that the "-l" after sfdisk is an L, and that "mmcblk" also has an L. Everything else is a one.

I'm not sure how much space I had left, I didn't actually delete the /home or opt folder on rootfs.. I think you should have at least 30 MB free.

Also, I made a few corrections to other parts of the documentation (nothing involving step 5) or 6) that you posted above), but in any case you should re-download the zip just to make sure everything you have is correct.


Mods: Can topics be merged? This topic is pretty much the same as here: http://talk.maemo.org/showthread.php?t=69081


All times are GMT. The time now is 08:21.

vBulletin® Version 3.8.8