Cannot Flash Custom Recovery - Nexus 5 Q&A, Help & Troubleshooting

Hi there, I followed this guide [http://forum.xda-developers.com/showthread.php?t=2507905] to root my nexus 5, but i ran into trouble while flashing custom recovery.
I got to the clockworkmod recovery page but i hit "reboot system now" and now i can't seem to boot into recovery. (A dead android shows up).
The phone works fine and will load up but every time i try to boot into recovery the dead android shows up.. Anyone can help?
Thanks so much in advance!

Hi so i tried reflashing CWM and from there i tried to proceed to the root section, but when i tried to push the SuperSU zip file to my sdcard, it didn't work.
In terminal it returned this -
./adb push UPDATE-SuperSU-v1.80.zip /sdcard
6449 KB/s (1160801 bytes in 0.175s)
But in CWM when i hit install zip from sdcard it says "No files found".
Any idea what i'm doing wrong?
Thank you!

Try pushing to /data/media see if different. Then try /data/media/0
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit

Related

Clockwork Recovery for Coby Kyros MID-7015--Updated

All credit for this goes to Razor950
Coby Kyros MID-7015
Download recovery.img from Sendspace.com - send big files the easy way
use flash_image and flash recovery to tablet. (ex flash_image recovery /sdcard/recovery.img)
Navigating:
Home is down
Menu is select
Back is back
Everything works and I'll post stock nandroid dumps on here soon.
Update some are reporting that they are unable to Flash to the recent firmware update that was posted
on the coby website do to the clockworkmod being installed.
Thanks to Kasten for coding this then thanks to adamdietrick for creating a new zip
That can be flashed with the clockworkmod installed.
Clockworkmod Coby Firmware update
Donate if you like Razor950's work!
thanks for posting
any issues that anyone gets with this recovery, please pm me.
enjoy
havic said:
Everything works and I'll post stock nandroid dumps on here soon.
Donate if you like Razor950's work!
Click to expand...
Click to collapse
Here's my backup
http://www.megaupload.com/?d=5ALHYN80
You must be rooted (I assume z4root or universal android root works)
then either using terminal (grab terminal app from market) or using adb.
Grab the recovery.img and drop it into sdcard via usb or adb push.
Open terminal and type su and then flash_image recovery /sdcard/recovery.img
or if using adb, its adb shell and then su and then flash_image recovery /sdcard/recovery.img
Note: I am not the best at writing noobie guides but hopefully it helps
Thanks for this. I do not have mine yet( lol, just ordered it) but I donated for your work!
Thanks!
Anyone have a idea on how to get back into recovery? I have it installed but have tried holding every button to get me back and nothing kinda sucks since I have been testing new mods for this and cant get to my backup because the first shot at the mod was a fail.
I was able to get clockwork installed thanks to you. Do you know of any images that are out for the 7015?
Lawful123 said:
I was able to get clockwork installed thanks to you. Do you know of any images that are out for the 7015?
Click to expand...
Click to collapse
Aside from stock(rooted) dump, there is nothing, I'll work with havic to get a rooted dump with google apps(market mostly) working correctly.
Besides that there is nothing else from my end for now. I personally don't like telechip tablets, bad experience from a gentouch :X
Also telechip company are retards and don't release kernel source, it'd help developers optimize a 2.1 rom and also be able to port kernel to a newer one for 2.2
I can see that this model gained popularity this black Friday. We are just now starting to see android tablets hit " Joe User ". I think that the telechip tabs will become popular so long as the price is on point. Thanks for all you do.
what exactly is this recovery for?
does installing this offer me additional features, or is it merely what we would restore to in case of disaster?
Deenybird said:
what exactly is this recovery for?
does installing this offer me additional features, or is it merely what we would restore to in case of disaster?
Click to expand...
Click to collapse
For now it is a good way to backup your unit so that if you screw it up you can go back. In the future people will make images for it. Hopefully someday android 2.2
Which version of flash_image tool is needed to flash this recovery or is the tool stock on the tablet?
EDIT: figured it out. stock. Looking through the dump now =)
adamdietrick said:
Here's my backup
http://www.megaupload.com/?d=5ALHYN80
Click to expand...
Click to collapse
If you try and recover from the backup that is in the link you may or may not get a error.The error is md5 mismatch. So the recovery fails to install.
What needs to be done is need to have busybox installed then shell in and run the following commands.
This has to be ran from the dir. that contains the backup files.
Which will more than likely be similar to this
/sdcard/clockworkmod/backup/2010-12-01.20.41.18
#busybox md5sum -c nandroid.md5
boot.img: OK
cache.img: OK
data.img: OK
recovery.img: OK
system.img: OK
# reboot recovery
reboot recovery
Once in clockwork then run a recovery.
If you have a Issue let me know I will try my best to get you some answers.
razor950 said:
You must be rooted (I assume z4root or universal android root works)
then either using terminal (grab terminal app from market) or using adb.
Grab the recovery.img and drop it into sdcard via usb or adb push.
Open terminal and type su and then flash_image recovery /sdcard/recovery.img
or if using adb, its adb shell and then su and then flash_image recovery /sdcard/recovery.img
Note: I am not the best at writing noobie guides but hopefully it helps
Click to expand...
Click to collapse
When I type this it it says its file not found.
I double checked and in astro I see
sdcard/recovery.img
any ideas?
beccaannabell said:
When I type this it it says its file not found.
I double checked and in astro I see
sdcard/recovery.img
any ideas?
Click to expand...
Click to collapse
where are you when you type that? does it not find the flash_image binary or the .img?
Worked for me
I got it working by doing the following.
1. Download and installed "Android Terminal Emulator" on to the device.
2. Download and installed Z4Root 1.3.0.apk from here http://forum.xda-developers.com/showthread.php?t=833953
3. Run it and pressed the "Permanent Root" button. It took a bit and it auto rebooted.
4. Place the recovery.img on the root of my sd card. (Razor950's recovery.img is from post#1 on this thread.)
5. Opened "Android Terminal Emulator".
6. Entered the following.
su
flash_image recovery /sdcard/recovery.img
7. Locked everything up for about 5 min and it went back to # prompt when it was done.
8. I powered off the device.
9. After it turned off I pressed and held the back button then pressed the power button. Kept holding it until you see clockworkMod v2.5.1.3. (If it says Android it's too late.)
I have a question myself what is sd-ext on clockwork? Also is there a way to do a selective backup? Just system with no data?
Thanks.
Thanks for your procedure, will try it when I receive my tablet.
Regarding your question about sd-ext, it's a partition of your sdcard. One will be in fat32 and the other in ext2 or ext3. Usually ext2 is used when you have app2sd or 12sd+. The purpose of this is to have more apps in install by installing them on your ext partition instead of internal memory. I use it for my HTC desire (smartphone)
Regarding your second question, I don't know anyway of doing a backup without data but pretty sure it's possible, for example, if you go in your Android do a factory reset. reboot in recovery then do your backup. Not sure if there's another way to do it
Yezir!
Kasten said:
I got it working by downing the following.
1. Download and installed "Android Terminal Emulator" on to the device.
2. Download and installed Z4Root 1.3.0.apk from here http://forum.xda-developers.com/showthread.php?t=833953
3. Ran it and pressed the "permit root" button. It look a bit and it auto rebooted.
4. Place the recovery.img on the root of my sd card.
5. Opened "Android Terminal Emulator.
6. Entered the following.
su
flash_image recovery /sdcard/recovery.img
7. Locked everything up for about 5 min and went back to # prompt when done.
8. Powered off device.
9. Press and held the back button then pressed the power button. Kept holding it until I saw clockworkMod v2.5.1.3. (If it says Android its too late)
I have a question myself what is sd-ext on clockwork? Also is there a way to do a selective backup? Just system with no data?
Thanks.
Click to expand...
Click to collapse
this is perfect!!!!! thanks for thinking of us dummies
Daali said:
where are you when you type that? does it not find the flash_image binary or the .img?
Click to expand...
Click to collapse
same thing for me
"error opening /sdcard/recovery.img:No such file or directory"
Help
noonerealy said:
same thing for me
"error opening /sdcard/recovery.img:No such file or directory"
Help
Click to expand...
Click to collapse
Can you see the recovery.img on your sd card from a file manger app like Astro? If so when your in the terminal can you cd to /sdcard? If so can you enter ls -l recovery.img? Check the size to make sure it is all there.
I have anther question myself.
At cobyusa.com/?p=prod&prod_num_id=10498&pcat_id=1013 there is a firmware update. in the update.zip in system in the build.prop file i see a line that says "ro.build.version.incremental=eng.enzo.20101125.200217". I notice that the build number on the device says "MID7015 1.6a_20101105-2". Looks like they may have changed somethings but not sure what. What would be bet best way to figure out what they changed?
I tried to run it from clockwork and i get
assert failed: getprop("ro.product.device") == "tcc8900" || getprop("ro.build.product") == "tcc8900"
E:Error in /sdcard/update.zip
(Status 7)
Installation aborted.
To install this update would I just have to unroot my device? Not sure how to look what the current ro.build.product is now.
Thanks.

[Q] Phone stuck in boot loop - trying to update from fastboot. help needed!

Hi,
Last Friday I turned my phone off and when I turned it back on it got stuck on the loading screen and has been like that since.
I tried removing the battery loads, with no joy. I tried factory reset and clearing cache through the recovery menu, still nothing. So now I want to flash it but I'm having trouble.
I can't get the phone to boot so can't use adb to push a file to the sdcard and I'm stuck with fastboot commands (which I'm not that familiar with other than what I've found on here!). I downloaded the OTA update (from links found in these forums) for my phone to take it to 4.0.3 as I thought it was worth doing. I renamed it to update.zip but when I try the command "fastboot update update.zip" I get the message:
archive does not contain 'android-info.txt'
archive does not contain 'android-product.txt'
error: update package has no android-info.txt or android-product.txt
I then tried the full ROM from this thread: http://forum.xda-developers.com/showthread.php?t=1063664
but got the same message.
I don't know what these missing files are, or if I can create them myself! I've found other threads where people said they used replacements found elsewhere but I don't know where to find them!!
I can't find a way to get the update file onto the sdcard so can't use that recovery option.
I'd rather not have to send it back to samsung as that takes two weeks and I'm pretty sure they'd just flash it anyway!
I have the Nexus S still with stock ROM (2.3.6) and unrooted.
Any help will be greatly appreciated!! Ideally I'd like a way to transfer the update file to the sdcard and recover using the phone recovery. Failing that, I'd like to flash it using fastboot.
cheers
First you need to download this : http://www.4shared.com/zip/2L09-JyW/Root_Nexus_S.html
Just unpack , connect your phone and click run.bat....
After that you need : remove install-recovery.sh just in .....
run in windows-> Start->at the search bar write cmd and navigate into your android sdk is installed
For me :
C:/"Programs and Files (x86)"/Android/android-sdk/tools/>adb shell
# rm /system/etc/install-recovery.sh
#exit
or with Root Explorer into system/etc/install-recovery.sh just renam it (ex. : .sh.old)
thanks for the reply.
What will this do exactly?
I thought adb commands only worked when the phone was booted up?
just had a look at the bat. So it seems this will wipe and root the phone adding superuser privelages?
Is this the only way I can get it working again and once I've done this, how do I undo it as to get the stock version of ICS do I not need to be unrooted or will flashing the stock version from the link in my OP automatically unroot the phone and replace the recovery image etc?
thanks again for your help - I'm a bit of a noob when it comes to rooting and ROMs!
Forgot to say, I have GT-i9020 model if it makes any difference.
Skyap said:
Forgot to say, I have GT-i9020 model if it makes any difference.
Click to expand...
Click to collapse
My tools will root your device and installed CWM ...after that you can do anything you want....
I'm now rooted and have cwm recovery. Had some issues transferring files to the sdcard but seem to have moved a couple of files, but when I try to update using them I get...
Finding update package...
Opening update package...
E:Can't open /sdcard/name-of-file.zip
(bad)
Installation aborted.
I get this whether its the full stock ROMs found on here or the update only packages found on here.
Any ideas?
Skyap said:
I'm now rooted and have cwm recovery. Had some issues transferring files to the sdcard but seem to have moved a couple of files, but when I try to update using them I get...
Finding update package...
Opening update package...
E:Can't open /sdcard/name-of-file.zip
(bad)
Installation aborted.
I get this whether its the full stock ROMs found on here or the update only packages found on here.
Any ideas?
Click to expand...
Click to collapse
Trying to mount sdcard into CWM and see what happens.
---------- Post added at 07:37 PM ---------- Previous post was at 07:34 PM ----------
Reboot into recovery.
Go into "mounts and storage"
Select "mount sdcard"
Select "mount USB storage"
Shortly after your SD Card will be mounted on your computer.
please help my sh-12c stuck in boot
hi my sh-12c stuck in boot wont open could you hrelp me to guide ?
i enable su and and i change permission in settings thats all in hope if morelocal2 works but it doesnt work and was not problem to use but , i restart in hope if it work , but it stuck in the boot logo Auuos moving any way to restore ?

[Q] CF-root and install-recovery.sh, need info

Hi,
I tried to receive an answer in the official cf-root thread, but nobody answered to me.
I have a question about the install-recovery.sh in system/etc that is rewrited(?) by the CF-autoroot.
I know that (please correct me if i'm wrong) this file is used to start the daemonsu at startup
Code:
/system/xbin/daemonsu --auto-daemon &
but i have seen that there are also other commands in the original file and if i remember, these commands are
used to restore the stock recovery in the case of a failing checksum at android boot... i'm right?
After rooting, can I append the command above to the other commands just inside the original install-recovery.sh just to keep
also the original functionality of the script and start the daemon at the same time?
I would like to receive OTA, i want to keep anyway the stock recovery because i need root access only.
Thanks very much in advance
I can't remember what the other commands are now but yes, they're for reinstalling recovery. Afaik there's no reason why you can't append the command however there is also no need to
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit

[Completed] How can I rename a file via sideload?

In an effort to get a WiFi adapter working I was following instructions on replacing a file called 'linker' in system/bin. Before copying the new linker file you gave I renamed my old one to linker2 because I wanted to be able to revert if needed.
After I renamed linker to linker2 my phone said I didn't have root anymore and I couldn't rename the file back.
I restarted and now am encountering an error that prevents booting. I'm in Android System Recovery with options:
reboot system now
apply update from ADB
wipe data/factory reset
wipe cache partition
reboot to bootloader
power down view
recovery logs
apply update from sdcard
If I select 'apply update via ADB' I can use ADB from my laptop, but seems the only thing I can do is sideload a file. Is it possible for me to sideload and execute a simple script to rename that file back to linker instead of linker2?
Help is greatly appreciated.
I'd be happy to provide payment to someone that's able to help me.
fluidfocus said:
In an effort to get a WiFi adapter working I was following instructions on replacing a file called 'linker' in system/bin. Before copying the new linker file you gave I renamed my old one to linker2 because I wanted to be able to revert if needed.
After I renamed linker to linker2 my phone said I didn't have root anymore and I couldn't rename the file back.
I restarted and now am encountering an error that prevents booting. I'm in Android System Recovery with options:
reboot system now
apply update from ADB
wipe data/factory reset
wipe cache partition
reboot to bootloader
power down view
recovery logs
apply update from sdcard
If I select 'apply update via ADB' I can use ADB from my laptop, but seems the only thing I can do is sideload a file. Is it possible for me to sideload and execute a simple script to rename that file back to linker instead of linker2?
Help is greatly appreciated.
Click to expand...
Click to collapse
Greetings,
Thank you for using XDA Assist.
Please consider posting your question here:
[HELP THREAD] Ask ANY Question. Noob Friendly.
That's a friendly help thread where you'll receive expert advice.
Good luck!

Having trouble flashing KatKiss ROM but not CM (twrp version issue maybe?) - Also any other suggested ROMs to try?

So i had my pad working but i wanted to put KatKiss on it. Seen some cool features like the multi window...
So i used to do a lot of ROMs on phones a long time ago, when i had extra time. Recenntly i have been playing with Android TV boxes.
So i found my old TF101 tablet. It was working. Looked like i did customize it at some point with a ROM....
Anyways, i felt like smart earlier today and wanted to play around and update the ROM on this pad bc i wanted to start to use it more.... Long story short.
So I got TWRP installed but i just noticed it is only version 2.5.0.0 not 2.8.1 - Maybe this is the main issue with what was going on???
Because, I made a recovery/backup and then I was following the steps on the ROM thread for installing this ROM on my TF101
[ROM][MM 6.0.1] [ KatKiss - KatshMallow #034 ] [MultiWindow]
Then I got to this step:
The first time you install: Format /data (full wipe doesn't format)
After i did this all my zips were gone (setting up the install) and everything even the backup i created, gone... I must of did the wrong kind of wipe like an idiot,,,
So, I then used adb and tried to sideload it.
In TWRP i went to ADB Sideload option. enabled it and it would upload it:
Code:
C:\Users\Danny\Documents\ASUS-TF101-ROMS-Development\platform-tools>adb start-server
C:\Users\Danny\Documents\ASUS-TF101-ROMS-Development\platform-tools>adb devices
List of devices attached
42890844040e117 recovery
C:\Users\Danny\Documents\ASUS-TF101-ROMS-Development\platform-tools>adb sideload C:\Users\Danny\Documents\ASUS-TF101-ROMS-Development\KatKiss-6.0_034.zip
adb: sideload connection failed: closed
adb: trying pre-KitKat sideload method...
sending: 'C:\Users\Danny\Documents\ASUS-TF101-ROMS-Development\KatKiss-6.0_034.zip' 100%
But after it uploads and i try and install it
It uploads that ROM .zip file from my laptop terminal as shown above. However the sideload.zip fails in TWRP:
It shows this:
Code:
Starting ADB sideload feature...
Installing '/data/media/sideload.zip'...
Checking MD5
Skipping MD5 check: no MD5 file found.
set_metadata_recursive: some changes failed
E:Error executing updater binary in zip '/data/media/sideload.zip'
So that was not working....
Then i did a adb push of the file to /sdcard/ but every time i try and install the KatKiss-6.0_034.zip file via TWRP 2.5 it fails with this error in TWRP:
Code:
Updating partition details...
Installing '/sdcard/KatKiss-6.0_034.zip'...
Checking MD5
Skipping MD5 check: no MD5 file found.
set_metadata_recursive: some changes failed
Updating partition details...
So i was able to push and install CyanogenMod (cm-10-20130929-NIGHTLY-tf101.zip) without any issues. So i am confused here....
I am wondering what the issue was with KatKiss ROM i was trying to install?
Should i update TWRP and then try again??
What would be the best way for me to get this working with other ROMS like KatKiss??
I did not do anything special at all when i flashed CyanogenMod - cm-10-20130929-NIGHTLY-tf101 successfully.
I pushed it and installed it like i was with KatKiss Rom....
Also, anyone have any other suggested ROMS for TF101 tablet?? A newer one? I know its an old tablet...
Thanks in advance!!!
Note - DiPP02 is my original name on here but i could not figure out the email i used so i am using google ATM
Okay so i just realized that it was modded before with CM bc this ROM looked like what was on there..
So i would like to try the KatKiss Rom... Ill try updating TWRP and trying again.
Any advice would be great!
I tried to download TWRP 2.8 from this thread but i get a 404 not found error
forum.xda-developers.com/t/recovery-tf101-tf101g-sl101-twrp-2-8-1-1-unofficial-2014-11-06.2434422/
Where can i download this version for TF101?
hmmm i tried to update TWRP now the pad just sits at Eee Pad Asus splash screen and does not boot into CM and when i try and go into recovery it does not go into it.....
Now i am lost on what to do here...
Okay i was able to cold boot into the OS...
Now i am having the ASOP ending on me so i cannot type hahhaha
How can i update my recovery? Please any help would be very much appreciated!
ANy help?
I cannot get into Recovery...
I get the following when i run the EasyRecovery.bat file from oneclickrecovery for tf101:
Code:
List of devices attached
042890844040e117 device
If you see your device here this will work, if not fix adb.
Press any key to continue . . .
running fix...
/dev/block/mmcblk0p3: cannot open for write: Permission denied
rebooting tab, if at any step it doesn't reboot turn off and turn back on
Once back into an adb possible state continue...
Press any key to continue . . .
Pushing new recovery...
1319 KB/s (4835404 bytes in 3.579s)
Running wolf's exploit...
failed on '/data/local/tmp' - Permission denied
Going...
link failed File exists
Done!
Now lets reboot your TF again...
Continue when back into ADB again...
Press any key to continue . . .
Flashing new recovery...
/dev/block/mmcblk0p4: cannot open for write: Permission denied
Done!
Continue to reboot your tab, do the button combination to test recovery.
I have tried EasyFlasher and uploaded the Asus .zip to the asusupdate directory.
I have tried it alll...
Even trying to edit it using SDB and ADX
Code:
su
dd if=/sdcard/twrp.blob of=/dev/block/mmcblk0p4
Then reboot
I get the permission denied and i even tried su in terminal on the pad....
I tried to flash to th Asus stock using EasyFlasher but still nothing is working...
When the pad reboots its stuck at the Eee pad splash screen and if i try and enter recovery it just sits there.... Booting recovery kernel image
The only way i can get into the pad is cold booting....
I have access to ADX.
Can someone please help me fix this?
It seems the permission deinied is not allowing the recovery to flash using the oneclick script. It worked the first time i used it...
Please any help or advice i have spent 9 hours on this today.... i am going crazy at this point.

Categories

Resources