[ROM][UNOFFICIAL][8.1.0][TB-X704F] LineageOS 15.1 for Lenovo Tab4 10 Plus - Thinkpad Tablet Android Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here 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.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1 (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.
What works:
Wifi
Bluetooth
Audio
LED
USB
RIL
Encryption
Fingerprint
Camera (partly)
Broken
Camera (autofocus & hdr)
Hall sensor
Selinux Enforcing
Source code:
device: https://github.com/yener90/android_device_lenovo_TBX704
kernel: https://github.com/yener90/android_kernel_lenovo_msm8953
vendor: https://github.com/yener90/android_vendor_lenovo_TBX704
Important
If you are using this ROM first time, wipe data. Wipe data completely. I mean the option where you need to enter "yes". Use this option and then flash the rom.
This ROM only works with the TWRP I added.
If you want to use GAPPS, flash it directly after flashing ROM. Don't let the ROM boot. Otherwise your device will not get certification, so you will not have Google Access.
Instructions (thx @matshias, just changed few lines to get ROM flashing working)
Put your ROM (and GApps) onto your sdcard (sdcard must be exfat or fat32, NTFS not supported)
Install fastboot and adb on your PC, e.g. from here
Enable developer options and in there select to unlock your bootloader by enabling OEM unlock and enable USB debugging
Connect your PC to your tablet and run
Code:
adb reboot bootloader
using adb on command line. The tablet will reboot into bootloader mode where you will only see the Lenovo logo. Now you use
Code:
fastboot oem unlock-go
to unlock. This will factory reset your device
Don't setup, cause you will need to format your tablet later again. Shutdown tablet. Hold volume up and power button to start to bootloader
Then run
Code:
fastboot flash recovery twrp-3.2.3-0-<your-filename>.img
to flash TWRP
Select with volume buttons "Recovery Mode" and press power button
Select to write to system, otherwise you can't flash ROM
Backup at least system and boot partitions to your sdcard cause you will wipe data in next step. Choose "System Image" for the system partition backup.
Format data using this tutorial
Flash ROM
Optionally flash SuperSU or Magisk in TWRP which should install system less. Keep OEM unlock enabled if you flash or modify anything
Restart
Download
2019-04-08
• changes to fingerprint
• changes to sdcard (careful those who are using sd card as internal)
• security updates: 2019-04-05
• updated TB-X704L fix file for fingerprint support
ROM
TB-X704L fix
TWRP
Older downloads
2019-04-05
• partly fixed camera (autofocus & hdr dont work), use Open Camera
• some debugging features disabled, should improve performance
ROM
2019-03-30
• fixed fingerprint
• first attemps fixing camera (will take longer than expected...)
ROM
2019-03-27
• intital release
ROM
Optional downloads
Dolby Digital Plus (use the TWRP one)
GAPPS (use 8.1 arm64; I suggest using pico variant)
Thanks
@highwaystar_ru (he gave me the important hint, also used his sources and his thread )
@LumenReaper (for his work with CM14.1, where I took big part of his device tree :fingers-crossed
@Flowah123 for the TB-X704L files :fingers-crossed:
Donations
For donations you can click here
Thanks to @rorzer, @Preyer11, @Tschumi, @MrMagic, @max_work & 5 x anonymous
Please don't support Lenovo and buy their tablets
Code:
[I]Updates vary depending on the model where our tablets receive Android and security updates after the introduction.
We announced Tab 4 10 Plus in February 2017 and since then it has received seven OTA updates.
However, this model has reached the end of its update cycle and will not receive any more updates in the future.
- Lenovo (2018-05-11)[/I]
Just seven updates and not even one major upgrade, please don't support them.
Reporting bugs
Please tell what mods you are using and what tablet variant (TB-X704F or L or ABCDEFGH..)
If your tablet doesnt start:
go to TWRP. use file manager, go to sys/fs/pstore, copy the files and upload it here.
if your tablet starts and bug appears later:
go to TWRP. use file manager, go to sys/fs/pstore, copy the files
start your tablet normal, let the bug appear, enter adb root
use adb logcat and adb shell dmesg, copy the content to a text file and upload here
XDA:DevDB Information
[ROM][UNOFFICIAL][8.1.0][TB-X704F] LineageOS 15.1 for Lenovo Tab4 10 Plus, ROM for the Lenovo Thinkpad Tablet
Contributors
yener90
ROM OS Version: 8.x Oreo
Version Information
Status: Testing
Created 2019-03-27
Last Updated 2019-05-13

The system itself runs very well. Also TWRP is very nice in landscape.
Maybe some notes after a short test phase, because your post is not so detailed yet.
Works:
- Encryption (forceencrypt is enabled)
- Clearly better audio quality than in Lineage 14.1 (Yener has already made me aware of my mistake)
- Significantly newer kernel (3.18.115 instead of 3.18.31)
Broken:
- Hall sensor
- selinux (for completeness only)
All in all very good rom. Thank you Yener!

Great work guys! I am waiting for the fingerprint to get fixed and then installing asap.

ROM loaded and running with no problems so far so thanks to @yener90, also thanks to @LumenReaper for starting the whole ball rolling. one thing I noticed is after doing Format data and wiping system, data and the caches i'm re-encrypted, it's not a major problem though, when i do another update in the future i'll format data again and see if encryption goes away
---------- Post added at 04:38 PM ---------- Previous post was at 04:38 PM ----------
ROM loaded and running with no problems so far so thanks to @yener90, also thanks to @LumenReaper for starting the whole ball rolling. one thing I noticed is after doing Format data and wiping system, data and the caches i'm re-encrypted, it's not a major problem though, when i do another update in the future i'll format data again and see if encryption goes away

peterCR56 said:
ROM loaded and running with no problems so far so thanks to @yener90, also thanks to @LumenReaper for starting the whole ball rolling. one thing I noticed is after doing Format data and wiping system, data and the caches i'm re-encrypted, it's not a major problem though, when i do another update in the future i'll format data again and see if encryption goes away
Click to expand...
Click to collapse
This rom has force encrypt enabled, so it will not go away

LumenReaper said:
This rom has force encrypt enabled, so it will not go away
Click to expand...
Click to collapse
good to know, i thought i missed something

:victory: finally

Thank you for doing this!!!
Thank you for working on this device!!! I thought the Tab 4 10 Plus I imported for Korea was never going to see another update after I read the news awhile back. I took the plunge and installed TWRP and rooted my device tonight. I can't wait to get Oreo or even Pie installed on my tablet in the future!

First off, very well done @yener90 and @LumenReaper, thank you.
Am I correct in thinking that if I flash this to my TB-X704V it should work except for the SIM functions ?
Also are Gapps included?
TIA

Sparkrite said:
First off, very well done @yener90 and @LumenReaper, thank you.
Am I correct in thinking that if I flash this to my TB-X704V it should work except for the SIM functions ?
Also are Gapps included?
Click to expand...
Click to collapse
I'm not sure, if X704V works. Try to boot from the recovery, I uploaded, from your pc.
For this switch to bootloader mode and enter fastboot boot twrp.img
If you get on your screen an error like: no dtb found, than your device requires special fix.
Don't try it out then.

yener90 said:
I'm not sure, if X704V works. Try to boot from the recovery, I uploaded, from your pc.
For this switch to bootloader mode and enter fastboot boot twrp.img
If you get on your screen an error like: no dtb found, than your device requires special fix.
Don't try it out then.
Click to expand...
Click to collapse
Cheers, for fast reply.
I'll certainly try that out later today and let you know.
EDIT:
Just tried it and booted to your TWRP just fine, nice landscape view BTW.
All appears OK, but while it "saw" the ext SD I couldn't explore it but I could the explore the internal SD.
Just one thing, when I went to exit by rebooting to system, it crashed and just hung there.

Sparkrite said:
Cheers, for fast reply.
I'll certainly try that out later today and let you know.
EDIT:
Just tried it and booted to your TWRP just fine, nice landscape view BTW.
All appears OK, but while it "saw" the ext SD I couldn't explore it but I could the explore the internal SD.
Just one thing, when I went to exit by rebooting to system, it crashed and just hung there.
Click to expand...
Click to collapse
Thats normal. Install twrp and boot to recovery. There it will never freeze.
Try it out. Before you do copy your system files to your pc. Maybe for your device some files are required.

Just one more thing, as I said, does the ROM have Gapps already installed?
TIA

Sparkrite said:
Just one more thing, as I said, does the ROM have Gapps already installed?
TIA
Click to expand...
Click to collapse
Nope
UPDATE
Download
2019-03-30
• fixed fingerprint
• first attemps fixing camera (will take longer than expected...)
ROM Download

I'm thinking on buying this tablet, but I've heard that the 5ghz wifi has some dropouts. Have anyone test it out with this rom with iperf? (Wifi Speed Test app for example)
Also I'm interested to know what issues have been found with the fingerprint. (1 minute before the dev solved it)

MiSSigNNo said:
I'm thinking on buying this tablet, but I've heard that the 5ghz wifi has some dropouts. Have anyone test it out with this rom with iperf? (Wifi Speed Test app for example)
Also I'm interested to know what issues have been found with the fingerprint.
Click to expand...
Click to collapse
Don't buy it please.
Don't support Lenovo. That ******* dont care about their customers.
I just developed that rom, to show that ****** that its not hard to build an Oreo ROM for this nice tablet.

yener90 said:
Don't buy it please.
Don't support Lenovo. That ******* dont care about their customers.
I just developed that rom, to show that ****** that its not hard to build an Oreo ROM for this nice tablet.
Click to expand...
Click to collapse
What would you recommend instead?
I come from a CHUWI Hipad that was a complete disaster: really hard to even create a TWRP
I've been looking for other alternatives and essentially we have:
Huawei and Kirin: 0% development with closed Kirin processors
Samsung/LG/Asus/Xiaomi: The cheapest with 3Gb goes for over $250 (there aren't many brands with cheap tablets in fact)
Chuwi, Teclast, ... all are **** brands with Mediatek processors that are even worse than Kirin for dev purposes.
So essentially for under $200 with 3Gb+ RAM there is only one Snapdragon tablet called Lenovo Tab4 10 Plus
But the only issue I've found so far reading reviews are the dropouts with 5Ghz WIFI AC band.

MiSSigNNo said:
What would you recommend instead?
I come from a CHUWI Hipad that was a complete disaster: really hard to even create a TWRP
I've been looking for other alternatives and essentially we have:
Huawei and Kirin: 0% development with closed Kirin processors
Samsung: The cheapest with 3Gb goes for over $250
Chuwi, Teclast, ... all are **** brands with Mediatek processors that are even worse than Kirin for dev purposes.
So essentially for under $200 with 3Gb+ RAM there is only one Snapdragon tablet called Lenobo Tab4 10 Plus
But the only issue I've found so far reading reviews are the dropouts with 5Ghz WIFI AC band.
Click to expand...
Click to collapse
Hehehe I also had a Chuwi Tablet and was a disaster . 5GHz was solved with latest update.
Xiaomi Mi Pad 4 Plus sounds nice for me. Xiaomi also has a much better support. It came out after my Lenovo Tablet. If that would be available than, I would buy Xiaomi.

Thanks for this. Great job.
Can we have R/W system? AdAway freezes when trying to overwrite system hosts file. Basically I would be happy with your first release supporting hosts file linked to other path either even without fingerprint or camera support.

yener90 said:
Hehehe I also had a Chuwi Tablet and was a disaster . 5GHz was solved with latest update.
Xiaomi Mi Pad 4 Plus sounds nice for me. Xiaomi also has a much better support. It came out after my Lenovo Tablet. If that would be available than, I would buy Xiaomi.
Click to expand...
Click to collapse
Yeah, I like Xiaomi Mi Pad 4 Plus, the problem is that the cheapest in my country is for $400, if I buy in Aliexpress it goes for nearly $300... and I found this tablet for just $180 (half the price!) in Amazon
I understand that most brand OS support is **** (including Samsung), and I definitely have a Xiaomi Pocophone F1 because they have a really great support not only in ROM dev, but good prices for replacements (screens and all that).
But If they have solved the 5Ghz issue, then I believe that we should even try in the future to go for official Lineage 16 as they did on the oldie Yoga Tab 3 Plus

Related

[Q&A][ROM][7.1] LineageOS 14.1 for Xperia SP

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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.
*/
About this Q&A thread for LineageOS
Use this area to ask anything you want related to LineageOS,
but try not to spam everyone, always search for an answer before.​
LineageOS 14.1 for Sony Xperia Huashan
Xperia SP (Huashan) : http://forum.xda-developers.com/-/-/-t3529514​
General Questions & Answers
Is root access included into LineageOS ?
No longer included by default to improve user security.
An addon is shared to add SuperUser features : https://download.lineageos.org/extras.
It will survive to updates the same way GApps do.
Go into Settings, About Phone. Tap "Build number" 7 times.
Go back, open Developer options. Change "Root access" option.
Do not use SuperSU unless you are sure, creates booting issues.
Read more about it : Here.​
Is the ROM suited for daily usage ? Google Apps compatible too ?
Yes but work in progress. OpenGApps recommended.​
Can I flash LineageOS on official and development builds, or even on CM without wipes ?
Migrations from unofficial to official, and from CM builds, are allowed with an experimental migration.
Read more about it here : http://lineageos.org/Update-and-Build-Prep/
Always remember to do backups before doing such changes.​
Is the device encryption supported ?
State unknown. If you're coming from an older ROM
please read the details here : a07afb9660a86f702066003b8e81ab63789d1660​
When USB connected to a computer, I can't access the storage ?
The phone is in charge-only mode by default on Nougat,
due to a stronger security logic regarding unauthorised data access.
Swipe down the notifications and change the USB mode.​
I can't access the ROM's recovery with Volume-
You can either flash the boot.img from the newer Releases with "fastboot flash boot boot.img" or FlashTool,
or follow the instructions of the TWRP Recovery installation to update from TWRP.​
Against advice, I upgraded without GApps and now it crashes. Any way without factory reset ?
Yes there is, but nothing assures you'll manage to do it fully & preserve all your data...
Once booted, keep saying Ok to all "Unfortunately, ... has stopped",
pull-down the notifications panel, press the Settings icon,
go in Apps, menu, Show System, scroll to Setup Wizard (green Android logo),
Permissions, and activate Contacts + Telephone.
Later, some Play Store apps may need reinstalling.
If not working, then I advise a clean factory-reset reinstallation...​
The AOSP Keyboard does not support swipe gestures ?
Unfortunately the sources for swipe gestures are not available
and Google still requires their prebuilt library to be there for AOSP Keyboard.
Download the following libjni_latinimegoogle.so API 23 from OpenGApps
and push it to /system/lib/libjni_latinimegoogle.so using root access,
or use my one-time install zips : https://mega.nz/#F!ThEAkCRa!byhSwuoTbf6lnC1JxgKrig.​
Thank you so much @AdrianDC for all the effort you make to keep SP in top notch condition <3
Oh and Happy New Year Bro
thnx adrian for ur efforts wish u a happy new year ^^
@Adrian DC
Thanks for your excellent work and support. Happy New Year.
Use packages for ARM, Android 7.x, Micro or Pico
Click to expand...
Click to collapse
Is there any reason why you recommend the micro/pico packages? I am thinking to flash the stock package and I see that replaces a lot of stock/AOSP apps. Will that cause any problems with the ROM? Thanks in advance.
JetArmstrong said:
Is there any reason why you recommend the micro/pico packages? I am thinking to flash the stock package and I see that replaces a lot of stock/AOSP apps. Will that cause any problems with the ROM?
Click to expand...
Click to collapse
System partition is not big enough on older devices to support ROM and full gapps packages.
Pointless anyways as most apps can be added from the Play Store.
Adrian DC said:
System partition is not big enough on older devices to support ROM and full gapps packages.
Pointless anyways as most apps can be added from the Play Store.
Click to expand...
Click to collapse
Thanks for the fast response
Hi Adrian,
happy new year! I see you can't wait until new year to release the LineageOS for our Xperia SP, that's crazy Thank you, again!
One thing I could find in your first post: In future the root access will be removed from LineageOS? Yes, I know you write
information will be given later, but I'm nosy.. Any reason for this change by you or LineageOS?
Regards -kerberos-
thank you. Happy new year
Still cannot access sd card location at the file manager app?
engr_exxi said:
Still cannot access sd card location at the file manager app?
Click to expand...
Click to collapse
Yes, same for me here regarding the CM/Lineage file manager. If I use for example the Totalcommander it's no problem to use the SD-card.
Regards -kerberos-
-kerberos- said:
Yes, same for me here regarding the CM/Lineage file manager. If I use for example the Totalcommander it's no problem to use the SD-card.
Regards -kerberos-
Click to expand...
Click to collapse
but since the app is already included in the rom, and I don't want another app taking some precious storage. Still can manage to access the sd card's file through the settings menu. But better if the sd card's access is fixed at the app itself.
I have exact the same intention, but I can't fix it by myself. So I have to wait if most likely Adrian have time to fix it. My expectation is, due to the shift from CM to LineageOS he is busy with more important tasks. So my idea is just a temporary solution, until the standard file manager app is fixed.
Regards -kerberos-
engr_exxi said:
but since the app is already included in the rom, and I don't want another app taking some precious storage. Still can manage to access the sd card's file through the settings menu. But better if the sd card's access is fixed at the app itself.
Click to expand...
Click to collapse
just a workaround not a solution, you can access SD card's files from settings then Storage and then press the SD card name/icon and try to avoid pressing the eject button ofc
Sent from my Xperia SP using Tapatalk
I use file manager MiXplorer https://forum.xda-developers.com/showthread.php?t=1523691
Noob question. How to disable zram?
DomZ0628 said:
Noob question. How to disable zram?
Click to expand...
Click to collapse
I don't know how, but I know you shouldn't do that
Thanks a Lot for this Rom @Adrian DC
I'm having issue with offline charging.
when i unplug the charger, it shows the battery percentage and hang in there.
pressing power on/off key do nothing.
have to press emergency power off button or,
press and hold volumeUP and Power on/off button until phone vibrates.
Is there permanent fix for this?
Dn.Thanujaya91 said:
Thanks a Lot for this Rom @Adrian DC
I'm having issue with offline charging.
when i unplug the charger, it shows the battery percentage and hang in there.
pressing power on/off key do nothing.
have to press emergency power off button or,
press and hold volumeUP and Power on/off button until phone vibrates.
Is there permanent fix for this?
Click to expand...
Click to collapse
Same with cm13. Quick fix:
Power up your phone while the charger is connected.
I have two users. When i change of user, and return in first, the background change to default...
Dn.Thanujaya91 said:
Thanks a Lot for this Rom @Adrian DC
I'm having issue with offline charging.
when i unplug the charger, it shows the battery percentage and hang in there.
pressing power on/off key do nothing.
have to press emergency power off button or,
press and hold volumeUP and Power on/off button until phone vibrates.
Is there permanent fix for this?
Click to expand...
Click to collapse
JetArmstrong said:
Same with cm13. Quick fix:
Power up your phone while the charger is connected.
Click to expand...
Click to collapse
I'm pretty sure that in the builds a months before the end of CM13, there was the old charging animation, the colored one. Back then, everything worked find.
When I flashed the last snapshot of CM13, I got the black and white charging animation and since then, the bug has occured.
I hope this makes it easier to find out which commit caused this regression.

[ROM][Pie] Unofficial LineageOS 16.0

This is an unofficial build of LineageOS 16.0 for the Motorola razr I, (XT890/SMI).
Lots of thanks to Hazou. This rom is based on his los-14 rom and I got help from him with los-16.
This rom has full hardware support and should run stable. It has been tested by me in daily use. I'm using the rom without google apps, but with microg. Installing google apps requires some apps to move to data partition because of limited system size. See install description for more info.
Special Features
-All features of Hazous 14.1 rom
-MicroG signature spoofing patch is included.
-Adaptive icons can be disabled in homescreen settings.
I can include more features if requested
Known Bugs
-The camera preview image sometimes shakes at random
Download
https://mega.nz/#F!5fBWlIAQ!Jlq9Bj789iJ0iIIptK00tg
Update
If you already run an earlier version of this rom, just boot to twrp and install the latest flashable zip file
Install
1. Backup everything you don't want to loose.
2. Download and install TWRP 3.2.3 (download in attachments. Can be flashed with fastboot or with another recovery)
3. If you come from another rom do a full wipe with twrp
4. Download and install the rom flashable zip (download from mega.nz link is in section download)
5. If you want to install opengapps or need system partition space for other things. Install the move_to_data.zip file from the attachments. This will move the Webview and the LatinIME app to data partition.
6. Choose one of the following options:
-either install google apps (download form https://opengapps.org/. Choose x86 9.0 nano or pico)
-or install MicroG (can be installed with the unofficial installer https://forum.xda-developers.com/android/development/microg-unofficial-installer-t3432360) this is lighter in ram and cpu usage but you will get problems with google chrome and other apps
7. If you want root access install the addonsu-16.0-x86.zip (download in the attachments)
8. Reboot the phone. First reboot will take some time
Changelog
Code:
20191018:
fixed problem with sms receiving
20191012:
mobile network connection works now after boot
Fixed problems with network switching
Show taps option is working now
intel art extension enabled
Call recording enabled
text relocation warnings disbaled
(untested) encryption. Needs special configuration (see below)
20190819:
SELinux is now enforcing
Notification access feature enabled
solved crashes with houdini emulated apps
20190713:
usb configuration works properly
battery light works now
July security patches
20190704:
first stable release of this rom
DATA Encryption
If you want to enable data encryption this would break the pds partition backup. To prevent this, the cache partition can be used as backup location:
-edit /system/bin/pdsbackup.sh
-change PDS_FILE=/data/misc/pds/pdsdata.img to PDS_FILE=/cache/misc/pds/pdsdata.img
-resize data partition in TWRP:
Code:
umount /data
umount /sdcard
e2fsck -f /dev/block/mmcblk0p17
resize2fs /dev/block/mmcblk0p17 1367079
-reboot the phone
XDA:DevDB Information
unonfficial LineageOS 16.0, ROM for the Motorola RAZR i
Contributors
julianwi, Hazou
Source Code: https://github.com/julianwi/android_device_motorola_smi/tree/lineage-16.0
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.0.x
Based On: LineageOS
Version Information
Status: Stable
Stable Release Date: 2019-08-19
Created 2019-07-04
Last Updated 2019-08-19
This if I did not expect it, I'll try to see how it goes. Thank you.
Download links and install description are up now. Download from mega.nz because xda download section is broken at the moment. I'm waiting for your test reports
It's really great works, thank you!!
I quickly tried and found several points.
- USB connection with PC
All USB connection option including File Transfer, USB tethering, PTP are grayed out.
Disabling/Enabling android debug in setting didn't work.
- Wifi with storage encryption
When you enable storage encryption, WiFi always become disabled, not be able to enable.
Just FYI, it required deleting /system/bin/pdsbackup.sh AND reducing partition size of 'data' (/dev/block/mmcblk0p17).
- SElinux
Although it is designated as permissive in device.mk, it's actually worked as "disabled".
I'm not sure it's related or not, however, when building "user build", it's failed with "ERROR: permissive domains not allowed in user builds".
I know "user build" is not officially supported in Lineage release, however, it's really helpful if we can do it for AFW usage.
Previously I could use Lineage 14.1 smi build for AFW and safetynet app with user build.
BTW, performance is really great, seems to be almost same as Lineage 11.
dumkm said:
It's really great works, thank you!!
I quickly tried and found several points.
- USB connection with PC
All USB connection option including File Transfer, USB tethering, PTP are grayed out.
Disabling/Enabling android debug in setting didn't work.
Click to expand...
Click to collapse
I also noticed that. Will see how this can be fixed. It is just a problem with the option dialog. Usb connection works fine. As a workaround you can set a default USB configuration in developer options
dumkm said:
- Wifi with storage encryption
When you enable storage encryption, WiFi always become disabled, not be able to enable.
Just FYI, it required deleting /system/bin/pdsbackup.sh AND reducing partition size of 'data' (/dev/block/mmcblk0p17).
Click to expand...
Click to collapse
I have not tested storage encryption yet. Will have a look at it later
dumkm said:
- SElinux
Although it is designated as permissive in device.mk, it's actually worked as "disabled".
I'm not sure it's related or not, however, when building "user build", it's failed with "ERROR: permissive domains not allowed in user builds".
I know "user build" is not officially supported in Lineage release, however, it's really helpful if we can do it for AFW usage.
Previously I could use Lineage 14.1 smi build for AFW and safetynet app with user build.
Click to expand...
Click to collapse
I think lineage trust doesn't differentiate between permissive and disabled. Selinux support is planned for future releases
Thank you for quick check.
Regarding USB connection, I also confirmed that Ubuntu can recognize as external storage with above option, besides Windows still does not recognize. Maybe depending on my environment.
Also I noticed that Chrome, Chrome Beta and Chrome Canary (therefore another Chrome based apps such as Maps Go) always crash. This is also maybe my environment only, though. BTW, I could install MicroG, besides couldn't install OpenGapps 9.0 pico due to partition size limit.
Additionally, I couldn't find any LED settings, currently LED is always off during charge or any notification.
dumkm said:
Thank you for quick check.
Regarding USB connection, I also confirmed that Ubuntu can recognize as external storage with above option, besides Windows still does not recognize. Maybe depending on my environment.
Also I noticed that Chrome, Chrome Beta and Chrome Canary (therefore another Chrome based apps such as Maps Go) always crash. This is also maybe my environment only, though. BTW, I could install MicroG, besides couldn't install OpenGapps 9.0 pico due to partition size limit.
Additionally, I couldn't find any LED settings, currently LED is always off during charge or any notification.
Click to expand...
Click to collapse
Notification Led should work. Can be configured under settings->apps and notifications->notifications->notification light. I don't know what happened with the battery light. It will hopefully come back if I upgrade the driver to hidl.
Google Chrome is a known problem with MicroG. It requires official gapps. I will check if some of the unprivileged lineage apps can be moved to data partition to make place for google apps
Newbie question
Hi all, I know someone who's selling her old RAZR i XT890 and I'm interested (for experimental reasons but also the oddity that it's Intel powered). I've never owned a RAZR i so I've got some questions:
-The phone is from 2012 so quite old and has 1GB RAM, does it work well with this Lineage 16? Because usually newer software would perform bad on older SoC (I used to have iOS 7 on iPhone 4 back in the day and it was painfully slow compared to 6).
-On Lineage 16, can it run any Android app as a standard new Android Pie phone? I ask because this is an Intel x86 CPU, so can it still run Android apps as normal or are most of them only designed for ARM and therefore unusable?
If I get the good news, I may buy the phone and try this Lineage OS custom ROM.
Regarding LED, maybe it became working after modifying some option of notification light. Battery connection light is still always off.
Regarding opengapps, I moved webview and LatinIME from app directory to external SD in TWRP, then installed as normal app after system boot. Webview worked fine besides LatinIME always crash. I'm using different IME, so it's no problem. With this environment, opengapps nano can be installed, then Chrome, Maps and other google apps worked.
dumkm said:
Regarding LED, maybe it became working after modifying some option of notification light. Battery connection light is still always off.
Regarding opengapps, I moved webview and LatinIME from app directory to external SD in TWRP, then installed as normal app after system boot. Webview worked fine besides LatinIME always crash. I'm using different IME, so it's no problem. With this environment, opengapps nano can be installed, then Chrome, Maps and other google apps worked.
Click to expand...
Click to collapse
That's good. Than we can make a flashable zip to automatically move and symlink them to data partition.
I will provide a new build till end of the week with improved usb and notification LED implementation. I already got it working in my local setup
flameseewa said:
Hi all, I know someone who's selling her old RAZR i XT890 and I'm interested (for experimental reasons but also the oddity that it's Intel powered). I've never owned a RAZR i so I've got some questions:
-The phone is from 2012 so quite old and has 1GB RAM, does it work well with this Lineage 16? Because usually newer software would perform bad on older SoC (I used to have iOS 7 on iPhone 4 back in the day and it was painfully slow compared to 6).
-On Lineage 16, can it run any Android app as a standard new Android Pie phone? I ask because this is an Intel x86 CPU, so can it still run Android apps as normal or are most of them only designed for ARM and therefore unusable?
If I get the good news, I may buy the phone and try this Lineage OS custom ROM.
Click to expand...
Click to collapse
Newer android versions have been designed while keeping low ram devices in mind. Ram hungry special features like the picture in picture mode are excluded from builds for older device. So the situation is much better then on iOS. But a newer phone would run better thought.
Most android apps are available for x86. But some are still arm only and get automatically emulated. The intel houdini emulator integrates these apps natively into the system but they are a bit slower then x86 apps. These are for example Skype and a few unity based games
julianwi said:
Newer android versions have been designed while keeping low ram devices in mind. Ram hungry special features like the picture in picture mode are excluded from builds for older device. So the situation is much better then on iOS. But a newer phone would run better thought.
Most android apps are available for x86. But some are still arm only and get automatically emulated. The intel houdini emulator integrates these apps natively into the system but they are a bit slower then x86 apps. These are for example Skype and a few unity based games
Click to expand...
Click to collapse
Thanks for the response. So I should be alright with it then, hopefully. I just hope it won't lag on that old SoC. I'd love if you could upload a quick video of it in action.
TWRP error 70
julianwi said:
This is an unofficial build of LineageOS 16.0 for the Motorola razr I, (XT890/SMI).
Lots of thanks to Hazou. This rom is based on his los-14 rom and I got help from him with los-16.
This rom has full hardware support and should run stable. It has been tested by me in daily use. I'm using the rom without google apps, but with microg. I don't know how smooth it runs with official gapps.
Special Features
-All features of Hazous 14.1 rom
-MicroG signature spoofing patch is included.
-Adaptive icons can be disabled in homescreen settings.
I can include more features if requested
Known Bugs
-Mobile cell connection doesn't connect after boot. You have to turn airplane mode on and off to let it work.
-selinux is set to permissive for now (reduced security)
Please report more bugs if you test this rom
Install
1. Backup everything you don't want to loose.
2. Download and install TWRP 3.2.3 (download in attachments. Can be flashed with fastboot or with another recovery)
3. If you come from another rom do a full wipe with twrp
4. Download and install the rom flashable zip (download from mega.nz https://mega.nz/#!ICwXRC6D!VZqe3o5zeWbmMiZvka_BtUTW5T_V7_OdMS57Oe9CbMk)
5. Choose one of the following options:
-either install MicroG (can be installed with the unofficial installer https://forum.xda-developers.com/android/development/microg-unofficial-installer-t3432360)
-or install google apps (download form https://opengapps.org/. Choose x86 9.0 pico)
6. If you want root access install the addonsu-16.0-x86.zip (download in the attachments)
7. Reboot the phone. First reboot will take some time
XDA:DevDB Information
unonfficial LineageOS 16.0, ROM for the Motorola RAZR i
Contributors
julianwi, Hazou
Source Code: https://github.com/julianwi/android_device_motorola_smi/tree/lineage-16.0
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.0.x
Based On: LineageOS
Version Information
Status: Stable
Stable Release Date: 2019-07-04
Created 2019-07-04
Last Updated 2019-07-05
Click to expand...
Click to collapse
I've installed the OS without problems, but when i try to get GApps Pico or any other version TWRP prompt error 70. How should i proceed? There is any additional configuration needed?
Kazvko said:
I've installed the OS without problems, but when i try to get GApps Pico or any other version TWRP prompt error 70. How should i proceed? There is any additional configuration needed?
Click to expand...
Click to collapse
Yes, system partition size is limited on this phone. To install GApps some files need to be moved to data partition.
I created a flashable zip to automate this process. Take a look at the modified install description in the first post
New build is up now.
flameseewa said:
Thanks for the response. So I should be alright with it then, hopefully. I just hope it won't lag on that old SoC. I'd love if you could upload a quick video of it in action.
Click to expand...
Click to collapse
Sorry don't have enough time to make a video in the near future. Maybe someone else can record a video of it
I could confirm that notification LED and USB storage works fine with lineage-16.0-20190713-UNOFFICIAL-smi. Thanks.
Still WiFi with storage encryption does not work.
julianwi said:
New build is up now.
Sorry don't have enough time to make a video in the near future. Maybe someone else can record a video of it
Click to expand...
Click to collapse
Alright, thanks. I bought my friend's RAZR i and I am planning to use it as a daily driver with this ROM (I'm a light user anyway), I can't thank you enough for making this LineageOS for such an old device. I wonder if such a recent Lineage has been developed for the 2011 Atrix, haven't seen one.
I have questions though, firstly I've never used a custom ROM before, can I simply follow the instructions on this thread to get it working, or is there anything that has to be done beforehand like rooting? Secondly, are any other OSs successfully booting on this x86 phone, as I can't find it on XDA? (it surprisingly hasn't gotten much attention as a hackable device like HTC HD2 or Nokia N900 got).
dumkm said:
I could confirm that notification LED and USB storage works fine with lineage-16.0-20190713-UNOFFICIAL-smi. Thanks.
Still WiFi with storage encryption does not work.
Click to expand...
Click to collapse
I know, haven't looked at the storage encryption for now. It will maybe be in the next update next month
flameseewa said:
Alright, thanks. I bought my friend's RAZR i and I am planning to use it as a daily driver with this ROM (I'm a light user anyway), I can't thank you enough for making this LineageOS for such an old device. I wonder if such a recent Lineage has been developed for the 2011 Atrix, haven't seen one.
I have questions though, firstly I've never used a custom ROM before, can I simply follow the instructions on this thread to get it working, or is there anything that has to be done beforehand like rooting? Secondly, are any other OSs successfully booting on this x86 phone, as I can't find it on XDA? (it surprisingly hasn't gotten much attention as a hackable device like HTC HD2 or Nokia N900 got).
Click to expand...
Click to collapse
If the phone never had a custom rom yet, you have to unlock the bootloader first. Description is in this thread: https://forum.xda-developers.com/showthread.php?t=1928551
julianwi said:
If the phone never had a custom rom yet, you have to unlock the bootloader first. Description is in this thread: https://forum.xda-developers.com/showthread.php?t=1928551
Click to expand...
Click to collapse
That's an old guide, will everything still work?
flameseewa said:
That's an old guide, will everything still work?
Click to expand...
Click to collapse
Yes, it should still work the same. If some links are outdated you can google them yourself
Thank you for bringing my old RAZR i back to life! I really appreciate the time and effort you spent for this obselete phone. Looking forward for more updates and for a bug free ROM. Using it now
dumkm said:
- Wifi with storage encryption
When you enable storage encryption, WiFi always become disabled, not be able to enable.
Just FYI, it required deleting /system/bin/pdsbackup.sh AND reducing partition size of 'data' (/dev/block/mmcblk0p17).
Click to expand...
Click to collapse
I'm not sure if I misunderstood but when you said "it required deleting....." and "reducing partition size of data", did you mean you can get WiFi to work if you do those things? I'm no expert at these but I can atleast apply the "fix" (if it really is) given that you guide me, if it's okay with you. Thanks!

[Unofficial] Lineage 18.1 for Xperia XZ [Treble]

Lineage 18.1 for Xperia XZ​
Code:
/*
* 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.
*/
About LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android 9.x (Pie),
which is designed to increase performance and reliability over stock Android for your device.
All the source code for LineageOS is available in the LineageOS GitHub repo.
And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.
Official LineageOS website : http://lineageos.org
About LineageOS Legal : http://lineageos.org/legal/
Important Information
1. This ROM has nothing related to ODM images! So you don't need to ask/install anything like that, just follow the instructions.
2. DON'T Flash OEM from SODP.
3. You need to flash Stock Oreo and boot into it before flashing this ROM.
4. This ROM is suitable for dual and single model
5. You will meet a delay when recognize sim at the first boot.
6. VoLTE is supported, but you need to enable it on stock firmware at first.
Downloads Links
LineageOS 18.1:
Unofficial: https://sourceforge.net/projects/release-sjll/files/kagura/18.1/
Google Applications (optional):
NikGapps: https://nikgapps.com/ (ARM64->Android R->core,)
Information: Flash the GApps before the first boot. If not, a clean flash is recommended.
Flashing and updating
LineageOS clean install:
Download the latest build of LineageOS ROM
Full wipe and factory reset (recommended / backup to make sure not to loose data)
Flash the LineageOS ROM zip from the Recovery
Flash the GApps to have the Google Applications (optional)
Every additional zip you want to flash (optional)
Reboot
LineageOS update/upgrade:
Download the latest build of LineageOS ROM
Wipe cache and dalvik cache
Flash the latest LineageOS ROM zip from the Recovery
Every additional zip you want to flash (optional)
Reboot
About the builds:
Source: https://github.com/linelessos
Issues and reports
Report issues only if you are using the ROM kernel
If an additional mod is installed, make sure it's unrelated, and mention it
Make sure the issue wasn't discussed earlier in the threads
Share a log of the error with CatLog for example
Also thanks to:
The LineageOS Team
The CyanogenMod Team
The SODP Team.
Olivier
Chippa_a
Everyone involved in working and testing
Contributors
@erikcas @Sjll
ROM OS Version: 11.0
ROM Kernel: Linux 4.4.x
Version Information
Status: Beta
FEATURES AND ISSUES
Code:
- Boot: Ok
- Bluetooth: Ok
- WiFi: Ok
- WiFi Hotspot: 2.4 Ghz Only
- RIL - Phone - Data: Ok
- VoLTE: Ok
- GPS: Ok
- Camera: Ok
- Camcorder: Ok
- Lights: Ok
- MicroSD: Ok
- Accelerometer: Ok
- Compass: Ok
- Gyroscope: Ok
- QTI sensors: Ok
- Touchscreen: Ok
- FM Radio: NA
- Fingerprint: Ok
- Vibrator: Ok
- Microphone: Ok
- Audio & music: Ok
- Bluetooth audio: Ok
- NFC: Ok
- Kernel: Ok
- Graphics: Ok
- 3D Rendering: Ok
- Clock: Ok
- DRM: No test
- Offline Charging: No
- USB: Ok
- USB Tethering: No test
- USB OTG: No test
- Encryption: No
- SEPolicies: Permissive
First of all , thanks @erikcas @Sjll for your time and effort.
What I did.
1. Celean install. ( f8331 .192 stock rom )
2.Before first boot.
3.Flash ...Download twrp-3.5.2_9-0-kagura.img
4. Get in TWRP and copy lineage-18.1-20210418-UNOFFICIAL-kagura.zip , NikGapps-core-arm64-11-20210130-signed.zip to phone.
5. install lineage18.1 rom zip and Nikgapps-core zip.
6.Reboot. it should take 2 min or less.
------------------------------------------------
what is not working!
1.There is no incoming and outgoing screen so you cant answer phone or end the call.
2. Screen doesnt turn on or wake up with incoming calls.
still testing..
star__dust said:
First of all , thanks @Sjll for your time and effort.
.....
what is not working!
1.There is no incoming and outgoing screen so you cant answer phone or end the call.
2. Screen doesnt turn on or wake up with incoming calls.
still testing..
Click to expand...
Click to collapse
URGENT notification! For 20210418 build​Here providea temp fix, for bluetooth, doze issue. I will fix it in next build.
1. Enable USB debug and allow debug as root in developer settings.
2. Run
Code:
adb root
adb shell mount -o remount,rw /vendor
adb pull /vendor/etc/vintf/manifest.xml
3. Open mainfest.xml with text editor, then Remove these codes in it:
Code:
<hal format="hidl">
<name>android.hardware.bluetooth.audio</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>IBluetoothAudioProvidersFactory</name>
<instance>default</instance>
</interface>
<fqname>@2.0::IBluetoothAudioProvidersFactory/default</fqname>
</hal>
4. Save and run
Code:
adb push manifest.xml /vendor/etc/vintf/manifest.xml
adb reboot
Sjll said:
URGENT notification! For 20210418 build​Here providea temp fix, for bluetooth, doze issue. I will fix it in next build.
1. Enable USB debug and allow debug as root in developer settings.
2. Run
Code:
adb root
adb shell mount -o remount,rw /vendor
adb pull /vendor/etc/vintf/manifest.xml
3. Open mainfest.xml with text editor, then Remove these codes in it:
Code:
<hal format="hidl">
<name>android.hardware.bluetooth.audio</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IBluetoothAudioProvidersFactory</name>
<instance>default</instance>
</interface>
<fqname>@1.0::IBluetoothAudioProvidersFactory/default</fqname>
</hal>
4. Save and run
Code:
adb push manifest.xml /vendor/etc/vintf/manifest.xml
adb reboot
Click to expand...
Click to collapse
it says bluetooth version 2.0 not bluetooth version 1.0!
-------------------------------------------
<hal format="hidl">
<name>android.hardware.bluetooth.audio</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>IBluetoothAudioProvidersFactory</name>
<instance>default</instance>
</interface>
<fqname>@2.0::IBluetoothAudioProvidersFactory/default</fqname>
</hal>
------------------------------------------------
Anyway, I remove the this part of line but it didn't change anything.
star__dust said:
it says bluetooth version 2.0 not bluetooth version 1.0!
-------------------------------------------
<hal format="hidl">
<name>android.hardware.bluetooth.audio</name>
<transport>hwbinder</transport>
<version>2.0</version>
<interface>
<name>IBluetoothAudioProvidersFactory</name>
<instance>default</instance>
</interface>
<fqname>@2.0::IBluetoothAudioProvidersFactory/default</fqname>
</hal>
------------------------------------------------
Anyway, I remove the this part of line but it didn't change anything.
Click to expand...
Click to collapse
Make sure you really deleted this part in manifest.xml in vendor partition. For my test result, it solved the doze issue.
Or wait for next build.
Sjll said:
Make sure you really deleted this part in manifest.xml in vendor partition. For my test result, it solved the doze issue.
Or wait for next build.
Click to expand...
Click to collapse
unfortunately, it is still same!
star__dust said:
unfortunately, it is still same!
Click to expand...
Click to collapse
Sorry, I posted wrong codes. You need to remove 2.0 and only keep 1.0.
Sjll said:
Sorry, I posted wrong codes. You need to remove 2.0 and only keep 1.0.
Click to expand...
Click to collapse
I did remove bluetooth version 2.0 codes. as I said before it didn't change anything.
I got to say that rom was really smooth and stable for a beta build.
I will wait next build. Thanks anyway.
hehe, LOS 18.1 for this device, good news
@Sjll: Is it possible the include the signature spoofing patch (to be able to use microG) in your new build ?
That would be great since there is no opportunity to patch this from 'outside' afaik ...
Thanks in advance
2faraway2 said:
hehe, LOS 18.1 for this device, good news
@Sjll: Is it possible the include the signature spoofing patch (to be able to use microG) in your new build ?
That would be great since there is no opportunity to patch this from 'outside' afaik ...
Thanks in advance
Click to expand...
Click to collapse
I will consider it.
star__dust said:
First of all , thanks @erikcas @Sjll for your time and effort.
What I did.
1. Celean install. ( f8331 .192 stock rom )
2.Before first boot.
3.Flash ...Download twrp-3.5.2_9-0-kagura.img
4. Get in TWRP and copy lineage-18.1-20210418-UNOFFICIAL-kagura.zip , NikGapps-core-arm64-11-20210130-signed.zip to phone.
5. install lineage18.1 rom zip and Nikgapps-core zip.
6.Reboot. it should take 2 min or less.
------------------------------------------------
what is not working!
1.There is no incoming and outgoing screen so you cant answer phone or end the call.
2. Screen doesnt turn on or wake up with incoming calls.
still testing..
Click to expand...
Click to collapse
star__dust said:
I did remove bluetooth version 2.0 codes. as I said before it didn't change anything.
I got to say that rom was really smooth and stable for a beta build.
I will wait next build. Thanks anyway.
Click to expand...
Click to collapse
You need to check your proximity sensor with Dev Check App.
Sjll said:
I will consider it.
You need to check your proximity sensor with Dev Check App.
Click to expand...
Click to collapse
I have checked proximity sensor with Dev Check App. My proximity sensor works fine and rest of sensors too.
The problem is when I tap on person name in contacts list , calling screen doesnt pop up but you can hear dial sound.
Except the above problem it seems everything works fine for now.
star__dust said:
I have checked proximity sensor with Dev Check App. My proximity sensor works fine and rest of sensors too.
The problem is when I tap on person name in contacts list , calling screen doesnt pop up but you can hear dial sound.
Except the above problem it seems everything works fine for now.
Click to expand...
Click to collapse
I have installed lineage-18.1-20210419-UNOFFICIAL-kagura.zip without NikGapps-core-arm64-11-20210130-signed.zip.
Now, everything seems just fine.
Thanks.
star__dust said:
Second Try..
What I did.
1. Celean install. ( f8331 .192 stock rom ) ..if you have already done it skip this part.
2.Before first boot.
3.Flash ...Download twrp-3.5.2_9-0-kagura.img
4. Get in TWRP and copy llineage-18.1-20210419-UNOFFICIAL-kagura.zip , MindTheGapps-11.0.0-arm64-20210412_124247.zip
5. install lineage18.1 rom zip (reboot).
Click to expand...
Click to collapse
6. if you want to Gapps then get in twrp and flash MindTheGapps.
7.Reboot..
Anything to care of if using the single model (F331) ?
2faraway2 said:
Anything to care of if using the single model (F331) ?
Click to expand...
Click to collapse
rom says "Sony Xperia XZ Dual!"....be caution.
This mean, rom will change your phone model number from F8331 to F8332!
just in case , during first clean installation get your twrp backup for your f8331 rom.
if you want to get back old stock rom f8331, you will need your backup to turn your phone model back from f8332 to f8331.
alright, thanks mate, that should be no prob at all
lineage-18.1-20210419-UNOFFICIAL-kagura.zip Test Review​Edit: Some are minor
** Experiencing reboot when taking photos using Camera for a while. (especially front camera, 15 seconds or sometimes while taking 2-4 photo) EDIT: I finally get the error after using 3rd party camera it shows me this error. (Camera ID 0 at the back and ID 1 at the front) you can recreate the error using the attached 3rd party apk
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
** Frequently reboot when auto rotation is on while the phone is on landscape mode.​** Random reboot when using fingerprint unlock. (encountered 4th time now)​* After receiving notification screen won't turn on. (experience once)
* Double tap to sleep/wake don't work
** When turning on the phone from a long sleep, the touchscreen won't work or frozen, you need to press the power button for the phone to sleep then press again to turn it on for the screen to work. (I thought at first it's on the gestures that are not working but after several times of occurrence I notice that it's not responding to any touch, you have to turn off the screen and turn it on again for the touch to function)
* Sometimes you cant pick USB Preferences when connecting to a computer, but restarting the phone can fix the problem.
** Heating issue.​---------------------------
USB OTG: Ok - works fine.
USB Tethering: Ok - works fine.
The data signal is better than stock. (in my experience)
---------------------------
rooting using Magisk makes me boot-loop.
still testing...​
Hi @Sjll will this rom work for the Xperia XZs?
in the following conditions, the device will reboot
sometimes in camera, but the built-in gcam go is working fine for me.
the flashlight is turned on
sometimes while unlocking the device through the fingerprint sensor
IDK why but while launching the "mi home" app
and there are some issues in the following
sometimes especially after a long time of not using the device, the screen will freeze after it was turned on. it's the same whether it has the fingerprint unlock activated or not. after it was unlocked through the fingerprint and go into the home screen, it's not responding to any gestures. it happens more frequently than lineage os 16.
for some reason, it can't pair with my wireless headphone, and it says "system UI not responding". and I press "stop" and the screen goes black and it reboots.
the speaker and microphone are not functioning well during the "phone call" on the "local" hardware. I also encountered this issue when at lineage os 16. when I was in lineage os 16, my solution is connected to a wireless headphone, and it solved the problem. but since I can't connect to a wireless headphone currently, I can't figure out any solution and I can't make any phone calls. to be specific, when I am calling others, I can hear their sound, but they can't hear my sound. if I turn on the speaker mode, I will hear my own sound from my speaker with lots of noise.
and I am only a junior high student if any info I've given is wrong, I apologize.

[UNOFFICIAL][ROM]BETA LineageOS 18.1 for SM-T813 - June 9, 2023

PLEASE BEFORE YOU decide to try this rom, you MUST read all of post 1, 2, 3 and 4 (about 10 minute read). If you think this is an unreasonable request, then stop reading now and find another rom. Thank you.
This is ONLY for the T813. I do not have and will NOT build T713, T719 and T819. See post #2, FAQ 20. Any questions asking to build these will be ignored.
I am not responsible for lost data, identity theft, lost money, security vulnerabilities, bricked devices or any other hardware or software malfunctions that comes as a result of flashing this rom.
BACKUP YOUR DATA AND OLD rom BEFORE trying my rom.
If you are NOT an expert in using fastboot, adb, odin, heimdall, twrp, DO NOT use this rom. You must know how to use these tools to revert back to your old rom. If you are new to flashing custom roms, do NOT attempt this. If you need your tablet for work and something important, do NOT flash this rom. This rom could result in a bricked device or boot loop or non booting device or you not being able to revert back to your old rom.
What works
1. bluetooth
2. wifi
3. brightness
4. external audio
5. GPS
6. audio through headphone jack
7. audio over bluetooth
8. selinux enforcing
9. deep sleep
10 DRM level 3 (SD definition)
Known issues/What doesn't work/what's not tested
NOTE: If any following features are important to you, don't use this rom as I will not be fixing them because I
i. don't use/need that feature
ii. already tried fixing it and couldn't succeed and won't spend anymore time on it.
1. Stock camera doesn't work at all (reason i and ii). Opencamera version 1.51.1 works for taking pictures and videos BUT with a 10 to 15 second delay when switching between functions.
I have not tested any video conferencing apps so they may or may not work. If they don't work, revert back to old rom as I will not be spending anytime trying to fix/troubleshoot.
2. fingerprint (reason i). I never use it and I see it doesn't even load correctly in the logs.
3. ARM64 gapps (reason i). Some of you require gapps for whatever reason. I use Aurora Store for my purposes and thus have NO KNOWLEDGE of the current state of ARM64 gapps.
There are various gapps projects (at least 5 in 2023). Each has pros and cons. It's your job to do the research and find a suitable gapps project. I suggest you allocate at least a couple of hours/days doing your own research. My rom works by itself fine without gapps. DO NOT talk about gapps in this thread. As a courtesy to gapps users, I have opened a new thread at
https://forum.xda-developers.com/t/...o-use-discussion-for-18-1-rom-sm-t813.4540423
so you may discuss gapps. I will NOT be participating in that thread as I do NOT use gapps.
4. disk encryption (reason i). Never tested.
5. If you restart the device with the purpose to reboot it and the usb cable is plugged in, the device will not reboot and stay in charging mode. Simply unplug the usb cable, wait 15 seconds and restart the device.
Source code
All the source code including the kernel is provided in post #2 FAQ1.
Thanks
1. LineageOS team for source code.
The rest in alphabetical order.
2. @Deltadroid for updating the msm8976 kernel for branches 14.1 and 16.0 with bug and security fixes. I'm using his 16.0 branch.
3. @lifehackerhansol for suggesting that I kang the pm-* proprietary blobs from another rom and making suggestions for possible fixes to the camera.
4. Team Infusion Developers github.
FAQ - I spent hundreds of hours building this rom. The least you can do is spend a few minutes reading everything before posting.
Q1. Where are the source and kernel source files?
A1. The kernel source files are at
https://github.com/syphyr/android_kernel_samsung_msm8976/tree/lineage-16.0
The device tree files are at
https://github.com/retiredtab/android_device_samsung_msm8976-common
https://github.com/retiredtab/android_device_samsung_gts210vewifi
The vendor tree files are at
https://github.com/retiredtab/proprietary_vendor_samsung_msm8976
The manifest.xml (or roomservice.xml) and build instructions for 18.1 are at
https://github.com/retiredtab/LineageOS-build-manifests/tree/main/18.1
Q2. Is this BETA rom suitable as a daily driver?
A2. It can be depending on your requirements. I can't test every app so you try it yourself to see if it's suitable. I've been using this rom myself since Oct 2022 with no major issues. I suggest you do a clean install, see FAQ 11, and flash this ROM BY ITSELF (no gapps, magisk, etc) and see if you like it.
Q3. What if my app, xyz, doesn't work?
A3. If your app doesn't work, then go back to your old rom.
Q4. Your rom is laggy and buggy.
A4. If you find the above, then go back to your old rom. Your tablet will also run slower when you use gapps. You can run a lot of software without using gapps. Research fdroid, newpipe, Aurora store etc.
Q5. What TWRP should I use?
A5. You MUST use TWRP 3.6.2_9-0. Do not use any other version for these reasons.
https://forum.xda-developers.com/t/...or-sm-t810-jan-11-2023.4430349/#post-86745013
https://dl.twrp.me/gts210vewifi/
I will not answer questions if you don't use this exact TWRP version.
Q6. Why should I use this rom?
A6. If you don't like this rom, then don't use it.
Q7. Will you offer monthly updates with security patches?
A7. I will try to offer monthly security patches, but that all depends on if I continue to have high speed Internet in the future.
Q8. Can you help me? I'm a newbie. Can you provide step by step instructions?
A8. I don't have the time to help newbies, so please do your own research. There are lots of tutorials, videos, etc on how to flash roms. Newbie questions must be posted in the Questions and Answers forum, not here. In addition, I don't run Windows OS at all.
Q9. Can I report a bug with respect to the rom?
A9. Yes, but you need to supply the following information. If you don't, I won't look at it.
You must provide an adb logcat of the problem and tell me how to reproduce it. Note I will not be downloading any apps that require money or an userid/password. For example, if you have problems with Netflix, I cannot help you since I don't have a paid subscription. If you use some app that requires an userid/password, I cannot help you as I'm not willing to create another userid/password even if it's free.
To get a logcat, open up a terminal window.
Code:
# clear the logcat first
adb logcat -c
# start logcat trace
adb logcat > problem.txt
# reproduce problem
# wait until problem has occured, then stop trace by hitting ctrl-c
# attach the problem.txt ZIPPED as text files don't seem to get attached properly
Q10. Will you build 19.1 and higher for this device?
A10. Any questions on higher Android versions will be completely ignored. I do this in my free/spare time and will not be subject to any ETAs or demands. If you want a higher version, the source code is freely available as per FAQ #1 and you can build it yourself.
Q11. Do I need to erase everything and format my data?
A11. Yes, you MUST erase all the partitions (system, data, dalvik/art cache, cache) using TWRP and MUST format your data before installing 18.1 when you are coming from stock or an earlier version of LineageOS or from another custom rom. If you get stuck at the boot animation for more than 5 minutes, it's likely because you didn't follow the instructions I just wrote. Dirty flashes from stock, other custom roms or older LineageOS versions are not supported and not likely to work.
You MUST FORMAT DATA in TWRP so backup your files first to some external storage (external microsd or PC).
NOTE: After you do the above, first boot (without gapps, magisk, etc) will take about 90 seconds. It may pop with a message saying "System UI isn't responding". Hit close app and then reboot the tablet again.
Q12. What gapps should I use?
A12. I don't use gapps anymore. I use Aurora Store. As of Nov 6, 2021, I no longer make recommendations on which gapps to use as your mileage may vary.
Let me by crystal clear. YOU NEED TO DO YOUR OWN HOMEWORK selecting between the various ARM64 gapps offered. There are 5: opengapps, nikgapps, mindthegapps, flamegapps and bitgapps. Each one will have it's own installation instructions. The only recommendation I will offer to use the SMALLEST version of gapps.
Don't be surprised that whatever gapps you use might have problems like "Just a sec", voice not working, updating google play store please wait, etc. These are NOT problems of the OS as the OS will run fine without gapps. These are gapps problems and you must ask in the gapps forum why it doesn't work.
In addition, some of the gapps may not install properly when using TWRP and say "cannot /mnt/system".
Q13. I'm having problems with gapps, can you answer why it's not working?
A13. I WILL NOT answer any questions regarding gapps. This thread is about the rom, not gapps. Android does not depend on gapps in order to work.
Questions about gapps, for your courtesy, should be asked in the thread below.
https://forum.xda-developers.com/t/...-use-discussion-for-18-1-rom-sm-t813.4540423/
Q14. Why isn't my post answered or ignored?
A14. Questions already answered in the FAQ will be completely ignored. Again, I do not use Windows OS or gapps.
Q15. What speed up/optimization tips do you suggest?
A15.
1. Turn off animations. Go into developer settings, scroll down to the drawing section, and set window, transition and animator scale all to "off".
2. If you don't have a google account, don't install gapps. Use Aurora Store to get your apps as you can get all the same apps from the play store using an anonymous login.
3. Use a web browser like Brave that has built in adblock and privacy features.
4. Use newpipe to watch your streaming content. It has built in adblock so you don't have to watch forced ads.
5. Look for apps that are open source, ad free and lightweight.
Q16. Does this rom support Magisk for root?
A16. I don't use Magisk. Magisk is always being updated to fool Google's certification process which may or may not work.
Q17. Will this rom ever become official?
A17. Never. I don't want the responsibilities that come with being an official maintainer.
Q18. What is the difference between this rom and others?
A18. This rom tries to be pure LineageOS with little to no modifications.
Q19. Will there be any major 18.1 code modifications in the future?
A19. I don't anticipate any major modifications. There may be some small bug fixes and minor code cleanup, but all the hard work in getting the rom up and running and fixing all the major bugs have been completed. This doesn't mean the code is perfect or well organized, but I won't be doing any major changes now that 18.1 is working.
Q20. Can you build a variant of this device? For example, a LTE or S-pen version.
A20. If I don't physically have the device, I cannot and will not build it unless I can boot and test it myself. Even then, there's no guarantee that I can get those variant features working. To be clear, I will NOT build T713, T719 and T819.
Q21. Can I load this rom on a variant devivce like LTE or S-pen version?
A21. The rom is built for the device explicitly listed. If you are an advanced user and understand TWRP, adb, odin, heimdall, you can try loading it on a LTE or S-pen variant by modifying the updater-script, but it may cause a bricked device, bootloops or non functionality of LTE/S-pen. You have been informed and warned!
Q22. Does this rom support OTA updates?
A22. No and I have no plans to add that functionality.
Q23. Okay, I understand the consequences and that this is BETA rom and willing to take the risks outlined, now where can I find the rom?
A23. You can download it from
https://sourceforge.net/projects/retiredtab/files/SM-T813/18.1/
Release Notes
I have personally tested all the functionality as to what works as per post #1 before uploading the build. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data. This is known has a clean install. Backup your data before a clean install.
June 9, 2023 release notes
1. Incorporates June 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-06
2. Whatever LineageOS changed since May 5th patches (about 5,600 files had to be recompiled).
May 7, 2023 release notes
1. Incorporates May 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-05
2. Whatever LineageOS changed since Apr 5th patches (about 6,600 files had to be recompiled).
Apr 15, 2023 release notes
1. Incorporates Apr 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-04
2. Whatever LineageOS changed since Mar 5th patches (about 4,500 files had to be recompiled).
3. Updated aptX code so that it works and stops crashing (broken in 17.1) as per https://github.com/retiredtab/propr...mmit/3f6bd0d979ae25e3ba23e2c214fa7207c81f6b32
March 17, 2023 release notes
1. Incorporates Mar 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-03
2. Whatever LineageOS changed since Feb 5th patches (about 24,000 files had to be recompiled).
3. Added overlay to control capactive key light buttons to enable/disable or change duration as per
https://github.com/retiredtab/andro...mmit/5a2649a040adfb879fd03076f97dd5321c5e27e6
Feb 13, 2023 release notes
1. Incorporates Feb 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-02
2. Whatever LineageOS changed since Jan 5th patches (about 13,000 files had to be recompiled).
3. Updated DRM code so that Disney+ works. See
https://github.com/retiredtab/andro...mmit/6c41d16cf1a8b2e8c436b3bef922a47e606381ee
https://github.com/retiredtab/propr...mmit/fed0f34d48330908165f78051066127b0e1870d8
Jan 7, 2023 release notes
1. Initial release of 18.1
2. Incorporates Jan 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-01
3. If you are upgrading from a custom rom, stock or any older versions of LineageOS (like 14.1, 16.0 or 17.1) YOU MUST wipe dalvik/cache, cache, system, data and internal storage partitions in TWRP and FORMAT DATA in TWRP. You cannot dirty flash at all. Backup your data first.
Reserved #4
I have personally tested all the functionality as to what works as per post #1 before uploading the build. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data. This is known has a clean install. Backup your data before a clean install.
18.1 has been my daily driver since Oct 2022.
Jan 7, 2023 release notes
1. YOU MUST read posts 1-4 if you haven't already.
2. Incorporates Jan 5 security patches as per https://review.lineageos.org/q/topic:R_asb_2023-01
3. If you are upgrading from a custom rom, stock or any older versions of LineageOS (like 14.1, 16.0 or 17.1) YOU MUST wipe dalvik/cache, cache, system, data and internal storage partitions in TWRP and FORMAT DATA in TWRP. You cannot dirty flash at all. Backup your data first.
Thanks for all your efforts. I never thought anything above Android 10 would see the light of days on the T813 model, since it was highly neglected here in my opinion. I will definitly try it out
THANK YOU "RETIREDTAB" this is awesome!
I will try it out on my T813 and report back here if there are any problems, Thanks a lot for this rom!!!
@retiredtab, many, many thanks for this rom. Have done a full clean install, the backup of the previous 17.1 took longer. So far everything I need to use is working perfectly. I mainly read the news, pick up emails and buy too much stuff from amazon.
went with the opengapps pico set, and all my google stuff is working, and it restored my apps from the previous backup. Did have some odd issues giving permissions to to the various google apps but once that was sorted it ran.
keep up the good work, and will keep testing
Further update after a weekend of use, the screen off battery drain seems to be minimal(may be Greenify helping) but appears to be better than I had on the previous 17.1 rom. No other issues found as yet.
will the camera issue be adressed or it will stay like that?
Ferchurito said:
will the camera issue be adressed or it will stay like that?
Click to expand...
Click to collapse
I'd say its unlikely to change, far as I know its never been fixed in the previous 17.1 rom either. As retiredtab mentions in point 1, camera use is not a big need or he has alrady tried to fix it and not been able to.
I did everything wrong with a working result:
-My Starting point: LineageOS 17.1 (ripee) installed
- Backup of User Data @ Android System (copy to MicroSD)
- Updated the TWRP version to the recommended in TWRP (coming from ripee version for 17.1)
- Boot to System to ensure it's still working
- Backup everything in TWRP
In one batch without booting in between:
- I dirty flashed "lineageOS 18.1" over "lineageOS 17.1 (from ripee)"
- Flashed the Arm64 version for Android 11 of "mindTheGapps" over existing "OpenGapps (for Android 10)"
- Flashed Magisk *.zip
- Deleted Cache and Dalvik
Boot to system and it's working perfectly so far
FYI.: Camera App "ProcamX" is working as well.
FYI.: Especially for lineageOS 17.1 users: I can confirm GPS is working (GPS Test Plus)
For sure I wouldn't recommend this procedure and maybe I will do a clean install later to gain smoothness and to make it stable in general but so far it's super nice, no bootloop, random restarts (BUT it's based on a few hour usage only) or whatever and a big thank you to ritiredtab
I have Magisk and safetynet pass flashed. I can download Netflix from Playstore but it doesn't play any content. It seems that Widevine / DRM is not part of the ROM at all as the App "DRM Info" doesn't show any Widevine information. In consequence Netflix doesn't play and stuck in "loading". Anyway it seems to enable some old DRM blobs can fix the issue like at least for L3 which is SD playback. Something like here needs to be added I think....:
https://review.lineageos.org/c/LineageOS/android_device_moto_shamu/+/339185
Didn't dig deeper into the topic so far. Just want to share the info.
Renzke said:
It seems that Widevine / DRM is not part of the ROM at all as the App "DRM Info" doesn't show any Widevine information.
Click to expand...
Click to collapse
As I listed in post #1, DRM L3 works as I check/test/verify ALL my public xda builds for the functionality in post #1 before uploading.
Here's the results of checking DRM with 4 different programs. Devcheck by flar2 is what I use to check all my ROMS for a variety of values and widevine DRM L3 (along with clearkey) is clearly shown. Device Info HW and DRM Check also show widevine properly.
DRM Info by Android Fung is the only one that cannot show the widevine information which may be due to a bug in this program or it's poorly written and being denied by selinux enforcing.
DevCheck and Device Info HW are both ad free while DRM Check and DRM Info are infested with ads. The latter 2 are programs I will never use again.
In addition, DRM Info by Android Fung shows this in the logcat
Code:
GooglePlayServicesUtil: com.androidfung.drminfo requires the Google Play Store, but it is missing.
As I mentioned several times, I do NOT and will NOT install any gapps.
Your link to gerrit regarding DRM is already in my code (done a bit differently, but works as clearly shown by Devcheck).
https://github.com/retiredtab/propr...mmit/92ecf0f7615a291281e4b39da6be956e92e66d82
https://github.com/retiredtab/andro...mmit/5a91ac3d5d14510b335f8d6ec650b254edcdb2dc
@retiredtab Thanks for the detailed reply. You are right. I See Widevine L3 in other Apps as well. Shame on me '-'. Even Netflix itself gives this Info... Anyway... Playback is not starting while preview videos are working. Tried already a couple of versions without success and checked the permissions. As I'm customized with Magisk the rootcause could be on my side for sure. Prime Video is working by the way. Would be nice to know if a clean install has the same behaviour.
Renzke said:
@retiredtab I See Widevine L3 in other Apps as well.
Click to expand...
Click to collapse
There's a reason why I always recommend clean installs. When you don't do it, it leads to unexplained problems. If Prime is working, that suggests DRM L3 is working.
If a clean install doesn't work with Netflix, then see FAQ 9 and send me the logs (zipped). There's no guarantee that it will show anything wrong or if I can fix it. I don't have/use Netflix or any other $treaming service.
Having said that, I do build other roms like the T810 (S2 2015 exynos model) and others have commented that they do not need Magisk hide, root, etc to get Netflix shown in the playstore because my T810, like this T813, is selinux enforcing. They report that the T810 shows up as "device is certified".
Again, since I don't use gapps, I cannot confirm if "device is certified" is true for T813, but if it is, then Netflix should show up without Magisk/hide, root, etc. If it does show up, it's a bonus. If the T813 shows up as "device not certified", I have no plans to fix this as I don't use gapps.
@retiredtab I'm not sure if I will do a clean install as the system is working quite well expect Netflix and at the end of the day it's not super important for me. In case I do a clean install I will provide a log and be thankfull for the offer to fix things
The chances to have an indication is maybe low in the logs as Netflix loops in the loading screen without an error at all. Anyway I don't want to waste your time with this topic currently as I cleary didn't follow your instructions by doing a dirty flash and so on. And again... Super nice to have this rom which gives my tablet a 2nd life. Thanks a lot.
Renzke said:
@retiredtab I'm not sure if I will do a clean install as the system is working quite well expect Netflix and at the end of the day it's not super important for me. In case I do a clean install I will provide a log and be thankfull for the offer to fix things
The chances to have an indication is maybe low in the logs as Netflix loops in the loading screen without an error at all. Anyway I don't want to waste your time with this topic currently as I cleary didn't follow your instructions by doing a dirty flash and so on. And again... Super nice to have this rom which gives my tablet a 2nd life. Thanks a lot.
Click to expand...
Click to collapse
I don't really care about using Netflix on this device, but figured I'd let you know that I'm having the same issues after a clean flash. Will try and grab a log later.
I have this strange problem
I have two tablets SM-T813 and SM-T819.
I installed Lineage os 18.1 on SM-T813 and SM-T819 (I modified the installer). On the T813 it booted without any problems. On the T819, on the other hand, it stands in bootloop. I went into recovery and there were no files in INTERNAL STORAGE, it was empty. To T819 I need to install some file or something so that it can start reading Memory and come out of bootloop?
K-BOX2022 said:
On the T819, on the other hand, it stands in bootloop.
Click to expand...
Click to collapse
As I mentioned in the FAQ, there's nothing I can do without the T819 physically in my hands. If the T813 worked on T819, then it's a bonus. If not, it was worth a try.

[UNOFFICIAL][ROM]ALPHA LineageOS 20 for SM-T813 - June 23, 2023

PLEASE BEFORE YOU decide to try this rom, you MUST read all of post 1, 2, 3 and 4 (about 10 minute read). If you think this is an unreasonable request, then stop reading now and find another rom. Thank you.
This is ONLY for the T813. I do not have and will NOT build T713, T719 and T819. See post #2, FAQ 20. Any questions asking to build these will be ignored.
I am not responsible for lost data, identity theft, lost money, security vulnerabilities, bricked devices or any other hardware or software malfunctions that comes as a result of flashing this rom.
BACKUP YOUR DATA AND OLD rom BEFORE trying my rom.
If you are NOT an expert in using fastboot, adb, odin, heimdall, twrp, DO NOT use this rom. You must know how to use these tools to revert back to your old rom. If you are new to flashing custom roms, do NOT attempt this. If you need your tablet for work and something important, do NOT flash this rom. This rom could result in a bricked device ,boot loop, complete loss of data or non booting device or you not being able to revert back to your old rom.
What works
1. bluetooth
2. wifi
3. brightness
4. external audio
5. GPS
6. audio through headphone jack
7. audio over bluetooth
8. selinux enforcing
9. deep sleep
10 DRM level 3 (SD definition)
Known issues/What doesn't work/what's not tested
NOTE: If any following features are important to you, don't use this rom as I will not be fixing them because I
i. don't use/need that feature
ii. already tried fixing it and couldn't succeed and won't spend anymore time on it.
1. Stock camera doesn't work at all (reason i and ii). Starting with LineageOS 19.1 and higher, camera API functionality (pictures and videos) isn't even recognized by the OS.
2. fingerprint (reason i). I never use it and I see it doesn't even load correctly in the logs.
3. ARM64 gapps (reason i). Some of you require gapps for whatever reason. I use Aurora Store for my purposes and thus have NO KNOWLEDGE of the current state of ARM64 gapps.
There are various gapps projects (at least 5 in 2023). Each has pros and cons. It's your job to do the research and find a suitable gapps project. I suggest you allocate at least a couple of hours/days doing your own research. My rom works by itself fine without gapps. DO NOT talk about gapps in this thread.
4. full disk encryption has been deprecated in Android 13 (LineageOS 20).
5. If you restart the device with the purpose to reboot it and the usb cable is plugged in, the device will not reboot and stay in charging mode. Simply unplug the usb cable, wait 15 seconds and restart the device.
Source code
The kernel source code is at
https://github.com/syphyr/android_kernel_samsung_msm8976/tree/lineage-16.0
All the source code including the kernel, device trees, manifest and build instructions are provided in post #2 FAQ1.
Thanks
1. LineageOS team for source code.
2. LineageOS-UL team for merging, maintaining the legacy patches needed for old devices into one common reposistory so everyone can benefit.
https://github.com/orgs/LineageOS-UL/people
3. @Deltadroid for updating the msm8976 kernel for branches 14.1 and 16.0 with bug and security fixes. I'm using his 16.0 kernel branch for my 20 builds.
Frequently Asked Questions. You MUST READ this before posting any questions. If you think this is unreasonable, then find another rom. Thank you.
Q1. Where are the source and kernel source files?
A1. The kernel source files are at
https://github.com/syphyr/android_kernel_samsung_msm8976/tree/lineage-16.0
The device tree files are at
https://github.com/retiredtab/msm8976-common/tree/lineage-20
https://github.com/retiredtab/gts210vewifi/tree/lineage-20
The vendor tree files are at
https://github.com/retiredtab/proprietary_vendor_samsung_msm8976
The manifest.xml (or roomservice.xml) and build instructions for LineageOS 20 are at
https://github.com/retiredtab/LineageOS-build-manifests/tree/main/20/msm8976
Q2. Is this ALPHA rom suitable as a daily driver?
A2. It can be depending on your requirements. I can't test every app so you try it yourself to see if it's suitable. I've been using this rom myself since Jan 2023 with no major issues. I suggest you do a clean install, see FAQ 11, and flash this ROM BY ITSELF (no gapps, magisk, etc) and see if you like it.
Q3. What if my app, xyz, doesn't work?
A3. If your app doesn't work, then go back to your old rom.
Q4. Your rom is laggy and buggy.
A4. If you find the above, then go back to your old rom. Your tablet will also run slower when you use gapps. You can run a lot of software without using gapps. Research fdroid, newpipe, Aurora store etc.
Q5. What TWRP should I use?
A5. You MUST use TWRP 3.6.2_9-0. Do not use any other version including the "latest".
https://dl.twrp.me/gts210vewifi/
I will not answer questions if you don't use this exact TWRP version.
Q6. Why should I use this rom?
A6. If you don't like this rom, then don't use it.
Q7. Will you offer monthly updates with security patches?
A7. I will try to offer monthly security patches, but that all depends on if I continue to have high speed Internet in the future.
Q8. Can you help me? I'm a newbie. Can you provide step by step instructions?
A8. I don't have the time to help newbies, so please do your own research. There are lots of tutorials, videos, etc on how to flash roms. Newbie questions must be posted in the Questions and Answers forum, not here. In addition, I don't run Windows OS at all.
Q9. Can I report a bug with respect to the rom?
A9. Yes, but you need to supply the following information. If you don't, I won't look at it.
You must provide an adb logcat of the problem and tell me how to reproduce it. Note I will not be downloading any apps that require money or an userid/password. For example, if you have problems with Netflix, I cannot help you since I don't have a paid subscription. If you use some app that requires an userid/password, I cannot help you as I'm not willing to create another userid/password even if it's free.
To get a logcat, open up a terminal window.
Code:
# clear the logcat first
adb logcat -c
# start logcat trace
adb logcat > problem.txt
# reproduce problem
# wait until problem has occured, then stop trace by hitting ctrl-c
# attach the problem.txt ZIPPED as text files don't seem to get attached properly
Q10. Will you build Android 14 and higher for this device?
A10. Any questions on higher Android versions will be completely ignored. I do this in my free/spare time and will not be subject to any ETAs or demands. If you want a higher version, the source code is freely available as per FAQ #1 and you can build it yourself.
Q11. Do I need to erase everything and format my data?
A11. Yes, you MUST erase all the partitions (system, data, dalvik/art cache, cache) using TWRP and MUST format your data before installing 20 when you are coming from stock or an earlier version of LineageOS or from another custom rom. If you get stuck at the boot animation for more than 5 minutes, it's likely because you didn't follow the instructions I just wrote. Dirty flashes from stock, other custom roms or older LineageOS versions are not supported and not likely to work.
You MUST FORMAT DATA in TWRP so backup your files first to some external storage (external microsd or PC).
NOTE: After you do the above, first boot (without gapps, magisk, etc) will take about 90 seconds. It may pop with a message saying "System UI isn't responding". Hit close app and then reboot the tablet again.
Q12. What gapps should I use?
A12. I don't use gapps anymore. I use Aurora Store. As of Nov 6, 2021, I no longer make recommendations on which gapps to use as your mileage may vary.
Let me by crystal clear. YOU NEED TO DO YOUR OWN HOMEWORK selecting between the various ARM64 gapps offered. There are 5: opengapps, nikgapps, mindthegapps, flamegapps and bitgapps. Each one will have it's own installation instructions. The only recommendation I will offer to use the SMALLEST version of gapps.
Don't be surprised that whatever gapps you use might have problems like "Just a sec", voice not working, updating google play store please wait, etc. These are NOT problems of the OS as the OS will run fine without gapps. These are gapps problems and you must ask in the gapps forum why it doesn't work.
In addition, some of the gapps may not install properly when using TWRP and say "cannot /mnt/system".
Q13. I'm having problems with gapps, can you answer why it's not working?
A13. I WILL NOT answer any questions regarding gapps. This thread is about the rom, not gapps. Android does not depend on gapps in order to work.
Q14. Why isn't my post answered or ignored?
A14. Questions already answered in the FAQ will be completely ignored. Again, I do not use Windows OS or gapps.
Q15. What speed up/optimization tips do you suggest?
A15.
1. Turn off animations. Go into developer settings, scroll down to the drawing section, and set window, transition and animator scale all to "off".
2. If you don't have a google account, don't install gapps. Use Aurora Store to get your apps as you can get all the same apps from the play store using an anonymous login.
3. Use a web browser like Brave that has built in adblock and privacy features.
4. Use newpipe to watch your streaming content. It has built in adblock so you don't have to watch forced ads.
5. Look for apps that are open source, ad free and lightweight.
Q16. Does this rom support Magisk for root?
A16. I don't use Magisk. Magisk is always being updated to fool Google's certification process which may or may not work.
Q17. Will this rom ever become official?
A17. With 19.1 and up, legacy devices like ours will NEVER be official due to lack of ebpf support. See https://lineageos.org/Changelog-26/
Q18. What is the difference between this rom and others?
A18. This rom tries to be pure LineageOS with little to no modifications.
Q19. Will there be any major 20 code modifications in the future?
A19. I don't anticipate any major modifications. There may be some small bug fixes and minor code cleanup, but all the hard work in getting the rom up and running and fixing all the major bugs have been completed. This doesn't mean the code is perfect or well organized, but I won't be doing any major changes now that 20 is working.
Q20. Can you build a variant of this device? For example, a LTE or S-pen version.
A20. If I don't physically have the device, I cannot and will not build it unless I can boot and test it myself. Even then, there's no guarantee that I can get those variant features working. To be clear, I will NOT build T713, T719 and T819.
Q21. Can I load this rom on a variant devivce like LTE or S-pen version?
A21. The rom is built for the device explicitly listed. If you are an advanced user and understand TWRP, adb, odin, heimdall, you can try loading it on a LTE or S-pen variant by modifying the updater-script, but it may cause a bricked device, bootloops or non functionality of LTE/S-pen. You have been informed and warned!
Q22. Does this rom support OTA updates?
A22. No and I have no plans to add that functionality.
Q23. Why is there no LineageOS 19.1 build?
A23. I actually had a private 19.1 build back in Dec 2022, but stock camera didn't work at all so I decided to try build 20 to see if stock camera works in 20 (it does not either). Since I'm the sole builder for 18.1 and 20, I don't want to build, maintain and test 3 roms each month. Since 19.1 and 20 are very similar, I decided to just do 20 and drop 19.1 altogether. For those that need stock camera to work, use 18.1 (with caveats) or another rom where it works properly.
Q24. Okay, I understand the consequences and that this is ALPHA rom and willing to take the risks outlined, now where can I find the rom?
A24. You can download it from
https://sourceforge.net/projects/retiredtab/files/SM-T813/20/
Release notes
NOTE: All builds that I upload have been personally tested on my device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data in TWRP. This is known has a clean install. Backup your data before a clean install.
June 23, 2023
1. Initial 20 ALPHA public release.
2. Incorporates June 5th security patches as per https://review.lineageos.org/q/topic:"T_asb_2023-06"
3. If you are coming from stock rom or an older LineageOS version (example, 18.1), you MUST format your data in TWRP. Remember to backup your data and verify that restore data works before upgrading to 20.
Reserved.

Categories

Resources