yashsingh1/xdaforums huggingface dataset:
[Galaxy S6 Android Development] IganKuhz:
Some apps and libs are not in the ROM that's why Smart View is not present. I have created a Flashable ZIP that reactivates that option, I can upload it, only if OP allow me.
[General Questions and Answers] korn16ftl3:
Hello,

I have a rooted samsung galaxy s5 and am looking for a program (pc or phone app freeware or not) that can deeply scan my phone, I'm looking for texts that I had left on my phone from 2016 but seemed to have somehow vanished. I'm jist looking for a program that someone might recommend that thoroughly scan my phone for (all files would be nice) my text messages as well as recover them.

I have attempted to use the app GT recovery but it only found parts of the misplaced texts that I'm looking to recover.

Any help would be greatly appreciated and thanks in advance.
[Xiaomi Mi A1 Guides, News, & Discussion] jashancheema:
Hello guys this guide is for who want to root phone without disabling ota updates.

Follow this easy steps

1. Download and install magisk manager apk latest from here (official thread)

2.Download patched boot.img for may security patch frm here

Download patched boot.img for june (8.1) security patch frm here

Download patched boot.img for july (8.1) security patch frm here

3. Extract patched_boot.img.zip

4. Copy patched_boot.img in fastboot folder.

5. Enable developer option in ur device and enable oem unlocking in developer option.

6. Turn off ur phone.

7. Now press and hold voume down+power button.

8. Now connect your device with PC in fastboot mode

9. Type command

fastboot oem unlock

10. now type

fastboot boot patched_boot.img

11. Then open magisk manager app and then install magisk using direct method and reboot once again

DONE...

HIT THANKS button if your phone rooted.

USE THIS GUIDE WHEN OTA ARRIVES

Click Here To Join The " Mi A1 Developent Group " in Telegram​

Ask for help in telgram group if u facing any problem
[Xiaomi Mi A1 Guides, News, & Discussion] jimpsar:
hi thanks for sharing .

trying both a and b and says failed.

remote:partition flashing is not allowed
[Xiaomi Mi A1 Guides, News, & Discussion] odyss199:
Is there a reason why it says for galaxy a5? xD :p
[Xiaomi Mi A1 Guides, News, & Discussion] belean_cristian:
Hi.

I can confirm that the above method works. You have to unlock your bootloader first.

Go to About phone -> Build number, tap it a few times until you enable Developer options. In there make sure OEM unlocking and USB debugging is enabled.

Reboot to fastboot (VOL- + Power) and type fastboot oem unlock, reboot phone, turn off and start in fastboot mode and execute first post commands.

It works passing SafetyNet once you finish installing latest Magisk.

Good luck.
[Xiaomi Mi A1 Guides, News, & Discussion] traianescu:
when installing the magisk manager ? before patching, like any other apk ? also, no need of regular magisk ?
[Xiaomi Mi A1 Guides, News, & Discussion] belean_cristian:
After executing all commands from first post if you check ROOT status it will be OK but SafetyNet will be broken. Then install magisk from inside Magisk Manager, the recommended way and is will pass it.

At least it worked like that for me.

Good luck.
[Xiaomi Mi A1 Guides, News, & Discussion] traianescu:
ok, but when we are installig the magisk manager?..as it is an APK - so have to install it like any other application.. but when ? before or after executing the commands ?
[Xiaomi Mi A1 Guides, News, & Discussion] belean_cristian:
After everything from first post.

Inside Magisk manager you have the button Install no other apk.

Good luck.
[Xiaomi Mi A1 Guides, News, & Discussion] traianescu:
magisk manager ask for .img ? but where it is located ?

---------- Post added 2nd January 2018 at 12:20 AM ---------- Previous post was 1st January 2018 at 11:46 PM ----------

no one know what to do now ? magisk manager asks for an img.. but not installing in any way the magisk 15.2..
[Xiaomi Mi A1 Guides, News, & Discussion] thirakun:
u must unlock bootloader first
[Xiaomi Mi A1 Guides, News, & Discussion] TerQQ:
safetynet works?
[Xiaomi Mi A1 Guides, News, & Discussion] traianescu:
for me it is: magisk not installed and ctsprofile: false

i don't know how to install magisk with the magisk manager.. i am trapped there
[Xiaomi Mi A1 Guides, News, & Discussion] TerQQ:
Just checked. Try reinstall via magisk manager after that it works
[Xiaomi Mi A1 Guides, News, & Discussion] traianescu:
how ? i press install.. ask me for a boot img.. i downloaded even the one linked by the op.. but nothing to do..

---------- Post added at 01:21 AM ---------- Previous post was at 01:13 AM ----------

it works... but it is not boot_a.. i flashed again with boot_b

---------- Post added at 01:21 AM ---------- Previous post was at 01:21 AM ----------

ok .. now eis and google camera for oreo ?
[Xiaomi Mi A1 Guides, News, & Discussion] belean_cristian:
You must unlock your bootloader first. Follow my previous steps.

After that, reboot, you will see an message when booting from Linux system. It's normal.

Follow steps from first post here.

After installing magisk manager, entering fastboot and patching boot image, start the system and after that, install magisk from inside magisk manager.

Hope this helps.

Good luck.
[Xiaomi Mi A1 Guides, News, & Discussion] zer_s:
ive rooted my phone beforehand, will this method still work?
[Xiaomi Mi A1 Guides, News, & Discussion] Funnnny:
Here is a easier process if you really want to check if the boot.img is compatible:

First enable OEM Unlock in developer settings

- Reboot to fastboot (volume down + power)

- fastboot oem unlock (won't wipe)

- fastboot boot patched_boot.img

- After Android finishes booting, install Magisk Manager.

- In Magisk Manager, use Install and install the latest Magisk with Direct Install

- Reboot and you're done
[Xiaomi Mi A1 Guides, News, & Discussion] Edwin Hamal:
Is the patched boot.img compatible with Oreo stable? The patched boot.img says it's for Galaxy A5, that's creepy.
[Xiaomi Mi A1 Guides, News, & Discussion] Funnnny:
It is.
[Xiaomi Mi A1 Guides, News, & Discussion] jashancheema:
Yes
[Xiaomi Mi A1 Guides, News, & Discussion] belidzs:
Thanks, this should be the preferred method doing this!
[Xiaomi Mi A1 Guides, News, & Discussion] afrizal87:
me too..please help!!

Please i have the same issue..
[Xiaomi Mi A1 Guides, News, & Discussion] jitensetia:
Ohkk... Then can you please give me the link to fastboot oreo rom (working one coz which I downloaded failed at last step in MiFlasher)
[Xiaomi Mi A1 Guides, News, & Discussion] The_Scrub:
fastboot folder

Where do i find this fastboot folder?It's not on pc or mobile
[Xiaomi Mi A1 Guides, News, & Discussion] marhensa:
i think we shouldn't flash patched boot kernel, just boot it, do not flash it, thus we will still have stock kernel backup.
[Xiaomi Mi A1 Guides, News, & Discussion] goofball2k:
It's the folder that has the command fastboot.exe on your computer. You should also see adb.exe in the same folder.
[Xiaomi Mi A1 Guides, News, & Discussion] The_Scrub:
I did that and i got error: cannot load 'patched_boot.img'
[Xiaomi Mi A1 Guides, News, & Discussion] marhensa:
Hope it helps someone, with detailed instructions.

Prequisite:

- ADB and Fastboot tools from Android SDK, can be downloaded just the "platform-tools" files needed here.

- Patched boot from the first post, unzip it and place patched_boot.img into the same folder as adb.exe and fastboot.exe

1. Enable Developer options from Settings (System \ About phone, tap multiple times "Build number").

2. Go to System \ Developer options, check OEM unlocking.

3. Unplug any cable from the phone if any. Turn off the phone, turn it on and press volume down untill Fastboot screen appears, then plug USB cable from computer to the phone.

4. Hold Shift and Right-click at platform-tools folder (folder which contains adb.exe and fastboot.exe), then click Run command prompt here, or Run Windows Powershell here.

5. Check fastboot connection by typing: fastboot device. If connection is succeed, it will shows your device fastboot code.

6. Unlock bootloader by typing: fastboot oem unlock

7. Temporarily use patched kernel from the first post by booting into it (not flashing it), by typing: fastboot boot patched_boot.img, wait untill it reboots automatically.

8. When phone is temporarily booted with patched kernel, install latest Magisk Manager APK, which can be downloaded from here

9. Open Magisk Manager, then tap Install, to install Magisk, choose to install it with Direct method, then tap Reboot when app says it.

10. Install this zip module with Magisk Manager app, to switch SELinux to permissive mode, because enforced mode + Magisk is laggy as hell on some apps, including default camera app. After install zip, choose Reboot.

11. Enjoy. When OTA comes, use this guide to keep Magisk stays installed and running.
[Xiaomi Mi A1 Guides, News, & Discussion] chalzz:
follow this method to boot patched img, after install magisk and reboot my phone always boot to recovery mode..
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
Make sure that you have flashed stock boot.img before you start the procedure.
[Xiaomi Mi A1 Guides, News, & Discussion] marhensa:
with magisk installed, default camera app opening is so slow, idk why.. about 4-5 secs.

even without any modules installed.

i tried to uninstall magisk, then camera app opens quickly as before.

is it bug or something?
[Xiaomi Mi A1 Guides, News, & Discussion] Zoro12:
No I'm done rooting I was bit concerned for OTAs cuz I didn't boot the patched boot image in the specific slot considering this post the command that I use were

fastboot oem unlock

fastboot boot patched_boot.img

fastboot reboot !!!!

:o
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
Guide in OP is wrong, but author doesn't want to correct it.. You should not flash patched boot image, only boot it once. After this command "fastboot boot patched_boot.img " phone starts automatically, "fastboot reboot" is pointless.

If you didn't flash patched_boot.img (which seems you haven't), you should be able to apply OTA without any issues.
[Xiaomi Mi A1 Guides, News, & Discussion] Zoro12:
No I just booted the patched_boot.img

That (flash word) in the reply was a typo ??
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
You should be fully ready for OTA then :)
[Xiaomi Mi A1 Guides, News, & Discussion] Zoro12:
Thanks for guiding me ;)
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
Switch SELinux to permissive mode and delay will be gone - use quick and easy app for that, or Magisk module or any other available way :)
[Xiaomi Mi A1 Guides, News, & Discussion] Zoro12:
Will this above given OTA guide work for Major Android updates ??
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
It's hard to predict future.. In theory yes, but no one can and no one will guarantee you that.

During major upgrades you should be always prepared for three things:

1. you may lose data

2. you may lose root access

3. you may lose custom recovery

As a preventive measure:

1. make periodic backups of all data

2. wait for devs or more skilled users to confirm procedure to keep/gain root

3. wait for devs or more skilled users to confirm custom recovery availability
[Xiaomi Mi A1 Guides, News, & Discussion] marhensa:
yes, much quicker now like it should be.

thank you very much... :good: :cowboy:

as side note for anyone else facing this problem, before installing that app,

disable Google Play Protect, in Settings \ Security & Location
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
You can keep Google Play Protect, but you have to confirm that you want to install the app and that you don't want to remove it. Hopefully we won't need it anymore with next update of ROM or Magisk.
[Xiaomi Mi A1 Guides, News, & Discussion] marhensa:
this magisk module (magisk-permissive-script_v1.1.zip) does the same job,

i choose this module from now on, because Google Play Protect always warn me about that app.

:D
[Xiaomi Mi A1 Guides, News, & Discussion] Zoro12:
As I've enable camera 2 API through magisk module uninstalling/disabling it and rebooting to apply the changes

