yashsingh1/xdaforums huggingface dataset:
[LG V30 Guides, News, & Discussion] svg1234:
Thank you. Yes, I had read that.

In my case, because I followed the Canadian guide linked in my original post, that's exactly what had been done. Nougat 10d -> Oreo 20i -> LOS16 Pie. It could very well be an issue specific to that LOS rom.

When looking over the logs and watching the processes in realtime, in addition to doing a lot of other investigation (with my limited tools/resources), it seems that "something" that is normally there on startup is absent, and then an alternative route and configuration is taken for camera setup. Without those permissions, it pukes around the part where it is trying to configure the three different camera sensors. Why else would there be a need for additional permissions (assuming relevant sepolicy rules are the same versus stock), and why else would those additional permissions make the difference? There's no system camera app in this rom (unlike other LOS roms). You can see what looks like orphaned "camera code" in /system.

You get this over and over without permissive or adding specific rules (see OP).

03-06 08:21:27.668 0 0 I init : Service 'vendor.camera-provider-2-4' (pid 2462) exited with status 1
03-06 08:21:27.668 0 0 I init : Sending signal 9 to service 'vendor.camera-provider-2-4' (pid 2462) process group...
03-06 08:21:27.668 0 0 I libprocessgroup: Successfully killed process cgroup uid 1047 pid 2462 in 0ms
03-06 08:21:27.669 0 0 I init : starting service 'vendor.camera-provider-2-4'...

An interesting page on android camera framework:

https://programmer.ink/think/camera-android-camera2-hal3-framework-analysis.html

Given the idiosyncracies of this phone (versus my OP6 or other phones), I'm somewhat hesitant to test a bunch of different ROMs (stock and custom) to gain more insight. But perhaps when I have adequate time I'll do more digging. I'd like to compare the sepolicy files as well as a number of other things (e.g. "blobs"). If I find anything interesting, I will post it.

BTW, it's not just the camera issue that needed to be taken care of. There are other services that (most likely unbeknownst to the users of the rom) are caught in a kill/restart loop (battery, audio,...). Adding specific permissions resolved those issues as well.
[LG V30 Guides, News, & Discussion] svg1234:
Upon inspection of sepolicy of a few of the ROMs in question.

Stock Nougat 998 10d:

allow sensors sensors : capability { chown [B]dac_override[/B] dac_read_search fowner setgid setuid net_bind_service net_raw } ;

Stock Oreo 933 20i:

allow sensors sensors : capability { chown [B]dac_override[/B] dac_read_search fowner setgid setuid net_bind_service net_raw } ;

Stock Pie 933 20k:

allow sensors sensors : capability { chown fowner setgid setuid net_bind_service net_raw } ;

Interesting.
[LG V30 Guides, News, & Discussion] OrbitronX:
This is brilliant work, congrats :)

You mentioned other services that need permissions. Care to share those as well?

Thanks.

*Edit*

I did manage to return to the state it was before flashing stock pie.

I did a full backup in twrp (especially efs), then I used chip erase on lgup and flashed "H93022j_00_OPEN_EU_OP_0403.kdz" and then I restored efs (chip erase deletes ALL partitions including efs where imei and serial number are stored, that's why an efs backup is essential).

Now I'm using enforcing and everything seems to work.

Be careful though, chip erase is VERY dangerous.
[LG V30 Guides, News, & Discussion] lebigmac:
Hi thanks for this awesome tutorial (y)

I'm not very familiar with sepolicy-inject

Could you please tell me how to translate these avc errors into an ALLOW rule for bypassing that annoying "permission denied" message as shell user? Thanks! (y)

mount : type=1400 audit(0.0:645): avc: denied { dac_override } for capability=1 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
mount : type=1400 audit(0.0:646): avc: denied { dac_read_search } for capability=2 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
mount : type=1400 audit(0.0:647): avc: denied { mounton } for path="/system" dev="dm-0" ino=2 scontext=u:r:shell:s0 tcontext=u:object_r:system_file:s0 tclass=dir permissive=0
mount : type=1400 audit(0.0:648): avc: denied { read } for name="dm-0" dev="tmpfs" ino=20822 scontext=u:r:shell:s0 tcontext=u:object_r:dm_device:s0 tclass=blk_file permissive=0

cat : type=1400 audit(0.0:755): avc: denied { syslog } for capability=34 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability2 permissive=0
cat : type=1400 audit(0.0:756): avc: denied { sys_admin } for capability=21 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
[Android Q&A, Help & Troubleshooting] Vinod41:
Hello,

Is there any possibility to increase Camera shutter speed to 16 seconds or 30 seconds for Moto G5s Plus (India).

Running Android Oreo 8.1.0

API 2 support: Level 3 available. (But max shutter speed goes to 1/4s in stock camera and another app it goes to 1/3s.

-V
[Android Q&A, Help & Troubleshooting] Vinod41:
G5s Plus 16s - 32s camera shutter, possible?

Guys,

anyone, any idea?

If after rooting camera shutter can be customized or support open camera or other camera app?

I see some gcam apks, but unsure if shutter speed can be increase or not? (Is there any possibility to increase Camera shutter speed to 16 seconds or 30 seconds)?

If yes, please share some info.
[Huawei MediaPad M5  Questions & Answers] niwes:
Hej folks:cowboy:

i took a long break in the root sector

and probably took it a little rushed

and I hope it is not too late to save the M5 8.4 LTE ...:confused:

I had installed Root with magist for about 3 years and never changed anything, now I no longer need the tablet and want back to stock,

I have re´locked the bootloader and wanted to restore stock via recovery ...

the formating worked well but since then i only have 3 menus and no way to get access anymore

does anyone have an idea ´or is the good piece gone?

....................................here 4 Pics with the 4 menu

(im to young on this forum with 8years membership i cant post pics.... nice:confused:)

thanks for help :angel:
[Huawei MediaPad M5  Questions & Answers] niwes:
has nobody an idea:(
[Huawei MediaPad M5  Questions & Answers] dazzadavadaski:
its been years since ive messed about with all this, but i seem to remember a lady made a small program on windows using python to reaccess the device to unlockand relock the boogloader with brootforce. i carnt post urls but its in the first few pages of a google srarch hope this helps a bit
[Huawei MediaPad M5  Questions & Answers] niwes:
Thanks for the answer :)

I haven't read anything about it until now, I only found one page on gitHub that is from BaumFX but i havent tested

Is what you mean in general for android or explicitly for the M5?
[Huawei MediaPad M5  Questions & Answers] tensux:
assuming you tried hisuite already?
[Huawei MediaPad M5  Questions & Answers] niwes:
yes i tested before

HiSuite say "this device cant be restored over HiSuite" :rolleyes:
[Huawei MediaPad M5  Questions & Answers] tensux:
i had the same issue with my wifi version, was able to push stock recovery using adb commands, then restore thru recovery, but i had not of course relocked the bootloader
[Huawei MediaPad M5  Questions & Answers] DonovanG03:
I just had a dude unlock my bootloader two days ago for the SHT-AL09. It was 30$ though.
[Huawei MediaPad M5  Questions & Answers] catelusii:
Please, more info bout this dude. How can I contact him?
[Huawei MediaPad M5  Questions & Answers] DonovanG03:
ministryofsolutions. 30$ Don't know how long he will be doing it for. He can do the latest firmware and it takes about 2 hours. Then if you're like me you'll spend the next 3 days trying to get twrp and root installed. It's a pain in the ass for the Sht-Al09. Chinese version on Asian firmware. You're going to want to keep backups as you will most likey brick your device several times Like I did. Or use the erecovery feature. I love this device.
[Huawei MediaPad M5  Questions & Answers] niwes:
sorry but i don't understand anything in this post

i try my luck at the local phone stations

maybe someone can help me there , everything I do goes wrong with the M5:rolleyes:
[Huawei MediaPad M5  Questions & Answers] karlkluwe001:
did you tried the tespoint method?

https://xdaforums.com/mediapad-m5/how-to/downgrade-unbrick-huawei-device-methods-t3915693

it requires u to physically remove the lcd screen( isn't that difficult)
[Huawei MediaPad M5  Questions & Answers] niwes:
hmm interesting

thanks ... but i can´t find the right files for my tablet on easy-firmware

do I get the name of the board ,after opening?
[Huawei MediaPad M5  Questions & Answers] karlkluwe001:
if u have the m5 8,4 lte your model name is SHT-W09, as shown here

https://www.gsmarena.com/huawei_mediapad_m5_8-9092.php

board software

https://easy-firmware.com/index.php?a=downloads&b=folder&id=34131

it maybe available somewhere else -here of course

https://androidhost.ru/search.html and https://androidfilehost.com are good starting points

though it is possible that they are all behind paywalls like easy firmware

searching for board software u have to alter the names like:

SHT-AL09-BD

SHT-AL09 board software

schubert -AL09-BD

schubert is the internal name for 8,4 version where as cameron is the name for mine, the 10 inch one

if u're finding and flashing your don't erease nvme and oem.

Otherwise u have to do a "cdma rewrite" via "HCU client" or manually edit your nvme via hex-editor, because u lost the serial number and imei

pm me for discord in case u need advise during the process

and yes after opening the model name is printed on back cover
[Xiaomi Mi A3 Questions & Answers] Sami Devo:
Hello !

For many issues i left Android 10 , issues like battery drain , camera, proximity sensor issue , network issue, restart issue.

Big question will there be a stable Android 10 ultimately??? ?

If then when?
[Xiaomi Mi A3 Questions & Answers] _mysiak_:
I have two EU Mi A3 phones on Android 10 (one fully stock, second one rooted). There is no battery drain, no network issue, no random restarts. The latest June update (not available for global yet) fixed also camera and "generic" memory leak issue (or at least it's not that visible anymore). The only remaining issue is that Chrome sometimes freezes during browsing, but that could be due to the app itself.

Long story short, A10 is already as stable as A9 was.
[Xiaomi Mi A3 Questions & Answers] coremania:
Yes, same here, full stock global unrooted, no big issues.

You can use brave browser, no ads and no freezes ;)
[Xiaomi Mi A3 Questions & Answers] eric2:
Here the situation is totally different.

I have owned 2 Mi A3 phones.

Both were upgraded to A10 (Evolution X with root). While one was stable, the other suffered from automatic reboots when the screen is locked (usually when I'm asleep) or while unlocking the screen.

Both were originally European versions of the phone, but the custom A10 ROM may have installed a global firmware/vendor.

The stable one I gave to my sister and she's still using and upgrading it without problems.

I kept the unstable one for myself and I've tried to repair or at least find out why it reboots by installing different ROMs (crDroid and Evolution X) and different kernels (Bit and Fenix) but so far I've not been able to solve the issue. I've looked at the logcat and even send the logcat to the developer of some custom ROMs.

I suspect that the reboot happened because of the phone activating itself to look for new messages in the background (while the screen is locked). Maybe the phone was switching between different sleep/active states. The reason I suspect this is because I've seen at least once that the reboot happened around the same time that I see in the logfile of my WiFi access point that this phone is having some internet traffic.

Sadly I don't have the right skills to develop my own custom ROM, but if someone with these skills is reading: If you have time, please make a custom ROM based on A9 with signature spoofing and root. I was still using Kitkat a half year ago, so I'm not in a hurry to use A10 or 11.

Update:

I've just read some one suspect that the reboot is caused by the phone trying to adjust the brightness because he was walking out of a building when the reboot happened... so maybe in my case it was the phone (while the screen is off and locked) is receiving a new message and trying to turn on the screen to show the notification.
[Xiaomi Mi A3 Questions & Answers] Sami Devo:
Well guys there is new disgusting problem faced by me also by many ..

Screen goes off after call , it doesn't alive untill the other person hangs.

We r here mostly use global version.

Facing many bugs!!

Like restart problem!!

Sensor problem..

Battery not stable..!

MI A3 still they didn't declared STABLE 10.

SO I AM WAITING WITH MY GLOBAL VERSION..
[Xiaomi Mi A3 Questions & Answers] Sami Devo:
Yes EU iz most stable ?but still not stable A10
[Xiaomi Mi A3 Questions & Answers] Sami Devo:
Well thats definitely big concerns.. however.. a10 is just out for this device in may update! So waiting for more fixes !

I think dev. Should concern about the feedbacks and bugs..

Not worth to use like this..

I am not ROM developer i have seen only miui11 Working for a9 but i dont like miui at all..

I dont think anyone will make rom for a9. Coz its very irritating work to rollback !

I only like stock rom!

Am just waiting for PIXEL EXPERIENCE..

The rom u use Evolution X has not good camera. Like stock..

I want 99%✓✓ ok custom like stock..
[Touch Diamond, MDA Compact IV General] me1235:
Hello,

I've been very happy with

http://www.nsonic-net.de/index.php?option=content&task=view&id=265&Itemid=52

on my old MDAc. I used to have two icons on the today screen, one to click for max. bright and one for a rather low setting.

Is there any way to implement this on the diamond? (I did search this forum to some extend for answers and installed the above app to no avail.)

Thanks for your help.:cool::rolleyes:

matthias
[Touch Diamond, MDA Compact IV General] ZeuBug:
It's interesting me too! :)

The new spb mobile shell beta has corrected the backlight icon bug... HTC give us a lot of work with their news features!!!:mad:
[Samsung Galaxy Tab S6 Questions & Answers] jhill110:
Anybody have any ideas.
[Samsung Galaxy Tab S6 Questions & Answers] jhill110:
Opps
[Samsung Galaxy Tab S6 Questions & Answers] bartleby999:
Do you have EdXposed installed? Newest version tripped Safety Net for me - Uninstalling it returned Safety Net to True.

I saw mentions of a module for EdXposed called "Hidden Core" supposedly able to turn Safety Net back to True, but I've yet to flash it since I haven't been missing Xposed. Might be worth you trying.
[Samsung Galaxy Tab S6 Questions & Answers] jhill110:
I saw a partition called VENDOR in TWRP... Any idea what it is?
[Samsung Galaxy Tab S6 Questions & Answers] bartleby999:
I think Vendor is related to the OEM of your device - So in this case I guess stock Samsung stuff concerning software and hardware specifically for the Tab S6. Probably best to avoid messing with it.
[Samsung Galaxy Tab S6 Questions & Answers] jhill110:
So, should I include it in my back-ups?

When I do a wipe should I include it?
[Samsung Galaxy Tab S6 Questions & Answers] bartleby999:
No. Just leave TWRP's default, it's usually all you'll ever need.
[MTCD Software Development] marchnz:
...placeholder...
[MTCD Software Development] Harsesis:
In the other rom thread people reported black screens when trying to upgrade. I had the same issue. I used 2 SD Cards to successfully upgrade from Android 8 to 10.

With card 1: I created a SDCard using Rockchip SDcard create tool with the following ROM https://yadi.sk/d/umCvHqCDzHccr/RockChip PX5 Android 10/CHS .

With card 2: I followed the instructions from [https://xdaforums.com/showpost.php?p=79513558&postcount=2] section a) until point 10 / the video https://www.youtube.com/watch?reload=9&v=EhEdeD5RICk until 2:55. I then put SD Card 1 into the HU and pressed reboot in recovery. I then saw the Android 10 update screen. It took about 30 minutes to update, it then booted into Android 10.

The rom seems buggy. I'm not sure if its the upgrade method or the rom itself. I'l try to flash a different android 10 rom to see if it works any better. Worst case I can flash to Android 9 using card 1 / Malaysk ROM.

Hope this makes sense.
[MTCD Software Development] Nhokas:
Did you got the rom from here?

https://disk.yandex.ru/d/umCvHqCDzHccr/RockChip PX6 Android 10/HCT

Enviado do meu iPhone usando o Tapatalk
[MTCD Software Development] Harsesis:
I already posted which ROM I used. Not sure if it's special or you can use any Android 10 IMG file.
[MTCD Software Development] alt.d4c:
I have MD725 BT module, i think is type 1, never had problem with bluetooth before, from android 6, 8 and 9, and now with A10 is broken. Tried 3 different rom. So replace with what? I will downgrade to A9.
[MTCD Software Development] jamal2367:
There will be no way to get this module to run on Android 10. The best thing would be to replace the module.
[MTCD Software Development] zeyret:
A10 recognizes the MD725 module as BC6 but does not establish a connection.
[MTCD Software Development] alt.d4c:
I will try all the options listed in factory settings.
[MTCD Software Development] Clandaries:
I installed A10 with the Boot-SD method, like i did with A6 and so on.

But it did not work like it has to. You have to manually go to the recovery. Inser the SD-card and then press reboot to sytem.

After that the install begun.

Now i am looking for a way to root A10.

Regards
[MTCD Software Development] marchnz:
How was that identified? Do you mean if you set the module in factory settings to bc6? Or is that the output of a logcat/dmesg?

Could someone with a md725 type1 kindly export and attach dmesg and logcat from their android 10 upgrade?

I can then take a look and try to figure out what's going on. Really wish I had a second unit to mess around on, so I can try and figure out potential mods etc to fix this md725 problem.

I figured out the hardware mod to get working md725 on Android 6 on...but haven't had anyone willing to donate hardware (need a headunit, even without a SOM)
[MTCD Software Development] ric69:
Hello thank you for this thread.

Just to be clear, flashing from sdcard an OTA file from android9 to android10 (without hal9k modinstaller) will result bootloop because recovery and bootloader are different ? am I right ? (I always did it with modinstaller)

Also what I did not know is flashing .IMG file will change bootloader and recovery with sdcard tool ?
[MTCD Software Development] Clandaries:
You need the img file not the OTA
[MTCD Software Development] zeyret:
Android 10 Bluetooth MD725

Hi [MENTION=4974080]marchnz[/MENTION]

Bluetooth MD725 and WQ_BC6 logcat / dmesg
[MTCD Software Development] graycorgi:
I have Dasaita MAX6. I am trying to do SD Card upgrade method. With both 16GB SD and 4GB SD card, when I reboot from recovery, I just get black screen. Has anyone with Max6 gotten this to work? If so, what exactly were the steps followed and files used? I am trying to use this IMG: https://docviewer.yandex.ru/view/0/...wODEyNDcsInl1IjoiOTQ0OTU5NzE3MTU5MzUyOTkyOCJ9
[MTCD Software Development] zeyret:
Use 8GB or less SD card.
[MTCD Software Development] graycorgi:
I did, I tried using a 4GB as stated. I did get it to work though. Used a different computer with a different SD card reader.
[MTCD Software Development] marchnz:
Hi, could you check the files - looks like these are all the same 1 kilobyte file - a MCU Configuration export - and not the actual logs
[MTCD Software Development] Clandaries:
In my case, i have a 10,1 inch MAX6

This one has a GPS card slot behind the screen but in my case this is a fake GPS card slot.

But i knew there is a sd-card slot at the side of the head unit hidden behind the sheet metal.

So i opened the head unit.

Then you have to make a boot sd-card, manually boot to recovery, insert the sd-card and then boot to system and the system update starts.
[MTCD Software Development] abogrhen:
so i have a question

there is img and ota files for PX6 on HCT folder

i will need the img file to do this

but can i use the ota afterward ?

and is HCT7 and HCT4 the same ?

https://i.imgur.com/fl8So7k.png
[MTCD Software Development] bbarnes1:
I used OTG to update my recovery using the px5 a9 image in preparation for hal9k. I had to erase flash, but then it flashed the image. It booted to a9 recovery once.

Now it just black screens on power up and windows can't see it, can't get to recovery. Whoops. Now what
[MTCD Software Development] marchnz:
Thought about flashing the entire Android 9 .img and then the OTA you want?
[MTCD Software Development] bbarnes1:
Id be happy to try, but I can get back to recovery or a state that my PC recognizes the head unit
[MTCD Software Development] marchnz:
That's what MASKROM guarantees.
[MTCD Software Development] bbarnes1:
How do you mean? I can use maskrom to get it back to a known state.
[MTCD Software Development] bbarnes1:
Ok. I was finally able to get back to maskrom. I then used OTG upgrade to get a stock android 10 image loaded (could find 9). It looks to be working.

Sure wish fastboot was accessible in recovery like a phone so I could just boot customer recoveries.
[MTCD Software Development] marchnz:
MASKROM - always recover, yes, unless there is some sort of hardware damage, such as dead chips.
[MTCD Software Development] luix81:
[FIXED] A. SDcard Method: Black Screen rebooting with SDCard made with SDDiskTool.​

It worked for my px5 KSP updated to Android 9 with Hal9k mod v4. ¿ @marchnz Can you link this solution?

I think the root problem is the upgrade tool or the rom of Android 9 (Hal9k_Mod_3.x_upgrade_to_Android_9.0)

* Use your version files px3/px5/px6

Downgrade to Android 8:

1a. Flash the recovery with SDDiskTool_v1.69, the file: Hal9k_Mod_3.x_upgrade_to_Android_8.0 (replace sdupdate.img with the zipped one)

1b. Reboot with the SDCard, and in Android 8 Recovery, Flash Android 8 OTA

(from Yandex Disk, I used KSP_PX5_8.0_ota(20180418))

Update to Android 10:

- Flash with SDDiskTool Android 10 img file (from Yandex Disk, I used CHS7_PX5_10.0_IMG(20200603).zip, not use PX5_A10_IGV.img).

- Reboot with this SDCard and update to Android 10.

Other updates:

Now you can install other Android 10 updates with the normal method (update.zip).

Source Solution here from @m33ts4k0z
[MTCD Software Development] Monolithus:
So I'm tryign to flash A8 Recovery from your steps but I have error. I put SD Card in GPS slot, reboot and then this:
[MTCD Software Development] luix81:
This is normal, you have to wait, after that screen, the recovery starts.
[MTCD Software Development] domofra:
I've installed Android 8, but when I put the SD with the image of Android 10, the screen remains black on restart and does nothing. I have changed cards, done a thousand times and nothing. It is impossible.
[MTCD Software Development] marchnz:
Otg
[MTCD Software Development] supermax:
so, you ware able to install from SD but only the downgrade to 8?
[MTCD Software Development] domofra:
In the end with this method I did it at once. At first it gave me an error with a couple of cards, until the third one already worked and with a single step, I installed A10.
[MTCD Software Development] domofra:
I was only able to get to install Oreo. The image with Android 10 was impossible for me to install. I tried 4 different cards and nothing.
[MTCD Software Development] supermax:
have you tried also to install only the recovery for A10?
[MTCD Software Development] domofra:
Yes, but it didn't work for me either.