yashsingh1/xdaforums huggingface dataset:
[Pixel C Android Development] pat_wild:
Very interesting. I downloaded the FDE.AI app but have been hesitant to try it out (I don't want to break anything that already works fairly well). Out of curiosity: can you easily rollback any tweaks that you perform with the app?
[Pixel C Android Development] primaleph:
Yes, as easily as disabling any other Magisk mod (that's if FDE freezes, which I haven't seen it do yet).

Just make sure you install the Magisk version.

FWIW, this morning I discovered my wifi issue wasn't with the advanced mode of the AI after all. Feel free to use it. I suggest avoiding Force Doze instead.
[Pixel C Android Development] michie:
I'm on holiday atm, will do a new build with latest security patches soon! Will also check mic gain level.
[Pixel C Android Development] primaleph:
A final update (probably) on my adventures with FDE:

I still recommend using it in one-time optimizer mode, and also using the Extra Optimization feature under tools. I have seen major performance increases from that. You can also feel free to use the build.prop tweaks, since those don't require the AI to be running.

However, I was unable to find any settings where running the AI in the background wouldn't eventually cause my wifi to stop working until reboot. It was usually anywhere between 8 and 48 hours before this happened. Some people might be willing to live with that, but I wasn't.

Some updates on previous performance recommendations:

Setting target_loads to 75 for the interactive governor is helpful for speed, if you don't mind losing a little battery life. I usually run my Pixel C plugged in.

I still recommend either fiops or deadline over cfq or any other i/o scheduler. Deadline is better for single intensive apps like games, where fiops seems a bit better for multitasking.

Currently I have vm.swappiness set to 40 and vfs_cache_pressure set to 10 . This has helped with remaining lag. The idea with these settings is to keep more of your cache in RAM (including zRAM), rather than letting it be cached on flash storage.

@michie , I wonder about setting vm.swappiness higher than 15 in your next build, and vfs_cache_pressure lower than 100. This has helped me a lot, but I'm not sure if it would be as good for people who are doing more multitasking and less gaming. I also wonder about setting the defauilt i/o scheduler to fiops, instead of cfq, since fiops is built for flash storage. What are your thoughts?
[Pixel C Android Development] thongsia:
Hi guys, may I know what is the OpenGL ES version of this ROM? 3.2 or 3.1?
[Pixel C Android Development] AlfreGarcia98:
Hi guys, I am currently running the last version of arrow os. I am a little bit lazy about swiching to this version. Is there any improvement compared with last arrow os build?

I have also seen that google is experimenting with a new dock design. With the one we have right now there no way to hide it or deactivate it right?II

Thanks in advance :)
[Pixel C Android Development] Sparty73:
I've gone through this with Arrow. Use Firefox and watch in browser. That should work.
[Pixel C Android Development] tabormeister:
Update: have found someone legit who's gonna help me upgrade ram and eMMC, will update with results. If anybody else is interested or has any pixel C's to donate to the cause let me know! I'm going to be spending a bit in tools and chips but not a crazy amount.
[Pixel C Android Development] EnginEAR:
I have two of 'em... a 64 and a 32... how much are we talking 'bout?
[Pixel C Android Development] tabormeister:
The guy usually works on switches (same soC) and is just as curious as I am if it'll work. iPad Rehab also got back to me and said they're interested in trying it also, so maybe they'd make it into a video if it worked. Either way I think we're just looking at parts cost, $20-50 for ram chips and $40-80 for 128gb-256gb fast eMMC. If you ship em to me I can distribute em and if I get fancy ones back I can send em back to you!
[Pixel C Android Development] EnginEAR:
So we're talking about $60-130 a piece...

What about the work?
[Pixel C Android Development] tabormeister:
I'm just buying the tools and chips he needs to do it, currently we're operating on a "whoa let's see if this even works" agreement 😂 if I get specifics about upgrade cost after we confirm it's possible I'll share. That's for the fastest/largest ram and eMMC though, there's much cheaper stuff that's like SLIGHTLY not as good that might work, or stuff from other chip makers. All to be determined.
[Pixel C Android Development] tabormeister:
With more RAM and faster storage I think this thing would rip
[Pixel C Android Development] EnginEAR:
It definitely would.

I'll patiently wait for your report.
[Pixel C Android Development] primaleph:
Exciting. Looking forward to hearing how it goes. I have an extra Pixel C (granted, it has an erased bootloader so it might not be rehab-ablle) but would also be willing to get a 32gb one to try this.
[Pixel C Android Development] pat_wild:
Hey @michie, I hope you had an awesome vacation! Just curious: are you still planning on doing this Pixel Experience ROM?
[Pixel C Android Development] michie:
Thanks for sharing the results! I'll play around with the scheduler and compare performance. As for further kernel tweaking, I will leave this up to the users ;)
[Pixel C Android Development] michie:
Actually yes. I was waiting for the march feature drop for updating lineage and releasing pe but google is late. I'm building pe as we speak and post it when it's done building. ;)

Unfortunatly I dont have enough disk space so I need to delete lineage, download pe, delete pe, download lineage, ... to keep them updated. Very time consuming.
[Pixel C Android Development] primaleph:
Maybe some of us could chip in and get you a hard drive? They aren't that expensive. How much extra disk space would you need?
[Pixel C Android Development] tabormeister:
Fully on board with this, big fast external SSDs even aren't expensive. Would 2TB do it?
[Pixel C Android Development] EnginEAR:
Me too!
[Pixel C Android Development] michie:
I have bad experience with external SSD's. I bought the samsung T5 1Tb for development but it crashes under constant load when building.

Bought a 1Tb samsung pro m.2 afterwards and it works perfectly but not enough space to store the OS + 2 build environments 😅
[Pixel C Android Development] EnginEAR:
So maybe we get you a 2TB m2 internal SSD?
[Pixel C Android Development] michie:
That would certainly help if someone has one laying around :)
[Pixel C Android Development] EnginEAR:
Amazon has a whole lot of 'em laying around. Are you in Belgium? Should I check if Amazon can deliver there?
[Pixel C Android Development] michie:
I'm based in Belgium, we do have amazon here. Prices are higher than in the US though.
[Pixel C Android Development] EnginEAR:
A 1TB Samsung 980 (not Pro) is $69.99 here. Would that suffice? How much would it cost there?

https://www.amazon.com/SAMSUNG-MZ-V8V1T0B-AM-980-SSD/dp/B08V83JZH4/
[Pixel C Android Development] EnginEAR:
Do you have a PayPal account (or equivalent) where we could "donate" money?
[Pixel C Android Development] movemint:
I'm having similar issues with Netflix. Can't get it to work. Went through all the tricks with Magisk, but no Netflix. Hulu, Disney+ work fine though.

My Pixel C keyboard also needs to be removed from BT every so often and reconnected or it doesnt work.
[Pixel C Android Development] primaleph:
I have that issue with the keyboard also, every few weeks or so.

No trouble with Netflix though.
[Pixel C Android Development] tabormeister:
@michie do you have a single internal m.2 slot? (Guessing from the comment about os+data) if it's a laptop, SK Hynix P31 is the gold standard for laptop SSDs, a bit more expensive but worth it due to massive efficiency and speed. $180ish on eBay.be for 2tb.

If it's a desktop, and you have a pcie4.0 slot there are a number of great 2tb options around $180 on Amazon.be. If you have a desktop and a pcie 3.0 slot, there are excellent options like the Samsung 970 Evo Plus 2tb on amazon.be for about $130.

I'm happy to chip in to whatever option is best for you :) there are cheaper options but I assume write endurance is important due to large file writes all the time.
[Pixel C Android Development] michie:
New PE build up in the PE thread!

I have a desktop (HP Z2 G4 SFF). Replaced my old laptop because it took 8hs for 1 build lol. Now it takes about 3hs for a clean build, usually running it at night.

Thank you all for the gesture, I don't feel 100% good with it though, been thinking to just save up and buying it myself for a long time already but you probably know how that goes :')

Netflix should work, bluetooth also works flawlessly with other devices. The pixel keyboard is not something that I can fix unfortunatly :)
[Pixel C Android Development] ragwo:
Thanks a lot @michie!

I would like to chip in on a 2 TB SSD if that's possible.
[Pixel C Android Development] tabormeister:
So according to this: https://support.hp.com/us-en/document/c06100569

you have 2x m.2 gen 3x4, I suggest we grab the 2tb 970 evo plus from amazon.com.be at ~$140.

So far me, @EnginEAR and @ragwo are down to chip in, that's pretty cheap per person :) Would it be easier for me to order it and y'all venmo me or we can send cash to you via Paypal @michie if that is easier
[Pixel C Android Development] pat_wild:
I'm in as well!
[Pixel C Android Development] tabormeister:
@michie we got you covered. PM incoming :)
[Pixel C Android Development] michie:
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
[Pixel C Android Development] movemint:
Netflix working now. deleted, re-did all the Magisk stuff, and was able to get Netflix downloaded from the Play store and get it working now.
[Pixel C Android Development] OldoTRONic:
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
[Pixel C Android Development] InWorld:
Hello there !

I was wondering if there is still a lineage 17.1 build for 4.9 kernel lying around ? I searched everywhere and the only build i've found got deleted.
[Pixel C Android Development] michie:
New build up based on Android 13 QPR2 including march security patches!
[Pixel C Android Development] tabormeister:
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.
[Pixel C Android Development] ragwo:
Thanks a lot! Will install ASAP.

Exciting! If it works, it would be awesome!
[Pixel C Android Development] pat_wild:
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...
[Pixel C Android Development] tabormeister:
I think this is from upstream, my pixel 7 just did this on the March update
[Pixel C Android Development] Frewww:
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.
[Pixel C Android Development] primaleph:
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?
[Pixel C Android Development] michie:
I guess it will be fixed by lineage, ill keep an eye on their gerrit to see if any fixes get merged.
[Pixel C Android Development] michie:
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.
[Pixel C Android Development] michie:
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.
[Pixel C Android Development] pat_wild:
Interesting, I don't have that issue with my Pixel 6 Pro...
[Pixel C Android Development] NFC_Tagsfordroid:
working well. Thank you!
[Pixel C Android Development] colognesupporter:
Thank you very much @michie for this ROM and for continuing followmsi's work! 👍

It's running smooth so far, except of two little things:

There seems to be a bug in VPN settings. The button for adding a new VPN connection is missing. Anyone else noticed that?

The network traffic monitor in status bar, doesn't show any traffic. It always stays at 0.

Then I would like to ask you if it is possible to enable signature spoofing in your builds, like @followmsi did in his builds? This would make it a lot easier to install/configure MicroG for people who don't want to use GAPPS.

Thx in advance for your answers! 🙂
[Pixel C Android Development] _benedict_:
Hi!

I'm excited about this new release! I tried to sideload but got the following message:

What can I do?
[Pixel C Android Development] _benedict_:
I was on Lineage Recovery and somehow this could not work. I installed TWRP and am now starting to enjoy 20 🤩
[Pixel C Android Development] muerte33:
If possible, can you increase the microphone gain? This would be very helpful!

Thanks very much for all the hard work on this ROM!
[Pixel C Android Development] tabormeister:
So I have news....PIXEL C BOOTS WITH 8GB RAM SOLDERED ON!! Only shows 3gb in software, so @michie we'll need your help to figure that out. Kernel edit? Bootloader edit?
[Pixel C Android Development] locuturus:
That's great! I very briefly looked into this a few years back and I thought I read in the Tegra X1 docs that it can only address 4GB max so I didn't pursue it after that.
[Pixel C Android Development] tabormeister:
So I was initially thinking this but every doc I could find says it can address 8gb, plus the Switch Erista dev kit came with 6gb, and the Switch Mariko dev kit came with 8gb ram so I think it's a software limitation. @followmsi feel like coming out of retirement for a minute to help get an 8GB/256GB Pixel C working? 😁
[Pixel C Android Development] michie:
Hey guys, sorry, I didnt have much time past weeks with personal life and school finishing soon. Combining work during the day and school in the evening has been a pain for 3ys 😅

Ive been trying to raise the mic level but the values in mixer_paths don't do much anymore. Need to figure out why, thought it would be an easy task :)
[Pixel C Android Development] michie:
Hmm we will need to figure out if it's the kernel or the bootloader which defines the device's RAM limit. I hope its not the bootloader because we will not be able to change much if not anything there.
[Pixel C Android Development] tabormeister:
Let me know if you want logs or anything, we're waiting to do the eMMC until we get RAM figured out. It's booting into Lineage and seems much snappier (installed 4266mhz ram) but that may be placebo effect because I'm so excited haha. He said he did the swap in 5 minutes which is wild, ram chips aren't even expensive. 8gb of new Samsung ram was like $60
[Pixel C Android Development] LaurenceGough:
Hi all, as we know the 3GB of RAM seems to be a major bottleneck on our beloved Pixel Cs. I read that Android 12 and above, being based on 64bit I've read that it's recommended minimum requirement is 6GB of RAM. https://www.gizguide.com/2021/10/android-12-system-requie.html

Is it worth looking at Android Go instead? Which has 1GB minimum required for Android 12, and 2GB minimum required for Android 13.

"

If Handheld device implementations include greater than or equal to 2GB and less than 4GB of memory available to the kernel and userspace, they:

[7.6.1/H-SR-1] Are STRONGLY RECOMMENDED to support only 32-bit userspace (both apps and system code)"

Taken from Android 13 docs: https://source.android.com/docs/compatibility/13/android-13-cdd

My Pixel C constantly fully relaunches firefox with just one tab, gmail, telegram etc.

Unless it's worth me going back to Android 11 or before? Although I recall it still being pretty poor then...

Also I wouldn't bother updating the RAM on these devices, the CPU is just as bad, the 4 cores are maxed out pretty much constantly.

Android (Go edition) | Build for Billions | Android Developers

Deliver the best possible experience for your users and help your app succeed in emerging markets.

developer.android.com
[Pixel C Android Development] tabormeister:
Cpu/GPU on pixel C is pretty strong, storage and ram are the bottlenecks as far as I can tell. Android go would be an interesting thing for sure! Aa soon as someone takes a look at the bootloader and kernel to recognize the 8gb I think it'll seem behave like a much different device 😁
[Pixel C Android Development] EnginEAR:
Per

Android (Go edition) | Build for Billions | Android Developers

developer.android.com

- it is supposedly a matter of configuration. If that is indeed the case - perhaps getting a LineageOS (Go Edition) is feasible and not too difficult?
[Pixel C Android Development] LaurenceGough:
Yes it looks like a build config flag, it can only be done during the compile time, but I'm no expert at all haha... I did find this comment online:

I think this is just what our Pixel tablets need.
[Pixel C Android Development] locuturus:
If this gets figured out I have a 64GB Pixel C I would love to give a RAM bump to. I got bummed out a few years ago when I thought the max was 4GB. That said, even going from 3GB to 4GB would almost double the RAM actually available to applications after graphics and system take their shares. It'll still have that slow 2015 era singlethread speed but it's good enough for most uses. Actually, I might be interested anyway if the RAM speed is better 🤔
[Pixel C Android Development] ScratMan38:
Hi, been a while I didn't update my Pixel C.

I tried to install the lineage-20.0-20230331-UNOFFICIAL-dragonshield.zip file on my Pixel C, but it says my bootloader doesn't match (I have 7900.126.0 and it requests the Google_Smaug.7900.139.0).

I could install this one : lineage-20.0-20230319-UNOFFICIAL-dragon.zip instead.

Is there an updated bootloader somewhere I should install first ? are the dragonshield and dragon different devices ?
[Pixel C Android Development] tabormeister:
I'm getting another cheap one to send to the guy for science, the displays on the ones I sent the guy are both half dead unfortunately. @michie has a new kernel for us to try so we'll see what happens 😁
[Pixel C Android Development] michie:
Hey guys, I will

Dragonshield is based on the shield firmware and 4.9 kernel. There are things not working like audio, sensors, ...

It's a test build.
[Pixel C Android Development] michie:
This flag will just replace the lineage launcher with the lineage go launcher for phones. I will check the behaviour if I include just the memory optimizations that the Go phones use.
[Pixel C Android Development] primaleph:
Here's what I've done to mitigate these issues:

1. (requires root) Install FDE.AI. The latest version is fully compatible with Android 13. I'm using the standalone app version, not the Magisk module. Let it run all the standard optimizations when prompted, and set the AI to advanced mode. You can use Niko's GPU Tweaks, but I'm not sure the network tweaks are a good idea.

2. Use Iceraven instead of Firefox.

3. Use Midori instead of Chrome. Kiwi Browser is also good, if there are desktop Firefox extensions that you want / need on your tablet.

4. Use an app like 3C All-in-One Toolbox to disable all startup apps that you don't use regularly, then reboot. Doing this freed up almost half a gigabyte of RAM for me. You may have to do this again after installing app updates, so i suggest checking your startup apps monthly.

not perfect solutions, but they have eliminated random app reboots in every case for me except resource-heavy games. The Pixel C is smooth and snappy nearly all the time now. And even when it isn't - like in my benchmark game, Botworld Adventure - the slowdowns are shorter and much less frequent than before.
[Pixel C Android Development] EnginEAR:
Does this need to be flashed together with the recovery that has the same upload date?
[Pixel C Android Development] krakard:
Hey guys I have been following this tutorial https://www.androidauthority.com/lineageos-install-guide-893303/

I am stuck on flashing the rom as my Pixel-C only wants to boot in recovery, the recovery is lineage Version 20.0, the one from the files of this thread.

It constantly reboots to recovery and I can't access the device storage.

So I am sideloading

./adb sideload lineage-20.0-20230331-UNOFFICIAL-dragonshield.zip

it gets stuck at 47% shortly but it returns success (0) and in the terminal I get Total xfer: 1.00x

But after I reboot, I only get recovery.

Am I following the wrong guide or not understanding what I am doing ?

Could you guys help ?
[Pixel C Android Development] krakard:
UPDATE : I reinstalled the stock OS, I just don't know where to go from there.

I had managed to install this ROM with TWRP but then the keyboard did not work. Any idea which steps I should take ? I have the stock OS running now, USB debugging enabled.

In the stock recovery it says No command. What should I do ?

fastboot flash recovery recovery.img ?

Please someone could explain simply, I spent hours really I am trying hard to install it cleanly I just do not understand what to do.

Should I do

fastboot boot recovery.img

fastboot boot boot.img

go to recovery and ./adb sideload lineage-20.0-20230331-UNOFFICIAL-dragonshield.zip ?

I am missing something ?

And yes I did unlock bootloader and enable USB debugging.

UPDATE 2 :

So in fastboot I just did step 1) (the one I wrote just above)

then nothing seems to happen but adb gets detected on my terminal

adb devices

List of devices attached

6106000349 unauthorized

but the display of my tablet is dark. should i not just flash the recovery instead ?

Like doing

fastboot flash recovery recovery.img ?

And then proceed from there ? But that is what I did with no success before :/

Or maybe the mistake I did was from the fact that I also did

fastboot flash boot recovery.img ?

Trying hard to understand.

UPDATE 3

I get This package supports bootloader(s) : Google_Smaug.7900.139.0, Google_Smaug.7132.226.0; this device has bootloader Google_Smaug.7900.126.0.

ERROR : recovery : Error in /sideload/package.zip (status 1)
[Pixel C Android Development] tabormeister:
Wow, you've done a lot. Start from stock, don't get the dragonshield items, audio is not working yet. Use the ROM in the lineage folder.

Follow the fastboot tutorial for TWRP for Dragon at TWRP.me

Boot into TWRP, factory reset, flash lineage and then Gapps if you want. Do another factory reset just for kicks. Adb sideload is fine, it will often stop at 47 but return code 0 means it worked.

Reboot to system