[Android Software/Hacking General [Developers Only]] seanpaul00:
Help desired as I may have lost all my SMS after installing & configuring Mounts2SD

Good day everybody

My god, I have activated my brain too late I assume. At this point, I am afraid to have lost all the SMS which I had on my phone. Usually, I backup them with the app SMS Backup & Restore, but unfortunately I have not done this for quite a while.

What I've done to end up in this situation:

Two days ago, I installed Mounts2SD from the Play Store. Unfortunately, I did not make a backup the /data partition before installing this app. First, I have installed the init.d startup script and configured Busybox. Afterwards, I have configured that the applications, data and cache are moved to /sd-ext/..., those were the three content types I have enabled for moving to /sd-ext if I'm not mistaken. I do not remember exactly what I have done afterwards in which order, but when scrolling through the Log, there was only 1 Error displayed saying something like the ext partition has not enough free space available. Before or after having a look into the Log, I restarted my phone. Mounts2SD then showed, that some space on /sd-ext is used. Somehow, the SMS app did not contain any messages anymore. So, I have disabled the script and thought I might be able to backup them with SMS Backup & Restore after a restart. For sure, this does work as disabling the script does not move the content back to its previous location.

What I have figured out:

MiniTool Partition teels me:

FAT32 partition, 6.65 GB capacity, 4.15 GB used

Ext3 partition, 976.86 MB capacity, 102.61 MB used

When browsing the ext3 partition, DiskInternals Linux Reader tells me:

app folder, 30 files, 70.96 Mb

cache folder, 0 files, 0.00 Kb

data folder, 156 files, 2.43 Mb

data@local@tmp folder, 0 files, 0.00 Kb

lost+found folder, 0 files, 0.00 Kb

... makes altogether 73.39 Mb. Any idea where all the rest of 29.22 Mb is? :(

Everytime I try installing an apk file, like Mounts2SD (I thought I may be able to revert the movement of /app, /data etc.), the phone seems to reboot or the like. The OXYGEN loading screen comes up for about 3 seconds (ways faster than when starting the phone) and I have to unlock the SIM card.

I have now copied the file mmssms.db from \data\data\com.android.providers.telephony\databases\ to the sdcard and viewed it with the Firefox Addon SQLite Manager. All the messages are in the database, which I have sent and received since the SMS app became empty 2 days ago. The file has a size of 75 KB.

What can I do next?

While browsing the ext3 partition with DiskInternals Linux Reader, I have copied the mmssms.db located in /sd-ext\data\com.android.providers.telephony\databases\. Unfortunately, it has only a size of 1 KB. It has the same tables as the 75 KB mmssms.db file, but no records in it.

What I 'd like to achieve:

Just having all the SMS' back I had before. As far as I understand, the script has moved /data/data to /sd-ext/data. But, is probably the mounting not OK which could have caused that I did not have any messages in the SMS app anymore?

Have I really lost now all my messages? :crying:

In the log, there was really only 1 Error displayed. The warnings I have not read exactly.

Information about my phone:

Phone: HTC Desire S-OFF

HBOOT: 6.93.1002

ROM: Oxygen 2.3.2

ClockworkMod Recovery: v5.0.2.0

I have root access as far as I see. When I installed the init.d startup script, there appeared a request whether I would like to give the app root access, what I have authorized.

If more information are required, please let me know.

Every help, hint or other helpful support is greatly appreciated. I will also buy you a beer if you desire. :fingers-crossed: