yashsingh1/xdaforums huggingface dataset:
[Galaxy Grand Prime Android Development] Scholeggo:
Are you guys having problems logging into Pokemon Go (and for some, Snapchat) with the Lineage OS 15.1 ROMs? Thanks to nik60 (and somewhat docrates1975 and Jvirg), there is now a solution.

Background:

These new Lineage OS 15.1 ROMs now have the SELinux set to Permissive instead of Enforcing. To Pokemon Go, the Permissive setting is basically the phone being rooted, and therefore, will not allow you to play the game. If you were able to play Pokemon on Vince's 14.1 builds, it's because the SELinux setting was on Enforcing by default.

How to fix:

1: Download the SELinux Switch (both the latest zip and apk. (If Google Play stops you from downloading the apk, click "Advanced", and "Install anyway (unasfe)")). Next, install the latest Magisk 16.3 zip.

2: Reboot to TWRP, and first flash Magisk and reboot.

3: Go to the Magisk manager app (automatically installed), check the settings, and check Superuser access are set for "Apps and ADB" (Also enable Magisk Hide if you need to)

4: Go to the SELinux Switch app you installed, grant Superuser access, and Set the SELinux Settings to Enforcing (if you did, it's grayed out.)

5: Reboot the phone to TWRP again, and flash the SELinux zip, then clear Dalvik/ART cache, and reboot. Wait for about 5 minutes before moving on.

Check for SELinux Enforcing verification:

To check if you did it right, open the ADB shell terminal on the PC and type getenforce. If the result is Enforcing, you're good to go and catch more Pokemon that come your way!

Google Play Note:

If Google Play's app disagreement notification is bugging you, do not uninstall the SELinux app; you'll just end back up on square one. Long press on Google Play's notification for more settings, click the "High Priority" banner, and select "Low: No sound or visual interruption" for importance, or just plain turn it off.

YouTube Note:

I discovered that while the SELinux is set to Enforcing, the YouTube app will not longer play videos. For a quick fix, go back to The SELinux app and switch to Permissive and Grant Superuser rights. Close out YouTube and wait about a minute before reopening YouTube.

Of course, this causes problems once again with Pokemon Go. Do not open the game when the SELinux is in Permissive mode; you will not get past the Loading screen (and don't try logging out either; it's just time consuming). If you just happen to forget you set SELinux to Permissive and open the game, go back to the SELinux app, press Enforcing, Grant Superuser rights, clear out Pokemon Go's cache if necessary, and close it out Wait 5 minutes before reopening the game.

Happy I could help. If anyone else on a different device has the same problem, share this! Thank me if this helped you out!
[Galaxy Grand Prime Android Development] docrates1975:
vince I have to install twrp 3.2.1 j12 to be able to install the rom lineage os 15.1 construction j12? with twrp3.1.1 I get error 6 is this the problem since it is to download still in the page https://download.msm8916.com/LineageOS/gprimeltexx/20180328/ I am currently on J11 and the camera records videos but does not save them, the application is saved when trying to save them
[Galaxy Grand Prime Android Development] Jvirg:
I can't get this work. Everything looked okay at first then i notice i had no mobile network so i rebooted and the samething no network. On the 3rd reboot it pushed it back to permissive and gave me a notification that the selinux switch was unable to gain root access - your superuser manager isn't allowing/permitting su access or you do not currently have root Su Access is required to use this app. I assure you that i have root access through magisk 16.3 and i did grant root access for SELinux switch and it shows under magisk superuser settings that it has access. I'm not sure why this isn't working for me. Any ideas?

ok i grant SU permissions no problem but everytime i do i lose network and the "emergency calls only" shows up. So i just garbaged it. It wasn't that important to me be set to SELinux enforcing.
[Galaxy Grand Prime Android Development] Scholeggo:
Huh... I just wiped my phone to get rid of RR (because it was still bullcrap) to go to LOS Go Edition. I re-flashed everything I needed to and it still worked. Which device do you have, and on which ROM?
[Galaxy Grand Prime Android Development] Jvirg:
I have G530W using this build lineage-15.1_j98_20180328.... What the advantage of lineageOS GO edition ?
[Galaxy Grand Prime Android Development] Scholeggo:
Well, AFAIK, it's basically plugging this zip in automatically, and from the looks of it on the download server, it's supposed to take up less storage space than the original Lineage
[Galaxy Grand Prime Android Development] docrates1975:
forgive me if I get into the conversation, but I ask you a question, ¿if I install the zip that you comment on the rom that I have current lineageos j11 for the fz, would it be like having lineage GO? ¿or not?
[Galaxy Grand Prime Android Development] Scholeggo:
Well, yeah. Only that I don't think speed will match up with Vince's build, and that it won't decrease disk space.

One benefit of both methods is that the Google Play Store will update to its Go edition, therefore updating Gboard (if installed) to its Go edition as well.
[Galaxy Grand Prime Android Development] Scholeggo:
Hey Vince. Question: when flashing the ROMs with the latest TWRP, is the default SELinux setting Enforcing or Permissive?
[Galaxy Grand Prime Android Development] docrates1975:
I believed that myself, thanks for the clarification

---------- Post added at 11:49 ---------- Previous post was at 11:18 ----------

vince because I keep giving error 6 with the twrp 3.2.1 construction j12, forgive me for bothering you with my nonsense
[Galaxy Grand Prime Android Development] jotape90:
Hi,

There's an issue with latest lineage os 15.1 rom (26-03) of g530mu. It cannot share media audio by bluetooth on other devices.

Can you please fix it?

Thanks for all your great job!

Cheers!
[Galaxy Grand Prime Android Development] Mihnea5tyle:
I get error: 6 when trying to flash lineageos 15.1 on sm-g530fz

any help?
[Galaxy Grand Prime Android Development] docrates1975:
true friend, the same thing happens to me in my FZ, waiting for an answer from Vince, deve is very busy quiet that solves it, it happens with twrp 3.1.1 and 3.2.1, in case you think like me, it's not the twrp, ¿by the way your camera works in video mode?
[Galaxy Grand Prime Android Development] weedman5:
Error 6 on FZ also(only GO)! I tried gprimeltexx version (which should be for FZ) and i get error 6, but only with Go builds. I am using 15.1 non-go right now and its working quite good. Better battery life and faster than 14.1! Please let us know if u figure out why do we get error 6.

Oh, I have tried twrp 3.1.1 and 3.2.1.
[Galaxy Grand Prime Android Development] docrates1975:
under construction j12 no GO also error 6
[Galaxy Grand Prime Android Development] chickyboy001@gmail.co:
g531h suppost?
[Galaxy Grand Prime Android Development] jarko88:
Same story. Build j5 Lineago go error 6. TWRP doesnt matter (try 3 different version). I try swap today build script from j4 and put in j5 .zip mayby this works we see...

Im on RR now with Xposed, Magisk (i hate this way root!!!) with full backups apps from Titanium Backup and...

and... wait for this...

and...

The slovest rom i ever have im my life...

and...

i have many ... :cool::laugh::laugh:

/edit

Doesnt work j5 (GO) still error 6. Lineage j12 also error 6!
[Galaxy Grand Prime Android Development] Mihnea5tyle:
yea, my camera works in video mode with my LineageOS 14.1 (android 7.1.2)

I get the same error on the previsious versions of LineageOS 15.1
[Galaxy Grand Prime Android Development] hairycheez:
Will the download links come back online soon?
[Galaxy Grand Prime Android Development] ClydeVen:
For error 6, if you have saved your previosu version of Vince's build, replace the meta inf of your current update with the previous working build. I know this since I'm a porter of this ROM to other variant. Vince seems busy, so I'm replying.
[Galaxy Grand Prime Android Development] docrates1975:
friend, call me a fool, but those metaphysicians are?, I have no idea what you say, and forgive my ignorance :confused::eek::eek::confused:, and thanks for answering
[Galaxy Grand Prime Android Development] docrates1975:
https://download.msm8916.com/ here you have for lineage 14.1, 15.1, 15.1 GO, RR
[Galaxy Grand Prime Android Development] hairycheez:
Thanks
[Galaxy Grand Prime Android Development] jarko88:
I think he means by saying that you must replace catalog

META-INF in .zip from older build files rom.
[Galaxy Grand Prime Android Development] docrates1975:
vince2678. Construction j13 lineageos variant FZ: music player can not be heard, camera in video mode does not record and shows application shutdown when trying to record, with respect to the rest it is very good in response speed and battery very very good the rom
[Galaxy Grand Prime Android Development] docrates1975:
Vince with his permission I want to share a link that I found for root 15.1 as 14.1, since there are partners that for reasons of X do not like Magisk or simply want a root sensillo without application, if this causes discomfort for you tell me that I remove it https://www.lineageosroms.org/root-lineageos-15-1-android-oreo-rom/ the steps are the same as those we did to root 14.1 with the official zip file of lineageos addonsu
[Galaxy Grand Prime Android Development] Zippy Dufus:
Or you can build the 15.1 ROM yourself and bake root in with the following patch which undoes Lineage's takeaway:

echo '61c61,62

< MmsService

---

> MmsService \

> su'

| patch -b $BUILDROOT/build/make/target/product/core.mk
​

;)
[Galaxy Grand Prime Android Development] docrates1975:
Why do you feel offended if my intention is not to bother but to help, if I had the knowledge to create my own rom, believe me I would love it, but I do not have them and I do not believe I can do it? I admire and understand the great work that developers do since I can not do it myself, That's why I say yes, it's annoying, it's as simple as that, I'll take it off, my friend, and in peace, we'll all be
[Galaxy Grand Prime Android Development] Zippy Dufus:
My apologies my friend! I should be more careful about the language difference.

