Question how to root nx729j_EUCommon_4.18? - Red Magic 8 pro

Hi I need he
Does anyone know how to root the lastest firmware nx729j_EUCommon_v4.18 with Magisk?
Thank you

unlock BL, export init_boot, patch init_boot by magisk, flash back via fastboot (i think it is fastboot d?)
Done.

magicsword123 said:
unlock BL, export init_boot, patch init_boot by magisk, flash back via fastboot (i think it is fastboot d?)
Done.
Click to expand...
Click to collapse
But I can't am trying more time but we can't root

Related

Root

If I am on stock recovery and unlocked bootloader, is it possible to root my phone without twrp by flashing magisk zip in stock recovery?
Sprinklefart said:
If I am on stock recovery and unlocked bootloader, is it possible to root my phone without twrp by flashing magisk zip in stock recovery?
Click to expand...
Click to collapse
No. Stock recovery will only flash images & zips from OnePlus.
Stock recovery only works with officially signed files from OnePlus.
If you already went through the trouble of unlocking the bootloader then flashing a custom recovery is very easy and straightforward. Otherwise you might as well relock the bootloader.
Theoretically it is possible with MAGISK (even with locked bootloader) but it didn't work for me...
Steps:
1. Extract the boot.img from stock rom zip
2. Patch with Magisk Manager
3. Rename the patched one to boot.img and replace in stock Rom zip
4. Flash the zip in stock revovery
Unluckily I finish with a "Installation failed" error
Did anybody managed this with 5.02 rom and locked bootloader. I got told that for older stock rom it was possible
Sent from my ONEPLUS A5010 using Tapatalk
No, no, no...
What you do is that you let the Magisk Manager patch the stock boot image (as in 1 & 2 above). Then you use fastboot to flash the patched image to your device. No custom recovery needed...
Code:
fastboot flash boot patched_boot.img
Your bootloader has to be unlocked though.
Didgeridoohan said:
No, no, no...
What you do is that you let the Magisk Manager patch the stock boot image (as in 1 & 2 above). Then you use fastboot to flash the patched image to your device. No custom recovery needed...
Code:
fastboot flash boot patched_boot.img
Your bootloader has to be unlocked though.
Click to expand...
Click to collapse
With fastboot I also tried without success. As you told, it is required that the bootloader is unlocked.
Sent from my ONEPLUS A5010 using Tapatalk

Unlocked T-mobile to international/root?

T-mobile unlocked my 7T, but is it as simple as using the tool to flash international firmware on it? Do I need to do anything else? Can it than be treated like international and rooted?
trix4rix said:
T-mobile unlocked my 7T, but is it as simple as using the tool to flash international firmware on it? Do I need to do anything else? Can it than be treated like international and rooted?
Click to expand...
Click to collapse
This has been asked at least 3 times a week. Please do a quick search before posting.
Sent from my [device_name] using XDA-Developers Legacy app
OuncE718 said:
This has been asked at least 3 times a week. Please do a quick search before posting.
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
Where? Don't see this question at all.
trix4rix said:
Where? Don't see this question at all.
Click to expand...
Click to collapse
Check this link. There was other post about the same question and I guess the mod removed them because it's asked so often.
https://forum.xda-developers.com/showthread.php?t=3994931
Sent from my [device_name] using XDA-Developers Legacy app
OuncE718 said:
Check this link. There was other post about the same question and I guess the mod removed them because it's asked so often.
https://forum.xda-developers.com/showthread.php?t=3994931
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
No, I really don't think you're right here, the only question asked was "can I unlock my 7t from T-mobile"
My question is "it's unlocked, can I use the tools for the non-T-mobile version."
While both questions mention "unlocking" and "T-mobile" they are different questions.
trix4rix said:
T-mobile unlocked my 7T, but is it as simple as using the tool to flash international firmware on it? Do I need to do anything else? Can it than be treated like international and rooted?
Click to expand...
Click to collapse
You need to unlock your bootloader with OnePlus. Takes 1 week after submitting.
That's still not answering the question. Ok, apparently takes 1 week to unlock the boot loader. Is it as simple as using the tool to flash international firmware? Does he need to do anything else?
Wow horrible reading comprehension around here.
pbassjunk said:
That's still not answering the question. Ok, apparently takes 1 week to unlock the boot loader. Is it as simple as using the tool to flash international firmware? Does he need to do anything else?
Wow horrible reading comprehension around here.
Click to expand...
Click to collapse
After unlocking sim and bootloader, you're going to download the latest global ota from OnePlus site or here on xda (I don't think latest is up on op site yet). Then unzip ota. Then dump the payload.bin file. It'll give you boot.img, vendor.img, system.img, etc.
Now flash every file by fastboot flash file.img on both slots
Example:
Fastboot flash dtbo_a dtbo.img
Fastboot flash dtbo_b dtbo.img
Do this with every file in bootloader mode except for system, vendor, product, and tz.img.
Now fastboot reboot fastboot
You'll be in a fastbootd mode now with language selection. Do not select anything.
Now enter fastboot commands for the remaining files in slots a and b
Example:
Fastboot flash system_a system.img
Fastboot flash system_b system.img
Fastboot flash product_a product.img
Etc.. with system, product, and vendor imgs. Do not flash tz.img at all.
Now fastboot -w to wipe data
Fastboot reboot. Done.
Well not actually.. after you boot, go to settings>system>system update. Do a local update (top right drop-down) and update with the latest ota zip you already have. Now update with that and you'll reboot and be good.
If you don't flash the ota zip through system update, you won't have data..
dpryor88 said:
After unlocking sim and bootloader, you're going to download the latest global ota from OnePlus site or here on xda (I don't think latest is up on op site yet). Then unzip ota. Then dump the payload.bin file. It'll give you boot.img, vendor.img, system.img, etc.
Now flash every file by fastboot flash file.img on both slots
Example:
Fastboot flash dtbo_a dtbo.img
Fastboot flash dtbo_b dtbo.img
Do this with every file in bootloader mode except for system, vendor, product, and tz.img.
Now fastboot reboot fastboot
You'll be in a fastbootd mode now with language selection. Do not select anything.
Now enter fastboot commands for the remaining files in slots a and b
Example:
Fastboot flash system_a system.img
Fastboot flash system_b system.img
Fastboot flash product_a product.img
Etc.. with system, product, and vendor imgs. Do not flash tz.img at all.
Now fastboot -w to wipe data
Fastboot reboot. Done.
Well not actually.. after you boot, go to settings>system>system update. Do a local update (top right drop-down) and update with the latest ota zip you already have. Now update with that and you'll reboot and be good.
If you don't flash the ota zip through system update, you won't have data..
Click to expand...
Click to collapse
need help dumping the payload.bin from the international 10.0.6. I finally got my unlock_code.bin. is there a link to the international global 10.0.6 with the payload.bin extracted?
KMHartford said:
need help dumping the payload.bin from the international 10.0.6. I finally got my unlock_code.bin. is there a link to the international global 10.0.6 with the payload.bin extracted?
Click to expand...
Click to collapse
Search Google for payload extractors. There's a bunch of free ones for PC/Mac you can find. I use a Mac so I have a python script I found that I use in terminal to extract all the images from the bin file.
KMHartford said:
need help dumping the payload.bin from the international 10.0.6. I finally got my unlock_code.bin. is there a link to the international global 10.0.6 with the payload.bin extracted?
Click to expand...
Click to collapse
after unlocked with unlock_code.bin from oneplus
Converted. Installed oneplus usb drivers. downloaded Indian 10.0.6 rom, extract. Run the the flash-all.bat with the phone in fastboot. Let the flash-all completely finish. After reboot download global 10.0.6 rom. Copy to the root. Go to system update, local update install global 10.0.6 rom. After its finished conversion complete 10.0.6 international rom on T-Mobile HD1907.

Dtb not found

While unlocking camera 2 api It says failed (remote:dtb not found) in fastboot boot patchedboot.img step, any idea whats wrong?I tried with latest magisk as well as with the one in the patched boot file. Bootloader is unlocked and my phone is in the latest build 11.0.4.0 stock.
Samir 120 said:
While unlocking camera 2 api It says failed (remote:dtb not found) in fastboot boot patchedboot.img step, any idea whats wrong?I tried with latest magisk as well as with the one in the patched boot file. Bootloader is unlocked and my phone is in the latest build 11.0.4.0 stock.
Click to expand...
Click to collapse
I suppose you are trying to flash the patched boot.img. If that's the case, the command is "fastboot flash boot patched_boot.img".
Neon丶 said:
I suppose you are trying to flash the patched boot.img. If that's the case, the command is "fastboot flash boot patched_boot.img".
Click to expand...
Click to collapse
Im trying to install gcam without root. It says fastboot boot patched_boot.img in every guide i have seen so far, are you sure i need to add flash? Im dont have much knowledge in these things dont want to cause problems dor my device.
Samir 120 said:
Im trying to install gcam without root. It says fastboot boot patched_boot.img in every guide i have seen so far, are you sure i need to add flash? Im dont have much knowledge in these things dont want to cause problems dor my device.
Click to expand...
Click to collapse
No, not flash. Just boot.
Sounds like you are not running the command from the folder with the patched boot file. Or the file has a different name.

root 10.5.8

For whatever reason OnePlus removed the 10.5.8 update from their server. Therefore we can't patch to boot img.
The steps I took were
1. Patch 10.5.6 boot the img in fastboot
2. Reboot into system setup magisk
3. Reboot again in fastboot
4. Boot magisk patched img
5. Go into magisk and install and choose direct install
6. Profit with a 10.5.8 device without the wifi/gps/Bluetooth issues.
Thought I'd share my experience as I bought second hand and it had the latest update and couldn't find the download link to the full system update.
Might want to mention which Magisk, the known problem with Canary?
Also why patch 10.5.6 and not 8
dladz said:
Might want to mention which Magisk, the known problem with Canary?
Also why patch 10.5.6 and not 8
Click to expand...
Click to collapse
He dont have the 10.5.8.full rom to extract and patch the img
So he probably patch the 10.5.6 img , he just boot it temporary on fastboot , going to magisk ,installing magisk and when he's rebooting , he's on 10.5.8 rooted..
Here's stock boot for 10.5.8IN11BA if anyone needs it https://mega.nz/file/sb4WwSBS#jrCL7tek0SLbynTqbPU-s_j5g0cKFRsC4u7DR7S7sCI
cultofluna said:
He dont have the 10.5.8.full rom to extract and patch the img
So he probably patch the 10.5.6 img , he just boot it temporary on fastboot , going to magisk ,installing magisk and when he's rebooting , he's on 10.5.8 rooted..
Click to expand...
Click to collapse
Can't you get it from the updater?
dladz said:
Can't you get it from the updater?
Click to expand...
Click to collapse
Not if you have already updated via the OTA..
He probably got the OTA ( full zip) install it and then boot it..
If you've updated via local upgrade , then the full ROM zip has been saved on internal storage ...
But the easiest way to update and keep root is to just take the ota through the updater..dont reboot go to magisk manager , install magisk on inactive slot , ...done...
Patched img only needed to root after unlocking bootloader ..
Not anymore....
Bought the device updated already and can't find the 10.5.8AA build at all on OnePlus
facing the same issue... if anyone have the 5.8 aa it would be a great help <3
empreror said:
facing the same issue... if anyone have the 5.8 aa it would be a great help <3
Click to expand...
Click to collapse
Patch the 10.5.6 boot IMG and the fastboot boot <patchedmagisk.img>
Setup magisk and reboot into bootloader again to boot the patched image
Then go into magisk and do direct install and finally have working wifi etc.
10.5.8AA Oneplus Pro8 boot.img
https://sourceforge.net/projects/op8pro1058aa/files/10.5.8AA.img/download
bigjailerman said:
10.5.8AA Oneplus Pro8 boot.img
https://sourceforge.net/projects/op8pro1058aa/files/10.5.8AA.img/download
Click to expand...
Click to collapse
Is this the stock boot.img or rooted patched img?
Aporzio said:
Is this the stock boot.img or rooted patched img?
Click to expand...
Click to collapse
Tried it, it's patched.
Aporzio said:
Is this the stock boot.img or rooted patched img?
Click to expand...
Click to collapse
Yes it is patched...sorry for delay
bigjailerman said:
Yes it is patched...sorry for delay
Click to expand...
Click to collapse
Not a problem. I'm glad you didn't answer lol. I ended up teaching myself how to pull the img files from a payload.bin.
JKurtz87 said:
Patch the 10.5.6 boot IMG and the fastboot boot <patchedmagisk.img>
Setup magisk and reboot into bootloader again to boot the patched image
Then go into magisk and do direct install and finally have working wifi etc.
Click to expand...
Click to collapse
Can you be please more specific? I am new here and want to know what does it mean boot temporarily ? This command will boot your device temporray and after reboot it disappear ?
fastboot boot <patchedmagisk.img>

Question CPH2451 (usa variant) Stock firmware for A07 or atleast boot needed

I found on another page here the CPH2451 patched A07 boot. I followed all the directions to the letter. I have done this on my OP8Pro many times. After flashing init_boot (fastboot flash init_boot patched.boot.img) I'm now in a bootloop. I reset first the didn't setup anything after update to A07. Any help would be appreciated.
Anyone have another boot.img that's patched or maybe the stock boot?
I'm waiting for this as well
have you tried changing your active slot to the other one and see if you can boot?
use fastboot to see which slot you are on, then set it as the other and reboot
this will get your current slot
Code:
fastboot getvar current-slot
current-slot: b
Finished. Total time: 0.034s
set your active slot opposite of what you are currently on (slot b)
Code:
fastboot set_active a
if you are on b, set it to a
if you are on a, set it to b
give that a try and see if you can boot. you can revert it back it it doesnt help. worth a shot though.
shootind5nukes said:
I found on another page here the CPH2451 patched A07 boot. I followed all the directions to the letter. I have done this on my OP8Pro many times. After flashing init_boot (fastboot flash init_boot patched.boot.img) I'm now in a bootloop. I reset first the didn't setup anything after update to A07. Any help would be appreciated.
Anyone have another boot.img that's patched or maybe the stock boot?
Click to expand...
Click to collapse
You didn't by chance flash a patched boot.img to your init_boot partition did you? That could very well cause a soft brick. For rooting, you would need to patch init_boot and flash to init_boot.
Init_boot isn't the same as boot.
H4X0R46 said:
You didn't by chance flash a patched boot.img to your init_boot partition did you? That could very well cause a soft brick. For rooting, you would need to patch init_boot and flash to init_boot.
Init_boot isn't the same as boot.
Click to expand...
Click to collapse
I was very careful not to do that.
You flashed to boot not init_boot you need to reflash the boot.img to boot partition then boot your phone. Then you can go back and fastboot flash init_boot_a magisk_patched_init_boot.img
Then the same to init_boot_b do it to both slots you can extract the boot image with payload dumper and flash it to boot partition that should get you back running
shootind5nukes said:
I found on another page here the CPH2451 patched A07 boot. I followed all the directions to the letter. I have done this on my OP8Pro many times. After flashing init_boot (fastboot flash init_boot patched.boot.img) I'm now in a bootloop. I reset first the didn't setup anything after update to A07. Any help would be appreciated.
Anyone have another boot.img that's patched or maybe the stock boot?
Click to expand...
Click to collapse
shootind5nukes said:
I was very careful not to do that.
Click to expand...
Click to collapse
Both slots need to be flashed the init_boot read my post
shootind5nukes said:
I was very careful not to do that.
Click to expand...
Click to collapse
Somehow you screwed up the boot partition that's why it won't boot
str8str said:
You flashed to boot not init_boot you need to reflash the boot.img to boot partition then boot your phone. Then you can go back and fastboot flash init_boot_a magisk_patched_init_boot.img
Then the same to init_boot_b do it to both slots you can extract the boot image with payload dumper and flash it to boot partition that should get you back running
Click to expand...
Click to collapse
I assure you I did not flash to boot. I am the type that reads instructions 100 times. I know I must have did something wrong but it wasn't that.
https://www.droidwin.com/msm-download-tool-read-back-mode-create-oneplus-backup/
If you want to back up so you have all the bace files your phone will still connect to the MSM tool and you don't need to unlock the bootloader and you can extract every partition this way you can use the fast food tool to flash your phone this increases the recovery and boot image you don't need the payload.bin file
AkayamiShurui said:
https://www.droidwin.com/msm-download-tool-read-back-mode-create-oneplus-backup/
If you want to back up so you have all the bace files your phone will still connect to the MSM tool and you don't need to unlock the bootloader and you can extract every partition this way you can use the fast food tool to flash your phone this increases the recovery and boot image you don't need the payload.bin file
Click to expand...
Click to collapse
I forgot to mention this does work on bricked devices
Anybody with a corrupt boot.img that needs a factory one...
Does this one work ?
I would think it would work?
as it's a generic kernel image.
https://dl.google.com/android/gki/gki-certified-boot-android13-5.15-2023-02_r1.zip
shootind5nukes said:
I found on another page here the CPH2451 patched A07 boot. I followed all the directions to the letter. I have done this on my OP8Pro many times. After flashing init_boot (fastboot flash init_boot patched.boot.img) I'm now in a bootloop. I reset first the didn't setup anything after update to A07. Any help would be appreciated.
Anyone have another boot.img that's patched or maybe the stock boot?
Click to expand...
Click to collapse
Well if you trying to update to A.08 don't try flashing the boot.img I, I tried everything too and almost bricked my phone twice. if rooted you can't update with incremental updates in the USA ROM you only can do that with the EU ROM because they get a full ROM every time.
So I downloaded the EU ROM using oxygen updater App from play store then I used the OPLocalUpdate_For_Android12 App to force the update locally. The EU ROM looks the same to me so far but when we get a full ROM update in USA will switch back. Hope that helps

Categories

Resources