yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] avin4:
Great Rom! Flashed 05-12, some app FC, even built in camera and sound picker, but strangely after some reboots they are all gone. Can confirm Miracast(cast) is working! Bravo! The first Pie rom with working Miracast function !! Definitely recommend for those who need to use this function.

Noticed some other small issues:

1. GPS fix toooo slow, using GPS test, another android 8.0 phone get fixed with "high accuracy" within 30 seconds, but Havoc OS used 5 mins and still no fix. But I think this is easy to solve right?

2. Web browser will not load page unless switched to, e.g. 10 pages opened in background, only the one you are currently viewing will be loaded, all the others need to be load when switched to. Tried VIA browser and Chrome, the same.

3. No FM app? I know there are many 3rd party FM app, but is this function included in the ROM?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] wiki.alphajoza:
All respect to [MENTION=252677]deus[/MENTION] for maintaining Hovoc but this is not the first Pie with working Miracast. This function was finally fixed by [MENTION=8592753]SonicBSV[/MENTION] in his BootLeggers Pie v4.1 (Pie4markw.4.1-Stable-Unshishufied-20190403-105125)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
New build is on Sourceforge, 17-05-2019.

Changelog:

- Ported Skulshady's "op3: Show battery icon in the QS header"

- Switched to Olympian Kernel
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Do you lnow what is the most odd thing? Only MS apps do it. OneNote crashed today for me, with the exact same message. I searched on Google for this NPE msg, and found it haopens when the app tries to use more threads simultaneously.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] wiki.alphajoza:
Yes, mostly microsoft apps such as Word, Excel, PowerPoint, .... but with full respect to your builds and diligence, it's more than 24 hours that I'm on Havoc-OS-v2.5-20190517-markw-Unofficial by [MENTION=6357624]ShihabZzz[/MENTION] and no FC was happened even once! So you told me that you are aware of what he did to fix FCs but it seems that his implementation of fix is different from yours maybe.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] avin4:
Still no GPS fix in newest 0517 ROM (dirty OTA from 0512). Any solution? Tried modified gps.conf under vender/etc, no use. (Apparently the file does not have SUPL setup)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Corsa83:
+1. Maps and Google Earth takes too much time to fix (if it happens)

The rom works nice, thank you for your work!, but as other said It would be really cool to have a native and working RadioFM (as SuperiorOS now has). The native radio app of Havoc doesn't work for me, It doesn't find any radio signal (even with the headphones connected).

Some questions:

- I have havocOS flashed and openGapps, and now I'm trying to root from twrp by flashing latest magisk .zip and I get the vendor partition cant be mounted error: 1. What should I do?. I don't want to factory reset or reflash the rom (i want to make a bit-by-bit image of /data).

- If I root havoc OS (from TWRP), to return to a no-root status completely and in a clean way. What is the best approach? if I do a full wipe (system included) and flash rom + gapps from twrp it is sufficient? or i need to flash recovery too? (i now some root methods doesn't modify only system partition and leave trash probably in recovery.

- When I apply a .zip or OTA update Do i need to flash cache partition too? or only delvik? or both?

Thank you
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] avin4:
First, the reason I'm replying you is I have encountered all your situations:D

1. magisk: Do not know your Twrp version, but I noticed some recovery will cause flash related problems on markw, try google "markw twrp treble", the one made by "brigudav" works fine for me. I flashed magisk 19.1 and get root under this very Havoc rom with no issue.

2. unroot: if you are not sure you can always flash the original MIUI global rom, but I don't think recovery is related because you always need one to flash 3rd party roms and get root, right?

3. I tried dirty OTA from 0512 to 0517 of this rom with magisk installed using rom built-in OTA function, then noticed an "addon" script named "magisk" running during recovery OTA setup, and after boot everything works fine (rom+magisk+root) :)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ArGoSh:
First of all, I have this old Marw for using it as a development device and I am trying out some pie ROMs and really like Havoc-OS. Now, knowing that it has official support and continuous updates makes me want to play with it even more. So customizable and smooth and I love the dark theme. Keep up all the good work [MENTION=7432462]Deus.[/MENTION]!! ;):good:

In addition to what [MENTION=4626423]avin4[/MENTION] suggestions:

1) As he pointed, the reason you can't mount /vendor partition is because of TWRP doesn't understand what is happening there. The vendor partition holds important information about the OEM device like radio (baseband), connectivity (Wi-Fi...), etc. As far as I remember, with Project Treble many devs uses a trick to communicate /vendor with the /system partition to operate nicely and in some Treble custom ROMs they format the /cust partition (normally without any use) and use it as a /vendor partition. So probably that's why flashing a TWRP (with treble support) does the trick. BTW, I used the "twrp-3.2.3-0-markw-treble.img" and flashed Magisk from there without that error any more.

2) Magisk is the cleanest way nowadays to root an Android device. It's open source and it doesn't modify the /system partition (systemless-ly), because it acts as a virtual layer between the system and the app manager it installs. Other method like SuperSu modify some files in the system partition and leave traces behind. I you want to be sure that your device is completely unrooted, I would go with a reflash of the ROM. You can reflash the stock one an back to Havoc-OS but probably I just go with a full wipe + reflash of the custom ROM + OpenGApps + wipe of cache and delvik.

3) When I do a dirty flash of any update, I download the zip from OTA (now is working in Havoc-OS), flash it and from TWRP I just do a wipe of delvik and cache, and ready to go.

Same problem here. The good news its if you follow the telegram channel of Markw you can see there's a new update (17/05/2019) in the UNOFFICIAL HAVOC-OS 2.5 (shihabZzz) where the FM Radio has been fixed and the GPS redefined :highfive:. It would be really nice to see those changes added to this OFFICIAL ROM.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
The radio app is fixed, now I'm testing stability, so far seems to be promising :) If I don't have crashes in the next 12 hours, a new build will be released tomorrow.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
Great. Have you implement the FC fixed by Shihabz? Then, its perfect :good:
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
New build is up and available on Sourceforge.

Changelog:

- Sync with upstream Havoc OS: https://t.me/Havoc_OS/1085

- Porting ShihabZzz's Update Dexpreopt commit (thanks for [MENTION=6357624]ShihabZzz[/MENTION])

- Use default Dalvik values

- Enable dev specific GPS

- Enable dev specific FMRadio

- Android Q text clock Hungarian translation

- Update of Hungarian translation in Havoc Settings

- Disable VSYNC and enable FM properties
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] wiki.alphajoza:
Just flashed the new build. Everything looks good and stable. Good job man.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] asdolacharkhi:
Once again I tested this ROM and I find out the battery drain problem was because of Pocket detection,

Weird, because my last ROM was fine with pocket detection ON,

Anyway just wanted to say thanks,

Good job, everything seems perfect.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] wiki.alphajoza:
It seems that FC problems still exist.

com.microsoft.office.excel

Havoc-OS-v2.5-20190520-markw-Official

Crash log
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
This app didn't even start up, and doesn't ship any useful information to determine what went wrong. Only MS apps can't start up or there are other apps that has the similar malfunction?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] NickJared:
Works flawlessly. Switched from Granrage's DoTOS and I don't miss it. Great job.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] wiki.alphajoza:
During the hours that I tested it, just Excel and PowerPoint.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
I tested with OneNote and Word...

Could you send that log to MS, and attach my best wishes to it?

------------------

Do you guys check and modify the Doze values? They are in Havoc Settings, Battery, Doze settings.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] avin4:
Yeah, same here. But I remembered many 3rd party roms share this issue. Turn off pocket detection and the battery lasts forever.:laugh:
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
No more FC for me since I dont use MS Office apps. Instagram and Facebook no longer FC. Thanks
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Law_Ger:
Nice rom, but i have the problem, that i can´t receive calls anymore. Outgoing calls, WhatsApp, etc. are possible. I tried a call from another phone and all i hear is the free tone. No notice of missed call and nothing. Any ideas or do i have to try a hardware reset?

Update: Did the factory reset. Call came in before Set-Up of W-Lan and it functioned. After setup, no incoming call possible.

2. Update: Magisk could maybe the problem, i return to dotos for test and then will update to 22-05 build.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
New build of 22-05-2019 is up and available on Sourceforge. Changelog:

- Updated fingerprint (by nichcream)

- Media and Graphic update from OP T3 (by ZeeLog)

- Default network type set to LTE/WCDMA (by Granrage)

- Wait for MPCTL to start at boot (by dianlujitao)

- Added Doze properties (by pavlaras)

- Added proper device name

- Update with upstream kernel source

- Enable olympian_markw_defconfig for kernel
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] adrisanfe:
Great rom, amazing work man! Just a thing, the battery icon is a little under sized compared to the other icons like signal.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
Unknown maintener in latest update
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Thanks, which one exactly? The Q style or the portrait?

Noted, thanks!
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ArGoSh:
That was fast :D. Great!. I can tell the FM radio is working flawlessly now and the GPS works much better (signal is still a little bit weak at sometimes, compared to the stock ROM but fixing is quite faster than before).

Even with pocket detection battery is awesome for me but I am not using it for videos or similar, just for toying with it.

Downloading now from sourceforge ;). The OTA updates doesn't work to me (conected to Wi-Fi). In fact many times it doesn't, I don't know if other users are experiencing the same kind of issue... the last time it worked to me. In settings > system, when I tap the button to check updates, nothing happens (well it updates the last checked hour :D:D).

I really like the lock screen with all the stats info when you are charging the battery, the dark theme and the Pie notifications look fantastic.

Overall, I am very happy with the ROM. I really appreciate all the efforts on keeping the code updated while fixing issues so awesome work Deus ;).
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] adrisanfe:
Both of them, also, so many app crashes, and i flash the rom with a clean flash so...
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ArGoSh:
I am using the Q Style battery icon and it doesn't look small, I mean its size is as tall as the network signal indicator (even a little bit taller). I am not getting any FC at least for now. What TWRP version are you using? and Did you do a full wipe before flashing (/cache, Dalvik, /system, /data) and then flash the last openGApps and did the subsequent cache/dalvik wipe?. No problems at all doing that, at least for now.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ArGoSh:
BTW, just for asking [MENTION=7432462]Deus.[/MENTION] Do you plan to upload the source code of your Markw Havoc-OS ROM on a GitHub repository? It could be nice to sneak a peek at it :D
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
I think it is just fixed, will come with the next build: https://t.me/Havoc_OS/1103

The Havoc part of that is available at github.com/Havoc-OS ;) For dev tree, I don't plan it because I'm an amateur, better only a few can see what I'm doing at testing :D
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ArGoSh:
Yeah I was thinking about the identity of the phone, the part which is not public, but yeah, I see your point. I am not into custom ROM development (more into hardening/apps), I did some file/code tweaks tough when I used Lineage OS in another phone. As I told you It was out of curiosity :D since I use this phone for app development/testing. If you keep making changes so fast you are gonna master it quickly :D
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] dwi5011:
Double tap to wake not working

Double tap to wake is not working after dirty update on this version,
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] wiki.alphajoza:
Havoc-OS-v2.5-20190522-markw-Official
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
It seems that FC was reintroduced in this update. Fb and Instagram FC after update even with clean install The last version before this one, no FC at all :confused:
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Law_Ger:
Same Problem with 22-05 Rom as with 20-05. No incoming call possible, cause it is not ringing.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
How is that possible. No such issue at all? Have you tried other custom rom?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Law_Ger:
Yeah, no Problem with dotos ans superior.

Update: In Potato also working. So it must be a unique problem in Havoc.:confused:
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
But I have no such issue from the beginning except for FC issue. Even in the telegram group, no one said anything about incoming calls issue. Is it related to network? Change network type to Global perhabs?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Law_Ger:
Will try next build and then give global a Chance if THW Problem reacure.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
Facebook crash log

https://hastebin.com/ucidibibil.md
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] avin4:
Strange, GPS fix problem seems to be corrected in 0520 (yes slow but can get fix), but went back in 0522. Anyone shares the same issue?

Besides I still notice webpage slow loading issue under 0522 and all previous rom versions, if you open several pages in background the phone responds slowly and touchscreen behaves strangely. Never encountered this issue on other Pie/Oreo rom.

Fc issues also noticed on MS outlook but not frequent.

Btw, all above observed under dirty OTA. And OTA funtions really well on my markw :)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Testing the next build, I installed the same app, so far it loads without issues. Give me a day (or two) to be sure.

Odd, because there was no GPS related change between 20 and 22.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] avin4:
Oh, thanks for the prompt reply. My bad, I modified some settings in gps.conf, and after I undo them GPS works again. Now there are I think only two issues left:

1. FC of some apps

2. slow responding when opening multiple web pages.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
New build, 26.05 is uploaded to Sourceforge; changelog:

- Smart charge fixed

- PowerHAL is set (by kondors1995)

- Virtual Display is set to 0 (by nichcream)

- Reverted OP3 Graphic and Media

- Slow Motion in GCam disabled (by Granrage)

Update and let me know if you have issues, don't forget to report if you use the vanilla build and attach a log.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] wiki.alphajoza:
Any new changes regarding FCs?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
FC happened only with MS stuff, as I know, and that's fixed. See my msg from the 24th.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] wiki.alphajoza:
MS Remote Desktop app still force closes sometimes (Havoc-OS-v2.5-20190526-markw-Official)

https://del.dog/ledatunoqo
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Did you restore this app or it's a fresh install? I literally started RDP for 50 times in the last 3 days and I had only one start-up issue, that was because I killed it and restarted immediately.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] wiki.alphajoza:
I restored it by Migrate app. And it was ok for several launches (in span of several hours) but suddenly FC. Also every time that one of ms apps suffer a FC, other Ms apps also have problem in launching (like very delayed start or hitting icon and nothing happens)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
After migrating or restoring, clear cache and dalvik. The app might want to address a memory block which isn't available anymore (earlier is was 768 MB, now 512 MB).
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
Thanks for the update but still got FC for facebook and instagram especially after you clear the ram. Then, try with clean install and still both apps FC. I don't know it it is kernel related but after flashing Extreme kernel, FC seems to be gone. Both apps reloaded with no issues. Im gonna test a bit longer and report.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] dwi5011:
Crash app

Some app keep crash sometimes ..

Facebook, Instagram, CamScanner, Evernote
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
OK, thanks for testing it, I also flashed eXtreme to see What can it do.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] wiki.alphajoza:
I did a clean install and as you advised, after restoration went back to recovery and wiped Dalvik and Cache but again after some hours and multiple launches, PowerPoint crashed.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] jrbusao:
Markw

Good afternoon everyone, after a long time saved I just unlocked the bootloader of my markw, and I really want to install havoc, however I have some doubts about the twrp I need for the same and how to create the folder vendor. Some charitable soul would cover me step by step how to do this because my r4p is still on Android 6
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
A step-by-step guide can be found here: https://www.xda-developers.com/how-to-install-twrp/

It explains how to install TWRP.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ArGoSh:
Hi!. Download the Brigudav's TWRP for this model (Redmi 4 Pro/Prime aka Markw). It has some additional features for Xiaomi devices, it's stable an you can download this version which supports Treble too (remember that this ROM doesn't supports Treble but you can avoid some possible errors if you are gonna root your device in the near future by flashing Magisk .zip).

As for the folder vendor, I don't know if you are talking about the /vendor partition. You don't need to do anything with vendor. You only need to do the next in other to achieve a "clean flash" of the ROM (remember to backup all your personal data; contacts....):

0) Unlock the bootloader with the Mi Unlock tool from Xiaomi and download the last Havoc-OS ROM file from here and the last OpenGApps for ARM Android 9.0 from here (I recommend the "Pico" package which is the minimal one).

1) Download and Install ADB (Android SDK platform) to your PC [follow the guide [MENTION=7432462]Deus.[/MENTION] posted above]

2) Remove your SIM card at this point just to avoid any possible issues. Boot the phone into fastboot mode (Vol Down + power) and flash the TWRP .img to your device using fastboot commands and then reboot into it (important):

fastboot flash recovery <trwp-X.X.X.X.img>

fastboot boot <trwp-X.X.X.X.img>

3) In TWRP you must do a full wipe:

/system

/data

/cache

delvik

4) Copy the latest ROM and OpenGapps .zip files to your phone (you can connect the device to your PC in TWRP without any problems, it will be detected).

Also you can flash other mods now like Magisk. Also, just for extra info, If you are planning in the near future to use other custom kernel in your ROM (which it isn't necessary and is not your case) its recommend to flash it after Magisk.

5) Wipe /cache and Delvik, and you are good to go. Any doubts write them here, but there's many topics in this forum about this steeps.

[MENTION=7432462]Deus.[/MENTION] Feel free to add the link from above (the TWRP img) to the "Links" section of the first post of this thread or some info from this "steps", whatever:eek:. It could be useful to new ROM users :D.

EDIT:

====

You where faster than me hehe. That TWRP guide is useful to stick too.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] dwi5011:
worst charging speed

why it take almost 6 hours to get full charge from zero percent on this rom ? compare to miui, i can get charging time about 3 hours from 0 to 100 percent. and also on lockscreen, it always says charging slowly although i use fast charging adaptor.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
No problem with charging. Im still using the original adapter since 2016 and it tooks 3 hours to full charge unless I play games while charging. Try calibrate the battery. Discharged to 0 and charged to 100 without using the phone. Or install better battery stats and calibrate the battery when it prompt you for the first time.

---------- Post added at 09:45 AM ---------- Previous post was at 09:41 AM ----------

After testing with extreme kernel for almost two days, I can say that FC is gone. Fb and Ig load without issue even after clearing the ram. Sometimes the FC prompt appears but nothing happened when clicking the close apps option and the apps run just fine. Maybe you could use extreme kernel for next build since dark angel also has stop developing olympian. :)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
... and Cheewaca stopped maintaining extreme. If you check his GH, there's nothing for markw, the source of the kernel is deleted.

Next build will arrive with Nosgoth.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
Owh. He doesnt say anything in the tele group. Then, back to nosgoth :)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Newest build, 30-05 is available on Sourceforge.

Changelog is in the initial message.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] dwi5011:
crash report

crash report

Mobile Legends

https://del.dog/ninoroliqa

Facebook

https://del.dog/rejoxekobu
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] leonardo4848:
Thank you Deus, smooth rom, only minor crash report on Facebook, but not annoying me. It just show message, but app still run without problem.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] zahinwadud:
Those who have installed Newest build, 30-05-2019

How's the

battery performance

?

(With the new kernel, Nosgoth)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
Fine but better with extreme and olympian kernel
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] tltan86:
Just to clarify, this rom doesn't support treble?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Build of today (02-06) is on Sourceforge, changelog in the initial message.