Pages:
Author

Topic: [HOW-TO] Export seed and private keys from your Bitcoin Wallet for Android (Read 11481 times)

newbie
Activity: 26
Merit: 1
I've some BTC stuck on this wallet, it's earlier version that is being discussed though - version 2.46.

There is no option to backup the wallet, but there is an option to backup the keys.

I have done that, exported the file and have it on the computer. None of the described methods are working though, they are all falling down at the decryption of the wallet stage (presumably because I do not have a back-up of the wallet but a backup of the keys only).

My file is formatted bitcoin-wallet-keys-YYYY-MM-DD. When opened in a notepad file is just 5 lines of mumbo jumbo. Electrum does not recognise it as anything, so I presume it's encrypted.

Any ideas?!
hero member
Activity: 1120
Merit: 540
This literally makes no sence to me... is there a non-nerdie version
Here, it will help you more easily see: https://www.youtube.com/watch?v=NGgY0MFtLFU&t=5s
newbie
Activity: 12
Merit: 0
This literally makes no sence to me... is there a non-nerdie version
newbie
Activity: 1
Merit: 0
First off, big thank you to mnemonicmind for writing up those instructions.

Rather than using a full-blown VM, I decided to try using a Docker container as a more lightweight way to install and compile all the necessary bits and pieces. After some tinkering I finally got it working and was able to extract my keys.

I figure my solution might be of use to others, so I wrapped up with some handy shell scripts and shared it all here: https://github.com/c1rrus/bitcoin-wallet-decode

If you've ended up in this thread wanting to extract your keys from a Bitcoin Wallet for Android backup, then my solution might save you a bit of time :-)
newbie
Activity: 20
Merit: 14
你好 我在第5步的时候会报错 ./wallet-tool:line 23: mvn command not found 这是哪里出错了, 谢谢帮忙指点下

I think you forgot step 2:
我想你忘了第二步:(Google Translate)

Code:
sudo apt-get install openssl maven default-jre default-jdk openjfx

If it still does not work, please check if Maven was successfully installed:
如果仍然不起作用,请检查Maven是否安装成功:(Google Translate)

Code:
mvn -version
newbie
Activity: 4
Merit: 0
你好 我在第5步的时候会报错 ./wallet-tool:line 23: mvn command not found 这是哪里出错了, 谢谢帮忙指点下
newbie
Activity: 14
Merit: 0
I'm just curious: but why exactly do I have to transfer my BTC to another wallet?

I understand that this is a standard phrase for safety reasons in the FOSS world.

But shouldn't BTC and BCC co-exist nicely? So will this procedure do my BTC any harm or the sky will fall on my head or something?

I just want to be sure that the BTC wallet will be okay like in a "nothing did touch me" way and the other wallet will just use this extracted private key to get the BCC...

It's not just about whether you trust your BTC funds to the developers of the BCC wallet in which you will import your BTC private keys, but also about the risk of someone finding a vulnerability in the BCC wallet. They could potentially have access to your BTC funds as well. So you have to decide for yourself whether saving the BTC transaction fee is worth the potential risks.

That's a point here. I don't think I'm completely paranoid but I always thought there's something smelly with the BCC private key import.

Decide, won't do. Thanks for your information!  Cool
newbie
Activity: 20
Merit: 14
I'm just curious: but why exactly do I have to transfer my BTC to another wallet?

I understand that this is a standard phrase for safety reasons in the FOSS world.

But shouldn't BTC and BCC co-exist nicely? So will this procedure do my BTC any harm or the sky will fall on my head or something?

I just want to be sure that the BTC wallet will be okay like in a "nothing did touch me" way and the other wallet will just use this extracted private key to get the BCC...

It's not just about whether you trust your BTC funds to the developers of the BCC wallet in which you will import your BTC private keys, but also about the risk of someone finding a vulnerability in the BCC wallet. They could potentially have access to your BTC funds as well. So you have to decide for yourself whether saving the BTC transaction fee is worth the potential risks.
newbie
Activity: 14
Merit: 0
I'm just curious: but why exactly do I have to transfer my BTC to another wallet?

I understand that this is a standard phrase for safety reasons in the FOSS world.

But shouldn't BTC and BCC co-exist nicely? So will this procedure do my BTC any harm or the sky will fall on my head or something?

I just want to be sure that the BTC wallet will be okay like in a "nothing did touch me" way and the other wallet will just use this extracted private key to get the BCC...
newbie
Activity: 20
Merit: 14
can this codes help me if i linked my android phone with vm

Do you mean if you can do this on Android OS?
member
Activity: 112
Merit: 10
BitcoinTalk Manager
can this codes help me if i linked my android phone with vm
newbie
Activity: 20
Merit: 14
I Have Remix version on my VM   is this codes will work or only ubunu

Probably, but you might need to fix some errors. Why not use Debian or Ubuntu? Takes only a couple of minutes to install. Remix OS is a dead project.
newbie
Activity: 43
Merit: 0
I Have Remix version on my VM   is this codes will work or only ubunu
newbie
Activity: 20
Merit: 14
Hi mnemonicmind


