cmd and magic root? - myTouch 3G, Magic Android Development

1. Make sure that you have downloaded the latest Android SDK. Put is somewhere accessible, such as C:\Android
2. Grab fastboot.exe and put it in the tools directory of the SDK.
3. Male sure that your computer is configued to use the proper debugging drivers. They should be in the SDK.
4. Grab this update.zip and put it on your SD card.
5. Grab the RAv1.0 Modded Recovey image and put it in the SDK tools directory.
6. Open a command prompt (shift-click in the tools directory and "Open command window here")
7. Making sure that you have everything in place, power down the phone and boot into Recovery Mode (hold the Power and Back keys until the three skating droids appear).
8. Go to the command propmt you opened earlier and type the following
fastboot boot recovery-RAv1.0H.img
**im having trouble with steps 6 and 8.
I open cmd and it starts with
C:\Documents and Settings\RO>
I put the fastboot file in
C:\Android\Android\tools
**maybe if some1 can help me to direct it so i can open the fastboot file
i'd appreciate it

type:
cd c:\Android\Android\tools
and it should cd (change directory) to that dir

Related

[Q] Cant load Reovery from fastboot

I "attempted" to root my NS following these directions:
I. Before You Begin
1. This will unlock your phone’s bootloader (so you can flash recoveries and ROMs), and can be undone very easily (unlike the Nexus One).
2. This WILL ERASE all your information on the phone.
II. Setup ADB
1. Head to our How To Setup ADB procedure, once you can see your phone’s serial number after typing adb devices then come back to this procedure and continue.
(MAKE SURE YOU FOLLOW ALL THE STEPS IN THE WRITTEN PROCEDURE AS THERE HAVE BEEN UPDATES ADDED).
III. Unlock the Bootloader
1. Turn off your phone.
2. Turn it on by holding Volume Up and Power until fastboot mode comes up.
3. Plug the phone in via USB cable to your computer while it is in fastboot mode.
4. Open a command prompt on your computer by clicking on the Start menu button and typing cmd and hitting enter in the search box.
5. In the command prompt that pops up, type the following with hitting enter at the end of each line:
cd c:\androidsdk\tools\
fastboot oem unlock
6. At this point the phone will ask you to confirm, select yes. You now have an unlocked bootloader.
IV. Flash a Custom Recovery Image
1. Download the custom recovery image and save it to your computer:
ClockworkMod Recovery for Nexus S
2. Copy the recovery.img file inside the tools folder of the sdk (so it is in the same folder as fastboot.exe)
3. Then in the command prompt that should still be open, type the following with hitting enter at the end of each line:
fastboot flash recovery recovery.img
4. Once it is flashed, leave the phone in plugged in and in fastboot mode.
V. Root the Phone
1. In fastboot mode, select Recovery using the volume buttons and power button and wait for it to boot into recovery mode.
2. Download the Superuser flashable zip file and save it to your computer.
Superuser for Android 2.0 and Up Flashable Zip
3. Once in recovery mode, select Mounts and Storage then select Mount USB Storage so we can transfer files to the sd while it is in recovery mode.
4. Copy the Superuser.zip file to the root of your internal storage (do NOT extract it, do NOT put it in any folders, just on the phone’s storage itself).
5. Select Unmount on the phone.
6. Select Mount System, then select Go Back to get back to the main menu.
7. Then scroll to flash zip from sdcard and then choose zip from sd card and select the superuser.zip file and wait for it to finish flashing.
8. Once it is done, select Go Back then Reboot System and wait for the phone to reboot.
VI. Stop the Phone from Uninstalling the Custom Recovery Image
1. Once the phone is booted up, plug it in via USB cable and do NOT mount the storage.
2. Open a command prompt on the computer and type the following with hitting enter at the end of each line:
adb shell
cd etc
mount -o rw,remount /dev/block/mtdblock3 /system
mv install-recovery.sh install-recovery-no.sh
3. That will mount the system as writable and rename the file that overwrites the recovery image on reboot so that our custom recovery will stay.
4. Turn off the phone and turn it back on by holding down Volume Up and Power to get into fastboot mode.
5. Plug the phone in via USB cable while in fastboot mode and open the command prompt again and type the following with hitting enter at the end of each line:
cd\
cd c:\androidsdk\tools\
adb reboot bootloader
fastboot flash recovery recovery.img
5. Once it is done, you have just reflashed the recovery image and it will now stick. You are all done! You have an unlocked bootloader, a custom recovery image, and root access! If you want to now load a custom ROM head to the next procedure linked below.
I ran into an issue near the end with this step under VI:
2. Open a command prompt on the computer and type the following with hitting enter at the end of each line:
adb shell
cd etc
mount -o rw,remount /dev/block/mtdblock3 /system
mv install-recovery.sh install-recovery-no.sh
I used root explorer to mount and rename the file since I couldnt get it to mount with adb shell. My issue now is that when I boot into fastboot mode and go to recovery, I get the error icon (The android with the triangle with the ! in the middle). I cant for the life of me figure out how to get recovery back. It also does not recognize my device in fastboot mode with adb devices but does recognize it when its booted into the regular os. Any ideas?
This is solved. Apparently the directions are a little sketchy.
When it got to this step:
5. Plug the phone in via USB cable while in fastboot mode and open the command prompt again and type the following with hitting enter at the end of each line:
cd\
cd c:\androidsdk\tools\
adb reboot bootloader
fastboot flash recovery recovery.img
the adb reboot bootloader command would not work. Skipping it solved my problem.

Philips w626 how to install clockworkmod

I did root phone. How to install ClockworkMod on this phone. Which version suitable for this phone?
Go into the bootloader menu and select fastboot usb while connected to your pc. Get ADB-tools somewhere on this forum an it them in a folder directly on the rootfolder of your pc. Move CWM also to this folder. Run CMD and navigate to this folder in the command shell. Start sending the appropiate command: fastboot flash recovery recovery.img.

[Q] Nexus 5 uninstalling Cyanogenmod problem

I'm trying to uninstall Cyanogenmod 11 from my Nexus 5, but I'm very confused right now.
I have downloaded the Factory image (Headhammer-ktu84p) and the SDK manager (and installed USB driver, SDK tools and so on). My phone is in developer mode, and debugging is on. Both fastboot driver and original driver is installed.
I took my factory image folder and placed it inside the android-sdk/platform-tools folder.
Now, I can't get what to do. Some tutorials tell me to run flash-all, but it gives me this error:
"Fastboot is not recognized as an internal or external command."
Other tutorials tell me to run fastboot.exe inside platform-tools, but it all it does is giving me different commands to try out.
I'm very confused, and don't have a clue what to do. Don't feel like any tutorials are working. Can somebody please help me?
What i did
I extracted all 6 files of the factory image directly into platform-tools folder
Then i connect my phone wid usb debugging enabled..
Go into platform-tools folder
Shift+right click
Open command prompt here
Now type
Adb reboot bootloader
Once phone boots into bootloader
Just double click on flashall
doctor_droid said:
What i did
I extracted all 6 files of the factory image directly into platform-tools folder
Then i connect my phone wid usb debugging enabled..
Go into platform-tools folder
Shift+right click
Open command prompt here
Now type
Adb reboot bootloader
Once phone boots into bootloader
Just double click on flashall
Click to expand...
Click to collapse
So, that resolution didn't solve my problem either.
I'm unable to instal the fastboot on my phone.
The problem is that Cyanogenmod has changed my "Recovery mode" and I just can edit some things through the "adb" commands. I don't have any possibilities to install things by the "flash" commands. And nothing about that icons like "flash-all.bat" is helping me to have my Android back or install the fastboot.
What can I do?
Make sure fastboot.exe file is inside the factory image folder. and drivers are installed. Then rebot phone into bootloader, by holding power and Volume down buttons. It will show you android image with open belly and some text on the bottom. Open CMD by holsing shift and rigth click on empty space in factory image folder.
Execute these commands:
Fastboot devices (If it will show up in CMD as connected, proceed)
Fastboot flash radio radio.img (file name may vary)
fastboot flash bootloader bootloader.img (File name may vary)
Fastboot reboot-bootloader
fastboot -w update (Here drag the zip file with factory image. the one that was in folder woth bootlaoder and radio images)
Fastboot reboot
That's it. To restore it to full stock, run command fastboot oem lock afterwards.
If i helped press that thanks button
Try using wugfresh nrt as well.

How to fix a soft bricked device from a flash that failed due to missing files

This guide is meant to less techie people, and written in detail. Please don't mind me if I overexplain. If you have any questions, feel free to comment them.
Also, I am not responsible for anything you do to your phone; you assume your responsibility for anything you do because of this guide.
Scenario:
So, lets say that you tried to flash an zip file on your android using sideload, but the zip required another file to be in the same directory as it, in order to work.
After flashing the zip and getting an error, your phone may not get pass the logo of the brand and be soft bricked.
Also, you formatted your external sd as internal, and cant access your usual location with files in the recovery.
In this case, don't worry, as I'm here to help you unbrick your phone without reinstalling the rom.
Things you will need:
your phone
a computer connected to your phone with an usb cable
the proper drivers for your phone
a custom recovery like cwm or twrp installed on your phone
probably root, although I'm not sure
and finally the adb (android development bridge) utility
Where to get a custom recovery?
- https://www.xda-developers.com/how-to-install-clockworkmod/
or search on xda under at your device's forum
Where to download adb from?
- https://forum.xda-developers.com/showthread.php?t=2588979 (this one comes with the drivers)
- https://dl.google.com/android/repository/platform-tools-latest-windows.zip (just the adb files)
So lets get started:
First, get your phone into Recovery mode (on samsung hold power button volume up and home button), and connect it to your pc with a usb cable.
Open ADB by shift + right clicking the folder platform-tools in witch it is located. Click on "Open Command Prompt window here" or "Open Powershell window here" (depends on your windows settings).
You need to find a location on your phone that is accessible through the flash zip menu from your recovery. (from sdcard / from sdcard1 or whatever your external sd is called)
In my case, i could get to see folder 0 and obb from "flash zip from sdcard".
To find a suitable folder:
In the window, type
Code:
adb.exe shell
if you opened cmd, or
Code:
./adb.exe shell
if you opened powershell.
This will open a terminal that will run commands on your phone.
(Now you can type commands in the cmd window that will be run on your phone.)
Type in
Code:
cd /sdcard/0
to go to the main sd card location that is accessible in recovery when you go to flash a zip from there. (if you can get to another folder where you could a flash a zip from, change the location to that place)
You can use here the command
Code:
ls
to view objects in the folder you are in.
After you are done, type
Code:
exit
to exit.
To solve the soft-brick, you need to reflash the zip, but with the files it needed in the same directory.
Type in the ADB window
Code:
./adb.exe push "location of the file you are sending" "location of the folder you are sending to (eg. /sdcard/0)"
if you are in powershell, or without the ./ if you are in cmd.
Use this until you have sent all the files needed for a successful flash.
Then just use the "flash zip" utility from your recovery with the location you have sent the files to, on your phone, to complete the flash, and solve the half-brick.
Restart your phone and you should be good to go.
Thanks to the following threads, that helped me put this together, and solve this problem on my phone:
https://forum.xda-developers.com/showthread.php?t=1927198
https://forum.xda-developers.com/showthread.php?t=2588979​

How to install recovery

Hi . ppl. The noob question. So i just rooted my device and now i need to install recovery menu? Everybody says on internet that i should get recovery app by gnufobio, but the problem is thats its impossible to find it? is there any other way to install clockwork or twrp??
1. Download Adb and fastboot tools(platform-tools) by google in PC.
2. Download TWRP recovery
3. Switch off the phone and press power and volume up key together. Phone will be boot in fastboot mode.
4. Connect phone with PC
5. Move TWRP in se folder of ADB tools
6. Hold shift and press right click in ADB folder in PC.
7. A new option window open search for "Open Command prompt here" or "Open Powershell Here" and click on which is available.
8. Write this command "fastboot flash recovery <recoveryfilename>.img
If open powershell window than this command ".\fastboot flash recovery <recoveryfilename>.img"
Recovery file name is copied or same name of TWRP file name by which it is saved in your PC.

Categories

Resources