Post Reply

[PATCH] Get back your PINK screen!

OP Blefish

21st January 2012, 07:21 PM   |  #1  
Blefish's Avatar
OP Senior Member
Flag Paluküla, Hiiumaa
Thanks Meter: 1,889
 
791 posts
Join Date:Joined: Aug 2011
Donate to Me
More
In the newer official ROMs, Huawei included a "feature" to lock the bootloader and therefore, get less bricks. But happened the opposite - if your cust partition gets corrupted/deleted, you'll have a high change of bricking your device.

The new bootloader is not actually locked, it's changed to use QPST (Qualcomm Product & Support Tools). As it needs a code, we can't use it.

This method flashes the B518 bootloader straight to your phone, so you will get back USB.

Apply only if you have upgraded your phone to B522 or newer. You may have a custom ROM on top, but the base has to be B522 or newer.
Tested by myself on B522, B526 & B528.


The steps required to get back pink/blue screen USB:

Automatic flashable zip is pretty much fail proof, but I have warned you.
Automatic method (recommended):
  1. Download update-B518-bootloader.zip from MediaFire.
  2. Save it to the root of your SD Card.
  3. Start the phone in recovery mode (recommended recovery is 5.5.0.4)
  4. Select "install zip from sdcard"
  5. Select "chooze zip from sdcard"
  6. Select the zip you downloaded before.
  7. Select yes.
  8. Reboot and enjoy!
NB! Be careful when doing this manually, one wrong move and your phone might get bricked.
Manual method (not recommended):
  1. Download the bootloader.bin (B518) from MediaFire.
  2. Copy it to the root of your SD card.
  3. Use a Terminal Emulator if on phone or start ADB and write in "adb shell".
  4. Write in "su" to get root rights.
  5. Write in "dd if=/sdcard/bootloader.bin of=/dev/block/mmcblk0p3" to copy the bootloader.bin from SD card to the bootloader partition.
  6. All done!

Protip: When using Linux distribution, pink screen mounts your internal SD card, data, cache and system partitions. This happens because Windows does not mount extX partitions by default.

I suggest everyone to do this as long as you have rooted your phone and want to flash custom ROMs/kernels.
Now you can recreate your backups with this tutorial.

Special thanks to dancer_69, who sent me B518 bootloader.
Last edited by Blefish; 17th April 2013 at 03:48 PM. Reason: Change the title.
The Following 50 Users Say Thank You to Blefish For This Useful Post: [ View ]
21st January 2012, 07:37 PM   |  #2  
Senior Member
Flag Porvoo
Thanks Meter: 571
 
1,430 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Thank you. This is going to be useful.
Was this the more important thing than rom?
21st January 2012, 07:46 PM   |  #3  
Blefish's Avatar
OP Senior Member
Flag Paluküla, Hiiumaa
Thanks Meter: 1,889
 
791 posts
Join Date:Joined: Aug 2011
Donate to Me
More
Quote:
Originally Posted by julle131

Thank you. This is going to be useful.
Was this the more important thing than rom?

Nope

10chars
21st January 2012, 08:29 PM   |  #4  
demolition23's Avatar
Senior Member
Flag Oiniades
Thanks Meter: 75
 
553 posts
Join Date:Joined: Dec 2009
More
Thanks! I just test it and the trick works!
Blefish I think its better fit on Android Development
21st January 2012, 09:46 PM   |  #5  
O_G's Avatar
Senior Moderator - Life Can't Beat Me
Flag Glosta
Thanks Meter: 5,005
 
5,007 posts
Join Date:Joined: Jul 2007
More
As requested

moved to Development
21st January 2012, 10:40 PM   |  #6  
fjsferreira's Avatar
Senior Member
Flag Ponta Delgada
Thanks Meter: 1,121
 
2,039 posts
Join Date:Joined: Nov 2009
More
Used the zip file method... yes, pink screen supports usb again, but phone now boot-loops and I can't access recovery anymore. Will try to flash Stock Rom again :S ****! Will report if really bricked

EDIT: can't flash ROM anymore, and can't access recovery... I guess I'm pretty much screwed... can someone post the latest bootloader from huawei (the locked one)? I still don't know how i'm going to installed it since I can only access the pink screen and nothing more... It's really bricked isn't it?

