yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] mikrotik:
help

hey man,,

when I want to build ics aokp always getting into trouble,,,

if you can give me a solution to this problem?

mikrotik@virtualbox:~$ cd android_source/aokp
mikrotik@virtualbox:~/android_source/aokp$ repo init -u https://github.com/AOKP/platform_manifest.git -b ics
Get https://gerrit.googlesource.com/git-repo/clone.bundle

... A new repo command ( 1.18) is available.
... You should upgrade soon:

cp /home/mikrotik/android_source/aokp/.repo/repo/repo /home/mikrotik/bin/repo

Get https://github.com/AOKP/platform_manifest.git
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
[COLOR="Red"][B]curl: (22) The requested URL returned error: 404
Server does not provide clone.bundle; ignoring.[/B][/COLOR]
remote: Counting objects: 1410, done.
remote: Compressing objects: 100% (825/825), done.
remote: Total 1410 (delta 671), reused 1289 (delta 584)
Receiving objects: 100% (1410/1410), 206.95 KiB | 980 KiB/s, done.
Resolving deltas: 100% (671/671), done.
From https://github.com/AOKP/platform_manifest
* [new branch] ics -> origin/ics
* [new branch] jb -> origin/jb
* [new branch] jb-mr1 -> origin/jb-mr1
* [new tag] Build-2 -> Build-2
* [new tag] Build-3 -> Build-3
* [new tag] Build-4 -> Build-4
* [new tag] Build-5 -> Build-5
* [new tag] Milestone-1 -> Milestone-1
* [new tag] jb-mr1_build-1 -> jb-mr1_build-1

Your identity is: indodev <indonesiadeveloper@gmail.com>
If you want to change this, please re-run 'repo init' with --config-name

Testing colorized output (for 'repo diff', 'repo status'):
black red green yellow blue magenta cyan white
bold dim ul reverse
Enable color display in this user account (y/N)?
[Android Q&A, Help & Troubleshooting] muk12:
No problems I have fixed the TARGET_KERNEL error and I was able to brunch a successful build .
[Android Q&A, Help & Troubleshooting] speed_bot:
this aint an error please y when this comes easy peasy..
[Android Q&A, Help & Troubleshooting] hashroot:
Some progress

Guys...i did mka beni & compiled widout any error...now stuck on bootanimation...Not able to take logcat :(

Edit: Logcat: http://pastebin.com/SeAfiYm0
[Android Q&A, Help & Troubleshooting] ktempleton:
There's not a whole lot we can do if you can't get a log by not able to take a log cat do you mean you tried and it didn't work or you don't know how because whenever I've been stuck on boot animation I've been able to pull one try giving it ten minutes and then reboot see what happens
[Android Q&A, Help & Troubleshooting] speed_bot:
i thought the kernel isnt loaded becuase the logcat service loads after the kernel has loaded..
[Android Q&A, Help & Troubleshooting] speed_bot:
E/HAL ( 124): Cannot load library: link_image[1916]: 124 could not load needed library 'libcamera.so' for 'camera.beni.so' (load_library[1118]: Library 'libcamera.so' not found)

ok here camera.beni.so is asking libcamera.so to get loaded..but libcamera.so is missing include it in vendors or prebuilts..

V/ExtendedExtractor( 124): Failed to open MM_PARSER_LITE_LIB, dlerror = Cannot load library: load_library[1118]: Library 'libmmparser_lite.so' not found

W/WVMExtractor( 124): Failed to open libwvm.so

E/Trace ( 124): error opening trace file: No such file or directory (2)

I/ServiceManager( 116): service 'content' died

I/ServiceManager( 116): service 'account' died

I/ServiceManager( 116): service 'meminfo' died

I/ServiceManager( 116): service 'scheduling_policy' died

I/ServiceManager( 116): service 'sensorservice' died

I/ServiceManager( 116): service 'usagestats' died

I/ServiceManager( 116): service 'batteryinfo' died

I/ServiceManager( 116): service 'entropy' died

I/ServiceManager( 116): service 'dbinfo' died

I/ServiceManager( 116): service 'permission' died

I/ServiceManager( 116): service 'power' died

I/ServiceManager( 116): service 'gfxinfo' died

I/ServiceManager( 116): service 'package' died

I/ServiceManager( 116): service 'telephony.registry' died

I/ServiceManager( 116): service 'vibrator' died

I/ServiceManager( 116): service 'activity' died

I/ServiceManager( 116): service 'cpuinfo' died

I/ServiceManager( 116): service 'battery' died

I/ServiceManager( 116): service 'alarm' died

I/ServiceManager( 116): service 'hardware' died

'libmmparser_lite.so' not found its missing add it in prebuilts.... as a result of this missing

W/WVMExtractor( 124): Failed to open libwvm.so

E/Trace ( 124): error opening trace file: No such file or directory (2)

I/ServiceManager( 116): service 'content' died

I/ServiceManager( 116): service 'account' died

I/ServiceManager( 116): service 'meminfo' died

I/ServiceManager( 116): service 'scheduling_policy' died

I/ServiceManager( 116): service 'sensorservice' died

I/ServiceManager( 116): service 'usagestats' died

I/ServiceManager( 116): service 'batteryinfo' died

I/ServiceManager( 116): service 'entropy' died

I/ServiceManager( 116): service 'dbinfo' died

I/ServiceManager( 116): service 'permission' died

I/ServiceManager( 116): service 'power' died

I/ServiceManager( 116): service 'gfxinfo' died

I/ServiceManager( 116): service 'package' died

I/ServiceManager( 116): service 'telephony.registry' died

I/ServiceManager( 116): service 'vibrator' died

I/ServiceManager( 116): service 'activity' died

I/ServiceManager( 116): service 'cpuinfo' died

I/ServiceManager( 116): service 'battery' died

I/ServiceManager( 116): service 'alarm' died

I/ServiceManager( 116): service 'hardware' died

so many processes died resulting in bootloop...
[Android Q&A, Help & Troubleshooting] hashroot:
need to recompile or can i do adb push? if yes thn directry pls
[Android Q&A, Help & Troubleshooting] speed_bot:
include it in flashable zip .. cherry pick from yaj's build
[Android Q&A, Help & Troubleshooting] cybojenix:
supporting

hey, I'll be happy to subscribe and help where I can. messaged all the devs I know to also keep track here

Thankyou for making this :)
[Android Q&A, Help & Troubleshooting] speed_bot:
thanks for the contribution sir hope the community benefits from this thread..
[Android Q&A, Help & Troubleshooting] gokussjx:
PA repo isn't broken, the sources are now changed thoroughly. They won't be compatible with old CM based or derivative ROMs.

Check in with your manifest.xml, & make a list of the git links that point to the PA repository.

Upload it here, there's an alternative.

BTW, do remember that you can't use the ParanoidPreferences.apk (Paranoid Settings) in any ROM other than official/unofficial PA. Its closed source.

But its a basic read-write app, so it takes a few minutes at max to make one for your own ROM.
[Android Q&A, Help & Troubleshooting] cj360:
Glad to see a thread for this, I'll just go straight to my question :).

Target buildinfo: out/target/product/zeusc/system/build.prop
make: *** No rule to make target `out/target/product/zeusc/recovery/bootrec-device', needed by `out/target/product/zeusc/boot.img'. Stop.
make: *** Waiting for unfinished jobs....
host Java: dumpkey (out/host/common/obj/JAVA_LIBRARIES/dumpkey_intermediates/classes)
system/core/libmincrypt/tools/DumpPublicKey.java:27: warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future release
import sun.misc.BASE64Encoder;

Yet I have the source for my kernel right where it should be

TARGET_KERNEL_SOURCE := kernel/semc/msm7x30
TARGET_KERNEL_CONFIG := cyanogen_zeus_defconfig
#TARGET_PREBUILT_KERNEL := device/semc/zeusc/prebuilt/kernel
TARGET_KERNEL_CUSTOM_TOOLCHAIN := arm-eabi-4.4.3

I made a successful build last night and I don't see any changes from git on the kernel or my device trees.

Using java 1.6.0_34
[Android Q&A, Help & Troubleshooting] speed_bot:
ok

make: *** No rule to make target `out/target/product/zeusc/recovery/bootrec-device', needed by `out/target/product/zeusc/boot.img'. Stop.

see if

bootrec-device

is there in

out/target/product/zeusc/recovery

check the refernce to all your recovery sources..
[Android Q&A, Help & Troubleshooting] cj360:
device/semc/zeusc/prebuilt/bootrec-device:root/sbin/bootrec-device

Checked the repo to make sure the above line is correct, which it is. But bootrec isn't in the out >>> sbin folder.
[Android Q&A, Help & Troubleshooting] ktempleton:
Try to sync your repo again then make clean and run it again I've never seen that one in my own builds but I have seen it around and that's the fix they used
[Android Q&A, Help & Troubleshooting] speed_bot:
So I'm assuming bootrec is defined but not being compiled...

