[Q] Manually restoring SMS db without adb? - Android Q&A, Help & Troubleshooting

I have a rooted Nexus 5 and I'm trying to update the seen and read columns of the sms database, except doing so on my phone would probably take forever, so I was thinking of copying the database to a computer, making the changes, and then copying the database file back.
I'm wondering if I need to use adb to do this, or if a root explorer app would work. I found another post where it was suggested, but no one confirmed that it was safe (http://forum.xda-developers.com/showpost.php?p=47273467&postcount=32).
Any help would be appreciated!

Related

[Q] Is there any way 2 get rid of the unused app folders apps leave behind?

I have a ton of folders on SD card and some places on my phone's internal storage that I want to know how to delete, bottom line is some of them are important folders that may be required by the system - some contain downloaded data from games and what not - such as The Sims Freeplay - that range in sizes from 400MB to 900MB.
I'm running on a stock phone, HAS NEVER BEEN ROOTED, DO NOT WANT TO ROOT THIS PHONE TO GET RID OF THESE - is there any ways to do this without rooting the phone?
Any help is appreciated
SDCard folder deletion
Hi,
As everyone gets to read/write on the sdcard you should be able to delete everything on the card.
Since you are unsure if the files are still needed, I'd suggest you back them up, delete them and put them back on the card if you run into problems.
Take a look at the files timestamps to identify old and probably unused files.
As for deleting stuff, I see several ways to accomplish that:
transfer files via USB mode
use a file manager from the market and just click your way through
use ADB from the android SDK, this will open a shell and you can use all the unix commands you want. You'll also have access to 'adb push' and 'adb pull' to transfer files.
Astro file manager .
Sent from my HTC PH39100 using xda premium
You can probably just delete the files using a file manager. It's tedious though.

[Q] Visual Voicemail, where does it store?

Okay, here's the back story, it's short. My SD card fried on me yesterday. I had a nand backup of my stock setup on that card. That backup contained a couple of voicemails from my 2 year old daughter (not saved/forwarded, just downloaded into the voicemail app) which i hadn't gotten around to saving in the forever style yet. (was going to restore the backup and save them, then jump back to current ROM)
Anyway, i got a utility that will scan the card and found a whole ton of files on there. What's more it looks like it actually pulled a lot of it from within the backup files (no kidding, i'm seeing icons and temporary internet files and that sort of stuff) in addition to stuff stored on the root.
Was hoping someone could tell me what format these files would be in (3gp, mp4, etc.) so i know what to tell it to pull out. it's a trial software and will only let me restore 10 files before it chokes (could probably just run again on another pc though) but can anyone help me? it's doesn't give me a folder structure at all, just files, and they're even named genericly. So if i know what file type i'm looking for i can just grab those and maybe one of them will be it.
thanks!!
I looked before, and believe its something proprietary. Try using ES file explorer or something similar, store a vm and check which folders updated the time and date..start there..only thing I can think of currently.
Sent from my EVO using xda app-developers app
dangle79 said:
Okay, here's the back story, it's short. My SD card fried on me yesterday. I had a nand backup of my stock setup on that card. That backup contained a couple of voicemails from my 2 year old daughter (not saved/forwarded, just downloaded into the voicemail app) which i hadn't gotten around to saving in the forever style yet. (was going to restore the backup and save them, then jump back to current ROM)
Anyway, i got a utility that will scan the card and found a whole ton of files on there. What's more it looks like it actually pulled a lot of it from within the backup files (no kidding, i'm seeing icons and temporary internet files and that sort of stuff) in addition to stuff stored on the root.
Was hoping someone could tell me what format these files would be in (3gp, mp4, etc.) so i know what to tell it to pull out. it's a trial software and will only let me restore 10 files before it chokes (could probably just run again on another pc though) but can anyone help me? it's doesn't give me a folder structure at all, just files, and they're even named genericly. So if i know what file type i'm looking for i can just grab those and maybe one of them will be it.
thanks!!
Click to expand...
Click to collapse
Mine are located on sdcard/smvvm
They are AMR files
I use ES Flie Explorer to find them
Hope this helps
stealthl said:
Mine are located on sdcard/smvvm
They are AMR files
I use ES Flie Explorer to find them
Hope this helps
Click to expand...
Click to collapse
sorry, just circling back to see this. i ended up giving up on it. wasn't able to find any reliable way to recover the card, so i guess it's just lost

[Q] Apps Crashing after enabling native tethering

EDIT: Will move this thread to the Galaxy S4 troubleshooting forum. Please don't hesitate to reply or contact me if you happen to figure this one out though.
Hello,
I am using a Sprint Galaxy S4 on stock 4.4.2. I recently set out to enable native tethering so I can have 4g on my tablet. After looking around a little I found the odex and jar for my device/version (NAE) and used TowelRoot to get root access. After copying over the services.jar and services.odex files I found that any time I install a new app it will crash when I try to open it. Also, when I try to change R/W permissions in ES File Explorer it crashes now.
I installed the jar and odex by simply copying them to the system/framework folder per a QBKing77 guide. Another guide had suggested installing using goomanager but I quickly found that it was discontinued. I considered using Flashify but ended up just using QBKing's method since it was quicker and required no extra app.
Thanks for any help you can give me. I'm happy to provide additional information if it gets us closer to a fix.
Just a little update... I can provide the error report every app gives if it is helpful. Also root access was removed somehow and towelroot does not reactivate it. Some apps have limited write capability (ES File Explorer, games) but others randomly have no write ability (Box will not copy files to my phone nor its SD Card).
Any ideas? Since I lost my root access I can't try restoring the old services.jar, .odex as Framework is on lockdown again.

Backup all QuickMemo+ notes?

Hello!
How do I backup each and every note of my LG G5 QuickMemo+?
If your phone is rooted, you can do that by using automatic backup tools such as Titanium Backup, or by manually copying /data/data/com.lge.qmemoplus/ folder to your backup location and then restoring it by copying it back to the same folder, setting the right permission with Root Explorer or similar.
If you're planning to copy them to a txt file, it's quite easy for text notes, as the text is inside /data/data/com.lge.qmemoplus/databases/qmemoplus.db, a SQLite database, in a format similar to HTML.
tremalnaik said:
If your phone is rooted, you can do that by using automatic backup tools such as Titanium Backup, or by manually copying /data/data/com.lge.qmemoplus/ folder to your backup location and then restoring it by copying it back to the same folder, setting the right permission with Root Explorer or similar.
If you're planning to copy them to a txt file, it's quite easy for text notes, as the text is inside /data/data/com.lge.qmemoplus/databases/qmemoplus.db, a SQLite database, in a format similar to HTML.
Click to expand...
Click to collapse
My phone is not rooted and I do not plan to root it. Most of the notes I wish to backup are images, is that still possible?
accessing in the /data/data folder is possible only with root. I don't know where images are, if they are in /sdcard/android/data/com.lge.quickmemoplus you can backup them, otherwise not.
EDIT: media files are in /sdcard/android/data/com.lge.quickmemoplus, so you can just copy that folder even without root.
tremalnaik said:
EDIT: media files are in /sdcard/android/data/com.lge.quickmemoplus, so you can just copy that folder even without root.
Click to expand...
Click to collapse
Oh. So should all my phone data get deleted, if I paste the pre-copied folder, all the dozens of saved images in QuickMemo+ would be there?
/sdcard/ is (opposite to what would be logical) the internal memory. So if your phone data is erased, also QuickMemo+ photos are deleted But you can always backup them whenever you want.
tremalnaik said:
/sdcard/ is (opposite to what would be logical) the internal memory. So if your phone data is erased, also QuickMemo+ photos are deleted But you can always backup them whenever you want.
Click to expand...
Click to collapse
I just went in that folder and I seem to have thousands of 'qmemo_' folders in there, each has 'audios', 'drawings', 'images' and 'videos' sub-folders. The problem is there seem to be a lot of memos I have deleted from my phone long ago (which apparently also is the reason why it took some time to load all the folders as there are thousands), how come the deleted memos appear in those sub-folders? How can I backup only the relevant ones?
If there is a mismatch between the database of notes seen by QuickMemo and the files in the folder, well, you just have to be patient and check them one by one.
You can start by opening QuickMemo and looking at the earliest memo: any folder that has been edited before that date, is something you deleted.
You can use LG Backup too

App that doesn't back up data etc.

There is an app I have that wont backup to the Google cloud... I have many that do just fine. This app also creates a basically useless .ab file when using adb backup.
I pulled the apk file from google play, used apktool to unpack it and examined the manifest... and there it was... allow Backup set to "true". I have the most up to date version of the app... but I then pulled the apk off my phone and did the same thing and the manifest had allowbackup set to false!
Can someone help me understand this? I can't get the data off of my old phone because of this... and I'd really like to get that data transferred to my newer phone. (This app data did not transfer during the upgrade process either)
I'm not looking to solve the issue... only the app developer can do that. I simply want to understand what might be going on.
So in the just a little knowledge is dangerous departement:
After unpacking the apk (apktool d app.apk), I modified the android manifest which had backups:false to backups:true. I then just did:
apktool b app
I took the apk so produced in the dist folder and put it on my pixel 6, after first uninstalling the original app. I then tried to install the app and got:
"you cant install the app on your device".
I don't want to reverse engineer the app... I just want to force it to do backups... I can only assume the approach I took is far too simple-minded. Like I said, I would like to modify the behavior of the app not the function. what else must I do?

Categories

Resources