- CC027 (Realme 1)
- banana (Realme U1)
- DD045/DD090/DD093/DD095/DD141/DD145 (Realme 2)
- ZAL1810 (Realme 3/3i)
- UNKNOWN (Realme 5)
- UNKNOWN (Realme 5i)
- UNKNOWN (Realme 5s)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright 2026 Kyriakos Georgiopoulos | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| if [ -z $(command -v wslvar) ]; then printf "%s\n" "Install package wslu please" ; sleep 2; exit 0; fi | |
| username=$(wslvar USERNAME | awk '{ print tolower($0) }' ) | |
| mkdir -p --parents "/mnt/c/users/$username/.ubuntu/" | |
| cd "/mnt/c/users/$username/.ubuntu" | |
| if [ ! -f /etc/apt/sources.list.d/microsoft-prod.list ]; then | |
| sudo apt-key adv --fetch-keys https://packages.microsoft.com/keys/microsoft.asc | |
| sudo apt update | |
| fi | |
| if [ ! -f /etc/apt/sources.list.d/wsl-transdebian.list ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Create and return a new [Painter] that wraps [painter] with its [alpha], [colorFilter], or [onDraw] overwritten. | |
| */ | |
| fun forwardingPainter( | |
| painter: Painter, | |
| alpha: Float = DefaultAlpha, | |
| colorFilter: ColorFilter? = null, | |
| onDraw: DrawScope.(ForwardingDrawInfo) -> Unit = DefaultOnDraw, | |
| ): Painter = ForwardingPainter(painter, alpha, colorFilter, onDraw) |
All you need is an Android buildsystem (LineageOS is recommended)
NOTE: For Lineage 21 and newer, different steps are required.
- Export your infos (replace examples with your infos)
subject='/C=US/ST=California/L=Mountain View/O=Android/OU=Android/CN=Android/emailAddress=android@android.com'
C: Country shortform
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Workarounds for building Q on 8GB RAM environment: | |
| 1. At the start of the build: | |
| [ 99% 138/139] /mnt/ssd/aosip/out/soong/.bootstrap/bin/soong_build /mnt/ssd/aosip/out/soong/build.ninja | |
| This used to take around 30mins, after enabling zram now it takes around 30secs (thanks to @kdrag0n for the zram idea) which is on par with what happens in 16GB RAM building environments | |
| sudo apt install zram-config for installing zram-config package | |
| sudo nano /etc/fstab and add a # in front of the swap disk if you have one and then reboot | |
| After booting cat /proc/swaps to check if zram is enabled or not |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # | |
| # Nokia/Alcatel-Lucent router backup configuration tool | |
| # | |
| # Features: | |
| # - Unpack/repack .cfg files generated from the backup and restore functionnality | |
| # in order to modify the full router configuration | |
| # - Decrypt/encrypt the passwords/secret values present in the configuration |