Updater process ended with error 1 error installing zip file

Как исправить ошибку TWRP 1 на любом устройстве Android В этом руководстве мы покажем вам, как исправить ошибку TWRP 1 на любом устройстве Android. Когда дело доходит до пользовательской разработки, существует множество настроек и настроек, которые предпочитают технические энтузиасты. И замена стокового рекавери устройства на кастомное тут же вверху. Но почему пользователи устанавливают кастомное […]

Содержание

  1. Как исправить ошибку TWRP 1 на любом устройстве Android
  2. Причина ошибки TWRP 1
  3. Как исправить ошибку TWRP 1
  4. ШАГ 1: Загрузите стоковый загрузочный IMG
  5. ШАГ 2: Прошить стоковый файл Boot.img через TWRP
  6. ШАГ 3: Патч Boot.img через Magisk
  7. ШАГ 4: Прошить пропатченный Boot.img через TWRP
  8. How to Fix TWRP Error 1 on any Android Device
  9. The Reason for TWRP Error 1
  10. How to Fix TWRP Error 1
  11. STEP 1: Download Stock Boot IMG
  12. STEP 2: Flash Stock Boot.img file via TWRP
  13. STEP 3: Patch Stock Boot.img via Magisk
  14. STEP 4: Flash Patched Boot.img via TWRP
  15. About Chief Editor
  16. Sadique Hassan

Как исправить ошибку TWRP 1 на любом устройстве Android

В этом руководстве мы покажем вам, как исправить ошибку TWRP 1 на любом устройстве Android. Когда дело доходит до пользовательской разработки, существует множество настроек и настроек, которые предпочитают технические энтузиасты. И замена стокового рекавери устройства на кастомное тут же вверху. Но почему пользователи устанавливают кастомное рекавери, если уже есть встроенное рекавери? Ну, причина в том, что стоковое рекавери не поддерживает какие-либо пользовательские настройки.

В лучшем случае вы можете стереть данные, перезагрузить устройство в Fastboot или, в некоторых случаях, выполнить функцию боковой загрузки ADB. Но это все. Вы не можете прошивать файлы ZIP или IMG, стирать раздел данных, создавать и восстанавливать резервную копию различных разделов устройства и т. д. Следовательно, потребность в пользовательском восстановлении становится все более важной. И на данный момент TWRP является единственным восстановлением, управляющим диаграммами. Хотя есть и другие, но они собираются с использованием исходного кода TWRP.

Однако это восстановление не лишено множества проблем. Например, вы можете получить TWRP Error 7 при прошивке пользовательских ПЗУ или TWRP Error 20 после прошивки GApps. Кроме того, есть случаи, когда пользователи сталкиваются с ошибкой TWRP 70 из-за нехватки памяти в системном разделе. И теперь было много жалоб от пользователей, получающих ошибки TWRP Error 1. Если вы также столкнулись с этой проблемой, не волнуйтесь. В этом руководстве будут перечислены два разных метода, чтобы исправить эту ошибку TWRP 1 раз и навсегда. Следуйте вместе.

Причина ошибки TWRP 1

Причина этой проблемы связана с поврежденным файлом boot.img. Ну, мы говорим не о стандартном файле загрузочного образа, а об исправленном загрузочном файле img, который мы используем для рутирования. Для тех, кто не знает, существует два разных метода рутирования любого устройства. В первом вы можете напрямую прошить файл установщика Magisk ZIP через TWRP, и ваше устройство будет рутировано. Следующий метод требует получения стандартного файла boot.img, исправления его через Magisk, а затем прошивки с помощью команд Fastboot.

Однако есть важный момент, о котором стоит помнить. Вам придется использовать тот же файл boot.img из прошивки, которая соответствует текущей прошивке, установленной на вашем устройстве. Любое несоответствие в версии приведет к конфликтной ситуации и может привести к нескольким проблемам, одна из которых — ошибка TWRP 1. Итак, как это можно исправить? Что ж, вам нужно будет исправить и прошить правильный файл boot.img, и он исправит ошибку TWRP 1. Вот все необходимые инструкции для того же.

Как исправить ошибку TWRP 1

Итак, вот как будет проходить весь процесс. Во-первых, мы будем прошивать стандартный файл boot.img на ваше устройство. Это удалит рут с вашего устройства (если вы уже рутированы). Как только это будет сделано, мы возьмем этот стандартный файл boot.img, исправим его через Magisk и прошьем его с помощью команд Fastboot. Droidwin и его участники не будут нести ответственность в случае термоядерной войны, если ваш будильник не разбудит вас, или если что-то случится с вашим устройством и данными, выполнив следующие шаги.

ШАГ 1: Загрузите стоковый загрузочный IMG

В первую очередь вам понадобится стандартный файл boot.img, соответствующий версии прошивки, установленной на вашем устройстве. Вы можете проверить текущий номер сборки прошивки в разделе «О телефоне». После того, как вы проверили то же самое, загрузите соответствующий файл прошивки (стандартный или пользовательский ПЗУ, в зависимости от того, что установлено в данный момент).

Теперь, если у вас есть устройство Pixel, вы можете легко извлечь прошивку через WinZIP или WinRAR. Но это не относится к другим устройствам. В случае OnePlus файлы образов разделов помещаются внутрь payload.bin. В то время как Oppo и Realme имеют свои файлы внутри пакета OZIP, поэтому для этой цели вам понадобятся автономные инструменты. В этом случае вы можете обратиться к нашему подробному руководству по ссылке ниже:

Получив стандартный файл boot.img, перейдите к следующему шагу, чтобы исправить ошибку TWRP 1.

ШАГ 2: Прошить стоковый файл Boot.img через TWRP

Следующий шаг в руководстве по исправлению ошибки TWRP 1 требует, чтобы вы установили стандартный файл boot.img на свое устройство. Хотя мы могли бы сделать это с помощью команд Fastboot, но поскольку TWRP уже установлен, давайте воспользуемся только этим подходом. Имейте в виду, что если ваше устройство рутировано, оно будет удалено при перепрошивке стандартного boot.img (не волнуйтесь, позже мы также повторно рутируем его).

  1. Для начала перенесите стоковый файл boot.img на свое устройство.
  2. Затем загрузите свое устройство в TWRP либо с помощью комбинаций аппаратных клавиш, либо с помощью adb восстановление перезагрузки команда.
  3. Теперь перейдите в раздел «Установить» и нажмите кнопку «Установить образ», расположенную в правом нижнем углу.
  4. Перейдите к стандартному файлу boot.img и выберите его.
  5. Затем выберите «Загрузка» на экране выбора раздела и проведите пальцем вправо, чтобы прошить его.
  6. После этого перейдите в «Перезагрузить» и выберите «Система». Ваше устройство будет загружено в ОС. Теперь перейдите к следующему шагу, чтобы исправить ошибку TWRP 1.

ШАГ 3: Патч Boot.img через Magisk

В этом разделе мы будем исправлять стандартный файл boot.img через Magisk. Это даст нам файл magisk_patched.img, который затем будет прошит на вашем устройстве. Поэтому выполните следующие шаги, чтобы выполнить эту задачу. Убедитесь, что стоковый файл boot.img перенесен на ваше устройство. [Having trouble on your Android 11 device? Check out this guide: Fix Magisk patched boot.img issue while Rooting Android 11]

  1. Прежде всего, установите приложение Magisk Manager на свое устройство.
  2. Затем запустите его и нажмите кнопку «Установить», расположенную рядом с Magisk.
  3. В разделе «Метод» выберите «Выбрать и исправить файл».
  4. Найдите извлеченный файл boot.img и выберите его.
  5. Затем нажмите на опцию «Поехали», расположенную в правом верхнем углу.
  6. Теперь Magisk загрузит файл boot.img и соответствующим образом исправит его. Как только это будет сделано, вы получите сообщение «Загрузка завершена».
  7. Файл исправленного загрузочного образа будет сохранен во внутренней памяти > Загрузки. Имя файла будет magisk_patched.img. Теперь мы будем использовать этот файл для исправления ошибки TWRP 1. Следуйте инструкциям.

ШАГ 4: Прошить пропатченный Boot.img через TWRP

Наконец, вам просто нужно прошить этот пропатченный файл boot.img на ваше устройство. Опять же, для одного и того же есть два разных подхода, но, поскольку TWRP — более простой метод, чем команды Fastboot, мы будем использовать только этот метод. Убедитесь, что на вашем устройстве есть файл magisk_patched.img:

  1. Прежде всего, загрузите свое устройство в TWRP Recovery.
  2. Затем перейдите в раздел «Установить» и нажмите кнопку «Установить образ», расположенную в правом нижнем углу.
  3. Найдите файл magisk_patched.img и выберите его.
  4. Затем выберите в меню загрузочный раздел и проведите пальцем вправо, чтобы прошить его.
  5. После этого вы можете перезагрузить свое устройство до «рутированной ОС», выбрав «Перезагрузка»> «Система».

Вот и все. Процесс завершен. На этом мы завершаем руководство о том, как исправить ошибку TWRP 1. Если у вас все еще есть какие-либо вопросы относительно вышеупомянутых шагов, сообщите нам об этом в комментариях. Мы вернемся к вам с решением в ближайшее время.

Источник

How to Fix TWRP Error 1 on any Android Device

In this guide, we will show you the steps to fix TWRP Error 1 on any Android device. When it comes to stepping into custom development, there are a plethora of tweaks and customizations that tech enthusiasts prefer. And replacing the device’s stock recovery with a custom one is right there at the top. But why do users install a custom recovery when there’s already an in-built recovery present? Well, the reason is that the stock recovery isn’t built to support any custom tweaks whatsoever.

At the very most, you could wipe off the data, reboot your device to Fastboot, or in some instances, perform the ADB sideload functionality. But that’s it. You cannot flash ZIP or IMG files, erase data partition, create and restore a backup of various device partitions, etc. Hence the need for a custom recovery becomes all the more important. And as of now, TWRP is the sole recovery ruling the charts. While there are others as well, but they are build using the TWRP’s source code.

However, this recovery isn’t free from its fair share of issues. For example, you might get TWRP Error 7 while flashing custom ROMs or TWRP Error 20 after flashing GApps. Then there are instances of users facing TWRP Error 70 due to insufficient storage in the System partition. And now, there have been numerous complaints from users getting bugged with the TWRP Error 1. If you are also facing this issue, then fret not. This guide will list out two different methods to fix this TWRP Error 1 once and for all. Follow along.

Table of Contents

The Reason for TWRP Error 1

The reason for this issue is due to the corrupt boot.img file. Well, we aren’t talking about the stock boot image file, rather it’s the patched boot img file that we use for rooting purposes. For the unawares, there exist two different methods to root any device. In the first one, you could directly flash the Magisk ZIP Installer file via TWRP and your device stands rooted. The next method requires getting the stock boot.img file, patching it via Magisk and then flashing it via Fastboot commands.

However, there is an important point worth keeping in mind. You will have to use the same boot.img file from the firmware that corresponds to the current firmware installed on your device. Any mismatch in the version would lead to a conflicting situation and could lead to a few issues, one of which is TWRP Error 1. So how could this be rectified? Well, you would have to patch and flash the correct boot.img file and it will fix the TWRP Error 1. Here are all the required instructions for the same.

How to Fix TWRP Error 1

So here’s how the entire process will be carried out. First off, we will be flashing the stock boot.img file onto your device. This will remove the root from your device (if you are already rooted). Once that is done, we will take this stock boot.img file, patch it via Magisk, and flash it via Fastboot Commands. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

STEP 1: Download Stock Boot IMG

First and foremost, you will need the stock boot.img file corresponding to the firmware version installed on your device. You could check the current firmware build number from the About Phone section. Once you have verified the same, download the corresponding firmware file (stock or custom ROM whichever is currently installed).

Now if you are having a Pixel device, then you could easily extract the firmware via WinZIP or WinRAR. But that isn’t the case with other devices. In the case of OnePlus, the partition image files are placed inside payload.bin. Whereas Oppo and Realme have their files inside the OZIP package, so you would need standalone tools for this purpose. In this scenario, you may refer to our detailed guide linked below:

Once you have got hold of the stock boot.img file, proceed to the next step to fix the TWRP Error 1.

STEP 2: Flash Stock Boot.img file via TWRP

The next step in the guide to fix the TWRP Error 1 requires you to install the stock boot.img file onto your device. While we could do so via Fastboot Commands, but since TWRP is already installed, let’s take this approach only. Do keep in mind that if your device is rooted, then it will be unrooted on flashing the stock boot.img (don’t worry we will re-root it later on as well).

  1. To begin with, transfer the stock boot.img file to your device.
  2. Then boot your device to TWRP, either via hardware key combinations or by using the adb reboot recovery command.
  3. Now go to the Install section and tap on the Install Image button situated at the bottom right.
  4. Navigate to the stock boot.img file and select it.
  5. Then select Boot from the partition selection screen and perform a right swipe to flash it.
  6. Once done, go to Reboot and select System. Your device will be booted to the OS. Now move over to the next step to fix the TWRP Error 1.

STEP 3: Patch Stock Boot.img via Magisk

In this section, we will be patching the stock boot.img file via Magisk. This will give us the magisk_patched.img file which will then be flashed onto your device. So follow the below steps to carry out this task. Make sure that the stock boot.img file is transferred to your device. [Having trouble on your Android 11 device? Check out this guide: Fix Magisk patched boot.img issue while Rooting Android 11]

  1. First and foremost, install the Magisk Manager app on your device.
  2. Then launch it and tap on the Install button situated next to Magisk.
  3. From the Method section, choose Select and Patch a file.
  4. Browse to the extracted boot.img file and select it.
  5. Then tap on the Let’s Go option situated at the top right.
  6. Magisk will now load the boot.img file and will patch it accordingly. Once that is done, you would get the Download Complete message.
  7. The patched boot image file will be saved in Internal Storage > Downloads. The name of the file will be magisk_patched.img. We will now use this file to fix the TWRP Error 1. Follow along.

STEP 4: Flash Patched Boot.img via TWRP

Finally, you just need to flash this patched boot.img file to your device. Again, there are two different approaches for the same, but since TWRP is the easier method than compared with Fastboot Commands, we will be using this method only. Make sure that you have the magisk_patched.img on your device:

  1. First off, boot your device to TWRP Recovery.
  2. Then go to the Install section and tap on the Install Image button situated at the bottom right.
  3. Browse to the magisk_patched.img file and select it.
  4. Then select the Boot partition from the menu and perform a right swipe to flash it.
  5. Once done, you may now reboot your device to the ‘rooted OS’ by going to Reboot > System.

That’s it. The process stands complete. With this, we conclude the guide on how to fix TWRP Error 1. If you still have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.

About Chief Editor

Sadique Hassan

A technical geek by birth, he always has a keen interest in the Android platform right since the birth of the HTC Dream. The open-source environment always seems to intrigue him with the plethora of options available at his fingertips. “MBA by profession, blogger by choice!”

Источник

В этом руководстве мы покажем вам, как исправить ошибку TWRP 1 на любом устройстве Android. Когда дело доходит до пользовательской разработки, существует множество настроек и настроек, которые предпочитают технические энтузиасты. И замена стокового рекавери устройства на кастомное тут же вверху. Но почему пользователи устанавливают кастомное рекавери, если уже есть встроенное рекавери? Ну, причина в том, что стоковое рекавери не поддерживает какие-либо пользовательские настройки.

В лучшем случае вы можете стереть данные, перезагрузить устройство в Fastboot или, в некоторых случаях, выполнить функцию боковой загрузки ADB. Но это все. Вы не можете прошивать файлы ZIP или IMG, стирать раздел данных, создавать и восстанавливать резервную копию различных разделов устройства и т. д. Следовательно, потребность в пользовательском восстановлении становится все более важной. И на данный момент TWRP является единственным восстановлением, управляющим диаграммами. Хотя есть и другие, но они собираются с использованием исходного кода TWRP.

Однако это восстановление не лишено множества проблем. Например, вы можете получить TWRP Error 7 при прошивке пользовательских ПЗУ или TWRP Error 20 после прошивки GApps. Кроме того, есть случаи, когда пользователи сталкиваются с ошибкой TWRP 70 из-за нехватки памяти в системном разделе. И теперь было много жалоб от пользователей, получающих ошибки TWRP Error 1. Если вы также столкнулись с этой проблемой, не волнуйтесь. В этом руководстве будут перечислены два разных метода, чтобы исправить эту ошибку TWRP 1 раз и навсегда. Следуйте вместе.

Причина этой проблемы связана с поврежденным файлом boot.img. Ну, мы говорим не о стандартном файле загрузочного образа, а об исправленном загрузочном файле img, который мы используем для рутирования. Для тех, кто не знает, существует два разных метода рутирования любого устройства. В первом вы можете напрямую прошить файл установщика Magisk ZIP через TWRP, и ваше устройство будет рутировано. Следующий метод требует получения стандартного файла boot.img, исправления его через Magisk, а затем прошивки с помощью команд Fastboot.

тврп ошибка 1

Однако есть важный момент, о котором стоит помнить. Вам придется использовать тот же файл boot.img из прошивки, которая соответствует текущей прошивке, установленной на вашем устройстве. Любое несоответствие в версии приведет к конфликтной ситуации и может привести к нескольким проблемам, одна из которых — ошибка TWRP 1. Итак, как это можно исправить? Что ж, вам нужно будет исправить и прошить правильный файл boot.img, и он исправит ошибку TWRP 1. Вот все необходимые инструкции для того же.

Как исправить ошибку TWRP 1

Итак, вот как будет проходить весь процесс. Во-первых, мы будем прошивать стандартный файл boot.img на ваше устройство. Это удалит рут с вашего устройства (если вы уже рутированы). Как только это будет сделано, мы возьмем этот стандартный файл boot.img, исправим его через Magisk и прошьем его с помощью команд Fastboot. Droidwin и его участники не будут нести ответственность в случае термоядерной войны, если ваш будильник не разбудит вас, или если что-то случится с вашим устройством и данными, выполнив следующие шаги.

ШАГ 1: Загрузите стоковый загрузочный IMG

В первую очередь вам понадобится стандартный файл boot.img, соответствующий версии прошивки, установленной на вашем устройстве. Вы можете проверить текущий номер сборки прошивки в разделе «О телефоне». После того, как вы проверили то же самое, загрузите соответствующий файл прошивки (стандартный или пользовательский ПЗУ, в зависимости от того, что установлено в данный момент).

сток пикселя 5 boot.img

Теперь, если у вас есть устройство Pixel, вы можете легко извлечь прошивку через WinZIP или WinRAR. Но это не относится к другим устройствам. В случае OnePlus файлы образов разделов помещаются внутрь payload.bin. В то время как Oppo и Realme имеют свои файлы внутри пакета OZIP, поэтому для этой цели вам понадобятся автономные инструменты. В этом случае вы можете обратиться к нашему подробному руководству по ссылке ниже:

Получив стандартный файл boot.img, перейдите к следующему шагу, чтобы исправить ошибку TWRP 1.

ШАГ 2: Прошить стоковый файл Boot.img через TWRP

Следующий шаг в руководстве по исправлению ошибки TWRP 1 требует, чтобы вы установили стандартный файл boot.img на свое устройство. Хотя мы могли бы сделать это с помощью команд Fastboot, но поскольку TWRP уже установлен, давайте воспользуемся только этим подходом. Имейте в виду, что если ваше устройство рутировано, оно будет удалено при перепрошивке стандартного boot.img (не волнуйтесь, позже мы также повторно рутируем его).

установить boot.img twrp исправить ошибку 1

  1. Для начала перенесите стоковый файл boot.img на свое устройство.
  2. Затем загрузите свое устройство в TWRP либо с помощью комбинаций аппаратных клавиш, либо с помощью adb восстановление перезагрузки команда.
  3. Теперь перейдите в раздел «Установить» и нажмите кнопку «Установить образ», расположенную в правом нижнем углу.
  4. Перейдите к стандартному файлу boot.img и выберите его.
  5. Затем выберите «Загрузка» на экране выбора раздела и проведите пальцем вправо, чтобы прошить его.
  6. После этого перейдите в «Перезагрузить» и выберите «Система». Ваше устройство будет загружено в ОС. Теперь перейдите к следующему шагу, чтобы исправить ошибку TWRP 1.

ШАГ 3: Патч Boot.img через Magisk

В этом разделе мы будем исправлять стандартный файл boot.img через Magisk. Это даст нам файл magisk_patched.img, который затем будет прошит на вашем устройстве. Поэтому выполните следующие шаги, чтобы выполнить эту задачу. Убедитесь, что стоковый файл boot.img перенесен на ваше устройство. [Having trouble on your Android 11 device? Check out this guide: Fix Magisk patched boot.img issue while Rooting Android 11]

  1. Прежде всего, установите приложение Magisk Manager на свое устройство.
  2. Затем запустите его и нажмите кнопку «Установить», расположенную рядом с Magisk.
  3. В разделе «Метод» выберите «Выбрать и исправить файл».
    Патч-сток-boot.img-magisk-fix-twrp-ошибка-1
  4. Найдите извлеченный файл boot.img и выберите его.
  5. Затем нажмите на опцию «Поехали», расположенную в правом верхнем углу.
  6. Теперь Magisk загрузит файл boot.img и соответствующим образом исправит его. Как только это будет сделано, вы получите сообщение «Загрузка завершена».
    Magisk-исправленное-загрузочное-образ-исправление-twrp-ошибка-1
  7. Файл исправленного загрузочного образа будет сохранен во внутренней памяти > Загрузки. Имя файла будет magisk_patched.img. Теперь мы будем использовать этот файл для исправления ошибки TWRP 1. Следуйте инструкциям.

ШАГ 4: Прошить пропатченный Boot.img через TWRP

Наконец, вам просто нужно прошить этот пропатченный файл boot.img на ваше устройство. Опять же, для одного и того же есть два разных подхода, но, поскольку TWRP — более простой метод, чем команды Fastboot, мы будем использовать только этот метод. Убедитесь, что на вашем устройстве есть файл magisk_patched.img:

установить пропатченный Magisk twrp исправить ошибку 1

  1. Прежде всего, загрузите свое устройство в TWRP Recovery.
  2. Затем перейдите в раздел «Установить» и нажмите кнопку «Установить образ», расположенную в правом нижнем углу.
  3. Найдите файл magisk_patched.img и выберите его.
  4. Затем выберите в меню загрузочный раздел и проведите пальцем вправо, чтобы прошить его.
  5. После этого вы можете перезагрузить свое устройство до «рутированной ОС», выбрав «Перезагрузка»> «Система».

Вот и все. Процесс завершен. На этом мы завершаем руководство о том, как исправить ошибку TWRP 1. Если у вас все еще есть какие-либо вопросы относительно вышеупомянутых шагов, сообщите нам об этом в комментариях. Мы вернемся к вам с решением в ближайшее время.

In this guide, we will show you the steps to fix TWRP Error 1 on any Android device. When it comes to stepping into custom development, there are a plethora of tweaks and customizations that tech enthusiasts prefer. And replacing the device’s stock recovery with a custom one is right there at the top. But why do users install a custom recovery when there’s already an in-built recovery present? Well, the reason is that the stock recovery isn’t built to support any custom tweaks whatsoever.

At the very most, you could wipe off the data, reboot your device to Fastboot, or in some instances, perform the ADB sideload functionality. But that’s it. You cannot flash ZIP or IMG files, erase data partition, create and restore a backup of various device partitions, etc. Hence the need for a custom recovery becomes all the more important. And as of now, TWRP is the sole recovery ruling the charts. While there are others as well, but they are build using the TWRP’s source code.

However, this recovery isn’t free from its fair share of issues. For example, you might get TWRP Error 7 while flashing custom ROMs or TWRP Error 20 after flashing GApps. Then there are instances of users facing TWRP Error 70 due to insufficient storage in the System partition. And now, there have been numerous complaints from users getting bugged with the TWRP Error 1. If you are also facing this issue, then fret not. This guide will list out two different methods to fix this TWRP Error 1 once and for all. Follow along.

The Reason for TWRP Error 1

The reason for this issue is due to the corrupt boot.img file. Well, we aren’t talking about the stock boot image file, rather it’s the patched boot img file that we use for rooting purposes. For the unawares, there exist two different methods to root any device. In the first one, you could directly flash the Magisk ZIP Installer file via TWRP and your device stands rooted. The next method requires getting the stock boot.img file, patching it via Magisk and then flashing it via Fastboot commands.

twrp error 1

However, there is an important point worth keeping in mind. You will have to use the same boot.img file from the firmware that corresponds to the current firmware installed on your device. Any mismatch in the version would lead to a conflicting situation and could lead to a few issues, one of which is TWRP Error 1. So how could this be rectified? Well, you would have to patch and flash the correct boot.img file and it will fix the TWRP Error 1. Here are all the required instructions for the same.

So here’s how the entire process will be carried out. First off, we will be flashing the stock boot.img file onto your device. This will remove the root from your device (if you are already rooted). Once that is done, we will take this stock boot.img file, patch it via Magisk, and flash it via Fastboot Commands. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.

STEP 1: Download Stock Boot IMG

First and foremost, you will need the stock boot.img file corresponding to the firmware version installed on your device. You could check the current firmware build number from the About Phone section. Once you have verified the same, download the corresponding firmware file (stock or custom ROM whichever is currently installed).

pixel 5 stock boot.img

Now if you are having a Pixel device, then you could easily extract the firmware via WinZIP or WinRAR. But that isn’t the case with other devices. In the case of OnePlus, the partition image files are placed inside payload.bin. Whereas Oppo and Realme have their files inside the OZIP package, so you would need standalone tools for this purpose. In this scenario, you may refer to our detailed guide linked below:

  • How to Extract payload.bin and get the stock boot image file
  • How to Extract OZIP Realme Stock ROM (Firmware)

Once you have got hold of the stock boot.img file, proceed to the next step to fix the TWRP Error 1.

STEP 2: Flash Stock Boot.img file via TWRP

The next step in the guide to fix the TWRP Error 1 requires you to install the stock boot.img file onto your device. While we could do so via Fastboot Commands, but since TWRP is already installed, let’s take this approach only. Do keep in mind that if your device is rooted, then it will be unrooted on flashing the stock boot.img (don’t worry we will re-root it later on as well).

install boot.img twrp fix error 1

  1. To begin with, transfer the stock boot.img file to your device.
  2. Then boot your device to TWRP, either via hardware key combinations or by using the adb reboot recovery command.
  3. Now go to the Install section and tap on the Install Image button situated at the bottom right.
  4. Navigate to the stock boot.img file and select it.
  5. Then select Boot from the partition selection screen and perform a right swipe to flash it.
  6. Once done, go to Reboot and select System. Your device will be booted to the OS. Now move over to the next step to fix the TWRP Error 1.

STEP 3: Patch Stock Boot.img via Magisk

In this section, we will be patching the stock boot.img file via Magisk. This will give us the magisk_patched.img file which will then be flashed onto your device. So follow the below steps to carry out this task. Make sure that the stock boot.img file is transferred to your device. [Having trouble on your Android 11 device? Check out this guide: Fix Magisk patched boot.img issue while Rooting Android 11]

  1. First and foremost, install the Magisk Manager app on your device.
  2. Then launch it and tap on the Install button situated next to Magisk.
  3. From the Method section, choose Select and Patch a file.
    patch-stock-boot.img-magisk-fix-twrp-error-1
  4. Browse to the extracted boot.img file and select it.
  5. Then tap on the Let’s Go option situated at the top right.
  6. Magisk will now load the boot.img file and will patch it accordingly. Once that is done, you would get the Download Complete message.
    magisk-patched-boot-image-fix-twrp-error-1
  7. The patched boot image file will be saved in Internal Storage > Downloads. The name of the file will be magisk_patched.img. We will now use this file to fix the TWRP Error 1. Follow along.

STEP 4: Flash Patched Boot.img via TWRP

Finally, you just need to flash this patched boot.img file to your device. Again, there are two different approaches for the same, but since TWRP is the easier method than compared with Fastboot Commands, we will be using this method only. Make sure that you have the magisk_patched.img on your device:

install magisk patched twrp fix error 1

  1. First off, boot your device to TWRP Recovery.
  2. Then go to the Install section and tap on the Install Image button situated at the bottom right.
  3. Browse to the magisk_patched.img file and select it.
  4. Then select the Boot partition from the menu and perform a right swipe to flash it.
  5. Once done, you may now reboot your device to the ‘rooted OS’ by going to Reboot > System.

That’s it. The process stands complete. With this, we conclude the guide on how to fix TWRP Error 1. If you still have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.

About Chief Editor

Sadique Hassan

administrator

A technical geek by birth, he always has a keen interest in the Android platform right since the birth of the HTC Dream. The open-source environment always seems to intrigue him with the plethora of options available at his fingertips. “MBA by profession, blogger by choice!”

  1. Yesi Trotamundos



    Thread Starter

    Hey guys, hoping someone can save me from having to buy a new phone. I either need to fix it quickly or replace it quickly cause my job depends on having one.

    I have a Moto 9 g plus.

    I wanted to root my phone for a long time and today I decided to try since the Android 11 update ****ed up the camera on my phone anyway.

    I followed this guide here
    [​IMG]
    Root Motorola Moto G9 Plus Android 10 using TWRP and Install Magisk
    When you have Stock Android on your mobile, You are almost free from bloatware apps. Even if your manufacturer put some apps, You can get rid of them in
    [​IMG] www.androidinfotech.com

    Everything seemed to be going well except that I couldn’t get magisk to install, I kept getting errors in twrp.

    I ended up installing the apk for magisk and used it to modify the boot file. I installed the image in twrp and on reboot, it went into a boot loop. I could go back to trwp and after swiping to factory reset, it broke the loop when I restart the phone. The problem is that now it just goes straight to the menu that you normally need to press and hold down and power to go to. I never did get to confirm if my phone was successfully rooted or not, I’m guessing no, and that that is the main problem now, as the phone won’t boot up to where I can use apps, and if it isn’t rooted, from what I understand, I can’t install another rom?

    Also, whenever I’m finished with twrp, when I press to reset it says something like «Phone no longer has OS, are you sure you want to reboot?». I read it is from wiping the data or factory reset, but I didn’t actually wipe any internal memory, I can still view all files on it and on my sd card.

    Maybe you guys can confirm my suspicions that I just ****ed up my phone for good or not.

    This is what the error says when I attempted to install a rom, I tried with lineage and arrowos and I don’t believe the problem is with the roms.

    E:unable to update logical partion: /system_root
    E:unable to update logical partion: /vendor
    E:unable to update logical partion: /product
    Failed to mount ‘/system_root’ (Invalid argument)
    Failed to mount ‘/vendor’ (Invalid argument)
    E:Unable to open /system_root/system/apex
    E:Unable to load apex images from /system_root/
    system/apex
    MTP Enabled
    Failed to mount ‘/system_root’ (Invalid argument)
    Installing zip file ‘/external_sd/Arrow-v12.0-odessa
    -UNOFFICIAL-20211013-gapps.zip’
    Flashing A/B zip to inactive slot: A
    Failed to mount ‘/system_root’ (Invalid argument)
    Failed to mount ‘/vendor’ (Invalid argument)
    Step 1/2
    Error applying update : 7 (ErrorCode::
    kInstallDeviceOpenError)
    Updater process ended with ERROR: 1
    To flash addition zips, please reboot recovery to
    switch to the updated slot.
    Error installing zip file ‘/external_sd/Arrow-v12.0-odessa
    -UNOFFICIAL-20211013-gapps.zip’
    Updating partition details . . .
    . . . done

    If I try to install magisk.zip it gives this error

    Failed to mount ‘/system_root’ (Invalid argument)
    Installing zip file ‘/external_sd/Magisk-23.0.zip
    Checking for Digest file . . .
    Unmounting System . . .
    ********************************
    Magisk 23.0 Installer
    ********************************
    — Current boot slot: b
    ! Cannot mount /system
    — Unmounting partitions
    Updater process ended with ERROR: 1
    Error installing zip file ‘external_sd/Magisk-v23.0.zip
    Updating partition details . . .
    . . . done

    Thanks to anyone to offers any suggestions, this is my first time attempting this, so don’t assume I know anything, I just step by step tutorials and usually don’t have problems like this.


    1. Download the Forums for Android™ app!

      Download

  2. svim

    svim

    Extreme Android User

    Try flashing your phone with a stock ROM and see if that gets your phone back into working condition again:
    https://motostockrom.com/motorola-moto-g9-plus-xt2087-1
    The link above is for a specific variant of your Moto G9 Plus model so if you have a different variant it’s just for reference. It’s important to only use ROMs that are specific to your particular model, they are not interchangeable. Which may indicate the why your phone is stuck in a boot loop and all. Using an incorrect ROM that doesn’t match your phone will result in an Android install that’s by design meant to work on a different model. When there’s no working operating system, the phone can’t boot up normally. Looking on both the Lineage and Arrow sites, neither appears to support the Moto G9 Plus so could you provide links to the download sites you used?
    https://download.lineageos.org/

    https://arrowos.net/download
    If you did just use the incorrect ROM to flash your phone, try using the correct, matching stock ROM instead. If you’re lucky, you’ve only soft-bricked your device and flashing a stock ROM will return it to working condition. If you’re hard-bricked it though, that’s a pretty serious problem.

    That author of that article you posted on rooting your model did make it clear that you should only root your device for specific reasons and that backups are vital. I’d suggest since you do need to have a working phone for work purposes that you never root nor try to install custom ROMs on that phone. There’s just too much chance a problem will occur. Experiment and teach yourself using a secondary, extra phone. Don’t do this with your primary, daily usage phone.

  3. Yesi Trotamundos



    Thread Starter

  4. Yesi Trotamundos



    Thread Starter

    So I installed the stock rom, the installation seemed to go normal on the computer end, but on reboot, it is stuck in boot loop. If I press down and power I can still go to the fastboot menu and to twrp. If I reboot from twrp, it still says «No OS Installed! Are you sure you want to reboot?»

    Any suggestions?

  5. when you flashed the rom, did you wipe? you need to always make a nandroid backup before doing anything. as long as you have recovery you should be fine. just wipe appropriately and reflash the rom.. once you have the rom working you can then make a nandroid backup first and i would save that backup o=not only on your sd card, but keep a copy somewhere else like your computer or external hard drive.

  6. Yesi Trotamundos



    Thread Starter

    The wipe wouldn’t work because of mounting errors, but I saw a video before about changing the file type to ext 2 and then back to ext 4 and it solved the mounting errors and I was able to wipe properly.

    Flashing the stock rom worked this time, and I was able to successfully install magisk and verify root. The only problem I have now is that when the phone tries to install the first security update, but I know that is normal for a rooted device, so I am going to post about that separately.

    So we can close this conversation, the main problem has been solved.

    Thanks to both of you for your time and help, very much appreciated!!

  7. svim

    svim

    Extreme Android User

    You’ll have much better luck using just the stock Android operating system if you also want to continue relying upon the stock OTA security updates. Once you root your device than using OTA updates involves more risk, and when your phone is running a custom OS you should avoid OTA updates (you update your system when the custom ROM developer releases them, if they do.)
    The entire Android upgrade/update process is based on very convoluted, complicated interactions between Google developers and phone manufacturers, made worse by carriers being involved too. But it’s all tied to the assumption the Android OS is altered only through themselves. Once you root and/or use a custom ROM, that changes the entire relationship — at that point, the responsibility for maintenance is all yours now.

  • android
  • errors
  • magisk
  • moto g9 plus
  • no os
  • root
  • twrp

Share This Page


[FIX] Magisk Install Error 1 In TWRP Recovery 100 % Working

A lot of android users have ran into this issue at some point or another, including myself. You went to flash the latest Magisk.zip and TWRP reports error 1. its very freustrating issue that must be solved well i have found a solution for that

1. Flash STOCK BOOT.IMG

  1. Locate a Stock BOOT.img file for your device/rom. This can usually be found in ROM zip file or your TWRP backups.i Am Using Aosp Exteded Rom Download Here
  2. Copy and flash  your BOOT.img with either fastboot / TWRP / App.

       Fastboot method:

  1. Boot your phone into bootloader mode with adb command “adb reboot bootloader”
  2. Issue the fastboot command “fastboot flash boot boot.img”
  3. Reboot back into android “fastboot reboot”

      TWRP:

  1. Place your BOOT.img on your sdcard
  2. Reboot into TWRP recovery
  3. Tap “Install”
  4. In the bottom right corner tap “Install Image”
  5. Select your BOOT.img
  6. Select the Boot Partition, then swipe to confirm Flash

      App (Flashify):

  1. Download Flashify
  2. Install and open app
  3. Grant Root permissions
  4. Select “Boot Image” from main page
  5. Find and select your Boot.img
  6. Confirm the Flash

din’t work ?  try this 

 Flash the UnSU.zip and magiskuninstaller.zip

Sometimes Magisk simply will not flash because SuperSu and or an old version of Magisk is already installed.

unSuZip:-Download

or

Manually delete Magisk files from /data

  • Connect your phone to your PC and open an ADB SHELL. You will need root to do this as well as the following steps. If your device isn’t rooted yet then simply reboot into your custom recovery of choice to do the following commands.
  • Change directories to /data
  • Use the command “rm” to remove ALL Magisk related files in the root of /data. EXAMPLE: “rm -r magisk” “rm magisk.img” “rm magisk_debug.log”
  • reboot your phone for good measure then try installing Magisk again

Nesh

Hi My Name is Nesh
I have passion in cinematography, And I use it to create engaging youtube videos for My youtube channel Game of Roms.
I make Phone Reviews, Tips & Tricks and Android Rom Videos.

Понравилась статья? Поделить с друзьями:
  • Update your game at https update zozo gg как исправить
  • Update your device before connecting xiaomi как исправить
  • Update wizard код ошибки 11 не удалось открыть порт
  • Update wizard код ошибки 10 порт не найден
  • Update server responded with error