sent from cyanmobile powered Beni
[Android Q&A, Help & Troubleshooting] cj360:
correct, it's weird I've never had this problem before.

edit- and I don't have this problem with aokp, that builds fine with the same device tree/folders. The problem happens with slimbean and I don't see any recent commits on their git for 4.1.2 just updates for 4.2.1.
[Android Q&A, Help & Troubleshooting] galaxyfreak:
CM10.1 for HTC Pico wont boot
[Android Q&A, Help & Troubleshooting] cbucz24:
OK, I'm probably wrong but isn't it looking for a custom recovery and not your kernel?

I'm just reading the file path its looking for....
[Android Q&A, Help & Troubleshooting] shimp208:
There appears to be a problem with your phones graphic drivers that are preventing the phone from booting, try taking a look at the Adreno 200 graphics drivers Qualcomm has on its site (You want the ARMv7 versions because the Qualcomm MSM7225A Snapdragon in the HTC Pico uses the ARMv7 instruction set) that may fix the problem with the phone not booting up as it seems to be related to graphics drivers issues.
[Android Q&A, Help & Troubleshooting] cj360:
If your using aokp's manifes.xml then you'll have to do a lot of changes to fix those sync errors. Most ICS repos are down since they're maintainers have moved on to jellybean, except the older devices that still have issues with running ics.

edit- what's the command for building one app? For example I just want to build Gallery2, I've forgotten and can't seem to find it.

andother edit- found it it's mmm [project path] in case anyone else was wondering
[Android Q&A, Help & Troubleshooting] cbucz24:
Yes its exynos4
[Android Q&A, Help & Troubleshooting] speed_bot:
then you are gonna have a tough time fixing bugs coz exynos doesnt have proper documentation

check this

https://plus.google.com/101093310520661581786/posts/Q1yVmqtubG9
[Android Q&A, Help & Troubleshooting] cbucz24:
Wow very cool story. ..Ive contacted a dev who just finished building the rom ive been trying to build...im hoping he'll be able to shed some light as to where ive gone wrong...

Like always, I'll be here to help anyone I can :beer:
[Android Q&A, Help & Troubleshooting] mikrotik:
so how can I fix this? :confused:
[Android Q&A, Help & Troubleshooting] cbucz24:
Ok first off, the line below where it says you should upgrade your repo...copy/paste an do that exact line...then run repo again an see what it says..

The rest of your errors may be an issue in your local.manifest.xml
[Android Q&A, Help & Troubleshooting] speed_bot:
arey guys read that text ..

its asking do you want coloured display (y/n)

you just need to type y for yes and n for no
[Android Q&A, Help & Troubleshooting] cbucz24:
Hahaha I didn't think it stopped there so I didn't even notice that one. I was looking up higher
[Android Q&A, Help & Troubleshooting] speed_bot:
i appreciate your spirite .. happy to help
[Android Q&A, Help & Troubleshooting] Fallon9111:
Alert

Possible noob Question:

Is it ok to compile android (specifically Cyanogenmod atm) for two devices from the same directory (~/android/system)

I don't want to have to nuke my folder and spend another day downloading and eating bandwidth ;P

The devices are Nexus 7 and Desire HD (so I will be porting jelly bean to it, I know ports exist, I will use their github to help me)

reason I'm a bit cautious is that the Desire HD port might mess something up for the nexus (and possibly nexus 7 specific stuff might mess up the desire)

I'm gonna assume that all the device specific stuff is kept under a device specific folder (I can navigate folders and know that there are some), but I'm just checking here first :D
[Android Q&A, Help & Troubleshooting] jrongi1:
trying to build AOSPA for the Vibrant and I get this error:

build/core/tasks/kernel.mk:75: **********************************************************
build/core/tasks/kernel.mk:76: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:77: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:78: * BoardConfig.mk file *
build/core/tasks/kernel.mk:79: **********************************************************
make: *** No rule to make target `bacon'. Stop.

but this is my boardconfig.mk file

# Copyright (C) 2007 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# BoardConfig.mk
#
# Product-specific compile-time definitions.
#

# Kernel Config
TARGET_KERNEL_CONFIG := cyanogenmod_vibrantmtd_defconfig

# Recovery
BOARD_CUSTOM_RECOVERY_KEYMAPPING := ../../device/samsung/vibrantmtd/recovery/recovery_keys.c

# Telephony
BOARD_USES_FROYO_RILCLIENT := true

# Bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/samsung/vibrantmtd/bluetooth

TARGET_OTA_ASSERT_DEVICE := vibrant,vibrantmtd,SGH-T959

# Import the aries-common BoardConfigCommon.mk
include device/samsung/aries-common/BoardConfigCommon.mk

Am I missing something that should be obvious?
[Android Q&A, Help & Troubleshooting] cbucz24:
Yes of course, roms like cm build multiple devices. A lot of devs will build for a few models at once. When you bring in the device repo, you specify where the directory goes...it cant be more than one device in a place as it works in a logical line.

If you tell it to download in one place, then later tell it to put something else there it will ignore it. Use a standard directory tree and subcategories and it will work fine
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
building PAC-man rom from source adding device support

I want to know where to start when adding my device support to the source this is my first build from source i just learned how to use github already initialized my environment running ubuntu 10.04 64 bit my device is the epic 4g sph-d700

i read the guide on xda university on porting from aosp but it gets vague towards the end
[Android Q&A, Help & Troubleshooting] speed_bot:
yes you can i build for more than 3 devices using the same source...the phone specific compiled files are stored in their own folders..start compiling and have a look at the out folder you will understand
[Android Q&A, Help & Troubleshooting] speed_bot:
your device ?
[Android Q&A, Help & Troubleshooting] cbucz24:
Lol, he said its the epic.

Most main dev groups have already built a basic rom for that...you could start at say cm and go to their wiki...it fully explains how to use their source to build a rom.
[Android Q&A, Help & Troubleshooting] speed_bot:
my bad dint see the name ..
[Android Q&A, Help & Troubleshooting] mikrotik:
I also get the same error when I want to make a jellybean aokp :confused:
[Android Q&A, Help & Troubleshooting] mikrotik:
whether you have successfully done jb aokp repo?

I encountered an error when repo jb and ics aokp
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Updated building slim rom from source

okay i read that guide i know how to build their source but my problem is adding my device to certain files i have already repo synced slim sources i tried that guide and i seem to be missing alot of .mk files for my phone

update i did find a porting guide on cyanogenwiki thanks
[Android Q&A, Help & Troubleshooting] Fallon9111:
Uhhmmm... I'm building Cm10.1 (android 4.2)

If this helps, I also get this error at the start of repo sync

warning: local_manifest.xml is deprecated; put local manifests in local_manifests instead
[Android Q&A, Help & Troubleshooting] muk12:
At repo sync I have recieved that warning too but my ROM compiles sucesdfully . In order to avoid that warning --> change directory to .repo and create a new directory called local_manifests and move the local_manifests.XML to the newly created local_manifests directory .
[Android Q&A, Help & Troubleshooting] Unjustified Dev:
Build-pac.sh is running

I'm now building for the epic had a few errors come by other than that its doing something with kernel

Updated Error

target Export Resources: framework-res (/home/dev/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk)

nothing matches overlay file default_wallpaper.jpg, for flavor ,,,,,,,,,,,,,,,,,,

libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area

libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area

device/samsung/epicmtd/overlay/frameworks/base/core/res/res/values/config.xml:119: error: Resource does not already exist in overlay at 'config_locationProviderPackageNames'; use <add-resource> to add.

device/samsung/epicmtd/overlay/frameworks/base/core/res/res/values/config.xml:120: error: Resource at config_locationProviderPackageNames appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/epicmtd/overlay/frameworks/base/core/res/res/values/config.xml:122: error: Resource at config_locationProviderPackageNames appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/epicmtd/overlay/frameworks/base/core/res/res/values/config.xml:119: error: Resource does not already exist in overlay at 'config_locationProviderPackageNames'; use <add-resource> to add.

device/samsung/epicmtd/overlay/frameworks/base/core/res/res/values/config.xml:120: error: Resource at config_locationProviderPackageNames appears in overlay but not in the base package; use <add-resource> to add.

device/samsung/epicmtd/overlay/frameworks/base/core/res/res/values/config.xml:122: error: Resource at config_locationProviderPackageNames appears in overlay but not in the base package; use <add-resource> to add.

make: *** [/home/dev/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1

make: *** Deleting file `/home/dev/android/system/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
[Android Q&A, Help & Troubleshooting] v3n3:
Hallo there :-3

I started ( or atleast tried ) to Build CM10.1 for the Samsung Galaxy S3 (GT-i9300) from Source about one month ago.

Had some problems here and there but always googled my way out of those problems.

Now I have a specific problem which I cant get around.

I already started a Thread about this and a few questions, but in the end noone answered.

