- Install the required packages
$ apt install openssh rsync - Add a password for the termux user
$ passwd
| #/bin/bash | |
| BASE=$(pwd) | |
| cd $BASE/.repo/manifests; | |
| git fetch "https://github.com/LineageOS/android" refs/changes/67/250967/2 && git cherry-pick FETCH_HEAD; | |
| cd $BASE; | |
| repo sync --force-sync | |
| cd $BASE/build/make; | |
| git fetch "https://github.com/LineageOS/android_build" refs/changes/68/250968/1 && git cherry-pick FETCH_HEAD; |
| #!/bin/bash | |
| BASE=$(pwd) | |
| cd $BASE/.repo/manifests; | |
| git fetch https://github.com/LineageOS/android refs/changes/45/248345/1 && git cherry-pick FETCH_HEAD; | |
| cd $BASE; | |
| repo sync --force-sync; | |
| cd $BASE/external/wpa_supplicant_8; | |
| git fetch https://github.com/LineageOS/android_external_wpa_supplicant_8 refs/changes/64/247664/1 && git cherry-pick FETCH_HEAD; |
| #!/bin/sh | |
| WORKDIR=$(pwd) | |
| cd $WORKDIR/external/libmpeg2; | |
| git fetch https://github.com/LineageOS/android_external_libmpeg2 refs/changes/87/245487/1 && git cherry-pick FETCH_HEAD; | |
| cd $WORKDIR/external/tremolo; | |
| git fetch https://github.com/LineageOS/android_external_tremolo refs/changes/93/245493/1 && git cherry-pick FETCH_HEAD; | |
| cd $WORKDIR/system/bt; |
| msgs = document.getElementsByClassName("DMDeleteMessageAction js-tooltip"); | |
| button = document.getElementsByClassName("DMDeleteMessage-confirm EdgeButton EdgeButton--danger js-initial-focus")[0]; | |
| for (i = 0; i < msgs.length; i++) { | |
| msgs[i].click(); | |
| button.click(); | |
| } |
| #!/bin/sh | |
| BASE=$(pwd); | |
| cd $BASE/system/bt; | |
| git fetch https://github.com/LineageOS/android_system_bt refs/changes/54/233854/4 && git cherry-pick FETCH_HEAD; | |
| git fetch https://github.com/LineageOS/android_system_bt refs/changes/55/233855/2 && git cherry-pick FETCH_HEAD; | |
| git fetch https://github.com/LineageOS/android_system_bt refs/changes/02/233902/1 && git cherry-pick FETCH_HEAD; | |
| cd $BASE/external/sonivox; |
| #!/bin/bash | |
| BASE=$(pwd) | |
| cd $BASE/.repo/manifests; | |
| git fetch https://github.com/LineageOS/android refs/changes/80/230980/2 && git cherry-pick FETCH_HEAD; | |
| git fetch https://github.com/LineageOS/android refs/changes/81/230981/4 && git cherry-pick FETCH_HEAD; | |
| cd $BASE; | |
| repo sync --force-sync; | |
| cd $BASE/build; |
| // ==UserScript== | |
| // @name Hacker buttons | |
| // @version 1 | |
| // @include *niu.moe* | |
| // @grant none | |
| // ==/UserScript== | |
| setTimeout(function() { | |
| hackerbutton = document.createElement("img"); | |
| hackerbutton.src = "https://cdn.niu.moe/custom_emojis/images/000/004/734/original/934bc263da8d1735.png"; |
| #!/bin/bash | |
| BASE=$(pwd) | |
| cd $BASE/packages/apps/Messaging; | |
| git fetch https://github.com/LineageOS/android_packages_apps_Messaging refs/changes/36/222636/2 && git cherry-pick FETCH_HEAD; | |
| git fetch https://github.com/LineageOS/android_packages_apps_Messaging refs/changes/36/222636/2 && git cherry-pick FETCH_HEAD; | |
| cd $BASE/system/bt; | |
| git fetch https://github.com/LineageOS/android_system_bt refs/changes/28/222628/2 && git cherry-pick FETCH_HEAD; |
| // ==UserScript== | |
| // @name New Reddit --> Old Reddit | |
| // @include *www.reddit.com* | |
| // @version 1 | |
| // @grant none | |
| // ==/UserScript== | |
| var url = window.location.toString(); | |
| window.location = url.replace('www.reddit.com', 'old.reddit.com'); |