I was not offended by you at all and I had no intention to offend you.

My reply was boastful that I found the way to put back a great and useful feature that the Lineage people for some reason removed. I often get frustrated and annoyed when an important feature in a software program that I regularly use is taken away for no good reason.

And many thanks for posting the official procedure for restoring root. Root access has been a hot topic on the 15.1 forums!
[Galaxy Grand Prime Android Development] docrates1975:
friend I accept your apologies, and I am aware that with the language you can misinterpret the words, therefore, excuse me too, thank you, nothing has happened here ;);)
[Galaxy Grand Prime Android Development] Mihnea5tyle:
j12: error 6

j13: error 7

...j14: error 8? xD

sm-g530fz, non-go lineageOS
[Galaxy Grand Prime Android Development] WolfCremo:
So when will the ROM be available to download? Noticed the zip files been gone for a week now, been checking everyday lol
[Galaxy Grand Prime Android Development] Scholeggo:
It is, just download uTorrent so it'll take care of the torrents Vince offered here. Sure, it can be a waste of our time, but it saves his budget and our bandwidth.

---------- Post added at 08:25 PM ---------- Previous post was at 08:18 PM ----------

Hey, Vince. I was wondering how you're coming along with battery-saving techniques for these ROMs, and other Treble-concerned issues. And question; how does the unofficial Gapps help with battery-saving?
[Galaxy Grand Prime Android Development] DEVLOPERADII:
while flashing the go version "updater process ended with ERROR:6" this comes and the installation stops what should I do SM-G530F. And while installing the non go version phone reboots again into twrp after installation.
[Galaxy Grand Prime Android Development] docrates1975:
j14 lineageos 15.1? you're confused, that construction is not made yet, j14 It is lineageos 14.1, look and you will see that it is like that, I also have a g530FZ, and lineageos 14.1 is installed with twrp 3.1.1. no 3.2.1 for what I know
[Galaxy Grand Prime Android Development] Mihnea5tyle:
i dont have that problem anymore, because I edited the update script file with notepad++.
[Galaxy Grand Prime Android Development] docrates1975:
What do you mean? I had no problems installing j13, just that the music player was not heard and the camera in video mode closed when I used it as I said, error 6 was given to me when installing j12, but in j13 I had no installation problems because the the developers fixed it, by the way they have already seen that there is no j 14 in lineageos 15.1, and lineagego there is only construction until j6
[Galaxy Grand Prime Android Development] mayank31:
Will it work in sm -g531f???
[Galaxy Grand Prime Android Development] minhvang:
When is the kernel for los 15.1.....i very like it
[Galaxy Grand Prime Android Development] michaelvu1811:
i got error code when flashing latest version of los 15.1 for g530w. Nvm i fixed it by installing the latest twrp build.
[Galaxy Grand Prime Android Development] WolfCremo:
Resurrection Remix 8.1 is by far the best ROM ever, super greatful to have it, find it waaayy better then lineage 15.1 , once installed its best to flash the lineage 15.1 kernal after Installing RR Oero. :)
[Galaxy Grand Prime Android Development] Scholeggo:
Vince, I would like it if you were to build a custom overclocked/Skatter Kernel for the LOS 15. builds. Thanks.
[Galaxy Grand Prime Android Development] Mihnea5tyle:
I really need the next update, I'm running now LineageOS 15.1 on sm-g530fz and all my fav apps crashes, I can't even use messenger and facebook LITE, and it's frustrating.
[Galaxy Grand Prime Android Development] Zippy Dufus:
Bluetooth issue?

