Tried to Install Boot.img on Z5 Premium 6883 now black screen - Xperia Z5 Q&A, Help & Troubleshooting

I fastboot flashed the boot.img in development and now I have a black screen what gives?

That's your phones way of saying "If you aren't sure what you're doing and how to recover, don't mess".
But a few things with your post;
1) This is the Z5 forum not the Z5P forum.
2) This is in development, should be in Q&A.
3) Are you 100% sure you flashed a Z5P boot.img and not a Z5 boot.img?
4) What is the boot.img in regards to? Is it a custom kernel? Custom ROM kernel?
5) Is the boot.img for stock or a custom ROM?
6) Do the LED's still work? If so, have you tried to reflash the stock ROM?
Sent from my E6653 using XDA-Developers mobile app

Stock Rom. Oh there's a 6683 for the regular z5 thats a dual got it flashed the wrong boot.

Related

[Q] How can I return to stock kernel ?

I am new to the nexus s , but have been a heavy galaxy s user. I noticed that flashing roms etc is a bit different from what I am used to on my galaxy s .. I did not see any thread containing stock kernels ... So how can I return to stock after I have flashed another kernel ? I have installed the voodoo kernel with ext4, sound and colour enhancement .. But suppose I want to return to my stock gri54 kernel , how can I do that ? Have read allready about fastboot etc etc but then I should have an .img of the stock kernel , correct ?
By flashing back to stock rom, you will get back your stock kernel automatically.
Sent from my Nexus S using Tapatalk
navlem said:
By flashing back to stock rom, you will get back your stock kernel automatically.
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
So by flashing back to stock ROM via recovery, does it mean that it will be locked and un-rooted as factory default [like when you first purchase the device]?
navlem said:
By flashing back to stock rom, you will get back your stock kernel automatically.
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
But will i not loose everything if i do it like that? And where can i find stock rom. I only found an odin package
Sent from my Nexus S using XDA Premium App
johnkim0011 said:
So by flashing back to stock ROM via recovery, does it mean that it will be locked and un-rooted as factory default [like when you first purchase the device]?
Click to expand...
Click to collapse
It will be unrooted, but still with unlocked bootloader.
Bandis710 said:
But will i not loose everything if i do it like that? And where can i find stock rom. I only found an odin package
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
The Odin package can put you back to stock rom too.
So what you are saying there is no way to flash only the stock kernel ?? Very confusing .. I am able to flash just another kernel using fastboot but I am not able to flash back the stock kernel using fastboot ? Odin is a last resort method .. haven't seen fastboot .img files of the stock here in the forums ?
I'm not sure if anybody posted any stock kernel file in the forums. If there is any, you can easily download it and install via recovery or fastboot.
Otherwise you can only revert to stock roms because stock roms links are easily available through the forums or samsung firmware website.
Or after you have failed everything, may want to consider Odin. It seems to touch the phone at a lower level compare to other techniques.
follow the instruction on this
http://www.samfirmware.com/WEBPROTECT-i9023.htm
work great for me after all
Samsung i9023
Good luck
Yeah , I also mentioned odin allready .. Used it a lot when I had my galaxy s .. Just thought that since the nexus s can use fastboot I could get rid of odin ..
I am also not used that all has to be flashed to achieve a single goal .. On the galaxy s I could flash the kernel separately and also stcok kernel were easy to find .. I think it is kind of a hassle to reflash a whole rom just because you want stock kernel back ..
Voodoo has stated that his kernel is 'almost' stock, with only voodoo addon to the pure stock kernel. Maybe you can use that?
Some news here?
Hi there!
I was also wondering about this same situation. Let's say I want to stick with the original ROM and try some non-stock kernels. After some tests I know there is an OTA available but I don't want to backup and restore everything (using TB or similar). From what I understood I wouldn't be able to flash stock kernel (in other words, back to full stock ROM + Kernel) and apply OTA update...
What if we just flash boot.img from a nandroid of stock rom+kernel?
RM
Here you go: http://forum.xda-developers.com/showpost.php?p=20442919&postcount=3
Sent from my Nexus S using XDA App
Hoo great!
but, can you tell us where to find or how to get it from the stock ROM and make it flashable? It might be useful for upcoming releases of stock ROM/Kernels.
Thank you once again,
RM
edit: after searching by the filename you gently provided I found this:
hxxp://www.android-hilfe.de/2277361-post1.html
hxxp://www.michalurban.cz/Nexus_S_i9023/Kernel/
seems to be a good compilation, and stock is in the list!
The file I posted is already flashable through CWM. Just wipe dalvik first. Of course make sure you have a Nandroid backup just in case.
Hi,
sure, I noticed that. What I was wondering was how to get this flashable kernels. From the stock ROM full installation file? From a nandroid backup of a stock ROM??
RM
Hi, is any chance to get stock kernel for Jelly Bean 4.1.1? I've got stock rom, Air Kernel and OTA is buzzing me multiple times a day. No luck in upgrade, Error Status 7. I think it's Air Kernel's fault.
0mn1us said:
Hi, is any chance to get stock kernel for Jelly Bean 4.1.1? I've got stock rom, Air Kernel and OTA is buzzing me multiple times a day. No luck in upgrade, Error Status 7. I think it's Air Kernel's fault.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1572307
Flash factory. Easy.
Sent from my Nexus S using xda premium

[Q] Kernels, ROMs and boot.img

Hi!
I have couple of questions regarding boot.img, kernels and how they relate to ROMs.
1. I believe every ROM comes with a kernel. Am I right?
2. Say I'm running CM10 and decide to flash beastmode bricked kernel and later flash Viper OneS. Do I still have beastmode kernel in Viper or has the kernel now been replaced by Viper's kernel? (Answer to q 1 might also answer this one...)
3. I believe boot.img is where the kernel is in a ROM. Am I correct?
4. What else does boot.img actually contain? The name atleast refers to some stuff needed for booting...
Thans !
Sent from my HTC One S using xda app-developers app
1. Yes, most likely. All ROMs Ive flashed has come with a kernel, either in the rom.zip file or as a separate download.
2. You will have to reflash the kernel if youre on hboot 1.14+ at least. If you are updating a ROM, as in not wiping anything, the kernel does not have to be reflashed.
In some cases you still have to fastboot flash it to get the updated rom to boot though.
3. Yes, Im quite sure it is. That has been the case with the ROMs Ive flashed at least.
4. It contains the ramdisc, which is pretty much everything related to the booting process, some settings and some other modules.
Goatshocker said:
1. Yes, most likely. All ROMs Ive flashed has come with a kernel, either in the rom.zip file or as a separate download.
2. You will have to reflash the kernel if youre on hboot 1.14+ at least. If you are updating a ROM, as in not wiping anything, the kernel does not have to be reflashed.
In some cases you still have to fastboot flash it to get the updated rom to boot though.
3. Yes, Im quite sure it is. That has been the case with the ROMs Ive flashed at least.
4. It contains the ramdisc, which is pretty much everything related to the booting process, some settings and some other modules.
Click to expand...
Click to collapse
Thanks for your answer! That cleared alot.
About the question 2... So if I have a kernel other than that which came with the ROM, I just have to fastboot flash boot.img of the ROM to revert back to the ROM's own kernel?
I am on hboot 2.15.
Sent from my HTC One S using xda app-developers app
zaak00 said:
Thanks for your answer! That cleared alot.
About the question 2... So if I have a kernel other than that which came with the ROM, I just have to fastboot flash boot.img of the ROM to revert back to the ROM's own kernel?
I am on hboot 2.15.
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
Yep that right.

Question about switching roms and recovery loss (lb)

So about 75% of the time when I switch roms I lose my recovery and have to use flashtool to restore kk and root / recovery. Anyone else have that issue?
Sent from my D6603 using Tapatalk
Spz0 said:
So about 75% of the time when I switch roms I lose my recovery and have to use flashtool to restore kk and root / recovery. Anyone else have that issue?
Sent from my D6603 using Tapatalk
Click to expand...
Click to collapse
Because recovery is installed to system partition on LB so when you change roms you wipe the system and hence lose recovery.
gregbradley said:
Because recovery is installed to system partition on LB so when you change roms you wipe the system and hence lose recovery.
Click to expand...
Click to collapse
K Tha makes sense.
On an addition, the reason I need to flashtool so much is because the phone hangs on the Sony boot screen also 75% of the time. Md5 sums match up before flashing also.
Sent from my D6603 using Tapatalk
I'll elaborate:
Coming from rsxw z5 experience rom, flashing existenz rom. Flashes fine, everything passes, but on reboot it just hangs at kernel boot screen. This has happened multiple times unfortunately, on multiple roms. I'm wondering if there's an issue with the updater script detecting lb or ub? Dunno. I'll check the scripts tonight, but I'm wondering if anyone else has this issue or has worked around it if so.
Cheers
Sent from my D6603 using Tapatalk
Since both of those ROMs are for locked bootloader it will not have anything to do with the updater script looking for UB or LB.
However, if those ROMs are based on stock ROMs that have a different kernel, unless you swap kernels that will result in a boot loop.
Check to see the base version of both those ROMs and ensure you flash the appropriate kernel for the ROMs when swapping between them. Flashing stock kernels can be done via fastboot on locked bootloaders, you only need an unlocked bootloader to flash unsigned kernels.

Z5 not booting

Hi All
My E6653 is no longer booting after freezing while running a custom rom. When I boot, it shows the Sony logo, then the light flashes red. It does not let me enter TWRP.
I have tried flashing original firmware using flashtool, repairing using xperia companion and the same issue happens.
I have tried flashing different custom kernels and TWRP versions. The only version of TWRP that works is TWRP 2.8.7.0 by AndroPlus but I cannot access the device through usb and adb does not work.
If anyone has any ideas on how to fix I would be super grateful.
What have u done to make ur device freeze, and which kernel were u using before freezing?
Sent from my E6633 using Tapatalk
shehabskull said:
What have u done to make ur device freeze, and which kernel were u using before freezing?
Sent from my E6633 using Tapatalk
Click to expand...
Click to collapse
Thanks for getting back to me. The phone froze while using the Plex app, and after I force rebooted, the boot issue happened.
I was running V2.3.3 of Xperia X ROM by _LLJY and the kernel that came with that custom rom.
NertySorption said:
Thanks for getting back to me. The phone froze while using the Plex app, and after I force rebooted, the boot issue happened.
I was running V2.3.3 of Xperia X ROM by _LLJY and the kernel that came with that custom rom.
Click to expand...
Click to collapse
Well the Rom's kernel which u were using does not include TWRP, just try one of these solutions :
1/ flash ur original kernel, or reflash ur official firmware using flash tool and DON'T EXCLUDE any thing and wipe user data / apps log... ETC simply do a clean install with out any exclusion
2/ If u have ur original kernel patched with TWRP img inside, directly flash it using flashtool and enter TWRP.
Sent from my E6633 using Tapatalk
shehabskull said:
Well the Rom's kernel which u were using does not include TWRP, just try one of these solutions :
1/ flash ur original kernel, or reflash ur official firmware using flash tool and DON'T EXCLUDE any thing and wipe user data / apps log... ETC simply do a clean install with out any exclusion
2/ If u have ur original kernel patched with TWRP img inside, directly flash it using flashtool and enter TWRP.
Sent from my E6633 using Tapatalk
Click to expand...
Click to collapse
1/ flash ur original kernel, or reflash ur official firmware using flash tool and DON'T EXCLUDE any thing and wipe user data / apps log... ETC simply do a clean install with out any exclusion
- I tried this with 2 different official firmwares and no luck. I made sure I didn't exclude anything. It still gets stuck on the Sony logo
2/ If u have ur original kernel patched with TWRP img inside, directly flash it using flashtool and enter TWRP.
- not 100% sure what to do with this. I don't have the original kernel patched with TWRP img inside. Is this something you have?
NertySorption said:
1/ flash ur original kernel, or reflash ur official firmware using flash tool and DON'T EXCLUDE any thing and wipe user data / apps log... ETC simply do a clean install with out any exclusion
- I tried this with 2 different official firmwares and no luck. I made sure I didn't exclude anything. It still gets stuck on the Sony logo
2/ If u have ur original kernel patched with TWRP img inside, directly flash it using flashtool and enter TWRP.
- not 100% sure what to do with this. I don't have the original kernel patched with TWRP img inside. Is this something you have?
Click to expand...
Click to collapse
Check this :
http://twigstechtips.blogspot.com.eg/2016/04/sony-z5-compact-root-without-losing-ta.html?m=1
At Rooting your Z5 Compact section
Sent from my E6633 using Tapatalk
NertySorption said:
1/ flash ur original kernel, or reflash ur official firmware using flash tool and DON'T EXCLUDE any thing and wipe user data / apps log... ETC simply do a clean install with out any exclusion
- I tried this with 2 different official firmwares and no luck. I made sure I didn't exclude anything. It still gets stuck on the Sony logo
2/ If u have ur original kernel patched with TWRP img inside, directly flash it using flashtool and enter TWRP.
- not 100% sure what to do with this. I don't have the original kernel patched with TWRP img inside. Is this something you have?
Click to expand...
Click to collapse
Try this: Install Androplus kernel and Twrp Recovery which comes with him.
Find flashable prerooted firmware for your model than connect phone to pc to transfer it when you are in Twrp and than wipe cache,dalvik and data and try to flash prerooted zip.
Sent from Xperia Z5
shehabskull said:
Check this :
http://twigstechtips.blogspot.com.eg/2016/04/sony-z5-compact-root-without-losing-ta.html?m=1
At Rooting your Z5 Compact section
Sent from my E6633 using Tapatalk
Click to expand...
Click to collapse
Followed the instructions:
http://twigstechtips.blogspot.com.eg...ng-ta.html?m=1
At Rooting your Z5 Compact section
Still no luck. When the phone turns on, the light goes yellow, I hit:
VOL down - screen goes blank
VOL up - brightness increase of screen then goes off and the light flashes red
Allek84 said:
Try this: Install Androplus kernel and Twrp Recovery which comes with him.
Find flashable prerooted firmware for your model than connect phone to pc to transfer it when you are in Twrp and than wipe cache,dalvik and data and try to flash prerooted zip.
Sent from Xperia Z5
Click to expand...
Click to collapse
Tried this also. kernel and recovery seem to install fine. But when I press VOL up or down, it does not go into twrp.
I managed to get into TWRP using the version from here: http://forum.xda-developers.com/xperia-z5/development/twrp-3-0-2-cm-aosp-roms-t3373008 with AndroPlus kernel. But, cannot access the phones storage through computer. TWRP shows failed to mount /usb-otg (invalid argument).
shehabskull said:
Check this :
http://twigstechtips.blogspot.com.eg/2016/04/sony-z5-compact-root-without-losing-ta.html?m=1
At Rooting your Z5 Compact section
Sent from my E6633 using Tapatalk
Click to expand...
Click to collapse
@shehabskull do you have any other ideas as to what is happening and how to fix? Thanks in advance.
NertySorption said:
@shehabskull do you have any other ideas as to what is happening and how to fix? Thanks in advance.
Click to expand...
Click to collapse
Well really I don't know what's wrong with ur phone... Can u record a video while booting your phone up?
Sent from my E6633 using Tapatalk
shehabskull said:
Well really I don't know what's wrong with ur phone... Can u record a video while booting your phone up?
Sent from my E6633 using Tapatalk
Click to expand...
Click to collapse
Video located here . It keeps doing it over and over. I have never had this happen before and never had an issue which couldn't be resolved with flashing with flashtool.

How can I install a custom rom without a custom recovery? Sony Xperia M

I want to install TWRP really bad but I can't do that without a custom ROM.
And I can't install a custom ROM without a custom recovery!
So please tell me how I can install a custom rom without a custom recovery...
Model: C1905
skeleton2323 said:
I want to install TWRP really bad but I can't do that without a custom ROM.
And I can't install a custom ROM without a custom recovery!
So please tell me how I can install a custom rom without a custom recovery...
Model: C1905
Click to expand...
Click to collapse
You can't install custom ROMs without custom recovery.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
You can't install custom ROMs without custom recovery.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Then why some doof websites claim that I can use fastboot to flash ROMS?
skeleton2323 said:
Then why some doof websites claim that I can use fastboot to flash ROMS?
Click to expand...
Click to collapse
Give me a link to an example
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Give me a link to an example
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
https://clickitornot.com/install-twrp-recovery-root-sony-xperia-m-nicki/
(can't find the 2nd website anymore)
Sent from my Sony Xperia M using Tapatalk
skeleton2323 said:
https://clickitornot.com/install-twrp-recovery-root-sony-xperia-m-nicki/
(can't find the 2nd website anymore)
Sent from my Sony Xperia M using Tapatalk
Click to expand...
Click to collapse
That link doesn't have anything to do with flashing custom ROMs via fastboot.
That link discusses installing TWRP and then using TWRP to install the ROM.
Let me clarify my previous response. Custom ROM .zip files can't be flashed via fastboot but you can the system.img from the ROM zip and then use fastboot to flash the system.img.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
That link doesn't have anything to do with flashing custom ROMs via fastboot.
That link discusses installing TWRP and then using TWRP to install the ROM.
Let me clarify my previous response. Custom ROM .zip files can't be flashed via fastboot but you can the system.img from the ROM zip and then use fastboot to flash the system.img.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Alright, but my main question is how can I install TWRP on a Sony Xperia M C1905? I've searched the guy's post that says that I can't flash it via fastboot or flashtool but I don't get it how will I get TWRP to run using the FOTAkernel method without any pre-installed recovery.
I've not tested it with the official TWRP app yet but I have tried it with rashr with no success.
Oh, and if I use fastboot to flash "system.img" from a ROM, will the device run with the new firmware or do I need to do extra things besides that?
(I have an unlocked bootloader, android version 4.3 and rooted firmware.)
skeleton2323 said:
Alright, but my main question is how can I install TWRP on a Sony Xperia M C1905? I've searched the guy's post that says that I can't flash it via fastboot or flashtool but I don't get it how will I get TWRP to run using the FOTAkernel method without any pre-installed recovery.
I've not tested it with the official TWRP app yet but I have tried it with rashr with no success.
Oh, and if I use fastboot to flash "system.img" from a ROM, will the device run with the new firmware or do I need to do extra things besides that?
(I have an unlocked bootloader, android version 4.3 and rooted firmware.)
Click to expand...
Click to collapse
If the device is already rooted, you should be able to flash a copy of TWRP for your device via the Flashify app.
Things weren't that complicated in the days of 4.3, you shouldn't have any special conditions to worry with.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
If the device is already rooted, you should be able to flash a copy of TWRP for your device via the Flashify app.
Things weren't that complicated in the days of 4.3, you shouldn't have any special conditions to worry with.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
I've tested flashify and when I pressed on flash TWRP, it did nothing.
I tried to select the file manually and it told me that I'm not able to flash recoveries because it could not find the recovery partition.
One more question: that guy said that I'm not able to flash TWRP using the stock ROM.
How is it going to work?
skeleton2323 said:
I've tested flashify and when I pressed on flash TWRP, it did nothing.
I tried to select the file manually and it told me that I'm not able to flash recoveries because it could not find the recovery partition.
One more question: that guy said that I'm not able to flash TWRP using the stock ROM.
How is it going to work?
Click to expand...
Click to collapse
Here is the TWRP page for your device here at XDA. Read the first three posts, it explains things.
https://twrp.me/sony/sonyxperiam.html
Here is the Xperia M page at the official TWRP website.
https://twrp.me/sony/sonyxperiam.html
Sent from my SM-S767VL using Tapatalk
Droidriven said:
Here is the TWRP page for your device here at XDA. Read the first three posts, it explains things.
https://twrp.me/sony/sonyxperiam.html
Here is the Xperia M page at the official TWRP website.
https://twrp.me/sony/sonyxperiam.html
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
I tried doing it within the app but it said that an error occurred.
Is it because I've installed on internal storage?
I've also tried it with rashr and it said that it completed but the phone rebooted back to normal.
Also, should I flash TWRP to the BOOT partition?
EDIT
Thank you for helping me! I flashed TWRP on the boot partition and it worked!
I didn't care about the firmware because I was going to flash a new one anyway.

Categories

Resources