SM-J510FN Dual Sim Stuck in TWRP recovery mode

RMEROY

Member
Sep 7, 2020
11
0
0
Gosport
Can anyone help, I rooted my phone last year and installed TWRP as part of the process, I did a backup at the time which I have on my SD card
the phone is stuck in the TWRP recovery mode, I can restore from my backup and it goes through fine but then goes back into recovery mode.
This all started when I tried to reset the phone back to factory defaults. I guess I wiped everything. Has anyone got any ideas how to get out of this.
I am not too familiar with TWRP, if anyone could point me in the right direction with a simple step by step guide it would be most appreciated.
 

amirizad_7436

Senior Member
Sep 6, 2018
721
276
73
Can anyone help, I rooted my phone last year and installed TWRP as part of the process, I did a backup at the time which I have on my SD card
the phone is stuck in the TWRP recovery mode, I can restore from my backup and it goes through fine but then goes back into recovery mode.
This all started when I tried to reset the phone back to factory defaults. I guess I wiped everything. Has anyone got any ideas how to get out of this.
I am not too familiar with TWRP, if anyone could point me in the right direction with a simple step by step guide it would be most appreciated.
Download a rom
Put it on your sd card
Put a sd card inside your phone
Then flash your rom
 

RMEROY

Member
Sep 7, 2020
11
0
0
Gosport
SM-J510FN

Download a rom
Put it on your sd card
Put a sd card inside your phone
Then flash your rom
I did try that, I found a ROM j510fnxxs2aq14_j510fndbt2aq14_dbt.zip with size of 1,379,794Kb
when I tried to install it I get a failure could not find META-INF/com/google/android/update-binary in the zip file
Error installing zip file /external_sd/j510fnxxs2aq14_j510fndbt2aq14_dbt.zip
Which is why I asked for a bit more detailed advice on my problem. If you could point me in the direction of a suitable
ROM for my device which will work I would appreciate it.
 

amirizad_7436

Senior Member
Sep 6, 2018
721
276
73
I did try that, I found a ROM j510fnxxs2aq14_j510fndbt2aq14_dbt.zip with size of 1,379,794Kb
when I tried to install it I get a failure could not find META-INF/com/google/android/update-binary in the zip file
Error installing zip file /external_sd/j510fnxxs2aq14_j510fndbt2aq14_dbt.zip
Which is why I asked for a bit more detailed advice on my problem. If you could point me in the direction of a suitable
ROM for my device which will work I would appreciate it.
Was it stock rom??!!
You should install custom rom man first
 

RMEROY

Member
Sep 7, 2020
11
0
0
Gosport
Was it stock rom??!!
You should install custom rom man first
I have tried several custom roms non of which work. What I don't understand is why when I restore from my one and only backup
it all goes through ok the size is 6036MB it reports restoring 7 partitions
then restoring boot then restoring data, at the end of it I get restore ok then it goes back to the TWRP recovery screen.
 

garylawwd

Forum Moderator
Staff member
Aug 25, 2017
3,119
1,819
233
29
Cork
I have tried several custom roms non of which work. What I don't understand is why when I restore from my one and only backup
it all goes through ok the size is 6036MB it reports restoring 7 partitions
then restoring boot then restoring data, at the end of it I get restore ok then it goes back to the TWRP recovery screen.
Is your stock rom android 5 by any chance?
 

RMEROY

Member
Sep 7, 2020
11
0
0
Gosport
I don't know what my stock rom is, I can't access anything on my phone apart from the TWRP recovery screen
I do have another SM-J510FN which was bought at the same time which hasn't been rooted running Android 7.1.1
I don't know if that would help to determine what the stock rom is.
 

garylawwd

Forum Moderator
Staff member
Aug 25, 2017
3,119
1,819
233
29
Cork
I don't know what my stock rom is, I can't access anything on my phone apart from the TWRP recovery screen
I do have another SM-J510FN which was bought at the same time which hasn't been rooted running Android 7.1.1
I don't know if that would help to determine what the stock rom is.
Sorry I misread the thread I thought it was 2015 model.

So what exactly did you do? Step by step.

Did you wipe anything in twrp?
 

RMEROY

Member
Sep 7, 2020
11
0
0
Gosport
I don't know what my stock rom is, I can't access anything on my phone apart from the TWRP recovery screen
I do have another SM-J510FN which was bought at the same time which hasn't been rooted running Android 7.1.1
I don't know if that would help to determine what the stock rom is.
I went into the TWRP recovery mode then to Wipe hoping to do a factory reset, that went through ok and came back into the TWRP recovery mode
I then tried Advanced wipe and ticked all the boxes except micro SD card. Nothing could get me out of the recovery mode so then I tried a restore from
an old backup and that seemed to go through ok, but it still came back to the recovery mode.
 

