• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[UNOFFICIAL][OMS][ROM] LineageOS 14.1 for Grand Prime [SM-S920L|G530MU/FZ/P/T/T1/W]

kentone

Senior Member
Nov 29, 2012
119
50
0
Code:
** Disclaimer
I am not responsible if flashing this ROM bricks your
   phone or causes thermonuclear war  and ends the
    world as we know it. You have been warned.

ROM Information


Device Names

Verify your device codename before downloading any firmwares or recovery images!
Code:
[B]SM-S920L[/B] - [COLOR="DarkSlateBlue"][B]gprimeltetfnvzw[/B][/COLOR]
[B]SM-G530MU[/B] - [COLOR="DarkSlateBlue"][B]gprimeltezt[/B][/COLOR]
[B]SM-G530FZ[/B] - [COLOR="DarkSlateBlue"][B]gprimeltexx[/B][/COLOR]
[B]SM-G530T/T1/W[/B] - [COLOR="DarkSlateBlue"][B]gprimelte[/B][/COLOR]
[B]SM-G530P[/B] - [COLOR="DarkSlateBlue"][B]gprimeltespr[/B][/COLOR]

Download



Instructions

If you are completely new to flashing custom ROMs and have no idea how to begin, start by downloading a TWRP image for your device from the links above and flash it using the ODIN tool (see below).

You cannot flash a custom ROM over stock recovery, so downloading a custom recovery is the first thing you will need to do.
Installation via recovery (TWRP/LineageOS Recovery)
* Download a recent .zip file from the links above for your device.

* Reboot into recovery mode [Press Power+Volume Up+Home].

* Wipe your data and cache partition (equivalent to doing a Factory Reset)
if you are coming from a stock ROM.


* Either: Plug in your phone into your computer, copy the zip file to a location on your Internal or External Storage on a device, click Install on TWRP on your phone and locate the zip file in the phone, or:

* Plug in your phone into your computer, and open Advanced->ADB Sideload on TWRP on your phone and swipe the slider to enter sideload mode.
Then open a command prompt/terminal on your computer in the folder you put the file by Shift-Clicking (Shift+Right Click) and selecting "Open Command Prompt/Terminal Here" (you will need to have adb installed) and type:

adb sideload name_of_zip.zip

to sideload the file. Replace name_of_zip.zip with the name of the file. If you are running Linux you may need to type adb kill-server and use sudo adb sideload if you get an `Insufficient Permissions` error.

* Download and flash GApps in the same way.

How to provide logcats

Under Windows:


Code:
[B]* Install samsung device drivers and then
 the adb utils from here:[/B]

[url]https://forum.xda-developers.com/showthread.php?t=2588979[/url]

[b]* Then enable developer mode, connect your phone to usb,
 and from [B]cmd[/B] paste this command:[/b]

[I]adb logcat > %userprofile%/Desktop/logcat.txt[/I]

[b]then try to reproduce the bug.[/b]

[b]* The logcat file will be on your desktop.[/b]



Under Linux:


Code:
[b]* Install the adb utils from your distribution's
 package manager and execute the command:[/b]

[I]adb logcat > ~/logcat.txt[/I]

[b]then try to reproduce the bug.[/b]

[b]* The logcat file will be on your home directory.[/b]
* Create a bug report at https://bugs.msm8916.com/ and paste the logcat there.

* If you cant connect the device through adb on windows because the drivers, connect the device over wifi, enable adb over network on the quick setting tiles, and type:

Code:
adb connect [ip address here]
And then the adb logcat command for windows.

Changelog

For more detailed changelog information, see the changelog on the download or jenkins servers for each specific build.

Code:
[B][U]29/08/2017[/U][/B]

* [B][[COLOR="Red"]NOTE[/COLOR]][/B] [B] Shifted to using a kernel driver for disabling touch devices
  when the screen is off instead of a user service for that. [/B]
  
* [B][[COLOR="Red"]NOTE[/COLOR]][/B] [B] Updated kernel to the latest upstream AOSP and
  CAF tags. There should be a noticeable performance boost. [/B]
  
* [B][[COLOR="Red"]NOTE[/COLOR]][/B] [B] Shifted to using OSS GPS code instead of prebuilt libs.
   Location applications should be getting and reporting
   satellite fix information properly. [/B]
  
* [B][[COLOR="Red"]NOTE[/COLOR]][/B] [B] Disabled cpusets support, which was slowing
  down the system performance. [/B]
  
* [B][[COLOR="Red"]FIX[/COLOR]][/B] [B] The auto time zone feature should now be working
  proper, (that is, without resetting the time zone
  to 0000 UTC).[/B]
  
* [B][[COLOR="Red"]FIX[/COLOR]][/B] [B] Data should be working fully on all devices. [/B]

Code:
[B][U]22/08/2017[/U][/B]
* [B][[COLOR="Red"]FIX[/COLOR]][/B] [B] SM-G530MU and SM-S920L builds now boot [/B]
Code:
[B][U]08/06/2017[/U][/B]
* [B][[COLOR="Red"]FIX[/COLOR]][/B] [B] Video recording should now be working [/B]
* [B][[COLOR="Red"]FIX[/COLOR]][/B] [B] The "message not sent" bug in text messaging
  app(s) should be gone. [/B]
