Galaxy J2 Prime (SM-J250G/DS) How to flash stock ROM and deep-clean preinstall apps

This is a note not guide

voco
voco
Sep 3, 2018 · 2 min read

Required:

And now getting started,

Flash Stock ROM

  1. Turn your phone off
  2. Enter download mode by holding the HOME button + Volume Down + Power button at the same time (hold all three together)
  3. press the VOL + button (continue)
  4. You are now in Download Mode
  5. Open Odin and connect your phone to your PC via USB
  6. Odin should have detected your phone by showing something like 0:[COM#] in the ID:COM section
  7. 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 )
  8. Click on BL and locate the files you unzipped, choose the BL file
  9. Do the same for AP, CP and CSC
  10. Hit start and let Odin do its magic
  11. After Odin is finished, it will re-start the phone, wait patiently for the phone to load up
  12. You should now have your phone back safely to stock and ready for use

Root

  1. Enable USB Debugging and OEM Unlock
  2. 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
  3. Open Odin and connect your phone to your PC via USB
  4. Click on AP and locate the files you unzipped, choose the twrp-recover-3.2.1
  5. Make sure that only one options is tick F.Reset Time
  6. Now click Start button, Wait until you see Pass , then holding the HOME button + Volume Down + Power button ( hold all three together ) restart it
  7. 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
  8. Swipe to Allow Modifications , go to wipe tab and Do Format Data , wait For Success Done , reboot ( you can skip install TWRP to system )
  9. Go to Install tab and Locate Download Magisk-v17.1.zip and confirm Install, wait For Success Done , reboot
  10. 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 ).

  1. Download my debloat script and Save it to Device storage
  2. 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.

  1. extract clean-script-by-voco.zip,
    vi /extract/path/META-INF/com/google/android/updater-script
  2. Save the script
  3. Grab META-INF to zip
  4. Flash
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade