Extracting two apks - Google Pixel 4a Questions & Answers

I would like if someone kindly extract these two APKs:
com.android.printspooler &
com.android.bips
from his pixel 4a phone (us version, unlocked) and share them with me. Extraction and saving of APKs can be made by an app called "APK extractor" in the Google play store. This will save me a complete reset of my phone so thank you in advance. P.S. I tried using APK mirror but they don't install!

com.android.printspooler path -> /system/app/PrintSpooler/
Needs libs so you must symlink /system/lib64/libprintspooler_jni.so to /system/app/PrintSpooler/lib/arm64/
com.android.bips path -> /system/priv-app/BuiltInPrintService/
Also needs libs so you must symlink /system/lib64/libcups.so and /system/lib64/libwfds.so to /system/priv-app/BuiltInPrintService/lib/arm64/
You won't be able to do this without root....

Related

[HOW-TO]Remove System Apps from the HTC Desire with ADB in Windows, stepbystep guide

This is a copy and paste from a post I found on another forum. Some people just like to get rid of some applications that come with the Desire and HTC-sense. This post might be usefull if you like to delete some of the apps you dont want/need. Its written for windows-machines. I would advice to try one @the time and check if it works.
Works only on rooted devices! You need ADB/SDK on youre pc!
****WARNING****
Be sure you know EXACTLY what you are removing as it can cause you problems down the line, ie. if you remove HTC_IME.apk then you have no keyboard installed and will not be able to enter text on the device....
1. Boot the phone in recovery. Plugin the usb-cable. Wait for the drivers to load. Open a command prompt @the tools directory found in de adb-android dir on youre pc. Open it as administrator
2. You now need to mount the /system folder using the code below
HTML:
adb shell mount /system
3. Now you will need to get the list of installed apk files
HTML:
adb shell ls /system/app/
and the output should look like this:
HTML:
AccountAndSyncSettings.apk HtcWeatherWallpaper.apk
ApplicationsProvider.apk Jbed.apk
Bluetooth.apk LiveWallpapers.apk
BrcmBluetoothServices.apk LiveWallpapersPicker.apk
Browser.apk MagicSmokeWallpapers.apk
Calculator.apk Mail.apk
Calendar.apk MarketUpdater.apk
CalendarProvider.apk MediaProvider.apk
CertInstaller.apk MediaUploader.apk
CheckinProvider.apk Mms.apk
Clicker.apk Mode10Wallpapers.apk
ContactsProvider.apk NetworkLocation.apk
CustomizationSettingsProvider.apk NewsReader.apk
CustomizationSetup.apk PCSCII.apk
DCSImpl.apk PDFViewer.apk
DCSStock.apk PackageInstaller.apk
DCSUtility.apk Phone.apk
DownloadProvider.apk PicoTts.apk
DrmProvider.apk PluginManager.apk
EnhancedGoogleSearchProvider.apk QuickLookup.apk
Facebook.apk RSS.apk
FieldTest.apk Rosie.apk
FilePicker.apk Settings.apk
FlashLitePlugin.apk SettingsProvider.apk
FlashPlayer.apk SetupWizard.apk
Flickr.apk SocialNetworkProvider.apk
FriendStream.apk Stk.apk
GSD.apk Stock.apk
GenieWidget.apk Street.apk
GlobalSearch.apk Superuser.apk
Gmail.apk Talk.apk
GmailProvider.apk TalkProvider.apk
GoogleApps.apk TelephonyProvider.apk
GoogleCheckin.apk TtsService.apk
GoogleContactsSyncAdapter.apk Updater.apk
GooglePartnerSetup.apk UploadProvider.apk
GoogleSettingsProvider.apk UserDictionaryProvider.apk
GoogleSubscribedFeedsProvider.apk Vending.apk
HTCAlbum.apk VisualizationWallpapers.apk
HTCCamera.apk VoiceSearchWithKeyboard.apk
HTCSetupWizard.apk VpnServices.apk
HTC_IME.apk Weather.apk
HTMLViewer.apk WeatherAgentService.apk
HtcAddProgramWidget.apk WeatherProvider.apk
HtcClockWidget.apk WeatherSyncProvider.apk
HtcConnectivity.apk WidgetDownloadManager.apk
HtcContacts.apk WorldClock.apk
HtcDialer.apk YouTube.apk
HtcFMRadio.apk com.htc.FriendStreamWidget.apk
HtcFacebook.apk com.htc.MusicWidget.apk
HtcFootprints.apk com.htc.NewsReaderWidget.apk
HtcFootprintsWidget.apk com.htc.StockWidget.apk
HtcLocationPicker.apk com.htc.TwitterWidget.apk
HtcLocationService.apk com.htc.WeatherWidget.apk
HtcLockScreen.apk com.wsandroid.apk
HtcMessageUploader.apk gtalkservice.apk
HtcMusic.apk htcbookmarkwidget.apk
HtcNaviPanel.apk htccalendarwidgets.apk
HtcPhotoWidget.apk htccontactwidgets.apk
HtcRingtoneTrimmer.apk htcmailwidgets.apk
HtcSettingsProvider.apk htcmsgwidgets.apk
HtcSoundRecorder.apk htcsearchwidgets.apk
HtcStreamPlayer.apk htcsettingwidgets.apk
HtcSyncwidget.apk restartapp.apk
HtcTwitter.apk teeter.apk
4. there are 2 methods of removal, they are
4a. Just delete the files
4b. Move to the sdcard
Use one of the following methods
4a. Now you have a list of the files you can chose the ones you want to remove , note that this part is case sensitive so com.htc.twitterwidget.apk is not the same as com.htc.TwitterWidget.apk, use the following code(example used is the Stocks app and widget):
HTML:
adb shell rm /system/app/Stock.apk
adb shell rm /system/app/com.htc.StockWidget.apk
4b. Also case sensitive, to move the files to your sdcard(which also removes from the device):
HTML:
adb shell mount /sdcard
adb shell mkdir /sdcard/device-files
adb mv /system/app/Stock.apk /sdcard/device-files
adb mv /system/app/com.htc.StockWidget.apk /sdcard/device-files
The files will be moved to the new folder on your sdcard called /device-files, once there you can also backup to your pc for a bit of extra backup
5. Repeat Step 4. untill all the apk files that you want to remove are gone and to check that they are gone use
HTML:
adb shell ls /system/app/
Restoring your backed up files
Use the following code,
HTML:
adb shell mount /sdcard
adb shell mv /sdcard/device-files/Stock.apk /system/app/
adb shell mv /sdcard/device-files/com.htc.StockWidget.apk /system/app/
Reboot after the files are removed or put back.
Hope this helps.
VeeDubz
nice one for the copy from modaco, I didnt think to add it here too, just want to add that this method WILL leave remnants in the widget and and app list.
The ways to avoid this is to remove them right after you install the rom before the first boot
or
remove them from the rom .zip file before install using winzip, winrar ect
Hope the guide helps people
VeeDubZ said:
nice one for the copy from modaco, I didnt think to add it here too, just want to add that this method WILL leave remnants in the widget and and app list.
The ways to avoid this is to remove them right after you install the rom before the first boot
or
remove them from the rom .zip file before install using winzip, winrar ect
Hope the guide helps people
Click to expand...
Click to collapse
I thought that youre post was that good that the XDA-community shouldt know it too.....
Btw, most of the apps are found in /system/app. I know that if the rom is odexed in system/app you find de .odex and that you had to remove them as well?! What happened to the .odex in a deodexed rom? Maybe thats the reason that there are some remnants?!
Anyway, i managed to get rid of some apps i don't need without any problems.
Thanks for youre post @Modaco, was very helpfull
Thanks, useful!
Just thought to share this apk list of what-does-what and if its safe to remove or not.
http://wiki.cyanogenmod.com/index.php?title=Barebones
Helped me a lot figuring out whats what!
can i add program in similar way?
i would like to add htc_cime in some roms
Thanks for the good info. However, when I try to remove a system app (Wavesecure) it tells me that the file is locked and can't be removed :-(.
Any way to un-lock these locked files?
Thanks for any info.
Magaboo said:
Thanks for the good info. However, when I try to remove a system app (Wavesecure) it tells me that the file is locked and can't be removed :-(.
Any way to un-lock these locked files?
Thanks for any info.
Click to expand...
Click to collapse
do you have the phone in recovery mode?
solved----
And... what can i do if ADB don't recognize my Desire??
I'll tryed and a X10 mini pro works fine with adb...
adb deviced don't return anything for Desire, and works for x10
Help please!
Thanks!
Julian1984 said:
And... what can i do if ADB don't recognize my Desire??
I'll tryed and a X10 mini pro works fine with adb...
adb deviced don't return anything for Desire, and works for x10
Help please!
Thanks!
Click to expand...
Click to collapse
If you are on windows, You need the drivers for the desire
Installing windows drivers for the HTC-Desire
Other workaround====> Link
Heppieboeddah said:
If you are on windows, You need the drivers for the desire
Installing windows drivers for the HTC-Desire
Other workaround====> Link
Click to expand...
Click to collapse
Thanks!!!
Working Perfect!
Is it possible to get the package name of an apk package with an adb command ?
I mean package name, not the name of the file, of course
I deleted RSS.apk and newsreader.apk, but still found "News and Weather" in my application menu. Which one to delete so I can delete News and Weather?
denis_sianto said:
I deleted RSS.apk and newsreader.apk, but still found "News and Weather" in my application menu. Which one to delete so I can delete News and Weather?
Click to expand...
Click to collapse
You have to remove the apk's before first boot of a flashed ROM, otherwise all the icons still appear in the applications menu.
If this is what you did, I would suggest that there are more N&W apks that you missed.
can i use this method to remove quickoffice in order to free up some internal memory on the desire? thanks.
Removing apps from /system won't really free space on your device except maybe if you delete all the relevant stuff associated with this app in /data/data. It will just make the link disappear from list of apps.
BUT! A way to save space is to move the System apps UPDATE to /system/app and remove the old one. I did it for apps like Gmail or Gmaps, and it saved me a bit of space.
Hooo by the way, if you delete the .apk, you can delete the .odex file too.
Other tip: you can move the .dex file (in dalvik-cache) of an update system app to /system/app too and delete the old .odex. Worked for me, but do a backup before! (you've been warned ;-) )
Final tip: I moved some libs to /system/lib too (actually I did it for BIG libs like copilot live lib or FlashPlayer, at 8Mb each, I saved 16Mb of space on /data. Just simlink the old lib to the new one in /system/lib, and voila! )
sibere said:
Removing apps from /system won't really free space on your device except maybe if you delete all the relevant stuff associated with this app in /data/data. It will just make the link disappear from list of apps.
BUT! A way to save space is to move the System apps UPDATE to /system/app and remove the old one. I did it for apps like Gmail or Gmaps, and it saved me a bit of space.
Hooo by the way, if you delete the .apk, you can delete the .odex file too.
Other tip: you can move the .dex file (in dalvik-cache) of an update system app to /system/app too and delete the old .odex. Worked for me, but do a backup before! (you've been warned ;-) )
Final tip: I moved some libs to /system/lib too (actually I did it for BIG libs like copilot live lib or FlashPlayer, at 8Mb each, I saved 16Mb of space on /data. Just simlink the old lib to the new one in /system/lib, and voila! )
Click to expand...
Click to collapse
Thanks a lot for your tips mate! sounds a bit complicated to a non-techy person like me.. would you mind explaining how to move libs to /system/lib?
juz wondering.. if i reflash the same rom (in this case leedroid) but remove all the unnecessary apps such as htc stocks and quickoffice before flashing, will i actually end up with more internal memory?
sckc23 said:
Thanks a lot for your tips mate! sounds a bit complicated to a non-techy person like me.. would you mind explaining how to move libs to /system/lib?
juz wondering.. if i reflash the same rom (in this case leedroid) but remove all the unnecessary apps such as htc stocks and quickoffice before flashing, will i actually end up with more internal memory?
Click to expand...
Click to collapse
No because all those apps are in the /system partition and your user space is in /data. To get more space, you have to get S-OFF (security OFF) and resize your partitions! (even more techy than moving libs to the system partiton ;-) )
I'll try to write a small tutorial later about moving libs from /data to /system and save a lot of space!
sibere said:
No because all those apps are in the /system partition and your user space is in /data. To get more space, you have to get S-OFF (security OFF) and resize your partitions! (even more techy than moving libs to the system partiton ;-) )
I'll try to write a small tutorial later about moving libs from /data to /system and save a lot of space!
Click to expand...
Click to collapse
Cool that will be great! thanks again sibere=)
i'll try to s-off my device first to see what i can do next then.

[Q] Howto reinstall CalendarProvider.apk?

Hi!
I accidentally (don't ask how. Please -.-) removed my Calendar.apk and CalendarProvider.apk (including the .odex-files) from my device and now I'm trying to reinstall it since yesterday.
I tried different .apk files installing via root explorer. I also tried copying the files I got from another Optimus One into my system/app-folder, without success.
Problems I had so far:
- .apk-files don't include odex-files -> so I deodexed them and tried again:
- .apk-files not signed -> so I signed them and tried again:
- Calendar.apk can be installed, but adb install CalendarProvider.apk fails with
Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]
Click to expand...
Click to collapse
adb logcat says a little bit more:
D/PackageManager( 1374): Shared UserID android.uid.calendar (uid=10016): packages=[]
E/PackageManager( 1374): Package com.android.providers.calendar has no signatures that match those in shared user android.uid.calendar; ignoring!
W/PackageManager( 1374): Package couldn't be installed in /data/app/com.android.providers.calendar-1.apk
Click to expand...
Click to collapse
After reading through several boards, threads, mailinglists and the packages.list/packages.xml files I think that the problem is that the Calendar and CalendarProvider have to run with the same user id. But somehow signing the apk-files destroyed something in the CalendarProvider package?
I really don't have any clue what to try next
Somehow I did it.. ^^ I don't know what exactly made the trick, but the following worked:
At first I installed the signed Calendar.apk. Then I pulled the packages.xml onto my pc and deleted the id of the calendar-user (10012). Then I rebooted the device and ignored about a dozen errors. Then I installed the CalendarProvider.apk (which was now possible) and rebooted.
Then I checked the packages.xml again and the uid 10012 was in there again..^^ Now my calendar is synced again
fabswabs said:
At first I installed the signed Calendar.apk. Then I pulled the packages.xml onto my pc and deleted the id of the calendar-user (10012). Then I rebooted the device and ignored about a dozen errors. Then I installed the CalendarProvider.apk (which was now possible) and rebooted.
Click to expand...
Click to collapse
I just wanted to note that this process also just worked for me on my rooted Nook Tablet with the 1.4.1 update, which had no Calendar or CalendarProvider to begin with. I grabbed the files for Android 2.3 from here, copied Calendar.apk to /system/app with Root Explorer, deleted all the user id and shared user ids for calendar from packages.xml as described above, rebooted, installed CalendarProvider.apk using adb, rebooted again, and I have a calendar that syncs!
same problem
The same problem. Resolved: 1) installing the apk. 2) ODEX by Lucky Patcher 3), and then reboot into recovery and clear cash and cash Dalvin. 4) restart the system

how to find apks on my device

Hi everyone,
There is a way to find the .apk of apps downloaded from playstore. ull need root and root browser, we will use here esfile explorer. open esfile explorer and press top left-->tools enable root explorer and show hidden files, then go to local-->device now go to file data-->app and thats it, to find system apps u can go to device-->system-->app.
Wiked dudes production
Pull Apk in Non-Rooted Device.
There is no need of a rooted device,
you can pull the apk by using following techniques.
//_______________________________________________________
A) Using ADB
1) Determine the package name of the app, e.g. "com.whatsapp" (WhatsApp).
if you don't know the package name, you have 2 options to get the package name
i) Visit play store and search for the desired application, The link of the app contains the package name. "https://play.google.com/store/apps/details?id=com.whatsapp" (WhatsApp) where com.whatsapp is the package name
ii) use command "adb shell pm list packages" , this will list the package name of all application installed.
2) Once you know the package name, get the apk installed path by using command "adb shell pm path com.whatsapp"
it will return the apk path of the application, like this
package:/data/app/com.whatsapp-2/base.apk
3) Now to pull apk, by using command "adb pull /data/app/com.whatsapp-2/base.apk"
Apk will be extracted to the same folder where adb is present
//_______________________________________________________
B) Using ESFileExplorer
1) Open ESFileExplorer and navigate to User Apps either by (swiping left to right twice) or (goto APP under Library in Navigation Drawer)
2) Select App you want to pull, and click on Share.
3) Share the Apk to another device via Bluetooth or to desktop via AirDroid,
shanrais said:
There is no need of a rooted device,
you can pull the apk by using following techniques.
//_______________________________________________________
A) Using ADB
1) Determine the package name of the app, e.g. "com.whatsapp" (WhatsApp).
if you don't know the package name, you have 2 options to get the package name
i) Visit play store and search for the desired application, The link of the app contains the package name. "https://play.google.com/store/apps/details?id=com.whatsapp" (WhatsApp) where com.whatsapp is the package name
ii) use command "adb shell pm list packages" , this will list the package name of all application installed.
2) Once you know the package name, get the apk installed path by using command "adb shell pm path com.whatsapp"
it will return the apk path of the application, like this
package:/data/app/com.whatsapp-2/base.apk
3) Now to pull apk, by using command "adb pull /data/app/com.whatsapp-2/base.apk"
Apk will be extracted to the same folder where adb is present
//_______________________________________________________
B) Using ESFileExplorer
1) Open ESFileExplorer and navigate to User Apps either by (swiping left to right twice) or (goto APP under Library in Navigation Drawer)
2) Select App you want to pull, and click on Share.
3) Share the Apk to another device via Bluetooth or to desktop via AirDroid,
Click to expand...
Click to collapse
ur right however, not all system apps are present using the second way, and first way is complicated for some people and might confuse them. if someone would want to change something he saw on google, that is connected to system apps or other stuff"like systemui" i think rooting and copying the apk from its directory is best. btw thanks for ur concern about this, believe it or not for the first 7 month i posted this it posted in android wear, and no one was commenting, i made it with the xda app, i think it has alot of bugs.
Lord_of_Death said:
ur right however, not all system apps are present using the second way, and first way is complicated for some people and might confuse them. if someone would want to change something he saw on google, that is connected to system apps or other stuff"like systemui" i think rooting and copying the apk from its directory is best. btw thanks for ur concern about this, believe it or not for the first 7 month i posted this it posted in android wear, and no one was commenting, i made it with the xda app, i think it has alot of bugs.
Click to expand...
Click to collapse
IMO, if one is able to root the phone, then he will certainly not find any complication in pulling apk using first way.
shanrais said:
IMO, if one is able to root the phone, then he will certainly not find any complication in pulling apk using first way.
Click to expand...
Click to collapse
u might be right bro but rooting is only downloading a file and flashing it through odin.

Using Google map without gapp

How to run Google maps without play service on rooted device
First install microg full package from fdroid then download com.google.android.apps.maps.apk and com.google.android.gsf.login.apk package from apkmirror.com
Copy these 2 packages to /system/priv-app directory in their own directory /maps and /gfslogin. Reboot phone and then delete any Google account in system settings. Add your Google account go microg apk only after copying Google packages to /system/priv-app directory. Now you should be able to use google map
If any error enable signature spoofing in microg. I also recommend installing microg app component gsmcore, fakestore, and helper packages in separate directories in priv-app dir in /system

Flash/install .apk with TWRP on Galaxy S8 (need HELP asap)

Hello, I accidentally deleted Bixby and related files, after which my phone (Samsung Galaxy S8) crashed directly and got stuck in an infinite startup process (you see samsung logo all the time). Now I want to reinstall the apk's which I have deleted. These can be found under the following names:
com.samsung.android.bixby.wakeup
com.samsung.android.app.spage
com.samsung.android.app.routines
com.samsung.android.bixby.service
com.samsung.android.visionintelligence
com.samsung.android.bixby.agent
com.samsung.android.bixby.agent.dummy
com.samsung.android.bixbyvision.framework
It is extremely important to me that the data is kept, as important info/accounts are on my phone, so I don't want to factory reset it. Or is there a way to copy accounts saved on the device with TWRP to a PC or similar?
How can I install these (Bixby) files on my phone via TWRP?
Any help is appreciated. Thanks in advance!
Pack the mentioned APKs and an Updater script into an Update.ZIP, sign the Update.ZIP and install it via TWRP.
See also here:
Android Script Creator
Watch video how create update-script (update.zip)!
sites.google.com
jwoegerbauer said:
Pack the mentioned APKs and an Updater script into an Update.ZIP, sign the Update.ZIP and install it via TWRP.
See also here:
Android Script Creator
Watch video how create update-script (update.zip)!
sites.google.com
Click to expand...
Click to collapse
Ok, thanks I created the Update.zip now, but do I also need the md5sum file? And do you have an tutorial on how to sign and flash the Update.zip?
Would really appreciate it, if you can help.
Thanks in advance!
Look inside here:
How to Sign Update.zip Files and APK on Android devices [Free App]
If you’ve developed an application or a custom ROM for Android, then you first need to digitally sign the .apk or .zip files using a private key which is
webtrickz.com
jwoegerbauer said:
Look inside here:
How to Sign Update.zip Files and APK on Android devices [Free App]
If you’ve developed an application or a custom ROM for Android, then you first need to digitally sign the .apk or .zip files using a private key which is
webtrickz.com
Click to expand...
Click to collapse
Ok, thanks, so do I need to factory reset my phone first in order to sign it? Now I can't install and use apk, because at the boot process my phone stucks in infinite loading screen.
Hello,
I install flash renovate ice 7.0.0
My device S8 plus
In this rom i cant find private mode not in setting..
Plz help

Categories

Resources