yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I started the build and went to bed; after an hour and a half I got this:

(skipping file 'arrays.xml~' due to ANDROID_AAPT_IGNORE pattern '*~')
(skipping file 'config.xml~' due to ANDROID_AAPT_IGNORE pattern '*~')
aapt: warning: string 'adb_icon_summary' has no default translation in packages/apps/ROMControl/res; found: de
aapt: warning: string 'adb_icon_title' has no default translation in packages/apps/ROMControl/res; found: de
aapt: warning: string 'alternate_button_layout_summary' has no default translation in packages/apps/ROMControl/res; found: de
aapt: warning: string 'alternate_button_layout_title' has no default translation in packages/apps/ROMControl/res; found: de
aapt: warning: string 'battery_summary_text_widget' has no default translation in packages/apps/ROMControl/res; found: de
aapt: warning: string 'color_blue_title' has no default translation in packages/apps/ROMControl/res; found: de

There were too many of these warnings to place here, but the result was this:

aapt: warning: string 'toggles_order_summary' has no default translation in packages/apps/Settings/res; found: es
aapt: warning: string 'toggles_order_title' has no default translation in packages/apps/Settings/res; found: es
aapt: warning: string 'view_stats_title' has no default translation in packages/apps/Settings/res; found: cs hr

Total time elapsed: 137 minutes (8272.185537674 seconds)

Obviously, I screwed it up again somehow...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] gs2usr:
hey bmp i set up a github repo and forked android_vendor_pac then i commited my addittions to add our device, so in a separate directory run this:

git clone https://github.com/gs2usr/android_vendor_pac.git

and just copy my files to your build directory. :)

with the same files i commited i ran a build and built just fine!

Package complete: /home/gs2usr/PAC-man/out/target/product/skyrocket/skyrocket_PAC_jb-v16.1.0.zip
4b9de21b0ee083ded4d8b5dc96d195c3 skyrocket_PAC_jb-v16.1.0.zip

Total time elapsed: 50 minutes (3008.766183963 seconds)
gs2usr@gs2usr-ubuntu-11-04:~/PAC-man$ cd

oh and i finally broke under an hour., lol..
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] liquidzoo:
Can I ask a question that may have already been answered in the 251 pages of this thread? I'd love to set up either a linux VM or linux partition and have a go at building my own ROMs (following the great guides here, naturally). How much disk space would I need? Last time I tried, I ran out of disk space.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
SWEET!!!!

Roger:cool:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Typically, a good rule of thumb is to give yourself at least 50 to 60 gigs. That's the absolute minimum though. I started out with 180 on mine, but I run a 1tb so for me that's not a big deal. Your build directory can easily run over 50 gigs and you want to have plenty to work with otherwise your build will fail for lack of space and you will have a difficult if not impossible time working around that issue. If HD space is a premium for you, I think 75 would do it, but the basic rule is you can't have too much:thumbup:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] gs2usr:
Hey never mind on the git clone, looks like they already merged my commits so just do a repo sync :)

https://github.com/PAC-man/android_vendor_pac
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Thank you brother. I'll do that :laugh:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Ran a phone tether to sync and this is what I come up with:

Syncing work tree: 98% (316/322) error: Your local changes to the following files would be overwritten by checkout:
products/AndroidProducts.mk
vendorsetup.sh
Please, commit your changes or stash them before you can switch branches.
error: The following untracked working tree files would be overwritten by checkout:
overlay/aokp/device/skyrocket/packages/apps/ROMControl/res/values/arrays.xml
overlay/aokp/device/skyrocket/packages/apps/ROMControl/res/values/config.xml
products/pac_skyrocket.mk
Please move or remove them before you can switch branches.
Aborting
Syncing work tree: 100% (322/322), done.

error: vendor/pac/: PAC-man/android_vendor_pac checkout 57c557112a94b55e67dcb35dac03c967c352015f

Do I need to adjust those .mk files in some way, or dump em and resync? I'm sooo close, I can taste inky and blinky:p
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
You can try to "cd vendor/pac" and then "git reset --hard" then "repo sync -jwhatever" if you still get the same message just delete the "rm -fr vendor/pac" directory and "repo sync".

Roger:cool:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I just dumped pac and synced up. Fetched 100%. Looks good, wish I didn't have to wait till I got home to build. Definitely not a tethering function:silly: Going home at 4. Wish me luck! I'll either be *****ing or crowing;)

Thanks again!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
Why don't you ssh to your box at home and remotely that's what i do but the other way around.

Roger
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Hanging out with you always makes me feel like Forrest Gump in the offices of IBM. I have no idea how to go about that; I tried to follow a set of steps on rootswiki about circumventing your job's networking security in order to build and could never pull it off. If you wanna lay it out, I'll definitely give it a try....

EDIT: Posted a tut on installing ccache in post #3. For guys like Roger, this is old hat. But, for some of the newer builders, this is a way to speed up your build times exponentially. Check it out...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
In the past I've used "cntlm" but no longer do because I now go through a physical VPN switch. The link below should have everything you need to get out of your Corporate network.

http://www.linux-answered.com/2012/05/23/linux-windows-ntlm-authentication-proxy/

Roger:cool:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Thank you! I used up my thanks first thing this morning between you and gs2, so I have to go the long way.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
UGH. Thought I had it, but no.

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
make: *** [/home/bmp7777/pacman/out/target/common/obj/APPS/Mms_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Total time elapsed: 37 minutes (2263.012778422 seconds)

Anyone know what error 41 represents? Something to do with messaging?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
What are the other 4 errors? If they are earlier on in the build, you have to start with the first one ... usually has a cascade effect.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Ran a clobber and synced back up so far so good >fingers crossed<:rolleyes:

EDIT : No dice.....

packages/apps/Mms/src/com/android/mms/ui/MessagingPreferenceActivity.java:167: cannot find symbol
symbol : variable MMS_AUTO_RETRIEVAL
location: class android.provider.Settings.System
Settings.System.MMS_AUTO_RETRIEVAL, 1) == 1);

packages/apps/Mms/src/com/android/mms/ui/MessagingPreferenceActivity.java:170: cannot find symbol
symbol : variable MMS_AUTO_RETRIEVAL_ON_ROAMING
location: class android.provider.Settings.System
Settings.System.MMS_AUTO_RETRIEVAL_ON_ROAMING, 0) == 1);
^
packages/apps/Mms/src/com/android/mms/ui/MessagingPreferenceActivity.java:421: cannot find symbol
symbol : variable MMS_AUTO_RETRIEVAL
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(), Settings.System.MMS_AUTO_RETRIEVAL,
^
packages/apps/Mms/src/com/android/mms/ui/MessagingPreferenceActivity.java:426: cannot find symbol
symbol : variable MMS_AUTO_RETRIEVAL_ON_ROAMING
location: class android.provider.Settings.System
Settings.System.putInt(getContentResolver(), Settings.System.MMS_AUTO_RETRIEVAL_ON_ROAMING,
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
make: *** [/home/bmp7777/pacman/out/target/common/obj/APPS/Mms_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: packages/wallpapers/PhaseBeam/src/com/android/phasebeam/PhaseBeamRS.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Anyone run across this? Know how to fix it?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
How bad do you want to build tonight I have a work around?;) The good news is you aren't doing anything wrong something broke with today’s updates I'm getting the same exact errors as you. The build error is being caused by the Mms package build so this is what I did.

1. Change directories to package/apps and deleted the Mms folder.

2. Type make clobber and make clean (DO NOT REPO SYNC)

3. Build your rom as you normally would.

4. Copy the attached Mms.apk and drop it in system/app of your freshly built rom zip file.

5. Install and enjoy.

Roger:cool:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
looks like you're missing this commit:

http://review.cyanogenmod.org/#/c/26166/3
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
That did it the build completed without my hack thanks for pointing it out. I assumed something was wrong with the commit not that it was missing.

@BMP7777 if you're listening you should be able to build after cherry-picking the commit.

Thanks Roger:cool:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I completed a build last night using your workaround. Any idea when it will be commited? I seem to have a cherrypicking handicap. Last couple times I borked my directory terribly. Thanks for all your help Rog. You too m45!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
Just do this it won't break anything.

1. Change directory to "framework/base"

2. cut & paste this minus the quotes "git fetch http://review.cyanogenmod.org/CyanogenMod/android_frameworks_base refs/changes/66/26166/3 && git cherry-pick FETCH_HEAD"

3. Hit enter

4. Change directory back to the root of your build directory and build as you normally do.

Roger:cool:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
OK, so I'm pretty pumped ...

About to begin testing Nibbles 1.1 :) Fixed a ton of stuff, runs even better now. Should have it ready for release by tonight.

Plus I added AROMA installer! That's probably the best part :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Sounds good! Testing my PACman build, and will be putting it out later today as well. Gonna be plenty of new ROMs to try this weekend!:laugh:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] chinthekng:
Alright guys bear with me i sorry if i ask dumb questions but iv'e been following this thread for a while and haven't had time to attempt my own build s myself cus of school but since my schedule is less tight i think im ready to start. I'ven been looking at ubuntu and mint and trying to decide which one suits me better. Ubuntu looks nice but Cinnamon looks nice to. I did some reading and it seems like mint kind of cater better to new users so i just wanted to see the opinions that you guys have. Once again sorry if i ask any dumb questions but i knida want to be sure what im doing before i screw up my computer. Thanks again for the help :laugh:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Go with Ubuntu man. You will really spend all your time in a terminal window anyway and this tutorial is focused around Ubuntu. If you choose a different OS and encounter issues we likely won't know if it's OS related or related to your build.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
After all of the back and forth on each person's personal taste, I think most would tell you to go with what you think will work best for you. Mint is a definite choice, with Ubuntu being a close second, or first depending who you talk to. Some will say that you need to use Ubuntu 10 for things to go properly, but I haven't found that to be entirely true. I use Luninux 12, which is classified as an Ubuntu generic; it basically is Ubuntu with a OSX-like GUI. I prefer it because I had trouble using all of the everyday aspects of Ubuntu, and I have Apple experience. Just make sure you allocate as much partition space as you can before install if doing a dual boot. At least 100 gigs is preferable, but 75 would probably work ok.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] chinthekng:
thanks for the quick reply im currently doing some reading and youre right, most tutorials i see are based on ubuntu so i just wanted to know if it's advised to use the latest or to roll back a few releases cus ive seen posts where some people had problems with the latest releases. Also i just kinda feel like making my own personal aokp and cm builds (no need to have 3 links full of the same rom in the development section) so i was just wondering if the latest ubuntu would be good for that becuae in the team chopsticks tutorial it says to use 10.04 but in another aokp tutorial it says to use 12.04.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
I'm using 12.04 without any issues specific to Ubuntu.

Also, best of luck and welcome to the club. There's a LOT of smart people participating in this thread, we will certainly get you up and running. Only unasked questions are dumb questions, but in general search the thread first - lots of random questions have been answered already. Bottom line, don't apologize for asking something that you think is trivial.

Make sure to allot yourself a good 5-6 hours to get all setup; your first repo sync will take the longest out of everything, so have a six pack handy.

I highly recommend just doing a standard build at first. That'll confirm that you have everything working properly. From there, you can start customizing and screwing with things.

Cheers!

CvD
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] chinthekng:
lol no six pack for me cus im only 15 :p but thanks for your help im gonna get started at 1 cus my brothers on the computer now but ill keep reading and familiarize myself with the terminal and stuff (all those commands seem confusing and scary lol :silly: ) but once again thanks for the help and i'll search and then post :laugh:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Just take your time and you'll be fine :) Make that a six pack of Red Bull or Mountain Dew then.

Also, I'll be around all day since I'm working on a new version of my ROM. So I'll keep an eye on the thread if you happen to post any questions.

Speaking of my ROM, I've gotta say that Aroma is amzaing. Why people aren't adopting this installer across the board for the Skyrocket is beyond me. Looks like I may be one of the first to release a Skyrocket ROM with it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] incarnation95:
Aroma is amaaaazing! But the problem is the rom becomes 300+ mb and its a pain to download for people having bad connection!

I personally love aroma!:D
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Sneak peek for TEAM ROOKIE .... almost done, just working out some bugs in the installer script.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] chinthekng:
Looks awesome man :thumbup:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
A quick tip to anyone fiddling with mounts in their installer-script. If you connect to the phone with adb shell you can run the mount command to find out the blocks that each partition lives on.

~ # mount
rootfs on / type rootfs (rw)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/dev/block/[COLOR="Red"]mmcblk0p26[/COLOR] on /cache type ext4 (rw,nodev,noatime,nodiratime,barrier=1,data=ordered)
/dev/block/[COLOR="Red"]mmcblk1p1[/COLOR] on /sdcard type vfat (rw,nodev,noatime,nodiratime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/block/[COLOR="Red"]mmcblk0p24[/COLOR] on /system type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/block/[COLOR="Red"]mmcblk0p25[/COLOR] on /data type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/block/[COLOR="Red"]mmcblk0p28[/COLOR] on /emmc type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
~ #

Why would you want this? Simple ... you can edit your installer/aroma scripts to do cache wiping, system wiping, etc. Plus, you can mount /data to push apps to the users space during installation as well.

Mounting example:

### mount /system
mount("ext4", "EMMC", "/dev/block/mmcblk0p24", "/system");
assert(is_mounted("/system"));
ui_print(" Mounted /system");

### mount /data
mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/data");
assert(is_mounted("/data"));
ui_print(" Mounted /data");

### mount /cache
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/cache");
assert(is_mounted("/cache"));
ui_print(" Mounted /cache");

### mount /emmc
mount("vfat", "EMMC", "/dev/block/mmcblk0p28", "/emmc");
assert(is_mounted("/emmc"));
ui_print(" Mounted /emmc");

Wiping data after you've mounted volumes ...

ui_print(" Wiping Data...");
delete_recursive("/data");

### Wipe /emmc/.android_secure
ui_print(" Wiping .android_secure...");
delete_recursive("/emmc/.android_secure");

ui_print(" Wiping Dalvik Cache...");
delete_recursive("/cache/dalvik-cache");

ui_print(" Wiping Cache...");
delete_recursive("/cache");

If you are using the new version of Aroma, your mount command should be formatted like this ...

run_program("/sbin/busybox", "mount", "-t", "auto", "/dev/block/mmcblk0p26", "/data");

Now, just be VERY careful here. You can do bad things if you randomly start deleting things that you aren't supposed to. The above should be safe, but it's really intended as a quick guide.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] chinthekng:
Ok im about to partition my mac and i know 100 gigs is ok but should i add anymore space (say 150, cus i have 499 on my mac) just incase
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
If you have VMWare just create a VM. That's what I have :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] chinthekng:
nah i dont have that so im just deciding to do a dual boot between mac and ubuntu
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
I'm about to start throwing things around ...

I cannot get this updater-script to cleanly wipe the cache and dalvik-cache. It keeps failing with no error message during the flash. It's making me crazy. As soon as I figure that out ... I think I'm good to go.

/RANT
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
150 should be plenty. I have 180 and am going to 200 only because I am using ccache and want to have multiple directories so I can switch back and forth.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Heck with it. I'm taking the wiping out of the script for now. Need to verify the rest of the installation script works then I'll come back to it.

Oh, the joys of trying something totally new :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] aznrice2k4:
Wow...trying to port this to a HTC isn't fun. :/
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Oh boy .. I feel your pain. HTC anything is not fun. Spent some time last week with an HTC One X and it was utterly painful to unlock the boot loader and root it. Installing a ROM looks to be just as painful.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] aznrice2k4:
Oh that's the easy part. I'm so used to build scripts and what not. I think I broke the repo. I'm resyncing now. I was constantly getting an error 41. I'm trying to build it like I would with PA or CM10 but its not working. :/
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Try Rogers workaround from a page or two back. I was having the same issue. He suggested deleting the mms. file and placing it back in after building and it worked : http://xdaforums.com/showpost.php?p=33913492&postcount=2527

Or try the cherrypick on the next page from that post : http://xdaforums.com/showpost.php?p=33929155&postcount=2531
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Mint is forked from Ubuntu, and is closer to Ubuntu than AOKP is to CM. It uses the same Ubuntu repos. The biggest difference in the newer releases is Mint's Cinnamon vs Ubuntu's Unity, which is all just the desktop UI, and has no impact on core OS software/kernel, etc. That said, I'm not big on either and had WiFi issues with both 12.04 and Mint 13. I'm still rocking Mint 10, which is now a hybrid version of Mint 9/10/11. If I get around to trying the newer releases, I personally would probably go with Fedora 17 or 18. The easiest way to see what you like is to just burn the OS on to a 2-4Gb USB thumb drive and run it from the thumb drive in a live session to see how you like it before you install it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Thought I just read that the Fedora release is pushed back till next year....am I wrong?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Yeah. 18 isn't coming out till the beginning of Jan.

Also, since I mentioned it. For making live USBs, there are lots of options but I would recommend UNetbootin. It's simple, works on any OS, and has never given me issues (which I cannot say for many others that I've used).
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] aznrice2k4:
THanks I'll try that.

Here's my make file.

The weird part is it starteds to compile without initial error.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Delete the entire line at the bottom that starts with "GET_VENDOR_ PROPS". Might need to delete this too:

# PAC device overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/pac/overlay/pac/htc/hdpi
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
I don't have an HTC phone but if I did I would try and build like this.

1. Type repo sync -j(your # of threads).

2. Apply cherry-pick like BMP suggested http://xdaforums.com/show...postcount=2531 this will get rid of that "error 41" you're seeing.

3. If while building you see an error that mentions "getvendorprops.py" not being found or something like that remove the line below from your make file and build again (DO NOT REPO SYNC) that remove the cherry-pick.

"GET_VENDOR_PROPS := $(shell vendor/pa/tools/getvendorprops.py $(PRODUCT_NAME))"

Lets us know if this worked.

Roger:cool:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] aznrice2k4:
So far everything looks great. Its making the framework but still no apps minus terminal.

SO yeah I did get an error

http://pastebin.com/VAxeRGKn

Edit: I actually didnt get any error about error that mentions "getvendorprops.py
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] chinthekng:
installing Ubuntu 12.04.1 right now as i type so far everything is going good i might attempt a first build and leave it through the night or just start again tomorrow, but thanks again to those who helped so far and i'll definetly have more questions :p
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
So did you fix the errors and get a completed build? The things I mentioned in my previous post to you fixes both those errors. I guess you didn't apply the cherry-pick or delete the line in the make file.

Roger :confused: