[Discontinued]LineageOS-14.1 for Galaxy A5 SM-A500

Is this ROM good for daily use?

  • Yeah, I always use it

    Votes: 28 49.1%
  • 50-50, it's good but there are some annoying bugs

    Votes: 24 42.1%
  • No, too bugs

    Votes: 5 8.8%

  • Total voters
    57

DeadSquirrel01

Senior Member
Jun 2, 2016
532
436
0
Rimini
LineageOS 14.1 for Galaxy A5 A500xx
You've probably known that cm is "dead", and that there is a new project called "LineageOS" which is a fork on the cyanogenmod project, so this is the "continue" of my cyanogenmod thread. Enjoy :)

NOTE: this ROM is for any A500 model and will not work for 2016 models (A510)

Disclaimer:
Code:
I'm not responsable for bricked devices :( , dead phone chargers,
nuclear explosions or global warming.
Flash it at YOUR OWN RISK

Downloads
1) You need a custom recovery to flash the ROM (zip). You can download TWRP HERE or CTR HERE
2) Optional but recomended: Google Apps (aka gapps). You can download them here: http://opengapps.org/
3) You need marshmallow bootloader and modem. Install latest mm stock ROM to update them
4) You need the ROM obviusly :D. You can download it here:
LineageOS-14.1: https://www.androidfilehost.com/?w=files&flid=145997

How to Install
If you have TWRP Recovery:
1) Go to wipe section and wipe: cache, dalvik, system and data (internal storage wipe is not needed!)
2) Go to install box and choose the zip which contains the ROM
3) Flash wifi temporary fix (for first build only)
4) Optional but recomended: flash Google Apps' zip
5) Reboot and enjoy :)

If you have CTR Recovery:
1) Go to Wipe Menu, tap Wipe ALL - Preflash button and then tap - Yes - Wipe ALL! button
2) Go to Install zip menu and choose the zip which contains the ROM
3) Flash wifi temporary fix (for first build only)
4) Optional but recomended: flash Google Apps' zip
5) Reboot and enjoy :)


How to Update
If you have TWRP Recovery:
1) Go to install box and choose the zip which contains the ROM
2) Go to wipe section and wipe: cache and dalvik

If you have CTR Recovery:
1) Go to Install zip menu and choose the zip which contains the ROM
2) Go to Wipe Menu, and wipe cache and dalvik

NOTE: For Updating you don't have to wipe data, you only have to wipe data when install different cm version, for example cm-13->cm-14.0 or cm12->12.1

SM-A500XX SECTION​
Note1: if you are on SM-A500FU you don't have to follow this section. Just follow the "How to install" one
NOTE2: some device requires some modifications in blobs and/or in device tree in order to get RIL worling
How to install CyanogenMod-14.1 on any SM-A500XX variant:

1) Install the zip of lineageos rom
2) Install RIL fix zip from this thread's attachements
3) Flash gapps (optional but better)
4) Reboot and enjoy :)

For people running multirom with lineage as secondary ROM:
1) Install the zip of lineageos rom
2) Install gapps (optional but better)
3) Download (from this thread's attachements) and open RIL fix zip for your device
4) Open (inside the zip) /META-INF/com/google/android/updater-script
5) Remove these two lines:
ifelse(is_mounted("/system"), unmount("/system"));
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system");
6) Save the new file and close
7) Go in twrp "Advanced"->"Terminal" and run this command:
ln -s /sdcard/multirom/roms/ROMNAME/system /system
Note: if the output of ln command is "File exists" you made a typo, so, re-run the command without making typos (tab helps); if it gives no output, you typed it correctly, so, you can proceed to the 8th step
8) Flash RIL fix zip
9) Reboot and enjoy :)

NOTE: If you don't find the RIL fix from your variant and you have RIL problems like sim card not detected, read the section for people with RIL problems and follow the instructions


Knowing Bugs
None for now
Report bugs here, or at https://github.com/DeadSquirrel01/android_device_samsung_a5-common/issues

F2FS Guide
If you want to use F2FS, first you need a twrp that supports F2FS partitions formatting like mine:
https://www.androidfilehost.com/?fid=817550096634793304
Then, reboot in twrp, go in "Wipe"->"Advanced Wipe"->Select "System" box->"Repair or Change File System"->"Change File System"->"F2FS"
Do this also for "Data" and "Cache" partitions
NOTE: Everything in the partitions you turn into F2FS will be deleted!!!
NOTE: If you turn userdata partition (/data), everything in /data/media/0 (/sdcard) will be deleted!!!
Now, open the zip of lineage os and change:
mount("ext4", "EMMC", "/dev/block/bootdevice/by-name/system", "/system");
to
mount("f2fs", "EMMC", "/dev/block/bootdevice/by-name/system", "/system");


Read this if you are having problems with RIL
If you have issue with RIL, post a zip with these libs taken from stock rom, and I'll create a flashable zip:

Code:
/system/lib/libsec-ril.so
/system/lib/libsec-ril-dsds.so (for dual sim variants only)
SOURCES
Device tree: https://github.com/DeadSquirrel01/android_device_samsung_a5ultexx Branch: cm-14.1
Device Config: https://github.com/DeadSquirrel01/android_device_samsung_a5-common Branch: cm-14.1
Kernel: https://github.com/DeadSquirrel01/android_kernel_samsung_msm8916 Branch: cm-14.0

Telegram group: @GalaxyA5dev
Telegram channel for project updates: @ds01news

Note: If you want to contact me for any question which is off topic, just pm me or email me at [email protected]


XDA:DevDB Information
LineageOS-14.1 for Galaxy A5 SM-A500, ROM for the Samsung Galaxy A Series 2017 A3, A5, A7

Contributors
DeadSquirrel01
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Lollipop or Marshmallow bootloader/modem (mm suggested)

Version Information
Status: Stable

Created 2017-02-17
Last Updated 2017-02-17
 

Attachments

Last edited:

DeadSquirrel01

Senior Member
Jun 2, 2016
532
436
0
Rimini
CHANGELOG
Fifth release (07/09/2017):
Support calls through LTE (VoLTE)
Fix touchscreen freezes on wakeup
Fix GPS: Now it takes about 10 seconds outdoor and 20 seconds outdoor to get the position (these values may change a bit)
Remove NFC button and everything related to NFC. Since it always stucked on turning on, his crashes were slowing down the system a lot


Fourth release (22/08/2017):
Add button to switch data to LTE for variants that support it
Bring CPU core 1 online (active) (improves performance)
Fix touchkey lights
Update some things in ramdisk
Add screencast to record screen


Third release (17/08/2017):
Fix in-call audio
Fix FM radio
Fix LTE (for variants that support it)
Add OMS support for substratum themes (You can download them from google play. See screenshot's dark theme as example)
Add kernel driver to stop touchkey vibration when device is suspended (replaced InputDisabler)
Upgrade kernel to 3.10.106
Lot of other kernel updates and upgrade to LA.BR.1.2.9_rb1.23 (caf)
Upgrade blobs to A500FUXXU1CPG1 (marshmallow)
Add F2FS formatted /data,/system,/cache support. To do it you also need my twrp 3.1.1. (download in first post) or a twrp that supports f2fs formatting
Improved battery life on suspend (fixed doze)
Remove "ANDROID IS NOT SEANDROID ENFORCING" warning on samsung splash screen
Obviously compile ROM on latest lineage sources


Second Release (17/02/2017):
Fix camera that couldn't take videos
Add touch screen gestures
Minor updates to kernel and device tree (see github commits)

First Release (18/01/2017):
Fixed Screen Rotation
Fixed Cellular Data
Lots of minor updates in kernel, device config (see github commits)


NOTE: You can see all changes (github commits) here: https://github.com/DeadSquirrel01/android_device_samsung_a5-common/commits/cm-14.0
and here:https://github.com/DeadSquirrel01/android_device_samsung_a5ultexx/commits/cm-14.0
And for kernel here: https://github.com/DeadSquirrel01/android_kernel_samsung_msm8916/commits/cm-14.1
 
Last edited:

huseein A5

Senior Member
Aug 14, 2016
407
53
28
Good work my friend keeping an eye closely on this thread and wating penalty for audio fix to use it as daily driver:D
 
Last edited:

aryan1997

Member
Nov 19, 2016
11
1
0
Hey, I tried this Rom but was not able to flash it. It showed UNKNOWN ERROR while flashing through TWRP.
Does this error exit or I have done something wrong ?
My device is SM-A500G.
 

DeadSquirrel01

Senior Member
Jun 2, 2016
532
436
0
Rimini
Its only for a500fu variant only...waiting for another variant..cheers man..
Doh, still don't know why people don't read the full thread (or at least first 4-5 lines also wit "NOTE" in bold) and then cry if it doesn't work o_O
Anyway that's not only for a500fu, when i have time I'll upload A500XX version, too
 

srkndenis

Senior Member
Mar 29, 2014
51
22
0
saratov
Sorry man..im only answer that comment too...[/QUOTE
Dude, if you want to developers continued to work on a project, stop the ETA, wait for a stable version. The developers are people too, they have their own lives, and they do not have to answer stupid questions everyday The Developers works very hard, be patient.

Sorry, if you understand me, i don't speak English. :))
 

aryan1997

Member
Nov 19, 2016
11
1
0
You should ignore those comments ;)
Sorry, If I offended you in any way. I know that you work very hard and I really appreciate your work. Thanks for all of it.

Its just that there was a section in the post on how to install the Lineage OS on A500xx devices.
So, I just wanted to know that if there is an error or did I do something wrong.

I did not wanted to be rude or anything. Once again SORRY !!!!!!
 

ian0326

New member
Jan 23, 2017
1
1
0
LineageOS 14.1 for Galaxy A5 A500xx
You've probably known that cm is "dead", and that there is a new project called "LineageOS" which is a fork on the cyanogenmod project, so this is the "continue" of my cyanogenmod thread. Enjoy :)

NOTE: this ROM is for any A500 model and will not work for 2016 models (A510)

NOTE2: The First build is for A500FU only!!!

NOTE3: 1st zip is only for SM-A500FU, I'll upload A500XX zip soon, when I have time

Disclaimer:
Code:
I'm not responsable for bricked devices :( , dead phone chargers,
nuclear explosions or global warming.
Flash it at YOUR OWN RISK

Downloads
1) You need a custom recovery to flash the ROM (zip). You can download TWRP HERE or CTR HERE
2) Optional but recomended: Google Apps (aka gapps). You can download them here: http://opengapps.org/
3) You need marshmallow bootloader and modem. you can download them HERE (for A500FU only) thanks to @jimbomodder that has uploaded them :D or you can easily extract them in stock firmware
4) You need the ROM obviusly :D. You can download it here:
LineageOS-14.1: https://www.androidfilehost.com/?w=files&flid=145997

How to Install
If you have TWRP Recovery:
1) Go to wipe section and wipe: cache, dalvik, system and data (internal storage wipe is not needed!)
2) Go to install box and choose the zip which contains the ROM
3) Flash wifi temporary fix (for first build only)
4) Optional but recomended: flash Google Apps' zip
5) Reboot and enjoy :)

If you have CTR Recovery:
1) Go to Wipe Menu, tap Wipe ALL - Preflash button and then tap - Yes - Wipe ALL! button
2) Go to Install zip menu and choose the zip which contains the ROM
3) Flash wifi temporary fix (for first build only)
4) Optional but recomended: flash Google Apps' zip
5) Reboot and enjoy :)


How to Update
If you have TWRP Recovery:
1) Go to install box and choose the zip which contains the ROM
2) Go to wipe section and wipe: cache and dalvik

