Being able to change links in an APK/App - Android Q&A, Help & Troubleshooting

is there anyone who can help with changing links in an android app? like there's an app that gets .zip and stuff from a link and i wanna change the links so it can get them and use my own stuff in the app.
it's using libil2cpp.so (made with unity, i can get the assembly dlls from it) and i tried to do stuff with it in ida pro but i suck at this and i wanna know if there's an easier way. i want to send this modified apk to my friends so they can use it too. i used inspeckage to see stuff and it requests the links that i wanna change. like, the exact same file name will be in my hosting with in the same folder.
like if the app requests
blabla.com/files/texture/200.png
i wanna change it to
myhosting.com/files/texture/200.png
so it can get the 200.png in my hosting and show it in the app. i checked in the assembly and libil2cpp stuff but i couldn't find any link in there (i mean it shows what to request but it doesnt show the link in the code). i hope you guys understand what i'm trying to say.

Related

Deleted............

Deleted............
Thanks alot appreciate this
Thank you! Always fun to dig through these!!
Dropbox Mirror
Dropbox Mirror - URL TAKEN DOWN - all credit for the file goes to OP. You do not need a Dropbox account to download this file, simply click on the link.
Edit: Well apparently this file is somewhat popular, as when I went to check my e-mail, I received this message...
This email is an automated notification from Dropbox that your Public links have been temporarily suspended on account of generating excessive traffic. Your Dropbox will continue to function completely normally with the exception of Public links.
I have since uploaded the file to MediaShare, and even though they have annoying ads (if you don't have the right blockers installed =p), they seem to have good speed and shouldn't drop the link because of traffic like Dropbox did.
http://www.mediafire.com/?qe11w7z02c2cp99
thank for this man!!
Can I unzip the wallpapers on my N1. Or does it need to be unzipped on a pc
question for droid 2 owners
I wonder if its possible for droid 2 owners to try this. Can you go to this website adobe.com/software/flash/about/ and see what version of flash it indicates that you are running. I am curious to see if it says whether your running 10.1.72.7 or like the application info states 10.1.72.7.10 . If it is running the second version then I wonder if its possible to extract this update. On the droid 2 in the stores if you look under application info the update to the adobe flash is not part of the system files. It actually shows as a downloaded update which leads me to believe that it might be possible to extract the apk update.
The media share link above seems to have been taken down or deleted as well. Can anyone out there still using a DROID 2 provide a dump of the system/app folder. I am trying to fix my friend's phone who still has a couple months left on his contract.
If a zip of the entire dump is not possible, more specifically, I need the apks and odex for:
friendfeed
blur.home.status
messaging.engine
SocialMessaging
blur.socialshare
Thanks in advance
why not get a sbf and repair it that way?

[Q] APK Viewer for Windows/Linux (File Explorer with icon)

i have search the web/forum for a windows app that running on the PC you can see at least the apk icon, I have several apks on my PC but when I’m looking for an apk, is hard to remember the name or when trying a new apk is not enough just looking for the name, I may be more visual guy that if I see a nice icon I will try it jajajja
I just found this thread but look die..
http://forum.xda-developers.com/showthread.php?t=577735
is there some application or dev that can easily do an apk viewer, just looking inside the APK folder on the /res/drawable/ the apk icon shows, but how to make it shows at the apk compressed file…
thanks
ulissescg said:
i have search the web/forum for a windows app that running on the PC you can see at least the apk icon, I have several apks on my PC but when I’m looking for an apk, is hard to remember the name or when trying a new apk is not enough just looking for the name, I may be more visual guy that if I see a nice icon I will try it jajajja
I just found this thread but look die..
http://forum.xda-developers.com/showthread.php?t=577735
is there some application or dev that can easily do an apk viewer, just looking inside the APK folder on the /res/drawable/ the apk icon shows, but how to make it shows at the apk compressed file…
thanks
Click to expand...
Click to collapse
I am looking for such Windows Application since a time, have you found any way to see the icon. .
i'm looking for...
i just tried a Droid Explorer but i can not found a way to explore on the Actual PC. then i have try an other Windows program called Icon viewer but than only works on a dll and exe files, i try changing the extension but didn't work...
the only way that i think it should other that writing a windows applications is to use the emulator with a Virtual Device, then run a File Explorer APK and look in to it. i did but i try to find where is the SD Content in to the PC and i think i found it in to the /User/.android/avd but no lucky putting the apk file on it, i will check it later but i think that one way to do it, i need to read more about the content storage when using the emulator..
Maybe someone could make an addon for Total Commander. Should be very possible to have it extract and use the icon inside the APK.
It already has addons for Blizzard MPQ files, C64 emulator files and Amiga emulator files. Seems very possible that it could get an addon to show this icon as well. I use it to browse APKs already.
i was checking File Expert and just notice you can share or see the SD card content from your PC, but also notice, the APK's you can see how the actual icon for the app looks like...
is there someone could make a modification to this that we will be able to see our Hard drive Apps also?? or could be also good to have a chrome or firefox extension that allow us so see the icon of the app, i'm not expert on this...
regards
ulissescg said:
i have search the web/forum for a windows app that running on the PC you can see at least the apk icon, I have several apks on my PC but when I’m looking for an apk, is hard to remember the name or when trying a new apk is not enough just looking for the name, I may be more visual guy that if I see a nice icon I will try it jajajja
I just found this thread but look die..
http://forum.xda-developers.com/showthread.php?t=577735
is there some application or dev that can easily do an apk viewer, just looking inside the APK folder on the /res/drawable/ the apk icon shows, but how to make it shows at the apk compressed file…
thanks
Click to expand...
Click to collapse
I have created my own in C#
it doesn't display an icon on desktop, like normal windows app, but something look like this.
how to do?
I think you must try this http://code.google.com/p/apkshellext
Click to expand...
Click to collapse
Ops, sorry
Actually I can not find delete post button
djoshalfa said:
I have created my own in C#
it doesn't display an icon on desktop, like normal windows app, but something look like this.
Click to expand...
Click to collapse
That's wonderful! Would you please share this program?
djoshalfa said:
I have created my own in C#
it doesn't display an icon on desktop, like normal windows app, but something look like this.
Click to expand...
Click to collapse
Please could you share with us? thanx
+1 for sharing the app
hmmm... not possible? or fake? ;]
APK-VIEWER for WIndows (for Linux on next days)
last week i've wrote a similar utility.. maybe can help someone on APKs identification (for now is only for windows)
the app archive is called apk-viewer.zip .. and can be downloaded from my site : www wcn.it (it's on root)
coming soon the linux version...
Davy Bartoloni said:
the app archive is called apk-viewer.zip .. and can be downloaded from my site : www wcn.it (it's on root)
Click to expand...
Click to collapse
cant find it there can u provide url please? thanx
VictorC666 said:
cant find it there can u provide url please? thanx
Click to expand...
Click to collapse
sorry i'm a Junior member and i can't post direct links... you have to write on your browser this:
www wcn.it/apk-viewer.zip
(add a . after www )
Apk Viewer for Linux (and Windows)
here the new Linux+Windows app archive
www .wcn.it/apk-viewer.zip
just the Linux binary (GCC 4.7.1)
www .wcn.it/apk-viewer.tar.gz
please send me PM for any issue
Hi.
Thanks for this great utility!
I have found some apk's not recognized and I will send it to you by email, on the next days.
Best wishes!
deejay4angels said:
Hi.
Thanks for this great utility!
I have found some apk's not recognized and I will send it to you by email, on the next days.
Click to expand...
Click to collapse
Thank you for your feedbak
Very nice! Looking forward to more features! :good:
wow nice one.....it would be so useful if i can see the thumbnail of the exact app instead of the android green logo ...thanks for sharing

[Q] Adding smali-files to an apk?

Hi,
i want to use an app from another device on my nexus.
Ive done all the common things and the app works after changing some smali-files, ok.
Now, the app has widgets and heres my problem:
The widget cant load, because the corresp. xml-file has references on some classes not found.
I found these classes in the framework.jar from the original device.
How can i make them available on my device?
I tried to copy them with their structure in my apk but that doesnt help.
Do i have to add them to my own devices framework.jar?
Would be nice if someone could help me!

[Q] (Solved?) Change DEFAULT Homepage on Cooked Rom

Ok, got a bit of a problem here... I need to change the default homepage of the browser in a Rom I'm cooking... that means the homepage you get after a full factory reset, not that you set in the menu.... Please don't tell me how to set it in the browser menu....
A bit of background... I'm using a leaked Rom to build from. It was leaked from a Tracfone "LG-L95G" which is identical in every way to the LG-P999 aka T-Mobile G2X. Everything is working 100%. The only problem left from the "porting" is removing Tracfone as the default browser homepage.
This has turned out to be harder than I expected.
What I have done:
Browser.apk - the xml lists Google as the homepage. The word "tracfone" appears NOWHERE in the entire structure of the decompiled xml or values or even in the smali code.
SystemUI & framework-res - I've seen suggestions the homepage hides here. Can't find anything suggesting a setting to "tracfone"
flexdb - I really thought I had it kicked here. /system/etc/flex.db listed m.tracfone.com as the homepage for T-Mobile US. I changed all occurrences here to about:blank. I have also tried simply copying the flex.db from a P999 itself. Ie, removed ALL references to tracfone service and made it identical to a P999 in every way.
Ran grep -R tracfone * on the entire ROM.
Dug through tons of files by hand looking for any clue.
Unfortunately, even with all of that, do a wipe, open the browser, and you GET M.TRACFONE.COM again!
The word "tracfone" does not appear in build.prop, it does not appear in any init scripts, not even in the kernel scripts! Yet it comes back like Christine...
Does anyone have a clue where I could look next? Or failing that, even some way from an init.d script that I can overwrite the setting myself?
EDIT
Okay, I hate giving myself clues like this, but maybe this will help others (if I'm on the right track)...
Instead of doing a grep on the ROM from my PC, pre-install, I decided to actually hit up the RUNNING copy... so from adb into a Bash prompt on the phone itself, I ran a grep -r tracfone * and got the following result:
Code:
data/data/com.android.browser/databases/browser.db:Web page not availablehttp://m.tracfone.com/
data/data/com.android.browser/shared_prefs/com.android.browser_preferences.xml:<string name="homepage">http://m.tracfone.com</string>
data/data/com.lge.providers.flex/databases/flex.db:M77BRW_SETTINGDB_CURRENT_HOME_URL_Ihttp://m.tracfone.comhttp://m.tracfone.comI#
data/data/com.lge.providers.flex/databases/flex.db:=77BRW_SETTINGDB_HOME_URL_Ihttp://m.tracfone.comhttp://m.tracfone.como"
data/data/com.lge.providers.flex/databases/flex.db:=;;DATACOM_ACCOUNT_MMSC_0_Ihttp://mms.tracfone.comhttp://[email protected]
data/data/com.lge.providers.flex/databases/flex.db:;%%DATACOM_ACCOUNT_APN_0_Iwap.tracfonewap.tracfone:?
data/data/com.lge.providers.flex/databases/flex.db:M77BRW_SETTINGDB_CURRENT_HOME_URL_Ihttp://m.tracfone.comhttp://m.tracfone.comI
data/data/com.lge.providers.flex/databases/flex.db:=77BRW_SETTINGDB_HOME_URL_Ihttp://m.tracfone.comhttp://m.tracfone.como
data/data/com.lge.providers.flex/databases/flex.db:=;;DATACOM_ACCOUNT_MMSC_0_Ihttp://mms.tracfone.comhttp://mms.tracfone.com6%
data/data/com.lge.providers.flex/databases/flex.db:;%%DATACOM_ACCOUNT_APN_0_Iwap.tracfonewap.tracfone:$
Which is very odd.... considering that is NOT the content of the actual flex.db that was flashed to the phone. That leads to 1 question: Why isn't the phone respecting the flex.db? I've noticed other edits to the file (such as bookmarks) do not apply either. So it is being ignored at somepoint. FlexProvider.apk maybe? Or is something in the ROM still identifying the phone to T-Mobile as an MVNO device and they're pushing out an OTA flex update?
EDIT 2:
AHA! There's a flex.db *INSIDE* the FlexProvider.apk file! So it *IS* ignoring the one placed in /system/etc/flex/! Editing this should solve it - but I'm going to test test test to make sure.
lotherius said:
Ok, got a bit of a problem here... I need to change the default homepage of the browser in a Rom I'm cooking... that means the homepage you get after a full factory reset, not that you set in the menu.... Please don't tell me how to set it in the browser menu....
Click to expand...
Click to collapse
firstly to say interesting question!!
but I think it it not possible to change programmatically default homepage
this is a system app so will be signed by your provider let us suppose you find homepage location in code (could by result of a script parsing) by modifying source of that apk package how to solve signature problem ?!
if in .db file ...this file is created after flashing as a result of script parsing
not framework-res.apk better browser-res.apk if you have one
ruscan.calin said:
firstly to say interesting question!!
but I think it it not possible to change programmatically default homepage
this is a system app so will be signed by your provider let us suppose you find homepage location in code (could by result of a script parsing) by modifying source of that apk package how to solve signature problem ?!
if in .db file ...this file is created after flashing as a result of script parsing
not framework-res.apk better browser-res.apk if you have one
Click to expand...
Click to collapse
man use a ... editor...I can show you for fifty bucks
I was just curious about this tricky change (from your post) so thinking about Google motto don't be bad finally I have found but should recognize that I am bad at this time
here is solution
Actually, you can use an sqlite editor to change the values in the flex.db file... the problem I was having in the OP is that on an LG phone (maybe others?) the flex.db file is ignored and the one inside FlexProvider is used instead, so you have to edit both. You can add new locales the same way. No need to use a hex editor, as that would be much more difficult.
lotherius said:
Actually, you can use an sqlite editor to change the values in the flex.db file... the problem I was having in the OP is that on an LG phone (maybe others?) the flex.db file is ignored and the one inside FlexProvider is used instead, so you have to edit both. You can add new locales the same way. No need to use a hex editor, as that would be much more difficult.
Click to expand...
Click to collapse
maybe you are right regarding your phone... but also I prepare a custom rom for Alcatel ot-908 also to change default homepage was a problem for me but I did and simply works !

[Q] Converting Android Manifest.xml To readable, and vice-versa

Well, I was going to put an app up on the market for a seminar , [and yes, i did use that Google app Builder], so when i tried to upload it, it told me that some value in the AndroidManifest.xml had to be a 32-bit integer.
So, I opened up that apk, viewed the manifest.xml file, but it just looks like a load of gibberish to me -__-
Now, I'm a bit new to all of this, considering that 11th grade's keeping me a wee bit occupied, so I guess I'll need some help with this.
[And note: Umm. Do not flame me for coming up with this, I'm not blaming google's app builder, or anything like that, anyway]
I've come across a couple of things like apktool, but each time i run it, it tells me that there's a file in jre7 that cannot be opened, apparently. Touche :|
It's an old question, so I guess you don't care too much about the answer by now, but to help others with a similar query, there are 2 ways to read the AndroidManifest file if you have the apk file.
1) If you extract the apk to a PC, you can use the apktool or similar to get a text version of the AndroidManifest.xml file
2) Alternatively if you have the apk already installed on an Android device you can use something like App Detective (https://play.google.com/store/apps/details?id=com.zmarties.detective) to view the AndroidManifest.xml directly on the device, even for paid apps that you can't extract from the device. (Full disclosure, I wrote App Detective).

Categories

Resources