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] [halium-10.0] [a5y17lte] Samsung Galaxy A5 2017 #294

Open
16 tasks done
kquote03 opened this issue May 7, 2022 · 2 comments
Open
16 tasks done

[device-port] [halium-10.0] [a5y17lte] Samsung Galaxy A5 2017 #294

kquote03 opened this issue May 7, 2022 · 2 comments

Comments

@kquote03
Copy link

kquote03 commented May 7, 2022

Tree: https://github.com/aymanrgab/samsung-exynos7880
Kernel: https://github.com/aymanrgab/android_kernel_samsung_axy17lte

  • Create manifest https://gist.github.com/kquote03/96cd2f5d257e042d5c2ac7841073a2aa
  • 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
      *** GPS interface not found :(
    • test_hwcomposer
    • test_lights
      test_lights: test_lights.c:43: main: Assertion notifications->set_light(notifications, &notification_state) == 0' failed.
    • test_vibrator
      Not supported
    • test_wifi
    • test_sensors
    • test_audio
      Audio device API version 0200 doesn't match platform current 3014.test_audio: test_audio.c:71: main: Assertion audiohw->common.version == AUDIO_DEVICE_API_VERSION_CURRENT' failed.
      Even though audio works.
    • test_camera
      Cannot connect to camera
      Camera does not work, but magically works in Waydroid
    • test_input
      library "libis_compat_layer.so" not found
      Even though input works
    • test_nfc
      test_nfc: test_nfc.c:159: testNfc: Assertion hwModule != NULL' failed.
    • test_recorder
      library "libis_compat_layer.so" not found

Currently for bluetooth these lines need to be added for /vendor/build.prop
ro.bt.bdaddr_path=/mnt/vendor/efs/bluetooth/bt_addr
qcom.bluetooth.soc=rome

All credits to @aymanrgab

@kquote03
Copy link
Author

kquote03 commented May 13, 2022

Just for sake of documentation, we are moving to system image method. We needed to rebuild the vendor image (mka vendorimage) as the one provided by the treble mod lacks some libraries that causes the camera to crash.
Note: Java heap size needed to be increased to 4GB (export _JAVA_OPTIONS="-Xmx4g"), otherwise the build would always fail.

Fix was found by @aymanrgab

@kquote03
Copy link
Author

Now we are encountering an issue where the camera app asks for permission but we cant give it permission, does anyone know a fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant