5,605,438 Members 43,432 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
sendan
Old
#51  
sendan's Avatar
Senior Member
Thanks Meter 102
Posts: 572
Join Date: Dec 2009
Location: Appleton
Quote:
Originally Posted by kadin.zimmerman View Post
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.
 
neozen21
Old
#52  
neozen21's Avatar
Senior Member
Thanks Meter 93
Posts: 279
Join Date: Oct 2010
Location: Henderson, NV
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..
 
gunnermike
Old
#53  
gunnermike's Avatar
Senior Member - OP
Thanks Meter 494
Posts: 1,805
Join Date: Dec 2010
Location: Crestview
Quote:
Originally Posted by neozen21 View Post
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
Jesus Christ is my Lord and Savior!






If you like what I do, buy me a Diet Dr Pepper
The Following User Says Thank You to gunnermike For This Useful Post: [ Click to Expand ]
 
neozen21
Old
#54  
neozen21's Avatar
Senior Member
Thanks Meter 93
Posts: 279
Join Date: Oct 2010
Location: Henderson, NV
Quote:
Originally Posted by gunnermike View Post
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!
 
sendan
Old
#55  
sendan's Avatar
Senior Member
Thanks Meter 102
Posts: 572
Join Date: Dec 2009
Location: Appleton
Quote:
Originally Posted by neozen21 View Post
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
 
neozen21
Old
#56  
neozen21's Avatar
Senior Member
Thanks Meter 93
Posts: 279
Join Date: Oct 2010
Location: Henderson, NV
Quote:
Originally Posted by sendan View Post
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!
 
gunnermike
Old
#57  
gunnermike's Avatar
Senior Member - OP
Thanks Meter 494
Posts: 1,805
Join Date: Dec 2010
Location: Crestview
Quote:
Originally Posted by neozen21 View Post
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.
Jesus Christ is my Lord and Savior!






If you like what I do, buy me a Diet Dr Pepper
The Following User Says Thank You to gunnermike For This Useful Post: [ Click to Expand ]
 
neozen21
Old
(Last edited by neozen21; 10th February 2012 at 10:38 PM.)
#58  
neozen21's Avatar
Senior Member
Thanks Meter 93
Posts: 279
Join Date: Oct 2010
Location: Henderson, NV
Quote:
Originally Posted by gunnermike View Post
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?
 
sendan
Old
(Last edited by sendan; 10th February 2012 at 10:53 PM.)
#59  
sendan's Avatar
Senior Member
Thanks Meter 102
Posts: 572
Join Date: Dec 2009
Location: Appleton
Quote:
Originally Posted by neozen21 View Post
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
The Following User Says Thank You to sendan For This Useful Post: [ Click to Expand ]
 
neozen21
Old
#60  
neozen21's Avatar
Senior Member
Thanks Meter 93
Posts: 279
Join Date: Oct 2010
Location: Henderson, NV
Quote:
Originally Posted by sendan View Post
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes