Like the title says, I want to flash a kernel (boot.img) on the device using a terminal. I know it's possible, but I can't find the guide for it anymore.
Hmm,
I have done it via flashtool and recovery but never heard of it being done via terminal on any xperia phone.
If you have unlocked the bootloader and have recovery installed then a lot of boot.img come with a recovery .zip that can be flashed in recovery. Can you let me know which boot.img you want to flash and if your bootloader is unlocked.
gregbradley said:
Hmm,
I have done it via flashtool and recovery but never heard of it being done via terminal on any xperia phone.
If you have unlocked the bootloader and have recovery installed then a lot of boot.img come with a recovery .zip that can be flashed in recovery. Can you let me know which boot.img you want to flash and if your bootloader is unlocked.
Click to expand...
Click to collapse
I want to flash the kernel for CM10.2 builds. Yes I have unlocked my bootloader (I couldn't live with a locked one )
paxy97 said:
I want to flash the kernel for CM10.2 builds. Yes I have unlocked my bootloader (I couldn't live with a locked one )
Click to expand...
Click to collapse
Ok then, just flash the .zip for those roms in recovery
It will install the kernel automatically
gregbradley said:
Ok then, just flash the .zip for those roms in recovery
It will install the kernel automatically
Click to expand...
Click to collapse
Oh I didn't know that. I remember on my old Xperia Mini that this wasn't possible. Thanks dude
gregbradley said:
Ok then, just flash the .zip for those roms in recovery
It will install the kernel automatically
Click to expand...
Click to collapse
I got installed a custom Kernel, device rooted, bootloader unlocked and CWM installed.
If I try to install the Kernel "boot.img" from Flashtool or CMD, he said: "Sending 'boot.img (9,7MB)'..." and it remains blocked there, if I flash directly the ROM from CWM it says: "Installation aborted (Status 7)". Anyone can help me, please?
Which kernel are you using now?
Which exact kernel are you trying to flash now? (please provide the download link or link to the page where it is)
Why are you trying to install the kernel separately, just flash the Cm10.2 .zip in recovery and it will install the kernel in the flashing process.
Related
i have lt30p with .223 firmware and i need to root mu device
i unlocked my bootloader then flash recovery but after flash recovery my xperia dont boot to system only reboot to recovery ... and when flash stock kernel, lose my recovery
how can i root my stock .223 with unlock bootloader?!!!
thanks a lot and sorry for my bad english
Reza WM said:
i have lt30p with .223 firmware and i need to root mu device
i unlocked my bootloader then flash recovery but after flash recovery my xperia dont boot to system only reboot to recovery ... and when flash stock kernel, lose my recovery
how can i root my stock .223 with unlock bootloader?!!!
thanks a lot and sorry for my bad english
Click to expand...
Click to collapse
1.) if you flash recovery in fastbot you no longer have a rom installed.
2) No need to root if youhave unlocked bootloader, just flash an unsecure kernel.
To fix this, flash my kernel (Follow the link in my signature) then flash the rom of your choice in recovery
EDIT
Please search before posting and please post in the correct section
Hey everyone
I've recently solved my OTA problem (seen here) but I soon discovered yet another problem.
When I tried to enter SuperSU, I received the following error shown below.
As mentioned before, I'm on 4.4.2 and I have NO desire whatsoever to unlock my bootloader all over again. Is there anyway to re-root my phone without unlocking my bootloader or will I need to do just that in order to re-root?
Thanks in advance
Anyone?
Please help :crying:
ArmyMan007 said:
Please help :crying:
Click to expand...
Click to collapse
From what I know, and by the error displayed on the attached screenshot, you need to do the whole rutine all over again. I am pretty sure rooting can not be done if bootloader is locked, which might mean you have a stock recovery image as well - and since that is not keen to be rooted (as far as I know) you need to flash a custom recovery like twrp. I might be wrong in all this, I'm newish to all this.
ArmyMan007 said:
Hey everyone
I've recently solved my OTA problem (seen here) but I soon discovered yet another problem.
When I tried to enter SuperSU, I received the following error shown below.
As mentioned before, I'm on 4.4.2 and I have NO desire whatsoever to unlock my bootloader all over again. Is there anyway to re-root my phone without unlocking my bootloader or will I need to do just that in order to re-root?
Thanks in advance
Click to expand...
Click to collapse
Since you are S-ON you can not flash a custom recovery or root without unlocking your bootloader.
Frogger209 said:
From what I know, and by the error displayed on the attached screenshot, you need to do the whole rutine all over again. I am pretty sure rooting can not be done if bootloader is locked, which might mean you have a stock recovery image as well - and since that is not keen to be rooted (as far as I know) you need to flash a custom recovery like twrp. I might be wrong in all this, I'm newish to all this.
Click to expand...
Click to collapse
Well, for starters, my bootloader is unlocked (as mentioned before), thus we eliminate the bootloader unlocking dilemma. But it still doesn't tell me how can I re-root my device: you want to tell me that I have to do is to flash a custom recovery and install SuperSU again, and my phone will be rooted again?
majmoz said:
Since you are S-ON you can not flash a custom recovery or root without unlocking your bootloader.
Click to expand...
Click to collapse
Like I wrote before: I DO have an unlocked bootloader
ArmyMan007 said:
Well, for starters, my bootloader is unlocked (as mentioned before), thus we eliminate the bootloader unlocking dilemma. But it still doesn't tell me how can I re-root my device: you want to tell me that I have to do is to flash a custom recovery and install SuperSU again, and my phone will be rooted again?
Click to expand...
Click to collapse
flash twrp 2.6.3.3. boot in recovery then exit, twrp will prompt you to root the phone. Then yo ucan flash back the stock recovery for future ota updates.
alray said:
flash twrp 2.6.3.3. boot in recovery then exit, twrp will prompt you to root the phone. Then yo ucan flash back the stock recovery for future ota updates.
Click to expand...
Click to collapse
Why can't I flash twrp 2.7.1.0? and don't I need to install SuperSU via twrp? and what do you mean that twrp will promote me to root the phone? it never did that before..
ArmyMan007 said:
Why can't I flash twrp 2.7.1.0?
Click to expand...
Click to collapse
latest known bug free version of twrp is 2.6.3.3/.4 thats why we always recommend using this version.
and don't I need to install SuperSU via twrp? and what do you mean that twrp will promote me to root the phone? it never did that before..
Click to expand...
Click to collapse
that is for the M8 but same thing apply for the M7:
http://www.youtube.com/watch?v=bKGKlkJRroQ#t=122
or flash the latest su binary from twrp
alray said:
latest known bug free version of twrp is 2.6.3.3/.4 thats why we always recommend using this version.
that is for the M8 but same thing apply for the M7:
http://www.youtube.com/watch?v=bKGKlkJRroQ#t=122
or flash the latest su binary from twrp
Click to expand...
Click to collapse
I used to install the latest binary within twrp and it never asked me to do so. Now I got root access again Can I flash my stock recovery again?
ArmyMan007 said:
I used to install the latest binary within twrp and it never asked me to do so. Now I got root access again Can I flash my stock recovery again?
Click to expand...
Click to collapse
yes you can flash your stock recovery again, might be a good idea to do a nandroid backup of your current config before flashing back the stock recovery.
Code:
fastboot flash recovery name_of_recovery.img
fastboot erase cache
fastboot reboot
alray said:
yes you can flash your stock recovery again, might be a good idea to do a nandroid backup of your current config before flashing back the stock recovery.
Code:
fastboot flash recovery name_of_recovery.img
fastboot erase cache
fastboot reboot
Click to expand...
Click to collapse
Will do! Thanks a bunch!!!
Hello
I have unlocked BL and rooted.
I've been trying to install CM12 on my Xperia V but everytime I'm in recovery and trying to flash CM12 it just aborts in the middle of it, and if i remember it gives an error a long the lines of "device is mint, rom isn't" I tried this rom http://forum.xda-developers.com/xpe.../rom-cyanogenmod-12-neo-s-homebuilds-t2967819
Since that pretty much bricked the phone Im back on stock JB [4.3] and I actually tried it twice, and no luck. Haven't tried any other roms since re-rooting and installing cwm/twrp is such a pain with xperia V and im not interested in anything else other than CM11/12.
I tried search but no luck
So, the question is, whats the most painless way to get CM11/12 on my phone, and what do I have to keep in mind while doing it. I'm very new to the phone and haven't figured out everything that I need to know I suppose.
Heres some "about phone"
Model : LT25i
Android ver: 4.3
Kernel ver: 3.4.0
Build number: 9.2.A.2.5
Either remove the first line in my rom zip/META-INF/com/google/android/updater-script (this will disable device verification, so do so at your own responsibility), then repack the rom zip and flash - or fastboot flash my rom's boot.img before installing the zip itself.
WhiteNeo said:
Either remove the first line in my rom zip/META-INF/com/google/android/updater-script (this will disable device verification, so do so at your own responsibility), then repack the rom zip and flash - or fastboot flash my rom's boot.img before installing the zip itself.
Click to expand...
Click to collapse
Thanks for the fast answer. So I'll just root and install twrp yet again, then flash your boot.img in with flashtool and THEN wipe/factory reset from twrp and install your ROM, right ?
villur700 said:
Thanks for the fast answer. So I'll just root and install twrp yet again, then flash your boot.img in with flashtool and THEN wipe/factory reset from twrp and install your ROM, right ?
Click to expand...
Click to collapse
Actually, no need for root and twrp. Just go ahead, flash the kernel, then reboot to recovery and follow the installation steps in my CM12 thread
Hi, its 11:30 and i give up!
ok i first installed cwm using the kernel, and falshed SuperSU and than wiped data and cache and dalvik and flashed resRemix so i can reboot again and flash cwm, the problem is when i flash reRemix it goes to rom but also replaces the recovery with cyanogenmod one which doens't have any flashh zip and if i re flash the kernel with fastboot it will get stuck in sony logo reboot !
if i install both without booting to rom first it will reboot in middle of setup(first time setup name etc always at activating cellular)
this time i don't know what happened but it also freezed and rebooted on the bare-rom, but it worked before that (i assume i was tired and did something wrong)
what should i do?!
kamranhaghighi said:
Hi, its 11:30 and i give up!
ok i first installed cwm using the kernel, and falshed SuperSU and than wiped data and cache and dalvik and flashed resRemix so i can reboot again and flash cwm, the problem is when i flash reRemix it goes to rom but also replaces the recovery with cyanogenmod one which doens't have any flashh zip and if i re flash the kernel with fastboot it will get stuck in sony logo reboot !
if i install both without booting to rom first it will reboot in middle of setup(first time setup name etc always at activating cellular)
this time i don't know what happened but it also freezed and rebooted on the bare-rom, but it worked before that (i assume i was tired and did something wrong)
what should i do?!
Click to expand...
Click to collapse
Flash other kernel with flashtools, entry in recovery wipe cache davilk cache and data/factory reset, flash the rom with recovery and the boot.img with flashtools.
Sorry for my bad english
I have linux, ia flashtool the only way?
My problem is flashing gapps, if i want to flash it i need cwm and cwm gets replaced when i flash the rom, and xda tutorial for flashing cwm (kernel.elf) makes mt device get stuck in sony logo and bootloop!
Guizão BR said:
Flash other kernel with flashtools, entry in recovery wipe cache davilk cache and data/factory reset, flash the rom with recovery and the boot.img with flashtools.
Sorry for my bad english
Click to expand...
Click to collapse
wait, what do is boot.img?! why do i have to flash it?! i have no idea what it is! this was much easier on my nexus
kamranhaghighi said:
wait, what do is boot.img?! why do i have to flash it?! i have no idea what it is! this was much easier on my nexus
Click to expand...
Click to collapse
Boot.img is the kernel, you have to flashing him because the latest version of this rom is for unlocked bootloader
Guizão BR said:
Boot.img is the kernel, you have to flashing him because the latest version of this rom is for unlocked bootloader
Click to expand...
Click to collapse
where can i get it? and I will get CWM with it? (for flashing gapps)
kamranhaghighi said:
where can i get it? and I will get CWM with it? (for flashing gapps)
Click to expand...
Click to collapse
Is inside the rom file, you have to unpack and flashing after using flashtools, you know how to use flashtools?
Guizão BR said:
Is inside the rom file, you have to unpack and flashing after using flashtools, you know how to use flashtools?
Click to expand...
Click to collapse
Im not sure, i know how to use fastboot btw! (btw i got ubuntu, if its a software or something i need it to have a linux version)
Guizão BR said:
Is inside the rom file, you have to unpack and flashing after using flashtools, you know how to use flashtools?
Click to expand...
Click to collapse
i will just google flash tools and do what you said when i get the chance, will post abck if i get into trouble
kamranhaghighi said:
i will just google flash tools and do what you said when i get the chance, will post abck if i get into trouble
Click to expand...
Click to collapse
You can flash kernel with normal fastboot too of course! if the kernel name and formal will be boot.img just type command in fastboot
fastboot flash boot boot.img
Spasik said:
You can flash kernel with normal fastboot too of course! if the kernel name and formal will be boot.img just type command in fastboot
fastboot flash boot boot.img
Click to expand...
Click to collapse
thanks, but i don't get it, boot.img is the kernel isn't it going to be flashed with the rom?! and how can i flash the GAPPS after rebooting, because it quires me to do it after doing the first boot!
kamranhaghighi said:
thanks, but i don't get it, boot.img is the kernel isn't it going to be flashed with the rom?! and how can i flash the GAPPS after rebooting, because it quires me to do it after doing the first boot!
Click to expand...
Click to collapse
Ok i will try to explain the metod i use
First of all i have functioning phone on any rom
than i flash doomkernel or williams kernel
in these two kernels there are integrated all 3 recoverys cwm twrp philz
i boot the phone to any recovery i like (i preffer cwm)
in recovery i wipe data, cache, system, and internal memory because i have zips on sd card
flash the rom
if in the tutorial of rom is to flash gapps after first boot i just boot the phone to new rom
then i power off the device and flash doomkernel/williamskernel
after that ,i flash from recovery of these kernels the gapps
after flash of gapps is complete i power off the device and flash original kernel from rom i have
viola magic is complete
Spasik said:
Ok i will try to explain the metod i use
First of all i have functioning phone on any rom
than i flash doomkernel or williams kernel
in these two kernels there are integrated all 3 recoverys cwm twrp philz
i boot the phone to any recovery i like (i preffer cwm)
in recovery i wipe data, cache, system, and internal memory because i have zips on sd card
flash the rom
if in the tutorial of rom is to flash gapps after first boot i just boot the phone to new rom
then i power off the device and flash doomkernel/williamskernel
after that ,i flash from recovery of these kernels the gapps
after flash of gapps is complete i power off the device and flash original kernel from rom i have
viola magic is complete
Click to expand...
Click to collapse
thanks will try that when i see him again
I have this ROOTED XSP .205 with LOCKED bootloader and I was trying to install CWM recovery by following a procedure that was only for Locked Bootloader Xperia Sp but I couldn't install it.
First in the cmd it was giving
'can't find specific path'
Then I found out that I needed to extract that zip file to C: that I did and after that im getting,
'You've selected Xperia SP, let's go"
And it is stuck on that, getting nowhere.
Im a newbie so not have much idea if someone can help that'd be a life saviour, please.
Have u tried again after restarting the computer and phone??
I am also trying to do so but stuck on *daemon started successfully*
After that cmd window stuck there. So any one have answer please let me know.
Sent from my C5302 using XDA Free mobile app
Try flashing recovery .img file with Rashr
You can't install CWM Recovery without a CWM Rom , and I think you can't install locked bootloader on unlocked bootloader, I recommend use Flash Tools and Unlock your bootloader. And Flash a Kernel with TWRP Recovery and Wipe and Flash a CWM Rom (huashan ROM for Xperia SP) after it you get CWM Recovery and TWRP Recovery for extra I recommend use Helium Kernel to do it
JhonesMillionBR said:
You can't install CWM Recovery without a CWM Rom , and I think you can't install locked bootloader on unlocked bootloader, I recommend use Flash Tools and Unlock your bootloader. And Flash a Kernel with TWRP Recovery and Wipe and Flash a CWM Rom (huashan ROM for Xperia SP) after it you get CWM Recovery and TWRP Recovery for extra I recommend use Helium Kernel to do it
Click to expand...
Click to collapse
hello can you help me with somehting i am on android 4.3 in xperia sp yesterday i have deleted my prima files by mistake can you upload them for me from your phoone
I found installing XZDualRecovery very easy. You get TWRP, CWM and PhilZ.
-install supersu from play store
-activate usb debug in developer options
-unzip xzdualrecovery file
-run install program from the unzipped folder
-follow steps on the screen, you will have to grant supersu access on your phone at some point.