I have finally figured out a way to reliably use Straight Talk Verizon with my OnePlus 7 Pro, but this may also work for other carriers, although it has only been tried with the one.
Prerequisites:
1. A Rooted OnePlus 7 Pro.
2. A text editor with a "replace all" function. I used Windows Notepad, but Im sure there is one for android. I just got sick of going from one to the next searching for one.
3. A file explorer with root access, and the ability to change permissions. I used Root Explorer.
There are 4 files that need to be changed, but keep an eye out for duplicate files, because I think they may be trying to repopulate from sister directories, but i'm not sure... this simply worked for me.
How I did it.
Step 1: Find APN Differences
The first thing to find, is the APN your device is trying to use. Go to Settings>Wi-Fi & internet>SIM & network>Sim 1 (or whatever you are trying to use)>Access Point Names.
Since my device sees my sim as a some kind of Verizon service provider, its trying to use the default Verizon APN and DUN, or so I assume. I took some screenshots, so I know what needs to be changed.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The only significant difference is the APN itself, at least for mine... and this is where I had an assumption, that changing every mention of VZWINTERNET in the apns-conf.xml files to TRACFONE.VZWENTP, may enable full data functionality on boot.
Original APN:
APN: VZWINTERNET
MMSC: http://mms.vtext.com/servlets/mms
MMS Port: 80
MCC: 311
MNC: 480
APN Type: default,dun,mms,supl
APN Protocol & APN Roaming Protocol: IPv4/IPv6
Straight Talk (Verizon) APN:
APN: TRACFONE.VZWENTP
MMSC: http://mms.vtext.com/servlets/mms
MMS port: 80
MCC: 311
MNC: 480
APN Type: default,dun,mms,supl
APN Protocol & APN Roaming Protocol: IPv4/IPv6
So I need to change VZWINTERNET to TRACFONE.VZWENTP
Step 2: Copy all apns-conf.xml files.
There are 4 of these, in these 4 directories.
/etc/apns-conf.xml
/product/apns-conf.xml
/system/etc/apns-conf.xml
/system/product/etc/apns-conf.xml
I simply did a quick copy/paste into a known directory, and renamed them according to the original directory.
(to rename a file in Root explorer, long hold file to select > top right menu >rename)
These are the names I gave mine.
I needed a directory that was easy to find when accessing from a computer, so the "downloads" directory worked for me.
Step 3: Editing.
Editing was the easy part. Simply connect to your computer via MTP, and drag your 4 files to your computer. Im using Windows 10 and Notepad.
With your files on your computer, right click, and select "Edit".
This should open the file in Notepad. Go to Edit>Replace.
Search for the field you want to replace. I'm looking for VZWINTERNET, and replacing with TRACFONE.VZWENTP.
Select "replace All" once you have entered what you are searching for, and what you want to replace it with. Do this for all 4 files. Once all 4 are edited and saved, delete the copies on your phone and replace them with the edited files.
Step 4: Replace original files. This needs to be done indavidually, to each of the 4 files.
Go to your editied files, now on your phone.
You are going to replace each original, in the directory they came from, with the modified file.
So I copy/past my edited "apns-conf-etc.xml" to "/etc".
Renamed the original "apns-config.xml" to "apns-conf.xml.bak", so I can always go back if needed.
Then renamed the edited/copied "apns-conf-etc.xml" to "apns-conf.xml".
We also need to make the permissions on the edited file, match its original.
Since I was using Root Explore, and always have, it's is the only method I have for this, although im sure there are other ways to do the same.
(select file>top right menu>Permissions>Enter Octal)
Enter "0644" and select OK.
Notice a couple of things!
1. The size difference... I had to replace a couple of them twice, for some reason, because it was trying to go back to the original.
If you don't see a size difference, then you most likely didn't actually replace it, unless your modified file happened to end up the exact same size (unlikely)
2. Notice where it says "rw-r--r--" under the name. If it says anything different, the permissions are not correct.
Step 5: Reboot and test!
If all was done correctly, you should now see a sencond sellectable option in APN settings, and it should continue to work, even on reboot!
Hope this helps someone!
If it did, buy me a beer!
https://www.paypal.me/aCatchyUserName
Enjoy!
Didn't work for me
Jaysonvstel said:
I have finally figured out a way to reliably use Straight Talk Verizon with my OnePlus 7 Pro, but this may also work for other carriers, although it has only been tried with the one.
Prerequisites:
1. A Rooted OnePlus 7 Pro.
2. A text editor with a "replace all" function. I used Windows Notepad, but Im sure there is one for android. I just got sick of going from one to the next searching for one.
3. A file explorer with root access, and the ability to change permissions. I used Root Explorer.
There are 4 files that need to be changed, but keep an eye out for duplicate files, because I think they may be trying to repopulate from sister directories, but i'm not sure... this simply worked for me.
How I did it.
Step 1: Find APN Differences
The first thing to find, is the APN your device is trying to use. Go to Settings>Wi-Fi & internet>SIM & network>Sim 1 (or whatever you are trying to use)>Access Point Names.
Since my device sees my sim as a some kind of Verizon service provider, its trying to use the default Verizon APN and DUN, or so I assume. I took some screenshots, so I know what needs to be changed.
The only significant difference is the APN itself, at least for mine... and this is where I had an assumption, that changing every mention of VZWINTERNET in the apns-conf.xml files to TRACFONE.VZWENTP, may enable full data functionality on boot.
Original APN:
APN: VZWINTERNET
MMSC: http://mms.vtext.com/servlets/mms
MMS Port: 80
MCC: 311
MNC: 480
APN Type: default,dun,mms,supl
APN Protocol & APN Roaming Protocol: IPv4/IPv6
Straight Talk (Verizon) APN:
APN: TRACFONE.VZWENTP
MMSC: http://mms.vtext.com/servlets/mms
MMS port: 80
MCC: 311
MNC: 480
APN Type: default,dun,mms,supl
APN Protocol & APN Roaming Protocol: IPv4/IPv6
So I need to change VZWINTERNET to TRACFONE.VZWENTP
Step 2: Copy all apns-conf.xml files.
There are 4 of these, in these 4 directories.
/etc/apns-conf.xml
/product/apns-conf.xml
/system/etc/apns-conf.xml
/system/product/etc/apns-conf.xml
I simply did a quick copy/paste into a known directory, and renamed them according to the original directory.
(to rename a file in Root explorer, long hold file to select > top right menu >rename)
These are the names I gave mine.
I needed a directory that was easy to find when accessing from a computer, so the "downloads" directory worked for me.
Step 3: Editing.
Editing was the easy part. Simply connect to your computer via MTP, and drag your 4 files to your computer. Im using Windows 10 and Notepad.
With your files on your computer, right click, and select "Edit".
This should open the file in Notepad. Go to Edit>Replace.
Search for the field you want to replace. I'm looking for VZWINTERNET, and replacing with TRACFONE.VZWENTP.
Select "replace All" once you have entered what you are searching for, and what you want to replace it with. Do this for all 4 files. Once all 4 are edited and saved, delete the copies on your phone and replace them with the edited files.
Step 4: Replace original files. This needs to be done indavidually, to each of the 4 files.
Go to your editied files, now on your phone.
You are going to replace each original, in the directory they came from, with the modified file.
So I copy/past my edited "apns-conf-etc.xml" to "/etc".
Renamed the original "apns-config.xml" to "apns-conf.xml.bak", so I can always go back if needed.
Then renamed the edited/copied "apns-conf-etc.xml" to "apns-conf.xml".
We also need to make the permissions on the edited file, match its original.
Since I was using Root Explore, and always have, it's is the only method I have for this, although im sure there are other ways to do the same.
(select file>top right menu>Permissions>Enter Octal)
Enter "0644" and select OK.
Notice a couple of things!
1. The size difference... I had to replace a couple of them twice, for some reason, because it was trying to go back to the original.
If you don't see a size difference, then you most likely didn't actually replace it, unless your modified file happened to end up the exact same size (unlikely)
2. Notice where it says "rw-r--r--" under the name. If it says anything different, the permissions are not correct.
Step 5: Reboot and test!
If all was done correctly, you should now see a sencond sellectable option in APN settings, and it should continue to work, even on reboot!
Hope this helps someone!
If it did, buy me a beer!
https://www.paypal.me/aCatchyUserName
Enjoy!
Click to expand...
Click to collapse
theres easier way to do this with databases im going to make thread later today on the fix i enabled tethering
Thanks OP for sharing this method. I tried it on my OP7T but it won't work. Apparently on the 7T files on the system directory cant be edited because of Android 10.
Trying everything I can to get this thing to work with ST Verizon but theres a roadblock around every corner for me.
Related
hi,
ive read plenty of articles how to add a new custom city to the htc home weather plugin, ive found the current city on the
my city isnt in this list:
http://www.accuweather.com/includes/ajax-functions/favoriteCities.asp?region=EUR&country=SK
but if im using the search form, i find it:
http://www.accuweather.com/world-index-forecast.asp?partner=accuweather&traveler=0&locCode=EUR|SK|LO000|ZILINA
1. problem if i want to add my city in the .xml file inside the windows dir in the rom, i cannot change it, cause, its rom, also no the file attributes, i thought, maybe i create a new file with a new language code and use this, somehow, but i dont want to change my current language: english
2. ive tried to set it in the registry:location and locationcode, but the plugin writes eveytime: unable to retrieve data for selected city...
any ideas?
1. Have you searched the registry? There may be path of the .xml file so you yould just "redirect" to your modified file. (I dont know if there is such key or not, but you can try that...)
moneytoo said:
1. Have you searched the registry? There may be path of the .xml file so you yould just "redirect" to your modified file. (I dont know if there is such key or not, but you can try that...)
Click to expand...
Click to collapse
negative
Have anyone succeed to add a new city? I have changed the xml file but the new city isn't visible? Tried reboot after the change.
Why are there several files with similar name but same content?
mrfredde said:
Have anyone succeed to add a new city? I have changed the xml file but the new city isn't visible? Tried reboot after the change.
Why are there several files with similar name but same content?
Click to expand...
Click to collapse
how did you changed the file??? i even cannot change the attributes from total commander, explorer...anything
darksider said:
how did you changed the file??? i even cannot change the attributes from total commander, explorer...anything
Click to expand...
Click to collapse
I copyed the file and changed file type to .txt and edited it in Word Mobile. Then changed back to .xml and copyed back to \windows
mrfredde said:
I copyed the file and changed file type to .txt and edited it in Word Mobile. Then changed back to .xml and copyed back to \windows
Click to expand...
Click to collapse
mine windows doesnt allows to overwrite or change this file...
Now I hade edited the file, i copyed the file thru active sync and then back to Storage Card and then used Total Commander and copyed it to \windows.
But when i select the city it can't get the information for selected city.
Is there something else i have to change?
mrfredde said:
Now I hade edited the file, i copyed the file thru active sync and then back to Storage Card and then used Total Commander and copyed it to \windows.
But when i select the city it can't get the information for selected city.
Is there something else i have to change?
Click to expand...
Click to collapse
you can try to set the settings direct in the registry, its already a thread about it, here somewhere...
i now tried to change the url in the htchome.dll but i wont find the url to replace.
Someone must have solved this problem?
I am one of the folks here who wish to be able to add different cities. If somoeone figure out how to perform it, please just let us know
I have been able to copy to my desktop HH_0409_WeatherCities and HH_0809_WeatherCities (not sure witch one attributes to english language) I added the strings related to my city and now i try to replace them on the s730 but as other found, it is in ROM and i cannot chage its properties with total commander....need help, maybe i am not so familiar with TC. I am so close!
I added my city to the HH_0809_WeatherCities.xml file by copying it to my desktop and then copying it back into the smartphone. I think the edited file shadows the file in the ROM. I can now select my own city from the list, but the weather program still cannot update.
I can see that when I select a city, the registry values
HKLM\Software\HTC\HTCHome\Weather\Settings\Location
and
HKLM\Software\HTC\HTCHome\Weather\Settings\LocationCode
get the right values, however the registry key
HKLM\Software\HTC\HTCHome\Weather\Settings\CityIndex
doesn't change, and I suspect that this is not good. I haven't been able to correlate this city index with a location code. I think it might be the index of the entry in the .xml file.
CityIndex is the position of the city on the list. But it doesnt matter, you can have any number and it will work.
When I change LocationCode to another place which is in the list, it displays it. It seems it's problem of the server, they just do not provide data for other cities this way. If I change LocationCode to my city, I get this message: "Unable to retrieve data for selected city."
EDIT: Here is some more info... http://forum.xda-developers.com/showthread.php?t=319187
The library needs to be modified to connect to different server. I have just tried the DLL from Kaiser but the weather plugin just disappeared. I will try to modify Wings's HTCHome.dll.
When u fix de htchome.dll I wont that file =) I tried to modify my file but i dosen't work.
WORKING!!!
1. Instal certificate
2. Instal Resco Explorer
3. Get loccode of your place on accuweather.com
4. Switch to non-HTC homescreen
5. Copy WeatherUpdateService.exe to temp dir on your smartphone and check it is set as system and read-only
6. Copy WeatherUpdateService.exe and replace the orignal in the Windows directory using Resco Explorer
7. Modify HH_xxxx_WeatherCities.xml (or registry - HKLM\Software\HTC\HTCHome\Weather\Settings\LocationCode and HKLM\Software\HTC\HTCHome\Weather\Settings\Location)
Refresh data.
Uses N2A's server. Say him thanks.
Thank you SOOOOOO MUCH! moneytoo, you're almost a god for me!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I did try to install the Kaiser HTCHome.dll. Can anyone pls upload the original for S730 so I dont need to reset my device; to much configuration for a saturday before x-mas
afx69 said:
I did try to install the Kaiser HTCHome.dll. Can anyone pls upload the original for S730 so I dont need to reset my device; to much configuration for a saturday before x-mas
Click to expand...
Click to collapse
Here you have.
moneytoo said:
WORKING!!!
Uses N2A's server. Say him thanks.
Click to expand...
Click to collapse
thanks much*
I'm using a Samsung Captivate unlocked on the Tmobile US network.
Incoming MMS get resize, I know Tmobile does this cause it's not a phone they recognized. Everytime I get an unlock phone this happen and I know I need to change the user agent to a phone they recognized.
I saw a few post on how to do it but it's for other phones, not sure if those fix will work for the Captivate. Anyone with a Captivate on TMOUS able to fix this problem yet?
Thank you
Bump, anyone?
Anyone know how to edit the user agent in the hex file?
trying to change it to the Nokia N95 user agent
NokiaN95/11.0.026; Series60/3.1 Profile/MIDP-2.0 Configuration/CLDC-1.1
I'm able to pull up the MMS config and see the user agent string but not sure what to do after that
Can anyone at tell me what to change in the picture?
Dude, I gave you an Mms.apk that has exactly what you're looking for on the other thread you posted about this. Take the apk I gave you and move it into system/app or just flash my ROM.
a.n said:
Dude, I gave you an Mms.apk that has exactly what you're looking for on the other thread you posted about this. Take the apk I gave you and move it into system/app or just flash my ROM.
Click to expand...
Click to collapse
I did take your mms.apk from the other thread and try it.
It did not work. Maybe I'm installing it wrong.
Is ADB the only method to push it to the phone?
I'm transfering it to my SD card, copy it and using Root Explorer paste it into
system/app but when I go to open the application, the MESSAGING icon is not there.
What ROM are you using?
Thanks for your time
Can someone tel me if I'm doing this right.
-Using Root Explorer extract a copy of Mms.apk from phone
-rename Mms.apk to Mms.zip
-WinRar extract the MMS.zip
-locate the mms_config.xml
-using hex editor changed the UA string (see picture).
-rezipped mms folder and change name to Mms.zip to Mms.apk
-put back into system/app
-reboot phone but the Messaging icon disappeared.
Also after editing mms_config.xml and save, there's an extra file
call mms_config.xml.bak, leave that file alone or what to do with it?
Thank you to anyone that can give me some help
Anyone? A little help?
I misspelled my first name when I registered my NC. So when I went to Settings -> Device Info -> About Your NOOKcolor, my name in the Owner field was misspelled. I was able to correct it online via BN.com but the NC wouldn't correct itself. It's a minor annoyance but wanted it corrected.
What you need:
Rooted NC with Superuser access
Root Explorer or equivalent
SQLite Editor or equivalent
What to do:
Use Root Explorer and navigate to /data/system to find the accounts.db file
Copy the file to the root of your SDCard (I was unable to make edits to the accounts.db file while it was located in /data/system)
Locate the copied file and open it using SQLite Editor
Open the "extras" table
CLICK AND HOLD the name field you want to edit. In my case it was the firstname field
Select "Edit Record"
Correct your name in the Value field
Click Save
You should receive a confirmation that the update was successful
Use the back button (soft key button on the bottom menu) to get back to Root Explorer
Copy the newly edited accounts.db file
Navigate back to /data/system
BEFORE YOU PASTE, rename the existing accounts.db file to accounts.db.old (just a precaution in case you don't want to lose the original file)
PASTE the newly edited accounts.db file into /data/system
NOTE: the r/w permissions are different between the original accounts.db.old file and the newly edited file Update the permissions of the newly edited file to match that of old file
Reboot
Once it's up, you should see your corrected name. I was able to successfully download a book using the NC Shop so all should be well.
** DISCLAIMER: Do at your own risk. I assume no responsibility if this doesn't work for you or causes issues with your NC. I can't imagine it will as it's a very minor database modification. ***
Yikes I goofed up my accounts.db file by editing it with the text editor (just didn't read the instructions carefully. Moving too fast.). Also didn't back up the file before editing (I know I'm an idiot ). Any idea how I can restore this file? Thanks.
Ok, I just managed to restore the file and all is ok, and my name is corrected. Next time I will read instructions better!
Phew! Glad to hear it worked out for you.
Sent from my rooted Nook Color using XDA App
I have a rooted NT, and i start to notice the owner/account name becomes "unavailable". I went to the location specified above, but couldn't find the entry. Would anybody happen to know how i can change it?
Thanks.
rvr350 said:
I have a rooted NT, and i start to notice the owner/account name becomes "unavailable". I went to the location specified above, but couldn't find the entry. Would anybody happen to know how i can change it?
Thanks.
Click to expand...
Click to collapse
This is the NC forum. You have a NT. Hop over to the NT forum and post question there.
Hello,
i dont have enough posts to post on the development side yet. And i was attempting to follow this post to block OTA's. http://forum.xda-developers.com/showthread.php?t=933291
I downloaded the sqlite3 binary, then used rootexplorer (mount R/W) to copy into /system/bin. From there do i just use Root Explorer to do the following?
/data/data/com.bn.devicemanager/databases/devicemanager.db
long press on devicemanger.bd
select edit with text
change "auto" to "manual"
save changes
reboot
this is what i tried but when i rebooted it didnt save. reverted back to auto. plus the code looked a bit different, instead of having a comma after "auto" it now has a capital "A". some of the other code looked different also. I deleted it and restored the original for now. but does anyone know what went wrong, im thinking its something to do with the sqlite3 binary.
JF-WS6 said:
Hello,
i dont have enough posts to post on the development side yet. And i was attempting to follow this post to block OTA's. http://forum.xda-developers.com/showthread.php?t=933291
I downloaded the sqlite3 binary, then used rootexplorer (mount R/W) to copy into /system/bin. From there do i just use Root Explorer to do the following?
/data/data/com.bn.devicemanager/databases/devicemanager.db
long press on devicemanger.bd
select edit with text
change "auto" to "manual"
save changes
reboot
this is what i tried but when i rebooted it didnt save. reverted back to auto. plus the code looked a bit different, instead of having a comma after "auto" it now has a capital "A". some of the other code looked different also. I deleted it and restored the original for now. but does anyone know what went wrong, im thinking its something to do with the sqlite3 binary.
Click to expand...
Click to collapse
I've yet to do this but from what I can gather you don't long press on devicemanager.bd You go into terminal (which if i remember correctly is under nook tools, I'm on froyo so i can't say exactly where it is) and then type the commands he listed.
You should be able to download a terminal from the market (just search terminal) if you can't find it
Dear friends,
Please Check the mages attachments..
I am Not bale to get what the issue is with the ROm.
I have HTC ONE SPRINT a locked one.. earlier the ROM was Deleted and i flashed the other ROM : windows based and flashed via WINDOWS.
and the other picture shows the Original ROM from Sprint.
Can any one help to make visible the Mobile Network option.
Or Can u please give me the link for ORIGINAL ROM OFFICIAL ROM FROM SPRINT.
Thank you,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
View attachment 2223807
View attachment 2223808
View attachment 2223809
View attachment 2223810
[email protected] said:
dear friends,
please check the mages attachments..
I am not bale to get what the issue is with the rom.
I have htc one sprint a locked one.. Earlier the rom was deleted and i flashed the other rom : Windows based and flashed via windows.
And the other picture shows the original rom from sprint.
Can any one help to make visible the mobile network option.
Or can u please give me the link for original rom official rom from sprint.
Thank you,
Click to expand...
Click to collapse
mobile network Sharing Visible 3/4
[email protected] said:
View attachment 2223807
View attachment 2223808
View attachment 2223809
View attachment 2223810
Click to expand...
Click to collapse
Problem Sorted Out..
Changed the Build.prop setting..
It worked..
In Mobile Network sharing : 3/4 features are on..
But not getting the Solution for 4/4 ...(Please Help)
one more problem i noticed is that Original Setting if seen via Terminal Emulator
TerminalEmulator>su>getprop(enter)
In Original ROM : [persist.sys.usb.config]: [adboff]
In Cusotm ROM : [persist.sys.usb.config]: [adb]
but not able to edit and make changes in getprop
Can anyone sort off the problem..
or let me know HOW TO make Changes in getprop???
Thank you,
I have the same problem in my stock ROM. I have been able to enable wifi and bluetooth tethering via build.prop, but USB tethering is still missing.
Got success.. for bringing usb tethering visibility on....it shows usb now. ..
The trick... It's not recommend but did
RND... And got it by hook or crook...
So just go on imagining...
You need 2 HTC ONE mobiles
1. In 1st one USB is not visible
2. Original ROM HTC ONE
BOTH PHONES must BE rooted.
And install TWRP, in both phones.
Make a back-up copy of both phones...
A BACKUP WILL BE CREATED IN BOTH PHONES in folders TWRP.
Now copy the backup of 2 and paste it in one...
Remember the backup should be copied of 2 to that of 1, n only files should be copied...
Then reboot ur phone...
Then go to ur 1 phone in build.prop
Makes changes from 0 to 1 for three properties...
N reboot again...
Usb will be enabled...
But remember that phone 2 should not be with any personal data... If any, same data will be copied to 1.
Please check, try, enjoy n then reply
Sent from my HTCONE using xda app-developers app
[email protected] said:
Problem Sorted Out..
Changed the Build.prop setting..
It worked..
In Mobile Network sharing : 3/4 features are on..
But not getting the Solution for 4/4 ...(Please Help)
one more problem i noticed is that Original Setting if seen via Terminal Emulator
TerminalEmulator>su>getprop(enter)
In Original ROM : [persist.sys.usb.config]: [adboff]
In Cusotm ROM : [persist.sys.usb.config]: [adb]
but not able to edit and make changes in getprop
Can anyone sort off the problem..
or let me know HOW TO make Changes in getprop???
Thank you,
Click to expand...
Click to collapse
Hi,
What did you change in the build.prop file to enable mobile network sharing? Any steps or guide you followed?
build.prop file to enable mobile network sharing
indy1811 said:
Hi,
What did you change in the build.prop file to enable mobile network sharing? Any steps or guide you followed?
Click to expand...
Click to collapse
Specially
ro.wifi.hotspotUI=0
ro.bt.tetheringUI=0
ro.usb.tetheringUI=0
ichanged the above parameters in CUSTOM ROM to
ro.wifi.hotspotUI=1
ro.bt.tetheringUI=1
ro.usb.tetheringUI=1
thats it...
build.prop file to enable mobile network sharing
indy1811 said:
Hi,
What did you change in the build.prop file to enable mobile network sharing? Any steps or guide you followed?
Click to expand...
Click to collapse
Specially
ro.wifi.hotspotUI=0
ro.bt.tetheringUI=0
ro.usb.tetheringUI=0
ichanged the above parameters in CUSTOM ROM to
ro.wifi.hotspotUI=1
ro.bt.tetheringUI=1
ro.usb.tetheringUI=1
reboot without fail...
no usb sharing will be enabled... so please for go for the Post given above post on 18 Sept 13
thats it...
Now copy the backup of 2 and paste it in one...
Remember the backup should be copied of 2 to that of 1, n only files should be copied...
After above Steps..
Please Restore the Phone 1, as the backup files in Phone 1 are that of 2.. so please RESTORE
skippper said:
I have the same problem in my stock ROM. I have been able to enable wifi and bluetooth tethering via build.prop, but USB tethering is still missing.
Click to expand...
Click to collapse
USB Tethering is on... u can now use USB of HTC ONE...
Hope you Met the USB Tethering VISIBILITY...
So, what you actually did is to flash system partition. I think some application, responsible for usb tethering was missing in our Rom.
Отправлено из моего HTCONE с помощью Tapatalk
skippper said:
So, what you actually did is to flash system partition. I think some application, responsible for usb tethering was missing in our Rom.
Отправлено из моего HTCONE с помощью Tapatalk
Click to expand...
Click to collapse
TWRP(TeamWin Recovery Project)
skippper said:
I have the same problem in my stock ROM. I have been able to enable wifi and bluetooth tethering via build.prop, but USB tethering is still missing.
Click to expand...
Click to collapse
How did u get wifi and bluetooth working, I tried editing build.prop but in ES file explorer i couldnt save the changes and when I used build prop editor the changes were not saving on restart. I am rooted. Can you help me out.
kgowrav said:
How did u get wifi and bluetooth working, I tried editing build.prop but in ES file explorer i couldnt save the changes and when I used build prop editor the changes were not saving on restart. I am rooted. Can you help me out.
Click to expand...
Click to collapse
I use Android Tuner Free application. There is a build.prop editor in it which allows to save build.prop file easily.
kgowrav said:
How did u get wifi and bluetooth working, I tried editing build.prop but in ES file explorer i couldnt save the changes and when I used build prop editor the changes were not saving on restart. I am rooted. Can you help me out.
Click to expand...
Click to collapse
You must tap the tick symbol on the top right corner once you make the changes in the build.prop editor to save the changes.
indy1811 said:
You must tap the tick symbol on the top right corner once you make the changes in the build.prop editor to save the changes.
Click to expand...
Click to collapse
I am saving the changes, it is clearly saying that the file is saved, but on restart nada all are set back to 0.
Sent from my HTCONE using xda app-developers app
kgowrav said:
I am saving the changes, it is clearly saying that the file is saved, but on restart nada all are set back to 0.
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Just Try one thing... HOPE IT MIGHT WORK.....
- Just Backup a "Copy of build.prop"
- Edit in the "Copy of buil.prop" to 1's.
- change the original name of "build.prop" to some other name(say "Original build.prop")
- now change file name of "Copy of build.prop" to "build.prop"
Try ...
ad yeah dear, SU Permissions should be Granted...
Best Luck
[email protected] said:
Just Try one thing... HOPE IT MIGHT WORK.....
- Just Backup a "Copy of build.prop"
- Edit in the "Copy of buil.prop" to 1's.
- change the original name of "build.prop" to some other name(say "Original build.prop")
- now change file name of "Copy of build.prop" to "build.prop"
Try ...
ad yeah dear, SU Permissions should be Granted...
Best Luck
Click to expand...
Click to collapse
Tried it earler...No luck
kgowrav said:
Tried it earler...No luck
Click to expand...
Click to collapse
Are you opening it in edit mode with write permission....
Please do S-Off and Perform the same operation said in OP
Thank you,
Steps performed to restore
Thanks to [email protected] for his pointers
These steps are to be performed on a Sprint HTC ON PN0720000
S-OFF, rooted, su, TWRP-ed 2.6.3,rooted.
adb shell
dd if=/system/build.prop of=/sdcard/build.prop
-------------------------------------------------------------------
[email protected]:/ $ dd if=/system/build.prop of=/sdcard/build.prop
dd if=/system/build.prop of=/sdcard/build.prop
15+1 records in
15+1 records out
8138 bytes transferred in 0.006 secs (1356333 bytes/sec)
[email protected]:/ $ exit
exit
-------------------------------------------------------------------
C:\Android>adb pull /sdcard/build.prop
124 KB/s (8138 bytes in 0.064s)
Use Hxd.exe or any hex editor to edit build.prop
FROM---------------------------------
ro.wifi.hotspotUI=0
ro.bt.tetheringUI=0
ro.usb.tetheringUI=0
TO---------------------------------
ro.wifi.hotspotUI=1
ro.bt.tetheringUI=1
ro.usb.tetheringUI=1
save file
adb push build.prop /sdcard/
-------------------------------------------------------------------
C:\Android>adb push build.prop /sdcard/
882 KB/s (8138 bytes in 0.009s)
-------------------------------------------------------------------
Reboot HTC One in recover
adb reboot recovery
In TWRP ,
Go to MOUNT
checkbox System
Go to File Manager, navigate to /system and select build.prop and rename to build.prop.orig
Got to File Manager navigate to /sdcard, select build.prop file and choose Move to /system
select /system/build.prop and select chmod 755 - if you dont do this step, the phone will be brick-ed
reboot system
Go to Settings, Tap More... and you should be able to see
Mobile Network Sharing with Mobile Hotspot and USB and Bluetooth tethering.
cheers!!!