Jump to content


Photo

custom you data partition's size

* * * * * 2 votes

  • Please log in to reply
55 replies to this topic

#1
Geno.Kolar

Geno.Kolar

    Newbie

  • Members
  • Pip
  • 11 posts
  • Devices:zte
Data storage space is always a problem for Android, which is why there are a lot of app2ext and data2ext solutions. There is app2sd function build-in in Froyo (there are a lot of problems), but those methods are not as good as expanding the data storage space directly.

Instructions:

1. Backup your Internal 2G Storage, doing this will erase the internal 2G data.
2. Download the attached partition.zip to EXTERNAL SDcard, make sure there are enough space in EXTERNAL SDcard (depends on your data partition size, around 600MB is enough).
3. Disable APP2SD, DATA2EXT, SWAP.(if have)
4. Boot into recovery, do not clear/wipe, flash this package directly, same as flashing a ROM.
5. After flashing go to advanced options, choose to reboot to recovery.
6. Go into recovery again, do not clear/wipe, flash this package again directly, same as flashing a ROM.
7. Reboot device. Done. All data will be kept, no data lose, all remains the same as before, but the storage space has been changed.

Characteristics:
1. Data storage space expanded to 1.2G, internal storage space squeezed to 1.46G (you can use custpartition.bat custom your size).
2. Data storage space is expanded permanently, no matter what ROM you are going to flash, including official ROM!
3. No side-effects, very safe.

How It Works:
Changed the Huawei internal 4G ROM partition solution, squeezed 2G space to 1.46G, leftovers are given to data storage.
This is cooperation work with 凡人 from 5irom, thanks for his bravery to test it out, otherwise I will not take this step ahead, you know it is money, bricking is scaring!
thanks simplistian provide me a U8800H partition table,and translate!



This is not a ROM, this is an upgrade package, you can treat it as a simple partition solution.

1.2G DATA + 1.46G INTERNAL SD upgrade package:
http://www.mediafire...dyz4uqz5a30cypy


return-to-stock partition solution upgrade package:
http://www.mediafire...x72e6p4hvo3adhj

Custom Partition tool:
useage:
1. download this tool and unzip to any directory 2. run custpartition.bat, follow the prompts to enter the number 3. and custpartition.bat positions will generate the partition file 4. replace the same file in the package 5. flash the zip pack, OK!
http://www.mediafire...m1nqg1y4gp5szp5



To Those Who Upgraded to V6 Before: you can reflash same ROM,replace recovery, then install this upgrade package.

Edited by Geno.Kolar, 10 June 2011 - 01:55 AM.

  • 1

#2
Cirno

Cirno

    Diehard

  • Members
  • PipPipPipPip
  • 329 posts
  • Location:@home
  • Devices:Huawei U8800 Ideos X5

later, i will public a update zip package,it will change your MMC partiton,only mmcblk0p13(data) and mmcblk0p14(internal 2G space),you can partition you want size...
but,i only have u8800,first i need a u8800h‘s partition table

ps:some body can give me a U8800H‘s partition table?

get method:
use adb

adb shell
fdisk /dev/block/mmcblk0
p
q
you will get the partition table

Attached File  device1.png   58.02KB   188 downloads
Attached File  device3.png   17.07KB   122 downloads

Thanks for posting here !

  • 0

#3
That-Guy

That-Guy

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,113 posts
Could you make something like this for the U8800: http://android.modac...n2-tpt-upgrade/

Ignoring the Gen1 to Gen2 Part of course.

Just simply use the same script to adjust the partition sizes?

  • 1

Huawei U8800 / Ideos X5 - Rooted & Unlocked
Recovery: ClockworkMod Recovery 5.5.0.4 | Rom: Android 2.3.5 - Official Huawei Final Release
Kernel: 2.6.35.7 (un-modified) | Partitions: Stock Partition Layout

....:::: Ultimate Guide to the Huawei U8800 ::::....
Rooting | Custom ROMs | ClockworkMod | Themes | Other Hacks & Tweaks

