yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] awab228:
I did read your whole post , and now I can see the problem in the photo you attached , this is the link to official TWRP http://twrp.me/samsung/samsunggalaxyj5prime.html , you need to enable OEM unlocking in the developer options , and you will have to wait 7 days without restarting your phone or removing the original SIM before trying to flash TWRP again because you have RMM state Prenormal , after that we can disable RMM , in the link above you will find official XDA Thread for the recovery you will find me there if you need more help ,
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] CharlieSummers:
First off, much thanks to you for determining the problem and helping me understand what's happening. I really appreciate it.

Downloaded both versions of the on5xelte just to be ready.

First thing I did; also USB Debugging, of course. Just checked the phone to be sure (I have rarely gone wrong assuming I screwed something up), and yup, it's set. Which is...confusing, since RMM is running. More on this below.

Ok, will do, but I want to explain what I have so I'm sure I'm doing this right.

Just bought this phone reconditioned for my daughter to replace a phone that is having issues charging. Since it got here, it has never had a SIM card installed, nor has it ever connected to WiFi - I always root Android devices before connecting them to anything so I can better control Google's suck of personal data. During "setup," I skipped everything except for manually setting time and date. This phone is as close to being out-of-the-box virgin as possible.

Haven't had time to do enough research to really understand RMM State Lock, but I should leave the phone turned on for the week, correct? Before the timer starts, should I install a SIM card, or is it ok to leave the device SIM-less? Oh...should I leave it sit for that week in Download Mode? Will do more research later this evening when I get home to see if I can understand this more completely.

One page I skimmed suggested that if RMM State Lock was active, I shouldn't be able to see the OEM Unlock switch in settings...but I can. Is that a datapoint, or just a mcguffin? The page also mentions an "RMM state lock fix zip" - should I be searching for this?

I have no issues setting this aside for a week and dealing with it then, I just want to make sure I can root this puppy before she takes it off to school with her. Thanks again for the help!
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] o8oro:
Solution to "Only official released binaries are allowed to be flashed (RECOVERY)"

To solve this problem follow the instructions given in youtube: o0T-CR-KpfM

"How to fix missing OEM unlock [RMM Prenormal] on your Samsung Galaxy! Without waiting 7 days!"
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] CharlieSummers:
Appreciate the reply!

While that may eliminate the seven-day wait, it won't exactly solve the problem I have. I currently have a Prime J5 wherein the Download screen says RMM state Prenormal, and the phone won't accept non-standard images.

I can also, right now, see and use the OEM Unlock toggle in Developer's Options.

This appears to be an anomaly - it isn't supposed to do this. According to everything I've read, once RMM is triggered the OEM Unlock toggle should disappear. Mine did not. Until I can understand why it is doing this, it seems foolish to muck with the phone too much. I have suspicions as to why this is happening, but I'm hoping for someone here a whole lot smarter than I am to give me a reasonable clue what might cause this so I can test out the theories. Since this whole RMM nonsense is relatively new, it's possible no one knows, but I can hope.

I will also admit I am reluctant to force a software update - again, I have no idea where the phone is after the refurb, and really do not want to update the firmware at this point in time. Honestly, right now I couldn't if I tried, since one more time, I have neither applied a SIM card nor connected it to WiFi. It is my practice to not connect a new device to any network until after the device is rooted and I can at least attempt to protect my data from being sucked up...by Google or anyone else.

Edit: Don't know if any of this is meaningful, but what the hey:

dev_name: KAS Galaxy J5 Prime
dev_model: SM-G570M
dev_andver: 7.0
dev_baseband: G570MUBU2BRA3
dev_kernal:
3.18.14-12686191
dpi@SWDG2904 #1
Tue Jan 30 05:47:38 KST 2018
dev_build: NRD90M.G570MUBU2BRA3
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] missioner:
I'm taking a shot in the dark here, and I'm also assuming you are familiar with Odin and all its workings, but I think it may be an idea to downgrade the firmware back to the 6.0 the phone was shipped with originally. The newer ROMs seem to be much more secure than earlier versions.

My g570f was successfully rooted on its original ROM. I then bricked the phone attempting to install TWRP and reverted it to stock to sort it out. A word of warning, I've noticed that on the more recent Samsung phones Knox is a MF. Try looking into some sort of method to disable it or bypass it. The bloody thing really dislikes the stock firmware being tampered with.
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] CharlieSummers:
He, he..."all its workings" may be wildly optimistic, but I've been known to flash a device or two in my time...

I admit I've been thinking the same thing myself lately. I found various firmwares for the G570M at https://www.sammobile.com/firmwares/galaxy-j5-prime/SM-G570M/ - I have to admit I'm not exactly sure which one I should use, since I don't know which country this phone came from originally. On the other hand, searching the baseband gives a number of hits, all 7.0. There doesn't seem to be a build date in the phone, so I'm not sure which 6.0.1 G570MUBU1AQG1 I need. May have to run through all of the 7.0s until I find something that "looks" right.

Any idea where (or if?) the product code might be on the phone? That would be an excellent pointer...

And would flashing an "official" version work properly even with RMM state prenormal? I'm still not clear on how RMM actually works. Had a bit of basement flooding, which put a crimp on my research. ;)

More locked-down, anyway. I'd argue that is for Samsung's "security," not mine. But then, I still want my SD card back from Google's encryption, too.

I need to research that, too - I thought Knox was just a toggle that alerted the firmware had been mucked-with for warranty purposes. I didn't know it was some kind of locking software itself.
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] missioner:
If you look at the current build number in software information, the last three symbols are to do with the version and the three before it should be the CSC code.

This is how you identify which region the firmware is for. Look for ones that reasonably match your country. Try to get an unbranded one if you can. The reason you get it to match is to ensure you have the correct modem to suit your network.

For example I'm from South Africa and we have three variants XFE, XFA and XFV. The first two are usually unbranded and the last one is the Vodafone version with all their bundled apps.
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] awab228:
probably because its a reconditioned phone , they didn't pay much attention to the system they are flashing , most likely RMM was already triggered the before you received the phone , about the OEM unlock most likely reconditioned phones are partly flashed meaning they are not 100% official in someway , you can dial the code *#1234# and post the result , of course downgrading the system to android 6.0 will remove the RMM lock ,
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] Danzinho:
Olá Eu Gostaria de saber com Faz Pra Acessar O TWRP

Eu Fasso o processo tudo certo no meu J5 prime SM G 570M Com Android 7.0 eu fiz o processo certinho com odin e nele da ok. Dai eu vou colocar em modo recorver e mostra uma tela azul com a msgm -instaling system update. depois aparece -No Comand. e volta para o modo normal do sistema nao acontece nada e o q eu pude perceber foi q o binário s continuau a oficial da samsung msm depois q eu instalei o TWRP.

Agradeço...
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] damtac84:
Hi there,

I'm using J5 Prime G570Y. I've downloaded the TWRP in dl.twrp.me/on5xelte - the original source. It's still fine when I flash it from Odin (3.12).

However, I've tried many times to jump to TWRP recovery (Volume Up + Home and Power button) but it only shows Android Recovery.

I also decrypted my SD card, removing SD card and SIM cards, OEM unlock and USB debugging but no luck.

Is there anyone help me? I really wanna unistall some SS's apps. My phone becomes so slow.

Many thanks,
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] CharlieSummers:
Apologies; had a basement flood this week which has me really really behind.

Um, not seeing it. From NRD90M.G570MUBU2BRA3 that implies U2B. Also keep in mind I'm trying to figure out what country's firmware is in the phone, not my country's firmware. Far as I can tell, there isn't any United States firmware for the G570M.

Enclosed pic; doesn't look like much we didn't know about the phone from Settings. Ok, I did discover the date/time was never set. ;)

I need to carefully re-read the thread to make certain I know exactly what I'm doing. The seven days will time-out tomorrow, I'll probably wait until Monday, but I need to make sure I don't accidentally reboot the phone before completing the required tasks. If I do screw it up, I may send it back to 6.0 and be done with it.
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] missioner:
South American firmware

See here

https://www.sammobile.com/firmwares/search/G570MUBU2BRA/
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] CharlieSummers:
Yep, but which should I use:

G570MUBU2BRA3/G570MUUB2BRB1 (Unknown - MXO)

G570MUBU2BRA3/G570MUUB2BRB1 (Bolivia - BVO)

G570MUBU2BRA3/G570MUUB2BRB1 (Chile - CHO)

G570MUBU2BRA3/G570MUUB2BRB1 (Panama - TPA)

G570MUBU2BRA3/G570MUUB2BRB1 (Paraguay - UPO)

G570MUBU2BRA3/G570MUUB2BRB1 (Colombia - COO)

G570MUBU2BRA3/G570MUUB2BRB1 (Trinidad and Tobago - TTT)

G570MUBU2BRA3/G570MUUB2BRB1 (Trinidad and Tobago - EON)

G570MUBU2BRA3/G570MUUB2BRB1 (Argentina - ARO)

...all match the numbers I have, and I have no idea whether these are all the same or not (guessing not because of the different systems they connect to, but what do I know?). Or doesn't it matter, and will any/all of these work properly considering I'm connecting to AT&T towers in the U.S. anyway?

While I'm posting, I've passed my week and still haven't done anything. Assuming I determine a firmware, I'd appreciate someone checking this, since I have one shot at it:

1) Reboot directly from Android into Download mode by holding down Vol+ + Home + Power. If I screw this up and reboot into Android, I will be screwed for another week.

2) Expect NOT to see RMM State: Prenormal - if I do, scream my *ss off and consider backstepping to 6.0.

3) Use ODEN to flash ONLY the TWRP recovery zip.

4) Reboot directly from Download Mode into TWRP by holding down Vol- + Home + Power. If I screw this up and reboot into Android, I will be screwed for another week.

5) Use TWRP to flash SuperSU to acquire root.

6) Reboot into Android, done. Or do I remember there's a file in /system that needs to be renamed/deleted to assure stock recovery isn't reapplied to the device?
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] missioner:
I suggest you use the MXO 6.0 ROM. My guess is that it's Mexico, which I assume that they would have radio hardware most similar to US. Perhaps someone on the forum reading this can confirm this.

1. Boot into download mode

2. Connect to Odin

3. Flash ROM without changing any of the options, this will automatically reboot the phone to the system.

4. Once all is working and the phone is stock 6.0 you can begin rooting process.

5. Repeat steps 1 and 2

6. Flash TWRP, this time uncheck the auto reboot box in options. If you reboot now, Knox would erase TWRP and install a stock recovery.

7. Flash SU and binaries

8. Wipe caches

9. Reboot. If it takes much longer than normal it's because Knox is undoing all your hard work.

Sadly I'm still very much a novice here and my G570F was still on 6.0 when I did this. I wasn't successful and ended up soft bricking the device. I had to reflash stock ROM via Odin to get it back. I would very much like to learn more about building ROMs so that I could make my own one for this phone.
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] awab228:
if anyone wants real help this is the official thread :

https://xdaforums.com/galaxy-j5/sam...ther-development/twrp-touch-recovery-t3806409
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] nicolasc1991:
No logro hacer ROOT ni TWRP

Hola no logro hacer TWRP ni ROOT a mi celular :( estas son las caracteristicas, me pueden dar una mano?

Model : SM-G570M

Device : on5xelte

Brand Name : samsung

Chipset : exynos5

Hw Version : exynos7570

Root State: : No Root!

Android Version : 7.0

SDK Version : 24

Model ID : NRD90M.G570MUBU3BRF2

PDA : G570MUBU3BRF2

Platform : armeabi-v7a

language :

Local : en-GB

Security Patch : 2018-06-01

Secure Level : 1

Encryption State : encrypted

Bootloader State : G570MUBU3BRF2

description : on5xelteub-user 7.0 NRD90M G570MUBU3BRF2 release-keys
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] CharlieSummers:
Wanted to thank you for the info, and let you know I am seriously p*ssed at this idiotic phone.

After waiting weeks, the phone still says RMM STATE : Prenormal. See enclosed pic.