Hello [MENTION=7569388]vince2678[/MENTION], I just saw this curious gprimelte-common: Disable a2dp-sink commit.

It just so happens that a few days ago I was trying to stream music from my phone to an external bluetooth speaker but was unable to even after a lot of futzing around. However, my 14.1 NookHD tablet worked fine straightaway, though.

I've been meaning to investigate more by trying my phone with my BT car radio (I once had your 14.1 ROM working for this) as well as reverting to 14.1 to see if it would work against the BT speaker.

But then I saw this commit so I am wondering if you are aware of this issue?

Otherwise, my phone is working great!
[Galaxy Grand Prime Android Development] abdelfatahthrwat:
Does the wifi and sim work...or not yet?
[Galaxy Grand Prime Android Development] vince2678:
Yes, I was aware of the issue. The Bluetooth bug is listed below the OP.

It should be fixed in the latest builds.
[Galaxy Grand Prime Android Development] Zep0th:
I can't believe my eyes, finally support for G530H (xxu) :D
[Galaxy Grand Prime Android Development] Darth Bidder:
1. It doesn't detect my SIMS on G530H (XXU), I've added the 2 lines found on the 1st page to the build.prop file but it still doesn't detect both my SIM cards while on setup.

I placed the "ro.telephony.ril.config=simactivation" and "persist.radio.multisim.config=dsds" lines on the "Additional Build Properties".

2. I also cannot connect to WIFI's that have hidden SSIDs.

3. Reboot doesn't actually reboot, it just turns off my phone.

Try to read the OP's posts on the 1st page.
[Galaxy Grand Prime Android Development] L4zyD0g:
What is the difference between Regualar Oreo and Oreo Go ?

Does the regular Oreo have a feature that the Oreo Go doesn't have?

I know that the Oreo Go is the lite version but, what are the disadvantages of using it and what features doesn't include.

Thanks for answering my question.
[Galaxy Grand Prime Android Development] Zep0th:
It will run a cut down version of android and it's Gapps, it removes some features such as split screen navigation, customization is very limited also no notification dots.

Basically this will increase RAM and battery life. (Supposedly)
[Galaxy Grand Prime Android Development] abdelfatahthrwat:
When will the 5th version be available?
[Galaxy Grand Prime Android Development] L4zyD0g:
What is notification dot? I don't get it, is that a hardware led?
[Galaxy Grand Prime Android Development] Scholeggo:
Hey Vince. Thanks for the new build. I see the kernel is improved; I no longer need the SELinux Switch for Pokemon Go to work. But I would like the phone issue I stated before (where there's this ringing when you receive a call, and the phone continues to ring throughout that call) to be fix in the next build. Thanks.
[Galaxy Grand Prime Android Development] tasnim_tamim:
Hi,

I tried out LOS GO on my G530H XCU (fortunave3g). Tried downloading the latest build of LineageOS Go. But it didnt installed it. Kept showing me error 7 in twrp and saying that I have fortuna3g and the build is for fortunave3g, despite I have fortunave3g (XCU).

So I extracted the zip file and removed the variant check lines from updater-script. and now it flashed well

And as well as booted up too. Everything works here. Although haven`t tested RIL. Wi-Fi, Camera, BT File Sharing, FM Radio everything works ok. ROM is smooth. RAM usage is also ok. Although its hard to believe that the system is eating up 414MB of ram alone on a Go system. But hey....426MB ram free... which is quite alot of free ram. Multiwindows dosen`t works. But probably because of its go edition

OpenGapps dosen`t works. Once installed.. Play Service keeps force closing.

AudioFX dosen`t works too.

Attached the Screenshots below
[Galaxy Grand Prime Android Development] :
Flash this TWRP instead to fix that error so you don't need to manually edit every flash

https://download.msm8916.com/TWRP/
[Galaxy Grand Prime Android Development] Zippy Dufus:
BT is good

Confirmed - streaming audio to a BT speaker is working well now.

Also, the Camera video mode is now working!

Great work!
[Galaxy Grand Prime Android Development] vince2678:
Use the twrp from the OP, not the one built by Carlos.

You will need to use the unofficial GApps linked there as well to avoid gapps crashes.
[Galaxy Grand Prime Android Development] Zep0th:
It's the dot you get on the app icon on the home screen.
[Galaxy Grand Prime Android Development] Zep0th:
How do I change to your TWRP, do I just flash the recovery.img via the TWRP I have right now?

I don't have a PC to use Odin ):
[Galaxy Grand Prime Android Development] Engel217:
Cierra tu foro puto
[Galaxy Grand Prime Android Development] Jvirg:
Does anyone know what i'm doing wrong here?
[Galaxy Grand Prime Android Development] Irvanoid:
maybe this is stupid question, but what is the different between the normal lineage os and lineage go?
[Galaxy Grand Prime Android Development] Jvirg:
That was fast
[Galaxy Grand Prime Android Development] Zep0th:
You must use the OP's TWRP version.
[Galaxy Grand Prime Android Development] Jvirg:
and todays build
[Galaxy Grand Prime Android Development] mostafa34:
error

brightness
[Galaxy Grand Prime Android Development] Scholeggo:
Hey Vince. I saw the 4/25 build this morning, but after flashing it, I get stuck in a bootloop. Can you fix that please? Thanks
[Galaxy Grand Prime Android Development] hendrik bower:
how to take backup rom with TWRP you make? whereas in twrp it has no option for backups

thanks ..:confused:
[Galaxy Grand Prime Android Development] Zippy Dufus:
Click Backup

Accept the defaults shown and Swipe to Backup

(If flash failed and you wish to restore, click Restore and choose the backup you just performed.)

Note, the version of [MENTION=7569388]vince2678[/MENTION]'s TWRP visible in the screenshots always works reliably for me.
[Galaxy Grand Prime Android Development] vince2678:
The file might be corrupt. Download the corresponding md5 file to verify zips before flashing.
[Galaxy Grand Prime Android Development] Other Dimitri:
Why is it show "Access Denied" on the OP's twrp link although i've already logged in an account (it logged in automatically)
[Galaxy Grand Prime Android Development] hendrik bower:
thanks ... but for the new TWRP it's not like that. I mean backup with the latest TWRP model
[Galaxy Grand Prime Android Development] Zippy Dufus:
It looks to me that you have the Lineage recovery program and

not

TWRP.
[Galaxy Grand Prime Android Development] Scholeggo:
Hi Vince. Sorry to bother you; I just haven't gotten a response from you today, nor the last couple times I posted...
[Galaxy Grand Prime Android Development] vince2678:
I'm looking into it.
[Galaxy Grand Prime Android Development] vince2678:
I corrected the link in the OP.
[Galaxy Grand Prime Android Development] Scholeggo:
Thanks man. Speaking of, any word on the in-call ringing? What could be causing it? I really wonder if this is actually happening on other variants beside the G530P.. :confused:
[Galaxy Grand Prime Android Development] vince2678:
Only the CDMA devices.
[Galaxy Grand Prime Android Development] Scholeggo:
Aww :(. (I envy the GSM users. :p)

Anyway, gotten any closer to cracking the case in the last week?
[Galaxy Grand Prime Android Development] Other Dimitri:
i can download the twrp now, but when i flashed the rom (fortunave3g bcs i'm g530h xc) it flashed well but every time i flashed it, it keeps return to twrp and never boot to home/setup wizard's screen ever. Pls help?
[Galaxy Grand Prime Android Development] tasnim_tamim:
Same for me too.. with my fortunave3g.
[Galaxy Grand Prime Android Development] Dehieu2003:
Same but fortuna3g :(
[Galaxy Grand Prime Android Development] Zep0th:
Deleted
[Galaxy Grand Prime Android Development] L4zyD0g:
What?
[Galaxy Grand Prime Android Development] nazaninwild:
Install failed in G530H XXU.
[Galaxy Grand Prime Android Development] Zippy Dufus:
Interesting, I made a 04/27 build and the camera may not be working:

The camera app looks like a different app from the one in a 04/24 build.

It snaps a picture but the picture doesn't show up in Gallery. Couldn't find it searching for it with Files.

It took a video and again it didn't show up in Gallery. However, in Files I found a /sdcard/DCIM/Camera/VID_20180427_092215.mp4.tmp file. The video looks great if I pull it to my desktop, strip the .tmp extension, and play with mplayer.
[Galaxy Grand Prime Android Development] vince2678:
You're going to have to be more informative than that if you expect any useful help.

E.g, provide device name, build number, error, recovery used.
[Galaxy Grand Prime Android Development] ItsLouisAnderson:
Somehow I managed to install both the ROM and GApps on my fortuna3g. You have to put all the files on the internal storage, and after installing the ROM you'll have to remove-reinsert the battery and boot back to recovery to flash other files. That was my process, maybe just pure luck.

I don't have enough time to review it yet, just wanna share my way of resolving the flashing issues first.
[Galaxy Grand Prime Android Development] Zep0th:
I'll might never be able to test this ROM cause I'm stuck on Official TWRP latest version since I don't have Odin/PC to flash the OP's TWRP.
[Galaxy Grand Prime Android Development] Zippy Dufus:
You can install an image (*.img) from TWRP. I successfully upgraded the OP's TWRP over top of an earlier version of the OP's TWRP without Odin:

Use a desktop unzip program to extract the TWRP-*.img from the installation tarball.

Copy it to your phone.

Boot to TWRP and go to the Install screen

Chose the Install Image option (see screenshot).

Select your TWRP image from step 1 (see screenshot).

Choose the Recovery partition (see screenshot).

Swipe to confirm Flash and reboot.

HOPE* FOR THE BEST!! :confused:

* I hope that the official TWRP understands the partitioning of our phone because it wasn't built against our phone's device tree. In the end, you may end up flashing from Odin. Like you, I don't have easy access to a Windoze machine so I had to perform the above method.

Good luck!