root redmi note 4 mtk[no ota break] - General Questions and Answers

$$root your Redmi note 4 mtk[nikel] miui without breaking ota updates $$
!! red wolf recovery is only available for snapdragon[mido], so we need an alternative !!
it is an alternative to the red wolf recovery method(google it)
**things required**
1.unlocked bootloader
2.pc running windows
3.twrp cofface recovery (url in comments)
4.latest magisk zip (url in comments)
5.platform tools (url in comments)
+unzip the platform-tools.zip and put it on desktop with the downloaded img file.
+put the magisk zip file in the phone's internal storage.
+boot the phone in fastboot mode and connect it with pc via usb cable
+run cmd as administrator.
++run the commands
1.cd %path to platform-tools%
2. fastboot devices
3.fastboot boot %path to your desktop%\cofface_twrp_nikel_recovery1124.img
[[[common error : can't load the img file
solution: just give the administrative privilages to fastboot.exe]]]
phone will boot in twrp recovery in a few minutes.
+now flash magisk zip
+wipe dalwik/cache. reboot system
=done. install magisk manager apk and start using root apps.
##this will not flash the twrp recovery, only boot temporarily into I,t so that we can root without flashing custom recovery.
******originally the post made for snapdragon version. but i got some problem with mtk version and finally found this solution******

shyamvora5 said:
$$root your Redmi note 4 mtk[nikel] miui without breaking ota updates $$
!! red wolf recovery is only available for snapdragon[mido], so we need an alternative !!
it is an alternative to the red wolf recovery method(google it)
**things required**
1.unlocked bootloader
2.pc running windows
3.twrp cofface recovery (url in comments)
4.latest magisk zip (url in comments)
5.platform tools (url in comments)
+unzip the platform-tools.zip and put it on desktop with the downloaded img file.
+put the magisk zip file in the phone's internal storage.
+boot the phone in fastboot mode and connect it with pc via usb cable
+run cmd as administrator.
++run the commands
1.cd %path to platform-tools%
2. fastboot devices
3.fastboot boot %path to your desktop%\cofface_twrp_nikel_recovery1124.img
[[[common error : can't load the img file
solution: just give the administrative privilages to fastboot.exe]]]
phone will boot in twrp recovery in a few minutes.
+now flash magisk zip
+wipe dalwik/cache. reboot system
=done. install magisk manager apk and start using root apps.
##this will not flash the twrp recovery, only boot temporarily into I,t so that we can root without flashing custom recovery.
******originally the post made for snapdragon version. but i got some problem with mtk version and finally found this solution******
Click to expand...
Click to collapse
download links
https://drive.google.com/open?id=1ScHj3zisQfntLCFlReYQlKtvP0wBT2fC twrp img
https://github.com/topjohnwu/Magisk/releases/download/v16.0/Magisk-v16.0.zip magisk zip
https://dl.google.com/android/repository/platform-tools-latest-windows.zip platform-tools

Related

Root Infinix Zero 5 (X-603) (Systemless root Support OTA)

Systemless Root Magisk Beta 15.2 ( Thanks @topjohnwu for Magisk)
As it is systemless so it doesn’t change system file. It only changes in Boot image.
Whenever you got OTA just Reflash Stock Boot img and update your device to latest version.
This Boot.img is taken from latest version of XUI 3.0 Nougat version Build No. X603-H575A-N-IN-171227V175. So When it will update need to Patch again boot.img with updated version or this can also be used.
Warning:-
I am not responsible for bricked devices.
Your warranty will void now. Do it at your own Risk.
Follow Step as Mentioned Below:
1. Unlock Boot loader as mentioned on following link:
https://forum.xda-developers.com/android/development/unlock-bootloader-infinix-zero-5-t3715360
2. If you want to install TWRP recovery then follow:
https://forum.xda-developers.com/android/development/infinix-zero-5-x-603-twrp-recovery-t3712491
Now the step for Systemless root with unlocked bootloader and usb debugging on is must. (with stock recovery no need TWRP)
1. Download the Zip file on following link: https://drive.google.com/open?id=1vne0IdPrW1isGoCJbYTCl4GRG5mh6QF5
2. Extract zip file in a folder.
3. Press and ctrl+Shift and right click on mouse.
4. Now press option open cmd window here, in window 10 it may be open powershall window here just select it.
5. In cmd window follow the following command.
A. adb reboot bootloader (phone will reboot and light blank dark screen)
B. fastboot devices (it will show your device if connected well)
C. fastboot flash boot patched_boot.img (it will flash new boot img in your phone.
D. fastboot reboot (will reboot your phone)
E. Install magisk manager app from XDA lab or from attached here in zip just extract it.
Your phone is rooted now with stock recovery.
OTA Update Support: Just follow above cmd again and at point C. just change flash cmd to stock boot. (fastboot flash Stock boot.img) then reboot and update your system OTA.
Thanks.
Last Updated on 05/01/2018
I can't install any module
/data/adb/xxx.img mount failed
Failed
Installation failed

Rooting, Instalation of Magisk and Xposed in Latest OOS 5.1.9

Hello everyone,
This is very simple guide to root your Oneplus 6 device if you are on latest OOS update 5.1.9
People who were already rooted may find some problems after updating their devices so following this guide will let you root and install magisk and xposed in a easy wand and easy language.
ROOTING
skip to 4th step if u have bootloader unlocked and installed fastboot and download twrp
1 First Download the and install fastboot cmd line tools . you can seach over other fours for that . or I will update it in some time.
2 Download twrp recovery from twrp website by selecting your device as oneplus 6. you need to download two files one is zip file (needed to be flashed when we boot to twrp for the first time and second the main recovery image file .
3 Now make sure your bootloader is unlocked or find some guide to make your bootloader to be unlocked.
4 Now you are ready u have all the pre required things . Now goto device and boot it to bootloader . this can be done holding volume down and power together or from advanced reboot options. - Just download the twrp zip file to the root of the phone directory.
5 Now connect you device to the PC and open CMD . Goto the the place where the downloaded twrp img files is placed .
6 Now put the command
Code:
fastboot boot filename[twrp].img
7 Now your device will reboot to twrp and u just install the zip file from the root directory.
8 that's it your device is rooted.
Magisk
1. Download Magisk zip from the website ( available as method 2)
2. boot into twrp (recovery ) then install Magisk.
Xposed
1. Now open magisk update it if it asks.
2. fo to downloads and download xposed framework .and reboot.
Wow thanks for all the links , now I do not have to scour the internet for hours searching for the correct versions........

[ROOTED] Lava X81 using Magisk Manager by patching stock boot image (No TWRP)

Who said this method to us ?
aIecxs, XDA Senior Member from Germany
https://forum.xda-developers.com/member.php?u=7285913
Thread Link :
https://forum.xda-developers.com/android/help/helproot-lava-x81-t3620166
Thanks alecks!!!!:highfive:
------------------------------------------------------------
Youtube Video Assistance:
Video Name: How to root Android using Magisk Manager & stock boot.img
Channel : Hovatek
------------------------------------------------------------
REQUIREMENTS :
(0) Unlocked Bootloader
To unlock bootloader in Lava X81 by Fastboot mode use the command
fastboot oem unlock #unlock bootloader via fastboot mode
{{{{{ NOTE: Unlocking bootloader in Lava X81 will erase all the user data. So please take a backup before unlocking bootloader. }}}}}
(1) Stock boot.img for your phone model (its best its for your Build Number / Variant ) . You can extract from the stock rom / firmware of your device (you may check our collection at https://forum.hovatek.com/forum-89.html ) OR backup from your device using a hardware box e.g Miracle Box, CM2, Nck Box Pro etc
(2) Download Latest Magisk Manager {Currently 7.3.0 (220)}
(3) Active internet connection on your Android device
(4) A windows 10 Laptop
---------------------------------------------------------
INSTRUCTIONS :
Step 1: Patching the stock boot.img
1. Install Magisk Manager 7.3.0 (220) APK on your android device.
2. Copy the stock boot.img of Lava X81 to your phone's internal storage or SD card whereever you want (Internal Storege\Dowloads is the better option)
3. Launch Magisk Manager app and check for latest updates. After the updates you will see that Magisk Manager is up to date.
4. Then, Select (Magisk is not installed. Latest 19.3 (19300)) Install > (Install Magisk) Install > Select and Patch a File >
5. Navigate to the location of the stock boot.img you copied earlier on (select Dowloads option or in my case, I used ES File Explorer File Manager), then Select it
6. Magisk Manager should begin downloading the magisk zip file for our arm64-v8a Device platform.
7. Once download is complete, MagiskManager will automatically patch the boot file and store it under
/storage/emulated/0/Download/magisk_patched.img
(Then I renamed it as "patched_boot.img" for our convenience)
Step 2: Flashing the patched boot.img
Among a variety of options to flash, I preferred Fastboot method
(0) Connect your Lava X81 one or two times to the PC (for preinstalling drivers)
(1) Boot your Lava X81 into fastboot mode.
(2) Open platform-tools_r28.0.1-windows.zip file
(3) Simultaneously press Keyboard's Shift key and Right click on the mouse, to open PowerShell window
(4) On the PowerShell use the following codes to flash:
Starting from phone's normal usb debugging mode,
adb devices #Ensures your phone connectivity in ADB (Android Debug Interface) mode via USB Debugging
adb reboot-bootloader #Reboot your phone to Fastboot Mode from ADB
fastboot devices #Ensures your phone connectivity in Fastboot mode
fastboot getvar unlocked #To check whether the bootloader is unlocked or not. It should be unlocked to proceed further steps
fastboot flash boot patched_boot.img #Flash the Magisk Patched Boot image file in Fastboot Mode
fastboot reboot #Reboot to the system from exiting Fastboot Mode​
(5) Congrats and check with a Root checker app for root status. While checking for root status itself pop out for root permission.
--------------------------------------------------------
Proofs and All the necessary files as a zip file - MediaFire Link
Root Lava X81 using Magisk Manager by patching stock boot image (No TWRP)
http://www.mediafire.com/file/zjb78878i52865c/Root_Lava_X81_using_Magisk_Manager_by_patching_stock_boot_image_%2528No_TWRP%2529.zip/file
It is worked successfully guys!
Try it.
Two Bugs:
1. Cannot try reboot to the stock recovery. It strucks. You have to switch off and switch on the phone. During this your phone will make fear "Performing factory reset". Don't worry! blah blah blah...
SO YOU MUST DEVELOP TWRP RECOVERY FOR LAVA X81
2. Cannot flash .zip files using Magisk only. It every time asks TWRP or any other recovery to flash the zip file.
So you must develop TWRP recovery for Lava X81
3. While installing SuperSU it says "binary occupied" by MagiskSU. So apps like FlashFire won't flash zip file.
4. Don't try to uninstall stock YouTube app & and replace it with YouTube vanced app. Use YouTube Vanced the app for no root along with MicroG. But YouTube vanced 14.21.54 seems to be exceptional.

Guide to Install GApps and Magisk on Custom ROMs for Nokia 7.2

While I was trying to install GApps for Lineage OS 18.1 on my Nokia 7.2, I always lost my wi-fi. This is apparently due to flashing TWRP as boot image, which replaces the stock boot messing with wi-fi as the boot image has thee kernel.
Although, I did figure it out, it took me three days to get a proper solution from multiple sources. Here, I will explain how to install Lineage OS 18.1 on Nokia 7.2 with Gapps and Magisk. This can be applied to other ROMs as well. I am assuming you are on stock firmware.
Requirements:
Any custom ROM without GApps
vbmeta file
vendor image
Gapps zip file of your choice
platform-tools
twrp image
magisk file
payload dumper tool
Preperation:
The wifi stops working because we change the boot image. To prevent this, we must flash the boot image of the rom after we are done with our work with TWRP
For this, we ,ust get the boot image for the ROM. As this is not available readily, we must extract it from the ROM zip
Install latest python on your pc
Get the payload dumper tool from the link given below. Extract the contents into the root directory of python. It should be in C:\Users\USER-NAME\AppData\Local\Programs\Python\Python <version number>
Extract the ROM zip into any folder. Copy the payload.bin file and paste it in the folder where you put the payload dumper tool
Open a command prompt in the python root folder and type
Code:
python -m pip install -r requirements.txt
Then type
Code:
python payload_dumper.py payload.bin
After it finishes, go to the folder named Output inside the python folder. Here there will be a file named boot.bin. Rename this as lineage_boot.bin and paste it into the platform tools folder
Installation:
Download the twrp image, rename it to twrp.img and place it in the platform-tools folder. Connect your phone to the computer, switch on usb debugging on your phone.
Open command shell in the platform-tools folder and type
Code:
adb reboot bootloader
. In the bootloader, type
Code:
fastboot flash boot_b twrp.img
.
Next, type
Code:
fastboot --set-active=b
and then reboot to recovery using volume buttons and selecting using power button
In TWRP swipe to allow modifications. Copy your ROM and vendor image files to your SD Card. Now, click wipe, format data and type yes. Go back to home screen and the press install. Select your ROM file and install it. Sometimes it is required to flash vendor image. In that case flash that too. This step is required for Lineage OS 18.1
Now on the twrp home screen, tap on reboot. At the bottom, the current slot should be B. Tap slot A. THis changes the active slot to A. Now go back and tap on bootloader, this should boot you to the bootloader.
Take your vbmeta.img file and place it in the platform tools folder. Now, while in the bootloader mode, type,
Code:
fastboot flash vbmeta_a --disable-verity --disable-verification vbmeta.img
Next type
Code:
fastboot flash boot_a twrp.img
and boot to recovery using volume buttons
Now, press install in TWRP and select install and install the GApps file and reboot to bootloader
Next, in the bootloader type
Code:
fastboot flash boot_a lineage_boot.img
. Now start your phone. You should have lineage os with GApps
Installing Magisk:
Copy the lineage_boot.img into your phone. Download magisk.apk file from the link given below
Install the magisk app and open it. If it asks for additional setup select no. Beside the magisk option select install. Under options, if Recovery Mode is selected, deselect it and click next.
Now click on Select and patch a file under method. Select the lineage_boot.img
The patched image will be saved in downloads folder. Rename this file to lineage_magisk.img and copy it to the platform tools folder on your computer. Reboot your phone to bootloader mode
On your computer in the command window opened in the platform tools folder, type,
Code:
fastboot flash boot lineage_magisk.img
Reboot and you will have a rooted lineage os with GApps
Files:
Lineage OS 18.1 and vbmeta.img
TWRP
vendor
NikGApps
Payload Dumper tool
platform tools
Magisk
Guides that I Followed:
Extracting boot.img from ROM zip
Installing magisk using patched boot image
Credits:
Raghu varma for Lineage OS 18.1 port and twrp
Providers of the guides mentioned above
Hi @Ujwal2000 thanks for the guide.
I am using the stock android 10 rom and magisk patch method.
This also leads to non working wifi and magisk does not recognize that its installed.
Which steps of your guide apply to the stock rom?
i do not need gapps nor twrp I guess I only wanted to root the stock rom with magisk.
For stock, use this guide. They maintain a repository if patched boot images
Guide - How to root the Nokia 7.2 and Nokia 6.2 using Magisk
Nokia 7.2 and Nokia 6.2 come with an unlockable bootloader. The thing that compliments unlocked bootloader best is root access. So, this guide will help you in rooting the Nokia 7.2 or Nokia 6.2. You have a choice between Magisk patched boot images and TWRP recovery. I’d recommend going the...
www.techmesto.com
@Ujwal2000 , can you please look at my posting here? Thank you.
after fallowing the steps(except installing lineageOS with twrp flash everything was encrypted even tough i have the bootloader unlocked, managed to install it via adb sideload) the wifi doesnt work at all. When i try to turn it on is switches off on its own. Do anyone know a fix?
i had problem with latest version of python (3.10), version 3.7 was working for me

Question How to root derkpest os in op9?

Bro can I root op9 running derkpest rom it is safe to root and if safe then how to root tell the possible best way guys?
Patched boot.img with magisk, PS when you find derkpest Rom for op9?
iaio72 said:
Patched boot.img with magisk, PS when you find derkpest Rom for op9?
Click to expand...
Click to collapse
Hoo bro from a12 patched img doesn't work I've saw posts so does it work or flashing magisk zip in recovery which is best way to avoid bootloop
Venkata Prathap said:
Hoo bro from a12 patched img doesn't work I've saw posts so does it work or flashing magisk zip in recovery which is best way to avoid bootloop
Click to expand...
Click to collapse
For OOS:
1) Have Magisk Manager v23016 or above installed
2) Download the boot.img from here and put in phone’s Download folder
3) Open Magisk Manager and click top Install and patch boot.img
4) Move patched image to PC’s adb directory
5) Boot phone into fastboot mode and run the command:
fastboot boot magisk_patched_boot.img
6) Phone will boot into temporary root. Click top Install again but choose Direct Install (recommended) this time
7) Reboot when done and profit
For COS:
1) Have Magisk Manager v23016 or above installed
2) Download rooting files and extract on PC
3) Copy boot.img and vendor_boot.img to phone’s Download folder
4) Open Magisk Manager and click top Install and patch boot.img. When done, go back and repeat the process for vendor_boot.img
5) Move both patched images to adb directory on your pc along with vbmeta.img
6) Run this command:
fastboot –-disable-verity —disable-verification flash vbmeta vbmeta.img
********************Make sure it completes without errors before proceeding. If errors, update your ADB: https://developer.android.com/studio/releases/platform–tools
7) If no errors, run these commands:
fastboot flash vendor_boot vendor_boot_magisk.img
fastboot flash boot boot_magisk.img
8) If no errors, run
fastboot reboot
incesu said:
For OOS:
1) Have Magisk Manager v23016 or above installed
2) Download the boot.img from here and put in phone’s Download folder
3) Open Magisk Manager and click top Install and patch boot.img
4) Move patched image to PC’s adb directory
5) Boot phone into fastboot mode and run the command:
fastboot boot magisk_patched_boot.img
6) Phone will boot into temporary root. Click top Install again but choose Direct Install (recommended) this time
7) Reboot when done and profit
For COS:
1) Have Magisk Manager v23016 or above installed
2) Download rooting files and extract on PC
3) Copy boot.img and vendor_boot.img to phone’s Download folder
4) Open Magisk Manager and click top Install and patch boot.img. When done, go back and repeat the process for vendor_boot.img
5) Move both patched images to adb directory on your pc along with vbmeta.img
6) Run this command:
fastboot –-disable-verity —disable-verification flash vbmeta vbmeta.img
********************Make sure it completes without errors before proceeding. If errors, update your ADB: https://developer.android.com/studio/releases/platform–tools
7) If no errors, run these commands:
fastboot flash vendor_boot vendor_boot_magisk.img
fastboot flash boot boot_magisk.img
8) If no errors, run
fastboot reboot
Click to expand...
Click to collapse
for COS: you still only need boot.img and magisk. install magisk patch boot.img temporarily boot on magisk-patchedboot.img and direct install in magisk manager

Categories

Resources