Bitcoin Forum

Bitcoin => Electrum => Topic started by: MobiDick on October 29, 2014, 09:57:05 PM



Title: Warning! The wallet not identical on Windows and Android
Post by: MobiDick on October 29, 2014, 09:57:05 PM
Make wallet from QRcode (seed from Electrum on Windows) on Android. Seed is identical but wallet (addresses) NOT.

See: https://github.com/spesmilo/electrum/issues/904

PS. sorry for my english.


Title: Re: Warning! The wallet not identical on Windows and Android
Post by: dabura667 on October 30, 2014, 03:05:19 PM
Make wallet from QRcode (seed from Electrum on Windows) on Android. Seed is identical but wallet (addresses) NOT.

See: https://github.com/spesmilo/electrum/issues/904

PS. sorry for my english.

I just tried it 10 times with 10 different seeds.

Addresses all match...

Can you explain how you installed Electrum? (explain every step. Don't just say "I followed the site")
Can you explain how you installed Electrum for Android?
Can you tell me every button you tapped on the app?
Can you tell me the version numbers of both apps?

I can't reproduce your issue, so unless I can reproduce it... there's no way I or anyone else can help you.


Title: Re: Warning! The wallet not identical on Windows and Android
Post by: MobiDick on October 30, 2014, 03:39:14 PM
I just tried it 10 times with 10 different seeds.

Addresses all match...

Can you explain how you installed Electrum? (explain every step. Don't just say "I followed the site")
Can you explain how you installed Electrum for Android?
Can you tell me every button you tapped on the app?
Can you tell me the version numbers of both apps?

I can't reproduce your issue, so unless I can reproduce it... there's no way I or anyone else can help you.

Thank you.
1. No install. electrum-1.9.8-portable.exe (MD5 0E0D65E83B83211463EEA86F5E487E35). Made a new wallet from seed generated by app;
2. Installed Electrum for Android just followed the site (https://electrum.org/android.html);
3. On PC tapped "Seed", typed password and the app make me QRcode;
4. "electrum-1.9.8-portable" and "e4a-1.8.1 scrypt".

Thank you again. Good luck.

PS. i think there are some diff from scrypts to PC and e4a-1.8.1.


Title: Re: Warning! The wallet not identical on Windows and Android
Post by: dabura667 on October 31, 2014, 01:18:03 PM
I just tried it 10 times with 10 different seeds.

Addresses all match...

Can you explain how you installed Electrum? (explain every step. Don't just say "I followed the site")
Can you explain how you installed Electrum for Android?
Can you tell me every button you tapped on the app?
Can you tell me the version numbers of both apps?

I can't reproduce your issue, so unless I can reproduce it... there's no way I or anyone else can help you.

Thank you.
1. No install. electrum-1.9.8-portable.exe (MD5 0E0D65E83B83211463EEA86F5E487E35). Made a new wallet from seed generated by app;
2. Installed Electrum for Android just followed the site (https://electrum.org/android.html);
3. On PC tapped "Seed", typed password and the app make me QRcode;
4. "electrum-1.9.8-portable" and "e4a-1.8.1 scrypt".

Thank you again. Good luck.

PS. i think there are some diff from scrypts to PC and e4a-1.8.1.

Can you do me a favor?:

1. Open Electrum (PC) and generate a new wallet (use "File" > "New Wallet" and put in any name for the new wallet)
2. Delete the wallet.dat file from your Android. (I am assuming you are not using it)
3. Click seed on the new wallet from #1 and scan the QR code from the "Restore" option in Android.
4. Take a screenshot of the PC wallet's "Address" tab open and the "Seed" window open next to it.
5. Take a screenshot with your Android of the Show seed screen, then also take a screenshot of the receive addresses screen.
6. Upload the screenshots from #4 and #5.

(Since you will post this on the internet, do not use this seed)

Thanks


Title: Re: Warning! The wallet not identical on Windows and Android
Post by: dabura667 on October 31, 2014, 02:21:02 PM
Thank you.
1. No install. electrum-1.9.8-portable.exe (MD5 0E0D65E83B83211463EEA86F5E487E35). Made a new wallet from seed generated by app;
2. Installed Electrum for Android just followed the site (https://electrum.org/android.html);
3. On PC tapped "Seed", typed password and the app make me QRcode;
4. "electrum-1.9.8-portable" and "e4a-1.8.1 scrypt".

Thank you again. Good luck.

PS. i think there are some diff from scrypts to PC and e4a-1.8.1.

Ok, I found the problem.

The Android version runs on version 1.8.1 of the Electrum code.

In 1.8.1, the seed QR code contained the hex seed (ie. '0fb478acbdfe76cd3679acd98ef67837')

So your Android device is hashing the mnemonic phrase instead of the seed.

To fix:
* Input your seed manually tapping "Restore" > "mnemonic"... then type in your seed word by word.

Why I was getting all correct seeds:
* I noticed this a long time ago and fixed it locally, but since Android version is deprecated, didn't bother with a PR.


Title: Re: Warning! The wallet not identical on Windows and Android
Post by: MobiDick on October 31, 2014, 03:55:20 PM

Ok, I found the problem.

The Android version runs on version 1.8.1 of the Electrum code.

In 1.8.1, the seed QR code contained the hex seed (ie. '0fb478acbdfe76cd3679acd98ef67837')

So your Android device is hashing the mnemonic phrase instead of the seed.

To fix:
* Input your seed manually tapping "Restore" > "mnemonic"... then type in your seed word by word.

Why I was getting all correct seeds:
* I noticed this a long time ago and fixed it locally, but since Android version is deprecated, didn't bother with a PR.

Thank you! I'll try to do it and write here. Good luck!


Title: Re: Warning! The wallet not identical on Windows and Android
Post by: MobiDick on October 31, 2014, 04:20:53 PM
All OK. Thank you very much!