Jump to content

Re-partition / Stock Partition Tool

Guest spnk

Recommended Posts

Hi guys!
I've got a bit of a nasty situation here. I think I have completely bricked my G615. Although people say it's impossible, at this stage I actually think it is.
Hoping it will help, I'm going to tell you the whole story (short version). I was running my phone on a XIUI ROM, but because it had a lot of bugs I wanted to try out the CyanogenMOD. In order to do this I had to unlock the bootloader and replace the Chinese Recovery with a CWM or a TWRP. Phone was already rooted.
Tried different methods and tools, but still couldn't unlock it. In the end, I accidentally ran the unlock tool for Huawei Ascend Mate and after the reboot it got stuck at the logo.
I'm not going to list everything I've tried to fix it, and believe me I've tried every existing way out there! But after a week of constant tries and fails I came to the conclusion that I messed up the internal memory partition table. Whenever trying to do anything in recovery mode (wiping, flashing, updating, etc.) I'm getting this error: E:failed to mount /data (invalid argument).
The only thing I managed to do is get the stock recovery running and that's it. adb doesn't list my device in any mode, whether it's fastboot, recovery or just boot screen. Sometimes (can't still understand when) it lists it as "K". No serial number, no nothing.
I've also tried two service centers and they said they couldn't do anything, but I think they were too lazy.
So, I was wondering if you could help me out with a solution for my problem.
I have found this tool for the U8800 model, here on MoDaCo: http://www.modaco.com/topic/341374-custom-you-data-partitions-size/
It automatically re-partitions / restores the original partition, but it's only good for that model.
I've also found the partition table for the U9508:
Plus this tool for partition detection:
And I was wondering if these 3 combined could create a similar tool for re-partitioning or flashing the original partition on the U9580.
Now, I don't have the proper knowledge to do this, but you guys seem to know a lot more about it, that's why I wanted to ask you if you could help create such a tool. It seems to me you just have to change the U8800 values with the ones for the U9580 model, but I'm pretty sure there's more than that.
I really hope I'll get any answer from you, even if it would be a negative one. But If that tool would be possible to make, it would be a miracle for me!
Thank you in advance!
P.S. Geno.Kolar seems to be offline for a long time, so I don't think there's reason in contacting him.
Link to comment
Share on other sites

  • 3 months later...

Download any (not 804 cause it dont have boot.img) stock rom.

Download from xda huawei update extractor and extract img files from the update.

Turn off the phone, then press vol- and power key, you are in fastboot mode.

Then, flash img files from extracted rom with:

Fastboot flash system SYSTEM.IMG

fastboot flash boot BOOT.IMG

And do the same with the others...

When you finish, fastboot reboot

Then start again, flash recovery, unlock, flash twrp and flash cyanogenmod

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.