[REQ] Development Environment Setup for Moto G 2014 - G 2014 General

Hey there,
INTRO:
I'm a relatively new member to XDA and the Android Community as well. The Moto G (2014) is my first Android phone since ever. I was using iPhones (4,4S,5,5S), iPads and Mac and have Jailbroken and Developed Tweaks, Apps etc for iOS.
Now that I got my hands on this amazing device, I would love to contribute to the Community by developing and porting ROMs for the Moto G 2014.
WHAT? WHY?:
So if it isnt too much trouble could someone post a device-specific instructions, checklist and downloads to setup a development environment for Moto G (2014). I'm a pretty fast learner so any crude form of instructions would suffice. With the right heading and instructions I'm sure that I can contribute to this community.
PAST CONTRIBUTIONS:
If you're curious about what I've preciously done, just Google "Krishna Sagar iPhone" and you'll see. I've developed apps, Jailbreak tweaks and I've even been mentioned and credited by CNET.com for discovering the first solid evidence about 4G in the iPhone 5. (Before it was announced or released. Yea!! )
So any help at all is appreciated! You know.. Help Me to Help You!
Regards
Krishna Sagar
http://www.krishna.bz
PS: I've searched XDA and found some tutorials but I'm looking for some device specific instructions and downloads such as Device Tree, Kernal, ROM sources etc.. and crude up-to-date instructions on how to setup a Build-Environment. Thanks

Reserved by OP:
Once I get a working set of instruction and successfully setup my Dev Environment, I will post concise step-by-step instructions on how I set it up so that others can use it as a reference.

Okay....i just learned these things past month.
So tell me where you reached so that i can guide you.

N.K.V. said:
Okay....i just learned these things past month.
So tell me where you reached so that i can guide you.
Click to expand...
Click to collapse
I am at the very beginning... From the start would be great. Like i said.. I dont want a lengthy tutorial.. I'll find the instructions myself
For eg: just say setup Android Kitchen instead of walking me through the installation setup.
I just need a crude checklist to begin. I've doing some searxhing of my own.. But like i said, i need a bit more devicr specific approach!

Device specific approach would start once you have downloaded the repo.
Till then.... Approach for all the devices would be same.
Que: You are talking about building the rom from source right??
Or you just want to modify the stock rom!?

N.K.V. said:
Device specific approach would start once you have downloaded the repo.
Till then.... Approach for all the devices would be same.
Que: You are talking about building the rom from source right??
Or you just want to modify the stock rom!?
Click to expand...
Click to collapse
Havent decided really.. Might start by porting ROMs initially.. then gradually work on my own ROM
Thanks btw for your help

KrishnaSagar said:
Havent decided really.. Might start by porting ROMs initially.. then gradually work on my own ROM
Thanks btw for your help
Click to expand...
Click to collapse
And where can I download these device repos?

For Porting ROMs : Usually ports are done from working Cyanogen build or AOSP build, which we doesn't have yet. But, k2wl and shawn are main developers working towards that. Once we get those fully working then only you will be able to port another roms.
Regarding Device Repo: It's required to build rom from source, not for porting one.
repo is a "Source Code" file, which is approx 25-30 GB in size.

Related

[Q] How to compile AOSP 4.2.2 for Nexus 4

Hi, I would like to learn how to build a vanilla AOSP ROM with ubuntu.
Is the first time for me, so I need a complete guide. :angel:
thanks
Or someone can compile it for me... Pure Aosp without any tweak or mod...
And of course future update of aosp.
There are several guides, no this isn't a LMGTFY link, but it is a Google link. The first two are good guides.
Point being, you may need to refer to more than one guide until you have your build environment set up properly, and all the other variables in place. Might take you some time before you've built successfully, but it's a worthwhile experience.
Edit: obviously the links above point to some 4.2.1 resources, you can work your way around that with additional Google Ninja stuff. Seriously, go for it, it's fun.
No one is going to write you a personalized step-by-step guide on how to do it you need to read up and learn to do it yourself.
Start here:
http://source.android.com/
This section will tell you how to set up you pc to run it
http://source.android.com/source/building.html
As an example here is a guide to setting up an AOSP build environment, yes its for another device but it will give you an idea of what is involved in setting it up.
http://androidforums.com/optimus-m-all-things-root/619804-guide-building-aosp-more.html