Code:
[B][U]01/06/2017[/U][/B]
* [B][[COLOR="Red"]NOTE[/COLOR]][/B][B] Updated kernel and prima (wifi)
   driver to the latest caf branch LA.BR.1.2.9_rb1.18[/B]
* [B][[COLOR="Red"]FIX[/COLOR]][/B] [B] The reboots caused by errors in the
  prima kernel driver should be gone.[/B]
* [B][[COLOR="Red"]FIX[/COLOR]][/B] [B] F2FS should work completely now.
   Updated F2FS code from upstream kernel sources and enabled
   security extended attribute support (for SElinux) to fix
   android support.[/B]
Code:
[B][U]15/05/2017[/U][/B]
* [B][[COLOR="Red"]NOTE[/COLOR]][/B][B] Wifi driver is now built-into the kernel again.[/B]
* [B][[COLOR="Red"]FIX[/COLOR]][/B][B] The sleep issue should be fixed in the latest build.
  This was due to the failure to set a critical kernel
  variable at boot because the kernel init system was
  not interpreting a boot command line variable correctly.[/B]
* [B][[COLOR="Red"]FEATURE[/COLOR]][/B][B] OMS/Substratum support is now built into the
  ROM.[/B]
* [B][[COLOR="Red"]FIX[/COLOR]][/B] [B] F2FS is enabled in-kernel, so F2FS filesystem
  mounting and formatting should be working fully.[/B]
Code:
[B][U]05/05/2017[/U][/B]
* [B][[COLOR="Red"]NOTE[/COLOR]][/B][B] Wifi driver is being built as a module for now,
  transitioning to a new kernel somehow broke the ability to build
  it into the kernel binary.[/B]
* [B][[COLOR="Red"]NOTE[/COLOR]][/B][B] Transitioned to a new kernel based on T560NU and
  J500H MM kernel sources (J500HXXU2BPJ9 and T560NUUES1BPL1). [/B]
* [B][[COLOR="Red"]FIX[/COLOR]][/B] [B] In-call audio should now work fully without having to
  toggle the loudspeaker. [/B]
* [B][[COLOR="Red"]NOTE[/COLOR]][/B][B] Updated kernel and wifi driver to LA.BR.1.2.9_rb1.16[/B]
* [B][[COLOR="Red"]FIX[/COLOR]][/B] [B] Vibration should be working for SM-G530MU. The kernel
  config now specifies the correct vibration driver. [/B]
Code:
[B][U]14/04/2017[/U][/B]
* [B][[COLOR="Red"]NOTE[/COLOR]][/B][B] Wifi driver is now built into the kernel. Should
(slightly) improve speed of enabling/disabling wifi. [/B]
* [B][[COLOR="Red"]NOTE[/COLOR]][/B][B] Updated kernel and wifi driver to LA.BR.1.2.9_rb1.14[/B]
* [B][[COLOR="Red"]FIX[/COLOR]][/B][B] Updated RIL in-call audio fix, microphone should now
work proper after the regression from last build.[/B]
* [B][[COLOR="Red"]NOTE[/COLOR]][/B][B] Builds now use sdcardfs from Google. This should
 result in faster file operations on the sdcard overall
 compared to using FUSE as an overlay.[/B]
* [B][[COLOR="Red"]NOTE[/COLOR]][/B][B] There have been several other changes as well,
mostly to the underlying structure of the kernel and device trees.[/B]
Code:
[B][U]01/04/2017[/U][/B]
* [B][[COLOR="Red"]FIX[/COLOR]][/B] [B] LineageOS updater can reboot to recovery properly.[/B]
Code:
[B][U]30/03/2017[/U][/B]
*[B][[COLOR="Blue"]FIX[/COLOR]][/B][B]Data and SMS should be functional on all devices.
You may need to set APN settings again and reboot for data to work.[/B]
Code:
[B][U]28/03/2017[/U][/B]
*[B][[COLOR="Blue"]NOTE[/COLOR]][/B][B]Added SM-G530MU.[/B]
*[B][[COLOR="Blue"]FIX[/COLOR]][/B][B]Data and in-call audio should be functional
on all devices.[/B]
Code:
[B][U]26/03/2017[/U][/B]
*[B][[COLOR="Blue"]NOTE[/COLOR]][/B][B]SM-G530FZ builds *should* be functional.[/B]
Code:
[B][U]09/03/2017[/U][/B]
*[B][[COLOR="Blue"]NOTE[/COLOR]][/B][B] Added SM-G530FZ.[/B]
* [B][[COLOR="Red"]FIXED[/COLOR]][/B] [B] Rear camera view in Snap camera was distorted. Now fixed. [/B]
Code:
[B][U]16/02/2017[/U][/B]
*[B][[COLOR="Blue"]NOTE[/COLOR]][/B][B] Unified the T/T1/W into one image. They are essentially the same device. 
This should simplify development on my part and make it easier for everyone to 
get the updates. And I can also be absolutely sure about bugs 
since we'll be using the same image. [/B]
*[B][[COLOR="Blue"]NOTE[/COLOR]][/B][B] Decreased minimal scaling freq. to 200Mhz.  
The previous scaling frequency minimum of 800Mhz was pretty high,
 and could quickly cook your phone and kill power on mobile devices.
 Lowering to 200Mhz should significantly extend batery life
 on the stock scheduler. [/B]

There are a lot more minor tweaks and fixes. I don't have the time to constantly be updating this; I expect you'll read the
changelogs anyways since I take my time to write the commit messages in detail.


Code:
[B][U]12/01/2017[/U][/B]
* [B][[COLOR="Red"]FIX[/COLOR]][/B] [B] Bluetooth is now working across all builds. [/B]
Code:
[B][U]12/01/2017[/U][/B]
*[B][[COLOR="Blue"]NOTE[/COLOR]][/B][B] First images built. [/B]
Code:
[B][U]11/01/2017[/U][/B]
*[B][[COLOR="Blue"]NOTE[/COLOR]][/B][B] Finished merging Qualcomm (CAF) LA.BR.1.2.9_rb1.11 kernel into device kernel. [/B]
Code:
[B][U]10/01/2017[/U][/B]
*[B][[COLOR="Blue"]NOTE[/COLOR]][/B][B] Refactored the project repositories. [/B]
*[B][[COLOR="Blue"]NOTE[/COLOR]][/B][B] Migrated repositories to new GitHub page. [/B]
Code:
[B][U]20/01/2017[/U][/B]
*[B][[COLOR="Blue"]NOTE[/COLOR]][/B][B] Made some substantial changes to our build infrastructure,
   which should make my life substantially easier and
 using Jenkins and all a more pleasant experience. [/B]


Known Issues

Code:
[COLOR="RoyalBlue"][B]All devices[/B][/COLOR]
* [B][[COLOR="Red"]NOTE[/COLOR]][/B] [B] None[/B]
Features

Code:
* OMS/Substratum theming support.
* The usual LineageOS features.
* All builds support over-the-air updates.

FAQ

Q: Are you taking device requests?
A: If and only if the device is using an msm8916 chip, and you're willing to buy me/donate the device for testing, sure.

Q: But I don't have that kind of money! What else?
A: Alternatively, if you're skilled with Linux and adb, and have an unsupported device, if you're willing to work with me as a tester, that works as well.

Q: Are you accepting feature requests?
A: Unless you're willing to implement it yourself, no.

Q: Can you make XXX ROM as well as LOS?
A: Unless more people donate, no. I simply don't have the time to maintain more than LOS nor money to hold that many ROMs on my already (tiny) struggling server.

Q: Can I throw money at you?
A: Most certainly. Donations are always welcome.

You want to help?

  • We need hardware power to get the builds done.
    If you want to help us go faster, send a PM to @kentone or
    @vince2678. Your computer will act as a client for our jenkins server.

  • In a perfect world, that would be all, but unfortunately no. We need money to keep the server running and keep bringing these ROMs.
  • As always, logcat any problem you find.

PLEASE, don't PM @vince2678, as he's busy right now, and your questions can be not answered. PM @kentone instead, write here on the post, or on the telegram group, your questions will be responded as soon as we can ;) Understand that we have family, studies and jobs aside of this project. Thanks for your understanding :)


XDA:DevDB Information
[UNOFFICIAL][OMS][ROM] LineageOS 14.1 for Grand Prime [SM-S920L|G530MU/FZ/P/T/T1/W], ROM for the Samsung Galaxy Grand Prime

Contributors
kentone, vince2678
Source Code: https://github.com/Galaxy-MSM8916

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: >= 4.4 (KitKat)
Based On: LineageOS

Version Information
Status: Stable
Stable Release Date: 2017-06-08

Created 2017-01-11
Last Updated 2018-08-10
 

Attachments

shakazoid

Senior Member
Nov 8, 2014
52
6
0
Fm Radio does not work on mine , getting error msg " FM operation failed. If the problem persists, pls turn off FM and turn it back on" . My Android version shows up as 6.0.1 . "CM version is 13.0-20170118-NIGHTLY-gprimeltetmo" > Could not install pico Gapps version 6.0 or 7.1 getting error that wrong version. So not sure if you have actually fixed the name change to reflect Nougat. Have an sm-g530t
 

vince2678

Recognized Developer
Jul 5, 2016
1,071
1,900
0
Fm Radio does not work on mine , getting error msg " FM operation failed. If the problem persists, pls turn off FM and turn it back on" . My Android version shows up as 6.0.1 . "CM version is 13.0-20170118-NIGHTLY-gprimeltetmo" > Could not install pico Gapps version 6.0 or 7.1 getting error that wrong version. So not sure if you have actually fixed the name change to reflect Nougat. Have an sm-g530t
That's CyanogenMod 13.0 you're running there mate, not CYanogenMod 14.1. The only device for which a CM14.1 exists is the G530W at the moment. You'll be alerted when building starts for everything else.
 
  • Like
Reactions: shakazoid