help! status bar - Micromax A110

please make the status bar 75% transparent anyone...am attaching the SystemUI.apk
followed this : http://forum.xda-developers.com/showthread.php?t=1890150
got error while re compiling
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Elcot>chdir Desktop
C:\Users\Elcot\Desktop>apktool if SystemUI.apk
I: Framework installed to: C:\Users\Elcot\apktool\framework\127.apk
C:\Users\Elcot\Desktop>apktool d SystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Elcot\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\Elcot\Desktop>apktool b SystemUI NEW.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'data_connection_datach_timeout_error_msg' has no default
translation in C:\Users\Elcot\Desktop\SystemUI\res; found: de es fr in it ms pt
tr vi
I: Building apk file...
C:\Users\Elcot\Desktop>
please help

pradeepjoshua said:
please make the status bar 75% transparent anyone...am attaching the SystemUI.apk
followed this : http://forum.xda-developers.com/showthread.php?t=1890150
got error while re compiling
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Elcot>chdir Desktop
C:\Users\Elcot\Desktop>apktool if SystemUI.apk
I: Framework installed to: C:\Users\Elcot\apktool\framework\127.apk
C:\Users\Elcot\Desktop>apktool d SystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Elcot\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\Elcot\Desktop>apktool b SystemUI NEW.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'data_connection_datach_timeout_error_msg' has no default
translation in C:\Users\Elcot\Desktop\SystemUI\res; found: de es fr in it ms pt
tr vi
I: Building apk file...
C:\Users\Elcot\Desktop>
please help
Click to expand...
Click to collapse
This Post shouldnt be here...Anyway,just telling...The Commands used are wrong bro....Try again.......
C:\Users\Elcot\Desktop>apktool if SystemUI.apk
I: Framework installed to: C:\Users\Elcot\apktool\framework\127.apk
In this Script,replace SystemUI.apk with Framework_res.apk thats inside System/framework

I am modding the Status Bar but I have all the modded framework and system ui so please if you can then please upload the stock MMXA110 framework and systemui original from stock ROM.
I will mod it for everyone I promise...
Hit Thanks Instead of Saying It......

BOND1987 said:
I am modding the Status Bar but I have all the modded framework and system ui so please if you can then please upload the stock MMXA110 framework and systemui original from stock ROM.
I will mod it for everyone I promise...
Hit Thanks Instead of Saying It......
Click to expand...
Click to collapse
Sure I'll di it asap
Sent from my Micromax A110 using Tapatalk 2

BOND1987 said:
I am modding the Status Bar but I have all the modded framework and system ui so please if you can then please upload the stock MMXA110 framework and systemui original from stock ROM.
I will mod it for everyone I promise...
Hit Thanks Instead of Saying It......
Click to expand...
Click to collapse
Here they are
http://db.tt/gbL5Hnr3
Sent from my Micromax A110 using Tapatalk 2

pradeepjoshua said:
Here they are
http://db.tt/gbL5Hnr3
Sent from my Micromax A110 using Tapatalk 2
Click to expand...
Click to collapse
How to use them

Matthew_Farrell said:
How to use them
Click to expand...
Click to collapse
Its not for users buddy....
Its for the development only...
After development you will be able to use it.....
Hit Thanks Instead of Saying It......

BOND1987 said:
Its not for users buddy....
Its for the development only...
After development you will be able to use it.....
Hit Thanks Instead of Saying It......
Click to expand...
Click to collapse
i hope you will develop it bro:highfive:

Related

[MOD][CM9]V6 Soft Keys, Percent Battery, Center Clock for CyanogenMod ICS

This Theme / Mod is for [ROM][IML74K][4.0.3] CyanogenMod 9 experimental Build [01-02-2012]. Do not proceed if you do not understand.
v6 Matius44 New Battery PNGs + all previous mods POST
v6b Matius44 New Battery PNGs -(minus) soft keys mod POST
v5 Matius44 Update Soft Keys Mod & Lockscreen Rotation POST
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
V4 Update L8R 1/11 - Center clock bar mod added to SystemUI.apk. Posting download for v4
V4 Download CM9-AlphaModV4-BatteryPercentMod-plus-center-clock.zip
MD5 Checksum: afd305b82d251a768e28a2cf4a0e0294
Mirror: http://forum.xda-developers.com/showpost.php?p=22845952&postcount=32
Click to expand...
Click to collapse
V3 Update 1/11 - I was able to compile the proper files to get the battery percentage meter to be working properly with all 100 PNG charging steps. Basically, following this guide: http://forum.xda-developers.com/showpost.php?p=19760562&postcount=3
Now that the 'dirty work' is done, you can obviously just replace the PNG icons within the archive to your favorite battery mod.
SystemUI\res\drawable-sw600dp-xhdpi\stat_sys_battery_*.png
SystemUI\res\drawable-xhdpi\stat_sys_battery_*.png
Next up will likely be adding that center clock mod just for kicks
V3 Download CM9-BatteryPercentMod-v3.zip
MD5 Checksum: 0016a49429049a9e6aaf7ead5532906f
Click to expand...
Click to collapse
Flash ZIP in ClockWorkMod
(nAndroid first, I'm not responsible, yada yada, how the hell did you get ICS on your Note? Yeah... you know how to use CMW )
FYI
v1 and v2 of this mod only includes the battery steps for 15, 28, 43, 57, 71, 85, & 100. Not sure why the autoapktool is having trouble with decompiling the framework. Still, gives you a better idea where you are at and the best we have for right now
::EDIT:: V3 now has fully working 100 step LCD battery status indicators!
Hello all,
I love my new Galaxy Note, but obviously can't wait for ICS. I'm currently just carrying my point and shoot along with me because the camera doesn't work in CM9 (yet). Other than that, ICS works great at stock DPI (320). Switching DPI yeilds awesome but unstable results (160 dpi <-WHOA, I want that as my daily driver youtube link)
Here is a battery percentage mod (plus a few extras hidden in there). Depending on how long I can keep with an Alpha build, I might update this a bit more (but ICS is just so damn close to perfect... I guess someone will have to do it all in Red)
Click to expand...
Click to collapse
I take it you are decompiling and compiling a stock framework-res.apk? It won't work on a themed apk.
nobnut said:
I take it you are decompiling and compiling a stock framework-res.apk? It won't work on a themed apk.
Click to expand...
Click to collapse
Yup. This thread talks is very similar to the problem I'm having:
http://code.google.com/p/android-apktool/issues/detail?id=267
Eventually, someone wiser than I will figure this out and share with the rest of us
It is possibly an issue with the API level in the tool you are using. I take it you are using the latest version of autoapktool.
I use APK Multitool and haven't had this problem
You have modified the SystemUI.apk for ICS 4.0.3? I will try this:
http://apkmultitool.com/?q=node/5
I see 1.0.1 Apk multitool was updated 1/1/12, so maybe that is it. I was using APK Manger 4.9
Hmm... there is still something going on here.
Code:
--------------------------------------------------------------------------
|Tue 01/10/2012 -- 9:40:30.41|
--------------------------------------------------------------------------
--2012-01-10 09:40:30-- http://update.apkmultitool.com/apkver.txt
Resolving update.apkmultitool.com (update.apkmultitool.com)... 216.172.99.21
Connecting to update.apkmultitool.com (update.apkmultitool.com)|216.172.99.21|:8
0... connected.
HTTP request sent, awaiting response... 200 OK
Length: 152 [text/plain]
Saving to: `apkver.txt'
0K 100% 2.52M=0s
2012-01-10 09:40:31 (2.52 MB/s) - `apkver.txt' saved [152/152]
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)
Could Not Find C:\SDK\place-apk-here-for-modding\../place-apk-here-for-modding/s
ignedSystemUI.apk
Could Not Find C:\SDK\place-apk-here-for-modding\../place-apk-here-for-modding/u
nsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Nick Shertzer\apktool\framework\1.
apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
label, value=0x01040404
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x010302ee
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x010302fc
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x010803f7
W: Could not decode attr value, using undecoded value instead: ns=android, name=
opacity, value=0xfffffffd
W: Could not decode attr value, using undecoded value instead: ns=android, name=
opacity, value=0xfffffffd
W: Could not decode attr value, using undecoded value instead: ns=android, name=
baseline, value=0x00001201
W: Could not decode attr value, using undecoded value instead: ns=android, name=
baseline, value=0x00001201
W: Could not decode attr value, using undecoded value instead: ns=android, name=
baseline, value=0x00001501
W: Could not decode attr value, using undecoded value instead: ns=android, name=
baseline, value=0x00001501
W: Could not decode attr value, using undecoded value instead: ns=android, name=
src, value=0x010803f6
W: Could not decode attr value, using undecoded value instead: ns=android, name=
exitFadeDuration, value=0x010e0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x010102f0
W: Could not decode attr value, using undecoded value instead: ns=android, name=
alpha, value=0x3ecccccd
W: Could not decode attr value, using undecoded value instead: ns=android, name=
animateLayoutChanges, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=
animateLayoutChanges, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=
state_activated, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010804b6
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010804b6
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010804b6
W: Could not decode attr value, using undecoded value instead: ns=android, name=
exitFadeDuration, value=0x010e0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textAppearance, value=0x010301ea
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x0108051f
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010804b2
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x010804b6
W: Could not decode attr value, using undecoded value instead: ns=android, name=
interpolator, value=0x010c0008
I: Decoding values*/* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x010301e9
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
ceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSca
larValue.java:43)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(Re
sStyleValue.java:48)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResour
ces.java:264)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:137
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
Press any key to continue . . .
I haven't done ICS.
I think you might be facing a similar issue to the deodex problem on ICS.
You can read more about it here.
EDIT: I misunderstood your post title. I thought you were using the CM9 battery and not CM9 sources. The above link I posted is probably related to your problem.
I think I found what I need here:
http://forum.xda-developers.com/showpost.php?p=19760562&postcount=3
Going to try this later on today, work permitting.
nickshertzer said:
I think I found what I need here:
http://forum.xda-developers.com/showpost.php?p=19760562&postcount=3
Going to try this later on today, work permitting.
Click to expand...
Click to collapse
Yeah, I was trying this earlier today and failed twice.
I decompile SystemUI.apk, replace the pngs and the two xmls, recompile the apk, all goes well. However, when I push the apk to /system/app and reboot I lose the status bar completely (and the wallpaper)...
I'm still having some trouble with the compile.
Code:
C:\SDK\APK>apktool b SystemUI SystemUI.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\SDK\APK\SystemUI\res/drawable-sw600dp-xhdpi
invalid resource directory name: C:\SDK\APK\SystemUI\res/layout-sw600dp
invalid resource directory name: C:\SDK\APK\SystemUI\res/values-sw600dp
invalid resource directory name: C:\SDK\APK\SystemUI\res/values-sw600dp-port
invalid resource directory name: C:\SDK\APK\SystemUI\res/values-sw720dp
invalid resource directory name: C:\SDK\APK\SystemUI\res/values-sw720dp-port
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\NICKSH~1\AppData\Local\Tem
p\APKTOOL6178391931419736720.tmp, -I, C:\Users\Nick Shertzer\apktool\framework\1
.apk, -S, C:\SDK\APK\SystemUI\res, -M, C:\SDK\APK\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a: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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\NICKSH~1\AppData\Local\Temp\APKTOOL6178391931419736720.tmp, -I, C:\Users\Ni
ck Shertzer\apktool\framework\1.apk, -S, C:\SDK\APK\SystemUI\res, -M, C:\SDK\APK
\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
...this might just be a 'derp' moment. Run "SDK Manager" first, update API15 (Android 4.0.3) SDK Platform. *THEN* copy 'aapt.exe' into your APKTOOL directory.
::Crossing Fingers::
I just compiled v3 with the full battery percentage PNGs and updated /drawable/stat_sys_battery.xml with no errors... I still need to sign and build myself a flashable ZIP.
Time to try and not bootloop
::EDIT:: It worked! OP updated with v3 download link to share. Now to play with the center clock mod.
Added Center clock mod.
Download CM9-AlphaModV4-BatteryPercentMod-plus-center-clock.zip
download CM9 new version ?????
galaxy1210 said:
download CM9 new version ?????
Click to expand...
Click to collapse
Sorry, but I have no idea what you mean.
::deleted:: double post...
My screen today. Still rocking dpi 320
Mate the youtube video says it's private?
matius44 said:
Mate the youtube video says it's private?
Click to expand...
Click to collapse
Oops. Sorry. Fixed.
nub-alert
Really want this, but i'm limited to flashing zip's.
Tried this, but nothing happened.
Any way of acitivating this using the phone?
Using CyanogenMod 9 experimental Build [01-02-2012]

[mod] jandycane 100% circle battery mods jb (CLOSING)

IMPORTANT: Use these mods only on v 1.7.1 7/29/12 UPDATED FOR FULL COMPATABILITY ON LATEST VERSION
Hello everyone. I am the first to make a battery mod for a jb Kindle Fire rom. After about twenty battery mods that screwed up the UI, I finally made one that worked. I love feedback, so tell me what you think
Downloads>TCHANGE CLOCK COLOR, YOU MUST DOWNLOAD A THEME FROM MARKET
Blue everything:
http://goo.im/devs/powerpoint45/JANDYCANE_FULLBLUEV2.zip
Green everything
http://goo.im/devs/powerpoint45/JANDYCANE_FULLGREENV2.zip
Gray everything:
http://goo.im/devs/powerpoint45/JANDYCANE_FULLGRAYV2.zip
Red everything:
http://goo.im/devs/powerpoint45/JANDYCANE_FULLREDV2.zip
Circle battery mod with dark blue navigation buttons:
http://goo.im/devs/powerpoint45/JANDYCANE_DARKBLUEV2.zip
Circle battery mod with white navigation buttons:
http://goo.im/devs/powerpoint45/JANDYCANE_WHITEV2.zip
Circle battery mod with orange navigation buttons:
http://goo.im/devs/powerpoint45/JANDYCANE_ORANGEV2.zip
Circle battery mod with green navigation buttons:
http://goo.im/devs/powerpoint45/JANDYCANE_GREENV2.zip
Red circle battery / red WiFi icons with white navigation buttons that glow red when pushed:
http://goo.im/devs/powerpoint45/JANDYCANE_SEMIFULLREDV2.zip
Flash in recovery. No wiping is needed.
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks are appreciated
Title
You should change the title. I am about to flash this. I will reply again if it works.
Works great!
I flashed it and rebooted and there it was. Thanks so much I have been waiting for a circle mod battery icon for a while now. :laugh:
Josepho1997 said:
Could you upload the ICS framework-res.apk and systemUI.apk for me?
Click to expand...
Click to collapse
Do u want the ui that I got to work. Because if u download my mod then you can just get my ui apk and replace the battery icons to make your own.
Sent from my Amazon Kindle Fire using xda app-developers app
Thanks. what files did you change? ive spent hours trying to figure it out?
tobiascuypers said:
Thanks. what files did you change? ive spent hours trying to figure it out?
Click to expand...
Click to collapse
Trust me I've spent hours on this too. Not just today
This should work. You need 2 ui apks one from ics and one from jb.
1. Open both the JB and ICS apks in separate archive mannager windows.
2. Drag the resources.arsc, AndroidManifest.Xml, and Res folder from the JB apk, into the ICS apk
3. decompile your modified ICS APK
4. make your changes
5. Recompile modified ICS apk
6 move whatever you changed and RESOURCES.ARSC back into the JB apk using an archive manager.
Sent from my Amazon Kindle Fire using xda app-developers app
Josepho1997 said:
I know but there's some more things I want to do other than make battery mods. But you don't have to upload it. I found I already have gedeROM downloaded.
Click to expand...
Click to collapse
Ok cool.
Sent from my Amazon Kindle Fire using xda app-developers app
I found a better way to make these.i might make a tut tomorrow
Josepho1997 said:
Actually, could you upload systemUI.apk and framework-res.apk? I still can't decompile correctly. This is what I get when I try to
Code:
apktool if framework-res.apk
Code:
C:\apk\other>apktool if c:\framework-res.apk
W: Config flags size > 32. Exceeding bytes: -2FFE0000.
W: Invalid config flags detected: dimen-v13-ERR0
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR1
W: Config flags size > 32. Exceeding bytes: 00040000.
W: Invalid config flags detected: dimen-v13-ERR2
W: Config flags size > 32. Exceeding bytes: 00050000.
W: Invalid config flags detected: dimen-v13-ERR3
W: Config flags size > 32. Exceeding bytes: 58020000.
W: Invalid config flags detected: layout-v13-ERR4
W: Config flags size > 32. Exceeding bytes: 68010000.
W: Invalid config flags detected: integer-v13-ERR5
W: Config flags size > 32. Exceeding bytes: -BFF0000.
W: Invalid config flags detected: integer-v13-ERR6
W: Config flags size > 32. Exceeding bytes: 58020000.
W: Invalid config flags detected: integer-v13-ERR7
W: Config flags size > 32. Exceeding bytes: -2FFE0000.
W: Invalid config flags detected: integer-v13-ERR8
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: integer-v13-ERR9
W: Config flags size > 32. Exceeding bytes: -1FFF0000.
W: Invalid config flags detected: bool-v13-ERR10
I: Framework installed to: C:\Documents and Settings\Joseph\apktool\framework\1.
apk
And I can't decompile the systemUI.apk
Click to expand...
Click to collapse
Wait a sec. You need a modified apktool. Let me get u the link:
http://forum.xda-developers.com/showthread.php?t=1755243
Sent from my Amazon Kindle Fire using xda app-developers app
That apktool should be able to decompile and recompile, but when it recompiles it wont work on the fire because it doesn't build it right. But if u build it u can drag all the stuff u changed and the resources.arsc to the origional apk. But maybe it will work on the framework, because I've only tested it on the ui.
Sent from my Amazon Kindle Fire using xda app-developers app
i found a bug. When you expand the notifications menu i see the battery icon with percent, and next to it is the percent?
tobiascuypers said:
i found a bug. When you expand the notifications menu i see the battery icon with percent, and next to it is the percent?
Click to expand...
Click to collapse
Thats not a bug. The battery icon includes the number and if u remember before u flashed this mod it still had a percentage next to the battery icon.its just how the ui is layed out and i dont know how to change it unless u do. Because if u do then i will certainly change it. But i dont think its a big deal.
Sent from my Amazon Kindle Fire using xda app-developers app
ill look into it!
tobiascuypers said:
ill look into it!
Click to expand...
Click to collapse
Ok cool. I might look a bit too
Sent from my Amazon Kindle Fire using xda app-developers app
Josepho1997 said:
When I tried that I got an error decompiling:
Code:
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
Could Not Find C:\apk\place-apk-here-for-modding\../place-apk-here-for-modding/s
ignedSystemUI.apk
Could Not Find C:\apk\place-apk-here-for-modding\../place-apk-here-for-modding/u
nsignedSystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\Joseph\apktool\fr
amework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_height, value=0x01050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_height, value=0x01050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_height, value=0x01050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_height, value=0x01050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_height, value=0x01050057
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=alwaysTrackFinger, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_height, value=0x01050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_marginBottom, value=0x01050057
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=alwaysTrackFinger, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=alwaysTrackFinger, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_marginBottom, value=0x01050057
W: Could not decode attr value, using undecoded value instead: ns=prvandroid, na
me=alwaysTrackFinger, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_height, value=0x01050057
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layout_height, value=0x01050057
I: Decoding values*/* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x01050057
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
ceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSca
larValue.java:43)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:4
0)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:315)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:46)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
00)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:8
6)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:132
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:94)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:101)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
Click to expand...
Click to collapse
Did u get the modded apktool for ics http://forum.xda-developers.com/showthread.php?t=1755243
Sent from my Amazon Kindle Fire using xda app-developers app
And details about it
powerpoint45 said:
That apktool should be able to decompile and recompile, but when it recompiles it wont work on the fire because it doesn't build it right. But if u build it u can drag all the stuff u changed and the resources.arsc to the origional apk. But maybe it will work on the framework, because I've only tested it on the ui.
Sent from my Amazon Kindle Fire using xda app-developers app
Click to expand...
Click to collapse
Sent from my Amazon Kindle Fire using xda app-developers app
Josepho1997 said:
Yeah, I got it. And it worked great! But for some reason I can't decompile.
Click to expand...
Click to collapse
Hmm. So u installed the framework. Are u on linux. If ur on linux u can put apktool in usr/local/bin as well as aapt.
Edit:nevermind i saw the C://
Try apktool from here:
http://www.mediafire.com/?3wcbpr94u0kbb3d
And get it from the other folder inside the zip
Josepho1997 said:
OK, I'll try it later. For now I'll just use your mod to make my own.
Sent from my Amazon Kindle Fire using xda premium
Click to expand...
Click to collapse
Ok thats fine with me. Cant wait to see yours
Sent from my Amazon Kindle Fire using xda app-developers app
Josepho1997 said:
I just tried it and it didn't work. I have my own idea on how to do it, so I'm going to try it.
Sent from my Amazon Kindle Fire using xda premium
Click to expand...
Click to collapse
Ok, maybe it didnt work because u didnt zipalign
Josepho1997 said:
It wouldn't decompile.
Sent from my Amazon Kindle Fire using xda premium
Click to expand...
Click to collapse
Ok check your pm
Sent from my Amazon Kindle Fire using xda app-developers app

[TUTORIAL] How to Decompile and Recompile ICS .Apk Files][Easy ONE]

This is an Easy Tutorial, How to Decompile .apk and Recompile .apk Files​If u like this Tutorial, Hit THANKS Button​CREDITS
Memnoc - For Gud Ideas.
Xavierjohn22 - the amazing author of AutoApktool go Here, Hit thanks to Him Too.
Sandy7-For Motivation.
Requirements
Java (last version)
JDK (last version)
JDR (last version, usually included in JDK or Java)
Auto_Apktool 2.0.0 (DOWNLOAD THIS ONE NOT OTHERS)
HOW TO DO
NOTE: before start, select Apktool version with option 21, YOU MUST CHOOSE 1.4.1 version
1) Download and simply unpack Auto_ApkTool
2)Click on "autoapktoolmain.bat", prompt will open
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3)put the apk you want to EDIT, in "_INPUT_APK"
4) Nw u Should Choose "option 6" for 'decompiling .apk
5) when option 6 is being selected, drag the apk from _INPUT_APK folder into the windows prompt and click enter
6) A Note window will appear, and will show IF the decompiling process has been done properly. Once you close that window, you will see the decompiled folder in _INPUT_APK folder
7) do your edits (xml, smali, or png, WHATEVER)
8) recompile with option 7 (NOTE: this time you MUST drag all the FOLDER, NOT the apk)
9) Once recompiling finished, u will Get a Dcompiled NOTE window that Shows your apk is sucessfully Compiled, Close that Window, Once open the decompiled folder, go to "dist" folder, and here you got your edited apk
10) NOW this is the Last step, since u cannot Sign System app, u will have to Copy the META-INF foldrer frm the Orginal apk to the edited apk, for more Info See the "Screen"
11) Rename the apk if Needed, and push it.
Reserved, for making how to decompile and recompile .jar files,soon
Reserved 2, if I get time I wil add a video tutorial too!
FAQ's​Why can't we use Apktool???
Well, you can, but it's more difficult, that's it.
Why do you say "must use 1.4.1 apktool version"??
The reason why is that since 1.4.2 version, apktool generate java code while recompiling process is going on, and this lead to errors that 9/10 makes decompile process fail
Nice learning, but Does it only work for editing or changing the user interface (lke smile, png) of apk file?
x.r3y said:
Nice learning, but Does it only work for editing or changing the user interface (lke smile, png) of apk file?
Click to expand...
Click to collapse
That's the decompiling ment for !
StAnLiN
stanlin salu said:
That's the decompiling ment for !
StAnLiN
Click to expand...
Click to collapse
During recompile framework.apk an error. w: could not find sources how fix this error....plz help bro thanks.
Aeron sagar said:
During recompile framework.apk an error. w: could not find sources how fix this error....plz help bro thanks.
Click to expand...
Click to collapse
Just check whether u have got any apk in "dist' folder?????
Sent from my Xperia Live with Walkman using Tapatalk 2
stanlin salu said:
Just check whether u have got any apk in "dist' folder?????
Sent from my Xperia Live with Walkman using Tapatalk 2
Click to expand...
Click to collapse
yes bro apk in dist but it gives bootloop ...
Aeron sagar said:
yes bro apk in dist but it gives bootloop ...
Click to expand...
Click to collapse
Now u have to add META-INF folder from the original .apk !
Sent from my Xperia Live with Walkman using Tapatalk 2
stanlin salu said:
Now u have to add META-INF folder from the original .apk !
Sent from my Xperia Live with Walkman using Tapatalk 2
Click to expand...
Click to collapse
Bro I have added the meta inf folder that's not matter but recompiling W: could not find sources and the system cannot find the drive specificied . Two errors how to fix...
If I want to install android SDK?
Aeron sagar said:
Bro I have added the meta inf folder that's not matter but recompiling W: could not find sources and the system cannot find the drive specificied . Two errors how to fix...
If I want to install android SDK?
Click to expand...
Click to collapse
Haha, don't worry that's not an error, the path of dist was manually set so u get that message, actual 'errors' u will get under these note (if u have committed any error in editing), if get only these messages then ur apk is successfully recompiled :thumbup:
Sent from my Xperia Live with Walkman using Tapatalk 2
Teach me
guys i dont even get a stightest idea to decompile and recompile......... is there any application which can look into .apk files and also allow it to edit???????
Can decompile but can't recompile.
[*] C:\AutoAPKTool2.0.4\_INPUT_APK\BlueTheme
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\BlueTheme...
I: Smaling...
I: Building resources...
I: Building apk file...
The system cannot find the drive specified.
Have the dist file but the file less 1 MB than the original file.
Ben Ling said:
Can decompile but can't recompile.
[*] C:\AutoAPKTool2.0.4\_INPUT_APK\BlueTheme
recompiling C:\AutoAPKTool2.0.4\_INPUT_APK\BlueTheme...
I: Smaling...
I: Building resources...
I: Building apk file...
The system cannot find the drive specified.
Have the dist file but the file less 1 MB than the original file.
Click to expand...
Click to collapse
i dont see any error in it...its done recompiling ...
ya the size will be reduced based on ur apk tool compression level
while recompiling it shows error,.... "destination could not be found "
Thank you very much for the tutorial.. very helpful... :laugh:
I don't think so it works for JB
Can't decompile SystemUI of JB.
[*] "E:\Android stuff\AutoAPKTool2.0.4\_INPUT_APK\SystemUI.apk"
decompiling "E:\Android stuff\AutoAPKTool2.0.4\_INPUT_APK\SystemUI.apk"...
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
Click to expand...
Click to collapse
androidnerd2 said:
I don't think so it works for JB
Can't decompile SystemUI of JB.
Click to expand...
Click to collapse
try this both update ur aapt or install the proper framework's first
thank her tutorial ata friend
Sent from my Xperia Tipo using XDA Premium 4 mobile app

[GUIDE] LG UI 2.0 weather widget porting guide to all roms

Hi all
This is the guide to port LG weather widget found in optimus black to all roms like cm7
Requirements-
*A nice working rooted mobile phone
*A working PC with java installed
*apktool-[Simple guide by PulseDroid]
Note :This Guide is only for android 2.3 because many people having errors on android 4.0+. Sorry I have no workthrough . Try this widget . It's the widget from LG UI 3.0.
Procedure-
*Extract framework.jar from /system/framework/ through any root file manager.
*Decompile it through apktool, a newly created framework.jar.out will be there.
Code:
apktool d framework.jar
*Download LG smali.zip from attachment and extract it
*Copy "lge" from com folder of LG smali and paste it in framework.jar.out/smali/com ( in apktool folder )
It must be like this "framework.jar.out/smali/com/lge"
*Compile framework.jar.out
Code:
apktool b framework.jar.out
*Push the newly compiled framework.jar from apktool/framework.jar.out/dist into your phone's /system/framework directory
*Reboot your phone.Don't worry it will take time to reboot.
*Lastly Download the widget from here and install as regular app
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi devilex94. Thank you for post on the other thread about the solution to my problem, but after read your guide I got really confused .
I don't know how to use apktool (already looked on XDA and Google but nothing is easy to understand). Went to cmd but it says that the path isn't right (grrr)...
I believe this really helps who understands programming but I don't know how to change frameworks :-/ already root my device, already extracted framework.jar from system... but after that I got stuck
Tsukidi said:
Hi devilex94. Thank you for post on the other thread about the solution to my problem, but after read your guide I got really confused .
I don't know how to use apktool (already looked on XDA and Google but nothing is easy to understand). Went to cmd but it says that the path isn't right (grrr)...
I believe this really helps who understands programming but I don't know how to change frameworks :-/ already root my device, already extracted framework.jar from system... but after that I got stuck
Click to expand...
Click to collapse
in the first command he forgot an "r" : framewok instead of framework.
your problem is that you need to cd to the directory of apktools. If the apktools is in C drive , the command is cd C:\apktools or any folder that is it in. if you have it in a series of folders it should be cd C:\your path to apktools and then do this tut.
Al3x_M1ni_B0ss said:
in the first command he forgot an "r" : framewok instead of framework.
your problem is that you need to cd to the directory of apktools. If the apktools is in C drive , the command is cd C:\apktools or any folder that is it in. if you have it in a series of folders it should be cd C:\your path to apktools and then do this tut.
Click to expand...
Click to collapse
Thanks for telling me my mistake.
I have corrected my mistake
Great for this
Thx
Getting following error.
RM57380 said:
Great for this
Thx
Click to expand...
Click to collapse
C:\Android\apktool>apktool b framework.jar.out
I: Checking whether sources has changed...
I: Smaling...
Exception in thread "main" org.jf.dexlib.Util.ExceptionWithContext: method index
is too large.
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithCont
ext.java:54)
at org.jf.dexlib.Item.addExceptionContext(Item.java:176)
at org.jf.dexlib.Item.writeTo(Item.java:119)
at org.jf.dexlib.Section.writeTo(Section.java:119)
at org.jf.dexlib.DexFile.writeTo(DexFile.java:716)
at brut.androlib.src.DexFileBuilder.getAsByteArray(DexFileBuilder.java:7
5)
at brut.androlib.src.DexFileBuilder.writeTo(DexFileBuilder.java:58)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:35)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:222)
at brut.androlib.Androlib.buildSources(Androlib.java:179)
at brut.androlib.Androlib.build(Androlib.java:170)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: java.lang.RuntimeException: method index is too large.
at org.jf.dexlib.Code.Format.Instruction35c.writeInstruction(Instruction
35c.java:102)
at org.jf.dexlib.Code.Instruction.write(Instruction.java:57)
at org.jf.dexlib.CodeItem.writeItem(CodeItem.java:258)
at org.jf.dexlib.Item.writeTo(Item.java:116)
... 12 more
code_item @0x1b3274 (Landroid/Manifest$permission;-><init>()V)
C:\Android\apktool>
Working great in Galaxy S2 with Biftor Rom
framework.jar.out
When I decompile framework.jar, I only get apktool.yml in the out folder. There are no directories like smali. Do I need to create those and then copy the LGsmali?
Great ! this is really nice !
Do you have the same solution to port the Samsung Weather/Clock widget from GS3 to any roms ?
Thanks
I tried the tutorial, installed the apk after but widget doesn't seem to fully load???
Sent from my GT-I9300 using xda premium
"Dist" is not created in my case
*Push the newly compiled framework.jar from apktool/framework.jar.out/dist
************************************************************************************************************************
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\user>cd..
C:\Users>cd..
C:\>cd 'apktool'l/'directory'
The system cannot find the path specified.
C:\>cd android/apktool
C:\android\apktool>apktool d framework.jar
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78
0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
C:\android\apktool>apktool b framework.jar.out
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
********************************************************************************************************************************************
Is sumthng went wrong in above process?
Congratulation...!
Wow !... This Post is Featured in Xda Portal Nice Work .........
I wrote about this long time ago, more manual method if you want or if you are having problem with this...
http://forum.xda-developers.com/showthread.php?t=1626497
Enviado desde mi One S usando Tapatalk 2
Originally posted by y2quila
I tried the tutorial, installed the apk after but widget doesn't seem to fully load???
Click to expand...
Click to collapse
It will load if you have followed the guide properly
Black_Lion said:
"Dist" is not created in my case
*Push the newly compiled framework.jar from apktool/framework.jar.out/dist
************************************************************************************************************************
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\user>cd..
C:\Users>cd..
C:\>cd 'apktool'l/'directory'
The system cannot find the path specified.
C:\>cd android/apktool
C:\android\apktool>apktool d framework.jar
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78
0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:44)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:128)
at brut.apktool.Main.main(Main.java:65)
C:\android\apktool>apktool b framework.jar.out
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathN
otExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:
103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
********************************************************************************************************************************************
Is sumthng went wrong in above process?
Click to expand...
Click to collapse
Did you followed the apktool guide properly?
It seems that you didn't followed the apktool guide properly
EDIT: Check if you have installed the proper framework files
and I think that you are using a already themed rom
hence you getting the errors.
works perfectly on my gt-i5510
thanks dude
Hiya mate, good work. Tried to make the mod for my sense 4 mod, got this error while recompiling:
C:\Users\nb>java -Xmx512M -jar smali.jar classout/ -o new-classes.dex
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: method index is too large.
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
at org.jf.dexlib.Item.addExceptionContext(Item.java:177)
at org.jf.dexlib.Item.writeTo(Item.java:120)
at org.jf.dexlib.Section.writeTo(Section.java:119)
at org.jf.dexlib.DexFile.writeTo(DexFile.java:716)
at org.jf.smali.main.main(main.java:231)
Caused by: java.lang.RuntimeException: method index is too large.
at org.jf.dexlib.Code.Format.Instruction35c.writeInstruction(Instruction35c.java:102)
at org.jf.dexlib.Code.Instruction.write(Instruction.java:57)
at org.jf.dexlib.CodeItem.writeItem(CodeItem.java:258)
at org.jf.dexlib.Item.writeTo(Item.java:117)
... 3 more
code_item @0x1e5a74 (Landroid/accessibilityservice/AccessibilityService$IEventListenerWrapper;->executeMessage(Landroid/os/MessageV)
Any clue?
fshami said:
Hiya mate, good work. Tried to make the mod for my sense 4 mod, got this error while recompiling:
C:\Users\nb>java -Xmx512M -jar smali.jar classout/ -o new-classes.dex
UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.dexlib.Util.ExceptionWithContext: method index is too large.
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
at org.jf.dexlib.Item.addExceptionContext(Item.java:177)
at org.jf.dexlib.Item.writeTo(Item.java:120)
at org.jf.dexlib.Section.writeTo(Section.java:119)
at org.jf.dexlib.DexFile.writeTo(DexFile.java:716)
at org.jf.smali.main.main(main.java:231)
Caused by: java.lang.RuntimeException: method index is too large.
at org.jf.dexlib.Code.Format.Instruction35c.writeInstruction(Instruction35c.java:102)
at org.jf.dexlib.Code.Instruction.write(Instruction.java:57)
at org.jf.dexlib.CodeItem.writeItem(CodeItem.java:258)
at org.jf.dexlib.Item.writeTo(Item.java:117)
... 3 more
code_item @0x1e5a74 (Landroid/accessibilityservice/AccessibilityService$IEventListenerWrapper;->executeMessage(Landroid/os/MessageV)
Any clue?
Click to expand...
Click to collapse
did you installed the framework files in apktool. It may help.
Give the results soon.
Ciolouse said:
Great ! this is really nice !
Do you have the same solution to port the Samsung Weather/Clock widget from GS3 to any roms ?
Thanks
Click to expand...
Click to collapse
+1
Sent from my GT-S5570 using xda app-developers app
Nice job! I always loved widgets even though they drain the battery just a bit more.
Thanks for the post

[q] stock framework-res.apk for Xperia E

Hi
Can someone upload framework-res.apk because when i use mine in apktool to decompile an app.In this case settings.apk it says that it cant find the resources for package id 2.Please help and thanks!
Put the entire log
Sent from my ST26i using XDA Premium 4 mobile app
I found another file but now this is a problem :
HTML:
C:\apktool>apktool d settings.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\MrGKanev\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Loading resource table from file: C:\Users\MrGKanev\apktool\framework\2.apk
I: Loaded.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x0209006e
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
ceValue.java:62)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSca
larValue.java:44)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(Re
sStyleValue.java:48)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResour
ces.java:440)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:243
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
C:\apktool>
MrGKanev said:
I found another file but now this is a problem :
HTML:
C:\apktool>apktool d settings.apk
:77)
C:\apktool>
Click to expand...
Click to collapse
You need a (other)different framework-res.apk should unpack
Sent from my ST26i using XDA Premium 4 mobile app
Thanks so if someone has it can he upload it.I used from Termin.

Categories

Resources