Ошибка e3004 twrp

Hey I don’t know if this is the right forum to ask this question, but I’m trying to update to a newer xiaomi .eu rom on my Xiaomi Mi 9 SE.

I originally put the zip file on my phone and then went to update > choose file manually and it just straight up took me to TWRP recovery, but when I tried to install it just gave me this error: «E30004: This package is for «grus» devices; this is a «».» . As you can see my phone apparently doesn’t have a code name??

after extracting the zip file on my PC and looking thru the files in …\META-INF\com\google\android I noticed that the first line in the ‘updater-script’ file was literally the check that gave me the error ( getprop(«ro.product.device») == «grus» || abort(«E3004: This package is for \»grus\» devices; this is a \»» + getprop(«ro.product.device») + «\».»); ) so in a high iq move I decided to change the == to a != and compress to a zip file again but unfortunately that just gave me a » Invalid zip file format! Error installing zip file» error.

Any clues on how to go about this?

EDIT: for future people looking at this post I FOUND THE SOLUTION! just go to main menu in TWRP > Advanced > Terminal, and write the following lines in there:

setprop ro.product.device grus

setprop ro.build.product grus

and now flash as usual. THATS IT.

TWRP: «E30004: This package is for «grus» devices; this is a «». »

Hey I don’t know if this is the right forum to ask this question, but I’m trying to update to a newer xiaomi .eu rom on my Xiaomi Mi 9 SE.

I originally put the zip file on my phone and then went to update > choose file manually and it just straight up took me to TWRP recovery, but when I tried to install it just gave me this error: «E30004: This package is for «grus» devices; this is a «».» . As you can see my phone apparently doesn’t have a code name??

after extracting the zip file on my PC and looking thru the files in …META-INFcomgoogleandroid I noticed that the first line in the ‘updater-script’ file was literally the check that gave me the error ( getprop(«ro.product.device») == «grus» || abort(«E3004: This package is for «grus» devices; this is a «» + getprop(«ro.product.device») + «».»); ) so in a high iq move I decided to change the == to a != and compress to a zip file again but unfortunately that just gave me a » Invalid zip file format! Error installing zip file» error.

Any clues on how to go about this?

EDIT: for future people looking at this post I FOUND THE SOLUTION! just go to main menu in TWRP > Advanced > Terminal, and write the following lines in there:

setprop ro.product.device grus

setprop ro.build.product grus

and now flash as usual. THATS IT.

2018-05-18 ::

#Note 
#Android 
#CustomROM 
#LineageOS 
#TWRP 

I have recently installed LineageOS custom ROM on my OnePlus2 device to keep on trying new android versions as they come. While installing/updating the OS, I was getting below error on TWRP recovery screen.

script aborted: E3004: This package is for device: OnePlus2,oneplus2; this device is .

To fix this, I updated to the lastest version of TWRP for OnePlus2.

I’m trying upgrade a Samsung Galaxy Tab S2 9.7 Wi-Fi (2016) AKA gts210vewifi from a LineageOS 18 April 2017 to a 30 July 2018 build, but it fails printing this in TWRP:

E3004: This package is for device: gts210vewifi; this device is .

What does this apparently broken error message mean? — Someone suggested that perhaps I «need to upgrade the firmware».. how would I need which version this new build requires?

asked Aug 1, 2018 at 12:24

vorburger's user avatar

OK, so this means that you have an outdated version of TWRP which, apparently, does not correctly report the device model name (it’s empty). —
Updating TWRP from 3.1.0-0 to latest is 3.2.2-0 solved this problem!

answered Aug 1, 2018 at 12:54

vorburger's user avatar

vorburgervorburger

2012 silver badges6 bronze badges

You must log in to answer this question.

Not the answer you’re looking for? Browse other questions tagged

.

  • #1

Hi. I’m new here.
I want to fix the error E3004 when I try to install the Xiaomi Redmi Note 8 ROM version. It says that the ROM is for Ginkgo and my device is made of willow, but it’s not true, I know that the code name of my mobile phone is Ginkgo. I’ve already tried the upgrade script, at first it installs it but when I reboot it the phone returns to the recovery. In case you want to know my model is the M1908C3JH. Sorry for my bad english.

  • #2

Hi, i have the same problem and i have the redmi note 8

28271

На чтение 4 мин. Опубликовано

Решили установить кастомную прошивку на свой Andro >

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

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

Содержание

  1. Откуда взялась ошибка 7?
  2. Как исправить Ошибку 7 при прошивке в Recovery?
  3. 1 Answer 1
  4. Comments
  5. Go >Nov 16, 2017
  6. This comment has been minimized.
  7. alvarobrey commented Nov 17, 2017
  8. This comment has been minimized.
  9. Go >Nov 17, 2017

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

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

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

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

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

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

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

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

Попробуйте отыскать в сети интернет более новую версию кастомного Recovery и после установить ее на свой девайс, после чего попробовать установить прошивку, что выдавала ранее ошибку 7.

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

У вас еще остались вопросы? Пишите их в комментариях, рассказывайте, что у вас получилось или наоборот!

Вот и все! Больше статей и инструкций читайте в разделе Статьи и Хаки Android. Оставайтесь вместе с сайтом Android +1, дальше будет еще интересней!

I’m trying upgrade a Samsung Galaxy Tab S2 9.7 Wi-Fi (2016) AKA gts210vewifi from a LineageOS 18 April 2017 to a 30 July 2018 build, but it fails printing this in TWRP:

What does this apparently broken error message mean? — Someone suggested that perhaps I «need to upgrade the firmware».. how would I need which version this new build requires?

1 Answer 1

OK, so this means that you have an outdated version of TWRP which, apparently, does not correctly report the device model name (it’s empty). — Updating TWRP from 3.1.0-0 to latest is 3.2.2-0 solved this problem!

Copy link Quote reply

Go >Nov 16, 2017

Hi, I have a Zuk Z2 Plus working right now with version: lineage-14.1-20170822-UNOFFICIAL-z2_plus.zip

My problem is I can’t install newer versions, the next one is 20170904 and the last one 20171014. I can’t install any of them and I got «Error 7» and the following message:

E3004: This package is for device z2_plus; this device is Z2

My device is Z2 Plus and I have a ROM for Z2 Plus working perfectly, does anyone know what is happening? Or have a similar problem?

Copy link Quote reply

You probably have an outdated or broken recovery. Flash the latest one (https://dl.twrp.me/z2_plus/) and try again.

Copy link Quote reply

Go >Nov 17, 2017

Álvaro, thank you very much, that was exactly my problem, I updated it and I could install the newest version. I had «TWRP Manager» app, I changed it for «Official TWRP App» and now is working!! Thank you again!!

#Note 
#Android 
#CustomROM 
#LineageOS 
#TWRP 

I have recently installed LineageOS custom ROM on my OnePlus2 device to keep on trying new android versions as they come. While installing/updating the OS, I was getting below error on TWRP recovery screen.

script aborted: E3004: This package is for device: OnePlus2,oneplus2; this device is .

To fix this, I updated to the lastest version of TWRP for OnePlus2.

  • #1

Hi. I’m new here.
I want to fix the error E3004 when I try to install the Xiaomi Redmi Note 8 ROM version. It says that the ROM is for Ginkgo and my device is made of willow, but it’s not true, I know that the code name of my mobile phone is Ginkgo. I’ve already tried the upgrade script, at first it installs it but when I reboot it the phone returns to the recovery. In case you want to know my model is the M1908C3JH. Sorry for my bad english.

  • #2

Hi, i have the same problem and i have the redmi note 8

28271

Понравилась статья? Поделить с друзьями:
  • Ошибка e30 стиральная машина zanussi fe1026n
  • Ошибка e30 стиральная машина hansa
  • Ошибка e22 стиральная машина electrolux
  • Ошибка e22 стиральная машина candy grand vita
  • Ошибка e22 на стиральной машине канди