• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[UNOFFICIAL][ROM] LineageOS 17.1 for Galaxy Tab A 9.7[SM-P550]

Search This thread

retiredtab

Senior Member
Nov 16, 2017
856
434
I finally built a SM-P550 TWRP so the x-axis is mapped correctly for our device meaning you can stop using the SM-T550 TWRP. I have been using it for about 2 months without any problems. See

 

retiredtab

Senior Member
Nov 16, 2017
856
434
New build called lineage-17.1-20210917-UNOFFICIAL-gt5note10wifi.zip

Sept 17, 2021 release notes
1. Sept 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/316083
2. Whatever LiineageOS changed since last August release (about 49,500 files had to be recompiled).

NOTE: 18.1 continues to be my daily driver. I will likely stop making 17.1 monthly builds in 2022. That is, Dec 5, 2021 security patches will likely be the last 17.1 build.
 
  • Love
Reactions: breversa

saldirai

Senior Member
Jun 26, 2012
199
68
Xiaomi Mi CC9 / Mi 9 Lite
Hey there, when i searched through old messages i saw that spen issue was being tried to get fixed. The OP still indicates spen doesnt work but is that still so? i plan to give it a try, thx for the hard work.
 
Last edited:

retiredtab

Senior Member
Nov 16, 2017
856
434
Hey there, when i searched through old messages i saw that spen issue was being tried to get fixed. The OP still indicates spen doesnt work but is that still so? i plan to give it a try, thx for the hard work.
S-pen builds are not stable and prone to random reboots. I have given up working on it as I never use. If you want to fix it, the source code is available.
 
  • Like
Reactions: saldirai

retiredtab

Senior Member
Nov 16, 2017
856
434
New build called lineage-17.1-20211010-UNOFFICIAL-gt5note10wifi.zip

Oct 10, 2021 release notes
1. Oct 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/317410
2. Whatever LiineageOS changed since last Sept release (about 4,200 files had to be recompiled).

NOTE: 18.1 continues to be my daily driver. I will likely stop making 17.1 monthly builds in 2022. That is, Dec 5, 2021 security patches will likely be the last 17.1 build.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hey there, when i searched through old messages i saw that spen issue was being tried to get fixed. The OP still indicates spen doesnt work but is that still so? i plan to give it a try, thx for the hard work.
    S-pen builds are not stable and prone to random reboots. I have given up working on it as I never use. If you want to fix it, the source code is available.
  • 2
    New build called lineage-17.1-20210509-UNOFFICIAL-gt5note10wifi.zip

    May 9, 2021 release notes
    1. May 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/309564
    2. Whatever LiineageOS changed since last April release.
    2
    Spen working in 0, 90, 180, 270 now

    I figured it out the s-pen 90, 180, 270 problem!!! :)

    After reading

    https://source.android.com/devices/input/input-device-configuration-files

    and looking at the example, I remembered seeing the wacom driver file, table_msm8974.h, had code that said

    char *tuning_model = "N7100";

    The N7100 is the Samsung Galaxy Note II which has a spen.

    The driver name for the spen is sec_e-pen as shown previously in the logcat.

    So I searched github for n7100 sec_e-pen.idc and found

    https://raw.githubusercontent.com/i...7100/proprietary/system/usr/idc/sec_e-pen.idc

    I copied that file onto the tablet

    /system/vendor/usr/idc/sec_e-pen.idc

    using twrp to mount system as rw.

    So for code, I suggest something like

    Code:
    # sec_e-pen.idc driver needed so tablet knows its orientation aware and can work in 90, 180 and 270 mode.
    PRODUCT_COPY_FILES += \
        vendor/samsung/gt5note10wifi/proprietary/sec_e-pen.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/sec_e-pen.idc

    in device/samsung/gt5note10wifi/device.mk

    The contents of sec_e-pen.idc are two lines

    Code:
    touch.deviceType = pointer
    touch.orientationAware = 1

    Without this sec_e-pen.idc, the code defaults to touch.orientationAware=0 which is why the spen didn't understand the 90, 180 and 270 rotation change.

    So again, without recompiling your RR 10 code, I put sec_e-pen.idc into /system/vendor/usr/idc directory and RR 10 works properly at 0, 90, 180 and 270 with spen.

    I didn't test your RR 9.0 build with the above sec_e-pen.idc, but it should work.

    So you should have a fully working RR 10 build with external audio and spen fixed now for people to try after making the suggested changes.

    I will make a lineageos 17.1 build sometime after I get back on Oct 20 and test it for functionality, reliability and stability. If it's stable and functional, I will release that build.

    === logcat of it working with sec_e-pen.idc. Note orientation of sec_e-pen now matches sec_touchscreen ===
    === rotate 90 ===

    InputReader: Reconfiguring input devices. changes=0x00000004
    InputReader: Device reconfigured: id=3, name='input_mt_wrapper', size 768x1024, orientation 0, mode 4, display id 0
    I InputReader: Device reconfigured: id=8, name='sec_touchscreen', size 768x1024, orientation 1, mode 1, display id 0
    I InputReader: Device reconfigured: id=10, name='sec_e-pen', size 768x1024, orientation 1, mode 4, display id 0

    === rotate 180 ===

    InputReader: Reconfiguring input devices. changes=0x00000004
    InputReader: Device reconfigured: id=3, name='input_mt_wrapper', size 768x1024, orientation 0, mode 4, display id 0
    InputReader: Device reconfigured: id=8, name='sec_touchscreen', size 768x1024, orientation 2, mode 1, display id 0
    InputReader: Device reconfigured: id=10, name='sec_e-pen', size 768x1024, orientation 2, mode 4, display id 0

    === rotate 270 ===

    InputReader: Reconfiguring input devices. changes=0x00000004
    InputReader: Device reconfigured: id=3, name='input_mt_wrapper', size 768x1024, orientation 0, mode 4, display id 0
    InputReader: Device reconfigured: id=8, name='sec_touchscreen', size 768x1024, orientation 3, mode 1, display id 0
    InputReader: Device reconfigured: id=10, name='sec_e-pen', size 768x1024, orientation 3, mode 4, display id 0

    BTW, input_mt_wrapper, which I'm not sure what it does, would probably require a similar idc file created if we needed that to work in 90, 180 and 270.
    2
    New build called lineage-17.1-20210215-UNOFFICIAL-gt5note10wifi.zip

    Feb 15, 2021 release notes.
    1. Feb 5 security patches
    2. Whatever LiineageOS changed since last January release.
    2
    New build called lineage-17.1-20210411-UNOFFICIAL-gt5note10wifi.zip

    April 11, 2021 release notes
    1. April 5 security patches as per https://review.lineageos.org/c/LineageOS/android_build/+/307454
    2. Whatever LiineageOS changed since last March release. Nearly 59,000 out of the 70,000 files had to be recompiled due to the last set of changes.
    1
    Hey there, when i searched through old messages i saw that spen issue was being tried to get fixed. The OP still indicates spen doesnt work but is that still so? i plan to give it a try, thx for the hard work.
    S-pen builds are not stable and prone to random reboots. I have given up working on it as I never use. If you want to fix it, the source code is available.