What can I do to develop for our phone? - Galaxy 3 General

I want to develop stuff for our phone. Is there something useful I could help making?
I have basic to little advanced knowledge of Java
I understand c++ except for pointers which I might want to look up. But presumeably not good enough...
I could make frameworks. If I only knew how or where to start and which files to edit for example. Is it possible to decrypt xml files or why are they not readable?

Compile it from the source without any touchwiz on it, just murder touchwiz from it roots. then release the rom. I will LOVE you. but add launcherpro ;P

djjonastybe said:
I want to develop stuff for our phone. Is there something useful I could help making?
I have basic to little advanced knowledge of Java
I understand c++ except for pointers which I might want to look up. But presumeably not good enough...
I could make frameworks. If I only knew how or where to start and which files to edit for example. Is it possible to decrypt xml files or why are they not readable?
Click to expand...
Click to collapse
Well, basically you can try different things:
1) ROM's - We have plenty , so not worth wasting time on that.
2) Kernel's - We need more, so definitely worth it
3) Applications - You need Java & XML Knowledge...
4) Developing from source (AOSP, CM) - Too much knowledge needed...
5) Edit Default apps - (Edit Smali, xml files )
And yes, you can decrypt xml files...
one good example is this one... http://forum.xda-developers.com/showthread.php?t=1065452
See the HOW-TO...
And Please Dont Post In Development Section, Unless You Have Already Started Developing, Hope You Understand

I am also very interested in making performance themes which are as light as possible... And improving batterylife as well by making the theme as dark as possible while still making it very attractive.
When editing the framework-res of for example g3mod. Will I need to zipalign again? Or do I need to do some after optimization after replacing the files through 7-Zip?
I read I had to use 7-zip to keep the apk signed... I may be wrong.
EDIT: I think APK Manager is my solution! Thanks for the link!

Sure...
Better Video recording!
at least 640x480 please.

FROYO Call recording

I have my stock rom from Samsung, which I downloaded with checkfusdownloader.
So what are the steps I need to take to start modding this thing? So I can deodex this and maybe zipalign it

djjonastybe said:
I have my stock rom from Samsung, which I downloaded with checkfusdownloader.
So what are the steps I need to take to start modding this thing? So I can deodex this and maybe zipalign it
Click to expand...
Click to collapse
Yeah you can do that.

Related

Tools to make your own cupcake rom?

Anyone can put a brief discription and the tools to make your own cupcake rom? Any help will be appreciated. I want to learn to make my own roms as well. Thank you.
It isn't easy as you think.
You must edit the source code.
NiN39Z said:
Anyone can put a brief discription and the tools to make your own cupcake rom? Any help will be appreciated. I want to learn to make my own roms as well. Thank you.
Click to expand...
Click to collapse
are you talking about something like the PPC kitchen for windows mobile users?
if so, i was once a winmo guy. before android obviously. In my opinion if you are talking about something like the kitchen to point and click what apps you want your rom to have stock. i think it will be quite some time before we see something that in depth for two reasons.
1. It will require root. which not everyone feels comfortable doing.
2. The people who do have root and are flashing roms probably flash roms as soon as haykuro, the dude, or JF drops something. we cant even make up our minds about what rom we want yet lol.
In thought of the second reason it would be a great idea to have a "kitchen" type program for the PC that people can just point and click what rom they want the pc to push to the phone either by way of ADB or update.zip methods.
Plus on top of that... its not like there is anywhere near the amount of apps that winmo has to choose from just do do the same things.
again... in my opinion. it will be quite some time. Till then... (and more importantly back to your question) At the moment, the only way to build a rom is to compile it yourself. Check out all the reading you can do at www.android.com and get an idea of what you are getting into. Id love to see more people getting into development.
Yea i wanna compile my own rom actually. SO, I wanna get a breif discription and find the tools for it
www.android.com
happy reading.
I was thinking of getting a 2nd G1 as a 'test subject',,,, wouldent be a total waste of £165 quid, and then if gives me something real to develop on and troubleshoot on the fly
£165? Where'd you get that figure from???
And on the making your own cupcake ROM, you should follow the thread about compiling from the latest source for your phone, you'll learn a lot there and eventually get used to compiling your own aplications. Learn a bit of java and you'll be able to edit the source, get some custom apps working.
Thanks for ur input guys.. Im learning java development in college next semester so, ill be cooking up andriod roms after that for future devices
Easiest way to make your own rom atm with minimal technical knowledge is just taking a rom from JF, haykuro or thedude, unzipping them and adding/subtracting things that you want (adding a theme, removing or adding certain apps, adding tweaks, adding onscreen keyboards, etc). You then sign the file and put it on your phone.
Use this to sign the update (must have the SDK):
http://forum.xda-developers.com/showthread.php?t=473580

[IDEA]Custom ROM Apps

Hello,
I am a software/web developer. Lately I had an idea to make an interface for easy CWM Rom Modifications. Basically like online rom editor.
The program flow is simple.
1. You upload zip rom from your computer, link or choose one from server.
2. You modify basic rom features. Possible functions (some):
add/remove/replace apps
custom launchers
build.prop editor
add/remove/replace fixes/updates
3. Once done you can download, get qr code, share, upload to rapidshare,megaupload,etc
I can make such thing in a week and ready to use. Questions is, would anyone use it?
Personally I can find it useful for me because i switch roms daily and i prefer launcherpro instead of stock, custom wallapepers, etc etc. So instead of installing each rom and modifying it locally you could do it with few clicks from your browser, even possibly from phone itself.
But once again, does that sound something that you would find useful?
jM2.me said:
Hello,
I am a software/web developer. Lately I had an idea to make an interface for easy CWM Rom Modifications. Basically like online rom editor.
The program flow is simple.
1. You upload zip rom from your computer, link or choose one from server.
2. You modify basic rom features. Possible functions (some):
add/remove/replace apps
custom launchers
build.prop editor
add/remove/replace fixes/updates
3. Once done you can download, get qr code, share, upload to rapidshare,megaupload,etc
I can make such thing in a week and ready to use. Questions is, would anyone use it?
Personally I can find it useful for me because i switch roms daily and i prefer launcherpro instead of stock, custom wallapepers, etc etc. So instead of installing each rom and modifying it locally you could do it with few clicks from your browser, even possibly from phone itself.
But once again, does that sound something that you would find useful?
Click to expand...
Click to collapse
This is a late reply but heck yeah i would totally use it!
haha. yes i would have to admit that this is a late reply as well but i would use something like this also. i wish i seen this before. i also change ROMs often and this could provide some great use.
Ha ha late reply..... is use it
Sent from my HTC HD2 using XDA App
jM2.me said:
Hello,
I am a software/web developer. Lately I had an idea to make an interface for easy CWM Rom Modifications. Basically like online rom editor.
The program flow is simple.
1. You upload zip rom from your computer, link or choose one from server.
2. You modify basic rom features. Possible functions (some):
add/remove/replace apps
custom launchers
build.prop editor
add/remove/replace fixes/updates
3. Once done you can download, get qr code, share, upload to rapidshare,megaupload,etc
I can make such thing in a week and ready to use. Questions is, would anyone use it?
Personally I can find it useful for me because i switch roms daily and i prefer launcherpro instead of stock, custom wallapepers, etc etc. So instead of installing each rom and modifying it locally you could do it with few clicks from your browser, even possibly from phone itself.
But once again, does that sound something that you would find useful?
Click to expand...
Click to collapse
It's a great idea dude! I'm a web designer/dev too. Anyway love the idea, this will open up the possibilities of trying new roms every time.
I'd too use it.
It's the idea, I was dreaming of.
Best of luck !
HECK YES
oh boy yes totally yes.
this type of app would help immensly to any1 who wishes to barebone there favourite rom.
help us in keeping our cwm smaller ie 5/150/10 etc.
mod roms to our taste.
cut out fonts we dont want.
apps we dont want or use.
ringtones, alarm sounds, notifications, system sounds etc we dont want or need.
insert our own apps.
hell yes brilliant idea hope that you do create and bring this project to fruition.
A++++++++++++ on idea and creation.
jM2.me said:
Hello,
I am a software/web developer. Lately I had an idea to make an interface for easy CWM Rom Modifications. Basically like online rom editor.
The program flow is simple.
1. You upload zip rom from your computer, link or choose one from server.
2. You modify basic rom features. Possible functions (some):
add/remove/replace apps
custom launchers
build.prop editor
add/remove/replace fixes/updates
3. Once done you can download, get qr code, share, upload to rapidshare,megaupload,etc
I can make such thing in a week and ready to use. Questions is, would anyone use it?
Personally I can find it useful for me because i switch roms daily and i prefer launcherpro instead of stock, custom wallapepers, etc etc. So instead of installing each rom and modifying it locally you could do it with few clicks from your browser, even possibly from phone itself.
But once again, does that sound something that you would find useful?
Click to expand...
Click to collapse
I like the idea, however, with ROM dev's in mind, i would not make it so one can share the ROM they uploaded. I would make it so the person who uploaded the ROM they can then download it after their modifications were made. I just know that some ROM devs wouldnt appreciate their work being passed on and shared without their approval, a lot of devs dont like mirrors being created and even though the user modifies the ROM, its still not their work since the code is the developers. But yes i would like something like this. i already have a batch file set up that just adds the things i want.

[Q] How to start developing on and with Android

Hi you developers out there.
I already have read very much about Android and DHD and I decided to develop on my own/have a look onto developing.
So now my question to every developer out there:
How did you start developing?
Started with developing apps or started directly with Custom ROMs?
Do you have any tip for a beginner?
And were is a good place to learn something about porting systems to other devices?
Thanks for any upcoming answer.
This is a great question.
Sent from my HTC Desire HD A9191 using xda premium
Custom roms and app development are two completely different animals. Roms are much easier to start with in my opinion, but if you have knowledge in c + and java, application development won't be too tough.
Google for dsixda android kitchen.
I have a tool called android-utility for app re engineering and optimization, as well as signing and many other utilities.
Google apktool.
Google baksmali.
I don't think I would be too wrong to say that most ROM devs can't write apps. But that doesn't mean anything. You don't need one to be good at the other.
Before you get into advanced topics like porting, download the kitchen. Download a stock ROM on your device and see if you can make it rooted and bootable. Play with adding and removing features. Then try porting only after you understand what certain files mean or do. Start there. That's what I recommend.
But if you do have coding knowledge, there are several guides out there for basic app development. Google how to write an android app. Many hits
tapatalk signature here. lovely.
tommytomatoe said:
Custom roms and app development are two completely different animals. Roms are much easier to start with in my opinion, but if you have knowledge in c + and java, application development won't be too tough.
Google for dsixda android kitchen.
I have a tool called android-utility for app re engineering and optimization, as well as signing and many other utilities.
Google apktool.
Google baksmali.
I don't think I would be too wrong to say that most ROM devs can't write apps. But that doesn't mean anything. You don't need one to be good at the other.
Before you get into advanced topics like porting, download the kitchen. Download a stock ROM on your device and see if you can make it rooted and bootable. Play with adding and removing features. Then try porting only after you understand what certain files mean or do. Start there. That's what I recommend.
But if you do have coding knowledge, there are several guides out there for basic app development. Google how to write an android app. Many hits
tapatalk signature here. lovely.
Click to expand...
Click to collapse
Thank you very much!
That's an good answer!
Will start there.
Thank you.
One more question:
In which topic would you put theming?
Is it more app or more ROM development?
Would you recommend theming?
Themes has its own section in the forum. Themes belong in the Inspire 4G Themes and Apps section.
Theming is not quite like writing apps or developing ROMS. It is somewhere in between but closer to ROM development. Basically just taking certain files in the ROM and swapping pics, changing transparencies, fonts, and icons.
Ditti4 said:
Thank you very much!
That's an good answer!
Will start there.
Thank you.
One more question:
In which topic would you out theming?
Is it more app our more ROM development?
Would you recommend theming?
Click to expand...
Click to collapse
Yep basically what ago said. Nothing against themers because I am one too, but it really doesn't take much skill Just swap out pngs and bam. You have a theme.
But when you get good you can mess with smali and xml and then you're on your way. Start by theming a few apks and get a feel for how they work.
tapatalk signature here. lovely.

[REQ] 2WCR port or patch guide for AOSP-MIUI

