Autor Tópico: Informações (gerais) relevantes para quem quer mexer no firmware  (Lida 26164 vezes)

0 Membros e 1 Visitante estão vendo este tópico.

Offline Jefferson

  • Zelador
  • Hero Member
  • *****
  • Mensagens: 1854
  • Aprovação: +0/-0
    • Ver Perfil
    • http://ryan.com.br
Re: Informações relevantes para quem quer mexer no firmware
« Responder #20 Online: Julho 26, 2011, 06:49:08 pm »
Acabo de confirmar que a simples instalação de firmware através de pendrive não sobreescreve o conteúdo do diretório /usr/local/etc. Fiz uma reinstalação do firmware original e tanto o irfake quanto o jukebox sobreviveram.

Isso é bastante vantajoso, porque hacks feitos via Telnet não precisam ser refeitos caso você faça um upgrade do firmware, mas tem vários efeitos negativos:

  • Se você fizer uma besteira grande (como corromper o arquivo rcS de forma que DvdPlayer não rode) reinstalar o firmware não vai consertar o problema.
  • Qualquer comportamento esquisito ou incômodo provocado por suas modificações também perdurará.
  • Instalar um firmware modificado e depois instalar o original pode também deixar o aparelho inoperante se o firmware modificado depender do irfake.
  • Modificações feitas diretamente no firmware em /usr/local/etc podem não ser instaladas quando você instalar esse firmware via pendrive;

A solução para o problema está no blog de Shantic:

http://dpi.mx/s9mod/2011/05/easier-installation-test/

Basta rodar via Telnet o comando:
Código: [Selecionar]
echo “ ” | dd of=/dev/mtdblock/0 bs=2048 seek=8192
E reiniciar o S9. A princípio eu achei que não tinha funcionado, porque o aparelho simplesmente ficou parado na tela preta inicial. Mas depois de um longo tempo ele reiniciou sozinho e começou a carregar o firmware no pendrive.


Note que no segundo parágrafo Shantic explica o problema:

Citar
when you select upgrade from the menu it triggers a special command “kill -6 1″ that will put the system in upgrade mode, this will read the FW from the pendrive and install it to the nand, the problem with custom FW (or at least mine) is that a lot of the info (moServices) goes into the /usr/local/etc/ path, and this path gets completely ignored by the “upgrade” so big part of the custom firmware will not get installed :( as far as I know there is no way to “force” the installation of the new /usr/local/etc/ if this was possible then this problem would not exist

Se o firmware não tiver acesso Telnet você vai estar encrencado. Existe outro método, mas requer que você tenha o cabo serial.
http://jefferson-ryan.blogspot.com
http://ryan.com.br

Se o que você escreve não merece sua atenção, vai merecer a atenção de quem?!

Offline Jefferson

  • Zelador
  • Hero Member
  • *****
  • Mensagens: 1854
  • Aprovação: +0/-0
    • Ver Perfil
    • http://ryan.com.br
Re: Informações (gerais) relevantes para quem quer mexer no firmware
« Responder #21 Online: Setembro 21, 2011, 11:31:29 pm »
Eu só olhei por alto, mas aparentemente esta página trás a solução para o problema de fazer o unpack/repack do firmware inteiramente dentro do Windows.

http://bbs.himedia.com.au/index.php?topic=354.0
http://jefferson-ryan.blogspot.com
http://ryan.com.br

Se o que você escreve não merece sua atenção, vai merecer a atenção de quem?!

FORUM.RYAN.COM.BR

Re: Informações (gerais) relevantes para quem quer mexer no firmware
« Responder #21 Online: Setembro 21, 2011, 11:31:29 pm »

Carlo

  • Visitante
MAC address problem
« Responder #22 Online: Outubro 30, 2011, 05:38:19 am »
Jefferson,

Excuse me for posting this here, i could not find a better place, but if you want to move the topic ill understand.

i have 2 diyomate s9 bought from DX, i have setup a local computer with 2 network cards and massive storage (over 6TB) i have there many movie backups from my family´s video collection, and i whish to use the S9 as a player that can pull the files via network cable from the central PC. This works without problems, except that i found out recently that both S9 players have the same MAC address on their network card. Now im asking for help in any case you can think.

im currently using s9mod8.2.05_A02 firmware

1. change permanently one S9 mac address via telnet is it possible? (i´ve tried with ifconfig commands and have not worked)
2. is it possible to modify a firmware where i can tell it to set another mac address?
3. how or where should i look in the firmware to setup this if possible?

sorry for posting in english.

thank you for your help.

FORUM.RYAN.COM.BR

MAC address problem
« Responder #22 Online: Outubro 30, 2011, 05:38:19 am »