[Q] flashing radio.img on mac - Desire HD Q&A, Help & Troubleshooting

hey guys,
will appreciate it if anyone can help me figure out how to flash my radio image on mac.
i have done eng s-off and radio s-off on my phone. also, i have downloaded fastboot for mac from htc developer's page.
these are my steps:
1. phone connected to the comp with usb debugging and usb connection as 'charge-only'
2. under terminal, i typed adb reboot bootloader ('fastboot USB' on my phone is red in colour)
3. i typed ./fastboot devices in the terminal to check whether my phone is detected
however, this is what i got:
j-n-slatform-tools JONAS$ ./fastboot-mac devices
-bash: ./fastboot-mac: Permission denied
pls anyone kind enough who can help me here?
Thanks a lot.

redx2evil said:
hey guys,
will appreciate it if anyone can help me figure out how to flash my radio image on mac.
i have done eng s-off and radio s-off on my phone. also, i have downloaded fastboot for mac from htc developer's page.
these are my steps:
1. phone connected to the comp with usb debugging and usb connection as 'charge-only'
2. under terminal, i typed adb reboot bootloader ('fastboot USB' on my phone is red in colour)
3. i typed ./fastboot devices in the terminal to check whether my phone is detected
however, this is what i got:
j-n-slatform-tools JONAS$ ./fastboot-mac devices
-bash: ./fastboot-mac: Permission denied
pls anyone kind enough who can help me here?
Thanks a lot.
Click to expand...
Click to collapse
i'm not sure about mac, but in windows when in fastboot mode, your device isnt detected with the "adb devices" command,. just try the "fastboot flash radio" command, if your device isnt connect proply nothing will happen

i did
im supposed to type ./fastboot-mac flash radio radio.img
but it return "permission denied"

redx2evil said:
i did
im supposed to type ./fastboot-mac flash radio radio.img
but it return "permission denied"
Click to expand...
Click to collapse
oh its because you have radio s-off you need engineering s-off to use fastboot commands
edit: sorry your op says you have both? are you sure? when in hboot does it say "ace pvt eng s-off" or "ace pvt ship s-off"

perhaps try: sudo ./fastboot-mac
or check the permissions of the file.

I believe it's because you're not a su user in you terminal so phone doesn't detect terminal as a su user. Try, booting phone into bootloader (turn off press power whilst holding vol down) then click power button whilst hovering over fastboot (use vol - + to navigate). Then on your mac make sure you've got fastboot set up etc type ./fastboot-mac devices (or you can drag the fastboot-mac file onto terminal and it converts it for you then hit space and type devices) should work from there if not try typing su once you've put it into fastboot and connected to mac. E-mail if need more support for mac.
iNoid

this is on my bootloader page
ACE PVT ENG S-OFF
HBOOT-0.85.2007 (PD9810000)
MICROP-0483
RADIO-26.03.02.26_M
eMMc-boot
Oct 11 2010, 12:44:14
my CID is CID:11111111 too
i believe it's eng s-off and radio s-off. still, i cant get my fastboot on the terminal through.
tried sudo ./fastboot-mac and su. =(

ok prob solved!
i had to gain access to the file by using chmod command.
for reference:
type "chmod a+x ./fastboot-mac" without the quotes in the terminal
w00ts!

redx2evil said:
ok prob solved!
i had to gain access to the file by using chmod command.
for reference:
type "chmod a+x ./fastboot-mac" without the quotes in the terminal
w00ts!
Click to expand...
Click to collapse
glad you got it sorted im also glad ive got a pc not a mac, cuz it sounds like alot of f***king about lol

Sorry didn't put that forgot (when I flashed mine I was fiddling with chmod on adb and I think it meant I didn't have to do it in fastboot) well done though! Macs are a ***** to understand..but then very easy

haha. once you've changed to mac you will never go back to windows, androhero.
and i totally agree with you iphonoid.

Related

fastboot usb mode (device not found)

Ok I can use commands VIA fastboot when the phone is on. The problem is using commands when the phone is in bootloader. It says "fastboot usb" But when i am trying to use commands like :adb reboot" i get a " device not found " error
The device is Eng s off and ship s off
Tryed this with 3 computers with no luck
I have all the needed drivers.
And using commands in bootloader worked before.
you cannot use adb commads while in fastboot, not will your device show up with the "adb devices" command, you can only issue fastboot commands. so to reboot you must use the command "fastboot reboot" and to show your device you can use the command "fastboot devices"
AndroHero said:
you cannot use adb commads while in fastboot, not will your device show up with the "adb devices" command, you can only issue fastboot commands. so to reboot you must use the command "fastboot reboot" and to show your device you can use the command "fastboot devices"
Click to expand...
Click to collapse
K thnx .
One more thing
I have SU on (#) and i cant even use commands in terminal .. tried reboot command : not permited
primpower said:
K thnx .
One more thing
I have SU on (#) and i cant even use commands in terminal .. tried reboot command : not permited
Click to expand...
Click to collapse
are you using leedroid's rom? i had the same problem, when i used his rom, some of the permissions in /system/bin/ are wrong on his rom, they are rwsr-xr-x and they should be set to rwxr-xr-x, try using adb
AndroHero said:
are you using leedroid's rom? i had the same problem, when i used his rom, some of the permissions in /system/bin/ are wrong on his rom, they are rwsr-xr-x and they should be set to rwxr-xr-x, try using adb
Click to expand...
Click to collapse
I was using Leedroid, i f**** up and installed multiple .zip at once.... first "leedroidRom.zip" and then "theme" without rebooting between.
After that it stopped working ( I think )
I then wiped everything and installed Android Revolution 2.0.12..
"Terminal"
# Reboot
not permited!
About the question i asked earlier. So its not possible to use adb commands trough fastboot. only fastboot commands.
so i have to use : "fastboot flash" and "fastboot push" to execute commands ?
you cannot use the push command while in fastboot for the same reason you cannot use ADB commands, because at that moment android is not booted, you can use adb commands from recovery though
here are the fastboot commands i know of:
fastboot devices - fastboot devices will give you a list of devices connected to the computer. This is also a good way to make sure that your phone is actually connected to the computer.
fastboot reboot - this will reboot your phone normally
fastboot oem unlock - Dont think this works with the DHD
fastboot erase XXX - Will erase the partition XXX (such as userdata, cache) - mainly used for resetting phone and clearing userdata / factory settings.
fastboot flash XXX YYY - This will flash XXX partitionn with YYY image

Trouble flashing radio?

Hi, i'm running through the HTC Desire HD: Full Update Guide, on my phone for the first time and am stuck at 'Flashing Radio'...
When I do this:
"On the computer, open terminal and run the following command:
fastboot flash radio radio.img"
I simply get:
< waiting for device >
Any idea what I am doing wrong?
Is there any other way to update the radio to 26.04.02.17?
Crawf said:
Hi, i'm running through the HTC Desire HD: Full Update Guide, on my phone for the first time and am stuck at 'Flashing Radio'...
When I do this:
"On the computer, open terminal and run the following command:
fastboot flash radio radio.img"
I simply get:
< waiting for device >
Any idea what I am doing wrong?
Is there any other way to update the radio to 26.04.02.17?
Click to expand...
Click to collapse
sounds like your phone isn't being recognised in fastboot, if your booted into fastboot check that the computer has the correct drivers installed.
try the command fastboot devices to check device is connected before issuing any fastboot commands

how to install stock recovery img

hi guys
i have installed custom rom and then again installed stock rom
now i can see ACE PVT SHIP S-ON in bootloader first line
i am permrooted using visionary and installed rom manager
and also radio s-on
i have a fota update
but i am unable to update because i still have clockwork mod recovery
if i press recovery in bootloader then clockworkmod recovery will be opened
how to go to stock recovery i,e a picture of cellphone and a red traingle
i think update will only work only if there is stock recovery
i have tried many ways but i have not succeded
like
---------------
adb shell
su (if you get permission denied, you have to do Visionary temproot)
getprop ro.cid (this will tell you your stock CID, we will use that later, so write it down. It has eight digits.)
busybox dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p21 (it will replace clockworkmod with original recovery)
sync (wait 10 secs after that, then you can close the adb shell window)
i see 7490+files in
7490+files out
and i type sync and wait for 1 min but no use
------------------
from terminal emulator
su
flash_image recovery recovery.img
i see "flash_image" not found
------------------
i have used fastboot method
downloaded fastboot.zip and extracted
and placed recovery.img in extracted folder and in run cmd as admin
and type c:\fastboot
flash recovery recovery.img
but i got fastboot.exe is not valid win32 application
---------------------
please guide me
thank u
Try this link, it might prove to be useful, especially the link by dr.m0x he has outlined some steps, I found it useful for myself. You will find the post at the end of the thread.
How to completely remove clockwork
Tried as said by.Dr.m0xd but I am getting an error "fastboot.exe is not a valid win32 application" I am using win 7 64bit home premium
Please some.one guide me
Thank-you0
Pls some one help me
karthik_vit07 said:
Pls some one help me
Click to expand...
Click to collapse
I assume you have the SDK installed.
From where you downloaded the fastboot.exe, Download it from http://developer.htc.com/adp.html
It is working fine for me on the same setup...copy the file on to the tools folder in the SDK...
Fastboot will not work because you have SHIP bootloader.
Busybox DD does not work because you do not have S-OFF. So get Radio S-OFF, reboot, replace the recovery using that dd command and then go back to S-ON.

Desire stuck on fastboot mode, cannot flash recovery

My desire is stuck on fastboot mode,
it is S-OFF
bravo pvt1 ship s-off
riff: 0.93.0001
microp-051d
radio-4.06.00.02_2
Made goldcard, but all the PB99IMG.zip I put on the sdcard are reported as INVALID.
try via fastboot, but I allways get the same error as it wasnt connected.
when I type: fastboot devices I get the device sn but not the $ to keep sending commands so every command I send reports the same error.
try the android flasher, nothing.
used the search button, read a lot but still cannot get the fastboot flash recovery recovery.img to work
run out of ideas, need some help please.
Please specify exactly which error is given when you execute "fastboot flash recovery recovery.img"(recovery.img being your recovery image).
Because if you've got fastboot commands working you should be able to flash.
Do your hboot say alpharev anywhere?
C:\Documents and Settings\Usuario>fastboot devices
HT05PPL02709 fastboot
C:\Documents and Settings\Usuario>cd\sdk
C:\sdk>cd android-sdk-windows
C:\sdk\android-sdk-windows>cd tools
C:\sdk\android-sdk-windows\tools>fastboot flash recovery recovery.img
sending 'recovery' (4216 KB)...
FAILED (status malformed (1 bytes))
finished. total time: 0.000s
I read this means no proper comunication in fastboot.
it is the clockworkmod recovery and the RA recovery...
both give me the same error... I cannot use any fastboot commmands.
they all end as previously shown.
tryed android flasher 1.8.0, selected recovery.img.... got "could not find part of the path data\recovery.img"
everytime, with every recovery.img I use.
this is all the lines on the hboot screen:
BRAVO PVT1 SHIP S-OFF
RIFF: 0.93.0001
MICROP-051d
TOUCH PANEL-SYNT0101
RADIO-4.06.00.02_2
Aug 10 2010,17:52;10
You can flash a recovery with the following command over adb or terminal emulator if your s-off. I know cm7, amonra recovery and rmd recovery support this, others...probably.
su
flash_image recovery /sdcard/recovery.img
I use it all the time.
Sent from my HTC Desire using XDA App
it doesnt work because I am stuck on fastboot.
adb shell do not work for me.
is there anything I should do after "fastboot devices" command?
I am using a xtc clip created goldcard.
should I flash a new hboot or a new radio?
hugmax said:
it doesnt work because I am stuck on fastboot.
adb shell do not work for me.
is there anything I should do after "fastboot devices" command?
I am using a xtc clip created goldcard.
should I flash a new hboot or a new radio?
Click to expand...
Click to collapse
[enter]
fastboot flash radio radio.img [enter] {wait the ok message}
fastboot reboot-bootloader [enter] {wait the reboot}
fastboot flash recovery recovery.img [enter] {wait the ok message}
fastboot reboot-bootloader [enter] {unplug the cable and wait the reboot}
from the bootloader menu go into recovery and flash the rom u want
ensure the img file are in the same directory of fastboot.exe
how u got s-off? with alpharev or an xtc clip? the xtc clip doesn't give u fastboot flash commands i think, then u should try run revolutionary.io i think, after u can flash recovery etc
s-off via xtc-clip.
will try the commands... should I pick any radio.img?
hugmax said:
s-off via xtc-clip.
will try the commands... should I pick any radio.img?
Click to expand...
Click to collapse
first run revolutionary, it will give u a patched s-offed hboot..this hboot will allow commands like "fastboot flash..."
about the radio, u can use the latest in this thread (extract the img from the zip) be careful flashing it..wait it to finish..don't remove battery or something like that
if I run revolutionary all I get is "waiting for device"
D:\Docs\Celulares\htc\desire\revolutionary-0.4pre4>revolutionary
=============================================
| Revolutionary S-OFF & Recovery Tool 0.4pre4 |
=============================================
Brought to you by AlphaRev & unrEVOked.
Waiting for device...
Click to expand...
Click to collapse
if I am stuck on fastboot and xtc clip doesnt allow any fastboot command... and unrevoke/revolutionary dont recognize my fastboot device...
what am I suppose to do now?
I get FAILED(status malformed.... ) with every single fastboot command.
hugmax said:
if I run revolutionary all I get is "waiting for device"
Click to expand...
Click to collapse
uninstall htc synch at all, and other programs that can interferr
install this fastboot drivers
run revolutionary, plug the phone in fastboot mode
Have you try to unroot with a PB99IMG?
Sent from my rooted and s-offed HTC Desire.
andQlimax said:
uninstall htc synch at all, and other programs that can interferr
install this fastboot drivers
run revolutionary, plug the phone in fastboot mode
Click to expand...
Click to collapse
I installed the drivers, it says
Android Composite ADB Device
version 2.0.10.12
date: 11/08/2009
Shouldnt it says 3.0?
anyway... it didnt work... I will try to delete/uninstall everysingle htc driver in my pc or try on another fresh laptop with no htc drivers.
Again here,
new pc, Windows XP SP3 with no HTC/Android software.
Intalled the HTC 3.0 and the phone was not recognized
should I try on win7?
that is going to be my next test
follow up: tryed on win7, htc 3.0.0 drivers didnt work. phone is not recognized.
I know it was working fine... tryed to flash it and it died... resurrected with RIFF Box but cannot flashed with any firmware.
i tried to flash a new hboot with android flasher, but it just reboot and nothing happened.
did you check md5 sum btw? just with the error saying invalid and 1 byte...
So you can still access fastboot but cant flash? hmmm...
I would personally delete all your android sdk and redownload it all and set up adb fastboot again, it does sound like a driver problem
timothio said:
i tried to flash a new hboot with android flasher, but it just reboot and nothing happened.
Click to expand...
Click to collapse
What did you expect? Its requires few seconds to flash it..If u saw the success message and u see the new hboot on the bootloader screen, thats all
ok,
now I went to find a PB99IMG.zip with the same radio.
copied it to the sd
power on the phone
and I got this:
Uploaded with ImageShack.us
but it is just sitting there, waiting for something to happen?
I tryed to select something but it doesnt respond to anything... can it be that the touch screen is faulty? because it was working at the beginning.
I did redownload everything again.
java sdk and everything
it doesnt work with the htc 3.0 driver, only with 2.0

ZE551ML + Ubuntu 14.04.1[fastboot issue]

Hi folks.
I'm trying to root my phone (ZE551ML - 2.83Ghz and 4Gb Ram) with method 3 in this thread (Using Ubuntu 14.04.1 with installed ADB 1.0.32 and android-tools-fastboot) but the script Root.sh gives me this error:
./adb.mac: 1: ./adb.mac: Syntax error: ")" unexpected
And the script is not rooting the phone.
Then i tryed to do things manually and observed that after i hit the 'adb reboot bootloader' (so i can flash the files like the script would do) the phone reboots into fastboot mode but the 'adb devices' or 'fastboot devices' didnt show my phone anymore - or anything.
Tried to do the same with phone in recovery mode and got the same result.
Can anyone help me?
Did I miss anything?
Ps. My Bootloader is locked and i have no intention of unlocking it yet.
C-Ph87 said:
Hi folks.
I'm trying to root my phone (ZE551ML - 2.83Ghz and 4Gb Ram) with method 3 in this thread (Using Ubuntu 14.04.1 with installed ADB 1.0.32 and android-tools-fastboot) but the script Root.sh gives me this error:
./adb.mac: 1: ./adb.mac: Syntax error: ")" unexpected
And the script is not rooting the phone.
Then i tryed to do things manually and observed that after i hit the 'adb reboot bootloader' (so i can flash the files like the script would do) the phone reboots into fastboot mode but the 'adb devices' or 'fastboot devices' didnt show my phone anymore - or anything.
Tried to do the same with phone in recovery mode and got the same result.
Can anyone help me?
Did I miss anything?
Ps. My Bootloader is locked and i have no intention of unlocking it yet.
Click to expand...
Click to collapse
Are you using root command prompt on your pc? You need admin privileges on pc.
Sent from my ASUS_Z00A using Tapatalk
kenbo111 said:
Are you using root command prompt on your pc? You need admin privileges on pc.
Sent from my ASUS_Z00A using Tapatalk
Click to expand...
Click to collapse
Yes. Using 'sudo fastboot devices' nothing happens.
C-Ph87 said:
Yes. Using 'sudo fastboot devices' nothing happens.
Click to expand...
Click to collapse
http://www.asus.com/zentalk/thread-76656-1-1.html
geopit said:
http://www.asus.com/zentalk/thread-76656-1-1.html
Click to expand...
Click to collapse
The comands in the Python Script are:
adb reboot bootloader
fastboot flash /system/bin/resize2fs magic
fastboot flash /system/bin/tune2fs busybox
fastboot flash /system/bin/partlink supersu.tgz
fastboot oem start_partitioning
fastboot flash /system/bin/logcat installer
fastboot oem stop_partitioning
The thing is that fastboot doesnt recognize my device after the 'adb reboot bootloader' and the message 'waiting for the device' gets stuck.
If you look into the thread you'll see that the 7th answer (user orlapalm) has the same unsolved issue.
Guess the solution is used somebody elses PC with Windows since there's no way to use Ubuntu on This phone.
Try this:
Code:
#!/bin/bash
adb reboot bootloader
fastboot flash /system/bin/resize2fs magic
fastboot flash /system/bin/tune2fs busybox
fastboot flash /system/bin/partlink supersu.tgz
fastboot oem start_partitioning
fastboot flash /system/bin/logcat installer
fastboot oem stop_partitioning
Save as root.sh and try again.
Sent from my ASUS_Z00A using XDA Labs
krasCGQ said:
Try this:
Code:
#!/bin/bash
adb reboot bootloader
fastboot flash /system/bin/resize2fs magic
fastboot flash /system/bin/tune2fs busybox
fastboot flash /system/bin/partlink supersu.tgz
fastboot oem start_partitioning
fastboot flash /system/bin/logcat installer
fastboot oem stop_partitioning
Save as root.sh and try again.
Sent from my ASUS_Z00A using XDA Labs
Click to expand...
Click to collapse
Thanks but will not work.
I know how a script works but seems that Zf2 needs the Fasboot v1.0.32 - Witch i dont find anywhere.
Fastboot v1.0.31 (installed with apt-get install android-tools-fastboot) doesnt recognize the Zenfone 2 on Ubuntu.
Maybe because the USB device is not recognized, what does lsusb say before and after the reboot in bootloader?
Magister54 said:
Maybe because the USB device is not recognized, what does lsusb say before and after the reboot in bootloader?
Click to expand...
Click to collapse
lsusb (before reboot)
Bus 001 Device 004: ID 0b05:5601 ASUSTek Computer, Inc.
lsusb (after reboot)
Bus 001 Device 006: ID 0b05:4daf ASUSTek Computer, Inc. Transformer Pad Infinity TF700 (Fastboot)
Fastboot cmds:
~$ fastboot continue
< waiting for device >
~$ fastboot reboot
< waiting for device >
Ps. After this I saw that device code is different after (0b05:4daf) and before (0b05:5601) reboot so i added the permission for this 'new dvice' in /etc/udev/rules.d/51-android.rules and now fastboot seems to recognize my phone.
Magister54 said:
Maybe because the USB device is not recognized, what does lsusb say before and after the reboot in bootloader?
Click to expand...
Click to collapse
Thank you very much for the tip, man!
Without it i would never solved this situation!
C-Ph87 said:
Thank you very much for the tip, man!
Without it i would never solved this situation!
Click to expand...
Click to collapse
No problem :highfive:

Categories

Resources