yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 3 Questions & Answers] kitbor:
Guys..i have redmi note 3 sd 650 miui 8.0.6...how should i install recovery..i wan to try cm roms??so many confusion regarding which is the right recovery to flash on my device...
[Xiaomi Redmi Note 3 Questions & Answers] skad00sh:
1. Yes use Alka. It has all backup options. You will filnd EFS and other backup options in it. Since you have unlocked officially, use Alka only. An you can install it directly through TWRP install. No issues.

2. No need to replace emmc_appsboot.mbn for EU ROMs. They are specially made for unlocked bootloader devices only. So you can directly flash EU ROMs without any worry.

No need to replace emmc_appsboot.mbn for EU ROMs. They are specially made for unlocked bootloader devices only. So you can directly flash EU ROMs without any worry.

Checkout 4th post of mine in this thread or click below:

http://xdaforums.com/showpost.php?p=69920880&postcount=4
[Xiaomi Redmi Note 3 Questions & Answers] hyperorb:
Ok. Will install Alka.

By the way, I have unlocked unofficially. Hope that is ok.
[Xiaomi Redmi Note 3 Questions & Answers] $lim $hady:
Thank you.. I flashed the latest 6.12.1 while waiting for the reply got stuck in mi account log in screen.. Clean flashed 6.11.3 and then dirty flashed 6.12.1 and lazy flasher.. Works perfect.. Using Cofface TWRP
[Xiaomi Redmi Note 3 Questions & Answers] hyperorb:
Is this latest EU - IAOMI.EU_MULTI_HMNOTE3PRO_6.12.1_V8-6.0.ZIP

What issue you faced on mi account?

Can this rom be used as daily driver? Any specific issues.

Going from global stable -> EU can you pls list down steps (Unofficially locked + Cofface TWRP + Rooted + Latest Global stable)

As skad00sh suggested, I will update to Alka for EFS backup.

Thanks
[Xiaomi Redmi Note 3 Questions & Answers] hyperorb:
[MENTION=5409817]skad00sh[/MENTION]

The alka recovery in your mega folder is 37MB whereas the one by alka on miui forum(http://en.miui.com/thread-282773-1-1.html) is 19.19 MB. Not sure which one to install.

Edit : Damn.. it is a zip file. Please ignore my post.

Edit 2 : Updated to Alka and took a backup of all partitions
[General Questions and Answers] muhammadnawazmn13:
Hello evry1 :) . i am new here. i own a lenovo a369i(rooted).i want to customize it. so please anyone send me a modded/customized systemui.apk. thanks in advance. :o
[XDA Assist] Nikhilesh01:
i have upload this rom for a63 and every app is updated i do not do like another developer
[XDA Assist] sawdoctor:
Greetings and welcome to assist. I'm not quite sure what you are asking us

Regards

Sawdoctor
[G4 Q&A, Help & Troubleshooting] radirajjj:
Hi..

Is it possible to unlock lte bands to use india jio volte (without using their g4 voice app)
[Sony Xperia M] Nitin69:
Is there any Nougat rom for xperia m2 dual egale D2302
[Windows 10 Mobile] Andrew[N]:
Hi everybody.

