[Q] Which file holds the custom ringtones for contacts - Nexus 5 Q&A, Help & Troubleshooting

Does anyone know which file holds the custom ringtones for contacts. I am sick of setting them up everytime i flash a new rom. Tried Backmytone from the store but does not work on 4.4.2.....thanks in Advance

It's just a ringtones folder. I've never figured out a way to save the custom ringtone for contacts a crossed roms

frigidazzi said:
It's just a ringtones folder. I've never figured out a way to save the custom ringtone for contacts a crossed roms
Click to expand...
Click to collapse
there must be way to do this.

ghosty7 said:
there must be way to do this.
Click to expand...
Click to collapse
I use light flow to manage custom sounds for texts and it saves over roms. It has an incoming call option. I guess that would would too.

ghosty7 said:
Does anyone know which file holds the custom ringtones for contacts. I am sick of setting them up everytime i flash a new rom. Tried Backmytone from the store but does not work on 4.4.2.....thanks in Advance
Click to expand...
Click to collapse
I would guess it's in contact storage, contacts2.db, or something of the like.

Aerowinder said:
I would guess it's in contact storage, contacts2.db, or something of the like.
Click to expand...
Click to collapse
Yeah...
/data/data/com.android.providers.contacts/contacts2.db/contacts
Sent from my Nexus 5 using Tapatalk

rootSU said:
Yeah...
/data/data/com.android.providers.contacts/contacts2.db/contacts
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
if you retore that file file on different roms you get FC

ghosty7 said:
if you retore that file file on different roms you get FC
Click to expand...
Click to collapse
Yeah you can't just restore the file. That's where they're kept though, never-the-less.
If you're adventurous, you could use adb and sql lite to make the modifications to the new contacts2.db

rootSU said:
Yeah you can't just restore the file. That's where they're kept though, never-the-less.
If you're adventurous, you could use adb and sql lite to make the modifications to the new contacts2.db
Click to expand...
Click to collapse
I am adventurous, but what are the changes i need to make ?
It is also possible with this app, but it does not restore properly on KITKAT, but this would be ideal if it worked on 4.4.2
http://forum.xda-developers.com/showthread.php?t=1071365

ghosty7 said:
I am adventurous, but what are the changes i need to make ?
It is also possible with this app, but it does not restore properly on KITKAT, but his would be ideal.
http://forum.xda-developers.com/showthread.php?t=1071365
Click to expand...
Click to collapse
Essentially you would need to "write" whatever is in the "custom ringtone" field to each line that contains a contact that you have a custom ringtone for.

Related

Backup, restore, delete app all apps, delete app_s

