Gold Member

Rank: 3Rank: 3

Credits
239
Device
Mi 5
Online time
46 Hours
Send PM

Mi 5

[Q & A] Front cam problem after enabling Camera2 API

[ Promote]
11874 50 |
16:59, Oct-14-2017 | From Mi 5
|
|
Go to reply no.
Need help how to fix this? After I Enable Camera2 API this is what happen to my front cam. How can i fix this? thanks in advance😁


Screenshot_2017-10-14-16-55-34-855_com.android.camera.png


Favorite5 Share
Akdmkz

Super moderator

料理人

Rank: 8Rank: 8

Credits
109133
Device
Mi 5 Pro
Online time
1386 Hours
Send PM

Mi HomeMi Band 2Mi Notebook AirMijia Story TellerMi TV 70Mi Bluetooth Canon SpeakerMijia Electric ScooterMi  BunnyMi Power Bank 10000MAH Xiaomi 6 LaunchMi Bluetooth SpeakerYeelight Bedside LampMi KeyMi Kids WatchMi BandMi Bluetooth HeadsetMijia Qi CycleMi Selfie StickMi VR HeadsetMijia Walkie TalkieUnlock MedalMagic CubeXiaomi 7th AnniversaryAnTuTuI Love MIUIAwesome!FlashholicMIUI Devices ContestFantastic!MIUI 2016MIUI 8MarshmallowRedmi 3SRedmi 4/Prime/4AMi TVRedmi Note 3Mi 4cRedmi 2Mi 5 Pro4 Million Forum MembersUEFA EURO MedalThanksgiving DayMIUI Fan From IndonesiaI Love 2016Olympics MedalPokemon Master Medal2100K Forum MembersHilal Ramadan MIUI 6th AnniversaryFan Of MIUI RussiaMid-Autumn Festival1400K Forum Members1900K Forum Members1800K Forum MembersFan Of MIUI Bangladesh1 Million Forum App InstallsDiwali 1500K Forum MembersFan Of MIUI PolandHappy DiwaliMIUI 300 WeeksMIUI Weekly PollMIUI Forum AppMIUI Fan From VietnamMIUI Marathon Medal3 Million Forum App InstallsMIUI 2017MIUI P300K Forum MembersRooster Year of 2017Super SundayPuzzle Master5 Million Forum App InstallsHappy Holi MedalSuper WednesdayMIUI Happy MedalMIUI 100 Million UsersMIUI 7th AnniversaryMerry Christmas500K Forum MembersMIUI 990000 Forum MembersMIUI Font LoverSuper Monday3500K Forum MembersMIUI Fan from TurkeyMIUI Lucky FridaySurge S1Happy Valentine's DayMIUI Drawing TalentMIUI World TourHappy New YearXiaomi 6th AnniversarySuper TuesdaySuper ThursdayRocket to Future10 Million Forum Posts3 Million Forum MembersI Love Mi BunnyMiPopAlpaca Mi Bunny Gamer Mi BunnyMIUI Beta TeamMIUI ReviewMIUI 8th AnniversaryDiscuss HereMIUI Halloween 2018Silver Super ModeratorMIUI Follower13 Million Forum MembersGold Super ModeratorMi Lover MedalOreoAndroid GuruScroll Of WisdomYouth Pledge8 Million Forum MembersMIUI FB FollowerXiaomi 8th AnniversaryQuick SurveyStar WarsMIUI Weekly Devices QuizHumor MasterMost Active MIUIerMIUI Android 4.4 KitKatMi Bunny Game Master Theme TalentPioneer of MIUI English Forum OTA FeedbackMost Popular Forum User25 Million StrongIndonesia Independence DayMIUI Twitter Follower6 Million Forum MembersMIUI Quick Discussion2017 Annual AwardsMr. DependableRingtone ExpertMIUI Halloween 2017Die-hard MIUI FanUpdates LoverDebate MasterForum Contest LoverMi TalentStar Of TechnologyRingtone Star Technology GuruMi Story TellerMaster Of TechnologyInbox ZeroMIUI ExpertApp TalentMIUI Medals CollectorApp TalentAndroid Elf7 Million Forum MembersMIUI King

23:04, Oct-16-2017 | From PC
|
Hi!

There's a fix of that. You can download it here.
Mi5_Camera2Fix.zip (177.16 KB, Downloads: 2529)

Rated by 1 person   Experience Reason  

GeraldP + 1 Thanks!

Experience +1  View Rating Log


FOLLOW AWESOME JOURNEY IN CHOU LABS | FREE YOUR MIND WITH CHOU TECHBITES

MIUI Device Team

Welcome to MIUI Forum

Credits
23121
Device
Mi MIX
Online time
502 Hours
Send PM

Mi Band 2Mi VRMi HeadphonesMi WiFi RouterMijia Qi CycleXiaomi 6 LaunchMijia Electric ScooterMi  BunnyMi Selfie StickMijia Story TellerMi HomeMi Power BankUnlock MedalMi ScaleMi Kids WatchYi Action CameraMijia Walkie TalkieXiaomi 7th AnniversaryMIUI 2016MIUI 8Awesome!MIUI Devices ContestMIUI 7I Love MIUIFantastic!FlashholicRedmi 3Mi 5Mi Max Mi 4cMi PadRedmi 24 Million Forum MembersRedmi NotePokemon Master MedalMIUI 2017Rooster Year of 20173 Million Forum App Installs1 Million Forum App InstallsI Love 20162100K Forum Members1 Million Forum MembersMIUI Fan from India900K Forum MembersMIUI Fan From Singapore800K Forum Members10 Million Forum PostsMIUI Fan From IndonesiaThanksgiving DayMIUI Forum App1500K Forum MembersMIUI Weekly PollHappy New YearMerry ChristmasMIUI Marathon MedalMIUI Lucky Friday3500K Forum MembersXiaomi 5th AnniversarySuper WednesdaySuper SundayHappy Holi MedalSuper Saturday100k Forum MembersHappy Valentine's DayHappy DiwaliMIUI 50 Million UsersMIUI Happy MedalMIUI 7th AnniversaryMIUI 100 Million UsersMIUI 95 Million Forum App Installs500K Forum MembersSingapore Merlion MedalSuper MondaySuper TuesdaySuper ThursdayRocket to FuturePuzzle MasterSurge S1I Love Mi BunnyMiPopSummer Mi BunnyGamer Mi BunnyMIUI Device TeamMIUI ReviewMIUI Medals CollectorRingtone ExpertOTA FeedbackScroll Of WisdomOreoXiaomi 8th AnniversarySurpriseMIUI Weekly Devices Quiz2017 Annual Awards8 Million Forum MembersMr. DependableMi Story TellerRedmi Quiz MasterMIUI Quick DiscussionMIUI Halloween 2017MIUI Device Expert10 Million Forum MembersUpdates LoverStar Of TechnologyDie-hard MIUI FanMi Lover MedalAndroid ElfYouth PledgeMi TalentMaster Of TechnologyMIUI ExpertDebate MasterMIUI 8th AnniversaryMIUI FollowerForum Contest LoverAndroid GuruStar WarsPioneer of MIUI English Forum Humor MasterRingtone Star Mi Bunny Game Master

22:02, Oct-15-2017 | From PC
|
Nope, unfortunately you can't fix it for now without disabling Camera API2. (isn't that the reason in the first place not activated anyways)
I LOVE MIUI!!!


HIT that reply button so that I can help you faster With your questions :)

PS.

Gold Member

Rank: 3Rank: 3

Credits
239
Device
Mi 5
Online time
46 Hours
Send PM

Mi 5

 Author| 22:58, Oct-15-2017 | From PC
|
JY.Nick replied at 2017-10-15 22:02
Nope, unfortunately you can't fix it for now without disabling Camera API2. (isn't that the reason i ...

I already disable camera api2. but how can I use Google Camera? Is there other option to make Google camera work in Mi5? im using xiaomi.eu rom.
Akdmkz

MIUI Device Team

Welcome to MIUI Forum

Credits
23121
Device
Mi MIX
Online time
502 Hours
Send PM

Mi Band 2Mi VRMi HeadphonesMi WiFi RouterMijia Qi CycleXiaomi 6 LaunchMijia Electric ScooterMi  BunnyMi Selfie StickMijia Story TellerMi HomeMi Power BankUnlock MedalMi ScaleMi Kids WatchYi Action CameraMijia Walkie TalkieXiaomi 7th AnniversaryMIUI 2016MIUI 8Awesome!MIUI Devices ContestMIUI 7I Love MIUIFantastic!FlashholicRedmi 3Mi 5Mi Max Mi 4cMi PadRedmi 24 Million Forum MembersRedmi NotePokemon Master MedalMIUI 2017Rooster Year of 20173 Million Forum App Installs1 Million Forum App InstallsI Love 20162100K Forum Members1 Million Forum MembersMIUI Fan from India900K Forum MembersMIUI Fan From Singapore800K Forum Members10 Million Forum PostsMIUI Fan From IndonesiaThanksgiving DayMIUI Forum App1500K Forum MembersMIUI Weekly PollHappy New YearMerry ChristmasMIUI Marathon MedalMIUI Lucky Friday3500K Forum MembersXiaomi 5th AnniversarySuper WednesdaySuper SundayHappy Holi MedalSuper Saturday100k Forum MembersHappy Valentine's DayHappy DiwaliMIUI 50 Million UsersMIUI Happy MedalMIUI 7th AnniversaryMIUI 100 Million UsersMIUI 95 Million Forum App Installs500K Forum MembersSingapore Merlion MedalSuper MondaySuper TuesdaySuper ThursdayRocket to FuturePuzzle MasterSurge S1I Love Mi BunnyMiPopSummer Mi BunnyGamer Mi BunnyMIUI Device TeamMIUI ReviewMIUI Medals CollectorRingtone ExpertOTA FeedbackScroll Of WisdomOreoXiaomi 8th AnniversarySurpriseMIUI Weekly Devices Quiz2017 Annual Awards8 Million Forum MembersMr. DependableMi Story TellerRedmi Quiz MasterMIUI Quick DiscussionMIUI Halloween 2017MIUI Device Expert10 Million Forum MembersUpdates LoverStar Of TechnologyDie-hard MIUI FanMi Lover MedalAndroid ElfYouth PledgeMi TalentMaster Of TechnologyMIUI ExpertDebate MasterMIUI 8th AnniversaryMIUI FollowerForum Contest LoverAndroid GuruStar WarsPioneer of MIUI English Forum Humor MasterRingtone Star Mi Bunny Game Master

21:44, Oct-16-2017 | From PC
|
GeraldP replied at 2017-10-15 22:58
I already disable camera api2. but how can I use Google Camera? Is there other option to make Goog ...

You can try a older version of Google Camera, but advanced features such as HDR+ may not exist or work properly
I LOVE MIUI!!!


HIT that reply button so that I can help you faster With your questions :)

PS.

Platinum Member

Rank: 4

Credits
3664
Device
Mi Note 3
Online time
267 Hours
Send PM

Mi Power Bank 10000MAH Mi Bluetooth Canon SpeakerMi TV 70Unlock MedalMi BandYi Action CameraMijia 360° Panoramic CameraMi Power StripMi Band 2Mi HeadphonesMi  BunnyMi BoxXiaomi 7th AnniversaryI Love MIUIMarshmallowMIUI 2016Fantastic!MIUI 7Awesome!Redmi NoteMi 5Mi Pad 2 Win 10 Edition4 Million Forum MembersMi Pad 2MIUI 9MIUI PMi Live Medal1400K Forum MembersMIUI S1 Million Forum MembersMIUI 50 Million UsersFan Of MIUI BangladeshMerry ChristmasXiaomi 6th AnniversaryMIUI 6th AnniversaryMIUI Weekly Poll1 Million Forum App Installs300K Forum Members1900K Forum MembersI Love 2016Gamer Mi BunnyAlpaca Mi Bunny MiPop8 Million Forum MembersStar WarsMIUI FollowerMIUI ExpertScroll Of WisdomMIUI Quick DiscussionMi Lover MedalMIUI Weekly Devices QuizSurpriseUpdates LoverMaster Of TechnologyMi Bunny Game Master MIUI Halloween 2017Mi TalentForum Contest LoverTechnology GuruDebate MasterMIUI FB FollowerInbox ZeroAndroid GuruAndroid ElfStar Of TechnologyDie-hard MIUI Fan

21:44, Oct-16-2017 | From PC
|
GeraldP replied at 2017-10-15 21:58
I already disable camera api2. but how can I use Google Camera? Is there other option to make Goog ...

You can't, Google Camera requires Camera 2 API. Wherever you get the info from, please read thoroughly that source. Some people provide Google Camera APK with fixed front camera or you can change the corresponding value in the camera config. Again, read the source on how to do that.

Gold Member

Rank: 3Rank: 3

Credits
239
Device
Mi 5
Online time
46 Hours
Send PM

Mi 5

 Author| 21:41, Oct-19-2017 | From PC
|
choukawaii replied at 2017-10-16 23:04
Hi!

There's a fix of that. You can download it here.

I will try this. thanks!
Akdmkz

Senior Member

Rank: 2

Credits
49
Device
Mi 5
Online time
13 Hours
Send PM

Theme Talent

00:44, Oct-20-2017 | From Mi 5
|
hi.
try to edit msm8996_camera.xml under system/etc/camera

try to find these lines:
<Position>FRONT</Position>
<MountAngle>360</MountAngle>

change 360 to 270 ...

*you should find it 2x*

save & reboot you phone.

Gold Member

Rank: 3Rank: 3

Credits
239
Device
Mi 5
Online time
46 Hours
Send PM

Mi 5

 Author| 22:12, Oct-20-2017 | From PC
|
Nov4era replied at 2017-10-20 00:44
hi.
try to edit msm8996_camera.xml under system/etc/camera

will try this! thanks mate!
Akdmkz

Senior Member

Rank: 2

Credits
101
Device
0
Online time
16 Hours
Send PM
04:21, Jan-11-2018 | From PC
|
Great <3

Credits Management

Quick Reply Top Return to the list