Micode Patchrom framework-res.apk ?!


Jun 29, 2012
42
12
18
#1
Hello !

I'm Alex93917, i port MIUI to I9001 Galaxy S Plus here : http://forum.xda-developers.com/showthread.php?t=1729578

And, my last release is 2.8.10. But, since Jelly Bean release for Nexus S, i have no source to port 2.8.17. Then, i've seen "Micode Patchrom" on Github. I downloaded it, and port it.

But, i've problem with "framework-res.apk". What modify in this file ?

What should i do with this : https://github.com/MiCode/patchrom_miui/tree/ics/src/frameworks/miui/core/res/res

Thank you ! :)
 
Jun 29, 2012
42
12
18
#3
Yes. It's why i try to port with it !

My phone haven't Jelly Bean functionnal release.

I try to port from patchrom for ICS. But, what should i do with framework-res.apk ?

Thank you.

Envoyé depuis mon GT-I9001 avec Tapatalk
 
Jun 29, 2012
42
12
18
#5
I have to patch my Framework-res.apk but, i don't know how do that !

When i put the Framework-res.apk from my 2.8.10, it's booting, but much FC. When i put my CM9 Framework-res.apk, it doesn't boot.

I suggest i have to patch this file, but how do that ?
 
Jun 29, 2012
42
12
18
#7
Thank you !

But, which Framework-res.apk i have to use ? From my CM9 ?

Because with my Framework-res.apk from CM9, it doesn't boot ... When i put my Framework-res.apk from 2.8.10 Nexus S, it's booting, but with FC, but i arrive in Lockscreen.

I think the problem is the Framework-res.apk :'(

Can you help me ? :)

Thank you !
 

iBotPeaches

Script Gatekeeper
Oct 31, 2011
3,811
1,121
335
#8
Depends.

If your porting JB use CM10. If your porting ICS use CM9.

You have to use APKs from the version of Android your porting.
 
Jun 29, 2012
42
12
18
#9
I use framework-res.apk from my CM9, but it bootloops, i get this :

Code:
10:01:57.880 Info ActivityManager 1475  Sending system update to: ComponentInfo{com.android.providers.calendar/com.android.providers.calendar.CalendarUpgradeReceiver}
10:01:57.880 Info ActivityManager 1475  Sending system update to: ComponentInfo{com.android.providers.contacts/com.android.providers.contacts.ContactsUpgradeReceiver}
10:01:57.880 Info ActivityManager 1475  Sending system update to: ComponentInfo{com.google.android.gsf/com.google.android.gsf.loginservice.MigrateToAccountManagerBroadcastReceiver}
10:01:57.880 Info Zygote 1475  Process: zygote socket opened
10:01:57.880 Info ActivityManager 1475  Sending system update to: ComponentInfo{com.android.providers.media/com.android.providers.media.MediaUpgradeReceiver}
10:01:58.036 Info ActivityManager 1475  Start proc com.android.providers.calendar for broadcast com.android.providers.calendar/.CalendarUpgradeReceiver: pid=1548 uid=10005 gids={3003, 1015}
10:01:58.036 Info LockScreenResourceLoader 1475  getManifestRoot:en
10:01:58.036 Info ActivityManager 1475  Launching preboot mode app: ProcessRecord{41804b70 1548:com.android.providers.calendar/10005}
10:01:58.036 Warning dalvikvm 1475  threadid=11: thread exiting with uncaught exception (group=0x40e3f1f8)
10:01:58.145 Debug dalvikvm 1475  GC_CONCURRENT freed 1532K, 23% free 11133K/14339K, paused 3ms+5ms
10:01:58.145 Error AndroidRuntime 1475  *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
10:01:58.145 Error AndroidRuntime 1475  java.lang.NullPointerException: missing IConnectivityManager
10:01:58.145 Error AndroidRuntime 1475      at com.android.internal.util.Preconditions.checkNotNull(Preconditions.java:52)
10:01:58.145 Error AndroidRuntime 1475      at android.net.ConnectivityManager.<init>(ConnectivityManager.java:594)
10:01:58.145 Error AndroidRuntime 1475      at android.app.ContextImpl$8.createStaticService(ContextImpl.java:296)
10:01:58.145 Error AndroidRuntime 1475      at android.app.ContextImpl$StaticServiceFetcher.getService(ContextImpl.java:230)
10:01:58.145 Error AndroidRuntime 1475      at android.app.ContextImpl.getSystemService(ContextImpl.java:1197)
10:01:58.145 Error AndroidRuntime 1475      at android.content.ContextWrapper.getSystemService(ContextWrapper.java:386)
10:01:58.145 Error AndroidRuntime 1475      at com.google.android.backup.BackupTransportService$2.onReceive(BackupTransportService.java:674)
10:01:58.145 Error AndroidRuntime 1475      at com.google.android.backup.BackupTransportService$4.run(BackupTransportService.java:750)
10:01:58.145 Error AndroidRuntime 1475      at android.os.Handler.handleCallback(Handler.java:605)
10:01:58.145 Error AndroidRuntime 1475      at android.os.Handler.dispatchMessage(Handler.java:92)
10:01:58.145 Error AndroidRuntime 1475      at android.os.Looper.loop(Looper.java:137)
10:01:58.145 Error AndroidRuntime 1475      at com.android.server.ServerThread.run(SystemServer.java:748)
10:01:58.145 Info Process 1475  Sending signal. PID: 1475 SIG: 9
10:01:58.145 Info ActivityManager 1475  Start proc android.process.acore for broadcast com.android.providers.contacts/.ContactsUpgradeReceiver: pid=1568 uid=10008 gids={3003, 1015}
10:01:58.145 Info ServiceManager 132  service 'hardware' died
10:01:58.145 Info ServiceManager 132  service 'vibrator' died
10:01:58.145 Info ServiceManager 132  service 'battery' died
10:01:58.145 Info ServiceManager 132  service 'device_policy' died
10:01:58.145 Info ServiceManager 132  service 'permission' died
10:01:58.145 Info ServiceManager 132  service 'activity' died
10:01:58.145 Info ServiceManager 132  service 'netpolicy' died
10:01:58.145 Info ServiceManager 132  service 'usagestats' died
10:01:58.145 Info ServiceManager 132  service 'sensorservice' died
10:01:58.145 Info ServiceManager 132  service 'gfxinfo' died
10:01:58.145 Info ServiceManager 132  service 'cpuinfo' died
10:01:58.145 Info ServiceManager 132  service 'package' died
10:01:58.145 Info ServiceManager 132  service 'meminfo' died
10:01:58.145 Info ServiceManager 132  service 'telephony.registry' died
10:01:58.145 Info ServiceManager 132  service 'wifip2p' died
10:01:58.145 Info ServiceManager 132  service 'textservices' died
10:01:58.145 Info ServiceManager 132  service 'content' died
10:01:58.145 Info ServiceManager 132  service 'power' died
10:01:58.145 Info ServiceManager 132  service 'entropy' died
10:01:58.145 Info ServiceManager 132  service 'clipboard' died
10:01:58.145 Info ServiceManager 132  service 'netstats' died
10:01:58.145 Info ServiceManager 132  service 'statusbar' died
10:01:58.145 Info ServiceManager 132  service 'account' died
10:01:58.145 Info ServiceManager 132  service 'network_management' died
10:01:58.145 Info ServiceManager 132  service 'batteryinfo' died
10:01:58.145 Info ServiceManager 132  service 'alarm' died
10:01:58.145 Info ServiceManager 132  service 'window' died
10:01:58.145 Info ServiceManager 132  service 'input_method' died
10:01:58.145 Info ServiceManager 132  service 'accessibility' died
10:01:58.145 Info ServiceManager 132  service 'bluetooth' died
10:01:58.145 Info ServiceManager 132  service 'bluetooth_a2dp' died
10:01:58.145 Info ServiceManager 132  service 'miui.Firewall' died
10:01:58.145 Info ServiceManager 132  service 'wifi' died
10:01:58.145 Info ServiceManager 132  service 'throttle' died
10:01:58.145 Info ServiceManager 132  service 'notification' died
10:01:58.145 Info ServiceManager 132  service 'devicestoragemonitor' died
10:01:58.145 Info ServiceManager 132  service 'location' died
10:01:58.145 Info ServiceManager 132  service 'country_detector' died
10:01:58.145 Info ServiceManager 132  service 'search' died
10:01:58.145 Info ServiceManager 132  service 'dropbox' died
10:01:58.145 Info ServiceManager 132  service 'wallpaper' died
10:01:58.145 Info ServiceManager 132  service 'audio' died
10:01:58.145 Info ServiceManager 132  service 'usb' died
10:01:58.145 Info ServiceManager 132  service 'uimode' died
10:01:58.145 Info ServiceManager 132  service 'backup' died
10:01:58.145 Info ServiceManager 132  service 'appwidget' died
10:01:58.145 Info ServiceManager 132  service 'diskstats' died
10:01:58.145 Info ServiceManager 132  service 'samplingprofiler' died
10:01:58.145 Warning AudioFlinger 1434  power manager service died !!!
10:01:58.145 Error installd 143  eof
10:01:58.145 Error installd 143  failed to read size
10:01:58.145 Info installd 143  closing connection
When i put Framework-res.apk from Nexus S 2.8.10 (ICS Release), it's working, but many many FC.

Port from Nexus S was easier ... :'(