Bitcoin Forum
December 12, 2024, 09:40:50 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Where i can find my wallet.dat  (Read 251 times)
tumis (OP)
Member
**
Offline Offline

Activity: 1022
Merit: 69


View Profile
February 09, 2018, 01:19:13 PM
 #1

Hello

When can i find mi wallet.dat ? I was using bitcoin wallet app on the samsung galaxy s4. Where i can find it?
LoyceV
Legendary
*
Offline Offline

Activity: 3528
Merit: 17819


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
February 09, 2018, 01:55:41 PM
 #2

Bitcoin Wallet for Android doesn't have a wallet.dat. What exactly are you trying to accomplish?

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
rakkhusi
Jr. Member
*
Offline Offline

Activity: 47
Merit: 2


View Profile
February 09, 2018, 04:01:25 PM
 #3

 wallet dat is running windows or mac. not support mobile. 
see https://en.bitcoin.it/wiki/Wallet

████████          shop.ccFOUND.com          ████████
►          INVEST IN WISDOM!          ◄
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2504



View Profile WWW
February 09, 2018, 05:46:35 PM
 #4

The "Bitcoin wallet" for android doesn't have a wallet.dat

If you want to export your private keys you have to do the following:
  • Click 'Menu' -> 'Safety' -> 'Backup wallet'
  • Move the backup file to your PC
Next steps require linux:
  • Decrypt your wallet with this command: openssl enc -d -aes-256-cbc -a -in /PATH/TO/YOUR/BACKUP-FILE -out decrypted-wallet
  • Install Bitcoinj from https://github.com/bitcoinj/bitcoinj/archive/master.zip
  • Dump your private keys with this command: ./wallet-tool dump --dump-privkeys --wallet=decrypted-wallet > wallet.txt
  • Extract the seed with this command: grep "Seed as" wallet.txt > seed.txt


If you need a more detailed guide / some help, feel free to ask further questions.

tumis (OP)
Member
**
Offline Offline

Activity: 1022
Merit: 69


View Profile
February 09, 2018, 09:04:12 PM
 #5

The "Bitcoin wallet" for android doesn't have a wallet.dat

If you want to export your private keys you have to do the following:
  • Click 'Menu' -> 'Safety' -> 'Backup wallet'
  • Move the backup file to your PC
Next steps require linux:
  • Decrypt your wallet with this command: openssl enc -d -aes-256-cbc -a -in /PATH/TO/YOUR/BACKUP-FILE -out decrypted-wallet
  • Install Bitcoinj from https://github.com/bitcoinj/bitcoinj/archive/master.zip
  • Dump your private keys with this command: ./wallet-tool dump --dump-privkeys --wallet=decrypted-wallet > wallet.txt
  • Extract the seed with this command: grep "Seed as" wallet.txt > seed.txt


If you need a more detailed guide / some help, feel free to ask further questions.

Im not sure but tell me how this backup name look ?
Im asking becouse i dont have this wallet now becouse i was made a factory reset.. but i did a copy all folder from my phone before factory reset...
LoyceV
Legendary
*
Offline Offline

Activity: 3528
Merit: 17819


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
February 09, 2018, 09:10:19 PM
 #6

Im not sure but tell me how this backup name look ?
If you created a backup within the Android Bitcoin Wallet, it's called bitcoin-wallet-backup-2015-05-18 (or any other date).

Quote
Im asking becouse i dont have this wallet now becouse i was made a factory reset.. but i did a copy all folder from my phone before factory reset...
If you didn't create a backup from within the wallet, you should start searching for the wallet directory.
How did you backup all folders?

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
tumis (OP)
Member
**
Offline Offline

Activity: 1022
Merit: 69


View Profile
February 09, 2018, 09:46:12 PM
 #7

Im not sure but tell me how this backup name look ?
If you created a backup within the Android Bitcoin Wallet, it's called bitcoin-wallet-backup-2015-05-18 (or any other date).

Quote
Im asking becouse i dont have this wallet now becouse i was made a factory reset.. but i did a copy all folder from my phone before factory reset...
If you didn't create a backup from within the wallet, you should start searching for the wallet directory.
How did you backup all folders?

I just plug in my phone to the pc and ctr+c and ctr+v all folder from my samsung galaxy to the computer. But im afraid i cant find here similar folders/files like "wallet" etc
LoyceV
Legendary
*
Offline Offline

Activity: 3528
Merit: 17819


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
February 09, 2018, 09:51:00 PM
 #8

I just plug in my phone to the pc and ctr+c and ctr+v all folder from my samsung galaxy to the computer. But im afraid i cant find here similar folders/files like "wallet" etc
Read this: Bitcoin wallet file location in smartphone, it explains where to look.

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
tumis (OP)
Member
**
Offline Offline

Activity: 1022
Merit: 69


View Profile
February 09, 2018, 10:29:04 PM
 #9

I just plug in my phone to the pc and ctr+c and ctr+v all folder from my samsung galaxy to the computer. But im afraid i cant find here similar folders/files like "wallet" etc
Read this: Bitcoin wallet file location in smartphone, it explains where to look.

OK thanks for it , every info is good. "The android Bitcoin Wallet application stores data using androids MODE_PRIVATE in the following location: " What does it mean " MODE_PRIVATE" ??

It is possible to make ctr c + ctr v and dont copy this file becouse it was hidden or somethink like that (or chmod permission , whatever) .. ?
LoyceV
Legendary
*
Offline Offline

Activity: 3528
Merit: 17819


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
February 09, 2018, 10:36:07 PM
 #10

It is possible to make ctr c + ctr v and dont copy this file becouse it was hidden or somethink like that (or chmod permission , whatever) .. ?
I can't say for sure, but this can be true. You can test this by installing the wallet on your phone again, and trying to repeat what you did before.

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4363

<insert witty quote here>


View Profile
February 10, 2018, 10:46:07 PM
 #11

You'll probably find that your "wallet file" was stored in the "/data/data" directory tree... If you only did the "ctrl+c/ctrl+v" from within Windows Explorer, then chances are, you did NOT copy your wallet file.

"/data/data" is a protected system folder... and generally only visible if you have rooted your phone and are using a phone/file explorer with root permissions.

The files you see in Windows Explorer when you connect your device to your PC (using "MTP" mode) will generally only be files/folders that are in the "storage" areas like /sdcard or /extsdcard etc.

However, if you created a backup of your wallet file from within the app, the backup file is generally placed on the (internal/external) "/sdcard" which SHOULD show up when you connect your phone to your PC.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
tumis (OP)
Member
**
Offline Offline

Activity: 1022
Merit: 69


View Profile
February 11, 2018, 12:15:55 PM
 #12

You'll probably find that your "wallet file" was stored in the "/data/data" directory tree... If you only did the "ctrl+c/ctrl+v" from within Windows Explorer, then chances are, you did NOT copy your wallet file.

"/data/data" is a protected system folder... and generally only visible if you have rooted your phone and are using a phone/file explorer with root permissions.

The files you see in Windows Explorer when you connect your device to your PC (using "MTP" mode) will generally only be files/folders that are in the "storage" areas like /sdcard or /extsdcard etc.

However, if you created a backup of your wallet file from within the app, the backup file is generally placed on the (internal/external) "/sdcard" which SHOULD show up when you connect your phone to your PC.
Ok. So was coppied only "normal" folder..
Anyway I can use a wondershare andorid recovery. I need to set usb debuggin mode and try to recover all files before factory reset. Unfortunetly i cant find backup wallet file.
Only chance is for using tools like android recovery.
Recuva is ok ? What are You think?
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2504



View Profile WWW
February 11, 2018, 01:23:46 PM
 #13

Only chance is for using tools like android recovery.
Recuva is ok ? What are You think?

Recuva should be fine. But i would highly suggest you create a (forensic) image (better: two) of your phone before you try to recover stuff.
I personally would simply use DD (https://en.wikipedia.org/wiki/Dd_(Unix)) to create such an image. Afterwards you can try whatever software you want (on the image).
The other image should be held as an backup, which you can later copy again to try another forensic tool (if you somehow messed up with your first image).


tumis (OP)
Member
**
Offline Offline

Activity: 1022
Merit: 69


View Profile
February 11, 2018, 08:30:31 PM
 #14

Only chance is for using tools like android recovery.
Recuva is ok ? What are You think?

Recuva should be fine. But i would highly suggest you create a (forensic) image (better: two) of your phone before you try to recover stuff.
I personally would simply use DD (https://en.wikipedia.org/wiki/Dd_(Unix)) to create such an image. Afterwards you can try whatever software you want (on the image).
The other image should be held as an backup, which you can later copy again to try another forensic tool (if you somehow messed up with your first image).



Ok thanks for info. So i will repair my lcd and try do it ! First i need to enable USB debuggin mode. I hope i dont crash my storage becouse one week ago i was trying to recover data with wondershare android recovery for samsung (without lcd and withoud usb debugging mode on). I hope i dont Overwrite  anythink..
Ciremik
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
February 12, 2018, 11:48:55 PM
 #15

Could you just “export wallet” and specify [wallet.dat] location to desired location? If possible..
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2504



View Profile WWW
February 13, 2018, 12:14:20 AM
 #16

Could you just “export wallet” and specify [wallet.dat] location to desired location? If possible..

Thats not an option for OP currently.

  • His display is broken
  • He has wiped his memory (factory reset)

He made a backup in terms of copying his files from his mobile over to his PC.
His only options seems to be to create an image of his mobile and try to recover those deleted files.

tumis (OP)
Member
**
Offline Offline

Activity: 1022
Merit: 69


View Profile
February 13, 2018, 06:53:48 AM
 #17

Could you just “export wallet” and specify [wallet.dat] location to desired location? If possible..

Thats not an option for OP currently.

  • His display is broken
  • He has wiped his memory (factory reset)

He made a backup in terms of copying his files from his mobile over to his PC.
His only options seems to be to create an image of his mobile and try to recover those deleted files.


Yes, right. I had wipe my memory. But after that i never use this phone. So i think it is the chance.
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2504



View Profile WWW
February 13, 2018, 04:06:03 PM
 #18

Yes, right. I had wipe my memory. But after that i never use this phone. So i think it is the chance.

There is definetely a chance. Files aren't completely removed from the storage until they are overwritten by new files.
Its just very important that you make a correct image of your phone.
So you can try to recover those files on an image without hurting the storage of your phone.
You should make sure that your mobile won't be auto-updating any applications or whatsoever.
Just turn it on, activae USB-debugging, make an image, copy that image and load this image into your recovery software.
Chances are pretty high you will be successfull.

The wallet/app was stored on your internal storage, right?

tumis (OP)
Member
**
Offline Offline

Activity: 1022
Merit: 69


View Profile
February 13, 2018, 09:33:36 PM
 #19

Yes, right. I had wipe my memory. But after that i never use this phone. So i think it is the chance.

There is definetely a chance. Files aren't completely removed from the storage until they are overwritten by new files.
Its just very important that you make a correct image of your phone.
So you can try to recover those files on an image without hurting the storage of your phone.
You should make sure that your mobile won't be auto-updating any applications or whatsoever.
Just turn it on, activae USB-debugging, make an image, copy that image and load this image into your recovery software.
Chances are pretty high you will be successfull.

The wallet/app was stored on your internal storage, right?


Ok so i wait for new lcd from shop. I will repair phone and after that turn debugging on.

I hope i dont fucked it when i was trying to use on my pc some applications like android wondershare samsung recovery itp.. ..
But thanks for info man !!
tumis (OP)
Member
**
Offline Offline

Activity: 1022
Merit: 69


View Profile
February 15, 2018, 06:51:25 PM
 #20


Its just very important that you make a correct image of your phone.



Hello its me again. Can u tell me how to make a correct image of my phone ?
Pages: [1]
  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!