yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] pirej:
Ok, dont flash the older kernel then, but the kernel is the issue, our device tree's are set to have fm working without fm firmware load/download, and that's incorporated in the kernel too, and the new Xiaomi kernel doesn't have this.

So, to get FM working with the new sources.. either we adapt the Xiaomi kernel to match our tree, or we adapt our tree to the Xiaomi kernel..
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] wakaranay:
FM not working on latest build and latest kernel. " FM operation failed. If the problem persists, pls turn off FM and turn it back on. After turning off the fm then on still same error occur.

i did also flash jerrica kernel and still same error.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] pirej:
Well... "jerrica kernel" is the kernel that makes the FM not working, and the SAME kernel is already included in to the latest DU build.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] wakaranay:
Thanks. waiting for the fix. MPDecision not included in latest kernel too?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] NeoDarkness:
Keyboard not stretch haha ?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] tzincbg:
Fixed:

1. Thank you for the Adaway workaround - the deleting of hosts.og and hosts.alt worked. Now it stays activated on reboot.

2. If your mobile internet or lte is not showing - select the APNs in settings -more - mobile - they are there, but not activated.

3. DO NOT USE AUDIOFX/VIPER4Android - it will break audio playback and uninstalling its driver only partiality fixes playback - still erroneous routing to speaker/headphones. The issue is described in the section for our precious in the russian forum 4pda. Onlly clean install helps. You can get GOOD audio from POWERAMP and EQUALIZER FX from Google play.

4. Since there is no double tap to wake - you can use FLIP COVER app to lock/unlock with proximity sensor. Gravity screen doesn't work well on this ROM.

Not fixed:

1. Waiting for FM radio fix. A "workaround" (well not really) is to install PcRadio/Radiotunes/Digitally imported and use low quality stream settings - they use just a little data and can even stream when your fast megabytes are over and you are limited to 64kbit/sec. However if after you reach your data limit your operator doesn't limit you but charges you - BE CAREFUL.

2. Headphones control(middle button) does work - however Xiaomi's headphones also have vol+/vol- controls that

worked well on AOSP by Pirej

but not on Dirty Unicorns.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] tzincbg:
Use "SMART KEYBOARD":
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
[MENTION=5065706]pirej[/MENTION] is saying that the issue is with the new kernel source,flash the kernel with old source and then try the fm app.

MPdecision is there.

Keyboard does work properly on landscape, issue on your end.

BTW this is to everyone,as i mentioned before don't post the same issues again and again,I've already acknowledged the fact that fm is broken,It'll be fixed.

EDIT:- [MENTION=5065706]pirej[/MENTION] I'll check with old kernel and see about the fm issue.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] crullick:
V4A working flawlessly for me >>

- i've flashed the first zip i ran into [MENTION=243864]xda[/MENTION] (maybe i was lucky), not as a part of some complex audio script << just V4A; and my player (stellio) recognizes it as "system equilizer"

- no fc, or "fm operation failed....", but another weird message: "please plug in headset to use fm radio" :D

- using berserk kernel
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
-Headset is required to use FM,did you try it with headset,is the fm working for you,if it is which berserk kernel are you using?berserk(based in the old source's) or berserk-jerrica?

EDIT:-So [MENTION=5065706]pirej[/MENTION] i tried the kernel with old source's and the FM works,so the FM issue is related to new kernel source,i'll see what can be done,either modify the device tree or the kernel.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] tzincbg:
1. The issue of Viper for Android/Audio FX is for the newer versions of 04 may onwards, really. Can you point me to the zip you flashed? Was it on the latest kernel?

Otherwise Equalizer FX works, but only if you flash this zip first in TWRP:

http://www20.zippyshare.com/v/KmJhdPxG/file.html

EDIT: VIPER 4ANDROID is amazing. But DO NOT USE 5.4.

Use 4.71.

Otherwise only problems.

2. When you power on the phone LTE starts great than becomes sloooow. On both slots on both operators. I have to force the phone to gsm/wcdma auto( 2G and 3G only)to have fast internet speed.

This was not so on Pirej's ROM.

Edit: Dual sim/ internet management is not good on this ROM. Sometimes LTE is slow and restart fixes is temporarily. Sometimes switching to other sim does not work. Sometimes indicators lte H+/ E disappear although there is mobile internet - again full restart is needed....
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] premaca:
Sawrav, don't change the tree for these small things, we will fix it in kernel. This commit https://github.com/premaca/Xiaomi_Kernel_OpenSource/commit/6e4cbc0e424779a375be1083b9b499768910975c should fix FM.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
Thanks man,will run a build.:good:

EDIT:- [MENTION=4453409]premaca[/MENTION] So i tried with the commit you gave me and still no go for FM, did you try it?Is it working for you?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] premaca:
Well i did try it on Tesla once after the commit made, and it worked for me. I can double check again.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
Yes,please do,also if it's working can you send me the jerrica kernel,with anykernel so i can try it on DU?

Thank You.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] thonipublic:
I had installed DU for more than a week. Very smooth and great battery backup. But now i face an issue, i can't connect to wifi with 802.1x EAP security. I not faced this issue in other roms.

Does anyone face it ?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] premaca:
Try this https://www.androidfilehost.com/?fid=24591000424940351, its just built with that commit. Nothing more. I tested on Tesla and FM is working fine.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] tzincbg:
Can this kernel be flashed directly on DU rom or do I have to modify something? Excuse me for being impatient.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] premaca:
You can flash! As always, back up your current Kernel.

---------- Post added at 09:15 PM ---------- Previous post was at 09:02 PM ----------

Edit: If you flashed, test FM and let us know, so we can fix it if it ain't.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
I flashed it and it's working,the problem with me was that i didn't pull the commit(silly me:D),BTW sorry for the false alarm,i pulled the commit to my local repo and it's all working fine.Thank you so much and sorry for the false alarm again. :good:
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] pirej:
New build out :)

DU_wt88047_6.0.1_20160616-2100.v10.3-DIRTY-DEEDS.zip

changelog from the lash build from [MENTION=4665275]s.sawrav[/MENTION].. not much but... anyway :)

- i switched to the Xiaomi kernel from [MENTION=4453409]premaca[/MENTION] too

- FM works again

- Added support for Ambient display

- Upstream changes

I made this build just to try the new kernel, and its working great , thanks [MENTION=4453409]premaca[/MENTION]
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] NeoDarkness:
Good work pirej ?, sim status and 3 dot in theme are not fc again but camera change to AOSP camera no snap camera ?

Edit: radio FM no sound if i change to speaker maybe the problem in audio calibration and mixer_paths and maybe new kernel must change audio calibration and mixer_paths to default miui lollipop
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] wakaranay:
FM on speaker working here. Yeah snap is much better camera than aosp.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] NeoDarkness:
Yes its work i forget to increase volume haha
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
You beat me to it,i was just about to post the new build,with all the fixes :D ,not just my system but my net is also freaking slow, :(

BTW ,Thank you for the new build and the fixes. :)

EDIT:- [MENTION=5223411]NeoDarkness[/MENTION],I used the FM(although from my build but the same kernel source) and it's working absolutely fine on speaker,it's an issue on your end,clean flash and try again.

Saw your post from before.Anyway i'll release a build later on today or tomorrow with snap and ambient display thanks to [MENTION=5065706]pirej[/MENTION] for pointing out to me the commit also [MENTION=5065706]pirej[/MENTION] this time i don't think you'll face blue screen,that you used to face before with snap cam. :D:good:

Thanks again to [MENTION=5065706]pirej[/MENTION](for helping me out with DU) and [MENTION=4453409]premaca[/MENTION](for Xiaomi L kernel adaptation and fixes).:good:
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] rohitsonone:
[MENTION=4665275]s.sawrav[/MENTION] Thank you very much for this awesome ROM.I never really used ROM other than cm13 on this device but this ROM looks like my next daily driver,I love due certified app concept on a sidenote I'm neotrin on telegram,how's your health? Get well soon. #staydirty.

Edit: I looked at [MENTION=5065706]pirej[/MENTION] build just now,I don't have data now ,I don't care about FM anyway but beside from that what am I gonna missing on?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] Saurabh_Umadikar:
The latest build from [MENTION=5065706]pirej[/MENTION] is the most stable DU build till date.

FM, Three dots in Themes>DU certified FC and SIM Status FC is fixed in this build.

Almost no bugs in the ROM.

The only thing you will miss in this build is Snap Camera but s.sawrav is going to upload a build with Snap Camera soon.

I personally don't care about whatever the camera application be the Image quality will remain ****ty on our Redmi 2 as it has a poor camera sensor.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] wakaranay:
Please add fast charge.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
I'm recovering well,although anxiety,panic attacks and headache's are still there :( But much way better than before.:good:

Fast charge is already there in my build's.

Speaking of which:

New Build is Up!!

-Upstream Change's(DU certified app FC fixed from Theme's,check github for more)

-SIM Status FC Fixed.

-Ambient Display added.

-QCOM FM app removed,default FM app added.

-LED blink fixed.

-Extra kernel feature's include's Fast Charge enabled by default,also from now on the default kernel will be based on Xiaomi L source's.

Once again thanks to [MENTION=5065706]pirej[/MENTION] and [MENTION=4453409]premaca[/MENTION] for all their contributions.:D:good:

Now it's time to Get DIrty

ENJOY!!!

EDIT:-So,i found someone saying that they were having problem's with headset control,i'm using samsung's headset and the headset control's work fine.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] wakaranay:
on pirej build theres no fast charge. anyways downloading your latest build.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] rohitsonone:
Its nice hearing you are getting better,just take care of yourself and keep building this awesome ROM.

---------- Post added at 01:36 PM ---------- Previous post was at 01:28 PM ----------

Thanks for clearing it up,I will download latest build as soon as I can,though I wonder could I dirty flash it over my existing setup?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] pirej:
[MENTION=4665275]s.sawrav[/MENTION] please.. how/where did you enabled "fast charge"?

Unless YOU enabled/added it your self.. i think that you made a mistake, there is no fast charge in the new kernel.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] s.sawrav:
It's not there by default, actually from the first time i used the new kernel,i added fast charge,cherry-picked it from berserk,it's not there in stock, although i found the stock charging good too,but the usb fast charge was not there.

EDIT:-Here's the link to the commit https://github.com/ssawrav/Xiaomi_Kernel_OpenSource/commit/c4aa0b487805e1708bc2434bf42c1428d7fc80d6
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] pirej:
Ok, thanks for the info.

If anyone tried my build.. please try/test the charging speed, i have enabled(it was present but not enabled) the xiaomi charging in my build.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] wakaranay:
ive tried your build. and theres no fast charging.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] pirej:
Did i said i have fast charging??

Again,

If anyone tried my build.. please try/test the charging speed

.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] chteh0721:
hi, may i know both sim card support 4G data for this rom?or only sim 1 supported?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] NeoDarkness:
Same like sawrav build but if i input to PC sawrav faster than your build
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] Saurabh_Umadikar:
[MENTION=4665275]s.sawrav[/MENTION] I flashed the latest DU build you uploaded couple of hours before.(At the time of flashing ROM I kept 2 SIMs in the device).

When I removed 1 SIM the device is rebooting in loop.

Logcat:- https://drive.google.com/file/d/0BzmG4dEpCEIweXdERUljelNEZW8/view?usp=drivesdk

Is this a bug (hope so not) or my Device problem(most probably yes)?

If its Device problem then the poor Xioami ASC in Mumbai will keep my Device with them for approximately 1 month till the Motherboard gets imported from China (whatever maybe the problem they just pushes us to replace the Motherboard).???
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] NeoDarkness:
Anyone can confirm sometime get blue flash during camera ?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] Saurabh_Umadikar:
No I am not getting any blue flashes using camera app.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] NeoDarkness:
I get blue flashes using camera but its very rare ?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] neerajkumar18:
which version? i confirm this blue flashed in DU 10.3 june 10th build
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] NeoDarkness:
Last version
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] pirej:
I have made a new test build using the lollipop camera blobs, and the latest mm camera hal from caf, so i need a tester(s) that could make a full log of the first boot after flashing , and a full log from the time you try the camera..

Its a full rom.. a clean flash with all the wipes would be prefered.

DU_wt88047_6.0.1_camera_test.zip

thanks

edit: it has the new kernel..
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] Saurabh_Umadikar:
Quoting myself, I confirmed that its not the ROM bug and it was some SIM tray defect on my device.

Went to Xiaomi ASC and the estimated time for repair is 2 days (Thank God.!). [MENTION=5065706]pirej[/MENTION] I am really sorry I can't test out your cameratest.zip as my device will remain with the ASC for next two days.

Will definitely flash the build once I get my device back and will provide you all the necessary logs.
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] NeoDarkness:
Can't connect to camera and camera lost?

Itest other camera had same result

http://cloud.tapatalk.com/s/576464cc4b18e/log.zip
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] wakaranay:
what i mean on sav's build it is more faster than your build because on his build it has fast charging. still not clear?
[Xiaomi Redmi 2 ROMs, Kernels, Recoveries, & Other ] rohitsonone:
[MENTION=5065706]pirej[/MENTION] [MENTION=4665275]s.sawrav[/MENTION] you two should make some arrangement for posting these builds on first post like kuma did.It gets confusing when downloading a new build ,you have to read through pages to download a latest build.
[LG G Watch] miladkalbasi:
Hi guys

I've tried everything, i bought this watch today and i was so hyped about it.

I tried to update it to 6.0.1 using adb on my mac.

The problem is when i do this command "adb reboot recovery" and then "adb devices" it shows no devices! (before entering recovery it actually shows the device in the list!

This is so wierd and there is absolutely no solution that worksfor me... anyone has any ideas?

Edit: The problem more clearly:

Ok guys so the problem was that my LG G Watch (square) for some unknown reason wasn't available in recovery mode through adb, that means when i would use the command "adb devices" in recovery mode, i would see the empty list without any devices, while anywhere outside the recovery (system, fastboot etc) i was able to communicate with the device. (Since i was so frustrated i didn't make it clear enough in the original post :D) And my watch was on 4.4! ( :| )

The solution:

Ok, so the problem was the watch, because i tried a OS X (and a windows on the same mac) and 2 windows laptops, all with drivers installed (and done the "update driver..." stuff on all) and the problem still persisted.

This solution is for people whose device is not displayed while in the recovery mode in cmd/terminal.

This is what i did: (i didn't do this in the order because i literally tried every solution on the internet! but this is the order that i was finally able to solve the problem with.)

1. I downloaded this tool from this topic (go to the link, click on LG G Watch > G watch script tool > LG G Watch Restore Tools V9.8.zip)

2. Run this bat (i used a windows but it works on the mac too) 1 LG G Watch Tools for Windows.bat

3. Let it recognize the device

4. When the blue list comes up choose 4 ( you should be in bootloader)[cmd > adb reboot bootloader] when it's done, your device should be on 5.1.1.

5. Download this tool from this topic

6. In cmd/terminal type "adb reboot bootloader" then type "fastboot flash recovery [draggedfile] and drag the downloaded .img to the cmd and press enter.

7. Now you have installed a custom recovery called CWM

8. In cmd type "fastboot reboot" then after reboot "adb reboot recovery"

9. Now inside this tool swip down to "install ..." and swip (to right i guess) and stay here on the watch.

10. Now in cmd type "adb push -p [draggedfile] /sdcard/0/Download" and drag the 6.0.1 OTA update and press enter

11. Now the update is in your device as a zip file in this path : /sdcard/0/Download (it didn't work when i wanted to push it to "/sdcard" folder so i had to go deeper)

12. Now swip on install from sdcard and navigate to the path and choose the zip file.

13. Done! you have successfully updated your device without going into recovery mode!

Thank you very much @lfom for sticking to this topic and helping out in the process!
[LG G Watch] miladkalbasi:
I just tried it with windows as well and ain't working... im so frustrated...
[LG G Watch] lfom:
There's a guide in General section that you may want to read:

http://xdaforums.com/g-watch/general/guide-how-to-fix-6-0-1-adb-bug-t3347122
[LG G Watch] miladkalbasi:
Thank you very much for your response, but my watch is on 4.4w and i just want to update it because im not able to update it via the sysyem update function... So i guess that guide is no help to me
[LG G Watch] lfom:
So you are on 4.4 and want to update? What else? Rooted and custom recovery?

I think there's a tool to flash stock LG ROM, you may want to search for it. This tool may help too:

http://xdaforums.com/g-watch/development/script-lg-g-watch-tool-t2820863
[LG G Watch] miladkalbasi:
Yes, i bought this watch yesterday and it's on 4.4 and i want to update to 6.0.1 (or any newer update)

I have never had developer experience with any android device before so i learned everything in like 6-7 hours, therefore there is a high probability that i might have made mistakes in the way but here's what i have done so far:

1. i tried to update the watch from "About" on the watch itself but kept getting "Something went wrong" error and couldn't fix it.

2. so i moved on to use my mac to do the update which took me 4-5 hours to figure out what SDK platform tools, ADB, OTA updates, bootloader, fastboot etc means.

3. i figured out all this and went on until i reached here: i have to use this commend in the terminal (it's like windows cmd): adb devices

so that i know my device is there and authorized on the companion android device (i see the device in the command shell), i then proceed to this command : adb reboot recovery , as soon as i type this command and press enter, the device reboots and enters recovery mode but it is also vanished from the system, by typing adb devices i no longer see it, i just see an empty list.

4. i also did unlock, wipe, restore back to stock ROMs (5.1.1 ROMS), tried TWRP (i then realized i can't do OTA updates with this tool)

5. i did all of these steps several times and always got the same results!

6. i also tried the windows on my mac and got the exact same results.

7. i tried 3 different windows laptops in the household (2 of which run win 8 and one runs win 7) but was not able to make it through installing the drivers (i couldn't see the android device when i clicked on update drivers...)

no i haven't rooted the device

Thank you very much for your suggestion, i have already tried that and it doesn't actually give me any more options that i already have.

I've come to the believe that it's either my laptop (which only has 2 USB 3.0 ports and some people say it causes issues) or my watch. I have to try to use a different computer but i don't think i can access more computers or solve the driver problem on the 3 existing ones.

I really wish i could solve this by myself, i live in a country that i can't access warranty and stuff so i either have to fix it myself or get a professional's help.
[LG G Watch] miladkalbasi:
i found this topic as well, that's exactly my problem.

I can communicate with the watch in bootloader and TWRP but not in the recovery mode (stock)
[LG G Watch] lfom:
Well, that thread has a tip about how to access watch in Recovery, it says it will be listed in Windows as an unlisted device, you have to install drivers for that...

It seems that 4.4w is too old so it won't get updated. But I remember reading another thread where the user was able to update it, probably using a full image of system or using TWRP.

If you can get to stock 5.1.1 I remember reading that if you install TWRP you can flash 6.0.1 zip, so maybe it's the best way to go. Also, probably you can force OTA on 5.1.1 (maybe any 5.x) if you do a watch reset while it's in cradle.
[LG G Watch] miladkalbasi:
Thanks for your response.

Do you mean i use boot, recovery, and system images to get to 5.1.1? i have already done this (through bootloader) and (i guess it's called the ROM?) it's on 5.1.1.

I used TWRP but when i try to use adb sideload and use the 6.0.1 zip file it gives me error saying it failed. (gives me this error on the mac : Total xfer: 0.00x , and "failed" on the watch)

I used CWM right now and it gives me the same results as the stock recovery (not being able to communicate when i enter recovery but when i go back to menu i can communicate with the device again!)

Is flashing the update more complicated that i think it is? i can't find a tutorial for TWRP and flashing an update...

O and about the last part that u added, i don't know how to force anything in that matter...