Development guides/tips/knowledge - HTC Desire C

This thread is about development, for any other guides you should look here
Hey guys, our beloved phone hasn't got so many developers. So we should encourage the users to do something with their free time, let's call it development.(I an one of them too )
So the idea is: if anyone has some knowledge maybe he will want to share with us. For example: I will do some research and if I am lucky, I will find some guides for beginners in development.
After a while we can even make a document with everything that was posted here.
Useful links:
1) http://stackoverflow.com/ //there you go, you can ask everything about development there but don't forget to come here and share what you have found
2) https://github.com/munjeni/android_device_htc_golfu //ICS CM9 sources for our phone thank you munjeni, for your work
Basic things: http://wiki.cyanogenmod.org/index.php?title=Doc:_Building_Basics
You might have heard the word "git", here is a short explication from Cyanogen
How to port
*here is a nice guide for ROMS
Note: You can port from almost any device but you can try devices similar to our device like LG P500, HTC Explorer, Samsung Galaxy Ace,HTC Wildfire S, Samsung Galaxy Gio etc
*here or here is how you can port any theme to any build
!Compiling things on a virtual machine isn't that good.
More things can be found here:
*http://www.vogella.com/articles/Android/article.html
*http://wiki.cyanogenmod.org/index.php?title=Development

Reserved for future guides.

Hunter
Please remember that aircombat has already written some guides for the device. So this'll purely need to be a development based thread.

Related

Tattoo ROMs/Hacking/Info Resource List (One thread to help us all!)

Before I start: If someone could sticky this, I'd appreciate it. Cheers!
I thought I'd help out and do my own thread to make a list of resources, so it's a easy ride down the road, and we're not having to hit speedbumps and look for threads ourselves. They will be under categories (Custom ROMs, Hacking, Hardware/Software Info, Misc).
Please keep this thread on-topic (discussion about this list, updating the list, etc), if you have issues carrying out anything listed here, either make a new thread with your issue or reread the instructions.
NOTE: I am not responsible for any bricked Tattoos due to user's own failure to follow instructions/people don't understand what to do and go on their own merry way and blow up their tattoo/your tattoo catches fire and explodes into a portable campfire. So, please don't sue me.
Alright, let's get down to business.
Hacking
HOWTO: Flash the Tattoo (Offical ROMs) : this thread.
Superboot & rooting the Tattoo for Custom ROMs: this thread.
Superbooting & rooting Tattoo (experimental): this thread.
Custom ROMs
Official, Untouched ROMs: this thread.
No *actual* custom ROMs have been released. Will update when some are out.
Hardware Info
India Tattoo version without 3G: this thread.
No more hardware data as of yet, will update when some data is available.
Misc Stuffs
HTC Dream/CyanogenMOD ringtones/alert tones/effects - Extract to SD Card root: this file.
Android 2.0/2.1 Confirmed for Tattoo?: this thread.
XDA Forum Users Review(s): this thread.
I hope this allows us to get our bearings on this awesome device... Let's make the Tattoo version of CyanogenMod... CoburnMOD/TatROMburn anyone?
Cheers all!
Added modaco's superboot thread to the list.
Added the flash tattoo thread link to the list.
Great threat
Hi Coburn64.
Congratulations on the threat.
We really must shake the Tattoo scenne, cause it's a little bit slow.
Count on me to help you.
Thanks
Heh, thanks. I'm just helping out, as we want the Tattoo to shine. It's a excellent unit, and I can't see why it should be swept under the carpet and forgotten.
mdusan
Well I just want to say that is a great phone. Screensize is maybe small, but I have Android 1.67 version with SenseUi and I must say that this is a very well designed phone with excellent screen resistive, and I gives you the support to develop as multiple applications for this phone.
Thanks for your review!

[Q] Rom Help for Quasi Newber

Hello Fam! I have a:
Samsung Captivate SGH I897
Currently running :
Cognition, 2.1.7
I'm looking to Change ROM's and I have a couple questions.
1) What is the best Rom for Battery life that has some cool Graffix/annimations
2) Do I have to Flash my Phone back to Stock before I flash a new ROM?
3)I recently Flashed my phone to Darky's 8.1 Somehow i ended up with the I9000 version and it crashed/bricked my phone. I spent 3+ hours restoring a bricked phone. anyone know a fix or a i897 version of this rom??
I liked what I saw of Darky's 8.1 but I need a stable version or a Rom that is Similar.
All help/Suggestions are greatly appreciated
Nike
http://forum.xda-developers.com/showthread.php?t=887525
pbclst said:
Nike
http://forum.xda-developers.com/showthread.php?t=887525
Click to expand...
Click to collapse
I dont know what you mean by "Nike", and I already read 90% of that thread and it didn't answer my questions.
but Thanks?
HighSun_Murder said:
Hello Fam! I have a:
Samsung Captivate SGH I897
Currently running :
Cognition, 2.1.7
I'm looking to Change ROM's and I have a couple questions.
1) What is the best Rom for Battery life that has some cool Graffix/annimations
2) Do I have to Flash my Phone back to Stock before I flash a new ROM?
3)I recently Flashed my phone to Darky's 8.1 Somehow i ended up with the I9000 version and it crashed/bricked my phone. I spent 3+ hours restoring a bricked phone. anyone know a fix or a i897 version of this rom??
I liked what I saw of Darky's 8.1 but I need a stable version or a Rom that is Similar.
All help/Suggestions are greatly appreciated
Click to expand...
Click to collapse
1. I use serendipity and it has great batterylife and a pretty awesome theme.
2. It's advisable to flash back to stock. You can use my program for this. LINK
3. Don't know anything about Darky's, sorry.
HighSun_Murder said:
I dont know what you mean by "Nike", and I already read 90% of that thread and it didn't answer my questions.
but Thanks?
Click to expand...
Click to collapse
i think he intended to direct you to the second post in that thread (which must have fell under the 10% of that thread that you didn't read..sorry couldn't resist a friendly flame) as you are posting your question in the wrong part of the forum.
Rules for posting in Android Development
* If you have developed a ROM, or are working with others to do so, the development forum is somewhere to discuss and share ideas, post useful feedback and logs or crash dumps, and to discuss a common goal developers are trying to achieve.
* It is NOT the place to post your question because it gets higher traffic, or because more experienced users frequent it. Doing this just annoys those who are working on the device, and drives them away. Developers don't want to wade through 20 threads of "Help me urgently" to find their threads for porting and fixing camera issues etc. Similarly, if a thread is designated as discussion for developers say, porting a camera fix, please do not post in there asking "When will it be ready?", "Can I flash this yet?" etc. This is both completely disrespectful to those working on the project (you evidently haven't read the important posts in the thread), and also is making it harder for developers to find comments from other developers or testers when required.
* Similarly, don't make loads of "Thanks for your work here" posts in an active development thread. It's just as annoying to developers as asking when something will be ready. If a ROM is complete, then go ahead and thank the developer if you wish, but don't go into threads for devs only, and interrupt it to post "thanks". It's basically spamming, and is treated as such.
* If you are posting in development, you should have read every sticky and notice there, and should be actively developing or helping in the development of something. Developing isn't installing a ROM, or using a tweak, it's creating a ROM or other hack or tweak. If you haven't read for several days before starting out on XDA, you are likely about to ask something already solved. I registered on XDA when I first wanted to post, and that was to join in a discussion on something. Sure, join up and ask a question, but read the information available in General and Q&A first, as your question will have been asked before. Search is your friend here, become familiar with it.
* Regarding when to post in development if you are not actually developing something, there is one occasion where it's acceptable. If you find a leak of a new ROM, which isn't already posted, and you verify it's legitimacy via either running it, or based on the source you obtained it from, then this is assisting in development, and should be posted in development. If you want to ask when a leak will be available use search first, then if not already in discussion, open a thread in general or Q&A.
* If you have a problem flashing a ROM, this is NOT related to development. It's up to you to determine if it is specific to a particular ROM, and post useful information in that developer's existing thread for the ROM. If it happens on more than one ROM, and isn't a known issue (remember you should read several times more words than you post), then find out what you are doing wrong. Check guides written by others, try to repeat the problem and see if it happens every time. Something needs to be reproducible to be fixed effectively.
* Once you have identified what you need help with go to the device Q&A forum (general if device lacks one), and make a clear, informative thread that explains the issue, and what you have tried doing to fix it. Did you re-download the ROM? Did you ask a friend to flash it for you, to reduce chance of user error? What steps (exactly) did you follow? What errors did you see (exact wording)? Did you double check all the steps? Did you do a wipe or hard reset?
* If you make a clear, concise, yet detailed post, you will find help forthcoming, and should get the problem sorted very quickly. If someone suggests you try something, report back on what happened, did it work etc. Then, next time someone has this issue and searches, they will find this and have a verified and tested solution.
* So remember... before you start a thread in development, ask yourself what you are developing. If you can't answer, then stop, step away from the post button, and think about where you are posting. Would it be better in General or Q&A, or is some more time with your best friend, search, required?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=10085368&postcount=2
You should probably familiarize yourself with this as well or your setting yourself up for endless flaming and frustration:
REF] New to XDA? Questions about flashing ROMs? Please read this before posting!
Lately I have seen so many "what rom is best for my first flash" or "Help me decide what rom is best for me" threads and they are POINTLESS! Granted there are an abundance of new and old custom roms, everyone has different experiences and opinions on what rom is best.
So... NOOBS:
If you want to know what rom is best for YOU do the following:
- Go to the Android Development Section and read through different [ROM] threads to see what features will work best for you. I have also found it useful to read through the last couple of pages to see what other users think about the current version of the rom.
- If you don't know what certain terms in the rom thread mean or affect (ie. kernel, modem, OC/UV, Gps tweaks) locate the search bar in the top right corner of the page or browse through this page
- Once you have decided what rom you want to try out, you need to learn how to flash the rom. Most of the Developers post instructions but they can be confusing to some of the less experienced flashers. nbs11 has posted a thread about how to do this here and Connexion2005 was nice enough to make videos of the general steps: Flashing back to stock using odin3 , 3 Part video series for flashing roms: video 1 , video 2 , video 3
- Now that you know how to choose and flash a rom just try out different roms until you find one that you like and gives you all the features you are looking for.
- If you find the theme of a certain rom ugly or obnoxious, head over to the Captivate themes and apps section and look through different [THEME] threads until you find one that you like. Make sure the theme is compatible with the rom you have just flashed or are planning to flash.
- If you accidentally brick your phone, read How to unbrick the captivate or if that doesn't work, Unbrick the captivate for only $0.99
-Some useful links other members have posted:
One-Click Root - root your captivate in one click!
Build #1010 or above flash back to stock
My hopes of this thread are to save the Captivate general section from becoming a section full of useless threads. So if you are new, please use these steps and do the research to find a Rom that is right for YOU!
Cheers,
Alex
*EDIT* As it seems swedishcancerboi is having a hard time using the search function, here are some simple tips to make your searching easier. If you think there is already a thread that has been created containing the information you desire, under "Search by keyword", try changing the drop down box to "Search titles only". Also, try changing the "sort results by" drop down box to "Relevancy". If that still doesn't work do a google search of "xda (whatever you are looking for)" without the quotes.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=919816
HighSun_Murder said:
I dont know what you mean by "Nike", and I already read 90% of that thread and it didn't answer my questions.
but Thanks?
Click to expand...
Click to collapse
Nike - Greek word for victory. Also known as a popular brand of shoes.
Nike... Just do it...
Battery life?
Paragon for me on my particular phone
Graphics/animations? Dunno, not into too much eye candy, but there are themes galore available
I always ODIN to stock before I flash a ROM (Haven't tried the AIO yet, but looks interesting)
As for the Darky issue. Flash back to stock and start over.
You have to expect redirection when you're posting in the wrong forum.
xdahgary said:
Nike - Greek word for victory. Also known as a popular brand of shoes.
Click to expand...
Click to collapse
Thank you Capitan Obvious.
I recommend Serendipidity with the Suckerpunch kernal. I've gotten great battery life with that combo also you can some cool animations to add to Serendipidity from the Serendipidity website. And when changing between completely different roms I usaully flash back to stock and do a master reset with odin
Sent from my SAMSUNG-SGH-I897 using XDA App
i recommend you build a jig or buy one online just in case, since you want to use custom rom.
http://cgi.ebay.com/ws/eBayISAPI.dl...25272&ssPageName=STRK:MESELX:IT#ht_595wt_1139
Duck and grind HighSun, duck and grind.
If you're still in the look-see stage as far as ROMs, there are a few that are well worth trying.
Paragon (my fav)
Serendipity
di11i's
Firebird (under new management so to speak)
That's my order of excellence but don't take my word for it. Flash what you like from reading whats offered and have fun. Follow the steps listed in each and you shouldn't have any issues. While not necessary to ODIN to stock, it's a good idea to get used to it in case you bork your phone and need to exchange it.
The best battery life i have gotten is with darky's 9.2 rom.
Running darky's 9.2

Can any one give a ROM cookiing tute pls

hi
i had a Samsung galaxy 3 which is used by my wife now that i got the Mi 410
i have also been a very active member of the forum
u see in this forum their are a few rom cooking tutorials which has created many rom cooks and thus many roms for us to use
I humbly request on the guys with knowledge on the same to provide a tutorial on how to cook Roms for our great phone so we could have much more development for our phone for example see below SG3 development forum and ud see what i mean
see this link : http://forum.xda-developers.com/forumdisplay.php?f=868
link 2 : http://forum.xda-developers.com/showthread.php?t=1046306
link 3 : http://forum.xda-developers.com/showthread.php?t=1049846
link 4 : http://forum.xda-developers.com/showthread.php?t=1058699
because of the above threads their are so many new cooks roms in the SG3 forum
you might ask : why not me
because i dont have the knowledge on the same and cooking seems to be too confusing for my limited tech knowledge
haree said:
hi
i had a Samsung galaxy 3 which is used by my wife now that i got the Mi 410
i have also been a very active member of the forum
u see in this forum their are a few rom cooking tutorials which has created many rom cooks and thus many roms for us to use
I humbly request on the guys with knowledge on the same to provide a tutorial on how to cook Roms for our great phone so we could have much more development for our phone for example see below SG3 development forum and ud see what i mean
see this link : http://forum.xda-developers.com/forumdisplay.php?f=868
link 2 : http://forum.xda-developers.com/showthread.php?t=1046306
link 3 : http://forum.xda-developers.com/showthread.php?t=1049846
link 4 : http://forum.xda-developers.com/showthread.php?t=1058699
because of the above threads their are so many new cooks roms in the SG3 forum
you might ask : why not me
because i dont have the knowledge on the same and cooking seems to be too confusing for my limited tech knowledge
Click to expand...
Click to collapse
[dsixda's kitchen]
This is the best kitchen I have found out. (To have rooted ROM, w/o any bloatwares, bash, de-odexing, and many more options)
You need to modify the updater-script file to a greater extent before using custom ROM developed by this kitchen, otherwise there is a possibility to brick your phone.
Though I have found out the correct parameters or changes to this and could build a custom ROM of my own. (fully functional ), but please allow me some time because creating a new thread takes a lot of time. Such that there are no loopholes and nobody should suffer any losses from the tutorial.
Since currently I have a huge office work load, I will post a tutorial soon as I had mentioned before in some other thread.
Napstar said:
[dsixda's kitchen]
This is the best kitchen I have found out. (To have rooted ROM, w/o any bloatwares, bash, de-odexing, and many more options)
You need to modify the updater-script file to a greater extent before using custom ROM developed by this kitchen, otherwise there is a possibility to brick your phone.
Though I have found out the correct parameters or changes to this and could build a custom ROM of my own. (fully functional ), but please allow me some time because creating a new thread takes a lot of time. Such that there are no loopholes and nobody should suffer any losses from the tutorial.
Since currently I have a huge office work load, I will post a tutorial soon as I had mentioned before in some other thread.
Click to expand...
Click to collapse
hi
thanks again for ur kind reply.As said by u we will wait for ur work load to come down and help us on the same
didnt understod a single word written above... what u guys are actually up to
kshitij_bhatt said:
didnt understod a single word written above... what u guys are actually up to
Click to expand...
Click to collapse
Just go through the this thread:
[dsixda's kitchen]
for brief details:
dsixda's Android Kitchen
Compatible with Windows (Cygwin) / Linux / Mac OS X
Who is this kitchen for?
Those who are brand new to creating custom ROMs and want an easy place to start learning
Those who just want to modify shipped ROMs or someone else's custom ROMs to their liking
Those who are confused by all those scripts and complex commands required for building and extracting
Napstar said:
Just go through the this thread:
[dsixda's kitchen]
for brief details:
dsixda's Android Kitchen
Compatible with Windows (Cygwin) / Linux / Mac OS X
Who is this kitchen for?
Those who are brand new to creating custom ROMs and want an easy place to start learning
Those who just want to modify shipped ROMs or someone else's custom ROMs to their liking
Those who are confused by all those scripts and complex commands required for building and extracting
Click to expand...
Click to collapse
Guide added in our development section.
Please check: [GUIDE]dsixda's Android Kitchen - Now with Huawei Ideos X6 support(Windows/Linux/Mac)
Supports for cooking stock ROM or custom ROM built on Stock. Not supported for Cyanogenmod or MIUI releases.
Hey Napstar! I have ported Galaxy Mini CM ROM to my Galaxy Y. I have zipped the folder after replacing Kernel and editing several files but when i try to flash it from my stock recovery I get errors like:
assert failed: write_rawimage("/temp/boot.img" ,"boot")
E:Error in /temp/sideload/package.zip
(Status7)
I think something is wrong with the MANIFEST-INF folder in zipped rom.
Can you tell me how to make a new MANIFEST-INF folder for my ROM.
Waiting for reply...................................................

[TUT] [COMPILING GUIDE] ROM compiling guide COLLECTION

following are some of the guides and videos which lets u have the rough idea on compiling a ROM.
ok....am posting "some" of them. the comprehensive and important ones
first of all, find the github for the black.
check dis out fr an idea of compiling...http://www.freeyourandroid.com/guide/compile-ics. this is sheyen's guide. hez 1 f da best
check dis guide about compiling ICS on Ubuntu: http://forum.xda-developers.com/show....php?t=1354865
and dis one for compiling GB: http://forum.xda-developers.com/show....php?t=1183832 both of them are by dastin
take a look at this awesome porting guide by siulmagic (he was the 1 who ported ICS to the prehistoric G1 http://forum.xda-developers.com/show....php?t=1312595
this1 is also real comprehensive and good:http://www.mydroidworld.com/forums/h...ad-source.html
now, u can check dis 1 out: http://www.tabletroms.com/forums/ada...le-source.html this 1 is also elaborate guide for compiling on a VM.
AND the BEST OF ALL:CHECK these videos
i. http://www.youtube.com/watch?v=1_H4AlQaNa0
ii.http://www.youtube.com/watch?v=rFqEL...feature=relmfu
last of all, with some knowledge already,check out this guide for minor tweaking,error fixing and a layman's experience sharing while compiling from source.
http://journal.tianhao.info/2010/12/...-ubuntu-10-10/
for kernel compiling guide check dis 1 out:http://forum.xda-developers.com/showthread.php?t=1227241
the ones mentioned are a mere starting guide. dig google,the android source guide,etc etc for more knowledge. it is not that u have 2 be a pro in command terminal f linux/ubuntu,but it is expected u have some idea of it.
u will not become a DEV by taking these in.the DEVs are very knowledgeable and have very deep programming knowledge. this is just a guide for a person to start with. u will get an idea of the whole programming.
now, this is just a starting guide. u will need 3 things for common
a)a linux machine (may be a VM), but be sure to have ubuntu x64 and preferably 10.04 or higher.
b)some knowledge about building that u can get an idea of by reading nd viewing the source that i gave (obviously along with your own research)
c)TIME.
happy trying
there are many knowledgeable members on our forum, drop thema PM if u are stuck. they might help you out
none of them are written by me, but are collected from the internet into one place for those who want to know about compiling.
IF FIND ANY WRONG INFORMATION, OR A GOO GUIDE TO FOLLOW, POST OT IN THIS THREAD. IT MIGHT HELP SOMEONE WHO IS WILLING TO LEARN BUT IS LACKING A STARTING POINT.
reserved..

[Q] How to build/port roms onto our device (Galaxy Exhibit 4g/Exhibit II 4g)

Hey everybody, I've seen numerous threads in general about porting, in general, but what about building a rom specifically for our device, what would that take? I've seen the android "kitchen" post on building roms, but the exhibit II isn't supported. I have also noticed that almost all our roms are ported from other devices. Is there any particular reason for that?
Are there any threads here about that, since I haven't found any?
And if not, could any of you guys help me learn.
I have a computer with 6gigs ram, i5 2nd Gen, and a giganormous hard drive, dual booting win7 and Ubuntu 12.10, but well, I need help learning all of this stuff.
Thank You, in advance.
EDIT: Mods, please move this thread to the correct section
first off this should be in q&a
but here ya go anyway http://www.kernel-xp.net/index.php/en/guide/25-android/32-compilare-cm10
dont limit your searches to xda google is your best friend
Thank you, please pardon my noobiness, but thank you for that Info, I'll definitely remember it.

Categories

Resources