samsung-zeroltexx: new device Samsung Galaxy S6 edge (G925F)
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.
Merge request reports
Activity
added 1 commit
- 12b854c7 - samsung-zeroltexx: Remove exec bit for post-install script.
By st s on 2021-04-09T00:25:20
added 41 commits
-
12b854c7...1056a890 - 39 commits from branch
postmarketOS:master
- a26780de - samsung-zeroltexx: new device Samsung Galaxy S6 edge (G925F)
- a0634883 - samsung-zeroltexx: Remove exec bit for post-install script.
By st s on 2021-04-09T00:34:33
-
12b854c7...1056a890 - 39 commits from branch
added 1 commit
- 2ef7af60 - samsung-zeroltexx: initial package rev. number fixed
By st s on 2021-04-09T00:41:51
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
Regarding
Based on some unofficial LineageOS 17.1 port (from https://www.los-legacy.de/17.1/zeroltexx)
Isn't it better to link to the source (github.com/exynos7420) instead of a distribution site?
By Henrik Grimler on 2021-04-09T18:41:53
Edited by Ghost User
- 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
added 1 commit
- 8ab3d77d - samsung-zeroltexx: Fix firmware search path for FIMC-IS driver.
By st s on 2021-04-10T20:35:46
added 1 commit
- f6f843e7 - samsung-zeroltexx: Fix display colors (blue and red were swapped). Copied from...
By st s on 2021-04-10T21:08:48
- Resolved by Administrator
Looks like the host rndis mac address is set to all zeros, this patch fixes it: https://gitlab.postmarketos.org/postmarketos/pmaports/-/blob/master/device/testing/linux-samsung-a5y17lte/0007-usb_gadget-set-random-rndis-host-MAC-address-to-prev.patch (and makes it less annoying to connect to the device)
By Henrik Grimler on 2021-04-11T11:44:41
Edited by Ghost User
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...
By st s on 2021-04-11T19:26:18
Toggle commit listadded 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.
By st s on 2021-04-11T20:42:26
Toggle commit list-
ba9281ff...9ea2e7e8 - 9 commits from branch
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 Administratoradded category::device + 1 deleted label
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
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)
By st s on 2021-05-23T19:26:58
Toggle commit list-
5cc9f6d8...e7cb7b04 - 110 commits from branch
added 1 commit
- d0023f12 - samsung-zeroltexx: Fix kernel config (add CONFIG_DEVPTS_MULTIPLE_INSTANCES).
By st s on 2021-05-23T22:55:20
- Resolved by Administrator
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 Administratoradded 94 commits
-
d0023f12...d7bcaece - 93 commits from branch
postmarketOS:master
- 4c0ec94e - samsung-zeroltexx: new device Samsung Galaxy S6 edge (G925F) (MR 2105)
By Oliver Smith on 2021-06-08T22:24:13
-
d0023f12...d7bcaece - 93 commits from branch
enabled an automatic merge when the pipeline for 4c0ec94e succeeds
By Oliver Smith on 2021-06-08T22:25:25
mentioned in merge request !2263 (merged)
By st s on 2021-06-19T23:39:39