[Q] Having problem with flashing custom kernel - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

Hello everyone! I have a problem with flashing custom kernels. I have unlocked my bootloader via Test Point method and whenever i want to flash a new kernel i have a problem. When new kernel is flashed (e.g. NeroDroid) the logo of NeroDroid appears on the screen and then phone restarts and logo of the SE apperas instead of the kernel's logo (the kernel isn't working, it returns to stock kernel). I wasn't sure if the device was really bootloader unlocked so i have checked it on the second method of unlocking BL (with IMEI and SE site) and when i wanted to unlock it, the information "your device is unlocked" appears. So what should i do to properly install kernel?

How did you install another kernel?
Sent from my WT19i using xda premium

Via fastboot. "fastboot boot boot.img"

The command is "fastboot flash boot boot.img" or "fastboot -i 0xfce flash boot boot.img" which is necessary on some Xperias.
What you did was simply boot the kernel once, but you didn't flash it.

following these procedures i never had any trouble flashing to any of my devices
hi there,
i'm not entirely sure if this will help you but generally speaking i came made a few observations about the fact that some people, mostly repeatingly the same users, encounter problems with their custom roms and/or flashing them, while others don't, albeit they are using the same devices.
curently i'm using 3 different devices, all rooted and running on pac 4.3, always latest nightly, as there are GT-N7100 - GT-I9100 - Nexus 4
no sony though but i suppose that the following littel steps to consider are most probably similar with all or most android devices running
ICS or JB :cyclops:
now to the point
a) other than most other users i usually clean cache and dalvik cache as well before and after flashing the new rom and/or new nightly
and never encountrer any problems except those which everybody, using the same rom and nightly encounters.
b) whenever i flash an totally different rom and/or upgrade and/or downgrade to another level of android os, i.e. from 4.2.2 to 4.3, i perform
a clean install, including not only a factory reset, but as well a format sd-card, format cache and format system etc., again i cannot proof
which of these steps make a or the differnce but however, i never have problems others than thosw which everyone has with a version.
c) when using cusome kernels and due to the fact that some roms come with a kernel included, as well as with a custom recovery included,
it is strongly recommended not to forget to flas the kernel again after each flashing the new rom. one good example ist dorimanx kernel
for GT-I9100 which will not boot into recovery and reluctantly boot at all after a new flash of a pac nightly without reflashing the kernel.
d) try to fix permissions on reboot instead of doing it from recovery. one reason is that not every recovery has this option and further i
found that when fixing permissions before the first boot after flashing a new rom, there might be bootloops, albeit i cannot explain exactly
why that should, but however, sometimes it's better to be on the safe sid.
e) try to run whether the lastes version of custom recovery for your device, and or the use the included custom recovery of the rom or the
kernel. this again is one thing that can help to avoid some unexpected and hard to explain bootproblems and/or fc's etc.
hope that i could give you some new ideas how to avoid trouble while using custom roms and other hacks

flashtool
Snowho said:
Hello everyone! I have a problem with flashing custom kernels. I have unlocked my bootloader via Test Point method and whenever i want to flash a new kernel i have a problem. When new kernel is flashed (e.g. NeroDroid) the logo of NeroDroid appears on the screen and then phone restarts and logo of the SE apperas instead of the kernel's logo (the kernel isn't working, it returns to stock kernel). I wasn't sure if the device was really bootloader unlocked so i have checked it on the second method of unlocking BL (with IMEI and SE site) and when i wanted to unlock it, the information "your device is unlocked" appears. So what should i do to properly install kernel?
Click to expand...
Click to collapse
Use flashtool .it must surely solve the problem
press thanks if I had helped you

EaSy
1. Use flashtool and the click on the flash icon.
2. And then click on the flash icon (it looks like lighting).
3. Click on fastboot mode.
4. Then click on select kernel to flash go to the directry where you have placed your .img file
You are done...:good:
---------- Post added at 06:43 PM ---------- Previous post was at 06:40 PM ----------
mustufa_kheroda said:
1. Use flashtool and the click on the flash icon.
2. And then click on the flash icon (it looks like lighting).
3. Click on fastboot mode.
4. Then click on `select kernel to flash` go to the directry where you have placed your .img file
You are done...:good:
Click to expand...
Click to collapse
Hit thanks if i helped

Hello Snowhoe,
Use Flashtool to flash Kernels.
It's the best way of flashing Kernels/ftf.

Related

[Q] Having no ideas about kernel flashing with my Neo V

I flashed the custom kernel, it is successful to boot and works fine
However, whenever I reboot or power off then turn it on, it return back to the default kernel. I re-flashed the kernel so many times. I don't have any ideas about this problem, Please help.
Sorry for my poor English.
How are you flashing the Kernel? with Flashtool? Command line?
I believe there is an option in Flashtool to Hotboot a Kernel... AFAIK this will only boot the kernel once then revert back to the old one on the next reboot... (great for testing different kernels for compatibility or for gaining root access on stock firmware that doesn't have root access available yet.. doesn't always work tho)
Just double check your method for flashing the Kernel (don't use hotboot!)
Kiwi
You are hot booting the kernel
Use this to flash it :
fastboot flash boot boot.img
Qwerty123 \m/ said:
You are hot booting the kernel
Use this to flash it :
fastboot flash boot boot.img
Click to expand...
Click to collapse
Thank you two.
You are very nice.
It works.
I'm so embarrassed for making this kind of mistake

[SOLVED] Need help after rooting ST15i! WOOT!!!

Hi, I have a HTC & Asus transformer TF101 and was blissfully unaware that other android devices have convoluted and complicated root / flash procedures, till I was handed my wife's ST15i to root.
I managed to unlock the bootloader and downgrade from ICS stock to gb .42 firmware and rooted using doomlord's zergrush. Then loaded CWMRto the phone (now on .42 gb rooted stock).
I am stuck from here as anything else I flash (custom Rom, upgrade to ICS) gets me to a soft boot (stuck at SE boot logo) or lose root and CWMR on ICS ROM. The help guides, tutorials etc on this forum or elsewhere do not even tell the keypress or tool to use for fastboot, CWMR or how to enter boitloader / recovery. I am no noob on android, adb and rooting, but working with this phone has brought me to tears!
Is the boot IMG and kernel necessarily flashed separately from the ROM on Xperia phones?
My aim is to get to a rooted ICS, non miui ROM for my wife. Please help and /or guide me to achieve this. At this rate, I feel like giving away my HTC to the wife and exchange the Xperia for a more user friendly phone.....
Sent from my HTC Incredible S
Okay, so:
The kernel is seperated from the rom. If you have unlocked the bootloader you can flash a kernel. In most kernels, cwm is included, so you flash the kernel and then you can boot up. While booting you press the volume down button again and again, to come to cwm. There you can install a zip file, in which the rom is.
Are you really sure the bootloader is unlocked? Did you do it by testpoint or sonys official method?
To flash a kernel, you need the boot.img. Before you start flashing the kernel, put the downloaded zip file of the rom on your sd card.
Then, and I would do it like this cause with the normal command line by windows it's the same, you open sony flash tool. There you click on the flash, select fastboot mode and on the right side there is select kernel to flash. There you choose the boot.img. Then you have to shut down your phone, and while you are holding volume up key, you connect phone to pc. There will light up the blue led and flash tool will automaticly flash the kernel. READ THE LOG BEFORE YOU PLUG OFF DEVICE!! If the log is ok (there are no errors), you can plug off device and turn it on. While booting, you press volume down again and again. Then you have to follow the tutorial to the rom (what has to be formatted or wiped and how to install the rom itself. Cause after flashing the kernel, you must install the rom or your device won't boot up!
Okay, now we could do an example:
If you want an ics rom, I would take cyanogenmod 9. Here's a guide:
Download the zip file from here.
Then you extract the zip file, so you have one packed zip file and one unpacked. The packed zip file you copy to your sd card.
In the unpacked, there's a boot.img. If it isn't named boot.img rename it, so it's name is "boot", but windows detects as an image file.
You open sony flash tool and click on the flash, select fastboot mode and then choose "select kernel to flash". Choose the boot.img (make sure it is named boot and it is an image. In flashtool the image you choose should be named boot) and shut down phone. Hold volume up key that the blue led shines, and the kernel is flashed after seconds. Now see the log, if there's no error, plug off the device and power on. While powering on you press the volume down button again and again.
Now you are in cwm. There I would do a backup first. When the backup has finished, you make a factory reset and wipe cache partition.
Then select install zip from sd card and choose zip. There you choose the cm9 zip you copied to your sd card. If it finished installing (don't power off device while installing, sometimes you could think it stuck, but normally it won't. Just wait and drink a coffee!) you can reboot device and normally it should work.
YOU DO THAT ON YOUR OWN RISK. FOR ME ON MINI PRO IT WORKED, BUT I CAN'T PROMISE!
Hope it works and keep up! In the end you will hopefully enjoy your rom (maybe cm9)
Greets
Michael
---------- Post added at 12:31 PM ---------- Previous post was at 11:34 AM ----------
Michi_optimus_me said:
Okay, so:
The kernel is seperated from the rom. If you have unlocked the bootloader you can flash a kernel. In most kernels, cwm is included, so you flash the kernel and then you can boot up. While booting you press the volume down button again and again, to come to cwm. There you can install a zip file, in which the rom is.
Are you really sure the bootloader is unlocked? Did you do it by testpoint or sonys official method?
To flash a kernel, you need the boot.img. Before you start flashing the kernel, put the downloaded zip file of the rom on your sd card.
Then, and I would do it like this cause with the normal command line by windows it's the same, you open sony flash tool. There you click on the flash, select fastboot mode and on the right side there is select kernel to flash. There you choose the boot.img. Then you have to shut down your phone, and while you are holding volume up key, you connect phone to pc. There will light up the blue led and flash tool will automaticly flash the kernel. READ THE LOG BEFORE YOU PLUG OFF DEVICE!! If the log is ok (there are no errors), you can plug off device and turn it on. While booting, you press volume down again and again. Then you have to follow the tutorial to the rom (what has to be formatted or wiped and how to install the rom itself. Cause after flashing the kernel, you must install the rom or your device won't boot up!
Okay, now we could do an example:
If you want an ics rom, I would take cyanogenmod 9. Here's a guide:
Download the zip file from here.
Then you extract the zip file, so you have one packed zip file and one unpacked. The packed zip file you copy to your sd card.
In the unpacked, there's a boot.img. If it isn't named boot.img rename it, so it's name is "boot", but windows detects as an image file.
You open sony flash tool and click on the flash, select fastboot mode and then choose "select kernel to flash". Choose the boot.img (make sure it is named boot and it is an image. In flashtool the image you choose should be named boot) and shut down phone. Hold volume up key that the blue led shines, and the kernel is flashed after seconds. Now see the log, if there's no error, plug off the device and power on. While powering on you press the volume down button again and again.
Now you are in cwm. There I would do a backup first. When the backup has finished, you make a factory reset and wipe cache partition.
Then select install zip from sd card and choose zip. There you choose the cm9 zip you copied to your sd card. If it finished installing (don't power off device while installing, sometimes you could think it stuck, but normally it won't. Just wait and drink a coffee!) you can reboot device and normally it should work.
YOU DO THAT ON YOUR OWN RISK. FOR ME ON MINI PRO IT WORKED, BUT I CAN'T PROMISE!
Hope it works and keep up! In the end you will hopefully enjoy your rom (maybe cm9)
Greets
Michael
Click to expand...
Click to collapse
That won't work if you have no unlocked bootloader! Do this only if you are sure, the bootloader is unlocked!! If it works, it'd be nice if you could tell me!
Michi_optimus_me said:
Okay, so:
The kernel is seperated from the rom. If you have unlocked the bootloader you can flash a kernel. In most kernels, cwm is included, so you flash the kernel and then you can boot up. While booting you press the volume down button again and again, to come to cwm. There you can install a zip file, in which the rom is.
Are you really sure the bootloader is unlocked? Did you do it by testpoint or sonys official method?
To flash a kernel, you need the boot.img. Before you start flashing the kernel, put the downloaded zip file of the rom on your sd card.
Then, and I would do it like this cause with the normal command line by windows it's the same, you open sony flash tool. There you click on the flash, select fastboot mode and on the right side there is select kernel to flash. There you choose the boot.img. Then you have to shut down your phone, and while you are holding volume up key, you connect phone to pc. There will light up the blue led and flash tool will automaticly flash the kernel. READ THE LOG BEFORE YOU PLUG OFF DEVICE!! If the log is ok (there are no errors), you can plug off device and turn it on. While booting, you press volume down again and again. Then you have to follow the tutorial to the rom (what has to be formatted or wiped and how to install the rom itself. Cause after flashing the kernel, you must install the rom or your device won't boot up!
Okay, now we could do an example:
If you want an ics rom, I would take cyanogenmod 9. Here's a guide:
Download the zip file from here.
Then you extract the zip file, so you have one packed zip file and one unpacked. The packed zip file you copy to your sd card.
In the unpacked, there's a boot.img. If it isn't named boot.img rename it, so it's name is "boot", but windows detects as an image file.
You open sony flash tool and click on the flash, select fastboot mode and then choose "select kernel to flash". Choose the boot.img (make sure it is named boot and it is an image. In flashtool the image you choose should be named boot) and shut down phone. Hold volume up key that the blue led shines, and the kernel is flashed after seconds. Now see the log, if there's no error, plug off the device and power on. While powering on you press the volume down button again and again.
Now you are in cwm. There I would do a backup first. When the backup has finished, you make a factory reset and wipe cache partition.
Then select install zip from sd card and choose zip. There you choose the cm9 zip you copied to your sd card. If it finished installing (don't power off device while installing, sometimes you could think it stuck, but normally it won't. Just wait and drink a coffee!) you can reboot device and normally it should work.
YOU DO THAT ON YOUR OWN RISK. FOR ME ON MINI PRO IT WORKED, BUT I CAN'T PROMISE!
Hope it works and keep up! In the end you will hopefully enjoy your rom (maybe cm9)
Greets
Michael
---------- Post added at 12:31 PM ---------- Previous post was at 11:34 AM ----------
That won't work if you have no unlocked bootloader! Do this only if you are sure, the bootloader is unlocked!! If it works, it'd be nice if you could tell me!
Click to expand...
Click to collapse
Bootloader IS unlocked from SE website. I used the unlocking-relocking toil by quaghi. Wow! So many steps in this phone..... And thanks, CM7/CM9 was also one of my choices, though the wife prefers smulrronic..... Thanks a ton you guys......
Sent from my HTC Incredible S
Tried all methods, flashtool, adb & fastboot commands, and everytime I get to a softbrick/stuck at bootloader.
Facts:
1. Bootloader is unlocked (unlock method SE official). Checked by *#*# SERVICE(7378423) #*#* & got no output.
2. Am able to downgrade to .42 firmware and root that firmware (stock gb).
From that point onwards, when I try to flash a new kernel (boot.IMG), or a custom ICS ROM (smultronic & real ICS 5.2) I end up losing boot, root and end up at bootloop. It's all as clear as mud!
I suppose I have to relinquish this phone to my wife,while I try to find out a way to get a rooted ICS ROM up and running on the Xperia ST15i. Any help from this community will be gratefully accepted.
Sent from my HTC Incredible S
But you can use it with the stock bootloader and gingerbread?
With this your phone boots up?
mihahn said:
But you can use it with the stock bootloader and gingerbread?
With this your phone boots up?
Click to expand...
Click to collapse
Tried that too. Does not boot.
Sent from my HTC Incredible S
So the device is bricked up atm?
Can you enter cwm or does it vibrate if you try to turn it on?
Have you tried multiple kernels right now?
Device is ok till I root on .42. Firmware. Thereafter I can't seem to get any custom ROM to boot. After installing CWMR and flashing a custom kernel (x-kernel, krish kernel) & thereafter wipe data, system, cache &dalvik & flash smultronic or clean ICS 1.5 thru aroma, I always seem to end in a bootloop (that too with the gb boot showing Sony Ericsson, not the Sony - Xperia ICS boot). To get back, I have to flashtool the .42 ftf and use the doomlord zergrush exploit to re-obtain root. What am I doing wrong?
Sent from my HTC Incredible S
You should install Android Android 4.0.4. You have to flash it with flashtool.
NEVER UPDATE OVER THE AIR IF YOU HAVE AN UNLOCKED BOOTLOADER!!!
So just flash Android 4.0.4 . Download an android 4 kernel like Extended Stock Kernel from here and download the android 4 rom (4.1.B.0.431) for your xperia mini here. Then you download Real Ics from here.
Then flash the kernel in fastboot mode and without restarting flash the android 4 rom in flashmode.The rom isn't rooted, but you don't need to root, cause cwm is included in the kernel! Then restart. If it restarts you can go on. Shutdown and enter cwm.
There you don't wipe anything!!! Don't format system etc!
You just install the zip from sdcard and after the installation is complete and before you reboot you make a factory reset and wipe dalvik cache...
Then you restart.
Normally it should work!
Greets
Michael
@Michael,
Dankeschön. Will give the way you describe one last try.
Edit....
My wife connected her phone to the laptop and the SEUS updated the phone to stock ICS 4.1xx. Not a big problem I assume, coz I downgraded from that very version.
Sent from my HTC Incredible S
I SOLVED IT!!!! You guys on the Xperia 2011 section are quite unkind to noobs & neophytes. I was wondering... 'After all it is the same Android OS. What can be so difficult in this device?' I did some more research and decided to give it another try:
1. Starting point... ST15i at stock ICS 4.1.B.0.431 firmware with locked boot loader (after a mistaken connection to laptop and SEUS updated to locked boot loader ICS firmware... iI think it is the Sony Smultron WWE equivalent).
2. Ran SE Boot loader Unlocking v1.6 by quangnhut123 (Excellent tool BTW). Got boot loader unlock from SE Official method.
3. While in the same boot loader Locking/Unlocking tool, flashed EXtended Stock Kernel - v2 for 4.1.B.0.431 from fastboot (Blue light, vol up and insert USB?). The kernel is pre-rooted with busybox and has DoomLord's version of CWMR.
4. Viola!!! Root on Stock ICS firmware with CWMR. Here's to you boors who told me that ICS on this phone could not be rooted!!!!
Thanks Michael, you helped me think while every other thread advised outrageous actions and i was quietly led up the garden path (Auf Eis gefurht!!!)
Presently wife prefers stock and wishes only to delete bloat system apps and use hostfiles to block ads.... Hope others find my post helpful to root their devices too....
Sent from my Incredible S

[Q] A small question about flashing cm 12

Hi, everyone, I just got my z3 tablet and I am in love with it except i don't like the interface. So i decide to root my tablet without unlocking the bolted and I did made it and i did install TWRP. I have a question, since I have TWRP is it possible for me to install cm 12 rom or I need to have a unlock boot loader in order to install it?
Sorry for my bad english and thank you for answering my questions.
kokorolove said:
Hi, everyone, I just got my z3 tablet and I am in love with it except i don't like the interface. So i decide to root my tablet without unlocking the bolted and I did made it and i did install TWRP. I have a question, since I have TWRP is it possible for me to install cm 12 rom or I need to have a unlock boot loader in order to install it?
Sorry for my bad english and thank you for answering my questions.
Click to expand...
Click to collapse
You need to unlock to flash a custom kernel which would be needed by the cm12 to run. So first.
1.Backup drm keys
2.Unlock BL
3. Flash CM kernel via fastboot
4. Flash CM Rom via recovery.
Sent from my SGP621 using XDA Free mobile app
I just bought a Z3 tablet compact, which should be here at the end of next week. I haven’t found a tutorial which includes all steps to get from the standard rom to CM12. Did I miss any steps or does the following steps include everything?
Root tablet on the original Sony rom
Backup TA partition (I guess that's where the DRM keys are?)
Unlock bootloader
Flash a recovery (any recommendations?) I found this tutorial, but I only need one recovery and I don’t want to flash that zip every time I install a new rom.
Flash CM12. Are there any kernels beside that one included in the CM12 zips?
Cyberratchet said:
I just bought a Z3 tablet compact, which should be here at the end of next week. I haven’t found a tutorial which includes all steps to get from the standard rom to CM12. Did I miss any steps or does the following steps include everything?
Root tablet on the original Sony rom
Backup TA partition (I guess that's where the DRM keys are?)
Unlock bootloader
Flash a recovery (any recommendations?) I found this tutorial, but I only need one recovery and I don’t want to flash that zip every time I install a new rom.
Flash CM12. Are there any kernels beside that one included in the CM12 zips?
Click to expand...
Click to collapse
I guess you should just flash the kernel via fastboot after unlocking the bootloader, that would eliminate the need to flash a recovery. It's hitting 2 birds and one stone and besides CM uses a different kernel than stock so later you would really need to flash kernel.
Sent from my SGP621 using XDA Free mobile app
Thanks for your reply. The whole flashing procedure is a lot more complicated than on my S3, so I have a follow-up question.
Should I just backup the TA partition, unlock the tablet, flash this kernel which should give me root and TWRP and then flash another recovery and CM12?
I found this recovery which is only semi-permanent, because you have to flash it before you upgrade/install a new CM12 version. It’s not big deal tbh, but is there a permanent recovery, which I only have to install once.
I'm also curious about this.
Right now, I'm trying to download the Flashtool program from Sony, but apparently, you need to "register" for it. Where did you guys download your Flashtool from?
Cyberratchet said:
Thanks for your reply. The whole flashing procedure is a lot more complicated than on my S3, so I have a follow-up question.
Should I just backup the TA partition, unlock the tablet, flash this kernel which should give me root and TWRP and then flash another recovery and CM12?
I found this recovery which is only semi-permanent, because you have to flash it before you upgrade/install a new CM12 version. It’s not big deal tbh, but is there a permanent recovery, which I only have to install once.
Click to expand...
Click to collapse
Correct, make sure the kernel is compatible with CM
Sent from my SGP621 using XDA Free mobile app
The whole procedure is really frustrating, maybe someone can help me here.
I did a backup of the TA partition and unlocked the bootloader. I tried flashing the boot.img from the cm.zip, but I have no idea how to flash the rom via the cm-recovery.
Flashing the advanced kernel to get TWRP wasn’t successful as well. I tried the fastboot mode of the Flashtool and flashed the kernel, but nothing changed.
Can someone post a brief guide with the next steps to get CM12 running (with cmd commands pls)?
EDIT: I just tried to use “adb sideload” in the CM recover, but “adb devices” doesn’t show the tablet .
EDIT2: EDIT: Seems like I got it to work after all. The DualRecover Installer worked, even without SuperSU installed.
Cyberratchet said:
The whole procedure is really frustrating, maybe someone can help me here.
I did a backup of the TA partition and unlocked the bootloader. I tried flashing the boot.img from the cm.zip, but I have no idea how to flash the rom via the cm-recovery.
Flashing the advanced kernel to get TWRP wasn’t successful as well. I tried the fastboot mode of the Flashtool and flashed the kernel, but nothing changed.
Can someone post a brief guide with the next steps to get CM12 running (with cmd commands pls)?
EDIT: I just tried to use “adb sideload” in the CM recover, but “adb devices” doesn’t show the tablet .
EDIT2: EDIT: Seems like I got it to work after all. The DualRecover Installer worked, even without SuperSU installed.
Click to expand...
Click to collapse
I ran into the same problem usin the cm12 nightlies from 27th march 2015:
Sideloading would not work because the tablet is not recognized by the computer. I tried with Windows 7 and gentoo Linux.
Installing from the sd-card in recovery mode was also not possible due to a error of missing "/misc".
I solved the problem by manually choosing the driver in Windows 7. I booted the tablet into recovery. Choose update using adb as detailed in this post:
http://forum.xda-developers.com/z3-...t/root-root-locked-bootloader-sgp621-t3013534
Then I found the device in the windows device manager. Here I manually choose the adb driver that I installed earlier from the flashtool package. After that the device was correctly recognized by Windows and I could Sideloade the cm12 image.

[Untested] Rooting LP 5.1 - Requires 5.0 As A Base

Rooting Method for Xperia Z Ultra Lollipop V5.1 .
What You Need :
5.1 .
Root & Recovery Pre-Installed .
Flashtool & PC .
MAKE A BACKUP FIRST​
How To :
As a Start, You Gonna have Lollipop 5.0 with Root & Recovery installed .
Move 5.1 to firmwares folder .
Download This SuperSu Flashable file and move it to SDCard & Internal Storage .
Open Flashtool .
Select The ROM .
Exclude Kernel ONLY .
Flash the ROM .
Boot the Phone and enter Recovery ASAP .
Install the ZIP File, if Flashtool didn't wipe Internal storage yet, then install it from Internal storage, otherwise from SD Card .
Power Off .
Open Flashtool .
Select 5.1 .
Exclude All expect the Kernel .
Un-tick Data / Cache and the third option too .
Flash .
Boot ! .
As a feedback from my friend, he said there was not problem with 5.0 kernel on 5.1 system for first boot ( recovery entering only ) .
Please feedback, and don't forget the backup !
is it 5.1 or 5.1.1?
The quick way to root any ROM, including the newly released 5.1.1 is, if you have an unlocked bootloader:
- Hotboot any custom kernel with a recovery (fastboot)
- Flash SuperSU
- Reboot
If you want CWM/TWRP:
- Flash NUT's Dual Recovery kernel through fastboot
- Reboot
You're now rooted, and you have recovery.
NOTE: If you have no idea how to use fastboot, then you can use QuickIMG. It lets you flash .IMGs very easily without needing to use any commands. Do however read the instructions provided before you use it.
It's also a good idea to learn how to get out of a sticky situation in case something goes wrong. If you want to be on the safe side when testing kernels, hotboot, or boot an IMG/kernel instead of flashing. Once you see that the kernel is indeed working, and you're not experiencing any bootloops or red LED blinking, then you can safely flash it to disk.
Note: Hotbooting means that the device will only boot the kernel once, so it doesn't really flash it to the device. Flashing a kernel writes it to the device, making it permanent until you replace it by flashing a different kernel yourself.
jaime4272 said:
is it 5.1 or 5.1.1?
Click to expand...
Click to collapse
5.1.X
Klaos3000 said:
The quick way to root any ROM, including the newly released 5.1.1 is, if you have an unlocked bootloader:
- Hotboot any custom kernel with a recovery (fastboot)
- Flash SuperSU
- Reboot
If you want CWM/TWRP:
- Flash NUT's Dual Recovery kernel through fastboot
- Reboot
You're now rooted, and you have recovery.
NOTE: If you have no idea how to use fastboot, then you can use QuickIMG. It lets you flash .IMGs very easily without needing to use any commands. Do however read the instructions provided before you use it.
It's also a good idea to learn how to get out of a sticky situation in case something goes wrong. If you want to be on the safe side when testing kernels, hotboot, or boot an IMG/kernel instead of flashing. Once you see that the kernel is indeed working, and you're not experiencing any bootloops or red LED blinking, then you can safely flash it to disk.
Note: Hotbooting means that the device will only boot the kernel once, so it doesn't really flash it to the device. Flashing a kernel writes it to the device, making it permanent until you replace it by flashing a different kernel yourself.
Click to expand...
Click to collapse
The way for locked bootloader not for unlocked .
Anyway, anyone tested it ?
How about using the prf (pre rooted firmware) tool for locked bootloader?
Sent from my C6833 using Tapatalk
ejhayanchorez said:
How about using the prf (pre rooted firmware) tool for locked bootloader?
Sent from my C6833 using Tapatalk
Click to expand...
Click to collapse
I Didn't see a pre-rooted firmware, that's why i put this guide, if someone can do it and upload the firmware that's would be awesome .
hi there. I just want to say that after following your guide I could not get in to recovery after flashing the 5.1.1 ftf minus the kernel. when turning the phone on it goes straight to normal boot but it doesn't. it goes in to a boot loop. some how it removes dual recovery and can't flash SuperSU there for loosing root and yes I was rooted with dual recovery. could you explain with more details how to please because I did as you said and didn't work
jaime4272 said:
hi there. I just want to say that after following your guide I could not get in to recovery after flashing the 5.1.1 ftf minus the kernel. when turning the phone on it goes straight to normal boot but it doesn't. it goes in to a boot loop. some how it removes dual recovery and can't flash SuperSU there for loosing root and yes I was rooted with dual recovery. could you explain with more details how to please because I did as you said and didn't work
Click to expand...
Click to collapse
Follow this guide : http://forum.xda-developers.com/xpe...ck-rom-5-1-1-lollipop-xperia-z-ultra-t3206107
This guide isn't working on all devices, don't know why.
thanks i'll give it a try

Z5C won't boot after kernel & recovery flash

Hi guys,
Just unlocked my bootloader and began the root process.
I followed part of this guide but without backing up my DRM keys. http://forum.xda-developers.com/z5-compact/general/summary-tutorial-root-sony-xperia-z5-t3360515
I flashed my kernel and the recovery O.K.
fastboot flash recovery recovery.img
flashboot flash boot boot.img
I've tried two versions of TWRP and two different versions of the kernel AndroPlus.
When performing fastboot reboot after flashing both files my phones LED blinks RED once and then does nothing.
Dramatic and scary. What can I do to fix this? When trying to boot without the cable in my phone just vibrates once and does nothing. Screen doesn't light up at all. I'm so worried.
MatMew said:
Hi guys,
Just unlocked my bootloader and began the root process.
I followed part of this guide but without backing up my DRM keys. http://forum.xda-developers.com/z5-compact/general/summary-tutorial-root-sony-xperia-z5-t3360515
I flashed my kernel and the recovery O.K.
fastboot flash recovery recovery.img
flashboot flash boot boot.img
I've tried two versions of TWRP and two different versions of the kernel AndroPlus.
When performing fastboot reboot after flashing both files my phones LED blinks RED once and then does nothing.
Dramatic and scary. What can I do to fix this? When trying to boot without the cable in my phone just vibrates once and does nothing. Screen doesn't light up at all. I'm so worried.
Click to expand...
Click to collapse
did you try to flash first the boot.img and after the recovery ?
acabreram said:
did you try to flash first the boot.img and after the recovery ?
Click to expand...
Click to collapse
I've tried another kernel and it's booting but hanging at the three dots. (bootscreen) been waiting a few minutes. hopefully it gets to system.
MatMew said:
I've tried another kernel and it's booting but hanging at the three dots. (bootscreen) been waiting a few minutes. hopefully it gets to system.
Click to expand...
Click to collapse
Ok yo can try this too
Y tried and working fine root & xposed
It's tus stock kernel but with the habilita to support root
Similar issue for me
I've had almost exactly the same issue today:
- I unlocked boatloader using Sony standard process
- I followed the steps under 'How to Install CM13' within CTXz's guide here
- After flashing the Kernel and THEN the TWRP, I reboot and the phone flashes red LED, then green, then off, then red and then stays on green for a while (screen is blank). My computer registers that there is a new connection by making a sound but doesn't show up any devices that I can see.
- Periodically, I get the device disconnection sound and the green LED goes off, then red comes on, then solid green again until next cycle.
- If I disconnect the cable, the LED goes off. When I try to turn the phone on without cable attached, it buzzes but does nothing - no LEDs. I can't tell whether it is on or not, except that doing hard reset with PWR+Vol.Up gives no reaction.
- When I re-attach cable normally, the red/green LED sequence starts immediately with no need to turn PWR on, which would suggest that the phone is perhaps on.
- I am able to get into bootloader as normal and fastboot registers the device just fine.
- There is no yellow LED
I started with Kernel AndroPlus v24 and TWRP 3.0.0.0.
Failing that, I tried Kernel v20. Then I tried AndroPlus' twrp-2.8.7.0-E5823-32.0.A.6.152.
Have also tried Kernels v20 and v21 with TWRP 3.0.0.0.
I haven't had any fast boot errors - all flashes come back 'OKAY'.
I'd be very grateful for any help? Have I missed something?!
update to my post above:
I used: 'fastboot boot recovery.img' and this fired up the Sony logo with white screen and blue LED. However, after 10 mins of waiting, there was no change in status and I still couldn't get into TWRP with pressing Vol buttons, even after several restarts and unplugging, replugging etc.
Then, I realised the stock ROM on my phone before this whole process was Lollipop 5.1.1 Build 32.0.A.6.200. So, I flashed older versions of the Kernel and TWRP. Now, I can boot into the ROM and use the phone (almost) as normal except, being plugged in, it keeps re-detecting the USB cable. I now also get the Sony boot screen followed by yellow LED.
If I don't touch anything, it boots into the ROM. However, if I press a Vol button while the yellow LED is on during boot, then it just resets.
Thus, I still cannot get into the TWRP interface. Perhaps I need a TWRP version that is specific to my build - the one I have is from AndroPlus website and refers to the previous build (twrp-2.8.7.0-E5823-32.0.A.6.152.img)?
okay, further update (to save someone replying!)
I managed to boot into the system using AndroPlus Kernel v05a (I had Lollipop build ###.200), but still couldn't get into any TWRP.
I then followed the general process explained in this thread, albeit had to do a heck of a lot of research to understand the detail that is omitted from that (otherwise very useful and concise) original post. For example:
- how to actually use Flashtool (installing drivers and then getting hold of the right firmware from within the program);
- the difference between Fastboot and Flashmode;
- having to plug in the phone while it is loaded into the system before then flashing the selected firmware with Flashtool and ONLY THEN unplugging, switching off and booting into Flashmode.
- loading up the system after flashing the Kernel and TWRP so that I connect to computer and re-copy the erased SuperSU .zip file back onto storage, and then re-booting into TWRP and how to flash a zip file with TWRP.
Having now got a stock Marshmallow firmware rooted, my next step is to go back to the original guide I was following and try to install Cyanogen!
Thank you to all the people who have posted help guides throughout this site so that I could piece together what I needed to do - even though it has still taken me about 30 hours of my life to learn all this!
Hopefully my experience might help someone else in due course...
robledog said:
okay, further update (to save someone replying!)
I managed to boot into the system using AndroPlus Kernel v05a (I had Lollipop build ###.200), but still couldn't get into any TWRP.
I then followed the general process explained in this thread, albeit had to do a heck of a lot of research to understand the detail that is omitted from that (otherwise very useful and concise) original post. For example:
- how to actually use Flashtool (installing drivers and then getting hold of the right firmware from within the program);
- the difference between Fastboot and Flashmode;
- having to plug in the phone while it is loaded into the system before then flashing the selected firmware with Flashtool and ONLY THEN unplugging, switching off and booting into Flashmode.
- loading up the system after flashing the Kernel and TWRP so that I connect to computer and re-copy the erased SuperSU .zip file back onto storage, and then re-booting into TWRP and how to flash a zip file with TWRP.
Having now got a stock Marshmallow firmware rooted, my next step is to go back to the original guide I was following and try to install Cyanogen!
Thank you to all the people who have posted help guides throughout this site so that I could piece together what I needed to do - even though it has still taken me about 30 hours of my life to learn all this!
Hopefully my experience might help someone else in due course...
Click to expand...
Click to collapse
I had the same problem and solution is as is written here.
I had to flash Stock Firmware Marshmallow via Flashtool. After this I flashed kernel(boot) and recovery without problems and yellow icon will displayed.
Don't want to warm up this kind of old thread, but I have exactly the same issue (E8523). Would any of you mind to post their (stock) ROM versions which finally worked? I tried almost every combination that came to my mind (Customized CE1 32.2.A.0.224 => v31, several LP versions => more or less 20 to 32...).
Currently after installing the MM I mentioned the stock kernel worked, but when I flash the AndroPlus kernel (fastboot flash boot /path/to/boot.img) it won't boot up, black screen, looks like no dtb found (doesn't even try to load). This is also the message I get when I try to boot this img via fastboot directly.
I am sure I am missing something really stupid (quite new to android devices), but what?
IGNNE said:
Don't want to warm up this kind of old thread, but I have exactly the same issue (E8523). Would any of you mind to post their (stock) ROM versions which finally worked? I tried almost every combination that came to my mind (Customized CE1 32.2.A.0.224 => v31, several LP versions => more or less 20 to 32...).
Currently after installing the MM I mentioned the stock kernel worked, but when I flash the AndroPlus kernel (fastboot flash boot /path/to/boot.img) it won't boot up, black screen, looks like no dtb found (doesn't even try to load). This is also the message I get when I try to boot this img via fastboot directly.
I am sure I am missing something really stupid (quite new to android devices), but what?
Click to expand...
Click to collapse
Pro tip: hold shift and right click inside folder with recover.IMG or voot.IMG to open command prompt from that folder. Then all you have to do is type fastboot flash boot boot.IMG. I suggest trying to put a custom recovery like twrp on and flashing the xpower ROM from that, it will give you everything in one package.
Edit: fwiw I'm pretty sure custom recoveries have been able to flash .IMG fils for a few years now but I've never actually tried it. Might be worth a shot.
Thanks, but I haven't found cmd.exe on my linux machine yet^^ (I suppose wineconsole is cheating )
I know how to flash *stuff* to my phone, but that *stuff* seems only to work if some specific version of stock rom was installed previously. My best guess is the bootloader changes and supports different dtb formats on every version.
Stock Marshmallow 6.0.1 Customized CE1 32.2.A.0.224 does _not_ work for installing any version of AndroPlus kernel (tried a few...). It fails at boot (does not even load system, probably dtb).
Just in case someone might run into similar issues: What finally worked was Stock MM 6.0.1 Customized DE 32.2.A.0.224 with AndroPlus v31. It seems to be some older release (?), it says R2C instead of R9C for Customized CE1.
I could not find this information anywhere on the net (maybe its me), so for those with a slow internet connection the above version should work. You don't have to actually boot it, flashing is enough.
Thanks for sharing the information in this tread, it really helped me to unbrick my phone!
I started with Lollipop on my brand new Z3C and tried to root using AndroPlusKernel v31 / TWRP 3.0. This resulted in a softbick state, only being able to boot in fastboot mode.
After many hours struggling, an upgrade to stock Marshmallow (E5823_32.2.A.0.224) did the trick. This somehow seems ta make the device ready for the new kernel and recovery (I guess it has to do with the partitions in the filesystem).
Anyway, from stock Marshmallow I could start all over and succeeded to flash a custom bootloader, recovery and now have the ability to flash any desired rom! Thanks again.
To updrade to stock MM I used the instructions in this thread:
[GUIDE][18th Dec][4Noobs] Flashing A FTF File Using Flashtool
To set up TWRP recovery I used the instructions in this thread:
[ROM][UNOFFICIAL][6.0.1][E5823/E5803] CyanogenMod 13 for the Sony Xperia Z5C [ALPHA]
The stock rom I used for my E5823 is "E5823_32.2.A.0.224_R1C_CIS Generic_1298-5167.ftf" from xperiablog.net
Since I'm a new registered member I can't post external links
Google it and you're set!
IGNNE said:
Just in case someone might run into similar issues: What finally worked was Stock MM 6.0.1 Customized DE 32.2.A.0.224 with AndroPlus v31. It seems to be some older release (?), it says R2C instead of R9C for Customized CE1.
I could not find this information anywhere on the net (maybe its me), so for those with a slow internet connection the above version should work. You don't have to actually boot it, flashing is enough.
Click to expand...
Click to collapse
I'm having the same problem, where did you get that MM stock version from?
And what do you mean by "you don't have to actually boot it"?
Search for XperiaFirm and Flashtool. There is plenty.
You don't have to start your freshly installed Stock Rom version "...". You just have to flash it (write it to your phone) Now you boot your phone in fastboot mode and flash your custom kernel and mod rom of your choice. Seems to be some incompatible whatever between not matching kernel versions and the "stuff" flashing installs (suspect sth like bootloader, but no idea).
I have flased boot.img nd recovery.img on android 7.1.1 z5 compact my phone won't pass the sony logo
any help ?
---------- Post added at 11:05 AM ---------- Previous post was at 10:54 AM ----------
starchild78 said:
I have flased boot.img nd recovery.img on android 7.1.1 z5 compact my phone won't pass the sony logo
any help ?
Click to expand...
Click to collapse
I've just discovered I can boot into twrp
anything I can do to fix this from there ?

Categories

Resources