Go Back   Android Forums > Android Phones > HTC One > (T-Mobile) One - All Things Root

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old October 10th, 2013, 08:58 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Oct 2013
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Sad Help me root my HTC One... PLEASE

Hello I have the HTC One on T-mobile and I am trying to root it. I am almost done, and when I power my phone down and hold the volume down and power keys It says "***Unlocked***". So when I plug in my phone into my Macbook Pro (late 2011) and type "./fastboot-mac flash recovery openrecovery-twrp-2.5.0.0-m7.img", it says "./fastboot-mac: No such file or directory". PLEASE HELP ME. I would really appreciate the help.

AS93 is offline  
Reply With Quote
sponsored links
Old October 11th, 2013, 02:28 AM   #2 (permalink)
AF Contributor
 
Hadron's Avatar
 
Join Date: Aug 2010
Location: Dimension Jumping
Posts: 11,517
 
Device(s): HTC One (S-Off), HTC Desire (retired)
Carrier: Orange UK

Thanks: 2,149
Thanked 4,760 Times in 3,461 Posts
Default

You need to install the fastboot program on the Mac (or, if you have installed it, cd to the directory you installed it in before typing that command. If so, copy the img file to that same directory first or else it won't find that).

I assume the guide you are following has a link to install the fastboot-mac program?
__________________
Forum Rules & Guidelines - Android Forums FAQ
If a post helps you, use the Thanks! button.
Spam or offensive? Don't respond, report it /!\
Hadron is offline  
Reply With Quote
The Following User Says Thank You to Hadron For This Useful Post:
scotty85 (October 11th, 2013)
Old October 11th, 2013, 06:46 AM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Oct 2013
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

Well now this is what I enter (I am still confused about your instructions). "
new-host-5:HTCOneRoot alex_sorkin$ ./fastboot-mac openrecovery-twrp-2.6.3.0-m7.img" I get:
"usage: fastboot [ <option> ] <command>

commands:
update <filename> reflash device from update.zip
flashall flash boot + recovery + system
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
reboot reboot device normally
reboot-bootloader reboot device into bootloader

options:
-w erase userdata and cache
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
new-host-5:HTCOneRoot alex_sorkin$" So I enter "flashall"
-bash: flashall: command not found
new-host-5:HTCOneRoot alex_sorkin$ update <openrecovery-twrp-2.6.3.0-m7.img>
-bash: syntax error near unexpected token `newline'
new-host-5:HTCOneRoot alex_sorkin$ update<openrecovery-twrp-2.6.3.0-m7.img>
-bash: syntax error near unexpected token `newline'
AS93 is offline  
Reply With Quote
The Following User Says Thank You to AS93 For This Useful Post:
scotty85 (October 11th, 2013)
Old October 11th, 2013, 11:58 AM   #4 (permalink)
AF Contributor
 
Hadron's Avatar
 
Join Date: Aug 2010
Location: Dimension Jumping
Posts: 11,517
 
Device(s): HTC One (S-Off), HTC Desire (retired)
Carrier: Orange UK

Thanks: 2,149
Thanked 4,760 Times in 3,461 Posts
Default

Ok, so you've got the fastboot-mac executable working. What's wrong us that you've not told it what you want to do (it doesn't know what's in an img file, so can't work it out).

To flash the recovery the command you need to type is:

./fastboot-mac flash recovery openrecovery-twrp-2.6.0.3-m7.img

The syntax is:

"fastboot-mac" is the app
"flash" tells it you want to flash a partition
"recovery" tells it which partition
Then the name of the img file you want to flash

Hope that helps!
Hadron is offline  
Reply With Quote
The Following User Says Thank You to Hadron For This Useful Post:
scotty85 (October 11th, 2013)
Old October 11th, 2013, 08:55 PM   #5 (permalink)
New Member
Thread Author (OP)
 
Join Date: Oct 2013
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 2 Posts
Default

Well I put in "./downloads/HTCOneRoot/fastboot-mac flash recovery openrecovery-twrp-2.6.0.3-m7.img" and I get "error: cannot load 'openrecovery-twrp-2.6.0.3-m7.img'". Please help me!!!
AS93 is offline  
Reply With Quote
The Following User Says Thank You to AS93 For This Useful Post:
scotty85 (October 11th, 2013)
Old October 12th, 2013, 03:56 AM   #6 (permalink)
AF Contributor
 
Hadron's Avatar
 
Join Date: Aug 2010
Location: Dimension Jumping
Posts: 11,517
 
Device(s): HTC One (S-Off), HTC Desire (retired)
Carrier: Orange UK

Thanks: 2,149
Thanked 4,760 Times in 3,461 Posts
Default

Sounds like you don't have the image file in that directory or the name is different.

Try typing "ls *.img" and see whether you can see the img file and check its name. Or I guess you could use the Finder to check whether the file is there if you find that easier.

You need to give the actual name and location of the img file as the last argument of the command, so the simplest will be if you copy the img into that directory from wherever it is. If it is in that directory but the name is different, use the actual name in the command.
Hadron is offline  
Reply With Quote
The Following User Says Thank You to Hadron For This Useful Post:
scotty85 (October 12th, 2013)
Reply
Tags
htc one, root, t-mobile


Go Back   Android Forums > Android Phones > HTC One > (T-Mobile) One - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:08 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.