This is the first time I tried to install a custom rom. Please be gentle.
Device: Huawei Y300 (Bootloader unlocked and rooted)
TWRP Version: 2.5.0.1
Custom rom: cm-11-20140510-NIGHTLY-u8833.zip (found here)
I mindlessly tried to flash cyanogenmod 11 (kitkat) on my Huawei Y300. Here was the last steps I did:
copied rom and gapps zip files on phone root
restarted phone in fastboot mode
on ADB, ran
Code:
fastboot flash boot path\to\boot.img
(everything seem to be working fine)
ran
Code:
fastboot reboot
(phone rebooted in TWRP)
Tried to install cm-11-20140510-NIGHTLY-u8833.zip rom file (installation failed)
From what I read, the version of my twrp is not compatible with kitkat? Now i believe I bricked my phone because I forgot to create a backup of the stock rom.
Questions:
Is the stock rom still somehow there, hiding in my phone memory?
Is it possible to "undo"
Code:
fastboot flash boot path\to\boot.img
so that the "original" boot.img is used by my phone when I try to reboot it?
I am currently downloading Android SDK with a plan to upgrade my twrp for kitkat compatibility. I hope this will let me install cyanogenmod kitkat on my huawei. But I am not sure if I will succeed. If I still fail, can you guys tell me what other options I have to save my phone?
Thanks
Edit: problem solved.
I learned how to properly flash/upgrade twrp via fastboot.. Retried installing rom with twrp 2.7 and it was successful.
Hi
First a little history...
I recently got an OPX with the intention of installing Sailfish OS on it. So first I need to get CM 12.1 installed. Following the instructions here I flashed TWRP using fastboot, but the version of TWRP provided at the link would not find any system partitions on my device and therefore could not be used to flash any images. Newer versions of TWRP would simply not load.
Eventually, using the stock OPX recovery, I managed to upgrade Oxygen OS to the latest version. I then flashed the latest version of TWRP (3.1.1-1) again and it worked! It found my devices partitions and I could flash ROMs with it. But, it wouldn't flash CM 12.1. Something about a trustzone incompatibility...
So I got the idea to try and downgrade Oxygen OS, which I did via TWRP. But then TWRP stopped working... and here is my problem.
I'm now stuck in a situation where:
- I can access fastboot
- The only versions of TWRP which work (e.g. 3.0.2-0) fail to find my system partitions, and therefore can't be used to flash ROMs
- The stock recovery also seems to fail to find the system partitions (clicking on "install locally" does nothing), so I can't use that to flash ROMs either
So I really need to get a working image on my phone somehow... but how?? Is it possible to do this via fastboot only?
Cheers!
Is your bootloader unlocked? TWRP cannot see system partitions if so.
I unlocked it originally... but since then I have installed a new ROM (Oxygen OS 2.x). Would this overwrite the bootloader? Do I need to unlock again? I think I must be using the old OOS bootloader now...
I think you can see if it's unlocked if you boot into bootloader, connect to pc and write on cmd "fastboot devices".
Whenever you switch between android 5.0 roms and 6.0 and further you have to first use the correct recovery from oneplus, only then you can flash the correct twrp and the adequate roms
My bootloader is unlocked. I cannot flash a new ROM via recovery, because none of the recovery images (stock, TWRP) can see my system partitions (I don't know why). At this stage I would just like to know if there is a way to flash a stock ROM/recovery/bootloader via some other method (fastboot, or a special tool), so I can restore my phone back to factory state. I don't care about losing data. Thanks.
EDIT: Just to clarify, I believe this is my current situation (please correct me if something doesn't make sense):
- OOS has two different bootloaders, 2.x and 3.x.
- The phone originally had OOS 2.x on it. None of the TWRP images I installed recognized my system partitions, so I couldn't flash with TWRP.
- After re-installing the stock recovery (which happened automatically when I booted to the stock ROM), I was able to upgrade to OOS 3.x via stock recovery. Now recent TWRP versions were working (I assume because upgrading to OOS 3.x updated the bootloader too), and were recognizing my system partitions.
- Using a new version of TWRP (3.1.1-1), I re-flashed an older version of OOS 2.x again. I think this was my mistake, because I think this downgraded the bootloader to 2.x again. Now none of the TWRP versions recognize my system partitions, so I cannot flash ROMs.
- I have re-flashed the stock recovery from the OnePlus website, but not even this allows me to flash ROMs. The symptoms look like in TWRP, i.e. that it fails to recognize my system partitions. So I am stuck with no way to flash ROMs, or upgrade the bootloader.
my honor 9 has been stuck in a boot loop for a while know the phone is unlocked and so is FRP and im pretty new to this and im looking for tips i think i accidentally completely wiped my honor 9 everything and i need a way to install the stock rom back on to my phone.
if anyone can help i will be very great full
also i cannot wipe it through the recovery mode as it fails at like 20% for some reason and whenever i boot it will load up the honor logo and the screen will go black and then it will go to e recovery.
someone plz help.
Have you tried flashing TWRP as the recovery? (if its available yet) you should be able to do a full system wipe from there, then re-install a factory image. you will need to unlock the bootloader first so need to get a code for this from huawei's support site.
ambitiousButRubbish said:
Have you tried flashing TWRP as the recovery? (if its available yet) you should be able to do a full system wipe from there, then re-install a factory image. you will need to unlock the bootloader first so need to get a code for this from huawei's support site.
Click to expand...
Click to collapse
i allready installed twrp before and doone a factory reset through that and allready have an unlocked bootloader however i cant install the factory image thats the part im stuck at
edit: will i need to buy dc pheonix to force install the software as i cannot find a way to install.
You might want to try using the huawei updater tool to flash stock recovery and firmware.
Hi,
I am intending to instal my LG LG (European model) with the custom pie ROM. Currently I am runing official stock 8.0 firmware. Since this is the first time I am flashing my phone I am reading tutorials and guides, obviously the first step is to do a full back of the current ROM for recovery should I need it. I am reading that I should use TWRP to do this backup, but before I can install this I need root the phone. However when I read about rooting the phone I read that all data will be lost!
So given a stock ROM what is the correct and safe way to root and install TWRP. The guides are sending me around in circles!
Thanks.
robburne said:
Hi,
I am intending to instal my LG LG (European model) with the custom pie ROM. Currently I am runing official stock 8.0 firmware. Since this is the first time I am flashing my phone I am reading tutorials and guides, obviously the first step is to do a full back of the current ROM for recovery should I need it. I am reading that I should use TWRP to do this backup, but before I can install this I need root the phone. However when I read about rooting the phone I read that all data will be lost!
So given a stock ROM what is the correct and safe way to root and install TWRP. The guides are sending me around in circles!
Thanks.
Click to expand...
Click to collapse
The best way to root the lg g5 is to use lg up to restore it back to stock 7.0 20a. Then use adb and fastboot to flash twrp. Then magisk for root (optional). The best roms are currently lineage 16.0 and 17.0.
Thanks - but before I flash any images (stock or custom) I want to do a nandroid backup. I am not sure how to install TWRP without root access, and root access requires flashing!
You have to first find which model you have (for example h850) and see if its possible to unlock the bootloader.
This is necessary if you want to install custom roms/recovery.
On the h850 you can find a tutorial on xda called Official LG G5 H850 Bootloader Unlock.
After you unlock the bootloader you need to flash twrp recovery, after that you need to boot into the recovery and flash magisk for root.
Good luck
Thanks, I do have a European model H850. I found the official guide on this forum, but note that it says after the unlock.bin is received:
6. While the phone is still in fastboot enter the following command to unlock the bootloader:
This will unlock your phone AND factory reset your device wiping all data!
I don't want to wipe my data yet because it isn't backed-up. In order to back it up I need TWRP installed and in order to install TWRP I need to unlock the bootloader - so again I hit a dead end.
robburne said:
Thanks, I do have a European model H350. I found the official guide on this forum, but note that it says after the unlock.bin is received:
6. While the phone is still in fastboot enter the following command to unlock the bootloader:
This will unlock your phone AND factory reset your device wiping all data!
I don't want to wipe my data yet becasue it isn't backed-up. In order to back it up I need TWRP installed and in order to install TWRP I need to unlock the bootloader - so again I hit a dead end.
Click to expand...
Click to collapse
You would have to use a third party back up app either on your phone or PC.
I did try the Titanium app but it required root access I wasn't aware of any PC tools but will take a look now, thanks.
Ok so I have made some progress.
1. I unlcoked the bootlader with he unlock.bin from the LG Developers site
2. I then installed the latest TWRP
3. I booted into TWRP and installed the SU root zip. During the process I got this:
Failed to mount '/system' (Device or resource busy)
Failed to decrypt data
Unable to decrypt with default password. You may need to perform a Format Data
Updating partition details...
...done
Unable to mount storage
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
Regardless it seemed to be successful,I followed the option to reboot. Now I am stuck in a boot loop, until after a while it just stays on the LG splash screen.
Any suggestions?
Thank you!
robburne said:
Ok so I have made some progress.
1. I unlcoked the bootlader with he unlock.bin from the LG Developers site
2. I then installed the latest TWRP
3. I booted into TWRP and installed the SU root zip. During the process I got this:
Failed to mount '/system' (Device or resource busy)
Failed to decrypt data
Unable to decrypt with default password. You may need to perform a Format Data
Updating partition details...
...done
Unable to mount storage
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
Regardless it seemed to be successful,I followed the option to reboot. Now I am stuck in a boot loop, until after a while it just stays on the LG splash screen.
Any suggestions?
Thank you!
Click to expand...
Click to collapse
Did you root with magisk? Try flashing either a rom or boot into download mode and restore your phone.
I didn't try magisk yet, I followed the officla Lg G5 boot unlock thread which says to root with SuperSU.
Do I use magisk instead of or as well as SuperSU?
When I want to flash a rom is it the same process used to install SuperSU - use TWRP to boo into recovery mode -> install -> select zip -> flash?
Thanks.
robburne said:
Ok so I have made some progress.
1. I unlcoked the bootlader with he unlock.bin from the LG Developers site
2. I then installed the latest TWRP
3. I booted into TWRP and installed the SU root zip. During the process I got this:
Failed to mount '/system' (Device or resource busy)
Failed to decrypt data
Unable to decrypt with default password. You may need to perform a Format Data
Updating partition details...
...done
Unable to mount storage
Full SELinux support is present
Unable to mount /data/media/TWRP/.twrps
Regardless it seemed to be successful,I followed the option to reboot. Now I am stuck in a boot loop, until after a while it just stays on the LG splash screen.
Any suggestions?
Thank you!
Click to expand...
Click to collapse
robburne said:
I didn't try magisk yet, I followed the officla Lg G5 boot unlock thread which says to root with SuperSU.
Do I use magisk instead of or as well as SuperSU?
When I want to flash a rom is it the same process used to install SuperSU - use TWRP to boo into recovery mode -> install -> select zip -> flash?
Thanks.
Click to expand...
Click to collapse
So you first must find a rom for your variant of the g5 since it's a European version it's most likely an h850 then, boot into twrp wipe system, art chache, chache, data. Installing magisk is the same as super su
Thanks - can I try and flash the intended custom ROM at this stage - the revolution pie (Android 10) or should this be an official ROM first?
robburne said:
Thanks - can I try and flash the intended custom ROM at this stage - the revolution pie (Android 10) or should this be an official ROM first?
Click to expand...
Click to collapse
Whatever you prefer should work the best way to get back to stock is threw download mode
I managed to flash Linege 17.1 - seems to work well. The SyncDroid app I used won't restore my SMS messages though. Contacts and call logs were restored ok. My backup file is an xml, can I manually restore this?
robburne said:
I managed to flash Linege 17.1 - seems to work well. The SyncDroid app I used won't restore my SMS messages though. Contacts and call logs were restored ok. My backup file is an xml, can I manually restore this?
Click to expand...
Click to collapse
I don't know if you can restore an xml file.
(sorry if posting in the wrong place)
Background:
A few months, after receiving my Mi Note 10 Lite Miui 11 to 12 update, I finally rooted the phone using the Magisk patched boot method. All fine.
A while ago, with the latest MIUI 12 minor update we got, I lost root again. Now I wanted to root it again, and tried to find if there was already a working TWRP for this phone.
What happened:
After googling a bit, I found a post on XiaomiEU that had instructions to install a working TWRP (to install the rom). So I followed the steps, flashing vbmeta and the twrp image. Rebooted to recovery and as it was installed, I rebooted to system. After that, the first problem. It would only boot the twrp, not system.
To fix this, I got the latest stock fastboot rom and installed it via miFlash (with flash_all_but_storage option). Managed to boot again to Miui. After doing the google restoring steps, I found out that all my internal storage files were encrypted.
What I've tried so far:
formatted data (not internal storage and data/media) and tried again
installed a different TWRP I found here in XDA that supposedly would decrypt the files (twrp-3.4.0-14-toco-mauronofrio). It asks for the encryption password when starting and I get a success message when entering the right password, but even in the recovery file manager the files are encrypted.
installing recovery rom through TWRP without formatting data
(side note: on system, the Xiaomi Cloud restore seems to be always stuck without restoring anything and there is no way to stop it)
Can anyone please help me get my files (photos and videos, more importantly) back? Is there any hope? The files are there and I know the password, there must be something I can do...
Thanks in advance
Do you want to keep MIUI or go to a custom rom ?