What is the deal with the build.prop - G1 Android Development

someone did an .apk file that has google navagation working on my g1, but there are 3 or 4 other threads on getting navagation working on the g1. some modify the build.prop and others have batch files that mod it. So which one is really needed? does the .apk file do everything or do I need the modified build.props?
also, my apologies for not crediting by name who did what, I don't have all the links on hand.

Related

[MOD/CHEAT][Guide]How To Edit Fieldrunners HD apk for Money & Health

Hello everyone......if youre like me and just want to beat the crap out of a game that ticks you off sometimes then this is for you. This guide will explain how to edit the apk for fieldrunners hd. I will not supply or distribute the apk, so please do not ask.
First you will need the apk file you have purchased from android market. If you have an apk from amazon app store it will not work.
Start by changing the file extension from apk to .zip. Next, extract the contents of the file to a new folder on your desktop. (Folder can be named anything you like)
Open folder Assets>Data>HighResolution>Maps
Here you will find 4 folders....Cave, Crossroads, Drylands, Grasslands
Open the Folder for the level you wish to edit. (I will use grasslands as example for this guide)
Look for the files that have a ~map.mp3 extension. Open this file with a text editor like notepad. A few lines into the file will see this "startingHealth="20" startingResources="15". Change these values to anything you want them to be.
If you would like to modify the specs for the towers you can do this as well. I find it fun to make one weapon that just kills everything in one blow.
Open folder Assets>Data>HighResolution>Towers. Look for the tower you would like modify and open the file with a ~tower.mp3 extension in a text editor like notepad. Each tower will have one of these files for it. When opened look for <minDamage="129" maxDamage="129"> There will be a line like this for each level of tower, 1,2&3. Change he values to whatever you like, the higher the number the stronger the weapon.
Now that you have editied all maps and towers you want to it is time to button this up. Select all the files and folders you extracted from the zip file and create a new zip file. I use winzip with no compression. Name your new file whatever you like and save it to the desktop or a place you can find it. Now change the file extension of the new file from .zip to .apk. You will now need to sign the file, you will have to learn that in a different writeup. Once the file is signed it will install and you will see the changes in the game.
Good luck tinkering, do not post apk's here, and please act responsibly.
jase33 said:
Hello everyone......if youre like me and just want to beat the crap out of a game that ticks you off sometimes then this is for you. This guide will explain how to edit the apk for fieldrunners hd. I will not supply or distribute the apk, so please do not ask.
Good luck tinkering, do not post apk's here, and please act responsibly.
Click to expand...
Click to collapse
Ofcourse, i don't need the APK...i bought the game...But where to find on my device??? I am using a SGSII...thnx. ow...and i did not buy the game on Amazon, but via the Google Market.
the apk can found on your phone at data/app. you must be rooted to get to this. if you bought the game but are not rooted, maybe google can help you.
jase33 said:
the apk can found on your phone at data/app. you must be rooted to get to this. if you bought the game but are not rooted, maybe google can help you.
Click to expand...
Click to collapse
Dude...i have MIUI up and running...it is rooted, i am using root explorer. Everything is working untill i try to install the signed apk. I am using Andoid Commander to sign the apk...it is not working. Btw, i used the apk i found in the MIUI backup folder, because i could not find the APK in data/app...i know, it is strange...
Strange....i just went through MIUI and could not find the installed apk either. I will let you know when i find it.
EDIT - Found the apk in MIUI. Its is mnt/asec/com.subatomicstudios.com.
jase33 said:
Strange....i just went through MIUI and could not fing the installed apk either. I will let you know when i find it.
Click to expand...
Click to collapse
well, i found it in my back ups already...when i install that APK, it works. But when i alter the files and so on, the apk cannot be installed anymore...............
jase33 said:
Strange....i just went through MIUI and could not find the installed apk either. I will let you know when i find it.
EDIT - Found the apk in MIUI. Its is mnt/asec/com.subatomicstudios.com.
Click to expand...
Click to collapse
ok...i will try to alter that one! thnx mate!!!
edit: to be honest, i think that is the same apk as in the back up folder in MIUI...
edit 2: no, it's called different...let's hope it works this time!!! THNX MATE!!!
jase33 said:
Strange....i just went through MIUI and could not find the installed apk either. I will let you know when i find it.
EDIT - Found the apk in MIUI. Its is mnt/asec/com.subatomicstudios.com.
Click to expand...
Click to collapse
So, when i altered the files and so on, do i just deinstall the game? or are there other files i have to remove???
I have the amazon one, and it does not work. can someone pm me to the market version or this version? I've downloaded a few apk's already, and they seem to be the amazon version based on the file contents.
so I have the market apk, but I cannot get it signed properly. Tried zipsign 2, and install went ok, but app could not open. Tried signapk.exe and installed ok, but wont open.
after i re-zip the size changes by over 2mb under and will not install. I have re-signed it. What would cause the size change that much? it should be a few bytes.
Make sure you are zipping with NO compression.
Sent from my HTC HD2 using Tapatalk
I did tons of research and cannot get this guy signed using 7zip, winrar, win zip, droid explorer, ninja morph....
I followed instructions and this will not install. Anyone out there successful?
Sent from my SCH-I500 using XDA App
dr_w said:
I did tons of research and cannot get this guy signed using 7zip, winrar, win zip, droid explorer, ninja morph....
I followed instructions and this will not install. Anyone out there successful?
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
you need a program to sign it. I finally figured out how to do this.
so to recap, after you made changes to all the files like (I just added 99999 starting money):
grasslands_extended~map.mp3
grasslands~map.mp3
crossroads_extended~map.mp3
crossroads~map.mp3
then you zip it with NO COMPRESSION (or "Store" with winrar)
then use this to sign it(This can be used to sign any apk file):
Mirrors
http://www.mediafire.com/?tj2dqjcrqfujxr7
http://www.megaupload.com/?d=GHYX0PRW
http://www.fileserve.com/file/F3GT3bK/SignApk-with-bat.zip
http://www.filesonic.com/file/1878513104/SignApk-with-bat.zip
Download file and extract to C:. You should have a folder called "C:\SignApk"
Here are the instructions I made on how to sign it:
1. Copy the apk file to C:\SignApk
2. Rename apk file to "application.apk", then run the "Sign-application.apk.bat". This will produce a "application-signed.apk" in the same folder.
The batch file can be ran under administrative mode if it does not work the first time.
Requires java, and I assume most people have that on their pc already.
EDIT: it took me a lot of research to figure this out as well. Figure I can provide a simpler walkthrough that people can follow.
I'm just wondering, but wouldn't it be easier to use something like GameCIH? It seems less intrusive and easier. If you've ever used cheat engine before, then gameCIH should be a breeze.
i get this message when i tried instal apk "There is a problem parsing the package"
can you all solve my problem??
Can someone post the modded apk in multiupload ? i'm trying with 1.04 version and it doesn't work. Thanks
Works like a charm. Now even my machine guns can take on the blimps in 1 shot
thanks popp. worked like a champ. fun for about 5 minutes, then you realize after modding the game, it just never ends. Cool to see though, since I couldnt get passed round 400 with the standard setup, now its just a matter of when I quit the game due to being bored
cool to hack as well!
how do you know where to find the address and specific string? for example you have a neew game installed and you want to mod it. how can you trace the source of gold, etc?

HELP with Decompiling APK (using APKTOOL)

I've looked around for some good tutorials on decompiling APKs using APKTool but haven't been able to get a few questions answered. Hoping someone can guide me with this process a bit since I'm really new at it.
A few things first: I am running CM 7.1 on a Droid Incredible (orig) and I'm also on Windows, not Linux. I'm looking to make some changes to the code of an APK and have APKtool downloaded. Questions I have so far are:
1) Do I need to use the CM 7.1 framework-res.apk file for any decompiling / /recompiling work on this 3rd party APK? Or can I do all the work without it? No one seems to have a clear answer on that and I'm not sure exactly what the framework-res.apk is for exactly.
2) After I decompile an APK and make code changes to a SMALI file, is there anything I need to do special before running the compile command?
3) After I have a newly compiled APK, what do I need to do to make this work on my phone? If I do nothing, the overall file size of the compiled APK seems much smaller than the original one that I decompiled so it seems like something is wrong. Plus it won't install. I saw one video where the newly compiled APK is renamed to .ZIP and the contents are put into the ORIGINAL APK (also renamed to .zip), overwriting all the original contents. Is this required?
4) I've also read that APKs need to be signed to install on Android. Is this correct? I found "SignApk" online which seems like it just asks you to rename your APK to app.apk and it does the signing by running a .BAT file. Is that all I have to do before installing the APK on my phone?
Would really appreciate any help on this. Or if there's a great tutorial out there on doing this, I'd be happy to read through.
Thanks for any help in advance!
I want to know these too! Hope someone helps

[Q] Guide Request-- How to Implement Krylon's CIQ Removal

Hello. I would like to know if anyone has an actual beginner's guide to CIQ removal. For a minute, there was a guide that didn't quite have all the bugs worked out of it, but it was removed. I've been trying to follow Krylon's thread on rootzwiki, but it seems to stop short of telling people how to actually recompile everything and push it back to the phone. It would be helpful and informative to be walked through this process once the CIQ files have been deleted from the decompressed classes.dex files and .xml manifest.
Thanks
Note: So far, I have figured out that autosmali can be used to smali the files back into a classes.dex file, which can be reincorporated into the associated .jar files using 7zip. Seems simple enough. However, the process of getting framework-res updated seems to be more complicated, and requires answering some questions about. Specifically: 1. Option 11 asks (a) Is this a system apk? (b) Aside from the signature, would you like to copy over any additional files that you didn't modify from the original apk in order to ensure least # of errors? I have answered "yes" to 1.(a) and "yes" to 1.(b), which told me to delete the .xml and the resources.arcs file from a temp directory before completing the compile. This whole process has left me with three modified files (framework.jar, android.policy.jar, and framework-res.apk (unsigned)). Now what do I do with them?
Note 2: Looks like I can sign the framework-res.apk file using option 12.
Once you are done modifying the files you need to either put them in an update.zip and flash or push them with adb to their respective folders.
As for someone giving a step by step I doubt that will happen. It seems like the ones that do know how to do alot of the modifications to roms, are pretty vague when they post how to's. Most of the time it seems like they just don't want to share the information. Why I don't know, but that is just my opinion. I am sure I will probably get flamed for saying this but again this is just my opinion.
You can search the forums and find most of the information here and there. Then you need to put it all together and hope it works.
My thought's would be to have a seperate area in the forum to post just Tips, Techniques and How To's. Then alot of the people that want to learn how to theme and build roms would have an better source to find their answers than having to search all the forums. Again just my .02 cents worth...
Hope no one is offended by this as that is not my intention.... XDA is a great source for information...
quick steps..
Decompile Framework.jar, delete the entire carrieriq dir and all it's contents, recompile.
delete /system/xbin/iqbridger
DONE
Makes the rest dead code.
tablador said:
Hello. I would like to know if anyone has an actual beginner's guide to CIQ removal. For a minute, there was a guide that didn't quite have all the bugs worked out of it, but it was removed. I've been trying to follow Krylon's thread on rootzwiki, but it seems to stop short of telling people how to actually recompile everything and push it back to the phone. It would be helpful and informative to be walked through this process once the CIQ files have been deleted from the decompressed classes.dex files and .xml manifest.
Thanks
Note: So far, I have figured out that autosmali can be used to smali the files back into a classes.dex file, which can be reincorporated into the associated .jar files using 7zip. Seems simple enough. However, the process of getting framework-res updated seems to be more complicated, and requires answering some questions about. Specifically: 1. Option 11 asks (a) Is this a system apk? (b) Aside from the signature, would you like to copy over any additional files that you didn't modify from the original apk in order to ensure least # of errors? I have answered "yes" to 1.(a) and "yes" to 1.(b), which told me to delete the .xml and the resources.arcs file from a temp directory before completing the compile. This whole process has left me with three modified files (framework.jar, android.policy.jar, and framework-res.apk (unsigned)). Now what do I do with them?
Note 2: Looks like I can sign the framework-res.apk file using option 12.
Click to expand...
Click to collapse
Don't use option 12.
NEVER SIGN A SYSTEM APK
krylon360 said:
Don't use option 12.
NEVER SIGN A SYSTEM APK
Click to expand...
Click to collapse
Thanks krylon for the quick fix.
If, for completeness, I wanted to put all of these modified files on my phone (unsigned), how would I do it? Last time I tried, I used a root file explorer and my phone started bootlooping immediately after placing framework-res.apk on the phone. Adb was not available, so I had to reflash in order to put the file back the way it was. I was thinking maybe to adp push the file instead of copying it with the explorer.
adb push then reboot.
but, it's best to do it as a fresh install.
Thanks, I will give that a try.
Followed these directions 3x, but when I boot up my phone with these changes, the Android System process stops responding every time i boot my phone. I can bypass the error message fine, though.
edit: Well, after reflashing it 2 more times with the exact same rom, it doesn't happen anymore. MEH, who knows?
One of Raver's ROMs did that too. I think it is a dependency to something you removed. It was fine on the ROM. One FC when you boot ROM and that was it.

[Q] "smali" files on the I727? Can they be edited without Baksmali (Deodex)?

[Q] "smali" files on the I727? Can they be edited without Baksmali (Deodex)?
I've been looking into the coding on this phone for a while. I've made a couple of posts trying to figure out how to get Nfc enabled on this phone with no luck. So I am trying to look into it a bit further myself. I'm learning as I go, but I am trying to compare other phones files (and custom ROM files) with working Nfc with the stock ROM files on the SkyRocket to try and find clues as to which files are needed to start working on this. One thing I notice (difference) is there doesn't seem to be any "smali" files or code on the SkyRocket stock ROM. Can someone please tell me where they are located (I am rooted and use Root Explorer) on the Stock ROM or which files are used in their place?
Thanks.
**Edit**
OK, I've done a little more research and found out the "smali" code in an Odexed ROM is located in the Odexes. In order to work on them I am guessing they would need to be DeOdexed? Or is there a way to view and edit them without Baksmali?
typically bc
an odex file is renamed to class.dex and combined into the same apk
deodexing basically works likethis
every apk needs a set of instructions
thats the odex
so by removing the odex and turning it to a classes.dex
file we can remove the unwanted odex file
and speed up access to the files instructions
opens faster closes and caches faster i do beleive i could be wrong
but i know the general idea

Remove Battery Indicator Icon

Is it possible to remove/hide the battery icon? I'm on a Samsung Epic 4G Touch with a stock ROM that's been rooted.
I don't want to replace it with something else (I've already done that). I want to remove it, so it doesn't take up space in the notification toolbar.
Thanks for any help.
you could ask Master&Slave(tm) . as you can see in this thread he made some statusbar mods before and maybe he knows how to do that
there is a tut in second post of this thread:
forum.xda-developers.com/showthread.php?t=1371330
i havent tried it, since my rom has this option built in
t0mas_ said:
there is a tut in second post of this thread:
forum.xda-developers.com/showthread.php?t=1371330
i havent tried it, since my rom has this option built in
Click to expand...
Click to collapse
^^^I second this^^^
I have previously used this method on the t-mobile sgsII. Worked great!
I tried following that exact post last night, but I ended up with a missing status bar. The issue I'm having is that none of the instructions I've seen are for an odexed system. I'm running the stock rom, so all my .apk files have corresponding .odex files, rather than containing a classes.dex file within the .apk file. I'm not sure, but I suspect this could be the reason I haven't gotten it to work.
Basically, I'm doing the same thing as the instructions say, but instead of extracting classes.dex from the SystemUI.apk, I'm using SystemUI.odex, since SystemUI.apk doesn't contain classes.dex. I baksmali SystemUI.odex file to extract the code, modify the code, then smali it back into a new SystemUI.odex, and replace the existing SystemUI.odex with the new one.
Any reason why this shouldn't be working? One possible error that I thought of is that I think I pointed smali to one level too far up in the code directory structure when generating the new SystemUI.odex. Using baksmali produced "out/com/android/systemui/...". In the smali command, I used "out/com", but I think I should have used just "out". I'm going to try again tonight and see if that was the problem. Otherwise I'm out of ideas.
i dont think it is possible to edit odexed apks. not sure though...

Categories

Resources