Could someone possibly code an app for window or mac that renames the package name of an apk?
bump
What do you mean by package name? Like the com.whatever.whatever? Why do you want this?
xologist said:
Could someone possibly code an app for window or mac that renames the package name of an apk?
Click to expand...
Click to collapse
Look here
damjang said:
Look here
Click to expand...
Click to collapse
That renames the name name of the APK to either the name of the apk or the name of the package.
That does NOT rename the package name inside of the apk.
What I want is an app that automatically renames apk page name inside of an apk.
Anyone?
Sorry, I don't know for any prog that do this
This might help: http://code.google.com/p/android-apktool/
Sent from my Fire Kindling A-Pad
Related
Hi..
I wanted to change the contact images in the framework-res. I've done so far, but when I folded the new framework-res with the mod-tool push, then that too, but he shows me the new image does not accumulate in handy.
I can do or what?
My steps:
1. I replace the corresponding image (PNG format) with 7zip
2. im sending the new framework-res or contact.apk via adb mask controller on my x10i
3. reboot
4. im showing in contacts and the image ist the same as before
looking like a rat i handle it?
"Title: Edit Contact Picture"
you should edit "contacts.apk" located in "/system/app" not "framework-res.apk"
DynamicRam said:
you should edit "contacts.apk" located in "/system/app" not "framework-res.apk"
Click to expand...
Click to collapse
the contact image I have is in the framework-res. in the contact.apk another is available.
I am using CM 4.5.7 by Wolf Break
Have you resigned the apk?
Sent from my X10i using XDA App
no, like I do that?
Google it. But you will need the Android SDK or at least latest JDK and there is a script somewhere here on XDA called autosign or something like that. You will need to install those than remove the meta-inf from the modified apk put the apk file in the folder for autosign (make sure theres only one apk in the folder) then run autosign and it will create a new apk called your_signed_apk then rename it and push back to your phone.
Search "resigning apk files" and read. Theres an old thread somewhere for changing app icons i think that has everything you need to know.
Sent from my X10i using XDA App
Here is the thread
http://forum.xda-developers.com/showthread.php?t=503007
Read this thread and use the OPs modified tool found here:
http://www.mediafire.com/?yw24z5m4yya
Sent from my X10i using XDA App
Thx for this.
Sent from my X10i using XDA Premium App
CMoney87 said:
But you will need the Android SDK or at least latest JDK and there is a script somewhere here on XDA called autosign or something like that. You will need to install those than remove the meta-inf from the modified apk put the apk file in the folder for autosign (make sure theres only one apk in the folder) then run autosign and it will create a new apk called your_signed_apk then rename it and push back to your phone.
Click to expand...
Click to collapse
System apps don't need to be signed. If you look in framework-res.apk, there's no META-INF directory.
Are you sure you replaced the framework-res.apk file correctly? I posted some info about framework-res.apk here: http://forum.xda-developers.com/showthread.php?p=11193663#post11193663
As always, back up with xRecovery before messing around with framework-res.apk. One mistake and you won't be able to boot.
I think most stock apps actually might not need to be signed, now that i think about it though. You might just need to make sure you remove the unmodified app first (copy it somewhere first for a backup) and then manually put the apk in, set permissions correctly and then reboot. This apk signing trick allows you to modify any app to change shortcut icons or customize anything you want and reinstall it correctly so it should come in handy anyways.
Sent from my X10i using XDA App
i have tried to export a file from eclipse in .apk but when i open the folder i exported to, it says file, there is no .apk. I tried installing it on my phone but as it is not a .apk it wouldnt install... In properties it says "File type: File" im not sure why it wont export in .apk
sparsh23 said:
i have tried to export a file from eclipse in .apk but when i open the folder i exported to, it says file, there is no .apk. I tried installing it on my phone but as it is not a .apk it wouldnt install... In properties it says "File type: File" im not sure why it wont export in .apk
Click to expand...
Click to collapse
Have you tried adding the extension .apk? I personally just browse to my workspace folder, then into my project directory and inside there there should be a bin folder containging the compiled apk. I just use that
thank you
elesbb said:
Have you tried adding the extension .apk? I personally just browse to my workspace folder, then into my project directory and inside there there should be a bin folder containging the compiled apk. I just use that
Click to expand...
Click to collapse
thanks it worked, im new to this lol
sparsh23 said:
thanks it worked, im new to this lol
Click to expand...
Click to collapse
lol glad i could help! which option did you use? just adding apk to the file?
elesbb said:
lol glad i could help! which option did you use? just adding apk to the file?
Click to expand...
Click to collapse
just added .apk shouldve thought of it lol
sparsh23 said:
just added .apk shouldve thought of it lol
Click to expand...
Click to collapse
HAHAHAHA we all have those moments!
Hello I am working i a idea of mounting a windows share and reproducing all the contents with a specific program, for example all images files to open in full screen with gallery or a slideshow program, if a movie with video program etc etc...
i already mount the windows share and i am able to print all the files names but i am struggling a lot on this does anyone knows an app that do this or any thoughts about how to do it from command line?
any idea is really appreaciate
Regards,
"ls"? Or do I misunderstand the question?
thewadegeek said:
"ls"? Or do I misunderstand the question?
Click to expand...
Click to collapse
sorry maybe i didnt make myself clear.
what i need is moreless complex.
I need to make a slideshow of all the content i have in a folder. The problem is that some files are not just images, some are videos.....
So i was thinking that maybe i can do a script in the command line but i need some commands to:
how to open an app
how to pass parameter to it,
i have read that all of it i can find it in manifest file but i also dont know where it is in each application installed.
Another way is if you know any apk that can work.
PLeaseeeee any ideaS?
Google "java find all images in folder".
Sent from my SCH-R760 using Tapatalk 2
thewadegeek said:
Google "java find all images in folder".
Sent from my SCH-R760 using Tapatalk 2
Click to expand...
Click to collapse
i am not doing a apk i am trying to do a script to do what i want, actually i have made some progress, what i now need is how can i now the command an apk accept and his package name, i read this comes in a manifest but where it is in my android system?
eagoweb said:
i am not doing a apk i am trying to do a script to do what i want, actually i have made some progress, what i now need is how can i now the command an apk accept and his package name, i read this comes in a manifest but where it is in my android system?
Click to expand...
Click to collapse
I'm trying dude, but your grammar is killing me. What do you need from a APK and why?
alrededoresfoterp
thewadegeek said:
I'm trying dude, but your grammar is killing me. What do you need from a APK and why?
Click to expand...
Click to collapse
Sorry so true, i was writing really fast...
ok
i need to play all the content in a folder my problem is that i don't know how to determine the name of package and commands of the applications i want to call, here is the code i am using in line command:
This display all the names of all files in the folder
PHP:
for file in 'dir -d *'; do
echo $file\n
done
Then i did another test to try to open an application form line command
PHP:
am start -a android.intent.action.VIEW [weblink]
All this worked
What i want to determine is how can i obtain those package names and commands,for the different applications i install in the android tv box.:
"android.intent.action.VIEW"
But at the same time, the goal of all this is to open all files from a folder like a slideshow of photos and videos.
OK now i am opening astro player from command line, but if i add a new item to the folder how can i send a command to astro player to exit and open again so that he can detect the new file?
is there a 'am stop' command?
hello,
i wanna edit some pics in an app from the market.. how can i get it working on my phone.. i signed it and then it won't open on my phone when try to open it..?? here are the files
yakie996 said:
hello,
i wanna edit some pics in an app from the market.. how can i get it working on my phone.. i signed it and then it won't open on my phone when try to open it..?? here are the files
Click to expand...
Click to collapse
Just open the original .apk in 7-Zip, find the files, delete them and then put your new ones in. The have to be exactly the same name. You don't need to decode the apk or resign it.
Some apks won't work like this but very few in the end so you should be okay.
djmcnz said:
Just open the original .apk in 7-Zip, find the files, delete them and then put your new ones in. The have to be exactly the same name. You don't need to decode the apk or resign it.
Some apks won't work like this but very few in the end so you should be okay.
Click to expand...
Click to collapse
when i did this the app don't install on my device..
The 7-zip method not always will work. I use that to edit cyanogenmod themes to best fit my phone, but sometimes I can't install the apk, neither through adb nor file manager
Sent from my Nexus S using xda app-developers app
Try smali the whole apk , replace the pictures then compile it again, using Apk tool.
I'll do this on the go a the time as a matter of fact I did the tsfshell PCB blue theme with the traverse grapheme icons earlier...I do it by using root explorer extract the app and replace whatever you want as long as the file names are the same when done zip everything back up and rename from zip to app then move to system apps or data apps set proper permissions and reboot .....I do it from my cell hope this helps
Sent from my SPH-D700 using Xparent Blue Tapatalk 2
Use APK manager
Decompile the APk
replace or edit the pngs
recompile the APK
Sign it
you are done!!
I accidentally removed the package com.android.contacts. Now it's not possible to make calls with the stock telephone app, the app isn't visible in launcher anymore.
Can someone with root provide me with the full details, where this app resides? I guess it's something with /sytem/priv-app.
Yes, it's in system/priv-app
I would need the full path please.
So also folder name and name of the apk inside.
rolex0815 said:
I would need the full path please.
So also folder name and name of the apk inside.
Click to expand...
Click to collapse
Sure.../system/priv-app/Contacts/Contacts.apk