[Q]Compiling a custom ROM - Android Software/Hacking General [Developers Only]

I want to compile a custom ROM for my ace device, specifically this one.
I've followed some tutorials on compiling Jelly Bean, but I have no idea what I'm doing, especially with repos. I have never worked with repos before, so when trying to sync with Google's, it downloads gigabytes of files for other platforms and devices that I simply don't need. I just want to sync to a user's git, and compile from there. Does this make sense?
Can someone with more experience in this help me out?
I'm very sorry if this is the wrong place for asking.

Follow this: http://forum.xda-developers.com/showthread.php?t=1762641
Hit thanks if I helped you!
Sent from my GT-I9000 using xda premium

gangstaboy13 said:
Follow this: http://forum.xda-developers.com/showthread.php?t=1762641
Hit thanks if I helped you!
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
That's what I followed, but when I repo sync it downloads GBs of files I don't need. For some reason it doesn't download JB only.

Related

Vendor setup for Thunderbolt

I would like to know if anyone knows where I might find the vendor setup folder for the Thunderbolt to use for building Gingerbread.
I have Slayher's vendor setup folder but that's for CM 7.
Thank you
Follow the guide on the CyanogenMod Wiki for compiling from source. The Thunderbolt files have been merged into the repo.
Follow the same exact steps as the wiki explains and you'll be fine. Just remember to change the device name from whatever it is to mecha.
What are you guys using for proprietary files?
bgill55 said:
What are you guys using for proprietary files?
Click to expand...
Click to collapse
cd ~/android/system/device/htc/mecha
./extract-files.sh
All assuming you have adb installed.
Sent from my ADR6400L using XDA Premium App
ProTekk said:
cd ~/android/system/device/htc/mecha
./extract-files.sh
All assuming you have adb installed.
Sent from my ADR6400L using XDA Premium App
Click to expand...
Click to collapse
ok just making sure the wiki says to have them from a working cm7 build, but ill try a test build with my props in there
Don't expect it to boot btw.
ProTekk said:
Don't expect it to boot btw.
Click to expand...
Click to collapse
lol thanks ha! I just want to get everything as close as I can get it , post count might say noob but iz not thanks for your work btw
ProTekk said:
Don't expect it to boot btw.
Click to expand...
Click to collapse
Have you tried? I am sure you have... just thought I would ask....
I've tried damn near everything. Going to have to wait for Slayher.
Sent from my ADR6400L using XDA Premium App
Yea looking at his github... Looks like he is still working on it
Sent from my ADR6400L using Tapatalk

[TUT][DEV]Noobs Tutorial to Compile your own ROMs

Here are some links for those who want to compile cm7, cm9, aokp, aosp, etc for galaxy y:
HTML:
Disclaimer: I am not responsible for what happens to your device if you flash
your builds using the following tutorials.
Some of them may be for other devices but use your common sense and replace
device with Galaxy Y
For most of these you will need:
Ubuntu (any version from 10.04 to 11.10)
Some Linux knowledge
Your Galaxy Y (well, duh)
GT-S5360 Device Repos (working on it)
...etc
HTML:
Some of these are taken from outside sources and are duly thanked.
Now, to business....
FIRST OF ALL, SET UP UBUNTU
Inside Windows (no partition required, recommended):
http://www.ubuntu.com/download/desktop/windows-installer
OR
Set up a VM:
http://www.freeyourandroid.com/guide/setup-linux-virtual-machine-windows
GOOGLE OFFICIAL
http://source.android.com/source/initializing.html
OFFICIAL CYANOGENMOD:
wiki.cyanogenmod.com/wiki/Building_from_source
(Choose any samsung device, does not matter)
AOSP GINGERBREAD:
http://forum.xda-developers.com/showthread.php?t=1183832
CM7:
http://forum.xda-developers.com/showthread.php?t=915435
http://forums.acsyndicate.net/showthread.php?3270-GUIDE-Compile-from-CM7-Source-(Kanged)-Ubuntu-11-10-12-31-2011
AOSP ICS:
http://www.freeyourandroid.com/guide/compile-ics
CM9:
Coming soon.........
AOKP:
Coming soon.........
AFTER BUILDING:
http://kandroid.org/online-pdk/guide/bring_up.html
SO,
After reading all (or, most of these), you must have noticed how important it is to
make a device tree for galaxy y on github.
So, Please devs lend me a hand in this task
Reserved
Reserved
Reserved!
reserved
Wow, great topic.
Thanks bro!
Reserved
Reserved
Sent from my GT-S5230B using XDA Premium + Swype
shocklads said:
Wow, great topic.
Thanks bro!
Click to expand...
Click to collapse
Pressing it is easier than saying it You are quite welcome.
BTW did anyone try it?
Sent from an electronic thing
Havent you tried this?
Sent from my GT-S5360 using xda premium
So this is tutorial or just reference link?
Real dev i think know this.
But for newbie like me it's help and sori never try this one. Far from my knowledge.
soraci said:
Havent you tried this?
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
I Have tried only cm7 and aosp gb.
Was asking whether anyone else had tried the others.
And did it worked?
Andromeduh said:
And did it worked?
Click to expand...
Click to collapse
AOSP Gingerbread is currently compiling.
Cm7 is too buggy, not booting
Sent from an electronic thing
really very nice thread...........
Sent from my GT-S6102 using xda premium
manoranjan2050 said:
really very nice thread...........
Sent from my GT-S6102 using xda premium
Click to expand...
Click to collapse
Thank you very much!
I will update the thread tomorrow.
And I will release aosp gb next week.
It is quite hard mustering support when you have barely 10 posts.
Sent from an electronic thing
Good luck..
Will we follower and tester..
can anyone give me devices folder for Sgy s5360 ? for aosp build
dranzer006 said:
can anyone give me devices folder for Sgy s5360 ? for aosp build
Click to expand...
Click to collapse
It is incomplete but will be ready in a week
https://github.com/sdadier/android_device_samsung_totoro
Sent from an electronic thing

Google

Google it...
But Bing is better...
Psych!
Google for the win!
If you need things such as ....
Source codes,eta's,phones,girlfriend or boyfriends,batteries,roms, fixes....try Google.
Atleast you can find the answers without causing a stir.
For sure google is great I googled my way to jellybean lol
Sent from my SCH-I605 using xda premium
erikmm said:
For sure google is great I googled my way to jellybean lol
Sent from my SCH-I605 using xda premium
Click to expand...
Click to collapse
i googled "build android rom from source" and got this website that tells you step by step on how to do it. I have ubuntu installed and actually its updating now but i will have everything i need by the end of the night and im hoping just for personal gain in knowledge that i can have a successful booting rom by saturday night. grant it that its nothing special to the devs or even the community but we all have to start somewhere right?
If anyone was interested my build won't be done by Saturday. I kind of accidentally messed up my boot partition and am putting windows 8 on my laptop then I will reinstall Ubuntu and try again. I came to a stepping stone though as I was in process of making a rom from source and may require some help. I hope a couple of devs may be able to assist me if I need them.
Sent from my SGH-T959V using xda app-developers app
Yes Google is your friend, Thanks and Thread Google Closed.

[5/22/2013][ROM][MTD][4.2.2]AOKP-JB 4.2.2 [Build-1][Source Included!]

AOKPdeveloped and maintained by Team Kang, produced by airfluip1
Android Infused with Magical Unicorn Bytes--LOL
AOKP stands for Android Open Kang Project [Play of words on AOSP(Android Open Source Project)]
So I got bored and I decided to dev.
Here is my first source built ROM and I have some plans.
What doesn't work--->Call Audio goes to speaker, GPS, Wifi, Device Settings FC, THERE MIGHT BE MORE FOR YOU TO DISCOVER, POST LOGS, AND REPORT ON
What works, everything else
HOW TO INSTALL--> Please be on an MTD rom of some sort such as CM7 or ANY ICS/JellyBean, this will prevent any potential errors that I haven't discovered.
IN RECOVERY--> Wipe System and Do a Factory Reset--> Download and Flash Rom Followed By GAPPS.
LINKS ARE OVER HERE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ROM LINK
GAPPS
How to help me:
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
SCREENIES COME LATER
My Source: github.com/airfluip1
AOKP Source github.com/AOKP
Instructions to build are stickied in general section
Reserved
reserved
crap, call audio is being routed to speaker.
What's fc
Sent from my SGH-T959V using xda app-developers app
mattoaida said:
what's fc
sent from my sgh-t959v using xda app-developers app
Click to expand...
Click to collapse
force close
Hey airflip one small comment on the op. Shouldn't toy have people download the ROM and gapps first before wiping in recovery?
Lol
Thanks for the new ROM.
Sent from my SGH-T959V using xda premium
yes, but If you are flashing a JB rom, you should know that.
currently copying over to my dropbox. will post link when it is done.
sent from within the beast
Congratulations Airfluip !
Good luck fixing all the issues.
ICS AOKP is my wife's daily driver and I can't wait to shift her to this once it's fully functional.
airfluip1 said:
yes, but If you are flashing a JB rom, you should know that.
Click to expand...
Click to collapse
You would think.
Sent from my SGH-T959V using xda premium
dropbox link: http://db.tt/OGxo7Ufr
sent from within the beast
lol, i'm using your ftp!
airfluip1 said:
lol, i'm using your ftp!
Click to expand...
Click to collapse
yea, but if you would have read one of erik's threads, my host gets bogged down if there are too many downloads. so since i already upgraded my dropbox, i figured i would copy it over.
Edit: also wanted to let you know this...
Code:
[LEFT]Acid Drops[/LEFT][RIGHT]32m[/RIGHT]
[user=3051621]@Whitehawkx[/user], so the SGS4G community ported over the latest AOKP.
Maybe you could help them out again?
[url]http://forum.xda-developers.com/showthread.php?t=2291357[/url] … with source.
so let's keep a hopeful eye out maybe?
WOW!
That would be godsend
Sent from my SGH-T959V using Tapatalk 2

Cm 11 -experimental-

Hi,
Where I can get the .zip for the experimental builds?
Not the nightlies
If these .zip files doesn't exist, how can I do my own? Where I can find a guide or somenthing to do that.
Thanks!
Sent from my SGH-T699 using XDA Premium 4 mobile app
falle21 said:
Hi,
Where I can get the .zip for the experimental builds?
Not the nightlies
If these .zip files doesn't exist, how can I do my own? Where I can find a guide or somenthing to do that.
Thanks!
Sent from my SGH-T699 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't recommend trying to set up a rig to build for novice users. With that said, it is something you can do with some time and effort. If you choose to build Android on your machine, it will (probably) be tough. It also may take your machine hours to do the work. Keep that in mind..
Google is your friend. Keep in mind, you cannot compile Android on Windows, so you will need a virtual machine or a (dual boot) Linux partition on your hard drive.
Once you have the basics in place, I'm sure the rest of us can help you iron out any little issues with linking.
-----
*** Note to all forum members: Thanks in advance for NOT making this thread a flame war about operating systems! Thank you!
Thanks a lot, a google about this but i cant find good information. Thanks for the answer
Sent from my SGH-T699 using XDA Premium 4 mobile app
falle21 said:
Thanks a lot, a google about this but i cant find good information. Thanks for the answer
Sent from my SGH-T699 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
The CyanogenMod Wiki has some good information for how to get started:
http://wiki.cyanogenmod.org/w/Build_for_apexqtmo (This guide has a few things specific to building CM 10.2, but you change the repo init line to read cm-11.0 instad, and you'll be fine to follow along with what I'm mentioning)
To build the Hypnotoad builds, you follow that through the point that you are done with Section 2.7 (Get prebuilt apps)
Then instead of running breakfast, and trying to extract blobs, add the manifest linked in the development thread to .repo/local_manifests.
Run repo sync again,
apply the cherry pick list (after envsetup, repopick <list>)
Then skip to section 2.11 (Start the build)
If you want to use ccache to speed up subsequent builds, follow section 2.10
Thanks! I gonna research and try.
Thanks for the information
Sent from my SGH-T699 using XDA Premium 4 mobile app

Categories

Resources