yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco F1 Questions & Answers] BenParz:
So, I am using a Sony speaker and v4a doesn't process the audio until I change the BT bitrate in developer options to 48,000. It is okay when I use it but whenever I reboot the device, the settings get reverted back again to defaults. Is there any way for me to let the settings stick for good?
[Xiaomi Poco F1 Questions & Answers] T4lGA:
ARe you even sure that 48k is the correct bitrate. Most music is published in 44.1k so it might be changing back automatically to the correct format (44.1k) whenever you play something. Can you say with certainty that the files you are playing are 48k?
[Xiaomi Poco F1 Questions & Answers] BenParz:
I actually do not know, but when I connect my sony sbs-x31 speakere, it even defaults at 96k
[Samsung Galaxy S9+ Questions & Answers] arconreef:
I just purchased a used AT&T SM-G965U. My carrier is Google Fi. It's running Android 8.0 and Samsung Experience 9.0. Build number is G965USQU3BRK1. Last security patch was November 1, 2018. When I try to update OTA or with Smart Switch both claim my phone is up to date.

I started looking into how I might manually update the phone and found some instructional pages for updating via ODIN, but was not able to find the correct firmware to update to Pie using that method. I did however find a thread on the XDA forums with a download link for an SM-G965U Pie build. Someone posted in that thread that it is possible to update the phone with a micro SD in recovery mode. Even with that being the case the firmware.science page linked in the thread specifically says that the firmware will update my phone from version G965USQS3BRK2 to version G965USQU3CSAB. This seems like a problem since my phone is running G965USQU3BRK1 which I assume is an older build based on the BRK1 designation. Will this update method even work with my phone? Do I need to update to BRK2 before I use the firmware linked in the thread? If so is the BRK2 firmware available for download anywhere? Or failing that is there an ODIN firmware update available?

Update: I tried updating via micro SD in recovery mode using a firmware update downloaded from firmware.science that is supposed to update my SM-G965U from version G965USQU3BRK1

to version G965USQU3CSA5. The update was aborted due to "unexpected contents". I transcribed the error at the bottom of this post. Not sure what else I can do if I can't find an ODIN firmware. If I used the modifed ODIN to flash my phone with U1 firmware would that enable updates through normal (OTA/Smart Switch) channels?

E3005: "EMMC://dev/block/bootdevice/by-name/modem:83300864:2d921fc2a30290a4f894ef4e5528ab83263913ec:84005376: 12c0577b202561c4a0732793bdbaf3a04eca67f0" has unexpected contents.

E:Error in /sideload/package.zip (Status 7)

Installation Aborted.#1

Update 2: I managed to find the ODIN firmware update files and successfully flashed my phone with a Pie build. Disregard this post.
[Samsung Galaxy S9+ Questions & Answers] DIncLover:
I'm having the identical problem, only with Verizon SM-G965U. Android 8.0.0, last security update Nov 2018. Can someone guide me to the solution?

Thanks
[Samsung Galaxy S9+ Questions & Answers] Cyclone Emperor:
What firmware are you currently on?
[Samsung Galaxy S9+ Questions & Answers] DIncLover:
I've done a bit of research since I first posted this and think I know what's going on. This phone was supposedly new, unlocked. Then I found out SM-G965U is actually locked. It booted up with Verizon logo and worked on Verizon network, so I was ok with that. When I checked the firmware version, it was ....BRK1 (I don't have the phone in front of me), which I looked up to be Sprint firmware! This would explain why it doesn't get updates on Verizon's network, wouldn't it? How this came to be, I don't know, but I think I can proceed by getting a later Oreo or maybe Pie version for VZW and flashing it with Odin.

Comments, if any, are welcome.
[Samsung Galaxy S9+ Questions & Answers] scottusa2008:
If memory serves correctly if your firmware is a certain amount of revisions behind what is currently released then the OTA update and samsung switch will say your firmware is up to date. Even though it obviously is not up to date, it has something to do with how far behind in updates the phone is.

In which case you should be able to update your phone using the patched ODIN and the firmware files found on sammobile or via samfirm app. Thee files from sammobile or samfirm are not ones you can flash via SD card in the recovery menu, the OTA files and what are offered on sammobile or samfirm app (and from here unless otherwise specified) are two different things.

I would note that you might have to factory data reset your phone after flashing the new firmware. It's one possible result of flashing a newer firmware to a phone that has an older firmware like that installed.
[Realme 2 pro Questions & Answers] aaditya1234:
Hi there,

I dont have the exact solution, but have a couple of things to try:

1. In LineageOS, kernel can be customized and compiled AFAIK. Post below has links to source code:

https://samarv-121.github.io/lineageos-15.1-RMX1801/

2. The Realme 2 Pro XDA telegram group has knowledgeable people, you can try your query there:

https://web.telegram.org/#/im?p=@realme2proXDA

Let us know if you manage to solve it. :)
[Realme 2 pro Questions & Answers] gilius2k15:
Thanks for your reply!

It's possible that this recent Lineage project includes a cleaned up kernel or has been compiled in the way that the vendor/OEM intended, though the source for the kernel side of things does not appear to be included from checking the various downloads - makes sense as it would mostly be a duplication of the official kernel source.

Nevertheless, I have contacted Samar - the dev behind this outstanding LineageOS project - to see if he would be willing to kindly assist.

A group of us are desperately trying to find a phone that can run a virtualized guest at near-native speeds via KVM and potentially tap into the EL2 mode of the Snapdragon 660 hypervisor - based largely on the firmware. I am hopeful the Realme 2 pro could be the first phone to achieve this - even more so via Lineage; what's more, the Realme 2 pro offers us the best bargain in the 8GB RAM range of phones currently available IMO.
[Realme 2 pro Questions & Answers] aaditya1234:
Ah,ok. :)

I am wondering what could be the use case for it, like running server on phone.. or using phone as PC?..

Realme has given some instructions for compiling, I dont understand them fully, could help:

https://github.com/realme-kernel-opensource/Realme2Pro-kernel-source/blob/master/how to compile
[Realme 2 pro Questions & Answers] gilius2k15:
The Smartphone has already replaced our landline, camera, HiFi/MP3 player, personal organizer, movie player, alarm clock as an all-in-one device - soon even broadband (via 5G)! The only thing stopping it from replacing our PC was the low CPU and RAM, but now there are already Smartphones with 8-12 GB of RAM, like the Realme 2 Pro, and the specs are not too dissimilar from a decent laptop. The next energy efficient Snapdragon 1000 will reach 3.0 GHz without needing a fan - contrary to Intel chips.

Since there is no Surface Phone or standard bare metal way of running a full desktop experience on a Smartphone at the current time, virtualization and KVM can at least enable us to run a guest on any ARMv8 device without having to worry about drivers or compatibility - since all that is controlled via the VirtIO guest drivers. All you need is BusyBox and a minimalistic LinuxDeploy running in a CHROOT container. We can also use an RDP client for sound, etc. For example, here's a guide for running full Ubuntu 18.04 on the Raspberry Pi 3 - has the same A53 CPU to match the Snapdragon 660:

https://www.raspberrypi.org/forums/viewtopic.php?t=224057

Here's Windows 10 on ARM running on the Raspberry Pi 3 B+ as a VM with only 600 MB of RAM:

Here's Windows 10 on ARM running on the NanopiM4 as a VM with 1.5 GB of RAM:

Most modern Smartphones are based on the same Cortex ARM64 CPU chips as all the single board computers (SBCs) and Snapdragon laptops; any such ARMv8 devices have virtualization capabilities - though remain underutilized. The only thing stopping us from achieving this on newer, more powerful, devices such as the Realme 2 Pro is a relaxed firmware and successful recompile of the kernel with Virtualization and KVM ticked inside the menuconfig:
[Realme 2 pro Questions & Answers] gilius2k15:
I followed some advice about updating the paths and syntax in about 20-30 .C and .H source code files to make the whole thing "standalone compilable", based on what was required with the OnePlus5 kernel, and managed to get rid of all the errors - except for one:

../drivers/input/misc/oppo_fp_drivers/oppo_fp_common/oppo_fp_common.c:77:36: error: operator '==' has no left operand
#if CONFIG_OPPO_FINGERPRINT_PROJCT == 18181 || CONFIG_OPPO_FINGERPRINT_PROJCT == 18385 || CONFIG_OPPO_FINGERPRINT_PROJCT == 18005 || CONFIG_OPPO_FINGERPRINT_PROJCT == 18323
^
../drivers/input/misc/oppo_fp_drivers/oppo_fp_common/oppo_fp_common.c:92:36: error: operator '!=' has no left operand
#if CONFIG_OPPO_FINGERPRINT_PROJCT != 18181 && CONFIG_OPPO_FINGERPRINT_PROJCT != 18385 && CONFIG_OPPO_FINGERPRINT_PROJCT != 18005 && CONFIG_OPPO_FINGERPRINT_PROJCT != 18323
^
../drivers/input/misc/oppo_fp_drivers/oppo_fp_common/oppo_fp_common.c: In function 'fp_gpio_parse_dts':
../drivers/input/misc/oppo_fp_drivers/oppo_fp_common/oppo_fp_common.c:127:36: error: operator '!=' has no left operand
#if CONFIG_OPPO_FINGERPRINT_PROJCT != 18181 && CONFIG_OPPO_FINGERPRINT_PROJCT != 18385 && CONFIG_OPPO_FINGERPRINT_PROJCT != 18005 && CONFIG_OPPO_FINGERPRINT_PROJCT != 18323
^
../drivers/input/misc/oppo_fp_drivers/oppo_fp_common/oppo_fp_common.c: In function 'fp_register_proc_fs':
../drivers/input/misc/oppo_fp_drivers/oppo_fp_common/oppo_fp_common.c:270:36: error: operator '==' has no left operand
#if CONFIG_OPPO_FINGERPRINT_PROJCT == 18181 || CONFIG_OPPO_FINGERPRINT_PROJCT == 18385 || CONFIG_OPPO_FINGERPRINT_PROJCT == 18005 || CONFIG_OPPO_FINGERPRINT_PROJCT == 18323

I checked the makefile and found that CONFIG_OPPO_FINGERPRINT_PROJCT takes it's value from the PROJECT_NAME variable, which in turn is based on the OPPO_TARGET_DEVICE or TARGET_PRODUCT:

feq ($(CONFIG_OPPO_FINGERPRINT_QCOM),y)
PROJECT_NAME = $(subst MSM_,,$(OPPO_TARGET_DEVICE))
else ifeq ($(CONFIG_OPPO_FINGERPRINT_MTK),y)
PROJECT_NAME = $(shell echo $(TARGET_PRODUCT) | sed -e 's/full_oppo.*_//g')
endif

DEFS = -DCONFIG_OPPO_FINGERPRINT_PROJCT=$(PROJECT_NAME)

Anyone know how to resolve that?

Unfortunately, enabling KVM introduced a 2nd compile error:

/home/gilius/Desktop/tool/bin/aarch64-linux-android-ld: cannot find arch/arm64/kernel/cpu_errata.o: No such file or directory

There is a cpu_errata.c but no counterpart O file. Any ideas?

EDIT: paths needed updating for the cpu_errata.c too, but now I got this error instead:

../arch/arm64/kernel/cpu_errata.c: In function '__copy_hyp_vect_bpi':
../arch/arm64/kernel/cpu_errata.c:58:2: error: implicit declaration of function 'lm_alias' [-Werror=implicit-function-declaration]
void *dst = lm_alias(__bp_harden_hyp_vecs_start + slot * SZ_2K);
^
../arch/arm64/kernel/cpu_errata.c:58:14: warning: initialization makes pointer from integer without a cast
error, forbidden warning: cpu_errata.c:58

EDIT: It seems like there's a whole bunch of KVM files that might need updating:

/home/gilius/Desktop/real/arch/arm64/kvm/hyp

/home/gilius/Desktop/real/virt/kvm/arm

etc.
[Realme 2 pro Questions & Answers] gilius2k15:
Have created this topic:

https://xdaforums.com/android/help/kernel-directory-structure-compile-time-t3925350
[Realme 2 pro Questions & Answers] aaditya1234:
Hi gilius2k15,

You can try this kernel source, its by Los dev SamarV121:

https://github.com/SamarV-121/android_kernel_oppo_sdm660

If you manage to compile do let us know how to :)
[Realme 2 pro Questions & Answers] aaditya1234:
Thanks for your detailed instructions Gilius! :angel:

It does look like the Rm2pro kernel source is not compatible with KVM.

I tried searching for enabling KVM on android, and came up with your thread, lol.

https://xdaforums.com/android/software-hacking/want-kvm-kernel-virtual-machine-enabled-t3777356

An orthogonal idea is to check MaruOS as the goals seem similar: :)

https://maruos.com/

It maybe linux only though.
[Realme 2 pro Questions & Answers] gilius2k15:
Haha, I think I've started (or at least contributed) to most KVM threads out there! :D Just shows how underutilised it is... Virtualization has been a non-starter in the Linux/Android/ARM64 world - contrary to datacenters with Intel/VMware, etc.

However, I can confirm that all phones are compatible with KVM and able to run Windows 10 on ARM since the first 64-bit phones surfaced back in 2014! However, Android kernels have been lagging behind mainline kernels, so anything before 3.11 such as the Samsung S5 Neo (08/2015) would need KVM modules manually adding (though instructions for that seem non-existent..).

Any other kernel besides the Realme 2 Pro does not have a problem with KVM - such as the Nokia 7 Plus (also using SDM660). I need to deep dive it to find out why since I've never delved into Linux kernels before and work in IT support - not development.

MaruOS seems interesting though the number of devices seem limited? I did actually manage to get a full desktop Linux running via LinuxDeploy and BusyBox after setting Desktop Environment to "Other" and then SSHing into the container, installing KDE, and then editing the xsession file to startkde. The challenge now is to get GNOME to work - or my favourite is Ubuntu Kylin:

http://www.ubuntukylin.com/downloads/show.php?lang=en&id=122

The CHROOT method, unfortunately, does not allow graphics acceleration as somebody pointed out.
[Realme 2 pro Questions & Answers] Bleeblun:
im having same issue on samsung t830 source code, attempted a different compiler but still got the issue.. believe its a purpose spelling mistake in scripts or make file, but cant find it anywhere
[Samsung Galaxy Note 8 Questions and Answers] szelingo:
Hello all . I have problem with note8 . bought it few days ago , owner did wipe the phone thru recovery wipe data etc after that the phone normally turned on .

so i checked it and all worked without issue . turned off the phone then the guy removed hes simcard .

when i got home i put my own sim into it (same network as the guy i bought it from ) turned on and now all i am getting on the screen is " Please enter Privacy Protection password to unlock .

the previous owner vanished but i checked the imei and its clean .

After googling i found out that its asking for the password because the original sim was removed and the only way to bypass it its to flash it with other rom / firmware .

I got stock firmware corresponding to the model but i cant access download mode on it .

tried volume down + bixby + power no luck

volume down + bixby + power , release power but still holding the vol+bix brings me to screen with options i guess chinese ...

vol up+bix + power brings me to recovery

Can anyone help me with it ?
[Samsung Galaxy Note 8 Questions and Answers] arslan4k1390:
Try "USB JIG Emulator - Samsung 300K" to get access into download mode
[Samsung Galaxy Note 8 Questions and Answers] vash_h:
Try second last option.. Version information.see what it says..

Tbh that looks like a clone and not a real samsung
[Samsung Galaxy Note 8 Questions and Answers] szelingo:
Attached picture below with all the info .

Lets say that it is clone but it is still an android and it should let me turn on download mode ...

The way it starts up and all the boot screens look i dont see any things that may point out to a clone .

But i checked the serial number online and its legit .

I think someone flush wrong firmware into it and now its acting strange
[Samsung Galaxy Note 8 Questions and Answers] BluePhnx:
First your phone is a galaxy s8 sm-G950F

Which imei number did you check the one on back of phone or when you dial *#06# in dialer to check?

I would check the imei from *#06# (not the serial number).

Download Phone Info Sam app from play store. See if the imei matches and that you have a exynos soc.

And yes you'll get a download mode and that Chinese letters is most likely your download mode options. Which might mean you got a pretty good fake galaxy s8.

As I know you can't flash sm-G9500 (snapdragon soc) onto a Sm-G950F (exynos soc). So don't know where the Chinese language popped up from or where you can change the language for download mode.

Check out the galaxy s8 forums for any info.
[Samsung Galaxy Note 8 Questions and Answers] vash_h:
Not sure what's going on here.first screenshot is common for China phones, which is the base for all China cloned phones.

Second screenshot belongs to a samsung s8 phone.

But your title says note 8.

Either you are confused or the phone is confused.
[Samsung Galaxy Note 8 Questions and Answers] Yashfauuu:
HI Hi am wondering if you could help with my Galaxy Note 8

I am able to install the firmware using ODIN without any errors on download mode but after ODIN is finished the phone turns off and does not boot.

I have taken the phone to a repair shop as well and they have confirmed that there is no hardware issues,

My model number is SM-950F , basically stuck on download mode
[Samsung Galaxy Note 8 Questions and Answers] BluePhnx:
Try getting into recovery mode and do a factory reset.

Or

In Odin use all 4 files AP, CP, BL, AND CSC (use the CSC file NOT the home-CSC ). (Try checking Nand erase all.)

Also you can do both if you want too.

I wonder if you need to re-partition your phone?

I would take the phone back to the service shop you took it too and tell them to get it working. I find it hard to believe they will tell you it's not a hardware fault when they can't get the phone to boot up! If they cant get it to boot they need to give you a new motherboard.

How did they check the phone without the phone booting up? Isn't that there first test to see if the phone starts up to home screen?
[Samsung Galaxy Note 8 Questions and Answers] Yashfauuu:
No luck turning the phone on recovery mode only can use download mode and i have tried the same files with the Nand erase all, the same thing .. Odin installs all the files without any errors but does not boot up after installation is finished.

The service shop said they checked components on the motherboard and there is no damage or no IC has been damaged.

What do you suggest i do next?
[Samsung Galaxy Note 8 Questions and Answers] BluePhnx:
Take it back to the shop and have them install the firmware.
[Samsung Galaxy Note 8 Questions and Answers] Yashfauuu:
I just came from the shop and they have tried to install the same firmware but still doesnt work
[Samsung Galaxy Note 8 Questions and Answers] BluePhnx:
Then you have a bad motherboard!

If they cant get it to boot then it is a bad motherboard and they need to replace it!
[Android Q&A, Help & Troubleshooting] zetsui:
1. If I want to pull up the menu and search for a phrase in a text document , I notice without the menu button I cannot do this in my word document editing programs, how do I fix this?

2. How do I disable smartlock quickly? Ie the coppers are coming for me and I need to re-add my pin! What's the quickest way?
[Samsung Galaxy S7 Edge Questions and Answers] hly17_7:
Hello,

Next to S7 edge, I use a quite old Shield tablet. This last device was always kept on official LOS14.1 until this was deleted with the March cleanup at Lineageos.

Also for that tablet (with it's relatively unique tegra processor) there were difficulties to pass LOS15.1 official release criteria, most of it releated to problems with some graphics accelaration. This week however the developer there (Steel01) managed to get LOS15.1 official status without these features. For a lay person like me a starting situation which sounds similar to our S7edge.

Is this experience something which our unofficial version developers could leverage and create from there an official LOS15.1?

Appreciate feedback, certainly also in case I miss something obvious with this question.
[Samsung Galaxy S7 Edge Questions and Answers] Ruben Craveiro:
It doesn't really matter if it's official or not.. That just exists t0 add the device as a list of compatible devices and one with a current maintainer, which can exist just the same as an unofficial..
[Samsung Galaxy S7 Edge Questions and Answers] hly17_7:
Hello Ruben,

appreciate your thougths.

On one point is matters (at least for me), the official LOS has SELinux always set to "enforcing". Despite my experiements with Magisk, I can not get the unofficial LOS variants for S7 edge to this "enforcing" mode.

Not sure what this exactly entails but in different comments it is advised to get this setting to "enfocring".
[8125, K-JAM, P4300, MDA Vario General] project86:
Just realized I posted this in the upgrade section, should have gone here.

My Wizard (G3 running TNT WM6.1) all of a sudden does not receive incoming calls. There was a period for a while where I did receive most calls but would miss one occasionally, for unknown reasons. Now it seems that I miss all calls. I'll be getting 4 bars of reception, can make very clear outgoing calls, but when I test call from another phone, the Wizard never rings at all. If I call in to check voicemail, it will say that I have a few, but no notification ever pops up or ring to tell me I had a missed call or a voicemail.

What should I try to remedy this situation?
[8125, K-JAM, P4300, MDA Vario General] timbecile:
I had the same problem. wouldn't get incoming calls until I rebooted the phone. try upgrading your radio to 2.71..I did that last week and haven't had the problem since (so far at least!)
[8125, K-JAM, P4300, MDA Vario General] zabardast_1:
Upgrade the Radio Rom to either 2.47.11 or 2.71.11,hope it'll solve this problem.
[8125, K-JAM, P4300, MDA Vario General] jinxie:
did it work? i have the same problem..
[8125, K-JAM, P4300, MDA Vario General] joemanb:
I had these problems also and the only radio that worked for me is 2.19.11. All of the newer versions caused me problems.
[8125, K-JAM, P4300, MDA Vario General] XL3N7:
Same here. 2.19.11 saved the day.
[Xperia Z5 Premium General] TKBS_UnrealEngine:
Recently Installed a Firmware using Xperifirm

- The firmware i chose to i download was not the correct/ received files.

- It works but i suppose this is not good. it is potentially a complete waste of data

Firmware received:

E6653_32.2.A.5.11_1299-0274_R11C

E6653_32.4.A.1.54_1298-5496_R3E.ftf

Firmware Chosen:

UK Vodaphone

Custom

[Disclaimer]

My post count is too low to post in the DEV section

Addititonal request (offtopic):

If anyone can post guides or links on how to perform a full system DUMP... i.e. make a correct firmware file,

...then i can attempt to make a ttf from a factory Z5P upgraded from 5.1.1. to 6.0 using official system update and provide the correct firmware to xperifirm

?
[Xperia Z5 Premium General] ouzqan:
Try again
[Samsung Galaxy Tab S3 Questions & Answers] hipocrazy:
Thinking about purchasing a Tab S3 for artwork. I had a 10.1 but most of the roms at the time didn't utilize Palm rejection so I'm wondering if any Rom for the S3 does and if so, does anyone have any suggestions?

Thanks
[Samsung Galaxy Tab S3 Questions & Answers] Alooyish:
I was trying to find out that as well, no luck till now, there was one app that would supposed activate palm rejection but didn't work properly
[Samsung Galaxy Tab S3 Questions & Answers] hipocrazy:
Thanks for the reply. I'm hoping someone can elaborate further. I wonder what causes the issue.