Verificações de disco

Ferramentas:

Gerenciador grafico de disco:

sudo apt-get install gsmartcontrol

Smartmontools:

apt install smartmontools

lsscsi

apt install lsscsi
Comandos:

Para fazer teste simples:

# smartctl -t short /dev/sda

Verificar os testes:

# smartctl -l selftest /dev/sda

Diagnostico rápido:

# smartctl -H /dev/sda

teste longo:

# smartctl –test=long /dev/sdb

Teste de tempo e performance:

# smartctl -c /dev/sda

log de erros:

# smartctl -l error /dev/sda

Badblocks

http://www.diolinux.com.br/2014/05/verificando-badblocks-no-ubuntu.html

 

Fontes:

http://www.diolinux.com.br/2014/05/verificando-badblocks-no-ubuntu.html

http://www.hardware.com.br/artigos/monitorar-smart/

 

 

 

update lenovo p780

 

 

 

Fontes:

http://www.androidrookies.com/2014/09/lenovo-p780-upgrade-with-vibe-ui-v20.html

Erros:

http://www.androidrookies.com/2014/12/sp-flash-tool-error-code-number-and-how.html

http://forum.xda-developers.com/lenovo-p780/development/lenovo-p780-guide-t2658144

rows:

http://www.needrom.com/category/lenovo/serial-p/p780/

mudar imei:

http://forum.xda-developers.com/showthread.php?t=2734161

http://forum.xda-developers.com/lenovo-p780/general/guide-imei-baseband-backup-t2673130/page3

Hi. You can repair your phone with some simple steps:
1. root your phone.
2. study the links i send you.
3. Look on the back of the box in witch your phone come… excuze my bad english
4. there is one IMEI for your sim 1.
5. now respect this tutorial:

The idea is as follows. Both IMEI’s are identical except for the last digits. For example, if first IMEI ends in 19, to find the last 2 digits of IMEI 2 must add 1 to the penultimate digit and subtract 2 to the last digit, resulting 27:

1. IMEI 1 = 19
2. 1 +1 = 2; 9-2 = 7; 2 +7 = 9 <10
3. IMEI 2 = 27

If the penultimate number of the first IMEI is 9, we will add 9 +1 = 0 but we will add 1 on antepenultimate digit.

example:
1. IMEI 1 = 299
2. IMEI 2 = 307

Hope you will find useful.

Hi. Here are some tutorials how to add IMEI again:
http://forum.xda-developers.com/leno…vices-t2789292
http://www.youtube.com/watch?v=w9POQK3kf6U
http://www.youtube.com/watch?v=4gRAlf–D8E

Criando um HD inicializavel a partir de uma ISO

descobri a pouco tempo um comando bom pra criar um disco de inicialização pra instalar o linux via um hd ou pendrive.
Os programas só servem pra instalar em pendrive mas eu tava com problema pra botar o ISO num hd pra instalação.

Comando:

$ sudo dd if=/home/usuario/Downloads/linuxmint-17-cinnamon-64bit-v2.iso of=/dev/sdc oflag=direct bs=1048576

o sdc era o meu hd externo, só que ele apaga tudo que ta dentro dele

 

Fonte:

Anselmo Junior