[Q] About Partitioning with o1 - Optimus One, P500, V General

I am using the 6.5.7 CM with 2.2.1 amon-ra and planning to partition my SD card. I found a set of instructions that worked with others, but for some reason I received a different result. According to the tutorial, I am supposed to enter this value on the recovery menu:
Swap size:0
EXT size:512
Convert EXT2 to EXT3.
Convert EXT3 to EXT4
But when I tried it, it doesn't ask for the value of EXT. It is asking instead for the value of EXT2. I am planning to use A2SD and dark tremor for this.

Just set that on 512. The way partitioning is done in AmonRa is it makes the partition in ext2 only. If you want to use ext3, afterwards pick the other menu "convert ext2 to ext3". If you want to use ext4, convert ext2->ext3 and then ext3->ext4.

So ill enter these:
Swap 0
Ext2 512
Convert 2 to 3
Then proceed with flashing?thanks

Related

Stuck on card format step with Gpartition

Im following the guid HERE: http://forum.xda-developers.com/showpost.php?p=10999799&postcount=2056
and Im stuck on step 6, 7, 8:
6) Resize the FAT32 partition (Original Size minus [-] 1536MiB) and set the new 1536Mib partition to Primary and ext4
7) Resize this new partition again and leave 512MiB for 2nd ext4 so now you have one ext4 with 1024MiB and one ext4 with 512MiB space.
8) Apply
I have a 16GB card, and im following those directions absolutly to the T..
when Im done I have a 13656MB Fat32 partition, a 1024MB ext4 partition, and a 512MB ext4 partition.
I formatted the orignal 1636 block as primary, and then when I resized it to 1024 leaving 512, the 512 also formatted as primary and ext4 there is no other option other than that, they are greyed out.
hit apply, it said everything went successfully, but when I boot back in to windows to continue with step 11:
make a folder Desire_DL and copy in there ONLY the config file you just saved.
The card is unreadable, cannot copy anything to it.
If i put it back in the phone, the phone says it has to format it.
I am missing something, obviously, but I am following the directions absolutely as written.
What am I doing wrong?
I searched around and came across a thread with directions on Gparted, but it was only regarding a 2gb card and the version of Gparted was totally different looking than the one I am using, as was the purpose it was being used for (dual boot)
your doing it wrong.
Source:
http://forum.xda-developers.com/showthread.php?t=824154
Download the app from the above thread. gui will resize and integrity check the data.img aka ext3 partition if you are using windows.
If your on linux, you could do a loopback mount. But i'm assuming this isn't familiar, and following the steps in the thread #824154 will get your data.img resized correctly.
The tool is nice, because it also does a partition scan similar to doing it if you were using mkfs natively.
Best o luck
ahh
I just realized your trying to dual boot.
launch gparted, then look for the sdcard. It will recognize both fat,fat32,ntfs,ext3,ext4 file systems... you will not be able to read ext3 or ext4 partitions on a windows system unless you get the gpl dll that makes ext3 or 4 readable.
sorry to point you to towards the data.img repartition. I need to learn to read messages in their entirety.
Things would be easier if you were on a mac or linux OS....

[Q] Clockworkmod and sd-ext

Just installed link2sd earlier (formatted partition as ext3). Wanted to flash a different rom. Trying to backup my phone, and clockworkmod tells me it can't mount sd-ext. Anyone know a reason and/or work around?
I think CWM works only with ext4 partition AFAIK. So, you can re-partition your sd card to a ext4 partition using CWM, or you can format the ext partition only to ext4 using a computer.
YouArePoop said:
Just installed link2sd earlier (formatted partition as ext3). Wanted to flash a different rom. Trying to backup my phone, and clockworkmod tells me it can't mount sd-ext. Anyone know a reason and/or work around?
Click to expand...
Click to collapse
which version of CWM have you got?
3.0.2.4, which I've used for a while now, always tries to back up my 6GB ext2 debian partition unless I remember to change cards first. no way I leave room in the vfat partition to back up that much data.
I'll put it up on 4shared if you want it.
mihir287 said:
I think CWM works only with ext4 partition AFAIK. So, you can re-partition your sd card to a ext4 partition using CWM, or you can format the ext partition only to ext4 using a computer.
Click to expand...
Click to collapse
Guess when I get home I'll copy the contents to computer, reformat, and copy back. Hopefully link2sd will notice the formatting has changed and reset itself
Sent from my LG-VM670 using XDA App
Doesn't work with extra either. Version 3.2.0.1 I believe it was.
Guess it doesn't really matter, can just use titanium since its all app stuff on there anyways...
Sent from my LG-VM670 using XDA App
i use CWM to back up my 512MB ext2 partition for my data2ext all the time (with the rest of the backup) and it seems to have no problem, and just to check i just mounted the partition in mounts and storage and it mounts fine. I know some recoveries ive used in the past on other phones would have problems with partitions that were not in 64-128-256-512-1024 MB, etc. format because of block size issue errors that i would get (when mounting or trying to set block size to 4096). I also found that when partitoning/formatting to ext2/3/4 some programs do not properly write the drive formatting and certain systems/recoveries/apps could not properly read them on the android. the best most consistent (android friendly) formats that i have gotten to date were in ubuntu (or any other) linux using "gparted". It seemed to always be the best and usually better than the format done by the phone recovery. Hope this helps. Sorry to drone on and on.
Partitioned originally with gparted. Have since resized to be 2048, and set its label to 'sd-ext'. Now instead of getting an error saying sd-ext might not be supported on my device, it just gives me a generic 'error mounting sd-ext'
I've had ext partition mounting problems before, I'm not sure if the cause is something to do with vold or what, but
after unmounting a sd card to exchange it with another one, it changes the device partitions in /dev/block like
/dev/block/mmcblk1p2
for the sd-ext partition instead of the normal
/dev/block/mmcblk0p2
you can see if this has happened by
Code:
ls /dev/block
in adb shell.
to mount it manually, if the numbering is off,
Code:
mount /dev/block/mmcblk1p2 /sd-ext
I've only had this happen with android running, but it might work in recovery too
Switched over to using data2ext. Mounts the 2nd partition as the /data partition instead of /sd-ext. Can manually mount 2nd as /sd-ext from within rom, but it doesn't carry over to recovery.
A possible solution... Create a symbolic link pointing /sd-ext to the 2nd partition? But then again, since /data now points to 2nd partition, is recovery picking up on that unknowingly and backing up the 2nd's contents when it thinks its backing up the normal /data?
I suppose I should investigate.
Edit: Yep it does backup the 2nd partition, thankfully. Just tried to install a theme made in UOT Kitchen, it borked some stuff, and the restore worked.

[Q] Link2sd problem

Hey all I'm running CMD 7.1 (RC) on a Nexus One and I've followed the instructions to partition my sd card from here as ext3, installed link2sd, and get this error:
Mount script error
Mount script cannot be created.
mount: mounting/dev/block/
vold/179:2 on /data/sdext2
failed: Device or resource busy
Anyone have a solution for this? I have searched XDA and Google for a solution, a few posts showed up with the same problem, but the person that starts the thread with the same problem ends up not following their own thread, or finds a solution without explaining how.
I am having the exact same problem, Nexus One with CM7 nightly 214. Tried S2E but it kept screwing up and trashing my EXT partition so I wanted to try Link2SD.
Finally got it to work but I can only get EXT3 partition, tried updating using Amon-Ra and MiniTool Partition but neither updated to EXT4.
In Terminal you can check the type of EXT partition by typing: mount | grep sd-ext
Everything I tried kept giving me only an EXT2 partition, I tried converting to EXT4 using MiniTool Partition Manager which reported a successful conversion but when I checked in terminal it reported EXT2. I then used Amon-Ra recovery to convert from EXT2 to EXT3 and now Link2SD works. Lexar 32GB Class 10 SD. Hope this helps.
Possible solution
I might have just found a solution.
Do you guys use any kind of bk2sdext? (automated backup of app/data to sdext partition, which comes with some ROMs built in)
To find out, go to your build.prop file in /system and check, it's one of the last lines, if it says something like bkup2sdext.enable=1, then disable it (switch 1 to 0), save and restart.
After that either go to ClockworkMod Recovery or just unmount your SD card, in order to FORMAT the sd-ext partition again so that it doesn't contain any data (and doesn't get automatically filled back, because bkup2sdext is off now).
This way I was able to mount it finally.
I think it has something to do with the build.prop AND the sd-ext partition having some other data on it before first mounting with link2sd.
Cheers.
download titanium backup press menu select batch operation scroll down till u see move all user apps to sd(if supported) and also make sure that you have checked allow application moving(settings->applications)
I have segmentation fault all the time,donnu why

How to use ext2

How do i use ext2 partition on native ap2sd? i used to have link2sd but i heard native is better so i made an ext2 partition anyone know how to set it? minicm7 2.2.1
EXT2 is not supported with this ROM, must create EXT3 or EXT4.
I was tested EXT2 + link2SD but that didnt work. Tested FAT32 + link2sd = same fail.
If you create EXT3/EXT4 it could be auto-mounted, but some bugs could appear...
I recomended to not use EXT, just that SWAP you created. If you use native "move to card", they will be stored on mmc too, but will be visible in some "xxx-secure" folder (not stored in ext part.) - I spent almost whole day to recover all files after testing SWAP and EXT3 (both auto-mounted via minicm) - dont do the same mistake
penthaler said:
EXT2 is not supported with this ROM, must create EXT3 or EXT4.
I was tested EXT2 + link2SD but that didnt work. Tested FAT32 + link2sd = same fail.
If you create EXT3/EXT4 it could be auto-mounted, but some bugs could appear...
I recomended to not use EXT, just that SWAP you created. If you use native "move to card", they will be stored on mmc too, but will be visible in some "xxx-secure" folder (not stored in ext part.) - I spent almost whole day to recover all files after testing SWAP and EXT3 (both auto-mounted via minicm) - dont do the same mistake
Click to expand...
Click to collapse
srry but i didnt realy understand i have a 3gb normal and 300 swap and 300 ext2 what should i change ext2 to?and dunt worry i have backups
LukBoy99 said:
srry but i didnt realy understand i have a 3gb normal and 300 swap and 300 ext2 what should i change ext2 to?and dunt worry i have backups
Click to expand...
Click to collapse
you should change ext2 to ext3 or ext4, but i think he is saying: get rid of the ext-partition and just keep fat for app2sd/link2sd, and keep swap.
You must format the ext2 to ext3 or EXT4. There is a command for this built into minicm and I think it's something like a2sd format in terminal. Or you can use something like gparted from linux
X10man
Sent from my Fender Stratocaster to your face via XDA Premium
x10man said:
You must format the ext2 to ext3 or EXT4. There is a command for this built into minicm and I think it's something like a2sd format in terminal. Or you can use something like gparted from linux
X10man
Sent from my Fender Stratocaster to your face via XDA Premium
Click to expand...
Click to collapse
made ext3 how do i activate it?
EXT3 is automatically mounted by ROM, so you dont have to enable it.
You can just choose if you want to use NONE / A2SD / DC2SD mode in cyanogenmod settings.

partition sdcard to ext4

I am having little problem here. I partitioned my sdcard with cwm with 1gb ext4 partition and 256mb of swap partition. it said done succesfully.but when i crosschecked in minitool partition wizard it showd partition as ext3. now when link2sd asks me which partition it is then what should i do. i want to use as ext4 bcz i read that it is the best among ext2 3 4 (tell me if its not). also pls tell is swap space useful for xperia neo?are there any imrovements of performance with this swap partition? kind of confused here..
deepakpunjabi said:
I am having little problem here. I partitioned my sdcard with cwm with 1gb ext4 partition and 256mb of swap partition. it said done succesfully.but when i crosschecked in minitool partition wizard it showd partition as ext3. now when link2sd asks me which partition it is then what should i do. i want to use as ext4 bcz i read that it is the best among ext2 3 4 (tell me if its not). also pls tell is swap space useful for xperia neo?are there any imrovements of performance with this swap partition? kind of confused here..
Click to expand...
Click to collapse
Just use mini tool partition wizard to create the partition.
Not sure which is the "best" to use.
I use ext 2 because thats all the x10 kernels was able to handle and i have never had any problems.
I have never used swap, but from what i have read its not a good idea...
default ext4 have journaling feature and it will shorten the life of the sdcard will die more quickly but datas become more safety
ext4 without journaling feature better than ext2
as you can check yourself
http://forum.xda-developers.com/showthread.php?t=851407
http://www.thegeekstuff.com/2011/05/ext2-ext3-ext4/
gregbradley said:
Just use mini tool partition wizard to create the partition.
Not sure which is the "best" to use.
I use ext 2 because thats all the x10 kernels was able to handle and i have never had any problems.
I have never used swap, but from what i have read its not a good idea...
Click to expand...
Click to collapse
so you suggest that i again partition with minitool..and dont leave space for swap partition? right?

Categories

Resources