Invalid zip file format twrp как исправить

Twrp неверный формат zip файла ошибка при установке zip файла FAQ по созданию патча update.zip для прошивки через рекавери Редактирование Updater-script. Информация, решения, команды, подпись патчей. Инструкция по установке системных и пользовательских приложений с помощью recovery Редактирование установленной прошивки и удаление системных приложений (ключевые слова) Напоминаю, тут не стол заказов.. Посты с просьбой собрать […]

Содержание

  1. Twrp неверный формат zip файла ошибка при установке zip файла
  2. Installing ZIPs Fails in TWRP #232
  3. Comments

Twrp неверный формат zip файла ошибка при установке zip файла

FAQ по созданию патча update.zip для прошивки через рекавери

Редактирование Updater-script. Информация, решения, команды, подпись патчей.
Инструкция по установке системных и пользовательских приложений с помощью recovery
Редактирование установленной прошивки и удаление системных приложений
(ключевые слова)

Напоминаю, тут не стол заказов.. Посты с просьбой собрать zip для «хххх» Recovery оффтоп

Сообщения, не относящиеся к теме обсуждения (оффтоп), удаляются без предупреждения

  • Добавление нескольких пользовательских/системных приложений «за один клик» (одним патчем).
  • Добавление/удаление системных приложений без root прав и вспомогательных программ.
  • Изменение прошивки (замена файлов, украшательства и т.д.).
  • Обновление программы или прошивки.
  • Переразметка памяти (обсуждения в другой теме)
  • Получение root прав SuperUser, SuperSU, Magisk
  1. Установленный на телефоне кастомный рекавери (CWM/TWRP)
  2. NotePad++ (редактор с сохранением Unix формата)
  3. Zip_signer (подписчик архивов)
  4. Архиватор ZIP
  5. Файл-заготовка sample.zip (либо update-binary для ручной сборки)
    Zip_signer.rar ( 13.28 КБ )
    sample-patch.rar ( 4.77 МБ )
    update-binary.rar ( 113.25 КБ )
  6. Дополнительные версии бинарника. binary_all.rar ( 649.36 КБ )
  7. Бинарники (архив/исходники)

Исходники бинарника, основная ссылка:
https://android.google…ootable/recovery/+refs
выбираем к примеру «android-9.0.0_r18» , потом ищем папку «updater», в папке «updater» исходники бинарника

К примеру https://android.google…droid-9.0.0_r18/updater — можно глянуть все команды которые может выполнить бинари в андроид 9.0.0 (в файле install.cpp, в самом низу)

  • Подписчик для Linux: signapk.zip ( 9.24 КБ )
    + Android update-script (Пост Няшная #63580419)
  • Внимание! Патчи создаются только для мод.рекавери и результативно работают только в них. В стоковых рекавери (на аппаратах «из коробки») патчи не работают.

    Для того, чтобы установить новые системные приложения apk в Ваш аппарат, необходимо выполнить три шага:

    1. Собрать свой update.zip (из заготовки sample.zip)
    2. Подписать update.zip утилитой Zip_signer(Не обязательно!)
    3. Закинуть на флэшку и установить в аппарат через ClockWorkMod Recovery

    Эти шаги являются универсальными, т.е. подойдут для выполнения других подобных операций.

    ШАГ №1
    Собрать новый update.zip, используя «болванку» sample.zip
    Порядок использования sample.zip:

    1. Разархивировать архив sample.zip
    2. Удалить файлы подписи META-INF/CERT.RSA, CERT.SF, MANIFEST.MF (т.к. 2м шагом мы их будем создавать для своей сборки)
    3. Поместить в папку /data/app свое пользовательское приложение (xxxxx.apk)
    4. При необходимости отредактировать файл updater-script (подробнее позже)
    5. Заархивировать всё (META-INF и data) ZIP’ом без сжатия

    ШАГ №2
    Подписать update.zip с помощью утилиты Zip_signer
    Порядок использования утилиты Zip_signer:

    1. Переименовать Ваш отредактированный (т.е. уже с приложением внутри) sample.zip в update.zip
    2. Поместить его в папку с программой Zip_signer
    3. Запустить файл zip_signer.bat
    4. Дождаться, пока процесс будет завершен
    5. В папке появится файл update-finished.zip — это и есть подписанный файл
    6. Переименовать update-finished.zip по своему усмотрению (согласно логике патча)

    ШАГ №3
    Установка нового приложения

    1. Перекинуть (переименованный) update-finished.zip на флэшку и установить его в аппарат через TWRP или CWM (install zip from sdcard -> chooze zip from internal sdcard -> Yes, install sample.zip)
    2. Перезагрузить аппарат

    / )

  • Выполняем программу подписи (signapk )
  • Внимание! Патчи создаются только для мод.рекавери и результативно работают только в них. В стоковых рекавери (на аппаратах «из коробки») патчи не работают.

    Корень патча:

    • папка META-INF
    • папка источник установки приложений (system, data, sdcard, cache, sd-ext)
      Обязательные файлы:
    • META-INF/com/google/android/update-binary — системное средство запуска данного патча, также создает временную рабочую папку tmp
    • META-INF/com/google/android/updater-script — выполняемый скрипт по которому и происходят операции копирования и т.д.

    Разберем sample.zip
    Патч добавляет пользовательское приложение MyPiano в Data.

    — Выводит сообщение о завершении процесса.

    • busybox — приложение для выполнения командной строки, устанавливается с кастомным рекавери, находится в ramdisk/sbin. в кастомных прошивках зачастую добавляют его в system/xbin

    Возможные исправления для своих целей

      Изменение прав

    package_extract_dir
    Синтаксис: package_extract_dir(» «, » «);
    Копирует содержимое в . Файлы в имеющиеся в перезаписываются.
    Пример: package_extract_dir(«system», «/system»); Скопирует файлы из папки update.zip/system в /system

    package_extract_file
    Синтаксис: package_extract_file(» «, » «);
    Копирует файл в . Если файл существует, то он перезаписывается.
    Пример: package_extract_file(«test.sh», «/tmp/test.sh»); Скопирует файл test.sh из update.zip в /tmp/test.sh

    format
    Синтаксис: format(«MTD», » «);
    Форматирует раздел (см. приложение).
    Пример: format(«MTD», «system»); Полностью отформатирует /system . Примечание: форматирование удаляет данные необратимо.
    Пример 2: format(«ext4», «EMMC», «/dev/block/mtdblock5», «0», «/system»);
    Определение номера блока под спойлером «инфо и материалы».

    delete
    Синтаксис: delete(» «[, «file2», . «fileN»]);
    Удаляет файл(ы)
    Пример: delete(«/system/app/Calculator.apk»); Удалит Calculator.apk из папки system/app.

    delete_recursive
    Синтаксис: delete_recursive(» «[, «dir2», . «dirN»]);
    Рекурсивно удаляет папку(и) со всем содержимым
    Пример: delete_recursive(«/data/dalvik-cache»); Удалит папку /data/dalvik-cache со всем содержимым.

    run_program
    Синтаксис: run_program(» «[, » «, » «, » «]);
    Запускает программу(скрипт) .
    Пример: run_program(«/tmp/install_busybox.sh»); Запустит скрипт /tmp/install_busybox.sh.

    «[, . «pathtofileN»]);
    Устанавливает владельца, группу и разрешения для файла или папки, как ‘chmod’, ‘chown’, и ‘chgrp’ всё в одном
    Пример: set_perm(0, 2000, 0550, «/system/etc/init.goldfish.sh»); Установит владельца, группу и разрешения для файла /system/etc/init.goldfish.sh

    set_perm_recursive
    Синтаксис: set_perm_recursive( , , , , «

    «])
    Рекурсивно устанавливает владельца, группу и разрешения для содержимого папки. — для папок, — для файлов.
    Пример: set_perm_recursive(0, 0, 0755, 0644, «/system/app»); Установит права для содержимого /system/app, для папок — 0755, для файлов — 0644.

    show_progress
    Синтаксис: show_progress( , );
    Продвижение прогрессбара на долю за секунд. может быть нулевым для продвижения его по командe set_progress, а не по времени.
    Пример: show_progress(0.100000, 1); Увеличит прогресс на 0.1 часть за 1 секунду

    set_progress
    Синтаксис: set_progress( );
    Устанавливает положение прогрессбара на долю , для самого последнего вызова команды show_progress.
    Пример: set_progress(0.500000);

    symlink
    Синтаксис: symlink(«

  • «, «
  • «, «
  • «]);
    Создает символическую ссылку (как ‘ln-s’).
  • пишется в формате root:path, а
  • в формате целевой файловой системы (и может быть относительным). Википедия Symlink.
    Пример: symlink(«/data/app_s», «/system/app»); Создаст символическую ссылку на папку /data/app_s для папки /system/app

    «);
    Монтирует в путь

    . должно быть название раздела, если это «MTD», или блок памяти если это «vfat»
    Пример: mount(«MTD», «userdata», «/data»);

    ui_print
    Синтаксис: ui_print(» «);
    Выводит на экран сообщение
    Пример: ui_print(«Formatting SYSTEM. «);

    sleep
    Синтаксис: sleep( );
    Пауза процесса на секунд
    Пример: sleep(5); — пауза 5 секунд, после чего код скрипта выполняется дальше.

    set_metadata / set_metadata_recursive
    Синтаксис: set_metadata (. );
    Устанавливает владельца, группу и разрешения (новая команда взамен set_perm для andriod 4.4.*)
    Примеры: Android update-script (Пост #32151495)
    Создание патча update.zip для прошивки через рекавери (Пост kory-vadim #81945464)

    set_metadata / set_metadata_recursive
    Синтаксис:
    set_metadata(«имя файла», «ключ1», «значение1», «ключ2», «значение2», . )
    set_metadata_recursive(«имя директории», «ключ1», «значение1», «ключ2», «значение2», . )
    Ключи:
    * uid
    * gid
    * mode (set_perm_extd only)
    * fmode (set_perm_extd_recursive only)
    * dmode (set_perm_extd_recursive only)
    * selabel
    * capabilities
    первые три (uid, gid, mode) это тоже самое что и в chmod, заполняется «uid», 0, «gid», 1000, «mode», 06754.
    для установки прошивки хватает трех ключей «uid», 0, «gid», 1000, «mode», 06754.
    Пример: set_metadata(«/system/xbin/shelld», «uid», 0, «gid», 1000, «mode», 06754, «capabilities», 0x0, «selabel», «u:object_r:system_file:s0»);
    set_metadata_recursive(«/system/xbin», «uid», 0, «gid», 2000, «dmode», 0755, «fmode», 0755, «capabilities», «0x0», «selabel», «u:object_r:system_file:s0»);

    команды для Nexus’ов
    block_image_update(«/dev/block/platform/msm_sdcc.1/by-name/system», package_extract_file(«system.transfer.list»), «system.new.dat», «system.patch.dat»);
    Синтаксис: block_image_update(«Путь к блоку раздела», package_extract_file(«список информации для патча (?) «), «образ», «патч образа»);
    я так понимаю, что так прошивается сильно сжатая прошивка (образ системы).
    Еще ifelse
    Пример: ifelse(is_mounted(«/system»), unmount(«/system»)); — если раздел сустем смонтирован дается команда на его размонтирование, если размонтиовать то нечего не происходит.

    Информация по атрибутам set_metadata и подобным командам на Android 4.4+
    Android update-script (Пост blackeangel #50803606)
    Описание откуда берутся «u:object_r:uncrypt_exec:s0» и подобные атрибуты. . .

    Пример скрипта который может удалятьперемещатьбекапить файлы и вести лог действий
    Android Script Creator (Пост Octanium #51085030)

    Используется при отсутствии busybox, либо чтоб не привязываться к его расположению в системе.

    Код «перезагрузки» и «перезагрузки в рекавери» соответственно:

    Когда скрипт выполняется очень быстро (1-4 секунд) я использовал следующий код:

    Т.е. за 3 секунды прогресс бар доходит до 100% (постепенно).
    Число «3» выбрано как [время установки скрипта]+1 сек, чтоб прогресс бар при установке гарантированно двигался и не успел дойти до 100% раньше, чем скрипт установится.

    «[, . «pathtofileN»]);
    Устанавливает владельца, группу и разрешения для файла или папки, как ‘chmod’, ‘chown’, и ‘chgrp’ всё в одном
    Пример: set_perm(0, 2000, 0550, «/system/etc/init.goldfish.sh») Установит владельца, группу и разрешения для файла /system/etc/init.goldfish.sh

    «])
    Рекурсивно устанавливает владельца, группу и разрешения для содержимого папки. — для папок, — для файлов.
    Пример: set_perm_recursive(0, 0, 0755, 0644, «/system/app») Установит права для содержимого /system/app, для папок — 0755, для файлов — 0644.

    «);
    Монтирует в путь

    . должно быть название раздела, если это «MTD», или блок памяти если это «vfat»
    Пример: mount(«MTD», «userdata», «/data»);
    Пример монтирования на андроид 9-10

    Если Вам знакомо что такое Recovery, CWM,TWRP, знаете что такое кастомные прошивки и с чем их едят, то наверняка вы сталкивались с тем что прошивка или обновление не устанавливается выводя при этом ошибку «Status #».

    Источник

    Installing ZIPs Fails in TWRP #232

    I have been trying to install the new ROM «OmniRom» for my HTC One (m7ul) but I have had problems. After a full wipe, I install the OmniRom with no problems. The next step is to install the SU & Gapps zip files. When I try to install the zips, I get the following in my log

    E:Unable to open zip file.
    Error flashing zip ‘/sdcard/Download/UPDATE-SuperSU-v1.65.zip’
    Updating partition details.

    Thanks for any ideas

    The text was updated successfully, but these errors were encountered:

    Please provide /tmp/recovery.log after the install.

    I am having same problem. I have iBall Andi4.5h. Error flashing zip for all files I zip.

    1. I tried with working zip files, uncompressed it and compressed it again. It still got the same error.
    2. I tried the above on Ubuntu 64-bit, Windows 7 64-bit (normal and with winrar), Debian 32-bit and 7-zipper on android. It still gave the same error.
    3. Used kitchen tool to open a ROM and finished it (prepared zip) without making any changes using the kitchen. The ROM again gave same error.
    4. Tried with TWRP2.5.0.0, TWRP2.5.5.5 and TWRP 2.3.3.0 Still same issue.
    5. Tried installing 4.1.2 ROM and 4.2.1 ROM, still same issue.
    6. All flashable kernels and ROMs from the developers are working file.

    I checked everything, the zip was not unzipped properly. Files need to be unzipped with complete paths.
    I used 7z (7zip) command in Ubuntu to do it. 1st command to uncompress does not work. 2nd always works.
    $ 7z e FileToUnzip.zip //normal extract of zip file. Does not work
    $ 7z x FileToUnzip.zip //To eXtract with full path. Always works
    $ 7z a -tzip File1 File2 AllFiles* NewFile.zip

    Zips that are failing are invalid / not correct. Not TWRP’s fault.

    Источник

  • Need to recover some data or don’t know how to fix Zip files? Try to check invalid Zip file format TWRP. In this article, you will find all the information about the advantages of this software and tips on how to fix invalid Zip files.

    Benefits of Using TWRP

    TWRP is a great recovery software for various devices in the development field. What sets it apart from other available recovery resources is the design, interface, and many other features it comes with. TeamWin Project was one of the first recovery companies to boast a full touchscreen interface. For the first time, reprogramming ROMs and other ZIP files have been made much easier.
    Among its numerous advantages are:
    • System backup. Creating custom backups for each partition of the system, or a full Nandroid backup to ensure a trouble-free rollback if something goes wrong.
    • Cleaning partitions. Using the advanced Wipe menu, users can erase any files and folders, or perform a full factory reset.
    • Recovery of any data on the device.
    • It serves as the basis for installing other firmware modifications
    • Allows Brightness changing. Useful for those who install firmware day and night.
    • A user can mount their partitions and even use a USB flash drive if they have an OTG cable for this.
    • A built-in well-designed file manager.
    • A built-in Terminal Command window that simplifies the work with the program.
    • A user can control permissions.
    • One-click ADB side-loading allows a user to give the system access to fast boot status and connect to the computer.
    In this way, it is a very powerful open-source tool that can help you to keep a smartphone in a good shape. It makes all the reboots, recoveries, and flashing fully safe, efficient, and without a risk to lose some data. TWRP is perfect in dealing with third-party firmware and installation of custom hardware.

    It’s pretty easy as the software is greatly optimized and performs efficiently. TWRP has a user-friendly interface, so it won’t take a lot of time for you to understand how it works. So, to fix the invalid Zip file format, you need to follow the next steps:
    1. Check the location of the invalid Zip file you need to recover.
    2. Boot into recovery mode. You may use special software or press a combination of buttons that will boot your device in such a mode.
    3. To avoid any issue, create a Nandroid Backup. It is not necessary but recommended to do anyway. Press Backup-all checkboxes- confirm option.
    4. Then, press Wipe. It will do a factory reset.
    5. Install the Zip file into the location where the invalid one is storing. Swipe to confirm the flash option to begin flashing
    6. Reboot the device.
    After that, the invalid file must be fixed. Nevertheless, it may not fix the problem and the file may stay invalid in some cases. So, if something went wrong, check the details below. It’s likely that if you meet them and try again, the trouble will be solved:
    • Allow installation of both trusted and unknown sources.
    • Check if you have the latest TWRP version.
    • Download TWRP only from the official website.
    • Check the file extension. If it’s .apk try to chance to.zip.
    • Try to zip/unzip the file using some software like 7 zip.

    @djbeck

    I have been trying to install the new ROM «OmniRom» for my HTC One (m7ul) but I have had problems. After a full wipe, I install the OmniRom with no problems. The next step is to install the SU & Gapps zip files. When I try to install the zips, I get the following in my log

    E:Unable to open zip file.
    Error flashing zip ‘/sdcard/Download/UPDATE-SuperSU-v1.65.zip’
    Updating partition details…

    Thanks for any ideas

    @bigbiff

    Please provide /tmp/recovery.log after the install.

    @milindlokde

    I am having same problem. I have iBall Andi4.5h. Error flashing zip for all files I zip.

    1. I tried with working zip files, uncompressed it and compressed it again. It still got the same error.
    2. I tried the above on Ubuntu 64-bit, Windows 7 64-bit (normal and with winrar), Debian 32-bit and 7-zipper on android. It still gave the same error.
    3. Used kitchen tool to open a ROM and finished it (prepared zip) without making any changes using the kitchen. The ROM again gave same error.
    4. Tried with TWRP2.5.0.0, TWRP2.5.5.5 and TWRP 2.3.3.0 Still same issue.
    5. Tried installing 4.1.2 ROM and 4.2.1 ROM, still same issue.
    6. All flashable kernels and ROMs from the developers are working file.

    Here is the link to my recovery.log file, showing non-flashing and flashable zips.
    https://drive.google.com/file/d/0B3ORdhoiYRSWOXEyOER4Z09WMmc/edit?usp=sharing

    @milindlokde

    I checked everything, the zip was not unzipped properly. Files need to be unzipped with complete paths.
    I used 7z (7zip) command in Ubuntu to do it. 1st command to uncompress does not work. 2nd always works.
    $ 7z e FileToUnzip.zip //normal extract of zip file. Does not work
    $ 7z x FileToUnzip.zip //To eXtract with full path. Always works
    $ 7z a -tzip File1 File2 AllFiles* NewFile.zip

    @Dees-Troy

    Zips that are failing are invalid / not correct. Not TWRP’s fault.

    @milindlokde

    Definitely not TWRP’s fault and thanks for closing the thread. But it was very difficult to locate the source of error. The default unzip tool in Linux (both Debian and Ubuntu) and Windows were not compatible. I lost almost three weeks and even hope, until it failed with CWM recovery as well. So I tried all different ZIP tools and ofcourse 7zip the swiss knife of compression and decompression.
    Recommended tool is WinRAR and 7zip with ‘x’ option.
    I think this should be added in FAQ or HOW-TO of TWRP

    @srishtimathur6

    Trying to flash any ROM zip in TWRP and while doing so you are facing this error, «invalid zip file format». Then don’t worry, as here I will show you a complete tutorial to fix this issue.

    What you have to do is click on this error title, «TWRP Invalid Zip File Format» to browse the complete tutorial and fix the issue right now on your Android device.

    aelbenney

    Verified Member
    Posts: 20
    Joined: Fri May 01, 2020 12:49 pm
    Has thanked: 3 times

    Fri May 01, 2020 12:54 pm

    I tried to install atvExperience Rom and I got an error in half of installation then I reboot my X96 Mini and nothing happen just the start screen of atvExperience and when I reboot into recovery mode (TWRP) to install a new rom with zip file I got this error:

    Code: Select all

    I:operation_start: 'Flashing'
    Installing zip file '/external_sd/s905w9.zip'
    Checking for Digest file...
    Skipping Digest check: no Digest file found
    Invalid zip file format!
    Error installing zip file '/external_sd/s905w9.zip'
    Updating partition details...

    Any solution please! I tried many Firmware images in zip file and same error :/ Heeeeeeelp please!

    aelbenney

    Verified Member
    Posts: 20
    Joined: Fri May 01, 2020 12:49 pm
    Has thanked: 3 times

    #3

    Fri May 01, 2020 2:06 pm

    em3ka wrote: ↑Fri May 01, 2020 1:26 pm
    Use this temporary TWRP, install trough recovery and then try to install new ROM .zip file.

    I got this error when I tried with the version of TWRP you sent me:

    Code: Select all

    I:operation_start: 'Flashing'
    Installing zip file '/external_sd/s905w.zip'
    Checking for MD5 file...
    Skipping MD5 check: no MD5 file found
    Invalid zip file format!
    Error installing zip file '/external_sd/s905w.zip'
    Updating partition details...
    ...done

    and when I tried this zip https://mega.nz/folder/GEpQmQhZ#ezNEXQd … r/3JhhBSiK
    I got this error :

    Code: Select all

    I:operation_start: 'Flashing'
    Installing zip file '/external_sd/S905W_ATVX_V2H.zip'
    Checking for MD5 file...
    Skipping MD5 check: no MD5 file found
    I:Update binary zip
    I:Zip does not contain SELinux file_contexts file in its root.
    I:Legacy property environment initialized.
    line 38 col 56: syntax error, unexpected $end
    1 parse errors
    Updater process ended with ERROR: 6
    I:Install took 0 second(s).
    Error installing zip file '/external_sd/S905W_ATVX_V2H.zip'
    Updating partition details...
    I:Data backup size is 4MB, free: 4368MB.
    I:Unable to mount '/usb-otg'
    I:Actual block device: '', current file system: 'auto'
    ...done

    User avatar

    em3ka

    Moderator
    Posts: 1992
    Joined: Sun Jul 15, 2018 11:43 am
    Has thanked: 138 times
    Been thanked: 406 times

    #4

    Fri May 01, 2020 2:30 pm

    aelbenney wrote: ↑Fri May 01, 2020 2:06 pm
    Installing zip file ‘/external_sd/s905w.zip

    Please, post link to the file mentioned above.
    Did you been successful at flashing that file in the past, before trouble began?

    aelbenney wrote: ↑Fri May 01, 2020 2:06 pm
    …and when I tried this…
    S905W_ATVX_V2H.zip

    Did you not see the warning — (DON’T TRY) ZIP FORMAT (DOESN’T WORK)…

    aelbenney

    Verified Member
    Posts: 20
    Joined: Fri May 01, 2020 12:49 pm
    Has thanked: 3 times

    #6

    Fri May 01, 2020 2:40 pm

    and I tried various zip files not only the one from atvexperience! with the same error :/ X96mini_RP_20190903.zip , x96_mini_S905W_Android_9_AndroidPC.zip , …

    em3ka wrote: ↑Fri May 01, 2020 2:30 pmDid you been successful at flashing that file in the past, before trouble began?

    I only tried the atvexperience with SDCard for the first time and happened what I explained in the post

    User avatar

    em3ka

    Moderator
    Posts: 1992
    Joined: Sun Jul 15, 2018 11:43 am
    Has thanked: 138 times
    Been thanked: 406 times

    #7

    Fri May 01, 2020 3:28 pm

    aelbenney wrote: ↑Fri May 01, 2020 2:40 pm
    and I tried various zip files not only the one from atvexperience! with the same error :/ X96mini_RP_20190903.zip , x96_mini_S905W_Android_9_AndroidPC.zip , …

    You’re constantly trying to flash the wrong images, the mentioned above are archives containing .IMG file — can only be flashed with Burn Card Maker or USB Burning Tool and not trough recovery/TWRP install. :upside_down_face: :relaxed:

    aelbenney

    Verified Member
    Posts: 20
    Joined: Fri May 01, 2020 12:49 pm
    Has thanked: 3 times

    #8

    Fri May 01, 2020 3:45 pm

    em3ka wrote: ↑Fri May 01, 2020 3:28 pm
    You’re constantly trying to flash the wrong images, the mentioned above are archives containing .IMG file — can only be flashed with Burn Card Maker or USB Burning Tool and not trough recovery/TWRP install. :upside_down_face: :relaxed:

    And from where to get a valid zip file ? and is it the only way to install a rom ? my android box is stuck and only I can boot to twrp, help me please

    User avatar

    ricklar

    Moderator
    Posts: 889
    Joined: Fri Nov 30, 2018 10:30 pm
    Has thanked: 139 times
    Been thanked: 249 times

    #9

    Fri May 01, 2020 4:13 pm

    aelbenney wrote: ↑Fri May 01, 2020 3:45 pm

    em3ka wrote: ↑Fri May 01, 2020 3:28 pm
    You’re constantly trying to flash the wrong images, the mentioned above are archives containing .IMG file — can only be flashed with Burn Card Maker or USB Burning Tool and not trough recovery/TWRP install. :upside_down_face: :relaxed:

    And from where to get a valid zip file ? and is it the only way to install a rom ? my android box is stuck and only I can boot to twrp, help me please

    If you want to install atvXperience then we could possibly try to help you… but it sounds like you want to install a different ROM, so go ask the developers of the other ROM to give you assistance then! Or go ask your device manufacture for support.

    Already from what I have read your earlier posts, you don’t know anything about Flashing Amlogic devices, that is ok; you just need to learn! Start reading the TUTORIALS and Watching YouTube videos on how to Recover Amlogic Device and How-To Install Amlogic firmwares.

    BE KIND, BE NICE, BE RESPECTFUL TO OTHERS, RESPECT THE MODERATORS,
    *IMPORTANT NOTE* ONLY PM MODERATORS OR DEVELOPERS AS A LAST RESORT!!!

    ☢️ My test device: H96 Pro+ 3gb/32gb DDR4 ☢️ Plus own Tanix, Beelink, Alfawise, X96S, Odroid-N2, Khadas VIM3L, X3, ADT-3, X96-Air
    GEARBEST.com
    PLEASE ENJOY ATVX!

    aelbenney

    Verified Member
    Posts: 20
    Joined: Fri May 01, 2020 12:49 pm
    Has thanked: 3 times

    #10

    Fri May 01, 2020 4:17 pm

    ricklar wrote: ↑Fri May 01, 2020 4:13 pm
    If you want to install atvXperience then we could possibly try to help you

    Yes of course I want to install atvXperience !! Thats why I’m here.

    ricklar wrote: ↑Fri May 01, 2020 4:13 pm
    you don’t know anything about Flashing Amlogic devices

    Can you please help me to recover my box? please


    Ошибка 7 при прошивке через рекавери (TWRP, CWM Recovery) на Android


     Ошибка 7 при прошивке через рекавери (TWRP, CWM Recovery). Решили установить кастомную прошивку на свой Android смартфон или планшет, вошли в кастомное TWRP Recovery, но во время установки получили ошибку 7? Не отчаивайтесь исправить данную проблему довольно просто.

    Многих новичков может обескуражить какие либо действия в установке кастомной прошивки, особенно если это процедура выполняется первый раз. Одним из серьезных препятствий во время установки прошивки может стать ошибка 7 в TWRP Recovery. Серьезность этой ошибки в том, что она не позволяет вообще установить кастомную прошивку на устройство и вся ваша подготовка пойдет насмарку. Но оказывается что данную ошибку 7 в recovery довольно легко исправить не прибегая к длительным действиям! О том как избавится от данной проблемы и посвящена сегодняшняя статья!

    Откуда взялась ошибка 7?

    Данная ошибка может возникнуть в двух случаях:

    1. Если вы попытаетесь установить прошивку не от своего устройства, такое часто возникает, когда под одним наименованием смартфона или планшета может быть множество моделей с небольшими отличиями под определенные рынки (например смартфон LG G2 имеет модели VS980, LS980, D800, D802, F320K). Убедитесь что прошивка предназначена именно для вашего устройства!
    2. В скрипте установке прошивки не внесено название модели вашего Android смартфона или планшета.

    Как исправить Ошибку 7 при прошивке в Recovery?

    Вариант 1 (действие 1)

    Если вы уже прочитали как могла возникнуть ошибка 7, то самым первым вашим действием будет проверка действительно вы скачали прошивку именно для вашей модели смартфона или планшета (проверить наименование и версию).

    Если вы заметили, что скачали не ту прошивку, то скачать для своего устройства. Проблема решена! Если же это не так и прошивка верная, то переходим ко второму действию.

    Вариант 2 (действие 2)

    1. Установите Notepad ++
    2. Открываем прошивку и переходим по пути META-INFcomgoogleandroid
    3. Извлекаем файл updater-script

    Ошибка 7 при прошивке через рекавери (TWRP, CWM Recovery) на Android

    4. Удалить вначале устанавливающего скрипта строки начинающиеся на assert

    Ошибка 7 при прошивке через рекавери (TWRP, CWM Recovery) на Android

    5. Сохранить документ и забросить обратно в прошивку заменив старый файл
    6. Удалить в прошивке файлы по пути META-INF — CERT.RSA, CERT.SF, MANIFEST.MF

    Ошибка 7 при прошивке через рекавери (TWRP, CWM Recovery) на Android

    7. Забросить готовую прошивку на устройство, перевести в режим Recovery и попробовать снова прошить Android


    {rutube}ace43b472b1b7b2fb55e2b53ba067bf8{/rutube}


    Понравилась статья? Поделить с друзьями:
  • Invalid use of property vba ошибка
  • Invalid url как исправить
  • Invalid url error fix
  • Invalid token pubg ошибка
  • Invalid timestamp libapp md5 checksum error на литрес что делать