yashsingh1/xdaforums huggingface dataset:
[Droid Incredible Android Development] tiny4579:
Where are you currently stuck? With the advice zach gave to save in .repo/local_manifest.xml instead of the other folder, and it should sync the right branch if you follow the directions, I'm not sure what's the issue.
[Droid Incredible Android Development] Vernox701:
I'm the problem I know its easier than what I am doing.

The first problem is

I didnt have a github setup

secondly I have been trying to manually recreate each cherry pick but I just realised they are already included.

I have installed gnu 4.0 and 3.82 but its not found during the build

no device tree found....

no output.zip

thinking that my buld environment is not complete

I will figure it out Here is the quide I am using so maybe this is the problem

http://xdaforums.com/showthread.php?t=2302780
[Droid Incredible Android Development] tiny4579:
You don't need github really to sync. Gnu make 3.82 is preferred but 4.0 will work. It may be a build environment issue. What flavor of Linux did you install?
[Droid Incredible Android Development] zachf714:
It's erroring out before the build starts there for telling you that the inc cm.mk is not there which is reality it is, which versions of python and jdk do you have installed
[Droid Incredible Android Development] Vernox701:
I'm using jdk 7u51-linux 64

pyhon 2.7.6

ubuntu 12.04 LTS

/bin/bash: bison: command not found

Trying dependencies-only mode on a non-existing device tree?
[Droid Incredible Android Development] zachf714:
There would be your problem, a lot of packages changed from 12.04 to 12.10+ regarding multilib which caused many packages to change . Find a thread that shows how to setup the env on 12.04; also use jdk 6, I have found it to be a more stable environment
[Droid Incredible Android Development] Vernox701:
okay so i've rebuilt started over and for the last day I have been getting this error cant find any solutions I have replaced, removed .repo manifest resynced but to no avail

Archive: ./vendor/cm/proprietary/Term.apk
inflating: ./vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm4.so
inflating: ./vendor/cm/proprietary/lib/mips/libjackpal-androidterm4.so
inflating: ./vendor/cm/proprietary/lib/x86/libjackpal-androidterm4.so
bp@bp-Satellite-A665:~/android/cm10$ . build/envsetup.sh && time brunch inc
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/inc/cm.mk]]: "device/*/inc/cm.mk" does not exist. Stop.
Device inc not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_htc_inc
Adding dependency: CyanogenMod/android_device_htc_inc -> device/htc/inc
Syncing repository to retrieve project.
fatal: duplicate path device/htc/inc in /home/bp/android/cm10/.repo/manifest.xml
Repository synced!
Looking for dependencies
Dependencies file not found, bailing out.
Done
[Droid Incredible Android Development] zachf714:
You didn't get it prebuilts, run ./vendor/cm/prebuilts/get-prebuilts
[Droid Incredible Android Development] Vernox701:
I use that command before I attempt to build

here is the last of the log as repo finishes syncing

Fetching projects: 100% (359/359), done.
Traceback (most recent call last):
File "/home/bp/android/cm10/.repo/repo/main.py", line 408, in <module>
_Main(sys.argv[1:])
File "/home/bp/android/cm10/.repo/repo/main.py", line 384, in _Main
result = repo._Run(argv) or 0
File "/home/bp/android/cm10/.repo/repo/main.py", line 143, in _Run
result = cmd.Execute(copts, cargs)
File "/home/bp/android/cm10/.repo/repo/subcmds/sync.py", line 690, in Execute
project.Sync_LocalHalf(syncbuf)
File "/home/bp/android/cm10/.repo/repo/project.py", line 1158, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/home/bp/android/cm10/.repo/repo/project.py", line 2178, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/bp/android/cm10/.repo/repo/project.py", line 2335, in rev_list
p.stderr))
error.GitError: CyanogenMod/android_bionic rev-list ('^bdc251dafdee7b1191e2f0a826e2993582dd925d', 'HEAD', '--'): fatal: bad object HEAD

bp@bp-Satellite-A665:~/android/cm10$ [B]./vendor/cm/get-prebuilts[/B]
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 178 100 178 0 0 1153 0 --:--:-- --:--:-- --:--:-- 4810
100 474k 100 474k 0 0 366k 0 0:00:01 0:00:01 --:--:-- 461k
Archive: ./vendor/cm/proprietary/Term.apk
inflating: ./vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm4.so
inflating: ./vendor/cm/proprietary/lib/mips/libjackpal-androidterm4.so
inflating: ./vendor/cm/proprietary/lib/x86/libjackpal-androidterm4.so
bp@bp-Satellite-A665:~/android/cm10$ . build/envsetup.sh && time brunch inc
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:189: *** _nic.PRODUCTS.[[device/*/inc/cm.mk]]: "device/*/inc/cm.mk" does not exist. Stop.
Device inc not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_htc_inc
Adding dependency: CyanogenMod/android_device_htc_inc -> device/htc/inc
Syncing repository to retrieve project.
fatal: duplicate path device/htc/inc in /home/bp/android/cm10/.repo/manifest.xml
Repository synced!
Looking for dependencies
Dependencies file not found, bailing out.
Done
[Droid Incredible Android Development] zachf714:
Remove .repo/local_manifests/roomservice.xml and sync again
[Droid Incredible Android Development] Vernox701:
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

from here" https://github.com/tiny4579/android_device_htc_inc "

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

from here " http://source.android.com/source/downloading.html "

does this matter. When I use the one from github it errors out...but the one from googleapis.com works. would that be part of why its not pulling down the pre-builts even though the folder exist. I have deleted roomservices.xml and I have repo sync a few times but i get the same error. I would use multi quote but don't know how...
[Droid Incredible Android Development] zachf714:
Use the link from Google, then sync . if that does not work CD into bionic/ and got reset --hard and try again
[Droid Incredible Android Development] Vernox701:
CD into bionic/ and got reset --hard

from terminal??

" type ~/android/cm10/bionic/ $ gotreset --hard "
[Droid Incredible Android Development] zachf714:
Stupid auto correct ... git reset --hard

That should reset the head of bionic which is where your sync is failing
[Droid Incredible Android Development] zachf714:
Just let it sit there, it can take a bit to get past that depending on your hw
[Droid Incredible Android Development] tiny4579:
Yeah that can sit for a bit even on decent hardware but that's cm10 see 4.1.2.
[Droid Incredible Android Development] Vernox701:
oh ok. being impatient... I thought it was finished.....problem is thats 4.1.2 and I think it should be 4.2.2 also I don't think I ./vendor/cm/get-prebuilts

before . build/envsetup.sh && time brunch inc

---------- Post added at 11:34 AM ---------- Previous post was at 11:21 AM ----------

Thanks [MENTION=4674343]zachf714[/MENTION] and [MENTION=3500210]tiny4579[/MENTION]

I am having problems with python and some of the ia-32 libs this laptop has a amd-ati driver thats causing a conflict so I'm going to start over and hopefully I'll have this up and running
[Droid Incredible Android Development] zachf714:
I think you init'd 10.0 and not 10.1 and for the ati stuff try using the proprietary and drivers from xorg-edgers
[Droid Incredible Android Development] Vernox701:
Okay finally got the rom to build. Two questions:

should I be concerned about depracated api use xlint to recompile error

2. The rom shows white htc screen but goes dead afterward. Do I need to manually complete the cherry picks/reverts and if so how do I complete the first one

Edit: I let my second build sit and the boot animation doesn't display. The Screen flickers and everthings overlays and becomes unusable. Not sure how to fix. when I add the cherrypicks/reverts breaks the build
[Droid Incredible Android Development] zachf714:
do the cherry-picks fail to pick ie merge conflict, or do they just break
[Droid Incredible Android Development] Vernox701:
They merge as far as I can tell,here is the error

build/core/base_rules.mk:130: *** device/htc/inc/libsensors: MODULE.TARGET.SHARED_LIBRARIES.sensors.inc already defined by android_device_htc_inc/libsensors. Stop.

real	0m57.206s
user	0m11.478s
sys	0m6.683s
[Droid Incredible Android Development] zachf714:
ls -a in your working dir and post your local_manifest . I think you cloned the inc device tree twice
[Droid Incredible Android Development] zachf714:
"rm -rf android_device_htc_inc" in your working dir, you cloned the device tree so it is calling everything twice now. remove the android_device_htc_inc folder and it will be fine
[Droid Incredible Android Development] Vernox701:
any tips on fixing display problems....
[Droid Incredible Android Development] zachf714:
Use all the cherry picks
[Droid Incredible Android Development] Vernox701:
okay because I keep getting this...Should I repo sync after using cherryPicks/Reverts

make: *** [/home/android/cm10/out/target/product/inc/obj/SHARED_LIBRARIES/libandroid_servers_intermediates/com_android_server_LightsService.o] Error 1
make: *** Waiting for unfinished jobs....
[Droid Incredible Android Development] zachf714:
Are you building 10 or 10.1 ? If you are using the 10.1 reverts and picks as well as tree on 10 that would be the problem
[Droid Incredible Android Development] Vernox701:
attempting to build 10.1.3

PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
CM_VERSION=10.1-20140407-TINY-inc
TARGET_PRODUCT=cm_inc
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.11.0-15-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39E

so should I be using 10.2 device tree?
[Droid Incredible Android Development] zachf714:
Nope, but you could maybe look through the picks are reverts for libsensor stuff
[Droid Incredible Android Development] zimlokks:
I do it by calling voice mail at least once nd it should leave if not reboot.

Sent from my rooted GameBoy Color
[Droid Incredible Android Development] zombolt:
Ya I tried that already, forgot to mention
[Droid Incredible Android Development] zimlokks:
Hmm well I don't have service So I don't know.

Sent from my rooted GameBoy Color
[Droid Incredible Android Development] tiny4579:
Yeah, I think that voicemail indicator if you use vzw voicemail is based on a ping to verizon's network based on whether or not you have voicemail. Do you simply hang up after you hear your voicemail? What I usually do to prevent it as I've seen it remain there after listening to voicemail is to save or delete all unheard voicemails and leave voicemail by hitting star and letting it auto hangup vs hanging up myself.
[Droid Incredible Android Development] Vernox701:
reboot worked for me
[Droid Incredible Android Development] tiny4579:
Guys,

I'm compiling a build right now using the Linaro 4.7 toolchain for both the kernel and the ROM. It also has the long awaited lockclock AKA Chronus widget.
[Droid Incredible Android Development] tiny4579:
New build uploading now. Please wait till a little after midnight before trying to download it so it can upload fully and the links in goo.im and the app get updated. This one is marked as experimental as I'm using the latest Linaro toolchain for both the ROM and the kernel. Also, I fear that Trebuchet may force close repeatedly for some so I especially recommend a nandroid backup for this one. Also the swiping left and right in the blank area of the notification pull down to switch to quick settings and back has been cherry picked along with the new lockscreen widget being officially merged.
[Droid Incredible Android Development] zimlokks:
Well wait what time is it? It's not even 9 here D: and well I'm very very thankful :D

Sent from my rooted GameBoy Color
[Droid Incredible Android Development] tiny4579:
I meant midnight eastern but it should be ok to download now. I was trying to prevent trigger happy people from downloading early.

I'm off to bed. Feeling awful. Enjoy!
[Droid Incredible Android Development] nathansnyder:
Feel better tiny! Thanks a lot!
[Droid Incredible Android Development] mhejek:
Latest build is more stable for me.thanks tiny
[Droid Incredible Android Development] pRuben:
can this be flashed over, or fresh install ?
[Droid Incredible Android Development] Shano56:
I flashed over
[Droid Incredible Android Development] jlvlawrence:
I decided to activate my inc this morning to fully test your newest build. Here are a few things I ran into. My keyboard took on a mind of its own at one point, the status bar went crazy at one point and trying to add a widget to the home screen also went crazy at one point. Also, I tried to download an app from the market and it failed to download 3 different times. Battery life is also pretty bad as well. Certainly not complaining though. I normally use this phone as an mp3 player only as I have a g nex for my daily driver. Your kernel for the g nex is awesome by the way.
[Droid Incredible Android Development] tiny4579:
Phrases like mind of it's own and going crazy are very vague. I'm not having random issues like that. How do you judge battery life so quickly? I agree that it's poorer on jellybean for sure though it could be your old battery or my old battery. Definitely not having the market issue.
[Droid Incredible Android Development] jlvlawrence:
As far as the keyboard goes, it just started typing on its own and had to to a battery pull. And the status bar wouldn't pull all the way down or go all the way back up. Market issue seems to have fixed itself.
[Droid Incredible Android Development] jacobsensei:
On the latest update, working fine.

Thanks, Tiny

Sent from my ADR6300
[Droid Incredible Android Development] tiny4579:
I wonder if that's something on your side. Did you update from a previous build and what gapps did you use?
[Droid Incredible Android Development] jlvlawrence:
I updated from your last build and also used the most recent gapps. Flashed over the last build with only a cache wipe.
[Droid Incredible Android Development] pRuben:
I also flashed over, everything is working great. No fc on launcher, swype-style keyboard working fine. Everything is smooth. I think there are double widgets now ( calendar, clock etc ) and even tho the locksreen calendar option is highlighted, it doesn't show up. I guess the problem is that it wasn't a fresh install, correct ? Or should I wipe cache before I flash the experimental from last night ?

either way, sincere thank you sir for a fine job. it is freaken amazing, that this phone is still kicking ass.

szacun.
[Droid Incredible Android Development] Vernox701:
no they are not..maybe I'm missing something..just following through on tiny's github page step by step on how to build.....if I do not use or attempt the cherrypicks/reverts then the rom builds but i get the problematic display ...when I use the first two cherry picks the build stops with that error...my question would be after i use the cherry pick do I then

./vendor/cm/get-prebuilts followed by

. build/envsetup.sh && time brunch inc

or just . build/envsetup.sh time brunch inc
[Droid Incredible Android Development] zachf714:
use all the cherry-picks except for the 2 relating to battery bar
[Droid Incredible Android Development] tiny4579:
You need to run the first command, or you can split it up

. build/envsetup.sh

time brunch inc

You don't really need time, that's just for timing the build or whatever command you put after it. It has no effect on the build itself though.

I just got home, so I'm checking the repo. I switched to Pons' repo so there may be a problem there. I haven't tried to build CM10.1 in a while but since I think Pons did the build different, the cherry-picks may have some issues.
[Droid Incredible Android Development] Vernox701:
Okay... for clarification: ./vendor/cm/get-prebuilts needs to be run only once or after it has been included to local_repo

as for using the reverts/cherrypicks i needed to use git checkout...... but now the build hangs with different .cpp errors
[Droid Incredible Android Development] tiny4579:
The CM10.1 tree was out of date. I updated it just a bit ago. That should help make things run smoother since there were quite a few changes from last year between last fall and now.

Please try syncing again and let me know if it works better. Only the revert from the build instructions should be needed. No sensor changes should be needed here.
[Droid Incredible Android Development] Vernox701:
ok thanks....

~/android/cm10/bionic$ git reset --hard

HEAD is now at bdc251d libc: arch-arm: strlen: Illegal ARM registry entries fixed
[Droid Incredible Android Development] Vernox701:
This error stops the build. I've deleted the file,renamed it and copied the one from ev not sure how to fix

frameworks/base/services/jni/com_android_server_LightsService.cpp:92:38: error: 'LIGHT_ID_CAPS' was not declared in this scope
[Droid Incredible Android Development] tiny4579:
You shouldn't get the error.

Check your branch for your inc and cm projects and make sure you're on the 10.1 branch

From the main folder do

cd device/htc/inc

git checkout cm-10.1

Then go back to the main build folder and do

cd vendor/cm

git checkout cm-10.1

Let me know if you get any errors in the process.

You might want to do git reset --hard in the frameworks/base folder since you were messing around with it before trying to build.

For me it builds and boots but the display is funky. I think I have an idea what the problem is. I believe it's missing the surfaceflinger commit from frameworks/native.
[Droid Incredible Android Development] zachf714:
I remember us having to set the ro prop for "disable he overlays" to get display to work correctly with the new ion heap
[Droid Incredible Android Development] Vernox701:
error: pathspec 'cm-10.1' did not match any file(s) known to git.
:~/android/cm10/device/htc/inc$ cd ~/android/cm10/vender/cm/
bash: cd: /home/vern/android/cm10/vender/cm/: No such file or directory
:~/android/cm10/device/htc/inc$ cd ~/android/cm10/vendor/cm
:~/android/cm10/vendor/cm$ git checkout cm-10.1
error: pathspec 'cm-10.1' did not match any file(s) known to git.
:~/android/cm10/vendor/cm$

I guess im not using something
[Droid Incredible Android Development] zachf714:
Again can local_manifest please lol
[Droid Incredible Android Development] Pons:
Hmm, let's start over. Go to your main directory (cd: /home/vern/android/cm10/)

repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1 (assuming you want to build 10.1)

repo sync

repo status (this will give us an idea if you have unmerged files or if something isn't right)

Because vendor/cm should definitely be there.
[Droid Incredible Android Development] Vernox701:
the local manifest is on in my ./repo/local_manifests/
[Droid Incredible Android Development] zachf714:
Here is a good question, have you run make clobber ?
[Droid Incredible Android Development] Pons:
Not sure where you got that local_manifest from. Remove lines:

error: pathspec 'cm-10.1' did not match any file(s) known to git.

vern@vern-Satellite-A665:~/android/cm10/device/htc/inc$ cd ~/android/cm10/vender/cm/

bash: cd: /home/vern/android/cm10/vender/cm/: No such file or directory

vern@vern-Satellite-A665:~/android/cm10/device/htc/inc$ cd ~/android/cm10/vendor/cm

vern@vern-Satellite-A665:~/android/cm10/vendor/cm$ git checkout cm-10.1

error: pathspec 'cm-10.1' did not match any file(s) known to git.

vern@vern-Satellite-A665:~/android/cm10/vendor/cm$
[Droid Incredible Android Development] Vernox701:
No I run " make clean " " repo sync "and start over

---------- Post added at 08:24 AM ---------- Previous post was at 08:14 AM ----------

sorry thats looks all jacked up must have copy and pasted the wrong thing

but i have been getting my local_manifest.xml from here

my git status log looks very long should I post anyways because of the out folder and repo had a 403 error and timed so I know things are missing right now

---------- Post added at 08:38 AM ---------- Previous post was at 08:24 AM ----------

Here are the last few lines from 'git staus'.....

#	deleted: out/target/product/inc/system/lib/crtbegin_so.o
#	deleted: out/target/product/inc/system/lib/crtend_so.o
#	deleted: out/versions_checked.mk
#	modified: vendor/cm (new commits)
#	modified: vendor/htc (modified content, untracked content)
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
#	.repo/manifests.git/logs/HEAD
#	.repo/manifests.git/objects/4d/
#	.repo/manifests.git/objects/cc/
#	.repo/manifests.git/objects/ed/
#	.repo/manifests.git/refs/remotes/origin/
#	.repo/project-objects/CyanogenMod/android_frameworks_native.git/objects/30/
#	.repo/project-objects/CyanogenMod/android_vendor_cm.git/objects/pack/pack-c10484d98cf629ed48a51248a5700f48fb42ff37.idx
#	.repo/project-objects/CyanogenMod/android_vendor_cm.git/objects/pack/pack-c10484d98cf629ed48a51248a5700f48fb42ff37.pack
#	.repo/project-objects/android_hardware_qcom_display-legacy.git/objects/5e/
[Droid Incredible Android Development] Pons:
Was more interested in a repo status.
[Droid Incredible Android Development] Vernox701:
project hardware/libhardware/ (*** NO BRANCH ***)
M- include/hardware/hwcomposer_defs.h
project vendor/htc/ (*** NO BRANCH ***)
D- bravo/BoardConfigVendor.mk
D- bravo/bravo-vendor.mk
D- bravo/device-vendor-blobs.mk
D- bravo/proprietary/AudioBTID.csv
D- bravo/proprietary/akmd
D- bravo/proprietary/bcm4329.hcd
D- bravo/proprietary/default.acdb
D- bravo/proprietary/default_france.acdb
D- bravo/proprietary/default_nel.acdb
D- bravo/proprietary/libOmxVdec.so
D- bravo/proprietary/libcamera.so
D- bravo/proprietary/libhtc_acoustic.so
D- bravo/proprietary/libhtc_ril.so
D- bravo/proprietary/liboemcamera.so
D- bravo/proprietary/libqc-opt.so
D- bravo/proprietary/libsc-a2xx.so
D- bravo/proprietary/parse_radio_log
D- glacier/BoardConfigVendor.mk
D- glacier/device-vendor-blobs.mk
D- glacier/device-vendor.mk
[Droid Incredible Android Development] Vernox701:
Here my logcat, display is the obvious problem. Everytime I use git checkout 5b70e9b2 to fix display issue it breaks the build with the previous errors I posted

frameworks/base/services/jni/com_android_server_LightsService.cpp:92:38: error: 'LIGHT_ID_CAPS' was not declared in this scope
[Droid Incredible Android Development] zachf714:
hwcomposer and copybit, I bet you need to revert back to before the ION changes for 4.2.2 and try again (use incredikernel and revert the ion changes in /vendor/htc)

also try git revert not git checkout because you may be keeping unstaged changes
[Droid Incredible Android Development] Vernox701:
Okay I don't know how to do any of those things. I thought only the EV Kernel worked on cm10.x unless Tiny made some changes. I do not know how to properly use git revert ...at best It opens up a text file and asks for changes. But I will look inside of /vendor/htc/ and trudge along

thanks for keeping me going.

would posting my build help

---------- Post added at 12:42 PM ---------- Previous post was at 12:16 PM ----------

/android/cm10/hardware/libhardware$ git revert 5b70e9b2

error: Your local changes would be overwritten by revert.

hint: Commit your changes or stash them to proceed.

fatal: revert failed