I own Lumia 735 and am trying to enable call recording feature on it (it seems to me that it's software, not hardware).

I found some registry values, which are maybe connected to this feature.

HKLM\SOFTWARE\Microsoft\Phone\Settings

There're three values here: PreferredRecordingApplication, RecordingFeatureDisabled, RecordingOff.

HKLM\SOFTWARE\Microsoft\CallAndMessagingEnhancement

Here I have only Block&Filter parameters, but, I think, that call recording keys should probably be located here too.

Can anyone with Lumia 550/650/950 reply, what keys and values he has? I'm interested in that two hives, but if you'll find something else, it will be great.
[Windows 10 Mobile] Knight 3000:
C:\>reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Phone\Settings
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Phone\Settings

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Phone\Settings
AllowHomeNetworkSpecificDialStringsWhileRoaming REG_DWORD 0x1
AssistedDialSetting REG_DWORD 0x0
CallIDMatch REG_DWORD 0x8
ConferenceCallMaximumPartyCount REG_DWORD 0x6
ContinuousDTMFEnabled REG_DWORD 0x1
HideCallForwarding REG_DWORD 0x1
HomeNetworkSpecificDialStrings REG_MULTI_SZ *71\0*72\0*73
PartnerAppProvisioningFilePath REG_SZ app://b6e3e590-9fa5-40c0-86ac-ef475de98e88/_default#/Launcher;component/MainPage.xaml
PartnerAppTaskUri REG_SZ app://b6e3e590-9fa5-40c0-86ac-ef475de98e88/_default#/Launcher;component/MainPage.xaml
PartnerImmediateDialStrings REG_MULTI_SZ ##634#\0##7820#\0##777#
PartnerNonImmediateDialStrings REG_MULTI_SZ ##634\0##7820\0##777
PersoUnlockCode REG_SZ ##782#
PreferredRecordingApplication REG_SZ Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe
RecordingFeatureDisabled REG_DWORD 0x0
ShowLongTones REG_DWORD 0x0
UseOKForUssdDialogs REG_DWORD 0x0
VideoCallingChargesMessage REG_SZ
VideoCallingChargesTitle REG_SZ
VideoCallingDescription REG_SZ
VideoCallingLabel REG_SZ
VoLTEAudioQualityString REG_SZ
PreferredCallUpgradeLineId REG_SZ
RecordingOff REG_DWORD 0x0

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Phone\Settings\CallIDMatchOverrides
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Phone\Settings\PerLineSettings
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Phone\Settings\PhoneLineFactories

C:\>reg query HKLM\SOFTWARE\Microsoft\CallAndMessagingEnhancement
reg query HKLM\SOFTWARE\Microsoft\CallAndMessagingEnhancement

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CallAndMessagingEnhancement\BlockingApp
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\CallAndMessagingEnhancement\CallOriginApp
[Windows 10 Mobile] dxdy:
call recording not possible because hardware, you not done anything with registry changes... people already tried...
[Windows 10 Mobile] karaki93:
look in registry for this .....Phone/PhoneSettings (sorry i forgot the path:confused:)

CallRecordingOff=

0 or 'False':Sets the call recording management app to Voice Recorder, which turns on the call recording feature.

1 or 'True':Sets the call recording management app to none, which turns off the call recording feature. This is the default OS Value.
[Windows 10 Mobile] saicon:
i did extract registry keys form 059x409 (rm-1104 global swap) firmware.

1. transform .ffu to .wim (use imgtowim.exe)

2. use 7zip to open wim

3. extract registry hive files (\windows\system32\config)

SOFTWARE, SYSTEM

4. open regedit.exe

5. hive load, export .reg and hive unload

6. done.

I hope someone finds it.(something call recording for old lumia devices)
[Windows 10 Mobile] saicon:
i found something.

my device (lumia 635) has no below registry keys.

hklm\System\ResourcePolicyStore\ResourceSets\PolicySets\CallRecording

"CPU"="SoftCap10"

"ExternalResources"="CallRecording"

"Flags"="None"

"Importance"="30"

"IO"="10"

"Memory"="CallRecording"

---------- Post added at 06:36 AM ---------- Previous post was at 06:20 AM ----------

found other..

hklm\System\ResourcePolicyStore\ResourceSets\Policies\ExternalResources\CallRecording

"AppService"=dword:00000001

"Microphone"=dword:00000001

hklm\System\ResourcePolicyStore\ResourceSets\Policies\Memory\CallRecording

"CommitLimit"=dword:0000000f

"HighNotificationThreshold"=dword:0000000c
[Tilt, TyTN II, MDA Vario III General] matt sb:
I have been using a 2GB storage card for some time (first with TYTN II) and now a Tilt with never a problem. Lately when I open up file explorer to explore the card there is significant delay as the programs are listed, as if it is taking a while to read the card. Any thoughts what might be causing this? I recently installed spb tools but even when I turn off the file explorer option it is still slow. thanks...
[Tilt, TyTN II, MDA Vario III General] kareeem:
What kind of card is it? It might be the card or your device might be bad (software problem)
[Tilt, TyTN II, MDA Vario III General] matt sb:
It's a Sandisk. Actually I just noticed that it is also really slow when browsing the actual built in hard drive not just the storage card....
[Lenovo Vibe K4 Note Questions & Answers] phaw16:
I have enabled the multi window feature well I cant use it because when I tap the recent app theres a Padlock ? Icon thats preventing me to use multi window. Can any one please help me how to remove that.

I have attached a screenshot of that lock located at the upper right part. Besides the X button
[Samsung Galaxy Ace 3] irhkafodir:
Anyone know how to fix Bootloop using ADB for Samsung GALAXY ace3 GT7270?

My phone is bootlooping, and I can't clear cache, everytime I execute clear cache the phone just rebooting and enter the Samsung logo.

I've tried the factory reset but it doesn't solve my problem.

I've tried to reinstall the firmware with odin but it still bootlooping also, and still can execute clear cache.

Anyone have suggestion what I should do next? If not, can anyone tell me how to use adb to fix my bootloop?

Thx :D
[Samsung Galaxy Ace 3] PAPalinskie:
use twrp or cwm. then try to factory reset. if not work, you can see error in the screen. try to repartition in odin instead.
[Android Software Development] Rana Digvijaysinh_8:
Features of Good Lock 24.0.15 APK for Android Fresh lock screen

New Notification panel (See Screenshots )

New Recent Apps Menu (See Screenshots )

Notification categories

Solid color background, or choose an image

Choose widgets you want quick access

Screenshots here :

Download Now :- https://drstechhacks.blogspot.in/2016/11/good-lock-24.html

Stay tuned to =>http://www.drstechhacks.blogspot.com

For Andoird Premium apps and tricks..:good::good::good:
[Android Software Development] EvilSniper:
please link is not working give it to me i need it for lollipop
[Nexus 6P Q&A, Help & Troubleshooting] babyboy8100:
Hi Everyone,

So recently i decided to install CortexRom2.1.0 and well i wasn't satisfied with the bluetooth streamin cutting in and out every 5 sec while listening to music so i decided i would Unroot and flash stock 7.0. I connected my phone to my pc running windows 10 pro and to my surprise it would not recognize my phone at all. so i read the thread about getting the adb.key renaming it still nothing i tried on a different windows 10 machine and same thing? any ideas what could it be? when i connect it to Nexus root toolkit it doesn't see it either.
[Nexus 6P Q&A, Help & Troubleshooting] opz187:
It's must likely because you're phone is being confused for a pixel. I had same issue. All I did was flash latest nitrogen, went back into adb, and recognized just fine
[Samsung Galaxy Alpha] xichael:
The play store says this app isn't compatible with my G850W: https://play.google.com/store/apps/details?id=com.sec.android.app.sbrowser

How is that possible? I apparently can't install AdGuard without it.
[Samsung Galaxy Alpha] latinosegundo:
That's because samsung takes out support for some devices even when they update the apps, it's the same case of samsung music, u can see the app in play store but u can't download simply cuz samsung dont want old devices to get it.
[Samsung Galaxy J3 (2016) Questions & Answers] mr_reaper:
i know messi started on it, but abandoned it. anyone know of any custom ROMS...
[Samsung Galaxy J3 (2016) Questions & Answers] KaioProHawk:
Iam trying port MIUI. but no sucess
[Samsung Galaxy J3 (2016) Questions & Answers] caloneli:
have you done it?
[Samsung Galaxy J3 (2016) Questions & Answers] KaioProHawk:
No, the rom just not pass boot animation
[Xperia Z3 Tablet Compact Themes and Apps] kos25k:
Hello owners of this tablet masterpiece.

I let you just know and try this extraordinary browser.It is google chrome browser something but specially customized and optimised to max speed for qualcomm-snapdragon devices and also for great privacy,block trackers etc...This is by far the most fast browser i have ever used and i can't even now realize it's speed.So i just give u the link

http://xdaforums.com/android/apps-games/app-tugabrowser-t3472457

Have fun.
[Sony Xperia M4 Aqua] zbyszekzbyszki:
I wanna use this tutorial to get a root with Locked Bootloader. http://xdaforums.com/m4-aqua/development/root-xm4aqua-e2303-bolek-t3340399

This is only for 26.1.A.3.111 mine is right now on 26.3.A.1.33.

So my question is i can downgrade if yes how?
[Galaxy Note 3 Exynos Android Development] cnkzlyr:
IM NOT THE ORIGINAL DEVELOPER I SHARE ROM FOR YOU

Hey guys im here with the latest build of Flyme OS for our Note 3 Exynos.

#All of lags have fixed in this build.

#Google Play errors and Download Manager errors have fixed.

�PLEASE REPORT ME BUGS

NOTE: FLASH THE ROM, INSTALL ROM AND THEN GO TO RECOVERY MODE AGAIN AND FLASH

"ARM 5.1.1 PICO GAPPS"

Gapps Link:

http://opengapps.org

View attachment 3958366

Mega Link:

https://mega.nz/#!KVxFwSqA!4RPdIekbYZAqa3AH_nWovmSjHuz9SudXynYFhsGZ8Rk

DONT FORGET TO HIT THANKS BUTTON ;) :good:

Some Screenshots:

View attachment 3957366

View attachment 3957367

View attachment 3957368

View attachment 3957369

View attachment 3957611

View attachment 3957614

View attachment 3957615
[Galaxy Note 3 Exynos Android Development] ugrakpnr:
thanks bro
[Galaxy Note 3 Exynos Android Development] lovebirdi:
Does whats app works in this?

Sent from my SM-N900
[Galaxy Note 3 Exynos Android Development] cnkzlyr:
Yes it works
[Galaxy Note 3 Exynos Android Development] EmrKA:
have a any bugs in rom?
[Galaxy Note 3 Exynos Android Development] cnkzlyr:
Im using the rom since morning. As a bug rom doesnt have a keyboard except chinese keyboard. U can download touchpal from internet browser. Any bug else. Rom has wonderful visual effects
[Galaxy Note 3 Exynos Android Development] hapiss:
Thanks bro
[Galaxy Note 3 Exynos Android Development] lordondi:
Thanks bro..!!

---------- Post added 5th December 2016 at 12:41 AM ---------- Previous post was 4th December 2016 at 11:44 PM ----------

im currently using but when will you come full version? im waiting...

[MENTION=6072357]hapiss[/MENTION] dostum sen bence buna el at stable ve fast benden demesi japonca mıdır çince midir nedir yazıları insanı gıcık ediyor..!!
[Galaxy Note 3 Exynos Android Development] hapiss:
I have no free time mate but soon possible

Olabilir de zaman istiyor hocam be
[Galaxy Note 3 Exynos Android Development] lordondi:
i understand and i know. You are right too but worth to try ;) take care see you again...

Hocam zaten senin OS'u kullanıyordum Flyme OS beta çıktığını görünce yükledim çünkü çok güzel. Bence denemelisin :) Sen bunu bir Full yapsan var ya var yaaa :D
[Galaxy Note 3 Exynos Android Development] alra7al.syria:
i.ll try it for you brother
[Galaxy Note 3 Exynos Android Development] G3fr:
can u add link for xposed working on this rom
[Galaxy Note 3 Exynos Android Development] grey29:
did the weather apps already fixed, or still only work in china?
[Galaxy Note 3 Exynos Android Development] cnkzlyr:
You cant use xposed on this rom dont try it
[Galaxy Note 3 Exynos Android Development] cnkzlyr:
Fixed. But only some words are chinese on weather widget.
[Galaxy Note 3 Exynos Android Development] harrykorey:
Thanks a Lot Bro
[Galaxy Note 3 Exynos Android Development] harrykorey:
Rom is not root right ?
[Galaxy Note 3 Exynos Android Development] cnkzlyr:
No it has got root with superSU
[Galaxy Note 3 Exynos Android Development] lovekeshramawat:
Mega link not working bro..
[Galaxy Note 3 Exynos Android Development] harrykorey:
Ok Bro thanks Alot :)
[Moto G4 Plus Questions & Answers] ZeroVirus:
pls someone work on 3minit battery or tell me how to change battery icon on stock 7.0???
[Moto G4 Plus Questions & Answers] gabriwinter:
I gave it a go but couldn't figure out how to deodex systemui
[Moto G4 Plus Questions & Answers] ZeroVirus:
hmm take help from [MENTION=2875906]sailesh[/MENTION]
[Moto G4 Plus Questions & Answers] gabriwinter:
This is what I got, I may be doing it wrong.
[Moto G4 Plus Questions & Answers] vache:
You should add the classpath-dir parameters and not pointing directly to boot.oat.

This is how i used it :

java -jar baksmali-2.2b4.jar x -d framework\arm -c framework\arm SystemUI.odex -o SysUI
[Moto G4 Plus Questions & Answers] gabriwinter:
I got it, this is what worked for me.

java -jar baksmali-2.2b4.jar deodex SystemUI.odex -b system/framework/arm/boot.oat -o SysUI

Thanks for pointing me out in the right direction
[Moto G4 Plus Questions & Answers] gabriwinter:
I've got a working version with System UI Tuner enabled, still have to tweak it a little, I'll upload when I finished.

:)
[8525, TyTN, MDA Vario II, JasJam ROM Development] DirtAddsHP:
i want a app that allows me to block numbers and ignore caller ID blocked numbers.. does such an app exist?
[8525, TyTN, MDA Vario II, JasJam ROM Development] twist:
Call Firewall is prolly ur smallest and easiest bet. There is also, things more involved like PhotoContacts.
[8525, TyTN, MDA Vario II, JasJam ROM Development] dereknas:
You could try magicall also.
[8525, TyTN, MDA Vario II, JasJam ROM Development] UncySpam:
spb phone suite does this, and more...
[8525, TyTN, MDA Vario II, JasJam ROM Development] djwhitey:
I use Call/SMS Blocker 2.3.3.741

lets you block either based on a predefined list, and a checkbox for hidden numbers... lets you define what action to take... i.e. Pickup/Hangup, just mute, or send straight to VM
[Galaxy S 4 Q&A, Help & Troubleshooting] siddhant gahlot:
why is there no android nougat rom for exynos galaxy s4?

i want android nougat rom so badly for i9500
[Galaxy S 4 Q&A, Help & Troubleshooting] Har_sh94:
You want Nougat Rom Make it yourself. Stop forcing Developers, you are not paying them anything.

Don't make unnecessary Thread and Waste space on the Forms.

I request any Senior member to Close this Thread and Clean the Galaxy s4 I9500 Forms.

Thankyou.
[Galaxy S 4 Q&A, Help & Troubleshooting] jitendra purohit:
Making a nougat rom is very difficult for Exynos devices.and galaxy s4 have worst development support.only Alberto96 and kingdevil are the only AOSP or CM devs we have.keep patience.
[Galaxy S 4 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
While I do agree that if the OP cannot be patient he should learn to make the ROM himself, telling the OP to "don't make unnecessary thread" [sic] is rude. Believe me, I'm sure many of the posters on these forums are well aware that there are too many of these "begging" posts around. However, as much as we may not like them, they don't violate the rules of the site.

Senior members have no power to close threads or clean forums. That is a moderator's job, and no moderator is going to close this thread as the OP has done nothing wrong. Further, no moderator is going to clean the forums either. The moderators, just like developers, do this on their spare time without compensation. Unless they don't have a job for whatever reason they're going to concentrate on items that can be problematic for the site as a whole. In short, cleaning a forum of "waste space" is an extremely low priority to the moderators, and with 4,000,000+ members, impossible to do.
[Xiaomi Mi 4] sensorxx:
Hi guys,

i need your help to rescue my hard-bricked Mi4s. I had an error flashing a global rom with MiFlash, it said something like fatal error and now the screen is black and i can't enter fastboot mode anymore. When i connect it to my PC (win 10), it says it can't recognize the device. Before the brick everything worked fine regarding the connection.

fastboot oem device-info in the console says:

C:\Program Files (x86)\Xiaomi\MiPhone\Google\Driver>fastboot oem device-info

< waiting for device >

Do you have any instructions for me to open the device and resolve the hardware brick?

Best Regards

Stefan
[Xiaomi Mi 4] sensorxx:
Nobody? :S
[Xiaomi Mi 4] alogim:
Not sure about your current situation, but you should pay attention about the version of MiFlash you are using. If you are on a 64bit pc you should use 64bit MiFlash and that should solve your issues. Using a 32bit MiFlash on a 64bit pc may cause problems such as yours.
[Xiaomi Mi 4] 0perat0r:
Not sure if you solved your problem but here you go : http://en.miui.com/thread-251450-1-1.html
[OnePlus 3 Questions & Answers] yossi787:
I want custom rom, root and exposed,

But there is the warning of the unlocked bootloader on every boot.

What is the most I can get without this warning?

Thanks a lot.
[OnePlus 3 Questions & Answers] Puddi_Puddin:
Nothing wrong.. Tbh I really like that warning since you can easily navigate to recovery, Fastboot etc. Just ignore that warning.
[OnePlus 3 Questions & Answers] LS.xD:
DON'T relock the bootloader as long as your system is modified in any way (custom rom, root ...).

Don't care about the warning, without it you can get absolutely nothing, but using the unrooted stock firmware.
[OnePlus 3 Questions & Answers] 2x4:
This warning is shown on every thread describing how to unlock the bootloader - if you lock the bootloader with anything that isn't the stock ROM/recovery, then you will brick your device
[OnePlus 3 Questions & Answers] jim262:
I personally, have never had any problems with the adb command to lock and unlock the bootloader. The bootloader actually operates independently of the software running. However, why would you want to relock the bootloader, particularly if you intend to flash other ROMs.
[OnePlus 3 Questions & Answers] yossi787:
I don't like the idea that everyone can wipe my device. I have little brothers and they can do that by accident...
[OnePlus 3 Questions & Answers] LS.xD:
That doesn't depend on a locked bootloader. You CAN'T protect android phones from beeing wiped.
[OnePlus 3 Questions & Answers] yossi787:
Of course, but from this warning that can happen by accident...
[G3 Q&A, Help & Troubleshooting] it0ken:
Hi xda,

Is there any way to add the Easyhome contact widget to a different launcher? For reference, this is what I'm looking for, and it seems to be only available in Easyhome: http://i.imgur.com/nqDRldr.jpg

The contact widget in the regular launcher just isn't the same. Easyhome is a bit too simple for me, but this option is just so functional and aesthetically pleasing that I'm seriously hoping there's some way to apply it to the regular home. I haven't been able to find it as a downloadable widget either :/ Does anyone potentially have a solution for me? I appreciate any insight at all, and thank you tremendously.

Anthony.
[OnePlus 2 Q&A, Help & Troubleshooting] Tunatje:
I MEAN NO HARM AND DON'T WANT TO FLOOD THE FORUMS BY CREATING ANOTHER THREAD. I COULDN'T FIND A CLEAR TUTORIAL FOR REVERTING BACK TO ANOTHER ROM FROM H2O 2.5.1. SO I MADE THIS.

MY ORIGINAL POST OnePlus Forums

Just wanted to let know that I managed to revert back to CM 14.1 Official & OOS 3.1.0 without problems!

First make sure you have a terminal made EFS backup & TWRP made /persist backup!

Make sure you have made those before you flashed H2O 2.5.1.

If you don't have a valid backup, I really don't recommend following my steps in any way!

WARNING DO NOT FOLLOW MY STEPS IF YOU DON'T KNOW WHAT YOU ARE DOING!

IF YOU IGNORE THIS AND DON'T HAVE BACKUPS, YOUR PHONE WILL BE NOTHING MORE THAN BRICK!​

WHAT I DID

- Make sure you have a custom recovery. I'm using HybridRecovery_v3.4.imghttp://xdaforums.com/oneplus-2/general/recovery-twrp-3-0-2-hybrid-supports-oos-t3362904/post66466393

- Make sure that OEM unlock is enabled under developer settings in your phone.

- Make sure that ADB debugging is enabled under developer settings in your phone.

- Connect phone to PC and grant permission to communicate with your phone.

- Grab your modemst1.bin & modemst2.bin files and put them in the same directory where ADB is installed/unpacked.

- Boot phone in bootloader/fastboot

- Start a new ADB session

- fastboot devices

- Check if any device is recognized

- This is the moment where you still can return to H2O.

Side note: H2O 2.5.1. is a fine OS and worked great for me. Maybe I'll return to it some day, but for now I'll be using CM 14.1

LET'S BEGIN

- Fastboot erase modemst1

- Fastboot erase modemst2

- Fastboot flash -S 512M modemst1 modemst1.bin

- Fastboot flash -S 512M modemst2 modemst2.bin

- Unplug your phone and then turn it off you by holding the power button

- Boot your phone into recovery

- Restore the /persist partition with TWRP/HybridRecovery

- Flash a ROM

One thing to mention is that when I restored a backup of CM 14.1 my data connection seemed forever lost.

I managed to fix that by deleting my network settings in the "Settings" app of Android. I also rebooted in recovery and deleted Dalvik/Art cache & cache.

Reboot your phone to system.

Voila, your phone is reverted and both of the IMEI's are still intact!

Any questions? I'll try to answer them as quickly as possible!