[UNOFFICIAL][ROM] LineageOS 15.1 for Galaxy J5 [SM-J500H/F/FN/G/M/Y]

Status
Not open for further replies.

arundeep78

New member
Jul 7, 2018
4
2
0
Is microG safe?? Its a lot safer than Google as Google keeps all your info. Microg is an alternative to play services and lineage have there own "microg for lineage" on there website I believe. What version of gapps are you trying to install? And are you rooted with Magisk and what version?
If it is aroma gapps on the new Magisk 16.6 than it probably won't work as a few changes have been made to the latest Magisk release and Samsung phones are having trouble booting if its an aroma rom or gapps.
Try pico gapps from opengapps.org
Thanks. I realized, I did not provide detailed info. As I was only using opengapps, I did not think of other. I used opengapps arom from 6 july and pico from 6 july. They get install. But after aroma phone does not boot and with pico, google play services just keep on failing. I followed this below procedure.
1 wipe - factory reset, system, cache, internal, dalvik
2 flash rom
3 wipe dalvik/cache
4 flash gapps
5 wipe dalvik and cache
6 reboot

Update: I tried to install MindTheGapps 8.1_arm_20180610. It installs and system boots up. But same as opengapps pico, google play services keeps failing.

No, I do not have any magisk on my phone. Not that deep into this stuff (yet) :). I searched about microg for Lineageos, but seems it is the other way out. LineageOS for microG. But as per their documentation, they do not support J5. Not sure if there is some unofficial support for it like this one :)

On the other hand, is there some way and some know "google play services" that can be installed on this ROM without installing all the other opengapps stuff?

Another options for me is that I need to sync contacts with google account and have calendar sync with google account. is there a other way to achieve that without google play services?

Arundeep

Update 1:

I tried to install MicroG from NanoDroid-microG package. MicroG installs, but it needs signature spoofing support. But the system patch-script that is suppose to enable it fails because this ROM is odexed!
Then I installed Magiskv16.0. and then nandroid MicroG zip. It installed fine.
But the signature spoofing file still fails, giving the same reason that ROM is odexed.

Update 2:
I installed flashed xposed and installed xposed.apk from https://forum.xda-developers.com/showthread.php?t=3034811.
Installed module FakeGApps on xposed.
I modified the config for Nanodroid-microG to install google sync adapters and flashed it again.

Now I can add google account in Contacts. But it still does not sync contacts :(
There is something still missing, as when I tried to add account in Calendar, it asks again my gmail account. When I provide details, it complains that this account exists, but there is no options to use existing account and sync contacts and calendar :(

Anybody got it working?
 
Last edited:
  • Like
Reactions: Honza CZ

cel.junior

Member
Apr 19, 2017
16
3
0
Hi there, I dont recall read this before here or. In any other place. Then I will ask, some appl icons disappear after a reboot, Is this happening with any other?
 

American_Jesus

Senior Member
Mar 9, 2016
508
298
73
Lisbon
Thanks. I realized, I did not provide detailed info. As I was only using opengapps, I did not think of other. I used opengapps arom from 6 july and pico from 6 july. They get install. But after aroma phone does not boot and with pico, google play services just keep on failing. I followed this below procedure.
1 wipe - factory reset, system, cache, internal, dalvik
2 flash rom
3 wipe dalvik/cache
4 flash gapps
5 wipe dalvik and cache
6 reboot

Update: I tried to install MindTheGapps 8.1_arm_20180610. It installs and system boots up. But same as opengapps pico, google play services keeps failing.

No, I do not have any magisk on my phone. Not that deep into this stuff (yet) :). I searched about microg for Lineageos, but seems it is the other way out. LineageOS for microG. But as per their documentation, they do not support J5. Not sure if there is some unofficial support for it like this one :)

On the other hand, is there some way and some know "google play services" that can be installed on this ROM without installing all the other opengapps stuff?

Another options for me is that I need to sync contacts with google account and have calendar sync with google account. is there a other way to achieve that without google play services?

Arundeep

Update 1:

I tried to install MicroG from NanoDroid-microG package. MicroG installs, but it needs signature spoofing support. But the system patch-script that is suppose to enable it fails because this ROM is odexed!
Then I installed Magiskv16.0. and then nandroid MicroG zip. It installed fine.
But the signature spoofing file still fails, giving the same reason that ROM is odexed.

Update 2:
I installed flashed xposed and installed xposed.apk from https://forum.xda-developers.com/showthread.php?t=3034811.
Installed module FakeGApps on xposed.
I modified the config for Nanodroid-microG to install google sync adapters and flashed it again.

Now I can add google account in Contacts. But it still does not sync contacts :(
There is something still missing, as when I tried to add account in Calendar, it asks again my gmail account. When I provide details, it complains that this account exists, but there is no options to use existing account and sync contacts and calendar :(

Anybody got it working?
As root run nanodroid-perm .
Use connectbot or termux

Code:
su
nanodroid-perm
 

arundeep78

New member
Jul 7, 2018
4
2
0
As root run nanodroid-perm .
Use connectbot or termux

Code:
su
nanodroid-perm
Sorry, I am not used to mobile coding. Where I am suppose to enter this commands?
Are you suggesting to download connectbot or termux as applications and then use this code?
Or tis code can be executed in Terminal in TWP ?

Also how this will help? or which problem it will help to solve?

Maybe it is silly question, but hopefully "American Jesus" does not mind :)

Arundeep
 
Last edited:

American_Jesus

Senior Member
Mar 9, 2016
508
298
73
Lisbon
Sorry, I am not used to mobile coding. Where I am suppose to enter this commands?
Are you suggesting to download connectbot or termux as applications and then use this code?
Or tis code can be executed in Terminal in TWP ?

Also how this will help? or which problem it will help to solve?

Maybe it is silly question, but hopefully "American Jesus" does not mind :)

Arundeep
Use connectbot or termux like a said.
If you don't know what are you doing don't use microG
 
  • Like
Reactions: arundeep78

arundeep78

New member
Jul 7, 2018
4
2
0
Use connectbot or termux like a said.
If you don't know what are you doing don't use microG
I used termux. it work now. Thanks a lot.
So far happy with the ROM.
battery life is long
speed is faster
I have lot of space on my main memory. I do not have sd card. I just borrowed a friend's to get it installed.

So far all the benefits, that I wanted to achieve. Thanks to all the developers and the other members who helped to make this ROM possible and also help people like to go through technical details.

My final steps for J500FN were
1. Flash TWRP from the post 2 with ODIN.
2. Wipe data, dalvik, cache, internal, system
3. Flash ROM lineage-15.1_j53_20180624_NIGHTLY-j5nlte
4. Wipe dalvik/cache
5. boot into lineage and setup
6. boot into TWRP again and flash xposed from https://forum.xda-developers.com/showthread.php?t=3034811 and the related app
7. Installed xposed module FakeGapps.
8. Installed magisk using https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
9. Installed NanoDroid microG from https://github.com/Nanolx/NanoDroid. I enabled google calendar and contacts sync by updating .nanodroid-setup file.
10. Make sure all the settings are done as per nanodroid documentation.
11. To make the sync of contacts and calendar work, I downloaded termux and executed the commands as provided by @American_Jesus and reboot.
12. It seems everything is working now.

NOTE: For me I just always wiped dalvik/cache after every flashing of zip file in TWRP before any other change.
Hopefully it helps anyone else who comes after.


Is there somewhere I can see RAM usage?
Also, I see all the standard apps e.g. calendar, contacts, gallery are so small in size and they still work beautifully.
Do not know if someone takes these apks and slim them down somehow.

Update: issues:
Found issues with not receiving calls or message notifications on application (WhatsApp, fb messenger). Other apps, did not try.
When I am active on the app, I can get the calls. But when the phone is idle, I do not receive any notifications/calls from these apps.
Normal phone call and message works fine.

Is there any settings for that too, or is it a bug in the ROM?
Anyone knows or faced the issue?


Arundeep
 
Last edited:
  • Like
Reactions: faceN

garylawwd

Forum Moderator
Staff member
Aug 25, 2017
3,136
1,839
233
29
Cork
hey guys does anyone have problems with voltage im using J500FN last update 24062018
What do you mean voltage? Are you talking about charging the device?
Or are you talking about the legendary voldemort (volte) because volte will never work on aosp/lineage based roms
 

abdulhalim7

Member
Mar 2, 2017
38
8
0
Which is better opengapps or microG or mindthegapps?

I'm currently using open gapps aroma version on J500H. With this version sometimes my phone laggs a lot. Would anyone suggest me which one should I use? Please provide me download link.
 

MBechirM

Senior Member
Mar 28, 2017
131
76
38
Tunis
Which is better opengapps or microG or mindthegapps?

I'm currently using open gapps aroma version on J500H. With this version sometimes my phone laggs a lot. Would anyone suggest me which one should I use? Please provide me download link.
LineageOS team officially recommends MindTheGapps but I personally prefer OpenGapps Aroma It's Only Problem is Having To Reflash it After every system update
 

artinessfox

Senior Member
Jan 20, 2017
68
14
0
I have J500H
I Do Clean install the 23/6 ver and latest Gapps pico. Everything was OK. except for today, I faced no sound on call. Does Any other have this problem? the previous builds were fine.
 
Status
Not open for further replies.
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