Archive does not contain android info txt как исправить

I never flashed a ROM using a .zip in fastboot. The proper way I’ve ever seen is to flash individual files, and some of the important commands are:

fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash userdata userdata.img // 64GB users need userdata_64G.img

Provided that you do have these individual files in your .zip.

These kind of zips are called as «fastboot zips» or «fastboot images», while those requiring a custom Recovery (as keepclam mentioned) are plainly known as normal recovery-flashable zips.

I’m not aware of custom ROMs providing «fastboot zips», but if you intend to gain an experience of flashing such zips, I would suggest flashing a stock CM12s. You can find the related info on OnePlus Forums here.

About the error, it says you don’t have android-info.txt. That’s true that you probably don’t have it because as I said custom ROMs usually don’t provide «fastboot zips» which has this file. And I also said to try stock CM12s fastboot zip since it has that android-info.txt whose content would be like:

require version-trustzone=TZ.BF.2.0-2.0.0109

I think things would be clear for now.

У меня есть метод, который я создал.
Установите recovery, использующий sideload в качестве загрузочного img с помощью mfastboot flash boot.img, буквально назовите recovery как boot.img и прошейте его.

Затем в recovery с помощью adb введите adb devices.
это запустит com-порт

запустите sideload на устройстве

с помощью команды adb введите adb sideload customrom.zip
готово!

очевидно, что имя файла пользовательского рома будет тем, который вы используете.

Я только что разблокировал загруженный телефон moto g textnow wireless с помощью этого способа, потому что больше ничего не работало.

I never flashed a ROM using a .zip in fastboot. The proper way I’ve ever seen is to flash individual files, and some of the important commands are:

fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash userdata userdata.img // 64GB users need userdata_64G.img

Provided that you do have these individual files in your .zip.

These kind of zips are called as «fastboot zips» or «fastboot images», while those requiring a custom Recovery (as keepclam mentioned) are plainly known as normal recovery-flashable zips.

I’m not aware of custom ROMs providing «fastboot zips», but if you intend to gain an experience of flashing such zips, I would suggest flashing a stock CM12s. You can find the related info on OnePlus Forums here.

About the error, it says you don’t have android-info.txt. That’s true that you probably don’t have it because as I said custom ROMs usually don’t provide «fastboot zips» which has this file. And I also said to try stock CM12s fastboot zip since it has that android-info.txt whose content would be like:

require version-trustzone=TZ.BF.2.0-2.0.0109

I think things would be clear for now.

Исправление ошибки Fastboot «Нет такого файла или каталога «

Создав исходный код Android, я выполнил следующую команду и получил ошибку.

#fastboot -w flashall error: could not load android-info.txt 

Я успешно создал исходный код для nexus one (сборка 5) и обнаружил, что в каталоге out / target / passion / есть файл android-info.txt.

Также уверен, что телефон подключен. При запуске «fastboot devices» показывает устройство.

Кто-нибудь знает причину?

Старый тред, извините за его повторную активацию, но он по-прежнему остается одним из самых популярных и остается без ответа. Мое исправление заключалось в том, чтобы убедиться, что у меня есть переменная среды ANDROID_PRODUCT_OUT, и что она указывает на /home/{usr name}/{build directory}/out/target/product/{taget}

Опять же, извините за воскрешение мертвого поста.

В качестве $fastboot flashall -w

прошить ПЗУ на подключенном устройстве, ему нужно знать, какое Run/Device/Product вы хотите прошить, так как в out/target/product каталог, и таким образом продукт получается ANDROID_PRODUCT_OUT переменная, которая должна указывать на любой продукт, т.е.

/home/{usr name}/{build directory}/out/target/product/{taget} 

И установить ANDROID_PRODUCT_OUT нам просто нужно сделать:

source build/envsetup.sh lunch 

и выберите свой продукт в обеденном меню, чтобы fastboot flashall -w будет знать, какой продукт вы хотите прошить.

Позвоните в обед, чтобы задать необходимые переменные среды. Например, можно вызвать «обед aosp_flo-eng», чтобы убедиться, что среда в порядке для планшета Nexus 7 [2013].

Это зависит от того, как организован весь скрипт flash. Попробуй прошиться в раздел напрямую.

Например: fastboot flash system system.img

Я заметил эту проблему при попытке обновить пакет OTA с помощью fastboot.

Например: fastboot update xyz.zip.

Правильный способ обновления через fastboot —

обновление fastboot updateImagename.img

Tweet

Share

Link

Plus

Send

Send

Pin

Android Question

Guest


  • #1

I have an HTC One X. I had a good custom rom installed with 4.4.2. Then I made an error. I tried to go back to a saved image of the original rom. It would not load the
backup. Then I made the error. I selected Factory Reset on the HBOOT screen. Now I can’t get back on the phone except in HBOOT or Fastboot. I can get to HBOOT and TWRP but
there is no Restore image.

When I connect the phone to my computer and try to send a file to the phone, I can get a connection with Fastboot but not ADB. To do this I set the Phone to Fastboot and I
used fastboot devices on the computer and got a good connection. Now I would like to use fastboot to send an image to the phone. I have rom.zip files but no image files that
I know of.

Any suggestions on how I can use fastboot to get my phone back to operational?

I just tried two fastboot commands. This was the result.

fastboot -w
erase successful, but not automatically formatting
can’t determine partition type
failed (remote: unknown command)
erase successful, but not automatically formatting
can’t determine partition type
failed (remote: unknown command)
erasing ‘user data’
failed (remote: not allowed)
finished. total time 0.010s

fastboot update romfile.zip
this took a long time and seemed to be doing something. then got this

archive does not contain ‘android-info.txt’
archive does not contain ‘android-product.txt’
error: updata has no android-info.txt or android-product.txt

When I reboot, I get the HTC screen but it doesn’t go any farther.

  • #2

type «fastboot boot boot» then drop the rom to the adb command prompt and hit enter.

  • #3

«fastboot boot boot rom.zip» gives error. «fastboot boot rom.zip» appears to work but then I get:

creating boot image…
creating boot image — XXXXXXXX
downloading ‘boot.img’…
OK
booting
Failed <remote: reproduce boot image with on-flash ramdisk error>
finished.

  • #4

I have tried a lot of things but none work. It appears my main problem is I can’t bet adb to find the device even though fastboot works fine. I used fastboot to getvar all. There were two things that I have heard may be a problem: cidnum: 11111111 and Security: On.

I found RUU files that are supposed to work but they fail. From other threads it appears that my first problem is getting S-Off. Without having access to the phone menus, I haven’t been able to do that. I have tried Rumrunner but no luck.

  • #5

Is your boot loader still unlocked? If so relock before running the newest RUU for your phone.

fastboot oem lock

Понравилась статья? Поделить с друзьями:
  • Как найти лес вампиров в майнкрафте
  • Как найти процент любви
  • Как найти ритм в сказке
  • Как найти удельный вес чего то
  • Как найти дано по географии