[ROM] LineageOS 14.1 for Samsung Galaxy J3 (2016) [SM-J320FN/F/G/M] [UNOFFICIAL]

Implementing OTA Updates ?

  • Yes

    Votes: 27 93.1%
  • No

    Votes: 2 6.9%

  • Total voters
    29
  • Poll closed .

[email protected]

Senior Member
Jun 25, 2016
1,846
907
123
19
Mladenovac
tehnickaskola.edu.rs
And new error...
Myb sources are corrupted?
I gonna try to sync it again, but build fails at the same place...

HTML:
[ 40% 14727/36218] host Java: bouncycastle-bcpkix-host (/home/danijel/rr/out/host/common/obj/JAVA_LIBRARIES/bouncycastle-bcpkix-host_intermediates/classes)
warning: [options] bootstrap class path not set in conjunction with -source 1.7
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
[ 41% 15039/36218] target R.java/Manifest.java: Bluetooth (/home/danijel/rr/out/target/common/obj/APPS/Bluetooth_intermediates/src/R.stamp)
warning: string 'hello' has no default translation.
[ 41% 15041/36218] Building with Jack: /home/danijel/rr/out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/with-local/classes.dex
FAILED: /bin/bash /home/danijel/rr/out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/with-local/classes.dex.rsp
java.lang.AssertionError: java.util.zip.ZipException: duplicate entry: jayce/java/util/logging/SocketHandler.jayce
	at com.android.sched.vfs.WriteZipFS$ZipEntryOutputStream.writeEntryIfNeeded(WriteZipFS.java:350)
	at com.android.sched.vfs.WriteZipFS$ZipEntryOutputStream.close(WriteZipFS.java:320)
	at com.android.sched.vfs.VFSToVFSWrapper.dumpToDir(VFSToVFSWrapper.java:127)
	at com.android.sched.vfs.VFSToVFSWrapper.dumpToDir(VFSToVFSWrapper.java:112)
	at com.android.sched.vfs.VFSToVFSWrapper.dumpToDir(VFSToVFSWrapper.java:112)
	at com.android.sched.vfs.VFSToVFSWrapper.dumpToDir(VFSToVFSWrapper.java:112)
	at com.android.sched.vfs.VFSToVFSWrapper.dumpToDir(VFSToVFSWrapper.java:112)
	at com.android.sched.vfs.VFSToVFSWrapper.close(VFSToVFSWrapper.java:99)
	at com.android.sched.vfs.ReadWriteZipFS.close(ReadWriteZipFS.java:87)
	at com.android.sched.vfs.GenericOutputVFS.close(GenericOutputVFS.java:56)
	at com.android.jack.library.v0002.OutputJackLibraryImpl.close(OutputJackLibraryImpl.java:218)
	at com.android.jack.Jack.run(Jack.java:742)
	at com.android.jack.Jack.checkAndRun(Jack.java:412)
	at com.android.jack.CommandLine.runJack(CommandLine.java:79)
	at com.android.jack.api.v01.impl.Cli01CompilationTaskImpl.run(Cli01CompilationTaskImpl.java:85)
	at com.android.jack.server.tasks.JackTask.handle(JackTask.java:168)
	at com.android.jack.server.tasks.SynchronousServiceTask.handle(SynchronousServiceTask.java:49)
	at com.android.jack.server.tasks.JackTask.handle(JackTask.java:55)
	at com.android.jack.server.router.PathRouter.handle(PathRouter.java:65)
	at com.android.jack.server.router.ContentTypeParameterRouter.handle(ContentTypeParameterRouter.java:84)
	at com.android.jack.server.router.ContentTypeRouter.handle(ContentTypeRouter.java:82)
	at com.android.jack.server.router.ContentTypeRouter.handle(ContentTypeRouter.java:82)
	at com.android.jack.server.router.ContentTypeRouter.handle(ContentTypeRouter.java:82)
	at com.android.jack.server.router.ContentTypeParameterRouter.handle(ContentTypeParameterRouter.java:84)
	at com.android.jack.server.router.ContentTypeRouter.handle(ContentTypeRouter.java:82)
	at com.android.jack.server.router.ContentTypeRouter.handle(ContentTypeRouter.java:82)
	at com.android.jack.server.router.MethodRouter.handle(MethodRouter.java:67)
	at com.android.jack.server.router.RootContainer.handle(RootContainer.java:49)
	at org.simpleframework.http.core.RequestDispatcher.dispatch(RequestDispatcher.java:121)
	at org.simpleframework.http.core.RequestDispatcher.run(RequestDispatcher.java:103)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.zip.ZipException: duplicate entry: jayce/java/util/logging/SocketHandler.jayce
	at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:232)
	at com.android.sched.util.file.OutputZipFile$CustomZipOutputStream.putNextEntry(OutputZipFile.java:150)
	at com.android.sched.vfs.WriteZipFS$ZipEntryOutputStream.writeEntryIfNeeded(WriteZipFS.java:346)
	... 32 more

Internal compiler error (version 1.2-rc4 'Carnac' (298900 f95d7bdecfceb327f9d201a1348397ed8a843843 by [email protected])).
java.util.zip.ZipException: duplicate entry: jayce/java/util/logging/SocketHandler.jayce.
Warning: This may have produced partial or corrupted output.
[ 41% 15041/36218] build /home/danijel/rr/out/target/common/obj/JAVA_LIBRARIES/sdk_v9_intermediates/classes.jack
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/danijel/rr'

#### make failed to build some targets (01:22:04 (hh:mm:ss)) ####

[email protected] ~/rr $
 

djeman

Senior Member
Mar 6, 2009
471
636
0
For your first error I have this problem on virtualbox, it's a memory problem with jack.

I setted max-service at 1 in ~/.jack-server/config.properties.
And I export that :
Code:
export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4g"
export JACK_SERVER_VM_ARGUMENTS="-Xmx4g -Dfile.encoding=UTF-8 -XX:+TieredCompilation"
And to finish before to compile a part I restart jack :
Code:
./prebuilts/sdk/tools/jack-admin kill-server
./prebuilts/sdk/tools/jack-admin start-server
For the second error maybe you can't continue after the first error :x
 

[email protected]

Senior Member
Jun 25, 2016
1,846
907
123
19
Mladenovac
tehnickaskola.edu.rs
For your first error I have this problem on virtualbox, it's a memory problem with jack.

I setted max-service at 1 in ~/.jack-server/config.properties.
And I export that :


And to finish before to compile a part I restart jack :


For the second error maybe you can't continue after the first error :x
Yeah I have already tried all ?
Maybe RR sources are screwed a little, idk reason but I know that I wasted 2 days to try to fix it :x

Maybe its caused because I am using Linux Mint not Ubuntu (but Linux is Linux, just another distro). I will try again myb next time pass. But thank you for advice :D
 
Last edited:

mire777

Senior Member
Jan 21, 2015
146
21
0
I do not remember exactly how it was.
Also quick after 1.5 years of use phone but I think on custom ROM it's even faster.
[maybe I need new battery ... ]
On stock you should lost 6% battery per hour, on lowest brightness when you do nothing except scroll some pages on net. If you watch video then this is even more.. I think you are ok, but try to test - use phone on lowest brightness for one hour and see how much you lost.
 
Last edited:
  • Like
Reactions: resowy32

[email protected]

Senior Member
Jun 25, 2016
1,846
907
123
19
Mladenovac
tehnickaskola.edu.rs
For your first error I have this problem on virtualbox, it's a memory problem with jack.

I setted max-service at 1 in ~/.jack-server/config.properties.
And I export that :


And to finish before to compile a part I restart jack :


For the second error maybe you can't continue after the first error :x
Jack hates me, its a fact ?
I have tried 10 times today to make a build but no progress same error, same progress.
All is setted up for normal build, booom build fails.
I did all exports no progress.
I have extended swap to 8GBs, nothing...
I said "jack you are my best friend"(I think that he refused me), this didnt help..

Only one solution is left... I gonna reinstall Linux if that not help I gonna say sorry to jack because it's too memory hungry :x

---------- Post added at 07:58 PM ---------- Previous post was at 07:57 PM ----------

Can i flash in my Sm j320G version
Thanks
Yes you can (I think :D)
 

djeman

Senior Member
Mar 6, 2009
471
636
0
Jack hates me too ^^
I tried to build android 4 times today to get a build, 2 times I needed to extend the virtual hdd and 1 time jack have hangs ubuntu at 97% :x

But at the fourth try I got it :)
[100% 78623/78623] build bacon
Package Complete: /home/djeman/android/lineage15/out/target/product/j3xnlte/lineage-15.1-20180430-UNOFFICIAL-j3xnlte.zip
 
  • Like
Reactions: pacurarelvis

[email protected]

Senior Member
Jun 25, 2016
1,846
907
123
19
Mladenovac
tehnickaskola.edu.rs
Jack hates me too ^^
I tried to build android 4 times today to get a build, 2 times I needed to extend the virtual hdd and 1 time jack have hangs ubuntu at 97% :x

But at the fourth try I got it :)
I don't know what happened with jack... before 3 months I didn't have any conflicts with jack its very strange...

Yip I gonna try again to build with Ubuntu mty jack hates Mint :x

Now Ubuntu hates me ?
"Build tools can't be installed because you are running newer version of Ubuntu which is not supported by ..... consider downgrading to older Ubuntu release"
Installing Ubuntu 16.04 now so 18.XX not supported :x
 
Last edited:

borksek

Senior Member
Aug 7, 2017
561
166
53
Blekinge
Jack hates me too ^^
I tried to build android 4 times today to get a build, 2 times I needed to extend the virtual hdd and 1 time jack have hangs ubuntu at 97% :x

But at the fourth try I got it :)
w
Wait.. is Oreo done?

---------- Post added at 07:20 AM ---------- Previous post was at 07:09 AM ----------

If it is, can you please update the sources on the GitHub repository so AIM Oreo can be built and made official due to being close with official on nougat but it dropped support. They said if Oreo can be built we will see the first official ROM ?

---------- Post added at 07:21 AM ---------- Previous post was at 07:20 AM ----------

Link would also be nice ?
 
Last edited: