Dear community,
I made a AOSP developer environment for VMWare Workstation 8 or latest VMWare Player (free).
You can easily compile AOSP ROMs without having to set the whole thing up.
You can use this VMWare image as a base to build AOSP ROMs. Imade it for those having trouble getting it to work or maybe if you don't have time to set it up properly. Well if you are downloading this you might have a good reason!
This kit is Google Nexus ready! You can easily compile a AOSP ROM without knowing a line to code.
This VMWare image is:
- ICS ready
- Gingerbread ready
- Fully updated
- Ubuntu 10.04 LTS
- Eclipse SDK + ADT
- Android Kitchen
- Froyo and lower is not supported.
PASSWORD: root
Download link:
Part 1 - Stable v1
Part 2 - Stable v1
Part 3 - Stable v1
Image is extracted, where do I start?
Continue from this link
Donation
Donations are always welcome!
Really really really thanks to you
Great idea. Only one issue.
Any chance we can get some other mirrors?
Oh come on, you asking for donations for this? you looking to buy a nexus and need help?
"Compile a rom without knowing a line of code?" Things can get messy with building you know.
How about informing people what branch is the repo tracking, or what commits will they have to get to sucessfully build..like oprofile (if not on master branch), gtest, slang..not to speak how to use gerrit or git..
It's great you spent time putting all this together, uploading it.. but there's really more to it than just linking to source.android.com.
Also, one last thing, why did you pull gingerbread tree when this is a sub forum/thread for galaxy nexus, which is ICS native?
FYI, Google says that to build AOSP in a VM, at least 16GB of RAM is recommended.
Chirality said:
FYI, Google says that to build AOSP in a VM, at least 16GB of RAM is recommended.
Click to expand...
Click to collapse
I managed fine with 4gb on my work machine, for some reason though Virtual Box wont build it on my laptop at home
Going to try this method, op thanks for this do I need all three links? or is that three mirrors?
Huge thanks, will definitely help lots of people get started in ROM development.
spences10 said:
I managed fine with 4gb on my work machine, for some reason though Virtual Box wont build it on my laptop at home
Going to try this method, op thanks for this do I need all three links? or is that three mirrors?
Click to expand...
Click to collapse
On your work machine, are you doing the build on the bare metal or in a VM?
I've kind of suspected that Google may be overstating things a bit when they said 16GB minimum for a VM, but never had a chance to test it out myself...
Can you please upload to Megaupload or Multiupload please??
It's not hard to set up an environment....a quick google will give you about 5 commands that you can run and you're ready to start syncing with the AOSP repository. And tbh, I personally prefer VirtualBox over VMWare.
Chirality said:
FYI, Google says that to build AOSP in a VM, at least 16GB of RAM is recommended.
Click to expand...
Click to collapse
I assigned 4GB and 8 cores to my virtual machine and it was done in less than half an hour on a 2630QM
More mirrors are coming. I am currently working on making the VMWare image smaller in general!
I will possibly take out most applications which are not related to development. I might also take out libreoffice and other big softwares as most of you can install libreoffice etc on your host machine.
I promise I will make everyone happy here! But understand why it's taking so long. I am currently having exams in university. You have to understand that comes first!
djjonastybe said:
Dear community,
I made a AOSP developer environment for VMWare Workstation 8 or latest VMWare Player (free).
Click to expand...
Click to collapse
This would be useful if you didn't have to wait 12 hours (literally) to download it. Can't donate or download when 12 hours is the price tag. It's too much time. Get the files up on a faster file share and I'll download and donate for sure. It's a great idea and I appreciate it, but 33k a second xfers isn't going to cut it for me
djjonastybe said:
I am currently having exams in university. You have to understand that comes first!
Click to expand...
Click to collapse
I totally understand that one! Thank you for this and hope your exams go/went well!
Superb! thanks a lot
Doesn't it say to use 16gb of ram+swap?
Sent from my Galaxy Nexus using xda premium
dfube said:
Doesn't it say to use 16gb of ram+swap?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
No, I build it on my machine with 4GB of ram (and no swap due to an error ). Haven't tried it in VMware or Virtualbox though, but you don't need 16 GB of ram.
Amazing!
Sent from my Galaxy Nexus using xda app-developers app
bk201doesntexist said:
Oh come on, you asking for donations for this? you looking to buy a nexus and need help?
"Compile a rom without knowing a line of code?" Things can get messy with building you know.
How about informing people what branch is the repo tracking, or what commits will they have to get to sucessfully build..like oprofile (if not on master branch), gtest, slang..not to speak how to use gerrit or git..
It's great you spent time putting all this together, uploading it.. but there's really more to it than just linking to source.android.com.
Also, one last thing, why did you pull gingerbread tree when this is a sub forum/thread for galaxy nexus, which is ICS native?
Click to expand...
Click to collapse
+1 :good:
Related
Hey Guys,
I've noticed many other phones have guides explaining how to download and compile Android for their phones including proprietary drivers and misc files. I know CM6/CM7 and MIUI all are very clearly doing this but I was wondering if we could get any kind of documentation like that for the Epic? It doesn't have to include any super detailed coding information other then how to download AOSP, Samsungs required drivers, and build them into a "working" rom of some kind..
The drivers and kernels you guys have been using so far must be available via some kind of git command..
I'd love to be able to compile a ROM just to learn about it lol.
Think a quick and dirty write up for compiling a rom could happen? I think it would really help incoming developers and newbies alike.
+1 on this.
+1 as I would like a good starting point...
Samsung Epic using Team Viper's latest ROM and kernel
I'm glad to see some support for this. I sincerely hope a developer takes this seriously enough to help us out!
I'm answering my own question here
Check it out... it's how to build CM for the epic. Anyone interested in learning the process could probably follow this guide and accomplish it. Took it from the CM post in General.
http://cmsgs.com/mediawiki/index.php?title=Build_CyanogenMod_for_Samsung_Epic
Thank you! That is very interesting. I must try it!
Sent from my Shoe.... I mean my Samsung Epic
mxcoldhit said:
Thank you! That is very interesting. I must try it!
Sent from my Shoe.... I mean my Samsung Epic
Click to expand...
Click to collapse
I'm trying it now for fun... still downloading the source... the first repo sync takes a while, I believe it's a few GB's in size..
I don't believe this includes the kernel though... I'm sure it's posted somewhere for those interested in looking at it.. just gotta dig around.
TheDub said:
I'm trying it now for fun... still downloading the source... the first repo sync takes a while, I believe it's a few GB's in size..
I don't believe this includes the kernel though... I'm sure it's posted somewhere for those interested in looking at it.. just gotta dig around.
Click to expand...
Click to collapse
way to go, man. keep us posted...
yogi2010 said:
way to go, man. keep us posted...
Click to expand...
Click to collapse
Steps seem to be broken.. the ./get-rommanager and ./getgooglefiles -v HDPI or whatever both don't work because of broken web links.
Seems this hasn't been updated in a while..
I tried to go on without them following the directions but it doesn't work, says something about the vibrant? idk.. I think the directions would need updating to work properly.. at least the code was fun to look at.
Still hoping a developer can teach us how to compile lets say just 100% AOSP for our phones using our progress so far with the drivers.. i think the drivers need to be their own branch of code so all devs can use them for their own roms.. maybe it's already like this? Idk pretty new to rom compiling.
This phone will never die
Synthetic.nightmare
I created an organzation on github alongside deadman and Awesome and rebased to the lovely aospX source code (for stability).
Tonight deadman worked along with me to try and get our script all set up to properly repo sync (+some other things) and after a bit more work, I have managed to get it to where we can sync using the proper b2g command ./config.sh as stated correctly in the readme. This is kind of a big deal, because before, I was just working around some of the scripts doing things the traditional android way lol. There's still parts that are needed to be rolled back and stuff and who knows what there might be broken even after we get all that worked out, but I thought that there might be some other devs around here that may be interested in helping bring this over to us and possibly others who want to keep track of this.
Links:
Click here to start preparing for/downloading the source to help us with development
Click here to see the b2gX organization and keep track of development
You can see more by clicking any of the member's githubs and checking out their activity.
Devs: PM Synthetic.nightmare if you want in. My team is always willing to collaborate with this who wish to contribute.
That's about all I can think of for now. Hopefully, we can bring you all some more good news soon.
Remember these links are here for you to keep track of development, so I don't wanna hear about no ETA's lol.
Click to expand...
Click to collapse
I have modified Synthetic-nightmare's ICS kernel, to hopefully support B2G here is the link
reserved
Mine
EDIT: Making this my reserve
Synthetic.Nightmare said:
This "build process" is just you syncing your repositories. There's still a mountain to climb once you get past this. It seems your manifest is off. When adjusting it look for things it says it cannot fetch. From there check to see if you got the repos and revisions and whatnot written out correctly in the xml in your manifest.
Sent from my MyTouch 4G using xda app-developers app
Click to expand...
Click to collapse
hmm i will look at that here is my manifest https://github.com/deadman96385/b2g-manifest/blob/master/default.xml
Very exciting! Thank You and good luck.
Fixed some errors
Ok i fixed all of the errors except the one in OP!
Holy crap this is awesome. I need to thank all the devs here for your hard work. This is just so amazing.
Sent from my Toasted Marshmallow using XDA
Looking good brother hopefully we will get this bad boy up and running soon...
Is this actual FirefoxOS? Or an Android rom of some sort? Didn't see much info in the OP lol
b4d455b345t said:
Is this actual FirefoxOS? Or an Android rom of some sort? Didn't see much info in the OP lol
Click to expand...
Click to collapse
Actual OS developed by Mozilla.
saranhai said:
Actual OS developed by Mozilla.
Click to expand...
Click to collapse
Ohhh shizzzz. :victory:
Our Glaciers would be able to rock 2 OSs (Android & Firefox) Can't wait.
A couple potential reasons for the repo sync error if you are still getting that:
First off.
Virtual or dual boot?
Which version of Ubuntu?
Laptop or Desktop?
Hard wired or wifi?
Potential Problems:
Unstable Wifi/ethernet driver- Recompile the driver
Wifi/router is going down- Keep the router awake?
MOST PROBABLE: Crappy repo file- Just delete the folder/make a new folder if you have space and make a fresh repo file and try to pull it down again.
---------- Post added at 11:42 PM ---------- Previous post was at 11:41 PM ----------
Also, how many processor cores do you have? do repo sync -j(#of processor cores + 1)
a pleasant update.
I have created an organzation on github alongside deadman and Awesome and rebased to the lovely aospX source code (for stability).
Tonight deadman worked along with me to try and get our script all set up to properly repo sync (+some other things) and after a bit more work, I have managed to get it to where we can sync using the proper b2g command ./config.sh as stated correctly in the readme. This is kind of a big deal, because before, I was just working around some of the scripts doing things the traditional android way lol. There's still parts that are needed to be rolled back and stuff and who knows what there might be broken even after we get all that worked out, but I thought that there might be some other devs around here that may be interested in helping bring this over to us and possibly others who want to keep track of this.
Links:
Click here to start preparing for/downloading the source to help us with development
Click here to see the b2gX organization and keep track of development
You can see more by clicking any of the member's githubs and checking out their activity.
Devs: PM me if you want in. My team is always willing to collaborate with this who wish to contribute.
That's about all I can think of for now. Hopefully, we can bring you all some more good news soon.
Remember these links are here for you to keep track of development, so I don't wanna hear about no ETA's lol.
THEindian said:
A couple potential reasons for the repo sync error if you are still getting that:
First off.
Virtual or dual boot?
Which version of Ubuntu?
Laptop or Desktop?
Hard wired or wifi?
Potential Problems:
Unstable Wifi/ethernet driver- Recompile the driver
Wifi/router is going down- Keep the router awake?
MOST PROBABLE: Crappy repo file- Just delete the folder/make a new folder if you have space and make a fresh repo file and try to pull it down again.
---------- Post added at 11:42 PM ---------- Previous post was at 11:41 PM ----------
Also, how many processor cores do you have? do repo sync -j(#of processor cores + 1)
Click to expand...
Click to collapse
I actualy have a Triboot,Ubuntu, Desktop,Hard Wired, i have deleted the folder am repulling down on to my extra hardrive. will edit when it finsh's.
Synthetic.Nightmare said:
a pleasant update.
I have created an organzation on github alongside deadman and Awesome and rebased to the lovely aospX source code (for stability).
Tonight deadman worked along with me to try and get our script all set up to properly repo sync (+some other things) and after a bit more work, I have managed to get it to where we can sync using the proper b2g command ./config.sh as stated correctly in the readme. This is kind of a big deal, because before, I was just working around some of the scripts doing things the traditional android way lol. There's still parts that are needed to be rolled back and stuff and who knows what there might be broken even after we get all that worked out, but I thought that there might be some other devs around here that may be interested in helping bring this over to us and possibly others who want to keep track of this.
Links:
Click here to start preparing for/downloading the source to help us with development
Click here to see the b2gX organization and keep track of development
You can see more by clicking any of the member's githubs and checking out their activity.
Devs: PM me if you want in. My team is always willing to collaborate with this who wish to contribute.
That's about all I can think of for now. Hopefully, we can bring you all some more good news soon.
Remember these links are here for you to keep track of development, so I don't wanna hear about no ETA's lol.
Click to expand...
Click to collapse
deadman96385 said:
I actualy have a Triboot,Ubuntu, Desktop,Hard Wired, i have deleted the folder am repulling down on to my extra hardrive. will edit when it finsh's.
Click to expand...
Click to collapse
Do you guys mind if i come on this project with you? This sounds very interesting...
I'll be downloading this at work tomorrow - 64 bit Xubuntu 11.10 (single boot), desktop, wired.
yeah this looks good, may have to give this one a crack in the near future
Open web os ported to galaxy nexus
http://www.theverge.com/2012/9/28/3425382/open-webos-galaxy-nexus-port
Sent from my Toasted Marshmallow using xda app-developers app
ggolemg said:
Open web os ported to galaxy nexus
http://www.theverge.com/2012/9/28/3425382/open-webos-galaxy-nexus-port
Sent from my Toasted Marshmallow using xda app-developers app
Click to expand...
Click to collapse
Just saw that on Cnet
Sent from my Dark JellyBellyG1 using xda app-developers app
Howdy dudes! Any news?
Developers Support Thread
What does that mean?
Quite literally, this thread is intended to support developers. I intend to help out anyone who needs a hand in an attempt to develop for the Galaxy Nexus, or any other phone but I'm going to reference my website with step by step instructions to get you through the beginning stages and comfortable with development. This will also cut down on the number of "noob questions".
Background:
My private messages and e-mail stay filled with usually the same questions. There are lots of people who have android phones and the excitement of owning them doesn't stop there. They want to learn how these other people are creating custom roms on their phone. Some people want a minimalism rom, pure AOSP with maybe one or two mods, such as reboot and status bar toggles, but otherwise want a stock setup. They browse around all these great roms but they are just too many mods for their taste. What do you do from there? You can request a developer release a version with only those two mods, and then wait for the end of time because it's not coming. Or you can compile your own rom from source code and have whatever mods you choose.
Rules:
1) No trolling. If someone appears to be a troll and everyone agrees they are a troll, leave it at that. NOT responding to a troll is the only way to defeat them so practice that rampid in this thread.
2) Anyone who knows an answer to a question posted, feel free to join in, the entire community including current developers should participate. This will only serve to strengthen the development community.
3) No question is too small. Everyone starts somewhere so if someone post asking what a terminal is, or how to find usb debugging in settings, do not discourage them from continuing to learn. There is no place for that and you will have become a troll. You will know it too because everyone will ignore your comments .
Get your start here:
http://source.android.com/source/initializing.html
This is google's own instruction but it's hard for some people just starting off to feel comfortable with. I have elaborated on this guide with an entire website aimed at educating people. Please visit here: http://www.dreamsforgotten.net Understand the site is very new, I have been working on it for a month or so, but it will grow and evolve as does this thread. Any questions that get tackled here that are repeated, and seem to affect many people, I will add the resolution to the website as well.
I do have ad sense on the website in an attempt to cover the hosting fees, there is no option to set up an account @ dreamsforgotten.net. Anyone is free to stop by and view it, and take from it what they need. So far I have enough instruction in place to get anyone who is using a supported development device (as well as sprint and verizon galaxy nexi lol) compiling from source rather quickly.
Please leave me feedback on what you would like to see addressed in the future, and consider this the support thread. Dreamsforgotten.net is for you to get a step by step instruction on setting up an environment, this thread is for you to expand that and get assistance when you hit a snag in the road. Thanks guys and I'll be responding to questions as I get time. Enjoy.
Okay im planning on Porting Rasbean Jelly to the Toroplus variant as Dreams and others from the Black Bean thread know. Just some questions.. Ubuntu 12.10 was just released and that is what i am planning on installing since it now supports my laptop. Will that be sufficient? I remember hearing some issues with compiling on it. Also how much space should i dedicate to the install? I planned on dedicating around 250GB but all im doing is syncing Rascarlo's git with his permission of course and then adding the necesseties for the toroplus (if thats even what im needing to do). And compiling? Do i honestly need that much space? Also will i need Swap to help my Laptop build? It has 6GB's of RAM and i hear the Minimum for building is around 16GB's otherwise it will take quite a while. Any insight would be great
ÜBER™ said:
Okay im planning on Porting Rasbean Jelly to the Toroplus variant as Dreams and others from the Black Bean thread know. Just some questions.. Ubuntu 12.10 was just released and that is what i am planning on installing since it now supports my laptop. Will that be sufficient? I remember hearing some issues with compiling on it. Also how much space should i dedicate to the install? I planned on dedicating around 250GB but all im doing is syncing Rascarlo's git with his permission of course and then adding the necesseties for the toroplus (if thats even what im needing to do). And compiling? Do i honestly need that much space? Also will i need Swap to help my Laptop build? It has 6GB's of RAM and i hear the Minimum for building is around 16GB's otherwise it will take quite a while. Any insight would be great
Click to expand...
Click to collapse
I already spoke with you but i recommend two hundred gigs really two fifty minimum hdd. I roll with 8 gigs but compile time is horrendous since jelly bean. I'm sure almost all distributions can be set up to develop debian arch mint ubuntu etc but each have to be done so desperately. I'll work on write ups for each java 6 being the biggest hurdle for most new developers.
Sent from my Galaxy Nexus using Tapatalk 2
dreamsforgotten said:
I already spoke with you but i recommend two hundred gigs really two fifty minimum hdd. I roll with 8 gigs but compile time is horrendous since jelly bean. I'm sure almost all distributions can be set up to develop debian arch mint ubuntu etc but each have to be done so desperately. I'll work on write ups for each java 6 being the biggest hurdle for most new developers.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
How long do you think it'll take? Using 6GB of RAM. And I have a quad core amd at 2.0ghz?
Sent From My N7 via Tapatalk
ÜBER™ said:
How long do you think it'll take? Using 6GB of RAM. And I have a quad core amd at 2.0ghz?
Sent From My N7 via Tapatalk
Click to expand...
Click to collapse
8 gig 1.2 gig quad core 8 hours. Use ccache when you build I would go 50 gigs
Sent from my Galaxy Nexus using Tapatalk 2
dreamsforgotten said:
8 gig 1.2 gig quad core 8 hours. Use ccache when you build I would go 50 gigs
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
You'll have to explain that.
That's quite ridiculous... now in doubting it... I don't think it'll handle that stress... it is a laptop I have a fan for it and it has a pretty good exhaust fan but that's still ass long as time.
Sent From My Toro+ via Tapatalk
ÜBER™ said:
You'll have to explain that.
Sent From My Toro+ via Tapatalk
Click to expand...
Click to collapse
Yeah on the build android page there are directions for setting up ccache you have to add a line to your bash rc and run a command before you build. When I head home, I'll add a page in tutorials explaining that further, it was next on the list.
Sent from my Galaxy Nexus using Tapatalk 2
Talking to motcher he says he uses ccache and with his dualcore 1.7ghz and 2 GB of RAM it takes him 3hrs and 1.5 after he builds ccache.
Sent From My Toro+ via Tapatalk
Great idea man.
I want to add status bar toggle and navigator key re–map in Stock ROM.
I have tried system ui.apk & framework.apk decompile, but somewhere struck.
Can you please help to achieve the goal
Sent from my Galaxy Nexus
8 hours!?
mine builds in 10 minutes after CCACHE, and 30-40 before....
ÜBER™ said:
Talking to motcher he says he uses ccache and with his dualcore 1.7ghz and 2 GB of RAM it takes him 3hrs and 1.5 after he builds ccache.
Sent From My Toro+ via Tapatalk
Click to expand...
Click to collapse
Instructions added here http://dreamsforgotten.net/ccahce.html Note the actual ccache folder difference in the command? Changed in JB.
sendhiloo7 said:
Great idea man.
I want to add status bar toggle and navigator key re–map in Stock ROM.
I have tried system ui.apk & framework.apk decompile, but somewhere struck.
Can you please help to achieve the goal
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Galaxy Nexus, I'd say don't do that. If you have a machine even remotely capable put you a linux partition, through VM if you must , and compile you a version from source. With step by step instructions those too mods wouldn't be that hard. First off, by decompiling you have to decompile both stock rom and a rom with the features you want. Then you have to put those changes in your file in smali which is bytecode aka machine readable. If you know my history, you know I have done this before with the Nexus S because the mod I wanted to copy was samsung proprietary code but in no other circumstance would I want to do that. You need to sync google source, add in the files for your phone, and then do some searching on github to find the two mods your wanting. You copy that code into your source and compile. It's more difficult than that and I just hit you with a lot so start at it, and when you reach a snag come back for help. But...if you must do this in smali...this is what you missing based on what you say you already started. decompile systemui.apk decompile frameworks/base decompile settings.apk. Find (whatever rom you find source for your mod) their version of the file rom control.apk. Copy that in your zip (obviously last step). Diff merge your stock decompiled 3 files against the rom's smali files. Same way as source, use github to find the affected lines of code. Copy over all code, all images, all xml files that are missing. Fix what's there and altered. Settings.apk is going to have a file in src/com/android/settings/foo/foo/ called settings.smali. This file is where your mods in rom control are going to be able to speak to mods you just did to the frameworks/base.
Thanks a ton dreams adrenaline is pumping hope I can get some sleep super excited for tomorrow.
Sent From My N7 via Tapatalk
ÜBER™ said:
Thanks a ton dreams adrenaline is pumping hope I can get some sleep super excited for tomorrow.
Sent From My N7 via Tapatalk
Click to expand...
Click to collapse
I seen how much my theme guides were referenced this is bigger and a huge load but much needed. Your quite welcome.
Sent from my Galaxy Nexus using Tapatalk 2
dreamsforgotten said:
Instructions added here http://dreamsforgotten.net/ccahce.html Note the actual ccache folder difference in the command? Changed in JB.
Galaxy Nexus, I'd say don't do that. If you have a machine even remotely capable put you a linux partition, through VM if you must , and compile you a version from source. With step by step instructions those too mods wouldn't be that hard. First off, by decompiling you have to decompile both stock rom and a rom with the features you want. Then you have to put those changes in your file in smali which is bytecode aka machine readable. If you know my history, you know I have done this before with the Nexus S because the mod I wanted to copy was samsung proprietary code but in no other circumstance would I want to do that. You need to sync google source, add in the files for your phone, and then do some searching on github to find the two mods your wanting. You copy that code into your source and compile. It's more difficult than that and I just hit you with a lot so start at it, and when you reach a snag come back for help. But...if you must do this in smali...this is what you missing based on what you say you already started. decompile systemui.apk decompile frameworks/base decompile settings.apk. Find (whatever rom you find source for your mod) their version of the file rom control.apk. Copy that in your zip (obviously last step). Diff merge your stock decompiled 3 files against the rom's smali files. Same way as source, use github to find the affected lines of code. Copy over all code, all images, all xml files that are missing. Fix what's there and altered. Settings.apk is going to have a file in src/com/android/settings/foo/foo/ called settings.smali. This file is where your mods in rom control are going to be able to speak to mods you just did to the frameworks/base.
Click to expand...
Click to collapse
Ok. its little bit hard to understand :crying: . Ok first i will build the VM & compile from sourece.. Then let you know
sendhiloo7 said:
Ok. its little bit hard to understand :crying: . Ok first i will build the VM & compile from sourece.. Then let you know
Click to expand...
Click to collapse
No problem, you start the work and I'll help where needed. Goto my website and use google for the VM. That should get you to where you are ready to build. Once you get there I'll help you with the options to both find the source code changes for your mods, and incorporate them into your source code.
dreamsforgotten said:
No problem, you start the work and I'll help where needed. Goto my website and use google for the VM. That should get you to where you are ready to build. Once you get there I'll help you with the options to both find the source code changes for your mods, and incorporate them into your source code.
Click to expand...
Click to collapse
Thanks
Sent from my Galaxy Nexus
Anybody have experience with Ubuntu 12.x and building android? Ran into an issue with repo. Trying to init the repo i want to sync it spits out the error 23: error : Python not found. Or something similar I forget exactly. The only thing Google brought up was the fact that I either have the wrong Python version or it is not in my shell path.
Sent From My Toro+ via Tapatalk
ubuntu 12.04 64bit: http://forum.xda-developers.com/showthread.php?t=1863547
its all you need. just replace the repo down there with rasbean's or whatever you want to compile. 12.04 has been a terrible pain in the ass for me, at some point i had to revert back to 11. but back then i couldnt find a nice and compact manual, so this one should guide you through.
molesarecoming said:
ubuntu 12.04 64bit: http://forum.xda-developers.com/showthread.php?t=1863547
its all you need. just replace the repo down there with rasbean's or whatever you want to compile. 12.04 has been a terrible pain in the ass for me, at some point i had to revert back to 11. but back then i couldnt find a nice and compact manual, so this one should guide you through.
Click to expand...
Click to collapse
Yeah that's what I feared... didn't feel like having to reinstall... I've been using 12.10 not .04 I know motcher uses 12.04 just fine. Going to get a bootable for it hopefully it likes my laptop.
Sent From My Toro+ via Tapatalk
I prefer debian over ubuntu now, with any distro that don't work with you pc out the box you probably need a proprietary kernel version. If you have a lap top that sound doesn't work you'll def need one. Additional files may need to be loaded for Wi-Fi support as well. All of these have pretty easy guides to get the job done. Be sure to set Linux up completely before establishing the build environment.
Sent from my Galaxy Nexus using Tapatalk 2
I hope some devs will take on the task and bring Chameleon OS to Sprint devices like the s3 or Note2. I'll be donating to the cause.
www.Chameleonos.org
Sent from the Mars Rover.
Prolly wouldn't be to hard if a dev was interested as they already have it for vz and att s3's...I also wouldn't doubt some of our more advanced users around here could get one of those 2 versions working on a sprint phone.
If there's source code, it's totally possible. Using the cm10.1 branch as a base, that is.
Sent from my SPH-L710 using Tapatalk 2
Thats a yes. Sounds cool from what I read, could be easily ported since its based on CM as well and the d2vzw has it
Since we originally based ChameleonOS off of CyanogenMod, any device that has official support for CM 10.1 will be easy to convert so that it builds for ChameleonOS
Click to expand...
Click to collapse
I'll try to port it over from the d2vzw, but would need some testers. Someone run this command for me and upload the file it gives (my s3 suicided)
Code:
mount > /sdcard/d2spr.txt
Also this one:
Code:
cat /proc/emmc > /sdcard/d2spr_proc.txt
Thanks
Why? It's CM10 and that's it from what it looks like. Nothing special.
MikeyLee said:
Why? It's CM10 and that's it from what it looks like. Nothing special.
Click to expand...
Click to collapse
A lot of roms resemble each other, but that doesn't mean it shouldn't be used or seen as something "special."
AOKP didn't seem special, neither did PA, but that's in the past now
Sent from my SPH-L710 using Tapatalk 2
MikeyLee said:
Why? It's CM10 and that's it from what it looks like. Nothing special.
Click to expand...
Click to collapse
Read the details on the site
But as always, each is entitled to his/her own opinion
I'd like to try this. Read it briefly and it sounds a bit like JBSourcery. Ran only that when I had my GNex.
I'd test but I live in the sticks with only 3g to download, and I'd only be able to mesa with it at night.
Certainly count me in as a tester. I was about to flash the other versions just to play around. My s3 has become more of an testing device anyways.
Sent from the Mars Rover.
CNexus said:
Thats a yes. Sounds cool from what I read, could be easily ported since its based on CM as well and the d2vzw has it
I'll try to port it over from the d2vzw, but would need some testers. Someone run this command for me and upload the file it gives (my s3 suicided)
Code:
mount > /sdcard/d2spr.txt
Also this one:
Code:
cat /proc/emmc > /sdcard/d2spr_proc.txt
Thanks
Click to expand...
Click to collapse
The second command says 'no such file or directory exist'.
Sent from the Mars Rover.
JohnnyEpic said:
The second command says 'no such file or directory exist'.
Sent from the Mars Rover.
Click to expand...
Click to collapse
Thanks, but just got everything i needed over here: http://forum.xda-developers.com/showthread.php?t=2224232
I'll start the port today, if you wanna test just PM me because I don't have a functional S3 at the moment
PM sent.
Sent from the Mars Rover.
Some unknow person contacted me some minutes ago....
I´m downloading the sources atm
I compiled chameleon os for some devices before and there should be no problem
CNexus said:
Thanks, but just got everything i needed over here: http://forum.xda-developers.com/showthread.php?t=2224232
I'll start the port today, if you wanna test just PM me because I don't have a functional S3 at the moment
Click to expand...
Click to collapse
Why do you need thos files? Everything´s up at cyanogenmods github, thought.
I'd like to test if you can be patient while I download. Will leave up to you, just PM if you'd like.
I need those files so I can change the updater-script mount points appropriately, if necessary. I can't compile it from source because my S3 isn't functional and so I wouldn't be able to pull the proprietary blobs from it, and my computer takes forever to compile too...
CNexus said:
I need those files so I can change the updater-script mount points appropriately, if necessary. I can't compile it from source because my S3 isn't functional and so I wouldn't be able to pull the proprietary blobs from it, and my computer takes forever to compile too...
Click to expand...
Click to collapse
I have a tip for you
---> https://github.com/TheMuppets/proprietary_vendor_samsung.git
Its the repo where the cm / hacksung team is storing every up-to-date proprietary blobs
fuss132 said:
I have a tip for you
---> https://github.com/TheMuppets/proprietary_vendor_samsung.git
Its the repo where the cm / hacksung team is storing every up-to-date proprietary blobs
Click to expand...
Click to collapse
Wow, hax
Whelp, looks like it's time to set up the ol' build environment again
EDIT: So my computers messed up. Some hardware issue causing kernel panics. If anyone wants to compile from source, be my guest, but I'll be porting it over (or at least trying).
First port attempt uploading now.
PM me if you'd like to test (unless you already have), I would be infinitely thankful.
Give me a few days. I'll give this a go at porting.
Sent From My Rooted, S-OFF'd Blackberry Curve using the iOS XDA Application for Android.
Ok. Now that this has touched a bit of spark of interest, should one of you like to start a thread in the dev section, be my guest. I believe this could gain traction in the development section.
Sent from the Mars Rover.
Ok guys im a total noob at developing, im pretty knowledgeable, with custom roms and kernels, but i want to start compiling my own roms from source, now i understand its not something to just jump into, but i was just wanting to get some advice for a beginner. i have osx mavericks, now im sure i can compile on osx but i not sure if its the best place to start, but if so how would i, what would i use to compile, are there any tutorials? if it isnt the right place to start should i get ubuntu, and if so, where do i start on that lol? basically just looking for someone to get me on the right path, i have some great ideas for a rom but i just have no idea what im doing. so please help me out guys, also one more thing, what about windows? thanks again guys. i really appreciate it.
The android hackers toolkit is featured on google play store this week. It gets into abd:
Sent from my SGH-M919 using xda app-developers app
Android_Monsters said:
The android hackers toolkit is featured on google play store this week. It gets into abd:
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
yeah that doesnt really get into creating a custom rom, i know pretty much all of what that book teaches, im looking for how to create and build custom roms from source, not really adb
GuyFawkes0317 said:
yeah that doesnt really get into creating a custom rom, i know pretty much all of what that book teaches, im looking for how to create and build custom roms from source, not really adb
Click to expand...
Click to collapse
If you follow almost any of the "Compile <whatever> ROM from source" threads here in XDA, you can get a pretty fair idea of how to set up your build environment and the very basics of building the ROM. From what I've seen, most tend to stick predominately to Linux compiling, but I do believe I've seen some guides for Mac. If you can't find what you're looking for on XDA, go to CyanogenMod's website; it has good tutorials for how to build straight CM10.x, which is what I would do to begin with. Since the S4 is officially supported and should compile right through problem free if you have your build environment correctly set up. Remember though, it takes upwards of 6-7GB disk space to download the source and just one build can take upwards of 20+GB.
Right, well thank you for that, I'm looking to compile an aokp rom and other suggestions
Sent My Badass Galaxy S IV Running AOKP
I would highly recommend you use a Linux build environment to build aokp roms. Just Google "compile aokp xda" and there's a guide that shows you how to do everything fr beginning to end. You can also go to infamousdevelopment.com and check out Jamison's guides on how to compile aokp. If you don't have a decent PC I wouldn't even bother honestly lol
---------- Post added at 12:14 AM ---------- Previous post was at 12:12 AM ----------
lordcheeto03 said:
If you follow almost any of the "Compile <whatever> ROM from source" threads here in XDA, you can get a pretty fair idea of how to set up your build environment and the very basics of building the ROM. From what I've seen, most tend to stick predominately to Linux compiling, but I do believe I've seen some guides for Mac. If you can't find what you're looking for on XDA, go to CyanogenMod's website; it has good tutorials for how to build straight CM10.x, which is what I would do to begin with. Since the S4 is officially supported and should compile right through problem free if you have your build environment correctly set up. Remember though, it takes upwards of 6-7GB disk space to download the source and just one build can take upwards of 20+GB.
Click to expand...
Click to collapse
Aokp takes up more than that. Think it was 15-20GB of source and a build takes up another 25-30 and that's not even including ccache lol
GuyFawkes0317 said:
Right, well thank you for that, I'm looking to compile an aokp rom and other suggestions
Sent My Badass Galaxy S IV Running AOKP
Click to expand...
Click to collapse
I just suggested to build CM because it should build flawlessly straight after a sync on a correctly set up machine. Basically what I was driving at was pick something that officially supports our device for your very 1st test-run build; that way you aren't chasing down little errors and attributing improper environment settings/packages/etc for errors in the code.
marcoxx626 said:
I would highly recommend you use a Linux build environment to build aokp roms. Just Google "compile aokp xda" and there's a guide that shows you how to do everything fr beginning to end. You can also go to infamousdevelopment.com and check out Jamison's guides on how to compile aokp. If you don't have a decent PC I wouldn't even bother honestly lol
---------- Post added at 12:14 AM ---------- Previous post was at 12:12 AM ----------
Aokp takes up more than that. Think it was 15-20GB of source and a build takes up another 25-30 and that's not even including ccache lol
Click to expand...
Click to collapse
15-20GB for AOKP source? Really?? Not saying you're wrong or anything, but that just doesn't sound right at all.
lordcheeto03 said:
...15-20GB for AOKP source? Really?? Not saying you're wrong or anything, but that just doesn't sound right at all.
Click to expand...
Click to collapse
Nope its about right. I think CM is closer to 30GB. Its the ONLY reason i don't develop AOSP ROMs/Kernels. Trust me, i wish i had the bandwidth to download all that. I think i calculated it to be approximately a month for ME to download I hate my internet Wish i had LTE at my home.
elesbb said:
Nope its about right. I think CM is closer to 30GB. Its the ONLY reason i don't develop AOSP ROMs/Kernels. Trust me, i wish i had the bandwidth to download all that. I think i calculated it to be approximately a month for ME to download I hate my internet Wish i had LTE at my home.
Click to expand...
Click to collapse
CM source is less than 10GB last I synced my repo. The "out" directory nudges upwards of 20GB+; but the source alone, not including the (source directory)/.repo which is just your source all packed up, is <10GB. Actually, (source directory)/.repo/projects is what you end up downloading. I'm going to bed now, but I'll double check those sizes tomorrow afternoon. I can understand how taking the contents of the whole directory with no completed builds shows up ~20GB, but you aren't downloading that much. I can download CM source on my home connection (~250KB/s) overnight.
lordcheeto03 said:
CM source is less than 10GB last I synced my repo. The "out" directory nudges upwards of 20GB+; but the source alone, not including the (source directory)/.repo which is just your source all packed up, is <10GB. Actually, (source directory)/.repo/projects is what you end up downloading. I'm going to bed now, but I'll double check those sizes tomorrow afternoon. I can understand how taking the contents of the whole directory with no completed builds shows up ~20GB, but you aren't downloading that much. I can download CM source on my home connection (~250KB/s) overnight.
Click to expand...
Click to collapse
An entire source tree, which is what you need, is close to 30GB. You may have downloaded prebuilt stuff. Or only bits and pieces. I do recall reading somewhere there was a way to only get certain things which limited the size, but actual source is very large.
I'll grab the size tonight. I use the project manifest on cyanogenmods github, and although I only have two device trees, I know for a fact that it's WAY less than 30GB.
Just checked... My CM10/.repo/projects folder is 9.1GB.
Sent from my SGH-M919 using XDA Premium 4 mobile app
Alright so I've got everything setup and running great, the only problem I have is when I try and get cherry picks, I get an error that reads as "fatal: not a git repository (or any of the parent directories): .git" any ideas why this might be happening
Sent My Badass Galaxy S IV Running AOKP
also getting this, any thoughts?
[email protected]:~/aokp_jb$ . build/envsetup.sh && brunch jfltetmo
including device/generic/armv7-a-neon/vendorsetup.sh
including vendor/aokp/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/aokp/vendorsetup.sh
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[vendor/aokp/products/jfltetmo.mk]]: "device/samsung/jfltetmo/full_jfltetmo.mk" does not exist. Stop.
** Don't have a product spec for: 'aokp_jfltetmo'
** Do you have the right repo manifest?
No such item in brunch menu. Try 'breakfast'
[email protected]:~/aokp_jb$