Any way to resize /data and /system partitons? - Desire General

I use the barebone, stripped down roms and have more than 120MB free space on /system partition. It would be nice to change the size and free space for more apps installs (and skip the a2sd).
Is it possible?

Somebody said it's done in the kernel.... A LONG TIME AGO. Nobody seems to want or can.

eViL D: said:
Somebody said it's done in the kernel.... A LONG TIME AGO. Nobody seems to want or can.
Click to expand...
Click to collapse
Its a pity, would be a nice way to solve desires apps storage problems

htc have taken more space from data and cache to put their apps (and ****)
desire
/dev/block/mtdblock3 250.0M 97.6M 152.4M 39% /system
/dev/block/mtdblock5 147.6M 116.3M 31.3M 79% /data
/dev/block/mtdblock4 40.0M 33.3M 6.7M 83% /cache
N1
/dev/block/mtdblock3 145.0M 109.5M 35.5M 76% /system
/dev/block/mtdblock5 196.3M 166.0M 30.3M 85% /data
/dev/block/mtdblock4 95.0M 38.2M 56.8M 40% /cache

Kali- said:
htc have taken more space from data and cache to put their apps (and ****)
desire
/dev/block/mtdblock3 250.0M 97.6M 152.4M 39% /system
/dev/block/mtdblock5 147.6M 116.3M 31.3M 79% /data
/dev/block/mtdblock4 40.0M 33.3M 6.7M 83% /cache
N1
/dev/block/mtdblock3 145.0M 109.5M 35.5M 76% /system
/dev/block/mtdblock5 196.3M 166.0M 30.3M 85% /data
/dev/block/mtdblock4 95.0M 38.2M 56.8M 40% /cache
Click to expand...
Click to collapse
Yeah, alot of wasted space, even with a fully odexed sense rom.

Wow I'm using Evil's barebone rom and just checked my free space. I got 150 MB free in /system just doing nothing! What a shame we can't repartition the internal memory.

i believe desire has 512 Mo of rom
desire
/dev/block/mtdblock3 250.0M 97.6M 152.4M 39% /system
/dev/block/mtdblock5 147.6M 116.3M 31.3M 79% /data
/dev/block/mtdblock4 40.0M 33.3M 6.7M 83% /cache
250+147+40<512
why this difference ?

radio recovery fastboot

SENSAATION said:
i believe desire has 512 Mo of rom
desire
/dev/block/mtdblock3 250.0M 97.6M 152.4M 39% /system
/dev/block/mtdblock5 147.6M 116.3M 31.3M 79% /data
/dev/block/mtdblock4 40.0M 33.3M 6.7M 83% /cache
250+147+40<512
why this difference ?
Click to expand...
Click to collapse
The difference in case of the nexus one is, that you can use 196.3MB for "your" stuff (not absolutely true - i know) instead of 147,6MB.

Related

[Q] apps2sd - not working... ?

hi,
i am not sure what i am doing wrong here, I am using pinky's ROM and I have the default and used ROM manager to partition the SD card to a 512 MB ext3 and the remainder 14 GB as FAT32.
I have set the EXT4 module is enabled and App2SD is set to external.
But I still cant get the apps to install to SD, using the method above to check it. The Ext3 partition is being seen, but the symlinks are correct.
Any ideas?
Heres a dump from my CMD prompt
C:\android\tools>adb shell
sh-3.2# busybox df -h
busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 207.6M 0 207.6M 0% /dev
tmpfs 207.6M 0 207.6M 0% /mnt/asec
/dev/block/mtdblock3 250.0M 181.6M 68.4M 73% /system
/dev/block/mtdblock5 147.6M 12.0M 135.6M 8% /data
/dev/block/mtdblock4 40.0M 1.1M 38.9M 3% /cache
tmpfs 8.0M 0 8.0M 0% /app-cache
/dev/block/mtdblock5 147.6M 12.0M 135.6M 8% /system/mnt/data
/dev/block/mmcblk0p2 457.4M 70.1M 362.9M 16% /system/sd
/dev/block/vold/179:1
14.6G 158.4M 14.5G 1% /mnt/sdcard
/dev/block/vold/179:1
14.6G 158.4M 14.5G 1% /mnt/secure/asec
sh-3.2# cd /data/app
cd /data/app
sh-3.2# pwd
pwd
/data/app
help anyone???
The native apps2sd option has nothing to do with apps2sd+, set it to internal. To see if apps2sd+ is working proply use a file explorer to navigate to the /data/app directory and look at the availible space, if its the same as your ext partition. Its working
Sent from my HTC Desire using Tapatalk

[Q] Not enough space left in data with this table

I have some trouble with my newly installed ROM (RCMixHD)
Filesystem Size Used Available Use% Mounted on
tmpfs 206.5M 0 206.5M 0% /dev
/dev/block/mtdblock4 40.0M 1.4M 38.6M 3% /cache
/dev/block/mtdblock3 250.0M 125.9M 124.1M 50% /system
/dev/block/mtdblock5 147.6M 147.4M 188.0K 100% /data
/dev/block/mmcblk0p1 3.2G 232.9M 2.9G 7% /sdcard
/dev/block/mmcblk0p2 458.5M 181.9M 252.1M 42% /sd-ext
Obviously I can't seem to boot up because it can't load the system data in the dalvik-cache, so I just thought I could clear up the dalvik-cache and give it a reboot, now I'm like this but still it doesn't seem to boot up:
Filesystem 1K-blocks Used Available Use% Mounted
tmpfs 211420 0 211420 0% /dev
/dev/block/mtdblock4 40960 1428 39532 3% /cache
/dev/block/mtdblock3 256000 128924 127076 50% /system
/dev/block/mtdblock5 151168 70296 80872 47% /data
/dev/block/mmcblk0p1 3310900 238440 3072460 7% /sdcard
/dev/block/mmcblk0p2 469475 186257 258172 42% /sd-ext
Did I miss something? Or maybe I was just unpatient?
looks like after all it wasn't a good idea... do I really need to flash back up the rom from scratch and not sync contacts and anything like that?
c:\android-sdk-windows\platform-tools>adb shell logcat
--------- beginning of /dev/log/main
I//system/xbin/busybox( 64): run-parts: applet not found
I/logwrapper( 64): /system/xbin/busybox terminated by exit(1)
after all it looks like a bug in the contacts list...

[Q] Changing size of Partitions?

Currently my partitions look like this:
df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 206.5M 0 206.5M 0% /dev
/dev/block/mtdblock4 40.0M 8.5M 31.5M 21% /cache
/dev/block/mtdblock3 250.0M 120.9M 129.1M 48% /system
/dev/block/mtdblock5 147.6M 70.7M 76.9M 48% /data
But when I next boot, /data/dalvik-cache will balloon to ~60MB so I'll be stuck with 15MB left of my data partition.
I was thinking, if I could take 100MB or so from my system partition and add it to my data partition, this would make everything much more awesome. I'm prepared to reformat my phone (currently using CM7-RC3) to do this, but have no idea how I'd go about it.
Also it'd be great if my /system partition mounted RW on boot (I've got Alpharev, etc)
Have you visited this?
http://forum.xda-developers.com/showthread.php?t=806321 <<< Custom MTD partitions

[Q] Can't install apps (COS 4.0.4 and INT2EXT+)

