Skip to content
Snippets Groups Projects

samsung-hero2lte: new-device

Merged Imported Administrator requested to merge device-samsung-hero2lte into master

So this is an attempt at porting pmOS to the Samsung Galaxy S7 edge.

Some quirks include having to disable the camera subsystem to prevent bootloops, and the special dtb.img format (which is why there is a prebuilt one for the kernel in the repository.) - Ideally we would have the exynos dtb handled in the same way as qcdt is now.

Also, the display doesn't work XD - It stays on the splash screen and does nothing else.

USB networking and SSH works though, it's just that weston will not start due to it not supporting the specific framebuffer format of the device (which is some non-standard Samsung thing afaik.)

EDIT: Display in both X and Wayland now works! (Tested with weston and xfce) Yet to try this with osk-sdl yet, but charging-sdl seems to work from what I've seen so far. Also managed to get the in-tree DTBH generator working as well.

Wiki Page: https://wiki.postmarketos.org/wiki/Samsung_Galaxy_S7_Edge_%28samsung-hero2lte%29 (Don't have the means to take a picture of the device yet)

Kernel fork: https://github.com/ivanmeler/android_kernel_samsung_herolte

Edited by Administrator

Merge request reports

Merged by AdministratorAdministrator 6 years ago (Feb 13, 2019 9:09pm UTC)

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 changed the description · Imported

    changed the description

    By William O-D on 2019-01-27T16:58:20

  • Administrator changed the description · Imported

    changed the description

    By William O-D on 2019-01-27T17:48:31

  • Administrator changed the description · Imported

    changed the description

    By William O-D on 2019-01-27T17:51:30

  • Administrator changed the description · Imported

    changed the description

    By William O-D on 2019-01-27T21:48:50

  • Author Owner

    Some quirks include having to disable the camera subsystem to prevent bootloops, and the special dtb.img format (which is why there is a prebuilt one for the kernel in the repository.) - Ideally we would have the exynos dtb handled in the same way as qcdt is now.

    Let us know if you need some pointers to implementing that - it's all in postmarketos-mkinitfs.

    USB networking and SSH works though, it's just that weston will not start due to it not supporting the specific framebuffer format of the device (which is some non-standard Samsung thing afaik.)

    • Maybe you can change the framebuffer format with kconfig.
    • Or you can patch weston to support your format (like this one, has been upstreamed and will be in the next weston release)
    • And you can try out a X11 based UI such as XFCE4, maybe that works out of the box.

    If the display doesn't work, it would be fine for an initial version. We can't have the prebuilt dtb file though, so that needs to be fixed first.

    Thank you very much for creating this port @WilliamO7!

    By Oliver Smith on 2019-02-01T07:49:21

  • Administrator added 45 commits · Imported

    added 45 commits

    • fc1593b8...54a186d0 - 42 commits from branch postmarketOS:master
    • 016a3c2a - samsung-hero2lte: new device
    • 6bc2ce1d - samsung-hero2lte: add defconfig name to APKbuild
    • 1e0c3e5a - samsung-hero2lte: display and dtb generation now work

    Compare with previous version

    By William O-D on 2019-02-11T11:14:00

  • Administrator added 1 commit · Imported

    added 1 commit

    • 38e38d38 - device-samsung-hero2lte: update checksums

    Compare with previous version

    By William O-D on 2019-02-11T11:21:04

  • Administrator unmarked as a Work In Progress · Imported

    unmarked as a Work In Progress

    By William O-D on 2019-02-11T11:22:36

  • Administrator changed the description · Imported

    changed the description

    By William O-D on 2019-02-11T11:22:36

  • Administrator changed the description · Imported

    changed the description

    By William O-D on 2019-02-11T11:23:35

  • Administrator changed the description · Imported

    changed the description

    By William O-D on 2019-02-11T11:26:23

  • Administrator added 1 commit · Imported

    added 1 commit

    • f1482723 - linux-samsung-hero2lte: remove prebuilt dtb

    Compare with previous version

    By William O-D on 2019-02-11T13:30:24

  • Administrator added 1 commit · Imported

    added 1 commit

    • c1fa2b50 - linux-samsung-hero2lte: remove old patch

    Compare with previous version

    By William O-D on 2019-02-11T13:31:29

  • Author Owner

    You wrote that you have got the in-tree DTBH generator working. Does this mean, the fix-dtbtool patch can be dropped?

    Thanks again :)

    By Oliver Smith on 2019-02-12T22:08:12

  • Administrator mentioned in commit wiki@0555998d · Imported

    mentioned in commit wiki@0555998d

    By postmarketOS Wiki bot on 2019-02-12T22:42:49

  • Author Owner

    No, that patch was needed to get the dt.img made along with the kernel build in the first place. I could rename the patch if that wasn't clear?

    By William O-D on 2019-02-13T16:49:44

  • Administrator added 11 commits · Imported

    added 11 commits

    Compare with previous version

    By Oliver Smith on 2019-02-13T21:06:37

  • Author Owner

    Oh, I misunderstood what you mean. But now I get it - awesome that you got the dtbtool shipped with the kernel working! I've rebased on master, squashed the commits, edited the commit message. Shipping! :ship:

    Thanks again @WilliamO7 \o/

    By Oliver Smith on 2019-02-13T21:08:40

  • Administrator merged · Imported

    merged

    By Oliver Smith on 2019-02-13T21:09:48

  • Administrator mentioned in commit 8ebafdf9 · Imported

    mentioned in commit 8ebafdf9

    By William O-D on 2019-02-13T21:09:48

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading