General :: Editing Apps With APKTool?
May 2, 2014
I have been playing with apktool to learn how apps are made. Decompiled following the guide from this forum.
However I can't find what I'm looking for in the apps. For example, it's easy to edit the drawable folders of the apps and change the images.
I took some apps that gather feeds from news sites and I tried to find where are the feeds URLs coded or embedded inside the apps files, and could not find any info at all. No URLs at all. I opened the XMLs, and other files inside res, lib or smali folders, opened a lot of the files with Notepad++ and I can't find any information about it, or any place where the app connects to the website.
Is it possible to access that info when we decompile with apktool?
I also watched a lot of videos in YouTube, on how to edit apps with apktool, and all of them explain how to change the images, but nothing else.
Is it only possible to edit the theme/design of an app, when we decompile with apktool? Or can we go further and change something else?
View 2 Replies
Nov 1, 2013
how to decompile system apps with apktool for android....
View 2 Replies
View Related
May 18, 2013
I'm interested in an app to decompile apps within android. Something like ninjamorph would be great however ninjamorph seems to do the equivalent of extracting an apk instead of leaving an editable app with readable xml files. What is the likelihood of something like this happening? What is preventing it from happening?
View 2 Replies
View Related
Jan 14, 2014
I tried to decompile the Gmail.apk with Apktool, but it said: can't decode attr value, value=0x00004001. And after that some more errors.
I tried it with and without framework install first, and I got the latest version of Apktool. Still nothing works, although I can decompile other apps.
View 6 Replies
View Related
May 6, 2012
I have made a CM7 theme and I'm unable to compile it. I have investigated it a little and found out that if I decompile a theme and then compile it back without ANY change, it gives the following error:
Code:
chris@ubuntu:~/Desktop$ apktool b xres
W: Could not find sources
I: Checking whether resources has changed..[code]....
View 9 Replies
View Related
Apr 12, 2013
My ROM for the Note 2 is a TW base (people want the S-Pen functions). And they like the AOSP feel so i decided to try and make a ROM that is AOSP themed. Well i have the launcher and a few AOSP themed apps such as the messaging app.
The flashers were very satisfied with my work so far. But they wanted an AOSP themed status bar. Meaning some AOSP battery images wifi and so on. I decided just just replace the EXACT images. I used a cm10 ROM to get the pngs. I also did use the newest Apktool to do it. I did all the framework installation. I decompiled both and started transfering. Here is what i did. I went to the drawable-xhdpi folder in both ROMs. They had pretty much identical png names. But the icons were different (one being the blue theme) so i took the blue icons (battery and wifi) and transfered them to my rom. I made sure that only the pngs with the same names were transfered. so there wasnt any issue compiling.
Next i compiled the APK file.Then i used my backup systemui.apk file to transfer the META-INF folder to the new one using 7-zip.Then i went and signed it and used dsixda's android kitchen to zipalign it. Then after all that i pulled that apk from the zipaligned folder and put it on my phone's sd card. I have the root explorer app. I move it to my /system/app folder. It moved successfully. Then i reboot and when it comes back up i dont have a status bar. And my wallpaper is black for a little while and then goes back to the feather thing.
I have tried signing and not signing. Zipaligning and not zipaligning.I am really wanting the AOSP themed icons in the status bar.
View 9 Replies
View Related
Jan 31, 2013
Tried it, i put aapt,apktool and apktool.jar in /system/bin...
But when typing apktool it says "no such file or directory"
How can i make it work?
View 4 Replies
View Related
Jan 31, 2012
my friends mods and give me an app that he had blocked only for my imei code and date control..i have modify with apk tool the app (the condition control where the app check imei and date) but when i resign the app and install it, when i launch it crash.How i can remove these blocks?
View 1 Replies
View Related
Jul 21, 2012
Correct ApkTool for ICS and Jellybean for Linux/Mac?
I can't compile using the one from the website as I get compiling errors
View 6 Replies
View Related
May 17, 2012
I don't want to use APK Multi-Tools or APK_Manager or whatever. I want to know exactly what those tools are doing in order to recompile the system apk while keeping the original signature.
What I initially did...
Code:
apktool d "%~dpnx1.apk" "%~dpnx1"
...modify files here...
apktool b "%~dpnx1" "%~dpnx1.apk"
But obviously that's unsigned. I need to sign it, but I want to use the original signature, which I'm guessing is the META-INF stuff, right? So I attempted this...
Code:
apktool d "%~dpnx1.apk" "%~dpnx1"
7za x -o"%~dpnx1-signature" "%~dpnx1.apk" META-INF -r
...modify files here...
apktool b "%~dpnx1" "%~dpnx1.apk"
7za a -tzip "%~dpnx1.apk" "%~dpnx1-signature/*" -mx9
You'll notice I now use 7-Zip to pull out META-INF from the original APK and then insert it back into the recompiled one afterwards.
The only other thing I can think of would be to go with my first method, but then use 7-zip to pull out the compiled files from the unsigned apk and insert them into the signed apk. I haven't tried that yet, but it will be the next one I go with. Every time this fails, though, I have to do a nandroid restore.
For those interested, after running "apktool b" (to build/compile), ignore the output zip. Instead go into the source directory and there is now a build directory. In that is an apk directory. Simply add your changed files to the original untouched APK (if you modified any XML files, then replace resources.arsc; if you added anything to smali, then replace classes.dex; if you added any XML files, then you need to include those as well; for me, i copied resources.arsc, classes.dex, and one new XML file). I used the following command:
Code:
zip -9 ..SystemUI.apk reslayoutstatus_bar.xml classes.dex resources.arsc
I use zip instead of 7za for cosmetic reasons. You can also use "7za a -tzip etc..." if you want.
View 1 Replies
View Related
Feb 16, 2012
I'm trying desperately to edit some files inside SystemUI.apk and framework-res.apk but I'm having some troubles...
I wanted to post in the specific thread of the program : [URL] but I'm not allowed to, because it's my first post here.
First I used only apktool, I managed to decompile my 2 files with no problems, I replaced a few *.png files and tried to recompile it but I'm getting errors... (I only manage to recompile the files if I don't edit a thing)
Then I tried APK Multi Tool, I achieved to decompile my 2 files (with the option 9 in the program), but I can't recompile them after editing my files. So I decided to make a test, I tried to decompile and recompile (I hit 9 then 11 in the choice case) them WITHOUT changing a thing and I get errors anyway. If I use the choice 1 (only extract the apk), do my editing and then zip the project (with the choice 3), directories are wrong inside the new *.apk, I get "projectsSystemUI.apk(res or smali, etc...)" so the *.apk result is not usable
Here is the log file when I try to recompile WITHOUT changes :
Code:
I: Baksmaling...
I: Loading resource table...
I: Loaded.
[Code]....
View 9 Replies
View Related
Jan 23, 2013
I want to change gmail conversation item color with apktool but i cant find a way.
View 1 Replies
View Related
Aug 6, 2012
I need editing my sms database on Windows PC..
I tried SQLite Database Browser but it does not work, all that happens is the name of the db shows on the top but the browser stays empty like nothing changed. I also tried just to use notepad++ but it opens in what seems like encrypted.
What other options do I have to be able to edit it? Its my Evo3D mmssms.db that I'm looking to edit.
View 3 Replies
View Related
Apr 18, 2012
I have a few questions about my Samsung Galaxy Young - 5360.
1. How to edit the status bar icons like battery, 3G , etc.
2. How to make a folders in the menu coz i have 7 pages of apps , and its out of order ( shuffle). This is for now.
P.S. I'm talking about the stock rom. I don't wanna a custom rom , prefer the original one. And the phone is not rooted, but i will if need.
View 8 Replies
View Related
Sep 18, 2013
Is there any editing software you can use right on the phone? For example, for podcasts or songs I have on the phone, if I want to keep just a piece of one, is there anything I can use right on the phone to trim the file down?
SAMSUNG-SGH-I317
View 1 Replies
View Related
Apr 24, 2014
Recently I switched to 4.4 and cant find any working data editing app similar to gamecih etc.
View 1 Replies
View Related
Jul 24, 2013
how to extract an .obb file so that one can edit the contents. In my other thread [URL] where I was trying to figure out a way to activate the Japanese vocal track in Final Fantasy IV with the game's locale in the US/English. I've hit an impasse as I've been able to deduce that the Google play version of the game (which seems to have a 15mb .apk, and a 400+mb .obb ) retains the Japanese audio track but only plays it in conjunction with JP text if the Android locale/language is Japanese. Thus, I figure that somewhere in that .obb there will be the JP audio track file which I can copy over the English audio track file and thereby access Japanese audio w/ English text since SquareEnix didn't give us the option for some god-awful reason.
However, the only way this can work is if I can get into that .obb file! I saw links elsewhere on the forum suggesting that all I had to do was rename the .obb to a .zip or .rar, and then use 7zip or WinRAR to open it, but attempts with both programs and numerous file types (.zip, .rar , .tar etc..) all report that the file is not an archive and thus cannot be opened. This is different from the .apk file, which easily seems to (upon rename to zip) unveil its secrets with 7zip extraction. So, does an program or method necessary to unpack/extract/read/edit an .obb file besides the simple archive rename? Is there some Android development program or function?
View 4 Replies
View Related
Feb 22, 2012
I have tried using gedit, geany, eclips, and some other programs and all of them give me errors and won't open a single xml file!Is there certain plug-ins I have to download?
View 8 Replies
View Related
Jun 17, 2012
I have a Droid Bionic, and I have been trying to modify a version of Dungeon Hunter 2 to fit my screen. I have been using APK Manager to decompile the files. When I was trying to change the resolution in the gamerenderer.smali, the layout was different from other gameloft games. I can paste the text when needed.
View 3 Replies
View Related
Apr 25, 2014
I want to edit a apk file so that I can edit its notification tone. I found the notification tone and changed it but after compiling it and installing it gives me a error "App not installed".
For decompiling used 7zip and changed the notification tone and then zipped it back. This is the first time I am editing a file.
View 5 Replies
View Related
Jun 28, 2013
I ported a cm7 rom. I forgot to included some stuff and I just want to make a update.zip to flash these folders to the system.
The folders are the app, media, and fonts. I also want to flash build.prop. I want to make the update.zip because I dont want to flash the whole rom over again. How do a make the updater script to do so
View 1 Replies
View Related
Jul 22, 2012
I've been out of the game for a while when it comes to making videos and editing them. I stopped fooling around with the hobby about eight years ago because it was such a hassle at the time, Sony handycam, the micro tapes, play the movie to put it on the computer, then edit it and put it in what was the thing then "mpeg4".
Will I bought myself a droid x two years ago and was gonna take up the hobby then but technology has come so far since eight years ago and the thought just scares me. Now I have a razr maxx, and i wanna start making videos, what kind of software would you suggest, what formats of videos are there now?
I feel that a cell phone would make the quality videos I'm interested in, it much better than my old Sony handycam
View 1 Replies
View Related
May 12, 2013
I'm trying to cook a rom and i want to set a style (sliding tab) as a default for lockscreen and incall lockscreen. I think i have to edit or add some line in lockscreen_style_settings.xml that is stored in CMParts.apk
esxml
Or maybe i have to edit settings.xml stored in Settings.apk
esxml?
I think I have to edit CMParts.apk, esxmllockscreen_style_settings.xml because when i my backup's datadatacom.cyanogenmod.cmpartsshared_prefs there is a file named com.cyanogenmod.cmparts_preferences.xml that contain's some line's about lockscreen.
Here is the com.cyanogenmod.cmparts_preferences.xml line's:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<boolean name="pref_trackball_wake" value="true" />
<string name="pref_install_location">0</string>
[Code] .....
I decompiled the CMParts.apk but i dont know which line's should be edited or what to add!
View 3 Replies
View Related
Jan 2, 2012
I don't know if this is an android problem or more device related. All I know for certain is that its one giant headache. I thought it was just a matter of getting used to a different keyboard feel and figured I'd give it a while.
But its been several weeks now and its still Many times if its just a minor typo I'll just leave it rather than go through the torture of editing it.
The main problem is that it cannot be placed with precision. If you try it just jumps around from back to forth and line to line.
I know I'm used to the way it works on iPhone where you can get it approx near where you want it and them just press down firmly to move it to the precise place you want it.
Its impossible for me to do that with this cursor so I have to keep taking multiple stabs at it and hope for the best. I have pretty small hands and fingers and am obviously quite used to online keyboatds. But this thing is driving me nuts.
Am I the only one with this problem? Or is there just some little trick or technique of which I'm totally I the dark about?
View 11 Replies
View Related
May 27, 2014
Cobbling up even a simple mod for Mediatek Android phone ROMs?
View 4 Replies
View Related
Mar 20, 2014
Today I edited our best click using NEXUS 5 then did some editing using gallery editor but after saving it I found strange that my original photo overridden.
1) how I can get back my original photo, may be there is a location in the phone which I don't know.
2) how to change the settings to ask before overriding in gallery editor?
View 1 Replies
View Related
Mar 16, 2012
reliable way of accessing AND editing office documents remotely on the razr, or any android device?
There are a lot of apps, like motocast, which enable me to access all my files on my Mac remotely via my Razr. But I don't know of a way of editing this document and then saving it back to the mac.
View 1 Replies
View Related
Jul 14, 2012
How do I edit my YouTube videos (change privacy, rename, etc) from the app.
I did a google search and it seems they added that functionality a year ago but can't figure out how to do it: [URL] .......
View 1 Replies
View Related
Feb 8, 2012
When going from 3.02 to 4.04 on the Spectrum, the phone pulls an updated file. The update file is this: (remove the spaces in the link. I don't have a high enough thread count to post links yet)
[URL]
The file itself can be opened with WinRAR, but shows that it was signed by SignAPK.
My question is this, What should I theoretically need to do in order to inject root into this so that when the update runs on the phone, it adds SU to the system directory with the correct permission settings?
View 2 Replies
View Related
Mar 30, 2013
I'd like to have the statusbar at the bottom of the screen like this:
Is this possible by editing some xml stuff in the systemUI.apk or framework-res.apk? I am using the stock rom and dont want to flash a custom rom.
This is just the tablet mode. But I dont want the tablet mode, I just want the phone mode with the statusbar at the bottom.
View 3 Replies
View Related