Here's what I did:
1. Unlocked Bootloader and Flashed R2X2 Custom Recovery(the latest one) by @anabhi .
2. Wiped data by Recovery.
3. Then, took a backup(a bad backup*) of system, vendor, and boot.
4. Wiped Dalvik; Data; Cache; Vendor.
5. Rebooted; Flashed/Installed Lineage OS 17 zip from here.
6. Rebooted to system, it got stuck in boot animation of Lineage OS.
7. Wiped Dalvik; Data; Cache; Vendor and then restored the Backup(which I made in step 3)
8. Rebooted to system, and the screen goes blank/off after the white RealMe logo.
9. Tried to flash RealMe stock by all the methods in this video by @anabhi , nothing** works.
*I probably made a bad backup, as there was only 'system' in option when I was restoring the Backup in step 7.
** In the third step of the video, at 8:45, while flashing system.img and vendor.img via Fastboot Commands/ADB Tools, CMD is showing at the first line 'invalid sparse file format at header magic', and after few seconds the process gets completed.
Please Help!
Related
I was using MiUI official rom for a long time, so I thought to try a custom ROM on My Redmi 2 Prime
I thought to flash CM 11 S
I successfully flashed TWRP and wiped data, system, cache, dalvik cache, and internal storage, and then I flashed CM11S Rom, it successfully got installed, but when i rebooted it to system, its splash logo was changed to some Linux Penguin, and it stucked on that position for more than 20 Minutes.
I tried to reboot to recovery or fastboot but it still stuck on that Linux logo.
Help me to recover this problem.
rk25412 said:
I was using MiUI official rom for a long time, so I thought to try a custom ROM on My Redmi 2 Prime
I thought to flash CM 11 S
I successfully flashed TWRP and wiped data, system, cache, dalvik cache, and internal storage, and then I flashed CM11S Rom, it successfully got installed, but when i rebooted it to system, its splash logo was changed to some Linux Penguin, and it stucked on that position for more than 20 Minutes.
I tried to reboot to recovery or fastboot but it still stuck on that Linux logo.
Help me to recover this problem.
Click to expand...
Click to collapse
while phone is turned off just hold vol- and connect the usb cable to it, it should jump into fastboot immediately
Hello,
I have problem with my SM-G530FZ. I have installed TWRP, everything works great. But after that installing whenever I try to reboot, it reboots to TWRP instead of to system, so I have to click Advanced --> Reboot System, if I wish go to system. It's like TWRP is in a first boot partition. How to make it working, before installing, I mean standard reboot / boot is booting into system, not into TWRP?
Thanks for advice.
Reflash your boot partition and recovery as well
But how to do that?
Download the original firmware and unpack it, then go to heimdall or odin and flash the boot partition with the original boot file
Good, which happens is that it tries to install a rom official to my huawei from ADB, I made the process with his due steps and the imgs (BOOT, CUST, SYSTEM, RECOVERY) on having finished of flash the SYSTEM.img, restart it and still has me in the logo and it returns to restart (Infinite restart) and it does not leave me to enter to recovery, not to the menu of update.
Sorry for my english, Thanks :good:
What full firmware version were you on previously, before trying to install the official rom? Give the full format: GRA-xxxxCxxxBxxx.
What version of the official rom are you trying to flash now? Again, give the full format as above. Also, is it a full version rom or an OTA update?
In what order are you flashing the extracted files? Try in this order: 1. boot, 2. recovery, 3. system (don't flash custom). After flashing the 3 files, boot into Recovery mode, then do a factory reset & cache wipe.
What i did stepwise -
1. Unlocked bootloader of my g5 plus
2. Flashed twrp-3.2.3-1-potter.img via adb
3. Booted to TWRP
4. Wiped to decrypt phone
5*. Booted to system to enable usb debugging, enabled it . Transfered magisk , arrow 9.0 rom , gapps to my internal storage of phone
6. Open bootloader , selected recovery mode and got nothing except error "No Command"
So i cannot flashed anything what i wanted to
What and Where i made the mistake ?
How can i get TWRP back?
Thanks all in advance
Solution
1. Flashed magisk17.1 and lazyflasher
2. Updated magisk manager and got root
3. Installed official TWRP app , granted root and downloaded same TWRP.img from which i decrypted the phone.
4. Flashed twrp fom the official twrp app.
5. No irritating No Command error again
The no command screen is that of the stock recovery (that's a normal screen). From your steps, it seems like you booted to system in step 5 rather than back to recovery. It seems that after flashing TWRP, you may have to boot to recovery to fix TWRP as your recovery (else the stock recovery overwrites TWRP). Afterwards, you should be able to boot as normal with TWRP still present.
Easiest way to recover would be to repeat step 2 and 3. Then reboot to recovery in TWRP and that should retain TWRP. Back up your existing system, then flash the ROM, GApps and magisk as desired.
echo92 said:
The no command screen is that of the stock recovery (that's a normal screen). From your steps, it seems like you booted to system in step 5 rather than back to recovery. It seems that after flashing TWRP, you may have to boot to recovery to fix TWRP as your recovery (else the stock recovery overwrites TWRP). Afterwards, you should be able to boot as normal with TWRP still present.
Easiest way to recover would be to repeat step 2 and 3. Then reboot to recovery in TWRP and that should retain TWRP. Back up your existing system, then flash the ROM, GApps and magisk as desired.
Click to expand...
Click to collapse
Thanks for your answer sir , but it didn't work
What I did again
1.I flashed same twrp from adb
2. Booted to recovery , but this time TWRP didn't asked password and I could see internal storage in twrp but not on my PC
3*.However I took the whole backup of stock nougat and cross check from restore option as there was backup in TWRP folder. I wanted copy that backup to my PC . But PC cannot detect my phone while in recovery
4. So booted to system and my PC detected my phone but there was no backup in TWRP folder.( But around 6gb(backup) of storage was used but I couldn't see it)
5.Again booted to recovery mode but "No Command" showed again .
I tried several times but I keep losing TWRP and couldn't see the backup which I make
Same problem. Resolved by flashing alternately several times twrp-3.2.1-0-potter.img and twrp-3.2.1-1-potter_persist.img and finally updated twrp-3.2.3-1-potter.img
It's because of dm-verity. You have to flash something like magisk or a custom kernel that disables it *before* you reboot into stock.
NZedPred said:
It's because of dm-verity. You have to flash something like magisk or a custom kernel that disables it *before* you reboot into stock.
Click to expand...
Click to collapse
I flashed magisk 17.1 and lazyflasher ,i got magisk and root but cannot install modules may be becoz of f2fs bug . By the way i lost twrp after booting to system again and No command still present in recovery mode . I am frustrated Moto software is just pain in head :silly:
Hi guys.
I have a Huawei P8 Lite 2017 PRA-LX1 Single Sim, no brand EUROPE [PRA-LX1 8.0.0.400(C432)].
Yesterday, I suddenly had an idea: unlock OEM (I have a code from before Huawei stopped giving them),
flash TWRP, Magisk, then root and finally flash an official DotOS 3.0 Build for EMUI 8 devices
(all packages built for prague devices like my one). So I searched through XDA and other forums to find TWRP and
other necessary files (all listed here):
• TWRP Recovery: Google Drive "TWRP 3.2.1-0 April 8th build Round 2.img"
• Magisk - that's useless to list - both APK to install and .zip to flash via TWRP: Apkmirror
• Custom ROM: xda-DarkJoker360 "Dot OS P v3.0 for Huawei P8 Lite 2017"
• GApps: OpenGapps ARM64, 9.0, nano
So i unlocked the bootloader using the adb commands everyone knows.
I flashed TWRP using this guide: https://www.youtube.com/watch?v=ijAuoxlnzlo (I'm italian).
From the phone I downloaded Magisk Manager, installed, then from there I downloaded the flashable .zip.
I flashed the Magisk .zip from TWRP.
I checked the root status with Root Checker App: phone was rooted.
I moved the flashable DotOS ROM .zip and the GApps .zip to a 15GB non-formatted SDHC.
Inserted the SD in the phone.
From Magisk Manager i rebooted the device in TWRP Recovery mode.
Followed the "CLEAN FLASH" instructions from the DotOS thread:
Code:
• Download the latest build and GApps
• Reboot to recovery
• Make nandroid backup (Not Necessary)
• Wipe System, Data, Cache, Dalvik
• Flash the latest build and GApps
• Reboot
- I tried to do a Nandroid Backup, but since TWRP didn't want to do it (I was getting errors), I continued without backup. (FIRST MISTAKE)
- I did the Wipes, but there was problems with the Cache wipe: "Failed to wipe cache" or something like that.
So I looked for a solution in XDA, and i found something like "Do a data format since the datas are Encrypted"
- I did the Data Format
SECOND MISTAKE, because the Format deleted the stock OS, and I had not yet flashed the custom one (DotOS).
- It rebooted in TWRP and i flashed DotOS and GApps. I did another Cache and Dalvik wipe (THIRD MISTAKE)
and i rebooted.
- I saw the beautiful DotOS bootanimation playing on the screen, but then..
- the screen got black, and the Huawei logo appeared. I had an heart attack.
- The black screen with "Your phone is unlocked and can't be trusted" and the three options appeared.
I turned off the phone.
Now this is my current situation:
I turn on the phone
- The black screen with "Your phone is unlocked and can't be trusted" and the three options appears.
- If I let boot, the bootloop goes in action (DotOS bootanimation -> Black Screen -> Huawei Logo -> "Your phone is unlocked" screen again)
- If I press Vol+ for more than 3 seconds, the phone boots into Huawei erecovery. Now from there i can:
- "download the latest firmware and recovery" but it fails at 5%
- Do a factory reset. I have to type "yes" to confirm. Then it shows a "Your phone is unlocked" screen but without options for a while, and
then, without doing nothing, it boots into TWRP
- Reboot (bootloop goes in action)
- Shutdown
So, what do i have to do? That's my only phone (don't ask me "so why did you decided to do this", i know already).
If you have any solution, and maybe you had a similar experience, please (PLEASE :crying tell.
Thanks in advance.