Related
Hi guys,
I have a rooted HTC Desire that I rooted myself on a PC but I mainly use my Mac and I wanna know how to root it on the Mac as well. I've followed the tutorial by benko286 on the boards but every time I hit step1-mac.sh, it starts the terminal, then asks my password,I enter my password, it then says the stuff below and it shuts down the terminal.
About to start flash...
sudo: ./fastboot-mac: command not found
Any idea why this is happening? I'd really love to learn how to do this on the mac platform as well.
Thanks in advance,
Do you have the Android SDK for Mac OSX installed?
http://developer.android.com/sdk/index.html
Sent from my HTC Desire using XDA App
Hey mas,
Here we meet again. I am the guy with all the adb questions. No, I didn't know that was necessary. What do I do, once I download the file? Where should I save the files in the zip file?
Hi bud,
I'm not that familiar with Macs, but try installing the SDK, extract it to the root of your hard drive. Open terminal and get to the exact folder path of the downloaded r5 folder and then try executing the step1 command. Also ensure you have HTC sync installed.
EDIT: have you come across this?
Works on Macs too and will be alot easier for you:
http://unrevoked.com/recovery/
Sent from my HTC Desire using XDA App
fastboot-mac is a shell script is it not?
so you need to execute it with the correct bash command
so type ' sh fastboot-mac '
can someone please explain it to me very detailed? i dont understand so much from the tuts i have read.
Are you rooted and s-off`d?
Blinkydamo said:
Are you rooted and s-off`d?
Click to expand...
Click to collapse
yes, i have
Put cwmod on the root of your sd card. Download terminal emulator from the market. In terminal emulator type
su
press enter
then type
flash_image recovery /sdcard/nameofrecovery.img
press enter
Replace nameofrecovery with whatever the name of the file is.
When you reboot into recovery it should be cwm 3.0.0.5 (should be amber font)
Sent from my Desire HD using XDA App
it shows file not found, even when i write the name of the file.
From the htc stock rom, you need to do it from your pc using fastboot. It won't work with terminal emulator.
Which rom are you running?
Do you have adb installed on your pc?
If you have fastboot, put the recovery.img in the tools folder of your sdk, start up your phone to the bootloader, connect your phone with the usb cable then open a command promt, navigate to the tools folder and type
fastboot flash recovery nameofrecovery.img
Press enter then type
fastboot reboot
Should take aboot 5 seconds
Sent from my Desire HD using XDA App
pwraggcan said:
From the htc stock rom, you need to do it from your pc using fastboot. It won't work with terminal emulator.
Which rom are you running?
Do you have adb installed on your pc?
If you have fastboot, put the recovery.img in the tools folder of your sdk, start up your phone to the bootloader, connect your phone with the usb cable then open a command promt, navigate to the tools folder and type
fastboot flash recovery nameofrecovery.img
Press enter then type
fastboot reboot
Should take aboot 5 seconds
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
i am running revolution HD, i just tried that and it said failed <remote: not allowed>
why must it be so damn hard? damn crap
Are you eng s off?
Try using adb shell from your command prompt then use the same commands you used in terminal emulator.
Sent from my Desire HD using XDA App
pwraggcan said:
Are you eng s off?
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
i think so, http://forum.xda-developers.com/showthread.php?t=857537 i used that tut. is it so many different S-OFF's ?
Ok, with that s off method you can't use fastboot commands. Did you try the commands in adb shell?
Sent from my Desire HD using XDA App
pwraggcan said:
Ok, with that s off method you can't use fastboot commands. Did you try the commands in adb shell?
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
i dont know, maybe. but im trying this now http://forum.xda-developers.com/showthread.php?t=855403 will it be a problem that i used the other S-OFF and now this?
I don't know. First try the commands in adb shell from your pc.
Sent from my Desire HD using XDA App
pwraggcan said:
I don't know. First try the commands in adb shell from your pc.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
if you mean the commands that is written in cmd, then i have already tried it, and it failed.
In the command prompt, navigate to your sdk then type
Adb devices
Press enter
Your device's serial number should show
Then type
Adb shell
Press enter
If you get a $ type su then press enter
Then enter the same commands you used in terminal emulator
Why do you want cwm 3? It's generally only for 2.3 roms.
Sent from my Desire HD using XDA App
pwraggcan said:
In the command prompt, navigate to your sdk then type
Adb devices
Press enter
Your device's serial number should show
Then type
Adb shell
Press enter
If you get a $ type su then press enter
Then enter the same commands you used in terminal emulator
Why do you want cwm 3? It's generally only for 2.3 roms.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
I just installed it now thats why i want it, but do you know how i get back to the older cwm? do i just flash it in ROM manager?
Excellent. What worked finally?
To go back to an older version use rom manager or the use same way you upgraded.
Sent from my Desire HD using XDA App
You could try this, i haven't tried it myself so don't know if it works, but read it somewhere here on xda.
Go to this path with any file manager.
/mnt/sdcard/clockworkmod/download/koush.tandtgaming.com/recoveries
And copy that file to another folder. Then copy the name of that recovery (2.x.x.x) and then rename your 3.0.0.5 recovery with the old recovery name and just copy the new (2.x.x.x) to this path. (Just say yes to overwriting the file).
/mnt/sdcard/clockworkmod/download/koush.tandtgaming.com/recoveries
Then reboot and then boot into recovery and that should have changed the cwm from old to new. The color should be orange now and not green, if still green it didn't work.
If it doesn't work just restore the old recovery .img you've copied earlier (2.x.x.x).
Regards Dousan
e: Lol you fixed it while i was typing... Nice
pwraggcan said:
Excellent. What worked finally?
To go back to an older version use rom manager or the use same way you upgraded.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
i used this and then the command worked
Cool. Glad you're sorted. Good luck with cm7.
Sent from my Desire HD using XDA App
Dousan said:
You could try this, i haven't tried it myself so don't know if it works, but read it somewhere here on xda.
Go to this path with any file manager.
/mnt/sdcard/clockworkmod/download/koush.tandtgaming.com/recoveries
And copy that file to another folder. Then copy the name of that recovery (2.x.x.x) and then rename your 3.0.0.5 recovery with the old recovery name and just copy the new (2.x.x.x) to this path. (Just say yes to overwriting the file).
/mnt/sdcard/clockworkmod/download/koush.tandtgaming.com/recoveries
Then reboot and then boot into recovery and that should have changed the cwm from old to new. The color should be orange now and not green, if still green it didn't work.
If it doesn't work just restore the old recovery .img you've copied earlier (2.x.x.x).
Regards Dousan
e: Lol you fixed it while i was typing... Nice
Click to expand...
Click to collapse
Hello
just tried that worked flawlessly
thank you
Hallo everyone
I have installed the 3.1 Revolution HD with No-Sense. I also use LauncherPro. Now i want to change the slider in the lockscreen or if it is posible the whole Lockscreen (Dont like the Stock one because of sliding fron left to right. Its better to slide the slider down) .So how can i change the slider/Lockscreen. I dont want any of these apps that can be downloadet in the Market. Something to flash. And please tell me how i can flash it.
Thx
It sounds like you're looking for an Android Revolution HD specific add-on, and if you can't see it on the main mod thread, then it probably doesn't exist.
If you want that Sense style lock screen, you could always leave sense installed, and just install Launcher Pro over the top?
Otherwise, there's always ROMs like Cyanogen 7, which offer lock screen options built into the ROM.
Thx for the answear. But there must be another option or is it to complex to realise that. I just don't like sense because of all the background processes that are running with sense like HTC hub.
Sent from my Desire HD using XDA App
Download the sence version of ARHD extract htclockscreen.apk from system\app. Then push it to /system/app/ on your device.
Sent from my Desire HD using Tapatalk
I dont haveany /system/app/ folder on my sd card ? How can i access these folders?
Psfanboy said:
I dont haveany /system/app/ folder on my sd card ? How can i access these folders?
Click to expand...
Click to collapse
You have to push it to your /system app via adb.
But if you want htc lockscreen and are using ARHD (-sense) you can simply use the .zip package and flash it. Here's the link: https://www.dropbox.com/s/eml4jp8z0q7aqgo/Android_Revolution_HD_restore_HTC_LockScreen.zip
just download the file, put it in your sdcard and flash it via cwm!
thx for the answear. Buti want to know how to use adb to acces my device. Im in cmd and in the adb folder. I tried this: adb -s [yourdeviceserialnumberhere] shell with my devise number but i didnt work. Get device not found. But its connectet over usb only charging and usb Debugging on.
Psfanboy said:
thx for the answear. Buti want to know how to use adb to acces my device. Im in cmd and in the adb folder. I tried this: adb -s [yourdeviceserialnumberhere] shell with my devise number but i didnt work. Get device not found. But its connectet over usb only charging and usb Debugging on.
Click to expand...
Click to collapse
Use the command "adb devices", if it shows your serial number then your device is connected
To log into shell use the command "adb shell" you cannot push files to your device while logged into shell though
Sent from my Desire HD using Tapatalk
hi guys, i'm really sorry if this is really simple, but i just cant get my head around it and i've been googling for ages and i just keep getting more and more confused.
i'm basically trying to get fastboot enabled on my ubuntu linux install (11.04). would someone please explain to me in simple terms how to get it installed and running on linux, please? from the start would be great, as i find it harder to carry on half way through something. i appreciate the help. you guys are awesome
As soon as I get on my computer at home, i'll outline the steps and attach fastboot
(gimme an hour)
Update: it's taking me longer to get home than expected... Gimme till about 1pm cst (central standard time)
paxChristos said:
As soon as I get on my computer at home, i'll outline the steps and attach fastboot
(gimme an hour)
Click to expand...
Click to collapse
that would be brilliant!! thank you!!
Fastboot on Linux
I too had issues when I switched from Linux to windows (recently) and here's how I got it (just for documentation)
1) I downloaded android-sdk for linux, did the installs, but lo and behold, there was no fastboot...
2) Searched google for about 45 minutes
3) Finally figured out that HTC had it in their development website
4) Downloaded & chmod'd it so it'd work
5) Figured out that the r800x really can't be unlocked via all my attempts (so far...)
Here's a step by step as to how to get it without my hassle.
1) Attached is fastboot, download it, extract it (you can do this later in terminal if you feel like it, or you can do it now in the file explorer)
2) Open up terminal (if you don't have a shortcut for it, make one, it's the most useful thing in linux. ever.)
3) Type in su, enter your password (if you have it setup) and become root. (Or, you could call sudo whenever it is necessary, it's your preference)
4) goto the folder you downloaded fastboot to in terminal (the default chrome download place is /home/[insert your username here]/Downloads)
5) type in chmod [your preference for setting permissions here] fastboot
6) type in (sudo) cp fastboot /bin/
7) now you can call fastboot from anywhere in the terminal!!
This can also be done with adb
Any questions??
paxChristos said:
I too had issues when I switched from Linux to windows (recently) and here's how I got it (just for documentation)
1) I downloaded android-sdk for linux, did the installs, but lo and behold, there was no fastboot...
2) Searched google for about 45 minutes
3) Finally figured out that HTC had it in their development website
4) Downloaded & chmod'd it so it'd work
5) Figured out that the r800x really can't be unlocked via all my attempts (so far...)
Here's a step by step as to how to get it without my hassle.
1) Attached is fastboot, download it, extract it (you can do this later in terminal if you feel like it, or you can do it now in the file explorer)
2) Open up terminal (if you don't have a shortcut for it, make one, it's the most useful thing in linux. ever.)
3) Type in su, enter your password (if you have it setup) and become root. (Or, you could call sudo whenever it is necessary, it's your preference)
4) goto the folder you downloaded fastboot to in terminal (the default chrome download place is /home/[insert your username here]/Downloads)
5) type in chmod [your preference for setting permissions here] fastboot
6) type in (sudo) cp fastboot /bin/
7) now you can call fastboot from anywhere in the terminal!!
This can also be done with adb
Any questions??
Click to expand...
Click to collapse
^_^ thank you so much!! you have made my life so much easier!! just one question. if all i'm doing is flashing the occasional kernel with fastboot, or pushing/pulling etc with adb, do i still need all the adroid sdk stuff? or can i just delete all the stuff now?
solitarymonkey said:
^_^ thank you so much!! you have made my life so much easier!! just one question. if all i'm doing is flashing the occasional kernel with fastboot, or pushing/pulling etc with adb, do i still need all the adroid sdk stuff? or can i just delete all the stuff now?
Click to expand...
Click to collapse
Honestly, I don't know.
That being said, try copying all the extra stuff from where it is currently to another location, and try running adb and fastboot, if it works, delete the extra stuff, if it doesn't, don't mess with it
i am trying to do this with no luck. any suggestions
Where are you stuck?
Sent from my R800x using XDA App
In the terminal I get to waiting on divice. Can't get past that
Sent from my DROID X2 using xda premium
ninjasailas said:
In the terminal I get to waiting on divice. Can't get past that
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Are you in fastboot mode?? (Blue led on top)
(To get into fastboot mode on the Xperia Play, hold down the search button before and while you plug in the usb cord)
(If you are using a different phone, please google the button combination for fastboot)
I have a Droid x 2 and I have booted into fastboot mode
Sent from my DROID X2 using xda premium
good luck, but your problem is outside my (very limited) experience with devices, sorry.
Sent from my R800x using XDA App
That's ok I know its possable seen lots of dx2 users post there logo.bin files. might have to find a windows box. Also, what command do you recommended to fix permissions for fastboot. I used chmod +x fastboot
Sent from my DROID X2 using xda premium
I use numbers and honestly I do either 777 or 755
droid x2 is motorola, right? Don't you need boot strap or something for motorola?
Sent from my R800x using XDA App
update: check http://www.droidforums.net/forum/motorola-droid-x2/149566-droid-x2-boot-menu-recovery.html and see if that helps
For linux I found I had to add the "-i 0x0fce" before my commands or else Id be left with the waiting for device, try this:
fastboot -i 0x0fce getvar version
Also you may have to make the file:
/etc/udev/rules.d/51-android.rules
With this inside (note that 0fce is the idVendor for SE):
SUBSYSTEM=="usb", SYSFS{idVendor}=="0fce", MODE="0666"
That being said I think this accomplishes the same thing as just putting the -i 0x0fce before your command
I navigated to /etc/udev/rules.d. but I cannot create file.
Sent from my DROID X2 using xda premium
ninjasailas said:
I navigated to /etc/udev/rules.d. but I cannot create file.
Sent from my DROID X2 using xda premium
Click to expand...
Click to collapse
Create it I'm a different folder i.e. documents or downloads, them cp the file over to /etc/udev/
Sent from my R800x using XDA App
I actually created the file I had to use the command gksudo Nautilus. What version of Ubuntu do you have? I am using 11.10
Sent from my DROID X2 using xda premium
11.10, I run everything in terminal with root privileges : p
(don't forget to chmod if you cp!!)
Sent from my R800x using XDA App
What is cp
Oh copy paste?
Sent from my DROID X2 using xda premium
So my desire is rooted then I s off'd with revolutionary and loaded a new recovery, now I want to change hboots so I put an pb99img.zip file on the scard and booted into bootloader but the zip file is not found.... Am I missing something?
Sent from my HTC Desire using Tapatalk
It will be best if you start using fastboot, it's fastest easiest and safest way to do so.
Look for ADB/Fastboot guide (they are all over the place..), you need to setup it once and then you just flash hboot by simply executing few commands for example:
fastboot flash hboot cm7r2.img
fastboot erase cache
fastboot reboot-bootloader
And you're done, so just learn how to install and use adb.
If you want to use the pb99img.zip method, make sure that the file really is called PB99IMG.zip. Windows is default set that it doesn't display file type endings, so it would show "PB99IMG.zip", but the file really is called "PB99IMG.zip.zip", which won't be recognized.
Anyway, I prefer fastboot. If you can't use it (e.g. no own pc with adb around), the zip method also works. But fastboot is faster (as the name says!) and you don't have to mess with files on your sd.
Ok so readup a bit about adb and fast boot then installed jdk then installed the sdk then installed platform tools which included adb and fast boot and added path to adb folder under path environment variable. Connected phone and booted into fast boot. All good so far.
Running adb or fastboot devices command lists my phones serial number so all looks like its working so then I put the ing files I want to flash in the same folder as the adb.exe file then run the command - fastboot flash hboot bravo_alphaspl-oxygenr2.img but I get an error failed to load etc etc
Did I miss something? Am I putting the img files in the right place? Should I use the alpharev zip files instead of the img files?
Sent from my HTC Desire using Tapatalk
What errors exactly are you getting, it will be best if you paste whole log including commands that you were executing.
Sent from my HTC Desire using xda premium
see attached for error message
Just put the PM199IMG.ZIP File to the root of microSD card and goto boot loader and it will detect the update file and ask you if you want to update or not there just press yess and then goto recovery and restore your nandroid backup. Or flash New Rom.
Sent from my HTC Desire using XDA
Don't you mean PB99IMG.zip file not PM199IMG.zip? If so have tried that as per first post. If not then I'll try that too.
Sent from my HTC Desire using XDA
Maybe you have misspelled the img name, rename it to something shorter like oxygen.img also make sure you're in fastboot mode while flashing it! (power off, then hold vol- & power on, select fastboot)
And the last thing the img file has to be in same directory as the fastboot.exe
Sent from my HTC Desire using xda premium
Cuz, sorry to confuse you, but seriously, forget all about adb, terminal emulator, PB99IMG.zip etc. Just install Android Flasher, plug your phone to PC (leave on main screen, it'll be fine) and push .img file to phone.
It seriously is a piece of piss, mate. You will have no dramas.
There's a thread in dev section to give you the how-to.
E: If coming from another HBoot, make sure you push "downgrader" (from alpharev) first.
777ace said:
E: If coming from another HBoot, make sure you push "downgrader" (from alpharev) first.
Click to expand...
Click to collapse
No need.
10chars
kiwiflasher said:
Don't you mean PB99IMG.zip file not PM199IMG.zip? If so have tried that as per first post. If not then I'll try that too.
Sent from my HTC Desire using XDA
Click to expand...
Click to collapse
Typing error Sorry
kiwiflasher said:
Ok so readup a bit about adb and fast boot then installed jdk then installed the sdk then installed platform tools which included adb and fast boot and added path to adb folder under path environment variable. Connected phone and booted into fast boot. All good so far.
Running adb or fastboot devices command lists my phones serial number so all looks like its working so then I put the ing files I want to flash in the same folder as the adb.exe file then run the command - fastboot flash hboot bravo_alphaspl-oxygenr2.img but I get an error failed to load etc etc
Did I miss something? Am I putting the img files in the right place? Should I use the alpharev zip files instead of the img files?
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
You are on right track, you just need to put the img file to the location of fastboot.exe .
Dunno why you guys are talking about adb...that's a completely different story and you can't flash hboots with adb.
Apart from that i am quite surprised about how far you got,given the partly confusing answers.
You either use fastboot or android flasher (which is basically a fastboot GUI I think) or the PBblabla.zip hboot-zip method. Don't mix them up - you are using fastboot (which is the safest and in my eyes most straight forward way) , so stick to it You're almost there!
Sent from my HTC Desire using xda premium
Ok so I put the image file in the same folder as the fastboot.exe file so sounds like I did nothing wrong and it should have worked? Must be something wrong with the jdk or sdk install so will try using the Android Flasher method.
Sent from my HTC Desire using XDA
Yay for Android Flasher that did the trick, thanks to all...
Sent from my HTC Desire using XDA
kiwiflasher said:
Yay for Android Flasher that did the trick, thanks to all...
Sent from my HTC Desire using XDA
Click to expand...
Click to collapse
Sweet as!