Archive does not contain android info txt fastboot error could not read android info txt

Создав исходный код Android, я выполнил следующую команду и получил ошибку. #fastboot -w flashall error: не удалось загрузить android-info.txt Я успешно создал исходный код для ...

Исправление ошибки 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

  1. Android Question



    Thread Starter

    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.


    1. Download the Forums for Android™ app!

      Download

  2. jbaker22

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

  3. dpeteual

    «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. dpeteual

    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

Share This Page

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.

  • Forum
  • Get Help & Give Help!
  • Ask a Question

  1. AC Question's Avatar

    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.

    I have a lot of help using ADB but this will not connect. 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

    08-31-2014 01:40 PM

  2. wizzrah's Avatar

    Originally Posted by AC Question

    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.

    I have a lot of help using ADB but this will not connect. 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

    Hello. I’m a bit confused as to what you want to do. If there isn’t any backups, then you can mount the phone in recovery, put in a ROM in the internal storage, and flash it.

    08-31-2014 02:18 PM

  3. dpeteual's Avatar

    I am trying to get a bootable HTC One X. I have TWRP installed but I don’t see any restore images. I have restore images on my pc but I can’t get them on the phone.

    I can’t get a ADB connection but I can get a Fastboot connection.

    08-31-2014 03:35 PM

  4. wizzrah's Avatar

    Originally Posted by dpeteual

    I am trying to get a bootable HTC One X. I have TWRP installed but I don’t see any restore images. I have restore images on my pc but I can’t get them on the phone.

    I can’t get a ADB connection but I can get a Fastboot connection.

    Have you tried mounting in recovery, or ADB sideload? Not sure what you mean by restore images, all you would need is a compatible ROM.

    08-31-2014 11:07 PM

  5. dpeteual's Avatar

    I have tried all these. ADB sideload won’t continue. I have compatible roms. They are zip files. I can’t load zip files. When I try to use HBOOT the phone doesn’t connect and there is no driver loaded in the Device Manager. If I select Fastboot instead of HBOOT, I get a driver in Device Manager and the phone connects with a good fastboot devices on the PC. If you look at my first post, you can see what happens when I use fastboot. «cannot determine partition type». I really appreciate your trying to help.

    09-01-2014 10:49 AM

  6. wizzrah's Avatar

    Originally Posted by dpeteual

    I have tried all these. ADB sideload won’t continue. I have compatible roms. They are zip files. I can’t load zip files. When I try to use HBOOT the phone doesn’t connect and there is no driver loaded in the Device Manager. If I select Fastboot instead of HBOOT, I get a driver in Device Manager and the phone connects with a good fastboot devices on the PC. If you look at my first post, you can see what happens when I use fastboot. «cannot determine partition type». I really appreciate your trying to help.

    Are you using Windows 8 or 7?

    Sent from my nifty 2 year old AT&T HTC One XL

    09-01-2014 11:58 AM

  7. dpeteual's Avatar

    I originally tried Windows 8.1 and could not get any connections with fastboot or adb. I am now using a Windows XP computer. Now I can get the fastboot connection but no the adb connection.

    I also tried connecting the phone to a MAC. «adb devices» works but does not show the phone as connected in either HBOOT or Fastboot mode. «fastboot devices» shows the phone as connected when the phone is in fastboot mode.

    I have an HTC One X AT&T that tells me that it is evita. 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.

    I believe that I have the latest drivers on my PC for the HTC, however when I connect the phone to the PC with the phone in HBoot mode, I don’t see a driver in Device Manager. The PC detects a new device and offers to Format (I cancel). If I try «adb devices» adb works but does not see my phone. If I set the phone to Fastboot, I see the driver in Device Manager. Then when I use fastboot on the PC, I see the phone as connected. (Windows XP computer). I also tried connecting the phone to a MAC. Worked the same way («fastboot devices» shows the phone, «adb devices» does not show the phone)

    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.

    Any suggestions.

    09-02-2014 12:15 PM

  • Home
  • Forum
  • Get Help & Give Help!
  • Ask a Question
  • fastboot


Similar Threads

  1. Replies: 1

    Last Post: 03-04-2015, 11:00 PM

  2. Replies: 3

    Last Post: 08-14-2014, 02:42 PM

  3. Replies: 8

    Last Post: 08-08-2014, 02:46 AM

  4. Replies: 1

    Last Post: 08-01-2014, 05:10 PM

  5. Replies: 1

    Last Post: 07-19-2014, 06:46 PM

LINK TO POST COPIED TO CLIPBOARD

Понравилась статья? Поделить с друзьями:
  • Archeage как изменить разрешение экрана
  • Archeage как изменить имя персонажа
  • Archeage как изменить внешний вид оружия
  • Archeage error loading dll cryrenderd3d9 dll error code 126
  • Archeage error failed to load game data как решить