yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] GoDzPlaY:
:confused:Getting this error..:confused:

Checking build tools versions...

bionic/libc/Android.mk:426: TARGET_CPU_VARIANT is not defined

bionic/libc/arch-arm/arm.mk:32: *** "TARGET_CPU_VARIANT not set or set to an unknown value. Possible values are cortex-a7, cortex-a8, cortex-a9, cortex-a15, krait. Use generic for devices that do not have a CPU similar to any of the supported cpu variants.". Stop.
[Nexus 7 Android Development] Skelli:
Before 'brunch grouper' execute 'export TARGET_CPU_VARIANT=cortex-a9'
[Nexus 7 Android Development] sparksco:
The main problem is grouper hasn't been merged yet...

https://github.com/CyanogenMod/android_device_asus_grouper/commits/cm-10.2

If it was you wouldn't have to do that...

You could add it as a remote.

git remote add aosp https://android.googlesource.com/device/asus/grouper

git pull aosp android-4.3_r2.1_

You might have to fix merge conflicts.

Also [MENTION=3041959]fattire[/MENTION], are there any plans to integrate the selinux changes for the kernel and ROM like the other devices have already done?
[Nexus 7 Android Development] GoDzPlaY:
Thanks for the help but I am new to ROM development and I didn't understand how can I add it as a remote??

I gave those commands on terminal but got an error.

fatal: Not a git repository (or any of the parent directories): .git

Also I am ubable to do repo sync.
[Nexus 7 Android Development] sparksco:
You should familiarize yourself with the cd (change directory) command.

cd device/asus/grouper
[Nexus 7 Android Development] GoDzPlaY:
Unable to locate the the .zip file after compilation.

After compilation I got this msg:

make[1]: Leaving directory `/AndroidCustomRomDevelopment/CyanogenModSystem/kernel/asus/grouper'
make -C kernel/asus/grouper O=/AndroidCustomRomDevelopment/OutputDirectory/CyanogenModSystem/target/product/grouper/obj/KERNEL_OBJ INSTALL_MOD_PATH=../../system ARCH=arm CROSS_COMPILE="/AndroidCustomRomDevelopment/CyanogenModSystem/prebuilts/misc/linux-x86/ccache/ccache /AndroidCustomRomDevelopment/CyanogenModSystem/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" modules_install
make[1]: Entering directory `/AndroidCustomRomDevelopment/CyanogenModSystem/kernel/asus/grouper'
INSTALL fs/cifs/cifs.ko
DEPMOD 3.1.10-g830e42f
make[1]: Leaving directory `/AndroidCustomRomDevelopment/CyanogenModSystem/kernel/asus/grouper'
mdpath=`find /AndroidCustomRomDevelopment/OutputDirectory/CyanogenModSystem/target/product/grouper/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; ko=`find $mpath/kernel -type f -name *.ko`; for i in $ko; do /AndroidCustomRomDevelopment/CyanogenModSystem/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-strip --strip-unneeded $i; mv $i /AndroidCustomRomDevelopment/OutputDirectory/CyanogenModSystem/target/product/grouper/system/lib/modules/; done; fi
mdpath=`find /AndroidCustomRomDevelopment/OutputDirectory/CyanogenModSystem/target/product/grouper/system/lib/modules -type f -name modules.order`; if [ "$mdpath" != "" ];then mpath=`dirname $mdpath`; rm -rf $mpath; fi

And I am unable to get the zip file.

Can anybody please tell me what could be the possible issue.
[Nexus 7 Android Development] Neo:
None of what was posted showed an error. Was compilation terminated or did you end up with a message that that package was generated and completed? Try building again and if it terminates the build, try to grab the error. Sometimes it will be listed way back.

Also, you should probably try doing a CM-10.1 build first since it's had plenty of time to establish code stability.
[Nexus 7 Android Development] GoDzPlaY:
I manually didn't terminate the compilation process. The compilation was completed. I proformed the process almost 8-10 times but ever time I am getting the same msg.

I searched the entire logs and got these error msgs:

1.

device/asus/grouper/nfcee_access_debug.xml:9: namespace [B]error[/B] : Namespace prefix android for signature on signer is not defined
b614df697d8ff5ca8101e7a25c7db3fb055d65569c04b01d389cabba57b3a1703ec2e74a88d334"
^
device/asus/grouper/nfcee_access_debug.xml:12: namespace [B]error[/B] : Namespace prefix android for signature on signer is not defined
5cbb7faf7198a84bcf744310e9e927597f00a23dd00660800c2238d90b2fb372dfdbba75bd852e"
^
device/asus/grouper/nfcee_access_debug.xml:15: namespace [B]error[/B] : Namespace prefix android for signature on signer is not defined
84c0bec93ad1c8c2054195f13c926db07c8bdf15673acf6d791ec1d3a0d7e1b3470447acd95873"

2.

device/asus/grouper/overlay/frameworks/base/core/res/res/values/config.xml:85: [B]error[/B]: Resource at config_networkLocationProviderPackageName appears in overlay but not in the base package; use <add-resource> to add.
device/asus/grouper/overlay/frameworks/base/core/res/res/values/config.xml:88: [B]error[/B]: Resource at config_geocodeProviderPackageName appears in overlay but not in the base package; use <add-resource> to add.
make: *** [/AndroidCustomRomDevelopment/OutputDirectory/Nexus7SystemCyanogenMod/target/common/obj/APPS/framework-res_intermediates/package-export.apk] [B]Error[/B] 1
[Nexus 7 Android Development] mor_1228:
Can someone help with this problem ? earlier i sync with other rom but nw i am doing with cyogen so its showing this error.
[Nexus 7 Android Development] alershka:
package-export.apk Error 1

I've seen this listed but I haven't seen specific resolution on this. I am trying to build 10.2 using a bit of a different method than what is listed here. I know enough to be dangerous so I'm not sure why I keep getting this error when building for Grouper. I made a build for my D2vzw earlier in the day and did not have a problem.

The error comes up as make *** [/home/cm-10.2/out/target/common/obj/APPS/framework-res-intermediates/package-export.apk] Error 1

In my .repo directory I have a local_manifest.xml file that contains the following:

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project name="CyanogenMod/android_device_samsung_d2vzw" path="device/samsung/d2vzw" remote="github" />

<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common"

remote="github" />

<project name="CyanogenMod/android_device_samsung_msm8960-common" path="device/samsung/msm8960-common"

remote="github" />

<project name="CyanogenMod/android_device_samsung_d2-common" path="device/samsung/d2-common" remote="github" />

<project name="CyanogenMod/android_kernel_samsung_d2" path="kernel/samsung/d2" remote="github" />

<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-10.2" />

<project name="fat-tire/android_device_asus_grouper" path="device/asus/grouper" remote="github" revision="cm-10.2" />

<project name="fat-tire/android_kernel_asus_grouper" path="kernel/asus/grouper" remote="github" revision="cm-10.2" />

</manifest>

I've done a repo sync several times and I still get the error. Since I was able to make a functioning build for my Galaxy S3 I'm wondering if the problem is related to something I'm doing or if there is a problem with the fat-tire project.

Any advice would be greatly appreciated.
[Nexus 7 Android Development] Archaic1881:
I get the same error, but i was able to build with the same setup 2 days ago, i guess something changed that has to be fixed first.
[Nexus 7 Android Development] alershka:
Thanks for the verification. I just tried building it again and it built. Will now see if it works :D
[Nexus 7 Android Development] superuser.pm:
I can't think of anything more Develop-y than building Android.
[Nexus 7 Android Development] sparksco:
Just follow the instructions in your screenshot. You need to set up your global configs for git. Looks like your email address has a error. Redo the email part "youremail@email.com".
[Nexus 7 Android Development] Screw Muggz:
bugmailer.sh ?

My build is now stopping because of:

make: *** No rule to make target `system/extras/bugmailer/bugmailer.sh', needed by `/home/muggz/Android/source/cyanogenmod/out/target/product/grouper/system/bin/bugmailer.sh'. Stop.
make: *** Waiting for unfinished jobs....

witch I still dont have after several syncs. What might I be doing wrong?
[Nexus 7 Android Development] :
3 hours later still finishing up the repo sync.

okay here's my question,

i have accepted all the latest blobs you've provided and moved the vendor folder into /android/system

i dont see the cm part, where does that come in?

---------- Post added at 11:05 PM ---------- Previous post was at 10:56 PM ----------

also dont know what is causing the dang repo to keep freezing up.dont know how many times i had to resync the dang repo.its getting real troublesome trying to learn how to build my own rom.

---------- Post added at 11:29 PM ---------- Previous post was at 11:05 PM ----------

i just quit.i wasted too many hours tonight and im tired of it. i just realized why i left linux a while back, too much work...android is the furthest i go now with linux.
[Nexus 7 Android Development] Skelli:
Build with:

http://review.cyanogenmod.org/#/c/47707/

http://review.cyanogenmod.org/#/c/47708/
[Nexus 7 Android Development] fattire:
Quick heads up--

I've pushed my "test" repos into the official CM repositories... There's no need to use github/fat-tire.

The only commit that isn't included yet is this one, which I've asked manuel to resubmit via gerrit.

Let me know if there are any issues with the official repos... blobs you still need to get from here.
[Nexus 7 Android Development] Archaic1881:
Do I just delete the local manifest and make breakfast before brunchin or should i do something extra?
[Nexus 7 Android Development] fattire:
I think you can just either delete the local manifest and re breakfast/brunch or just change fat-tire to cyanogenmod and re repo sync
[Nexus 7 Android Development] :
so can someone explain to me where the folder cm is? i extracted the blobs and chmod a+x eac file and it created a vendor folder which i placed in /android/system but,i see no cm folder. i followed step by step and this is where im at.
[Nexus 7 Android Development] alershka:
Just did a repo sync and a build. Everything worked fine. I think it said that three things were removed from my sync yesterday (probably the removed commit).

Thanks!

---------- Post added at 01:01 AM ---------- Previous post was at 12:50 AM ----------

Have you done a repo init yet? That creates the CM folder.

From the CM10.1 how to build site

http://wiki.cyanogenmod.org/index.php?title=Build_for_grouper

$ cd ~/android/system/

$ repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1
[Nexus 7 Android Development] :
i believe i did the cm 10.2 repo not the 10.1
[Nexus 7 Android Development] fattire:
That's very odd that it's not showing up.. do you see the following line in .repo/manifest.xml

<project path="vendor/cm" name="CyanogenMod/android_vendor_cm" />

That's the line that should be adding the cm directory...
[Nexus 7 Android Development] :
i have that line so where is the cm folder? i dont see it

---------- Post added at 03:33 PM ---------- Previous post was at 03:20 PM ----------

its probably cause this damn repo sync wont finish.it keeps stalling and stops.
[Nexus 7 Android Development] :
first time compiling with mint 15 64bit i kept getting freezes, now im on ubuntu 13.04 64bit and hoping it goes well this time.
[Nexus 7 Android Development] Archaic1881:
If that doesn't work, try BBQlinux.

If set up correctly all distro's should work, but I think bbqlinux is the easiest.
[Nexus 7 Android Development] :
nothing works F&^%* it already im about to break my laptop cause of this crap.directions aint clear enough im done it doesnt make sense to get mad over this./
[Nexus 7 Android Development] fattire:
Hey we're here to help.. What's wrong...?
[Nexus 7 Android Development] :
After trying to recompile on another os I seemed to have set the paths for bash incorrectly. I'm confused on the part setting up environmental variables for that part. Don't know what path to put it on so it went to crap. Please assist if you have the time. How to I start over without having to reinstall Ubuntu and or if I can redo it without the headaches how do I do so?
[Nexus 7 Android Development] sparksco:
In ~/.bashrc paste or type your paths that you want to be available on the very top or bottom on the file then save the file. Like for the path to repo. If your using Linux mint there's no bashrc but you can make one. gedit ~/.bashrc

If you don't have gedit

sudo apt-get install gedit

Edit: after that open a new terminal or reboot and your paths will be there.
[Nexus 7 Android Development] :
That's where everything messed up and su wouldn't work in terminal. Is setting up the bash necessary?
[Nexus 7 Android Development] sky_fox:
OK I really need help. I've been building custom nightly builds of cm 10.2 and I need to know how to add commits that are unmerged. Ive already done make clobber for a fresh tree . I go to gerrit and then to the commit I want to add . however after that which one do I download? I tried cherypick is this correct? Do I use checkout , cherry pick , pull , or patch? someone please help me out here.
[Nexus 7 Android Development] :
I'm not going to use bash rc cause I don't get it. If you were to explain it better than the path on top or bottom? I would probably understand. But that is not clear for me? An example would be better. Sorry for my ignorance its been a while since I've played with Linux.
[Nexus 7 Android Development] shinjielric:
What file in the source would I have to edit to change the word "battery" to "Reactor Core"? So that " battery status" would read as "Reactor Core Status".
[Nexus 7 Android Development] sparksco:
http://source.android.com/source/downloading.html

Step 1...

You put export PATH=~/bin:$PATH

That's so you can repo sync...
[Nexus 7 Android Development] :
okay thats what i was doing before. re-doing everything from freshly installed ubuntu 13.04. are the freezes in repo sync normal? they never finsh i get stuck constantly on 99%.
[Nexus 7 Android Development] underwaterjr:
Hey got a question. I tried replacing all my proprietary blobs with the official ones from Google instead of using TheMuppets repo and it broke the camera on my Toro. I know this is n7 build guide but if anyone could humor me that would be great. I synced back up to Muppets repo and worked again.
[Nexus 7 Android Development] :
I just repo synced for the umteenth time because it keeps freezing up. Anyone have an idea of why it keeps stopping? Its not letting me finish and its getting tiresome especially when its the 3rd day of trying.
[Nexus 7 Android Development] fattire:
what freezes.. the repo sync? does it give an error? how's the speed/reliability of your internet connection?
[Nexus 7 Android Development] underwaterjr:
If it is exiting sync due to fetch errors try re-initializing your repo like this

