yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 1S] ritalee:
Thanks for the new kernel fefifofum. Battery stats are really promising and it's amazing to see that horizontal line when the phone is idle.

I can confirm that HDR is not working. Maybe this bug reported on miui forum can give you some clues:

http://en.miui.com/thread-139968-1-1.html

these are the lines containing hdr in my logcat after sort | uniq command:

D/QCamera2HWI( 207): int32_t qcamera::QCamera2HardwareInterface::configureZSLHDRaBracketing(): E
D/QCamera2HWI( 207): int32_t qcamera::QCamera2HardwareInterface::configureZSLHDRBracketing(): X
D/QCamera2HWI( 207): static void qcamera::QCamera2HardwareInterface::metadata_stream_cb_routine(mm_camera_super_buf_t*, qcamera::QCameraStream*, void*): hdr_scene_data: 0 0 0.000000
D/QCamera2HWI( 207): static void qcamera::QCamera2HardwareInterface::metadata_stream_cb_routine(mm_camera_super_buf_t*, qcamera::QCameraStream*, void*): hdr_scene_data: 1 0 0.000000
D/QCameraParameters( 207): int32_t qcamera::QCameraParameters::setSceneMode(const qcamera::QCameraParameters&): scene mode changed between HDR and non-HDR, need restart
D/QCameraParameters( 207): int32_t qcamera::QCameraParameters::setSnapshotHDR(const char*): Setting Snasphot HDR off
E/QCamera2HWI( 207): int32_t qcamera::QCamera2HardwareInterface::configureZSLHDRBracketing() : HDR config values 0,-6,6
E/QCamera2HWI( 207): int32_t qcamera::QCamera2HardwareInterface::configureZSLHDRBracketing() : HDR values 0, -6 frame count: 3
E/QCamera2HWI( 207): int32_t qcamera::QCamera2HardwareInterface::processHDRData(cam_asd_hdr_scene_data_t) : hdr_scene_data: processHDRData: 0 0.000000
E/QCamera2HWI( 207): int qcamera::QCamera2HardwareInterface::commitParameterChanges(), mParameters.isMorphoHDREnabled() 0
E/QCameraParameters( 207): int32_t qcamera::QCameraParameters::setAEBracket(const qcamera::QCameraParameters&): scene mode is HDR, overwrite AE bracket setting to off
E/QCameraParameters( 207): int32_t qcamera::QCameraParameters::setMorphoHDR(const qcamera::QCameraParameters&), ++
E/QCameraParameters( 207): int32_t qcamera::QCameraParameters::setSnapshotHDR(const qcamera::QCameraParameters&) :2. Snapshot HDR set to: off
E/QCameraParameters( 207): int32_t qcamera::QCameraParameters::setSnapshotHDR(const qcamera::QCameraParameters&) :E 0. Snapshot HDR set to: (null)
E/QCameraParameters( 207): int32_t qcamera::QCameraParameters::setSnapshotHDR(const qcamera::QCameraParameters&) :E 0. Snapshot HDR set to: off
E/QCameraParameters( 207): int32_t qcamera::QCameraParameters::setSnapshotHDR(const qcamera::QCameraParameters&) :X 3. Snapshot HDR set to: prev_str off, prop off
[Xiaomi Redmi 1S] fefifofum:
In R22 I can use the camera with KSM enabled, I couldn't with the old kernel/blobs but I can now. Did you try enabling KSM and using the camera in R22? Isn't it working?

I will find out if it's taking 3 shots for HDR or not, it's a good way to understand what is HDR mode doing at the moment, and why are pictures darker than in auto mode.

I didn't change anything related to audio from R21 to R22. I will probably make some audio gain changes in the next releases to adapt to the new audio blobs.

CPU is set at max freq (1.59GHz) during boot to make it faster, then it's set at 1.4GHz when boot is finished. That's why the phone heats up during first boot, because it stays a long time (specially now that dex preoptimization is disabled) with the cpu at max freq. If I set the cpu at 1.2GHz during boot, it will take quite a longer time to boot the device, and I don't think we want that (at least I prefer having a little heat that goes away after a couple of minutes). In CM, most devices use performance governor and cpu max freq during boot to make it faster (at cost of heat and battery).

I disabled dex preoptimization because it makes the rom heavier, and we are a little short of space in system partition. Somebody complained about this a few pages back and he was right, if you wanted to install a bigger gapps package you could run out of space in system partition. I checked about this and most devices that enable dex preoptimization have a bigger system partition than redmi has (700MB). I always install the minimal gapps package, so for me it's not an issue having dex preoptimization (in fact I prefer it because it makes first boot faster), but some users may think otherwise, and I'm trying to follow a standard here. If you all wanted dex preoptimization back I could enable it again, but for now it's going to stay like this.

Thanks, I started working on a camera wrapper to fix HDR by enabling Morpho EasyHDR. I already did that back in cm11 and HDR was fixed, but some other issues arose (probably because of the old camera blobs). Let's see if we are more lucky this time.

https://github.com/armani-dev/andro...mmit/e7868aef128f788438a2fff6713e25442a822a18
[Xiaomi Redmi 1S] Fallen_Knight:
Oh..but loudspeaker is OK now than in r21..and to give you info on perf..NBA 2k16 is working awesome..just sacrifice some visual elements to play smoothly..
[Xiaomi Redmi 1S] likenatural:
I just flashed r22 over r21 and wiped cache, dalvik. I see that when on call, in loudspeaker mode, volume is still low compared to earlier builds with old kernel. Will try clean flash or wait for our dev, as he has said he will rework on sound gains. Battery backup seems good. Great work. Thanks.
[Xiaomi Redmi 1S] sinnerz2000:
I'm sorry I haven't had the chance to test the new builds yet, still on the old source build.
[Xiaomi Redmi 1S] bhu1:
I am on r21, to update to r22, I flash that new bootloader zip and flash r22 on top? Or do i wipe stuff ?
[Xiaomi Redmi 1S] neonkat:
flash firmware then dirty flash rom..no need to flash firmware it you flashed it before.
[Xiaomi Redmi 1S] jerryshaw12:
What is this?

~~(8:> android@root:/xiaomi/armani
[Xiaomi Redmi 1S] neonkat:
some high level coding which is supposed to fix hdr mode but that earlier gave some extra errors on kitkat hence was reverted back but now added again and needs to be tested.
[Xiaomi Redmi 1S] bhu1:
R there any considerable changes with the new firmware ? Like the modem, does it positively affect signal strength and quality ?
[Xiaomi Redmi 1S] Varun Biju:
Battery charging time is absolutely amazing in latest build!! Will see what the battery drain is like too. Sincere thanks to [MENTION=4517918]fefifofum[/MENTION] for the wonderful rom and all the hard work he has put into it.
[Xiaomi Redmi 1S] neonkat:
haven't tested but i think my device is getting better signal with the newer builds...newer is better:p
[Xiaomi Redmi 1S] bhu1:
I play hearthstone on my phone a lot, and with WiFi the ping just isn't as good as 3g ( 'H+' ), but both airtel and reliance have signal drops in my area which results in disconnects, and I hate it when I loose a game that I am winning cause of a disconnect. So if this affects the strength of the signal then that can be a great thing for me.
[Xiaomi Redmi 1S] neonkat:
maybe the real cause is not the phone but the poor signal strength in your locality.
[Xiaomi Redmi 1S] sinnerz2000:
I have airtel, never liked their 3g service, its horrible and I live in the city central. Use WiFi as much as you can.
[Xiaomi Redmi 1S] Fallen_Knight:
Just tested..music volume 85%-100% loudspeaker struggles..the sound Stutter's.. But when playing..sound is OK..so its still same with r21 loudspeaker bug
[Xiaomi Redmi 1S] bhu1:
Well, the locality is definitely at fault here, but not all the blame. On my dad's phone and my bro's phone, airtel 3g is absolutely rock solid.

My WiFi has ping problems, its a high frequency WiFi connection + the router is kinda hold and is in a room 4 walls away.

Anyway, something I just noticed after the firmware and r22 flash, it seems I am getting better WiFi signal, as I have 2 bars In a room where I get none. I don't exactly remember though, if WiFi is affected by modem or not.
[Xiaomi Redmi 1S] akhilkumarco007:
overheating!!

is it just me? or there are people with this problem? My phone is heating like hell with just normal usage (mostly fb, whatsapp, youtube and chrome). Are there any workarounds? Please let me know.
[Xiaomi Redmi 1S] neonkat:
tweak your kernel with kernel adiutor...very less heating for me with same apps.
[Xiaomi Redmi 1S] akhilkumarco007:
What settings do you recommend me to change bro? :)
[Xiaomi Redmi 1S] neonkat:
*max:-1.4 ghz

*ondemand

*govr tuneables-

#io busy to 0

#optimal frq to 787200

#sync freq to 998400

#up threshold to 75

*disable multi core power saving

*no cpu hotplug(warning!your device can melt like a dairy milk:p..do this at own risk)

*enable all in thermal except temp throttle.

*enable ksm

*enable zram,(use any value which suits you)and set swap to 100

*enable entropy

*more which i forgot:D

again, these are my settings which suits my useage..you may either feel lag or you will come to my home and thank me because i turned your 1s to 5x .
[Xiaomi Redmi 1S] bhu1:
Actually, I also think the heating is better. I have been playing continuously for like the past hour and its just a teensy bit warm. Though, the AC is on. But generally, even with AC, the phone heats quite a much when playing.
[Xiaomi Redmi 1S] jerryshaw12:
What is your build number? R20/21/22?

~~(8:> android@root:/xiaomi/armani
[Xiaomi Redmi 1S] domino2115:
It should be included in inbuilt kernel i think

Odoslané z HM 1SW pomocou Tapatalku
[Xiaomi Redmi 1S] bluege:
I installed the Firmware KK 6.7.1.0 and after that the CM12.1 20151016 (finally with the new firmware the bootloop disapeared).

To use the Kernel Adiutor and change those parameters I should change and install the Xcelerate Kernel or it works also with the "normal" kernel? Which one is recommended?
[Xiaomi Redmi 1S] akhilkumarco007:
R22
[Xiaomi Redmi 1S] neonkat:
use stock kernel..it is better than before.

---------- Post added at 05:53 PM ---------- Previous post was at 05:43 PM ----------

they are for stock kernel only.
[Xiaomi Redmi 1S] eswarvf:
Here is my log

1)Boot loop on xposed v74 .If bootloops with xposed installed don't post here.

2)So made a clean installation and flashed nano gapps and xposed v75 (boots perfectly).

3)Me very lucky here as no heating at all

Please clean flash as sources has been changed so things like heating may happen on dirty flash

Please upgrade your firmwares from xiaomi time to time coz its the main problem for flashing from begining just like cm11 stock on mi logo if we had firmware below v45. Our Device is so special that some things work for some and wont work with others. Thank you for cm12 devloper for bringing smoothness or maybe a life for redmi 1s
[Xiaomi Redmi 1S] domino2115:
Yes i know , i mean that armani devs should use these optimizations to prevent heating,if not its okay i just suggest

Odoslané z HM 1SW pomocou Tapatalku
[Xiaomi Redmi 1S] gREENNNNN:
Hi guys, i've installed this rom and the phone just get rebooted after like 25 secs all the time..

Any ideas?
[Xiaomi Redmi 1S] teddy0804:
Might you want to check the source about 3 pictures are taken and to understand what is HDR mode doing at the moment as you said about Morpho EasyHDR.

http://www.morphoinc.com/en/products/HDR.html

And might this HDR mode is really depends on android_device_code not in kernel side. So this what I have found in google and might you could find something useful to fix HDR mode.

https://android.googlesource.com/platform/hardware/qcom/camera/+/master/hdr/include

Happy reading and coding... hehe :D
[Xiaomi Redmi 1S] fefifofum:
Most of these settings are the default values, and the ones that aren't I don't think that are good to avoid heating. If you want an effective way to avoid heating, limit max cpu freq to something lower than 1.4GHz.

Sure, you could read first post. If that is not enough, you could explain how you installed the rom so we can see what went wrong.

In R22, HDR mode only takes one shot, probably the first one of the three it should take (that's why it's dark). If I enable morpho, then we get buffer issues, and that could be related to the kernel. I will need time to do more tests, this is probably not going to be fixed soon. If someone has logs (logcat & dmesg) from miui7 taking HDR pictures, that could help me. It would also be nice if someone could port the camera app in miui7 redmi builds, I think that's were xiaomi put their magic.
[Xiaomi Redmi 1S] gREENNNNN:
Already fixed it.. bad firmware thought.. installed the last one

ty
[Xiaomi Redmi 1S] vbvn:
Inttalled r22. its working good. Camera focus speed improved at the cost of picture quality. Battery backup can be improved.

Thanks OP for quick updates..

Can anyone explain what is "off charge setting" ??
[Xiaomi Redmi 1S] teddy0804:
Share some pictures (at night)

non HDR HDR

non HDR HDR

*) you could check the metadata or filename in those pictures

The logs (after take several HDR photos)

View attachment 2015-10-17_23.26.zip

Camera App (backup with Ultimate Backup)

https://drive.google.com/file/d/0Bzz5WJUZeDOwUm11M3dKNTdVYVU/view?usp=sharing

might I am not share the wrong app :D
[Xiaomi Redmi 1S] seth66:
In the attachment: Full logcat, filtered logcat for "camera" and dmseg taken from the latest china (v7 5.10.16) miui appalling junk os
[Xiaomi Redmi 1S] phreakenstein:
[MENTION=6100602]teddy0804[/MENTION], uploaded camera apk can't be installed. Perhaps due to package name clash. "com.Android.camera." Any idea on how to get around that?
[Xiaomi Redmi 1S] sinnerz2000:
It wouldn't install on 12.1 , I remember installing miui 6 camera apk on cm11 which installed but didn't open.
[Xiaomi Redmi 1S] HanszRN:
maybe it should be ported first
[Xiaomi Redmi 1S] teddy0804:
then the apk should not as easy as imagine... :D
[Xiaomi Redmi 1S] rocknegi:
Logcat and dmesg after taking some hdr photos on latest miui 7 beta build

https://db.tt/zy1F0eAB

https://db.tt/ra9zHJZz
[Xiaomi Redmi 1S] jerryshaw12:
LED notification doesn't blink like r20 which has fixed the LED notification

~~(8:> android@root:/xiaomi/armani
[Xiaomi Redmi 1S] bhu1:
Do u have an external SD card in ur phone? Try removing that, that will stop the reboots. But to fix it, I think u can copy all ur SD cards data somewhere else, format it and then recopy the data back. This happened to me last week when I updated to r21. I wiped everything and it didn't got fixed. So the only thing left was the external SD card, and removing that instantly stopped the reboots.

---------- Post added at 12:41 PM ---------- Previous post was at 12:41 PM ----------

I am getting random reboots on r22, any solution ?
[Xiaomi Redmi 1S] doylefermi:
Review - new device trees and kernel CM12.1 R22

The latest changes in camera and audio is noticeable. The camera has improved. However while taking pics in HDR mode, the camera app freezes (reported by many users. I am sure @fefifofum is working on it).

About the battery:- yes its definitely great but i think it has a decreased a bit. And yes the heating has increased(just normal use). Still its the best out there.

Thanks a lot devs for working on this phone. Its a stable ROM and a perfect one for all.

No issues like random reboots, force closes etc found till now.
[Xiaomi Redmi 1S] akhilkumarco007:
how do you get such battery backup? Please share your kernel settings and any battery saving apps. What to do, to get such battery life? :p
[Xiaomi Redmi 1S] bleachftl:
Hello [MENTION=4517918]fefifofum[/MENTION],

I am experiencing strange problem.. I have 2 SIM in use. 1 for data and 1 for general use(For msg and all).

While data is ON on 1st sim, I do not receive call on 2nd SIM.(tried to call from other mobile to 2nd sim says out of range from operator)(sometimes it get connect but frequency of this is low) and also messages get lost somewhere. and doesn't receive afterwards. As my many account registered on 2nd sim and while using data on 1st sim, message on 2nd sim doesn't receive.

Can anyone try this? or am I only one experiencing this issue? should i provide log?(while using Wi-Fi/ no data both sim works perfectly).
[Xiaomi Redmi 1S] philip_petev:
A little off-topic but...

[MENTION=4517918]fefifofum[/MENTION]: Did you notice this:

https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/armani-kk-oss

It seems the armani KK sources has been released.
[Xiaomi Redmi 1S] phreakenstein:
Thanks man, that was quite easy to miss...
[Xiaomi Redmi 1S] ashu00:
You are a little bit late for that mate!!

He already knows that and released two builds (R21 and R22) using those sources..

:D:D:D:D
[Xiaomi Redmi 1S] shetty_chadda:
The best thing which has happened to me with the new kernel is earlier my fone used to get switch off once the battery drops to 3%...but with updates today i did saw my fone going below 2% and 1% too
[Xiaomi Redmi 1S] vbvn:
Off charge??

It has been a year now since release of miui v 37 till the date prior to cm12.1 r22 was released, whenever the device put on charging while switched off, it insanely gets heated up. I remember it never used to even get warm on ROM that was shipped with (miui v34 may be). Now ON R22 IT JUST GETS WARM WHICH IS GREAT THING :o :D wish it doesnt even warm up like how it was on miui v 34

And its already incorporated since r21 budy.. Don't troble op with tagging him.
[Xiaomi Redmi 1S] wishid:
Hi!

Can somebody help? Using kernel adiutor with R22 and stock kernel, i can't set min freq below 600MHz, it just won't accept it.

Can somebody tell me why? I've tested some "tweaks" posted by neonkat but undo all changes to default...

Thanks
[Xiaomi Redmi 1S] neonkat:
you can't change it even with mpdecision turned off...just deal with it:cool:.

ask questions in q/a thread
[Xiaomi Redmi 1S] leoism2:
Many faces it, its there since cm11 builds. It was solved in between , I don't remember which build of cm11 but it again appeared later on. And it's same in cm12.1 , if you use data net on sim 1 , if its active ( like you're downloading something which keeps the data packets active) you won't be able to receive calls or texts on 2nd sim, it will either show as busy or unavailable. so post the logs if you have , may be OP will solve it :)
[Xiaomi Redmi 1S] szxa21:
Just downloaded latest build. Will test drive and report any issues encountered in between uses.
[Xiaomi Redmi 1S] GoJo ^^:
Is xposed supposed to compatible with this rom..?
[Xiaomi Redmi 1S] akhilkumarco007:
Are you facing charging issues with stock 2A charger? Mine sometimes doesn't charge with stock charger and idk why :(
[Xiaomi Redmi 1S] doylefermi:
Bug: Reboot when OTG connected for 1st time.

System reboots when OTG is connected (happens only once) [MENTION=4517918]fefifofum[/MENTION]

Log: http://paste.ubuntu.com/12860516/ (2mb)
[Xiaomi Redmi 1S] fefifofum:
Flash this in recovery and let me know if it fixes camera hdr.

https://www.androidfilehost.com/?fid=24052804347841755
[Xiaomi Redmi 1S] jerryshaw12:
Its fixed hdr Thank you [MENTION=4517918]fefifofum[/MENTION] ! [emoji2]

~~(8:> android@root:/xiaomi/armani

---------- Post added at 07:50 AM ---------- Previous post was at 07:41 AM ----------

But i can't capture lens blur with google camera ?

When i enabled flash and enabled hdr, seems flashlight didn't turn off

Edit: lens blur worked!

~~(8:> android@root:/xiaomi/armani
[Xiaomi Redmi 1S] teddy0804:
I have wiped Dalvik Cache and Cache before flashing camera-hdr-fix.zip. Umm..., so you decide to take 3 different exposures to make a HDR photo.. When we take picture on HDR mode, the screen becomes full bright and then dark.. But the flash lamp still following the taking process of exposure.. So I think that is a bug.., but HDR feature are on the right way to be fixed.. :D IMHO, the step to taking exposure on beginning is low exposure (dark screen), middle and high.. And then the app process the 3 images.

edit:

the bug is when we have normal mode + flash on then we move/change to HDR mode, the icon flash will grayed but it still on when take picture.

edit:

the filename still not add HDR stamp. Ex: IMG_YYYYMMDD_HHMMSS_HDR

logs: View attachment 2015-10-20_12.40.zip
[Xiaomi Redmi 1S] puturaya20:
working for cm 11 ? :confused:
[Xiaomi Redmi 1S] phreakenstein:
HDR working with new zip. Though exposures for high and low exposure shots can be made more extreme though, details in extreme exposure areas in HDR are still quite low.
[Xiaomi Redmi 1S] kartrikpal:
Hey dev i did try to install Cm12.1 just by cleaning my mokee latest release , dalvic and cache it reboots again and again from Mi logo to official Cm logo till 30seconds and reboots again . Any Fix ??
[Xiaomi Redmi 1S] jerryshaw12:
Have you try to flash 6.7.1.0 firmware? It's on 2nd post

~~(8:> android@root:/xiaomi/armani
[Xiaomi Redmi 1S] Ajeyvm:
Awesome ROM but..

Best rom till date.. Ty devs... I had problem with my stock redmi 1S battery.. Recently I bought new battery of redmi 2, which works fine with redmi 1S..... The problem is after updating to build R21, the battery is not getting charged... No matter what all I tried... I took my friend's battery of redmi 1S, when I put that one, it's charging....the same problem occurred with MIUI 7...Guess the problem is with new kernel..... Currently running on Cm12.1 R20.... I want to update to the latest build.. is der any solution?
[Xiaomi Redmi 1S] Berinjo:
Same problem here :(

It charged till 70% and then stopped, then i rebooted in recovery and it's charging in recovery...
[Xiaomi Redmi 1S] szxa21:
Are the batteries identical with their contact points?
[Xiaomi Redmi 1S] Berinjo:
of course, now if it isn't it couldn't be charged when turned off or in recovery mode...
[Xiaomi Redmi 1S] szxa21:
I must say that HDR is working now. Sometimes the exposures are a bit edgy, i guess that can be fixed by future updates. Great work!
[Xiaomi Redmi 1S] hemantbeast:
Will any Sound Mod works with the latest build R22?

Because i tried xtreme audio mods with viper4android, the sound gets distorted after using it and the loudspeaker sound also fluctuated.

And then i remove the mods and reflashed the rom, it working fine with AudioFx but not with any Sound mods.

Please tell me any other sound mod is working great with the latest build R22.
[Xiaomi Redmi 1S] sinnerz2000:
Don't install any mods as R22 is still in testing phase. If you still do install a mod then please don't report any issues you face here.
[Xiaomi Redmi 1S] neonkat:
flashed that and here are some reviews:-

*hdr works fine but sometimes images are a lot brighter than non hdr images(non hdr images seems better then),but the best thing is that it got fixed!

*auto focus in video mode not working

*while recording,if you tap to focus(or i think it takes a picture),then the stop/pause button stops working and you have to close the app.

requesting someone to provide logs while in recording(3rd error)(if possible).
[Xiaomi Redmi 1S] okaraosp29:
Please provide an option that will enable soft button and disable hard buttons

I found away to do this on internet but I was only able to enable soft button, the hard buttons are still working. Please provide such option in next update if possible.

Thank you
[Xiaomi Redmi 1S] sinnerz2000:
Could someone test hdr with cyanogen camera? Google camera sometimes keeps flash on for hdr for not just this phone but for some others too, which is weird.
[Xiaomi Redmi 1S] ataralgin2:
Interesting thing - Location tile is missing in Notification drawer , pulled down from lock screen:

While is present, as set, in Notification drawer, when pulled from unlocked phone:
[Xiaomi Redmi 1S] sinnerz2000:
Go into notification drawer settings and uncheck "hide sensitive tiles when locked"
[Xiaomi Redmi 1S] jerryshaw12:
"Hide sensitive tiles when locked" will hide wifi, bluetooth too

~~(8:> android@root:/xiaomi/armani
[Xiaomi Redmi 1S] sinnerz2000:
Oh yea you're right. I checked on my phone too and although I'm running on like R19 its still here.
[Xiaomi Redmi 1S] Fallen_Knight:
anyone also have video recording bug when touching scrren? stop button greys out..and music in max volume is distorted and stutters..currently roled back to cm11r29...hope dev include update on cm11 too..kudos
[Xiaomi Redmi 1S] booo159159:
guysz camera stopped working after flashing this build and the new firmware.

i was previously on 20150726 without the firmware,

it's not an issue of hdr. camera completely stopped
[Xiaomi Redmi 1S] neonkat:
clean camera data and cache and reboot..it will work.