Attempting to build my first ROM - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

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

Related

[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.

[REQ] Development Environment Setup for Moto G 2014

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.

[Q] which AOSP 5.0 ROM for building yourself?

I am NOT a developer!
I am a Systems Administrator, and I have built a 4.2 before using ubuntu 14.04, with a SGS2 i9100.
I have attempted in the past to ask for a device tree so I could build my own pure AOSP, and no one was able to help me.
SO, I now have my hands on a S4, and I want to put 5.0 on it.
I can create the build environment. either the windows version or the ubuntu version.
What I would like to know is which ROM would provide me a bit of instructions on how to use and build their ROM.
I'm looking for a ROM as close to AOSP as possible.
Preferably without any CyanogenMod builds, but I hightly doubt that is possible.
Seems everyone is using them for some reason.
I've been going to the ROM's section and I see no instructions on how to BUILD the rom.
Sure, I see their Github, but no info in what environment its been build in.
Can someone assist in helping find a ROM, so I can contribute to this community once I get the feel for it?
thank you!
You can try building cm to understand the basis, then move to aosp

Help for Noob trying to compile first CM kernel.

Hello all.
Like the title says, I am trying to compile my first kernel.
I really like the CM11 i9505 nightly kernel, but it would be amazing in my world if it also had voltage/overclock/and gov additions.
It is my understanding that if I compile the kernel myself adding these features would be easy as they mostly exist in a single file that I could copy from similar kernels.
I have been trying to build my first build environment, but it seems that I am failing in amazing ways by trying to follow the CM guides on the their wiki. :crying:
I have an i3 dell 6420 laptop with Ubuntu (installed and functional) that I am dedicating to this effort, but I seem to need spoon feeding on this first attempt.
Does any one have a good step by step guide that I could follow for building the CM11 kernel?
Failing that does anyone have the time to chat in a live state on a weekend or late evening to help build this?
Of course if someone has a CM11 nightly kernel with the added features, I wouldn't object to using that and not reinventing the wheel.
Wrong section,
Ask a forum moderator (any one) to move your thread to the developer only section(of this subfroum)[emoji6]
Sent from my GT-I9505 using Tapatalk
He could just read the kernel tutorials in the android or chef central sections

REQ rooted kernel 5.1.1 for Sm-t235 (source was published a month or two back)

sometime back this was posted
http://forum.xda-developers.com/showpost.php?p=63556533&postcount=135
unfortunately moonbutt closed his thread just when I and another member posted boot image etc on the board..understand he may have moved on to better things
not knowledgeable here but appreciate if someone can take this up or redirect this to some dev who can make a rooted kernel since the source has been published
thanks
SM-T237P
Would love to root my 5.1.1 tab , so I too would be begging for another developer to step in to fill this need. I need a kernel with UVC video support.
OKAY so now I know my posts were getting deleted when I asked for T235 kernel root
zitomd said:
Would love to root my 5.1.1 tab , so I too would be begging for another developer to step in to fill this need. I need a kernel with UVC video support.
Click to expand...
Click to collapse
yesterday or may have been on Sat night, on the T533 thread I tried to catch moonbutt's attention by pointing to the T235 source (when apparently he was saying the T533 had no source but was addressing that kernel) and now that post has gone like on his closed thread (just when it seemed he was taking an interest thanking me for providing boot.img and other files)
anyway...need some dev who can volunteer to work on this and at least someone who would respond yes or no (deleting posts maybe to avoid a side conversation)
I pulled the source started to look it up and looked up on how to modify kernel..looked doable to a point but this is from a total novice (all i know is to mod some apk, compile/re-compile but no building stuff)
mac231us said:
yesterday or may have been on Sat night, on the T533 thread I tried to catch moonbutt's attention by pointing to the T235 source (when apparently he was saying the T533 had no source but was addressing that kernel) and now that post has gone like on his closed thread (just when it seemed he was taking an interest thanking me for providing boot.img and other files)
anyway...need some dev who can volunteer to work on this and at least someone who would respond yes or no (deleting posts maybe to avoid a side conversation)
I pulled the source started to look it up and looked up on how to modify kernel..looked doable to a point but this is from a total novice (all i know is to mod some apk, compile/re-compile but no building stuff)
Click to expand...
Click to collapse
mac,
i had your post removed because it was interfering in H's thread. I tried with this device a little while ago but testers seem to think they are at liberty to not follow instruction, or just change their minds mid-stream like they haven't just wasted my time and resources. . The upside would be if you have the source and the setup to compile it and thereby test your own work then, i can absolutely run you through what you need to do, The tricky part is knowing which tools you need for the packing/unpacking of the ramdisk.
If this is a qcom/msm device you will need AIK which is the best solution.
If this is a marvell variant you will need ketut's degas bootimg toolkit which is the best solution.
You need [likely] to apply the patch mentioned in my thread to security/selinux/selinuxfs.c
Be aware that samsung's source releases are usually incredibly sloppy and the defconfigs for devices are usually somewhat off, missing config settings.
Check for sdcardfs xattrs, virtual xattrs, etc . you need to make sure those are selected in order for your internal and external storage to mount.
Find the correct defconfig for your device and post it as a zipped attachment. or check my thread and look at my sources on git, specifically the commit history [msm devices mostly] to get an idea of what you need. You can get a linux os running in a virtual machine and compile just fine as long as you have all the pre-requisites installed. The getting started link in my signature is a rough/general guide to help get you up and running.
m
ps, my thread is just locked, not closed, i was getting too many OT/non-dev postings. I open it when/if i have something new and then close it again.
thanks moonbutt74...totally understand...appreciate the links in your signature and other resources...will start looking into it (long long journey but gotta try)
mac231us said:
thanks moonbutt74...totally understand...appreciate the links in your signature and other resources...will start looking into it (long long journey but gotta try)
Click to expand...
Click to collapse
mac,
no prob, recommended step 1, get your linux distro set up, stongly recoommend kali/debian 2.0, either in vm or better as 2nd os in a dual boot scenario.
m

Categories

Resources