Sunday, July 14, 2013

My Custom Android 2.2.2 Froyo Rom for LG Apex (US740)

In this post, i'll be writing about my adventures in creating a custom rom for a LG Apex (US740) on Froyo version 2.2.2. :)

1. Root your device. My version here: How to Root Any Android with Froyo (2.0)

2. Take a rom dump of your firmware in its latest updated clean restored form you dont want your applications taking up space while your modifying it. this is so you always have a good ol' stock firmware to go back to if you mess anything up. Guide here: How to EASILY Dump your Android's Rom!

3. Deox your rom and then dump it again. What does De-Oxed mean?
     A. Install busybox to your phone to allow the deox commands to work.
     1. Download busybox-1.17.2-android.zip to your computer. Also grab the ADB.zip download.
     2.  If you haven't already, create a folder like Android and extract the ADB zip to it (orginization! :))
     3. Extract the busybox file from the busybox-1.17.2-android.zip to the ADB folder.
     4. Plug in your phone to your computer and install it's drivers from the manufacture.
     4. Go to the ADB folder, press shift and in the white space of the window, right click and click open command prompt here.
     5. Type these commands:  
adb push busybox /data/local/busybox
adb shell
su
cd /data/local
chmod 755 busybox
./busybox
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
mkdir /system/xbin
/data/local/busybox cp /data/local/busybox /system/xbin
/data/local/busybox cp /data/local/busybox /system/bin
cd /system/xbin
busybox --install .
mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system
sync
reboot

     B. Deox Time!
     1. Plug in your phone, set USB Debug, and make sure you have you phone's drivers installed on your computer.
     2. Download the latest xUltimate, or if that doesn't work (unhandled exception error when you try deox), check that you have Java and it's Environment path is set. if that still doesnt work, grab a older version of xUltimate that was released for your phone's firmware version. For example, the latest 2.4 didn't work, so i got 2.2.2, which supports froyo and older.
     3. Extract xUltimate and run Main.exe. Ignore the update prompt: type n and then press enter.
     4. If it connects ok, you should now have a prompt with numbers. Type 5 and press enter. Will do most of the process automatically.
     5. When done, disable USB debug, and enable USB storage.
     6. Copy done_app and done_frame from the xUltimate folder to the root of your device's SD card
     7. Switch back to USB debug mode and open CMD from the ADB directory again.
     8. Type the following code:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
rm /system/app/*.odex
cp /sdcard/done_frame/* /system/framework/
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot

     C. Re-dump your firmware that is now deoxed
     1. How to EASILY Dump your Android's Rom!

4. Modify the rom
     A. Create a custom clockwork recover rom from the deoxed device dump: Recovery Builder
     B.

In progress...

3 comments:

  1. Yo, an astonishing blog post buddy. Thank you However I am having issue with ur RSS feed. Fail to subscribe. Is there anyone getting similar rss feed trouble? Anybody who knows please respond. Thanks!
    300c SRT8

    ReplyDelete
  2. hi..Im college student, thanks for sharing :)

    ReplyDelete
  3. If you need your ex-girlfriend or ex-boyfriend to come crawling back to you on their knees (no matter why you broke up) you must watch this video
    right away...

    (VIDEO) Text Your Ex Back?

    ReplyDelete