Hello
For example when I install kik messenger it creates empty folder "kik" for downloads etc. on emulated\o\
I want to change folder name kik in something else.Not within file browser because it makes just a
kik folder again.
It has to be done within the apk file. Can it be done with apk editor pro?
Thanks
Maybe you can try it , but we don't think it will do much for you,because my brother did ,
I don`t know where or wich folder inside the apk I have to search.
And don`t know which string to search for.
create folder or something?
Related
It has been asked before... and I think I have the hang of some of it... BUT...
I have been modifying some of my app icons via xRecovery. The method I used was via 7zip and replaced the iconfiles through there... I have been using [FW 2.1.1.A.0.6] Black HTC Theme for X8/X10mini/pro ~XRECOVERY~ [UPDATE:11.03.2011] and the enclosed "app-update.zip" via xRecovery.
Now to my questions!
1: Where do I find my installed apps (apk´s) on the internal storage? I use RootExplorer and was thinking about copying apk´s to the memorycard and then transfer to my PC, modify them there
2: Can I use the "app-update.zip" method to all selected apps? For example... the App-update.zip" contains "SemcContacts.apk" and it workes fine to change this way... but can I just put "handcent.apk" or "Ndrive.apk" in the same "app-update.zip" without any problems?
I hope I have explained so you guys can understand what I´m talking about...
Best regards
Manneman, Sweden
1: "/system/app" and "/data/app"
2: if you do it with 7zip yeah it will work if you give them the same name and place in the app-update.zip
example you want to replace "com.blablabla.hey" in direction /data/app
you need to name the app "com.blablabla.hey" and in the app-update.zip it need to be placed in the dir /data/app
Hmmm... Ok, I found the *apk´s under "system/app"... no worries there. I just replace the png "CalendarProvider.apk" that represents the icon. via 7zip. After that I implement it with "app-update.zip"
"app-update.zip" contains two folders... META-INF and system. The system-folder contains the folder app witch has some apk´s... That these apk´s is coming from "system/app" on the internal storage I understand. So in order to install modified apk from "data/app" I have to create a folder in my apps-update that is named data/apps with my modified apk´s?
So in the end my "apps-update" will look like this:
apps-update.zip containing Folders META_INF, system and data coresponding to the apk´s I have changed...
All this will be done with 7zip without extracting anything....
Manneman32 said:
Hmmm... Ok, I found the *apk´s under "system/app"... no worries there. I just replace the png "CalendarProvider.apk" that represents the icon. via 7zip. After that I implement it with "app-update.zip"
"app-update.zip" contains two folders... META-INF and system. The system-folder contains the folder app witch has some apk´s... That these apk´s is coming from "system/app" on the internal storage I understand. So in order to install modified apk from "data/app" I have to create a folder in my apps-update that is named data/apps with my modified apk´s?
So in the end my "apps-update" will look like this:
apps-update.zip containing Folders META_INF, system and data coresponding to the apk´s I have changed...
All this will be done with 7zip without extracting anything....
Click to expand...
Click to collapse
yup your right BUT!
in META_INF if you click through all maps that are in there you will end up with a file called update-script
drag it on you desktop
open it with wordpad(!)
search this line "copy_dir PACKAGE:system SYSTEM:"
and paste this underneath it
"copy_dir PACKAGE:data DATA:"
without the quotes ofc
owain94 said:
yup your right BUT!
in META_INF if you click through all maps that are in there you will end up with a file called update-script
drag it on you desktop
open it with wordpad(!)
search this line "copy_dir PACKAGE:system SYSTEM:"
and paste this underneath it
"copy_dir PACKAGE:data DATA:"
without the quotes ofc
Click to expand...
Click to collapse
Awww...sweet. That was just what I needed to hear. I was sure that something like that had to be added!
BTW... the modified apk´s will overwrite the original ones, right? No backup-crap (like Windows) is made by the Xrecovery installation?
Thanx!!!
Worked like a charm!!!
Thank you for all the help!!!
Well...I take that back...
I just replaced the iconfiles with my modded ones... the same name and size as the original. Everything done within 7zip...
All the apk´s within the "system"-folder worked fine... bur the ones within the "data"-folder uninstalled instead. In Appbrain the are still installed but in the drawer the are gone. I had a couple of them as shortcuts on my homescreen and the I get the message that thay are not present on my system.
Thank god it was only a couple of apk´s i modded so I reinstalled them via Market.
I added the line as You described but something must have happened?
// Manneman
anyone can tell me how to edit apk files and change the name of applications.
and how to use apkedit application.
To start with APK files are just zip files. Rename the extension from .APK to .zip and u would b able extract it. I will post more as soon as get on a PC.
Sent from my LG-P500 using XDA Premium App
hey still i want more information about how to edit apk files and change the name of the application
Never done it, but this might me helpful: http://code.google.com/p/android-apktool/
Doesn't get much easier than Apk Edit
thanks for the help everyone but still anyone can give more information then please post
Download
http://code.google.com/p/android-ap...ame=apktool-install-windows-2.2_r01-3.tar.bz2
Extract it using your favoirate zip application.
Requirements:
* JRE 1.6 (Java Runtime Environment)
Get the apk file which u wanna hack in the folder where you have extracted the apktool. (Like c:\apktool)
Rename the .apk to .zip and extract it. (talk.apk is now talk.zip and after extraction we have folder talk)
You will find AndroidManifest.xml in that folder.
Open it with Notepad++ (I prefer Notepad++)
You will find android:label and the name of app and icon details and many more thing change all you want but dont mess up the structure.
open command prompt then cd to the folder where you have extracted apktool. then type .
apktool.bat b "folder name" "APK name" . (Eg. apktool.bat b talk notalk.apk)
Tip: If you are not getting me i think you shouldnt do it......
Anyone mind sharing a link or some directions on skinnning themes?
I've had someone give me these instructions:
1) extract/Decompile the .apk file you want to MOD or make changes to. Use m10 editor for this.Select the option "decomplie all"
2) Minimize the m10 editor, and open the folder where you m10 editor is installed. There you would find a folder with the name of the .apk file you just decomplied. Go to folder assests>"base theme name">drawble>shared folder.
3) now select the .png files you want to edit. Install Paint.net, and edit with them, it was easy process for me. Remeber to "flip image vertical" after you are done with editing.
4) now go back to m10 editor, and Save the file.
5) You should have AndroidSDK installed.If not, do it. Then go to the folder where you have installed it. open the "autosign" file. It will open command prompt. There select the option to sign the file manually. Give the path for the file. It will sign it then. Exit from that program.
6) you are done, you can install it now.
I've gotten this far, but i can't find out how to change these 3 things below:
In de-compiled files changes have to b made in three places.
1. Androidmanifest.xml (name of package). how do u change this?
2. Res\values\strings.xml (name of theme). how/where do u change this?
3. Assets\shared(change this to theme name) h0w/where do u change this?
Also everytime I replace the background images, when I recompile it, my background images don't stay.
Any help would be much appreciated...
okay so i hate to tell you to download something else but i use .apk manager and it is a lot more straight forward.
decompile the apk using that.
go into the projects folder, you will see the Androidmanifest.xml
what are you trying to change in there exactly? if its just icons things like that those are easy but if you are trying to change the packageID it will just cause FC's
strings.xml hangs out in the following
projects->*.apk(this will be the name of what you decompiled)->res->values->strings.xml
then go into the xml and it will have a line with the name of the apk that you can change
assets has it's own folder i haven't hung out in there at all i haven't really had a need but it is in the same file tree with the res folder
now the issue upon recompiling, when doing the recompile in apk manager press y and y to the 2 options, it will create a keep folder go into that and delete the classes.dex if you messed with any images in the drawable folders, and the resources.arsc if you changed any of the xmls. then go into the keep directories sub folders and delete the items you changed then finish the compiling
sorry if i am not the best at explaining this
Yes, what exactly do you want to change? Taskbar and other icons are very easy to do, however, I haven't done any M10 files, yet.
In the manifest you need to change the name of the apk to what you are naming it. you will see a line which will have package="com.htc.skin."apkname".
So for my zombie skin example my line says "com.htc.skin.zombie"
Also to that point what ever you name it you need to navigate to the foler that holds the m10 file and change the folder to the same name or the m10 file wont be used.
jkrough0728 said:
In the manifest you need to change the name of the apk to what you are naming it. you will see a line which will have package="com.htc.skin."apkname".
So for my zombie skin example my line says "com.htc.skin.zombie"
Also to that point what ever you name it you need to navigate to the foler that holds the m10 file and change the folder to the same name or the m10 file wont be used.
Click to expand...
Click to collapse
exactly the same, boy did that drive me nutty for a few days!!
jkrough0728 said:
In the manifest you need to change the name of the apk to what you are naming it. you will see a line which will have package="com.htc.skin."apkname".
So for my zombie skin example my line says "com.htc.skin.zombie"
Also to that point what ever you name it you need to navigate to the foler that holds the m10 file and change the folder to the same name or the m10 file wont be used.
Click to expand...
Click to collapse
using apk manager are u guys decompiling using option 9 or 10 and if ur using option 10 what framework are u dragging into it?
keedog said:
using apk manager are u guys decompiling using option 9 or 10 and if ur using option 10 what framework are u dragging into it?
Click to expand...
Click to collapse
I use apktool but if your using manager it would be 9.
sent from my Evo 3D from xda app
Hello,
I am looking for gallery app, but it need to be like resco Photo viewer(symbian app). I dont wanna to have all my photos in gallery, they should be hide in folder path like on pc.
I dont know if i wrote this clear, but help!
Tapped from my S3 <3
luomei said:
I dont know if i wrote this clear
Click to expand...
Click to collapse
no
If you wanna hide some pictures
I would suggest QuickPic
You can manually create file names ".nomedia" if I remember correctly to tell other apps that this folder doesn't contain anything
Sent from my GT-I9300 using xda premium
so i must train my english
write resco photo viewer in google or youtube, u will see how it works(i cant add images-not enough post)
this is how look RPviewer, you have everything in folder(like in file manager) when u open folder with images, u will see only images in folder, not every images in device
As said you can add empty files named .nomedia in each folder that you don't want to be displayed in gallery.
Create an empty file with any file manager app.
Must reboot to have them read and the filter applied.
Thought id share this since it can be quite a hassle to find everything needed if you wanna translate stuff yourself or edit something for personal needs.
This was done on miui stable 8.1.3.0 from xiami.eu on a mi5 but should work on other miui versions and roms (with slight modification)
Download Bursoft apktool (http://bursoft-portable.blogspot.se/p/blog-page_23.html) and unzip to C:\BatchApkTool
Make sure you have java installed (www.java.com)
You will also need root
Fetch the following files/folders from your phone and copy them to C:\BatchApkTool\_framework
system/framework/framework-res.apk
system/framework/framework-ext-res/
system/app/miui/
system/app/miuisystem/
system/priv-app/miuisystemUI/
Place the apk you wanna modify in C:\BatchApkTool\_INPUT_APK\
Execute BatchApkTool.exe in c:\BatchApkTool\
Press 1 to decompile
Go to your C:\BatchApkTool\_INPUT_APK\ folder and if everything worked alright then open the newly created folder from the apk file you just decompiled and make whatever change you wanna do. If you wanna translate, then open the \res\ folder and make a new folder called values-sv (if you wanna add swedish language for example) then you can either copy strings.xml from another language folder and edit them or grab xml from a partially (or fully but not 100% voted) translated source like crowdin or github
Do not use caps or anything other wierd stuff or it wont compile afterwards
You can now return to batchapktool and press 3 to recompile and hopefully no errors, otherwise check log to determine possible cause.
Do not sign the apk!
Now open the recently modified compiled apk with winrar (your w/e zip program you prefer) and grab resources.arsc out of there. Now open a copy of the original apk and paste the resources.arsc into it (replacing the existing resources.arsc).
Plug in the phone to the computer and copy the apk to the internal memory
Open your favourite root browser (using romtoolbox filemanager myself) and go to the location of the original apk and rename it (or make a backup incase any error occurs), now copy the modified apk you copied earlier into the folder of the apk you wanna replace, e.g system/app/ or system/priv-app/
Kill/close app (incase it was started earlier) and restart it and see if the changes are live!
Edit: After you replaced the files, then you need to chmod those aswell to 0644 and possibly clear cache in twrp
Might have forgotten something but just ask and ill try to help