[SCRIPT][GUIDE] Reduce google play services battery drain [8.3.0.0] - G2 General

These past days I've been plagued with Google Play Services draining my battery, especially using the location services. Using Privacy Guard I could clearly see the absurd amount of times my location was requested, even with the location services OFF.
So I went digging and you wouldn't believe the amount of services and providers that google uses to enforce their location track onto the phone.
I am VERY selective with my startup apps, ranging from greenify to swiftkey and adaway, but nothing that explicitly requires any location services whatsoever. I know whatsapp requests your location, but only when you open it. At startup, with very few and selective apps starting up, NOTHING should require your location (having location services OFF), unless there's something that actively tries to monitor where you are (IE: watchdog service, locate my phone, etc).
By default, I had a LOT of requests from the play services for my location CONSTANTLY. I also had 6 or 7 services running in my phone associated with gapps (configfetch service, dispatchingservice, analytics, geolocation, etc).
By disabling all of what I disabled, I managed to decrease the amount of location requests (and therefore wakelocks and idle battery consumption) while still retaining basic functionality like being able to use google maps.
I effectively disabled GOOGLE LOCATION REPORTING, which IS ALWAYS RUNNING IN THE BACKGROUND and CAN NOT BE DISABLED unless you break the mechanism. How do I know? I used Greenify + Donation, and checked "Reveal hidden sync", then I went into accounts-> Google and BAM, location reporting was ALWAYS IN-SYNC, even if you disable it, after a reboot it would come back.
This is XDA so let's get technical, but first, proof:
{
"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"
}
Automatic method:
1 - If you're using SuperSU, go into settings -> SuperSU -> Settings -> Enable SU during boot
2 - If you're unsure your rom has init.d support, try Universal init.d. If you're NOT using a nexus please let us know if it works (I'm looking at you touchwiz users )
3 - Go to the bottom of this post. Download either FixGS.zip or FixGSExtended.zip, flash through your recovery.
4 - After your next reboot it will take a while (couple of minutes tops, depends on eMMC speed, encryption, etc) to disable all the services. Go back into the SuperSU settings and DISABLE SU during boot.
5 -That's it, if you need to revert either script, a _REVERT script is also attached at the bottom of the post.
FixGS has all the essential location services enabled. FixGSExtended furthermore disables all the items noted below, under "Additional stuff to remove" in the manual method.
Manual method:
1 - Go to the bottom of this post
2 - Download either FixGS.zip or FixGSExtended.zip, extract the .sh file from it.
3 - Place it in /system/etc/init.d/ and give it 755 permissions (allow all execute and read boxes, only allow owner to write)
4 - If you're unsure your rom has init.d support, try Universal init.d.
4b - I use terminal emulator for Android to execute the script. Simply write
Code:
su
./etc/init.d/FixGS.sh
or
./etc/init.d/FixGSExtended.sh
5 -That's it, if you need to revert either script, a _REVERT script is also attached at the bottom of the post.

Update 10:
Disabled the following:
Code:
[Activities]
N/A
[Providers]
N/A
[Receivers]
N/A
[Services]
com.google.android.location.internal.AnalyticsUploadIntentService
com.google.android.gms/.kids.chimera.LongRunningServiceProxy
Deleted/obsolete:
Code:
[Activities]
com.google.android.location.copresence.settings.ProximitySettingActivity
nearby.sharing.sharesheet.ShareHintActivity
nearby.sharing.sharesheet.ShareActivity
nearby.sharing.settings.TrustDeviceDialogActivity
nearby.sharing.settings.OptInActivity
nearby.sharing.AppNotSupportedDialogActivity
nearby.sharing.AppNotInstalledDialogActivity
[Providers]
N/A
[Receivers]
common.status.StatusServiceLauncherBroadcastReceiver
config.ConfigFetchService$SecretCodeReceiver
config.ConfigFetchService$PackageReceiver
car.BluetoothReceiver
nearby.sharing.NearbySharingBroadcastReceiver
nearby.sharing.ui.UiReceiver
nearby.sharing.GcmBroadcastReceiver
[Services]
common.status.StatusService
com.google.android.location.internal.AnalyticsUploadService
com.google.android.location.copresence.service.ProximitySettingInjectorService
config.ConfigFetchService
com.google.android.libraries.nearby.direct.service.NearbyDirectService
com.google.location.nearby.direct.service.NearbyDirectService
kids.chimera.UserSwitchListenerServiceProxy
Previous updates:
Update 1:
Code:
com.google.android.location.internal.PendingIntentCallbackService
is necessary for High-precision GPS positioning. This allows much faster GPS positioning (under 5 seconds) or in areas where GPS is unavailable, but wifi/data is.
Update 2:
Code:
com.google.android.location.internal.GoogleLocationManagerService
is not necessary either for high-precision GPS.
Update 3:
Code:
gcm.http.GoogleHttpService
, while possible to disable, gave me logcat spam about Google not being able to connect to ads servers. If it doesn't bother you, go ahead and disable it as well.
Update 4: It seems that google maps was sometimes left restarting on the UploadService, so disabling it in google maps made sense. Now it's no longer stuck. Not longer necessary
Update 5: Updated the guide, both visually and content-wise. I hand-wrote all the names of the items, that way you can always double check what's missing and what's not working.
Code:
[Activities][b]
com.google.android.location.network.ConfirmAlertActivity
[/b]
[Providers][b]
N/A
[/b]
[Receivers][b]
com.google.android.location.network.LocationProviderChangeReceiver
[/b]
[Services][b]
com.google.android.location.util.PreferenceService
[/b]
These allow a fully functioning location button (it asks whether you want to allow google to use the wireless networks to determine the position). It also un-derps google maps restarting.
Update 6: Added an option to re-enable Android Device Manager. Do take into account that this forces at least two extra processes running in the background for a feature you might not use a single time in your devices' life.
Enabling Android device Manager (you need to leave this service ON):
Code:
[Activities][b]
N/A
[/b]
[Providers][b]
N/A
[/b]
[Receivers][b]
N/A
[/b]
[Services][b]
[B]com.google.android.location.internal.GoogleLocationManagerService[/B]
[/b]
Update 7:
- Automated the process through sh script files
- Removed the following line, I couldn't get it to disable through the script
Code:
location.reporting.service.GcmBroadcastReceiver
- Fixed numerous item names, removed double periods, etc.
Update 8:
Main script changelog:
Disabled the following:
Code:
[Activities]
update.UpdateFromSdCardActivity
[Providers]
common.stats.net.contentprovider.NetworkUsageContentProvider
[Receivers]
com.google.android.contextmanager.systemstate.SystemStateReceiver
ads.config.FlagsReceiver
common.stats.GmsCoreStatsServiceLauncher
common.status.StatusServiceLauncherBroadcastReceiver
config.ConfigFetchService$PackageReceiver
config.ConfigFetchService$SecretCodeReceiver
com.google.android.libraries.social.mediamonitor.MediaMonitor
location.copresence.GcmBroadcastReceiver
location.reporting.service.GcmBroadcastReceiver
social.location.GservicesBroadcastReceiver
update.SystemUpdateService$Receiver
update.SystemUpdateService$OtaPolicyReceiver
update.SystemUpdateService$SecretCodeReceiver
update.SystemUpdateService$ActiveReceiver
[Services]
com.google.android.contextmanager.service.ContextManagerService
auth.be.proximity.authorization.userpresence.UserPresenceService
common.stats.GmsCoreStatsService
common.status.StatusService
deviceconnection.service.DeviceConnectionAsyncService
deviceconnection.service.DeviceConnectionServiceBroker
update.UpdateFromSdCardService
Re-enabled the following:
Code:
[Activities]
N/A
[Providers]
N/A
[Receivers]
N/A
[Services]
checkin.CheckinService
checkin.EventLogService
com.google.android.location.internal.GoogleLocationManagerService
update.SystemUpdateService
Extended script changelog:
Disabled the following:
Code:
[Activities]
nearby.messages.settings.NearbyMessagesAppOptInActivity
nearby.settings.NearbyAccessActivity
nearby.settings.NearbySettingsActivity
nearby.sharing.AppNotInstalledDialogActivity
nearby.sharing.AppNotSupportedDialogActivity
nearby.sharing.settings.OptInActivity
nearby.sharing.settings.TrustDeviceDialogActivity
nearby.sharing.sharesheet.ShareActivity
nearby.sharing.sharesheet.ShareHintActivity
photos.autobackup.ui.AutoBackupSettingsActivity
photos.autobackup.ui.AutoBackupSettingsRedirectActivity
photos.autobackup.ui.LocalFoldersBackupSettings
photos.autobackup.ui.promo.AutoBackupPromoActivity
[Providers]
N/A
[Receivers]
fitness.disconnect.FitDisconnectReceiver
nearby.messages.NearbyMessagesBroadcastReceiver
nearby.settings.NearbyAppUninstallReceiver
nearby.sharing.GcmBroadcastReceiver
nearby.sharing.NearbySharingBroadcastReceiver
nearby.sharing.ui.UiReceiver
phenotype.receiver.PhenotypeBroadcastReceiver
photos.Initialize.PhotosIntentreceiver
playlog.service.MonitorAlarmReceiver
playlog.service.WallClockChangedReceiver
wifi.gatherer2.receiver.GoogleAccountChangeReceiver
[Services]
com.google.android.libraries.nearby.direct.service.NearbyDirectService
nearby.bootstrap.service.NearbyBootstrapService
nearby.connection.service.NearbyConnectionsAndroidService
nearby.connection.service.NearbyConnectionsAsyncService
nearby.messages.service.NearbyMessagesService
nearby.sharing.service.NearbySharingService
phenotype.service.PhenotypeCommitService
phenotype.service.PhenotypeIntentService
phenotype.service.PhenotypeService
phenotype.service.sync.PhenotypeConfigurator
phenotype.service.util.PhenotypeDebugService
pseudonymous.service.PseudonymousIdIntentService
pseudonymous.service.PseudonymousIdService
photos.autobackup.AutoBackupWorkService
photos.autobackup.service.AutoBackupService
playlog.service.MonitorService
playlog.service.PlayLogBrokerService
playlog.service.PlayLogIntentService
playlog.uploader.RequestUploadService
playlog.uploader.UploaderService
wifi.gatherer2.service.KeyManagerServce
Update 9:
Main script changelog:
Disabled the following items:
Code:
[Activities][b]
N/A
[/b]
[Providers][b]
N/A
[/b]
[Receivers][b]
N/A
[/b]
[Services][b]
backup.BackupStatsService
[/b]
Re-enabled the following items:
Code:
[Activities][b]
N/A
[/b]
[Providers][b]
common.stats.net.contentprovider.NetworkUsageContentProvider
[/b]
[Receivers][b]
N/A
[/b]
[Services][b]
ads.AdRequestBrokerService
ads.identifier.service.AdvertisingIdService
common.stats.GmsCoreStatsService
com.google.android.location.places.service.GeoDataService
stats.PlatformStatsCollectorService
usagereporting.service.UsageReportingService
common.stats.GmsCoreStatsServiceLauncher
[/b]
Extended script changelog:
Re-enabled the following items:
Code:
[Activities][b]
N/A
[/b]
[Providers][b]
N/A
[/b]
[Receivers][b]
N/A
[/b]
[Services][b]
phenotype.service.PhenotypeService
playlog.service.MonitorAlarmReceiver
playlog.service.WallClockChangedReceiver
playlog.service.MonitorService
playlog.service.PlayLogBrokerService
playlog.service.PlayLogIntentService
playlog.uploader.RequestUploadService
playlog.uploader.UploaderService
car.CarService
[/b]

Third.

Huge update, let me know if I missed anything, it should be much easier to follow now.
Edit: I'm also thinking of moving the thread to the general section.
Thread will be relocated here as I feel it's more appropriate and applies to GAPPS as a whole.

Do you use Google Now or OK Google? If so do they work correctly?
Sent from my LG-D801

google feedback is great, at least 25% of my suggestions have been implemented. I won't remove it. Then again, maybe I'm just a genius.

I don`t see "com.google.android.location.fused.service.FusedLocationService" (in google play services -> services), instead i have "com.google.android.location.fused.service.FusedProviderService". Should i disable it ?

Brahialis said:
I don`t see "com.google.android.location.fused.service.FusedLocationService" (in google play services -> services), instead i have "com.google.android.location.fused.service.FusedProviderService". Should i disable it ?
Click to expand...
Click to collapse
See the search terms, just look for "fused" in services, disable both. and you're correct, these are the names
Code:
[B]com.google.android.location.fused.FusedLocationService
com.google.android.location.fused.service.FusedProviderService[/B]
It was FusedProviderService, not FusedLocationService.
rick09 said:
Do you use Google Now or OK Google? If so do they work correctly?
Sent from my LG-D801
Click to expand...
Click to collapse
I don't use it,. but I downloaded it and it works just fine.
rancur3p1c said:
google feedback is great, at least 25% of my suggestions have been implemented. I won't remove it. Then again, maybe I'm just a genius.
Click to expand...
Click to collapse
You certainly don't have to, I just gave it as an alternative.
I've also found an additional service to be removed, check post number 2.

can this be scripted ? that would be so cool

sandys1 said:
can this be scripted ? that would be so cool
Click to expand...
Click to collapse
It can, I saw a script that disables all the "usage" stuff, but nothing in location, ads, analytics or the rest. I also assume this would need to be run on every boot. I could try to make one if you want.
Or maybe we could search for a more permanent solution, somehow disabling these in the .apk. If I knew how to I'd gladly try.

Great job! I have done something similar with my phone and the only google component I have running in the foreground is related to GCM (I use hangouts for some texts). There is so much junk that came bundled with the last few rounds of play service updates. Eliminating the NLP wakelocks was my primary objective but much like you, I decided to cut Play Services only down to the essentials.

EDIT: Nevermind...

So I tried these settings and Maps stalls when trying to display the map. Titanium Backup also stalls when trying to check for the Pro license. I might have to backtrack a bit and see what went wrong.
Update: Maps issues was fixed by rolling back the GSF changes. Still trying to figure out why TiBu can't detect the Pro key.

What if I only disable the services and leave the activities, providers and receivers untouched? The reason for that is that I already use servicely (and in this APP I don't have access to those). I don't wanna have to use another app to do this...
Will I have trouble with receivers trying to find a service that is not running, for example?

OP.your method is working good for battery saving but its causes google maps to stuck on loading screen while opening.resetting back to its state fixes problem.

EvilKing009 said:
OP.your method is working good for battery saving but its causes google maps to stuck on loading screen while opening.resetting back to its state fixes problem.
Click to expand...
Click to collapse
Posted this same thing 2 posts up. Rolling back the changes to google services framework will allow it to work. :good:

nismology said:
So I tried these settings and Maps stalls when trying to display the map. Titanium Backup also stalls when trying to check for the Pro license. I might have to backtrack a bit and see what went wrong.
Update: Maps issues was fixed by rolling back the GSF changes. Still trying to figure out why TiBu can't detect the Pro key.
Click to expand...
Click to collapse
EvilKing009 said:
OP.your method is working good for battery saving but its causes google maps to stuck on loading screen while opening.resetting back to its state fixes problem.
Click to expand...
Click to collapse
nismology said:
Posted this same thing 2 posts up. Rolling back the changes to google services framework will allow it to work. :good:
Click to expand...
Click to collapse
Get a log and more info, can't replicate myself.
What I can't get is a fix if I enable location services while having maps running. I have to close and reopen maps, or open maps AFTER activating location, which personally isn't that big of a deal.

Updated, the process is now automated. Try out the new scripts at the bottom of the first post. Let me know if it's easy to read or if I can improve readability in any way.
Also do report back if it works and if it doesn't. If I can't replicate it, get a log.
@sandys1

Does it work on lp?

Too bad there's not an App for this so the user could select or deselect items. LoL
GPS has become the Pig in the Backyard, useful when ya need it but otherwise just makes a mess of things.
FYI: There are minimal versions of GPS that are unbloated out there.
Sent from my DROID RAZR HD using Tapatalk

Related

[ROM][UB][5.1.1]JustArchi's ArchiDroid V4 Optimized - Unofficial SlimLP 5.1[Weekly 3]

{
"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"
}
About the Rom:
http://slimroms.net/
https://plus.google.com/communities/104509876514579429216
Build has been optimized using JustArchi's ArchiDroid Optimizations - Unleash the power!
As written by Archi
- Optimized for speed yet more all instructions - ARM and THUMB (-O3)
- Optimized for speed also parts which are compiled with Clang (-O3)
- Turned off all debugging code (lack of -g)
- Eliminated redundant loads that come after stores to the same memory location, both partial and full redundancies (-fgcse-las)
- Ran a store motion pass after global common subexpression elimination. This pass attempts to move stores out of loops (-fgcse-sm)
- Performed interprocedural pointer analysis and interprocedural modification and reference analysis (-fipa-pta)
- Performed induction variable optimizations (strength reduction, induction variable merging and induction variable elimination) on trees (-fivopts)
- Didn't keep the frame pointer in a register for functions that don't need one. This avoids the instructions to save, set up and restore frame pointers; it also makes an extra register available in many functions (-fomit-frame-pointer)
- Attempted to avoid false dependencies in scheduled code by making use of registers left over after register allocation. This optimization most benefits processors with lots of registers (-frename-registers)
- Tried to reduce the number of symbolic address calculations by using shared “anchor” symbols to address nearby objects. This transformation can help to reduce the number of GOT entries and GOT accesses on some targets (-fsection-anchors)
- Performed tail duplication to enlarge superblock size. This transformation simplifies the control flow of the function allowing other optimizations to do a better job (-ftracer)
- Performed loop invariant motion on trees. It also moved operands of conditions that are invariant out of the loop, so that we can use just trivial invariantness analysis in loop unswitching. The pass also includes store motion (-ftree-loop-im)
- Created a canonical counter for number of iterations in loops for which determining number of iterations requires complicated analysis. Later optimizations then may determine the number easily (-ftree-loop-ivcanon)
- Assumed that loop indices do not overflow, and that loops with nontrivial exit condition are not infinite. This enables a wider range of loop optimizations even if the loop optimizer itself cannot prove that these assumptions are valid (-funsafe-loop-optimizations)
- Moved branches with loop invariant conditions out of the loop (-funswitch-loops)
- Constructed webs as commonly used for register allocation purposes and assigned each web individual pseudo register. This allows the register allocation pass to operate on pseudos directly, but also strengthens several other optimization passes, such as CSE, loop optimizer and trivial dead code remover (-fweb)
- Sorted the common symbols by alignment in descending order. This is to prevent gaps between symbols due to alignment constraints (-Wl,--sort-common)
Click to expand...
Click to collapse
Sources:
Slim: https://github.com/SlimRoms
SlimLPXperia: https://github.com/SlimLPXperia​
How to install :
- Download the ROM
- Extract boot.img and flash it
- Copy the ROM to your SD Card
- Boot into recovery
- Wipe data, cache, dalvik cache, system (Wipe -> Advanced Wipe)
- Install the ROM (it will take some time)
- Bootup
- Reboot into Recovery
- Install Gapps
Click to expand...
Click to collapse
Credits:
@munjeni: Kernel, porting Android Kitkat to Xperia 2012 devices and bugfix
AOSX team: For their work on Xperia 2012 devices
Agontuk: For patches
HubDroid: For providing server
Downloads:
http://builds.hubdroid.com/SlimLP/final/pepper/
CM 12/12.1 Gapps
Changelog:
Gerrit Code Review
Code:
[SIZE="4"][B]Slim 5.1[/B][/SIZE]
Slim weekly 2 (20/05/15)
- Slim version Alpha 0.2
- Source updates
Slim Build Alpha 1.0 (13/05/15)
- AOSP 5.1
- JustArchi's ArchiDroid Optimization V4
- Kernel compiled with Sabermod toolchain
- Enabled SELinux thanks to HandyMenny
- Enable USB OTG storage options
- Device and kernel updates
- TWRP 2.8.6.0
- Slim Source updates
[SIZE="4"][B]Slim 5.0[/B][/SIZE]
Slim Build Alpha 1.0 - Build 2 (24/02/15)
- Keep InCallUI in memory for faster response times
- Source cleanup and updates
- Kernel updated
- Enabled kernel recommended configurations
- Fixed some logcat errors
Slim Build Alpha 1.0 (19/02/15)
- Fix Camera
- Fix Media Sound
Slim Build Alpha 1.0 (17/02/15)
- Complete RIL fix
- Enable KSM
- Enable zRam
- Reduce lag and improve performance
- TWRP 2.8.5.0
- Bluez 5.28
- Updated Slim sources
- Source tree updates from XperiaSTE
Slim Build Alpha 0.8 (10/12/14)
- Partial RIL fix
Slim Build Alpha 0.8 (09/12/14)
- AOSP 5.0.1
Slim Build Alpha 0.6 (02/12/14)
- initial build
F.A.Q.
1) How to increase system memory?
Follow the instructions at this thread to create a swap file http://forum.xda-developers.com/showthread.php?t=2359182
I have found the recommended configurations to be quite effective, Only one swap file of the recommended size i.e. about 188MB will fix many things.
What's working and what's not
Working
RIL / Mobile Data
Camera
Torch
Mic
Audio
Vibration
Auto Brightness
SD Card
Airplane Mode
LEDs
WiFi
Auto Rotation
System Monitor
Bluetooth
Audio recording
TWRP Recovery
Reboot to recovery
Not Working
Camera Video Recording
FM Radio
NFC
WiFi direct
A2DP(media over A2DP)
That's even bettere than aosx 5.0 Thanks again! :good::good::good::good:
Wow, fix mobile data and we're right where SlimKat stopped
wow looking forward to this rom dev
Pushed a little update to latest AOSP, and Gapps
minfree values are set very high by default, to make keyboard usable use these values or lower them as desired.
Connect device in adb,
1. adb shell
2. echo "2048,3072,11520,16640,24320,42240" > /sys/module/lowmemorykiller/parameters/minfree
Click to expand...
Click to collapse
alwaysadeel said:
Pushed a little update to latest AOSP, and Gapps
Click to expand...
Click to collapse
Flashing gapps failed when trying to flash it in the same cycle as SlimLP. It says
Installing files...
Cleaning up and setting metadata...
set_metadata_recursive: some changes failed
E:Error executing updater binary in zip '/external_sd/Download/SlimLP/Slim_mini_gapps.BETA.5.0.x.build.0.x-416.zip'
Error flashing zip '/external_sd/Download/SlimLP/Slim_mini_gapps.BETA.5.0.x.build.0.x-416.zip'
It worked when doing this sequence: flash ROM, reboot, flash gapps. I guess this is needed only on a first install.
Booting up now... will share my experiences soon.
mstreibe said:
Flashing gapps failed when trying to flash it in the same cycle as SlimLP. It says
Installing files...
Cleaning up and setting metadata...
set_metadata_recursive: some changes failed
E:Error executing updater binary in zip '/external_sd/Download/SlimLP/Slim_mini_gapps.BETA.5.0.x.build.0.x-416.zip'
Error flashing zip '/external_sd/Download/SlimLP/Slim_mini_gapps.BETA.5.0.x.build.0.x-416.zip'
It worked when doing this sequence: flash ROM, reboot, flash gapps. I guess this is needed only on a first install.
Booting up now... will share my experiences soon.
Click to expand...
Click to collapse
try this gapps http://fitsnugly.euroskank.com/?rom=banks&device=gapps
Ril and mobil data is the important think, hope you guys fix it soon. May God help you
My first SlimLP steps
1) First boot took >5 min.
2) Problems with the setup assistant:
Activating cellular service doesn't succeed, I guess this is because of RIL not working yet, right?
Wifi setup worked.
Afterwards it stays a long time in "Checking connection...".
Adding the google account FCs after entering the first char of my password. The setup assistant then goes back to the language/country selection. I tried without signing in to google but it restarts nevertheless.
The only other thing besides the setup assistant that I could reach was the settings via the status bar. Here I could sign in to my google account, but it worked only when typing the password chars very slowly.
After that I had to go once more through all the setup assistant steps, to finally get to the home screen.
3) App download and installation in google play is very slow, and it is not my Wifi connection. File transfers via file manager are as fast as usual.
4) In "settings -> apps -> running" it shows all apps except the foreground app permanently restarting, with ca. 140 MB free RAM. Is this due to the high minfree values? I don't have an adb at hand so I installed android terminal emulator and set the minfree values with it, but it didn't seem to help. I also installed PerformanceControl but it FCs when trying to navigate to the memory settings.
5) Many if not all Slim customizations are missing.
6) Changing lcd_density in build.prop didn't seem to have an effect.
7) Overall UI performance wasn't all that bad.
Going back to SlimKat now because I need to use my phone
Looking forward to the 1.0 release...
cant turn debug mode on cause i cant set up my device after google acc registration my phone goes back to the beginning
what to do ? 0_o
thx in advance
AgroCPU said:
cant turn debug mode on cause i cant set up my device after google acc registration my phone goes back to the beginning
what to do ? 0_o
Click to expand...
Click to collapse
If you succeeded with the google account, just go through the setup process again. It went through the end afterwards here.
cant go trough google acc -__-
is it possible to turn usb-debug on via init.d script?
AgroCPU said:
cant go trough google acc -__-
Click to expand...
Click to collapse
Can you describe what goes wrong? I had issues too, see my post #11. The registration always failed when trying to enter the account password. At one point it worked, though, when I typed the PW very slowly, waiting a sec or 2 between each char.
BTW at some stage during the setup I was able to enter the settings via the status bar. I think it was right at the time when it jumped back to start. There you could enable the developer options and enable USB debugging.
mstreibe said:
Can you describe what goes wrong? I had issues too, see my post #11. The registration always failed when trying to enter the account password. At one point it worked, though, when I typed the PW very slowly, waiting a sec or 2 between each char.
Click to expand...
Click to collapse
i cant enter my gmail acc (email-adress)
AgroCPU said:
i cant enter my gmail acc (email-adress)
Click to expand...
Click to collapse
This worked for me, it failed when it asked me to enter the PW.
Does the dialog open for you, but when you start typing your email address it jumps back to the language setup?
Did you try typing very slowly?
Did you check if you can enter the settings via the status bar?
mstreibe said:
This worked for me, it failed when it asked me to enter the PW.
Does the dialog open for you, but when you start typing your email address it jumps back to the language setup?
Did you try typing very slowly?
Did you check if you can enter the settings via the status bar?
Click to expand...
Click to collapse
when i want to type one letter it jumps back to the language setup -__-
and nope i cant enter settings
AgroCPU said:
when i want to type one letter it jumps back to the language setup -__-
and nope i cant enter settings
Click to expand...
Click to collapse
Did you try with german language? Try English(US). That's what I did. And do the inputs very slowly. When the input field appears, wait a sec or 2 before typing, and wait again between each character.
It's a pain I know, especially as it is for testing only. Maybe wait for the 1.0 release
i tried this.. well, very buggy due to initial release .. my steps are :
- Wipe everything needed.. use a kernel with 'Sony Xperia Sola' device name (not MT27i). Kitkat Kernels are fine..
- Install the ROM first.. then reboot the phone. wait for the Android upgrade/build cache
- After its done, reboot and flash the LP Gapps. Then reboot..
- Done.. (well.. my navbar is broken so.. i edited the build.prop via PC and voila.. ohh, i dont recommend you to use this rom for everday use..

[APP][Xposed][1.1.0]StorePrefs

Overview
StorePrefs is module for Google Playstore, which controls the update of applications.
Features:
- Warning when updating app which could break some modules (module author have to implement it)
- Blocking auto update of apps which could break some modules (module author have to implement it)
- Blocking rapid update
- Ignoring some updates (When you have update available in My Applications in Playstore just long click on this update to ignore it)
- Saving and then restoring list of applications from Playstore (it's restored in saved version.To downgrade application with this you need XInstaller module)
If you want me to add any other features related to Google Playstore please let me know
Modules, that currently implement version checking:
Snapprefs (not yet, but will)
XInsta
XHangouts
If you want your module mentioned here let me know
Changelog:
Code:
Version 1.1.0:
- Added INSTALL intent
- Added saving and restoring list of applications
- Bugfixes
Version 1.0.3:
- Fixed preferences (well, it wasn't working to be honest, but now works)
- Added option to clear list of ignored versions
Version 1.0.2:
- Added ignoring versions (long click on application in My Applications)
Version 1.0.1:
- Added Settings activity
- Added blocking rapid update
Version 1.0.0:
- Initial release
Screenshots:
{
"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"
}
Requirements
•Xposed Framework
•Google Playstore
For developers:
Right now whole checking if application and it's version is compatible is done by xposed modules.
You need to create class with no arguments constructor with these methods:
Code:
/**
* This method is called upon creating instance of this class. It is called from separate thread, so here is place for things like files loading and connecting with server.
*/
void init();
/**
* This method is called when user clicks update button. This will not block updating, It will only warn user.
*
* @param packageName package of the application
* @param versionCode version code
* @param versionName version name
* @return should user update this application
*/
boolean shouldUserUpdate(String packageName, int versionCode, String versionName);
/**
* This method is called when play store tries to auto update the application. Returning false causes to block the auto update.
*
* @param packageName package of the application
* @param versionCode version code
* @return can play store auto update this application
*/
boolean canAutoUpdate(String packageName, int versionCode);
If you are lazy like me just make it implements interface from this jar.
After that all you need to do is add this to your AndroidManifest file:
Code:
<meta-data
android:name="storeprefs_mainclass"
android:value="package.ClassWithMethodsFromInterfaceAbove" />
My module will only search for these classes if your module is enabled in Xposed installer.
Since version 1.1.0 you can install application from playstore through intents. This way you can install application with exact version you want. For downgrading user has to have XInstaller module enabled. Example implementation is here:
https://github.com/stirante/StorePrefs/blob/master/app/src/main/java/com/stirante/storeprefs/activities/SettingsActivity.java#L86-L107
Installation
Note: Obviously, you need root access on your phone.
Download the Xposed Installer APK.
Install the app along with the framework.
Download and install the app from the repository.
Activate the module in the Xposed Installer.
Soft reboot your device.
Download
http://repo.xposed.info/module/com.stirante.storeprefs
Source
Source code can be found on GitHub
https://github.com/stirante/StorePrefs
XDA:DevDB Information
StorePrefs, Xposed for the Xposed Framework
Contributors
stirante, MaaarZ, Mr.Yawnie
Source Code: https://github.com/stirante/StorePrefs
Xposed Package Name: com.stirante.storeprefs
Version Information
Status: Testing
Created 2016-02-02
Last Updated 2016-02-09
Good idea! I hope many devs will use this. I don't use snapprefs but I keep an eye on your work.
By the way first.
Nice! Good job mate
Sent from my GT-I9505 using Tapatalk
Great idea man!
Tell the guy from "youtube background playback" to use this!!!
This might be deviating a bit from the module's original purpose, but... There are some apps that I don't want to update unless there's a major update released in the Play Store. So would it be possible to implement, like in fdroid, an "ignore this one version" option, so the app will only appear on the list of updates the next time a new version is released, making it easier to follow the changes?
garciaw said:
This might be deviating a bit from the module's original purpose, but... There are some apps that I don't want to update unless there's a major update released in the Play Store. So would it be possible to implement, like in fdroid, an "ignore this one version" option, so the app will only appear on the list of updates the next time a new version is released, making it easier to follow the changes?
Click to expand...
Click to collapse
Well, the purpose of my module is Playstore tweaks, so yeah. I'll try to add it
When you have update available in My Applications in Playstore just long click on this update to ignore it
Click to expand...
Click to collapse
Is there also a way to get these ignored updates back?
Great module! Is there a way to modify it to download multiple apps? Instead of the download, install, then download the next app. This would be helpful in clean rom installs.
Sent from my SM-G900T3 using XDA Free mobile app
CRXed said:
Is there also a way to get these ignored updates back?
Click to expand...
Click to collapse
There will be sure a way for that, but right now couldn't get it to work. Btw you can still update these apps, but they're not showing on the top. Just scroll a bit, click on app and update. Also when there will be newer version than the one you marked as ignored it will show up at the top.
Cameronkhn12293 said:
Great module! Is there a way to modify it to download multiple apps? Instead of the download, install, then download the next app. This would be helpful in clean rom installs.
Sent from my SM-G900T3 using XDA Free mobile app
Click to expand...
Click to collapse
Well, i can look into that but i won't promise this.
stirante said:
There will be sure a way for that, but right now couldn't get it to work. Btw you can still update these apps, but they're not showing on the top. Just scroll a bit, click on app and update. Also when there will be newer version than the one you marked as ignored it will show up at the top.
Click to expand...
Click to collapse
Awesome, exactly what I was looking for =D
Ensuring compatibility of modules is a much more noble objective than maintaining my OCD in check, so I thank you for taking the time to listen to my request!
An absolutely fantastic module!! I've been looking for a solution like this for years. I have two apps that I'd rather not update, until I'm sure that their respectful xposed modules have been upgraded aswell, so having to manualy go through the process of updating one app at a time, has been such a pain. Thank you so much and keep up the good work!
Awesome! This works (or in the future will work) with package installer too?
kryzeK said:
Awesome! This works (or in the future will work) with package installer too?
Click to expand...
Click to collapse
Right now it don't, but maybe I'll implement this in future.
stirante said:
There will be sure a way for that, but right now couldn't get it to work. Btw you can still update these apps, but they're not showing on the top. Just scroll a bit, click on app and update. Also when there will be newer version than the one you marked as ignored it will show up at the top.
Click to expand...
Click to collapse
It works brilliantly!! :good:
Right now you have a default Android icon.
May I suggest a new icon, something like this? Haha
Great module! This will be added to XInsta in the next update.
If at all possible, can you do the following feature?
When Google Play is set to update applications manually, one has the ability to manually update all the applications with an "Update All" button at the top right of the "My Apps" section. However, I'd like to exclude some applications from ever updating. When this is the case, I have to manually update each application avoiding to update the one or two applications I'm avoiding to be updated.
Can you exclude an application from updating in this scenario?
oreo27 said:
If at all possible, can you do the following feature?
When Google Play is set to update applications manually, one has the ability to manually update all the applications with an "Update All" button at the top right of the "My Apps" section. However, I'd like to exclude some applications from ever updating. When this is the case, I have to manually update each application avoiding to update the one or two applications I'm avoiding to be updated.
Can you exclude an application from updating in this scenario?
Click to expand...
Click to collapse
It's already there, stock play store feature. Disable auto updates for those specific apps by going to play store > app and pressing the 3-dot menu on top right. Now when you press "update all" button, all other apps updating, but those you disabled won't (it will ask whether to update, choose no).
Sent from my GT-I9505 using Tapatalk
This looks great! I was in the process of adding it to XHangouts for inclusion the next release when I noticed some show-stoppers. My enabled_modules.xml from the Xposed Installer was set to 660 instead of 664 or 666 so StorePrefs could not access it. Once I manually made it world readable StorePrefs could continue. Until it hit another IOException trying to read com.stirante.storeprefs_preferences.xml which was also set to 660. It had the same problem with Storeprefs/database.dat which did exist but was also set to 660. Things are just not getting set to world readable. I have a feeling it's an issue with CM...
For reference, I'm on a nightly (Feb 8) build of CM 13 running Xposed v80 with Installer 3 alpha 4.
Edit 1: I've checked the prefs.makeWorldReadable() call in StorePrefsModule and it's definitely failing on my device.
Edit 2: After manually setting the permissions on both enabled_modules.xml and com.stirante.storeprefs_preferences.xml and removing the SimpleDatabase code (permission denied errors) I was able to get it working. I actually had to set enabled_modules.xml twice since it seems to reset. There was a visual issue when it was finally working (see attached).
Kevin M said:
This looks great! I was in the process of adding it to XHangouts for inclusion the next release when I noticed some show-stoppers. My enabled_modules.xml from the Xposed Installer was set to 660 instead of 664 or 666 so StorePrefs could not access it. Once I manually made it world readable StorePrefs could continue. Until it hit another IOException trying to read com.stirante.storeprefs_preferences.xml which was also set to 660. It had the same problem with Storeprefs/database.dat which did exist but was also set to 660. Things are just not getting set to world readable. I have a feeling it's an issue with CM...
For reference, I'm on a nightly (Feb 8) build of CM 13 running Xposed v80 with Installer 3 alpha 4.
Edit 1: I've checked the prefs.makeWorldReadable() call in StorePrefsModule and it's definitely failing on my device.
Edit 2: After manually setting the permissions on both enabled_modules.xml and com.stirante.storeprefs_preferences.xml and removing the SimpleDatabase code (permission denied errors) I was able to get it working. I actually had to set enabled_modules.xml twice since it seems to reset. There was a visual issue when it was finally working (see attached).
Click to expand...
Click to collapse
Thanks for feedback and for using it!
It is literaly one of the best posts I've ever received on my code since it's so detailed
About permissions I'll try to set them manually (with android.os.FileUtils.setPermissions). I hope that won't fail. As for the visual issue I've never had such an issue. Could you possibly know if it's just white text or no text at all? I used playstore's styles since it was created in it's context so it should match with other dialogs.

[MAGISK MODULE] [APP] Google Pay downgrader for Wear OS on Pie & RootPayEnabler app

[MAGISK MODULE] [APP] Google Pay downgrader for Wear OS on Pie & RootPayEnabler app
OreoPay4PieWear
version 1
Wear Magisk module to downgrade Google Pay on Wear OS Pie to Oreo version to bypass unsupported country message​
This module if for all who updated their Wear OS devices to Pie and are locked out of Google Pay due to the Geo-location restrictions on the Pie version that are present for the wear but not the phone. This module will likely become obsolete once Google decides to deprecate the Oreo version of Google Pay and prevent the use of it. Hence please continue to support this thread https://www.reddit.com/r/WearOS/comments/bghqiq/just_talked_with_google_support_they_have_no_idea/
Instructions:
Install/Flash Magisk module: OreoPay4PieWear_v1.zip
Refrain from updating Google Pay in the play store
If accidentally updated, just uninstall updates on the play store page
Optional: Because using this module means that your device is rooted, use my version of PayEnabler attached that uses "pm enable" to re-enable and automatically start Google Pay instead of accessibility services when it gets automatically disabled.
Use Google Pay from unsupported countries on wear again
Changelogs:
v1 - Initial release
-----
RootPayEnabler
{
"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"
}
version 1
Wear application that uses root privileges to enable (if disabled) and open Google Pay automatically​
Uses "pm enable" and root (apparently required) to enable Google Pay, then proceeds to open Google Pay
Demo:
https://gfycat.com/boringtestyincatern
Instructions:
Install and open app via ADB: RootPayEnabler.apk (adb install path/to/RootPayEnabler.apk)
On screens that cover the allow button, let the root request dialog to timeout and allow it manually in manager
Allow root access if not allowed yet and re-open the app
Open the app every time Google Pay is needed
Changelogs
v1 - Initial release
Are there people who are unable to add cards due to a rooted device message?
If so, please try this: https://forum.xda-developers.com/showpost.php?p=79636737&postcount=1719
If that still doesn't work, try this: https://forum.xda-developers.com/showpost.php?p=79637148&postcount=1720
Please do let me know which method works so I can incorporate into the Magisk module for v1.2, thank you.
The magisk module is pushed to the watch?
@jarylc appreciate if you can help cause I am not sure I should install the above apk's. I was running Google Pay from @moneytoo here https://forum.xda-developers.com/wear-os/development/app-pay-enabler-android-pay-oreo-t3750815/page8 and it was running perfectly fine and accessibility used to open Google Pay in about 8 seconds, then suddenly and without any updates on my watch (as both play store and system auto-update is turned off) the accessibility feature stopped performing, hence I have to enable google pay manually every time. I am running Wear OS v2.6 on Oreo v8.0.0 and Pay Enabler v6 from the above link. When I uninstall Google Pay, it only gets disabled and it does not actually gets uninstalled. Appreciate if you can help.
Hello, please how to install module into phone through Magisk manager? When I open the menu and select Modules, then I click on the button to browse for modules but it says that no application can perform this action... Thank you.
krecoun said:
Hello, please how to install module into phone through Magisk manager? When I open the menu and select Modules, then I click on the button to browse for modules but it says that no application can perform this action... Thank you.
Click to expand...
Click to collapse
I assume you are talking about the watch...
You have to download a file manager from wear playstore (not all of them work with Magisk) or you can try to flash the module through twrp, but I never tried it so I don't know for sure if it would work
Sent from my SM-T720 using XDA Labs
Can you please recommend a file manager? I tried one but no luck. I tried to flash this file through TWRP and it is not possible.
krecoun said:
Can you please recommend a file manager? I tried one but no luck. I tried to flash this file through TWRP and it is not possible.
Click to expand...
Click to collapse
I think File Explorer FTP Server can do that
jarylc said:
OreoPay4PieWear
version 1
Wear Magisk module to downgrade Google Pay on Wear OS Pie to Oreo version to bypass unsupported country message
This module if for all who updated their Wear OS devices to Pie and are locked out of Google Pay due to the Geo-location restrictions on the Pie version that are present for the wear but not the phone. This module will likely become obsolete once Google decides to deprecate the Oreo version of Google Pay and prevent the use of it. Hence please continue to support this thread https://www.reddit.com/r/WearOS/comments/bghqiq/just_talked_with_google_support_they_have_no_idea/
Instructions:
Install/Flash Magisk module: OreoPay4PieWear_v1.zip
Refrain from updating Google Pay in the play store
If accidentally updated, just uninstall updates on the play store page
Optional: Because using this module means that your device is rooted, use my version of PayEnabler attached that uses "pm enable" to re-enable and automatically start Google Pay instead of accessibility services when it gets automatically disabled.
Use Google Pay from unsupported countries on wear again
Changelogs:
v1 - Initial release
-----
RootPayEnabler
version 1
Wear application that uses root privileges to enable (if disabled) and open Google Pay automatically
Uses "pm enable" and root (apparently required) to enable Google Pay, then proceeds to open Google Pay
Demo:
https://gfycat.com/boringtestyincatern
Instructions:
Install and open app via ADB: RootPayEnabler.apk (adb install path/to/RootPayEnabler.apk)
On screens that cover the allow button, let the root request dialog to timeout and allow it manually in manager
Allow root access if not allowed yet and re-open the app
Open the app every time Google Pay is needed
Changelogs
v1 - Initial release
Click to expand...
Click to collapse
Hi. Can you give a more detailed response on how you rooted the watch and installed the apk? Thank you.
This is great, thanks.
But from time to time the Google Pay app get disabled again.
Did anyone find out what is triggering this?
Is it when the device connects directly to Wifi and google play services checks that we are on a unauthorized country?
I think of an app that can run in the background, or a contrab job, that check if the package is disabled, and enables it again.
@jarylc Did you thought on making this part of the magisk module ?
magisk-gpay-wearos-downgrade
So .. I decided to do it by myself
I created a new magisk module.
This will install the right google pay and will have a job running every 2 hours to enable the package.
In case you want, we can increase/decrease that time.
I will start testing in a daily basis and see how it goes.
Source code here: https://github.com/cinzas/magisk-gpay-wearos-downgrade
I'm also attaching the module in case you want to test it.
So by installing this it will install GPay on my watch? Should I need to root my watch first?
warrencoakley said:
So by installing this it will install GPay on my watch? Should I need to root my watch first?
Click to expand...
Click to collapse
Hi
I have been trying since this morning. I will publish a new one to enable every hour, but this is working fine
To install this on your device you need to have Magisk installed (so yes, root is needed).
What device do you have ?
ashes said:
Hi
I have been trying since this morning. I will publish a new one to enable every hour, but this is working fine
To install this on your device you need to have Magisk installed (so yes, root is needed).
What device do you have ?
Click to expand...
Click to collapse
I have a ticwatch pro.
What do you mean by publish one every hour? Why do you have to do that?
From time to time (didn't find the pattern yet), google detects that the gpay app is enabled on the phone and deactivates it.
I changed the module to turn it on every 30 mins (does not consume battery), so it is always available when you need it - no need to call an app to enable it
Can anybody link me to instructions how to root my ticwatch pro 4g?
edit: nevermind, i already found it. Rooted the watch and succesfully installed this magisk module. Set up my cards and working perfectly! I'll monitor if google pay still gets disabled, but at least it starts! Very happy now. Thanks for this module, great work...
Hey. I have TicWatch Pro 2020 and I'm trying to sideload the OreoPay zip, but I get only error: Updater procces ended with ERROR : 127. Can u help?

How To Guide Just tweak it [Tab A7] - debloat, battery...

Tab A7 stock rootless setup​
model used: Tab A7 Lite SM-T220
Just a quick article for this nicely sized 8.7" tablet. It's a baby tablet, not wasting time with rooting We want:
* debloating
* better battery
* better privacy
* call recording
* disk encryption
* tweaks
Rooting​No rooting. No logins, not even Google login, that's the plan. FDroid, Aurora, Vanced manager to deploy all you need. No contacts, no SMS, no location, nothing to protect.
Modules​Magisk​-
XPosed​-
Apps​* AdGuard -> supreme adblocker and firewall. Set VPN approach (rootless friendly, assuming device will stay at home), turn on HTTPS and turn off internet for all apps. Then enable few (browser, youtube, aurora) specifically.
* YouTube Vanced -> YouTube without ads and sponsor blocks.. install in non root mode, and remove the existing originals
* (optional) MiXplorer -> best file manager, replaces spyware ES File explorer you had before
* F-Droid -> open source apps
* Aurora -> all apps
Debloating​What the script does:
* choose 8 categories of app removal, in the beginning of the file
for each say 0=skip 1=remove 2=revert back
* use more switch to disable some questionable/helpful stuff
* disable up to 70 apps with possibility to revert back
I usually cook these files carefully, here i just removed non existing packages, added existing vendor packages. Vendor garbage gets uninstalled straight away, majority of packages is disabled in non-root mode (per user) so it can be reenabled later. You can edit the file.
unzip the file to some folder
adb shell as it's plugged to PC and authorized (and usb debugging in developer otions on)
go to the folder with script
cp TabA7_cleanup.sh /data/local/tmp
chmod +x /data/local/tmp/TabA7_cleanup.sh
/data/local/tmp/TabA7_cleanup.sh;
Tested ok on August Android 11 EU firmware. It produced no errors (=packages relevant), but there could be regional differences, producing exceptions in your case. See other comments below if the instructions are unclear.
Download: (file attached)
Battery​Battery saving:
turn off location
turn off permissions and app usage for usual snitches
in Adguard turn off WIFI/mobile for each app (will be the default), then reenable few - advantage: no ads in games, no stupid accidental payments. Also set WIFI/mobile off when screen off -> tablet won't do anything, just keep idle for days hopefully
don't even enable GMS, this device can be a good throwawy tablet with no login to ANY service, without encryption, just pure gamepad.... likely no password/PIN to unlock. It's with slow CPU but games work nicely. It's not even slower than S4 flagship tablet honestly.
hi, thanks for the guide, very insightful with me transitioning from iOS.
My only question is the script, I’ve downloaded ABD and can shell into my device. However I’m having issues when copying the script, it keeps coming up saying invalid path, I’ve looked everywhere for a tutorial but with me having limited knowledge I’m at a dead end
any help greatly appreciated
Herb291 said:
hi, thanks for the guide, very insightful with me transitioning from iOS.
My only question is the script, I’ve downloaded ABD and can shell into my device. However I’m having issues when copying the script, it keeps coming up saying invalid path, I’ve looked everywhere for a tutorial but with me having limited knowledge I’m at a dead end
any help greatly appreciated
Click to expand...
Click to collapse
i just flashed the new firmware and did it again, no problem. First i copied the script from Windows to somewhere on Android (/storage/emulated/0 or similar "noexec" quasi-sd card location), and then moved it to a location from where it can be executed. The location should work and is generally recommended. You can find another one /data/local, /tmp or whatever is there. Or use adb push <PC_file> <target_directory>. Or post the screenshot. This should be a trivial issue and can't stop you.
{
"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"
}
getting this error
raxahasan0077 said:
View attachment 5456865getting this error
Click to expand...
Click to collapse
Place the script on the tablet in an easy to remember location.
Open Powershell:
“adb shell” or “./abd shell” (whichever works)
“Cp /storage/emulated/0/FILELOCATION/TabA7_cleanup.sh /data/local/tmp”
then follow the rest of the instructions
now getting this error
raxahasan0077 said:
now getting this errorView attachment 5456963
Click to expand...
Click to collapse
Is your USB debugging turned on in the dev settings, did you hit authorise on your device when you first plugged it in?
you can check if you’re device is authorised with “adb devices”
edit: not sure if it matters but try a lowercase cp
Herb291 said:
Is your USB debugging turned on in the dev settings, did you hit authorise on your device when you first plugged it in?
you can check if you’re device is authorised with “adb devices”
edit: not sure if it matters but try a lowercase cp
Click to expand...
Click to collapse
yeah lowercase cp works
Working with LADB ( no computer needed)
https://www.xda-developers.com/debloat-your-phone-run-adb-shell-commands-no-root-no-pc/
Download: https://disk.yandex.com/d/H02YifGGtrErbw
////////////Run an .sh file to install ///////////
cd /sdcard
cp cleanup.sh /data/local/tmp
cd /data/local/tmp
ls -l
chmod +x /data/local/tmp/cleanup.sh
ls -l
./cleanup.sh
/////////
Download: https://disk.yandex.com/d/NcQMhFp73OpwXw
( and run .sh script with LADB)
Tips howto install LADB:
important! Always use "Open in split screen view” for pairing devices. (only first connection, next time don't need)
View attachment 5457089
@tom.android have you removed all theese 41 apps and the tablet functions ok, without any problems ? Is there any real benefit in performance and especially in lagging ?
Reply: @nikoum
Just removed (switch off) my unused app, sorry not help for good performance but no trouble.
Note: LADB
https://forum.xda-developers.com/attachments/ladb_v1-7_test-zip.5457295/
How dose this work without rooting? When I try to run the script from ADB i get Can't execute: permission denied?
I run "cmd", then "adb shell" and then "pm uninstall --user 0 <package name>". Make sure in developer options to check USB debugging to on and when connecting device with usb cable, authorize the conneftion, when asked by the phone.
doggydog2 said:
Tab A7 stock rootless setup​
model used: Tab A7 Lite SM-T220
Just a quick article for this nicely sized 8.7" tablet. It's a baby tablet, not wasting time with rooting We want:
* debloating
* better battery
* better privacy
* call recording
* disk encryption
* tweaks
Rooting​No rooting. No logins, not even Google login, that's the plan. FDroid, Aurora, Vanced manager to deploy all you need. No contacts, no SMS, no location, nothing to protect.
Modules​Magisk​-
XPosed​-
Apps​* AdGuard -> supreme adblocker and firewall. Set VPN approach (rootless friendly, assuming device will stay at home), turn on HTTPS and turn off internet for all apps. Then enable few (browser, youtube, aurora) specifically.
* YouTube Vanced -> YouTube without ads and sponsor blocks.. install in non root mode, and remove the existing originals
* (optional) MiXplorer -> best file manager, replaces spyware ES File explorer you had before
* F-Droid -> open source apps
* Aurora -> all apps
Debloating​What the script does:
* choose 8 categories of app removal, in the beginning of the file
for each say 0=skip 1=remove 2=revert back
* use more switch to disable some questionable/helpful stuff
* disable up to 70 apps with possibility to revert back
I usually cook these files carefully, here i just removed non existing packages, added existing vendor packages. Vendor garbage gets uninstalled straight away, majority of packages is disabled in non-root mode (per user) so it can be reenabled later. You can edit the file.
unzip the file to some folder
adb shell as it's plugged to PC and authorized
go to the folder with script
cp TabA7_cleanup.sh /data/local/tmp
chmod +x /data/local/tmp/TabA7_cleanup.sh
/data/local/tmp/TabA7_cleanup.sh;
Tested ok on August Android 11 EU firmware. It produced no errors (=packages relevant), but there could be regional differences.
Download: (file attached)
Battery​Battery saving:
turn off location
turn off permissions and app usage for usual snitches
in Adguard turn off WIFI/mobile for each app (will be the default), then reenable few - advantage: no ads in games, no stupid accidental payments. Also set WIFI/mobile off when screen off -> tablet won't do anything, just keep idle for days hopefully
don't even enable GMS, this device can be a good throwawy tablet with no login to ANY service, without encryption, just pure gamepad.... likely no password/PIN to unlock. It's with slow CPU but games work nicely. It's not even slower than S4 flagship tablet honestly.
Click to expand...
Click to collapse
How do I get the script file to.run from ADB? I get permission denied
TheDroidKid said:
How do I get the script file to.run from ADB? I get permission denied
Click to expand...
Click to collapse
that's literally discussed above incl all common mistakes, if you think it's unique, please post a screenshot.
Your right got it working. Didn't releaize it was a big deal not to have it in /tmp
I keep trying to do the cp step but it keeps saying no such file or directory.
I checked my tablet with MiX and there's no local folder on data... What am I doing wrong here?
Is better privacy only possible with rooting? I want to disable the radio entirely and remove all of the Google apps.
Elzbach said:
Is better privacy only possible with rooting? I want to disable the radio entirely and remove all of the Google apps.
Click to expand...
Click to collapse
i disabled google, and using Aurora without root. With no logins, no PIM data, no location tracking, there's almost no data to steal. But if I was using it as a mobile phone, with logins, contacts etc, i'd have to root.
doggydog2 said:
i disabled google, and using Aurora without root. With no logins, no PIM data, no location tracking, there's almost no data to steal. But if I was using it as a mobile phone, with logins, contacts etc, i'd have to root.
Click to expand...
Click to collapse
I'm not using it as a phone and there is still no data to steal, but I still want to get rid of those things. I want to completely remove the tracking apps regardless of how little there is to track because they are bloat. I want to completely disable the radio, the microphone, gps, and blu tooth. I don't even want wireless internet connections to remain.

[APP][XPOSED][5.0-13] Geergit - A Module to Protect Your Privacy

Geergit - Protect Your Privacy​
{
"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"
}
ROOT IS REQUIRED
If You don't know What XPOSED FRAMEWORK is, do not try this application (it won't work). To Know more about Xposed Read Here.
Xposed General
Use this forum to chat about xposed framework and modules to modify your device without flashing a custom ROM
forum.xda-developers.com
IMPORTANT​- Although this app has been tested on several devices, there is always a chance something can go wrong. It is always recommended to have a backup of your ROM and other important data before trying this app.
This is an Xposed Module For Changing (MASKING) the various IDs in the Phone.
Change means when an application access these parameters this app will replace the original value with user provided value. Original values are always intact in the device.
Features​Spoofing (Hide your original details and give fake ones!)​
- Sim Operator (premium)
1. Country
2. Sim Operator
3. MCC
4. MNC
- IMEI
1. IMEI 1
2. IMEI 2
3. Increment both IMEI by Increment value on Random
- Gmail address (spoof your logged-in Gmail for Victim Apps) (premium)
- Android ID
- Hardware Serial
- Advertising ID (Not working in newer Android versions)
- Google Services Framework (GSF) ID (premium)
- Bluetooth Mac Address
- WiFi Mac Address
- WiFi SSID
- Mobile Number
- SIM Subscriber number
- SIM Card Serial
- MediaDRM (premium) [Coming Soon]
Target/Victim apps' features​- Per App Spoofing
- Hide Root
- Hide Xposed
- Creation of Profiles
- Add Notes to Profiles
- One Click Randomize
- Grouping of Target Apps (Coming Soon)
Import / Export​- Backup Target App's Data (premium)
- Import / Export Profiles (Spoofed/Fake values)
- Import / Export the above data to Local Storage and/or Google Drive (premium)[Coming Soon]
Feature request​There are multiple methods to request feature
1. You can open a feature request issue to Geergit Discussion Repo.
2. Submit this Google Form: https://forms.gle/X8sX6PcSi9bRbK1YA
3. Telegram Group: https://t.me/geergit_xposed
NOTE:​1. For changes to take effect close all running applications also swipe / clear apps from the recent list. No need to reboot.
Steps to enable the app in Xposed Framework (LSPosed Recommended).
- Install app
- Go to the Xposed module
- Enable module in xposed framework
- Restart phone
- Open the app
- And you can start using it by changing settings.
Spoiler: Download
From Xposed Modules
From Github Releases
Credits:
@DE - For inspiring me for this module.
@Lsposed Team - For their efforts.
@VD171 - for his app VDInfo which will help to check spoof values.
Note: Don't use this app for any illegal purpose or cheat any program this module is just for better privacy.
Discussions about donation packages are not allowed here, please contact me via email instead.
Thank you for trying this module, if you like don't forget to press thanks
End User Licence Agreement (EULA)​"THE SOFTWARE IS PROVIDED ON AN AS-IS AND AS-AVAILABLE BASIS. YOU AGREE THAT YOUR USE OF THE SOFTWARE AND OUR SERVICES WILL BE AT YOUR SOLE RISK. TO THE FULLEST EXTENT PERMITTED BY LAW, WE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, IN CONNECTION WITH THE SOFTWARE AND YOUR USE THEREOF, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. IN NO EVENT WILL AUTHOR BE LIABLE FOR ANY DAMAGES CAUSED BY USING THIS PRODUCT"
Will the phone even work to make callls if you go changing lll that stuff like IMEI, serials, macs etc..?
pyshivam said:
Geergit - Protect Your Privacy​View attachment 5882685
ROOT IS REQUIRED
If You don't know What XPOSED FRAMEWORK is, do not try this application (it won't work). To Know more about Xposed Read Here.
Xposed General
Use this forum to chat about xposed framework and modules to modify your device without flashing a custom ROM
forum.xda-developers.com
IMPORTANT​- Although this app has been tested on several devices, there is always a chance something can go wrong. It is always recommended to have a backup of your ROM and other important data before trying this app.
This is an Xposed Module For Changing (MASKING) the various IDs in the Phone.
Change means when an application access these parameters this app will replace the original value with user provided value. Original values are always intact in the device.
Features​Spoofing (Hide your original details and give fake ones!)​
- Sim Operator (premium)
1. Country
2. Sim Operator
3. MCC
4. MNC
- IMEI
1. IMEI 1
2. IMEI 2
3. Increment both IMEI by Increment value on Random
- Gmail address (spoof your logged-in Gmail for Victim Apps) (premium)
- Android ID
- Hardware Serial
- Advertising ID (Not working in newer Android versions)
- Google Services Framework (GSF) ID (premium)
- Bluetooth Mac Address
- WiFi Mac Address
- WiFi SSID
- Mobile Number
- SIM Subscriber number
- SIM Card Serial
- MediaDRM (premium) [Coming Soon]
Target/Victim apps' features​- Per App Spoofing
- Hide Root
- Hide Xposed
- Creation of Profiles
- Add Notes to Profiles
- One Click Randomize
- Grouping of Target Apps (Coming Soon)
Import / Export​- Backup Target App's Data (premium)
- Import / Export Profiles (Spoofed/Fake values)
- Import / Export the above data to Local Storage and/or Google Drive (premium)[Coming Soon]
Feature request​There are multiple methods to request feature
1. You can open a feature request issue to Geergit Discussion Repo.
2. Submit this Google Form: https://forms.gle/X8sX6PcSi9bRbK1YA
3. Telegram Group: https://t.me/geergit_xposed
NOTE:​1. For changes to take effect close all running applications also swipe / clear apps from the recent list. No need to reboot.
Steps to enable the app in Xposed Framework (LSPosed Recommended).
- Install app
- Go to the Xposed module
- Enable module in xposed framework
- Restart phone
- Open the app
- And you can start using it by changing settings.
Spoiler: Download
From Xposed Modules
From Github Releases
Credits:
@DE - For inspiring me for this module.
@Lsposed Team - For their efforts.
@VD171 - for his app VDInfo which will help to check spoof values.
Note: Don't use this app for any illegal purpose or cheat any program this module is just for better privacy.
Discussions about donation packages are not allowed here, please contact me via email instead.
Thank you for trying this module, if you like don't forget to press thanks
End User Licence Agreement (EULA)​"THE SOFTWARE IS PROVIDED ON AN AS-IS AND AS-AVAILABLE BASIS. YOU AGREE THAT YOUR USE OF THE SOFTWARE AND OUR SERVICES WILL BE AT YOUR SOLE RISK. TO THE FULLEST EXTENT PERMITTED BY LAW, WE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, IN CONNECTION WITH THE SOFTWARE AND YOUR USE THEREOF, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. IN NO EVENT WILL AUTHOR BE LIABLE FOR ANY DAMAGES CAUSED BY USING THIS PRODUCT"
Click to expand...
Click to collapse
Will spoofing Wifi SSID/MAC cause wifi internet to break on restart?
Android 10 on Redmi Note 9 Pro
Wow !
Very good app !
Thank you very much, dear developer
Looks very useful. As for the premium, however, I regret there is no one-time payment option. With so many bills to pay these days, I can't afford to subscribe another app
VD171 said:
Wow !
Very good app !
Thank you very much, dear developer
Click to expand...
Click to collapse
Thank You so much!!!
thementalist786 said:
Will spoofing Wifi SSID/MAC cause wifi internet to break on restart?
Android 10 on Redmi Note 9 Pro
Click to expand...
Click to collapse
we are spoofing values for specific apps so the internet should not break on restart, until you hook system apps.
TaZeR369 said:
Will the phone even work to make callls if you go changing lll that stuff like IMEI, serials, macs etc..?
Click to expand...
Click to collapse
if you are not hooking all the system apps, so calls should work, If you hook all of the system apps then there might be a chance that something could go wrong.
I'm using Android Faker til now, does that hook system apps / work differently or is it just an "either works" kind of situation?
G5-User7080 said:
I'm using Android Faker til now, does that hook system apps / work differently or is it just an "either works" kind of situation?
Click to expand...
Click to collapse
you can try for yourself, however mostly it should be an "either works" kind of situation because at a time only one fake value can be received by the victim app, so if two or more apps are trying to give fake values to the same victim then only one module wins.
pyshivam said:
you can try for yourself, however mostly it should be an "either works" kind of situation because at a time only one fake value can be received by the victim app, so if two or more apps are trying to give fake values to the same victim then only one module wins.
Click to expand...
Click to collapse
Original data will be replaced for the 1st module.
The 1st module will be replaced for the 2nd module.
android 12 working ?
The hide root option, could this work with banking apps, wallet etc? It's getting so hard to maintain root and still have banking apps etc working. Everytime magisk/usnf fixes it couple of weeks later it breaks again. Sorry if it's a daft question
I just installed Geergit on my phone and it was working..now its giving me a "root access denied" error when it was granted access via Magisk with LSPosed installed.
Why did i suddenly lose root access? I cant figure this out. tried toggling apps off. restarting phone..nothing works. it was working just minutes ago.
Slow development, many bugs...I don't recommend it.
Would be so kind as to give xda members the paid add-on free of charge? Or just pm me a license if possible. Would be greatly appreciated. (I don't use google play store)
TaZeR369 said:
Would be so kind as to give xda members the paid add-on free of charge?
Click to expand...
Click to collapse
A very strange request.
westruk said:
A very strange request.
Click to expand...
Click to collapse
It's worked before, a lot of devs sympathize with the the poor.
any plans to support changing manufacturer, model, device(ROM)? Or anyone know where to look in to doing such myself. On a Google Pixel 1, 8.1

Categories

Resources