AlaskaLinuxUser's Scratchpad

Commit thy works unto the LORD, and thy thoughts shall be established. - Proverbs 16:3

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.