Phone no longer has OS and having trouble installing custom rom - General Questions and Answers

Hey guys, hoping someone can save me from having to buy a new phone. I either need to fix it quickly or replace it quickly cause my job depends on having one.
I have a Moto 9 g plus.
I wanted to root my phone for a long time and today I decided to try since the Android 11 update ****ed up the camera on my phone anyway.
I followed this guide here
Root Motorola Moto G9 Plus Android 10 using TWRP and Install Magisk
When you have Stock Android on your mobile, You are almost free from bloatware apps. Even if your manufacturer put some apps, You can get rid of them in
www.androidinfotech.com
Everything seemed to be going well except that I couldn't get magisk to install, I kept getting errors in twrp.
I ended up installing the apk for magisk and used it to modify the boot file. I installed the image in twrp and on reboot, it went into a boot loop. I could go back to trwp and after swiping to factory reset, it broke the loop when I restart the phone. The problem is that now it just goes straight to the menu that you normally need to press and hold down and power to go to. I never did get to confirm if my phone was successfully rooted or not, I'm guessing no, and that that is the main problem now, as the phone won't boot up to where I can use apps, and if it isn't rooted, from what I understand, I can't install another rom?
Also, whenever I'm finished with twrp, when I press to reset it says something like "Phone no longer has OS, are you sure you want to reboot?". I read it is from wiping the data or factory reset, but I didn't actually wipe any internal memory, I can still view all files on it and on my sd card.
Maybe you guys can confirm my suspicions that I just ****ed up my phone for good or not.
This is what the error says when I attempted to install a rom, I tried with lineage and arrowos and I don't believe the problem is with the roms.
E:unable to update logical partion: /system_root
E:unable to update logical partion: /vendor
E:unable to update logical partion: /product
Failed to mount '/system_root' (Invalid argument)
Failed to mount '/vendor' (Invalid argument)
E:Unable to open /system_root/system/apex
E:Unable to load apex images from /system_root/
system/apex
MTP Enabled
Failed to mount '/system_root' (Invalid argument)
Installing zip file '/external_sd/Arrow-v12.0-odessa
-UNOFFICIAL-20211013-gapps.zip'
Flashing A/B zip to inactive slot: A
Failed to mount '/system_root' (Invalid argument)
Failed to mount '/vendor' (Invalid argument)
Step 1/2
Error applying update : 7 (ErrorCode::
kInstallDeviceOpenError)
Updater process ended with ERROR: 1
To flash addition zips, please reboot recovery to
switch to the updated slot.
Error installing zip file '/external_sd/Arrow-v12.0-odessa
-UNOFFICIAL-20211013-gapps.zip'
Updating partition details . . .
. . . done
If I try to install magisk.zip it gives this error
Failed to mount '/system_root' (Invalid argument)
Installing zip file '/external_sd/Magisk-23.0.zip
Checking for Digest file . . .
Unmounting System . . .
********************************
Magisk 23.0 Installer
********************************
- Current boot slot: b
! Cannot mount /system
- Unmounting partitions
Updater process ended with ERROR: 1
Error installing zip file 'external_sd/Magisk-v23.0.zip
Updating partition details . . .
. . . done
Thanks to anyone to offers any suggestions, this is my first time attempting this, so don't assume I know anything, I just step by step tutorials and usually don't have problems like this.

Related

Mutlirom Recovery Update---->Bootloop

Hello all
I just updated the multirom recovery after a year of successfully using it with 4 different roms, which 1 of them is ubuntu and now am stuck in a bootloop.
Whatever rom I try to boot it kicks me back to the rom selection screen. It must be something wrong with multirom recovery because even when I select to boot into bootloader or even Shutdown the phone from the multirom menu it just bootloops to the same screen again.
I'd really appreciate any kind of help you can give, it's extremely important I don't lose my roms. I want to save the phone as is.
Any ideas? Would really appreciate it.
-Regards.
I can't install any version of Multirom through twrp recovery. It always gives me error 7.
I also can't install a new rom. It says "Failed to create rom folder(Read only file system)".
I flash the AK kernel succesfully but at the end it gives me these errors:
E: Unable to mount '/data'
Failed to mount /data partition!
Updating partition details...
E: Unable to mount '/data'
...done
E: Unable to mount storage
Click to expand...
Click to collapse
Is there something rom with my file system?
Please, any idea would be really appreciated.

"Failed to mount 'protect_f' (Invalid argument)" while trying to flash through TWRP

"Failed to mount 'protect_f' (Invalid argument)" while trying to flash through TWRP
My Lenovo A536 went into boot loop cycle and I have been trying to flash a new rom or even a stock one for a while, but I keep getting this error when I try and do it through TWRP.
"
Failed to mount 'protect_f' (Invalid argument)
Failed to mount 'protect_f' (Invalid argument)
"
I flashed the phone multiple times through Smart Phone Flash Tool and it doesn't seem to work either.
The farthest I have come is a loading animation of the OS but it crashes shortly after that.
When I try to mount those two partitions in the mounting section of TWRP, it doesn't want to select them.
I looked at Android Scatter file that is used to install the OS for this phone and at the part with "protect_f' and "protect_s" is says Operation type: Protected, does this have anything to do with that error?
Some people told me that the phone is just on end of it's life and it's an internal memory issue. If it is something to do with hardware side of things, can I install the OS onto my SD card (SanDisk 16GB), and run the phone through that, since, while the phone was working, I noticed option to transfer the entire phones main data to SD Card, so is that possible to do through TWRP or other tools?
I tried Vibe+, Vibe 2.0, Lollipop 5.0, Slim 6.0.1 and non of those can get boot.

TWRP Internal Memory 0MB - Samsung S7 Oreo 8.0 ( SM-G930FD)

Hi All,
I am trying to root Samsung S7 Oreo 8.0 with TWRP & Magisk. But, when ever I log into TWRP it's saying "Inernal Memory 0MB)
I've followed below steps :
Installed TWRP and no-verity-opt-encrypt zip, it worked until I reboot to system
After reboot again the internal memory showing as 0MB (may be re-encrypted)
Is there any way that I can remove the encryption permanently?
Error :
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Updating partition details...
Failed to mount '/data' (Invalid argument)
...done
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
PS : I've gone through the forum to find different solutions, but nothing working to remove the encryption permanently.
yes, it is possible. is use it all the time with my stock android. give me some time to write it...or maybe someone other can tell u. u already used the search in this forum?
an other question, u really need an unencrytped internal memory?
snowfirewall said:
Hi All,
I am trying to root Samsung S7 Oreo 8.0 with TWRP & Magisk. But, when ever I log into TWRP it's saying "Inernal Memory 0MB)
I've followed below steps :
Installed TWRP and no-verity-opt-encrypt zip, it worked until I reboot to system
After reboot again the internal memory showing as 0MB (may be re-encrypted)
Is there any way that I can remove the encryption permanently?
Error :
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Updating partition details...
Failed to mount '/data' (Invalid argument)
...done
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
PS : I've gone through the forum to find different solutions, but nothing working to remove the encryption permanently.
Click to expand...
Click to collapse
Thank you.. Am not exactly looking for unencrypted partition. Am just confused whether it's expected to format data and no variety everytime or is it just one time for root?
Also I gone through the threads to find fix for this issue. But most of the people are suggesting to format data.
Any other better ways? Can we take backup of existing ROM from TWRP without root?
Roberto W. said:
yes, it is possible. is use it all the time with my stock android. give me some time to write it...or maybe someone other can tell u. u already used the search in this forum?
an other question, u really need an unencrytped internal memory?
Click to expand...
Click to collapse
i am using a stock firmware by telekom, it installs some features after first flash and first reboot (maybe ur firmware does not need step 3, so my second reboot is ur first reboot into download mode)
1. flash stock firmware
2. first reboot
3. install for provider reasons and then
4. second reboot (important: into download mode)
5. flash twrp
6. third reboot (important: into twrp)
7. flash zip-file (attached to this post)
8. reboot and wait....
now u should have an unencrypted system. the only thing is, u need to repeat these steps on firmware updates.
snowfirewall said:
Thank you.. Am not exactly looking for unencrypted partition. Am just confused whether it's expected to format data and no variety everytime or is it just one time for root?
Also I gone through the threads to find fix for this issue. But most of the people are suggesting to format data.
Any other better ways? Can we take backup of existing ROM from TWRP without root?
Click to expand...
Click to collapse

Failed to mount '/product' (invalid argument)

I have Samsung A50s.
Currently with NO OS as i was flashing infinity os and it did not work so i went back to TWRP to wipe system and start all over gain but it did not work and since i am getting this error what ever i wipe and thus i have no os on my phone right .
Please help me out as i could not find any fix for this.
Thanks

Error flashing ROM's since "semibrick/bootloop"

