This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# this script is not written by me. Just using it and sharing it here. | |
# export DBUS_SESSION_BUS_ADDRESS environment variable useful when the script is set as a cron job | |
#PID=$(pgrep gnome-session) | |
#export DBUS_SESSION_BUS_ADDRESS=$(grep -z DBUS_SESSION_BUS_ADDRESS /proc/$PID/environ|cut -d= -f2-) | |
# $bing is needed to form the fully qualified URL for |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"status": "ok", | |
"date": "2016-12-30", | |
"commands": "", | |
"gpg": false, | |
"devices": [{ | |
"files": [{ | |
"url": "https://qc3.androidfilehost.com/dl/xnpoeOTGwtloxLmGLzWdCg/1490340719/529152257862712557/multirom-20170321-v33b-UNOFFICIAL-griffin.zip", | |
"version": "33b", | |
"type": "multirom", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
proptxt="$1" | |
find="$2" | |
while read -r line | |
do | |
[[ $line = \#* ]] && continue | |
[ -z "$line" ] && continue | |
if [[ $line = '-'* ]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
proptxt="$1" | |
dirsrc="$2" | |
dirdis="$3" | |
while read -r line | |
do | |
[[ $line = \#* ]] && continue | |
[ -z "$line" ] && continue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/sh | |
proptxt="$1" | |
URL="$2" | |
dirdis="$3" | |
while read -r line | |
do | |
[[ $line = \#* ]] && continue | |
[ -z "$line" ] && continue | |
if [[ $line = '-'* ]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
?lib64/android.hardware.wifi@1.0.so | |
?lib/android.hardware.nfc@1.0.so | |
?lib64/android.hardware.nfc@1.0.so | |
?lib64/libtinyalsa.so | |
?lib/libtinyalsa.so | |
?lib64/android.hardware.radio@1.0.so | |
?lib/android.hardware.radio@1.0.so | |
?lib64/libcap.so | |
?lib/libcap.so | |
?lib64/android.hardware.biometrics.fingerprint@2.1.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* * Copyright (C) 2008 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software | |
* distributed under the License is distributed on an "AS IS" BASIS, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2017 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/xml" | |
"flag" | |
"fmt" | |
"io" | |
"io/ioutil" | |
"os" | |
"strings" |
OlderNewer