Nokia 3 TWRP Unable to flash Magisk - General Questions and Answers

Hello,
I flashed TWRP 3.1.1-0 from this post, but it doesn't seem to work at all. I am only able to view folders, I was able to use 'adb push' to get Magisk zip file to show up, but now when I try to flash it, it keeps giving me errors:
'Updater process ended with ERROR: 127'
'Error installing zip file '/Magisk.zip'
This 3.2.1 Post link is dead.
Same for this one.
I couldn't find any other recovery flashes such as OrangeFox since they don't support my device.
Also, I have unlocked the Bootloader, but when I try to start it I get "Orange State". Kind of annoying.
I am on Android 9.

Related

[Q] Moto g custom recovery not working

Hello Everyone,
My moto g phone suddenly started giving errors saying "unfortunately "xxxxx" not working. xxxx is like google play and many more system services. I cannot do anything as it gives the error continuously.
I was trying to factory reset the mobile and I got the error of "boot up failed". I searched for this and found out that I need to go for custom recovery(I'm new to this) to avoid this error and get my phone back to normal.
I found that I need to unlock boot loader to for custom recovery. After trying and searching a lot I managed to do that finally with the help of a thread in this forum.
From that time I tried with many img files like TWRP, CWM and philz. But, still I could not manage to get my phone back to work.
Last 3 days I was fully in to this searching and finding solution and finally thought to write here(I'm not feeling to give up on this). I can provide you with any information needed.
I read in some guidance of CWM recovery that I need to get CWM model to process further after the below command.
Code:
fastboot flash recovery recoveryimage.img
Instead my screen stays with the below content for whatever .img file I pass for the above command
"Android system recovery <3e>
LXB22. 46-28. 1"
Appreciate any help or support on this to get my phone back to work. Thanks in advance
Nazneen said:
Hello Everyone,
My moto g phone suddenly started giving errors saying "unfortunately "xxxxx" not working. xxxx is like google play and many more system services. I cannot do anything as it gives the error continuously.
I was trying to factory reset the mobile and I got the error of "boot up failed". I searched for this and found out that I need to go for custom recovery(I'm new to this) to avoid this error and get my phone back to normal.
I found that I need to unlock boot loader to for custom recovery. After trying and searching a lot I managed to do that finally with the help of a thread in this forum.
From that time I tried with many img files like TWRP, CWM and philz. But, still I could not manage to get my phone back to work.
Last 3 days I was fully in to this searching and finding solution and finally thought to write here(I'm not feeling to give up on this). I can provide you with any information needed.
I read in some guidance of CWM recovery that I need to get CWM model to process further after the below command.
Code:
fastboot flash recovery recoveryimage.img
Instead my screen stays with the below content for whatever .img file I pass for the above command
"Android system recovery
LXB22. 46-28. 1"
Appreciate any help or support on this to get my phone back to work. Thanks in advance
Click to expand...
Click to collapse
Rename the twrp or cwrecovery as recovery and copy to adb folder. Fastboot command is
fastboot flash recovery recovery.img, (not fastboot flash recovery recovery image .img)
pradeeppk said:
Rename the twrp or cwrecovery as recovery and copy to adb folder. Fastboot command is
fastboot flash recovery recovery.img, (not fastboot flash recovery recovery image .img)
Click to expand...
Click to collapse
it is not "recoveryimage". I just used it for this question. I tried with many files. So, I gave the name of the file and used the command and I got the success message also in CLI saying "Okay" and finished. But no file made any difference to device.
I had a pass code to unlock my screen. Two times I was able to get the screen (Other times it become dark after loading M) and it required the authentication code I gave to enter unlock screen. and I was filled with errors showing continuously "unfortunately not loaded 'system files' ". I suspect that whether the flash worked properly because it was asking for the screen unlock code.

[Completed] Help for installing a ROM to a Huawei Y635

Hi.
This is my first time attempting a custom ROM installation on a smartphone. I have so far unlocked the bootloader with the code that Huawei provided me and downloaded and installed a recovery (i think its a recovery) called TWRP 2.8.7 with its own bat file. The command in the bat are:
fastboot-windows.exe flash recovery recovery.img
fastboot-windows.exe reboot
I assume its installed now because there was no error (I did this while on fastboot mode).
Now I have the ROM but I have no idea how to install it, because I do not know how to get into the new recovery mode. Please help.
Update:
I have entered the recovery, and now I see how to flash the .zip file (got the .zip in my SD) but I get an error:
E:Error executing updater binary in zip '/external_sd/Carbon_4.4KK.zip'
Update2:
Looks like the ROM was for another model. I have installed another one, no error this time, but when I restart, it keeps sending me to the recovery instead of the Android OS...
1931322874 said:
Hi.
This is my first time attempting a custom ROM installation on a smartphone. I have so far unlocked the bootloader with the code that Huawei provided me and downloaded and installed a recovery (i think its a recovery) called TWRP 2.8.7 with its own bat file. The command in the bat are:
fastboot-windows.exe flash recovery recovery.img
fastboot-windows.exe reboot
I assume its installed now because there was no error (I did this while on fastboot mode).
Now I have the ROM but I have no idea how to install it, because I do not know how to get into the new recovery mode. Please help.
Update:
I have entered the recovery, and now I see how to flash the .zip file (got the .zip in my SD) but I get an error:
E:Error executing updater binary in zip '/external_sd/Carbon_4.4KK.zip'
Update2:
Looks like the ROM was for another model. I have installed another one, no error this time, but when I restart, it keeps sending me to the recovery instead of the Android OS...
Click to expand...
Click to collapse
Hello,
You may visit here Huawei Y635 Development and read the entire thread carefully. Might be you downloaded a different device's ROM even for the second time.
-Vatsal

permission denied error when trying to boot twrp.img

Trying to temp boot the twrp image so i can install it from the .zip on my device but i cant boot into twrp because of this error. twrp is not installed on my phone.
I have tried running the cmd as admin, making sure everything is in place(bootloader is unlocked, zip is in internal storage, properly installed sdk platform tools, enabled usb debugging, i even set my SELinux to permissive.) and i still get this error.
Im running nouget 7.1.2 (sailfish) N2G47E Ill post a scrrenshot here with the error message. ive tried doing this from both a rooted device and unrooted device and both have the same error. ive searched this forum and online everywhere and it seems no one has ever encountered this error. (hope im wrong dont care) I cant even boot the image from the phone (I.E. through flashify or any other app) in order to install the zip because when i try that i get a "no command" error when it tries to boot into recovery to boot the image. not my main worry though.
screenshot will be a reply if Im allowed if not google search "cannot load twrp.img permission denied" its on imgur.
duckshockey32 said:
Trying to temp boot the twrp image so i can install it from the .zip on my device but i cant boot into twrp because of this error. twrp is not installed on my phone.
I have tried running the cmd as admin, making sure everything is in place(bootloader is unlocked, zip is in internal storage, properly installed sdk platform tools, enabled usb debugging, i even set my SELinux to permissive.) and i still get this error.
Im running nouget 7.1.2 (sailfish) N2G47E Ill post a scrrenshot here with the error message. ive tried doing this from both a rooted device and unrooted device and both have the same error. ive searched this forum and online everywhere and it seems no one has ever encountered this error. (hope im wrong dont care) I cant even boot the image from the phone (I.E. through flashify or any other app) in order to install the zip because when i try that i get a "no command" error when it tries to boot into recovery to boot the image. not my main worry though.
screenshot will be a reply if Im allowed if not google search "cannot load twrp.img permission denied" its on imgur.
Click to expand...
Click to collapse
you need to flash the stock boot image first to be able to boot twrp.
you need the boot image patcher also, if you intend to flash twrp in order to sign the twrp boot image.
where does the boot image patcher go? a directory on my phone or my computer in the sdk tools folder?
i put the boot patcher on my devices internal (same location as twrp zip) and still receive the permission denied. i doubt this is because of root. so flashing the stock image is a waste of time.
The boot patcher is flashed from a computer using fastboot.
ne0ns4l4m4nder said:
The boot patcher is flashed from a computer using fastboot.
Click to expand...
Click to collapse
No I can't do that the whole issue here is I don't have twrp. I can't flash a zip without a custom recovery. I don't have the custom recovery because of this error.
Yes you need to fastboot boot twrp.img then flash twrp and the signer using pc unless I'm missing understanding
ne0ns4l4m4nder said:
Yes you need to fastboot boot twrp.img then flash twrp and the signer using pc unless I'm missing understanding
Click to expand...
Click to collapse
Right I understand that. Problem is when I "fastboot boot twrp.img" i get the error message i posted. So I don't have twrp at all because it won't let me fastboot it. The problem is that I can't fastboot twrp.img without getting the permission denied error in my cmd prompt
Are you the admin on the PC?, And are fastboot adb drivers installed for all users?
ne0ns4l4m4nder said:
Are you the admin on the PC?, And are fastboot adb drivers installed for all users?
Click to expand...
Click to collapse
Yes I am. And I also elavated the cmd prompt to admin as well. I've tried both as admin and not as admin
You don't need to patch boot if you're on the June firmware. That was only with May's firmware.
duckshockey32 said:
Trying to temp boot the twrp image so i can install it from the .zip on my device but i cant boot into twrp because of this error. twrp is not installed on my phone.
I have tried running the cmd as admin, making sure everything is in place(bootloader is unlocked, zip is in internal storage, properly installed sdk platform tools, enabled usb debugging, i even set my SELinux to permissive.) and i still get this error.
Im running nouget 7.1.2 (sailfish) N2G47E Ill post a scrrenshot here with the error message. ive tried doing this from both a rooted device and unrooted device and both have the same error. ive searched this forum and online everywhere and it seems no one has ever encountered this error. (hope im wrong dont care) I cant even boot the image from the phone (I.E. through flashify or any other app) in order to install the zip because when i try that i get a "no command" error when it tries to boot into recovery to boot the image. not my main worry though.
screenshot will be a reply if Im allowed if not google search "cannot load twrp.img permission denied" its on imgur.
Click to expand...
Click to collapse
Try using the 'boot' command with the original twrp.img file

Lost TWRP and root after update to MIUI 10

Hello,
I have a Mi Mix 3, MIUI global 10.2 stable, 10.2.2.0 PEEMIXM.
I managed to root, install TWRP and gcam after a few days of trying.
* Two days ago I updated from phone settings (About phone, Check updates ...)
* I lost both root and TWRP.
* I tried exactly the previous methods to root and phone stuck at booting (three dots flicking on the screen) - via PC / adb / fastboot.
* After that, I reset phone to factory settings and try again - boot in fastboot, try to flash TWRP and I get this error message: error cannot load TWRP.img file (not available or missing).
I also mention:
1. Phone was already rooted by the same procedure
2. Phone is unlocked
3. Dev options / USB debugging check
4. I renamed TWRP.img with recovery.img
5. I even try "TWRP" without extension ".IMG" (last week before the update I succeeded this way - no .img in the name of the file)
Please help
I need something so that I can root phone again AND won't delete TWRP and root after next update.
Thx very very much.
Any software update on this phone will overwrite TWRP if it has a recovery partition image, which most Xiaomi updates do have. There is a way to block it from getting overwritten by booting the phone, which has been implemented in the latest versions of the Chinese TWRP image. I do not know if they have been implmented on the official TWRP for our device.
Based on what you posted, it sounds like you probably need to reboot into the bootloader and use fastboot flash recovery "TWRPIMAGE.IMG" to install TWRP, then hold VOL Down + Power and reboot into TWRP. Once that is done, you can root again using MAGISK or whatever you choose to use for root.
PWn3R said:
Any software update on this phone will overwrite TWRP if it has a recovery partition image, which most Xiaomi updates do have. There is a way to block it from getting overwritten by booting the phone, which has been implemented in the latest versions of the Chinese TWRP image. I do not know if they have been implmented on the official TWRP for our device.
Based on what you posted, it sounds like you probably need to reboot into the bootloader and use fastboot flash recovery "TWRPIMAGE.IMG" to install TWRP, then hold VOL Down + Power and reboot into TWRP. Once that is done, you can root again using MAGISK or whatever you choose to use for root.
Click to expand...
Click to collapse
Thank you very much for your time and information. I must add that I was able to flash TWRP according to the procedure explained above, but I couldn't enter/access TWRP recovery. Then, I tried to re-flash TWRP and I always get the message: "error cannot load 'twrp.img' no such file or directory"
And I've tried several methods, several TWRP, different USB cables - almost everything you can imagine. Still, I cannot load the TWRP.img - it's not found. I must say I follow exactly the procedure explained in every posts.
What options do I have?
If you are using adb to load twrp, try putting it in the c/ of your pc, and putting twrp image in the adb folder, and if that didnt work, try renaming the img file to pocorecovery

Failed root, stuck on unlocked bootloader warning message.

Hi everyone,
I have tried to get root priviledges following a guide from Droidwin.com to flash Magisk throught TWRP. At the very last step, after flashing Magisk 19.3 throught TWRP when I tried to reboot my phone, it gets stuck on the "unlocked bootloader warning message", which is supposed to disappear after a few seconds and move on to the boot animation.
It seems like I can go to the stock recovery, which shows fastboot and wipe actions. At this point, I can acces the fastboot screen, but the device is not listed using the ADB command "adb devices", nothing is find.
I'm wondering, what can I try to restore the phone ? I thank you in advance for any suggestions.
Here are some additionnal informations:
---Device---
Oneplus nord running OxygenOS 10.5.5, european version.
---What I've done to get in this situation---
Unlock bootloader using ADB
Launch an TWRP image file using ADB
"Try" to root using Magisk 19.3 zip throught TWRP
Power off from recovery (using TWRP touch interface), but the guide tells to click reboot at this step ...
Get stuck on the warning message, not having any boot animation.
Try to boot in Fastboot.
Turn the Nord Off and start it with plus minus and Power.
Boot TWRP with "Fastboot boot "TWRP File name.img" and flash magisk 20.4
Thank you @denndenn.
I'm able to launch TWRP using the ADB command "fastboot boot [twrpfile].img". But when TWRP starts, it asks me for my decryption password, I type it, brief lines of code says "unable to read system/apex" before showing the home page of TWRP. Someone knows what this means, and if that can be the cause ?
I've then tried to reflash Magisk 19.3, which lead to the same result. I couldn't figure out how load Magisk 20.4 to my internal storage in order to flash it trought recovery ... Do you know how to flash a file which is not on my phone ?
Search forum....
Msm tool oneplus nord wipes phone but fixes any issues
thibdur said:
Thank you @denndenn.
I'm able to launch TWRP using the ADB command "fastboot boot [twrpfile].img". But when TWRP starts, it asks me for my decryption password, I type it, brief lines of code says "unable to read system/apex" before showing the home page of TWRP. Someone knows what this means, and if that can be the cause ?
I've then tried to reflash Magisk 19.3, which lead to the same result. I couldn't figure out how load Magisk 20.4 to my internal storage in order to flash it trought recovery ... Do you know how to flash a file which is not on my phone ?
Click to expand...
Click to collapse
Plug your phone to your PC while in TWRP, then you can use adb to push files to your phone, for example with adb push magisk.zip /sdcard. Then, flash Magisk in TWRP.
How about flashing stock boot to see if your OPN boots to system again and then simply load Magisk zip to your internal storage and then flash via TWRP?
Thank you a lot for your suggestions !
Here is the solution in my case :
Because fastboot was working, I was able to flash stock oxygen rom, and get every working, but it needs to erase all your data.
You can find a guide on the XDA topic "[ROM][STOCK][FASTBOOT][OPN] Stock Fastboot ROMs for OnePlus Nord". The rom list have the lastest roms version (09/2020), and the process is super automated.
Have a good week-end XDA !

Categories

Resources