yashsingh1/xdaforums huggingface dataset:
[Huawei Mate 20 Pro Questions & Answers] gszych:
Hello

Is there an app, which can help me to check whether the bootloader is unlocked or locked?

Or what is the simplest way to check bootloader status?
[Huawei Mate 20 Pro Questions & Answers] oslo83:
Boot to fastboot/bootloader mode.

On huawei :

Hold VolumeDown key at boot before it vibrates WHILE with USB plugged in to PC.

If it shows 'Phone locked' that means bootloader is locked.
[Huawei Mate 20 Pro Questions & Answers] ubersapian:
Yes as soon as you turn phone on you would get that annoying huawei message saying that the phone is unlocked etc :)
[Huawei Mate 20 Pro Questions & Answers] gszych:
Messege can be probably erased. Maybe there is an app. Anybody knows?
[OnePlus 7 Pro Themes, Apps, and Mods] elmarian756:
Interesting! Has anyone tested this on pie? I am not moving yet to 10 until some things fully work there. But this seems good!
[OnePlus 7 Pro Themes, Apps, and Mods] gokhujee:
I just done it and it works in 4k u can use all three lens
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
I was going to try later tonight on Pie or tomorrow...depending on time.

What Android version?
[OnePlus 7 Pro Themes, Apps, and Mods] elmarian756:
Ok just tried this on pie. First, there is no such opcameraresources folder on system/priv app. (At least on pie OOS) I pasted the folder and replaced opcamera folder with the one provided on the OP. Gave the right permissions and Rebooted. And opcamera resources was gone and no video on other lenses tan main one. I dont know if system is erasing any changes i do somehow or this just doesnt work on pie. My two cents here
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
Thanks for trying! Is there an OnePlusCameraServices folder? Try this one with, again, 0755 permissions in the folder and 0644 on the apk

https://drive.google.com/open?id=1xZ-IsjwGp-hr6PSJ9dONQcU2oUkepzOW
[OnePlus 7 Pro Themes, Apps, and Mods] elmarian756:
Sure! It would be nice if it works on pie. There IS onepluscameraservicefolder. Replaced the folders, gave right permissions and rebooted. Unfortunately, still have no video on other than main lenses.

I have two theories and this could be because of my current setup.

One is that any changes i do on system gets reverted back after reboot. Dont know why but it happened to me before when i edited build.prop (maybe xxx roms fault or some other magisk module). Only changes that sticks are the ones that i use with magisk module (and build a magisk module for this mod wouldnt be much difficult).

Or two, maybe the apps does gets installed, but options will not show on pie.

I do know that if i download the camera apk and install it normally it will replace old stock app and stick after reboot. So i tried manually and normally installing the apks from your mod this way but i didnt notice any different results either.
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
Again, thanks for trying and feedback :D I'll try myself soon enough, but not tonight. I want to come back to Pie for RiCE mod anyway. I miss separation of ringtone and notification volumes :(
[OnePlus 7 Pro Themes, Apps, and Mods] elmarian756:
Yes and horizon lights tweaks, screen burn in protection! I am currently running rice and xXx. Elemental x. Xposed with xprivacylua for some games and gravitybox. Not leaving soon although it looks like everything is on the works of being ported to 10 (even gravitybox).

Please let us know if you make this work on pie. Really lookimg forward to test this.
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
I tried to port this to Pie earlier today and couldn't get it to go. One thing weird that I noticed (and possibly a reason why?) is that even though OB1's camera version is 3.8.62, Pie automatically installed v3.8.52. I don't even see how that possible. Furthermore, once I sideloaded v62 as a system app, I can't load it as a data app (could on 10.) At least I have RiCE and substratum's Swift Black back!!! I can't wait for these to get updated to 10!!!
[OnePlus 7 Pro Themes, Apps, and Mods] flash608:
Man, you've made my day (night to be precise) :) I was waiting for it to come!! This is how it should be done from the beginning.
[OnePlus 7 Pro Themes, Apps, and Mods] bmg1001:
I decided to make a Magisk Module with the files provided and it works great for me on OOS 10. Anyone else wanna try it out?

https://drive.google.com/open?id=1V4ylaYadCK16VWWKXXaJkjF6FcJlf0Nb
[OnePlus 7 Pro Themes, Apps, and Mods] Eagle-no1:
Downloaded and tested, works well :o

Thanks :)
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
Thanks so much for this!!! It will make an already simple installation so much faster!!! :D ;)

