Author Topic: Cloning Samsung Phones  (Read 486 times)

SteveB83

  • Posts: 7
    • View Profile
Cloning Samsung Phones
« on: June 16, 2023, 15:40:55 »
I've been using a mix of Motorola and Samsung phones as scoring devices for the Ludlow U3A Bridge Group for some time now with no issues. It's a real mix of phones donated by family and friends and everyone seems happy with them. However I encountered a Gotcha earlier this week when I added a recently donated phone. To set it up I used the Samsund utility to clone one of the existing phones. That seemed to work OK but the BridgePal app wasn't automatically loaded which was the whole point. So I just loaded it from the Playstore. Anyway when I tried to use that phone and the one that I'd cloned it from that evening I discovered (after much anguish) that the 2 phones seemed to be really clones as far as the BridgePal server was concerned. So the phone on table 1 suddenly  became table 2 and vice versa with the other phone. I tried resetting several times but the phones just seemed to be the same device. Much later I factory reset the new phone and restarted from scratch and all was well. Steve

johng

  • Administrator
  • *****
  • Posts: 214
    • View Profile
Re: Cloning Samsung Phones
« Reply #1 on: June 16, 2023, 17:25:06 »
When the BridgePal app runs for the first time after installation it allocates a "device id", using a random number generator, and writes this to the app's private storage. This device id is included in requests to the PC and is used by the BridgePal software to uniquely identify the device. The fact that this allocation is only performed the first time the app is started means that you can exit the app or reboot the device in the middle of a bridge session and the BridgePal software on the PC will still be able to tell which device has reconnected and restore it to the correct point in the session.

I guess that when you cloned one of your existing phones the Samsung software must have copied the BridgePal app private storage, which would include this device id. Therefore, the BridgePal app would not allocate a new id since one existed already. I'm not sure why the BridgePal app wasn't included in the cloning - perhaps it was originally downloaded and installed from the BridgePal website onto the phone being cloned, not from the Play Store ?

I just tried uninstalling/re-installing the BridgePal app, and that did result in a different device id being allocated, so perhaps it's not necessary to do a factory reset.