Compile SlimRoms 6.0 for the Samsung Galaxy S4 T-mobile variant (JFLTETMO SGH-M919)

Well, since God was gracious enough to allow me to complete a working compilation of SlimRoms 5.1.1 for the Samsung Galaxy S4 T-mobile variant (JFLTETMO SGH-M919), I decided it was time to try to compile a SlimRoms 6.0 ROM as well. There is not an up-to-date branch (mm6.0) for the JFTLETMO in the SlimRoms repository. However, there is several available branches in other repositories. I have chosen the same branch from the CyanogenMod repository that I recently used to successfully compile CM13 for the JFLTETMO phone.

After setting up my build environment, here was the first set of failures:

[CODE]
logtags: /home/alaskalinuxuser/Documents/projects/phones/compile/slimroms6/out/target/common/obj/APPS/PackageInstaller_intermediates/src/src/com/android/packageinstaller/EventLogTags.java <= packages/apps/PackageInstaller/src/com/android/packageinstaller/EventLogTags.logtags
Notice file: packages/apps/PackageInstaller/NOTICE — /home/alaskalinuxuser/Documents/projects/phones/compile/slimroms6/out/target/product/jfltetmo/obj/NOTICE_FILES/src//system/priv-app/PackageInstaller/PackageInstaller.apk.txt
make: *** No rule to make target `/home/alaskalinuxuser/Documents/projects/phones/compile/slimroms6/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates/classes.jack’, needed by `/home/alaskalinuxuser/Documents/projects/phones/compile/slimroms6/out/target/common/obj/APPS/SamsungDoze_intermediates/with-local/classes.dex’. Stop.
make: *** Waiting for unfinished jobs….
make: Leaving directory `/home/alaskalinuxuser/Documents/projects/phones/compile/slimroms6′

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

Doze is a new option that allows for deeper sleep cycles when your phone is not in use. Supposedly it can add significant time to your battery life in respect to the time that your phone is sitting unused. I don’t think that my quick and dirty fix is the right answer, but I think this will keep things moving while I figure it out:

[CODE]
alaskalinuxuser@alaskalinuxuser-HP-Compaq-6715b-FY288UC-ABA:~/Documents/projects/phones/compile/slimroms6$ mkdir /home/alaskalinuxuser/Documents/projects/phones/compile/slimroms6/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates
alaskalinuxuser@alaskalinuxuser-HP-Compaq-6715b-FY288UC-ABA:~/Documents/projects/phones/compile/slimroms6$ touch /home/alaskalinuxuser/Documents/projects/phones/compile/slimroms6/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates/classes.jack
[/CODE]

And I gave it another run. Usually this process takes hours. We’ll see how it goes!

Linux – Keep it simple.

Advertisements

9 thoughts on “Compile SlimRoms 6.0 for the Samsung Galaxy S4 T-mobile variant (JFLTETMO SGH-M919)

    1. In the end, I got Slim Roms 6 to compile by commenting doze out in the jf-common/BoardConfigCommon.mk file. This allowed it to build, but without the doze function.

      Like

      1. Yeah, I’ve been building for a while now by commenting it out as well. I was hoping for a way to get it to build with it, but I guess I’ll just have to keep doing it the other way…

        Thanks for letting me know!

        Like

      2. Galaxy S5 (KLTESPR)

        I’m currently building Cyanide Android (best ROM I’ve ever seen!) and have been running into the doze issue with it. Doesn’t seem to matter who’s device trees I use either. But the ROM runs fine without the doze service. It would just be nice to get it going I guess. Lol

        Like

      3. Great! Yeah, I have gotten doze to work in other ROMs by cheating. I built CM13, in which doze works, then, when I get this error, I copy the files from my CM13 out directory to where it wants it to be. Something you may try as well. Not a fix, but a good workaround.

        Like

      4. Hey man,

        Just wanted to let you know that your suggestion worked and I was able to get doze to compile by moving the needed stuff from a CyanogenMod build! Thanks again for the help. ๐Ÿ™‚

        Like

      5. Great! I am glad it worked for you, and thanks for taking the time to let me know how things turned out! I am just glad some of my ramblings actually were useful! ๐Ÿ˜€

        Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s