requesting gps.conf file for better gps fix - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

Seeting that K20 Pro is the phone that sees the most satellite with dual frequency lock, I wanted to take a look at it.
Can anyone upload gps.conf file that should be located in /vendor/etc folder?
It would be good if I can get one from CN and Global rom each. If it is hassle to upload the file, you can just copy and paste its value here as well.

Related

Replace wavedev.dll

Hello,
As everybody already knows there are some serous problems with Qtek9090 device type models and carkits. A nice echo is produced when somebody is calling. I have a wavedev.dll file that should resolve this issue but I can't replace it on my Qtek9090 because it's a system file. How can I force this replacement?
Thanxz for any response, I bought this complete set and i'm thinking about it to return it. Operator T-Mobile, rom1.40, radio 1.20.
Peterpanman.
rename existing wavedev.dll to wavedev.bak, copy the new file and reboot.
Just curious but is it definitely Radio 1.20 or 1.12 as 1.13 is the latest I know of....
wavdev.dll
hello mamaich,
of course i can not rename the file because it is a system file, in use, attributes can not be removed. anybody has another idea?
peter
(sorry for the type mismatch radio 1.12)
Re: wavdev.dll
1. All files in ROM can be freely overwritten even if they are loaded by applications. But they of cause cannot be renamed.
2. Files in object store that are opened cannot be overwriten. So if you cannot do that - than this file is contained in object store and was already updated, probably by some CAB from extended ROM.
3. WM2003 allowed opened files from object store to be renamed. According to your post you have 2003SE.
If you cannot rename this file - the file may be in ROM, so you can freely overwrite it with explorer.
If you cannot overwrite it - you still can rename it. In this case after renaming there would 2 copies of file. One with the new name, and the old wavedev.dll would reappear (the ROM version would be visible again).
In some rare cases some program may completely prohibit access to the file, but i've never seen that for DLLs. Unless you are using some PocketPC antivirus (a completely silly idea by the way). In this case uninstall antivir and do a soft reset.
WM2005 does not allow user to overwrite ROM files, but they can be still overwritten by OS itself, for example by creating a custom CAB file. I do this in my WM5 patches.
Not working
Hello mamaich,
Thanks for the complete answer but unfortunally none of these options work. Renaming the file does not create a new copy of the renamed file. I can't even copy the file, it says \\Windows\wavedev.dll access denied. Maby you can tell me how to create a .cab file so that this file is copied and overwritten? something with .net or something?
Thanxz,
Peter
Re: Not working
Peterpanman said:
Hello mamaich,
Thanks for the complete answer but unfortunally none of these options work. Renaming the file does not create a new copy of the renamed file. I can't even copy the file, it says \\Windows\wavedev.dll access denied. Maby you can tell me how to create a .cab file so that this file is copied and overwritten? something with .net or something?
Thanxz,
Peter
Click to expand...
Click to collapse
You can use WinCe Cab Manager

Optional File Explorer????

Does anyone remember way back there was a rom released that had a custom file explorer. It was just an exe file and it allowed you to delete things that the standard and resco file explorer wouldn't allow you to do....I know it was included in one of the WM5 roms and the single file was posted for download. I lost my HDD on my cpu and have been trying to locate what I remember. I cannot find this file. I know that if you copied it to the windows directory it would completely replace the built in file explorer.....
Anyone know where to find this???? I have searched but can't seem to locate it....
This File Explorer.exe allowed you to delet things from the rom...I thought it was part of a Dr. Putt rom a year ago or so....

[MODULE] Boot Animation Installer

This is a simple module to replace your device's boot animation systemlessly.
Supports any device (probably)
Supports any boot animation (for your device)
Use with Magisk 20.3 or newer
Usage:
Place any boot animation.zip file on root of internal storage
( sdcard/ or storage/emulated/0/ )
Default install location is /system/media
(Most devices use this location)
If your device doesn't place boot animations there, you can create a txt file on the root of internal storage (This file is automatically generated after running the script once) to specify a different install location. It needs to be labeled
Code:
install-location.txt
Contents of it should be the location directory for your device
Example
Code:
/system/media
Or
Code:
/carrier/media
Thanks to @topjohnwu for Magisk
Thanks @Zackptg5 for MMT-Extended and debugging
Tested on OnePlus 7T - Android 10 - Magisk 20.3
Future plans are to add this module to the Magisk Official Repo, but for now downloads are attached here.
Also planned support for more than just bootanimation.zip such as Samsung phones
Script Error
During the installation, the script says "Install-location.txt not round!" In which folder should I place the install-location.txt file ?
LavaboSatanique said:
During the installation, the script says "Install-location.txt not round!" In which folder should I place the install-location.txt file ?
Click to expand...
Click to collapse
( sdcard/ or storage/emulated/0/ )
LavaboSatanique said:
During the installation, the script says "Install-location.txt not round!" In which folder should I place the install-location.txt file ?
Click to expand...
Click to collapse
After installing the first time, if it doesn't find it, it will make one that you can edit. Or you can place it in the root of your internal storage. Usually /sdcard
Thanks! Was going nuts trying to find something that worked for my Oneplus 7T Pro Mclaren.
Will it work with MSM Xtended ROM for oneplus 7T?
vikram. vikie said:
Will it work with MSM Xtended ROM for oneplus 7T?
Click to expand...
Click to collapse
Yes if you set the location to system/product/media
Cm4nXD said:
Yes if you set the location to system/product/media
Click to expand...
Click to collapse
Tried but no luck.
Working fine on Mi 9T. Thanks!
cant seem to get this to work on my pixel 3 running the last Dirty Unicorns.
Got this working. Thanks.
Neither working for me. Only longens the boot. My Device is an FP3 on Andoid 10 and location /system/product/media. Just to give you an short feedback.
I had to unzip the replacer zip file and edit the customize.sh file. Also put everything including your new bootanimation in root of internal storage.
You need to modify these lines:
# Construct your own list here
REPLACE="
$LOCATION/bootanimation.zip
to something like this :
# Construct your own list here
REPLACE="system/media/bootanimation.zip"
after REPLACE= this is the location of your original bootanimation.zip which us usually in system/media but may also be in locations like prism/media/carriers/single/ATT/media/
on newer Samsung phones. The ATT would be replaced with whatever network name your phone is on like VZ, TMOB etc or whatever you find in that folder if your aren't on ATT.
droidzer1 said:
I had to unzip the replacer zip file and edit the customize.sh file. Also put everything including your new bootanimation in root of internal storage.
You need to modify these lines:
# Construct your own list here
REPLACE="
$LOCATION/bootanimation.zip
to something like this :
# Construct your own list here
REPLACE="system/media/bootanimation.zip"
after REPLACE= this is the location of your original bootanimation.zip which us usually in system/media but may also be in locations like prism/media/carriers/single/ATT/media/
on newer Samsung phones. The ATT would be replaced with whatever network name your phone is on like VZ, TMOB etc or whatever you find in that folder if your aren't on ATT.
Click to expand...
Click to collapse
The $LOCATION variable is read from the install location txt file.
I have a rooted OP8T running DerpFest... I got this to work making the following 2 changes:
1. If you edit "customize.sh" file, there is no need for the "install-location.txt" file...
- here is what mine looks like (notice I left all lines in place)
Code:
# Construct your own list here
REPLACE="
system/product/media/bootanimation.zip
"
2. If you unzip the file, you'll see a "system" folder... I basically created the same folder structure from above and then added the "bootanimation.zip" file I want to use. For example, the files and folders within "system" should match ur phones directories. This idea came from a similar Mod I used on the same phone, but with the stock OS.
So once everything was in place, I zipped that along with the edited "customize.sh" file into a new "bootanimationreplacer" file.
If anyone has an OP8T, my modified version should work for you... I also created my own boot animation if you wanna check it out.

[Request help] Making flashable zip to add carrier mbn files

I have a Pixel 5.
The stock rom does not have South Korean carrier mbn files.
I managed to source the files from the Internet.
I tried to copy paste it into
/system/vendor/rfs/msm/mpss/readonly/vendor/mbn/mcfg_sw/generic/Pixel
but it doesn't work (I can't change folder properties to write).
I tried using the volte_switch.zip from this guide
Module to enable 5G/VoLTE/VoWIFI on Pixel4a 5G/Pixel5
Update (9 Oct 2022): Upload module here. Update (7 Apr 2021): If you are looking for the manual way to add 5G support besides the magisk module way or the module does not work for you. Please refer to #54 for the detailed steps. Thanks again to...
forum.xda-developers.com
and modified the files to add the mbn files of my choice but flashing the zip deletes all folders under generic/Pixel/ except my country's folder.
Removing the "module" from magisk manager and rebooting brings everything back.
Is it possible to make a flashable zip to add the mbn files?
Or does it require repacking the radio.img?
Or does the volte_switch.zip install the mbn files systemlessly?
If you post your Magisk module it might be easier to say why it doesn't work.
But if the Pixel directory is emptied out it sounds like you have a replace file in there causing issues. Just guessing though...
Didgeridoohan said:
If you post your Magisk module it might be easier to say why it doesn't work.
But if the Pixel directory is emptied out it sounds like you have a replace file in there causing issues. Just guessing though...
Click to expand...
Click to collapse
Thanks for the suggestion. I've uploaded the flash zip file as well. When I went through the install script, I did notice the "replace" code in there. How should I change it to?
Ok after much googling, I figured out.
I added in all my original mbn folders as well and then typed in:
REPLACE="
/system/vendor/rfs/msm/mpss/readonly/vendor/mbn/mcfg_sw/
"
into customize.sh
This Replaced the folder with all the original and new mbn files.
Ok, I thought it worked but it's not actually working.
The new mbn files seems to be there but when I force a mbn reload by changing sim cards, it still loads the "original" files as if the new files aren't actually there.
For countries/carriers that's not listed in google's official supported list, the phone uses a 'generic' carrier mbn which is located in the generic/pixel/common/wildcard/pixel_wildcard/mcfg_sw.mbn.
This wildcard mbn is the generic carrier file that has 5G disabled by default. So in theory, all I need to do is replace the wildcard mbn with a different carrier's mbn which has 5G enabled by default. Then create magisk module and flash it to have it replaced.
My module appears to replace the files but the new files don't actually get loaded. When I change sim cards to force a reloading of mbn file, It still loads the old files.
What can I do to fix this? Any help is appreciated. Thanks.
Attached is my module.
Calling @Didgeridoohan good sir, if you could kindly provide me with knowledge about the post above, if possible. Thanks.
swangjang said:
Calling @Didgeridoohan good sir, if you could kindly provide me with knowledge about the post above, if possible. Thanks.
Click to expand...
Click to collapse
Busy life...
In theory you shouldn't at all need to do that replace function and add back all the stock files with the module. Magisk should take care of mounting or replacing only the files you need, so anything else is just redundant... But if it works, sure.
But it seems like it doesn't.
If you can verify with a file explorer that the files have been replaced with the ones from your module and the values still are taken from the original files that very likely means that there's more to it than just replacing those files.
You could provide the module install log and the Magisk log (Canary release so that it's actually useful) to see if there's anything wrong there.

Question How to put files at vendor/firmware

At MIUI 12.5 i can delete files from vendor directory, then there appear free space, after that i can put my wifi cfg file here.
At MIUI 13 when i delete some file from vendor directory, it removed, but free space wont appear. I have 0/1.4 gb free space at vendor directory.
I just need help with putting my file to vendor/firmware directory at any way.
chances are that even if you get it replaced, it won't boot because the miui 13 kernel doesn't allow other modifications or something?
I dont know, but if i delete files - they disappear with no way to back them

Categories

Resources