yashsingh1/xdaforums huggingface dataset:
[Android] Bass_Face:
well i fixed all kenrel related errors cherry picking stuff from all over the interne

Now I have the following error -

make: *** No rule to make target '/home/bassface/pac-rom/out/target/product/a6000/system/framework/org.cyanogenmod.platform-res.apk', needed by '/home/bassface/pac-rom/out/target/product/a6000/system/framework/org.cyanogenmod.platform.jar'. Stop.
make: *** Waiting for unfinished jobs....

i searched for the files all over but didnt find them anywhere. i even searched for them in roms already built for my phone. they're not there and i didnt find anything about the files on the internet. any help would be appreciated.

thanks in advance
[Android] akhilnarang:
Run repo sync -f or repo sync --force-broken
[Android] Scutariu:
[I][COLOR="Red"]Fetching projects: 99% (541/546) fatal: missing blob object '62a2277bbeb84ceadea2d23f4056b9da651be716'
error: git://github.com/CyanogenMod/android_packages_services_Telephony did not send all necessary objects

error: Cannot fetch CyanogenMod/android_packages_services_Telephony
warn: --force-broken, continuing to sync
Fetching projects: 100% (546/546), done.
Syncing work tree: 86% (470/546) error: in `sync --force-broken`: revision refs/heads/cm-12.0 in CyanogenMod/android_packages_services_Telephony not found[/COLOR][/I]

Dunno what's wrong,i tried with repo sync -f / repo sync --force-broken
[Android] akhilnarang:
The revision cm-12.0 is not there for the mentioned repository
[Android] Scutariu:
I solved it,following this, thank you :D
[Android] SJHA810:
Can't install the required tools

I entered the following code:

sudo apt-get install git-core gnupg ccache lzop flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5 lib32z1 lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python

and got the following:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'lib32z1-dev' instead of 'lib32z-dev'
bzip2 is already the newest version.
libbz2-1.0 is already the newest version.
libreadline6 is already the newest version.
python is already the newest version.
python set to manually installed.
readline-common is already the newest version.
zip is already the newest version.
zip set to manually installed.
curl is already the newest version.
curl set to manually installed.
gnupg is already the newest version.
libc6-dev is already the newest version.
libc6-dev set to manually installed.
x11proto-core-dev is already the newest version.
x11proto-core-dev set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
build-essential : Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
libcheese-gtk23 : Depends: libclutter-gtk-1.0-0 (>= 0.91.8) but it is not going to be installed
Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
libcheese7 : Depends: libclutter-gst-2.0-0 (>= 0.10.0) but it is not going to be installed
Depends: gstreamer1.0-clutter but it is not going to be installed
libclutter-1.0-0 : Depends: libcogl-pango15 (>= 1.15.8) but it is not going to be installed
Depends: libcogl15 (>= 1.15.8) but it is not going to be installed
libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.4)
Recommends: libgl1-mesa-dri:i386 (>= 7.2)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

What to do? Need help :crying:
[Android] side:
i was waiting for 24 hours to build a .zip and the OUT folder is just empty.....

pfffffff whats going on ?

do i need to spend 500 euros on PC to build some ROMs?
[Android] akhilnarang:
What are your PC specs

And what was the terminal output
[Android] side:
core2duo e8500

2gb ram 1333

terminal seemed to be ok...no error or something...finished nicely

also:

pkgproblemresolver resolve generated breaks this may be caused by held packages :/

i also did

sudo apt-get upgrade

apt-get update

but nothing
[Android] akhilnarang:
You need minimum 4gb ram lol

But anyway, what's the last output of terminal?
[Android] side:
i have already ordered one more 4gb ram so i will go on 6GBs.

about output:

i dont remember anymore...i just saw that it is finished with no errors...

some general questions:

cant i just remove some things i want ,so the source will be smaller?

does only ram affects the speed? will an SSD dramatically increase the speed?is my cpu ok for now ?

do i need only LTS version for cm build?

Thanks!
[Android] side:
why....... :(
[Android] Mr.R™:
I'd check your system/motherboard manufacturer first if i were you, some boards from that generation of processors don't always support 4gb ram modules or more than 4gb ram period. Also it's best to get matched pairs but it'll still work assuming it's supported :)
[Android] arpanbag1996:
Error:

I tried the following command to install a package:

sudo apt-get install libgl1-mesa-glx:i386

Getting error. Any solution? Should I use

libglapi-mesa-lts-saucy:i386

instead? plz help. I'm on Ubuntu 14.04.2
[Android] :
1. Mm I don't know but if you know what you're doing then try ( but its not RECOMMENDED because of course Google devs won't put useless code in android :p )

2. Yes it will increase it

3. No the difference between LTS and the normal version is that the LTS has 5 Years of support while the normal version has only 9 months of support

So the LTS is more Secure than the normal version
[Android] side:
pfff still cant make something ....i dont know what am i doing wrong..honestly
[Android] Fulga666:
To begin with, I'm new into this kind of stuff. After fixing a bunch of errors, I've got to this and I have no idea what to do next.

http://pastebin.com/iZpZHBBY

What do you guys think?

Thanks in advance!
[Android] sunsettrack4:
Do you know how to fix this issue? The compiling process is finished to 99%, then it stops.

EDIT: I solved the problem by reverting this commit. :)

++++ extrauserdata ++++

creating userdata_extra.img...
Traceback (most recent call last):
File "./build/tools/releasetools/add_img_to_target_files", line 365, in
main(sys.argv[1:])
File "./build/tools/releasetools/add_img_to_target_files", line 359, in main
AddImagesToTargetFiles(args[0])
File "./build/tools/releasetools/add_img_to_target_files", line 330, in AddImagesToTargetFiles
AddUserdataExtra(output_zip)
File "./build/tools/releasetools/add_img_to_target_files", line 219, in AddUserdataExtra
succ = build_image.BuildImage(user_dir, image_props, img.name)
File "/home/sunsettrack4/cm12/build/tools/releasetools/build_image.py", line 246, in BuildImage
build_command.append(prop_dict["partition_size"])
KeyError: 'partition_size'
build/core/Makefile:1468: recipe for target '/home/sunsettrack4/cm12/out/target/product/slte/obj/PACKAGING/target_files_intermediates/cm_slte-target_files-08877b95cd.zip' failed
make: *** [/home/sunsettrack4/cm12/out/target/product/slte/obj/PACKAGING/target_files_intermediates/cm_slte-target_files-08877b95cd.zip] Error 1
make: *** Deleting file '/home/sunsettrack4/cm12/out/target/product/slte/obj/PACKAGING/target_files_intermediates/cm_slte-target_files-08877b95cd.zip'

#### make failed to build some targets (06:05:25 (hh:mm:ss)) ####
[Android] studymadara:
error

The following packages have unmet dependencies:

build-essential : Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed

libcheese-gtk23 : Depends: libclutter-gtk-1.0-0 (>= 0.91.8) but it is not going to be installed

Depends: libcogl15 (>= 1.15.8) but it is not going to be installed

libcheese7 : Depends: libclutter-gst-2.0-0 (>= 0.10.0) but it is not going to be installed

Depends: gstreamer1.0-clutter but it is not going to be installed

libclutter-1.0-0 : Depends: libcogl-pango15 (>= 1.15.8) but it is not going to be installed

Depends: libcogl15 (>= 1.15.8) but it is not going to be installed

libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.3-0ubuntu0.4)

Recommends: libgl1-mesa-dri:i386 (>= 7.2)

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

please somebody help

---------- Post added at 08:07 AM ---------- Previous post was at 07:46 AM ----------

guys use this following commands and then it will be kk

sudo apt-get install libglew-dev libcheese7 libcheese-gtk23 libclutter-gst-2.0-0 libcogl15 libclutter-gtk-1.0-0 libclutter-1.0-0 xserver-xorg-input-all

this is used because to update our library files which are outdated in our ubuntu 14.04 LTS

and then

sudo apt-get install dpkg-dev

this will be the last command and then go back to the steps again

and now everything will work fine:o
[Android] arpanbag1996:
I already used

libglapi-mesa-lts-saucy:i386

instead of

sudo apt-get install libgl1-mesa-glx:i386

What should I do now?
[Android] studymadara:
did u got the same error which i mentioned above in my post ?

because the solution is working for me

its should actually work

well show me the new screenshot .
[Android] techking123:
I have Samsung Galaxy tab3 SM-t211 running on Android 4.1.2.

I rooted it through Kingo ROOT app,

it got succeeded just in first attempt.

After rooting I am not able to update my Android version to Kitkat through "Settings---About device--- Software Update--- Update", but it was not as issue bcoz I was satisfied with Jellybean. The main problem is that, after 2 days of rooting when I checked the root status through Root checker app, it was saying "Sorry! Root access is not properly installed in this device ".

After too much attempts I factory reset my Tab and tried to root again using Kingo Root App.

but this time only processing is going on but nothing is happening.

I tried almost all available apps for rooting , but still the problem is not fixed.

Kindly help.
[Android] arpanbag1996:
I didn't try your solution. Should I try it? I mean I already (probably) solved it by installing another package!
[Android] studymadara:
No if everything is working fine then I will say don't try it..

Sent from my Motorola RAZR XT910

---------- Post added at 10:01 AM ---------- Previous post was at 09:55 AM ----------

just go to google and write "your phone model name" root xda

that will be far better than a app.

;)
[Android] arpanbag1996:
Didn't try yet. I'll try your method if I face any issue :)
[Android] techking123:
I did as u told,

I found a link on xda, followed the same and downloaded "samsungTab3Root.apk" file.

Installed it but when I click on "Root" followed by chinese language, it is just processing and processing since 20 minutes.
[Android] :
Just install CWM/TWRP Recovery for your device and then download SuperSU "Google ( SuperSU xda )" copy the Zip file to your SD card , put your SD card in your phone and then install it from the recovery
[Android] arpanbag1996:
Thanx man. Your method worked perfectly. Also it automatically removed the

libglapi-mesa-lts-saucy:i386

package which I installed instead of

libgl1-mesa-glx:i386

. I request OP to update his guide :)
[Android] techking123:
Same done.

But during installation it's saying "E: signature verification failed ".
[Android] techking123:
Thanks for your support.

I rooted my tab3 finally.

Thanks
[Android] studymadara:
your welcome dude.;)
[Android] tatkovci1:
good giude
[Android] BreakaH_Lndp:
amazing guide. thanks for you time
[Android] studymadara:
error

fatal: missing blob object 'a845d0d18a9b8588307179febb8e852182996977'

everytime i m getting this error that object name is different because of that the repo sync stops and even it says resolving deltas 100%

what should i do?

:crying::crying:
[Android] mohamed786:
Just send the terminal log / error
[Android] studymadara:
its done just by deleting the whole repo and downloading again will solve the error..!
[Android] banerjeeayan1996:
Help me please
[Android] BongOfWar:
thank you

just wanted to leave a ty to you for this guide, it was some of the first steps i followed to creating and customising my own personal rom
[Android] ivan0909:
Hi, First I want to say Thanks to the people that makes possible this thread, best guide for me to begin in Developing.

Problem: When Im installing Java, at second post, Point 2, terminal gives me and error, like broken dependences, but I tried commands above, and same result.

I sure that I have installed Java 1.7. What can I do?
[Android] ZANIUM:
Thanks to OP Jackeagle and rest all who shared valuable information on Android Rom Development in this thread ... :)
[Android] mandzo:
EDIT: Got past this error by including qcom_common from CM. The compile is running atm lets hope it finishes properly ?

Could anyone help me out with this error during compile:

Export includes file: external/e2fsprogs/lib/uuid/Android.mk -- /home/mandzo/ressurection/out/target/product/s3ve3g/obj/STATIC_LIBRARIES/libext2_uuid_static_intermediates/export_includes
Export includes file: external/lz4/Android.mk -- /home/mandzo/ressurection/out/target/product/s3ve3g/obj/STATIC_LIBRARIES/liblz4-static_intermediates/export_includes
Export includes file: system/core/libsparse/Android.mk -- /home/mandzo/ressurection/out/target/product/s3ve3g/obj/STATIC_LIBRARIES/libsparse_static_intermediates/export_includes
Export includes file: external/zlib/Android.mk -- /home/mandzo/ressurection/out/target/product/s3ve3g/obj/STATIC_LIBRARIES/libz_intermediates/export_includes
Export includes file: external/compiler-rt/Android.mk -- /home/mandzo/ressurection/out/target/product/s3ve3g/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/export_includes
make: *** No rule to make target `/home/mandzo/ressurection/out/target/product/s3ve3g/obj/STATIC_LIBRARIES/libinit_msm_intermediates/export_includes', needed by `/home/mandzo/ressurection/out/target/product/s3ve3g/obj/EXECUTABLES/init_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....

Tryin to build ressurection remix for my s3 neo :)
[Android] studymadara:
Guys I don't get this error while pushing the repo it is giving me a lots of errors then I Googled it and found that github cannot upload big files so I changed the threads to 1 process previously it was 4 after doing that it somehow started uploading and after 1 gb of upload it gives me https 500 error and this error solution I m not able to find it out.. So please help me

Sent from my Motorola RAZR XT910
[Android] dosados:
Thank you for really helpfull Android development guide. I'm a programmer and cant find some simple thread like this!
[Android] :
I got this error when building AOSP from source. Can anyone help?

target thumb C++: v8_tools_gyp_v8_base_gyp <= external/chromium_org/v8/src/compiler/arm/linkage-arm.cctarget thumb C++: v8_tools_gyp_v8_base_gyp <= external/chromium_org/v8/src/ic/arm/access-compiler-arm.cctarget thumb C++: v8_tools_gyp_v8_base_gyp <= external/chromium_org/v8/src/ic/arm/handler-compiler-arm.cctarget thumb C++: v8_tools_gyp_v8_base_gyp <= external/chromium_org/v8/src/ic/arm/ic-arm.cctarget thumb C++: v8_tools_gyp_v8_base_gyp <= external/chromium_org/v8/src/ic/arm/ic-compiler-arm.cctarget thumb C++: v8_tools_gyp_v8_base_gyp <= external/chromium_org/v8/src/ic/arm/stub-cache-arm.cchost StaticLib: v8_tools_gyp_v8_nosnapshot_arm_host_gyp_32 (/home/yeshwanthvshenoy/aosp/out/host/linux-x86/obj32/STATIC_LIBRARIES/v8_tools_gyp_v8_nosnapshot_arm_host_gyp_intermediates/v8_tools_gyp_v8_nosnapshot_arm_host_gyp.a)Gyp timestamp: /home/yeshwanthvshenoy/aosp/out/target/product/falcon/obj/GYP/android_webview_resources_intermediates/android_webview_resources.stamptarget StaticLib: ui_accessibility_ax_gen_gyp (/home/yeshwanthvshenoy/aosp/out/target/product/falcon/obj/STATIC_LIBRARIES/ui_accessibility_ax_gen_gyp_intermediates/ui_accessibility_ax_gen_gyp.a)target StaticLib: skia_skia_library_gyp (/home/yeshwanthvshenoy/aosp/out/target/product/falcon/obj/STATIC_LIBRARIES/skia_skia_library_gyp_intermediates/skia_skia_library_gyp.a)prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/arm-linux-androideabi-ar: /home/yeshwanthvshenoy/aosp/out/target/product/falcon/obj/STATIC_LIBRARIES/skia_skia_library_gyp_intermediates/third_party/skia/src/ports/SkFontHost_FreeType.o: No such file or directorymake: *** [/home/yeshwanthvshenoy/aosp/out/target/product/falcon/obj/STATIC_LIBRARIES/skia_skia_library_gyp_intermediates/skia_skia_library_gyp.a] Error 1make: *** Waiting for unfinished jobs....#### make failed to build some targets (02:00:20 (hh:mm:ss)) ####yeshwanthvshenoy@falcon:~/aosp$
[Android] side:
just installed my fresh-built CM12.1 for 9505 s4 but there is no sim card recognization....no baseband...nothing about cellular signals etc...

any idea?
[Android] DSA:
Got the right device tree setup?
[Android] side:
i think yes..

i followed that guide

http://wiki.cyanogenmod.org/w/Build_for_jfltexx

and i use 9505 s4 samsung
[Android] DSA:
But what device tree are you using?

Jf common?

Jflte or jfltexx?

Themuppetts proprietary vendor?

Stock cm branches or someones like antaresone?
[Android] NotesOfReality:
Hi guys,this guide is one the best in the forums,but I've this problem,I'm trying to build Spirit Rom 1.7 KK for "armani" aka Xiaomi Redmi 1S,when I'm making my device-specific source compatible to the Rom Source,I open AndroidProducts.mk and I see it is wrote in with "PRODUCT_MAKEFILES := \

$(LOCAL_DIR)/full_armani.mk" and this is what "full_armani.mk" contains:

# Inherit from the common Open Source product configuration

$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)

# Inherit from hardware-specific part of the product configuration

$(call inherit-product, device/xiaomi/armani/device.mk)

$(call inherit-product-if-exists, vendor/xiaomi/armani/armani-vendor.mk)

# Device identifier. This must come after all inclusions.

PRODUCT_DEVICE := armani

PRODUCT_NAME := full_armani

PRODUCT_BRAND := Xiaomi

PRODUCT_MODEL := HM 1S

PRODUCT_MANUFACTURER := Xiaomi

and this is what "cm.mk" before your suggested modifications contained:

# Boot animation

TARGET_SCREEN_HEIGHT := 1280

TARGET_SCREEN_WIDTH := 720

# Inherit some common CM stuff

$(call inherit-product, vendor/cm/config/common_full_phone.mk)

# Inherit device configuration

$(call inherit-product, device/xiaomi/armani/full_armani.mk)

PRODUCT_RELEASE_NAME := Redmi 1S

PRODUCT_NAME := cm_armani

PRODUCT_GMS_CLIENTID_BASE := android-xiaomi

Now the question is :how should I edit AndroidProducts.mk?
[Android] studymadara:
building rom error

device/motorola/omap4-common/Android.mk:43: *** my-dir must be called before including any other makefile.. Stop.

what should i do guys?
[Android] wulsic:
Well the problem is that you need to call the my-dir before including any other makefile. So you can compare your Android.mk to one from me and you will see what I mean.

https://github.com/wulsic/android_device_samsung_nevisp/blob/cm-11.0/Android.mk

Hope this will help you with your problem if you didn't fixed it yet.

[MENTION=6336670]Micky99[/MENTION] Just let the AndroidProducts.mk alone as it includes the full_armani.mk, and that full_armani.mk also calls the other device specific make files so it should be fine. I also suggest to just stick mostly to this repo:

https://github.com/armani-dev/android_device_xiaomi_armani/tree/cm-12.1 or perhaps some others but so you are sure that you have a good working repository and the only thing you have to do left would be to change some source specific naming or perhaps remove somethings which isn't included in the Android rom you want to compile.
[Android] NotesOfReality:
[MENTION=6336670]Micky99[/MENTION] Just let the AndroidProducts.mk alone as it includes the full_armani.mk, and that full_armani.mk also calls the other device specific make files so it should be fine. I also suggest to just stick mostly to this repo:

https://github.com/armani-dev/android_device_xiaomi_armani/tree/cm-12.1 or perhaps some others but so you are sure that you have a good working repository and the only thing you have to do left would be to change some source specific naming or perhaps remove somethings which isn't included in the Android rom you want to compile.[/QUOTE]

Hi, thank you for the help I've left alone "AndroidProducts.mk" as you suggest,I'm trying to compile SpiritRom KK,can I however use Android 5.1 LP device tree to compile from source a Android 4.4.4 KK based rom?Aren't them uncompatible?

As [MENTION=5918886]Rutvik[/MENTION]rvr after I modified "cm.mk" told and renamed it to "spirit.mk" and renamed "cm.dependencies" to "spirit.dependencies",when I type ". build/envsetup.sh" in the root of my working directory and "time brunch <armani> -j2" I get "bash: armani: File or directory non existent(originally from Italian=File o directory non esistente)"

How can I fix this error?
[Android] CCD:
Post Deleted
[Android] wulsic:
[MENTION=6336670]Micky99[/MENTION] check out the cm-11.0 branch in the devicetree to compile from kk sourcecode. As using lp devicetree which will result into many errors. And how to fix that error yeah... I suggest to take a look at the buildscript in mypersonal scriptrepository on my github. There is also the command which allows you to see the time in the script. You are also allowed to use that build script but don't remove my name or retarded comments in it if that was the one I uploaded. Just change the device g2 or fame (s6810) to your armani.

Btw you might have to remove the lines related to executing a patcher script.
[Android] banerjeeayan1996:
When i press repo sync it says fatal:Multiple devices in manifests.xml. how to fix it.