[Q] How to browse an .apk on your desktop? - Android Software/Hacking General [Developers Only]

Hello everyone. Although n00bs aren't allowed here, I do want to ask you a question that might be very n00bish. And maybe a little inappropriate. Or asked in the wrong section of this forum.
But here it goes: I want to try and edit a savegame for a game on my HTC Hero (baseball superstar 2010). So, first I tried to locate where all the files for this game could be installed on my phone. I did not succeed.
But with help from this forum, I found out that I might find the files by using Astro File Manager. I can use this app to click on the .apk from the game, that I have on my sdcard, and then choose the option 'browse file'. There, I find a lot of files! So, the first problem is solved.
The second problem is, that I cannot edit any of the files I then find. And I cannot find a file that has the datestamp of today, or yesterday, when I last played the game. Shouldn't there be a very recent file with the saved game data in it somewhere?
For me, it would be a lot easier if I could browse the apk on my desktop with a simple explorer. But if I hook up my sd-card to my pc, I cannot open the .apk. How can I accomplish this?
I hope I gave a decent description of my problems, and hopefully anyone can help me with A) finding out which file to edit B) how to open or edit this file and C) what to edit!
Thank you all in advance for your time and patience.

Use 7zip to open/extract the .apk file. You can use winrar too, but I like 7zip better. I'll try to find a link in a minute, or you can always google it if I don't post back quick enough for you.

Your questions are reeallly noobish ;-P
Apk files store libraries and other static files of your applications - there you could find images, texts, code, etc., but not runtime data like savegames. Look into /data/{package-name}/ - you could find package name in many places, I think it's in Settings -> Manage applications, but I'm not sure.

Very noobish yes
I have done something in the meanwhile, and that is: buy the real deal from the market. I no longer seem to have the .apk, but that should be no problem. Now the real game is officially installed onto my phone.
But ... where? I have tried looking in /data with my file managers, but they say that the folder is empty! So... where are my apps installed then? They must be on my phone somewhere. Do I have to root my phone in order to see anything in the /data/folder?

dekraan said:
Do I have to root my phone in order to see anything in the /data/folder?
Click to expand...
Click to collapse
I'm not sure, but I think so. This directory is read-protected, so apps can't steal data of other apps. And I've mistaken: it's /data/app/{package-name}.

Hmmm. Do you know a good way to do that? I have a HTC Hero with the 2.1-update1 firmware (so my phone tells me!).

dekraan said:
Do I have to root my phone in order to see anything in the /data/folder?
Click to expand...
Click to collapse
I think I'm correct in saying yes. I use RootExplorer and can see my apks in data/app, but if I use AndExplorer I can't.

XperiaX10iUser said:
I think I'm correct in saying yes. I use RootExplorer and can see my apks in data/app, but if I use AndExplorer I can't.
Click to expand...
Click to collapse
Hi There,
I've opened another thread to stop the clutter, but: I have installed Root Explorer and used (I thought) Universal Androot to root my mobile phone. It did install Superuser, but when I open Root Explorer, I don't get a prompt to put it on the superuser list... so nothing seems to work. Do you know what I should do, and how I can do that?

dekraan said:
Hi There,
I've opened another thread to stop the clutter
Click to expand...
Click to collapse
But thought you'd clutter the forum instead.
dekraan said:
but: I have installed Root Explorer and used (I thought) Universal Androot to root my mobile phone.
Click to expand...
Click to collapse
You might be best searching your phones forum for a solution unless someone can offer you help here.

Iirc, savedata and settings would be in /data/data/com.gamevil.bs2010/
probably in a folder named "files".
start by looking in there.
other apps would be in /data/data/[packagename]

Related

Ultimate launcher mess up

ok so ive downloaded ultimater launcher.zip to my computer but i am confused on how to put it on my phone pleasehelp.
p.s sorry about this i suck with technology.
how was this question ansewered the last time you asked?
$rpg$ said:
ok so ive downloaded ultimater launcher.zip to my computer but i am confused on how to put it on my phone pleasehelp.
p.s sorry about this i suck with technology.
Click to expand...
Click to collapse
Is the file in the form of a .cab or .exe? Is the first question. If cab you have to get it moved from your computer to your device through active sync. If the file is an .exe then you need to sync up your device with Active Sync and then run the exe file from your computer and it should install for you, follow the on screen instructions.
Hardcorp said:
how was this question ansewered the last time you asked?
Click to expand...
Click to collapse
If you look apparently no one answered it.
1) Unzip the file to get a .CAB file.
2) Place the .CAB file on your phone (using explore on your computer's ActiveSync).
3) Using file explorer on your phone, run the .CAB file, this will install it.
4) Go to your settings, Today options and remove all plugins from the today screen, but add the plugin for ultimate launcher.
5) On the main screen, use the blue UL icon to customize the program.
Here is a you-tube video that shows some info on how to customize it:
http://www.youtube.com/watch?v=8gFpZZ6J88g
bengalih said:
1) Unzip the file to get a .CAB file.
2) Place the .CAB file on your phone (using explore on your computer's ActiveSync).
3) Using file explorer on your phone, run the .CAB file, this will install it.
4) Go to your settings, Today options and remove all plugins from the today screen, but add the plugin for ultimate launcher.
5) On the main screen, use the blue UL icon to customize the program.
Here is a you-tube video that shows some info on how to customize it:
http://www.youtube.com/watch?v=8gFpZZ6J88g
Click to expand...
Click to collapse
I get how to put it on now but im new to this whole smart phone thing. how exactly do i get that on my phone because i dont know how to use active sync i mean i explore open up my documents where i saved it and then it tried cutting and pasting it on like it said in help but nothing is working so if someone could help me with that please
futbolkeeper said:
If you look apparently no one answered it.
Click to expand...
Click to collapse
If you look at his posting history you'll see he posted the same question 3 times in 3 different forums.
MrEous said:
If you look at his posting history you'll see he posted the same question 3 times in 3 different forums.
Click to expand...
Click to collapse
I guess he's using the shotgun approach(Not the person on this forum the weapon) it's bound to hit something.
LOL it seems the only slug to hit though is in the far side of the forum that is as far away from cutting and pasting as you can get.
First. Unzip the file and extract it onto your desktop. If you have a storage card in the phone then when you connect the phone open up the "Mobile Device" option and go into "My Mobile Device" then selct "Storage Card" Try saving the extracted cab file into there
$rpg$ said:
ok so ive downloaded ultimater launcher.zip to my computer but i am confused on how to put it on my phone pleasehelp.
p.s sorry about this i suck with technology.
Click to expand...
Click to collapse
What does this have to do with Kaiser ROM Development. Maybe this thread would be better suited in the Kaiser Software forum. Just a thought!!!
AllTheWay said:
What does this have to do with Kaiser ROM Development. Maybe this thread would be better suited in the Kaiser Software forum. Just a thought!!!
Click to expand...
Click to collapse
i disagree, i think it doesnt even belong to this forum
What is XDA-Devs
Sorry I just opened a search on ultimate launcher and saw a new thread option not looking at the title of this section
no problem, we'll let you off the hook this time.......the next time we'll send the xda power rangers after you
Ok thx Satscan and dr.Puttingham
Kisgyerek said:
I'm looking for serial or keygen to ultimate launcer. Can someone help me?
Click to expand...
Click to collapse
Here you go....
http://www.handango.de/PlatformProd...e=2&sectionId=5606&siteId=8&topSectionId=5606
Have a nice day and never come back....
Kisgyerek said:
I'm looking for serial or keygen to ultimate launcer. Can someone help me?
Click to expand...
Click to collapse
No warez and such here, please refrain from requesting such.
livefastdiefun87 said:
LOL it seems the only slug to hit though is in the far side of the forum that is as far away from cutting and pasting as you can get.
First. Unzip the file and extract it onto your desktop. If you have a storage card in the phone then when you connect the phone open up the "Mobile Device" option and go into "My Mobile Device" then selct "Storage Card" Try saving the extracted cab file into there
Click to expand...
Click to collapse
so i extract but where do i put it? Files?

Get rid of the email preview envelope??

I know that I've seen a post (either on this forum or the Diamond one) for removing the envelope in the email preview screen in TF3D. But I saw the post before I got my Fuze and now I really want to get rid of that envelope and can't find the post!
Does anyone else know where this info is or how to do it? I swear I have tried searching but I haven't been able to find it.
Try to un-enable TF3D first, then delete "hh_email_envelope_down.png" and "hh_email_envelope_up.png"
Nghiem said:
Try to un-enable TF3D first, then delete "hh_email_envelope_down.png" and "hh_email_envelope_up.png"
Click to expand...
Click to collapse
Thanks for the advice but I can't find those files on my device. Any idea where they are?
ITNV said:
Thanks for the advice but I can't find those files on my device. Any idea where they are?
Click to expand...
Click to collapse
I would check the windows directory... dont quote me on it, but thats the first place i would check
And of course you will need some enhanced windows explorer like total commander or resco explorer to view hidden/system files and to modify rom-files.
file explorer shows all files just click menu 3rd from the top, Show All Files.
i dont think that will work - to my knowledge the built in file explorer won't let you touch files in ROM
Also if you delete these files wont they come back when you restart the device?
Kris
i00 said:
i dont think that will work - to my knowledge the built in file explorer won't let you touch files in ROM
Also if you delete these files wont they come back when you restart the device?
Kris
Click to expand...
Click to collapse
Kris, AFAIK you're right twice. But it could be possible replacing the original files with empty ones using Total Commander or some other advanced file explorer. Would be interesting what happens then (but not interesting enough for me to try it myself though )
DeepThought said:
Kris, AFAIK you're right twice. But it could be possible replacing the original files with empty ones using Total Commander or some other advanced file explorer. Would be interesting what happens then (but not interesting enough for me to try it myself though )
Click to expand...
Click to collapse
ahh i didint know that if you delete something with file explorer it comes back... learn something new everyday
B18DelSolT said:
ahh i didint know that if you delete something with file explorer it comes back... learn something new everyday
Click to expand...
Click to collapse
Not everything of course but files which are stored in the ROM do. They can not be changed, deleted or what so ever but with an enhanced file explorer like total commander or resco explorer you can sort of "replace" those files with a modified version. But again. The original isn't really replaced. Your version will be stored in the RAM and "overrules" the file in the ROM. But if you later on decide to revert back to the original file you just have to delete your modified RAM-file and after a soft-reset the ROM file will be back/visible again.
yea in ROM i meant ...
and instead of replacing the files with an "empty file", it would prob be safer to replace them with a 1x1 totaly transparent png
Thanks for the help and advice but I can't find those files even with resco and total commander. Guess I'll keep searching for that original thread...
http://forum.xda-developers.com/showthread.php?t=436895
But just for m2d. If you figur it out how to hach the m3d version please let as know.
mat_pav said:
http://forum.xda-developers.com/showthread.php?t=436895
But just for m2d. If you figur it out how to hach the m3d version please let as know.
Click to expand...
Click to collapse
That must have been the post I saw. No wonder I couldn't find it again, I was looking for TF3D. Thanks!
http://forum.xda-developers.com/showthread.php?t=436895
For m2d.
Let us know if make any progres with m3d.

Change gTask widget skin

I would like to change the gTask widget skin on Nexus.
Can anybody tell me where the file ( i suppose its .png) is located?
Assuming you're talking about the gTasks Beta by SSI, they're in com.ssi.gtasksbeta.apk\res\drawable
These 5 .png's
widget_border_bg_normal.png
widget_frame_complete.png
widget_frame_complete2.png
widget_frame_land.png
widget_frame_land2.png
thanx a lot, i will search for it..think that´s all I need
Edit: i´m searching for that with AndExplorer, but cannot find those files...
Am I using the wrong thing to search for it?..or is there are way to access those files via PC?
rori1 said:
thanx a lot, i will search for it..think that´s all I need
Edit: i´m searching for that with AndExplorer, but cannot find those files...
Am I using the wrong thing to search for it?..or is there are way to access those files via PC?
Click to expand...
Click to collapse
Install gTasks on your phone. Plug your phone into your pc. Hopefully you have adb set up correctly. If not, there's plenty of threads on how to do so.
Code:
cd desktop
adb remount
adb pull /data/app/com.ssi.gtasksbeta.apk com.ssi.gtasksbeta.zip
Extract com.ssi.gtasksbeta.zip to own folder. Change your files. Zip back up to com.ssi.gtasksbeta.zip. Rename to com.ssi.gtasksbeta.apk. Resign with Stericsson's auto-sign tool. Uninstall previous version from your phone. Place your new version somewhere in /sdcard. Install via Astro or other FM. Your new app will not update from the market. You'll have to do this to every version you want to use.
Thank you veeeery much!!
This is the perfect way!
I love this ADB stuff, it works so easy, when you know how (am doing screenshots, to not forget )
Unzipped gtasksbeta on my PC..
Now I have to read about the auto signing thing, found lots of threads about that!
Thanks again!

[Q] Load Programs?

