[Android Themes] monkadelicd:
I'm having issues modifying framework-res.apk

I already checked some of the other posts and guides.

I'm working on a Motorola Backflip running j_r0dd's Preclair v1.0.3

I just switched my carrier from AT&T to T-Mobile.

I get stuck in a boot loop or get no results at all depending on whether I push or copy/paste the new file and whether I do it when the phone is running or in recovery mode.

Any help would be greatly appreciated.

Here is what I had posted on modmymobile.com:

Ok. I'll try again. Thanks for the help. I'll let you know how it goes.

What about signing? If I am using App Manager can I just recompile and sign with App Manager? I am about to try this. I'm performing a nandroid backup now. I'll report back how it works out. The only value I changed was the onsText maxLength value from 18 to 3.

1. I decompiled with App Manager

2. I edited the status-bar.xml file.

3. I choose 11. Compile apk option in Apk Manager.

4. I answered Y to system file and to the option for the keep folder.

5. I deleted status-bar.xml and the resources file from the keep folder.

6. I pressed enter to continued in Apk Manager

7. I selected 12. Sign apk option in Apk Manager.

8. I am now pushing the framework-res.apk to the phone in recovery mode

9. Restarted just fine but no changes have taken place.

I checked the file sizes of the original and the modified framework-res.apk files and the original is 2899KB and the modified is only 1731KB. After I changed the file and rebooted the one on the phone was back to 2899KB.

I'll try copying the file with root explorer instead of pushing just to make sure it is overwriting.

After this operation I get this in the logcat:

11-19 11:22:30.666 195 204 W WallpaperService: Wallpaper service gone: ComponentInfo{a

ndroid/com.android.internal.service.wallpaper.ImageWallpa per**

11-19 11:22:30.666 195 204 W WallpaperService: Reverting to built-in wallpaper!

11-19 11:22:30.666 195 204 W dalvikvm: threadid=15: thread exiting with uncaught excep

tion (group=0x4001e278)

11-19 11:22:30.676 195 204 E AndroidRuntime: Uncaught handler: thread android.server.S

erverThread exiting due to uncaught exception

11-19 11:22:30.676 195 204 E AndroidRuntime: *** EXCEPTION IN SYSTEM PROCESS. System

will crash.

11-19 11:22:30.746 195 204 E AndroidRuntime: java.lang.IllegalArgumentException: Unkno

wn component ComponentInfo{android/com.android.internal.service.wallpaper.ImageWallpa per**

11-19 11:22:30.746 195 204 E AndroidRuntime: at com.android.server.WallpaperMan

agerService.bindWallpaperComponentLocked(Wallpaper ManagerService.java:476)

11-19 11:22:30.746 195 204 E AndroidRuntime: at com.android.server.WallpaperMan

agerService$WallpaperConnection.onServiceDisconnec ted(WallpaperManagerService.java:191)

11-19 11:22:30.746 195 204 E AndroidRuntime: at android.app.ActivityThread$Pack

ageInfo$ServiceDispatcher.doConnected(ActivityThre ad.java:1130)

11-19 11:22:30.746 195 204 E AndroidRuntime: at android.app.ActivityThread$Pack

ageInfo$ServiceDispatcher$RunConnection.run(Activi tyThread.java:1151)

11-19 11:22:30.746 195 204 E AndroidRuntime: at android.os.Handler.handleCallba

ck(Handler.java:587)

11-19 11:22:30.746 195 204 E AndroidRuntime: at android.os.Handler.dispatchMess

age(Handler.java:92)

11-19 11:22:30.746 195 204 E AndroidRuntime: at android.os.Looper.loop(Looper.j

ava:136)

11-19 11:22:30.746 195 204 E AndroidRuntime: at com.android.server.ServerThread

.run(SystemServer.java:469)

11-19 11:22:30.776 288 288 W Launcher.Model: Nobody to tell about the new app. Launch

er is probably loading.

11-19 11:22:30.846 195 204 E CheckinService: Can't find package android

11-19 11:22:31.076 1020 1024 I ActivityThread: Removing dead content provider: settings

11-19 11:22:31.086 596 602 I ActivityThread: Removing dead content provider: subscribe

dfeeds

11-19 11:22:31.086 293 305 I ActivityThread: Removing dead content provider: settings

11-19 11:22:31.096 744 749 I ActivityThread: Removing dead content provider: settings

11-19 11:22:31.106 691 810 I ActivityThread: Removing dead content provider: settings

11-19 11:22:31.106 674 679 I ActivityThread: Removing dead content provider: settings

11-19 11:22:31.106 552 557 I ActivityThread: Removing dead content provider: settings

11-19 11:22:31.116 488 495 I ActivityThread: Removing dead content provider: settings

11-19 11:22:31.126 403 407 I ActivityThread: Removing dead content provider: settings

11-19 11:22:31.126 284 299 I ActivityThread: Removing dead content provider: settings

11-19 11:22:31.126 284 299 I ActivityThread: Removing dead content provider: com.motor

ola.android.providers.settings

11-19 11:22:31.126 284 299 I ActivityThread: Removing dead content provider: com.motor

ola.android.server.checkin

11-19 11:22:31.126 288 301 I ActivityThread: Removing dead content provider: settings

11-19 11:22:31.136 282 297 I ActivityThread: Removing dead content provider: settings

11-19 11:22:31.136 270 274 I ActivityThread: Removing dead content provider: settings

11-19 11:22:31.136 370 376 I ActivityThread: Removing dead content provider: com.motor

ola.android.providers.settings

11-19 11:22:31.146 705 710 I ActivityThread: Removing dead content provider: com.motor

ola.android.server.checkin

11-19 11:22:31.216 641 645 I System.out: util.Log 4: ActivityThread :Removing dead co

ntent provider: settings: android.os.DeadObjectException

11-19 11:22:31.226 155 155 E vold : Framework disconnected

11-19 11:22:31.236 596 601 I ActivityThread: Removing dead content provider: settings

11-19 11:22:31.246 160 160 E installd: eof

11-19 11:22:31.246 160 160 E installd: failed to read size

11-19 11:22:31.256 641 645 W System.err: android.os.DeadObjectException

11-19 11:22:31.256 155 155 E vold : Unable to read framework command (Bad file numb

er)

11-19 11:22:31.256 155 155 E vold : Error processing framework command (Bad file nu

mber)

11-19 11:22:31.266 155 155 E vold : Unable to read framework command (Bad file numb

er)

11-19 11:22:31.266 155 155 E vold : Error processing framework command (Bad file nu

mber)

11-19 11:22:31.286 420 429 I System.out: util.Log 4: ActivityThread :Removing dead co

ntent provider: settings: android.os.DeadObjectException

11-19 11:22:31.286 420 429 W System.err: android.os.DeadObjectException

11-19 11:22:31.306 641 645 W System.err: at android.os.BinderProxy.transact(Native

Method)

11-19 11:22:31.306 641 645 W System.err: at android.os.ICheckinService$Stub$Proxy.l

og(ICheckinService.java:327)

11-19 11:22:31.316 641 645 W System.err: at android.util.Log.logCheckin(Log.java:16

1)

11-19 11:22:31.316 641 645 W System.err: at android.util.Log.i(Log.java:273)

Then this just loops:

11-19 11:22:32.356 1341 1341 E QC-QMI : Client: qmux_client ID is 53d

11-19 11:22:33.566 1340 1340 E AudioHardwareMSM72XX: start AudioHardware

11-19 11:22:33.576 1340 1340 E AudioHardwareMSM72XX: constructed (0 SND endpoints)

11-19 11:22:33.576 1340 1340 E AudioHardwareMSM72XX: AudioHardware::initChec

11-19 11:22:33.576 1340 1340 E AudioHardwareMSM72XX: AudioHardware::initChec

11-19 11:22:33.606 1340 1354 E AudioHardwareMSM72XX: msm72xx_enable_audpp: 0x0000

11-19 11:22:33.786 1342 1342 I SamplingProfilerIntegration: Profiler is disabled.

11-19 11:22:33.836 1342 1342 I Zygote : Preloading classes...

11-19 11:22:37.326 1342 1342 W ResourceType: Resources don't contain package for resourc

e number 0x010b0001

11-19 11:22:37.326 1342 1342 W dalvikvm: Exception Landroid/content/res/Resources$NotFou

ndException; thrown during Landroid/text/AutoText;.<clinit>

11-19 11:22:37.346 1342 1342 E Zygote : Error preloading android.text.AutoText.

11-19 11:22:37.346 1342 1342 E Zygote : java.lang.ExceptionInInitializerError

11-19 11:22:37.346 1342 1342 E Zygote : at java.lang.Class.classForName(Native Met

hod)

11-19 11:22:37.346 1342 1342 E Zygote : at java.lang.Class.forName(Class.java:237)

11-19 11:22:37.346 1342 1342 E Zygote : at java.lang.Class.forName(Class.java:183)

11-19 11:22:37.346 1342 1342 E Zygote : at com.android.internal.os.ZygoteInit.prel

oadClasses(ZygoteInit.java:295)

11-19 11:22:37.346 1342 1342 E Zygote : at com.android.internal.os.ZygoteInit.main

(ZygoteInit.java:582)

11-19 11:22:37.346 1342 1342 E Zygote : at dalvik.system.NativeStart.main(Native M

ethod)

11-19 11:22:37.346 1342 1342 E Zygote : Caused by: android.content.res.Resources$NotFou

ndException: Resource ID #0x10b0001

11-19 11:22:37.346 1342 1342 E Zygote : at android.content.res.Resources.getValue(

Resources.java:891)

11-19 11:22:37.346 1342 1342 E Zygote : at android.content.res.Resources.loadXmlRe

sourceParser(Resources.java:1865)

11-19 11:22:37.346 1342 1342 E Zygote : at android.content.res.Resources.getXml(Re

sources.java:779)

11-19 11:22:37.346 1342 1342 E Zygote : at android.text.AutoText.init(AutoText.jav

a:160)

11-19 11:22:37.346 1342 1342 E Zygote : at android.text.AutoText.<init>(AutoText.j

ava:76)

11-19 11:22:37.346 1342 1342 E Zygote : at android.text.AutoText.<clinit>(AutoText

.java:56)

11-19 11:22:37.346 1342 1342 E Zygote : ... 6 more

11-19 11:22:37.356 1342 1342 W dalvikvm: threadid=3: thread exiting with uncaught except

ion (group=0x4001e278)

When I reboot I get that second loop over and over while the motorola "m" is on the white screen.