Attempting to build my first ROM

Hello Everyone!!!!
As the title states I am trying to build my first ROM from source, I am wanting to build a PAC-Man variant for our phone (AT&T S4).
I am currently installing Xubuntu 13.04 x64 on a old Pentium D (2.4 ghz with 2GB of RAM) and I am reading over this post while it is installing.
I am also reading over this thread as well. I assume I can try to build a CM 10.1 build first, LOKI it, then get it working then add the stuff in for PAC-man after that, but I am not sure. I was wanting to know if any ROM developers can point me in the right direction for learning how to compile ROM's from source. I know the typical rule here is to search, search, and if lost SEARCH MORE but I feel that I am missing knowledge on what to search for in the first place.
I hope to spend the next few days on this little project and if all works well I will attempt to maintain a Dev thread with updates every few days to a week.
Thanks for any information you all can provide and I appreciate any guidance
http://forum.xda-developers.com/showthread.php?t=1798056 this forum gave me a lot on insight when I started building my own rom. Hope it helps, best of luck to you!
I figured out how to install the SDK, and start building things, Its currently building the release right now, lets hope it doesn't blow up
EDIT: Would anyone be willing to try it if I feel its good enough to test?
Neoistheone2000 said:
Would anyone be willing to try it if I feel its good enough to test?
Click to expand...
Click to collapse
I'll try it out! I was going to build it, but I don't have enough hard drive space with my BeanStalk repo set up

[Q&A][HELP]Questions & Help Thread. Noob-Friendly

Hello guys/gals, I am back this time bringing you a very useful thread for y'all newbs and noobs on the internets coming across this thread and seeking help. I will be trying to help you if possible, not only LG L3/L5/L7 but also on this thread you can ask, POLITELY for a stable or smooth kernel/rom. A part of my motivation for starting this thread is for helping people but also for trying to get the Recognised Contributor :angel: . But the main goal of this thread is for HELPING.
Anyways, let's make the form that i want from you:
-device (L3/L5/L7/whatever)
-ROM name, Android version
-kernel name/version (if downladed from here)
-the issue that you are facing, with as many details as possible and some description of the steps you did and where you got stuck.
-if requested, Logcat
4 simple requirements and I or any other OptimaTeam member who knows will try to help you out. Good luck and have a good day. :highfive:
nice start
dude
look at my signature
MY GUIDE ON HOW TO GET QUICK ANSWERS thread
feel free to rip from it as much as you like n00bs need educating
Developing an AOSP ROM
IGGYVIP said:
dude
look at my signature
MY GUIDE ON HOW TO GET QUICK ANSWERS thread
feel free to rip from it as much as you like n00bs need educating
Click to expand...
Click to collapse
Hey Developers,
I have already built a CM ROM from source for my LG Optimus L7, which wasn't that hard. But now I want to build a ROM from Android Source (AOSP). So my question is: Can somebody give me a guide for the L7 or some advice for building an AOSP ROM?
Thanks:good:
GNKxVEGAS said:
Hey Developers,
I have already built a CM ROM from source for my LG Optimus L7, which wasn't that hard. But now I want to build a ROM from Android Source (AOSP). So my question is: Can somebody give me a guide for the L7 or some advice for building an AOSP ROM?
Thanks:good:
Click to expand...
Click to collapse
From AOSP you will have to take almost exactly the same steps. Basically there is nothing different to building CM, AOSP, PAC, CarbonRom, etc., but the source of compilation is different and also the thing you will have to do is add the device specific libraries etc. into the AOSP rom sources on your PC and then compile.

[WIP] Who wants full AOSP/CM12 (Android 5.0+) Support of the Moto G 2014? [XT1064/68]

Hi everyone! You guys probably don't know me (Shawn5162) because I haven't been active in the Moto G 2014 forums (except for my restore tool for windows) but I am very active in other device forums such as the Galaxy S5, Note 10.1 2014 Edition, LG G3, etc. In those forums I am defiantly a recognized dev, mostly for porting or compiling ROMs . But the reason I landed in this forum is because I recently I got a new device...the Moto G 2014 and feel it is a great device. But to my shock there were NO great ROMs for this device (by no means am a hatting on the 1 or 2 ROMs here). And that's where I come into play. I am a dev who has a lot of experience with AOSP and compiling and thus want to bring forth a great AOSP ROM for this device. Now I there will be no problem building it as I have experience and if do run into any issue I can refer to the Moto G 2013 devs (since both devices share almost identical specs). Also the AOSP ROM will always be on the latest version of Android (I promise i'll try my best). After all, the good thing about AOSP ROMs is you can have great levels of customization. Now there is a slim chance of failure in the project (like 1% only because everything in life has a chance of failing) but if everything goes well you guys will have a great dev supporting a great ROM. Finally, thanks for your cooperation and I will keep you guys posted all the way.
Sincerely,
Shawn5162
Also if you guys want this project to happen...please comment in the XDA comment section below.
Download Links (I am leaving download links below for other devs who want to give it a shot...also I wanted to share my sources)
Device Tree:
Device Kernel:http://d-h.st/HgD
Device Vendor:
AOSP ROM:
Project Status
12/7/2014
- Got a laptop to start developing on
- Successfully installed Ubuntu 14.04.1 LTS
- Initialized a building environment for AOSP
- Setup a Dev-Host account
- Synced Android 5.0.1_r1 repositories
- Forked the device kernel from Motorola's git
12/8/2014
- Merged source code with CM 12.0 repos
- Added /Source/kernel/motorola/titan repos/
- Imported "falcon" device tree
- Began modifying "falcon" device tree for XT1064...
12/9/2014
- Downloaded all the CM 12 packages
- Contacted @k2wl for a collaboration (He said OK! )
- Modified device kernel for XT1064 (added more functionality/patches)..I can confirm kernel tree is working
12/10/2014
- Contacting CyanogenMod Inc. in regard of OFFICIAL SUPPORT for this device
- Continued modifying source
12/11/2014
- Compiled an OTA .zip of CM 12 [doesn't boot]
No comment..
this is what I was waiting for
MrIngenieur said:
No comment..
Click to expand...
Click to collapse
Why is there something wrong
Thanx dev!....if u need a tester ..m here
Wow this would be Great! Hopefully it will grow and give us a cool AOSP ROM.
Thanks a ton!
That would be great, thanks
I really would appreciate some more development in here.Thx for that announcement!
Finally Devs Coming.
Best of luck Shawn. :thumbup:
If you make it, it would be Giant leap for Moto G
Awesome man..... I Really appreciate what u r doing for this community....
Coming from a nexus phone which broke and buying this device for the price, would be nice to see more roms.
Bring it. I love AOSP. And if you did it there would def be some donations coming your way.
N.K.V. said:
Finally Devs Coming.
Best of luck Shawn. :thumbup:
If you make it, it would be Giant leap for Moto G
Click to expand...
Click to collapse
I agree
The more, the merrier! Nothing wrong with having thriving development Hopefully once one of these kind of ROMs gets brought to the Moto G 2014, the rest will follow.
radiotecha1234 said:
Bring it. I love AOSP. And if you did it there would def be some donations coming your way.
Click to expand...
Click to collapse
Thanks!
Awesome
I'm in!
Sent from my A0001 using XDA Free mobile app
That's a good news ..... Good luck man , if you need a tester just PM me , i will test the ROM thoroughly
This seems great!
Sent from my XT1069 using XDA Free mobile app

LineageOS development [unofficial][To-Start]

Okay people, i know things do not look very good for this device, and yeah, we all are frustrated with the fact that no one is building any good rom(except this Resurrection Remix(on http://forum.le.com/in)) for this device.
I am thinking of trying to build the LineageOS for this device.
I am new to building roms, I have not developed any rom before, so this will be my very first experience.
I would very much appreciate any help that any of you may offer regarding any thing.
Be it any tutorial/guide, source codes, testers, or any thing else you have in mind.
I would be downloading the sources today and will look around for tutorials for porting roms with source code that i already have (thanks to that resurrection remix ROM dev 19wisnia89(on http://forum.le.com/in)).
I would also be contacting other devs of other devices for any help regarding the porting process and stuff.
If you know these stuff and would not mind helping me out, it would be very nice.
Please quote me on the reply here or PM me with anything here
Note: I would be needing testers because i don't quite own the device for myself, it's my mother's and i can't risk tempering with it, but I still want it to have a dev support.
All the best for the success, I also tried to compile the kernel and the source code is working completely fine without any modification but I was confused about the process of building the android So I will always help you whenever needs my help. and if you can guide me to building guide then i will also love to try that.
sscsps said:
Okay people, i know things do not look very good for this device, and yeah, we all are frustrated with the fact that no one is building any good rom(except this Resurrection Remix(on http://forum.le.com/in)) for this device.
I am thinking of trying to build the LineageOS for this device.
I am new to building roms, I have not developed any rom before, so this will be my very first experience.
I would very much appreciate any help that any of you may offer regarding any thing.
Be it any tutorial/guide, source codes, testers, or any thing else you have in mind.
I would be downloading the sources today and will look around for tutorials for porting roms with source code that i already have (thanks to that resurrection remix ROM dev 19wisnia89(on http://forum.le.com/in)).
I would also be contacting other devs of other devices for any help regarding the porting process and stuff.
If you know these stuff and would not mind helping me out, it would be very nice.
Please quote me on the reply here or PM me with anything here
Note: I would be needing testers because i don't quite own the device for myself, it's my mother's and i can't risk tempering with it, but I still want it to have a dev support.
Click to expand...
Click to collapse
all the best...we are here for testing!!
sscsps said:
Okay people, i know things do not look very good for this device, and yeah, we all are frustrated with the fact that no one is building any good rom(except this Resurrection Remix(on http://forum.le.com/in)) for this device.
I am thinking of trying to build the LineageOS for this device.
I am new to building roms, I have not developed any rom before, so this will be my very first experience.
I would very much appreciate any help that any of you may offer regarding any thing.
Be it any tutorial/guide, source codes, testers, or any thing else you have in mind.
I would be downloading the sources today and will look around for tutorials for porting roms with source code that i already have (thanks to that resurrection remix ROM dev 19wisnia89(on http://forum.le.com/in)).
I would also be contacting other devs of other devices for any help regarding the porting process and stuff.
If you know these stuff and would not mind helping me out, it would be very nice.
Please quote me on the reply here or PM me with anything here
Note: I would be needing testers because i don't quite own the device for myself, it's my mother's and i can't risk tempering with it, but I still want it to have a dev support.
Click to expand...
Click to collapse
If you are on Telegram(app)
you could join us few devs and testers in this group and ask for anything you need
here is invite & join link:
https://t.me/joinchat/AAAAAEEHPrwCrEYn3uf6BA
Abhi_ said:
hey i first want you to tell me what you know about building?
Because you have mentioned you will look around for porting roms,etc.
I hope you know how linux works.
That's it
if you have queries feel free to ask
If you are on Telegram(app)
you could join us few devs and testers in this group and ask for anything you need
here is invite & join link:
https://t.me/joinchat/AAAAAEEHPrwCrEYn3uf6BA
Click to expand...
Click to collapse
I have gone through the porting guide on CM wiki(through archive.org) a couple of times and a few more places, I have not downloaded the source code of Lineage os, but I have source code of cm13, so i'll build it first,

Categories

Resources