Who Would Like an All In One Android Dev Set Up Script? - General Questions and Answers

Hey everyone, I am thinking about writing a shell script for getting all the stuff you need for andoid dev set up. I think this would be really useful for some people and would save a lot of time for aspiring developers. Of course this would be for linux at first and it would more or less include:
1. install repo and offer to download aosp/cm9/any other you want source
2.set up basic dependencies for building source and such, including proper java version
3. install rom kitchen
4.install apktool/apkmanager and all its stuff
5. add stuff to path and add useful aliases
and anything else you guys want.
Let me here some input here on what you think before I spend a bunch of time doing this, and if people seem to like it I will go ahead.

bump
Sent from my MB865 using xda premium

Yes, please!
Sent from my SAMSUNG-SGH-I747 Anti-Motorola Ballistic Missile

would be awesome dude

This may be handy as many get stuck with the Java version install
Sent from the Bat Cave

Yes please do
Sent from my PC36100 using xda premium

That would be awesome.
Sent from my Paranoid Android JB'd Infuse 4G using Tapatalk 2

Related

[Q] how can i be a developer

I did a little googling and found a site called ROM kitchen. So is this basically how i get started creating roms? Suggestions, links, precautions?
Rom kitchen won't work with our phones
Sent from my SGH-T959V using Tapatalk
I can't remember the person who made that, but if his name starts with a d, its HTC only.
Sent from my myTouch_4G_Slide using XDA App
this?? http://romkitchen.org/samsung/?s=home
hey thats a pretty cool find tell me if it works i would like to learn too
Ricanblaze said:
hey thats a pretty cool find tell me if it works i would like to learn too
Click to expand...
Click to collapse
I'm a lil scared to try...lol. I created something but haven't done anything to it yet.
Don't know what rom kitchen is but I have been doing a lotvof reading about deving over the last couple of weeks and there is a wealth of info right here at xda. Read ask questions read some more. Download a stock rom on the computer open it and tinker with the crap inside.
Sent from my SGH-T959V using xda premium
Don't think you want to use that. Shows galaxy s... not galaxy s 4g.
Sent from my SGH-T959V using XDA App
As mentioned above rom kitchen does not work for our phone
lol dude tell me add me on gmail so we can explore this
camalus said:
Don't think you want to use that. Shows galaxy s... not galaxy s 4g.
Sent from my SGH-T959V using XDA App
Click to expand...
Click to collapse
ok. Its there a thread here that guides one to build roms? I didn't see any for sgs4g
Sent from my SGH-T959V using xda premium
first off grab a linux distro and install it side by side between windows and linux *unless u have a mac *
then also download beyond compare apk tool c++ compileing tools android sdk eclipse
if you also plan to theme your roms or change clolors or add transparencies you will also want the css color/transparency chart so you know the values
you can skip the c tools if your not going to plan on building kernels.. the rest you will need just for straight roms with no visual modifcatons eg themeing for that photoshop in windows or gimp in linux personally i use gimp in linux its free and has the same toolkit
if your a linux novice which i am going to assume you are ubuntu or mit 10.x preff 10.10 will get you the correct build tools for gingerbread
your going to have to learn how to decompile apps and how the changes you make alter the way the rom works *hence why virtual phones amd eclise are so handy you can test your work without having to flash to your device 800000 times
your also going to want to learn java
if your a linux novice i would suggest learning linux before hand will save you many hours of headaches
Thanks bro, gonna check it out tonight.
Sent from my SGH-T959V using xda premium
RaverX3X said:
first off grab a linux distro and install it side by side between windows and linux *unless u have a mac *
then also download beyond compare apk tool c++ compileing tools android sdk eclipse
if you also plan to theme your roms or change clolors or add transparencies you will also want the css color/transparency chart so you know the values
you can skip the c tools if your not going to plan on building kernels.. the rest you will need just for straight roms with no visual modifcatons eg themeing for that photoshop in windows or gimp in linux personally i use gimp in linux its free and has the same toolkit
if your a linux novice which i am going to assume you are ubuntu or mit 10.x preff 10.10 will get you the correct build tools for gingerbread
your going to have to learn how to decompile apps and how the changes you make alter the way the rom works *hence why virtual phones amd eclise are so handy you can test your work without having to flash to your device 800000 times
your also going to want to learn java
if your a linux novice i would suggest learning linux before hand will save you many hours of headaches
Click to expand...
Click to collapse
Raver, how many years have you learned Java? Just wandering ;-)
Sent from my SGH-T959V using XDA App

[Q] gingerbread

As of right now, what is holding us back from porting gingerbread to our sidekicks? Is it drivers? Or a 2.3 kernel that runs? I need a list of what needs to be done exactly.
Sent from my SGH-T839 using XDA
See here:
http://forum.xda-developers.com/showthread.php?t=1557094
And, here:
http://rootzwiki.com/topic/22310-wipcm7-for-sidekick-4g/
Hope that helps!
Thank you, but I've seen both of those and followed them to the end. I'm looking for a specific list of what is needed to port gingerbread to our device. As in i may take up the task of porting it
Sent from my SGH-T839 using XDA
Would probably be a good idea to continue where windixxi left off since hes the closest person to get ginger working on our phone.
i think i remember Sduvick explaining that the drivers for this device are not exactly generic, so we really need an official Gingerbread kernel from Samsung. i'm pretty sure he tried porting a gb kernel from another device, but without updated drivers for the SK4G, it was basically impossible. that's how i understand it anyway.
Thank you yogi for the info and yes pintek im aware of windxixi great work but i cant figure out his github at all. Its not labeled well.. so more or less its a drivers issue?
Sent from my SGH-T839 using XDA
Roundtableprez said:
Thank you yogi for the info and yes pintek im aware of windxixi great work but i cant figure out his github at all. Its not labeled well.. so more or less its a drivers issue?
Sent from my SGH-T839 using XDA
Click to expand...
Click to collapse
Basically? That's what I understood as well.
So instead of trying to port drivers we would have to write new drivers in theory since we don't have a source to build from?
Sent from my SGH-T839 using XDA
Roundtableprez said:
So instead of trying to port drivers we would have to write new drivers in theory since we don't have a source to build from?
Sent from my SGH-T839 using XDA
Click to expand...
Click to collapse
It's no small job. Here's sduvick's assessment of the issue:
http://forum.xda-developers.com/showpost.php?p=22765446&postcount=7
Thanks for the reading orange. Gave me the idea that the kernel is going to have to be a makeshift mix and match type thing from kernels from multiple phones.
Sent from my SGH-T839 using XDA
Roundtableprez said:
Thanks for the reading orange. Gave me the idea that the kernel is going to have to be a makeshift mix and match type thing from kernels from multiple phones.
Sent from my SGH-T839 using XDA
Click to expand...
Click to collapse
I agree.
As mentioned previously, maybe windixxi can provide some insight as well.
You're probably going to need some experience and knowledge of coding (i.e. C, Python, Java) and access to a Linux rig of some sort as well..
Yes im going to setup a linux enviroment soon i was thinking ubuntu but i havent setup a linux in a while are their any better alternatives?
Sent from my SGH-T839 using XDA
Roundtableprez said:
Yes im going to setup a linux enviroment soon i was thinking ubuntu but i havent setup a linux in a while are their any better alternatives?
Sent from my SGH-T839 using XDA
Click to expand...
Click to collapse
I recommend installing a hard drive specifically for your Linux environment and using the bios to switch between your boot OS.
But, I also have Ubuntu installed inside of VirtualBox. It's a bit slow, but it works inside of Windows.
so awesome that Samsung are such *****es about this haha
Sounds like i may be in need of a better computer. Ill see what i can do with what i have and start looking into kernels with stuff we need
Sent from my SGH-T839 using XDA
I think there's a kernel guide here you could look at.
A OC/UV Kernel would be fabulous.
Reviewers said:
I think there's a kernel guide here you could look at.
A OC/UV Kernel would be fabulous.
Click to expand...
Click to collapse
I might try that to get me back into the groove of things, things are going slow with classes though so nobody should get their hopes up yet. But if i manage to buil an oc/uv kernel sucessfully, then my next project will be working on a gingerbread kernel. Ill keep you guys posted in the weeks to come.
Sent from my SGH-T839 using XDA
Thanks man we are in need of some serious love for our devices.
Sent from my SGH-T839 using XDA
Roundtableprez said:
Yes im going to setup a linux enviroment soon i was thinking ubuntu but i havent setup a linux in a while are their any better alternatives?
Sent from my SGH-T839 using XDA
Click to expand...
Click to collapse
If you (or other SK4G developers) are interested, I may be able to arrange a build server.
As in a place to host the kernels we build?
Sent from my SGH-T839 using XDA

Can someone please help me!

i wanna get into Rom development but I'm not savvy with Linux and i looked at tutorials but i just don't get the commands. is there someone who can help with the commands to install the sdk and download a source? or can you lead me to a video?
Not quite sure whats to get. There arw plenty of detailed guides on xda and the rest of the web on how to set up and build from source (if thats what you want to do).
But linux is really something you shouls get into if you want a easier time deving
EDIT
And if you need help from a linux point of view PM me im sure i can help
Sent from my GT-N7000 using xda premium
If you have linux on your (Computer) system, just type "help" and a list of commands shows up, help "command" shows you the explanation of a specific command. They are mostly the same on Android.
Also look for "linux commands" on the Google App Store.
Another App that gives introduction into development is called "Android development Basics"
have fun and teach me, when you learned it
okay thanks. i just don't understand how to install the sdk and what the ccache is, etc
Sent from my SPH-L710 using xda app-developers app

[Jelly Bean]Deodexing services.odex and SecEmail.odex

I'm placing the decompile code to deodexing servies.odex and Email.odex because many guys are asking about the way to deodex these files from Samsung Galaxy II EPIC 4G Touch (D710) forum.
services.odex: (you don't need all bootclasspath in here. But if you have any issue deodexing services.odex, this would be the fastest way to decompile it)
java -Xmx1024m -jar baksmali-1.4.1.jar -a 17 -d 'source odex dir' -d 'deodexed dir here' -c :access.control.jar:allshare.jar:allsharelib.jar:am.jar:android.policy.jar:android.test.runner.jar:apache-xml.jar:bmgr.jar:bouncycastle.jar:bu.jar:com.android.future.usb.accessory.jar:com.android.location.provider.jar:com.google.android.maps.jar:com.google.android.media.effects.jar:com.google.widevine.software.drm.jar:com.samsung.device.jar:com.yamaha.android.media.jar:core.jar:core-junit.jar:CustFeature.jar:ext.jar:framework2.jar:framework.jar:GlobalConfig.jar:ime.jar:input.jar:java.awt.jar:javax.obex.jar:kies_feature.jar:libvtmanagerjar.jar:minimode.jar : monkey.jar : org.simalliance.openmobileapi.jar : pm.jar:requestsync.jar:sec_edm.jar:sec_feature.jar:sec_platform_library.jar:seccamera.jar:secface.jar:sechardware.jar:secmediarecorder.jar:svc.jar:twframework.jar:uiautomator.jar -x "source odex dir\services.odex"
java.exe -Xmx1024m -jar baksmali-1.3.2.jar -d 'source odex dir' -d 'deodexed dir here' -c :access.control.jar:allshare.jar:allsharelib.jar:am.jar:android.policy.jar:android.test.runner.jar:apache-xml.jar:bmgr.jar:bouncycastle.jar:bu.jar:com.android.future.usb.accessory.jar:com.android.location.provider.jar:com.google.android.maps.jar:com.google.android.media.effects.jar:com.google.widevine.software.drm.jar:com.samsung.device.jar:com.yamaha.android.media.jar:core.jar:core-junit.jar:CustFeature.jar:ext.jar:framework2.jar:framework.jar:GlobalConfig.jar:ime.jar:input.jar:java.awt.jar:javax.obex.jar:kies_feature.jar:libvtmanagerjar.jar:minimode.jar : monkey.jar: org. simalliance.openmobileapi.jar : pm.jar:requestsync.jar:sec_edm.jar:sec_feature.jar:sec_platform_library.jar:seccamera.jar:secface.jar:sechardware.jar:secmediarecorder.jar:services.jar:svc.jar:twframework.jar:uiautomator.jar -x "source odex dir\SecEmail.odex"
Be sure to use baksmali v1.3.2 instead of 1.4.1.
v1.4.1 does not decompile the SecEmail.odex correctly (I see that one case opened to google code development and it's pending. But it could be resolved using this way.
Note: jar file list should be different based on your provider. The above example is based on Sprint Galaxy II D710 Epic 4g Touch and leaked ROM FL16.
I hope this removes lots of headaches during deodexing JB rom.
Why didn't you post this in the Epic 4G Touch forum?...
Sent from my SPH-D710 using xda premium
Mattix724 said:
Why didn't you post this in the Epic 4G Touch forum?...
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Either he wanted to make it available to anyone that might be having problems or he's just messing with your as s
Sent from my SPH-D710 using Xparent ICS Tapatalk 2
elijahbrown said:
Either he wanted to make it available to anyone that might be having problems or he's just messing with your as s
Sent from my SPH-D710 using Xparent ICS Tapatalk 2
Click to expand...
Click to collapse
LOL, I'm going to wager it's to make it available to anyone having trouble as the only items specific to our phones have been stated in the OP
Guys, don't get me wrong!
I'm sharing what I've found with my own time and I provided it to you because of you guys asked me to do it. What you need to do is, just using it or say 'thank you'.
It's not just for Epic 4g touch and I wanted share my findings with everyone. Like I said, there's the same issue on google code development site and I solved it.
kobridge said:
Guys, don't get me wrong!
I'm sharing what I've found with my own time and I provided it to you because of you guys asked me to do it. What you need to do is, just using it or say 'thank you'.
It's not just for Epic 4g touch and I wanted share my findings with everyone. Like I said, there's the same issue on google code development site and I solved it.
Click to expand...
Click to collapse
It's greatly appreciated Ko, I'd been beating my head against a wall with these jb leaks
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
It's greatly appreciated Ko, I'd been beating my head against a wall with these jb leaks
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Thanks for warm words!
I appreciate the information. But let's not get started with the Thanks thing again... we all know how that went earlier this year when you felt like your work wasn't appreciated because there was more downloads than thanks.
Sent from my SPH-D710 using xda premium
Mattix724 said:
I appreciate the information. But let's not get started with the Thanks thing again... we all know how that went earlier this year when you felt like your work wasn't appreciated because there was more downloads than thanks.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Mattix, that's not what I'm talking about. Please don't try to drive me as you want (all problems start from there) - XDA rule. You please do focus on yours and I'll do mine.
I'll say thanks for the information on deodexing services.jar
I'm just going to leave it at that.
Sent from my SPH-D710 using xda premium

Cm 11 -experimental-

Hi,
Where I can get the .zip for the experimental builds?
Not the nightlies
If these .zip files doesn't exist, how can I do my own? Where I can find a guide or somenthing to do that.
Thanks!
Sent from my SGH-T699 using XDA Premium 4 mobile app
falle21 said:
Hi,
Where I can get the .zip for the experimental builds?
Not the nightlies
If these .zip files doesn't exist, how can I do my own? Where I can find a guide or somenthing to do that.
Thanks!
Sent from my SGH-T699 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't recommend trying to set up a rig to build for novice users. With that said, it is something you can do with some time and effort. If you choose to build Android on your machine, it will (probably) be tough. It also may take your machine hours to do the work. Keep that in mind..
Google is your friend. Keep in mind, you cannot compile Android on Windows, so you will need a virtual machine or a (dual boot) Linux partition on your hard drive.
Once you have the basics in place, I'm sure the rest of us can help you iron out any little issues with linking.
-----
*** Note to all forum members: Thanks in advance for NOT making this thread a flame war about operating systems! Thank you!
Thanks a lot, a google about this but i cant find good information. Thanks for the answer
Sent from my SGH-T699 using XDA Premium 4 mobile app
falle21 said:
Thanks a lot, a google about this but i cant find good information. Thanks for the answer
Sent from my SGH-T699 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
The CyanogenMod Wiki has some good information for how to get started:
http://wiki.cyanogenmod.org/w/Build_for_apexqtmo (This guide has a few things specific to building CM 10.2, but you change the repo init line to read cm-11.0 instad, and you'll be fine to follow along with what I'm mentioning)
To build the Hypnotoad builds, you follow that through the point that you are done with Section 2.7 (Get prebuilt apps)
Then instead of running breakfast, and trying to extract blobs, add the manifest linked in the development thread to .repo/local_manifests.
Run repo sync again,
apply the cherry pick list (after envsetup, repopick <list>)
Then skip to section 2.11 (Start the build)
If you want to use ccache to speed up subsequent builds, follow section 2.10
Thanks! I gonna research and try.
Thanks for the information
Sent from my SGH-T699 using XDA Premium 4 mobile app

Categories

Resources