Batteryguard defaults needed - Touch Pro, Fuze General

Hello. I managed to mess up the power settings of my device with Battery Guard and was stupid enough to not make a backup of the initial settings. Could someone PLEASE post the defaults xml? Thanks

Have you tried searching that thread for the defualts?
This question belongs in that thread anyways.

Thank you for your reply.
I searched that thread and even posted a request there... No responses there. And the subdevice power configurations are device specific and probably can be modified without that tool in the registry manually. That is why I tried asking here

darfri said:
Thank you for your reply.
I searched that thread and even posted a request there... No responses there. And the subdevice power configurations are device specific and probably can be modified without that tool in the registry manually. That is why I tried asking here
Click to expand...
Click to collapse
Which .XML contains the default power settings?

The one that you save before making any tweaks.... don't tell me that you did the same mistake. IF you haven't changed anything it goes like this: Open the APP, click on the 4th icon below (the green circle with battery drawing on it) then on the upcoming page DRAG the low icons stripe as left as possible, there you'll see a cylinder drawing with a floppy disc and a pen. Pushing it'll take you to the file save dialogue. You can save it there as a *.bck file (batteryguards own format?) or as an provisional xml. That is the way you'll output the file.
BTW it is great but dangerous app. I managed to tweak the standby time to approximately 22days based on calculation of 2*24 hours drain when the phone was laying still on a normal coverage. After that I wanted more but that was the point where I messed up something

darfri said:
The one that you save before making any tweaks.... don't tell me that you did the same mistake. IF you haven't changed anything it goes like this: Open the APP, click on the 4th icon below (the green circle with battery drawing on it) then on the upcoming page DRAG the low icons stripe as left as possible, there you'll see a cylinder drawing with a floppy disc and a pen. Pushing it'll take you to the file save dialogue. You can save it there as a *.bck file (batteryguards own format?) or as an provisional xml. That is the way you'll output the file.
BTW it is great but dangerous app. I managed to tweak the standby time to approximately 22days based on calculation of 2*24 hours drain when the phone was laying still on a normal coverage. After that I wanted more but that was the point where I messed up something
Click to expand...
Click to collapse
Sorry, I don't use this program, I thought that there was an XML I could extract from a ROM that would have the stock power settings.
Sounds like you'll probably have to hard reset to get them back.

No, I just need a backup file from someone who did that clever move at start or a person who would install this program to raphael, save the xml/bck file, uninstall the app (if he wants) and send me the xml/bck

darfri said:
No, I just need a backup file from someone who did that clever move at start or a person who would install this program to raphael, save the xml/bck file, uninstall the app (if he wants) and send me the xml/bck
Click to expand...
Click to collapse
Which format do you prefer?

Wow... you did it! THANKS! I think bck would be the best!

darfri said:
Wow... you did it! THANKS! I think bck would be the best!
Click to expand...
Click to collapse
I posted it to the other thread. Good luck.
I'll have to check that program out before I uninstall it.
Thanks.

Thank you again! I think this program is the best battery drain minimizer if you know that your device is changing the power states correctly. Now that you have the backup file try the settings there. I think the worst thing that can happen is that your device wont wake up from standby. But you'll surely get it running with soft reset and then can load the initial bck/xml file

Related

Little help here Chefs - WM6 iPhone Edition

Does anyone know if there is an application (EXE file) within WM6 or WM5 that executes the "programs" and "settings" list, without tapping the Start button?
Also, on a soft reset, how can you make a single application load everytime?
Thanks...
bradsnw said:
Does anyone know if there is an application (EXE file) within WM6 or WM5 that executes the "programs" and "settings" list, without tapping the Start button?
Also, on a soft reset, how can you make a single application load everytime?
Thanks...
Click to expand...
Click to collapse
Anyone? I am sure there is a simple solution that I am overlooking. With a little help here I can fix a couple of problems with an iPhone emulator that can be incorporated into any WM6 Rom. I am currently running this now, but these fixes would make it perfect, and would almost do away with the Windows Mobile today screen. I am pretty amazed with this so far, The new iPhone today screen perfectly mathes what you would see on the apple website, and I am not noticing any signifigant lag time between apps that are loaded this way.
To make an application load on a soft reset, just place it in the windows/start up folder or place a link to it in that folder.
bradsnw said:
Does anyone know if there is an application (EXE file) within WM6 or WM5 that executes the "programs" and "settings" list, without tapping the Start button?
Also, on a soft reset, how can you make a single application load everytime?
Thanks...
Click to expand...
Click to collapse
not directly.... they are linked to explorer.exe and the shell....and of course the registry.....if my memory serves me rigth.
faria said:
not directly.... they are linked to explorer.exe and the shell....and of course the registry.....if my memory serves me rigth.
Click to expand...
Click to collapse
Faria, memory cannot serve you right. You are already at 97% capacity and the only way to get the information you require is to do a soft reset at which point you will get down to 75%. Or in the alternation upgrade.....
Is this the emulator you are talking about?
http://forum.xda-developers.com/showthread.php?t=301517
Did you find out how to start the functioning of program from icon.
I cannot find the explorer.exe in the rom
samy.3660 said:
Did you find out how to start the functioning of program from icon.
I cannot find the explorer.exe in the rom
Click to expand...
Click to collapse
Nothing as of yet. Without recompiling the software, each button on the iPhone today screen requires an .exe file, executable, to launch that particular service or program. To make things easy, I wanted to know how to create an exectuable file that will launch contacts, programs folder, and settings folder, with these, the normal WM6 today screen would not be needed anymore.
So Far....
So far....
Wow, those screens look cool already
Any idea when a first beta will be ready (if you are gonna release it)?
matthijst said:
Wow, those screens look cool already
Any idea when a first beta will be ready (if you are gonna release it)?
Click to expand...
Click to collapse
I have figured out how to link to Outlook Contacts, I am just having troubles getting settings and programs to pull up. Wven with creating shortcuts to them
well if you want settings like for example the task manager then a call to this would bring it up:
ctlpnl cplmain.cpl,4,2
Didn't want to leave you hanging so I ran a quick search here to see if it has a list and here's something that should steer you in a direction...that is if this is what you wanted:
http://forum.xda-developers.com/showthread.php?t=289005
that doesnt help, you know how to add a shortcut to start start menu
Here's a similar app:
http://rychlicki.net/en/2007/04/01/174/
http://rychlicki.net/inne/res_ppc-custom.icons.zip
Clock doesnt work there though

can we get rid of the menu screen?

Does anyone know if there is a way to get rid of the menu screen? I hate having to press the menu button twice to get to the home page. Is there a way to get rid of it? I would like to replace it with the slide unlock that is on the market
If you have root you can edit framework.apk and remove /layout/ keyguard_screen_lock.xml I beleive that will do it but make sure you BACK UP YOUR PHONE FIRST
soundwire said:
If you have root you can edit framework.apk and remove /layout/ keyguard_screen_lock.xml I beleive that will do it but make sure you BACK UP YOUR PHONE FIRST
Click to expand...
Click to collapse
So can you give steps on this because many of us dont want to brick our phones.
Like tell me if im right.
1st step:Backup your phone with nandroid backup.
2nd:go to your computer and connect your phone to it via usb.
3rd:turn off your phone and go to the bootloader (camera+end)
4th: press back untill fastboot
Thats were i get confused on how to go further.
Any help
i hooked it up to my computer and deleted that file but i had no luck it still comes up
Step by Step Request
soundwire,
I am only finding either a .jar or .odex. Can you (or, anyone willing) guide me to the apk?
Appreciate it.
Which apk are you looking for??
Mikey1022 said:
Which apk are you looking for??
Click to expand...
Click to collapse
The framework.apk posted above. I would like top edit/delete the keyguard_screen_lock.xml to remove the menu lock.
thanks for the reply.
I think he meant /system/framework/framework-res.apk but wouldn't you need to resign it after deleting that file and wouldn't this just crash the phone?
d00m said:
I think he meant /system/framework/framework-res.apk but wouldn't you need to resign it after deleting that file and wouldn't this just crash the phone?
Click to expand...
Click to collapse
Thanks for that. I'm not sure about it crashing. Can we get anyone to confirm that this deletion was successful?
<EDIT> I resigned the the deleted the keyguard_screen_lock.xml in the framework-res.apk. I resigned the apk and attempted to push the new .apk. My G1 said there was not enough space on the device? -this is where I probably messed it up- I then manually deleted the original .apk and the phone crapped out. It is stucl on my custom boot screen. re-imaging device as I type.
ok, i've been messing with this and i'm quite sure (not 100%, obviously ) that it can't be done by simply removing the XML. I think they will need to be edited.
heres what i got:
if you remove any of these files, it crashes the phone:
keyguard_screen_unlock_landscape.xml
keyguard_screen_unlock_portrait.xml
keyguard_screen_glogin_unlock.xml
if you remove these it does nothing:
keyguard.xml
keyguard_screen_lock.xml
my guess, is that the images (or whatever's controlling how they are displayed) ais located within unlock_landscape.xml and unlock_portrait.xml
i'm gonna experiment a little more, maybe renaming blank files. I'll keep you all posted
EDIT: ok, changing the portrait and lanscape ones to blank files does nothing, it still crashes. i'm almost 100% sure now that these XML's need editing. the phone doesn't like it when you just remove them
You need those xml files in there, so deleting them would cause your phone to crash.
yeah, thats right. i've listed the ones that make your phone crash and which ones don't in my last post. As soon as we find a way of completely editing these XMLs it will unlock so many things. we'll be able to do nearly anything we want.
It seems like xml editing is pretty tough right now:
"Please be aware that in order to make these changes I actually didn't edit any of the raw xmls. I actually hex edited the values in the binary formatted files. I used HXD to do this."
http://forum.xda-developers.com/showthread.php?t=479019
i know, it's a damn shame google encrypted them.
they could at least let us play with some of them, like the layout ones etc.
so much for open source.
XML Edit
It looks like all the xml docs are encrypted. At least for now I am at a standstill.
I know stericson was able to edit some of the xml files. lol. im trying HXD, mmm interesting! =]
you guys are still trying to figure out how to do this? lol, ive accomplished this 2 weeks ago. it aint easy
IRIE4IPIER said:
you guys are still trying to figure out how to do this? lol, ive accomplished this 2 weeks ago. it aint easy
Click to expand...
Click to collapse
Care to explain mate?
IRIE4IPIER said:
you guys are still trying to figure out how to do this? lol, ive accomplished this 2 weeks ago. it aint easy
Click to expand...
Click to collapse
If your talking about disabling the lock screen.....I really doubt you did. It's not just a simple xml edit. It also has to do with the actual java files, which is what controls whether the keylock comes on or not. This may be possible in the future with cupcake, but not with T-mobiles builds.
If you have figured something out though, please share it.
Stericson
you guys are still trying to figure out how to do this? lol, ive accomplished this 2 weeks ago. it aint easy
Click to expand...
Click to collapse
Yeah sure, if that was the case you would be a linux programmer's and linux programmer's likle to help others P) and it looks like you want to keep it all for yourself... So i think that you didn't remove it.
But if you post a manual/tutorial i will believe you (after trying!)

[UPDATE!] AMAZING ALL-in-ONE CAB :) WM6.5 or WM6.1 - EASY INSTALL!

#4 - ADDED MY SOURCE FILES!!!! Just in case u wanna change something
Ok guys...here we go again I try my best to put some of t7he things i like into the same cab...looks huge...but looks nice Some of the best features without touching too much the rom. DISCOVER YOURSELF Is all I can say
1. Random contacts retouch
2. Volume retouch
3. M2D DJ Koa retouch and retouch with Landscape
4. workaround Honeycomb...DJ Koa retouch (best feature is with Josh 21198 v1 ...seems to be fast and skin works better)
5. Keyboard Skin
6. DJ Koa 6.5 Skin (i try to put big menus...but fixing)
7. ...some more tweaks specially on manilla
PS - I will keep adding/fixing things Hugs
Ai ai ai....people complaining about loosing data with this cab. Well..I tested pretty much times with different roms. In any case, please backup ur data before install and please: make sure you have enough space to install and work. And follow the proper steps down. Is easy. And please feedback with ur rom's so I can keep testing.
------------------------------------------
Pre-install:
YOU MUST HAVE A SDCARD!How to install?
1. DISABLE TOUCH OR M2D IN TODAY!
2. RUN CAB
3. DON'T LET IT SLEEP WHILE INSTALL!
More caps
Here some more caps...
Looks nice but how do we install two zip files?
Source files!
Ok my friends!!!! I decided to share with you guys the source files for this so that everything is clear If u feel u can change source.
I used Cabwiz to pack it. I FEEL THE Source!
1. Install cabwiz
2. Create a folder to cabwiz folder and unzip the inf into there
3. Unzip the other zips to same folder
4. Run ..\cabwiz "DJKOA M2D 1.00.4000.1903.inf" /compress
it will generate the CAB.
Cheers
Won't install for me, says installation unsuccessful because of insufficient system privileges.
Phone was connected to pc all through installation so did not got to sleep.
thankssssssssssssssssssssssssss
Good stuff mate but this should be posted in Kaiser software section Anyway, going to have a spin at this.
piplewis said:
Won't install for me, says installation unsuccessful because of insufficient system privileges.
Phone was connected to pc all through installation so did not got to sleep.
Click to expand...
Click to collapse
djkoa, this is probably because of a single file. Ussaully a dll will cause this. Some dll's don't like being installed via cab. They must be manually copied. Another problem could be that piplewis has a dll or file installed that can't be overwriten. Another usaully a dll problem. I've noticed some dll's, once you replace it, you can't replace it again. The work around I found is to rename said dll as .bak which will cause the ROM to use the original again and allowing the file to finally be replaced.
Overwise, great job, only ther suggestion. I thought about making 1 big cab myself, but realized large cab's are difficult to uninstalled. If the user changes 1 small thing, it won't uninstall and will cause them to need to hard reset. Have that problem with NeoTitanium. People change a registry or something and BAM, can't uninstall it.
piplewis said:
Won't install for me, says installation unsuccessful because of insufficient system privileges.
Phone was connected to pc all through installation so did not got to sleep.
Click to expand...
Click to collapse
Same for me. Im really hoping we find a solution to this cuz this looks awesome. I dont have M2D installed though, i dont know if that matters.
drkfngthdragnlrd said:
djkoa, this is probably because of a single file. Ussaully a dll will cause this. Some dll's don't like being installed via cab. They must be manually copied. Another problem could be that piplewis has a dll or file installed that can't be overwriten. Another usaully a dll problem. I've noticed some dll's, once you replace it, you can't replace it again. The work around I found is to rename said dll as .bak which will cause the ROM to use the original again and allowing the file to finally be replaced.
Overwise, great job, only ther suggestion. I thought about making 1 big cab myself, but realized large cab's are difficult to uninstalled. If the user changes 1 small thing, it won't uninstall and will cause them to need to hard reset. Have that problem with NeoTitanium. People change a registry or something and BAM, can't uninstall it.
Click to expand...
Click to collapse
Pretty spot on when it comes to .dll You can make the the cab itself to step by step rename->copy it. Other than that its a ok project, one idea I thought of is whit youre project to make it more customizeable is to take advatage of one if the autoinstallers. And then make a folder whit all the cabs, if you make the whole SJABANG finish to go out of the box you can lateron change its contents aswell as the users themself.
I have 2-3 of theese setups myself whit payed content as stuff from lakeridge, SPB and so on. Making a cab is good training but not wery customizable in the loong run on this project IMO.
raiisak said:
Pretty spot on when it comes to .dll You can make the the cab itself to step by step rename->copy it. Other than that its a ok project, one idea I thought of is whit youre project to make it more customizeable is to take advatage of one if the autoinstallers. And then make a folder whit all the cabs, if you make the whole SJABANG finish to go out of the box you can lateron change its contents aswell as the users themself.
I have 2-3 of theese setups myself whit payed content as stuff from lakeridge, SPB and so on. Making a cab is good training but not wery customizable in the loong run on this project IMO.
Click to expand...
Click to collapse
Another work around for Uninstalling, is to reinstall it first. It's a bit time consuming, but even if WinMo can't uninstall the software when trying to reinstall, it'll still let you reinstall replacing all original files and "Should" let you uninstall finally. A few extra steps and time consuming true, but better than a HArd Reset if it works.
drkfngthdragnlrd said:
Another work around for Uninstalling, is to reinstall it first. It's a bit time consuming, but even if WinMo can't uninstall the software when trying to reinstall, it'll still let you reinstall replacing all original files and "Should" let you uninstall finally. A few extra steps and time consuming true, but better than a HArd Reset if it works.
Click to expand...
Click to collapse
Tricks of the trade ".bak reminds me of something "
Would just be better as seperate installs .cabs.
drkfngthdragnlrd said:
Another work around for Uninstalling, is to reinstall it first. It's a bit time consuming, but even if WinMo can't uninstall the software when trying to reinstall, it'll still let you reinstall replacing all original files and "Should" let you uninstall finally. A few extra steps and time consuming true, but better than a HArd Reset if it works.
Click to expand...
Click to collapse
Getting the perfect setup is wery time consuming, its no secret that the order its installed, register strings overlap eachoter and so on will count for the final result. Reinstalling the cab just to have it removed from installed list doesnt mean you have a good uninstallation. Going from one setup to another whit several cabs when it comes to interface, its almsout inevitable that you going to hard reset to have a fresh installation.
My thought was that its easyer to update the package itself, not update the software on the phone
Ok, I disabled m2d and without soft resetting (after 1st attempt) tried to install again. This time it seems to have installed.
Just restarting now, will let you know.
*Edit*
Yup, seems to have installed fine now.
I can't uninstall......hardreset now
Hi, is it possible you can make this into a .cab.
piplewis said:
Ok, I disabled m2d and without soft resetting (after 1st attempt) tried to install again. This time it seems to have installed.
Just restarting now, will let you know.
Click to expand...
Click to collapse
Hmm, I think I am going to pass on this on for now. All brewed in like this is unlikly that im going to have a good installation IMO. Should be step by step whit whit atleast one reset as far as I could see (HTC HOME),. Good combination, no doubth. But to just gather everything in one big cab im not a fan of. Also I would take advatage of pre-xml in making of this
I dont mean to be critical in a bad way here, its good training and as I sad good combination. I didnt pop the setup.dll as I stopped looking after a minutt, clearly you havent used that much time on this mister Also this installation is expect upon that you have a SD card in phone upon installation (but who doesnt have that, but still a good thing to inform on).
I perform a remove it, run it and after about 5 minutes of it can not remove so I hardreset
after hardreset (keep in storage Kaiser) the entire all data on my storage end are lost, empty storage .... please help me,
So....anyone try it and check
sported said:
I perform a remove it, run it and after about 5 minutes of it can not remove so I hardreset
after hardreset (keep in storage Kaiser) the entire all data on my storage end are lost, empty storage .... please help me,
So....anyone try it and check
Click to expand...
Click to collapse
That is what happens when you hard reset the phone. All the data:contacts, messages, pictures, songs, etc. are lost. You should had used ppm backup (I think that is what its called) to save your contacts and messages on a sd card on computer.
dooyoo222 said:
That is what happens when you hard reset the phone. All the data:contacts, messages, pictures, songs, etc. are lost. You should had used ppm backup (I think that is what its called) to save your contacts and messages on a sd card on computer.
Click to expand...
Click to collapse
You probobly mean PIM backup and he can find it here: http://frifor.com/download/IBI/PIM_BACKUP_V2.8_MONX.CAB

I'm curious

My bad in advance if this question is off topic.
Lets you say you flashed the stock rom [why i don't know] or one of the roms hanging around here. The RUU goes to 100%, you set the screen, the time, you get a peek at the home screen (lookin pretty plain there) only to be told to wait 3 seconds. A couple things run get a little progress indicator and the thing reboots.
Now your home screen is looking different. Couple plugins enabled, others disabled. Been scouring XDA regarding this and only found scant references here or there about setting your thing up to install cabs off an SD card. I'm looking for something more in the neighborhood of having different plugins enabled, possibly settings too.
Anywho if you know of where I can get some reading in about this type of stuff, lemme know.
It's the built-in autorun. There are also many different third party alternatives. A few are in SuperJustKitchen v0.7.
Besides that, I'm trying to decide if this is offtopic or not... Technically it has to do with cooking....
ivanmmj said:
It's the built-in autorun. There are also many different third party alternatives. A few are in SuperJustKitchen v0.7.
Besides that, I'm trying to decide if this is offtopic or not... Technically it has to do with cooking....
Click to expand...
Click to collapse
hehe i'm walking a fine there...
I was wondering who were those guys and what are they doing in my kitchen? Autorun, check autorun, and run cc From what I gathered about those programs is that runcc is like autorun but newer. My guess in using them is setting up some sort of txt file and pointing runcc or autorun to it.
If so what can I put in that txt file, coz I know i can't write something like "uh... dood, I don't want titanium enabled, I want this one enabled with this setting and that setting ticked... and while you're at it can you fiddle with that one over there, and lets throw some cabs on there shall we? they're over here..... you're not done yet, now I want you to monkey with the settings like so... alright now get the hell out of my office!"
If I could I would...
Whatever information you can point me over to would be cool.
Thanks
Dr.Gonz0 said:
hehe i'm walking a fine there...
I was wondering who were those guys and what are they doing in my kitchen? Autorun, check autorun, and run cc From what I gathered about those programs is that runcc is like autorun but newer. My guess in using them is setting up some sort of txt file and pointing runcc or autorun to it.
If so what can I put in that txt file, coz I know i can't write something like "uh... dood, I don't want titanium enabled, I want this one enabled with this setting and that setting ticked... and while you're at it can you fiddle with that one over there, and lets throw some cabs on there shall we? they're over here..... you're not done yet, now I want you to monkey with the settings like so... alright now get the hell out of my office!"
If I could I would...
Whatever information you can point me over to would be cool.
Thanks
Click to expand...
Click to collapse
RunCC is meant as a replacement for Autorun. Autorun just requires a text file while RunCC requires a Lua that points to a text file.
There are a few walkthroughs but nothing concrete on how to create a good autorun file.
Some of the commands are:
The lock screen command (I forget what it is)
EXEC: (Execute the following)
CAB: (Install the following cab)
CPY1: (Copy from this)
CPY2: (Paste to this)
RST: (reset the phone)
In the older Autoruns, to set a theme you'd use:
EXE: along with a program that set the theme
In the newer Autoruns, you can just set it with:
TSK: \Windows\theme.tsk
Unfortunately, neither works with WM6.5.1 so you have to set the theme with an EXT with many files and registry keys.
There are a few other autorun apps that people in xda have made that can do more, like be able to run your own custom config from your SD card if you want every ROM to have certain things automatically configured (as long as all the ROMs support the particular auto-configuration utility you have configured for.)
To tell you the truth, I never bothered much with Autorun unless I had to replace a file that needed to be one version for the rom to load the first time and another after the first time set up was done. Realistically, you can do almost everything with a simple EXT package.
ivanmmj said:
Unfortunately, neither works with WM6.5.1 so you have to set the theme with an EXT with many files and registry keys.
Click to expand...
Click to collapse
Now ain't that a kick in the pants
ivanmmj said:
To tell you the truth, I never bothered much with Autorun unless I had to replace a file that needed to be one version for the rom to load the first time and another after the first time set up was done. Realistically, you can do almost everything with a simple EXT package
Click to expand...
Click to collapse
I was thinking the very same thing. Something's telling me that I need to try out that "Create Ext" button. Maybe throw whatever reg keys I want played with in that file? That would be more simpler than creating an auto run thingie. Hmmm... if that is the case I guess I would to just need to know how to tinker with my home screen and settings from the registry.
Dr.Gonz0 said:
Now ain't that a kick in the pants
I was thinking the very same thing. Something's telling me that I need to try out that "Create Ext" button. Maybe throw whatever reg keys I want played with in that file? That would be more simpler than creating an auto run thingie. Hmmm... if that is the case I guess I would to just need to know how to tinker with my home screen and settings from the registry.
Click to expand...
Click to collapse
The easiest way to learn is to take a CAB that does something you like and converting into a EXT and looking at the registry settings it creates.
ivanmmj said:
The easiest way to learn is to take a CAB that does something you like and converting into a EXT and looking at the registry settings it creates.
Click to expand...
Click to collapse
That definitely helps, as well as using a reg editor to find out what has been done after installing a program then exporting the key to throw in the app.reg file. The real fun part was tracking down basic settings for things like button settings, today items (and their settings), and default theme (boy was that a blast!) Thanks again for clearing up the confusion

[TOOL] ApkSpy v1.8 - Resurrected (APK: view manifest on PC and/or Install APK via PC)

APKSPY - RESURRECTED​
First:
I want to thank @ido for the original application -- It was his idea (and his code I've hacked :cyclops and modified.
Second:
Since Ido seems not to be active anymore I'll re-publish the application here.
Unless for some reason Ido will specifically ask me to remove it.
The original post
ido said:
ApkSpy is a simple tool I hacked up tonight which allows you to easily view the manifest of an APK (screenshots attached - not up to date though) just by double clicking it. (It can even associate with the .apk filetype, yay!)
ApkSpy relies on the aapt.exe tool from the android SDK, so you must have that installed (or just copy aapt.exe from somewhere, that's the only file needed to run ApkSpy).
Click to expand...
Click to collapse
Third:
Requires Microsoft©® .Net Framework v4
(Kind of since I've done it some time ago and waited for Ido [the orignal developer] to respond and allow or disallow me to re-publish... So, I don't remember all the changes I've already done...)
v1.8.19 CHANGELOG:
Fixed some Date parsing function (zipped file with no time stamp) in ZipStorer (by @Jaime Olivares) maybe causing some of the error reported here...
v1.8 CHANGELOG:
Changed Icon - CONTRIBUTED BY @Jarmezrocks
Removed unneeded tabs (System, Batch Rename, Log)
Minimize / Maximized restored back
v1.7 CHANGELOG:
(Actually 4.1.7.870, but the first and the last parts are internally used :fingers-crossed:)
Try to automatically find adb.exe and aapt.exe in ApkSPY directory or in PATH variable: If failed finding any of the executables, the user is asked to manually locate them
(★ Currently the location is not saved... ★).
Check if the ADB server is running and Start or ask if to Restart ADB server
Tidy up the code
Refining the original libraries written by Ido related to ADB and AAPT
Some more minor code updates
Revised most of the "General" tab (other tabs ware not touched) of the UI:
Grouped and ordered controls on form
Added DropDown of devices attached (★ Not automatically updating upon plugging... ★)
Added some control over ADB actions
Added status bar that some other details are shown, e.g. device type (Nexus, I9100...), OS version (4.1.2, 4.4.2...) and OS build (KOT49H, KVT49L...)
Added (nice looking) information panel with clickable links (for actions on the form) and coloring
Other changes (I can't recall right now, since I've done it some time ago and waited for a response from Ido for permission to republish)
(★ Maybe I'll add an option for this later, depending on my -- not to much -- free time and requested by users .... ★)
Known bugs:
Sometimes ADB fails to return build.prop property for the status bar (however it has not caused any critical problem, so (I think) it can be safely ignored) -- haven't been able (yet) to find the exact state it is happening
Please take the time to look at the application ABOUT tab
Any Other ideas are welcome!
If you like it, Don't forget to Thank me
If you enjoy using this application as much as I have enjoyed re-writing it
please donate to show your appreciation​
RESERVED
Nice
Sent from my SM-N900T using Tapatalk
Good news
Bug report, every time I open this program, this dialog pops up, after click OK, this program works well.
PS, aapt.exe is in the same dir with ApkSpy
I got this errors:
1:
2:
Error in property: [email protected]@usrdata
cmlx said:
Good news
Bug report, every time I open this program, this dialog pops up, after click OK, this program works well.
PS, aapt.exe is in the same dir with ApkSpy
Click to expand...
Click to collapse
Hey dude,
I am not sure what you are doing wrong on your PC but it's certainly not the app as it works perfectly fine on my computer? Out of interest and for the sake or helping the new dev I thought I would raise a few points just to eliminate any finger pointing. There's a wishy-washy area when it comes to building/hacking things that were originally someone elses work...so yeah one can easily make great improvements yet open the door to bugs at the same time too. Anyway...thought I'd ask this:
Does aapt sit on your path? I know you said it is in the same directory, however just like a batch script in Windows it needs to "CD" or change directories to the %~dp0 if it is to understand what an executable is that happens to be sitting in the same directory as it's self. So this is is kinda directed at the new dev now. What I think is happening is that aapt is assumed to be in the system path when quite often it is not (i.e. those on XDA who have not yet played with the Android SDK properly). Put simply unless the application knows it is in the same directory as your executable it won't at all understand what aapt is. Does that make sense?
@dmagician , I would make sure that the apkspy app can do a check (even if it is a string search for the first few lines returned from aapt.exe), a simple if statement before throwing that error ....actually it would likely be an 'if not' statement. I don't have any of the code in front of me atm but I can help you out if you like? I was hacking this app myself sometime ago when ido first released it just using reshacker.
Note: If you are stuck and don't have source code you technically could write a full AutoIT wrapper for this app that could do all the checks and more and then bundle everything up into the one exe still. Check out the newer WinAPI stuff for AutoIT and in particular "Run binary" (yes that's correct you can just about run anything repackaged now and not need to deploy the original exe's or even libraries....they can all be stream fed to AutoIT @Compile time and need not be typically "installed" like you used to have to do. Anyway...I am waffling on shoot me a PM man.
@cmlx, to overcome your ApkSpy woes, and until dmagician can put his finger on what the cause is or what ido did when building it ages ago.....then you will firstly need to be patient (props to dmagician to figuring sh!t out so far) but till then where ever you have dumped the ApkSpy and aapt.exe on your system; just copy the address and put it on your system path. To do this 1) right click on My Computer or Computer if you are on Win 7 or 8. 2) Choose properties. 3) Advanced System settings and then at the bottom of tab you will see 'Environment Variables', click it and you will see some "User" and "System" options. Depending on your User access rights on the system you are running on (hopefully you are running as Admin surely?) then you can choose to edit your main system path or create a new variable in your user settings called 'path' Note User variables are always postfix to system variables but should always work anyhow.
Disclaimer: cmlx, if however you have already got an aapt.exe already existing on your system path but it is dodgy then you have to ensure that the good aapt.exe in your app directory is placed on path BEFORE the dodgy one....just sayin. Cause your system searches till it finds what it wants and then doesn't search anymore. Simple but can stuff people up quite often....and likely your case. Nowdays we tend to work from the known application location and not from a "Global environment path" when we know that there are going to be conflicts...and I can assure you that aapt is possibly the worst and most modified binary out there LOL. Hence this is also a note to the dev to ensure that ApkSpy reads from the current directory.....or like I am suggesting, wrap aapt up in the main application as well and that way there is no confusion EVER.
And I am done.....
Oh wait no I am not....sorry bug reports LOL :good: you thought I was all praise eh? Got another thing coming man
OK....so um the red boxes should explain everything. A picture says a thousand words (and yeah I needed at least 1 picture for this god damned long arsed post - sry). Um why in gods name would you remove the minimise and expand buttons? WTF? Anyway...it works but errrm yeah it doesn't wrap the text anymore? and it cuts the words off lol.
Other than that....I only really have one suggestion and it isn't even really a suggestion as I have kind of already made it so I can just give it to you if you want it? And that is that most people (well I can't say most as I am not speaking for everyone) tend not to like how apps take over their system. This isn't your fault at all in anyway as the first dev thought it was a good idea back then.....and back then hardly anything in Windows knew what a freakin apk was so it was a GOOD thing.....However now, every man and his dog wants to steel .apk extension for himself. I myself tend to be all over the shop with apks so I tend not to want to have any particular Windows app take it away from my control. I use WinZip as the main app for simple double click open as I want to see the contents of apks without needing to decompile them (great for theming) however I have apk shell extensions displaying the apks main icon to explorer, so if I set WinZip as default I get a nice lumping hunk of gold turd/box running rampet all over my Windoze bro ......so if you like I can show you my code that allows me to have default apps for specific tasks without interfering with anyones existing sh!t It looks neat too as you can right click any apk and just choose from a dropdown list what particular app you want at the time. If one has the need to use more apps then they need only put those apps in a list. There is nothing worse than double clicking an apk to find that Bluestacks or some other rubbish Windoze crApp has taken offf with your apk.
Lastly I thought I'd ask, Why no config file? Why store everything in memory? I know it's only small....but seeking for things everytime it is executed is a pain in the arse and not good practice. At the very least if you have no idea how to make an exe totally portable then you could reference a config file in the same directory....Or do as most do and write entries to the registry all neat and tucked away. If we get paranoid about "portable-ness" then we write to temporary space in the registry and make sure we clean up upon closing and/or inspect at runtime. simple!
I have plenty of AutoIT scripts that do exactly that too, so if you are stuck for ideas let me know. Anyway I have rambled enough, good luck and I will keep reporting bugs haha
Edit: That's waaaay too many emoticons. Oooops someone is a little high aren't they?
PS: I have attached my PNG of the icon I used for this bugger waaaaaay back....it's less generic and feel free to take it and abuse it and do as you please.
cmlx said:
Good news
Bug report, every time I open this program, this dialog pops up, after click OK, this program works well.
PS, aapt.exe is in the same dir with ApkSpy
Click to expand...
Click to collapse
Yes, I know of this one (and I've specifically wrote about it in the OP), it is NOT related to AAPT executable but to the way ADB is acting (sorry, out of my hands... :angel:
Explanation
The error comes from the application when trying to query the "ro.build.id" property via adb ('ADB shell getprop "ro.build.id" ') command.
I've came across this one but cannot determine the exact situation it is happening (as it can occur when first launching of the app, but after the app is loaded, clicking on refresh does not show this error)...
[ I've tried it on with the (only) two devices I own (1st dev. is stock (only the kernel is changed) 4.4.2 Nexus 4, 2nd dev. is S2-i9100 with customized RR ROM)and it seems to happen ONLY on the S2...]
It looks that in times, the getprop is being executed before the whole "build.prop" is being processed by ADB (This one I cannot control since it is happening on the ADB shell side [running on the device] -- unless MAYBE doing some [UGLY] delay after first initialization of ADB, which is, by far NOT best practice of process handling according to the literature)...
CyberianIce said:
I got this errors:
1:
2:
Error in property: [email protected]@usrdata
Click to expand...
Click to collapse
Which came first, the "SpkSpy spy stopped working" or the "Error in property" (if anyways related)?
Was it on the same run or two different runs?
As of the 1st one:
I do not have enough information from your post to check it up...
I'll post a new version which shows the exception details
As of the 2nd one:
Can you send me a copy of your /system/build.prop (so i'll be able to dig trough it and check it)?
It looks like my name-value splitter character exist as part of a given value in your build.prop .
Wooow, Long one! But it is nice to know people are using (trying) it!
Jarmezrocks said:
Hey dude,
I am not sure what you are doing wrong on your PC but it's certainly not the app as it works perfectly fine on my computer? Out of interest and for the sake or helping the new dev I thought I would raise a few points just to eliminate any finger pointing. There's a wishy-washy area when it comes to building/hacking things that were originally someone elses work...so yeah one can easily make great improvements yet open the door to bugs at the same time too. Anyway...thought I'd ask this:
Does aapt sit on your path? I know you said it is in the same directory, however just like a batch script in Windows it needs to "CD" or change directories to the %~dp0 if it is to understand what an executable is that happens to be sitting in the same directory as it's self. So this is is kinda directed at the new dev now. What I think is happening is that aapt is assumed to be in the system path when quite often it is not (i.e. those on XDA who have not yet played with the Android SDK properly). Put simply unless the application knows it is in the same directory as your executable it won't at all understand what aapt is. Does that make sense?
Click to expand...
Click to collapse
Hi
As I've replied to @clmx, This error is not related to AAPT (either executable [location or whatever] or results), but to the ADB command being used...
Jarmezrocks said:
@dmagician , I would make sure that the apkspy app can do a check (even if it is a string search for the first few lines returned from aapt.exe), a simple if statement before throwing that error ....actually it would likely be an 'if not' statement. I don't have any of the code in front of me atm but I can help you out if you like? I was hacking this app myself sometime ago when ido first released it just using reshacker.
Click to expand...
Click to collapse
Sorry I did not understand... Check for what?
Jarmezrocks said:
Note: If you are stuck and don't have source code you technically could write a full AutoIT wrapper for this app that could do all the checks and more and then bundle everything up into the one exe still. Check out the newer WinAPI stuff for AutoIT and in particular "Run binary" (yes that's correct you can just about run anything repackaged now and not need to deploy the original exe's or even libraries....they can all be stream fed to AutoIT @Compile time and need not be typically "installed" like you used to have to do. Anyway...I am waffling on shoot me a PM man.
Click to expand...
Click to collapse
I do not need the Auto-IT to wrap these files (although I am using it for other automation in windows), as I can do it right in the C# code (on one of my early versions these files was embedded...)
BTW, I know there are some antiviruses out in the wild that do not like the embedded executables -- but it can be done -- and probably will save some time to anyone using this app...
If it will be required / asked, I'll embed the 4 binaries (AAPT.EXE, ADB.EXE, and two DLL's AdbWinApi.dll and AdbWinUsbApi.dll [I'm not sure both are required]) needed by the application.
Jarmezrocks said:
@cmlx, to overcome your ApkSpy woes, and until dmagician can put his finger on what the cause is or what ido did when building it ages ago.....then you will firstly need to be patient (props to dmagician to figuring sh!t out so far) but till then where ever you have dumped the ApkSpy and aapt.exe on your system; just copy the address and put it on your system path. To do this 1) right click on My Computer or Computer if you are on Win 7 or 8. 2) Choose properties. 3) Advanced System settings and then at the bottom of tab you will see 'Environment Variables', click it and you will see some "User" and "System" options. Depending on your User access rights on the system you are running on (hopefully you are running as Admin surely?) then you can choose to edit your main system path or create a new variable in your user settings called 'path' Note User variables are always postfix to system variables but should always work anyhow.
Disclaimer: cmlx, if however you have already got an aapt.exe already existing on your system path but it is dodgy then you have to ensure that the good aapt.exe in your app directory is placed on path BEFORE the dodgy one....just sayin. Cause your system searches till it finds what it wants and then doesn't search anymore. Simple but can stuff people up quite often....and likely your case. Nowdays we tend to work from the known application location and not from a "Global environment path" when we know that there are going to be conflicts...and I can assure you that aapt is possibly the worst and most modified binary out there LOL. Hence this is also a note to the dev to ensure that ApkSpy reads from the current directory.....or like I am suggesting, wrap aapt up in the main application as well and that way there is no confusion EVER.
Click to expand...
Click to collapse
The application IS searching for AAPT and ADB executables; The order is
Application directory (where ApkSpy.exe resides)
PATH environment variable
Jarmezrocks said:
OK....so um the red boxes should explain everything. A picture says a thousand words (and yeah I needed at least 1 picture for this god damned long arsed post - sry). Um why in gods name would you remove the minimise and expand buttons? WTF?
Click to expand...
Click to collapse
Mostly I like it this way, otherwise - No specific reason...
It will be back in the next version...
Jarmezrocks said:
Anyway... it works but errrm yeah it doesn't wrap the text anymore? and it cuts the words off lol.
Click to expand...
Click to collapse
This Tab was NOT changed by me in any way... To be honest, I've thought of removing it completely -- But -- out of respect to Ido's work -- I've left it in.
I assume it is not wrapping due to Font size changed by me globally...
I'm seriously giving it second thoughts -- if it should stay at all (It was originally meant for batch rename of multiple APK's... I haven't used it even once...)...
I'm Really, REALLY, think of removing it completely (unless someone is / will be using it -- then I'll fix it all)...
Jarmezrocks said:
Other than that....I only really have one suggestion and it isn't even really a suggestion as I have kind of already made it so I can just give it to you if you want it? And that is that most people (well I can't say most as I am not speaking for everyone) tend not to like how apps take over their system. This isn't your fault at all in anyway as the first dev thought it was a good idea back then.....and back then hardly anything in Windows knew what a freakin apk was so it was a GOOD thing.....However now, every man and his dog wants to steel .apk extension for himself. I myself tend to be all over the shop with apks so I tend not to want to have any particular Windows app take it away from my control. I use WinZip as the main app for simple double click open as I want to see the contents of apks without needing to decompile them (great for theming) however I have apk shell extensions displaying the apks main icon to explorer, so if I set WinZip as default I get a nice lumping hunk of gold turd/box running rampet all over my Windoze bro ......so if you like I can show you my code that allows me to have default apps for specific tasks without interfering with anyones existing sh!t It looks neat too as you can right click any apk and just choose from a dropdown list what particular app you want at the time. If one has the need to use more apps then they need only put those apps in a list. There is nothing worse than double clicking an apk to find that Bluestacks or some other rubbish Windoze crApp has taken offf with your apk.
Click to expand...
Click to collapse
The application is NOT taking over anything, Unless you've clicked the asterisk ("*") button on the System Tab...
Was it registered for you without clicking this button?
If so, I'll recheck the code (may be it's some residue from the original code).
BTW
As the previous part of the answer I've wrote -- this one was left in as of respect to @ido's work...
2nd BTW
I'd like to see that explorer extension (and [preferable] the code of it - if you are willing to share it) you ware writing about...
Jarmezrocks said:
Lastly I thought I'd ask, Why no config file? Why store everything in memory? I know it's only small....but seeking for things everytime it is executed is a pain in the arse and not good practice. At the very least if you have no idea how to make an exe totally portable then you could reference a config file in the same directory....Or do as most do and write entries to the registry all neat and tucked away. If we get paranoid about "portable-ness" then we write to temporary space in the registry and make sure we clean up upon closing and/or inspect at runtime. simple!
Click to expand...
Click to collapse
Yep, I've thought of it... But... I was thinking, that (at least) everyone is as geeky as me dauuh , and the most are setting the path correctly...
It'll be added in next version (I hope... TIME, TIME!!!! :cyclops...
Jarmezrocks said:
I have plenty of AutoIT scripts that do exactly that too, so if you are stuck for ideas let me know. Anyway I have rambled enough, good luck and I will keep reporting bugs haha
Click to expand...
Click to collapse
I prefer writing my own code (sorry, I'm a developer in heart and soul...) then using automation like Auto-IT...
Jarmezrocks said:
Edit: That's waaaay too many emoticons. Oooops someone is a little high aren't they?
Click to expand...
Click to collapse
Jarmezrocks said:
PS: I have attached my PNG of the icon I used for this bugger waaaaaay back....it's less generic and feel free to take it and abuse it and do as you please.
Click to expand...
Click to collapse
(@Jarmezrocks please see my PM to you.)
PHEW...
Long Answer, BUT HEY, I'm not the only one writing longies... :angel: (and i like referencing each and every part separately)...
dmagician said:
PHEW...
Long Answer, BUT HEY, I'm not the only one writing longies... :angel: (and i like referencing each and every part separately)...
Click to expand...
Click to collapse
Ahh yes. I write long messages sometimes when my medication has kicked in and I am high....not my fault I kinda need to get all the info out of my head in one go while I am awake.....or else there would just be zeds on the response zzzzzzzzzzzzzzzzzzzzzz lol :laugh: (ref narcolepsy).
I commend you on your efforts at responding to such gibberish and making good sense of it! :highfive:
I have responded to your PM accordingly, and hopefully covered all you need? I have attached all info and sources etc.....well most of it...actually a fair bit of it you will have to workout your self but that is part the fun. Shoot me any questions if you need to...although I have a feeling that you will have mostly all of it covered as you are streets ahead of my knowledge already. I may have misjudged a little in my previous post (although hopefully not to make you feel any less than you actually are? please excuse me if I had said anything that may offended - being naive or what ever....you ARE definitely on the right track). As for the middle menu....I think you could easily remove it and not offend the original dev. It wasn't being used as you mention...and I think it could make way for more/better functionality don't you think? (discuss). However I would ensure all the things I mentioned in my PM first before going too deep and releasing on here.
Good move on bringing the buttons back. They were functional. But I DO like the single button close GUI myself on just about everything else....It looks clean. We have similar taste in that regard. It just isn't functional for me to pressing the task notification desktop link everytime I want to minimise the app LOL.
The rest I we can discuss via PM, this is pretty much only posted here as an open area for other forum members to provide input and opinion (or complaint....like how often it usually is, eh?).
CyberianIce said:
I got this errors:
1:
2:
Error in property: [email protected]@usrdata
Click to expand...
Click to collapse
I'd got the same error!
For me it helped to copy two files to the install dir
"adb.exe" and "AdbWinApi.dll"
Both are installed with the well known MyPhoneExplorer into "Program Files\MyPhoneExplorer\DLL"
Hope it helps!
Feature Request
I use this tool for testing new APK builds on a project I am working on it. It allows me to quickly verify the version number and push to the device. However, since I am usually installing another version of an existing installed APK, I must manually uninstall before using APKSPY. Would it be possible to add a check box that would uninstall any previous versions? It would be really helpful.
Nevermind - I didn't fully read the message presented when it fail. It say uninstall/update and it allows the installation. HOWEVER, that brings up a question... Does it uninstall or does it update? There is a difference as you know.
Thanks,
Jonathan
Hi, I try to run this on Mac via Wineskin Winery, but no luck. Do I need something like .Net, or something else to run ApkSpy?
Thank you.
Ja_som said:
Hi, I try to run this on Mac via Wineskin Winery, but no luck. Do I need something like .Net, or something else to run ApkSpy?
Thank you.
Click to expand...
Click to collapse
The only requirement is the Microsoft .Net 4.
(I'll add this to OP)
jmo said:
I use this tool for testing new APK builds on a project I am working on it. It allows me to quickly verify the version number and push to the device. However, since I am usually installing another version of an existing installed APK, I must manually uninstall before using APKSPY. Would it be possible to add a check box that would uninstall any previous versions? It would be really helpful.
Nevermind - I didn't fully read the message presented when it fail. It say uninstall/update and it allows the installation. HOWEVER, that brings up a question... Does it uninstall or does it update? There is a difference as you know.
Thanks,
Jonathan
Click to expand...
Click to collapse
Yes I know there is difference between the two (update vs uninstall and install again).
It is updating the application (like using "adb install -r apk_file_name.apk"), not doing remove and install
Removed unneeded tabs (System, Batch Rename, Log)
Click to expand...
Click to collapse
The unneeded Batch Rename tab was the only tab I needed really. :laugh: Luckily I found Ido's original version. It's ideal for renaming all those apk's I downloaded and still have the package name when I back them up to my PC.
I have an Asus Memo Pad 10 and an Asus Memo Pad 7 and neither are recognised by APKSpy. Not that it's a problem as I have no problem copying to and from them with Windows Exploder or Total Commander.
Other than that, it's been a handy little app for this tablet/smartphone virgin newbie.
Martin.
wolrik said:
The unneeded Batch Rename tab was the only tab I needed really. :laugh: Luckily I found Ido's original version. It's ideal for renaming all those apk's I downloaded and still have the package name when I back them up to my PC.
I have an Asus Memo Pad 10 and an Asus Memo Pad 7 and neither are recognised by APKSpy. Not that it's a problem as I have no problem copying to and from them with Windows Exploder or Total Commander.
Other than that, it's been a handy little app for this tablet/smartphone virgin newbie.
Martin.
Click to expand...
Click to collapse
Hello.
1st:
I can -- if requested - re-add the Batch rename.
2nd:
I don't know why these two devices are not being recognized -- unless not being recognized by ADB itself -- since I'm spawning devices by parsing the resulting text of "ADB devices" command, So unless being unrecognized by ADB, there should be NO PROBLEM detecting ANY android device with ADB on...
if you have any exception messages thrown by the application, please post them here.
dmagician said:
Hello.
1st:
I can -- if requested - re-add the Batch rename.
2nd:
I don't know why these two devices are not being recognized -- unless not being recognized by ADB itself -- since I'm spawning devices by parsing the resulting text of "ADB devices" command, So unless being unrecognized by ADB, there should be NO PROBLEM detecting ANY android device with ADB on...
if you have any exception messages thrown by the application, please post them here.
Click to expand...
Click to collapse
No need to re-add the tab just for me, but thanks for the offer. As I get to know my way around Android I'll probably need such things less and less.
Sorry, but I know nothing about ADB other than APKSpy needing it. As you can see from the attached pic, the Asus is recognised by Total Commander
Martin.
Hi dmagician,
Nice work, and a shout-out to Ido who originally created it.
I have a feature request:
Could you add the option to remove certain permission(s) and save the modified APK file?
There are many apps which I feel allow themselves way too much permissions, and this option could be very useful to tame them apps.
One more thing:
I noticed that APKSpy v1.8.2 doesn't work with the latest version of AAPT.exe (1432KB), from the Android SDK r24.
So I had to use a previous version of AAPT.exe (833KB), which worked.
Thanks,
Eric
Hey does anybody know where the name of the apk is in the XML files inside the apk?

Categories

Resources