How to cook up a rom? - G1 Q&A, Help & Troubleshooting

What do I need to get started? (Programs to download, etc.)
Any good readings on the particular subject?
Do I need to know any programming languages? (C++, etc.)
How do I know which SPL and radio are required?
How could I fix bugs?
Most importatnly, what are the detailed steps in creating a ROM?
Before I get the unoriginal e-rage phrase: "USE THE SEARCH BUTTON HEH HEH HEH HEH," I have. But when I do, the results are really broad, and I'm not willing to go through 12 pages of non-related threads. And yes, I did use google. Same thing. Androidspin only teaches the basic first parts to creating a ROM, and in my opinion, doesn't really get into it. I'm experienced when it comes to flashing, as I have done it for a while now. I'm not a complete noob as I know what basic terms are when it comes to rooting and flashing. These are the questions I need answered and I would really appreciate it if I had a lending hand to help me get started.
Regards,

well i guess i should ask what OS you're using.

smackdown85146 said:
well i guess i should ask what OS you're using.
Click to expand...
Click to collapse
I have a macbook partitioned with windows.

Soo yeah I recc you get Linux on your Mac first, if possible.

smackdown85146 said:
well i guess i should ask what OS you're using.
Click to expand...
Click to collapse
I have a macbook partitioned with windows.

Ace42 said:
Soo yeah I recc you get Linux on your Mac first, if possible.
Click to expand...
Click to collapse
Linux or Ubuntu are the way to go.

smackdown85146 said:
Linux or Ubuntu are the way to go.
Click to expand...
Click to collapse
Woops didn't mean to double post. So I should get another partition with linux?
-EDIT-
I'm working on getting ubuntu now..

Well, if we want to build from source (who doesn't), you'll need linux or os x. File moving can be done on any os.

JAguirre1231 said:
Well, if we want to build from source (who doesn't), you'll need linux or os x. File moving can be done on any os.
Click to expand...
Click to collapse
I have ubuntu now, working on partitioning it. :3

http://ctso.me/2010/01/building-an-android-rom-part-1/ <-- it helps to follow on twitter. you'll be surprised what you'll find.

I was wondering how to do so as well. Could I cook up a rom in os x? Or should I do it in linux in virtualbox?

hiddengopher said:
I was wondering how to do so as well. Could I cook up a rom in os x? Or should I do it in linux in virtualbox?
Click to expand...
Click to collapse
The ONLY OS not able to build from source is Windows. The android website will get you started

JAguirre1231 said:
The ONLY OS not able to build from source is Windows. The android website will get you started
Click to expand...
Click to collapse
Thats messed up that it would be un-build-able in windows.

Ace42 said:
Thats messed up that it would be un-build-able in windows.
Click to expand...
Click to collapse
It's windows fault, not Google's

JAguirre1231 said:
It's windows fault, not Google's
Click to expand...
Click to collapse
That's discrimination cause they're making Microsoft feel left out, by saying we dont support you.

Ace42 said:
That's discrimination cause they're making Microsoft feel left out, by saying we dont support you.
Click to expand...
Click to collapse
But it's Microsoft's fault! Trust me Google would rather have the largest Operating System out there be able to build from source, but they CAN'T.

http://source.android.com/download
If you want to build from source, this will give you the basics

JAguirre1231 said:
But it's Microsoft's fault! Trust me Google would rather have the largest Operating System out there be able to build from source, but they CAN'T.
Click to expand...
Click to collapse
*tux shyly builds roms in background*

JAguirre1231 said:
It's windows fault, not Google's
Click to expand...
Click to collapse
Good thing I have the Mighty-Leo on my side so I can have my own winmo roms.

hiddengopher said:
*tux shyly builds roms in background*
Click to expand...
Click to collapse
It's ok tux, I like you.

Related

Linux

Hello,
Does anyone have any ideia how upgrade under linux?
all the best,
OliveiraJMR.
Next version of HermFlasher will support Trinity devices too:
http://forum.xda-developers.com/showthread.php?t=296436
I have a semi-working beta on my laptop, I need to finish the device identifying part and release it... hope to find time to do it soon.
great.. where does the appointment will be ?? Here???
I use linux and 2 are the cases..
- I should be able to use the phone in all his features from linux..
- I flash the phone to linux
Already released the beta working on trinity, see here:
http://forum.xda-developers.com/showpost.php?p=1267216&postcount=48
please report if you find any problems with it
Is there an linux-rom for trinity?
Uhm... its a rom flasher for ppl who have installed Linux on their PC's?
tribal27 said:
Is there an linux-rom for trinity?
Click to expand...
Click to collapse
Nope
Sparticle said:
Uhm... its a rom flasher for ppl who have installed Linux on their PC's?
Click to expand...
Click to collapse
Yes, that is.
Maybe it's an idea to port linux to the trinity, i searched google and find out it has be done with other HTC devices
There is already some ongoing research:
http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/arch/arm/mach-s3c2410/
in hermes we already have a booting kernel
pof said:
There is already some ongoing research:
http://handhelds.org/cgi-bin/cvsweb.cgi/linux/kernel26/arch/arm/mach-s3c2410/
in hermes we already have a booting kernel
Click to expand...
Click to collapse
Cool, i can't wait

Need the source

How can I get the source of android that works on HTC Kaiser?
I mean the source for the Android, not the linux kernel. It seems that the official one doesn't work.
Depends on which android version you mean. And you can find them in the rom development thread.
stuntdouble said:
Depends on which android version you mean. And you can find them in the rom development thread.
Click to expand...
Click to collapse
Any version is OK, could you please give me a link to the thread?
tomduan said:
I mean the source for the Android, not the linux kernel. It seems that the official one doesn't work.
Click to expand...
Click to collapse
There is no Android that works on the Kaiser. The rom chefs take the Android version and run it in a Linux shell within Windows Mobile.
To get your own development tools go here.
http://developer.android.com/index.html
http://code.google.com/p/android/issues/list
As stated there are no roms for flashing around at this time, you must boot via WM but here are some threads to get you started:
http://forum.xda-developers.com/showthread.php?t=587116
http://forum.xda-developers.com/showthread.php?t=600154
http://forum.xda-developers.com/showthread.php?t=613049
stuntdouble said:
As stated there are no roms for flashing around at this time, you must boot via WM but here are some threads to get you started:
http://forum.xda-developers.com/showthread.php?t=587116
http://forum.xda-developers.com/showthread.php?t=600154
http://forum.xda-developers.com/showthread.php?t=613049
Click to expand...
Click to collapse
Yeah, I know that, but what I need is the source code to generate the system.sqsh file.
tomduan said:
Yeah, I know that, but what I need is the source code to generate the system.sqsh file.
Click to expand...
Click to collapse
You had better get extracting then eh.
stuntdouble said:
You had better get extracting then eh.
Click to expand...
Click to collapse
What is that mean?
tomduan said:
What is that mean?
Click to expand...
Click to collapse
Extracting the code for yourself so you can reverse engineer and create exactly what you were after in the first place. Job's a good'un.
denco7 said:
There is no Android that works on the Kaiser. The rom chefs take the Android version and run it in a Linux shell within Windows Mobile.
To get your own development tools go here.
http://developer.android.com/index.html
http://code.google.com/p/android/issues/list
Click to expand...
Click to collapse
These links should have given you everything that you need or pointed you to what you need.

Flash back to stock using linux

Ok. so for a vast majority of my time, I use either Ubuntu or Debian linux. Mostly because I want to learn how to use the more advanced features, but that's beside the point.
How can I flash my captivate back to stock from within linux, seeing as Odin clearly cannot run.
Regards
Smith
Try this, I am not a linux user but I think this is what you need
http://forum.xda-developers.com/showthread.php?t=755265
mcord11758 said:
Try this, I am not a linux user but I think this is what you need
http://forum.xda-developers.com/showthread.php?t=755265
Click to expand...
Click to collapse
That should do the trick.
I was wondering if there is any other solution?? Just out of curiosity, I can't find one. Also, that app appears to be for x64 architecture only, I'm running a x32 bit machine.
Regards
Smith
smithisize said:
That should do the trick.
I was wondering if there is any other solution?? Just out of curiosity, I can't find one. Also, that app appears to be for x64 architecture only, I'm running a x32 bit machine.
Regards
Smith
Click to expand...
Click to collapse
Post questions on the thread. The dev has been responsive in the past
32x here and i run it...

[Q] provide me a link please

can someone give me a link to things that i need to build a rom? i dont to use kitchen...i prefer more to coding...
OK, do you have linux installed?
OK, do you run LinuxMint? OR Have you setup a workspace if your on windows/macOS
heres A screenshot of what i run: (check attachment please for screenshot
i do have ubuntu...can i use it? linux mint is based on ubuntu...right?
SilverXCI said:
i do have ubuntu...can i use it? linux mint is based on ubuntu...right?
Click to expand...
Click to collapse
yes, you can use ubuntu, that will work
ok...i got linux system...what else?
SilverXCI said:
ok...i got linux system...what else?
Click to expand...
Click to collapse
then check here.
I do it a different way, different codes, i started off with this, but then i did more research and i worked out code for myself.
But if i told you how i do my ROM's (I will be releasing a new ROM shortly ) that would be secret telling
good luck
thanx dude...im so lazy to find a post how to build ur rom
SilverXCI said:
thanx dude...im so lazy to find a post how to build ur rom
Click to expand...
Click to collapse
Lol. I guess so. Anyway good luck
Sent from my X8 using XDA

[Q] Linux root tool

Hi. So far all the root tools are for windows OS. I am using a linux distro and would like to avoid using Windows. Anyone know of a linux root tool that works?
Extexer said:
Hi. So far all the root tools are for windows OS. I am using a linux distro and would like to avoid using Windows. Anyone know of a linux root tool that works?
Click to expand...
Click to collapse
Wine.
Rekoil said:
Wine.
Click to expand...
Click to collapse
I doubt wine will have proper driver support for those tools
Extexer said:
I doubt wine will have proper driver support for those tools
Click to expand...
Click to collapse
Have you tried it?
The other way round works, I have Linux on a VM on my works laptop and everything works exactly the same as on my own dual boot Linux/windows laptop...
So maybe wine will work for you...try it
gregbradley said:
Have you tried it?
The other way round works, I have Linux on a VM on my works laptop and everything works exactly the same as on my own dual boot Linux/windows laptop...
So maybe wine will work for you...try it
Click to expand...
Click to collapse
As expected it didn't work. Wine can't even open a program like vroot after install.
Extexer said:
As expected it didn't work. Wine can't even open a program like vroot after install.
Click to expand...
Click to collapse
OK, try a windows install then. Some of these programs only support windows
gregbradley said:
OK, try a windows install then. Some of these programs only support windows
Click to expand...
Click to collapse
Yes i know that, that is why i asked if there was a linux tool. But a windows install would be a waste of time for me right now
Extexer said:
Yes i know that, that is why i asked if there was a linux tool. But a windows install would be a waste of time for me right now
Click to expand...
Click to collapse
You could have installed one, rooted your phone and reinstalled Linux in far less time than this thread has been going...
Extexer said:
As expected it didn't work. Wine can't even open a program like vroot after install.
Click to expand...
Click to collapse
I'm not really surprised hehe. Unfortunately it seems Windows is your only option right now.
gregbradley said:
You could have installed one, rooted your phone and reinstalled Linux in far less time than this thread has been going...
Click to expand...
Click to collapse
But far less active time.
Rekoil said:
I'm not really surprised hehe. Unfortunately it seems Windows is your only option right now.
But far less active time.
Click to expand...
Click to collapse
but more productive time..
I understand your situation, but I am sure you can see a friend with a windows install and root your phone on it, its a 10 second job and only a few scripts to download..
gregbradley said:
but more productive time..
I understand your situation, but I am sure you can see a friend with a windows install and root your phone on it, its a 10 second job and only a few scripts to download..
Click to expand...
Click to collapse
Avoiding Windows at all costs is a noble cause, I understand if the man is looking for a Linux tool!
Rekoil said:
Avoiding Windows at all costs is a noble cause, I understand if the man is looking for a Linux tool!
Click to expand...
Click to collapse
I understand, I am no windows fan, its just what I grew up with and I am turning to Linux more and more each day...but unfortunately windows have the monopoly on some people, so keeping a windows OS is still sensible to me
gregbradley said:
but more productive time..
I understand your situation, but I am sure you can see a friend with a windows install and root your phone on it, its a 10 second job and only a few scripts to download..
Click to expand...
Click to collapse
Yeah ill most likely do that
yeah i just used virtualbox, and useed usb pasthrough.
Extexer said:
Hi. So far all the root tools are for windows OS. I am using a linux distro and would like to avoid using Windows. Anyone know of a linux root tool that works?
Click to expand...
Click to collapse
Thanks for starting the thread, I would as well use only Linux tools if possible.
Sent from my C6903 using XDA Premium 4 mobile app

Categories

Resources