General :: Using Xposed To Replace Binary Asset File In A Game
Jun 15, 2013
I've tried looking around google, xda search tool, have read all pages (3 of them) in Xposed wiki. I've been trying to cheat in a game called Galaxy On Fire 2 HD (I have purchased it), I've found some tutorials how to do that on iOS by modifying some binary files (assetsdatainships.bin and items.bin), on android those files are in game apk, and I cannot modify them without breaking signature.
I found Xposed framework and I think it could be perfect for my purposes. Is there an easy way to replace those asset files by my own? I have very little programming skills though, but I'll try. I've found a short example in wiki, but I don't understand it. I've read wiki tutorial 2 times but still have only vague idea how all this works.
I am creating a game using the irrlicht c++ 3D graphics engine port to android platform. The graphics engine is written in c++. I need to be able to load meshes and textures etc from c++ code. My current plan is to place all the game asset files in either the res/raw directory or the assets directory then on start-up copy these files to the sdcard so they are accessible from the irrlicht c++ code.Is this the best way to make the game media files accessible from c++?
so I'm trying to write in "Update-Binary" in a Zip File .
In The Zip The Update-Binary is Located : META-INF < COM < GOOGLE < ANDROID < (Here)
I'm trying to write and edit some things into the file , which I have tried with NotePad++ and Notepad and WordPad . None will work ... When I go to Flash I have a Error right away since The Update binary is the system to start the Flash it won't work .
I bought an android 2.3.6 phone which no one has tried to root( it seems). So I was wondering if I could root it by creating an update.zip file containing the su binary and the superuser apk and then installing it in the recovery mode. Will this work? I have failed with gingerbreak, unlockroot and z4root.
My requirement is to open one app's Asset file from another app via content provider.(I am exposing that file with ContentProvider implementation)I am able to open few files and read, but while opening some files I am getting exception. Please find the implementation for opening Asset File.Can anyone point out me, in what scenarios, we will get this exception.
I am having problems downloading a binary file (video) in my app from the internet. In Quicktime, If I download it directly it works fine but through my app somehow it get's messed up (even though they look exactly the same in a text editor).
I have a binary file which contains image. I have to jump on different locations in file to read the image file. So far I am using mark and reset methods but these are not helping me as I want. And I am using Input Stream to read the file.
i have a map file which has several tile images in the form of binary data. now i have to jump my index to different location of the file and read that tile. but i could not find anything helpful for me i also checked mark() and skip() methods.but not helping me.is there any method or class which can do what exactly i want or any hint you want to give me.
I'm trying to unbundle a binary file (sound1.ogg) and store it on the sdcard.So it starts out as a raw resource (R.raw.sound1) and should end up as a copy named /sdcard/ mydir/sound1.ogg I wrote a method called something like copyResourceToFile() and did a copy via file descriptors / streams. But the target file just isn't right.If I do a buffered read, the target file ends up being WAY bigger - like 10x bigger.If I just do a byte-by-byte read for the size of the original file, the target file is the right size but is not the same file. Is there a simpler (well, correct/working) way to do this thing?
I am developing a financial app that stores data in a file.I have noticed that text file i/o is pretty slow. If I switch to a binary format, how much faster will it be? 2x? 10x?I could write my own timing tests but I am hoping someone else has already done it.
Can anybody have any idea how to read a binary file which resides in sdcard using Streams, like Inputstream, CountingInputStream or SwappedDataInputStream?I am using these three streams to read a file which is currently in the Resouces folder, but now i want to move that file in sdcard but I cannot change these stream because I have done so much work on it and I cannot roll back my work.i am doing it this way but its giving me FileNotFoundException.
In my Android app I want to have an input field with autocomplete. The number of items will be about 300000. The best solution seems to be to put the items into a file (on sdcard), one item per line, each line would have the same number of characters so that I can seek to specific line number. If the user enters something in the text field, I would binary search (via RandomAccessFile) the file and show suggestions.I want the autocomplete to be super fast (ideally under 100ms but I guess it's impossible), what optimizations I can do?
Update 1: I will convert the users input to lowercase english characters (a-z) with spaces. So 'A/b' would be converted to 'a b' and then searched.
Uodate 2: I now realized I need additional thing - to search for word-starting substrings.
I've rooted my Sprint Galaxy S5 and it made the phone work slow. The buttons took a good 3-4 seconds before responding, and sometimes would not respond at all. "HealthService" would always crash, and other slowdowns like when I drag down the notification bar. I installed Xposed and BusyBox. However, the phone was working slow before those were installed. So I unrooted it and flashed the stock ROM, and everything worked fine. Time passed by... I decided to root it again. So I did, same method, same files, and it was working normal. No slowdowns, buttons worked perfectly and were responsive. "HealthService" still force stops but I presume that is an easy fix. Then I installed BusyBox and Xposed again. Once both were installed and after 5-7 minutes, the phone started to work slow as before.
I just got my first smartphone and rooted it yesterday, so I'm new to this stuff (but in general am good w/ tech). It's a Moto X non-dev verizon, and running 4.4.
Xposed Framework (installed 2.4.1) won't stay up to date after a hard reboot (app_process is a red dash) and thus my modules don't work at bootup. There actually was an issue when I first installed Xposed: after installing and then updating and rebooting, it wouldn't say it was up to date until I did a soft reboot. Now after a hard reboot, I have to reupdate xposed and then soft reboot for modules to work.
I've tried reinstalling Xposed, no go. SuperSU seems to work fine with my other apps too.
I've installed some modules with xposed framework, but some of them (kitkat toast report, smooth system progress bar, keepchat, swypeback, advanced power menu) are working only after a soft reboot, so if i turn off my phone for the night, when i turn it on, the modules aren't working.
I tried to uninstall/reinstall them, but it didn't change anything.