Hi, I don't know the proper way of doing this but I do humble request to someone with spare time to make a PATCH or post some guide for patching at least the default MIUI kernel to have proper 2WCR on it.
I don't live in the US so 2WCR laws don't restrict me from recording my own calls.
Thank you in advance.
Is there a problem with the built-in method of 2wcr? I've never tried it, but it should work fine out of the box.
MIUzI weighs a ton.
EndlessDissent said:
Is there a problem with the built-in method of 2wcr? I've never tried it, but it should work fine out of the box.
MIUzI weighs a ton.
Click to expand...
Click to collapse
Built-in method from the EVO4G is only good if you make calls using the loudspeaker because it records from the MIC.
Wrong section my friend.
Sorry, I really didn't knew where to make the request, but I really hope someone has the spare time to make or help me accomplish this. If any moderator read this please be kind enough to move this thread to the appropriate section, and sorry for any inconvenience.
To Add it into the Kernel is pretty easy. Just replace 6 files in the source code of your Kernel with the ones from my www.github.com\detcup4evr
Sorry I haven't had a chance to look at ASOP kernel much, but code looks pretty similar.
Add these files
arch/arm/mach-msm/qdsp6/amrnb_in.c
arch/arm/mach-msm/qdsp6/vocpcm.c
Edit these or just replace
arch/arm/mach-msm/include/mach/msm_qdsp6_audio.h
arch/arm/mach-msm/qdsp6/Makefile
arch/arm/mach-msm/qdsp6/pcm_in.c
arch/arm/mach-msm/qdsp6/q6audio.c
Thank you very much for your response, I know it looks simple to do but for me those tips you gave me are like rocket science,I don't have the sightless idea on how to accomplish it but I will try to make some time to read and learn how to compile that, between work and my 2 kids I don't have too much spare time hehe, but I appreciate your kindness.
detcup4evr said:
Just replace 6 files in the source code of your Kernel
Click to expand...
Click to collapse
whether it is suitable for all devices, or for HTC only? e.g. will it work for LG O1, CM miks ROM?
thanks very much
detcup4evr said:
To Add it into the Kernel is pretty easy. Just replace 6 files in the source code of your Kernel with the ones from my www.github.com\detcup4evr
Sorry I haven't had a chance to look at ASOP kernel much, but code looks pretty similar.
Add these files
arch/arm/mach-msm/qdsp6/amrnb_in.c
arch/arm/mach-msm/qdsp6/vocpcm.c
Edit these or just replace
arch/arm/mach-msm/include/mach/msm_qdsp6_audio.h
arch/arm/mach-msm/qdsp6/Makefile
arch/arm/mach-msm/qdsp6/pcm_in.c
arch/arm/mach-msm/qdsp6/q6audio.c
Click to expand...
Click to collapse
Sadly it's not a cut and paste in the case of AOSP. I am having to rewrite of amrnb_in.c in order to evern suggest getting it to compile. I strongly discurage anyone from copy and pasting those files over as the have dependencys on things that come with sense that are simply not in AOSP.
vocpcm and qdsp6
atyoung said:
Sadly it's not a cut and paste in the case of AOSP. I am having to rewrite of amrnb_in.c in order to evern suggest getting it to compile. I strongly discurage anyone from copy and pasting those files over as the have dependencys on things that come with sense that are simply not in AOSP.
Click to expand...
Click to collapse
Hi, did anyone get this working ok ? I just tried the suggestion above but it seems like I am missing a bunch of dal headers etc.
Is it just working on specific Qulacomm DSPs in HTC devices ? I have for example a qdsp6v2_1x directory in my HTC sources for HTC Sensation
Anyone tried to build this on kernel 3.x ?
cheers
Mark

Moto XPRT Gingerbread Modding HERE!

