Skip to content

Instantly share code, notes, and snippets.

View lucasmz-dev's full-sized avatar
💜

Lucas lucasmz-dev

💜
  • 2804::/16
  • 03:07 (UTC -03:00)
View GitHub Profile
@lucasmz-dev
lucasmz-dev / mull-specific-patches.md
Last active October 3, 2024 01:49
Flags changed by Mull

Mull uses arkenfox as a base for the modifications done for the flags. This list should not include anything arkenfox; unless it has been commented out, uncommented, added, etc.

This list is made by analyzing the source files and only including anything marked as changed with MULL or BRACE.

Last updated: 2024/10/02 22:49 (-3 UTC) (9797ce5315b1d9dc37bb499236d8b4a49692dc62)

Arkenfox:

user_pref("network.dns.preferIPv6", true); // Fix IPv6 preference when using DoH
user_pref("gfx.webrender.all", true); // perfromance flag whatvs
/* override recipe: enable session restore ***/
user_pref("browser.startup.page", 3); // 0102
// user_pref("browser.privatebrowsing.autostart", false); // 0110 required if you had it set as true
// user_pref("browser.sessionstore.privacy_level", 0); // 1003 optional to restore cookies/formdata
//user_pref("privacy.clearOnShutdown.history", false); // 2811 FF127 or lower
user_pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", false); // 2811 FF128+
@lucasmz-dev
lucasmz-dev / calyxos-flasher-troubleshooting.md
Created September 4, 2024 03:16
CalyxOS flasher common troubleshooting steps

Troubleshooting issues with CalyxOS' flasher (command line)

This guide is meant to try and help with common issues when using the CalyxOS flasher. First of all, we will try to get your environment right. Be sure to follow the official instructions for your device, this is a different resource.

The flasher and docs usually recommend enabling USB debugging, in this case we will not, but you can anyway. USB debugging is used only for rebooting the device into bootloader/fastboot mode, instead of that, we will do this manually, as this step can cause issues.

Getting the device in bootloader/fastboot mode

After the preparation steps for your device, such as enabling OEM Unlocking, we will shut down the device and get into bootloader/fastboot mode.

@lucasmz-dev
lucasmz-dev / librewolf.overrides.cfg
Created August 25, 2024 22:12
My LibreWolf overrides
// Format: pref("", true)
// TLS:
// Enable Kyber
pref("security.tls.enable_kyber", true);
pref("network.http.http3.enable_kyber", true);
// Fix CRLite
pref("services.settings.server", "https://firefox.settings.services.mozilla.com/v1"); // CRLite needs this enabled, also fixes language downloads
pref("security.pki.crlite_mode", 2); // Prefer CRLite over OCSP
@lucasmz-dev
lucasmz-dev / seedvault-syncthing.md
Last active July 14, 2024 02:57
Seedvault with Syncthing

Seedvault + Syncthing = ⁉️

I just tested using Seedvault with Syncthing and to me it feels like a great setup. I still need to configure it for all time use, but so far, first test seems like everything works fine. It allows me to use a connected service where my data isn't just one place, without needing physical things like a USB flash drive, etc, but without needing to pay for the cloud, and dealing with bad speeds, especially with something that can be as demanding as device backups.

Downsides

  • Your device essentially has half the storage, since you'll need to keep your backups inside your phone, so there's redundant data there.
  • This is not a fully tested setup, and you may lose data with it.
@lucasmz-dev
lucasmz-dev / fedora_android-tools-udev-rules.md
Last active September 30, 2024 06:27
Installing android-tools in Fedora

How to properly install android-tools in Fedora

Currently, it seems as if Fedora doesn't install udev-rules, to get this working, I've had to manually install them from a community project. I'm not very knowledgable in Linux, these are just the steps I had to do to get things working that I'd like to document.

Install android-tools

Install android-tools from DNF.

sudo dnf install android-tools
@lucasmz-dev
lucasmz-dev / calyxos_motog3-52s_return-to-stock.md
Last active November 16, 2024 23:06
How to return back to stock software in Motorola devices on Linux

I am not responsible for any type of damage when you follow this tutorial. You have been warned.

This tutorial is meant for the devices: Moto G32, G42, and G52.

Device codenames

It is important to note that these devices are usually referenced using codenames in multiple places, it is important to know which one is yours.

  • G32: devon
  • G42: hawao
@lucasmz-dev
lucasmz-dev / 8907XX-SW-MAIN-XX6500SS5300S615-VS.367_USB.md
Last active June 1, 2024 00:28
Atualização TCL S6500 32" V367 em protocolo BitTorrent (em forma de torrent) para maior velocidade e arquivamento
@lucasmz-dev
lucasmz-dev / fixing_bluetooth_clipping.md
Last active December 17, 2021 19:07
Fixing Bluetooth earphones audio clipping on TVs (and other devices, phones, tablets...)

You might have bought Bluetooth earphones, and while they might work on your modern phone, they seem to not work properly on your TV... or older phone... or any other Bluetooth transmitting device!

I bought Redmi Airdots 1 year ago, and while it would work just fine on my phone, it would have clipping with my TV, so I wasn't able to watch VSauce on it.

A while after, I would notice not-so-modern phones would have the same issue.

Cause