yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 1S] teddy0804:
Issue with two SIMs installed

ROM: CM12.1-R4

SIM-1: On [3G] - WCDMA preferred on phone information

SIM-2: On [2G] - not available on phone information

I think we need have one more phone information to hold the information in SIM-2. The bugs that found in R4 might related with this phone information. Last experiment showed some odd result in phone information with dial *#*#4636#*#*.

When we have two SIMs activated, the phone information will shows:

IMEI : XXXXXXXXXXXXXX01

Phone Number: SIM-1

Current network: Name of SIM-1/Brand-1 Operator

Network type: HSPA/HSPAP, Unknown

Preferred network type: WCDMA preferred

And when we have deactivated SIM-2, all information on SIM-1 has shows normal indicator

IMEI : XXXXXXXXXXXXXX01

Phone Number: SIM-1

Current network: Name of SIM-1/Brand-1 Operator

Network type: HSPA/HSPAP, Unknown

Preferred network type: WCDMA preferred

But when we deactivated SIM-1, part of SIM-1 information is used by SIM-2

IMEI : XXXXXXXXXXXXXX01

Phone Number: unknown

Current network: Name of SIM-2/Brand-2 Operator

Network type: Unknown, HSPA/HSPAP

Preferred network type: GSM only

it's weird that SIM-2 use the IMEI number which is for SIM-1 and displayed the wrong preffered network type as GSM only while the SIM-2 is being connected to 3G Network. The correct number of each IMEI should be same as showed by dial *#06#.

When all SIMs is activated with 3G is on SIM-1 and 2G is on SIM-2, the phone information just shows the all information of SIM-1. And the information of SIM-2 is don't know where is it. I think it will affected the run of ROM especially when two SIMs are installed. The bugs itself is like not showing the phone number of SIM-2 or wrong name of SIM-2 at setup wizard.

edited:

Or some APN that should belong to SIM-2 is displayed to SIM-1. Vice versa.

Q: why we need two phone information in *#*#4636#*#*?

A: I think it will stabilize the run of ROM and FYI, the stock MIUI 6 ROM has these setting with two phone information.

Last, I think this phone information related to android_device_xiaomi_armani that [MENTION=4869275]thewisenerd[/MENTION] has fixed the moving apps to external sdcard. Therefore, might you are interested about this setting to add in device development.

edited:

It might an upstream bug
[Xiaomi Redmi 1S] gkvidhu1979:
Don't know whether this is a bug! When the phone is under charging and once it is fully charged, the screen freezes completely and powers down automatically and any forced restart causes unresponsive screen! Flashing the ROM is the only way to get the phone to work again!
[Xiaomi Redmi 1S] cheeze.keyk:
I didn't encountered that kind of issue. did you perform clean install?
[Xiaomi Redmi 1S] phreakenstein:
So we can't put Bluetooth to non-discoverable in any cm12 release. Is that not a security hole as mentioned in q&a thread? I wonder if its an upstream change or something wrong with our particular ROM.
[Xiaomi Redmi 1S] viggyv:
i don't think its a security hole..cuz it says the device is visible when bt settings are open..which i think means its undiscoverable or hidden when you just activate it form notification drawer toggle and unless you go into its settings its undiscoverable....anyways ill test and check whats up..
[Xiaomi Redmi 1S] popdown:
I have observed that the battery drain with Android OS happens after charging.

If I reboot after battery drain happens, then no issue anymore until next charging. Can anyone confirm?
[Xiaomi Redmi 1S] dedycx:
bug, copy cursor is not in place
[Xiaomi Redmi 1S] neonkat:
It happens sometimes once you try to select something and suddenly the keyboard pops up...
[Xiaomi Redmi 1S] gkvidhu1979:
I think the issue is with the custom kernel I had installed with R4. Removed the kernel and let's see whether the issue repeats!
[Xiaomi Redmi 1S] dedycx:
yes, it seems because the keyboard that appears
[Xiaomi Redmi 1S] sinnerz2000:
Is anybody having camera app crash when video recording for over 5 mins?
[Xiaomi Redmi 1S] khairulez:
Yep..at my side video recording crash over 1 mins.

Tapatalked
[Xiaomi Redmi 1S] neonkat:
Along with that...the stop button is also not working...
[Xiaomi Redmi 1S] david_inuk:
Tested just now. Works fine recording over a minute. Could it be that you don't have internal space free?
[Xiaomi Redmi 1S] neonkat:
That happend at around 2:10 min....i have a lot of internal free...
[Xiaomi Redmi 1S] Gogeta:
Anybody noticed battery drain in R4? Or its just me?
[Xiaomi Redmi 1S] khairulez:
It just notice earlier..see post #546.
[Xiaomi Redmi 1S] adewisman:
[MENTION=4517918]jsevi83[/MENTION] I got a nasty random reboot 5 strike in a rows using the phone while on charging, manage to grab the logs on the last of the reboots, might you want to look into this https://copy.com/M1yJJB6MtiDbaOnf ,

I think its related to some new fancy swap, you guys implemented in R4, and the thermal control is very aggressive imo as the temp. Only shown 49 degrees celcius and the phone's kernel already throttled down to its minumum.

Please bring back the kernel we always use till now plain and simple, thats all we need. Thanks in advance.

stable rom is ahead keep focus guys :good

Edit :

posted this issue in bug report tab, please vote this bug if you encountered them, thanks in advance.
[Xiaomi Redmi 1S] sinnerz2000:
1 minute is fine, test till 5 minutes

---------- Post added at 01:17 AM ---------- Previous post was at 12:55 AM ----------

Aren't you on xcelerate kernel mate?
[Xiaomi Redmi 1S] gummie:
Actually opening the logs could help anyone to determine what kernel he uses.

[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpu
[COLOR="Red"][ 0.000000] Linux version 3.4.0-g02d9c90 (jsevi83@pc) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Sat Apr 25 12:15:51 CEST 2015[/COLOR]
[ 0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Qualcomm MSM 8226 (Flattened Device Tree), model: Qualcomm MSM 8226v2 QRD
[Xiaomi Redmi 1S] pavanpongle:
+1 yes i hava also faced same problem of camera crash while recording
[Xiaomi Redmi 1S] psm_bgm:
1. I have faced some occasional random reboots. 3 times in last two days. For once Superuser app was deleted and I lost the root. After such random reboot, system says "Change of SIM cards detected" but i haven't changed the sim cards.

2. I confirm problem with video. I was recording a video yesterday and the screen went completely blank at the end. I can share the video link if required.

3. I can see a star (*) in the status bar. What is this?

[IMG="Star in status bar"]https://dl.pushbulletusercontent.com/hAUOGBSoZ2QJ7YYSxHPkQsjFzmSi1qfT/Screenshot_2015-04-29-10-48-23.png[/IMG]
[Xiaomi Redmi 1S] sinnerz2000:
1) there is no super user app, its built into settings

3) star in status bar means priority mode is enabled
[Xiaomi Redmi 1S] softtechiez:
You have enabled priority notifications. To disable press volume up or down button select 'all' option.
[Xiaomi Redmi 1S] psm_bgm:
Thanks.. I prefer using SuperSU over native root.
[Xiaomi Redmi 1S] raj3534:
need mirror link

Please someone add mirror to this..
[Xiaomi Redmi 1S] SH3H1:
Seriously? Don't quote OP !!!?!!!
[Xiaomi Redmi 1S] raj3534:
oops my mistake..Actually i was in a bit of hurry so didnt realised that im quoting OP.. Hope he didnt mind it.
[Xiaomi Redmi 1S] david_inuk:
Bug!

I found another way to force a reboot.

Press power button to get into power menu. then press either volume up or volume down. Bang, the phone will reboot.

I'm pretty sure this is a bug. :p

Can anybody else confirm that their rom has the same "functionality"? ;)
[Xiaomi Redmi 1S] adewisman:
Bro seriously put it on the bug report tab please, and do give properly logs, thanks in advance
[Xiaomi Redmi 1S] david_inuk:
Sure, once at least a few others have reported that it is common to all installations.

Have you tried?
[Xiaomi Redmi 1S] dedycx:
guys,

There is nothing wrong with the notification sms, I do not know which messages have not I read. because there was no sign of a different color :3
[Xiaomi Redmi 1S] uli-hh:
same here:crying:
[Xiaomi Redmi 1S] adewisman:
Yes bro already mention that earlier as for me the reboot screen is never brought up, end up I did the reboot by int. Terminal apps. Using su -c reboot

Reproduce,: enable volume button to wake up the sreen... Normal reboot... try to push the power button ... Nothing it seems it lost its function. Solve it by disable volume button wake up and reboot. Thats why I asked you to post it on bug tab report I think its related, thanks for posting if you did already.

Ps: forget to take the logs when I was on stock :( sorry
[Xiaomi Redmi 1S] sinnerz2000:
Nice find. Happened on resurrection remix too.

---------- Post added at 08:43 PM ---------- Previous post was at 08:42 PM ----------

Logs is not required if its not a random reboot and everyone can reproduce it.
[Xiaomi Redmi 1S] fredek_lodz:
Reset to factory settings from the settings does not work, bootlop on TWRP, see the video.

https://drive.google.com/file/d/0Bxcu6Q7-KfFQbHY1LTFXTHpxcGs/view

The problem has been reported on http://miuipolska.pl/forum/topic/4956-lollipop-cyanogenmod-121-r4-2015-04-25/page-15#entry59232 I only pass on, because I think it's important.
[Xiaomi Redmi 1S] phreakenstein:
Can't stop noticing that my WiFi is always on. Even if I keep it off, location off, google location reporting off. What could be the reason?
[Xiaomi Redmi 1S] G1Dreamers:
HDR Works

Hi all,

I see that the OP mentions that HDR is a bug and not working..

I installed this ROM yday..

and took a HDR and normal Pic from BetterCamera

HDR Seems to be working :o:)

PS: Pictures were taken in low light conditions ;)
[Xiaomi Redmi 1S] phreakenstein:
Try taking a picture with both low and high light areas, that's where HDR really shines. Exampli gratis: inside and outside of a window in day.
[Xiaomi Redmi 1S] gummie:
Nope, you just shifted few degrees off the light source causing adjustment on your ISO.

Edit: Wow, you still have Shiva keyboard.
[Xiaomi Redmi 1S] Dj_Ignatius:
HDR is working by using google camera.:good::good:
[Xiaomi Redmi 1S] G1Dreamers:
Took the pic as said by you..

one is HDR and other is simple shot..

CM 12.1 R4, using BetterCamera app :):):)
[Xiaomi Redmi 1S] G1Dreamers:
Shiva Keyboard??

What is shifted light source??

Dunno what you are trying to say.. i just took a single shot and a HDR and upload.. no editing nothing..

You can check the EXIF

I attached one more pic..
[Xiaomi Redmi 1S] phreakenstein:
Well, HDR does indeed seems to be working as it should in second pic. Thanks, does this also work with google camera or only bettercamera?
[Xiaomi Redmi 1S] neonkat:
Ya with both...but hdr also working is stock camera...
[Xiaomi Redmi 1S] G1Dreamers:
No.. with google camera both are same.. HDR doesnt seem to be working with google camera.. atleast for me..

with BetterCamera it does.. above are the results.
[Xiaomi Redmi 1S] david_inuk:
Can anybody suggest any way to improve battery life for this rom?

I have absolutely no problematic wakelocks but I cannot get through a day without recharging. :(
[Xiaomi Redmi 1S] renčam:
Do you have Xcelerate kernel?
[Xiaomi Redmi 1S] david_inuk:
I haven't changed anything from stock CM12.1 R3

I'd be very interested to c a screenshot of the battery graph from somebody running that kernel (although I am hesitant to meddle further with this rom and move away from the amazing support provided by the devs!)
[Xiaomi Redmi 1S] sinnerz2000:
HDR would work on a better camera and snap camera too, but its not working with stock camera apps like google camera and cyanogen camera.

Try using DRO mode in a better camera, I feel that comes pretty close to the HDR effect in MIUI.
[Xiaomi Redmi 1S] Angelina7:
Support + :)

If you want to squeeze a little more juice try setting the max CPU clock at 1.2 GHz using device control app. Remember to apply at start up. By doing so I am getting 5 hour + sot. Not much gaming though, mostly browsing and video. No difference in performance BTW.

