[GUIDE] How to remove data encryption/password in TWRP for mediatek devices - Android General

Your warranty is now void. I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this ROM before flashing it! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
Click to expand...
Click to collapse
1. Root with magisk / superuser or however
2. Download root browser and give superuser rights
3. Navigate to vendor/etc/fstab.6765 Open as txt file
4. Search for these lines
wait,check,quota,formattable,resize,forcencrypt=/dev/block/platform/bootdevice/by-name/metadata
Click to expand...
Click to collapse
5. Change it to
wait,check,quota,formattable,resize,encryptable=/dev/block/platform/bootdevice/by-name/metadata
Click to expand...
Click to collapse
6. Do the same changes in vendor/nvdata/fstab.mt6765 (if you have this file. Skip if this file does not exist)
7. Boot to twrp and flash your stock recovery.
8. Reboot to stock recovery. Wipe data and reboot.
9. Coplete the setup and flash twrp using official twrp app or flashify. You can use fastboot.
Done! Encryption should have gone. Tested on Micromax Infinity n12. Please comment if it works

Hi I got this CUBOT NOTE 7 and I found working TWRP for it, and instead of what you typed I got something similar but not the same, I got the fstab.mt6735 file (MT6737 CPU) and instead of "wait,check,quota,formattable,resize,forcencrypt=/dev/block/platform/bootdevice/by-name/metadata" the closest thing I could find is "wait,check,formattable,quota,reservedsize=128m,formattable,resize,checkpoint=fs,fileencryption=aes256-xts", I assume I have to change "fileencryption" to something else, I have no idea if you go to XDA often but I posted this just in case somebody finds it useful
Sent from my desktop using Windows 8.1.

As you found a working TWRP, you can basically flash the file attached below after flashing magisk. If that doesn't work,
replace
"wait,check,formattable,quota,reservedsize=128m,formattable,resize,checkpoint=fs,fileencryption=aes256-xts
With
wait,check,quota,formattable,resize,encryptable=/dev/block/platform/bootdevice/by-name/metadata

Tab E said:
As you found a working TWRP, you can basically flash the file attached below after flashing magisk. If that doesn't work,
replace
"wait,check,formattable,quota,reservedsize=128m,formattable,resize,checkpoint=fs,fileencryption=aes256-xts
With
wait,check,quota,formattable,resize,encryptable=/dev/block/platform/bootdevice/by-name/metadata
Click to expand...
Click to collapse
I tried
Tab E said:
As you found a working TWRP, you can basically flash the file attached below after flashing magisk. If that doesn't work,
replace
"wait,check,formattable,quota,reservedsize=128m,formattable,resize,checkpoint=fs,fileencryption=aes256-xts
With
wait,check,quota,formattable,resize,encryptable=/dev/block/platform/bootdevice/by-name/metadata
Click to expand...
Click to collapse
That is a line you showed earlier which might brick this phone and I don't want to flash all of android back onto it

Related

[ROM][STOCK] X8-H Stock OTA → TWRP Installable

[ROM][STOCK] X8-H Stock OTA → TWRP Installable
THIS IS OBSOLETE NOW, PLEASE USE THE TWRP PROVIDED HERE
http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players/16228-twrp-for-amlogic-devices
This release is for people like myself who installed TWRP.
I have only tested this on the X8-H I have no idea if it will work on any other models. I don't have a PLUS model, I doubt it would work on it. If you have a PLUS with TWRP feel free to message me I may be able to help.
Code:
------------------------------------------------------------
DISCLAIMER
* Your warranty may be void, I don't know / I don't care.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
------------------------------------------------------------
FIRST
Sorry if this is a bit convoluted, I am not an android developer, I don't really have much expertise in this.
TWRP
The problem with this TWRP is it sets your ro.product.device to x8-h instead of NEO-X8 which breaks the "OTA" update feature. I don't really care about OTA, so this makes little difference to me.
I got TWRP here: http://www.minixforum.com/threads/twrp-recovery-for-neo-x8-h.1267/
I mirrored the zip file here: https://www.androidfilehost.com/?fid=23991606952606011
There's a couple ways to install it, I did:
Code:
adb push TWRP_X8-h.zip /sdcard/
adb reboot recovery
Install update from ADB
Code:
adb sideload TWRP_X8-h.zip
UPDATES
These are pulled from OTA and modified to work with TWRP. I did not include any additional stuff, I figure if you're using TWRP already you probably know more than the average user and can setup your device however you want.
Get both of these...
KOT49H.20150428: This update is the 004 update.
Notes: This is a full system update, I wiped my system before installing it.
Release Page: http://www.minixforum.com/forums/x8-x8-plus-x8-h-official-firmware-004.123/
update.KOT49H.20150428.TWRP.zip - https://www.androidfilehost.com/?fid=23991606952606046
KOT49H.20150507: This update is the 005 update.
Notes: This update will revert your recovery back to their stock recovery, because reasons. You'll have to reflash TWRP afterwards if you want to continue using it.
Release Page: http://www.minixforum.com/forums/x8-x8-plus-x8-h-official-firmware-005.125/
update.KOT49H.20150507.TWRP.zip - https://www.androidfilehost.com/?fid=23991606952606012
Installation:
Boot into recovery.
Back-Up your device.
Wipe your device, I did it, you can try not doing it, not sure what will happen.
Install updates the update.KOT49H.20150428.TWRP.zip first then add the update.KOT49H.20150507.TWRP.zip
After both install it will "upgrade" your recovery to stock. You may reapply the TWRP_X8-h.zip update here if you would like.
After you're done with that TWRP will ask you if you would like to root, I recommend yes.
Reboot
???
Profit!
Instructions for making and signing a flashable zip...
What I did to get the OTA updates was:
Open the updater and download the whole thing.
Reboot into TWRP and the auto update fails.
Plugin with USB and adb shell into the device.
Use the find command to locate the update file: find / -name "*.zip"
Exit out of the device back to your host machine.
Download the update file: adb pull /path/to/name_of_update.zip .
Extract the zip file: unzip name_of_update.zip
Delete the original signing files: rm META-INF/CERT.RSA META-INF/CERT.RSA META-INF/MANIFEST.MF
Edit the google/android/updater-script and remove the line which checks for ro.product.device
Re-zip the archive.
Sign the archive.
Instructions for signing the zip can be found here: http://www.learn2crack.com/2014/02/sign-android-apk-zip.html
Minix x8-h the newest firmware
Hi,
I am looking for the best and the newest rom for my box.
Could you please also advise the simplest method of flashing.
Thanks in advance.

[PhilZ Touch 6 Recovery][Kitkat] for Alcatel Pop D3