Hey guys,
Few hours ago, I Installed Poco x3 Europe ROM in my Global Poco X3 (with XiaoMiTool V2), and didn't start, it was in Bootloop. (Still don't know if this was a problem or not, I don't know what happened me that)
I solved it with MiFlash and flashing the lastest global rom "surya_global_images_V12.0.7.0.QJGMIXM_20201221.0000.00_10.0_global"
Finally, MIUI loaded, I install the TWRP, tried to flash crDroid ROM and these error appeared:
Updating partition details...
Failed to mount '/system_root' (Invalid argument)
Failed to mount '/product' (No such file or director)
After that, I don't know what I did, but I restarted and I didn't have any OS, phone starts automatically in Fastboot mode.
Again, reinstall the lastest rom with MiFlash, installed MIUI again, installed TWRP again, and I tried to flash LineageOS ROM:
Updating partition details...
Failed to mount '/system_root' (Invalid argument)
Failed to mount '/product' (No such file or director)
I retried to install the LineageOS again after that, and some extrange messages like:
patching system image unconditionally
patching product image unconditionally
After that, I installed OpenGapps Pico, and received Error 20. (I tried rebooting to TWRP again and flashing gapps again and same error)
Finally I made a reboot system, and LineageOS started, but without Gapps installed.
As you can see, I am newbie in the ROM world, I don't even know when to do wipe's (dalvik, cache, system) and format data, if before or after flashing ROM's, but yesterday, I installed ResurrectionRemix, ArrowOS, WaveOS and Pixel Experience ROM's without any problem.
What can I do?
Sorry you all for my bad english.
Best regards.
Since this happened to me, everytime I want to flash a clean ROM (European or Global) through XiaoMiTool V2, phone never work and start bootlooping in first screen (POCO in yellow) and I don't know why. I used XiaoMiTool V2 before and worked well.
Nobody know's what happening with my phone? My system_root and product partitions are broke? I need to change my rom, I don't like Miui haha
Use Orange Fox
or better TWRP
forsecom said:
Use Orange Fox
Click to expand...
Click to collapse
jeryll said:
or better TWRP
Click to expand...
Click to collapse
Small update.
I was using TWRP 3.4.0-15 (I think it's the lastest available)
Yesterday I installed OrangeFox R11.0_6 recovery, I flashed crDroid.zip ROM, apparently no problems with /system_root or /product:
patching system image unconditionally
patching product image unconditionally
After few seconds, error appear:
Failed to mount /vendor (Invalid argument)
After that (if my memory doesn't fail), I reboot in recovery, flashed NikGapps, and same error:
Failed to mount /vendor (Invalid argument)
I wiped cache, dalvik cache and format data, reboot system and crDroid started and I had Gapps installed, so maybe /vendor error is not serious, apparently everything works OK.
I flashed fw+vendor to flash another rom, and when I flash fw+vendor, I got error:
Failed to mount /vendor (Invalid argument)
After flash a new ROM.zip, I got error:
Failed to mount /vendor (Invalid argument)
After flashing gapps, I got error:
Failed to mount /vendor (Invalid argument)
Finally, I format data, and I got error:
Failed to mount /vendor (Invalid argument)
What the **** is /vendor and why happen this? xD
bartun said:
What the **** is /vendor and why happen this? xD
Click to expand...
Click to collapse
Vendor is specific to the device provided by the "vendor", i.e. usually the manufacturer (including customizations) – while System is the "Android base". If you upgrade a MIUI Rom with vendor deleted you're going to brick your device.
I think you need to do a full manual reinstall but I havent rooted my Poco. Maybe you wiped vendor when installing the custom rom... It advised to only wipe system and data
bartun said:
Hey guys,
Few hours ago, I Installed Poco x3 Europe ROM in my Global Poco X3 (with XiaoMiTool V2), and didn't start, it was in Bootloop. (Still don't know if this was a problem or not, I don't know what happened me that)
I solved it with MiFlash and flashing the lastest global rom "surya_global_images_V12.0.7.0.QJGMIXM_20201221.0000.00_10.0_global"
Finally, MIUI loaded, I install the TWRP, tried to flash crDroid ROM and these error appeared:
Updating partition details...
Failed to mount '/system_root' (Invalid argument)
Failed to mount '/product' (No such file or director)
After that, I don't know what I did, but I restarted and I didn't have any OS, phone starts automatically in Fastboot mode.
Again, reinstall the lastest rom with MiFlash, installed MIUI again, installed TWRP again, and I tried to flash LineageOS ROM:
Updating partition details...
Failed to mount '/system_root' (Invalid argument)
Failed to mount '/product' (No such file or director)
I retried to install the LineageOS again after that, and some extrange messages like:
patching system image unconditionally
patching product image unconditionally
After that, I installed OpenGapps Pico, and received Error 20. (I tried rebooting to TWRP again and flashing gapps again and same error)
Finally I made a reboot system, and LineageOS started, but without Gapps installed.
As you can see, I am newbie in the ROM world, I don't even know when to do wipe's (dalvik, cache, system) and format data, if before or after flashing ROM's, but yesterday, I installed ResurrectionRemix, ArrowOS, WaveOS and Pixel Experience ROM's without any problem.
What can I do?
Sorry you all for my bad english.
Best regards.
Click to expand...
Click to collapse
Install super.img from fastboot Rom

Categories

Resources