picture of Phil working at a PC

Contact:

Accessibility Training
Telephone:UK +44 (0)1903-783-788
Mobile:UK +44 (0)7968-136-246
Email:info@accessibilitytraining.co.uk
Picture of Phil's mixing desk


Welcome To The Installing Cyanogen ROM Mod 9 and 10 Page On Accessibility Training

Disclaimer: I shall not be held responsible if you attempt to do this on your phone and it doesn’t work or because of this, you brick your phone. For example, do not under any circumstances attempt this on any HTC phone as remote use of fastboot and adb shell aren't aloud due to security restrictions. This includes any HTC phone such as the Google Nexus 1, T-Mobile G2 etc. Get sighted assistance and use ROM Manager and clockworkmod on the phone instead. All of the methods used on this web page have been tried and tested on the Sony Xperia phones and do work. You should always strictly follow the recommendations as laid out for your phone on the Cyanogen ROM Mod page for your phone and only install recommended boot images etc. I can’t say what kind of results you may experience on other phones.

Note: if you don't want to get into any of this because it's a bit too technical then, feel free to drop me an E-mail. I can do all of this for you, for a very reasonable fee. My contact details are on this page. please feel free to read the information on our:


Terms Of Business


Page.

Installing Cyanogen ROM Mod 9 Ice-Cream Sandwich Or, Jelly Bean

These instructions will also format the data partition and install Spiel, Talkback, or, both. As always, thanks to Robbie for supplying the original instructions required when using adb shell in order to do this.

Note: in order to do this you will require the Android SDK and other files such as Java etc. Not going to cover that here as this was covered by me on the


Installing Cyanogen ROM Mod 9 and 10 Software Page


First, if you haven't already, copy the Update.zip, Gapps.zip Spiel.zip, Talkback.zip or, both screen readers to the SD Card. You can if you wish, rename them to short names. However, you may not need to if you are using copy and paste to do this as I do.

Installing a new boot image

We will now use Fastboot to install a compatible boot image on the phone. In order to do that in Windows, we need to bring up a command prompt in the directory where Fastboot is. Tip: if you are doing this on Windows then, you can go to where you have installed Fastboot. In my case that's:

C:\Program Files (x86)\Android\android-sdk\platform-tools

Then, shift right click in that directory and choose open command prompt from the menu.

This compatible boot.img is inside the ROM that you have downloded.


Info for sony xperia phones how to switch to fastboot mode when plugging in the USB cable:

  • Menu button (for Xperia™ arc, Xperia™ arc S, Xperia™ neo, Xperia™ neo V, Xperia™ pro),
  • Search button (for Xperia™ PLAY),
  • Volume up button (for Xperia™ mini, Xperia™ mini pro, Xperia™ ray, Xperia™ active, Live with Walkman™ and Xperia™ S).

Now type:

fastboot flash boot boot.img

You will see output in the terminal like the following:

flashing boot image:


sending 'boot' (4878 KB)...(bootloader) USB download speed was 9699kB/s

OKAY [ 0.516s]

writing 'boot'...

(bootloader) Download buffer format: boot IMG

(bootloader) Flash of partition 'boot' requested

(bootloader) S1 partID 0x00000003, block 0x00000280-0x000002e3 (bootloader) Erase operation complete, 0 bad blocks encountered

(bootloader) Flashing...

(bootloader) Flash operation complete

OKAY [ 1.000s]

finished. total time: 1.516s

As this is a new OS that we are installing, we will now wipe the system partition by using fastboot. Note: your screen reader should show similar output in the terminal as the above fastboot output. No need to wipe the data and cache partitions at this stage as we will do that later in the cloclworkmod script. Typing the following command will wipe the System partition:

fastboot erase system

We shall now reboot the phone into clockworkmod recovery by typing the following command:

fastboot reboot

Once the phone is in clockworkmod recovery, we shall now push the build.prop file to the phone at this stage when installing on Sony Xperia phones as not doing so, currently causes the install to fail. In order to do this, we shall need to copy the build.prop file from the .zip that contains the ROM. It's located in the:

system

Folder. Copy it to your:

C:\Program Files (x86)\Android\android-sdk\platform-tools

Folder.

Then use the following code to push the file to the phone:

adb remount

Your screen reader should say:

"remount succeeded."

Then, type the following:

adb push build.prop /system/build.prop

You should see something like the following:

139 KB/s (2858 bytes in 0.020s)

Note: if you see a smaller figure E.G. such as something like this:

31 KB/s (2858 bytes in 0.090s)

Or, when doing this on CM10, a larger figure such as something over 200KB then, push the build.prop to the phone again as it hasn't worked properly. You won't do any harm pushing the build.prop again. It will just save you going through the reboot and reflashing the ROM again.

We will now use ADB to get a shell on the phone. In order to do that in Windows, we need to bring up a command prompt in the directory where adb is. Tip: if you are doing this on Windows 7 64 bit then, you can go to where you have installed adb. In my case that's:

C:\Program Files (x86)\Android\android-sdk\platform-tools

Then, shift right click in that directory and choose open command prompt from the menu. In the command prompt Window type:

adb shell

You should now have a prompt, which can vary depending on the boot image. If it ends with "#", then you are root. If it ends with "$", type:


su

the prompt should change to "#".

Tip: you can copy and paste all of the following entries. You can do that by copying all of the text into notepad then, selecting it a line at a time. Press Control C to copy. Then, when in the command prompt, right click in that Window and choose Paste from the menu. Then, press enter to execute the text in the window. Be very careful when selecting text that you only select the text and no blank space. Anyway, back to installing the ROM.

We need to create the clockworkmod script to install the ROM. We can do that by typing the following:


cat > /cache/recovery/extendedcommand

format("/cache");

format("/data");

install_zip("/sdcard/update.zip");

install_zip("/sdcard/gapps.zip");

install_zip(“/sdcard/YourGapps.zip”);

install_zip(“/sdcard/Spiel.zip”);

install_zip(“/sdcard/Talkback.zip”);

Type the keystroke Control D to end the cloclworkmod script, followed by the enter key.

We now need to reboot the phone into recovery mode so that it will continue with the install and the following commands, followed by the enter key will do that:

touch /cache/recovery/boot

reboot

The phone will take a minimum of 5 minutes, 7 or, 8 if you have your own customised Gapps as part of the ROM to install. If you leave the USB cable connected to your PC then, you will hear the phone connect then, disconnect a couple of times in a short period. Once it has done that, after 20 seconds or so, type the following

adb remount

If you receive an error message that says "Device not found then, all is well and the install is going as planned. If you see the following message:

"remount succeeded."

Then, go back and reinstall the build.prop file and do the ROM install again.

If everything has gone as planned and you have installed the Spiel or, one of the Talkback.zips from this website then, you should now be able to draw the rectangle on the screen by placing the phone in portrait then, draw the rectangle clockwise, starting on the top left hand side of the screen and setup the phone using Spiel or, Talkback. tip: when doing this, it's not necessary to draw round the entire screen. For example, you could start by drawing halfway along the length of the phone then, finish drawing the rest of the rectangle way before the Back, Home and Menu keys on the right.


Back to Installing Cyanogen ROM Mod 9 Software Page Back to Home Page


All copyrights are the property of their respective owners. All rights reserved.