yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Themes and Apps] kevintm78:
Do you have an etc folder in /system/vendor/ ? Some roms have another audio_effects.conf in that location or maybe it's in another location. I have to be honest I'm not familiar with many other kinds of phones besides samsung.

The instructions I'm using are the ones taken from the viper4android thread itself and works with at least this phone with no other steps necessary. Maybe you can find some hints in that thread but I'm thinking that the conf file is either in another location or its different from samsung's version so it's not being found.

The other lib files inside the app aren't necessary. They are just there for different android versions. One set is for ICS and below and the other is for JB and above. The app installs the ICS drivers by default which is why I like using this method instead.

If you want, upload your original audio_effects.conf file. I'll try and modify it for you and see if we can figure out why the drivers aren't being found.
[Galaxy Note 4 Themes and Apps] mateusonego:
Wow, that was right on spot! :) I had another audio_effects conf on vendor/etc. So, I replaced it with yours.

I removed the excessive .so I put on the lib/soundfx, and let only the jb and, later, the ics file.

Now, Viper asks me to install the drivers even after I've already let it install and rebooted :/ and for some reason, it doesn't work both on normal nor compatible mode (ok, as expected, since it's asking to install etc). I checked to see if it had rewrite anything on audio_effects.conf, but it didn't in neither of the files, on system/etc nor vendor/etc. They were still pointing the libraries to the jb files, and v4a did install the ics files on system/lib/soundfx, either way...

It gets weirder and weirder.

UPDATE: I got V4A to work once I commented the jb drivers lines, and re-included the ics path reference on audio_effects.conf at vendor/etc. It's not asking me to install the drivers again, anymore, but it's still not working with local synced files... I tried leaving it pointing to 2 paths, and tried including v4a_neon or something like that, so I could reference the 2 most important drivers, but it only works with v4a_fx pointing only to the ics file, and everything else is ignored.

UPDATE 2: I opened the backup I've mentioned below, and unfortunately I'm pretty sure I haven't done the backup and it is actually your file before I do any mod.

I'm sending you what I THINK is my backup :) but it might be just a backup of yours before I changed some stuff just to test (I replaced my modified files by copying the original one I had on downloads after testing, I got back to yours version on both /etc), sorry. (don't think so, though)
[Galaxy Note 4 Themes and Apps] mateusonego:
[MENTION=5285430]kevintm78[/MENTION] hey OP, you there? :)
[Galaxy Note 4 Themes and Apps] Iwizzy:
This worked for me.

You did not mention where to insert the audio_effects.contf file ... this file should be placed in the /vendor/etc

also you did not state that we would have to install the app after placing it in the /system/app.

Thanks once again
[Galaxy Note 4 Themes and Apps] assassin10000:
Thanks for the instructions. Made a massive difference in sound output once I spent the time tuning my earphones.
[Galaxy Note 4 Themes and Apps] doubledragon5:
I found this very useful. It woks no problem with my bluetooth, it shows everything working.. But processing no, when just using phone speaker..
[Galaxy Note 4 Themes and Apps] djjimmy:
I'm getting stuck at finding the soundfx folder in /system/lib/soundfx/

For some reason in File Explorer (and I've tried Root Browser too) I can't see the soundfx folder but I think it's there because when I try to create one it says can't use this name because folder already exists.

Also on step 4: "4. This step is dependent on your setup. If you are using a permissive kernel this is not necessary. If you're using SuperSU with an enforcing kernel you'll need to flash the ViPER4Android-supolicy.zip that is included in the attached zip file."

I am using SuperSU, but I have no idea how to flash the zip file, and I don't know how to open a .zip files on this operating system. Any advice on how to proceed here?

I've been working on this for a few days now, and am trying to find a way to bounce ideas off of someone who understands this better than I do. Any help is greatly appreciated! Thanks again guys!
[Galaxy Note 4 Themes and Apps] Shadeclan:
I know this is an old thread but it's still useful to us that like and use ViPER4Android.

V4A is a necessity on my Moto G4 because the sound (especially from the phone speaker) is notoriously low - or maybe I'm just a deaf old man ... :cool:

I was having an awful time getting V4A to work (I've spent about a month on it) until I stumbled on the part about /system/vendor/etc/ - thanks @kevintm78!

After I got the above info, I thought that it might be a good idea to do an analysis of my audio_effects.conf file - I wanted it to work the first time! I'm glad I did because I found that the file listed libraries that don't exist on my phone (Moto G4 with /e/ ROM installed - I think some of the libraries listed are exclusive to Samsung devices). I also found that the file was logically corrupted - it had an extra "dangling" curly brace and it had libraries listed outside of the "effects" section. I did a great deal of clean-up on the file - I commented out the calls to non-existent drivers, cleaned up the code formatting, added some additional comments so that I could keep track of things, and fixed the syntax to be logically consistent. Now everything works perfectly!

😂😂😂

I've attached my audio_effects.conf file for those who think it may help them. I

HIGHLY

recommend that you go to system/lib/soundfx/ and compare the libraries (*.so files) listed on your device with what is in the config file. If you don't comment out of the config file the libraries that aren't present, you may get the frustrating "unable to install drivers" message that prevents v4a from working.

Good luck, everyone - and thank you, again, for this thread!😂

Note: according to one of the comments in the file, the uuid codes are supposed to be specific to the library (at least that's how I'm interpreting it) but I seem to have successfully implemented the pre-processing effects ("agc", "aec" and "ns" in the "effects" section). They are calling the same library (libaudiopreprocessing.so) but they all have different uuid codes. Either a single library can have multiple uuid codes or the uuid codes are specific to the effect and I'm not interpreting the comment correctly.

'Nother Note: I have found that I must leave my kernel in "permissive" mode - If I turn on "Enforcing" mode, V4A immediately enters "abnormal" driver status and V4A stops working.
[Galaxy Note 4 Themes and Apps] Shadeclan:
Look in your root explorer settings and see if you can find a setting for hidden files - the file may be hidden.

You may be able to change your kernel to permissive with SELinux Mode Changer - then you wouldn't have to flash the file. However, if that doesn't work, you will need to boot into recovery ( Do you have a recovery installed on your phone? I use TWRP recovery). In TWRP recovery, you would tap the "INSTALL" button, navigate to and select the zip file and follow the instructions.

Another tip: Make sure that the permissions on the folder are correct. The permissions on my soundfx folder are (chmod) 755 - everyone can read and execute the files but only owner (root) can write to them. Maybe a little overkill - you can try fewer permissions if you're uncomfortable with that.

There's been a lot of discussion about permissive/enforcing kernels - in my experience, you must leave your kernel on "permissive" for V4A to properly work. If the kernel is switched to "enforcing", V4A driver status will immediately go to "abnormal" and V4A will stop working and will not come back on until you change the kernel back to "permissive" and reboot your phone.
[Galaxy Note 4 Themes and Apps] djjimmy:
Shadeclan Thanks so much for the reply!

I tried showing hidden folders today, but no change. When I first found @kevintm78 's instructions I accidentally misunderstood what we meant by doing some cleanup, and deleted the entire soundfx folder, so just to be clear, at one point I had found it. Once I realized my mistake I uninstalled viper, supersu, roo browser, etc, and then did a factory reset of the device (which is the head unit in my Honda Accord 2016) in order to start over. My thought was that would get the soundfx folder to reappear, but now I can't find it anymore. Any advice on how to fix this particular issue? And would it make sense to go ahead any try changing kernel to permissive, or wait until I fix the hidden folder issue first?
[Galaxy Note 4 Themes and Apps] mark-1978:
do you actually have to start the viper4android app each time you boot android to let it proces the audio?

grtz
[Galaxy Note 4 Themes and Apps] Shadeclan:
You're going to have to find the *.so files online or reinstall the operating system. I could upload MY *.so files for you, I suppose but there may be better libraries elsewhere.
[Galaxy Note 4 Themes and Apps] Shadeclan:
Here you go. If I were you, I'd check them with a virus checker first - don't trust people you don't know ... :)
[General Questions and Answers] Surrrrrrrrrraj:
After i replace snapdragon by noughat i detect bugs like hotspot error and i m not able to make a video call on redmi note 4
[Galaxy Note 4 Q&A, Help & Troubleshooting] Tilburn1976@gmail.com:
is there a note 4 luncher in use
[Off-topic] Tregrad:
is anyone having probs over there? i cant get in. last time a update came out for the mogul it crashed, Today is the day for the (supposed) new rom update
[Off-topic] ajk511:
it has nothing to do with the new rom update. its the same problem as last time, basically ppcgeeks.com is too popular and we keep over loading the server :D:D Mike is working on it right now with the server host to get it fixed.
[Off-topic] agentmikeyd:
any news??? out of curiousity where else does everyone go?

i usu. just hit xda and ppcgeeks...any other good sites?
[Off-topic] Pibe38:
PPCGeeks ?

What happened to PPC Geeks?

But to summarize, PPCGeeks is back up in a new dedicated server.

Besides PPCGeeks and XDA, there's www.wmexperts.com and www.sprintusers.com, www.pdaphonehome.com, and www.howardforums.com
[Off-topic] mariner_heart:
ppcgeeks is now back. i wonder if that site is so very good.

i never missed it.
[Off-topic] Steve Sharp:
Thanks for the links, a few I haven't tried yet.
[Off-topic] JimSmith94:
In case anyone else has a problem, last night I couldn't connect, but noticed that I had changed it in favorites to go to forum2.ppcgeeks.com when they first switched servers. Apparently that was turned off. When I switched to forum.ppcgeeks.com, I connected again.
[One (M9) Q&A, Help & Troubleshooting] Pitayita:
Hello, first time poster. i flashed a rom viperone m9 6.2.0. after that, the bootloop started, when I enter recovery mode, the message appears "Keep System Read Only?", the all partitions can not be mounted, and the message shown in red is "Failed to mount '/system' (invalid argument)". When I try to format the partition: Formatting System using make_ext4fs..: Failed to mount '/system' (invalid argument), and try to repair file system: Reparing System using e2fsck...: 7sbin/e2fsck -fp /dev/block/mmcblk0p66 process ended with ERROR:8, Unable to repair System

I can enter into dowload mode, and try to install RUU.ZIP by the sdcard method and it does not work, then i try flash firmware with fastboot , but the bootloop started when rebootRUU

fastboot oem rebootRUU

.

I try to re-lock the bootloader to install RUU.EXE, but it does not

C:\Users\PC\Desktop\fast>fastboot oem locked
(bootloader) [KillSwitch] : /dev/block/bootdevice/by-name/frp
(bootloader) [KillSwitch] Last Byte is 0X00, disable unlock
(bootloader) [KillSwitch] oem unlock Turn Off!
OKAY [ 0.200s]
finished. total time: 0.200s

C:\Users\PC\Desktop\fast>htc_fastboot getvar all
(bootloader) version:0.5
(bootloader) variant:MTP eMMC
(bootloader) secure:yes
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) max-download-size: 0x20000000
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0x14000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0x5e0000000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0x118000000
(bootloader) serialno:HT*******
all:
finished. total time: 0.141s
htc_fastboot finished. total time: 0.634s

C:\Users\PC\Desktop\fast>htc_fastboot getvar all
(bootloader) kernel: lk
(bootloader) product: htc_himawhl
(bootloader) version: 1.0
(bootloader) imei:
(bootloader) version-main: 3.41.651.41
(bootloader) boot-mode: download
(bootloader) version-baseband: 3.00.C1144084@60114
(bootloader) version-bootloader: 1.0.0.0000
(bootloader) mid: 0PJA20000
(bootloader) cid: SPCS_001
all:
finished. total time: 0.016s
htc_fastboot finished. total time: 0.592s

Thanks and sorry for my english
[One (M9) Q&A, Help & Troubleshooting] Pitayita:
The NAND is dead???? :(
[One (M9) Q&A, Help & Troubleshooting] lucyr03:
If you can't boot in "fastboot oem rebootRUU" the NAND is probably dead, I'm sorry...
[Android Q&A, Help & Troubleshooting] asoni474:
Hey guys i am using mi a1 so the problem is I was playing asphalt 8 installed from play store n it was working fine now I downloaded its moded version so when I uninstalled the play store edition and installed the Modded one I got error the package name conflicts with an existing package by the same name.

The same happened with Nova 3 freedom edition also please guide me how to fix it
[Sony Xperia XZ Premium Guides, News, & Discussion] Macs1209:
If someone interested, just try this small tool:

Run from cmdline (according to sample image), connect device in flash mode, and wait a bit.

*binary* comes from device directly, *config* is in infile format if you want to know what is inside.

No virus / other foreign legionary inside :

https://www.virustotal.com/#/file/8...f13e2099bc9b5a1ddb487ad41cb3948144d/detection

Works on G814x, may work on other devices, but not before (and including) Z5 Premium.
[Sony Xperia XZ Premium Guides, News, & Discussion] shadimar69:
How to fix DRM on XZP:

Step one: Collect Underpants.

Step two: Backup TA.

Step three: Profit.

But seriously, good luck to all testing this. Please report back! :)
[Sony Xperia XZ Premium Guides, News, & Discussion] LukeyWolf:
No matter how unstable or chancy this may be (haven't tested, don't wanna risk it haha) it''s progress in this right direction and to the idiots that gave up in the bounty thread, having patience can pay off
[Sony Xperia XZ Premium Guides, News, & Discussion] Macs1209:
Its working. If you don't want to try, don't do that. This is not violence, this only an option :) To make a drm fix, this could be a step forward.

It's NOT write anything to the device, so safe to try. I have only one G8142, tested, read working fine. On weekend, I'll work on full/partial restore.

Anyway, its not for personal profit, I just want to speed up a complete lossless root solution :)
[Sony Xperia XZ Premium Guides, News, & Discussion] ponytojas:
Just tested, files have been created, and phone is working without any problem.

Hope someone could get DRM fix soon or at least a point to start with this tool.

Thanks a lot for the effort
[Sony Xperia XZ Premium Guides, News, & Discussion] chesterr:
Mine just hangs on Checking S1 devices

View attachment 4308588

Edit: Sorry Didn't read the part that need to connect FLASH MODE :p It backed up stuff. :D
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
does it work with sony xz1 or should wait for next update
[Sony Xperia XZ Premium Guides, News, & Discussion] Macs1209:
You can test is. It cannot write anything, at most cannot read anything.

BTW, this is NOT A RAW TA BACKUP, it backup what the phone give us. But I hope it contains any DRM related stuff :p

I hope someone will try it out who can understand what it read out, and can give us some feedback.

Anyway, unlocked my one, I love new green shots, but now I can attack from another way too. Looks like dd raw backup

a bit bigger, even its not fully filled :(
[Sony Xperia XZ Premium Guides, News, & Discussion] gengi:
Very good work. It's because people like you that things get done.
[Sony Xperia XZ Premium Guides, News, & Discussion] xrenoix:
HELLO !!! [MENTION=1695379]Macs1209[/MENTION] PERFECT WORK BRO !!!

MY PHONE IS G8141 with windows 7 x64

E:\SONY\XPERIA XZ PREMIUM>dmsSonyTABackup.exe

Checking S1 devices

S1 interface found: \\?\USB#VID_0FCE&PID_B00B#5&1dd2df13&0&2#{a5dcbf10-6530-11d2

-901f-00c04fb951ed}

TA1 binary read ok, size: 139096, saved to E:\SONY\XPERIA XZ PREMIUM\MY IMEI_TA_1.binary.tab

- TA binary parsed, saved to E:\SONY\XPERIA XZ PREMIUM\MY IMEI_TA_1.confi

g.tab

TA2 binary read ok, size: 179230, saved to E:\SONY\XPERIA XZ PREMIUM\MY IMEI_TA_2.binary.tab

- TA binary parsed, saved to E:\SONY\XPERIA XZ PREMIUM\MY IMEI_TA_2.confi

g.tab

THANK YOU VERY VERY SO MUCH GOOD WORK

ps it 's possible change in TA.img or add restore ?

please help bro [MENTION=4120742]munjeni[/MENTION]
[Sony Xperia XZ Premium Guides, News, & Discussion] Saadkhalid786:
There's a quote in Urdu "sabar ka phal meetha hota he" means that the fruit of patience is always sweet.

kudos to this guy. since S8 Snapdragon 835 version is now rooted. i hope we can get Root and Drm keys together sooner on our XZP :D
[Sony Xperia XZ Premium Guides, News, & Discussion] LukeyWolf:
Yep, a grest step in the correct direction, also I have to wait anyway haha as I only got my XZP 1 month ago with EE locked haha
[Sony Xperia XZ Premium Guides, News, & Discussion] munjeni:
I can help reconstruct real TA.img!

Edit:

This tool doesn't backup drm key, I didn't see unit 66667. Without shake authentification I'm believing you can't backup secured units including that drm key unit. I'm still believing that drm key or unlock key is outside trim area, I even didn't see unit 0x8b2 from unlocked device trim area. https://github.com/munjeni/newflasher , can you show your's?

[MENTION=3665957]the_laser[/MENTION] , how that is possible that his tool reads some units like:

[67320]
size=2
data=9A 02
text=

[67321]
size=2
data=FA 01
text=

[67322]
size=2
data=3A 01
text=:

[67323]
size=2
data=1A 01
text=
[Sony Xperia XZ Premium Guides, News, & Discussion] pbarrette:
This works on XZ1 Compact.

It produced 4 files:

[IMEI]_TA_1.binary.tab (146036 bytes)

[IMEI]_TA_1.config.tab (Text display of above)

[IMEI]_TA_2.binary.tab (183728 bytes)

[IMEI]_TA_2.config.tab (Text display of above)

EDIT: For reference, the XZ1c's TA partition is 2MB, so this tool is pulling < 1/4th of that partition.

I don't see 66667 or 8B2 either.
[Sony Xperia XZ Premium Guides, News, & Discussion] Macs1209:
Thanks for responses. So now I need to focus on 66667 abnd 0x8B2.

BTW, "text=" lines for info only, to see is there any text inside, like imei, any sw part version, or log data.

Another question: is there any way to create a modem interface for this device? In the modem firmware part, there's

lot of AT commands, but without interface, I can't communicate with the baseband. On Samsung qualcomm devices,

I could reach lot of things via modem, same logs what are in the partial TA backup binaries. (also I killed one exynos

g925f by wrote something wrong to RF calibration.... )
[Sony Xperia XZ Premium Guides, News, & Discussion] 4rz0:
The tool didn't find my XZ1c, tough I probably need some special drivers that I missed.
[Sony Xperia XZ Premium Guides, News, & Discussion] yacloo:
Those files are s1 dump for Sony repair services

That provide device info, last Boot logs, installed firmware versions, baseband info, etc

Small parts of TA nothing important
[Sony Xperia XZ Premium Guides, News, & Discussion] karrouma:
[MENTION=1695379]Macs1209[/MENTION]

it is wirking in xz1 also

i got same 4 files

xzp xzc xz1 same drm and same oreo firmware family like xz and xzs
[Sony Xperia XZ Premium Guides, News, & Discussion] munjeni:
Yes partition is 2mb but that not mean that it have 2mb of the data inside! So thats expected.

---------- Post added at 09:39 AM ---------- Previous post was at 09:38 AM ----------

Yes, but waiting your reaply to my question first.
[Sony Xperia XZ Premium Guides, News, & Discussion] Macs1209:
Checking S1 devices
S1 interface found: \\?\USB#VID_0FCE&PID_B00B#6&f44bfc6&0&4#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
Response(BIN): SUCCESS: 104857600
Response(HEX): SUCCESS: 31 30 34 38 35 37 36 30 30
Reading TA 1 / 2226
Response(BIN): FAILED: Unable to read TA unit 2226, error=-22
Response(HEX): FAILED: 55 6E 61 62 6C 65 20 74 6F 20 72 65 61 64 20 54 41 20 75 6E 69 74 20 32 32 32 36 2C 20 65 72 72 6F 72 3D 2D 32 32
Reading TA 2 / 2226
Response(BIN): FAILED: Unable to read TA unit 2226, error=-22
Response(HEX): FAILED: 55 6E 61 62 6C 65 20 74 6F 20 72 65 61 64 20 54 41 20 75 6E 69 74 20 32 32 32 36 2C 20 65 72 72 6F 72 3D 2D 32 32
Reading TA 1 / 66667
Response(BIN): FAILED: Unable to read TA unit 66667, error=-22
Response(HEX): FAILED: 55 6E 61 62 6C 65 20 74 6F 20 72 65 61 64 20 54 41 20 75 6E 69 74 20 36 36 36 36 37 2C 20 65 72 72 6F 72 3D 2D 32 32
Reading TA 2 / 66667
Response(BIN): FAILED: Command not authenticated
Response(HEX): FAILED: 43 6F 6D 6D 61 6E 64 20 6E 6F 74 20 61 75 74 68 65 6E 74 69 63 61 74 65 64
Done

Sadly not. 2/66667 looks like needs some authentication, but after it possible to read

(I already unlocked this device, so error-22 can mean TA ID not exists (anymore) too)
[Sony Xperia XZ Premium Guides, News, & Discussion] munjeni:
Ok no prob, if you need any help let me know! I can help in reconstructing whole trim area to look like TA.img! Thats why I ask since I can push some git commits to your tool in that case.

About my reaply to your questions about your question, on my z1c this puts my device into thing you need:

#!/system/bin/sh

echo 0 > /sys/class/android_usb/android0/enable
echo "0FCE" > /sys/class/android_usb/android0/idVendor
echo "diag" > /sys/class/android_usb/android0/f_diag/clients
echo "smd,tty" > /sys/class/android_usb/android0/f_serial/transports
echo "smd,bam" > /sys/class/android_usb/android0/f_rmnet/transports
echo 5416 > /sys/class/android_usb/android0/idProduct
echo "mtp,adb,serial,diag,rmnet" > /sys/class/android_usb/android0/functions
echo 1 > /sys/class/android_usb/android0/enable

exit 0

It might be similar on xzp, just look into ramdisk usb rc file for idea
[Sony Xperia XZ Premium Guides, News, & Discussion] Macs1209:
Thank you, I'll try it soon. I'll post your results too (of newflasher reading), its about TA 8000, still working, but now I need take some rest to my pulse go below 120... (coders curse)
[Sony Xperia XZ Premium Guides, News, & Discussion] munjeni:
Ok thanks! If you believing me I never got that specific log which I requested from newflasher, that says everything about countribution to newflasher, must think next time about paid solution only. In the same time I was temp ban and I lost rd title. For what? It's realy not a much clear to me. Double think about whether it is worth the effort making anything for free. And take more care to your pulse!

---------- Post added at 11:54 AM ---------- Previous post was at 11:20 AM ----------

I didn't found ta unit 0x8b2 inside trim area from unlocked device, which is not the case on oldest xperia devices. So this might be a truth! I have told about that many times. In that case restoring locked trim area on unlocked device have apsolutly no sense, which mean bye bye waranty 4ever after unlocking bootloader, and mean bye bye drm keys 4ever too!

It would be great if you make this for guys to confirm error -22 on locked device! Just for confirm drm unit existance on trim area on locked bootloader, e.g. if guys get the same error -22 that apsolutly mean that drm unit is outside trim area!
[Sony Xperia XZ Premium Guides, News, & Discussion] munjeni:
Xzp have s1 service runing from lilo bootloader, that lilo is running from an ramdisk which is packed into standard android boot image, I have extracted it see attachment.