Fastboot : incompatibility with Ubuntu 18.04 ? - Xiaomi Mi Max 3 Questions & Answers

Hi,
Trying to get back to stock ROM with fastboot, I hooked up the mi Max 3 to my Linux powered (Ubuntu Budgie 18.04) computer.
Nothing is working there in fastboot...
If I enter "fastboot devices" the result is that a device is connected, but then the terminal keeps working and after some seconds, the mi Max 3 display gets black with only a little words "press any key to continue"...
I already had that on the Pocophone.
If I hook up the mi Max 3 to my Surface Pro => no problems
Anyone else having Ubuntu 18.04 and trying to fastboot from that OS ?
Regards.

Try install again sudo apt update
sudo apt install android-tools-adb android-tools-fastboot

Related

[Q] KFHD Boot Logo Problem

Firstly, if there is already a thread about this that I've missed, I'd be appreciative if you'd send me in the right direction to get information.
Anyway, my Kindle Fire HD, rooted CM 10.1, will no longer boot past the orange Kindle Fire Splash screen. I've tried using fastboot commands and all of the button configurations in any and all attempts to get a response from my device, but it remains on that screen with no looping or any kind of change. When plugged in (or turned on while plugged in) it's registered in Device Manager as the usual "Jem-PVT-Prod-04" when drivers aren't installed, and then disappears from the Manager within five seconds. I can't install the ADB drivers because it vanishes, so I cannot communicate with the device from my computer; therefore I cannot fastboot (as far as I can see) and have no possible way to recover it.
Is my last hope a fastboot cable, or is there something that I have missed this whole time? Thanks for any and all help!
Maximus300 said:
Firstly, if there is already a thread about this that I've missed, I'd be appreciative if you'd send me in the right direction to get information.
Anyway, my Kindle Fire HD, rooted CM 10.1, will no longer boot past the orange Kindle Fire Splash screen. I've tried using fastboot commands and all of the button configurations in any and all attempts to get a response from my device, but it remains on that screen with no looping or any kind of change. When plugged in (or turned on while plugged in) it's registered in Device Manager as the usual "Jem-PVT-Prod-04" when drivers aren't installed, and then disappears from the Manager within five seconds. I can't install the ADB drivers because it vanishes, so I cannot communicate with the device from my computer; therefore I cannot fastboot (as far as I can see) and have no possible way to recover it.
Is my last hope a fastboot cable, or is there something that I have missed this whole time? Thanks for any and all help!
Click to expand...
Click to collapse
Thats a kindle fire hd 8.9" model, fastboot cables don't work on them. A easy way to fix this is to boot a ubuntu live cd and install the fastboot command from the repos and run it. Latest ubuntu is 14.04 lts and i haven't checked the package names yet, but if it has the same name as on 13.10 then these instructions should work. Boot a ubuntu live usb/cd and open the settings and look for something like software updates and check off all the download form internet boxes. Hit reload if it asks, and if it asks ignore the first command in the next part of the instructions.
Now open a terminal and run these commands:
Code:
sudo apt-get update
sudo apt-get install android-tools-fastboot
fastboot -i 0x1949 getvar product
Now that it says waiting for device, plug the kindle in while its off and you should be in fastboot mode. From there you can reflash it from windows with kffa or srt, or just do it manually while in ubuntu.
So I used the Linux command to put my Kindle in fastboot mode, but now it says it cannot connect with MTP device, so I still cannot flash any type of recovery. Even though it is in fastboot mode, and the drivers are installed, ADB is still not working on Windows.... and I'm not sure how to do it manually on Linux...
MTP is irrelevant with fastboot, as is adb, you don't use adb commands with fastboot, you use fastboot commands. You can use kffa or SRT to restore it from windows once it is in fastboot, or restore it manually in Linux using SRT's images. You probably will have to use SRT, I have heard a report that kffa's downloads for the images are offline again, though I'm not positive on that.
Sent from my Amazon Tate using Tapatalk

[Q] Bricked during root?

Hey folks! First, thanks for all of your hard work on this! I'm surprised at how active these forums are even with developers moving on to newer tablets - it's really impressive to have such an active community!
My problem:
Kindle won't boot; not recognized by ADB or FastBoot on multiple computers/OS's. Likely bad bootloader but can't push stock bootloader without ADB/FastBoot.
How I got there:
Alright, so, I recently received a Kindle HD 8.9" from a friend and tried to unroot it in Windows. I didn't get very far with multiple attempts and, eventually, got to a place where the adb labeled the device as "offline." After updating the SDK and adb, uninstalling and reinstalling drivers and so on, the Kindle was still listed as "offline." Tried different USB ports and so on, still offline, so I followed the "try a different computer" advice. Fed up and remembering how easy it was to unroot and mod my old Evo 4G in OS X, I decided to boot into OS X.
I quickly came across BreakDroid (KindleWater), which one thread or another suggested would work with the Kindle Fire HD 8.9". I started it up and got further than I had ever gotten before but with errors - the flash at the end of the "Step 1" script worked, but there were permissions error prior.
Stuck in fastboot, I turned off my Kindle and then decided to log-in as root and restart the process, thinking this would resolve any permissions issues, but my Kindle never turned back on. Now my Kindle will not turn on at all (even while holding down volume buttons) and is not recognized by 2 different macs and a windows pc. When issuing "sudo fastboot -i 0x1949 getvar product" I get "ERROR: Unable to create a plug-in (e00002be)" after some time. ADB shows nothing and no device drivers load in Windows.
So, a few questions:
First, Is there anyway to get my Kindle to boot? Looking into it a little, it appears (although is unclear) that BreakDroid is only for the 7". You can see the code attached below - is my phone bricked? I'm going to boot back into Windows and try KFFirstAide and "KFHD System.img Recovery Tool" and, if those don't work, try Ubuntu and SoupKit. I do have a system backup that was made with KFFirstAide. Any thoughts on how to get it up and running again? Although I'm not that fluent in the Windows environment I'm pretty savvy with Linux and OS X.
Second, if it is bricked and I have to send it back to Amazon what risks do I face? Is it likely they'll just send it back fixed and all will be well, or will they keep it and/or sue me for messing with the boot loader? Would I be better off sending it to someone who unbricks and roots Kindles to avoid additional frustration from a gift?
Any thoughts and help are greatly appreciated! Thanks!
P.S. Here is the code BreakDroid ran. I recall "file already exists" and "unable to copy" due to permissions errors but, unfortunately, I killed the terminal before copying the output thinking I could just log-in as root and redo the process (which I did not attempt). The flash at the end of the code, however, was successful (confirmed on Kindle's display).
Code:
/Volumes/BreakDroid/.files/android-sdk/platform-tools/adb kill-server
sleep 5
/Volumes/BreakDroid/.files/android-sdk/platform-tools/adb push /Volumes/BreakDroid/.files/root/fbmode /data/local/fbmode
sleep 5
/Volumes/BreakDroid/.files/android-sdk/platform-tools/adb shell chmod 755 /data/local/fbmode
sleep 2
/Volumes/BreakDroid/.files/android-sdk/platform-tools/adb shell /data/local/fbmode
sleep 5
/Volumes/BreakDroid/.files/android-sdk/platform-tools/adb reboot
sleep 20
/Volumes/BreakDroid/.files/android-sdk/platform-tools/fastboot -i 0x1949 flash bootloader /Volumes/BreakDroid/.files/kindle_files/u-boot.bin
sleep 10
## applescript dialog "Hold the power button until the light goes off" then turn it back on and wait until it is on then continue
Just tried to install an unlocked bootloader from cyanogenmod's jem page (I can't link because I don't have enough posts! - Install_CM_for_jem on the cyanogenmod wiki) but no dice, fastboot just hangs at "waiting for device" on the computer that was able to get the "unable to create a plug-in" error, regardless of USB port, using "sudo ./fastboot -i 0x1949 flash bootloader /Users/USER/Documents/kfhd8-u-boot-prod-8.1.4.bin". Any help or return/warranty advice is appreciated!
Make sure the device is powered off use Ubuntu with soup kit then run the command sudo fastboot -i 0x1949 getvar product then plug in the tablet. That should get you into fastboot.
macman005 said:
Make sure the device is powered off use Ubuntu with soup kit then run the command sudo fastboot -i 0x1949 getvar product then plug in the tablet. That should get you into fastboot.
Click to expand...
Click to collapse
After a lot of effort to get SoupKIt installed (finally got a working install with an i386 version of Ubuntu 12.04, where you'd think that Android development is 64-bit...), I was unable to get fastboot to recognize my Kindle, regardless of which USB controller I used.
Of note, I also wasn't able to use fastboot with sudo, only as the user. Is this because I'm on a live-installation or is SoupKit supposed to be on a 64-bit OS?
Any further suggestions on how to revive this Kindle?
The sudo might not be important when you run the command
fastboot -i 0x1949 getvar product
Do you get a waiting for device?
If so this is when you should plug the tablet in via usb
macman005 said:
The sudo might not be important when you run the command
fastboot -i 0x1949 getvar product
Do you get a waiting for device?
If so this is when you should plug the tablet in via usb
Click to expand...
Click to collapse
I did get "waiting for device" with my Kindle unplugged. I then tried several USB ports, waiting a few minutes at each (~15 minutes), with no luck. :crying: Any thoughts?

Fastboot problems

I can't get my fastboot to recognise my phone. Adb works fine but fastboot doesnt come back with a device after I fastboot Devices in download mode. Any suggestions? I'm using windows 10
in linux I have to sudo fastbbot. so maybe if you run the shell as admin?
I don t have win 10, but what shows the devicemanager?
can you force to install the drivers again?
I fixed it. I ran htc manager. Then I installed Google usb drivers in sdk manager. Dont know which one done The trick

Fastboot doesn't see my Zenfone 2

Hi, I searched for an answer but I didn't find it, so I created this thread.
My Z00A is running on the latest official OTA version perfectly fine. It is unlocked but bricked once and I successfully unbricked it.
I installed Intel Android driver and adb on windows 10.
Booted in Android, adb sees my device when I enter "adb devices".
In the bootloader, when I enter "fastboot devices", fastboot leaves a bank space and open a new command line and if I enter any other command it says < waiting for device >.
It looks like Windows 10 didn't let the driver work properly. I downloaded the drivers from ASUS and manually installed the bootloader interface driver via legacy wizard. Then, I uninstalled the old one and now fastboot is functional.

Linux driver for Mix 2?

Dear all:
Does Xiaomi Mix 2 require separate / special driver for Linux?
I am encountering this strange issue: when i type
Code:
sudo fastboot devices
it display properly:
Code:
~/dev/xiaomi.mix2$ sudo fastboot devices
123ab45d fastboot
But when I try to flash twrp recovery with it, the process simply stuck.
both
Code:
dmesg
and
Code:
lsusb
display my Xiaomi Mix2 as an google device. could it be the problem?
Code:
New USB device found, idVendor=18d1, idProduct=d00d
New USB device strings: Mfr=1, Product=2, SerialNumber=3
Product: Android
Manufacturer: Google
Where can i get the linux driver for Xiaomi Mix 2? this silly question is surprisingly difficult to google
Thanks
You don't need any driver. Just start the fastboot flash command with the phone unplugged, then, when it prompts, plug the phone to the pc (in fastboot mode, of course).
Yes... you don't need any driver
dukh said:
You don't need any driver. Just start the fastboot flash command with the phone unplugged, then, when it prompts, plug the phone to the pc (in fastboot mode, of course).
Click to expand...
Click to collapse
Tried your method, didn't take. Fastboot still shows < waiting for any device > when I attempt any command other than "fastboot devices", which surprisingly recognises my device! Any other ideas?
Ritonz said:
Tried your method, didn't take. Fastboot still shows < waiting for any device > when I attempt any command other than "fastboot devices", which surprisingly recognises my device! Any other ideas?
Click to expand...
Click to collapse
Did you have the mix2 in fastboot mode? You must turn it on while pressing the volume up button. The bootloader image must be visible. Then, after the <wating for devices> message, plug the phone.
The other way it worked for me was doing an "adb reboot bootloader" and then the fastboot command while the phone is still booting.
I hope this helps.
BR,
DuKh.

Categories

Resources