[Defy General] brajesh.sharma87:
@skeevy420:

These are the the errors that you are gonna get if you dont merge anything and just stick to the manifest that you sent.

aapt: warning: string 'gsm_alphabet_default_charset' has no default translation in frameworks/base/core/res/res; found: ko
device/moto/jordan-common/overlay/frameworks/base/core/res/res/values/arrays.xml:36: error: Resource does not already exist in overlay at 'config_vendorServices'; use <add-resource> to add.
device/moto/jordan-common/overlay/frameworks/base/core/res/res/values/arrays.xml:37: error: Resource at config_vendorServices appears in overlay but not in the base package; use <add-resource> to add.
device/moto/jordan-common/overlay/frameworks/base/core/res/res/values/config.xml:270: error: Resource at config_alwaysEnableLightSensor appears in overlay but not in the base package; use <add-resource> to add.
device/moto/jordan-common/overlay/frameworks/base/core/res/res/values/config.xml:292: error: Resource at config_fmSeparateVolumeControl appears in overlay but not in the base package; use <add-resource> to add.
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file `out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: *** Waiting for unfinished jobs....

Disable it in overlay

device/moto/jordan-common/overlay/packages/apps/Phone/res/values/array.xml:19: error: Resource does not already exist in overlay at 'voice_quality_entries'; use <add-resource> to add.
device/moto/jordan-common/overlay/packages/apps/Phone/res/values/array.xml:20: error: Resource at voice_quality_entries appears in overlay but not in the base package; use <add-resource> to add.
device/moto/jordan-common/overlay/packages/apps/Phone/res/values/array.xml:21: error: Resource at voice_quality_entries appears in overlay but not in the base package; use <add-resource> to add.
device/moto/jordan-common/overlay/packages/apps/Phone/res/values/array.xml:22: error: Resource at voice_quality_entries appears in overlay but not in the base package; use <add-resource> to add.
device/moto/jordan-common/overlay/packages/apps/Phone/res/values/array.xml:23: error: Resource at voice_quality_entries appears in overlay but not in the base package; use <add-resource> to add.
device/moto/jordan-common/overlay/packages/apps/Phone/res/values/array.xml:26: error: Resource does not already exist in overlay at 'voice_quality_values'; use <add-resource> to add.
device/moto/jordan-common/overlay/packages/apps/Phone/res/values/array.xml:27: error: Resource at voice_quality_values appears in overlay but not in the base package; use <add-resource> to add.
device/moto/jordan-common/overlay/packages/apps/Phone/res/values/array.xml:28: error: Resource at voice_quality_values appears in overlay but not in the base package; use <add-resource> to add.
device/moto/jordan-common/overlay/packages/apps/Phone/res/values/array.xml:29: error: Resource at voice_quality_values appears in overlay but not in the base package; use <add-resource> to add.
device/moto/jordan-common/overlay/packages/apps/Phone/res/values/array.xml:30: error: Resource at voice_quality_values appears in overlay but not in the base package; use <add-resource> to add.
device/moto/jordan-common/overlay/packages/apps/Phone/res/values/config.xml:49: error: Resource at voice_quality_param appears in overlay but not in the base package; use <add-resource> to add.
make: *** [out/target/common/obj/APPS/Phone_intermediates/src/R.stamp] Error 1
make: *** Waiting for unfinished jobs....

delete device/moto/jordan-common/overlay/packages/apps/Phone/res/values/array.xml

Note: Recompile with -Xlint:unchecked for details.
target Java: MotoFM (out/target/common/obj/APPS/MotoFM_intermediates/classes)
packages/apps/MotoFM/src/com/motorola/fmradio/FMRadioMain.java:470: 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:694: 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:781: 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:1066: 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
make: *** [out/target/common/obj/APPS/MotoFM_intermediates/classes-full-debug.jar] Error 41
make: *** Waiting for unfinished jobs....

delete /packages/apps/MotoFM

and also delete hostpad as it is not ready in JB yet, I saw you had it in your manifest.

See, My idea is to get the rom to boot first and then you can surely get the above error fixed later with the help of Quarx or Epsylon. If the ROM boots this way (will be missing FM and some minor features), we can be sure that it will be a success for us (Defy users) too once we get the libaudio.so issue solved. You have already said that you are not getting libaudio error anymore.

@Kayant: Bro, I will surely open a account on github this sunday, I am not well these days healthwise so not concentrating much on these things. Till then best of luck in getting libaudio solved.