And so the epic journey to compile SlimMM for the JFLTETMO continues….

[CODE]
warning: string ‘gsm_alphabet_default_charset’ has no default translation.
device/samsung/qcom-common/overlay/frameworks/base/core/res/res/values/cm_arrays.xml:19: error: Resource does not already exist in overlay at ‘shutdown_reboot_options’; use <add-resource> to add.

device/samsung/qcom-common/overlay/frameworks/base/core/res/res/values/cm_arrays.xml:20: error: Resource at shutdown_reboot_options appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/qcom-common/overlay/frameworks/base/core/res/res/values/cm_arrays.xml:21: error: Resource at shutdown_reboot_options appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/qcom-common/overlay/frameworks/base/core/res/res/values/cm_arrays.xml:22: error: Resource at shutdown_reboot_options appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/qcom-common/overlay/frameworks/base/core/res/res/values/cm_arrays.xml:23: error: Resource at shutdown_reboot_options appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/qcom-common/overlay/frameworks/base/core/res/res/values/cm_arrays.xml:28: error: Resource does not already exist in overlay at ‘shutdown_reboot_actions’; use <add-resource> to add.

device/samsung/qcom-common/overlay/frameworks/base/core/res/res/values/cm_arrays.xml:29: error: Resource at shutdown_reboot_actions appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/qcom-common/overlay/frameworks/base/core/res/res/values/cm_arrays.xml:30: error: Resource at shutdown_reboot_actions appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/qcom-common/overlay/frameworks/base/core/res/res/values/cm_arrays.xml:31: error: Resource at shutdown_reboot_actions appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/qcom-common/overlay/frameworks/base/core/res/res/values/cm_arrays.xml:32: error: Resource at shutdown_reboot_actions 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:166: error: Resource at config_multiColorNotificationLed 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:169: 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:172: error: Resource at config_multiColorBatteryLed 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:239: error: Resource at config_deviceHardwareKeys 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:253: error: Resource at config_deviceHardwareWakeKeys appears in overlay but not in the base package; use <add-resource> to add.

make: *** [/home/alaskalinuxuser/Documents/projects/phones/compile/slimroms6/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file `/home/alaskalinuxuser/Documents/projects/phones/compile/slimroms6/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk’
make: *** Waiting for unfinished jobs….
Kernel: arch/arm/boot/Image is ready
Kernel: arch/arm/boot/zImage is ready
make[1]: Leaving directory `/home/alaskalinuxuser/Documents/projects/phones/compile/slimroms6/kernel/samsung/jf’
DTBs not enabled
Kernel Modules not enabled
make: Leaving directory `/home/alaskalinuxuser/Documents/projects/phones/compile/slimroms6′

#### make failed to build some targets (52:46 (mm:ss)) ####
[/CODE]

It would appear that taking the a CM device tree and putting it into SlimRoms was not exactly a drop in ready solution! That’s okay, since I wasn’t expecting it to be. Here are several cm.array and config xml problems. These files are specifically setting up things that would work with CM13. However, those items don’t exist in SlimRoms, so these two files should just be removed. It seems to me that there should be SOME xml files here, however, so I removed these and dropped in some from SlimLP thinking hopefully that will work. Well, it didn’t, so I just removed them entirely.

Linux – Keep it simple.

10 Replies to “Compile SlimRoms 6.0 for the Samsung Galaxy S4 T-mobile variant (JFLTETMO SGH-M919)”

  1. Hi,
    Can you suggest how to in Nougat build?
    For eg: if I remove following line from overlay deviceHardwareWakeKeys then HW wake up wont work, but if I want HW wakeup enable how and where do I add resource?
    Thanks

    1. Sorry you are having trouble. What doesn’t work about it? What (be very specific) is the error you get? I’ve used that method on nougat before, so it should work. Perhaps if you tell me the exact error message, and show me that set of lines in the file, we can figure it out. 😉

  2. Thanks so very much for your support, really appreciate and apologies for delay in responding back.

    Following are the error lines I receive while building:
    device/samsung/hlte-common/overlay/frameworks/base/core/res/res/values/config.xml:258: error: Resource at config_deviceHardwareWakeKeys appears in overlay but not in the base package; use to add.

    device/samsung/hlte-common/overlay/frameworks/base/core/res/res/values/config.xml:319: error: Resource at config_useDefaultBatchingForAccel appears in overlay but not in the base package; use to add.

    which refer to following file:
    https://github.com/LineageOS/android_device_samsung_hlte-common/blob/cm-14.1/overlay/frameworks/base/core/res/res/values/config.xml

    Thanks again and looking forward for the solution.

  3. Sorry, some text just got missing while copy past. Error as following:
    device/samsung/hlte-common/overlay/frameworks/base/core/res/res/values/config.xml:258: error: Resource at config_deviceHardwareWakeKeys appears in overlay but not in the base package; use to add.

    device/samsung/hlte-common/overlay/frameworks/base/core/res/res/values/config.xml:319: error: Resource at config_useDefaultBatchingForAccel appears in overlay but not in the base package; use to add.

    1. It might be an anti spam feature, since the paths can look like URLs. So you have an account on XDA? If you do, you can pm “alaskalinuxuser” to contact me there. Might work better than here. Or you can start a thread on XDA asking for help, and tag me by writing “@alaskalinuxuser” in the post.

  4. You know your blog is good!

    I can always PM you on XDA, but the solution posted here will always be here and would be useful for many.

    I keep referring to you blog for solving errors and add little bit of my experience, so that I dont have to remember solutions which worked!

    Anyways, I hope you could help me resolve above error too.

    1. No problem communicating here, but if it cuts off your question, it gets hard to answer. So I think your question is about the fail for default batching. I have that set for false in my klte-common repo, so it should work as written. Then something is missing. So you have all your hardware and vendor folders. As you know, this is for your accelerometer sensor. What SoC do you have in the hlte? Is that the s3?

Leave a Reply

Your email address will not be published. Required fields are marked *