[HTC One S] bombev:
Hello

I Found this tutorial for resizing Android partition but nothing happens:

I followed all the steps but I am missing something and cant get it work

So far I have

/system 1.6GB

/cache 255MB

/data (userdata) 2.4 GB

/sdcard 9.9GB

What I want is to give to the /data partition more 3 GB to became 5.4 GB

and /sdcard will be 6.9 GB

----------------------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------------------

What I did is to follow the instructions

from 1 to 10 from the first post

Here the partition from df command

Filesystem 1K-blocks Used Available Use% Mounted on

tmpfs 405576 20 405556 0% /dev

tmpfs 405576 16 405560 0% /tmp

/dev/block/mmcblk0p34 258012 4296 253716 2% /cache

/dev/block/mmcblk0p36 10405888 2256776 8149112 22% /sdcard

/dev/block/mmcblk0p36 10405888 2256776 8149112 22% /and-sec

~ # umount -a

umount: can't umount /tmp: Device or resource busy

umount: can't umount /sys/fs/selinux: Device or resource busy

umount: can't umount /sys: Device or resource busy

umount: can't umount /dev/pts: Device or resource busy

umount: can't umount /dev: Device or resource busy

~ # df

Filesystem 1K-blocks Used Available Use% Mounted on

df: /proc/mounts: No such file or directory

~ # fdisk /dev/block/mmcblk0

1. umount -a

2. fdisk /dev/block/mmcblk0

then type p

Disk /dev/block/mmcblk0: 15.6 GB, 15634268160 bytes

1 heads, 16 sectors/track, 1908480 cylinders

Units = cylinders of 16 * 512 = 8192 bytes

Device Boot Start End Blocks Id System

/dev/block/mmcblk0p1 * 1 17 128 4d Unknown

Partition 1 does not end on cylinder boundary

/dev/block/mmcblk0p2 17 49 256 51 Unknown

Partition 2 does not end on cylinder boundary

/dev/block/mmcblk0p3 49 16382 130671 5d Unknown

Partition 3 does not end on cylinder boundary

/dev/block/mmcblk0p4 16382 1908480 15136784 5 Extended

Partition 4 does not end on cylinder boundary

/dev/block/mmcblk0p5 16383 16384 16 5a Unknown

/dev/block/mmcblk0p6 16385 16417 256 73 Unknown

/dev/block/mmcblk0p7 16417 18364 15577+ 5b Unknown

/dev/block/mmcblk0p8 18364 18396 256 5c Unknown

/dev/block/mmcblk0p9 18396 18524 1024 45 Unknown

/dev/block/mmcblk0p10 18524 18556 256 47 Unknown

/dev/block/mmcblk0p11 18556 18812 2048 46 Unknown

/dev/block/mmcblk0p12 18812 18940 1024 4c Unknown

/dev/block/mmcblk0p13 18940 18944 32 0 Empty

/dev/block/mmcblk0p14 18944 19712 6144 34 Unknown

/dev/block/mmcblk0p15 19712 19840 1024 36 Unknown

/dev/block/mmcblk0p16 19840 19968 1024 0 Empty

/dev/block/mmcblk0p17 19968 25728 46080 77 Unknown

/dev/block/mmcblk0p18 25729 27008 10240 7a Unknown

/dev/block/mmcblk0p19 27009 27649 5120 0 Empty

/dev/block/mmcblk0p20 27649 28672 8190+ 74 Unknown

/dev/block/mmcblk0p21 28673 30720 16384 48 Unknown

/dev/block/mmcblk0p22 30721 32768 16383+ 71 Unknown

/dev/block/mmcblk0p23 32769 32896 1022+ 76 Unknown

/dev/block/mmcblk0p24 32896 33408 4096 4a Unknown

/dev/block/mmcblk0p25 33409 33920 4096 4b Unknown

/dev/block/mmcblk0p26 33921 36481 20480 19 Unknown

/dev/block/mmcblk0p27 36481 36481 4 0 Empty

/dev/block/mmcblk0p28 36481 36513 256 23 Unknown

/dev/block/mmcblk0p29 36513 36515 16 0 Empty

/dev/block/mmcblk0p30 36515 36675 1280+ 0 Empty

/dev/block/mmcblk0p31 36675 36683 64 0 Empty

/dev/block/mmcblk0p32 36684 49152 99752 0 Empty

/dev/block/mmcblk0p33 49153 262144 1703935 83 Linux

/dev/block/mmcblk0p34 262145 294912 262143+ 83 Linux

/dev/block/mmcblk0p35 294913 606208 2490367+ 83 Linux

/dev/block/mmcblk0p36 606209 1908480 10418176 c Win95 FAT32 (LBA)

/dev/block/mmcblk0p37 16383 16384 16 5a Unknown

/dev/block/mmcblk0p38 16385 16417 256 73 Unknown

/dev/block/mmcblk0p39 16417 18364 15577+ 5b Unknown

/dev/block/mmcblk0p40 18364 18396 256 5c Unknown

/dev/block/mmcblk0p41 18396 18524 1024 45 Unknown

/dev/block/mmcblk0p42 18524 18556 256 47 Unknown

/dev/block/mmcblk0p43 18556 18812 2048 46 Unknown

/dev/block/mmcblk0p44 18812 18940 1024 4c Unknown

/dev/block/mmcblk0p45 18940 18944 32 0 Empty

/dev/block/mmcblk0p46 18944 19712 6144 34 Unknown

/dev/block/mmcblk0p47 19712 19840 1024 36 Unknown

/dev/block/mmcblk0p48 19840 19968 1024 0 Empty

/dev/block/mmcblk0p49 19968 25728 46080 77 Unknown

/dev/block/mmcblk0p50 25729 27008 10240 7a Unknown

/dev/block/mmcblk0p51 27009 27649 5120 0 Empty

/dev/block/mmcblk0p52 27649 28672 8190+ 74 Unknown

/dev/block/mmcblk0p53 28673 30720 16384 48 Unknown

/dev/block/mmcblk0p54 30721 32768 16383+ 71 Unknown

/dev/block/mmcblk0p55 32769 32896 1022+ 76 Unknown

/dev/block/mmcblk0p56 32896 33408 4096 4a Unknown

/dev/block/mmcblk0p57 33409 33920 4096 4b Unknown

/dev/block/mmcblk0p58 33921 36481 20480 19 Unknown

/dev/block/mmcblk0p59 36481 36481 4 0 Empty

/dev/block/mmcblk0p60 36481 36513 256 23 Unknown

Partition table entries are not in disk order

And see the partition I need to delete

/dev/block/mmcblk0p35 294913 606208 2490367+ 83 Linux

/dev/block/mmcblk0p36 606209 1908480 10418176 c Win95 FAT32 (LBA)

---------------------------------

/data partition is 2.4 GB so dev/block/mmcblk0p35

/storage partition is 9.9 GB /dev/block/mmcblk0p36

then d

35

d

35

Because when I first delete 35 partition 36 became 35...

Next thing I am adding new parttion

after adding new partition

/dev/block/mmcblk0p59 294913 929679 5078128+ 83 Linux

This is for sd card parttion:

Command (m for help): n

First cylinder (18941-1908480, default 18941): 929680

Sector 14874864 is already allocated

First cylinder (929681-1908480, default 929681):

Using default value 929681

Last cylinder or +size or +sizeM or +sizeK (929681-1908480, default 1908480):

Using default value 1908480

And I get this

/dev/block/mmcblk0p60 929681 1908480 7830399+ 83 Linux

Then I did

Command (m for help): t

Partition number (1-60): 60

Hex code (type L to list codes): c

Changed system type of partition 60 to c (Win95 FAT32 (LBA))

