First of all i would like to say,
You guys are doing a great job and i really appreciate what you all are doing with this community. Spending a lot of time and money i am sure to develop and distribute these great ROMs.
On that note....
I would like to start developing my own roms to share to the world as well. I was wondering if someone could help me out atleast getting started on doing so.
Like what progs i am going to need
any type of coding or w.e i am going to have to learn
anything i need to do to start developing i can sure as hell try my damdest lol
Thank you for your help.
SlimPickins
PS: Sorry if this is not suppose to be in this forum.
Start by learning adb .
Google android sdk and download and install the android sdk. Load the sdk manager at the end of windows installer or through ./android i believe in your extracted folder on linux (depending on what you use) and download platform tools. You now have adb. There are tons of tutorials on setting this up and its use.
Apktool. This is available on Google code. And Google search will pull it up.
Apktool d yourapk.apk
Apktool b yourapk.apk
Will decompile and compile apk respectively. You'll need java to run all of the above. Again, there are tutorials out there.
I recommend getting your feet wet with learning the basics of adb and Apktool and then you can dive into building android from source should you so choose..
I suggest you go to the top of the forum there is a section there called " chef central " & read most of the whole thing ....lots of info there not always about this phone but most works either way ....that's why it's called learning
Sent from my SPH-D710 using xda premium
barnacles10 said:
Start by learning adb .
Google android sdk and download and install the android sdk. Load the sdk manager at the end of windows installer or through ./android i believe in your extracted folder on linux (depending on what you use) and download platform tools. You now have adb. There are tons of tutorials on setting this up and its use.
Apktool. This is available on Google code. And Google search will pull it up.
Apktool d yourapk.apk
Apktool b yourapk.apk
Will decompile and compile apk respectively. You'll need java to run all of the above. Again, there are tutorials out there.
I recommend getting your feet wet with learning the basics of adb and Apktool and then you can dive into building android from source should you so choose..
Click to expand...
Click to collapse
so i may be too stupid to learn lol...
I am not a reader for tutorials thats why i lost intrest in tings so fast... hmmm **** is confusing lol
slimpickins said:
so i may be too stupid to learn lol...
I am not a reader for tutorials thats why i lost intrest in tings so fast... hmmm **** is confusing lol
Click to expand...
Click to collapse
At least you are honest.
Sent from my SPH-D710 using Tapatalk 2 Beta-2
Related
For example how do you make programs that do 1-click rooting, or modify the official ROM such that it does not update HBOOT, or make mods for it? What programming languages do you have to know? What system environment (Windows, Linux, etc.) do you have to be running?
Love Android, want to start contributing after end of my national exams (November )
good skills in Linux and Java-Programming seems to be a good combination
BrainMcFly said:
good skills in Linux and Java-Programming seems to be a good combination
Click to expand...
Click to collapse
Then how do you make programs that do 1-click rooting, or pre-load applications like busybox into the ROM? You'd have to manually edit the source code of the ROM, don't you?
fterh said:
Then how do you make programs that do 1-click rooting
Click to expand...
Click to collapse
Years of hardware hacking experience and days of work / problem solving.
bedeabc said:
Years of hardware hacking experience and days of work / problem solving.
Click to expand...
Click to collapse
I'm 16, no prior programming experience (unless you count a Hello World as one), on Windows right now. How would you advise me if I want to start contributing to the Android scene?
I've found a post which looks like a good starting point and contains a lot of helpful links:
hxxp://forum.xda-developers.com/showpost.php?p=6243873&postcount=1
Regards,
Tom
P.S: Sorry, had to cripple the link, because I'm a new user and therefore not allowed to post a "real" link.
fterh said:
or pre-load applications like busybox into the ROM? You'd have to manually edit the source code of the ROM, don't you?
Click to expand...
Click to collapse
Try extracting the .zip, adding and removing apps is not that difficult; most of the .apk's are located in /data/app.
Rudolfje said:
Try extracting the .zip, adding and removing apps is not that difficult; most of the .apk's are located in /data/app.
Click to expand...
Click to collapse
You mean system/app lol
Sent from my HTC Desire using Tapatalk
Rudolfje said:
Try extracting the .zip, adding and removing apps is not that difficult; most of the .apk's are located in /data/app.
Click to expand...
Click to collapse
You mean /system/app? There is nothing under /data/ in my phone.
fterh said:
You mean /system/app? There is nothing under /data/ in my phone.
Click to expand...
Click to collapse
Data/app is where installed apps go, chances are u dont have anything there cuz ur using apps2sd
Sent from my HTC Desire using Tapatalk
data/app is where you can put user-removable and other apps you want seperate from the system/app in a custom rom - has to be added to the rom itself like A2SD does.
AndroHero said:
Data/app is where installed apps go, chances are u dont have anything there cuz ur using apps2sd
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Oh okay. So before trying my hands at developing a ROM I should try writing some apps first?
Edit: But my ROM Manager has a "Move to SD Card" button, which means it should be in /data/app?
Bump. Then do I need to be on a Linux environment? Any gurus can give some pointers to a newbie to the Android scene?
being on linux would be easier - knowledge of the OS would be better.
If you use Linux you can use dsixda's kitchen to sign and build the rom after youve finished adding removing, editing etc. It's going to be a case of trial and error, but you cant break the phone as long as you're using a rooted/su rom, without the HBOOT or radio in it. You might get a bootloop/freeze, or 57 force closes but you can always re-flash.
Say i wanted to remove certain preinstalled apps from the official Froyo ROM, how would i know which files to delete from the zip?
Sent from my HTC Desire using XDA App
TomakiD said:
I've found a post which looks like a good starting point and contains a lot of helpful links:
hxxp://forum.xda-developers.com/showpost.php?p=6243873&postcount=1
Regards,
Tom
P.S: Sorry, had to cripple the link, because I'm a new user and therefore not allowed to post a "real" link.
Click to expand...
Click to collapse
Where going to post the exact same link. It contains all that you need, usually.
fterh said:
Say i wanted to remove certain preinstalled apps from the official Froyo ROM, how would i know which files to delete from the zip?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
You'll find a lot of info on the following thread. There you're linked to Android Developers pages where the structure of a ROM etc is described. All the info you need is there.
http://forum.xda-developers.com/showpost.php?p=6243873&postcount=1
I think I'll try writing some apps on Ubuntu before even thinking of maintaining and developing my own ROM. This way I can get close and cozy with the Android system and learn Linux. One question though: Is the learning curve steep?
fterh said:
I think I'll try writing some apps on Ubuntu before even thinking of maintaining and developing my own ROM. This way I can get close and cozy with the Android system and learn Linux. One question though: Is the learning curve steep?
Click to expand...
Click to collapse
Bump. Is the learning curve steep for someone who has no prior programming experience?
fterh said:
Bump. Then do I need to be on a Linux environment? Any gurus can give some pointers to a newbie to the Android scene?
Click to expand...
Click to collapse
If you have never had ANY programming experience before I would reccomend learning another language first, before trying to learn Java. Try vb.net if you have Windows, learn that and you get the gist of how to programme, then install Linux Ubuntu or another distro, familiarize yourself with the Terminal command line, then go on to learn Java, then the Android SDK, then make some apps, then learn how to modify roms etc. The last thing you want is a bricked phone
I am a beginner and very interested in developing for android. I have some basic knowledge of app development for android and knowledge of java and c.
I searched but couldn't find a good tutorial for rom development or porting.
Could anybody please suggest some resources from where I could learn rom development??
Thanks in advance.
Best advice I could give you is look at the source code. And brush up on your xml. Unless you have a specific question that's the best I can do.
Hope it helps!
Sent from my SCH-I520 using XDA App
Thor development said:
Best advice I could give you is look at the source code. And brush up on your xml. Unless you have a specific question that's the best I can do.
Hope it helps!
Sent from my SCH-I520 using XDA App
Click to expand...
Click to collapse
I'm interested in learning rom porting from a Device X to Device Y.
I have complied Android from source code and looked at the different folders and architecture but in absence of a good tutorial i wasn't able to build upon it.
I'm looking for resources which could help me in learning components of a basic android rom and how to build on it.
I read that prior to rom developing, it would be helpful if I would learn rom porting, that's why I'm looking for rom porting tutorials.
Thanks.
There was a pretty good web page that I can't find at the moment, but I dig these up:
http://forum.xda-developers.com/showthread.php?t=784121
http://forum.xda-developers.com/showthread.php?t=757817
I just deodexed my first roms tonight, so I think the next step is porting!
gee one said:
There was a pretty good web page that I can't find at the moment, but I dig these up:
http://forum.xda-developers.com/showthread.php?t=784121
http://forum.xda-developers.com/showthread.php?t=757817
I just deodexed my first roms tonight, so I think the next step is porting!
Click to expand...
Click to collapse
Yeah I also remember that page, and I bookmarked that page but recently when I tried to browse that page, it said that page is not available.
I deleted its link also.
Please let me know if you find any further resources.
I deodexed two shipped roms and repacked them using dsixda kitchen, but now of them went post boot screen after installation.
I tried using "adb logact" but it just showed "waiting for device".
I'm not able to figure out why did it happened.
ddms in the android-sdk is pretty good for figuring out what is going on. It basically gives you a streaming logcat as the device is running.
I had a bootloop with one rom because I only deodexed the framework, not the apps. Also don't forget about framework-res.apk in /system/framework.
This thread was a great compilation of rom development and porting resources :
http://forum.xda-developers.com/showpost.php?p=6738713&postcount=1
But it has been removed by the administrator.
There are a few more guides which I was able to search, these are :
http://forum.xda-developers.com/showthread.php?p=18463306
http://forum.xda-developers.com/showthread.php?t=1222746
http://forum.xda-developers.com/showthread.php?t=1076687
And this link has links to some other useful resources :
http://www.neopeek.com/viewtopic.php?f=24&t=6208
Please post other useful resources which you guys have, so that new developers interested to contribute to android community can learn.
Please help me making this post useful for those interested to learn about android rom development.
Paste all useful links which you can find in this thread.
Hey guys. I'm helping out my cousin with is Incredible 2. I've searched through the stickies and forums and really haven't found a way to root 2.3.4. Any help? Thanks.
Sent from my Eclipsed DROID X2
armopride07 said:
Hey guys. I'm helping out my cousin with is Incredible 2. I've searched through the stickies and forums and really haven't found a way to root 2.3.4. Any help? Thanks.
Sent from my Eclipsed DROID X2
Click to expand...
Click to collapse
I see you didn't look here……
Sent from my Incredible 2 HD using Tapatalk and Ice Cream
Wow that looks complicated lol thanks though ill attempt it. Thanks for the link!
Sent from my DROID X2 using XDA App
armopride07 said:
Wow that looks complicated lol thanks though ill attempt it. Thanks for the link!
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
It's not as painful as it looks.
It worked for me with XP Pro sp3 and some drag n drop to the cmd window.
The important part is to make sure that the files are on the root of C:\.
That's where the program looks for the files...
Good luck and happy flashing...
It's pretty simple. Just be sure to follow the instructions and don't miss any step.
Just to be sure, even though Im pretty sure I know the answer to this question, I need and thr android sdk right?
Sent from my DROID X2 using XDA App
bump. ^^^ yes? no?
SDK
armopride07 said:
bump. ^^^ yes? no?
Click to expand...
Click to collapse
I'm not sure if SDK IS needed to downgrade and root I just followed that link that tylerlawhon posted and everything went so quick that I honestly remember.
If you search UTube, there is a couple of great vids regarding ALL you might want to know.
I remember back when I was preparing for the transition to Android, I downloaded the FULL SDK.
What a 10+ GB mistake that was.
I think the basic SDK (android-sdk_r10-windows.zip) weighs in at about 32 MBs.
I can't remember exactly what I needed it for tho.
Here is the ReadMe from that file:
-----------------------------------------------------------------------
Welcome to the Android SDK!
The Android SDK archive initially contains only the basic SDK tools. It does
not contain an Android platform or any third-party libraries. In fact, it
doesn't even have all the tools you need to develop an application.
In order to start developing applications, you must install the Platform-tools
and at least one version of the Android platform, using the SDK Manager.
Platform-tools contains build tools that are periodically updated to support new
features in the Android platform (which is why they are separate from basic
SDK tools), including adb, dexdump, and others.
To install Platform-tools, Android platforms and other add-ons, you must
have an Internet connection, so if you plan to use the SDK while
offline, please make sure to download the necessary components while online.
To start the SDK Manager, please execute the program "SDK Manager.exe".
From the command-line you can also directly trigger an update by
executing:
tools\android.bat update sdk
For more information, please consult the Android web site at
http://developer.android.com/sdk/
Hope that helps.
Wow dude you saved my life. I checked YouTube and realized I didn't need anything I downloaded -___-
Thank you so much!
Sent from my DROID X2 using XDA App
Hello, I'm developer of linux software and I tested capabilites to get full Linux on our phone.
Sorry for posting in general, but i'm unable to post in development.
At the beginning - some theory:
1) We don't need to unleash Linux, because Android IS build on top of linux.
2) Availability of software depends on standard C library - in GNU/Linux it's glibc, in android - bionic.
So we need to port glibc, not linux.
We have following solutions:
-mount and chroot on top of android:
It's really simple: read here.
-build glibc and replace bionic-it's great idea, but may cause some Android problems.
read here.
-build a whole system: but then, we can't use gsm and android at all ,and it's extreemly hard.
Any questions? If sbd need any tutorials, i can help.
i thought you should contact mai77. he seems to be really interested in porting a linux on sgy. he even have made a thread about it. you may see the thread in development section.
Yes, I know. Unfortunately I have not enough posts to post there, but I really want to help him. I've an idea to develop "ready to run" archlinux images,easy to mount and run lxde. Is there anybody interrested?
Count me in just give me the
instructions
Sent from my GT-S5360 using xda premium
well...you only need another 8 post or you can directly pm him.
Lol, he can beat about the bush,to get 10 post.to post in dev,,
So, I'll stop talking and start doing.
At this moment I've created loopdisk and I am developing scripts to install and run easily.
I'll upload it tommorow or in two days,I hope.
MichalBn said:
So, I'll stop talking and start doing.
At this moment I've created loopdisk and I am developing scripts to install and run easily.
I'll upload it tommorow or in two days,I hope.
Click to expand...
Click to collapse
It really interresting count me in
Sent from my GT-S5360 using xda premium
count me in too...though i am not a dev...hehehe
OK, I've tested DebDroid, and i think that my work have no target-it's all already done. So happy using LinuxInstaller - I will rather help them than create it from scrath.
Could have a website tutorial and is Java coding required?
Sent from an my awesome kindle fire.
greezal said:
Could have a website tutorial and is Java coding required?
Sent from an my awesome kindle fire.
Click to expand...
Click to collapse
Will it be safe to assume you mean ROM. Java coding is required. But seeing that you are asking this you should learn more about android system and start with some apps than when you get the hang of app development you could work from there and maybe even make money out of it.
also If you mean apps java will be the best way and ensure that it will run on more devices but there are also some android app maker but they are not free
BTW all the info should be taken with a grain of salt seeing I am not a developer
No you don't really even need to know Java.
You will need an Ubuntu installation (x64). I recommend 12.04. I can tell you for sure that it works on 12.04
Here are some helpful links.
https://github.com/KFire-Android/android_local_manifest/wiki
http://forum.xda-developers.com/showthread.php?t=1751833