I am trying to get my keys but getting an error is step 3
Using Ubuntu (latest) from Live USB drive, installed the packages and when I try to decrypt the wallet, I get an error after typing the password

"error reading input file
xxxxxxxxxxx:error:0200B015:system library:fread:Is a directory:bss_file.c:251:
xxxxxxxxxxx:error:20082002:BIO routines:FILE_READ:system lib:bss_file.c:252:"

Not a linux guy but I think I followed the instructions correctly Smiley

Any help would be appreciated. Trying to get a bit of BCC from Android wallet.
Still don't understand why the developer can't just show us our keys in the app. Yeah I know security etc but alas, most other wallet apps do that.


TYIA
ZX


Could you post the command you used? Did you change "/PATH/TO/YOUR/BACKUP-FILE" to the location of the backup file? The path should include the file name of the backup (bitcoin-wallet-backup-2017-XX-XX).
newbie
Activity: 14
Merit: 0
Hi mnemonicmind


I am trying to get my keys but getting an error is step 3
Using Ubuntu (latest) from Live USB drive, installed the packages and when I try to decrypt the wallet, I get an error after typing the password

"error reading input file
xxxxxxxxxxx:error:0200B015:system library:fread:Is a directory:bss_file.c:251:
xxxxxxxxxxx:error:20082002:BIO routines:FILE_READ:system lib:bss_file.c:252:"

Not a linux guy but I think I followed the instructions correctly Smiley

Any help would be appreciated. Trying to get a bit of BCC from Android wallet.
Still don't understand why the developer can't just show us our keys in the app. Yeah I know security etc but alas, most other wallet apps do that.


TYIA
ZX
newbie
Activity: 20
Merit: 14
thanks for you replies and offers, i got bitcore going fine but i think it the environment im asking bitabc to work in that might be proving a little hard for it...
Originally I put an 64bit amd 3.2 X2 with a pair of 4g ddr3 dual-channel sticks. It had boot prob's. The local curbside throw out was on so i went out and collected some the fewer and fewer boxs that are thrown out these days. Along the way I picked up my sons old sli-rigged AMD2.
I get home an three hours later I've rigged a work bench and test lab for the five box's I've got disassembled and spread around the living room.
3 hours later I've got an AMD3.2 rig running 6 gig of mis-matched ram at 667, but still its way faster than my old trojan lappy I usually do things on.
I load deb9 to it and none of my usb wifi's work. I spend a few hours stuffing with that, ie, nonfree, firmware etc.. Still can't get it up, I reload it with deb8, kernel it up to 9, sid it over and the usb wifi works. Great, the next day i plan to copy the block files over to it and load abc.
The next morning it refuses to start despite it hot and cold booting all the day before. I pull it down again, get it going, post to linuxquestions how much I hate uefi boot & fs4 and proceed to load abc.
My eldest son rings, his lost his car-keys in the sand at the beach 200K's away and he is on a tinder date, can I please rescue him. My youngest is in canada atm so I jump in his after-marketed 2H turboed highly-tuned 60series and line-drag the 4.6L Rangys up and down the highway to get his carkeys to him. That old but powerful 60's really has some grunt on the highway.
I get home and that darn machine wont boot again.... argghhh
I ditch the machine, look at ol-trojy, strip it's hdd and plug in a usb drive and load the same as above 'cause I've still got the same usb wifi.
Finally i get a machine and os going, albeit on a shared usb channel splitting the usb drive and usb wifi.
But still, ol-trojy handles it with only a minor performance hit.
Installing abc i did late at night, i was tired and my install folder was just plain wrong. I installed all the dependencies listed on the page just to be sure, copied the block files from one drive to another and fired it up.
Seemed to go ok, doing the same things as bitcore.
10 hours into it I remember to check the peer addys. I add a abc peer and i can now see other abc peers.
2 hours after that it gets to 99.79% and stays there for 10 hours. I restart it, it gets to 99.58 and stays there for hours. I restart it again and it does the same with even less percentage.
I remember reading it will sorta do this but is in fact working and I could confirm that by seeing network traffic in the help panel. So i leave it for another 30 hours, still nada and post here i failed.
I may be a bit pre-emptive but it been pretty busy here. The lady downstairs partner died in custody the other night and she is breaking down sobbing. My youngest brother was killed in custody so I really feel for her an am trying to help. The little old lady from the other side of the block has been terrified by the landlord telling her she has too much stuff, so i've been helping there. The $280 battery collasped in my Diesel Auto Delica the other night, so i've been trying to sort that too annnnd Im not going to mention Im behind two days design on two websites too...

So yerrr, it's the enviorment. An ol lappy, drives an' crap hangin' outa' it, interruptions, messy os and install's.... but i have enjoyed the challenge, it truely has been a good distraction from the crap around me.
Plan is now to get a second internal drive for the lappy, a hybrid, i really like the idea of them. Also some hdd sata adapters and i mite give it another load along with using the one-boot-wonder to do the file copy over...

sometimes you wish you just didn't ask don't ya'....lol...

I'm not exactly sure what you're trying to do, but this topic is about exporting your private keys from a Bitcoin Wallet for Android.
newbie
Activity: 20
Merit: 14
HCP made this guide as well which might work better for you.

Although, if you're still stuck, I can try to get them out for you (but that'd require you to trust me with your private keys, you might want to move your bitcoins out first at least).

I'm don't want to question your credibility or good intentions, but one should NEVER EVER give private keys to a stranger.

Yes, generally that I a good rule to follow.
However, if you're completely stuck and have no other option and there could be something from it you really want to get then... Use anyone you want, I'm sure there'll be a fairly trustworthy escrow service provider that might be able to help you get the BCC out if you ask them.

The BCC won't run away Wink

I'm glad to help here on the forum if anyone runs into an error.
member
Activity: 61
Merit: 10
AWorldWideWebOfReasons AWorldWideWebOfResults
thanks for you replies and offers, i got bitcore going fine but i think it the environment im asking bitabc to work in that might be proving a little hard for it...
Originally I put an 64bit amd 3.2 X2 with a pair of 4g ddr3 dual-channel sticks. It had boot prob's. The local curbside throw out was on so i went out and collected some the fewer and fewer boxs that are thrown out these days. Along the way I picked up my sons old sli-rigged AMD2.
I get home an three hours later I've rigged a work bench and test lab for the five box's I've got disassembled and spread around the living room.
3 hours later I've got an AMD3.2 rig running 6 gig of mis-matched ram at 667, but still its way faster than my old trojan lappy I usually do things on.
I load deb9 to it and none of my usb wifi's work. I spend a few hours stuffing with that, ie, nonfree, firmware etc.. Still can't get it up, I reload it with deb8, kernel it up to 9, sid it over and the usb wifi works. Great, the next day i plan to copy the block files over to it and load abc.
The next morning it refuses to start despite it hot and cold booting all the day before. I pull it down again, get it going, post to linuxquestions how much I hate uefi boot & fs4 and proceed to load abc.
My eldest son rings, his lost his car-keys in the sand at the beach 200K's away and he is on a tinder date, can I please rescue him. My youngest is in canada atm so I jump in his after-marketed 2H turboed highly-tuned 60series and line-drag the 4.6L Rangys up and down the highway to get his carkeys to him. That old but powerful 60's really has some grunt on the highway.
I get home and that darn machine wont boot again.... argghhh
I ditch the machine, look at ol-trojy, strip it's hdd and plug in a usb drive and load the same as above 'cause I've still got the same usb wifi.
Finally i get a machine and os going, albeit on a shared usb channel splitting the usb drive and usb wifi.
But still, ol-trojy handles it with only a minor performance hit.
Installing abc i did late at night, i was tired and my install folder was just plain wrong. I installed all the dependencies listed on the page just to be sure, copied the block files from one drive to another and fired it up.
Seemed to go ok, doing the same things as bitcore.
10 hours into it I remember to check the peer addys. I add a abc peer and i can now see other abc peers.
2 hours after that it gets to 99.79% and stays there for 10 hours. I restart it, it gets to 99.58 and stays there for hours. I restart it again and it does the same with even less percentage.
I remember reading it will sorta do this but is in fact working and I could confirm that by seeing network traffic in the help panel. So i leave it for another 30 hours, still nada and post here i failed.
I may be a bit pre-emptive but it been pretty busy here. The lady downstairs partner died in custody the other night and she is breaking down sobbing. My youngest brother was killed in custody so I really feel for her an am trying to help. The little old lady from the other side of the block has been terrified by the landlord telling her she has too much stuff, so i've been helping there. The $280 battery collasped in my Diesel Auto Delica the other night, so i've been trying to sort that too annnnd Im not going to mention Im behind two days design on two websites too...

So yerrr, it's the enviorment. An ol lappy, drives an' crap hangin' outa' it, interruptions, messy os and install's.... but i have enjoyed the challenge, it truely has been a good distraction from the crap around me.
Plan is now to get a second internal drive for the lappy, a hybrid, i really like the idea of them. Also some hdd sata adapters and i mite give it another load along with using the one-boot-wonder to do the file copy over...

sometimes you wish you just didn't ask don't ya'....lol...





copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
HCP made this guide as well which might work better for you.

Although, if you're still stuck, I can try to get them out for you (but that'd require you to trust me with your private keys, you might want to move your bitcoins out first at least).

I'm don't want to question your credibility or good intentions, but one should NEVER EVER give private keys to a stranger.

Yes, generally that I a good rule to follow.
However, if you're completely stuck and have no other option and there could be something from it you really want to get then... Use anyone you want, I'm sure there'll be a fairly trustworthy escrow service provider that might be able to help you get the BCC out if you ask them.
newbie
Activity: 20
Merit: 14
HCP made this guide as well which might work better for you.

Although, if you're still stuck, I can try to get them out for you (but that'd require you to trust me with your private keys, you might want to move your bitcoins out first at least).

I don't want to question your credibility or good intentions, but one should NEVER EVER give private keys to a stranger.
Pages:
Jump to: