MIUI Device Team

Don’t be so quick to judge me.

Credits
24482
Device
Mi Max 2
MIUI Version
8.1.8
Online time
1002 Hours
Send PM

Xiaomi 6 LaunchMi MIXMi Bluetooth SpeakerYeelight Bedside LampMi Power Bank 10000MAH Mi HomeMi Band 2Mi BandMi HeadphonesUnlock MedalMi  BunnyMijia Electric ScooterMi ScaleMi In-Ear HeadphonesMijia Story TellerMi Kids WatchMi Power BankXiaomi 7th AnniversaryMarshmallowAwesome!MIUI 7AnTuTuMIUI 8I Love MIUIFantastic!MIUI 2016MIUI Devices ContestRedmi NoteRedmi Note 3Mi Max 2Mi TVMi 4cHappy Diwali1700K Forum Members1500K Forum Members1400K Forum Members1800K Forum Members1 Million Forum MembersMIUI 6th AnniversaryUEFA EURO MedalFan Of MIUI IndiaPokemon Master MedalMIUI Fan From MyanmarOlympics MedalFan Of MIUI BangladeshMid-Autumn FestivalMIUI Fan from IndiaMIUI 300 WeeksMIUI Forum AppDiwali Puzzle MasterRocket to FutureSuper MondaySurge S13 Million Forum MembersSuper FridayMIUI 100 Million Users500K Forum MembersMIUI 93500K Forum Members1900K Forum MembersMIUI Happy Medal90000 Forum MembersHappy Holi MedalSuper SundayMIUI 201710 Million Forum PostsRooster Year of 2017Happy New YearMerry ChristmasI Love 2016MIUI World TourCamera Filter Guru MedalAtaturk MourningMIUI 20 Million UsersFan Of MIUI SpainFan Of MIUI ItalySummer Mi BunnyGamer Mi BunnyMiPopI Love Mi BunnyMIUI Device TeamMi Lover MedalPioneer of MIUI English Forum 2017 Annual AwardsStar Of IconsTechnology GuruMIUI Android 4.4 KitKatYouth PledgeAndroid GuruMost Active MIUIerMIUI FB FollowerMIUI ExpertRingtone Star Scroll Of WisdomStar Of TechnologyMIUI KingStar WarsWallpaper StarMIUI Twitter FollowerForum Contest LoverMIUI Device ExpertMIUI Medals CollectorDie-hard MIUI FanMaster Of TechnologyMi Story TellerDebate MasterInbox ZeroMi TalentAndroid ElfMIUI Follower

[Tools, Tips & Tutorials] [Device Team] Tutorial to Make Google Camera Work on Mi Max 2!

  [ Promote]
32108 572 |
09:58, Feb-03-2018 | From PC
|
|
Go to reply no.
This post was edited by cherri94 at 18:56, Feb-13-2018

bbbbbbb.jpg

Greetings everyone

          Hi guys how are you all hope everyone is fine and well. Today I am going to guide you guys how to make google camera work in our Mi Max 2, so let's rock and roll. I have tested this procedure in MIUI9 China developer ROM and MIUI9 miuipro ROM, so global stable and developer roms users this method should work on those ROMs also give it a try.


Requirments


  • Unlocked bootloader
  • Rooted with magisk
  • Patience and common sense


My Guide is split into 4 ways


  • Flashing TWRP recovery
  • Rooting device
  • Enabling camera2api and slow-motion 120FPS
  • Installing Google camera, testing it and Camera samples along with video recording samples.


Flashing TWRP recovery


  • Download the twrp from the download section below, then rename it as recovery and move the file to minimal and fastboot folder in c local disk
  • Make sure you have ADB and fastboot installed on your computer, if not download and install from the download section.
  • Put your phone into fastboot mode (Power off, then press POWER + Vol. down until the fastboot screen appears).
  • Connect the phone to your computer and open a command prompt from minimal fastboot folder as I show below
1.PNG

2.jpg

3.PNG

   5. After opening cmd you will get the below screen
4.PNG

   6. Now type this command line - fastboot flash recovery recovery.img and click enter
5.PNG

   7. Now you will see the following screen as successful
6.PNG

   8. That's it done now reboot the device to recovery mode by pressing Volume+ and power buttons at a time.
1.TWRP.jpg



Rooting device


   1. Download latest magisk zip file from below download section
   2. Now reboot your device to twrp recovery mode by pressing Volume+ and power buttons at a time

   3. Now go to install and select the zip file to flash

1.jpg

   4. After flashing zip file reboot device that's it your device is rooted.
4.TWRP.JPG



Enabling camera2api and slow-motion 120FPS


   1. Download enable camera 2 API - slow motion 120FPS magisk module zip file from download section
   2. Now open magisk manager app
   3. Click on options from left top

1.Magisk manager.JPG


   4. Now select modules and click on add module
Magisk 1.jpg


   5. Select the zip file from storage and click to flash
Magisk 2.jpg


   6. That's it reboot device now camera to API and slow motion 120 FPS is enabled
7.Magisk manager.JPG

Note: Don't flash this module with magisk at first it won't work because this module need an active magisk in our device so need to flash after successful reboot. That's why i said to flash with magisk manager.


Installing Google camera, testing it (Camera samples along with video recording samples)


   1. Download google camera app from download section
   2. Install it and open it, now allow all permissions which it requires.
   3. Now enjoy Google camera with portrait mode, HDR+ along with slow motion 120FPS in 720p
1_副本.jpg

2_副本.jpg

3_副本.jpg

Here are some samples of HDR+, normal shots, portrait mode, 4K video recording, slow-motion video recording with 120FPS in 720p.

HDR+ Shots
214138j9te3rje00fd1mzr.jpg.thumb_副本.jpg
214145ft6txyayxbgtdrvn.jpg.thumb_副本.jpg
214151efm9od97z83cj9zv.jpg.thumb_副本.jpg
214153joy6yswrhtf0st8s.jpg.thumb_副本.jpg
214200bi1a97jjzsu9dkxn.jpg.thumb_副本.jpg
214205oqaqjohzqzmbmqoo.jpg.thumb_副本.jpg
    214212qv1xv22tdg08jc1t.jpg.thumb_副本.jpg   



Note: I didn't edit anything in the above pictures, I took them naturally and i have waited so much of time to take one perfect shot.

Portrait mode Rare Camera
221419foiwf4biiahawwww.jpg.thumb_副本.jpg 221421ap2xsas9499h40ss.jpg.thumb_副本.jpg 221423bsoll13scm9piyls.jpg.thumb_副本.jpg 230238nkqugan9t24unqkk.jpg.thumb_副本.jpg
   

Front camera portrait mode
230032vis8mp6nhj1gvrmm.jpg.thumb_副本.jpg


Some shots i took while recording video in 4K
014507pvmpvwzpubvzzbpf.jpg.thumb_副本.jpg

014501e2uon16n30901x33.jpg.thumb_副本.jpg

1_副本.jpg

4K Video recording

Slow-Motion 120FPS in 720p


Download links
1. Minimal ADB fastboot drivers
minimal_adb_fastboot_v1.4.2.zip (905.89 KB, Downloads: 376)


Credits


This is all thanks to XDA Senior Member Arnova8G2 who has modified and optimized the original work of Ukrainian developer B-S-G and XDA Senior Member Charles_l to bring portrait mode to nearly all devices that can already make use of HDR+ in the modified Google Camera app.
Special thanks to Scrubber for optimizing google camera for Mi Max 2.

Special thanks to mods, smods of Mi Max 2 subforum for giving me this opportunity to write this thread.
Thank you and see u soon again.

Thanks to all of my teammates and admin @candicesu for continuous support and special thanks to @marcus_keong, @BharatG for guiding and all the motivation.


Signing off
@cherri94
Favorite248 Share

Rated by 33 people   Experience Prestige Reason  

makisfz + 2 Awesome!
hemanth11 + 10 + 3 Awesome!
ramnaresh11 + 5 Fantastic!
tushar01fb + 5 Thanks!
adammohd1988 + 1 Fantastic!
Allexsander + 2 <font style="vertical-align: inh
VikuBalupura + 10 + 3 Fantastic!
dobriy_putnik + 2 Thanks!
mas_gun + 2 Thanks!
manu33xtro.ep + 5 Great!
sepneela + 10 + 5 Fantastic!
iNeOOn + 1 Фантастика!
Tomarzig + 1 Awesome!
kangpolo + 5 Awesome!
戰士69 + 2 Thanks!
1633012781 + 4 Great!
rahul_09 + 10 + 5 Awesome!
lnazarko + 1 WOW
4epHRk + 1 Thanks!
hearthekker + 4 Fantastic!
Manish@786 + 10 + 3 Fantastic!
sastro_kimpet + 4 Fantastic!
Riyaz21 + 1 Awesome!
Gabareanu + 1 Awesome!
candicesu + 10 Awesome!
hadi-110 + 2 Thanks!
HeCosmin + 1 Fantastic! Thanks.

Experience +162  Prestige +31  View Rating Log

MIUI Resources Team

⭐⭐⭐⭐⭐

Rank: 6Rank: 6

Credits
9401
Device
Redmi Note 4 Qualcomm
MIUI Version
V9.0.5.0.NCFMIEI
Online time
613 Hours
Send PM

Mi  BunnyMi Bluetooth SpeakerMijia Story TellerMi Power StripMagic CubeMi MIXMi VRMijia Walkie TalkieMi VR HeadsetMi Yi CameraMijia Qi CycleMi Power Bank 10000MAH Xiaomi 7th AnniversaryMarshmallowMIUI 8Fantastic!I Love MIUIMIUI 2016MIUI Devices ContestAwesome!Mi Note 24 Million Forum MembersRedmi Note 4Mi MIXSuper WednesdaySurge S1Women's Day MedalPuzzle MasterSuper FridaySuper MondaySuper TuesdayHappy New YearMerry ChristmasThanksgiving DayI Love 20162100K Forum MembersXiaomi 6th AnniversaryMIUI 6th Anniversary1 Million Forum App InstallsMIUI 2017Fan Of MIUI IndiaHappy Valentine's DayMIUI Lucky FridaySuper ThursdayRooster Year of 2017MIUI Fan from IndiaFan Of MIUI RussiaMIUI Fan From PhilippinesMIUI 100 Million Users500K Forum MembersXiaomi 5th AnniversaryMIUI 50 Million UsersDiwali MIUI 9Ataturk MourningMIUI 7th AnniversaryHappy DiwaliRingolicious MedalFan Of MIUI SpainSuper Saturday10 Million Forum PostsMIUI 20 Million UsersMIUI World TourRocket to FutureSuper SundayMIUI Forum AppMiPopMIUI ReviewHumor MasterMr. DependableAndroid Guru2017 Annual AwardsStar Of TechnologyMIUI Twitter FollowerTheme TalentMIUI G+ FollowerForum Contest LoverMIUI Medals CollectorMi Lover MedalMi Story TellerDie-hard MIUI FanUpdates LoverAndroid ElfTechnology Guru25 Million StrongMIUI ExpertMIUI FollowerMaster Of TechnologyMIUI Ice Bucket ChallengeMIUI Halloween 2017

10:09, Feb-03-2018 | Via mobile
|
Fantastic Tutorial! Thanks @cherri94 bro

Comment

cherri94 Welcome mate :-)  10:12, Feb-03-2018

MIUI Device Team

Credits
3815
Device
0
MIUI Version
V8.5.7.0.MHOMIED
Online time
85 Hours
Send PM

Mi Power Bank 10000MAH Mi Band 2Mi Kids WatchMi Bluetooth HeadsetMIUI 8Awesome!Redmi Note 4Mi NoteRedmi 3Mi 5Mid-Autumn FestivalSurge S1MIUI 9MIUI 20 Million UsersMIUI 300 WeeksMIUI Forum AppMIUI SRocket to FutureMiPopMIUI Device Team2017 Annual AwardsRedmi Note 5A/PrimeDie-hard MIUI FanMi Lover MedalRedmi 5/PlusMi Note 37 Million Forum Members

10:41, Feb-03-2018 | From PC
|
Nice information bro

Comment

cherri94 Thank you bro :-)  10:59, Feb-03-2018

MIUI Device Team

Credits
3815
Device
0
MIUI Version
V8.5.7.0.MHOMIED
Online time
85 Hours
Send PM

Mi Power Bank 10000MAH Mi Band 2Mi Kids WatchMi Bluetooth HeadsetMIUI 8Awesome!Redmi Note 4Mi NoteRedmi 3Mi 5Mid-Autumn FestivalSurge S1MIUI 9MIUI 20 Million UsersMIUI 300 WeeksMIUI Forum AppMIUI SRocket to FutureMiPopMIUI Device Team2017 Annual AwardsRedmi Note 5A/PrimeDie-hard MIUI FanMi Lover MedalRedmi 5/PlusMi Note 37 Million Forum Members

10:42, Feb-03-2018 | From PC
|
Nice information bro

Gold Member

Rank: 3Rank: 3

Credits
354
Device
0
MIUI Version
V9.0.3.0.NDDMIEI
Online time
0 Hours
Send PM

2017 Annual Awards

10:54, Feb-03-2018 | From Mi Max 2
|
hmm.. i have some problem on installing  magisk, failed... any solution?

MIUI Device Team

Don’t be so quick to judge me.

Credits
24482
Device
Mi Max 2
MIUI Version
8.1.8
Online time
1002 Hours
Send PM

Xiaomi 6 LaunchMi MIXMi Bluetooth SpeakerYeelight Bedside LampMi Power Bank 10000MAH Mi HomeMi Band 2Mi BandMi HeadphonesUnlock MedalMi  BunnyMijia Electric ScooterMi ScaleMi In-Ear HeadphonesMijia Story TellerMi Kids WatchMi Power BankXiaomi 7th AnniversaryMarshmallowAwesome!MIUI 7AnTuTuMIUI 8I Love MIUIFantastic!MIUI 2016MIUI Devices ContestRedmi NoteRedmi Note 3Mi Max 2Mi TVMi 4cHappy Diwali1700K Forum Members1500K Forum Members1400K Forum Members1800K Forum Members1 Million Forum MembersMIUI 6th AnniversaryUEFA EURO MedalFan Of MIUI IndiaPokemon Master MedalMIUI Fan From MyanmarOlympics MedalFan Of MIUI BangladeshMid-Autumn FestivalMIUI Fan from IndiaMIUI 300 WeeksMIUI Forum AppDiwali Puzzle MasterRocket to FutureSuper MondaySurge S13 Million Forum MembersSuper FridayMIUI 100 Million Users500K Forum MembersMIUI 93500K Forum Members1900K Forum MembersMIUI Happy Medal90000 Forum MembersHappy Holi MedalSuper SundayMIUI 201710 Million Forum PostsRooster Year of 2017Happy New YearMerry ChristmasI Love 2016MIUI World TourCamera Filter Guru MedalAtaturk MourningMIUI 20 Million UsersFan Of MIUI SpainFan Of MIUI ItalySummer Mi BunnyGamer Mi BunnyMiPopI Love Mi BunnyMIUI Device TeamMi Lover MedalPioneer of MIUI English Forum 2017 Annual AwardsStar Of IconsTechnology GuruMIUI Android 4.4 KitKatYouth PledgeAndroid GuruMost Active MIUIerMIUI FB FollowerMIUI ExpertRingtone Star Scroll Of WisdomStar Of TechnologyMIUI KingStar WarsWallpaper StarMIUI Twitter FollowerForum Contest LoverMIUI Device ExpertMIUI Medals CollectorDie-hard MIUI FanMaster Of TechnologyMi Story TellerDebate MasterInbox ZeroMi TalentAndroid ElfMIUI Follower

 Author| 10:59, Feb-03-2018 | From PC
|
R.Yuliann replied at 2018-2-3 08:24
hmm.. i have some problem on installing  magisk, failed... any solution?

Dear user

Bootloader unlocked? And what is the error you are getting while flashing magisk?.

Thanks Regards
Cherri94

Gold Member

Rank: 3Rank: 3

Credits
354
Device
0
MIUI Version
V9.0.3.0.NDDMIEI
Online time
0 Hours
Send PM

2017 Annual Awards

11:02, Feb-03-2018 | From Mi Max 2
|
cherri94 replied at 2018-2-3 10:59
Dear user

Bootloader unlocked? And what is the error you are getting while flashing magisk?.

was unlocked +root..  failed to mount sdcard/magisk.zip device busy bla bla.. like that..

MIUI Resources Team

⭐Sujit⭐

Rank: 6Rank: 6

Credits
21647
Device
Mi 5
Redmi 4
Redmi Note 4 Qualcomm
Redmi 3S Prime
MIUI Version
8.2.1
Online time
335 Hours
Send PM

Mi MIXMi  BunnyMi BoxMijia Qi CycleMi Power StripMi VR HeadsetMi Power Bank 10000MAH Mijia Smart PTZ CameraMi Band 2Magic CubeMi ScaleMi VRUnlock MedalMi HeadphonesMi Kids WatchMi Bluetooth HeadsetMi Bluetooth Canon SpeakerMi HomeMijia Story TellerMi TV 70Xiaomi 7th AnniversaryMarshmallowMIUI Devices ContestFantastic!MIUI 8FlashholicI Love MIUIMIUI 2016Awesome!Redmi 4XMi 5Redmi Note 4Redmi 4/Prime/4ARedmi 3SHappy Valentine's DayRooster Year of 2017MIUI Lucky FridayXiaomi 6th AnniversaryMIUI Weekly PollWomen's Day MedalMIUI 6th Anniversary1900K Forum Members3 Million Forum App InstallsSuper WednesdaySuper TuesdayHappy New YearMerry ChristmasFan Of MIUI Russia2100K Forum MembersI Love 2016Pokemon Master Medal10 Million Forum PostsMIUI Marathon Medal1500K Forum MembersMIUI Monthly TalkMIUI Forum AppMIUI 20171 Million Forum App InstallsThanksgiving DayMIUI Fan from TurkeyMIUI Font LoverFan Of MIUI GreeceMIUI 50 Million UsersDiwali MIUI Fan From PhilippinesHappy DiwaliFan Of MIUI India3 Million Forum MembersMIUI 100 Million UsersFan Of MIUI BangladeshMIUI PMIUI 20 Million UsersMIUI SSurge S1Fan Of MIUI Spain1800K Forum Members300K Forum MembersPuzzle MasterHappy Holi MedalSuper SundayMIUI 7th Anniversary5 Million Forum App InstallsSuper FridaySuper ThursdayMIUI Happy MedalRocket to FutureSuper MondayMIUI World TourMIUI 93500K Forum MembersMiPopAlpaca Mi Bunny Technology GuruMIUI Twitter FollowerMi Lover MedalDebate MasterMIUI FollowerForum Contest LoverMIUI FB FollowerInbox ZeroStar Of TechnologyDie-hard MIUI FanUpdates LoverMr. DependableOTA FeedbackMIUI Halloween 2017Ringtone ExpertMIUI Android 4.4 KitKatTheme TalentMost Active MIUIerStar Wars6 Million Forum Members2017 Annual AwardsMIUI G+ FollowerIndia Independence DayMi Bunny Game Master Android GuruAndroid ElfHumor MasterMIUI KingMi Story TellerScroll Of WisdomMaster Of TechnologyPioneer of MIUI English Forum Most Popular Forum UserMIUI ExpertMi Talent7 Million Forum Members

11:02, Feb-03-2018 | From PC
|
Awesome Tutorial
Thanks for Sharing

Comment

cherri94 Welcome mate :-)  11:04, Feb-03-2018
Improvise; Adapt; Overcome

Connect Me On Facebook

MIUI Device Team

Credits
24103
Device
Mi A1
MIUI Version
V9.0.5.0.NCFMIEI
Online time
1018 Hours
Send PM

Mijia Story TellerXiaomi 6 LaunchMijia Qi CycleUnlock MedalMi Bluetooth SpeakerMi BandMi Kids WatchMi Selfie StickMi HomeMi Band 2Mijia Smart PTZ CameraXiaomi 7th AnniversaryFlashholicMIUI 7MIUI Devices ContestAwesome!MarshmallowI Love MIUIMIUI 2016Fantastic!MIUI 8Xiaomi Mi 4Mi 4SRedmi 3Redmi 2Redmi 1SMi 5X4 Million Forum MembersMerry ChristmasMIUI 300 WeeksMIUI 2017I Love 2016MIUI Monthly TalkRooster Year of 2017MIUI Lucky FridayMid-Autumn FestivalHappy New YearMIUI Weekly PollFan Of MIUI Bangladesh1500K Forum Members1800K Forum Members1400K Forum MembersDiwali MIUI 6th AnniversaryFan Of MIUI ItalyMIUI Forum App1700K Forum MembersMIUI Marathon Medal3 Million Forum Members1300K Forum MembersPuzzle Master1 Million Forum MembersSuper Sunday900K Forum MembersSuper Monday300K Forum MembersRocket to FutureMIUI 7th Anniversary3500K Forum MembersSuper TuesdayMIUI 50 Million Users5 Million Forum Posts10 Million Forum Posts800K Forum MembersSurge S1Super WednesdayWomen's Day MedalOlympics MedalSuper Thursday5 Million Forum App InstallsFan Of MIUI RussiaSuper FridayMIUI Happy MedalMIUI 9MiPopGamer Mi BunnyI Love Mi BunnyTechnology GuruMIUI FB FollowerMi Lover MedalDie-hard MIUI FanForum Contest LoverMIUI FollowerMIUI Android 4.4 KitKatMIUI Medals CollectorMi Bunny Game Master MIUI Halloween 2017Updates LoverMIUI SuperstarMIUI KingMr. DependableTheme Talent6 Million Forum MembersMi 5X2017 Annual AwardsMost Active MIUIerStar Of TechnologyScroll Of WisdomMaster Of TechnologyMi TalentMIUI Twitter FollowerAndroid GuruMIUI Device ExpertDebate MasterMi Story TellerMIUI ExpertRingtone Star Android ElfStar Wars

11:32, Feb-03-2018 | Via mobile
|
fantastic tut mate

Comment

cherri94 Thank you grandpa :-)  12:20, Feb-03-2018

MIUI Device Team

Credits
7606
Device
Redmi 3S
MIUI Version
7.12.21
Online time
81 Hours
Send PM

Magic CubeMi Band 2Mi  BunnyMi HomeMi Kids WatchMijia Walkie TalkieMi Bluetooth HeadsetFantastic!MIUI Devices ContestAwesome!Redmi 3SPuzzle MasterDiwali Happy DiwaliMIUI 2017MIUI Happy MedalMIUI 9MIUI Lucky FridayHappy New YearRocket to FutureMIUI 7th AnniversaryMIUI 100 Million UsersMIUI SSurge S1MIUI 50 Million UsersMIUI PMerry ChristmasMiPopMIUI Device TeamMi Lover MedalStar WarsPioneer of MIUI English Forum MIUI Android 4.4 KitKatMIUI Twitter FollowerScroll Of WisdomTheme TalentAndroid GuruMost Active MIUIerMIUI Follower2017 Annual Awards7 Million Forum MembersMIUI Medals CollectorStar Of Technology

12:11, Feb-03-2018 | From PC
|
Fantastic thread ...

Comment

cherri94 Thank you mate :-)  12:20, Feb-03-2018

Credits Management

Quick Reply Top Return to the list