Smartphone users Honor i Huawei often face the need to transfer data or restore accidentally deleted information. The standard Notes application is one of the most popular tools, but its file storage architecture is not always obvious to the average gadget owner. Unlike text documents that we are used to seeing in the โDownloadsโ folder, notes are hidden deep in system directories, protected from direct editing.
Understanding the where are the files physically located database is critically important when trying to manually backup or migrate to a new device without using cloud services. Android, especially EMUI and Magic UI, enforces strict security policies, isolating application data from each other. This means that without obtaining extended access rights (Root) or using special PC utilities, direct access to these files may be difficult.
In this article we will analyze the file structure in detail, consider the specifics of working with databases SQLite and offer working methods for preserving your intellectual property. You'll learn how to find hidden folders, how paths differ on different versions of Android, and what to do if standard backup methods don't work.
System architecture of data storage in EMUI and Magic UI
The Android operating system uses a strict directory hierarchy to store application data. Each app, including standard voice recorders and notepads, receives allocated space in the device's memory. For the Notes application on smartphones Honor this space is located in a protected area of โโthe internal memory, access to which by default is closed to file managers without superuser rights.
The main path where notes are stored on Android Honor usually looks like this: /data/data/com.huawei.notepad/databases/. This is where files with the extension .dbare located, containing all the text, task lists and even embedded images in encoded form. The structure of this directory is the same for most devices in the line, however, variations may occur depending on the firmware version.
It is worth noting that simple navigation through the phone's memory through a standard explorer will not allow you to see the folder data at the root of the system. This was done by Google developers to protect user data from malware and accidental deletion of system files. Therefore, to view this path, you will need to connect to your computer via USB debugging or use advanced file managers with activated Root access.
โ ๏ธ Warning: Directly editing database files in this folder may result in the Notes application not working at all. Any changes to the structure
.dbof the file should be made only after creating a complete copy of the original.
Searching for files through a computer and ADB
The most reliable way to get to the treasured folder with notes is to use a computer and tools Android Debug Bridge (ADB). This method does not require root access, but requires enabling debugging mode on the smartphone itself. By connecting the device to a PC, you are able to execute commands that emulate access on behalf of the system.
To get started, you need to activate developer mode. Log in Settings โ About phone and quickly click 7 times on the โBuild numberโ item. After a message appears stating that you have become a developer, go to the menu System and updates โ For developers and activate the switch USB debugging.
After connecting the cable and confirming debugging permission on the phone screen, run the following command in the terminal on your computer:
adb shell run-as com.huawei.notepad ls /data/data/com.huawei.notepad/databases/
This command will list the files in the database directory. You will see files with names like notepad.db or note.db. To copy them to your computer for later study or saving, use the command adb pull, specifying the full path to the file on the device and the target folder on the PC.
โ๏ธ Preparing to extract data via ADB
Alternative paths and local backup
In addition to the system directory /data/data/, some versions of EMUI firmware can create additional copies or cached versions of notes in public memory sections. This is especially true for synchronization or export functions. Users can find traces of their activity in the folder /Huawei/Cloud/ or /Android/data/com.huawei.notepad/, although complete databases are rarely stored there.
A safer and recommended way to save data is to use the built-in local backup feature. It creates an archive that includes not only the text of the notes, but also the application settings. To do this, go to Settings โ System and updates โ Backup and restore.
Select the storage source (internal memory or microSD card) and check the โNotesโ checkbox. After the process is completed, a file with the extension .hwb or similar will appear in the specified location, which can be restored on the same device or transferred to another Honor smartphone of the same series.
- ๐ The local backup is saved in the folder
/HWBackup/on the internal drive. - ๐ Restoring from local copy requires entering a password if it was set when creating the archive.
- ๐พ Backup files take up significantly less space than full system images.
Before creating a local backup, empty the trash in the Notes application so as not to save deleted data and reduce the size of the archive.
Database structure SQLite data and text recovery
The files found in the system folder are database format SQLite. This means that you wonโt be able to open them with regular Notepad and read the text - you will only see a set of unreadable characters and service information. To view the content, you need specialized database browser apps, such as DB Browser for SQLite.
When you open a file notepad.db in such a app, you will see a table, usually called notes or data. Within this table, the text content of the notes is stored in one of the columns, often named content or body. However, it is worth considering that the text can be saved in HTML format or using special markup tags for bold fonts and lists.
If your goal is to rescue text from a corrupted application, exporting data through an SQL browser is the most effective solution. You can download the table contents to a CSV file, which can then easily be opened in Excel or any text editor, allowing you to quickly copy the information you need.
| File name | Data type | Content | Opening method |
|---|---|---|---|
| notepad.db | SQLite Database | Text of notes, creation dates | DB Browser for SQLite |
| notepad.db-journal | Journal File | Temporary transaction changes | Not required (system) |
| hwb file | Archive | Full backup | Recovery via settings |
What to do if the database is damaged?
If the .db file does not open or causes errors in the browser, try using the "Recover Database" function in SQLite tools. Often this allows you to save the text even if the file structure is partially damaged.
Synchronization with the Huawei cloud and access problems
Modern smartphones Honor (especially new models without Google services) actively promote the use of the cloud Huawei Cloud. Notes synchronized with your account are stored on remote company servers, and not just in the phone memory. This provides access to data from any device where you are signed in to your Huawei ID.
However, access to this data through the phone's file system is limited. Cloud notes are cached locally, but synchronized in the background. If you turn off the Internet, the latest changes may not be saved on the server. It is important to understand the difference between local storage and cloud storage: deleting a note on your phone while synchronization is active will result in its deletion in the cloud.
To view notes via the web interface, you must go to the official cloud services portal. There you can see all your records, export them or restore deleted items from the cloud recycle bin, which stores data for 30 days.
โ ๏ธ Attention: The interface and operating conditions of the cloud storage may vary depending on the region of account registration and the current company policy. Always check the current synchronization settings in your personal account.
Recovering deleted notes without root access
The situation when important information has been deleted is one of the most stressful. Luckily, the Notes app on Honor comes with a built-in trash can. Deleted items are not erased instantly, but are moved to a special section where they are stored until final cleaning. You can find it in the application menu, usually at the bottom of the screen or in the side pull-out list.
If the note is deleted from the trash can, the chances of recovery depend on the availability of backup copies. Check the automatic backup settings in the menu Settings โ System and updates โ Backup. Perhaps yesterday or a week ago the system automatically created an archive containing a file that has not yet been deleted.
In cases where there are no backups and the data is critical, you can try to restore the previous version of the database file notepad.dbif it was saved in system cache or was copied to the memory card earlier. However, without root access, access to shadow copies of system files is extremely limited.
- ๐๏ธ The Recycle Bin in the Notes application stores deleted entries for 30 days.
- โ๏ธ The Huawei Cloud Cloud Recycle Bin also has a retention period for deleted files.
- ๐ After After emptying the recycle bin, restoration is possible only from a backup copy (backup).
Regular creation of local backups to a memory card is the only guaranteed way to return data after emptying the recycle bin without using expensive recovery services.
Frequently asked questions (FAQ)
Is it possible to transfer notes to a smartphone of another brand? (for example, Samsung)?
Direct transfer of the database file .db to a smartphone of another brand will not work, since the Notes application is not there or has a different structure. The best way is to export the text of the notes one by one to the format .txt or use the โShareโ function by sending them to your email. Synchronization via the Huawei cloud will also help if you can install Huawei services on the new device or log in through a browser.
Why did the notes disappear after resetting the settings, although I did not delete them?
Resetting to factory settings (Hard Reset) completely clears the partition /data/where all user applications and their data are stored. If you have not enabled synchronization with the Huawei cloud or have not created a local backup on an external storage device, the data will be lost forever.
How to open a .hwb file on a computer?
Files with the extension .hwb are a proprietary backup format Huawei/Honor. They are not intended to be opened on a PC with standard apps. They can only be used for recovery through the โBackup and Restoreโ menu on the smartphone of the corresponding brand.
Where are voice notes made in the application stored?
Voice recordings attached to notes or made through a voice recorder are usually stored in a separate folder /Sounds/ or /Recordings/ in internal memory, not in the text database. The database itself notepad.db only stores a link to the path to this audio file.