Enabling full camera2api support on A51 - Samsung Galaxy A51 Questions & Answers

Can anyone tell me if there is anyway to enable full camera2api on the a51 instead the current limited camera2api?
Someone told me that camera libs needed to be edited so if anyone has any idea about that pls lemme know.

The only way I know of being able to edit the api would be to root the phone. I know of no other way.

OldBob65+ said:
The only way I know of being able to edit the api would be to root the phone. I know of no other way.
Click to expand...
Click to collapse
What to do after rooting??? Changing the build.prop doesn't work.

I have rooted the phone and installed twrp what can i do to enable camera 2 api on a51.
I tried build.prop but it dosent work on this phone. any other solution ?

Related

DTS mod problem

Hello xda,
The DTS mod is turned off in settings but its still enabled , is.there any way to deactivate it ?
Marshmallow 6.0
TbiTw said:
Hello xda,
The DTS mod is turned off in settings but its still enabled , is.there any way to deactivate it ?
Marshmallow 6.0
Click to expand...
Click to collapse
If you connect headphones(earphones) it activates.
mishm said:
If you connect headphones(earphones) it activates.
Click to expand...
Click to collapse
thats the problem, i dont want it to happen...
TbiTw said:
thats the problem, i dont want it to happen...
Click to expand...
Click to collapse
I do not know another way
TbiTw said:
thats the problem, i dont want it to happen...
Click to expand...
Click to collapse
there is a way to disable it permanently by editing build prop if you want it I can help you.
miststudent2011 said:
there is a way to disable it permanently by editing build prop if you want it I can help you.
Click to expand...
Click to collapse
Dont do that bro . It wont hurt his phone whether its disabled it or not. This may lead to serious causes if disabled inappropriately
gopinaidu77 said:
Dont do that bro . It wont hurt his phone whether its disabled it or not. This may lead to serious causes if disabled inappropriately
Click to expand...
Click to collapse
No It wont as I modded my B596 ROM from P8 Lite and using it as a daily driver on my 4C.
If we do it in a proper manner there wont be any problem.
miststudent2011 said:
No It wont as I modded my B596 ROM from P8 Lite and using it as a daily driver on my 4C.
If we do it in a proper manner there wont be any problem.
Click to expand...
Click to collapse
U may be professional , but many here are still doing things experimental . As of me when ever i suggest a mod or anything. I preferably get files from them , i edit and make a flashable zip . This will make them have less experiments and working stuff
gopinaidu77 said:
U may be professional , but many here are still doing things experimental . As of me when ever i suggest a mod or anything. I preferably get files from them , i edit and make a flashable zip . This will make them have less experiments and working stuff
Click to expand...
Click to collapse
Dude are you kidding me?
Is editing build prop is more harder than flashing a zip file through twrp?
Its just alter a text or number .
And most importantly replacing stock build prop with customized one is causing bootloop but editing does not cause such issues for us.
miststudent2011 said:
Dude are you kidding me?
Is editing build prop is more harder than flashing a zip file through twrp?
Its just alter a text or number .
And most importantly replacing stock build prop with customized one is causing bootloop but editing does not cause such issues for us.
Click to expand...
Click to collapse
Well am not kidding bud .
Just edit a number is obviously easy . But if a line was mis spelled by mistake will not let the device to boot
However you can restore stock build prop file from backup.
Its not a matter of backup but it would better making a zip for a noob . Who knows ? He might dont even know to restore after bricking
But the problem with flash build prop zip.
It replaces current build prop file which is causing bootloop already tried to create a one but due to above problem discarded it.
But there is no such problem with editing build prop file. So preferred this method.
Alright bro . We will have to end this discussion :highfive:
Ya sure let's end here.

Redmi Note 5 Pro Stock Camera APK

Hi,
I was able to fetch APK file of Camera of Redmi Note 5 Pro, I was not rooted so I wasn't able to fetch library files and odex file.
But still I believe sharing is caring,
And some Devs might find it useful
I tried putting in system/priv-app/MiuiCamera, giving it permission rw-r-r, and after reboot it shows the app but force closes when tapped.
It won't be installed as normal APK ..
So just sharing it, it might help someone
Not Able to upload via XDA labs app, telling me network issue every time. So here is the,
Google Drive Link : https://drive.google.com/file/d/1v5bBrRnISL3x4ZdV5uqPzEQFiB5dUbL0/view?usp=drivesdk
Thanks
-The Tech Star
magicweapons said:
Hi,
I was able to fetch APK file of Camera of Redmi Note 5 Pro, I was not rooted so I wasn't able to fetch library files and odex file.
But still I believe sharing is caring,
And some Devs might find it useful
I tried putting in system/priv-app/MiuiCamera, giving it permission rw-r-r, and after reboot it shows the app but force closes when tapped.
It won't be installed as normal APK ..
So just sharing it, it might help someone
Not Able to upload via XDA labs app, telling me network issue every time. So here is the,
Google Drive Link : https://drive.google.com/file/d/1v5bBrRnISL3x4ZdV5uqPzEQFiB5dUbL0/view?usp=drivesdk
Thanks
-The Tech Star
Click to expand...
Click to collapse
Its never need to be rooted to get system dump . You can always fetch whole system partition through adb .check adb guides,so with any good file explorer ,there is nothing important available at data partition .so don't fool around here .
When you get handson of this device, Someone pls share the setup to replicate pixel/stock android system wide appearence without root.
Camlin3 said:
Its never need to be rooted to get system dump . You can always fetch whole system partition through adb .check adb guides,so with any good file explorer ,there is nothing important available at data partition .so don't fool around here .
Click to expand...
Click to collapse
Bro, Calm Down, Nobody is Fooling you here, I didn't had the device for a longer period of time, so in that little time I was able to fetch camera APK, why I did this? It's because its Version 2 of Miui Camera, older devices uses Version 1, and there is a lot of difference between them.
If the device would have been with me for much longer time I could fetch system dump through ADB or I could have rooted it and fetched everything, but as you know the device hasn't been sold yet, so what I did what I could have done.
Talking about fetching file with file explorer without root, Sorry it's not possible, Redmi Note 5 Pro uses Emulated partitions, so you can't just "SEE" root folders without root.
So keep Calm, and wait for the device to be sold and get it on hands to provide system files, in the little time, I did, what I could.
Thank you.
PS : I'm not Pro's like you guys, still I shared the camera APK having the Nooby Knowledge.
magicweapons said:
Bro, Calm Down, Nobody is Fooling you here, I didn't had the device for a longer period of time, so in that little time I was able to fetch camera APK, why I did this? It's because its Version 2 of Miui Camera, older devices uses Version 1, and there is a lot of difference between them.
If the device would have been with me for much longer time I could fetch system dump through ADB or I could have rooted it and fetched everything, but as you know the device hasn't been sold yet, so what I did what I could have done.
Talking about fetching file with file explorer without root, Sorry it's not possible, Redmi Note 5 Pro uses Emulated partitions, so you can't just "SEE" root folders without root.
So keep Calm, and wait for the device to be sold and get it on hands to provide system files, in the little time, I did, what I could.
Thank you.
PS : I'm not Pro's like you guys, still I shared the camera APK having the Nooby Knowledge.
Click to expand...
Click to collapse
Appreciate what u have done... Expecting more after u get the device:good:
Hey..im noob here can you tell me the procedure to extract camera apk from redmi note 5 pro.. i may get it in a day or 2.
Someone pls port this camera for other phones as well, as it has got portrait mode in front camera as well.
can we install this apk on lineage os and use portrait mode?
willi9070 said:
When you get handson of this device, Someone pls share the setup to replicate pixel/stock android system wide appearence without root.
Click to expand...
Click to collapse
I do have the device, if only you could guide me how to do the procedure.
iSirCasm said:
I do have the device, if only you could guide me how to do the procedure.
Click to expand...
Click to collapse
I don't know if they kept camera libs the same as the ones on old devices, but here's the list of the files needed (requires access to /system, so rooted device):
from /system/etc
the folder "device_features"
age_gender_bg
android_model_facea.dat
android_model_faceg.dat
face_goodly_***_***
face_ravishing_***_***
face_splendid_***_***
lf_facerank_model.bin
people_gender.dat
watermark_font_****_****.dat
from /system/priv-app
The folder "MiuiCamera"
If you (or anyone else) can, just try to pack them all together and upload them! That will be very helpful!
danypava said:
I don't know if they kept camera libs the same as the ones on old devices, but here's the list of the files needed (requires access to /system, so rooted device):
from /system/etc
the folder "device_features"
age_gender_bg
android_model_facea.dat
android_model_faceg.dat
face_goodly_***_***
face_ravishing_***_***
face_splendid_***_***
lf_facerank_model.bin
people_gender.dat
watermark_font_****_****.dat
from /system/priv-app
The folder "MiuiCamera"
If you (or anyone else) can, just try to pack them all together and upload them! That will be very helpful!
Click to expand...
Click to collapse
Sorry brother, but I have been unable to unlock the bootloader because of this stupid method to unlock BL by Xiaomi. All the Made in India variants are facing 86006 error because of which no one has been able to unlock and root, including me. Bugs have been raised and Xiaomi reported that their developers are working on it.
I hope someone with a rooted device reads this and tries to help.
Is it possible to port redmi note 5 pro's stock camera for other devices, like for redmi note 4?? as it got a good EIS and front portrait mode, will it work on mido??
App not installed on RR
rahulk096 said:
App not installed on RR
Click to expand...
Click to collapse
Same here. Though the app was installed but the camera goes black on opening. Thr camera UI is there but black screen. I'm on RR and could not get any other cameras working than Footej or the one included with my stock gapps
promiscuss said:
Same here. Though the app was installed but the camera goes black on opening. Thr camera UI is there but black screen. I'm on RR and could not get any other cameras working than Footej or the one included with my stock gapps
Click to expand...
Click to collapse
I m back on stock rom
rahulk096 said:
I m back on stock rom
Click to expand...
Click to collapse
On stock it will work like a charm after enabling Camera2API. Need to get this working on RR
not working in custom rom.
guys, is anyone rooted ?? if yes, please extract the required files so that this camera can be used in other phones too...
Goood
aneesh12 said:
guys, is anyone rooted ?? if yes, please extract the required files so that this camera can be used in other phones too...
Click to expand...
Click to collapse
My Phone is rooted, china/global ver
What file do you need? Maybe I can help

