yashsingh1/xdaforums huggingface dataset:
[Nexus 5 General] sufian88:
If SMS don't appear in Textra upon restore, it will repel users from using Textra, not repel users from using stock/other SMS apps. You would have a point if you say there should be a feature to reload messages from stock DB, but to say it's a bug which makes Textra unreliable is plain wrong,

For background task issue, what was the version of the app you tried? For me it reaches my stock SMS app in 3 to 4 seconds. Don't think anyone can go to backup app and start the backup in this small duration.

When you optimize things, you have to let go of other thing(s). It's the law of Software Engineering. And Jason cited the same.
[Nexus 5 General] Trel:
If doing a normal restore, SMS don't appear in Textra without completely resetting the app, it's a problem with Textra. There's three possible options for what this is

A bug

An oversight (which isn't likely because I originally reported this behavior over a year ago, and it still exists and was confirmed intentional)

A poor design decision

I used whatever was the latest version as of the time I wrote that post. I stopped using it over a year ago when I discovered this behavior. They specifically confirmed that this is done through a low priority background task. Perhaps your tests are being done on a device that's being stressed less. I'm sure if I was doing less at the time, it would appear faster. However, that would only be useful during a test, because I cannot guarantee that I'll be able to take a backup of my SMS during any such downtime.

I agree with that. I just don't think that this particular tradeoff is acceptable nor the optimization achieved even a desirable one.
[Nexus 5 General] sufian88:
If you have used a low-end device, you'd only agree with me but I think you haven't used any so the problem lies there. If you're saying that this issue should be the first thing they should mention then I'm with you but to slate the app for like the OP, people have responded correctly by giving 1 star out of 5 to this thread.

Basically you're saying the idea of the app is wrong is taking you nowhere. Why do you want to dictate your 'ideas' onto others? Not everyone has a Nexus or S4.
[Nexus 5 General] tvBilly:
Talk about beating a dead horse. Time to move on.
[Nexus 5 General] jayRokk:
This!!!

The app works. It does what its described to.

Don't like it? Use another one and move on.
[Nexus 5 General] Trel:
FYI it was just pointed out to me that as of Sept 30th, an option to resync Textra has been added, which renders my criticism outdated.
[Nexus 5 General] Doktaphex:
You people are weird, wanting to back up your text messages. I will never understand it. But then, you'll say that I'm weird for not wanting to back them up.

Ah, what a crazy world we live in.
[Nexus 5 General] jayRokk:
+1

I've never backed up SMS. All I want to do is delete them.
[Nexus 5 General] Utini:
So I guess this problem is still present with textra?

Textra is now advert spamming so I wanted to switch back to the AOSP sms/mms app. But it seems like I cant get my sms from textra to stock sms app?!
[Nexus 5 General] TheLastSidekick:
The only time I could see them as useful are legal evidence.
[Nexus 5 General] fix-this!:
ive used textra for years but the new addition of ads and the nag messages ive switched to evolve.
[Nexus 5 General] uodii:
Install whatever other app you want. Then open the new app. You should see the messages in the new app. Then once it's verified that the messages are still there, delete textra. I do it all the time. Have never once had any issues.
[Nexus 5 General] FreakiestMe:
So, I'm in a similar position.

I have my Textra database files, but I can't seem to get Googles Messenger to pick them up.

I'm trying to identify where evolvesms or Google Messenger actually read a database to show some text messages. It's only what has been sent from the phone since I installed a new rom, not all the ones in my Textra database. So if I could identify where that database is, I could see about replacing that file with my Textra one. But I'm really not sure where that database is.

I've looked in:

/data/data/com.google.android.apps.messaging - Messengers local database

/data/data/com.android.providers.telephony - Thought this was the root one, but deleting the db has no effect

Where would I find this database that holds the messages being sent? Where would I need to move the textra database to to make other text apps pick up the data in there?

Thanks.
[Nexus 5 General] uodii:
It's something like

/data/data/com.android.providers.telephony/databases/mmssms.db

The issue is that you cant do what you want to do. I mean, I guess you code try to do a file comparison between how Textra formats it's SMS/MMS database and how the android system formats it's SMS/MMS database.

It works like this: If you send a text message from Textra, it'll update it's own database as well as the system database. If you're a flashoholic, you ONLY need to backup the system database (using something like Titanium Backup --- This is what I'd recommend as ever texting app will read from the system database). So if you flash a new rom, restore your messages using Titanium Backup and then install Textra (or if Textra is already installed, use the resync messages feature in the settings menu). Then you have everything you want back.

If you dont do the above and you only backup/restore Textra App+Data, then you're only restoring Textra's local SMS/MMS database that *ONLY* Textra can read. This is why everybody is having an issue and it's because they're doing it wrong. If Textra's the only texting app you use, you can get away with doing it like this, but if you switched to another app, like Google Messenger, Messenger will only be able to see the messages from the point at which you restored the phone (since Textra would be writing those new messages to the system database).

TL;DR. To backup/restore texts, use Titanium Backup's "Backup data to XML" and "Restore Data from XML" feature as this is the proper way to backup/restore your messages. Dont just backup/restore Textra App+Data as you're only saving the SMS/MMS database that is local to Textra (No other app can read from that database).
[Nexus 5 General] FreakiestMe:
Thanks for that. My plan is to try and do some sort of script to convert the database. I may fail entirely but its something to try.

However, even after deleting the mmssms.db in that location you linked from my phone, google messenger is STILL able to find a copy of that database somewhere. I delete that dB and the one in google messenger area. But it still finds the texts sent from the last ROM install.
[Nexus 5 General] uodii:
Check inside

/data/user/0/

It looks like there's also db files inside there too for each app.

Not sure what's the difference between that and /data/data/ (maybe user specific data vs all user data?). I also dont know which takes priority if there even is priority. In any case, if you poke around please post your findings.
[Nexus 5 General] defcondev:
Why would you ever want to leave Textra SMS? :p
[Nexus 5 General] jomar_uk:
Textra appears to lose Samsung sis messages.

Hi

I hope this helps someone else.

I had to factory restore, then restore all my sms messages (over 11000).

I could only see a small amount in textra but in Samsung stock messaging app frustratingly all there.

Solution:

Delete textra and then reinstall it.

It will then pick up all your Samsung sums db and display them.

Shalom and hope this helps, john
[Nexus 5 General] uodii:
There's an option in Textra that allows you to re-sync you're texts in Textra. It basically deletes Textra's data and re-grabs all texts from your system db (faster/easier than re-install, but essentially the same none-the-less)
[Nexus 5 General] jomar_uk:
Hi [MENTION=5007648]uodii[/MENTION]

I am using the latest textra pro and there is no such option on the version I am using. Could you tell me where it is please for future reference?

Shalom and thanks, john
[Nexus 5 General] uodii:
[MENTION=4571564]jomar_uk[/MENTION] When you goto settings, press About Us. There should be an option available to Resync Textra. Again, this is only for grabbing stuff in the system db, it doesnt do the reverse (add texts from textra's db to the system db...that would be awesome though).
[Nexus 5 General] ahighone:
Just in case anyone else finds this useful.

problem:

1. Backed up all SMS messages with SMS Backup

2. Installed Textra

3. Restored the SMS data

4. Textra doesn't see the restored SMS messages.

my solution:

1. Uninstall Textra

2. Set messaging as default SMS handler

3. Confirm Messaging sees all the restored SMS conversations

4. RE-Install Textra

5. Set Textra as default SMS handler.

6. Confirm Textra now has all the conversations that messenger did.

Uninstall Textra, confirm restored conversations are in messaging... once confirmed you reinstall Textra... and wallah.

Hope it helps.
[Nexus 5 General] noxqzs:
After you restore the messages, do you go into Textra settings and resync messages?
[Nexus 5 General] sync-oz:
I wrote a Groovy script which exports from my old Textra database to the XML format used by SMS Backup and Restore, which let me get my old Textra messages back into the stock messaging database.

Had a few issues - 10 failures from 13k messages. But that was good enough for me, all the messages and MMS I cared about transferred OK.

I can put this up on Github if anyone's interested.
[Nexus 5 General] rsharpe:
I would love to get a copy of that script if you throw it up on Github.
[Nexus 5 General] sync-oz:
Cool!

Here's the script: ... Doh I can't post links. Go to github, and search for 'convert-textra-db-to-xml'. It's the only hit.

It's pretty rough but I've tried to include some instructions. Hope it's helpful to someone else :)
[Nexus 5 General] pewpew14:
I'm having issues trying to run the script (see here).

EDIT: All fixed - simple error by me!
[Nexus 5 General] sync-oz:
Did it work for you? I'm hoping it does, but I only ran it it my one particular situation so am keen to hear how it works for others.
[Nexus 5 General] Hackills:
Thanks a lot man! Your script worked perfectly for me :good:
[Nexus 5 General] dcdruck1117:
For what it's worth, I've had similar issues with Textra and its separate database. What I've found is that most of the time, Textra successfully copies messages to the stock database. However, many do not get copied over for one reason or another (Textra does not report these as errors anywhere as far as I can tell). After using Textra for a month, I used Titanium Backup to backup and restore my text messages (from the stock messaging database) and found that while a good majority from the past month made it over in the restore, a non-neglible number of them were gone forever. These are ones that Textra apparently failed to copy to the stock database. I have a Verizon HTC One M8, currently running Dirty Unicorns 9.6.

My goal is to write a script that would take the database backup from Textra and merge it with the backup from Titanium Backup of the stock database, removing any duplicates, to ensure I have the full collection of text messages.
[Nexus 5 General] re1743:
Well I'm totallyt interested in using this :)
[Nexus 5 General] sync-oz:
In response to PM about out of memory issue:

I had this too. You just need to increase the JVM heap size for groovy - set JAVA_OPTS. Google for 'groovy increase heap size' it's pretty simple but exact instructions depend on your OS.

Let me know if you're still stuck!
[Nexus 5 General] bvd81:
Thanks sync-oz. I did find out that this was the problem as well. I actually modified the startconsole.bat file (I was running the script through the console to see the errors). I ended up setting the JVM to 512M and it worked quite well. Had a struggle with some of the MMS items, but got all the mesages out.

Thanks for your efforts!
[Nexus 5 General] yolkah:
I'm trying to export my Textra db to the stock sms app, for the life of me I can't figure out where the path to textra data is.
[Nexus 5 General] -aren-:
[MENTION=6833611]sync-oz[/MENTION] hi.thanks for script, i,m a windows 10 user and i cant figure it out where should i address your script to file,i edited convert.groovy and changed address in so many way but the file that i saved gave me a black screen with nothing on it. can you help me to do it? i,m just sick of textra.
[Nexus 5 General] cormie:
I discovered this issue this evening, but interestingly, the messages did appear in textra and showed a preview of the text in the message, but when you click into the thread, there's no messages at all! Asus t00n Padfone S.

The messages appear fine in the other messaging apps. I'm going to have to stop using Textra because of it unfortunately.
[Nexus 5 General] KudoConan:
I try this in github /sync-oz/convert-textra-db-to-xml

(I can't post link)

It works well but my MMS are corrupt and most emoji are replaced by strange characters (and therefore not recognized) and I can not lose my SMS , what can i do ? :/
[Nexus 5 General] KudoConan:
UP
[Nexus 5 General] 4Sliders:
How to use this script?

Hello, I had the same issue that sync-oz: many system flashed on my galaxy s2 and one day I forgot to backup messages, hopefully they were still in textra database but I needed to get them back in official SMS app to be used by others applications like launchers or textmessages statistics.

Thanks to your script this is perfectly working for me (some emojis are corrupted but that's not important for me).

Thank you for developing this script and if anybody need some help ask me in private: this is still working!
[Nexus 5 General] CrazyCypher:
I would love to use this script since my messages are deleted from stock database and only available in Textra... I am using Windows 7, could anyone tell me step-by-step how to do this?

Any help is appreciated, thank you..
[Nexus 5 General] 4Sliders:
Hi, type "groovy windows" in Google search then download windows .exe installer. Install and follow instructions. Then go to github and search for textra syncoz and click on "raw" button. Then copy and paste the script into the groovy window, change your phone number and the destination path of the com.textra folder that you copied on your computer. Click on execute and go into your groovy folder in documents and you'll find a messages.XML file if no errors in the groovy console appeared.
[Nexus 5 General] Bubble-be:
I've just tested it out on a new flash.

I have been using SMS Backup+ to backup my messages automatically.

After setting up my phone again without Textra, I restored sms back and they show perfectly in the standard messaging app of the ROM. So I'd imagine other sms backups apps will give you the same result.
[Nexus 5 General] CrazyCypher:
Thanks, I'll try it when I have time :)

I appreciate your answer :)
[Nexus 5 General] Togetec:
I'm getting the same heap space error. I'm using windows 10. I've tried setting environment variables of JAVA_OPT with -Xms256m -Xmx1024, I tried changing all of the sizes in the startGroovy.bat in the bin folder to -Xmx1024m, I tried adding a set JAVA_OPTS with -Xmx1024 in the startGroovy.bat, my JAVA_HOME is in the right place but I keep getting:

Exception thrown

java.lang.OutOfMemoryError: Java heap space

at convert$_run_closure1.doCall(convert.groovy:124)

at convert.run(convert.groovy:58)

Any help would be really appreciated.

Edit: I figured it out. Since groovy is only 32 bit the max available heap space is 512 mb. I had to backup my textra db with titanium backup and then delete messages from textra to get my textra database size to about half of the available heap space. At that point the script was able to do the conversion. I then restored my textra backup from TiBu and went through deleting messages and converting them in small batches until i had my whole database in a series of xml files. I could then use these multiple backups to restore my messages through SMS Backup and Restore.

Like you said, it doesn't work with MMS so it didn't work with any group messages but it worked great for my regular sms threads.
[Nexus 5 General] sync-oz:
You should be able to get a 64bit groovy. I think the default is 64 bit - at work I use groovy on a Windows machine and it's definitely 64 bit, although I installed that one from the zip file IIRC and not the exe, I'm not sure if that was the difference.

I think Groovy requires a JVM so could be you've got a 32bit Java installed, maybe installing a 64bit Java would fix the issue.

I'm glad this is proving useful to others! Took me a while to get that script working and so it's good that it's getting some more use than just for me - it's kind of a 'use once' thing :)
[Nexus 5 General] amin33400:
I need some help with Textra please..

I have my sms in Textra but not in the stock sms app because I checked the option to delete old messages ( over 1000 sms ). Is there a way to extract sms from Textra and restaure it to the stock app and db ?
[Nexus 5 General] jazzh:
Install "sms backup and restore"

Export all sms from textra into a xml/xsl file.

Deinstall textra, reboot,

Now make your stock sms app as default.

Try to see if sms msgs are visible in the stock app. if not, try to Import messages with the installed app.
[LG Optimus G Pro] the_archer_boi:
Hello , can anyone help me please?? :(

I tried to return back to f240s stock and I choose to download the last .kdz V10z and successfully return to stock then updated my phone to kitkat using kitkat .kdz and was successful but I noticed that my phone is giving me a warning that my phone's internal storage is almost full.... I have 32gb of storage, Internal storage is showing 23gb capacity but almost full at 10gb (used)?

Did I choose the wrong .kdz for my f240s?

What are the differences between V10w, V10x, and V10z?

Can any please help me with this please? :(
[LG Optimus G Pro] joshofali:
10z was the last version before kit kat on F240S
[LG Optimus G Pro] the_archer_boi:
No, 10z is not yet a kitkat .kdz

I just want to know why my internal storage is saying it's almost full when I have 23gb of memory but it's giving me warning that it's almost full when in fact I only have more than 12gb used...
[Motorola Droid RAZR] CaLLm3LAzY-:
Hello I want to buy a Motorola Razr Maxx xt912 and it's from Verizon, and I want to put it on AT&T, will I get 4g lte or 4g is only for Verizon? Thank you.
[Motorola Droid RAZR] joshua3001:
As it is a CDMA phone, it will only work 4G on a GSM network out of US, so no, it wont work with At&t...sorry buddy
[Verizon Samsung Galaxy S 4] ysungji:
Okay. I got my first smartphone (Verizon Galaxy S4 16gb) and I'm currently not happy with how touchwiz works overall. So I have decided to root my phone and Cyanogenmod. But the problem is the Cyanogenmod Installer doesn't work with the Verizon version and even after looking at 'how to root your S4' stuffs, I'm still very very confused. So can anyone just help me out on rooting my S4? I'm a beginner and never tried anything like rooting a device.

Thanks.
[Verizon Samsung Galaxy S 4] jco897j:
http://xdaforums.com/showthread.php?t=2606501

Have you been here?
[Verizon Samsung Galaxy S 4] decaturbob:
you cant do that

you really need to research before you brick your phone

http://xdaforums.com/showthread.php?t=2606501
[Verizon Samsung Galaxy S 4] jpcalhoun:
I strongly recommend you read the post the other two guys provided you. There is a very good chance that you may be able to root but you cannot run (flash) Cyanogenmod. The links provided are excellent sources of information which will clearly spell out what you can do with your S4 ad what you can't do (right now anyway).
[JASJAR, XDA Exec, MDA Pro General] PMcG:
I recently upgraded from the XDA II to the XDA Exec.

I'm experiencing a recurring (about every 5 seconds) glitch when using WMP to play back audio files (standard .wav files), stored on an SD card, through the Exec speakers. Playback through the earphones is fine.

I've tried another Exec and the speakers problem is still there, making playback of SD audio files through the Exec speakers unusable. This was never a problem with the XDA II.

I'm just wondering is this a problem with *all* Execs or is there something I've overlooked. If anyone out there has experienced smooth playback of audio files (from an SD card) through the Exec speakers I'd be grateful to hear.

Thanks in advance.
[JASJAR, XDA Exec, MDA Pro General] skywriter:
i use WMA files without a problem from SD card. why use WAV? aren't they huge? maybe you're not listening to music then.
[JASJAR, XDA Exec, MDA Pro General] wh1t3w0lf:
i use a wave file as a sms alert on my jasjar and sometimes it sounds like it is stuttering. But only like 25% of the time that a sms comes thru. The file is stored in the device it self and not on a sdcard. thought that it might be related to the amount of programs running in the background.
[JASJAR, XDA Exec, MDA Pro General] PMcG:
Audio playback on Exec

Thanks a lot for replies.

I've tried both WMA files and WAV files: same Exec speaker playback problem (recurring glitch) with both. Interesting to learn that you don't have this problem with WMA files on your device. Is the Imate device identical in every hardware respect to the Exec? As yet I haven't come across, or heard about, an Exec which plays audio smoothly (from an SD card) through the Exec speakers.

Re. WMA vs Wav vs MP3 I occasionally use WAV because, while admittedly the file size is very large, the WAV format, being uncompressed, preserves the CD quality of the original (i.e. stereo, 16-bit sample resolution, 44.1kHz sample rate).

It's playback from an SD card that concerns me as I'd like to be able to store favourite tracks (and possibly my whole audio collection) as WMA or WAV files on an SD card, especially as SD capacities increase to 4GB and 8GB ......
[JASJAR, XDA Exec, MDA Pro General] PMcG:
I'd be very grateful if someone with an *O2 XDA Exec* wouldn't mind trying the following and reporting on if it worked for you:

1) Put an audio file (mp3 or wma or wav) on to an SD card

2) Insert the SD card into your Exec and play the audio file back through the Exec speakers using Windows Media Player

Thanks in advance.
[JASJAR, XDA Exec, MDA Pro General] reteb:
Just tried some mp3's from an SD card on my Exec.

They play fine - no glitches, but quality from the speakers leaves rather a lot to be desired. I normally use earphones.

Reteb
[JASJAR, XDA Exec, MDA Pro General] PMcG:
Thanks a lot Reteb. Much appreciated.
[JASJAR, XDA Exec, MDA Pro General] Yen:
Tried some mp3 & wav files on Exec, no problems at all. They all play fine over the speakers.
[JASJAR, XDA Exec, MDA Pro General] PMcG:
Many thanks Reteb and Yen for testing SD-based audio playback through the Exec speakers. I'm going to go back in and get another Exec and hope for the best! At least I now know that, whatever the problem was, it's not a hardware issue across all Execs.

For the record this is exactly what I did:

1. I put some audio files (wav and wma) on to two different SD cards (a Sandisk card and an SD card I bought from Expansys). There was nothing else on the SD cards.

2. I tried both SD cards in my XDA II. No problem with playback of the audio files (using WMP) through the XDA II's speaker.

3. I then tried both SD cards in *two* Execs. No problem with playback through the earphones but a recurring glitch when playing back the files through the Exec speakers.
[JASJAR, XDA Exec, MDA Pro General] fbiqbal:
Hey I did also and had no problem and infact before now from last 4 months I've been listening with XDA Exec (O²) speakers and never noticed any problem except it doesnt have enough BASS as I'd like to have :) rest is fine !