---------- Post added at 12:40 AM ---------- Previous post was at 12:27 AM ----------

Also, my partition scheme is showing like this (I don't know how it was before). Is this normal?

http://i.imgur.com/Z3lhg.png
Last edited by fjsferreira; 21st January 2012 at 10:32 PM.
21st January 2012, 10:50 PM   |  #7  
Blefish's Avatar
OP Senior Member
Flag Paluküla, Hiiumaa
Thanks Meter: 1,889
 
791 posts
Join Date:Joined: Aug 2011
Donate to Me
More
Quote:
Originally Posted by fjsferreira

Used the zip file method... yes, pink screen supports usb again, but phone now boot-loops and I can't access recovery anymore. Will try to flash Stock Rom again :S ****! Will report if really bricked

EDIT: can't flash ROM anymore, and can't access recovery... I guess I'm pretty much screwed... can someone post the latest bootloader from huawei (the locked one)? I still don't know how i'm going to installed it since I can only access the pink screen and nothing more... It's really bricked isn't it?

---------- Post added at 12:40 AM ---------- Previous post was at 12:27 AM ----------

Also, my partition scheme is showing like this (I don't know how it was before). Is this normal?

http://i.imgur.com/Z3lhg.png

Its not bricked, relax. Someone else will help you, I can't help via phone.

What recovery did you flash it on? I tried it several times and it worked fine. But in your case, I believe the partitions got messed up, not sure how. And when you remove battery, reinsert it after 10 secs, then try to start recovery.

Sent from my U8800
21st January 2012, 10:58 PM   |  #8  
fjsferreira's Avatar
Senior Member
Flag Ponta Delgada
Thanks Meter: 1,121
 
2,039 posts
Join Date:Joined: Nov 2009
More
I've flashed with "official" 5.0.2.6... I know, I know, the firs post states 5.5.0.4, but i got dumb somehow... even worse, I have previously customized my partitions to have more internal space via one of those scripts that are available on the site, so maybe that was the problem.

At this point I'm installing stock rom via dload method.

It wouldn't install before, when dload folder was in the sdcard (Windows wouldn't mount phone's internal memory in pink mode, but luckily, ubuntu mounted the all the internal partitions correctly, so i copied the dload folder to the internal memory and is now in the installing phase... will report if that worked..

I guess I should have firs install recovery 5.5.0.4 in the pink screen and then try to access it, but my brain is all messed up at this moment...

bye bye, saturday night out with friends :S

EDIT: install of stock ROM (BTW, back to 2.2) completed, phone is restarting, lets see...

EDIT 1: formatting data... I guess it's working... lol
EDIT 2: new restart
EDIT 3: Successfully booted into ROM!!!
EDIT 3: In the process of installing and trying to access recovery
Last edited by fjsferreira; 21st January 2012 at 11:07 PM.
21st January 2012, 11:06 PM   |  #9  
Blefish's Avatar
OP Senior Member
Flag Paluküla, Hiiumaa
Thanks Meter: 1,889
 
791 posts
Join Date:Joined: Aug 2011
Donate to Me
More
I still don't understand the conflict. The partition table should be then fine, if you modified it before the flash. Did you have fast boot on?

I am happy you got it fixed

Sent from my U8800
Last edited by Blefish; 21st January 2012 at 11:08 PM.
21st January 2012, 11:12 PM   |  #10  
fjsferreira's Avatar
Senior Member
Flag Ponta Delgada
Thanks Meter: 1,121
 
2,039 posts
Join Date:Joined: Nov 2009
More
Quote:
Originally Posted by Blefish

I still don't understand the conflict. The partition table should be then fine, if you modified it before the flash. Did you have fast boot on?

I am happy you got it fixed

Sent from my U8800

No, It was off... Everything is fine now... uff, what a relief! Glad I was easier than I thought it would be ;D

EDIT: partition table seems to be fine in Ubuntu, I guess Windows or that particular partition program wasn't reporting partitions correctly...

Out with friends now
Last edited by fjsferreira; 21st January 2012 at 11:18 PM.

Post Reply Subscribe to Thread

Tags
pink screen usb mount b522
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes