Flashing boot.img via fastboot - XPERIA X8 Q&A, Help & Troubleshooting

Hi,
I am trying to flash a rooted, unlocked bootlader, X8 with an image file. However I came to know X8 doesn't have any fastboot ? Is that true ? So should img files be flashed in a dfferent way on an X8 ?

Related

Help - need a signed boot image

Hi all,
I'm getting stuck in fastboot after trying to flash a logo to replace the bootloader warning image (stupidly flashed a logo.bin instead of a a bmp).
I think if I flash a signed boot image I should be ok?
Thanks for the help...
BigCon said:
Hi all,
I'm getting stuck in fastboot after trying to flash a logo to replace the bootloader warning image (stupidly flashed a logo.bin instead of a a bmp).
I think if I flash a signed boot image I should be ok?
Thanks for the help...
Click to expand...
Click to collapse
Found one - sorted now.
I've attached it in case anyone needs it (this is from my razr i - bootloader unlocked and rooted, GB rom)...
How to ?
BigCon said:
Found one - sorted now.
I've attached it in case anyone needs it (this is from my razr i - bootloader unlocked and rooted, GB rom)...
Click to expand...
Click to collapse
I've tried to flash this image with fastboot and with recovery, but it does not works, is there any other way to flash it ?

Is it possible to flash a ftf file with fastboot

Hello All !! Devs help me out
i downloaded an official ftf from sony and now want to flash it with fastboot
as flashtool is not working for me ...
please help me to decrypt the ftf file to flash it with fastboot
ayusman2008 said:
Hello All !! Devs help me out
i downloaded an official ftf from sony and now want to flash it with fastboot
as flashtool is not working for me ...
please help me to decrypt the ftf file to flash it with fastboot
Click to expand...
Click to collapse
While using flashtool you need to use flashmode not fast boot.
Fastboot cannot be used to flash ftf files
ayusman2008 said:
Hello All !! Devs help me out
i downloaded an official ftf from sony and now want to flash it with fastboot
as flashtool is not working for me ...
please help me to decrypt the ftf file to flash it with fastboot
Click to expand...
Click to collapse
Fastboot for flash boot.img ONLY!!!
And why you want to use fastboot for that if you have pc?

[Q] how to go back to stock kitkat??

Spice Dream UNO (Android One)
i have unlocked the bootloader of my spice dream uno, philz recovery and im running the 5.1 phillipines version (i think so) of android 5.1...
Can anyone make a guide on reverting back to the stock kitkat for my phone as i got it on my first day so i can make the official OTA update to android 5.1??
I searched for this but it seems after reverting the phone ends up with some IMEI problems. so im asking here to make a safe guide for people out there including me using SPICE DREAM UNO to have a safe return to kitkat so we can make the official 5.1 update.
I might help you
cybercop007 said:
Spice Dream UNO (Android One)
i have unlocked the bootloader of my spice dream uno, philz recovery and im running the 5.1 phillipines version (i think so) of android 5.1...
Can anyone make a guide on reverting back to the stock kitkat for my phone as i got it on my first day so i can make the official OTA update to android 5.1??
I searched for this but it seems after reverting the phone ends up with some IMEI problems. so im asking here to make a safe guide for people out there including me using SPICE DREAM UNO to have a safe return to kitkat so we can make the official 5.1 update.
Click to expand...
Click to collapse
See.... i know there might be many problems with SPflash tools to work with many users as u may have got many disappointments as i have got. I tried Running it but never get it done with sp flash tools... So i would tell you a fastboot method which you can do to restore your stock kitkat rom by some easy commands....
FIRST Of all ....
REQUIREMENTS:
1. You should have fastboot adb folder in ur pc...
2. STOCK ROM (sprout) google it you would find it in xda
PROCEDURE:
1. Go to fastboot mode in ur mobile (i presume that u know how to do that or if u don't know just google it)
2. Open the Adb fastboot folder
3. Press SHIFT+rightclick -> Open command window here
4. Copy the stock rom files into adb fastboot folder.
5. Check if your smarthphone is connected or not by typing: fastboot devices
6. Now perform these commands one by one:
fastboot format userdata
fastboot erase system
fastboot flash boot boot.img
fastboot flash bootloader bootloader.img
fastboot flash cache cache.img
fastboot flash logo logo.bin
fastboot flash oem oem.img
fastboot flash preloader preloader_sprout.bin
fastboot flash recovery recovery.img
fastboot flash secro secro.img
fastboot flash system system.img
fastboot flash userdata userdata.img
7. Now unlock your bootloader by typing: fastboot oem lock
or you could do this with All in one tool for our device
8. reboot ur device ... and voila..... it stock kitkat....
NO Update!!
bvipul said:
So i would tell you a fastboot method which you can do to restore your stock kitkat rom by some easy commands....
fastboot flash preloader preloader_sprout.img
Click to expand...
Click to collapse
its "fastboot flash preloader preloader_sprout.bin" anyway this method brought me back to kitkat. Thanks.
Now i go to about phone -> system updates and click "Check for update" it shows your system is up to date and the Last checked for update as the current time. Did Indian android ones(Spice dream uno) get lollipop update or not?? Why isn't the update available for me??
stage process
cybercop007 said:
its "fastboot flash preloader preloader_sprout.bin" anyway this method brought me back to kitkat. Thanks.
Now i go to about phone -> system updates and click "Check for update" it shows your system is up to date and the Last checked for update as the current time. Did Indian android ones(Spice dream uno) get lollipop update or not?? Why isn't the update available for me??
Click to expand...
Click to collapse
I think u didn't the procedure or have not seen the news about the update coz ..u should know that ..update procedure is not available for all right now..
It is in a weekly manner...they are giving updates to a small number of users right now...but there is a news that....every android one devices would get updated by the new lollipop till 23rd of march...so wait for it for some more time......
Lollipop??
bvipul said:
See.... i know there might be many problems with SPflash tools to work with many users as u may have got many disappointments as i have got. I tried Running it but never get it done with sp flash tools... So i would tell you a fastboot method which you can do to restore your stock kitkat rom by some easy commands....
FIRST Of all ....
REQUIREMENTS:
1. You should have fastboot adb folder in ur pc...
2. STOCK ROM (sprout) google it you would find it in xda
PROCEDURE:
1. Go to fastboot mode in ur mobile (i presume that u know how to do that or if u don't know just google it)
2. Open the Adb fastboot folder
3. Press SHIFT+rightclick -> Open command window here
4. Copy the stock rom files into adb fastboot folder.
5. Check if your smarthphone is connected or not by typing: fastboot devices
6. Now perform these commands one by one:
fastboot format userdata
fastboot erase system
fastboot flash boot boot.img
fastboot flash bootloader bootloader.img
fastboot flash cache cache.img
fastboot flash logo logo.bin
fastboot flash oem oem.img
fastboot flash preloader preloader_sprout.bin
fastboot flash recovery recovery.img
fastboot flash secro secro.img
fastboot flash system system.img
fastboot flash userdata userdata.img
7. Now unlock your bootloader by typing: fastboot oem lock
or you could do this with All in one tool for our device
8. reboot ur device ... and voila..... it stock kitkat....
Click to expand...
Click to collapse
for flashing stock lollipop rom the commands and the procedure are same?? since i find some more extra files are present in the stock rom folder i was wondering whether there is a difference between the kikkat stock flashing procedure and lollipop procedure.
cybercop007 said:
Spice Dream UNO (Android One)
i have unlocked the bootloader of my spice dream uno, philz recovery and im running the 5.1 phillipines version (i think so) of android 5.1...
Can anyone make a guide on reverting back to the stock kitkat for my phone as i got it on my first day so i can make the official OTA update to android 5.1??
I searched for this but it seems after reverting the phone ends up with some IMEI problems. so im asking here to make a safe guide for people out there including me using SPICE DREAM UNO to have a safe return to kitkat so we can make the official 5.1 update.
Click to expand...
Click to collapse
Just flash the stock rom via the flash tools no worries

How to flash custom recovery by adb/fastboot for unrooted device (@1)...

Hey guys anyone know how to flash custom recovery by adb or fastboot mode for unrooted device any a1
Extract the content given below and on that folder click shift and right click on pc ,and open command window. Then connect your phone to your pc with fastboot mode .then on command window type fastboot oem unlock ,if your bootloader is not unlocked .if it is unlocked then type fastboot flash recovery recovery.img and enter.[at first place recovery.img {custom recovery,name it to recovery.img} on the extracted folder .]
Ya tq that I know but I don't know that we should unlock it,can we flash by locked bootloader n also wat is that mmx a1 logo
Aftrer unlocking bootloader you can also lock the boot loader again .
Ya okay tq I know and wat is that rar file wat is there in it in mmx logo rar file

Mi A2 has not slot b

As I say in the tittle, my phone has not slot b. It means that when I try to flash any .img or .zip I have an error message telling my that "XXX_b not accesible".
How can I create the partition? I have android one and everything locked as I flashed the stock image vía COM because I have no idea how to solve the partition problem.
gfpablo_ said:
As I say in the tittle, my phone has not slot b. It means that when I try to flash any .img or .zip I have an error message telling my that "XXX_b not accesible".
How can I create the partition? I have android one and everything locked as I flashed the stock image vía COM because I have no idea how to solve the partition problem.
Click to expand...
Click to collapse
You say you are trying to flash something but then you also say that everything is locked. You can't flash anything other than the stock firmware (in EDL mode) if your bootloader is locked.
Catsonvi said:
You say you are trying to flash something but then you also say that everything is locked. You can't flash anything other than the stock firmware (in EDL mode) if your bootloader is locked.
Click to expand...
Click to collapse
I tried to flash it when i have everything unlocked. I tried to flash ASOP v6.6 and the result was a bricked phone. However I flashed the android one stock ROM and locked everything with the Xiaomi flash program.
You need to flash stock through EDL
Nebrassy said:
You need to flash stock through EDL
Click to expand...
Click to collapse
That's what i've done. Although, if I try to flash TWRP from fastboot I have an error message telling me that I have no slot b
gfpablo_ said:
That's what i've done. Although, if I try to flash TWRP from fastboot I have an error message telling me that I have no slot b
Click to expand...
Click to collapse
You can't flash the TWRP image from fastboot, since our phone does not have a seperate recovery partition and you also cannot flash ANYTHING (other than stock via EDL) if your phone's bootloader is locked.
Now since it seems that your bootloader is locked, you need to enable developer options first and then in developer options enable the "OEM unlocking" option. After that you need to go to fastboot in order to unlock the bootloader and use these commands one at the time:
fastboot flashing unlock
fastboot flashing unlock_critical
Keep in mind that after using these commands you will get a prompt on your phone to confirm that you want to unlock the bootloader and doing so will erase everything (basically like doing a factory reset).
After you fully unlock the bootloader, in order to flash TWRP with stock you need to go to the official TWRP website and find the .img and the .zip installer for the Mi A2. You need to boot the .img via fastboot with fastboot boot *location to the .img* (without the asterisks) and then transfer and flash the TWRP .zip installer with TWRP. After that you can boot into TWRP normally without fastboot booting.
If you want to flash a custom ROM you will still need to fastboot boot into the TWRP .img because the .zip you flashed is tied to the system, and since you need to wipe the system before flashing a custom ROM you will also wipe the flashed TWRP.
I still recommend reading this guide: https://forum.xda-developers.com/mi-a2/how-to/guide-how-to-flash-custom-roms-stuff-t3876375
[SOLVED]
Catsonvi said:
You can't flash the TWRP image from fastboot, since our phone does not have a seperate recovery partition and you also cannot flash ANYTHING (other than stock via EDL) if your phone's bootloader is locked.
Now since it seems that your bootloader is locked, you need to enable developer options first and then in developer options enable the "OEM unlocking" option. After that you need to go to fastboot in order to unlock the bootloader and use these commands one at the time:
fastboot flashing unlock
fastboot flashing unlock_critical
Keep in mind that after using these commands you will get a prompt on your phone to confirm that you want to unlock the bootloader and doing so will erase everything (basically like doing a factory reset).
After you fully unlock the bootloader, in order to flash TWRP with stock you need to go to the official TWRP website and find the .img and the .zip installer for the Mi A2. You need to boot the .img via fastboot with fastboot boot *location to the .img* (without the asterisks) and then transfer and flash the TWRP .zip installer with TWRP. After that you can boot into TWRP normally without fastboot booting.
If you want to flash a custom ROM you will still need to fastboot boot into the TWRP .img because the .zip you flashed is tied to the system, and since you need to wipe the system before flashing a custom ROM you will also wipe the flashed TWRP.
I still recommend reading this guide: https://forum.xda-developers.com/mi-a2/how-to/guide-how-to-flash-custom-roms-stuff-t3876375
Click to expand...
Click to collapse
Thank you! I have to admit that I have no idea of whats wrong earlier. This guide solved the problem tho.

Categories

Resources