[LineageOS][8.1.0_r46][UNOFFICIAL][sanders] Moto G5S Plus - 13/09/2018

Search This thread

MasterAwesome

Recognized Developer
Jun 23, 2013
2,019
3,985
OnePlus 6
2okPze5.png


Before I start, I've been inactive for a while and I just got this phone and I got the first build to compile, I need testers to tell me what's working and what's not and if it even boots I'll be flashing this on my device around next week just wanted a head start on development.

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 or if your cat barks at you, I will laugh at you.
 */

LineageOS is a free, community built, aftermarket firmware distribution of Android 8.0 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

What's working :
  • Wifi
  • RIL
  • Mobile data
  • GPS
  • Camera
  • Flashlight
  • Camcorder
  • Bluetooth
  • FMRadio
  • Fingerprint reader
  • NFC
  • Lights
  • Sound / vibration

What's not working :
  • UNKNOWN NEED TESTERS

Instructions :
  • Download the latest build and gapps
  • Reboot to recovery
  • Flash the latest build and gapps
  • Reboot to system

Downloads :

Reporting Bugs
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log


Sources
Kernel:-https://github.com/MasterAwesome/android_kernel_motorola_msm8953
Device:-https://github.com/MasterAwesome/android_device_motorola_sanders
Vendor:-https://github.com/MasterAwesome/proprietary_vendor_motorola_sanders

XDA:DevDB Information
LineageOS, ROM for the Moto G5S Plus

Contributors
MasterAwesome, vache
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
Based On: LineageOS

Version Information
Status: Testing

Created 2018-01-21
Last Updated 2018-09-14
 
Last edited:

khaoticking

Senior Member
Jun 5, 2013
325
153
Tried flashing the updater script is preventing me saying my device isn't sanders I have the US version XT1806
 
R

random571

Guest
Thanks for the ROM. It's nice to see another dev for our device.
Xt1806 - it flashed fine but reboots to fastboot mode. Would a recovery log help?
Edit: dmesg attached
View attachment dmesg.log
 
Last edited:

MasterAwesome

Recognized Developer
Jun 23, 2013
2,019
3,985
OnePlus 6
Tried flashing the updater script is preventing me saying my device isn't sanders I have the US version XT1806

I'll add your devices to the list

Thanks for the ROM. It's nice to see another dev for our device.
Xt1806 - it flashed fine but reboots to fastboot mode. Would a recovery log help?
Edit: dmesg attached

Flashing has no errors in TWRP, but will only boot to fastboot. Dmesg extracted from TWRP coming.

Oh dmesg produced is from your recovery kernel, I'll add a script to log into your sdcard next build.

Try /sys/fs/pstore/console-ramoops

Also^ the above command requires you to boot into your recovery from fastboot not reboot into it, file is on memory, fastboot boot recovery.img should do the trick, the problem mostly is the init scripts should be easy to fix
 
Last edited:

gebcruz06

Senior Member
Dec 1, 2016
82
44
@MasterAwesome
Tried clean flash on XT1805. Stuck in boot loop.
Must be because the build is only for XT1802. Appreciate if you could include multiple models as well in the next build. I'm more than willing to test.
Can you also build Lineage 15.1 since lineage 15.0 branch is deprecated? Thanks.
 

MasterAwesome

Recognized Developer
Jun 23, 2013
2,019
3,985
OnePlus 6
Yeah that was the plan, I already had the sources for 15.0 so I wanted a really quick build. Anyhoo, my ISP is down should be back by tomorrow I think.
 
  • Like
Reactions: aadi50

gebcruz06

Senior Member
Dec 1, 2016
82
44
Yeah that was the plan, I already had the sources for 15.0 so I wanted a really quick build. Anyhoo, my ISP is down should be back by tomorrow I think.

Hi, @MasterAwesome
Thanks for your interest in lineage development for this phone you might be the lineage maintainer this phone needs. Are you picking up on where @vache has left off in this thread https://xdaforums.com/moto-g5s-plus/development/rom-lineageos-15-0-t3684991 or are you compiling lineage from source natively for sanders?

Thanks and best regards.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 24
    2okPze5.png


    Before I start, I've been inactive for a while and I just got this phone and I got the first build to compile, I need testers to tell me what's working and what's not and if it even boots I'll be flashing this on my device around next week just wanted a head start on development.

    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 or if your cat barks at you, I will laugh at you.
     */

    LineageOS is a free, community built, aftermarket firmware distribution of Android 8.0 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    What's working :
    • Wifi
    • RIL
    • Mobile data
    • GPS
    • Camera
    • Flashlight
    • Camcorder
    • Bluetooth
    • FMRadio
    • Fingerprint reader
    • NFC
    • Lights
    • Sound / vibration

    What's not working :
    • UNKNOWN NEED TESTERS

    Instructions :
    • Download the latest build and gapps
    • Reboot to recovery
    • Flash the latest build and gapps
    • Reboot to system

    Downloads :

    Reporting Bugs
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log


    Sources
    Kernel:-https://github.com/MasterAwesome/android_kernel_motorola_msm8953
    Device:-https://github.com/MasterAwesome/android_device_motorola_sanders
    Vendor:-https://github.com/MasterAwesome/proprietary_vendor_motorola_sanders

    XDA:DevDB Information
    LineageOS, ROM for the Moto G5S Plus

    Contributors
    MasterAwesome, vache
    ROM OS Version: 8.x Oreo
    ROM Kernel: Linux 3.x
    Based On: LineageOS

    Version Information
    Status: Testing

    Created 2018-01-21
    Last Updated 2018-09-14
    13
    New build released

    Build: https://androidfilehost.com/?fid=962187416754476454

    Changelog from previous build

    vendor:

    sanders: cleanup source build packages
    device:
    67a642f sanders: Move dalvik/HWUI props to device.mk
    03a2ab4 sanders: Build LiveDisplay HAL
    30ddee8 Remove leftover libshim files
    f496101 export vendor fingerprint
    8e65e75 Update dependencies
    0f52bbf msm8953: Update the sched parameters
    b5a9a07 update fingerprint
    575a240 update GPS HAL
    146a8bc Derp
    04ac65a Enable pinner service
    fd295fa Update fingerprint and desc
    24997b4 remove cpuset foreground boost
    ec1c9c0 remove CPUSETS build flags
    3fecd27 build textclassifier
    d07ddf9 libshims: transition to TARGET_LD_SHIM_LIBS
    2df4e45 use soong build system for libshims
    e7e6112 sanders: Add OEM privileged app permissions
    5b73187 Add lineage power HAL and health HAL
    86e3719 Remove vfwconfig.json
    88dcbcb Update audio configs
    kernel:
    update to 3.18.105
    ee61c42cdc56 Linux 3.18.105
    d4c7cc4f00e7 Revert "xhci: plat: Register shutdown for xhci_plat"
    14e7b73e0f7a ipv6: the entire IPv6 header chain must fit the first fragment
    132ed3ce1c0f net sched actions: fix dumping which requires several messages to user space
    7a88beec096d r8169: fix setting driver_data after register_netdev
    beef5f55f283 ip6_tunnel: better validate user provided tunnel names
    a34afcd7ac32 vti6: better validate user provided tunnel names
    8a3c811dabaf ip6_gre: better validate user provided tunnel names
    dc7c8d5a89d8 ipv6: sit: better validate user provided tunnel names
    91eb5e299bfd ip_tunnel: better validate user provided tunnel names
    4294a9249cbb net: fool proof dev_valid_name()
    2fdfeeb4fb0d bonding: process the err returned by dev_set_allmulti properly in bond_enslave
    9fbfd915e847 bonding: move dev_mc_sync after master_upper_dev_link in bond_enslave
    32a95a936bc1 bonding: fix the err path for dev hwaddr sync in bond_enslave
    a9a34147b339 vhost: correctly remove wait queue during poll failure
    d81a114bfcec sky2: Increase D3 delay to sky2 stops working after suspend
    dc773a3eb307 sctp: sctp_sockaddr_af must check minimal addr length for AF_INET6
    ff7e01d22e84 sctp: do not leak kernel memory to user space
    3e70b090551e pptp: remove a buggy dst release in pptp_connect()
    9f1aa63bab64 netlink: make sure nladdr has correct size in netlink_connect()
    5bc6fb44572e net: fix possible out-of-bound read in skb_network_protocol()
    3ce4c8b5c854 futex: Remove requirement for lock_page() in get_futex_key()
    524f1208a13a random: use lockless method of accessing and updating f->reg_idx
    908302d24c83 virtio_net: check return value of skb_to_sgvec in one more location
    64e7e81890c5 virtio_net: check return value of skb_to_sgvec always
    8405cef7aac2 rxrpc: check return value of skb_to_sgvec always
    617b85ded536 ipsec: check return value of skb_to_sgvec always
    dda936fc690c EDAC, mv64x60: Fix an error handling path
    180322c1130f tty: n_gsm: Allow ADM response in addition to UA for control dlci
    c2622affc055 scsi: libsas: initialize sas_phy status according to response of DISCOVER
    fe987c54bf1d scsi: libsas: fix error when getting phy events
    d284f8d9f6a8 scsi: libsas: fix memory leak in sas_smp_get_phy_events()
    5772163f05bd bcache: segregate flash only volume write streams
    a5985214156f bcache: stop writeback thread after detaching
    3be444d63871 vxlan: dont migrate permanent fdb entries during learn
    9449a2de19fd ACPICA: Disassembler: Abort on an invalid/unknown AML opcode
    6f84872f24cb ACPICA: Events: Add runtime stub support for event APIs
    f71bd0956ab4 Bluetooth: Send HCI Set Event Mask Page 2 command only when needed
    d952d3e133cc iio: magnetometer: st_magn_spi: fix spi_device_id table
    ea28ad615681 sparc64: ldc abort during vds iso boot
    555244a50075 sctp: fix recursive locking warning in sctp_do_peeloff
    9b14d1bdcf65 bnx2x: Allow vfs to disable txvlan offload
    35042d0ccabc xen: avoid type warning in xchg_xen_ulong
    44e36f766327 perf tests: Decompress kernel module before objdump
    b774b44f15f1 net: emac: fix reset timeout with AR8035 phy
    0fab37b2e7ca MIPS: kprobes: flush_insn_slot should flush only if probe initialised
    6a644f0fb7bc MIPS: mm: fixed mappings: correct initialisation
    b1ee1f7cfa39 perf/core: Correct event creation with PERF_FORMAT_GROUP
    11b969feabe9 e1000e: Undo e1000e_pm_freeze if __e1000_shutdown fails
    d994ce8e07c0 net: phy: avoid genphy_aneg_done() for PHYs without clause 22 support
    4a0b61cc2864 mceusb: sporadic RX truncation corruption fix
    b00fe3c946f7 cx25840: fix unchecked return values
    5685f3b28c99 e1000e: fix race condition around skb_tstamp_tx()
    da089b5e9d66 tags: honor COMPILED_SOURCE with apart output directory
    74a6580ef60c perf report: Ensure the perf DSO mapping matches what libdw sees
    fa484360edb3 net/mlx4: Fix the check in attaching steering rules
    d85d651c4e18 skbuff: return -EMSGSIZE in skb_to_sgvec to prevent overflow
    43ec8f6ecd89 bio-integrity: Do not allocate integrity context for bio w/o data
    08b4244bf8a4 Fix serial console on SNI RM400 machines
    7a82e810d420 drm/omap: fix tiled buffer stride calculations
    eb67580eb558 mISDN: Fix a sleep-in-atomic bug
    37dce335f45b qlcnic: Fix a sleep-in-atomic bug in qlcnic_82xx_hw_write_wx_2M and qlcnic_82xx_hw_read_wx_2M
    e5310bd3c287 perf trace: Add mmap alias for s390
    dc0b3c6134a8 powerpc/spufs: Fix coredump of SPU contexts
    63424905bbd8 KVM: SVM: do not zero out segment attributes if segment is unusable or not present
    baefcf267613 net: freescale: fix potential null pointer dereference
    d3653597f011 rtc: interface: Validate alarm-time before handling rollover
    248d751921cd arm64: futex: Fix undefined behaviour with FUTEX_OP_OPARG_SHIFT usage
    3d905d6ca7f8 powerpc/[booke|4xx]: Don't clobber TCR[WP] when setting TCR[DIE]
    b4862f9414c7 ovl: filter trusted xattr for non-admin
    8d0402a470b6 hdlcdrv: Fix divide by zero in hdlcdrv_ioctl
    954ef6d6c445 wl1251: check return from call to wl1251_acx_arp_ip_filter
    137cbdb9d114 vfb: fix video mode and line_length being set when loaded
    29c42882af33 scsi: libiscsi: Allow sd_shutdown on bad transport
    e2c6fb2484f5 l2tp: fix missing print session offset info
    08614ed0ff32 net: llc: add lock_sock in llc_ui_bind to avoid a race condition
    21aa10fef6aa KVM: nVMX: Fix handling of lmsw instruction
    7bb7bddaead9 bonding: Don't update slave->link until ready to commit
    8829cf28a992 net: move somaxconn init from sysctl code
    d51cfaae3d7e ext4: fix off-by-one on max nr_pages in ext4_find_unwritten_pgoff()
    ab04c393d17a fix race in drivers/char/random.c:get_reg()
    21ad0a558378 scsi: bnx2fc: fix race condition in bnx2fc_get_host_stats()
    59d2edee31d2 netfilter: ctnetlink: fix incorrect nf_ct_put during hash resize
    6d1a276f477c libceph: NULL deref on crush_decode() error path
    2e10789e7fbe block: fix an error code in add_partition()
    c84f1510cfcf leds: pca955x: Correct I2C Functionality
    2885cf60e70e ray_cs: Avoid reading past end of buffer
    b4cbbd9baeb6 ARM: davinci: da8xx: Create DSP device only when assigned memory
    70b1fc128116 xfrm: fix state migration copy replay sequence numbers
    b5d89bc6f185 selftests/powerpc: Fix TM resched DSCR test with some compilers
    731905822c40 ath5k: fix memory leak on buf on failed eeprom read
    8d4601ecd3fa sh_eth: Use platform device for printing before register_netdev()
    fb4b03995216 USB: ene_usb6250: fix SCSI residue overwriting
    9bc4a32b540f net: x25: fix one potential use-after-free issue
    32dd03056dd3 USB: ene_usb6250: fix first command execution
    0540ee586b1f usb: chipidea: properly handle host or gadget initialization failure
    91386aca37c4 neighbour: update neigh timestamps iff update is effective
    4c7e710064d6 ata: libahci: properly propagate return value of platform_get_irq()
    d936921fd68c btrfs: fix incorrect error return ret being passed to mapping_set_error
    f6701202cfec usb: dwc3: keystone: check return value
    ac77405f6743 async_tx: Fix DMA_PREP_FENCE usage in do_async_gen_syndrome()
    bc36c778ce3b ipv6: avoid dad-failures for addresses with NODAD
    09644deec761 ARM: dts: imx6qdl-wandboard: Fix audio channel swap
    c5edbd39e458 x86/tsc: Provide 'tsc=unstable' boot parameter
    0117f428d9c5 staging: wlan-ng: prism2mgmt.c: fixed a double endian conversion before calling hfa384x_drvr_setconfig16, also fixes relative sparse warning
    67ee03697bdc PowerCap: Fix an error code in powercap_register_zone()
    3515ad6a706c SMB2: Fix share type handling
    c0d707c5278e vmxnet3: ensure that adapter is in proper state during force_close
    31cf5e566824 KVM: PPC: Book3S PR: Check copy_to/from_user return values
    10157f810bea netxen_nic: set rcode to the return status from the call to netxen_issue_cmd
    9fd93f461ee4 net: qca_spi: Fix alignment issues in rx path
    458f0dc0098c CIFS: silence lockdep splat in cifs_relock_file()
    30a973c81115 net/mlx4_en: Avoid adding steering rules with invalid ring
    35f3cdbf513f s390: move _text symbol to address higher than zero
    535866d97950 pidns: disable pid allocation if pid_ns_prepare_proc() is failed in alloc_pid()
    b400e688de03 lockd: fix lockd shutdown race
    c4cdff36aa47 net: ethernet: ti: cpsw: adjust cpsw fifos depth for fullduplex flow control
    d0165a52ce34 qlge: Avoid reading past end of buffer
    5ce997591110 bna: Avoid reading past end of buffer
    575e4ce1478f mac80211: bail out from prep_connection() if a reconfig is ongoing
    5be26505cce5 af_key: Fix slab-out-of-bounds in pfkey_compile_policy.
    5280a78fb46a IB/srpt: Fix abort handling
    e15d13d9141c NFSv4.1: RECLAIM_COMPLETE must handle NFS4ERR_CONN_NOT_BOUND_TO_SESSION
    b64b889cda83 Linux 3.18.104
    041699447429 net: fec: fix build error in fec driver
    f03a1a75717a Linux 3.18.1033

    9
    New build released

    Build: https://androidfilehost.com/?fid=1322778262904005463

    Changelog from previous build

    vendor:

    Revert "sanders: hax some blobs to fix missing symbols"
    ae0d9c2 sanders: update NFC firmware from OPS28.65-14
    ff314a2 sanders: Move NFC firmware location to /vendor/lib/
    c937006 sanders: hax some blobs to fix missing symbols
    b48f162 sanders: switch to 64b sensors blobs
    99c5325 sanders: update sensors.qcom from OPS28.65-14
    2d461a5 sanders: update camera blobs from OPS28.65-14
    cff76c4 sanders: update display/adreno and media blobs again
    a066d06 sanders: update display/adreno and media blobs
    929e637 sanders: update camera and sensors blobs
    6d43fa9 sanders: update acdb data blobs
    ee3ace6 sanders: add missing firmware blobs
    665e53d sanders: cleanup
    d36a099 ims: update ims.apk
    8d28461 potter: Update DTVPlayer to 01.01.0393
    4f1ee03 potter: Update DTVPlayer
    f5be910 sanders: update ACDB and ADSP blobs
    16cf3e6 sanders: Use O-MR1 based GPS blobs
    312f8ba sanders: Use O-MR1 based display and media blobs
    5d603dc sanders: Update to KPTI patched time blobs
    device:
    d1282f3 sanders: clean up overlays
    43fb515 sanders: copy ueventd.rc to root
    79ea440 sanders: build device policies
    7cc1400 sanders: update system.prop from OPS28.49-2
    316874d sanders: update WiFi config from OPS28.49-2
    b47b074 sanders: update display configs from OPS28.49-2
    c91fa99 sanders: update audio configs from OPS28.49-2
    7275135 sanders: move scripts to vendor
    808c255 sanders: update lineage.dependencies
    2d3d0d1 sanders: remove cnss-daemon
    cd28c1e sanders: build Snap
    6953a5f sanders: tweak bfq iosched for flash drives and remove min_sample_time
    fcce5ef sanders: overlay: Enable network location overlay for microG's UnifiedNlp
    59c0b88 sanders: update call recording overlay
    42c4a60 sanders: use proprietary qti telephony libraries
    a65d5f4 sanders: update and cleanup
    2df051b sanders: update media configs from stock
    d62bb98 sanders: Fix bluetooth calling
    098bf52 sanders: cleanup shim libraries
    dc3ca80 sanders: Move HIDL shims to vendor
    cf7e4b5 sanders: update camera configs from stock
    dd06067 sanders: build a 32b version of android.hardware.sensors service
    932a0bf sanders: sepolicy: Initial fixes
    56136a1 sanders: update audio configs from stock
    98b8aa3 sanders: update system.prop from stock
    7
    Great work!!! Simply awesome:good: Build is rock solid, very stable. Everything running smooth. Thinking of using it as a daily driver. Will give a detailed review this weekend. Thanks once again. Really superb! :highfive:

    Sounds good drop a review after using it a bit. Gotta squash bugs if any :p

    @MasterAwesome amazing build! Now Is stable, the kernelhave all freq working. Maybe in a future we have official support? <3 Thank u man!

    I've contacted the team to get official support. We wait for the reply now :fingers-crossed:
    5

    I need to release another update soon the nav bar was buggy in the uploaded build, I'll fix in the next build. But yeah bi weekly sounds right.