Partitions resize and/or convert?? - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

Hi @all
I recently posted a question on general but didnt get any reply if it is possible so i post it here maybe i get some feedback
http://forum.xda-developers.com/showthread.php?t=1490181

If you have a Windows machine, can you do it with Partition Wizard:
http://www.partitionwizard.com/free-partition-manager.html

but not for resizing the internal partitions :-O

Daywalkr1990 said:
but not for resizing the internal partitions :-O
Click to expand...
Click to collapse
your right, sorry, did not think about the fact that it was not the SD card you wanted to modify.
---------- Post added at 02:39 PM ---------- Previous post was at 02:30 PM ----------
IIRC does GNU Parted not support ext4 partitions.
If I am not totally wrong, does it only support up to ext3 partitions, but if I am wrong, check http://www.gnu.org/software/parted/manual/parted.html
It is part of the system, if you run it through the terminal.

that doesn't sound bad man
tried this afternoon but failed a bit
maybe was the wrong version
i try it with your version of parted
its bad that it is not integrated in system....

why do you want to convert yaffs2 to ext4? I think yaffs2 is better for our mobile hardware.
anyways if you get it, think of changing the rom's ramdisk etc. to mount the partitions in ext4 and not yaffs

You are right yaffs is better then EXT4
So no converting now
I just want to resize the partitions to gain more space for the data partition. Means making system partition a bit smaller and data larger or making system smaller and create a new partition for recovery or that
Gesendet von meinem SK17i mit Tapatalk

Huh? Any user data is auto-moved/linked to SD. This is true on all 2011 line of devices.

What? We still have data partitions on our nand and this one or the system partition i want to resize to gain more space or even the space to build a seperate partition to install cwm there
Gesendet von meinem SK17i mit Tapatalk

found a parted that i copied into the right directory but when i run it it says no device found.
found the parted in a recovery of the x10 mini pro
is there anything i need to change that it works on my device?

Related

[Q] Application/Data partition resize?

Hi.
I've rooted my A70s with chulri's kernel and it seems to work ok.
My next goal is to get more app room ... so I guess I need to resize the app/data partition.
I've thought that having my internal storage formatted on ext4, it would be possible to ln the /data folder to /storage/data without problems, but then I should create a boot script for that. The question is... can I do this with my current root status? What would be the way to do it? I'm don't know enough of linux os to make it on my own.
If the system can't be fooled with a ln, then is there any way to resize the data partition, even if I have to backup/restore my current data?
I don't want to use Urukdroid, since all the versions I tried were very unstable on my machine.
Cheers!!
search the forum: http://forum.xda-developers.com/showthread.php?p=14710945#post14710945
Follow chulri's method, or repartition your internal storage in Linux, mount it on the archos, and copy the data there. Then edit init.rc and change the data mount line. If it gets mounted in the kernel, you'll have to umount it first to remount it to the other partition.

[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.

Me I can format the external SD card Ext4?

But you can use Ext4 ... what formats are supported?
braintheboss said:
But you can use Ext4 ... what formats are supported?
Click to expand...
Click to collapse
Questions go to the Q&A ..
I gave it a try of formatting the external microsd to ext3/4 but it appears that vold on the stock rom (and roms based on it) does not support ext4
If you neext ext3/4 support on the microSD you will need to use a CM9 based rom
Hi,
im using CM10. How did you do that and are there any restrictions???
How do we format our cards to ext4?
Sent from my GT-I9300 using Tapatalk 2
It seems that auto mount its not implemented for ext file system on android. At least I discovered that on my tablet when I tried to copy files on an ext3 hard drive. It's a shame as ext is the default filesystem for android...
I had to mount it manually. There are guides on the net. It's the classical mount Linux command. To automate it you should add a script in init.d folder. There must be examples on the net too.
Striatum_bdr said:
It seems that auto mount its not implemented for ext file system on android. At least I discovered that on my tablet when I tried to copy files on an ext3 hard drive. It's a shame as ext is the default filesystem for android...
I had to mount it manually. There are guides on the net. It's the classical mount Linux command. To automate it you should add a script in init.d folder. There must be examples on the net too.
Click to expand...
Click to collapse
Could you attach it here? thanks
Sent from my GT-I9300 using Tapatalk 2
Thirty seconds search on Google.

Size of /system ?

Hi everyone,
I just wondered how big the /system partition should be?
Because I wanted to install a custom keyboard with a flashable .zip, but it's not working. So I tried to put it in /system by myself, but actually, there is no space, what also should be the reason for CWN not beeing able to flash it...
My partition is 315.87mb, according to root explorer, an 0mb left. Is this the normal size? My App folder is only around 100mb... Where is the other space??
Thanks!
The /system partition size on every single Atrix out there is exactly 320 MB. There is no known way to change that. That is the raw partition size - once it is formatted to contain a filesystem, some of that will be lost, depending on the actual filesystem (ext3, ext4, ...).
Also, questions should go to Q&A.
Thanks a lot for the quick reply!
I believe there are methods to grow through linking to /osh but I have not researched. However, you already have the option to move (root explorer) other apps to /data if you need to free up space.
Sent from my MB860 using Tapatalk 2

[ASK] It Is Possible To Create Partition As ExternalSD?

Since 128GB it more than enough for me, and I use 2 simcards so no microSD slot, is there a way to make a partition as an externalSD?
I want to use that partition to put my TWRP backup, not get erased when I did format-data, format-system or factory- reset.
Thanks ?
not a bad idea sure, literally you can do what you want in terms of repartitioning, but (and it's a big fat "but") did you have had some thoughts about how to access this partition then? you need to mount it. twrp won't know this partition and therefore won't offer a mount point for it (unless you compile your own recovery with a special fstab containing this special unknown partition, including mount point).
it's nothing noone can do, it's possible but you need some indepth knowledge for this, it needs some work with the sources, compiling work and testing. 10gigs should be enough space for a full backup.
Mod vendor rx?
elias.parasini said:
Since 128GB it more than enough for me, and I use 2 simcards so no microSD slot, is there a way to make a partition as an externalSD?
I want to use that partition to put my TWRP backup, not get erased when I did format-data, format-system or factory- reset.
Thanks ?
Click to expand...
Click to collapse
GGrea idea! I'm having worst luck w/ v30+ & sdcard!
Anyway I would start w/ the Vendor Repartitioning thread. I would imagine editing the shell script. I had 2 format the vendor part more than once to be usable. I would say the previous poster mayb correct. I don't think it would hurt to try! Just BACKUP ur PARTITION TABLE 1st!
Good luck & let us kno the reaults!
when you're done, post it here, i'll be happy to compile you a twrp with this partition enabled hint: you need to give the partition a name.

Categories

Resources