Once I calm down a little bit and have another cappuccino, I'm going to try installing a SIM card to it, and then if necessary connect to the WiFi and use the BoobTube trick to force it forward a week. If that doesn't work, I'll backstep to 6.0.1.

Speaking of that, am downloading the 6.0.1 from Mexico's IUS - there wasn't a 6.0.1 from the MXO Unknown. (*shrug*) At this point, getting a solid signal from AT&T's towers seems less of a struggle than getting the g*d d*mned RMM state straightened out.
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] CharlieSummers:
Tried that, still have RMM State : Prenormal. I actually applied a system update, then followed the instructions on the video to the letter. I never lost the OEM Unlock switch in Developer Settings, and the d*mned thing is still Prenormal. I have decided I hate this phone.

Downloading from free account, so still have an hour or so before 6.0.1 is here. Will take a deep breath, enter Download Mode, and try using Odin to backstep the phone to Marshmallow and see if that will let me root this stupid thing.
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] CharlieSummers:
I hate this phone.

Carefully following instructions, got an IMMEDIATE failure in Odin. Photo included, error message is:

SW REV. CHECK FAIL. DEVICE: 3. BINARY: 1

Help...

Edit: And now the b*stard's boot-looping!!!!

Only way I could get it turned off was to boot into Recovery and Power Off from there. Help Again!!!
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] missioner:
When I last mucked about and got mine bootlooped the only way forward was to flash the ROM again with Odin.

Just be quite careful when you flash as there are 2 options regarding the CSC file.

One keeps the data, as in a firmware upgrade, and the other wipes the phone. Also do not uncheck the auto reboot and repartition boxes. Leave them alone.

Try again with Odin but use the wipe version of the CSC.

Good luck
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] StanGumn:
Lo lograste?

Lo lograste amigo? igual tengo esa compilacion en un cliente pero no da con ningun metodo. Intentaste mandar por odin un firmware antiguo? dicen que con la G570MUBU2BRA3 funciona
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] StanGumn:
Bluid to G570MUBU3BRF2 (25.06.2018) and G570MUBS3BRG1 (04.07.2018) PLEASE

Can u bluid to G570MUBU3BRF2 (25.06.2018) and G570MUBS3BRG1 (04.07.2018) please??? The new BL's not work in Odin. And its imposible downgrade. Please build BL and TWRP compatible to the new BL's please
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] awab228:
Try the official release in the other thread , and post in it if you need any help

---------- Post added at 03:20 AM ---------- Previous post was at 03:17 AM ----------

This is the official release link https://xdaforums.com/galaxy-j5/sam...ther-development/twrp-touch-recovery-t3806409
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] wanda agustian:
It's work for oreo 8.0 ?
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] CharlieSummers:
tl;dr version: Samsung Galaxy Prime SM-G570M/DS just will NOT root.

Frustration. Started the other day working with a boot-looped PRENORMAL Samsung Galaxy Prime SM-G570M/DS which I admit has been sitting for a few months until I had the time to muck around with it.

Have spent the last few days trying to flash it with SOMETHING, ANYTHING. Because the system was blown (boot-loop), the only way I could find to shutdown between attempts was to 1) Reboot to OdinMode, 2) VolDown, 3) Immediately hold to go to stock recovery, 4) Select Power Down. So you can imagine it's been a whole bunch of fun between each try. Tried the following firmwares downloaded from the Net:

Galaxy_J5_Prime_SM-G570M_601_stockrom.net

G570MUBU1APL4_G570MIUS1API2_IUS Mexico 6.0.1

Downgrade Samsung J5 Prime G570M DS 6.0.1 Brasil FRP-www.diariotecnico.net (fail at cache.img)

G570MUBU1AQG1_G570MUWE1AQG1_IUS

Those ALL failed spectacurlarly with the same old "SW REV. CHECK FAIL..." error message.

I got around to trying:

G570MUBU3BRF2_G570MZTO3BRF1_ZTO

