[ROM][9][2019-12-13] UNOFFICIAL LineageOS 16.0 for ASUS MeMO Pad 7 (ME176C(X)) - MeMO Pad 7 Original Android Development

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.
*
*/
LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.
About this project
This is not a regular ROM. Usually, ROMs are based on certain components provided by the vendor (e.g. the heavily modified kernel and certain proprietary components). In contrast, this ROM makes use of a largely unmodified mainline Linux kernel together with many open-source components. Only a tiny bit of firmware is taken from the stock ROM.
This has many advantages for security and maintainability, but also means that certain hardware features (e.g. Camera, GPS) are difficult to implement because they require significant effort and a lot of reverse engineering. Nevertheless, this ROM has reached a state where it is very much usable with the majority of functionality implemented.
(See "Development" in the GitHub README for a more technical introduction...)
New features
Android 9 (LineageOS 16.0) with latest security patches
Linux 4.19 kernel
Meltdown, Spectre, RIDL, Fallout, ... fixes
Vulkan graphics (experimental)
Less/no bloatware
Full backlight control (allows much lower brightness)
F2FS (with a compatible recovery)
Signature spoofing (allows using MicroG instead of proprietary Google Play Services)
WireGuard
Tested features
Display, Backlight control
Graphics (OpenGL etc)
Touchscreen
WiFi, Bluetooth
Audio: Speaker, Headphones, Microphone
Battery, Charging
Sensors: Accelerometer, Magnetometer
Internal Storage/External Storage (SD Card)
USB, USB-OTG
Hardware video accelerated codecs
Planned features (not working yet)
Suspend/Deep sleep states
Not planned
Camera
GPS
FAQ
How is the battery live? Screen-on time is probably similar if not longer, but there is a lot of battery drain in standby mode (even worse than on the ASUS system). I recommend that you turn off the tablet when you're not using it.
How do I obtain root access? There are various ways, but the recommended way for LineageOS is to flash addonsu. (Available below.) However, note that this will break SafetyNet. Use Magisk alternatively.
Can I use Netflix with this ROM? Yes, although you will need to build and flash the Widevine DRM addon manually (see below).
Installation
Preparation
Make sure you are running Android Lollipop (5.0).
You need an unlocked bootloader. LineageOS 16.0 requires me176c-bootstrap 0.3.0, included in me176c-boot 0.3.0. (The old "Intel" bootloader is no longer supported.)
Install TWRP
Make a full backup of the ASUS system. You may want to go back to it.
Do a full factory reset. Wipe data and cache partitions.
Install the main system using the flashable ZIP below.
If needed, install additional addons not included with the main system (see below).
Download
System image (install as ZIP in recovery): lineage-16.0-20191213-UNOFFICIAL-me176c-signed.zip
TWRP recovery image: Available in a separate thread.
Addons
There are various packages you can flash for additional functionality. Most of them are proprietary. All addons persist during LineageOS updates, so you do not need to flash them again after updating.
Google Apps (Google Play Services, Play Store, ...): Use Open GApps (x86, Android 9.0)
Fingerprint (used to pass SafetyNet/Google Play certification): Flash me176c-asus-fingerprint-signed.zip.
Magisk users: Alternatively, you can use MagiskHide Props Config with the fingerprint asus/WW_K013/K013:5.0/LRX21V/WW_K013-12.10.1.36-20151230:user/release-keys
Root: Flash addonsu-16.0-x86-me176c-signed.zip. Remove using addonsu-remove-16.0-x86-me176c-signed.zip
This will break SafetyNet. Alternatively, you can use Magisk.
Widevine DRM (used in certain streaming apps like Netflix): Flash widevine-x86-chromeos-12499.66.0_atlas.zip* [see below]
Houdini (used to run ARM apps on x86, may help if an app shows up as incompatible): Flash houdini-x86-chromeos-12499.66.0_atlas.zip* [see below]
Signature Spoofing (for use with microG): Flash me176c-signature-spoofing-signed.zip to enable signature spoofing. Grant permission with caution only.
*Houdini/Widevine: I do not provide pre-built ZIPs for those two addons. (See this post for more information.)
They can be built easily on any Linux distribution using android_vendor_google_chromeos-x86. Takes just a few minutes (depending on your download speed). No development experience or Android source code required.
If you are unable to build it, someone else may share a build with you. In that case, you can verify its integrity using the SHA-1 checksums available in the release notes.
XDA:DevDB Information
Unofficial LineageOS for ASUS MeMO Pad 7 (ME176C(X)), ROM for the Asus MeMO Pad 7
Contributors
lambdadroid
Source Code: https://github.com/me176c-dev
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: me176c-boot(strap) 0.3.0+
Based On: LineageOS
Version Information
Status: Beta
Created 2019-05-12
Last Updated 2019-12-13

