Archive for the ‘Ångström’ Category

Liberté toujours – votre archos 53g+ est maintenant libéré!

Friday, July 30th, 2010

Bonjour à tous, voici ci dessous la méthode de hack pour l’archos 5 3g+ SFR :

Nous sommes fier d’aider par cette méthode les utilisateurs d’archos 3g+ abandonnés par SFR en leur donnant la possibilité d’installer le système SDE qu’ils méritent. Nous travaillons dur depuis 1 semaine sur cette release. Elle a été modifiée encore et encore pour la rendre plus sûre et attractive.

Une pétition à été lancée sur le forum SFR, pour demander officiellement une ouverture du firmware. Merci de bien vouloir y participer… Une mise à jour officielle reste la meilleure solution !

ATTENTION, merci de bien vouloir lire attentivement les recommandations suivantes :

Avant de vous lancer, il faut savoir que :

  • Cette manipulation vous fera perdre la garantie sur votre appareil
  • Cette manipulation vous fera perdre les plugins que vous aurez déjà achetés sur votre archos
  • Vous pourrez ensuite racheter ces plugins, mais il sera impossible de les installer de manière officielle sur votre archos
  • VOUS ETES SEUL RESPONSABLES DE VOS MANIPULATIONS !!!
  • Ce hack fera de votre archos 3g+ SFR, un archos 5 3g standard, avec l’interface Angstrom linux.
  • En aucun cas votre appareil sera désimlocké.

Mais le hack est réversible. Vous pourrez repasser sur le système officiel SFR par la suite … ATTENTION BRICK POSSIBLE SI VOUS LE TENTEZ SANS SAVOIR CE QUE VOUS FAITES ! Article à suivre pour le retour sur SFR…

Vous êtes prêts ?

  • Mettez votre archos en charge une heure au moins avant, si la batterie est déchargée, il y a risque de brick !
  • NE JAMAIS éteindre ou mettre en veille l’appareil pendant la procédure, sinon brick !
  • Sauvegardez le contenu de votre archos !
  • Je vous conseille de formater puis de réinstaller le firmware de base, de manière à partir sur une base saine. Dans ce cas, menu restauration, puis format disk, ensuite on colle le fichier aos SFR, puis update…
  • Prenez votre temps, soyez sûrs de vos manipulations, en cas de doute, n’hésitez pas demander de l’aide…
  • Il vous faut la dernière mise à jour officielle SFR, c’est à dire le firmware 1.5.10. Il est installable en wifi en passant par le menu réglages / Logiciels et Plug-ins, puis le bouton Mise à jour du logiciel en ligne. Si vous ne savez pas en quel firmware vous êtes, ce même menu vous donnera l’information. Ceux qui n’ont pas de wifi peuvent le télécharger et l’installer manuellement, en déposant le fichier .aos dans le disque dur par USB, puis en utilisant le bouton Mise à jour du logiciel par le même menu.
  • SUIVEZ SCRUPULEUSEMENT LA PROCÉDURE, n’essayez pas de l’adapter avec d’autres exploits !

On y va :

sudo mkdir /media/archos

  • On monte la partition cachée :

sudo mount -t ext3 -o offset=29819404288 /dev/sdc /media/archos/

ATTENTION, sdc correspond à MA configuration, remplacez par la lettre de votre archos, repérable avec la commande :

sudo fdisk -l

  • Un deuxième disque monte sur le bureau, nommé archos, ou media 201 MB
  • Dans le terminal, on navigue vers le dossier où vous avez téléchargé l’archive avec la commande :

cd /home/votrenom/Téléchargements

  • ou à adapter en fonction de l’emplacement de l’archive
  • On “détar” l’archive précédemment téléchargée :

sudo tar xvf openaos-hack_20100730_0.1.0.tar.bz2 -C /media/archos

Voici ce qu’il doit s’afficher dans le terminal :

tar: Taille de l'enregistrement = 8 blocs
openaos/
openaos/flash
openaos/widget_astro.swf
openaos/a5std/
openaos/a5std/boot0_0x00000000
openaos/a5std/boot1_0x00030000
openaos/a5std/init_0x00210000
openaos/a5std/keystore_0x00010000
openaos/a5std/params_0x003f8000
openaos/a5std/recovery_0x00080000
openaos/a5std/logo_0x00060000
openaos/a5sfr/
openaos/a5sfr/boot0_0x00000000
openaos/a5sfr/boot1_0x00030000
openaos/a5sfr/init_0x00210000
openaos/a5sfr/logo_0x00060000
openaos/a5sfr/params_0x003f8000
openaos/a5sfr/recovery_0x00080000
openaos/a5sfr/keystore_0x00010000
openaos/root_telnetd
openaos/dohack.sh

  • Vous devriez avoir un dossier openaos dans /media/archos
  • On rentre dans ce dossier :

cd /media/archos/openaos

  • On lance le hack :

sudo ./dohack.sh

Vous devriez avoir :

openAOS 0.1.0

Utilisez ce script avec précautions !

openAOS ne peut être tenu pour responsable pour une mauvaise utilisation de ce script ou des effets indesirables !
Vous utilisez ce script à vos propres risques !
Il ne peut être utilisez qu'à des fins éducatives !

Le hack de votre archos est activé, suivez la procédure pour la suite...

  • On ressort du dossier :

cd /

  • On démonte la partition cachée :

sudo umount /media/archos

  • Vous pouvez maintenant appuyer sur la touche power de l’archos, ce qui va le faire démarrer normalement.
  • Dans la liste des widgets SFR, bouton sur la gauche, choisissez le widget astro.
  • L’interface va clignoter.
  • Après quelques secondes, le hack fait disparaître l’interface SFR. Il est possible que l’appareil reboot, puis fasse apparaitre le menu archos standard après le reboot… si il reste en reboot infini, éteignez, mode restauration, et recommencez !
  • À partir de ce point, les frileux peuvent s’arrêter. Le hack est en place, et devrait remplacer la page d’accueil SFR à chaque démarrage… Les plus courageux peuvent continuer ;)
  • On active le mode USB, ou on débranche rebranche le câble. L’archos se monte automatiquement, on n’utilise plus la partition cachée pour la suite.
  • On extrait l’archive DTI, qui contient un dossier Games.
  • Maintenant on va copier le dossier Games dans la racine votre archos. Si le dossier existe déjà, vous pouvez le remplacer.
  • Et on en profite pour copier également le rootfs.img.gz dans la racine de la même partition.
  • On débranche rebranche l’USB. l’archos vous demande d’activer l’USB, cliquez sur rester en charge.
  • Attendez de voir l’interface Archos… un reboot automatique est possible.
  • Vous pouvez maintenant aller dans le menu Jouer, Jeux, DTI, ou vous trouverez 4 options : ( créer un profil d’abord, nommer le comme vous voulez, puis charger)
  1. hack pour passer sur le SDE en gardant le logo SFR au boot.
  2. hack pour passer sur le SDE en passant au logo openaos.
  3. hack pour le retour en arrière vers le firmware SFR.
  4. hack pour lancer un telnetd, qui nécessite une connexion wifi établie. (il s’agit d’une option pour utilisateur avancé, ou sur demande d’openaos pour un éventuel débogage !)
  • On clic sur le 1 ou le 2 en fonction de votre envie, mais surtout pas le 3 !!!!!!
  • puis le bouton jouer vert en bas.

  • le flash est en cours, il dure environ 2 minutes, NE TOUCHEZ À RIEN et surtout n’éteignez pas ou ne débranchez pas votre appareil !!! Attendez patiemment, ça peut être plus long… Si l’appareil se met en veille, attention en cliquant, de ne pas lancer un logiciel…
  • ensuite on va ouvrir le document openaoslog.txt, via l’explorateur de fichier, en vérifiant qu’à la fin du fichier il y ai “Le hack de votre archos est terminé”, et qu’il n’y a pas de message d’erreur dans le log. (Vérifiez chaque ligne : si vous trouvez un error: blablabla, venez demander de l’aide !)

  • on reboot….. On croise les doigts, et voilà !!!

  • Soyez patient au premier boot, l’interface est zippée donc, encore 1 ou 2 minutes…
  • et tadaaaaaaaaaaa :

Ne jamais tenter par la suite d’installer ou le firmware SFR ou le frimware Archos standard par le menu de restauration
après l’installation du SDE.  Cela va détruire la flash modifiée, et rendre votre appareil irréparable !

Pour la suite, n’hésitez pas à demander de l’aide sur IRC, #openpma sur irc.freenode.net… Have fun !!

http://dev.openaos.org/wiki/Donations N’hésitez par à faire un petit don pour l’équipe d’openaos… une bière par tête = 2¤ = vraiment pas grand chose pour le boulot effectué !

Les personnes qui ont découvert l’exploit et qui ont préparé le hack complet souhaitent rester anonymes ;)

elmattt travaille sur un screencast complet, qui sera une aide supplémentaire pour la compréhension et l’exécution du hack… à suivre donc !

Debugging Archos devices just got a lot easier.

Monday, July 12th, 2010

UPDATE:

This guide is outdated, please do not use it anymore! There is a new and updated procedure that is easy to follow and integrates g_serial debugging. The files linked to in this guide will be no longer available.


I’ve been talking about this idea for a while now, but today I finally had the right mood to work on it and I think I’ve found a sufficiently flexible solution for now.

I’m loading the kernel modules (musb_hdrc and g_serial) in the initramfs. Fortunately there was enough space left for that.

I’ve created 3 separate serial interfaces using g_serial.

  1. /dev/ttyGS0 – unused (root shell on Archos Android firmware)
  2. /dev/ttyGS1 – unused
  3. /dev/ttyGS2 – kernel messages. this is simply ‘cat /proc/kmsg’

You can now attach terminals or logs to this in your images. Usually by editing /etc/inittab and adding a line like:

s2:235:respawn:/sbin/mingetty --autologin root ttyGS0

If you need to disable this you can just kill the ‘cat’ process and if running stop the getty’s. After doing that you can remove the g_serial and then the musb_hdrc module. You can then e.g. reload musb_hdrc to have it act as a host controller again.

The important changes are in the initramfs. The zImage is only needed if you want the root shell for Android. Get the files here.

Enjoy your easy debugging! No need for serial dongles anymore!

Cheers

Thomas, your friendly neighborhood ArchDruid
PS: As a bonus this zImage will boot Archos 2.0.x firmwares. There will be some problems with transparencies though. We’re going to fix that in the long run though.

PPS: If there is demand I can generate a set for gen6 too.

Proof of Concept:: Win3.1 running on Gen6 w/Angstrom + DosBox

Sunday, May 16th, 2010

After reading the post on a Gen7 booting win3.1, I thought I would give it a shot on a Gen6.

DosBox has serious RAM implications on Gen6 hardware, so I opted to install the windows files from my PC and transfer them over to the Archos 5 IMT.

The Result?

The process was very similar to the post listed below:

I installed DosBox on my PC.  copied the Win3.1 files from the ISO, ran DosBox and mounted the folder where the Win3.1 files reside.  I then created another folder called Windows, and mounted that to a separate drive letter in DosBox.  I then ran the setup, and went through the installation process, installing the OS to the “Windows” directory I created/mounted.

Once finished, I transferred the new “Windows” directory over to my unit,, booted up angstrom and ran DosBox.

I then mounted the “Windows” directory to “C:”, then cd’d into it and ran “win.com”.

Success.  :)

Cheers

~Spz0

Engadget asked and someone delivered it seems… Win 3.1

Saturday, May 15th, 2010

When engadget reported about our adventures they jokingly said – but it doesn’t run windows 3.11 yet.

Well who knows if that inspired this guy or not, but sure there is now a report of Windows 3.1 running on an Android device.

Thanks to aDosBox this should be possible across Android devices – including the Archos5 IT. Didn’t expect it to happen that fast. I took a look at bochs but it wouldn’t compile for me. I ignored dosbox for some reason – which is also available for Ångström. Ok what’s next? Surprise me! OS/2? Or at least a video of someone running dosbox and Windows for Workgroups 3.11 on an Archos5 IT?

bootnote: as stated on the adosbox page it currently does not run on devices without a keyboard. Plain dosbox under Ångström works just fine (cf. Spz0′s funny adventures on his A5).

A demo Image using the Enlightenment WM

Wednesday, May 12th, 2010

Hello all.

I’ve been wanting to make angstrom more user friendly for some time, so I decided to start working on an e17 Illume build.  There were a bunch things I didn’t like about the current gpe build — the xkbd being too small, midori web browser being too chunky, the lack of overall user friendliness of the UI, amongst other small issues mostly revolving around functionality of Angstrom.

This image that I’ve compiled addresses these issues as well as others such as:

  • A more user friendly interface (Illume)
  • Increased size of buttons and fonts (Scaling)
  • Removal of misc. programs (broken programs and programs incompatible with e17)
  • An increased file system of 1Gb
  • Selection of 3 web browsers – Fennec, Woosh and Dillo (warning: fennec is still a WIP and will crash when loading larger pages due to RAM restrictions on Gen6 devices)
  • OptimSMS2 keyboard layout
  • Quasar Media Player (Mplayer frontend)
  • ePDFviewer
  • Abiword Word Processor
  • Numpty Physics (Neat little physics game)

This image is base on Kevin’s build of the revision 199 of openAOS Ångström overlay. All additional packages have been installed from the regular Ångström package feeds with the exception of Dillo, Woosh, NumptyPhysics and Quasar (which I modified together with some help from Thomas, dm8tbr [thanks m8!!]) and for which sources and bitbake recipe are available here.

Some screenshots (desktop will look different on the downloaded image due to additional software installation):

Main Desktop

Archos gen6 running e17 - main view

Archos gen6 running e17 - main view

Illumes “Top-Shelf” (note: Vkeyboard button is located in the top-right corner “qwerty“)

OptimSMS2 Keyboard (Switch between kbd layouts by hitting “ABC” [above letter"P"])

Archos gen6 running e17 - screen keyboard

Archos gen6 running e17 - OptimSMS2 on-screen keyboard

Quasar UI

Archos gen6 running e17 - running Quasar
Archos gen6 running e17 – running Quasar

OptimSMS keyboard still needs a bit more work, it’s a bit too large right now, but still very usable.  I may get around to finding a way to reduce the size of the container.  Look for that update.  I also kept the “transparent keyboard” active for use, and I have my custom xkbd layout defaulted (mimics OptimSMS2 layout).

There is also a known issue with the Battery Meter being broken.  Hopefully we can fix that soon.  If anyone wants to try, go right ahead.  :)

This image should need minimal adjusting, as we have worked to import all my custom e17′s settings into your home.img, so you should not have to go through the initialization process.  However, if you with to do so, goto “Settings->Settings->Profiles” and select the “Default” profile to run through the initialization process.  I would also suggest increasing the Terminal font size (click the “Look and Feel” icon, goto the “Terminal” tab and increase to the desired font size).  You will have to restart in order for those changes to take effect.

Grab your copy of the E17 Image HERE.**

**updated to beta2 build as described HERE

[ If you wish to run this along side your current build, rename image to "illume.img" and make the appropriate entry in "menu.lst" Otherwise just overwrite your "rootfs.img" and your good to go.]

~Cheers

Spz0.