[U8800] [How To] Root, Install ClockworkMod + Remove Bundled Apps from Official 2.3.5

Posted Image

WEBSITE - TWITTER - GOOGLE+ - BLOG


#4
Geno.Kolar

Geno.Kolar

    Newbie

  • Members
  • Pip
  • 11 posts
  • Devices:zte

Could you make something like this for the U8800: http://android.modac...n2-tpt-upgrade/

Ignoring the Gen1 to Gen2 Part of course.

Just simply use the same script to adjust the partition sizes?


better than that

  • 0

#5
That-Guy

That-Guy

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,113 posts
Just wondering if you have a little more info....

- Should this work with both U8800 and U8800H?

- The new partition sizes are: 1.2gb Data & 1.46gb Internal SD, what are the original sizes?

- The steps below indicate you flash the same package twice, is this correct?

4. Boot into recovery, do not clear/wipe, flash this package directly, same as flashing a ROM.
5. After flashing go to advanced options, choose to reboot to recovery.
6. Go into recovery again, do not clear/wipe, flash this package again directly, same as flashing a ROM.


Thanks in Advance ;)

  • 0

Huawei U8800 / Ideos X5 - Rooted & Unlocked
Recovery: ClockworkMod Recovery 5.5.0.4 | Rom: Android 2.3.5 - Official Huawei Final Release
Kernel: 2.6.35.7 (un-modified) | Partitions: Stock Partition Layout

....:::: Ultimate Guide to the Huawei U8800 ::::....
Rooting | Custom ROMs | ClockworkMod | Themes | Other Hacks & Tweaks

[U8800] [How To] Root, Install ClockworkMod + Remove Bundled Apps from Official 2.3.5

Posted Image

WEBSITE - TWITTER - GOOGLE+ - BLOG


#6
Geno.Kolar

Geno.Kolar

    Newbie

  • Members
  • Pip
  • 11 posts
  • Devices:zte

Just wondering if you have a little more info....

- Should this work with both U8800 and U8800H?

- The new partition sizes are: 1.2gb Data & 1.46gb Internal SD, what are the original sizes?

- The steps below indicate you flash the same package twice, is this correct?
Thanks in Advance ;)

1、simplistian provide me a U8800H partition table, I confirm it works for U8800H;It works fine for simplistian。

2、original sizes 600mb data + 2GB Internal SD

3、yes,must flash twice!

Edited by Geno.Kolar, 10 June 2011 - 02:24 PM.

  • 0

#7
Cirno

Cirno

    Diehard

  • Members
  • PipPipPipPip
  • 329 posts
  • Location:@home
  • Devices:Huawei U8800 Ideos X5
@Geno.Kolar
In your first post you changed that we need to.

To Those Who Upgraded to V6 Before: you can reflash same ROM,replace recovery, then install this upgrade package.

I don't know what V6 is and if I have done it, could you tell me more about it?
Thanks !

  • 0

#8
Dr_Ash

Dr_Ash

    Regular

  • Members
  • PipPip
  • 89 posts
  • Devices:HTC Desire, HUAWEI U8800
This is great thanks! Gonna try flashing it today!

  • 0

#9
Dr_Ash

Dr_Ash

    Regular

  • Members
  • PipPip
  • 89 posts
  • Devices:HTC Desire, HUAWEI U8800
Just tried it and it worked BRILLIANTLY :-D

Thanks again for the development

  • 0

#10
That-Guy

That-Guy

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,113 posts
Works great for me too, very impressed! Extra Space and No Data Loss, Perfect ;)

  • 0

Huawei U8800 / Ideos X5 - Rooted & Unlocked
Recovery: ClockworkMod Recovery 5.5.0.4 | Rom: Android 2.3.5 - Official Huawei Final Release
Kernel: 2.6.35.7 (un-modified) | Partitions: Stock Partition Layout

....:::: Ultimate Guide to the Huawei U8800 ::::....
Rooting | Custom ROMs | ClockworkMod | Themes | Other Hacks & Tweaks

[U8800] [How To] Root, Install ClockworkMod + Remove Bundled Apps from Official 2.3.5

Posted Image

WEBSITE - TWITTER - GOOGLE+ - BLOG


#11
Cirno

Cirno

    Diehard

  • Members
  • PipPipPipPip
  • 329 posts
  • Location:@home
  • Devices:Huawei U8800 Ideos X5

Works great for me too, very impressed! Extra Space and No Data Loss, Perfect ;)

Yeah isn't it awesome !

  • 0

#12
That-Guy

That-Guy

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,113 posts
Just out of interest, what is the size of the System partition before and after this mod?

  • 0

Huawei U8800 / Ideos X5 - Rooted & Unlocked
Recovery: ClockworkMod Recovery 5.5.0.4 | Rom: Android 2.3.5 - Official Huawei Final Release
Kernel: 2.6.35.7 (un-modified) | Partitions: Stock Partition Layout

....:::: Ultimate Guide to the Huawei U8800 ::::....
Rooting | Custom ROMs | ClockworkMod | Themes | Other Hacks & Tweaks

[U8800] [How To] Root, Install ClockworkMod + Remove Bundled Apps from Official 2.3.5

Posted Image

WEBSITE - TWITTER - GOOGLE+ - BLOG


#13
papatsonis

papatsonis

    Newbie

  • Members
  • Pip
  • 16 posts
ALERT!!!...

i wanted today to revert to stock B135 rom, reverted to official-partition.zip as a precaution, did the procedure successfully (twice), and rebooted to restore my backup. After that, i get a constant error format /data, i plugged it in linux machine and the 2 partitions /data and /"sd" are gone, also the gparted upon start up says "Invalid partition table on /dev/sdc -- wrong signature 0." and the 3.69gb loook like unpartitioned (while i get the /cache , /system, /cache partitions correctly) any idea-help how to fix the partition table? Users that have used the partition modifier, beware when want to revert to old backups...

with : sudo sfdisk -l /dev/sdc
i get the following , from the little i understand the 13 and 14 partition are missing


Disk /dev/sdc: 1022 cylinders, 122 heads, 62 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.

sfdisk: ERROR: sector 2228208 does not have an msdos signature
Units = cylinders of 3872768 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start	 End   #cyls	#blocks   Id  System
/dev/sdc1		  0+	 64-	 65-	245760	b  W95 FAT32
		start: (c,h,s) expected (0,0,2) found (0,0,0)
		end: (c,h,s) expected (64,119,47) found (0,0,0)
/dev/sdc2   *	 64+	 65-	  1-	   500   4d  QNX4.x
		start: (c,h,s) expected (64,119,48) found (0,0,0)
		end: (c,h,s) expected (65,13,55) found (0,0,0)
/dev/sdc3		 65+	 65-	  1-	  3000   46  Unknown
		start: (c,h,s) expected (65,13,56) found (0,0,0)
		end: (c,h,s) expected (65,110,41) found (0,0,0)
/dev/sdc4		 65+   1022-	957-   3617363+   5  Extended
		start: (c,h,s) expected (65,110,42) found (0,0,0)
		end: (c,h,s) expected (1022,45,50) found (0,0,0)
/dev/sdc5		 69+	 72-	  4-	 12288   59  Unknown
		start: (c,h,s) expected (69,38,17) found (0,0,0)
		end: (c,h,s) expected (72,68,40) found (0,0,0)
/dev/sdc6		 86+	121-	 36-	133120   4c  Unknown
		start: (c,h,s) expected (86,78,21) found (0,0,0)
		end: (c,h,s) expected (121,102,32) found (0,0,0)
/dev/sdc7		138+	138-	  1-	   500   5a  Unknown
		start: (c,h,s) expected (138,76,33) found (0,0,0)
		end: (c,h,s) expected (138,92,40) found (0,0,0)
/dev/sdc8		155+	156-	  1-	  3072   58  Unknown
		start: (c,h,s) expected (155,116,37) found (0,0,0)
		end: (c,h,s) expected (156,93,42) found (0,0,0)
/dev/sdc9		173+	175-	  2-	  7000   50  OnTrack DM
		start: (c,h,s) expected (173,34,41) found (0,0,0)
		end: (c,h,s) expected (175,16,28) found (0,0,0)
/dev/sdc10	   190+	191-	  1-	  3072   4a  Unknown
		start: (c,h,s) expected (190,74,45) found (0,0,0)
		end: (c,h,s) expected (191,51,50) found (0,0,0)
/dev/sdc11	   207+	208-	  1-	  3072   4b  Unknown
		start: (c,h,s) expected (207,114,49) found (0,0,0)
		end: (c,h,s) expected (208,91,54) found (0,0,0)
/dev/sdc12	   225+	284-	 60-	225280   83  Linux
		start: (c,h,s) expected (225,32,53) found (0,0,0)
		end: (c,h,s) expected (284,101,58) found (0,0,0)

can be fixed??

also could somebody, boot in boot loader mode, connect the ideos to a pc running linux, type
sudo sfdisk -l /dev/sdc

and post here the similar table it will result? thnx

  • 0

#14
Geno.Kolar

Geno.Kolar

    Newbie

  • Members
  • Pip
  • 11 posts
  • Devices:zte

ALERT!!!...

i wanted today to revert to stock B135 rom, reverted to official-partition.zip as a precaution, did the procedure successfully (twice), and rebooted to restore my backup. After that, i get a constant error format /data, i plugged it in linux machine and the 2 partitions /data and /"sd" are gone, also the gparted upon start up says "Invalid partition table on /dev/sdc -- wrong signature 0." and the 3.69gb loook like unpartitioned (while i get the /cache , /system, /cache partitions correctly) any idea-help how to fix the partition table? Users that have used the partition modifier, beware when want to revert to old backups...

with : sudo sfdisk -l /dev/sdc
i get the following , from the little i understand the 13 and 14 partition are missing

Disk /dev/sdc: 1022 cylinders, 122 heads, 62 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.

sfdisk: ERROR: sector 2228208 does not have an msdos signature
Units = cylinders of 3872768 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start	 End   #cyls	#blocks   Id  System
/dev/sdc1		  0+	 64-	 65-	245760	b  W95 FAT32
		start: (c,h,s) expected (0,0,2) found (0,0,0)
		end: (c,h,s) expected (64,119,47) found (0,0,0)
/dev/sdc2   *	 64+	 65-	  1-	   500   4d  QNX4.x
		start: (c,h,s) expected (64,119,48) found (0,0,0)
		end: (c,h,s) expected (65,13,55) found (0,0,0)
/dev/sdc3		 65+	 65-	  1-	  3000   46  Unknown
		start: (c,h,s) expected (65,13,56) found (0,0,0)
		end: (c,h,s) expected (65,110,41) found (0,0,0)
/dev/sdc4		 65+   1022-	957-   3617363+   5  Extended
		start: (c,h,s) expected (65,110,42) found (0,0,0)
		end: (c,h,s) expected (1022,45,50) found (0,0,0)
/dev/sdc5		 69+	 72-	  4-	 12288   59  Unknown
		start: (c,h,s) expected (69,38,17) found (0,0,0)
		end: (c,h,s) expected (72,68,40) found (0,0,0)
/dev/sdc6		 86+	121-	 36-	133120   4c  Unknown
		start: (c,h,s) expected (86,78,21) found (0,0,0)
		end: (c,h,s) expected (121,102,32) found (0,0,0)
/dev/sdc7		138+	138-	  1-	   500   5a  Unknown
		start: (c,h,s) expected (138,76,33) found (0,0,0)
		end: (c,h,s) expected (138,92,40) found (0,0,0)
/dev/sdc8		155+	156-	  1-	  3072   58  Unknown
		start: (c,h,s) expected (155,116,37) found (0,0,0)
		end: (c,h,s) expected (156,93,42) found (0,0,0)
/dev/sdc9		173+	175-	  2-	  7000   50  OnTrack DM
		start: (c,h,s) expected (173,34,41) found (0,0,0)
		end: (c,h,s) expected (175,16,28) found (0,0,0)
/dev/sdc10	   190+	191-	  1-	  3072   4a  Unknown
		start: (c,h,s) expected (190,74,45) found (0,0,0)
		end: (c,h,s) expected (191,51,50) found (0,0,0)
/dev/sdc11	   207+	208-	  1-	  3072   4b  Unknown
		start: (c,h,s) expected (207,114,49) found (0,0,0)
		end: (c,h,s) expected (208,91,54) found (0,0,0)
/dev/sdc12	   225+	284-	 60-	225280   83  Linux
		start: (c,h,s) expected (225,32,53) found (0,0,0)
		end: (c,h,s) expected (284,101,58) found (0,0,0)

can be fixed??

also could somebody, boot in boot loader mode, connect the ideos to a pc running linux, type
sudo sfdisk -l /dev/sdc


and post here the similar table it will result? thnx


Perhaps the official-partition.zip really wrong, I will test that

i upload a partition file,you could replace the partition file to official-partition.zip,then flash three times.
Attached File  partition.zip   243bytes   199 downloads

  • 0

#15
papatsonis

papatsonis

    Newbie

  • Members
  • Pip
  • 16 posts

Perhaps the official-partition.zip really wrong, I will test that

i upload a partition file,you could replace the partition file to official-partition.zip,then flash three times.
Attached File  partition.zip   243bytes   199 downloads


thanks for the reply, but it was a bit late ;), i bricked completely the phone i think, using some programs in linux. I'll try to contact the local retailer i bought, to see if it can get RMAed.

  • 0

#16
misterplod

misterplod

    Newbie

  • Members
  • Pip
  • 3 posts

Perhaps the official-partition.zip really wrong, I will test that

i upload a partition file,you could replace the partition file to official-partition.zip,then flash three times.
Attached File  partition.zip   243bytes   199 downloads


This worked great! All my partitions seem to be back to normal again, and restoring the stock rom worked perfectly. Thanks! :P

Edit: Using this has changed a few things. The internal SD card is now labled 'U8800-MMC'? (had no label prior). Custom rom installation no longer works from B135 or B136. Perhaps there are still problems with this partition table? Either way, stock works for now at least ;)

Edited by misterplod, 15 June 2011 - 05:31 AM.

  • 0

#17
foten21

foten21

    Newbie

  • Members
  • Pip
  • 17 posts
  • Gender:Male
  • Location:Greece
i really need help
i tried to get back to the oficial partition with the provided .zip
and reflash the rom and now i have a blue screen
tried to boot in recovery and again blue screen


i boot into bootloader mode
connect phone and windows detects only one disk
with a partition manager i can see that the pgone memory now has many partitions

Posted Image

HELPPPPPPPPPPPPPPPPPPPPPPPP

  • 0

#18
snaker1

snaker1

    Newbie

  • Members
  • Pip
  • 20 posts
Did you replaced the partition file inside the official_partition.zip or you used directly the partition.zip file?

  • 0

#19
Dr_Ash

Dr_Ash

    Regular

  • Members
  • PipPip
  • 89 posts
  • Devices:HTC Desire, HUAWEI U8800
has anyone successfully re-flashed the stock (unrooted) B136 ROM after using this mod? I have the B160 at the moment and am thinking about going back to B136 - don't want to brick my phone!

Will it work if I leave the partitions as they now are and re-flash the ROM?

Andy

  • 0

#20
foten21

foten21

    Newbie

  • Members
  • Pip
  • 17 posts
  • Gender:Male
  • Location:Greece

Did you replaced the partition file inside the official_partition.zip or you used directly the partition.zip file?


i replaced the file

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users