Mi note LTE-virgo, disable HDVOICE, modify NON-HLOS.bin possible ? - Xiaomi Mi Note Pro

Hello.
I have few problems with HDVoice on MI note LTE virgo. Snapdragon 801. Voice calls is veryyy pooor :/
I replaced many SIM cards, this not resolve problems. I flashing many roms(miui, mokee, lineage) and basebands (MPSS.DI.3.x and 4.x). I change network type to "only 2G". Not resolve problems.
Always I hear voice switch under call to "hd voice feature" (under call I hear corrupt voice).
I want to use a standard GSM voice codec. I not need AMR-WB (hdvoice).
It is possible to modify (ex. by hex editor or other tool QPST?) file "NON-HLOS.bin" (modem firmware), to disable hdvoice function in my phone ?
If I edit this file by Hex editor, I found the line:
"qipcallqos.c:qipcallqos_get_all_as_value_base_on_mode: hdvoice enabled: %d"
How to modify this, to disabled hdvoice?
Please help me.

Related

please, help me switch sprint-diamond-6950 from MEID to ESN

my operator use huawei networks, and this system don't support MEID for EVDO registration.
i compare layes3 trace for both terminal, Sprint-Novatel-U727 and Sprint-HTC-Diamond-Touch.
and found problem in "Session Setup" phase.
when terminals send 1xEV Signaling Access Channel -- HardwareIDResponse:
Sprint-Novatel-U727 send hardware_id_type = 0x10000 + ESN - and network answer,
but Sprint-HTC-Diamond-Touch send hardware_id_type = 0xFFFF + MEID and network stop answer.
so, i think my operator don't support MEID, and need switch diamond from MEID to ESN.
i'm not programmer, but i looking for 7500 code, hdramp.c/hdramp.h
and found hdramp.session_info.session_hwid.type parameter
with HDRAMP_HARDWARE_ID_TYPE_ESN or HDRAMP_HARDWARE_ID_TYPE_MEID value.
i try sprint and telus radio, but always MEID.
also i use QXDM and set 1933 nv_hdramp_hardware_id_i parameter to 0x10000 (for ESN)
but always MEID in trace.
so, if anybody can do more, than looking for SPC, or change ESN/MEID and has any information - please help me.
i think need path firmware, it's easy at intel cpu, but for arm/qcom i haven't this skill, so, before try loking other way.
thanks.
bump
any update?
How do you do a layes3 trace ?
Does this help?
http://www.qualcomm.com/common/docu..._1xEV-DO_Session_Negotiation_Example_3-08.pdf
yes, i patch diamond phone firmware, and phone start working.
i write more detail at qmat support forum.
later i erase few memory in my diamond and wait jtag/jlink from ebay.
bump
Can you tell me how to do layer 3 trace? the pdf file in the previous messages does say the OUTPUT, but it doesn't say HOW the data was captured.
TIA
Data was captured via QXDM (Log view or, more usable, Filtered view), saved into .isf and parsed by the QCAT tool. Ask google for latest versions of this software.
BTW, you REALLY not need QCAT - the QXDM can give you same description of interesting packets (described in pdf (0x1077,0x1078,0x1079 etc.))
//WBR
Diamond meid solution
Hard SPL
Supercid
change radio to 1.0.0.8u
now you can ahnge scm to 2A or make meid 00000000000000 using dfs.

[Q] Using assisted dial in Sprint ROMs abroad

Hi everyone,
Wondering if someone could give me advice on using assisted dialing. I'm using Sprint HTC One abroad (in Ukraine) and I always used assisted dial on my CDMA phones. But recently I upgraded to HTC One and found that none of Sprint ROMs includes assisted dial feature. Actually similar feature is included as "north american dialing key" but it does not work the same way (it always assumes that home country is USA/CA). I looked inside Phone.apk (decompiled it to get smali files and readable xmls) and found that it still includes NBPCDUtility and AssistedDialingSettingV2 action but when I tried to launch them from shell (adb shell, am com.android.phone....) I receive a message that the Phone app has crashed. I also found that none of Sprint ROMs include HtcCdmaMccProvider.apk (contains db with country codes, IDD,NDD,etc), but Verizon ROMs still include this features (and HtcCdmaMccProvider). Then I tried to use Verizon apks but of course they didn't work (launching phone.apk writes to log "Failed to find provider info for com.htc.omadm" and then crashes).
So, I'm wondering if somebody (may be ROM makers ) knows if there is a way to override mCurrentCountry (com/android/phone/nbpcd/NBPCDUtility) (like it works in many Verizon phones) without recompiling phone.apk?

Windows Phone 8.1: deleting default APN

Hi,
I have a Nokia Lumia 520 Vodafone (I'm not sure if this is the rigth section or this one http://forum.xda-developers.com/windows-phone-8/development).
I'm using a MVNO operator. It's everything quite good (connection) but I can't use it in order to have the hotspot.
I try to explain: as default, there are 3 different APN (not related to the MVNO operator but related to the operator who "give" the network to the MVNO) and I added the one correct for the MVNO operator. I use the last one, and the smartphone can connect and so on.
The problem probably is that when I activate the tethering (hot spot) the phone automatically tries to activate another APN (one of the 3 as default) but obviously there isn't any connection (there is a message like "there isn't any connection available").
The solution should be: delete these default APN.. but I can't!
Pushing (holding it) the APN only 2 choice are showed: ACTIVATE and SHOW (neither MODIFY nor DELETE).
Well, the question is: can I in some way delete these APN (or change their values... I don't know, via registry system)??
Please note that the tethering function is officially allowed by the operator and in his opinion the is a phone matter.
Also please note the Vodafone brand is only "a face", I mean this rom doesn't deny any type of connection.
Thanks to help
Known problem; some MOs put a custom configuration for tethering in the registry of their phones. To make tethering work "like normal" you need to remove this custom configuration. It can be done by installing a registry editor via chamber hijacking, but I don't have the details of what changes you need to make handy right now.
GoodDayToDie said:
Known problem; some MOs put a custom configuration for tethering in the registry of their phones. To make tethering work "like normal" you need to remove this custom configuration. It can be done by installing a registry editor via chamber hijacking, but I don't have the details of what changes you need to make handy right now.
Click to expand...
Click to collapse
Thanks.
Do you think I can do it simply installing something like "Root Tool" (http://www.windowsphone.com/en-us/store/app/root-tool/f4acc009-ea1e-4063-9bab-fec50195aa1e) ?
Root Tool should let you make the necessary changes, yes. I'm not sure if it supports binary data types, so if you need to edit those you may have trouble, but otherwise it's fine.
Sorry I don't recall the details for making this work. Searching this forum for "Internet Sharing" may help...
GoodDayToDie said:
Root Tool should let you make the necessary changes, yes. I'm not sure if it supports binary data types, so if you need to edit those you may have trouble, but otherwise it's fine.
Sorry I don't recall the details for making this work. Searching this forum for "Internet Sharing" may help...
Click to expand...
Click to collapse
Ok, I'll check, thanks

Windows phone service app api missing

Does anyone know how i can call the function BitBlt? It seems to be missing from Gdi32.dll, but some dlls in the system files still refer to it by calling it from the dll ext-ms-win-gdi-draw-l1-1-1.dll (i know this is some kind of hidden layer api calling)

USA based SM-F9160 SM-F916B and SM-F916N users.

Hi all. Wanted to start a thread for US owners of the international version of this phone. Mines on order so trying to get some things moving before it arrives. My main objective is getting the Bands to align to T-mobile [bands n71 (600 MHz), 41 (2.5 GHz), n260 (39 GHz) and n261 (28 GHz) working for 5G and 66 and hopefully 71(not sure supported on any version but is on the 9860 with same chip set)]. Also to keep it easy to do updates (carrier updated would be awesome).
Anyone have any info on what they have or have not found with this devices in the US?
- A list of frequency bands shown on the device per CSC would be great. Hopefully someone can get screen shots from samsung info tool for differing csc's, more so using us CSC's.
Has anyone changed the CSC via odin or tried the f916u or f916u1 FW through a std/patched odin?
- If so did bands change to fit the CSC region?
Has anyone manually copied the CSC from a US FW set to the internationals system folder (Forced a CSC change)?
- Concerned this may not make all the changes needed to the CSC provisioning but won't know until tried.
Has any one tried to take a TWRP ROM or backup from the F916U/1 and install it? Anyone have one that I can try (less user partition)?
- Has anyone confirmed what bands are binding in the US and if the 5G TD-NR2500 (N41) band is connecting?
I've de-compiled close build dates of FW between the U1 and international and there are not a lot of differences. Most of which I could apply manually if needed via root but it is a lot of data to enter and not sure whats really needed, so looking at it a piece at a time. I do have a US csc set to force. I also pulled the PIT file for 512gb units. Hope these can be repacked into a custom ODIN package that does not need root but the later is all long pole stuff.
Anyhow just looking to see what others have done or know to save me some steps. The more I know going in the better I can piece this together and hopefully put something out that can just be flashed and stay consistent through later updates.
Thanks in advance to all who have info to share!
I will test to help this project out...I have a rooted n9860
dallen5 said:
I will test to help this project out...I have a rooted n9860
Click to expand...
Click to collapse
Great. I may have to do a bit more to get n9860 csc files but bare with me.
- What carrier do you use and where are you located?
- Can you give me a details/screen shot of your csc in about - software info - carrier config version (adjust for your android version)
- Use the app "samsung band selector" and give me a list (or screen shots) of the bands it shows available.
You can send it to me in a message to cut down noise but if an issue, here is fine.
Big THANKS!!
saridnour said:
Great. I may have to do a bit more to get n9860 csc files but bare with me.
- What carrier do you use and where are you located?
- Can you give me a details/screen shot of your csc in about - software info - carrier config version (adjust for your android version)
- Use the app "samsung band selector" and give me a list (or screen shots) of the bands it shows available.
You can send it to me in a message to cut down noise but if an issue, here is fine.
Big THANKS!!
Click to expand...
Click to collapse
I'm using T-Mobile and I'm from Mobile,Al
dallen5 said:
I'm using T-Mobile and I'm from Mobile,Al
Click to expand...
Click to collapse
Thanks! I should have been more specific with"Samsung band selector". In the spot of that last photo, select the three lines upper left and select "band selector". That should give you a long list of presently supported bands. Can you get me that list?
I am hoping changing the csc to TMO opens up more bands here in the us. I am still trying to get that csc set together for you and your note 20.
saridnour said:
Thanks! I should have been more specific with"Samsung band selector". In the spot of that last photo, select the three lines upper left and select "band selector". That should give you a long list of presently supported bands. Can you get me that list?
I am hoping changing the csc to TMO opens up more bands here in the us. I am still trying to get that csc set together for you and your note 20.
Click to expand...
Click to collapse
Great thanks! Will get you a TMB CSC to try and see if that changes your bands. Will send via msg vs posting here as don't want to put a file up for a non fold 2 device on this thread. Will be a few days as need find time to download, de-compile and build the update.
saridnour said:
Great thanks! Will get you a TMB CSC to try and see if that changes your bands. Will send via msg vs posting here as don't want to put a file up for a non fold 2 device on this thread. Will be a few days as need find time to download, de-compile and build the update.
Click to expand...
Click to collapse
Ok cool
Did you ever come up with anything?
Hey sorry for the delays. I have been going crazy with this thing but not as far along as I would like to be. Samsung has locked the modem down more so than I yhought would be the case. The quick test I was to have you run was to modify the csc and I am far past that already.
I can get full TMO CSC running. (voip and volte)
I can add US bands specifically 66 and 71 and verified them working (or others unverified) on LTE. Mine Mimics the f916u1 bands for LTE. (QXDM works)
I can get the mbn carrier software options in the service menu (using custom modem.img)
I can limit the 5g bands to n41 although I can not get 5g to really connect (it claims it does but its not). Believe its a anchor issue with nsa. Not sure sa works in my area.
Working:
- carrier_policy controlling band availability and some CA.
- NV band pref to set LTE/5G from whats provisioned.
- 41 CA aggregation.
- manual modem provisioning for carriers.
- Full CSC for US carriers including VOLTE and Wifi calling
- F9160 DUD1 modem modified FW.
Thing still blocked:
- bands n71 5g and n260/1 although I think the hardware is missing for later mmwave.
- 5g working.
- LTE+ carrier aggregation on more bands. I can get it working in some b41 locations but that's it. Needs more work.
- Get rid of the Chinese unlock warnings on boot.
- F916u modem FW
I do plan to do a write up on some of this and add my notes fr pthers to chime in on. Still banging my head on the wall as the 5g bands should be working per everything I have read. I should have full RAT and it still limits to the same nr5g bands. Think the 5g bands are hard coded or limited in the firmwares db or missing hw. The Mbn's seem to not pass crc so editing may not be an option and I so far can not find a way to disable the security checks (2 bit changes and mbn failed to load). I can get some mod to the modem but to much causes it to fail or not load the radio at all. Need get around that security.
-= Currently (but hopefully temporary) my modem is dead. I corrupted the IMEI/EFS and am now getting an IMEI Certi: Failed and network: Blocked status in the service menu. If anyone has info on this please let me know. This is NOT caused by any of the below. =-
Few things to change for US use. I am not going to do this as a step by step as many have posted the details of how to elsewhere. I am just putting the values up for you to use as you should have some understanding of what you are doing to make these mods.
Add US LTE bands:
You will use QPST and QXDN to access the NV setting on your phones modem. The older QXDM will allow most of the changes. The 74xxx items will need the later 4. QXDM or PCATA.
NV item: 06828 nv_lte_bc_config_type.lte_bc_config
DEC: 10000000010101000011110000000001011000011100001100011011110
Bands: B2 B3 B4 B5 B7 B8 B12 B13 B18 B19 B20 b25 B26 B28 B38 B39 B40 B41 B46 B48 B66 B71
Change to decimal vaue: 288971309735352542
OR
Change to: 576460752303423487 for all bands, then limit with "carrier_policy" or "preferred bands". This allows band selector or service menu options to add other bands as needed. But do limit bands as it speed up network connections and saves power.
Note: Read up on LTE bands and NV item 6828. Most tools stop at band 41 and the method to add values above 65 are limited as the binary converted to decimal is to large. Qualcomm changed a couple of band numbers that were not used to allow this.
band 50=66, 55=252, 56=255, 59=71
I assume this is for all modems but may be limited to the fold 2. If anyone wants to confirm on another device I will be happy to update this note.
NV65633 (LTE band pref) default values:
Uint64: 0x1E7FFFFDF3FFF Change to:0x0402A1E00B0E18DE dec:288971309735352542
NV73680 (LTE-U Band 65 to 256):
65_128: 0x000000000000004E bin out=1001110 Edit to: 0x0000000000000042
bin: 10000000010101000011110000000001011000011100001100011011110
129_192:0x0000000000000000 No change
193_256:0x4A00000000000000 Edit to: 193_256:0x0000000000000000
Add NR bands and limit to US bands.
Note: I have yet to get the bands to ADD but you can limit to band 41. Adding may not be possible at all BUT these are the settings that should work.
NV74087 (NR band pref):
bits_1_64 int64: default: 1099645845509= 1,3, 28, 41 Edit to: dec:1099511627776 = n41
bits_65_128 int64: default: 78, 79 Edit to: dec:64 bin:1000000 =n71
129_192:0 no change
193_256:0 no change
257_320:0 Edit to: dec:24 Bin: 11000 =n260,n261
NV74213 (NR NSA band pref):
bits_1_64 int64: default: 1099645845509= 1,3, 28, 41 Edit to: dec:1099511627776 = n41
bits_65_128 int64: default: 78, 79 Edit to: dec:64 bin:1000000 =n71
129_192:0 no change
193_256:0 no change
257_320:0 Edit to: dec:24 Bin: 11000 =n260,n261
US CSC's:
Once rooted you can flash the HOME csc from the f916u FW. This will give you full support for the US market. The home CS will not wipe your device as it does not contain the PIT. Also the other will fail to load.
Modem:
Magic iso can read your modem image file and allows edits. Editing mbn_sw.txt and adding the us carriers adds them to your mbn list in the service menu.
You can flash later f9160 modem files in QDIN to keep your modem up to date. I ran DUD1 with OS10 for instance with better signal quality.
Secret codes:
secret code: *#*#0808#*#* -set usb connection id- (USB mode RMNET + DM + MODEM +ADPL(5G)) or apx for QPST
secret code: *#*#27262826#*#* -Change CSC-
Secret code *#*#27663368378#*#* -Service menu-
Stock SM-F916u1 frequency bands:
2G GSM GSM850,GSM900,DCS1800,PCS1900
2G CDMA CDMA800,USPCS1900
3G UMTS B1(2100),B2(1900),B5(850),B8(900)
3G CDMA BC0(800),BC1(1900)
4G FDD LTE B2(1900),B3(1800),B4(AWS),B5(850),B7(2600),B8(900),B12(700),B13(700),B18(800),B19(800),B20(800),B26(850),B28(700),B66(AWS-3)
4G TDD LTE B38(2600),B39(1900),B40(2300),B41(2500),B46(5200),B48(3600)
More to come, hopefully.....
Curious if you have this file on hand. I have the Fold 2 and i managed to delete the mmwave off my phone. Using the QPST, i was able to get into the modem but the file nr_nsa_band_pref file is not present. is it possible for me to copy someone else with either a fold 2 or note 20 ultra 5g?
the nr_nsa_band_pref is just a preference list, it wont add bands sadly

Categories

Resources