Jump to content

From 'Virgin' to Hero MoDaCo Custom ROM


Recommended Posts

Posted (edited)

From 'Virgin' to Hero MoDaCo Custom ROM:

In a Linux BOX

TOOLS:

To facilitate the process I download all the files into a single directory created for the occasion:

# mkdir ~/Downloads/Hero

Then you go for:





  1. Paul's Pre-rooted T-Mobile UK 2.73.110.26:

    http://content.modaco.net/hero/update-hero...oted-signed.zip


  2. The latest Radio (63.18.55.06JU_6.35.08.29):

    http://content.modaco.net/hero/update-hero...8.29-signed.zip


  3. Version 2 of Hero MoDaCo Custom ROM:





  • PROCEDURE:


    0.
    Preparation;

    1.
    Installing the Android SDK;

    2.
    Installing the patched image recovery;

    3.
    Flash T-Mobile ROM;

    4.
    Flash Radio;

    5.
    MoDaCo Flash ROM;


    0. PREPARATION;

    - MAKE SURE that the battery is fully charged;
    - Make sure that: Home/Menu->Settings->Applications->Development->USB debugging is ticked on your Hero!
    - Connect the phone via USB to computer;
    - Press and hold the status bar, then slide your finger downward to open the Notifications panel.
    - Tap 'USB connected' and select 'Mount';
    - Create a working directory:


    # mkdir ~/flash_hero


    - Copy the following files:


    # cp update-hero-t-mobile-2.73.110.26-rooted-signed.zip ~/flash/TMobile.zip
    # cp update-hero-radio-63.18.55.06JU_6.35.08.29-signed.zip ~/flash/radio.zip
    # cp 2.9-update-hero-modacocustomrom-core-signed.zip ~/flash/modaco.zip
    # cp 2.9-update-hero-modacocustomrom-bootsounds-signed.zip ~/flash/sound.zip


    1. INSTALLING THE ANDROID SDK;



    # tar -zxvf sdk_r3-android-linux.tgz



    as root:

    # mv android-sdk-linux /opt


    # chmod 0777 /opt/android-sdk-linux

    create the following text file:


    /etc/udev/rules.d/50-android.rules


    with the following contents:

    SUBSYSTEM == "usb", ATTR (idVendor) == "0BB4", ATTR (idProduct) == "0c01", MODE = "0666", OWNER = "us_name", GROUP = "us_name"


    SUBSYSTEM == "usb", ATTR (idVendor) == "0BB4", ATTR (idProduct) == "0c02", MODE = "0666", OWNER = "us_name", GROUP = "us_name"

    Change 'us_name' for your user-name;

    still as root run the following lines:

    #chmod a+r /etc/udev/rules.d/50-android.rules

    #adb kill-server; sleep 1; adb start-server



    You can verify that your device is connected by executing (from /opt/android-sdk-linux/tools):

    # ./adb devices



    Edit your ~/.bash_profile and add the full path to the 'tools' directory to it:

    PATH=/opt/android-sdk-linux/tools:"${PATH}"


    2. INSTALLING THE RECOVERY PATCHED IMAGE:



    Check where your card is mounted in my case '/media/disk'
    I take the short road doing a link:

    # ln -s /media/disk /sdcard
    # mv ~/flash_hero/ *.zip /sdcard /

    # cd ~ /Downloads/Hero/ ...Or wherever you got the file 1.1-hero-recovery.zip


    Run the following lines in directory containing 1.1-hero-recovery.zip:

    # unzip 1.1-hero-recovery.zip
    # cd 1.1-hero-recovery

    Run all this commands as root (use 'sudo', or 'su -' to switch to the superuser account);

    # chmod +x. / * linux *
    # ./adb shell-linux bootloader reboot

    ...Wait for device to reboot into bootloader;

    # . /linux boot fastboot-recovery-RA-hero-v1.2.3.img

    ....Wait for device to boot into recovery;

    # ./ install-recovery-gsm-linux.sh

    Now you can select "Reboot system now", just press the Trackball;
    Turn your phone OFF... and then ON while pressing home! ;

    DO A NANDROID BACKUP and copy that backup to your computer ...might need it some day!

    3. FLASH T-MOBILE ROM;



    Connect your phone to the principal (After making sure that the battery is fully charged);
    DO A NANDROID BACKUP SO YOU CAN 'ROLL BACK' IF REQUIRED!


    • Enter the recovery image (if you're not in it already) by powering on while pressing 'home' ;



    • Select the Apply sdcard: choose zip → TMobile.zip Apply, follow the on-screen instructions and when finished reboot!


    • This time it will take a while, be patient and DO NOT touch a thing!


    • All done! turn OFF the phone to proceed to next step.



      4. FLASH RADIO;


    • Proceed as 3. but with Apply sdcard: choose zip → radio.zip It will ask to reboot via pressing home+menu to complete installation. Obey!!!

    • The phone 'restarts' and after a short time it return to the 'green menu' but showing in white letters: Formatting CACHE: ... Nothing to worry about, simply restart with the Trackball;

    • Turn OFF your phone to proceed with the last step.

    5. MoDaCo Flash ROM;

    [*]Follow the same procedure as in 4. but with Apply sdcard: choose zip →modaco.zip, but DO NOT restart when finished, instead:

    [*]Return to Apply sdcard: choose zip and choose sound.zip.

    Finish!

Edited by duvelr
Posted

very nice, bravo! only thing i can say is maybe you should mention that it is for linux in the title. i can see the posts with "what is ~, i don't have such a folder on my pc???" before my eyes :D

very nice writeup, so all unrooted newbies, get the ubuntu cd, install by using wubi and go!

Posted

Thanks kendon... This is my way to say thanks for the resources that I found in this forum.

....maybe you should mention that it is for linux in the title.

It's says:

From 'Virgin' to Hero MoDaCo Custom ROM:

In a Linux BOX

Posted
Thanks kendon... This is my way to say thanks for the resources that I found in this forum.

It's says:

From 'Virgin' to Hero MoDaCo Custom ROM:

In a Linux BOX

yeah but this is the post. the title is what you see from the forum overview. but nevermind, ppl will figure it out eventually, maybe we can get some more ppl to use linux :D

Guest clarkEEE1
Posted

Yeah good work fella maybe this should be pinned near the top, even so you would prob get the odd nugget asking How do you flash a Rom. Nice work though should be helpful for the noobs.

Posted

One question. (Probably just me missing something, though).

Why did you install the official latest T-Mobile, then flash the radio, and then install Modaco?

I would have thought (although I am new to this) that the flashing of the t-mobile ROM would not have been necessary.

Or is there some other compelling reason to do it (ie. if you don't you brick the phone, or the radio update doesn't work etc.)

Regards,

Pulser

Posted
Why did you install the official latest T-Mobile, then flash the radio, and then install Modaco?

Regards,

Pulser

Thanks for the question Pulser, this helps to improve the post! All my fault for not being sufficiently clear from the outset.

Actually I did not install the "latest official T-Mobile" instead of this I installed Paul's pre-rooted ROM.

Why? well, I'm lazy, I guess!!! When I read Paul "note as these ROMs are repacker update zips and are identical to the generic ROMs EXCEPT they are pre-rooted." I thought: Now this is a clean and easy way to have rooted my Hero!

In short: Proceeding in this way I get:

1. new ROM;

2. Phone rooted;

3. No need to 'wipe'*

No 'wipe' is required for anyone coming from MCR 1.2 onwards, or the stock 2.73.x updates.([GSM] 04/11 2.9 - MoDaCo Custom ROM Core)

Posted
Thanks for the question Pulser, this helps to improve the post! All my fault for not being sufficiently clear from the outset.

Actually I did not install the "latest official T-Mobile" instead of this I installed Paul's pre-rooted ROM.

Why? well, I'm lazy, I guess!!! When I read Paul "note as these ROMs are repacker update zips and are identical to the generic ROMs EXCEPT they are pre-rooted." I thought: Now this is a clean and easy way to have rooted my Hero!

In short: Proceeding in this way I get:

1. new ROM;

2. Phone rooted;

3. No need to 'wipe'*

No 'wipe' is required for anyone coming from MCR 1.2 onwards, or the stock 2.73.x updates.([GSM] 04/11 2.9 - MoDaCo Custom ROM Core)

Interesting. That's exactly how I did my G2 on Windows. Except I used the generic HTC one since I will stick with it and then decide in future about the MCR. FWIW, I just got the phone yesterday, and was able to fully install using just fastboot.

I was thinking of writing a 'noob-friendly' guide to converting the G2 into a generic hero (in terms of download the latest recovery image, rom and radio. Then fastboot the recovery, nandroid backup and run the update.zip, reboot and re-do update.zip for the radio, optionally set up App2sd etc.)

If anyone thinks that would be worthwhile, let me know and I'll write it up, but it was relatively straight-forward for me to do.

Thanks for answering my question though.

Posted
...maybe this should be pinned near the top, even so you would prob get the odd nugget asking How do you flash a Rom. Nice work though should be helpful for the noobs.

What an honor for a noob, in his first post!

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.