...and it PASSed! Booted into (stock) recovery and "Wipe data/factory reset" and "Wipe cache partition" - both said "Formatting...Data wipe complete" then "E:failed to find /misc partition." After rebooting and waiting quite a while, I am welcomed to the phone (in Portuguese, changed to US English)...it's BACK! Still 7.0 unrooted, but at least it is no longer boot-looped! Yay for me!

So without completing Android setup, I reboot into ODIN mode, and...

Bloody hell, it's STILL RMM STATE : Prenormal!!!!!!

For giggles I tried to flash TWRP, with the expected results, "Only official released binaries...".

So ah-HA, I thought...Since the Brazil ZTO 7.0 flashed, all I need is the Brazil ZTO 6.0.1 flash files, which should work, right? So I downloaded three of them (month is build date):

G570MUBU2AQK2_G570MZTO2AQK2_ZTO.zip (NOV)

G570MUBU1AQG1_G570MZTO1AQG1_ZTO.zip (JUL)

G570MUBU1AQE2_G570MZTO1AQE3_ZTO.zip (MAY)

For NOV received "SW REV. CHECK FAIL. DEVICE: 3. BINARY: 2."

For JUL received "SW REV. CHECK FAIL. DEVICE: 3. BINARY: 1."

For MAY received "SW REV. CHECK FAIL. DEVICE: 3. BINARY: 1."

So now I'm stumped, completely unsure what to do next. I currently have a working, not-yet-set-up, unrooted Nouget phone that insists on reporting RMM STATE : PRENORMAL. Any advice on what to try next in my quest to get this *&^@%^ *$@#~!!!! Samsung rooted would be GREATLY appreciated!
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] CharlieSummers:
Am bumping because I STILL have a RMM State: Prenormal Samsung Galaxy Prime SM-G570M/DS that I cannot get to go away. The "trick" shown in the YouTube video with changing the clock doesn't work because regardless the Date/Time setting, when I check for software updates it instantly changes the date to today. I've left it sit unstarted for weeks, no joy.

I really want to root this stupid thing, and now it wants to upgrade to Oreo, which seems to me is going to be even LESS fun trying to root!

Any suggestions gratefully appreciated...
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] Sadlyharry:
Here To Help

Although I may not be the most experienced guy around, I guess I may be able to do some help. May I ask, after you have reflash your device, ODIN still shows RMM prenormal?
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] CharlieSummers:
Yup. It finally accepted a v7 ROM, but wouldn't take a v6 thanks to that d*mned RMM state.

I'm now ~12-hours into the seven-day wait-and-hope, so any suggested steps can be taken without losing much. Willing to try anything short of beating it with a sledgehammer - although sometimes... ;)

Last time I waited out the seven days (ended up being over eight, actually), I booted directly into ODIN mode and it was STILL Prenormal...but that time I didn't have a SIM card nor WiFi set up (was trying to protect my information from leaking to Google...I almost never connect an Android device to the Net until I have root and can freeze/firewall all the Big G stuff). This time I stuck a PAYGO SIM in it so it would have a phone connection, and connected to my WiFi to see if that makes any difference.

(Plan this time is to, after the seven days are in, record the procedure of booting directly into ODIN mode without passing go, to document whether Prenormal sticks. I can understand why people don't believe what I'm seeing based on the mass experience, but this phone seems to be haunted...)

I specifically bought this thing so I'd have a 13MP camera I could easily root. Easily? HA!
[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] Sadlyharry:
I think we both know that this is very weird, at least according to my experience. May I clarify that v7 and v6 refers to stock J5 Prime Nougat and Marshmallow Rom respectively?

My very very first question is... Did you flash all the files inside in tandem (BL,AP,CP,CSC) or just AP alone. Cos according to my 5-min research jn, SW Fail happens if you try to downgrade, so i suspect "cross-flashing". If not, further investigations have to be done.

In the meantime, here are two posts that may help you.

https://xdaforums.com/showpost.php?p=75589221&postcount=9 (Using adb to pull build.prop, idk if you can push it back, maybe try chmod? I nvr tried pushing before.)

https://xdaforums.com/showpost.php?p=76838218&postcount=5 (idk if you tried check update manually to contact the server)