yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] mGforCe:
Here you go to Kernel Thread
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
I'm Back XD

So after a long hiatus i'm back,I've been busy with my life and college a lot in these day's,had to move to a new place from my hostel due to my health issue's so there was no internet connection :( it made being active a lot harder,college also started so was busy with it,had to fix people's isssue's with their teeth before fixing the issue's people with people's phone :D .Anyway,so Since i got settled in my new place,and with my life,i decided update my rom's,starting with DU.

So here it is:-

New Build is UP!!!

Changelog:-

-All Upstream Change's from DU since the last build till yesterday.

-Snap cam is removed and aosp camera is added for good,since snap is causing blue screen issue's for some.

Kernel Change's:-

-Few Governor's Added

-Faux Sound

-vibrator intensity control

-Doubletap2wake(i know i have been against this from the start but i thought of giving it a try as many people requested but do note if i find it not good or draining battery life or any of the overall stability of the ROM i'll remove it there won't be any vote on it i'll simply remove it,hence,it is just experimental and also disabled by default).

Thank's to [MENTION=4453409]premaca[/MENTION] for his work,i've used commit's from his Jerrica base,since i saw that some people were complaining about battery not charging completely,though i've to say i never faced it since the kernel base change,i saw that jerrica 2.1 is okay for you guy's hence i cherry-picked all commits.

Also do note that BEFORE POSTING ANY BUG REPORT,CLEAN FLASH IS REQUIRED WHENEVER YOU FLASH ANY UPDATE'S,ALSO NO USE OF ANY EXTERNAL MOD'S LIKE XPOSED,LOGCAT SHOULD ALSO BE POSTED,SO DO KEEP IN MIND ABOUT THESE THING'S,OR I'LL COMPLETELY IGNORE THE BUG REPORT

Anyway,time to Get Dirty
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] tzincbg:
Thanks. But I have high battery drain with the recommended settings. Which settings do you use in kernel auditor?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] mGforCe:
Keep it up :)

Thanks for all the work :good::good:. Hope with DU done for now, your other ROMs will also get update :)

If possible, have a look at the wifi saved network issue mentioned on earlier page here

Let's move to the kernel thread for further discussions.. as this is off-topic.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
Thank you i was about to say that. :)

Anyway I'm aware of this issue,i too face it sometime not always though but again i don't connect to that many wifi just college and home,i'll see what can be done to fix it,and about other ROM's i'll be updating them soon,next on the list is aokp then orion,aicp is already on nightlies so no problem there,i'll just conduct a poll to see if user's want to use the Xiaomi L kernel source in aicp too.I'm waiting on hearing from the Broken Team for BrokenOS as after all the issue's with XDA recently they don't allow all user's to build,only user selected by them can build for Unsupported device's and after the lead dev of bliss left,there has been slow development,i'll run a build after i download the repo's and see what to do about it.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] Amit_Optimus:
can I flash it on xiaomi L bootloader? I mean like new cm13 can be flashed on both.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] Saurabh_Umadikar:
Yes you can flash this on L bootloader too. I personally flashed it on the L bootloader itself without any hiccups.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] mGforCe:
Yes. Always take full TWRP backup so that in case of issues can restore back.

Sometimes trying can be much easier and faster way.!
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] Saurabh_Umadikar:
On the latest DU build I think the bug is fixed as I didn't faced this issue till now.

Also the DU's changelog says the same 'Fixed WiFi not saving'

And as you said you have merged the upstream changes and probably that has done the trick.

---------- Post added at 05:38 PM ---------- Previous post was at 05:27 PM ----------

@s.sawrav The Settings>Themes>Three dots>DU certified FC has kicked it again in the latest build.

Flashed the ROM by clean flashing (wiped cache, dalvik cache,system data, internal storage).

Here is the the logcat for the bug :- https://drive.google.com/file/d/0BzmG4dEpCEIwZHdYUFpMaEVvYk0/view?usp=drivesdk
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] Faisal Alro8y:
I want to say I admire your work and I have one question.

Is this ROM better or special than Cm13 because Im already on Cm13 but it in beta version not finished yet. So will you advice me to try this rom and is it faster and smoother?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
Thanks for the info on the Wi-Fi,didn't check DU changelog,anyway [MENTION=719438]mGforCe[/MENTION] do try and let me know,also [MENTION=6572120]Saurabh_Umadikar[/MENTION] the FC that you mentioned is probably from DU itself,as before too,there was no change's done to fix that FC it got fixed by itself so it's most probably Upstream issue,but i'll look at the issue and see if i can do anything about it,thank you for the logcat.:good:

BTW no need to wipe internal storage unless there is some major issue clean just means(System,data,dalvik cache,cache,that'll be enough)
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] Faisal Alro8y:
Anyone?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] amsyarregar:
could this rom install berserk kernel of cm base or just berserk with jericca's one ?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] darkkinder:
both work with DU.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] thonipublic:
I just tried this ROM (and Tipsy also), but I faced stuck in boot logo. I have waited for about 30 minutes.

I do wipe dalvik, system, data & cache, then flash ROM + banks gapps.

Tried aicp & rr, there were no problem. I use twrp multirom.

What's wrong?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] Saurabh_Umadikar:
For those who are looking for Double Tap to wake in the ROM you have install Kernel Adiutor App to enable it as the D2W is still in beta for us and D2W options are not baked into the phone settings.

And set the Double Tap to Wake on Halfscreen. [MENTION=4665275]s.sawrav[/MENTION] though I have set the Double Tap to wake to 'halfscreen' it works on fullscreen.

And when I set the D2W to 'fullscreen' the D2W gesture doesn't work at all on any part of the screen.(I am using the KA App by yoinx.)

Its just a minor bug and I reported it just for the sake of reporting.

If you want the logcat I can provide it.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] nairitmukherjee0007:
It lags while playing clash of clans.. and sometimes freezes.. but other than that its really smooth. Overall experience is good
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] arc7ful:
Excellent rom! Great features, really smooth and good battery life!

Just one small bug.. Blue flashing in screen while using camera or when flashlight is turned on...
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] mGforCe:
Yep, the wifi saved network issue is sorted out :good::good:

And yes I can reproduce the bug as mentioned by Saurabh...I doesn't impact me but just re-confirming.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] salah6805:
[MENTION=4665275]s.sawrav[/MENTION] I got camera FC many times and I use using flashlight too with camera do u need logs then I'll reproduce this issue and give u logs
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
It's totally up to you.

I'll check out the issue,but as far as it worked for me but I'll check because I'm not sure,if i face it too I'll let you know if i don't then I'll need logcat.

No blue screen issue,i removed snap and added snap for that same reason,previously the blue screen issue wasn't there on aosp cam build by pirej,i hope you did a clean flash.

No problem i got the logcat from [MENTION=6572120]Saurabh_Umadikar[/MENTION],I'll see to it,but I'll like to mention as i did before that it is probably something to do in DU source,I'll check their JIRA if there is any bug report there regarding the issue.Also thanks for confirming about the Wi-Fi thing.

That's unusual since you're the only one with this issue,i would recommend you to clean flash the build also don't use any external mod(xposed and all),but still shoot me the logcat.

Also rather then asking to report with a logcat it would be great for everyone if the logcat is posted with the issue mentioned and this i request to everyone.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] salah6805:
I clean flashed this build and I am not using closed I'm using latest jerrica kernel v3.1 and I reproduced the problem and here is your logs. https://drive.google.com/file/d/0ByC950Uot5udd3hFZzJpVTNYSUU/view?usp=drivesdk
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] Saurabh_Umadikar:
[MENTION=719438]mGforCe[/MENTION] How is the battery life you are getting on the latest build?

In the last two builds I was getting fantastic Battery life of around 6hrs of SOT without any mods and all stock settings.

But on the latest build the battery life has decreased drastically (4hrs of SOT with same usage).
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] Saurabh_Umadikar:
The Developer has already mentioned to not to report bugs if you are not on 100% stock ROM.

Wait for him to merge the upstream changes from Jerrica.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
Please Understand that By clean flash and no use of any external mods i meant the stock ROM as it is,no modification of any kind,you flashed another kernel,clean flash and use the stock one and then report,I'll still have a look at the log's

It is probably due to dt2w,battery drain is the reason i didnt want to include dt2w and that is the reason i had it experimental, if more user's confirm this I'll remove it from next build.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] salah6805:
BTW u r using jerrica kernel so if a flashed latest one so what's wrong with it
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] mGforCe:
I am monitoring it as we speak...I just flashed this ROM in evening and now was looking for some kernel.. btw even in past I didn't get more than 4 hours SOT but then had dt2w enabled through external kernel.

hmm... let me observe it now with default kernel and report back.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
Do try to understand for the last time as i will simply ignore any further post related to this,the kernel currently used is based on jerrica but go to github and see the difference between the present jerrica source's and my source's, see the number of commits between jerrica kernel source and my, anything could've broken it or may not have, i can't confirm that as i haven't flashed it so that's why if you flashed it and then the camera FC's it's not my problem or a ROM issue,don't post it here,only post the bug's which you face with the stock ROM that i provided/uploaded.I hope you understand as i couldn't explain to you more.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] Suvas@:
Which du-gapps should I choose from the 3 option?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] arc7ful:
I did clean install of 0617 build. I'm not using any mods. I used open gapps micro
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] mGforCe:
You can use any one as per your preference....

Sent from my mobile device
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] crazyhorsea29:
It's nothing much, but I'm bothered by this.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] tzincbg:
Do you also suffer from lower lte and mobile internet speeds than on other ROMs?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] crazyhorsea29:
Nope. Speed was fine. Same as the other ROM if not better. I was just bothered by the 2 apn setting which practically the same.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] tzincbg:
Awesome ROM. Heating problems resolved - I use interactive governor, 200 min, 1152 max freq. IO scheduler siopus. GPU - 200-310 mhz. So far no blue flashes.

Wifi now remembers encrypted networks,

I don't have the same HTC to test bluetooth in the same conditions - pairing was instantly successful with a Huawei Y 330 . With a Nokia 215 I had to activate "automatically connect"( no confirmation) on the Nokia to pair successfully. Otherwise it produced an error.

---------- Post added at 06:00 PM ---------- Previous post was at 05:56 PM ----------

One offtopic question - feel free to tell me to which other thread to move it:

Which kernel.gives you the best battery life?

The integrated modified jerrica in the ROM, bersek, jerrica or bersek-jerrica?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] proudh0n:
[MENTION=4665275]s.sawrav[/MENTION] I've tried to flash this room four times (with and without Gapps, I even removed SuperSU from the updater script) without success... . Always clean flash (even internal SD). Never boots, it remains on the DU animated logo.

The last ROM I had was Official Mokee Release (not nightly), and before that I had the las LP Miui 7. I've read that LP bootloader is compatible with DU, as Jerrica kernel uses same base, but maybe that is the problem.

I provide logcat to see if something needs to be changed on DU or if I'm doing something wrong. Many thanks for your attention :)

EDIT: I tried to flash Validus ROM and had the same issue, never boots. At last I flashed last official CM13 nightly and it booted perfectly at first try... :confused:
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] maruky:
The camera stopped while using hdr mode & bug setting brightness
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] mGforCe:
[MENTION=6572120]Saurabh_Umadikar[/MENTION]

Ok, battery stats on latest build.. Since my last post to you (when battery was charged to ~90%) till now when battery still has around 22% juice left with SOT of around 2 hrs. The settings / kernel were all stock...

Phone had two sims active, and was used for calls, whatsapp chat etc.No mobile data.

Pls comment on same..
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] Saurabh_Umadikar:
That are decent battery stats.

With my medium usage I'm getting 4-5 hrs of SOT.

One more thing are you able to see 720p 60fps video option on YouTube App like this:-

I am unable to watch 720p60fps videos on the latest DU build (The last possible resolution becomes 480p then for 60fps videos).

I didn't faced this issue on Official CM13 nightlies and even on MIUI 8.

P.s:- I used Slim Mini GAPPS and the screenshot attached is just for representation from CM13 ROM.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] siddjazz:
Solved my own problem :)
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] KnightRoo:
Ping spikes

I'm currently on DU_wt88047_6.0.1_20160617-0355.v10.3-DIRTY-DEEDS

and ive been encountering this ping spike every about 10 secs.

this is the best result i got by setting the mobile data to WCDMA only, default setting will give me RTO instead of high ping (probably due to trying to get LTE?)

is the new build have fix of this?

pic attached is ping result w/ phone's hotspot tethering. Ping on phone shows similar result as well.

also, its unlikely my ISP problem since i didnt encounter ping spike on CM
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] tzincbg:
Same problem here.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] mGforCe:
I opened same video and it didn't even saw 720p option...it was only upto 480p.

Sent from my mobile device

---------- Post added at 09:05 PM ---------- Previous post was at 09:03 PM ----------

Edit: Read didn't even show 720p option.

Sent from my mobile device
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] Saurabh_Umadikar:
[MENTION=4665275]s.sawrav[/MENTION] can you look into this matter as DU is only facing this issue/bug and its not with MIUI or CM13.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] tzincbg:
You can play 720p with the tubemate app.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] anandmore:
I am getting 720p option in YouTube.

I am using TB clear gapps.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
As far as i remember i changed regarding this but this thing still there,i'll see if i have that commit added or not,i think i must have forgiot to add it since it is showing two access points,i'll see what i can do.

I haven't tried any other kernel yet and for me the default kernel works fine,you can try experiment with other kernel's and choose what you feel is the best,normally i don't play much with kernel,ask our kernel dev's they would know much more about it then me or search some kernel threads on XDA and just choose what you feel is the best for your device.

This is quite weird,L bootloader should boot fine,no one has complained so far,i'll have a look at the log's,if you can,grab kmesg too.

HDR mode doesn't work on the default aosp cam,try any other 3rd party camera app with HDR mode,it works fine.

TBH i currently don't have micro-sim to test this out as i have onyx as my primary device and it uses nano sim also there was a lot of things different regarding network in DU than CM as i had to remove/modify many thing's(from CM tree's) to get cellular network working in DU,so maybe that would be one of the reason's you may be encountering ping spike's in DU and not in CM,i'll see what can be done.BTW have you tried with any other cellular operator but since you mentioned that you didn't have this with CM I don't think that will matter.

EDIT:-So, since [MENTION=5065706]pirej[/MENTION] confirmed it,the issue is most likely with your isp,like i said try with any other cellular operator and check it out.

I can play in 720p no problem there,i flashed pico gapps and installed youtube from play store.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] Saurabh_Umadikar:
[MENTION=4665275]s.sawrav[/MENTION] Try playing this video at 720p 60fps in the YouTube App :-

https://youtu.be/lfwjzNB--5k

Its being played at highest resolution at 480p on DU while on CM 13/MIUI 8 I can easily play it at 720p60 resolution.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] tzincbg:
Iat happens with the 2 operators I use sim cards of, so...
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] aang741:
Random reboots without touch anything and draining battery :/
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] MirRooted:
Dear sawrav.

I have been install this rom as your said. But i got "can't connect camera" if trying to take photos. I have attached my log. Can you help me?

Regards,
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] pirej:
Then touch something ...

Im (my wife)not using the latest build, so i dont know if there are some new upstream bugs, but my phone is smooth, no complains, excerpt that i cant see 720p (60fps) youtube, and the double apn entries in settings.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
That's quite specific -.-,I'm uploading the new build in a while,try that out and see also next time before reporting please provide logcat.

I don't know why you have this, camera work's fine,i hope you're not using hdr mode,I'll be uploading 10.4 in a while try that or clean flash the build the build that you're on.

Do you have any idea why the 60 fps thing's not working 720p works though but not on all video's, i saw similar complain on onyx too,so makes me think that maybe it's from DU,I'll check DU's Jira if there's any bug report regarding this.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
Try flashing this kernel after flashing rom and remember to clean flash
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] MirRooted:
I have been used hdr mode, and never trying normal mode. I'm on another custom rom now. I'll try your rom next moment. Thanks for your hard work.:)
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] proudh0n:
In 10 minutes I'm going to clean flash DU, I'll try to use this kernel. Thanks :)
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
Please read the thread before posting, i have already mentioned that hdr isn't working with default camera,ise third party app to use hdr mode.

Alright do flash the kernel and let me know.

BTW about the 720p60fps thing on YouTube i can confirm that it doesn't work(although 720p works fine)also thanks to [MENTION=7109851]anandmore[/MENTION] to confirm it again for me,and I'm pretty sure it's an issue with DU source as i tried in OrionOs that i built and 720p60fps work's fine.I'll see what can be done to fix it or wait for DU team to fix it if their official device's face the same thing.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] proudh0n:
It booted on first try!! Many thanks [MENTION=4665275]s.sawrav[/MENTION] . May I ask what the problem was?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
I actually can't pinpoint the exact reason causing it but it's your bootloader for sure,may i know what device variant do you have and the last miui rom/fastboot rom that you flashed?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] proudh0n:
Yes, I have a Redmi 2 2014811 (1GB RAM). The last MIUI that I had installed was MIUI 6.5.26 from xiaomi.eu https://xiaomi.eu/community/threads/6-5-26-last-miui-7.31811/
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
10.4 is UP

I thought that redmi 2(1gb variant) did not have LP,anyway since you are the only one facing this problem,for now just flash the kernel i gave you before after flashing any further update's,till then i'll lock down what it really is.

BTW

New Build is UP!!!

-All the goodies from 10.4 is included.(Thanks to DU team)

Version 10.4
- Update to Android 6.0.1_r54
- Update SuperSU to v2.76 stable release
- Lots of translations
- Lots of changes and fixes to DU Certified
- SmartBar/Fling clear notifications action
- SmartBar/Fling volume panel action
- SmartBar editor action
- Add a visual cue when editing SmartBar
- Reset SmartBar button animation/pressed state when cancelled
- Add SmartBar save/restore profiles
- Add a visual cue when editing SmartBar
- Add volume tones back
- Add volume dialog timeout
- Fixed WiFi not saving bug
- Add edit action for screenshot notification
- Add support for gestures on certain devices
- Add draw stroke width support to Screenshot Crop/Share
- Add blur feature to Screenshot Crop/Share
- Add launcher mode to OmniSwitch
- OmniSwitch launcher mode day 0 fixes
- Fix a glitch causing shadow not to be reset when header disabled
- Fix one more misbehaving shadow
- Fixed storage permission issue for attachments
- Fix playback for mkv files with lacing
- Cleaned house in Dirty Tweaks, layout fixes
- Clean up System app remover
- Clean up and fix potential NPE's in Recents
- Move DU logo under statusbar items
- Add missing INTERACT_ACROSS_USERS_FULL permission
- Adding NullPointerException check in DocumentsUI
- Add new Theme Provider icon
- Remove unneeded top margin in QS tuner
- Set zygote process priority to -20 to speed up VM startup time
- Call eglReleaseThread in threadLoop for bootanimation
- Enable single tap rebinding for hwkey back and home
- Support MPEG4 codec in Matroska files
- Pass AAC profile from MatroskaExtractor
- Adds some parsing capability
- Support HEVC tracks in Matroska containers
- Remove charging from persisted function composition
- Expose extended statusbar shadow values for themers
- Use correct read/write perms for provider
- Update controls preview to properly render themed assets
- Apply band-aid to ensure theme provider preview permissions are correct
- Use proper API for Fling dialog handling and make them cancelable
- Add API to get detailed state of DeviceIdleController
- Create configurable default expanded desktop style

Just Flash it and Get Dirty

ENJOY!!!