FORUMS
Remove All Ads from XDA

[ROM] LineageOS 13.0 builds for the Galaxy Exhibit II 4G

383 posts
Thanks Meter: 139
 
Post Reply Email Thread
Announcement from SJR (Sam): Development of LineageOS 13.0 for the Exhibit
DISCLAIMER
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Unofficial LineageOS 13.0 builds for the SGH-T679, ancora_tmo

This ROM currently has reboot issues. There is a list below that lists what works and what doesn't
What works:
  • Boots
  • Bluetooth
  • System Sounds
  • SD Card
  • Sensors like accelerometer, light sensor, etc.
  • Everything else that should work
What doesn't work:
  • WiFi
  • RIL (SIM)
  • Camera
  • Media Sounds (I think)
  • Reboots
  • Probably some sensors...
  • Other things I'm forgetting...

The current build that we are testing is available to download from the Downloads section of this thread. You will also need the boot.img downloaded too as it needs to be flashed RIGHT AFTER the ROM to the boot partition. ** NOTE: Before installing this ROM, you need to wipe all partitions in TWRP besides the SD Card, then flash! **
To flash this ROM, you will need cars1189's TWRP OS2SD recovery. It can be downloaded here:
https://www.androidfilehost.com/?fid=95916177934529908
We want your feedback here in the thread! PLEASE post things that are not working in the ROM besides the ones that we currently have listed! **We want help from dev that can get us logs through "adb logcat" to help fix bugs, etc.**
We also have a Telegram group chat setup for you guys to join if you like. The goal there is the same here, test, report, and fix. Logs can be sent to us here as well. You can join here:https://t.me/exhibitdev

XDA:DevDB Information
LineageOS 13.0 for Galaxy Exhibit II 4G, ROM for the Samsung Galaxy Exhibit 4G

Contributors
SJR (Sam), androidlover5842, cars1189
Source Code: http://www.github.com/ancora-tmo

ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
Based On: LineageOS

Version Information
Status: Beta

Created 2017-06-03
Last Updated 2017-06-07
The Following 4 Users Say Thank You to SJR (Sam) For This Useful Post: [ View ] Gift SJR (Sam) Ad-Free
 
 
2nd June 2017, 11:30 PM |#2  
Reserved
Changelog
Changelog is a work in progress, it will be appearing soon...
4th June 2017, 05:09 PM |#4  
Senior Member
Flag Pawtucket, RI
Thanks Meter: 341
 
More
Interesting effort.

It seems like there will be two kinds of issues with this effort: hardware support issues and footprint issues (because the device only has 512MB RAM).

Regarding hardware support: Did you start from "scratch" somehow, or from @cars1189's device tree? The git history at least doesn't reflect that. Since cars1189 had most of the hardware working I would have expected someone to start from there.

For the footprint side, although it may be somewhat counter-intuitive I would guess that you might have better luck with LineageOS 14.1 rather than LineageOS 13. Two data points: nexus 7 "grouper" (with 1GB RAM) seems to perform better with Nougat than with Marshmallow... and also, a new device "jelly" is being released via kickstarter with 512MB RAM and Nougat.
4th June 2017, 11:13 PM |#5  
Quote:
Originally Posted by aaopt

Interesting effort.

It seems like there will be two kinds of issues with this effort: hardware support issues and footprint issues (because the device only has 512MB RAM).

Regarding hardware support: Did you start from "scratch" somehow, or from @cars1189's device tree? The git history at least doesn't reflect that. Since cars1189 had most of the hardware working I would have expected someone to start from there.

For the footprint side, although it may be somewhat counter-intuitive I would guess that you might have better luck with LineageOS 14.1 rather than LineageOS 13. Two data points: nexus 7 "grouper" (with 1GB RAM) seems to perform better with Nougat than with Marshmallow... and also, a new device "jelly" is being released via kickstarter with 512MB RAM and Nougat.

Thanks for the reply! We started with a mix of @sirmordred's and @cars1189's trees and kernels respectively. We are reworking the hardware that doesn't work from some scratch and already written stuff to make it work nicely. @cars1189 cm12.1 was like 100% stable but it wasn't even close when we initially went to build it with LOS13. Nougat would be good to try but MM needs a stable base for now if you get what I mean. We are optimizing RAM as much as possible, currently the system reads 423MB. We are planning some more optimization soon but we are working on fixing rebooting, SE Policy, and such. Otherwise the system UI runs pretty quick right now. In general, MM will be more usable than Nougat but I'll talk to AndroidLover, my helper/dev and bug fixer, and we will figure something out!
The Following 2 Users Say Thank You to SJR (Sam) For This Useful Post: [ View ] Gift SJR (Sam) Ad-Free
5th June 2017, 08:52 AM |#6  
Senior Member
Flag Atlanta
Thanks Meter: 812
 
Donate to Me
More
Quote:
Originally Posted by aaopt

Interesting effort.

It seems like there will be two kinds of issues with this effort: hardware support issues and footprint issues (because the device only has 512MB RAM).

