reflashing stock kernel - Sony Xperia X Questions & Answers

Hello I recently updated my Xperia x dual to. 238 after that I flashed custom kernel with root and ta partition fix and flashed twrp now I got notification for a new update I think it's something like. 344 so is there anyway I can flash the stock kernel and recovery back and relock the bootloader and continue updating my phone to the latest update? I know I will lose all the data after relocking my phone but I just want to update it without flashing the firmware from the beginning anyhelp will be much appreciated

AmjathAryan said:
Hello I recently updated my Xperia x dual to. 238 after that I flashed custom kernel with root and ta partition fix and flashed twrp now I got notification for a new update I think it's something like. 344 so is there anyway I can flash the stock kernel and recovery back and relock the bootloader and continue updating my phone to the latest update? I know I will lose all the data after relocking my phone but I just want to update it without flashing the firmware from the beginning anyhelp will be much appreciated
Click to expand...
Click to collapse
Frankly there is no such need because if you relock your bootloader , the next update will void your rooting rights and every-time you will have to unlock anyways ! see this post!
https://forum.xda-developers.com/xperia-xz/how-to/how-to-unlock-bl-kernel-twrp-root-t3541648

Related

[Q] Upgrade to .75/.76 - Future ICS

Hello,
PC Companion says that i have a new update, but i've unlocked and rooted my phone, so when the install should begin, an error pops up saying that i have a modded firmware and i cannot update it.
So, i think the same issue will go on when next week or next year ICS will be released.
The question is: what i have to do to update my XS? I've to flash the ftf loosing the recovery and then reinstall it? Doing that, i will lost all the apps and everything on my phone?
Thank You very much
If you have unlocked bootloader, you cannot update using the official method, but only through flashtool.
If for some reason you want to use the official way, you should relock the bootloader, here is the guide http://forum.xda-developers.com/showthread.php?t=1527159
As far as my knowledge goes: You could backup your apps, lock your bootloader, upgrade to ICS, unlock bootloader, achieve root, restore apps. You'll probably have to wait for root for ICS though, shouldn't take long at all.
Or at least that's how I hope it will work.
So, the faster way is to wait for a custom rom correctly packed to be flashed via recovery
Thank guys

[Xperia P]Flashing a kernel over official ICS

Hello there
Yesterday i did the root trick for 6.1.1.B.1.54 with flashtool, where you downgrade to an earlier kernel (.544) in flashmode, push superSU and then upgrade again to .54.
In the dev forum for the Xperia P i have found the Sliding_XP kernel, which i want to install.
The question is, do I need an unlocked bootloader to do this? Or is it just flashable via flashtool?
Also, it says in the kernel's thread that the package also contains CWM recovery. That removes the fastboot mode, right? (since it is accessible via vol down, same as for fastboot)
Sorry for sounding like an xda-noob (Yeah, i've seen the video and I should hate myself).
Thanks in advance!
It doesn't remove anything.
Volume down is for flashmode btw.
Sent from my Xperia U using xda premium
Oh, sorry. I rechecked and yeah, it is the flash mode. fastboot is volume up.
The question remains: Do i heed an unlocked bootloader to install this?
http://forum.xda-developers.com/showthread.php?t=2002202
As I said, i have the rooted 6.1.1.B.1.54 update, and my bootloader is locked, no other hacks have been done to the phone
youfail144 said:
Oh, sorry. I rechecked and yeah, it is the flash mode. fastboot is volume up.
The question remains: Do i heed an unlocked bootloader to install this?
http://forum.xda-developers.com/showthread.php?t=2002202
As I said, i have the rooted 6.1.1.B.1.54 update, and my bootloader is locked, no other hacks have been done to the phone
Click to expand...
Click to collapse
As per my knowledge you will have to unlock your bootloader to flash kernels.......
@[email protected] said:
As per my knowledge you will have to unlock your bootloader to flash kernels.......
Click to expand...
Click to collapse
I see. I know that OTA updates are no longer available upon unlocking your bootloader, nor some services such as trackid (which doesn't bother me), or Download muic info in the walkman app. Are there any more disadvantages?
Also, when Sony releases the official promised JB update, the only way to update it will be with the ftf file, right?
youfail144 said:
I see. I know that OTA updates are no longer available upon unlocking your bootloader, nor some services such as trackid (which doesn't bother me), or Download muic info in the walkman app. Are there any more disadvantages?
Also, when Sony releases the official promised JB update, the only way to update it will be with the ftf file, right?
Click to expand...
Click to collapse
First of all OTA updates not available and others you know that.....
next is your warranty will be void most probably......
Sony officially said that it wont release JB for SOLA so anyhow you wont require OTA for that......
and i bet you will get JB only through XDA.......
@[email protected] said:
First of all OTA updates not available and others you know that.....
next is your warranty will be void most probably......
Sony officially said that it wont release JB for SOLA so anyhow you wont require OTA for that......
and i bet you will get JB only through XDA.......
Click to expand...
Click to collapse
I don't have a sola, i have a P
Alright, so I have unlocked my bootloader. (Horray.) It did delete everything, but for some reason, SuperSU is still there.I hope that rooting before unlocking the BL did not do anything bad to it.
As a total noob who doesn't want to brick his phone, someone please tell me what exactly i need to do now in order to install the kernel mentioned above
In other words, how exactly do you install kernels? With recovery? I don't have that installed in my phone. Also it says that the kernel comes bundled with CWM. This confuses me.
What mode do I need to select in order to flash it on my Xperia P? Flashmode or Fastboot?
Also, in case anything goes wrong and my phone gets bricked while flashing, is there any chance that the phone might be permanently bricked, as in not revivable via either entering fastboot or flashmode to flash a new official fresh firmware file?
youfail144 said:
I don't have a sola, i have a P
Alright, so I have unlocked my bootloader. (Horray.) It did delete everything, but for some reason, SuperSU is still there.I hope that rooting before unlocking the BL did not do anything bad to it.
As a total noob who doesn't want to brick his phone, someone please tell me what exactly i need to do now in order to install the kernel mentioned above
In other words, how exactly do you install kernels? With recovery? I don't have that installed in my phone. Also it says that the kernel comes bundled with CWM. This confuses me.
What mode do I need to select in order to flash it on my Xperia P? Flashmode or Fastboot?
Also, in case anything goes wrong and my phone gets bricked while flashing, is there any chance that the phone might be permanently bricked, as in not revivable via either entering fastboot or flashmode to flash a new official fresh firmware file?
Click to expand...
Click to collapse
Slowdown dude, your to fast...it depends on the kernel,if its .img just flash it via fastboot if its a .zip file flash it via cwm recovery,i assume you have a non recovery, coz your using a stock kernel, i recommend you to flash sliding xp kernel,it has cwm recovery built in,...happy flashing,
Sent from my LT22i using Tapatalk 2

[Q] How to get Stock Rom back ???

Hey Guys I've bought a HTC one x+ in Germany which I rooted time ago. Now I just want to unroot my device to get the original HTC Sense 5 Android 4.2.2 update. My problem is I dont have a any backups nor find any RUU with the following CID version: 1.17.206.1
My HBOOT Version is 1.35 , I also tried some RUU's which was canceled during the update progress since I did not have the right CID version needed.
However I'm going crazy and loosing my hope, please help me how to install the original HTC Rom.:crying::crying:
Thanks
jackson7000 said:
Hey Guys I've bought a HTC one x+ in Germany which I rooted time ago. Now I just want to unroot my device to get the original HTC Sense 5 Android 4.2.2 update. My problem is I dont have a any backups nor find any RUU with the following CID version: 1.17.206.1
My HBOOT Version is 1.35 , I also tried some RUU's which was canceled during the update progress since I did not have the right CID version needed.
However I'm going crazy and loosing my hope, please help me how to install the original HTC Rom.:crying::crying:
Thanks
Click to expand...
Click to collapse
seems like you have a phone with o2 cid, so your out of luck, there's no ruu that worsk with that version.
but there's a german forum i recently found, where you can find stock backups (including boot.img) and stock recoveries.
http://www.android-hilfe.de/root-cu...04-one-x-plus-ruu-s-fuer-htc-o2-vodafone.html
just put the backup into the right folder on your phone, make sure CWM/TWRP recognizes this backup, then flash stock boot.img in fastboot, restore stock backup in your recovery, flash stock recovery in fastboot and finally relock bootloader.
then your phone should be back to stock software.
thank you so far. another problem is I somewhere I have to delete Superuser and relock my bootloader to flash the stock rom. Thats why I deleted Superuser and locked my bootloader again. My question is now can I still flash to stock rom or do I have unlock bootloader again ?
jackson7000 said:
thank you so far. another problem is I somewhere I have to delete Superuser and relock my bootloader to flash the stock rom. Thats why I deleted Superuser and locked my bootloader again. My question is now can I still flash to stock rom or do I have unlock bootloader again ?
Click to expand...
Click to collapse
you probably need to unlock your phone again.
as soon as you restored the stock backup, everything you had on your phone except internal storage will be replaced by stock software, all settings will be reset, all userdata will be wiped!!!
so better backup/copy everything you need to your computer before you restore that backup.

[Q] [SOLVED] Bootloader Unlock needs Root and Root needs Bootloader Unlock

Hello dear XDA Community,
- Xperia Z Ultra
- 4.4.2
- 14.3.A.0.681
- C6833
I have a big problem with understanding all of this tutorials. I read everything about rooting and unlocking the Bootloader.
I understood that I need to backup my TA Partition for Unlocking my Bootloader so I can continue to use Sony technology.
Requirements ? Root. Okay that was my first problem. So i looked up how to root my phone and what do i need ? A phone with a unlocked bootloader. great! Sure you can say "look at this topic and carefully read" but I really did that and I am really helpless. Thanks for any help!
What did I read ?
- http://forum.xda-developers.com/showthread.php?t=2292598&nocache=1 (requires root)
- http://forum.xda-developers.com/showthread.php?t=2569904 (requires unlocked bootloader)
- watched severel youtube videos and encountered the same problem
Greets
tr0teK
When your bootloader is unlocked, you can never use X-Reality and any other item which requires the DRM in the Trim Area partition,
Restoring the TA partition without relocking the bootloader will not result in the return of X-Reality and such even if you are using a Sony ROM. This situation appears to have changed since the release of 4.4.
Backing up the TA partition is only good for relocking the bootloader on a Stock ROM (any custom AOSP, CM, AOSPA etc will fail to boot on a locked bootloader), for personal choice or returning the phone under warranty.
You can unlock the bootloader when not rooted, in fact you don't do it with the phone running normally anyway so root or not rooted, it does not matter in that sense.
You don't need to unlock the bootloader to root, if you are willing to re-set up your phone again. What you need to do is downgrade to 4.2, which is rootable, root, install recovery and flash the 681 pre-rooted zip, and use flashtool to flash the associated ftf file to get rooted on 681.
Follow the instructions in Lord Manhattan's thread that you linked to,in order to downgrade and install a recovery, then visit the following link to get the zip & ftf to re-up to 4.4 (681). You most likely will lose cellular connectivity whilst you are downgraded (there is a way around this, but as you are only going down to 4.2 to get a recovery, maintaining your IMEI for that short period of time is just a waste of effort), but it will return when you are back on 681 (4.4).
http://forum.xda-developers.com/showthread.php?t=2687848
- Downgrade to 532
- Root it using Bin4ry's tool
- Backup the TA partition
- Unlock bootloader
- Either update to 681 again and take it from there or flash a kernel with recovery/TWRP and flash a pre-rooted 681. It's easy to root 681, so whatever floats your boat.
Don't mean to hijack this topic but I don't want to open another thread,
if I back up the TA partition, unlock bootloader, root the phone, then relock bootloader, then restore TA partition to bring back the xreality,
I am not going to install custom recovery and Roms.
Thanks for the Informations. I will give it a try the next days and report you if it worked.
coolmingli said:
Don't mean to hijack this topic but I don't want to open another thread,
if I back up the TA partition, unlock bootloader, root the phone, then relock bootloader, then restore TA partition to bring back the xreality,
I am not going to install custom recovery and Roms.
Click to expand...
Click to collapse
Technically it'll work, but i have never done it before. Everything should go smoothly until you're going to re-lock the bootloader. You can't re-lock it on a custom kernel, and you'll be on a custom kernel once you flash Jackie's kernel with recovery, so you'll have to flash a complete stock kernel, then restore the TA partition with the TA Backup Tool, which will also automatically re-lock the bootloader. You should in theory end up with a complete stock ROM with root. That's on paper.
Worst case scenario? If you re-lock the bootloader while you're on a custom kernel, it'll explode it won't power on at all, and all you'll get is a blinking red LED and death. To fix this, just unlock the bootloader in Flashtool again and you're back to start again. It's not dangerous, but it's nerve wrecking to see it there, just blinking without any sign of life. I almost crapped my pants the first time i experienced it, and had no clue what was happening or what to do.
LordManhattan said:
Technically it'll work, but i have never done it before. Everything should go smoothly until you're going to re-lock the bootloader. You can't re-lock it on a custom kernel, and you'll be on a custom kernel once you flash Jackie's kernel with recovery, so you'll have to flash a complete stock kernel, then restore the TA partition with the TA Backup Tool, which will also automatically re-lock the bootloader. You should in theory end up with a complete stock ROM with root. That's on paper.
Worst case scenario? If you re-lock the bootloader while you're on a custom kernel, it'll explode it won't power on at all, and all you'll get is a blinking red LED and death. To fix this, just unlock the bootloader in Flashtool again and you're back to start again. It's not dangerous, but it's nerve wrecking to see it there, just blinking without any sign of life. I almost crapped my pants the first time i experienced it, and had no clue what was happening or what to do.
Click to expand...
Click to collapse
Thanks for the reply, I think I will ditch rooting from this phone, too much troubles, I don't understand why Sony put the DRM key in a trim partition, perhaps they don't want us to root the phone after all.
I did it guys. It worked!
My steps:
- Downgraded to 4.2.2 with Flashtool (.532)
- Rooted with Bin4ry's tool
- Installed CWM and TWRP Dual Recovery for Xperia Z locked Bootloader by krabappe12548
- Flashed to 4.4.2[rooted] (http://forum.xda-developers.com/showthread.php?t=2687848)
Now I have the newest version with Root Access. Everything works great
Greets
tr0teK
tr0teK said:
I did it guys. It worked!
My steps:
- Downgraded to 4.2.2 with Flashtool (.532)
- Rooted with Bin4ry's tool
- Installed CWM and TWRP Dual Recovery for Xperia Z locked Bootloader by krabappe12548
- Flashed to 4.4.2[rooted] (http://forum.xda-developers.com/showthread.php?t=2687848)
Now I have the newest version with Root Access. Everything works great
Greets
tr0teK
Click to expand...
Click to collapse
is this witout unlock the bootloader?
MjsNL said:
is this witout unlock the bootloader?
Click to expand...
Click to collapse
Yep, that will work well on a locked BL
If you are only downgrading to flash the current rooted firmware, you don't even need to root 532, as [nut]'s dual recovery can be installed by the same method that bin4ry's root is delivered, just install the recovery, flash the zip, flash the ftf and away you go

[Q] Rooting Xperia JB - Will this work?

Hi,
As we all know unless we downgrade and stuff, or install custom recoveries (which require some hackeries) we can't root the latest firmware.
I came across this method: http://whiteboard.ping.se/Android/Rooting
It uses the original boot.img and edits it then using fastboot it flashes it with the su binaries and security turned off.
Would this work on our Xperia?
Thanks
Probably, but you'd need to unlock your bootloader...
That kind of defeats the purpose. I'm trying to not do that
I want to be able to install OTA updates and support.
You can alway relock back once rooted. By that, you can OTA update safely and keep rooting
Sent from my little big badass boy!
worf_1977 said:
You can alway relock back once rooted. By that, you can OTA update safely and keep rooting
Sent from my little big badass boy!
Click to expand...
Click to collapse
Ok so if I follow that guide to get root, unlock bootloader, flash the new boot, and relock bootloader, I will be able to install OTA?
Won't that brick my device since I have a modified boot.img?
In order to relock the bootloader you must firdt change back to a stock kernel, otherwise you will brick the phone, wich luckily is recoverable...
Even if yo relock on custom kernel, you will also can enter in fastboot mode to flash stock one
Sent from my little big badass boy!

Categories

Resources