Hi together!
Since this is a topic where people ask regularly, I try to make a little TUT.
I hope it is helpful.
I am a noob myself, so please don't go on me
Please feel free to correct me if I am wrong or if I missed some important stuff.
What you need:
1.
SDK Tool (type in your browser: developer.android.com/sdk/index.html)
Once you are on that page, download the package and install it.
2.
after the install process has finished, you have to install some packages.
Important is the platform-tools package (there you find the most important commands)
3.
Locate the folder on the harddisk of your PC
4.a)
Push the Windows(Start) Buttom and type: cmd
This opens the command prompt
Now get into the root of the android folder (e.g. cd.. until you get into root of your harddisk)
(on my PC, it looks like this:
cd android
cd platform-tools)
4.b)
Just one thing to make it a little easier to come into the right folder:
Open the folder with the fastbootfiles in a window.
Go to command line and type cmd and the cmd.exe will be shown in the menu.
Drag & Drop the cmd.exe into the opened fastboot folder.
When you now open this cmd, it shows the right folder at the start and you can easily type the commands without navigation through folders.
credits go to Neo XL
5.
Your phone has to be in fastboot-USB mode and connected to PC in order to understand the commands
6.
Once you are in platform-tools folder, you can type commands
Most common commands are:
fastboot erase cache (sometimes helps if phone is in HTC bootloop)
fastboot flash boot (name of boot image / e.g. boot_1.2.3.img) (this is, like the name says, to flash a boot image)
fastboot flash recovery (name of recovery.img
fastboot oem lock ( to relock your phone, in case you have or want to flash a RUU)
fastboot flash unlocktoken Unlock_code.bin (to unlock again, if you already got the unlock key from HTCDev)
Flash firmware.zip using following terminal commands:
Please rename first downloaded .zip package to firmware.zip
fastboot oem rebootRUU
fastboot flash zip firmware.zip
This is almost obsolete, since we have the new Recovery 5.8.3.1 with Mount USB, but it is still good to know
to push ROM to SD card, if you were running superwipe without copying the rom file onto sd
1. You need recovery.img in your fastboot directory
2. Go into bootloader and connect phone
3. Then use: "fastboot boot recovery.img" (thus booting your image from pc and not the installed recovery).
4. When in recovery, you can use the adb commands.
5. You can try with "adb devices" which should show you serial of phone.
6. command: adb push rom_rom.zip /sdcard
credits to broncogr for finding that adb works if you use fastboot boot command and to Jotha for helping me out!
Or try following:
Copy rom to your adb-directory on PC
Switch OFF phone
Connect phone to PC
Wait until you hear the "USB-Connect"-sound on PC
Go into command window in adb-directory
Type "adb push rom.zip /sdcard/"
(where rom.zip is name of rom-file)
pushing is rather slow so it will take a while. Eventually you get an "OK". Then you can go into recovery and flash it.
Credits go to Jotha
Updated link
[TOOL][27/04] Automated Fastboot Commands For HTC One X continued
http://forum.xda-developers.com/showthread.php?t=1634786
credits go to TeAm Hex
For now, this is what I can think of, for sure there are many more commands, but hopefully we don't need them, but like I said, feel free and put them in here
I hope this will help some noobs, like myself!
If this helped you, please push THANKS
thanks! this will stop us noob's, spamming up dev's thread's.
Thanks for you efforts
First time with real android phone, this is good!
Thanks mate
Sent from my HTC One X using xda premium
Can you add the command to push the custom rom to sdcard without mout USB via CWM ?
Just one thing to make it a little easyer to come into the right folder:
Open the folder with the fastbootfiles in a window.
Go to command line and type cmd and the cmd.exe will be shown in the menu. Drag & Drop the cmd.exe into the opened fastboot folder.
When you now open this cmd, it shows the right folder at the start and you can easyly type the commands without navigation through folders.
incident said:
Can you add the command to push the custom rom to sdcard without mout USB via CWM ?
Click to expand...
Click to collapse
Would be great, if this is possible! But as far as I know, it not possible.
Edit:
It is possible now! Updated post!
Sent from my HTC One X using XDA
hello I have problem with loading boot.img in fastboot
sdk is open, phone is conncted to comp on fastboot usb mode , image is on disc c in folder fastboot and still recive this info
c:\fastboot>fastboot flash boot boot.img
'fastboot' is not recognized as an internal or external command,
operable program or batch file.
c:\fastboot>
pls help me with that
ok I fix this, that was problem with missing fastboot.exe and was no connection betwen phone and computer
this link helps fix that
http://dottech.org/tipsntricks/21534/how-to-install-adb-and-fastboot-on-your-windows-computer-for-use-with-your-android-phone/
You have to copy the Boot.img into the folder, where fastboot-, adb commands are situated (c:/andoid/platform-tools)
Then Open cmd. Go to platform-tools folder and from there it should work.
Sent from my HTC One X using XDA
Thanx man, but is fixed now, I did this by follow the instr. in page from my last post, and goes perfect. I just flashed new rom with 1.8 base and iam now on the bright side of life.
PS sorry for my english
@OP, last time I tried fastboot boot command it gave me device not found message(no problem when fastboot flash). What's the correct approach to make it work? I recently updated to 1.28 and I want to stay in stock for the mean time.
Sent either from my Arc or One X using xda premium
You can add the adb and fastboot directory path to the environment path in windows settings. You can then use adb and fastboot outside of the platform tools directory, but still in command prompt of course
Sent from my HTC One X using Tapatalk 2
I'm following your tutorial to the letter but whenever i use fastboot boot recovery.img it refuses to go into recovery. But i can boot into recovery manually and when i do there still isnt any adb devices connected.
Stuart.upton666 said:
I'm following your tutorial to the letter but whenever i use fastboot boot recovery.img it refuses to go into recovery. But i can boot into recovery manually and when i do there still isnt any adb devices connected.
Click to expand...
Click to collapse
3. Then use: "fastboot boot recovery.img" (thus booting your image from pc and not the installed recovery).
4. When in recovery, you can use the adb commands.
5. You can try with "adb devices" which should show you serial of phone.
6. command: adb push rom_rom.zip /sdcard
In point 3, it is not supposed to boot into recovery. Its for booting your recovery.img (e.g. recovery-clockwork-touch-5.8.3.1-endeavoru.img ) from PC. After this step you will automatically boot into Recovery. From there you can use adb commands.
Did you try "adb devices"?
I tried it myself and it works!
This guide is great... Thanks!
Sent from my HTC One X using xda premium
tonyhagger said:
This guide is great... Thanks!
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Thank you, Sir! Some kind of feedback is always appreciated !
Hi about Push to SDCARD command
My questions in Blue
to push ROM to SD card, if you were running superwipe without copying the rom file onto sd
1. You need recovery.img in your fastboot directory - Should i use signed recovery ?
2. Go into bootloader and connect phone
3. Then use: "fastboot boot recovery.img" (thus booting your image from pc and not the installed recovery).
4. When in recovery, you can use the adb commands.
5. You can try with "adb devices" which should show you serial of phone.
6. command: adb push rom_rom.zip /sdcard
incident said:
My questions in Blue
to push ROM to SD card, if you were running superwipe without copying the rom file onto sd
1. You need recovery.img in your fastboot directory - Should i use signed recovery ?
2. Go into bootloader and connect phone
3. Then use: "fastboot boot recovery.img" (thus booting your image from pc and not the installed recovery).
4. When in recovery, you can use the adb commands.
5. You can try with "adb devices" which should show you serial of phone.
6. command: adb push rom_rom.zip /sdcard
Click to expand...
Click to collapse
Take the newest CWM recovery.
Sent from my Desire HD using XDA
incident said:
My questions in Blue
to push ROM to SD card, if you were running superwipe without copying the rom file onto sd
1. You need recovery.img in your fastboot directory - Should i use signed recovery ?
2. Go into bootloader and connect phone
3. Then use: "fastboot boot recovery.img" (thus booting your image from pc and not the installed recovery).
4. When in recovery, you can use the adb commands.
5. You can try with "adb devices" which should show you serial of phone.
6. command: adb push rom_rom.zip /sdcard
Click to expand...
Click to collapse
Asking about number 6,since after push rom into sd card using adb command. How long will it takes rom to place in sd card? My adb command just stuck after push rom without inform is it done or not.
And where did the push file goes? Seems I can't find it in CWM. I'm using latest cwm, but no zip file found in my sd card.
TEKONG84 said:
[/COLOR]
Asking about number 6,since after push rom into sd card using adb command. How long will it takes rom to place in sd card? My adb command just stuck after push rom without inform is it done or not.
And where did the push file goes? Seems I can't find it in CWM. I'm using latest cwm, but no zip file found in my sd card.
Click to expand...
Click to collapse
Rom should be on root of Sd.
If this is not working, you can try to use the command while phone is powered off. I am not a dev, but I read something like that:
"Switch off your phone, connect to pc, wait until it is detected by windows and use: adb push nameofrom.zip /sdcard/" thats what Jotha told someone on ARHD Thread.
Try that and tell us if it worked.
Sent from my Desire HD using XDA
I do not know if this goes here or not.
I found a way to root this phone.
I.- How to install ClockWorkMod Recovery (windows)
1. download ZTE USB drivers
2. download and install Android SDK tools and platform-tools to get adb and fastboot
3. download recovery-cwm6027-atlas40.img recovery image
4. create a new directory somewhere and copy adb.exe, fastboot.exe and recovery-cwm6027-atlas40.img into it
5. plug in your device via USB cable and install drivers
6. cd into the directory you created and execute following commands in terminal window
adb reboot bootloader
fastboot flash recovery recovery-cwm6027-atlas40.img
fastboot reboot
7. congratulations, you have installed cwm on to your device
8. boot into ClockWorkMod by pressing volume down while powering on or using 'adb reboot recovery'
Click to expand...
Click to collapse
II. How to root your device via recovery:
1. download latest Superuser and su binary from Superuser website and save it to your sdcard
2. follow instructions on how to install clockworkmod recovery
3. boot into clockworkmod
4. install zip from sdcard -> choose zip from sdcard -> Superuser-3.2-arm-signed.zip
Click to expand...
Click to collapse
I found this in w3 . modaco . com/topic/356605-recovery-clockworkmod-6027-for-zte-acqua/ - Works for V880e
Sorry for my bad english :c
A big problem here
On kindle fire hd 8.9" I've accidentally erased all cahses (even SD card) through TWRP 2.7.0.0 and I've got no more CM11 and CM12 files which I had on SD Card under TWRP folder (although the folder is there it's just empty.
Windows 8.1 does not recognise my kindle any more and accordingly nothing shows up in windows explorere.:crying:
Can I copy (CM and GAPPS) from computer back to Kindle somehow?
BTW, The TWRP works fine...
Thanks in advance for any suggestions
Cheers,
TaG
You can push files using adb command , if your kindle is recgnized by adb. To check that, please connect your kindle to PC/Laptop, open command windows (Win+X->Command) and go to the folder where android sdk is installed (if you are not having adb , google around and install)
Use adb devices command to check , if your device shows up (some number and xxx-jem-xxxx ) than you are good to go.
Use adb push command to load file to your kindle.
Can't recognize
I finally managed to connect kindle with PC (which is TWRP state). When I copy (with adb push ) files it shows that the files are there and even TWRP (2.7.0.0.) shows it in directory.
BUT when I disconnect kindle and go to the the same directory no more files there.:crying:
What may be wrong?
Root your REDMI 1S and get most out of it ! you wont be able to root it by old 'update.zip' method , Follow these steps
WATCH VIDEO GUIDE HERE - https://youtu.be/Y5k_xmtr5hw
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
DOWNLOAD APPS
1.Miflash tools - https://drive.google.com/file/d/0B3_hQKUTKKmIQUQ1RjhvUUdwbFE/view?usp=sharing
2.TWRP - https://drive.google.com/file/d/0B3_hQKUTKKmIb1ZGeFlpY0xLb1k/view?usp=sharing
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
STEPS -
1.Copy the twrp img file in path... ( C:\Program Files (x86)\Xiaomi\MiPhone\Google\Android)
2.Connect the device in fastboot mode
3.Copy twrp img file in internal storage of phone
4.open command prompt in the path ,C:\Program Files (x86)\Xiaomi\MiPhone\Google\Android (by holding shift and right click , select "open command prompt here"
5.Enter the commands as
check device is connected or not by - fastboot device
a.fastboot flash recovery twrp.img
b.fastboot boot twrp.img
6.now mobile will boot into recovery , goto install and install the twrp.img which you have copied earlier into phones internal storage (click IMG before )
7.CONGRATULATES
What's the use of this?? I don't understand. Everyone knows how to do this.
Hi guys, having trouble putting this back to TWP. Any guide please?
Thank you!
open computer install sdk platform tools
download twrp that you want
rename it to boot or boot.img (if no extension file written)
extract the sdk platform tools zip
put the twrp file inside the platform tool
on the upper of your screen theres a directory path click it and type cmd it will pop up
reboot phone to fastboot and connect usb cable phone to pc
type in cmd fastboot boot boot.img
copy twrp img or file in your phone
once booted to twrp go to advance install recovery ramdisk then reboot recovery
viola arrow recovery to twrp has been done