[Q]Battery Won't rise above 20% - HTC One X

I've tried switching it on and off
mains/usb
fastboot script doesn't work
Should a "Battery level too low to flash" still show in "fastboot devices"??

Do you have a running rom on the phone ?

try to wipe data and reflash if you have any custom rom

williamharvey said:
try to wipe data and reflash if you have any custom rom
Click to expand...
Click to collapse
That's probably not possible due to the fact that the batt is to low

Mr Hofs said:
That's probably not possible due to the fact that the batt is to low
Click to expand...
Click to collapse
Rom/system has been wiped Via Superwipe Script
It's a locked bootloader
I'm going to try on a different pc to see if i can get it to work in fastboot to use fastboot charge script!
It's not charging via usb but i've left it on mains now.

How did you execute the .bat file for recharging ?
With the phone in bootloader and then run the script, it should continuously reboot the phone

Mr Hofs said:
How did you execute the .bat file for recharging ?
With the phone in bootloader and then run the script, it should continuously reboot the phone
Click to expand...
Click to collapse
Tried with HBOOT/Fastboot it just says <waiting for device>

Do you have the HTC drivers installed and do you have the fastboot folder with the fastboot and adb files on the pc ?
You have to run the script from the within the folder with the fastboot files and with the phone in bootloader menu .....
When its in bootloader you should see
Fastboot usb
When the phone is conected to the pc !
Then you can try this command
Fastboot devices
Then the serial from the phone should show up
All the fastboot commands have to be executed from the command prompt on the pc

Mr Hofs said:
Do you have the HTC drivers installed and do you have the fastboot folder with the fastboot and adb files on the pc ?
You have to run the script from the within the folder with the fastboot files and with the phone in bootloader menu .....
When its in bootloader you should see
Fastboot usb
When the phone is conected to the pc !
Then you can try this command
Fastboot devices
Then the serial from the phone should show up
All the fastboot commands have to be executed from the command prompt on the pc
Click to expand...
Click to collapse
It was connecting before im going to try on another pc now

How are you doing ?

I used the bat script the problem was a driver issue fixed by downloading htc drivers going into device manager and installing a driver for "fastboot"
thanks for the reply

Related

Mac OS X Fastboot Mode <Waiting for Device>

Hi, I am trying to Re-Lock my Galaxy Nexus GSM version, I've downloaded the SDK files (adb-mac and fastboot-mac) and all the image files and I am trying to execute the following commands:
adb reboot bootloader
fastboot flash bootloader bootloader-toro-primekk15.img
fastboot reboot-bootloader
fastboot flash radio radio-toro-i515.ek02.img
fastboot reboot-bootloader
fastboot flash radio-cdma radio-cdma-toro-i515.ek05.img
fastboot reboot-bootloader
fastboot -w update image-mysid-icl53f.zip
fastboot reboot-bootloader
fastboot oem lock
With the phone in normal mode I connect the USB cable to the computer, start Terminal windows and run the first command, "./adb-mac reboot bootloader" and the phone will boot into the "Fastboot Mode", then I try to execute "./fastboot-mac devices" to make sure the phone is connected and properly detected and I get nothing.
If I try to execute "./fastboot-mac flash bootloader bootloader-toro-primekk15.img" I get the message <waiting for device> and it will stay there forever.
Do you know what might be the problem ?, is there other method to do this ?, go back to Stock ROM and Re-Lock the device ?, thanks
i use windows but i also get problems when i didnt had a break after the flash parts/ update parts
brosenz said:
Hi, I am trying to Re-Lock my Galaxy Nexus GSM version, I've downloaded the SDK files (adb-mac and fastboot-mac) and all the image files and I am trying to execute the following commands:
adb reboot bootloader
fastboot flash bootloader bootloader-toro-primekk15.img
fastboot reboot-bootloader
fastboot flash radio radio-toro-i515.ek02.img
fastboot reboot-bootloader
fastboot flash radio-cdma radio-cdma-toro-i515.ek05.img
fastboot reboot-bootloader
fastboot -w update image-mysid-icl53f.zip
fastboot reboot-bootloader
fastboot oem lock
With the phone in normal mode I connect the USB cable to the computer, start Terminal windows and run the first command, "./adb-mac reboot bootloader" and the phone will boot into the "Fastboot Mode", then I try to execute "./fastboot-mac devices" to make sure the phone is connected and properly detected and I get nothing.
If I try to execute "./fastboot-mac flash bootloader bootloader-toro-primekk15.img" I get the message <waiting for device> and it will stay there forever.
Do you know what might be the problem ?, is there other method to do this ?, go back to Stock ROM and Re-Lock the device ?, thanks
Click to expand...
Click to collapse
I know nothing about using Macs but have you installed the device drivers? As you are getting no serial number returned when using fastboot devices im guessing not.
Mark.
On a side note please do not post questions in the Development Forums as that is not the place for them.
Thanks.
The device is being detected while running in normal mode, meaning I do have the drivers, the problem is when I go into FASTBOOT MODE, I can no longer see the phone
Craiq said:
i use windows but i also get problems when i didnt had a break after the flash parts/ update parts
Click to expand...
Click to collapse
But for the simple command ./fastboot-mac devices should work and it's not
in bootloader mode u need other drivers
but dont know how to install them on mac
First thing, make sure your fastboot file is executable
from the folder containing fastboot-mac:
chmod a+x fastboot-mac
You do not need further drivers on a mac. Just make sure you are using the correct fast boot and have all of the images in the same folder. Try using a different USB port. I renamed my fastboot file to fastboot and copied it into usr/local/bin folder so it can be accessed without the ./ ...Hope this helps...I actually just got done restoring mine because its gotta go back to the store because the internal storage is all sorts of jacked up...Since you clearly have a mac, have you had any issues using android file transfer?
dhemke17 said:
First thing, make sure your fastboot file is executable
from the folder containing fastboot-mac:
chmod a+x fastboot-mac
You do not need further drivers on a mac. Just make sure you are using the correct fast boot and have all of the images in the same folder. Try using a different USB port. I renamed my fastboot file to fastboot and copied it into usr/local/bin folder so it can be accessed without the ./ ...Hope this helps...I actually just got done restoring mine because its gotta go back to the store because the internal storage is all sorts of jacked up...Since you clearly have a mac, have you had any issues using android file transfer?
Click to expand...
Click to collapse
I just checked and Fastboot is executable, as a matter of fact it's running, the problem is that the phone cannot be seen from the FASTBOOT mode, and I can see from the phone screen that IT IS in Fastboot Mode, it says in RED letters "FASTBOOT MODE"
brosenz said:
I just checked and Fastboot is executable, as a matter of fact it's running, the problem is that the phone cannot be seen from the FASTBOOT mode, and I can see from the phone screen that IT IS in Fastboot Mode, it says in RED letters "FASTBOOT MODE"
Click to expand...
Click to collapse
Well reboot your phone. Once up, try and boot into boot loader the manual way by powering off the device, holding both vol + and -, and press power... then try your fastboot commands. Are you rooted or no?
dhemke17 said:
Well reboot your phone. Once up, try and boot into boot loader the manual way by powering off the device, holding both vol + and -, and press power... then try your fastboot commands. Are you rooted or no?
Click to expand...
Click to collapse
I've done that, going into FASTBOOT MODE manually and the same result. Yes I am rooted.
I just want to go back to stock and re-lock the phone, is there other way to accomplish that ?
NOTE: I've tried Mac and PC (Galaxy Nexus Root Toolkit 1.3), different USB cables, different USB ports, reinstalled all the drivers on the Windows computer, NOTHING, the phone it's not being detected in FASTBOOT MODE.
Is it possible to go back to stock and re-lock from the Recovery Mode ?, I have ClockWorkMode 5.5.0.2 installed and working fine.
You can flash a Stock Rom via cwm but you can only relock the phone via fastboot mode.
Has this problem only surfaced recently?
You say that you are rooted and have cwm flashed so how did you do that?
Do you have another usb cable that you can try?
Mark.
mskip said:
You can flash a Stock Rom via cwm but you can only relock the phone via fastboot mode.
Has this problem only surfaced recently?
You say that you are rooted and have cwm flashed so how did you do that?
Do you have another usb cable that you can try?
Mark.
Click to expand...
Click to collapse
I used FASTBOOT to unlock and Root, no problem at all, use the phone for 10 days and them decided to go back to Stock and Re-Lock. If I connect the phone in normal operating mode to the computer it will be recognized and I can see the phone from the computer connected via USB, so the cabe, port on the phone and port on the computer are OK. I've tried different computer (Mac and PC), different OS (Mac OS X and Windows 7), different USB cable, different USB port.
Just make sure USB debugging is on...try getting on a PC and running the ODIN file from someone was kind enough to post us...to get into odin mode, just hold up while the phone is off and hit power. You need the drivers installed and the latest version of ODIN on your desktop as well.
dhemke17 said:
Just make sure USB debugging is on...try getting on a PC and running the ODIN file from someone was kind enough to post us...to get into odin mode, just hold up while the phone is off and hit power. You need the drivers installed and the latest version of ODIN on your desktop as well.
Click to expand...
Click to collapse
I have Odin3 V1.85 installed in the PC, what I have to do with it ?, thanks
brosenz said:
I have Odin3 V1.85 installed in the PC, what I have to do with it ?, thanks
Click to expand...
Click to collapse
Plug your phone in and then turn it off...download the odin file from xda...not sure who posted it...it will be a 7z file...inside there are two separate .tar files. Extract these from the .7z file but do not fully unzip them. Place the one without LTE in the name in PDA and the one with LTE in phone, turn your phone on while holding vol -... there is a box that turns yellow in odin once your phone is connected. then check your screen against the one posted where you get the odin full restore file from and verify it matches, then flash it...
dhemke17 said:
Plug your phone in and then turn it off...download the odin file from xda...not sure who posted it...it will be a 7z file...inside there are two separate .tar files. Extract these from the .7z file but do not fully unzip them. Place the one without LTE in the name in PDA and the one with LTE in phone, turn your phone on while holding vol +... there is a box that turns yellow in odin once your phone is connected. then check your screen against the one posted where you get the odin full restore file from and verify it matches, then flash it...
Click to expand...
Click to collapse
I do not know why but Vol + does not work in my phone
brosenz said:
I do not know why but Vol + does not work in my phone
Click to expand...
Click to collapse
My bad lol...down...volume down
I made a video on how to root and unroot the nexus s 4g using a Mac and also works with galaxy nexus. Just follow the video but make sure the files u are flashing are for your phone and not a ns4g. Here's the link
https://www.youtube.com/watch?v=mIWEM8zBnTM&feature=youtube_gdata_player if u have questions u can pm me.
Sent from my Galaxy Nexus using xda premium
Esteway.619 said:
I made a video on how to root and unroot the nexus s 4g using a Mac and also works with galaxy nexus. Just follow the video but make sure the files u are flashing are for your phone and not a ns4g. Here's the link
https://www.youtube.com/watch?v=mIWEM8zBnTM&feature=youtube_gdata_player if u have questions u can pm me.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I just used your video to unroot my galaxy nexus 4.0.4 thanks a lot!

