New Samsung alert! Score a Galaxy S21 5G for as little as $99 right now
- Forum
- LG Android Phones
- More LG Phones
- LG Optimus Series
- Virgin Mobile Optimus V
- Optimus V Rooting, ROMs, and Hacks
Building your own ROM
- JerryScriptDaydream BelieverOK, so several forum members have now successfully built a working ROM from the IHO repository. So you may be asking yourself, what do I do with all these files, how do I customize it, how do I make the changes I want to make? Here's a good video tutorial by TechTV that can help you get to the next level in building your own ROM.
08-15-2011 11:20 PMLike 0 - Thanks Jerry! A week ago I never even touched Linux before, but your instructions on the third post of this thread walked me through building my own rom, I like simplified instructions, I'm pretty new to any of this still.08-16-2011 12:36 AMLike 0
- Jerry, can you update the 3rd post? It seems like there are some outdated/contradicting info. use '-b gingerbread' or not? There are a lot of good details there that are lacking in the current wiki page to help someone new to build. Or could clean it up a bit and just add it to the wiki too. I'm itching to build my own ROM now, but would like to get a clearer understanding of the steps first.JerryScript likes this.08-17-2011 01:42 AMLike 1
- I'm attempting to build this on a freshly installed Ubuntu 11.04 AMD64 system, 15 minutes into 'make bacon', my last line is:
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/noproguard.classes-with-local.dex] Killed
Anyone know what this is? I followed Jerry's post #3 & added all of the components after fresh Ubuntu install. Here's more recent lines from the stdout before the killed part:
Aidl: framework <= frameworks/base/core/java/com/android/internal/view/IInputCon - Pastebin.com08-19-2011 01:38 AMLike 0 - Jerry, can you update the 3rd post? It seems like there are some outdated/contradicting info. use '-b gingerbread' or not? There are a lot of good details there that are lacking in the current wiki page to help someone new to build. Or could clean it up a bit and just add it to the wiki too. I'm itching to build my own ROM now, but would like to get a clearer understanding of the steps first.Whyzor likes this.08-19-2011 01:58 AMLike 1
- JerryScriptDaydream BelieverI'm attempting to build this on a freshly installed Ubuntu 11.04 AMD64 system, 15 minutes into 'make bacon', my last line is:
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/noproguard.classes-with-local.dex] Killed
Anyone know what this is? I followed Jerry's post #3 & added all of the components after fresh Ubuntu install. Here's more recent lines from the stdout before the killed part:
Aidl: framework <= frameworks/base/core/java/com/android/internal/view/IInputCon - Pastebin.com08-23-2011 12:08 AMLike 0 - Did you ever get past this? I had the same error a couple of times recently, and I ended up deleting the entire source tree, including the hidden .repo file, and then doing a fresh repo init and repo sync. Built fine both times I had that error after fresh syncs. I'm not sure why we both get that same error, are you using the default install of Wubi like I am? If so, Blarf is probably right, since it creates a pathetically small space for Ubuntu to run it.08-23-2011 12:21 AMLike 0
- Another brand-noob guy trying out his first build. I tried setting up my arch linux system to do this, but I was running into trouble finding all the packages necessary ( for example I can't find the libsdl1.2-dev package for arch. Are some of them debian (and/or Ubuntu) specific?)
So I switched to my new Mint Debian Edition install and got everything in place that I needed (I think).
When I tried to make my bacon, I got the following, and have no idea how to fix it:
$ make -j2 bacon
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.5
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================
Checking build tools versions...
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
find: `out/target/common/docs/gen': No such file or directory
make: *** No rule to make target `bacon'. Stop.
Hope it isn't something really obvious (and stupid!)... I wonder if some directory isn't in the right place, or...08-23-2011 02:09 PMLike 0 - I give up. Me and my PC just aren't meant to compile our own rom. Ok I don't give up, but I'm going to take a break. I will try it with debian alater and see if I have any luck08-23-2011 03:39 PMLike 0
- JerryScriptDaydream BelieverAnother brand-noob guy trying out his first build. I tried setting up my arch linux system to do this, but I was running into trouble finding all the packages necessary ( for example I can't find the libsdl1.2-dev package for arch. Are some of them debian (and/or Ubuntu) specific?)
So I switched to my new Mint Debian Edition install and got everything in place that I needed (I think).
When I tried to make my bacon, I got the following, and have no idea how to fix it:
Hope it isn't something really obvious (and stupid!)... I wonder if some directory isn't in the right place, or...
Code:. build/envsetup.sh lunch 2
wilberfan likes this.08-23-2011 05:03 PMLike 1 - Okay. For my purposes at least, this thread has formally been succeeded by two things:
1.) The wiki entry located here.
2.) The porting IHO to a different Optimus phone thread on XDA.
Like the official thread dev threads the move to the wiki is designed to encourage people to develop a single reference where usable build instructions can be found instead of spreading it out through a lengthy forum thread. As usual I'd like to request that any significant changes to the wiki be coordinated with Centinel.JerryScript likes this.08-23-2011 05:11 PMLike 1 - Damn. I may have missed a step. [blush] I know I did the . build/envsetup.sh, but I don't remember doing "lunch"!
Sheesh. Noobs, ya know?
I'll try again tonight... Thanks!
ps Is your "2" above shorthand for "make -j2 bacon" ??08-23-2011 05:21 PMLike 0 -
- Well, this won't impress any of you'ze guys, but Yay!
Code:Package complete: /home/wilberfan/android/system/out/target/product/thunderc/update-cm-7.1.0-RC1-IHO-KANG-signed.zip c3d67f7291865c36e5cddf297895e95b update-cm-7.1.0-RC1-IHO-KANG-signed.zip
Of course, I haven't tried flashing it yet, but it's still a "yay".08-23-2011 11:35 PMLike 0 -
- Well, this won't impress any of you'ze guys, but Yay!
Code:Package complete: /home/wilberfan/android/system/out/target/product/thunderc/update-cm-7.1.0-RC1-IHO-KANG-signed.zip c3d67f7291865c36e5cddf297895e95b update-cm-7.1.0-RC1-IHO-KANG-signed.zip
Of course, I haven't tried flashing it yet, but it's still a "yay".08-24-2011 02:30 AMLike 0 - I've been building this for a couple of weeks. Last night I started getting this error when syncing the repo.Fetching projects: 91% (184/202) remote: fatal: failed to read object c0f30688df7152202b032f5809b6b52d842ae09f: Invalid argument
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header
error: Cannot fetch platform/sdk08-24-2011 10:39 AMLike 0 -
-
- Did you ever get past this? I had the same error a couple of times recently, and I ended up deleting the entire source tree, including the hidden .repo file, and then doing a fresh repo init and repo sync. Built fine both times I had that error after fresh syncs. I'm not sure why we both get that same error, are you using the default install of Wubi like I am? If so, Blarf is probably right, since it creates a pathetically small space for Ubuntu to run it.08-26-2011 12:32 PMLike 0
- JerryScriptDaydream Believer
changed bootanimation
changed 2nd boot logo
removed all wallpapers, themes, and large ringtones
added bootsound support
added video camera icon
replaced LatinIME with an english only version (much smaller)
It's removing the wallpapers, themes, ringtones, and replacing LatinIME that makes my build smaller.08-27-2011 12:19 AMLike 0
- Forum
- LG Android Phones
- More LG Phones
- LG Optimus Series
- Virgin Mobile Optimus V
- Optimus V Rooting, ROMs, and Hacks
Building your own ROM
LINK TO POST COPIED TO CLIPBOARD