Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[device-port] [dreamlte] [dream2lte] Port to Samsung Galaxy S8(+) #64

Open
vanyasem opened this issue Mar 4, 2018 · 4 comments

Comments

@vanyasem
Copy link
Member

commented Mar 4, 2018

Tree: halium-7.1

  • Create manifest: samsung_dream2lte.xml
  • Boot image and system image build successfully
  • Device boots into rootfs, usb: Manufacturer: GNU/Linux Device appears in dmesg on host.
  • LXC container starts and does not crash
  • libhybris tests
    • test_gps
    • test_hwcomposer
    • test_lights
    • test_vibrator
    • test_wifi
    • test_sensors
    • test_audio
    • test_camera
    • test_input
    • test_nfc
    • test_recorder
  • Test various rootfs

Prebuilt images for S8+: halium.ivanismy.name/sgs8+

Sidenote 0: Both dreamlte and dream2lte share the same common tree, but yet there are minor differences. This port was only tested on dream2lte at the moment.

Sidenote 1: Some tests are broken in Halium 7.1. They won't work until they get fixed

Sidenote 2: It appears that the device is able to boot UBports rootfs with halium-boot, as it creates all the necessary folders in /data and doesn't bootloop, but no debugging interfaces are exposed (neither telnet nor ssh), so it's impossible to see what's going on. Update: The problem lies in hybris-boot not supporting configfs on 4.4 kernels

Sidenote 3: If selinux is disabled (or set to permissive), the device will show you a red warning "kernel is not seandroid enforcing" on top of the screen. This should not prevent the phone from booting

Sidenote 4: There is no official LineageOS 14.1 for the device, and probably will never be, as most of the developers are working on getting 15.1 to boot at the moment. I will try to maintain the fork of 14.1 myself. The latest image is uploaded next to my Halium images

@vanyasem vanyasem added the Ports label Mar 4, 2018

@vanyasem vanyasem self-assigned this Mar 4, 2018

@ZeroPointEnergy

This comment has been minimized.

Copy link

commented Mar 4, 2018

There is a fix for the seandroid enforcing warning. It is literally just the string SEANDROIDENFORCE appended to the end of the image. I created a PR, but not sure if this is the right way to do it:

Halium/halium-boot#3

@mgood7123

This comment has been minimized.

Copy link

commented Sep 7, 2019

is this still active? its been over a year

@vanyasem

This comment has been minimized.

Copy link
Member Author

commented Sep 8, 2019

@mgood7123 halium doesn't support anything newer than LOS14.1. Stable LOS 14.1 is not available for dream2lte (read sidenote 4)

There is a LOS 16.0 build for dream2lte available, so there's hope for that when (or if) Halium supports LOS 16.0

It doesn't make any sense to port a broken OS on top of a broken OS. You won't be able to use it as a phone anyways. If you just want to use it as an aarch64 server, you can do it anyway, even without halium

@vanyasem

This comment has been minimized.

Copy link
Member Author

commented Sep 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.