Samsung Galaxy SII - Bugs in the latest rom (2.8.17)


Misiak

Members
Aug 6, 2012
163
28
Hi guys, most problems we face this time for s2/s3 are related to bug in Phone.apk application. One of the java method getSpn() is missing (it's implementation) in MiuiSpnOverrideImpl class. This makes FC when accessing networks operators and other stuff. I could fix it (I'm java developer) but unfortunately don't have time to prepare dev environment and all the stuff and I believe for guys from MIUI it is matter of minutes with attached logcat - so please, dear developers have a look on it and fix it once for all :) Thx! Here's the logcat:

I/dalvikvm(12470): Could not find method com.android.internal.telephony.gsm.SpnO
verride.getSpn, referenced from method com.android.internal.telephony.gsm.MiuiSp
nOverrideImpl.getSpn
W/dalvikvm(12470): VFY: unable to resolve virtual method 52338: Lcom/android/int
ernal/telephony/gsm/SpnOverride;.getSpn (Ljava/lang/String;)Ljava/lang/String;
D/dalvikvm(12470): VFY: replacing opcode 0x6f at 0x001f
D/AndroidRuntime(12470): Shutting down VM
W/dalvikvm(12470): threadid=1: thread exiting with uncaught exception (group=0x4
0c551f8)
E/AndroidRuntime(12470): FATAL EXCEPTION: main
E/AndroidRuntime(12470): java.lang.NoSuchMethodError: com.android.internal.telep
hony.gsm.SpnOverride.getSpn
E/AndroidRuntime(12470): at com.android.internal.telephony.gsm.MiuiSpnOve
rrideImpl.getSpn(MiuiSpnOverride.java:92)
E/AndroidRuntime(12470): at com.android.internal.telephony.gsm.MiuiSpnOve
rride.getSpn(MiuiSpnOverride.java:30)
E/AndroidRuntime(12470): at com.android.phone.MiuiNetworkSetting.getNetwo
rkSpn(MiuiNetworkSetting.java:90)
E/AndroidRuntime(12470): at com.android.phone.MiuiNetworkSetting.getNetwo
rkOperatorName(MiuiNetworkSetting.java:94)
E/AndroidRuntime(12470): at com.android.phone.MiuiNetworkSetting.getAutoS
electionSummary(MiuiNetworkSetting.java:106)
E/AndroidRuntime(12470): at com.android.phone.MiuiNetworkSetting.onCreate
(MiuiNetworkSetting.java:59)
E/AndroidRuntime(12470): at android.app.Activity.performCreate(Activity.j
ava:4465)
E/AndroidRuntime(12470): at android.app.Instrumentation.callActivityOnCre
ate(Instrumentation.java:1052)
E/AndroidRuntime(12470): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:1932)
E/AndroidRuntime(12470): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:1993)
E/AndroidRuntime(12470): at android.app.ActivityThread.access$600(Activit
yThread.java:127)
E/AndroidRuntime(12470): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1159)
E/AndroidRuntime(12470): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime(12470): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(12470): at android.app.ActivityThread.main(ActivityThrea
d.java:4507)
E/AndroidRuntime(12470): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime(12470): at java.lang.reflect.Method.invoke(Method.java:5
11)
E/AndroidRuntime(12470): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:790)
E/AndroidRuntime(12470): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:557)
E/AndroidRuntime(12470): at dalvik.system.NativeStart.main(Native Method)
 
  • Like
Reactions: Erol

Ahmad Muttaqin

Members
Jul 18, 2012
1
11
hello guys....thank you for uploading good ROMS...Please keep up the good work...so far i just have two bugs(that i noticed)...
1. On MIUI file explorer,the function "cut and paste" seems not working....is it just me or anyone else experiencing the same issue?
2. I know this question has been asked before,but is there any way to turn off vibration for a new incoming SMS during calls?kinda scares me off sometimes....suddenly vibrating during in the middle of the call...and the person on the other can hear a beep too...can we somehow "off" this?

thank you for your responses....=)
 

aordie

Members
Aug 11, 2012
25
11
I tried clearing my caches again and reinstalled the build, but my phone continues to cycle through reboots. Can't make a phone call, etc.

So, what are my options?

I am looking into how to do a clean install. Is there a known stable good build that I can use instead of this one?
 

aordie

Members
Aug 11, 2012
25
11
I tried clearing my caches again and reinstalled the build, but my phone continues to cycle through reboots. Can't make a phone call, etc.

So, what are my options?

I am looking into how to do a clean install. Is there a known stable good build that I can use instead of this one?

Can I install an older ROM without doing a clean install?
 

stranzer

Members
Jul 19, 2012
38
18
is weather widget installed in 2.8.10 for s2 and if possible can you add this feature to your list....frequently dialed contacts that we used to get in our stock rom
 

stranzer

Members
Jul 19, 2012
38
18
network operator isn't fixed..is anyone having the same probs..i did turn off the automatic network selection and after that its searching for networks and force closes...
 

Attachments

  • Screenshot_2012-08-18-15-32-38.png
    Screenshot_2012-08-18-15-32-38.png
    26.9 KB · Views: 202

Misiak

Members
Aug 6, 2012
163
28
What operator do you have and what country? It is possible that your operator code is missing in the list of available providers all over the world. In this case you may get FC. This can happen also if you live near the borders and another operators are in range. Also first release did not have this bug fixed but then they've relased a fixed version.
 

stranzer

Members
Jul 19, 2012
38
18
INDIA, network operator is AIRTEL ....i was just testing it...about the release i just downloaded like 1 hr ago i think thats the fixed version i have downloaded....i jumped directly from 2.8.3 to 2.8.17...so how do i know if its working...and how should i turn ON the network automatic selection
 

ToMmY_hun

Members
Mar 16, 2012
30
28
network operator isn't fixed..is anyone having the same probs..i did turn off the automatic network selection and after that its searching for networks and force closes...
It's working on my phone. Have you made a clean install?

BTW: first post has been updated. :)
 

Misiak

Members
Aug 6, 2012
163
28
INDIA, network operator is AIRTEL ....i was just testing it...about the release i just downloaded like 1 hr ago i think thats the fixed version i have downloaded....i jumped directly from 2.8.3 to 2.8.17...so how do i know if its working...and how should i turn ON the network automatic selection
Can you try to open About Phone --> Status and check if it works... If yes, most probably you have good version. I've checked and there aremany Airtel operators from many countries so I would need to know a code of your operator. Then I can chech if it is in the list. But the problem could be also that one of the operator which are in your range is missing. Then you get FC too. So to be able fix the issue I would need to know all operators who are in your range and their network codes.
 

stranzer

Members
Jul 19, 2012
38
18
MCC--Mobile Country Code MNC--Mobile Network Code

MCC MNC Brand Operator Satus Bands(MHz)
404 49 Airtel Andhra Pradesh Operational GSM 900

mine is this one hope this is correct and here is the list i found in wikipedia http://en.wikipedia.org/wiki/Mobile_Network_Code
MCC MNC Brand Operator Satus Bands(MHz)
404 07 IDEA Andhra Pradesh Operational GSM 900
404 13 Vodafone IN Andhra Pradesh Operational GSM 1800
404 73 CellOne Andhra Pradesh Operational GSM 900
405 01 Reliance Andhra Pradesh Operational GSM 1800
405 801 AIRCEL Andhra Pradesh Operational GSM 1800
405 819 Uninor Andhra Pradesh Operational GSM
 

MarkHUK

Founder/Server Admin xiaomi.eu
Staff member
Nov 6, 2010
5,241
1,000,000
if users open the miui stats app they can get the carrier code and id from the app and post it here and then we can start to build in any missing or removing old carriers.

Overall the feedback from the network fix seems to have been solid. We will continue to work with users to get this solved once and for all.
 

iBotPeaches

Script Gatekeeper
Oct 31, 2011
3,808
335
On top of Mark. Please use MIUIStats. Every 2 weeks or so. I will update the carrier list using the list from MIUIStats. So if you have an FC. Use MIUIStats and send us your information. (Device name, carrier name, carrier id, etc). Its nothing personal and will help to make the ROM more stable.
 

stranzer

Members
Jul 19, 2012
38
18
where can i find carrier ID in MIUI status....is there any probs with INDIA only or any other country for the network code...
 

iBotPeaches

Script Gatekeeper
Oct 31, 2011
3,808
335
where can i find carrier ID in MIUI status....is there any probs with INDIA only or any other country for the network code...

Its not displayed for the user :(
If you've checked the box to submit us the information though. Its all good. I will update the list on Wednesday prior to next week's release.
 

stranzer

Members
Jul 19, 2012
38
18
Its not displayed for the user :(
If you've checked the box to submit us the information though. Its all good. I will update the list on Wednesday prior to next week's release.

can you tell me where to check it...to submit information to u guys, so that you guys can update it...
 

fusionjack

Members
Apr 18, 2012
537
80
Confirmed that network operator is working. But the name of my germany provider is listed with a strange name: Tchibo (Unitymedia). I expect to see O2. Both Tchibo and Unitymedia are using O2 network and I'm using Unitymedia. It is fine for me, just wanna let you know.

Sent from my GT-I9100 using Tapatalk 2
 

fusionjack

Members
Apr 18, 2012
537
80
I notice that by enabling network based location there was no pop up whether we agree to share our location or not. I thought the NetworkLocation.apk is broken, but it did work.

Sent from my GT-I9100 using Tapatalk 2
 

Misiak

Members
Aug 6, 2012
163
28
MCC--Mobile Country Code MNC--Mobile Network Code

MCC MNC Brand Operator Satus Bands(MHz)
404 49 Airtel Andhra Pradesh Operational GSM 900

mine is this one hope this is correct and here is the list i found in wikipedia http://en.wikipedia.org/wiki/Mobile_Network_Code
MCC MNC Brand Operator Satus Bands(MHz)
404 07 IDEA Andhra Pradesh Operational GSM 900
404 13 Vodafone IN Andhra Pradesh Operational GSM 1800
404 73 CellOne Andhra Pradesh Operational GSM 900
405 01 Reliance Andhra Pradesh Operational GSM 1800
405 801 AIRCEL Andhra Pradesh Operational GSM 1800
405 819 Uninor Andhra Pradesh Operational GSM
Ok, this netrwork is missing in the list of recoginized network operators in miui rom:

405 819 Uninor Andhra Pradesh Operational GSM

Therefore you get FC. If the guys from miui add this to the list, it will work for you... Until then, you need to use automatic search. I would do it, but I had problems with recompilation of framework-miui-res.apk where the strings are placed.

Best, Michal
 

Misiak

Members
Aug 6, 2012
163
28
Confirmed that network operator is working. But the name of my germany provider is listed with a strange name: Tchibo (Unitymedia). I expect to see O2. Both Tchibo and Unitymedia are using O2 network and I'm using Unitymedia. It is fine for me, just wanna let you know.

Sent from my GT-I9100 using Tapatalk 2
Seems there are bad network names assigned to network operators codes :) I thing guys just simply extracted operators names and codes from some site where errors could be present.
 

Rickard Olsson

Members
Apr 27, 2012
11
11
Experience a bug with this update.
The doesn't wakes up and blinkes "charged", with the green circle.
It is still locked and unplugged but screen wakes up and blinking constantly.
Drains battery this way.