Modem-related code in Mediatek framework? - Android Q&A, Help & Troubleshooting

Hello, friends
I'm still trying to port Lewa OS v6 kitkat from Coolpad F2 8675 (mtk6592 with lte+td-scdma modem) to my Thl 4400 (mtk6582 with wcdma modem only). For the last months we have some progress in this, but the trouble with modem is not completely solved for now. It works only in 2G networks both on sim1&sim2. :crying:
What we have done:
1. Putting all mount*.smali in services.jar from stok rom. This step fixes modem death after first reboot (coolpad has different partition structure).
2. Using all libs, binaries, modem firmware and mddb from stok rom (it really differ, there's 2-3 modem files in firmware and 2 files in mddb instead of only one in stok).
This steps makes cellular network partially working. But 3G is completely unworkable. If we insert sim of 3G-only provider (i.e. there's no 2G network), it search for network, register for about 3-5sec (we see it on signal level) and falls. If we insert sim with 2G support to 1st slot it can register in 2G network.
I think that we need to fix some modem-related code in mediatek frameworks. Where we should look for modem-related smali files?
I would be grateful for any help. Thank you.

Related

[Q] Help restoring Alcatel pop c1 4015x lost 3G

Hi, I flushed this phone with a pop c1 kit Kat custom Rom and I lost 3g H H+ and in desperation to restore then.... I messed further and the phone died! I looked for some files and flashed
-bootimg
-Secroimg
-EBR1
-EBR2
-MBR
-Logo bin
- U boot
With SP FLASH TOOLS and formatted completely while at it.
Then flashed an XPERIA ROM (the only Rom fitting this single SIM 4015x.... The rest are dual SIM which adds to the trouble) Now the phone is back up and running smoothly EXCEPT 3g.
I've been trying various modem images but no luck.
Mobile uncle engineer mode shows I'm not on 2100mhZ which is the only 3G band in my country (Kenya, Safaricom)
How can I activate 2100mhz band selection back????
I've heard people mention nvram editing..... What's up with that?
Or can anybody share their 4015x stock Modem if it supports 2100mHz/850mhz bands
Or does anybody know where I can get actual stock Rom for this phone???
Any Assistance will be Highly Appreciated!!
Thanks in advance
modem
ill try and post mine from my system back up
and see if that helps
modem
hear is my modem file from lib
had to zip as cant upload ini files
hope it helps if it dose tell us how cheers

[Q] No 3g after several changes of rom with Odin

Hello, I changed my rom several times with Odin, and now I can't get 3G signal, just "G", not even an Edge "E".. I tried a lot of roms after that, roms from sammobile for my mobile operator, any tips to solve that?
Thanks!
#Edit
For some reason, after I installed a deodex room (gt-s5830c_zta_vjlb3-deodex_rb) my 3G started to work again.. but if I just change the PDA, it stop.. Wasn't supposed to PHONE be the file which make the 3G work or not? This VJLB3 is an old version of my operator, when I got the newest version the 3G did not work.. fml
Isnaiter said:
Hello, I changed my rom several times with Odin, and now I can't get 3G signal, just "G", not even an Edge "E".. I tried a lot of roms after that, roms from sammobile for my mobile operator, any tips to solve that?
Thanks!
#Edit
For some reason, after I installed a deodex room (gt-s5830c_zta_vjlb3-deodex_rb) my 3G started to work again.. but if I just change the PDA, it stop.. Wasn't supposed to PHONE be the file which make the 3G work or not? This VJLB3 is an old version of my operator, when I got the newest version the 3G did not work.. fml
Click to expand...
Click to collapse
Are you absolutely positive that your 3g was not related to service operator when you were on the stock firmware in question ? Have you tried your SIM card on other phones to confirm the functionality of 3g network ?
Did you check you APN settings :
Dial "*#*#4636#*#*" > Phone Information >Set preferred network type > WCDMA preferred Does it set correctly ?IF not then choose wcdma; press turn off radio then press turn on radio; press home button(not back button). You will get 3g. If not then reboot.
Have you lost your IMEI ? what you see when you dial "*#06#" was it gone on your last non - deodex fw ? what is your phone variation ?
what was your last CSC/PDA/MODEM part , which does support your base band/3g and other things , before you lost it ?
Your country / Region and carrier you are staying too please ,, we might need to flash the only Modem part over Odin to resolve this issue according to instruction i will provide . However you need to be more specific by providing more details such as name of possible custom Roms you did flash. stock CSC/PDA/MODEM details you did try and other minor details will become valuable in this troubleshooting .
ehsanotaku said:
Are you absolutely positive that your 3g was not related to service operator when you were on the stock firmware in question ? Have you tried your SIM card on other phones to confirm the functionality of 3g network ?
Did you check you APN settings :
Dial "*#*#4636#*#*" > Phone Information >Set preferred network type > WCDMA preferred Does it set correctly ?IF not then choose wcdma; press turn off radio then press turn on radio; press home button(not back button). You will get 3g. If not then reboot.
Have you lost your IMEI ? what you see when you dial "*#06#" was it gone on your last non - deodex fw ? what is your phone variation ?
what was your last CSC/PDA/MODEM part , which does support your base band/3g and other things , before you lost it ?
Your country / Region and carrier you are staying too please ,, we might need to flash the only Modem part over Odin to resolve this issue according to instruction i will provide . However you need to be more specific by providing more details such as name of possible custom Roms you did flash. stock CSC/PDA/MODEM details you did try and other minor details will become valuable in this troubleshooting .
Click to expand...
Click to collapse
Hello, thanks for the answer, the same SIM card worked on with 3g with the deodex rom, and wasn't working before it. I got no 3g with one rom, changed it to deodex and got 3g, changed again and lost, all of this in a few minutes, so wasn't problem with the operator or SIM. I didn't check the APN, I just downloaded an app from my country to try to set it. I don't know if I did lost my IMEI, I have it wrote in the back of phone, but didn't check if is the same after all that changes (and if is possible to change it), I changed the rom a LOT of times, first times with CWM and after with Odin, with the I variation, C and M (trying to go back to original stock). I think the original firmware was an old version of M variation (S5830MUWHKL4 maybe), my country is Brazil and the operator of the SIM card is Claro, the last stock from sammobile I tried was the last one from Claro, tried with and without CSC after splitfus2 it.
Isnaiter said:
Hello, thanks for the answer, the same SIM card worked on with 3g with the deodex rom, and wasn't working before it. I got no 3g with one rom, changed it to deodex and got 3g, changed again and lost, all of this in a few minutes, so wasn't problem with the operator or SIM. I didn't check the APN, I just downloaded an app from my country to try to set it. I don't know if I did lost my IMEI, I have it wrote in the back of phone, but didn't check if is the same after all that changes (and if is possible to change it), I changed the rom a LOT of times, first times with CWM and after with Odin, with the I variation, C and M (trying to go back to original stock). I think the original firmware was an old version of M variation (S5830MUWHKL4 maybe), my country is Brazil and the operator of the SIM card is Claro, the last stock from sammobile I tried was the last one from Claro, tried with and without CSC after splitfus2 it.
Click to expand...
Click to collapse
I really don't understand how Deodex Rom has anything to do with your 3g/IMEI/APN settings. Because Deodexing is basically repackaging of your APKs in a certain way, such that they are reassembled into classes.dex files.
By doing that, all pieces of an application package are put together back in one place, thus eliminating the worry of a modified APK conflicting with some separate odexed parts.
custom ROMs or APKs are always deodexed to ensure integrity.
Ok so you are from Brazil (Claro) and on C variation of the device, thus splitfus2 and wipe package troubleshooting is not supported for C variation . (Splitfus2 only generates the normal extraction of CSC/MODEM/PDA parts from your single xxx.tar.md5 file, noting more in this case ). Use this pre- configured app for normal parts generation instead with ease .
This is the list of the correct xxx.tar.md5 for your device and you have tried the last update for your carrier from this page ( PDA : S5830CVJMA1/CSC: S5830CZTAMA1 )according to you , right ? and you lost your 3g support ?
I got couple of suggestion for your 3g :
1- Use 2012 tested Brazilian Multi Package Firmware from this page ( PDA: VJLF3/CSC: ZTOLF1/VJLF2) .
2. Check you got the correct Odin and drivers installed on your system ( Odin3.v3.07.Cooperve.exe ; Drivers post ) .
3- Get into Download mode ( pressing Vol(+) + Vol(-) + Power Keys) :
- -press volume up
-Open Odin3.v3.07.Cooperve.exe
-Connect your phone to PC via USB cable.
-Make sure that your phone is detected in "ID:COM" area.
- Put your CSC/MODEM/PDA parts into their respective places . Do not use pit file and Do not tick re-partition though . Factory reset and reboot selected by default >> push the START !
- DO NOT disconnected nor disturb the flashing Nand process , until the process being terminated.
Get into e3 stock recovery and wipe your /data .
Now in your brand new FW :
Dial "*#*#4636#*#*" > Phone Information >Set preferred network type > WCDMA preferred /only and confirmed my instruction in first post has met with your APN settings.
Dial *#06# as instructed in first post ( IMEI box with your 15 diigit number must appear )
CSC is your consumer software customization and it is specified to geographical region and carriers. CSC contains the contains the software packages specific to that region, carrier branding and also APN settings for data connection .
WE can easily change the settings inside our Multi - package we flashed for carrier compatibility etc etc :
Code:
Just type *#272*Device IMEI# at Phone dial pad. For IMEI type *#06#.
Select the CSC that you want.
Click Install.
Phone will be rebooted by itself.
Note –Changing this will factory reset your phone. Do backup before perform this task.
Note – CSC can sometime be corrupt. It may lead to infinite loop. Reason unknown.
report your progress please for future reference ,, Thank you for reading this mate ,,,,,,,,,,,
ehsanotaku said:
I really don't understand how Deodex Rom has anything to do with your 3g/IMEI/APN settings. Because Deodexing is basically repackaging of your APKs in a certain way, such that they are reassembled into classes.dex files.
By doing that, all pieces of an application package are put together back in one place, thus eliminating the worry of a modified APK conflicting with some separate odexed parts.
custom ROMs or APKs are always deodexed to ensure integrity.
Ok so you are from Brazil (Claro) and on C variation of the device, thus splitfus2 and wipe package troubleshooting is not supported for C variation . (Splitfus2 only generates the normal extraction of CSC/MODEM/PDA parts from your single xxx.tar.md5 file, noting more in this case ). Use this pre- configured app for normal parts generation instead with ease .
This is the list of the correct xxx.tar.md5 for your device and you have tried the last update for your carrier from this page ( PDA : S5830CVJMA1/CSC: S5830CZTAMA1 )according to you , right ? and you lost your 3g support ?
I got couple of suggestion for your 3g :
1- Use 2012 tested Brazilian Multi Package Firmware from this page ( PDA: VJLF3/CSC: ZTOLF1/VJLF2) .
2. Check you got the correct Odin and drivers installed on your system ( Odin3.v3.07.Cooperve.exe ; Drivers post ) .
3- Get into Download mode ( pressing Vol(+) + Vol(-) + Power Keys) :
- -press volume up
-Open Odin3.v3.07.Cooperve.exe
-Connect your phone to PC via USB cable.
-Make sure that your phone is detected in "ID:COM" area.
- Put your CSC/MODEM/PDA parts into their respective places . Do not use pit file and Do not tick re-partition though . Factory reset and reboot selected by default >> push the START !
- DO NOT disconnected nor disturb the flashing Nand process , until the process being terminated.
Get into e3 stock recovery and wipe your /data .
Now in your brand new FW :
Dial "*#*#4636#*#*" > Phone Information >Set preferred network type > WCDMA preferred /only and confirmed my instruction in first post has met with your APN settings.
Dial *#06# as instructed in first post ( IMEI box with your 15 diigit number must appear )
CSC is your consumer software customization and it is specified to geographical region and carriers. CSC contains the contains the software packages specific to that region, carrier branding and also APN settings for data connection .
WE can easily change the settings inside our Multi - package we flashed for carrier compatibility etc etc :
Code:
Just type *#272*Device IMEI# at Phone dial pad. For IMEI type *#06#.
Select the CSC that you want.
Click Install.
Phone will be rebooted by itself.
Note –Changing this will factory reset your phone. Do backup before perform this task.
Note – CSC can sometime be corrupt. It may lead to infinite loop. Reason unknown.
report your progress please for future reference ,, Thank you for reading this mate ,,,,,,,,,,,
Click to expand...
Click to collapse
Me too, I don't know why the heck just the deodex rom got 3g signal, I flashed the same PDA version, but no deodex, and there was no 3g..
Originally my Ace is an M variation, I bought it unlocked on the internet and came a 5830M, probably with S5830MUWHKL4 rom.
Yes, I got that rom from that page and used the splitfus2 on it. I'm waiting my dad get back from work (I'm trying to do the best fix on the phone so he can use it without problems) to start trying again to put the last rom with your instructions. Also, do I really need to flash CSC? This part comes with a lot of trash apps that is impossible to remove by normal ways, and I don't want to root the phone and use 3rd party programs do remove that things.
Thanks!
#Edit
Also, the PDA from deodex rom has 431mb and the PDA of nondeodex has 185mb (same version of rom), is it normal?
Isnaiter said:
Also, do I really need to flash CSC? This part comes with a lot of trash apps that is impossible to remove by normal ways, and I don't want to root the phone and use 3rd party programs do remove that things.
#Edit
Also, the PDA from deodex rom has 431mb and the PDA of nondeodex has 185mb (same version of rom), is it normal?
Click to expand...
Click to collapse
Yes you need your CSC as i have explained it in details ,,,and you have too get root privileges for any removal of your system apk's ( If you are under some sort of warranty , you can use UN-root script or galaxy toolbox to reset the counter to zero for avoiding detection i guess,after you have done playing around with phone ,, rooting and using either manual or script method is recommended for bloatware removals on Odex roms , third party apps like disable service and TB is also advised ). Or Deodexed your Rom and remove bloatwares , but you will loose ~70 MB of your precious internal storage ( link2sd or Universal Cronmod could fix the storage problems ) and PDA size you did mention is quite natural .
Still waiting for your final report mate ,,,,,,,

No Wifi - Cell service after trying new 5.0.2 Rom.

if I use a Rom for an incorrect model version, I lose Wifi and Cell service.
is there a way to repair the wifi and cell service on the new test rom?
if I return to my working backup stock rom, I do have working wifi and cell service.
I did backup my efs folder. I tried to manually copy and paste the files, I tried to restory only the EFS partition in TWRP from a working rom. none of those solve the issue.
is it possible to fix wifi - cell service on a rom with the wrong model number ?
for example, I use the Japanese softbank sm g925z model s6 edge phone.
the roms are from 925f or 920xx

gsm signal problems after flashing different firmwares

hey,
I have Lenovo P780 with 4GB ROW.
I have tried to install lot of different custom roms through different methods. I have lost the IMEIs, and I have installed MIUI via SP flash tooll . IMEIs also gone, but after that I have restored very old backup of nvram only (done via other version of twrp)
IMEIs gone back. Right. But from both cards first (SIM1) I have very strange problems as I live in big city.
The phone very long looking for GSM signal, after that It looses signal frequently. The second SIM (SIM2)has the signal very rarely.
When I am going through the city centre the signal on SIM2 was very poor, rather there wasnt any it.
On the first SIM I have porblems with normal calling, but is better than SIM2.
I have tried different radios, all via install via TWRP. That not helps.
I suppose that I have probelm with baseband, kernel or maybe IMSI ?
PLease help me, I havent any other phone which would be as best as that one.
Thanks in advance !
bump

[SOLVED] Accidentally changed the Radio Band to USA

So by a stupid mistake I have selected in *#*#4636#*#* the Radio Band to USA. The signal suddenly dropped and it stopped working at all, the nework does not connect except in 4G and only for data. Calls and text are not working, only 4G data works fine. This is on the sim1 though. On sim2 all is ok (except that with the X829 ROM, on sim2 I have no data, and on sim1 I have no calls )) ). I was on sim1 when I've changed the Radio Band, so I guess that only this one got affected since sim2 is working properly.
Is there any Radio Band files that I can restore? Or some app that can restore the settings of the modem?
Any help is highly appreciated.
PS: Reinstalling the ROM (clean or dirty) doesn't help. Factory resetting also doesn't help. I would downgrade to 014s but I'm afraid not to end up with a brick.
Change the rom
valy_cta said:
So by a stupid mistake I have selected in *#*#4636#*#* the Radio Band to USA. The signal suddenly dropped and it stopped working at all, the nework does not connect except in 4G and only for data. Calls and text are not working, only 4G data works fine. This is on the sim1 though. On sim2 all is ok (except that with the X829 ROM, on sim2 I have no data, and on sim1 I have no calls )) ). I was on sim1 when I've changed the Radio Band, so I guess that only this one got affected since sim2 is working properly.
Is there any Radio Band files that I can restore? Or some app that can restore the settings of the modem?
Any help is highly appreciated.
PS: Reinstalling the ROM (clean or dirty) doesn't help. Factory resetting also doesn't help. I would downgrade to 014s but I'm afraid not to end up with a brick.
Click to expand...
Click to collapse
If i were you. I would change the rom from china to indian rom. It would help you. The radio band of chinese rom and the indian rom is different. It would replace the radio band of chinese rom and if it doesn't work. Then return to the chinese rom
I'm 100% sure it would help you.
valy_cta said:
So by a stupid mistake I have selected in *#*#4636#*#* the Radio Band to USA. The signal suddenly dropped and it stopped working at all, the nework does not connect except in 4G and only for data. Calls and text are not working, only 4G data works fine. This is on the sim1 though. On sim2 all is ok (except that with the X829 ROM, on sim2 I have no data, and on sim1 I have no calls )) ). I was on sim1 when I've changed the Radio Band, so I guess that only this one got affected since sim2 is working properly.
Is there any Radio Band files that I can restore? Or some app that can restore the settings of the modem?
Any help is highly appreciated.
PS: Reinstalling the ROM (clean or dirty) doesn't help. Factory resetting also doesn't help. I would downgrade to 014s but I'm afraid not to end up with a brick.
Click to expand...
Click to collapse
I did the same thing by my mistake.And my le max 2 also became not able to connect internet. In my case, it can't connect both 4G and 3G .
But I fixed it. But I don't know that it get back to the original completely.
I'm japanese.And I'm sorry for that my English skil is very poor.
My current rom is Le2_X820-MAX_ROW-5.8.015S_V29_CUOCO92.
I used DFS CDMA TOOL and checked the items on the "Band Preferred" same as "RF BC Config".
1. download HTC Diag Driver. You have to customize .inf file later.
2. conect device to your windows pc and choose MTP and USB Debugging.
3. enter the follows command.
"adb shell"
"su"
"setprop sys.usb.config diag,adb"
When you enter this command, your device change over diag mode.
4. diag driver install.
You have to find hardwawer ID from device manager.
And replace the hardware ID in .inf file.
5. If you install diag driver correctly, you will be able to use DFS CDMA TOOL.
sorry, I can't explain any more..English is difficult...
I bought my phone from china and I'm in US, and it works perfect on stock with LTE enabled for AT&T by default. Might I ask why did you change it to US band and it stopped working? It would still work right?
Ootp said:
If i were you. I would change the rom from china to indian rom. It would help you. The radio band of chinese rom and the indian rom is different. It would replace the radio band of chinese rom and if it doesn't work. Then return to the chinese rom
I'm 100% sure it would help you.
Click to expand...
Click to collapse
Many thanks for the advice but it didn't help. I had installed the indian rom and then to the chinese without any change in the behavior of the modem. I'll try the chatmonchy's advice to see if there will be any improvement.
xterminater07 said:
I bought my phone from china and I'm in US, and it works perfect on stock with LTE enabled for AT&T by default. Might I ask why did you change it to US band and it stopped working? It would still work right?
Click to expand...
Click to collapse
Actually I'm in Europe and looks like we use slightly different bands (??). I get 4G data but without calls. To other networks like 2G and 3G it connects sometimes but it's for few seconds only. I even don't remember what made me change the bands to USA, I guess I was curios what settings those were. The options are "USA band" and "Band 6", neither one is working well for my device. And strangely though, there is no other option to go back like "Auto" or something. It seems that I'm not the only one that did it. After a google search, it turned out that a lot of people had the same issue. For some, the factory reset helped, for others was flashing via TWRP the radio bands again.
I had solved the issue and I will post a guide later on for those who want to unlock additional bands or did the same mistake as I did.
Thanks for the help guys.
valy_cta said:
I had solved the issue and I will post a guide later on for those who want to unlock additional bands or did the same mistake as I did.
Thanks for the help guys.
Click to expand...
Click to collapse
That's good!!
I'm looking forward to your guide about unlock additional bands.
thread: [SOLVED] Accidentally changed the Radio Band to USA
Hi, gyus
I had the same problem, i select USA band and everything went wrong,
The simplest way for me was:
installing "X820 LeMax2 RevolutioN_Team Resurrection Remix", no other from TeamSpain, only Resurrection Remix
http://revolutionlemax2.blogspot.al/
https://mega.nz/#!T9o0wAhJ!iLa9mrPAr...VkCg3_L-q2RgnA
then after installation, go in dialer and call *#*#4636#*#*.
There are three band: Automaic, USA, and EURO.
I select the EURO and everything i'ts OK.
BEFORE DO ACTIONS DON'T FORGET TO BACKUP ALL THE ROM WHERE YOU ARE WITH TWRP
readion said:
Hi, gyus
I had the same problem, i select USA band and everything went wrong,
The simplest way for me was:
installing "X820 LeMax2 RevolutioN_Team Resurrection Remix", no other from TeamSpain, only Resurrection Remix
http://revolutionlemax2.blogspot.al/
https://mega.nz/#!T9o0wAhJ!iLa9mrPAr...VkCg3_L-q2RgnA
then after installation, go in dialer and call *#*#4636#*#*.
There are three band: Automaic, USA, and EURO.
I select the EURO and everything i'ts OK.
BEFORE DO ACTIONS DON'T FORGET TO BACKUP ALL THE ROM WHERE YOU ARE WITH TWRP
Click to expand...
Click to collapse
Hi, how to install this ROM? Which TRWP I need? I install with official TWRP, but bootlop after instalation.
Try this link for recovery by GrossoShop Couco92
https://www.androidfilehost.com/?w=files&flid=57913
---------- Post added at 02:35 PM ---------- Previous post was at 02:33 PM ----------
karellang said:
Hi, how to install this ROM? Which TRWP I need? I install with official TWRP, but bootlop after instalation.
Click to expand...
Click to collapse
Try this link for recovery by GrossoShop Couco92
https://www.androidfilehost.com/?w=files&flid=57913
Does not help. If I go to servise menu (dial *#*#4636#*#*) , I see Radio turned OFF and I can´t change it. How to solve this ?
Did you post any guide how you solved the issue?
Unfortunately USA band selected
Hi,
I live in India. I bought Oppo F3 Plus (CPH1613) 4Gb Ram, 64GB Storage, Qualcomm MSM8976 Pro Snapdragon 653 a year ago and was working too much fine. I was wondering about Qualcomm mobile secret codes and found this *#*#4636#*#* . I dialed this and accidentally changed radio band to USA band and suddnly on instant my mobile didn't get any network signal. From then, I went for Oppo care, and mobile repairing shops and self tried and tested for lots of time; but everyone unable to bring phone to normal. I reset my mobile, flashed stock rom for countless times, wiped all data but nothing helped me out. Finally i rooted my oppo f3 plus and tried to boot in fastboot mode; but Oppo removed bootloader and fastboot mode from 2016 (as posted in XDA). I got a little link about resetting USA band to automate and is erasing modemst1 and modemst2. But again it have to be performed from fastboot.
Help me out for my mobile.
You can flash a modem file, it will reset it as well. Changing the ROM won't update the modem configuration. Try to search modem files and flash them via TWRP.

Categories

Resources