Hi guys
Can't install any OS (tried via ADB commands and flashing custom roms via TWRP).
Whatever I try, it just boots to TWRP.
ADB commands do work because I managed to install TWRP 3.0 and 3.1 for the Moto Z Griffin
Bootloader is unlocked
This device was working fine on Stock Noughat (installed via ADB) and AOKP (installed via TWRP).
Problems began when the camera "failed to start" and in my frustration, I wiped everything via TWRP including system, so now I have no OS.
Not sure why I can't get anything to install.
reflash stock firmware
Any idea what method I should use?
forcedv said:
Any idea what method I should use?
Click to expand...
Click to collapse
Fastboot or RDSlite. Flashing rom only won't help.
Tried this but it didn't work... Just boots to TWRP again.
What am a doing wrong?
https://forum.xda-developers.com/moto-z/development/android-nougat-moto-z-versions-t3506342
forcedv said:
Tried this but it didn't work... Just boots to TWRP again.
What am a doing wrong?
https://forum.xda-developers.com/moto-z/development/android-nougat-moto-z-versions-t3506342
Click to expand...
Click to collapse
There's no stock recovery flash command on the list in the link. If you've got full firmware you need to execute this command as well:
Fastboot flash recovery recovery.img
Thank you so much, that fixed this problem.
Related
I try to install .img file in recovery, but after install this, my phone shutdown in software brick....
AyalaE96 said:
I try to install .img file in recovery, but after install this, my phone shutdown in software brick....
Click to expand...
Click to collapse
Don't use install img option on twrp it may not work always
Instead of that you can flash recovery using fastboot with "fastboot flash recovery (the name of recovery).img) command
raminta said:
Don't use install img option on twrp it may not work always
Instead of that you can flash recovery using fastboot with "fastboot flash recovery (the name of recovery).img) command
Click to expand...
Click to collapse
I tried, and it didnt work...
AyalaE96 said:
I tried, and it didnt work...
Click to expand...
Click to collapse
Do you have unlocked bootloader???
raminta said:
Do you have unlocked bootloader???
Click to expand...
Click to collapse
yep
raminta said:
Do you have unlocked bootloader???
Click to expand...
Click to collapse
I solved it, I first must install Repack boot with "fastboot flash boot ...img"
After install recovery with "Fastboot flash recovery ...img"
My error Because I should read this first...
Dees_Troy said:
Note that the Z2, like most other Sony devices does not have a proper bootable recovery. As such you have to install a kernel that includes a recovery with it. For a time I will try to continue to supply updated stock kernels repacked with TWRP in them. If you are running one of my kernels or have a custom ROM like OmniROM installed, you can install TWRP in the FOTAKernel partition to stay on the latest version of TWRP.
Device page on our website
Mirror 1
Mirror 2
To install a stock kernel, boot the device into fastboot mode and then from your computer: fastboot flash boot path/to/filename.img
Click to expand...
Click to collapse
However is it true? With latest updates there was bootloader update which brings (or at least should as Sony said) /recovery partition (or more gives access to it, coz partitions was probably always there).
However how it exactly works? I always thought that onee flashed update with newest bootloader will leave new bootloader and this partition forever. But I got Z2 with .291, downgraded it to 4.4.2 for Root and TA backup and than tried to flash recovery to recovery partition, but got error: FAILED (data transfer failure (Unknown error)).
Does it mean that only on latest update(s) there is possibility to use this partition?
Never tried it on my ZU before. I just started form latest 5.1.1.
EDIT: OK, so what i assumed was right - on 6.0.1 I was able to flash the recovery to it's partition.
Now the problem is with booting into it. How? With Power + Vol- it still stright to boots to OS...
EDIT2: adb reboot recovery boots to different bootloader screen (Power+Vol- gives SONY screen and adb gives SONY + XPERIA screen.
However it still boots strght to Android...
Any idea what I'm doing wrong? I have 23.5.A.1.291 + unlocked bootloader + TWRP 3.0.2-0 (official) flashed with fastboot flash recovery img.
I'm 100% sure that SONY screen (w/o XPERIA) is the right one as I have identical one on my ZU when booting into bootloader-recovery mode. But why here it don't boot TWRP, but OS?
HELPPPP
Pleaseeeee tell me how did you flash twrp 3.0? I have tried almost everything it now seems impossible for me... Pleaseee helpp me T_T ... Thankk youuu
Hi,
XT1527 surnia_retca_cus 2016-11-18
this phone doesn't seem to allow flashing a custom recovery (fastboot flash went ok but still boots into stock no matter what). Fastboot boot with twrp image didn't work either (stuck on splash screen)
I now tried flashing a stock rom but couldn't find exact same model. Phone is now bricked (flashing gpt.img fails).
Any suggestions? Thanks
Foldback said:
Hi,
XT1527 surnia_retca_cus 2016-11-18
this phone doesn't seem to allow flashing a custom recovery (fastboot flash went ok but still boots into stock no matter what). Fastboot boot with twrp image didn't work either (stuck on splash screen)
I now tried flashing a stock rom but couldn't find exact same model. Phone is now bricked (flashing gpt.img fails).
Any suggestions? Thanks
Click to expand...
Click to collapse
Flash the twrp and the boot into it and allow modification to keep twrp then flash any custom rom
riyan65 said:
Flash the twrp and the boot into it and allow modification to keep twrp then flash any custom rom
Click to expand...
Click to collapse
Ok, I managed to flash both the twrp.img and the boot.img from a "surnia_retca...similar but not same...cid14" onto it but it still fails to start twrp, saying as before "Error: failed to load kernel! Boot up failed".
Foldback said:
Ok, I managed to flash both the twrp.img and the boot.img from a "surnia_retca...similar but not same...cid14" onto it but it still fails to start twrp, saying as before "Error: failed to load kernel! Boot up failed".
Click to expand...
Click to collapse
Are you on stock rom or custom???
If on stock you need to flash the firmware again, if on custom just flash the custom ROM again, it will fix your problem.
riyan65 said:
Are you on stock rom or custom???
If on stock you need to flash the firmware again, if on custom just flash the custom ROM again, it will fix your problem.
Click to expand...
Click to collapse
I originally only had the stock rom, which would not go into twrp as recovery after flashing (going into stock recovery instead).
I did not back up this stock rom and tried a similar, but slightly older one (XT1527_SURNIA_RETCA_6.0_MPI24.65-39_cid14_subsidy-DEFAULT_CFC.xml.zip) which failed the gpt stage of flashing and after that the stock was gone.
It now only has the bootloader working, with the above problems.
Foldback said:
I originally only had the stock rom, which would not go into twrp as recovery after flashing (going into stock recovery instead).
I did not back up this stock rom and tried a similar, but slightly older one (XT1527_SURNIA_RETCA_6.0_MPI24.65-39_cid14_subsidy-DEFAULT_CFC.xml.zip) which failed the gpt stage of flashing and after that the stock was gone.
It now only has the bootloader working, with the above problems.
Click to expand...
Click to collapse
You were lucky as your device didn't get hard Bricked, if you flash a older firmware then the device has, then it going to hard brick and you won't get bootloader too. So it just a paperweight.
If you want to flash stock rom then flash the ROM by removing the gpt and bootloader command, if any error occurs keep going and then reboot the device. Your device will work.
That worked, thanks very much! Using the XT1527_SURNIA_RETCA_6.0_MPI24.65-39_cid14_subsidy-DEFAULT_CFC.xml.zip, it gave an error for the mfastboot erase customize line, but then booted into Android and stock recovery was back as well.
I am now back to the problem of getting the device to run the twrp recovery. It flashes OK but gives "Error: failed to load kernel! Boot up failed" when rebooting and going into Recovery from bootloader. Stock recovery is gone after this new attempt. What's going wrong? I am using twrp-3.3.1-0-condor.img
Foldback said:
That worked, thanks very much! Using the XT1527_SURNIA_RETCA_6.0_MPI24.65-39_cid14_subsidy-DEFAULT_CFC.xml.zip, it gave an error for the mfastboot erase customize line, but then booted into Android and stock recovery was back as well.
I am now back to the problem of getting the device to run the twrp recovery. It flashes OK but gives "Error: failed to load kernel! Boot up failed" when rebooting and going into Recovery from bootloader. Stock recovery is gone after this new attempt. What's going wrong? I am using twrp-3.3.1-0-condor.img
Click to expand...
Click to collapse
Your using different twrp for different devices which cause the issue of kernal. Flash this twrp and it going to work.
https://twrp.me/motorola/motorolamotoelte.html
riyan65 said:
Your using different twrp for different devices which cause the issue of kernal. Flash this twrp and it going to work.
https://twrp.me/motorola/motorolamotoelte.html
Click to expand...
Click to collapse
You're a star! Surnia twrp is working. When I started I didn't know about the different Moto E's (I was looking at the /e/ fork of LineageOS for Moto E, and they officially only list condor). Hence I only tried condor...
Luckily there is an unofficial /e/ build for surnia. This installed successfully by adb sideload. Mission accomplished, thanks again for your help!
PS.
Check out https://doc.e.foundation/what-s-e
it's a very good idea.
I have a problem that i never make it into recovery again. I am used to adb/fastboot, this is my 5th device and i happily used different custom roms as lineage, havoc, crdroid for about 7 years and thus am familiar with the concepts of a/b, recovery, adb/fastboot and so on.
Now, when i "flash_all" with stock from here (V10.3.17.0.PFQEUXM) on my a3, i suppose both slots a and b are overwritten with stock. interestingly this stock rom only boots in a-slot, not in b-slot.
when i now just "fastboot flash recovery twrp...." with 3.3.1.2 and hit the manual enter to recovery (power + vol up), i just get a "no command" error - no twrp in sight.
i also tried this with flash_all V11.0.2.0.QFQEUXM rom (a10) and fastboot flash recovery twrp 3.3.1-17 Q from mauronofrio - same result.
anyone knows what i did wrong?
basically i didnt enter team win recovery for some good amount of tries which slightly terrifies me at this point. (help)
Should i use the global versions instead of the europe ones? Do i need to use "fastboot flash BOOT twrp.." instead of "fastboot flash recovery twrp.."?
I am also happy for suggestions where i could pose this issue more appropriate.
//update: i am now in stock rom and could root it with flashing a magisked boot.img but still cannot enter twrp recovery (-> "no command").
Ya you entered the wrong command it's
Code:
fastboot flash boot twrp.img
When you boot to twrp make sure to flash stock boot.img of the firmware which you are currently running and then flash twrp installer.zip flash both of these in twrp and do not reboot between flashes
thanks @garylawwd
garylawwd said:
Ya you entered the wrong command it's
Code:
fastboot flash boot twrp.img
Click to expand...
Click to collapse
So to be sure: i have stock 11.0.3.0 europe from here installed and i am in slot a now and i cannot go into twrp because it says "no command".
i go to fastboot now, then
Code:
fastboot flash boot twrp.img
with a recent twrp that can run android 10 from here and then power + vol up without switching slots.
garylawwd said:
When you boot to twrp make sure to flash stock boot.img of the firmware which you are currently running and then flash twrp installer.zip flash both of these in twrp and do not reboot between flashes
Click to expand...
Click to collapse
how can i flash a boot.img from twrp? i thought, i can only flash .zips from twrp? Also do i need to take spacial measures to be able to read internal memory in twrp?
//edit: i tried to flash named twrp but it wouldnt boot up into recovery, instead went straight into fastboot. so i flashed boot with stock boot again. no solution in sight.
Just FYI - "no command" is default welcome page of stock recovery. If you see it, you don't have TWRP installed.
_mysiak_ said:
Just FYI - "no command" is default welcome page of stock recovery. If you see it, you don't have TWRP installed.
Click to expand...
Click to collapse
Thank you. Still i would expect twrp to open.
Am i using a/b wrong? When i am on slot a and go into fastboot anf fastboot flash boot twrp.img, then i expect twrp to be installed in a, is that correct? Or is it always installed in the inactive slot and thus i had to switch to slot b before i install twrp to have it on a?
tutankpusch said:
Thank you. Still i would expect twrp to open.
Am i using a/b wrong? When i am on slot a and go into fastboot anf fastboot flash boot twrp.img, then i expect twrp to be installed in a, is that correct? Or is it always installed in the inactive slot and thus i had to switch to slot b before i install twrp to have it on a?
Click to expand...
Click to collapse
No idea with TWRP, never used it on this phone, Magisk is enough for me. But I would follow one of the available guides if you need to have TWRP installed.
_mysiak_ said:
No idea with TWRP, never used it on this phone, Magisk is enough for me. But I would follow one of the available guides if you need to have TWRP installed.
Click to expand...
Click to collapse
Thanks @mysiak_d
I used for example this method with this recovery bc it should work with android 10.
straight into fastboot instead recovery :/
Device: Asus Zenfone 6 with LineageOS 16 and LineageOS recovery
long story short, fastboot doesn't seem to working on my device anymore. I tried using a different cable, different computer, different operating system etc. I'm able to get output when I do "sudo adb reboot bootloader" but not always and only intermittently even the charging happens always. But whenever I reboot into the bootloader and do "sudo fastboot devices", I don't get any output
I need to flash the stock ROM on this device to be able to sell it.
Is it possible to flash the stock ROM on it without using fastboot? I tried using the LineageOS recovery to install the stock ROM but I get the following error
failed to verify package compatibility (result 1): runtime info and framework compatibility matrix are incompatible: Vbmeta version 0.0 does not match framework matrix 1.0. Installation aborted.
bezelfree said:
Device: Asus Zenfone 6 with LineageOS 16 and LineageOS recovery
...
failed to verify package compatibility (result 1): runtime info and framework compatibility matrix are incompatible: Vbmeta version 0.0 does not match framework matrix 1.0. Installation aborted.
Click to expand...
Click to collapse
You can't use LOS recovery to flash the stock rom, it's only to update LineageOs itself. If TWRP, Clockwork mod recovery, pitch black recovery or any other custom recovery is available, you'll surely be able to flash the stock ROM.
And most of the time fastboot isn't working because the drivers aren't installed.
Make sure you download adb and fastboot from here : https://developer.android.com/studio/releases/platform-tools
You can check out this : https://www.asus.com/Phone/ZenFone-6-ZS630KL/HelpDesk_Download/
@bezelfree
A device's Stock ROM can get flashed via ADB
Code:
adb devices
adb reboot sideload
adb sideload <FULL_PATH_TO_STOCK_ROM_ZIP_FILE_ON_PC>
adb reboot
Raiz said:
You can't use LOS recovery to flash the stock rom, it's only to update LineageOs itself. If TWRP, Clockwork mod recovery, pitch black recovery or any other custom recovery is available, you'll surely be able to flash the stock ROM.
And most of the time fastboot isn't working because the drivers aren't installed.
Make sure you download adb and fastboot from here : https://developer.android.com/studio/releases/platform-tools
You can check out this : https://www.asus.com/Phone/ZenFone-6-ZS630KL/HelpDesk_Download/
Click to expand...
Click to collapse
Thanks for the reply.
Installing TWRP would also require fastboot I guess which I don't have right now. Can I flash TWRP without using fastboot?
I'm using adb and fastboot from the packages provided by my Linux distribution. They are also on the latest version.
Code:
$ adb --version
Android Debug Bridge version 1.0.41
Version 30.0.4
$ fastboot --version
fastboot version 30.0.4
I did, however, try doing this on Windows using the same link you mentioned and fastboot still didn't work. ADB works but not reliably.
bezelfree said:
Thanks for the reply.
Installing TWRP would also require fastboot I guess which I don't have right now. Can I flash TWRP without using fastboot?
I'm using adb and fastboot from the packages provided by my Linux distribution. They are also on the latest version.
I did, however, try doing this on Windows using the same link you mentioned and fastboot still didn't work. ADB works but not reliably.
Click to expand...
Click to collapse
Weird, you can install TWRP from the mobile app if your LOS is rooted. If it's not tho you're blocked. How did you install LOS in the first place ?
Raiz said:
Weird, you can install TWRP from the mobile app if your LOS is rooted. If it's not tho you're blocked. How did you install LOS in the first place ?
Click to expand...
Click to collapse
After an entire day of messing around, I finally got it.
First of all, I still can't get fastboot to work. I had the LineageOS recovery on my phone. I flashed the TWRP installer ZIP file from the LineageOS recovery and booted into TWRP. I installed the stock ROM from my SD Card in TWRP and rebooted. The device was stuck on the boot animation. Rebooted and did a factory reset and got the stock ROM back.
But yeah, fastboot still doesn't work for some reason. Don't know why. But hey, I got what I wanted.
Thanks for the help.
bezelfree said:
After an entire day of messing around, I finally got it.
....
Thanks for the help.
Click to expand...
Click to collapse
Nice to see it worked
And, I don't want to tell you what you have to do but make sure to tell the next owner about that fastboot problem. He won't be able to recover anything if the phone is bricked, so make sure he understood what he bought (at an interesting price I imagine)
Hi everyone,
I tried to install Lineage OS on my Xperia Tablet Z Wifi and followed the instructions here: https://wiki.lineageos.org/devices/pollux_windy/install
I am on Ubuntu and I did unlock the bootloader successfully. Then I tried to flash twrp but this is where things went wrong.
After entering
Code:
fastboot flash boot ./twrp-3.5.2_9-0-pollux_windy.img
the device did not start anymore. I can still enter fastboot mode and the device is recognized on the PC but else the only thing that happens is the LED blinking red.
Any ideas where to go from here are appreciated.
Rootk1t said:
you flashed recovery to boot. So only recovery exists in boot section.
Of course tablet won't boot afterwards, as there is not kernel.
Download custom rom you want to install, unpack boot.img from roms zip files and flash via "fastboot flash boot boot.img"
Afterwards enter recovery and flash custom rom zip, gapps or whatever you need.
Click to expand...
Click to collapse
I tried this but flashing the boot.img does not change anything unfortunately.
brickedmytablet said:
I tried this but flashing the boot.img does not change anything unfortunately.
Click to expand...
Click to collapse
You can reflash stock ROM via Flashtool v.0.9.18.6. or flash another boot.img to check if it boots or not.
Thank you, this worked for me.
Should have used the right twrp form the beginning. flash to boot works if it is the right version in my case scorpion_windy