[Guide] Improve / Fix Privacy Guard in Lineage - Nexus 5X General
Back in September 2017 Lineage made some changes to the privacy guard in attempts to clean it up. Unfortunately, this this sacrificed user privacy, and means you must go into the privacy guard multiple times. Until an app actually uses a feature it will not appear in the privacy guard unless it has been specifically declared. This also means by the time it appears in the privacy guard, it's already accessed your information. Second we all know how much fun setting up the privacy guard is after a clean install.
** This requires root access **
To fix this both of these issues, and give you access to options you didn't have before you can create a script. I do want to thank Gabriele for supplying the information to help with this.
The options you have available to set are:
COARSE_LOCATION
FINE_LOCATION
GPS
VIBRATE
READ_CONTACTS
WRITE_CONTACTS
READ_CALL_LOG
READ_CALENDAR
WRITE_CALENDAR
WIFI_SCAN
POST_NOTIFICATION
NEIGHBORING_CELLS
CALL_PHONE
READ_SMS
WRITE_SMS
RECEIVE_SMS
RECEIVE_EMERGECY_SMS
RECEIVE_MMS
RECEIVE_WAP_PUSH
SEND_SMS
READ_ICC_SMS
WRITE_ICC_SMS
WRITE_SETTINGS
SYSTEM_ALERT_WINDOW
ACCESS_NOTIFICATIONS
CAMERA
RECORD_AUDIO
PLAY_AUDIO
READ_CLIPBOARD
WRITE_CLIPBOARD
TAKE_MEDIA_BUTTONS
TAKE_AUDIO_FOCUS
AUDIO_MASTER_VOLUME
AUDIO_VOICE_VOLUME
AUDIO_RING_VOLUME
AUDIO_MEDIA_VOLUME
AUDIO_ALARM_VOLUME
AUDIO_NOTIFICATION_VOLUME
AUDIO_BLUETOOTH_VOLUME
WAKE_LOCK
MONITOR_LOCATION
MONITOR_HIGH_POWER_LOCATION
GET_USAGE_STATS
MUTE_MICROPHONE
TOAST_WINDOW
PROJECT_MEDIA
ACTIVATE_VPN
WRITE_WALLPAPER
ASSIST_STRUCTURE
ASSIST_SCREENSHOT
OP_READ_PHONE_STATE
ADD_VOICEMAIL
USE_SIP
PROCESS_OUTGOING_CALLS
USE_FINGERPRINT
BODY_SENSORS
READ_CELL_BROADCASTS
MOCK_LOCATION
READ_EXTERNAL_STORAGE
WRITE_EXTERNAL_STORAGE
TURN_ON_SCREEN
GET_ACCOUNTS
RUN_IN_BACKGROUND
WIFI_CHANGE
BLUETOOTH_CHANGE
BOOT_COMPLETED
NFC_CHANGE
DATA_CONNECT_CHANGE
SU
The first thing you need to do is enable to the local terminal app. This is under developer options, Local terminal.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This will place a terminal icon in your app drawer.
For all of these commands you need the actual program name. This piece of information is available in settings, under application information. In this example, it is com.adobe.reader.
To see what permissions an app has, in the terminal you need root permissions. So the first thing you need to do is type SU. If you never done this before grant the terminal root permissions. Then type:
appops get com.adobe.reader
Or whatever app you want. This should show you what permissions that particular application currently has.
Now onto the good stuff. Actually making a script, and adding in options to the privacy guard. Your script is just written in any basic text editor. However, make sure you save it with the ending .sh
It follows this template:
appops set <PACKAGE> COARSE_LOCATION <MODE>
appops set <PACKAGE> FINE_LOCATION <MODE>
appops set <PACKAGE> GPS <MODE>
appops set <PACKAGE> VIBRATE <MODE>
appops set <PACKAGE> READ_CONTACTS <MODE>
appops set <PACKAGE> WRITE_CONTACTS <MODE>
appops set <PACKAGE> READ_CALL_LOG <MODE>
appops set <PACKAGE> READ_CALENDAR <MODE>
appops set <PACKAGE> WRITE_CALENDAR <MODE>
appops set <PACKAGE> WIFI_SCAN <MODE>
appops set <PACKAGE> POST_NOTIFICATION <MODE>
appops set <PACKAGE> NEIGHBORING_CELLS <MODE>
appops set <PACKAGE> CALL_PHONE <MODE>
appops set <PACKAGE> READ_SMS <MODE>
appops set <PACKAGE> WRITE_SMS <MODE>
appops set <PACKAGE> RECEIVE_SMS <MODE>
appops set <PACKAGE> RECEIVE_EMERGECY_SMS <MODE>
appops set <PACKAGE> RECEIVE_MMS <MODE>
appops set <PACKAGE> RECEIVE_WAP_PUSH <MODE>
appops set <PACKAGE> SEND_SMS <MODE>
appops set <PACKAGE> READ_ICC_SMS <MODE>
appops set <PACKAGE> WRITE_ICC_SMS <MODE>
appops set <PACKAGE> WRITE_SETTINGS <MODE>
appops set <PACKAGE> SYSTEM_ALERT_WINDOW <MODE>
appops set <PACKAGE> ACCESS_NOTIFICATIONS <MODE>
appops set <PACKAGE> CAMERA <MODE>
appops set <PACKAGE> RECORD_AUDIO <MODE>
appops set <PACKAGE> PLAY_AUDIO <MODE>
appops set <PACKAGE> READ_CLIPBOARD <MODE>
appops set <PACKAGE> WRITE_CLIPBOARD <MODE>
appops set <PACKAGE> TAKE_MEDIA_BUTTONS <MODE>
appops set <PACKAGE> TAKE_AUDIO_FOCUS <MODE>
appops set <PACKAGE> AUDIO_MASTER_VOLUME <MODE>
appops set <PACKAGE> AUDIO_VOICE_VOLUME <MODE>
appops set <PACKAGE> AUDIO_RING_VOLUME <MODE>
appops set <PACKAGE> AUDIO_MEDIA_VOLUME <MODE>
appops set <PACKAGE> AUDIO_ALARM_VOLUME <MODE>
appops set <PACKAGE> AUDIO_NOTIFICATION_VOLUME <MODE>
appops set <PACKAGE> AUDIO_BLUETOOTH_VOLUME <MODE>
appops set <PACKAGE> WAKE_LOCK <MODE>
appops set <PACKAGE> MONITOR_LOCATION <MODE>
appops set <PACKAGE> MONITOR_HIGH_POWER_LOCATION <MODE>
appops set <PACKAGE> GET_USAGE_STATS <MODE>
appops set <PACKAGE> MUTE_MICROPHONE <MODE>
appops set <PACKAGE> TOAST_WINDOW <MODE>
appops set <PACKAGE> PROJECT_MEDIA <MODE>
appops set <PACKAGE> ACTIVATE_VPN <MODE>
appops set <PACKAGE> WRITE_WALLPAPER <MODE>
appops set <PACKAGE> ASSIST_STRUCTURE <MODE>
appops set <PACKAGE> ASSIST_SCREENSHOT <MODE>
appops set <PACKAGE> OP_READ_PHONE_STATE <MODE>
appops set <PACKAGE> ADD_VOICEMAIL <MODE>
appops set <PACKAGE> USE_SIP <MODE>
appops set <PACKAGE> PROCESS_OUTGOING_CALLS <MODE>
appops set <PACKAGE> USE_FINGERPRINT <MODE>
appops set <PACKAGE> BODY_SENSORS <MODE>
appops set <PACKAGE> READ_CELL_BROADCASTS <MODE>
appops set <PACKAGE> MOCK_LOCATION <MODE>
appops set <PACKAGE> READ_EXTERNAL_STORAGE <MODE>
appops set <PACKAGE> WRITE_EXTERNAL_STORAGE <MODE>
appops set <PACKAGE> TURN_ON_SCREEN <MODE>
appops set <PACKAGE> GET_ACCOUNTS <MODE>
appops set <PACKAGE> RUN_IN_BACKGROUND <MODE>
appops set <PACKAGE> WIFI_CHANGE <MODE>
appops set <PACKAGE> BLUETOOTH_CHANGE <MODE>
appops set <PACKAGE> BOOT_COMPLETED <MODE>
appops set <PACKAGE> NFC_CHANGE <MODE>
appops set <PACKAGE> DATA_CONNECT_CHANGE <MODE>
appops set <PACKAGE> SU <MODE>
< PACKAGE > Gets replaced with the program name. < MODE > Gets replaced with ignore, allow, or ask. The " # " is a comment. So here is an example from my script file:
#Gello Browser
appops set org.cyanogenmod.gello.browser COARSE_LOCATION ignore
appops set org.cyanogenmod.gello.browser FINE_LOCATION ignore
appops set org.cyanogenmod.gello.browser GPS ignore
appops set org.cyanogenmod.gello.browser VIBRATE ignore
appops set org.cyanogenmod.gello.browser READ_CONTACTS ignore
appops set org.cyanogenmod.gello.browser WRITE_CONTACTS ignore
appops set org.cyanogenmod.gello.browser READ_CALL_LOG ignore
appops set org.cyanogenmod.gello.browser READ_CALENDAR ignore
appops set org.cyanogenmod.gello.browser WRITE_CALENDAR ignore
appops set org.cyanogenmod.gello.browser WIFI_SCAN ignore
appops set org.cyanogenmod.gello.browser POST_NOTIFICATION allow
appops set org.cyanogenmod.gello.browser NEIGHBORING_CELLS ignore
appops set org.cyanogenmod.gello.browser CALL_PHONE ignore
appops set org.cyanogenmod.gello.browser READ_SMS ignore
appops set org.cyanogenmod.gello.browser WRITE_SMS ignore
appops set org.cyanogenmod.gello.browser RECEIVE_SMS ignore
appops set org.cyanogenmod.gello.browser RECEIVE_EMERGECY_SMS ignore
appops set org.cyanogenmod.gello.browser RECEIVE_MMS ignore
appops set org.cyanogenmod.gello.browser RECEIVE_WAP_PUSH ignore
appops set org.cyanogenmod.gello.browser SEND_SMS ignore
appops set org.cyanogenmod.gello.browser READ_ICC_SMS ignore
appops set org.cyanogenmod.gello.browser WRITE_ICC_SMS ignore
appops set org.cyanogenmod.gello.browser WRITE_SETTINGS ignore
appops set org.cyanogenmod.gello.browser SYSTEM_ALERT_WINDOW ignore
appops set org.cyanogenmod.gello.browser ACCESS_NOTIFICATIONS allow
appops set org.cyanogenmod.gello.browser CAMERA ignore
appops set org.cyanogenmod.gello.browser RECORD_AUDIO ignore
appops set org.cyanogenmod.gello.browser PLAY_AUDIO allow
appops set org.cyanogenmod.gello.browser READ_CLIPBOARD allow
appops set org.cyanogenmod.gello.browser WRITE_CLIPBOARD allow
appops set org.cyanogenmod.gello.browser TAKE_MEDIA_BUTTONS ignore
appops set org.cyanogenmod.gello.browser TAKE_AUDIO_FOCUS ignore
appops set org.cyanogenmod.gello.browser AUDIO_MASTER_VOLUME allow
appops set org.cyanogenmod.gello.browser AUDIO_VOICE_VOLUME ask
appops set org.cyanogenmod.gello.browser AUDIO_RING_VOLUME ignore
appops set org.cyanogenmod.gello.browser AUDIO_MEDIA_VOLUME ignore
appops set org.cyanogenmod.gello.browser AUDIO_ALARM_VOLUME ignore
appops set org.cyanogenmod.gello.browser AUDIO_NOTIFICATION_VOLUME ask
appops set org.cyanogenmod.gello.browser AUDIO_BLUETOOTH_VOLUME ask
appops set org.cyanogenmod.gello.browser WAKE_LOCK allow
appops set org.cyanogenmod.gello.browser MONITOR_LOCATION ignore
appops set org.cyanogenmod.gello.browser MONITOR_HIGH_POWER_LOCATION ignore
appops set org.cyanogenmod.gello.browser GET_USAGE_STATS ignore
appops set org.cyanogenmod.gello.browser MUTE_MICROPHONE ignore
appops set org.cyanogenmod.gello.browser TOAST_WINDOW allow
appops set org.cyanogenmod.gello.browser PROJECT_MEDIA ignore
appops set org.cyanogenmod.gello.browser ACTIVATE_VPN allow
appops set org.cyanogenmod.gello.browser WRITE_WALLPAPER ignore
appops set org.cyanogenmod.gello.browser ASSIST_STRUCTURE ignore
appops set org.cyanogenmod.gello.browser ASSIST_SCREENSHOT ask
appops set org.cyanogenmod.gello.browser OP_READ_PHONE_STATE ignore
appops set org.cyanogenmod.gello.browser ADD_VOICEMAIL ignore
appops set org.cyanogenmod.gello.browser USE_SIP ignore
appops set org.cyanogenmod.gello.browser PROCESS_OUTGOING_CALLS ignore
appops set org.cyanogenmod.gello.browser USE_FINGERPRINT ignore
appops set org.cyanogenmod.gello.browser BODY_SENSORS ignore
appops set org.cyanogenmod.gello.browser READ_CELL_BROADCASTS ignore
appops set org.cyanogenmod.gello.browser MOCK_LOCATION ignore
appops set org.cyanogenmod.gello.browser READ_EXTERNAL_STORAGE allow
appops set org.cyanogenmod.gello.browser WRITE_EXTERNAL_STORAGE allow
appops set org.cyanogenmod.gello.browser TURN_ON_SCREEN ignore
appops set org.cyanogenmod.gello.browser GET_ACCOUNTS ignore
appops set org.cyanogenmod.gello.browser RUN_IN_BACKGROUND allow
appops set org.cyanogenmod.gello.browser WIFI_CHANGE ignore
appops set org.cyanogenmod.gello.browser BLUETOOTH_CHANGE ignore
appops set org.cyanogenmod.gello.browser BOOT_COMPLETED ignore
appops set org.cyanogenmod.gello.browser NFC_CHANGE ignore
appops set org.cyanogenmod.gello.browser DATA_CONNECT_CHANGE ignore
appops set org.cyanogenmod.gello.browser SU ignore
The last line of your script should be:
appops write-settings
Now realize you don't have to use all those options up there. That is every option available. Not every app will use them. I've have not had any errors from setting options from apps that don't exists, so I've chosen to create one script for all my devices.
Once you get done with the script, use the terminal to run it:
So for those that aren't familiar with the terminal, the firs thing that you need to do is gain root privileges, by typing, su (as above). The "ls" command will list everything in the current directory, so you can figure out where you are. For simplicity sake, I just placed the script in the root directory of the internal memory. Note this directory is called sdcard, even though your device may not be using an actual SDCard. CD sdcard should look familiar to the windows users, this is just switching directories, to the sdcard folder, which again is actually internal memory on most devices. Finally, sh scriptname.sh will run the script.
Give it time, when you run the script it's not complete until the terminal goes to the next line. Mine took almost a minute. The biggest thing I noticed is you then have to go back to the privacy guard and re-enable it for every app, as it will be disabled. However all the options will now be what you chose. I don't know why it turns it off, but turn it back on is easier than manually changing all the settings.
You'll also notice now you have all sorts of new options in privacy guard for all the apps. Again though, most of these options won't ever be used by many of these apps.
For convenience I've attached an example file to this post. You will have to change the .txt extension to .sh, however it hopefully will give you an idea of what you can do with this.
So some background on why this was needed.
This is a screenshot of the September 11 nightly privacy guard options, for Angry Birds by default:
On the October 2 nightly with the updates, you'll notice most everything is gone when you first install everything:
Then as the application uses or requests new things, they show in privacy guard, however not in a denied state like the screenshot below shows (I've already changed those settings). See the same screenshot from the October 2 nightly, after the application has been opened and used:
This means you must go into the privacy guard multiple times to see what options have appeared which is less than ideal.
Hi, do you know how can I install 'Privacy Guard' app in a stock or custom rom for any device?
Thank you so much for sharing this dude !
I just want to also share that you can now set every single permission controlled by AppOpsService through a nice GUI thanks to this sweet app : AppOpsX
https://f-droid.org/app/com.zzzmode.appopsx
Just beware that :
1/ permissions are only added when it's already been asked at least once
2/ auto turn off permissions for newly installed app isn't working for me (from Fdroid and Aurora)
For the rest it's working like a charm.
Though I would suggest combining this with Bouncer (unfortunately not open source) : using AppOppsX for definitely turning off every permissions not necessary, and then Bouncer to temporarily allow the few which are truly necessary for the app to function and automatically reverting it to the ignore state afterwards
Hope it will help some of you guys stopping by here still looking for a solution !
Oh, what do I see? Isn't it a little smile on your face?
Thank you, wholeheartedly. @Voxitme
Is there any chance to improve Privacy guard or Lineage, if someone must, by wiping every single O of this awful implementation?
R.i.p. CyanogenMod :crying:
PS
Voxitme, how much cost this fabulous invention?
Is it true that I can install every single thing trough recovery and have the result afterwards really on my device?
This is hokum.Better Privacy guard activating.
You see what I did here..
UsPdSr said:
Thank you, wholeheartedly. @Voxitmee
Is there any chance to improve Privacy guard or Lineage, if someone must, by wiping every single O of this awful implementation?
R.i.p. CyanogenMod :crying:
PS
Voxitme, how much cost this fabulous invention?
Is it true that I can install every single thing trough recovery and have the result afterwards really on my device?
This is hokum.Better Privacy guard activating.
You see what I did here..
Click to expand...
Click to collapse
Hi @UsPdSr,
I'm not at the devolepper of AppOpsX, hence don't really know how much time he spent working on this.
Hope we'll have a better way to manage permissions soon
Voxitme said:
Hi @UsPdSr,
I'm not at the devolepper of AppOpsX, hence don't really know how much time he spent working on this.
Hope we'll have a better way to manage permissions soon
Click to expand...
Click to collapse
Joke beside.
I just saw that the pro-version(€ 1,89) was deprecated for some reason.
If the owner didn't change suddenly it's certainly a better choice, then..oh, I forgot the name..hmm
1y later, 2 versions, does this govern bluetooth access as well?
Aloha,
Very informative post about terminal usage and using .sh scripts.
My HTC One M9 has Lineage OS 16 from @Claymore1297, collection of ROMs for said device. It will connect to bluetooth in a car or truck in my case, but it won't play music. Only make calls for hands free operation. An improvement from at least v14 release notes. The car display says "Bluetooth Device is locked," when I push the media button to play music from from phone. I thought this might be the Google privacy, but the app info when I click on the i icon on the notice says it is the Android System app . It still occurs after disabling the Google protection in settings. So I was wondering if this also is the same case for bluetooth. Basically just another app technically for transferring data.
Mahalo Thanks,
William 飞鰞鰂
Related
Antutu Performance Benchmarks
Im curious to see what others have done to improve the general performance of their Note 4's. Seeing as Quadrant is rediculously out of day, Im using Antutu. Basically all Ive done to mine so far, is stop/block 141 apps/services, and changed a couple settings in Developer Options. Share some tips/tricks you have learned to improve the system overall! These settings are what I changed from default. Blocked Packages Code: APK File Package Name --------------------------------------------------------------- --------------------------------------------------------------- 3DTourViewer_WQHD_lightTheme.apk com.sec.android.app.tourviewer AllShareCastPlayer.apk com.sec.allsharecastplayer AllshareFileShare.apk com.samsung.android.allshare.service.fileshare AllshareFileShareClient.apk com.samsung.android.app.FileShareClient AllshareFileShareServer.apk com.samsung.android.app.FileShareServer AllshareMediaServer.apk com.samsung.android.nearby.mediaserver AllshareMediaShare.apk com.samsung.android.allshare.service.mediashare Amazon_Appstore.apk com.amazon.venezia Amazon_Audible.apk com.audible.application Amazon_IMDB.apk com.imdb.mobile Amazon_MP3.apk com.amazon.mp3 Amazon_Shopping.apk com.amazon.mShop.android Amazon_Widget.apk com.amazon.fv AntHalService.apk com.dsi.ant.server ANTPlusPlugins.apk com.dsi.ant.plugins.antplus ANTPlusTest.apk com.dsi.ant.sample.acquirechannels ANTRadioService.apk com.dsi.ant.service.socket AVS.apk com.verizon.vzwavs base.apk com.google.android.googlequicksearchbox BasicDreams.apk com.android.dreams.basic Blurb.apk com.blurb.checkout Books.apk com.google.android.apps.books Bridge.apk com.sec.knox.bridge canid.apk com.cequint.ecid ChocoEUKor.apk com.monotype.android.font.chococooky Cmas.apk com.sec.android.app.cmas ColorBlind.apk com.samsung.android.app.colorblind com.customermobile.preload.vzw.apk com.customermobile.preload.vzw com.gotv.nflgamecenter.us.lite.apk com.gotv.nflgamecenter.us.lite ContainerAgent2.apk com.sec.knox.containeragent2 CoolEUKor.apk com.monotype.android.font.cooljazz CSC.apk com.samsung.sec.android.application.csc DigitalClockEasy.apk com.sec.android.widgetapp.digitalclockeasy DirectShareManager.apk com.sec.android.directshare Drive.apk com.google.android.apps.docs DriveLink.apk com.sec.android.automotive.drivelink DriveLinkRemote.apk com.sec.android.app.automotive.carmoderemote DualClockDigital.apk com.sec.android.widgetapp.dualclockdigital DumpCollector.apk com.samsung.carrier.logcollector EasyLauncher2.apk com.sec.android.app.easylauncher EasymodeContactsWidget_RECT.apk com.sec.android.widgetapp.easymodecontactswidget EasyOneHand2.apk com.sec.android.easyonehand EasySettings.apk com.sec.android.easysettings EasySidePanel.apk com.sec.android.easysidepanel EdmVpnServices.apk com.sec.enterprise.mdm.vpn ELMAgent.apk com.sec.esdk.elm EmergencyLauncher.apk com.sec.android.emergencylauncher EmergencyModeService.apk com.sec.android.emergencymode.service EmergencyProvider.apk com.sec.android.provider.emergencymode FamilyBaseCom.apk com.verizon.familybase.companion Flipboard.apk flipboard.app FlipboardBriefing.apk flipboard.boxer.app FmmDM.apk com.fmm.dm FmmDS.apk com.fmm.ds GalaxyGiftsWidget_BannerStyle_common.apk com.sec.android.widgetapp.galaxygifts GearManagerStub.apk com.samsung.android.app.watchmanagerstub GoogleFeedback.apk com.google.android.feedback HancomOfficeEditor.apk com.hancom.office.editor Hearingdro_L.apk com.sec.hearingadjust IgniteVerizon.apk com.LogiaGroup.LogiaDeck ImsLogger+.apk com.sec.imslogger InstagramVZW.apk com.instagram.android InteractiveKeyguardTutorial.apk com.sec.android.app.interactivekeyguardtutorial InteractiveTutorial.apk com.samsung.helphub IPsecService.apk com.ipsec.service KeyguardWallpaperUpdator.apk com.samsung.android.keyguardwallpaperupdator Kies.apk com.sec.android.Kies Kindle.apk com.amazon.kindle KLMSAgent.apk com.samsung.klmsagent KnoxAttestationAgent.apk com.sec.enterprise.knox.attestation KnoxSetupWizardClient.apk com.sec.knox.knoxsetupwizardclient KnoxShortcuts.apk com.sec.knox.shortcutsms KnoxSwitcher.apk com.sec.knox.switcher KnoxVerifier.apk com.sec.knox.packageverifier LLKAgent.apk com.verizon.llkagent LocalFOTA.apk com.LocalFota LocationWidget.apk com.sec.android.widgetapp.locationwidget MILK_US.apk com.samsung.mdl.radio MirrorLink.apk com.samsung.android.app.mirrorlink MobilePrintSvc_Samsung.apk com.sec.app.samsungprintservice MobileTrackerEngineTwo.apk com.sec.android.app.mt MusicCommonUtility.apk com.sec.android.mmapp MyInfozone.apk com.vzw.hss.widgets.infozone Newsstand.apk com.google.android.apps.magazines NoiseField.apk com.android.noisefield PageBuddyNotiSvc2.apk com.sec.android.pagebuddynotisvc PCWClientS18.apk com.sec.pcw.device PENUP.apk com.sec.penup PhaseBeam.apk com.android.phasebeam PhotoTable.apk com.android.dreams.phototable PlusOne.apk com.google.android.apps.plus PowerSharing.apk com.samsung.android.app.powersharing QAS_DVC_MSP_VZW.apk com.qualcomm.ltebc_vzw QuickConnect.apk com.samsung.android.sconnect RCPComponents.apk com.samsung.knox.rcp.components RoseEUKor.apk com.monotype.android.font.rosemary SafetyInformation.apk com.samsung.safetyinformation SamsungAppsWidget_BannerStyle_common_transparency.apk com.sec.android.widgetapp.samsungapps SamsungBilling.apk com.sec.android.app.billing SamsungMusic_20.apk com.sec.android.app.music SamsungMusicRemoteController.apk com.sec.android.app.musiccontroller SamsungWidget_ActiveApplication.apk com.sec.android.widgetapp.activeapplicationwidget SapaAudioConnectionService.apk com.samsung.android.sdk.professionalaudio.app.audioconnectionservice SapaMonitor.apk com.samsung.android.sdk.professionalaudio.utility.jammonitor SBrowser.apk com.sec.android.app.sbrowser SBrowserTry.apk com.sec.android.app.sbrowsertry sCloudDataRelay.apk com.samsung.android.scloud.auth sCloudDataSync.apk com.samsung.android.scloud.sync sCloudQuotaApp.apk com.samsung.android.scloud.quota sCloudSyncCalendar.apk com.samsung.android.scloud.proxy.calendar sCloudSyncMemo.apk com.samsung.android.scloud.proxy.memo sCloudSyncSBrowser.apk com.samsung.android.scloud.proxy.sbrowser SDM.apk com.samsung.sdm SecMyFiles2014.apk com.sec.android.app.myfiles SecSafetyAssurance.apk com.sec.android.app.safetyassurance SecurityLogAgent.apk com.samsung.android.securitylogagent SFinder.apk com.samsung.android.app.galaxyfinder SilentLog.apk com.sec.modem.settings Slacker.apk com.slacker.radio SPG.apk com.samsung.spg SPlannerWidget_OS_UPG_Transparent.apk com.sec.android.widgetapp.SPlannerAppWidget SPrintSpooler.apk com.android.printspooler S-Voice_Android_phone.apk com.vlingo.midas SwitchKnoxI.apk com.sec.knox.switchknoxI SwitchKnoxII.apk com.sec.knox.switchknoxII Swype.apk com.nuance.swype.input Tag.apk com.android.apps.tag talkback.apk com.google.android.marvin.talkback TaskManager.apk com.sec.android.app.taskmanager TouchWizHome.apk com.sec.android.app.launcher UniversalMDMClient.apk com.sec.enterprise.knox.cloudmdm.smdms Videos.apk com.google.android.videos VMS.apk com.asurion.android.verizon.vms VoiceNote4T.apk com.sec.android.app.voicenote VpnClient.apk com.ipsec.vpnclient VpnDialogs.apk com.android.vpndialogs VRSetupWizardStub.apk com.samsung.android.app.vrsetupwizardstub VzCloud.apk com.vcast.mediamanager VZMessages.apk com.verizon.messaging.vzmsgs VZNavigator.apk com.vznavigator.Generic YahooLiveWeather.apk com.yahoo.mobile.client.android.liveweather My list of tweaks (what I could remember at least): * Settings > More Networks > Download Booster (OFF) * Settings > More Networks > Mobile Networks > Network Mode (LTE/CDMA) * Settings > Display > Screen Timeout (1 minute) * Settings > Display > Screen Mode (Adaptive Display) * Settings > Display > Daydream (OFF) * Settings > Display > LED Indicator (OFF) * Settings > Display > Touch Key Light Duration (1.5 seconds) * Settings > Power Saving > Power saving mode (ON) * Settings > Location > Mode (Power saving) * Settings > S-Pen > Air Command (ON) * Settings > S-Pen > Air View (ON) * Settings > S-Pen > Pointer (OFF) * Settings > S-Pen > Direct Pen Input (OFF) * Settings > S-Pen > S Pen Alerts (ON) * Settings > S-Pen > Turn Off Pen Detection (ON) * Settings > S-Pen > Detachment Options (None) * Settings > S-Pen > Attach/Detach Vibration (OFF) * Settings > Developer Options > Buffer Size For Logging (64 KB) * Settings > Developer Options > Window Animation Scale (0.5x) * Settings > Developer Options > Transition Animation Scale (0.5x) * Settings > Developer Options > Animator Duration Scale (0.5x) * Settings > Developer Options > Force GPU Rendering (ON) * Settings > Developer Options > Turn Off Hardware Overlays (ON)
Here's mine: running LP 5.0.1 build: OF1 Sent from my SM-N910V using Tapatalk
After doing mine I'm at 47338 and I have a ton turned off with Debloater and Greenify is running . Please list some basic tips that mayby I missed besides- Power saving- only have screen output on Dev OP- Animations Thanks
pbman1953 said: After doing mine I'm at 47338 and I have a ton turned off with Debloater and Greenify is running . Please list some basic tips that mayby I missed besides- Power saving- only have screen output on Dev OP- Animations Thanks Click to expand... Click to collapse Your on KK. I probably should have made that clear in the OP. Also state which system your running. I'll add my tips in the OP in a couple minutes.
chevycam94 said: Your on KK. I probably should have made that clear in the OP. Also state which system your running. I'll add my tips in the OP in a couple minutes. Click to expand... Click to collapse Actually running 5.0.1, and I did notice better performance after the update last week
Running greenify will slow the system down & use battery. It's redundant and unnecessary if you are using the debloater to disabled apps & system commands. Sent from my SM-N910V using Tapatalk
ok, Greenify, off Thanks
I didn't know greenify became non-root. That's why I assumed you were on KK. I've never used it personally
chevycam94 said: I didn't know greenify became non-root. That's why I assumed you were on KK. I've never used it personally Click to expand... Click to collapse I've had since my S4 and now Note 4. Located in Settings/Accessibility
outcasted2003 said: Running greenify will slow the system down & use battery. It's redundant and unnecessary if you are using the debloater to disabled apps & system commands. Sent from my SM-N910V using Tapatalk Click to expand... Click to collapse Is there a list of the files yet for Debloater?
I have googled everything available under debloater and disabled everything that I don't use or need. The basics of what is safe to disable is listed in one of these threads. Sent from my SM-N910V using Tapatalk
I kinda think there's something to debloating and phone speed improvement. I'm using the latest Morom rom. It came already debloated. My Antutu score is real good. Sent from my SM-N910V DE
This is starting to look better!
I can't seem to crack the 50,000 barrier. Just curious what launcher you guys are using. I use Nova. Not sure if that has a bearing but wanted to ask
pbman1953 said: I can't seem to crack the 50,000 barrier. Just curious what launcher you guys are using. I use Nova. Not sure if that has a bearing but wanted to ask Click to expand... Click to collapse I use Holo Launcher HD. I've tried Nova. I think Holo is faster. There's no more development on it though. But it's still faster than anything else I've used. I can't guarantee it'll be that way for you. Sent from my SM-N910V DE
Just installed Holo HD, my performance went backwards- 42676
pbman1953 said: Just installed Holo HD, my performance went backwards- 42676 Click to expand... Click to collapse Hmmm, well I sure don't know what's up with that. Sorry. [emoji17] Sent from my SM-N910V DE
I use the stock TouchWiz launcher. No third party launchers here. Im not sure a third party launcher is going to be any faster.
chevycam94 said: I use the stock TouchWiz launcher. No third party launchers here. Im not sure a third party launcher is going to be any faster. Click to expand... Click to collapse I have always disliked TW Launcher because there are no settings for it. I can set up Holo just like I want it. I use a 9x7 grid and disable drawer animations. I set scrolling speeds at 100% and can't see my screens move because it's so fast. I disable animations system wide. I think they use extra power just to slow my phone down and I don't like looking at them. I don't really see why they would affect Antutu scores though. I do use Greenify and stop 27 out of 52 apps from running in the background. Morom comes pretty well debloated. I don't know that anything I mentioned here would affect a benchmark. I just like to see my phone running fast. I do get good Antutu scores though. Sent from my SM-N910V DE
stueycaster said: I have always disliked TW Launcher because there are no settings for it. I can set up Holo just like I want it. I use a 9x7 grid and disable drawer animations. I set scrolling speeds at 100% and can't see my screens move because it's so fast. I disable animations system wide. I think they use extra power just to slow my phone down and I don't like looking at them. I don't really see why they would affect Antutu scores though. I do use Greenify and stop 27 out of 52 apps from running in the background. Morom comes pretty well debloated. I don't know that anything I mentioned here would affect a benchmark. I just like to see my phone running fast. I do get good Antutu scores though. Sent from my SM-N910V DE Click to expand... Click to collapse Nice spec! I do have launcher question. I've had Nova for years and now. From forum suggestion, I tried Holo HD. Actually not bad and I don't see it in the apps running list. I noticed that after the the last test that Nova was still running, so I turned it off. After that I'm at 46653. Should I uninstall nova? I have set all animations to 0 with in setting/developer . Are there more settings somewhere? Thanks
AppOps
Would this be the famous AppOps? See attachments. If so, should I not be able to access it through an emulator? Code: [email protected]:/system/bin $ appops usage: appops set [--user <USER_ID>] <PACKAGE> <OP> <MODE> appops get [--user <USER_ID>] <PACKAGE> [<OP>] appops reset [--user <USER_ID>] [<PACKAGE>] <PACKAGE> an Android package name. <OP> an AppOps operation. <MODE> one of allow, ignore, deny, or default <USER_ID> the user id under which the package is installed. If --user is not specified, the current user is assumed. [email protected]:/system/bin $
DragonFire1024 said: Would this be the famous AppOps? See attachments. If so, should I not be able to access it through an emulator? Click to expand... Click to collapse Oops wrong attachment
Also this: all from /system/bin Code: # Script to start "appwidget" on the device, which has a very rudimentary shell. base=/system export CLASSPATH=$base/framework/appops.jar exec app_process $base/bin com.android.commands.appops.AppOpsCommand "[email protected]"
/system/bin/appwidget: Code: # Script to start "appwidget" on the device, which has a very rudimentary shell. base=/system export CLASSPATH=$base/framework/appwidget.jar exec app_process $base/bin com.android.commands.appwidget.AppWidget "[email protected]" /system/bin/appops: Code: # Script to start "appwidget" on the device, which has a very rudimentary shell. base=/system export CLASSPATH=$base/framework/appops.jar exec app_process $base/bin com.android.commands.appops.AppOpsCommand "[email protected]" Terminal Emulator: Code: [email protected]:/ $ appops usage: appops set [--user <USER_ID>] <PACKAGE> <OP> <MODE> appops get [--user <USER_ID>] <PACKAGE> [<OP>] appops reset [--user <USER_ID>] [<PACKAGE>] <PACKAGE> an Android package name. <OP> an AppOps operation. <MODE> one of allow, ignore, deny, or default <USER_ID> the user id under which the package is installed. If --user is not specified, the current user is assumed. [email protected]:/ $ I tried to run the scripts, which appear to work, but no widget appears and emulator closes after I run the widget script. I managed to get a minimized screen cap, posted below.
ADB Shell Settings "List" Option Missing in Fire OS 5.6.2.0
I never tried this with a Fire OS other than 5.6.2.0, but when I run the "adb shell settings list system" command, it fails with the following response: usage: settings [--user NUM] get namespace key settings [--user NUM] put namespace key value settings [--user NUM] delete namespace key The "list" option is missing; just get, put and delete are available. Is this something Amazon did on 5.6.2.0 or has this been around awhile? And is there a fix/work-around?
after using PDP, GOS bugged. Can i restore it?
So i wanted to remove GOS to see how the performance would improve. I downloaded package disabler pro and from the list, chose to disable game optimizing service. But then something weird happened. GOS disappeared from both PDP's app list and disabled list. It is nowhere to be found. (and it seems to be active since my gaming performance/ heat didnt change) So i decided to enable it and disable again. When i tried to update GOS from galaxy store, it downloads the app, it waits a bit, then i have to redownload it, its stuck in a loop and it doesnt install the app. I tried to enable it from ADB, down below is what it showed(they are in order). After all that i tried to download it again from gaalxy store but its still stuck in loop, doesnt really install the app. GOS is still visible in apps in settings by the way but if you click on it and try to change anything in it, it says that it couldnt find the app the do this action. Is there any way i can enable it again? beyond2:/ $ pm uninstall -k --user 0 com.samsung.android.game.gos Failure [not installed for 0] 255|beyond2:/ $ pm install --user 0 com.samsung.android.game.gos Error: Unable to open file: com.samsung.android.game.gos Consider using a file under /data/local/tmp/ Error: Can't open file: com.samsung.android.game.gos Exception occurred while executing: java.lang.IllegalArgumentException: Error: Can't open file: com.samsung.android.game.gos at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:461) at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:1060) at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:169) at android.os.ShellCommand.exec(ShellCommand.java:104) at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:27078) at android.os.Binder.shellCommand(Binder.java:916) at android.os.Binder.onTransact(Binder.java:790) at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:5433) at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:5144) at android.os.Binder.execTransactInternal(Binder.java:1056) at android.os.Binder.execTransact(Binder.java:1029) 255|beyond2:/ $ pm enable --user 0 com.samsung.android.game.gos Package com.samsung.android.game.gos new state: enabled beyond2:/ $ pm disable --user 0 com.samsung.android.game.gos Security exception: Shell cannot change component state for com.samsung.android.game.gos/null to 2 java.lang.SecurityException: Shell cannot change component state for com.samsung.android.game.gos/null to 2 at com.android.server.pm.PackageManagerService.setEnabledSetting(PackageManagerService.java:26199) at com.android.server.pm.PackageManagerService.setApplicationEnabledSetting(PackageManagerService.java:25963) at com.android.server.pm.PackageManagerShellCommand.runSetEnabledSetting(PackageManagerShellCommand.java:1826) at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:212) at android.os.ShellCommand.exec(ShellCommand.java:104) at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:27078) at android.os.Binder.shellCommand(Binder.java:916) at android.os.Binder.onTransact(Binder.java:790) at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:5433) at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:5144) at android.os.Binder.execTransactInternal(Binder.java:1056) at android.os.Binder.execTransact(Binder.java:1029)
did factory reset problem solved
Default Launcher
I downloaded the Nova launcher, but it is not allowing it to be set as default. How can this be fixed? TIA
I set Emerald Launcher as my default, using the following pair of commands: adb shell pm disable-user --user 0 com.amazon.firelauncher adb shell pm set-home-activity ru.henridellal.emerald/.Apps Presumably, for Nova Launcher, you just need to substitute the set-home-activity "package/activity", i.e. adb shell pm set-home-activity com.teslacoilsw.launcher/.NovaLauncher