Skip to content

Instantly share code, notes, and snippets.

View Fire7ly's full-sized avatar

FireFly Fire7ly

  • Student
  • New Delhi
View GitHub Profile
#!/bin/bash
# Author : FIRE7LY
# Telegram : @fire7ly
# A script to enable ssh after first configuration of Ubport ...
# This script made in hope that it will usefull to automate the ssh configuration processes
# To avoide all the tings doing menually it will saye time and increase speed of debigging tihings...
# All the conmmand and instructions are taken from official ubport documentation (https://docs.ubports.com/en/latest/userguide/advanceduse/ssh.html) ...
# So All credit Goies to them..
###################################################################################################################################################
@Fire7ly
Fire7ly / FlashTools-Installer.sh
Last active May 16, 2023 00:14 — forked from nullrndtx/FlashTools-Installer.sh
SP Flash Tool on Linux? Why not? -)
#!/bin/bash
# check root user
if [ "$(id -u)" != 0 ]; then
echo "ERROR! Run this script with root user!"
exit 1
fi
#var
tool="SPflashtools"
@Fire7ly
Fire7ly / GSIxFlasher.sh
Created July 29, 2022 04:34
A Simple Bash Script Which Flash GSI On Realme Devices It Working Fine With My Realme C3 Device For Now...
#!/bin/bash
# A Bash Script Which Is Used To Flash GSIS On Realme Devices, It Can Flash Gsi On Dynamic Partition Using Fastboot
# Summary About Working Under The Hood!!
# 1. Reboot Into Bootloader From Any State.
# EX :
# - Adb ( device or recovery mode both supported ...)
# - Fastboot ( If It Detect Fastbootd Mode, It Will Reboot Your Device Back Into Bootloader Mode To Avoide Damage ...)
# 2. Flash vbmeta Image To Disable Verification And Verity.
# 3. Reboot Into Fastbootd To Get Partition Stracture Of Dynamic Images And Erase System Image As Well As Purge Useless Images { Those Are Associated With Rui And No Need To Boot A GSI System Imge }
@Fire7ly
Fire7ly / findpkg.sh
Last active July 3, 2022 17:12
A Package Manager Script, To find system, 3rd Party, Enable, Disable Packages With Their Installed Directory.
#!/usr/bin/sh
# A Package Finder Script Made By @fire7ly With The Help Of Google Adb Binary Tool, Part Of Android Sdk Tools And The Help Of Inbuild Android Package Manager
# System Which Allow Us to Know Package Name And Directory Where Is App Installed On It, Also Tell Us About Enable Packages, Disable Packages, Third Party Packages
# And Directory Of All Of Them So, This Is Script Made For Automation Of Those Task In Simple Way Without Hassale Of Commands,
# Just Pass An Argument With It And It Will Do That Work For You As Well As Save That Output In A Text File For Future Usage, If You Like To Check Them Later, See Yaa!!
#Env Ver
ver=V1.0
@Fire7ly
Fire7ly / youtube-to-bootanimation.sh
Last active November 12, 2023 19:58 — forked from jaredrummler/youtube-to-bootanimation.sh
Create an Android bootanimation from a Any link or local video file
#!/bin/bash
#
# youtube-to-bootanimation.sh - Download & create Android boot animations from YouTube videos
#
# author: Jared Rummler <jared@jrummyapps.com>
#
# define veriable where the bootanimation will be created
tmp=~/Desktop/temp
out=~/Desktop/temp/temp.mp4