I found through some searching the location of the telephony.db file in Android N and I was successfully able to edit it to enable the native hotspot.
Here's a poorly written guide:
1. Using a root browser or ADB shell, copy /data/user_de/0/com.android.providers.telephony/databases/telephony.db to the root of the internal storage (/storage/emulated/0)
Code:
adb shell su
cp /data/user_de/0/com.android.providers.telephony/databases/telephony.db /storage/emulated/0/
exit
If you have the premium version of jrummy's root browser, it has a built in database editor and you may use it. Edit: You can't edit the file in place, you must copy it to /storage/emulated/0 to edit, then copy it back.
2. Copy the telephony.db file to your computer
Code:
adb pull /storage/emulated/0/telephony.db
3. Using a SQLite editor on your computer, open the telephony.db file, and open the "carriers" table.
4. Find "APN2 LTE internet" and in the type column add "dun" to the end, so it should read "default,mms,dun"
5. Do the same with "APN2 EHRPD internet"
6. Write the changes to the database.
7. Put the file back on the phone's storage
Code:
adb push telephony.db /storage/emulated/0/
8. Rename the telephony.db in "/data/user_de/0/com.android.providers.telephony/databases/" to telephony.db.bak
Code:
adb shell su
mv /data/user_de/0/com.android.provicers.telephony/databases telephony.db.bak
9. Copy the telephony.db from the storage to "/data/user_de/0/com.android.providers.telephony/databases/"
Code:
(adb shell su if you exited the shell previously)
mv /storage/emulated/0/telephony.db /data/user_de/0/com.android.providers.telephony/databases/telephony.db
exit
10. Reboot. Tethering should now work.
I'm not sure if this adds the hotspot icon to the quick settings or if the icon is left over from a failed attempt to get the hotspot working. (Edit: button seems to always be there)
Note: Updating your profile may reset the APN settings. If so, you should be able to follow this guide again.
Edit: At some point my profile updated or something and disabled the hotspot. I did this procedure again and it worked.
tdhite's SkyHigh kernel does this automatically but it breaks private mode and I kind of wanted that.
Credit where it's due: This thread is where I found the location of telephony.db
Thanks! I'm quite happy with tdhite's skyhigh kernel atm which has hotspot built in, but its great to know that if for some reason I cant use skyhigh in the future, there are still alternatives for getting hotspot!
remove root
I am not able to get this to work. Hangs at Samsung portion of the boot.
trendkilla254 said:
I am not able to get this to work. Hangs at Samsung portion of the boot.
Click to expand...
Click to collapse
I'm sorry to hear that. I'm not a developer or anything so I couldn't tell you exactly what went wrong. Are you using the stock ROM?
I found some interesting info on this and was actually able to edit the apn and get my phone to boot. I just moved the file to the SD card and used sqlite editor. The key is after you copy the file back to original folder set permissions rw_rw__ just like the other files. Change both owner and group back to radio.
I get no signal in my house so I have to wait till I get to work tomorrow to actually test the Hotspot.
Sent from my SM-G925P using Tapatalk
baknblack said:
I found some interesting info on this and was actually able to edit the apn and get my phone to boot. I just moved the file to the SD card and used sqlite editor. The key is after you copy the file back to original folder set permissions rw_rw__ just like the other files. Change both owner and group back to radio.
I get no signal in my house so I have to wait till I get to work tomorrow to actually test the Hotspot.
Sent from my SM-G925P using Tapatalk
Click to expand...
Click to collapse
For anyone interested. This actually works for me.
Sent from my SM-G925P using Tapatalk
I dont see "APN2 EHRPD internet" in telephony.db on my S6 Edge Sprint Nougat phone.
potolok said:
I dont see "APN2 EHRPD internet" in telephony.db on my S6 Edge Sprint Nougat phone.
Click to expand...
Click to collapse
Here's mine if the link works
https://drive.google.com/file/d/17pSf3NBbxImTvHhAMclSwtSNF30rl-qY/view?usp=drivesdk
Sent from my SM-G925P using Tapatalk
Tried all the ways of activation Hotspot on Nougat (QC7), fixes, changing CSC etc.... But all without success
Can anyone confirm this works with QJ1 stock that has been rooted?
baknblack said:
Here's mine if the link works
https://drive.google.com/file/d/17pSf3NBbxImTvHhAMclSwtSNF30rl-qY/view?usp=drivesdk
Sent from my SM-G925P using Tapatalk
Click to expand...
Click to collapse
I don't think sharing your own APN database is a good idea.
potolok said:
I dont see "APN2 EHRPD internet" in telephony.db on my S6 Edge Sprint Nougat phone.
Click to expand...
Click to collapse
Make sure you're looking in the "carriers" table. For me they are the last two. They might not say APN2, but they should have "EHRPD internet" and "LTE internet" in the name and under type by default should say "default,mms"
Thank you so much for posting this, Man!! I had been searching all over the web for answers!! Hotspot working perfectly now.
I just used root explorer, and sqlite editor, and followed your steps. Thanks again =)
Related
I have been looking thru MMSZap and I have a problem, I could not change the MMS Protocol in it.
Is there any other ways to change the MMS Protocol from 2.0 to 1.2?
Thanks.
jeremy89632 said:
I have been looking thru MMSZap and I have a problem, I could not change the MMS Protocol in it.
Is there any other ways to change the MMS Protocol from 2.0 to 1.2?
Thanks.
Click to expand...
Click to collapse
If you are good with sqlite, you can download the application 'sqliteman' and pull the .db file from adb pull (the file name is mentioned in the Villain 3.2 wiki under the mms fix page). You can edit it and pop in the new MMS protocol value...
Or, have you tried installing apn backup and restore (free on market), and then deleting all apns. Then, you can access settings/wireless/APNs without the force close, and maybe change it from there...
anon2122 said:
If you are good with sqlite, you can download the application 'sqliteman' and pull the .db file from adb pull (the file name is mentioned in the Villain 3.2 wiki under the mms fix page). You can edit it and pop in the new MMS protocol value...
Or, have you tried installing apn backup and restore (free on market), and then deleting all apns. Then, you can access settings/wireless/APNs without the force close, and maybe change it from there...
Click to expand...
Click to collapse
Unable to find SQLiteMan in market.
I am using the Villain3.4 rom and I could only change the apn protocol in MMSZap or thru ADB right?
MMS Settings cant be changed inside the Messages app, which I wonder why.
jeremy89632 said:
Unable to find SQLiteMan in market.
I am using the Villain3.4 rom and I could only change the apn protocol in MMSZap or thru ADB right?
MMS Settings cant be changed inside the Messages app, which I wonder why.
Click to expand...
Click to collapse
Sorry. Sqliteman is a Windows PC app that you use to edit the db, then push it bac;
The MMS settings are now in the menu that gives the FC, I believe (settings/wireless networks/APNs), so you could try the other app I mentioned for 'deleting apns'...
But yes, this is a gsm rom, the CDMA ones had mms settings in messages. These don't.
If you modify the db file, you can just adb remount and adb push it back with the 2.0 changed to a 1.2 or whatever...
But try deleting apns using the backup and restore tool first...
anon2122 said:
Sorry. Sqliteman is a Windows PC app that you use to edit the db, then push it bac;
The MMS settings are now in the menu that gives the FC, I believe (settings/wireless networks/APNs), so you could try the other app I mentioned for 'deleting apns'...
But yes, this is a gsm rom, the CDMA ones had mms settings in messages. These don't.
If you modify the db file, you can just adb remount and adb push it back with the 2.0 changed to a 1.2 or whatever...
But try deleting apns using the backup and restore tool first...
Click to expand...
Click to collapse
Alright, im trying to use SQLiteman.
I do not have the FC in the settings menu, I set that up correctly, but I still cant use MMS, so I used the SQL method. Just pushed back the database file, lets see how it works.
Is there such a problem in the 4.0 ROM?
jeremy89632 said:
Alright, im trying to use SQLiteman.
I do not have the FC in the settings menu, I set that up correctly, but I still cant use MMS, so I used the SQL method. Just pushed back the database file, lets see how it works.
Is there such a problem in the 4.0 ROM?
Click to expand...
Click to collapse
TBH, I don't know... Mine on T-Mobile UK worked out the box, so I've just ignored this issue really.
Managed to do it already.
I will attach the telephony.db (in zip file) here.
What the others need to do is to download Sqliteman on the PC and extract the telephony.db file and edit the value on the column at 'Production' under the 'carriers' table inside.
Just change the values accordingly. Like MMS Port, protocol and such.
Than throw the file inside your SD card and use this command
cp /sdcard/telephony.db /data/data/com*telephony/databases
Than reboot.
# How to edit mms via ADB or command line in android for HERO Villian 3.4
Auto APN Activation
hi for all friend and thanks for Dungphp's For provide this file
many friend have problem with data connection on installed build, hope this method problem data connecton solve.with corect parameter.
im after many search in web and xda-dev... find and create installer and file for Add auto apn for all Build can use.
If no active Auto APN use of this method:
1-with root explorer delete file (/system/etc/customer/apns-conf.xml or /system/etc/apns-conf.xml) (If exist)
2-connect device with usb charge only (adb previously installed please)
3-down this and extract rar file and run install.bat
4-on settings > ireless & networks >mobile network >access Point Name > press menu key and press reset to default
5-enjoy
*** if mms not worked , please delete your apn and set manually its woked 100% ***
Very well, thank you for sharing
I just PM'd Dungphp about that cause i was having problems with certain sense builds allowing me to select the correct apn but no E/H in the notification area/status bar. Thanks.
essi_baba said:
Auto APN Activation
hi for all guys and thanks for Dungphp's For provide this file
many gays have problem...
Click to expand...
Click to collapse
bwuahahahahhhhaaaaa!
essi_baba said:
Auto APN Activation
hi for all guys and thanks for Dungphp's For provide this file
many gays have problem with data connection on installed build, hope this
Click to expand...
Click to collapse
dohclude said:
bwuahahahahhhhaaaaa!
Click to expand...
Click to collapse
Come on We all know he meant "guys" lol...
anyways awesome work OP keep up the work. XD
essi_baba said:
many gays have problem
Click to expand...
Click to collapse
hmmmm
edit comment
im sorry for type wrong word .
first post edited.
essi_baba said:
Auto APN Activation
hi for all friend and thanks for Dungphp's For provide this file
many friend have problem with data connection on installed build, hope this method problem data connecton solve.with corect parameter.
im after many search in web and xda-dev... find and create installer and file for Add auto apn for all Build can use.
If no active Auto APN use of this method:
1-with root explorer delete file (/system/etc/customer/apns-conf.xml or /system/etc/apns-conf.xml)
2-connect device with usb charge only (adb previously installed please)
3-down this and extract rar file and run install.bat
4-enjoy
Click to expand...
Click to collapse
u change it to friend now yea...hehehe
NWY, tried this but its not working for me,
can't find folder (sytem/etc/customer)..
so just skip it n proced with install.bat,check setting still no apn,
found out,apns-conf.xml was push to (system/etc/apns-conf.xml),then i delete system/etc/apns-conf.xml n reinstall it again,but still nothing on apn..
something wrong with i did??
install
oroo708 said:
u change it to friend now yea...hehehe
NWY, tried this but its not working for me,
can't find folder (sytem/etc/customer)..
so just skip it n proced with install.bat,check setting still no apn,
found out,apns-conf.xml was push to (system/etc/apns-conf.xml),then i delete system/etc/apns-conf.xml n reinstall it again,but still nothing on apn..
something wrong with i did??
Click to expand...
Click to collapse
If you only do :
1-with root explorer delete file (/system/etc/customer/apns-conf.xml or /system/etc/apns-conf.xml) (If exist)
2-connect device with usb charge only (adb previously installed please)
3-down this and extract rar file and run install.bat
4-on settings > wireless & networks >mobile network >access Point Name > press menu key and press reset to default
5-enjoy
essi_baba said:
If you only do :
4-on settings > ireless & networks >mobile network >access Point Name > press menu key and press reset to default
5-enjoy
Click to expand...
Click to collapse
done it but still nothing..
is it my rom or what??i'm using NDT ginger..
Works for me. Thankx.
One more thing. If you actually have root explorer, there is no need to use adb commands. Just replace the apns-conf.xml file in /system/etc/ and reset permissions as rw-r-r and reboot device.
Once rebooted, go to APN and press menu, then press Reset APN to default. Worked for me.
Hi !
Worked for me on Samsung Galaxy S GT-I9000 ICS ( TiramiSlim ROM ).
But Failed on Samsung Galaxy SII GT-I9100 MIUI ICS CM9 ( cMIUI ROM ).
Nowadays, thanks for this hudge list !!! )
I dont know how many other people out there use androids built in vpn, but i hate the fact that you are required to use a security screen (pattern, pin, password) to do so. I have found a way to bypass this if you are rooted. This has only been tested on the stock kk rooted ota. However i would think it is the same on almost any stock based rom.
This assumes you already have your vpn and a security screen setup and working.
Go to the market and download a root capable data base (db) editor. I use SQLite Editor which is a paid app, but im sure there are free ones too.
Open the db editor. SQLite Editor sorts it by the app (in this case Android System) the data base is associated with, others may not work this way and may require you to navigate to the db file directly (/data/system/locksettings.db).
Open locksettings.db and select the locksettings directory. Look for the line that says "lockscreen.password_type". Under the value colum it will show some random number. Select the line and edit the value to be 0 (zero). Save if required by your db app, and restart your phone.
When it reboots you should no longer have a security lock screen only the swipe up screen. When you go to settings - more - vpn, it will still say you need to setup a security lock. Hit CANCEL, and it will show you your list of setup vpn's. Select one and connect. Boom working vpn with no pattern, pin, password screen required.
To undo this just go to settings - security - screenlock, and setup a new lock pattern, pin, or password.
You can also disable the swipe up lock screen by editing the "lockscreen.disabled" value in the locksettings.db to be a 1 instead of a 0.
good write up, thank you sir.
Where did you get stock kk rooted?
Sent from my HTC One
I was already unlocked and s-off, so i ruu'd took the kk ota and then rooted it. But i believe santod has his thread in development where you can download the stock rooted kk rom.
an alternative method
An add-on alternative update for relevancy. Using Samsung Note 3 4.3 MJ7 stock rooted.
Firstly, thanks OP for a nice clear guide for all on how to do this theoretically.
This is an alternative for those who aren't able to purchase SQLite Editor:
1. get a good freeware SQLite editor like for example SQLite Studio @ w w w sqlitestudio.pl
2. copy following files from your phone to the PC using some form of file explorer or whatever methods you can think of
/data/system/locksettings.db
/data/system/locksettings.db-shm
/data/system/locksettings.db-wal
3. open up the editor, load the locksettings.db and modify like what OP has mentioned
4. you will notice that the new saved DB is going to be a single file instead so just replace this file back into your phone and delete the OTHER files
5. reboot and done.
:highfive:
Alternative method
found it on another forum
The process does not require rooting its more like a bug
worked on my i9300 with 4.3 firmware
1. Add a VPN
2. Lock the device with a pin
3. Enter the pin wrong 5 times
4. Press OK to the message that pops up
5 Press Forgot Pin
6. Sign into your Google Account
7. Select pin lock
8. Press cancel.
and now u got unlocked screen with working vpns
the method works, but after I reboot, when I enter VPN screen is aks me for "password for credential storage"... how can I solve? thanks in advance
Hirishiolo said:
the method works, but after I reboot, when I enter VPN screen is aks me for "password for credential storage"... how can I solve? thanks in advance
Click to expand...
Click to collapse
Yeah i have the same issue (nexus 10 rooted 4.4.3 stock)
Hit cancel, and it should bypass it.
cmlusco said:
Hit cancel, and it should bypass it.
Click to expand...
Click to collapse
it should.... but it does not for me (Sony Xperia Z1 with CM11 4.4.3)
schickel said:
it should.... but it does not for me (Sony Xperia Z1 with CM11 4.4.3)
Click to expand...
Click to collapse
same for me, it does not work
ebackbone said:
An add-on alternative update for relevancy. Using Samsung Note 3 4.3 MJ7 stock rooted.
Firstly, thanks OP for a nice clear guide for all on how to do this theoretically.
This is an alternative for those who aren't able to purchase SQLite Editor:
1. get a good freeware SQLite editor like for example SQLite Studio @ w w w sqlitestudio.pl
2. copy following files from your phone to the PC using some form of file explorer or whatever methods you can think of
/data/system/locksettings.db
/data/system/locksettings.db-shm
/data/system/locksettings.db-wal
3. open up the editor, load the locksettings.db and modify like what OP has mentioned
4. you will notice that the new saved DB is going to be a single file instead so just replace this file back into your phone and delete the OTHER files
5. reboot and done.
:highfive:
Click to expand...
Click to collapse
Thank you :good:
ebackbone said:
An add-on alternative update for relevancy. Using Samsung Note 3 4.3 MJ7 stock rooted.
Firstly, thanks OP for a nice clear guide for all on how to do this theoretically.
This is an alternative for those who aren't able to purchase SQLite Editor:
1. get a good freeware SQLite editor like for example SQLite Studio @ w w w sqlitestudio.pl
2. copy following files from your phone to the PC using some form of file explorer or whatever methods you can think of
/data/system/locksettings.db
/data/system/locksettings.db-shm
/data/system/locksettings.db-wal
3. open up the editor, load the locksettings.db and modify like what OP has mentioned
4. you will notice that the new saved DB is going to be a single file instead so just replace this file back into your phone and delete the OTHER files
5. reboot and done.
:highfive:
Click to expand...
Click to collapse
i have followed your tutorial and the OP's but when i edit locksettings.db there is no such line "lockscreen.password_type"
i am on kk 4.4.2
vadimo said:
i have followed your tutorial and the OP's but when i edit locksettings.db there is no such line "lockscreen.password_type"
i am on kk 4.4.2
Click to expand...
Click to collapse
My locksettings.db is empty as well. Does anybody know why?
Geilerzucker said:
My locksettings.db is empty as well. Does anybody know why?
Click to expand...
Click to collapse
on mine one its not empty
Hirishiolo said:
same for me, it does not work
Click to expand...
Click to collapse
i also followed the tutorial now and same as you guys, doesnt work
worked for me initially on samsung mega (jellybean), but after reboot i'm getting the 'enter password for creditial storage' issue and pressing cancel doesn't solve it.
is there any other solution?
In 4.4 there is no such file
Code:
/data/system/locksettings.db
.. any ideas?
Clauu said:
In 4.4 there is no such file
Code:
/data/system/locksettings.db
.. any ideas?
Click to expand...
Click to collapse
Try a different file manager.
It failed like that for me with ES File Explorer,
but worked when I used SM File Browser.
---------- Post added at 10:53 AM ---------- Previous post was at 10:42 AM ----------
vadimo said:
i have followed your tutorial and the OP's but when i edit locksettings.db there is no such line "lockscreen.password_type"
Click to expand...
Click to collapse
Tap on the "QUERY *" button to see the file contents.
---------- Post added at 11:11 AM ---------- Previous post was at 10:53 AM ----------
pajenn said:
worked for me initially on samsung mega (jellybean), but after reboot i'm getting the 'enter password for creditial storage' issue and pressing cancel doesn't solve it.
Click to expand...
Click to collapse
What I do here: just type something.. anything, doesn't matter. At least one character.
Then on the next screen, where it asks to set up a lockscreen, just Cancel.
This seems to be necessary once per boot -- any password, different time or the same, works.
After that it lands me on the VPN manager screen, all functional.
Well I kind of messed up. I tried to open with SQLite but it would give me an error 14. So i decided to try to open just like that using ES Explorer and edit it like regular note(SQL is totally different I had no idea). Anyways i didnt edit anything but now i cant set a pin or any type of security on my phone. When i try to set up a pin it still shows a swipe and when i try again my Note 3 freezes and get an error message saying settings stopped responding.
Any idea on how to fix this? Im rooted and im running the latest firmware 4.4.2 if that helps.
Sorry for the newb question but, I'm not able to get venom rom tweaks to hold the ability to keep system as r/w. I'm trying to make changes to build.prop and default.prop but they keep reverting on boot. I imagine I need to flash one of the boot images as mentioned in the first couple posts but am not sure which one would work with Rogers/Tbaytel GSM. It's odd tho cause selinux does hold permissive when set thru venom tweaks. Kernel changes thru an editor won't stick either.
Running
Viper 6.0
Elemental X 5 kernel
Rooted and S-off
Managed to get kernel to save settings now by disabling remaining write protection using su adb shell command. Haven't tested the .prop edits yet but I will shortly. Also wondering what does ro.rilvmail settings effect as viper build seems to be based of European area.
Update: Prop settings still revert on reboot. Going to try to adb push and pull a configured prop file.
How are you changing the file? It could be an app issue. I have had issues with certain file explorers not saving files properly or at all. I have best luck with es file explorer.
Make sure the file permissions are correctly set before you reboot.
Beamed in by telepathy.
shivadow said:
How are you changing the file? It could be an app issue. I have had issues with certain file explorers not saving files properly or at all. I have best luck with es file explorer.
Make sure the file permissions are correctly set before you reboot.
Beamed in by telepathy.
Click to expand...
Click to collapse
All good man I was able to use adb with root permission to remount and push altered build.prop file just not able to do default.prop but no biggie it was only to change the default USB connection. My only question relates to the ro.rilvmail settings now and what they would be for Canadian Rogers/tbaytel. Phone is almost perfect just have to use qpst and such to enable all network bands in my area and I will finally have my ultimate M9. There are not enough words to describe how amazing this phone is with all these tweaks and mods thank you so much to xda for making this all possible and the community of devs for your invaluable work.
Bump anyone have any info??
I've tried over 5+ different treble ROMs and the mobile data will not work. My friend @Spaceminer had helped me try to solve it by finding an apns-conf.xml as well as a flashable zip but no luck.
I'm using the Moto G6 Play XT1922-7 Boost Mobile Variant.
I'm sorry I haven't provided much detail to the issue but this basically sums it up.
Thank you for any help.
Same problem here with 1922-4 retail variant, i have tried to flash the vendor.img over gsi's via fastboot but it just get stuck in a bootloop. The only option i have is stay in stock pie
Alphita said:
Same problem here with 1922-4 retail variant, i have tried to flash the vendor.img over gsi's via fastboot but it just get stuck in a bootloop. The only option i have is stay in stock pie
Click to expand...
Click to collapse
Did you try to flash the vendor.img on TWRP?
sinkoo1979 said:
Did you try to flash the vendor.img on TWRP?
Click to expand...
Click to collapse
Yes and got another bootloop and the 'failed to mount /vendor' message when you try to flash anything. Idk if there's a possible fix for mobile networks
Alphita said:
Yes and got another bootloop and the 'failed to mount /vendor' message when you try to flash anything. Idk if there's a possible fix for mobile networks
Click to expand...
Click to collapse
You have to find your correct apns-config.xml, place it in /system/etc and set permissions to 0644. Then reboot, open your mobile network settings and reset your apn.
If you ever want to go from Pie to Oreo, grab your very last Oreo firmware and flash everything like normal. Some things won't flash, and that's okay. If that happens, just skip it and flash the next items in line. When you're done, reboot it normally and let it encrypt at least once. If you don't let it encrypt first it can cause a recovery bootloop and you'll have to flash everything again.
Spaceminer said:
You have to find your correct apns-config.xml, place it in /system/etc and set permissions to 0644. Then reboot, open your mobile network settings and reset your apn.
If you ever want to go from Pie to Oreo, grab your very last Oreo firmware and flash everything like normal. Some things won't flash, and that's okay. If that happens, just skip it and flash the next items in line. When you're done, reboot it normally and let it encrypt at least once. If you don't let it encrypt first it can cause a recovery bootloop and you'll have to flash everything again.
Click to expand...
Click to collapse
How do i set those permissions? Thanks in advance
Alphita said:
How do i set those permissions? Thanks in advance
Click to expand...
Click to collapse
Use a root explorer, navigate to the file, long press it and select permissions and set them to rw-r--r--. It should prompt you to mount the system automatically to make the changes. Mine does anyhow. (See sceenshot)
Or;
In TWRP, select mount > system. Then select advanced > file manager > navigate to and select the apn file, and you'll have an option to change permissions. Select it, delete the 0000 and enter 0644 then swipe to confirm. Reboot.
Or;
Using an Android Terminal enter;
su
mount -o rw,remount /system
chmod 0644 /system/etc/apns-config.xml
reboot
Spaceminer said:
Use a root explorer, navigate to the file, long press it and select permissions and set them to rw-r--r--. It should prompt you to mount the system automatically to make the changes. Mine does anyhow. (See sceenshot)
Or;
In TWRP, select mount > system. Then select advanced > file manager > navigate to and select the apn file, and you'll have an option to change permissions. Select it, delete the 0000 and enter 0644 then swipe to confirm. Reboot.
Or;
Using an Android Terminal enter;
su
mount -o rw,remount /system
chmod 0644 /system/etc/apns-config.xml
reboot
Click to expand...
Click to collapse
Thanks! I will try this the next time i flash a rom
Would someone be so kind enough to share their BOOST apn.config.xml that the replaced the one on with that does NOT work on these GSI's?? If you do I'll follow you and hit thanks all day. ??
Here's (see screenshot) the closest I've ever gotten far as having data on a gsi. I must have the wrong xml file. I am fully aware of the process described above and have even done it multiple ways after I knew the way described and how I was adding the apn xml was correct and I have zero data.
If someone will attach their apn.config.xml, the one that they acquired data from using the boost Mobile network I'll be extremely thrilled and forever greatful to add it to the thread I made over in guides section so that in the future people can solve this issue fast and get her running and have a jolly day. ? I made that thread (I'll change the name later today) initially to consolidate as much info as I could and put it all in the op so we can be a bit more organized. I just haven't figured out anything else so I can't add to it just yet. ? This would be a great addition if someone would be so cool enough to kick me down some knowledge far as what's the correct apn.config.xml to replace the og one in gsi to get data working. I've deleted the current apn xml and replaced it with the one I have, I've overwritten it, I've tried countless times messing with the telephony.db and I obviously can't do it. Please pleeeaasee post the proper apn xml so I can get this phone going and add to op over there. @Starkiller2
I hope everyone is having a good day. It hot as **** where I'm at today. ??
I got nothing on xml. I only ever found one way to get it to work on boost, that was with the sqlite editor.
https://play.google.com/store/apps/details?id=com.dundastech.sqlitemasterlight
Starkiller2 said:
I got nothing on xml. I only ever found one way to get it to work on boost, that was with the sqlite editor.
https://play.google.com/store/apps/details?id=com.dundastech.sqlitemasterlight
Click to expand...
Click to collapse
Next time you're running a custom rom and you get data working, you can just copy /system/etc/apns-conf.xml and save it for later. You won't have to mess with any apps after that.
Starkiller2 said:
I got nothing on xml. I only ever found one way to get it to work on boost, that was with the sqlite editor.
https://play.google.com/store/apps/details?id=com.dundastech.sqlitemasterlight
Click to expand...
Click to collapse
Vague and unhelpful. Need better directions on that I messed with sqlite editor for days on end swapping out telephony.db things and never did get it going.
Did you swap both of them??
Did you swap other files in telephony.db too?
Details...?
What files exactly did you extract in telephony.db?
Vague comments never help anyone. Better to not post at all then post some two word comment with a link.
I apologise, I'm driving across country and was making an effort to help in the little time I had, but you're right, better to not try at all. Which may be why you aren't getting any answers to your questions. Some info is usually better than none and can sometimes lead you in the right direction, but you won't even get that much snapping at everyone who doesn't immediately solve the problem you have and then rage quitting when you can't do it yourself. It makes people not want to put in any effort. You have 4000 posts I assumed you could figure out how to edit apns with an app from the play store. You're right. I should absolutely stop offering any input at all, but rather I should just start *****ing and whining when I'm not spoon fed like I see so much here.
And as I have posted directions in multiple other threads, I assumed you had done at least a cursory search for your answer(as per forum rules) which would've found those posts but I was apparently wrong there as well.
---------- Post added at 07:00 PM ---------- Previous post was at 06:45 PM ----------
Spaceminer said:
Next time you're running a custom rom and you get data working, you can just copy /system/etc/apns-conf.xml and save it for later. You won't have to mess with any apps after that.
Click to expand...
Click to collapse
Thank you. That's good to know
hi, there is in the web a file apns-conf.xml to download? or sombody take us a backup? Thanks
Hey gang, I too am having issues trying to simply get mobile data working on GSI's. I have a Pixel 3a, and have tried multiple Android 10 GSI's, all of them don't allow me to use mobile data. I have not tried the apns-conf.xml trick yet, as I am unsure if that's the answer if it hasn't worked for others. Android 11 does not use an apns-conf.xml in system/etc/ so I couldn't extract it from my current setup unfortunately. Wish you all luck, post back if you get something working.
not working, moist do you have rooted phone? because only on rooted phones you can do this trick
doid1 said:
not working, moist do you have rooted phone? because only on rooted phones you can do this trick
Click to expand...
Click to collapse
I'll probably flash a ROM this weekend and pull my xml to test this. I have Telus so I unfortunately can't help with the Boost users, but can at least help confirm whether this method works or not.
ok thanks i wait, my phone seems to be dead on 4g.. says: no registration..
I tried everything imaginable and perhaps even the unimaginable .. heheheh .. but the result is always the same: no recording on the 4g, so I'm more and more inclined that it is a hardware failure or even a damage to the eeprom memory because 'I have formatted everything and the mobile phone has recharged everything correctly but it was useless ..
I tried to see that maybe it has a sim locked, but I didn't manage to enter meta mode and try to force it also because only with miracle box there is a guide ... umh ... and I do not stop until I succeed in the objective, and then the next step will be to take a complete image of another mobile phone identical to mine and copy it over it (but it is almost impractical because I cannot find anyone who gives me a full backup of this phone) and then I will brutally try to put another image of another working smartphone on it, leaving only the crucial sectors intact (system, boot, vendor, recovery, preloader, everything else I format it hehehehh) I will know..
Well I have a ROM flashed and found the apns-conf.xml, which is not included on my stock ROMs (10 or 11). Now going to flash a GSI or two and do some tests to see if I can get any data working.
Edit: Couldn't get the apns-conf.xml to work. However, I did find out the some GSI's work right out of the box for my Pixel 3A, those included AOSP 10 / 11 by Phh, and the CAOS R build. Bless, qidroid, havoc booted fine but did not have mobile data working.