As God has been very gracious to me in allowing me to compile some different roms for the Samsung Galaxy S4 T-mobile variant (JFLTETMO SGH-M919) phone, I decided to try out compiling AOKP5. I am still working on the SlimMM Rom, but I thought I’d switch it up a bit. I noticed that there was a Verizon version, but none for the GSM phones, such as the T-Mobile. So, after downloading the source, I found that it did not have any 5.0+ device trees, etc, for it, and I slipped in the device trees and vendor items from the SlimRoms that I recently used.
Here was the first error:
[CODE]
make: *** No rule to make target `vendor/aokp/prebuilt/common/etc/selective-spn-conf.xml’, needed by `/home/alaskalinuxuser/Documents/projects/phones/compile/aokp5/out/target/product/jfltetmo/system/etc/selective-spn-conf.xml’. Stop.
make: *** Waiting for unfinished jobs….
[/CODE]
Pretty simple, actually. When moving things from one to another, I needed to edit the vendor/config files to point to the right locations. Hopefully that will now do the trick. However, a little while later I ran into more of the same issues:
[CODE]
device/samsung/qcom-common/overlay/frameworks/base/core/res/res/values-mcc310-mnc260/config.xml:38: error: Resource does not already exist in overlay at ‘config_tether_apndata’; use <add-resource> to add.
device/samsung/qcom-common/overlay/frameworks/base/core/res/res/values-mcc310-mnc260/config.xml:39: error: Resource at config_tether_apndata appears in overlay but not in the base package; use <add-resource> to add.
device/samsung/jf-common/overlay/frameworks/base/core/res/res/values/config.xml:175: error: Resource at config_intrusiveBatteryLed appears in overlay but not in the base package; use <add-resource> to add.
device/samsung/jf-common/overlay/frameworks/base/core/res/res/values/config.xml:178: error: Resource at config_multiColorBatteryLed appears in overlay but not in the base package; use <add-resource> to add.
[/CODE]
Again, a pretty simple fix. When moving things from one source (SlimRoms) to another (AOKP), I needed to edit the device/samsung/jf-common/overlay/frameworks/base/core/res/res/values/config.xml file because it will have alternate resources that are not in the base packages of a different source. The really easy thing to do here is to delete the config.xml file, so it will not overlay, but only use the original source files.
Linux – Keep it simple.