Jump to content

Samsung Galaxy S6 (samsung-zerofltexx)

From Nura Wiki
Samsung Galaxy S6
Manufacturer Samsung
Name Galaxy S6
Codename samsung-zerofltexx
Released 2015
Type handset
Hardware
Chipset Samsung Exynos 7420
Display 1440x2560 AMOLED
Storage 32/64/128GB
Memory 3GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android 5.0
Extended version
The most recent supported version from the manufacturer.
Android 8.0
Nura
Category archived
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
Nura kernel
The kernel version that runs on the device's port.
3.10.101
Device package device-samsung-zerofltexx
Kernel package linux-samsung-zerofltexx
Features
Flashing
Whether it is possible to flash the device with pmbootstrap flasher.
Untested
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Internal storage
eMMC, SD cards, UFS...
Untested
SD card
Also includes other external storage cards.
Untested
Battery
Whether charging and battery level reporting work.
Untested
Screen
Whether the display works; ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Camera Flash
Untested
Connectivity
Wi-Fi
Untested
Bluetooth
Untested
GPS
Untested
NFC
Near Field Communication
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
USB OTG
USB On-The-Go or USB-C Role switching.
Untested
Sensors
Accelerometer
Handles automatic screen rotation in many interfaces.
Untested

Contributors

Users owning this device

  • Allanherrera
  • Alula
  • Anasrullayev (Notes: Battery died)
  • Ash
  • Beni (Notes: Battery rip)
  • Flutterbrony (Notes: Cracked back and screen)
  • Jacobk (Notes: Was able to boot pmOS but the touchscreen did not work, I think because the port targets a slightly different model than mine)
  • Ka33 (Notes: Stock)
  • Kirjoittamaton (Notes: Bad battery)
  • Koshchki123 (Notes: Verizon edition, rooted with magisk on touchwiz)
  • Lost-Entrepreneur439 (Notes: Minor burn-in at top of screen. crDroid 9 installed)
  • Manty
  • Nobodywasishere
  • Omame (Notes: USB port barely works, only charging works, can't transfer data)
  • R00t
  • Schoosh212 (Notes: victim of battery abuse)
  • St.S (Notes: booting w/USB,ssh access,display,touch,wifi,audio,bluetooth;camera,sensors,ir-tx with some user-space helper programs)
  • Tigersusyt (Notes: SM-G920F - Fully functional, running Lineage 14.1, no back glass and running a half broken kali nethunter kernel)
  • Tigersusyt (Notes: SM-G920F - Fully functional, running Lineage 19.1, KernelSU that came with ROM)
  • Tigersusyt (Notes: SM-G920F - Some bits and bobs (motherboard, screen, etc) that turn on, running Lineage 14.1, no gms, No root)
  • Ungeskriptet (Notes: 2x Black Sapphire)
  • Viciouss (Notes: Still vanilla Android installed)

Special boot modes

  • Download/Odin Mode: With the device powered off, hold Volume Down, Home and Power while connecting the device to a computer with a USB cable. A warning screen will appear: click Volume Up to enter Download Mode and run Heimdall commands.
  • Recovery Mode: With the device powered off, hold Volume Up, Home and Power while connecting the device to a computer with a USB cable.

Installation

$ pmbootstrap init # enter vendor 'Samsung' and codename 'zerofltexx'
$ pmbootstrap install --android-recovery-zip

Make sure that in TWRP you unmounted the partition you want to flash on by default that would be "SYSTEM".

Secondary bootloader

uniLoader

Support for this device is implemented in uniLoader.

Device information

Some device information that may or may not be useful for further development

$ ls -l /dev/block/platform/15570000.ufs/by-name/                                                                       
total 0
lrwxrwxrwx 1 root root 15 2022-02-01 17:09 BOOT -> /dev/block/sda8
lrwxrwxrwx 1 root root 15 2022-02-01 17:09 BOTA0 -> /dev/block/sda1
lrwxrwxrwx 1 root root 15 2022-02-01 17:09 BOTA1 -> /dev/block/sda2
lrwxrwxrwx 1 root root 16 2022-02-01 17:09 CACHE -> /dev/block/sda19
lrwxrwxrwx 1 root root 16 2022-02-01 17:09 CARRIER -> /dev/block/sda20
lrwxrwxrwx 1 root root 16 2022-02-01 17:09 DNT -> /dev/block/sda13
lrwxrwxrwx 1 root root 15 2022-02-01 17:09 EFS -> /dev/block/sda3
lrwxrwxrwx 1 root root 16 2022-02-01 17:09 OTA -> /dev/block/sda10
lrwxrwxrwx 1 root root 15 2022-02-01 17:09 PARAM -> /dev/block/sda7
lrwxrwxrwx 1 root root 16 2022-02-01 17:09 PERSDATA -> /dev/block/sda16
lrwxrwxrwx 1 root root 16 2022-02-01 17:09 PERSISTENT -> /dev/block/sda14
lrwxrwxrwx 1 root root 16 2022-02-01 17:09 RADIO -> /dev/block/sda11
lrwxrwxrwx 1 root root 15 2022-02-01 17:09 RECOVERY -> /dev/block/sda9
lrwxrwxrwx 1 root root 16 2022-02-01 17:09 SBFS -> /dev/block/sda17
lrwxrwxrwx 1 root root 16 2022-02-01 17:09 STEADY -> /dev/block/sda15
lrwxrwxrwx 1 root root 16 2022-02-01 17:09 SYSTEM -> /dev/block/sda18
lrwxrwxrwx 1 root root 16 2022-02-01 17:09 TOMBSTONES -> /dev/block/sda12
lrwxrwxrwx 1 root root 16 2022-02-01 17:09 USERDATA -> /dev/block/sda21
lrwxrwxrwx 1 root root 15 2022-02-01 17:09 m9kefs1 -> /dev/block/sda4
lrwxrwxrwx 1 root root 15 2022-02-01 17:09 m9kefs2 -> /dev/block/sda5
lrwxrwxrwx 1 root root 15 2022-02-01 17:09 m9kefs3 -> /dev/block/sda6

$ uname -a
Linux localhost 3.10.61-11881452 #1 SMP PREEMPT Wed Mar 21 23:42:01 KST 2018 aarch64

$ df
Filesystem                     1K-blocks     Used Available Use% Mounted on
tmpfs                            1370152      820   1369332   1% /dev
tmpfs                            1370152        0   1370152   0% /mnt
/dev/block/dm-0                  3737264  3438436    298828  93% /system
/dev/block/sda3                    16048      440     15608   3% /efs
/dev/block/sda19                  297560     5884    291676   2% /cache
/dev/block/sda21                26477824 12053528  14419176  46% /data
/dev/block/sda16                    5032      244      4788   5% /persdata/absolute
/dev/block/sda17                   11008        8     11000   1% /sbfs
/dev/block/sda11                   88016    68432     19584  78% /firmware
tmpfs                             153600        0    153600   0% /cpdump
/dev/block/sda20                   41248       56     41192   1% /carrier
/data/knox/tmp_sdcard           26477824 12053528  14419176  46% /mnt/knox
/data/knox/secure_fs/enc_media  26457344 12058648  14398696  46% /mnt/shell/enc_media
/data/media                     26457344 12058648  14398696  46% /storage/emulated
/data/knox/secure_fs/enc_user   26477824 12053528  14419176  46% /data/enc_user
/mnt/shell/enc_media            26457344 12058648  14398696  46% /mnt/shell/enc_emulated

$ cat /proc/partitions                                                                                                 
major minor  #blocks  name

 253        0    2097152 vnswap0
   8        0   31240192 sda
   8        1       4096 sda1
   8        2       4096 sda2
   8        3      20480 sda3
   8        4       4096 sda4
   8        5       4096 sda5
   8        6       4096 sda6
   8        7       8192 sda7
   8        8      28672 sda8
   8        9      34816 sda9
   8       10       8192 sda10
   8       11      77824 sda11
   8       12       1024 sda12
   8       13       1024 sda13
   8       14        768 sda14
   8       15        256 sda15
 259        0       9216 sda16
 259        1      15360 sda17
 259        2    3829760 sda18
 259        3     307200 sda19
 259        4      46080 sda20
 259        5   26820608 sda21
   8       16       4096 sdb
   8       32       4096 sdc
 254        0    3796952 dm-0

$ cat /proc/asound/*

/system/bin/sh: cat: /proc/asound/Sound: Is a directory
/system/bin/sh: cat: /proc/asound/card0: Is a directory
 0 [Sound          ]: Pacific_WM1840_ - Pacific WM1840 Sound
                      Pacific WM1840 Sound
  2: [ 0- 9]: digital audio playback
  3: [ 0- 8]: digital audio playback
  4: [ 0- 7]: digital audio playback
  5: [ 0- 6]: digital audio playback
  6: [ 0- 5]: ?
  7: [ 0- 4]: ?
  8: [ 0- 3]: digital audio playback
  9: [ 0- 2]: digital audio playback
 10: [ 0- 2]: digital audio capture
 11: [ 0- 1]: digital audio playback
 12: [ 0- 1]: digital audio capture
 13: [ 0- 0]: digital audio playback
 14: [ 0- 0]: digital audio capture
 15: [ 0]   : control
 33:        : timer
00-00: i2s0-pri clearwater-aif1-0 :  : playback 1 : capture 1
00-01: pacific-ext voice call clearwater-aif2-1 :  : playback 1 : capture 1
00-02: pacific-ext bluetooth sco clearwater-aif3-2 :  : playback 1 : capture 1
00-03: i2s0-sec clearwater-aif1-3 :  : playback 1
00-06: eax0 clearwater-aif1-6 :  : playback 1
00-07: eax1 clearwater-aif1-7 :  : playback 1
00-08: eax2 clearwater-aif1-8 :  : playback 1
00-09: eax3 clearwater-aif1-9 :  : playback 1
G0: system timer : 10000.000us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P0-1-0: PCM playback 0-1-0 : SLAVE
P0-1-1: PCM capture 0-1-1 : SLAVE
P0-2-0: PCM playback 0-2-0 : SLAVE
P0-2-1: PCM capture 0-2-1 : SLAVE
P0-3-0: PCM playback 0-3-0 : SLAVE
P0-6-0: PCM playback 0-6-0 : SLAVE
P0-7-0: PCM playback 0-7-0 : SLAVE
P0-8-0: PCM playback 0-8-0 : SLAVE
P0-9-0: PCM playback 0-9-0 : SLAVE
Advanced Linux Sound Architecture Driver Version k3.10.61-11881452.

Based on the previous command output and Nura kernel .config file, it seems that this device supports some version of SATA, PCI and also routes audio on bare ALSA.

External links