update opendns
*/5 * * * * /usr/bin/curl -k -u 'user@domain.com:password' https://updates.opendns.com/nic/update
*/5 * * * * /usr/bin/curl -k -u 'user@domain.com:password' https://updates.opendns.com/nic/update
$ git clone git://github.com/Benjamin-Dobell/Heimdall.git
$ mkdir -p Heimdall/build
$ cd Heimdall/build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make
$ sudo cp bin/* /usr/local/bin
1 - fazer o root ao telemóvel/tablet
2 - obter os pontos de montagem dos blocos:
método 1
adb shell
cat /proc/partitions
método 2
adb shell
ls -al /dev/block/platform/dw_mmc/by-name
a diretoria dw_mmc/ pode ser diferente
3 - copiar o bloco (telemóvel/tablet ligado) com o comando:
3 - a) (Não funcionou porque o fs estava montado!)
adb shell su -c "dd if=/dev/block/mmcblk0" > ~/full_phone_backup.image