Guest PJ77 Posted February 8, 2013 Report Posted February 8, 2013 Playing with partitions it's playing with fire. For example my device won't revert up official partitions anymore. Honestly can't understand why
Guest regn Posted July 3, 2013 Report Posted July 3, 2013 (edited) 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 July 7, 2013 by regn
Guest samjam Posted September 1, 2013 Report Posted September 1, 2013 (edited) 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 September 2, 2013 by samjam
Guest samjam Posted September 2, 2013 Report Posted September 2, 2013 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.
Guest samjam Posted September 4, 2013 Report Posted September 4, 2013 I got a Samsung SIII mini for £170 from Argos
Guest spnk Posted June 9, 2014 Report Posted June 9, 2014 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://huaweiascendg615.com/2013/05/19/partition-table/
Guest phil2sat Posted October 12, 2014 Report Posted October 12, 2014 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
Guest younio Posted December 30, 2015 Report Posted December 30, 2015 (edited) I can confirm this works also for Huawei g300 u8815. Very useful tool. I made 1.8GB data partition an can now fully utilize this phone once again. NOTE: I use stock ICS rom. I flashed the tool via the cwm and after that the rom reinstalled itself again without any issues. Thank you for creating this! Edited December 30, 2015 by younio
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now