summaryrefslogtreecommitdiff
path: root/TECH.md
blob: ad1825fb7741585bb3c4a8035779c5b8bc226072 (plain)

Android administration

Baseband radio

Baseband code is in official releases from Samsung, but separate from Android source (AOSP) and (probably therefore) not in CyanogenMod (CM) nor Replicant.

Updating Baseband radio

Requires. Debian package "heimdall-flash" and binary blob "modem.bin".

Samsung releases are issued only via their Windows-based Kies tool. Unofficial redistribution are at...:

  • http://www.gsm-file.com/ (need login)
  • http://samsung-updates.com/ (rate-limited)
  • https://samsung-firmware.org/ (rate-limited, need login)
  • https://www.sammobile.com/ (rate-limited, need login)
  1. Fully charge the phone.
  2. Disconnect any cables and turn off the phone.
  3. Hold VOL-DOWN+KEY, press POWER for 2 seconds, then release them all.
  4. Press VOL-UP when asked.
  5. Connect USB-to-PC data cable.
  6. Run "heimdall flash --RADIO modem.bin"

Version numbers

Version numbers for Samsung releases are strings like "I9300XXUGPB1" where last 2 characters (the "PB" here) indicate year and month as roman numbers.

Samsung releases has 3 version numbers. Commonly only PDA is listed, sometimes also CSC. Baseband version is different from those, often listed last (if at all).

Always use baseband version GM2 or newer, due to its use of EFSv2.

CyanogenMod 13 (based on Android 6.0.1) is rumored to need recent baseband for GPS to work.

Concrete experience: Two phones bought second-hand in Denmark (but originating elsewhere) has working GPS with CM13 and these baseband versions:

  • I9300XXUGOK1 e.g. from I9300XXUGOK1_VNZ_NEW_ZEALAND_4.3.zip sha1 of modem.bin: 2d4625021ad5931377865eddba7cf1fb18a111da
  • I9300BOUGNB1 e.g. from TNL-I9300XXUGOL2-20160120152855.zip) sha1 of modem.bin: c893aaa146d2120fd316cb7d1af4111e1069e990

Recovery

Recovery is a separate minimal rescue system.

Some Recovery systems follow the IsoRec structure, allowing Recovery and regular systems from different vendors to work together.

Partition

Internal storage of some Samsung phones can be repartitioned using REPIT.