Mostrando postagens com marcador hacking. Mostrar todas as postagens
Mostrando postagens com marcador hacking. Mostrar todas as postagens

2012-10-24

Firmware 3.1.0 para MetaWatch em pt_BR



Compilei a firmware do relógio da Texas Instruments, o MetaWatch:

O que mudei ai:
1- Textos em português: dia da semana, mês, e outras

2- A data, aparece no mostrador mesmo sem conexão com bluetooth e mesmo com o bluetooth desligado, afinal é, ainda, um relógio e não um servidor bluetooth.

3- Gerei os arquivos em .hex para gravar usando Linux, com o programa mspdebug

Analog (Não testei pois não tenho o MetaWatch Analógico):
AnalogWatch-en.hex
AnalogWatch-pt.hex

 Digital:
DigitalWatch-en.hex
DigitalWatch-pt.hex


Recomendo que usem o software para Android, MetaWatch CommunityEdition

2012-05-06

Newsmy, Newpad T7 rooted ROM, rev2

Phone mode and Tablet mode!
I made some adds to ROM, and a new ROM with phone mode, that have better fonts, but not have bottom bar, instead you can use buttons, VOL+ and VOL- as HOME and SWITCH_APP ...


Download here:
Tablet mode rooted_unofficial.tar.bz2
Phone mode (better fonts) rooted_unofficialv2.tar.bz2
Software/Drivers win32soft.tar.bz2
http://fazzi.eng.br/android/T7/

How to upgrade:
1- Turn off you tablet
2- Open RKBatchTool.exe
3- Connect USB cable (needs win32 drivers, included)
4- Hold MENU and press POWER
5- On RKBatchTool, you can see a green icon if your tablet was detected
6- Open ROM .img file and use RESTORE button to burn

REMEMBER, Full Battery!

2012-04-25

Tablet Newsmy, Newpad T7 Android ISC 4.0.3 - rooted



I bought a Newsmy Newpad T7, this runs Android ICS 4.0.3

I Made a custom Android ICS 4.0.3 ROM, with some changes:

Applied to Official Newsmy FW: http://220.168.57.227:1949/cunchu/20120307K7T7M7N18zhengshiban4.0ruanjian.rar

Changes:
1- Internal Storage (/data) resized from 512MB to 2GB
2- Removed chinese keyboard, and added Xoom 4.0.4 keyboard (we can put it back, easy)
3- Google Play Music 2, App
4- Rooted with Superuser.apk and hacked su binary
5- Removed some ringtones, notifications for more space on /system
6- Removed all chinese market apps and rkebookreader apks, for more space
7- Default language as en/US
8- Default timezone as America/Sao_Paulo GMT -3 (Amazon Time, my timezone :P)
9- Titanium Backup as system app
10- Gtalk with vídeo suporte as system app
11- keep ApkInstaller, rk29 DeviceTester
12- added Dev Tools,
13- Swapped External SD and Internal SD mount points. (now using a 32GB SD as internal SD!)
14- Added bash as sh symlink, you can have advanced shell.
15- Many changes to build.prop

Tests:
GPU have a very high performance...
Tablet got 1590 points under Quadrant app
ChainFire3D works nice with DeadSpace (Qualcomm) and Riptide (Tegra)
Netflix not working, don't know if it is a network issue here.

Files here:
http://fazzi.eng.br/android/T7/

2010-09-15

Advanced Shell no N900 (BASH 3.2)

Como todo bom viciado em Bash, e Gentoo Linux, resolvi deixar o N900 mais próximo de um ambiente Gentoo:

0) Presumo que você já tenha acesso modo root, com o gainroot (pacote rootsh) e openssh instalados, reparem o gainroot é parte da FW original do N900, contudo o gainroot que vem instalado apenas lhe exibe uma mensagem de alerta!

$ /usr/sbin/gainroot
Enable RD mode if you want to break your device

1) Instale o pacote bash3, olhe só o description do pacote, fiz um pacote mais ou menos assim para o N810, está no meu repositório.
Description: The GNU Bourne Again SHell branch 3.x, tuned for maemo
 Bash is a command-line program which may replace your standard
 command-line shell with a improved, feature-rich interface.
 .
 Bash is an sh-compatible command language interpreter that executes
 commands read from the standard input or from a file.  Bash also
 incorporates useful features from the Korn and C shells (ksh and csh).
 .
 This is a special version for the Maemo platform, with everything
 that is not too useful on a Internet Tablet stripped off.
2) Rode o comando bash-setup, logado em cada usuário que deseja a Advanced Shell, o modo mais fácil é logar pelo ssh como root, rodar o script, depois definir uma senha para o usuário user (isso mesmo!), e em seguida entrar no ssh como user, e rodar o script novamente.


ATENÇÃO: Nunca remova o Busybox, isso irá detonar o N900.

3) Instalae o vim, e não remova o link simbólico do busybox para o vi!

4) Quem já usou Gentoo deve sentir muita falta da Advanced Shell, agora mais uns ajustes finos, faça nos dois usuários (root e user)

4.1) Ajustes do vim, não são perfeitos mas ajudam muito:
Crie o arquivo ~/.vimrc , com o seguinte conteúdo:
set nocompatible        " Use Vim defaults (much better!)
set bs=2                " Allow backspacing over everything in insert mode
set history=100          " keep 50 lines of command history
set ruler               " Show the cursor position all the time


set viminfo='20,\"500   " Keep a .viminfo file.


syntax on
set hlsearch
4.2) Ajustes da BAsh, esses sim fazem falta, sempre coloco no Ubuntu e outras distros... com os 3 arquivos abaixo a bash fica muito legal e com a cara do Gentoo!

4.2.1) Crie o arquivo ~/.bashrc
if type -P dircolors >/dev/null ; then
   if [[ -f ~/.dir_colors ]] ; then
        eval $(dircolors -b ~/.dir_colors)
   elif [[ -f /etc/DIR_COLORS ]] ; then
        eval $(dircolors -b /etc/DIR_COLORS)
   fi
fi


if [[ ${EUID} == 0 ]] ; then
    PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] '
else
    PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
fi


umask 022
export PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH


export HISTSIZE=1000
export HISTFILESIZE=1000


PROMPT_COMMAND="history -a; $PROMPT_COMMAND"


# Change the window title of X terminals
case ${TERM} in
        xterm*|rxvt*|Eterm|aterm|kterm|gnome*|interix)
                PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
                ;;
        screen)
                PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\033\\"'
                ;;
esac


shopt -s checkwinsize
# Enable history appending instead of overwriting.  #139609
shopt -s histappend
4.2.2) Crie o arquivo ~/.profile
# ~/.profile: executed by Bourne-compatible login shells.


if [ "$BASH" ]; then
  if [ -f ~/.bashrc ]; then
    . ~/.bashrc
  fi
fi
mesg n
4.2.3) Para autocompletar comandos já usado, crie o arquivo ~/.inputrc
"\e[5~": history-search-backward
"\e[6~": history-search-forward 
Comece a digitar um comando já usado e toque em PageUp e PageDown para completar o comando, oh coisa boa!

Ficaremos com um prompt vermelho para o root e verde para outros usuários e com histórico de 1000 comandos, dentre outras coisas!

5) Altere o gainroot para usar a bash, como root:
$ vim /usr/sbin/gainroot


Edite a linha:
HISTFILE=/root/.ash_history /bin/ash

Para:
HISTFILE=/root/.bash_history /bin/bash

Agora só por o X Terminal com fundo preto e letras brancas! :P