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
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
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
.
Not the answer you’re looking for? Browse other questions tagged
.
Loading
-
#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