This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Issues during Building Android Source

Hi ,
 
We are building Android 4.0.1 source code, regarding it we have some query.

1) We are adding a new package in android framework in /base/packages/,
while compiling and building i m getting an error that package "com.xx.xxxxxx not exist"

Do i need to register this new package somewhere in framework?

2) We want to modified  System UI , but we seen there is no source code available to modify , in android source code  provided for Blaze(Android 4.0.1).

Check attached image: system-ui.png

3) We want to add another lock pattern for device lock/unlock. I added requed constant for new lock option but when I select , it giving me error dialog "unfortunately, Settings has stopped" and error following error log :

"02-25 06:34:56.884: E/AndroidRuntime(697): java.lang.IllegalArgumentException: Invalid quality constant: 0x10
02-25 06:34:56.884: E/AndroidRuntime(697):     at android.os.Parcel.readException(Parcel.java:1331)
02-25 06:34:56.884: E/AndroidRuntime(697):     at android.os.Parcel.readException(Parcel.java:1281)
02-25 06:34:56.884: E/AndroidRuntime(697):     at android.app.admin.IDevicePolicyManager$Stub$Proxy.setActivePasswordState(IDevicePolicyManager.java:1739)
02-25 06:34:56.884: E/AndroidRuntime(697):     at android.app.admin.DevicePolicyManager.setActivePasswordState(DevicePolicyManager.java:1345)
02-25 06:34:56.884: E/AndroidRuntime(697):     at com.android.internal.widget.LockPatternUtils.clearLock_DS(LockPatternUtils.java:430)
02-25 06:34:56.884: E/AndroidRuntime(697):     at com.android.settings.ChooseLockGeneric$ChooseLockGenericFragment.updateUnlockMethodAndFinish(ChooseLockGeneric.java:334)
02-25 06:34:56.884: E/AndroidRuntime(697):     at com.android.settings.ChooseLockGeneric$ChooseLockGenericFragment.onPreferenceTreeClick(ChooseLockGeneric.java:127) . . . . . . . ."

Suggest what I am missing/ doing wrong.

thanks