Post Reply

Accurate Battery Mod for JT's ICS Build 6 30 Jan 2012

4th February 2012, 02:43 PM   |  #51  
sendan's Avatar
Senior Member
Flag Appleton
Thanks Meter: 103
 
574 posts
Join Date:Joined: Dec 2009
More
Quote:
Originally Posted by kadin.zimmerman

What makes this accurate battery add on better than just downloading battery indicator from the market?? Just curious lol

Sent from my SCH-I500 using XDA App

They're two entirely different things, gunner's mod is repackaging the framework-res.apk with an accurate battery mod, while that app doesn't do anything to the existing battery icon.
10th February 2012, 05:53 PM   |  #52  
neozen21's Avatar
Senior Member
Flag Henderson, NV
Thanks Meter: 94
 
279 posts
Join Date:Joined: Oct 2010
More
Mike,

Can you tell me how you are decompiling the SystemUI.apk?
I'm using the latest APK_Manager and it's having problems.

You using manual java command?

Thanks..
10th February 2012, 06:17 PM   |  #53  
gunnermike's Avatar
OP Senior Member
Flag Crestview
Thanks Meter: 499
 
1,837 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by neozen21

Mike,

Can you tell me how you are decompiling the SystemUI.apk?
I'm using the latest APK_Manager and it's having problems.

You using manual java command?

Thanks..

update your sdk and then copy adb and aapt to the other folder in your apk manager folder
The Following User Says Thank You to gunnermike For This Useful Post: [ View ]
10th February 2012, 07:13 PM   |  #54  
neozen21's Avatar
Senior Member
Flag Henderson, NV
Thanks Meter: 94
 
279 posts
Join Date:Joined: Oct 2010
More
Quote:
Originally Posted by gunnermike

update your sdk and then copy adb and aapt to the other folder in your apk manager folder

Aaarg... Thanks for the quick response, but I've updated to the latest of everything, APK Tool (1.43), APK Manager, and the R16 of the Android SDK and copied the aapt.exe and the adb.exe (altough I'm not sure that's necessary) to the "other" directory.. and still can't decompile the damn SystemUI.apk !

Here is where I got the APK Tool: http://code.google.com/p/android-apktool/
and the APK Manager: https://github.com/Danesh/ApkManager

Any ideas? I've decompiled plenty of framework-res.apks (and others) before and modded with no problems. Hmmm..

Thanks!
10th February 2012, 07:43 PM   |  #55  
sendan's Avatar
Senior Member
Flag Appleton
Thanks Meter: 103
 
574 posts
Join Date:Joined: Dec 2009
More
Quote:
Originally Posted by neozen21

Mike,

Can you tell me how you are decompiling the SystemUI.apk?
I'm using the latest APK_Manager and it's having problems.

You using manual java command?

Thanks..

Link a pastebin to the error your getting plox
10th February 2012, 08:34 PM   |  #56  
neozen21's Avatar
Senior Member
Flag Henderson, NV
Thanks Meter: 94
 
279 posts
Join Date:Joined: Oct 2010
More
Quote:
Originally Posted by sendan

Link a pastebin to the error your getting plox

Here is the pastebin to the log.txt from APK Manager:
http://pastebin.com/09gqusqM

Seems it can not decode some of the attribute values... hmm

Do I need to decompile with dependencies (10) or just decompile?

Thanks!
10th February 2012, 09:23 PM   |  #57  
gunnermike's Avatar
OP Senior Member
Flag Crestview
Thanks Meter: 499
 
1,837 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by neozen21

Here is the pastebin to the log.txt from APK Manager:
http://pastebin.com/09gqusqM

Seems it can not decode some of the attribute values... hmm

Do I need to decompile with dependencies (10) or just decompile?

Thanks!

have you installed the framework and systmeui with apktool?

and it is nessiscarry to have the latest adb and aapt and apktool in the other folder.
The Following User Says Thank You to gunnermike For This Useful Post: [ View ]
10th February 2012, 10:31 PM   |  #58  
neozen21's Avatar
Senior Member
Flag Henderson, NV
Thanks Meter: 94
 
279 posts
Join Date:Joined: Oct 2010
More
Quote:
Originally Posted by gunnermike

have you installed the framework and systmeui with apktool?

and it is nessiscarry to have the latest adb and aapt and apktool in the other folder.


Hmm.. OK.. I'm trying to Google for more info..
I "installed" the Framework-res.apk and SystemUI.apk by using "APKTool if" and it extracted a couple of .apks files. What do I do with those in APK Manager? Use them as dependencies?
Last edited by neozen21; 10th February 2012 at 10:38 PM.
10th February 2012, 10:46 PM   |  #59  
sendan's Avatar
Senior Member
Flag Appleton
Thanks Meter: 103
 
574 posts
Join Date:Joined: Dec 2009
More
Quote:
Originally Posted by neozen21

Hmm.. OK.. I'm trying to Google for more info..
I "installed" the Framework-res.apk and SystemUI.apk by using "APKTool if" and it extracted a couple of .apks files. What do I do with those in APK Manager? Use them as dependencies?

I think "use as dependency" does the same thing as the "apktool if framework-res.apk" command, which just extracts the apk somewhere in your user folder...but using that option in apk manager couldn't hurt!

But if that doesn't work try some different versions of aapt, that has solved some issues for me in the past.
Sent from my SCH-I500 using xda premium
Last edited by sendan; 10th February 2012 at 10:53 PM.
The Following User Says Thank You to sendan For This Useful Post: [ View ]
10th February 2012, 11:31 PM   |  #60  
neozen21's Avatar
Senior Member
Flag Henderson, NV
Thanks Meter: 94
 
279 posts
Join Date:Joined: Oct 2010
More
Quote:
Originally Posted by sendan

I think "use as dependency" does the same thing as the "apktool if framework-res.apk" command, which just extracts the apk somewhere in your user folder...but using that option in apk manager couldn't hurt!

But if that doesn't work try some different versions of aapt, that has solved some issues for me in the past.
Sent from my SCH-I500 using xda premium

Success! I was able to decompile the SystemUI.apk by using APKTool.
Somehow, I guess APKManager just can't do it. Will try to figure out why later when I have more time..

I'd rather use APKManager than APKTool, because APKManager is easier & faster.. no typing any command lines...

Well.. thanks a lot guys! I'll be making some battery mods (for myself, but may share them) later...

LOL.. now back to my day job... writing C# programs for Windows... aarg :P

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes