Flashing kernel only wipe out data? [LOCKED BOOTLOADER] - Xperia Z1 Q&A, Help & Troubleshooting

Recently updated to .157
Can't get it rooted by the towelroot exploit
Some said flashing kernel only .108 then root then flash back to .157 works
but can it wipe out data?

Arctoze said:
Recently updated to .157
Can't get it rooted by the towelroot exploit
Some said flashing kernel only .108 then root then flash back to .157 works
but can it wipe out data?
Click to expand...
Click to collapse
its right you have to flash ONLY .108 kernel then root, and then flash ONLY the .157 kernel (not the whole ftf) if you do it on this way you wont loose your data.
With flashtool you can flash the kernel out of the ftf: just uncheck all 3 wipe boxes and exlude (check all boxes except kernel) kernel

Related

CWM recovery with stock kernel? - Help

Hi,
I unlocked the bootloader, flashed CWM into it. I backed up everything through CWM recovery.
However somehow the stock rom/kernel/etc don't work with this set-up. I just have "free xperia" logo until the universe will implode.
Therefore I installed cyanogenmod and it works. But I don't have the Xperia pkgs and since I own a lot of stuff from sony..those apps are usefull.
Question 1: Can I use CWM recovery with the stock sony rom?
Question 2: I just downloaded the ftf (700MB file), how can I restore everything? If I fastboot everything inside the package will it also correct the boot problem?
Question 3: Can I install sony pkgs as a 3rd party zip like google-apps?
Thanks for the help!!
Yes, you can use stock kernel with recovery.
But, since you are unlocked, you can install DoomKernel, its based on stock , it has a recovery and root included, and it is compatible with stock roms. Install it via fastboot, then you can flash a stock ftf excluding the kernel so you don't lose custom kernel.
DrKrFfXx said:
Yes, you can use stock kernel with recovery.
Click to expand...
Click to collapse
You mean in CWM menus? and install the .ftf?
forevertheuni said:
You mean in CWM menus? and install the .ftf?
Click to expand...
Click to collapse
CWM can't flash ftf, for that you need Flashtool.
CWM can only flash flasheable zips.
If you want to keep stock rom with a working cwm recovery you have choice using advanced stock kernel or doomkernel both have a recovery working normally. If you don't want to overclock/underclock and tweak stuff choose advanced it is the stock kernel with a recovery with nothing more.
Flash ftf and then fastboot the kernel you choose, or vice versa fastboot and then flash ftf and exclude kernel in flashtool.
edit : read this http://forum.xda-developers.com/showthread.php?t=2153167

[Q] my device show black screen only after install IHacker 6.2 rom

I have xperia z1 c6902 with orignial firmware 14.4.A.0.157
after installing the IHacker v6.2 on my device following these instruction
http://forum.xda-developers.com/showthread.php?t=2716182
Install Oficial FTF for Firmware 14.1.G.1.534.
Root Your Phone Using VRoot or KingoApp Root or Whatever You Like.
Backup TA Partition.
Copy the ROM to External SDCard.
Flash the Latest [NUT]'s XZ1Dual Recovery for Xperia Z1 via PC.
Reboot into Recovery (If you already have a working Recovery, Skip the above steps).
Make Sure to do a Wipe Data/Factory Reset before Installing the ROM.
Start the Installation. (Install Zip >> Choose Zip for External SDCard).
Switch Off Your Phone (Do Not Reboot). Select No to Disable Flash Recovery Confirmation.
Skip to the Last Step if you are already on Firmware - 14.4.A.0.133/108.
Install Kernel.ftf for C6903 (.133) or Kernel.ftf for C6902 (.108) with Flashtool to get compatible Kernel and Baseband.
Reboot and Enjoy.
Click to expand...
Click to collapse
after install zip , the device only show black screen lighted , and give a sound when touch the screen
Sounds like the wrong kernel. I have flashed the kernel from the firmware.ftf
i have flashed .108.ftf kernel
Flash stock rom with. 157 then flash the rom...iHackers 6.2 is based om. 157 firmware...also dont forget to select stock firmware in aroma installer...

How to Update from KK (Rooted) to LP (Keep Root)??

Hello fellow friends
I am actually running 4.4.4 KK Rooted, with DRM Keys, Locked BootLoader and etc, just like this step-by-step guides you, i did follow all the steps.
I been using it for a few months and now, i feel like updating to the Lollipop. What EXACTLY do i have to do? ( I was thinking about, FLASHING a pre-rooted LP rom via recovery, then, after that, turn off the phone and THEN flash a FULL NON-PRE ROOTED rom via Flash Tools and exclude "SYSTEM" while flashing it.)
Am i thinking the correct? IF no, what should i do to keep my device rooted and update it from KK to LP?
THANK YOU SO MUCH!
taciogw said:
What EXACTLY do i have to do? ( I was thinking about, FLASHING a pre-rooted LP rom via recovery, then, after that, turn off the phone and THEN flash a FULL NON-PRE ROOTED rom via Flash Tools and exclude "SYSTEM" while flashing it.)
Am i thinking the correct? IF no, what should i do to keep my device rooted and update it from KK to LP?
THANK YOU SO MUCH!
Click to expand...
Click to collapse
This is actually not needed
Do Steps 27-32 - And select all four checkboxed listed at "Include" in PRFC tool.
With this you have a FULL FW, rooted and DualRec. - Custom Rec. flashable - No need to flash non rooted stuff afterwards...
Alright, thanks mate, i will give it a try!
fluffi444 said:
This is actually not needed
Do Steps 27-32 - And select all four checkboxed listed at "Include" in PRFC tool.
With this you have a FULL FW, rooted and DualRec. - Custom Rec. flashable - No need to flash non rooted stuff afterwards...
Click to expand...
Click to collapse
You mean, all i gotta do then, after creating the pre-rooted full fw, i just gotta flash it via recovery, and Wipe Factory Defaults? Or just dalvik and cache will do? PS I dont mind if i lose data, got all backed up on PC.
taciogw said:
You mean, all i gotta do then, after creating the pre-rooted full fw, i just gotta flash it via recovery, and Wipe Factory Defaults? Or just dalvik and cache will do? PS I dont mind if i lose data, got all backed up on PC.
Click to expand...
Click to collapse
Exactly - But Full Wipe needed because KK to LP change...
First time I rooted (only some days ago - new Z3C ) I did al the steps - But I'm learning and reading fast
If you include Kernel, Fota, Modem, LTA you have a Full FW. Flashable directly over KK...
This is what I did the second time I rooted... (Because of my own dumpness I lost root and had to do rooting again)
In the known HowTo rooting thread several users reported this also. Just read there last few pages...
Your question was asked maaany times there
Note: There is a new Version of PRFCreator available -> V1.0
http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
I have rooted 23.1.A.1.28, and want to update to the latest firmware without losing my home screens icon arrangement, how may I achieve that? I am hesitant to update because I may lose user data and the home screen arrangements.
Thanks!
Sent from my D5803 using Tapatalk
fluffi444 said:
Exactly - But Full Wipe needed because KK to LP change...
First time I rooted (only some days ago - new Z3C ) I did al the steps - But I'm learning and reading fast
If you include Kernel, Fota, Modem, LTA you have a Full FW. Flashable directly over KK...
This is what I did the second time I rooted... (Because of my own dumpness I lost root and had to do rooting again)
In the known HowTo rooting thread several users reported this also. Just read there last few pages...
Your question was asked maaany times there
Note: There is a new Version of PRFCreator available -> V1.0
http://forum.xda-developers.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
Click to expand...
Click to collapse
Thanks for your answer, but what do you mean "full wipe" ? If i do factory defaults i will lose root access i think, heard that after flashing the pre-rooted fw.zip via recovery, all i gotta wipe is dalvik, cache and maybe data!
taciogw said:
Thanks for your answer, but what do you mean "full wipe" ? If i do factory defaults i will lose root access i think, heard that after flashing the pre-rooted fw.zip via recovery, all i gotta wipe is dalvik, cache and maybe data!
Click to expand...
Click to collapse
Yes - you will loose it but only if you reboot after wipe. Full wipe is system/data/cache/dalvik, - Factory reset is Data/cache/dalvik,
If you stay in TWRP you are save. Actually wiping system is not needed... Those pre-rooted zips (as well as most stock bases custom ROMs available here on XDA (SLiM, Moly82's, etc) with superSU and DualRec (and I think you wanna use one of those) including an complete system.ext4 img which overwites sytem partition anyway....
And yes - after flashing via zip cache/dalvik wiping is OK... Data not needed...
And Data is almost empty anyway after full wipe/factoy reset from the beginning...
Don think to much. Make an TWRP Backup of SYSTEM, DATA, TA, KERNEL and go ahead. Things are easier than they look like....

How To Flash Tangerine Kernel Or DooMLoRD Kernal Without Phone Data Losing ??

I need to flash Tangerine Kernel Or DooMLoRD Kernal.. one time i test. but my all data erased. i want flash one of kernal without data losing.. Please Can you Help Me ?
Stock 12.1.A.1.205
JellyBean 4.3
C5303
KoRTaN said:
I need to flash Tangerine Kernel Or DooMLoRD Kernal.. one time i test. but my all data erased. i want flash one of kernal without data losing.. Please Can you Help Me ?
Stock 12.1.A.1.205
JellyBean 4.3
C5303
Click to expand...
Click to collapse
Tangerine only works for Lollipop roms so don't even try it or you be stuck in a bootloop, Doom kernel I think it's too old, try Williams Kernel 9.1, best one for 4.3 roms. Did you unlock your bootloader?
HUEguy said:
Tangerine only works for Lollipop roms so don't even try it or you be stuck in a bootloop, Doom kernel I think it's too old, try Williams Kernel 9.1, best one for 4.3 roms. Did you unlock your bootloader?
Click to expand...
Click to collapse
Stock 12.1.A.1.205 / C5303 / JellyBean 4.3 / Bootloader Unlocked / Rooted
Can I Flash Williams Kernel 9.1 Without Any data losing (auto wipe data\chache) or bootloop error ??
KoRTaN said:
Stock 12.1.A.1.205 / C5303 / JellyBean 4.3 / Bootloader Unlocked / Rooted
Can I Flash Williams Kernel 9.1 Without Any data losing (auto wipe data\chache) or bootloop error ??
Click to expand...
Click to collapse
Flashing a kernel doesn't auto wipe data. Since you're completely stock right now, I am guessing you'll be flashing the kernel via fastboot so you should be fine. As for boot loop errors, the kernel's meant for stock based roms so it shouldn't be a problem. I remember using it with Existenz. Worse case scenario, you'll have to reflash the kernel part from the stock firmware with Flashtool if things go wrong. Alternatively you could take a backup of your kernel via Rashr since you're already rooted.
Speaking of Rashr, you could use it to flash a recovery in your Fota partition which doesn't go away unless and until you remove it using stock firmware. This means that no matter which kernel or rom you flash, you'll always have a working recovery to get yourself out of trouble. You can take a complete nandroid backup of your system before even trying Williams kernel and in the off chance your phone is stuck in a bootloop, you can just restore your nandroid backup and you'll be back to stock.
If you're still worried about your data, just get Titanium backup and make a backup before you proceed. I have switched over a dozen roms in the past few months only because of it. Imagine setting up 30-40 apps every time you migrate to a different rom
XenolithicYardZone said:
Flashing a kernel doesn't auto wipe data. Since you're completely stock right now, I am guessing you'll be flashing the kernel via fastboot so you should be fine. As for boot loop errors, the kernel's meant for stock based roms so it shouldn't be a problem. I remember using it with Existenz. Worse case scenario, you'll have to reflash the kernel part from the stock firmware with Flashtool if things go wrong. Alternatively you could take a backup of your kernel via Rashr since you're already rooted.
Speaking of Rashr, you could use it to flash a recovery in your Fota partition which doesn't go away unless and until you remove it using stock firmware. This means that no matter which kernel or rom you flash, you'll always have a working recovery to get yourself out of trouble. You can take a complete nandroid backup of your system before even trying Williams kernel and in the off chance your phone is stuck in a bootloop, you can just restore your nandroid backup and you'll be back to stock.
If you're still worried about your data, just get Titanium backup and make a backup before you proceed. I have switched over a dozen roms in the past few months only because of it. Imagine setting up 30-40 apps every time you migrate to a different rom
Click to expand...
Click to collapse
Thanks For Details And i need to know, How to flash recovery & kernal ?
Kernal Can speedup my XSP ?
KoRTaN said:
Thanks For Details And i need to know, How to flash recovery & kernal ?
Kernal Can speedup my XSP ?
Click to expand...
Click to collapse
If I am not mistaken, SP like most older Xperia phones (not sure about the new ones) does not have a stock recovery nor does it have a recovery partition. The recovery is part of the kernel (the boot.img file or the .elf file). So when you flash a kernel, you are flashing the recovery along with it. This is why people flash a recovery in the Fota kernel partition since its a separate partition and is not overwritten while flashing other roms or kernels. A recovery flashed in the fota partition becomes your primary and only visible recovery irrespective of how many recoveries came bundled with the kernel you flashed. The only way to remove it is by flashing stock firmware or to be more specific, the fota kernel from the stock firmware. If you need it, you can find it here :
http://forum.xda-developers.com/showpost.php?p=59908442
Now since your phone's already unlocked and rooted, go grab Rashr from the playstore and use it to flash the latest Twrp from here :
http://forum.xda-developers.com/showpost.php?p=61698751
This way you will have a permanent recovery which you can use to take a nandroid backup before you try new roms or kernels and restore it if things go wrong.
Your other option is to flash the kernel via fastboot but remember if you flash another rom, the existing kernel will be overwritten by the kernel that came with the rom. It becomes really cumbersome when you are trying different roms. Another reason to flash a recovery in the Fota partition.
As for a new kernel speeding things up, yeah it helps. The first link is also the main thread for Tangerine kernel which has CPU overclocking and governor options and a bunch of other tweaks to improve performance but its only for LP roms. If you wanna stay stock, you can try the Williams kernel. Doesn't have as many features as the Tangerine kernel but more than the stock kernel. If you know which tweaks to make, I am sure you can gain a performance boost from either.

Stock ROM for Pre-root and installing Mx ROM V8.0.0

Hi everyone,
I'm interested on installing the ROM developed by MXNICE :
http://forum.xda-developers.com/xperia-z1/development/rom-z5mx-rom7-5-0extended-battery-t3224245
What I understand is that I'm gonna need a pre-rooted LP version of android, and I have lots of doubts....!
I have been working on rooting and doing some mods on my xperia z1 but only on KK...so I'm not experienced on LP
What I did in KK is: install version .108 with flashtool, rooted, installed CWM recovery, DEODEXed, Camera Mod, and other minor mods... and that is is what I'm using right now. I did not touch the bootloader so I understand I have locked bootloader.
Now, this custom ROM looks awesome but installation procedure is not clear for me. I have read all the entire thread (64 pages!), and I understand that I have to install this ROM through the recovery and doing a "clean Install"
Post #341 (by arvinaquio) on that thread is:
By the way, I did a very clean installation of this ROM by reinstalling .108. Rooted it and installed Dual Recoveries. Then created a pre-rooted .368 fw through PRFCreator then full wiped and cleared cache before installing the latest fw then power off, turned on the device manually then reconfigured(Unknown Sources, USB debugging) then rebooted to Recovery then full wiped and cleared cache and installed the ROM. Rebooted it and it turned on smoothly without experiencing any error reported recently from other pages. Always do a clean installation to avoid encountering error. Good luck guys and happy modding to all of us!
Click to expand...
Click to collapse
So now, I have to create a pre rooted LP stock ROM, I found the tutorial on the internet on how to do it, but...
1) My xperia z1 model is C6943, I understand it is compatible with C6903 (i lose TV function, which I don't care)... how can I be sure I won't have a problem if I put: KK .108 stock Custom AR for C6943, pre-rooted LP.216 Custom BR (.236 not available for C6943), and then flash MxROM which is Chinese C6903 ? (Edit: is Chinese C6903 version .236)
2.a) When creating the pre rooted LP .216 should I choose the same recovery (CWM) or can I use another (I want to change to dual or TWRP)??
2.b) And also I want to change from "superuser" to "SuperSU".? Can I make those change or should I stick to CWM and superuser?
2.c) If I can't, means I should start again from KK and root installing dual recovery and superSU?
3) Once I get the pre rooted firmware, should I install it over KK firmware using recovery or using flashtool? should I wipe data, cache, and dalvik ?
Of course I already did a backup of my actual system with CWM. I just want to be sure of what I'm going to do next and avoid bootlooping or bricking my phone.
thank you all !
fedessgl said:
Hi everyone,
I'm interested on installing the ROM developed by MXNICE :
http://forum.xda-developers.com/xperia-z1/development/rom-z5mx-rom7-5-0extended-battery-t3224245
What I understand is that I'm gonna need a pre-rooted LP version of android, and I have lots of doubts....!
I have been working on rooting and doing some mods on my xperia z1 but only on KK...so I'm not experienced on LP
What I did in KK is: install version .108 with flashtool, rooted, installed CWM recovery, DEODEXed, Camera Mod, and other minor mods... and that is is what I'm using right now. I did not touch the bootloader so I understand I have locked bootloader.
Now, this custom ROM looks awesome but installation procedure is not clear for me. I have read all the entire thread (64 pages!), and I understand that I have to install this ROM through the recovery and doing a "clean Install"
Post #341 (by arvinaquio) on that thread is:
So now, I have to create a pre rooted LP stock ROM, I found the tutorial on the internet on how to do it, but...
1) My xperia z1 model is C6943, I understand it is compatible with C6903 (i lose TV function, which I don't care)... how can I be sure I won't have a problem if I put: KK .108 stock Custom AR for C6943, pre-rooted LP.216 Custom BR (.236 not available for C6943), and then flash MxROM which is Chinese C6903 ? (Edit: is Chinese C6903 version .236)
2.a) When creating the pre rooted LP .216 should I choose the same recovery (CWM) or can I use another (I want to change to dual or TWRP)??
2.b) And also I want to change from "superuser" to "SuperSU".? Can I make those change or should I stick to CWM and superuser?
2.c) If I can't, means I should start again from KK and root installing dual recovery and superSU?
3) Once I get the pre rooted firmware, should I install it over KK firmware using recovery or using flashtool? should I wipe data, cache, and dalvik ?
Of course I already did a backup of my actual system with CWM. I just want to be sure of what I'm going to do next and avoid bootlooping or bricking my phone.
thank you all !
Click to expand...
Click to collapse
3) the pre rooted firmware you get from prf creator is a zip file. This file is only flashable with the help of a custom recovery.
Don't mix up ftf files and zip files. Ftf => flashtool to get it on phone, zip => custom recovery to get it on phone.
So what I did Was: flash to stock Sony v. 108 firmware for C6943, rooted with easy root tools, download superSU from playstore and installed the dual recovery using install.bat file.
Then rebooted to recovery and made a backup.
When I flashed to lollipop using the pre rooted file I made, the phone went into bootloop. So I restored the backup and installed a pre rooted version that I downloaded from this forum, it was Central Europe for C6903. (in both cases I previously wiped data and cache).
Once I got lollipop working, checked it was rooted and with the dual recovery installed, I enabled USB debuggibg and allow install from external sources. Then entered recovery and made again a backup.
I previously checked that superSU and dual recovery included in the flasheable lollipop zip were the same version I used when I installed them on the stock kitkat rom, dont know if that was necessary, but just in case.
After that I entered recovery again, wiped data and cache and installed the custom rom.
It worked like a charm, and runs very smooth
Enviado desde mi C6903 mediante Tapatalk

Categories

Resources