Monday, August 24, 2015

Huawei Ascend G510 u8951 - Unlock Bootloader + Root + Custom ROM

Huawei Ascend G510 u8951 - Unlock Bootloader + Root + Custom ROM

1.  Unlock Bootloader.
Download DC Unlocker from https://www.amazon.com/clouddrive/share/1xfmjvhbfYgh1vYbpDLYiDGbsPEUGW7VThFqgve4IUL

Boot into Recovery Mode by turning off the G510 and press and hold Volume Down + Volume Up + Power until the screen turns purple.  Connect the phone to the computer via USB cable and let the drivers install (if they aren't already installed).

Open DC-Unlocker program and under “Select manufacturer” field, choose “Huawei Phones” and under “Select model” field choose “Auto Detect” and click the search button.



It will take few seconds and then DC-Unlocker will display the bootloader unlock code




Write down or copy paste this 16 digit unlock code somewhere so it can be used in the next steps. Close the DC-Unlocker program. Now we have obtained the bootloader unlock code.

Now download the ADB and Faststart shell from https://www.amazon.com/clouddrive/share/5D4oTTxd0xIBJNN9deIQKxbgdESkKK41FX5Zz6ZEA5H

Install the ADB Toolkit on the default location and open command prompt of your windows computer. Make sure your phone is still connected to the computer.

Type 

adb-toolkit\bin\files\fastboot devices

in the command prompt and hit enter. If it displays an result like the below screenshot, your G510 is successfully connected to the computer.




Then type the below command to unlock the bootloader. Replace xxxx with the 16 digit unlock code that you obtained before


fastboot oem unlock xxxx
 



If you receive a result like above, your Ascend Y300 bootloader is successfully unlocked. You can verify it by using

fastboot oem get-bootinfo
 
 
 
Restart the phone and let it boot normally and disconnect the phone from the computer.
 
2.  Root G510
Download Root package from https://www.amazon.com/clouddrive/share/X9q8jxp8cGch4Xvri9MeBDzRoHXzECLWJxVmf5WAPWR

Then extract the files to the desktop and connect the phone to the computer.

Copy the update.app file to the dload folder on the phone's internal storage.

Disconnect the phone from the computer and power the phone off.

Start the phone into Recovery Mode with a press and hold of Volume Down + Volume Up + Power until you get a purple screen.

The file will automatically flash.

Once the file is flashed, reboot the phone and disconnect the phone from the computer.

Let the phone boot normally, then connect the phone to the computer.  Once the phone has booted, run the file rootx_start.bat from the extracted files on the computer.  The file will start rooting the phone and take a few minutes to finish.  The command prompt will show the status and once complete, reboot the phone and disconnect the phone from the computer.

The phone is now rooted.

3. Install TWRP
Download the TWRP from https://www.amazon.com/clouddrive/share/INzTZPVtSk6arqOSgRWKAcN1T4MxOc3gCwXYxmUbqrz

Download the SuperSU from https://www.amazon.com/clouddrive/share/tEzsZXluK0KAzYFN3BwfiJi2jXc82ya2DyX5hEIfav5


Extract files from the zip file to a local folder and turn the phone off.

Boot the phone into Fastboot Mode by press and hold Volume Down + Power until the phone is booted to a white screen.

Plug the phone into the computer, then run the file Install-Windows.bat from the extracted folder on the computer.

Recovery will begin flashing on the phone and should take a few minutes to finish.  

Once the recovery has been flashed, restart the phone and disconnect the phone from the computer.

Shut off power to the phone, the start in Recovery Mode by press and holding Volume Down + Volume Up + Power.  

Once in TWRP, flash SuperSU.zip, then restart phone.

4. Flash Custom ROM
SlimKat is incredibly stable and functional for the G510.  I have had the most luck with Android KitKat 4.4.4.build.9.0.20141229.  Grab the ROM file from https://www.amazon.com/clouddrive/share/EXeKsY1QzL0JSVNRHLYrtzMRDT5XLIjAJ0x2dYT7VfN

I have had too many items not working in the 5.1.1 SlimLP, so I stick with KitKat.


Copy both files into the /storage/sdcard0 directory of the phone.  Once complete, turn off the phone.

Boot into TWRP Recovery by press and holding Volume Down + Power until the recovery screen shows up.  

First, do a factory wipe.  This includes System, Dalvik, and Cache.  Don't wipe Data as that is where the ROM and GApps files are stored.

Select Install, then select the ROM file.  Select Install and slide to confirm.  The install will take a few minutes.  Then wipe Cache.  Select to install another file, then select the GApps file.  Select Install and slide to confirm again.  The install will take a few minutes.  Then wipe Cache again and select Reboot.



References:
http://huaweinews.com/2014/01/root-huawei-g510/
http://huaweinews.com/2013/11/unlock-ascend-y300-bootloader/
http://forum.xda-developers.com/showthread.php?t=2407483
http://theunlockr.com/2013/07/30/how-to-flash-a-custom-recovery-on-the-huawei-ascend-g510/
http://teamw.in/project/twrp2/170/

2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
    Replies
    1. Links have been updated and picture source has been refreshed. This is the method I have used to root + flash many of these phones and I have never had an issue using the tools I have linked.

      Delete