Related
So I partitioned my sd card so i would be able to automatically have apps to sd like the faqs of the cyanogen mods said, but now that i have done the process and partition my sd card 500mb ext, 34mb linux swap, not only has it not worked and the apps are still taking up memory on my phone, it is not noticing the secondary partition in the settings and when i reboot my phone, after the g1 screen and android screen, my phone just goes blank. does anyone have any input? ive wiped and reflashed the rom, now im just clueless. and if it matters, i used Paragon Partition Manager to partition my sd card.
You could re-partition it by using the console in recovery mode.
http://forum.xda-developers.com/showthread.php?t=533731
Look at the 2nd code box and follow it. This is how I did it my first time.
It is really easy.
yea the only thing is it is either saying not found, or error could not stat device dev/block/mmcblk0 no such file or directory. so im stuck i cant even format my card and get back to 8 gigs its sayin 6.06 gigs. ionno im stuck.
Can't you use your partition manager to delete the partitions you made? Then just make 1 partition: fat32, then use the code on the link.
I use paragon Partition mgr. and that is an option to use.
If you partion your card after flashing your rom, then you must reflash your rom for changes to take effect. You have to do that so the system can change the way it runs
Oops sorry, I just reread your first post and saw that I missed that you did reflash. Try going into your recovery console and type ums_enable to mount your card and than try downloading gparted and try to reformat that way, when you are done type ums_disable to unmount. Have you tried taking your sd out when you try to boot up just to see if you can get past, it is possible that your sd corrupted
its ok thank you both, i used the recovery erase all partitions and im gonna read the second box and partition threw the console instead of on the manager.
I just had the same thing happen to me earlier today. I have the 404 Cyanogen MOD and now my SD card is stuck. I can't figure out how to get rid of that partition. All of the directions are not step by step. And this rookie is stressed out. Please let me know where or which directions you used to format your SD.
surfereddie said:
I just had the same thing happen to me earlier today. I have the 404 Cyanogen MOD and now my SD card is stuck. I can't figure out how to get rid of that partition. All of the directions are not step by step. And this rookie is stressed out. Please let me know where or which directions you used to format your SD.
Click to expand...
Click to collapse
To get it back to just a fat32 partition.... THIS WILL WIPE ALL DATA ON YOUR SDCARD!!!! MAKE A BACKUP OF FAT32 also this will only work with 1.3.1 and up cyanogen recovery image
boot into recovery and go to the recovery console and type
parted /dev/block/mmcblk0
rm 1
rm 2
rm 3 (if you have a linux-swap partition)
print (after the 4th or 5th line there is a number after a line that reads disk size or something and that will be the end value for the next command. Sorry on my g1 now)
mkpartfs primary fat32 0 xxxx(substitue with number above)
quit
reboot recovery
Then reflash your rom. That will clear all partitions of your sdcard and leave you with one whole partition that is fat32.
Hi, ive searched around but cannot seem to find a complete answer, but basically is there a way to just repartition my linux swap from 32MB to 96MB.
I dont have a linux cd and so if theres a way to do it through ADB or recovery, that would be great.
Thanks.
D3NNY said:
Hi, ive searched around but cannot seem to find a complete answer, but basically is there a way to just repartition my linux swap from 32MB to 96MB.
I dont have a linux cd and so if theres a way to do it through ADB or recovery, that would be great.
Thanks.
Click to expand...
Click to collapse
i'll give you the short answer then i will edit this post with the long answer
short answer.
you use the resize command in parted on your ext3 and linux-swap partition. if you have used parted from the recovery console a few times before this will be easy but i will post through instructions in a minute
Long answer
go into the recovery console. (recovery screen then last option)
then type (if you want to use adb just type adb shell then do the commands)
Code:
parted /dev/block/mmcblk0
print (you will need the start and end points for your ext3 and linux-swap partitions)
resize 2 [start point] [end - 64mb]
resize 3 [start - 64mb] [end]
print (to verify it worked)
quit
upgrade_fs
reboot
there you go.
I have not tested the resize command on an ext3 partition but i do not think (key word think) it will destroy your data on ext3, but back up just to make sure.
to back up your ext3
with adb (since i assume you have it from the first post)
Code:
adb pull /system/sd [dir on computer]
to restore on empty card
Code:
adb shell mkdir /system/sd
adb push [dir on computer] /system/sd
thanks for the great reply. Will test out now and see what happens!
Can anyone verify if this works?
My only concern is the resizing of ext3. Will it cut out any data since I am shortening the partition?
mr_roboto said:
Can anyone verify if this works?
My only concern is the resizing of ext3. Will it cut out any data since I am shortening the partition?
Click to expand...
Click to collapse
Yes, it works. And yes it *can* corrupt/delete some data from the ext3 depending on how much extra space you have. To be safe, just back-up. The easiest way is doing a BART or switchrom backup (Which backs up you ext) move the backup from the FAT partition to a computer (not necessary but you seem worried about your ext, so just to be safe) resize the partitions and restore your backups.
or just use amon recovery
Thanks for the response guys, I went and started reading about switchrom.
I am planning to do the following steps:
switchrom.sh -s // to store my rom
resize my partitions
switchrom.sh -r
The thread says it stores the nandroid and the app data, I am assuming that means nandroid and ext partition right?
D3NNY said:
Hi, ive searched around but cannot seem to find a complete answer, but basically is there a way to just repartition my linux swap from 32MB to 96MB.
I dont have a linux cd and so if theres a way to do it through ADB or recovery, that would be great.
Thanks.
Click to expand...
Click to collapse
I don't think this is the same, but I am running a hero rom and was wondering what "swappiness" is? I keep reading stuff like "swappiness of 96mb", etc. Is this just referencing the linux swap file size? and with me running a hero rom, what is the best setup for my SD card? I am currently running simply a fat32 partition and an ext3- thanks
OK.
So for the last week or two I've been trying to get myself fixed in this thread:
629469
You can read that for some background info. Seeing as this a new problem, I've posted a new thread.
I've pushed SuperD, signed-spl (danger) and ota-radio 2_22_19_26i to the phone.
But now I cant apply these updates. I choose "apply sdcard:choose zip"
and it says:
e:can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(Invalid Argument)
E:Can't mount SDCARD:
HELP.
Wave invites for help (I'll try that one again)
I've run into the same problem but I got there a slightly different way.
I recently switched ROMs from kingklick's aosp 2.1 v1.5 to openeclair 1.5, and I wanted to switch back. I went to do the usual partition, wipe everything, apply update.zip and I got almost exactly the same error message that you got:
E: can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(File not found)
E: can't mount SDCARD:
With my limited knowledge of Unix, I decided to jump into the console and dig around in the dev folder, I didn't see anything in /dev/block that was called mmcblk0, there were several files called "loopX", and also "mtdblkX".
It seems like my phone is acting as though I do not have an SD card at all. I've been testing out different things, I started the process over again by trying to partition the SD card and noticed it finished almost instantly. And now when I connect it to the computer and turn on the USB connection, my computer does not recognize it as a storage device. I then popped out the SD card and put it into the computer itself, it seems fine but there were some extra dm files that I did not expect to see. Not sure what those files are or how they got there.
I have the Death SPL, and the last ROM I used was KingKlick's AOSP 2.1 v1.5
Does anyone out there have any idea why this happened or how I can fix it?
Both of you, it sounds like your sd card is formatted wrong or corrupt. From amon-ra recovery you should try to wipe again, including the SD, and repair SD EXT. If that doen't work go back and use the "format SD" option.
One more thing, please take a few minutes and put together a signature on the forum with all your info, phone, spl, rom, sd setup, what you like for breakfast, all that stuff. Much easier to tell where to start.
Edit...if this should happen to accidentally work, please don't send any wave invites. I will probably never get rid of my 25.
Wipe data - worked (supposedly)
Wipe dalvik - Error : Run 'wipe dalvik' via console!
Wipe SD:ext partition - Error : Run 'wipe ext' via console!
Repair SD:ext - Error : Run 'fs repair' via console!
I don't see an option for "Format SD" in Amon Ra's recovery v1.5.2, so I attempted to Partition SD and give 0 space to swap and ext2. That SAID it completed successfully, but it finished suspiciously fast, and upon inserting the SD into my computer, I can see that it was not re-partitioned nor wiped.
I went into the console and tried the commands mentioned in the error messages and got "No ext partition found!" from each command. I then went back to recovery to "partition" the SD with Swap - 192MB, Ext2 - 1024MB, Fat32 - remainder (approx 2.75GB). I then tried wiping and repairing again, and got the same error messages, then went back to console to try wiping from there, and again was told "No ext partition found!"
I noticed that my SD is class 4, but class 6 is recommended, I'm considering going to buy a new class 6 SD, do you think that will help?
Filled in my sig, did I miss any info?
dracoaffectus said:
Wipe data - worked (supposedly)
Wipe dalvik - Error : Run 'wipe dalvik' via console!
Wipe SD:ext partition - Error : Run 'wipe ext' via console!
Repair SD:ext - Error : Run 'fs repair' via console!
I don't see an option for "Format SD" in Amon Ra's recovery v1.5.2, so I attempted to Partition SD and give 0 space to swap and ext2. That SAID it completed successfully, but it finished suspiciously fast, and upon inserting the SD into my computer, I can see that it was not re-partitioned nor wiped.
I went into the console and tried the commands mentioned in the error messages and got "No ext partition found!" from each command. I then went back to recovery to "partition" the SD with Swap - 192MB, Ext2 - 1024MB, Fat32 - remainder (approx 2.75GB). I then tried wiping and repairing again, and got the same error messages, then went back to console to try wiping from there, and again was told "No ext partition found!"
I noticed that my SD is class 4, but class 6 is recommended, I'm considering going to buy a new class 6 SD, do you think that will help?
Filled in my sig, did I miss any info?
Click to expand...
Click to collapse
to format it, just go to partition, then select 0 for the first two and rest for fat 32. You don't need a new card unless you're running a hero rom, and a class 4 is actually pretty fast. If formatting it doesn't work its done. This happened to me on a brand new class 6 transcend. Sent it back and got a sandisk. Good luck
I have the same problem wiht my G1 and am sending back my phone to HTC for this.
I have made a post here:
http://forum.xda-developers.com/showthread.php?p=5594269
All our phones have activated a memory debugging mode from from hboot. Modifying anything while booted to recovery or system doesn't affect anything because the trigger is happening from hboot.
You can still use fastboot while stuck in this mode. But your phone has no sd card access at the moment because it is locked by the hboot for writing debug logs.
I found that I was not able to flash in fastboot, as my hboot showed S-ON. However it was still possible to use fastboot boot.
Run cat /proc/cmdline
You will see that it says something like the following:
board_trout.disable_uart3=1 board_trout.usb_h2w_sw=1 board_trout.disable_sdcard=1 smisize=64 androidboot.baseband=3.22.26.17 androidboot.cid=ROGER001 androidboot.carrier=Rogers androidboot.keycaps=qwerty androidboot.mode=normal androidboot.serialno=HT********** androidboot.bootloader=1.33.2005 no_console_suspend=1 con
sole=null
You could mount the cache partition to your sdcard directory for flashing files:
adb shell mount -t yaffs2 /dev/block/mtdblock4 /sdcard
I've had this problem for more than a week. I have tried changing SPL, unrooting, recompiling my boot.img, and appending kernel commands.
You can also force your recovery/system to mount the sdcard, but your phone will error out because both the hboot and system will try to write to the sdcard. There is a high chance of corrupting the sd card (correctable by reformatting) this way, but you can generate a gold card:
fastboot -c "board_trout.disable_uart3=0 board_trout.usb_h2w_sw=0 board_trout.disable_sdcard=0" boot recovery.img
The -c switch appends to the kernel cmdline at the end.
There is a working solution if you have SPL 1.76.x in your HBOOT. The command to disable memory debug logs is simply
fastboot oem enableqxdm 0
However I have never seen this SPL for the dream. 32B magic users who flashed this SPL with the accompanying radio ended with semi-bricks, with their SPLs showing 32A board. Attempts to downgrade back to 1.33.x have not worked. Here's the thread:
http://forum.xda-developers.com/showthread.php?t=625604
I did theorize that we might have been able to upgrade our spl and radio to 1.76.x, run the enableqxdm command, and then downgrade back to 1.33.2010 using the test ruu. The 1.33.2010 works for the 32A magic, the 32B magic and the dream. This is one of the variants of the so called danger spl. If you have 1.33.2005 you already have a spl from the magic.
hiddengopher said:
to format it, just go to partition, then select 0 for the first two and rest for fat 32. You don't need a new card unless you're running a hero rom, and a class 4 is actually pretty fast. If formatting it doesn't work its done. This happened to me on a brand new class 6 transcend. Sent it back and got a sandisk. Good luck
Click to expand...
Click to collapse
Ok, I tried that already and it didn't work. So you're saying the SD card is useless now and I just need to get a new one?
and Xaueious, I read your post and I have one question. What do you recommend I do?
dracoaffectus said:
Ok, I tried that already and it didn't work. So you're saying the SD card is useless now and I just need to get a new one?
and Xaueious, I read your post and I have one question. What do you recommend I do?
Click to expand...
Click to collapse
Try this first.
Enter recovery then console
1. type parted /dev/block/mmcblk0
2. type rm 2 to remove ext
3. type rm 3 to remove swap
to resize fat32:
4. type print to get start value and sdcard size
5. type resize 1 <start> <sdcard size> (if i were doing this for my card it would be resize 1 512B 8169M)
Then put the card in computer and format fat32. (just to be sure)
Put it back in the phone and recovery and partition.
If no other way works, the card may be corrupt.
You could use GPARTED in linux for this. Even a GPARTED live cd would be good. In fact that may be your best option.
billquinn1 said:
Try this first.
Enter recovery then console
1. type parted /dev/block/mmcblk0
2. type rm 2 to remove ext
3. type rm 3 to remove swap
to resize fat32:
4. type print to get start value and sdcard size
5. type resize 1 <start> <sdcard size> (if i were doing this for my card it would be resize 1 512B 8169M)
Then put the card in computer and format fat32. (just to be sure)
Put it back in the phone and recovery and partition.
If no other way works, the card may be corrupt.
You could use GPARTED in linux for this. Even a GPARTED live cd would be good. In fact that may be your best option.
Click to expand...
Click to collapse
also, you're going to want to go to "go to console" in recovery to do this
billquinn1 said:
Try this first.
Enter recovery then console
1. type parted /dev/block/mmcblk0
2. type rm 2 to remove ext
3. type rm 3 to remove swap
to resize fat32:
4. type print to get start value and sdcard size
5. type resize 1 <start> <sdcard size> (if i were doing this for my card it would be resize 1 512B 8169M)
Then put the card in computer and format fat32. (just to be sure)
Put it back in the phone and recovery and partition.
If no other way works, the card may be corrupt.
You could use GPARTED in linux for this. Even a GPARTED live cd would be good. In fact that may be your best option.
Click to expand...
Click to collapse
I went to console and typed "parted /dev/block/mmcblk0" and it said "Error: Could not stat device /dev/block/mmcblk0 - No such file or directory"
I tried "parted /dev/block/mtdblock0" instead and got into parted, but when I tried any command such as "print", I got "Error: /dev/block/mtdblock0: unrecognised disk label"
dracoaffectus said:
I went to console and typed "parted /dev/block/mmcblk0" and it said "Error: Could not stat device /dev/block/mmcblk0 - No such file or directory"
I tried "parted /dev/block/mtdblock0" instead and got into parted, but when I tried any command such as "print", I got "Error: /dev/block/mtdblock0: unrecognised disk label"
Click to expand...
Click to collapse
I would say the sd card is dead. Try someone else's or a spare.
Picked up a 2GB microSD at the store for like $10 and got the same results right from the beginning.
So this means it's something wrong with my phone, and not the SD card.
Any suggestions?
....can I unroot?
I don't know if this matters, but I noticed some dm files on my sdcards after trying to startup my phone.
EDIT: I managed to UNroot my phone back to RC29 following the instructions on theunlockr.com. Now I have to contemplate if I'm ready to jump straight back into hacking again.
EDIT2: Ok, so now I'm back on the latest OpenEclair. The key to "fixing" it was to get a totally clean start by UNrooting my phone (http://bit.ly/5qbzIU thanks Unlockr.com). I wasn't able to do step 1 cause I was getting the same errors as before, so I skipped straight to loading the DreaIMG.nbh file, then continued to update to cupcake, load the latest radio, danger SPL, and openEclair, now my phone is working again. (p.s. already on Wave, so no need to send that invite Lachy95 )
Thanks
Its all fixed.
Used a different sd card, im stupid.
Thanks you thank you thank you
ill always remember
Hi, I have a G1 rooted with the SuperD 1.9.3 Rom, I never partitioned my SD card or anything like that. I want to upgrade my SD Card and partition it to get Apps2SD and keep the same Rom. I am not sure what steps to take...
lmt125 said:
Hi, I have a G1 rooted with the SuperD 1.9.3 Rom, I never partitioned my SD card or anything like that. I want to upgrade my SD Card and partition it to get Apps2SD and keep the same Rom. I am not sure what steps to take...
Click to expand...
Click to collapse
Which recovery do you have? If you don't yet, make sure to upgrade to Amon_Ra latest. Once you have that, reboot into recovery, select partition card and follow directions on screen. This will wipe your card completely so backup anything you want to save. It will not affect your rom in any way. You may have to move your existing apps manually, not sure.
How do i know what recovery i have? Do I partition my current sd card or the new one?
So I do not need to reflash the Super D?
lmt125 said:
How do i know what recovery i have? Do I partition my current sd card or the new one?
So I do not need to reflash the Super D?
Click to expand...
Click to collapse
You would boot into recovery and look to see which one you have, it will say it right on top. You will partition your new card. Absolutely no need to reflash your rom, it will recognize your ext partition and install all future apps in it automatically. As I said, I'm not sure about existing apps, you may need to move them manually.
It says Android Sysem Recovery Utility Build: JFv1.42 There is nothing that says Partition SD or anything like that... Now my rom is on my current sd card if I don't flash it to the new one my phone still knows what rom I have? Sorry about all the questions thanks for your help =)
I was thinking of doing this to install Amon RA's recovery img
I got it from another forum in here....
Copy recovery-RA-dream-v1.7.0.img to the root of your sdcard
Boot into your current custom recovery (boot while holding HOME)
select console from the menu
#mount -a (this can give back an error if you don't have an ext partition, don't worry about it and just proceed)
#flash_image recovery /sdcard/recovery-RA-dream-v1.7.0.img
JF's recovery does not have that option because it's really, really, really old. We did not even have apps to sd back then.
Flash RA's recovery (directions seem right, I assume you got them out of RA's thread), you'll see the difference: many more options, etc
Good luck.
Ok, so I am going to do the following steps....
1. Flash Amon Ra's recovery image
2. Reboot phone
3. Get into recovery again
4. Back up my sd card on the computer, remove sd card from phone
5. Insert new sd card, partition sd card
6. Transfer files from old sd card including update.zip which is the rom
7. Reboot phone
Let me know if I'm missing something thanks for all your help!
I'm going to do this over the weekend...
Ok, so I got the new Amon RA recovery image but haven't done anything else...lol. So can you tell me if those steps are right? And why don't I need to flash the rom again...I currently have it on my sd card...I'm a bit confused
1. Reboot to recovery. Partition your card (I suggest 512mb for ext partition, rest is fat, follow instructions within recovery).
2. Upgrade ext to ext3.
3. Reboot (your phone will move your existing apps onto sd.) It may take a while to fully boot, just give it 10 min or so.
4. In terminal emulator type
Code:
su
fix_permissions
5. Reboot again.
5. Transfer whatever you had on your old sdcard (music, pics, etc) onto your new card.
As far as flashing the rom again.... why? Your OP says you want to keep your existing rom.
To check if your apps were moved:
In terminal:
Code:
su
ls /system/sd/app
ls /system/sd/app-private
ls /system/sd/dalvik-cache
Should give you print-out of what you have on ext partition of your sdcard (or you can use root explorer or whatever other file manager, I'm a bit old shool so I prefer terminal or adb)
5. Reboot again.
5. Transfer whatever you had on your old sdcard (music, pics, etc) onto your new card.
Okay in step 5. Reboot again do I just type in the terminal emulator reboot or reboot recovery?
Also when you say "transfer whatever you had on your old card..." Do I also transfer the file that says update.zip?
Sorry for all the questions, I should be getting my new sd card today and will try it out tonight.
Thank you.
You just type reboot.
It is up to you what you want to transfer onto your new card. I assume that update.zip is your current rom. If so, it's nice to have just in case but it will not make any difference in how the phone works. It's just an install file that you use once (unless, of course something goes terribly wrong and we all have been there ) but it's nice to have all tools needed on your card so you can quickly recover from any problems.)
BTW, with your new shiny recovery (RA1.7), you don't have to rename your files to update.zip. You can name them whatever you want (i.e Super-D1.9.3.zip, Recovery.zip) and, if you decide to reflash something, at least you will know what it is. Your new recovery will let you choose which file to flash so you can have more then one .zip file on your card if you want.
Ok so I still haven't gotten my new card! It should be here next week...Anyways I tried using switchrom to store my current just in case but I get this error Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0) (No such file or directory)
Any clues why I'm getting this do I need to have my phone connected by USB or something to a computer....?
Thanks hopefully I'll stop asking so many questions...I tried this solution but no luck
Originally Posted by siraf View Post
Guys, I just had this problem too .. at first i was so devastated. I'm glad i solved it.
I don't know if my solution is the ultimate solution or not but you guys can give it a try.
problem :
"E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0) (No such file or directory)"
In the Android System Recovery, select "USB-MS Toggle". It will enabled/disable the feature. Do it one more round and it will solve the problem.
It's telling you that it can't mount SD card.
Back up all of your stuff from SD card, format it and try again, that's the only thing I can think of.
Actually, I just ended up doing a Nandroid Backup just did Nandroid not Nandroid +ext since I don't have this card partitioned...it is backed up!
Ok buddy its easier if you do the whole process through the sdcard
First you should backup everything on your sdcard and do a BART or NAN+EXT then partion your card and restore your BART or NAN+EXT and your good to go
If this does not work press my name and look at my threads because I ask this same quetion a while ago
Post again if this does not work
Sent from my HTC Dream using Droidfreeks's App
DroidFreek said:
Ok buddy its easier if you do the whole process through the sdcard
First you should backup everything on your sdcard and do a BART or NAN+EXT then partion your card and restore your BART or NAN+EXT and your good to go
If this does not work press my name and look at my threads because I ask this same quetion a while ago
Post again if this does not work
Sent from my HTC Dream using Droidfreeks's App
Click to expand...
Click to collapse
Hi, I tried doing a Nan+ext backup but I got this error : Run nandroid-mobile.sh via console I also tried doing a Bart backup and it also said Run Bart via console...
So I just did a regular Nan Backup...I don't have my current sd card partitioned...should I partition it so I can do the Nan+ext I currently have a 2gb card and it doesn't have a class number.... Maybe I should format my card?
Thanks!
Ohh ok I see ur problem it won't let u backup nand+ext if you don't have a ext
since you backed up already go ahead and throw the nandriod and any other files on sd card to your pc the format your sd create the app partion and swap partion make sure u formate it ext3 or ext4 depending on what ur rom uses put the nandroid back on sd after format and restore post if it works or not
If this don't work just reverse the process put nad back on pc format card to what is was before then put nand back on sd and restore
Sent from my HTC Dream using XDA App
OK so I partitioned my current memory card =) and was able to succesfully do a nandroid +ext...so now when I get my new card I just have to go into recovery and do a nandroid restore and transfer all my files right? Thanks
Remember to partion your sdcard before transfer
Sent from my HTC Dream using XDA App
Ok so I tried switching my cards and formatted my new card,paritioned it, transfered the files from my other sd card, and tried to a nandroid restore...that's when I get the same error as before to do it from console.
I tried taking all the files out and repartitioning the sd card doing everything again no luck. Reflashed my rom and turned it on after it boots like normal I get a black screen. So just went back to my old sd card was getting force closes so did nandroid restore it said it did but would boot normal and get force closes.
So I reflashed my rom and reinstalled everything manually...from sd card as my market disappeared got it back after reinstalled it...
Any suggestions as I really want a bigger capacity memory card....=/
I have Xperia X8 with android 2.1 and I want to move apps in SD card. How do this?
Just use app2sd or link2sd .... U hv to root first of course ..
KR470S said:
I have Xperia X8 with android 2.1 and I want to move apps in SD card. How do this?
Click to expand...
Click to collapse
Any custom ROM has native app 2 SD, plus you can follow
http://forum.xda-developers.com/showthread.php?t=1345872
To create a special partition in your SD card to which you apps can be automatically move, plus the swap space that will give you more free memory.
There are two good guides about custom roms:
http://forum.xda-developers.com/showthread.php?t=1333865
http://forum.xda-developers.com/showthread.php?t=1222348
If you are new to this, it will take some time get used to these guides, tools, etc. But there are lots of fun on testing custom ROMs, overclock, benchmarks, different skins, launchers, etc.
A good start is the toolbox, from puppet13th post:
http://forum.xda-developers.com/showthread.php?t=1117100
It is text only, different from SuperOneClick, a really great tool too, but toolbox can root your phone, install some modules (overclock, cypress / synaptics dual touch), and most important, the dual recovery: freexperia (or xrecovery... I don't remember) plus clockworkmod. Some ROMs are designed for the first one, but most recent ones are for CWM.
how do you partition sd card? i use to be able to do that until i formatted my sd card...now i forgot how to!
tohno said:
how do you partition sd card? i use to be able to do that until i formatted my sd card...now i forgot how to!
Click to expand...
Click to collapse
I did this yesterday, following this thread:
http://forum.xda-developers.com/showthread.php?t=1345872
I would prefer another way to repartition my SD, as Linux GPartED, that can easily resize partitions and add new ones. But I couldn't find the requirements for that and had problems a couple of months ago, when I tried to replace my SD and it was reformatted (don't know why) automatically, with no warning.
So I almost followed the thread:
1) backed up all my files (I just mounted SD and copied the files, as I didn't had sd-ext yet)
2) reboot into clockworkmod. I backup here is STRONGLY RECOMMENDED!
3) mounted /system & /data, and unmount /sdcard
4) copied sdparted.txt to /sbin/sdparted (already rooted, otherwise it would not work)
adb push sdparted.txt /sbin/sdparted
adb shell chmod 755 /sbin/sdparted
5) As I was in a different ROM, MiniCM7 2.1.6, I didn't have parted, required by sdparted.
So I copied from GingerDX v21
adb push parted /usr/xbin/parted
adb shell chmod 755 /usr/xbin/sdparted
But if your ROM already have parted, you can skip this.
6) Now just run sdparted as mentioned in MarJar thread. I have a 8 GB SD, and I choose 512 MB for sd-ext and 256 MB for swap, leaving more than 7 GB for files. So mine was:
adb shell
sdparted -es 512M -ss 256M -efs ext4
(someone, somewhere, mentioned that ext4 would be faster. I saw some benchmarks for Linux telling the opposite... But ext4 jas journaling, so it should be safer)
Now you have a partitioned SD.
7) Copy userinit.tx from the thread to /sd-ext/userinit.sh. It will be automatically executed on startup and mount the enable swap:
adb push userinit.txt /sd-ext/userinit.sh
adb shell chmod 755 /sd-ext/userinit.sh
8) Now I would recommend, if you have installed your apps to your ROM, to mount the SD again and copy the files back to the SD. You can do it in clockworkmod, menu Partitions or something like that, choosing Mount SD Card.
I didn't, so when I rebooted the phone, the "Apps" (or whatever remained fromthem in /data) were move to /sd-ext automatically. But any previous ROM, as mine also, would keep files in SD. The result was the nothing was working. So I copied the files back to SD card and restored the backup I took in step 2 (that saved me ).
But if you restore the files back to SD before rebooting, I think you would be fine.
It worked gracefully for me after restoring the backup.
9) Reboot and enjoy.