Ok, new to all this. I have a Sprint HTC Touch Pro 2 CDMA. I flashed to an Energy Rom, looks great. Now... How do I load other software... games and such? I have looked around here, thinking it would be part of the first post, I was wrong. Perhaps this site is too advanced for that? If so, point me to a newbee site and off I shall ride. Thanks in advance for your help. This phone is awesome, and the Energy rom I loaded, looks sweet.
Johnhcfllc said:
Ok, new to all this. I have a Sprint HTC Touch Pro 2 CDMA. I flashed to an Energy Rom, looks great. Now... How do I load other software... games and such? I have looked around here, thinking it would be part of the first post, I was wrong. Perhaps this site is too advanced for that? If so, point me to a newbee site and off I shall ride. Thanks in advance for your help. This phone is awesome, and the Energy rom I loaded, looks sweet.
Click to expand...
Click to collapse
well. there is the microsoft marketplace. or .cab files.
.cab file instructions...
one. download application's .cab file. suggested list of applications can be found here.
two. move the .cab onto your phone's storage card.
three. on your phone, navigate to the .cab file with file explorer, or other like program.
four. open .cab file.
five. choose installation location. device or storage card.
six. select install.
seven. enjoy.
and i havent ever used marketplace before...
i always find the .cab file.
sh4d0w86.
Not to make fun, but it is pretty surprising the you are able to unlock the phone and reflash the OS, but can't install software.
If you search this site, Microsoft Marketplace, or just do a Google for "Windows Mobile freeware", you'll find many thousands of apps. Find the app you want, copy or download the .CAB file to the TP2, and execute it.
For example, Google "Google Mobile Maps", download the Windows Mobile .CAB file, and run it.
Thanks
Well, the instructions to flash a phone are detailed and many. One problem I had was I was dropping the 7zip file onto the phone. Also, I could not unzip the file with the extension of 7z because I did not have the correct unzip manager. Another issue was I was trying to Sync the programs to the phone. Thanks for clearing it up. Is there a logical place to put them on the phone to make them run fast? Thanks in advance.
Johnhcfllc said:
Well, the instructions to flash a phone are detailed and many. One problem I had was I was dropping the 7zip file onto the phone. Also, I could not unzip the file with the extension of 7z because I did not have the correct unzip manager. Another issue was I was trying to Sync the programs to the phone. Thanks for clearing it up. Is there a logical place to put them on the phone to make them run fast? Thanks in advance.
Click to expand...
Click to collapse
Installing to main (internal) memory is much faster than installing to the SD (external) memory. Installing large programs to the SD card is the general rule of thumb for obvious reasons. It's up to you where you prefer to install them.
If you mean where should you put the actual *.cab files, then you could always delete them once they've been installed. You don't need them again unless you're going to flash constantly. It's always good to back them up, so storing them on your PC or the SD card would be preferable.
Thanks a bunch!
well, check out this thread..........
cabs just load on the phone and run like any program, just find the file and click it. exe's need to run from windows (regular computer) and install through activesync.
http://forum.xda-developers.com/showthread.php?t=550973
Excellent Thread!!!!!!!! I too made all those mistake and diddn't know how to load .cab files. This is my first foray into modding phones so this thread was quite informative.

[Q] How to extract xap file?

I've downloaded the lil'messeger free app from the marketplace and it has been since removed from the marketplace. Is there anyway I can extract the xap file so that when nodo comes i can reinstalled the app?
you shouldn't lose any apps or data when you upgrade
yeah but is there a way to extract the xap? i want to keep a backup copy just in case
Rename it to .zip, and extract it.
ale07 said:
Rename it to .zip, and extract it.
Click to expand...
Click to collapse
Thanks but no thanks. You completely missed the point.
What i wanted to do was to extract the xap file FROM my wp7.
info5i2002 said:
Thanks but no thanks. You completely missed the point.
What i wanted to do was to extract the xap file FROM my wp7.
Click to expand...
Click to collapse
Use Advanced Explorer. Go into "My Device/Applications/Install/" and open every folder and take a look at the " backround.jpg" until you find the icon of your app. Then send every file in the folder to your pc.
Then pack it as a .zip and rename it as a .xap .
Elerador said:
Use Advanced Explorer. Go into "My Device/Applications/Install/" and open every folder and take a look at the " backround.jpg" until you find the icon of your app. Then send every file in the folder to your pc.
Then pack it as a .zip and rename it as a .xap .
Click to expand...
Click to collapse
Thanks that is much better. But however, I have forgotten to mention that i am using an Omnia 7.
info5i2002 said:
Thanks but no thanks. You completely missed the point.
Click to expand...
Click to collapse
You have missed the point. This is the development and hacking section.
eried said:
You have missed the point. This is the development and hacking section.
Click to expand...
Click to collapse
I.e. a place to work on how to extract xaps from omnia 7.
A) There are forums for device-specific questions.
B) There are forums for general (non-development) questions.
C) There are tools for filesystem access that should work on the Omnia 7 (I don't have one; I can't test). The instructions are the same, though the app and exact steps are different. Also, Advanced Explorer has experimental support for Samsung devices now.

Categories

Resources