Introduction: Get EIS (Electronic Image Stabilization) on Any Android Smartphone.
Hello guys.
Today I have a new hack for all them Smartphone photographers who have a phone with decent camera but while recording the videos are very shaky and your camera lacks EIS (Electronic Image Stabilization). Most flagship phones do have this feature or even better OIS (Optical Image Stabilization). But it lacks in many mid-range or budget oriented smartphones.
Now its not possible to make an OIS system for your device but it is very easy to get EIS with a single line of code. There are few things you need that is, Root access and your device should have Gyro and Accelerometer Sensors.
Now that been made clear lets jump right into the process.
Step 1: Requirements :-
Step 2: Checking the Device :-
First thing you have to do is check the device if it has gyro and accelerometer sensor. Easiest way to do that is using AIDA64 app.
Just Download the app. Open it and you will find all the information about your device from hardware to software. From all the listed options select "Sensors" and you will see a list of all the sensors on your device with their function.
Check if Gyro and Accelerometer is present , If it is you are ready to perform the hack.
Lets get started....
Step 3: Making Modifications :-
This is the final step. Follow it carefully and you shall get working image stabilization !
Once you have downloaded and Installed BuildProp app, Open it.
Tap on the "pencil icon" on top right corner.
You will see a list of codes , Be careful you don't mess up anything.
Scroll down until you find "#Camera".
Under that you will see few line of codes.Look for :-
persist.camera.HAL3.enabled=1 persist.camera.eis.enabled=1
Now if the above line of codes are present as it is you probably already have EIS.
If not there must be "0" in place of "1". Just replace that "0" with "1".
If there is no such code, Then just copy the above lines and paste them under #Camera .
When you are done. Tap on the save icon on the top and select "Save & Exit"
Now Reboot your phone.
That's all you need to do. Now you have Working EIS on your device !
Step 4: Testing :-
Now that you have EIS on your device you will need to use some better camera app to use it as the default camera app your phone has isn't made for this purpose.
I have listed few apps that works great for this purpose.
1. Google Camera .
For now I just know these apps which work fine. Google Camera is my favorite. If it works on your default camera or any other camera app let me know in the comment section.
Hope it was informative and easy to understand , If you have any doubt feel free to ask.
19 Comments
2 years ago
Does this only improve video recording, or does it also help still images?
Question 2 years ago on Step 3
Instead of #Camera, i have
#
#Additional Build Properties
#
And the a lot of lines , which also has camera lines but no eis or HAL3 line, should i add it and how should i add it?
Answer 2 years ago
Check out this
https://www.xda-developers.com/enable-google-camera-hdr-eis-xiaomi-mi-a1-without-root/
Question 2 years ago on Step 4
My phone is Mi A1 and has custom rom -Lineage OS but when i open build prop, it does not have any #camera thing, but has camera commands, but i was not able to find any eis or HAL3 command.
So, what should i do, i watched a video on youtube, i have checked camera to probe, my device has lvl3 hardware support level...
I just added these 2 lines at the end...
Have i done it correctly or #Camera is important and if it is important , then where to add this #Camera , can i add this at the end...?
2 years ago
My phone has a decent camera and I've been wandering around the internet since I found that Instapro could upload a full-framerate-footage unlike the original Instagram app which reduce the fps and make the final video quality looks very bad
But even with the Instapro, my video footage still wobbly because of my tremor hands lmao
Glad I found this thread! Thanks for the poor man stabilizer hack! Really appreciate it.
Oh yeah got some info
I think my default camera app can handle the modified buildprop. I really don't see any difference between gcam and default cam recording footages
Idk if using custom rom affect this but my here's some detail
-Samsung A5 2017
-hadesROM v1.5 running Android 9
-Apparently capable of handling GCam 6.1 (koopahtmaniac 1149) but a long usage time might burn my fingers lol
Reply 2 years ago
Most samsung phones come with Exynos pocessor which are not very developer friendly. Thus they do not support Gcam.
Question 2 years ago on Step 4
what if the #camera line isnt there
Answer 2 years ago
If your phone has camera then it should be there. If not make one.
Question 5 years ago on Step 1
Why do you need to have a rooted phone?
Answer 5 years ago
To use Build prop you need root access as it edits codes on system level.normal users cannot edit system codes.
Reply 2 years ago
Does IT work with taking photos or just for recording video?
Reply 2 years ago
Should work fine with both. This trick is irrelevant now as almost all smartphones come with EIS.
Answer 5 years ago
You have to have root access to change the required hardware file definitions.
3 years ago
How many time I tried but I can't edit
Reply 3 years ago
All most all smartphones now have EIS. If you still want to do this, make sure your phone is rooted.
4 years ago
Your website looking so good
Reply 4 years ago
Thank you so much.
Question 5 years ago on Step 2
what if buildprop will show error? i think my phone nove 3i blocked apps such as buildprop to make some modifications.
Answer 5 years ago
Is your device rooted ?