If you have CTR Recovery:
1) Go to Install zip menu and choose the zip which contains the ROM
2) Go to Wipe Menu, and wipe cache and dalvik

NOTE: For Updating you don't have to wipe data, you only have to wipe data when install different cm version, for example cm-13->cm-14.0 or cm12->12.1

SM-A500XX SECTION​
How to install CyanogenMod-14.1 on any SM-A500XX variant:
1) Download the sm-a500xx cm-14.1 zip on "Downloads" section"
2) For make "port" process a bit easier do as following:
_1) Delete all files in system/etc/firmware (inside the zip)
_2) Go to META-INF/com/google/android/updater-script (in the zip) and remove all symlinks which start with /firmware and /firmware-modem
2) Use a root browser or adb pull and pull all files located in /firmware/image and /firmware-modem/image in the zip in /system/etc/firmware
2_a) If your device is dualsim, go to stock rom and copy /system/lib/libsecril.so and /system/lib/libsecril-dsds.so in the zip in system/lib/ Then open the system/build.prop in the zip and add:
persist.radio.multisim.config=dsds
3) Flash it and enjoy lineageos on you SM-A500XX variant!! :)



Knowing Bugs:
_Camera cannot take videos
_Audio during calls bug

Segnale other bugs if u find in bugs section or here https://github.com/DeadSquirrel01/android_device_samsung_a5-common/issues

IMPORTANT: ETA askers: please grow up and make this thread clean; if you ask for ETAs I'll ignore you and your request(s)

SOURCES
Device tree: https://github.com/DeadSquirrel01/android_device_samsung_a5ultexx Branch: cm-14.0
Device Config: https://github.com/DeadSquirrel01/android_device_samsung_a5-common Branch: cm-14.0
Kernel: https://github.com/DeadSquirrel01/android_kernel_samsung_msm8916 Branch: cm-14.1

Note: If you want to contact me for any question which is off topic, just pm me or email me at [email protected]


XDA:DevDB Information
LineageOS-14.1 for Galaxy A5 SM-A500, ROM for the Samsung Galaxy A Series 2017 A3, A5, A7

Contributors
DeadSquirrel01
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Lollipop or Marshmallow bootloader/modem (mm suggested)

Version Information
Status: Stable

Created 2017-01-18
Last Updated 2017-01-18
1) Delete all files in system/etc/firmware (inside the zip)
_2) Go to META-INF/com/google/android/updater-script (in the zip) and remove all symlinks which start with /firmware and /firmware-modem
2) Use a root browser or adb pull and pull all files located in /firmware/image and /firmware-modem/image in the zip in /system/etc/firmware


cant find those location inside the zip sir sorry noob here and im using a500f sir thank you so much
 
  • Like
Reactions: leonardoncm

Qcraft

Member
Mar 21, 2016
27
3
0
LineageOS 14.1 for Galaxy A5 A500xx
You've probably known that cm is "dead", and that there is a new project called "LineageOS" which is a fork on the cyanogenmod project, so this is the "continue" of my cyanogenmod thread. Enjoy :)

NOTE: this ROM is for any A500 model and will not work for 2016 models (A510)

NOTE2: The First build is for A500FU only!!!

NOTE3: 1st zip is only for SM-A500FU, I'll upload A500XX zip soon, when I have time

Disclaimer:


1) Delete all files in system/etc/firmware (inside the zip)
_2) Go to META-INF/com/google/android/updater-script (in the zip) and remove all symlinks which start with /firmware and /firmware-modem
2) Use a root browser or adb pull and pull all files located in /firmware/image and /firmware-modem/image in the zip in /system/etc/firmware


cant find those location inside the zip sir sorry noob here and im using a500f sir thank you so much

you take /firmware/image and /firmware-modem/image from your stock rom and put them in /system/etc/firmware in the zip

hit thanks if it helped
 
  • Like
Reactions: leonardoncm