Problem Rooting Magic. - myTouch 3G, Magic Android Development

I'm trying to help my cousin out. I'm doing it on a mac through screenshare.
Code:
shane-deanes-macbook:tools Rakka$ ./adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
HT93VKF07738 device
shane-deanes-macbook:tools Rakka$ ./fastboot-mac boot recovery-new.img
cannot load 'recovery-new.img'
shane-deanes-macbook:tools Rakka$ ./fastboot-mac boot recovery-new.img
cannot load 'recovery-new.img'
shane-deanes-macbook:tools Rakka$ ./fastboot-mac boot recovery-new.img
cannot load 'recovery-new.img'
shane-deanes-macbook:tools Rakka$ ./fastboot-mac boot daldroid-recovery.img
cannot load 'daldroid-recovery.img'
shane-deanes-macbook:tools Rakka$
this is where we get stuck.
I have a rooted g1 running the hero rom, so i'm fairly familiar with adb, and fastboot. please help.

bump.
(filler.)

I second this bump as I am stuck at this point too. Surely, someone, anyone?

My first thought at seeing that is that the .img files aren't in the folder you're working from, though I would imagine you'd checked that already... I haven't had any experience with doing this on Macs so I'm probably not much help to be honest. Anyone else?

You can always drag and drop the img files into the cmd window after the commands eg fastboot boot C:\Android\Tools recovery-new.img

hmm... seems to me that the recovery img is not placed in
shane-deanes-macbook:tools on your computer... do so and it should work fine....
place it in the tools folder of your sdk and try again.

Related

[solved] ADB pull help?

So I installed the newest radios from the dev forum using the PG06IMG.zip.
Well now my phone wont boot because I need to restore, but I can't get into recovery because the bootloader always asks if I want to install PG06IMG.zip
What is the ADB Pull command to remove the file?
Also, when can I use ADB pull? When my phone is stuck at the bootscreen or the bootloader?
I do the following
cd C:\AndroidSDK\platform-tools
then >adb
then I do
adb pull /sdcard/PG06IMG.zip
keeps saying remote object "file" does not exist
what's the correct process of removing this file?
nevermind, I figured it out by just booting directory to recovery from command prompt
adb shell boot recovery

need help flashing recovery

I went ahead and did the oem unlock but when I try and flash the recovery (or boot) image through fastboot using this:
C:\androidsdk\tools\fastboot flash recovery XXXXXXX.img
or
C:\androidsdk\tools\fastboot flash boot rootboot.img
I keep getting this error:
error: cannot load 'XXXXXXX.img'
I've trouble shooted all of the main things. ...my device is definitely attached. I have the recovery .img file in the same folder as fastboot (along with the 2 needed .dll files). I've also done stuff like re-install usb drivers, re-install sdk, I've oem unlocked 3 times.
I have a stock wifi xoom with 3.2
Here are the 2 main root guides I've been using
http://forum.xda-developers.com/showthread.php?t=1170760&highlight=how+to+root
http://forum.xda-developers.com/showthread.php?t=1242241&highlight=how+to+root
Thank you for your help
in cmd(assuming windows) type cd c:/•••••tools
your xoom should be in adb reboot bootloader
type fastboot flash recovery recovery.img
rename recovery file as recovery.img and place in tools/platformtools as the case may be.
sending this message from stock xoom.
awesome, thanks. What you told me was enough to show me what I was doing wrong.
In case someone else reads this later on I had to type
cd C:\androidsdk\tools ...hit enter
then it looked like this
C:\androidsdk\tools> ...and I then typed
fastboot flash recovery XXXX.img
earlier I also renamed the folder to androidSDK from android-sdk

[Q] Installing Cyanogenmod, Fastboot wont work.

So, trying to root and install cyanogenmod on my friends Evo **** 4g 2.3.3.
Following instructions per the cyanogenmod install wiki and a few other places.
I am using linux for everything and have adb setup correctly. I downloaded the fastboot from htc's dev website. [Everyone links you to the website but forgets to mention that you have to create an account and click on 'unlock bootloader' and scroll through a few pages]
Anywho, I did that and extracted the file to my android sdk directory. {for me it's [androidsdk/platform-tools]}
Now, when I try to run the fastboot command after running the adb reboot command to get into the bootloader, it returns with an error. "Fastboot command not found"
Now, I double checked and I marked the permissions for the fastboot file to be allowed to execute as a program.
What else am I doing wrong? If someone that has done this before, could help me out, that would be fantastic!
Again, I am running on ubuntu 11.04 linux with adb set up properly. Thanks.
cehck to see if you are in the same directory as fastboot. If you are in the platform-tools/ directory, do cd ../tools
fastboot *command here
Indirect said:
cehck to see if you are in the same directory as fastboot. If you are in the platform-tools/ directory, do cd ../tools
fastboot *command here
Click to expand...
Click to collapse
I was indeed in the same directory as fastboot, but fastboot would not recognize as a command. Even when I tried it with my atrix.
Try chmod 777 fastboot
Sent from my PC36100 using XDA Premium App
Trying this now. Will let you know in a sec.
Edit:
Still getting fastboot: Command not found

HELP. Battery died, now phone will not get past HTC Logo Screen

I have been running AOKP. I have tried booting the phone numerous time and have had no luck. Power+Vol down doesn't get me anywhere either, it is just stuck on the "htc quietly brilliant - This build is for devlopment purposes only. Do not distribute outside of HTC ......"
Is it possible being only on this screen to use adb to clear cache, or is the phone toast? How can the battery dying kill the phone on the next boot?
SilentLunatic said:
I have been running AOKP. I have tried booting the phone numerous time and have had no luck. Power+Vol down doesn't get me anywhere either, it is just stuck on the "htc quietly brilliant - This build is for devlopment purposes only. Do not distribute outside of HTC ......"
Is it possible being only on this screen to use adb to clear cache, or is the phone toast? How can the battery dying kill the phone on the next boot?
Click to expand...
Click to collapse
Have you charged it? I know it sounds obvious lol... but you never know.
And try to see if you can get adb initializing by booting your phone, letting it sit at the bootsplash for 10 seconds or so, and then in a command prompt type "adb devices" and see if you get your device's serial number back.
rohan32 said:
Have you charged it? I know it sounds obvious lol... but you never know.
And try to see if you can get adb initializing by booting your phone, letting it sit at the bootsplash for 10 seconds or so, and then in a command prompt type "adb devices" and see if you get your device's serial number back.
Click to expand...
Click to collapse
Will def try. I did get it booted into CWM. It says it cannot mount the sd card. I do not know how to push a file to it if I can't mount it. I cannot see the AOKP.zip file I used either when I try to "choose update from zip".
Trying the adb now though. Will be back with results.
SilentLunatic said:
Will def try. I did get it booted into CWM. It says it cannot mount the sd card. I do not know how to push a file to it if I can't mount it. I cannot see the AOKP.zip file I used either when I try to "choose update from zip".
Trying the adb now though. Will be back with results.
Click to expand...
Click to collapse
Is the CWM recovery that you have the one with the fixed adb?
Go to command prompt and when in CWM run adb devices.
If you get your device, to mount your sdcard then run this:
adb shell mount /sdcard
Then try pushing the update.zip again.
If that doesn't work, then from CWM and adb again, reboot into bootloader (adb reboot bootloader), get into fastboot mode (wait till it says "fastboot usb"), and then run the RUU.
rohan32 said:
Is the CWM recovery that you have the one with the fixed adb?
Go to command prompt and when in CWM run adb devices.
If you get your device, to mount your sdcard then run this:
adb shell mount /sdcard
Then try pushing the update.zip again.
If that doesn't work, then from CWM and adb again, reboot into bootloader (adb reboot bootloader), get into fastboot mode (wait till it says "fastboot usb"), and then run the RUU.
Click to expand...
Click to collapse
X:\Android SDK\platform-tools>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
HT24LW304682 device
X:\Android SDK\platform-tools>adb shell mount /sdcard
- exec '/system/bin/sh' failed: No such file or directory (2) -
Guess I'm going to try the RUU now...
SilentLunatic said:
X:\Android SDK\platform-tools>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
HT24LW304682 device
X:\Android SDK\platform-tools>adb shell mount /sdcard
- exec '/system/bin/sh' failed: No such file or directory (2) -
Guess I'm going to try the RUU now...
Click to expand...
Click to collapse
RUU cannot update the phone. Encountered Error [155]
Currently sitting on the black htc logo screen when it's trying to flash the stock image.
SilentLunatic said:
RUU cannot update the phone. Encountered Error [155]
Currently sitting on the black htc logo screen when it's trying to flash the stock image.
Click to expand...
Click to collapse
I wanted to note that I did re-lock the bootloader.
Fixed! Beat the phone on the desk, ran for the 5th time and it worked. Flashing TWRP now and back to AOKP I come. Mods please close this thread, and HUGE thanks to rohan32.

Can't boot or flash TWRP from MacOS ADB. Can't find file...

Hi,
I successfully unlocked my bootloader and the MacOS ADB can still see my device.
However, I have the TWRP files and Magisk downloaded and ready to go on the Mac (and on my phone) but the ADB commands won't work. Fastboot boot or Fastboot flash...
It's my girlfriends Mac and I'm not familiar with MacOS at all. Am I doing something obvious wrong..??? Any ideas please??
the.Great.Skua said:
Hi,
I successfully unlocked my bootloader and the MacOS ADB can still see my device.
However, I have the TWRP files and Magisk downloaded and ready to go on the Mac (and on my phone) but the ADB commands won't work. Fastboot boot or Fastboot flash...
It's my girlfriends Mac and I'm not familiar with MacOS at all. Am I doing something obvious wrong..??? Any ideas please??
Click to expand...
Click to collapse
cant find file?
Seems like youre in the wrong folder. Try to navigate to your download folder with the command cd
You can also send pictures in here
You have to open a Terminal window in the same folder where you have adb and fastboot.
Also, on OSX, the commands have to be preceded by ./
For example:
./adb devices
./fastboot boot twrp.img
Done it thank you.
I did the 'cd' command.
Then dragged the img. file from Finder to the terminal window. Then put the 'fastboot boot' command in front of that. It worked obviously.
I was unfamiliar with the file location name. This seems an easy way for someone that doesn't have a clue like me. ??

Categories

Resources