Stuck in bootloop & can't connect to pc.

I was flashing my phone back to stock and got ms5 . Now the phone has disconnected from the pc and won't reconnect.
was on Renovate 5.8 tried reflashing the rom now just boot loops. Any ideas how to connect to the pc again.
Need all the help I can get and thank you in advance everyone.
Can you enter the bootloader by holding the power button and the volume down button together until it restarts and enters the bootloader ?
Mr Hofs said:
Can you enter the bootloader by holding the power button and the volume down button together until it restarts and enters the bootloader ?
Click to expand...
Click to collapse
Yes I can get in to the bootloader. Keep getting USB failed when it opens.
And at that time you have the cable to the pc connected ? What happens if you enter the recovery from the bootloader
Mr Hofs said:
And at that time you have the cable to the pc connected ? What happens if you enter the recovery from the bootloader
Click to expand...
Click to collapse
Can also get into recovery, just no PC connection.
Oke and you can mount the sdcard as a mass storage device within the recovery ?
And what connection did exactly lost then. The fastboot usb connection for flashing boot.img files ?
Mr Hofs said:
Oke and you can mount the sdcard as a mass storage device within the recovery ?
And what connection did exactly lost then. The fastboot usb connection for flashing boot.img files ?
Click to expand...
Click to collapse
Yes the fastboot usb connection fails to show on the computer. Trying the mass storage now I'm getting E: Unable ot open ums lunfile.
CWM is outdated. Download this one: http://download2.clockworkmod.com/recoveries/recovery-clockwork-touch-5.8.4.0-endeavoru.img
And flash like this:
"fastboot flash recovery filename.img"
Phone in fastboot mode of course.
And as far the fastboot usb connection, try to re-install HTC drivers and check that the device is recognized by the pc. Then put the phone in the bootloader again and try the command
Fastboot devices
Hopefully it brings back the serial
Or you may need to update the java sdk platform tools
TToivanen said:
CWM is outdated. Download this one: http://download2.clockworkmod.com/recoveries/recovery-clockwork-touch-5.8.4.0-endeavoru.img
And flash like this:
"fastboot flash recovery filename.img"
Phone in fastboot mode of course.
Click to expand...
Click to collapse
Just tried and getting a failed message
C:\fastboot>fastboot flash recovery-clockwork-touch-5.8.4.0-endevoru.img
unknown partition 'recovery-clockwork-touch-5.8.4.0-endevoru.img'
error: cannot determine image filename for 'recovery-clockwork-touch-5.8.4.0-end
evoru.img'
Rename the recovery to just recovery.img and try again
Fastboot erase cache
Fastboot flash recovery recovery.img
Fastboot erase cache
Fastboot devices gets the serial ?
And it sounds stupid......but....the file is actually in the fastboot folder
Mr Hofs said:
And as far the fastboot usb connection, try to re-install HTC drivers and check that the device is recognized by the pc. Then put the phone in the bootloader again and try the command
Fastboot devices
Hopefully it brings back the serial
Or you may need to update the java sdk platform tools
Click to expand...
Click to collapse
Tried fastboot devices and got a HT number which I hope is the serial number. Downloading the SDK tools again now.
Thank you for all the help you are giving me.
If the serial comes up you are good to go and flash ....did you try the idea i gave in my previous post ?
That Worked phone is up and running again.
Thanks for all your help you may have saved my life. The other half would have killed me if I suddenly went and got a new phone.
Nice ! Glad it worked

[Q] Waiting for device

I've downloaded Android SDK and opened the SDK Manager and checked Google USB drivers and it is installed . but when i try adb devices command nothing is showed .. even my HOX is on the fastboot USB mode .. I remember that when i installed a custom ROM a month ago i didnt install HTC SYNC .. so is there any problem nw ?! or something i need to do ! ? thanks
ADB does not work in fastboot mode. It works when phone is booted in OS or in recovery.
TToivanen said:
ADB does not work in fastboot mode. It works when phone is booted in OS or in recovery.
Click to expand...
Click to collapse
ok no prob i switched on my phone and still getting nothing with the command .. but i can check the internal storage .. and moreover when i go to fastboot and try flashing an img using cmd i get waiting for device .
Download this.
Now, extract the folder and with cmd (with cd command or shortcut keys) go into this folder and in fastboot usb try: "fastboot devices".
If it show to you your hox serial number and a write like fastboot, you can use all fastboot command.
ive downloaded the file and tried the command .. but nothing appeard .. and im in the fastboot USB mode on the phone
It's really strange...

Can't flash kernel via fastboot

I am having problem flashing kernel through fastboot.I get an error "unknow partition .......img" when flashing kernel via fastboot from my laptop.Flashing kernel via my desktop is fine though.Since i am having problem with my desktop i wanted to use laptop to flash kernel to be safe.I have installed drivers,flashtool drivers,fastboot driver,google usb driver,android sdk etc.My laptop is 64 bit windows 7.In device manager it shows android device >> adb device inteface.
Fastboot shows device number with "fastboot devices" and i can reboot my phone as well with "fastboot reboot" command but when i tun fastboot flash xxx.img it gives "unknow partition .."error.I have tried different kernels to flash but can't flash them.However same kernel flashing command works on my desktop with 32 bit win7.
My device is bootloader unlocked and i have flahsed many kernels and ROMs via my desktop.What might be missing to install in my laptop?
Anybody around to help solve this problem? When i connect my device is fastboot mode(bootloader). It recognizes it has 'S1 fastboot drive",there is also ADB android device shown in device manager.I can run fastboot commands like "fastboot device","fastboot reboot".They work fine but i can't flash kernel for some reason.I have my kernel file places in same folder as fastboot.exe and running command prompt from same folder.
What might i have been doing wrong?
shoeseat said:
Anybody around to help solve this problem? When i connect my device is fastboot mode(bootloader). It recognizes it has 'S1 fastboot drive",there is also ADB android device shown in device manager.I can run fastboot commands like "fastboot device","fastboot reboot".They work fine but i can't flash kernel for some reason.I have my kernel file places in same folder as fastboot.exe and running command prompt from same folder.
What might i have been doing wrong?
Click to expand...
Click to collapse
What are the commands you used?
Rename the kernel if you have to since fastboot cannot read spaces.
popthosegaskets said:
What are the commands you used?
Rename the kernel if you have to since fastboot cannot read spaces.
Click to expand...
Click to collapse
Thankx for the reply.I have tried to flash different kernels which i have flashed from my desktop.In fact there are more the 10+ kernels which i can flash successfully from desktop.Kernels and fastboot files are all in same folder and i have copied them to my laptop.The names are like boot.img, 5_4fusion_2.img, LuPuS_anzu_jBv12-ram.img etc as they are when i download them.
i think fastboot is working since fastboot devices shows my device serial and fastboot reboot reboots my device but somehow i can't flahs kernel.i even installed adb intaller from this http://www.xda-developers.com/andro...ng-fast-adb-fastboot-and-driver-installation/ but still having problem.
If my computer crashed during kernel flash, does it brick my mobile?
shoeseat said:
If my computer crashed during kernel flash, does it brick my mobile?
Click to expand...
Click to collapse
It shouldn't, you will just need to reconnect the phone to the computer in fastboot mode and flash the kernel again. Did you try using flashtool in fastboot mode rather than command line?
僕のLT18iから送られてきた
You missed a part of the command, you need to use this:
fastboot flash boot yourboot.img
Sent from my Xperia C using Tapatalk
popthosegaskets said:
It shouldn't, you will just need to reconnect the phone to the computer in fastboot mode and flash the kernel again. Did you try using flashtool in fastboot mode rather than command line?
僕のLT18iから送られてきた
Click to expand...
Click to collapse
I did run flashtool when connected in fastboot.Flashtool gies message as device connected to fastboot mode but the "kernel" button is disabled i think.Not sure but some buttons are greyed.
devstaff said:
You missed a part of the command, you need to use this:
fastboot flash boot yourboot.img
Sent from my Xperia C using Tapatalk
Click to expand...
Click to collapse
In desktop i always used "fastboot flash yourboot.img".I have command saved in notepad as well.i will try "fastboot flash boot yourboot.img" today,is it due to 64 bit OS i have to use "fastboot flash boot"?
"fastboot flash boot yourboot.img" was right command."boot" was missing from my command but "fastboot flash yourboot.img" was working on my desktop.Is it due to 64 bit OS i have to add "boot" in command?
Anyway thankx for help.
shoeseat said:
I did run flashtool when connected in fastboot.Flashtool gies message as device connected to fastboot mode but the "kernel" button is disabled i think.Not sure but some buttons are greyed.
Click to expand...
Click to collapse
Try Clicking on the lightning bolt (Flash) and then choose the fastboot mode... From here on out you can hotboot or flash your new kernel. BUT ... make sure you click on reboot into fastboot mode first (ADB)
Let me know if it worked for you
shoeseat said:
In desktop i always used "fastboot flash yourboot.img".I have command saved in notepad as well.i will try "fastboot flash boot yourboot.img" today,is it due to 64 bit OS i have to use "fastboot flash boot"?
Click to expand...
Click to collapse
Nope, it is not due to 64 bit OS, it is like this for every OS (at least for Windows PC, not sure about Linux). The command tells computer, how the process must be done.
If you use
Code:
fastboot flash boot.img
then it is understood as fastboot has to flash nothing to partition named "boot.img". Using
Code:
fastboot flash boot boot.img
is the proper way, then fastboot knows, that it must flash boot.img to 'boot' partition.
MrMaddTraxx said:
Try Clicking on the lightning bolt (Flash) and then choose the fastboot mode... From here on out you can hotboot or flash your new kernel. BUT ... make sure you click on reboot into fastboot mode first (ADB)
Let me know if it worked for you
Click to expand...
Click to collapse
Thankx for the suggestion but it's already working now with fastboot command.

