На чтение 14 мин Просмотров 1.2к. Опубликовано 24.10.2020
Содержание
- 6 Answers 6
- Ошибки при прошивки в Fastboot
- Search Discussions
At the moment I would like to reinstall Android on my device(custom hardware device). I got the image files after building. But when I enter fastboot devices nothing returns.
adb devices is working. It return my device. fastboot flashall -w is also not working. I returns and stays like that until I exit.
So the 70-android.rules.d file is right. I have also set ANDROID_PRODUCT_OUT. But someone knows why fastboot does not see my device, but adb does?
Restarting udev or adb does not work. Some people recommend that on the internet.
6 Answers 6
Are you rebooting the device into the bootloader and entering fastboot USB on the bootloader menu?
then look for on screen instructions to enter fastboot mode.
For Windows:
- Open device manager
- Find Unknown «Android» device (likely listed under Other devices with an exclamation mark)
- Update driver
- Browse my computer for driver software
- Let me pick from a list of devices, select List All Devices
- Under «Android device» or «Google Inc», you will find «Android Bootloader Interface»
- Choose «Android Bootloader Interface»
- Click «yes» when it says that driver might not be compatible
I had the same issue, but I was running Ubuntu 12.04 through a VM. I am using a Nexus 10. I had added the usb device as a filter for the VM (using virtual box in the virtual machine’s settings).
The device I had added was «samsung Nexus 10».
The problem is that once the device is in fastboot mode, it shows up as a different device: «Google, Inc Android 1.0.» So doing «lsusb» in the VM showed no device connected, and obviously «fastboot devices» returned nothing until I added the «second» device as a filter for the VM as well.
Hope this helps someone.
You must run fastboot as root. Try sudo fastboot
TLDR — In addition to the previous responses. There might be a problem with the version of the fastboot command. Try to download the newest one via Android SDK Manager instead of default one available in the OS repository.
There is one more thing you can do to fix this issue. I had the similar problem when trying to flash Nexus Player. All the adb commands we working fine while in normal boot mode. However, after switching to fastboot mode I wasn’t able to execute fastboot commands. My device was not visible in the output of the fastboot devices command. I’ve set the right rules in /etc/udev/rules.d/11-android.rules file. The lsusb command showed that the device has been pluged in.
The soultion was quite simple. I’ve downloaded the the fastboot via Android Studio’s SDK Manager instead of using the default one available in Ubuntu packages.
All you need is sdkmanager. Download the Android SDK Platform Tools and replace the default /usr/bin/fastboot with the new one.
Если вы пытаетесь установить прошивку на ваш Andro >
Данный материал, подразумевает, что вы уже знаете, что такое Fastboot и как им пользоваться. Статья в большем случае рассчитана для устройств Nexus, но возможно подойдет и другим устройствам которые имеют поддержку Fastboot.
Ошибки при прошивки в Fastboot
Проблема может возникнуть из-за отсутствия драйверов, а также с какими либо проблемами с USB кабелями и портами, подробней читайте в статье waiting for devices.
Проблема связана с поврежденным или дешевым USB кабелем, либо же подключение выполнено через ХАБ.
Прошить каждую часть прошивки по отдельности, а не за один раз c помощью архива.
Прошить каждую часть прошивки по отдельности, а не за один раз c помощью архива.
Не обращать свое внимание, так как это не является ошибкой.
Вначале удалить, перезагрузить компьютер и переустановить драйвера Nexus.
Для того чтобы устранить данную ошибку необходимо установить кастомное Recovery, после чего перейти в него и выполнить команду:
После чего перевести Android в режим Bootloader/Fastboot и прошить образ cache:
Вот и все! Оставайтесь с сайтом Android +1! Дальше будет интересней!
Please forgive the fact that this is about restoring to stock as I’ve tried
for a few days to get an answers elsewhere and have gotten nowhere.
I’m trying to update my GNex. The OTA has failed because somehow busybox
replaced my gzip with a symlink. Whatever, I backed the whole device up and
downloaded the factory image. Thus far, none of the official factory images
match my device info. It’s the GNex from the Google Play Store and came
with Google Wallet.
__________________________________
INFO PULLED FROM BOOTLOADER
Product Name — Tuna
Variant — Maguro 16gb
HW Version — 9
Bootloader Version — PRIMELC03
Baseband Version — I9250XXLH1
Carrier Info — None
SN — listed (sorry, not sharing that here lol)
Signing — Production
When I’ve looked at the extracted tar balls and in the .zip files, thus far
the takju and yakju builds under the android-info.txt match all info except
the Baseband version. Thoughts?
fastboot -w flashall
returns the error
error: neither -p product specified nor ANDROID_PRODUCT_OUT set
I then tried
fastboot -w flashall -p maguro
fastboot -w flashall -p tuna
fastboot -w flashall -p takju
error: could not load android-info.txt: No such file or directory
I checked, that file is definitely there.
I also tried this with an edited version of that text file to change the
baseband to match mine and got the same error.
Files were downloaded directly from Google’s factory image site and I
verified md5sum and sha1sum on them before trying.
So anyhow, I’m completely stumped.
Search Discussions
- 5 responses
- Oldest
- Nested
| Jean-Baptiste Queru | at Feb 19, 2013 at 4:31 pm | ⇧ |
There’s a ./flash-all.sh script that will take care of updating the On Mon, Feb 18, 2013 at 5:58 PM, Jonathan Hutson wrote: I’m trying to update my GNex. The OTA has failed because somehow busybox INFO PULLED FROM BOOTLOADER Product Name — Tuna When I’ve looked at the extracted tar balls and in the .zip files, thus far fastboot -w flashall returns the error error: neither -p product specified nor ANDROID_PRODUCT_OUT set I then tried fastboot -w flashall -p tuna fastboot -w flashall -p takju error: could not load android-info.txt: No such file or directory I checked, that file is definitely there. I also tried this with an edited version of that text file to change the Files were downloaded directly from Google’s factory image site and I So anyhow, I’m completely stumped. — Questions sent directly to me that have no reason for being private |
| Kevin Kim | at Feb 19, 2013 at 4:41 pm | ⇧ |
On Feb 19, 2013 11:31 AM, «Jean-Baptiste Queru» wrote:
There’s a ./flash-all.sh script that will take care of updating the
bootloader and baseband firmware before updating the software itself,
all in a single pass.
On Mon, Feb 18, 2013 at 5:58 PM, Jonathan Hutson wrote:
Please forgive the fact that this is about restoring to stock as I’ve tried
for a few days to get an answers elsewhere and have gotten nowhere.
I’m trying to update my GNex. The OTA has failed because somehow busybox
replaced my gzip with a symlink. Whatever, I backed the whole device up and
downloaded the factory image. Thus far, none of the official factory images
match my device info. It’s the GNex from the Google Play Store and came with
Google Wallet.
__________________________________
INFO PULLED FROM BOOTLOADER
Product Name — Tuna
Variant — Maguro 16gb
HW Version — 9
Bootloader Version — PRIMELC03
Baseband Version — I9250XXLH1
Carrier Info — None
SN — listed (sorry, not sharing that here lol)
Signing — Production
When I’ve looked at the extracted tar balls and in the .zip files, thus far
the takju and yakju builds under the android-info.txt match all info except
the Baseband version. Thoughts?
fastboot -w flashall
returns the error
error: neither -p product specified nor ANDROID_PRODUCT_OUT set
I then tried
fastboot -w flashall -p maguro
fastboot -w flashall -p tuna
fastboot -w flashall -p takju
error: could not load android-info.txt: No such file or directory
I checked, that file is definitely there.
I also tried this with an edited version of that text file to change the
baseband to match mine and got the same error.
Files were downloaded directly from Google’s factory image site and I
verified md5sum and sha1sum on them before trying.
So anyhow, I’m completely stumped.
—
Jean-Baptiste M. «JBQ» Queru
Technical Lead, Android Open Source Project, Google.
Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.
| Antonio Marin Cerezuela | at Feb 19, 2013 at 5:02 pm | ⇧ |
El 19/02/13 02:58, Jonathan Hutson escribió:
Please forgive the fact that this is about restoring to stock as I’ve
tried for a few days to get an answers elsewhere and have gotten nowhere.
I’m trying to update my GNex. The OTA has failed because somehow
busybox replaced my gzip with a symlink. Whatever, I backed the whole
device up and downloaded the factory image. Thus far, none of the
official factory images match my device info. It’s the GNex from the
Google Play Store and came with Google Wallet.
__________________________________
INFO PULLED FROM BOOTLOADER
Product Name — Tuna
Variant — Maguro 16gb
HW Version — 9
Bootloader Version — PRIMELC03
Baseband Version — I9250XXLH1
Carrier Info — None
SN — listed (sorry, not sharing that here lol)
Signing — Production
When I’ve looked at the extracted tar balls and in the .zip files,
thus far the takju and yakju builds under the android-info.txt match
all info except the Baseband version. Thoughts?
fastboot -w flashall
returns the error
error: neither -p product specified nor ANDROID_PRODUCT_OUT set
Define ANDROID_PRODUCT_OUT to point where you extracted the factory
image (i.e. where the android-info.txt file is)
$ export ANDRO >
and retry fastboot -w flashall
I then tried
fastboot -w flashall -p maguro
fastboot -w flashall -p tuna
fastboot -w flashall -p takju
error: could not load android-info.txt: No such file or directory
I checked, that file is definitely there.
I also tried this with an edited version of that text file to change
the baseband to match mine and got the same error.
Files were downloaded directly from Google’s factory image site and I
verified md5sum and sha1sum on them before trying.
Research Dept
Swiss Mobility Solutions
Av. Jaime I El Conquistador 1, Local 2
03560 El Campello
Spain
Este mensaje contiene informacion reservada y confidencial destinada exclusivamente al destinatario. Si usted no es el destinatario no esta autorizado a copiar, reproducir o distribuir este mensaje ni su contenido. Si ha recibido este mensaje por error, le rogamos que nos lo notifique inmediatamente.
The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee(s). It may contain privileged and confidential information. If you are not the intended recipient, please destroy this message and notify us immediately. Any disclosure, copying or distribution of this message is prohibited and may be unlawful.
| Jean-Baptiste Queru | at Feb 19, 2013 at 4:56 pm | ⇧ |
FWIW, fastboot flashall is used to flash from a locally built system. On Tue, Feb 19, 2013 at 8:53 AM, Antonio Marin Cerezuela El 19/02/13 02:58, Jonathan Hutson escribió: Please forgive the fact that this is about restoring to stock as I’ve tried I’m trying to update my GNex. The OTA has failed because somehow busybox INFO PULLED FROM BOOTLOADER Product Name — Tuna When I’ve looked at the extracted tar balls and in the .zip files, thus far fastboot -w flashall returns the error error: neither -p product specified nor ANDROID_PRODUCT_OUT set Define ANDROID_PRODUCT_OUT to point where you extracted the factory image $ export ANDRO > I then tried fastboot -w flashall -p tuna fastboot -w flashall -p takju error: could not load android-info.txt: No such file or directory I checked, that file is definitely there. I also tried this with an edited version of that text file to change the Files were downloaded directly from Google’s factory image site and I Research Dept Este mensaje contiene informacion reservada y confidencial destinada The information in this e-mail is confidential and may be legally — Questions sent directly to me that have no reason for being private |
| Jonathan Hutson | at Feb 20, 2013 at 4:05 pm | ⇧ |
Follow this guide with an unlocked bootloader: fastboot erase boot i tried the ./flash-all.sh script and I’d just get «waiting for device» basically I just needed to manually do what the various automatic methods |
Собрался ставить новую прошивку на свой Xiaomi Mi 6 через Ми Флэш, подождал 2 недели и захожу в прогу. А мне выдает ошибку под названием «Can not found the flash_all_lock.bat». Ума не приложу, что это такое и что делать. Если кто знает – помогите!
- 2Ответы
2 Ответы
Привет! Причин у подобной проблемы несколько. Самая основная – отсутствие необходимого файла для перепрошивки, а именно flash_all.bat. Заходим в настройки MiFlash – Advanced и выбираем корректный файл xxx.bat. Подробности расположены уже в самой утилите в подсказках.
Если же не помогло – переустановите драйвера и саму программу, и проверьте расположение папки с программой на системном диске, чаще всего это Диск С.
нужно прошивка с расширением .tar для прошивки через miflashtool и fastboot. https://en.miui.com/a-234.html
прошивка с расширением .zip применяется для прошивки через twrp
Важно! Для обновления при помощи данного метода вам понадобится компьютер с установленной операционной системой Windows. Перед прошивкой Xiaomi в режиме fastboot убедитесь, что ваше андроид устройство полностью заряжено. Все пользовательские данные будут очищены в процессе, поэтому позаботьтесь о резервном копировании данных .
Что необходимо для прошивки
Что потребуется иметь на вооружении, чтобы успешно установить новую прошивку?
- Компьютер под управлением операционной системы Windows версий 7, 8, 8.1, 10 любой разрядности;
- Программу, с помощью которой будет выполняться установка прошивки – Miflash (она же и установит все необходимые драйвера для работы). Если у вас была установлена старая версия, то перед установкой новой, необходимо удалить старую.
- Скачанную прошивку, которую необходимо установить на телефон. Она должна быть актуальной, стабильной и точно подходить конкретно под вашу модель телефона. Формат прошивки должен быть «.tgz», если у вас есть только «.gz», просто переименуйте её формат.
- Ваш смартфон, его модель должна быть не старше Xiaomi Mi3 и иметь процессор Qualcomm.
Смысл процедуры
Что же такое прошивка сама по себе? Это программное обеспечение, которое устанавливается на и по сути становится его операционной системой.
Ставиться прошивка может и на «чистый телефон» без операционной системы, и на уже существующее программное обеспечение (в этом случае новое заменяет старое).
Все остальные особенности здесь те же, что при переустановке – новое программное обеспечение затрагивает все стороны работы устройства.
Оно меняет его функционал, принцип управления, внешнее оформление интерфейса и меню и многое другое.
В глобальном смысле прошивку на устройстве проводят для того, чтобы наделить его какими либо новыми функциями или сделать удобнее в использовании.
Перепрошить устройство несложно – это можно сделать полностью самостоятельно, так как процесс не предполагает работы с аппаратными компонентами, а только с программными. Однако для того, чтобы не вызвать сбоев в работе устройства необходимо тщательно следовать инструкции и подбирать прошивку, максимально подходящую для конкретного смартфона.
Обычно, для большинства мобильных устройств существует несколько версий прошивки программного обеспечения, в зависимости от того, какие функции они добавляют, удаляют или заменяют.
Важно выбрать правильную прошивку с учетом этого правила (например, даже русифицирует устройство не любое программное обеспечение).
Кроме того, любая такая операционная система должна быть предназначена именно для вашей модели телефона.
От стандартных обновлений такая прошивка отличается тем, что обновление корректирует или обновляет лишь определенный параметр.
Тогда как при прошивке полностью заменяется все .
Установка MiFlash
Отключение проверки драйверов
Для правильного взаимодействия компьютера с телефоном необходимо наличие установленных драйверов на Windows. Для того чтобы они корректно инсталлировались в систему, на компьютере нужно отключить функцию, проверяющую подлинность устанавливаемых драйверов – тогда телефон прошивается без проблем.
Для Windows 7 выполните перезагрузку компьютера. Сразу же после прогрузки BIOS несколько раз быстро нажмите на кнопку F8 (возможно у вас другая клавиша), через короткое время появится список дополнительных команд для загрузки операционной системы. В разделе «Дополнительные варианты загрузки» выберите пункт «Отключение обязательной подписи драйверов».
Запомните этот шаг, если при выполнении данной инструкции возникнут неполадки с установкой драйвера, в запущенной от имени админа командной строке друг за другом впишите и запустите следующие команды:
bcdedit.exe /set loadoptions DDISABLE_INTEGRITY_CHECKS
bcdedit.exe /set TESTSIGNING ON
Распространенные ошибки и их исправление
MIUI ROM Flashing Tool выдает разные ошибки во время работы, и их обозначение обычно ни о чем не говорит неопытному пользователю.
- достигнут конец файла 0x80070026 receiving hello packet (reached the end of the file 0x80070026). Решается установкой последней версии MiFlash. Если не помогло – попробуйте повторить попытку в Pro-версии программы;
- время ожидания операции записи истекло. Утилита просто не видит «дрова». Если они не поставились сами, сделайте это вручную, а также проверьте, нет ли в названии папок/файлов русских букв;
- синтаксическая ошибка в имени файла. Используется прошивка для recovery. Нужна сборка для Fastboot, имеющая расширение .tgz (ищите ее на портале Mi Community в разделе Download ROM). Также проблема проявляется, если в названии файлов или папок есть русские буквы;
- flash TZ error. Проблема в том, что ставится китайская прошивка. Выбирать необходимо Global ROM, при этом требуется разблокировка загрузчика;
- you are not authorized to download MiFlash. Необходима авторизация (EDL Authentication);
- flash partition error. Разблокируйте загрузчик и во время прошивки не включайте опцию «Clean all and lock»;
- not catch checkpoint. С этой ошибкой ничего не сделаешь, разве что прошивать гаджет посредством TestPoint;
- необрабатываемое исключение в приложении. Дело в драйверах. Их, как и утилиту и архив, придется загрузить по новой;
- cannot ream from port com. Выполните прошивку через TestPoint, подключившись к USB 2.0;
- ping target via firehouse. Переустановите утилиту MiFlash, загрузите архив заново;
- разрушительный сбой 0x8000fff. Помогут универсальные методы решения проблем: выбор прошивки для конкретной модели устройства, установка через Fastboot, отключение проверки «дров», переустановка МиФлеш;
- требуемый ресурс занят (0x800700a). В этом случае тоже выручат универсальные способы;
- cannot found programmer file. Загрузите дистрибутив по новой и проверьте, чтобы он поддерживал Fastboot;
- flash xbl error. Решается проблема универсальными методами, описанными выше;
- flashing is not allowed in lock state. Причина – заблокированный загрузчик. Выполните прошивку в режиме EDL (или включите Bootloader);
- erase is not allowed in lock state. Разблокируйте загрузчик устройства;
- FAILED remote dtb not found. Неправильная сборка recovery.img или отсутствие образа dtb.img. Решение – пересобрать recovery, используя утилиту AndimgTool;
- FAILED remote command not allowed. Необходимо разблокировать загрузчик, установить драйвера на Фастбут по инструкции. Если не помогает, выполните прошивку с помощью QuickIMG;
- this image failed to load. Требуется обновление «дров» на adb/fastboot;
- FAILED remote not allowed on locked state. Загрузчик заблокирован;
- FAILED remote device is locked cannot erase. Необходимо выйти и зайти по новой в Mi-аккаунт, а также включить обнаружение телефона;
- android product out not set. Проверьте, что в архиве с прошивкой есть все нужные файлы;
- flash already programmed. Поставьте галочку напротив «Force flashing regardless of security checkings»;
- flash write failure. На форумах пишут, что единственное решение – замена NAND-чипа (флеш-памяти);
- run flash image script failure. Дело в драйверах, возможно, они «криво» установлены;
- fastboot failed remote command not allowed. Рекомендуют включить OEM-разблокировку на устройстве перед началом прошивки. При этом бутлоадер необходимо запускать от имени администратора;
- ACK count don’t match Xiaomi. Прошивка не подходит для устройства. Если дело не в этом, убедитесь, что в распакованном архиве отсутствуют лишние папки. Там должна быть только «images» и файлы .bat;
- write time out maybe device was disconnected. Не отключая телефон от ПК зажмите кнопку включения на 20 секунд, чтобы переподключился порт. Если не помогло – очистите драйвера и поставьте их снова.
Подключение телефона к компьютеру
- Теперь перейдем к телефону. Позаботьтесь о том, чтобы он был заряжен как минимум на 50%. Выключите его обычным способом, затем переведите в режим «Fastboot» – включите его специальной комбинацией клавиш, зажав одновременно кнопку включения и качельку громкости вниз. Спустя короткое время появится изображение с зайчиком в ушанке.
- Когда телефон будет в таком режиме, подключите его к компьютеру. Очень желательно использовать тот провод, который шел в комплекте с телефоном – это обеспечит максимально стабильное подключение. За отсутствием оного – просто возьмите провод хорошего качества. Соответствующий штекер вставьте в устройство Xiaomi, другой конец воткните в разъем USB 2.0 на ноутбуке или компьютере.
- Запустите командную строку в Windows от имени админа. С помощью команды cd c:Android перейдите в директорию, созданную ранее при установке программы miflash.
- Проверяем «дружбу» компьютера и телефона – вводим в командную строку команду fastboot devices, после чего появится надпись, похожая на xxxxxxx fastboot (она будет означать, что синхронизация прошла успешно). Если на экране видим надпись waiting for device – нужно проверить, не забыли ли подключить телефон, также проверьте исправность кабеля. Как вариант – заново установите драйвера.
- Командой fastboot oem reboot-edl переведите смартфон в специальный режим «Emergency Download Mode». В это время звуковое уведомление оповещает о появлении нового устройства на компьютере. Синхронизация аппаратов закончена, можно приступать непосредственно к прошивке.
Причины возникновения ошибок
Неполадки в работе любого софта возникают не с пустого места. Их появлению обязательно предшествует какое-либо действие или бездействие пользователя. Так, к наиболее распространенным причинам возникновения ошибок в Mi Flash и SP Flash относятся следующие моменты:
- Недостаток драйверов. Для каждого приложения требуются специальные драйвера – без них софт никак не сможет функционировать. Как правило, они устанавливаются автоматически после скачивания программы и подключения смартфона к ПК. Однако, если этого не произошло, пользователю придется поставить драйвера самостоятельно.
- Неработоспособность Mi-аккаунта. Учетная запись пользователя на смартфоне Xiaomi нужна не только для хранения данных и блокировки входа. Она необходима также для работы с приложениями, вносящими изменения в ПО устройства. Поэтому перед началом работы обязательно нужно авторизоваться в аккаунте.
- Отсутствие обновления программы. На MiFlashPro, как и на любую другую утилиту, регулярно приходят обновления, которые требуется устанавливать хотя бы для корректной работы софта. Из-за этого специалисты настоятельно рекомендуют скачивать из интернета самую свежую версию приложения и работать только с ним.
- Неверно подобранная прошивка. Пользователи часто путаются, скачивая на ПК прошивку, не соответствующую модели смартфона. В процессе поиска даже кастомной прошивки обязательно нужно обращать внимание на список гаджетов, для которых она предназначена. Кроме того, важно обращать внимание на расширение архива – оно должно быть формата .tgz. Вместе с этим стоит следить за русскими буквами в наименовании файла или папки – их быть не должно вовсе.
- Подключение к ПК через USB 3.0. Для корректной работы самого приложения и всех задействованных устройств лучше всего использовать разъем версии 2.0, а также оригинальный кабель, идущий в комплекте со смартфоном.
Прошивка телефона
- Снова откройте программу MiFlash. Кликните на кнопку «Refresh», затем с помощью «..» покажите программе папку, куда до этого вы поместили необходимую прошивку.
- Далее необходимо выбрать, будем ли мы сохранять данные, имеющиеся на телефоне, или же все подчистую удалять. Как правило, рекомендуется второй вариант, тогда прошивка установится наиболее корректно. Нажмите на кнопку «Flash all except storage» для того, чтобы оставить данные на телефоне, для полного форматирования выберите «Flash all». После сделанного выбора нажмите на «Flash». Затем программа выполнит выбранное действие, и начнется прошивка Xiaomi Redmi 3S (или любого другого).
Возможные проблемы
Если никаких изменений на экране в течение длительного времени не наблюдается, попробуйте вынуть аккумулятор на 20-25 минут, затем вставить ее обратно и снова запустить смартфон. Если это не помогло, оставьте его включенным на длительное время, чтобы у него полностью разрядился аккумулятор (не стоит забывать о телефоне в таком виде совсем надолго, не более чем на 4-8 часов (зависит от емкости аккумулятора и его старости), чтобы избежать серьезных проблем с батареей). После того как телефон выключится, подключите его к зарядке и снова включите.
Если вышеописанные действия не помогают, попробуйте установить другую прошивку, или переустановите ранее выбранную.
Если в процессе установки операционной системы возникнет уведомление о том, что не хватает памяти для выполнения данной операции, попробуйте повторить инструкцию на Windows x64. Если смена разрядности ОС не помогает, придется воспользоваться еще одной очень популярной программой для установки – Flashtools.
Если появляется ошибка «remote-Need to unlock the devices to use this command», то необходимо обратиться на официальный сайт MIUI с просьбой разблокировать бутлоадер для установки прошивки, подробности можно прочитать в этой статье.
Следуя данной инструкции, любой телефон с разблокированным загрузчиком с помощью MiFlash можно прошить подходящей операционной системой Android, которая поможет максимально подстроить телефон под нужды отдельно взятого пользователя. Исправление программных ошибок, восстановление «кирпичей» или просто замена внутренней составляющей смартфона, поможет использовать телефон по своему прямому назначению.
Цели
Зачем же вообще нужно перепрошивать устройство, какие преимущества дает такая манипуляция?
Обычно, пользователи проводят такую процедуру с несколькими целями:
- Русификация устройства в случае, если его меню не переведено на русский язык (что часто бывает у устройств, выпущенных не для продажи в Российской Федерации);
- Замена пользовательского интерфейса и меню в случаях, когда пользователь привык к определенному типу, и работать на другом ему неудобно;
- Оптимизация работы с устройствами, например, до прошивки устройство может не видеть подключенную через переходник карту памяти, а после прошивки – станет, и т. п.;
- Оптимизация работы без сбоев в российских сетях (мобильной связи, беспроводного интернета и т. д.);
- Оптимизация работы с российскими сим-картами;
- Повышение производительности, быстродействия и других эксплуатационных характеристик устройства.
Прошивки могут быть официальными и неофициальными. Часто неофициальные являются более удобными и функциональными, имеют больше функций. Но при их установке есть риск возникновения сбоя.
Важно!
Переустановка прошивки во время гарантийного периода автоматически снимает ваш телефон с гарантии в большинстве случаев, особенно, если прошивка устанавливалась неофициальная.
( 2 оценки, среднее 4 из 5 )
At the moment I would like to reinstall Android on my device(custom hardware device). I got the image files after building. But when I enter fastboot devices nothing returns.
adb devices is working. It return my device. fastboot flashall -w is also not working. I returns <waiting for devices> and stays like that until I exit.
So the 70-android.rules.d file is right. I have also set ANDROID_PRODUCT_OUT. But someone knows why fastboot does not see my device, but adb does?
Restarting udev or adb does not work. Some people recommend that on the internet.
OS: Ubuntu 11.10
Mike Laren
7,93817 gold badges50 silver badges70 bronze badges
asked Dec 21, 2011 at 10:47
3
For Windows:
- Open device manager
- Find Unknown «Android» device (likely listed under Other devices with an exclamation mark)
- Update driver
- Browse my computer for driver software
- Let me pick from a list of devices, select List All Devices
- Under «Android device» or «Google Inc», you will find «Android Bootloader Interface»
- Choose «Android Bootloader Interface»
- Click «yes» when it says that driver might not be compatible
Mateen Ulhaq
23k16 gold badges89 silver badges130 bronze badges
answered Jan 29, 2016 at 4:14
TengizTengiz
1,87214 silver badges12 bronze badges
8
Are you rebooting the device into the bootloader and entering fastboot USB on the bootloader menu?
Try
adb reboot bootloader
then look for on screen instructions to enter fastboot mode.
answered Feb 8, 2012 at 5:14
Matt CoferMatt Cofer
2,9521 gold badge19 silver badges18 bronze badges
6
TLDR — In addition to the previous responses. There might be a problem with the version of the fastboot command. Try to download the newest one via Android SDK Manager instead of default one available in the OS repository.
There is one more thing you can do to fix this issue. I had the similar problem when trying to flash Nexus Player. All the adb commands we working fine while in normal boot mode. However, after switching to fastboot mode I wasn’t able to execute fastboot commands. My device was not visible in the output of the fastboot devices command. I’ve set the right rules in /etc/udev/rules.d/11-android.rules file. The lsusb command showed that the device has been pluged in.
The soultion was quite simple. I’ve downloaded the the fastboot via Android Studio’s SDK Manager instead of using the default one available in Ubuntu packages.
All you need is sdkmanager. Download the Android SDK Platform Tools and replace the default /usr/bin/fastboot with the new one.
answered Jan 23, 2017 at 14:52
1
I had the same issue, but I was running Ubuntu 12.04 through a VM. I am using a Nexus 10. I had added the usb device as a filter for the VM (using virtual box in the virtual machine’s settings).
The device I had added was «samsung Nexus 10».
The problem is that once the device is in fastboot mode, it shows up as a different device: «Google, Inc Android 1.0.» So doing «lsusb» in the VM showed no device connected, and obviously «fastboot devices» returned nothing until I added the «second» device as a filter for the VM as well.
Hope this helps someone.
answered Sep 6, 2013 at 19:41
If you got nothing when inputted fastboot devices, it meaned you devices fail to enter fastboot model. Make sure that you enter fastboot model via press these three button simultaneously, power key, volume key(both ‘+’ and ‘-‘).
Then you can see you devices via fastboot devices and continue to flash your devices.
note:I entered fastboot model only pressed ‘power key’ and ‘-‘ key before, and present the same problem.
answered Nov 11, 2013 at 3:56
Leo KongLeo Kong
731 silver badge1 bronze badge
You must run fastboot as root. Try sudo fastboot
answered Jul 1, 2014 at 5:24
espinchiespinchi
9,0146 gold badges57 silver badges65 bronze badges
2
-
Thread Starter
Hey guys, last week I’ve got my hands on a brand new Redmi Note 5 Pro and wanted to install twrp on it so I can do the good stuff ( root, adblocking, custom roms, etc… ). The bootloader is unlocked. OEM Unlocking is turned on in Developer options and also is USB Debbuging. But fastboot simply doesn’t do anything, when I try to flash something it just shows me this:
Sending ‘recovery’ (42452 KB)
And that stays there forever, until I’m forced to unplug the device and it returns with this:
FAILED (Status read failed (No such device))
Simply nothing happens, I tried flashing it, booting it, tried the orangefox image instead but it always does this, can someone help me here?
-
Download the Forums for Android™ app!
Download
-
are you sure you are in the right directory where your fasboot and adb files are in? is there a way you can post a screenshot of your commands?
MrJavi and James L like this.
-
maybe try using a different cable? and are we sure you are using the correct twrp for your device?
MrJavi and Dannydet like this.
-
As mentioned above a cable & or usb port. Or possibly outdated fastboot files. Try this type ./fastboot then drag the recovery into terminal and press enter.
I’ve seen Macs that don’t like the ./fastboot try just fastboot flash etc. Linux and Mac as far as terminal commands are about the same.
MrJavi and ocnbrze like this.
-
Thread Starter
Just fastboot doesn’t work on linux because you need to adress the script/file itself with ./
I’ll try the drag n’ drop thingy. -
Thread Starter
Yes, I’ve tried the original and other USB cables, tested all my computer’s USB ports and the TWRP file is from the twrp website it self and it is the correct one for my model.
-
Thread Starter
Outdated fastboot files are not possible as I’m using the latest files from google themselves.
-
Thread Starter
Should I try the archlinux android-tools package? People said to me it could brick my phone so I’m scared to use it.
-
sorry i’m not really good at linux and i have 0 experience using macs…..so i hope that @James L can chime in.
-
Are you using a desktop or a laptop?
-
Thread Starter
-
Okay 2 questions is the bootloader unlocked?
2nd question are you using USB 2.0 or USB 3.0 ports?
-
Thread Starter
Yes bootloader is unlocked, OEM unlocking is enabled and so is USB debugging in developer options.
I’ve tried both USB 3.0 and 2.0 with the same result. -
I’m on here a few times a day browsing, sometimes logged in other times not so I’ll check back.
-
Thread Starter
I downloaded it from the official TWRP site, no the original file is twrp-3.4.0-0-whyred.img that I renamed to recovery.img, no aditional extensions.
-
Same recovery just different sources. I would use the xda link, delete the other recovery.
Boot into fastboot, type fastboot flash recovery, drag the new recovery into terminal, press enter. I don’t rename the .img files.
-
Just out of curiosity what happens if you use fastboot boot ( drag recovery into terminal) and press enter.
No harm no foul if it doesn’t work but in theory you should be able to boot TWRP
-
Thread Starter
I got this «fastboot: error: ANDROID_PRODUCT_OUT not set» when I typed fastboot flash recovery
-
Okay try fastboot boot recovery.img
-
Thread Starter
Sorry I understood it wrong, got it right now and it does the same thing…
sending recovery… forever -
Thread Starter
Same thing.
Sending ‘boot.img’ (42648 KB)… forever -
Odd… You don’t have access to a Mac or Windows PC? Probably a whole lot easier. Linux can be a finicky beast.
-
Thread Starter
Nah I got rid of windows a long time ago, can a virtual machine do this? I could try a Windows 10 vm.








