[Q] apk help please - Android Q&A, Help & Troubleshooting

Hi there
I've decompiled a apk and changed the png files.
I've recompiled it using apktool and signed it with a private key, using this method http://forum.xda-developers.com/showthread.php?t=1231561
I've manually installed it on my device and it works fine, but when I go to Google Play and search for the original app, it asks if I want to uninstall it, does this mean that the developer's private key is still attached to the recompiled apk?
Any help would be much appreciated.
Mark

No google play finds that there's an app with the same package and two applications with the same package cannot be installed so it asks for un installation
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!

sak-venom1997 said:
No google play finds that there's an app with the same package and two applications with the same package cannot be installed so it asks for un installation
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
Thanks for the reply sak-venom1997, so do I just change the package name in the AndroidManifest.xml file?

It's ok I've figured it out now.
Mark

Related

Signing framework-res.apk (solved)

Can I sing framework-res.apk with zipsign or a simlar app don't have access to PC at moment. If so which key is best to sign it with. Thanks in advance.
Sent from my X8 using XDA Premium App
furrabbit.nh said:
Can I sing framework-res.apk with zipsign or a simlar app don't have access to PC at moment. If so which key is best to sign it with. Thanks in advance.
Sent from my X8 using XDA Premium App
Click to expand...
Click to collapse
How did you singed your framework-res.apk??
hi if you wored by
apk manager
copy that apk to this folder "place-apk-here-for-modding" of apk manager
and open apk manager app
1-22 after that select a apk file by number
2-1 to extra
3- an goes to "project" folder and edit that files
4-2 to optimize
5-3 to zip apk
and no need to singed
http://forum.xda-developers.com/showthread.php?t=1821912
tahnks yousef-p

Edit APK

I've an .APK file and I want to change the .APK filename in App Drawer and in the App and I want to change the icon that appears in App Drawer and installation,
P.S - The .APK file will be only used for myself, not to reupload someones work
Conclusion said:
How do I change APK icon?
Click to expand...
Click to collapse
u have to just unpack the apk repack it install...
these thread are of ur help..
http://forum.xda-developers.com/showthread.php?t=695701
http://forum.xda-developers.com/showthread.php?t=1649771
Aj.GaLaxY aCE said:
u have to just unpack the apk repack it install...
these thread are of ur help..
http://forum.xda-developers.com/showthread.php?t=695701
http://forum.xda-developers.com/showthread.php?t=1649771
Click to expand...
Click to collapse
Tried the second link method but it didn't work
If u just wanna change the icon of the apl, then open ur apk in 7zip or winzip. And find the png file which contains the icon. It is either present in res/drawable-mdpi/
Or in res/midmap-mdpi/
AashayS said:
If u just wanna change the icon of the apl, then open ur apk in 7zip or winzip. And find the png file which contains the icon. It is either present in res/drawable-mdpi/
Or in res/midmap-mdpi/
Click to expand...
Click to collapse
Does the icon has to be the same resolution? Do I not need to sign it?
P.S - Is it possible to change the APK name to show a different name in App Drawer?
Conclusion said:
Does the icon has to be the same resolution? Do I not need to sign it?
P.S - Is it possible to change the APK name to show a different name in App Drawer?
Click to expand...
Click to collapse
1)yes, it has to be of the same resolution.
2)u do not need to sign an apk if u open it in winzip or 7zip.
3) yes, u can edit name in the Android_manifest.xml. But for that u wud hav to decompile the apk.
Sent from my GT-S5830 using Tapatalk 2 Beta-5
AashayS said:
1)yes, it has to be of the same resolution.
2)u do not need to sign an apk if u open it in winzip or 7zip.
3) yes, u can edit name in the Android_manifest.xml. But for that u wud hav to decompile the apk.
Sent from my GT-S5830 using Tapatalk 2 Beta-5
Click to expand...
Click to collapse
I don't know how to decompile the APK, if I send you the APK can you change the APK name for me please
Conclusion said:
I don't know how to decompile the APK, if I send you the APK can you change the APK name for me please
Click to expand...
Click to collapse
I can . But i am out of town at present.
Only do it if its ur own apk. Otherwise its illegal....I think
And even if its not, I, as a developer strongly discourage it. I would certainly not like my app being decompiled
Conclusion said:
I don't know how to decompile the APK, if I send you the APK can you change the APK name for me please
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1664292
Sent from my GT-S5830 using Tapatalk 2
QuantumFoam said:
Only do it if its ur own apk. Otherwise its illegal
Click to expand...
Click to collapse
Not really. You can rename an apk till you use it for yourself.
Sent from my GT-S5830 using Tapatalk 2
AashayS said:
I can . But i am out of town at present.
Click to expand...
Click to collapse
When will you be available?
QuantumFoam said:
Only do it if its ur own apk. Otherwise its illegal....I think
And even if its not, I, as a developer strongly discourage it. I would certainly not like my app being decompiled
Click to expand...
Click to collapse
I'm using the APK app myself
tj_droid said:
http://forum.xda-developers.com/showthread.php?t=1664292
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
I'm new to this so it will be quite hard for me to do it
Conclusion said:
I'm new to this so it will be quite hard for me to do it
Click to expand...
Click to collapse
Its damn easy buddy. There's no harm in trying.
Sent from my GT-S5830 using Tapatalk 2
tj_droid said:
Its damn easy buddy. There's no harm in trying.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
Can you do it for me as I don't really have a clue
Can someone help me please
Conclusion said:
Can you do it for me as I don't really have a clue
Click to expand...
Click to collapse
My PC has been locked-down by my dad. If you dont trust me, check my stocklite rom's thread. I've clearly mentioned that I can't update the rom before my exams. Dad will open up the pc only in July. So, I cant do any development related work till that time. Sorry.
You can try apkrenamer to rename apps. Search on google.
Sent from my GT-S5830 using Tapatalk 2
tj_droid said:
You can try apkrenamer to rename apps. Search on google.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
But apkrenamer just renames the name in app drawer. Not in the app. And also not in oter apps which hve connections.
Can anyone help me to change the APK file name please, I've tried it myself but without success
X-Plore file manager (with Root access)
Conclusion said:
How do I change APK icon?
Click to expand...
Click to collapse
Use X-Plore file manager
(Root access is required)
First backup your original apk file.
Work:
1- Open an app as zip file
2- go to res\drawable-hdpi\ folder
3- find icon.png in this folder
4- then Go to the second section in the browser (on the screenshot)
5- find the png file which is your new icon.
6- Rename it "icon.png" and mark.
7- Then copy it and write over old one.
8- End
Note:The new apk file is not signed so you can't install it like a normal installation.
So you can push it to the system\app folder (Root access is required)
msahin061 said:
Use X-Plore file manager
(Root access is required)
First backup your original apk file.
Work:
1- Open an app as zip file
2- go to res\drawable-hdpi\ folder
3- find icon.png in this folder
4- then Go to the second section in the browser (on the screenshot)
5- find the png file which is your new icon.
6- Rename it "icon.png" and mark.
7- Then copy it and write over old one.
8- End
Note:The new apk file is not signed so you can't install it like a normal installation.
So you can push it to the system\app folder (Root access is required)
Click to expand...
Click to collapse
I can change APK icon via WinRAR but I need to know how to change APK filename

fix permission before flashing a rom

Ive been building a rom and adding tweaks and apps ive noticed after I flash my rom I need to fix permissions to get some rhings working is there a way to do this wile im builing my rom? Do I have to do it manully or is there a program that can do it for me ? Thx
xstokerx said:
Ive been building a rom and adding tweaks and apps ive noticed after I flash my rom I need to fix permissions to get some rhings working is there a way to do this wile im builing my rom? Do I have to do it manully or is there a program that can do it for me ? Thx
Click to expand...
Click to collapse
You can change permission in update scripts
While building do you mean on pc if this is the case you can't do so
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
sak-venom1997 said:
You can change permission in update scripts
While building do you mean on pc if this is the case you can't do so
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
Ya on the pc before I run it though the kitchen
xstokerx said:
Ya on the pc before I run it though the kitchen
Click to expand...
Click to collapse
I was trying to do this sometime back and when I changed permission on Linux desktop and pushed the app it's permission was again changed to default.
This is because permission attributes aren't contained in the files they're set by system and change on copying or moving
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
sak-venom1997 said:
I was trying to do this sometime back and when I changed permission on Linux desktop and pushed the app it's permission was again changed to default.
This is because permission attributes aren't contained in the files they're set by system and change on copying or moving
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
ok i figured it out i gotta copy the change permission comands from updater script of the zips to my updater script in the rom with notepad++
xstokerx said:
ok i figured it out i gotta copy the change permission comands from updater script of the zips to my updater script in the rom with notepad++
Click to expand...
Click to collapse
Yup that's what you need to do
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!

Update Binary .. Issue

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 . Any Help?
Which device are you writing the update binary for?
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
sak-venom1997 said:
Which device are you writing the update binary for?
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
Samsung Epic4G Touch (Sprint)
JustDrado said:
Samsung Epic4G Touch (Sprint)
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1848010
download any of the cwm flashable zips from download links in the op you'll find the update binary in it if handsets don't match exactly there's no problem it will work
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
sak-venom1997 said:
http://forum.xda-developers.com/showthread.php?t=1848010
download any of the cwm flashable zips from download links in the op you'll find the update binary in it if handsets don't match exactly there's no problem it will work
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
I'm trying to edit the file , and not break it and it's in a weird coding ( I know the name of the code language ) it's just Look at the File . I can't edit it without it breaking -.- \\ There a Line in it that says 2012 and I need to put 2013 and a few more thing then that ...
Here the File From Dev Host (File Has been Scanned by there Virus scanner) . http://d-h.st/D1Z
What coding language its using and I guess you can't edit it just simply using notepad++ maybe it requires some tools
One question that is in my mind is why you need to edit it and can't use that one
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
sak-venom1997 said:
What coding language its using and I guess you can't edit it just simply using notepad++ maybe it requires some tools
One question that is in my mind is why you need to edit it and can't use that one
Sent from my GT-S5302 using Tapatalk 2
Hit Thanx Button if i helped you!
Click to expand...
Click to collapse
Because of the copyright and also some other things inside the file which need to be rewritten for the Zip file Im mkaing , :good: And the for the code language Give me a sec.
Anyone else that could help me??????????
I think you should be editing update-script and not update-binary.

[Q] Help Me

How to prevent get source code from apk file in android apps.
Answer me as soon as possible..
use luckeypatcher and remove lisense verification.....
this application requires root...permision..
I think it is help ful for you..
hit thanks if i helped...
Sent from my GT-S6102 using Tapatalk 2

Categories

Resources