repo init -u https://github.com/CyanogenMod/android.git -b cm-10.2

Instead of this

repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2
[Nexus 7 Android Development] sky_fox:
can anyone help me with my single question? Its not that hard to answer but the resources for finding it suck. I nneed help!!!!
[Nexus 7 Android Development] sparksco:
If your using virtualbox or other VM you have to configure your network. I don't remember exactly how because it was so long ago when I used vitualbox.

Now I just dual boot and repo sync works great.
[Nexus 7 Android Development] MaceBewley:
Haven't synced to 10.2 yet... Want to make sure I am clear on this

"While the source is loading, you can, from the main source directory, mv vendor ../vendor-old-10.1 to move the 10.1 vendor blobs out of the way."

Can I get rid of everything in the vendor folder and Toro files will come back with repo sync?

"You can find the sparkling new blobs for grouper here. Download each of the .tgz files to the main source directory, ungzip/tar them to get the install .sh script. Then chmod a+x each shell script so they are easly runnable, run them from the Terminal (sh [filename].sh), agree to the terms by typing "I AGREE" and the blobs should automatically be placed in the vendor directory."

Main source directory being android/system?
[Nexus 7 Android Development] underwaterjr:
I hear you on dual booting. Once I started doing that I've never been happier. Builds get done in half the time and everything just works so much smoother and faster.
[Nexus 7 Android Development] :
Will try that out thanks. So far its been going pretty good but we'll see if it finishes first

---------- Post added at 03:18 PM ---------- Previous post was at 03:08 PM ----------

i have ubuntu installed on another hard drive.

---------- Post added at 03:20 PM ---------- Previous post was at 03:18 PM ----------

the repo sync just halts. my internet connection is very quick,but, even on ethernet it freezes.
[Nexus 7 Android Development] sparksco:
http://source.android.com/source/known-issues.html

Difficulties syncing the source tree (DNS issues)

nslookup github.com

nslookup https://github.com

sudo gedit /etc/hosts
[Nexus 7 Android Development] :
so when editing:

sudo gedit /etc/hosts

then i punch in the address such as:

174.xx.xx.xx googlesource.com

174.xx.xx.xx android.googlesource.com

correct?

---------- Post added at 03:51 PM ---------- Previous post was at 03:48 PM ----------

it also shows in terminal while doing repo sync:

curl (22) the requested url returned error 404 not found

server doesnt approve clone bundling

ignoring???

whats that about?
[Nexus 7 Android Development] sparksco:
I'd do it for both github and Google. Just to make sure. After that repo syn should work fine unless the addresses change for github or Google.
[Nexus 7 Android Development] :
also, this looks like what i need but where to put it and how?

Difficulties syncing the source tree (TCP issues).

Symptom: repo sync hangs while syncing, often when it's completed 99% of the sync.

Cause: Some settings in the TCP/IP stack cause difficulties in some network environments, such that repo sync neither completes nor fails.

Fix: On linux, sysctl -w net.ipv4.tcp_window_scaling=0. On MacOS, disable the rfc1323 extension in the network settings.

make snod and emulator builds.

i just entered in terminal:

su

sysctl -w net.ipv4.tcp_window_scaling=0

then hit enter. hopefully that fixes it

---------- Post added at 04:04 PM ---------- Previous post was at 04:00 PM ----------

this is exactly where it halts:

Fetching projects: 99% (385/388) Receiving objects: 41% (4330/10455), 59.82 Mremote: Total 10455 (delta 6140), reused 10309 (delta 6011)

Receiving objects: 100% (10455/10455), 277.66 MiB | 452 KiB/s, done.

Resolving deltas: 100% (6140/6140), done.

From http://github.com/CyanogenMod/android_vendor_cm

* [new branch] cm-10.2 -> github/cm-10.2

From http://github.com/CyanogenMod/android_vendor_cm

* [new tag] cm-10.1-M2 -> cm-10.1-M2

* [new tag] cm-10.1-M3 -> cm-10.1-M3

---------- Post added at 04:24 PM ---------- Previous post was at 04:04 PM ----------

one last repo sync and im really through with this been at it from this morning and no changes whatsoever.

thanks for trying to help me though guys. im getting rid of linux as an os also. no wonder why i left it a while back....too much damn headaches, especially with the new distros.
[Nexus 7 Android Development] sparksco:
I've never had those problems before and I'm on Ubuntu 13.04. Best Ubuntu distro ever IMHO...

Same here. Way less problems on Ubuntu and dual booting.
[Nexus 7 Android Development] sky_fox:
Its true .NO ONE should stay at 12.04 . I tortured myself trying to make it work. Half the time it couldn't even read my s4 because it was too new for that old crap. Lol.
[Nexus 7 Android Development] Archaic1881:
I can't explain it better: http://wiki.cyanogenmod.org/w/Doc:_...building_a_patch_submission_already_on_Gerrit
[Nexus 7 Android Development] fattire:
This. Always check the wiki first :) if what you're looking for isn't there and you eventually learn the answer, add it for the next person...,
[Nexus 7 Android Development] AlienSr1:
Hi everyone, this is my first try at building cm from source.

I have read the Wiki on how to setup the environment and building.

I had no errors while syncing the repos and I also tried syncing it again.

I'm trying to build on a new installation of Ubuntu 13.10 and I'm running into the following error:

make: *** No rule to make target `vendor/asus/grouper/proprietary/btmacreader', needed by `/home/username/Desktop/android/system/out/target/product/grouper/obj/EXECUTABLES/btmacreader_intermediates/btmacreader'. Stop.
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

I have already searched google and xda but I haven't found a solution to my problem so far.:confused:

Let me know if I have to post more of the build log.
[Nexus 7 Android Development] sparksco:
AFAICT It looks like it can't find the proprietary blobs. Did you clone or sync the muppets?
[Nexus 7 Android Development] AlienSr1:
Hmm.. I did extract the proprietary files from my nex7 running cm10.2.

Do I have to download additional files?

Edit: Oh I see, do you think the files I got by extracting are bad? If so do I have to use the ones provided by google on their dev site?
[Nexus 7 Android Development] sky_fox:
Listen , man, this happens to me every repo sync. Here is what you do. When it gets to where its about 53% it will say connection timed out. At that point just wait. It WILL RECONNECT. Wait 4 minutes if you have to but it will reconnect at 53% and finish the transfer .Try it because that works for me every repo sync.
[Nexus 7 Android Development] AlienSr1:
Hey, thanks again. I was able to fix it :D.

Obviously btmacreader is not required for grouper but it was requested. The patch is not yet merged into cm but it is requested by "dhacker29", using his part of the source for the proprietary stuff worked :)

My build works fine now.
[Nexus 7 Android Development] fattire:
Quick heads up... I pushed some changes to the selinux policy, so if you're going to be turning the SELinux (Under Settings->About) to "Enforcing", you'll want to do this first:

1. adb shell

2. su to get the # prompt (make sure you've enabled debugging and root for adb in settings/development)

3. enter this:

restorecon -R -v /data

That will relabel any files that need relabeling for the new rules.

4. reboot.

(Do this only after a build with the changes I just pushed... grouper builds are coming btw)

After that, selinux should work fine.
[Nexus 7 Android Development] :
I tried letting it sit for about an hour and did nothing. now it says it cant find the server or curl error. will erase the android folder in my / and try again.

---------- Post added at 05:38 PM ---------- Previous post was at 04:39 PM ----------

okay erased the android and bin folders and restarting. changed the repo's address to http: instead of the github:

repo syncing and we'll see if it goes through this time.

---------- Post added at 05:39 PM ---------- Previous post was at 05:38 PM ----------

also seems that ubuntu 13.04 cant hold a wifi connection on my laptop longer than 5 minutes.
[Nexus 7 Android Development] :
so far its been going quick,(the repo sync).i noticed an update after the initial update on my mint 15 64bit, doing so looks like it triggered the repo sync to speed up, dont know why but it hasnt froze once yet since the update.its been zooming along.how lovely. hopefully this time it finishes.
[Nexus 7 Android Development] TheDarkDefender:
Hi,

I tried to pull blobs from an unofficial cm build ( euroskank ) on my grouper, I ran ./extract-files.sh and i get this error

mv: cannot stat `../../../vendor/asus/grouper/proprietary/touch_fw.ekt': No such file or directory

anyone?
[Nexus 7 Android Development] #define:
Instead of that, just sync the proprietary blobs repo from TheMuppets..

github.com/TheMuppets/proprietary_vendor_asus
[Nexus 7 Android Development] TheDarkDefender:
ah ok.. thanks. add them to my roomservice.xml ?
[Nexus 7 Android Development] #define:
Yep...