Changes between Version 65 and Version 66 of SettingUpMultiRootGen7

Show
Ignore:
Timestamp:
04/09/12 16:31:17 (14 months ago)
Author:
divx118
Comment:

Fixed link and add information about removing menu.lst

Legend:

Unmodified
Added
Removed
Modified
  • SettingUpMultiRootGen7

    v65 v66  
    11[[PageOutline]] 
     2 
    23== Important things == 
     4This guide is for the following Archos generation 7 models: 
    35 
    4 This guide is for the following Archos generation 7 models: 
    56 * A5S - thin with SSD/flash up to 64GB 
    67 * A5H - thick with hard-disk inside 
     
    1112 
    1213=== This is a wiki page it keeps changing, don't link to old versions! === 
    13  
    1414Please make sure you don't link to old versions of this page. If you came here via a link check if there is a revision number in the address bar. If so, go to the [http://dev.openaos.org/wiki/SettingUpMultiRootGen7 current version of this page] 
    1515 
     
    2727</ul> 
    2828</h2> 
    29 }}}  
    30  
     29}}} 
    3130== Download the needed files from the archos homepage == 
    3231 * download the SDE firmware, rename the file firmware_archos5.aos to sde_archos5.aos to avoid confusion 
     
    3736== Compile aos tools (instructions for Ubuntu 10.04) == 
    3837(To bring up a terminal under Ubuntu, type ctrl-alt-T or see [https://help.ubuntu.com/community/UsingTheTerminal Using the Terminal].) 
     38 
    3939{{{ 
    4040sudo apt-get install libssl-dev   #(if you have not already done it) 
     
    5353}}} 
    5454The following warning message 
     55 
    5556{{{ 
    5657WARNING: androidroot.cramfs.secure: Signature is invalid. 
     
    6566we will need them later 
    6667 
    67  
    6868== Quick Steps For Setup: == 
    69  
    70  
    71 '''First Step:''' 
    72 [[BR]] 
     69'''First Step:''' [[BR]] 
    7370 
    7471 * Copy sde_archos5.aos via usb the root of your device, then unmount cleanly. 
     
    8683 * The screen now should say “connect your device to your PC and copy a zImage and an initramfs.cpio.gz” – Please do so and mount the device on your desktop PC. 
    8784 * If you have trouble viewing the Archos disk drive in your computer use following tools to view the ext3 drive. 
    88   * For Windows 7 - http://sourceforge.net/projects/ext2fsd/  
    89   * For Windows XP and Vista - http://www.fs-driver.org/download.html 
     85   * For Windows 7 - http://sourceforge.net/projects/ext2fsd/ 
     86   * For Windows XP and Vista - http://www.fs-driver.org/download.html 
    9087 * Download the following files 
    91   * Download the initramfs.cpio.gz and zImage from  http://www.openaos.org/wp-upload/gen8/2012-04-09/  
    92     Initramfs.cpio.gz and zImage are in the following archive [http://www.openaos.org/wp-upload/gen7/2012-04-09/kernel_gen7_20120409_114320.tar.gz kernel_gen7_20120409_114320.tar.gz] Unpack it (on windows with for example winrar)and only use Initramfs.cpio.gz and zImage 
    93   * http://www.openaos.org/wp-upload/gen8/2012-04-09/  -- Latest release. Releases are identified by animal names. If you want to install openAOS Android '''(please note Also read [http://dev.openaos.org/wiki/AndroidInstall_CM7_Gingerbread] on how to name the image file so it will turn up in your bootmenu.''' 
     88   * Download the initramfs.cpio.gz and zImage from  [http://www.openaos.org/wp-upload/gen8/2012-04-09/ http://www.openaos.org/wp-upload/gen7/2012-04-09/]  Initramfs.cpio.gz and zImage are in the following archive [http://www.openaos.org/wp-upload/gen7/2012-04-09/kernel_gen7_20120409_114320.tar.gz kernel_gen7_20120409_114320.tar.gz] Unpack it (on windows with for example winrar)and only use Initramfs.cpio.gz and zImage 
     89   * [http://www.openaos.org/wp-upload/gen8/2012-04-09/ http://www.openaos.org/wp-upload/gen7/2012-04-09/]  -- Latest release. Releases are identified by animal names. If you want to install openAOS Android '''(please note Also read [http://dev.openaos.org/wiki/AndroidInstall_CM7_Gingerbread] on how to name the image file so it will turn up in your bootmenu.''' 
    9490 * Copy those files to the root of your device (the top of the filesystem you mounted earlier): 
    95   * zImage 
    96   * initramfs.cpio.gz 
    97   * openaos-gingerbread.... -- again only if you want to boot ''openAOS Android'' too Rename the image file to openaos-gingerbread.img.gz (unpacking is optional but greatly speeds up first boot, if unpacked the image name should be openaos-gingerbread.img). 
     91   * zImage 
     92   * initramfs.cpio.gz 
     93   * Delete the menu.lst, if you have custom lines in there add them later after you first booted in the new menu.lst that is created. 
     94   * openaos-gingerbread.... -- again only if you want to boot ''openAOS Android'' too Rename the image file to openaos-gingerbread.img.gz (unpacking is optional but greatly speeds up first boot, if unpacked the image name should be openaos-gingerbread.img). 
    9895 * you have to additionally create two directories in root of your device: ''openaos'' and then within this directory ''update'' 
    99   * cd into the directory that the Archos device mounts to ("/media/Archos5" on some systems such as Ubuntu) 
    100   * "mkdir -p openaos/update"  
     96   * cd into the directory that the Archos device mounts to ("/media/Archos5" on some systems such as Ubuntu) 
     97   * "mkdir -p openaos/update" 
    10198 * then copy the following directories out of the unpacked 2.0.x firmware AOS file: ''cramfs'' and ''system'' into the just created ''update'' directory 
    102  * If you want root with rw access on stock then also copy the "rooted" folder to the openaos folder so you will see an update folder an a rooted folder in openaos. ("rooted" folder is in the kernel archive next to zImage and initramfs.cpio)  
     99 * If you want root with rw access on stock then also copy the "rooted" folder to the openaos folder so you will see an update folder an a rooted folder in openaos. ("rooted" folder is in the kernel archive next to zImage and initramfs.cpio) 
    103100 * Unmount the device safely. Under Windows you MUST disable it in the ext2/3 driver (Else you might damage the files!) 
    104101 * Press the [Power] button – The screen will flash briefly and say “Kernel and initramfs updated”. 
    105102 * Press the [Power] button – The device will now reboot. 
    106  * The Boot menu should now appear.  
     103 * The Boot menu should now appear. 
    107104 
    108105Congratulations you should now have an dual-booting gen7 device! '''IMPORTANT: Continue reading if you also installed !FroYo or Gingerbread! ''' 
    109106 
    110   
    111  
    112  
    113107== Important things to do now: == 
    114108 1. Boot into the original Archos Android firmware to make sure that it works! (''openAOS Android'' needs to extract a few files from it so if something is wrong here, '''''openAOS Android'' won't boot or at least won't work properly''' either!) 
    115   1. Boot ''openAOS Android'' 
    116    * If you left the image compressed the openAOS logo will stay for around a minute or two while it's unpacking. 
    117    * If the openAOS logo stays much longer then something is still wrong. Most likely the filename from the image file see above you renamed it correctly. If that's not the problem, try uncompressing the .img.gz file -- sometimes automatic unpacking doesn't work. 
    118    * If the image is unpacked it should switch after 2-3 seconds to our openAOS Android boot animation. 
     109   1. Boot ''openAOS Android'' 
     110     * If you left the image compressed the openAOS logo will stay for around a minute or two while it's unpacking. 
     111     * If the openAOS logo stays much longer then something is still wrong. Most likely the filename from the image file see above you renamed it correctly. If that's not the problem, try uncompressing the .img.gz file -- sometimes automatic unpacking doesn't work. 
     112     * If the image is unpacked it should switch after 2-3 seconds to our openAOS Android boot animation. 
    119113 
    120114'''Note:''' For Gingerbread you also need to read this wiki page [wiki:AndroidInstall_CM7_Gingerbread Guidelines to install Gingerbread] 
    121115 
    122116Sample menu.lst: 
     117 
    123118{{{ 
    124119Donut|ANDROID||/init|0 
     
    127122}}} 
    128123Note: extension to the menu.lst structure. 
    129  - If you add '|1' then fbset will set the framebuffer like in the original SDE kernel (e.g. for Ångström). 
    130  - If you add '|0' then it will be set like for the Android like Archos firmware, Froyo, Gingerbread. 
     124 
     125 * If you add '|1' then fbset will set the framebuffer like in the original SDE kernel (e.g. for Ångström). 
     126 * If you add '|0' then it will be set like for the Android like Archos firmware, Froyo, Gingerbread. 
     127 
    131128(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.) 
    132129 
    133  
    134  
    135130== Additional features == 
    136  
    137131 * You can update the archos firmware by putting the cramfs and system directory of an unpacked firmware in the openaos/update directory. Both directories (cramfs and system) should have been deleted after an successful update. (If not you most likely made an mistake or used the wrong initramfs) 
    138132 * If you update the Archos firmware for the first time the initramfs will automatically create an menu.lst for you or if it exists check if it already has an archos entry and add it if necessary. 
    139133 * You can enable serial debug using the g_serial driver that will create three cdc-acm serial devices via USB. Just connect your Archos by USB to your PC and select yes from the menu that will pop up on boot. (this is now '''only''' available in the special version of initramfs as too many users cause them selves problems by activating it in combination with android. See here: http://www.openaos.org/wp-upload/gen7/2010-11-11/) 
    140   * ~~The first ACM device will have an root shell bound to it under Android (both Archos and !ArchDruid !FroYo).~~ Please use ADB. Due to instability this Android feature is now only available on the UART ttyS2.  
    141   * Under other OS' you have to bind an getty to it in the inittab to get an login prompt / shell on the first ACM device. 
    142   * The third ACM device will have the kernel messages on it. 
    143   * '''Again do not use the debug initramfs in connection with Android! It will make it very unstable! ''' Use ADB instead. You can turn it on from the settings menu or init.rc 
     134   * ~~The first ACM device will have an root shell bound to it under Android (both Archos and !ArchDruid !FroYo).~~ Please use ADB. Due to instability this Android feature is now only available on the UART ttyS2. 
     135   * Under other OS' you have to bind an getty to it in the inittab to get an login prompt / shell on the first ACM device. 
     136   * The third ACM device will have the kernel messages on it. 
     137   * '''Again do not use the debug initramfs in connection with Android! It will make it very unstable! ''' Use ADB instead. You can turn it on from the settings menu or init.rc 
    144138 * root -> http://forum.archosfans.com/viewtopic.php?f=47&t=50465 (I hope you are conscious about what you are doing). 
    145139 
    146  
    147140== How to repair things if you messed it up / Get back to Archos firmware == 
    148  
    149141If anything goes wrong, dont panic; your Archos is nearly un-brickable. 
    150142