Help compiling a ROM please ? - Desire Q&A, Help & Troubleshooting

I'm looking for a 2.2 Froyo rom, WITH HTC Sence UI.
pref, 720p recording, newest radio ect..
tried searching through the forum but can't seem to find one i like, most roms have been trimmed down..
couldn't understand the rom kitchen othervise i would compile my own..
any link for this kind of rom or if someone could compile it for me, would be highly aprishiated.
excuse my bad grammar.

Your kidding right?
I'd have a look again if I were you.

Please use search before posting! When you signed up to these forums you agreed to the forum rules, and the number 1 rule is:
1. Search before posting.
Use one of our search functions before posting, whether you have a question or something new to share, it's very likely someone already asked that question or shared that news.
Click to expand...
Click to collapse
Everything you need to know is here, but always search before asking.
Chef Central > Android http://forum.xda-developers.com/forumdisplay.php?f=613
Learn Android ROM development. For serious students only. This forum is monitored and moderated by seasoned developers.
http://forum.xda-developers.com/showthread.php?t=667298
cyanogen said:
Here's my advice for those looking to make their own Android ROMs.. Stop. Write an app or two first, learn how the system works from a developer standpoint. Learn some Java. Read the developer documentation. Learn how to use Git. Then learn how to build AOSP from source. Read the porting guides, and learn how the build system works (the links below have almost everything you could possibly want to know). Now try to put your new found skills to work on enhancing the platform by writing code or making theme overlays. And share! And put that **** on your resume. There is a *ton* of information out there but any kind of "step-by-step rom cooking guide" is going to be a complete fail- it's too broad of a subject.
Android Developer Guides: http://d.android.com
Working with AOSP source: http://source.android.com
Platform Developer Guide: http://pdk.android.com
Android Gitweb: http://android.git.kernel.org
Git Ready (Git tips and tricks): http://www.gitready.com/
Building CyanogenMod: http://wiki.cyanogenmod.com/index.php/Building_from_source
How Dexopt works and what are those odex files: http://android.git.kernel.org/?p=pl...bcd225e47b2cc7abb2a366112d3aeb45936;hb=master
The PDK site is absolutely vital if you are going to work on custom ROMs. Read every single page. Twice. Some of the info isn't up to date, but you'll get a really good idea about what goes into actually configuring Android to work on a real device.
Click to expand...
Click to collapse

Klutsh said:
Your kidding right?
I'd have a look again if I were you.
Click to expand...
Click to collapse
It's quite hilarious now when I read it again. How %&ยค/"# some people can be

Related

noob question: kitchen vs tools..same?

Newbie question. I don't understand, what is difference between a kitchen and tools like mamaich's ? At first I thought they were the same but now I'm not sure because I keep seeing references that don't make sense.
Post removed.
Post removed? That's it? Pardon me....Look, I know this is a newbie question but I am honestly confused as to what the definition of kitchen is. If I use mamaich's tools to prepare, view, etc. I end up with what seems, to me, to be a similar thing as a kitchen. Are they the same? Is there something about a "kitchen" that is fundamentally different than only using the tools? I have read many, many pages here and I'm honestly trying to understand. Please point me in the right direction. Thank you.
edit: sorry, I thought "post removed" in the earlier post meant I got my message removed from the forum by an admin, anyway, my question still stands.
Since the unhelpful member above failed to give you a decent answer, I will help you. Tools are either a program or a set of programs designed to do a task with the roms (for example, Mammich's tools are designed to help you edit the imgfs part of the rom). A kitchen is a set of tools (made by various people) designed to edit the whole rom or most of the rom and build your own custom roms.For future reference, if you ever have any other questions about rom building, let me know and I will help you out as much as I can.
Thank you very much Steven855 and I appreciate the offer to help.
I originally gave an inadequate answer - thus the removed post. Home ill with the flu, Nyquilled up and forgot which section I was in (thought I was in the Kaiser specific section and gave an answer associated with that). No ill intentions, so to speak.
What I will say is the various tools are something a newbie should probably feel comfortable using. Before using a kitchen, read, learn and flash a number of others' custom ROMs. While the great developers here have made cooking custom ROMs very easy with the kitchens, you can cause a lot of problems with your device if you don't know what you're doing.
No ill intentions taken. Like I said, at first I misunderstood and thought my post got nixed by an admin. btw notwithstanding Steven855's helpful answer, I had my question answered earlier on another thread when the same question came up.
Quote originally Posted by ramsses:
My understanding is the kitchen implies each module (with its associated registry - RGU - files and dlls etc.) is explicitly separated so it can be incrementally and selectively combined. What we are doing here is taking an existing set of ROMs and combining the dlls, exe etc. by hand - there isn't a handy gui where you can select which module you want. Also, the registry is necessarily hand crafted too. So by using the extract/rebuild tools, we are making a ROM, but it isn't a kitchen, more a roadside burger van!
Thanks again, really enjoying this site, and learning alot.
Steven855 said:
Since the unhelpful member above failed to give you a decent answer, I will help you. Tools are either a program or a set of programs designed to do a task with the roms (for example, Mammich's tools are designed to help you edit the imgfs part of the rom). A kitchen is a set of tools (made by various people) designed to edit the whole rom or most of the rom and build your own custom roms.For future reference, if you ever have any other questions about rom building, let me know and I will help you out as much as I can.
Click to expand...
Click to collapse
Hi Steven. I was wondering if you knew about ROM cooking for Verizon CDMA devices..ie the i730? I was looking around to see where I would be able to find the bootloader for it but I haven't found any answers yet. Thanks.
Sorry! Unfortunately, I don't know anything about rom cooking for pocket pc phones (yet). I'm still trying to get the hang of this rom building stuff myself (after 2 failed attemps to make an updated rom for the axim X50(mid)).

HTC HERO - Idiots Guide to Installing new ROM

Hi Guys,
I have an Unlocked T-Mobile G2 Touch - AKA - HERO !!!
I have installed new firmware / roms on Nokia phones numerous times but Android is new to me - however i wont go back to Nokia as the Hero is great...
CAN SOMEONE ON HERE POST AN IDIOTS GUIDE MAYBE WITH VIDEO ON HOW TO DEBRAND / INSTALL ORIGINAL HTC HERO ROM
I have tried and failed reading numerous posts and there are plenty of newcomers here that are after the same.....
Please, Please help us newbies to ANDROID out...
Thanks
Checkout this link:
http://android.modaco.com/content/h...and-your-orange-t-mo-etc-device-via-nandroid/
Explain
packetlss said:
Checkout this link:
http://android.modaco.com/content/h...and-your-orange-t-mo-etc-device-via-nandroid/
Click to expand...
Click to collapse
Hi - Thanks for that but i got lost on the keep original name etc..... - I think i must be an idiot !!! HELP - someone put a step by step guide up please...
I'd second this request.
Looking through posts on modaco and here it's not obvious what you have to do and why you are doing it.
What is nandroid and recovery image etc ?
cheers
And if it could be Mac and Windows information, not all of us are Windows based here
joemax said:
And if it could be Mac and Windows information, not all of us are Windows based here
Click to expand...
Click to collapse
Exactly!!!
A lot of us are Linux users too!!!
No offense, but please get more into adb and all the tools needed for reflashing.
Making things idiot proof is useless in my opinion. If you have no idea how to use adb, why upgrade anyway? Chances are you won't understand most custom upgrades/tweaks anyway..
All releases by HTC will be idiot proof, no doubt about it, but installing a custom rom takes skill, knowledge and patience.
In general, an idiot posseses none of the above.
Second, there are no custom roms available for the Hero.
If you want to install custom roms in the future, take some time to understand things. Spoonfeeding this info won't learn you anything.
Sykow said:
No offense, but please get more into adb and all the tools needed for reflashing.
Making things idiot proof is useless in my opinion. If you have no idea how to use adb, why upgrade anyway? Chances are you won't understand most custom upgrades/tweaks anyway..
All releases by HTC will be idiot proof, no doubt about it, but installing a custom rom takes skill, knowledge and patience.
In general, an idiot posseses none of the above.
Second, there are no custom roms available for the Hero.
If you want to install custom roms in the future, take some time to understand things. Spoonfeeding this info won't learn you anything.
Click to expand...
Click to collapse
Hey Sykow, I understand your point but it wasn't helpful. It's comments like these that can deter a newbie from asking questions. A person must ask questions to learn.
No doubt some of the skills needed to load custom firmware or even stock HTC firmware to de-brand your Hero are needed in order for many of us here to upgrade to the rumoured minor update and major update coming soon.
Having a handset from the telco on contract and then having to wait for weeks or even forever to get a bug fixed / performance enhanced firmware update from HTC is not something I want to have to suffer.
As soon as HTC release updated firmware, I will want to know how to load it via my Mac running OS X (preferred) or booted into my Windows partition (not preferred).
All without drama and with little risk of toasting my Hero.
Its not too much to ask surely
joemax said:
No doubt some of the skills needed to load custom firmware or even stock HTC firmware to de-brand your Hero are needed in order for many of us here to upgrade to the rumoured minor update and major update coming soon.
Having a handset from the telco on contract and then having to wait for weeks or even forever to get a bug fixed / performance enhanced firmware update from HTC is not something I want to have to suffer.
As soon as HTC release updated firmware, I will want to know how to load it via my Mac running OS X (preferred) or booted into my Windows partition (not preferred).
All without drama and with little risk of toasting my Hero.
Its not too much to ask surely
Click to expand...
Click to collapse
From what I can tell, it is pretty straight forward, just like the first time you flash a phone, a bit never racking, and a bit foreign. A co-worker of mine has assured me it is as easy as a WinMo phone.
Nice to be easy as a WiMo phone... but I've had Nokia for years.
Easy to de-brand.
Use Nemesis.
Change Product Code to one like a generic EU code.
Go back to Nokia Software Update.
Download new manufacturer direct firmware... Orange as far as I know, never approved new firmware while I used an N95, N82, N85.
Android de-branding seems to involve a complex trip to a command line editor, a download of firmware that you don't really know where it came from and a large dose of prayer and crossed fingers and toes...
I guess I will wait until someone posts how to load the upcoming updated firmware from HTC so I will end up with a more reliable, stable and faster performing handset... like the one I thought I'd signed up for.
joemax said:
Nice to be easy as a WiMo phone... but I've had Nokia for years.
Easy to de-brand.
Use Nemesis.
Change Product Code to one like a generic EU code.
Go back to Nokia Software Update.
Download new manufacturer direct firmware... Orange as far as I know, never approved new firmware while I used an N95, N82, N85.
Android de-branding seems to involve a complex trip to a command line editor, a download of firmware that you don't really know where it came from and a large dose of prayer and crossed fingers and toes...
I guess I will wait until someone posts how to load the upcoming updated firmware from HTC so I will end up with a more reliable, stable and faster performing handset... like the one I thought I'd signed up for.
Click to expand...
Click to collapse
I am getting my Hero sometime mid-september... I will post up a walk through when I get some personal experience.
Sweet
That sounds like a plan...
Sykow said:
No offense, but please get more into adb and all the tools needed for reflashing.
Making things idiot proof is useless in my opinion. If you have no idea how to use adb, why upgrade anyway? Chances are you won't understand most custom upgrades/tweaks anyway..
All releases by HTC will be idiot proof, no doubt about it, but installing a custom rom takes skill, knowledge and patience.
In general, an idiot posseses none of the above.
Second, there are no custom roms available for the Hero.
If you want to install custom roms in the future, take some time to understand things. Spoonfeeding this info won't learn you anything.
Click to expand...
Click to collapse
A touch patronising.
I Flash Roms all the time on my Blackstone, and manage to use the custom upgrades/tweeks....
Android is a new OS, and has a new set of terms and abreviations etc, As the OP says, there seems to be little out there to explain things
When there are pages and pages of wikis for the Hero/Android then yes, I can understand being frustrated about noobie questions, but until there IS threads/stickies/Wikis out there then I'm afraid there will be questions put forward like this.
Correct. But those things need time. How long has the Hero been out now? Couple of weeks? C'mon..
And a person doesn't learn by asking questions. At least, not here. There are TONS of threads around. All the things you need are in there. It's just a matter of looking, taking the time to actually learn and read. If you still don't get it after the proper research, ask questions. Give the exact problem so we can tailor the reponse to it.
I flashed my old Wizard so many times.. Then I got on to the iPhone 2G, making it work in The Netherlands. I took the time to read all the reports, stickies and the necessary info to make it work. With some motivation and some common sense every person can do this.
I'm completely new to Android and I managed to root, update and tweak my Hero within 1 hour.
I just have a problem with these guys coming here, "demanding" a guide for idiots, making no effort at all to understand the complexity of it all.
This device hasn't even been out for a month! Chill out! When the stuff is ready, it will come.
Hmmmmm
Sykow said:
Correct. But those things need time. How long has the Hero been out now? Couple of weeks? C'mon..
And a person doesn't learn by asking questions. At least, not here. There are TONS of threads around. All the things you need are in there. It's just a matter of looking, taking the time to actually learn and read. If you still don't get it after the proper research, ask questions. Give the exact problem so we can tailor the reponse to it.
I flashed my old Wizard so many times.. Then I got on to the iPhone 2G, making it work in The Netherlands. I took the time to read all the reports, stickies and the necessary info to make it work. With some motivation and some common sense every person can do this.
I'm completely new to Android and I managed to root, update and tweak my Hero within 1 hour.
I just have a problem with these guys coming here, "demanding" a guide for idiots, making no effort at all to understand the complexity of it all.
This device hasn't even been out for a month! Chill out! When the stuff is ready, it will come.
Click to expand...
Click to collapse
Sykow - thanks for your comments, please dont call us "demanding idiots !" Like you I and many others are new to Android and yes its a huge learning curve, I have rooted my HERO and Tweaked it but merely wanted advice on some of the explanation given as i did not think it was that clear !!!
I have programmed, tweaked and installed numerous roms on blackberry and nokia previously and wanted advice on Android - you were not born with the knowledge you had to learn it....
Anyway after a polite request at least someone was polite enough to assist and it is sorted - bring on the cooked roms.
I have to agree with Sykow here to a degree. Rooting, flashing and backing up isn't for the weak of heart, and one wrong move could mean that the same newbie comes back to this forum crying about a bricked phone and bad instructions, and that would just distract people from the real point of this sub-forum, i.e. actual ROM hacking, stuff like what Haykuro is doing in the background.
Here's a starting point that worked for me:
Rooting the Hero: http://theunlockr.com/2009/08/08/how-to-gain-root-access-on-your-htc-hero/
After that, if you're looking at replacing built-in apps and cooking your own ROMs, you're better off looking in the Dream Android Development sub-forum where it all started. If you're having problems looking for technical pointers in those sub-forums and instead finding that most questions are about how-do-i root/flash/etc, you'll start to understand where Sykow is coming from
Me, I don't think you're an idiot. I just think it'd help to spend your time with the Android SDK as well as searching the other Android Dev sub-forums in XDA for what you're looking for. If you're confident enough after that to come up with a How-To of your own for the benefit of newbies, feel free to go ahead, but from what I have seen from time to time, it can be a thankless job when newbies fail to follow the instructions to a T, brick their devices then come back crying or *****ing, and expect someone to fix it for them.
I found the HTC Dream wiki section on rooting/hacking etc quite informative:
http://wiki.xda-developers.com/index.php?pagename=HTC_Dream_overview_and_useful_information
I managed to work out how to make a backup last night, using files from Paulatmodoco's rooting guide:
http://android.modaco.com/content/htc-hero-hero-modaco-com/291397/12-08-1-4-modaco-hero-patch-a2sd-root-busybox-much-more/
Simply follow his instructions up to stage 5. Then you will be in the recovery image menu and you can select to make a nandroid backup.
If I have some time later, I'll write up a dummys guide to making a nandroid backup, which is one of the most important steps I reckon And rooting using paul's system is then very, very easy. as is flashing a new ROM.
I must also agree with Sykow. I only recently got my Hero and had no knowledge of rooting. I'm sure a step by step guide would be lovely but actually it is possible and it pays to read up about it yourself.
I knew the Android SDK was needed, so I downloaded and installed that as per Android website, read about what adb and fastboot did. The files and commands were easy to source from here. About and hours reading and a complete Android noob was rooted and away. I do feel that some folk maybe can't be bothered with the reading part, but think - if something goes wrong in the process, you aren't going to know why or how to fix it.
My sentiments exactly.

How to build ROM for HTC Desire

Hi all Desirian Guru,
I am not sure this is the right place to bring this stupid question, but if you, the operator, found it is wrong, please move to where it should be. I would like to create or develop, if I can, my own custom ROM for fun and share. Could anyone here kindly point me what steps I should take, what the prerequisites I should have.
Appreciate you guys so much if those tools are supported on my Ubuntu.
and on windows too!
Same sort of thread made before: http://forum.xda-developers.com/showthread.php?t=817699
Might help
Start here, if you are intending to build from the AOSP source:
http://source.android.com/porting/index.html
http://source.android.com/source/git-repo.html
Get the source code from here:
http://android.git.kernel.org/
There is an unofficial "vendor" from devoferreria for the htc bravo board here:
https://github.com/defer/android_device_htc_bravo
The cyanogenmod wiki has a load of excellent info on it, including compiling your kernel:
http://wiki.cyanogenmod.com/index.php?title=Building_Kernel_from_source
If you are looking to mod a SenseUI rom there are guides around here that explain how to change the framework. That is a different art ... use a wider forum search and you should find them.
TheGost1233, stOkes,
thanks for your advise.
You guys rock.

[Q] Which (Android) forum does my post belong in?

I have made an auto-installer for Linux that will download, install, and setup the Android SDK, NDK, Eclipse, ADB, and create a 99-android.rules file without the user having to do anything. I was curious which section I should post this in?
Tahl said:
I have made an auto-installer for Linux that will download, install, and setup the Android SDK, NDK, Eclipse, ADB, and create a 99-android.rules file without the user having to do anything. I was curious which section I should post this in?
Click to expand...
Click to collapse
Nice work!
I'd say in the Upgrading, Modifying and Unlocking forum itself, but I may be wrong. That's the general, non-device specific development forum, and forum for devices without their own forum.
Perhaps a Mod could clarify this for us? Oh Scotsman, where art thou?
Interesting, I didn't even think about that as a possibility, I was looking at the Android Software and Hacking General or Android Software Development. Mostly because that's where people asking about ADB were, but now I'm not sure.
To be honest I'd put it in all three, as it's a worthy addition to any Linux users' toolkit.
May want to double-check with someone who actually knows what they're talking about first, and possibly just post it in one place and get some user feedback first, so you know it works on all machines
Well, I've had quite a few testers and positive feedback on Linux Mint 11 and Ubuntu 11.04 for both the 32/64-bit versions. I just wanted to share it with xda-developers so that more people would be able to use it. It's already on RootzWiki and I've had people test it from my blog with some help from P3Droid's retweet power. The deb version I'm pretty confident in will work without many people having troubles. The .sh version that I also have hasn't been tested with any operating systems outside of that, but I'd like some feedback with people using apt-get and other operating systems.
I have asked Scotsman to come and provide a little clarification for us. I honestly think you've made a very vaulable contribution here, so thankyou from all of us far too stupid to do something like this!
I posted it in Android Software and Hacking General.
I thought that would be a good spot for it based on how many adb related guides and posts there were in that section. If Scotsman would like to move it or delete it though, I can gladly repost it in a more appropriate (or multiple) forums so that it can get more attention. I really appreciate the help you've given me too.
Hmmm...I'd say maybe Android Software and Hacking General or maybe Android Software Development? Since it's only Android specific...
I'll stick to the Hacking General then, I think that I saw the most related material there while I was posting. Thanks for the help you two, I appreciate it.
You're welcome mate, I wish everyone's first few posts could be as productive
Enjoy your time at XDA! Let me know if I can help with anything else

Development Setup

Hi
I am looking into starting out in developing Android Apps and modding the Source OS itself. I have had a little search round on here but given the fact it seems impossible to force the search to use the exact search its bringing up hundreds of non-sense results (had to use google to find the modded Google Currents apk on this site).
Anyway what I am interested to know is what environment dev's are using and is it possible to do it all in a Windows OS or is this not a good idea?
Any help very much appreciated with getting good setup from the start and all opinions welcome.
Thanks in advance
James
1. Wrong section - should be in General
2. You'd have seen stickied right at the top of the General section this thread - http://forum.xda-developers.com/showthread.php?t=1386615
1. seeing as this is about android development I think it is in the right section especially as I have posted the exact same question in the general Android Q&A (Not phone specific) area and not got a single reply.
2. I would have seen the sticky if the search function on this site was written by a coder that died after Jesus!
Thanks for the pointer though its exactly what I wanted - thank you
The Development forum here is pretty much exclusively for ROM/Kernels, anything else goes elsewhere. Not my rules but you'll get flamed so better just to use General/Q&A for anything not ROM-related
Ah I see - I didn't know - thanks for this and the link!
Much appreciated!
all the best
J
Generally the development forums are reserved for sharing your work with others. ROMs, kernels, scripts, etc.
If you're familiar with Linux it's usually easiest to do everything from there, however I do a lot of my work while booted in to Win7 and run Ubuntu through Virtual Box. I'm set up to dualboot with linux mint, but I'm so used to windows that it's usually more convenient. Cygwin is also a very helpful tool to use if you are using windows.
The Android Development & Hacking and Chef Central forums are also good places to look for information.
xHausx said:
Generally the development forums are reserved for sharing your work with others. ROMs, kernels, scripts, etc.
If you're familiar with Linux it's usually easiest to do everything from there, however I do a lot of my work while booted in to Win7 and run Ubuntu through Virtual Box. I'm set up to dualboot with linux mint, but I'm so used to windows that it's usually more convenient. Cygwin is also a very helpful tool to use if you are using windows.
The Android Development & Hacking and Chef Central forums are also good places to look for information.
Click to expand...
Click to collapse
I understand and hope I can do a bit of sharing in the future . What IDE are you using if you don't mind me asking?
jamesmcuk said:
I understand and hope I can do a bit of sharing in the future . What IDE are you using if you don't mind me asking?
Click to expand...
Click to collapse
I use Eclipse but just because that's what was suggested by google when you download the android sdk. I started to set up netbeans to try it out but never got around to using it
yeah I have eclipse and also read about it through google. Thanks for confirming this to be the best method, I shall give it a go.
Thanks very much for your help
J
if you want to develop android apps in java you install eclipse in windows. If you want to develop the kernel or roms in c++ you install ubuntu linux in a virtuak machine on windows.

Categories

Resources