PitchBlackRecoveryProject / android_bootable_recovery

The heart :heart: of PBRP
https://pitchblackrecovery.com
Apache License 2.0
100 stars 42 forks source link

[BUG] SELinux Issue (plat_hwservice_contexts) [A10] #61

Closed Velosh closed 3 years ago

Velosh commented 3 years ago

Tell Us About Your Device First

Device Codename: a50dd Official Build of PBRP from https://pitchblackrecovery.com/#downloads: No PBRP Version: 3.0.0

Describe The Bug

At the end of the compilation, I get a SELinux error (specifically: plat_hwservice_contexts), and the problem is not in the device tree.

Steps Needed To Reproduce The Behavior

  1. Go to Pitch Black Recovery Project 10 Source Folder, clone the Device Tree
  2. Run: source build/envsetup.sh; lunch omni_a50dd-eng && mka recoveryimage
  3. Wait the build
  4. See error

Expected Behavior

A successful build

Screenshots

https://imgur.com/oVjgDBv

Additional Context

Tested with Team Win Recovery Project 10.0, compiled normally


You can join our community on Telegram

Velosh commented 3 years ago

DT: https://github.com/yukosky/android_device_samsung_a50dd

rezaadi0105 commented 3 years ago

Device dynamic partitions ? Stock out of box A9/A10

Pada tanggal Kam, 26 Nov 2020 01.21, yukosky notifications@github.com menulis:

DT: https://github.com/yukosky/android_device_samsung_a50dd

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PitchBlackRecoveryProject/android_bootable_recovery/issues/61#issuecomment-733874780, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJNAY5TBG5BMQAO56KHQZKLSRVDLDANCNFSM4UCXYNKQ .

Velosh commented 3 years ago

Device dynamic partitions ? Stock out of box A9/A10 Pada tanggal Kam, 26 Nov 2020 01.21, yukosky notifications@github.com menulis: DT: https://github.com/yukosky/android_device_samsung_a50dd — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#61 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJNAY5TBG5BMQAO56KHQZKLSRVDLDANCNFSM4UCXYNKQ .

Nope, only A51 is dynamic. The first android version of the A50 Stock ROM was Android Pie

SIDDK24 commented 3 years ago

Device dynamic partitions ? Stock out of box A9/A10 Pada tanggal Kam, 26 Nov 2020 01.21, yukosky notifications@github.com menulis: DT: https://github.com/yukosky/android_device_samsung_a50dd — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#61 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJNAY5TBG5BMQAO56KHQZKLSRVDLDANCNFSM4UCXYNKQ .

Nope, only A51 is dynamic. The first android version of the A50 Stock ROM was Android Pie

Use a9 source

Velosh commented 3 years ago

Use a9 source

Will there be a problem using Android Q kernel on source Pie?

rezaadi0105 commented 3 years ago

work good kernel Q with manifest 9

Velosh commented 3 years ago

work good kernel Q with manifest 9

Thanks for reply, I'll downgrade the source to Android P later.

Velosh commented 3 years ago

Any progress?

manjotsidhu commented 3 years ago

We are not facing this issue on our end with different device trees. Looks like a device specific errors or your build environment is giving out this error.

AndroiableDroid commented 3 years ago

@manjotsidhu Hopefully your issues would be fixed by Sunday

AndroiableDroid commented 3 years ago

try now @yukosky your issue should be fixed

Velosh commented 3 years ago

try now @yukosky your issue should be fixed

Okay, about 6h I'll test it.

Velosh commented 3 years ago

Captura de ecrã_2020-12-13_17-39-11 Nice, the issue is fixed! Thanks, which commit fixed that issue?

manjotsidhu commented 3 years ago

https://github.com/PitchBlackRecoveryProject/android_bootable_recovery/commit/3a32e1820d3b2ef0054921be8c647331841aba7c