yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Hey,

Check the changelog.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] gviolator:
After last update, can not change action that assigned to long press "menu" (physical) button. It just always do screen split
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] oxbowlarry:
I have the same problem
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ergattone1969:
I checked the change log, but I didn't understand the change that was made that caused the problem. Could you be more precise? Sorry for the language, I'm Italian.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] oxbowlarry:
My guess would be this one:

- Physical key binding fixed (thx for [MENTION=3055801]yuset[/MENTION]iadi)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] SKY_008:
Latest version: 2.9. The camera still can't be opened, the error is: Please insert th

Latest version: 2.9. The camera still can't be opened, the error is: Please insert the memory card!
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
When do you get this message exactly? Which camera? Did you grant storage permission for the camera app?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] SKY_008:
After the system is installed, the camera comes with and has all system privileges. T

After the system is installed, the camera comes with and has all system privileges. There are two camera icons in the system, only one can be opened, but there is an error message after opening!

about the APP： The camera version opened is: Version 2.0.002, from: com.android.camera2

---------- Post added at 09:27 AM ---------- Previous post was at 09:10 AM ----------

About the camera can not run! My solution: I extracted the camera program from AEX's ROM, first uninstalled all the camera programs that came with the original system, and then installed the extracted program files on the HAVOC system. The result: perfect operation!
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] prince.713:
hi, how can fix error 7 in twrp???
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] khnoizer:
I appreciate that you've fixed the recent button correctly to open "recent" instead of opening "menu". But I do sometimes want it to be just opening "menu" instead of "recent".

And now I can't change the recent button to anything else at "havoc settings", I've set it to menu, turn screen off, etc, but it would still open "recent" menu. The same can be said about its long press. Cannot be changed
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
OK, the key binding will be reverted, it causes more issues than it solved.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] prince.713:
Hi I can't install this rom because of error 7,With a tutorial from youtube،And I was able to manipulate one of the files But after installing and restarting the phone Shuts off and barely flashed the original ram again،What can I do to install this rom?

My device is xiaomi redmi 4 prime miui global 10.2.2.0(mbemixm)

Please help me thanks ??
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Pako1543:
Thanks. One question: before the upgrade, key binding worked quite well. What were the problems with it? I have not found any
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
We also use Google or DuckDuckGo to find solutions: https://blogs.systweak.com/how-to-fix-error-7-twrp-while-installing-custom-rom-on-android/

The problem is that the menu button brings up the app's menu and the back button also has another operation that the expected back.

==============================

New build is online, changelog in the 2nd message. Download, flash, enjoy ;)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] prince.713:
hi,my device is redmi 4 prime V10.2.2.0.MBEMIXM and this rom is for MIUI V10.3.1.0.PEIMIXM but my miui is 10.2.2. how can fix this problelm?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
You have to remove MIUI by wiping the partitions.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] prince.713:
thank you,i format all data but error 7 agine:confused:
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
https://m.youtube.com/watch?v=zBHdPwuwT1w

Use common sense, try to find your way. I can only give you links, but because I didn't have that issue, don't know which works.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ru_ttb:
I have random issue with video playback. YouTube, 9GAG, VLC apps drops FPS to 3-5 and clicks instead sound. After reboot this issue gone.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Good news Monday: I had a "bit" time during the weekend to review the code and I just uploaded a newer build this morning. It brings network related improvements, code cleanup, under-the-hood improvements, based on my test the phone seems to run faster, smoother.

If you like my work and you have the change, please consider supporting me.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] guggaburggi:
I have the same problem and I need to clear caches everytime it happens.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Dhene91:
Great work!!!!
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Parosoft:
Hello! Are we going to see Android 10 for Markw?

Thankyou!!
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Hi,

that is on my roadmap, yes, but nowadays I don't find the time to develop the device tree for that, so currently I have no ETA.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] khnoizer:
Well, I'd use stable Pie than jumping to alpha phase Q which also currently being worked on by some other developers anyway. I think it's better if you keep perfecting this rom at least until later you can find good sources/tree that you can use to start working on Q. But that's just my opinion.

Anyway I've found some bugs on latest build. Suddenly, when I open "setting/about phones", on the " model & hardware" section will show ASUS_X00QD, no longer redmi 4 prime. Screenshot attached below.

The other bug is, whenever I'm listening music on headset, on any music apps, the music would often stop by itself. Though not that often so it became annoying, I think it'd be nice if it's going to be fixed.

EDIT: first bug got fixed by restarting device, and for the second bug, I do use some sound mods, sometimes ainur sauron, or dts pie, don't know if that would mean something, but the bug happens with me using either of them.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] dane007:
[MENTION=7432462]Deus.[/MENTION]

I am using your rom from mid may, and i can only say that your rom is great. I must express my gratitude to you for giving us a great, stable rom, with constant update, on device from 2016 year.

After last update from 2019-09-16, system is far more faster then ever, everything works great and smooth.

Thank you very much !
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] po1vo:
[MENTION=7432462]Deus.[/MENTION] , thank you for the ROM, everything is great so far!

But a minor bug: the state of Transition animations at Havoc Settings -> Animations is not honored after a reboot. It's on regardless of the setting, I have to toggle it back and forth to re-apply.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Thank you for the feedback, I'm happy to read it :)

Thanks for the notification. The OS side is developed by Anushek and he focuses on Q, there were no updates recently.

However I'll release an update in the upcoming days with the upstream OS.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Specjalista:
I have OrangeFox-R10.0 Recovery installed. After instalation this rom and Magisk i maked clean cache and dalvik and restart. Now i se MI Logo loop. I try entry to Recovery - Power + Volume Up and Power + Volume UP + Volume Down and i cant entry to Recovery. Only i can entry to Fastboot. I installed recovery - TWRP and again Orange Fox using fastboot but still the same. Please help me... What i should do now ?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] drawun:
I wish to help you but I'm not sure your problem.

Are you saying that after flashing this ROM, your custom recovery reverted to stock recovery? And then you tried to flash custom recovery back but it didn't work(still stuck with stock recovery)?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Specjalista:
OK i fixed this problem now. I was install TWRP-3.0.3-0-alecs25.img via Fastboot using command fastboot flash recovery TWRP-3.0.3-0-alecs25.img

fastboot.exe boot TWRP-3.0.3-0-alecs25.img

And after entry to TWRP i see that partition is broken, i was format maked and after this i installed OrangeFox-R10.0-Stable-markw.

Now i will try install Havoc Rom.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Specjalista:
OK Issue is when using OrangeFox-R10.0-Stable-markw Recovery for installing Havoc-OS-v2.9-20190916-markw-Official.zip and Magisk-v20.0.zip ( Magisk 20 make problem so dont install this version )then we have problem like i described https://xdaforums.com/showpost.php?p=80535503&postcount=295

Next issue is i cant use 2 Simcards, one is no active, i must turn off one sim card for work another.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] heni63:
Ohh yee I was just having the same problem with not being able to boot them properly :/

---------- Post added at 01:44 AM ---------- Previous post was at 01:16 AM ----------

I KNOW THE SOLUTION.

After Wiping everything you need to reboot into the Recovery. You can read it in the Error Code when installing it without rebooting :) (Its not marked red though)

Hope I could help <3

cheers

heni63
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
After a long time (about a month), a new build is just uploaded to Sourceforge. There were a few changes, please clear cache and Dalvik after flashing this build.

Changelog in the 2nd message in this thread.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] killerbreu:
Hello,

The headphone control is not working, I can not increase and reduce and skip songs.

Thank you very much !
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Specjalista:
Why when i dont have sd card because im using 2 sim cards i cant use Camera for Foto or Video without sd card...

This is very bad move. Is possible to change it ?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
I'll check it, thanks for the report.

I don't know, as I don't even know what the error you see or what the camera reports, anything. So could you add a bit more context?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Specjalista:
When you dont have Sd Card in Phone you cant make videos or fotos because there is no option to save in internal storage. I see message put sd card in Telephone on Camera app.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Ok, I'll check it later.

[MENTION=8702151]killerbreu[/MENTION] do you have a bluetooth headset that doesn't work or that's a wired one? I tested with a wire connected Samsung headset and for me everything works, can start and stop music, can jump to the next one.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] killerbreu:
I use the wired headset from Xiaomi.

The problem also occurs in another rom - Resurrection Remix v7.0.2.

Update: I did the test with another headset and it worked, unfortunately rom is incompatible with the Xiaomi headset

Sorry for the inconvenience

Thanks
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] heni63:
[MENTION=252677]deus[/MENTION]

Thank you so much for this Rom, it's my favourite, solved all my problems I had with my phone and ROMs and gave me everything I need :)
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] ttler:
I got this message, although there is a SD-Card in there...
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] gorillagurke:
Hi, is it possible to add the feature that pressing & holding the screenshot button in the power menu allows to make a partial screenshot? I know that its possible via the tiles in the quick settings but i'm just curious

Otherwise thanks for the great effort you put in this ROM and keeping the phone alive!
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Terlos:
Have a new Bug an this one is horrible :).

Today it was the secon time that withou doing anything all my contacts gone...

Take my Phone and would like to Call some one and the only thing i saw was: Contact doenst exist.

So i try to open my Contact List but all the Contacts are deleted by the System ...

The same Bug i had after the last Release !

I made a Backup so i was safe, but the first time i have to search many friends again...

Pls fix this.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Don't get me wrong, but I'm pretty sure it's not the ROM, neither the build's fault. No one else reported it, I also use this ROM (just test builds, so my version is instable) but never ever faced such a thing.

So sorry, go and debug it.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] lhhenrique:
Hello

I can confirm that this bug also happens with me. I my case, not all contacts, but half of them.

I'm now using Havoc 2.9 Build number PQ3B.190801.002. I not use google play service, but microg.

First time it occours with the previous version. After a OTA update It happens twice.

For now, I do a backup every week to recover.

Maybe it has something to do with Whatsapp sync.

Thanks
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Specjalista:
I have same problem with contact on [ROM]-[UNOFFICIAL]-[28-09-2019] HAVOC-OS-v2.9 PIE [9.0]-[MARKW]

when i install some app which wanna access to contacts my contacts are gone and i must import my contacts from file. I saw this after installation Whatsapp, Signal, Telegram, Skype.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] pauloecs:
Contacts gone for me too, but they are not deleted, they are hidden.

Just open Contacts app, settings, and set to show contacts again, It have worked for me.

---------- Post added at 13:02 ---------- Previous post was at 12:51 ----------

GPS does not work, even with open sky; Waze and Google Maps get only relative positions (imprecision).

Anyone same bug ?

Havoc 20191015, Magisk 20.0

---
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Thank you all for your support and good words, as you might know, Havoc 2 isn't maintained anymore, Havoc 3 will be in focus.

As I lack the most requires resource to maintain Havoc, time, I give the maintainer position to [MENTION=6357624]ShihabZzz[/MENTION], he'll continue the work.

Wish you all the bests!
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] strongst:
Thread closed as per OP's request.

Thank you for your contributions :highfive:

strongst

Forum Moderator
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] DarkAngelGR:
Actually, it isn't my kernel the cause of app FCs, since I have made builds of AOSiP, Dot Extended etc. that didn't have any fc, I try to figure out what's causing that bug, but for sure not my kernel related. [MENTION=7432462]Deus.[/MENTION] great job on the work you have done so far
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
I did less than you (and thanks your work and help again), it seems really not the kernel causes the FC. I have a few logs, I'll check them as soon as I'm on my PC.

Saw OutOfMemory issues, ClassNotFound, DEX related things, but no common thing so far.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] messery:
When the language is Chinese, opening some apps will probabilistically cause systemui to restart, such as wechat app.

This is machine translation, sorry.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Could you collect a logcat file and send it? With that we can do a root cause analysis.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
New version released and available on SourceForge.

Changes are in the first message.

A possible cause of the Force Close was identified last night (11th of May). I got a few FC reports and in most of them the following lines can be seen:

Suppressed: java.io.IOException: Failed to open dex files from /data/app/com.<APP and ID>/base.apk because: Failed to extract 'classes.dex' from '/data/app/com.<APP and ID>/base.apk': Failed anonymous mmap(0x0, 10170368, 0x3, 0x2, 30, 0): Out of memory. See process maps in the log.

Based on the above line, the system couldn't open a dex file (which is a Dalvik EXecutable), because that (Dalvik) run out of memory. And because Dalvik crashed, couldn't start the application.

The device tree sets the various heap values of Dalvik, and I set a few new ones. If you still face app force close, let me know here.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
Latest update was good. Using it for few hours and no FC so far even after I restore from migrate. May I request something? Can you add equalizer from Sonic Syberia rom? The one in this rom is old and doesnt affect the sound tooa much. Also please remove the slow motion option from gcam since its not working at all. Grangage also remove the slow motion from his pixel experience. And why OTA always failed to check update? Is it usable? Anyway, this rom is good for now. I'll report if anything unusual happen. Thanks
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] lapmv86:
Still issue ( sometimes, )
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Share some log please.

Did you restore apps?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] wiki.alphajoza:
Maybe if you compare your build with SonicBSV's Syberia, you found a clue into what is causing these force closes because his builds are immune to fc.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] lapmv86:
I clean install, sir
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
New build is on sourceforge, 05-14,,changelog is in the initial message.

UPDATE: because I shouldn't update nor add apps to the build, the newest version was removed from Sourceforge. ETA for next update: this weekend (18th or 19th of May).
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] asdolacharkhi:
Thanks for your work, but for now I'm not recommend this rom for daily usage.

For couple of months there was no update and now the latest version released, I'm not really happy about it.

Some important apps like Google message crashes some time, my players didn't work and I couldn't hear anything, then I have to flash another kernel and now it's working, and the worst things I always report it but no one cares is battery drain.

My phone most of the time is off but when I pick it up I see without any usage the battery is empty.

Sorry but I have to switch to my old ROM.

Thanks
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
This is the first time I read about battery drain since I build this ROM. And that's something devs cannot do much about because:

- we don't know what is turned on on your phone (pocket detection, Ambient display, automatic screen dimmer, f. e.)

- we don't know what apps you have, what starts automatically

It would be good to have a benchmark, with the same setup, apps, SOT.

Check the Doze settings and fine tune it, tailor for your needs, that can help.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
This rom is beautiful. Everything is good. I got FC sometimes but probably because I restored apps using migrate. Please keep updating this rom. Thanks
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] luquiboyn:
Hi! Thanks for all your work, the ROM is awesome!

I haven't experienced any force close yet (only some minor ones but they probably weren't related to the ROM itself), but I was experiencing the same issue with battery drain.

The problem in my case was that the phone hardly ever went to deep sleep when the screen was off. After some trial and errors, I've managed to find the problem, which was the Pocket Mode. I've disabled it and now my phone is in deep sleep almost all the time. I don't know if this is normal for the Pocket Mode, or if it is a bug with the ROM.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] asdolacharkhi:
I really appreciate your work,

What I am going to say is, these are two other ROMs I used them for a couple of months:

https://xdaforums.com/redmi-4-prime/development/blackwing-t3706914

https://xdaforums.com/redmi-4-prime/development/rom-aospextended-v6-0-t3854251.

Every app, every setting, every usage and everything that I did on those ROMs, the same thing I did on Havoc. But with those roms I didn't have serious problem, everything was good, specially battery, but this is the second time I am using Havoc, and for both time, my battery drains even when I am not using my phone, with the same settings, apps and everything.

If the problem was because of my apps, or settings and other things, I should have get the same results on two other ROMs as well.

Anyway maybe you right and there is something I don't know, perhaps I should give it more tests it the future,

Thanks for your respond.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Newest version is up and available on Sourceforge;

Havoc changelog:

• https://t.me/Havoc_OS/1024

• https://t.me/Havoc_OS/1064

Device changelog:

• Added kcal support (thx for NotesOfReality)

• Added XiaomiParts

• Under the hood tweaks in XiaomiParts

• Ported Razziell's "init: clear and simplify init, remove hack for GSI" commit, which aims to bring stability
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] wiki.alphajoza:
Amazing, a new build.

No offense but just out of curiosity, it seems that [MENTION=6357624]ShihabZzz[/MENTION] was able to solve the FC problem. Are you aware of that or implement a similar approach?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
That's what I also ported, listed as Razziell's commit.

If your battery information in system settings seem weird, you have 2 ways:

1.) Delete data/system/package_cache

2.) Flash the zip file in attachment.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
Downloading. So gcam mod from grangage and syberia equalizer cannot be use for this rom?
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Officially, no. I successfully ported them and built a ROM, but that was taken down.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] lapmv86:
Still crash app :https://del.dog/avoqawetez
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Thanks for this report. Can you let me know which app was it? This NPE is very odd, want to check if I can reproduce it.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] lapmv86:
Play store, Sir. Perhaps, i need more time to test. Thanks.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
I know. Anyway, new update is better. I can feel the differences. I still face force close only for instagram, but I know I shouldn't use migrate and that probably my fault. Thanks for your hardwork :good:
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
How do I remove the orange tint? There is no option in the dialer and in settings. Tried everything and its still there. Thanks
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] Deus.:
Dialer -> Settings -> Display settings -> Fullscreen caller photo, it will show the caller's photo or a semi-transparent pic.
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] PrimeGen:
I found the solution. It actually related to sim card color in setting. Thanks
[Xiaomi Redmi 4 Prime ROMs, Kernels, Recoveries, & ] wiki.alphajoza:
FC report.

Build: Havoc-OS-v2.5-20190516-markw-Official