Galaxy J2 Prime (SM-J250G/DS) How to flash stock ROM and deep-clean preinstall apps
This is a note not guide
Sep 3, 2018 · 2 min read
Required:
- Windows
- Samsung USB Drivers
- Odin => ^3.13
- The latest firmware of your phone (recommended site Updato)
In case, use PDA(J250GDXU2ARD3)
And now getting started,
Flash Stock ROM
- Turn your phone off
- Enter download mode by holding the HOME button + Volume Down + Power button at the same time (hold all three together)
- press the VOL + button (continue)
- You are now in Download Mode
- Open Odin and connect your phone to your PC via USB
- Odin should have detected your phone by showing something like 0:[COM#] in the ID:COM section
- Unzip the firmware file you downloaded ( You Should have
AP_J250GDXU2ARD3_…tar.md5
BL_J250GDXU2ARD3_…tar.md5
CP_J250GDXU2ARD3_...tar.md5
CSC_ZZT_J250GZZT2ARD3...tar.md5
HOME_CSC_ZZT_J250GZZT2ARD3…tar.md5 ) - Click on BL and locate the files you unzipped, choose the BL file
- Do the same for AP, CP and CSC
- Hit start and let Odin do its magic
- After Odin is finished, it will re-start the phone, wait patiently for the phone to load up
- You should now have your phone back safely to stock and ready for use
Root
- Enable USB Debugging and OEM Unlock
- Download
- TWRP
- Magisk and Save it to Device storage [internatl/ external]
- no-verity-opt-encrypt-5.1 and Save it to Device storage [internatl/ external]
In case , use TWRP UnOfficial 3.2.1, Magisk 17.1 - Open Odin and connect your phone to your PC via USB
- Click on AP and locate the files you unzipped, choose the twrp-recover-3.2.1
- Make sure that only one options is tick F.Reset Time
- Now click Start button, Wait until you see Pass , then holding the HOME button + Volume Down + Power button ( hold all three together ) restart it
- When you see logo, holding the HOME button + Volume Up + Power button, and you should see TWRP page
If you failed turn your phone off, and try again - Swipe to Allow Modifications , go to wipe tab and Do Format Data , wait For Success Done , reboot ( you can skip install TWRP to system )
- Go to Install tab and Locate Download Magisk-v17.1.zip and confirm Install, wait For Success Done , reboot
- Do the same for no-verity-opt-encrypt-5.1
Now you have root system.
Debloat script
I’ve developed debloat scripts that will delete most preinstall apps (like. Samsung services , Google Services ).
- Download my debloat script and Save it to Device storage
- Go to TWRP Install tab and Locate Download clean-script-by-voco.zip and confirm Install, wait For Success Done , reboot
Now most preinstall apps is deleted.
You also can comment out anything you do NOT want to remove from the script using.
- extract clean-script-by-voco.zip,
vi /extract/path/META-INF/com/google/android/updater-script - Save the script
- Grab META-INF to zip
- Flash