Regarding hardware support: Did you start from "scratch" somehow, or from @cars1189's device tree? The git history at least doesn't reflect that. Since cars1189 had most of the hardware working I would have expected someone to start from there.

For the footprint side, although it may be somewhat counter-intuitive I would guess that you might have better luck with LineageOS 14.1 rather than LineageOS 13. Two data points: nexus 7 "grouper" (with 1GB RAM) seems to perform better with Nougat than with Marshmallow... and also, a new device "jelly" is being released via kickstarter with 512MB RAM and Nougat.

Quote:
Originally Posted by SJR (Sam)

Thanks for the reply! We started with a mix of @sirmondred's and @cars1189's trees and kernels respectively. We are reworking the hardware that doesn't work from some scratch and already written stuff to make it work nicely. @cars1189 cm12.1 was like 100% stable but it wasn't even close when we initially went to build it with LOS13. Nougat would be good to try but MM needs a stable base for now if you get what I mean. We are optimizing RAM as much as possible, currently the system reads 423MB. We are planning some more optimization soon but we are working on fixing rebooting, SE Policy, and such. Otherwise the system UI runs pretty quick right now. In general, MM will be more usable than Nougat but I'll talk to AndroidLover, my helper/dev and bug fixer, and we will figure something out!

Nice to see someone still working on this. Theres definitely many things that need fixing if someone is to update for newer android versions. Last i left off the sensors where being moved open source and while they work on older versions even 5.1.1 had issues with some of them. If anyone wants help or for me to try a build(if you have a bootable base) id be more then happy to help test, I just dont have much time for development. Good Luck!
The Following User Says Thank You to cars1189 For This Useful Post: [ View ] Gift cars1189 Ad-Free
5th June 2017, 02:09 PM |#7  
Quote:
Originally Posted by cars1189

Nice to see someone still working on this. Theres definitely many things that need fixing if someone is to update for newer android versions. Last i left off the sensors where being moved open source and while they work on older versions even 5.1.1 had issues with some of them. If anyone wants help or for me to try a build(if you have a bootable base) id be more then happy to help test, I just dont have much time for development. Good Luck!

It would be great to help us out! There is a test build that boots but has some rebooting issues. In the Downloads section of this thread. So yeah, we need a hand with testing and stuf!
Thanks!
Sam
6th June 2017, 11:07 AM |#8  
Senior Member
Flag Atlanta
Thanks Meter: 812
 
Donate to Me
More
Quote:
Originally Posted by SJR (Sam)

It would be great to help us out! There is a test build that boots but has some rebooting issues. In the Downloads section of this thread. So yeah, we need a hand with testing and stuf!
Thanks!
Sam

Below is what i found of things that need to be addressed. I however am no able to get it to boot it just keep restarting at the boot animation. Seems like theres still alot to be done.

Code:
#1 ZN7android11MediaPlayer13setDataSourceEPKcPKNS_11KeyedVectorINS_7String8ES4_EE 
add /system/lib/libseccameraadaptor.so|libshim_native.so
maybe more after you add this?

Lot of selinux issues id recomment trying with permisive

06-06 09:42:57.670     1     1 I init    : type=1400 audit(0.0:3): avc: denied { mounton } for path="/sys/kernel/debug" dev="debugfs" ino=1 scontext=u:r:init:s0 tcontext=u:object_r:debugfs:s0 tclass=dir permissive=1

06-06 09:42:58.270     1     1 I init    : type=1400 audit(0.0:4): avc: denied { setattr } for name="mmcblk0p14" dev="tmpfs" ino=4049 scontext=u:r:init:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1

06-06 09:42:58.500   134   134 I e2fsck  : type=1400 audit(0.0:5): avc: denied { read } for name="mmcblk0p15" dev="tmpfs" ino=4052 scontext=u:r:fsck:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1

06-06 09:42:58.500   134   134 I e2fsck  : type=1400 audit(0.0:6): avc: denied { open } for name="mmcblk0p15" dev="tmpfs" ino=4052 scontext=u:r:fsck:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1

06-06 09:42:58.500   134   134 I e2fsck  : type=1400 audit(0.0:7): avc: denied { write } for name="mmcblk0p15" dev="tmpfs" ino=4052 scontext=u:r:fsck:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1

06-06 09:42:58.500   134   134 I e2fsck  : type=1400 audit(0.0:8): avc: denied { ioctl } for path="/dev/block/mmcblk0p15" dev="tmpfs" ino=4052 ioctlcmd=127c scontext=u:r:fsck:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1

06-06 09:42:58.600   126   126 I multipdp: type=1400 audit(0.0:9): avc: denied { read write } for name="dpram1" dev="tmpfs" ino=3807 scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1

06-06 09:42:58.600   126   126 I multipdp: type=1400 audit(0.0:10): avc: denied { open } for name="dpram1" dev="tmpfs" ino=3807 scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1

06-06 09:42:59.991     1     1 I init    : type=1400 audit(0.0:11): avc: denied { getattr } for path="/system/bin/sdcard" dev="mmcblk0p17" ino=501 scontext=u:r:init:s0 tcontext=u:object_r:sdcardd_exec:s0 tclass=file permissive=1

06-06 09:43:00.011   175   175 I init    : type=1400 audit(0.0:12): avc: denied { execute } for name="sdcard" dev="mmcblk0p17" ino=501 scontext=u:r:init:s0 tcontext=u:object_r:sdcardd_exec:s0 tclass=file permissive=1

06-06 09:43:00.011   175   175 I init    : type=1400 audit(0.0:13): avc: denied { read open } for name="sdcard" dev="mmcblk0p17" ino=501 scontext=u:r:init:s0 tcontext=u:object_r:sdcardd_exec:s0 tclass=file permissive=1

06-06 09:43:00.011   175   175 I init    : type=1400 audit(0.0:14): avc: denied { execute_no_trans } for path="/system/bin/sdcard" dev="mmcblk0p17" ino=501 scontext=u:r:init:s0 tcontext=u:object_r:sdcardd_exec:s0 tclass=file permissive=1

06-06 09:43:00.141   179   179 I init    : type=1400 audit(0.0:15): avc: denied { execute_no_trans } for path="/system/bin/get_macaddrs" dev="mmcblk0p17" ino=354 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1

06-06 09:43:00.381   183   183 I expr    : type=1400 audit(0.0:16): avc: denied { write } for path="pipe:[4523]" dev="pipefs" ino=4523 scontext=u:r:toolbox:s0 tcontext=u:r:init:s0 tclass=fifo_file permissive=1

06-06 09:43:01.052   160   160 I surfaceflinger: type=1400 audit(0.0:18): avc: denied { read write } for name="kgsl-2d0" dev="tmpfs" ino=4104 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1

06-06 09:43:01.052   160   160 I : type=1400 audit(0.0:19): avc: denied { open } for name="kgsl-2d0" dev="tmpfs" ino=4104 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1

06-06 09:43:04.876     1     1 I init    : type=1400 audit(0.0:25): avc: denied { getattr } for path="/system/bin/sdcard" dev="mmcblk0p17" ino=501 scontext=u:r:init:s0 tcontext=u:object_r:sdcardd_exec:s0 tclass=file permissive=1

06-06 09:43:04.886   249   249 I init    : type=1400 audit(0.0:26): avc: denied { execute } for name="sdcard" dev="mmcblk0p17" ino=501 scontext=u:r:init:s0 tcontext=u:object_r:sdcardd_exec:s0 tclass=file permissive=1

06-06 09:43:04.896   249   249 I init    : type=1400 audit(0.0:27): avc: denied { read open } for name="sdcard" dev="mmcblk0p17" ino=501 scontext=u:r:init:s0 tcontext=u:object_r:sdcardd_exec:s0 tclass=file permissive=1

06-06 09:43:04.896   249   249 I init    : type=1400 audit(0.0:28): avc: denied { execute_no_trans } for path="/system/bin/sdcard" dev="mmcblk0p17" ino=501 scontext=u:r:init:s0 tcontext=u:object_r:sdcardd_exec:s0 tclass=file permissive=1

06-06 09:43:05.046   168   168 I mediaserver: type=1400 audit(0.0:29): avc: denied { execmod } for path="/system/lib/libaudioalsa.so" dev="mmcblk0p17" ino=1204 scontext=u:r:mediaserver:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1

[   10.267028] type=1400 audit(1496742028.465:23): avc: denied { read write } for pid=160 comm="surfaceflinger" name="msm_rotator" dev="tmpfs" ino=3978 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:audio_device:s0 tclass=chr_file permissive=1

[   10.338684] type=1400 audit(1496742028.465:24): avc: denied { open } for pid=160 comm="surfaceflinger" name="msm_rotator" dev="tmpfs" ino=3978 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:audio_device:s0 tclass=chr_file permissive=1

Service sdcard needs a SELinux domain defined

LineageOS Version: '13.0-20170526-UNOFFICIAL-ancora_tmo'
6th June 2017, 02:06 PM |#9  
Quote:
Originally Posted by cars1189

Below is what i found of things that need to be addressed. I however am no able to get it to boot it just keep restarting at the boot animation. Seems like theres still alot to be done.

Oh, sorry! I should include a built boot.img from our cm12 kernel(yours that got androidlover to get it to boot it for now.) THE boot.img is now available in the downloads section. Also if logcat can be posted a zip file or text file, that would be great, or we will find another way to share them.
Sam
6th June 2017, 02:53 PM |#10  
Hey all, I added a link to the first post. It includes out new Telegram groupchat link to talk about the phone, etc. in there. Go join it if you like!
8th June 2017, 03:17 PM |#11  
We are planning to push out a new build in a day or so that will be much better. Stay posted!! Write us any questions and I will read them!
The Following User Says Thank You to SJR (Sam) For This Useful Post: [ View ] Gift SJR (Sam) Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes