yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 & 3T Cross Device Development] gps3dx:
Nfc fix - and other issues fix due to rom upgrade.

I FIXED MY NFC ON 20191108 release !

The following fix PROBABLY works for any other HAVOC Q release, and might also be true for any other DEVICE !

I got a hint for the fix by looking at '/system/init.rc' which states:

# NFC: create data/nfc for nv storage
mkdir /data/nfc 0770 nfc nfc
mkdir /data/nfc/param 0770 nfc nfc
mkdir /data/nfc/param 0770 nfc nfc

so, by wiping '/data/nfc' folder ( even while booted into Andr, i.e not necessary during recovery ) and rebooting -> NFC WAS FIXED AND IT WORKS !

BUT NOTE - IT'S NOT THE WHOLE STORTY !!!!

it seems that with AOSP based Q roms ( I guess this is not limited to only HAVOC ) - many system components inc kernel modules ( like the NFC ) and system related packages ( like "settings intelligence" which deals with the OS 'settings' search capabilities ) WRITE THEIR DATA SETTINGS NOT UNDER /data/cache & /data/dalvik-cache nor even /data/data !

SO - even when a user enters recovery, wipes cache & dalvik-cache & system - IT IS NOT GOOD ENOUGH NO MORE !

SEMI-DIRTY FLASH M-U-S-T INCLUDES ADDITIONAL WIPES FOR THE NEW Q OS UPGRADE TO BE SUCCESSFUL !

Thanks to [MENTION=7009345]vivian&ondine[/MENTION] tip I've already made & shared a PARTIAL only solution ( that wipes /data/system/package-cache ) that can be flashed during a semi-dirty upgrade.... but as you can see from '/system/init.rc' - THIS IS NOT ENOUGH ( e.g as in the case of the NFC issue ).

TL;DR - in order to perform 'semi-dirty upgrade' of a Q based rom, beside wiping 'system' & 'cache' & 'dalvik-cache', a user *MAY* need to wipe MANY* FOLDERS THAT THE OS CREATES DURING BOOT, AS WRITTEN IN '/system/init.rc' !

* important: from my personal experience with Q roms - "MAY" = 99% of rom upgrades = ALWAYS.

an init.rc for example ( from 20191108 HAVOC release ):View attachment init.rc.txt

* look at my next post - as *NOT* every directory under /data should be wiped, even if being created by init.rc during each boot - so TAKE IT "WITH A PINCH OF SALT".

I will try and update my wiping zip to inc all remnants of system config under /data ( w/o hurting any user-made config of course like /data/data ) - but would really appreciate if advanced users like [MENTION=7578917]SKULSHADY[/MENTION] could please release such recovery flashable zip.

UPDATE:

apparently I'm correct that the NFC issue isn't specific to HAVOC and apparently it's even not limited to AOSP, as it was published that is happens on LOS as well !

UPDATE 2:

attached recovery flashable zip ( tested on OP3 - not guaranty to work on other devices not based on EMMC ) that wipes the following folders: ( in bold are folders that their content are known to cause issues when semi-dirty upgrading a Q rom )

/data/anr

/data/apex

/data/bootchart

/data/cache

/data/drm

/data/lost+found

/data/mediadrm

/data/nfc

/data/ota

/data/ota_package

/data/resource-cache

/data/system/package_cache

DOWNLOAD: View attachment 4872553
[OnePlus 3 & 3T Cross Device Development] gps3dx:
[MENTION=7578917]SKULSHADY[/MENTION] - when performing semi-dirty flash ( i.e wiping system & dalvik & cache from recovery ) - is it SAFE to wipe the following folders as well - WITHOUT loosing any user-made config like fingerprints, appops config etc... :confused:

/data/system/package_cache

/data/bootchart

/data/apex

/data/ota

/data/ota_package

/data/resource-cache

/data/lost+found

/data/drm

/data/mediadrm

/data/anr

/data/nfc

ANY OTHER FOLDER UNDER /DATA THAT'S BEING CREATED DURING BOOT BY INIT.RC ?? but which one ?

My goal here is to be able to wipe any config/data an old rom release wrote under /data, so it is possible to perform semi-dirty flash w/o getting any issues or errors ( like here and here ).

P.S - AFAIK, folders with a user sensitive data under /data, are:

/data/data - well duh !

/data/app - well duh !

/data/system - it contains appops config etc...

/data/system_de - it contains encrypted user's passwords or app-data ?

/data/system_ce - it contains encrypted user's passwords or app-data ?

/data/misc_de - - it contains encrypted user's passwords or data ?

/data/misc - since it contains fingerprint data / wifi passwords etc...
[OnePlus 3 & 3T Cross Device Development] Valaran:
Hi there ! Great rom ! Vert smooth and stable. I got an issue with Android auto (already faced on others Q roms), massive screen flickering. I know there os an option in developers which need to be turned off but i can't find where to enable the developpers options panel. I've spammed build number without success. Can anybody help me ? Thx :)
[OnePlus 3 & 3T Cross Device Development] gps3dx:
indeed spam 'system settings'->'about phone'->'build number'.

Then goto 'system settings'->'system'->'developer options'.
[OnePlus 3 & 3T Cross Device Development] seacowx:
Hi all, Just flashed 08/11 build.. How to get rid off this DM-verity? It was all good on havoc pie. Don't know if i missed something..

Did clean flash..magisk version as suggested..is it ok if i update magisk to the latest stable?

Thanks all.

✓Wonderful ROM. Thanks Dev!
[OnePlus 3 & 3T Cross Device Development] Viper The Ripper:
You need to disable dm-verity
[OnePlus 3 & 3T Cross Device Development] gps3dx:
indeed in order to get 'dev options' to should spam the 'system settings'->'about phone'->'build number' button.

Then goto 'system settings'->'system'->'developer options'.
[OnePlus 3 & 3T Cross Device Development] ali34pak:
hardware button swap option

Guys where i can found hardware button swap option, i want back option on my right button
[OnePlus 3 & 3T Cross Device Development] BillGoss:
See https://xdaforums.com/oneplus-3/one...nt/rom-nitrogen-os-beta-t3737654/post76206019
[OnePlus 3 & 3T Cross Device Development] iuliskaya:
https://sourceforge.net/projects/havoc-os/files/oneplus3/Extras/

here you go
[OnePlus 3 & 3T Cross Device Development] parag60288:
VoLTE Icon?

[MENTION=7578917]SKULSHADY[/MENTION]

Though VoLTE vorking fine on Jio as well as on Airtel, VoLTE icon is not showing in status bar.

I want to confirm, whether it is implemented & I am doing something wrong or implementation is still pending?
[OnePlus 3 & 3T Cross Device Development] AlbinoAsian:
Installed this today, have been happily surprised at how well it works. It's my first 10 experience. Love it. Thanks a lot for the great work!
[OnePlus 3 & 3T Cross Device Development] sathya86online:
Anyone else having this bug? Any workaround?
[OnePlus 3 & 3T Cross Device Development] kamilmirza:
flash the 8th November build

was experiencing the same, but not anymore
[OnePlus 3 & 3T Cross Device Development] sun.sky4u:
Phone settings, enable DND during calls could be the reasonView attachment 4874081
[OnePlus 3 & 3T Cross Device Development] m.parvage:
update issue:

I didn't find the system update in settings.

Now I am using 5.11 build. I want to go 8.11 build.

what should I do?
[OnePlus 3 & 3T Cross Device Development] intox25:
Clean flash are always recommanded but with small updates like going from havoc 3.0 5.11 to 8.11 you can most likely dirty flash without any issue.

Be sure to have a NANDroid backup ready ( from titanium or any similar app ) cause you can never be 100% sure things will go OK when you dirty flash.
[OnePlus 3 & 3T Cross Device Development] gps3dx:
This approach might be true for Pre-Q Andr... but for Q, not anymore.

I suggest you to dig into my post just 2 pages ago...otherwise be ready for issues sooner or later.:angel:
[OnePlus 3 & 3T Cross Device Development] iuliskaya:
Don't know about you but from the 31.10 version till the current one (08.11) i just dirty flashed and everything works flawlessly. And yes i use nfc, Bluetooth, gps, all the services are on. But i am aware that not everyone has the same experience so if that works for you, then it's good.
[OnePlus 3 & 3T Cross Device Development] :
You are mixing two very different backup/restore strategies. It's just not possible to make a nandroid with tb!

Nandroid: offline, partition based, full setup's snapshots possible.

TB: partly online (the system is running, only the app, which is backuped/testored is stoped) , app based, only app snapshots possible.

For your original posting: Yes, one should have a nandroid (complete setup's snapshot) at hand to revert back to the formerly running setup, but you can't do a nandroid with tb, you need a custom recovery to generate the nandroid witn.

References:

https://xdaforums.com/showthread.php?t=456277

https://xdaforums.com/showthread.php?t=459830

https://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-user-guide.html
[OnePlus 3 & 3T Cross Device Development] MaWalla99:
Are there any news on encryption for Q yet? I'd love to upgrade to Havoc OS 3.0, because its super smooth and so far works very well for me, but without encryption I really don't want to...
[OnePlus 3 & 3T Cross Device Development] seacowx:
Any new installation guide/steps for newest build 11/12 ? Maybe a link. Thank you very much.
[OnePlus 3 & 3T Cross Device Development] DerEmryz:
Dirty flashed the newest build over some previous Havoc 3.0, worked like a charm. only thing i noticed - theres now a constant microphone icon in my status bar. clicking it reveals google app using my mic. i cant disable it. anyone else has this?

To clarify: the icon appears when i'm on my home screen, google now etc. while using apps its gone.

edit: Ok, Now its pretty constant in nearly every app. i deactivated voice recording in my google settings, did not help
[OnePlus 3 & 3T Cross Device Development] Oblias:
+1 That would be great to have!
[OnePlus 3 & 3T Cross Device Development] DerEmryz:
Basically the same steps as before (as far as i know). From the Telegram Release channel:

I used the initial Havoc 3.0 and dirty flashed the newest one.

If you come from a 2.9 release, a clean flash is needed.

Rom: https://sourceforge.net/projects/havoc-os/files/oneplus3/

{Mod edit}
[OnePlus 3 & 3T Cross Device Development] seacowx:
Thanks for the reply. .Ya, thought so. I've tried 11/8 build before.

Clean flashed 11/12 all went good, rom superb smooth, more QS tiles added, Dashboard setting has been fixed. But as all we know nothing much under the hood "config.center" yet and i guess that's very acceptable at this Q's early stage development for 3T. No worries at all just a matter of time..

Missing basic features;

+ unlink/link notification sound

+ vibration strength slider

+ Sound QS tile

FYI; newest lawnchair 2.0-2546-ci-q-pre-alpha + quickswitch works well on Q gesture nav (back edge gesture, recents) But dt2s, use timeout instead or use inbuilt dt2s on status bar.
[OnePlus 3 & 3T Cross Device Development] RKS96:
Is this bug? When a folder is opened on the home screen and you press back or home button app drawer opens.

Also, how can I change notification led settings - charging, dash charging, low battery, fully charged, ect from OOS 9.0.5

---------- Post added at 10:32 PM ---------- Previous post was at 09:58 PM ----------

Also moving icon out of a folder is almost impossible!
[OnePlus 3 & 3T Cross Device Development] Oblias:
Ok, so I've had a couple of fun hours of trying to decrypt my 3T. I am currently running Havoc 2.9, no custom kernels or firmware, completely stock. My phone is currently encrypted, and the install instructions for the 3.0 rom say that my phone needs to be unencrypted to flash 3.0 correctly.

I did a adb pull /sdcard/ to get all my personal data onto my PC, then booted to the bootloader and gave the command of fastboot format userdata . All seemed to go well, and I used the vol button to get the Recovery option up top, then pressed the power button to reboot. Well, I got as far as the splash screen for the twrp-3.2.1-x_blu_spark_v8.61-op3_op3t version of TWRP which I have been running all this time. Things just hung there, only a splash screen for that version of TWRP.

So, I cold booted back to the bootloader, and using adb, I flashed the twrp-3.3.1-0-oneplus3 official version of TWRP. I then booted into that version, and it did finally get past the splash screen. So, I figured I'd push the 2.9 rom, magisk, and gapps onto the internal storage, and flash all that, and try the whole thing again. Well, this is where it gets even more weird. TWRP kept telling me that it couldn't mount /data. So, I tried to repair /data, and that failed. Then I did the change file system for /data to ext2, and that seemed to work fine. Then I changed it again to ext4 the second time, and that also worked ok.

Now back at the Mount section of TWRP, I can see that data was mounted. VERY weird to me why it wasn't mounted after the fastboot format userdata command. I just don't know what happened.

So, I install the 2.9 rom and everything again, get it set up, and gave the whole thing another try. Once more, after fastboot format userdata I rebooted to TWRP, and this time I can get in, but once again, it is not able to mount /data. It just shows as being 0 bytes available, even tho I can push files on to it, and TWRP can see them there, but it just won't or can't mount /data until I do the whole routine of Changing File system to ext2, then ext4.

On top of all that, once I get the 2.9 rom, magisk, and gapps flashed, and boot into the os, my phone is still encrypted. All that for nothing!

I could REALLY use some help here, folks. As you can see, I've done my homework, and doing all I know how to do, but just can't get this phone decrypted so that I can flash 3.0. Can anyone help with instructions, a link, or something that will get this thing unencrypted? TIA
[OnePlus 3 & 3T Cross Device Development] BillGoss:
Using the latest official TWRP 3.3.1-0, Wipe>Format data and then reply yes when prompted. Reboot too recovery and then flash your files. This always works for me.
[OnePlus 3 & 3T Cross Device Development] Oblias:
Thanks! But if I read correctly, you are doing that right at the time when you are ready to flash the 3.0 rom, yes?? If that is true, then my situation is just a little different. I'm still on the 2.9 rom, and wanted to stay here for just a while longer, however, I wanted to decrypt my userdata in order to get ready for the day when I do flash 3.0.

But, I've just finished trying 7 different ways that I've read about on the net, with the same result each time, that being my phone is still encrypted.

Perhaps I should give it up, and wait until I'm actually ready to install 3.0, and then use the method you described above, eh? :)
[OnePlus 3 & 3T Cross Device Development] BillGoss:
I've not used Havoc. Does it (2.9) automatically re-encrypt your phone? If it doesn't, then try what I suggested.
[OnePlus 3 & 3T Cross Device Development] :
Havoc doesn't force encryption; neiter on pie nor on q:

https://github.com/Havoc-Devices/an...eplus3/blob/pie/rootdir/etc/fstab.qcom#L9-L10

https://github.com/Havoc-Devices/an...eplus3/blob/ten/rootdir/etc/fstab.qcom#L9-L10

I think we can't debug this without recovery.log. Logs needed from the formating in twrp session as well as from the session, when twrp can't mount data.

Note: always check the console output of each and every action taken in twrp. Always follow the console output, i.e. reboot after formating a partition.
[OnePlus 3 & 3T Cross Device Development] Oblias:
Thanks, but doing all that is way above my skill level. I'm outta my league with doing any of that. But I do appreciate the input. I'm just going to wait until I feel 3.0 is capable to be my daily driver. It's very close now, so I suspect it won't be too long before I try an install.
[OnePlus 3 & 3T Cross Device Development] :
If checking (aka reading) the twrp console output and going to twrp->Advanced->Copy Log and share recovery.log here is beyond your skills, you shouldn't use a custum recovery in the first place.
[OnePlus 3 & 3T Cross Device Development] sun.sky4u:
Where do I find double tap to wake on lock screen in havoc 3.0 latest build?

Also in the 8th Nov build, there was a blue light appearing from the center of the two sides travelling upwards whenever the there was a double tap on lock screen. It's missing from the next two builds published. Where can I find setting related to that or its not implemented again in the newer builds?
[OnePlus 3 & 3T Cross Device Development] Eugeniu Vasilachi:
Anyone know how to fix this bug? This app always crashed
[OnePlus 3 & 3T Cross Device Development] kaplaz:
Do we have to flash firmware with this rom?
[OnePlus 3 & 3T Cross Device Development] gps3dx:
invest into reading my post few pages ago.

Although the maintainer latest post about firmware is dated back to Jul 2019

I'm almost certain that it is recommended to update MODEM firmware to 9.0.5 if you want to move to HAVOC 3.x from previous HAVOC version ( or ANY other rom )

Also you can get a hint about it from the downgrade notes of the maintainer
[OnePlus 3 & 3T Cross Device Development] Oblias:
Ahh, have you ever heard the term 'dry' or 'wry' humor? I suppose that is a redundant question, because the answer is obvious.

Perhaps you were just focused on your need to command someone as to what they should or should not be using, instead of being focused on what you, yourself, should have been using. Ever hear of a spellchecker? In any event, your assistance has been unparalleled.
[OnePlus 3 & 3T Cross Device Development] sathya86online:
Dirty flashed 8.11 over 31.10. Booted but all Google apps kept crashing.
[OnePlus 3 & 3T Cross Device Development] Oblias:
There is a 14.11 version of Havoc now, along with a 14.11 version of Open Gapps Beta. Newer than the 8.11 you used., so perhaps those will take care of the issues you are facing?
[OnePlus 3 & 3T Cross Device Development] sajed98:
Hi guys, I'm using Havoc 2.9. just flashed it yesterday. Everything going is great, however I can't seem to make it so that the notification LED blinks during DND. I have tried disabling the "do no blink LED" doesn't work. Please help.
[OnePlus 3 & 3T Cross Device Development] sun.sky4u:
Where's the new alert slider UI as per the change log on 14 Nov build. Not able to locate that anywhere?
[OnePlus 3 & 3T Cross Device Development] bbbaa09876:
Hi everyone. Im planning to flash Havoc os 3.0. Currently running OOS stock pie rom. Is it good to flash Havoc 3.0 now. Is that stable enough for daily drive. Kindly help me. I am a noobie as well. There are some steps include flashing firmware. What is firmware and how to flash it.
[OnePlus 3 & 3T Cross Device Development] Eugeniu Vasilachi:
But I have clean install, and trying to change gapps. Nothing can help me. On any havoc 3.0 build this app have crashing always.

Can anyone help me?
[OnePlus 3 & 3T Cross Device Development] Viper The Ripper:
1. Which version OOS are you running? If you are using 9.0.5 and the latest official TWRP you're good to go.

2. BACKUP ALL YOUR DATA AND THE FILES IN YOUR INTERNAL MEMORY TO AN USB OR YOUR COMPUTER!!

3. FORMAT DATA, wipe system, data, cache and dalvik-cache. ***FORMAT DATA WILL ERASE ALL YOUR /DATA AND INTERNAL STORAGE FILES!

4. Flash the ROM

5. Flash the Gapps

6. Enjoy!
[OnePlus 3 & 3T Cross Device Development] sajed98:
Also vibrate on call pickup doesn't seem to work
[OnePlus 3 & 3T Cross Device Development] vini1093:
Deleted
[OnePlus 3 & 3T Cross Device Development] sun.sky4u:
Working here on the latest build
[OnePlus 3 & 3T Cross Device Development] sajed98:
On 2.9. Android 9.
[OnePlus 3 & 3T Cross Device Development] gps3dx:
Please note "OnePlus 3 & 3T Cross Device Development" "**Rules for posting in development**" which states:

[MENTION=4405529]nvertigo67[/MENTION] may be able to use more 'soft' remarks - but forums rules back him up, that logcat or TWRP logs (or any other log type in general ) are the way to help developers to isolate an issue, so they could help the community back with a code fix.

I hope any user in the forums understand that telling a mechanic that "my car don't start" is not really as efficient as tell him that "I made a copy of the car's CPU (& other systems) log, just before and after I tried to start it up - so it will be easier for you to diagnose". :angel:
[OnePlus 3 & 3T Cross Device Development] Oblias:
[MENTION=2311359]gps3dx[/MENTION] Duly noted.
[OnePlus 3 & 3T Cross Device Development] vineet_damani:
not able to install gapps

not able to install gapps.

It is givng me error 64 (arm64 incompatibility)

tried wiping and also formating data, but still not able to install gapps.

please help.

I flashed latest twrp 3.3.1.0

then wiped to factory settings

then formating data

then in advanced selected sideloading

and then installed ROM using adb sideload from pc

then rebooted to recovery

then again while sideloading gapps it is giving me error 64 (incompatible arm stuff)

please help.
[OnePlus 3 & 3T Cross Device Development] Donglip:
Try to flash with this Gapps
[OnePlus 3 & 3T Cross Device Development] nForce_lan:
Havoc rom from 14.11.2019

The last havoc rom from 14.11.2019:

Clean flash from 9.0.5 with formatting data

Safety Net passing, Google pay works but the problem with NFC, pay pass doesn't work...

The game "Cats arena turbo star's" crashes after few minutes playing...

Everything else seems to work well..
[OnePlus 3 & 3T Cross Device Development] sathya86online:
I thought Gapps need not be flashed while updating with a dirty flash. I think I'll need a clean flash flash anyway. Thank you!
[OnePlus 3 & 3T Cross Device Development] sun.sky4u:
Where do I find double tap to wake on lock screen in havoc 3.0 latest build?

Also in the 8th Nov build, there was a blue light appearing from the center of the two sides travelling upwards whenever the there was a double tap on lock screen. It's missing from the next two builds published. Where can I find setting related to that or its not implemented again in the newer builds?

Also not able to locate the alert slider settings. Can someone please help me with the above?

I did a wipe of system, cache and dalvik cache before installing 14th Nov build over 8th Nov. Not sure it's dirty flash or clean flash. I don't wipe data and internal storage.
[OnePlus 3 & 3T Cross Device Development] BillGoss:
If you don't wipe data then it's a dirty flash.
[OnePlus 3 & 3T Cross Device Development] Oblias:
Due to the fact that both the rom and the gapps for Q are still very much in development, I suggested to you that flashing both of those might, and I stress, might, resolve some of the issues you are having. It's a prudent move, I believe. :)
[OnePlus 3 & 3T Cross Device Development] vineet_damani:
thanks. it worked...
[OnePlus 3 & 3T Cross Device Development] Dhruvit Pokharna:
Jio call don't work , when I call it says call ended immediately , maybe issue with volte on off

---------- Post added at 05:49 AM ---------- Previous post was at 05:42 AM ----------

Hey man how did you manage to make jio calling work in havoc 3.0

---------- Post added at 05:49 AM ---------- Previous post was at 05:49 AM ----------

Hey man how did you manage to make jio calling work in havoc 3.0
[OnePlus 3 & 3T Cross Device Development] parag60288:
Nothing special.

I was running Oos 9.0.5. I flashed havoc 3.0 11/08 build with normal flashing instructions.

It was working out of box.

Haven't tried latest build though.
[OnePlus 3 & 3T Cross Device Development] Dhruvit Pokharna:
Actually my jio Sim was in 2nd slot and then I put it in 1st slot then its working but maybe volte is not working for Sim 2

Sim 1 airtel

Sim 2 jio
[OnePlus 3 & 3T Cross Device Development] Akagami1994:
everything seems to work great but the BATTERY DRAIN IS HUGE!

guys! I am on Havoc Os 3.0 - 12/11/19 and everything seems to work fine except the BATTERY DRAIN. the phone heats up while using any apps, and quickly loses charge. Also, the battery doesn't last overnight even at 100%. I've tried clean installing it again but it just doesn't go away. I really love this rom and would like to stay on it. help? or suggestions?
[OnePlus 3 & 3T Cross Device Development] parag60288:
Ya. I forgot to mention.

I used Jio in slot 1 & Vodafone in slot 2..

But after, i switched slots & it was not working.
[OnePlus 3 & 3T Cross Device Development] Darkweb_182:
I'm thinking about trying Android 10 rom (currently on msm xtended 2)

How stable is this rom?

Does it have scrolling screenshot and internal audio screen recording?