GUIDE: Revive a Nexus 5 with defective Power Button - Nexus 5 Q&A, Help & Troubleshooting

Like many people have experienced, one day the power button on my Nexus 5 failed, and an endless cycle of bootloops began, rendering my device useless.
At this point, there are really only two options.
Option 1: Replace the power button. For me, this option is a bit beyond my soldering capabilities. And to be done properly, requires equipment (e.g., soldering stand with magnifier) that I don't have.
Option 2: Physically remove the offending power button (which at a minimum will allow the device to boot properly).
With an otherwise useless device and nothing to lose, I chose Option 2. Here are the steps I went through to put some more life into my Nexus 5.
Step 1: Remove the motherboard. There's a nice guide here: https://it.ifixit.com/Guide/Nexus+5+Motherboard+Replacement/64811
Step 2: Use a soldering iron to heat up and physically remove the defective power button from the motherboard.
Step 3: Reassemble the phone.
Step 4: Hold down the volume up and volume down buttons simultaneously while plugging the phone in. The phone should now boot into the bootloader screen.
Step 5: Plug the phone into a computer with adb/fastboot installed [see: https://developer.android.com/studio/releases/platform-tools.html], open Terminal, and type "fastboot reboot"; your phone should now boot your OS.
Step 5a: From here you can perform a factory reset if you simply want to remove all your data and sell your device (for parts) or recycle it.
Step 5b: If you want to make your device more or less usable, let's keep going!
Step 6: If you are lucky, your bootloader was already unlocked before your power button failed. If so, jump down to Step 15. Otherwise, if you are unlucky (like I was), you need to unlock the bootloader. But how to do this without a power button? Hmmm. The solution: a small piece of wire to "short" out the switch. [See: https://www.reddit.com/r/Nexus5/comments/3qp02o/possible_to_unlock_bootloader_without_power_button/]
Step 7: Enable ADB Debugging (under Developer Options) on your phone. If it's not already plugged in to your computer, plug it in.
Step 8: Open Terminal and type "adb reboot bootloader"
Step 9: In Terminal, type "fastboot flashing unlock" and use the Volume button to toggle to the "Yes" option.
Step 10: With everything powered, your phone connected to your computer, and "Yes" selected, remove the sim card tray, the back cover, and the midframe. Disconnect the front facing and rear facing cameras. Leave everything else connected.
Step 11: Carefully pry up the motherboard so you can access the power button solder pads and use the small bit of wire to "connect" the two pads. This should confirm the "Yes" option and unlock the bootloader.
Step 12: Carefully reassembled everything.
Step 13: With the phone still connected to your computer, type "fastboot reboot" in Terminal. Since you unlocked the bootloader your phone will be wiped during reboot and so the boot process will take a little longer than normal.
Step 14: Enable ADB Debugging. And then reboot into the bootloader.
Step 15: Install TWRP custom recovery. But without a power button, this is a little bit trickier than normal, since after flashing the recovery.img via fastboot you can't boot directly to recovery and thus your custom recovery will be overwritten by the stock recovery during the boot process. So...you need to use "fastboot boot recovery.img" to temporarily boot your custom recovery and from there you can properly install the custom recovery. Open a Terminal window in the folder containing your recovery image and type "fastboot boot yourrecovery.img" [in my case, I typed "fastboot boot twrp-3.2.1-1-hammerhead.img"].
Step 16: Once TWRP has loaded, you need to Install TWRP again within TWRP. Put your TWRP.img file into your phone's internal memory and then use the .img option in the Install menu to select and flash the TWRP.img you put into internal memory in to Recovery. TWRP should now officially be your phone's recovery.
Step 17: Reboot System via TWRP to ensure that all's well.
Step 18: If you didn't have a custom rom already installed before your power button failed, I recommend installing one, since there will likely be some additional functionality that will help mitigate the missing power button [like volume rocker wake]. I recommend OmniRom and that's what I installed.
Step 19: Flash SuperSU via TWRP.
Step 20: Reboot.
Step 21: Install a file explorer with root manager capability. I used ES File Explorer. You can find the .apk on apkmirror.com.
Step 22: Use your file explorer to edit /system/usr/keylayout/gpio-keys.kl and re-map power button to volume down by changing "key 114" from "VOLUME DOWN" to "POWER". Thanks @Fihlvein for this info!
Step 23: Reboot.
Step 24: Profit! Your Nexus 5 should be good to go!
NB: Unfortunately there's is still one annoyance to be dealt with: once you power off the phone there is still no way to turn the phone on without using the "fastboot reboot" method [Step 4] which means you need to have a computer nearby...which isn't always very handy. The solution is to keep your phone powered on and adequately charged.

Related

New clarified method for rooting the HTC Aria (for those who are having trouble)

Credit goes to eugene373 and attn1. These are mostly their instructions, but I did change, clarify, and add a few steps. If you can't get any of the other methods working, try this one.
Prerequisites...
Note: If you're in Linux, you only need to do Step 4, Step 6, and Step 7.
Step 0.
Download and install HTC Sync: http://www.htc.com/us/support/aria-att/downloads/
Step 1.
Download and unzip the Android SDK: http://developer.android.com/sdk/index.html
Step 2.
Go into the folder where you unzipped the Android SDK and open "SDK Setup.exe".
If you aren't greeted with a failed to fetch URL error, proceed to Step 3. If you did receive this error, go to Settings in the "Choose Packages to Install" window and check "Force https;//... sources to be fetched using http://..."
Close and re-open "SDK Setup.exe".
Step 3.
When the "Choose Packages to Install" window pops up, make sure the package "Usb Driver package, revision x" is checked. You can uncheck everything else. Click Install. After it downloads and installs, close "Android SDK and AVD Manager".
Step 4.
With your device unplugged from your computer, go to Settings > Application > Development on your device and turn on USB Debugging.
Step 5.
Now plug your device in to your computer. This is just to make sure the USB drivers are installed.
Once they are installed, unplug your device and turn it off.
Step 6.
This step is optional, but it may prevent an error later on in the process. If you've never formatted your SD card from a computer, remove it from the phone and format it in Windows or OSX with an external card reader. Then place the formatted card back in your phone, but leave the phone off.
Step 7.
Download the updated Root.zip from eugene373's guide: Root the Slide & Other HTC Devices*6/15/2010* How-To Updated 6/29/2010
Now let's get started...
Step 0.
Unzip Root.zip
Step 1.
Place the contents ("update.zip", "ota.zip", and "loop") into the Android SDK tools folder.
Step 2.
Open Command Prompt or Terminal and CD to the SDK tools directory.
Step 3.
Power on your device into the bootloader by holding the "Volume Down" key and simultaneously pressing Power.
Once you're in the bootloader, wait about 30 seconds until some diagnostic checking is done.
Press "Volume Down" to highlight Recovery, but do not push Power to execute just yet.
Step 4.
Now run your loop file from the prompt (either type "loop" in Windows or "./loop.sh" in Linux) (refer to ice3186's post for Mac instructions)
Note: The loop does nothing but show you the connection status of your phone. It's not technically required, but we'll use it in this guide.
Step 5.
Once the loop is running in your prompt, get ready to connect the phone to the computer with the USB cable, but don't connect one end quite yet. With Recovery still highlighted on your phone, you will need to push the Power button and then immediately plug in the other end of the USB cord.
Step 6.
After a few seconds, you should see your device listed in the loop.
Step 7.
Unplug the USB cable from the bottom of your phone and plug it back in. You probably don't need to do this, but let's be safe. Wait for your device to show up in the loop again. Hit CTRL-C to terminate the loop.
Step 8.
You should see a triangle/exclaimation over a phone graphic.
Hold the "Volume Up" key (note it's Volume UP this time) and simultaneously press Power.
After the menu comes up, use the volume and power buttons to select and run update.zip. (This will fail, but we already know that! Select it anyway.)
Step 9.
Paste the following command into your prompt and press Enter.
adb push ota.zip /sdcard/update.zip (*OSX users add a ./ in front of all terminal commands please)
Step 10.
This is very important!! Have this next command ready in your prompt before running update.zip again!!
This is the command. Paste it into your prompt, but DO NOT press Enter yet.
adb push update.zip /sdcard
Step 11.
Run update.zip and as soon as you see a faint progress bar appear behind the text at the bottom of the screen, push Enter to execute the command in your prompt.
Step 12.
If successful, you should see Clockwork Recovery and you now have Su and Superuser.apk installed! You can now reboot your phone into the OS to verify. If unsuccessful, repeat steps 11 and 12.
Step 13.
This step is optional, but it will save you the pain of going through all of these steps again in the future.
Unrevoked team: Recovery reflash tool (updated - Now for Aria/Liberty!)
I think some trouble shooting comments should be mentioned, so I'll just write a few things I noticed while rooting my device (for 7 frustration filled hours).
If you cannot see your device show up in 'adb devices' in recovery, boot into the OS normally and see if it shows up. If it does not, then it's a safe bet that you have one of two problems - you do not have all the drivers installed, or you do not have 'usb debugging' enabled. This can be enabled in 'settings->applications->development->usb debugging'. To avoid driver issues, it's highly recommended that you do this process in linux or osx.
If, on the other hand, your phone DOES show up in Android but not in recovery, or if it just blips on the screen for a second (when running the loop) as an offline device, then it might be the formatting of your sd card. Do NOT format your sd card from your phone or within Android. The ONLY time I managed to get the phone to show up in recovery without disappearing immediately was by removing the sd card, formatting it in windows or osx with an external card reader, copying the files over (new rom or rooting files), and then replacing it in the phone while the phone is off. After putting the card back in your phone, try the procedure again - go to the bootloader->hboot->recovery (while the cable is unplugged), then press the power button and immediately after plug the cable in (usually works when you plug the cable in about .2-.5 seconds later). If it does not show up at all, reboot the phone and try again, but do NOT let it boot back to Android. You can get back in to the bootloader by waiting until the 'HTC quietly brilliant' screen shows up and typing 'adb reboot bootloader' with the usb cable attached.
It took me a really long time to figure that out. I don't think the type of sd card matters so much as the formatting of it. I actually used the 2gb card that came with the phone, and it worked almost every single time after I reformatted the card.
Also, if you manage to get it working and root the phone, do yourself a huge favor and install the custom Unrevoked recovery image mentioned in the original rooting thread, so you never have to deal with this nonsense ever again.
Also also, if you get to the step where you do 'adb push ota.zip /sdcard/update.zip' and you get an error:0, installation aborted message, you did something wrong. The problem is that you aren't actually supposed to flash ota.zip. What you're supposed to do is push ota.zip to your phone as update.zip, and leave it there. Don't touch anything else. What you will do after that is type 'adb push update.zip /sdcard/update.zip' in the command prompt (WITHOUT hitting enter yet, just get ready to). You will then select 'sdcard:update.zip' and press power and IMMEDIATELY AFTER pressing power, you will press enter on the command prompt to execute your adb push command. What this does is causes recovery to read the ota.zip file you uploaded and recognize it as a legit update, but you replace it with update.zip before it actually gets extracted (if your timing is good). So recovery reads the signature of ota.zip, but actually extracts the stuff in update.zip and runs that instead.
Hope that helps with some common problems I observed. Good luck, dudes.
okay so I think I the only one using a Mac in this rooting process. A few things I have learned and may already be known but I thought I would clarify.
1.) to get a loop to run on the mac i had to re-write the file loop.bat
this is the code that works for me and how to do it.
a.) rename the file to end in .sh not .bat the way it came
b.) open the file with TextEdit
c.) delete all of the text in it and write this in there
Code:
while [ "0" ]
do
{
./adb devices
}
done
d.) save the file back in the sdk/tools folder
e.) in terminal the command once you cd to the folder is ./loop.sh
2.) i have yet to be successful in the attempt to root so anyone knowing anything to help would be appreciated! But i am still cracking i think i am going to wear out the plug before i am done though.
it should be pointed out that the loop does nothing except tell you if you have a connection or not. When you plug in the usb port, it will respond after a few seconds, or it won't. Try again.
gtg465x said:
Credit goes to eugene373 and attn1. These are mostly their instructions, but I did change, clarify, and add a few steps. If you can't get any of the other methods working, try this one.
Prerequisites...
Step 0.
Download and install HTC Sync: http://www.htc.com/us/support/aria-att/downloads/
Step 1.
Download and unzip the Android SDK: http://developer.android.com/sdk/index.html
Step 2.
Go into the folder where you unzipped the Android SDK and open "SDK Setup.exe"
When the "Choose Packages to Install" window pops up, make sure the package "Usb Driver package, revision x" is checked. You can uncheck everything else. Click Install. After it downloads and installs, close "Android SDK and AVD Manager".
Step 3.
With your device unplugged from your computer, go to Settings > Application > Development on your device and turn on USB Debugging.
Step 4.
Now plug your device in to your computer. This is just to make sure the USB drivers are installed.
Once they are installed, unplug your device and turn it off.
Step 5.
Download Root.zip from eugene373's guide: http://forum.xda-developers.com/showpost.php?p=6820344&postcount=1
Now let's get into it...
Step 0.
Unzip Root.zip
Step 1.
Place the contents ("update.zip", "ota.zip", and "loop") into the Android SDK tools folder.
Step 2.
Open Command Prompt or Terminal and CD to the SDK tools directory.
Step 3.
Power on your device into the bootloader by holding down the "Volume Down" key and simultaneously pressing Power.
Once you're in the bootloader, wait about 30 seconds, until some diagnostic checking is done.
Press "Volume Down" to highlight Recovery, but do not push Power to execute just yet.
Step 4.
Now run your loop file from the prompt (either type "loop" in Windows or "./loop.sh" in a *nix like) ( ./ Is used For OSX )
Step 5.
Once the loop is running in your prompt, get ready to connect the phone to the computer with the USB cable, but don't connect one end quite yet. With Recovery still highlighted on your phone, you will need to push the Power button and then immediately plug in the other end of the USB cord.
Step 6.
After a few seconds, you should see your device listed in the loop.
Step 7.
Unplug your USB cable from the bottom of your phone and plug it back in. You probably don't need to do this, but let's be safe. Wait for your device to show up in the loop again. Hit CTRL-C to terminate the loop.
Step 8.
You should see a triangle/exclaimation over a phone graphic.
Hold down the "Volume Up" key (note it's Volume UP this time) and simultaneously press Power.
After the menu comes up, use the volume and power buttons to select and run update.zip. (This will fail, but we already know that! Select it anyway.)
Step 9.
Paste the following command into your prompt and press Enter.
adb push ota.zip /sdcard/update.zip (*OSX users add a ./ in front of all terminal commands please.)
Step 11.
This is very important!! Have this next command ready in your prompt before running update.zip again!!
This is the command. Paste it into your prompt, but DO NOT press Enter yet.
adb push update.zip /sdcard
step 12.
Run update.zip and as soon as you see a faint progress bar appear behind the text at the bottom of the screen, push Enter to execute the command in your prompt.
Step 13.
If successful, you should see Clockwork Recovery and you now have Su & Superuser.apk installed! You can now reboot your phone into the OS to verify.
If unsuccessful, repeat steps 11 & 12.
Click to expand...
Click to collapse
This isn't complete - this just gets you to clockwork and you haven't installed anything yet. You need to add steps to add root acces or flash a rom that is rooted. Also, make sure to reference the unrevoked tool to install Clockwork after root so this whole ordeal can be avoided next time.
Yes! The secret was formatting the sd card outside of the phone. I am now rooted and liberated! Thanks for plugging along with all the advice guys!
modest_mandroid said:
I think some trouble shooting comments should be mentioned, so I'll just write a few things I noticed while rooting my device (for 7 frustration filled hours).
If you cannot see your device show up in 'adb devices' in recovery, boot into the OS normally and see if it shows up. If it does not, then it's a safe bet that you have one of two problems - you do not have all the drivers installed, or you do not have 'usb debugging' enabled. This can be enabled in 'settings->applications->development->usb debugging'. To avoid driver issues, it's highly recommended that you do this process in linux or osx.
If, on the other hand, your phone DOES show up in Android but not in recovery, or if it just blips on the screen for a second (when running the loop) as an offline device, then it might be the formatting of your sd card. Do NOT format your sd card from your phone or within Android. The ONLY time I managed to get the phone to show up in recovery without disappearing immediately was by removing the sd card, formatting it in windows or osx with an external card reader, copying the files over (new rom or rooting files), and then replacing it in the phone while the phone is off. After putting the card back in your phone, try the procedure again - go to the bootloader->hboot->recovery (while the cable is unplugged), then press the power button and immediately after plug the cable in (usually works when you plug the cable in about .2-.5 seconds later). If it does not show up at all, reboot the phone and try again, but do NOT let it boot back to Android. You can get back in to the bootloader by waiting until the 'HTC quietly brilliant' screen shows up and typing 'adb reboot bootloader' with the usb cable attached.
It took me a really long time to figure that out. I don't think the type of sd card matters so much as the formatting of it. I actually used the 2gb card that came with the phone, and it worked almost every single time after I reformatted the card.
Also, if you manage to get it working and root the phone, do yourself a huge favor and install the custom Unrevoked recovery image mentioned in the original rooting thread, so you never have to deal with this nonsense ever again.
Also also, if you get to the step where you do 'adb push ota.zip /sdcard/update.zip' and you get an error:0, installation aborted message, you did something wrong. The problem is that you aren't actually supposed to flash ota.zip. What you're supposed to do is push ota.zip to your phone as update.zip, and leave it there. Don't touch anything else. What you will do after that is type 'adb push update.zip /sdcard/update.zip' in the command prompt (WITHOUT hitting enter yet, just get ready to). You will then select 'sdcard:update.zip' and press power and IMMEDIATELY AFTER pressing power, you will press enter on the command prompt to execute your adb push command. What this does is causes recovery to read the ota.zip file you uploaded and recognize it as a legit update, but you replace it with update.zip before it actually gets extracted (if your timing is good). So recovery reads the signature of ota.zip, but actually extracts the stuff in update.zip and runs that instead.
Hope that helps with some common problems I observed. Good luck, dudes.
Click to expand...
Click to collapse
Really good tips. I hope you don't mind - I am going to link to this to my original thread.
Troubleshooting Tip on Prerequisite Step 2: If you're working behind a firewall, router, or proxy server, you're going to have to configure SDK Setup to use an open port on that device, in order to download updates.
I won't go through the exact steps here, but if SDK setup is hanging, this is the most likely culprit.
Regards,
Corporate Dog
Corporate Dog said:
Troubleshooting Tip on Prerequisite Step 2: If you're working behind a firewall, router, or proxy server, you're going to have to configure SDK Setup to use an open port on that device, in order to download updates.
I won't go through the exact steps here, but if SDK setup is hanging, this is the most likely culprit.
Regards,
Corporate Dog
Click to expand...
Click to collapse
get a copy of linux livecd and then you don't have to actually set up the SDK or worry about any drivers.
attn1 said:
This isn't complete - this just gets you to clockwork and you having installed anything yet. You need to add steps to root or flash a rom that is rooted. Also, make sure to reference the unrevoked tool to install Clockwork after root so this whole ordeal can be avoided next time.
Click to expand...
Click to collapse
If you made it to clockwork using this method then you're rooted. Check eugene's updated instructions. Look at the 6/29/2010 update on his original post... http://forum.xda-developers.com/showpost.php?p=6820344&postcount=1
I will add a reference to the unrevoked tool.
modest_mandroid said:
If, on the other hand, your phone DOES show up in Android but not in recovery, or if it just blips on the screen for a second (when running the loop) as an offline device, then it might be the formatting of your sd card. Do NOT format your sd card from your phone or within Android. The ONLY time I managed to get the phone to show up in recovery without disappearing immediately was by removing the sd card, formatting it in windows or osx with an external card reader, copying the files over (new rom or rooting files), and then replacing it in the phone while the phone is off. After putting the card back in your phone, try the procedure again - go to the bootloader->hboot->recovery (while the cable is unplugged), then press the power button and immediately after plug the cable in (usually works when you plug the cable in about .2-.5 seconds later). If it does not show up at all, reboot the phone and try again, but do NOT let it boot back to Android. You can get back in to the bootloader by waiting until the 'HTC quietly brilliant' screen shows up and typing 'adb reboot bootloader' with the usb cable attached.
It took me a really long time to figure that out. I don't think the type of sd card matters so much as the formatting of it. I actually used the 2gb card that came with the phone, and it worked almost every single time after I reformatted the card.
Click to expand...
Click to collapse
Excellent troubleshooting tips. I added a note about formatting your SD card to the prerequisites.
ice3186 said:
okay so I think I the only one using a Mac in this rooting process. A few things I have learned and may already be known but I thought I would clarify.
1.) to get a loop to run on the mac i had to re-write the file loop.bat
this is the code that works for me and how to do it.
a.) rename the file to end in .sh not .bat the way it came
b.) open the file with TextEdit
c.) delete all of the text in it and write this in there
Code:
while [ "0" ]
do
{
./adb devices
}
done
d.) save the file back in the sdk/tools folder
e.) in terminal the command once you cd to the folder is ./loop.sh
2.) i have yet to be successful in the attempt to root so anyone knowing anything to help would be appreciated! But i am still cracking i think i am going to wear out the plug before i am done though.
Click to expand...
Click to collapse
Thanks. Added a reference to your post.
attn1 said:
it should be pointed out that the loop does nothing except tell you if you have a connection or not. When you plug in the usb port, it will respond after a few seconds, or it won't. Try again.
Click to expand...
Click to collapse
Noted in the original post.
Corporate Dog said:
Troubleshooting Tip on Prerequisite Step 2: If you're working behind a firewall, router, or proxy server, you're going to have to configure SDK Setup to use an open port on that device, in order to download updates.
I won't go through the exact steps here, but if SDK setup is hanging, this is the most likely culprit.
Regards,
Corporate Dog
Click to expand...
Click to collapse
Thanks. Added the workaround.
attn1 said:
get a copy of linux livecd and then you don't have to actually set up the SDK or worry about any drivers.
Click to expand...
Click to collapse
Thanks. Added a note to the top of the prerequisites.
gtg465x said:
Step 12.
If successful, you should see Clockwork Recovery and you now have Su and Superuser.apk installed! You can now reboot your phone into the OS to verify. If unsuccessful, repeat steps 11 and 12.
Step 13.
This step is optional, but it will save you the pain of going through all of these steps again in the future.
Unrevoked team: Recovery reflash tool (updated - Now for Aria/Liberty!)
Click to expand...
Click to collapse
In no way, shape or form are you done after set 12.
You need to do more than just get into Clockwork. That alone doesn't root the phone.
gtg465x said:
If you made it to clockwork using this method then you're rooted. Check eugene's updated instructions. Look at the 6/29/2010 update on his original post... http://forum.xda-developers.com/showpost.php?p=6820344&postcount=1
I will add a reference to the unrevoked tool.
Click to expand...
Click to collapse
My mistake. He not only updated his instructions, he updated his update.zip. That should do it.
Good job!
I was just wondering If I have device issues after it is rooted, is it possible to remove the root and flash everything back to factory defaults for warranty purposes like the windows phones or is it once the warranty is gone it is gone?
steezee said:
I was just wondering If I have device issues after it is rooted, is it possible to remove the root and flash everything back to factory defaults for warranty purposes like the windows phones or is it once the warranty is gone it is gone?
Click to expand...
Click to collapse
Dunno if you can reflash the stock recovery again if you replaced it with clockwork, but you can definitely flash the stock ATT rom again. You can download it from HTC's site: http://member.america.htc.com/download/Web_materials/Manual/HTC_Aria_ATT/HTCAriaOriginalShipROM.exe
Banging my head on the wall. Got it to detect device once on loop. Never again after that. Phone shows up in device manager. Formatted 8gb and 2 gb cards several times.
urge growing. ... want to . . break.. . . .. . .random objects. . .
attn1 said:
My mistake. He not only updated his instructions, he updated his update.zip. That should do it.
Good job!
Click to expand...
Click to collapse
Sorry, I should have mentioned that he updated his update.zip.
You guys are right , there are missing step in the tutorial to fully root Aria.
after i get in to the clockwork from the step above. i have to install the custom rom that can be found in the forum.
when i try to install "Unrevoked team: Recovery reflash tool (updated - Now for Aria/Liberty!) " . the process goes throught but the recovery is still the same HTC blue color recovery screen.
so before you insert your sd card into the phone after you format the sd card. remember to copy the rooted rom into the sd card so when you successfully get into the clockwork. you want to install the rom then your aria is rooted with superuser icon on the application.
after then you do the "Unrevoked team: Recovery reflash tool (updated - Now for Aria/Liberty!) step .
There are no steps missing from the first post. I rooted my Aria using that method. Just make sure you have the latest Root.zip from eugene's thread. He updated it the other day and if you try to use the older version of Root.zip with this method it will not work.
What you are doing is installing a custom rom, which is fine, but it's not required to root the Aria.
i was trying to get the clockwork to install and it only work after i load the liberated_aria_b003_signed.zip
before i load liberated_aria_b003_signed.zip , it still give me the default HTC recovery screen.
after i load liberated_aria_b003_signed.zip and install "Unrevoked team: Recovery reflash tool (updated - Now for Aria/Liberty!) " . i get the clockwork screen as the recovery screen .
i still can't get the side loading to show after i follow the step from here
•COMMON:
•Enable USB debugging (settings > applications > development > USB Debugging)
•adb remount
•adb pull /data/data/com.android.providers.settings/databases/settings.db settings.db
Linux/OS X:
•echo "update secure set value = 1 where name = 'install_non_market_apps';"|sqlite3 settings.db
WINDOWS:
•echo update secure set value = 1 where name = 'install_non_market_apps';|sqlite3 settings.db
COMMON:
•adb push settings.db /data/data/com.android.providers.settings/databases/settings.db
•Reboot phone and sideloading works. (thanks to fluffyarmada)
.

Trying to root the Fusion 2?

Trying to root the fusion 2?
Use my guide!!!
http://androidforums.com/fusion-2-all-things-root/
1.*How do I root my device?
Step 1: Download this file.https://www.dropbox.com/s/pr70fitqpq9c4l6/Huawei-Fusion-2-Recovery-Root.zip
Step 2 ut the Huawei Fusion 2 Recovery Root.zip on your desktop.
Step 3 : Download and install "Huawei Fusion 2 U8665 ADB drivers.rar" from here*https://www.dropbox.com/s/z70julkgz1c9hss/Huawei-Fusion2-U8665-adb-drivers.rarInstall by opening .rar and running "DriverSetup.exe".
Step 4 :Make a folder called "Huawei Fusion 2" on your desktop.
Step 5 :Extract Zip from step 2 into your fusion 2 folder.
Step 6 :Turn off phone.
Step 7 :Reboot fastboot by holding Volume Down and Power buttons simultaneously for 10-20 seconds.(It will freeze at ATT logo. This is fastboot, it's a freeze to be happy about)
Step 8 :Connect phone to computer.
Step 9 : Open the folder you made and open the extracted zip (if you haven't extracted do this now)
Step 10 : Double click "Run Me"
Step 11 :Type "fastboot devices" and hit enter this will confirm if you are connected via fastboot (you are) if your connected it will list some numbers and letters and the words fastboot next to the numbers and letters.
Step 12 :Now flash modified recovery by typing "fastboot flash recovery recovery.superrecovery.img" into the "run me" window and hitting enter.
Step 13 :Unplug after the process runs says finished. And gives you the total time.*
Step 14 :Remove back of phone and take out battery for 10-15 seconds.
Step 15 :Reinsert battery hold volume up and power button simultaneously until it boots into recovery (15-20 seconds of holding both buttons)
Step 16 :Reboot Device by selecting the "reboot device" option with the volume buttons (it should already start with reboot highlighted) so just press the power button to reboot.*
Step 17 :Grab a beer and relax as your device reboots with SuperSU (main root app)!Enjoy and thanks to robotic buddy for initial guide and download links, also special thanks to RFE for the 1st Root method on the Huawei Fusion 2!
*********IF IT SAYS WAITING FOR DEVICE, IT IS ONE OF FOUR THINGS; 1) YOU DID NOT PUT THE PHONE INTO FASTBOOT CORRECTLY GO AHEAD AND REPEAT STEP 7 THEN RETRY, 2) YOU SIMPLY NEED TO UNPLUG AND REPLUG PHONE AND WAIT APPROXIMATELY 25-30 SECONDS (SHOULD HAPPEN IMMEDIATELY UNLESS DRIVERS WHERE INSTALLED INCORRECTLY), 3) INCORRECTLY INSTALLED ADB DRIVERS, REINSTALL THE ADB DRIVERS FROM STEP 3, 4) YOU DID NOT NAME THE FOLDERS CORRECTLY, OR DIRECTED THE CMD TERMINAL TO THE WRONG FOLDER, MAKE SURE YOU FOLLOW EVERY STEP TO A T INCLUDING CAPITALIZATIONS, SYMBOLS, AND SPACES OF FOLDERS AND CMD PROMPTS*********

[Guide] Newbie to Photon Q 4G LTE Rooting w/ Ice Cream Sandwich

Purpose: The purpose of this guide is to help collect all information and steps needed to root a Motorola Photon Q 4G LTE and use Clockwork Mod. When I looked for tutorials there were no updated ones that detailed how to do this with the latest android update (as of May 2014) for the Photon. Some steps may have been / were copied from various posts & guides around the internet, again this is just a collection of information.
Goal: A user who just opened his Photon Q 4G LTE and did all the factory updates should be able to get his phone rooted by the end of the guide.
Note: I started this guide but sadly the ribbon cable on my Photon Q 4G LTE broke and I just decided to switch carriers. I never got back to proof reading this guide while it was still fresh in my memory but if anyone sees and issues just let me know.
Unlock the Bootloader:
I unlocked the bootloader because I wanted to install ClockWork Mod and read that you had to. Not sure if you need to do this just for root access. I wanted CWM so that I could create a backup of this phone as is came from the factory so if I want to restore down the road I can. Unlike my Samsung it seems difficult to find the factory software for the Photon Q so this seemed like the best way to get it. Also nice to have the ability to take backups of my phone every so often. Assuming your phone is new I recommend that you also take a factory backup once clockwork mod is on before installing any other apps.
1. Download and install the drivers for the Photon Q from Motorola here ( https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481 )
2. Download this ZIP package which contains the tools you need for most of the steps here ( https://od.lk/f/MjRfMjc2MDc1Ml8 )
3. Head over to Motorola’s bootloader unlock site and sign in / register ( https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-b )
4. Put your device in fastboot mode by powering off, waiting a moment, then pressing the “power” and “volume down” buttons simultaneously and releasing the “power” button ONLY after a few seconds. Once you see the fastboot screen you can release “volume down” as well.
5. Unzip and open the folder with the ZIP files from Step 2 and open a command prompt or terminal (in Windows 7 hold “Shift” and right-click in the folder and select “open command window here”.
6. In the prompt, type “fastboot oem get_unlock_data” without the quotes.
7. You will see 5 or so lines with either “(bootloader)” or “INFO” in front of them. Use notepad or some other basic text editor to paste together the 5 lines of output into one continuous string WITHOUT (bootloader) or ‘INFO’ or white spaces in front of them so your string looks something like this: 0A40040192024205#4C4D355631323030373731363031303332323239#BD008A672BA4746C2CE02328A2AC0C39F951A3E5#1F532800020000000000000000000000
8. Check if your device can be unlocked by pasting the string in the field on Motorola’s page on their section 6. and click “Can my device be unlocked?” If you have a problem with this most likely the string you pasted in the box has spaces or extra / incorrect characters. Try again.
9. Open the email and get the unlock code. My email ended up in the “Promotion” category inbox instead of my normal inbox so if you don’t see it check in other places such as “Spam”.
10. Put your device in fastboot mode again by powering off, waiting a moment, then pressing the “power” and “volume down” buttons simultaneously and releasing the “power” button ONLY after a few seconds. Once you see the fastboot screen you can release “volume down” as well.
11. Connect the device to the computer with a USB cable. You'll get a confirmation message on the device to indicate that it's connected.
12. Open the folder with the ZIP files from Step 2 again and open a command prompt or terminal (in Windows 7 hold “Shift” and right-click in the folder and select “open command window here”.
13. In the prompt, type “fastboot devices” without the quotes and make sure your device shows up.
14. To unlock the bootloader, enter the following in the prompt “fastboot oem unlock UNIQUE_KEY” without quotes where you replace the “UNIQUE_KEY” with the code you received in the email. It is case-sensitive.
15. If the line was entered correctly, you will see a message confirming that your device was unlocked.​Install Clockwork Mod:
1. Download the latest ClockWorkMod recovery for the Photon Q from clockworkmod.com/rommanager and place the file in the same folder as the files from Bootloader Step 2. Be careful to select the right image!
2. Connect the Photon Q to the computer via USB.
3. Open the folder with the ZIP files from Bootloader Step 2 again and open a command prompt or terminal (in Windows 7 hold “Shift” and right-click in the folder and select “open command window here”.
4. Put your device in fastboot mode again by powering off, waiting a moment, then pressing the “power” and “volume down” buttons simultaneously and releasing the “power” button ONLY after a few seconds. Once you see the fastboot screen you can release “volume down” as well.
5. In the prompt, type “fastboot devices” without the quotes and make sure your device shows
a. If you don't see your device serial number, and instead see "<waiting for device>", fastboot is not configured properly on your machine. See fastboot documentation for more info.
b. If you see "no permissions fastboot", make sure your UDEV rules are setup correctly.
6. Flash ClockWork Mod recovery onto your device by entering the following command in the prompt “fastboot flash recovery image.img” without the quotes where “image.img” is the full name of the file you downloaded in Step 1.
7. Once the flash completes successfully, reboot the device into recovery to verify the installation by powering off the phone and then holding both “Volume Up” & “Power” simultaneously until you see ClockWork Mod on the screen. From here you can take a backup (recommended) if you want to like I did.
o Note: Some ROMs overwrite recovery at boot time so if you do not plan to immediately boot into recovery to install CyanogenMod, please be aware that this may overwrite your custom recovery with the stock one. ​Root the device:
1. Boot the Photon Q normally and go to Settings>Developer Options> and enable USB Debugging. You may have to turn on Developer Options as well if they are grayed out.
2. Connect the Photon Q to the computer via USB.
3. Navigate to the folder with the ZIP files from Bootloader Step 2 again open the run.bat file.
4. Press Enter after reading the disclaimer (if you want) and wait for the file to finish running.
5. After it is done you can press enter again to close the prompt and disconnect your phone
6. After the phone reboots automatically you will see a new Super User app in your app list. You are now rooted.​
FYI installing TWRP will offer to automatically root the device for you when you reboot back into Android.
Also, CWM for our devices is horribly outdated, and last I checked completely unable to flash any KK-based ROM. I wouldn't recommend it - OpenRecovery or TWRP are my recommendations.
arrrghhh said:
FYI installing TWRP will offer to automatically root the device for you when you reboot back into Android.
Also, CWM for our devices is horribly outdated, and last I checked completely unable to flash any KK-based ROM. I wouldn't recommend it - OpenRecovery or TWRP are my recommendations.
Click to expand...
Click to collapse
The two months I had my Photon Q working CWM worked great for me. Did a few backups and didn't have to re-root after each boot. But it always helps to have more options so thanks for mentioning both alternatives!
protivakid said:
The two months I had my Photon Q working CWM worked great for me. Did a few backups and didn't have to re-root after each boot. But it always helps to have more options so thanks for mentioning both alternatives!
Click to expand...
Click to collapse
I'm pretty sure CWM won't flash KK-based ROM's as I stated previously.
Also, you shouldn't have to re-root - TWRP just does the rooting for your if you are installing a custom recovery for the first time so you don't have to do it manually .
arrrghhh said:
I'm pretty sure CWM won't flash KK-based ROM's as I stated previously.
Also, you shouldn't have to re-root - TWRP just does the rooting for your if you are installing a custom recovery for the first time so you don't have to do it manually .
Click to expand...
Click to collapse
Thanks again! I just used the stock rom but rooted during my brief time with the phone but this will help those who wish to use KK on the Photon.
RISING THIS TREAD FROM THE DEAD!!!
WHO STILL HAS THIS PHONE WORKING??
i blue screened my LG G3 so i pulled this phone off my dash in the bimmer to possibly try to root but it runs so damn slow now. any support will be much appreciated this is by far the most reliable device i ever purchased (400 bucks out the door brand new fml)
i will try to root later this week but big shout out to XDA for all thier threads on android ive been rooting since the
optimus line
cheers!

Root alcatel pixi 4_5 5010

Hey
I have found a way to finally root the Android alcatel pixi 4_5 5010
Without further ado let's get to the thing..
NOTES
This will work for all 5010 models
I am not responsible for bricking / ruining your phone,
Most of the time this will work without brick but still be careful.
REQUIREMENTS
Alcatel pixi 4_5 5010 (obviously)
A Windows computer
Usb cable
Fastboot drivers (if your device isn't detected in Fastboot mode | I won't be providing a tutorial on how to install them)
---------------------------------------------------------------------------
Step 1:
Download adb/Fastboot and extract it on an easily accessible place eg: desktop (https://dl.google.com/android/repository/platform-tools-latest-windows.zip)
Step 2:
Go into settings > about phone
Then tap build number about 7 times until it says 'you are now a developer' Then go into the dev settings at bottom of settings and enable usb debugging
Step 3: (optional)
Take a full backup of your device via adb
Type in Google 'how to backup android using adb'
And follow the steps
Step 4:
Download twrp.img and move it inside the platform-tools folder mega.nz/fm/NMkD1DwJ
Step 5:
(if your bootloader is already unlocked skip this)
WARNING! ALL YOUR DATA WILL BE ERASED FOLLOW STEP 3!
Connect your device to your pc then open platform-tools folder you extracted then shift + right click and click 'open command prompt here'
Once again go into dev settings and enable 'oem unlocking'
Type: adb reboot bootloader (your device will boot into fastboot mode)
Then type : fastboot devices
Something like this should appear:
Devices
ABCDEFG2855568
Then type : fastboot oem unlock and press volume up on your device (read the warning I have written on top)
Then setup your device like you did when you got it out of the box
Step 6:
Once again type adb devices and then adb reboot bootloader
Then once its booted into fastboot mode
Type : fastboot flash recovery twrp.img
When it's indicated that its finished unplug the device from the pc and pull out the battery.
Then hold power + volume up until the alcatel logo shows up
You should now be booting into twrp. Restart your phone and boot it normally.
Step 7:
Download the latest supersu package to root the device
http://www.supersu.com/download then move it onto the storage of your device
Step 8:
Turn your phone off and hold power + volume up again and you should boot into twrp
Press 'install' and select the supersu file (where you have put it)
Then swipe yes and wait for the process to finish.
After it finishes press reboot.
Restore data (type 'how to restore data using adb')
And congratulations you are now rooted
If you have questions ask away
Also if you think a step could be written easier tell me via comments.
Poof ('_')
Omfg thanks so much you deserve like 999 likes
New Link?
Hey, could you please provide me a new link for twrp.img? Thanks

[GUIDE] How to install TWRP and root

First, you’ll need ADB and fastboot, which can be downloaded here. To set up ADB, go to Settings/About Phone/Software Info and tap on build number until you get a toast notification saying “You are now a developer!” You will now have a new category in Settings called Developer Options. Go into developer options and enable USB debugging and OEM Unlock. You won't be able to turn it on if your phone is plugged in to your PC. Once you've turned it on, go to your PC, open Terminal or Command Prompt and type “adb devices”. Then plug in your phone and hit enter. You'll get a prompt on your phone to “Allow connections to this PC?”. Check Always allow and Allow. Now run “adb devices” again. Your device should now appear in Terminal.
If you have a SD card, download the latest zips from here and here onto your​ SD card. It'll save you a step later on.
Then you'll need to reboot to fastboot by holding down VOL- and plugging in USB while power is off. Alternatively​, you can type “adb reboot bootloader” in Terminal or Command Prompt.
Next, you'll need to unlock the bootloader. Bootloader unlocking​ will factory reset your phone! Once you're in fastboot, run “fastboot oem unlock” in Terminal or Command Prompt. Now the bootloader is unlocked.
Now it's time to flash TWRP, a custom recovery for Android. It's going to be the way you install custom ROMs and add-ons. Download TWRP here. Once you've extracted​ the recovery.img, run this command: “fastboot flash recovery path/to/recovery.img”. Once the file has flashed, disconnect the USB cable and battery. The next step is important! You're going to need to boot into TWRP for the first time. With the phone off, hold down VOL- and press power until the phone vibrates and the LG logo appears. While still holding down VOL-, release and immediately press and hold power. You should now be at a white screen that says “Reset all data and restore to factory settings?” Use the volume and power keys to select yes and yes again. If you've installed​ TWRP successfully​, it won't actually factory reset your phone. Now you should see the TWRP screen. If you don't see the TWRP screen and instead see a floating ring that says “Erasing”, don't worry. Let if complete and try flashing TWRP in fastboot again.
In TWRP, you'll be greeted by a screen that says “Swipe to allow modifications?” Swipe it, then go to the Wipe tab. Go to Wipe, then Format Data, then type yes, then go to the Reboot tab and select Recovery to reboot into TWRP again. If you're prompted to install the TWRP app, don't bother.
Once you've rebooted into TWRP again, it's time to disable encryption​ and root the phone. Download the latest zips here and here. Skip downloading them if you already put them on your SD card earlier. On your PC, push the files to your phone using the command “adb push path/to/file.zip /sdcard/”. You can drag and drop the file into Terminal or Command Prompt to copy file path. Then go to the Install tab in TWRP and select the no-verity-opt-encrypt.zip, tap Add more zips, then add the root zip, then swipe to flash. Let the zips flash, then tap the Reboot System button when it's done. Your phone will take a little longer to boot and might reboot a couple times.
Once you're back in the OS, go through the setup wizard. Set up Magisk. If you stay on stock, you should install an app like Quick Reboot Pro from the Play Store to make it easier to reboot into recovery. Now reboot back into TWRP and go to the Backup tab. If you have a SD card, set it as the backup location. You can enable compression if you want. This will make a full system backup that you can restore from as long as you have TWRP. If the backup takes up too much space, you can put it in Google Drive or your PC later on.

Categories

Resources