I'm running COS ICS firmware with INT2EXT+ (from here). Everything seemed to be fine, but today I suddenly noticed that I can't neither install a new app nor update an already installed one. The download bar is blinking endlessly without getting anywhere.
As I can understand, the problem is that /data/data is full, but what can be done with it? I suppose that if I move it to the EXT partition, it will become even more sloppy than it is now.
Here's the output of df:
Code:
[email protected]:/ $ df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 207560 60 207500 0% /dev
tmpfs 207560 0 207560 0% /mnt/asec
tmpfs 207560 0 207560 0% /mnt/obb
/dev/block/mtdblock3 256000 178684 77316 70% /system
/dev/block/mtdblock4 40960 1288 39672 3% /cache
/dev/block/mmcblk0p2 1874298 277453 1496841 16% /data
/dev/block/mtdblock5 151168 147324 3844 97% /data/data
/dev/block/mtdblock5 151168 147324 3844 97% /data/property
/dev/block/mtdblock5 151168 147324 3844 97% /data/radio
/dev/block/vold/179:1
5756032 1851000 3905032 32% /mnt/sdcard
df: /mnt/secure/asec: Permission denied
/dev/block/dm-0 9352 7532 1820 81% /mnt/asec/com.readability-1
Any suggestions?
Thanks.
Try settings/ applications then find google play store and clear cache n data. Worked for me earlier
Sent from my HTC Desire
jmcclue said:
Try settings/ applications then find google play store and clear cache n data. Worked for me earlier
Sent from my HTC Desire
Click to expand...
Click to collapse
Thanks, but it doesn't seem to be the problem, as Play Store had some ~1 MB in cache and even less in data.
I uninstalled several relatively big apps (like Google+), which made /data/data only 71% full, so I could update other apps. But it's a temporary solution; is there really no way to get more space for apps on HTC Desire without making it slow and clumsy?
shlema said:
Thanks, but it doesn't seem to be the problem, as Play Store had some ~1 MB in cache and even less in data.
I uninstalled several relatively big apps (like Google+), which made /data/data only 71% full, so I could update other apps. But it's a temporary solution; is there really no way to get more space for apps on HTC Desire without making it slow and clumsy?
Click to expand...
Click to collapse
Yea...by getting a new phone with bigger memory. Sd-ext will always be slow.
Sent from my toaster
abaaaabbbb63 said:
Yea...by getting a new phone with bigger memory. Sd-ext will always be slow.
Sent from my toaster
Click to expand...
Click to collapse
Well... Then I'll go for dGB ROM for now, will see if 360 MB is enough for my apps. =)

[Q][S-ON] system/data partitions exchange,can this be done ?

S-on, unlocked users,cannot modify partition table, but can write anything to this partitons, or maybe it is just my way of thinking ;p Correct me if im wrong.
Partitions on my WFS are:
$ df -h
size used available mounted
/dev/block/mtdblock3 260M 137M 122,2M /system
/dev/block/mtdblock5 150M 127M 23M /data
/dev/block/mtdblock4 35M 2,3M 32,7M /cache
/dev/block/mtdblock5 150M 127M 23M /cache/download
The Question is:
Can /dev/block/mtdblock3 be mounted as /data ?
And /dev/block/mtdblock5 be mounted as /system ?
Can boot.img be patched to boot from /dev/block/mtdblock5 ?
This would give 150M for CM7 which is more then enough ,and 260M for data !
xys007 said:
S-on, unlocked users,cannot modify partition table, but can write anything to this partitons, or maybe it is just my way of thinking ;p Correct me if im wrong.
Partitions on my WFS are:
$ df -h
size used available mounted
/dev/block/mtdblock3 260M 137M 122,2M /system
/dev/block/mtdblock5 150M 127M 23M /data
/dev/block/mtdblock4 35M 2,3M 32,7M /cache
/dev/block/mtdblock5 150M 127M 23M /cache/download
The Question is:
Can /dev/block/mtdblock3 be mounted as /data ?
And /dev/block/mtdblock5 be mounted as /system ?
Can boot.img be patched to boot from /dev/block/mtdblock5 ?
This would give 150M for CM7 which is more then enough ,and 260M for data !
Click to expand...
Click to collapse
I don't think its possible. Even if you mount /data as /system and /system as /data it might result in force close of these apps
You'd need s-off to play with internal partitions.

Categories

Resources