[Android Software Development] spezi77:
Hello,

I am stuck with porting MIUI V 3.10.11 (JB 4.2.2) to HTC Desire. It looks like the same or a very similar issue as UFO has posted. I have also edited the GPSLocationProvider.smali and then I got the same errors UFO has reported.

I have used the right framework and settings apps, both come from port rom.

[MENTION=4960614]thehacka1[/MENTION]

Any further hints?

D/dalvikvm( 427): WAIT_FOR_CONCURRENT_GC blocked 15ms
D/dalvikvm( 427): GC_CONCURRENT freed 115K, 37% free 6734K/10576K, paused 6ms+4
ms, total 80ms
D/dalvikvm( 427): WAIT_FOR_CONCURRENT_GC blocked 24ms
E/installd( 159): install requires 3 arguments (4 given)
W/PackageManager( 427): Package com.android.browser desires unavailable shared
library com.android.qualcomm.modemwarmup; ignoring!
W/PackageParser( 427): No actions in intent filter at /system/app/Bluetooth.apk
Binary XML file line #123
W/PackageParser( 427): No actions in intent filter at /system/app/Bluetooth.apk
Binary XML file line #140
I/PackageManager( 427): /system/app/Bluetooth.apk changed; collecting certs
E/installd( 159): install requires 3 arguments (4 given)
I/PackageManager( 427): /system/app/BaiduNetworkLocation.apk changed; collectin
g certs
E/installd( 159): install requires 3 arguments (4 given)
I/PackageManager( 427): /system/app/BackupRestoreConfirmation.apk changed; coll
ecting certs
D/dalvikvm( 427): GC_CONCURRENT freed 598K, 37% free 6717K/10576K, paused 3ms+3
3ms, total 75ms
E/installd( 159): install requires 3 arguments (4 given)
I/PackageManager( 427): /system/app/Backup.apk changed; collecting certs
E/installd( 159): install requires 3 arguments (4 given)
I/PackageManager( 427): /system/app/ApplicationsProvider.apk changed; collectin
g certs
E/installd( 159): install requires 3 arguments (4 given)
I/PackageManager( 427): /system/app/AntiSpam.apk changed; collecting certs
D/dalvikvm( 427): GC_CONCURRENT freed 2256K, 53% free 5046K/10576K, paused 3ms+
18ms, total 75ms
D/dalvikvm( 427): WAIT_FOR_CONCURRENT_GC blocked 15ms
E/installd( 159): install requires 3 arguments (4 given)
I/PackageManager( 427): /system/app/AndroidTerm.apk changed; collecting certs
E/installd( 159): install requires 3 arguments (4 given)
I/PackageManager( 427): /system/app/AirkanPhoneService.apk changed; collecting
certs
E/installd( 159): install requires 3 arguments (4 given)
D/dalvikvm( 427): GC_CONCURRENT freed 580K, 53% free 4977K/10576K, paused 5ms+9
ms, total 64ms
D/dalvikvm( 427): WAIT_FOR_CONCURRENT_GC blocked 5ms
I/PackageManager( 427): /vendor/app/LowSoundFixer.apk changed; collecting certs

E/installd( 159): install requires 3 arguments (4 given)
I/PackageManager( 427): /vendor/app/HwaSettings.apk changed; collecting certs
E/installd( 159): install requires 3 arguments (4 given)
D/ExtraPackageManagerServices( 427): No files in preinstall app dir /data/prein
stall_apps
I/PackageManager( 427): Time to scan packages: 16.864 seconds
W/PackageManager( 427): Removing dangling permission: com.tmobile.permission.AC
CESS_DRM_THEME from package null
D/dalvikvm( 427): GC_CONCURRENT freed 439K, 54% free 4940K/10576K, paused 3ms+4
ms, total 35ms
D/dalvikvm( 427): WAIT_FOR_CONCURRENT_GC blocked 18ms
D/dalvikvm( 427): GC_EXPLICIT freed 166K, 55% free 4774K/10576K, paused 4ms+5ms
, total 46ms
I/SystemServer( 427): User Service
I/SystemServer( 427): Account Manager
I/SystemServer( 427): Content Manager
I/SystemServer( 427): System Content Providers
E/ActivityThread( 427): Failed to find provider info for settings
E/System ( 427): ******************************************
E/System ( 427): ************ Failure starting core service
E/System ( 427): java.lang.NullPointerException
E/System ( 427): at android.provider.Settings$NameValueCache.getStringFor
User(Settings.java:826)
E/System ( 427): at android.provider.Settings$Secure.getStringForUser(Set
tings.java:3712)
E/System ( 427): at android.provider.Settings$Secure.getIntForUser(Settin
gs.java:3806)
E/System ( 427): at android.provider.Settings$Secure.getInt(Settings.java
:3800)
E/System ( 427): at com.android.server.am.CoreSettingsObserver.populateCo
reSettings(CoreSettingsObserver.java:93)
E/System ( 427): at com.android.server.am.CoreSettingsObserver.sendCoreSe
ttings(CoreSettingsObserver.java:70)
E/System ( 427): at com.android.server.am.CoreSettingsObserver.<init>(Cor
eSettingsObserver.java:55)
E/System ( 427): at com.android.server.am.ActivityManagerService.installS
ystemProviders(ActivityManagerService.java:7000)
E/System ( 427): at com.android.server.ServerThread.run(SystemServer.java
:305)
I/SystemServer( 427): Input Method Service
E/ActivityThread( 427): Failed to find provider info for settings
F/SystemServer( 427): BOOT FAILURE starting Input Manager Service
F/SystemServer( 427): java.lang.NullPointerException
F/SystemServer( 427): at android.provider.Settings$NameValueCache.getStringFor
User(Settings.java:826)
F/SystemServer( 427): at android.provider.Settings$Secure.getStringForUser(Set
tings.java:3712)
F/SystemServer( 427): at com.android.server.InputMethodManagerService$InputMet
hodSettings.getSelectedInputMethod(InputMethodManagerService.java:3879)
F/SystemServer( 427): at com.android.server.InputMethodManagerService.<init>(I
nputMethodManagerService.java:681)
F/SystemServer( 427): at com.android.server.ServerThread.run(SystemServer.java
:393)
W/SystemServer( 427): ***********************************************
I/SystemServer( 427): Accessibility Manager
F/SystemServer( 427): BOOT FAILURE making display ready
F/SystemServer( 427): java.lang.NullPointerException
F/SystemServer( 427): at com.android.server.ServerThread.run(SystemServer.java
:409)
W/dalvikvm( 427): threadid=11: thread exiting with uncaught exception (group=0x
41e0a930)
I/Process ( 427): Sending signal. PID: 427 SIG: 9
W/SystemServer( 427): ***********************************************
E/AndroidRuntime( 427): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.S
erverThread
E/AndroidRuntime( 427): java.lang.NullPointerException
E/AndroidRuntime( 427): at com.android.server.am.ActivityManagerService.
showBootMessage(ActivityManagerService.java:4433)
E/AndroidRuntime( 427): at com.android.server.ServerThread.run(SystemSer
ver.java:421)
I/ServiceManager( 149): service 'content' died
I/ServiceManager( 149): service 'activity' died
I/ServiceManager( 149): service 'gfxinfo' died
I/ServiceManager( 149): service 'display' died
I/ServiceManager( 149): service 'meminfo' died
I/ServiceManager( 149): service 'scheduling_policy' died
I/ServiceManager( 149): service 'dbinfo' died
I/ServiceManager( 149): service 'package' died
I/ServiceManager( 149): service 'user' died
I/ServiceManager( 149): service 'account' died
I/ServiceManager( 149): service 'usagestats' died
I/ServiceManager( 149): service 'accessibility' died
I/ServiceManager( 149): service 'permission' died
I/ServiceManager( 149): service 'telephony.registry' died
I/ServiceManager( 149): service 'power' died
I/ServiceManager( 149): service 'cpuinfo' died
I/ServiceManager( 149): service 'sensorservice' died
I/ServiceManager( 149): service 'batteryinfo' died
I/ServiceManager( 149): service 'entropy' died
E/installd( 159): eof
E/installd( 159): failed to read size
I/installd( 159): closing connection
I/Zygote ( 155): Exit zygote because system server (427) has terminated
I/Netd ( 476): Netd 1.0 starting
W/InterfaceController( 476): Warning (Cannot load library: load_library(linker.
cpp:747): library "/system/lib/libnetcmdiface.so" not found) while opening the n
et interface command library