EDIT: I tried the module on Pie just to see if it would suddenly Magiskly work and, unfortunately, it did not :(
[OnePlus 7 Pro Themes, Apps, and Mods] tropical cactus:
Is it for AA or BA? I installed and rebooted but there's still no option for wide angle for 4k video. Cleared cam storage too.
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
If you're on Pie, this doesn't work. It's only for Open Beta 2 or stable 10
[OnePlus 7 Pro Themes, Apps, and Mods] mookiexl:
Props to you and the OP. Saved me asking for an end user comparison on stability
[OnePlus 7 Pro Themes, Apps, and Mods] tropical cactus:
Thanks. Sorry I didn't say. I'm on stable android 10. I've tried everything. I tried your files first. Didn't show up. Tried the magisk module. Didn't show up either. Rebooted and cleared camera storage. Still nothing. Very strange.
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
That's very strange. You're the first person that's ever said it doesn't work. Does dropping down to 1080p show all 3 lenses as it does normally? My suggestion to troubleshoot: Cut all 3 directories out of priv-app and back them up to the Downloads folder. Uninstall the Magisk module. Reboot. Install the Magisk module and reboot. See if that does it.
[OnePlus 7 Pro Themes, Apps, and Mods] tropical cactus:
All three lenses show in 1080p. Once I switch to 4k, I have one lense. I have reflashed rom, did what you suggested and still nothing. I've even uninstalled gcam. Nothing. I give up.
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
Ya, you're only getting OB2/Stable behavior from the software despite your best efforts. I'm sorry it didn't work out for you and thanks again for testing :good::highfive:
[OnePlus 7 Pro Themes, Apps, and Mods] Ldbrown01:
Downloaded the magisk module and it's working for me!?

Thanks!!
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
I've been informed on the OP forums that this version also has the super macro mode which is supposed to be exclusive to the 7T right now. If it works, then we probably know why this version was pulled from OB2/Stable. They want that mode to be exclusive to the 7T for a while. Can someone who has it installed please test? You can see it in action here: https://youtu.be/XRiUNPf-_-4?t=395
[OnePlus 7 Pro Themes, Apps, and Mods] Eagle-no1:
No macro mode, i remove magisk module and install manual mode your files no macro, nothing flower in up screen or enything else extra.
[OnePlus 7 Pro Themes, Apps, and Mods] Ldbrown01:
I believe I have found a bug. I believe it is with background play. Load up the video and make it full screen. Then without closing it hit pause and go to home.open up camera then change 4:1 ration then change to the a different setting. Hit home button and pull the drop-down and hit to the right of the close button like you are going back to Vanced and the phone just closes(black screen). You have to hold down power and volume up to boot the phone again. Pure stock rooted. Can anyone replicate this? Happens with or without the mod.
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
If it happens with or without the mod then it's a problem with Android 10 or one of other apps you're using to cause the problem. Check with the Vanced group or if there is an update to the app.

First, thanks Eagle for testing/verifying.

Second [MENTION=7328026]elmarian756[/MENTION] and all, I just tried for over 2 hours to get this working on Pie without success again trying multiple approaches. I have a new theory (shot in the dark?) on why this might not work on Pie, why there's no super macro mode. Eagle, I think this is a frameworks issue and I'd like to know if your file size is different and whether you're on OB2 or Stable. I've attached 9.5.11 file size as a screenshot. I love my 9.5.11 setup, but if your file size is different, I'll take one for the team and load OB1 again to see if that is different.
[OnePlus 7 Pro Themes, Apps, and Mods] elmarian756:
Well i am on 9.5.11 and this is what i have. Hope it helps!
[OnePlus 7 Pro Themes, Apps, and Mods] Eagle-no1:
My Framework info.
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
As expected, since we're both on 9.5.11 right now, we have the same file size and date

Your version is newer and ever so slightly bigger. Please upload this somewhere so I can test on 9.5.11. Since macro doesn't work for you, it won't fix that issue, but it might fix the installation issue for Pie (small chance, but a chance nonetheless.)
[OnePlus 7 Pro Themes, Apps, and Mods] Eagle-no1:
I use Android 10 if it matters.

The link is my framework file.

https://mega.nz/#!pWZR0SwY!DyG4MDnnEM7UtxIgCs0GfBK06cveGquBzGVmKYCj10g
[OnePlus 7 Pro Themes, Apps, and Mods] tropical cactus:
Confirmed. No flower icon.
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
Thanks so much for uploading this! I tried and I got stuck in a bootloop, so it was either nothing or everything..........back to the drawing board when I'm more awake....
[OnePlus 7 Pro Themes, Apps, and Mods] Eagle-no1:
And i go back 9.5.11.GM21BA Stock rom :angel::D
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
With all the bugs in 10 right now I can understand your revert back to Pie, but you're going to stay stock? No root/TWRP???
[OnePlus 7 Pro Themes, Apps, and Mods] Eagle-no1:
Root and twrp, root explorer and bloatware out :D
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
To all on XDA,

I'm looking to make a "super" APK or Magisk module to bring the working macro mode from version 3.8.13 with the 4K wide angle video recording of v3.8.62 (this thread) merged into the latest apk (v3.8.72.) I've spent the last week or so teaching myself how to tear apart apks, rebuild them, and sign them. Most of the gruntwork is done, but I've hit a wall. Please reply here or PM me if you're interested in collaborating. Of course, you'll get full credit for your work.

Doc
[OnePlus 7 Pro Themes, Apps, and Mods] elmarian756:
Count me in! I am on 10.0.1 because of your mod! What do you need?
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
Thanks for the offer! Do you know how to tear apart apks or build a Magisk module? Development is in early stages, so testing will come later.
[OnePlus 7 Pro Themes, Apps, and Mods] elmarian756:
Yes i am a recent learner bit i managed to create some modules using templates and decompiled gcams to swap libs and recompiled. I am no expert so i am not the fastest out there. I am still learning, so if something gets out of my knowledge i will tell you :cyclops:
[OnePlus 7 Pro Themes, Apps, and Mods] valeriee:
Anyway to get super macro mode working on 10?
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
Yes, use 3.8.13 apk: https://xdaforums.com/oneplus-7-pro/themes/camera-macro-mode-t3954319. But as you'll see and read in the thread, it's just best for use to use 10x zoom.

https://youtu.be/nkykHut4RMU
[OnePlus 7 Pro Themes, Apps, and Mods] valeriee:
I can't install that apk on 10... It just says app not installed....
[OnePlus 7 Pro Themes, Apps, and Mods] RazOne:
Hello! Sorry for offtopic but what font do you use?
[OnePlus 7 Pro Themes, Apps, and Mods] prajnay:
OB4 has support for 4k recording on ultra wide camera but not on telephoto camera
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
There's many Magisk modules with fonts. I use Google Product Sans.

Yup. I haven't tested it with the latest APK yet, but if you install this mod and then just sideload the latest apk, you might be able to keep the tele lens as well. It worked on 3.8.71....don't think I tried .72.

Well, I had an expert apk modifier tell me that what I'm trying to do is impossible. He seemed quite rushed and quickly dismissed it, so I'm looking for a second opinion at the moment. You're welcome to find me on Telegram under the same name and PM me. I'll invite you to the group chat and can see where we went :D
[OnePlus 7 Pro Themes, Apps, and Mods] elmarian756:
I was able to run 60fps 4k on tele and wide lenses, macro (with hdr and flash??) All in the same app. It is buggy and crashes a lot, but it is interesting. Not sure if some settings say it works but just doesnt. And super steady its broken. Will analize the videos and photos later to check quality.

Edit: 4k60fps works and also lets you switch between lenses while recording!!

i am trying to upload a screen record but xda app is killing me lol

Please tell me if you can see the recording here

https://photos.app.goo.gl/n3MszDBjGh4SpdYe8
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
Verified still working on 10.0.2. Thread title changed.
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
As most of you know, I've been working to unlock the 7T features that were on the OOS camera at one point or another in various builds. I've been working with four other guys for weeks on this and, it will seem like I'm announcing a day early, I can't contain myself from spreading the word!! :D

OOS camera v3.8.13 was the only version that had a working macro mode for OP7P. OOS camera version 3.8.52 was the only version that had 4K video recording on all three sensors. With a Magisk module to be released tomorrow (barring unforeseen critical build errors), nearly two month's of work will unlock:

Screen 1: Macro mode on telephoto lens

Screen 2: Macro mode on wide angle lens (not even available for 7T)

Screen 3: 4K video recording for telephoto lens brought back (also works for wide angle)

Screen 4: 4K 60 FPS video recording on main sensor retained

We tried to implement these features via APK only and it wasn't possible for us so, like I said before, unfortunately, this will require root and be in a Magisk module. I'd like to give thanks to the rest of the dev team: Mariano Martin who provided the breakthrough to put this together in the last 24 hrs, Luffitys and Amer Alrakik (main two APK modders who don't even own the phone :p), and Lord Vicky (Magisk Module creator.) This was just an idea in my head out of frustration of being locked out of features I knew worked and these gents put it together!!! :cool::cool::cool::cool:
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
No, that is the original port that this thread is made on. It is the basis for the new mod. The first attempt at a Magisk Module failed, but he knows how to script fix it. It's just going to take some time which he didn't have time for today. Expect release in the next 24-48 hours barring any unplanned critical bugs. I will edit the thread title and OP when it's ready ;)
[OnePlus 7 Pro Themes, Apps, and Mods] elmarian756:
Hi! I am mariano martin (i have a different username here on xda) and i like to thank all the people involved on this project, it has been fun to work on!

A few explainers regarding macro mode on the upcoming mod for the curious ones and to avoid confusions:

When using macro mode, if you choose 0.6 x 1x or 2x zoom will always be using the wide angle lens so the effect is achieved.

How does it work? Wide angle lens has the focal capacity of getting real close to an object without loosing its focus. A bit more than the standard lens. That is why is you zoom in normal mode you get also a "macro" effect. But there is a catch. Normal main lens zoomed will cause a big natural backgroud blur wich in most macro shots ruins the picture (blur effect because of focal and huge pixel size)

wide lens and macro mode will completely skip that. And with wide lens you can get a biiit closer to the object (i believe that in T series this is improved by hardware, allowing you to get a bit closer, a T series user can confirm this, will help us know a bit more).

So to sum up this. On normal mode (no macro) when you normally zoom on camera, on 3x will switch to telephoto, but if it detects a really close object will use main sensor to not lose focus. (Same happens if it is too dark)

many people think that you zoom in pass 3x and bum, macro with telephoto. but it is just jumping to main lens with 3x or more zoom (you can check that by covering the lenses)

Now if you switch macro mode, it will use wide angle lens and you can zoom in up to 2x. You will be able to get a bit closer to object and zero backgroud blur. Will upload two pics to show the difference.

The picture with the backgroud blur is taken with no macro mode, normal zoom in, telephoto will try to focus and when it fails, it will switch to main sensor with digital zoom. Check how the blurring is caused on the leaves.

The orher picture has been taken with macro mode. The leaves are not blurry and i could get my phone closer to the flower to capture the pic.
[OnePlus 7 Pro Themes, Apps, and Mods] Akhayev:
I can't wait for the magisk module :)
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
The Magisk module is proving to be.....errrrrr, what's a word I can post?.....challenging than expected. I'll be the first to admit that I don't know the first thing about making a Magisk module, so I called in an expert to do so. I didn't realize I was going to be asking him to do something that is rarely/has never been done before.

Regardless of what happens with the success (or lack thereof) of the Magisk module, I'll be releasing the manual installation no later than Wednesday evening, USA time, so that people can take cool pics and videos with their new camera features for Thanksgiving. Gobble gobble!!! :cool:
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
It's apparent that the Magisk module is not going to happen. I'd like to thank Luffitys and Amer Alrakik on Telegram for first looking into modifying the apk to make the camera edits. When this failed, I'd like to thank [MENTION=7328026]elmarian756[/MENTION] to the Preference Manager app. He showed me it's as simple as editing .xmls in. By editing the .xmls in here, you can modify nearly every core feature of the cameras. I'd also like to thank Lord Vicky on Telegram for his hard work trying to make the Magisk module. Thanks to [MENTION=4860033]Arnova8G2[/MENTION], we know which camera is which:

Camera ID 0: Back >>> Physical

Camera ID 1: Front >>> Physical

Camera ID 2: Telephoto >>> Physical

Camera ID 3: Wide >>> Physical

Camera ID 4: Telephoto >>> Logical better

Camera ID 5: Front >> Logical better

By editing these xmls, you'll be able to edit many core features of the OOS camera. So here goes the manual installation. It will still require root:

1) If you want 4K vid recording on all 3 sensors, delete any apk in system\priv-app\OnePlusCamera and put in a blank text document in the folder and name it whatever you want. This will remove the OP camera as a system app and reboot. You can then install v52 as a data (user) app: https://www.apkmirror.com/?post_type=app_release&searchtype=apk&s=oneplus+camera

2) Launch the camera app so it will create the shared_prefs folder with the default .xmls in it

3) Download the attached .xmls and replace the default ones in \data\data\com.oneplus.camera\shared_prefs

4) Force stop the camera app and delete its cache (not storage) for new settings to come into effect.

5) Enjoy!

v13 of the camera app is the only version that 4K60 FPS video recording can be enabled on all three sensors. The version of the app crashes a lot in this mode and why I recommend v52 without 60 FPS. I'm not sure what version it starts, but you entirely lose the ability to record video with the telephoto sensor. This is built into the apk and can not be unlocked with an xml edit, as far as I know. Macro mode works all the way up to newest (v77) apk. I believe v13 is the only version where Super Steady mode can be enabled for the telephoto lens as well as the wide angle.

I'm sure there's many combinations that I've missed, but here's what in these edits:

1) Macro mode for all three sensors (this is not even possible for 7T series.)

2) 50x zoom. It gets wavy to hold around 30x, but I just wanted to match the current GCam level.

3) Super Steady mode for telephoto sensor (v13 only (I think))

I'm sure many of you will find new features and I encourage you to use the Preferences Manager app to edit things on the fly. Please share in the threads new things you discover!!!

Happy Thanksgiving,

Doc
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
I'm pretty sure 4k 60 FPS should only work on the front camera in v77, no? What messaging app has the stripe? I'll try to reproduce it. It's 50x zoom and if you switched from v52 to v77, then the APK will reset to the default xmls. You're going to have replace with the new ones on v77 in order to have the new features.
[OnePlus 7 Pro Themes, Apps, and Mods] TotallyAnxious:
That's because the XMLs you have are not compatible with newer camera apks. But you refused the module I made for you.

Do a diff of the XML you have and of a newer camera apks XML files form data. Dynamic patching is better than replacing.
[OnePlus 7 Pro Themes, Apps, and Mods] joseangel.alv:
Would you mind to share your Magisk module?

(For learning purposes. I'm completely new to Magisk mods, but not to Android, sed, or awk) ;)

Thanks!
[OnePlus 7 Pro Themes, Apps, and Mods] Maddinuser:
Whatever I do, my camera does not have the switch anymore between main Tele and wide.

How do I enable it again? Shared_prefs does not change anything. Also installing other versions or installing as user app...
[OnePlus 7 Pro Themes, Apps, and Mods] ayamaya2187:
Late reply, but I managed to enable all 3 lenses by systemizing the app. However, I still can't switch lenses once I start recording, so I gave up.
[OnePlus 7 Pro Themes, Apps, and Mods] TotallyAnxious:
5 is the 'logical' back camera. Some numbers below and advertised numbers won't match, OnePlus did some misleading math to get to certain values. But like technically kind of still true I guess

If you actually look at the CameraInfo_5.xml

Sensor physical size - 6.4.x4.8

Focal length - 4.755

Flash type - Normal

Lens facing - 1

Sensor pixel size - 4000x3000

And if you look at the (front) CameraInfo_1.xml

Sensor physical size - 4.656x3.496

Focal length - 3.45

Flash type - Screen

Lens facing - 0

Sensor pixel size - 4656x3496

And if you also look at the (back) CameraInfo_0.xml

Sensor physical size - 6.4.x4.8

Focal length - 4.755

Flash type - Normal

Lens facing - 1

Sensor pixel size - 4000x3000

You can verify that 'physical' and 'logic' are same for these values by comparing (telephoto 'physical') and (telephoto 'logical').

CameraInfo_2.xml

Sensor physical size - 4.208x3.12

Focal length - 6.95

Flash type - Normal

Lens facing - 1

Sensor pixel size - 4208x3120

CameraInfo_4.xml

Sensor physical size - 4.208x3.12

Focal length - 6.95

Flash type - Normal

Lens facing - 1

Sensor pixel size - 4208x3120

And just for posterity (wide) CameraInfo3.xml

Sensor physical size - 4.656x3.496

Focal length - 2.25

Flash type - Normal

Lens facing - 1

Sensor pixel size - 4656x3496
[OnePlus 7 Pro Themes, Apps, and Mods] Mervingio:
In for this later
[OnePlus 7 Pro Themes, Apps, and Mods] docnok63:
I got this info from [MENTION=4860033]Arnova8G2[/MENTION]'s post on Telegram. If you believe it's invalid, take it up with him.
[OnePlus 7 Pro Themes, Apps, and Mods] TotallyAnxious:
The information I posted shows camera 5 is the back logical. Why would the front and telephoto have logic? The front camera can't even zoom lol

The back and telephoto camera are the only 2 cameras that have 'pixel binning' of some kind and are set up to work interchangeably while zooming.

You don't just dismiss or make/claims without information to back them up.

The front camera doesn't have a pixel sensor size of 4000x3000 and isn't rear facing...

So you're saying 4000x3000 = 4656x3496?

Yet you enabled 720p960fps by editing a file you claim is for the front camera. Which is actually just 720p480fps with fps doubled via motion interpolation.