[Q] compiling rom - Moto G Q&A, Help & Troubleshooting

I want to compile a rom can any one please tell me how can i compile a rom from windows pc and can someone give a link for for just compiling rom from windows pc i have searched it on google and xda but i didn't found a good solution thanks in advance

I don't think you can compile ROM on windows, and even if you can, it'll be very hard and messy. Use Ubuntu instead. There are many guides on XDA specifically tailored for Ubuntu.

Related

[Q] Android SDK - How do I port ROMS???

Hi,
I'm new here and have been looking at some tutorials on rom kitchens and rom ediing for my HTC Wildfire. I was jst wondering how to port, say, the android 2.3 rom or something from the android SDK and use it on my phone. I'd also like to know how easy/hard it is.
Thanks,
sato
satopunch89 said:
Hi,
I'm new here and have been looking at some tutorials on rom kitchens and rom ediing for my HTC Wildfire. I was jst wondering how to port, say, the android 2.3 rom or something from the android SDK and use it on my phone. I'd also like to know how easy/hard it is.
Thanks,
sato
Click to expand...
Click to collapse
Do you know anything about programming? Do you know anything about Linux? Do you have any driver building experience?
I f you answer no to anyone of these, I would say it's extremely hard.
Thanks. I don't really know much about any of those things (Except a tiny bit about linux) oh well...
satopunch89 said:
Thanks. I don't really know much about any of those things (Except a tiny bit about linux) oh well...
Click to expand...
Click to collapse
hey why give up so easily? if you really wanted to learn there are so many threads to get you started. first get a linux distro, ubuntu recommended for most people.
there's dsixia's kitchen around somewhere. play with that a little. read the script's he uses in that kitchen. you'll learn a bit.
then onto building. cyanogen's wiki shows how to build from source and set up your machine to sync with it etc etc. get those sorted and try learn the above mentioned
Cool!
Are there any links to these (Or are we not allowed to post them?)
Does it have to be a linux distro? Can I use OSX?
Hacking is cool, but the problem is that it is very hard, and demands a lot of experience.
how do i delete android sdk from my vista computer
noeneel said:
Does it have to be a linux distro? Can I use OSX?
Click to expand...
Click to collapse
http://source.android.com/source/initializing.html
This is where i started... hope it helps
Sorry about bringing back this old thread, but I'm also interested in this. I have programming experience with C, C++, C# and Java. I've also developed apps for Android. I've been using Ubuntu as my main operating system for a while now, so I'm good with Linux too. The only thing I lack is the driver programming experience. I'd still like some info/tutorials about porting ROMs, if anyone knows any good ones.
hey i been wondering the same thing. i been trying to play with m10 tools and been skining apk files with apkmanager for the last bit but have been wanting to port the ics sense 3.5 well at the very least re size it but cant find any guides, full guides to do this. anything pointing in the right direction would be great just dont say search xda been there done that. google works better.... but still doesnt give much info on porting besides some basic files to change but leaves out how to re size
wait4me2burn said:
hey i been wondering the same thing. i been trying to play with m10 tools and been skining apk files with apkmanager for the last bit but have been wanting to port the ics sense 3.5 well at the very least re size it but cant find any guides, full guides to do this. anything pointing in the right direction would be great just dont say search xda been there done that. google works better.... but still doesnt give much info on porting besides some basic files to change but leaves out how to re size
Click to expand...
Click to collapse
Can't mess with 3.5 yet as they new files can't be decoded properly. For resizing you have to edit all the demention xmls on all the apks and m10 files. Lots of trial and error. Make sure you good with logcat
maybe this can help a little
http://www.freeyourandroid.com/guide/porting-android
heres your answer
cooltom1323 said:
how do i delete android sdk from my vista computer
Click to expand...
Click to collapse
by deleting the map where all the files are or, if you hae installed it using a setup,
use the uninstaller program.

[Q] Help?

So I have an old account on here, but I never used it for what it is intended to be. And quite honestly, I didn't like the account name. But what I'm really asking for here is help. I want to be a developer, but I dont know where to start. I want to learn how to make and/or port roms, how to theme other roms, and even make my own apps. If anybody would care to help a noob out, I would appreciate it greatly. Thank you in advance for your time, and any help that I recieve.
I would suggest learning java language which the source code is wrote in if you want to be a developer. But if you want the easy root look for the guides on cooking roms using kitchens then you can create roms with little programming knowledge.
anarchyuk said:
I would suggest learning java language which the source code is wrote in if you want to be a developer. But if you want the easy root look for the guides on cooking roms using kitchens then you can create roms with little programming knowledge.
Click to expand...
Click to collapse
Thanks for the tip on java language. And I know about the kitchens and such, its just that I don't have a mac or a linux based computer, and from what i read, you have to have one of those for a kitchen to work.
ubuntu is always free for download from their website (you can run it from a flash drive or dual boot it alongside windows)
ubuntu will install within the windows file system also and let you dual boot. might be a bit of a learning curve but its by far the best os to use when just getting started and even for more advanced usage..
once you are done with ubuntu as long as you installed it using the wubi installer you can remove it from add remove program etc...
First step on the journy to becoming a developer would be the most important one:
Learning to use search functions.
Your question has already been covered multiple times in this subforum.
anarchyuk said:
ubuntu will install within the windows file system also and let you dual boot. might be a bit of a learning curve but its by far the best os to use when just getting started and even for more advanced usage..
once you are done with ubuntu as long as you installed it using the wubi installer you can remove it from add remove program etc...
Click to expand...
Click to collapse
I did not know that, so thank you guys for all your help.

Ubuntu and P3100

Hello. I want to ask is it possible to run ubuntu on SGTab2? I mean pure desktop ubuntu, not mobile one, nor as virtual machine. All instructions I found deals with Nexus 7. The best will be installing Ubuntu as dualboot to Android(I'm using NEXT kernel, it supports dualboot). Does anybody know how to install it? Or maybe somebody even tried it?
Thank you for answer
0jmaster0 said:
Hello. I want to ask is it possible to run ubuntu on SGTab2? I mean pure desktop ubuntu, not mobile one, nor as virtual machine. All instructions I found deals with Nexus 7. The best will be installing Ubuntu as dualboot to Android(I'm using NEXT kernel, it supports dualboot). Does anybody know how to install it? Or maybe somebody even tried it?
Thank you for answer
Click to expand...
Click to collapse
latest version of next kernel for ubuntu is only 1.3 which is failed to load ubuntu, yet pm the dev's and he's seem not interesting due to unstable bulid of ubuntu not yet available
Latest version of working ubuntu in single boot environment detailed in this thread
http://forum.xda-developers.com/showthread.php?t=2246662
Thankyou, but no, not Ubuntu Touch. I asked about Ubuntu Desktop I heared that Nexus 7 users compiled VCMI(opensource version of heroes 3) right in it and are playing on their devices. I want it too Android port was abandoned more than year ago and no one pick it up...

[Q] Building a Rom from github

Can anyone post me a link to a tutorial for building a rom from github on windows(possibly on windows 8)? I cant find any tutorials for windows.
I want to compile CM11 for JLO for my personal use
daleksic8 said:
Can anyone post me a link to a tutorial for building a rom from github on windows(possibly on windows 8)? I cant find any tutorials for windows.
I want to compile CM11 for JLO for my personal use
Click to expand...
Click to collapse
You cannot compile android on a windows machine, you have to use linux or mac os x.
I have written a good tutorial on how to do this: http://forum.xda-developers.com/showthread.php?t=2600199

[Completed] can I make an AOSP in a virtual machine?

Hi everybody!
I am new in this community and I am sorry if a post this thread in the wrong forum.
I want to start making a AOSP or a "custom ROM" for Android, I have some experience with "Linux from scracth" and linux in general, but I think that I still beeing a newbie in OS development.
I really love OS develoment and thats why I want to try with Android. (I know that is very hard, but I am making this for experience)
The AOSP requirements says that I new a Android device and its kernel source. (I am new and I can not post links)
I want to know, if there is any way to make a AOSP or custom ROM in a virtual machine? maybe using google pixel or nexus code?
I have an Android device but I am a complete newbie and I dont want try on real hardware yet.
Thanks for any help!
david_pjimenez said:
Hi everybody!
I am new in this community and I am sorry if a post this thread in the wrong forum.
I want to start making a AOSP or a "custom ROM" for Android, I have some experience with "Linux from scracth" and linux in general, but I think that I still beeing a newbie in OS development.
I really love OS develoment and thats why I want to try with Android. (I know that is very hard, but I am making this for experience)
The AOSP requirements says that I new a Android device and its kernel source. (I am new and I can not post links)
I want to know, if there is any way to make a AOSP or custom ROM in a virtual machine? maybe using google pixel or nexus code?
I have an Android device but I am a complete newbie and I dont want try on real hardware yet.
Thanks for any help!
Click to expand...
Click to collapse
Greetings and welcome to assist. Plenty of devs use a virtual machine to build or even dual boot linux. There are plenty of prebuilt virtual machines at osbox and there are plenty of excellent guides to building in xda university
http://forum.xda-developers.com/general/xda-university
Good Luck and welcome to xda
Sawdoctor
sawdoctor said:
Greetings and welcome to assist. Plenty of devs use a virtual machine to build or even dual boot linux. There are plenty of prebuilt virtual machines at osbox and there are plenty of excellent guides to building in xda university
http://forum.xda-developers.com/general/xda-university
Good Luck and welcome to xda
Sawdoctor
Click to expand...
Click to collapse
Thanks for replying!
I have no problem to install Linux on real hardware, actually I have Arch Linux installed on real hardware and I used as my main OS.
What I want to know is, can I put AOSP or a Custom Android in a Virtual Machine? I mean, modify some code in a custom android and tested in a Virtual Machine?
Thanks for your time and help!
david_pjimenez said:
Thanks for replying!
I have no problem to install Linux on real hardware, actually I have Arch Linux installed on real hardware and I used as my main OS.
What I want to know is, can I put AOSP or a Custom Android in a Virtual Machine? I mean, modify some code in a custom android and tested in a Virtual Machine?
Thanks for your time and help!
Click to expand...
Click to collapse
You mean you want to run a custom rom on a virtual machine on your pc ? I think android studio can do something along these lines
sawdoctor said:
You mean you want to run a custom rom on a virtual machine on your pc ? I think android studio can do something along these lines
Click to expand...
Click to collapse
I mean that I want to modify Android OS to add functions, optimize, maybe modify the UI of the system, learn how Android is programed and that kind of things. I want to modify Android Source Code but I want to tested that code on a Virtual Machine on my PC.
Where can I get Android Source Code or any Custom ROM to start working on it?
Thanks for your help and time!
david_pjimenez said:
I mean that I want to modify Android OS to add functions, optimize, maybe modify the UI of the system, learn how Android is programed and that kind of things. I want to modify Android Source Code but I want to tested that code on a Virtual Machine on my PC.
Where can I get Android Source Code or any Custom ROM to start working on it?
Thanks for your help and time!
Click to expand...
Click to collapse
Here is the link for android studio
https://developer.android.com/studio/index.html#features
For source code you can use cm/aosp or anything opensource. Resurrection remix is quite easy to set up as they have a lot of pre built scripts to help you set everything up
Sent from my SM-N930F using Tapatalk
sawdoctor said:
Here is the link for android studio
https://developer.android.com/studio/index.html#features
For source code you can use cm/aosp or anything opensource. Resurrection remix is quite easy to set up as they have a lot of pre built scripts to help you set everything up
Sent from my SM-N930F using Tapatalk
Click to expand...
Click to collapse
Thanks for your help and time!
You have resolved everything that I needed!

Categories

Resources