Will I be able to install OTA successfuly??
[Xiaomi Mi A1 Guides, News, & Discussion] T3K0:
I cant reboot my phone anymore, not 100% its a problem of magisk but its a fresh oreo install. When I reboot its just stuck on the boot logo and I have to reset with Vol- and Power then it just boots like it should.
[Xiaomi Mi A1 Guides, News, & Discussion] punkmexic:
How to unroot? I installed magisk and superuser is the only thing I have done, that is like having root but without altering /system that's what I read, so I'm confused
[Xiaomi Mi A1 Guides, News, & Discussion] jashancheema:
Yes its because of magisk

U installed some nodules which not working on oreo.
[Xiaomi Mi A1 Guides, News, & Discussion] AuGusT18.YnOo:
I faced wifi disable and cannot enable hotspot issue when I have rooted on my miA1 that you provided both December and January patched_boot.img. Let me know is there any solution to fix the issue?
[Xiaomi Mi A1 Guides, News, & Discussion] chalzz:
After run boot patched boot command my phone always boot to recovery mode, cant boot in to system until i flash patched boot, so i think i cant run boot patched boot command.. Is it normal?
[Xiaomi Mi A1 Guides, News, & Discussion] ngohoainam:
my phone is currently on Jan 1, 2018. so do i need patched boot.img for Jan 1, 2018 to root my phone?
[Xiaomi Mi A1 Guides, News, & Discussion] yurx:
Why not?
[Xiaomi Mi A1 Guides, News, & Discussion] jashancheema:
Yes use January patched img
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
You can't lock bootloader with modified boot or system partition. They must be 100% stock.
[Xiaomi Mi A1 Guides, News, & Discussion] _MrAlpha_:
Hey guys, it's me again :p

I managed to make my computer recognize the phone while in fastboot mode.

So, I did fastboot oem unlock and it all worked great (bootloader unlocked).

However, by typing fastboot boot patched_boot.img my phone can't reboot and gets stuck on the AndroidOne loading screen.

If I shut it off the device can be rebooted as usual.

I started this procedure after Oreo 8.0 patch. There are no old files/directories regarding Magisk or other stuff as I have yet to install it.

Where's the problem?
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
How long did you wait for it to boot up? You could try to boot test build of TWRP and flash Magisk from there.
[Xiaomi Mi A1 Guides, News, & Discussion] _MrAlpha_:
About 10 minutes.

So should I put the test build of TWRP in the folder just as patched_boot.img and then do fastboot boot (TWRPbuild)?

EDIT: Pack it up, boys! Fourth time's a charm! It worked. Going on with the Magisk stuff now.
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
10 minutes is too long, you are right. But glad that you get it sorted out :)
[Xiaomi Mi A1 Guides, News, & Discussion] Khan da dj:
? camera 2 API

[RIG​

[/

Is there any way to edit build.prop without disabling the OTA updates or any other method coz gcam just need camera 2 API​
[Xiaomi Mi A1 Guides, News, & Discussion] Zoro12:
Use magisk module to enable the Camera 2 API & when the OTA receives just disable/unistall & reboot the camera 2 API will be gone & follow this

https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips

For install OTAs

And here is the module for Camera 2 API

https://drive.google.com/drive/mobile/folders/1JmT_rwQDtfdd2UOR-DAsX1dZLiDa_8IT?usp=sharing

(Enable/flash) Both the zips by magisk, and also use the modded camera in the above link ;)

---------- Post added at 08:40 PM ---------- Previous post was at 08:37 PM ----------

Do we have to repeat this process after we install/update system to January security patch/latest update with a different patched boot image (january patched boot image)

Do we?????????? :eek:​
[Xiaomi Mi A1 Guides, News, & Discussion] Pedrozs:
Did you do anything different? How long did you wait for it to boot? Im having the same problem =/

Thanks!
[Xiaomi Mi A1 Guides, News, & Discussion] Bruno_lp:
With this i loose the waranty? I'm from México and i realy want to test the google camera in my A1
[Xiaomi Mi A1 Guides, News, & Discussion] jashancheema:
Yes maybe it will void warranty
[Xiaomi Mi A1 Guides, News, & Discussion] Rajeev:
U can always relock ur bootloader. There is no count as Samsung doing.. In my knowledge
[Xiaomi Mi A1 Guides, News, & Discussion] ngohoainam:
sir. can i ask 1 more question? if i follow this guide - (https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips) when there is an OTA update then i restart phone (i follow exactly what the guide tells me). Then after finishing does my phone lose root or does my phone come back to unroot status? i am a newbie to root phone so maybe my question is quite stupid :)
[Xiaomi Mi A1 Guides, News, & Discussion] jashancheema:
Yes no knox in our device

?????
[Xiaomi Mi A1 Guides, News, & Discussion] jashancheema:
U will not lose root after installing ota with this guide
[Xiaomi Mi A1 Guides, News, & Discussion] Khan da dj:
Camera 2 API can be enabled with system updates

Can xiaomi enable the camera 2 API in future with system updates???
[Xiaomi Mi A1 Guides, News, & Discussion] aa Ganteng:
After rooting I got problem with camera lag, how to solve this problem?

Anyone can help me?
[Xiaomi Mi A1 Guides, News, & Discussion] Zoro12:
May or may not !!!

---------- Post added at 08:22 AM ---------- Previous post was at 08:19 AM ----------

Use this link and flash/use the modules i.e the module named (magisk SELinux permissive script)

It will remove the lag ;)

https://drive.google.com/drive/mobile/folders/1JmT_rwQDtfdd2UOR-DAsX1dZLiDa_8IT?usp=sharing
[Xiaomi Mi A1 Guides, News, & Discussion] Hellrazoraj:
Thanks Op!! Everything works seamlessly superb
[Xiaomi Mi A1 Guides, News, & Discussion] rasputine:
there's a way i could delete magisk via fastboot?

because i got bootloop when flash some module
[Xiaomi Mi A1 Guides, News, & Discussion] jashancheema:
Just flash stock boot.img

https://www.androidfilehost.com/?fid=889964283620776815
[Xiaomi Mi A1 Guides, News, & Discussion] rasputine:
thanks, its work :D

now every i boot patched_boot.img, i'm always got bootloop. Any solution?

thanks
[Xiaomi Mi A1 Guides, News, & Discussion] Gurpreet Josan:
What patched_boot.img includes????
[Xiaomi Mi A1 Guides, News, & Discussion] jashancheema:
Pm on telegram
[Xiaomi Mi A1 Guides, News, & Discussion] jashancheema:
Magisk root
[Xiaomi Mi A1 Guides, News, & Discussion] killingkillbill:
same problema here, I always got bootloop when I boot patched_boot.img :S
[Xiaomi Mi A1 Guides, News, & Discussion] coremania:
Create your own patched_boot.img with magisk apk and copy it to your fastboot folder to boot with it, may it will solve your issue.
[Xiaomi Mi A1 Guides, News, & Discussion] rasputine:
Okay
[Xiaomi Mi A1 Guides, News, & Discussion] Nekromast:
I did it, but know I can´t enable wifi. How to unroot? I try it with the magisk manager and restarting it. I come to the recovery mode and nothing else works.
[Xiaomi Mi A1 Guides, News, & Discussion] ngohoainam:
i have another question. :)

1. do i need to boot newer patched boot.img file in the future again when there is an official OTA update? For example, in Feb there is an official OTA update. after i follow this guide (https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips) and finish restart (everything is ok, no issue or bootloop) . Then in this post, jashancheema will add newer file patched boot.img of Feb. so do i need to re-boot newer patched boot.img as i said before?

2. how can i update to newer version of Magisk Version? Currently, Latest Stable Magisk Version is v15.2. so in the future, there is newer version of Magisk, Ex: Magisk Version is v15.5 or 15.8... so how can i update? I just download "Magisk-v15.5.zip" and update or install in Magisk Manager Version? :)
[Xiaomi Mi A1 Guides, News, & Discussion] aa Ganteng:
Flash with recovery or another app?
[Xiaomi Mi A1 Guides, News, & Discussion] Zoro12:
With magisk!!! & Tell if it works !!!
[Xiaomi Mi A1 Guides, News, & Discussion] BBOrno:
phone not working

When i want to make a call the phone do nothing. i mean phone apps cant make a call. incoming is ok but outgoing isnt. what can i do.?
[Xiaomi Mi A1 Guides, News, & Discussion] IamSubhodeep:
When I run this, in the manager it says magisk is already installed. I've never flashed any magisk zip before. Help.
[Xiaomi Mi A1 Guides, News, & Discussion] Rajeev:
1) If u using JIO in India then disable call and contact permission

2) go to settings/system/reset/reset app preference

Reboot

Profit
[Xiaomi Mi A1 Guides, News, & Discussion] BBOrno:
Not using Jio.

Clear all from phone but not working :(
[Xiaomi Mi A1 Guides, News, & Discussion] Rajeev:
I mean settings/system/reset/reset app preference...
[Xiaomi Mi A1 Guides, News, & Discussion] BBOrno:
ohhh. ok... am trying but will it make any problem to magisk??
[Xiaomi Mi A1 Guides, News, & Discussion] Rajeev:
Nope
[Xiaomi Mi A1 Guides, News, & Discussion] a3des:
After booting pached image , in Magisk manager when pressing Direct Install nothing happens (a little notification about starting Magisk 15.2 download but that's it). Any ideas?
[Xiaomi Mi A1 Guides, News, & Discussion] ngohoainam:
Plz help me! After i boot patched boot.img successful ly and my phone restart. I install magisk manager and open it but i can not see "Direct install" option. Can someone help me plz :(
[Xiaomi Mi A1 Guides, News, & Discussion] a3des:
If you phone restart it will restart with original boot image so you cand use the included Magisk from patched boot image.

You can see Direct install only if you are booted the patched image.
[Xiaomi Mi A1 Guides, News, & Discussion] ngohoainam:
So do i need to re-do step to root patched boot.img at first page again? I did that step once before
[Xiaomi Mi A1 Guides, News, & Discussion] a3des:
Yes you need to fastboot boot patched.img again.
[Xiaomi Mi A1 Guides, News, & Discussion] ngohoainam:
Thank you very much. :good:
[Xiaomi Mi A1 Guides, News, & Discussion] ngohoainam:
after u boot patched_boot.img and your phone finished restarting. turn on data cellular (3G/4G) ( the reason i tell below) - and open magisk manger. then open magisk manager. It will inform you there is a new version of magisk (Magisk Version: v15.2). U press install and choose "Direct install" option then restart your phone. After finished restart, your phone is rooted.

I used to face same problem as u have. i finished boot patched_boot.img and my phone is restart. when i open magisk manager first time after boot patched_boot.img, magisk manager tells me that i installed magisk! and i can not turn on wifi (but i can still use data cellular (3G/4G) :)

Hope this comment can help you or someone :)
[Xiaomi Mi A1 Guides, News, & Discussion] shindehemant300:
Have you successfully updated your phone ?
[Xiaomi Mi A1 Guides, News, & Discussion] a3des:
The problem is when I press Direct install nothing happens just 2 messages one after another: Downloading Magisk 15.2 and Download failed. Wifi is connected and have internet connection.
[Xiaomi Mi A1 Guides, News, & Discussion] ngohoainam:
please help me. there is a new update OTA today. then i follow this guide. ( i follow exactly) but my phone is restart then it is bootloop! now what do i need to do? please help me :(
[Xiaomi Mi A1 Guides, News, & Discussion] hedayat7:
tested and works well. thanks. but i believe we need to patch it back after downloading new ota
[Xiaomi Mi A1 Guides, News, & Discussion] Rajeev:
Yes