yashsingh1/xdaforums huggingface dataset:
[Defy General] Kayant:
you don't need to that you can you the same fix for the Soft_AP as well.... look at the commit for fix wlan compile and copy it for the Soft_AP folder as well ;)
[Defy General] bone101:
Same problem here....

after this patch i get this :

bone101@bone101-desktop:~/cm$ ./vendor/cm/get-prebuilts

% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

100 335k 100 335k 0 0 97k 0 0:00:03 0:00:03 --:--:-- 105k

Archive: ./vendor/cm/proprietary/Term.apk

inflating: ./vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm4.so

any solution ?

my get-prebuils file:

BASEDIR=`dirname $0`

mkdir -p $BASEDIR/proprietary

# Get Android Terminal Emulator (we use a prebuilt so it can update from the Market)

curl -L -o $BASEDIR/proprietary/Term.apk -O -L http://jackpal.github.com/Android-Terminal-Emulator/downloads/Term.apk

unzip -o -d $BASEDIR/proprietary $BASEDIR/proprietary/Term.apk lib/armeabi/libjackpal-androidterm4.so
[Defy General] sevenrock:
What are you trying to fix? I can see no errors in your quote, just continue the compile guide.
[Defy General] pabloltg:
Well, I think that 10.1 is not ready to build yet..

target Java: PhaseBeam (/home/jagger/android/out/target/common/obj/APPS/PhaseBeam_intermediates/classes)
packages/apps/MotoFM/src/com/motorola/fmradio/FMRadioMain.java:472: cannot find symbol
symbol : variable STREAM_FM
location: class android.media.AudioManager
setVolumeControlStream(AudioManager.STREAM_FM);
^
packages/apps/MotoFM/src/com/motorola/fmradio/FMRadioPlayerService.java:699: cannot find symbol
symbol : variable STREAM_FM
location: class android.media.AudioManager
mAM.requestAudioFocus(mAudioFocusListener, AudioManager.STREAM_FM, AudioManager.AUDIOFOCUS_GAIN);
^
packages/apps/MotoFM/src/com/motorola/fmradio/FMRadioPlayerService.java:786: cannot find symbol
symbol : variable STREAM_FM
location: class android.media.AudioManager
if (intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, -1) == AudioManager.STREAM_FM) {
^
packages/apps/MotoFM/src/com/motorola/fmradio/FMRadioPlayerService.java:1071: cannot find symbol
symbol : variable STREAM_FM
location: class android.media.AudioManager
mAM.setStreamVolume(AudioManager.STREAM_FM, Preferences.getVolume(this), 0);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
4 errors
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: packages/wallpapers/PhaseBeam/src/com/android/phasebeam/PhaseBeamRS.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
make: *** [/home/jagger/android/out/target/common/obj/APPS/MotoFM_intermediates/classes-full-debug.jar] Error 41
make: *** Se espera a que terminen otras tareas....
jagger@jagger-laptop:~/android$
[Defy General] Kayant:
You can build it but Quarx hasn't finished uploading all the things needed to build it. For this you need to cherry-pick the commits that add STREAM_FM support in system/core & frameworks/base or Stop MotoFM from building by removing it from device.mk in the moto/jordan-common folder.
[Defy General] bone101:
When i build cm 10 , i get version from 27.12 + an addon.zip . , but 29.12 from qurax is up ¿

If anybody could explain something about what is going on and what can be changed before during and

after the last step of compiling

MB525 red lense
[Defy General] Kayant:
It's because it's using the same build.prop from the last time you compiled...... You can either make clean and do a full recompile or delete the build prop from the out/target/product/mb526/system folder before compiling a new build.....
[Defy General] bone101:
Is it possible to remove apps and other unneeded stuff before compiling

MB525 red lense
[Defy General] Kayant:
Yes what don't you want to be build???

Also @pabloltg and whoever else is building cm10-1 it looks like Quarx is rebasing some stuff so I think we should wait a bit before recompiling....
[Defy General] bone101:
live wallpapers,browser,cyan file manager.. and some system/media/ringtone... files
[Defy General] Kayant:
Those a lot of things but to stop them from getting added to the zip remove them from these make flies.

In the vendor/cm/config common.mk -----> Remove what you dont want built.

Some may also be here device/moto/jordon-common device.mk
[Defy General] bone101:
I compiled my own nigthly today

It work great on my Defy... :)

Why is my zip smaller than quax today build

Intentions to get things not added to the zip were not succsessfully

MB525 red lense
[Defy General] skeevydude:
You can also edit /device/moto/mb526/releasetools/squisher.sh and have it remove what you don't need after everything compiles.

Doing it this way you don't have to fork and maintain vendor/cm just to remove a few pesky apps\files (I'm assuming you have a fork of device/moto/jordan-common and device/moto/mb526 that you keep up with). Also a bit safer since you're not removing anything from the compile process to risk having build dependencies missing.

As for your final size difference -- could be a number of factors there. Your build system's toolchain, the android toolchain you're compiling with, linaro or no linaro, all factor into the final size of the zip.
[Defy General] yodawg:
Thanks for your support!

Finally i finished compiling my build. However, i got a question: In out/target/product/mb526 I have the files cm-10-20130114-UNOFFICIAL-mb526.zip, which is ~160MB big, and cm_mb526-ota-eng.myuser.zip, which is ~7MB bigger. Which one to flash?

Theres also the file addons.zip, ~1MB. Do I need to flash this aswell? It contains a few libraries, all of them in system/lib/modules:

backlight.ko

netmux.ko

overclock_defy.ko

tiwlan_drv.ko

cifs.ko

netmux_linkdriver.ko

symsearch.ko

modem_pm_driver.ko

nls_utf8.ko

tiap_drv.ko

---------- Post added at 05:01 PM ---------- Previous post was at 04:59 PM ----------

EDIT: I think I can answer the second question myself: All of the libraries in addons.zip are also in both the other zips contained, so I guess I dont have to flash it.

But still don't know which of the two above mentioned files I should flash...

---------- Post added at 05:04 PM ---------- Previous post was at 05:01 PM ----------

EDIT 2: Damn, sometimes I'm really stupid. Reading the first post and the filenames again answered my questions :P Sorry!
[Defy General] yodawg:
Yeeeah!! Booted successfully :D

It rebooted in the middle of the first boot attempt, but the following attempt worked and now it looks like I have now a functional CM10 build :) I just hope now that everything works/keeps working...

Thank you!
[Defy General] Mario.D:
need som help

Hi

im trying to compile Quarx jellybean with Ubuntu 12.04 downgraded GCC to 4.4.3 and java 6.32 i think.

It stops after about a our, with one fault.

Posting some of the last lines.

target R.java/Manifest.java: QuickSearchBox (/home/mario/cm10repo/out/target/common/obj/APPS/QuickSearchBox_intermediates/src/R.stamp)

Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.

target R.java/Manifest.java: Settings (/home/mario/cm10repo/out/target/common/obj/APPS/Settings_intermediates/src/R.stamp)

aapt: warning: string 'cdma_roaming_mode_dialogtitle' has no default translation in packages/apps/Phone/res; found: zh_TW

aapt: warning: string 'cdma_roaming_mode_summary' has no default translation in packages/apps/Phone/res; found: zh_TW

aapt: warning: string 'cdma_roaming_mode_title' has no default translation in packages/apps/Phone/res; found: zh_TW

aapt: warning: string 'vibrate_call_waiting_sum' has no default translation in packages/apps/Phone/res; found: pt pt_PT ru

aapt: warning: string 'vibrate_hangup_sum' has no default translation in packages/apps/Phone/res; found: pt_PT ru

aapt: warning: string 'vibrate_outgoing_sum' has no default translation in packages/apps/Phone/res; found: pt_PT

packages/apps/Phone/res/values-pt-rPT/strings.xml:663: error: Resource entry advanced_setting is already defined.

packages/apps/Phone/res/values-pt-rPT/strings.xml:621: Originally defined here.

make: *** [/home/mario/cm10repo/out/target/common/obj/APPS/Phone_intermediates/src/R.stamp] Fel 1

make: *** Inväntar oavslutade jobb...

Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.

Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.

mario@mario-K53SV:~/cm10repo$
[Defy General] sevenrock:
Known bug: https://github.com/Quarx2k/android_...7eb86ca3834e133f7060187#commitcomment-2408964

Remove line 663 from the mentioned file
[Defy General] Kayant:
Open packages/apps/Phone/res/values-pt-rPT/strings.xml and remove line 663 then recompile.
[Defy General] Mario.D:
Thanks Sevenrock and Kayant

The compile finished without errors now:good:

