yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 1S] vbvn:
#include<3G_mode_bug_is_back.h> include this on next release :P :P :D

Hi devs, first of all, happy new year peeps..

So I m back here with my usual business :( :( reporting bugs :( :(

3G/WCDMA - preferred/only mode is not working and will stick to GSM only mode on R9,

Tried the following in sequencewise without success:

1) In settings>mobile network>preferred network mode was selected 3G, however *#*#4636#*#* , network mode was GSM only, and it wont change to anything else.

2) In settings>mobile network>preferred network mode, changed to 2G, and then tried to make it 3G, it wont change and sticked to 2G option.

3) Enabled airplane mode, and then tried to change mode via *#*#4636#*#*, and it changed to wcdma only, however network was still EDGE/2G

all above actions captured in logcat..

EDIT:- Found a WORKAROUND:-

1) *#*#4636#*#* , turn off radio, set network mode to wcdma preferred> turn on radio, you will still see its connected to 2G network, dont worry

2) Come back on home screen by pressing back button, again dial *#*#4636#*#* and now just change the network mode to wcdma only. and voila!

3) Do this on every reboot.
[Xiaomi Redmi 1S] Fallen_Knight:
are you using 2 sim card? if yes..you may try to set sim 2 to 2g only first before you can set sim 1 as 3g..happened to me also when im using dual sim..
[Xiaomi Redmi 1S] vbvn:
Well, I think option to change network mode of 2nd SIM is removed. Anyways, I got a workaround..
[Xiaomi Redmi 1S] Fallen_Knight:
need to set 2nd sim as data 1st so you can set to 2g..cause by default..2nd sim is 3g and 1st sim is 2g but data is set to sim 1..correct me if im wrong..i always encounter this when using 2 sims so i remove my 2nd sim for the moment...
[Xiaomi Redmi 1S] hemantbeast:
Yes, the 2nd SIM is seem to be default for data. Thats why the 1st SIM is using 2g. Need to set the 1st SIM to be default for data.

However you can change it from setting but after reboot it again set the 2nd SIM default for data.
[Xiaomi Redmi 1S] firelock123:
I have a question

why call recording on cm12.1 run good, but on cm13 it did not work

This error is due the application is not compatible, or cm13 incomplete, or google source has blocked

thank dev
[Xiaomi Redmi 1S] koboi.ngangkang:
report

hi. I have installed CM 13 R9 on my HH with clean method. this is some report I've experience

1. battery life is great. with stock kernel,balance battery on battery setting, 2 SIM Card on and mobile data (WCDMA only) and traveling (mobile data signal in my country is not pretty good especially when you are traveling) while wifi is always on (but not connected to any wifi), I got 11H phone idle with 1,5 SOT and still 50% batt to go. good enough for me.

2. so smooth....CM 12.1 is smooth but still, I feel upgrade and more smooth this one.

3. caller runs great although sms app doesn't run good. I have set ask everytime in setting but when I am about to send msg, there is only one option (either sim 1 or 2) available.

4. whatsapp barcode scanner is not working. I tested some whatsapp mod app but the problem still persist.

5. there is no option to store image to external sd in camera app

6. SD card name shown in es explorer is pretty weird. it says "21A9-41C3" instead of sd card. is it normal? working normal though

7. capps?? :D

8. Ambient display still not working at best I think.

that's all for now. I hope it could be helpful.
[Xiaomi Redmi 1S] mykimouse:
I am sorry if this has been already answered.

When should the Kitkat bootloader/modem be flashed? Before flashing the rom or after flashing the rom?

There are 2 versions of Gaaps available 6.0.0 and 6.0.1. Which of there should be flashed?

Thank you for the rom and your hardwork.
[Xiaomi Redmi 1S] neonkat:
#flash the modem files anyway,dosen't matter if you flash before or after flashing rom.

#if you are using delta gapps,use 6.0.1 or if you use open gapps,use arm-6.0-any gapps pack(micro or below ones).

We have a q/a thread,please use that.(link in post #2)
[Xiaomi Redmi 1S] vbvn:
Hmm i tried that, but still no success for me, I ve to do , what i had posted previously on every reboot..
[Xiaomi Redmi 1S] MysticForce:
I am going to By BM 44 Battery too .. Only Option for us i reckon
[Xiaomi Redmi 1S] A838:
[MENTION=4770154]koboi.ngangkang[/MENTION] [MENTION=4755121]mykimouse[/MENTION]

WhatsApp scanner works if you point it at the code. You just can't see it. The Q/A thread answers all questions, just look at it post 2 is FAQ

http://xdaforums.com/showthread.php?p=64612541
[Xiaomi Redmi 1S] fefifofum:
Test boot.img

Those with audio issues during suspend in R9, please flash this boot.img and let me know if the bug is still there.

PS. Other users can also test it and let me know if there are any battery/performance differences (comparing to stock R9).
[Xiaomi Redmi 1S] dapra95:
test boot.img [MENTION=4517918]fefifofum[/MENTION]

Flash test boot.img with flashify and wipe cache, Dalvik cache

music in the external sd

100% cargered I take it off when run the music (stock music player)

30 songs in the playlist, the song to 10 stops abruptly and after 1 minute

the song starts again ... I let me sleep the device to ensure it.

audio issues during suspend still present don't know with other users, we are waiting for reports from other

Edit: I realized when almost 4 hours batrey remains 100%. some do not seem normal, after the restart batrey jump to 62%. Mybe will update when i'm at home.
[Xiaomi Redmi 1S] rocknegi:
Stock r9 I charged the battery to 100% then removed the charger as after 2-3 minutes the battery dropped by 10-13 %

Logcat and dmsg attached by Andy log in a single txt

Also in battery stats WiFi is showing on always even though it's off

https://db.tt/rpDdZzww
[Xiaomi Redmi 1S] rocknegi:
After flashing new boot.img sudden battery drop . now also battery dropping fast
[Xiaomi Redmi 1S] Anubhav Rai:
Unexpected Battery Ups and Downs

Issue : Battery % would sometimes jump up unexpectedly , or wont drop at a particular percentage for hours and then when you reboot to recovery and restart , then it is higher than before without charging.:confused:

ROM: R9 without any fancy crap ;)

Stock boot.img not the one you provided in previous post.

PS:Tried cm12.1 r31 again to test whether the battery has not deprived. Everything fine on cm12.1 r31.

Logat,dmesg and screenshots attached.
[Xiaomi Redmi 1S] Phuclun510:
I had that problem too on GK R4 ;)
[Xiaomi Redmi 1S] ydd0ras:
next one thing which is strange. with GK R4 I have best results. amazing battery life, no drops. perfect for me with max CPU and smartmax governor.
[Xiaomi Redmi 1S] neonkat:
i will repeat once again,no discussion for custom kernels or other mods here.
[Xiaomi Redmi 1S] ydd0ras:
mean culpa, will never do it again. but your words could be a bit more friendly. just like happy new year or something else. please think about it. we are all here to help and learn.
[Xiaomi Redmi 1S] Phuclun510:
Ok ok never again
[Xiaomi Redmi 1S] vbvn:
Bug that existed ever since CM for our device existed.. (Just for me??)

I m been plagued by this minor bug ever since the times cm11 existed for our device but I believe its just me, else other peeps would have reported.

The bug is of Power button sometimes doesnt response to any actions until reboot # ie it wont bring up screen neither lock, nor end call (Power button ends call is enabled). Thanks to "volume buttons wakes up screen" option which exists and saves me. I believe its software issue (CM ROM / armani-dev source based roms) as opposed to hardware, for following reasons:

-I dont encountered this issue on MIUI ROM

-# Pwr button doesnt works for any other action with an exception that Long pressing will reboot the device.

I was able to capture logcat today for it and is attached. Bug occurred after 5.30 PM..
[Xiaomi Redmi 1S] AriqRz:
sorry i'm new here, so one simple question, can i dirty flash this build over theStrix build??
[Xiaomi Redmi 1S] neonkat:
fresh flash is always recommended.(dirty flash should also work well,but you can get some extra issues).

ask questions in q/a thread(link in post #2)
[Xiaomi Redmi 1S] stevenlopes92:
music stops

Mod Edit : Quote Removed.

i am using cm 13 since r1 ... i hav noticed that when i lock the phone and keep it idle for some time ............... the music stops and after 10 seconds it starts again

bt today i was using the phone and music was playing on backgroung ....... it didnt stop

everything else is awesome :D
[Xiaomi Redmi 1S] siyman:
Can confirm the background music bug with amazon prime music in stock r9.
[Xiaomi Redmi 1S] fefifofum:
Another test boot.img

To try to fix the following issues:

- Audio stops during suspend.

- Battery percentage jumps.

- BM44 battery support.

Link: https://www.androidfilehost.com/?fid=24352994023705587
[Xiaomi Redmi 1S] akhilkumarco007:
Is it necessary to quote the whole thing? Please remove the quote, you could have just replied directly. :D
[Xiaomi Redmi 1S] A838:
Right downloading will update this post with some results, but those bugs are kinda hard to recreate in previous versions ;)

Going to have the same day at school tomorrow and see how it is with new kernel.
[Xiaomi Redmi 1S] asurabp:
Tested the new test kernel, bm44 is now charging. I'll just see the battery life later.
[Xiaomi Redmi 1S] bilakos10:
Flashed this right after you posted it. Battery life is superb. I got 2,5 hours of sot and I am on 70% (low brightness - not completely dim).

Also I got no sudden drops so far.

Unfortunately I didn't get to test the music playback, even though I didn't experience this bug on the original boot.img.
[Xiaomi Redmi 1S] rocknegi:
Flat line *_* on new boot. Img

But the graph is showing WiFi is on always even though it's is of
[Xiaomi Redmi 1S] bilakos10:
It's probably a visual bug. I also did get a flat line, but didn't experienced the bug above.
[Xiaomi Redmi 1S] asurabp:
Is playback control broken? Tried on my buttons of my phone and my piston v2, doesn't work. Also the middle button also doesn't work.

Ot: anypossible way to upload log via tapatalk?
[Xiaomi Redmi 1S] bilakos10:
Yeap it seems broken. I wasn't able to control music with my pistons v3 either.
[Xiaomi Redmi 1S] rocknegi:
Battery drop after reboot
[Xiaomi Redmi 1S] phreakenstein:
I haven't tested on cm13, but someone confirmed this awhile ago. If wifi is NOT connected to any network and turned off, it'll show up as ON in the battery graph. But if wifi is connected to any network (with/without internet access) and then turned off, it'll show up as OFF in battery graph. Also, on previous test boot.img, my phone went from 90+% for an hour to 0% straight downfall, and for all night phone remained off, wifi showed up ON in the graph. I've found this bug since cm11 IIRC. Now I just turn off wifi before it gets disconnected, force of habit....

Edit: Corrected figures.

Edit 2: Confirmation post.
[Xiaomi Redmi 1S] neonkat:
so i was not the only one who thought that too.
[Xiaomi Redmi 1S] onano:
[MENTION=4922774]phreakenstein[/MENTION] or anyone This kernel fixes your screen wake up delay issue you were having previously on panel wake up :)

https://transfer.sh/GG8cs/cm-armani-kernel-new-auo-signed.zip
[Xiaomi Redmi 1S] phreakenstein:
Will test and report. I take it this one has new test boot image changes? Those deadly battery percentage drops are scary....

Edit: Removed unnecessary mention.
[Xiaomi Redmi 1S] onano:
Yes, this bootimage has all fixes by fefifofum
[Xiaomi Redmi 1S] phreakenstein:
I still see some delay, of about a second. Especially when I turn screen off and on repeatedly. So I flashed boot.img by fefifofum back and didn't find a lot of difference. Logs on both attached. Thanks though, I had pretty much gotten used to it, nice to see you're still working on that.
[Xiaomi Redmi 1S] AriqRz:
Thanks for your answer.
[Xiaomi Redmi 1S] bilakos10:
Look at that! (using latest test boot.img by [MENTION=4517918]fefifofum[/MENTION])
[Xiaomi Redmi 1S] akhilkumarco007:
New Boot.img rocks

Tested music playback for 1 hr continuously with screen off and still no problem. Also the battery life is amazing. :D Till now the sot is around 1 hr 10 mins and still 75% battery left. Idk about bm44 as im using bm41 battery. Hope this clears everyone's issues. Thanks [MENTION=4517918]fefifofum[/MENTION] :D
[Xiaomi Redmi 1S] neonkat:
just a tip,if anyone feels high battery drain with wifi,just go to:-

settings-location-3 dots-scanning-disable both wifi and bluetooth scanning.

i think this also fixes the *wifi always showing on* in battery stats.(after i disabled them,now wifi graph shows correct usage).
[Xiaomi Redmi 1S] Fallen_Knight:
Been using cm13 since r3..and today got curious about otg..tried my 8gb flash drive and it worked..then I tried to copy a photo from my phone to my flash drive but I can't find my flash drive directory..using file manager and root explorer but still can't find it..when clicking USB connected notification.it only allow me to explore it but cannot go to other directory like external or internal..its like a read only mode..anyone can tell me how?
[Xiaomi Redmi 1S] neonkat:
use ex file explorer,it works fine,it will ask you permission to grant to save files to extsd or usb otg,just see the pictures(it will give an example) and do that..afterwards,you can easily copy files beteween all internal and external drives.

ask questions in q/a thread (link in post #1)
[Xiaomi Redmi 1S] sid786india:
Should i flash this new kernel directly or clear cache & dalvik cache
[Xiaomi Redmi 1S] neonkat:
flash directly or use flashify app.

ask questions in q/a thread
[Xiaomi Redmi 1S] HybridMasterRace:
just flashed this and i noticed that the screen does wake up faster, im still playing music to see if the bug is still around with R9 + latest fix... ill report back after a day or so since R8 is ok for a long while then the audio bug surfaces out of nowhere, just to make sure its fixed.
[Xiaomi Redmi 1S] anaknin:
Miui7.1 is rolling out today onwards, one of the bugfixes/features in that is piston support, so be patient, maybe there are kernel changes which can be merged
[Xiaomi Redmi 1S] SH3H1:
But they never update kernel sources for each updates

Maybe only if android upgrades is there !!
[Xiaomi Redmi 1S] HybridMasterRace:
i dont get it, my pistons work, both 2.1 and 3 in R9, what do you guys mean? the last time it got broken was in cm12 and that was the last time it ever happened...
[Xiaomi Redmi 1S] aniket.lamba:
[MENTION=4517918]fefifofum[/MENTION] - Did you publish the commits of the new boot.img that you gave?
[Xiaomi Redmi 1S] sripathi_r:
Sudden battery drop noticed from 95% to 82% when mobile was in idle for sometime.

I checked with BM44 battery.

Anybody can help in this?
[Xiaomi Redmi 1S] akhilkumarco007:
try installing the latest boot.img posted by op in his last post
[Xiaomi Redmi 1S] sripathi_r:
After flashing the Boot.img only I was able to charge the BM44 battery. Anyhow I have again clean flashed. Let's see.
[Xiaomi Redmi 1S] A838:
Yep definitely improved battery life on new boot.img.

Yesterday ended on 55% now ended 70% ;)

Yesterday:

Today:

[IMG="Today"]https://lh3.googleusercontent.com/27qW1QF-zTW2A38MBxqRTO701RZB1wFN_c-8cHYLQAXW9eqvWbDtPtDTFW79a7dga72CCypkVXhejOpG28LeoMvGkIapaeSuggAyuM2o3U4BoFe7v8TBAfpiQYXtYPhWykzCMAcL5FtLe0ktaYUPyR-OSEktB880m89pXJORs-sJX-UVlweke7EZfL14YRU3IAUg0Uq_KZYEBqRPEDZKYVFzPD70RDSBRT6Txdadl17ahxYMoG2708u29uiU8ugQ7nta6ClbPVa6-4GAnARSQvNAzy0p5G666Mx_fCpT8YzD3M6pFcRu9BT92pGxc_8boTb9eQDZLXT-XEVsYfsSIoiAlPpX_5MxL5Oco24wAFvA-jDfrS75cT7KYHGUCgkywp6E-jSJB9Q_S4As98gRcfH4EmTpvWAyPr6K_Vh1LTsW6WhxzY7ycn4x8ao85roh9yOWPYXnPpiMEI4kxVVG0FakZ5lmSbaR7BN3uHcDuzDkka83uOXs7zWin2_jT-KDLxmZCfqkVcUGZO-1v9t4CxjPQvyPlC2UJSs8g3ABdzQlYP4-ds-rhqjYx-pL2T4TBaEN=w1280-h720-no[/IMG]

Also would be useful if there where more people on the Q/A thread. Currently only [MENTION=5651302]agriculture[/MENTION] [MENTION=5991747]neonkat[/MENTION] and I
[Xiaomi Redmi 1S] agriculture:
Battery backup is good as u mentioned
[Xiaomi Redmi 1S] A838:
from http://en.miui.com/thread-204184-1-1.html

Scarily approaching post #500 after a month.:rolleyes:

Not bad, but bad.:eek:

500/31 = 16 posts a day :confused:
[Xiaomi Redmi 1S] HybridMasterRace:
i dont think that will do anything since that has nothing to do with our rom or the MIUI rom, it just means that the music app from MIUI will get the options to optimize the sound for the color edition earbuds, its not a fix for a bug... i cant reproduce this playback button bug btw... im on R9 plus onano's fix found on post #476, im still testing it, but so far no glaring bugs...
[Xiaomi Redmi 1S] fefifofum:
New build released

with important changes in battery and charge drivers, support for BM44 battery, fixed unbalanced IRQ warning in touchscreen driver (thanks [MENTION=7093132]onano[/MENTION]), another fix for auo 720p panel (thanks [MENTION=7093132]onano[/MENTION] again), removed mpdecision commits from R9, and other minor changes. Also, in camera settings we have again the option to save to sdcard (I think this wasn't there in latest release).

From your screenshot I can tell you use mods. Please read post 2 before reporting bugs.

There were important changes in battery driver, so I guess we'll need a couple of full charges to get battery stats correctly.

Check also this: http://xdaforums.com/showpost.php?p=64653656&postcount=483

Thanks, there have been several reports about this. I will add it to the FAQ section in post 2.

I'm pretty sure that change is not in the kernel.

I did, but I've been using this repo in latest releases. I've been trying to have a good initial merge of xiaomi's changes, so maybe I got a bit crazy and did too many rebases and forced pushes. Anyway, I think everything is good now and there won't be more destructive changes.
[Xiaomi Redmi 1S] phreakenstein:
[MENTION=4517918]fefifofum[/MENTION], I disable WiFi & Bluetooth scanning at the rom setup. Just to be sure I checked and yep, it's off.

Edit: Also, as I understand, when that particular setting is enabled, it finds, connects to network if possible, get some location, and turn off for some more time, CMIIW. But even if there are available and unsecured networks that doesn't appear to happen. Although, to be completely sure, I'm gonna turn location off completely for next couple days and try on that. Gonna also turn off location access for play services and whatnot. Let's see how that goes....

Edit 2: When I did try for this bug, I noticed a reboot always fixed it. Or getting connected to network and then turning wifi off. A reboot shouldn't be an off case for always on background scanning of WiFi for location, right? But as I said, haven't personally looked for that in cm13, am going to now.
[Xiaomi Redmi 1S] A838:
I know nobody really cares about this but if you were wondering...

Demo mode is Settings, About phone, then spam click build date(three times). Don't rage at me because this was no use.
[Xiaomi Redmi 1S] HybridMasterRace:
Is the boot.img fix merged with r10? The audio bug is in r10 and i cant tell whether it got fixed or not since i havent tested r9 long enough...
[Xiaomi Redmi 1S] Fallen_Knight:
Updated to r10 from r9..this bug is still present..

Camera bug..

When taking consecutive photos with flash is on(auto/on)..the camera can only take 1 photo,the 2nd time you take photo, the camera button greys out and cannot be touch again yet did not take the photo nor triggered the flash..oh and its non HDR..I think log is not needed since it could be reproduce..someone also encountered this in r9..
[Xiaomi Redmi 1S] DhiGeKu:
Adopted storage issue

Is there anyone having issue formatting sd card as internal in build 9(and 10)? The format process will run normally, but when I try to migrate the data setting will fc, and bring me back to migrate data page. If I choose migrate later and check the sd card in settings app it will shows as corrupted. And if I click it it will ask me to reformat it again. And yes rebooting doesn't fix it. I'll reproduce the problem if there is another people who face this issue and provide the log. And my sd card is working normally as portable storage in both the R9 and R10 build, indeed its working good as an internal storage in R8.

The workaround that I find is to flash the R8 first, format the sd card as internal(it doesn't necessary to migrate the data) and dirty flash the latest build. Everything just fine this way.
[Xiaomi Redmi 1S] HybridMasterRace:
[MENTION=4517918]fefifofum[/MENTION]

the suspend audio bug is still in R10, nothing new, same behavior it disappears and i press the previous song button to make it go back, heres the logs, and btw is this log correct? its my first time taking one.
[Xiaomi Redmi 1S] Fallen_Knight:
what class is your sdcard? im using class 10 samsung evo 32gb and no audio bug 9 and 10
[Xiaomi Redmi 1S] HybridMasterRace:
mines a 64gb class 10 samsung evo which redmi 1s cant fully use btw since the bandwidth tops out at around 21 MB/s, using a card reader its at 48 MB/s...
[Xiaomi Redmi 1S] Fallen_Knight:
thats weird..try moving some music to internal then remove sdcard..try to play..move about 30 songs to internal..
[Xiaomi Redmi 1S] rocknegi:
[MENTION=1846930]fefifoum[/MENTION]iam not using any mod just deep darkness overhauled theme :)
[Xiaomi Redmi 1S] abhi_qwerty:
I think it is related to RAM management. Previously (means while on R1-R4), I was facing audio suspends too but then I installed a third party app (

purchased it

(not mentioning the name)) and that app have an option to Keep Service (Xxxxxxxx Player Service won't be unloaded when in idle) and that's all, I have never faced that audio bug since then. Now you might wonder - "How often does this man listen to music?" Oh well, everyday 2 hours before bed, calm music and collection of audio-books are my favorites.

Peace
[Xiaomi Redmi 1S] phreakenstein:
Dude, he knows more than you and me combined. And even I can tell you use a mod. Just disable or remove all the mods, xposed, lucky patcher, anything that didn't come with the rom except SuperSU, then try for your bug, take logs, post them here with instructions to reproduce.
[Xiaomi Redmi 1S] HybridMasterRace:
it wont work, i already tried that plus other people as well, just read some previous posts and youll see them. R8 is the most tolerable rom but it still has the bug and after a day or two it begins to reappear until you reboot again. i have my earphones on almost as long as im awake and its permitted so yeah this bug can be quite annoying...
[Xiaomi Redmi 1S] firoz_95:
Both links not working (I'm assuming they're the same link, didn't pay attention to the URL). 404 file not found. Is this because you have incorporated the new boot.IMG in the latest R10 build?
[Xiaomi Redmi 1S] siyman:
I can confirm that for R9, R8 was working fine though. Still did not try with R10 as it is currently flashing.

Batterychanges: Thanks [MENTION=4517918]fefifofum[/MENTION], I can now access and charge the phone via regular usb cable! Great work :highfive:
[Xiaomi Redmi 1S] DhiGeKu:
Adopted storage issue

This the last crash messages

There are some logs in the zip I attached.
[Xiaomi Redmi 1S] agriculture:
The boot.IMG is migrated in R10,use that build
[Xiaomi Redmi 1S] stevenlopes92:
sry boss.... thats my first post on xda sry
[Xiaomi Redmi 1S] Bonoboo:
Guys, I searched thread, but want ask to be sure.

Internet really works on 2nd SIM?
[Xiaomi Redmi 1S] amangupta53:
Yes it does. Also, try the Q&A section.
[Xiaomi Redmi 1S] A838:
Err if you aren't using mods then you might want to check out your signature... ::)

It says in really big text xcelerate user. (custom kernel)
[Xiaomi Redmi 1S] Cat In Boots:
Audio bug

Greetings,

Since R10 (clean flash) audio bug has become more noticeable. Music stucks after 5-15 seconds. I've tried Play. Music and Vanilla Music (in logs its about 6 - 6:30 p.m.) In terms of this bug R9 was more stable, but I couldn't test it completely.