[Completed] [Q] Learning to build AOSP from source for new devices - XDA Assist

Hi guys,
So I've always loved flashing ROMs on my phones and tinkering, but I've never really understood how to do it all. I figured I should learn and try to give back to the community, considering the amount of time I spend on here.
I've followed the steps on source.android.com for initializing my build environment. I'm done syncing with the repo, but I can't find a thorough guide on what to do next. I can't use the breakfast command because my phone is not an official device. In the "Building for devices" section, it states that I need to obtain proprietary drivers for my device, but I'm not sure any manufacturers will give away their proprietary drivers
I'm looking to do all this for my Moto X 2013. So my question is, how does CyanogenMod have (some) proprietary drivers for my phone, and would it be possible for me to pull from CM's repo for those drivers? Is there a better forum for me to ask these questions?
If anyone has an idea of where I should look next to do some more research, I'd really appreciate the help!

Hi,
This section has many guides and tutorials. Please do your research and try your hand at it. After you read read read, if you still need help, ask in the thread of the guide you use, or create your own thread and ask for help...
http://forum.xda-developers.com/chef-central/android
Good luck!

Related

[Q] Interested in becoming a developer

Hello forum,
I currently own a Samsung Galaxy Player, and could use some guidance from the members here to point out some go too's threads in the community. Since it's a rather large community, I would like to learn how to make a complete recovery of my device that would be flash-able, and maybe some quick points on other ways to start off with a device. It'll be grateful for those who can show me the way, before I start posting questions that shouldn't be under my device since I own a couple of other androids. Thank you for your time!
Jisrest said:
Hello forum,
I currently own a Samsung Galaxy Player, and could use some guidance from the members here to point out some go too's threads in the community. Since it's a rather large community, I would like to learn how to make a complete recovery of my device that would be flash-able, and maybe some quick points on other ways to start off with a device. It'll be grateful for those who can show me the way, before I start posting questions that shouldn't be under my device since I own a couple of other androids. Thank you for your time!
Click to expand...
Click to collapse
Ck out Titanium Backup.
Thanks for the idea, however I'm interested in making an flashable (odin) file for my device. Any clue how to go about it?
Jisrest said:
Hello forum,
I currently own a Samsung Galaxy Player, and could use some guidance from the members here to point out some go too's threads in the community. Since it's a rather large community, I would like to learn how to make a complete recovery of my device that would be flash-able, and maybe some quick points on other ways to start off with a device. It'll be grateful for those who can show me the way, before I start posting questions that shouldn't be under my device since I own a couple of other androids. Thank you for your time!
Click to expand...
Click to collapse
OK, here it is:
[GUIDE] Compile CWM Recovery
[DEV]How to compile TWRP touch recovery
Also, there should be many other Tutorials out there lying in Device-specific forums for compiling recovery. Search Google giving the keywords like:
Code:
how to compile recovery site:forum.xda-developers.com

ROM building help

I'm on Ubuntu 13.10 and trying to build android. i'm trying to build but it keeps saying
fatal not a git repository
also when i try to change the repo location from home, it keeps telling me about rm* key
some help?
I think you'd be better off asking in a dedicated Android Software Development / Hacking forum. At the moment you're asking in a section dedicated to users of the One XL, so your audience is basically users, asking in the right place will at least give you an audience of people who might be able to help you.
Sent from my Evita
Timmaaa is absolutely correct. Unless you are building specifically for the One X Evita, I have a few good places for you to start.
1. XDA-University. You can find this section by searching under the General page of all forums.
2. Under the all forums section you will also find a section called Android Development/Hacking, as timmaaa mentioned above.
3, I would strongly recommend that you check out the cyanogenmod wiki. There you will find guides for building cyanogenmod on many devices.
4. Google will be your best friend with finding this information.
5. I would highly recommend you read the following post first:
http://forum.xda-developers.com/showthread.php?p=6243873
6. Chef Central under the all forums section will also get you going.
Sent from my One X using XDA Premium 4 mobile app

[Completed] Need help with rooting basics

hello, I am a new member. I have a couple questions about rooting my phone and the basics. I understand how to root a phone I have done several so far, but my last phone got bricked because I know nothing about recovery. I am searching for a tutorial on the bare basics of reading, recovery, roms, and kernels. Basically a tutorial explaining what they are and how / why to do them. I have searched this forum but could not find what I'm looking for I apologize if it is already in here and I apologize if this is posted in the wrong spot please move this so. any help would be greatly appreciated.
I am also searching for the best setup for my new phone and LG G Stylo by metro (LGMS631). something that will give me the most speed and usable storage space. thank you again, Nikkon
Hi,
As far as info and asking questions about your device, here's the place for that,
http://forum.xda-developers.com/t/lg-g-stylo
The best way to learn about the basics is searching on specific topics and read, read and read some more. Here's one good source of info to get you started, http://forum.xda-developers.com/galaxy-s3/general/ref-understanding-basics-rooting-s3-gt-t2362743
That is for a Samsung device, so not all info will apply to your device. But reading through some threads in the first link I gave you should help enlighten you. :good:
Good luck!

[Completed] [Q] Planning to start building my own ROM, a cry for help (Samsung G. Grand Prime VE)

Firstly, happy new year to everyone c:
As the title says, I'm considering making my own ROM for the SM-G731F.
I've lurked around XDA for quite a while now and I can't seem to find a guide that's able to clarify the process for me.
So I decided to make a post here,
The ROM I want to make should be something as close to AOSP as possible (for what I've seen, no Cyanogen or ROMs alike are available, so..), but my programming skills are lacking.
Even with guides about building or porting ROMs I haven't yet figured out where to start.
So here come a few questions:
1. Can I build a AOSP ROM for my Samsung device (AFAIK I need some base ROM right?)
2. Assuming that porting is not an option, is building a ROM from scratch a viable way to do this? (Even though my programming skills are close to none I've had some experience with C and I'm willing to put in the effort)
3. What will be the main challenges to this?
Cheers,
b0taSs said:
Firstly, happy new year to everyone c:
As the title says, I'm considering making my own ROM for the SM-G731F.
I've lurked around XDA for quite a while now and I can't seem to find a guide that's able to clarify the process for me.
So I decided to make a post here,
The ROM I want to make should be something as close to AOSP as possible (for what I've seen, no Cyanogen or ROMs alike are available, so..), but my programming skills are lacking.
Even with guides about building or porting ROMs I haven't yet figured out where to start.
So here come a few questions:
1. Can I build a AOSP ROM for my Samsung device (AFAIK I need some base ROM right?)
2. Assuming that porting is not an option, is building a ROM from scratch a viable way to do this? (Even though my programming skills are close to none I've had some experience with C and I'm willing to put in the effort)
3. What will be the main challenges to this?
Cheers,
Click to expand...
Click to collapse
Greetings,
Thank you for using XDA Assist. First, consider taking a visit to XDA University:
XDA-University
There's lots of helpful information there.
Also, you can ask for help in your device's Q&A forum here:
Galaxy Grand Prime Q&A, Help & Troubleshooting
Good luck!!
The_Merovingian said:
Greetings,
Thank you for using XDA Assist. First, consider taking a visit to XDA University:
XDA-University
There's lots of helpful information there.
Also, you can ask for help in your device's Q&A forum here:
Galaxy Grand Prime Q&A, Help & Troubleshooting
Good luck!!
Click to expand...
Click to collapse
Thanks for your reply @The_Merovingian,
I haven't even thought of that (I know, I know), anyway, thanks for the tip.
Guess I'll have much to keep me occupied
I'll see what I can find then, cheers

Sony XA2 AOSP building problems

Hi,
first post on this forum -> hope this is the right section, sorry if it isn't.
So I'm here because I have a problem regarding the building process of AOSP for the sony XA2
I'm following those steps : developer.sony.com/develop/open-devices/guides/aosp-build-instructions/build-aosp-nougat-8-1-oreo-4-4
(adding https for opening)
The problem appears on step 4, part 4 : I do not have the repo_update.sh
So first question very simple, does anyone has it ? what am I missing.
Although I'm not especially new to development, I found it on the repo (don't know why it does not come still -> I suppose it's not in the manifest, yet why is it suppose to be in the tutorial ?)
The next question are regarding my newbie state in android development / flashing / OS
Cause next I would need to flash the boot.img vendor etc . . . I did not find nowhere the explanation of where to find those and I'm kind of frustrated of finding absolutely nothing EXPLICIT on the matter.
So could someone point me to a newbie tutorial / explanation please ? or directly explain it to me if it's not too long.
For the record, I understood what those images are, I just don't know where to find them.
ok It's more a general confusion due to the fact that I'm new to Android than anything else still, I need answers
Thank you for your responses in advance.
1nsaneMan said:
Hi, first post on this forum -> hope this is the right section, sorry if it isn't. So I'm here because I have a problem regarding the building process of AOSP for the sony XA2...
Click to expand...
Click to collapse
I don't have this device and I've never personally built a ROM before but, you should be able to obtain some member guidance within one of the following threads.
https://forum.xda-developers.com/showthread.php?t=2059939
https://forum.xda-developers.com/showthread.php?t=3499666
https://forum.xda-developers.com/showthread.php?t=3296086
https://forum.xda-developers.com/showthread.php?t=3469420
https://forum.xda-developers.com/showthread.php?t=3250984
https://forum.xda-developers.com/showthread.php?t=2455005
There's more on the forum but, these should give you a good start.
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
Ok truth is, I think something is wrong with my system, I have a linux 17 maybe it's not the right one to do this, I tried with a 'normal' 16.04, I went further, have other problems, but I'm finding solutions on the forums.
Precisely in the links you gave me so thanks for answering the questions that I did not have time to ask ^^
Thank you for your help, have a nice day.

Categories

Resources