Related
hey guys ..please help.
my samsung captivate is not working ..
everything in the phone is working except for network..
whenever i call ,it shows "mobile network not available" but its showing complete network signal bars.
plz help..i m new to this and dnt knw how to tackle these technical difficulties
please dodnt typ lke a kd . ths s rlly ****ing annoying!!!
what rom are you using? what kernel? what were you doing before it stopped working?
why would you run custom operating system software on your phone if you aren't good at technical stuff? sounds like you are waiting for trouble and hoping someone else can fix it and read your mind because you are bad a explaining the technical stuff you dont understand??
heres how to fix....
flash to stock with odin one click .[Stock ROMs](OneClicks Master Collection)
LEAVE IT LIKE THAT.
DOWNLOAD INSTRUCTIONS:
-Perform a factory reset on your phone. (Optional, recommended)
-Download any OneClickOdin package to your desktop.
-Be sure you have the Captivate drivers installed on your computer.
-Right click and Run as admistrator the Odin.
-Remove your sim card and external sdcard from you phone.
-Put your phone into download mode. (Press and hold both volume buttons and insert USB cable into phone)
-Wait for Odin to recognize your device. Yellow com port will light up.
-Click the big Start Button.
-Sit back and watch. This should only take between 2 or 3 minutes to complete.
-When the process is finished and your phone begins to reboot and you see the at&t screen you may go ahead and unplug the micro usb from your phone.
Click to expand...
Click to collapse
hey..
i am using continuum v6.1.
and i was doing nothing..i jus got up today and the phone was not working ..
sounds really odd, did you flash a new kernel? anything different at all? Have you tried rebooting?
In the dialer type *#0011# then reply with what it says on the third line.
Sent from my SAMSUNG-SGH-I897 using XDA App
I've had this happen to me a number of times (more often then not when flashing a ROM or back to stock). In my experience this is b/c I've lost my APN. Anyway I check this first:
SETTINGS --> ABOUT PHONE --> STATUS --> MOBILE NETWORK STATE = Disconnected
Then I head over to here:
SETTINGS --> WIRELESS & NETWORK --> MOBILE NETWORKS --> ACCESS POINT NAMES --> Here you should get prompted to enter an APN, click yes and follow the prompts and enter one manually with these settings:
Name: AT&T
APN: wap.cingular
Proxy: leave blank
Port: leave blank
Username:[email protected]
Password:CINGULAR1
Server: leave blank
MMSC: http://mmsc.cingular.com
MMS Proxy: wireless.cingular.com
MMS Port: 80
MCC:310
MNC:410
APN Type: MMS and Internet
Auth Type: none
Save and then select it and you should then connect no reboot required (well for me at least). This is one reason I always install the app "APN backup and restore". Of course you'll need to connect to a wireless network in order to connect to the market, etc... so I find it faster to just add one manually.
Hope this helps.
Edit wrong thread.
----------------------------------------------------------------------------------------------------
(23/02/2015)EDIT:If this method don't work for you use this app from PLAYSTORE:
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac
----------------------------------------------------------------------------------------------------
1) On your UmiZero,open "Settings-WLAN-Advanced settings-WLAN MAC address" keep note of your "WLAN MAC address"
2) Download & Extract UmiZeroNvramWriter to your desktop.
3) Run DriverSetup inside "Driver" folder.
4) Install BIRDA_SN_STATION_MT6592.
5) Run BIRDA_SN_STATION_MT6592 and select:
ComPort: USB VCOM
TargetSelect: SmartPhone
Model: WCDMA
Click on "System Config" button.
In the opened window select "WIFI Mac adr" (leave empty "Wifi Addr Header").
In "Data Base" section locate&select:
MDDB_UMIZERO (for MD DB_1 )
APDB_UMIZERO (for AP DB )
(You can find them inside folder "DB" of the extracted UmiZeroNvramWriter.zip)
Click "OK"
Click "START" on the BirdA SN Writer window
Insert your previously copyed WiFi MAC ADDRESS without ":" and lowercase (Ex: 00:08:22:C4:8e:1B BECOME 000822c48e1b)
When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire.
Click "OK" and the process will start....
....if everything has gone in the right way you should see the "Write Result Indicator" turn to green....
Now you can disconnect your device and reboot it.
IMPORTANT:
After reboot delete the folder "data/nvram" (using a Root Explorer) and reboot again (it will be auto re-created with the new values)
VERY VERY IMPORTANT:
THIS TOOL WRITE THE VALUES IN THE NVRAM SECTION OF YOUR DEVICES...SO IF YOU HAVE A PREVIOUS TWRP/CWM BACKUP YOU WANT TO RESTORE,UNCHECK "NVRAM" PARTITION (or you'll overwrite it with the old/wrong/bugged values)
IF YOU ENCOUNTER PROBLEMS DURING THE PROCESS IT IS 99% DUE TO WRONG/CORRUPTED DRIVER...IN THIS CASE TRY INSTALLING THE ONES INSIDE "\Desktop\UmiZeroNvramWriter\Driver(AlternateVersion)" OR RE-RUN "DriverUninstall & DriverSetup" INSIDE "\Desktop\UmiZeroNvramWriter\Driver"
...that's all...
ARCATARC.
If you like my works an offer is greatly appreciated not only by me (50% will be donate to UNICEF)
DONATIONS
DONATIONS
DONATIONS
arcatarc said:
1) On your UmiZero,open "Settings-About phone-Status" keep note of your "WLAN MAC address"
2) Download & Extract UmiZeroNvramWriter to your desktop.
3) Run DriverSetup inside "Driver" folder.
4) Install BIRDA_SN_STATION_MT6592.
5) Run BIRDA_SN_STATION_MT6592 and select:
ComPort: USB VCOM
TargetSelect: SmartPhone
Model: WCDMA
Click on "System Config" button.
In the opened window select "WIFI Mac adr" (leave empty "Wifi Addr Header").
In "Data Base" section locate&select:
MDDB_UMIZERO (for MD DB_1)
APDB_UMIZERO (for AP DB)
(You can find them inside folder "DB" of the extracted UmiZeroNvramWriter.zip)
Click "OK"
Click "START" on the BirdA SN Writer window
Insert your previously copyed WiFi MAC ADDRESS without ":" (Ex: 00:08:22:c4:8e:1b BECOME 000822c48e1b)
When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire.
Click "OK" and the process will start....
....if everything has gone in the right way you should see the "Write Result Indicator" turn to green....
Now you can disconnect your device and reboot it.
IMPORTANT:
After reboot delete the folder "data/nvram" (using a Root Explorer) and reboot again (it will be auto re-created with the new values)
VERY VERY IMPORTANT:
THIS TOOL WRITE THE VALUES IN THE NVRAM SECTION OF YOUR DEVICES...SO IF YOU HAVE A PREVIOUS TWRP/CWM BACKUP YOU WANT TO RESTORE,UNCHECK "NVRAM" PARTITION (or you'll overwrite it with the old/wrong/bugged values)
IF YOU ENCOUNTER PROBLEMS DURING THE PROCESS IT IS 99% DUE TO WRONG/CORRUPTED DRIVER...IN THIS CASE TRY INSTALLING THE ONES INSIDE "\Desktop\UmiZeroNvramWriter\Driver(AlternateVersion)" OR RE-RUN "DriverUninstall & DriverSetup" INSIDE "\Desktop\UmiZeroNvramWriter\Driver"
...that's all...
ARCATARC.
If you like my works an offer is greatly appreciated not only by me (50% will be donate to UNICEF)
DONATIONS
DONATIONS
DONATIONS
Click to expand...
Click to collapse
Can you please elaborate this line which mentioned ! .. its bit confusing to me
"When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire. "
Thank you for this tutorial, just what I need. Step 1 is to see what your current MAC address is and write it down. However my MAC adress changes with every factory reset I make. How do I know for sure what my hardware MAC address is?
Best regard, FoOtY
99.hemanth said:
Can you please elaborate this line which mentioned ! .. its bit confusing to me
"When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire. "
Click to expand...
Click to collapse
After you have Inserted your previously copyed WiFi MAC ADDRESS without ":" (Ex: 00:08:22:c4:8e:1b BECOME 000822c48e1b)and clicked "OK".............Connect your UmiZero "turned off" :laugh:
FoOtY1337 said:
Thank you for this tutorial, just what I need. Step 1 is to see what your current MAC address is and write it down. However my MAC adress changes with every factory reset I make. How do I know for sure what my hardware MAC address is?
Best regard, FoOtY
Click to expand...
Click to collapse
You don't need to know what is your "exact" mac address (it should be writed in factory....but they don't).
You can simply use one of the random ones generated from your phone(best way) or go to THIS SITE and get one..
Don't worry:there are BILLIONS of conbinations possible...
arcatarc said:
After you have Inserted your previously copyed WiFi MAC ADDRESS without ":" (Ex: 00:08:22:c4:8e:1b BECOME 000822c48e1b)and clicked "OK".............Connect your UmiZero "turned off" :laugh:
Click to expand...
Click to collapse
I followed each and every step as advised and even I got green signal "pass" and deleted data/nvram folder and rebooted, But still I see nvram error 0x0 after rebooting ....
It didnt solve
99.hemanth said:
I followed each and every step as advised and even I got green signal "pass" and deleted data/nvram folder and rebooted, But still I see nvram error 0x0 after rebooting ....
It didnt solve
Click to expand...
Click to collapse
It happened to me me too(i don't know why) but the third time it worked.....
...another possible option is to do it with stock rom(to be honest i've done it some weeks ago and i dont remember if i was on EMUmI or Stock rom....)
arcatarc said:
It happened to me me too(i don't know why) but the third time it worked.....
...another possible option is to do it with stock rom(to be honest i've done it some weeks ago and i dont remember if i was on EMUmI or Stock rom....)
Click to expand...
Click to collapse
I think you have done it in stock ROM ... not on EMUml ....
Becoz we cant find "Settings-About phone-Status" keep note of your "WLAN MAC address" - here in EMUml ..... its in stock ROM u find it ...
For EMUml we need to goto "settings-WLAN-Advanced settings-WLAN MAC address"
99.hemanth said:
I think you have done it in stock ROM ... not on EMUml ....
Becoz we cant find "Settings-About phone-Status" keep note of your "WLAN MAC address" - here in EMUml ..... its in stock ROM u find it ...
For EMUml we need to goto "settings-WLAN-Advanced settings-WLAN MAC address"
Click to expand...
Click to collapse
Did have you tryed inserting the MAC address in lowercase?(could be that the problem)
arcatarc said:
You don't need to know what is your "exact" mac address (it should be writed in factory....but they don't).
You can simply use one of the random ones generated from your phone(best way) or go to THIS SITE and get one..
Don't worry:there are BILLIONS of conbinations possible...
Click to expand...
Click to collapse
Ah thanks Arcatarc! So when I change the MAC address with your method it will stay even when I preform a wipe from the Android settings / CWM? How could UMI release it like this? My WiFi is so unstable
Best regards!
arcatarc said:
Did have you tryed inserting the MAC address in lowercase?(could be that the problem)
Click to expand...
Click to collapse
yes! .. i inserted in lower case only .........
arcatarc said:
Did have you tryed inserting the MAC address in lowercase?(could be that the problem)
Click to expand...
Click to collapse
Hi Arcatarc,
I've the same problem, writing to nvram is ok, deleting folder is ok but still have random mac address whenever I on/off wifi.
Could you give offset in file where MAC is stored, I'll try to place correct address by hexedit.
Is it storred in wifi or wifi_custom?
Guys,
After two days I think, that I've found the solution - permanent
What is important:
- files: wifi & wifi_custom must have rights: r-- r-- r-- (see photo)
- owner & guid must be empty (see photo)
- need 2 apps: hex editor & es file explorer installed
- the most important thing is correct MAC ADDRESS, it must start with 000820XXXXXX use online generators like:
http://www.miniwebtool.com/mac-address-generator/
So, what we need to do:
1. Important - (Turn ON WIFI), delete files "WIFI" & "WIFI_custom" from folder "data/nvram/APCFG/APRDEB/" to have them recreated with correct owner & guid rights after restart.
2. Restart phone.
3. Turn off wifi.
4. Use hex editor to edit file or better mobileuncle tools (engineer mode ->(MTK)-> connectivity menu-> wifi ->nvram). Look at attached photos, You will need to insert own MAC address to file. You have two ways:
- by Mobileuncle under "Byte String Access" set
addr value "4"
length value 6
Press "Read", should show you some random generated mac address, delete it and place your new valid MAC Address & press "Write".
That should save your new mac, you can check if that was saved by pressing "Read", should show you your new mac address.
- by Hex editor (give it root rights in options) and open "WIFI" file, go to offset $4 and insert your new mac address & save file. (see photo)
5. We need to set correct rights on both files "WIFI" & "WIFI_custom". I've used "es files explorer" and set all only as Readable. Remember do this on both files. Don't change owner & guid rights, must be blank.
PS.
I've messing around quite long, so I hope that I wrote the steps in correct order. If that doesn't work, try to turn on wifi after saving new mac address, or restarting between some steps etc.
I've used mobileuncle but I know that some of you had problem, so I've wrote the hex editor way.
Alternative way
(23/02/2015)EDIT:If this method don't work for you use this app from PLAYSTORE:
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac
arcatarc said:
(23/02/2015)EDIT:If this method don't work for you use this app from PLAYSTORE:
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac
Click to expand...
Click to collapse
So, if we fix the mac adress the "NVRAM WARNING ERR 0x10" error dissapear? or just our mac don't change every time?
victorzijka said:
So, if we fix the mac adress the "NVRAM WARNING ERR 0x10" error dissapear? or just our mac don't change every time?
Click to expand...
Click to collapse
yes,the error is generated from it..
Driver doesn't work in W7 64 bit (driversetup.exe installer)
arcatarc said:
----------------------------------------------------------------------------------------------------
(23/02/2015)EDIT:If this method don't work for you use this app from PLAYSTORE:
https://play.google.com/store/apps/details?id=com.cryptotel.chamelemac
----------------------------------------------------------------------------------------------------
1) On your UmiZero,open "Settings-WLAN-Advanced settings-WLAN MAC address" keep note of your "WLAN MAC address"
2) Download & Extract UmiZeroNvramWriter to your desktop.
3) Run DriverSetup inside "Driver" folder.
4) Install BIRDA_SN_STATION_MT6592.
5) Run BIRDA_SN_STATION_MT6592 and select:
ComPort: USB VCOM
TargetSelect: SmartPhone
Model: WCDMA
Click on "System Config" button.
In the opened window select "WIFI Mac adr" (leave empty "Wifi Addr Header").
In "Data Base" section locate&select:
MDDB_UMIZERO (for MD DB_1 )
APDB_UMIZERO (for AP DB )
(You can find them inside folder "DB" of the extracted UmiZeroNvramWriter.zip)
Click "OK"
Click "START" on the BirdA SN Writer window
Insert your previously copyed WiFi MAC ADDRESS without ":" and lowercase (Ex: 00:08:22:C4:8e:1B BECOME 000822c48e1b)
When the notification COM port searching and preloader handshake... appears,Unplug the the devices and turn it off, don’t press the power button, connect your phone and PC with USB wire.
Click "OK" and the process will start....
....if everything has gone in the right way you should see the "Write Result Indicator" turn to green....
Now you can disconnect your device and reboot it.
IMPORTANT:
After reboot delete the folder "data/nvram" (using a Root Explorer) and reboot again (it will be auto re-created with the new values)
VERY VERY IMPORTANT:
THIS TOOL WRITE THE VALUES IN THE NVRAM SECTION OF YOUR DEVICES...SO IF YOU HAVE A PREVIOUS TWRP/CWM BACKUP YOU WANT TO RESTORE,UNCHECK "NVRAM" PARTITION (or you'll overwrite it with the old/wrong/bugged values)
IF YOU ENCOUNTER PROBLEMS DURING THE PROCESS IT IS 99% DUE TO WRONG/CORRUPTED DRIVER...IN THIS CASE TRY INSTALLING THE ONES INSIDE "\Desktop\UmiZeroNvramWriter\Driver(AlternateVersion)" OR RE-RUN "DriverUninstall & DriverSetup" INSIDE "\Desktop\UmiZeroNvramWriter\Driver"
...that's all...
ARCATARC.
If you like my works an offer is greatly appreciated not only by me (50% will be donate to UNICEF)
DONATIONS
DONATIONS
DONATIONS
Click to expand...
Click to collapse
got this error, please help
SP_META_ConnectInMetaMode_r Error: maybe is DEFAULT_FAIL cause this error...
Error: Connect failed, Exit Meta Mode
After following each step carefully after the button turned green when I restarted the device, the SIM card not recognized, when checked IEMI Nos were gone.
Kindly suggest now.
[email protected] said:
After following each step carefully after the button turned green when I restarted the device, the SIM card not recognized, when checked IEMI Nos were gone.
Kindly suggest now.
Click to expand...
Click to collapse
Try deleting "data/nvram" folder and reboot.
Hello to everyone, Im posting here because I cannot make a question to the post related to what I need (http://forum.xda-developers.com/cro...ad-progress-please-leave-im-updating-t2871269), sa basically, I need to unlock the GSM 1900 band to use it in Chile (Entel company).
What do I need? Im still having some problems about understanding the adb terminal. Can someone help me with this please?
These are the steps to unlock the bands **My doubts are in red-bold and enumerate**
"Download this zip Google it as it's banned from xda for the ability of imei change
2. Extract it and install QPST from that zip
3. Open the caller app and type in *#*#8778#*#* (it should go off the screen after you type in the last symbol "*"
3.5 Those on custom roms (tested on cyanogen 11 with s4 mini) can use the efs professional toolkit to change the mode to enable the diag port.(Thanks @blackburn !)
4. Connect your phone to your PC ( 1)HERE, in which mode do I have to connect my phone to the computer?)
5. Open ADB console ( 2) From the folder of the adb program, right? pressing SHIFT + RIGHT CLICK?)
6. Type in these commands: ( 3) Can I type these commands from my phone? from the Terminal Emulator for example? Like in the step 34 of this guide???)
Code:
adb shell
su
setprop persist.usb.eng 1
Click to expand...
Click to collapse
7. Turn off USB Debugging, Disconnect your phone from the PC
8. Wait about 10 seconds (don't have to be exact, just let it all disconnect in the PC) and turn USB Debugging back on
10. Connect it back to the PC. It should try to install drivers. Wait until it fails to install all of them.
11. Open device manager - you will see your device model a few times. Go to details tab. Scroll down a single time on that tab. You will see MI_0x there.
12. Go through those devices until you find MI_04 under the second drop down position. ( 4)For what does this MI_04 stands for?)
13. Select "update driver" for this device and install the htc driver from the zip.
14. Press start button and navigate to QPST -> QPST Configuration
15. Go back to device manager -> modems -> HTC
16. Find "COM*" in my case it was "COM3". It might be different for you.
17. In QPST Configuration click on "Add new port" and in "Port" type in your "COM*". In my case It's "COM3" in there. In Port label it could be anyting u want. In my case I used a Z1 so I typed IN "Z1".
18. It should look like this now.
19. Navigate to QPST/bin and open RV_NV_Manager.exe
20. press on settings -> Comport and choose your COM port.
21. Press on file -> read from phone
22. Wait patiently until it is finished. Now pay attention!
23. Go to line 1877, click it and copy the decimal number on the right side of a programme. right click - copy
24. Go to the place where you extracted the zip from the first step and start mzTool
25. On the left side you will see "Input radix" - press decimal there. ( 5) For example, if the hole number is "153546.256", the decimal should be "256", right?
26. On the right side you will see "RF BC CONFIG" paste your previously copied number from the RV_NV_Manager.exe there.
27. You will see now what bands are you able to use on the bottom of the app in "Bit information"
28. Switch tab to "Band Preference (NV Value)"
29. In there select all GSM bands and WCDMA bands. This place is really a field of testing. In my case (C6903 LTE) I selected all of GSM and WCDMA. I wouldn't suggest you to do anyting else in here unless you know what your'e doing. Let me know if you got something interesting in there.
30. After you're done choosing what bands do you want - copy decimal number from the bottom right ( 6) Here I really need and example or a major explanation, in macro detail :c)
31. Remove all commas from that number ( "," ) so it would be just a bunch of numbers without anything else. ( 7) A bunch of number like this 524356??
32. Open RV_NV_Manager.exe from the point you left it (step 23) and paste your new number without commas "," there.
33. Press on write NV and then press on file ->write changed NV to the phone.
34. Open up the terminal emulator on your phone and write there this: ( 8) This is what I was refering to! Why it can be done directly from the phone? Can I do the step 6 from the Terminal Emulator of the phone too??)
Code:
su
setprop persist.usb.eng 0
Click to expand...
Click to collapse
35. Reboot the device and hope you'll have the reception. If you do, hooray!
36. Type in *#*#SERVICE#*#* (*#*#7378423#*#*) to see your new bands that your phone can use! "
Please help me! I have a basic, baaasic knowledge about this, and there are no videos for the Sprint m8 version :c
If Im posting in a wrong category, my apologies, but I cant comment in the real guide-post to get assitance :c
Thanks in advance.
- Conchetumare celular culiao :crying: -
.
Anyone? Just that simple? come on :c!!!!!!!!!!!!!
..
So many thanks ah...
Step 1: Getting the signal.
First, you need to edit your build.prop and add the lines:
Code:
ro.telephony.default_network=3
ro.ril.def.preferred.network=3
ro.telephony.default_network1=3
ro.ril.def.preferred.network1=3
Then you must reboot.
Sometimes, you may get the network signal already. But you still need to do the next steps. You also need root.
Open Terminal (Download Material Terminal) and type line by line:
Code:
su
settings put global preferred_network_mode 3
settings put global preferred_network_mode1 3
stop ril-daemon
start ril-daemon
Check whether you get the network after this. If you don't make sure you did the steps properly.
Step 2: Making the setting stick
This method requires use of /sbin/.core/img/.core/service.d so it requires Magisk, obviously.
1. Go to /sbin/.core/img/.core/service.d directory
2. Create a file with the name "99ril"
3. Put the following lines in the file:
Code:
#!/system/bin/sh
sleep 240
settings put global preferred_network_mode 3
settings put global preferred_network_mode1 3
stop ril-daemon
start ril-daemon
4. Save it and change the permission of the file to 755.
5. Reboot. You should get network signal after few minutes (approximately 4).
6. Done
Feel free to give your feedback below and also press 'Thanks' if it helped.
@Yaseen_the_Gamer
I have an L720, (KK, 4.4.2 - stock NAE/Mdc modem), that I finally got unlocked, works with Tmob sim but for some reason its not picking up the Metropcs sim card. Even Tmob shop said its unlocked and would work. Do you think these settings changes would get it going on Metro? Not my primary device so I can tinker with it, and try whatever... Any suggestions wd be appreciated.
Thx!
Snapi2 said:
@Yaseen_the_Gamer
I have an L720, (KK, 4.4.2 - stock NAE/Mdc modem), that I finally got unlocked, works with Tmob sim but for some reason its not picking up the Metropcs sim card. Even Tmob shop said its unlocked and would work. Do you think these settings changes would get it going on Metro? Not my primary device so I can tinker with it, and try whatever... Any suggestions wd be appreciated.
Thx!
Click to expand...
Click to collapse
You could try it. It is a GSM sim, so it might work through this method.
Would this work on a Sprint S4 L720-T Variant, JDCTeam's 6.0.1 Rom
Would this method work on a Sprint S4 L720-T Variant. Also, using 6.0.1 Rom. See link below.
https://forum.xda-developers.com/ga...dcteam-android-source-project-mra58v-t3251663
---------------------------
ToXiTe said:
This tutorial was originally posted by me in here. Thought I would share it to the wider public:
Step 1: Getting the signal.
First, you need to edit your build.prop and add the lines:
Code:
ro.telephony.default_network=3
ro.ril.def.preferred.network=3
ro.telephony.default_network1=3
ro.ril.def.preferred.network1=3
Then you must reboot.
Sometimes, you may get the network signal already. But still you need to do the next steps. You need root.
Open Terminal (Download Material Terminal) and type line by line:
Code:
su
settings put global preferred_network_mode 3
settings put global preferred_network_mode1 3
stop ril-daemon
start ril-daemon
You will get the network after this.
Step 2: Making the setting stick
Method 1 (Not guaranteed to work always):
If you are using an Oreo ROM, this is the detailed procedure and for the users of other ROMs, you may visit similar settings within your ROM:
1. Go to Settings>Network&Internet>Mobile Network>Advanced. Don't do any thing more.
2. Go back to Terminal and enter the same thing as before.
DONE!
You may want to save this code as Favourite Command in Material Terminal options so that you could use it in one tap if network goes away anytime in future. You need to follow the exact steps else settings won't stick after reboot.
Your settings will reset again if you visit the same settings menu(Mobile Network settings) as I told in the steps above. So avoid going into that.
Method 2 (Guranteed to work always):
This method requires use of /magisk/.core/service.d so it requires Magisk, obviously.
1. Go to /magisk/.core/service.d directory
2. Create a file with the name "99ril"
3. Put the following lines in the file:
Code:
#!/system/bin/sh
sleep 20
settings put global preferred_network_mode 3
settings put global preferred_network_mode1 3
stop ril-daemon
start ril-daemon
4. Save it and change the permission of the file to 755.
5. Reboot. You will get network signal after a minute.
6. Done
Feel free to give your feedback below.
Click to expand...
Click to collapse
satpakCA said:
Would this method work on a Sprint S4 L720-T Variant. Also, using 6.0.1 Rom. See link below.
https://forum.xda-developers.com/ga...dcteam-android-source-project-mra58v-t3251663
---------------------------
Click to expand...
Click to collapse
Yes
Thanks. Just to confirm, I'm using an Indian Telecom Operator (Airtel) SIM here in the US. On my previous Custom ROM installs, the phone usually picks up either AT&T or T-Mobile HSPA/3G.
Also, this Sprint phone was unlocked both domestic and international.
Your method would still work? Please let me know.
satpakCA said:
Thanks. Just to confirm, I'm using an Indian Telecom Operator (Airtel) SIM here in the US. On my previous Custom ROM installs, the phone usually picks up either AT&T or T-Mobile HSPA/3G.
Also, this Sprint phone was unlocked both domestic and international.
Your method would still work? Please let me know.
Click to expand...
Click to collapse
As long as it is a GSM sim, it will work. Just make sure you follow the steps properly. Also click "Thanks" button if it helped you.
Still no change.
Also, once codes are entered on Terminal Emulator app, is it supposed to do something? After entering the codes, it goes to the next line for me to either enter 'exit' or manually close the app.
One other thing, I found that my Baseband is on NG5 (4.4.2 )and Bootloader is at PL1 (5.0.1). I know it was a requirement on the first page to have the both Baseband and Bootloader over 5.0 but unable to do so. Tried to Odin OD2 both Baseband and Bootloader, did not work. tried with PL1 Modem only and still doesn't stick.
https://forum.xda-developers.com/ga...dcteam-android-source-project-mra58v-t3251663
ToXiTe said:
As long as it is a GSM sim, it will work. Just make sure you follow the steps properly. Also click "Thanks" button if it helped you.
Click to expand...
Click to collapse
Also, my Mobile Network Settings are as follows. Did not alter anything. See pics attached.
satpakCA said:
Still no change.
Also, once codes are entered on Terminal Emulator app, is it supposed to do something? After entering the codes, it goes to the next line for me to either enter 'exit' or manually close the app.
One other thing, I found that my Baseband is on NG5 (4.4.2 )and Bootloader is at PL1 (5.0.1). I know it was a requirement on the first page to have the both Baseband and Bootloader over 5.0 but unable to do so. Tried to Odin OD2 both Baseband and Bootloader, did not work. tried with PL1 Modem only and still doesn't stick.
https://forum.xda-developers.com/ga...dcteam-android-source-project-mra58v-t3251663
Also, my Mobile Network Settings are as follows. Did not alter anything. See pics attached.
Click to expand...
Click to collapse
Enter *#*#4636#*#* in dial pad. Then go to Phone Information when the menu shows up. Then from there choose "GSM only" in Set Preferred Network Type. Then go back and again go to this menu. Does the setting change back to same as before or it stays as "GSM only"?
ToXiTe said:
Feel free to give your feedback below.
Click to expand...
Click to collapse
Excellent write-up! Worked perfectly on my 720T, running PACman 5.1.1 with MK5 modem.
Thank you so much for this. My network worked within 1 min. I am using [JDCTeam] Optimized LineageOS 15.1 Version 6.
The steps are also very nicely written for a noob like me. For the permissions (755) it would be Owner check mark for r, w and x; Group check mark for r and x; Public is r and x. Rest is all uncheck.
Here is a list of the networks
Code:
// NETWORK_MODE_* See ril.h RIL_REQUEST_SET_PREFERRED_NETWORK_TYPE
int NETWORK_MODE_WCDMA_PREF = 0; // GSM/WCDMA (WCDMA preferred)
int NETWORK_MODE_GSM_ONLY = 1; // GSM only
int NETWORK_MODE_WCDMA_ONLY = 2; // WCDMA only
int NETWORK_MODE_GSM_UMTS = 3; // GSM/WCDMA (auto mode, according to PRL)**
int NETWORK_MODE_CDMA = 4; // CDMA and EvDo (auto mode, according to PRL)**
int NETWORK_MODE_CDMA_NO_EVDO = 5; // CDMA only
int NETWORK_MODE_EVDO_NO_CDMA = 6; // EvDo only
int NETWORK_MODE_GLOBAL = 7; // GSM/WCDMA, CDMA, and EvDo (auto mode, according to PRL)**
int NETWORK_MODE_LTE_CDMA_EVDO = 8; // LTE, CDMA and EvDo
int NETWORK_MODE_LTE_GSM_WCDMA = 9; // LTE, GSM/WCDMA
int NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA = 10; // LTE, CDMA, EvDo, GSM/WCDMA
int NETWORK_MODE_LTE_ONLY = 11; // LTE Only mode.
int NETWORK_MODE_LTE_WCDMA = 12; // LTE/WCDMA
int NETWORK_MODE_TDSCDMA_ONLY = 13; // TD-SCDMA only
int NETWORK_MODE_TDSCDMA_WCDMA = 14; // TD-SCDMA and WCDMA
int NETWORK_MODE_LTE_TDSCDMA = 15; // TD-SCDMA and LTE
int NETWORK_MODE_TDSCDMA_GSM = 16; // TD-SCDMA and GSM
int NETWORK_MODE_LTE_TDSCDMA_GSM = 17; // TD-SCDMA,GSM and LTE
int NETWORK_MODE_TDSCDMA_GSM_WCDMA = 18; // TD-SCDMA, GSM/WCDMA
int NETWORK_MODE_LTE_TDSCDMA_WCDMA = 19; // TD-SCDMA, WCDMA and LTE
int NETWORK_MODE_LTE_TDSCDMA_GSM_WCDMA = 20; // TD-SCDMA, GSM/WCDMA and LTE
int NETWORK_MODE_TDSCDMA_CDMA_EVDO_GSM_WCDMA = 21; // TD-SCDMA,EvDo,CDMA,GSM/WCDMA
int NETWORK_MODE_LTE_TDSCDMA_CDMA_EVDO_GSM_WCDMA = 22; // TD-SCDMA/LTE/GSM/WCDMA, CDMA, and
this helped to get 2g-3g working, but LTE does not work. Under phone info from the dial pad the only way to get connection to work is by choosing preferred network type that Is GSM, but LTE will not work. If I switch to LTE under mobile network settings it automatically switches to sprint attempted connections that will not work. Anyway to get LTE with GSM?
I am using l720t s4 with lineage 16 JDCteam custom rom.
B6000man said:
this helped to get 2g-3g working, but LTE does not work. Under phone info from the dial pad the only way to get connection to work is by choosing preferred network type that Is GSM, but LTE will not work. If I switch to LTE under mobile network settings it automatically switches to sprint attempted connections that will not work. Anyway to get LTE with GSM?
I am using l720t s4 with lineage 16 JDCteam custom rom.
Click to expand...
Click to collapse
these instructions only work if you have that "band"/signal and it is "consistently stable" in your location. For example, if you are in a mall and underground nothing is going to help you until you get out from underground and can catch constant signal. This solution is more for people that have constant signal availabe but the radio is not "sticking" to the preferred band.
Hi guys,
nedd your support, unfortunately to enable tethering with my carrier (italian coopvoce) I have to set the APN type as "default,supl,dun".
But when I try to set the "dun" type, while saving the APN, I get this error "the carrier is not allowing to create dun APN".
I've also aked for support to the carrier and they are confirming that there's no constraint about setting dun and dun is required to enable tethering . I've tried with other phones wht my SIM and I can create APN with dun ...
So I'm lost.
I've have a second SIM (italian TIM business) and tethering seems to work fine.
Any suggestion ?
I had the same problem with Ho.mobile, solved with this guide:
https://talk.sonymobile.com/t5/Xper...te-to-Android-7-0-Xperia-Z5/td-p/1208290#gref
Basically you need to open a shell via ADB on the phone (a PC is required...) and give this command:
Code:
settings put global tether_dun_required 0
from now on you don't need 'dun' in the APN type in order to enable tethering...
Hope this helps
/M
met67 said:
I had the same problem with Ho.mobile, solved with this guide:
https://talk.sonymobile.com/t5/Xper...te-to-Android-7-0-Xperia-Z5/td-p/1208290#gref
Basically you need to open a shell via ADB on the phone (a PC is required...) and give this command:
Code:
settings put global tether_dun_required 0
from now on you don't need 'dun' in the APN type in order to enable tethering...
Hope this helps
/M
Click to expand...
Click to collapse
Thankns bro, it works !!!
met67 said:
I had the same problem with Ho.mobile, solved with this guide:
https://talk.sonymobile.com/t5/Xper...te-to-Android-7-0-Xperia-Z5/td-p/1208290#gref
Basically you need to open a shell via ADB on the phone (a PC is required...) and give this command:
Code:
settings put global tether_dun_required 0
from now on you don't need 'dun' in the APN type in order to enable tethering...
Hope this helps
/M
Click to expand...
Click to collapse
Thanks bro, it works !!!