Port display settings from stock firmware to slimbox - Android Stick & Console AMLogic based Computers

Hey guys, my TX5 plus stock firmware has some great display settings (adaptive HDR) that I want to port to the slimbox firmware I am using. I tried to reverse engineer the firmwares using xvortex's firmware kitchen and apk easy tool and here is what I learned.
TX5 plus stock: display settings is in DroidTvSettings.apk in vendor partition, it support adaptive HDR which I really like (this is the feature I want to port).
Slimbox: display settings is in TvSettings.apk in system partition.
I tried to edit .smali files and .xml files in TvSettings.apk in slimbox based on the contents of DroidTvSettings.apk, but the HDR setting always crashes the setting app after I click it. Any thoughts?

Try to rename and replace the files, see if that works

Related

[Q] Group of parameters for custom ROM

Does anybody know what everything is related to screen orientation if I want to build custom ROM with locked portrait mode?
I saw one row in settings.db named user_rotation.
Also there is "ro.sf.hwrotation" in build.prop
In framework-res.apk is "config_AllowAllRotation".
Is this needed to be changed at all? Where I can look android platform files details, explanations etc?

Enable Hidden Features on A750FN/DS [Oreo](24.06.19)

Iam not a good thread maker so i will try to write everything as simple as i can.
Few days ago i bought and switched to A7 2018 from A5 2017, which was/is still an excellent phone to me.
On A5 i was on Oreo and on A7 i am and will be still on Oreo. Not planning to test this on Pie, but be my guest and try it on Pie, some stuff should work. Report if it does.
On A5 i made a similar thread to enable some features, but it was much easier to do because i had a CSC folder instead of ODM folder which has some files encrypted and you need them decrypted to proceed. And there is no flashable zip, you will need to do all on your phone, except decrepitng some files which you will need to do on your pc, and then put back and overwrite the same files on your phone and give necessary permissions.
First of all iam not a developer and i dont know anything about developing.
This is just enabling some features that were allready there in the phone through some lines on some files in ODM/OMC folder and some lines implemented in the stock floating_feature.xml file.
Never delete floating_features.xml file from your phones etc folder and dont touch permissions (0644), or your phone wont boot up. You just need to edit them and save.
Iv tested only on stock A750FNXXU1ASA4 OREO, which was only rooted and nothing else was modified.
The features you should get if everything goes right are:
1. Floating messages (option in Advanced features)
2. Record calls in (phone options)
3. Show network speed (option in status bar)
4. Data Usage Notification (option in data usage)
5. Camera Shutter sound on/of (in camera options)
6. ScreenRecord (options accessible from QPannel and Advanced Features)
7. S Bike Mod
8. Places option on keypad
9. Caller ID spam protection (in phone option)
9. LiveMessages in samsung keyboard
10. S PowerPlanning (Device Maintenance/battery)
11. HomeMode(screensaver option)
12. S Pen features( needed if you ever find working AirCommand).
13. In Samsung video options, but in option that apear when you press play on video,
you should see Video Enhancer option. Download Samsung video from Galaxy apps.
14. Multiuser support
15. Dolby Atmos dual speaker (works with speaker not just with earphones)
Anyway...
I f you dont know anything about floating_features.xml or bulid.prop or ODM/OMC folders and editing them, then dont try this beacuse I won't be held accountable if something happens to your phone if you loose your data or go into bootloop! So Dont Forget to Backup your Phone!
INSTRUCTIONS:
1.You have to be ROOTED offcourse and have a file manager like RootExplorer or simillar.
2. Now you need to copy from root of your phone two files from your contry ODM/OMC folder that your phone/SIMcard uses. It must be from your contrys ODM/OMC folder no other ones. The files are cscfeature.xml and cscfeature_network.xml After you decrypt them put them back in your phone and overwrite the ones inside your contry ODM/OMC folder and give permission 0644.
After that open in text editor with your Root Explorer cscfeature.xml file and on the bottom insert the lines that you can see in the attachment, then save and restart the phone.
To decrypt cscfeature.xml files follow this thread:
https://forum.xda-developers.com/android/software/decode-encode-omc-files-omc-decoder-t3791471
3. Now open your floating_feature.xml which is located in system/etc folder and just edit/enter on the bottom of the file lines that you can see in the attachment, save and restart the phone. Dont do nothing else with this file just insert the lines then save and restart the phone. If you delete it you will go in to bootloop.
4. Now open your build.prop and on the bottom of the file enter lines that you can see in the attachment, save and restart the phone.
5. Now copy all files in system from the attachment and put them in their corresponding places.
Give perrmission for folder 0755 and 0644 for files.
Thats it!
I hope it works for you like it did for me.
Il try to answer any questions, when i have free time.
And if you all have problems doing this i will make a video tutorial when i have free time.
Does this tutorial applies to a7 2018 with android pie? I mean do I have to decrypt those files? I just want to enable call recording.
Adutz1 said:
Does this tutorial applies to a7 2018 with android pie? I mean do I have to decrypt those files? I just want to enable call recording.
Click to expand...
Click to collapse
Yes you have to decrypt and it works on android pie
@kraken77 Can you help me to decrypt those two files if i send them to you? I have problems installing python
I only want to enable call recording
Adutz1 said:
@kraken77 Can you help me to decrypt those two files if i send them to you? I have problems installing python
I only want to enable call recording
Click to expand...
Click to collapse
Okay upload the file. Will decrypt it if i got some time tomorrow. Easiest way is by using firefds xposed module. Youll see call recording setting under phone section.
So can I enable only call recording without decrypting those files? I've did it on my s8, just copied the csc code into build.prop...it will work on this device too?
Some more features if anybody is interested.
Its for Pie
https://forum.xda-developers.com/android/general/samsung-additional-features-t3930900
This works for Galaxy S10e?

edit mediaprofile.xml

Iam using asus zenmax pro m1 and DOT 3 rom, treble. Whenever I edit the mediaprofile.xml file in the vendor partition, the mobile gets stuck while booting when restarte. How can I safely edit the mediaprofile.xml file and change the parameters of camera image and video quality.

[tutorial] gcam install on m31

Hey Guys. This is a tutorial to bring out the best in your phone camera by installing GCAM. In this case we will be installing a made for exynos variant of gcam called ZGCAM. Same software optimization but built for exynos.
To get all features follow this step by step guide. (HDR+, PANORAMA, LENS BLUR,VIDEO ETC)
First download this apk from my media fire link. (The actual website will push ads to you which no one likes)
Link removed.
Download and Install this .APK file.
At first when you install it, only video and other minor features will work, but camera mode won't work.
To fix this we must use a custom config file to use ZGCAM for our specifications.
First Go to your default files app
When u install ZGCAM a new folder will popup in your internal storage (Phone Not SD) and it will be called GCam
If a "Configs" folder isn't present, create one (inside gcam directory).
After this download this file - M31CONFIG.xml
https://www.mediafire.com/file/u95oyhsvrceqjwe/M31CONFIG.xml/file
Move this file from Downloads to Gcam-Configs folder.
After this open ZGCAM (on the home screen it will be called camera with a red shutter logo)
Touch and hold a black are in the ui at the bottom for around 3 seconds (not any of the buttons). After that an option will popup, saying RESTORE CONFIGS, and after that because u moved the config file, u will get an option to restore this config.
After that u will have working GCAM for your samsung 31.
Credit: koopahtmaniac
himsplash
Hdr doesn't do anything?
Config restoration is important as hell
RashidD said:
Hdr doesn't do anything?
Click to expand...
Click to collapse
go to this link, i learnt how to restore configs here
https://www.celsoazevedo.com/files/android/google-camera/f/settings09/#:~:text=To%20load%20a%20config%20file,config%20file%20has%20been%20loaded.
So far so good, but I don't see nightsight working..
Hey can you explain the part where I have to touch and hold something in the camera ui
Anubhav453 said:
Hey can you explain the part where I have to touch and hold something in the camera ui
Click to expand...
Click to collapse
Press and hold on the black ui
Thread temporarily closed. Sorry for the inconvenience.

60 fps mod for 1080p

This mod enables [email protected] on front&back camera, you must turn off image stabilization in settings to work and ofc this is for rooted devices on stock roms, file included must be copied in /system/cameradata, If you want rename original camera-feature.xml 1st and then copy modded file and reboot phone.
[email protected] said:
This mod enables [email protected] on front&back camera, you must turn off image stabilization in settings to work and ofc this is for rooted devices on stock roms, file included must be copied in /system/cameradata, If you want rename original camera-feature.xml 1st and then copy modded file and reboot phone.
Click to expand...
Click to collapse
After I add this file, can I unroot my device?

Categories

Resources