fastboot.exe doesn't work - Xiaomi Mi 6 Questions & Answers

I want to flash a boot.img to Xiaomi 6, but fastboot does not work anymore.Device unlocked
fastboot.exe can recognize my device
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
When I type the command, it gets stuck here
Then i unplug the cable
I am using windows 10
help please...
fastboot.exe version
driver version

Does your "boot.img" inside the target folder? in your case inside "platform-tools" folder?
I recommend install ADB installer from this forum https://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Or just download it here;
ADB Installer : ADB Installer V1.4.3
After done installing
Create new folder in your Desktop
Copy and paste your boot.img inside the folder
Inside the new folder press and hold "Shift" in your keyboard, Right click and choose "Open command prompt windows here"
Reboot your Phone into the bootloader
Connect your phone
And flash your boot.img as you do it before :good:

Shimizux said:
Does your "boot.img" inside the target folder? in your case inside "platform-tools" folder?
I recommend install ADB installer from this forum https://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Or just download it here;
ADB Installer : ADB Installer V1.4.3
After done installing
Create new folder in your Desktop
Copy and paste your boot.img inside the folder
Inside the new folder press and hold "Shift" in your keyboard, Right click and choose "Open command prompt windows here"
Reboot your Phone into the bootloader
Connect your phone
And flash your boot.img as you do it before :good:
Click to expand...
Click to collapse
Thank you for your reply!
I used adb installer and uninstalled the original driver.
It's stuck here.I unplugged the cable and it did not respond.
I'm sure boot.img is in the current directory.

Tubby Custard said:
Thank you for your reply!
I used adb installer and uninstalled the original driver.
It's stuck here.I unplugged the cable and it did not respond.
I'm sure boot.img is in the current directory.
Click to expand...
Click to collapse
Sorry i dont understand, where do you stuck?
By the way, do you have custom recovery (TWRP) install on your phone?
You can flash boot.img with TWRP instead of using fastboot method

Also had this issue. At one PC worked well, but at another no. Changing USB ports or cables does no matter.
Try to use old pure USB2.0 Hub. In my case D-Link DUB-H7 (in metal case) completely solved the problem.

Related

[Q] How to get rid of an Boot Image?

I bought my G2 from someone, and he said that there is a "boot image?" from star wars or something. It basically pops up before the boot animation. Simply how do I get rid of this?
I tried searching btw before posting, but all I could find was boot animations. Thanks.
This is a splash screen. If you head to the themes section there are some guides telling you how to change it.
Sent from my HTC Vision using XDA Premium App
cjward23 said:
This is a splash screen. If you head to the themes section there are some guides telling you how to change it.
Sent from my HTC Vision using XDA Premium App
Click to expand...
Click to collapse
I've been digging around, but I can't seem to find the right solution. I have a file named "myspalsh.rgb565" but I don't know what to do with it. I am not familiar with messing with cmd/fastbootmode and all that. Is there a way to just insert and replace this splash screen?
you must first have the new image you want replase the old with. Make your one http://forum.xda-developers.com/showthread.php?t=938956 or or search for it, mage you want a 480x800 resolution PNG file..
Flash:
You can set the splash by converting an image you want to a 480x800 resolution PNG file, then use ffmpeg to convert it to raw565 format using the command line:
Code:
ffmpeg -i new_splash.png -f rawvideo -pix_fmt rgb565 new_splash.img
Then with an unlocked (S-OFF) bootloader, flash the new_splash.img file to your phone:
Code:
adb reboot bootloader fastboot flash splash1 new_splash.img fastboot reboot
OR you can flash from a terminal window on your phone. Be very careful with this method and triple check that you typed everything correctly so you do not accidentally brick your phone:
Code:
dd if=/mnt/sdcard/splash.img of=/dev/block/mmcblk0p19
stian230 said:
you must first have the new image you want replase the old with. Make your one http://forum.xda-developers.com/showthread.php?t=938956 or or search for it, mage you want a 480x800 resolution PNG file..
Flash:
You can set the splash by converting an image you want to a 480x800 resolution PNG file, then use ffmpeg to convert it to raw565 format using the command line:
Code:
ffmpeg -i new_splash.png -f rawvideo -pix_fmt rgb565 new_splash.img
Then with an unlocked (S-OFF) bootloader, flash the new_splash.img file to your phone:
Code:
adb reboot bootloader fastboot flash splash1 new_splash.img fastboot reboot
OR you can flash from a terminal window on your phone. Be very careful with this method and triple check that you typed everything correctly so you do not accidentally brick your phone:
Code:
dd if=/mnt/sdcard/splash.img of=/dev/block/mmcblk0p19
Click to expand...
Click to collapse
I downloaded the necessary tools now. I have an image already, but where do I use these codes to flash the image onto my phone?
abctilly said:
I downloaded the necessary tools now. I have an image already, but where do I use these codes to flash the image onto my phone?
Click to expand...
Click to collapse
The guide they posted are run from your computer with your phone connected to it for the 'adb' part, you'll need 'adb' installed and there are guides posted here (check the wiki; sorry, I'm on my phone or I'd track down the link for you).
Sent from my HTC Vision using XDA App
abctilly said:
I downloaded the necessary tools now. I have an image already, but where do I use these codes to flash the image onto my phone?
Click to expand...
Click to collapse
I personally tend to use the terminal on the phone.
remember to write the correct
Code:
Su
dd if=/mnt/sdcard/splash.img of=/dev/block/mmcblk0p19
reboot
change the name of the img to splash.img places in sd
I stumble upon this now you have everything. Right?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Flashing Gio from ODIN with .tar.md5

I dowloaded my stock firmware from samfirmware.com and now i would like to flash it. It is a single tar.md5 package. I would like to known how to flash it. I searched, but it was not much help to me. Do i use the single package option in ODIN?
- i have never used odin, but i have flashed alot of roms so im not completely stupid when it comes to this stuff.
Yes, one package
Once you have Odin
To do so
The file "GIO_v0.1.ops"
You will find in the package of Odin
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You put the file you downloaded md5
How do you see "PASS!" disconnect and if appears
"Close serial port and wait until rebooting" a disconnect, and wait until the phone turns on, of course, disconnect the cable.
It says Samsung on the phone remove the battery and enter the Recovery Menu
select "wipe"
select reboot
READY
I already have the new rom
Is it possible to unzip the rom with 7zip and remove the recovery image so i can still have my custom recovery?
AlwaysDroid said:
Is it possible to unzip the rom with 7zip and remove the recovery image so i can still have my custom recovery?
Click to expand...
Click to collapse
Ypu can but must be able to do a md5sum or flash as .tar without md5 check
Sent from my GT-S5660 using xda premium
Cant find?
voetbalremco said:
Ypu can but must be able to do a md5sum or flash as .tar without md5 check
Sent from my GT-S5660 using xda premium
Click to expand...
Click to collapse
Im trying to flash a file called S5660MUGKG3_S5660MBMCKG3_BMC. When ever i try to one package i cant seem to find it? Can anyone help me with this?
Did you unzip it?
If you haven't already, please check "show extensions for known file types" in your Windows Explorer settings.
Darkshado said:
Did you unzip it?
If you haven't already, please check "show extensions for known file types" in your Windows Explorer settings.
Click to expand...
Click to collapse
How do I unzip it? Can I use winrar and extract?
Darkshado said:
Did you unzip it?
If you haven't already, please check "show extensions for known file types" in your Windows Explorer settings.
Click to expand...
Click to collapse
Yay I got it!
Thanks for your help!
Is it fine if it says 1 (COM10) ? and also its keeps on showing the boot animations over over... wont go further and on odin it says pass. should i keep on waiting or is somthing wrong? is it bricked?
1 (COM10) is simply to indicate the serial port number assigned to your phone by Windows and the Samsung USB driver in Odin.
Your phone is boot looping, some might consider this a soft brick. My best guess is that you previously installed a ROM that formatted your /data and /cache partitions from the stock RFS format to ext4 instead. The stock 5660M ROM doesn't support ext4.
Reboot in the stock recovery, either with "adb reboot recovery" or by using the home and power keys simultaneously.
From there, wipe user data and cache, or something similar I don't recall the exact wording, but I do remember they were two separate commands.
Reboot, should work now. Use ddms (part of the Android SDK) to see what's going on under the hood if you feel like it.
I take it computers are a relatively new thing for you to ask how to unzip files. My best advice: make very regular backups and read instructions carefully. Losing data is not cool. Losing someone else's data is worse. (I'm guessing you're on the family computer here...)

can't delete setup wizard.apk

i have root and want to delete setup wizard.apk from priv app
but when i reboot it come back again
i think because it write protected
how can i delete it please ?
elawady.2014 said:
i have root and want to delete setup wizard.apk from priv app
but when i reboot it come back again
i think because it write protected
how can i delete it please ?
Click to expand...
Click to collapse
if you have a custom recovery, reboot into it, eventually mount system r/w, and delete it...
i have custom recovery
but how i mount this >>??
elawady.2014 said:
i have custom recovery
but how i mount this >>??
Click to expand...
Click to collapse
have you tried hitting the mount button (twrp custom recovery here... supposing cwm the same feature is somewhere...) ?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Or have you tried to use the file manager to navigate in the system partition ? (maybe there's no need to mount anything.
pagoweb said:
have you tried hitting the mount button (twrp custom recovery here... supposing cwm the same feature is somewhere...) ?
Or have you tried to use the file manager to navigate in the system partition ? (maybe there's no need to mount anything.
Click to expand...
Click to collapse
yes i have root explprer and go to system
but every thing i delete it
come back again after reboot
elawady.2014 said:
yes i have root explprer and go to system
but every thing i delete it
come back again after reboot
Click to expand...
Click to collapse
Are you on stock kernel? If so these will keep coming back so if you want to delete have a look for a moded stock kernel or flash a tweaked kernel then you should be able to remove them. If you dont want to do any of that get a app from the playstore what freezez it.
elawady.2014 said:
yes i have root explprer and go to system
but every thing i delete it
come back again after reboot
Click to expand...
Click to collapse
your doing it in root explorer is why ... they just clearly told you to do it in TWRP / File manager and the file will be gone for good
elawady.2014 said:
i have root and want to delete setup wizard.apk from priv app
but when i reboot it come back again
i think because it write protected
how can i delete it please ?
Click to expand...
Click to collapse
Code:
adb reboot recovery
adb shell mount /system
adb shell rm /system/priv-app/SetupWizard.apk
sorry but i have differient recovery called shawmi
its chienese cuz my phone cheniese
but it like cwm recovery
and i found mount bottom
when i press it
it saied ur storage is mounted
and i don't know what is this mean
thank u very very much
i think it's deleted
​
nkk71 said:
Code:
adb reboot recovery
adb shell mount /system
adb shell rm /system/priv-app/SetupWizard.apk
Click to expand...
Click to collapse
*****
thank you, I was looking for this location... just a side note if you have root, using root explorer you can easily just delete the setupwizard folder from that location, I had just forgotten where it was... again thanks...

Root Celkon A225 Android Mobile and Install Touch Recovery

This Post will help you to root your Celkon A225 Android Mobile.
Installing Celkon A225 ADB Drivers
Download and install Celkon A225 Android Mobile drivers from download links below.
To install the drivers follow the below steps.
Extract the downloaded driver file to any folder you want.
1. Open Device Manger(You can open open it from control panel or from search in start menu.)
2. Right Click on your PC name and click add Legacy hardware.
3. Then choose 'Install hardware that i manually select from list(Advanced)' and click on next.
4. Select 'Show All devices' and click next. Then Click on Have disk and browse for the folder you have extracted your drivers(Choose .inf file inside the SP_Drivers_v1.4 folder).
5.Then you will get as in screenshot below.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
6. Choose 'Google ADB Device Interface' from 'Google,Inc' Manufacturer and click on next. Then the ADB driver will be installed.<br />
7. Repeat the same procedure (steps 1-6) for other 2 google drivers and for MTP, Media Tech drivers. That's All.
You can check your ADB drivers installation by using below method
1. Download adb from link below.
2. Extract all files and place them in C:\Windows Directory
3. Turn on USB Debugging(From Developer Options) in your Android mobile and connect to your PC with USB cable.
4. Open Command Prompt and run the below command. Then it should list your device as below. If your device is not listed indicates that drivers are not properly installed.
HTML:
adb devices
Rooting Celkon A225
If drivers are properly installed rooting procedure is very simple. Download the 1 click rooter software from the download link below.
After Downloading the file follow below steps to root your mobile.
1. Enable USB Debugging in your Settings from Developer Options
2. Make sure you have installed properly. Now launch MTK Tools(Root Genius) that you have downloaded from above link.
3. Connect your Mobile with USB Debugging enabled and click on next. Then it will show as connected and you can see Root button if drivers were installed properly.
4.Click on Root and wait till your device gets rooted. It took around 15 minutes for my Celkon A225 Mobile.
That's All
Install Touch Recovery
By Rooting with Root Genius(MTK tools) you will get a custom recovery in Chinese language. So I will recommend to install Carliv Touch Recovery(CTR) to make your recovery to look ultra modern. With this one you can navigate from touch in Recovery Mode.
Download and install CTR from link below.
Follow the Below steps to install touch recovery. Do not disconnect your mobile while installation is in progress
1. Extract the archive to any folder.
2. Connect your Android mobile to PC with USB Debugging Enabled.
3. Run CTRv2.2.exe as administrator. Then it will show below message. Click OK when it shows the message(It will aumatically close if files are copied)
4. Then it will turnoff UAC and add some entries to registries as it needs some open port to access your android and update recovery from your PC. Click OK when it shows the message.
5. After that it will start porting. Make sure your android device is booted up and is connected to PC with USB Debugging enabled. Then click yes.
6. Wait for 2 minutes it will install the touch recovery automatically for you.
Now you can check your touch recovery by going to recovery mode ( use power + volume down when android is off) . That's All
Caution:Rooting/ Recovery installation is a risky process. Your Device may brick if its wrongly done. Keep your original firmware with you before going to this process to install your firmware in case if you got any problem.
Attachments
adb.zip
CTRv2.2.zip
SP_Drivers_v1.4.zip
MTK6589_6577_w6575_V1.06.zip

can someone help me with H815 misc partition img file

I have mistakenly erased misc partition and have no backup for it so my WIFI dosen't work for me
I've copied the way to make misc.img file from https://forum.xda-developers.com/tmobile-g4/help/request-h811-misc-partition-image-t3516353 and it's below
===============================================Misc.img=====================================================================
Process to generate a image of misc is as follows:
Reboot into TWRP recovery.
Run "adb shell" or open a recovery terminal.
Run "ls /dev/block/platform/*/by-name/misc" to identify the path to your misc partition.
Mine is "/dev/block/platform/f9824900.sdhci/by-name/misc"
Run "dd if=/dev/block/platform/f9824900.sdhci/by-name/misc of=/sdcard/misc.img"
Replace "f9824900.sdhci" if appropriate for your device, using the value found in step 3.
You now have a file misc.img in your storage directory. You can either use "adb pull /sdcard/misc.img" to download it onto your PC, or you can upload it directly using XDA mobile.
If anyone here can follow the above steps and upload the resulting image, I'd be deeply grateful.
===============================================Misc.img=====================================================================
OriginLua said:
I have mistakenly erased misc partition and have no backup for it so my WIFI dosen't work for me
I've copied the way to make misc.img file from https://forum.xda-developers.com/tmobile-g4/help/request-h811-misc-partition-image-t3516353 and it's below
===============================================Misc.img=====================================================================
Process to generate a image of misc is as follows:
Reboot into TWRP recovery.
Run "adb shell" or open a recovery terminal.
Run "ls /dev/block/platform/*/by-name/misc" to identify the path to your misc partition.
Mine is "/dev/block/platform/f9824900.sdhci/by-name/misc"
Run "dd if=/dev/block/platform/f9824900.sdhci/by-name/misc of=/sdcard/misc.img"
Replace "f9824900.sdhci" if appropriate for your device, using the value found in step 3.
You now have a file misc.img in your storage directory. You can either use "adb pull /sdcard/misc.img" to download it onto your PC, or you can upload it directly using XDA mobile.
If anyone here can follow the above steps and upload the resulting image, I'd be deeply grateful.
===============================================Misc.img=====================================================================
Click to expand...
Click to collapse
If you have a copy of your kdz for your model and software version for your specific carrier or can obtain one, you could use SALT to extract all your .image partition files yourself ... it could prove more handy doing it this way in the long run when issues arise.
sdembiske said:
If you have a copy of your kdz for your model and software version for your specific carrier or can obtain one, you could use SALT to extract all your .image partition files yourself ... it could prove more handy doing it this way in the long run when issues arise.
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I've tried what you said but kdz doesn't hold misc image
OriginLua said:
I've tried what you said but kdz doesn't hold misc image
Click to expand...
Click to collapse
Copy your post with the screen shot over to the SALT thread.

Categories

Resources