Skip to content
Snippets Groups Projects

samsung-zeroltexx: new device Samsung Galaxy S6 edge (G925F)

Merged Imported Administrator requested to merge samsung-zeroltexx into master
All threads resolved!

This is work to support Samsung Galaxy S6 edge devices (G925F aka zeroltexx). Inspired by some unofficial LineageOS 17.1 port (from https://www.los-legacy.de/17.1/zeroltexx), using the kernel sources from https://github.com/Exynos7420/android_kernel_samsung_exynos7420.

Although there was an earlier report of device support (by Aleksas) on the Wiki page https://wiki.postmarketos.org/wiki/Samsung_Galaxy_S6_Edge_(samsung-zeroltexx) the corresponding port was not available in the repository.

With this port, what works already is:

  • Kernel boots
  • Display and touch input (tested with Weston and Sxmo)
  • USB networking
  • Wifi

Firmware files for media (e.g. audio, camera) have not been included, as I wasn't yet able to successfully use these subsystems.

Edited by Administrator

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Administrator
    • Author Owner
      Resolved by Administrator

      Are the non-wifi fw files, i.e.

      seiren_fw_dram.bin
      seiren_fw_sram.bin
      fimc_is_fw2.bin
      fimc_is_fw2_2p2.bin
      fimc_is_fw2_imx240.bin
      mfc_fw.bin
      setfile_2p2.bin
      setfile_4e6.bin
      setfile_6b2.bin
      setfile_imx240.bin
      companion_2p2_master_setfile.bin
      companion_2p2_mode_setfile.bin
      companion_fw_2p2_evt1.bin
      companion_fw_imx240_evt1.bin
      companion_imx240_master_setfile.bin
      companion_imx240_mode_setfile.bin
      ois_fw_dom.bin
      ois_fw_sec.bin

      necessary to make device boot? Or do you get more things working by adding them (which things in that case)?

      By Henrik Grimler on 2021-04-09T18:40:07

      Edited by Ghost User
  • Author Owner

    Also, nice work! I will give it a try on my 925f during the weekend :)

    By Henrik Grimler on 2021-04-09T09:17:07

  • Administrator changed the description · Imported

    changed the description

    By st s on 2021-04-10T20:27:29

  • Administrator added 2 commits · Imported

    added 2 commits

    • f9def472 - samsung-zeroltexx: Add info on the patch preventing crash due to v4l_id probing.
    • 99e77555 - samsung-zeroltexx: Fix firmware search path for FIMC-IS driver.

    Compare with previous version

    By st s on 2021-04-10T20:28:16

  • Administrator added 1 commit · Imported

    added 1 commit

    • 8ab3d77d - samsung-zeroltexx: Fix firmware search path for FIMC-IS driver.

    Compare with previous version

    By st s on 2021-04-10T20:35:46

  • Administrator added 1 commit · Imported

    added 1 commit

    • f6f843e7 - samsung-zeroltexx: Fix display colors (blue and red were swapped). Copied from...

    Compare with previous version

    By st s on 2021-04-10T21:08:48

  • Administrator changed the description · Imported

    changed the description

    By st s on 2021-04-10T21:10:08

  • Administrator added 6 commits · Imported

    added 6 commits

    • 9cf7628a - samsung-zeroltexx: remove trailing whitespace in comment line (to make lint happy)
    • 461b4e20 - samsung-zeroltexx: Copied/adapted patch to set random MAC address instead of...
    • e81d3a39 - Revert "samsung-zeroltexx: remove trailing whitespace in comment line (to make lint happy)"
    • 445570fd - Revert "samsung-zeroltexx: Fix display colors (blue and red were swapped)....
    • fcc397b7 - samsung-zeroltexx: Fix red/blue swap of framebuffer display
    • ba9281ff - fixup! samsung-zeroltexx: Copied/adapted patch to set random MAC address...

    Compare with previous version

    By st s on 2021-04-11T19:26:18

  • Administrator added 16 commits · Imported

    added 16 commits

    • ba9281ff...9ea2e7e8 - 9 commits from branch postmarketOS:master
    • 2d736761 - samsung-zeroltexx: new device Samsung Galaxy S6 edge (G925F)
    • cbcb827b - samsung-zeroltexx: Add info on the patch preventing crash due to v4l_id probing.
    • c0eee0e6 - samsung-zeroltexx: Fix firmware search path for FIMC-IS driver.
    • fcb7700c - samsung-zeroltexx: remove trailing whitespace in comment line (to make lint happy)
    • dc08626e - samsung-zeroltexx: Copied/adapted patch to set random MAC address instead of...
    • e708d54d - samsung-zeroltexx: Fix red/blue swap of framebuffer display
    • 5cc9f6d8 - samsung-zeroltexx: Create common firmware package for zeroltexx and zerofltexx.

    Compare with previous version

    By st s on 2021-04-11T20:42:26

  • Administrator marked this merge request as ready · Imported

    marked this merge request as ready

    By st s on 2021-04-13T21:28:18

  • Administrator resolved all threads · Imported

    resolved all threads

    By st s on 2021-04-13T21:35:18

  • Author Owner

    I tested the current state again with a fresh rebuild (this time using weston, again), and it seems to work fine as described above (Kernel boots, Display with correct RGB, touch input works, USB networking works (now with MAC automatically set on PC side) as well as Wifi.

    By st s on 2021-04-14T17:18:48

    Edited by Administrator
  • Administrator added category::device + 1 deleted label · Imported

    added category::device + 1 deleted label

  • Administrator changed the description · Imported

    changed the description

    By st s on 2021-04-19T19:09:55

  • Administrator
  • Administrator
  • Administrator
  • Author Owner

    Thanks for the port, @st.s!

    By Oliver Smith on 2021-04-25T17:31:20

  • Administrator added 120 commits · Imported

    added 120 commits

    • 5cc9f6d8...e7cb7b04 - 110 commits from branch postmarketOS:master
    • 0c450c93 - samsung-zeroltexx: new device Samsung Galaxy S6 edge (G925F)
    • 1fb9e00b - samsung-zeroltexx: Add info on the patch preventing crash due to v4l_id probing.
    • def31b16 - samsung-zeroltexx: Fix firmware search path for FIMC-IS driver.
    • 7ca21880 - samsung-zeroltexx: remove trailing whitespace in comment line (to make lint happy)
    • 92ed8858 - samsung-zeroltexx: Copied/adapted patch to set random MAC address instead of...
    • d7b5757a - samsung-zeroltexx: Fix red/blue swap of framebuffer display
    • 1bf6638a - samsung-zeroltexx: Create common firmware package for zeroltexx and zerofltexx.
    • bae34e90 - samsung-zeroltexx: Removed commented out previsions to install media firmware files.
    • 6cbb0c97 - samsung-zeroltexx: Remove empty strings (review comment) and fill partition names for heimdall.
    • c388ac70 - samsung-zeroltexx: Remove comment (addresses reviewer comment)

    Compare with previous version

    By st s on 2021-05-23T19:26:58

  • Administrator added 1 commit · Imported

    added 1 commit

    • d0023f12 - samsung-zeroltexx: Fix kernel config (add CONFIG_DEVPTS_MULTIPLE_INSTANCES).

    Compare with previous version

    By st s on 2021-05-23T22:55:20

  • Administrator marked this merge request as draft · Imported

    marked this merge request as draft

    By st s on 2021-05-23T22:57:10

  • Administrator changed the description · Imported

    changed the description

    By st s on 2021-05-23T22:58:36

  • Administrator resolved all threads · Imported

    resolved all threads

    By st s on 2021-05-25T10:21:23

  • Administrator marked this merge request as ready · Imported

    marked this merge request as ready

    By st s on 2021-05-25T10:21:27

  • Administrator
  • Author Owner

    Besides the udev rule, this looks good to me. Thanks @st.s!

    By Oliver Smith on 2021-05-27T01:25:14

  • Author Owner

    Side note: ALSA sound works fine if I compile the kernel with gcc6 (similar to MR 346, where this was also necessary due to some "alignment fault"). I'll check if I can make this work with gcc10 too (I'll try to experiment with the kernel compile options). I also had to switch on the speaker output path explicitly with alsactl (actually, I copied a the full configuration from a running Android and used alsactl restore), otherwise the DMA transfer just hangs. Due to some more hacks (firmware in /lib/firmware instead of /lib/firmware/postmarketos etc.) I'd prefer to put this in a followup MR. I'd also create a separate MR for the zerofltexx (G920F) to use the common firmware package (firmware-samsung-zero) and fix WiFi for that device, once this one gets merged.

    By st s on 2021-06-05T14:48:19

    Edited by Administrator
  • Administrator approved this merge request · Imported

    approved this merge request

    By Alexey Min on 2021-06-05T14:25:21

  • Administrator resolved all threads · Imported

    resolved all threads

    By Oliver Smith on 2021-06-08T22:20:49

  • Administrator added 94 commits · Imported

    added 94 commits

    • d0023f12...d7bcaece - 93 commits from branch postmarketOS:master
    • 4c0ec94e - samsung-zeroltexx: new device Samsung Galaxy S6 edge (G925F) (MR 2105)

    Compare with previous version

    By Oliver Smith on 2021-06-08T22:24:13

  • Administrator approved this merge request · Imported

    approved this merge request

    By Oliver Smith on 2021-06-08T22:25:22

  • Administrator enabled an automatic merge when the pipeline for 4c0ec94e succeeds · Imported

    enabled an automatic merge when the pipeline for 4c0ec94e succeeds

    By Oliver Smith on 2021-06-08T22:25:25

  • Administrator merged · Imported

    merged

  • Administrator mentioned in merge request !2263 (merged) · Imported

    mentioned in merge request !2263 (merged)

    By st s on 2021-06-19T23:39:39

  • Author Owner

    Thank you all for this port.

    By Rodgers on 2022-01-17T16:24:51

  • Please register or sign in to reply
    Loading