Tab_Triggerhappy

Senior Member
Jun 13, 2020
78
2
8
If it was me, I would remove the back cover and via TWRP menu turn off phone.
As soon as the screen goes black, remove battery.
Insert battery and power on and see what happens.
Have you tried that? Or how do you turn it off?
 
Last edited:

Tab_Triggerhappy

Senior Member
Jun 13, 2020
78
2
8
Okay... when screen goes black have you tried to quickly start pressing the key combination to enter download mode?
For my J500 it's Volume down + Home key + Power (keep pressing until download screen appears) should be same for J510.
If you can enter download you have the option to use Odin and flash either a stock ROM or a newer Recovery.

If you want, you could:
Advance wipe, everything except SD card and OTG Usb. (How much was backed up? Did you tick all boxes?)
Format Data
Restore backup from SD card again
Advance wipe, tick only 2 boxes, Dalvik + Cache
Restart
Report back

Oh, and just to clarify... when you manually go to Restart in TWRP, no matter what option you choose, the phone restarts into TWRP again?
Bare with me, I'm trying to understand and help.
 
Last edited:

RMEROY

Member
Sep 7, 2020
11
0
0
Gosport
Thats the problem, I can't get out of the TWRP recovery mode so am not able to use Odin, I presume when I did my original backup
I didn't tick all the boxes because it goes through a recovery with no problem I presume the boot sector is missing.
From the TWRP recovery mode I am able to go to install and select a previously downloaded file but then it fails.
I have searched for a suitable ROM to download but am struggling to find one for my phone
 

Tab_Triggerhappy

Senior Member
Jun 13, 2020
78
2
8
You can update your TWRP with a newer version from here:
https://twrp.me/samsung/j5xnlte.html
(Carefully check that I linked to your model!)
.img is what you want to put in your phone. BUT... I haven't done this myself, so it's your call.
In TWRP you choose to install img and locate the file on your SD card.

My thought is that your TWRP is too old for the ROMs you have tried... (anyone please correct me if I'm wrong).
 

amirizad_7436

Senior Member
Sep 6, 2018
721
276
73
Thats the problem, I can't get out of the TWRP recovery mode so am not able to use Odin, I presume when I did my original backup
I didn't tick all the boxes because it goes through a recovery with no problem I presume the boot sector is missing.
From the TWRP recovery mode I am able to go to install and select a previously downloaded file but then it fails.
I have searched for a suitable ROM to download but am struggling to find one for my phone
Man it's not a problem what custom rom you downloaded
Juat install it to system cames up then install stock rom via odin
Why you wasting your time??!!
 

RMEROY

Member
Sep 7, 2020
11
0
0
Gosport
I have the TWRP image file 3.4.0-0 which partition should I be flashing it to Boot or Recovery?
I would hate kill it after getting this far.
in reply to amirizad_7436 I don't understand, I can't install a stock rom via Odin as I can't get out of the TWRP recovery mode.
 

garylawwd

Forum Moderator
Staff member
Aug 25, 2017
3,119
1,819
233
29
Cork
I have the TWRP image file 3.4.0-0 which partition should I be flashing it to Boot or Recovery?
I would hate kill it after getting this far.
in reply to amirizad_7436 I don't understand, I can't install a stock rom via Odin as I can't get out of the TWRP recovery mode.
You can. There is an option to reboot download mode from twrp (might be reboot bootloader)
That will put the device into download mode and you can flash with Odin.

Alternatively you could go to advanced wipe and wipe everything like you already did and then just flash a custom ROM. You wiped everything you said and then tried to reboot. That's why it went to twrp because you wiped system, there is no system to boot anymore.
 

RMEROY

Member
Sep 7, 2020
11
0
0
Gosport
You can. There is an option to reboot download mode from twrp (might be reboot bootloader)
That will put the device into download mode and you can flash with Odin.

Alternatively you could go to advanced wipe and wipe everything like you already did and then just flash a custom ROM. You wiped everything you said and then tried to reboot. That's why it went to twrp because you wiped system, there is no system to boot anymore.
Wow, that worked, I updated the version of TWRP and then installed a ROM that I downloaded "resurrectionremix-5.8.4-20190821"
and all seems to be working, both sims are recognised and operational all I need now is to get my head around the UI apart from that everything seems
good. Thank you everybody who helped me through this. I almost got to the point of binning an otherwise good phone.
Once again a big thankyou to everyone.