Bypass Google's Signature Checkmod any Google application on your own and bypass Google GMS' signature checks!
Hello everyone,
After the Pixel Launcher Backport success, today I wanted to share a little bit more on how I bypassed Google's Signature Check, in order to get it working after modding and re-signing it with my own key. Please, do keep in mind that Google's signature checks have nothing to do with standard Android systems keychecking, as those just validate the package is using a valid signature. However, Google's signature check is based on GMS, the commonly named Google Play Services framework, and ensures the application hasn't been previously tampered. For now, this is something (as far as I could see) only present in Google's own apps, but I see it could easily extend to other apps in the future.
However, be warned that by doing the following, the app you're using will believe there's no Google Account linked to your device, and thus will ask you to add it. And even if you add it, it will still not work, since this breaks the link between GMS and the app that's being modded. Keep also in mind that it won't work with all apps providing this reason.
This thread will be composed of: a brief explanation on what's going on, what knowledge you need, what we will do, explained in a brief way (which will be the first post), and many, MANY examples I've prepared for you to understand it, as I've seen it's not enough with just two.
Code:
#include <std/disclaimer.h>
/* No, your warranty doesn't need to be voided!
* The following tutorial will be used exclusively for educational purposes.
* It shall never be used to modify legitimate apps in malicious ways,
* to distribute malware, spyware and such.
*
* The intention is to open the doors to small developers that want to
* theme or add functionality to other apps, but face the Google Signature
* Check problem. Feel free to add suggestions in the comments.
* Oh, and... Sorry Google :P
*/
What you will need:
Medium knowledge of Android's SMALI: Control structures, methods, classes... (basically Java, but ugly ), decompilation of applications, signing applications, etc.
A work environment: Java JDK, APKtool by @iBotPeaches or any other similar tool that supplies baksmali and smali functionality (you can use vanilla JesusFreke's tools too, if you really want to).
Knowledge of Android's logcat: You'll be working with stacktraces and apps giving FCs (Force close) during the tutorial, so you need to know how to find/grab, open, interpret them, and know how to locate something in them.
An application that presents the Google Signature Check crash when you try to open after tampering it. For example:
Code:
05-18 10:57:13.561 9540 9540 E AndroidRuntime: java.lang.SecurityException: Signature check failed for com.google.android.apps.nexuslauncher
05-18 10:57:13.561 9540 9540 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1620)
05-18 10:57:13.561 9540 9540 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1573)
05-18 10:57:13.561 9540 9540 E AndroidRuntime: at com.google.android.gms.common.internal.o.zza(Unknown Source)
05-18 10:57:13.561 9540 9540 E AndroidRuntime: at com.google.android.gms.common.internal.x.fs(Unknown Source)
05-18 10:57:13.561 9540 9540 E AndroidRuntime: at com.google.android.gms.internal.cy.yQ(Unknown Source)
05-18 10:57:13.561 9540 9540 E AndroidRuntime: at com.google.android.gms.internal.bQ.run(Unknown Source)
05-18 10:57:13.561 9540 9540 E AndroidRuntime: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
05-18 10:57:13.561 9540 9540 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-18 10:57:13.561 9540 9540 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
05-18 10:57:13.561 9540 9540 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
05-18 10:57:13.561 9540 9540 E AndroidRuntime: at com.google.android.gms.internal.bk.run(Unknown Source)
05-18 10:57:13.561 9540 9540 E AndroidRuntime: at java.lang.Thread.run(Thread.java:818)
05-18 10:57:13.562 2070 2952 W ActivityManager: Force finishing activity com.google.android.apps.nexuslauncher/.NexusLauncherActivity
A WERKIN BRAIN ECKSDEE Meeting the above, I'm sure you already had that.
What are the steps? (briefly explained):
Decompile the application, then tamper it by resigning it with our own key or by adding any modifications you need to it.
Grab a log of what went wrong. Read it and locate the first class after the readException errors. The submethod reference is the one we need to "destroy" in order to know what class is actually invoking the signature verification.
Destroy the method in a way that it's still compilable, but will refuse to work on our phone.
Recompile, sign, install and check the logs it throws. Go to the class/method that is referenced right after the class rejection error, edit it in a way that makes it not to check the signature of the package.
Restore the "destroyed" method to it's original state. Recompile, sign, push, test, test and test a trillion times. If it works, then feel free to publish it.
However, during these steps you can find different situations. For instance:
The classes appear in the root of the smali folder named alphabetically, instead of their respective folders. This happens in: Gmail, YouTube...
The first method (the one you needed to "destroy") that you located in the stacktrace is present in that class over a million times, so you need to check the previous classes in the stacktrace to see the full header of the method where it's actually calling. This happens in: Pixel Launcher, Android Messages...
Once the class is destroyed, the first method that appears in the stacktrace is a onServiceConnected, which is harder to mod than if there was any other before it. This happens in: Gmail, YouTube...
Classification of the thread's posts
2nd post: Pixel Launcher O-3743572
3rd post: Android Messages 2.2.075 (4023518-30.phone)
4th post: Gmail 7.5.7.156101332.release
5th post: YouTube 12.19.56
And a few last words before getting to the thing:
I ain't asking for donations, because I really don't need them this time. This is (one of) my hobby, and I don't mind spending time (endless hours) on making high quality threads and explanations. However, if you really feel like I deserve it, you're free to donate, here. (Or you can also leave Thanks!)
Pixel Launcher O-3743572
Tamper the app with a new signature and/or code modifications you need, preferably using latest Google's Framework, if possible. This will make the app crash (forced by Google Play Services).
Grab a logcat of the crash. It'll show a code similar to this.
Code:
05-18 22:23:14.104 13300 13300 E AndroidRuntime: java.lang.SecurityException: Signature check failed for com.google.android.apps.nexuslauncher
05-18 22:23:14.104 13300 13300 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1620)
05-18 22:23:14.104 13300 13300 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1573)
05-18 22:23:14.104 13300 13300 E AndroidRuntime: [B]at com.google.android.gms.common.internal.p.zza(Unknown Source)[/B]
05-18 22:23:14.104 13300 13300 E AndroidRuntime: [B]at com.google.android.gms.common.internal.y.eU(Unknown Source)[/B]
05-18 22:23:14.104 13300 13300 E AndroidRuntime: at com.google.android.gms.internal.cr.wV(Unknown Source)
05-18 22:23:14.104 13300 13300 E AndroidRuntime: at com.google.android.gms.internal.bO.run(Unknown Source)
05-18 22:23:14.104 13300 13300 E AndroidRuntime: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
05-18 22:23:14.104 13300 13300 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-18 22:23:14.104 13300 13300 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
05-18 22:23:14.104 13300 13300 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
05-18 22:23:14.104 13300 13300 E AndroidRuntime: at com.google.android.gms.internal.bj.run(Unknown Source)
05-18 22:23:14.104 13300 13300 E AndroidRuntime: at java.lang.Thread.run(Thread.java:818)
05-18 22:23:14.105 2070 3515 W ActivityManager: Force finishing activity com.google.android.apps.nexuslauncher/.NexusLauncherActivity
Pay attention to the first two lines that mention com.google.android.gms inside the stacktrace, as we will need to check them later. We need to check those two since the first one presents many references called zza.
Now, we are going to locate the part of the code we need to "destroy" in order to locate the class that calls those functions. This is needed because, as explained, there are many methods called the same way in our code, but with different headers. If the method only appeared once, like in Gmail example, we don't need to do this. But, since it does,
Navigate to the folder that contains the mentioned files. According to the stacktrace, the route should be something like smali/com/google/android/gms/common/internal. With an advanced text editor, like Atom, Notepad++, Kate, etc., open the file mentioned in the second line that contains com.google.android.gms inside the stacktrace. In this case, y.smali.
The part that goes after the last dot inside the stacktrace lines are called methods. Inside the file you've opened, try to search for the method that is referenced in the first line in the stacktrace that mentions com.google.android.gms, which in this case is "zza".
You'll see that, right after the method we've searched for, there is another class mentioned in it, between parenthesis (in fact, it's the header of the method we're trying to find). Copy everything until you see the semicolon that means the end of it. In this case looks like this
Code:
Lcom/google/android/gms/common/internal/zzt;Lcom/google/android/gms/common/internal/GetServiceRequest
Now open the file mentioned in the first line that contains com.google.android.gms inside the stacktrace, which in this case is p.smali.
Inside the file you've just opened, try to search for the method header that you just copied from the other class. There should appear 1 single result.
Once you're finally in this method, you have to "destroy" it. What I did was just changing a const/4 value I found in it from 0x0 to 0x1, and it was more than enough to make my phone reject the class (which is what we're looking for). In case there aren't any const/4 values, you can also cut and paste some portions of the code to a new text document and that will also make our phone reject the class (but, if you do so, please be careful not to lose them and remember the exact spot they were located, since we will need to put them back later).
Using Apktool, build the application, sign it and install it in your device. If Apktool rejects to build the code, try changing other parts as explained in the point above.
Grab a new logcat of the crash. It will look something like this.
Code:
05-18 22:38:13.749 13541 13541 E AndroidRuntime: java.lang.VerifyError: Rejecting class com.google.android.gms.common.internal.p because it failed compile-time verification (declaration of 'com.google.android.gms.common.internal.p' appears in /data/app/com.google.android.apps.nexuslauncher-1/base.apk)
05-18 22:38:13.749 13541 13541 E AndroidRuntime: at [B]com.google.android.gms.common.internal.zzu$zza.zzha[/B](Unknown Source)
05-18 22:38:13.749 13541 13541 E AndroidRuntime: at com.google.android.gms.common.internal.f.onServiceConnected(Unknown Source)
05-18 22:38:13.749 13541 13541 E AndroidRuntime: at com.google.android.gms.common.internal.A.onServiceConnected(Unknown Source)
05-18 22:38:13.749 13541 13541 E AndroidRuntime: at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1224)
05-18 22:38:13.749 13541 13541 E AndroidRuntime: at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1241)
05-18 22:38:13.749 13541 13541 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739)
05-18 22:38:13.749 13541 13541 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
05-18 22:38:13.749 13541 13541 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
05-18 22:38:13.749 13541 13541 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5461)
05-18 22:38:13.749 13541 13541 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-18 22:38:13.749 13541 13541 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
05-18 22:38:13.749 13541 13541 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
05-18 22:38:13.751 2070 3026 W ActivityManager: Force finishing activity com.google.android.apps.nexuslauncher/.NexusLauncherActivity
Pay attention to the first line of the stacktrace that mentions com.google.android.gms. Thankfully, there was another class/method just before onServiceConnected, so we are lucky to edit it.
Navigate to the folder in which the file is located. In this case, it'll look something like smali/com/google/android/gms/common/internal. Now, open the file mentioned in the stacktrace, which in this case is zzu$zza.smali (as you can see in this example, it can contain a dollar symbol in it).
Find the method referenced in the stacktrace (which could be the first method in the entire class, or even the only one). In my case, it's "zzha".
Inside the method, there are conditional tags, that look something like :cond_X, where X is a number. Find the conditional tag that, right below it, has just a return-object v0, in case it exist. In my case it exists, and it's :cond_1. Inside the method, you will see that there are sentences like if-eqz and if-nez, which make the application jump inside to a :cond_X tag if a variable contains zero in the first case, of if it doesn't contain a zero, like in the second case. Find the if-eqz or if-nez sentence that involves jumping to the :cond_X tag you just located. In my case the line looks something like this
Code:
if-eqz p0, :cond_1
Now that the line is located, change the kind of operation it does. If it's doing a if-eqz like in my case, change it to a if-nez. If it's doing a if-nez, change it to if-eqz. This will make the application jump and exit the code
(As another solution, you can remove the entire method, and just leave the generation of const/4 v0, 0x0 and the return-object v0. I'm not sure if, at this point, it will reject the class or not, but it can also be a solution if the above doesn't work).
Undo the changes you did before you recompiled the code, so you need to go back to the class you "destroyed" and put it back just as it was before (if you didn't close the text editor before, you can always Control+Z it )
Recompile, sign and try if it works. I hope it does
The workspace with the changes made is attached as reference.
Android Messages 2.2.075 (4023518-30.phone)
If you didn't understand quite well the procedure for the Pixel Launcher, here's a similar one.
Tamper the app and grab a log as explained for the Pixel Launcher, above.
Code:
06-01 11:12:09.077 17538 17538 E AndroidRuntime: java.lang.SecurityException: Signature check failed for com.google.android.apps.messaging
06-01 11:12:09.077 17538 17538 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1620)
06-01 11:12:09.077 17538 17538 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1573)
06-01 11:12:09.077 17538 17538 E AndroidRuntime: at [B]com.google.android.gms.common.internal.zzv$zza$a.zza[/B](Unknown Source)
06-01 11:12:09.077 17538 17538 E AndroidRuntime: at [B]com.google.android.gms.common.internal.zzf.a[/B](Unknown Source)
06-01 11:12:09.077 17538 17538 E AndroidRuntime: at com.google.android.gms.internal.cn$c.a(Unknown Source)
06-01 11:12:09.077 17538 17538 E AndroidRuntime: at com.google.android.gms.internal.cn$f.run(Unknown Source)
06-01 11:12:09.077 17538 17538 E AndroidRuntime: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
06-01 11:12:09.077 17538 17538 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
06-01 11:12:09.077 17538 17538 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
06-01 11:12:09.077 17538 17538 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
06-01 11:12:09.077 17538 17538 E AndroidRuntime: at com.google.android.gms.internal.o.run(Unknown Source)
If you have a glance at the first class mentioned that contains com.google.android.gms in it's name, you will see, like in the Pixel launcher, the first class that appears in the stacktrace presents various methods named the same way, in this case there are only two but we have no idea which one is used, so we will find it via the second class mentioned in the stacktrace.
Just like for the Pixel Launcher, we are going to locate the method we need to destroy by using the second file that appears in the stacktrace.
Navigate to the folder that contains the mentioned files. According to the stacktrace, the route should be something like smali/com/google/android/gms/common/internal. With an advanced text editor, like Atom, Notepad++, Kate, etc., open the file mentioned in the second line that contains com.google.android.gms inside the stacktrace. In this case, zzf.smali.
The part that goes after the last dot inside the stacktrace lines are called methods. Inside the file you've opened, try to search for the method that is referenced in the first line in the stacktrace that mentions com.google.android.gms, which in this case is "zzv".
However, unlike in the Pixel Launcher example, there are many references to zzv in our class, so we need to find the ones that are calling to zza (if you remember, the class is called "zzv$zza$a", so we will take advantage of that).
Now, try to find the occurrence in the search that has in the same line both "zzv" and "zza". You'll see they are joined by a ";->", so to short things out, you can search for "zzv;->zza".
You'll see that, right after the method we've searched for, there is another class mentioned in it, between parenthesis (in fact, it's the header of the method we're trying to find). Copy everything until you see the semicolon that means the end of it. In this case looks like this
Code:
Lcom/google/android/gms/common/internal/zzu;Lcom/google/android/gms/common/internal/r
Now open the file mentioned in the first line that contains com.google.android.gms inside the stacktrace, which in this case is zzv$zza$a.smali.
Inside the file you've just opened, try to search for the method header that you just copied from the other class. There should appear 1 single result.
Once you're finally in this method, you have to "destroy" it. In this case, the file fqn.smali, method zza(Lcom/google/android/gms/common/internal/zzu;Lcom/google/android/gms/common/internal/r;). Since there aren't any const/4 values, you can also cut and paste some portions of the code to a new text document and that will also make our phone reject the class (but, if you do so, please be careful not to lose them and remember the exact spot they were located, since we will need to put them back later).
Using Apktool, build the application, sign it and install it in your device. If Apktool rejects to build the code, try changing other parts as explained in the point above.
Grab a new logcat of the crash. It will look something like this.
Code:
06-01 11:17:25.822 18229 18229 E AndroidRuntime: java.lang.VerifyError: Rejecting class com.google.android.gms.common.internal.zzv$zza$a because it failed compile-time verification (declaration of 'com.google.android.gms.common.internal.zzv$zza$a' appears in /data/app/com.google.android.apps.messaging-2/base.apk)
06-01 11:17:25.822 18229 18229 E AndroidRuntime: at [B]com.google.android.gms.common.internal.zzv$zza.zzdf[/B](Unknown Source)
06-01 11:17:25.822 18229 18229 E AndroidRuntime: at com.google.android.gms.common.internal.zzf$g.onServiceConnected(Unknown Source)
06-01 11:17:25.822 18229 18229 E AndroidRuntime: at com.google.android.gms.common.internal.w$b$a.onServiceConnected(Unknown Source)
06-01 11:17:25.822 18229 18229 E AndroidRuntime: at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1224)
06-01 11:17:25.822 18229 18229 E AndroidRuntime: at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1241)
06-01 11:17:25.822 18229 18229 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739)
06-01 11:17:25.822 18229 18229 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
06-01 11:17:25.822 18229 18229 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
06-01 11:17:25.822 18229 18229 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5461)
06-01 11:17:25.822 18229 18229 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
06-01 11:17:25.822 18229 18229 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
06-01 11:17:25.822 18229 18229 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Pay attention to the first line of the stacktrace that mentions com.google.android.gms. Thankfully, and just like for the Pixel Launcher, there was another class/method just before onServiceConnected, so we are lucky to edit it. Rest of the steps proceed just as the Pixel Launcher.
Navigate to the folder in which the file is located. In this case, it'll look something like smali/com/google/android/gms/common/internal. Now, open the file mentioned in the stacktrace, which in this case is zzv$zza.smali.
Find the method referenced in the stacktrace (which could be the first method in the entire class, or even the only one). In my case, it's "zzdf".
Inside the method, there are conditional tags, that look something like :cond_X, where X is a number. Find the conditional tag that, right below it, has just a return-object v0, in case it exist. In my case it exists, and it's :cond_1. Inside the method, you will see that there are sentences like if-eqz and if-nez, which make the application jump inside to a :cond_X tag if a variable contains zero in the first case, of if it doesn't contain a zero, like in the second case. Find the if-eqz or if-nez sentence that involves jumping to the :cond_X tag you just located. In my case the line looks something like this
Code:
if-eqz p0, :cond_1
Now that the line is located, change the kind of operation it does. If it's doing a if-eqz like in my case, change it to a if-nez. If it's doing a if-nez, change it to if-eqz. This will make the application jump and exit the code
(As another solution, you can remove the entire method, and just leave the generation of const/4 v0, 0x0 and the return-object v0. I'm not sure if, at this point, it will reject the class or not, but it can also be a solution if the above doesn't work).
Undo the changes you did before you recompiled the code, so you need to go back to the class you "destroyed" and put it back just as it was before (if you didn't close the text editor before, you can always Control+Z it )
Recompile, sign and try if it works. I hope it does
The workspace with the changes made is attached as reference.
Gmail 7.5.7.156101332.release
The procedure was very similar to the Pixel Launcher one, but some small parts changed.
Keep in mind, you won't be able to log-in with your Google account, but you can still use it for IMAP/POP3, Exchange and ActiveSync accounts.
Tamper the app and grab a log as explained for the Pixel Launcher.
Code:
05-18 23:47:35.127 14275 14275 E AndroidRuntime: java.lang.SecurityException: Signature check failed for com.google.android.gm
05-18 23:47:35.127 14275 14275 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1620)
05-18 23:47:35.127 14275 14275 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1573)
05-18 23:47:35.127 14275 14275 E AndroidRuntime: at [B]fqn.a[/B](Unknown Source)
05-18 23:47:35.127 14275 14275 E AndroidRuntime: at fox.a(Unknown Source)
05-18 23:47:35.127 14275 14275 E AndroidRuntime: at gpd.a(Unknown Source)
05-18 23:47:35.127 14275 14275 E AndroidRuntime: at gph.run(Unknown Source)
05-18 23:47:35.127 14275 14275 E AndroidRuntime: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
05-18 23:47:35.127 14275 14275 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
05-18 23:47:35.127 14275 14275 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
05-18 23:47:35.127 14275 14275 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
05-18 23:47:35.127 14275 14275 E AndroidRuntime: at gah.run(Unknown Source)
05-18 23:47:35.127 14275 14275 E AndroidRuntime: at java.lang.Thread.run(Thread.java:818)
05-18 23:47:35.128 2070 2951 W ActivityManager: Force finishing activity com.google.android.gm/.welcome.SetupAddressesActivity
05-18 23:47:35.132 2070 2951 W ActivityManager: Force finishing activity com.google.android.gm/.welcome.WelcomeTourActivity
As you can see, the files are not in folders but left outside, in the root of the Smali folder, which probably happens due to a missing framework in Apktool. That however, won't affect the rest of the tutorial.
Since the very first file that appears in logcat's crash only contains 1 single method, we don't need to locate it like we did on the Pixel Launcher, so we can go to it directly.
Open the file mentioned in the stacktrace and then, "destroy" the method that is referenced in it. In this case, the file fqn.smali, method a. (This time, there was no const/4 to change but removing the two first invoke-static and move-result-object lines totally did the trick for me).
Recompile, sign and install. Grab a log and check the first line where it crashes.
Code:
05-18 23:49:59.857 14406 14406 E AndroidRuntime: java.lang.VerifyError: Rejecting class fqn because it failed compile-time verification (declaration of 'fqn' appears in /data/app/com.google.android.gm-1/base.apk)
05-18 23:49:59.857 14406 14406 E AndroidRuntime: at [B]fpf.onServiceConnected[/B](Unknown Source)
05-18 23:49:59.857 14406 14406 E AndroidRuntime: at fpz.onServiceConnected(Unknown Source)
05-18 23:49:59.857 14406 14406 E AndroidRuntime: at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1224)
05-18 23:49:59.857 14406 14406 E AndroidRuntime: at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1241)
05-18 23:49:59.857 14406 14406 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739)
05-18 23:49:59.857 14406 14406 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
05-18 23:49:59.857 14406 14406 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
05-18 23:49:59.857 14406 14406 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5461)
05-18 23:49:59.857 14406 14406 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-18 23:49:59.857 14406 14406 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
05-18 23:49:59.857 14406 14406 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
As you can see, unfortunately there is no class preceding the onServiceConnected methods, like there was in the Pixel Launcher, so we need to edit them directly.
Open the first file mentioned in the stacktrace, and locate the onServiceConnected method.
Inside it, we need to find where it calls the class we "destroyed" before, which in this case is named "fqn".
Check the name of the conditional tag :cond_X that appears right above. In this case, it is under :cond_2.
Find all the if-eqz and if-nez sentences that do redirect to the :cond_X you've found, and invert them, from if-eqz to if-nez, and from if-nez to if-eqz.
If the class name appears several times, repeat this for all the conditional tags that contain it.
Undo the changes you did to the "destroyed" class (in this case, fqn.smali).
Recompile, sign and try if it works. I hope it does
The workspace with the changes made is attached as reference.
YouTube 12.19.56-1219563300
Another one, very similar to Gmail example above.
Keep in mind, you won't be able to log-in with your Google account, but you can still play back any videos you want.
Tamper the app and grab a log as explained for the Pixel Launcher.
Code:
06-01 10:56:51.180 16805 16805 E AndroidRuntime: java.lang.SecurityException: Signature check failed for com.google.android.youtube
06-01 10:56:51.180 16805 16805 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1620)
06-01 10:56:51.180 16805 16805 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1573)
06-01 10:56:51.180 16805 16805 E AndroidRuntime: at [B]jsb.a[/B](Unknown Source)
06-01 10:56:51.180 16805 16805 E AndroidRuntime: at jqo.a(Unknown Source)
06-01 10:56:51.180 16805 16805 E AndroidRuntime: at kgs.a(Unknown Source)
06-01 10:56:51.180 16805 16805 E AndroidRuntime: at kgw.run(Unknown Source)
06-01 10:56:51.180 16805 16805 E AndroidRuntime: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
06-01 10:56:51.180 16805 16805 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
06-01 10:56:51.180 16805 16805 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
06-01 10:56:51.180 16805 16805 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
06-01 10:56:51.180 16805 16805 E AndroidRuntime: at kiu.run(Unknown Source)
06-01 10:56:51.180 16805 16805 E AndroidRuntime: at java.lang.Thread.run(Thread.java:818)
06-01 10:56:51.181 6035 6346 W ActivityManager: Force finishing activity com.google.android.youtube/com.google.android.apps.youtube.app.WatchWhileActivity
As you can see, once again the files are not in folders but left outside, in the root of the Smali folder, which probably happens due to a missing framework in Apktool.
Since the very first file that appears in logcat's crash only contains 1 single method, we don't need to locate it like we did on the Pixel Launcher, so we can go to it directly.
Open the file mentioned in the stacktrace and then, "destroy" the method that is referenced in it. In this case, the file jsb.smali, method a. (Once again, there was no const/4 to change but removing the two first invoke-static and move-result-object lines totally did the trick for me).
Recompile, sign and install. Grab a log and check the first line where it crashes.
Code:
06-01 11:00:57.877 16985 16985 E AndroidRuntime: java.lang.VerifyError: Rejecting class jsb because it failed compile-time verification (declaration of 'jsb' appears in /data/app/com.google.android.youtube-2/base.apk)
06-01 11:00:57.877 16985 16985 E AndroidRuntime: at [B]jqw.onServiceConnected[/B](Unknown Source)
06-01 11:00:57.877 16985 16985 E AndroidRuntime: at jrq.onServiceConnected(Unknown Source)
06-01 11:00:57.877 16985 16985 E AndroidRuntime: at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1224)
06-01 11:00:57.877 16985 16985 E AndroidRuntime: at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1241)
06-01 11:00:57.877 16985 16985 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739)
06-01 11:00:57.877 16985 16985 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
06-01 11:00:57.877 16985 16985 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
06-01 11:00:57.877 16985 16985 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5461)
06-01 11:00:57.877 16985 16985 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
06-01 11:00:57.877 16985 16985 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
06-01 11:00:57.877 16985 16985 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
06-01 11:00:57.878 6035 8017 W ActivityManager: Force finishing activity com.google.android.youtube/com.google.android.apps.youtube.app.WatchWhileActivity
As you can see, once again there is no class preceding the onServiceConnected methods, like there was in the Pixel Launcher, so we need to edit them directly.
Open the first file mentioned in the stacktrace, "jqw.smali", and locate the onServiceConnected method.
Inside it, we need to find where it calls the class we "destroyed" before, which in this case is named "jsb".
Check the name of the conditional tag :cond_X that appears right above. In this case, it is under :cond_2.
Find all the if-eqz and if-nez sentences that do redirect to the :cond_X you've found, and invert them, from if-eqz to if-nez, and from if-nez to if-eqz.
If the class name appears several times, repeat this for all the conditional tags that contain it.
Undo the changes you did to the "destroyed" class (in this case, jsb.smali).
Recompile, sign and try if it works. I hope it does
The workspace with the changes made is attached here as reference.
After over a year, some people said they found my tutorial useful (up to today's APKs even) and that I should consider on leaving it opened for any kind of doubt or comment someone would like to say here. So I'll keep it opened.
Hello, do you have a solution to get around the waze signature?
Thank you
I have a Oneplus One that constantly crashes because of hardware issues. I have made a TWRP backup of that phone.
So I bought a new OnePlus One inserted my SIM card and using TWRP I installed the backup that I made on the old phone using the 'Recover' button in TWRP.
I also copied over everything that was in '/sdcard' on my old phone into '/sdcard' on my new phone. (before that I deleted everything from that folder besides TRWP)
The backup seems to be fully restored on the new phone and I can use it.
But I have 'No service'. It did ask me for my SIM card PIN, but that's it. I can't make call, send SMS oder use mobile data.
Could this be somehow related to the fact that some IDs in the phone changed? IMEI maybe? What can I do about it?
Device: OnePlus One
Recovery: Latest TWRP for my device
ROM: Cyanogenmod 13.0-2016-08-19
Android: 6.0.1
Tweaks: Xposed Framework v86, Xprivacy 3.6.19 (481), AFWall+ 2.9.7, MicroG instead of GAPPS, Autostarts 1.9.7
Aps like calendar, weather service etc disabled
Google Maps and Google heavily restricted and without Internet
Here is my logcat *:E (Please keep in mind most of these errors already occured on my old device, the software didn't change after all.)
HTML:
11-05 00:29:22.232 1778 1778 E ConnectivityService: Ignoring protectedNetwork 15
11-05 00:29:22.599 1778 1778 E AppSgstMgrService: no app suggest provider found
11-05 00:29:22.612 1778 1778 E BrokerableCMSystemService: Setting brokered service connection [email protected]829f3
11-05 00:29:22.612 1778 1778 E BrokerableCMSystemService: Setting brokered service connection [email protected]416b0
11-05 00:29:22.614 1778 1778 E BrokerableCMSystemService: Setting brokered service connection or[email protected]ec77929
11-05 00:29:22.614 1778 1778 E BrokerableCMSystemService: Setting brokered service connection or[email protected]8f44ae
11-05 00:29:22.617 1778 1778 E BrokerableCMSystemService: Setting brokered service connection [email protected]81724f
11-05 00:29:22.618 1778 1778 E BrokerableCMSystemService: Setting brokered service connection [email protected]beddc
11-05 00:29:22.666 1778 1778 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/password.key: open failed: ENOENT (No such file or directory)
11-05 00:29:22.696 1778 1778 E WifiService: Invoking mWifiStateMachine.setWifiEnabled
11-05 00:29:23.847 1778 1778 E NetdConnector: NDC Command {2 bandwidth enable} took too long (561ms)
11-05 00:29:24.021 1778 2760 E NetdConnector: NDC Command {3 softap fwreload wlan0 STA} took too long (716ms)
11-05 00:29:24.773 1778 1778 E NetdConnector: NDC Command {4 strict enable} took too long (925ms)
11-05 00:29:24.774 1778 2760 E NetdConnector: NDC Command {5 interface getcfg wlan0} took too long (752ms)
11-05 00:29:26.448 1778 1778 E BrokerableCMSystemService: Failed to bind to implementation ComponentInfo{org.cyanogenmod.weatherservice/org.cyanogenmod.weatherservice.WeatherManagerService}
11-05 00:29:26.583 1778 1778 E InputMethodManagerService: Ignoring updateSystemUiLocked due to an invalid token. uid:1000 token:null
11-05 00:29:26.801 1778 1778 E LocationManagerService: Unable to bind FusedProxy.
11-05 00:29:26.803 1778 1778 E LocationManagerService: Unable to bind FLP Geofence proxy.
11-05 00:29:26.834 1778 1778 E LocationManagerService: Unable to bind ActivityRecognitionProxy.
11-05 00:29:27.539 1778 1778 E ActivityThread: Failed to find provider info for com.android.calendar
11-05 00:29:27.539 1778 1778 E ActivityThread: Failed to find provider info for com.android.calendar
11-05 00:29:27.938 1778 2762 E ConnectivityService: Failed to find Messenger in unregisterNetworkFactory
11-05 00:29:28.634 3610 3610 E ActivityThread: Service org.microg.nlp.geocode.GeocodeServiceV1 has leaked ServiceConnection [email protected] that was originally bound here
11-05 00:29:28.634 3610 3610 E ActivityThread: android.app.ServiceConnectionLeaked: Service org.microg.nlp.geocode.GeocodeServiceV1 has leaked ServiceConnection [email protected] that was originally bound here
11-05 00:29:28.634 3610 3610 E ActivityThread: at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1093)
11-05 00:29:28.634 3610 3610 E ActivityThread: at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:987)
11-05 00:29:28.634 3610 3610 E ActivityThread: at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1313)
11-05 00:29:28.634 3610 3610 E ActivityThread: at android.app.ContextImpl.bindService(ContextImpl.java:1296)
11-05 00:29:28.634 3610 3610 E ActivityThread: at android.content.ContextWrapper.bindService(ContextWrapper.java:610)
11-05 00:29:28.634 3610 3610 E ActivityThread: at org.microg.nlp.AbstractBackendHelper.bind(AbstractBackendHelper.java:94)
11-05 00:29:28.634 3610 3610 E ActivityThread: at org.microg.nlp.geocode.BackendFuser.bind(BackendFuser.java:41)
11-05 00:29:28.634 3610 3610 E ActivityThread: at org.microg.nlp.geocode.GeocodeProviderV1.<init>(GeocodeProviderV1.java:32)
11-05 00:29:28.634 3610 3610 E ActivityThread: at org.microg.nlp.geocode.GeocodeServiceV1.getProvider(GeocodeServiceV1.java:30)
11-05 00:29:28.634 3610 3610 E ActivityThread: at org.microg.nlp.geocode.GeocodeServiceV1.getProvider(GeocodeServiceV1.java:19)
11-05 00:29:28.634 3610 3610 E ActivityThread: at org.microg.nlp.AbstractProviderService.onBind(AbstractProviderService.java:38)
11-05 00:29:28.634 3610 3610 E ActivityThread: at android.app.ActivityThread.handleBindService(ActivityThread.java:2938)
11-05 00:29:28.634 3610 3610 E ActivityThread: at android.app.ActivityThread.-wrap2(ActivityThread.java)
11-05 00:29:28.634 3610 3610 E ActivityThread: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1451)
11-05 00:29:28.634 3610 3610 E ActivityThread: at android.os.Handler.dispatchMessage(Handler.java:102)
11-05 00:29:28.634 3610 3610 E ActivityThread: at android.os.Looper.loop(Looper.java:148)
11-05 00:29:28.634 3610 3610 E ActivityThread: at android.app.ActivityThread.main(ActivityThread.java:5461)
11-05 00:29:28.634 3610 3610 E ActivityThread: at java.lang.reflect.Method.invoke(Native Method)
11-05 00:29:28.634 3610 3610 E ActivityThread: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
11-05 00:29:28.634 3610 3610 E ActivityThread: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
11-05 00:29:28.634 3610 3610 E ActivityThread: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)
11-05 00:29:30.411 3947 4139 E ActivityThread: Failed to find provider info for com.android.exchange.directory.provider
11-05 00:29:32.403 4576 4765 E ActivityThread: Failed to find provider info for com.google.android.partnersetup.rlzappprovider
11-05 00:29:34.299 1778 4935 E ActivityThread: Failed to find provider info for downloads
11-05 00:29:34.299 1778 4935 E BootReceiver: Can't remove old update packages
11-05 00:29:34.299 1778 4935 E BootReceiver: java.lang.IllegalArgumentException: Unknown URL content://downloads/my_downloads
11-05 00:29:34.299 1778 4935 E BootReceiver: at android.content.ContentResolver.delete(ContentResolver.java:1328)
11-05 00:29:34.299 1778 4935 E BootReceiver: at android.provider.Downloads.removeAllDownloadsByPackage(Downloads.java:810)
11-05 00:29:34.299 1778 4935 E BootReceiver: at com.android.server.BootReceiver.removeOldUpdatePackages(BootReceiver.java:93)
11-05 00:29:34.299 1778 4935 E BootReceiver: at com.android.server.BootReceiver.-wrap2(BootReceiver.java)
11-05 00:29:34.299 1778 4935 E BootReceiver: at com.android.server.BootReceiver$1.run(BootReceiver.java:82)
--------- beginning of main
11-05 00:29:38.000 6082 6163 E Parcel : Reading a NULL string not supported here.
11-05 00:29:38.007 6082 6163 E Parcel : Reading a NULL string not supported here.
11-05 00:29:38.101 6082 6163 E Parcel : Reading a NULL string not supported here.
11-05 00:29:38.107 6082 6163 E Parcel : Reading a NULL string not supported here.
11-05 00:29:38.247 6098 6098 E Parcel : Reading a NULL string not supported here.
11-05 00:29:38.254 6098 6098 E Parcel : Reading a NULL string not supported here.
11-05 00:29:38.259 6098 6098 E Parcel : Reading a NULL string not supported here.
11-05 00:29:38.265 6098 6098 E Parcel : Reading a NULL string not supported here.
11-05 00:29:38.271 6098 6098 E Parcel : Reading a NULL string not supported here.
11-05 00:29:44.057 5016 5016 E Parcel : Reading a NULL string not supported here.
11-05 00:29:44.065 5016 5016 E Parcel : Reading a NULL string not supported here.
11-05 00:29:44.246 1778 2762 E ConnectivityService: Unexpected mtu value: 0, wlan0
11-05 00:29:44.410 1778 1778 E BrokerableCMSystemService: Failed to bind to implementation ComponentInfo{org.cyanogenmod.weatherservice/org.cyanogenmod.weatherservice.WeatherManagerService}
11-05 00:29:44.532 5222 5222 E Volley : [1] UpdateCheckService.onErrorResponse: Error:
11-05 00:29:44.532 5222 5222 E Volley : [1] UpdateCheckService.onErrorResponse: Error type: com.android.volley.NoConnectionError: java.net.ConnectException: failed to connect to download.cyanogenmod.org/172.217.22.115 (port 443) after 5000ms: isConnected failed: ECONNREFUSED (Connection refused)
11-05 00:29:46.164 3781 4250 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
11-05 00:29:46.179 3781 4278 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
11-05 00:29:46.203 3781 4250 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
11-05 00:29:46.213 3781 6642 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
11-05 00:29:46.219 3781 4608 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
11-05 00:29:46.226 3781 4278 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
11-05 00:29:46.240 3781 3802 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.
11-05 00:29:47.211 6669 6720 E ActivityThread: Failed to find provider info for com.google.android.partnersetup.rlzappprovider
11-05 00:29:48.017 6757 6757 E Parcel : Reading a NULL string not supported here.
11-05 00:29:48.028 6757 6757 E Parcel : Reading a NULL string not supported here.
11-05 00:29:48.038 6757 6757 E Parcel : Reading a NULL string not supported here.
11-05 00:29:54.222 4719 4719 E MessagingApp: SmsSender: failure in sending message part. requestId=content://sms/137 partId=0 resultCode=4 errorCode=0
11-05 00:29:54.225 4719 4792 E MessagingApp: MmsUtils: SMS temporary failure
11-05 00:30:29.388 4719 4719 E MessagingApp: SmsSender: failure in sending message part. requestId=content://sms/137 partId=0 resultCode=4 errorCode=0
11-05 00:30:29.388 4719 6977 E MessagingApp: MmsUtils: SMS temporary failure
11-05 00:30:45.247 4719 4719 E MessagingApp: SmsSender: failure in sending message part. requestId=content://sms/137 partId=0 resultCode=4 errorCode=0
11-05 00:30:45.247 4719 7098 E MessagingApp: MmsUtils: SMS temporary failure
11-05 00:31:13.891 4719 4719 E MessagingApp: SmsSender: failure in sending message part. requestId=content://sms/137 partId=0 resultCode=4 errorCode=0
11-05 00:31:13.891 4719 7153 E MessagingApp: MmsUtils: SMS temporary failure
11-05 00:31:55.143 4719 4719 E MessagingApp: SmsSender: failure in sending message part. requestId=content://sms/137 partId=0 resultCode=4 errorCode=0
11-05 00:31:55.147 4719 7656 E MessagingApp: MmsUtils: SMS temporary failure
11-05 00:33:16.409 4719 4719 E MessagingApp: SmsSender: failure in sending message part. requestId=content://sms/137 partId=0 resultCode=4 errorCode=0
11-05 00:33:16.410 4719 7793 E MessagingApp: MmsUtils: SMS temporary failure
11-05 00:36:01.640 4719 4719 E MessagingApp: SmsSender: failure in sending message part. requestId=content://sms/137 partId=0 resultCode=4 errorCode=0
11-05 00:36:01.640 4719 8273 E MessagingApp: MmsUtils: SMS temporary failure
11-05 00:37:46.284 3781 3781 E Xposed : java.lang.NoSuchMethodError: com.android.settings.location.SettingsInjector#parseServiceInfo(android.content.pm.ResolveInfo,android.content.pm.PackageManager)#exact
11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:337)
11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:178)
11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:253)
11-05 00:37:46.284 3781 3781 E Xposed : at be.r3w6.intika.xposedunifiednlp.UnifiedNlp.handleLoadPackage(UnifiedNlp.java:31)
11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:34)
11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:61)
11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:106)
11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.XposedInit$4.afterHookedMethod(XposedInit.java:172)
11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:348)
11-05 00:37:46.284 3781 3781 E Xposed : at android.app.LoadedApk.<init>(<Xposed>)
11-05 00:37:46.284 3781 3781 E Xposed : at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1858)
11-05 00:37:46.284 3781 3781 E Xposed : at android.app.ActivityThread.getPackageInfoNoCheck(ActivityThread.java:1820)
11-05 00:37:46.284 3781 3781 E Xposed : at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1361)
11-05 00:37:46.284 3781 3781 E Xposed : at android.os.Handler.dispatchMessage(Handler.java:102)
11-05 00:37:46.284 3781 3781 E Xposed : at android.os.Looper.loop(Looper.java:148)
11-05 00:37:46.284 3781 3781 E Xposed : at android.app.ActivityThread.main(ActivityThread.java:5461)
11-05 00:37:46.284 3781 3781 E Xposed : at java.lang.reflect.Method.invoke(Native Method)
11-05 00:37:46.284 3781 3781 E Xposed : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
11-05 00:37:46.284 3781 3781 E Xposed : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)
11-05 00:38:04.278 383 2771 E bt_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null
11-05 00:38:05.039 383 2770 E bt_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null
11-05 00:46:22.314 4719 8980 E MessagingApp: MmsUtils: sending SMS timed out
11-05 00:46:22.563 4719 9272 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-05 08:50:42.257 2838 2838 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
11-05 08:50:42.258 2838 2838 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
11-05 08:50:42.272 2838 2838 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
11-05 08:50:42.272 2838 2838 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
11-05 08:50:42.491 383 2770 E bt_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null
11-05 08:50:51.099 4719 4719 E MessagingApp: SmsSender: failure in sending message part. requestId=content://sms/137 partId=0 resultCode=4 errorCode=0
11-05 08:50:51.099 4719 4719 E MessagingApp: SmsSender: ignoring sent result. requestId=content://sms/137 partId=0 resultCode=4
11-05 08:51:01.757 5440 5440 E ProcessUtils: XPrivacy
11-05 08:51:01.757 5440 5440 E ProcessUtils: java.io.FileNotFoundException: XPrivacy
11-05 08:51:01.757 5440 5440 E ProcessUtils: at biz.bokhorst.xprivacy.XIoBridge.a(SourceFile:136)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at biz.bokhorst.xprivacy.XPrivacy$XMethodHook.beforeHookedMethod(SourceFile:628)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:314)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at libcore.io.IoBridge.open(<Xposed>)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at java.io.FileInputStream.<init>(FileInputStream.java:76)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at java.io.FileInputStream.<init>(FileInputStream.java:103)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at java.io.FileReader.<init>(FileReader.java:66)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.android.gms.common.util.e.a(Unknown Source)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.android.gms.common.util.e.a(Unknown Source)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.android.gms.measurement.internal.p.N(Unknown Source)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.android.gms.measurement.internal.ab.<init>(Unknown Source)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.android.gms.measurement.internal.aj.<init>(Unknown Source)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.android.gms.measurement.internal.aj.a(Unknown Source)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.android.gms.measurement.AppMeasurement.getInstance(Unknown Source)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at java.lang.reflect.Method.invoke(Native Method)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.firebase.a.a(Unknown Source)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.firebase.a.a(Unknown Source)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.firebase.a.a(Unknown Source)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.firebase.provider.FirebaseInitProvider.onCreate(Unknown Source)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.content.ContentProvider.attachInfo(ContentProvider.java:1748)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.content.ContentProvider.attachInfo(ContentProvider.java:1723)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.app.ActivityThread.installProvider(ActivityThread.java:5197)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.app.ActivityThread.installContentProviders(ActivityThread.java:4792)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4732)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.app.ActivityThread.handleBindApplication(<Xposed>)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.app.ActivityThread.-wrap1(ActivityThread.java)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1424)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.os.Handler.dispatchMessage(Handler.java:102)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.os.Looper.loop(Looper.java:148)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.app.ActivityThread.main(ActivityThread.java:5461)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at java.lang.reflect.Method.invoke(Native Method)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
11-05 08:51:01.757 5440 5440 E ProcessUtils: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)
11-05 08:51:02.937 5440 5440 E RecyclerView: No adapter attached; skipping layout
11-05 08:51:03.094 5440 5440 E RecyclerView: No adapter attached; skipping layout
11-05 08:52:19.980 5440 5828 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
11-05 08:52:19.980 5440 5828 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
11-05 08:52:20.037 383 5834 E OMXNodeInstance: setConfig(39:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
11-05 08:52:20.069 383 2323 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
11-05 08:52:20.069 383 2323 E ACDB-LOADER: Error: ACDB AFE returned = -19
11-05 08:54:31.993 5440 6091 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
11-05 08:54:31.993 5440 6091 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0
11-05 08:54:32.049 383 6097 E OMXNodeInstance: setConfig(3a:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
11-05 08:54:32.074 383 2323 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
11-05 08:54:32.074 383 2323 E ACDB-LOADER: Error: ACDB AFE returned = -19
11-05 08:54:54.329 4719 4719 E ApkAssets: Error while loading asset assets/natives_blob_64.bin: java.io.FileNotFoundException: assets/natives_blob_64.bin
11-05 08:54:54.329 4719 4719 E ApkAssets: Error while loading asset assets/snapshot_blob_64.bin: java.io.FileNotFoundException: assets/snapshot_blob_64.bin
11-05 08:57:48.994 383 2329 E bt_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null
11-05 09:00:11.154 383 2771 E bt_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null
11-05 09:00:46.880 383 2770 E bt_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null
11-05 09:03:07.713 383 383 E bt_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null
ferivon said:
I have a Oneplus One that constantly crashes because of hardware issues. I have made a TWRP backup of that phone.
So I bought a new OnePlus One inserted my SIM card and using TWRP I installed the backup that I made on the old phone using the 'Recover' button in TWRP.
I also copied over everything that was in '/sdcard' on my old phone into '/sdcard' on my new phone. (before that I deleted everything from that folder besides TRWP)
The backup seems to be fully restored on the new phone and I can use it.
But I have 'No service'. It did ask me for my SIM card PIN, but that's it. I can't make call, send SMS oder use mobile data.
Could this be somehow related to the fact that some IDs in the phone changed? IMEI maybe? What can I do about it?
Device: OnePlus One
Recovery: Latest TWRP for my device
ROM: Cyanogenmod 13.0-2016-08-19
Android: 6.0.1
Tweaks: Xposed Framework v86, Xprivacy 3.6.19 (481), AFWall+ 2.9.7, MicroG instead of GAPPS, Autostarts 1.9.7
Aps like calendar, weather service etc disabled
Google Maps and Google heavily restricted and without Internet
Here is my logcat *:E (Please keep in mind most of these errors already occured on my old device, the software didn't change after all.)
HTML:
11-05 00:29:22.232 1778 1778 E ConnectivityService: Ignoring protectedNetwork 1511-05 00:29:22.599 1778 1778 E AppSgstMgrService: no app suggest provider found11-05 00:29:22.612 1778 1778 E BrokerableCMSystemService: Setting brokered service connection [email protected]829f311-05 00:29:22.612 1778 1778 E BrokerableCMSystemService: Setting brokered service connection [email protected]416b011-05 00:29:22.614 1778 1778 E BrokerableCMSystemService: Setting brokered service connection or[email protected]ec7792911-05 00:29:22.614 1778 1778 E BrokerableCMSystemService: Setting brokered service connection or[email protected]8f44ae11-05 00:29:22.617 1778 1778 E BrokerableCMSystemService: Setting brokered service connection [email protected]81724f11-05 00:29:22.618 1778 1778 E BrokerableCMSystemService: Setting brokered service connection [email protected]beddc11-05 00:29:22.666 1778 1778 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system/password.key: open failed: ENOENT (No such file or directory)11-05 00:29:22.696 1778 1778 E WifiService: Invoking mWifiStateMachine.setWifiEnabled11-05 00:29:23.847 1778 1778 E NetdConnector: NDC Command {2 bandwidth enable} took too long (561ms)11-05 00:29:24.021 1778 2760 E NetdConnector: NDC Command {3 softap fwreload wlan0 STA} took too long (716ms)11-05 00:29:24.773 1778 1778 E NetdConnector: NDC Command {4 strict enable} took too long (925ms)11-05 00:29:24.774 1778 2760 E NetdConnector: NDC Command {5 interface getcfg wlan0} took too long (752ms)11-05 00:29:26.448 1778 1778 E BrokerableCMSystemService: Failed to bind to implementation ComponentInfo{org.cyanogenmod.weatherservice/org.cyanogenmod.weatherservice.WeatherManagerService}11-05 00:29:26.583 1778 1778 E InputMethodManagerService: Ignoring updateSystemUiLocked due to an invalid token. uid:1000 token:null11-05 00:29:26.801 1778 1778 E LocationManagerService: Unable to bind FusedProxy.11-05 00:29:26.803 1778 1778 E LocationManagerService: Unable to bind FLP Geofence proxy.11-05 00:29:26.834 1778 1778 E LocationManagerService: Unable to bind ActivityRecognitionProxy.11-05 00:29:27.539 1778 1778 E ActivityThread: Failed to find provider info for com.android.calendar11-05 00:29:27.539 1778 1778 E ActivityThread: Failed to find provider info for com.android.calendar11-05 00:29:27.938 1778 2762 E ConnectivityService: Failed to find Messenger in unregisterNetworkFactory11-05 00:29:28.634 3610 3610 E ActivityThread: Service org.microg.nlp.geocode.GeocodeServiceV1 has leaked ServiceConnection [email protected] that was originally bound here11-05 00:29:28.634 3610 3610 E ActivityThread: android.app.ServiceConnectionLeaked: Service org.microg.nlp.geocode.GeocodeServiceV1 has leaked ServiceConnection [email protected] that was originally bound here11-05 00:29:28.634 3610 3610 E ActivityThread: at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1093)11-05 00:29:28.634 3610 3610 E ActivityThread: at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:987)11-05 00:29:28.634 3610 3610 E ActivityThread: at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1313)11-05 00:29:28.634 3610 3610 E ActivityThread: at android.app.ContextImpl.bindService(ContextImpl.java:1296)11-05 00:29:28.634 3610 3610 E ActivityThread: at android.content.ContextWrapper.bindService(ContextWrapper.java:610)11-05 00:29:28.634 3610 3610 E ActivityThread: at org.microg.nlp.AbstractBackendHelper.bind(AbstractBackendHelper.java:94)11-05 00:29:28.634 3610 3610 E ActivityThread: at org.microg.nlp.geocode.BackendFuser.bind(BackendFuser.java:41)11-05 00:29:28.634 3610 3610 E ActivityThread: at org.microg.nlp.geocode.GeocodeProviderV1.<init>(GeocodeProviderV1.java:32)11-05 00:29:28.634 3610 3610 E ActivityThread: at org.microg.nlp.geocode.GeocodeServiceV1.getProvider(GeocodeServiceV1.java:30)11-05 00:29:28.634 3610 3610 E ActivityThread: at org.microg.nlp.geocode.GeocodeServiceV1.getProvider(GeocodeServiceV1.java:19)11-05 00:29:28.634 3610 3610 E ActivityThread: at org.microg.nlp.AbstractProviderService.onBind(AbstractProviderService.java:38)11-05 00:29:28.634 3610 3610 E ActivityThread: at android.app.ActivityThread.handleBindService(ActivityThread.java:2938)11-05 00:29:28.634 3610 3610 E ActivityThread: at android.app.ActivityThread.-wrap2(ActivityThread.java)11-05 00:29:28.634 3610 3610 E ActivityThread: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1451)11-05 00:29:28.634 3610 3610 E ActivityThread: at android.os.Handler.dispatchMessage(Handler.java:102)11-05 00:29:28.634 3610 3610 E ActivityThread: at android.os.Looper.loop(Looper.java:148)11-05 00:29:28.634 3610 3610 E ActivityThread: at android.app.ActivityThread.main(ActivityThread.java:5461)11-05 00:29:28.634 3610 3610 E ActivityThread: at java.lang.reflect.Method.invoke(Native Method)11-05 00:29:28.634 3610 3610 E ActivityThread: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)11-05 00:29:28.634 3610 3610 E ActivityThread: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)11-05 00:29:28.634 3610 3610 E ActivityThread: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)11-05 00:29:30.411 3947 4139 E ActivityThread: Failed to find provider info for com.android.exchange.directory.provider11-05 00:29:32.403 4576 4765 E ActivityThread: Failed to find provider info for com.google.android.partnersetup.rlzappprovider11-05 00:29:34.299 1778 4935 E ActivityThread: Failed to find provider info for downloads11-05 00:29:34.299 1778 4935 E BootReceiver: Can't remove old update packages11-05 00:29:34.299 1778 4935 E BootReceiver: java.lang.IllegalArgumentException: Unknown URL content://downloads/my_downloads11-05 00:29:34.299 1778 4935 E BootReceiver: at android.content.ContentResolver.delete(ContentResolver.java:1328)11-05 00:29:34.299 1778 4935 E BootReceiver: at android.provider.Downloads.removeAllDownloadsByPackage(Downloads.java:810)11-05 00:29:34.299 1778 4935 E BootReceiver: at com.android.server.BootReceiver.removeOldUpdatePackages(BootReceiver.java:93)11-05 00:29:34.299 1778 4935 E BootReceiver: at com.android.server.BootReceiver.-wrap2(BootReceiver.java)11-05 00:29:34.299 1778 4935 E BootReceiver: at com.android.server.BootReceiver$1.run(BootReceiver.java:82)--------- beginning of main11-05 00:29:38.000 6082 6163 E Parcel : Reading a NULL string not supported here.11-05 00:29:38.007 6082 6163 E Parcel : Reading a NULL string not supported here.11-05 00:29:38.101 6082 6163 E Parcel : Reading a NULL string not supported here.11-05 00:29:38.107 6082 6163 E Parcel : Reading a NULL string not supported here.11-05 00:29:38.247 6098 6098 E Parcel : Reading a NULL string not supported here.11-05 00:29:38.254 6098 6098 E Parcel : Reading a NULL string not supported here.11-05 00:29:38.259 6098 6098 E Parcel : Reading a NULL string not supported here.11-05 00:29:38.265 6098 6098 E Parcel : Reading a NULL string not supported here.11-05 00:29:38.271 6098 6098 E Parcel : Reading a NULL string not supported here.11-05 00:29:44.057 5016 5016 E Parcel : Reading a NULL string not supported here.11-05 00:29:44.065 5016 5016 E Parcel : Reading a NULL string not supported here.11-05 00:29:44.246 1778 2762 E ConnectivityService: Unexpected mtu value: 0, wlan011-05 00:29:44.410 1778 1778 E BrokerableCMSystemService: Failed to bind to implementation ComponentInfo{org.cyanogenmod.weatherservice/org.cyanogenmod.weatherservice.WeatherManagerService}11-05 00:29:44.532 5222 5222 E Volley : [1] UpdateCheckService.onErrorResponse: Error:11-05 00:29:44.532 5222 5222 E Volley : [1] UpdateCheckService.onErrorResponse: Error type: com.android.volley.NoConnectionError: java.net.ConnectException: failed to connect to download.cyanogenmod.org/172.217.22.115 (port 443) after 5000ms: isConnected failed: ECONNREFUSED (Connection refused)11-05 00:29:46.164 3781 4250 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.11-05 00:29:46.179 3781 4278 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.11-05 00:29:46.203 3781 4250 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.11-05 00:29:46.213 3781 6642 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.11-05 00:29:46.219 3781 4608 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.11-05 00:29:46.226 3781 4278 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.11-05 00:29:46.240 3781 3802 E PhoneInterfaceManager: [PhoneIntfMgr] getIccId: ICC ID is null or empty.11-05 00:29:47.211 6669 6720 E ActivityThread: Failed to find provider info for com.google.android.partnersetup.rlzappprovider11-05 00:29:48.017 6757 6757 E Parcel : Reading a NULL string not supported here.11-05 00:29:48.028 6757 6757 E Parcel : Reading a NULL string not supported here.11-05 00:29:48.038 6757 6757 E Parcel : Reading a NULL string not supported here.11-05 00:29:54.222 4719 4719 E MessagingApp: SmsSender: failure in sending message part. requestId=content://sms/137 partId=0 resultCode=4 errorCode=011-05 00:29:54.225 4719 4792 E MessagingApp: MmsUtils: SMS temporary failure11-05 00:30:29.388 4719 4719 E MessagingApp: SmsSender: failure in sending message part. requestId=content://sms/137 partId=0 resultCode=4 errorCode=011-05 00:30:29.388 4719 6977 E MessagingApp: MmsUtils: SMS temporary failure11-05 00:30:45.247 4719 4719 E MessagingApp: SmsSender: failure in sending message part. requestId=content://sms/137 partId=0 resultCode=4 errorCode=011-05 00:30:45.247 4719 7098 E MessagingApp: MmsUtils: SMS temporary failure11-05 00:31:13.891 4719 4719 E MessagingApp: SmsSender: failure in sending message part. requestId=content://sms/137 partId=0 resultCode=4 errorCode=011-05 00:31:13.891 4719 7153 E MessagingApp: MmsUtils: SMS temporary failure11-05 00:31:55.143 4719 4719 E MessagingApp: SmsSender: failure in sending message part. requestId=content://sms/137 partId=0 resultCode=4 errorCode=011-05 00:31:55.147 4719 7656 E MessagingApp: MmsUtils: SMS temporary failure11-05 00:33:16.409 4719 4719 E MessagingApp: SmsSender: failure in sending message part. requestId=content://sms/137 partId=0 resultCode=4 errorCode=011-05 00:33:16.410 4719 7793 E MessagingApp: MmsUtils: SMS temporary failure11-05 00:36:01.640 4719 4719 E MessagingApp: SmsSender: failure in sending message part. requestId=content://sms/137 partId=0 resultCode=4 errorCode=011-05 00:36:01.640 4719 8273 E MessagingApp: MmsUtils: SMS temporary failure11-05 00:37:46.284 3781 3781 E Xposed : java.lang.NoSuchMethodError: com.android.settings.location.SettingsInjector#parseServiceInfo(android.content.pm.ResolveInfo,android.content.pm.PackageManager)#exact11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:337)11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:178)11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:253)11-05 00:37:46.284 3781 3781 E Xposed : at be.r3w6.intika.xposedunifiednlp.UnifiedNlp.handleLoadPackage(UnifiedNlp.java:31)11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:34)11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:61)11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:106)11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.XposedInit$4.afterHookedMethod(XposedInit.java:172)11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:348)11-05 00:37:46.284 3781 3781 E Xposed : at android.app.LoadedApk.<init>(<Xposed>)11-05 00:37:46.284 3781 3781 E Xposed : at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1858)11-05 00:37:46.284 3781 3781 E Xposed : at android.app.ActivityThread.getPackageInfoNoCheck(ActivityThread.java:1820)11-05 00:37:46.284 3781 3781 E Xposed : at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1361)11-05 00:37:46.284 3781 3781 E Xposed : at android.os.Handler.dispatchMessage(Handler.java:102)11-05 00:37:46.284 3781 3781 E Xposed : at android.os.Looper.loop(Looper.java:148)11-05 00:37:46.284 3781 3781 E Xposed : at android.app.ActivityThread.main(ActivityThread.java:5461)11-05 00:37:46.284 3781 3781 E Xposed : at java.lang.reflect.Method.invoke(Native Method)11-05 00:37:46.284 3781 3781 E Xposed : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)11-05 00:37:46.284 3781 3781 E Xposed : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)11-05 00:37:46.284 3781 3781 E Xposed : at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)11-05 00:38:04.278 383 2771 E bt_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null11-05 00:38:05.039 383 2770 E bt_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null11-05 00:46:22.314 4719 8980 E MessagingApp: MmsUtils: sending SMS timed out11-05 00:46:22.563 4719 9272 E SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length11-05 08:50:42.257 2838 2838 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 011-05 08:50:42.258 2838 2838 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 011-05 08:50:42.272 2838 2838 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 011-05 08:50:42.272 2838 2838 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 011-05 08:50:42.491 383 2770 E bt_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null11-05 08:50:51.099 4719 4719 E MessagingApp: SmsSender: failure in sending message part. requestId=content://sms/137 partId=0 resultCode=4 errorCode=011-05 08:50:51.099 4719 4719 E MessagingApp: SmsSender: ignoring sent result. requestId=content://sms/137 partId=0 resultCode=411-05 08:51:01.757 5440 5440 E ProcessUtils: XPrivacy11-05 08:51:01.757 5440 5440 E ProcessUtils: java.io.FileNotFoundException: XPrivacy11-05 08:51:01.757 5440 5440 E ProcessUtils: at biz.bokhorst.xprivacy.XIoBridge.a(SourceFile:136)11-05 08:51:01.757 5440 5440 E ProcessUtils: at biz.bokhorst.xprivacy.XPrivacy$XMethodHook.beforeHookedMethod(SourceFile:628)11-05 08:51:01.757 5440 5440 E ProcessUtils: at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:314)11-05 08:51:01.757 5440 5440 E ProcessUtils: at libcore.io.IoBridge.open(<Xposed>)11-05 08:51:01.757 5440 5440 E ProcessUtils: at java.io.FileInputStream.<init>(FileInputStream.java:76)11-05 08:51:01.757 5440 5440 E ProcessUtils: at java.io.FileInputStream.<init>(FileInputStream.java:103)11-05 08:51:01.757 5440 5440 E ProcessUtils: at java.io.FileReader.<init>(FileReader.java:66)11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.android.gms.common.util.e.a(Unknown Source)11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.android.gms.common.util.e.a(Unknown Source)11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.android.gms.measurement.internal.p.N(Unknown Source)11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.android.gms.measurement.internal.ab.<init>(Unknown Source)11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.android.gms.measurement.internal.aj.<init>(Unknown Source)11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.android.gms.measurement.internal.aj.a(Unknown Source)11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.android.gms.measurement.AppMeasurement.getInstance(Unknown Source)11-05 08:51:01.757 5440 5440 E ProcessUtils: at java.lang.reflect.Method.invoke(Native Method)11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.firebase.a.a(Unknown Source)11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.firebase.a.a(Unknown Source)11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.firebase.a.a(Unknown Source)11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.firebase.provider.FirebaseInitProvider.onCreate(Unknown Source)11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.content.ContentProvider.attachInfo(ContentProvider.java:1748)11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.content.ContentProvider.attachInfo(ContentProvider.java:1723)11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source)11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.app.ActivityThread.installProvider(ActivityThread.java:5197)11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.app.ActivityThread.installContentProviders(ActivityThread.java:4792)11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4732)11-05 08:51:01.757 5440 5440 E ProcessUtils: at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)11-05 08:51:01.757 5440 5440 E ProcessUtils: at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:334)11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.app.ActivityThread.handleBindApplication(<Xposed>)11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.app.ActivityThread.-wrap1(ActivityThread.java)11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1424)11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.os.Handler.dispatchMessage(Handler.java:102)11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.os.Looper.loop(Looper.java:148)11-05 08:51:01.757 5440 5440 E ProcessUtils: at android.app.ActivityThread.main(ActivityThread.java:5461)11-05 08:51:01.757 5440 5440 E ProcessUtils: at java.lang.reflect.Method.invoke(Native Method)11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)11-05 08:51:01.757 5440 5440 E ProcessUtils: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)11-05 08:51:01.757 5440 5440 E ProcessUtils: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)11-05 08:51:02.937 5440 5440 E RecyclerView: No adapter attached; skipping layout11-05 08:51:03.094 5440 5440 E RecyclerView: No adapter attached; skipping layout11-05 08:52:19.980 5440 5828 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 011-05 08:52:19.980 5440 5828 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 011-05 08:52:20.037 383 5834 E OMXNodeInstance: setConfig(39:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)11-05 08:52:20.069 383 2323 E ACDB-LOADER: Error: ACDB AudProc vol returned = -1911-05 08:52:20.069 383 2323 E ACDB-LOADER: Error: ACDB AFE returned = -1911-05 08:54:31.993 5440 6091 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 011-05 08:54:31.993 5440 6091 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 011-05 08:54:32.049 383 6097 E OMXNodeInstance: setConfig(3a:google.aac.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)11-05 08:54:32.074 383 2323 E ACDB-LOADER: Error: ACDB AudProc vol returned = -1911-05 08:54:32.074 383 2323 E ACDB-LOADER: Error: ACDB AFE returned = -1911-05 08:54:54.329 4719 4719 E ApkAssets: Error while loading asset assets/natives_blob_64.bin: java.io.FileNotFoundException: assets/natives_blob_64.bin11-05 08:54:54.329 4719 4719 E ApkAssets: Error while loading asset assets/snapshot_blob_64.bin: java.io.FileNotFoundException: assets/snapshot_blob_64.bin11-05 08:57:48.994 383 2329 E bt_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null11-05 09:00:11.154 383 2771 E bt_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null11-05 09:00:46.880 383 2770 E bt_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null11-05 09:03:07.713 383 383 E bt_a2dp_hw: adev_set_parameters: ERROR: set param called even when stream out is null
Click to expand...
Click to collapse
You most likely corrupted the efs partition. If that is the case you will have to send it back in for a new board. The only thing you should ha E restored was user apps and data.
zelendel said:
You most likely corrupted the efs partition. If that is the case you will have to send it back in for a new board. The only thing you should ha E restored was user apps and data.
Click to expand...
Click to collapse
Wait what? Why would I buy a new board? I just bought a new phone. All I did was flash the backup of my old phone to it.
I do have a TWRP backup of the new phone that I created just before restoring the one from my old phone. The original efs partition of that phone would have to be in that backup, right?
Looking at the original backup of the new phone TWRP offers me to restore [Boot], [System], [Data (excl. storage)] and [Cache].
What steps should I take now?
I found an interesting article about the topic: https://www.theandroidsoul.com/fix-...d-wifibluetooth-issues-restoring-twrp-backup/
It says that you should simply completely delete the efs partition in order to fix the issue.
e.g.
Code:
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst1
dd if=/dev/zero of=/dev/block/bootdevice/by-name/modemst2
or
Code:
fastboot erase modemst1
fastboot erase modemst2
Is that actually true? Should I do this?
No one?
When restoring to the original backup of the new phone, I do get service again.
So if this is really related to the efs partition, then it gets lost/corrupted while flashing the backup of the old phone to the new one.
I tried to flash the backup of the old phone to the new one again and this time I unchecked `boot`, but again -> No service.
Any ideas? Anyone?
The only thing you "maybe" able to restore is user apps. Do it try to restore anything else.
Hi folks,
Since I updated to 9.0.4, my phone app dialer crashes whenever I click the green dialer button. The phone app opens normally, and I can make calls if I create a contact for the number I want to call, but I cannot open the dialer, as it crashes the phone app.
I used logcat to find the exception below. It seems the apk or the xml for the app layout is corrupt or improper for this version, as it cannot find the proper width to render. I am not sure how to fix this, as I already tried clearing the app storage and wipe all cache. Would replacing the apk by another one from someone that has it working fix it? If so, could someone please upload it? the package should be "package:/system/priv-app/Dialer/Dialer.apk=com.android.dialer"
Thanks in advance
03-03 10:24:56.367 16656 16656 E dialer_ui: showDialpadFragment from onClick
03-03 10:24:56.367 16656 16656 E dialer_ui: showDialpadFragment animate = true;isDialpadShown = false;stateSaved = false
03-03 10:24:56.369 16656 16656 D OPSwitchFloatingActionButton: fabDisappear1 mIsDisappear1:true
03-03 10:24:56.370 16656 16656 E dialer_ui: maybeEnterSearchUi from showDialpadFragment 11
03-03 10:24:56.370 16656 16656 E dialer_ui: isInSearchUi inDialpadSearch = false;inRegularSearch = false;inNewSearch = false
03-03 10:24:56.370 16656 16656 I Dialer : DialtactsActivity.enterSearchUi - smart dial: true
03-03 10:24:56.371 16656 16656 E dialer_ui: enterSearchUi smartDialSearch = true;animate = false
03-03 10:24:56.371 16656 16656 D OPSwitchFloatingActionButton: fabDisappear1 mIsDisappear1:true
03-03 10:24:56.378 16656 16656 I Dialer : DialerUiTaskFragment.create - creating new DialerUiTaskFragment for DialpadFragment.initPhoneNumberFormattingTextWatcher
03-03 10:24:56.408 16656 16656 E .android.diale: Invalid ID 0x00000000.
03-03 10:24:56.421 16656 16656 E .android.diale: Invalid ID 0x00000000.
03-03 10:24:56.427 16656 16656 D AndroidRuntime: Shutting down VM
03-03 10:22:35.446 16516 16516 E AndroidRuntime: FATAL EXCEPTION: main
03-03 10:22:35.446 16516 16516 E AndroidRuntime: Process: com.android.dialer, PID: 16516
03-03 10:22:35.446 16516 16516 E AndroidRuntime: android.view.InflateException: Binary XML file line #132: Binary XML file line #23: You must supply a layout_width attribute.
03-03 10:22:35.446 16516 16516 E AndroidRuntime: Caused by: java.lang.UnsupportedOperationException: Binary XML file line #23: You must supply a layout_width attribute.
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:798)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:7766)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:7958)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.widget.FrameLayout$LayoutParams.<init>(FrameLayout.java:439)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:370)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:56)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:865)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.parseInclude(LayoutInflater.java:995)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:859)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:866)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.parseInclude(LayoutInflater.java:995)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:859)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.parseInclude(LayoutInflater.java:995)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:859)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.parseInclude(LayoutInflater.java:963)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:859)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:866)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:866)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:866)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at com.android.dialer.dialpadview.DialpadFragment.onCreateView(DialpadFragment.java:402)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.app.Fragment.performCreateView(Fragment.java:2522)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1298)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2426)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2205)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2161)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2062)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.app.FragmentManagerImpl$1.run(FragmentManager.java:738)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:873)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6863)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
03-03 10:22:35.446 16516 16516 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: FATAL EXCEPTION: main
03-03 10:24:56.429 16656 16656 E AndroidRuntime: Process: com.android.dialer, PID: 16656
03-03 10:24:56.429 16656 16656 E AndroidRuntime: android.view.InflateException: Binary XML file line #132: Binary XML file line #23: You must supply a layout_width attribute.
03-03 10:24:56.429 16656 16656 E AndroidRuntime: Caused by: java.lang.UnsupportedOperationException: Binary XML file line #23: You must supply a layout_width attribute.
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:798)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:7766)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:7958)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.widget.FrameLayout$LayoutParams.<init>(FrameLayout.java:439)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:370)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:56)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:865)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.parseInclude(LayoutInflater.java:995)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:859)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:866)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.parseInclude(LayoutInflater.java:995)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:859)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.parseInclude(LayoutInflater.java:995)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:859)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.parseInclude(LayoutInflater.java:963)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:859)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:866)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:866)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:866)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at com.android.dialer.dialpadview.DialpadFragment.onCreateView(DialpadFragment.java:402)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.app.Fragment.performCreateView(Fragment.java:2522)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1298)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.app.FragmentManagerImpl.addAddedFragments(FragmentManager.java:2426)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2205)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2161)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2062)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.app.FragmentManagerImpl$1.run(FragmentManager.java:738)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:873)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6863)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
03-03 10:24:56.429 16656 16656 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
03-03 10:24:56.438 16656 16656 E OPDiagnose: OPDiagnoseManager addIssueCount type = 31, count = 1
03-03 10:24:56.438 16656 16656 E : BpOPDiagnoseServer addIssueCount type = 31, count = 1
03-03 10:24:56.438 738 765 E : BnOPDiagnoseServer ADD_ISSUE_COUNT type = 31, count = 1
03-03 10:24:56.438 738 765 W OPDiagnoseService: OPDiagnoseService addIssueCount type = 31, count = 1
03-03 10:24:56.438 738 764 D OPDiagnoseService: OPDiagnoseService get issue item...31
03-03 10:24:56.439 16656 16715 D OSTracker: OS Event: system_app_crash
03-03 10:24:52.046 880 1129 D BatteryStatsService: ext-flush too soon, skip
03-03 10:24:56.441 880 7635 W ActivityManager: Force finishing activity com.android.dialer/com.oneplus.contacts.activities.OPDialtactsActivity
03-03 10:24:56.449 880 7635 D ActivityTrigger: ActivityTrigger activityPauseTrigger
03-03 10:24:56.464 880 1136 D RestartProcessManager: increase duration : 8007 for com.android.dialer
Have you tried a hard reset?
No, not yet. I haven't had time yet to backup all my data so I can factory reset it. For the moment, I am looking for a fix that doesn't require factory reset.
sniperbr0 said:
No, not yet. I haven't had time yet to backup all my data so I can factory reset it. For the moment, I am looking for a fix that doesn't require factory reset.
Click to expand...
Click to collapse
Any substratum theme or Swift installer theme installed that needs to be updated or possibly removed?
No, I don't have any customizations. I am running 100% stock and not rooted.
Hello,
I bought a new Pioneer car stereo (SPH-20DAB), this (and some others from Pioneer) works together with an APP.
There are two Android Apps from Pioneer.
1. Pionneer Smart Sync
2. Pionner Smart Sync for Tablet.
The first smartphone app works great on many tested Smartphones.
The Second App won't work on any Testet Android Tablet.
I can Instal it, but never get any connection to the Stereo, i think it's because this App will exclusive work with with the SPH-t20BT mainunit which has its own Tablet (cheap Crap!)
So i desided to install the Smartphone app on my Tablet, but it is not possible. My Tablet (Lenovo P11 with Android 11) always says when i install the .apk "This App is not for your Device"
After this i tried to Root my P11, after many try's i was succesfull (After downgrading it Back to Android 10), and install TWRP Recovery an Magisk with Root. Now I changed my DeviceID to some other devices like my Oneplus 6T, now it is possible to install the smartphone version of the Pioneer app on my P11 Tablet, but it crashes on every start.
Why will this happen? is there any other difference between Tablets and Smartphones in Android development? Do i have to change some more parameters?.
On the other hand, the tablet version of the Pioneer app runs fine on my Oneplus 6T, but also can't connect (i think because this app only allows the SPH-T20BT tablet unit).
If you get message "This App is not for your Device" then this has good reasons. It's on an app's developer to define on what devices his app should work or not. Some apps only work on phones and not on tablets.
Of course you can try to trick the app, but it doesn't make sense as you could see for yourself.
To get the very reason why app in question crashes do a LOGCAT.
What is the technical Background, the app maybe won't work on tablets? is there an Option the Developer can say "i don't wan't this" so the app will crash ? maybe a reason in my opinion can be the bigger screen an so the app can become optical awfull. Or is there a real difference in the Andrid Api or in the Hardware design?
The Tablet app still exists, but will be not updatet anymore, so that will be no further way for me the solution in this case.
I will test it tommorow with the Logcat, i forget the Tablet somewhere and can't test it now.
I try to install the app on Bluestacks (works fine, but only Phones are availible), and on Genymotion where i can set off a Tablet device with Android 10 an the Same Hardware specs. On the first try i wasn't able to install the .apk (something with ARM native code) but after i install an arm code translator it works fine. Slow, but this is another problem i think.
Maybe a reason, or is this another Problem between 32 Bit an Arm, and has nothing to do with my Problem ?
I made a log an tryed to cut out the necessary parts i think.
Can you maybe explain for which parts i can look? are there any keywords i can search for ?
I attached the log below.
I don't know why, but i can't add files.
I read threw the log an i think it hapens here
11-05 08:36:40.897 30015 30015 E AndroidRuntime: FATAL EXCEPTION: main
11-05 08:36:40.897 30015 30015 E AndroidRuntime: Process: jp.pioneer.carsync, PID: 30015
11-05 08:36:40.897 30015 30015 E AndroidRuntime: java.lang.ExceptionInInitializerError
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.module.AppModule.provideAppSharedPreference(Unknown Source:0)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.module.AppModule_ProvideAppSharedPreferenceFactory.provideAppSharedPreference(Unknown Source:0)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.module.AppModule_ProvideAppSharedPreferenceFactory.get(Unknown Source:10)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.module.AppModule_ProvideAppSharedPreferenceFactory.get(Unknown Source:0)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at dagger.internal.DoubleCheck.get(Unknown Source:15)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.domain.model.StatusHolder_Factory.get(Unknown Source:4)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.domain.model.StatusHolder_Factory.get(Unknown Source:0)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.infrastructure.repository.StatusHolderRepositoryImpl_Factory.get(Unknown Source:7)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.infrastructure.repository.StatusHolderRepositoryImpl_Factory.get(Unknown Source:0)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at dagger.internal.DoubleCheck.get(Unknown Source:15)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.component.DaggerAppComponent.injectStatusUpdateListener(Unknown Source:2)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.component.DaggerAppComponent.getStatusUpdateListener(Unknown Source:4)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.component.DaggerAppComponent.injectDomainInitializer(Unknown Source:0)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.component.DaggerAppComponent.getDomainInitializer(Unknown Source:4)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.component.DaggerAppComponent.injectApp(Unknown Source:0)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.di.component.DaggerAppComponent.inject(Unknown Source:0)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.App.initialize(Unknown Source:31)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.App.onCreate(Unknown Source:5)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1190)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6479)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.app.ActivityThread.access$1300(ActivityThread.java:220)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1860)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7397)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:502)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Unable to find resource ID #0x7f08014b
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.content.res.ResourcesImpl.getResourceEntryName(ResourcesImpl.java:300)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at android.content.res.Resources.getResourceEntryName(Resources.java:2112)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.presentation.model.MenuKeyItem.<init>(Unknown Source:25)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.content.AppSharedPreference$1.<init>(Unknown Source:16)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: at jp.pioneer.carsync.application.content.AppSharedPreference.<clinit>(Unknown Source:323)
11-05 08:36:40.897 30015 30015 E AndroidRuntime: ... 28 more
So after all it works fine, the reason was only a broken .apk
After Severall trys, i was able to download the actuall version (3.5.0) of the Pioneer Smart Sync smartphone .apk and it works fine on my Lenovo P11 Tablet.
DeinOpa said:
So after all it works fine, the reason was only a broken .apk
After Severall trys, i was able to download the actuall version (3.5.0) of the Pioneer Smart Sync smartphone .apk and it works fine on my Lenovo P11 Tablet.
Click to expand...
Click to collapse
Oh Yes it is absolutly cheap Crap and damm slow but thanks for the hint with the Smartphone APP.