[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 .

borksek

Senior Member
Aug 7, 2017
561
166
53
Blekinge
I ask myself if this rom works with the sm-j320m variant? If not, is there a way to make it work?
No and yes. You can't make it tough. Someone more experienced has to. People asking this question means they don't know anything about ROM development. And j320m has a SC8830A while devices that are supported only has SC9830A chipset.

---------- Post added at 07:14 AM ---------- Previous post was at 07:13 AM ----------

Is there any ADB commands tutorial or tools to customize LineAgeOS 14.1 status bar, dark theme settings color etc, like RR/Octo-N/Palm ROM extra settings menu?
What???? NO adb DOSENT do anything what you just mentioned???? Do you know what ADB even is???
 

oned_gk

Senior Member
Sep 29, 2017
176
21
0
Cilacap
ADB Commands

No and yes. You can't make it tough. Someone more experienced has to. People asking this question means they don't know anything about ROM development. And j320m has a SC8830A while devices that are supported only has SC9830A chipset.

---------- Post added at 07:14 AM ---------- Previous post was at 07:13 AM ----------


What???? NO adb DOSENT do anything what you just mentioned???? Do you know what ADB even is???
Not sure, i don't know android programming
In my mind there are several setting properties that we can modify via ADB commands.
 

minhngt

Member
Sep 19, 2017
33
1
0
some problem..
LOS13: slow charging problem.
LOS14.1: charging not increase any percent of battery while screen on, and hight temprure.
Hope it better in next build! :)
 

borksek

Senior Member
Aug 7, 2017
561
166
53
Blekinge
some problem..
LOS13: slow charging problem.
LOS14.1: charging not increase any percent of battery while screen on, and hight temprure.
Hope it better in next build! :)
Probably your phone. Who uses it while charging? It ruins battery life and battery charge time.

---------- Post added at 03:33 PM ---------- Previous post was at 03:25 PM ----------

I'll have a look
You find anything?
 

minhngt

Member
Sep 19, 2017
33
1
0
Probably your phone. Who uses it while charging? It ruins battery life and battery charge time.

---------- Post added at 03:33 PM ---------- Previous post was at 03:25 PM ----------


You find anything?
Im charging while use (on screen) as normaly in stock rom bro
 

phoenix_wnd

Senior Member
Nov 27, 2011
78
48
48
I know, fixed. I wrote /.../prebuilds instead prebuilts ^^
So new build is ready ;)
I've builded via phone and don't have copy paste need to write all commands manually ^^
Hey!
I'm trying to build from sources on my own and getting same errors as you got.
Can you remember which makefiles had to be fixed?
Thanks in advance
PhoeniX
 

borksek

Senior Member
Aug 7, 2017
561
166
53
Blekinge
Hey!
I'm trying to build from sources on my own and getting same errors as you got.
Can you remember which makefiles had to be fixed?
Thanks in advance
PhoeniX
Me and Daniel use magic to create our roms called local_manifest.xml it installs all the stuff we need to build the rom. First: Do you have Linux therminal? Second: Do you have the local_manifest.xml? Third: Are you familiar with Linux and/or ROM creating? You can't just watch YouTube videos and think you'll pass. I don't say I do all on my own, Danijel does 90% of the stuff and teaching me along the way :). Fourth: For what model? J320FN,F,G? If something else you won't pass.
 

phoenix_wnd

Senior Member
Nov 27, 2011
78
48
48
Me and Daniel use magic to create our roms called local_manifest.xml it installs all the stuff we need to build the rom. First: Do you have Linux therminal? Second: Do you have the local_manifest.xml? Third: Are you familiar with Linux and/or ROM creating? You can't just watch YouTube videos and think you'll pass. I don't say I do all on my own, Danijel does 90% of the stuff and teaching me along the way :). Fourth: For what model? J320FN,F,G? If something else you won't pass.
Thanks for your reply; just look into my signature, i'm kinda familiar with rom-building...
just need the fixed makefile or at least a pointer to which makefile has been fixed for the build process of the sprd/utgard modules...
if you can help me, thanks in advance
else i'll wait for Daniel to answer
 
Last edited:

[email protected]

Senior Member
Jun 25, 2016
1,846
907
123
19
Mladenovac
tehnickaskola.edu.rs
Guys you just need to export right complier typing right command in terminal(from ROM dir)

#COMMAND Jack VM Complier limit 6g marks 6gbs of RAM
You need to type this only if you build Nougat ROMs to avoid jack memory heap

Code:
export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx6g"
#COMMAND

This is the most important command this command exports complier needed to build sprd modules ;)

Code:
export PATH=$(pwd)/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin:$PATH

# COMMAND

Preparing all for build

Code:
 . build/e*
#COMMAND

Starting build procces
Code:
brunch j3xnlte
P.S. Before build procces be sure that you have all config for J3 in
device/samsung/j3xnlte
device/kernel/j3xnlte
vendor/samsung/j3xnlte

And you have already applied patches via terminal
If you not be sure that you've located in ROM dir, open terminal in this dir and type next:

Code:
cd device/samsung/j3xnlte/patches && . apply_sprd-diff.sh
If you want to do ROM rebuild, do next(via terminal in your ROM dir)

Code:
make clean
Then remove patches

Code:
cd device/samsung/j3xnlte/patches && . remove_sprd-diff.sh
 
Last edited:

phoenix_wnd

Senior Member
Nov 27, 2011
78
48
48
Guys you just need to export right complier typing right command in terminal(from ROM dir)

#COMMAND Jack VM Complier limit 6g marks 6gbs of RAM
You need to type this only if you build Nougat ROMs to avoid jack memory heap

Code:
export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx6g"
Thanks for your reply; i had this one already in my .bashrc....
I just saw, mine looks a little different:

Code:
# prevent JACK to run out of memory
export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx6G"
...but works for me anyways... had '-Xmx4G' some time before but had to increase due to 'ran out of memory' error...

#COMMAND

This is the most important command this command exports complier needed to build sprd modules ;)

Code:
export PATH=$(pwd)/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin:$PATH
ok, this is the ONE i missed :) read so much about NOT to export this to $PATH.... but will give it a try :eek:

*thanked*
 
Last edited:

manymoney2

New member
Dec 31, 2017
1
0
0
Building from source results in "IMS service has stopped" and no SMS sending or receiving. Any Ideas?
Edit: "Fixed" it by deleting IMS service system app, now runs smoothly on December security update, which includes WPA2 encryption fix
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone