Skip to content

Instantly share code, notes, and snippets.

View sounddrill31's full-sized avatar

SoundDrill31 sounddrill31

  • Bengaluru
  • 21:15 (UTC +05:30)
View GitHub Profile
#!/bin/bash
export ANDROID_MAJOR_VERSION=s && export PLATFORM_VERSION=12
sudo apt-get update
sudo apt-get full-upgrade -y
sudo apt-get install -y bc bison build-essential ccache curl flex g++-multilib gcc-multilib git git-lfs gnupg gperf imagemagick lib32readline-dev lib32z1-dev libelf-dev liblz4-tool libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev --install-recommends
sudo apt-get install -y git zip unzip cpio
# Fetch Latest kernel in current directory
# Credit to NopeNopeGuy for commands
# This assumes corrent directory has some linux kernel synced already
#!/bin/bash
# Make and Prepare Workspace
mkdir -p forks_workspace
cd forks_workspace
rm -rf *
# Replace this with the URL of the repository you want to check
REPO_URL="sounddrill31/crave_aosp_builder"
#!/bin/bash
if [ "$#" -ne 2 ]; then
echo "Usage: $0 <repository_url> <branch_name>"
exit 1
fi
repo_url="$1"
branch_name="$2"
#!/bin/bash
RELEASETAG=$1
DEVICE=$2
REPONAME=$3
RELEASETITLE=$4
# Check if gh is installed
if ! command -v gh &> /dev/null; then
echo "gh could not be found. Installing gh..."
@sounddrill31
sounddrill31 / lineage20src
Created March 22, 2024 15:59 — forked from filiprrs/lineage20src
LineageOS 20 sources for compiling
Hello A5 And A7 2017 community. :)
This makes the sources I was using to create LineageOS builds for our devices free, open and available for everyone.
Feel free to use this to create personal builds or update the community with newer security patches or small improvements.
Feel free to also use this as a base for creating other third party roms that are not necessarily LineageOS.
However please note that I have spent a lot of my personal time on this project.
And so did numerous other people from LineageOS team and Samsung exynos developer community.
I would only like to kindly request to give proper credits where due.
Thanks.
a5y17lte device tree: https://github.com/LineageOS/android_device_samsung_a5y17lte branch lineage-18.1
~ $ ./start-ubuntu.sh
root@localhost:~# ./crave -nv devspace
Traceback (most recent call last):
File "psutil/_pslinux.py", line 285, in <module>
File "psutil/_common.py", line 432, in wrapper
File "<string>", line 3, in raise_from
File "psutil/_common.py", line 430, in wrapper
File "psutil/_pslinux.py", line 268, in set_scputimes_ntuple
File "psutil/_common.py", line 765, in open_binary
PermissionError: [Errno 13] Permission denied: '/proc/stat'
root@localhost:~# ls
crave crave.conf
root@localhost:~# ./crave -v devspace
Traceback (most recent call last):
File "psutil/_pslinux.py", line 285, in <module>
File "psutil/_common.py", line 432, in wrapper
File "<string>", line 3, in raise_from
File "psutil/_common.py", line 430, in wrapper
File "psutil/_pslinux.py", line 268, in set_scputimes_ntuple
File "psutil/_common.py", line 765, in open_binary
<!DOCTYPE html>
<!-- Name: Xonotic Server Dashboard -->
<!-- Description: Generates a pretty dashboard showing server stats -->
<!-- Author: jayrfs: github.com/jayrfs/ -->
<!-- Link: https://gist.github.com/jayrfs/151af001451ecd38cb4c377def118dfe -->
<html>
<head>
<title>Server Status Dashboard</title>
*******,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
************,,,,,,,,,,,,,.. ........ ...,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
***********,*,,,,,,,,,. ..... ,,...... .... .,,,,,,,,,,,,,,,,,,,,,,,,,,
************,,*,,,...... .......,,..... . . . ,,,,,,,,,,,,,,,,,,,,,,,
***************. .. . ..,.. ....,,,,,....... .. . ...,,,,,,,,,,,,,,,,,,,,,
*************,..........,.,...,,,*****,,,,,,,,,,...,,,,,*,..,,,,,,,,,,,,,,,,,,,,
************, ... .....,**********,,,,,,,,,.,,,,******..,,,,,,,,,,,,,,,,,,
************ ..............,,,,**********,,,,,,,..,,,,*,*****..,,,,,,,,,,,,,,,,,
***********,.. .. .......,,,,,,,******,,,,,,,,..,...,,,,**,*(/.,,,,,,,,,,,,,,,,,
***********... . ..........,**********,,.......,.,.,,,*,,,*/*//.,,,,,,,,,,,,,,,,