And Finally I have

/dev/block/mmcblk0p59 294913 929679 5078128+ 83 Linux ===> should be /data

/dev/block/mmcblk0p60 929681 1908480 7830399+ c Win95 FAT32 (LBA) => should be /sdcard

And then I did

Command (m for help): w

The partition table has been altered.

Calling ioctl() to re-read partition table

Everything so far is good

The problem now is how to deal with step 11 ===> "wipe" data and sdcard to format your new partitions

I have searched in the forum and I found this comment http://xdaforums.com/show...&postcount=446

It says 8) "wipe" data and sdcard to format your new partitions. (May require to mount the SDCARD)

I am trying to mount the partitions

~ # mount -a

mount: mounting /dev/block/mmcblk0p34 on /cache failed: No such file or directory

mount: mounting /dev/block/mmcblk0p35 on /data failed: No such file or directory

mount: mounting /dev/block/mmcblk0p33 on /system failed: No such file or directory

mount: mounting /dev/block/mmcblk0p36 on /sdcard failed: No such file or directory

mount: mounting /usb-otg on vfat failed: No such file or directory

When I check back

Device Boot Start End Blocks Id System

/dev/block/mmcblk0p1 * 1 17 128 4d Unknown

Partition 1 does not end on cylinder boundary

/dev/block/mmcblk0p2 17 49 256 51 Unknown

Partition 2 does not end on cylinder boundary

/dev/block/mmcblk0p3 49 16382 130671 5d Unknown

Partition 3 does not end on cylinder boundary

/dev/block/mmcblk0p4 16382 1908480 15136784 5 Extended

Partition 4 does not end on cylinder boundary

/dev/block/mmcblk0p5 16383 16384 16 5a Unknown

/dev/block/mmcblk0p6 16385 16417 256 73 Unknown

/dev/block/mmcblk0p7 16417 18364 15577+ 5b Unknown

/dev/block/mmcblk0p8 18364 18396 256 5c Unknown

/dev/block/mmcblk0p9 18396 18524 1024 45 Unknown

/dev/block/mmcblk0p10 18524 18556 256 47 Unknown

/dev/block/mmcblk0p11 18556 18812 2048 46 Unknown

/dev/block/mmcblk0p12 18812 18940 1024 4c Unknown

/dev/block/mmcblk0p13 18940 18944 32 0 Empty

/dev/block/mmcblk0p14 18944 19712 6144 34 Unknown

/dev/block/mmcblk0p15 19712 19840 1024 36 Unknown

/dev/block/mmcblk0p16 19840 19968 1024 0 Empty

/dev/block/mmcblk0p17 19968 25728 46080 77 Unknown

/dev/block/mmcblk0p18 25729 27008 10240 7a Unknown

/dev/block/mmcblk0p19 27009 27649 5120 0 Empty

/dev/block/mmcblk0p20 27649 28672 8190+ 74 Unknown

/dev/block/mmcblk0p21 28673 30720 16384 48 Unknown

/dev/block/mmcblk0p22 30721 32768 16383+ 71 Unknown

/dev/block/mmcblk0p23 32769 32896 1022+ 76 Unknown

/dev/block/mmcblk0p24 32896 33408 4096 4a Unknown

/dev/block/mmcblk0p25 33409 33920 4096 4b Unknown

/dev/block/mmcblk0p26 33921 36481 20480 19 Unknown

/dev/block/mmcblk0p27 36481 36481 4 0 Empty

/dev/block/mmcblk0p28 36481 36513 256 23 Unknown

/dev/block/mmcblk0p29 294913 929679 5078128+ 83 Linux

/dev/block/mmcblk0p30 929681 1908480 7830399+ c Win95 FAT32 (LBA)

When I flash with again I am with 2.4 GB /data and 9.9GB /sdcard

Can someone help me out with this, because I am sure that I am missing something little thing to get it work