Version History
LineageOS 16.0 (2019-12-13)
lambdadroid said:
Android security patch level: December 5, 2019
Updates: Linux (4.19.75 -> 4.19.89), Mesa (19.1.7 -> 19.3.0), MediaSDK (19.2.1 -> 19.3.1), …
Addons
Widevine/Houdini: Recommended version is now: 12499.66.0_atlas
Download: lineage-16.0-20191213-UNOFFICIAL-me176c-signed.zip
Click to expand...
Click to collapse
LineageOS 16.0 (2019-09-22)
lambdadroid said:
Android security patch level: September 5, 2019
Updates: Linux (4.19.68 -> 4.19.75), Mesa (19.1.4 -> 19.1.7)
Addons
Widevine/Houdini: Recommended version updated to 12239.92.0_nocturne
Download: lineage-16.0-20190922-UNOFFICIAL-me176c-signed.zip
Click to expand...
Click to collapse
LineageOS 16.0 (2019-08-19)
lambdadroid said:
Android security patch level: August 5, 2019
Use WiFi firmware from stock ROM
Add LineageOS power profiles
The default setting disables the turbo frequencies of the CPU to reduce heat (like on LineageOS 14.1).
The old behavior of LineageOS 16.0 (turbo on) can be restored by setting the power profile to "Quick".
Updates: Linux (4.19.57 -> 4.19.68), Mesa (19.1.1 -> 19.1.4), MediaSDK (2019 Q1 -> 19.2.1)
Download: lineage-16.0-20190819-UNOFFICIAL-me176c-signed.zip
Click to expand...
Click to collapse
LineageOS 16.0 (2019-07-07)
lambdadroid said:
Android security patch level: July 5, 2019
Updates: Linux (4.19.49 -> 4.19.57), Mesa (19.0.6 -> 19.1.1)
Download: lineage-16.0-20190707-UNOFFICIAL-me176c-signed.zip
Click to expand...
Click to collapse
LineageOS 16.0 (2019-06-09)
lambdadroid said:
Security Advisory
Android security patch level: June 5, 2019
Added mitigation and CPU microcode update for:
CVE-2018-12126, CVE-2018-12130, CVE-2018-12127, CVE-2019-11091
aka Zombieload, RIDL, Fallout, MDS, … so many names, sigh
Changelog
Enabled MPEG2 video codecs (including hardware acceleration)
Fixed warning: "There's an internal problem with your device. Contact your manufacturer for details."
Flashing "vfp-fix-lineage-16.0-me176c-signed.zip" is no longer necessary
Updates: Linux (4.19.42 -> 4.19.49), Mesa (19.0.4 -> 19.0.6)
Addons
CPU Microcode addon is now obsolete, since CPU microcode updates are included by default again.
Re-install me176c-boot if you have been using it.
Widevine/Houdini: Updated to 11895.118.0_nocturne
There are now simplified build instructions in BUILDING.md
Download
Installable ZIP: lineage-16.0-20190609-UNOFFICIAL-me176c-signed.zip
Click to expand...
Click to collapse
LineageOS 16.0 (2019-05-12)
lambdadroid said:
This build is a major update to LineageOS 16.0 (based on Android 9 Pie) and contains several weeks of work with significant cleanup and other major changes.
Major changes
Based on LineageOS 16.0 (Android 9 Pie)
Use Android Go build configuration to optimize for low RAM (More information)
Hardware accelerated video codecs are now open-source
The remaining proprietary components are no longer included by default and must be flashed manually if needed: (More information)
Widevine DRM (used in certain streaming apps like Netflix)
Houdini (used to run ARM apps on x86)
CPU microcode update
New installation instructions
LineageOS 16.0 requires me176c-bootstrap 0.3.0, included in me176c-boot 0.3.0.
The old ("Intel") bootloader is no longer supported.
There are many new "addons" that can be flashed for full functionality.
Please check the new installation instructions on the LineageOS 16.0 thread before installing this update.
Upgrading
Upgrading from LineageOS 14.1 may work but is untested (and largely unsupported)
Upgrading from LineageOS 16.0 test builds is not possible!
Do a factory reset before installing the new build.
Improvements
Use MAC address from stock ROM for both WiFi and Bluetooth
Put Bluetooth in low power mode while not actively in use (#37)
Fixes
Android security patch level: May 5, 2019
MTP (#33)
Green artifacts on video thumbnails in Gallery (#51)
Headset / headphones microphone detection (#19)
Other changes
Updates: Linux (4.14.72 -> 4.19.42), Mesa (18.2.1 -> 19.0.4), MediaSDK (2018 Q2.2 -> 2019 Q1), …
Download
Installable ZIP: lineage-16.0-20190512-UNOFFICIAL-me176c-signed.zip
Click to expand...
Click to collapse

Great news, I will try today at home! Thanks!!!

I have tested it today. Seems be work without any problems. Thank you.

Houdini/WidevineDRM
So far this ROM is working without any problem, The performance is usable, and the battery is OK due to hardware limitations.
I have a problem installing Houdini and Widevine DRM (I Don't have any development experience) yet i don't understand the instructions on how to make a ZIP and how and where i should put the MK files.
If you dont want to provide the flashable ZIP files that is alright, but could you atleast make a guide that we can follow?
Great Job and Thanks for making this unusable tablet usable again.

Bazgir said:
I have a problem installing Houdini and Widevine DRM (I Don't have any development experience) yet i don't understand the instructions on how to make a ZIP and how and where i should put the MK files.
If you dont want to provide the flashable ZIP files that is alright, but could you atleast make a guide that we can follow?
Click to expand...
Click to collapse
Making a step by step guide is quite difficult because it really depends on the system you are using. I'm guessing that most users will already run into trouble because it can be only built on Linux.
Creating a guide to set up a virtual machine etc., how to get into a terminal etc would require a lot of effort. This is time that I would rather spent in development. I realize this entire situation isn't ideal, but I haven't been able to come up with a better solution.
If you have a working Linux system, building should be pretty simple:
Download and unpack https://github.com/me176c-dev/android_vendor_google_chromeos-x86/archive/11647.154.0_nocturne.tar.gz
Open a terminal and run (in the extracted folder):
Code:
$ ./extract-files.sh
$ zip/build.sh
Find flashable ZIPs in zip/out.
No development experience needed.
This is also roughly what is already explained in https://github.com/me176c-dev/android_vendor_google_chromeos-x86 although the README has more background information because it is really intended for people that would like to use that project in own projects (e.g. in other ROMs).
Maybe someone else here would like to provide more detailed instructions?

Hey, Thanks for the Reply!
I have already setup the Virtual Machine and even tried "Sudo ./extract-files.sh" I'll get the messedge "https://imgur.com/a/Y1lKg5P"
It probebly fail because i don't have the OS for the chromeOS, But then again where should i put the extractions file so that the script can locate and extract the nessecary files?
Am i missing something? a file maybe? or should the script takeout the nessecery files from internet? (i have almost no clue what im talking about )
I have the ASUS K013 (ME176CX) (1GB RAM) (8GB ROM)
Thanks again!

Hello Again,
I managed to create the ZIP files, The only problem i had was that i needed the recovery files for Chromeos (Nocturne),
Ones i had the files i extracted the recovery and got the file named propretary, and build the ZIP.
The link for the "I cant provide it for you because i don't have 10 post"
For other builds: cros-update-service-appspot.com (Try to find the one called nocturne and then 73 (then eddit the url so that u get 154.0 insted of 104.1))
This was a crusial step to understand how to extract the files, u also need to put the zip in to the same directori as extract.build.sh,
I have not yet tried this, so im not sure if it will work. The SHA.1 Matches
Thanks!!

Bazgir said:
I have the ASUS K013 (ME176CX) (1GB RAM) (8GB ROM)
Click to expand...
Click to collapse
There is really a K013 with only 8 GB internal storage?
I've read this a few times, but haven't seen one before. Good to know that the ROM works fine on it.
Bazgir said:
I have already setup the Virtual Machine and even tried "Sudo ./extract-files.sh" I'll get the messedge "https://imgur.com/a/Y1lKg5P"
It probebly fail because i don't have the OS for the chromeOS, But then again where should i put the extractions file so that the script can locate and extract the nessecary files?
Am i missing something? a file maybe? or should the script takeout the nessecery files from internet? (i have almost no clue what im talking about )
Click to expand...
Click to collapse
Great! The script downloads everything for you, but it looks like you don't have "curl" installed. On Ubuntu, you can install it using "sudo apt install curl". Then it will probably download the same file you have already downloaded manually.
Bazgir said:
I managed to create the ZIP files, The only problem i had was that i needed the recovery files for Chromeos (Nocturne),
Ones i had the files i extracted the recovery and got the file named propretary, and build the ZIP.
The link for the "I cant provide it for you because i don't have 10 post"
For other builds: cros-update-service-appspot.com (Try to find the one called nocturne and then 73 (then eddit the url so that u get 154.0 insted of 104.1))
This was a crusial step to understand how to extract the files, u also need to put the zip in to the same directori as extract.build.sh,
Click to expand...
Click to collapse
You can skip this if you have "curl" installed.
Thanks for trying to build it and your feedback! I will try to make the README more clear, especially regarding additional dependencies (e.g. "curl") plus the commands to run.

I'm supprised on how the ROM turned out to be, being a x86 platform even tho it's not supported anymore, with Houdini and Widevine.
I was able to play games on the phone such as Old school runescape on the tablet (Not perfect but playable) watch videos on youtube with the sound bug :/
The battery is better but still horrible (it was like this before), Might download somekind of deepsleep app such as Greenify for that.
What magisk module i have downloaded för best possible preformance is NFS-INJECTOR in Magisk.
I don't have any major problem with the 8GB ROM even tho the emmc memory is very very bad (Read 40Mb/s and write 8-10Mb/s) Somehow when i installed old SD card which is R 20Mb/s and 10Mb/s the tablets performance increase even tho it has lover read and write speed.
Is there a way to optimize the performance for the tablet even more? The main problem is RAM and ROM, i feel like the emmc memory and the amount of ram is holding back the CPU/GPU
Thanks!

Bazgir said:
I was able to play games on the phone such as Old school runescape on the tablet (Not perfect but playable) watch videos on youtube with the sound bug :/
Click to expand...
Click to collapse
Sound bug?
Bazgir said:
I don't have any major problem with the 8GB ROM even tho the emmc memory is very very bad (Read 40Mb/s and write 8-10Mb/s) Somehow when i installed old SD card which is R 20Mb/s and 10Mb/s the tablets performance increase even tho it has lover read and write speed.
Is there a way to optimize the performance for the tablet even more? The main problem is RAM and ROM, i feel like the emmc memory and the amount of ram is holding back the CPU/GPU
Click to expand...
Click to collapse
Android and most apps raise their requirements each year as new devices are released with higher specs. Many devices come with 6GB+ RAM now.
Altogether, this tablet was already low-end when it was released. The CPU is pretty good compared to low-end ARM processors. But with ~800MB usable RAM this tablet can simply not keep up with apps that require more and more resources.
This tablet would do fine if Android and apps were continuously optimized to use less resources. However, the development actually goes into the opposite direction.
Sooner or later, this tablet will probably no longer manage to boot new Android versions at all, simply because all RAM is taken up by the system.
My point is: If you want to optimize this tablet, you need to go back in time. Not just with the OS (e.g. by downgrading to Android 4.4 KitKat), but with all apps you are using. If you go to ~2015 this tablet will likely do a much better job.
This ROM is definitely less "optimized" for this specific device, simply because it does not have most of the device-specific hacks they had for these Intel tablets back then. But this is the price for being able to keep it up to date with acceptable effort. And if you look back to ASUS's version of Lollipop, it usually didn't feel much better either even though it was technically more "optimized".

lambdadroid said:
Sound bug?
Android and most apps raise their requirements each year as new devices are released with higher specs. Many devices come with 6GB+ RAM now.
Altogether, this tablet was already low-end when it was released. The CPU is pretty good compared to low-end ARM processors. But with ~800MB usable RAM this tablet can simply not keep up with apps that require more and more resources.
This tablet would do fine if Android and apps were continuously optimized to use less resources. However, the development actually goes into the opposite direction.
Sooner or later, this tablet will probably no longer manage to boot new Android versions at all, simply because all RAM is taken up by the system.
My point is: If you want to optimize this tablet, you need to go back in time. Not just with the OS (e.g. by downgrading to Android 4.4 KitKat), but with all apps you are using. If you go to ~2015 this tablet will likely do a much better job.
This ROM is definitely less "optimized" for this specific device, simply because it does not have most of the device-specific hacks they had for these Intel tablets back then. But this is the price for being able to keep it up to date with acceptable effort. And if you look back to ASUS's version of Lollipop, it usually didn't feel much better either even though it was technically more "optimized".
Click to expand...
Click to collapse
Ignore the sound bug, I will just use headphones (small fix).
That's true, om overall pretty happy with the result nevertheless.
Thank you.

Bazgir said:
Ignore the sound bug, I will just use headphones (small fix).
Click to expand...
Click to collapse
I'm not aware of a "sound bug". If you would like to have it fixed, you will need to explain it a bit further.
Do not hesitate to report minor problems; some of them are really easy to fix and exist only because of an oversight. For all others I will decide if they are worth the effort.

lambdadroid said:
I'm not aware of a "sound bug". If you would like to have it fixed, you will need to explain it a bit further.
Do not hesitate to report minor problems; some of them are really easy to fix and exist only because of an oversight. For all others I will decide if they are worth the effort.
Click to expand...
Click to collapse
It's very hard to explain the sound it makes, but when ever i start a youtube video, it basicly has to encode the video and the sound, The sound syncs upp with the video and there for when the video is a bit choppy it creates those weird sounds.
This is what im talking about "https://vocaroo.com/i/s1s7rSAFCIv0"
Not sure if its a video encoding problem but looks like it.
Thanks

Bazgir said:
It's very hard to explain the sound it makes, but when ever i start a youtube video, it basicly has to encode the video and the sound, The sound syncs upp with the video and there for when the video is a bit choppy it creates those weird sounds.
This is what im talking about "https://vocaroo.com/i/s1s7rSAFCIv0"
Not sure if its a video encoding problem but looks like it.
Thanks
Click to expand...
Click to collapse
I had also encounter this problem in LineageOS 14.1 of this tablet... I have noticed that it always happen when multiple sounds are composed by the tablet itself instead of composed by one app. (When it plays notification sound when music (using music player) playing, it sounds laggy for a while, but when a game plays multiple sounds, it's fine.) Also, after not playing any sounds for a while, it will create a loud pop sound right when the first sound is played. (And it hurts my ear when I'm using earphones... :silly: ) I haven't managed to build the Widevine and Houdini pack, so I don't know if the problem still goes the same in 16.1, but it seems that the same problem still exists. Hope that these information helps to fix the bug.

Frisk Dreemurr said:
I had also encounter this problem in LineageOS 14.1 of this tablet... I have noticed that it always happen when multiple sounds are composed by the tablet itself instead of composed by one app. (When it plays notification sound when music (using music player) playing, it sounds laggy for a while, but when a game plays multiple sounds, it's fine.) Also, after not playing any sounds for a while, it will create a loud pop sound right when the first sound is played. (And it hurts my ear when I'm using earphones... :silly: ) I haven't managed to build the Widevine and Houdini pack, so I don't know if the problem still goes the same in 16.1, but it seems that the same problem still exists. Hope that these information helps to fix the bug.
Click to expand...
Click to collapse
Here is the link for Houdini: https://mega.nz/#!E9li3QBJ!uN_TVlPjWUu50F5j4FIk6CqapMt9_k7ix5r01GrdyVQ
Here is the link for Widevine: https://mega.nz/#!kxlWlI6Z!u5OqNzys3r1LyMq3U1UOejsxj87GR1-f6f5Bn6u12mI
Not sure if it will work for you, make sure you do a backup :good:

I´ve installed the ROM and it works great! Thanks a lot!

Bazgir said:
It's very hard to explain the sound it makes, but when ever i start a youtube video, it basicly has to encode the video and the sound, The sound syncs upp with the video and there for when the video is a bit choppy it creates those weird sounds.
This is what im talking about "https://vocaroo.com/i/s1s7rSAFCIv0"
Not sure if its a video encoding problem but looks like it.
Click to expand...
Click to collapse
Frisk Dreemurr said:
I had also encounter this problem in LineageOS 14.1 of this tablet... I have noticed that it always happen when multiple sounds are composed by the tablet itself instead of composed by one app. (When it plays notification sound when music (using music player) playing, it sounds laggy for a while, but when a game plays multiple sounds, it's fine.)
Click to expand...
Click to collapse
Weird, I've never seen (heard) this issue even though I test video playback quite often. I used to have problems with touch sounds that were usually played high pitched for some reason, but it magically went away with some later 14.1 release.
Frisk Dreemurr said:
Also, after not playing any sounds for a while, it will create a loud pop sound right when the first sound is played. (And it hurts my ear when I'm using earphones... :silly: )
Click to expand...
Click to collapse
I know about this one. Quite annoying. I suspect that it is due to some kind of energy saving. (The headphones get turned off after unused for a while.) Not sure how to avoid it...
Frisk Dreemurr said:
I haven't managed to build the Widevine and Houdini pack, so I don't know if the problem still goes the same in 16.1
Click to expand...
Click to collapse
FYI you don't need Widevine/Houdini for most apps. Listening to Music, watching normal YouTube videos works fine without it.
Widevine is mainly needed for paid video streaming (e.g. movies, ...), and Houdini for more uncommon apps and games that are not compiled for x86 (you can install it as soon as you see an app that is displayed as "incompatible" with your device).

Bazgir said:
Here is the link for Houdini: https://mega.nz/#!E9li3QBJ!uN_TVlPjWUu50F5j4FIk6CqapMt9_k7ix5r01GrdyVQ
Here is the link for Widevine: https://mega.nz/#!kxlWlI6Z!u5OqNzys3r1LyMq3U1UOejsxj87GR1-f6f5Bn6u12mI
Not sure if it will work for you, make sure you do a backup :good:
Click to expand...
Click to collapse
Thanks a lot for offering the files! :good: But it seems like it's not working on my tablet... :crying: (The SHA-1 of the files I downloaded matches the correct one.) Any ways to solve this problem?

Frisk Dreemurr said:
it seems like it's not working on my tablet... :crying: (The SHA-1 of the files I downloaded matches the correct one.) Any ways to solve this problem?
Click to expand...
Click to collapse
Weird error. Can you try flashing from internal storage/external SD card or using ADB sideload? Might be related to USB OTG.

Related

CM12 / Android TV ROM Development

This thread is for development updates, and an eventual release of testing candidates for the future of dual booting CM12 android roms on the Amazon Fire TV. At this time I am not planing on supporting the Fire TV stick since my development platform is based off USB3 booting.
There currently isn't even a stable branch in CM12 upstream so things are quite tricky right now.
I may eventually setup public nightlies once the core is stable.
IN PROGRESS FORM HERE: https://t.co/TXp9z7htDx
The goals for development are in this order:
Wifi [working]
Bluetooth [crashing]
Stable core [random resets possibly storage related]
Audio [possibly needs hacking to default to hdmi]
Recovery system [rom boots using the recovery partition currently]
Hardware Acceleration [untested]
Android TV addons [require stable core]
USB Formating and install app [apparently not everyone knows what gparted is]
Modified version of Rbox's bootloader [I'd like to add recovery to the loader then have stock and custom boot options]
Also, if you want to be ready for possible nightly testing, I highly recommend going to walmart and buying one of the playstation USB3 hubs. It's about $20 but allows you to plug in a USB3 drive and keyboard and mouse until bluetooth is working.
SETTING UP USB BOOTING:
Code:
#include <std_disclaimer.h>
/* * Your warranty is now void. *
* I am not responsible for bricked devices, dead USB drives,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in these files
* before flashing them! 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. */
PART ONE [Preparing the drive]:
This process will eventually be streamlined but for now I'll explain the process and how it relates to testing builds during development. Since the Fire TV only has an 8gb flash chip and has no hardware recovery trigger, it is quite the unforgiving device to develop on. The current boot method for my CM12 builds involves flashing over the recovery partition and using it as a sort of dualboot partition. The modified recovery partition then searches for ext4 partitions on and external (USB3 preferred) flash drive. Currently each build generates its own boot image to be flashed over recovery, but I'm currently in the process of exploring the possibility of following Rbox's method of loading a boot image from a system folder instead making only one flash to the actual device necessary going forward.
For USB3 booting during the development process I highly recommend using a USB3 hub for a keyboard and mouse while bluetooth pairing and control mapping is being worked on. I also recommend a USB3 drive.
1) Turn on a Linux machine or boot a Live CD
2) Open Gparted
3) Delete any partitions on the usb drive
4) Create three ext4 partitions, the first partion is system and should be about 1GB, the THIRD partition is cache, and should be about 768mb with 0mb following, you should then have the middle portion empty in the display, in this SECOND partition make your data partition fill the rest of the space.
PART TWO [Preparing the bootloader]:
WARNING this process currently involves replacing your recovery partition, remember kids dd and root is like holding a grenade, make sure you don't throw it at something you care about.
Also, if you are testing a build and it does not load using the previous bootloader, try flashing the latest one from the nightlies (and vise versa) as I am still in the process of stream lining the boot process as far as what should take place before system bring up on our device. If a different boot image loads the system with noticeably more stability let me know asap so I can track the causes of my current issues.
Code:
adb connect <STOCK FIRE TV IP>
adb push boot-<DATE>.img /sdcard
adb shell
cd /sdcard
su
dd if=boot-<DATE>.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
Next I recommend side loading this apk to make rebooting into USB boot easier.
The three most recent "boot" images have been added to the downloads section, remember these should be flashed to recovery. Although they would work in boot, that would disable Rbox's loader and prevent you from loading stock OS.
PART THREE [Playing with instability]:
Great so now you have a USB3 booting image flashed to your recovery partition and you have an empty flash drive. This is where the tinkering begins. In the download section you will find a .tar.gz archive with a somewhat booting system with the aforementioned issues. Inside this archive is a system.img file which you will use dd to flash to the first partition of the flash drive you formated. After the system image is flashed you can plug your flash drive into your hub and reboot into recovery. Things will be great, wifi will show up and if you're quick enough you can complete setup and make it to the launcher. (the issue I'm currently working on is an odd timed reset that may be kernel or storage related oddly if you make it to the launcher and don't touch anything, it takes longer to reset)
If you made it this far, welcome to development. You can help by "kanging" (replacing system apk's and files with other versions to find more stable matches, or remove apks until things don't die then report back to me) Also if you make it to this point go ahead and fill out the form I mentioned earlier. Eventually any hotfix builds I do between nightly builds will be accessible to those users to play with.
Overhauling the boot system next and working on the reset debugging.
XDA:DevDB Information
TechVendetta ROM Development, ROM for the Amazon Fire TV
Contributors
TechVendetta, rbox
Source Code: https://github.com/TechV/android_device_amazon_bueller
ROM OS Version: 5.0.x Lollipop
Based On: CyanogenMod
Version Information
Status: Testing
Created 2015-01-29
Last Updated 2015-01-29
Reserved
UPDATE: I'm pretty much settled in to my new job/home now so I'm going to resume this project shortly. The first order of business is to see what sort of driver improvements we got from Amazon and whether their modifications help resolve the issues I was having. I only have the original FireTV so I'll be only testing on that. Not sure if the new one has an unlocked bootloader or recovery system so that will be up to whichever brave soul wants to test that. Hopefully tomorrow I can resync my repos and get a look at whats changed.
Reserved
Thanks for the update! Looking forward to seeing how this progresses.
Thanks for your work!
It would be nice run a CM12 build in Fire TV
So far the main system seems promising, I feel like the reset issue, which is the primary major roadblock is either in the kernel, or in the storage management/selinux services. Selinux should be disabled in this build so I'm looking into the other two options right now.
TechVendetta said:
So far the main system seems promising, I feel like the reset issue, which is the primary major roadblock is either in the kernel, or in the storage management/selinux services. Selinux should be disabled in this build so I'm looking into the other two options right now.
Click to expand...
Click to collapse
Thank you for keeping us updated!
[email protected] said:
Thank you for keeping us updated!
Click to expand...
Click to collapse
I'll link this here for now, while I finish looking into the logs for bluetooth/wifi/audio before uploading a rough copy here. I think I'm going to use the individuals who filled out the form to test the installer and recovery apps I'll be doing after fixing the above three things.
:victory:| TEASERS |:victory:
TechVendetta said:
I'll link this here for now, while I finish looking into the logs for bluetooth/wifi/audio before uploading a rough copy here. I think I'm going to use the individuals who filled out the form to test the installer and recovery apps I'll be doing after fixing the above three things.
:victory:| TEASERS |:victory:
Click to expand...
Click to collapse
Hey,
i've got one question for the installation:
you use the recovery as boot partition (because you dont want to mess with the actual boot partition where the bootmenu is).
is there a reason we cant use rbox's bootmenu, add another entry "usb boot" which will boot from /system/boot/usbboot.img ?
Or is the only reason that this just hasnt been added by rbox so we have to use another way?
I think this would be the most brick safe version and shouldnt be a big problem for rbox to implement....
Chris
[edit]
i'm really looking forward to this
aHcVolle said:
Hey,
i've got one question for the installation:
you use the recovery as boot partition (because you dont want to mess with the actual boot partition where the bootmenu is).
is there a reason we cant use rbox's bootmenu, add another entry "usb boot" which will boot from /system/boot/usbboot.img ?
Or is the only reason that this just hasnt been added by rbox so we have to use another way?
I think this would be the most brick safe version and shouldnt be a big problem for rbox to implement....
Chris
[edit]
i'm really looking forward to this
Click to expand...
Click to collapse
Thats one of the goals I put up there, just unlike rboxs current loader I know a way to make it remote controlled. ;D I started a bit on it. The "friendly user release" will have a root installer app that will handle multiboot, formating flash drives, recovery options, updates etc.
Really looking forward to a CM12 Android TV ROM. It would be nice to know that Amazon would not be able to kill a rooted Fire TV when this becomes reality. Peace of Mind regarding the Fire TV would be Priceless!
Xposed too http://forum.xda-developers.com/showthread.php?t=3030118
hhairplane said:
Xposed too http://forum.xda-developers.com/showthread.php?t=3030118
Click to expand...
Click to collapse
I'm a big fan of exposed, I'll have to add that to my testing list. I get a bit more free time tonight so I'll be getting back to looking at WiFi and Bluetooth and the installer. I still have two possible routes for both installing and updating i have to consider.
Sent from my LG-VM670 using XDA Free mobile app
TechVendetta said:
I'll link this here for now, while I finish looking into the logs for bluetooth/wifi/audio before uploading a rough copy here. I think I'm going to use the individuals who filled out the form to test the installer and recovery apps I'll be doing after fixing the above three things.
:victory:| TEASERS |:victory:
Click to expand...
Click to collapse
Any luck with the video acceleration, eg for Kodi or others such as Netflix, etc? How about hdmi audio?
Thanks for the update!
Video acceleration appears to be working, haven't got to audio. Had a death in the family this morning so i haven't had time to test my latest build.
Sent from my LG-VM670 using XDA Free mobile app
Sorry to hear that, Family is first! Although, maybe working on this will help take your mind away from that. Feel better!
TechVendetta said:
Video acceleration appears to be working, haven't got to audio. Had a death in the family this morning so i haven't had time to test my latest build.
Sent from my LG-VM670 using XDA Free mobile app
Click to expand...
Click to collapse
Sorry to hear that.
I recently installed CM 12 on a 2012 kfhd and wow!--it really brought that device to life! Performance/OC options are built right into the OS and another Dev made a custom kernel to oc to 1.7 ghz. But I have limited experience with CM and Android TV. Can we expect a similar UI and performance options with this? Or is it different for the set top boxes?
BTW--I think it's really great you're doing this. Lots of people are excited and it's very appreciated!!!
KLit75 said:
I recently installed CM 12 on a 2012 kfhd and wow!--it really brought that device to life! Performance/OC options are built right into the OS and another Dev made a custom kernel to oc to 1.7 ghz. But I have limited experience with CM and Android TV. Can we expect a similar UI and performance options with this? Or is it different for the set top boxes?
BTW--I think it's really great you're doing this. Lots of people are excited and it's very appreciated!!!
Click to expand...
Click to collapse
I can overclock the kernel but I'm not sure if it will be necessary yet. As for the features, CM12 doesn't even have a "stable" build yet. (they call them M builds now) They are still porting customizations like that in. That rom may use some stuff pulled in by the dev from other projects like paranoid, aokp etc. I'm listening to what people are asking for and I'll be taking it into consideration once I get to tweaking release candidates.
TechVendetta said:
I can overclock the kernel but I'm not sure if it will be necessary yet. As for the features, CM12 doesn't even have a "stable" build yet. (they call them M builds now) They are still porting customizations like that in. That rom may use some stuff pulled in by the dev from other projects like paranoid, aokp etc. I'm listening to what people are asking for and I'll be taking it into consideration once I get to tweaking release candidates.
Click to expand...
Click to collapse
Sounds great. Thinking now...an OC kernel probably isn't necessary since it's already real fast. But this rom I have works well on a relatively low end/older device. So I'm super excited about your project. Thanks again!

[ROM][27Aug][GNU/Linux] Sailfish OS 1.1.6.27 (community port)

Announcing Sailfish for the Sony Xperia SP
This is not Android!
This should be thought of as a development experiment. It may be useful if you are a developer and want to write/port apps the the Sailfish operating system. It is not an end-user product, however, if you wish to experiment and try something different then feel free!
Please do not contact Jolla Care or Jolla Developer Care, as this is not the Jolla phone
Update 15 Feb 2016
I've uploaded a new version of SailfishOS 2.0.0.10 to the Mega folder, called sailfishos-huashan-release-2.0.0.10-1.zip. This is again based off CM-12.1, the same release as stated below. This release fixes a kernel bug which lets a lot of the Sailfish system crash. This also fixes the wlan connectivity, startup-wizard which sets the themes, on-screen keyboard not popping up, and SIM unlock never asked. I've got a fix for the backlight in the works.
Update 14 Feb 2016
A very experimental CM-12.1 based SailfishOS 2.0.0.10 build is uploaded to the Mega folder linked below.
This version is based off cm-12.1-20160212-NIGHTLY-huashan.zip. I want to stress that many things in this build are broken.
Update 05 Feb 2016
This port is heavily outdated. I do not have much spare time on my hands to continue porting but I will try to post a nightly version soon.
This version was based on Sailfish 1.1.6 and CM-11.0, but the world has moved on to Sailfish 2.0 and CM-12.1, and so must this port.
There's a photo up on imgur:
http://i.imgur.com/Vg3SZ6w.jpg
Special thanks to:
All Cyanogenmod devs, since SailfishOS uses drivers from Cyanogenmod to talk with the phone's hardware
Everyone from the SailfishOS team/community, sledges and mal- in particular.
Known issues:
Half the backlight doesnt work, this is clearly visible at the top of the screen
Bluetooth isn't turned on, cause i've put no effort in for that so far
Camera doesn't work, cause it's not hooked up to interface.
No recovery inside hybris bootimage (you need to flash manually to return to cm/use recovery)
Settings hangs for few seconds on first start (this seems to be related to bluetooth not being set up)
What works:
Texting, calling, data over mobile network (2g and 3g tested, 4g should work but is untested)
Wifi, GPS (does take a while to get a fix though), most of the sensors (proximity, lightsensor etc)
The half of the display backlight that does work is adjusted based on lightsensor input.
Charging, bottom ledbar basic functionality, audio works, audio via 3'5 jack also works.
Installation:
Insert default warranty void message here. Your warranty is now void
I have not tested this on locked bootloaders, but since I needed to modify the kernel, I guess that you need an unlocked bootloader.
Note this is not an offical Sailfish OS build, and the Xperia SP is not the Jolla phone, so please don't report bugs to Jolla. If you want to report a bug, search for it first on bit.ly/port-bugs, if your bug is not yet there, you can add it there or post it in this thread (I'll try to keep the xda thread and bugzilla in sync).
The Sailfish OS image does not provide recovery, and since the Xperia SP does not have a recovery partition, you need a seperate bootimage with only recovery on it to flash cm/stock/sailfishos upgrade.
The Sailfish OS image is based on a specific version of Cyanogenmod 11, which you will need to flash first.
You can find all the required files in a Mega folder: http://mega.nz/#F!7YhSTDIA!Akpjs8s3qT5_nEkN04fQ-Q
You can find a bootimage with only TWRP recovery in it called recoveryboot.img
This image can be flashed with fastboot (with phone turned off, hold vol up and plug in usb), then `fastboot flash boot recoveryboot.img`. After that reboot the phone (fastboot reboot), and it will boot into recovery. If you already have recovery from cm, then you can use that as well.
First do a full wipe (make a backup first if needed, TWRP can do this , then install CM11, the specific version you need is called: cm-11-20150712-NIGHTLY-huashan.zip
There is no need to reboot cause you wont use CM11 anyway, so just proceed and flash the Sailfish OS image, which is called: sailfishos-huashan-release-1.1.6.27-UNOFFICIAL-maikel-201508201214.zip
Flashing Sailfish OS is not as fast as flashing cm11, but it shouldn't take more than 10 minutes.
Then reboot. The first boot may take some time, during which the Sony logo is not displayed (WIP).
If the boot takes more than, lets say five minutes, try a reboot. You can power off the device by holding the power button until the LED bar turns red or the display brightness goes back to full, when the leds and display turn off the device is powered off.
If this doesn't work you can remove the back cover and press the little button in the little hole for 5 seconds, the device will vibrate thrice and the phone will be forced off.
If you want to return to your previous rom or restore a backup, use the recoveryboot.img using the commands stated at the top of this document, to boot into TWRP.
FAQ
You can find a FAQ which mentions most common user questions for SailfishOS here: http://forum.xda-developers.com/jolla-sailfish/general/qa-sailfish-n4-thread-devices-t2727330 . It's mainly aimed to the Nexus 4 and 5, but it's fairly applicable for all other ports as well.
Sources
In order to comply with the GPL, the kernel sources used for this port are available here:
CM-11.0 based port: https://github.com/maikelwever/android_kernel_sony_msm8x60
CM-12.1 based port: https://github.com/maikelwever/android_kernel_sony_msm8960t
edit: make links + sailfish 2.0 notice, kernel sources, 2.0 link
You rock! Very interesting project. Sailfish is an unknown world for me (and for most of us I think), I might try this ROM out sooner or later.
Why do we need to install CM11 first? Is it based on it?
Goob job bro!!!!
But I'll try this port later since it's kinda buggy
Hope you will fix those bugs.
Tomoms said:
Why do we need to install CM11 first? Is it based on it?
Click to expand...
Click to collapse
SailfishOS uses libhybris to communicate with the hardware, which in turn is talking to the Android HAL (like hwcomposer), to avoid having to write drivers for each phone, which would be pretty much impossible due to the proprietary blobs used on almost every phone.
The libhybris build included in this SailfishOS port is based on CM11, so that's why you need that.
CM12 based SailfishOS is currently experimental, when that gets more stable I will try to make a CM12 based build.
I tried the earliest version that was available on your git earlier this month, working great, just that it gets frustrating when Settings try to crash when you just opened and i just can't seem to install openrepos Warehouse from the command line...
boylush said:
I tried the earliest version that was available on your git earlier this month, working great, just that it gets frustrating when Settings try to crash when you just opened and i just can't seem to install openrepos Warehouse from the command line...
Click to expand...
Click to collapse
Installing packages from command line was fixed in the version linked in this thread. This had to do with some repositories that were unavailable (cause they pointed to local disk of buildmachine), causing zypper to hang on updating.
Those packages have been moved to the community buildserver, which hosts the packages online, thus fixing the hang you experienced while trying to install openrepos. If you still experience problems with the latest build: try a 'zypper rr adaptation0' before installing an app. If it complains about missing libsailfishapp, do a 'zypper ref' and try installing again.
Ninja edit: I'm considering bundling the openrepos warehouse with the zip, since I use it a lot myself as well, and we are in the process of enabling the official Jolla store (without Android support though), which should smooth out installing apps as well.
maikoool said:
Installing packages from command line was fixed in the version linked in this thread. This had to do with some repositories that were unavailable (cause they pointed to local disk of buildmachine), causing zypper to hang on updating.
Those packages have been moved to the community buildserver, which hosts the packages online, thus fixing the hang you experienced while trying to install openrepos. If you still experience problems with the latest build: try a 'zypper rr adaptation0' before installing an app. If it complains about missing libsailfishapp, do a 'zypper ref' and try installing again.
Ninja edit: I'm considering bundling the openrepos warehouse with the zip, since I use it a lot myself as well, and we are in the process of enabling the official Jolla store (without Android support though), which should smooth out installing apps as well.
Click to expand...
Click to collapse
OMG Sailfish uses zypper? I must try this thing ASAP!
Can we install Android apps in it somehow?
Tomoms said:
OMG Sailfish uses zypper? I must try this thing ASAP!
Can we install Android apps in it somehow?
Click to expand...
Click to collapse
Yes Sailfish uses zypper, and also has pkcon (from PackageKit) available as a frontend. Sailfish is based on Mer, which is it's own Linux distro, so don't expect the huge amount of packages that are available on desktop Linux systems that use zypper. Multiple community members provide repositories with builds of common unix tools that are not bundled by default (openrepos) though. As far as I know, Mer is closest to OpenSUSE with the package guidelines (I'm no expert on this though).
Android apps are supported on the official Jolla hardware using AlienDalvik. AlienDalvik is proprietary and not gratis software and thus not available for community ports like this one. I just added a link to a XDA thread with a Sailfish user FAQ to the startpost, which goes into this subject in more detail and provides anwers to other common questions.
There are multiple community projects going on to provide support for running Android apps, which I'll look into when all the Sailfish native stuff works properly.
There's apkenv, which is a very basic way to run some Android games on Sailfish ports.
There's some way to run full Android in a chroot and pipe the UI to a Sailfish app window.
And then there's shashlick, from the KDE team, which tries to map Android UI to QT.
I have not tested any of these three (yet), and there may be more options than this available.
maikoool said:
Yes Sailfish uses zypper, and also has pkcon (from PackageKit) available as a frontend. Sailfish is based on Mer, which is it's own Linux distro, so don't expect the huge amount of packages that are available on desktop Linux systems that use zypper. Multiple community members provide repositories with builds of common unix tools that are not bundled by default (openrepos) though. As far as I know, Mer is closest to OpenSUSE with the package guidelines (I'm no expert on this though).
Android apps are supported on the official Jolla hardware using AlienDalvik. AlienDalvik is proprietary and not gratis software and thus not available for community ports like this one. I just added a link to a XDA thread with a Sailfish user FAQ to the startpost, which goes into this subject in more detail and provides anwers to other common questions.
There are multiple community projects going on to provide support for running Android apps, which I'll look into when all the Sailfish native stuff works properly.
There's apkenv, which is a very basic way to run some Android games on Sailfish ports.
There's some way to run full Android in a chroot and pipe the UI to a Sailfish app window.
And then there's shashlick, from the KDE team, which tries to map Android UI to QT.
I have not tested any of these three (yet), and there may be more options than this available.
Click to expand...
Click to collapse
man i was waiting for this thing :fingers-crossed:
A small review of this OS:
The flashing process isn't very short, but in my case the OS booted in less than 30 seconds
There are only 10 - 12 installed apps: Settings, Contacts, Camera, Telephone etc.
The terminal emulator is fully-featured but it has got a bug: the screen orentation is the opposite of the real one (when the phone is horizontal, the terminal is vertical and vice versa). But as I've just said, it happens only in terminal.
WiFi doesn't seem to be working, but SIM card signal works (2G and 3G - no LTE); mobile data - I don't know.
The GUI is shiny and transparent and the whole OS is based on gestures. There's a little tutorial after the first boot thats help you understand how to use the phone fastly. I didn't open the Jolla store as I couldn't use mobile data at that moment.
During my 10-minute-long test, the screen randomly locked by itself; there is another bug: when the screen is locked, backlight doesn't turn off unfortunately.
A strange thing of Sailfish is that the app you're using is always fullscreen, there's no notification/status bar at all. The navbar also doesn't exist, as you can go back and to homescreen with gestures.
The developer mode is also interesting, it lets you connect to your phone remotely over the network.
Basically, this port of Sailfish at the moment is a very early alpha, but it's the dream of the geek: a full Linux experience with command-line package manager etc. I hope to see improvements in the future
will follow this thread closely...........
finally something new and different to use.
cheers
avi.singh9993 said:
will follow this thread closely...........
finally something new and different to use.
cheers
Click to expand...
Click to collapse
And now the Jolla Store should be enabled! \o/ Please try it out and tell us 
This looks really good, if it will ever be in daily driver state this will be my go to rom
sledges said:
And now the Jolla Store should be enabled! \o/ Please try it out and tell us 
Click to expand...
Click to collapse
yeah i would love to try, but i need my phone as a daily driver many important work related.
why don't you all post on official facebook page, i'm sure 90 percent people do not know about this and are willing to try and submit bug reports which in turn helps in faster development of this project.
avi.singh9993 said:
yeah i would love to try, but i need my phone as a daily driver many important work related.
why don't you all post on official facebook page, i'm sure 90 percent people do not know about this and are willing to try and submit bug reports which in turn helps in faster development of this project.
Click to expand...
Click to collapse
Why don't you post please? DIT - doing it together!
sledges said:
Why don't you post please? DIT - doing it together!
Click to expand...
Click to collapse
well i asked my friend to post it,
many people saw it but unfortunately not much of a positive feedback.
now it's onto developer and his hardwork to develop and make it atleast daily driver. then some people will be interested in trying it
Tomoms said:
A small review of this OS:
The flashing process isn't very short, but in my case the OS booted in less than 30 seconds
There are only 10 - 12 installed apps: Settings, Contacts, Camera, Telephone etc.
The terminal emulator is fully-featured but it has got a bug: the screen orentation is the opposite of the real one (when the phone is horizontal, the terminal is vertical and vice versa). But as I've just said, it happens only in terminal.
WiFi doesn't seem to be working, but SIM card signal works (2G and 3G - no LTE); mobile data - I don't know.
The GUI is shiny and transparent and the whole OS is based on gestures. There's a little tutorial after the first boot thats help you understand how to use the phone fastly. I didn't open the Jolla store as I couldn't use mobile data at that moment.
During my 10-minute-long test, the screen randomly locked by itself; there is another bug: when the screen is locked, backlight doesn't turn off unfortunately.
A strange thing of Sailfish is that the app you're using is always fullscreen, there's no notification/status bar at all. The navbar also doesn't exist, as you can go back and to homescreen with gestures.
The developer mode is also interesting, it lets you connect to your phone remotely over the network.
Basically, this port of Sailfish at the moment is a very early alpha, but it's the dream of the geek: a full Linux experience with command-line package manager etc. I hope to see improvements in the future
Click to expand...
Click to collapse
I agree totally that it's the dream of a geek. I've noted all your comments and will try to fix them. Thank you very much for taking the time to test!
Spasik said:
This looks really good, if it will ever be in daily driver state this will be my go to rom
Click to expand...
Click to collapse
That's what I'm aiming for too!
avi.singh9993 said:
yeah i would love to try, but i need my phone as a daily driver many important work related.
why don't you all post on official facebook page, i'm sure 90 percent people do not know about this and are willing to try and submit bug reports which in turn helps in faster development of this project.
Click to expand...
Click to collapse
Sorry, but I couldn't care less about Facebook. I'm pretty convinced that everyone that is willing to try something like this is already on XDA anyway. Hopefully the work related part will be better possible when Android app emulation or something similar finally makes it to community Sailfish builds.
PS: I've been a bit busy with other things lately, sorry for not responding that fast. I'll try to roll a build with fixes and the latest Sailfish (1.1.7.28) asap.
This has changed the mac of my device
can I ask how's the development going?
If someone could port the only rom i would like to be ported on the SP: ColourOS, it will be AMaZING

[SM-T825][UNOFFICIAL] 20180911 Treble Project

I'm not responsible for any damage to your device of any sort.
By flashing this you take responsibility of anything that happens.
Process at your own risk!
If you want to check firmware - please make backup. Better to store all partitions, at least efs and may be modem.
As we all know - the tablet does not support treble. And we do not have a separate partition, with enough space (about 450mb) to place the whole vendor there.
As a result, I created a solution and tried to make it as much easy as possible for daily use.
I created 2 files - system.img/vendor.img as ext4 images and put it in to the system partition. And then on early init I mounting real system partition as /system_src and then mount system.img as /system and vendor.img as /vendor.
Also I created twrp treble's version for easy use /system and /vendor. It's can wipe new system\vendor partitions, you can restore images to system/vendor in the same way, as we use for boot/recovery.
How to
Prepare - need only once
1. in the current twrp make full wipe (at least we need clean /system, because later we fill all /system by 2 files: system.img/vendor.img)
2. you need flash my twrp with treble support (sm-t825-twrp_3.2.3-0_treble.img): https://drive.google.com/file/d/1GJMrHI4wkePXh8JmF_jgxBSly38B5tu1/view?usp=sharing
3. flash zip with new system.img/vendor.img as ext4 images: https://drive.google.com/file/d/14lwrnM85CoxcpjTUiJ0yfbGHXLa7k0DB/view?usp=sharing
Installation
1. download treble zip from Links and flash it as usual zip. It will flash boot.img and /vendor partition (this is part, specific for our tablet only)
2. download any treble system (64bit System A-only) image from: https://forum.xda-developers.com/project-treble/trebleenabled-device-development, if it not a .img file - extract it, then copy to sdcard/extsd card and then flash image as system_image in twrp (Install - switch to Install Image and flash as System Image)
3. some images require vendor's modification, in oreo some firmware has a 90 rotate, some 270, in my treble zip 90, if you see - image rotated on 180 - flash zip from Additional Links
4. if you wanna back to original lineage\rr without treble - you need flash normal twrp version and make full wipe or just flash stock firmware via odin
Known Issues
sound 2 skeakers only for now
fingerprint
keys light dnw on some firmwares
Links
2. 20180911: fix rotate, back to stock sound (fix bt, quad speakers): https://drive.google.com/file/d/1e_mzosWYL7bv29n613OKZpvSZPXMh26k/view?usp=sharing
1. 20180802: initial treble: https://drive.google.com/file/d/14lwrnM85CoxcpjTUiJ0yfbGHXLa7k0DB/view?usp=sharing
Few notes about item 2: your tablet has wrong image orientation, panel horizontal, sensor - vertical, as result troubles with show right image in right orientation. In 7.0-8.1 this problem was fixed by adding ro.sf.hwrotation=270 in build.prop. For pie this way dnw. Google remove this option and update configstore with new ISurfaceFlingerConfigs. It was added new method: primaryDisplayOrientation. Problem was in adding new configstore sources in the 15.1 sources. Finally I had successfully builded configstore 1.0/1.1 from 16.0 in 15.1.
Additional Links - need only for some oreo images, if image rotated on 180
2. 20180911: https://drive.google.com/file/d/1S4mvXFcX-d2xoZEp9b9dG3ywUhybT6U2/view?usp=sharing
1. 20180802: initial fix rotate: https://drive.google.com/file/d/1JKGu7vudrU0bJPEdkGwBVFkyCJpsHLLs/view?usp=sharing
Magisk
For some reason original Magisk dnw with our treble. It's somehow connect to sepolicy and I'm almost sure about it connected to our treble way with loop0/loop1 mount.
Finally I made small update of the original latest Magisk and it's working. Only one thing was done by me: inside zip in the binary magiskinit file I remove seclabel (seclabel u:r:magisk:s0) for magisk services.
Fixed 17.1 Magisk beta: https://drive.google.com/file/d/1lMhM8ceaJoy5pHRHjCsxxG2C9e5sB5Ot/view?usp=sharing
17.1 Magisk beta manager (this apk also inside Magisk, but cann't be installed automatically during Magisk install), install it as normal apk after install Magisk: https://drive.google.com/file/d/1qCoVPUxvvxopCGfIpoHdAnKueNIxMXal/view?usp=sharing
GApps
https://opengapps.org
Almost all firmware say about wrong vendor version. This is normal, just press OK.
Checked firmwares
AospExtended (need rotate 270 patch): https://forum.xda-developers.com/pr...evelopment/rom-aospextended-rom-v5-5-t3797509
Cosmic-OS: https://forum.xda-developers.com/pr...ment/cosmic-ospulsar8-1-0201805243-2-t3794806
DroidOnTime: https://forum.xda-developers.com/pr...pment/official-droidontime-dotos-2-x-t3794338
Havoc-OS: https://forum.xda-developers.com/pr...-device-development/rom-havoc-os-8-1-t3819050
Lineage: https://forum.xda-developers.com/pr...evice-development/lineage-phh-treble-t3767690
OmniROM Treskmod (need rotate 270 patch): https://forum.xda-developers.com/pr...development/rom-8-1-omnirom-treskmod-t3818188
Pixel Experience (it's requere register custom firmware): https://forum.xda-developers.com/pr...e-development/8-1-0-pixel-experience-t3796011
Resurrection Remix: https://forum.xda-developers.com/pr...opment/resurrection-remix-phh-treble-t3767688
let's experiment together!
Wow! Man, you rock! My Favourite dev! Thanks for Your hard work!
Thanks for this. One question, do we use A/B or A images?
Peeps1513 said:
Thanks for this. One question, do we use A/B or A images?
Click to expand...
Click to collapse
Forgot: system a only
Valera1978 said:
Forgot: system a only
Click to expand...
Click to collapse
And what did You think about the bugs You have mentioned? (Fingerprint, deepsleep, speakers) Fixable or not?
deepsleep, speakers - this is the common tab s3 problems (same in the original lineage), a bit later will back to it.
fingerprint - need to check, in the treble mode shim libs dnw because of linker in the system, also service from vendor don't see libs in system - i.e. some limitations. For camera I made workaround: launch second cameraserver service with my shim lib in environment, but this way dnw for fingerprint. It should be something easy to fix, but I still don't see it.
Valera1978 said:
deepsleep, speakers - this is the common tab s3 problems (same in the original lineage), a bit later will back to it.
fingerprint - need to check, in the treble mode shim libs dnw because of linker in the system, also service from vendor don't see libs in system - i.e. some limitations. For camera I made workaround: launch second cameraserver service with my shim lib in environment, but this way dnw for fingerprint. It should be something easy to fix, but I still don't see it.
Click to expand...
Click to collapse
Really appreciate your work :highfive:
Nice project. Good stuff.
I finally settled on HAVOC after much playing around but am facing an issue trying to install magisk (16.7), no success yet . When I searched [ROM][TREBLE] Havoc-OS 8.1 it seems that magisk has been installed on other devices so could it be a vendor issue? Any help would be appreciated. phh supersu seems to be fine though.
Peeps1513 said:
I finally settled on HAVOC after much playing around but am facing an issue trying to install magisk (16.7), no success yet . When I searched [ROM][TREBLE] Havoc-OS 8.1 it seems that magisk has been installed on other devices so could it be a vendor issue? Any help would be appreciated. phh supersu seems to be fine though.
Click to expand...
Click to collapse
Yep. I've tested treble but no sucess atm for me. Better stay with non-treble lineage, as most of the things work just fine. Maybe in future if Valera fix some things on treble bulid (if ever). Hope Dev focus on oreo lineage than treble project (which is good stuff, but not good enough as daily driver)
I want to leave a feedback after almost a month with treble roms
I have to change my mind: treble is fantastic! Such a great thing, very helpfull for all of us. I was running Valera's lineage 15.1 as daily driver for about 2 months.
In regular non-treble bulid almost everything work. Bad thing were performance (slow animations) and not working deepsleep.
I was happy but not at al. That wasnt this what i was looking for. Then i found again this thread and again give a try (longer) :fingers-crossed:
I am running now treble omnirom for few weeks. Worst things i find is: magisk did not work (very sad, tried multiple versions with no luck, other users report magisk is working for them) and my bluetooth headphones arent working (probably our side bug too)
In plus: no random reboots, performance is very good, no slow downs, deepsleep problem almost gone (drain 6% overnight connected to wifi)
Didnt find any other bugs
I am really happy now. It would be exelent with magisk and bluetooth audio working
Great job, i stick with treble for now :laugh:
Thanks for your great work, Valera!
Have anyone tried this on SM-T820 (Wi-Fi only version)?
imder said:
Thanks for your great work, Valera!
Have anyone tried this on SM-T820 (Wi-Fi only version)?
Click to expand...
Click to collapse
Work only with T825
Any updates Master?
@Valera1978
Could you PLEASE make this for us left out t820 owners???
How does this rom with Lineage compare to your non-treble build? Any reason to switch if I want to stick with Lineage?
robsmith11 said:
How does this rom with Lineage compare to your non-treble build? Any reason to switch if I want to stick with Lineage?
Click to expand...
Click to collapse
You better wait for Pie relase. Valera is working on it.
suzook said:
@Valera1978
Could you PLEASE make this for us left out t820 owners???
Click to expand...
Click to collapse
Without device this is impossible. Look like somehow vendors is differ in 820/825, and I need device to understand, what is wrong, why vendor from 825 dnw on 820 (except ril, may be gps). It should be something simple. Because on my another samsung's tablet on exynos no diffs at all. Treble for wifi version I had made based on lte version in first attempt.
robsmith11 said:
How does this rom with Lineage compare to your non-treble build? Any reason to switch if I want to stick with Lineage?
Click to expand...
Click to collapse
I'll update non-treble build soon. And treble too. During working on treble I had fixed some stuff, like hexedit finger libs to remove shim lib. But I need fix audio in calls again first.
About pie - I dont see any reason to start work on it right now, it's too early, it still has a lot of problems. Better spend this time to make something cool - may be even make samsung port from note 9 or tab s4 with dex and some stuff.
But if you don't want use treble (I agree, it's may be too complicate with special twrp and additional partitions), I think I can prepare integrated pie system images with simple flash without any additional manipulations, like you flash lineage.
Valera1978 said:
Without device this is impossible. Look like somehow vendors is differ in 820/825, and I need device to understand, what is wrong, why vendor from 825 dnw on 820 (except ril, may be gps). It should be something simple. Because on my another samsung's tablet on exynos no diffs at all. Treble for wifi version I had made based on lte version in first attempt.
Click to expand...
Click to collapse
Man, if you would be somehow able to build a unified or a separate treble rom for 820, you would be the greatest man on xda! Cause we have no support for 820 anymore...

[Project Treble][SM-T580][SM-T585] 20190401

I'm not responsible for any damage to your device of any sort.
By flashing this you take responsibility of anything that happens.
Process at your own risk!
If you want to check firmware - please make backup. Better to store all partitions, at least efs and may be modem.
As we all know - the tablet does not support treble. And we do not have a separate /vendor partition, i'm using /cache as /vendor.
Instructions
1. flash my twrp from link below
2. flash treble zip
3. download any system image from https://forum.xda-developers.com/project-treble/trebleenabled-device-development and flash it as system image
Known Issues
1. need fix gps on SM-T580
2. in aosp 9.0 phh image build-in camera app crashed, all other working fine
Notes
- This is treble build, based on latest lineage 16.0, latest 3.18.137 OC kernel (thanks @followmsi) (with mac fix and 4.0.10.205 wlan driver from codeaurora project) and latest device\configs.
- for /vendor partition I use /cache (it's about 209mb, it' enough for our vendor)
- for /cache partition I use /hidden (it's about 50-60mb, it' enough for cache)
Links
Treble images
SM-T585:
1. 20190401: https://drive.google.com/file/d/1BsmyMb7hI-xYZhIj1XqLNpkfNI9kjDxa/view?usp=sharing
SM-T580:
1. 20190401: https://drive.google.com/file/d/1nQciZhBq_2BnyxbHcP4JuDDA22wUfbzW/view?usp=sharing
Root
Use Magisk if need
Recovery
SM-t585:
1. my repack with add /vendor: https://drive.google.com/file/d/1kEQ-Wwee9MYrF5i69EII8p8R_lOwwf-O/view?usp=sharing
SM-T580:
1. my repack with add /vendor: https://drive.google.com/file/d/1wB665QMq6yesKaMteHQGrmdBAKvkHo0Y/view?usp=sharing
System images
A only and 64Bits
Checked firmwares: almost all pie roms from treble's thread should work. Checked aosp, pixelexperience, arrow, havoc.
Sources
Kernel: https://github.com/Valera1978/android_kernel_samsung_exynos7870/tree/lineage-16.0_treble
Device tree SM-T585: https://github.com/Valera1978/android_device_samsung_gtaxllte/tree/lineage-16.0_treble
Device tree SM-T580: https://github.com/Valera1978/android_device_samsung_gtaxlwifi/tree/lineage-16.0_treble
Vendor SM-T585: https://github.com/Valera1978/android_vendor_samsung_gtaxllte/tree/lineage-16.0_treble
Vendor SM-T580: https://github.com/Valera1978/android_vendor_samsung_gtaxlwifi/tree/lineage-16.0_treble
Hi just flashed the new blissrom gsi and everything seems to be good except that the headphone jack is not working. Haven't tried a different gsi yet to see if it happens on them also or if it is a problem with our tablets. By the way this on a sm-t580
twfs said:
Hi just flashed the new blissrom gsi and everything seems to be good except that the headphone jack is not working. Haven't tried a different gsi yet to see if it happens on them also or if it is a problem with our tablets. By the way this on a sm-t580
Click to expand...
Click to collapse
I just flashed Pixel dust on my sm-t580 and the headphone is ignored.
All sounds play thru the speaker just like you didn't install a headphone.
Also the sound settings are ignored, audio playing at full volume.
Even if I changed it to all soft or even off.
The same is with Viper Os.
There is also the problem that you can't install a bigger open gaps because of the partation isn't large enough.
Thanks for the first version for our tablet.
BT audio does not work in all treble firmware
So every time I boot I get a message that says:
There's an internal problem with your device. Contact your manufacturer for details.
Is this normal after flashing Pixel Experience GSI?
Also had this issue with Resurrection Remix as well
thenubknownasepic said:
So every time I boot I get a message that says:
There's an internal problem with your device. Contact your manufacturer for details.
Is this normal after flashing Pixel Experience GSI?
Also had this issue with Resurrection Remix as well
Click to expand...
Click to collapse
I'm guessing that it will happen when your custom ROM is on a different build number from the underlying official build.
Whatever it is, I think you can just ignore it - as long as both are up-to-date, you should encounter no actual errors.
The mismatch is probaly between the build fingerprint mentioned in the build.prop file in the system partition and the build.prop file in the vendor image, specifically the ro.vendor.build.fingerprint key.
RichyE said:
I just flashed Pixel dust on my sm-t580 and the headphone is ignored.
All sounds play thru the speaker just like you didn't install a headphone.
Also the sound settings are ignored, audio playing at full volume.
Even if I changed it to all soft or even off.
The same is with Viper Os.
There is also the problem that you can't install a bigger open gaps because of the partation isn't large enough.
Thanks for the first version for our tablet.
Click to expand...
Click to collapse
I dont know about the headphones, but i have the same problem with audio always at full volume rr gsi
hi how r u
is there any problem with havoc 2.9 please?
any bugs?
Thanks @Valera1978 for this Treble implementation. I am a huge fan of Treble, as it opens a wide range of ROMs to this tablet. Do you continue development on it? It seems come to a stop?
There is another Treble implementation for this Exynos, this is for Galaxy A3 2017 (A320FL). Maybe that can help.
Please could you make a version that supports AB system images?
@Valera1978
Does it support Android 10
this project supports android 10 can someone tell me please
@Chris_0147 the project is dead, you'd better to sell the device. i'll do that also. it's too old and no developer wants to develop anymore something for it. i tried any a10/a11 gsi rom, all are not supported.
I've been looking at previous comments ,OK , I understand it doesn't support 10 and 11 but has anyone tried installing Pie and then upgrading to 10 or 11.
Nope
You can try and tell us
Chris_0147 said:
You can try and tell us
Click to expand...
Click to collapse
Very helpful, I was hoping for something more constructive

LineageOS 18.1 for SM-T580 (gtaxlwifi) and SM-P580 (gtanotexlwifi)

This is LineageOS 18.1, which is based on Android 11, for the WiFi-only variants of the Samsung Galaxy Tab A 10.1" (2016), with model SM-T580 and codename gtaxlwifi, and the Galaxy Tab A 10.1" (2016) with S-Pen, with model SM-P580 and codename gtanotexlwifi. LineageOS doesn't need much of an introduction - It's a well-known custom firmware/Android distribution.
As was always planned, my LineageOS 18.1 builds continue on from @followmsi's LineageOS 18.1 builds that were intended for use by users. To update from his builds, my builds can simply be installed on top of an existing install from his builds without doing anything further (or "dirty flashed").
Downloads:
Note: While these builds are mainly intended to be used on the WiFi-only variants of these devices, they can be installed and used on LTE variants if you can go without mobile networking (of course), GPS and vibration.
Since I now have a T585, I've got LineageOS 19.1 builds for gtaxllte, and gtanotexllte as well, up in my 19.1 thread. I suggest using those.
For SM-T580/gtaxlwifi:
Latest build from 20221025 (with security patch level 20221005): https://drive.google.com/file/d/18PHMUSUW9A0ZfhjpSYCV0GiHW2Damskw/
Folder for builds (which contains a text file with a SHA256 checksum for the latest build, and a folder containing previous builds): https://drive.google.com/drive/folders/1wuirD9cyoguv7CQdEO5ymZ911k2ASKKD
For the T580, the latest official TWRP build from here should be used. If installing a build for the T580 to the LTE variant, with model SM-T585 and codename gtaxllte, keeping in mind some functionality will of course be missing as described in my note, the latest official TWRP build for gtaxllte from here can also be used.
For SM-P580/gtanotexlwifi:
Latest build from 20221025 (with security patch level 20221005): https://drive.google.com/file/d/11Iv75MtGAx4yvCWz-kN3wZOm-vgN4eE1/
Folder for builds (which contains a text file with a SHA256 checksum for the latest build, and a folder containing previous builds): https://drive.google.com/drive/folders/1fVGx1xGUxAtTvE0rG-OidwbXLM_93om2
For the P580, I've made unofficial TWRP builds from an updated device tree and the same kernel sources used for these LineageOS builds that must be used.
Download link for an image of my latest TWRP build: https://drive.google.com/file/d/1TAFLVpxdYQNvfvUPS_BGKx3imphR1Wd2/
Download link for a tar archive containing it for installation via Odin in the AP slot: https://drive.google.com/file/d/1Ay55ntZj7Uptzm--hiCaeG1C5lamQ1fG/
Changelogs:
Releases for 20221025:
Latest changes from LineageOS, including the 20221005 Android security updates.
The torch has been fixed.
Performance of animations and responsiveness has been improved slightly.
Configuration files for media codecs and profiles have been updated from Samsung's M105FDDS4CVG1 firmware, and audio codec support might be improved slightly (as the Codec 2.0 media codec framework has been fixed and is now used).
Some updates from the 4.9 Android common kernel have been applied to the kernel.
The WiFi drivers RX wakelock feature has been disabled - Heavy battery drain that occurred in sleep when connected to certain WiFi networks due to "qcom_rx_wakelock" wakelocks has been fixed.
Previous releases:
Releases for 20220903:
Latest changes from LineageOS, including the 20220805 Android security updates.
Some things that appeared that are only relevant for devices with mobile networking (such as the baseband version and SIM status sections in About tablet in settings) no longer appear.
The ZRAM size has been increased to 2GiB, and the swappiness is now set to 100.
A higher frequency (1246MHz, was 902MHz previously) is now set for the interactive CPU governors "hispeed_freq" value - This improves responsiveness slightly.
The sepolicy containing device-specific SELinux rules has been improved slightly.
Yet more miscellaneous cleanups have been done.
Some updates from the 4.9 Android common kernel have been applied to the kernel.
Releases for 20220803:
Latest changes from LineageOS, including the 20220705 Android security updates.
Some updates from the 4.9 Android common kernel have been applied to the kernel.
Releases for 20220628:
Latest changes from LineageOS, including the 20220605 Android security updates.
Many updates from the 4.9 Android common kernel, and some from a few other sources, have been applied to the kernel.
Releases for 20220526:
Latest changes from LineageOS, including the 20220505 Android security updates.
The problem where enabling the "Enable on-screen nav bar" option at Settings -> System -> Buttons caused touchscreen input to be disabled has been fixed.
Native support for IPsec tunnels has been enabled.
Support for Vulkan compute is now declared.
A new custom version of the open source Samsung audio HAL from Lineage's android_hardware_samsung repository is now used, rather than the stock, heavily-patched, proprietary Samsung audio HAL, with some fixes for a problem that made it unusable before where occasionally, audio would get outputted from both the speakers and the headphone jack.
The playback and low-latency capture period sizes have been reduced to 128 in the open source audio HAL, which reduces audio latency.
Pro audio support is now declared, since with the reduced period sizes, as well as with the use of the open source audio HAL, round-trip audio latency has been reduced enough for it.
Many updates from the 4.9 Android common kernel have been applied to the kernel.
Several fixes to the Sony HID driver in the 4.9 Android common kernel have been ported over to the kernel - Sony DualShock 4 controllers should now work properly.
Releases for 20220423:
Latest updates from Lineage, including the 20220405 Android security updates.
The tablet product characteristic has been added back after being mistakenly removed - Places where the device was referred to as a phone (such as the "About phone" section in settings) will now refer to it as a tablet again.
Some small improvements from my fixes for LineageOS 19.1 have been applied to the sepolicy containing the SELinux rules.
Some other miscellaneous cleanups have been done.
A few updates from the 4.9 Android common kernel and Samsung's A600FNXXU9CVB1 kernel sources have been applied to the kernel.
Releases for 20220325:
Latest updates from Lineage, including the 20220305 Android security updates.
The previously used 32-bit GPS blobs have been replaced with 64-bit blobs from Samsung's A810SKSS2CTI1 firmware.
The XTRA servers for Assisted GPS have been switched to the servers used in Samsung's stock firmwares - This fixes Assisted GPS, which turned out to actually not appear to work with the previous XTRA servers.
Even more small miscellaneous cleanups have been done.
There are some updates from the 4.9 Android common kernel to the kernel.
Releases for 20220224:
Latest updates from Lineage, including an increase of the Android security patch level to 20220205 (just an increase as interestingly, for this month, there aren't any (relevant) security updates).
The WiFi firmwares have been updated from Samsung's T395XXSDCVA1 firmware.
There are some final updates from the 4.4 Android common kernel (which is unfortunately now also discontinued along with Linux v4.4) and some updates from the 4.9 Android common kernel to the kernel.
[SM-P580/gtanotexlwifi only] Touch input and input from the back and recent apps keys is now ignored when the S-Pen is in use. (Thanks to @unknowwiiplayer for testing the changes for this)
Releases for 20220122:
Latest updates from Lineage, including the 20220105 Android security updates.
There are some updates from the 4.4 Android common kernel to the kernel.
Some changes have been applied to a few drivers specifically for Android in the kernel (mainly the binder driver) from the 4.19 Android common kernel for Q.
A few changes from the 3.18 Android common kernel that were missing from the kernel have been applied.
Releases for 20211222:
Latest updates from Lineage, including the 20211205 Android security updates.
There are some updates from the 4.4 Android common kernel to the kernel.
Releases for 20211114:
Latest updates from Lineage, including the 20211105 Android security updates.
The WiFi driver has been switched from being a kernel module to being built into the kernel. This may improve reliability for enabling and disabling WiFi and the WiFi hotspot very slightly.
The libexynoscamera3.so library has been updated from Samsung's P580ZSS1CTI1 stock firmware - This improves the situation with the issues with stretched/squashed camera previews for images and stretching/squashing in videos at some resolutions.
The MFC (Multi-Format Codec) firmware has been updated from Samsung's A305FDDU6CUI3 firmware.
As the oldest proprietary blobs are now as in Samsung's P580ZSS1CTI1 stock firmware (with a few exceptions), the vendor security patch level has been increased to 2020-09-01, which is the security patch level that firmware has.
Configuration files for media codecs and profiles have been updated from Samsung's T580XXS5CTK1 stock firmware.
Most SELinux rules that are technically not allowed (by neverallow rules) have been replaced with much better rules or removed.
There are some (final) updates from the (unfortunately now deprecated so no longer updated) 3.18 Android common kernel, some updates from Linux 4.4, and a few updates from Samsung's J600FPUUACUH2 and A720SKSU5CUJ2 kernel sources to the kernel.
Releases for 20211023:
Latest updates from Lineage, including the 20211001 Android security updates, and a fix for the issue where the media controls in the notification panel squash the quick settings tiles and make it impossible to swipe through them when in landscape.
Workarounds for an issue with rebooting to recovery and download mode from system using the advanced restart menu or the reboot command in a shell have been replaced with a proper fix.
Yet further slight miscellaneous cleanups have been done.
[SM-P580/gtanotexlwifi only] A problem where S-Pen input wasn't registering in the right directions in orientations other than portrait, as the axes for it didn't change on orientation changes accordingly, has been fixed by enabling orientation awareness for it (Thanks to @retiredtab for sharing that fix).
[SM-P580/gtanotexlwifi only] The cursor that appeared when using the S-Pen has effectively been disabled by setting the device type for the S-Pen input to a touchscreen (Thanks to @Acatzin for the hint for this).
[SM-T580/gtaxlwifi only] The system image size has been increased from 3072000000 bytes to 3145728000 bytes, which is the size of the system partition on Korean and Chinese variant T580s and T585s, and the smallest system partition size out of all T580s and T585s.
[SM-P580/gtanotexlwifi only] The system image size has been decreased from 3072000000 bytes to 3045064704 bytes, to accomodate for the SM-P583s system partition which has that size. With this change, it should now be possible to install this latest build for the P580 on the P583 and for it to boot fine, since the P583 basically seems to be a P580 but for China, although I can't be certain on that.
There are some updates from the 3.18 Android common kernel and Linux 4.4 to the kernel.
Releases for 20210922:
Latest updates from Lineage, including the 20210905 Android security updates.
The ZRAM size has been increased to 768MiB.
Even further miscellaneous cleanups have been done.
The 32-bit wcnss_filter binary, used for Bluetooth, that was used previously has been replaced with the 64-bit wcnss_filter binary from Samsung's A520FZTU4BRB1 firmware.
There are some updates from the 3.18 and 4.4 Android common kernels and Linux 4.4, a few changes backported from mainline Linux, and also a few other insignificant changes to the kernel.
An issue where there was additional extremely quiet high-pitched noise from the right speaker has been fixed. (Thanks to @Kostareka for reporting it. It likely would've gone unnoticed for at least a very long time into the future otherwise.)
First proper release for the P580.
Release for 20210810:
Latest updates from Lineage, including the 20210805 Android security updates.
This is my first build that is signed using my own release keys. This change was removed in the second build released for 20210810 (with "-R2-Test-keys" in the filename).
The BSP sources have been redone to closely match what has been done with the new exynos7880-specific part of Lineage's BSP sources, and with that, there are now more exynos7870-specific changes to the open source gralloc that is in use.
Some further small miscellaneous cleanups have been done.
There are some updates from the 3.18 Android common kernel and Linux 4.4 to the kernel, and a few other insignificant changes.
Release for 20210709:
Latest updates from LineageOS.
Merges of the latest changes from AOSP for repositories forked by Lineage have been picked to skip the wait for them to be merged (repopick -t android-11.0.0_r39), and the rest of the repositories not forked by Lineage were additionally switched to the android-11.0.0_r39 tag, for the 20210705 Android security updates.
A patch to the PermissionController app has been applied that adds the FAKE_PACKAGE_SIGNATURE permission group to it - The signature spoofing permission can now be managed through the permission management interface at Settings -> Privacy -> Permission manager.
The audio outputted from the audio jack while playing media will now be noticeably louder, as the headset "DAC1 playback volume" for media has been increased to the maximum of 175 from 162.
There are some updates from the 3.18 Android common kernel and Linux 4.4 to the kernel.
A few patches have been applied to the qcacld-2.0 WiFi driver in the kernel, which are mainly vulnerability fixes.
Release for 20210617:
Latest updates from LineageOS, including the 20210605 Android security updates.
The WiFi and Bluetooth firmwares have been updated from Samsung's A720SKSU5CTL2 firmware.
The qcom_cfg.ini configuration file for WiFi has been imported from Samsung's A720SKSU5CTL2 firmware - A change within it appears to have made WiFi more reliable.
The sensors.universal7870.so library has been updated from Samsung's stock P580ZSS1CTI1 firmware.
The health HAL has been upgraded to version 2.1.
There are a few other small miscellaneous changes (mostly small cleanups).
There are many updates from the 3.18 Android common kernel and Linux 4.4 to the kernel.
Some unnecessary drivers have been disabled in the kernel.
The sdfat driver in the kernel, which is used for exFAT filesystem support, has been updated to version 2.4.5.
A few changes have been imported to the MMC block device driver in the kernel from Samsung's M105GDXS6CUD4 kernel that fix extremely rare kernel panics that occurred when there was an error with a MMC device (mainly with SD cards).
The fix for an issue where the duration of videos that are taken is lengthened by the time spent in deep sleep/suspended that was previously used has been replaced with a better fix in the Exynos fimc-is2 driver in the kernel.
Release for 20210508:
Latest updates from LineageOS, including the 20210505 Android security updates.
New SELinux denials with Android 11 have been addressed, and with that, SELinux is now set to enforcing by default, and the sepolicy, which contains the SELinux rules, has been rewritten almost entirely, and is now of much better quality.
Some changes have been imported to libbt-vendor from https://github.com/LineageOS/android_hardware_qcom_bt on branch lineage-18.1-caf.
BPF offloading for tethering has been disabled.
The audio HAL has been upgraded to version 6.0.
The rampatch_tlv_tf_1.1.tlv firmware for Bluetooth has been updated from Samsung's stock T585XXS6CTJ7 firmware.
There are some updates from the 3.18 Android common kernel and Linux 4.4 to the kernel.
Some tcp_info-related patches have been applied to the kernel, and with that, a workaround, a patch titled "TcpSocketTracker: Opt-out for TCP info parsing on legacy kernels", is no longer used since it's no longer necessary.
A workaround that was used to get USB tethering and Bluetooth tethering to work is no longer used, and has been replaced with a proper fix (enabling CONFIG_NETFILTER_XT_TARGET_CT in the kernel).
Release for 20210407 (My initial 18.1 build. This changelog continues on from @followmsi's last 18.1 build that was intended for use by users):
Latest changes from LineageOS. The crashes that occurred when setting a new wallpaper that were discussed earlier in this thread appear to have been fixed.
Merges of the latest changes from AOSP, including the 20210405 security updates, have been picked to skip the wait for them to be merged. (repopick -t android-11.0.0_r34)
The same workaround that was used on 17.1 to get USB tethering and Bluetooth internet access sharing to work has been forward-ported and applied.
vintf manifest override enforcement is now enabled.
The vendor/lib[64]/egl/libGLES_mali.so blobs are now symlinked to vendor/lib[64]/vulkan.exynos5.so, rather than copied to vendor/lib[64]/hw/vulkan.exynos5.so - This is a proper fix for Vulkan support.
RSA key verification for ADB is enabled again, and ADB isn't enabled by default and on boot anymore.
There are some updates from the 3.18 Android common kernel and Linux 4.4 to the kernel.
Known issues and workarounds (if any):
Issue 1: Occasionally, when trying to select quick settings tiles in the notification panel, it will crash to the lockscreen.
I have no idea about this issue. It seems like some type of generic systemui crashes. But regardless, it doesn't exist under Android 12 which I've moved onto, and it's here to stay for 11 unfortunately.
Issue 2: Camera previews for images to be taken at resolutions with aspect ratios other than 16:9 using the rear camera are squashed from 16:9 (while final saved images at any resolution are unaffected by any squashing), and videos taken at some resolutions are affected by similar issues with squashing in previews, and, in a smaller set of resolutions, also in final saved video files. (Note that these issues don't affect the front-facing camera)
Somewhat of a workaround to issue 2: Use resolutions at which there are no issues with squashing from 16:9.
To report further issues, get a log from logcat and dmesg. If you're unsure on how to get either, there's good documentation out there for how to do so.
Sources:
A manifest containing all of the necessary repositories to make a build for either the T580 or P580 is in this repository on branch lineage-18.1: https://github.com/TALUAtGitHub/gtaxlwifi-manifests
Thanks to:
@Valera1978 - for all of the previous work for the T580 (and T585) long ago, and for providing his old BSP sources without which the previously used open BSP sources wouldn't have been possible.
@followmsi - for fixes to various issues and other improvements, for useful information, and for working with me on much of this stuff.
Anyone who has previously tested anything new I've put up for testing, reported results, and gave details for me to get it working if it was necessary.
The Lineage team - for the Android distribution itself.
...and everyone else who has worked on anything that is in use.
Just installed it on a device that was still running stock. Works flawlessly, thanks!
Can I get md5 checksum?
ar0177417 said:
Can I get md5 checksum?
Click to expand...
Click to collapse
It's 382e0ae70a956deec826c6867cf80614 for lineage-18.1-20210508-UNOFFICIAL-gtaxlwifi.zip. Anything wrong?
I have a problem with connectivity since April I only get 2mb / s per second when I pay for one 20mbps
This problem is only in android 11 when I go back to some android 10 ROM there is no problem
there are the results of bliss roms
Thank you for your (and @followmsi 's) ongoing support for this device!
My T-580 never felt old to me because of you!
A couple of observations:
TALUAtXDA said:
Issue 3: the on-screen navigation bar feature that can be enabled with the option at Settings -> System -> Buttons -> "Enable on-screen nav bar" doesn't work properly.
Click to expand...
Click to collapse
-onscreen navigation bar works for me, just the "disable hardware buttons" part does not.
For workaround I use Srgrusso's patch from here.
-Safetynet fails where it hadn't before. (no biggie for me, just a thing I noticed)
Great rom!
I flashed this + Flame Gapps and Magisk 22.1.
The first custom rom for this device where Ableton Link works!!
Hi @TALUAtXDA and thanks for your your work ,and the other behind the release
My needs are very basic, I just need something stable, no need for root, sd-card storag etc..
Would this be the preferred ROM? Or is the 17x release a better for my needs?
Regarding Gapps, I noticed that users are using Flame Gapps and NikGapps, but I guess the regular Open Gapps could be an option as well.
What is the recommended Gapps variant?
Kind regards Erik
Issue 4: Adoptable storage (probably) doesn't work.
Somewhat of a workaround to issue 4: format and use your micro SD card with the exFAT filesystem (and a MBR parition table).
Click to expand...
Click to collapse
Anyone else check this yet? It's working for me on @TALUAtXDA's previous version (202010407). I use this feature quite a bit as internal storage is too small, don't want to lose it if I dirty flash this version.
autorage said:
-onscreen navigation bar works for me, just the "disable hardware buttons" part does not.
For workaround I use Srgrusso's patch from here.
Click to expand...
Click to collapse
I'm referring specifically to the "Enable on-screen nav bar" option at Settings -> System -> Buttons, that doesn't require any system-level changes as made by that package that you've linked. When enabling it, no touch input is accepted anymore for some reason. It needs to be locked and unlocked a few times for it to accept input and the on-screen navbar added through that feature to work temporarily.
autorage said:
-Safetynet fails where it hadn't before. (no biggie for me, just a thing I noticed)
Click to expand...
Click to collapse
I have no idea about this. I'd have thought that it's now more likely to pass.
n0j0e said:
The first custom rom for this device where Ableton Link works!!
Click to expand...
Click to collapse
Hmm, wow.... I didn't expect that to be fixed in this release. That's great. :)
gechu said:
My needs are very basic, I just need something stable, no need for root, sd-card storag etc..
Would this be the preferred ROM? Or is the 17x release a better for my needs?
Regarding Gapps, I noticed that users are using Flame Gapps and NikGapps, but I guess the regular Open Gapps could be an option as well.
What is the recommended Gapps variant?
Click to expand...
Click to collapse
For stability, 17.1 would be slightly better. With 18.1, there are certain occasional crashes (see issue 1) that I'm not sure about at the moment, which you may or may not be able to tolerate.
As for Google apps, it's whichever is the smallest variant. For nikgapps, that would be core, and for opengapps, that would be pico. Something to note is that opengapps seems to often be more problematic for Android 11 than other google app packages, so it could be better to go for something else.
jrollf said:
Anyone else check this yet? It's working for me on @TALUAtXDA's previous version (202010407). I use this feature quite a bit as internal storage is too small, don't want to lose it if I dirty flash this version.
Click to expand...
Click to collapse
I actually didn't know if adoptable storage was working in my previous release. I just assumed it didn't considering that it never worked properly with 17.1. Knowing that it did in my previous release of 18.1, it would probably(?) also work with my latest release.
autorage said:
[...]
-Safetynet fails where it hadn't before. (no biggie for me, just a thing I noticed)
Click to expand...
Click to collapse
With NikGAPPS core, SafetyNet passes succesfully in my case.
jrollf said:
Anyone else check this yet? It's working for me on @TALUAtXDA's previous version (202010407). I use this feature quite a bit as internal storage is too small, don't want to lose it if I dirty flash this version.
Click to expand...
Click to collapse
I actually didn't know if adoptable storage was working in my previous release. I just assumed it didn't considering that it never worked properly with 17.1. Knowing that it did in my previous release of 18.1, it will probably(?) also work with my latest release.
Click to expand...
Click to collapse
Ok, I just dirty flashed it, SD as Internal Storage seems to still be working. Thanks!
jrollf said:
Ok, I just dirty flashed it, SD as Internal Storage seems to still be working. Thanks!
Click to expand...
Click to collapse
Alright, thanks for the information. I've removed that from the list of issues. You're welcome.
One more question, does this rom impact supported widevine level?
Had similar question about safetynet, which at least one user claimed worked using NikGAPPS core. Anyway else with experience related to safetynet?
gechu said:
One more question, does this rom impact supported widevine level?
Click to expand...
Click to collapse
The widevine security level is L3, and always will be L3.
Found an issue: system recovery doesn't get overwritten when installing lineage-18.1-20210508-UNOFFICIAL-gtaxlwifi.zip. Might be related with SELinux.
Lumito said:
Found an issue: system recovery doesn't get overwritten when installing lineage-18.1-20210508-UNOFFICIAL-gtaxlwifi.zip. Might be related with SELinux.
Click to expand...
Click to collapse
Wouldn't that be what you would want so that you don't lose TWRP? We've specifically disabled that feature by setting the "persist.vendor.recovery_update" property to "false" since we don't want to use Lineage's recovery.
Maybe, it makes sense. TWRP is more powerful, and faster when installing updates.
TALUAtXDA said:
It's 382e0ae70a956deec826c6867cf80614 for lineage-18.1-20210508-UNOFFICIAL-gtaxlwifi.zip. Anything
Click to expand...
Click to collapse
The downloaded build was corrupted
I downloaded it again. Now it is working fine
Anyways, Thank you for such a great rom
n0j0e said:
Great rom!
I flashed this + Flame Gapps and Magisk 22.1.
The first custom rom for this device where Ableton Link works!!
Click to expand...
Click to collapse
..ok i rushed to fast. Ableton Link didn't sync correctly!
My guess there is something broken or missing in the LOS network stack or WiFi driver for the SM-T580 (gtaxlwifi).
I have an OnePlus 5T with LOS 18.1 (crDroid 7.6) and all apps with Ableton Link are in sync and stable over WiFi.
Here my message from planet-h.com forum:
Hi,
i have a Samsung Tablet SM-T580 WiFi and tried nearly every A10/A11 custom ROM, mostly LineageOS.
I can connect with other devices without trouble but if i start play in G-Stomper the sequencer LED's are flashing absolutely crazy and beats are rumbled.
Same with RemixLive but Snap from Reactable runs rock solid with Ableton Link!
Tried all audio drivers with various latency settings.
Tried switch some network options in the Developer options.
Tried various Devices with WiFi Hotspot or with Wifi AP.
Nothing helped. G-Stomper products & RemixLive connects but didn't sync correctly. Snap plays absolutely stable.
No Firewall, no custom DNS, no AdAway.

Categories

Resources