Also, allready someone with nearly the same problem wrote a few pages back about this and I tried those solutions, but it looks like our problem is not the same :-/

First, my Original Thread:

I cant get any further, which is really depressing :-/

Also, I tried to look into the logcat but couldnt find anything related to the Radio.
[Android Q&A, Help & Troubleshooting] speed_bot:
delete the following line numbers

119

120

122

from

device/samsung/epicmtd/overlay/frameworks/base/core/res/res/values/config.xml

then make clean and make clobber then compile
[Android Q&A, Help & Troubleshooting] cbucz24:
Is it worth the effort to add the overlay values to the actual build?

what i mean for example...

go to your device config.xml file and open this up. then in another window open up the following frameworks/base/core/res/res/values/config.xml

if you add your extra values at the very bottom this will allow your overlays to work as expected.
[Android Q&A, Help & Troubleshooting] ktempleton:
ok i just found out how to use add resources, this is an example that you would type in the cmd line

<add-resource type="bool" name="sprint_mwi_quirk">true</add-resource>

that would add that resource to your base package you do that with all the missing resources and there you go just thought i would share that little tidbit because ive added alot of resorces manually or just erased them
[Android Q&A, Help & Troubleshooting] cbucz24:
So you just type that into the command window?

That's basically what I said, which I found with your help...thanks templeton..I just was doing it the long way :D
[Android Q&A, Help & Troubleshooting] djmatt604:
I tried using this to address the config_forceDisableHardwareKeyboard issue I am having. Adding the add-resource tag in the area of the base framework to which the overlay corresponds makes the overlay parameter valid but does not fix the root problem. My assumption is simply that there is a block of code somewhere in the framework that I am missing to observe this parameter when the ROM is running and do work, does that sound about right?

Basically...if I set a parameter in an overlay and compilation is successful but the setting does nothing, what is the next step towards resolution? Is there anything else I can check to confirm where my problem is?

Sent from my Infamous Tab.
[Android Q&A, Help & Troubleshooting] ktempleton:
I would check the other overlays and see if it is enabled or disabled whichever one your going for in one of them also i would probably create an overlay in vendor/aokp/overlay/device. And add that in there with whatever other goodies the ROM offers that you want on your device worth a shot...of you create the device overlay you would have to point your vendor product mk to it

---------- Post added at 02:35 PM ---------- Previous post was at 02:24 PM ----------

V3n3

First question you need to go to Ubuntu for that now can you find a radio zip for your phone i would try that first and see if somehow it added the ril files and fixed it then you have to search through the source and find where the radio libraries are and make sure they are right for your phone... the ROM doesn't mess with the radio usually so I'm thinking the libraries are wrong or have you checked to see if your apns are correct you could start there
[Android Q&A, Help & Troubleshooting] djmatt604:
I have the device overlay in place and it is called in my produce makefile as well. I am building AOSP ICS and the flag is part of a CM overlay which is why I think I may be simply missing code...

Sent from my Infamous Tab.
[Android Q&A, Help & Troubleshooting] djmatt604:
Never mind, missed the quote. Sorry.....

Sent from my Infamous Tab.
[Android Q&A, Help & Troubleshooting] muk12:
Im able to sucessfully build CM ROM for my Sammy S3 GT-i9300 on Mac 10.8 , I did a repo sync for AOKP - Can I copy local_manifest.xml from the cyanogemod build folder or does AOKP has diffrent paths to be mentioned in AOKP ?
[Android Q&A, Help & Troubleshooting] speed_bot:
use stock libaudio that may fix it..
[Android Q&A, Help & Troubleshooting] speed_bot:
use repo init dont copy cm's manifests
[Android Q&A, Help & Troubleshooting] muk12:
There is no local manifest XML in my aokp/.repo how can I add this manually ?
[Android Q&A, Help & Troubleshooting] speed_bot:
delete your current .repo folder and do repo init as per aokp's guide ..dont worry about manifests
[Android Q&A, Help & Troubleshooting] muk12:
Cool gonna try that now and just spinned another CM 10.1 build successfully but the about phone info for the build date is not updating , do I have to do a make clean and make clobber for that / manually edit build. Prop from ROM zip

---------- Post added at 09:28 AM ---------- Previous post was at 08:59 AM ----------

so I removed the ./repo dir from the /AOKP dir and did a repo init -u https://github.com/AOKP/platform_manifest.git -b jb-mr1

and doing a repo sync
[Android Q&A, Help & Troubleshooting] speed_bot:
yes ..