Signal-android: SMS and call verification with Argentinian phone numbers

Created on 21 Mar 2016  路  26Comments  路  Source: signalapp/Signal-Android

I have:

Bug description

Can't verify SMS with a samsung galaxy grand prime. The SMS arrives (I tested hangout, default SMS program and even signal itself as SMS admin), but signal time-out clock finish without verification success.

Steps to reproduce

  • start the program (ok),
  • wait SMS to arrive (ok),
  • wait to verify SMS (fail with timeout)
  • "call me" does nothing

    Screenshots

SMS example:
http://img.photobucket.com/albums/v282/francopellegrini/2016-03-21%2018.13.57.png

Device info

Model: Samsung galaxy grand prime SM-G531M

Android version: 5.1.1

Signal version: 3.14.2

All 26 comments

did you try the call button? If this doesn't work adb logcat would be helpful

I press "call me" but nothing happens. I'm not root, so I can't see the logs using a program. Is there other way without being root?

I don't think you need to be root to use the adb program.

http://developer.android.com/tools/help/adb.html

I'm pretty sure you just have to check the android debugging check box on the phone and run it from the terminal on a connected computer.

I'm pretty sure you just have to check the android debugging check box on the phone and run it from the terminal on a connected computer.

yep, you need the android sdk and connect the phone via usb to the computer. no root required.

Are you sure that you entered the correct phone number? No sms and no voice call is pretty weird... (you received the sms so thats not the problem, I should read more carefully)

ok, I will try that when I return to home, thanks for the tips.
Note: yes, I tried 10 times, and 10 times I receive a SMS, but your program does not recognize it. Then I always try "call me" without success.

I update the op to avoid misleading

did you try the call button? If this doesn't work adb logcat would be helpful

logcat.txt

here the logcat while trying to call myself with the button.

I spotted these two:

E/Parcel  ( 3079): Class not found when unmarshalling: org.thoughtcrime.securesms.crypto.MasterSecret
E/Parcel  ( 3079): java.lang.ClassNotFoundException: org.thoughtcrime.securesms.crypto.MasterSecret
E/Parcel  ( 3079):  at java.lang.Class.classForName(Native Method)
E/Parcel  ( 3079):  at java.lang.Class.forName(Class.java:309)
E/Parcel  ( 3079):  at java.lang.Class.forName(Class.java:273)
E/Parcel  ( 3079):  at android.os.Parcel.readParcelableCreator(Parcel.java:2281)
E/Parcel  ( 3079):  at android.os.Parcel.readParcelable(Parcel.java:2245)
E/Parcel  ( 3079):  at android.os.Parcel.readValue(Parcel.java:2152)
E/Parcel  ( 3079):  at android.os.Parcel.readArrayMapInternal(Parcel.java:2485)
E/Parcel  ( 3079):  at android.os.BaseBundle.unparcel(BaseBundle.java:221)
E/Parcel  ( 3079):  at android.os.BaseBundle.getString(BaseBundle.java:918)
E/Parcel  ( 3079):  at android.content.Intent.getStringExtra(Intent.java:5224)
E/Parcel  ( 3079):  at com.android.server.am.ActivityStackSupervisor.startActivityLocked(ActivityStackSupervisor.java:1490)
E/Parcel  ( 3079):  at com.android.server.am.ActivityStackSupervisor.startActivityMayWait(ActivityStackSupervisor.java:1073)
E/Parcel  ( 3079):  at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:4438)
E/Parcel  ( 3079):  at com.android.server.am.ActivityManagerService.startActivity(ActivityManagerService.java:4337)
E/Parcel  ( 3079):  at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:144)
E/Parcel  ( 3079):  at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2898)
E/Parcel  ( 3079):  at android.os.Binder.execTransact(Binder.java:461)
E/Parcel  ( 3079): Caused by: java.lang.ClassNotFoundException: Didn't find class "org.thoughtcrime.securesms.crypto.MasterSecret" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/Parcel  ( 3079):  at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/Parcel  ( 3079):  at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
E/Parcel  ( 3079):  at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
E/Parcel  ( 3079):  ... 17 more
E/Parcel  ( 3079):  Suppressed: java.lang.ClassNotFoundException: org.thoughtcrime.securesms.crypto.MasterSecret
E/Parcel  ( 3079):      at java.lang.Class.classForName(Native Method)
E/Parcel  ( 3079):      at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
E/Parcel  ( 3079):      at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
E/Parcel  ( 3079):      at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
E/Parcel  ( 3079):      ... 18 more
E/Parcel  ( 3079):  Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
W/JobConsumer(15690): org.whispersystems.textsecure.api.push.exceptions.AuthorizationFailedException: Authorization failed!
W/JobConsumer(15690):   at org.whispersystems.textsecure.internal.push.PushServiceSocket.makeRequest(PushServiceSocket.java:511)
W/JobConsumer(15690):   at org.whispersystems.textsecure.internal.push.PushServiceSocket.setCurrentSignedPreKey(PushServiceSocket.java:347)
W/JobConsumer(15690):   at org.whispersystems.textsecure.api.TextSecureAccountManager.setSignedPreKey(TextSecureAccountManager.java:209)
W/JobConsumer(15690):   at org.thoughtcrime.securesms.jobs.CreateSignedPreKeyJob.onRun(CreateSignedPreKeyJob.java:53)
W/JobConsumer(15690):   at org.thoughtcrime.securesms.jobs.MasterSecretJob.onRun(MasterSecretJob.java:18)
W/JobConsumer(15690):   at org.whispersystems.jobqueue.JobConsumer.runJob(JobConsumer.java:76)
W/JobConsumer(15690):   at org.whispersystems.jobqueue.JobConsumer.run(JobConsumer.java:46)

maybe someone else knows whats going on?

@francogp you might want to redact your phone number from that log

@francogp you might want to redact your phone number from that log

ups... fixed! thanks

Are you running a custom ROM? There's something deeply wrong with your OS.

@moxie0
No. Official samsung 5.1.1 stock andorid for SM-G531M

Either your device is fucked up or you have some kind of disk corruption. If the classloader isn't finding the classes we ship, there's nothing we can do. You might try reinstalling.

@moxie0
I just try to reinstall it.. same problem.

Note: And If I type a number on the verification textbox for "call me" button, I get an error saying that I'm not online, and must be connected online to achieve that (an that's not true, I'm on WIFI and 4G as an emergency ISP if wifi internet does not work)

Note 2: all my other programs work just fine, it's strange that ONLY THIS programar fail

I just tried with another phone (same model).... same problem

@francogp Do you have an Argentinian phone number? See #3490 (there are also other issues with Argentinian phone numbers)

@2-4601 yes, my number is from Argentina. I'm using PERSONAL.

In summary, for Argentina/Argentinian Numbers: Make sure there is a total of 13 digits. It will be +549 (+ 10 digit number).

  • [ ] +549
  • [ ] add the 2-4 digit city code
  • [ ] remove prefix 15
  • [ ] add 6-8 digit phone number
  • [ ] Total of 13 digits

Examples:
national format 03312 15-34-5678 will be +5493312345678
national format 98812345678 will be +5498812345678

@riyapenn yes! now it works! the 9 is necessary to use the "call me" button (but SMS verification failed). Now I can loggin using the "call me" button verification :D

@riyapenn the problem now, is that all my contacts does not recognize me because of the 9. This program think that is not my number.

@moxie0 you should reopen this... the problem is your end, because of the 9. And the contacts can't "recognize" me because of that

@francogp could you please open another issue regarding the number problematic in argentina? this one seems a bit off topic with your other device problems

@agrajaghh it's the same problem, because it's solve the OP adding a 9.

the stacktraces you expierenced in the log have nothing to do with it

There's an open issue for this: #1511

pff, I searched but just found closed ones, shame on me

If the classloader isn't finding the classes we ship, there's nothing we can do.

If further work is needed on preventing this or related ClassNotFoundExceptions (hi, Samsung), this might provide some ideas:

https://stackoverflow.com/questions/28589509/android-e-parcel-class-not-found-when-unmarshalling-only-on-samsung-tab3

Was this page helpful?
0 / 5 - 0 ratings

Related issues

5boro picture 5boro  路  3Comments

wesinator picture wesinator  路  3Comments

halb9 picture halb9  路  3Comments

Dyras picture Dyras  路  3Comments

FeuRenard picture FeuRenard  路  3Comments