Building your own ROM

So I've synced, built my first ROM, and flashed it, and I've spent the last week browsing through all the source. Needless to say, I'm in over my head, but learning as much as I can.
Say I want to eliminate a stock app pre-build. I assume there's more to it than just deleting the source folder for the app, right? Let's use the stock email app as an example. What would be the correct procedure for eliminating it from the ROM?

Sent from my LG-VM670 using Tapatalk
 
So I've synced, built my first ROM, and flashed it, and I've spent the last week browsing through all the source. Needless to say, I'm in over my head, but learning as much as I can.
Say I want to eliminate a stock app pre-build. I assume there's more to it than just deleting the source folder for the app, right? Let's use the stock email app as an example. What would be the correct procedure for eliminating it from the ROM?

Sent from my LG-VM670 using Tapatalk

Find which make file includes it in a product packages statement.

To truly get an understanding of what's happening in the build process, follow the make files. Starting from the top level Makefile, follow each other mk file included down the line (your looking for the file names in the lines that state "include" in some fashion, syntax depends on the particular make file). You'll end up going through devices.mk files, vendor.mk files, etc. Along the way, you will see how each part of android is put together. ;)
 
  • Like
Reactions: flapjack.fiasco
Thanks so much JerryScript! I'm not new to Linux, I've been using it here and there for years, and I took a Linux systems administration course in college. I'm currently working on my AS in computer programming. I've just never built an OS from source before, as I'm sure is the case with most people. Point being, I consider myself fairly computer savvy, but it's obvious that there's a lot of work ahead of me.

What's your background JerryScript? Have you done work similar to this before? I know tdm does work like this professionally, but, I don't know, I guess I just want to hear that someone with an equivalent level of competence to mine progressed to the point where you are.

And thanks again to everyone here, you've all been great help!

Sent from my LG-VM670 using Tapatalk
 
Ok so I've synced and built iho from source and everything seemed to go well but once the ROM boots on my phone everything works but I get no signal at all. Switch back to backside and everything is normal again... I did do the new radio update. Anyone else have this issue?

Sent from my LG-VM670 using Tapatalk
 
Could be that something was in the middle of updating when you sync'd. Otherwise something has changed.

Sync and try again.
 
Ok so I've synced and built iho from source and everything seemed to go well but once the ROM boots on my phone everything works but I get no signal at all. Switch back to backside and everything is normal again... I did do the new radio update. Anyone else have this issue?

Sent from my LG-VM670 using Tapatalk

Same problem here. Been that way for a week.
 
Last edited:
When I synced with iho a few days ago it looked they were changing the build procedure. Going to check later on.

Sent from my LG-VM670 using Tapatalk 2 Beta-4
 
anone have experice with installing bin files in ubuntu? JDK in in bin format and wont install

There's a repo for SunJDK, and it's not the one JerryScript gives in the original instructions. I'll look it up for you after the kids get to sleep.

Sent from my LG-VM670 using Tapatalk
 
i used
Code:
~$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
as a repo and then ran
Code:
sudo apt-get install sun-java6-jdk


in return i got

Code:
root@alexandra-desktop:~# sudo apt-get install sun-java6-jdk
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package sun-java6-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package sun-java6-jdk has no installation candidate
root@alexandra-desktop:~# $file jdk-6u31-linux-i586.bin
jdk-6u31-linux-i586.bin: command not found
 
Could be that something was in the middle of updating when you sync'd. Otherwise something has changed.

Sync and try again.

I actually had the same problem yesterday building from your server.

Sent from my VM670 using Tapatalk 2 Beta-4
 
Sun Java 6 isn't working with Ubuntu now. There was some licensing issue I heard. You can still get it from other sources. Just not from sun. If you Google it, you will find one somewhere. I will try to find the one I used later on

Sent from my LG-VM670 using Tapatalk
 
  • Like
Reactions: LeslieAnn
I still haven't had the few minutes to search for it, but it comes up in searches for sun jdk ubuntu 11.10. I made the mistake of searching for 10.04 since that's what I'm running, but all the info related to 10.04 points to outdated repos.

Sent from my LG-VM670 using Tapatalk
 
im getting repo command not found

Code:
root@alexandra-desktop:~/android/system# repo init -u git://github.com/inferiorhumanorgans/android.git -b gingerbread
No command 'repo' found, did you mean:
 Command 'rep' from package 'rep' (universe)
 Command 'repl' from package 'nmh' (universe)
 Command 'repl' from package 'mailutils-mh' (universe)
repo: command not found