fastboot never start after update to android 6

Hy
I had an unlocked bootloader phone. Yesterday I flashed the new Android 6, Europe version from the Huawei blog forum, no beta, on my Huawei GX8. I used the method, dload on SD card, Phone off an the press Volume down+volume up+Power button.The flashing was normaly.
Now the phone starts normaly but I can´t start fastboot. When the phone is off and i press Vol down + Power the phone start the android system and the Huawei logo is coming not the fastboot Modus. I can see my phone and the order under Windows but i can not control my phone with the fastboot command. (example: fastboot device. the answere ist searching devices, but it comes no resolution) I loaded the last version of Fastboot, but the problem is the same.
Please can you help me. What can i do? Many thanks for your help!
Should be connect the charger cable to the phone.
charger or computer
excuse me for bad english
No i use a data cable, debugging is on. I can copy data from my phone to PC or from PC to phone, but fastboot does not found my device.
bertl237 said:
No i use a data cable, debugging is on. I can copy data from my phone to PC or from PC to phone, but fastboot does not found my device.
Click to expand...
Click to collapse
And when you use adb to reboot to bootloader, what happen? Do you have "Minimal adb and fastboot tool" installed?
krispin said:
And when you use adb to reboot to bootloader, what happen? Do you have "Minimal adb and fastboot tool" installed?
Click to expand...
Click to collapse
Sorry for my question, what´s the differents about adb and fastboot tool? I have install the last version of minimal adb and the fastboot tool, also the Windows driver for the phone. Debugging is on. I try to connect my phone about the fastboot terminal. When i try to set the phone into the bootloader mod with the fastboot terminal and the equivalent command, fastboot say´s "searching phone". My phone does not react.
bertl237 said:
Sorry for my question, what´s the differents about adb and fastboot tool? I have install the last version of minimal adb and the fastboot tool, also the Windows driver for the phone. Debugging is on. I try to connect my phone about the fastboot terminal. When i try to set the phone into the bootloader mod with the fastboot terminal and the equivalent command, fastboot say´s "searching phone". My phone does not react.
Click to expand...
Click to collapse
So, you connect your phone, open minimal adb and fastboot too, run "adb devices", you see device id? If yes, run "adb reboot bootloader" . Phone shoult reboot to fastboot mode. Then run "fastboot devices" to see if it is connected properely.
i did it, like you described, but i see not my device id. Only the note "seach device"
Is it possible that TWRP is defect on my device? Is TWRP necessary for fastboot or only for root?
bertl237 said:
i did it, like you described, but i see not my device id. Only the note "seach device"
Is it possible that TWRP is defect on my device? Is TWRP necessary for fastboot or only for root?
Click to expand...
Click to collapse
No, you should be able to use adb and fastboot with stock recovery.
After first adb command you shoult approve authorization on your phone.
Here is screenshot from minimal adb...
Phone must be in MTP mode.
And here is phone in fastboot
Many thanks for your help, now I m in my bootloader.
2 problems i had.
1. My daemon was not started correctly, i have not seen my device.
2. I used the wrong command. I started with fastboot, not with the command adb device. I tap „fastboot reboot-bootloader“,but the correct command is “adb reboot-bootlader“
Now i have seen my phone is unlocked, i hope i can root my android 6.
bertl237 said:
Many thanks for your help, now I m in my bootloader.
2 problems i had.
1. My daemon was not started correctly, i have not seen my device.
2. I used the wrong command. I started with fastboot, not with the command adb device. I tap „fastboot reboot-bootloader“,but the correct command is “adb reboot-bootlader“
Now i have seen my phone is unlocked, i hope i can root my android 6.
Click to expand...
Click to collapse
Just reboot to fastboot and flash surdu-petru version of TWRP recovery 3.0.2 with command "fastboot flash recovery xxxxx.img". And than reboot to recovery and flash supersu zip.

Categories

Resources