Its simple just u should have the desired files but in case you used Hassoon2000 kit for rooting the desired files will already be present in C:/ directory of your pc.
Just boot your phone in bootloader mode and open command prompt on your pc by typing 'cmd' in 'RUN' command now just type the following strings...
cd C:/Android (press enter)
fastboot erase cache (press enter)
fastboot flash boot boot.img (press enter) and reboot...
Here boot.img is the kernel file so keep in mind the name of kernel file you are using..
faheem_khan said:
Its simple just u should have the desired files but in case you used Hassoon2000 kit for rooting the desired files will already be present in C:/ directory of your pc.
Just boot your phone in bootloader mode and open command prompt on your pc by typing 'cmd' in 'RUN' command now just type the following strings...
cd C:/Android (press enter)
fastboot erase cache (press enter)
fastboot flash boot boot.img (press enter) and reboot...
Here boot.img is the kernel file so keep in mind the name of kernel file you are using..
Click to expand...
Click to collapse
saying cd C:/Android is not recognized in internal and external
Open cmd and ad "fastboot flash boot boot.img" without " ". location of boot.img is not necessarily c:\. Initially what you open cmd could be location of boot.img and recovery.img. This is an example of procedure c:\ Users\Name of your computer>fastboot flash boot boot.img
Related
I am trying to put a ROM on the TF300. I have Unlocked the tablet and installed the ADB driver. When I boot into recovery and the USB icon it asks for a driver for fastboot. I can't seem to get that anywhere. I have the Android SDK installed and java etc. Where is the driver located? I look in the USB driver folder but its not in their...
If you need just fastboot, use this guide, that you will find in the index for tf300 (General & Dev forums)
HELP FOR FLASH MORE FASTER WHEN YOU USE FASTBOOT LINE COMMAND
If you have got a problem with your adb or fastboot or recovery....it's very simply and faster
use this:
Download this file "fastboot.zip"
Install this file somewhere in one folder which is named "fastboot" on your PC
=> disk C: root
Unzipped this file on the folder "fastboot" and you will find 3 files:
- adb.exe
- AdbWinApi.dll
- fastboot.exe
and when you need to push something by the bootloader, you can use it.
Don't forget to push on this folder the file that you need. For exemple: boot.img or a recovery.img, etc...
The line command is :
Code:
c:\fastboot>
Enter
Code:
c:\fastboot>fastboot flash recovery recovery.img
Enter
If you want to flash the "recovery.img" file
******************************************************************
******************************************************************
If you want to know all lines of command
Code:
c:\fastboot>fastboot
Code:
usage: fastboot [ ]
commands:
update reflash device from update.zip
flashall flash boot + recovery + system
flash [ ] write a file to a flash partition
erase erase a flash partition
getvar display a bootloader variable
boot [ ] download and boot kernel
flash:raw boot [ ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache
-s specify device serial number
-p specify product name
-c override kernel commandline
-i specify a custom USB vendor id
-b specify a custom kernel base address
-n specify the nand page size. default: 2048
And if you have some problems with your drivers, you can use this : How to install Universal Naked Drivers
Sent from my N7 3G with DroiDevs premium between sky and earth.
I got it to work thanks!
First Step : Installing ADB Drivers
For windows : download PdaNet from here http://pdanet.co/a/
Second Step : Downloading ADB
For Mac : View attachment 2566782
For Windows : View attachment 2566785
Third Step : Installing ADB :-
For windows : Just extract it in directly in "C" partition
For Mac : Just extract it in any partition you want
Fourth Step :-
Openingthe ADB on Windows : Open start > Type "cmd" > Open the appeared program > Type in it "cd.." > Type "cd.." again
Opening the ADB on Mac :-
1) Open Start
2) Type "Terminal"
3) Open the appeared program
4) Type in it "nano ~/.bash_profile"
5) Type in it "export PATH=${PATH}:@@@@" (Replace the "@@@@" with the folder where you extract the ADB)
6) Save the files
7) press CTRL+X (To exit)
8) press Y (to confirm the save then press enter)
Final Step :-
Using the ADB on Windows/Mac :-
1) Type : "adb shell reboot recovery" (To reboot your phone into recovery)
2) Type "adb shell" (after rebooting Your phone into ClockworkMod Recovery)
3) Type "parted /dev/block/mmcblk0" (To open parted and mounts your SD-Card)
4) Type "print" (displays SD-Card partitions info)
5) Type "rm" (To delete a partition) then write the number of it
6) Type "mkpartfs primary fat32 0 27992" (This is for the Primary SD-Card-Ext) 28GB
7) Type "mkpartfs primary ext2 27992 28492" (This is for the System) 3GB
8) Type "mkpartfs primary ext2 28492 31492" (This is for the SD-Card-Int) 500MG
9) Type "mkpartfs primary ext2 31492 31692" (This is for the SD-Cache)199 MG
10) Type "mkpartfs primary linux-swap 00000 00000" (This is for the Lynux-swap) (If you do not know what it do, Do not try to make it)
You can change the Blue number according to your SD-Card size the provided numbers in this thread is for 32GB SD-Card
Note : You can Creat 4 SD-Partitions including the Primary SD-Card
Useful ADB commands :-
Note: to run all these commands, make sure USB debugging is enabled on your device
adb devices = list all connected devices
adb push = copy file/dir to device
adb pull [] = copy file/dir from device
adb sync [] = copy host->device only if changed
adb reboot = reboot your phone normally
adb reboot recovery = to reboot into recovery
adb reboot fastboot = to reboot fastboot
adb reboot bootloader = to reboot into bootloader
adb install [-l] [-r] [-s] = push this package file to the device and install it
adb uninstall [-k] = remove this app package from the device (‘-k’ means keep the data and cache directories)
adb help = show this help message
adb version = show version num
adb root = restarts the adbd daemon with root permissions
adb shell = run remote shell interactively
adb shell = run remote shell command
Useful Fastboot commands :-
Note: to run all these commands, your android devices must be in fastboot mode.
fastboot devices = to detect devices in fastboot mode
fastboot flash recovery twrp.img = to flash a recovery called twrp.img (put it in your fastboot folder)
fastboot oem unlock = to unlock bootloader of Nexus devices.
Hey guys, i need modemst1 and modemst2 backup files to resolve many people's problem regarding network issues (No sim/Baseband unknown/ Imei null) to fix these issues. someone please follow the instructions given below and backup the file and attach the same here, thanks for your support
Prerequisites
1. You should have a rooted Yuphoria mobile
Steps
1. Install Terminal Emulator for android from google play store!
2. type "su" and grant super use permissions! (without Quotes)
3. type "dd if=/dev/block/mmcblk0p10 of=/sdcard/modemst1.bin bs=512" and press enter (without Quotes)
this will give result as follow
Records in
Records out
and modemst1.bin backup file has been created in sdcard, now modemst 2
Steps
4. type "dd if=/dev/block/mmcblk0p11 of=/sdcard/modemst2.bin bs=512
this will give the same results as above
Now we have created modemst1.bin and modemst2.bin files, Kindly find that two files and attach the same here!
Have a backup of the same for future use if anything goes wrong with your modem partition.
How to resolve network issues (No sim/ Baseband unknown/ Imei null issues in yuphoria?)
Follow the steps
1. I assume we have backup files of modemst1.bin and modemst2.bin
2. Connect your yuphoria to pc in fastboot mode (USB debugging should be enabled)
3. Copy these two bin files to the adb and fastboot folder
4. Open command prompt in adb and fastboot folder
5. type "fastboot devices" and enter, if serial number appears everything is fine to go. if waiting for device error appears you need to install PDAnet+ or any universal drivers. i assume we are okay with drivers
6. Type "Fastboot flash modemst1 modemst1.bin" and enter, i assumed the file name is modemst1.bin, if you renamed it, you should enter that name.
7. Type "Fastboot flash modemst2 modemst2.bin" and enter
these two commands should write modemst1 and modemst2 partitions.
8. Reboot to recovery and wipe cache, Dalvik cache
9. Reboot and enjoy!
ADB Commands
Adb Install app remotely
adb install appname.apk
Adb pull file
adb pull <path-of-the-file> (on device e.g. /system/app/Settings.apk)
Adb push file
adb push <source-path> <target-path> (/local/path/Reddit.apk /sdcard/apps/)
Adb Check devices
adb devices
Adb boot into bootloader
adb reboot-bootloader
Adb boot into recovery
ADB reboot recovery
Adb Sideload
adb sideload filename.zip
Adb start server
adb start-server
Adb kill server
adb kill-server
Adb shell command
adb shell "<command>"
Adb install apk
adb install filename.apk
Adb re install apk
adb install -r filename.apk
Fastboot Commands
Fastboot check devices
Fastboot devices
Fastboot flash image file
fastboot flash recovery filename.img
Fastboot flashing boot.img
fastboot flash boot
Fastboot flash radio file
fastboot flash radio radio.img
Fastboot reboot device
fastboot reboot
Fastboot enter recovery
fastboot reboot recovery / fastboot boot twrp.img (a/b partition devices)
style='mso-bidi-font-weight:normal'>
Fastboot bootloader
fastboot reboot bootloader
Noticed that among others the most important ADB command
adb shell "<command>"
what opens a terminal shell and let you e.g. run Linux-commands / scripts is missing.
See also here:
Adb useful commands list
Adb useful commands list. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
jwoegerbauer said:
Noticed that among others the most important ADB command
adb shell "<command>"
what opens a terminal shell and let you e.g. run Linux-commands / scripts is missing.
See also here:
Adb useful commands list
Adb useful commands list. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
Click to expand...
Click to collapse
Thanks added
This requires an ENG HBOOT, get it here
1. Run the command line and type the command: cd (your platform tools folder) (Press Enter after each command)
2. Enter the command adb devices . It should come back with a list of connected devices and your serial number.
3. Enter the command adb reboot bootloader . (Your device will reboot and boot into a FastBoot USB)
(If your phone will not boot in normal mode. Manually reboot to boot and select fastboot).
4. Enter the command fastboot getvar mid .The window will show your current mid.
5. Enter the command fastboot oem writemid PG58*****
6. Enter the command fastboot reboot-bootloader
7. Enter the command fastboot reboot