RevampedFMRadio icon indicating copy to clipboard operation
RevampedFMRadio copied to clipboard

hello i am trying bulid the apk but how

Open madodream89 opened this issue 1 year ago • 1 comments

hello i am trying bulid a apk but not works

https://github.com/klabit87/android_device_samsung_crownqltechn

https://github.com/madodream89/radiofm_samsung_crownqltechn/tree/main

madodream89 avatar Oct 11 '24 01:10 madodream89

The information on how to build is in the docs, read them.(installation)

Installation

  1. Clone the branch that corresponds to your device SoC, for example:

    • Use as an in-tree package within the device tree (Recommended):
      git clone --depth=1 -b qcom https://github.com/iusmac/RevampedFMRadio.git
      
    • Use as a project via Local Manifests (Not recommended):
      <remote name="iusmac" fetch="https://github.com/iusmac" revision="qcom" />
      <project path="packages/apps/RevampedFMRadio" name="RevampedFMRadio" remote="iusmac" />
      
      NOTE: there's a high chance of getting something broken if you always fetch upstream changes. It's recommended to go with in-tree package within your device tree, and from time to time manually merge and check upstream changes.
  2. Add app to device.mk:

PRODUCT_PACKAGES += \
    RevampedFMRadio

Note: RevampedFMRadio package will override FMRadio package if the ROM sources still ship it.

Qualcomm SoC-specific part

  1. Add JNI library to device.mk:
PRODUCT_PACKAGES += \
    libqcomfmjni
  1. Make sure you have vendor.qcom.bluetooth.soc prop in your vendor.prop file. You may already have something similar, like vendor.bluetooth.soc, but it's legacy. Rename if proprietary blobs support new prop name or duplicate the value using new prop name to ensure RevampedFMRadio can properly comunicate to your device's Bluetooth SoC.
  2. Allow app to read vendor properties mentioned in the previous step:
# sepolicy/vendor/system_app.te
get_prop(system_app, vendor_bluetooth_prop)

ramenrolls avatar Jan 25 '25 20:01 ramenrolls