adb root -> montar como root o shell
adb remount -> montar como write /system
adb shell madconfig dton -> ativar o fake dual touch
adb shell mount -> mostra as montagens
adb shell df -> mostra o tamanho
adb devices -> lista os devices
adb reboot recovery -> reinicia em modo recovery
adb push libandroid_runtime.so /system/lib -> envia um arquivo para um local especifico
adb shell chmod 644 /system/etc/gps.conf -> mudar a permissão de um arquivo
http://www.weijers.net/unix/chmod.php
How to Get a working Ext4 Partition on CM7:
psyke83 don’t recommend CMW for Partitioning sdcard as v0.5 is buggy.
1. First uninstall S2E.
2. You need to partition your sdcard again.
3. Use Minitool to partition your sdcard as:
- Fat32 – primary
- Ext4 – primary
- Linux swap – primary (optional)
4. But still CM7 will unable to mount it.
5. Then open terminal and run this script :
su
mke2fs /dev/block/mmcblk0p2
6. Now open Root explorer and navigate to /etc/init.d/ and delete 11link2sd if exists in that folder.
7. Now install S2E and try again.
8. Now go to S2E Setting and Enable “Mount as EXT4”
9. It will definitely works
Reiniciar o celular sem remover a bateria:
Botão de aumentar o volume + Botão de Ligar por 10 segundos.