Jump to content


Photo

custom you data partition's size

* * * * * 2 votes

  • Please log in to reply
56 replies to this topic

#41
That-Guy

That-Guy

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,113 posts

But I can see 2 files to download.
The 1st one is the rar archive that contains the custpartition.bat and we should run it before flashing that second file. Is that it????

How do we run it?


Flash the zip file in Clockwork listed on the first page as "return-to-stock partition solution upgrade package"

Instructions are on the first page too!

  • 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


#42
kaska_pt

kaska_pt

    Regular

  • Members
  • PipPip
  • 68 posts
  • Gender:Male
  • Location:Lisboa/Alverca
  • Devices:Htc One X / Huawei Ideos X5
  • Twitter:@ncasquinha
Hello guys!So in order to return the partitions to stock which file should I use? I'm a bit confused here...
tks

  • 0
Current devices:
HTC One X / Huawei Ideos X5

My previous devices:
Nexus S/Htc Desire/ZTE Blade/Htc Legend/Hero/Tytn;Qtek 9100/9090;Nokia 5800XM/N82/6680/6630/6600/3330/3210;Panasonic GD50;Alcatel One Touch Easy

#43
Jetba

Jetba

    Regular

  • Members
  • PipPip
  • 103 posts
  • Gender:Male
  • Devices:Huawei U8800 Ideos X5

Hello guys!So in order to return the partitions to stock which file should I use? I'm a bit confused here...
tks


This one:

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

  • 0

#44
kaska_pt

kaska_pt

    Regular

  • Members
  • PipPip
  • 68 posts
  • Gender:Male
  • Location:Lisboa/Alverca
  • Devices:Htc One X / Huawei Ideos X5
  • Twitter:@ncasquinha

This one:

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


thank you for taking the time to answer :)

Since the replies weren't coming and it was my girlfriends phone, I figured out another method... I was in doubt of the correct partition file to use, so I've executed the custom partition utility from Genokolar and when it asked for the data size, I've written the default stock size of 600mb for the data, therefore it sent the remaining 2gb where they were supposed to go :)

On another point and due to the partitioning subject, I've USB bricked my phone 2 times in 2 different ways lol, the solution was always to flash the official 2.3.5 rom from an external memory card WITHOUT the battery !
In the second time the usb brick, wouldn't let me mount the /emmc(internal 2gb card and /sdcard(external card) in clockwork mod, so like you can figure it out, there was no way to flash whatever the hell it was...the solution was the same!

"vol_up + vol_dw + power" + external memory card with the official 2.3.5 rom on it

regards

  • 0
Current devices:
HTC One X / Huawei Ideos X5

My previous devices:
Nexus S/Htc Desire/ZTE Blade/Htc Legend/Hero/Tytn;Qtek 9100/9090;Nokia 5800XM/N82/6680/6630/6600/3330/3210;Panasonic GD50;Alcatel One Touch Easy

#45
DHLS

DHLS

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:Huawei U8800
Hello.

I have a few questions: can you help?

1) When I followed the instructions in your post, I got this message (I think that "Flash" is the same thing as "apply update" - is this right?):
E:signature verification failed
Installation aborted

I'm guessing that this process requires me to root my phone first - or am I missing a different detail?

2) The instructions said that I should reboot into recovery after flashing, but don't see this option - I can only reboot, and then use
adb reboot recovery
to go back to recovery mode - is that normal?

3) The custpartition.bat script asks "Please type your want size of the partition DATA". Am I giving the size of the "Internal SD Card" (which I can put files on) or the size of the part used for "Internal storage" (which holds my apps etc.)?

Thank you for spending the time to create this utility, and helping others to use it.

Best regards,
Damian

  • 0

#46
PJ77

PJ77

    Regular

  • Members
  • PipPip
  • 74 posts
  • Gender:Male
  • Location:Portugal
  • Devices:Huawei Ideos X5 (U8800)
something that I don't think no one as ever said.
If you play with your phone partitions, your will have 90% probabilities of losing IMEI when changing between stock roms, 2.2 to 2.3 or 2.3 to 2.2.
In the miidle of and upgrade or downgrade you will eventually corrupt your IMEI and belive me, without the IMEI you problems with your phone are just in the begining.

I DO NOT ADVISE ANYONE TO PLAY WITH YOUR PHONE PARTITIONS.
Speaking by own experience!

  • 0

#47
Daniel Santos

Daniel Santos

    Newbie

  • Members
  • Pip
  • 5 posts
Hi,

Can you make this work on a G300 (8815)?

I've googled a lot and did't find anything like this, a used on my u8800 and it was perfect =)

Thanks ina advance =)

Dany

  • 0

#48
Cursed Chico

Cursed Chico

    Regular

  • Members
  • PipPip
  • 53 posts
Please help. I did these steps and finally i made to reboot and i made a lot of rebooting after it, now it shows the screen of ideos and cant load the phone. PLease help me.

And i tried to make volume up + power, but still cant go into cwm mode.

  • 0

#49
Cursed Chico

Cursed Chico

    Regular

  • Members
  • PipPip
  • 53 posts
Anybody will hep? I am in tragic situation :(

  • 0

#50
Said75

Said75

    Newbie

  • Members
  • Pip
  • 1 posts
Hello.
At me a problem with Huawei u8800 ideos x5. I can not stitch. Recovery and pink screen work. The mistake At restoration Backup gives out a mistake E:format_volume: make_extf4fs failed on /dev/block/mmcblk0p13. The mistake has taken place from restoration of the size on official.
Help please.
Excuse for mistakes.

  • 0

#51
PJ77

PJ77

    Regular

  • Members
  • PipPip
  • 74 posts
  • Gender:Male
  • Location:Portugal
  • Devices:Huawei Ideos X5 (U8800)
Playing with partitions it's playing with fire.
For example my device won't revert up official partitions anymore. Honestly can't understand why

  • 0

#52
regn

regn

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:g330
Dear Geno.Kolar

i try to adapt this script to the g330 (U8825-1), so i like to understand it completely. You are great in EDIFY!

will update-binary also run on 8825?

then, in you description, you run this tool two times. when i check the script backup, it seems have to run 3 times (actually, at 3runisok it will set 4runisok at once, so tar -x is running).

third, why dont you save /olddata completely, but just 6 dirs and 2 files?

has updater-script run also two times - when I run this tool two times? it seems to do everything in one run!
finally , have we to remove the "U8800-MMC" in mkfs.vfat ?

regards
P.S:. which fdisk program do you use (or which busybox) when i played with my fdisk, i get strange messages:
(p18 is data, p19 is "sdcard")

Disk /dev/block/mmcblk0: 3909 MB, 3909091328 bytes
1 heads, 16 sectors/track, 477184 cylinders
Units = cylinders of 16 * 512 = 8192 bytes

			  Device Boot	  Start		 End	  Blocks  Id System
/dev/block/mmcblk0p1   *		   1		   3		  20  4d Unknown
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2			   3		  41		 300  45 Unknown
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3			  41	   16681	  133120   c Win95 FAT32 (LBA)
Partition 3 does not end on cylinder boundary
/dev/block/mmcblk0p4		   16681	  477184	 3684031+  5 Extended
Partition 4 does not end on cylinder boundary
/dev/block/mmcblk0p5		   16897	   18432	   12288  6a Unknown
/dev/block/mmcblk0p6		   18433	   18944	    4096  46 Unknown
/dev/block/mmcblk0p7		   18945	   19456	    4096  63 GNU HURD or SysV
/dev/block/mmcblk0p8		   19457	   19840	    3072  58 Unknown
/dev/block/mmcblk0p9		   19969	   20352	    3072  4a Unknown
/dev/block/mmcblk0p10		  20481	   20864	    3072  4b Unknown
/dev/block/mmcblk0p11		  20993	   21504	    4096  47 Unknown
/dev/block/mmcblk0p12		  21505	   22528	    8192  48 Unknown
/dev/block/mmcblk0p13		  22529	   25088	   20480  60 Unknown
/dev/block/mmcblk0p14		  25089	   25600	    4096  6c Unknown
/dev/block/mmcblk0p15		  25601	   50176	  196608  83 Linux
/dev/block/mmcblk0p16		  50177	   60416	   81920  83 Linux
/dev/block/mmcblk0p17		  60417	  125952	  524288  83 Linux
/dev/block/mmcblk0p18		 125953	  207872	  655360  83 Linux
/dev/block/mmcblk0p19		 207873	  477184	 2154496  6b Unknown

expert mode:
...
10 00   0   0    0   0   0    0	  60794	   6144 4b
11 00   0   0    0   0   0    0	  68985	   8192 47
12 00   0   0    0   0   0    0	  77176	  16384 48
13 00   0   0    0   0   0    0	  93559	  40960 60
14 00   0   0    0   0   0    0	 134518	   8192 6c
15 00   0   0    0   0   0    0	 142709	 393216 83
16 00   0   0    0   0   0    0	 535924	 163840 83
17 00   0   0    0   0   0    0	 699763    1048576 83
18 00   0   0    0   0   0    0    1748338    1310720 83
19 00   0   0    0   0   0    0    3059057    4308992 6b   

so i tried:

Command (m for help): d
Partition number (1-19): 19

Command (m for help): d
Partition number (1-18): 18

Command (m for help): p

Disk /dev/block/mmcblk0: 3909 MB, 3909091328 bytes
1 heads, 16 sectors/track, 477184 cylinders											    
Units = cylinders of 16 * 512 = 8192 bytes

			  Device Boot	  Start		 End	  Blocks  Id System
/dev/block/mmcblk0p1   *		   1		   3		  20  4d Unknown
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2			   3		  41		 300  45 Unknown
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3			  41	   16681	  133120   c Win95 FAT32 (LBA)
Partition 3 does not end on cylinder boundary
/dev/block/mmcblk0p4		   16681	  477184	 3684031+  5 Extended
Partition 4 does not end on cylinder boundary
/dev/block/mmcblk0p5		   16897	   18432	   12288  6a Unknown
/dev/block/mmcblk0p6		   18433	   18944	    4096  46 Unknown
/dev/block/mmcblk0p7		   18945	   19456	    4096  63 GNU HURD or SysV
/dev/block/mmcblk0p8		   19457	   19840	    3072  58 Unknown
/dev/block/mmcblk0p9		   19969	   20352	    3072  4a Unknown
/dev/block/mmcblk0p10		  20481	   20864	    3072  4b Unknown
/dev/block/mmcblk0p11		  20993	   21504	    4096  47 Unknown
/dev/block/mmcblk0p12		  21505	   22528	    8192  48 Unknown
/dev/block/mmcblk0p13		  22529	   25088	   20480  60 Unknown
/dev/block/mmcblk0p14		  25089	   25600	    4096  6c Unknown
/dev/block/mmcblk0p15		  25601	   50176	  196608  83 Linux
/dev/block/mmcblk0p16		  50177	   60416	   81920  83 Linux
/dev/block/mmcblk0p17		  60417	  125952	  524288  83 Linux

Command (m for help): n
First cylinder (16682-477184, default 16682): 125953
Sector 2015232 is already allocated
First cylinder (125954-477184, default 125954): 125953
Value is out of range
First cylinder (125954-477184, default 125954): 125953
Value is out of range
First cylinder (125954-477184, default 125954):

so I could not recreate part18 with same starting offset - i would loose data.

Edited by regn, 07 July 2013 - 08:06 PM.

  • 0

#53
samjam

samjam

    Addict

  • Members
  • PipPipPipPipPip
  • 557 posts
I just busted my phone...

I had done a restore to original MFG, then the upgrade to latest MFG, then the proper unlock code form huawei, then clockword mod.

Then I ran the update zip for the first step to resize partition and chose reboot recovery; only instead of restarting clockwordmod it tried to run the update.app from dload folder. I had skipped th install bootloader step as my bootloader was unlocked but now I think I must have needed that step.

And now, after my custom splash screen, I just get a blue screen unless there is a dload folder but that always fails.

I've tried all the varioud dload folders I have, ics, gb, hack; but all the system will do is unpack and then fail on step 2.

I can't re-install clockwork cos fastboot isn't working. I only get blue screen or update attempt.

When on the blue screen windows recognizes the device as an
* android modem
* DB Adaptor reserved interface
* Composite USB device

As my custom bootscreen loads, any tips on what I can do to recover?

Edited by samjam, 02 September 2013 - 06:18 AM.

  • 0

#54
samjam

samjam

    Addict

  • Members
  • PipPipPipPipPip
  • 557 posts
I think I am lost.

My error was not making sure I could get CWM booted from direct power on, instead I booted from ROM Manager.

Now unless I can find an update.app that will actually update there is nothing I can do.

I understand that these must be signed so I can't make a custom one.

Even +/- power without the battery just leaves me on a pink screen

I tried putty on the COM7 that gets created under windows, but putty just bleeps at me and refuses to open the console.

Time for a new phone I think - the power button was dodgy anyway.

  • 0

#55
samjam

samjam

    Addict

  • Members
  • PipPipPipPipPip
  • 557 posts
I got a Samsung SIII mini for £170 from Argos

  • 0

#56
spnk

spnk

    Newbie

  • Members
  • Pip
  • 2 posts
  • Devices:Huawei Ascend G615

Is there any possible way to make a similar tool for the U9508 model?
I found the partition table, but don't have the skills to write this tool.
http://huaweiascendg...artition-table/


  • 0

#57
phil2sat

phil2sat

    Newbie

  • Members
  • Pip
  • 24 posts
  • Gender:Male
  • Location:Gernany
  • Devices:S4 VE GT-I9515 / jfvelte

Dear Geno.Kolar

i try to adapt this script to the g330 (U8825-1), so i like to understand it completely. You are great in EDIFY!

will update-binary also run on 8825?

then, in you description, you run this tool two times. when i check the script backup, it seems have to run 3 times (actually, at 3runisok it will set 4runisok at once, so tar -x is running).

third, why dont you save /olddata completely, but just 6 dirs and 2 files?

has updater-script run also two times - when I run this tool two times? it seems to do everything in one run!
finally , have we to remove the "U8800-MMC" in mkfs.vfat ?

regards
P.S:. which fdisk program do you use (or which busybox) when i played with my fdisk, i get strange messages:
(p18 is data, p19 is "sdcard")

Disk /dev/block/mmcblk0: 3909 MB, 3909091328 bytes
1 heads, 16 sectors/track, 477184 cylinders
Units = cylinders of 16 * 512 = 8192 bytes

			  Device Boot	  Start		 End	  Blocks  Id System
/dev/block/mmcblk0p1   *		   1		   3		  20  4d Unknown
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2			   3		  41		 300  45 Unknown
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3			  41	   16681	  133120   c Win95 FAT32 (LBA)
Partition 3 does not end on cylinder boundary
/dev/block/mmcblk0p4		   16681	  477184	 3684031+  5 Extended
Partition 4 does not end on cylinder boundary
/dev/block/mmcblk0p5		   16897	   18432	   12288  6a Unknown
/dev/block/mmcblk0p6		   18433	   18944	    4096  46 Unknown
/dev/block/mmcblk0p7		   18945	   19456	    4096  63 GNU HURD or SysV
/dev/block/mmcblk0p8		   19457	   19840	    3072  58 Unknown
/dev/block/mmcblk0p9		   19969	   20352	    3072  4a Unknown
/dev/block/mmcblk0p10		  20481	   20864	    3072  4b Unknown
/dev/block/mmcblk0p11		  20993	   21504	    4096  47 Unknown
/dev/block/mmcblk0p12		  21505	   22528	    8192  48 Unknown
/dev/block/mmcblk0p13		  22529	   25088	   20480  60 Unknown
/dev/block/mmcblk0p14		  25089	   25600	    4096  6c Unknown
/dev/block/mmcblk0p15		  25601	   50176	  196608  83 Linux
/dev/block/mmcblk0p16		  50177	   60416	   81920  83 Linux
/dev/block/mmcblk0p17		  60417	  125952	  524288  83 Linux
/dev/block/mmcblk0p18		 125953	  207872	  655360  83 Linux
/dev/block/mmcblk0p19		 207873	  477184	 2154496  6b Unknown

expert mode:
...
10 00   0   0    0   0   0    0	  60794	   6144 4b
11 00   0   0    0   0   0    0	  68985	   8192 47
12 00   0   0    0   0   0    0	  77176	  16384 48
13 00   0   0    0   0   0    0	  93559	  40960 60
14 00   0   0    0   0   0    0	 134518	   8192 6c
15 00   0   0    0   0   0    0	 142709	 393216 83
16 00   0   0    0   0   0    0	 535924	 163840 83
17 00   0   0    0   0   0    0	 699763    1048576 83
18 00   0   0    0   0   0    0    1748338    1310720 83
19 00   0   0    0   0   0    0    3059057    4308992 6b   

so i tried:

Command (m for help): d
Partition number (1-19): 19

Command (m for help): d
Partition number (1-18): 18

Command (m for help): p

Disk /dev/block/mmcblk0: 3909 MB, 3909091328 bytes
1 heads, 16 sectors/track, 477184 cylinders											    
Units = cylinders of 16 * 512 = 8192 bytes

			  Device Boot	  Start		 End	  Blocks  Id System
/dev/block/mmcblk0p1   *		   1		   3		  20  4d Unknown
Partition 1 does not end on cylinder boundary
/dev/block/mmcblk0p2			   3		  41		 300  45 Unknown
Partition 2 does not end on cylinder boundary
/dev/block/mmcblk0p3			  41	   16681	  133120   c Win95 FAT32 (LBA)
Partition 3 does not end on cylinder boundary
/dev/block/mmcblk0p4		   16681	  477184	 3684031+  5 Extended
Partition 4 does not end on cylinder boundary
/dev/block/mmcblk0p5		   16897	   18432	   12288  6a Unknown
/dev/block/mmcblk0p6		   18433	   18944	    4096  46 Unknown
/dev/block/mmcblk0p7		   18945	   19456	    4096  63 GNU HURD or SysV
/dev/block/mmcblk0p8		   19457	   19840	    3072  58 Unknown
/dev/block/mmcblk0p9		   19969	   20352	    3072  4a Unknown
/dev/block/mmcblk0p10		  20481	   20864	    3072  4b Unknown
/dev/block/mmcblk0p11		  20993	   21504	    4096  47 Unknown
/dev/block/mmcblk0p12		  21505	   22528	    8192  48 Unknown
/dev/block/mmcblk0p13		  22529	   25088	   20480  60 Unknown
/dev/block/mmcblk0p14		  25089	   25600	    4096  6c Unknown
/dev/block/mmcblk0p15		  25601	   50176	  196608  83 Linux
/dev/block/mmcblk0p16		  50177	   60416	   81920  83 Linux
/dev/block/mmcblk0p17		  60417	  125952	  524288  83 Linux

Command (m for help): n
First cylinder (16682-477184, default 16682): 125953
Sector 2015232 is already allocated
First cylinder (125954-477184, default 125954): 125953
Value is out of range
First cylinder (125954-477184, default 125954): 125953
Value is out of range
First cylinder (125954-477184, default 125954):

so I could not recreate part18 with same starting offset - i would loose data.


Try fdisk -H64 -S32 /dev/block/mmcblk0

I have successfully changed partition 16-19 on my u8825-1

TWRP works without any restrictions

For people who loose pattition table like me as i used fdisk without offset.

Go to twrp terminal command

echo -e "n\nxxxx\n+xxxxK\nw" | fdisk -H64 -S32 /dev/block/mmcblk0

This will add next free partition
eg you have deleted 19 and 18
this will create 18
where xxxx is first block
and xxxxK or xxxxM or xxxxG is size of partition in kb/mb/gb

If you add partition 19 internal sd you have to toggle filesysten to 6b

echo -e "n\nxxxx\n+xxxxK\nt\n19\n6b\nw" | fdisk -H64 -S32 /dev/block/mmcblk0

Alternative you can skip size cause 19 is last partition with test of space using default value

echo -e "n\nxxxx\n\nt\n19\n6b\nw" | fdisk -H64 -S32 /dev/block/mmcblk0

Hope you understand syntax and this will help

Spend the whole night to unbrick my device

phil2sat

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users