yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Oswald Boelcke:
Hello and good afternoon, @giorgos.avramopoulos Welcome to XDA! I hope you'll always get the support you require.

However, prior to your next posting please read the guidances that are stuck on top of every forum like

Note: Questions go in Q&A Forum

If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...

xdaforums.com

and the others. I've moved your thread to Android Q&A.

Thanks for your cooperation!

Regards

Oswald Boelcke

Senior Moderator
[Android Q&A, Help & Troubleshooting] giorgos.avramopoulos:
Will do, thanks for the help!
[Nothing Phone 2] mhall156:
Hey guys, loving the NP2 so far but I'm facing some strange audio issues and just wanting to see if anyone else is facing the same thing or has found a solution.

My issue is that sometimes the audio is really quiet whilst other times it is seemingly normal (and actually quite loud) I've tried turning up and down whilst playing audio and occasionally this fixes it. Last time it was "fixed" it was good for about a week.

Any advice is appreciated.

Cheers.
[Nothing Phone 2] ffejy462:
Yeah, same here. I found turning off the equalizer seems to help.
[Nothing Phone 2] mhall156:
Glad it's not just me, hopefully they fix it soon. Is yours the same where sometimes it's nice and loud and other times it's almost too quiet to watch a video at full volume?

I'll give turning the eq off a shot
[Nothing Phone 2] beaubin:
Hi all,

I am too having the similar problem, though not really tested while playing music/video, but more about Ring and Notification sounds volume (I know that right now we can't get those 2 settings separated).

I'm having inconsistant volume settings (under Sound & Vibration), as in, putting the Ring & notification volume slider into the same position doesn't always give me the same volume, sometimes it's very low, and other times, it's really loud.

Saw you guys were talking about disabling "Equalizer", but couldn't find this setting, I only see "Enhanced audio" under Sound & Vibration settings, would that be it? Please adivse.

Thanks.
[Nothing Phone 2] mhall156:
Yeah I'm having the issue with the ring as well. I haven't yet been able to find the equaliser either. Mine has suddenly decided to be loud again so I really don't know.
[Nothing Phone 2] ffejy462:
Unfortunately, Nothing overlooked having a place in sound settings for the equalizer (musicfx), but you can get to it through YouTube music, settings, playback, equalizer or settings, apps, see all apps, show system, musicfx. I doubt this will help notification and/or ringtone, but you never know.
[Nothing Phone 2] beaubin:
Thanks for showing the way of finding the "hidden" app MusicFX, didn't help with Sound & notification volume settings :(

Most of the time, if I'm happy with the Ring volume, the notification volume is too low, and then all of the sudden, without chaging the setting, the notification volume can blow your ears off...
[Nothing Phone 2] beaubin:
Oh, I tried this adb command to separate my Ring and Notification volume settings, but it didn't work, as in, the command couldn't separate both volumes, they are still tied to one another, guess we'll have to wait for Android 14 where Google is supposed to bring back separated Ring and Notification volume settings...

Google says Android will separate notification and ringtone volume

Ringtone and notification volume has been controlled by one slider, but Google said today that might be changing in Android 13 QPR3 or 14...

9to5google.com
[Nothing Phone 2] Finneri:
Quick workaround; make your own notification sound with the glyph composer. Choose some soft and silent sound and make it with that. Them choose ringtone with matching "volume".
[Nothing Phone 2] beaubin:
Thanks Finneri, I've thought and done reducing my own notification sounds/tracks with Audacity ;)

But then again, sometimes the NP2 lives its own life by making my already volume reduced sounds almost inaudible while remaining the ring volume correctly, and then some other day, it'd go back to play the notification sounds with the "correct" volume (with my tweaked sound tracks, or it'd blow your ears off with the default tracks)...

So yeah, definitely some inconsistancy here with the volume settings :(
[Nothing Phone 2] beaubin:
So, this morning, coming out of "Airplane" mode during sleep, all the notifications had the intended correct volume (as in how I set and wanted them to be), so I started to go through those notifications, emails, chats, texts etc., without me touching anything else, the next notification that came in had a very low volume again, so were all the following ones, low volume, and no way of making them louder without making the ring volume explode, since those 2 are tied together.

It's getting very irritating :(

UPDATE after 1h30 :

Working on my PC since this morning, phone is there on the desk idling, as in me NOT touching it, and all of the sudden, notifications volume is back to my intended volume whereas it was low until now, what gives Nothing?
[Nothing Phone 2] dlads:
Feedback form is here mate, let them know and see what they say, they are reading these by all accounts.

Google Forms: Sign-in

Access Google Forms with a personal Google account or Google Workspace account (for business use).

docs.google.com
[Nothing Phone 2] ysco:
For now I have the temp solution off low sound on system and notifications by the installing the playstore app Volume Booster GOODEV. This is working perfectly for now and volume is loud again. I tried also viper4android for android 13 but it fails on driver install so the playstore app is good for now and works great.

Regards ysco...
[Nothing Phone 2] NoneTheWiser1:
A reboot fixed the issue for me. Hasn't popped back up yet; been about 2-ish days. I have my equalizer settings turned off.
[Nothing Phone 2] rafik25:
Same issue for me 🥲
[Nothing Phone 2] Inpain:
Same issue here.... It's really annoying.
[Nothing Phone 2] the_lion_97:
Any update? Is this bug presente also in nos 2.5 beta 2? Thanks
[Android Head-Units] jmw76:
Hi All,

I am new to this forum.

I am trying to install and setup up a podofo head unit that I purchased for my 2008 VW T5 Multivan.

It is a Podofo SHA23 model.

I have issues with the CAN decoder that was supplied (Raise G-RZ-VW58). It appears to decode all the correct signals but it does not activate the Acc line to the head unit. Which results in the unit not powering on when the key is turned.

For now I have just hot wired the Acc wire to a 12V supply (cigarette lighter). Not ideal as it is not correctly controlled by the key but allows me to test other features.

Has anyone else managed to install a unit with correct CAN decoder in a VW t5 vehicle?

I am not sure whether I have a fault CAN decoder or whether it is incorrect for my vehicle. I have determined that it correctly decodes the headlight signal, reverse signal and steering wheel angle sensor. So it is not that far wrong.

On further testing, I just can not get the GPS to work with Here We Go or with Google Maps. I want to use Here We Go since it can work off line. I have used the GPS test app (built into Podofo set up app) and it displays 14 satellites in view and a position accuracy of 2.5m. So I guess GPS is working. However Here We Go does not get a position fix and just displays "Waiting For GPS". When I use Google Maps, it appears to get an initial fix when I open the app, but as soon as the vehicle moves it looses the GPS signal.

I am also having some trouble setting up the sound features. At low volumes there appears to be excessive bass and yet loundness is not tured on, as best as I can determine.

When I play with the equaliser settings it just screws up the sound. I have also attempted to adjust the USB sound settings in the Factory Settings area, but not a lot of joy here either.

Does anyone have any ideas on how I should address these issues.

I have not had a lot of luck with direct communication with Podofo at this point.

Cheers

Peter.
[General Questions and Answers] AbnormalTD:
hi. i cant unlock this phone via sp flash tool. i get thi error 0xC0060001. what i have read this error is about timing. the phone disconnects befor the tool can format the frp. have someone solution to this?
[Android Apps and Games] simplexphone:
Dear XDA community!

We develop Scribe - recorder with private speech to text on device. On device means - audio is not sent to any cloud and stays on your phone, so it is private. The neural network runs right on the CPU of your smartphone.

The app is free, there are no limits or fees based on transcription hours, one can transcribe 24/7 and pay only for electricity. It will stay always free for private users.

It is like Google Recorder, but unlike Otter.ai or other transcribing apps based on Google Assistant.

https://play.google.com/store/apps/details?id=com.simplexphone.scribe

Supported languages: English, Spanish, French, German, Russian, experimental Italian and Croatian

Some of the features:

record to wav, flac, aac and transcribe in real-time

transcribe from audio/video files

share to and from Scribe

access records and texts easily from file system

Some of the possible uses:

transcribing lectures/trainings

court hearings

medical/psychological interviews

journalist interviews
[Android Apps and Games] ethical_haquer:
What does it use these permissions for?

view network connections

full network access
[Android Apps and Games] simplexphone:
It has to download 500mb neural networks (other than default embedded English model) in Settings, otherwise it doesn't need these.

By the way, if you could suggest how to get rid of this, I'm all ears.
[Android Apps and Games] ethical_haquer:
Thanks for the reply! Will it ever be open-source?
[Android Apps and Games] simplexphone:
Eventually yes.

But for now, we need some return on investment and resources for further development - mainly adding new languages and improving existing.

The app is meant to be a free demo of our SDK, which we want to offer for businesses to embed in their applications. I don't believe this app can make money on its own, thus it is free. We have two more apps with our SDK, that are targeted at specific audiences and are obvious how to price.

Would be cool, if there were permissions to Download, and no permissions to Upload, right?
[Android Apps and Games] alojo:
It asks me to "Turn on the internet" while I am connected using Ethernet.
[Android Apps and Games] simplexphone:
Internet over Wi-Fi or cellular is only needed to download language-engine once.
[Android Apps and Games] alojo:
Just surprised it doesn't work with ethernet.
[Touch Pro, Fuze General] numberthreetwo:
hey anyone know of a cab file to put the samsung widget homescreen on your touch pro?
[Touch Pro, Fuze General] KD8DNS:
I believe someone started in the development and hacking section. Try there. wasn't necessarily for the touch pro, but a re-skin for spb mobile shell.
[Samsung Galaxy A12] vtvinh24:
Hi,

Recently I rooted my Samsung A12s (model name SM_A127F).

Everything was smooth, and after done setting it up again, I decide to remove some apps which I consider "bloatwares". (with adb su pm).

However, when I reboot, the phone was locked with message "Phone locked (8135)" followed by the reason stated in this post title.

Fortunately I granted adb superuser before, so I can still access the phone with adb shell.

I tried the solution provided by Chamelleon here. But my case was so confusing that I can't configure myself.

The package-restrictions.xml is somehow filled with both readable text and special symbols, and I can't find kgclient package (which I think irrelevent because it is "Payment Service").

I'm worry about breaking stuff if I try to change something in this file and push it back.

Weirdly, with that lock screen on, it still allows me to make emergency call, if I try to launch some package via Activity Manager, the activity briefly shows up and then the lock screen instantly come back. So I think this problem is kind of "soft-lock" and removing its package or something like that may help. (but I can't find it however)

Steps to reproduce:

- Root with Magisk, Odin and firmware downloaded from official Samsung server with samloader (fork)

- First time setup finished and already install some apps like Facebook, Discord, etc

- Use "pm" from adb to remove some "bloatwares" including Samsung shipped apps, along with Knox-related packages.

- Reboot

- Now the phone is locked with message above.

Current status:

- Can't interact directly with the phone except making SOS

- Can access it through adb (superuser granted), but not "adb root"

- No hardware problem

Any help/instruction is greatly appreciated ^^

Re: Not quite relevent, but I can still use scrcpy to mirror screen to my laptop, however the lock screen is hidden and can't be captured, which is weird too.
[Samsung Galaxy A12] ethical_haquer:
Do you want to re-flash it and try again? Re-enable the apps you disabled from ADB? Or something else?
[Samsung Galaxy A12] Droidriven:
It keeps going back to lockscteen because the device can't function without the Device Services app, it tries to load the UI when you unlock the screen, fails to load and restarts the UI which returns you to the lockscteen.

You can try flashing the stock firmware via Odin. If that doesn't work, you may have to use adb to re-enable Device Services using the pm install command. Then boot into recovery and wipe the cache partition then reboot into system.
[Samsung Galaxy A12] vtvinh24:
Yes, re-flash worked for me. I can't find a way to enable app disabled from ADB (because I uninstalled them anyway, and can't seem to find original APKs)

Thank you for explaining the problem, I was anticipating that and tried everything I could, but like above, I can't find the original APK of the UI. As for your second idea, it sounded rather complicated and I didn't follow through because my phone was already fixed, thank you for providing this solution.

TL;DR: Straight-forward way to fix this is to flash again, another way is to find needed packages and install them (but for now I can't find where to get them except if I manually backed up)
[Samsung Galaxy A12] Droidriven:
Extract them from the firmware flash file.
[Samsung Galaxy A12] ethical_haquer:
Is this thread [RESOLVED] then?
[Samsung Galaxy A12] miyagi4a42:
For anyone having this annoying problem, this worked for me after uninstalling the com.samsung.android.kgclient package:

1) Installing the package:

2) Enabling the package:

3) Restart phone and relax.
[Samsung Galaxy A12] A8User:
This worked. Thanks
[Samsung Galaxy A12] Benedek543:
This saved my day. "Phone locked (8135)" got fixed.

Thanks.
[Samsung Galaxy A12] potabuki:
Thank you so much !
[Redmi Note 8 Pro Questions & Answers] MarkLev:
A few months ago, I used my android phone (Redmi Note 8 Pro) to format a usb-flashdrive to NTFS. Don't ask me why I did it, I know it's dumb now :( . Anyway, I was away with my life, and left my broken phone on the shelf. There's still some valuable data on it, unfortunately.

From my collective memory, here were the steps I had done:

1> I used Termux running some root commands which I don't remember now, and I think I got some warnings about "fstab"

2> After I got those warnings, the usb-flashdrive DID NOT get formatted. With a mindset of a windows user: something not right, just restart. I restarted my android phone, and it's gone dead silence since then -> Completely HardBricked

I think I messed up "fstab" on my devices by running some Termux root commands.

My question is: where is "fstab file" located? "boot.img" or "system.img" or "vendor.img" or "dtbo.img"?

I want to try flashing one of the particular image over SPFlash tool, to get "fstab" restored. And as a result unbrick my phone, saving my data.

Is it possible, any idea if I can save my data?

I also post my question in "[INFO] ANDROID DEVICE PARTITIONS and FILESYSTEMS" which did not get an answer yet

Redmi Note 8 Pro - Android Pie
[Redmi Note 8 Pro Questions & Answers] Renate:
fstab fdisk changes the partitioning so you probably trashed the GPT on one of the UFS LUNs.

In the best of cases this is not too bad.

The problem is writing the stock GPT back.

Since this is Mediatek, you need to use an MTK client.

I'll let some Redmi user take over from here.
[Redmi Note 8 Pro Questions & Answers] MarkLev:
Thank you for your answer. That gives me some hopes. I have 2 question:

1. Where is the "stock GPT" located? Is it in "boot.img" or "system.img" or "vendor.img" or "dtbo.img'

2. As I understand MTKClient bypass EDL and let me flash *.img to phone.

Currently, I can use "bypass-ultility" to bypass EDL and let SPFlash tool to read or write *.img

If I can flash *.img using SPFlash, then is it the same as using MTKClient?
[Redmi Note 8 Pro Questions & Answers] Renate:
It's not in a partition. It's in unpartitioned space at the beginning of the device and the backup copy is at the end of the device.

The size is dependent on blocksize (512 or your 4096) and layout, but somewhere around 17408 bytes.

The backup copy is a mirror.

Yeah, but since you're not flashing partitions you need to specify as block or sectors.

If this were a Qualcom device with eMMC (which it isn't) and if you were using my software:

C:\>edl.exe /w /s1 /c33 gpt.img
C:\>edl.exe /w /s-33 /c33 gpt_bak.img

Edit: Actually, I think the GPT header on the backup is at the end instead of the beginning.
[Redmi Note 8 Pro Questions & Answers] Renate:
They were just supposed to give you a flavor of what the unrelated commands for Mediatek would be.

For instance, if I want to flash the boot partition I say:

C:\>edl.exe /w /pboot boot.img

Because I'm partitioned correctly, I just have to say, "write boot.img to the boot partition".

Writing GPT is different because 1) it's not in a partition, 2) without a GPT the device isn't partitioned anyway.

So for that I say, "write 33 blocks of gpt.img starting at block 1".

Likewise, "write 33 blocks of gpt_bak.img starting 33 blocks from the end of the device, you do the math".

(For UFS with blocks 8 times bigger, that 33 is probably 5.)

In your case pgpt = primary (main) GPT, sgpt = secondary (backup) GPT.
[Redmi Note 8 Pro Questions & Answers] MarkLev:
Thank you very much for patiently answering my silly questions.

How can I find my phone blocksize?

In my scatter file posted above, it says block_size for EMMC layout is 0x20000 and UFS layout is 0x80000 (In decimal: 131072 and 524288) which are huge compare to your reference (512 or 4096)

I am a little confused, are the blocksize you mentioned and and the block_size in scatter.txt file not the same kind?
[Redmi Note 8 Pro Questions & Answers] Renate:
The lowest level block size is 4096 (512 for eMMC).

In the old days we called them "sectors".

There are larger other "blocks of blocks" sizes too.
[Redmi Note 8 Pro Questions & Answers] MarkLev:
@Renate

I have some time to do some analysis today.

1> Reading pgpt.bin and sgpt.bin from my Bricked-Phone using below commands with mtkclient tool:

python mtk ro 0x0000000000 0x8000 pgpt.bin
python mtk ro 0x1DCAFF8000 0x8000 sgpt.bin

In pgpt.bin, GPT-Table start at 0x1000 and GPT-Table-Entries start at 0x2000 which indicates that PHYSICAL_BLOCK_SIZE is 0x1000(4096). But First usable LBA for partitions: 0x22, Last usable LBA for partitions: 0x01DCAFF7.

As per my understanding, for devices with PHYSICAL_BLOCK_SIZE=0x1000(4096), First usable LBA for partitions should be: 0x6. For devices with PHYSICAL_BLOCK_SIZE=0x200(512), First usable LBA for partitions should be: 0x22

Any other partition-entry has first LBA matching PHYSICAL_BLOCK_SIZE=0x1000. Example: "misc" partition-entry has First-LBA=0x4008. In scatter.txt, it has physical_start_addr: 0x4008000

I tried to obtain orginal-pgpt.bin but not yet get answer. Luckily, I got original gpt-128.bin from 4pda. But this gpt-128.bin is also weird. GPT-Table start at 0x200 and GPT-Table-Entries start at 0x600 which indicates that PHYSICAL_BLOCK_SIZE is 0x200(512). There's another GPT-Table at 0x400, which seems to be a copy of Secondary-GPT-Table (don't know if this is device specified implementation of GPT-Table or not, but it's weird).

Also, First and Last usable LBA are the same: 0x22 and 0x01DCAFF7. All the GPT-Table-Entries are also the same which has PHYSICAL_BLOCK_SIZE is 0x1000(4096). Now, we have something really weird here, in original gpt-128.bin from 4pda, LBA from Primary-GPT-Table has BLOCK_SIZE 0x200(512) while PHYSICAL_BLOCK_SIZE is 0x1000(4096).

Shall I try flashing original gpt-128.bin from 4pda to see if it works?
[Redmi Note 8 Pro Questions & Answers] Renate:
That's for some eMMC, Often it is 0x200 and 0x400.

Your device is UFS 2.1 so that won't work.
[Redmi Note 8 Pro Questions & Answers] MarkLev:
I am so happy that I got my data back. Here's what I did:

1> Use MTKClient or SPFlash tool to readback all partitions from Phone. We most only need [userdata.img], [metadata.img], but let's readback all partitions just in case...

- If use MTKClient: python mtk rl "F:\0-RedmiNote8Pro-ReadBack"

- If use SPFlash tool, you need to manually set readback address and size based on scatter_file.txt

- If your data is not encrypted then you can use [diskinternals-linux-reader] to read ext4 format (file userdata.img) on windows. Unfortunately, my data is encrypted. :(

2> For my Phone 6GB Ram/128GB storage, the [userdata.img] is around 111GB. You must check the correct size after readback.

The work is tedious, but we need to be careful here.

2.1> After readback 1st time, I hash all the files and save the report:

HashMyFiles.exe /cfg "E:\Path_to_Hash_config\HashMyFiles.cfg" /shtml "F:\0-RedmiNote8Pro-ReadBack\Hash.html" /wildcard "F:\0-RedmiNote8Pro-ReadBack\*.bin"

2.2> The pretty big file [userdata.img] may get corrupted if your disk has failed sectors, and the file unlucky reside on those sectors. To make sure, the files can be read later on, I copy all of them to another Drive, i.e: G:\. Again, hash all files:

HashMyFiles.exe /cfg "E:\Path_to_Hash_config\HashMyFiles.cfg" /shtml "G:\0-RedmiNote8Pro-ReadBack\Hash.html" /wildcard "G:\0-RedmiNote8Pro-ReadBack\*.bin"

Compare the hashes in "F:\0-RedmiNote8Pro-ReadBack\Hash.html" and "G:\0-RedmiNote8Pro-ReadBack\Hash.html". They must be the same.

3.1> Repeat 2.1, read all partitions to "K:\0-RedmiNote8Pro-ReadBack"

Generate hash report, and compare it to 2.1 and 2.2. They all must be the same.

3.2> Repeat 2.2: Copy all files from "K:\" to "L:\"

Generate hash report and compare them. Hash report at 2.1, 2.2, 3.1, 3.2 must all be the same.

We did readback 2 times at 2.1, and 3.1, and create 2 copies at 2.2 and 3.2, just to make sure.

4> Now, I have to restore my phone back to my Custom-Rom, set the same [Screenlock], and what ever encrypt I used before I messed up my phone

4.1> Flash Stock-Rom via SPFlash -> Boot to Android -> set the same [Screenlock/Password/Pin] as before -> Enable Developer Mode -> Enable USB debug -> Make sure PC can recognize phone in adb mode and fastboot mode -> Make sure that bootloader is already unlocked

4.2> In fastboot, flash TWRP.

Reboot to TWRP (Recovery), delete "recovery-from-boot.p", Disable AVB2, Disable Dm-Verity. I did not disable ForceEncrypt.

In TWRP, Wipe All EXCEPT [SDcard + USB OTG].

In TWRP, Format Data -> Yes -> Reboot to RECOVERY

Flash Custom-Rom.zip

Boot to Android -> Set the same [Screenlock/Password/Pin] as before

Turn-Off Phone, boot to BROM mode (EDL mode) using MTK_bypass. On SPFlash, flash only [userdata.img] or [userdata.img + metadata.img]. For me, my readback [metadata.img] is all 0, so I only flash [userdata.img].

Reboot -> DONE -> CRY TEARS OF JOY -> RUN AROUND HOUSE or WHATEVER!! :D

*Note: I don't actually know if I need to set [Screenlock/Password/Pin] the same as before the phone messed up, but just in case...