yashsingh1/xdaforums huggingface dataset:
[Android Head-Units] james28909:
OK after trying what seems like 300 twrp's I finally found one that does work with this device. I thin kthe main difference here is that the board is a new revision and some arch changes caused older version that were ported to not work. This one booted right into it but was in russian, which is easily fixable within the twrp gui.

I will add all of these files to the op when I have collected everything.

I do not think that this version board I have has hifi? Maybe I am mistaken? I have an audio glitch at 19-20 when playing music, the sound will get louder and sound good for a fraction of a second then return to sounding ****ty. So I will look into this more. What sucks is that there are so many of the same **** that doesn't work for this model so its like... I would rather garggle gasoline than have to sift through forums that were translated on the fly

Anyway here is the twrp for this particular device - https://www.dropbox.com/s/vogg7854a7ln2zu/twrp-9213aj.img?dl=0

EDIT: also you can boot to fastboot (adb reboot bootloader) and use fastboot getvar all to get factory partition sizes that's needed to create scatter file (you will need to use a hex calculator to create it, or wait for me to upload my scatter file once I have it done). You need to be making dumps in sp flash tool way before you are ever writing anything. Make plenty of readbacks and get to know how to read it before you write anything. Blindly flashing is not what you really want to do ;) lol

Mtk drivers for pc

to install, you will need to disable signature verification and I had to turn on test signing as well
[Android Head-Units] james28909:
I have successfully rooted this thing. I did encounter something kind of strange though. When I patched the boot.img I had from the device and the one I got in ota update and patched with magisk. When I booted and checked the root with magisk it said there was an unsupported root using su already. It did this for both boot.imgs.

Anyone ever heard of this on stock firmwares? I am able to grant root permissions to busybox and etc so it seems to be working OK. Maybe the root that is there is the chinese root for backdoor tracking and surveillance xD

Wonder how to see what unsupported su commands are being sent?

EDIT: i also took a lot of pictures of the board. It is yt9213aj v1.2 board. I will update the original post in the few days with everything needed for this model including testpoints etc. The test points are a little different but its pretty much the same. The only two you need in the end are the two bigger ones (for unlocking bootloader) then your set. You could drill some holes and run wire down to the trace and put some hardware buttons for the mcu to use to select things in fastboot and official recovery.

There is also another port/connector on this thing above the touch sensor board. I think we could buy a ribbon cable to connect here and run it to another board with hardware button. Actually I think the connector is for hardware buttons specifically but I don't know for sure. Must do more research
[Android Head-Units] james28909:
These things have are rooted from the factory. When I try to use magisk it says there is another unsupported su. The Unsu.zip floating around cures that. Then you can install magisk.

Also another thing about these things being prerooted... I think you can dump and flash without any extra sp flash tools or mtkdroid. I was dumping the partitions using adb pull function. Adb pull /dev/block/platform/soc/11230000.mmc/by-name/<insert partition name here>"

And

"/dev/block/mmcblk0pxx" where xx is the specific partition to read/write to.

I had got a scatter.txt in the ota update I obtained from the manufacturer which had all the partition layouts. I used this and a log from a failed supersu.zip install to create a scatter.txt for this particular device. The supersu log can be obtained by trying to flash the supersu zip in recovery, then in adg just pull the log file adb shell cat /tmp/recovery.log. Once you have this, you will have to use brain.exe to make your own scatter for sp flash tools.

All in all its pretty easy to actually root the device, and they are actually rooted from the factory, most likely for some functions within the os to work (like surveillance and spying xD) but that can easily be removed with the unsu.zip then install magisk.

I will be writing up a guide for this specific model in a few more days. If you read this thanks for listening to the rumbling of a mad man
[Android Head-Units] james28909:
Just discovered another problem. When I try to edit anything in /system it says its read only. Mounting is or remounting it shows as successful with no errors, but something is blocking it from mounting as system. I am trying to rename this audio_effects.conf and it willnt let me. I think it might be some proprietary code in the kernel designed to block mounting or remounting of certain or all partitions.

I think that a lot of them are software locked, like the fader and balance and volume level. Notice how some of these have glitches when turning the volume up and down. I think that there is some code that disables some functions of higher end units, depending on the model. If you buy a cheaper 100 dollar head unit, maybe it is indeed just software locked down.

I know for fact the amp chip in my head unit, YD7388, sec sheet says 4 channel. But my device is only 2 channel, no fader. Also the spec sheet says it needs no output capacitor but mine has one I think (there is a huge capacitor soldered next to the chip. I have some pics of the board and test points and chip markers etc. Once I have everythign ready I will make a nice guide
[Android Head-Units] james28909:
Wow I think I found the reason this thing outputs as 2 channel on 4 speakers. I need someone with a real 4 channel version to message me so I can get a few files for comparison. If this is the case, a simple magisk module would fix the fixed 2 channel problem we have. In the audio_policy_configuration.xml they have all output set as

<devicePort tagName="FM Tuner Out" type="AUDIO_DEVICE_OUT_FM" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
</devicePort>

I wonder if you set AUDIO_CHANNEL_OUT_STEREO to multichannel or maybe like "AUDIO_CHANNEL_OUT_QUAD " as described in the official android docs say, I wonder if that would enable true 4 channel (or 5.1)?

If someone who has a 4 real 4 channel stereo and it is around the model of yt9213aj, then send me a message so we can collaborate. If you are not rooted do not worry I will help you
[Android Head-Units] gielsgaard:
Hi, just installed this in my Citroën ds3, the radio is ok, cd player is ok , but if i try the tune in app, there is no sound, in google maps gps no sound , it's running Oreo, and i have been all menu's and can't find the solution. Anybody here can help me ?

Loose connection on the back of the display , loose plug.
[Touch Diamond, MDA Compact IV General] Speedy2k:
Hi guys, i have a HTC Touch Diamond from Telus in Canada. I also have an Asterisk IP PBX at home. I have programmed my PBX to give outside line acces as soon as it see my cell phone number. So, as soon as i call my home phone number with my cell phone, it not ring even once, it give me right away a dial tone to make external call. And in my Telus plan, this number is illimited through Canada. So my question is: is there a way to program or modify my cell dialing rules to always add my home phone number followed by a pause and after that dial the contact or dialed number? It must have a dialing rules files somewhere in the phone? i'm willing to pay for that find. thanx
[Touch Diamond, MDA Compact IV General] xudus:
I use MagiCall for exactly the same purpose as you've described
[MTCD  Android Head Units Q&A] Hydronaut:
Hi, I posted a variation of this in a specific firmware thread but I thought I would try asking here.

Hi hopefully somebody can help me. I have a PX30 and installed the rom and it worked great. Magisk was giving an error and I uninstalled it, it rebooted and now it shows the Hal9000 splash and then just goes to a black screen. Reset just does the same thing. Any help appreciated.

It is a seicane unit. I have tried various combinations of the reset and power buttons. I sent an e-mail to seicane but would like to continue trying in the interim. Not even sure if they will help.
[General Topics] blackhawk:
That's a cool rugged phone. Stock it's running on Pie... personally I leave it be and optimize it as best I could to get maximum battery life.

I was looking at these... FLIR, hell yes.
[General Topics] tylab:
Thanks for the info for the flir Camera,

It works fine with lineage OS 16 !

I want to add the info I got while doing it:

It does not work with all version of Andy Custom Lineage OS: I could not make it works with this one: lineage-16.0-20191017-UNOFFICIAL-treble_arm64_bvN.img.xz the lepton server had a seg fault.

I try with a lineage OS 18 , the lepton server worked but the application failed, I will look into it one day... maybe

I root my phone with magisk

I used a script to bypass SElinux and start the server when i want ( because i don't know if it wise to always have SElinux in permissive mode)
[General Topics] leviathan9595:
thank u for the additional info!,so which version of lineage os 16 worked for u? iam on lineage-16.0-20191017-UNOFFICIAL-treble_arm64_bvN.img.xz and tried the author's steps but didn't work for me, also it'd be nice if u share with us the script u use to bybass selinux,thanks.
[General Topics] QuentinX5:
I want to report back some of my own success in regards to this thread. I have the camera working, but it's not a perfect solution and was wondering if you guys could assist me in checking what I could have possibly missed. I'm running it on the most current Lineage OS 18.1; I've compiled a version using the Treble ROM lineage-18.1-20210512-UNOFFICIAL-treble_arm64_bvS with Magisk as root (I also added MindTheGapps into it after some workarounds with the mounts, and had to register my device as an "unsupported device").

I followed the OP's guide to the T, and still couldn't get the app to even open. The logs revealed it was trying to call leptonServer, nulling out after five tries, and then crashing. Narrowed this down to being an issue with the /bin/leptonServer file itself being set as -rwx-r--r--, and changing it to -rwxr-x-r-x got the app to boot up. The only problem is, for the camera to actually start, I have to open a terminal session and start leptonServer from there, and I assume this has something to do with the SELinux policies in place. I've fought half the battle and got a version of sepolicy-inject set up to run (using the following policy: allow untrusted_app_27 default_android_service:service_manager { find }; (sepolicy-inject -s untrusted_app_27 -t default_android_service -c service_manager -p find (if this doesn't work for you, try doing logcat ServiceManager:V SELinux:V *:S to find the relevant SELinux policies that you need to apply, and follow the formulas))), but I figure this is still erroring out somewhere, since, after a restart, the only way I can get it working again is to go and disable SELinux using setenforce to 0 and then starting the server again using some sort of terminal. I also installed the MyFlir app as a system app.

I believe that part of the issue might be that I haven't properly added the SELinux policy, but I'm not entirely positive how I would go about testing this (I've more or less just gotten into the ROM building scene last week, but feel I have somewhat of an edge being a software developer for a living). I think if I boot into recovery I can grab the sepolicy file, but I'm not sure what else to do with it at this point.

The error I get when it's not running, aside from the PID is pretty consistent too:

05-31 19:19:06.814 372 372 E SELinux : avc: denied { find } for pid=20308 uid=10195 name=LeptonCameraService scontext=u:r:untrusted_app_27:s0:c195,c256,c512,c768 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0

Hopefully, this helps someone to find the right answers before I can; I know I'll keep tinkering with it until I find the solution (I'm also attempting to overcome the CTSProfile/Basic failure in Magisk, which I plan to make a guide if I can find an answer).
[General Topics] Flir:
I get the same error as @&00&V5yt$r2$E!n1IDUiJ9bF on Lineage18.1 - treble_arm64_bvS-userdebug

04-28 00:27:34.277 7648 7648 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "android_get_exported_namespace" referenced by "/data/app/com.flir.tiger-EcVVz9vk2XWvVymOtKJxOQ==/lib/arm64/libvndksupport.so"...

My leptonServer is working correctly and service runs from the start so it I feel this is related to the /system/app/myflir-bv2.3.6-release-signed.

Are you guys using a different version of the app?
[General Topics] QuentinX5:
I also used myflir-bv2.3.6-release-signed, pulled straight from the currently available 9.0 ROM.

For that specifically, if you are looking at the most recent ROM build available from Blackview, in the directory /system/system/app/myflir-bv2.3.6-release-signed, there is both the APK and a lib folder. I'd copy the lib folder over to your phone in that same directory; I think you're missing the dependencies from there.

If you already have those libaries in there, try the read/write settings on the folder too.
[General Topics] ilich79:
Hi bv9800 pro customers! Anyone tryed the magisk module in the thread https://xdaforums.com/t/blackview-bv9900pro-magisk-modules.4331187/

to get flir worked on linage?
[General Topics] Aegis_Zerty:
Hi ilich79

I tryed the magisk module for BV9900pro.

I have installed it manualy to improve my understanding.

First, selinux block as always :

E/SELinux ( 338): avc: denied { find } for pid=18411 uid=10175 name=LeptonCameraService scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:default_android_service:s0 tclass=service_manager permissive=0

After enforce selinux and relanch the leptonServer.

Application launch completly but the camera send only the first image and block after that

So, i replace the leptonServer by the old one and retry.

Finally it works fully.

I someone know how to correctly set the selinux policy for this app ? I will be graceful
[General Topics] ilich79:
May be this can help?

https://xdaforums.com/t/module-selinux-mode-inverter-advanced-selinux-mode-changer.3775271/
[General Topics] korbip94:
I get the same error, @QuentinX5 : Did you use a different version? Would be nice to have a Lineage upgrade.
[General Topics] thelaseman:
Regarding the problem with the MyFlir camera app: I had the same problem (unable to read camera files). I looked everywhere. I mean, everywhere trying to find an answer. There's also a video on youtube with comments suggesting flashing the APD.BIN file (I did not try). I even translated different language websites. Finally, I contacted the BV customer support and their reply was the classic (clear the app cache), which doesn't work at all and not just for me. I tried to get the APK file from the image and installing it which didn't work either.

Here's the simple magic solution that kept me trying for a week, and no one wrote it anywhere:

There's a folder named (com.flir.tiger) inside the Android folder in the phone storage with the contents:

com.flir.tiger\files\iron

com.flir.tiger\files\CameraFiles\system\calib.rsc

com.flir.tiger\files\CameraFiles\system\maps\ds_we_ap_fi_le_LCFMap.fff

Just copy the folder from another phone and paste it on your phone, and that's it!
[General Topics] DJBlaster-303:
Hi do you think your solution works for all lineageos releases? If I change the stock rom I was thinking on putting release 19.1
[General Topics] max74926:
Hi, I'm trying to get the flir camera working on lineage 19.1 can @thelaseman gime me the file you write about? beacause I don't have another phone to copy from.

Thanks

Max
[General Topics] dj__jg:
If you are still looking for it I might be able to extract these files for you.

@thelaseman @QuentinX5

Is anyone still using a BV9800 Pro with a Lineage ROM? What version are you on, what specific build did you install, did you encounter any specific issues, were they fixable and how?

Not asking for a full guide (wouldn't mind of course ;) ) but before I start messing with what is currently my daily driver I'd like to know if anyone else was successful with a certain version. Particularly interested if any newer versions have also ended up working with the FLIR-camera.
[General Topics] Aegis_Zerty:
Hi @dj__jg,

I use the attached files for lineage 19.1 GSI (https://xdaforums.com/t/gsi-12-lineageos-19-x-gsi-a64b-64b.4358041/).

My camera calib is wrong (the thermal camera is upside down.) so I don't push the calib file here, if you have a good one, i'm interested.

I don't have fixed the selinux error for the moment, so just disable it went you launch the '/system/bin/leptonServer'

I missnamed the attached file, it's for BV9800 pro
[General Topics] dj__jg:
I suddenly feel very stupid, I just realised I've gotten confused about my phones model number 😅

I actually have a Blackview ninethousandninehundred pro, not 9800. I either had a brainfart or made a typo as I was searching if anyone had managed to use a recent Lineage ROM on it and accidentally ended up on this thread and didn't notice.

Luckily I didn't upload my calib file etc here, or someone could have gotten very confused. I think I will try to run a GSI build at some point, but when I have some more spare time/don't need this phone every day. The information about the com.flir.tiger folder is still very handy because it is the same on my model, I hope the same tactics will work to get the FLIR working in a GSI build.

(Wrote out the model number in text so other people googling the model number won't end up confused on this thread without even making a typo)
[General Topics] Aegis_Zerty:
It's my bad i missnamed my file, it's 9800 pro not 9800 (who don't have thermal camera)
[Android Head-Units] Rola Addict:
I have a head unit that says it's running android 10.1. I want to know if this unit can be rooted and a new ROM flashed to the unit. I have a couple pictures to help anyone that knows more about this stuff than I do.

I don't have a working laptop right now (the one I have the screen got busted), but I have a tablet. Can I use the tablet to do a root on the head unit or does it have to be a computer/laptop?
[Android Head-Units] localos:
YT9216BJ-Rooted

https://disk.yandex.ru/d/fHhJyNp6coCX3A
[Android Head-Units] Rola Addict:
My Russian is piss poor lol.
[Android Head-Units] Punisheros:
I need to help with root my android radio too. But this link isn't working anymore. 😬 Someone know how to do this?
[Samsung Galaxy A30 Questions & Answers] vnaidu2010:
Hi Guru's,

Forgot the pattern lock on samsung A30 mobile. Is there anyway to remove it without losing data. I am ready to pay(send paypal) for the help.

I tried some options on internet, but did not work.

Regards,

Venkat

+1-262-408-9278
[Samsung Galaxy A30 Questions & Answers] sammiev:
It will be the same pattern you used yesterday, last week and last month.

You must of also had another method to unlock as well like a figure print or pin number.
[Samsung Galaxy A30 Questions & Answers] vnaidu2010:
Please help if you know work around.
[Samsung Galaxy A30 Questions & Answers] SirKosichka:
Hi, I will help you. In orange fox twrp can delete your password without loss data. If you need, I can write in more detail how to do it.
[Samsung Galaxy A30 Questions & Answers] vnaidu2010:
Still trying it, can you please reply with more details.
[Samsung Galaxy A30 Questions & Answers] SirKosichka:
Go to twpr and flash orange fox. Go to settings in twrp and flash add-on password remover. Remove password
[Samsung Galaxy A30 Questions & Answers] joel_sinbad:
View attachment 5328145

If you have TWRP, open the File Manager and at /data/system delete this files.

After that, just reboot and profit!
[OnePlus 7T Questions & Answers] thardy00:
Hi!

I've been following this thread and everything gone fine. I converted to global, then did OTA and after that I've relocked my bootloader. Everything is okay but I would like to root my phone now. Hence I need to unlock bootloader again but old unlock code seems not working and I cannot get new unlock code via fastboot.

After trying with old unlock code (which I get when I was on Tmobile) I got this output:

fastboot flash cust-unlock unlock_code.bin

Sending 'cust-unlock' (0 KB) OKAY [ 0.013s]
Writing 'cust-unlock' FAILED (remote: 'Flashing is not allowed in Lock State')
fastboot: error: Command failed

After this failed attempt I thought that I will try to get a new unlock_code.bin from OnePlus but I've met another problemwhen I was trying to get unlock code which we need then paste on OnePlus site:

fastboot.exe oem get_unlock_code

FAILED (remote: 'Unknow command')
fastboot: error: Command failed

Any ideas what can I do right now to unlock bootloader once again :D ?

EDIT:

SOLUTION:

If someone will be in the same situation. You don't need to flash unlock_code.bin for another time. You just simply do:

fastboot oem unlock

and it's working as champ. Remember it will wipe your phone.
[Touch Diamond, MDA Compact IV Themes and Apps] zmob123:
Many times when you touch the screen on the home screen the clock gets pressed and the app pops up. I know that on a software I used there was a tweak to lock the clock on the today screen, but it was part of a larger software with options that don't apply. Does anyone know the registry tweak to block the clock app from launching on the today screen?
[Android Q&A, Help & Troubleshooting] neuros131:
hello,

i am using android 11 (xiaomi miui 12 )

i used the ES FILE EXPLORER app to encrypt .mp4 files

after that the file being encrypted and changed to .esloc file

but after a while the files get to disppear at all from the phone !! i search alot after the files but they tottaly dispear and cant find them.

i tried to encrypt another .mp4 files and the problem keeps and the files disppear and cant find them

please help if anyone have know where to find them and how to get them back
[Android Q&A, Help & Troubleshooting] Gianluk99:
Hey guys, as the title says, i am looking for some nice sound mods that work properly on a11, i already got Viper, but i remember when i used to have modded devices i had many installed at once like dolby ecc. all working fine together.

I searched a bit but some of these threads about sound mods are really confusing, so i just thought i'd come here to ask. Also i was wondering if AInur Sauron works for a11 too or it stops at a10 ?

Thx a lot :D
[Android Q&A, Help & Troubleshooting] Gianluk99:
Up.
[Android Head-Units] dazll:
This might be a stupid question (it probably is), but I was wondering if there was maybe a way to install Teyes software onto my Android 9 Aoonav PX6 unit (manufactured by JIUSCAN): https://www.aliexpress.com/item/1005002056004229.html

I would have loved to purchase a Teyes unit to begin with because I think there software / UI is second to none, but for my 2014 Infiniti QX70 options were extremely limited. The two options I had were the unit linked above, or one of the "tesla style" screens which are a little too showy for me and in my opinion overpower the interior.

The current software on my Aoonav unit, besides the odd typo and questionable interface choices, isn't too bad but it's very limited. One major thing I would like to have the option to change is to reprogram / relearn steering wheel buttons which despite checking the password protected advanced settings, there is no option to do so.

If flashing a Teyes rom is not an option for my PX6, is there some other sort of custom rom available with some more flexibility in terms of customization? If someone could shed some light on options, it would be really appreciated.