Related
Hey, my brother just got a Defy, and I managed to root using z4root and install tenfar's recovery, but when I boot into the recovery, both laptop running ubuntu and my pc running w7 with motorola's dev usb drivers just won't recognize it.
I've tried killing and starting adb as root, running cmd as admin in w7 and nothing.
When I type "adb devices" it shows a blank table.
I've also tried to enable usb-ms on tenfar's recovery, and they won't recognize the sd either when in recovery mode.
Any idea?
P.S, in normal boot, both computers recognize the defy with no problem at all
bump, no one knows?
Errrrr... why are you trying to run ADB commands to it while you're in the bootstrap recovery?
If you're trying to run ADB commands, you probably want the phone booted into Android, and (usually) with root and USB debugging enabled.
The bootstrap recovery is pretty much just for making/flashing Nandroid backups.
It's also required for running BiDi correction scripts, I need to extract framework.jar from the phone, run a correction script on it, and then push back the altered jar to the phone, and for this I must be in recovery mode.
having the same problem:there is no recovery mode
Hi,
I instaled cm9 on my defy. Now when I try to turn it on, can't. Also cant open recovery, cause there is error: "busybox was not created in footfs". And when I open recoveri, it says: "E:Error in /system/bootmenu/script/recovery.sh (result: no such file or directory) Could someone please help me?
I recently rooted my kindle fire and installed twrp along with cm7, but I accidently did a factory reset inside cm7 and was stuck on the firefirefire logo, I used an unbrick tool, but that erased all my user data and did not help. I managed to get my boot back to 4000 and install twrp again, but it won't let me mount sd card and will only allow me to mount system.
Sorry Im a noob
Im having the same issue, trying to moun it, but I keep getting
Error mounting /sdcard!
Is there a way to fix it? Im stuck on recovery (CW)
Heres a great idea get off of the discontinued recovery and switch to touch screen clockworkmod recovery its way better when it comes to things like that
Link: http://forum.xda-developers.com/showthread.php?t=1454241
guys this has nothing to do with twrp - it's working fine
just do following:
- boot to twrp
- test adb with "adb devices"
- open shell -> "adb shell"
- issue "echo /dev/block/mmcblk0p12 > /sys/devices/platform/usb_mass_storage/lun0/file"
- now the sdcard should mount to the computer
- windows will probably respond that the volume/device needs formatted before using it
- choose quick format and let it format it as fat32 block size 4096
Thanks b63 for the fast reply. I dont have twrp I have CWM recovery, im trying to install TWRP but I get an error:
error: device not found
Is there another way to install TWRP?
Thanks
i don't know about cwm but i would try to boot to it and test if adb is working
then it should be the same - you only need adb root access
if you have this access with cwm also then there is no need to install twrp
Well if I boot into CWM
I can do adb shell
But then nothing happens
If I let Kindle boot normally (after the Yellow triangle) the screen goes black and I cant adb shell anymore
What im doing wrong or what im missing.
Thanks again
BTW
When I boot int CWM I get this message
E:Can't Mount /cache/recovery/command
stay in your recovery
after the command the sdcard should mount to your computer
check your device manger
follow the first desciption
if you can't get it gimme a pm ...
Wooooot!
Thank you so much b63!!!!I couldnt sleep for this damn problem
In the end this one help me out
echo /dev/block/mmcblk0p12 >> /sys/devices/platform/usb_mass_storage/lun0/file
I dont know why it worked with >> its the same (for this case) but I could finally mount it on windows
Now im back to CM7, really thanks!!!!!
really glad that it worked ...
b63 needs a medal lol.
Sent from my HTC Glacier using xda premium
Thanks b63 I got twrp to mount the sd card, with this:
echo /dev/block/mmcblk0p12 >> /sys/devices/platform/usb_mass_storage/lun0/file
But, when trying to install cm7 I get an error:
E:Cannot load volume /misc!
ignore it - the kf don't have a volume "misc"
Stuck in twrp!!!!
b63 said:
guys this has nothing to do with twrp - it's working fine
just do following:
- boot to twrp
- test adb with "adb devices"
- open shell -> "adb shell"
- issue "echo /dev/block/mmcblk0p12 > /sys/devices/platform/usb_mass_storage/lun0/file"
- now the sdcard should mount to the computer
- windows will probably respond that the volume/device needs formatted before using it
- choose quick format and let it format it as fat32 block size 4096
Click to expand...
Click to collapse
I can get into TWRP, but when I type in ADB DEVICES in command prompt, it says the standard daemon not running, then daemon started successfully. This is followed by List of Devices attached, but it's blank after that.
I used the Kindle Fire Utility to install drivers, and when I use ADB DEVICES Command Prompt with my T-Mo Vibrant, I can get into ADB Shell.
Any advice?
Please note, this isn't mine. I've never owned a Kindle Fire, so I'm banging myself raw with information overload on this type of device. I'm trying to help a co-worker out with his Fire that he borked. I've owned three android phones/tablets and rooted/ROMed all of them, so I follow instructions. So far, I've tried the Kindle Fire Utility and the Kindle Fire Unbrick Utility found in these forums. My co-worker didn't get to the point of making a back-up or installing the Stock Image as an Update.zip. I have the stock image downloaded, and have renamed it, but I can't get it onto the tablet at all. Selecting Mount in TWRP always locks everything up, and there is nothing to Install or Restore. So, like I said, I'm getting bloody here, but no joy.
Any help would be appreciated!
what's the status of the kf ? -> you can get into twrp - that is good - do that
what's the status of the drivers in device manager ? -> which driver loaded ?
what have you/he done/tried to get to this point?
i'm asking to give you the right method ...
b63 said:
what's the status of the kf ? -> you can get into twrp - that is good - do that
what's the status of the drivers in device manager ? -> which driver loaded ?
what have you/he done/tried to get to this point?
i'm asking to give you the right method ...
Click to expand...
Click to collapse
He says he rooted it, installed FireFireFire, and the ICS-ish launcher (name eludes me at this point). Then, it basically boot-looped (Yellow Triangle, then Kindle Fire, back to Yellow Triangle).
My first thought was ADB Shell, but the KF is apparently a stranger animal than most of the other Androids I've dealt with, so it didn't automatically pop up. I installed KFU (Kindle Fire Utility, most recent version), installed the windows drivers (I have Win7 Pro 64-bit) that came with the KFU, and attempted to get it to boot normally, recovery, or anything. Note - A couple of times (like 4 or 5 out of 100), it did make it to a full boot for a few seconds, but would crash within seconds. TWRP was not installed at that point, so I successfully pushed that with the KFU. I also downloaded the stock image, and renamed it. TWRP won't mount the SD card so that my computer can see it, so I'm losing that battle. Also, at some point along the way, the KF started attempting to connect to the PC when plugged in, with the typical USB device connected sound, but two seconds later, it acts like it is unplugged, with that sound. If the KF is visible in the Device Manager, it must be hidden, cuz I can't see it. This was not the case at first, with an Unmount icon for the Kindle being displayed in the notification (right) side of the Windows toolbar. This is in conjunction with the device now booting straight to TWRP, and not even attempting to go the normal boot route. I've also tried a Kindle Fire Unbrick Utility to restore it, with no luck. It wipes the User Data, wipes cache, downloads the update.zip, but can't mount the unit to push the data. I've never been able to get ADB to find the unit.
If I can get the update.zip to the SD root, or if I can ADB shell it, I think I've won. But I'm being blocked on both those counts.
Thanks for being willing to look into this for me!
the problem is the ics launcher - it simply don't work
would recommend to use go launcher instead, for the future
now to the problem:
one solution is to boot to twrp - there is adb root access available
maybe check and update drivers - look here:
http://forum.xda-developers.com/showpost.php?p=22342376&postcount=6
then delete the ics launcher .apk (don't know the exact name) with adb commands
this should make the kf startable again and nothing is lost
an other solution is to flash a new rom but i don't think that this is necessary
and never ever flash the original rom from amazon unless you want to return the device - there is a risk of bricking it and you will loose fff,twrp and root
there are prerooted stock images available for returning to stock rom:
http://forum.xda-developers.com/showpost.php?p=22393194&postcount=20
if you need closer help gimme a pm ...
b63 said:
the problem is the ics launcher - it simply don't work
would recommend to use go launcher instead, for the future
now to the problem:
one solution is to boot to twrp - there is adb root access available
maybe check and update drivers - look here:
http://forum.xda-developers.com/showpost.php?p=22342376&postcount=6
then delete the ics launcher .apk (don't know the exact name) with adb commands
this should make the kf startable again and nothing is lost
an other solution is to flash a new rom but i don't think that this is necessary
and never ever flash the original rom from amazon unless you want to return the device - there is a risk of bricking it and you will loose fff,twrp and root
there are prerooted stock images available for returning to stock rom:
http://forum.xda-developers.com/showpost.php?p=22393194&postcount=20
if you need closer help gimme a pm ...
Click to expand...
Click to collapse
You're giving me a lot of hope. I'll give this a try when I get home tonight, and I'll contact you with any other hurdles. THANK YOU SO MUCH!
halfway there
Ok so I have run the command under the adb shell after adb did detect the device, however when I run the command it says that "non existent directory" What am I missing?
echo /dev/block/mmcblk1p1 > /sys/devices/platform/usb_mass_storage/lun0/file
/sbin/sh: can't create /sys/devices/platform/usb_mass_storage/lun0/file: nonexis
tent directory
Getting that when i try to issue the command,
Any hint?
Running AOPK, Milestone 5. Phone was running great, a bit laggy, but all was fine.
Turned on fastcharge, plugged phone into the wall charger, took a nap, woke up and the screen had the Google Logo. Dead. nothing, can't reboot, can't get into recovery mode, nothing. I can't get to the recovery mode screen but no no options work. PC doesn't recognize it probably because of the fastcharge option being turned on.
I've got a new one on the way, but this is frustrating.
Any ideas?
Stumped.
Denver
Wait, so you already purchased a new one? I bet you could get this one fixed. There are plenty of guides on here to help resolve the issue. Hell, I'm in Denver as well and wouldn't mind working with you to try and get it out of brick.
A new one should be fedex'd tomorrow. My schedule might permit some time to meet, but the phone is not accessible via PC so not sure how we go about trying to repair.
First of all, please don't use the word brick until you know it's a brick. If it still powers on, it is not a brick. A software issue does not cause a brick.
Now, can you boot into the bootloader (i.e., turn the device off, hold volume up and volume down, and press and hold power)?
If so, just follow this, and it will restore your device to stock.
A little progress?
Well I have had a bit of luck getting into recovery mode this morning, but with little progress.
When getting to the recovery mode I'm getting this error
E:can't mount cache/recovery/command
E:can't mount cache/recovery/log
E:can't open /cache/recovery/log
E:can't mount/cache/recovery/last_log
E:can't open /cache/recovery/last_log
Although phone is recognized on PC via device manage, can't see device using fastboot device command nor can see it as a external drive.
Have tried:
Wipe data/factory reset
backup and restore
wipe cache partition
All attempts initially look good, then the screen text gets fuzzy, and then goes into a reboot loop.
denverdesktop said:
[snip]
Although phone is recognized on PC via device manage, can't see device using fastboot device command nor can see it as a external drive.
Click to expand...
Click to collapse
That is because your fastboot driver is not set up properly.
denverdesktop said:
Have tried:
Wipe data/factory reset
backup and restore
wipe cache partition
Click to expand...
Click to collapse
How about trying my suggestion for the post above??
Continued
I have been trying your suggestions. Device shows up in device manager as Samsung Galaxy Nexus ADB interface. I open a command prompt where the fastboot loader software was extracted, type the command "fastboot devices", hit enter and get nothing back, but output of directory name.
denverdesktop said:
I have been trying your suggestions. Device shows up in device manager as Samsung Galaxy Nexus ADB interface. I open a command prompt where the fastboot loader software was extracted, type the command "fastboot devices", hit enter and get nothing back, but output of directory name.
Click to expand...
Click to collapse
If it is showing up as "Samsung Galaxy Nexus ADB interface", there is likely one of two things wrong: your fastboot driver is not installed properly, or you are not booted in fastboot mode.
Sent from my Galaxy Nexus using Tapatalk 2
sound like you are trying to run fastboot command in recovery and fastboot won't be recognized in recovery maybe run adb reboot bootloader then try fastboot commands.
Sent from my Galaxy Nexus using xda premium
Hello,
Something interesting happened... I have rebooted to fastboot, unlocked, jumped back to fastboot, and there were few thing to select "reboot" "shutdown" "reboot bootloader" "reboot recovery". I thought to myself, well lets look how does the stock recovery looks like... And now I'm stuck with this.
https://youtu.be/ea1gZ_KohAw
It doesn't matter how long I press the power button... It still reboots into this nonsense...
So... Anyone encountered the same problem?
Should I just wait until the battery will drain?
On the screen it says:
E:failed to mount /cache (invalid argument)
E:Can't mount /cache/recovery/last_locale
EDIT: SOLVED
Ereniemis said:
Hello,
Something interesting happened... I have rebooted to fastboot, unlocked, jumped back to fastboot, and there were few thing to select "reboot" "shutdown" "reboot bootloader" "reboot recovery". I thought to myself, well lets look how does the stock recovery looks like... And now I'm stuck with this.
https://youtu.be/ea1gZ_KohAw
It doesn't matter how long I press the power button... It still reboots into this nonsense...
So... Anyone encountered the same problem?
Should I just wait until the battery will drain?
On the screen it says:
E:failed to mount /cache (invalid argument)
E:Can't mount /cache/recovery/last_locale
EDIT: SOLVED
Click to expand...
Click to collapse
how did you solve??
xlylegaman said:
how did you solve??
Click to expand...
Click to collapse
Okay...
1) booted to fastboot through http://forum.xda-developers.com/huawei-watch/development/guide-boot-fastboot-mode-t3225382
2) booted to recovery, not with "FLASH" just with "fastboot boot twrp.img" (e.g. http://forum.xda-developers.com/hua...p-twrp-2-8-7-0-recovery-huawei-watch-t3224714 )
3) went to "reboot" in TWRP and clicked "reboot to recovery", since I haven't flashed the recovery, just booted into it, it rebooted to the stock recovery.
4) In stock recovery I have done factory reset and it started to work again.
PS: I rebooted from TWRP to stock recovery, because the TWRP couldn't mount any of my /system/ /cache/ /data/, but the stock worked flawlessly.
Won't work
Ereniemis said:
Okay...
1) booted to fastboot through http://forum.xda-developers.com/huawei-watch/development/guide-boot-fastboot-mode-t3225382
2) booted to recovery, not with "FLASH" just with "fastboot boot twrp.img" (e.g. http://forum.xda-developers.com/hua...p-twrp-2-8-7-0-recovery-huawei-watch-t3224714 )
3) went to "reboot" in TWRP and clicked "reboot to recovery", since I haven't flashed the recovery, just booted into it, it rebooted to the stock recovery.
4) In stock recovery I have done factory reset and it started to work again.
PS: I rebooted from TWRP to stock recovery, because the TWRP couldn't mount any of my /system/ /cache/ /data/, but the stock worked flawlessly.
Click to expand...
Click to collapse
I tried the above but after the bootloop adb won't recognize my device, so after entering bootloader I can't flash twrp. Any solutions?
Check your drivers, if you have eg. windows 7/8/8.1/10 you will have to install proper driver... which is not-official driver for hwatch, and I had to restart windows in "developer mode" "disable driver signatures" and then I have succesfully installed drivers and the computer recognized it.
To install hwatch drivers I've used this https://www.reddit.com/r/hwatch/comments/3n9ckp/how_to_get_adb_access_over_usb/
and maybe you can use this, but I'm not sure http://forum.xda-developers.com/huawei-watch/general/unlocking-easy-t3205219
Ereniemis said:
Check your drivers, if you have eg. windows 7/8/8.1/10 you will have to install proper driver... which is not-official driver for hwatch, and I had to restart windows in "developer mode" "disable driver signatures" and then I have succesfully installed drivers and the computer recognized it.
To install hwatch drivers I've used this https://www.reddit.com/r/hwatch/comments/3n9ckp/how_to_get_adb_access_over_usb/
and maybe you can use this, but I'm not sure http://forum.xda-developers.com/huawei-watch/general/unlocking-easy-t3205219
Click to expand...
Click to collapse
I tried installing the drivers from the above link, and disable signature verification too. Tried the second method suggested to force the drivers also and still no success.
Is it possible that my watch sin't allowing ADB access?
When the new update came, I factory reset my watch, unlocked bootloader, tried rebooting into recovery so i could flash and this happened.
Will I have to replace the watch?
Doesn't work. Makes me think my partitions are f**ked. In the past, I was able to odin myself out of this. I have no idea what to do guys.
Any idea?
FIXED: By doing what he said before by booting to TWRP. But when you do, do this. WIPE -> Advanced wipe -> Select Cache -> tap "Repair or change File System" -> Repair. After this, I had no more bootloops when going to stock recovery. Now to figure out why I keep throwing the error 7 when updating to MM.
hi
i managed to get mine working as well ! (Thanks to abhanli, pkt_lnt and skin180)
make sure you are in fastboot menu on your watch (holding the power button till switches off and the pressing again after vibrates)
most important thing next is to press shift and right click anywhere in the adb folder on your computer, and then run command prompt from there, otherwise adb will not load up and you will think that you have just run a dodgy script !
unlock your bootloader (typing "Fastboot Oem Unlock" in the command prompt in adb folder)
then you can use steps of skin180 (link above)
OR
https://developer.android.com/wear/preview/downloads.html
scroll down to huawei watch and choose second download option (non preview image for after testing) (thanks pkt_lnt)
extract into your adb folder (located in c:\)
then using the command prompt in adb folder, navigate to that extracted folder (using dos commands)
then if you are on windows, type "flash-all.bat"
hey presto - will work !
when it reboots, you may think "darn it still has spinning dots !" but if you wait about 5-10 mins it progresses past that stage and comes up with welcome screen !
My watch is working again !
HUAWEI customer services are a pile of POO. Their repair centre in UK is waste of time. They never answer the phone and never reply to messages.
If the Huawei watch wasnt so beautiful, i'd never bother with them !
Good luck and thanks all.
Good work poorak!
But, you only need to post this information once, not several times on different threads....
galaxys said:
Good work poorak!
But, you only need to post this information once, not several times on different threads....
Click to expand...
Click to collapse
thought id help as many people as i can for which ever thread they get to whilst searching for a solution !
Hwatch bootloop issue
Hi i have hwatch with bootloop too, tried to do everything i could and i can't get my computer to recognise hwatch, i only get "unknown device" in manager, i have stock recovery, locked bootloader and bricked device i've tried to force instal drivers, dissabling signed drivers, and manually from "naked drivers" post above, no success, PLEASE help
Recovery bootloop
titus1001234 said:
Hi i have hwatch with bootloop too, tried to do everything i could and i can't get my computer to recognise hwatch, i only get "unknown device" in manager, i have stock recovery, locked bootloader and bricked device i've tried to force instal drivers, dissabling signed drivers, and manually from "naked drivers" post above, no success, PLEASE help
Click to expand...
Click to collapse
Hi, i have the same problem. My watch has an infinite recovery bootloop. I tried to turn on the watch in fastboot mode but it isn' t recognized by the pc, no feedback sounds or unrecognized driver, it's like it isn"t connected. Did you solve the problem?
Ereniemis said:
Hello,
Something interesting happened... I have rebooted to fastboot, unlocked, jumped back to fastboot, and there were few thing to select "reboot" "shutdown" "reboot bootloader" "reboot recovery". I thought to myself, well lets look how does the stock recovery looks like... And now I'm stuck with this.
https://youtu.be/ea1gZ_KohAw
It doesn't matter how long I press the power button... It still reboots into this nonsense...
So... Anyone encountered the same problem?
Should I just wait until the battery will drain?
On the screen it says:
E:failed to mount /cache (invalid argument)
E:Can't mount /cache/recovery/last_locale
EDIT: SOLVED
Click to expand...
Click to collapse
this thing happen to me but not in my watch in my phone, Im currently using huawei gr5 2017, what should i do? please help me
poorak said:
hi
i managed to get mine working as well ! (Thanks to abhanli, pkt_lnt and skin180)
make sure you are in fastboot menu on your watch (holding the power button till switches off and the pressing again after vibrates)
most important thing next is to press shift and right click anywhere in the adb folder on your computer, and then run command prompt from there, otherwise adb will not load up and you will think that you have just run a dodgy script !
unlock your bootloader (typing "Fastboot Oem Unlock" in the command prompt in adb folder)
then you can use steps of skin180 (link above)
OR
https://developer.android.com/wear/preview/downloads.html
scroll down to huawei watch and choose second download option (non preview image for after testing) (thanks pkt_lnt)
extract into your adb folder (located in c:\)
then using the command prompt in adb folder, navigate to that extracted folder (using dos commands)
then if you are on windows, type "flash-all.bat"
hey presto - will work !
when it reboots, you may think "darn it still has spinning dots !" but if you wait about 5-10 mins it progresses past that stage and comes up with welcome screen !
My watch is working again !
HUAWEI customer services are a pile of POO. Their repair centre in UK is waste of time. They never answer the phone and never reply to messages.
If the Huawei watch wasnt so beautiful, i'd never bother with them !
Good luck and thanks all.
Click to expand...
Click to collapse
problem is i can't find that download
When I boot to twrp in recovery, I am unable to accomplish anything -- wipe or install. When I try to do either I get an error about "unable to mount sdcard". I have seen this thread, but cannot find the zip mentioned anywhere. I am able to run "adb push" to /sdcard and then to actually see the file pushed there in twrp recovery. I'm just not able to do anything with the pushed file in the install function.
Tried mounting with adb shell, but kept getting error of "Invalid argument". Did discover that /sdcard is /dev/block/mmcblk0p36, and using fdisk in adb shell found that it "doesn't contain a valid partition table". I'm not concerned about losing data. Everything was backed up, but anybody know how to create the correct partition table so I can install a ROM?
Original post:
So I screwed up. I rooted my phone according to this post. Unfortunately I then did something stupid when trying to flash a new recovery and get actual SU privileges to remove bloatware. Instead of going back to the first page in that thread and seeing the links to use there, I followed this guide. Unfortunately, when I ran the script, install-insecure-linux.sh, it flashed the boot.insecure.img and then spit out errors related to incompatibility with the ncurses version on my laptop. It seems difficult if not impossible to downgrade the ncurses without causing a ton of other headaches. It went to reboot and just stayed dead.
Thought I was hosed, but then after charging for a while I got signs of life. Managed to boot to fastboot. Connected back up to the laptop and decided to follow the cyanogenmod guide for installing CM11. Flashed the CM recovery img file successfully but after rebooting I can't do anything.
I still occasionally get into the fastboot on the phone. Running fastboot devices on the laptop lists the phone. Running adb devices does not. Running any other fastboot command sticks at either nothing or <waiting for device>. Running any adb command gives "error: Device not found". I added a udev rule and adb_usb.ini with the device id "0bb4" and mode 0666, but no joy.
I only have a linux machine available at the moment, so I'd prefer suggestions for working in linux. If someone knows of a good Windows solution, I can probably try that in a few days. Thanks in advance.
EDIT: Progress
Noticed that for a second when I first connect to the laptop USB the fastboot menu showed in red FASTBOOT USB before going back to just FASTBOOT. Managed to tee up the command for flashing the twrp recovery img and ran it immediately upon plugging in. Was then able to boot to recovery. Not sure what my next step to getting a working phone is though. Help still appreciated.
My last post got swallowed by the ether I guess. I was able to fix it by formatting the sdcard using mkdosfs -F 32 -n INT_SD -s 64 /dev/block/mmcblk0p36. Then rebooting, wiping, and installing CM11. All is good again.