[ROM] [13.0] [Dragon] LineageOS 20.0 [UNOFFICIAL]

Search This thread

primaleph

Senior Member
Dec 16, 2012
343
69
Installed Magisk and now my tablet won't charge. Removing Magisk didn't help.

...and I bricked the tablet trying to fix this. Couldn't restore the stock image, so tried erasing all partitions... including the bootloader. Didn't realize until afterwards what this would do. FML.

Why the hell is this even an accessible command? Is there any benefit to being able to erase a bootloader when you could just flash it instead?
 

pat_wild

Member
Jul 29, 2022
31
13
There are mixed experiences for bluetooth keyboard & wifi country code switch.

For the keyboard I understand that this has been going on from previous Android versions already. Updating the bluetooth driver in our kernel is a hel lot of work and not worth it if it's only a problem with the keyboard. Other bluetooth devices work perfectly fine.

Is the wifi country code switcher working?

I confirm that the wifi switcher works for me (as well as the keyboard). It's amazing what you managed to do! Thank you!!

Regarding Bluetooth, I noticed that when I connect wireless earbuds, the sound is choppy. However, I experienced that same behaviour on other ROM and on other "low end" tablets, so I assume it has to do with memory management. I read somewhere that turning off wifi could resolve the issue but that's not very practical when you are streaming something. But, this isn't a huge issue for me: simply need to plugin the good old wired earphones!
 

primaleph

Senior Member
Dec 16, 2012
343
69
No fastboot? Try some of the unbricking guides.

I did, with no success. Still couldn't flash anything after trying them. And the Pixel C I ordered to replace the other one has working stock software, but its fastboot is messed up too. I was able to install stock updates, but fastboot flash and fastboot boot commands don't work. It seems to be partially unlocked, which is hard to fix from what I've read.
 

primaleph

Senior Member
Dec 16, 2012
343
69
I did, with no success. Still couldn't flash anything after trying them. And the Pixel C I ordered to replace the other one has working stock software, but its fastboot is messed up too. I was able to install stock updates, but fastboot flash and fastboot boot commands don't work. It seems to be partially unlocked, which is hard to fix from what I've read.

Happy to report that the replacement Pixel C arrived. After some initial difficulty flashing anything on it - it was stuck in a partially unlocked state - I was able to get the most recent version of this rom onto it. It's working great. Thank you so much for your hard work.
 

tabormeister

Senior Member
I confirm that the wifi switcher works for me (as well as the keyboard). It's amazing what you managed to do! Thank you!!

Regarding Bluetooth, I noticed that when I connect wireless earbuds, the sound is choppy. However, I experienced that same behaviour on other ROM and on other "low end" tablets, so I assume it has to do with memory management. I read somewhere that turning off wifi could resolve the issue but that's not very practical when you are streaming something. But, this isn't a huge issue for me: simply need to plugin the good old wired earphones!
Weird, my pixel buds work perfectly
Also I take it back - seems like $100 for 32gb, $150 for 64gb. In this day and age 64gb seems like the minimum to have like more than 10 apps and a couple games installed. Is the 64gb faster?
 

primaleph

Senior Member
Dec 16, 2012
343
69
Is there somewhere I can read about how the Application Compatibility settings work, in Developer Options? There are so many of them, and I'm not sure what all of them do.
 

primaleph

Senior Member
Dec 16, 2012
343
69
What do you mean exactly?

In the Settings app, under Feature Flags, there are two settings that I've been experimenting with: Graphics Driver Preferences and App Compatibility Changes.

Some games only work when I change their graphics driver from Default to System Graphics Driver. So I assumed the system driver is a patched version of the original nVidia one. I recall people were trying to figure out how to do that, back when I still had a Shield tablet. I guess someone eventually figured it out, which is awesome. :)

Under App Compatibility Changes, you'll see there are a wide variety of options can be changed, grouped by SDK version. I'm trying to get a sense of what the oldest ones do, so that I can try some of them on a particular old game that doesn't get past its opening video with either graphics driver.
 

Pian0Play0r

Member
Jul 6, 2013
11
3
I've migrated from ArrowOS to LineageOS 20 and am very happy with how it works for now :) Pixel Keyboard works as well as it did with ArrowOS and Bluetooth headphones seem work as well. Awesome Job michie! :love:
 
  • Like
Reactions: djibe89 and michie

pat_wild

Member
Jul 29, 2022
31
13
It's itching to build both Lineage & Pixel Experience for dragon. What do you guys think? Performance should be equal :)

Interesting! Well, if you can make it work as well as this ROM, I too would probably flip to Pixel Experience!

You amaze me! Making one ROM work so well for our tablets is already a freaking great achievement (technically, you also did your magic on Arrow as well), but to take on yet another project: respect!

Quick question. At some point, you mentioned that you might even be able to re-enable the cameras. Is that still in the cards? (Or maybe I dreamed that! Lol)
 

michie

Senior Member
Apr 15, 2007
1,549
2,546
Hasselt
Interesting! Well, if you can make it work as well as this ROM, I too would probably flip to Pixel Experience!

You amaze me! Making one ROM work so well for our tablets is already a freaking great achievement (technically, you also did your magic on Arrow as well), but to take on yet another project: respect!

Quick question. At some point, you mentioned that you might even be able to re-enable the cameras. Is that still in the cards? (Or maybe I dreamed that! Lol)
Well, I was able to get the camera's detected again by the system but the old hacks in the android framework don't seem to work anymore. Ive been spending alot of time getting the codecs working again in webview browsers but even if I build webview myself without hardware support, video's still wont load in the browsers. Not sure why...

I did not spend much time on the camera's yet. Will try some stuff soon!
 

primaleph

Senior Member
Dec 16, 2012
343
69
Some performance optimization suggestions from my last day or so experimenting with settings. These seem to matter the most for speeding up browsers and games. The following settings have mostly eliminated the remaining issues with lag on my Pixel C:

CPU governor - interactive

I/O scheduler - deadline or fiops
Read-ahead - 512kb or 1024kb

Maybe not strictly necessary, but I did it anyway:
Entropy (read) - 1024kb
Entropy (write) - 2048kb

Judging from what happened when I tried changing them, it seems best to leave the CPU minimum frequency and ZRAM settings as they are. I've been experimenting with these settings using Smartpack, installed from F-Droid.

I hope these are helpful. I'm not a programmer, but I have a good bit of experience with tech support and beta testing, so I'm glad to be able to contribute something to the ongoing efforts to keep this tablet relevant. (And it really is!) If you find another setting that improves the operation of your Pixel C with LineageOS 20, let us all know about it :)
 
Last edited:

Top Liked Posts

  • 2
    The new build is working great. I dirty flashed it over the old one without any issue. So far, my performance seems better and compatibility with FDE.AI does a bit also.

    One issue I had with the previous build is still unresolved, though. It's minor, but maybe someone can help me figure it out:

    When I go into Developer Options and set Window Animation Scale, Transition Animation Scale, and Animator Duration Scale to off, that only persists until reboot. After rebooting, they are all set to .5x again. Is this setting locked in some way? If so, how do I unlock it?
    I scripted this behaviour a few years ago and it applies on every reboot. I'll check if I can edit developer settings using an overlay instead of a script.
    1
    Installed it last night. Like always, an excellent build!

    However, I notived something odd. When I select an app group on my homepage and it opens up, the group window is dispropotionnally big and there is a huge space between the app icons and their titles below them.

    I tried to do a screenshot but couldn't figure out how. I tried to check in the Button settings menu if I could configure one of the buttons for that but that menu also crashes...
    I guess it will be fixed by lineage, ill keep an eye on their gerrit to see if any fixes get merged.
    1
    Hi, I updated to this build from a Jan build. On this version, I can not adjust the minimum screen brightness. I know that there used to be a problem with the fact that it was possible to completely turn off the screen by adjusting the brightness, but it was possible to achieve a lower brightness level. Is there any way to get the brightness back? Root available. Thanks.
    Correct, I raised the minimum screen brightness to fix the bug. I will lower it as much as possible in next build. Need to do some testing.
  • 10
    So today I found a pleasant surprise in my mailbox, a 2Tb SSD including note!

    Thank you much so for the gesture! It will be put to good use. I start cloning my build enviroment this weekend. :)

    @tabormeister @ragwo @EnginEAR @pat_wild
    9
    New build up based on Android 13 QPR2 including march security patches!
    7
    I'm on holiday atm, will do a new build with latest security patches soon! Will also check mic gain level.
    4
    In other news, my ram chips are on the way from China...as soon as they get close I'm shipping some tablets. Fingers crossed something works.
    3
    Hello and thank You for taking over from #followmsi
    I dunno if it's an error between my chair and the tablet, but I cannot install anything of the play store. It's all on pending...🤷‍♂️

    EDIT: I've checked the Play app permissions and there were none. Allowed Phone and Network and it's all good now.
    Just to say, I am blown away with how lovely Lineage looks. I remember the days of CyanogenMod and it's like 1000miles away
  • 14
    2okPze5.png



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

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

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

    Code:
    /*
    * Your warranty is now maybe 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 20.0 for Pixel C (Dragon)

    Installation

    1. If you're coming from another ROM or performing a clean flash:
    • Reboot to Recovery
    • Backup any important data
    • Format Data partition
    • Wipe Dalvik, Cache, System, Vendor
    • Flash the ROM
    • Flash GApps (optional)
    • Reboot to System
    2. If you're updating the ROM or performing a dirty flash:
    • Reboot to Recovery
    • Flash the ROM
    • Wipe Cache
    • Reboot to System

    WHAT WORKS?
    • Almost everything

    WHAT DOESN'T WORK?
    • Camera
    • Webview based browsers won't play videos
      • Use a browser like firefox as a workaround (SW Codecs)
    • SELinux is permissive

    DOWNLOADS
    Click here to Download

    Recommended Gapps Package: MindTheGapps

    GPL compliance:
    ROM Source
    - https://github.com/LineageOS
    Kernel Source - https://github.com/ThaMichie

    ROM OS Version: Android 13
    Security patch level: March 2023
    ROM Kernel: Linux 3.18
    Based On: AOSP
    12
    Lineage 20.0 is live! Clean flash advised.
    Our device tree had a major overhaul, all performance optimizations are included.
    10
    So today I found a pleasant surprise in my mailbox, a 2Tb SSD including note!

    Thank you much so for the gesture! It will be put to good use. I start cloning my build enviroment this weekend. :)

    @tabormeister @ragwo @EnginEAR @pat_wild
    9
    Thanks for taking over (y)
    9
    New build up based on Android 13 QPR2 including march security patches!