Simple AdAway para Android

Publicado por André Gonçalo (última atualização em 11/06/2019)

[ Hits: 4.004 ]

Homepage: http://www.snwmds.org

Download SimpleAdAway.sh

Download SimpleAdAway_v0.2.sh (versão 2)

Download SimpleAdAway_v0.3.sh (versão 3)

Download SimpleAdAway_v0.4.sh (versão 4)




Um script simples que bloqueia anúncios e rastreadores online no Android. Isto é possível utilizando o ficheiro de hosts do sistema, geralmente acessível em /system/etc/hosts.

Veja o código fonte no Github para obter mais informações: https://github.com/SnwMds/SimpleAdAway

  



Versões atualizadas deste script

Versão 2 - Enviado por André Gonçalo em 06/03/2019

Changelog: • v0.2

- DNS: o Simple AdAway agora filtra as requisições de DNS usando o serviço de DNS do AdGuard.
- FILTROS: número total de filtros disponíveis foi reduzido para 10.

Alterações mais detalhadas estão disponíveis em: https://github.com/SnwMds/SimpleAdAway/commits

Download SimpleAdAway_v0.2.sh


Versão 3 - Enviado por André Gonçalo em 12/04/2019

Changelog: Adicionei alguns parâmetros extras no script. Sugiro dar uma lida no README.md do projeto para obter mais informações.

https://github.com/SnwMds/SimpleAdAway/blob/master/README-PT.md#simple-adaway-para-android

Download SimpleAdAway_v0.3.sh


Versão 4 - Enviado por André Gonçalo em 09/06/2019

Changelog: * O script foi totalmente reescrito.

* Adicionei um menu interativo com algumas opções que permitem que o usuário execute operações específicas.

* Agora você pode usar o Simple AdAway como um "DNS Changer". Escolha entre 15 serviços de DNS pré disponíveis ou adicione um de sua escolha.

* Agora o usuário pode adicionar suas próprias regras de bloqueio/desbloqueio de hosts.

* O usuário agora também pode adicionar fontes de hosts personalizadas para download.

* O Simple AdAway não é mais um módulo específico do Magisk. Agora você pode realizar sua instalação em qualquer dispositivo Android.

Outras informações podem ser encontradas no README do projeto:
http://github.com/SnwMds/SimpleAdAway/blob/master/README.md

Download SimpleAdAway_v0.4.sh


Esconder código-fonte

#!/system/bin/sh

if [ "$1" = "-r" ]
then
echo "- Restoring hosts file..."
rm -f "/system/etc/hosts"
echo "127.0.0.1 localhost" >> "/system/etc/hosts"
echo "::1localhost" >> "/system/etc/hosts"

rm -f "/sbin/.magisk/img/hosts/system/etc/hosts"
echo "127.0.0.1 localhost" >> "/sbin/.magisk/img/hosts/system/etc/hosts"
echo "::1localhost" >> "/sbin/.magisk/img/hosts/system/etc/hosts"
echo "- Success!"
exit 0
fi

if [ "$1" = "-h" ]
then
clear
echo "How to use: sad -r -v -s -a"
echo
echo " OPTIONS"
echo
echo "-a [ALL] | Use all available filters (not recommended)"
echo "-h [HELP] | Show this help message"
echo "-r [REMOVE] | Removes the content blocker and restores the hosts file"
echo "-s [SKIP] | Skips root, busybox and internet connection checks"
echo "-v [VERSION] | Shows information about the author and version of Simple AdAway. "
exit 0
else
wait
fi

if [ "$1" = "-v" ]
then
echo "- Simple AdAway v0.1 | by SnwMds"
exit 0
else
wait
fi

function check(){ 
echo "- Verifying root access..."
ls /data 2>&- 1>&- || { echo "* Sorry, I could not get root access!";exit 1; }
echo "- Success!"

echo "- Verifying busybox support..."
busybox 2>&- 1>&- || { echo "* Sorry, I could not get busybox access!";exit 1; }
echo "- Success!"

echo "- Verifying internet access.."
if ping -c 1 "google.com" 2>&- 1>&-
then
echo "- Success!"
else
echo "* Sorry, I could not get internet access!" && exit 1
fi
}


function all(){ 

echo "- Downloading [ Generic | Hosts List ]..."
if wget --no-check-certificate "gist.githubusercontent.com/consti/8022703/raw/47e20864cae30c8f7024444de353b4f03ee7c93d/hosts" -O "/sdcard/SimpleAdAway/source2.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ Generic | Hosts List ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ Hosts File | Ad Servers ]..."
if wget --no-check-certificate "hosts-file.net/ad_servers.txt" -O "/sdcard/SimpleAdAway/source3.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ Hosts File | Ad Servers ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ Generic | Hosts List [2] ]..."
if wget --no-check-certificate "hosts.ubuntu101.co.za/hosts" -O "/sdcard/SimpleAdAway/source4.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ Generic | Hosts List [2] ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ Yoyo | Hosts List ]..."
if wget --no-check-certificate "pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext" -O "/sdcard/SimpleAdAway/source5.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ Yoyo | Hosts List ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ FadeMind | Ad Servers ]..."
if wget --no-check-certificate "raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts" -O "/sdcard/SimpleAdAway/source6.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ FadeMind | Ad Servers ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ FadeMind | Tracking Servers ]..."
if wget --no-check-certificate "raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts" -O "/sdcard/SimpleAdAway/source7.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ FadeMind | Tracking Servers ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ FadeMind | Dead URLs ]..."
if wget --no-check-certificate "raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts" -O "/sdcard/SimpleAdAway/source8.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ FadeMind | Dead URLs ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ FadeMind |alware Servers ]..."
if wget --no-check-certificate "raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts" -O "/sdcard/SimpleAdAway/source9.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ FadeMind |alwares Servers ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ FadeMind | Spam Servers ]..."
if wget --no-check-certificate "raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts" -O "/sdcard/SimpleAdAway/source10.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ FadeMind | Spam Servers ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ Yhonay | Pop Ad Servers]..."
if wget --no-check-certificate "raw.githubusercontent.com/Yhonay/antipopads/master/hosts" -O "/sdcard/SimpleAdAway/source11.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ Yhonay | Pop Ad Servers ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ ZeroDot1 | CoinBlocker ]..."
if wget --no-check-certificate "gitlab.com/ZeroDot1/CoinBlockerLists/raw/master/hosts" -O "/sdcard/SimpleAdAway/source12.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ ZeroDot1| CoinBlocker ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ Abuse.ch | Ransomware Server List ]..."
if wget --no-check-certificate "ransomwaretracker.abuse.ch/downloads/RW_DOMBL.txt" -O "/sdcard/SimpleAdAway/source14.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ Abuse.ch | Ransomware Server List ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ KADhosts | Generic Hosts ]..."
if wget --no-check-certificate "raw.githubusercontent.com/azet12/KADhosts/master/KADhosts.txt" -O "/sdcard/SimpleAdAway/source18.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ KADhosts | Generic Hosts ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ mitchellkrogza | Generic Hosts ]..."
if wget --no-check-certificate "raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts" -O "/sdcard/SimpleAdAway/source19.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ mitchellkrogza | Generic Hosts ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ NoTracking | Generic Hosts ]..."
if wget --no-check-certificate "raw.githubusercontent.com/notracking/hosts-blocklists/master/domains.txt" -O "/sdcard/SimpleAdAway/source20.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ NoTracking | Generic Hosts ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ NoTracking | Generic Hosts [2] ]..."
if wget --no-check-certificate "raw.githubusercontent.com/notracking/hosts-blocklists/master/hostnames.txt" -O "/sdcard/SimpleAdAway/source21.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ NoTracking | Generic Hosts [2] ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ Yous | Generic Hosts ]..."
if wget --no-check-certificate "raw.githubusercontent.com/yous/YousList/master/hosts.txt" -O "/sdcard/SimpleAdAway/source22.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ Yous | Generic Hosts ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ Logroid | Generic Hosts ]..."
if wget --no-check-certificate "sites.google.com/site/logroid/files/hosts.txt" -O "/sdcard/SimpleAdAway/source23.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ [ Logroid | Generic Hosts ] ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ Dan Pollock | Generic Hosts ]..."
if wget --no-check-certificate "someonewhocares.org/hosts/hosts" -O "/sdcard/SimpleAdAway/source24.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ Dan Pollock | Generic Hosts ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ Cameleon | Generic Hosts ]..."
if wget --no-check-certificate "sysctl.org/cameleon/hosts" -O "/sdcard/SimpleAdAway/source25.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ Cameleon | Generic Hosts ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ HostsFile | Generic Hosts ]..."
if wget --no-check-certificate "www.hostsfile.org/Downloads/hosts.txt" -O "/sdcard/SimpleAdAway/source27.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ HostsFile | Generic Hosts ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ Generic |alware Servers ]..."
if wget --no-check-certificate "www.malwaredomainlist.com/hostslist/hosts.txt" -O "/sdcard/SimpleAdAway/source28.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ Generic |alware Servers ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ Generic |alware Servers [2] ]..."
if wget --no-check-certificate "mirror1.malwaredomains.com/files/justdomains" -O "/sdcard/SimpleAdAway/source29.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ Generic |alware Servers [2] ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ ZeusTracker | Generic Hosts ]..."
if wget --no-check-certificate "zeustracker.abuse.ch/blocklist.php?download=domainblocklist" -O "/sdcard/SimpleAdAway/source30.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ ZeusTracker | Generic Hosts ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ yHosts | Generic Hosts ]..."
if wget --no-check-certificate "raw.githubusercontent.com/vokins/yhosts/master/data/union/en.txt" -O "/sdcard/SimpleAdAway/source31.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ yHosts | Generic Hosts ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ yHosts | Generic Hosts [2] ]..."
if wget --no-check-certificate "raw.githubusercontent.com/vokins/yhosts/master/hosts.txt" -O "/sdcard/SimpleAdAway/source32.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ yHosts | Generic Hosts [2] ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi
}

HostsPath="/system/etc/hosts"

clear
echo "*****************************************"
echo " - Simple AdAway v0.1"
echo "*****************************************"

if [ "$1" = "-s" ]
then
wait
else
check
fi

echo "- Analyzing operating environment..."

if [ -d "/sdcard/SimpleAdAway" ]
then
rm -r "/sdcard/SimpleAdAway" && mkdir -p "/sdcard/SimpleAdAway"
else
mkdir -p "/sdcard/SimpleAdAway"
fi

if ls -la "/data/hosts" 2>&- 1>&-
then
echo "* Symlink detected in '/data/hosts', unlinking..."
unlink "/data/hosts" && rm -f "/data/hosts"
echo "- Success!"
fi

if ls -la "/data/data/hosts" 2>&- 1>&-
then 
echo "* Symlink detected in '/data/data/hosts', unlinking..."
unlink "/data/data/hosts" && rm -f "/data/data/hosts"
echo "- Success!"
fi

if [ -d "/sbin/.magisk/img/hosts/system/etc/" ]
then
HostsPath="/sbin/.magisk/img/hosts/system/etc/hosts"
else
HostsPath="/system/etc/hosts"
fi

echo "- Success!"

clear
echo "*****************************************"
echo " - Download Manager"
echo "*****************************************"

if [ "$1" = "-a" ]
then
FilesToDownload="30"
all
else
FilesToDownload="5"
fi

echo "- Downloading [ StevenBlack | Multiuso ]..."
if wget --no-check-certificate "raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-[*****]-social/hosts" -O "/sdcard/SimpleAdAway/source15.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ StevenBlack | Multiuso ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ StevenBlack | Generic Hosts ]..."
if wget --no-check-certificate "raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts" -O "/sdcard/SimpleAdAway/source16.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ StevenBlack | Generic Hosts ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ StevenBlack | Generic Hosts [2] ]..."
if wget --no-check-certificate "raw.githubusercontent.com/StevenBlack/hosts/master/hosts" -O "/sdcard/SimpleAdAway/source17.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ StevenBlack | Generic Hosts [2] ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ MVPS | Generic Hosts ]..."
if wget --no-check-certificate "winhelp2002.mvps.org/hosts.txt" -O "/sdcard/SimpleAdAway/source26.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ VPS | Generic Hosts ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

echo "- Downloading [ Hosts File | Generic List ]..."
if wget --no-check-certificate "hosts-file.net/download/hosts.txt" -O "/sdcard/SimpleAdAway/source13.txt" 2>/dev/null
then
echo "- Download completed!"
else
echo "- Failed to download [ Hosts File | Generic List ]"
if ping -c 1 "google.com" 2>&- 1>&-
then
wait
else
echo "* The internet connection was lost!" && exit 1
fi
fi

CountFiles=$(find "/sdcard/SimpleAdAway/" -maxdepth 1 -type f | wc -l)

echo "- Success! were downloaded [$CountFiles/$FilesToDownload] files!"

clear
echo "*****************************************"
echo " - Application Settings"
echo "*****************************************"

echo "- Uniting files from hosts downloaded..."
cd "/sdcard/SimpleAdAway/"

if cat *.txt > hosts.txt
then
echo "- Success!"
else
echo "* An unknown error has occurred!"
exit 1
fi

echo "- Removing unnecessary text strokes..."
sed -ri 's/0.0.0.0/127.0.0.1/g' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri 's/#.*//' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri 's/:.*//' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri '/localhost/d' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri '/255.255.255.255/d' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri '/@/d' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri 's/\/:://g' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri 's/\/0.0.0.0//g' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri 's/address=/127.0.0.1 /g' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri 's/\// /g' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri '/broadcasthost/d' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri '/loopback/d' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri '/localnet/d' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri '/localhost/d' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri '/mcastprefix/d' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri '/allnodes/d' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri '/allrouters/d' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri '/allhosts/d' "/sdcard/SimpleAdAway/hosts.txt"
sed -ri '/0.0.0.0 0.0.0.0/d' "/sdcard/SimpleAdAway/hosts.txt"
sort -u "/sdcard/SimpleAdAway/hosts.txt" -o "/sdcard/SimpleAdAway/hosts"
sed -ir '/^[\s\t]*$/d' "hosts"
sed -ri '1i ::1localhost' "hosts"
sed -ri '1i 127.0.0.1localhost' "hosts"
echo "- Success!"

echo "- Applying hosts file..."
if [ "$HostsPath" == "/sbin/.magisk/img/hosts/system/etc/hosts" ]
then
if cp "/sdcard/SimpleAdAway/hosts" "/sbin/.magisk/img/hosts/system/etc/hosts"
then
echo "- Success!"
echo "- Applying permissions..."
chmod 777 "/sbin/.magisk/img/hosts/system/etc/hosts"
echo "- Success!"
else
echo "* An unknown error has occurred!"
exit 1
fi
else
if [ "$HostsPath" == "/system/etc/hosts" ]
then
mount -o remount,rw /system
if cp "/sdcard/SimpleAdAway/hosts" "/system/etc/hosts"
then
echo "- Success!"
echo "- Applying permissions..."
chmod 777 "/system/etc/hosts"
echo "- Success!"
mount -o remount,ro /system
else
echo "* An unknown error has occurred!"
exit 1
fi
else
echo "* The variable returned an invalid result!"
exit 1
fi
fi

echo "- Performing additional operations..."
unset HostsPath
unset CountFiles
unset FilesToDownload
unset check
unset all
rm -rf "/sdcard/SimpleAdAway"
echo "- Success!"

echo "*****************************************"
echo " - Execution Done!"
echo "*****************************************"

exit 0

Scripts recomendados

Busca de arquivos nas ports FreeBSD

Backup do banco de dados Postgresql

Instalação Xfce4.10 no Debian

Ativar serviço que está parado

Script de backup interativo


  

Comentários
[1] Comentário enviado por cizordj em 05/03/2019 - 22:23h

Parabéns pelo script, achei muito massa e prático. Agora posso jogar o apk no lixo rsrs.

Instalei o módulo Busybox_for_Android_NDK-1.30 do Magisk que estava faltando, funcionou mas a saída de texto parou nessa parte:
[code]
# Escrevi isso a mão
- Application Settings
****************************
- Uniting files from hosts downloaded...
- Success!
- Removing unnecessary text strokes...
sed: short write: Interrupted system call
sed: short write: Interrupted system call
[/code]
Não sei bem se parou ou ainda está executando, só sei que ele demora bastante. Se pudesse eu enviava um print aqui.
OBS.: Estou rodando direto pelo shell
<---------------------------------------------------------------->
O seu tempo é o único bem que você não recupera

[2] Comentário enviado por SnwMds em 06/03/2019 - 04:28h


[1] Comentário enviado por Cizordj em 05/03/2019 - 22:23h

Parabéns pelo script, achei muito massa e prático. Agora posso jogar o apk no lixo rsrs.

Instalei o módulo Busybox_for_Android_NDK-1.30 do Magisk que estava faltando, funcionou mas a saída de texto parou nessa parte:
[code]
# Escrevi isso a mão
- Application Settings
****************************
- Uniting files from hosts downloaded...
- Success!
- Removing unnecessary text strokes...
sed: short write: Interrupted system call
sed: short write: Interrupted system call
[/code]
Não sei bem se parou ou ainda está executando, só sei que ele demora bastante. Se pudesse eu enviava um print aqui.
OBS.: Estou rodando direto pelo shell
&lt;----------------------------------------------------------------&gt;
O seu tempo é o único bem que você não recupera


Isso realmente não deveria acontecer. Eu vou realizar uns testes e tentar descobrir o que ocorreu.

Edição: eu realizo alterações frequentes no script através de seu respectivo repositório no GitHub, talvez você queira testar estas versões mais atualizadas e verificar se o seu problema ainda persiste :)

Abraços.


Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts