Skip to content

Instantly share code, notes, and snippets.

View haridhayal11's full-sized avatar
📚
I may be slow to respond.

Haridhayal haridhayal11

📚
I may be slow to respond.
  • 22:27 (UTC +01:00)
View GitHub Profile
#!/bin/bash
echo "Backing up default mirrorlist"
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
echo "Finding Fast mirrors"
reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist
sudo pacman -Sy curl
echo "Fetching Secondary Script"
#!/bin/bash
timedatectl set-ntp true
read -p " Timezone Selection
1. List All Timezones
2. Enter Timezone " TZCHECK
case $TZCHECK in
[1]* ) timedatectl list-timezones;;
@haridhayal11
haridhayal11 / exynos2100_gsi.md
Last active May 26, 2024 07:19
Guide for Installing GSI on Exynos2100 devices

Instructions for installing AOSP GSI on exynos2100 devices

Your warranty is now 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.

#Install New apps
$apps = @(
@{name = "Telegram.TelegramDesktop" },
@{name = "Waterfox.Waterfox" },
@{name = "PrestonN.FreeTube" },
@{name = "SyncTrayzor.SyncTrayzor" },
@{name = "eloston.ungoogled-chromium" },
@{name = "BraveSoftware.BraveBrowser" },
@{name = "Valve.Steam" },
@{name = "Element.Element" },
  1. Open Powershell/Windows Terminal as Admin.
  2. Paste the following
iex ((New-Object System.Net.WebClient).DownloadString('https://gist.githubusercontent.com/haridhayal11/32828f881b94eb87a466c84e00c1a6e8/raw/24263f34523fcc1fddfbf69e2f1a4725c1f05aeb/adb_system_windows.ps1'))
reddit\.com.*
old.reddit.com
www.reddit.com
reddit.com
redditstatic.com
redditmedia.com
redd.it
@haridhayal11
haridhayal11 / exynos2100_gcam_guide.md
Last active April 2, 2024 01:36
Google Camera for Galaxy S21 Series

Google Camera for Galaxy S21 Series

  • Tested on
    • OneUI 4.x/5.x based Stock/Custom ROMs.
    • GSI with OneUI 4.x/5.x stock firmware.
    • Front Camera Does not work.

S21, S21 FE & S21 Plus

  • 0.5x, 1x and 3x lenses work.

Instructions