It sems to work fine on the phone two:D
[Defy General] skeevydude:
Does anyone know if the clock in Salad Bar has been fixed? I know it hasn't been on its end, but has anyone here figured it out? Searching XDA didn't help very much since the results are posts by us :p.

I'm working on an ICS rom and that would really help. I'm a bit sad because I have to pretty much start over - I was 3 hours in on the ICS PA pick fest when I realized I missed the initial commit of frameworks/base :(. My plan is to start with Epsy's latest(done)>add in Salad Bar (done)>add in ICS PA(in progress)>add in Motorola Smart Actions>add in modified 2nd-kernel bootmenu(also in progress)>add in 4.2 framework animations and drawables(currently its a 4.0\4.1 hybrid)>???? :cool:.

Since I'm sure someones gonna ask about JB PA -- its now based on 4.2 which doesn't fully work for us yet. Once 4.2 is in a state that I can flash it on my phone and use it as a daily I'll start on PA 4.2. The above is something I've always wanted to do (sort of an ICS PAC). I'll start taking feature requests once those milestones above have been done -- the ????'s :p. There's also a Salad Bar on top or bottom feature I'd like to add in as well (I'll have to figure that out), but I'd like to bug fix the current Salad Bar first.

Right now the only bugs are long press track change works with a short press (very annoying; happens on unmodified ICS kangs) and the usual Salad Bar issues -- everything else works just fine (been my daily for 4 days now).

I'll push it all to github once I get ICS PA merged in and update the Bravo ICS device repo to where the Defy is at.

I also think that ICS PA is better to start with (on a combined rom) over JB PA because ICS PA is fully open source where JB PA's PAPreferences.apk is closed source and they (the PA Team) only want it to be used on pure PA roms -- I can't say that I blame them either since they put a lot of hard work into it.

EDIT

@Kayant

Since you're an Arch user, have you ever tried out Manjaro Linux? I'm currently using the Manjaro 0.8.3 XFCE release and its pretty sweet. Manjaro is sort of a Minty version of Arch (easy to install with noob friendly devs and forum users). Its also the first distro other than Pure Debian that I can see myself using for more than 3 days (been using it for 2 weeks now, no issues at all).

And have you tried out this git tool -- http://www.syntevo.com/smartgithg/index.html -- it really makes managing git much easier. Cherry picking is a pita with it, so I pick from the command line and SmartGit detects the changes and automagically shows the conflicted files and has a very powerful diff\merge tool. I also have to git fetch --all from the line, but I've been able to easily do everything else from full repo merges, adding and managing remotes, commits, etc. It reminds me of Git-Cola, only it doesn't crash as much, has a much better interface, and works better.
[Defy General] Kayant:
Loooool you know we think alike ;) ..... Btw can't wait to test your ultra kang :cool::cyclops:

I decided to install arch linux due to some problems I was having I don't want to go through CLI again at not configure everything right so decided to give manjaro I think since I have given cinnarch I try before.

Yh at the moment am actually using manjaro 0.8.3 linux in the mate flavour because I prefer it over xfce and cinnamon and because I have a ****ty onboard graphics card in my laptop so 3D performance is not great so I can't use cinnamon I would want :(

Yh I decided to use it as I makes resetting up my Arch box much faster and it's very clean and preconfigured well :D...... Also noticeable has better performance that old arch setup weird :confused: I probably needs more experience with configuring stuff ;)

Yh I once tried to use smartgit but don't really understand how to use it because it was the back in the days when I was still a big noob at kanging but I guess I should try it again and see ;) I currently usually use gitg for finding commit from repo man I love it. It's such a heavenly tool.

Good to hear you're ok :) Your hand is better now am guessing :)

Btw
[Defy General] skeevydude:
Its funny, the only reason I'm using Manjaro is because Mint 14 and Ubuntu 12.10 kept giving me DNS errors -- for some reason my desktop's wifi would not connect and I tried everything I could think of -- even reinstalling the systems. Even after a reinstall wifi would only work until I rebooted and then it was gone for good :confused:. I was gonna go back to Debian Sid but I decided to head over to distowatch and do a search on XFCE desktop distros and found Manjaro -- best distrowatch search I ever did.

Have you tried adding the Linux-ck repo and use its kernel I gained an extra 2 fps on my x264 encodes just with the kernel change :D.

Smartgit has its quirks, but that diff\merge tool is damn handy. What I've been doing is I'll open Smartgit and use my ICSKANGFrameworks project, open a terminal pointed to frameworks/base -- when I cherry-pick and no conflict occurs I'll keep on truckin, but if a conflict occurs I'll switch back to SG, right click on the conflicting file and select conflict resolver. Conflict Resolver is like Meld, but it makes sense to me :rolleyes:. All that's on desktop 1, I have the same crap open on desktop 2, only pointing to packages/apps/Settings :silly:. I used to use GitCola in a similar manner, but it likes to crash -- a lot. You'd think the official git gui would work better :confused:.

I've seen gitg but haven't tried it yet. If its not in the official repo I'm sure its in the AUR -- I'm gonna get back to kanging in a little bit, and when I do I'll give it a try.

I do gotta LoL on your reason for using Manjaro -- I've done Gentoo\Funtoo\Arch installs before and **** doing all that again. Well, Arch is relatively easy compared to the *toos. The amount of configuration versus the slight gain in performance just isn't worth it, especially when there are distros like Manjaro and Sabayon (like Manjaro, but for Gentoo and much older).

My hands feeling much better. I don't have full range of motion yet nor can I open a soda bottle, but typing isn't an issue now :cyclops:. It just sucks that whats left is directly over my main gripping muscle, and a good grip rips the scab which will bleed pretty good after that.

I've broke both my pinkies, cracked my tailbone twice, bruised the bone that connects my hip to my pelvis, countless shin splints and shin bruises, broke 3 ribs and cracked 4 more (all at once with one of the tailbone cracks -- roller blades on half pipe injury :p), and had the sidewalk sandpaper off half my face (skateboard injury :rolleyes:). The hand burn makes all of that seem like nothing at all. For the first few days, that burn was the worst pain I've ever had in my life (my first 3rd degree burn) and I wouldn't wish that kind of pain on my worst enemy.
[Defy General] juance:
como sigo???

juance@juance-MS-7592:~/ginger$ source build/envsetup.sh && brunch jordan_plus

including device/advent/vega/vendorsetup.sh

including device/bn/encore/vendorsetup.sh

including device/geeksphone/one/vendorsetup.sh

including device/malata/smb_a1002/vendorsetup.sh

including device/malata/smb_b9701/vendorsetup.sh

including device/motorola/droid2/vendorsetup.sh

including device/motorola/droid2we/vendorsetup.sh

including device/motorola/jordan_plus/vendorsetup.sh

including device/motorola/jordan/vendorsetup.sh

including device/motorola/morrison/vendorsetup.sh

including device/motorola/motus/vendorsetup.sh

including device/motorola/olympus/vendorsetup.sh

including device/motorola/shadow/vendorsetup.sh

including device/motorola/sholes/vendorsetup.sh

including device/motorola/zeppelin/vendorsetup.sh

including device/ti/panda/vendorsetup.sh

including vendor/cm/vendorsetup.sh

including vendor/cyanogen/vendorsetup.sh

including sdk/bash_completion/adb.bash

including vendor/cm/vendorsetup.sh

Looking for dependencies

Dependencies file not found, bailing out.

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.0.4

TARGET_PRODUCT=cm_jordan_plus

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_BUILD_TYPE=release

BUILD_ID=IMM76L

============================================

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.0.4

TARGET_PRODUCT=cm_jordan_plus

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_BUILD_TYPE=release

BUILD_ID=IMM76L

============================================

build/core/base_rules.mk:166: *** device/motorola/jordan_plus/2nd-init: MODULE.TARGET.EXECUTABLES.2nd-init.jordan already defined by device/motorola/jordan/2nd-init. Alto.

juance@juance-MS-7592:~/ginger$
[Defy General] Kayant:
delete the moto folder in the device folder and repo sync..... You have older sources because there should be only one folder present (jordan)
[Defy General] Kayant:
Cherry-pick heaven :) now we don't to keep on searching through pages of commits on github or using something like gitg to search but this like you said is heavenly :)..... I will add it to my guide for git commands later on .... Thanks for the heads up ^_^
[Defy General] skeevydude:
My thoughts exactly, there's log viewer's with gui's around but I've always found them difficult to read and use effectively. This way almost makes it too easy. I've been able to make some fast progress because of it as well. Funny thing is, most of the conflicts I'm getting are from using an old pick on a newer repo -- I'll check the current version of *conflicted_file* on Quarx's github only to find its the exact same as PA's current...git reset --hard has been in use a lot today :silly:.
[Defy General] Kayant:
Ahh git reset how I love thee :p .... yh I know ICS is so messy :p am going to have to do that when I start again with AOKPICS :) ..... oh yh are you using Eppys 2ndboot model or Quarx's common model for the device tree??

