ROM: DyanmiteRomJB themed
I want to modify /data/data/xxxx/lib , but failed.
Reason: when i edit/create a file in above path it lost when reboot
Please help i need to install SPB shell 3d.
matrixrak said:
I want to modify /data/data/xxxx/lib , but failed.
Reason: when i edit/create a file in above path it lost when reboot
Please help i need to install SPB shell 3d.
Click to expand...
Click to collapse
Yeah, of course. The above will be unpacked again from the APK in question. Want to modify libs bundled with an app? Need to modify the APK itself, not the installed stuff.
How to modify apk
lolphirae said:
Yeah, of course. The above will be unpacked again from the APK in question. Want to modify libs bundled with an app? Need to modify the APK itself, not the installed stuff.
Click to expand...
Click to collapse
Please give me info about modifing apks
http://lmgtfy.com/?q=how+to+modify+apk
Related
I wasn't able to find info about this until now. But I need to know how to make the apks I include in a rom removable. I guess, maybe, I have to copy into a different folder instead or /system/app. is it right?
thanks
you have to install it in data directory not in system directory. so data/app
ok, thanks, but, if it doesn't exist, should I create it?
no u should not create it because then it wouldnt be a proper directory for your rom, the rom may not recognize it, i think.
which rom are you on? most rom has a data directory, that is where third party apps are installed and where apps downloaded from the market is also installed
this one
http://forum.xda-developers.com/showthread.php?t=556962&highlight=enomther
ok i see what u mean when there's no data directory. what you should test out first is go to market and download an app. then see where that app is install. see if it created a data directory or not. it should...
I had a look using root explorer, and there is a folder in the root called /data/app , and there inside are every installed apk, even the ones I installed by astro...
and there is another one called /data/data where I find folder of every app too
ANd another one called /data/app-private (there I found one apk that I downloaded from market.
I try to download a new one
Yup put your apks in data/app
on a related note, is there any way to flash unsigned ROMs? like if I want to drop .apk 's into the data folder of a rom before flashing?
The_Chrome_Coyote said:
on a related note, is there any way to flash unsigned ROMs? like if I want to drop .apk 's into the data folder of a rom before flashing?
Click to expand...
Click to collapse
I think no, but have a look for a program called autosign.
It very easy
NguyenHuu said:
Yup put your apks in data/app
Click to expand...
Click to collapse
but it only appear in my phone,not in the files of the rom.
Anyway I'm going to ask enomther, the creator of the rom, maybe he can help me
joshuas_79 said:
but it only appear in my phone,not in the files of the rom.
Anyway I'm going to ask enomther, the creator of the rom, maybe he can help me
Click to expand...
Click to collapse
ok your running a reg rom system, thus meaning 1.5/1.6 non hero. i can teach you step by step on how to set up "signing .zip's". its super super convenient!! i promise and its not to hard. just pm me if you need help. its way way easier to flash a rom with whatever apk you want then to push them and hope you pushed them to the right spot.
i have been try to open apk file with apk manager
and i got erorr
someone told me the apk manager heve problem with the new signed
(i am work on the original rom and i need to translate the strings files)
however i need some program to decompile the apk file
if i just unzip the file modify and zip back it is not work
tnx
Dude, put this in the Q&A subforum.....not here
YOCHANAN2007 said:
i need some program to decompile the apk file
Click to expand...
Click to collapse
Try this...
http://forum.xda-developers.com/showthread.php?t=640592
YOCHANAN2007 said:
if i just unzip the file modify and zip back it is not work
Click to expand...
Click to collapse
Try this...
http://forum.xda-developers.com/showthread.php?t=695701
This one also works well if you are attempting to flash from a custom recovery (S-OFF)...
http://forum.xda-developers.com/showthread.php?t=717437
oops if any manager can move this thread to the q&a forum
tnx
i have been serch on the com.htc.resources and i dont now how to find that.
this is some file to all htc devices?
and i have same problem with i9100
if i have this file how i can loaded to the apkmanager/apktool?
and i dont have the real device on my hand
here's what I did.
I don't have a computer. I changed apk to zip and unzipped it. Then I used Axel xml/editor viewer to change things. Then saved it and compressed file to zip then changed to apk. I tried using Zip Signer from app store. I still get the same parsing error when I click app to install.
What do I do to fix it ? apk editor pro works and installs the modded app but won't load the modded app to change things again so I don't want to use that.
Anyone have an answer ?
Try this process, instead. It works famously for me.
First, copy the .apk to a safe place just in case!
1. Extract your .apk to a folder.
2. Edit what you want.
3. Open up your original .apk in an archive manager (7zip, WinRAR).
4. Navigate to the directory where your edited files will go while in the archive manager.
5. Drag-and-drop your edited files into the archiver window which has the .apk open. Click "OK" if it asks if you're sure.
6. Close that window, ADB push it to /[wherever], and install.
Done! :good:
thenookieforlife3 said:
Try this process, instead. It works famously for me.
First, copy the .apk to a safe place just in case!
1. Extract your .apk to a folder.
2. Edit what you want.
3. Open up your original .apk in an archive manager (7zip, WinRAR).
4. Navigate to the directory where your edited files will go while in the archive manager.
5. Drag-and-drop your edited files into the archiver window which has the .apk open. Click "OK" if it asks if you're sure.
6. Close that window, ADB push it to /[wherever], and install.
Done! :good:
Click to expand...
Click to collapse
I said I don't have a computer. I can't do that.
I read the problem is the apk is lot aligned. Can I run commands in a Terminal Emulator on my phone ?
1. Compress back to zip. 2 sign zip. 3 change to apk. 4 zipalign apk.
How do I zipalign ? I tried spme things I read for commands but don't know if I'm doing it right.
ryan012 said:
I said I don't have a computer. I can't do that.
I read the problem is the apk is lot aligned. Can I run commands in a Terminal Emulator on my phone ?
1. Compress back to zip. 2 sign zip. 3 change to apk. 4 zipalign apk.
How do I zipalign ? I tried spme things I read for commands but don't know if I'm doing it right.
Click to expand...
Click to collapse
Oops. Missed that part.
I have no experience with the commands you are referring to, therefore I cannot help you.
Sorry.
thenookieforlife3 said:
Oops. Missed that part.
I have no experience with the commands you are referring to, therefore I cannot help you.
Sorry.
Click to expand...
Click to collapse
It's like this, http://stackoverflow.com/questions/...apk-with-7zip-cause-error-during-installation
I don't know how to do the commands or which ones. I tried the ones shown but didn't do anything. I don't know if I did it right.
Stealthy App
Hi there i want to modify an app( Want add stealth Option in menu) please tell my how i can modify app with some easy editor softwares not complicated. Share some links.
Thanks in advance. hoping you will help me!
Scarface47 said:
Hi there i want to modify an app( Want add stealth Option in menu) please tell my how i can modify app with some easy editor softwares not complicated. Share some links.
Thanks in advance. hoping you will help me!
Click to expand...
Click to collapse
For reading all the xml files I use Axel (XML Editor / Viewer)
https://play.google.com/store/apps/...aystore&pcampaignid=APPU_pzkdVL_aBcmONsKggsgE
You have to click open as on xml and choose axel then click Save As... save it somewhere with the same name as the file name as it is.
then copy the saved file into the folder of where you got it from and overwrite it. Make sure name is same. Now open the saved xml again in Axel ans now you can modify it, then click Save before exiting it.
For changing other things like button images I haven't done that.
I changed what app says inside and what some buttons says. The Strings.XML file is where buttons are or some other things
there's one called APK Editor Pro but it only lets you change app one time. It won't load modified one.
Here, https://play.google.com/store/apps/...aystore&pcampaignid=APPU_pzkdVL_aBcmONsKggsgE
is anyone able to tell me how to fix it ? How to get the apk aligned not using a computer ?
Hi,
I run OmniRom without gapps (with NOGAPPS actually) and there's an app that refuses to start with the error "google play services is not installed, contact the device manufacturer".
Is there anything I can do to "fool" the app in thinking GSF is installed? I don't care about the push notifications the app is using.
Thank you.
wkwkwk said:
Hi,
I run OmniRom without gapps (with NOGAPPS actually) and there's an app that refuses to start with the error "google play services is not installed, contact the device manufacturer".
Is there anything I can do to "fool" the app in thinking GSF is installed? I don't care about the push notifications the app is using.
Thank you.
Click to expand...
Click to collapse
What is this problematic app?
thenookieforlife3 said:
What is this problematic app?
Click to expand...
Click to collapse
Hello. Thanks for your reply. It's:
https://play.google.com/store/apps/details?id=nz.co.asb.asbmobile
I tried using apktool to decompress it, remove the dependencies from AndroidManifest.xml but I couldn't compile it back.
Thoughts?
Thank you
wkwkwk said:
Hello. Thanks for your reply. It's:
https://play.google.com/store/apps/details?id=nz.co.asb.asbmobile
I tried using apktool to decompress it, remove the dependencies from AndroidManifest.xml but I couldn't compile it back.
Thoughts?
Thank you
Click to expand...
Click to collapse
The hard thing about decompressing, editing, and recompiling apps is that when you recompile it you also have to resign it. See, when you take apart an app the signature is stripped, and the signature is what allows the app to install properly.
Fortunately, there are several utilities out there that will help you do this.
thenookieforlife3 said:
The hard thing about decompressing, editing, and recompiling apps is that when you recompile it you also have to resign it. See, when you take apart an app the signature is stripped, and the signature is what allows the app to install properly.
Fortunately, there are several utilities out there that will help you do this.
Click to expand...
Click to collapse
The problem wasn't the signing part, I wasn't reaching that step since the apk wasn't building anymore afterwards, it was giving out errors about not finding some files (I don't recall exactly as I haven't tried lately).
Would you recommend a particular app (ideally to run under linux but can manage with Windows if need be) to decompile and compile an apk?
Thank you
wkwkwk said:
The problem wasn't the signing part, I wasn't reaching that step since the apk wasn't building anymore afterwards, it was giving out errors about not finding some files (I don't recall exactly as I haven't tried lately).
Would you recommend a particular app (ideally to run under linux but can manage with Windows if need be) to decompile and compile an apk?
Thank you
Click to expand...
Click to collapse
What I meant to say was, don't actually decompile the app and then try to recompile it! It will give you errors, as you've seen.
Instead, try the following steps:
1. Copy the .apk file to a safe, secure place as a backup.
2. Download and/or open up an archive management program, i.e. 7zip or WinRAR.
3. Navigate to the directory where the .apk you want to mod is located. Not the backup one, of course!
4. Extract the .apk to a folder of your choice. Folder name example - "[name_of_app] modding" (without quotes).
5. Open up your regular file manager and navigate to that folder you just extracted to. Modify the files you want to modify.
6. Now, pay close attention to this part - In your archive manager, go into the acual .apk file you want to modify. It will just open right up as if it was a .zip.
7. Navigate to the directory in the .apk where the files you modded belong.
8. Now, back to your file explorer, click-and-drag the file(s) you modified from the file explorer window to the archive manager window. Drop the file in the archive manager window. It will ask you if you're sure that you want to overwrite, hit "Yes".
9. Once the file's in place, close the archive manager to finalize the change.
10. Now, all you have to do is put the modified app back on your device, use a tool like ZipSigner (find on Google Play) to resign it, and install!
Please do give me a few post thanks if the above instructions helped you. :good:
thenookieforlife3 said:
What I meant to say was, don't actually decompile the app and then try to recompile it! It will give you errors, as you've seen.
Click to expand...
Click to collapse
Thanks for the detailed instructions, however, to modify AndroidManifest.xml (where the GSF requirement is put) you need to decompile the apk using apktool or similar.
Simply unzipping the APK will not allow you to change AndroidManifest.xml.
I wish it were that simple
wkwkwk said:
Thanks for the detailed instructions, however, to modify AndroidManifest.xml (where the GSF requirement is put) you need to decompile the apk using apktool or similar.
Simply unzipping the APK will not allow you to change AndroidManifest.xml.
I wish it were that simple
Click to expand...
Click to collapse
That's odd, because that method is what has consistently worked for me!
Hello , I have deleted Camera App defaut and when i try to reinstall it , failed , so please help me with flashable file or anything to do please
If you have the original apk it's enough to copy that file into /system/priv-app/ and give it 644 permission, then reboot and it's done.
eskamhl said:
If you have the original apk it's enough to copy that file into /system/priv-app/ and give it 644 permission, then reboot and it's done.
Click to expand...
Click to collapse
I tried this from another Xperia Z3 , and it not work
mazighi said:
I tried this from another Xperia Z3 , and it not work
Click to expand...
Click to collapse
Maybe you need also the .odex file, I don't remember if the camera apk is doedexed by default or not.
eskamhl said:
Maybe you need also the .odex file, I don't remember if the camera apk is doedexed by default or not.
Click to expand...
Click to collapse
Yes i haven't touch it before , I have desintall it with titanium backup accidentaly
It has to be out in the "system" apps folder. I don't think you can just install it like a regular apk.
abhinav.tella said:
It has to be out in the "system" apps folder. I don't think you can just install it like a regular apk.
Click to expand...
Click to collapse
It said failed when i try to reinstall it
How did you try to re-install it?
You can't install it the normal way.. You have to copy the apk AND the odex file to /system/app
Bro0z3r said:
You can't install it the normal way.. You have to copy the apk AND the odex file to /system/app
Click to expand...
Click to collapse
I have tried this , but no result :/
please who can help me with necessary file ?