Skip to main content

Posts

How I Ditched MIUI & Flashed Resurrection Remix

In September 2018 my cheap redmi 4a(3, 32gb) became 1 year old, so device warranty is now void, on 3rd February 2019 i first time tried to root my device by flashing twrp recovery via fastboot & adb, After that i flashed supersu, and tried to power on, but unfortunately i forgot to flash lazyflasher , Now, I thought i may stick to miui cause why not i will have root access but then my device is stuck on mi logo(bootloop), I have already downloaded RR(Resurrection Remix) in my phone, After 15 minutes of no response from miui three dots, i powered off the device by holding power button for 15 seconds and then booted to recovery mode(by holding volume up & power button), and then I flashed RR, And after that i flashed magisk zip which i forgot to download on my phone, so what i did is downloaded the magisk in my windows machine, copied zip file to pendrive and plugged in that pendrive in my phone via usbotg adapter, mounted it using twrp copied the files to internal storage and

configuring cava in termux

Install necessary pkgs: pkg install ncmpcpp mpd pulseaudio cava first run ncmpcpp mpd pulseaudio --start so they generate can their config files. [Press q to quit ncmpcpp] Starting with configuring mpd config for mpd is located in $PREFIX/etc/mpd.conf open the in any text editor and uncomment lines these lines (262, 263, 264 and 267) to enable the pulse audio output. After that uncomment these lines to enable visualization in ncmpcpp (288-294) : and Now restart mpd just type mpd And press y if it prompts you to restart And then run ncmpcpp and press 7 to check outputs and enable both my pulse output & ncmpcpp visualizer When you press 8 in ncmpcpp you can see visualization of current track but this not what we need , we want cava to visualize music not ncmpcpp so leave it running & open a new session and type cava and hit enter Now wait a second for cava to adjust

Install exiftool in termux

First download the exiftool from here  : https://www.sno.phy.queensu.ca/~phil/exiftool/index.html and Execute the following commands: gzip -dc Image-ExifTool-11.10.tar.gz | tar -xf - mv Image-ExifTool-11.10 $HOME/ cd $HOME/Image-ExifTool-11.10/ perl Makefile.PL make install For help on exiftool $ man exiftool or visit this https://www.sno.phy.queensu.ca/~phil/exiftool/index.html

How to install emacs in android [no root] [Termux]

First Install the termux app from google playstore or from fdroid.Also install hackers keyboard app for better control over termux (Optional) After installing the app run the following commands below: $ termux-setup-storage [This command gives you prompt for asking permission to read and write files on your device.Make sure you allow that.] $ pkg up [this command updates repositories of termux & upgrades the installed packages.] $ pkg install emacs [This will install emacs] (Note: this is the command line version of emacs.But it supports mouse interaction and touch.) Now to run emacs just type: $ emacs [image of emacs running in termux | Android (upper) with Hacker's keyboard ( lower )]

How to Install tmux in termux

_________________________________________ What is tmux? (for Those who didn't know about tmux) tmux is a terminal multiplexer: it enables a number of terminals to be created, accessed,and controlled from a single screen.tmux may be detached from a screen and continue running in the background, then later reattached. To learn more about tmux type : man tmux _________________________________________ First of all Install the termux app from google playstore or from fdroid.Also install hackers keyboard app for better control over termux (Optional) After installing the app run the following commands below: $ pkg up $ pkg install tmux to run tmux just type this command: $ tmux 

Jupyter notebook in Android | Termux [No Root]

I'm assuming that you have termux all setup and running.Now we are going to install python python-dev curl.Now execute the following command to install all of them : apt install python python-dev curl After this download the script using this command: curl-LO  https://raw.githubusercontent.com/T4P4N/Bash-Scripts/master/termux-jupyter And now let's run this tiny script Type: bash termux-jupyter Now wait until it completes. After this type the following command to launch the jupyter notebook: jupyter notebook And than copy the url and paste it on any web browser. I hope you liked my work! Comment if this post is helpful for you And share this to your programmer friends.

How to install & Use spaghetti Framework

Step 1 >first make sure that your all packages are  updated(if not then update using this command $ apt update && apt upgrade ) Step 2 >after that we need to install python2 in termux use this command $ apt-get install python2. Step 3 >And we also need to install git in termux for installing git use this command $ apt-get install git. Step 4 >after installing git we are going to clone the repository use this command $ git clone https://github.com/m4ll0k/Spaghetti.git than we are going to change the directory   to spaghetti use this command $ cd Spaghetti Step 5 >after that we need to install all the requirments for spaghetti use this command $ pip2 install -r requirements.txt Step 6 >Finally,we are going to launch the spaghetti framework use this command $ python2 spaghetti.py Step 7 >How to use Spaghetti framework e.g $ python2 spaghetti.py --url http ://example.com --scan 0-5 0:      Full Scan 1:      Broken Auth. (Admin Pane