Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Hide Mock Location #1

Closed
Lyle-N opened this issue Jun 30, 2023 · 2 comments
Closed

Hide Mock Location #1

Lyle-N opened this issue Jun 30, 2023 · 2 comments

Comments

@Lyle-N
Copy link

Lyle-N commented Jun 30, 2023

Always fails at this point

[*] Fetching services.jar...
[*] Unzipping services.jar...
Archive:  services.jar
 extracting: classes.dex
 extracting: classes2.dex
 extracting: classes3.dex
 extracting: META-INF/MANIFEST.MF
  inflating: META-INF/maven/com.google.auth/google-auth-library-credentials/pom.properties
  inflating: META-INF/maven/com.google.auth/google-auth-library-credentials/pom.xml
  inflating: META-INF/maven/com.google.auth/google-auth-library-oauth2-http/pom.properties
  inflating: META-INF/maven/com.google.auth/google-auth-library-oauth2-http/pom.xml
  inflating: META-INF/maven/com.google.code.gson/gson/pom.properties
  inflating: META-INF/maven/com.google.code.gson/gson/pom.xml
  inflating: META-INF/maven/com.google.guava/guava/pom.properties
  inflating: META-INF/maven/com.google.guava/guava/pom.xml 
  inflating: META-INF/maven/com.google.http-client/google-http-client-gson/pom.properties
  inflating: META-INF/maven/com.google.http-client/google-http-client-gson/pom.xml
  inflating: META-INF/maven/com.google.http-client/google-http-client/pom.properties
  inflating: META-INF/maven/com.google.http-client/google-http-client/pom.xml
  inflating: META-INF/proguard/androidx-annotations.pro
  inflating: META-INF/services/io.grpc.LoadBalancerProvider
  inflating: META-INF/services/io.grpc.NameResolverProvider
  inflating: android/net/DhcpResults.uau
  inflating: android/util/LocalLog.ReadOnlyLocalLog.uau
  inflating: android/util/LocalLog.uau
  inflating: com/android/internal/util/ArrayUtils.uau
  inflating: com/android/internal/util/FastPrintWriter.uau 
  inflating: com/android/internal/util/FastXmlSerializer.uau
  inflating: com/android/internal/util/HexDump.uau
  inflating: com/android/internal/util/IState.uau
  inflating: com/android/internal/util/IndentingPrintWriter.uau
  inflating: com/android/internal/util/Preconditions.uau
  inflating: com/android/internal/util/State.uau
  inflating: com/android/internal/util/StateMachine.uau
  inflating: com/android/internal/util/XmlUtils.uau
  inflating: com/android/server/TelephonyRegistry_compat_config.xml
  inflating: com/android/server/am/ActiveServices_compat_config.xml
  inflating: com/android/server/am/OomAdjuster_compat_config.xml
  inflating: com/android/server/am/ProcessList_compat_config.xml
  inflating: com/android/server/backup/utils/BackupEligibilityRules_compat_config.xml
  inflating: com/android/server/compat/CompatChange_compat_config.xml
  inflating: com/android/server/devicepolicy/DevicePolicyManagerService_compat_config.xml
  inflating: com/android/server/display/DisplayManagerService_compat_config.xml
  inflating: com/android/server/location/contexthub/ContextHubClientBroker_compat_config.xml
  inflating: com/android/server/notification/NotificationManagerService_compat_config.xml
  inflating: com/android/server/pm/PackageManagerService_compat_config.xml
  inflating: com/android/server/pm/SELinuxMMAC_compat_config.xml
  inflating: com/android/server/pm/parsing/library/AndroidTestBaseUpdater_compat_config.xml
  inflating: com/android/server/pm/permission/PermissionManagerService_compat_config.xml
  inflating: com/android/server/pm/verify/domain/DomainVerificationCollector_compat_config.xml
  inflating: com/android/server/pm/verify/domain/DomainVerificationService_compat_config.xml
  inflating: com/android/server/statusbar/StatusBarManagerService_compat_config.xml
  inflating: com/android/server/wm/CompatModePackages_compat_config.xml
  inflating: com/google/api/client/http/google-http-client.properties
  inflating: mccmnc.xml
[*] Baksmaling classes*.dex...
[*] Finding the required file...
[*] An unexpected error occured while finding the required file. Please check the above output for details. It is recommended to create an issue on GitHub with a considerable excerpt from the above logs.
[*] An unexpected error occured while logging in to Ubuntu for the patching process. Please check the above output for details. It is recommended to create an issue on GitHub with a considerable excerpt from the above logs.
@shrihankp
Copy link
Owner

shrihankp commented Jul 1, 2023

Ah... I think the file location for the mock location Boolean got changed in an update. Could you run:

proot-distro login ubuntu -- ls -Rh ~/classes*

and paste the output?

@shrihankp
Copy link
Owner

Update: Nevermind, I found the fix, but it is too hard to implement it entirely using bash scripting (there are two whole methods to override). I'm archiving this repo because it's obsolete now.

You would want to use this LSPosed / Xposed module instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants