yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 Pro Questions & Answers] Loku_kika:
Hey there,

I've been using my redmi note 5 pro for more than a week now, and straight up the camera packed on this thing is really good. But for a tech YouTube like me, who compares this phones with the top flagship devices, the results are inconsistent.

First off I compared it with iPhone X, and was shocked with the results. The redmi note 5 pro performed so much better than the iPhone X. Now some people may say that comparing the two is not fair as there is a humongous price difference between the two. But xiaomi itself said that the phone was a natural competitor with phones like iPhone X and Google Pixel 2.

SO I HAD TO COMPARE IT WITH GOOGLE PIXEL 2 XL. But the results weren't so good. When compared to pixel's images, note 5 pro's images look washed out and soft. But it didn't lack completely back, as note 5 packing a bigger aperture did a little better than pixel 2 in low light situations, but again the results were pretty inconsistent. So at the end of the day no one can match Google's amazing algorithms of HDR+.

But I think if someone can port the Google camera in note 5 pro it will perform so much better as these two device pack almost identical camera hardware.

I'm not sure if camera 2 api is fully unlocked in this phone, can somebody please tell me how to do it. Do I just need to download the Google camera apk from the internet? I'm really curious to see how the redmi note 5 pro will perform with Google camera's algorithms.

Peace:D
[Xiaomi Redmi Note 5 Pro Questions & Answers] hasan05:
You need to unlock your bootloader first and than flash twrp and magisk and than you can enable camera api 2 by editing Build.prop
[Xiaomi Redmi Note 5 Pro Questions & Answers] vedantdude:
Pixel has a bigger aperture, also with a larger pixel size than the note 5 pro... low light won't be better on the note 5 pro.

I rooted, enabled camera 2 api, installed google camera....but Google camera images had a lot of noise compared to stock camera(you can see noise on zooming into the pic)
[Xiaomi Redmi Note 5 Pro Questions & Answers] SUMAN96:
Can you post pics taken from google camera for comparision?
[Xiaomi Redmi Note 5 Pro Questions & Answers] vedantdude:
https://drive.google.com/file/d/12CUUokprlOcx624zPThutjfBhmoZ0TWU/view?usp=drivesdk

https://drive.google.com/file/d/1t2dcx_Xd87o1ml4_mgmh1jea2Is_QXDH/view?usp=drivesdk
[Xiaomi Redmi Note 5 Pro Questions & Answers] arinanda19:
hdr+

HDR+ and Potrait Mode on google camera work or not?
[Xiaomi Redmi Note 5 Pro Questions & Answers] nanduvk:
Does the Google camera port work exactly as it is working in mi A1?
[Xiaomi Redmi Note 5 Pro Questions & Answers] Ammo thind:
Oh man yes gcam make 5 mp like 16 mp
[Xiaomi Redmi Note 5 Pro Questions & Answers] nanduvk:
But am asking whether it works in note 5 pro?
[Xiaomi Redmi Note 5 Pro Questions & Answers] ehsannn:
Google cam cant make RN5Pro images better. No google phone has dual cameras so Gcam will always use single lens to capture images
[Xiaomi Redmi Note 5 Pro Questions & Answers] Ammo thind:
Our phone is also using single lens to capture images except portrait
[Xiaomi Redmi Note 5 Pro Questions & Answers] aguna.595:
120 fps video recording

the soc snapdragon 636 can have the feature of 1080p recording at a frame rate of 120fps, so can we able to record this on redmi note 5 pro using any third party app by rooting?
[Xiaomi Redmi Note 5 Pro Questions & Answers] ehsannn:
i think this phone doesn't need Google cam bcz it produces good images
[Xiaomi Redmi Note 5 Pro Questions & Answers] Ammo thind:
You have used h

Gcam before
[Xiaomi Redmi Note 5 Pro Questions & Answers] ehsannn:
yeah on redmi note 3
[Xiaomi Redmi Note 5 Pro Questions & Answers] mrfaggio:
perhaps it is necessary to install modified driver for the camera. (if this exists).

in youtube i saw a video that teached where find and install the driver, then install google camera on a note 4.

the difference in the photo (with original driver and with modified driver + google camera) was remarkable.
[Xiaomi Redmi Note 5 Pro Questions & Answers] Harshitsamrat007:
B

The second camera in rn5p is a depth sensor! So the primary lens does all the work and gcam will only use the primary lens ! So why wont it make the images better.

Though for A1 both lens Gcam has been ported at it works great!!!
[Xiaomi Redmi Note 5 Pro Questions & Answers] kalangosxxx:
Dude, I'm too eager to see this. I have a Redmi 4 Prime and the Cameracam API enabled with Gcam have worked miracles on my photos. I'm looking forward to buying RN5P, but I'd like to see your photos better.

https://photos.app.goo.gl/JROABxbraRXfajHQ2
[Xiaomi Redmi Note 5 Pro Questions & Answers] Gcam05:
How to install google camera in redmi note 5

Tell me sir....plz plz plz plz plz plz plz plz plz plz plz plz plz plz plz
[Xiaomi Redmi Note 5 Pro Questions & Answers] dundun1701:
I have been wait for 2 more weeks to unlock my phone.

Hope to see the update which allow Google cam work on 5pro at that time. :3
[Xiaomi Redmi Note 5 Pro Questions & Answers] GCAF:
I think the stock camera app should have that feature, but if not, try with OpenCamera
[Xiaomi Redmi Note 5 Pro Questions & Answers] ajul_raj:
Anyone got Google camera working on resurrection remix ROM?

EDIT:

This Gcam mod is working on resurrection remix rom except for the front potrait mode.

https://www.xda-developers.com/google-camera-mod-portrait-mode-lens-blur-4k-video/
[Xiaomi Redmi Note 5 Pro Questions & Answers] NickTheSickDick:
Can anyone provide a front HDR+ uncompressed photo?

I'm really curious what it looks like, as gcam does wonders with my mi6's 8 mp camera.
[Xiaomi Redmi Note 5 Pro Questions & Answers] TheCarryEnd:
^Doesn't work yet
[Xiaomi Redmi Note 5 Pro Questions & Answers] nimizz:
Hey.. how did you manage to get it working on RR?? On mine it just force closes.:crying:
[Xiaomi Redmi Note 5 Pro Questions & Answers] ajul_raj:
You need to enable camera 2 API

BTW I would recommend trying bsg's mod as front potrait mode is working on it.

https://xdaforums.com/redmi-note-5-pro/themes/google-camera-mod-bsg-t3784060
[Xiaomi Redmi Note 5 Pro Questions & Answers] junioreinstein:
i wana know this as well. or atleast 1080p 60fps
[Xiaomi Redmi Note 5 Pro Questions & Answers] :
With this APK we can disable front cam HDR: https://www.celsoazevedo.com/files/android/google-camera/f/MGC_5.1.018_Urikill_vXXII.apk

Only issue is when setting a 16:9 resolution the viewfinder gets stretched to the whole screen. Photos come out ok though.
[Xiaomi Redmi Note 5 Pro Questions & Answers] apih46:
try this mod..working on resurrection remix n potrait mod is working but when switch to front camera, flash auto on

https://xdaforums.com/mi-a1/themes/magisk-google-camera-telephoto-lens-t3767531
[Xiaomi Redmi Note 5 Pro Questions & Answers] pradeepvg:
how to install google camera on miui 9.2.13
[Xiaomi Redmi Note 5 Pro Questions & Answers] Vasu Mak:
fingerprint in google camera

how to enable fingerprint in google camera for redmi note 5 pro??
[Xiaomi Redmi Note 5 Pro Questions & Answers] alexmason90:
Sir best gcam with no noise for Redmi note 5 ai?
[Samsung Galaxy J3 (2016) Questions & Answers] Yellaboi:
in serious need of help... please email me@ rashonyoung2017@gmail.com
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] Wilsonb:
Heya, thanks for the new thread..

Stupid question(coming from Samsung flashing)

Ive got Zenpad S3 10 P027, is this TRWP not ideal for this?

Currently, have some su (root) issues. Recovery shows Android icon chest with ! and says "No Command"

When running su in Terminal ADB via PC, says command not recognized.

Looks like I need to reflash recovery. When in TRWP (launched via fastboot boot twrp on PC) I flashed stock recovery but had system mounted read only. Could that be the problem?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Bro, I think you need to do some more homework on root, su, dm-verity, mods, etc. and read the instructions more carefully before applying these hacks. You are making a lot of simple mistakes and ending up shooting yourself in the foot for it. I don't think there's anything wrong with the Z500 TWRP. It can handle installing the stock firmware just fine. The problem is elsewhere. The unlock tool also works fine in TWRP as well in my testing.

The No Command screen is normal. That's been answered many times... you need to hold power+vol. up (or down) to get to the menu. There is no way the stock recovery image can be broken and still boot up.

The su thing, IDK what the problem is, but I'm sure if you install Magisk Manager and make your own patched image from your currently installed firmware, and fastboot-boot with it, you will have su functionality. Just like what it says in the unlock tool instructions.

Lastly and most important, never mount system in read-write mode, as I've repeated several times and exactly as it says in the directions:

The only time you can mount it in read-write mode is when you are absolutely sure you have disabled dm-verity in your boot image.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] ahacker:
I've successfully installed TWRP on Z301M using the instructions from the first post, but then I somehow managed to lose the system. Yes, I should have backed up like the OP suggests.

I thought I should be able to reinstall the original firmware downloaded from Asus (e.g. UL-ASUS_P028_1-WW-3.3.12.0-user.zip) but both the 'adb sideload' method and the TWRP failed to install that firmware zip. My device looks bricked. The only thing I can do is to boot into TWRP (I actually need to select Factory Reset on the bootloader screen to get into TWRP). The folder 'system' is empty.

Can anyone suggest what I am doing wrong when trying to restore the Asus firmware?

When I try to sideload the zip, setting TWRP in the sideload mode, the computer begins uploading but after a few seconds gives the message "Total xfer: 0.01x" and stops, while Android errors with "set boot part fail. can not open misc-sd".

When I install the firmware zip from TWRP it also starts installing fine but shortly gives the same error "set boot part fail. can not open misc-sd".

Thanks
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
[MENTION=4776997]ahacker[/MENTION], first of all, thank you for the feedback on the Z301M platform. You are literally the first person to have said anything about that version of TWRP. :)

To see the files on system, you first have to mount the system partition. Did you do that? If not, I suggest mounting it read-only. If there was any corruption on it, then reinstalling the firmware should have fixed it. The "misc-sd" errors are normal. Pretty sure they happen on stock recovery too. The stock firmware does not have dm-verity enabled, so letting TWRP modify system to prevent overwriting recovery should not have caused any problems.

At which point did it stop booting? Also, did you use the scatter file from first post? And can you tell me if the touch screen works fine in TWRP on your tablet?

I'm not sure what the deal is with adb sideload. I don't think I've ever actually tried it....
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] ahacker:
diplomatic, thanks for replying!

I do mount the system partition. It appears empty. When I reboot into system TWRP says that the OS is not installed.

I don't remember the details of how I lost the system partition. First time I entered into TWRP it asked for a password, probably to mount some partition. I pressed cancel or something. Then I might have cleaned the caches. But I am sure I haven't wiped system. I might have pressed Factory Reset somewhere, because I don't have any data yet on the new tablet.

I would indeed try to mount the system read only. This is not the first Android system I rooted (maybe fifth), and I was always able to restore the system either from sideload or recovery. But here it seems Asus is making us jump extra hoops to do that.

That seems to be my main problem now. I cannot reinstall the Asus firmware. It may look like I might be installing a wrong version, but I am positive that I have Z301M tablet. This is what I bought and what the boot-loader says. I download Z301M firmware from the Asus website (e.g.). So it must be a correct firmware.

Thank you for the information.

Yes. I found that to be the only scatter file that worked. I tried scatter.txt from the firmware zip, but the Flash Tool refuses tio pick it up. TWRP seems to be working fine with touches working as expected.

This is the unbricking method described here. It probably does the same thing as the "Install Zip" from recovery, because the errors that both methods give are the same.

---------- Post added at 01:19 AM ---------- Previous post was at 12:57 AM ----------

Now system refuses to mount :(
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Er, the password should have been for decrypting your userdata. If you didn't have one set up, there might be something wrong there.... Or possibly just unformatted.

Yeah, that has to be the right one. The installation script has to match the model name reported by the recovery. Otherwise it would simply abort.

Great! Guess my kernel patch was on the dot and the partition layout has not changed from the Z300.

When you installed the zip, did you unmount system completely? BTW, when you mentioned the errors, the installation does keep going for like 5 to 10 minutes afterwards, right?

If you still can't resurrect it, please post or send me the recovery & kernel log that has your installation attempt.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] ahacker:
I've tried both ways, with and without system mounted, a few times. The installation would fail after something like 5 seconds.

I think I am giving up on this cheap tablet. I cannot even format it in the Flash Tool: it says "To format code area is forbidden on this phone". Asus is forbidding too much for me to ever buy it again. Attached the logs.

Thanks, diplomatic
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
OK, found the problem. Check your PMs, ahacker.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] ahacker:
I have replied (twice), but the reply does not appear in my Sent Items. I hope it has reached you. If not, I'll paste the reply here, if you don't mind.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] aleMarvel:
i not understand... i have Asus ZenPad 10 LTE Z301MFL.. a root method has been released ???
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] NeBouse:
[MENTION=8132642]diplomatic[/MENTION]

Would this be compatible with Z0310M ? can't find anything for this damn model...
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Hi, NeBouse,

Are you sure you have the correct information? It looks like just a misspelling of Z301M, aka P028....
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] ahacker:
I have z301m.

One thing that was a surprise for me is that the TWRP recovery flashed with the method described in the original post does not stick. You have to flash it each time you use it. If you are like me this information is important, because the original recovery plainly wipes your data without asking or warning.

After you have flashed TWRP on the device, to go to the recovery mode you have to chose "Factory Reset" in the bootloader. Then it will complain about wrong OS, which is the sign that flashing TWRP worked; choose 'yes'. The first thing you should do in TWRP is a ful nandroid backup. (Not listening the OP's advice about backing up when Installing TWRP with a wrong scatter file almost cost me the device. Thankfully diplomatic managed to remotely fix my problem, probably spending a lot of his personal time. The scatter file in the original post is a correct one now.)

Creating a nandroid backup in TWRP takes unusually long time, I even once decided that it hanged. Taking long time, like 10-30 minutes, for a full backup is normal.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] BladeBrown7:
Asus Z300M , Magisk 16.3 (beta) and FW 5.3.19 WW now works!
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] ahacker:
z301m, WW-3.3.12.0 firmware

For rooting I've installed in TWRP Magisk v15.3 (diplomatic warned against 16.x, someone else against 15.4) - link.

Installed in TWRP xPosed framework 88.2 - link, and xPosed Installer apk from within Android - link.

So far, so good.

What I've found is that TWRP seems to have problems with external sd cards (lots of fs corruption). I found it safer to unmount by hand by unticking the sd card checkbox in "Mount". Not very conclusive about this though.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Thanks, ahacker. Good feedback. Although to be fair, I didn't say to avoid Magisk 16.x. I said 16.0. I'm pretty sure whatever bug it had is already fixed in the latest version.

Now that you've installed root, TWRP will stick around on the emmc. The stock recovery only gets installed if you have the original unpatched boot image on it. I mean, this is not unique to these devices. That's been standard Android functionality since some 4.x or 5.x version. And this is essentially what's in the warning on the OP.

The backup I'm talking about in the installation method is done with the SP Flash Tool readback function. That will pull the partition tables and your device's "metadata" that's unique to your unit. I don't think nandroid covers that...

Oh, and what is this SD corruption you're talking about? What file system is it formatted in? Have you checked your card for errors in Windows?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] wilson2008.hsu:
Asus releases so many difference Z301M model, so I am curious if this also works on Z301MF model?

Notice Z300MF has the MTK8163BA (or MTK8163A?) CPU model while Z301M uses : 8163B

Anyone tested that already? Thanks.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] kaaskopje1:
my zenpad 10 has frp lock. it this a solution to remove the frp lock?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] tiago199988:
Pls help how i flash original software via fastboot ?????
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] allyes555:
Thank you diplomatic for your quick reply.

The reason I do not want to update my FW because my experience previously with many phones and also reading on forums about peoples stories that after update somehow the tablet or phone slows down. Somehow I believe that the original FW is best matched to that hardware and everything runs smoothly with original FW, may be its my superstition.

Usually I can prevent updates by stopping the FOTA and also stopping the auto update. But in this case of Z300M I cannot disable FOTA and the moment I go on wifi or Internet it downloads FW update and even if I say do not install it is insiting on update. SO since one month I have the tablet I am not connecting to WIFI and so preventingg the update.

If I do the emergency download by alternative method which TWRP I have to use? from 380M or from Z300M 16gb?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] kpierro:
Hi, quick question, had to replace screen on my Z301M P028 and got a problem with touch screen, is inverted :/ is there any easy way to change it back to normal? Not able to edit on tablet or replace via ADB build.prop. Sorry but I'm completely new with android rooting or under the hood works forgive me my ignorance :)
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Yeah, use the files marked for your device, along with the preloader bin (unchecked) from the FW package. But I can't tell you if or how well it will work.

FWIW, that's a bizarre reason to keep Android 6 on this device. I don't think Android 7 slows down this tablet. The new FW actually fixes a lot of problems the previous one had. Android 6 was buggy as hell on these devices. There were major bugs with wifi, adoptable storage, from what I remember. Plus, it adds features and security updates. Most people want to have Android 8 or later instead. ;) I would recommend you do the upgrade and try it. It's possible to downgrade via TWRP later on.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] allyes555:
Finally it worked but with lots of boot loops :D

First of all thank you for your experienced insights. And here is in brief how I finally got TWRP and Magisk on my Zenpad..

1. I installed VCOM preloader driver by disabling driver signature verification in windows 8.1 !!!

2. Used the alternative method with preloader from official firmware!!!

3. Flashed the recovery and rebooted and modified the bootloder to include TWRP.

3a. My interstorage was encrypted!!! and asked me password.

4. Then I installed supersu and rebooted

But it got stuck on Asus logo, so I installed the android 6 stock FW using TWRP after wiping cache but did not work so I had to format the tablet and then install 6 but still did not work.

5 Downloaded latest FW android 7 from asus as suggested by you and installed using TWRP!!! ANd It worked :D

Then I installed Magisk 18 using TWRP and on the tablet installed Magisk Manager 6.1 apk and got root rights

Thank you. Without your support it was impossible. The tablet is very fast on Android 7.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Great! Glad you got it sorted out.

A couple of points I have to add:

There are signed MTK drivers out there, either on Windows Update, or the "clean" 2.x version from Huawei that uses the built-in Windows binary

The Android 6 on the ZenPad has dm-verity enabled, whereas for some reason they disabled it on 7.0. That means you can't swipe to keep TWRP without making your device unbootable. (That's why I don't advise modifying system on dm-verity enabled ZenPads). Even mounting /system in r/w mode will trip dm-verity. You have to disable verity with Magisk or something before proceeding.

When you install the FW, you must unmount the system partition. Otherwise it could be corrupted before you even leave the recovery. Might be something that happened in your case.

TWRP decrypts your userdata without a problem. It's happens transparently so you don't even notice it. I think it failed in your case because it couldn't access hardware encryption. The reason is the kernel TEE driver did not match the old TEE firmware. Chalk that up to an incompatibility with the MM firmware that I was talking about.

Actually, now that I think about it, whenever you modify the boot image on MM, you have to sign it. The old bootloader does not let you boot red state images, from what ppl have posted.

OK, that was more than a couple... sorry.

So in the end you did end up with the latest FW even if you did in a roundabout way. I think you will like it.

BTW, thank you for the ad-free thing!
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] jony_adamit:
Thanks [MENTION=8132642]diplomatic[/MENTION] for this post.. I used it to successfully recompile P028 kernel to support a replacement touchscreen I installed.

Think anyone would be interested in me posting my kernel compiling experience? Haven't seen any specific for Asus Zenpad 10, but this is my first kernel compilation ever.. I bet there's an easier way than what I had to go through...
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Wow, awesome... and what a coincidence? Because a guy was just asking about support for a replacement touchscreen a few posts up:

This sounds like the screen was not 100% compatible, possibly meant for Z301ML. Maybe you can share your boot image with him? (Or compile one for him if his problem is different.) Or better yet, post it in a new thread. You might also want to compile a custom TWRP for this situation, because I'm sure the touchscreen is inverted/dysfunctional in there as well.

And yes, this is the best method to fix the touchscreen. :good: So you went about it the right way. I was going to suggest this to kpierro, but he was asking about an easy way to do it, so....