Wifi password recover

Hello guys . I have a problem with the app oreo wifi password . It shows a long lone of numbers and letters and not showing the password . Can anyone help me plz? I have a galaxy s8+ sm-g955fd on oreo rooted with magisk
awessyunus said:
Hello guys . I have a problem with the app oreo wifi password . It shows a long lone of numbers and letters and not showing the password . Can anyone help me plz? I have a galaxy s8+ sm-g955fd on oreo rooted with magisk
Click to expand...
Click to collapse
For Samsung phones, you need to open /system/build.prop file with a text editor and change the line ro.securestorage.support=true to false and reboot. Now your app shoould show actual passwords and not hex string.
prycem said:
For Samsung phones, you need to open /system/build.prop file with a text editor and change the line ro.securestorage.support=true to false and reboot. Now your app shoould show actual passwords and not hex string.
Click to expand...
Click to collapse
I cannot find that line in build.prop
ro.securestorage.support=true
awessyunus said:
I cannot find that line in build.prop
ro.securestorage.support=true
Click to expand...
Click to collapse
My S8+ not rooted so I can"t check, but that worked for my S7+ which is rooted. Sorry
You may want to try adding the line ro.securestorage support=false to the build prop. No guarantees here, and you will do so at your own risk.
prycem said:
My S8+ not rooted so I can"t check, but that worked for my S7+ which is rooted. Sorry
You may want to try adding the line ro.securestorage support=false to the build prop. No guarantees here, and you will do so at your own risk.
Click to expand...
Click to collapse
Lemme try that thanks
awessyunus said:
Lemme try that thanks
Click to expand...
Click to collapse
Tried it didnt work . Seems its encrypted differently in s8+ than in s7 edge . Any help plzz i really like seeing the passwords ? :crying:
I use this application it works for me and shows my passwords normal ( Samsung Galaxy S8+)
https://play.google.com/store/apps/details?id=com.simonedev.wifipassword
mtawolf said:
I use this application it works for me and shows my passwords normal ( Samsung Galaxy S8+)
https://play.google.com/store/apps/details?id=com.simonedev.wifipassword
Click to expand...
Click to collapse
Its not working for me it's showing just a long string of numbers and letters
Are u on stock or ?
No, i am on a custom rom ( Alexis 4.4) rooted off course.
are you on stock rom or a custom rom? because every rom what has root acces can use the application that i shared maybe something didn't go well on your part?
mtawolf said:
No, i am on a custom rom ( Alexis 4.4) rooted off course.
are you on stock rom or a custom rom? because every rom what has root acces can use the application that i shared maybe something didn't go well on your part?
Click to expand...
Click to collapse
I am on stock rom oreo 8.0 rooted with magisk maybe thats the problem?
Prycem is right. All of you need to edit build.prop file as he mentioned and it works ONLY on rooted devices. If you don't have that string in build.prop then you can add it on the end of file.

[HELP] How to alter build.prop? Magisk Rooted

So I have my 930-F S7 systemless rooted with Magisk and with encryption.
I noticed that after rooting I wasn't able to use SmartView on my TV anymore, I've tried lots of things but eventually came to a proposed solution of editing build.prop and adding the following line to the end of it and it should work:
wlan.wfd.hdcp = disable
Click to expand...
Click to collapse
Unfortunately when trying to alter build.prop there was always an error saying it was read only, after a quick research it seems it's because it's a systemless root, so I should try doing it directly with Magisk.
Found myself to a helpful thread, that told me to put the above command line into a blank .txt and paste it into:
/sbin/.core/img/.core/post-fs-data.d
Click to expand...
Click to collapse
But it failed, I wasn't able to paste the file.
So I don't know what to do, has anyone faced this issue and can help me?
I was able to fix this issue and FINALLY be able to Smart View / Screen Mirror to other devices.
To do so I installed Didgeridoohan's MagiskHide Props Config Module. Installed a Terminal Emulator and proceeded to include the line mentioned on my previous post to build.prop.
After that, voila it was finally fixed.
Done.
The line is already present in my custom Rom. The problem is elsewhere.
CyberBeaR said:
I was able to fix this issue and FINALLY be able to Smart View / Screen Mirror to other devices.
To do so I installed Didgeridoohan's MagiskHide Props Config Module. Installed a Terminal Emulator and proceeded to include the line mentioned on my previous post to build.prop.
After that, voila it was finally fixed.
Click to expand...
Click to collapse
can please tell me the steps how did u you do tha
please
thanks.

Question features missing

how do i get the samsung screen recorder and secure folder on my a226b and or any other samsung ad i dont have them for some reason and i would like to know if theres any universal twrp or odin thing to flash that would gove them back or maybe secret setting to enable or apk to install
Win_7 said:
how do i get the samsung screen recorder and secure folder on my a226b and or any other samsung ad i dont have them for some reason and i would like to know if theres any universal twrp or odin thing to flash that would gove them back or maybe secret setting to enable or apk to install
Click to expand...
Click to collapse
There Isn't a screen recorder or secure folder on the SM-A226B you can use calculator+ and flash a android 13 GSI to use the screen recorder.
You can enable screenrecorder by modifiying some lines in /system/etc/floating_feature.xml
<SEC_FLOATING_FEATURE_FRAMEWORK_SUPPORT_SCREEN_RECORDER>TRUE</SEC_FLOATING_FEATURE_FRAMEWORK_SUPPORT_SCREEN_RECORDER>
<SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_SCREEN_RECORDER_ITEM>-pip</SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_SCREEN_RECORDER_ITEM>
Without spaces. If there is already the value simply change to this. I'm working on a way to enable secure folder in my free time. First tests were successful however there are still some problems. I'm extracting files from A13 5G (SM-A136B) because it has the same chipset as A22 5G and has secure folder
fede2782 said:
You can enable screenrecorder by modifiying some lines in /system/etc/floating_feature.xml
<SEC_FLOATING_FEATURE_FRAMEWORK_SUPPORT_SCREEN_RECORDER>TRUE</SEC_FLOATING_FEATURE_FRAMEWORK_SUPPORT_SCREEN_RECORDER>
<SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_SCREEN_RECORDER_ITEM>-pip</SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_SCREEN_RECORDER_ITEM>
Without spaces. If there is already the value simply change to this. I'm working on a way to enable secure folder in my free time. First tests were successful however there are still some problems. I'm extracting files from A13 5G (SM-A136B) because it has the same chipset as A22 5G and has secure folder
Click to expand...
Click to collapse
thanks!!!! will this work on any other phone other than a226b?
and do you know of any file manager app that can actually edit system files (i have a good one called filemanager+ but it can only read even if i do mount -o remount,rw /
Yes, it should. If this doesn't work there is another line that may need to be changed. Make sure you have at least one ui 3. Updating Samsung Capture may be required (https://www.apkmirror.com/apk/samsu.../samsung-capture-5-4-22-android-apk-download/) Let me know.
I do not know any good file manager because I modify system files with Magisk. You can use termux. Pull file to pc or use quick edit on phone.
fede2782 said:
Yes, it should. If this doesn't work there is another line that may need to be changed. Make sure you have at least one ui 3. Updating Samsung Capture may be required (Here's where you can download latest apk) Let me know.
I do not know any good file manager because I modify system files with Magisk. You can use termux. Pull file to pc or use quick edit on phone.
Click to expand...
Click to collapse
eh thats ok i used adb and accepted root on device
my phone didnt have the file is that ok if i just create it?
also you made a mistake on the url can you send a working one?
fede2782 said:
Yes, it should. If this doesn't work there is another line that may need to be changed. Make sure you have at least one ui 3. Updating Samsung Capture may be required (Here's where you can download latest apk) Let me know.
I do not know any good file manager because I modify system files with Magisk. You can use termux. Pull file to pc or use quick edit on phone.
Click to expand...
Click to collapse
um how can i fix "system partition doesnt have enough free space" when trying to convert newer samsung capture to system app
You don't need to convert. Just update with apk when phone on. Like every app. I made a mistake in the link. I fixed it. The file should exist on every Samsung one ui device.
fede2782 said:
You don't need to convert. Just update with apk when phone on. Like every app. I made a mistake in the link. I fixed it. The file should exist on every Samsung one ui device.
Click to expand...
Click to collapse
oh bruh i deleted system app and reinstalled
An apk of Samsung capture must remain in the /system partition in order to get priv-app permissions
I recommend you to reinstall original firmware (One UI 5.1 if it is available in your region) then modify floating_feature.xml.
This file is placed in every samsung device in /system/etc/floating_feature.xml
You do not have to create nothing. Just modify it add that lines. In my firmware (official one UI 5.1) the second line is already placed in the file. So I simply added:
<SEC_FLOATING_FEATURE_FRAMEWORK_SUPPORT_SCREEN_RECORDER>TRUE</SEC_FLOATING_FEATURE_FRAMEWORK_SUPPORT_SCREEN_RECORDER>
in the middle of the file
fede2782 said:
An apk of Samsung capture must remain in the /system partition in order to get priv-app permissions
I recommend you to reinstall original firmware (One UI 5.1 if it is available in your region) then modify floating_feature.xml.
This file is placed in every samsung device in /system/etc/floating_feature.xml
You do not have to create nothing. Just modify it add that lines. In my firmware (official one UI 5.1) the second line is already placed in the file. So I simply added:
<SEC_FLOATING_FEATURE_FRAMEWORK_SUPPORT_SCREEN_RECORDER>TRUE</SEC_FLOATING_FEATURE_FRAMEWORK_SUPPORT_SCREEN_RECORDER>
in the middle of the file
Click to expand...
Click to collapse
i still didnt have the file i made it and updated capture but didnt get screen recorder even after reboot :/ am on android 11 and im not updating especially as theres bootloader update
For me it is working. The file floating_feature.xml needs to exist. if it doesn't exist this means your firmware version is old and it doesn't have modern one UI. I don't know how I can help you more
fede2782 said:
For me it is working. The file floating_feature.xml needs to exist. if it doesn't exist this means your firmware version is old and it doesn't have modern one UI. I don't know how I can help you more
Click to expand...
Click to collapse
i have a70 with screenrecorder its on android 10
my a22 is on oneui 3.1
I don't know.
fede2782 said:
I don't know.
Click to expand...
Click to collapse
alright then sorry for bothgering you
Win_7 said:
alright then sorry for bothgering you
Click to expand...
Click to collapse
Don't worry
Image clipper wip being prepared! Object Eraser! deCorizer - Add missing One UI features to A22 5G
You can flash this Magisk module AT YOUR OWN RISK. I AM NOT RESPONSIBLE for lost warranty, bootloops, lost data or any other damage to your device. THE SOFTWARE IS PROVIDED “AS IS” This module tries to add as many One UI features as possible to...
forum.xda-developers.com
fede2782 said:
Image clipper wip being prepared! Object Eraser! deCorizer - Add missing One UI features to A22 5G
You can flash this Magisk module AT YOUR OWN RISK. I AM NOT RESPONSIBLE for lost warranty, bootloops, lost data or any other damage to your device. THE SOFTWARE IS PROVIDED “AS IS” This module tries to add as many One UI features as possible to...
forum.xda-developers.com
Click to expand...
Click to collapse
it didnt work
it just said system is root and a couple other things then i rebooted nthing
Win_7 said:
it didnt work
it just said system is root and a couple other things then i rebooted nthing
Click to expand...
Click to collapse
At the moment is only for DWC1 OXM
I'll try to download your file from AVA1 as soon as I can and I'll patch it
fede2782 said:
At the moment is only for DWC1 OXM
I'll try to download your file from AVA1 as soon as I can and I'll patch it
Click to expand...
Click to collapse
i have AVA6 not 1

Categories

Resources