wiki:SamsungGalaxyXcover4

Version 20 (modified by Rick van der Zwet, 6 years ago) ( diff )

--

Revert to factory default

Android 8.1 support the features I require and is available for this phone.

I used the hard way of upgrading the Android 8.1, because I can :-).

  • Find firmware file for correct region at http://samsung-updates.com/device/?id=SM-G390F
  • Unpack all files from layered archives using tools unzip, tar and unlz4
  • Put device in Download Mode by Powering it while holding down this keys: Power + Volume Down + Home.
  • Retrieve PIT or download attached file sudo /usr/local/bin/heimdall download-pit --output SM-G390F.pit
  • Print PIT to find out which files to flash to which partition heimdall print-pit --file ~/SM-G390F.pit
  • Flash sudo heimdall flash --pit ~/SM-G390F.pit --PARAM ./param.bin --BOOT ./boot.img --RECOVERY ./recovery.img --RADIO ./modem.bin --SYSTEM ./system.img --CACHE ./cache.img --USERDATA ./userdata.img

Note: I have not flashed --CM ./cm.bin --BOOTLOADER ./sboot.bin --HIDDEN ./hidden.img HIDDEN failed to apply properly, CM and BOOTLOADER I could not find out an reliable to flash them without potentially bricking the phone, so I used the 'old' versions.

Previous operating system

I was unable to 'un-Google' and 'un-Samsung' the phone to a level I felt comfortable. Yet rooting provided the only method to make the phone somehow more in control.

The phone is running:

SM-G390F

Android version : 7.0
Baseband version: G390FXXU1AQI2
Build number    : NRD90M.G390FXXU1AQI3

Root Device

  • Download Boot & Recovery image from CF-Auto-Root for this device: https://desktop.firmware.mobi/device:289
  • Enable Developer Mode' Settings -> About Phone -> Software Information -> tap 'Build Number' 7 times.
  • Enable 'OEM Unlocking' in 'Settings -> Developer options'
  • Reset device to factory default
  • Put device in Download Mode by Powering it while holding down this keys: Power + Volume Down + Home.
  • Retrieve PIT or download attached file sudo /usr/local/bin/heimdall download-pit --output SM-G390F.pit
  • Use Heimdall to install new images: sudo /usr/local/bin/heimdall flash --pit SM-G390F.pit --RECOVERY recovery.img --BOOT boot.img
  • Reboot phone and rooting will be done automatically

Removing factory applications

I do not like all Samsung and Google Applications which comes by default with the phone. It collects too many data, runs in background consuming CPU, memory and thus battery power consumes storage space.

  • Disable 'Play Store' automatic updater
  • Disable all applications which are not needed. Restoring their stock versions if needed.
  • Use a Application called Applications Info located in F-Droid package manager to find locations of applications to be deleted.
  • Delete using CLI: $ adb shell $ su $ mount -o rw,remount /system $ rm -R /system/app/application-to-be-removed $ rm -R /system/priv-app/application-to-be-removed

file:/system is read-only be default. use mount -o rw,remount /system to make it writable.

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.