yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S7 Questions and Answers] cooltt:
Hello Philip this might be a long post

What firmware was on the device before the problem started? Was it branded or unbranded?

Are you sure the phone is a genuine G930F or a phone that has been turned into a G930F by flashing that firmware in the past? You can check by looking at what the phone model is at the top left corner of "Download mode"

Where are you getting the other firmwares from?

I've attched Samfirm tool which will get the latest firmware direct from Samsung servers.

1. Unzip file

2. Right click on SamFirm application and run as admin.

3. Check "Auto" & "check crc32" & "decrypt auto"

4. Model is "SM-G930F" type it exactly as shown without quotes

5. Region is "BTU" . Offically UK with all EU language options but also additional files which will fix firmware install problems.

6. Press "check update" then "download". It will decrypt automatically and you will have a zip file with 5 files inside(BL,CSC,AP,CP,CSC_HOME) choose CSC not CSC_Home when placing into Odin. Place all other files in right place.

Odin attached is version 3.13b patched. This version of Odin will ignore lots of miss-match device errors and just install the above BTU firmware.
[Samsung Galaxy S7 Questions and Answers] philipp-h:
Hi cooltt and thanks for your help!

Unfortunately the BTU-ROM did not solve the freeze-reboot-problem but led to another: After flashing the phone gets stuck with a blue screen "Erasing". After several hours I force rebooted and now it is showing a similar screen with "Error!" and a percentage which is increasing to a random number from 0% to 12% on each boot. On first boot it shows the boot screen ("Galaxy S7"), then "Installing system update" shortly and then "Erasing". After force-reboot it shows boot screen, "Erasing" then "Installing system update", both for a very short time (sometimes misses "Installing...")

As suggested I used SamFirm to download the newest BTU-ROM (SM-G930F_1_20191218140415_dgobhw6g3v_fac; G930FXXS7ESL5/G930FOXA7ESL5/G930FXXS7ESL5/G930FXXS7ESL5). I just ticked F. Reset Time and Reboot. Re-Partitioning did not change anything. Using Odin v3.13.1 does not make a difference. The other ROMs, like SM-G930F_1_20191226131628_8ds2p6kf0v (G930FXXS7ESL9/G930FDBT7ESL9/G930FXXS7ESLA/G930FXXS7ESL9) which I downloaded with Frija (should do the same: download enc4-files from Samsung and decrypt) make the phone going to the initial setup fine, but with the reboot-problem. Tried also with Odin 3B patched.

At this point I was going to write, that I could not access the recovery mode with the BTU-ROM but just now I started it unintentionally when looking for the sequence of screens showed on boot. So I used my chance, made a full wipe and screenshot. After this the phone booted until the glowing "Samsung"-logo appeared. Then rebooted and went to initial setup (after "Androi"Installing applications") in German. The freeze-reboot-issue appears as with all the other ROMs.

The phone is certainly an original SM-930F as it was bought directly from a big, trustworthy dealer and then just used by my aunt. The only one touching it when problems appeared was me. There is SM-G930F printed on the backside and showed in download mode.

Gallery with screenshots (as I cannot find way to upload attachments - although I posted attachments on XDA before...): https://xdaforums.com/album.php?albumid=16089
[Samsung Galaxy S7 Questions and Answers] cooltt:
Hi Phill

The only options checked in Odin should be F-Reset and Auto reboot. Don't check any others.

The blue screen erasing and updating is normal after a flash with Odin, the phone will restart a couple of times, just leave it do it's thing for a bout 10 minutes or so. If it's any longer than that as you have mentioned then it's stuck as you've said.

So we're going to start from the begining again but do something slightly different.

1. Place the phone into download mode

2. Run Odin but uncheck "Auto Reboot" so the only option checked is F-Reset Time.

3. Use whatever firmware you want, BTU or DBT the latest version. Make sure files are in the correct boxes.

4. Connect phone and flash with Odin, wait until Odin says "succeed 1" and "dissconnected" . It may even say "pass" in green, not important but "succeed 1" is important.

5. Your phone will show the bar and do not disconnect. So....disconnect from laptop / PC. The screen should remain "do not disconnect".

6. Hold volume down+home+power (in that sequence).

7. As soon as the screen goes black move your finger to volume up, while still holding down home + power. You are trying to get the phone into Recovery mode as you said earlier.

8. The option to choose in the recovery menu is "wipe cache partition" NOT "wipe/factory reset". I can see from your pictures that this option has failed because the FRP lock is still on!!

9. When you've chosen "wipe cache partition" then choose "reboot system now"

The phone should go through it's normal set up routine, erasing, update, installing apps etc, just leave it do this and hopefully the phone will boot then ask for the Google email and password which was used on the phone.

There are very few reasons for the phone to get stuck on boot....

1. Incorrect firmware,

2. Water damage

3. The phone has been Rooted with FRP lock on. It is very rare to be a hardware issue.

You should always turn FRP lock off and enable OEM unlock in settings before flashing to a phone. I know it's a little late for that but something to remember.

To check for water damage.

1. Remove SIM card and holder

2. Shine a light in the hole, you will see a WHITE sticker which turns PINK if water has ever got inside the phone.
[Samsung Galaxy S7 Questions and Answers] philipp-h:
Thanks a lot again for your great efforts!

I tried as you wrote but did not manage to start recovery immediately after flashing (tried >10 times). But after some while the BTU-ROM started and now keeps doing so even after new flash without wiping cache afterwards. Wiping data worked for me in past when I sometimes had enough time to enter Wi-Fi-password. It was saved even after reboot and away when I did data wipe in recovery. With the newest ROMs I never got beyond typing Wi-Fi credentials.

I cannot see a water damage. A root was never tried before (and OEM-lock and FRP were always on because stock, which is very bad now :rolleyes:). Would be absolutely no problem if this !#@*#% stock ROMs would work... TWRP installation was directly blocked when I tried my luck as last resort. I did not try other images.

Thanks nevertheless for your time and patience!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] AliHasan7671:
What is OmniROM?

OmniROM Source

OmniROM Gerrit Review

#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/

DO NO POST BUGS WITHOUT LOGS AND PROPER STEPS TO REPRODUCE THE ISSUE​

Downloads :

OmniROM : Redmi Note 4

GApps : OpenGapps

Instructions :

Download the latest OmniROM and Gapps

Boot to recovery

Wipe data/cache/system

Flash ROM, Gapps, and Magisk if you want root access.

Reboot

Known issues:

None

Credits :

omnirom team

@khan_frd2002 for helping me throughout.

Zeelog

abhishek987

Everyone who helped me by any mean, including those who tested beta and broken stuff <3

Join us on Telegram:

OmniROM_Community Group

Omni Xiaomi Group

XDA:DevDB Information

Omni ROM, ROM for the Xiaomi Redmi Note 4

Contributors

AliHasan7671

Source Code: https://github.com/omnirom/

ROM OS Version: Android 10

ROM Kernel: Linux 3.x

Based On: AOSP

Version Information

Status: Stable

Created 2020-02-24

Last Updated 2020-02-24
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] AliHasan7671:
Reserved
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] xcosby:
happy to see omni again.Do you need to format data ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] huzefaonline:
Nope, no need to format data. But clean flash via wipe dalvic, system, data, cache and vendor and then flash Omni.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] xcosby:
Twrp flew
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] xcosby:
first build deletes twrp now i don't know what the situation is
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] joselap:
No problem for me with orangefox twrp. Installed omni-10-20200224-mido-WEEKLY.zip
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ZjemCiKolege:
Can you fix gamepad support? :)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] huzefaonline:
No issues here with the clean flash first build and then dirty flash of second build.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Deleted member 8106930:
Screenshots please... Settings, quick settings, extended settings etc.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Safiqul:
Please give me the omni switch apk or flash file for android 10 ROM.Please please please.I want to use havock or evulotion x or cr droid ROM. Because they are more faster smooth and battery backup excellent.I LIKE OMNI ROM MOST BECAUSE THIS IS THE BEST customization ROM FOR ME.BUT SOME RESON BATTERY BACK UP IS LESS COMPARE TO ROM THAT I MANSION. I DONT KNOW WHY, EVEN OMNI SOURCE FELL LIKE PURE TO ME.I WILL ONLY USE 10 ROM IF I HAVE OMNI RESENT.SO PLEASE GIVE ME THE APK FILE.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] AliHasan7671:
Omni mido 08-03-2020 weekly

You may check complete changelog on Gerrit or using changelog app, but here are a few things I would mention!

You can now enable navbar, disable capacitive keys, enable or disable both of them at the same time, you wish what you want to do.

Double-tap to wake is moved to Device Features

Brightness settings for buttons also moved to Device Features

Download the latest update from https://dl.omnirom.org/mido
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] huzefaonline:
Here you go..
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Deleted member 8106930:
Need more..
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] huzefaonline:
I uploaded many but some how only one uploaded. Check now
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] sumirandahal76:
Goodix is fixed ?

And how's the battery backup in this ROM ?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] huzefaonline:
Not yet. The battery backup is great though. FYI
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Safiqul:
Data connection doesn't work on latest rom.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] huzefaonline:
Working fine here.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] yiannis1621991:
What is the sellinux mode in this rom?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] leszq:
Enforcing according to latest changelog in telegram group.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] filjusz:
Looks like goodix fingerprint is gonna be fixed in upcoming weekly acording to dev
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] ikarus.nc:
Hi there, is this a treble rom? I cannot flash ethereal kernel because it says non treble are not supported. Thank you for your help
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] AliHasan7671:
Weekly 15-3-2020

Fixed custom LED colors

Fixed goodix (no credits to me LMAO, zeelog did)

Dirac is now in "Device Features"

WFD is also fixed

Check rest of the changelog in changelog app ?

Download https://dl.omnirom.org/mido
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lepicane1:
Giving OmniROM a try with Lawnchair launcher after being on Syberia for a while. Everything seems good for the moment.

I could be completely blind, however is call recording available on this ROM?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lepicane1:
Enjoying the ROM so far and no major issues. I have noticed that the sound quality is quite tinny and harsh when watching videos or listening to music. Not the speakers as the sound in my previous ROM was very good.

Any particular settings I could try?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] saboy1976:
Great ROM thanks. Can we config buttons? I didn't see how to do in options. Is it possible to see traffic in status bar? Thanks again!
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] AliHasan7671:
There is Dirac in Device Features, try that.

I'll look into it, though I didn't notice any change.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] andaspark:
Thanks for this rom. Could you add a quick tile for restart, recovery? Or somewhere else. It's more prefereable from pushing the physical button on the phone. And a quick tile for syncing? Thank you.. Great rom, good effort
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lepicane1:
Thanks. Tried the various presets and couldn't see any difference. It's like there is not enough bass.

Clean install and no Magisk modules that could interfere.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] wutzin:
Fingerprint still broken :(
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lepicane1:
It definitely works. I have Goodix and the 15 March build works. Did a clean install.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] wutzin:
Correction: fingerprint was broken on clean install. I installed again, but also wiped the SD card, and flashed the fingerprint reset zip file.

Now it works!

Only problem I have now is that I can't find where to turn off the display (it always stays on, even when I press power button, so my battery drains super fast).
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lepicane1:
Display, Advanced, Lock screen display, Always on...

---------- Post added at 09:37 AM ---------- Previous post was at 08:51 AM ----------

So far so good, thanks for developing this rom.

Quick question. My alarm is not waking the screen with the Snooze/Dismiss notification. Is this intentional or a bug? Tried with 'Always on' and show all notifications.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] wutzin:
OMG, I must be blind...

I looked in Display-advanced-screensaver

I looked in OmniGears - lockscreen

I looked in OmniGears - ambient display

And I also looked in display advanced lock screen, but failed to notice the always on toggle there ?

Now I'm a happy camper - can't live without OmniSwitch and won't use a ROM where I can't get it to run...

Any plans for enabling customization of buttons like in other ROMs (e.g. pick actions for long press, double tap etc - I really like double tap menu to switch to last app)
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] leszq:
mido is the only Omni 10 device with physical buttons, so I guess it's kinda useless to modify whole source just to add this option. You can use GravityBox or button mapping apps for that. I'm personally using GravityBox and it works like a charm.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] saboy1976:
Thanks for your suggestions, with GravityBox options,this rom is perfect.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Safiqul:
Undoubtedly one of the best ROM.But please add treble support. Otherwise we can't use any custom kernels today.And without setup wizard data connection not working. That's why can't use bit gaps plus microg.Beside with microg contact sync doesn't work please fix.Thanks for the greater ROM and omni switch. Please forgive me for my weak language.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] lepicane1:
Still find this a great ROM and no major issues, so thanks to the developer.

On the topic of minor issues, is anyone having issues with charging? Since the 22 March build, charges only to 99% and LED is yellow. I'm still getting 2 days average use (6+ hours SOT).

Not a major issue, just curious.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] huzefaonline:
No issues here with charging. Charges fully to 100 percent.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] talhamk58:
Traffic Indicator

Is the traffic indicator on statusbar not available in this ROM?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] filjusz:
Nope and i doubt it will ever be
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] talhamk58:
Any work arounds?? Other than apps on playstore with draw over other apps permission?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] udo dustyroad:
I recently switched to the ROM and must say I am happy about it. Everything is working well and I love OmniSwitch - for me it is really nicer to work with it.

I would like to send a big thank you to AliHasan7671 and the whole OmniRom team. Thank you so much for all the hard work and that you maintain and share the ROM with everyone. I highly appreciate it.

I attach some screenshots in case someone is interested. Battery life is well from my perspective I used the phone for 1.5+ hours of calls and music playing before I did the screenshots.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Madman1209:
Hi guys,

ROM is absolutely great! Just one quick question: when I "pin" or "fix" an app (like YouTube) so that you can't switch the app (like when my son watches YouTube), usually I need to hold down "back" or "back and home", but nothing seems to work here. Is there anyone else with that problem? Meaning: if I "pin" or "fix" an app, I can't leave it by any means and have to restart the phone.

Greetings!

Mad
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] MrSucker:
How can i deactivate a sim card completely?

I want to switch between 2 sim cards and only one should be active.

Does this ROM have no option for that? In Settings - > Network & Internet - > Cellular Network i found nothing to deactivate.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] rodrigorgomes:
My screen have a burn in issue in this Rom

No option for color calibration / RGB in Ambient Display
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] :
Is there any chance we could get the MicroG Official builds that are rolling out for some other devices?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] huzefaonline:
We have them now. Check the download site.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] :
Awesome! It's time to go Q with OmniROM :laugh:
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] facochr:
can you give us your opinion on omni-MicroG?
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] :
Well, MicroG really should be used only by people that can't stand Google and are willing to sacrifice a bit of functionality over gains in privacy. If you feel described by this then let me tell you that OmniROM by itself is a wonderful base to run MicroG and it has no equal. I used to be a Lineage for MicroG user, I trust it, but it is still unofficial and silent lately, both in updates and communication. It's been a while since there are no new Pie builds for my device, and there are just so little devices with Q builds.

So, my opinion is its great. The more barebones base of OmniROM coupled with a minimal MicroG installation make this ROM one of the best experiences I've had of an out-of-the-box Android version with privacy in mind. I even used /e/ OS and, while this OS eases my initial setup by a lot, I find it cluttered and bloated. Nanodroid is a great project too, it allows you to install MicroG in any phone with signature spoofing support, nevertheless Nanodroid still needs some attention during installation. You may need to patch your services.jar for signature spoofing support and then configure Nanodroid with a conf text file to your taste or flash files separately. OmniROM MicroG is flash-and-forget... and it's gonna get so much better.

This first build, though, has some problems, in my experience, with fdroid integration into system and the Unified Nlp. The Unified Nlp or network location is not detected in my MicroG configuration app. Sometimes the privileged extension works fine and sometimes you have to tap Install buttons. Also, while this is not a problem, the Fake Store app that emulates the existence of a Google's Play Store, needs you to give signature spoofing permission manually to eliminate an Android notification related to Google Play Services needed. Other thing that bothers me a bit, but this is not related to only OmniROM MicroG is the election of Quickstep as default launcher, it is too minimalist, and now in Android 10 default launchers are much more important because they are the only launcher capable of navigation with stock gestures. I really like gesture navigation, but for people accustomed to nav bar, this wouldn't be a problem, it's just that Quickstep can't even use custom icons.

As part of a wish list I would like a way to power off and reboot without using root or physical buttons (mine are just too damaged already). EDIT: Found the Power Button Tile in Fdroid, this basically emulates Power Button long press using a Status bar Tile. This, coupled with the Advanced reboot option checked in Settings and I haven't used said button for a week.

The way it would work with a Google account I can't know, therefore, wont add anything except it perfectly prompts the UI to log in.

EDIT: Unified Nlp works after a reboot. This thing is solid so it didn't crash and I avoid using my Power button so probably this was my first reboot since I installed yesterday.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] facochr:
thank you so much for the feedback, I didn't expect so much. At the moment I'm with Omnirom+MinMicroG, it's working great, a bit like L4M, it comes with Aurora droid and Aurora Store.

Concerning Omnirom, I think I prefer L4M, just for Trebuchet, here you can't hide app names on the desktop...Otherwise it's pretty much the same thing.

But it's really a very good thing to have an alternative to L4M.

So Omnirom-MicroG edition comes with F-droid just like L4M?

If my phone crashes, I'll install this Rom for sure.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] :
Well, OmniROM-MicroG is basically OnmiROM+MinMicroG_NoGoolag, so, yes, it comes with Aurora and Fdroid as system apps, but Fdroid as a privileged system app is not working consistently. After more testing I've noticed it sometimes waits for you to confirm installations.

I have an old tablet with Android Marshmallow, it is a very fine piece of hardware but poorly maintained or planly unmaintained, I don't know. Anyway, while I was loving Gesture Navigation in Android Q, it's really frustrating to use another similar device without Gesture navigation support.

Another concern for me is the glide or swipe keyboard function to write text sliding my finger on the keyboard. I used to flash or push the corresponding library separately, to add the function to the stock AOSP keyboard but it's not a really great implementation of the feature as in Google keyboard. I just ended up using AnySoftKeyboard which also has a very basic implementation of the feature. The advantage is I don't use a Google blob. I will stay in OmniROM-MicroG for some time now, I can't be ROM-hoping at this point of my life.
[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] geozhon:
just flashed it. geat rom.