Version 1.0
Backup all apps to root of sdcard
Restore all apps from backup
Delete all apps
Delete app_s (for hero users not wanting to wipe)
Version 1.1
added backup and restore bookmarks
added backup and restore sms
instructions:
Just plug your phone in (DO NOT MOUNT IT !!!!!!!!) run backup_restore.bat and it will guide you through the rest.
i have also inluded it as a text file for those who want to edit it (e.g. moving where apps are backed up to)
Bugs:
when backing up apps it shows lots of errors ignore these and navigate to sdcard/app and they will all be there
other than that bug it works fine for me, i just thought i would share it with you guys
here is the link http://www.4shared.com/file/126355728/a26377cd/backup_restore11.html
you can choose to do each of those individually? or does it do them all at the same time?
mgorman said:
you can choose to do each of those individually? or does it do them all at the same time?
Click to expand...
Click to collapse
you choose them individually
Good job. But Backup for Root users does a lot more than this and it's easier to use.
miketaylor00 said:
Good job. But Backup for Root users does a lot more than this and it's easier to use.
Click to expand...
Click to collapse
thanks, i just wanted to have a go at making one for myself and since it worked i thought i would share it.
JJbdoggg said:
thanks, i just wanted to have a go at making one for myself and since it worked i thought i would share it.
Click to expand...
Click to collapse
I understand. I am doing some stuff like that just to learn. Next, you should look at what Backup for Root users does and see if you can recreate that functionality on your own. It's mostly just copying specific .db files to and from the right location.
miketaylor00 said:
I understand. I am doing some stuff like that just to learn. Next, you should look at what Backup for Root users does and see if you can recreate that functionality on your own. It's mostly just copying specific .db files to and from the right location.
Click to expand...
Click to collapse
do you know where to find out the locations and their specific jobs? Thanks in advance.
It is a lot easier and learning-wise for a person to do it themself, rather than them seeing a script and/or person make it for them. Sorry but its true. Besides that, cool stuff
JJbdoggg said:
do you know where to find out the locations and their specific jobs? Thanks in advance.
Click to expand...
Click to collapse
I know some of them. I looked into it when I was using Backup for root users all the time. mmssms.db stores all of your messages. It is located in /data/com.android.providers.telephony/databases
browser.db stores all of the bookmarks and stuff for the browser /data/com.android.browsers/databases
alarms.db stores all of the alarms. It is at /data/com.android.alarmclock/databases
If there is something specific that you are looking for let me know.
JJbdoggg said:
i have made a batch file to:
Backup all apps to root of sdcard
Restore all apps from backup
Delete all apps
Delete app_s (for hero users not wanting to wipe)
instructions:
Just plug your phone in (DO NOT MOUNT IT !!!!!!!!) run backup_restore.bat and it will guide you through the rest.
i have also inluded it as a text file for those who want to edit it (e.g. moving where apps are backed up to)
Bugs:
when backing up apps it shows lots of errors ignore these and navigate to sdcard/app and they will all be there
other than that buit works fine for me, i just thought i would share it with you guys
here is the link http://www.4shared.com/file/126100348/41c6a6de/backup_restore.html
Click to expand...
Click to collapse
Or you could use my script in my signature....
miketaylor00 said:
I know some of them. I looked into it when I was using Backup for root users all the time. mmssms.db stores all of your messages. It is located in /data/com.android.providers.telephony/databases
browser.db stores all of the bookmarks and stuff for the browser /data/com.android.browsers/databases
alarms.db stores all of the alarms. It is at /data/com.android.alarmclock/databases
If there is something specific that you are looking for let me know.
Click to expand...
Click to collapse
thanks, do you know the one for market?
devsk said:
Or you could use my script in my signature....
Click to expand...
Click to collapse
its nice to have options
JJbdoggg said:
thanks, do you know the one for market?
its nice to have options
Click to expand...
Click to collapse
options are the spice of life...
Great batch file!
Comes in real handy when using Hero roms!
Keep improving this and include version numbers for future updates.
Thank you!!
notxel21 said:
Great batch file!
Comes in real handy when using Hero roms!
Keep improving this and include version numbers for future updates.
Thank you!!
Click to expand...
Click to collapse
no probs, glad it helped
edit: just added version numbers
JJbdoggg said:
thanks, do you know the one for market?
its nice to have options
Click to expand...
Click to collapse
I believe the market is assets.db located in /data/data/com.android.vending/databases
Test it out to make sure I'm right.
Is app data backed up as well? Or just the .apks?

[Q] YouTube OFF?

Hi Guys,
Every ROM I flash I try to Freeze/Uninstall and remove from Boot Many, the YouTube App.
I don;t use it ever, but even if it says freezed successfully it still comes back after reboot.
What's so special about it and will it creat a problem if I delete it and main question is how?
Thank you
odeccacccp said:
Hi Guys,
Every ROM I flash I try to Freeze/Uninstall and remove from Boot Many, the YouTube App.
I don;t use it ever, but even if it says freezed successfully it still comes back after reboot.
What's so special about it and will it creat a problem if I delete it and main question is how?
Thank you
Click to expand...
Click to collapse
In my other android device experience, Nook Color / Simple Touch, YouTube is instrumental in the Google Apps authentication process. For instance to get market working on nooted versions of those devices you had to sign into YouTube first.
Why are you trying to get rid of it?
promiseofcake said:
In my other android device experience, Nook Color / Simple Touch, YouTube is instrumental in the Google Apps authentication process. For instance to get market working on nooted versions of those devices you had to sign into YouTube first.
Why are you trying to get rid of it?
Click to expand...
Click to collapse
Never used it, if I need to I can view it in the brother. Just another app that loads up on boot and sits there using the battery
odeccacccp said:
Never used it, if I need to I can view it in the brother. Just another app that loads up on boot and sits there using the battery
Click to expand...
Click to collapse
Fair enough. Why don't you give it a try? Make a nandroid backup and then delete the file via ADB in recovery mode (or move it to /data/local/tmp for easy restore). Clear Cache / Dalvik reboot and see if anything isn't working properly.
I would say you can delete via ADB in ICS but many people, myself included, are having issues mounting /system in ICS. It could be possible that this failure for /system to consistently mount could be why TiBu isn't freezing it properly.
Use root uninstaller, its how I have removed all system apps since my gb 2.3.1 days on my x10. A very effective method
Thank you for responces.
The proper way I found would be to transfer it to a User App and uninstall.
odeccacccp said:
Thank you for responces.
The proper way I found would be to transfer it to a User App and uninstall.
Click to expand...
Click to collapse
Just delete the .apk before you even put the zip on your phone
xcrazydx said:
Just delete the .apk before you even put the zip on your phone
Click to expand...
Click to collapse
What do you use to modify and save zip's, just WinRar will do?
odeccacccp said:
What do you use to modify and save zip's, just WinRar will do?
Click to expand...
Click to collapse
I use 7zip. open the archive and delete it, or add whatever .apk you desire. I always do this before I even flash a rom. Winrar should work fine, though.

[Q] hard reset proofing apps

I have an app on my phone that I want to hard reset proof not just the apk (which ive already done) but the settings also. ive tried using root explorers and changing the permissions for the /data/data folders but that doesnt help, ive tried converting the user app to a system app AFTER I set up all my options, hoping that would save all my settings, and I tried changing the permissions of my "system" app to prevent any changes. no luck. ive been researching like crazy and I hope im not posting in the wrong forum but can someone explain how to make my app and its settings master reset proof? thanks a bunch!
btw I have a rooted tmobile samsung galaxy s3 (sgh-t999) with the latest android (4.1.1 using the root66 rom), with supersu and busybox if that helps. and if it works for my s3, would the same steps work on my note 2?
Are you putting your app into /system/app ?
Hmm ...
careenprokop85 said:
...
btw I have a rooted tmobile samsung galaxy s3 (sgh-t999) with the latest android (4.1.1 using the root66 rom), with supersu and busybox if that helps. and if it works for my s3, would the same steps work on my note 2?
Click to expand...
Click to collapse
Have you tried in app info -> clear data? (also clear cache).
xclub_101 said:
Have you tried in app info -> clear data? (also clear cache).
Click to expand...
Click to collapse
Yes I have but why would I want that? I want to save the current settings not clear them
[email protected] said:
Are you putting your app into /system/app ?
Click to expand...
Click to collapse
yes the app is in my system/app and it does survive a master reset but the settings of the app don't. Would I have to build a custom rom after installing the app and getting the settings all set how I want? Then If it's master reset it should save the settings, right?
careenprokop85 said:
yes the app is in my system/app and it does survive a master reset but the settings of the app don't. Would I have to build a custom rom after installing the app and getting the settings all set how I want? Then If it's master reset it should save the settings, right?
Click to expand...
Click to collapse
Normally Android keeps app data under /data/data.
When you commit a hardreset, /data gets wiped. So all your app data gets removed.
You have to keep your app data under /system if you are the developer of that app
careenprokop85 said:
Yes I have but why would I want that? I want to save the current settings not clear them
...
Click to expand...
Click to collapse
OOPS. my mistake, I only read hard-reset, not the entire hard-reset-proof :
[email protected] said:
Normally Android keeps app data under /data/data.
When you commit a hardreset, /data gets wiped. So all your app data gets removed.
You have to keep your app data under /system if you are the developer of that app
Click to expand...
Click to collapse
but wouldnt that folder then need to be moved back to data/data after the master reset for it to work correctly?
careenprokop85 said:
but wouldnt that folder then need to be moved back to data/data after the master reset for it to work correctly?
Click to expand...
Click to collapse
Depends on who the developer of that app is.
If it's not you, yes you have move that folder after every hardreset.
If it's you, I suggest you to use /system as your app data folder.
unfortunately I'm not the apps developer. However, if I created a custom rom by installing whatever room I wanted, then setting up the app as I want it, then creating a custom rom from that, then flash it, would that solve the problem? Because (if im understanding things right lol) then someone could matter reset it and it would revert to how the chain rom was when I flashed it, correct?
Suppose I am the developer of the app.
How do set App Data folder to System?
SandeepEmekar said:
Suppose I am the developer of the app.
How do set App Data folder to System?
Click to expand...
Click to collapse
I'm already using a hardreset proof app on my note 2. It uses /etc folder to keep its app datas in a file. After hardreset it detects its data folder wiped, then restores settings from the backup file under /etc.
Of course your program will need root permission to do that.
[email protected] said:
I'm already using a hardreset proof app on my note 2. It uses /etc folder to keep its app datas in a file. After hardreset it detects its data folder wiped, then restores settings from the backup file under /etc.
Of course your program will need root permission to do that.
Click to expand...
Click to collapse
Can you give me the source code?
SandeepEmekar said:
Can you give me the source code?
Click to expand...
Click to collapse
Where did I say I'm the developer of the App?
[email protected] said:
Where did I say I'm the developer of the App?
Click to expand...
Click to collapse
LOL
I knew.
What's the name of the App you are using.
SandeepEmekar said:
LOL
I knew.
What's the name of the App you are using.
Click to expand...
Click to collapse
Avast Anti Theft
Init.d script to link /system/data/some.app to /data/app-data/some.app
Put apk to /system/app
This should work
GR0S said:
Init.d script to link /system/data/some.app to /data/app-data/some.app
Put apk to /system/app
This should work
Click to expand...
Click to collapse
can u describe how to do this in a bit more detail? Because I have an apk that I was able to put into the system/app folder, but would LOVE to save the settings so they are master-reset proof. I've contacted the developer but he was a bit of a jerk actually, saying I shouldn't need any reason to hard reset proof the apk..... ugh
From my experience, the avast! anti-theft app consist of 2 hard-reset proof part:
1. APK file in /system/app
2. Setting file (data) in /etc
Both survived hard reset...
The only way to get rid is via Aroma File Manager or flashing ROM.
Get titanium backup, backup all data of the app, and install the update. Then put the data back, if im correct settings would be copy pasted to this way. I use it for many system apps to get data back.
send from another universe, made possible by xda
If you are willing to learn how to script... it's all possible
I have done this before...
Use busybox commands...
Make a backup script that would back up all the user data in tar file.
Make a backup of apps you like to be restored on first boot of any rom.
on first boot let the script install the backed up apps, after install see if data exist for the package you just installed, get permission/owner of the package, restore data and apply permission to data.
i think is the basic
attached are the scripts i used to make this work on android 2.1
i even made a custom progress bar lol that used bootanimation as base...
.... copies custom bootanimation on start
.... copies custom boot sound...
.... restores wifi settings...
.... played music while restoring....
.... uses logcat as primary logging...
i am not sure if these scripts are the latest ones... but they worked at some point...
all was done in here...
http://forum.xda-developers.com/showthread.php?t=1465866
have fun...

emulator for nandroid

I need to extract info from a nandroid of my dead HTC Senastion.
Anyone know of a PC emulator for Nandroid or Titanium backup?
Ive read that Titanium can open Nandroid files...is this true?
Ive tried nandroid browser from market but cant seem to extract much with it.
Nandroid manager is an app that does the work you want. But actually.. The thing is that it is an android app... Try on an android emulator for pc and run nandroid manager through it.
Sent from whatever isn't something to be locked at, the thing is that it is sent.
ashkan-khatar said:
Nandroid manager is an app that does the work you want. But actually.. The thing is that it is an android app... Try on an android emulator for pc and run nandroid manager through it.
Sent from whatever isn't something to be locked at, the thing is that it is sent.
Click to expand...
Click to collapse
Thanks for the quick reply.
Needs root (Im not going to root my new Nexus) so PC emulator is what I need.
Looking at the app....options are to restore texts, contacts etc but can I explore these on a PC with this app?
dub2012 said:
Thanks for the quick reply.
Needs root (Im not going to root my new Nexus) so PC emulator is what I need.
Looking at the app....options are to restore texts, contacts etc but can I explore these on a PC with this app?
Click to expand...
Click to collapse
Oops... I don actually think these things are even accessible in the nandroid...
Sent from whatever isn't something to be locked at, the thing is that it is sent.
ashkan-khatar said:
Oops... I don actually think these things are even accessible in the nandroid...
Sent from whatever isn't something to be locked at, the thing is that it is sent.
Click to expand...
Click to collapse
Do you think I can restore from a sensation backup through SDK emulated rom.... would it even boot?
dub2012 said:
Do you think I can restore from a sensation backup through SDK emulated rom.... would it even boot?
Click to expand...
Click to collapse
No, IMO, it won't ever boot. Despite that, contacts and sms msgs are not like for example system apps that you can extract easily from the nandroid...
If you can resurrect your senny, I believe your only solution is to restore the backup. And then you can make a backup of your sms msgs using a 3rd party app, and your contacts by logging in to your gmail account, sync it, and log back in in your nexus 5.
Sent from whatever isn't something to be locked at, the thing is that it is sent.
ashkan-khatar said:
No, IMO, it won't ever boot. Despite that, contacts and sms msgs are not like for example system apps that you can extract easily from the nandroid...
If you can resurrect your senny, I believe your only solution is to restore the backup. And then you can make a backup of your sms msgs using a 3rd party app, and your contacts by logging in to your gmail account, sync it, and log back in in your nexus 5.
Sent from whatever isn't something to be locked at, the thing is that it is sent.
Click to expand...
Click to collapse
Nexus 5...sigh...I wish...lol.
Just a Nexus 4 for now
the senny is truly dead...even tried Jtag
Im not talking about a full restore,,, just restoring sms msgs or would that corrupt my Nexus 4? The apps states sms can be retored...but not sure if for a different rom.
dub2012 said:
Nexus 5...sigh...I wish...lol.
Just a Nexus 4 for now
the senny is truly dead...even tried Jtag
Im not talking about a full restore,,, just restoring sms msgs or would that corrupt my Nexus 4?
Click to expand...
Click to collapse
It's not gonna boot on the nexus.. Well... What can you do... I can't think of any other solutions! I don't suppose it even exists... I'm out... Sorry
Sent from whatever isn't something to be locked at, the thing is that it is sent.
ashkan-khatar said:
It's not gonna boot on the nexus.. Well... What can you do... I can't think of any other solutions! I don't suppose it even exists... I'm out... Sorry
Sent from whatever isn't something to be locked at, the thing is that it is sent.
Click to expand...
Click to collapse
Thanks for your time:good:
dub2012 said:
Nexus 5...sigh...I wish...lol.
Just a Nexus 4 for now
the senny is truly dead...even tried Jtag
Im not talking about a full restore,,, just restoring sms msgs or would that corrupt my Nexus 4? The apps states sms can be retored...but not sure if for a different rom.
Click to expand...
Click to collapse
Used this app and it wail restore call logs, texts, etc. but you need root. Without root there really isn't a way to do it. If you need more info pm me.
Sent from my Galaxy S4 using Tapatalk

Edit TWRP Backup (nandroid)

I was looking for a way to edit a TWRP backup. Basically doing a debloat on it. To where it would just contain my apps and data I installed not all the samsung apps and all the other stuff that does not need to be backed up. I have seen where you can unpack the backup on a computer but I would not know what would be safe to delete. Any thoughts are appreciated. Thanks
Joshwaaa said:
I was looking for a way to edit a TWRP backup. Basically doing a debloat on it. To where it would just contain my apps and data I installed not all the samsung apps and all the other stuff that does not need to be backed up. I have seen where you can unpack the backup on a computer but I would not know what would be safe to delete. Any thoughts are appreciated. Thanks
Click to expand...
Click to collapse
Why not run it and debloat? I have a zip file that will strip it down
You have a program that will debloat a TWRP backup? I am trying to make the size of the TWRP smaller and take out the junk. I know I can wipe the phone and install a new rom then use TiBu to just install the apps and data I want but seems silly to have a 3.5GB file siting on my phone when I only need 500-600MB of it.
Edit: Are you talking about Galaxy Cleaner.zip?
Joshwaaa said:
You have a program that will debloat a TWRP backup? I am trying to make the size of the TWRP smaller and take out the junk. I know I can wipe the phone and install a new rom then use TiBu to just install the apps and data I want but seems silly to have a 3.5GB file siting on my phone when I only need 500-600MB of it.
Edit: Are you talking about Galaxy Cleaner.zip?
Click to expand...
Click to collapse
That and just go in the system and take out whatever you want
Yea but that doesn't reduce the size of my backup sitting on my phone.
Joshwaaa said:
Yea but that doesn't reduce the size of my backup sitting on my phone.
Click to expand...
Click to collapse
Well the backup is the same as whatever you're running. The system it self is huge. Same stuff you pull from a nandroid is the same stuff you're running so decide what you don't want and roll with that. I've opened the tar file and pulled the system. Best thing you can do is zip your backup if you need space
If I want to pay some one to make this program for me where would you suggest I ask. I think it would be a great thing for users with small amounts of storage space.
Joshwaaa said:
If I want to pay some one to make this program for me where would you suggest I ask. I think it would be a great thing for users with small amounts of storage space.
Click to expand...
Click to collapse
Question? When you make you backups do you enable compression?
Soooperstar said:
Question? When you make you backups do you enable compression?
Click to expand...
Click to collapse
No I do not. Also I found a way to edit them.
Joshwaaa said:
No I do not. Also I found a way to edit them.
Click to expand...
Click to collapse
Thats your problem. You can pretty much cut the size in half without editing anything. Backup up and restore time is a little more but not significant. Try it out you can save a lot of space
Sent from my SM-G925P using Tapatalk
I have tried but for the number of times I flash a day I would rather deal with the size than time. I am scared to see what my flash counter is on my phone.
Joshwaaa said:
I have tried but for the number of times I flash a day I would rather deal with the size than time. I am scared to see what my flash counter is on my phone.
Click to expand...
Click to collapse
Lol Gotcha...... I only see maybe an extra 5 mins when flashing a large backup. I have your ROM backed up for a quick boot for Android pay because it seems to work on your rom, thanks BTW for how light it is. So I can flash back and forth pretty quickly.
Soooperstar said:
Lol Gotcha...... I only see maybe an extra 5 mins when flashing a large backup. I have your ROM backed up for a quick boot for Android pay because it seems to work on your rom, thanks BTW for how light it is. So I can flash back and forth pretty quickly.
Click to expand...
Click to collapse
Thanks. Glad you like it. Yea Android pay works for me too, I was happy about that. I think it looks at some framework files as well as root. I have another ROM in the works it's and odexed and even faster than my current ROM. Still having problems to get it to Flash in TWRP by a zip though. It's an OI1 Rom and they changed something that I have not figured out yet.
I carry 3 ROM's on my phone Wicked 3.1 super debloat, Wicked Ram hybrid, and OI1 Super Odex.
Joshwaaa said:
No I do not. Also I found a way to edit them.
Click to expand...
Click to collapse
and the way to edit them is.........?
MindTrix said:
and the way to edit them is.........?
Click to expand...
Click to collapse
Disable md5 when you make the backup as it will not work if you edit it. Then use copy to combine the files then edit with 7zip.

Categories

Resources