5,815,095 Members 38,241 Now Online
XDA Developers Android and Mobile Development Forum

Unable to Flash Custom Rom using Hasson 2000's Tool on HTC one (M7)

Tip us?
 
Infoseye
Old
(Last edited by Infoseye; 2nd April 2014 at 09:35 AM.) Reason: update it
#1  
Infoseye's Avatar
Member - OP
Thanks Meter 5
Posts: 96
Join Date: Feb 2013
Location: City Of London
Unhappy Unable to Flash Custom Rom using Hasson 2000's Tool on HTC one (M7)

Hello everyone,

I bought an HTC one off ebay, having in mind I would flash custom rom on the device which I prefer for obvious reasons. But each time I open Hasson2000 Tool to get ID token I get this error in command prompt below:

*daemon not running. starting it now on port 5037 *
*daemon started successfully *
'error: device offline

I have tried searching for solutions but I cant get one to actually fix my own issue, I do know the HTC bootloader has been unlocked and rooted because I can boot to bootloader menu, boot to recovery mode and on top on the screen it says *****TAMPERED***** just below it says ***UNLOCKED*** I figured the previous owner tried locking bootloader before selling it off.

I noticed other commands dont work like reboot device on the tool probably because of that error or my htc is not recognised am not sure. am running Windows 8.1 Pro on my laptop.

What I have done so far

Rebooted phone several times
Rebooted my laptop several times
Unplugged and plugged in usb cable
Used different usb ports it recognises my htc because I can view my SD card or transfer files between laptop and phone.

Please guys I neeed your help with this, thanks.
Device
HTC one (M7)
ROM: Stock, 4.4.2 Kitkat.

History: HTC One X, iPhone 4, iPhone 3G, Blackberry Bold 2, Blackberry Curve 3G, Nokia N95 8GB(Still in love with it), LG KU990 Viewty, Sony Ericsson K950, Motorola Razor, Motorola v3 ,Nokia 3310
 
Infoseye
Old
#2  
Infoseye's Avatar
Member - OP
Thanks Meter 5
Posts: 96
Join Date: Feb 2013
Location: City Of London
WOW over 52 views and not a single reply thanks heart breaking
Device
HTC one (M7)
ROM: Stock, 4.4.2 Kitkat.

History: HTC One X, iPhone 4, iPhone 3G, Blackberry Bold 2, Blackberry Curve 3G, Nokia N95 8GB(Still in love with it), LG KU990 Viewty, Sony Ericsson K950, Motorola Razor, Motorola v3 ,Nokia 3310
 
Boachti
Old
#3  
Boachti's Avatar
Senior Member
Thanks Meter 20
Posts: 106
Join Date: May 2012
Location: Luxembourg
Quote:
Originally Posted by Infoseye View Post
WOW over 52 views and not a single reply thanks heart breaking
try this
first relock the bootloader
"fastboot oem lock"
and then go to htcdev.com/bootloader and follow the steps to unlock it again
Don't forget to hit Thanks Button

HTC One (M7)
ROM: Android Revolution HD
 
Infoseye
Old
#4  
Infoseye's Avatar
Member - OP
Thanks Meter 5
Posts: 96
Join Date: Feb 2013
Location: City Of London
Quote:
Originally Posted by Boachti View Post
try this
first relock the bootloader
"fastboot oem lock"
and then go to htcdev.com/bootloader and follow the steps to unlock it again

Okay I will give it a try and tell you the out come.
Device
HTC one (M7)
ROM: Stock, 4.4.2 Kitkat.

History: HTC One X, iPhone 4, iPhone 3G, Blackberry Bold 2, Blackberry Curve 3G, Nokia N95 8GB(Still in love with it), LG KU990 Viewty, Sony Ericsson K950, Motorola Razor, Motorola v3 ,Nokia 3310
 
Boachti
Old
#5  
Boachti's Avatar
Senior Member
Thanks Meter 20
Posts: 106
Join Date: May 2012
Location: Luxembourg
Quote:
Originally Posted by Infoseye View Post
Okay I will give it a try and tell you the out come.
ok
Don't forget to hit Thanks Button

HTC One (M7)
ROM: Android Revolution HD
 
Infoseye
Old
#6  
Infoseye's Avatar
Member - OP
Thanks Meter 5
Posts: 96
Join Date: Feb 2013
Location: City Of London
Quote:
Originally Posted by Boachti View Post
ok
Okay I have locked and relocked Bootloader, installed custom recovery. So what do I do now?
Device
HTC one (M7)
ROM: Stock, 4.4.2 Kitkat.

History: HTC One X, iPhone 4, iPhone 3G, Blackberry Bold 2, Blackberry Curve 3G, Nokia N95 8GB(Still in love with it), LG KU990 Viewty, Sony Ericsson K950, Motorola Razor, Motorola v3 ,Nokia 3310
 
alray
Old
#7  
alray's Avatar
Senior Member
Thanks Meter 1,110
Posts: 2,866
Join Date: May 2012
Location: Montreal

 
DONATE TO ME
Quote:
Originally Posted by Infoseye View Post
Hello everyone,

I bought an HTC one off ebay, having in mind I would flash custom rom on the device which I prefer for obvious reasons. But each time I open Hasson2000 Tool to get ID token I get this error in command prompt below:

*daemon not running. starting it now on port 5037 *
*daemon started successfully *
'error: device offline

I have tried searching for solutions but I cant get one to actually fix my own issue, I do know the HTC bootloader has been unlocked and rooted because I can boot to bootloader menu, boot to recovery mode and on top on the screen it says *****TAMPERED***** just below it says ***UNLOCKED*** I figured the previous owner tried locking bootloader before selling it off.

I noticed other commands dont work like reboot device on the tool probably because of that error or my htc is not recognised am not sure. am running Windows 8.1 Pro on my laptop.

What I have done so far

Rebooted phone several times
Rebooted my laptop several times
Unplugged and plugged in usb cable
Used different usb ports it recognises my htc because I can view my SD card or transfer files between laptop and phone.

Please guys I neeed your help with this, thanks.
What about using the command prompt instead of a toolkit? No disrespect to Hasson2000, but toolkits aren't ideal imo

In most cases, ''device offline'' is caused by an outdated version of the android sdk or a bad usb cable/usb port (btw use usb 2.0 ports).

Also in windows devices manager, your phone must be listed as Android usb device ---> My HTC. If not, you have drivers issue.

If your phone still boot normally, just copy the rom inside the sdcard, reboot in recovery and install it. I will highly suggest you make sure adb and fastboot works correctly before as they will be required if something goes wrong when installing the custom rom. Also make a nandroid backup of your current config before flashing the rom and make a copy of that backup on your computer.
If I've helped you, please hit the ''tanks'' button
If you want a reply, quote or mention me using @alray

Useful links for the HTC One:
nkk71's SuperGUIDE to returning 100% back to stock
Flashing requirements chart by nkk71
HTC1Guru.com by crushalot
 
Infoseye
Old
#8  
Infoseye's Avatar
Member - OP
Thanks Meter 5
Posts: 96
Join Date: Feb 2013
Location: City Of London
Quote:
Originally Posted by alray View Post
What about using the command prompt instead of a toolkit? No disrespect to Hasson2000, but toolkits aren't ideal imo

In most cases, ''device offline'' is caused by an outdated version of the android sdk or a bad usb cable/usb port (btw use usb 2.0 ports).

Also in windows devices manager, your phone must be listed as Android usb device ---> My HTC. If not, you have drivers issue.

If your phone still boot normally, just copy the rom inside the sdcard, reboot in recovery and install it. I will highly suggest you make sure adb and fastboot works correctly before as they will be required if something goes wrong when installing the custom rom. Also make a nandroid backup of your current config before flashing the rom and make a copy of that backup on your computer.
Well actually I used command prompt since the Hasson2000 tool did not work, Yes my HTC displays under device manager when plugged in. I think its my adb that is out of date.

How do I update my adb?
Device
HTC one (M7)
ROM: Stock, 4.4.2 Kitkat.

History: HTC One X, iPhone 4, iPhone 3G, Blackberry Bold 2, Blackberry Curve 3G, Nokia N95 8GB(Still in love with it), LG KU990 Viewty, Sony Ericsson K950, Motorola Razor, Motorola v3 ,Nokia 3310
 
alray
Old
#9  
alray's Avatar
Senior Member
Thanks Meter 1,110
Posts: 2,866
Join Date: May 2012
Location: Montreal

 
DONATE TO ME
Quote:
Originally Posted by Infoseye View Post
Well actually I used command prompt since the Hasson2000 tool did not work, Yes my HTC displays under device manager when plugged in. I think its my adb that is out of date.

How do I update my adb?
what is the output of

Code:
adb version
?
If I've helped you, please hit the ''tanks'' button
If you want a reply, quote or mention me using @alray

Useful links for the HTC One:
nkk71's SuperGUIDE to returning 100% back to stock
Flashing requirements chart by nkk71
HTC1Guru.com by crushalot
 
Infoseye
Old
#10  
Infoseye's Avatar
Member - OP
Thanks Meter 5
Posts: 96
Join Date: Feb 2013
Location: City Of London
Quote:
Originally Posted by alray View Post
what is the output of

Code:
adb version
?
I dont undertsand what you mean by adb version, how do find out the version am a newbie to all this stuff
Device
HTC one (M7)
ROM: Stock, 4.4.2 Kitkat.

History: HTC One X, iPhone 4, iPhone 3G, Blackberry Bold 2, Blackberry Curve 3G, Nokia N95 8GB(Still in love with it), LG KU990 Viewty, Sony Ericsson K950, Motorola Razor, Motorola v3 ,Nokia 3310
Tags
error: device offline, hasson 2000
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Change the Style of Your Notifications with HeadsUp

Head Up notifications is one of these upcoming features that Android developers hid deep … more

Google Play Store to Show Price Ranges for In-App Purchases

Google recently announced a change to Google Play Store policy that requires … more

XDA Xposed Tuesday: How to Shut Up Your Phone – XDA Developer TV

So many different applications want to send us notifications that … more

Add Some Power to First Generation Snapdragon CPUs

Some older devices still remain very popular. Phones like theHTC Desire, Sony Ericsson … more