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.
Im new into rooting so i succesfully unlocked my bootloader and installed the twrp recovery via flash now i have the problem that my phone always boots into the recovery mode no matter what, i have a sonyz2 D6503 andriod 6.0.1 i follow a tutorial on youtube . now i have read a few threads that it is wrong to install twrp with fastboot flash boot C/:whaterver.img i should have done it with fastboot flash recovery C/:whatever.img . Im kinda stuck now and i have no idea what to do moreover im kinda scared to do something, because it can cause more damage that i already have.
im kinda sorry for my horrible english i hope you can understanf this trouble
If you want to proceed back to stock ROM, flash stock FTF using flashtool (download link and instructions can be found inside my signature), with KERNEL and SYSTEM checked, other leave other options intact.
If you want to flash another non-stock ROM, flash an advanced kernel via fastboot toolbox inside the flashtool I mentioned above, then you can flash the ROM using the TWRP inscribed with the advanced kernel.
If you want to proceed to stock ROM but rooted and with other MODs installed, there are two ways to do so:
Easier method:
Flash an advanced kernel then use the pre-installed TWRP to flash the SuperSU.zip or whatever MOD zips.
Complex method:
Restore stock kernel using flashtool mentioned above, then flash the TWRP (recovery) image (you can get one HERE) using a cmd on PC or Laptop with ADB and flastboot drivers installed, typein:
Code:
fastboot flash recovery <recovery>.IMG
then you can boot into the TWRP to flash whatever MODs you want.
--------------------
As always, do more research before entering into tweaking things, noobness can be fatal!
Hi,
there is something wrong with my Xperia Tablet Z. After upgrading from CyanogenMod 11 to CyanogenMod 12 a few Mouth ago the Custom Recovery i've installed before was replaced with CyanogenMod-Recovery. Because CM doesn't work very well i downgraded to Stock-ROM using Flashtool. Because i couldn't find a Way to root Firmware 4.2.x and higher i downgraded to 4.1.2 and rooted with towelroot. The Bootloader is unlocked (checked with *#*#7378423#*#*).
But when i try to install TWRP it failed. This is the error with Fastboot
Code:
fastboot flash recovery twrp.img
fastboot flash recovery twrp.img
sending 'recovery' (10688 KB)...
OKAY [ 0.359s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.359s
All drivers are installed. I've tried this on Ubuntu 16.04 and Windows 7 with installed Flashtool and also with installed ADB Installer (https://forum.xda-developers.com/showthread.php?p=48915118#post48915118). I tried it with three usb cables and different usb ports.
It also doesn't work with TWRP Manager (https://play.google.com/store/apps/details?id=com.jmz.soft.twrpmanager&hl=de) and the Official TWRP App (https://play.google.com/store/apps/details?id=me.twrp.twrpapp&hl=de). TWRP Manager show me this error
Code:
Flashing recovery was unsuccessful. Either you already have thos recovery installed or another error has occuured. Would you like to attempt to recovery now?
When i try to reboot the App freeze.
The Official TWRP App seems to install the recovery ("was successfully installed"), but i can't reboot into recovery with VOL+ (also tried VOL-). The Table starts normally.
Maybe there is something wrong with my Tablet now? Is there any other Way to flash a Recovery or to flash a Custom-Rom or a pre-rooted Stock-Rom? As i said before i can't root it with a Firmware higher 4.1.x. Update with the internal Update fuction also failed. So at the moment i can use [email protected] or a higher Version without root.
@PiereMallao
Sony devices, in particular, tabz don't have separate recovery partition. So you need to flash kernel with built-in recovery (see crDroid, RR, LA firmware threads), or you have to flash TWRP to FOTA partition.
Hi,
after some years with my pollux_windy left untouched, I decided I'd install my first custom ROM. But I'm having serious trouble to do so, and it seems unsolvable to me after hours of despair (I've been trying for almost 10 hours now).
I was on Lollipop (firmware .222), first unlocked my bootloader, then rooted my tablet (using kingroot). Then I tried to install twrp, and the only way I managed to do this was through this "TabZ-lockeddualrecovery2.8.26" thing. Only, I couldn't manage to flash anything, ended up bricking my tablet.
I then flashed a stock 5.0.2 ROM (.454), retried installing twrp via the same method, and although I manage to access twrp, I get the same error each time I want to flash a new ROM (tried CM/LineageOS 14.1 and ResurrectionRemix v5.7.0), which is : "E: error executing updater binary in zip [insert name of the .zip]".
If I hear Rootk1t correctly, I should flash a kernel with a built-in recovery first... But, doing some research, it looks like you need a working recovery in the first place to flash a custom kernel.
I'm completely lost in this... How can I get that damn recovery to work, and/or get a custom ROM ?
Edit : Alright, with a good 3 hours-long night and a lucky shot, I managed to install LineageOS ! I used twrp recovery (from the dualrecovery thingy-thing) to wipe clean the device, then tried to install the ROM. It gave me the same error message about updating binary. So I rebooted the device into fastboot (couldn't access the recovery anyway... not sure if it's normal), flashed the "boot.img" from the ROM using Flashtool, then rebooted again the device. On the bootlogo, I tried to enter recovery with Vol-, and it worked. i then flashed with ease the ROM. Maybe it will help somebody !
Hapaxx said:
If I hear Rootk1t correctly, I should flash a kernel with a built-in recovery first... But, doing some research, it looks like you need a working recovery in the first place to flash a custom kernel.
Click to expand...
Click to collapse
yep, one just need to
fastboot flash boot boot.img
Click to expand...
Click to collapse
enter recovery and flash firmware zip, gapps, etc from it.
Root works now, but i can't install TWRP 3.0.2.0 (but XZDualRecovery works).
Sony devices, in particular, tabz don't have separate recovery partition. So you need to flash kernel with built-in recovery (see crDroid, RR, LA firmware threads), or you have to flash TWRP to FOTA partition.
Click to expand...
Click to collapse
Hapaxx said:
So I rebooted the device into fastboot (...), flashed the "boot.img" from the ROM using Flashtool, then rebooted again the device.
Click to expand...
Click to collapse
If i understand correct Hapaxx flashed the boot.img form the LineageOS 14.1 Image? I don't want to install a Custom-ROM. crDroid is for Nexus. Where can i download a Kernel with build-in Recovery for tabz? or can i use the same crDroid also for tabz?
how can i flash the recovery to fota? can i do this with the same *.img or do i need an other image?
i just unlocked my bootloader and i dont know what else to do, i would like to install lineage 14.1 but i dont know what path to follow, i also hit the whole command not allowed thing, and what Hapaxx said, i'm unable to understand, could someone give a clear set of commands to follow? please? what to do in order so i dont brick my tablet.
Hi PiereMallao,
i have the same Odyssey behind me! Sony Xperia Tablet Z SGP321 LTE (16GB)
1. First check Bootloader unlocked with Flashtools 0.9.18.6. Check!
2. Install SGP321_10.1.1.A.1.307_Unbranded.ftf with Flashtools 0.9.18.6. Check!
3. Developertools on. USB-Debugging on. unknown sources on. Check!
4. Root with Doomlord_Rootkit_v18.rar. Check!
5. Check with App "Root-Checker" in Google PlayStore. Check!
6. And now I try to install TWRP for 3 days !
First try with TabZ-lockeddualrecovery2.8.26-RELEASE.combined.zip its ok, but i come only once after the installation in the recovery mode. Afterwards I have it with Vol+ or Vol- tried. It always starts the normal system.
7. With Fastboot -
Code:
fastboot flash recovery twrp.img
fastboot flash recovery twrp.img
target didn't report max-download-size
OKAY [ 0.359s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.359s
How can i check Bootloader unlock ? In Android Tablet Z i didnt have a keyboard to put in the hex-code *#*#7378423#*#* ?
In Flashtools i checked Bootloader unlock so i have no idea at this Point.
What can I do ?
sorry, i have so solution for this problem. i have given up. theonly way i know to ceck the bl is unlocked or not is flashtool.
I'm having issues with this as well. Trying to install LineageOS 14.1, I can initially get twrp onto the tablet, flash LineageOS 14.1.. boot into it, set up (it is recommended to reboot the tablet once before flashing gapps) ...however, rebooting wipes twrp out. I'm not used to this FOTA thing (first i've ever heard of it) so not sure how to get twrp to 'stick' and not get wiped out
I got it installed this weekend. First secret was fastboot TWRP to boot, not recovery:
Fastboot flash boot twrp-------.img
Make sure you have the right TWRP image.
Then boot into recovery and TWRP comes up.
Flash lineage and gapps.
See:
https://forum.xda-developers.com/xp...de-tutorial-sony-xperia-tablet-z-lte-t3392831
bowguy said:
I got it installed this weekend.
Click to expand...
Click to collapse
I'm a little confused about part 14.
Download app from Play Store : Recovery Manager for Xperia. (done)
Chose FOTAkernel -> Backup. (this makes the app unresponsive for me so i skipped it for now)
Then TWRP -> Download. (done)
then the rest of the steps are confusing. b/c following that guide twrp is already on there (flashed via fastboot), and so why am i replacing the fastboot flashed twrp with the twrp just downloaded in the above step?
and what does the fotakernel have to do with all this? am i suppose to replace the fotakernel with the twrp image downloaded above?
the steps in that guide need more detailed elaboration
x000x said:
I'm a little confused about part 14.
Download app from Play Store : Recovery Manager for Xperia. (done)
Chose FOTAkernel -> Backup. (this makes the app unresponsive for me so i skipped it for now)
Then TWRP -> Download. (done)
then the rest of the steps are confusing. b/c following that guide twrp is already on there (flashed via fastboot), and so why am i replacing the fastboot flashed twrp with the twrp just downloaded in the above step?
and what does the fotakernel have to do with all this? am i suppose to replace the fotakernel with the twrp image downloaded above?
the steps in that guide need more detailed elaboration
Click to expand...
Click to collapse
I never did step 14. Looks straight forward. You should ask this question on that thread
bowguy said:
I never did step 14. Looks straight forward. You should ask this question on that thread
Click to expand...
Click to collapse
Have you rebooted and tried to get back into twrp after you installed the rom? I did the first few steps of the guide a few days back, but every time after flashing the rom it would wipe twrp. I think the only way to get twrp to 'stick' permanently is to complete all the steps
x000x said:
Have you rebooted and tried to get back into twrp after you installed the rom? I did the first few steps of the guide a few days back, but every time after flashing the rom it would wipe twrp. I think the only way to get twrp to 'stick' permanently is to complete all the steps
Click to expand...
Click to collapse
After installing twrp via fastboot per the directions, then reboot into recovery I had few problems. The only issues I had are solved by installing the ROM first - not gapps. Boot and run setup. Then boot recovery and install gapps.
I never had issues with twrp after installing. Power off, power on and rock volume up/volume down until you are in recovery
bowguy said:
After installing twrp via fastboot per the directions, then reboot into recovery I had few problems. The only issues I had are solved by installing the ROM first - not gapps. Boot and run setup. Then boot recovery and install gapps.
I never had issues with twrp after installing. Power off, power on and rock volume up/volume down until you are in recovery
Click to expand...
Click to collapse
Are you using twrp-3.0.2-0-pollux_windy?
x000x said:
Are you using twrp-3.0.2-0-pollux_windy?
Click to expand...
Click to collapse
Yes.
I never bothered with step 14 in the guide. It works fine as is.
P.S.
As per my post on the guide referenced, I installed Rashr and flashed TWRP that way. Seemed to work perfectly. TWRP now shows 3.0.2 which is correct version. No change to system boot. Nice app
Rootk1t said:
@PiereMallao
Sony devices, in particular, tabz don't have separate recovery partition. So you need to flash kernel with built-in recovery (see crDroid, RR, LA firmware threads), or you have to flash TWRP to FOTA partition.
Click to expand...
Click to collapse
Bro please give me link to twrp latest for sgp321 m going to unlock bootloader using" flash tool" is it ok
Please tell me how to flash recovary too
Is it ok if i root my tab after unlocking bootloader using king root ajnd flash using flashify
Is ressuraction remex stableto use tell me bugs
?
i had equal problem
FAILED (remote: Command not allowed)
i also have the same problem with my huawei chc u23 gplay mini bricked no recovery please help
Hello,
I have a sony z2 D6503 android 6.0.1 (flash the 6.0.1 so i can force it to update) bootloader unlocked and previusly install xzdualrecovery (for the 6.0.1 force update),
now the after i year from when i install the 6.0.1 i didn't need to access recovery mode, until 1 week ago when i wanted to flash with resurrection remix 7.1.2 nougat, so i try first to access to twrp by hardware button, nothing happen (neither the led notification light turn pink so i can't access to recovery).
Then i try to flash again twrp or any different recovery from adb, and i try again either from adb and manually to access to recovery, and nothing again.
So i install kingroot, root the phone and use quick boot or other app so i can access to recovery from them, and nothing again.
So after that i factory reset the phone (to 6.0.1 because is the only available on my phone since the time that i flash it) and did again evey single step that i mention before.
I read every thread, post forum for everything, adb problem , bootloader, twrp, recovery and other but neither of them help.
In the end i was force to open a thread here so maybe you can help me.
Phone info: SONY Z2 D6503 android 6.0.1 build: 23.5.A.0.570
nonloso0 said:
Hello,
I have a sony z2 D6503 android 6.0.1 (flash the 6.0.1 so i can force it to update) bootloader unlocked and previusly install xzdualrecovery (for the 6.0.1 force update),
now the after i year from when i install the 6.0.1 i didn't need to access recovery mode, until 1 week ago when i wanted to flash with resurrection remix 7.1.2 nougat, so i try first to access to twrp by hardware button, nothing happen (neither the led notification light turn pink so i can't access to recovery).
Then i try to flash again twrp or any different recovery from adb, and i try again either from adb and manually to access to recovery, and nothing again.
So i install kingroot, root the phone and use quick boot or other app so i can access to recovery from them, and nothing again.
So after that i factory reset the phone (to 6.0.1 because is the only available on my phone since the time that i flash it) and did again evey single step that i mention before.
I read every thread, post forum for everything, adb problem , bootloader, twrp, recovery and other but neither of them help.
In the end i was force to open a thread here so maybe you can help me.
Phone info: SONY Z2 D6503 android 6.0.1 build: 23.5.A.0.570
Click to expand...
Click to collapse
Flash elite kernel version 3(it is important that it should be version 3) it gas a built-in recovery and it is compatible with stock based rom
And if you want to flash RR rom you should flash boot.img from rom zip and provided recovery in dsired fourm
raminta said:
Flash elite kernel version 3(it is important that it should be version 3) it gas a built-in recovery and it is compatible with stock based rom
And if you want to flash RR rom you should flash boot.img from rom zip and provided recovery in dsired fourm
Click to expand...
Click to collapse
Thanks for your help i can enter recovery mode ,now finally i get flash the RR
Hello everyone,
I have a redmi note 4X with MTK soc
The bootloader is unlocked.
I want to flash TWRP recovery. I use adb, the "nickel " TWRP, and message in the cmd window was "ok"
but when i reboot, whatever the way (buttons or adb reboot), it still reboot on the stock recovery.
I've tryed many times, even with a "moly" TWRP (with my MI 4S, the "aqua" didn't work and I had to flash the "libra" one and it was all effective)
Tryed to re install adb, etc. Wathever, it's always "ok" in adb but still reboot on the stock recovery.
Can't try with flashtool or that kind of (Mitool Flash atc) because I can't find the right "scatter" files....
Does anyone have a clue? what is blocking?
Thanks for help
You must reboot back to recovery, not to system, after installing TWRP.
1. Install TWRP
2. Reboot to Recovery (not to system) - this means you will see TWRP screen again
3. Now you can reboot to System
This is only done for the first time installing TWRP. Next time, TWRP will always be there.
Hello,
Well please I need new help !!
Now I'm fighting a new issu !! Now that I at last managed to flash TWRP, and enter in this custom recovery, my phone don't boot system anymore !! stay stuck on the MI logo (
Do I need to flash the boot.img ? But why the hell would a recovery flashing would have change the boot partition??
And if so, where please could I find the boot.img for MIUI 10.1 stable?
Hello,
For those who have the same issu.
I've flashed a boot.img file found in unzipped miui rom zip.
- download from xiaomi.eu the right rom
- unzip
- find the boot.img file
- flash it with adb / fastboot
Well, So now I have my phone and datas back, and can boot on a custom recovery; but TWRP don't work well. Doesn"t keep the settings, can't install anything (it doesn't find any file when exploring ) and can't wipe cache (as if it can't read partition). That's all I tryed by now, I despair a little and that's a lot of time for an easy thing (was very easy on other phones)
Well, this time I'm flooded, i' ll take somme time but don't give up trying to root that phone
Start again, and I recommend ZCX-TWRP-3.0.2-X-REDMI_NOTE4-MTK_Nikel-16.11.18.img and Magisk instead of SuperSU
https://xiaomifirmware.com/downloads/twrp-custom-recovery-redmi-note-4-mtk/