FORUMS

[APP][ROOT] Xiaomi Motor Control For K20 Pro

2,255 posts
Thanks Meter: 4,847
 
By acervenky, Recognized Contributor on 15th October 2019, 09:06 PM
Post Reply Email Thread
Disclaimer :
Code:
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...). 
* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you. 
* Your warranty will be void if you tamper with any part of your device / software.
Description :
Enables user to popup or retract the front camera manually, does not require any additional libs just need root.

Features :
Set Initial Status
Popup/Retract Camera
Safety measures (Won't Initiate takeback command if camera is already retracted and so on)

Download :
AFH

Original Author :
realheart

Translation & Safety :
acervenky

Binaries & Original Solution :
phhusson
AndyYan

Source Code :
Github

Regards,
acervenky
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20191015-155745.jpg
Views:	7442
Size:	136.0 KB
ID:	4845491   Click image for larger version

Name:	Screenshot_20191015-155751.jpg
Views:	7354
Size:	118.4 KB
ID:	4845493  
The Following 14 Users Say Thank You to acervenky For This Useful Post: [ View ] Gift acervenky Ad-Free
15th October 2019, 09:06 PM |#2  
acervenky's Avatar
OP Recognized Contributor
Flag Mumbai
Thanks Meter: 4,847
 
Donate to Me
More
Reserved
The Following 2 Users Say Thank You to acervenky For This Useful Post: [ View ] Gift acervenky Ad-Free
16th October 2019, 03:13 PM |#3  
Junior Member
Thanks Meter: 7
 
More
No offense. But why ? I don't understand.
The Following 4 Users Say Thank You to anirudh.siddula For This Useful Post: [ View ] Gift anirudh.siddula Ad-Free
16th October 2019, 07:30 PM |#4  
XblackdemonX's Avatar
Senior Member
Flag Montreal
Thanks Meter: 531
 
Donate to Me
More
Quote:
Originally Posted by anirudh.siddula

No offense. But why ? I don't understand.

+1 I don't understand the goal of this.
16th October 2019, 07:37 PM |#5  
acervenky's Avatar
OP Recognized Contributor
Flag Mumbai
Thanks Meter: 4,847
 
Donate to Me
More
Quote:
Originally Posted by anirudh.siddula

No offense. But why ? I don't understand.

Quote:
Originally Posted by XblackdemonX

+1 I don't understand the goal of this.

For roms which don't offer native motor control, like OOS.
Reference : https://github.com/phhusson/treble_e...ons/issues/539

Regards,
acervenky
The Following 7 Users Say Thank You to acervenky For This Useful Post: [ View ] Gift acervenky Ad-Free
17th October 2019, 05:20 PM |#6  
Senior Member
Thanks Meter: 110
 
More
Thank's man. Made a nice little shortcut. I made the mistake of opening the camera app and having it pop out.
29th November 2019, 06:10 PM |#7  
Senior Member
Thanks Meter: 33
 
More
i don't know if it already have it, didnt test it, but adding the feature of a quick setting for opening/closing it would be just perfect
7th January 2020, 06:04 AM |#8  
ps000000's Avatar
Senior Member
Flag Nonthaburi / Bangkok
Thanks Meter: 345
 
More
This app is very useful for some GSI ROMs.
The Following User Says Thank You to ps000000 For This Useful Post: [ View ] Gift ps000000 Ad-Free
10th January 2020, 04:03 PM |#9  
Senior Member
Thanks Meter: 137
 
More
so the cam stuck open when switching to Video in gcam. but i was able to fix it with this APP (set cam out/in).

I already had this issue but flashed miui fastboot to fix it. But now thought to try this APP.

Thx
14th January 2020, 03:40 PM |#10  
wizzman's Avatar
Member
Flag Senlis
Thanks Meter: 3
 
More
Impossible to open this app with xiaomi.eu 20.1.9
18th January 2020, 02:55 AM |#11  
acervenky's Avatar
OP Recognized Contributor
Flag Mumbai
Thanks Meter: 4,847
 
Donate to Me
More
Quote:
Originally Posted by wizzman

Impossible to open this app with xiaomi.eu 20.1.9

Won't work on MIUI roms due to Xiaomi motor service!

Regards,
acervenky
Post Reply Subscribe to Thread

Tags
front camera, k20 pro, motor, root

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes