yashsingh1/xdaforums huggingface dataset:
[Android Software Development] apophis9283:
For some yeah, the Note 2 and s4 are weird.

Like I have an i605 but it apparently uses stuff from t0lte

Edit: Heres the error I keep getting

Target boot image: /home/apophis9283/aokp/out/target/product/i605/boot.img

----- Making recovery filesystem ------

Copying baseline ramdisk...

error: could not load kernel '/home/apophis9283/aokp/out/target/product/i605/kernel'

make: *** [/home/apophis9283/aokp/out/target/product/i605/boot.img] Error 1

make: *** Waiting for unfinished jobs....

Modifying ramdisk contents...

cp: cannot stat ‘/home/apophis9283/aokp/out/target/product/i605/root/init.recovery.*.rc’: No such file or directory

make: [/home/apophis9283/aokp/out/target/product/i605/recovery/root.ts] Error 1 (ignored)

mkdir -p /home/apophis9283/aokp/out/target/product/i605/recovery/root/system/bin

----- Made recovery filesystem -------- /home/apophis9283/aokp/out/target/product/i605/recovery/root

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.
[Android Software Development] rob54321:
Hi does know how to disable automatic mounting of usb otg when using a AOKP rom?

I can`t find anything in the settings.

Thanks

Rob
[Android Software Development] TheByteSmasher:
That's not weird at all.. lots of similar devices share kernels.. like grouper kernel is also for tilapia... etc..

What is weird is that your build is making a recovery instead of skipping it...

If you want to pastebin the last hundred lines of build up to and including the waiting for unfinished Jobs part, I'll take a look for you.
[Android Software Development] apophis9283:
I got the kernel errors fixed. No need to try and bypass inline kernel compiling. As far as what I meant as "weird" was i605 pulls from t0lte. Thats not a kernel but a device.
[Android Software Development] TheByteSmasher:
Aren't they the same device, but different carriers? Our same basic platform?
[Android Software Development] apophis9283:
Theres

T0lteatt

T0lte

I900

T0ltetmo

I605
[Android Software Development] TheByteSmasher:
Yeah, AOKP does that. It minimizes the repository size if you build more than one device
[Android Software Development] apophis9283:
This was a huge learning experience. Although frustrating, I somewhat enjoyed it.
[Android Software Development] TheByteSmasher:
Kinda cool when the "light bulb" moment happens huh? :D
[Android Software Development] apophis9283:
Yeah, Android is a never ending learning process. It has its ups and downs though
[Android Software Development] SynnyG:
Hi all !

After syncing the kernel directory for the mako, with the brunch command I've got this:

Don't have a product spec for: 'aokp_mako'

** Do you have the right repo manifest?

Also a java tools.jar error appear. Any solution ?
[Android Software Development] TheByteSmasher:
Well need a lot more than that.. upload build log to PasteBin or Dropbox
[Android Software Development] SynnyG:
OK, where I can find this ?
[Android Software Development] TheByteSmasher:
The window you built in... select all, cut and paste
[Android Software Development] SynnyG:
Ok, that's will be done in 5 min !

---------- Post added at 08:35 PM ---------- Previous post was at 08:32 PM ----------

http://pastebin.com/ypv8nQ2W

Thanks in advance !

EDIT: for info, I've paste all my aokp_jb folder from my previous install of Linux (gnome 3) to my actual ubuntu, I don't know if this fact can be the source of my issue.
[Android Software Development] SynnyG:
Hi !

I've resolved my issue by doing a lot of chmod, but now when I want to build, I've another issue that tell me :make: *** No rule to make target "bacon." Stop.

Here you can find my build log. Thanks in advance for your help :)

http://pastebin.com/LcKG36ej
[Android Software Development] TheByteSmasher:
Why aren't you just doing brunch?
[Android Software Development] SynnyG:
I don't have tested just brunch ! But I've found the solution: my Makefile was empty... I think all the directory aokp_jb was corrupted after the copy, so actually I've deleted all the aokp_jb folder and re DL all the files... I hope this will work !
[Android Software Development] TheByteSmasher:
Cool, let me know
[Android Software Development] SynnyG:
Perfect, in this moment my PC is building the AOKP ! A big thanks to you TBS :)

But I've a question to clarify the different build option. Can you tell me the difference between brunch, breakfast and Lunch option please ?

Also, where can I change the ROM name ? In the build.prop ?
[Android Software Development] mar5hal:
http://wiki.cyanogenmod.org/w/Envsetup_help

And yes build prop is where the ROM name and version go
[Android Software Development] TheByteSmasher:
Basically. Brunch it's lunch + bacon. Use it, it's the best. Also, in order to build in a different name you need to modify the source in vendor/aokp/config/common_versions. mk

[MENTION=3947779]mar5hal[/MENTION] good looking out.. thanks for helping.
[Android Software Development] mar5hal:
Anytime :) thanks for the awesome guide. It's helped a lot :good:
[Android Software Development] SynnyG:
Thanks for the link and for the info :)

I definitly love the Android dev community ! I'm so happy to have switched from IOS (shame on me..) to Android !

---------- Post added at 09:53 PM ---------- Previous post was at 09:49 PM ----------

Bacon is for create a flashable ZIP, that's true ?
[Android Software Development] TheByteSmasher:
Yes. So brunch is all you need. It does it all.
[Android Software Development] SynnyG:
Nice command so ^^

Again thanks for all your help and support, I can finally start having fun :)

---------- Post added at 10:56 PM ---------- Previous post was at 10:04 PM ----------

It will take how long usually to finish the build process ? It take me almost 1h30 and it's not finished :-/
[Android Software Development] mar5hal:
All depends in the machine you're building on. For example I have a quad core i7 and 12gb of RAM. Takes about 50 minutes
[Android Software Development] SynnyG:
Holy ****, I've only one core and 3 GB of RAM...
[Android Software Development] mar5hal:
I'd give it a little longer then ;)
[Android Software Development] SynnyG:
Yes I think ^^"
[Android Software Development] SynnyG:
Wonderful ! After 4h of building, my first build has boot ! Now it's the time for cherry picking :)
[Android Software Development] SynnyG:
Sorry for the nooby question... But I don't understand which lines I have to change for changing the ROM name and his version in the common_versions.mk :confused:
[Android Software Development] TheByteSmasher:
My pc won't be available for a few days, I'll look as soon as I can
[Android Software Development] mar5hal:
I know you can just update the build.prop after compiling it. As soon as you open the system folder of the update.zip its listed under ROM version and aokp version or something something like that
[Android Software Development] Powerhouse:
All My 8 thanks completed here :p
[Android Software Development] SynnyG:
Thanks :)

OK, I'll give it a try with my next build :)
[Android Software Development] mr pnut:
This post is from my teammate ( GRIMM ).

He's having issue's posting at the moment.

I have been able to build AOKP before by syncing only jf,Samsung. But for some reason, now when I sync without devices or kernels, and add in device / kernel repos with a local manifest, it won't sync the device. Same thing if I try to sync just jf. Any ideas what I may be doing wrong? It completes the sync with no errors, but there is no device folder. Thx.....

Sent from My Enormous Note 2 (TEAM RAGE)
[Android Software Development] Stikman72:
4.3

Is building for Jelly Bean 4.3 as simple as changing mr1 to mr2? Or is there more to it?
[Android Software Development] pkelly517:
Change your repo init to mr2, and you should be good to go.

I should add that I've been building for a few weeks, and may have forgotten something. But I'm pretty sure I didn't have problems in initializing the repo.
[Android Software Development] pkelly517:
With the ongoing CM kernel fiasco, is there a way to make the ROM compatible with AOSP built kernels?

In theory, could you undo the changes in

http://gerrit.aokp.co/#/c/12318/ and

http://gerrit.aokp.co/#/c/12466/

and then try to use a prebuilt kernel? I tried to undo the changes in the two builds, but got an error very early, as in the build wouldn't even start. A --reset HARD got me to building again, but the mako ROM won't accept any other kernel. And that's a deal breaker for me.

I'd sure like to stay with AOKP, but if I can't load in another kernel, I won't.
[Android Software Development] BlownFuze:
I did the same with no issues. Just repo init with the new mr2 branch.
[Android Software Development] pkelly517:
Thanks.

Hopefully, the AOKP team will revert to a pure AOSP model before it's all said and done.
[Android Software Development] TheByteSmasher:
It's my understanding that they will...
[Android Software Development] TheByteSmasher:
OK.. DeCAFinated MAKO.. You can use my Repos in your manifest and produce Mako ROMs that'll work with 3rd party kernels...

<remote name="or"

fetch="https://github.com/" />

<project path="device/lge/mako" name="OurROM/device_lge_mako" remote="or" revision="jb-mr2" groups="notdefault,device,mako" />

<project path="vendor/lge" name="OurROM/vendor_lge" remote="or" revision="jb-mr2" groups="notdefault,vendor,lge" />

The Completed ROM... For MAKO With all the latest is here: (It's an OurROM BUILD): http://goo.gl/iqAPXe
[Android Software Development] creeve4:
Do you have something similar for the flo?
[Android Software Development] TheByteSmasher:
[MENTION=4778194]TheDarkDefender[/MENTION] is going to be working on the flo variant.
[Android Software Development] mgbotoe:
Hey i love your guides

I was wondering if you can make one for cherry picking github?
[Android Software Development] TheByteSmasher:
Uh.... I have a cherry-picking section... :what:
[Android Software Development] mgbotoe:
For gerret ya...doesn't seem to work on github lol...i could be doing it wrong. thx for the reply ^.^
[Android Software Development] TheByteSmasher:
Oh... yeah.. give a few and I'll whip one up
[Android Software Development] SlimMan:
I am trying to follow this but I am stalled at this step

sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet update

Any ideas? Yeah I am a complete n00b when it comes to linux in any form. :(

Added screenshot of what happens when issuing this command...
[Android Software Development] TheByteSmasher:
Don't add the medibuntu... it's having issues. That's in the not necessary but cool section anyway..
[Android Software Development] SlimMan:
NM
[Android Software Development] pkelly517:
I've put these lines into

platform_manifest/default.xml

But when I run repo sync, I still have the CAF version of device/lge/BoardConfig.mk, not OurROM's.

An I missing a step?

edit: The step I'm missing is to not use stupidity.

Changes needed to go into the .repo directory

.repo/manifests/default.xml

It's amazing how quickly you get smart when you put a bit of moron out there for everyone to see.

Building now.
[Android Software Development] TheByteSmasher:
Let us know how you do
[Android Software Development] pkelly517:
First time crashed because there were no kernel/lge/mako sources, as called for in the BoardConfig.mk

I added franco's JSS repo to the line, but it had mismatches 45 minutes later.

<project path="kernel/lge/mako" name="franciscofranco/mako" remote="franco" revision="nightlies-4.3-JSS" groups="notdefault,kernel,mako" />

I tried OurROM sources, but none exist.

AOKP doesn't have any re-based for 4.3.

I think I'll look back at the posts you made for pre-compiled kernels, unless you have a quicker suggestion.

Once Matt Schaub throws today's game away, I'll have some extra time :(
[Android Software Development] TheByteSmasher:
Ack! My bad... look in the platform_manifest for OurROM.... use that kernel/lge/mako it's the aosp version... Sorry. I'm out now and can't paste it.
[Android Software Development] Nico_60:
I have a problem... I created branch with repo start in some repositories to make my own commits but if there is a conflict with a commit when I repo sync, I have a message that telling me to resolve the conflict and then doing either git rebase --continue or --skip or --abort. So i resolved the conflict but after that I don't know how to do with git rebase...

Can someone help me with this, please. Thanks.
[Android Software Development] lozohcum:
What if I have 100% working CM10 with open sourced kernel and device tree, how can I edit it to build AOKP? I'm talking about device that is not supported by AOKP but has CM10
[Android Software Development] pkelly517:
That did the trick. Thanks!

I'll know if I'm back to where I was in September (building unattended) when I get home. Hopefully I've got a new mako and manta build waiting for me! Then I can start cherry picking again.
[Android Software Development] IcOpRo:
Hi, I need some help Im getting this error after doing this on terminal.

repo init -u https://github.com/AOKP/platform_manifest.git -b jb-mr2 or repo init -u https://github.com/AOKP/platform_manifest.git -b jb-mr2 -g all,kernel,device,vendor

object e76efdd7b342577c40aa271fa5ded9d66a783a9b

type commit

tag v1.12.4

tagger Conley Owens <cco3@android.com> 1380645867 -0700

repo 1.12.4

gpg: Signature made Tue 01 Oct 2013 12:44:27 PM EDT using RSA key ID 692B382C

gpg: Can't check signature: public key not found

error: could not verify the tag 'v1.12.4

Any thoughts?

Thanks
[Android Software Development] IcOpRo:
Ok i got it to work and I also got repo sync to work and it synced... Now I was wondering if anyone knows why i cant build for either the Canadian GS4 or the ATT GS4

Thanks
[Android Software Development] marcoxx626:
delete
[Android Software Development] TheByteSmasher:
When is the last time you synced successfully? What version of java do you have?
[Android Software Development] androidfr33k:
The one from the OP Oracle V6 and I just did a repo sync right before I ran that today.

EDITED:

I ran it again but this time from a MAcBookPro 2013 16GB ram updated processor running VMware Fusion with Ubuntu v13.10 and went through all the steps again from the OP and had success. The other virtual machine was oracles virtual box with a pre made ubuntu image ready to go with all the parts from the op pre done but obviously something still wrong with that Ubuntu's Java!!.

Optimizing DownloadProvider.apk...
Optimizing OneTimeInitializer.apk...
Optimizing Contacts.apk...
Optimizing SystemUI.apk...
Optimizing SettingsProvider.apk...
Optimizing ThemeManager.apk...
Zipping package...

Signing package...

Cleaning up...

______ _____ __ __ _____
/\ _ \/\ __`\/\ \/\ \ /\ _ `\
\ \ \L\ \ \ \/\ \ \ \/'/'\ \ \L\ \
\ \ __ \ \ \ \ \ \ , < \ \ ,__/
\ \ \/\ \ \ \_\ \ \ \\`\ \ \ \/
\ \_\ \_\ \_____\ \_\ \_\\ \_\
\/_/\/_/\/_____/\/_/\/_/ \/_/

===========-Package complete-===========
zip: /home/osxfr33k/android-aokp/system/out/target/product/flo/aokp_flo_kitkat_unofficial_2014-01-03.zip
md5: c9a382a122f3cfe7b28e1e65c0317a08
size: 178M
========================================

real	14m29.617s
user	58m56.090s
sys	8m12.729s
osxfr33k@osxfr33k-virtual-machine:~/android-aokp/system$
[Android Software Development] khusika:
I have a problem. When i finished building the roms, i see the size of rom only 47mb, then i look into the rom, there are no framework files, and some apk in system are missing

Look at the picture

Anyone can help me? :/
[Android Software Development] TheByteSmasher:
Uh... when is the last time you repo synched? What repo init statement did you use? What device is ancora?
[Android Software Development] khusika:
Every time i sync the repo,

yup, i build AOKP kitkat for ancora (Samsung Galaxy Wonder GT-I8150)

*Repo

repo init -u https://github.com/AOKP/platform_manifest.git -b kitkat

*Vendor

git clone git://github.com/arco/android_vendor_samsung_ancora -b cm-11.0_ion vendor/samsung/ancora

*Device

git clone git://github.com/arco/android_device_samsung_ancora -b cm-11.0_ion device/samsung/ancora
[Android Software Development] alwaysadeel:
Does ur device.mk points to device common files

Sent from my Nexus 7
[Android Software Development] desalesouche:
aokp kitkat

hi all i try to build aokp... here is the error i have:

ERROR: couldn't find <type 'property'> in build.prop

any suggestion or idea how to fix?
[Android Software Development] a2441918:
See the post in this link for the fix.

http://xdaforums.com/showpost.php?p=50707307&postcount=1251
[Android Software Development] desalesouche:
hi sir...pasting that file is not fixing the error...may be it was good for beanstalk at the time... i have now also that error with lego rom...

https://github.com/thelegorom

do you have some others suggestion?

thanks.

regards

edit: i finally found what is the precise fix actually for some rom...

https://github.com/scotthartbti/platform_build/blob/kk44/tools/releasetools/ota_from_target_files

line 478 is the fix to add...
[Android Software Development] khusika:
yes, i did it. any idea? :/
[Android Software Development] alwaysadeel:
check ur build version.. userdebug or eng ?? r u using brunch command?
[Android Software Development] khusika:
i use userdebug and brunch command too
[Android Software Development] khusika:
Btw, after i sync to the latest aokp source, device, vendor, & kernel for my device. then i build it 3 times. And i got the same error

make: *** [/home/unnamed/Document/OS/aokp/kitkat/out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....
[Android Software Development] alwaysadeel:
1. make clean

2. envsetup, lunch and make otapackage -j1

it will tell u the exact error.
[Android Software Development] khusika:
still can't past those error, any idea? :/

here its my LOG

https://www.dropbox.com/s/x2qyb2fese3xdt9/LOG080514.txt
[Android Software Development] TheByteSmasher:
Have you built successfully before?

Please paste the output of this:

java -version

Also, in your root kitkat directory (/home/unnamed/Document/OS/aokp/kitkat/) you should perform the command

make clobber

and try building again.
[Android Software Development] khusika:
Thanks for the replay. But, i've done my build for 3 hours, and it booting up.

Thanks to all member in here who help me a lot. :)
[Android Software Development] TheByteSmasher:
[MENTION=5123347]K_TECH[/MENTION] Please share what the problem turned out to be... Even if you think it's silly so we all can learn from it. :)
[Android Software Development] khusika:
Ok, no problem

i just updated SamsungRil.java from my device click here

i think AOKP still using the old API for custom RILs compared from CM source

thats it :)

btw, after i built AOKP for my device it booting up but TouchScreen doesnt work, and i try to fix it :(

Edited: And i know that, AOKP Revert "telephony: Fix custom RILs for new API" source
[Android Software Development] khusika:
Every time i sync from source & build again.. i still got touch screen doesnt work.. anyone know about my problem?
[Android Software Development] TheByteSmasher:
Do you have the right kernel?
[Android Software Development] khusika:
i think yes,

i use this to build AOKP KK 4.4.3 for ancora device

Source:

ION Kernel:

https://github.com/arco/samsung-kernel-msm7x30/tree/cm-11.0_ion

Device:

https://github.com/khusika/aokp_device_samsung_ancora/tree/cm-11.0_ion

Vendor:

https://github.com/khusika/aokp_vendor_samsung_ancora/tree/cm-11.0_ion

Some Change

And i replace audio-caf,display-caf,media-caf from AOKP in /hardware/qcom/ with This

https://github.com/arco/android_hardware_qcom_audio-caf/tree/cm-11.0
https://github.com/arco/android_hardware_qcom_display-caf/tree/cm-11.0
https://github.com/arco/android_hardware_qcom_media-caf/tree/cm-11.0
[Android Software Development] khusika:
FIX build

Now touch screen is worked, i Add BOARD_USE_LEGACY_TOUCHSCREEN flag in the framework/base/services/input/Android.mk

And i made a pull request in AOKP git, hope the dev merge it.

https://github.com/AOKP/frameworks_base/pull/14
[Android Software Development] ocarinaz64:
I'm trying to make a build for the HTC Evo 4G LTE / Jewel. I have done lots of builds of CM and SlimKat for the same device already. I've got my sources downloaded, but I don't know where to put the makefiles for my device, and I can't get it to a brunch command, not even after I do a vendorsetup.sh and do add_lunch_combo... Could you help me find out what I need to do to get my build going?

The output I get is:

michael@michael-desktop:~/android/aokp$ source build/envsetup.sh && breakfast jewel && croot && brunch jewel
including device/htc/jewel/vendorsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including vendor/aokp/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/aokp/vendorsetup.sh
build/core/product_config.mk:252: *** No matches for product "aokp_jewel". Stop.

** Don't have a product spec for: 'aokp_jewel'
** Do you have the right repo manifest?
[Android Software Development] TheByteSmasher:
What is on line 252 of product_config.mk as the error points out? Or is that the last line and your device is not listed?
[Android Software Development] ocarinaz64:
I'll give you a snippit. 252 is the one that starts with INTERNAL_PRODUCT

# Convert a short name like "sooner" into the path to the product
# file defining that product.
#
INTERNAL_PRODUCT := $(call resolve-short-product-name, $(TARGET_PRODUCT))
ifneq ($(current_product_makefile),$(INTERNAL_PRODUCT))
$(error PRODUCT_NAME inconsistent in $(current_product_makefile) and $(INTERNAL_PRODUCT))
endif
current_product_makefile :=
all_product_makefiles :=
all_product_configs :=

My real problem I think has to do with my jewel.mk configuration and location. I pulled https://github.com/CyanogenMod/android_device_htc_jewel into device/htc/jewel. What I need to know is exactly what all needs changed from those sources to make them work with AOKP. On CM and SlimKat it just works.

So far, I did finally get my vendorsetup.sh file to "work" in that I do get an option in the list to build, but it spits out that same error. I believe it doesn't know what to do with that lunch combo.

EDIT- I got it sorted out. I just wasn't calling the same lunch combo as I had on my other builds. Once I did, it began just fine.
[Android Software Development] Khizar Ali:
Hello everyone.

I have successfully compiled aokp 5.0.2 rom for htc Sensation but i am facing SystemUI forced closed . Anyone please guide me what i am doing wrong?
[Android Software Development] TheByteSmasher:
Awesome... Tell others about it! ;) and stop by from time to time, maybe you can help someone else!
[Android Software Development] shalkith:
My build today worked out great! CM File manager on AOKP worked without a problem.

After that was done I used the same method to port Apollo over and that worked too. Thanks for the guide!
[Android Software Development] spc_hicks09:
This is an amazing and well explained guide. Building fr the Galaxy Nexus right now, will update my progress sometime tomorrow. Going to just let it build overnight.

Thank you for doing all this, I'm sure this whole thread took a crap load of time to make.
[Android Software Development] romuloxiii:
Awesome guide thank you for this. I've been building from CM source for my device (Desire HD) but totally want to give this a shot. Thanks for the tips on cherry picking too, I haven't tried that yet but look forward to it.

Cheers!
[Android Software Development] spc_hicks09:
Time for some trouble shooting I guess. First build for the Galaxy Nexus was successful, flash failed though.
[Android Software Development] TheByteSmasher:
Did you receive the AOKP at the end of the build? What happens when you flash? What ROM did you previously have on your toro? Did you ever flash the official 4.2.2... INPUT!!!!! :)