[Resolved] install cwm and rom with unlocked bootloader - Sony Xperia P, U, Sola, Go

Hi, I'm trying to install a recovery for my xperia u (st25i) and a custom room (cm-12.1-20150704-UNOFFICIAL-kumquat).
I'm a bit confused... is the kernel included inside the room or do I have to look for one with the cwm included. And how can I flash it using fastboot. I already have the room ready to install but since I don't have any recovery installed (I keep trying volume + or - while powering on and nothing...).
I supose the command is: fastboot flash recovery recovery.img
Not sure about how to flash the room.
I found this but it seems the link it's down...
I would appreciate a link to the CWM recovery and the commands to flash it and also the custom room.
Thanks!

ChazyTheBest said:
Hi, I'm trying to install a recovery for my xperia u (st25i) and a custom room (cm-12.1-20150704-UNOFFICIAL-kumquat).
I'm a bit confused... is the kernel included inside the room or do I have to look for one with the cwm included. And how can I flash it using fastboot. I already have the room ready to install but since I don't have any recovery installed (I keep trying volume + or - while powering on and nothing...).
I supose the command is: fastboot flash recovery recovery.img
Not sure about how to flash the room.
I found this but it seems the link it's down...
I would appreciate a link to the CWM recovery and the commands to flash it and also the custom room.
Thanks!
Click to expand...
Click to collapse
try to extract boot.img from the rom zip then install it via flashtool (you must have root and fastboot driver installed ).to do that poweroff phone hold vol + and plugin usb cable u will see blue led open flashtool choise fastboot and flash boot.img that you extract from cm rom zip .after flash boot reboot your device and try vol- you will enter twrp than flash rom from sdcard .sorry for my english

amin44 said:
try to extract boot.img from the rom zip then install it via flashtool (you must have root and fastboot driver installed ).to do that poweroff phone hold vol + and plugin usb cable u will see blue led open flashtool choise fastboot and flash boot.img that you extract from cm rom zip .after flash boot reboot your device and try vol- you will enter twrp than flash rom from sdcard .sorry for my english
Click to expand...
Click to collapse
Thanks for your answer. I was able to flash an old version of the CWM recovery, but I think I just fukd up... By mistake I zeroed the userdata/sdcard partition (using diskpart clean all), since then I cannot mount it in the CWM recovery: it always says "Can't mount /sdcard/", everywhere, trying to partition it, trying to factory reset... any option will give me that error. I already tried giving it format, fat, fat32, extfat... none works.
I tried some fastboot commands like erase userdata and so, and now I can't even mount the /data/ partition that I was able to mount.
But I'll try flashing it using the flashtool as you say.
Edit: Fixed! It seems the recovery from that kernel repaired the partitions and I was able to install the zip from there. Thanks!

ChazyTheBest said:
Thanks for your answer. I was able to flash an old version of the CWM recovery, but I think I just fukd up... By mistake I zeroed the userdata/sdcard partition (using diskpart clean all), since then I cannot mount it in the CWM recovery: it always says "Can't mount /sdcard/", everywhere, trying to partition it, trying to factory reset... any option will give me that error. I already tried giving it format, fat, fat32, extfat... none works.
I tried some fastboot commands like erase userdata and so, and now I can't even mount the /data/ partition that I was able to mount.
But I'll try flashing it using the flashtool as you say.
Edit: Fixed! It seems the recovery from that kernel repaired the partitions and I was able to install the zip from there. Thanks!
Click to expand...
Click to collapse
your partiton are ok the problam is that you can not install a lollipop
/kitkat rom via cwm recovery you need a twrp recovery next time before flash lollipop rom via cwm flash a kernel that have twrp like bravo kernel then u can flash rom without problam

Related

HELP! Can't get my recovery and backups back!

I installed that flash image gui app, tried a new kernel, I dont like it and tried to reset my backup from the cwm recovery I use to have, but the recovery wasnt there anymore and I had to flash the twrp recovery, which i dislike, and still cant figure out how to get my cwm backup of this rom back.
Check to see if the backup files are in the CWM folder if not then not to be a Debbie Downer but you're SOL. If they are boot into system and flash the recovery using Rom Manager then restore the backup like you normally would
I've tried that... I have twrp recovery, I've tried that and when booting into recovery it just shows the white HTC screen then reboots. I do have the backup in the cwm folder but can't flash it.
Nickdroid86 said:
I installed that flash image gui app, tried a new kernel, I dont like it and tried to reset my backup from the cwm recovery I use to have, but the recovery wasnt there anymore and I had to flash the twrp recovery, which i dislike, and still cant figure out how to get my cwm backup of this rom back.
Click to expand...
Click to collapse
just reflash cwm recovery via fastboot.
How do I do that? I tried flashing it from twrp recovery but it doesn't see the file. It is in the root of my SD. It's cwm 5.0 shooter
cwm backups dont work with twrp backups and vice versa.
Load your phone into the bootloader( power button and volume down).
Then connect to computer via usb, and press power button again to enter fastboot and it should say fastboot usb.
Then in terminal/command prompt execute this command where "recovery.img" is the file name of your cwm recovery.
Code:
fastboot flash recovery recovery.img
then when thats done execute this
Code:
fastboot boot recovery.img
Do i need to rename the cwm file, or use any program on the computer? I can get into the bootloader from my phone if there's an easier way, I don't quite understand that way. Also I have hboot 1.50 if it matters
it doesn't matter the name of the recovery but u just have to use that name instead of recovery.img when u type the command. since you have 1.50 your gonna have to use flashboot to flash anything when you arent able to boot into android.
I assume u have downloaded fastboot, adb, and the google usb drivers, since u have already rooted.
You will use your command prompt on your computer to boot phone into the recovery. See in 1.50 u can't just boot up the phone, goto recovery and flash things. You have to boot into boot loader, press power button when selector is on fastboot (normally default position aka first one in the list), then connect phone via usb to computer. The Red word fastboot should now say fastboot usb.
then execute the commands. "recovery.img" replace with your cwm file name
Code:
fastboot flash recovery recovery.img
Code:
fastboot boot recovery.img
alright I think I figured it out, thanks a lot man!
and don't worry your not the only this happened to. I had this happen to me this weekend. I just got the phone 5 days ago and killed it. So i had a great weekend playing catch up to learn how to reflash on 1.50 HBOOT.
---------- Post added at 11:46 AM ---------- Previous post was at 11:42 AM ----------
also if you still get white screen after you restore with cwm, its means the stock kernel didnt carry over. just reply if that happens.
once you loose its gone why dont you try 4ext custom recovery and gui doe's cause problem's ive used it and it wiped out my boot.img right now im useing 4ext as my custom recovery and it does'nt give any problems at all give it a try
jslim38 said:
once you loose its gone why dont you try 4ext custom recovery and gui doe's cause problem's ive used it and it wiped out my boot.img right now im useing 4ext as my custom recovery and it does'nt give any problems at all give it a try
Click to expand...
Click to collapse
NO bro, the apps works very well. It gets the Job done perfectly.
Suppose you were on a certain ROM and tried flashing a custom kernel with Flash Image GUI, and stuck in bootloop/htc screen , it doesnt mean that the Flash Image GUI caused that.
Even if you tried flashing the same kernel via fastboot boot recovery.img above the same ROM.......the result will be same i.e bootloop/htc screen.

How to solve Magic Value Mismatch. Solution Here!

Did you get the message: Magic Value Mismatch:-.-.-.-.-.-?!
After flashing a new recovery it happens sometimes.
GREEN ZONE
Are you able to go to the recocery menu(power + vol up)? If not, go to BLUE ZONE. If yes, follow these steps
1. check whether you have copied your rom as "update.zip" to your SD card's root directory
2. Go to recovery menu and install update.zip
BLUE ZONE
You may did something wrong while flashing a new recovery. Here is the right method:
1. go back to fastboot mode(power+power+power+vol up) and type these commands on your PC
2. fastboot erase userdata
3. fastboot erase system
4. fastboot erase cache
5. fastboot erase linux
6. fastboot erase recovery
7. fastboot flash recovery recovery.img (change path, if recovery.img is not in the same directory as fastboot.exe)
8. fastboot reboot
Are you able now to go to the recovery menu? If yes, go to GREEN ZONE and follow steps. If not, go to ORANGE ZONE.
ORANGE ZONE
Are able to unpack the update.zip and find the system.img and boot.img files? If not, then go to RED ZONE. If yes, copy these 2 files to the directory where the fastboot.exe is, run these commands:
1. fastboot erase recovery
2. fastboot flash recovery recovery.img
3. fastboot -w
4. fastboot erase linux
5. fastboot erase system
6. fastboot flash system system.img
7. fastboot flash linux boot.img
8. fastboot reboot
ROM is installed. Enjoy it!
RED ZONE
Make sure, that you copied the same recovery.img to fastboot folder, that you had flashed before to your tablet.
Type this command in recovery mode:
1. fastboot boot recovery.img
This command will run the recovery from your PC. After the recovery menu is booted, go to GREEN ZONE and enjoy your ROM!
If this was helpful to you, please do not hesitate to click on Thanks!
Lol, nice to see my post copy/pasted without any links indicated. Anyway, I hope It's helpful for ppl.
Tried following these steps, however, I'm still getting this error... followed this thread
http://forum.xda-developers.com/showthread.php?t=1470823
installed recovery successfully (via fastboot), and update seems to install fine, until I reboot and get the "Magic Value Mismatch" again..
Any ideas?
yellowumbrella said:
Tried following these steps, however, I'm still getting this error... followed this thread
http://forum.xda-developers.com/showthread.php?t=1470823
installed recovery successfully (via fastboot), and update seems to install fine, until I reboot and get the "Magic Value Mismatch" again..
Any ideas?
Click to expand...
Click to collapse
So you installed the recovery via fastboot. Did you manage to boot into recovery mode?
I had that issue, that I couldn't boot into recovery mod from my Folio, by pressing power+Up button. Thats why I added the RED ZONE method. Its like booting recovery from your PC. (fastboot boot recovery.img). All the times I wanna upgrade my current ROM, I have to do this step, because the power+up does not work, and the Folio skips booting in recovery and wanna do normal booting. However there is no Rom installed on machine, so I get the magic value mismatch message.
So try to boot recovery from your PC, but be sure you have copied to your fastboot folder the same recovery, that you flashed onto the tablet.
I hope it was helpful. If something is not clear, feel free to ask.
Hi there, thanks for the answer.
I am able to install recovery images via fastboot.
Device is showing up as a question mark with >fastboot devices
but recovery installs fine. CWM gives a series of e: can't opne/mount /cache errors.
Foliomod 1.4 installs no problem, thanks to the method here
http://forum.xda-developers.com/showthread.php?t=1458876
yellowumbrella said:
Hi there, thanks for the answer.
I am able to install recovery images via fastboot.
Device is showing up as a question mark with >fastboot devices
but recovery installs fine. CWM gives a series of e: can't opne/mount /cache errors.
Foliomod 1.4 installs no problem, thanks to the method here
http://forum.xda-developers.com/showthread.php?t=1458876
Click to expand...
Click to collapse
Are you able to wipe cache from recovery? And what else errors are listed?
One more thing, try to flash your boot.img and system.img via fastboot as written above.
If I follow this
http://forum.xda-developers.com/showthread.php?t=1458876
and let it install cwm v 3, I get the cache error and cannot wipe or mount via recovery.
If I follow the ICS thread, and flash the new cwm v5 via fastboot, I don't get the cache error, but the rom simply won't start. If I open the package, there is a boot.img, but not a system.img, just a system folder...
I could try flashing boot.img, but I don't see how that could help
yellowumbrella said:
If I follow this
http://forum.xda-developers.com/showthread.php?t=1458876
and let it install cwm v 3, I get the cache error and cannot wipe or mount via recovery.
If I follow the ICS thread, and flash the new cwm v5 via fastboot, I don't get the cache error, but the rom simply won't start. If I open the package, there is a boot.img, but not a system.img, just a system folder...
I could try flashing boot.img, but I don't see how that could help
Click to expand...
Click to collapse
Well just to see it clear. So you are able to install Foliomod 1.4, so your Internal storage is not broken.
When I get home, I will check the system folder of ICS rom. There are some method to create system.img from an unpacked folder...
So, in CWM 5.5.0.4 you manage to install Zip from SD card, ROM and GAPPS as well, but the Rom does not boot?!
yup, that's exactly it.
Haven't tried installing Gapps since I can't even get the rom to boot.
I have a perfectly working tablet with foliomod 1.4, and I did get honeycomb to run but some apps crashed so I reverted back to foliomod.
with CWM CWM 5.5.0.4 everything seems to work great, except at reboot, nothing happens (somehow, I no longer even get the magic value mismatch)
------------------
PS. not sure if this is at all relevant, but I cannot fastboot from win7, I'm fastbooting in either ubuntu or xp via VirtualBox, and the device, when calling >fastboot devices shows up as ?????????? (ubuntu) and ? (xp)... :\
yellowumbrella said:
yup, that's exactly it.
Haven't tried installing Gapps since I can't even get the rom to boot.
I have a perfectly working tablet with foliomod 1.4, and I did get honeycomb to run but some apps crashed so I reverted back to foliomod.
with CWM CWM 5.5.0.4 everything seems to work great, except at reboot, nothing happens (somehow, I no longer even get the magic value mismatch)
------------------
PS. not sure if this is at all relevant, but I cannot fastboot from win7, I'm fastbooting in either ubuntu or xp via VirtualBox, and the device, when calling >fastboot devices shows up as ?????????? (ubuntu) and ? (xp)... :\
Click to expand...
Click to collapse
Try to install gapps as well. Maybe it helps...
nope, no luck even with gapps installed..
just a blank screen..
sigh
yellowumbrella said:
nope, no luck even with gapps installed..
just a blank screen..
sigh
Click to expand...
Click to collapse
Have you tried all the roms? ICS Alpha 1,2,3 and 4?
Tried 3 and 4, didn't bother trying earlier ones, as it seems the latest ones work for most users
yellowumbrella said:
nope, no luck even with gapps installed..
just a blank screen..
sigh
Click to expand...
Click to collapse
Hmmm strange. I ask it for you on developers forum. What you can still do, is to check the steps, that you did them correctly. In most of the cases users forget something, or do some steps incorrectly.
Try to erase userdata, cache, system, linux and recovery in fastboot. You mentioned you had problem with fastboot under Win7. Problem may occur, in case of not proper erasing.
Thanks, I'll give it another try tonight.
Fastboot in win7 is simply not seeing the device. It shows up in XP and Ubuntu, but as "??????" - not sure if that could be a symptom.
I'll post a reply as soon as I've tried, and let you know how it went.
yellowumbrella said:
Thanks, I'll give it another try tonight.
Fastboot in win7 is simply not seeing the device. It shows up in XP and Ubuntu, but as "??????" - not sure if that could be a symptom.
I'll post a reply as soon as I've tried, and let you know how it went.
Click to expand...
Click to collapse
For me it works perfectly on Win7. After Installing SDK and JDK the in the devicemanager it is shown as an Unknown device. Simply add the driver manually to it.
Download driver from attachment.
Copy it to SDK\USB_driver folder
That works for me. After its done, the Folio is shown as "Fastboot" in device manager. But connect the tablet in fastboot mode to your PC before you add driver manually to it.
Thanks for that.
Tried it, still not working in win7. It shows up correctly in device manager, but fastboot itself just doesn't want to see it...
I've attached a screenshot for you
EDIT: screenshot gets resized, but it shows device manager listing
NVIDIA Android Fastboot Device
and a terminal with fastboot not seeing the device
yellowumbrella said:
Thanks for that.
Tried it, still not working in win7. It shows up correctly in device manager, but fastboot itself just doesn't want to see it...
I've attached a screenshot for you
EDIT: screenshot gets resized, but it shows device manager listing
NVIDIA Android Fastboot Device
and a terminal with fastboot not seeing the device
Click to expand...
Click to collapse
When You have win7, You have run the console as admin!
Or copy the complete Fastboot folder to another Destination like c:\temp...
Thanks stefannsv, tried it, still not showing...
But I can access fastboot on another platform, so I assume it's not an issue, I can just switch over to another OS to flash
no go, followed both this original post (tried all steps except orange, cause the rom I'm trying to install has a system folder, not a system.img)
Last method I tried was:
1) boot into fastboot
2) boot cwm-recovery-5.5.0.4.img directly from PC
3) wipe data/factory reset
4) wipe cache partition
5) install zip from SD card and chose the alpha 4 release
installing update...
then back to recovery, reboot and voilĂ ... magic value mismatch again (it had disappeared for a while... )
Also, when booting into CWM 3.0.0.5, I get a series of "E: Can't mount/cache/recovery" type errors.. could this be related?
booting directly into recovery from PC doesn't alllow me to install any ROMS, not even foliomod 1.4 which works if using puppet13th's method

[Q] Sola bricked during flash of CM10: please help!

Hello
I was just trying to flash CM10 into my Sola
I unlocked the bootloader
I root it
Installed Recovery ROM
Made backup of current ROM
Wipe/Factory Reset
While flashing in Recovery Mode I got the error 7 message, so the instructions were to do the flash of the rom through flashtool
Flashed the rom through flashtool
After reboot, it's stucked on the initial "FreeXperia" image and it freezes there
I can enter in fastboot and flashmode, but I tried to flash again the "MT27_6.1.1.B.1.54_KERNEL.ftf" firmware, but the only thing that changes is the "FreeXperia" colorful image to the standard "Sony" logo.
What can I do?! How come it doesn't boot?!
Please help.
Do following:
- Shut down your phone
- connect it to your computer in fastboot mode (with volume up hold)
- flash the boot.img which is inside the ROMs .zip
- Do your steps again (enter recovery, wipe etc)
I've flashed the boot.img of CM10 before.
Well, the problem is that I cannot enter recovery mode!
Only fastboot and flashmode
Tom_Joad_XDA said:
I've flashed the boot.img of CM10 before.
Well, the problem is that I cannot enter recovery mode!
Only fastboot and flashmode
Click to expand...
Click to collapse
Try power button insteat volume to enter recovery.
ChikeD said:
Try power button insteat volume to enter recovery.
Click to expand...
Click to collapse
Ok, I could get into recovery mode. I just restored my rom backup (STOCK ICS with root and unlocked bootloader)
I followed all the instructions. Should I repeat the process and expect a different result?!
Tom_Joad_XDA said:
Ok, I could get into recovery mode. I just restored my rom backup (STOCK ICS with root and unlocked bootloader)
I followed all the instructions. Should I repeat the process and expect a different result?!
Click to expand...
Click to collapse
Flash the zip with the recovery in boot.img from the rom not the one you have in stock.
ChikeD said:
Flash the zip with the recovery in boot.img from the rom not the one you have in stock.
Click to expand...
Click to collapse
I have copied the CM10 zip into the phone (cm-10-20140113-UNOFFICIAL-pepper.zip)
Isn't this the rom I should flash in recovery?
Tom_Joad_XDA said:
I have copied the CM10 zip into the phone (cm-10-20140113-UNOFFICIAL-pepper.zip)
Isn't this the rom I should flash in recovery?
Click to expand...
Click to collapse
Yup that's it, but first flash boot.img from the rom with fastboot.
Don't expect the phone to boot because this kernel is not comoatible with stock ROM go strait to recovery, do whatever is needed (factiry rest, clear dalvik and cache etc) as instructed in it's thread, and fash the zip
ChikeD said:
Yup that's it, but first flash boot.img from the rom with fastboot.
Don't expect the phone to boot because this kernel is not comoatible with stock ROM go strait to recovery, do whatever is needed (factiry rest, clear dalvik and cache etc) as instructed in it's thread, and fash the zip
Click to expand...
Click to collapse
So, just to be clear:
I flash boot.img from the CM10 rom with fastboot using Flashtool, right?
Then, in recovery, I flash the CM10 zip file, correct?
Tom_Joad_XDA said:
So, just to be clear:
I flash boot.img from the CM10 rom with fastboot using Flashtool, right?
Then, in recovery, I flash the CM10 zip file, correct?
Click to expand...
Click to collapse
Flashtool(select kernel to flash) or manually : fastboot flash boot boot.img
The enter CWM recovery and follow the instructions on ROM's thread.
ChikeD said:
Flashtool(select kernel to flash) or manually : fastboot flash boot boot.img
The enter CWM recovery and follow the instructions on ROM's thread.
Click to expand...
Click to collapse
Well, I still get the (Status 7) error. I don't know what I'm doing wrong.
My only doubt is if I'm using the correct recovery. How can I know that?
My current recovery is CWM Touch v5.5.0.4 (modified CWM by Munjeni)
Honestly, I'm getting do reallly tired of this.
For 2 days I've been trying to install this ROM and I always get stuck with the /(&)(#$ "status 7" error.
Here is what I do step by step, so someone can point me in the right directions because, quite frankly, I just wan to throw this phone over the window right now...
1. After I get the "status 7" error I restore my rom backup, which brings me to stock ICS with unlocked bootloader and with root
2. I reboot in fastboot mode and, with Flashtool, I flash the boot.img I extracted from the "cm-10-20140113-UNOFFICIAL-pepper.zip"
3. I enter in recovery mode and wipe all the data/cache/delvik cache etc (I've also tried to do this BEFORE flashing the boot.img)
4. Still in recovery, I choose "Install zip from sdcard" and select the "cm-10-20140113-UNOFFICIAL-pepper.zip" (I've also tried to select this file without the boot.img file)
5. I get the status 7 error!!!!!!
Please help, as it is driving me nuts!
Redownload the ROM and try again. I'll give you a step by step instruction now:
- redownload the ROM and push it to your phones storage
- shut down your phone and connect it via fastboot to your computer
- Open the flashtool and flash the boot.img from the rom.zip via fastboot.
- after flashing, disconnect your phone from your computer, then wait some seconds
- Now power on your phone and enter recovery
- now you make a full wipe (wipe data, wipe cache, wipe dalvik cache (advanced), format /system (mounts and storage)
- After the full wipe, try to flash the redownloaded ROM again
What exectly the status 7 is for, look at the log.
It fails right in the first assert line of code. I've also tried to remove the assert line, as suggested somewhere on the forum, but then I get a "Status 6" error. I'll try to re-download the zip file when I get home...
ChikeD said:
What exectly the status 7 is for, look at the log.
Click to expand...
Click to collapse
Tom_Joad_XDA said:
It fails right in the first assert line of code. I've also tried to remove the assert line, as suggested somewhere on the forum, but then I get a "Status 6" error. I'll try to re-download the zip file when I get home...
Click to expand...
Click to collapse
the assert n ro.product.device and ro.build.product? This should not happen with the recovery that comes with the ROM.
Well, that may explain it, as I'm not sure I'm using the correct recovery rom, as I didn't knew there was a recovery on this rom.
The instructions in the thread are:
Make a backup of your current rom
Wipe data/factory reset in recovery
Flash CM10 (If you get error 7 while flashing exctract the boot.img from the rom zip, and flash it via fastboot)
Flash Ultra Slim Gapps
Reboot & Enjoy!
So, I had to find a recovery ROM and that is what I did. So maybe that's the problem: I'm not using the correct recovery rom.
What can I do now to change it?
ChikeD said:
the assert n ro.product.device and ro.build.product? This should not happen with the recovery that comes with the ROM.
Click to expand...
Click to collapse
Tom_Joad_XDA said:
Well, that may explain it, as I'm not sure I'm using the correct recovery rom, as I didn't knew there was a recovery on this rom.
The instructions in the thread are:
Make a backup of your current rom
Wipe data/factory reset in recovery
Flash CM10 (If you get error 7 while flashing exctract the boot.img from the rom zip, and flash it via fastboot)
Flash Ultra Slim Gapps
Reboot & Enjoy!
So, I had to find a recovery ROM and that is what I did. So maybe that's the problem: I'm not using the correct recovery rom.
What can I do now to change it?
Click to expand...
Click to collapse
What recovery ROM, you only need to install thr boot.img from the ROM file.
What ROM are you trying to install(link)?
As stated in this thread, I'm trying to install CM10 (cm-10-20140113-UNOFFICIAL-pepper.zip).
My recovery rom is CWM Touch v5.5.0.4 (modified CWM by Munjeni)
ChikeD said:
What recovery ROM, you only need to install thr boot.img from the ROM file.
What ROM are you trying to install(link)?
Click to expand...
Click to collapse
Tom_Joad_XDA said:
As stated in this thread, I'm trying to install CM10 (cm-10-20140113-UNOFFICIAL-pepper.zip).
My recovery rom is CWM Touch v5.5.0.4 (modified CWM by Munjeni)
Click to expand...
Click to collapse
Was I not clear enough?
Your recovery is probably missing those props and yould fail every time, you must use the recovery of the ROM.by flashint boot.img.
And I have asked a link for the ROM you dounload just to make sure it's props are OK, so I need a link.
If it don't let you post a link try to qrap it with code tags (the # button in thepost editor)

How install TWRP 3.0

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

[Help] Bootloop on Xiaomir Redmi Note 4X

Hello, I'm kind of new at this (this is my first post) so be gentle
So, the last few days I've been trying to install a new rom on my phone (Redmi Note 4X) and the problems started with the model. I only seem to find Redmi Note 4 roms, and as I've come to find, mine is supposed to be the mido one (correct me if I'm wrong though). I have unlocked the bootloader, I have installed and enabled the fastboot on my phone, so the next step was to install the latest TWRP.
There came more problems; I tried doing this through the app and it just wouln't flash it. So I found a guide on how to root my phone and install a new recovery through adb and I followed it. It didn't work. I couldn't find the right twrp version for my phone. When I finally did realise my phone needed mido, I found the latest from the TWRP website. It wouldn't load through adb again. I found a thread about a fixed mido version, which finally worked for me. But my brother who was helping me, and isn't as much of a noob as I am (he has flashed rom and recoveries many times on his Nexus 5X), decided that I necessarily need the latest twrp if I'm going to flash a new rom, so he flashed the new twrp through the old one, and soft bricked my phone (I think). So I'm searching for a guide to unbrick it. (Which I can't seem to find to work at least).
To conclude;
I have unlocked my bootloader
I have access to the fastboot
I tried to flash a recovery
I failed many times, but I managed it
I flashed the latest twrp and bricked my phone
I don't have access to the recovery
My phone is still on a bootloop
I am not sure about which phone model I have
Help!
Thanks in advance.
1. Just check your phone model on its box. If its Snapdragon version (Mido), then just install it via fastboot. (code: fastboot flash recovery twrp-midoxx.img). If you are success, then try to reboot to recovery (fastboot boot twrpmido-xx.img). After booted, then you just manage to rom.zip you want to install. If you don't have it, then download it before from your PC and push it to your phone. Or just enable Mtp checklis from TWRP n copy that file to your internal phone/sdcard. Wipe all/factory reset except internal storage. Then you dan install rom.zip normally. N reboot. (Note: if you are on MIUI and wanted to always stay on it, just flash the file called lazyflasher.zip. n' wipe cache n art cache only then reboot). Flashing custom recovery on stock MIUI Will manage the device Going to bootloop)
2. If you have mediatek version (nikel), searching the fastboot Rom from miui website and flash it normally via fastboot. (SP Flash tool)
Warning: flash the wrong rom file into wrong phone Will make your device brick. So becarefull n knowing what model/code name you have.
Dyt199412syam said:
1. Just check your phone model on its box. If its Snapdragon version (Mido), then just install it via fastboot. (code: fastboot flash recovery twrp-midoxx.img). If you are success, then try to reboot to recovery (fastboot boot twrpmido-xx.img). After booted, then you just manage to rom.zip you want to install. If you don't have it, then download it before from your PC and push it to your phone. Or just enable Mtp checklis from TWRP n copy that file to your internal phone/sdcard. Wipe all/factory reset except internal storage. Then you dan install rom.zip normally. N reboot. (Note: if you are on MIUI and wanted to always stay on it, just flash the file called lazyflasher.zip. n' wipe cache n art cache only then reboot). Flashing custom recovery on stock MIUI Will manage the device Going to bootloop)
2. If you have mediatek version (nikel), searching the fastboot Rom from miui website and flash it normally via fastboot. (SP Flash tool)
Warning: flash the wrong rom file into wrong phone Will make your device brick. So becarefull n knowing what model/code name you have.
Click to expand...
Click to collapse
Hello and thanks for the reply. I have the snapdragon version, but all I'm asking is how am I supposed to flash the lazyflasher without accessing the recovery? Through adb?
fionik said:
Hello and thanks for the reply. I have the snapdragon version, but all I'm asking is how am I supposed to flash the lazyflasher without accessing the recovery? Through adb?
Click to expand...
Click to collapse
Firstly, enter fastboot mode on your device. Connecting to pc and flashing the twrp for mido. "fastboot flash recovery twrp-mido.img". Then boot to it using " fastboot boot twrp-mido.img". Then you will enter the recovery (twrp) in a second. Copy the lazyflasher into your phone (enable mtp first in Mount option in twrp) that you downloaded from pc. Just flash the lazyflasher.zip and reboot.
And why you don't want to flash lazyflasher when it very easy to flash it using recovery twrp? adb? You mean android debugging? Actually, you cant flash a .zip file into your system partition except through fastboot mode. However, fastboot mode (in cmd) only recognize a .img file. I just try to tell you the easier method to make your device boot up.
Dyt199412syam said:
Firstly, enter fastboot mode on your device. Connecting to pc and flashing the twrp for mido. "fastboot flash recovery twrp-mido.img". Then boot to it using " fastboot boot twrp-mido.img". Then you will enter the recovery (twrp) in a second. Copy the lazyflasher into your phone (enable mtp first in Mount option in twrp) that you downloaded from pc. Just flash the lazyflasher.zip and reboot.
And why you don't want to flash lazyflasher when it very easy to flash it using recovery twrp? adb? You mean android debugging? Actually, you cant flash a .zip file into your system partition except through fastboot mode. However, fastboot mode (in cmd) only recognize a .img file. I just try to tell you the easier method to make your device boot up.
Click to expand...
Click to collapse
As I said above, I can only access the fastboot, and I get errors in the adb when I try to flash the twrp image.
fionik said:
As I said above, I can only access the fastboot, and I get errors in the adb when I try to flash the twrp image.
Click to expand...
Click to collapse
Share your error please.
Try fastboot boot twrp.img

Categories

Resources