telephony.db - Sprint Samsung Galaxy S7 Questions & Answers

Can someone show me a copy of there telephony.db file, i have sqlite and im just not sure where exactly i need to edit to put in the .dun

Go here...good guide
https://blog.chandlerswift.com/2015/enable-hotspot-rooted-s6/
Sent from my SM-G930U using XDA-Developers mobile app

Related

Need Desperate Help nv_data.bin corrupted

Hi guys, I was trying to change my product code back from KOR, to OPS, but have now stuffed my phone
It can't receive calls, and or make them.
I copied the file out using Root Explorer, and then edited it using notepad, then copied it back using Root Explorer, and deleted the md5 file
I made a copy of the bin file, but even when I put the original file back in, it still doesn't work.
The only file I never made a back up of was the md5 file.
What am I doing wrong here ?
Help is most appreciated, as I am really stuffed
Cheers
Put your copy of the bak file in the efs folder and delete the bin and md5 and reboot. As long as your bak file is ok it will load a bin file from it on boot. Dont delete the md5 of the bak file or it wont work.
Edit: did u reboot after copying the bin file back? U never mentioned.
Sent from my GT-I9000 using Tapatalk
Will try that now, but thought I had already tried that.
I still have my IMEI, what are the chances of recovering my phone from this.
In case my nv_data.bin file can't be recovered ?
Cheers
If you still have your imei then you should not be having this trouble
Sent from my GT-I9000 using Tapatalk
You may need to change the file owner to 1001:1001
Sent from my GT-I9000 using Tapatalk
By 1001:1001 you mean in Root Explorer, and file permissions ? If so exactly what do I do to get 1001:1001 ?
I can't make or recieve calls, my APN's are missing, would that stop me from making calls, I thought that only had to do with internet ?
Apn is internet we can fix the in a bit. Plug the phone into the computer with debug enabled. Then abd shell then su then chown 1001.1001 /efs/nv_data.bin
Sent from my GT-I9000 using Tapatalk
Thanks heaps, deleting the files and leaving the backups worked.
I am so grateful for your help.
One last question, changing the Product Code, should be as simple as changing the nv_data.bin file, and replace the old one, and delete the MD5 file ?
When using Root, do I need to be aware of file permissions etc ?
Cheers
My file permissions are rwx------ i changed my product code the same way and all worked fine.
Sent from my GT-I9000 using Tapatalk
Never mind the last question.
The Backup files replaced the KOR product code with the original ones.
So I am now back to where I wanted to be in the first place.
You sir are a true gentleman
Thanks Again
It may be something as simple as the owner was incorrect. Now that you know you can fix it you can try that
Sent from my GT-I9000 using Tapatalk
You are must welcome
Sent from my GT-I9000 using Tapatalk
can anyone confirm the proper product code for a
Captivate on ATT in USA
thanks
thank you for sharing your ideas.

(Request) stock systemui and odex from mf3

Install a transparent notification bar, forgot to keep a copy of the original sysmui. Now i have no status bar and a black baground. If anyone can copy it from their phone, i really appreciated. Im on a active with mf3. Thanks
Sent from my SAMSUNG-SGH-I537 using Tapatalk 2
Could you go into a little detail on what happened and what you have done to try to fix it? I don't understand what your saying.
I think he wants the systemUI.apk for the active because he fubar'd his.
jd1639 said:
I think he wants the systemUI.apk for the active because he fubar'd his.
Click to expand...
Click to collapse
Any ideas where to get that? I don't even think that will install without flashing, but can't flash on MF3 yet.
Sent from miPhone using XDA Premium HD app
agent929 said:
Any ideas where to get that? I don't even think that will install without flashing, but can't flash on MF3 yet.
Sent from miPhone using XDA Premium HD app
Click to expand...
Click to collapse
You can copy the file from root explorer without flashing. I was able to get a copy of the systemui and place it into the sys/app folder. Now everything is back to normal.
Sent from my SAMSUNG-SGH-I537 using Tapatalk 2
Sweet nice job. Will remember that for the future
Where did you get it from?
Sent from miPhone using XDA Premium HD app
agent929 said:
Sweet nice job. Will remember that for the future
Where did you get it from?
Sent from miPhone using XDA Premium HD app
Click to expand...
Click to collapse
Got it from a friend who just picked up a s4 active.
Sent from my SAMSUNG-SGH-I537 using Tapatalk 2
So you just copied the apk off his phone I'm assuming? I'm also assuming it's the same apk as the regular S4? (I'm just trying to get better knowledge so I can help somebody in the future.)
agent929 said:
So you just copied the apk off his phone I'm assuming? I'm also assuming it's the same apk as the regular S4? (I'm just trying to get better knowledge so I can help somebody in the future.)
Click to expand...
Click to collapse
As the other person replied - with root access, you can download ES File Explorer, or Root Browser, give the app root access via SuperSU, navigate to the System > apps folder, find the file(s) you want, copy/move them where you need.
FourPointedFreak said:
As the other person replied - with root access, you can download ES File Explorer, or Root Browser, give the app root access via SuperSU, navigate to the System > apps folder, find the file(s) you want, copy/move them where you need.
Click to expand...
Click to collapse
Yeah I'm well aware you can do that but I didn't know that apk would actually function like an apk if you did that. Just thought it was more to it than that.
Sent from miPhone using XDA Premium HD app
agent929 said:
Yeah I'm well aware you can do that but I didn't know that apk would actually function like an apk if you did that. Just thought it was more to it than that.
Sent from miPhone using XDA Premium HD app
Click to expand...
Click to collapse
As long as you have the appropriate odex file along with it and you know how to do it - it should be fine. You have to know how an APK file works, Applications are basically glorified ZIP archives. The java code is stored in a file called classes.dex and this file is parsed by the Dalvik JVM and a cache of the processed classes.dex file is stored in the phone's Dalvik cache.
An odex is basically a pre-processed version of an application's classes.dex that is execution-ready for Dalvik. When an application is odexed, the classes.dex is removed from the APK archive and it does not write anything to the Dalvik cache. An application that is not odexed ends up with 2 copies of the classes.dex file--the packaged one in the APK, and the processed one in the Dalvik cache. It also takes a little longer to launch the first time since Dalvik has to extract and process the classes.dex file.
If you are building a custom ROM, it's a really good idea to odex both your framework JAR files and the stock apps in order to maximize the internal storage space for user-installed apps. If you want to theme, then simply deodex -> apply your theme -> reodex -> release.

Can't copy to System/app :(

I've been trying to copy the clear weather apk to system/app using root explorer. I set the folder as RW. It allows me to rename something to .Bak but refuses to let me copy an apk into this folder. I can't figure this out. Never seen this happen before.
Any suggestions?
Sent from my SM-N900W8 using XDA Premium 4 mobile app

Note 4 Bootanimation

I found this thread,
http://forum.xda-developers.com/note-4/themes-apps/bootanimation-matrix-flash-recovery-t2952816
More bootanimation..
http://forum.xda-developers.com/showthread.php?t=2677522
for those who wanted to change the boot animations i tried and works...i follow this instructions.
You can still use these animations without flashing them through recovery.
- extract the zipfile with winzip or 7zip(recommended) or winrar.
- find the qmg file. In case of the crt shutdown it is shutdown.qmg.
- place it on your sdcard.
- use root explorer or es file explorer(enable root in options) and rename the original one for example: from "shutdown.qmg" to "shutdown_old.qmg".
- copy and paste the one you placed on the sdcard in the /system/media folder.
- go to properties and set the permissions to : RW-R-R
-restart.
Thank you , worked like a charm. no more bright red verizon logo. woo hoo...
When I try the link, it comes up that the page is not available or it has been deleted.
Sent from my SM-N910V using XDA-Developers mobile app
segordon said:
When I try the link, it comes up that the page is not available or it has been deleted.
Sent from my SM-N910V using XDA-Developers mobile app
Click to expand...
Click to collapse
Me too
Sent from my SM-N910V using XDA-Developers mobile app
Use chrome to get to it. I had to do that.

HotSpot Fix...requires root

Just got my S7 and I'm on PE1...started on PF2, but had trouble rooting...not sure if it was because it was midnight when I started or I missed a few steps. The process went much better this morning.
Anyway, when I did ##DATA#, hit edit, typed in MSL, APN settings, APN2 LTE internet, my APN type was also grayed out. However, @Soooperstar sent me the hiddenmenu folder with the apk and odex. This may only work on Sprint ROMs and not the U version (feel free to try though).
Get a root explorer and go to system>app . Copy the hiddenmenu folder to someplace on your internal or external storage. Take the contents of the attached Zip and copy them into the system hidden folder. It should replace the old hiddenmenu.apk and oat folder. Permissions should be set correctly. If not, the hiddenmenu.apk and oat>arm64>hiddenmenu.odex should be rw-r-r . The directories should be drwxr-xr-x. But they should be fine if you copy and replace/merge.
Reboot phone
Go to phone app, and type ##DATA# (##3282#). hit Edit, type in MSL, APN settings, APN2 LTE internet, APN type....you should be able to now edit those and add the < ,dun >. You'll have to do it for both...APN2 LTE and APN2 EHRPD. Then go to settings>Hotspot and Tethering> and turn it on.
Someone test this method. 1 of 2 things caused my hotspot to work...I think it was this though. I just received my phone yesterday and it shipped with PE1 and my hotspot didn't work before this and asked me if I wanted a subscription.
Here is the link:
https://drive.google.com/file/d/0B_07nkGBRS6mV1J6dDBUeHhXQ2M/view?usp=sharing
lvpre said:
Just got my S7 and I'm on PE1...started on PF2, but had trouble rooting...not sure if it was because it was midnight when I started or I missed a few steps. The process went much better this morning.
Anyway, when I did ##DATA#, hit edit, typed in MSL, APN settings, APN2 LTE internet, my APN type was also grayed out. However, @Soooperstar sent me the hiddenmenu folder with the apk and odex. This may only work on Sprint ROMs and not the U version (feel free to try though).
Get a root explorer and go to system>app . Copy the hiddenmenu folder to someplace on your internal or external storage. Take the contents of the attached Zip and copy them into the system hidden folder. It should replace the old hiddenmenu.apk and oat folder. Permissions should be set correctly. If not, the hiddenmenu.apk and oat>arm64>hiddenmenu.odex should be rw-r-r . The directories should be drwxr-xr-x. But they should be fine if you copy and replace/merge.
Reboot phone
Go to phone app, and type ##DATA# (##3282#). hit Edit, type in MSL, APN settings, APN2 LTE internet, APN type....you should be able to now edit those and add the < ,dun >. You'll have to do it for both...APN2 LTE and APN2 EHRPD. Then go to settings>Hotspot and Tethering> and turn it on.
Someone test this method. 1 of 2 things caused my hotspot to work...I think it was this though. I just received my phone yesterday and it shipped with PE1 and my hotspot didn't work before this and asked me if I wanted a subscription.
Here is the link:
https://drive.google.com/file/d/0B_07nkGBRS6mV1J6dDBUeHhXQ2M/view?usp=sharing
Click to expand...
Click to collapse
Do you need to be rooted so you can use HiddenMenu?
I'm rooted on pf2 and I didn't need to do the ##data#. I just went to settings>mobile networks>access point names and changed the apn type to default,mms,dun on both internets and saved then rebooted.
Sent from my SM-G930P using XDA-Developers mobile app
canynballa said:
I'm rooted on pf2 and I didn't need to do the ##data#. I just went to settings>mobile networks>access point names and changed the apn type to default,mms,dun on both internets and saved then rebooted.
Sent from my SM-G930P using XDA-Developers mobile app
Click to expand...
Click to collapse
Some people here and at the S7 edge forum said that it was still grayed out. Mine was grayed out until I replaced the files, it was the only way I could change it. I'm still wondering if anyone tried editing the telephony.db file to get it to work.
If you didn't root, it will still be grey
canynballa said:
I'm rooted on pf2 and I didn't need to do the ##data#. I just went to settings>mobile networks>access point names and changed the apn type to default,mms,dun on both internets and saved then rebooted.
Sent from my SM-G930P using XDA-Developers mobile app
Click to expand...
Click to collapse
Hey buddy, I'm on PF2 also but my apn's are all greyed out, and so is the "add" button on the top right of my screen. Does anyone know what's up with that?
Edit: nevermind, all I had to do was read a little bit more and I would've gotten my answer, lol... sometimes I'm just soo lazy....
Sent from my SM-G930P using Tapatalk
Just redid my phone after flashing the U firmware. The only way I could get Hotspot again was by using sqlite to edit the telephony.db . That was theory number 2 I had.
Sent from my SM-G930P using Tapatalk
lvpre said:
Just redid my phone after flashing the U firmware. The only way I could get Hotspot again was by using sqlite to edit the telephony.db . That was theory number 2 I had.
Sent from my SM-G930P using Tapatalk
Click to expand...
Click to collapse
did you enable the hotspot without Root?
or you have to be rooted
Rooted
Sent from my SM-G930P using Tapatalk

Categories

Resources