[Q] What should I do? - General Questions and Answers

I'm newbie in the Android world. I'm now rooting my HTC IncS using this guide (http://forum.xda-developers.com/show....php?t=2118187) and now stuck at step 3 which is unlocking bootloader. In this area I'm stuck where command prompt and fastbooting is included.
I'm not moving on steps unless I fastboot my IncS before I connect so I can do the step 8 and so on htcdev.com ...
What to do? I need how to fastboot my IncS. Thanks for the help.

The link is broken, but this is how fastboot is used:
1. Go to the fastboot folder and press shift+right click, then select open command prompt here
2. type in: "fastboot flash boot boot.img" where the boot.img is the file, you put in the folder before. It can also be kernel.elf, so then you type: fastboot flash boot kernel.elf

Thank you for the reply. :good::good::good:
But can you help me more? I have already flash my recovery and when I select recovery from the bootloader, it doesn't open the window where I will install the .zip files. It always turn on everytime I do it. Is there a step I did wrong?
Here is the guide I'm referring.
http://forum.xda-developers.com/showthread.php?t=2118187

Related

Installing Kernel with s-on?

I was trying to flash faux kernel via recovery but i got the status 7 error so i guess the problem is that because iam s-on so plz anybody knows how to flash a custom kernel with s-on.
yus99 said:
I was trying to flash faux kernel via recovery but i got the status 7 error so i guess the problem is that because iam s-on so plz anybody knows how to flash a custom kernel with s-on.
Click to expand...
Click to collapse
Flash the boot.img from the zip via fastboot.
You can find the instructions here: http://forum.xda-developers.com/showthread.php?p=25587345
Make sure you use the boot.img from the zip & not the one from the guide.
HI
So just to make sure these are the steps:
Put the"boot.img" in your "C:\Android" (or wherever your adb and fastboot are located)
Shift right click in the white space on that folder
Select "Open command window here
Type in: adb
Type in: adb reboot-bootloader
Your phone will reboot, wait until you see a white screen which says "FASTBOOT USB"
Type in: "fastboot flash boot boot.img"
Wait until it's done flashing
Type in: "fastboot reboot"
One more thing i didnt see the boot.img in the zip of the kernel there are three folders:
1- kernel
2- META-INF
3- system
In the kernel folder there are these files:MKbootimg,dd,unpackbootimg,zImage,mkbootimg.sh,modclean.sh
What to do I am so confused
yus99 said:
So just to make sure these are the steps:
Put the"boot.img" in your "C:\Android" (or wherever your adb and fastboot are located)
Shift right click in the white space on that folder
Select "Open command window here
Type in: adb
Type in: adb reboot-bootloader
Your phone will reboot, wait until you see a white screen which says "FASTBOOT USB"
Type in: "fastboot flash boot boot.img"
Wait until it's done flashing
Type in: "fastboot reboot"
One more thing i didnt see the boot.img in the zip of the kernel there are three folders:
1- kernel
2- META-INF
3- system
In the kernel folder there are these files:MKbootimg,dd,unpackbootimg,zImage,mkbootimg.sh,modclean.sh
What to do I am so confused
Click to expand...
Click to collapse
thats a recovery flashable zip
you can flash that via recovery only
as you are SON ...better have 4EXT recovery
there ..just enable smartflash in 4EXT-> tools and then flash the kernel package
EDIT:
this thread explains the reason for error 7 and the probable fix
http://forum.xda-developers.com/showthread.php?t=1556620
hi
just one more thing do i need to uninstall my current recovery to install the 4-ext one or just install it.
yus99 said:
just one more thing do i need to uninstall my current recovery to install the 4-ext one or just install it.
Click to expand...
Click to collapse
just install it either via fastboot
fastboot flash recovery recovery.img
recovery.img from here (its rc3 ...and latest is rc5 btw)
or
via 4EXT updater app available in sensation development thread

Bricked phone on flashing wrong Kernel

I htcdev unlocked my phone with the all in one Htc one x program. It all worked fine but i accidentally flashed an htc one x kernel on my sensation! Ive seen people say to just install a new one but when i do that it says an error about the boot.img. Help please!! SON btw
Reatret said:
I htcdev unlocked my phone with the all in one Htc one x program. It all worked fine but i accidentally flashed an htc one x kernel on my sensation! Ive seen people say to just install a new one but when i do that it says an error about the boot.img. Help please!! SON btw
Click to expand...
Click to collapse
Download a ROM, extract its boot.img then use fastboot command:
fastboot flash boot boot.img
Oh and p.s dont use tools designed for other phones in future - why you needed one to htcdev unlock is beyond me though, the instructions are perfectly clear on the htcdev.com website
Jonny said:
Download a ROM, extract its boot.img then use fastboot command:
fastboot flash boot boot.img
Oh and p.s dont use tools designed for other phones in future - why you needed one to htcdev unlock is beyond me though, the instructions are perfectly clear on the htcdev.com website
Click to expand...
Click to collapse
Its a lot easier that way, I found. Anyways, could you pleaselink me to a stable working rom? I dont trust myself on finding one. and what do you mean by "use fastboot command: fastboot flash boot boot.img"
Reatret said:
Its a lot easier that way, I found. Anyways, could you pleaselink me to a stable working rom? I dont trust myself on finding one. and what do you mean by "use fastboot command: fastboot flash boot boot.img"
Click to expand...
Click to collapse
You need the adb/fastboot files to use the fastboot command, there is a link either in the "flashing ROM's with S-ON" guide or in the "Guide to S-OFF, custom recovery and SuperCID" thread - sorry, Im on my phone so cant link it.
Then put the files in C:\adb and open command prompt and type:
cd C:\adb
then press enter
Next you need to extract the boot.img from a Sense ROM zip file - any from the dev thread will do as long as its a Sense ROM - and place boot.img in the C:\adb folder then put phone into bootloader, connect to computer and select "fastboot USB" from the phones bootloader menu and then type the following command into command prompt:
fastboot flash boot boot.img
hit enter then type:
fastboot reboot
press enter and all done
Jonny said:
You need the adb/fastboot files to use the fastboot command, there is a link either in the "flashing ROM's with S-ON" guide or in the "Guide to S-OFF, custom recovery and SuperCID" thread - sorry, Im on my phone so cant link it.
Then put the files in C:\adb and open command prompt and type:
cd C:\adb
then press enter
Next you need to extract the boot.img from a Sense ROM zip file - any from the dev thread will do as long as its a Sense ROM - and place boot.img in the C:\adb folder then put phone into bootloader, connect to computer and select "fastboot USB" from the phones bootloader menu and then type the following command into command prompt:
fastboot flash boot boot.img
hit enter then type:
fastboot reboot
press enter and all done
Click to expand...
Click to collapse
Is there a way to get the adb/fastboot files on a bricked phone? :C
lefiese wilful
Jonny said:
You need the adb/fastboot files to use the fastboot command, there is a link either in the "flashing ROM's with S-ON" guide or in the "Guide to S-OFF, custom recovery and SuperCID" thread - sorry, Im on my phone so cant link it.
Then put the files in C:\adb and open command prompt and type:
cd C:\adb
then press enter
Next you need to extract the boot.img from a Sense ROM zip file - any from the dev thread will do as long as its a Sense ROM - and place boot.img in the C:\adb folder then put phone into bootloader, connect to computer and select "fastboot USB" from the phones bootloader menu and then type the following command into command prompt:
fastboot flash boot boot.img
hit enter then type:
fastboot reboot
press enter and all done
Click to expand...
Click to collapse
Oh nevermind! I got it down, I am downloading ViperS Rom, i understand all your instructions now!! I am very confident this will work, ill reply with results.
Jonny said:
You need the adb/fastboot files to use the fastboot command, there is a link either in the "flashing ROM's with S-ON" guide or in the "Guide to S-OFF, custom recovery and SuperCID" thread - sorry, Im on my phone so cant link it.
Then put the files in C:\adb and open command prompt and type:
cd C:\adb
then press enter
Next you need to extract the boot.img from a Sense ROM zip file - any from the dev thread will do as long as its a Sense ROM - and place boot.img in the C:\adb folder then put phone into bootloader, connect to computer and select "fastboot USB" from the phones bootloader menu and then type the following command into command prompt:
fastboot flash boot boot.img
hit enter then type:
fastboot reboot
press enter and all done
Click to expand...
Click to collapse
By the way, the exact error is 'assert failed: write_raw_image("/tmp/newboot.img","boot")'
Reatret said:
By the way, the exact error is 'assert failed: write_raw_image("/tmp/newboot.img","boot")'
Click to expand...
Click to collapse
Yep, because you are S-ON, the script cant write to the boot partition which is why the fastboot flash boot boot.img workaround is needed
Jonny said:
Yep, because you are S-ON, the script cant write to the boot partition which is why the fastboot flash boot boot.img workaround is needed
Click to expand...
Click to collapse
Do you know where the boot.img is located? I downloaded CoreDrod Sensation and cant seem to find it.
boot.img is located
try to explore or double click the ROM you download ROMname.rar boot.img must in the archive.
Reatret said:
Do you know where the boot.img is located? I downloaded CoreDrod Sensation and cant seem to find it.
Click to expand...
Click to collapse
I dont know where its located in every ROM, just a few. My Sense 3.6 ROM boot.img is located in Extras/Kernel/ but most are just in the root of the file - I do things a little different because of the way my customizations in Aroma Installer work

Starting fastboot mode, but freezes

So I just bought this tab. And stupidly upgraded to JB right away (not a big fan with first impression) and was following the 3 step guide for recovery and root on JB. Starting on step 3
When I reboot into bootloader from advanced, or manually (power + V down, then V down to navigate to USB sign, V Up to confirm (already unlocked bootloader of cource)
In the top left corner where the words are, the last line says "starting fastboot mode" or something like that, but nothing just stuck in the bootloader screen with 4 options RCK, ANDROID, FASTBOOT, AND WIPE DATA. Untilled I hold power to reboot.
Tried several times. What am I doing wrong?
trevor7428 said:
So I just bought this tab. And stupidly upgraded to JB right away (not a big fan with first impression) and was following the 3 step guide for recovery and root on JB. Starting on step 3
When I reboot into bootloader from advanced, or manually (power + V down, then V down to navigate to USB sign, V Up to confirm (already unlocked bootloader of cource)
In the top left corner where the words are, the last line says "starting fastboot mode" or something like that, but nothing just stuck in the bootloader screen with 4 options RCK, ANDROID, FASTBOOT, AND WIPE DATA. Untilled I hold power to reboot.
Tried several times. What am I doing wrong?
Click to expand...
Click to collapse
Hi,
you are doing everything fine....
It just stays there when "starting fastboot mode" appears!
Now you can open a terminal on your pc.
When you enter "fastboot devices" (without quotes), a number will appear so you know the device will be recognized when you want to flash recovery. Just like "adb devices".
Do you have to enter fastboot devices first to flash recovery threw adb?
Cause last night after it said starting fastboot (when I thought it was stuck)
I extracted the twrp Jb recovery from same post. To the same folder as adb.exe and fastboot.exe (named the folder fastboot on the C drive) shift + right click on fastboot folder - open in command prompt
fastboot -i 0x0b05 flash recovery tf300t-jb.blob
The responded was like can't complete command. File or folder doesn't exist (or something like that, will try again when I get home with the exact response)
And tried extract to a folder named, recovery1 on my c drive
C:\recovery1: fastboot -i 0x0b05 flash recovery tf300t-jb.blob
Still with the same response
Thank you for the help
trevor7428 said:
Do you have to enter fastboot devices first to flash recovery threw adb?
Cause last night after it said starting fastboot (when I thought it was stuck)
I extracted the twrp Jb recovery from same post. To the same folder as adb.exe and fastboot.exe (named the folder fastboot on the C drive) shift + right click on fastboot folder - open in command prompt
fastboot -i 0x0b05 flash recovery tf300t-jb.blob
The responded was like can't complete command. File or folder doesn't exist (or something like that, will try again when I get home with the exact response)
And tried extract to a folder named, recovery1 on my c drive
C:\recovery1: fastboot -i 0x0b05 flash recovery tf300t-jb.blob
Still with the same response
Thank you for the help
Click to expand...
Click to collapse
Try fastboot -i 0x0b05 flash recovery C:\recovery1\tf300t-jb.blob
Thank you so much, that did the trick

[Q] After erasing the recovery with fastboot my LG p350 don't start

Hello,
I have followed a tutorial for solving the problem of "Fastboot mode started
udc_start()" from this thread http://forum.xda-developers.com/showthread.php?t=2131247 and something was go wrong.
I have done this steps in the sdk platform tools folder:
1- fastboot erase recovery
2- fastboot flash recovery recovery.img ( here i've got an error)
3- fastboot reboot
Everyting was ok until I have tried to write the .img file on the phone. I've got an error that I don't have enough space. I think I have deleted the recovery file and now it's stuck, because it's not booting. The 4 leds from the bottom it's flashing continuously and the screen remains to the LG logo. I have tried to connect the phone to the PC but the device it's not recognized anymore. I get this message in the adb tool "Waiting for device"
I really appreciate if it's someone that can help me
I have a p500 and I had the exact same problem as you. But I was able to fix it after a lot of Googling.
Can you get to fastboot right now? If so, make sure that the recovery you downloaded is correctly named "recovery.img" and is placed in the same folder as adb.exe is located. After that, type:
Code:
fastboot devices
into ADB. If your device is listed then proceed and type:
Code:
fastboot flash recovery recovery.img
If nothing comes up when you ask it to list fastboot devices you need to delete all of the drivers associated with your p350, and then reinstall them using a toolkit or PDAnet. Then go back and try fastboot devices again.
.
Logan_M said:
I have a p500 and I had the exact same problem as you. But I was able to fix it after a lot of Googling.
Can you get to fastboot right now? If so, make sure that the recovery you downloaded is correctly named "recovery.img" and is placed in the same folder as adb.exe is located. After that, type:
Code:
fastboot devices
into ADB. If your device is listed then proceed and type:
Code:
fastboot flash recovery recovery.img
If nothing comes up when you ask it to list fastboot devices you need to delete all of the drivers associated with your p350, and then reinstall them using a toolkit or PDAnet. Then go back and try fastboot devices again.
.
Click to expand...
Click to collapse
No, I can't get to fastboot. I can't do anything with the command line. It remains to the logo screen
catalin11 said:
No, I can't get to fastboot. I can't do anything with the command line. It remains to the logo screen
Click to expand...
Click to collapse
Can you pull the battery and then use the combination to get into Fastboot? If you can't get to fastboot, then the problem is beyond what I'm capable of doing.
Though, the problem may be that you completely deleted your recovery.
Logan_M said:
Can you pull the battery and then use the combination to get into Fastboot? If you can't get to fastboot, then the problem is beyond what I'm capable of doing.
Though, the problem may be that you completely deleted your recovery.
Click to expand...
Click to collapse
Now, I'm back to the first problem
"Fastboot mode started udc_start()
-- suspend --
-- suspend --
"
catalin11 said:
Now, I'm back to the first problem
"Fastboot mode started udc_start()
-- suspend --
-- suspend --
"
Click to expand...
Click to collapse
if i write this in cmd "fastboot flash recovery recovery.img" it apear < waiting for device > and nothing happens
catalin11 said:
if i write this in cmd "fastboot flash recovery recovery.img" it apear < waiting for device > and nothing happens
Click to expand...
Click to collapse
now i'm in the emergency mode
Problem solved:
1- download the official drivers from LG Site
2- cmd and:
fastboot erase boot
fastboot erase system
fastboot erase userdata
fastboot -w
fastboot flash recovery recovery.img (Clowork custom recovery)
Fastboot Reboot
Installing Cyanogen after i erase everything (fastboot erase sdcard). I like fresh starts
some1 pls help me
catalin11 said:
Problem solved:
1- download the official drivers from LG Site
2- cmd and:
fastboot erase boot
fastboot erase system
fastboot erase userdata
fastboot -w
fastboot flash recovery recovery.img (Clowork custom recovery)
Fastboot Reboot
Installing Cyanogen after i erase everything (fastboot erase sdcard). I like fresh starts
Click to expand...
Click to collapse
can u plz elaborate...i too have the same problem....plz..
Logan_M said:
If so, make sure that the recovery you downloaded is correctly named "recovery.img" and is placed in the same folder as adb.exe is located.
Click to expand...
Click to collapse
That is incorrect. The recovery does NOT have to be named recovery to use fastboot to flash it, although it does make life simpler

Tried to root moto g 2015 indian version with kingroot app now stuck in startup menu

I tried to root my MOTO G 2015 XT1550 using KINGROOT app.At that time it was running marshmallow 6.01 ,after running the kingroot application the phone restarted and stuck in startup menu with fastboot mode.Please help me out of this
Are u able to open stock recivery?
And have unlocked bootloader?
Amirphp said:
Are u able to open stock recivery?
And have unlocked bootloader?
Click to expand...
Click to collapse
No,I have not unlocked the bootloader,what i did was that i installed kingroot app and tried to root from the app.I don't know what it did to my device but now its stuck in fastboot mode.Please tell me how to open stock recovery.
divyandu said:
I tried to root my MOTO G 2015 XT1550 using KINGROOT app.At that time it was running marshmallow 6.01 ,after running the kingroot application the phone restarted and stuck in startup menu with fastboot mode.Please help me out of this
Click to expand...
Click to collapse
1. Stay calm.
1.a You cannot root your phone without unlocking bootloader.
1.b. You will need to do a thorough reading of how to unlock bootloader from threads in this forum or else where. You will also need to read and understand the process of fastboot mode of flashing stock firmware.
2. Since you are able to enter fastboot mode connect your mobile to your PC with your USB chord, open the minimal adb fastboot mode, try to get the unlock key, visit Motorola site and get your bootloader unlock key. There are other threads explaning how to do this. Download the correct stock firmware identified based on the phone model no. Eg xt1550 dual sim and store it onto your PC, you will also need the minimal adb fastboot file, Motorola drivers, twrp3.0., SuperSU 2.62-3 ( no other version of SuperSU works, only this version)
3. Once you unlock your bootloader, flash the stock firmware which you need to download from other thread of this forum using fastboot mode. Note, marshmallow 6.0.1 has 7 sparsechunk files. So be careful about fast boot commands. Do not use the commands you find on the stock firmware thread blindly as these have commands only for 6 sparsechunk files. You may open the flash file from the downloaded firmware to get an idea of all the commands to be typed and their respective partitions too.
4. Flash twrp to replace stock recovery. Enter recovery from fastboot mode using volume keys to navigate and powerkey to select.
5. Once into twrp, press mounts tab and tick to mount USB storage, and copy the SuperSU 2.62-3 file into the external memory card of your phone from pc. Install this SuperSU.zip file without unzipping it by pressing the install tab in twrp home screen and selecting the zip file and sliding the installer.
6. Reboot system. Done! You have your phone rooted the perfect way.
When I switch on my device(moto g3) the following message appears.
Start Up Failed
Your device didn't startup successfully.
Use the Software Repair Assistant on your computer to repair your device.
Connect your device to your computer to get the Software Repair Assistant.
AP Fastboot Flash Mode (Secure)
Failed to verify hab image boot
failed to validate boot image
ERROR: Failed to pass validation,backup to fastboot
Boot up failed
Please help with a solution asap??
divyandu said:
When I switch on my device(moto g3) the following message appears.
Start Up Failed
Your device didn't startup successfully.
Use the Software Repair Assistant on your computer to repair your device.
Connect your device to your computer to get the Software Repair Assistant.
AP Fastboot Flash Mode (Secure)
Failed to verify hab image boot
failed to validate boot image
ERROR: Failed to pass validation,backup to fastboot
Boot up failed
Please help with a solution asap??
Click to expand...
Click to collapse
Dear friend please have patience...
These things require a cool mind...
Did you try the hardware way of entering the fastboot mode? If not keep the volume down and power button pressed for some time till ulyou enter fastboot mode. Basically there is no info if you have tried to follow what was given earlier...have you tried it?
I am unable to unlock the bootloader from adb.
The problem I think is that my phone's USB debugging is off.Anybody plz tell me how do I turn my bootloader on from fastboot or recovery mode.
divyandu said:
No,I have not unlocked the bootloader,what i did was that i installed kingroot app and tried to root from the app.I don't know what it did to my device but now its stuck in fastboot mode.Please tell me how to open stock recovery.
Click to expand...
Click to collapse
@divyandu follow this and let me know if it works.
http://forum.xda-developers.com/2015...k-6-0-t3349468
you can get the Factory Firmware's on this Link.
http://forum.xda-developers.com/2015...mages-t3169639
divyandu said:
I am unable to unlock the bootloader from adb.
The problem I think is that my phone's USB debugging is off.Anybody plz tell me how do I turn my bootloader on from fastboot or recovery mode.
Click to expand...
Click to collapse
Dear friend,
You need not have your bootloader unlocked to flash factory firmware
Quote from the XDA forum factory firmware link:
"Frequently Asked Questions:
Can I restore Factory Firmware if my Bootloader is locked?
Yes."
And if you are still stuck with a phone stuck at logo or is looping at the boot, either follow steps given elsewhere in this forum or follow the method that I am enumerating below which is what I would have done (which in principle is same as given elsewhere).
Getting your phone revived is your first priority. Unlocking bootloader and rooting is secondary.
You would be needing a pc with administrator privilege, internet connection and of course your phone along with the usb cable.
You would be needing the drivers for your phone, minimal adb and fastboot files, stock firmware for your phone model. All these files are available in the XDA forum as per links provided by others or as per this link
http://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750
1. Correctly install drivers onto your pc using administrator privileges.
2. Unzip and Install the minimal adb and fastboot files onto your pc into some specific directory and click the executable files once. This would ensure that all the files are loaded and dos prompt recognizes the adb and fastboot commands (commands are different for ADB stage and FASTBOOT stage, what you are going to use is directly the fastboot stage commands given below). Install as an administrator. Note this specific directory and file where you unzipped and installed the minimal adb file as you will need it in the below step.
3. Download the stock 6.0.1 mm firmware for XT1550 from the link below store it in you pc.
http://forum.xda-developers.com/2015-moto-g/general/index-moto-g-factory-firmware-images-t3169639
Unzip the stock firmware. Now copy all the files of the stock firmware (all of them) into the specific file of the minimal adb and fastboot which you unzipped into and installed earlier and noted the location. You need to copy all the firmware files into the minimal adb and fastboot directory as that way you avoid specifying the location of the files for each flash command which is both simple and saves us from a lot of mistakes.
4. After copying all the unzipped stock firmware files in the minimal adb fastboot directory, press the shift button on keyboard and right click the mouse on the screen where in a dialogue box appears and choose to open the command prompt in this directory. This will open a command prompt with default reference to the current directory.
5. In what ever condition your phone is in (other than the fastboot mode), press simultaneously the volume down key + power button together for about 8-10 secs. This action will automatically lead your phone to enter the fastboot mode. After entering the fastboot mode you can connect the phone to your pc using a usb cable and your pc should ring a note that it has detected the phone. To check if the pc has detected the phone and the link is established, type the following command in the command prompt window which you opened in step 4
fastboot devices
This command displays your device number if all is well in the command prompt window. NOW you are ready to flash the stock firmware I.E. after successful detection of the phone by your pc.
6. Carefully type each and every of the commands in italics or copy and paste them ONE by ONE and wait for each command to be executed. The commands are being given below to help you (these are for flashing the 6.0.1mm onto the XT1550 only) in the opened command prompt window (Ensure that you do not miss any of the commands and follow the order given below) :
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
If you have done every thing correctly till now you should see the command prompt returning a OKAY afer each command with the time taken for flashing each file. This should revive your device first.
After this you may try unlocking the bootloader and rooting as the next step. But be patient and retain a cool head to read first and think clearly..... you will need it a lot as is necessary for such things... good luck and happy learning!!
Follow the instructions in this thread ...to unlock bootloader and root...
Works 100%.
http://forum.xda-developers.com/2015-moto-g/general/root-how-to-root-moto-g-2015-android-t3320113
arunhebbare said:
Dear friend,
You need not have your bootloader unlocked to flash factory firmware
Quote from the XDA forum factory firmware link:
"Frequently Asked Questions:
Can I restore Factory Firmware if my Bootloader is locked?
Yes."
And if you are still stuck with a phone stuck at logo or is looping at the boot, either follow steps given elsewhere in this forum or follow the method that I am enumerating below which is what I would have done (which in principle is same as given elsewhere).
Getting your phone revived is your first priority. Unlocking bootloader and rooting is secondary.
You would be needing a pc with administrator privilege, internet connection and of course your phone along with the usb cable.
You would be needing the drivers for your phone, minimal adb and fastboot files, stock firmware for your phone model. All these files are available in the XDA forum as per links provided by others or as per this link
http://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750
1. Correctly install drivers onto your pc using administrator privileges.
2. Unzip and Install the minimal adb and fastboot files onto your pc into some specific directory and click the executable files once. This would ensure that all the files are loaded and dos prompt recognizes the adb and fastboot commands (commands are different for ADB stage and FASTBOOT stage, what you are going to use is directly the fastboot stage commands given below). Install as an administrator. Note this specific directory and file where you unzipped and installed the minimal adb file as you will need it in the below step.
3. Download the stock 6.0.1 mm firmware for XT1550 from the link below store it in you pc.
http://forum.xda-developers.com/2015-moto-g/general/index-moto-g-factory-firmware-images-t3169639
Unzip the stock firmware. Now copy all the files of the stock firmware (all of them) into the specific file of the minimal adb and fastboot which you unzipped into and installed earlier and noted the location. You need to copy all the firmware files into the minimal adb and fastboot directory as that way you avoid specifying the location of the files for each flash command which is both simple and saves us from a lot of mistakes.
4. After copying all the unzipped stock firmware files in the minimal adb fastboot directory, press the shift button on keyboard and right click the mouse on the screen where in a dialogue box appears and choose to open the command prompt in this directory. This will open a command prompt with default reference to the current directory.
5. In what ever condition your phone is in (other than the fastboot mode), press simultaneously the volume down key + power button together for about 8-10 secs. This action will automatically lead your phone to enter the fastboot mode. After entering the fastboot mode you can connect the phone to your pc using a usb cable and your pc should ring a note that it has detected the phone. To check if the pc has detected the phone and the link is established, type the following command in the command prompt window which you opened in step 4
fastboot devices
This command displays your device number if all is well in the command prompt window. NOW you are ready to flash the stock firmware I.E. after successful detection of the phone by your pc.
6. Carefully type each and every of the commands in italics or copy and paste them ONE by ONE and wait for each command to be executed. The commands are being given below to help you (these are for flashing the 6.0.1mm onto the XT1550 only) in the opened command prompt window (Ensure that you do not miss any of the commands and follow the order given below) :
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
If you have done every thing correctly till now you should see the command prompt returning a OKAY afer each command with the time taken for flashing each file. This should revive your device first.
After this you may try unlocking the bootloader and rooting as the next step. But be patient and retain a cool head to read first and think clearly..... you will need it a lot as is necessary for such things... good luck and happy learning!!
Click to expand...
Click to collapse
Ty everyone for the support and the quick answers.My phone is unbricked and is running 6.0.1
Special thanks arunhebbare your suggestion worked out finally
I tried to root my MOTO G 2015 XT1550 using KINGROOT app.At that time it was running marshmallow 6.01 ,after running the kingroot application the phone restarted and stuck in startup menu with fastboot mode.
:crying: When I switch on my device(moto g3) the following message appears.
Start Up Failed
Your device didn't startup successfully.
Use the Software Repair Assistant on your computer to repair your device.
Connect your device to your computer to get the Software Repair Assistant.
AP Fastboot Flash Mode (Secure)
Failed to verify hab image boot
failed to validate boot image
ERROR: Failed to pass validation,backup to fastboot
Boot up failed
plz help me
vidya_sagar said:
I tried to root my MOTO G 2015 XT1550 using KINGROOT app.At that time it was running marshmallow 6.01 ,after running the kingroot application the phone restarted and stuck in startup menu with fastboot mode.
:crying: When I switch on my device(moto g3) the following message appears.
Start Up Failed
Your device didn't startup successfully.
Use the Software Repair Assistant on your computer to repair your device.
Connect your device to your computer to get the Software Repair Assistant.
AP Fastboot Flash Mode (Secure)
Failed to verify hab image boot
failed to validate boot image
ERROR: Failed to pass validation,backup to fastboot
Boot up failed
plz help me
Click to expand...
Click to collapse
You tried the above solution a few posts back??
Broadcasted from Zeta Reticuli
Gravemind2015 said:
You tried the above solution a few posts back??
Broadcasted from Zeta Reticuli
Click to expand...
Click to collapse
i'm not sure about Enabling USB debugging. is that above process will work??when i don't enable usb debugging?
tnx for ur reply
---------- Post added at 10:45 AM ---------- Previous post was at 10:07 AM ----------
vidya_sagar said:
i'm not sure about Enabling USB debugging. is that above process will work??when i don't enable usb debugging?
tnx for ur reply
Click to expand...
Click to collapse
if u dont mind can u post the vedio of this process
bad
iam unlocked my boot loader in my moto g3 running 6.0.1...after i try to flash twrp to root ..but it is no worked ..so i use king root app to root my phone root installed successfully ...but my sims signels are not showing ...so i do hard reset ...after phone is on and stucks at language selection what should i do
vidya_sagar said:
i'm not sure about Enabling USB debugging. is that above process will work??when i don't enable usb debugging?
tnx for ur reply
---------- Post added at 10:45 AM ---------- Previous post was at 10:07 AM ----------
if u dont mind can u post the vedio of this process
Click to expand...
Click to collapse
My internet is not fast enough for a video upload sorry. But if you are not sure about the process you can search lost101's firmware flashing guide in general section. I have flashed it and it works.
Broadcasted from Zeta Reticuli

Categories

Resources