Error E3004 when trying to install any ROM on Samsung J5 (2015) SM-500FN

Search This thread

torbengb

Member
Jan 4, 2013
7
0
What I have:
I have a Samsung J5 (2015) SM-500FN which ran out of storage and basically hung itself up. There is no data I want to recover, but I want to install either a stock ROM or (preferably) something else like Lineage - I just want to get a usable phone again.

My problem:

  1. I have tried to download *many* stock ROM
    s from reputable sources like SamMobile (for this specific phone, but trying different release dates and country codes) but every single one of those ZIPs is corrupt, even when downloading from a different computer.
  2. Flashing with ODIN anyway gives a FAIL result and a device that cannot boot, not even into recovery: It gives a green screen with the text: `An error has occurred while updating the device software. Use the Emergency recovery function in the Smart Switch PC software.`
  3. Ironically, the Smart Switch software just says this device is not supported. The older Kies3 software lets me enter the exact model# followed by the serial# - but then it says this device is not supported. So neither Samsung software is usable, but I can still use ODIN.
  4. Even with the phone in this broken state, I can install TWRP again. So it is not completely bricked. I boot into TWRP and copy a LineageOS ZIP file to /sdcard, but when I try to install that, the TRWP console says: `E3004: This package is for device j5nlte,j5nltexx; this device is .` Note how it doesn't appear to recognize that this device is indeed the model j5nlte!
  5. Android.SE says that "E3004" means my TWRP is too old, but I use `twrp-3.1.1-1-j5nlte` which is currently the newest version for this phone.
  6. I would also like to try a factory reset, but that requires the stock recovery which won't boot (see step 2 above).

My question: How do I get out of this catch-22?
It seems that if I could just get around that E3004 then I would be fine. But I have found no ways to trick the installer into ignoring that error.
 

garylawwd

Forum Moderator
Staff member
THANK YOU! This did the trick. May I ask: what is the origin of that TRWP image? How could I have found that on my own?
No problem at all, glad all is working for you now. Happens all the time with people having the wrong recovery its no big deal but a lesson learned is always make a backup in twrp before going tinckering around with things or keep a copy of a rom, that you know works, on your SD card.
From the bootleggers pie rom thread.
The Dev of that also builds his own twrp for all j5 2015 models.
he's a really great guy to have supporting our j5 community
 
  • Like
Reactions: charkafahim

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Flash an updated twrp .IMG file which you can extract from the file here j5nlte (TWRP)
    Just flash the img in twrp and reboot to recovery
    Then with the updated twrp try flashing the rom again
    1
    THANK YOU! This did the trick. May I ask: what is the origin of that TRWP image? How could I have found that on my own?
    No problem at all, glad all is working for you now. Happens all the time with people having the wrong recovery its no big deal but a lesson learned is always make a backup in twrp before going tinckering around with things or keep a copy of a rom, that you know works, on your SD card.
    From the bootleggers pie rom thread.
    The Dev of that also builds his own twrp for all j5 2015 models.
    he's a really great guy to have supporting our j5 community