Changes between Version 65 and Version 66 of SettingUpMultiRootGen7
- Timestamp:
- 04/09/12 16:31:17 (14 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SettingUpMultiRootGen7
v65 v66 1 1 [[PageOutline]] 2 2 3 == Important things == 4 This guide is for the following Archos generation 7 models: 3 5 4 This guide is for the following Archos generation 7 models:5 6 * A5S - thin with SSD/flash up to 64GB 6 7 * A5H - thick with hard-disk inside … … 11 12 12 13 === This is a wiki page it keeps changing, don't link to old versions! === 13 14 14 Please 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] 15 15 … … 27 27 </ul> 28 28 </h2> 29 }}} 30 29 }}} 31 30 == Download the needed files from the archos homepage == 32 31 * download the SDE firmware, rename the file firmware_archos5.aos to sde_archos5.aos to avoid confusion … … 37 36 == Compile aos tools (instructions for Ubuntu 10.04) == 38 37 (To bring up a terminal under Ubuntu, type ctrl-alt-T or see [https://help.ubuntu.com/community/UsingTheTerminal Using the Terminal].) 38 39 39 {{{ 40 40 sudo apt-get install libssl-dev #(if you have not already done it) … … 53 53 }}} 54 54 The following warning message 55 55 56 {{{ 56 57 WARNING: androidroot.cramfs.secure: Signature is invalid. … … 65 66 we will need them later 66 67 67 68 68 == Quick Steps For Setup: == 69 70 71 '''First Step:''' 72 [[BR]] 69 '''First Step:''' [[BR]] 73 70 74 71 * Copy sde_archos5.aos via usb the root of your device, then unmount cleanly. … … 86 83 * 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. 87 84 * 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.html85 * For Windows 7 - http://sourceforge.net/projects/ext2fsd/ 86 * For Windows XP and Vista - http://www.fs-driver.org/download.html 90 87 * 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.''' 94 90 * 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). 98 95 * 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" 101 98 * 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) 103 100 * Unmount the device safely. Under Windows you MUST disable it in the ext2/3 driver (Else you might damage the files!) 104 101 * Press the [Power] button – The screen will flash briefly and say “Kernel and initramfs updated”. 105 102 * Press the [Power] button – The device will now reboot. 106 * The Boot menu should now appear. 103 * The Boot menu should now appear. 107 104 108 105 Congratulations you should now have an dual-booting gen7 device! '''IMPORTANT: Continue reading if you also installed !FroYo or Gingerbread! ''' 109 106 110 111 112 113 107 == Important things to do now: == 114 108 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. 119 113 120 114 '''Note:''' For Gingerbread you also need to read this wiki page [wiki:AndroidInstall_CM7_Gingerbread Guidelines to install Gingerbread] 121 115 122 116 Sample menu.lst: 117 123 118 {{{ 124 119 Donut|ANDROID||/init|0 … … 127 122 }}} 128 123 Note: 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 131 128 (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.) 132 129 133 134 135 130 == Additional features == 136 137 131 * 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) 138 132 * 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. 139 133 * 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.rc134 * ~~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 144 138 * root -> http://forum.archosfans.com/viewtopic.php?f=47&t=50465 (I hope you are conscious about what you are doing). 145 139 146 147 140 == How to repair things if you messed it up / Get back to Archos firmware == 148 149 141 If anything goes wrong, dont panic; your Archos is nearly un-brickable. 150 142
