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.
Please let me know if you ended up figuring this out! I’m running into the same issue. Thanks!
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.
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!
What are you building for?
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
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.
Ahh, yeah.. That is a good idea! I’ll give it a shot. Thanks man! 🙂
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. 🙂
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! 😀
You gave two solution, one dirty fix (workaround) and another to commenting doze out. Both works to build, but one with doze and another without doze.
Is there any other really solution you could find?
Thanks.
Hi there, I found the real solution.
This error is result of missing cmsdk library and the solution is to place /vendor/cmsdk/ from Lineage os to vendor folder.