I've been looking through my phone for the path to the default "Messaging" application. I don't use it, and have it disabled, though my rom has a feature which I would like to test out some sym-links to link the default app location to google voice somehow.
Could someone direct me to the default messaging app location?
in root explorer
System/app/mms.apk
Maybe I'm not following completely, but that is the apk, which allows the app to be installed. Where is the binary that is actually executed when the messaging application is opened?
If you extract the file then everything that comprises the apk. Will available for viewing.
angelino0919 said:
If you extract the file then everything that comprises the apk. Will available for viewing.
Click to expand...
Click to collapse
This I know. I'm trying to find the binary which executes when a specific application is called. Is there not a single binary which executes? Is this what you are saying? Are you saying when I tap "Messaging" the apk previously specified extracts and runs some binary contained in the apk?
You just blew my mind lol Sorry bud I thought you were asking much simpler.
acmeinc said:
This I know. I'm trying to find the binary which executes when a specific application is called. Is there not a single binary which executes? Is this what you are saying? Are you saying when I tap "Messaging" the apk previously specified extracts and runs some binary contained in the apk?
Click to expand...
Click to collapse
No, there is not a single binary.
The apk includes the resources and runtime code required to execute and draw on screen the messaging app. Some apps have a dependency on libraries (*.so files) and for system apps these are stored in /system/lib/ - in user apps they're distributed within the apk.
djmcnz said:
No, there is not a single binary.
The apk includes the resources and runtime code required to execute and draw on screen the messaging app. Some apps have a dependency on libraries (*.so files) and for system apps these are stored in /system/lib/ - in user apps they're distributed within the apk.
Click to expand...
Click to collapse
I was afraid of this. Thx for the info.
acmeinc said:
I was afraid of this. Thx for the info.
Click to expand...
Click to collapse
What do you want to link to what?
Related
How can I remove some of the stock apps from JPK, SGStools seems to be able to remove the bulk of them but apps like latitude,places,navigation,maps,voice search and ect are still left over.. is this possible to remove ?
Either do it manually
rm /system/app/name.apk
rm /system/app/name.odex
pm uninstall <package name>
or
Link
EarlZ said:
How can I remove some of the stock apps from JPK, SGStools seems to be able to remove the bulk of them but apps like latitude,places,navigation,maps,voice search and ect are still left over.. is this possible to remove ?
Click to expand...
Click to collapse
Try root explorer (new version, just out on market). And there is topic about removing stuff, Im sure it describes other options.
Here is the link for the apps you can remove: http://forum.xda-developers.com/showthread.php?t=712546
As dupel has said, download root explorer from the market, it's a great app for rooted users.
Daneshm90 said:
Either do it manually
rm /system/app/name.apk
rm /system/app/name.odex
pm uninstall <package name>
or
Link
Click to expand...
Click to collapse
Why do you need the third line?
itaykoren said:
Why do you need the third line?
Click to expand...
Click to collapse
It uninstalls the package and removes traces of the app from your phone.
So if u just delete the apk/odex, ur app will still exist in /data/data and packages.xml and its dex will probably still exist as well in dalvik-cache.
In windows terms, its like deleting the program from C:\Program Files vs uninstalling it. That example will either make it clear or confuse u even more
Edit : That is why i wrote that app, doing it manually everytime u flashed a rom is very time consuming lol (im referring to my htc magic where i'd flash cm nightly's everyday )
Thanks for the quick reply.
Does that also apply when unrooting? (when I unrooted, I deleted the superuser.apk, and don't recall I uninstalled any package).
In addition, how do I know the name of the package?
Is it always identical to the .apk?
And a general question: Isn't it more logical to do the third line first, then the other two? Does it matter?
itaykoren said:
Thanks for the quick reply.
Does that also apply when unrooting? (when I unrooted, I deleted the superuser.apk, and don't recall I uninstalled any package).
In addition, how do I know the name of the package?
Is it always identical to the .apk?
And a general question: Isn't it more logical to do the third line first, then the other two? Does it matter?
Click to expand...
Click to collapse
The apk must be accessible (permission wise) in order to run the uninstall command and getting a "successful" in return. When u do so on a system app, it cannot delete the apk hence it returns a "unsuccessful". Hence u need to delete the apk/odex first, then run that command in order to get a "success" message.
The name of the package can be found in 2 ways :
Look inside the /data/data folder for folder names that resonate with that of the apk or u can make out which package name it is (sometimes not so obvious).
Open the apk, look inside the manifest for the package name or just look at the folder structure.
Behind the scenes thats what my app does, goes inside the apk, looks for the package name, hence when u tap on the item, it deletes the apk and presents you with the uninstall dialog where you uninstall the app like a regular app.
Thanks again for your swift reply.
This app of yours sounds interesting...
Tell me, if I don't do the third line, or I do it but I do not remove all the relevant packages (if there may be more than one) then will the icon of the app still be visible? Will it FC when I try to open it? Or will the icon not appear?
itaykoren said:
Thanks again for your swift reply.
This app of yours sounds interesting...
Tell me, if I don't do the third line, or I do it but I do not remove all the relevant packages (if there may be more than one) then will the icon of the app still be visible? Will it FC when I try to open it? Or will the icon not appear?
Click to expand...
Click to collapse
No it won't show up, but future revisions might cause trouble (sometimes)
You can always go through ur /data/data folder and find a folder name that resonates that of an apk u deleted and then run the pm uninstall command on it.
I like to try similar apps side by side.
For example, I would like to try different camera apps in my phone.
How can I use an apk file of camera extracted from a different ROM and install in my current ROM without removing the stock app.
I tried to push an apk from another ROM to the /system/app folder with appropriate permissions. This did not work. I got an FC.
Is there a way I can accomplish this without much changes?
You have to push it to that folder, but also set the permissions. This is also depending on if it's not tied into the framework. I'm on my phone so I can't dig around right now.
Edit: after changing permissions to 644, reboot.
PonsAsinorem said:
You have to push it to that folder, but also set the permissions. This is also depending on if it's not tied into the framework. I'm on my phone so I can't dig around right now.
Edit: after changing permissions to 644, reboot.
Click to expand...
Click to collapse
thanks for your advice.
What I am trying to do is make an apk I can push or install which would act like an independent application so that I can still keep the stock application.
meazz1 said:
thanks for your advice.
What I am trying to do is make an apk I can push or install which would act like an independent application so that I can still keep the stock application.
Click to expand...
Click to collapse
As long as they're not named the same, so that you're new one won't overwrite the original. You can have multiple apps in the app drawer with the same name. Make a nandroid and give it a shot.
PonsAsinorem said:
As long as they're not named the same, so that you're new one won't overwrite the original. You can have multiple apps in the app drawer with the same name. Make a nandroid and give it a shot.
Click to expand...
Click to collapse
what name are you referring to? Is it the "camera.apk" or "HTCCamera.apk" name or something within the .apk file.
can you give me a hint?
meazz1 said:
what name are you referring to? Is it the "camera.apk" or "HTCCamera.apk" name or something within the .apk file.
can you give me a hint?
Click to expand...
Click to collapse
The .apk name that gets pushed to the system app folder. Example, I run CM7. There is an app called Camera.apk which I don't really like, so I push MiuiCamera.apk to that folder, set the permissions and reboot. Now in my app drawer, there are two Cameras with different icons, (I usually wind up removing the stock Camera.apk).
If the new camera I used was named Camera.apk as well, it would just overwrite the original camera, replacing it, which is something you said you didn't want.
Howdy folks -
I started with the modified-to-be-expandable PopupBrowser.apk found here and added/modded it a bit further. I reset a number of the layout dimension xml stuffs back to stock UVALL4/UVALK8 values, edited some smali stuff so the expanding states "fit" a little better (so minimized doesn't cut off the title bar, mid-size state is about the same as the size when you first open the popup browser, and large-size state fills up a bit more of the screen), and set it up so that when wanting to "popout" the content in the popup browser into a "full" browser it will look for Chrome first - if Chrome isn't installed, it'll point to the stock (given similarity of package names this should be either stock TW or AOSP) browser. FWIW I originally put this together for inclusion in a rom I put together... just putting that out there
Anyhoo - here it is
md5: DBAB8033D6041B39D664F0A1F175DB02
Let me know if there are any problems
NOTE: If odexed the zip should move /system/app/PopupBrowser.odex to /system/app/PopupBrowser.odex.bak
This looks great! Can't wait to give it a try!
I keep getting application not installed. I used to have an error saying a file name as such already exists.
After deleting popupbrowser using tbup, it now gives me application not installed.
Any suggestions or easy guides?
mitchillen said:
I keep getting application not installed. I used to have an error saying a file name as such already exists.
After deleting popupbrowser using tbup, it now gives me application not installed.
Any suggestions or easy guides?
Click to expand...
Click to collapse
Have you tried pushing it or manually placing it in system/app and then setting permissions?
Sent from my GT-N7105 using Xparent Skyblue Tapatalk 2
mitchillen said:
I keep getting application not installed. I used to have an error saying a file name as such already exists.
After deleting popupbrowser using tbup, it now gives me application not installed.
Any suggestions or easy guides?
Click to expand...
Click to collapse
I'm confused - when does it say application not installed? What are the errors exactly (the wording I mean)? After you deleted PopupBrowser.apk from /system/app did you reflash the zip from the OP? A possible issue could have been the popup browser already installed was slightly different in its name (if this was true it was likely a case issue) - what are you running? I can edit the updater-script to remove other similar-but-different-casing apks if this is what was going on.
dwitherell said:
I'm confused - when does it say application not installed? What are the errors exactly (the wording I mean)? After you deleted PopupBrowser.apk from /system/app did you reflash the zip from the OP? A possible issue could have been the popup browser already installed was slightly different in its name (if this was true it was likely a case issue) - what are you running? I can edit the updater-script to remove other similar-but-different-casing apks if this is what was going on.
Click to expand...
Click to collapse
I dl'ed the app straight from chrome browser on my phone. I opened it up using ES Zip viewer and it gives me two folders - Meta inf and system.
I open system folder and find popupbroswer.apk and click on it which brings me to the install page, once I click install it tells me "Application not installed"
Am I supposed to do anything else with the stuff that is in meta inf? I'd consider myself amateur with this stuff so bear with me, sorry!
Not sure what "casing" is but I'm stock rooted using Exynos Abuse on UVALK8. Hope that helps
mitchillen said:
I dl'ed the app straight from chrome browser on my phone. I opened it up using ES Zip viewer and it gives me two folders - Meta inf and system.
I open system folder and find popupbroswer.apk and click on it which brings me to the install page, once I click install it tells me "Application not installed"
Am I supposed to do anything else with the stuff that is in meta inf? I'd consider myself amateur with this stuff so bear with me, sorry!
Not sure what "casing" is but I'm stock rooted using Exynos Abuse on UVALK8. Hope that helps
Click to expand...
Click to collapse
Ah - I see. The zip is in a format so you can flash it in a custom recovery (CWM, TWRP, etc.). The apk itself cannot be installed via the package manager route (which is why you were having the problem), if you aren't going to use a recovery then you need to push/copy the apk itself into /system/app. Basically you need to set /system/app/ as rw so you can copy stuff into it, copy the apk into it, and (for good measure) set the permissions on PopupBrowser.apk to rw-r--r-- (or 644 if you use a terminal or something similar). Then you should be good to go. It's totally up to you on how you want to go about it. Lemme know (whether in this thread or via PM) if you have any questions.
I don't think this interested many, but I updated the OP - it should work for odexed folks now as well
dwitherell said:
I don't think this interested many, but I updated the OP - it should work for odexed folks now as well
Click to expand...
Click to collapse
I just found it and spent a while looking at pop-up browser options. It's awesome man...smaller title bar, shrinkable to view more of the background app.
I did have issues resizing it (bottom right corner of the pop-up window). It doesn't seem to allow me to resize. I can press the "expand" button or whatever it is in the title bar which will enlarge the window but only vertically.
I have the DPI of my phone set to 220 so maybe that's it?
djnutz said:
I just found it and spent a while looking at pop-up browser options. It's awesome man...smaller title bar, shrinkable to view more of the background app.
I did have issues resizing it (bottom right corner of the pop-up window). It doesn't seem to allow me to resize. I can press the "expand" button or whatever it is in the title bar which will enlarge the window but only vertically.
I have the DPI of my phone set to 220 so maybe that's it?
Click to expand...
Click to collapse
Resizing in that sense is not supported unfortunately - it's just the ability for 3 stages of "height" more or less.
dwitherell said:
Resizing in that sense is not supported unfortunately - it's just the ability for 3 stages of "height" more or less.
Click to expand...
Click to collapse
Gotcha - well either way thanks for posting it. Nice to have.
Can one of you send me a link the download in the op isn't working for me
Sent from my SGH-T889 using xda app-developers app
SIGMAxB said:
Can one of you send me a link the download in the op isn't working for me
Sent from my SGH-T889 using xda app-developers app
Click to expand...
Click to collapse
Here ya go.
In the WMAppManifest.xml of the app, add HubType="268435456" to the App tag, and deploy the app. See attached images.
You can also pin Extras to Start for quick access.
Really useful for keeping harmful editing stuff out of the way of people who feel the need to use your phone without your permission.
Good find, bud! He-he, someone should try to publish the app with that hack (if store will not block it of course)
Needed to restart phone after deploy to show in settings.
4-5yrs old trick anyway, just keep search on xda even in WP7.8 forum
Djtonka, how to pin to start apps from settings?
remove the HubType="268435456 from manifest file
So why before audio settings had the posibility to pin to start? It was in settings,-extras. before....
it has been redesigned for Win10
Nevermind: if on the last fast ring build cant open any deployed app, modify the wpappmanifest to deploy in HUB. Then the app will work. Happend to me with custom pfd, wptweaker, roottool jailbreak version.
Hi,
Can you please give me an xap file which include HubType="268435456" tag in WMAppManifest.xml of the app. I tried to add but not able to save the xml as it gives some error. If possible, please send me the xap
Thanks
winphouser said:
In the WMAppManifest.xml of the app, add HubType="268435456" to the App tag, and deploy the app. See attached images.
You can also pin Extras to Start for quick access.
Click to expand...
Click to collapse
Open the xml file as text with notepad, or right click-edit.
how to modify .appx as settings apps?
Read this
https://msdn.microsoft.com/en-us/library/windows/hardware/dn707973(v=vs.85).aspx
winphouser said:
In the WMAppManifest.xml of the app, add HubType="268435456" to the App tag, and deploy the app. See attached images.
You can also pin Extras to Start for quick access.
Click to expand...
Click to collapse
does not work.
1. open the .xap in the archive
2. add HubType = "268435456" in WMAppManifest.xml
3. Close the file, saving changes.
4. copy the .xap into the phone, install, and .... nothing is installed ..
I tried and so
1. Unzip the files in the .xap in folder
2. add HubType = "268435456" in WMAppManifest.xml
3. archived back to zip archive. renamed zip into a .xap. and again nothing ...
assembly 15245. Can already removed the opportunity?
Deploy from PC.
augustinionut said:
Deploy from PC.
Click to expand...
Click to collapse
WPAD 8.1
Error - Package was not found.
What app are you trying to deploy?
I did find the way to change and make appx to install it under Extras badge
augustinionut said:
What app are you trying to deploy?
Click to expand...
Click to collapse
CustomPDF & WPTweaks
Greetings,
I've a problem un-installing Telegram, so, i've installed interop tools and unlocked system files hoping that i can delete telegram manually but i couldn't.
So, can any one help me with this ? locating "Telegram/any" app files manually and delete them ?!
Touch the app and hold. Tap uninstall.
If you never want the app to install automatically during hard reset and it is a preloaded app look under C:\Programs\Commonfiles\xaps and delete the desired appx or xap file out of there.
Or depending on your device type check C:\Programs\Commonfiles\OEM\Public\PreloadedApps\tier3apps\ for other xaps and appx files you do not want provisioned to your phone. I recommend backing them up before you remove any of them though.
Edit: All the currently installed apps are found in C:\Data\Programs
nate0 said:
Touch the app and hold. Tap uninstall.
If you never want the app to install automatically during hard reset and it is a preloaded app look under C:\Programs\Commonfiles\xaps and delete the desired appx or xap file out of there.
Or depending on your device type check C:\Programs\Commonfiles\OEM\Public\PreloadedApps\tier3apps\ for other xaps and appx files you do not want provisioned to your phone. I recommend backing them up before you remove any of them though.
Edit: All the currently installed apps are found in C:\Data\Programs
Click to expand...
Click to collapse
tapping the app and press uninstall didn't work
searching the first and the second directory, i couldn't find telegram
the third directory in the EDIT, the folders names are with numbers not in plain text.
nate0 said:
Touch the app and hold. Tap uninstall.
If you never want the app to install automatically during hard reset and it is a preloaded app look under C:\Programs\Commonfiles\xaps and delete the desired appx or xap file out of there.
Or depending on your device type check C:\Programs\Commonfiles\OEM\Public\PreloadedApps\tier3apps\ for other xaps and appx files you do not want provisioned to your phone. I recommend backing them up before you remove any of them though.
Edit: All the currently installed apps are found in C:\Data\Programs
Click to expand...
Click to collapse
Question: How can I access those paths on my phone?
install https://www.microsoft.com/en-us/store/p/interop-tools-preview/9ntgwlc0d3cs
and then install extensions from here in the attachments https://forum.xda-developers.com/showpost.php?p=72779593&postcount=887
sasatefa2009 said:
install https://www.microsoft.com/en-us/store/p/interop-tools-preview/9ntgwlc0d3cs
and then install extensions from here in the attachments https://forum.xda-developers.com/showpost.php?p=72779593&postcount=887
Click to expand...
Click to collapse
I had already installed those required programs, so how can I access the paths/folders?
Got it. Thanks for that.
---------- Post added at 13:07 ---------- Previous post was at 12:40 ----------
sasatefa2009 said:
tapping the app and press uninstall didn't work
searching the first and the second directory, i couldn't find telegram
the third directory in the EDIT, the folders names are with numbers not in plain text.
Click to expand...
Click to collapse
Did you turned on the "Full Filesystem Access" inside the Interop Tools?
About the folder names are with numbers, I suggest you to use this app: https://forum.xda-developers.com/wi...-apps-data-manager-windows-10-mobile-t3523048