Hi all, i'm fairly new to android... and have followed instructions from:
network-13 . c o m /thread/3834-How-to-root-the-HTC-One-X
and i'm stuck trying to root / install the clockwork mod....
when i try and fastboot flash i get this error....
could someone offer any advice?
C:\android-sdk-windows\platform-tools>fastboot flash recovery r1-modaco-recovery-clockwork-touch-endeavoru.img
sending 'recovery' (7122 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 0.074s
at this point the phone hangs... and i have to reboot by holding down the power button
echang01 said:
Hi all, i'm fairly new to android... and have followed instructions from:
network-13 . c o m /thread/3834-How-to-root-the-HTC-One-X
and i'm stuck trying to root / install the clockwork mod....
when i try and fastboot flash i get this error....
could someone offer any advice?
C:\android-sdk-windows\platform-tools>fastboot flash recovery r1-modaco-recovery-clockwork-touch-endeavoru.img
sending 'recovery' (7122 KB)...
FAILED (data transfer failure (Unknown error))
finished. total time: 0.074s
at this point the phone hangs... and i have to reboot by holding down the power button
Click to expand...
Click to collapse
Could be a bad download. Re download the img and try again,
TIP: Rename the img to something like "recovery.img". (A lot easier to type in cmd!!)
thanks for the reply... i've tried downloading multiple times and each time it doesn't work mmmm... just tried downloading again and still the same error
What do you mean 'the phone hangs'?
Have you booted into fastboot mode with the 'fastboot usb' showing in red?
Hi guys!
I FOUND THE SOLUTION! I plugged the phone into a different usb socket and it worked! Weird... i think it was the usb hub that was causing the issue.... possibly due to a faulty/lack of power port? not sure... but now i get
sending 'recovery' (5786 KB)...
OKAY [ 0.845s]
writing 'recovery'...
(bootloader) Format partition SOS done
OKAY [ 0.589s]
finished. total time: 1.436s
Thanks heaps guys
i hope this entry helps others in the same situation
echang01 said:
thanks for the reply... i've tried downloading multiple times and each time it doesn't work mmmm... just tried downloading again and still the same error
Click to expand...
Click to collapse
Sent from my HTC One X using xda app-developers app
Related
Hello everyone, I made a mistake (I am a big noob) and I don't know how to fix it.
I wanted to have fresh phone (real factory reset) to back-up and start over, so in recovery mode (interim one from paul) I wiped data, cache partition and I also formated cache,data, sdcard and system.
Now, I am stuck on htc quietly brilliant screen, I have access to hboot, recovery etc. I have been looking for a solution for 2 days without succes, I am sad.
Can someone help please ? thanks guys.
You wiped the system so there is no android on there!
Eirher download a new Rom and flash or relock bootloader and use ruu
Sent from my HTC One X using xda premium
Thanks sir, I'll try.
sotirios said:
Thanks sir, what can I do ? Which part I did wrong ? thanks again
Click to expand...
Click to collapse
The part you did wrong: It's true that you wipe (dalvik) cache and data before flashing a custom rom. That will perform a factory reset. Wiping system means deleting android itself, as stated before. That's what you did wrong.
Now, we can't know why you wanted to start all over again, but assuming you already flashed a custom recovery, you wanted to install a custom rom. Just go ahaed and do so, your problem will be fixed.
thanks, but I can't because this custom recovery doesn't allow me to mount usb and i have no rom on my sd card
sotirios said:
thanks, but I can't because this custom recovery doesn't allow me to mount usb and i have no rom on my sd card
Click to expand...
Click to collapse
That's not actually a problem. I assume you aleady have the android SDK set up, if you don't, please use the search function or google. try the following command while in the platform-tools folder:
adb push path/to/custom/rom /sdcard
or for linux/mac:
sudo ./adb push path/to/custom/rom /sdcard
This will copy the file to the root of your sdcard, so you can flash it. Good luck!
P.S. there's a thanks button, too
dobbi10k said:
That's not actually a problem. I assume you aleady have the android SDK set up, if you don't, please use the search function or google. try the following command while in the platform-tools folder:
adb push pfad/zu/einer/custom/rom /sdcard
or for linux/mac:
sudo ./adb push pfad/zu/einer/custom/rom /sdcard
This will copy the file to the root of your sdcard, so you can flash it. Good luck!
P.S. there's a thanks button, too
Click to expand...
Click to collapse
That wont work as ADB does not work on any of the custom recoveries at the moment. Im stuck in the same situtation at the mo and as phone is branded cant get the RUU to reflash so just playing the waiting game until either ADB/USB mount available in recovery or S-Off available.
See my thread in development thread
http://forum.xda-developers.com/showthread.php?t=1599748
Sent from my HTC One X using XDA
Hi lee james, thanks, I followed your thread but I don't know how to install ruu after relocking my bootloader, can you help me please ? thx again.
"Eirher download a new Rom and flash"
I can't flash, my ssd is wiped too and i can't mount usb with this custom recovery
"That's not actually a problem. I assume you aleady have the android SDK set up, if you don't, please use the search function or google. try the following command while in the platform-tools folder:
adb push pfad/zu/einer/custom/rom /sdcard"
It doesn't work, it doesn't find my device, even with the adb devices command
sotirios said:
Hi lee james, thanks, I followed your thread but I don't know how to install ruu after relocking my bootloader, can you help me please ? thx again.
Click to expand...
Click to collapse
Go to development thread then shipped ruu ans download specific to ur phone. Follow and Job done
Sent from my HTC One X using XDA
Same problem here! I unfortunatly erase everything from my one x and i can't restore anything!! How can i solve it?? My device is unlocked but stay in s-on mode! Why? From fastboot i can't flash anything! Help!!
Hello folks, problem solved by following leejames instructions :
flash stock recovery
relock bootloader
use ruu
I'm so happy. Thanks.
Mee too!! Thanks a lot!! I'm very very very very very very very very very very very very very very happy!!
1 flash stock recovery
2 relock bootloader
3 use ruu
It works fine!!
I do exactly the same thing , but half way through the RUU process it gives me an error saying i need the correct RUU. anyone can help ?
All you have to do is grab an RUU, run it. now on your pc search for %temp%in there locate ROM.zip. Extract the boot.img and system.img. and push them thru fastboot
Code:
fastboot flash boot boot_signed.img
Code:
fastboot flash system system.img
Code:
adb reboot
i did that , but i get this error:
C:\ADB>fastboot flash boot boot_signed.img
sending 'boot' (4278 KB)...
OKAY [ 0.741s]
writing 'boot'...
FAILED (remote: not allowed)
finished. total time: 0.942s
C:\ADB>fastboot flash system system.img
sending 'system' (979509 KB)...
FAILED (remote: (00000008))
finished. total time: 0.001s
I used the latest RUU uploaded 3 days ago in the filefactory folder.
mahdibassam said:
i did that , but i get this error:
C:\ADB>fastboot flash boot boot_signed.img
sending 'boot' (4278 KB)...
OKAY [ 0.741s]
writing 'boot'...
FAILED (remote: not allowed)
finished. total time: 0.942s
C:\ADB>fastboot flash system system.img
sending 'system' (979509 KB)...
FAILED (remote: (00000008))
finished. total time: 0.001s
I used the latest RUU uploaded 3 days ago in the filefactory folder.
Click to expand...
Click to collapse
Is your bootloader unlocked?
When I do it with an unlocked bootloader the error changes to this:
C:\ADB>fastboot flash boot boot_signed.img
sending 'boot' (4278 KB)...
OKAY [ 0.741s]
writing 'boot'...
FAILED (remote: not allowed)
finished. total time: 0.942s
C:\ADB>fastboot flash system system.img
sending 'system' (979509 KB)...
FAILED (remote: (00000008))
finished. total time: 0.001s
Nobody can help me?!! ((
I apologize for my n00b-ness. I went to Windows Phone (yeah, go ahead and laugh) for a little over a year, and am somewhat out of the rooting scene.
So I installed the TWRP 2.7.0.3 recovery based on the thread in this sub-forum here:
http://forum.xda-developers.com/showthread.php?t=2698134
Everything appears to have worked:
Code:
C:\android-sdk\sdk\platform-tools>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.247s]
finished. total time: 0.247s
C:\android-sdk\sdk\platform-tools>fastboot flash recovery recovery.img
target reported max download size of 1830711296 bytes
sending 'recovery' (12496 KB)...
OKAY [ 1.212s]
writing 'recovery'...
OKAY [ 0.763s]
finished. total time: 1.974s
C:\android-sdk\sdk\platform-tools>
I'm not sure what to do from here. When my phone boots, I hold power to reboot, and I don't see any "reboot into recovery" option like I've seen on past phones. Is there another way I should access recovery so that I can finish rooting my phone? Or should flashing TWRP have effectively rooted it?
Thanks for any help.
ChodeNode said:
I apologize for my n00b-ness. I went to Windows Phone (yeah, go ahead and laugh) for a little over a year, and am somewhat out of the rooting scene.
So I installed the TWRP 2.7.0.3 recovery based on the thread in this sub-forum here:
http://forum.xda-developers.com/showthread.php?t=2698134
Everything appears to have worked:
Code:
C:\android-sdk\sdk\platform-tools>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.247s]
finished. total time: 0.247s
C:\android-sdk\sdk\platform-tools>fastboot flash recovery recovery.img
target reported max download size of 1830711296 bytes
sending 'recovery' (12496 KB)...
OKAY [ 1.212s]
writing 'recovery'...
OKAY [ 0.763s]
finished. total time: 1.974s
C:\android-sdk\sdk\platform-tools>
I'm not sure what to do from here. When my phone boots, I hold power to reboot, and I don't see any "reboot into recovery" option like I've seen on past phones. Is there another way I should access recovery so that I can finish rooting my phone? Or should flashing TWRP have effectively rooted it?
Thanks for any help.
Click to expand...
Click to collapse
Press power restart when it goes off hold power volume down
Or download twrp app from play store
ChodeNode said:
I apologize for my n00b-ness. I went to Windows Phone (yeah, go ahead and laugh) for a little over a year, and am somewhat out of the rooting scene.
So I installed the TWRP 2.7.0.3 recovery based on the thread in this sub-forum here:
http://forum.xda-developers.com/showthread.php?t=2698134
Everything appears to have worked:
Code:
C:\android-sdk\sdk\platform-tools>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.247s]
finished. total time: 0.247s
C:\android-sdk\sdk\platform-tools>fastboot flash recovery recovery.img
target reported max download size of 1830711296 bytes
sending 'recovery' (12496 KB)...
OKAY [ 1.212s]
writing 'recovery'...
OKAY [ 0.763s]
finished. total time: 1.974s
C:\android-sdk\sdk\platform-tools>
I'm not sure what to do from here. When my phone boots, I hold power to reboot, and I don't see any "reboot into recovery" option like I've seen on past phones. Is there another way I should access recovery so that I can finish rooting my phone? Or should flashing TWRP have effectively rooted it?
Thanks for any help.
Click to expand...
Click to collapse
Why don't you use one of the toolboxes:
http://forum.xda-developers.com/showthread.php?t=2699065
b0gd4n said:
Why don't you use one of the toolboxes:
http://forum.xda-developers.com/showthread.php?t=2699065
Click to expand...
Click to collapse
Cause toolkits are lazy and it should be encouraged to do everything manually where possible so that you understand what's actually happening so you have the knowledge to fix any possible issues
Just my 2p...
It appears the issue was my n00bness. I assumed the hboot menu would be replaced with the recovery screen. Didn't see the recovery option there in the list. Of course I use that menu item and I'm good to go.
Yeah - I'm dumb.
My phone stuck while using so as usual I pulled out the battery and it was his end. From then on bootanimation glitched and the phone restarted all over again. Sth like a bootloop but with complete phone restart. Then I tried to full wipe but with no luck, recovery hung and rebooted the phone. Even now restoring/zip installing etc suddenly restarts the phone. I also tried to flash new recovery/rom via fastboot as well as via Nexus Root Toolkit but everytime I got 'too many links error'
Flash Stock + Unroot...
------------------------------------------------------------------
sending 'bootloader' (2308 KB)...
OKAY [ 0.227s]
writing 'bootloader'...
FAILED (status read failed (Too many links))
finished. total time: 0.404s
rebooting into bootloader...
FAILED (command write failed (Too many links))
finished. total time: 0.005s
sending 'radio' (12288 KB)...
FAILED (command write failed (Invalid argument))
finished. total time: 0.005s
rebooting into bootloader...
FAILED (command write failed (Unknown error))
finished. total time: 5.004s
archive does not contain 'boot.sig'
error: out of memory
Click to expand...
Click to collapse
I used two different cables that I use for every flashing so far, and different usb slots... I have no idea what else I can do.
Sth has changed, I tried to flash TWRP instead of CWM via fastboot and again, got 'too many links' error BUT it flashed the new recovery anyway . So now I have TWRP, managed to flash cm 10.2.1+gapps. I have a recovery log for sb to analyze. Could you check if my emmc is corrupted telling ftom this log?
i9250 recovery log http://pastebin.com/4Yx0ZwJK
Thanks
EDIT/
A second ago it booted to system in a normal way, then a sudden restart and the phone is stuck while boot animation, like a catch 22...
Hello i have a problem with this htc sensation of mine.. phone is Hang up in HTC logo only. i try to factory reset but its same. try to Recovery but theres no recovery only an image of unit with red triangle.. i try to download CWM here http://www.clockworkmod.com/rommanager via CMD command but its always failed. like below
i make a folder in my drive "d" name android and i put inside the recovery.img
C:\Users\Almutakhases\Desktop>d:
D:\>cd\android
D:\android>fastboot flash recovery recovery.img
error: cannot load 'recovery.img'
D:\android>
Click to expand...
Click to collapse
can someone give me a working CWM for this unit.? help me to solve this please.
Model HTC Sensation PG58130
Problem: Hang on Logo Only
Action Taken:
1. try to factory Reset = Same problem
2. Try to Recovery Mode = No Recovery Mode. displays a mobile with a triangle and red exclamation mark.
3. Try to send CWM via Fastboot or CMD command = Failed. logs below
4. try to JTAG via Riff box = same Problem
C:\Users\Almutakhases\Desktop>d:
D:\>cd\android
D:\android>fastboot flash recovery recovery.img
sending 'recovery' (5400 KB)... OKAY [ 1.476s]
writing 'recovery'... INFOsignature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.175s
D:\android>
########################################################################
C:\Users\Almutakhases\Desktop>d:
D:\>cd\android
D:\android>fastboot flash recovery recovery.img
sending 'recovery' (4618 KB)... OKAY [ 1.142s]
writing 'recovery'... INFOsignature checking...
FAILED (remote: signature verify fail)
finished. total time: 1.740s
D:\android>fastboot erase cache
erasing 'cache'... OKAY [ 1.559s]
finished. total time: 1.559s
D:\android>
Click to expand...
Click to collapse
Any Advice to Solve this
Sounds like you are s on and locked. You'll need to either unlock the boot loader,or run a full,signed ruu
Also,If you have a sensation,you have put your problem in the wrong forum. This is one x
thanks scooty i found RUU for this model and its all ok now.... :good:
Dear all,
I'd like to install LineageOS on my Xiaomi Mi 10 Lite (monet).
I'm following the instructions here : https://wiki.lineageos.org/devices/monet/install.
Everything is going well until step "fastboot flash recovery <recovery_filename>.img".
I type "fastboot flash recovery <recovery_filename>.img" and everything seems to be good.
Sending 'recovery' (131072 KB) OKAY [ 4.907s]
Writing 'recovery' OKAY [ 0.571s]
Finished. Total time: 5.484s
But my phone does not power down. And when I try to reboot into the recovery mode (Volume Up + Power), the fastboot screen appears instead of recovery mode.
I also try with "fastboot boot <recovery_filename>.img".
Sending 'boot.img' (131072 KB) OKAY [ 5.044s]
Booting OKAY [ 0.154s]
Finished. Total time: 5.266s
The phone turns off and I reboot into recovery mode with success. I apply "Wipe Data" and go back to Main Menu after, as described.
But I don't find the "Apply Update" option.
Thank you for your help.
Stephane
Windows 10
stephane_p said:
Dear all,
I'd like to install LineageOS on my Xiaomi Mi 10 Lite (monet).
I'm following the instructions here : https://wiki.lineageos.org/devices/monet/install.
Everything is going well until step "fastboot flash recovery <recovery_filename>.img".
I type "fastboot flash recovery <recovery_filename>.img" and everything seems to be good.
Sending 'recovery' (131072 KB) OKAY [ 4.907s]
Writing 'recovery' OKAY [ 0.571s]
Finished. Total time: 5.484s
But my phone does not power down. And when I try to reboot into the recovery mode (Volume Up + Power), the fastboot screen appears instead of recovery mode.
I also try with "fastboot boot <recovery_filename>.img".
Sending 'boot.img' (131072 KB) OKAY [ 5.044s]
Booting OKAY [ 0.154s]
Finished. Total time: 5.266s
The phone turns off and I reboot into recovery mode with success. I apply "Wipe Data" and go back to Main Menu after, as described.
But I don't find the "Apply Update" option.
Thank you for your help.
Stephane
Windows 10
Click to expand...
Click to collapse
Use platform tools instead of Minimial adb and use the flash recovery command, it should work. and be careful if you need to disable
dm verity, i don't know Mi 10 Lite but yup
Spuffyffet said:
Use platform tools instead of Minimial adb and use the flash recovery command, it should work. and be careful if you need to disable
dm verity, i don't know Mi 10 Lite but yup
Click to expand...
Click to collapse
Thank you for your help.
I downloaded and used platform tools as described in LineageOS Wiki. And then, I used windows cmd for the adb and the fastboot commands.
stephane_p said:
Thank you for your help.
I downloaded and used platform tools as described in LineageOS Wiki. And then, I used windows cmd for the adb and the fastboot commands.
Click to expand...
Click to collapse
However, it's still not working. I have the same issue.
stephane_p said:
However, it's still not working. I have the same issue.
Click to expand...
Click to collapse
well use "fastboot reboot recovery"
Spuffyffet said:
well use "fastboot reboot recovery"
Click to expand...
Click to collapse
I used reboot recovery. I got:
Rebooting into recovery OKAY [ 0.000s]
Finished. Total time: 0.000s
But the fastboot screen is still here
stephane_p said:
I used reboot recovery. I got:
Rebooting into recovery OKAY [ 0.000s]
Finished. Total time: 0.000s
But the fastboot screen is still here
Click to expand...
Click to collapse
Use this brother: https://developer.android.com/studio/releases/platform-tools
you probably used Minimial ADB, it's the same but just use Platform tools (The one's i just sent)
Spuffyffet said:
Use this brother: https://developer.android.com/studio/releases/platform-tools
you probably used Minimial ADB, it's the same but just use Platform tools (The one's i just sent)
Click to expand...
Click to collapse
I downloaded platform-tools zip file (r33.0.0 for windows) and extract it in C:\Android\platform-tools
Then, I retry
C:\Android\platform-tools>fastboot flash recovery recovery.img
Sending 'recovery' (131072 KB) OKAY [ 5.415s]
Writing 'recovery' OKAY [ 0.586s]
Finished. Total time: 6.017s
C:\Android\platform-tools>fastboot reboot recovery
Rebooting into recovery OKAY [ 0.000s]
Finished. Total time: 0.000s
But, I still get the fastboot screen instead of recovery mode.
Thank you for your help.
Have you tried with another recovery image, like TWRP ?
mgkdv said:
Have you tried with another recovery image, like TWRP ?
Click to expand...
Click to collapse
well i have and it worked for me
mgkdv said:
Have you tried with another recovery image, like TWRP ?
Click to expand...
Click to collapse
I've tried with twrp but I get:
C:\Android>fastboot boot twrp_recovery.img
Sending 'boot.img' (131072 KB) OKAY [ 4.944s]
Booting FAILED (remote: 'Failed to load/authenticate boot image: Load Error')
fastboot: error: Command failed
stephane_p said:
I've tried with twrp but I get:
C:\Android>fastboot boot twrp_recovery.img
Sending 'boot.img' (131072 KB) OKAY [ 4.944s]
Booting FAILED (remote: 'Failed to load/authenticate boot image: Load Error')
fastboot: error: Command failed
Click to expand...
Click to collapse
You are using the wrong command bro, don't use boot. Use "fastboot flash recovery twrp_recovery.img". Why are you flashing recovery.img as boot bro?
OK guys I've found my mistake. I thought the model of my phone was Monet. But it's not. It's Toco... A stupid error showing that I have to be more rigorous.
I thank you again for your help. All the best for xda.
See you