Let's Go ^_^
[Defy General] skeevydude:
Epsy for ICS, Quarx for JB, Maniac103 for GB....though I'm probably gonna switch to Quarx for ICS since its being updated and Epsylon3's hasn't been for a bit now. Hopefully Epsy's doing OK, haven't seen any posts from him in a while now, just a few git commits here and there.

edit, meant to ask

Did you happen to see the post I made earlier today on the 4.2 thread about using file system images on /data? Any thoughts or ideas? Personally, I wouldn't mind having half the space for apps if it meant we didn't have to intentionally cripple our own roms to even use them. We can always get a 32gb sdcard and use apps2sd to make up for the space missing from /data that the system is using.
[Defy General] Kayant:
Yh he's being working on ICS because he is very busy and he wanted something that doesn't more to fast so he said he will refine ICS and finish/update some other like boot menu etc.....

Yh I know what you mean personally am all for this cuz I don't have that much apps on my phone and a bigger system folder will stop that issues with gapps and other stuff and also help in future android versions if we can run it on our underpowered hardware :)

Let's Go ^_^
[Defy General] skeevydude:
You have no idea how pissed off I am right now -- did a repo sync this morning and lost everything and EVERYTHING was done, all I had to do was compile....Everything means frameworks/base, system/core, packages_apps_Settings....the only thing I still have are my Defy and Bravo PA Vendor Repos

Fetching projects: 100% (324/324), done.
Deleting obsolete path /home/skeevy420/android/paranoid/frameworks/base
Deleting obsolete path /home/skeevy420/android/paranoid/packages/apps/Settings
Deleting obsolete path /home/skeevy420/android/paranoid/system/core
error: Cannot remove project "vendor/pa": uncommitted changesare present
commit changes, then run sync again

Thank God I forgot to commit my vendor/pa changes last night...though from start to finish that part only takes 20 minutes writing everything by hand.

All I did was comment out the deleted repos so repo sync wouldn't overwrite them....didn't even think repo sync would decide to delete them...that really screwed me....12 hours of hard work lost.

EDIT

WOOHOO SmartGit really is Smart. Fired it up to start all over, when lo-and-behold, there's all my commits and changes stashed away in an alternate directory :D. I was seriously dreading starting all over. I LOVE SmartGit -- enough to actually pay for the commercial version (I use the free for home version).
[Defy General] Kayant:
I got some ideas on how u can fix it..... I will update this post when I get home...

Let's Go ^_^
[Defy General] yodawg:
How to build Quarx' cm10.1? I tried repo init with mr1-staging and then repo sync, which worked. Also ./vendor/cm/get-prebuilts and source build/envsetup.sh worked.

However then, after I executed "brunch mb526", the following error occurs:

including vendor/cm/vendorsetup.sh
ls: cannot access device/*/mb526/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_mb526". Stop.
Device mb526 not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for mb526 not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
ls: cannot access device/*/mb526/cm.mk: No such file or directory
build/core/product_config.mk:234: *** Cannot locate config makefile for product "cm_mb526". Stop.

How to fix?
[Defy General] skeevydude:
try brunch cm_mb526....that gave me headaches with PA...I ended up changing it to mb526 in full_jordan.mk
[Defy General] Kayant:
The error is not because of that ;) he doesn't have the sources downloaded fully yet...... you need to copy the local manifest mb525 3.0 file from the manifest folder if its not there then search for it I can't remember where it is :p to .repo/local_mainfests if the folder is present if not put it in .repo then rename to local_manifest and repo sync again then build as usual with lunch or brunch....

Let's Go ^_^
[Defy General] skeevydude:
It looks really similar to the one I was getting yesterday :p. My fix was to change the build command to mb526 in full_jordan.mk -- for some reason, I couldn't get PA's rom-build.sh to work with cm_mb526. In hindsight, I think my rom-build.sh errors were from me setting the wrong branding in a vendor/pa makefile....whatever, it works now. :rolleyes: