yashsingh1/xdaforums huggingface dataset:
[Android Stick & Console AMLogic based Computers] leon_733:
[TWRP][S905X3] TWRP 3.3.1 for H96 Max X3

This is the round black box with a purple-blue dolphin, and "H96 Max 8K ultra HD" written on top. Bottom says H96 Max Model: X3 CPU: S905X3 OS:Android 9.0 RAM: 4GB ROM: 32GB

Note: there's always a risk of bricking/breaking your device. Make sure power cable is securely plugged before flashing ZIPs or IMGs. I highly recommend backing up your stock rom first as replacements can be hard to find for these generic boxes.

See the attached zip file, unzip it to get recovery.img

Instructions:

1. Create a bootable SD card with Amlogic Bootcard maker / Burn card maker

2. Copy recovery.img to the root of the SD card, do not rename it.

3. With power cord disconnected, Insert SD card in android box TF slot.

4. Use a toothpick to gently hold the button deep inside the AV port.

5. Keep holding the AV button and connect the power cord.

6. Keep holding button until TWRP appears on screen.

7. Swipe right to allow modifications

Optional steps for permanent TWRP:

1. Plug in a USB mouse and click Backup

2. Under "select partitions for backup" make sure they don't say "0MB" If they do then there is a problem and you shouldn't continue.

3. (Recommended) backup all the partitions here to an SD card or flash drive and keep a second copy somewhere safe, especially Recovery

4. Go back to the main menu with back(bottom left), and select Install.

5. Go to Select Storage then select Micro SD card

6. Click install image and recovery.img should appear

7. Click Recovery, then swipe the blue rectangle to the right, don't do anything until you see IMAGE FLASH COMPLETED

https://androidmtk.com/amlogic-burn-card-maker

https://www.getdroidtips.com/download-amlogic-burn-card-maker/

Alternatively to the Burn Card Maker, you could flash an Amlogic Lakka/Emuelec image to the SD card with Balena Etcher and delete everything off the 1st partition, then copy recovery.img

Ported with Carliv's Image Kitchen

Thanks to:

Augustoandro

Carliv
[Android Stick & Console AMLogic based Computers] leon_733:
Tip: Make sure your SD card has a single Primary (not Logical) partition with no space before it or TWRP won't see it.

Here is another recovery image with a line added in /etc/mesondisplay.cfg to fix TWRP taking up half the screen.
[Android Stick & Console AMLogic based Computers] Stogie87:
Is this twrp also compatible with other boxes which usw the S905X3 processor?

I use the beelink GT Mini 2, for example.

Thanks in advamce and kind regards
[Android Stick & Console AMLogic based Computers] leon_733:
I don't have one to test it, but what I'd do is run it from an SD card if you're making backups to test it. Sometimes the device names in recovery.fstab (a file inside the recovery image) will differ between manufacturers, so TWRP may not see your SDcard or android partitions
[Android Stick & Console AMLogic based Computers] ma7mod1:
Its work with h96 max x4 android 11 ?
[Android Stick & Console AMLogic based Computers] ma7mod1:
Its work with h96 max x4 (amlogic s905x4) ??
[Android Stick & Console AMLogic based Computers] lij62279:
Can you make one twrp for s905x4? I
[JAM, MDA Compact, S100 Software Upgrading] kenji101:
How do i fix my imate jam, it auto reset/ hard reset after i remove battery or replace sim. files and programs i install always be remove.

here my info:

rom version: 1.12.0 WWE

Rom date : 05/28/05

radio version: 1.13.00

Protocol version: 1337.43

ExtRom version: BIG STRORAGE

upragrading to 1.13 rom soon..

please i need help with this
[JAM, MDA Compact, S100 Software Upgrading] plex4pda:
your problems (1 or 2; 2 or 1; 1 and 2):

1. bad backup battery (that be under speaker)

2. bad battery signal button (that is small lever under cap)

твои проблемы (1 или 2; 2 или 1; 1 и 2)

1. backup-батарея исчерпала свой ресурс или отходят контакты (находится под динамиком)

2. сигнализатор одетой крышки вышел из строя (маленький рычажок, находится под крышкой, которая закрывает батарею; на правой стороне корпуса)
[JAM, MDA Compact, S100 Software Upgrading] kenji101:
Hi plex4pda

I really appreciate the post.

My problem is both 1 and 2.

3. I don't thinks battery, cause when i soft reset (power + reset button) it do hard reset(goes back to begining- reinstall OS)

just finished upgrading, using NL 1.13 rom bs + 1.13 radio from ftp, but with the same prob.

here new info:

rom version: 1.13.0 WWE

Rom date : 05/28/05

radio version: 1.13.00

Protocol version: 1337.43

ExtRom version: BIG STRORAGE

i'm browsing from this device, badly need your help.

PS.

I'm starting to think that its the backup battery cause I always make this device battery empty.

Any remedies to this prob?
[OnePlus 10 Pro] ecera:
So I'm not sure if I'm doing this the right way, but I think in an effort to get experienced devs to take a look into our viper4android driver loop issue a bounty is in order.

I have tried every method I could find to get viper4android to work on our OnePlus 10 pro with no success.

Below I'll start a list of pledgers who are willing to pay the bounty when/if a fix is found. I'll add to the list as other pledgers come forward. Any pledge amount helps.

•ecera -$50

•Aldonski - $10

On a side note, I'll be willing to test any fixes that are thrown my way. I'm also ready to provide any files or logs that are requested. Also, if you guys/gals want to tag some members that may be willing to take on this task please do so. Thanks.
[OnePlus 10 Pro] ecera:
@shadowstep @dorimanx @zgfg @vczilla @Juniiim

Hope you guys don't mind me tagging you. From posts I have read of yours, you guys know your stuff. Or maybe you can recommend someone who will be interested in the bounty.
[OnePlus 10 Pro] ecera:
So I'm guessing a little basic info would be helpful. The OnePlus 10 pro is running oos12, the normal post-fs-data.sh fix where vendor/etc and odm/etc "audio_effects.xml" is binded doesn't work(as expected since the file doesn't exist under vendor/etc on this device.) I'll attach a photo where audio_effects.xml can be found on this device. Another thing to note is that the viper4android.zip by @shadowstep actually adds audio_effects.xml &.conf to vendor/etc. But trying to bind this newly created audio_effects.xml to the one in odm/etc doesn't make any changes to the one in odm. I'm also unable to launch the viper4android app using his version, but installing the apk again allows me to open the app. I'm just not sure if that affects anything as far as the functionality of his module. I could though bind the audio_effects.xml located in vendor/etc/audio/sku_cape to the odm/etc one, but driver loop persists. I'm out of ideas I've literally tried every module(aml, jdsp, ainur, acp, v4a from the magisk repo, other versions of v4a zips in different orders/ combinations. Nothing has worked so far.
[OnePlus 10 Pro] Aldonski:
Aldo - $10

great ideea mate
[OnePlus 10 Pro] dorimanx:
try this:

remove all sound mods you have added, including the module from magisk and the viper app!

reboot!

Install attached Audio-Modification-Library_v4_0-OS12-op10

reboot!

install com.pittvandewitt.viperfx_2.7.2.1-2721.apk

open the viper app, and click install drivers.

phone auto reboot.

copy attached post-fs-data.sh to /data/adb/modules/ViPER4AndroidFX/ (use adb or rooted file manager)

REBOOT, do not open the app!!!!

now if we hit the FIX, if you will open the app it's should not ask to install drivers.

if it's stop asking, check the state, if it's not NORMAL then tick the Legacy Mode, and check state.

should be Status Normal.

I hope this will work for you.
[OnePlus 10 Pro] zgfg:
I could give you suggestions/hints based on how I made it to work on my phone - but it was Xiaomi with stock A11, not your OnePlus 10 with oos12:

https://xdaforums.com/t/app-fix-100...ndroid-10-11-12-devices.4213647/post-86870983

Anyway, before we start, please disable ALL audio moudules (any V4A, AML, etc you may have) and REBOOT

And then please respond/confirm the following:

1) Check, does your system show the same content (one should be mounted to another) for /system/vendor/etc and vendor/etc ?

You can use a root explorer like MiXPlorer or you cah check with ls command in terminal window, and when you boot with the Magisk root.

I.e, do not check from a custom recovery (mounting points must be properly in place when system/Android + Magisk are booted)

2) Check, does your system show the same content (one should be mounted to another) for /system/odm/etc and /odm/etc ?

3) Do you have audio_effects.xml in the following folders (with /vendor = /system/vendor and /odm = /system/odm as mentioned above):

/odm/etc

/vendor/etc/

/vendor/etc/audio/sku_cape

/vendor/etc/audio/sku_diwali

/vendor/etc/audio/sku_taro

4) Do you also have audio_effects.conf in the same folders as listed in 3) - if not, list in which of the folders you do have the conf file

For 1) and 2), we need to be sure if standard montings (as needed for V4A to mount files and work on your system).

For 3) and 4), we need to be sure if you originally (without the intervention from any audio module like the previous installation of V4A or AML, etc)

do have the audio_effects.xml and audio_effects.conf files in all those folders, or in which of them exactly
[OnePlus 10 Pro] ecera:
Thank you for responding! I'm going to test out your methods first, I will report back.

Edit: so I tried the method you suggested and unfortunately driver loop persists. So what I noticed is that audio_effects.xml in all directories on this phone remain untouched. They remain "stock". Also, under /data/adb/modules/aml or /Viper4Androidfx in the system folder in both directories subfolders were created, but remain empty. Not sure if there's any info you would like to take from the phone that I could get for you? I took a few screenshots, not sure if that'll help. I started clean with no mods and I took these after attempting the fix.
[OnePlus 10 Pro] ecera:
1) Ok, so /system/vendor/etc and /vendor/etc does show the same content. I'd note that audio_effects.xml and .conf are both missing in this directory from an untouched unmodified standpoint though.

2) system/odm/etc is non-existent on this phone. Odm/etc is there though. There is /vendor/odm/etc and shows the same content as odm/etc.

3) audio_effects.xml exists in the following locations.

- /odm/etc

- /vendor/etc/audio/sku_cape

- /vendor/etc/audio/sku_diwali

- /vendor/etc/audio/sku_taro

It is absent in

- /vendor/etc

4) audio_effects.conf exists under

- /vendor/etc/audio/sku_cape

- /vendor/etc/audio/sku_diwali

- /vendor/etc/audio/sku_taro

- /system/etc or /etc

It is absent from

- /odm/etc

- /vendor/etc

Again thanks so much for giving this a shot.
[OnePlus 10 Pro] zgfg:
Ok, thanks

Then shortly based on 1) and 2):

/odm/etc

/vendor/odm/etc

/system/vendor/odm/etc

are all pointing to the same?
[OnePlus 10 Pro] ecera:
Yes, sorry had to drop the kiddo off at school. But, yeah they all point to the same.
[OnePlus 10 Pro] zgfg:
Ok, try the follow up, my subsequent post above. Let's see the results
[OnePlus 10 Pro] ecera:
@zgfg I installed the official viper magisk module, rebooted, opened the app, allowed the driver to install, rebooted, didn't open the viper app, went to /data/adb/modules/Viper4AndroidFX/system/vendor, it's empty. Besides a lib folder.
[OnePlus 10 Pro] ecera:
@zgfg something interesting though, I copied audio_effects.xml and .conf from /vendor/etc/audio/sku_cape and created a folder named "etc" in /data/adb/modules/Viper4AndroidFX/system/vendor and copied them there. Now, in /vendor/etc both audio_effects.xml & .conf exist. They aren't "patched" though.
[OnePlus 10 Pro] zgfg:
Yes, of course, that's the way how mounting works (and how all modules, including V4A utilize that)

Everything that Magisk finds in

/data/adb/modules/<some module folder>/system/<subfolders>/<file>

will be mounted to

system/<subfolders>/<file>

Eg, if you use Systemless hosts and AdAway in the root mode, then AdAway writes to:

/data/adb/modules/hosts/system/etc/hosts

and Magisk mounts that (upon reboot) to:

/system/etc/hosts

---

You could try to run V4A app now with your 'fake' XML and conf files in /vendor/etc (although I'm not sure how would VA app react when it already finds the XML and conf file in /data/adb/modules/Viper4AndroidFX/system/vendor/etc - the same place where it must write its own patched files with the same names)

to check would it then find the (mounted) XML and conf file from /vendor/etc

and would it create the corresponding patched files in its /data/adb/... folder

If it does, then you could continue with my previous post
[OnePlus 10 Pro] ecera:
@zgfg so following your instructions everything is working as far as binding all the locations. The only one that is not sticking is /data/adb/modules/ViPER4AndroidFX/system/vendor/odm/etc. I'm able to copy the patched audio_effects.xml and .conf in there, but they aren't reflecting in the "real" folder (/system/vendor/odm/etc/ or odm/etc.
[OnePlus 10 Pro] zgfg:
Ok, then copy the attached post-fs-data.sh to /data/adb/modules/ViPER4AndroidFX

(Instead of the previously given sh file)

In the sh script you will see two mount -o bind commands, one for XML and the other for conf, like:

mount -o bind /data/adb/modules/ViPER4AndroidFX/system/vendor/etc/audio_effects.xml /system/vendor/odm/etc/audio_effects.xml

Their purpose is to manually mount from:

/data/adb/modules/ViPER4AndroidFX/system/vendor/etc

to:

/system/vendor/odm/etc/

And REBOOT

Hence again, in the first path (folder) the patched XML and conf files must be present

If it doesn't work you can try shortening the second folder path (both for XML and conf) to:

/vendor/odm/etc

or even to:

/odm/etc
[OnePlus 10 Pro] ecera:
That works as far as binding the existing audio_effects.xml that is located in /odm/etc. The .conf file doesn't appear in /odm/etc/. It does appear in /system/etc/ which I was able to mount a patched version by creating a corresponding folder in /data/adb/modules/Viper4AndroidFX/system/etc.

So I think it's safe to say that every audio_effects.xml & .conf are patched at this point.

Driver loop still persists though, I read one member point out that if he ran dumpsys media.audio_flinger, he noticed that the OnePlus 10 pro is using lib64 audio folders instead of the regular lib folders. It seems like viper tries to use the regular lib folder since the lib files that are patched are under lib and not lib64. Not sure how significant that is.
[OnePlus 10 Pro] zgfg:
I see now that in post #9 you already wrote that conf file was originally not present in /odm/etc, hence you don't need to bind it there (remove the corresponding mount -o bind command from sh file)

Now, upon the V4A still looped, did you check, do you still have all the folders and files in /data/adb/modules/ViPER4AndroidFX (you previously created) in place.

Ie, are the patched XML and conf files still in 'real' folders after you rebooted?

If so, you are lucky (you don't need to start all over again) - but then copy the whole structure:

/data/adb/modules/ViPER4AndroidFX

to eg (not a nice place to keep but it will be close to your hands and will not harm):

/data/adb/ViPER4AndroidFX

Then you can experiment further if you have an idea what to do with the libs

If, at any moment, V4A (by looping) deletes what you had in /data/adb/modules/ViPER4AndroidFX

you could then easily repair it from your copy, reboot and continue experimenting

---

If you zip and attach the complete content of that /data/adb/modules/ViPER4AndroidFX

I can give you then a flashable zip (module) file that you could easily install through Magisk app to start from that 'frozen' point all over again
[OnePlus 10 Pro] zgfg:
Regarding the lib vs lib64:

Check in the patched audio_effects.conf file

There should be a number of libraries listed as:

path /vendor/lib/soundfx/*.so

Are they really listed with /vendor/lib/

or with

vendor/lib64/

---

Disable the V4A module (through Magisk app or by placing an empty file named disable into /data/adb/modules/ViPER4AndroidFX - Magisk app by itself disables a particular module that way) and REBOOT and then check the original, not-patched conf file in those 'real' folders and check if it refers to lib or lib64

PS: Check those not-patched conf files in all four locations you said you had them in the post #9

Also, with the disabled V4A module, run su and then your dumpsys command directly from Terminal app and look does it list /vendor/lib/soundfx/ or /vendor/lib64/soundfx/ libraries
[OnePlus 10 Pro] ecera:
Here is a screenshot of one of the patched .conf files. I also attached the /data/adb/modules/Viper4AndroidFX folder with all the patched .xml's &.conf's.
[OnePlus 10 Pro] ecera:
@zgfg after disabling Viper, the untouched .conf files all show lib not lib64. Here are results of dumpsys media.audio_flinger with viper disabled.
[OnePlus 10 Pro] zgfg:
Strange that your not-patched conf files refer to lib/soundfx while dumpsys list lib64/soundfx libraries

Sorry, I can not help you further, don't know is it about lib64 or something else

Btw, all 'normal' modules 'manipulate' with system files through the customize.sh, post-fs-data.sh or service sh scripts - and one could then see their logic (to debug and fix/adapt something if needed) only the V4A has its 'driver installation' hidden in the apk (one would need to study the Java source and rebuild to adapt for new devices like yours)

I'll send you later today through the private conversation, the module zip 'installation' that you can flash to easily return to this point with the patched XML and conf files

IMO, it's of general interest, if you experiment further and specially if you find how to fix V4A on your device, please post your results - good luck
[OnePlus 10 Pro] ecera:
I can't thank you enough for taking time from your day to help out with this! I'm not sure what else to try. Hopefully others start digging around too.
[OnePlus 10 Pro] iLee:
i'm also trying to get viper4android working on a Poco F4 gt

driver will install but viper never finds it

also tried the steps mentioned here, same conclusion

in audio_effects.config

points to

path /vendor/lib/soundfx/*.so

in dumpsys

path /vendor/lib64/soundfx/*.so

hope someone with more knowledge can help us out?
[OnePlus 10 Pro] hahimot483:
I was able to get JamesDSP working on the 10 pro by selecting "Is this a Huawei device?" = yes during the install. Maybe someone can compare the install script of JamesDSP.
[OnePlus 10 Pro] iLee:
wow! thank u, this worked for me to enable James DSP on Poco f4 gt
[OnePlus 10 Pro] zgfg:
Also for @hahimot483

Please use a root explorer like MiXPlorer and go to /data/adb/modules/ainur_jamesdsp/system

Inspect all subfolders (and their subfolders, etc) - don't worry, there are only a few

1) Do you find there lib and/or lib64 folders and at what location (like in vendor subfolder)?

2) Find audio_effects.conf file (probably you have a couple of them in different subfolders, but identical).

Open (as a text file), does it show (see my screenshot) for jdsp:

path /vendor/lib/soundfx/libjamesdsp.so

or:

path /vendor/lib64/soundfx/libjamesdsp.so
[OnePlus 10 Pro] ecera:
JamesDSP crashes for me on launch. Is that the only module you installed? I tried installing AML too, no luck.
[OnePlus 10 Pro] hahimot483:
I no longer have the 10 pro as I switched to another device. I think I remember installing AML, jamesDSP, and the following dolby atmos to get jamesDSP working:

GitHub - reiryuki/Dolby-Atmos-Magic-Revision-Magisk-Module

Contribute to reiryuki/Dolby-Atmos-Magic-Revision-Magisk-Module development by creating an account on GitHub.

github.com

Dolby Atmos Magic Revision Magisk Module

Described here: https://github.com/reiryuki/Dolby-Atmos-MagicRevision-Magisk-Module

www.pling.com
[OnePlus 10 Pro] iLee:
the path is

path /vendor/lib/soundfx/libjamesdsp.so

but in dumpsys:

Library jdsp

path: /vendor/lib64/soundfx/libjamesdsp.so

JamesDSP v3.05 / James Fung

UUID: f27317f4-c984-4de6-9a90-545759495bf2

TYPE: f98765f4-c321-5de6-9a45-123459495ab2

apiVersion: 00020000

flags: 00000008
[OnePlus 10 Pro] HessNL:
So viper working yet 😅 getting tired of use wavelet
[OnePlus 10 Pro] iLee:
you can try and use James DSP combined with Dolby Atmos razer² it sound quite good
[OnePlus 10 Pro] HessNL:
I don't like James DSP viper is way better then that
[OnePlus 10 Pro] Bartx96:
Somebody have worked Viper ?
[OnePlus 10 Pro] zgfg:
Of course. Look at the other threads (if you carefully read posts you will find links). Troubles are due to different phones, ROMs, folder placement and names with drivers

No generic answer - hence no generic question
[OnePlus 10 Pro] Killadude:
Anyone try with ainur_narsil + amL + viper ? That was the combination that worked on 9Pro
[OnePlus 10 Pro] Velho_Velho:
I do can update Audio Modification Library?
[OnePlus 10 Pro] metrixx02:
Viper is working on oos12?could someone share any guide or something?
[OnePlus 10 Pro] austick:
Hi, you were able to install viper?. It is very difficult with the pocof4gt
[OnePlus 10 Pro] zgfg:
For Xiaomi phones, try:

https://xdaforums.com/t/app-all-root-solutions-6-0-viper4android-fx-2-7.3774651/post-87378915

or additionally:

Post in thread 'Viper4Android drivers install in loop' https://xdaforums.com/t/viper4android-drivers-install-in-loop.4455591/post-87428813
[OnePlus 10 Pro] memocatcher:
Anyone that got Viper to work on the 10 Pro yet? I tried nearly every possible way but I'm always prompted with the driver installing.
[OnePlus 10 Pro] dlads:
Has anyone tried this?

GitHub - programminghoch10/ViPER4AndroidRepackaged: A refined ViPER4Android installer.

A refined ViPER4Android installer. Contribute to programminghoch10/ViPER4AndroidRepackaged development by creating an account on GitHub.

github.com

Says Android, 12 compatible
[OnePlus 10 Pro] metrixx02:
Yep i tried .but still continue to driver not found error.maybe i can open up request in git .
[OnePlus 10 Pro] dlads:
Ah that's a shame..

I was actually looking for another sound mod I used to use called dragon (can't remember the full name) it was absolutely brilliantly made.
[OnePlus 10 Pro] zgfg:
Unfortunately it does not work for Xiaomi phones with A12 (MIUI 13) - the same as for the official V4A 2.7.2.1, driver not found, install and reboot, driver not found, and forever the same

Xiaomi phones (like some A12 phones by the other vendors) come with audio-config conf and xml files duplicated in additional (*_sku) folders on /vendor/etc/audio - but this modified V4A still does not look into those folders (whereas eg JamesDSP does) and does not patch the duplicated audio-config conf and xml files there

Solution to make it working for Xiaomi phones was posted in this post (using a special post-fs-data.sh file that looks for the additional conf and xml files to patch them):

https://xdaforums.com/t/app-all-root-solutions-6-0-viper4android-fx-2-7.3774651/post-87378915

When I installed this modified V4A module, after couple of unsuccessful 'installing' driver and rebooting, I again had to copy/paste my post-fs-data.sh file to enforce patching the additional copies of audio-config conf and xml, just like with the 'official' V4A (no difference/help here with this modified V4A)
[OnePlus 10 Pro] dlads:
I've just installed James DSP, this was another one I used to use..

Will let you know if it's any good or not.

Uses a lot of viper stuff.
[OnePlus 10 Pro] zgfg:
For me JDSP works out-of-the box

And I can use together V4A (with my post-fs-data sh fix) and JDSP, with the help of AML module ('merging' several audio modules to let them coexist)
[OnePlus 10 Pro] memocatcher:
Can you tell if it's possible to modify the loudness levels (db) with James DSP? It was the only thing I used Viper for.
[OnePlus 10 Pro] dlads:
It installs but doesn't open. Have posted in the James DSP thread.. it's still very much alive
[OnePlus 10 Pro] dlads:
It doesn't open for me. Installs fine. Apparently there's a way to do it.. but haven't fully tried yet
[OnePlus 10 Pro] austick:
I tried the first methot but I had no luck. I found audio_effects.xml on this folder (attached image) it's different like other xioami's