Posts Tagged ‘menu’

SDE for Archos generation 8 devices released!

Wednesday, December 15th, 2010

Here it is:

http://www.archos.com/support/support_tech/updates.html (scroll down to the bottom, click ‘Show’, scroll again, click first button, acknowledge, download)

I haven’t tried it yet, but read on that page that it comes with a nice dual-boot menu out of the box! Let’s get it on and run some fun things on those new devices. The scope is all generation 8 Archos Internet Tablets: 28, 32, 43, 70 and 101!

Let’s discuss things on the openAOS-dev mailing list.

Cheers

Thomas

PS: Yes there should have been more/other blog posts, but personally I have a new job and far less time for openAOS than I’d like to at the moment. :-(
Although my new employer (Tieto Finland) is very supportive of open-source involvement, so in the future things should look better. :-)

An interim fix for booting Android and Ångström

Wednesday, September 15th, 2010

Bubu worked out how to tweak the kernel with fbset to do what we want.

A known working snapshot is here:

http://www.openaos.org/wp-upload/gen7/2010-09-15/

You’ll most likely only need the zImage and initramfs.

He added an temporary extension to the menu.lst structure. If you add ‘|1′ then fbset will set the framebuffer like in the original SDE kernel (e.g. for Ångström). If you add ‘|0′ then it will be set like for the Archos firmware and FroYo. In addition it tries to guess the right defaults: Everything gets the old 24 bit framebuffer unless it is: Archos firmware or the menu entry name contains ‘android’ or ‘froyo’, then it is set to the new mode.

Example for an android froyo override:
MyDroid|/dev/sda1|/rootfs.img|/init|0

Example for an linux image using SDE framebuffer override:
MyLinux|/dev/sda1|/rootfs.img|/sbin/init|1

This is a temporary hack though. We will rework the menu.lst structure to be more flexible in terms of options.

openAOS brings you: FroYo alpha1 for Archos 5 IT!

Sunday, September 5th, 2010

We had some early development snapshots already, but for an real alpha version we said we want to fix at least WiFi and SGX. For WiFi we even had an bounty and I guess this image is best proof that the bounty has been earned. Furies did the work on it. Thanks to AndAppStore for sponsoring the bounty!

Well we don’t want to make the tension unbearable here is the image:

FroYo Alpha1 for Archos5IT

This also needs this boot-menu update: zImage and initramfs

Enjoy your FroYo! Here are the much easier new instructions for setting up the boot-menu if you haven’t yet.

This image needs the following line added to menu.lst (do NOT use notepad! use an editor capable of proper unix line endings!):

openAOS Froyo alpha|/dev/sda1|/rootfsfroyo.img|/init

This all comes with a bootnote, a rather extensive one:

  • This is alpha grade software intended for developers and tech-savy testers.
  • There are still many unresolved issues and problems.
  • If you ‘just want FroYo’ – this is not for you! Wait until it’s stable and usable.
  • If you don’t plan to give us feedback – this is not for you! Wait until it’s stable and usable.
  • If you expect everything to work – this is not for you! Wait until it’s stable and usable.
  • After this has been said, thank you very much you seriously want to help us with this. We appreciate this very much as we really need every help we can get!
  • If you notice anything that doesn’t feel right, please file an ticket and
    use Android 2.2 Alpha2 as the target milestone
    and Android 2.2 – alpha1 as the version
  • Please do the same if you want some feature included or something improved
  • First boot will take very long! Keep your USB cable connected.
    • First the rootfs gets unzipped (You can unzip it on your PC that’s much faster!)
    • The Android cache is compiled – this can also take a while, just watch the boot logo while this happens.
  • Please join the mailing-list to discuss this image!
  • Want to see if someone is online right now to ask a question or discuss? Join us on IRC!
  • Yes sound does not work, sorry. Next Alpha maybe.
  • Don’t want to install the alpha but still want to help? Consider donating to the openAOS project!

¹ please note that the default Ångström image needs to be modified to work with this kernel! adding the command ‘fbset -nonstd 0′ could fix at least part of the issue during boot process. Expect updates on this soon.

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.