APK Editor Coding Help - Android Apps and Games

I am trying to mod a game so that the game doesn't block a vpn. I have looked at the dex files and I think the vpn block has something to do with a firebase file because the file was not there before the vpn and it appears in the versions after. I have looked at the files and have found discussions of vpn in a nimble folder, but when I replace the new nimble files with old ones to try to make it not detect vpn, it always still blocks vpn. Can anybody help me?

Related

[Q] hosts file in windows Phone 7?

Hello ,
how to modify the hosts file?
Thanks
Not possible for now. Definitely not possible with standard API and menus.
There wasn't ever any hosts file (at least not on WM), it was in registry. HKLM\Tcpip\Hosts or something like that. If you unlock the device and get access to registry, you can do it there.
How to access the registry?
No way of doing that yet.
Anyone managed to look deeper into that? Could be helpful for blocking ads and unwanted comunication to MS...
Does anyone try to edit host file on Mango?
try this http://forum.xda-developers.com/showthread.php?t=1349213
Also, have in mind that the app you downloaded was free because of the ads. Most apps have a paid version that removes the ads.

Run a website on your Android Phone

*edit- For some reason, this thread got posted in Android Software and Hacking general instead of Android apps and games :-|
Hey everyone, its me again.
I have recently been using an app called Paw Server for Android. Though it may seem stupid, this app can really come in handy. The app itself is a utility for managing messages, contacts ect.. But what many people do not realise is that you can host your own website on it, wherever you go. Though this will only work over wifi, you can optionally do some port forwarding to make the site accessible over the internet.
To put a custom website on the server, do the following
1. Install PAW Server for android.
2. Mout your phone's SD-Card On your computer
3. This step has two options:
A Website:
Put your website files in /paw/html/ and make sure the index.html is in this directory. (If you need help creating a site, please visit http://cyanstatic.com)
A File explorer:
If creating a website is too much of a hassle, you can just put some files that you would like to access from your browser in /paw/html/. I Put a couple of songs and videos in the folder and had no trouble streaming the files to my browser.
4. Now open PAW and press the 'Start" Button.
Congratulations!
Your website/chosen files should now be accessible from your browser
i use swiftp, does pretty much that, though it is dedicates to do so, so i think it's a bit more comfortable
This is a great tool
Will give it a shot
doenis said:
i use swiftp, does pretty much that, though it is dedicates to do so, so i think it's a bit more comfortable
Click to expand...
Click to collapse
Really? So can swiftp run a web server or just file services?
Wow amazing!
Sent from my HTC Vision using XDA App
I used PAW Server to host a WIKI on my Nexus One
I used PAW Server to host a WIKI on my Nexus One....
And it almost worked!
tiddlywiki (google it, I'm new and can't do links) is a one page wiki written in, I can't really tell because the tiddlywiki page doesn't do much about talking about how it works.
But PAW serves the pages, and some of the read/browse functions seem to work -- but I was unable to figure out how to edit a page -- and that could just be my fault.
And installing the wiki was pretty easy. I downloaded the zip file to my pc, moved it into my dropbox directory, unpacked it into a directory called wiki, and then on my phone, I synced drop box, and I moved the wiki directory into the paws/html directory. And it served up the page just fine.
But I couldn't edit it.
Why does it ask for permissions to everything? ie Camera, Vibrate, etc....
This maybe unintentional with the manifest, but it looks awfully rogue when programs look for permission to things they don't use.
Very cool thanks for the share! Tough it doesn't make much sense serving via mobile, but i might give it a shot and see if I can use some DNS servers too, starting with dyndns.org
Check out Wifi Remote Access for Windows Mobile: You can do the same thing, but it also comes with a whole range of other stuff.
To edit it, you just need to go into program file, and add a folder inside public (I think) with all your website files. Then change Wifi Remote Access's default.html to redirect you there,instead of to /fs/
mik101 said:
Why does it ask for permissions to everything? ie Camera, Vibrate, etc....
This maybe unintentional with the manifest, but it looks awfully rogue when programs look for permission to things they don't use.
Click to expand...
Click to collapse
This is because it comes with a site on it for managing your phone, like take pictures from the browser and send sms.
With the server it is also possible to develop web applications that use the Android API.
That's also a reason (apart from the web interface mentioned by GlobaL_TroTTer) why there are so many permission requested.
Great find! This is going to be very beneficial to me if I ever misplace my phone around the house or at school. It also has several features that are invaluable IMHO.
Great App - but not working on Verizon network
PAW Server is a real gem... it works great in a LAN/WiFi environment.
Unfortunately, it appears that Verizon Wireless doesn't route ANY traffic that is not initiated by the phone/user.
So thi nice little personal web server is unreachable over the air.
Same for Telnet, FTP, etc.
If anyone has a working app (on a Verizon network) - reachable FROM the net - please let me know!!
Android Port Forward?
GlobaL_TroTTer said:
*Though this will only work over wifi, you can optionally do some port forwarding to make the site accessible over the internet.
Click to expand...
Click to collapse
I'm trying to access the server without connecting through wifi. Is this even possible?
Thanks
I've played around with PAW Server. I like the PHP Plugin. I created an offline UPC scanner web app (for retail inventory) in PHP/JS/WebSQL which synched with a remote server. It eventually turned into a Phonegap app.
Directory Permissions
Does anyone have a link to some documentation regarding "Directory Protection" part of PAW?
It mentioned that granting permissions to certain folders must follow the following format
relative-directory:auth-type:realm:users
with a sample of
/test:basic:Test Real:user
But I don't know what auth-types are available. I'd like to grant a certain folder read permissions to everybody.
I just have to say that setting up my own website with PAW was super easy (10 easy steps):
1) Install PAW and start up server: google PAW android
2) Find external IP: google "what's my IP"
3) Go to router (192.168.0.1 or 192.168.1.1 ) and enable port forwarding to your android for the port you used.
4) Set up PHP: Use browser to hit server(192.168.1.?), sign in, go to add-ons, setup PHP, transfer unzipped folder to /sdcard/paw/html/app/plugins/ and restart PAW server
5) create file (mypage.php) with contents(<html><head></head><body><?php echo '<p>Hello World again</p>'; ?> </body></html>) and place it in /sdcard/paw/html/app/
6) Navigate to [myexternalIP]:[myport]/app/mypage.php (note requires login) Unless you changed the port number it defaults to 8080
7) Register for a free domain: no-ip.com
8) Modify host to have "Port 80 Redirect" to the port you configured (typically 8080)
9) Fix permissions on certain folders so joe blow can hit my server <---- How to do this part????
10) Profit!

[Q] Browsers overruling Hosts file?

I've edited my hosts file, with various different methods... signed flash, rooted copy, adb push, move, and EVERY time, it is a partial success. ALL of the hosts in the file successfully direct to 127.0.0.1 when I ping them from Terminal Emulator. They show as they should from nano. However, when I try any and all of them in any browser (Safari, Opera Mini, Dolphin HD), it connects fine to everything in the file!
One of the blocks are suggestqueries.google.com - Since I have no choice, I use this to block Google search suggestions from the YouTube application. This does its job in YouTube, but you guessed it, I can connect (and get redirected) in the browser perfectly.
"Anything" browser related to my hosts file are not working. Namely, the one I want to block the most is clients1.google.com. It's in there in the hosts file, and pings back to 127.0.0.1, but of course, the browsers redirect this to Google.co.uk, and picks up suggestions normally. The same goes for all of the sites in the file.
DroidWall wouldn't solve this issue either as I can only block applications, not hosts. I tried fixing permissions, changing APN maybe it would clear DNS cache I don't know?? (if it really makes any difference). Tried with and without Adfree with/without symlink. The behaviour does not change. If it pings back to 127.0.0.1 and works for all other applications, I don't think there is anything wrong with the file or its operation. Can someone please advise me why this is happening and how to solve it? I've spent about a week searching, editing, flashing and more searching.
So I take it nobody knows? Is it supposed to be like this?
Sent from my HTC Magic/Dream using XDA App

Paradise Island editing apk, but game crashes

Hi
i try to manipulate a game for Android, called Paradise Island.
Does it work, when i backup the game apk with Titanium Backup, open the apk with WinRar, edit e.g. achievements.plist (xml style, i edited here some values), save the achievemnts.plist back into the apk with compressionmode normal (still Winrar) and sign the apk with Singapk.jar and transfer it to my mobilephone?
I just did so and the game loads, but after 1 or 2 seconds the game quits without any errors or notifications. I can hear the ingame music for these few seonds.
What did i do wrong? Is there anything that i must pay attention to?
Thx for answers and maybe there is someone else out there trying to hack that game
i guess your achievements are also stored on the server (i think you can visit other players islands, so there must be some data from each of them available) and so they might notice it when you "cheat"
Yeah, but i never had my Internet connection turned on, so there can't be a possibility, that it was checked by the server
imo checksum verification
Shushero said:
imo checksum verification
Click to expand...
Click to collapse
Yeah, that was my first thought but then i tried to imagine how it would work. Assuming that it creates a checksum. The question is, where does it save it?
There is only one apk and when it saves its checksum in itself it changes its checksum. Get it?^^ I have no connection to the Internet, there is no way to communicate with other Servers.
ChEeTaH182 said:
Yeah, that was my first thought but then i tried to imagine how it would work. Assuming that it creates a checksum. The question is, where does it save it?
There is only one apk and when it saves its checksum in itself it changes its checksum. Get it?^^ I have no connection to the Internet, there is no way to communicate with other Servers.
Click to expand...
Click to collapse
I think, while loading game, there is a calculation of checksums of all plists and then just verification of them with constants in source code, without any connection to the internet.

View Network Traffic Android App with restricted CA list and no code

Disclaimer: I've a software developer but new to Android - I don't think is obvious though, hence my choice of place to post.
I'm trying to view the network traffic of an android app for which I'm in no way associated.
Here's what I've done:
1. Install app from google play store. Running `adb shell pm path ...` shows _multiple_ APK files have been installed.
2. Proxy network traffic through my laptop. This works but all the requests from the app are encrypted.
3. Install custom certificate authority on my android to prepare for SSL encrypt/decrypt inside laptop proxy.
4. Decrypt traffic on my laptop proxy. From laptop proxy logs I can see many requests are succeeding, including mail.google.com. However the app I'm interested in is failing SSL handshake between android and my laptop.
4. Pull all app APK files from my android to laptop.
My plan: Modify the APK files and reload them onto my android to accept my own SSL ca. I believe this can be achieved by simply modifying/adding xml files.
Problem: How do I configure android studio to load the many APK files onto my android. I can get it to install one APK file, but this doesn't work.

Categories

Resources