Rooting problem. - Desire General

Hey,
I'm following the tutorial over on the modaco forums and everything has gone well so far. I've created my goldcard and have run step1-windows.bat.
I'm having trouble when coming to run step2 however. The command lines tell me my device is not found. The screen of my phone just shows a red triangle with a red exclamation mark inside.
I've tried searching these forums and google but to no avail.
I appologise if this has been asked a million times but if someone could spend a couple of minutes explaining how I fix this I'd be really appreciative

Do it using the TinyCore method - I had issues using Windows, worked first time using linux
EDIT: I used this...download this file and burn to CD
http://www.mediafire.com/download.php?zntzm3z4oz2
Burn the ISO Image to a disk, turn off your PC, turn it back on with the CD in.
When it boots, at the bottom, click terminal. Turn your phone on (with the goldcard in and the rootedupdate.zip on it) holding the back button to get into the FASTBOOT menu. Connect to the PC
Type:
sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom
cd /mnt/cdrom/root
sudo ./step1.sh
Let that run then you should be into FASTBOOT. Turn the phone off (might have to remove the battery). Turn on holding the Volume Down button to go to HBOOT, then using volume up/down & power for select, go to 'RECOVERY' and plug your phone in. Then type:
sudo ./step2.sh
When this has completed, your device should be at the 'recovery' screen. Select the 'wipe' option, then select the option to apply an update zip from sdcard, and select 'rootedupdate.zip'. This will take a little while, so go make a nice cup of tea. When the flash has finished, reboot, and you are DONE!
Seemed to work for me!

I had the same problem, it is because windows didnt install all the drivers for it, try reconnecting the phone to the pc again, and check if htc sync is installed as ti has some needed drivers.

i had problems with windows too. try an ubuntu live cd and you should finish it in 15 minutes max !!! i assure you for this

EddyOS said:
Do it using the TinyCore method - I had issues using Windows, worked first time using linux
EDIT: I used this...download this file and burn to CD
http://www.mediafire.com/download.php?zntzm3z4oz2
Burn the ISO Image to a disk, turn off your PC, turn it back on with the CD in.
When it boots, at the bottom, click terminal. Turn your phone on (with the goldcard in and the rootedupdate.zip on it) holding the back button to get into the FASTBOOT menu. Connect to the PC
Type:
sudo mkdir /mnt/cdrom
sudo mount /dev/cdrom /mnt/cdrom
cd /mnt/cdrom/root
sudo ./step1.sh
Let that run then you should be into FASTBOOT. Turn the phone off (might have to remove the battery). Turn on holding the Volume Down button to go to HBOOT, then using volume up/down & power for select, go to 'RECOVERY' and plug your phone in. Then type:
sudo ./step2.sh
When this has completed, your device should be at the 'recovery' screen. Select the 'wipe' option, then select the option to apply an update zip from sdcard, and select 'rootedupdate.zip'. This will take a little while, so go make a nice cup of tea. When the flash has finished, reboot, and you are DONE!
Seemed to work for me!
Click to expand...
Click to collapse
If I use VMware (OSX) and run tinycore in a virtual machine will those commands be the same ?

Just reconnect the device and it should work, if not restart the command prompt and navigate back to the directory and run step 2, I had the same issue and it worked for me that way.
-------------------------------------
Sent via the XDA Tapatalk App

I had this problem too, first I done something wrong with making a Gold Card (still worked fine, but wasn't a GC?) fixed that. Then I had the problem your having, I ran CMD as administrator (I'm on W7 btw) and it worked, then getting on step 2 I was confused, you leave it until it gets to the red triangle screen, (The one that shows your phone and a triangle over it) then run step 2, that's what confused me, hopefully you too

Well I tried the linux method and I'm still getting the device not found error.
Ive just noticed though that in step 1 I'm getting this error:
FAILED (remote: 42 custom id check fail)
Any further ideas ?

pwoyorkie said:
Well I tried the linux method and I'm still getting the device not found error.
Ive just noticed though that in step 1 I'm getting this error:
FAILED (remote: 42 custom id check fail)
Any further ideas ?
Click to expand...
Click to collapse
I would try to go for new goldcard. Had exactly same error then I found goldcard wasnt working

Related

Have I bricked my phone? Trying to follow unbrick guide but falling at first hurdle

Sorry if this seems a bit stupid, I'm new to android and rooting phones. Anyhow, I'm desperatly in need of help!
I successfully followed the root guide for the desire and got the basic rom on from Modaco (Paul's guide). I then thought it would be fun to try out some of the other roms so gave Pays rom a go but couldn't get this to boot.
I did the changing of the partitions on the SD card tried doing this before and after, still no boot.
Done various other things since but now can't get my phone to be recognised by my PC when in recovery mode. When I go into the boot menu, the USB is picked up but when I go to recovery, it isn't.
I've tried running through the rooting process again to apply the stock rom but I can only do the first bit but when I try to run the windows step2 bit, it says error device not found.
I've been looking at the guide on modaco for unbricking your phone and I cant see how do to the following step:
"Enable the SD Card functionality. Boot your phone in FASTBOOT mode (back + power), and enter this command: 'fastboot oem enableqxdm 0' . This will re-enable your SD card."
I can go into fastboot, that's fine... but how do I enter the command in fastboot? There is no command prompt or text entry method?
Am I being very stupid? Please, can someone help me!!!!!!!
jaketurbo said:
Sorry if this seems a bit stupid, I'm new to android and rooting phones. Anyhow, I'm desperatly in need of help!
I successfully followed the root guide for the desire and got the basic rom on from Modaco (Paul's guide). I then thought it would be fun to try out some of the other roms so gave Pays rom a go but couldn't get this to boot.
I did the changing of the partitions on the SD card tried doing this before and after, still no boot.
Done various other things since but now can't get my phone to be recognised by my PC when in recovery mode. When I go into the boot menu, the USB is picked up but when I go to recovery, it isn't.
I've tried running through the rooting process again to apply the stock rom but I can only do the first bit but when I try to run the windows step2 bit, it says error device not found.
I've been looking at the guide on modaco for unbricking your phone and I cant see how do to the following step:
"Enable the SD Card functionality. Boot your phone in FASTBOOT mode (back + power), and enter this command: 'fastboot oem enableqxdm 0' . This will re-enable your SD card."
I can go into fastboot, that's fine... but how do I enter the command in fastboot? There is no command prompt or text entry method?
Am I being very stupid? Please, can someone help me!!!!!!!
Click to expand...
Click to collapse
You need ADB-SDK
Open a cmd [tools/commandline here] at the tools-dir you will find there and you will be able to execute de fastboot commands. Youre phone has to be connected to youre pc in the fastboot-modus.
Thanks for the quick reply. I'll give that a go now
I struggled with the guide on Modaco, as it's rather vague, so when I finally figured it out I wrote down ALL the steps you have to take, and this is what I ended up with:
To Un-USB Brick HTC Desire:
1. Hold down the back button, and then turn on your Desire
2. Make sure the screen shows FASTBOOT. If it doesn’t, choose it from the options available
3. In command prompt go to the folder on your computer where you downloaded and extracted the Android SDK to
4. At the command prompt type ‘fastboot oem boot’
5. If you know that you don’t have access to the SD card when your phone loads up, also type the command ‘ fastboot oem enable qxdm 0’
6. The bit you need from the information displayed in the CID. Look for something like ‘INFOCID is O2___001’. In this case, my CID is ‘O2___001’
7. On your phone go to Settings>About phone>Software Information and note your Software Number. Mine was 1.21.405.1
8. Now turn off the phone and take the SD card out and put it in your computer
9. Go to http://ks33673.kimsufi.com/misc/ and put in the details from steps 6 & 7.
10. Download the file it creates
11. Get the flash image from http://www.shadowchild.nl/flash_image
12. Put both of these on the SD card
13. Put the SD Card back in your Desire and turn it on
14. Go to the Market and download a terminal emulator. I used ConnectBot
15. Run Connectbot. In the bottom left corner where it says ‘ssh’ click on the triangle. Choose ‘locall and put in anything for your nickname.
16. Now enter the following commands EXACTLY as they are shown below, pressing enter after each one
17. su
18. cat /sdcard/flash_image > /data/flash_image
19. cat /sdcard/mtd0.img > /data/mtd0.img
20. chmod 755 /data/flash_image
21. /data/flash_image misc /data/mtd0.img
22. Reboot your Desire, and it should all work again!
AWESOME
Thanks guys,
sorted now... been a while since I did anything with unix/linux commands as well
Now I just need to figure out when I flash the custom roms, why they don't boot.
When you flash the roms are you doing a full wipe?
I suggest backing up your sd to your pc and then wiping your sd fully just as a precaution.
Then before you flash a rom, from recovery make sure you go down the full list of wipe options. Wipe data, cache, ext (if you have one but shouldn't after wiping sd) etc...
some de-odexed roms like pays take a long time for the first boot (up to 10mins) you just have to be patient
chippieuk said:
I struggled with the guide on Modaco, as it's rather vague, so when I finally figured it out I wrote down ALL the steps you have to take, and this is what I ended up with:
To Un-USB Brick HTC Desire:
1. Hold down the back button, and then turn on your Desire
2. Make sure the screen shows FASTBOOT. If it doesn’t, choose it from the options available
3. In command prompt go to the folder on your computer where you downloaded and extracted the Android SDK to
4. At the command prompt type ‘fastboot oem boot’
5. If you know that you don’t have access to the SD card when your phone loads up, also type the command ‘ fastboot oem enable qxdm 0’
6. The bit you need from the information displayed in the CID. Look for something like ‘INFOCID is O2___001’. In this case, my CID is ‘O2___001’
7. On your phone go to Settings>About phone>Software Information and note your Software Number. Mine was 1.21.405.1
8. Now turn off the phone and take the SD card out and put it in your computer
9. Go to and put in the details from steps 6 & 7.
10. Download the file it creates
11. Get the flash image from
12. Put both of these on the SD card
13. Put the SD Card back in your Desire and turn it on
14. Go to the Market and download a terminal emulator. I used ConnectBot
15. Run Connectbot. In the bottom left corner where it says ‘ssh’ click on the triangle. Choose ‘locall and put in anything for your nickname.
16. Now enter the following commands EXACTLY as they are shown below, pressing enter after each one
17. su
18. cat /sdcard/flash_image > /data/flash_image
19. cat /sdcard/mtd0.img > /data/mtd0.img
20. chmod 755 /data/flash_image
21. /data/flash_image misc /data/mtd0.img
22. Reboot your Desire, and it should all work again!
Click to expand...
Click to collapse
Ok, I've bricked my Desire so my pc no longer recognizes it and the phone can't see the SD card.
I know i have to do the ‘fastboot oem boot’ part but how??
My PC doesn't recognize the phone, at the moment i've got android 1.0 in the Android USB devices with the yellow problem sign against it as the driver/software never loaded when connecting the phone.
I've tried running the Fastboot file from SDK but the screen just flashes up then disappears, so basically I can't get the command prompt up to run step 4 in the above post.
Any suggestions?
Cheers
celticone said:
Ok, I've bricked my Desire so my pc no longer recognizes it and the phone can't see the SD card.
I know i have to do the ‘fastboot oem boot’ part but how??
My PC doesn't recognize the phone, at the moment i've got android 1.0 in the Android USB devices with the yellow problem sign against it as the driver/software never loaded when connecting the phone.
I've tried running the Fastboot file from SDK but the screen just flashes up then disappears, so basically I can't get the command prompt up to run step 4 in the above post.
Any suggestions?
Cheers
Click to expand...
Click to collapse
Further to my post above, I've used cmd in windows to run the flashboot command but it comes up with waiting for device and still waiting after 5 mins. I guess as the PC can't recognize it as a device commnd prompt won't ever work??
Fantastic tutorial!! because it really works!!
Dear All,
I had my HTC Desire Bricked....
I follow all steps of the tutorial and it unbrick my HTC Desire!
thank you so much!!
Greetzzz
AndroidJunk
celticone said:
Further to my post above, I've used cmd in windows to run the flashboot command but it comes up with waiting for device and still waiting after 5 mins. I guess as the PC can't recognize it as a device commnd prompt won't ever work??
Click to expand...
Click to collapse
Try fiddling with when you plug in your USB-cable... that did the trick for me...
Will this work for a Legend???
Does these steps work for HTC Legend aswell?
After installing a custom rom,
I cannot access USB, SD or SIM.
This Guide creates a big moment 22 for me.
I asume im bricked however i have seriously 0 idea how it hapened. After a reboot i could no longer access the SD card, the SIM did not read and the USB could not be connected to the PC. Ive tried with diffrent SD cards and SIM cards without anny progess.
So this guide asumes that this will help:
5. If you know that you don’t have access to the SD card when your phone loads up, also type the command ‘ fastboot oem enable qxdm 0’
But it doesnt. It only gives me the error message:
... INFOR[ERR] Command error !!!
in CMD.
So, i cant use my SD card(it works on the comp but not on phone) And thats that.. what the f*ck do i do?
Edit: Besides,
7. On your phone go to Settings>About phone>Software Information and note your Software Number. Mine was 1.21.405.1
This doesnt aply to me since im running a custom rom and not a stock rom. (And no i cant install a RUU due to the computor not even noticing the phone).
Edit2: Acording to:
http://android.modaco.com/content/h...com/309939/usb-brick-rickrolled-b0rked-fixed/
The command is
fastboot oem enableqxdm 0
not
fastboot oem enable qxdm 0
Wich resulted in a successfull Command but the SD card can still not be read.
The bit I don't get.. (not that I need to do this), but there is no file/executable named fastboot in the dir of the tools directory on the linux sdk. how does it work?
Sajhe said:
This Guide creates a big moment 22 for me.
I asume im bricked however i have seriously 0 idea how it hapened. After a reboot i could no longer access the SD card, the SIM did not read and the USB could not be connected to the PC. Ive tried with diffrent SD cards and SIM cards without anny progess.
So this guide asumes that this will help:
5. If you know that you don’t have access to the SD card when your phone loads up, also type the command ‘ fastboot oem enable qxdm 0’
But it doesnt. It only gives me the error message:
... INFOR[ERR] Command error !!!
in CMD.
So, i cant use my SD card(it works on the comp but not on phone) And thats that.. what the f*ck do i do?
Edit: Besides,
7. On your phone go to Settings>About phone>Software Information and note your Software Number. Mine was 1.21.405.1
This doesnt aply to me since im running a custom rom and not a stock rom. (And no i cant install a RUU due to the computor not even noticing the phone).
Edit2: Acording to:
http://android.modaco.com/content/h...com/309939/usb-brick-rickrolled-b0rked-fixed/
The command is
fastboot oem enableqxdm 0
not
fastboot oem enable qxdm 0
Wich resulted in a successfull Command but the SD card can still not be read.
Click to expand...
Click to collapse
I solved all of this by bypassing the SD card and downloading straight to /Data with Wget in shell.
However i still have the problem of runnin a non HTC rom (NO i cant flash a new one cus i still cant get the damn SD Card to work ).
So the whole software version .. if its wrong. will this still work? I changed the CID in the mtd0-img but since i dont know the software version i cant do annything about it ..
I follow all steps of the tutorial and it unbrick my HTC Desire!
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
i love my phone!
Cant running a RUU in fastboot solve a usb brick, please?
chippieuk said:
I struggled with the guide on Modaco, as it's rather vague, so when I finally figured it out I wrote down ALL the steps you have to take, and this is what I ended up with:
To Un-USB Brick HTC Desire:
1. Hold down the back button, and then turn on your Desire
2. Make sure the screen shows FASTBOOT. If it doesn’t, choose it from the options available
3. In command prompt go to the folder on your computer where you downloaded and extracted the Android SDK to
4. At the command prompt type ‘fastboot oem boot’
5. If you know that you don’t have access to the SD card when your phone loads up, also type the command ‘ fastboot oem enable qxdm 0’
6. The bit you need from the information displayed in the CID. Look for something like ‘INFOCID is O2___001’. In this case, my CID is ‘O2___001’
7. On your phone go to Settings>About phone>Software Information and note your Software Number. Mine was 1.21.405.1
8. Now turn off the phone and take the SD card out and put it in your computer
9. Go to BROKEN LINK and put in the details from steps 6 & 7. <---------------------------------
10. Download the file it creates
11. Get the flash image from OTHER LINK
12. Put both of these on the SD card
13. Put the SD Card back in your Desire and turn it on
14. Go to the Market and download a terminal emulator. I used ConnectBot
15. Run Connectbot. In the bottom left corner where it says ‘ssh’ click on the triangle. Choose ‘locall and put in anything for your nickname.
16. Now enter the following commands EXACTLY as they are shown below, pressing enter after each one
17. su
18. cat /sdcard/flash_image > /data/flash_image
19. cat /sdcard/mtd0.img > /data/mtd0.img
20. chmod 755 /data/flash_image
21. /data/flash_image misc /data/mtd0.img
22. Reboot your Desire, and it should all work again!
Click to expand...
Click to collapse
I think the link at the 9 doesn't working anymore. It is connecting a French website which is asking an ID and Password. Can you please renew the link
Thanks
PS. I deleted the link because i don't have 8 posts and i can't add links to my messages.
Have a look for 'gold card helper' in the market.
It should help
Sent from my HTC Desire using Tapatalk

Question about ROM Manager

Ok so when i try to use rom manager, it says i need flash clockworkmod recovery. So i click on it n it says confirm model n i do, then it says "an error occurred while attempting to run privileged commands." Wat am i doing wrong?? Thanks.
Are you rooted? That's usually a good sign that you aren't.
Sent from my EVO from the Apple Store.
yea i went thro all the steps to root n in titanium backup it says root access is OK. so im confused now.
Make sure you have the latest version of Super User Permissions (2.2.2): http://forum.xda-developers.com/showthread.php?t=682828
When I got that error, it was because I hadn't told SUP to allow ROM Manager quick enough, and RM had timed out on the permission request.
ok so how do i get this onto my phone, i apologize, this is my first android phone.
tarheelsmj12001 said:
ok so how do i get this onto my phone, i apologize, this is my first android phone.
Click to expand...
Click to collapse
Just go ahead and download the zip file su-2.2.2-ef-signed.zip from that thread I linked to. Plug your USB cable into your phone and computer, and either go to Notifications, tap on Chareg Only, and then change it to Disk Drive and press done, then open My Computer (or if on Mac/Linux, double-click the drive on your desktop) and copy the ZIP file directly to SD card, or use ADB to push the file by first turning on USB debugging if it isn't already (Settings>Applications>Development>USB debugging) then open Command Prompt (Terminal on Mac/Linux), go to wherever you have ADB located (usually the Tools folder of the Android SDK) and use this command:
Code:
WINDOWS: adb push *path to ZIP*\su-2.2.2-ef-signed.zip /sdcard/
MAC/LINUX: ./adb puh *path to ZIP*/su-2.2.2-ef-signed.zip /sdcard/
If you used the ADB method: Go ahead and just use the command "adb reboot recovery" (or "./adb reboot recovery" if on Mac/Linux) to reboot into your Recovery. If you used USB Mass Storage, power off your phone, then hold down the Volume Down button, then continue holding Volume Down while holding the Power button. You will then see the bootloader screen (white screen with three skateboarding Androids at the bottom) and can let go of the buttons as soon as you do. Press Volume-Down to highlight "RECOVERY", and then the Power button to select it. Next you'll see the words "HTC EVO 4G" on a white screen (like a normal boot-up) followed shortly after your Recovery image.
Next, use Volume Up/Down to move your selection up/down and use the Power button to select "Install ZIP from SD Card" (or something along those lines). You should have one option for "install update.zip" and one for "Choose ZIP from SD card" (again, or something similar). Choose the latter of the two, and then use Volume Up/Down to select su-2.2.2-ef-signed.zip, and Power to select. Wait a few moments until you're told that the installation was successful, and then select to reboot the phone.
You should then be able to boot into Android, and have the Super User Permissions app installed! Whenever you try to run something which needs root, you'll get a pop-up asking for permission. Go ahead and launch ROM Manager, and you'll get the pop-up, make sure "Remember" is checked, and then press allow. If ROM Manager still complains that it didn't get permissions, re-launch it, and it should work fine.
drmacinyasha said:
Just go ahead and download the zip file su-2.2.2-ef-signed.zip from that thread I linked to. Plug your USB cable into your phone and computer, and either go to Notifications, tap on Chareg Only, and then change it to Disk Drive and press done, then open My Computer (or if on Mac/Linux, double-click the drive on your desktop) and copy the ZIP file directly to SD card, or use ADB to push the file by first turning on USB debugging if it isn't already (Settings>Applications>Development>USB debugging) then open Command Prompt (Terminal on Mac/Linux), go to wherever you have ADB located (usually the Tools folder of the Android SDK) and use this command:
Code:
WINDOWS: adb push *path to ZIP*\su-2.2.2-ef-signed.zip /sdcard/
MAC/LINUX: ./adb puh *path to ZIP*/su-2.2.2-ef-signed.zip /sdcard/
If you used the ADB method: Go ahead and just use the command "adb reboot recovery" (or "./adb reboot recovery" if on Mac/Linux) to reboot into your Recovery. If you used USB Mass Storage, power off your phone, then hold down the Volume Down button, then continue holding Volume Down while holding the Power button. You will then see the bootloader screen (white screen with three skateboarding Androids at the bottom) and can let go of the buttons as soon as you do. Press Volume-Down to highlight "RECOVERY", and then the Power button to select it. Next you'll see the words "HTC EVO 4G" on a white screen (like a normal boot-up) followed shortly after your Recovery image.
Next, use Volume Up/Down to move your selection up/down and use the Power button to select "Install ZIP from SD Card" (or something along those lines). You should have one option for "install update.zip" and one for "Choose ZIP from SD card" (again, or something similar). Choose the latter of the two, and then use Volume Up/Down to select su-2.2.2-ef-signed.zip, and Power to select. Wait a few moments until you're told that the installation was successful, and then select to reboot the phone.
You should then be able to boot into Android, and have the Super User Permissions app installed! Whenever you try to run something which needs root, you'll get a pop-up asking for permission. Go ahead and launch ROM Manager, and you'll get the pop-up, make sure "Remember" is checked, and then press allow. If ROM Manager still complains that it didn't get permissions, re-launch it, and it should work fine.
Click to expand...
Click to collapse
Damn i appreciate ur help n giving me the steps. Just one question, how do i get my command prompt to go to where my ADB is located, its stuck on C:\documents and settings. Thanks again for ur help n sorry for my stupidity.
When i go into my recovery n click on apply sdcard:update.zip, it says failed to open /sdcard/update.zip ( no such file or directory). Wat am i doin wrong??
tarheelsmj12001 said:
When i go into my recovery n click on apply sdcard:update.zip, it says failed to open /sdcard/update.zip ( no such file or directory). Wat am i doin wrong??
Click to expand...
Click to collapse
dont click that one, click the one that says install zip file or something, not update .zip
skittlesV1 said:
dont click that one, click the one that says install zip file or something, not update .zip
Click to expand...
Click to collapse
hmmm i dont have that option
skittlesV1 said:
dont click that one, click the one that says install zip file or something, not update .zip
Click to expand...
Click to collapse
Correct. There's usually two options, one of them being to choose to look for a ZIP file, and the other is sdcard:update.zip. You want to have it look for the ZIP file, and select it off of your card's root directory.
Oh, and to change what directory your command prompt is in, use "cd *path*" which is both for Windows, Mac, and Linux.
yea i dont have that option, only have the one to update.
What Recovery are you using? Perhaps your first step should be to get a better recovery image.
If u don't mind telling me how to do that then ill try n get a better one. N i have no idea which one i have.
Sent from my PC36100 using XDA App
Alright, at the top or bottom of your recovery mode's screen, it will usually tell you what recovery you have (ClockworkMod, Amon Ra, etc.).
To flash a new one, connect your computer and phone, and open up command prompt. Change to wherever you have ADB, and get ready for some fun.
First up, download recovery-RA-evo-v1.7.0.1.img (Amon_Ra's Recovery). Boot your phone into Fastboot by either using "adb reboot bootloader" or turn off you're phone, and turn it back on by holding Volume Down and Power. You'll get the white screen with the skating Androids again. Go ahead and select FASTBOOT. Now, in your command prompt/terminal, use this command:
Code:
fastboot devices
It should acknowledge that fastboot can see your phone. If not, try rebooting again. Once it sees your phone, use this command to flash the recovery:
Code:
fastboot flash recovery *path to file*\recovery-RA-evo-v1.7.0.1.img
Give it some time, and it should succeed. Then go on your phone, select bootloader, and then recovery. You should then boot into RA Recovery 1.7.0.1. Select "Flash zip from sdcard" and select the su-2.2.2-ef-signed.zip file. Give it a bit to do its thing, and then when it's all done, select "Reboot system now"
drmacinyasha said:
Alright, at the top or bottom of your recovery mode's screen, it will usually tell you what recovery you have (ClockworkMod, Amon Ra, etc.).
To flash a new one, connect your computer and phone, and open up command prompt. Change to wherever you have ADB, and get ready for some fun.
First up, download recovery-RA-evo-v1.7.0.1.img (Amon_Ra's Recovery). Boot your phone into Fastboot by either using "adb reboot bootloader" or turn off you're phone, and turn it back on by holding Volume Down and Power. You'll get the white screen with the skating Androids again. Go ahead and select FASTBOOT. Now, in your command prompt/terminal, use this command:
Code:
fastboot devices
It should acknowledge that fastboot can see your phone. If not, try rebooting again. Once it sees your phone, use this command to flash the recovery:
Code:
fastboot flash recovery *path to file*\recovery-RA-evo-v1.7.0.1.img
Give it some time, and it should succeed. Then go on your phone, select bootloader, and then recovery. You should then boot into RA Recovery 1.7.0.1. Select "Flash zip from sdcard" and select the su-2.2.2-ef-signed.zip file. Give it a bit to do its thing, and then when it's all done, select "Reboot system now"
Click to expand...
Click to collapse
Ok so i downloaded the recovery image. Where i get confused is when u say open the the command prompt and change to where i have ADB. So i go to start, run, n then type command?? N i dont understand when u said how to change what directory the command prompt is in, idk wat "cd *path*" means.
Where do you have ADB or the Android SDK?
To open command prompt, go to Start>Run and type cmd then hit enter. Then use the command cd (path to Android SDK)\tools\, so for example, I have my Android SDK in "C:\Program Files (x86)\Android SDK" so I would use cd C:\Program Files (x86)\Android SDK\tools\.
tarheelsmj12001 said:
Damn i appreciate ur help n giving me the steps. Just one question, how do i get my command prompt to go to where my ADB is located, its stuck on C:\documents and settings. Thanks again for ur help n sorry for my stupidity.
Click to expand...
Click to collapse
Dude it's not stupidity. This is the steepest part of the learning curve and there is actually not an easy answer. This drove me nuts when I first started to learn. But it's really fun once you figure it out.
First, follow the steps here: http://htcevohacks.com/htc-evo-hacks/how-to-install-android-sdk-and-adb-drivers-for-htc-evo-4g/
That will give you the SDK folder on your computer. I recommend that you extract the files directly onto the C: drive. That will give you the following path: C:\android-sdk-windows\tools (that will make more sense once you actually follow those steps.
Then, open a Command Prompt on your computer. If you use windows, it's under the Accessories folder on the Start menu. You obviously know this from your earlier post.
Then type the following:
Code:
cd C:\android-sdk-windows\tools
That should bring you to that folder. Everything you ever do that is "ADB" is done from this folder. That means that you actually need to put pertinent files into the "tools" folder there.
Once you are there type the following:
Code:
adb devices
If a long number shows up, then it sees your phone. There you go. If the above doesn't work, it might mean that you have to do another really annoying b.s. maneuver to your computer. Not worth mentioning if you don't have to do it. So just reply if this doesn't work and you can take it from there as far as troubleshooting.
Having said all that, the easiest way to install the new su zip file is to just put it on the your SD card, reboot into recovery, and choose install from SD card, and just choose it.
I would just like to thank u guys so much for ur help n def ur patience. I followed the steps u guys gave me n it worked flawlessly. Im so damn happy now lol, ive been trying to do this for sometime now. Now its time to get some ROMs on this bad boy. Once again, thank u very much guys for ur help, its nice to see ppl helping each other out on here so much.
tarheelsmj12001 said:
I would just like to thank u guys so much for ur help n def ur patience. I followed the steps u guys gave me n it worked flawlessly. Im so damn happy now lol, ive been trying to do this for sometime now. Now its time to get some ROMs on this bad boy. Once again, thank u very much guys for ur help, its nice to see ppl helping each other out on here so much.
Click to expand...
Click to collapse
You're more than welcome, just make sure to hang onto ADB and the Android SDK folders, and where they're are, as they'll be necessary for almost any ROM, upgrade, unlock, etc.!

Cannot mount SD card in boot recovery [resolved thanks to mariosraptor]

Hi XDA Community!
Completely bone-headed n00b here (is there any other kind)?
Firstly, a quick background:
HTC Desire, rooted, S-Off, 16 gig Class 4 SD card with 1 gb ext4 partition
I was flashed with a perfectly working Leedroid 2.2f rom, overkill backed up with Clockwork, AmonRa, Titanium, MyBackup Pro, complete SD card backup (you name it, I did it), then wiped and flashed ownhere's Rom because I was running out of app space. The flash was successful then I proceeded to backup ownhere's rom after re-installing all my apps and I think that's where the problem began. I began my first backup with Clockwork via Rom Manager, but was not getting any response, so I rebooted my phone into Clockwork Recovery and backed up ownhere's rom there. After that, I could not turn on my phone.
I'd appreciate if someone could point me in the right direction. As of right now, my phone goes into a vicious boot loop whenever I try to turn it on. I can still get into hboot by holding down the power button and volume down button and then get into Android system recovery (Amon Ra Recovery, build: RA-desire-v2.0.0) by selecting "recovery", but when I try to do a nandroid restore, the error message I get is:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(No such file or directory)
E:Can't mount SDCARD:/nandroid/
I've googled many times and have attempted to follow the steps outlined by various tutorials with similar sounding problems, but unfortunately to no avail. I've tried formatting my SD card on my computer, re-partitioning the SD card on my phone (not sure if that was successful), wiping it, attempting to restore it, attempting to flash it, but I keep getting that same error message above in the end.
I certainly don't deserve it after what I've done, but any help would be greatly appreciated! Thanks for having the patience to read.
EDITED: Below are the steps I took to resolve the issue.
First and foremost, I'd like to point out that prior to encountering this problem (or any problem for that matter), I did a very thorough job of backing up my entire phone multiple times through various methods, but it turns out I only really needed a single nandroid backup and mariosraptor's help. Still, better safe than sorry, I say, which is ironic considering what I did to my phone. Ah well.
Anyway, after running into my problem as described in my OP (original post), the following steps were needed to restore functionality to the phone:
1) With the phone turned off, I booted it into Fastboot by either a) holding down volume rocker+power on button, then choosing "fastboot" or b) holding back button+power on button, which takes you straight into "fastboot".
2) Once in fastboot, I connected my phone to my computer via USB cable.
3) I'm not sure if I needed it running or not, but I then ran Android SDK (a program I used back when I first got my phone and was tinkering with rooting and forcing apps to install onto the SD card before I learned about SD card partitioning and AP2SD/AP2SD+ supported roms and now DATA2SD/DATA2EXT). This program can be downloaded here and an example of how it's used is here, but I'm assuming (I know I shouldn't assume, but I can only describe things I've done or have already done) anyone who as gotten this far already has this program and used it before, even with limited knowledge.
4) I then went into my Start Menu in Windows and ran command prompt. The simplest way to run command prompt, I find, is to type "cmd" into the run dialog, then enter.
5) Once command prompt popped up, I typed in cd\ to change the directory to C:\ and then entered in cd android-sdk-windows/tools to open the directory to c:\android-sdk-windows\tools (I just noticed that you enter in /backsplashes, but end up with \forwardslashes, weird!).
6) I then typed in the fastboot commands as outlined by mariosraptor, that is, I entered "fastboot oem enableqxdm 0" pressed enter, let it finish, then typed in "fastboot reboot" and enter. Wait for phone to reboot, could take a while.
I'm hoping for most people those are all the steps needed in order to restore the phone, but in my case, after entering "fastboot oem enableqxdm 0", I received an error saying: "The program can't start because AdbWinApi.dll is missing from your computer. Try reinstalling the program to fix this problem." I was about to re-install when mariosraptor provided me with the AdbWinApi.dll file here. This is rapidshare link so it will expire. My suggestion is to search for it somewhere (google) if you run into the same missing file as me.
My problem actually didn't stop there either. I found my phone was stuck on the boot animation, although I supposed I could've left it even longer just to make sure it wasn't working, but I actually took my battery out to shut the phone down. I then proceeded to do a nandroid restore to a previous backup I had done before I created this whole problem. I did that by booting the phone into recovery by holding down volume rocker+power button, selecting "recovery", then selecting "nandroid backup/restore" and letting the process go through fully, which took quite some time.
Anyway, it's been a long 20 or so hours for me. I'm going to go rest now. Props again to mariosraptor!
in fastboot mode through adb cmd
fastboot oem enableqxdm 0
fastboot reboot
as long as you are S-off you can use fastboot commands and it is recommended that whatever you do from the moment that youre S-off'd you use fastboot and adb for various works on your Desire.
for more fastboot commands in adb just type fatboot
Hey mario, thanks for the quick reply.
I'm currently reading ADB for Dummies to figure out what you're talking about and will get back to you. I know I've used it before when I rooted my phone, but I was just following step-by-step instructions and had no idea what I was doing.
I recall seeing "unknown device" in device manager while my phone was plugged into my computer via USB during one of my recent attempts at fixing my current issue.
PS. I'm on Windows 7.
So I haven't been able to get far. I've noticed all the ADB commands that need to be entered in command prompt require me to have my phone in "USB debugging mode" by going into in Settings>Applications>Development, but I can't even turn on my phone to get there.
Am I missing something from your instructions? Sorry, my knowledge is quite limited.
When you are in Amonra, you are automaticly in "adb mode" so you can ignore that step. You should however install htc sync for the drivers needed.
turn off your phone by removing battery. press the back button+power on. you are in fastboot mode. the correct cmd's are fastboot commands.
like "fastboot reboot-bootloader" w/o the quotes.
ayato kamina said:
So I haven't been able to get far. I've noticed all the ADB commands that need to be entered in command prompt require me to have my phone in "USB debugging mode" by going into in Settings>Applications>Development, but I can't even turn on my phone to get there.
Am I missing something from your instructions? Sorry, my knowledge is quite limited.
Click to expand...
Click to collapse
Gotcha, I was able to get into "fastboot USB" by following your back button+power on (or down volume+power, then selecting fastboot) and connecting a USB cable to from the phone to my computer. I then went into command prompt (cmd) in the start menu. Typed in:
1) cd\
2) cd android-sdk-windows\tools
3) entered in "fastboot oem enableqxdm 0"
I then received the error message: The program can't start because AdbWinApi.dll is missing from you computer. Try reinstalling the program to fix this problem.
That will be my next step is to re-install Android SDK Windows.
Will report back, thanks!
Lennyz1988 said:
When you are in Amonra, you are automaticly in "adb mode" so you can ignore that step. You should however install htc sync for the drivers needed.
Click to expand...
Click to collapse
Thanks for pointing that out, Lenny. I didn't know that. I'm not sure if I have the HTC Sync drivers, but in fastboot mode (as instructed by mario), I checked device manager in properties of My Computer and the unknown device exclamation icon is gone. I see, ADB interface>HTC Bootloader.
http://rapidshare.com/files/380196682/AdbWinApi.dll
donload it from the link and put in tools foder of SDK
mariosraptor said:
http://rapidshare.com/files/380196682/AdbWinApi.dll
donload it from the link and put in tools foder of SDK
Click to expand...
Click to collapse
Phew! Thanks Mario! I was struggling to re-install Android SDK for some reason. A problem with Java SE JDK. *shrugs*
Will continue now....
i hope it helps. i will see more tomorrow. good luck!!!
ayato kamina said:
Phew! Thanks Mario! I was struggling to re-install Android SDK for some reason. A problem with Java SE JDK. *shrugs*
Will continue now....
Click to expand...
Click to collapse
PROGRESS!!
So I'm finally passed the S-off splash screen and am waiting on the boot animation screen. I expect there to be a problem because I've been formatting and partitioning my SD card so much, the card itself may actually be empty at the moment (not sure). I will wait for while and if nothing changes, I'm going to restore my SD card and try again.
Thanks for getting me this far so far, Mario! Much appreciated!
just let see what happens and hopefully it will work again.
ayato kamina said:
PROGRESS!!
So I'm finally passed the S-off splash screen and am waiting on the boot animation screen. I expect there to be a problem because I've been formatting and partitioning my SD card so much, the card itself may actually be empty at the moment (not sure). I will wait for while and if nothing changes, I'm going to restore my SD card and try again.
Thanks for getting me this far so far, Mario! Much appreciated!
Click to expand...
Click to collapse
mariosraptor said:
in fastboot mode through adb cmd
fastboot oem enableqxdm 0
fastboot reboot
as long as you are S-off you can use fastboot commands and it is recommended that whatever you do from the moment that youre S-off'd you use fastboot and adb for various works on your Desire.
for more fastboot commands in adb just type fatboot
Click to expand...
Click to collapse
my phone is connected,drivers are installed and it is available in fastboot. But when I am typing "fastboot oem enableqxdm 0" it returnes: "... FAILED (status malformed (1 bytes))" and nothing happens.
could u help pleas?
mariosraptor said:
just let see what happens and hopefully it will work again.
Click to expand...
Click to collapse
YES! I can finally turn on my phone again! Thanks so much, Mario! You are a genius and thank you for being so patient with me.
This is what happened:
I waited a while and the phone remained stuck on the boot animation so I took the battery out and completely restored all my files onto my partitioned SD card. I tried booting again with similar results so I tried running a nandroid restore to a previous Leedroid rom from Amon Ra Recovery and no longer received the cannot mount message so the restore was finally able to execute and after a lengthy boot process, I'm up and running again!
Thanks again so much! Once more, I could not have done it without your help. I'm going to see how stable it is, but it looks very good. By tomorrow if I'm still up, I will re-edit my first post with the exact steps I took to remedy my particular problem.
May I have your paypal email address?
persianblue said:
my phone is connected,drivers are installed and it is available in fastboot. But when I am typing "fastboot oem enableqxdm 0" it returnes: "... FAILED (status malformed (1 bytes))" and nothing happens.
could u help pleas?
Click to expand...
Click to collapse
Sorry to hear that, persianblue. In light of your problem, I will write the solution right now, although it sounds like a you're getting a different error message than I did after entering the fastboot command. Regardless, I will post the step-by-step instructions because there's no guarantee you did exactly what I did to recover my phone.
I'll have it up shortly.
SOLUTION
copied and pasted from the first post:
Below are the steps I took to resolve the issue.
First and foremost, I'd like to point out that prior to encountering this problem (or any problem for that matter), I did a very thorough job of backing up my entire phone multiple times through various methods, but it turns out I only really needed a single nandroid backup and mariosraptor's help. Still, better safe than sorry, I say, which is ironic considering what I did to my phone. Ah well.
Anyway, after running into my problem as described in my OP (original post), the following steps were needed to restore functionality to the phone:
1) With the phone turned off, I booted it into Fastboot by either a) holding down volume rocker+power on button, then choosing "fastboot" or b) holding back button+power on button, which takes you straight into "fastboot".
2) Once in fastboot, I connected my phone to my computer via USB cable.
3) I'm not sure if I needed it running or not, but I then ran Android SDK (a program I used back when I first got my phone and was tinkering with rooting and forcing apps to install onto the SD card before I learned about SD card partitioning and AP2SD/AP2SD+ supported roms and now DATA2SD/DATA2EXT). This program can be downloaded here and an example of how it's used is here, but I'm assuming (I know I shouldn't assume, but I can only describe things I've done or have already done) anyone who as gotten this far already has this program and used it before, even with limited knowledge.
4) I then went into my Start Menu in Windows and ran command prompt. The simplest way to run command prompt, I find, is to type "cmd" into the run dialog, then enter.
5) Once command prompt popped up, I typed in cd\ to change the directory to C:\ and then entered in cd android-sdk-windows/tools to open the directory to c:\android-sdk-windows\tools (I just noticed that you enter in /backsplashes, but end up with \forwardslashes, weird!).
6) I then typed in the fastboot commands as outlined by mariosraptor, that is, I entered "fastboot oem enableqxdm 0" pressed enter, let it finish, then typed in "fastboot reboot" and enter. Wait for phone to reboot, could take a while.
I'm hoping for most people those are all the steps needed in order to restore the phone, but in my case, after entering "fastboot oem enableqxdm 0", I received an error saying: "The program can't start because AdbWinApi.dll is missing from your computer. Try reinstalling the program to fix this problem." I was about to re-install when mariosraptor provided me with the AdbWinApi.dll file here. This is rapidshare link so it will expire. My suggestion is to search for it somewhere (google) if you run into the same missing file as me.
My problem actually didn't stop there either. I found my phone was stuck on the boot animation, although I supposed I could've left it even longer just to make sure it wasn't working, but I actually took my battery out to shut the phone down. I then proceeded to do a nandroid restore to a previous backup I had done before I created this whole problem. I did that by booting the phone into recovery by holding down volume rocker+power button, selecting "recovery", then selecting "nandroid backup/restore" and letting the process go through fully, which took quite some time.
Anyway, it's been a long 20 or so hours for me. I'm going to go rest now. Props again to mariosraptor!
Click to expand...
Click to collapse
Congrats mate. nice to hear that you are up and running again. this is what the community does. Help each other!!!
mariosraptor said:
Congrats mate. nice to hear that you are up and running again. this is what the community does. Help each other!!!
Click to expand...
Click to collapse
Absolutely! I'm discovering that firsthand thanks to you. Again, I appreciate your help. I had spent soooo much time trying to figure it out on my own and you were able to help me right away.
You sir, are a class act!
So it's been over a full day since my personal debacle and I'm happy to say my phone is still up and running . There has been, however, one abnormality. It's not a huge issue in the long run as I can still use the phone as I normally do, but I've noticed whenever I plug my micro-usb cable into my phone (with the other end either connected to a computer or a power outlet), there is a noticeable delay before it starts charge. Also, when connected to a computer, I'm no longer receiving the prompt for 1) charge only 2) mount sd card 3) sync 4) etc etc.
The icon in the top left that normally pops up doesn't show either when I have it connected to computer. Again, not a big deal in the long run, but obviously it can be a nuisance not being able to transfer files b/t my phone and computer via this method anymore. Not sure if anyone else has encountered this issue. I'm using the same cable, same computer. My next step is to try it on a diff computer, then eventually a different cable and hopefully that might be the issue.

[GUIDE] HOW TO FLASH STOCK - when all else fails [NOOB EDITION]

This How-to is special. This is for when all else fails or you've just reached a point when the device's software is broken and doesn't flash or run correctly.
I'd messed up my device pretty badly. This will also work for you if you are having key_info issues.
If your partitions are broken. If your phone is refusing to flash. If your phone is bootlooping without reason.
Performance issues of any other sort including but not limited to Fingerprint, Bluetooth, Audio, Wi-Fi, NFC and MSIM.
READ IT A FEW TIMES. DO NOT MISS ANY STEPS.​
Code:
[B][CENTER]*** DISCLAIMER***[/CENTER][/B]
DOING THIS WILL ABSOLUTELY WIPE EVERYTHING ON YOUR DEVICE. PARTITIONS INCLUDED.
I AM NOT RESPONSIBLE FOR ANY OUTCOME FROM IT.
EVEN IF IT MEANS THERMONUCLEAR WAR OR YOUR SIGNIFICANT OTHER/ FAMILY ATTEMPTING TO KILL YOU
REQUIREMENTS - ALL MUST BE MET​
WINDOWS COMPUTER with functioning USB 2.0 ports. I said 2.0.
Original cable or one you know for SURE has no issues in it. I personally prefer the OnePlus cables.
ORIGINAL SOFTWARE(Linked in the post)
UNLOCKED ROBIN [MUST]
Lots of patience (SERIOUSLY)
SOFTWARE​The USB driver for your Robin and ONLY the 7.1.1 N108 image. LINK
ADB and FASTBOOT from this XDA Thread -> LINK
HOW TO - READ TWICE. EXECUTE ONCE.​1. Start with USB Driver I used windows 10 to do this.
Right Click downloaded Robin USB Driver.
Properties -> Compatibility -> Run this program in compatibility mode-> Windows XP SP3
Hit Apply -> Ok -> Run installer -> Follow Steps.
Finish Installer -> REBOOT (I mean it)
2. Unzip your rom to a folder. For Example C:\N108
3. Go to the folder where you have unpacked your ROM. Unzip the contents of the Minimal ADB and Fastboot into that folder. Overwrite ALL existing files.
4. Click FILE-> Open Command Promt -> Open Command Prompt as ADMINISTRATOR -> Click Allow. CD to your folder. If you are using another drive you'll have to go X: followed by cd X:\<your folder name>
5.Type this in the command window
Code:
set ANDROID_PRODUCT_OUT=<LOCATION OF YOUR ROM>
LEAVE THIS COMMAND WINDOW OPEN.
6. inside your rom folder Right Click -> New - >Text Document
7. Copy the following into the first line of your document and save it.
Code:
board=NBQ_BSP
Save the file as
Code:
android-info.txt
8. Recheck that you did all those steps. You CANNOT miss a single one.
9. Put the phone into FASTBOOT mode. Hit the power button -> First screen -> Press any volume key -> Navigate to Fastboot and hit the power button. Your phone is now in fastbooot mode.
10. Connect the cable and DO NOT move it once it is connected. Do NOT connect ANY other phone during this process.
11. Check your Device Manager. It should say that there is an Android Fastboot Device connected.
12. Switch back to your command window. NOW READ THE NEXT STEPS AND COPY PASTE THEM ONE AT A TIME> DON'T MAKE A MISTAKE.
13. TYPE
Code:
fastboot devices
you will get a response with fastboot and a device number.
Make sure only the Robin is connected. NOTHING ELSE.
If it does not come up you messed up the Fastboot/ADB install.
14. NOW; THIS IS THE TRICKY PART. DON'T mess up. DON'T disturb the phone/cable/computer. Don't do ANYTHING else.
WAIT​Then next step will leave the phone looking like it is doing NOTHING. That's ok. It takes a VERY long time.
type the following into the command prompt
Code:
fastboot -i 0x2c3f -w flashall
AT THIS POINT it will say something like
Code:
Target report size <number>
LEAVE THE DEVICE AND WALK AWAY. Get a snack.
15. After sometime. The script will say succeeded and the phone will reboot.
16. Congratulate yourself on your patience. you have a fresh installed device.
If you want to custom ROM read on ->
1. Download the latest TWRP here
2. Reboot to fastboot mode.
3. fastboot "fastboot -i 0x2c3f flash recovery <twrp image name>"
4. Reboot to recovery
5. Swipe to allow modifications.
6. Wipe -> Format Data -> Yes.
7. Copy your favourite ROM to internal storage.
8. Flash it. You are one your way!
Saving it. Just in case.
Hi @valhallen.282,
I followed your instructions and all went well, however, when flashing system image I am getting the following error. Am I doing something wrong here? Appreciate your help.
sending sparse 'system' (516282 KB)...
FAILED (data transfer failure (Too many links))
finished. total time: 12.979s
minhajlk said:
Hi @valhallen.282,
I followed your instructions and all went well, however, when flashing system image I am getting the following error. Am I doing something wrong here? Appreciate your help.
sending sparse 'system' (516282 KB)...
FAILED (data transfer failure (Too many links))
finished. total time: 12.979s
Click to expand...
Click to collapse
What cable are you on and what port? That sounds like it is starting the wipe and not finishing it.
valhallen.282 said:
What cable are you on and what port? That sounds like it is starting the wipe and not finishing it.
Click to expand...
Click to collapse
I am using the original cable on USB 2 port.
Sent from my Nexus 5 using XDA Labs
minhajlk said:
I am using the original cable on USB 2 port.
Click to expand...
Click to collapse
I'd start with trying a different cable or using it the other way around. (yes I know it sounds stupid.) But that's just the way it is. (I know this because my stock cable has stopped working. ) You could try the One Plus cables. They seem to be of exceptional build quality.
valhallen.282 said:
I'd start with trying a different cable or using it the other way around. (yes I know it sounds stupid.) But that's just the way it is. (I know this because my stock cable has stopped working. ) You could try the One Plus cables. They seem to be of exceptional build quality.
Click to expand...
Click to collapse
Ok I will try that out and get back to you. Thanks mate.
Sent from my Nexus 5 using XDA Labs
Did this but got an error
Here's how my steps went
Code:
set ANDROID_PRODUCT_OUT=C:\User\[USER]\Documents\N108
created the text file, placed it into the n108 folder
then after flash all i got this
Code:
fastboot -i 0x2c3f -w flashal
load_file: could not allocate -1373637176 bytes
error could not load system.img
what do
JaxXzTwitch said:
Here's how my steps went
created the text file, placed it into the n108 folder
then after flash all i got this
what do
Click to expand...
Click to collapse
Are you unlocked is the first question.
Second is - adb is running from within the specified folder or outside it.
Third is what cable. Without details it's difficult to analyze what you've faced.
valhallen.282 said:
Are you unlocked is the first question.
Second is - adb is running from within the specified folder or outside it.
Third is what cable. Without details it's difficult to analyze what you've faced.
Click to expand...
Click to collapse
Yes i'm unlocked
it's within the target folder,
using stock cable, i've used it on adb before and it's only a few days old so i think it isn't ruined
Do you currently have a working TWRP? If you do suggest you go in and wipe EVERYTHING.
INCLUDING System + Data + Caches + Internal. Immediately reboot to bootloader. Yes it warms you of no OS loaded that's fine.
Then try again.
Yes it needs that drastic sometimes. As long as you have fastboot you can always come back to TWRP and an empty device.
valhallen.282 said:
Do you currently have a working TWRP? If you do suggest you go in and wipe EVERYTHING.
INCLUDING System + Data + Caches + Internal. Immediately reboot to bootloader. Yes it warms you of no OS loaded that's fine.
Then try again.
Yes it needs that drastic sometimes. As long as you have fastboot you can always come back to TWRP and an empty device.
Click to expand...
Click to collapse
i'm kind of hesitant to do that, because i get errors when plugging in my phone and it won't recognize it sometimes, and fastboot won't complete flashes.
JaxXzTwitch said:
i'm kind of hesitant to do that, because i get errors when plugging in my phone and it won't recognize it sometimes, and fastboot won't complete flashes.
Click to expand...
Click to collapse
see now that's important information. That means your cable IS on it's way out! NextBit built a fantastic phone but an utterly design oriented non functional cable.I'd suggest buying or borrowing a One Plus USB-C cable.
However - explain your errors please.
it could be the cable, but it's only days old, i get "this usb device has malfunctioned and is not recognized by windows" errors, or my device will read as connected, but offline, when i execute "adb devices", running "adb kill-server" doesn't bring it back either
JaxXzTwitch said:
Here's how my steps went
Code:
set ANDROID_PRODUCT_OUT=C:\User\[USER]\Documents\N108
created the text file, placed it into the n108 folder
then after flash all i got this
Code:
fastboot -i 0x2c3f -w flashal
load_file: could not allocate -1373637176 bytes
error could not load system.img
what do
Click to expand...
Click to collapse
I had this issue with N88 and N108, here is what I did:
Once the flash has failed, reboot back to bootloader by holding Volume Down and Power until the screen goes off, then release Power, then press Power again to boot, all while still holding Volume Down.
Once back into Fastboot mode, open a new Command prompt (cmd.exe), change to the directory with the files and type "fastboot -1 0x2c3f flash system system.img" and wait for it to finish (parse 6/6).
Once that has finished type "fastboot reboot" to reboot and then leave it alone until you see the purple "Welcome" screen.
Hope this helps.
DJ_SpaRky said:
I had this issue with N88 and N108, here is what I did:
Once the flash has failed, reboot back to bootloader by holding Volume Down and Power until the screen goes off, then release Power, then press Power again to boot, all while still holding Volume Down.
Once back into Fastboot mode, open a new Command prompt (cmd.exe), change to the directory with the files and type "fastboot -1 0x2c3f flash system system.img" and wait for it to finish (parse 6/6).
Once that has finished type "fastboot reboot" to reboot and then leave it alone until you see the purple "Welcome" screen.
Hope this helps.
Click to expand...
Click to collapse
+DJ_SpaRky
is the net result of your flash method same as the original intentions ie
This will also work for you if you are having key_info issues.
If your partitions are broken.
If your phone is refusing to flash.
If your phone is bootlooping without reason.
Performance issues of any other sort
iluvatrix said:
+DJ_SpaRky
is the net result of your flash method same as the original intentions ie
This will also work for you if you are having key_info issues.
If your partitions are broken.
If your phone is refusing to flash.
If your phone is bootlooping without reason.
Performance issues of any other sort
Click to expand...
Click to collapse
Just a fix for the "cannot find system.img" error.
DJ_SpaRky said:
Just a fix for the "cannot find system.img" error.
Click to expand...
Click to collapse
so would this be considered a successful flash back to stock?
& fixed broken partitions as well?
iluvatrix said:
so would this be considered a successful flash back to stock?
& fixed broken partitions as well?
Click to expand...
Click to collapse
Yes, back to Stock, not sure about broken partitions, never had that problem.
Yes back to stock and fully repaired partitions. The OP says so specifically.
The NextBit method is simply a wipe and overwrite. This is wipe, rebuild, rewrite from scratch.

[GUIDE] Root and unbrick steps for ASUS ZenPad C 7.0 (P10Z - Z170C)

Hi all! It took me a lot of time to finally being able to root this tablet. It's old, slow and practically unusable, but with some tricks it can be made much, much better. I'm going to explain what you need to do to root this tablet, and in case of brick (which happened to me many, many times) how to unbrick it. I even got to a point where I could not even boot into recovery mode, and only fastboot was working, that was scary, but I managed to get out. Every single file I will use will be bundled in a ZIP you can download, and I'll try to make sure this link stays up, because there's nothing more frustrating than wanting to make these things in the future only to find out the link is dead, along with all your hopes. Before we begin, a little disclaimer:
Code:
#You, and only you are responsible for everything that you do or happens to your tablet.
#If you screw up, I have a number of backups to help you recover, but if that's not enough don't point a finger at me.
#I will not be babysitting anybody to help restore their tablet or recover lost data.
#This process WILL wipe all of your data, do a backup before beggining.
#YOU HAVE BEEN WARNED!
1. ENABLING USB DEBUGGING
This is a very basic step, but it's needed if you want to even begin to do this. You'll need to go to "Settings -> About Phone". There, look for a line that says "Compilation Number" (or something like that) and tap it multiple times. You will see a message pop up saying "You are now a developer" (I wish it was that easy). Go back to the settings screen, you will see a new option appeared called "USB Debugging". Enable it, and make sure "Developer Options" are enabled too at the very top of the screen. Now, connect the tablet to your computer. You will see a message pop up asking for permission, tap "Always allow from this computer" and press "Allow".
That's it for this step.
2. SETTING UP ADB TOOLS AND MAKING SURE THEY WORK
Now that we have USB debugging enabled, and we have allowed our PC to access the tablet, we can begin setting up ADB. The required files are attached in the zip.
Extract the "platform-tools" folder and move it somewhere nice. Then open it, hold shift and right click in a white space and select the option "Open command window here". CMD will pop up, now type:
Code:
adb devices
It will probably say something about a server followed by a list of attached devices. If you see a serial number there, then great! ADB is working as it should. If not, make sure the tablet is connected, that USB Debugging is on, and if all else fails, try with another cable.
Now for the juicy part.
3. UNLOCKING THE BOOTLOADER
We will have to unlock the bootloader if we want to do anything here. Here's what to do. Type:
Code:
adb reboot fastboot
Wait until the tablet reboots into fastboot. Once there type:
Code:
fastboot oem unlock
fastboot oem unlock confirm
This should unlock the bootloader.
NOTE: This method of unlocking is reported to not work anymore, but I listed it anyway just in case, as it doesn't hurt to try. If this is not working for you, don't panic, it's normal, use the following code instead:
Code:
fastboot oem asus-go
fastboot oem asus-go confirm
This should work, and the bootloader should be unlocked now.
4. INSTALLING THE REQUIRED FIRMWARE
Now, your tablet may or may not have the required firmware for the procedure, but just in case we will flash one that's sure to work. If you followed along, you should be in fastboot mode right now. Type:
Code:
fastboot reboot
Your tablet should boot as normal, without any changes (unless the first bootloader unlock method worked for you, in which case it probably wiped all of your data). Now we can access ADB once again, so type:
Code:
adb reboot recovery
The tablet will reboot into recovery mode and you should see an image of wasted android with an open belly (if you don't see this it doesn't matter). You should see a list of options with blue text, you must use the volume keys to navigate this menu. If you don't see any options, press any volume key and they should appear. If instead of getting into recovery mode, the tablet just turned off, then go to the "Fixing recovery" section.
In this menu, you must select "Wipe data/factory reset". This will, obviously, wipe all of your data. Once that finishes, select the "Install update through ADB" option. Once that's done, make sure the "updated_firmware.zip" file is in the same directory as the "adb.exe" file, then type:
Code:
adb sideload updated_firmware.zip
This will install the firmware, it will take about 20 mins. Once finished, reboot the device. You may think it got bricked at this point, fear not, the first boot really takes this long (about 10 mins).
Once everything is done, the device should boot up and everything should be exactly as it was when you took it out of the box, meaning, it doesn't even remember your wifi password. Do a quick (but proper) set up and enable USB Debugging again, make sure to allow the PC again (and check the "always allow" box). Also, scroll down a bit more in the developer options section and look for one that says "Verify apps installed through USB" or something of that kind. Make sure it's unchecked. Now, we gotta install root.
5. ROOTING
The all holy root, finally here. Type this into the terminal:
Code:
adb reboot fastboot
You should be familiar with this process by now. Once in fastboot mode, type:
Code:
fastboot boot root.img
Once finished, reboot. You should boot up as a rooted user, hooray! Only one final step, we gotta give ourselves some means to control this new power, that's where the SuperSU app comes into play.
6. INSTALLING SUPERSU
Apparently, not every single SuperSU apk file works... but lucky for you, I managed to scout and bundle one that does, so use that one. Make sure the apk file is in the same folder as "adb.exe" (as with all of the previous files) and type:
Code:
adb install supersu-2-82.apk
Leave it a few mins, and you should see a "success!" message when it's finished. Open the SuperSU app and it will tell you that you need to update the binaries. Say yes to that, and when asked wether to do a "Normal" update or "TWRP" update, select normal. It should be successful and prompt you to reboot, do so.
That's about it, you now have root access in the ASUS ZenPad C 7.0.
NOTE: Every single attempt I made to make the SuperSU app a system app resulted in the app crashing and I needed to reinstall it again, do as you please.
Why would you even want to do this you might ask? Well, I personally used this to make a few tweaks with Kernel Auditor and L Speed, two apps that will let you customize the performance of the machine to its maximum... sacrificing battery of course. You can search online for the best configuration for you for these apps. With the right tweaks, it transforms from **** to usable, and you need root for all of this.
As a quick note, you might notice that the SuperSU pop up that prompts you wether to grant or deny root access to an app is delayed, that's just how life is with this machine, it's slow. As a tip, when an app is trying to acquire root access, go back to the home screen and open the SuperSU app, then go back to the app you were trying to give it access to, it should appear quicked that way. Sometimes it's so slow that the app says I don't have root, only to have the pop up appear 10 seconds later. Now... to a final chapter.
7. UNBRICKING
This would be the end of the story if nothing went wrong, you have a rooted tablet and you can now do whatever you want with it, but that's not how life is. **** happens, things can go wrong, and when they do, you better have a backup plan. I don't know how to get back your ex, but I know how you can unbrick your tablet if that should happen. Follow these steps if you want to recover this machine...
Code:
#This process will wipe all data, but you shouldn't care about that since you can't access it anyway.
So, if the tablet doesn't turn on and gets stuck at the boot up screen, what can we do? Well, let it sit at the boot up screen for a few mins, and then type in the terminal:
Code:
adb devices
If it's recognized, then type:
Code:
adb reboot recovery
If it's not recognized, press the power button and the volume down key until the tablet turns off. Once that happens, press the power button and the volume down key, when the logo appears, let go of the power button and keep the volume down key pressed, that should boot the tablet into recovery mode. If you got into recovery mode, skip to 7.2
7.1 FIXING RECOVERY MODE
Sometimes, (it happened to me), recovery mode is broken.... it just doesn't appear, no matter what you do you can't get into it. To fix this, we gotta flash it again. We gotta enter fastboot mode. One option is to boot up the device until it gets stucked and wait a few mins, then adb should be able to recognize it and you type:
Code:
adb reboot fastboot
If that's not the case, turn the tablet off and press power and volume up, that should get you to fastboot. Once there type:
Code:
fastboot devices
And the tablet should appear there, if it doesn't... well it better do. I don't really know what to do if it doesn't appear there, but there shouldn't be a reason for it not to. I guess you can try to enter fastboot once again, with the tabler connected from the beggining or something like that, let's just assume it does, and if it doesn't then I'm sorry to tell you that's homework you will have to do.
Once here, we must format the cache and the data partition, for that type the following:
Code:
fastboot format cache
fastboot format userdata
Now, we need to get the recovery files, grab them from the zip I gave you. The files in question are "recovery.bin" and "vrl.bin". We will start with vrl. Once the two formats are finished, type:
Code:
fastboot flash vrl vrl.bin
Followed by:
Code:
fastboot flash recovery recovery.bin
Once that's done, press the power button and volume down keys until the tablet turns off. Then, press them again until the logo appears, and when that happens let go of the power button, that should get you (finally) into recovery.
7.2 UNBRICKING (FOR REAL THIS TIME)
Well, now that everybody is on the same page, and we could get to recovery mode, it's time to repeat some steps really... Follow the procedure from step 4 onwards (from the part that tells you to go to recovery). So, wipe data and apply that damn zip with sideload, the tablet should work now.
That's all I have to offer guys. I'm not a developer, I'm just a guy with a bunch of free time on his hands, so I was able to gather all of this information and (most importantly) files so you can root and fix this god damn tablet. Until the next one!
FINAL NOTE: In the files I included, there's a TWRP.img file. This is the TWRP custom recovery. As far as I know, this version should work with this tablet, but I was unable to flash it and make it work. IF YOU WANT TO TRY THIS DO SO AT YOUR OWN RISK, IT'S HIGHLY PROBABLE THAT THIS WILL RESULT IN BRICKING YOUR TABLET AND BREAKING THE STOCK RECOVERY, IN WICH CASE YOU WILL NEED TO FOLLOW THE STEPS STATED IN THIS GUIDE.
I couldn't upload the files as an attachment directly... sorry.
The "updated_firmware.zip" file is added as a separate download because it's a bigger file, and I prefer to let people decide if they even want it in the first place.
updated_firmware.zip
Everything else
None of the 8 drivers from Intel or Google detect the device in fastboot mode. I tried fixing this tablet years ago and had the fastboot drivers. As far as I know I have the same ones. These all loaded with no problem, but I could never get ADB Device to detect it in fastboot mode
Google: Android ADB Interface | Android Bootloader Interface | Android Composite ADB Interface
Intel: Android ADB Interface | Android Bootloader Interface | Intel AndroidADB Interface | Intel Android Bootloader Interface | Intel Android Composite ADB Interface
neghvar said:
None of the 8 drivers from Intel or Google detect the device in fastboot mode. I tried fixing this tablet years ago and had the fastboot drivers. As far as I know I have the same ones. These all loaded with no problem, but I could never get ADB Device to detect it in fastboot mode
Google: Android ADB Interface | Android Bootloader Interface | Android Composite ADB Interface
Intel: Android ADB Interface | Android Bootloader Interface | Intel AndroidADB Interface | Intel Android Bootloader Interface | Intel Android Composite ADB Interface
Click to expand...
Click to collapse
Make sure you enable usb debugging, no driver will work without that enabled.
tralph3 said:
Make sure you enable usb debugging, no driver will work without that enabled.
Click to expand...
Click to collapse
Not possible. This hangs during boot up or I can enter fast boot mode. It has been like this for years. Basically a soft brick. I tried to fix this years ago as stated above, but having seen this latest post about it, I decided to try again. But this time, I cannot find a fastboot driver that shows the device as attached when I run ADB devices
neghvar said:
Not possible. This hangs during boot up or I can enter fast boot mode. It has been like this for years. Basically a soft brick. I tried to fix this years ago as stated above, but having seen this latest post about it, I decided to try again. But this time, I cannot find a fastboot driver that shows the device as attached when I run ADB devices
Click to expand...
Click to collapse
Be aware that when in fastboot mode, adb devices never lists anything, you must use "fastboot devices"
tralph3 said:
Be aware that when in fastboot mode, adb devices never lists anything, you must use "fastboot devices"
Click to expand...
Click to collapse
Yep! That's where I was messing up. Thank you.
And the tablet is now working. Thank you very much.
One last question though. I tried to install the twrp.img file included in the pack
fastboot flash recovery TWRP.img
Here is what I got
Sending 'recovery' (26588 KB) (bootloader) Ready to receive: 0x019f7000 size of data
OKAY [ 0.741s]
Writing 'recovery' (bootloader) Flashing partition: recovery
FAILED (remote: ' Download image size is large than partition size')
fastboot: error: Command failed
How do I get around this if the image file is too large?
neghvar said:
Yep! That's where I was messing up. Thank you.
And the tablet is now working. Thank you very much.
One last question though. I tried to install the twrp.img file included in the pack
fastboot flash recovery TWRP.img
Here is what I got
Sending 'recovery' (26588 KB) (bootloader) Ready to receive: 0x019f7000 size of data
OKAY [ 0.741s]
Writing 'recovery' (bootloader) Flashing partition: recovery
FAILED (remote: ' Download image size is large than partition size')
fastboot: error: Command failed
How do I get around this if the image file is too large?
Click to expand...
Click to collapse
Yeah I never could get around it either. I never could install a custom recovery on this tablet, it just wasn't made for it. But hey, root is cool.
Work?
Still working?
jerryspring said:
Still working?
Click to expand...
Click to collapse
Why wouldn't it? This tablet ain't gonna change. Everything should work no problem.
Hi, any custom rom for this device to make it useful ?
It is in my drawer for more than 2 years and I just do not know what with it
Also how to play with settings in root mode so I can make it faster ?
Hey folks,
I recently followed this guide and a couple of issues.
First, I had expected all my data to be gone, which is fine. But it wasn't. I seemed to have gotten all the way through without it being reformatted, and this makes me suspect I never really achieved all the goals.
One thing I should note, in recovery boot, I had to use the volume button to select a source. No big deal, but it had not worked until I guessed I needed to do that.
Oh, and another thing is I had to install the driver package, and then after, once it was rebooted into fastboot, manually guide the device manager to select from list.
It seems after complete shutdown and then a fresh bootup, my SuperSU software was gone. So, is this only a tethered root boot? Is there a completely untethered?
After rebooting again, it seems my device will not complete booting, but I will give it some more time. I may have bricked it, though I have no idea how lol. All I did was enable USB debugging again and issued the reboot command.
I know this is an old guide, and probably long forgotten by most participants, but I recently got one of these tablets online, open box but new or like new, for around $20, and I would like to get it rooted because otherwise, it is extremely sluggish and the battery drains very fast. I read online it is google play services at fault, but I do not know for sure.
Anyway, if anyone has any updated info or alternative method to achieve full root access untethered, please advise. Unless this guide is that, in which case I just need to try again. Just out of curiosity, what is the TWRP.img for?

Categories

Resources