Hello everybody, It´s been like a week since I last posted, a lot of things went wrong in my house and I somehow lost all my computers
anyway, back in business again, Last night I had to install the stock Sprint GB sbf, to my surprise it worked Really, Really good.
I´ve had a Defy+ and a Milestone 2, And I remembered having lots of issues with modding aka. no signal, wifi issues (like the cm7 and 9 ones) data issues, system lags, poor battery life, kernel errors on development, Overclocking settings not being saved, recovery mess-ups, and a lot of depicable stuff, most of all kernel-related.
Anyway, last night I flashed the stock rom over cm7 and noticed a real speed, functionality and battery boost, so I thought of just theming, de-bloating and optimizing the stock Sprint ROM.
Please follow me here:
We will never be able to flash custom kernels (not w/o the help of a reaaaaal good DEV)
CM9 &10, though they are eye-candy, are based actually on Gingerbread kernel, so no new features can be added besides the ones you can get withg new apps.
CM7, though stable, lacks the performance and functionality of the stock rom.
Finally, the stock rom as I said, (and I´ve tested TONS of ROMS in different motorola devices) is the one with the best responsivenness, snappiness and battery life, plus It's almost clean (eg. bloatware is easily removed.)
How will it be done?, you may ask.
Well Our first step, will be deodexing the stock GB SBF.
After deodexing we will be optimizing the build.prop on our phone, to trick apps into installing on our phones, and to make some quick optimizations.
Once we have deodexed our rom, we will be able to run,autorun and theme /system/apps.
Apps like Gnow, the statusbar and other tweaks can be easily (RELLY EASY) ported to deodexed ROMS
So this is the challenge guys, Let´s build our own stockcustom ROM.
So far I´m re-flashing stock sprint GB to continue testing only the essential apps, so we can build from there.
And just for a tease; here is my latest build.prop, with some tweaks and tricks taken from other roms and my personal experience, just make sure you have root access, fire up a file explorer and replace your build.prop
Please Refer to next post for links on how to maybe help me with deodexing the full rom.
And please, developers, dont take this as a shady move towards your development, I just think that the best way to make something is to start from scratch..... there are too many source files, modded files and crap files on cm7,9&10 specially when not officially supported (Because everybody messes with the files and re-distributes them, so a lot of clutter and unneeded files, references and code are injected on some releases....)
So my friends, we have a common goal, By now I have succesfully overclocked/undervolted the phone to 1350/233 mhz (not on recovery!!)
I´ve deodexed system/framework/
and Im stuck trying to deodex system/apps/
Xprt Owners of the world, please come on over here, we can do this...
I´m an architect/artist so I really want this to have a sleek look, but not copying a specific stock look, if you know what I mean....
From now on refer to the "wished features post" for features you´d like
And now my final statement:
Though it IS possible to compile JB or ICS from source to our phones, my experience with this somehow outdated android motorolas, is that you will not get significant performance boosts or super cool functions with new software. The only way to get this functionality is by upgrading the kernel which I again declare IS NOT POSSIBLE on our phone. CM9 and 10 my look like JB and ICS, but run straight off a GB kernel.
Yes you will get a lot of new stuff like menus and graphics, but the functionality will be the same, plus all the eye candy will trade off your new features with lags and possible errors.
Software is built in time with devices, and it doesn´t matter how much you say "but the hardware is capable of more!!", incremental software updates "ignore" some HW features, so they have to be forced or modified to run, which adds more procesess/tasks to the kernel and this will suck your speed and battery.
Let´s build something pretty...............:laugh:
Hello everybody, and welcome to the world of modding.
From today, we will be coordinating an army of people to work towards a common goal: Having the best ROM for our phones, and surviving the day.
The tools you absolutely need:
Brain
Hands
Eyes
Text-comprehension.
Be a self-troubleshooter
Advanced Google skills
Patience
Some Weed
First of all I will just oversee the topic: ODEXED vs DEODEXED
In simple words, Odexed systems have XX.apk and XX.odex, which store certain app properties (like icons, colors, fonts, menus) so that they wont be messed up with, thus making the system more stable, Deodexed systems, have only APK´s with their icons, colors and behaviors packed on, thus making theming, modding and using alternative system apps easier.
If you would LOVE to read about the subject, please refer to this: http://www.addictivetips.com/mobile/what-is-odex-and-deodex-in-android-complete-guide/
Well, now that you are totally aware of the odex-deodex situation, you might ask yourself..
-how the phuck do I deodex my system??????
Well, deodexing implies merging the .odex properties onto the apk.
Hey!!!! but how???
you need brains, patience, Java SDK7, Android sdk, and music.
http://forum.xda-developers.com/showthread.php?t=1852322 this instructions are for deodexing.. good luck....
To save your time, you need Android SDK and JSDK properly installed, you need xUltimate (Try and find the version that works on you), and you need the patience and willingness of Sidharta.
Ive tried already 5 versions of xUltimate to find out errors on different files!!!!!!
http://forum.xda-developers.com/showthread.php?t=2065270This will tell you some other basics on the xultimate deal.
There are other ways to deodex, help me google that.
We will be based on the stock 1FF-p3_kronos_cdma_kronos-user-2.3.5-4.5.1-110-KNS-46-49-test-keys-signed-Sprint-US SBF....
I would love to develop something good to both sprint and boost, but I have a Sprint handset, so I cannot assure our development will work on boost handsets, so please just sprint handset owners only for now.
For xultimate errors and troubleshooting, please refer to Google.com!
Ive been up all last night deodexing my system apps, and found out that most google related apps cannot be deodexed...
maybe that's why you need to install gapps in cm7 or other custom roms...
anyway people, let's get fully deodexed.
Make sure you have both Android SDK and Java SDK 7 PROPERLY installed oin your pc before trying this.
Cheers, luck and please reply
One last thing, I dont know if it is related somehow, but try to flash your stock rom without a SIM card inserted
Quick update: I Think I´ve got it figured out....
You need full Android SDK, and Java development kit, Android sdk tools alone wont do it, and java alone wont do it, you need developer runtimes and libraries for some programs like xultimate to run right.....
And you need not to activate, use or anything your phone before trying to deodex, I guess just starting up and entering simple things as the time, or having a sim card installed, or your google account can write data on the phone and mess up with the deodexing process.....
xultimate has already deodexed full framework and has passed from the yesterday´s troublesome google quick search box...(first thing to fail last night) so let´s hope it goes well.. it is indeed a loong process...
and just another error, but now I think I have it figured out, you need smali-baksmali assembler/disassembler for some specific .jar packed files... I´ve just installed it, and hopefully will post a fully deodexed stock rom today or tomorrow, for you to test and for us to start theming.
remember if you want to try... you need jdk not just java, you need full android sdk bundle, and you need smali/baksmali on your jdk installation for it to work properly...
%#%"!!!
This completely sucks, I´ve been trying to troubleshoot the errors xultimate is throwing at me on specific files, that lead me to download A LOT of java JRE and JDK versions, and both in x64 and x32 flavors, which apparently caused a major mixup on my PC´s guts....
Now I´m freaking trying to clean up my dev enviroment, trying to re-set the appropiate paths and classes, but hell with it...
Anyone succeeded??? please let me know if you´ve tried and if you get into any error can you please upload a screenshot???
thanx
Sounds like hell. I haven't tried, because I just don't have enough time in the day to do something like this. Plus, the xprt is my only phone, so I can't afford to experiment on it much.
Sent from my XT720 using xda premium
tzuba12 said:
Sounds like hell. I haven't tried, because I just don't have enough time in the day to do something like this. Plus, the xprt is my only phone, so I can't afford to experiment on it much.
Sent from my XT720 using xda premium
Click to expand...
Click to collapse
Same.
Sent from my MB612 using xda app-developers app
are you trying to deodex the stock rom?
rongsang said:
are you trying to deodex the stock rom?
Click to expand...
Click to collapse
yes sir, but in the mean time I managed to patch it with the battery mod, power menu and ICS style notifications
If I can deodex it I think I can improve it a little bit more in terms of performance and looks and functionality , but my powerful pc is a zombie right now, this is no task an old notebook can handle
I have deodexed it a long time back but sadly I can't upload it now. You can run kitchen from cygwin and it will deodexed your rom completely.
Sent from my MB612 using xda app-developers app
Ive used the kitchen and xUltimate with no good results mate!...
I always get smali errors or heap size errors despite I was using even a 4gb heap size, and tried using different versions of smali baksmali....
I am beggining to think I´ve been cursed by the digital gods.
BTW, if you´re able to upload it, I´ll be very thankful dude! I think Im going nowhere right now

Categories

Resources