* * * * * * * * * * * * * * * * * * * * * * * * *
PhilZ Touch 6 Recovery
CWM Advanced Edition 6.x
* * * * * * * * * * * * * * * * * * * * * * * * *
​
DISCLAIMER:
Rooting your phone and using custom Recoveries and ROM's have risks and may result in bricking your device, and has nothing to do with Google or the device manufacturers. In case of any mishap I am not responsible if you brick/ruin your phone in any way.
Basic computer skills are required and minimal knowledge about the phone and phone utilities also.
Make sure that whatever you do, you are doing it at your own responsibility.
Installation see here
Main PhilZ thread here and more info here
Aroma File Manager
Download aromafm.zip from the attached files and place in clockworkmod/aromafm/aromafm.zip of external storage.
How to get multi-flash to work:
Download the multi-flash zip from below and extract it to clockworkmod/ so then the folder looks like this
Code:
clockworkmod/multi-flash/flash/ Place zips here....
It won't work if it isn't in that format.
Everything works AFAIK, report any bugs if you find any. To do backup of custpack you have to do a custom backup. The normal backup won't back it up but it will backup everything else
Tried booting this with fastboot using fastboot boot recoveryPopD3.img but the phone wouldn't boot
daloonik said:
Tried booting this with fastboot using fastboot boot recoveryPopD3.img but the phone wouldn't boot
Click to expand...
Click to collapse
Use Rashr or Flashify.
kirito9 said:
Use Rashr or Flashify.
Click to expand...
Click to collapse
Thanks for your reply. However my phone is running stock ROM and not rooted. So I can't use those apps. I figure in order to root I need to first flash a custom recovery but none of the recoveries will flash properly with SP Flash Tool. Is it because my phone model is a 4037R ?
daloonik said:
Thanks for your reply. However my phone is running stock ROM and not rooted. So I can't use those apps. I figure in order to root I need to first flash a custom recovery but none of the recoveries will flash properly with SP Flash Tool. Is it because my phone model is a 4037R ?
Click to expand...
Click to collapse
It's because your model is 4037R, I didn't know you had that model. Here is the TWRP for that model: https://mega.nz/#!aJNwlATI!kHc-PkhasUB3nb18OvD5n41Yj3WL-kbDUYUtl1UvQ-8
kirito9 said:
It's because your model is 4037R, I didn't know you had that model. Here is the TWRP for that model: https://mega.nz/#!aJNwlATI!kHc-PkhasUB3nb18OvD5n41Yj3WL-kbDUYUtl1UvQ-8
Click to expand...
Click to collapse
Thanks for the file but that didn't boot either. I tried Fastboot and SP Flash tools but the file won't flash. I've tried it on two different 4037R phones too. I guess I'll have to give up on finding a custom ROM for this phone.
daloonik said:
Thanks for the file but that didn't boot either. I tried Fastboot and SP Flash tools but the file won't flash. I've tried it on two different 4037R phones too. I guess I'll have to give up on finding a custom ROM for this phone.
Click to expand...
Click to collapse
Send your stock boot.img and recovery.img
kirito9 said:
Send your stock boot.img and recovery.img
Click to expand...
Click to collapse
I've been trying to Read Back these files using SP Flash Tools but I keep getting the following error:
BROM ERROR: S_DL_GET_DRAM_SETTING_FAIL (5054)
please check your load matches to your target which is to be downloaded
I can't use a tool like z4root on my phone due to the restrictions from the ROM, and /proc/mtd is an empty file on my phone as well, so I can't copy the files using dd.
However MTK Droid Tools says my hardware is a MT6581. Is there a scatter fille for the MT6581? I have been using the MT6582 scatter file.
daloonik said:
I've been trying to Read Back these files using SP Flash Tools but I keep getting the following error:
BROM ERROR: S_DL_GET_DRAM_SETTING_FAIL (5054)
please check your load matches to your target which is to be downloaded
I can't use a tool like z4root on my phone due to the restrictions from the ROM, and /proc/mtd is an empty file on my phone as well, so I can't copy the files using dd.
However MTK Droid Tools says my hardware is a MT6581. Is there a scatter fille for the MT6581? I have been using the MT6582 scatter file.
Click to expand...
Click to collapse
Hmmm, root your device using kingroot then backup your boot.img and recovery.img using flashify. Remove kingroot with supersume.

[5.1.1] [STOCK] [D2303] PreRooted 18.6.A.0.182 Customized CE5

I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
A lot.
Click to expand...
Click to collapse
Hey i just created prerooted rom.
Included:
SuperSU and XZDualRecovery
Requirements:
Xperia M2 D2303
TWRP
Locked/Unlocked Bootloader
Screenshots :
https://imgur.com/gallery/rVsaE
How to install:
1. Do a backup of your data.
2. Reboot to recovery.
3. Click wipe and advanced wipe select system, cache, dalvik and data and swipe.
4. Flash rom from link bellow! (Optional: flash the newest supersu zip)
5. Reboot to system and enjoy rooted rom!
If you have a bootloop turn off your device and turn it to twrp (when powered off turn volume- and click the power button) and flash supersu zip!
Downloads:
Rom: https://mega.nz/#!nkICxCIC!PYvBhAW-pZX7j-O_l5iLtgJvTmtyuEtyCZnXEEvYSWk
SuperSU: https://download.chainfire.eu/1021/SuperSU/SR3-SuperSU-v2.79-SR3-20170114223742.zip
Hello DodgeRom,
thanks a lot for your prerooted package. It makes getting root much easyer.
I am having one problem with it: The rom is rooted, but I still cannot modify the system partition (remounting /system in rw mode results in the operation not permitted error.) Do you know, how to change this? The newest version of superSU is installed. I would really like to get /system writeable to edit system files like the hosts file.
I would really appreciate some help here.
Why do I need to wipe my phone before installing? As far as I know, flashing overwrites these partitions.
You have a typo in
4. Flash zip from link bellow!
Click to expand...
Click to collapse
Thanks in advance
@PauSteu you need to install ric disabler heres link http://sergiocastell.com/ftf/ric_disabler.zip (link from @linuxct thread)
Works with D2306?
Hi there, I wanted to ask you if there's any bug before flashing and is there 2GB available space for space oe 5GB as on Custom ROMs?
How do I make a pre rooted frimware for my Country ?
Hello .Im used for flash apk FlashFire but I dnt have recovery and I have bootloop. I dnt hv pc...how fix it ??
Értem

[HOWTO] TWRP/ROOT/Magisk/App2SD/Xposed on your 4a

Disclaimer
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Hi everyone, I made this tutorial because I did not find anything on the internet related and I believe that this information will help.
Requirements:
Unlocked bootloader
//
How to flash TWRP:
First grab this TWRP (TWRP 3.1.0.0):
https://forum.xda-developers.com/android/development/recovery-twrp-3-1-0-0-xiaomi-redmi-4a-t3576024
Install with fastboot with these commands:
Code:
fastboot flash recovery twrp-3.1.0-0-20170318-UNOFFICIAL-rolex.img
fastboot boot twrp-3.1.0-0-20170318-UNOFFICIAL-rolex.img
It will boot TWRP then flash this zip (It will remove forced encryption on MIUI, if not flashed you will bootloop):
http://en.miui.com/thread-310923-1-1.html
//
//
How to Magisk/Root:
Thats is simple just grab the latest zip and apk from here:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Go to TWRP and flash after reboot install the apk and you're good to go!
//
//
How to Xposed System/less:
Go to this thread and grab the apk and install (Xposed Material):
https://forum.xda-developers.com/xposed/material-design-xposed-installer-t3137758
Open it and go to MIUI based roms and select if you want system one (our arch is arm64 so xposed-v87-sdk23-arm64...), or if you want systemless root select Magisk (xposed-v87-sdk23-Magisk...) it will download and ask for SU to reboot and install on TWRP.
//
//
How to move apps to sdcard on MIUI (App2SD:
To move apps to SD first make sure you have a good SD card (Class 10 for example) because if not things will lag a lot, then download App2SD (the blue one), now you need to partition you SD card you can do that by three ways in the app itself, on Gparted for linux or in MiniTool Partition Wizard for Windows, (ALL YOUR DATA ON SD WILL BE ERASED!) you will make two partitions one for your things like photos and music and the other one for apps the first will be VFAT and the second EXT4,
after that go to the app give superuser and select link apps to sd card, it will ask the partition and type then ask wich method will be using, i have used all methods, i'm using magisk and the magisk method leave me in bootloops, the normal method and init.d method works but i need to do a soft reboot after I start the phone to mount the sd, the only works after reboot for me its advanced method. now you're good to go, move your apps to your SD!
App2SD link: https://play.google.com/store/apps/details?id=in.co.pricealert.apps2sd&hl=pt_BR
//
Comming soon: Unlock your bootloader from Linux with help of virtualization.
Thanks mate for the guide. It's work on MIUI Global ROM. Is there any way to browse 2nd Partition when i need to edit some file manually on 2nd Partition? :good:
BryanByteZ said:
Disclaimer
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Hi everyone, I made this tutorial because I did not find anything on the internet related and I believe that this information will help.
Requirements:
Unlocked bootloader
//
How to flash TWRP:
First grab this TWRP (TWRP 3.1.0.0):
https://forum.xda-developers.com/android/development/recovery-twrp-3-1-0-0-xiaomi-redmi-4a-t3576024
Install with fastboot with these commands:
Code:
fastboot flash recovery twrp-3.1.0-0-20170318-UNOFFICIAL-rolex.img
fastboot boot twrp-3.1.0-0-20170318-UNOFFICIAL-rolex.img
It will boot TWRP then flash this zip (It will remove forced encryption on MIUI, if not flashed you will bootloop):
http://en.miui.com/thread-310923-1-1.html
//
//
How to Magisk/Root:
Thats is simple just grab the latest zip and apk from here:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Go to TWRP and flash after reboot install the apk and you're good to go!
//
//
How to Xposed System/less:
Go to this thread and grab the apk and install (Xposed Material):
https://forum.xda-developers.com/xposed/material-design-xposed-installer-t3137758
Open it and go to MIUI based roms and select if you want system one (our arch is arm64 so xposed-v87-sdk23-arm64...), or if you want systemless root select Magisk (xposed-v87-sdk23-Magisk...) it will download and ask for SU to reboot and install on TWRP.
//
//
How to move apps to sdcard on MIUI (App2SD:
To move apps to SD first make sure you have a good SD card (Class 10 for example) because if not things will lag a lot, then download App2SD (the blue one), now you need to partition you SD card you can do that by three ways in the app itself, on Gparted for linux or in MiniTool Partition Wizard for Windows, (ALL YOUR DATA ON SD WILL BE ERASED!) you will make two partitions one for your things like photos and music and the other one for apps the first will be VFAT and the second EXT4,
after that go to the app give superuser and select link apps to sd card, it will ask the partition and type then ask wich method will be using, i have used all methods, i'm using magisk and the magisk method leave me in bootloops, the normal method and init.d method works but i need to do a soft reboot after I start the phone to mount the sd, the only works after reboot for me its advanced method. now you're good to go, move your apps to your SD!
App2SD link: https://play.google.com/store/apps/details?id=in.co.pricealert.apps2sd&hl=pt_BR
//
Comming soon: Unlock your bootloader from Linux with help of virtualization.
Click to expand...
Click to collapse
Hello!
Could you explain in detail how to use magisk to transfer the data to the SD? because I don't understand the method, thanks!

[OOS 5.1.5 | 5.1.6 | 5.1.7 | 5.1.8 | SafetyNet OK] Root without TWRP

Your warranty is now void.
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about this procedure before doing it! YOU are choosing to make these modifications.
Click to expand...
Click to collapse
OP6 rooting without TWRP
Checklist before preceed:
Working Fastboot
Be on software OOS 5.1.5 | 5.1.6 | 5.1.7 | 5.1.8
Unlocked bootloader (Instruction here, but remember to enable OEM Unlocking first)
Funk Wizard said:
Enable OEM Unlocking
On your phone go to Settings > Developer options. Then enable the 'OEM Unlocking' option. Also make sure that from now on, OEM unlocking option is enabled before you reboot as sometimes, it might get disabled itself.
Click to expand...
Click to collapse
WARNING:
Please double check that you have unlocked bootloader!
A few users has reported that instaling magisk with locked bootloader or wiping phone (using stock recovery) with patched boot.img can soft brick your phone! Please avoid doing this for now. If you've already done this and you are stuck with only fastboot working please follow this post https://forum.xda-developers.com/showpost.php?p=76608874&postcount=31 to restore your device to working state. Thank's to @SaiBork for more detailed instructions available here https://forum.xda-developers.com/showpost.php?p=76632484&postcount=82
Rooting process:
Make sure that you have UNLOCKED BOOTLOADER. DO NOT attempt to patch boot.img using Magisk Manager without unlocked bootloader because it WILL CAUSE SOFT BRICK!!!
Boot device using patched boot.img.
For OOS 5.1.5 it can be downloaded [here]
For OOS 5.1.6 it can be downloaded [here]
For OOS 5.1.7 it can be downloaded [here]
For OOS 5.1.8 it can be downloaded [here]
It can be also patched manually (see bottom of this post).
To do this you need working fastboot. Fire up your cmd/terminal and cd to directory where you've downloaded/placed patched boot image. When you are in correct directory just type in cmd/terminal:
Code:
fastboot boot patched_boot_magisk1642_518.img
(check if img filename in command is exactly same as name of downloaded boot img) The phone should boot to Android.
Once the phone has booted install Magisk Manager app and open it. It can be downloaded here or here.
Magisk Manager App should show that your phone is rooted - but at this stage it's just temporary, until next reboot (nothing flashed yet).
Go to settings and Tap on "Update channel" and change it to Beta.
Go back to Magisk main screen and make sure that "Preserve force encryption" and "Preserve AVB 2.0/dm-verity" are checked!
Tap on "Install" and select "Direct Install (Recommended)".
Wait until boot.img is patched and flashed and reboot your device when prompted to do so.
After boot there aren't any error messages shown before (or after) entering PIN code, unlike when rooting using other methods.
To check SafetyNet status just open Magisk Manager once again and tap on "Tap to start SafetyNet check". It should be all green.
wOOt wOOt you just got rOOt!
Video showing rooting process:
XDA user @GizmoFreak has made a video showing the whole procedure for 5.1.5! Thank you very much.
How to do an OTA update preserving root
Install OTA. It will be installed on the inactive slot. Do not restart your OP6 when installation finishes.
Start Magisk Manager app.
Tap on Install.
Tap on Install to Second Slot (After OTA).
Reboot your device.
Check if you got root and if safety net checks are passed.
How to extract from OTA and manually patch stock OOS boot.img using Magisk Manager:
Install python3 and PIP manager on your system .
Use pip to install "protobuf" module:
Code:
pip3 install protobuf
Download payload_dumper.py and update_metadata_pb2.py from this gist https://gist.github.com/ius/42bd02a5df2226633a342ab7a9c60f15 and save them in one directory.
Download full update zip with OOS (containing payload.bin). It can be downloaded from this great thread by @Titokhan
Extract payload.bin from update zip to same directory where payload_dumper.py is located.
Use payload_dumper.py to extract original boot.img
Code:
python payload_dumper.py payload.bin
After a while you should have all img's included in payload.bin dumped in your working directory.
Install Magisk Manager app on your OP6.
Place that dumped boot.img on your phone storage.
In Magisk Manager app tap install, and select "Patching boot image file". Select boot.img that you've just uploaded to your phone.
Magisk Manager will patch boot.img and save it on Phone's internal storage in "MagiskManager" directory (file called "patched_boot.img").
Download this patched file to your computer and just use it to boot using fastboot
stock recovery img please
Hi and thx for the Thread. Maybe more Details in your Guide would be nice and you dont lose you Void by OnePlus if you Root you Device only if u break the hardware with you root access (Like changing the CPU rate in the Kernel).
NeoNecOP6 said:
Hi and thx for the Thread. Maybe more Details in your Guide would be nice and you dont lose you Void by OnePlus if you Root you Device only if u break the hardware with you root access (Like changing the CPU rate in the Kernel).
Click to expand...
Click to collapse
How do they know if you manipulate the CPU frequency?
Thanks, I'd like to try patching the boot.img myself - how did you extract it from the device without root?
I also couldn't figure out how to extract it from the update files OP provided (since they are all A/B updates only containing a payload.bin)
liver20 said:
stock recovery img please
Click to expand...
Click to collapse
There is no separate recovery partition. Recovery in boot.img, as all A/B devices.
NeoNecOP6 said:
and you dont lose you Void by OnePlus if you Root you Device only if u break the hardware with you root access (Like changing the CPU rate in the Kernel).
Click to expand...
Click to collapse
I know but it's just a disclaimer
Kaeltis said:
Thanks, I'd like to try patching the boot.img myself - how did you extract it from the device without root?
I also couldn't figure out how to extract it from the update files OP provided (since they are all A/B updates only containing a payload.bin)
Click to expand...
Click to collapse
You can extract it from A/B update using python tool called payload_dumper.py Check this post for more information https://forum.xda-developers.com/showpost.php?p=76598704&postcount=80
jacdelad said:
How do they know if you manipulate the CPU frequency?
Click to expand...
Click to collapse
if that's why your smartphone broke down. Any company can find out if the device has been rooted.
http://tinypic.com/view.php?pic=2dquejq&s=9
Rooted
Thanks op
This worked perfectly for me. No vendor image issues either. No flashing (that's cool!). Thanks! I saw you posted how you did it but it'd be cool if you could add it to this thread so people can learn.
Thanks!
b1czu said:
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about this procedure before doing it! YOU are choosing to make these modifications.
For all interested in rooting I suggest to do it this way:
Checklist before preceed:
- Working Fastboot
- Unlocked bootloader
- Be on software OSS 5.1.5!!
1. Boot patched boot.img that can be downloaded here [https://drive.google.com/open?id=1BIH5sGfMADfhWIAfQDsiw4f-UI_1WvqX]
To do this you need working fastboot and cd to directory where you've downloaded patched boot image. When you are in correct directory just type in cmd/terminal:
Code:
fastboot boot patched_boot_magisk1642.img
The phone should boot to Android.
2. Once phone is booted up install Magisk Manager and open it.
3. It should show that you have root - but at this stage it's just temporary, until next reboot (nothing flashed yet).
4. Go to settings and Tap on "Update channel" and change it to Beta.
5. Go back to Magisk main screen and make sure that "Preserve force encrypotion" and "Preserve AVB 2.0/dm-verity" are checked!
6. Tap on "Install" and select "Direct Install (Recommended)"
6. Reboot
After boot there are no any Error messages before entering PIN code.
Just open magisk manager once again and tap on "Tap to start SafetyNet check". It should be all green.
wOOt wOOt you just got rOOt!
Click to expand...
Click to collapse
Thanks for this. Probably a dumb question. But, does this need to be undone when TWRP comes out? Is there a way to revert back?
Thanks again.
mcdavid said:
But, does this need to be undone when TWRP comes out?
Click to expand...
Click to collapse
No, you don't need to undone this. Flashing magisk root using TWRP recovery would lead to same end-effect.
mcdavid said:
Is there a way to revert back?
Click to expand...
Click to collapse
Yes. You can flash back stock OOS 5.1.5's boot.img, because nothing other was modified. Link to download STOCK boot.img for OOS 5.1.5 https://drive.google.com/open?id=1RPQZj6HQxNNdJiMrAjtkxncH3PLBTZp_
To revert you need fastboot tool:
Code:
fastboot flash boot boot.img
And that's it. You're again rootles on stock 5.1.5's boot.img.
thanks man!!!
Op6 rooted and ready for me!
OnePlus 3: TWRP, Root & Cyanogenmod before most users got the device,
OnePlus 5: Unofficial TWRP,
And OnePlus 6: Root without any custom recovery....
Thank you!
Wow thank you for this, can't live without root and I get my OP6 tomorrow so this is great
i installed patched boot file for oss5.1.3 using boot file for oss5.1.3. my question is when i update oss to latest for now i.e oss5.1.5 will i need to re root it? or it will stay rooted? and i won't get stuck at installing the update too right? considering its gonna be full updates now(no partial updates).
dynamic_4444 said:
i installed patched boot file for oss5.1.3 using boot file for oss5.1.3. my question is when i update oss to latest for now i.e oss5.1.5 will i need to re root it? or it will stay rooted? and i won't get stuck at installing the update too right? considering its gonna be full updates now(no partial updates).
Click to expand...
Click to collapse
When you update, boot.img will be overwritten with 5.1.5's one and you'll have to repeat the process again.
@b1czu, thank you very much! Rooted flawlessly .
Worked like a charm! I'm grateful for my fellow impatient people. Time to unlock the Oneplus 6's true potential!
I try it to night
Thanks man, so far it works great!

Categories

Resources