• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Restoring chats from a phone backup made by TWRP

Spacetalk

Lurker
Feb 1, 2022
1
0
This procedure can be used when Whatsapp is installed on a new phone or when an old phone had been reset and no new chats had been created since the backup used. The phone Huawei must be rooted. Restoring chats from SD card failed. Copy the backup made by TWRP (Team Win Recovery Project) on SD card to PC. It contains a file:
data.ext4.win000
that can be opened by WinRAR. Navigate to folder:
data.ext4.win000\data\data\com.whatsapp\databases
and extract it using WinRAR on PC.
This folder contains among many others the message db (msgstore.db) file in clear, not encrypted format. Using AirDroid or MyPhoneExplorer copy this folder to the SD card.
After installing WhatsApp the complete folder must be copied to the database location on the phone using a root explorer, e.g. Solid Explorer, overwriting the present "databases" folder:
/data/data/com.whatsapp
Now, Whatsapp will show only the chats from the backup.
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones