Bitcoin Forum
May 13, 2024, 01:16:15 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Wallet recovery  (Read 356 times)
Kamiil (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 9


View Profile
November 17, 2021, 08:50:52 PM
 #21


But I still don't know where to copy the backup file to my computer :-(



So change - I succeeded.
I am now in this chapter:

RECOVERING FROM PROTOBUF WALLET FORMAT

But something is wrong:

kamiil@vitasekk10:~$ cd bitcoinj/tools
kamiil@vitasekk10:~/bitcoinj/tools$ ./wallet-tool
./wallet-tool: line 19: gradle: command not found
kamiil@vitasekk10:~/bitcoinj/tools$ ./wallet-tool reset --wallet=/tmp/bitcoin-wallet-decrypted-backup
./wallet-tool: line 19: gradle: command not found
kamiil@vitasekk10:~/bitcoinj/tools$
1715606175
Hero Member
*
Offline Offline

Posts: 1715606175

View Profile Personal Message (Offline)

Ignore
1715606175
Reply with quote  #2

1715606175
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715606175
Hero Member
*
Offline Offline

Posts: 1715606175

View Profile Personal Message (Offline)

Ignore
1715606175
Reply with quote  #2

1715606175
Report to moderator
1715606175
Hero Member
*
Offline Offline

Posts: 1715606175

View Profile Personal Message (Offline)

Ignore
1715606175
Reply with quote  #2

1715606175
Report to moderator
1715606175
Hero Member
*
Offline Offline

Posts: 1715606175

View Profile Personal Message (Offline)

Ignore
1715606175
Reply with quote  #2

1715606175
Report to moderator
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
November 17, 2021, 08:53:00 PM
Last edit: November 18, 2021, 01:30:11 AM by achow101
Merited by o_e_l_e_o (4), ABCbits (2)
 #22

Command 'pwd' prints the name of folder in which you are (path)
But HOME in Ubuntu could be different than your Windows HOME.
I think it is well described here: https://askubuntu.com/questions/759880/where-is-the-ubuntu-file-system-root-directory-in-windows-subsystem-for-linux-an
and here: https://www.howtogeek.com/261383/how-to-access-your-ubuntu-bash-files-in-windows-and-your-windows-system-drive-in-bash/



./wallet-tool: line 19: gradle: command not found

https://linuxize.com/post/how-to-install-gradle-on-ubuntu-20-04/


If you do not want to play with Ubuntu, there is another tutorial:
https://www.youtube.com/watch?v=NGgY0MFtLFU
but still expects some extraordinary (for normal user) actions.
Kamiil (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 9


View Profile
November 17, 2021, 08:57:24 PM
 #23

Thanks for the links, I'm going to study it.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
November 18, 2021, 01:57:37 AM
Merited by LoyceV (4), o_e_l_e_o (4), ABCbits (1)
 #24

Honestly, I think you're wasting your time mucking about with Linux/Ubuntu and attempting to decrypt the file manually.

If you were able to successfully import the backup file into "Bitcoin Wallet for Android" and use your password and it didn't give you any errors, then the app will have already decrypted the file correctly and loaded in all the private keys from the file.

So, if, after importing the backup file, the wallet was showing as zero balance, then the wallet is likely empty. If it also showed zero transaction history, then chances are that you have the "wrong" backup file... and the backup file you have is for a wallet that never contained any coins Undecided

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18515


View Profile
November 18, 2021, 08:21:19 AM
Merited by HCP (5), ABCbits (1)
 #25

So, if, after importing the backup file, the wallet was showing as zero balance, then the wallet is likely empty.
Maybe. However, OP's original addresses were all legacy (since they were from 2014). At some point between then and now, the Schildbach wallet switched to only recovering segwit addresses, which is what he now generates when he recovers his wallet file. Requesting to legacy addresses as I suggested above might not reveal the correct addresses, as Schildbach wallet does not follow BIP44 conventions. The only way to know for sure is to dump his private keys and import them in to a new wallet.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
November 18, 2021, 10:47:35 PM
 #26

At some point between then and now, the Schildbach wallet switched to only recovering segwit addresses
Wait what??!? It only recovers SegWit addresses and does not also check the legacy addresses generated from the backed up keys for transaction history etc??!? Shocked Shocked Shocked

That is ridiculous!

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16655


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
November 19, 2021, 08:35:03 AM
Merited by o_e_l_e_o (4), HCP (2)
 #27

At some point between then and now, the Schildbach wallet switched to only recovering segwit addresses
That's not what happened when I restored my old backup:  all legacy transactions from 2015 showed up just fine.

HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
November 19, 2021, 11:33:09 AM
Last edit: November 14, 2023, 11:35:13 PM by HCP
 #28

Well, in any case, if OP has managed to get as far as "decrypting" the wallet backup file using openssl... then they can very easily load their wallet/keys into a BIP39 compatible wallet that allows you to specify the derivation path (such as Electrum). If you simply open the "decrypted" file in a text editor, you should see "org.bitcoin.production" (as you say you are recovering from a PROTOBUF wallet)... and then shortly after that, you should see 12 plain english words... this is your 12 word seed.

Here is an example of a decrypted wallet backup:



If you load that seed into Electrum... ("New/Restore -> Standard Wallet -> I already have a Seed -> Enter seed, click options -> select the BIP39 seed option) and then on the derivation path screen select "legacy" and then set the derivation path to: m/0' [1] then it will load up all your old legacy addresses.



 







[1] NOTE: this derivation path is slightly different to the one used by ian coleman's tool below because of the way Electrum works







Alternatively, you can put the seed into iancoleman's BIP39 mnemonic code convertor... click the "BIP32" tab, and then select the "MultiBit HD" option from the "Client" dropdown box (This will automatically set the derivation path to m/0'/0 for you). Then it will show all your legacy addresses/private keys at the bottom:


All your keys displayed below:






█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18515


View Profile
November 20, 2021, 06:56:57 AM
 #29

That's not what happened when I restored my old backup:  all legacy transactions from 2015 showed up just fine.
That's strange. I recovered an old back up and was only given segwit addresses. The only way for me to view legacy addresses was to go in to options and select "Request to legacy address" repeatedly, as I suggested OP tried above. My old back up did have old transactions, but it was long emptied - maybe that's the issue? Did your back up still have coins on it?
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16655


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
November 20, 2021, 08:08:21 AM
 #30

That's strange. I recovered an old back up and was only given segwit addresses. The only way for me to view legacy addresses was to go in to options and select "Request to legacy address" repeatedly, as I suggested OP tried above. My old back up did have old transactions, but it was long emptied - maybe that's the issue? Did your back up still have coins on it?
My old wallet was empty since 2015. I checked if I may have had the Wallet app installed on that phone before (and Android may have left some settings), but I bought the (old) phone I used in 2017, years after I used that wallet.

Strange indeed. Well, yours is strange Tongue Mine works as expected Wink

Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!