[ROM][ICS][Sense][4.0.3][5-12-12] icsense-deck [0.4]

Search This thread

bkertz

Senior Member
Aug 8, 2010
56
8
St. Louis
Has anybody else tried decompiling and recompiling the framework-res.apk from this ROM? I am trying to get a battery mod working on this ROM. Since the battery mods for ICS for the EVO3D break the reboot app on this ROM, I am trying to do it myself. I'm running into a couple problems, and I'm not sure if they are related.

First:
Code:
C:\android_debug>apktool d framework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_adb.png
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...


When I try to recompile:
Code:
C:\android_debug>apktool b framework-res framework-res.apk
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\android_debug\framework-res\res\values\anims.xml:3: error: Found tag anim where item is expected
C:\android_debug\framework-res\res\values\public.xml:6764: error: Public symbol anim/htc_ime_deceler
ate_interpolator declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exe
c command: [aapt, p, -F, C:\Users\Kertz\AppData\Local\Temp\APKTOOL1572087323020230807.tmp, -x, -S, C
:\android_debug\framework-res\res, -M, C:\android_debug\framework-res\AndroidManifest.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
        at brut.androlib.Androlib.buildResources(Androlib.java:248)
        at brut.androlib.Androlib.build(Androlib.java:171)
        at brut.androlib.Androlib.build(Androlib.java:154)
        at brut.apktool.Main.cmdBuild(Main.java:174)
        at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Kertz\AppData\L
ocal\Temp\APKTOOL1572087323020230807.tmp, -x, -S, C:\android_debug\framework-res\res, -M, C:\android
_debug\framework-res\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:83)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
        ... 6 more


Any help would be appreciated!
 
Last edited:

bkertz

Senior Member
Aug 8, 2010
56
8
St. Louis
I figured out the issue I was running into while recompiling framework-res.apk. I've had a fully functional battery mod for this ROM for several days now, and I have not noticed any bugs. If anyone's interested, I'll share the battery mod.
 

sparksco

Inactive Recognized Developer
Feb 27, 2010
10,048
8,861
docs.google.com
I figured out the issue I was running into while recompiling framework-res.apk. I've had a fully functional battery mod for this ROM for several days now, and I have not noticed any bugs. If anyone's interested, I'll share the battery mod.

Nice is it like a extra option in settings or just a default mod?
 

bkertz

Senior Member
Aug 8, 2010
56
8
St. Louis
Nice is it like a extra option in settings or just a default mod?

Not sure exactly what you are asking about, so...

To fix the problem I was having with recompiling framework-res.apk, I found a solution on the One X forums:

Code:
go to res/values anims.xml

change this 

<anim name="htc_ime_decelerate_interpolator">@anim/zzz_htc_ime_decelerate_interpolator</anim>

to this

<item type="anim" name="htc_ime_decelerate_interpolator">@anim/zzz_htc_ime_decelerate_interpolator</item>

After that, I just replaced the framework-res.apk in the zip file from this thread (http://xdaforums.com/showthread.php?t=1198148) and then flashed the zip.
 
  • Like
Reactions: jorgonv

Top Liked Posts

  • There are no posts matching your filters.
  • 79
    *updated to 0.4*
    -Added Roaming fix that does not break 3D.
    -Thats all folks!

    *updated to 0.3* once again, eh not much but here...
    -Added Reboot to recovery option.
    -Reduced overall footprint sized and cleaned up some apks.
    -Optimized a couple framework jars.
    -Eh thats enough for now.

    *updated to 0.2* eh not much but here...
    -Cleaned up ramdisk.
    -Removed MMS compression.
    -Up'd MMS limit.
    -Removed some unused scripts.
    -Removed ADB icon.
    -Removed GPS icons. (still shows when connected to sats)
    -Cleaned up/removed some other unused files.
    -Added Flashlight.
    -Probably more that i am forgetting.

    No need to wipe if coming from 0.1, 0.2, or 0.3 although a wipe to cache and dalvic wont hurt.

    Based off leaked vm rom. Yall should know what to do by now, if not dont flash this. :)

    *NO YOU DO NOT NEED THE UPDATED FIRMWARE TO RUN THIS ROM*

    Not much has been changed, removed some bloat, added working vvm, and made the rom work ;)

    EDIT: Phone will Reboot once on first install. Dont be scurred!

    http://d-h.st/Ff4

    -deck
    15
    updated. Please check OP for more info. enjoy.

    -deck
    9
    Based off leaked vm rom. Yall should know what to do by now, if not dont flash this. :)

    http://d-h.st/k5U

    -deck

    features??? differences from other builds?
    9
    updated to 0.3, please refer to OP for more information, looking into this roaming and 3d fix next.

    -deck
    5
    another quick update to 0.4, fix roaming settings without breaking 3D.

    OP for info.

    -deck