And then you may try greenify. I am not using it because I think its yet to be completely compatible with lollipop but you will get some extra juice with it for sure. If you want more, disable WiFi during screen off from Wi-Fi settings. Reduce brightness, not auto, set it manually.
[Xiaomi Redmi 1S] bagosbanget:
Is this ROM support Mi In-Ear Headphone?

It doesn't work on Mokee.
[Xiaomi Redmi 1S] presetz:
Sorry bro, but if you want to see my batt graph on xcelerate your welcome here, just saying.
[Xiaomi Redmi 1S] deepsweet:
hi.

just figured out how to format /data and /cache to F2FS using an external mkfs.f2fs binary bypass TWRP. works fine for me with R4 + Beast RC4.

based on this thread, from recovery:

adb push mkfs.f2fs /sbin/
adb shell
chmod 777 /sbin/mkfs.f2fs
umount /cache
mkfs.f2fs /dev/block/platform/msm_sdcc.1/by-name/cache
umount /data
mkfs.f2fs /dev/block/platform/msm_sdcc.1/by-name/userdata

because armani TWRP doesn't know anything about F2FS:

it can't mount /data and /cache

you'll need to manual re-format /cache instead of wiping

all ZIPs should be placed on SD-card

I'm not responsible for your actions.
[Xiaomi Redmi 1S] phreakenstein:
So any improvements?
[Xiaomi Redmi 1S] deepsweet:
I forgot to run tests BEFORE :silly: but I can run them now and we can compare results.
[Xiaomi Redmi 1S] sinnerz2000:
[MENTION=4517918]jsevi83[/MENTION], could you please revert back to the old LED notifications until the pulse is fixed?
[Xiaomi Redmi 1S] neonkat:
Leave it as it is...atleast we can set the notification light colour:D

But i found that sometimes its blinking:confused: ..
[Xiaomi Redmi 1S] sinnerz2000:
We could set the color before too, it was even pulsing right. Only problem was we couldn't set custom speed. But the new one no matter what speed is set it blinks sometimes and sometimes its just stuck.
[Xiaomi Redmi 1S] ajayajun:
Bro, I flashed it after R4.. Again its asking for Sim update every reboot :( pleas help
[Xiaomi Redmi 1S] adewisman:
Hmm I think its rom related bro, I got it also after improper shutdown aka. Force reboot :(
[Xiaomi Redmi 1S] sherry_94:
Guys, can u post ur RAM usage ??

Seems like RAM management is not upto Lollipop's standard .

Redmi 1S LP 5.1.1 :

Moto G 2014 LP 5.0.2 :

Xperia L LP 5.0.2 :

The other 2 devices get approx 200 MB extra of free RAM .......Xperia L has 840MB ram as opposed to 880 in Redmi . I know that free ram is wasted ram and all but those devices multitask better . Xperia L is mine and Moto G belongs to a friend.

Forgive me for comparing, but can someone explain where 200 mb of ram is ???

Sent from a Walkie Talkie
[Xiaomi Redmi 1S] SH3H1:
The main difference with these device and our device is (technically assuming) OpenGL ES 3.0 support for Redmi 1S(MSM8228) ! For higher visual effect and fluency,the system could be using more amount of RAM - Not perfectly sure though,but i assume it is because of that ! Redmi 1S should be having smoother performance than them all if this is true :)

I would like to get opinion from tech geeks and [MENTION=4517918]jsevi83[/MENTION] ;)
[Xiaomi Redmi 1S] phreakenstein:
Here's a bug. Consistently reproducible. Tap repeatedly on flashlight quick launch tile, and flash won't turn on. Apparently reboot fixes this. Somebody confirm, else I'll post logs.

Edit: Keep tapping more and sometimes even the quick toggle tile itself disappears, although this, too is fixed by reboot. And disappearing is a bit random. Anyway, because overall effect is so dependably repeatable, I'll wait for someone else to confirm.
[Xiaomi Redmi 1S] ajayajun:
Battery backup is far better than R3 hip hip hurray :) happy :)
[Xiaomi Redmi 1S] arunal_123:
Battery backup is still a mystery for me.

I never got good backup in KK Roms. Miui was the worse. Where else in LP it was better, a lot better than others.

Again LP 5.1 was better in battery performance as opposed to 5.1.1 (slightly better in LP 5.1)

Please note, my device usage was always the same.

Anyone has any opinion in battery performance on comparing 5.1 vs 5.1.1 ?????
[Xiaomi Redmi 1S] ajayajun:
5.1.1 best ever btry performance for me compared to 5.1 :thumbup:
[Xiaomi Redmi 1S] adewisman:
+1 I concur on this, nice finding, bug tap report please :)
[Xiaomi Redmi 1S] phreakenstein:
Reported at bug reports tab. Sorry for quick work, I'm in the middle of exams and this is my pass time so...
[Xiaomi Redmi 1S] uli-hh:
I'm using a Mikey with the mikey-app through all CM11-Versions without any problem. But now with R4 it doesn't work anymore. When I plug in the mikey the app is asking is it a mikey or a headphone. When I select mikey, the answer is "device not connected" and the phone is recognizing the mikey as a headphone:( So there is not sound through the speaker!:eek:

Is it a bug in CM12.1 or is the mikey app not compatible with Lollipop?:confused:
[Xiaomi Redmi 1S] sinnerz2000:
What version are you using? I have one too but I'm using the klick app for it. Share the link and I'll try it out
[Xiaomi Redmi 1S] uli-hh:
It is a German translation of MiKey version 3.1

Thanks for trying out:good:
[Xiaomi Redmi 1S] neonkat:
Bug:-

1)Music visualizer not working in lockscreen(enabled in settings)

2)sometimes the keyboard stops working...i mean i cant type or delete text...have to restart keyboard and then it works...i am using the stock aosp keyboard..

[MENTION=4517918]jsevi83[/MENTION] Btw why is the status still set to 'testing'? I mean this rom is quite stable for daily usage..[emoji3]
[Xiaomi Redmi 1S] softtechiez:
If u r in google chrome or browsing when keyboard stops do this thing just reload the page. It will work.
[Xiaomi Redmi 1S] neonkat:
I use uc browser..and its not only with browser...it also happens with apps..i just have to restart keyboard and it works..
[Xiaomi Redmi 1S] Angelina7:
I use chrome and never faced any keyboard issues. Perhaps its not the rom .. tried a clean install? (I am on R3 btw)
[Xiaomi Redmi 1S] neonkat:
I am on R4 right now....i use the stock aosp keyboard...dirty flashed R4 over R3(and this problem was there in R3 too[emoji52])
[Xiaomi Redmi 1S] Hemun:
cannot set to 3G only mode !!

somehow the 3G only mode is not working anymore.. it only sticks to 3G preferred or 2G but not giving 3G .. I faced it once before n did a clean flash .. n it worked ..but now after using for some days, facing the problem again .. I have seen some users have reported about it before but I haven't found the solution .. I tried *#*#4636#*#* method ..

I will b posting it in the bug reports section later with catlogs...
[Xiaomi Redmi 1S] Hemun:
Ok.. I got the reason.. it happens when v r using only one sim.. when we change the preferred network in 1st sim.. the same change occurs in the 2nd sim even if there is no sim inserted in the 2nd slot.. that means when we are setting the 1st to 3G preferred.. the 2nd sim setting also sets to 3G preferred n that's y it conflicts
[Xiaomi Redmi 1S] Angelina7:
I am sure some of you are also wondering like me about why this device is still not becoming official CyanogenMod. Our devs did such an excellent work ... Cm11 r26 is just awesome and although I had some issues with cm12.1 r4. Previous r3 is definitely a great daily driver. What else they need?

I mean what is lacking here except CyanogenMod willing to accept it. We have a good budget device with a massive user base. Great committed dedicated developers proved themselves as awesome again and again. Come on CyanogenMod !
[Xiaomi Redmi 1S] airiRin:
It's happened with me too.

The only workaround (for me) is to insert second SIM, change the preferred network, and remove the second SIM.
[Xiaomi Redmi 1S] sinnerz2000:
Has anyone noticed a huge difference in image size? Back on cm11 the images I had taken are between 800kb to 1.5mb. Now I just randomly checked the size of pictures I had taken on 5.1 and they're between 6 and 7mb. I've been using the cyanogen camera on both Roms.
[Xiaomi Redmi 1S] ataralgin2:
Mine with stock camera are the same - around 3MB.

HM1SW CM12.1 R4
[Xiaomi Redmi 1S] renčam:
[MENTION=5878502]Angelina7[/MENTION] Have you solved the Sim cards changing problem? I got it yesterday again after nightly update of AICP, so I went to settings, set my Sim 2 and it is gone...
[Xiaomi Redmi 1S] Angelina7:
No. It happens after most reboots. So for now I reverted back to R3. To be honest R3 is working quite awesome for me, no unusual errors and good battery life.

Also out of curiosity, tried yesterdays nightly mokee and it had the same "sim changed" thing as R4. It felt like just another custom cook using R4 as source, only worse than it. I am very happy with R3 and hopefully our devs will bring something even better soon, waiting for that :)
[Xiaomi Redmi 1S] renčam:
Yes, what I know, this Sim cards issue is on CM, AICP, Ressurection Remix as well.
[Xiaomi Redmi 1S] barrack1:
I guess it needs to be reviewed to make sure the code conforms to cynogen style/standards and uploaded to the repository.

http://www.cyanogenmod.org/blog/a-note-on-unofficial-ports-and-how-to-get-it-right
[Xiaomi Redmi 1S] anaknin:
To the devs, would it be possible to add all of cm11 quick settings roles to the next iteration of cm12.1
[Xiaomi Redmi 1S] barrack1:
Using the miui camera at 720p, it ran over 5mins. Using the google camera at 1080p it crashed before 5mins with the error msg = cannot connect to camera, and another time it crashed without an error msg. I think it might be due to excess heat because of the aggressive cpu governer.
[Xiaomi Redmi 1S] neonkat:
Settings->notification drawer->select and order tiles...select the one which you need..but some tiles are missing over there as compared to cm11
[Xiaomi Redmi 1S] phreakenstein:
Heyy can you give a link for better camera? There seem to be too many *better* cameras on play store...
[Xiaomi Redmi 1S] anaknin:
And the missing ones can be added via gravityboxlp

But since Xposed for 5.1 isn't here yet, only way of getting the toggles is baking it into the source rom
[Xiaomi Redmi 1S] SH3H1:
Sorry,they are not Cooks - they adapt the ROM exact same as there is in CyanogenMod ROMs for all devices,And probabily won't add extras to the ROM since are trying to get official support

If eventually CyanogenMod adds the feature,you'll see in here too :)
[Xiaomi Redmi 1S] neonkat:
xposed for 5.1 http://xdaforums.com/xposed/super-alpha-posted-permission-xposed-t3072979 though its super alfa and highly unstable:D

okay..a noob ques...incoming voice working in sim 2?
[Xiaomi Redmi 1S] fefifofum:
R5 released! Changing from 2g to 3g works without issues even if you only have one sim. But now it takes around one minute before pin request, so after every reboot you have wait a little bit before being able to use the telephony. Note that I had to wipe data to make changing from 2g to 3g work (but hopefully you won't need it).

Edit: after several reboots now I start getting again that dialog to update sim.
[Xiaomi Redmi 1S] neonkat:
That update sim dialog is not a big deal..atleast for me:D
[Xiaomi Redmi 1S] philip_petev:
I think I've found a workaround for that "sim changed" bug: Settings/SIM cards, change all "Preferred SIM for" settings to something else and then restore them to their previous values, then reboot and see if you still have that message on boot.

That works for me for definite period of time, but as I said, it's only a workaround and not a permanent solution.

What about the random reboots, have you noticed such so far (I've got already three for a week)?
[Xiaomi Redmi 1S] neonkat:
Experienced random reboot on R3 but never on R4...btw i will try that and report..:)
[Xiaomi Redmi 1S] teddy0804:
I just want to ask what the affected thing to ROM when the RIL prop removed? Might you want share with us :)

source: https://github.com/armani-dev/andro...mmit/4d10a634198444ac956a3ca51fc76bfdca973064

when I have searched in Google, I just found this: https://census.tsyrklevich.net/system_properties/persist.radio.dont_use_dsd

so what's the difference?