Where is recovery partition? - Sony Xperia ZL

Where is recovery partition? I had few devices before and there was partition with recovery...

suleymanovemil8 said:
Where is recovery partition? I had few devices before and there was partition with recovery...
Click to expand...
Click to collapse
There is no special partition for recovery. It is integrated into the kernel partition i I remember correctly.
Sony Xperia ZL - 4.2.2 stock - rooted

sturmtruppler said:
There is no special partition for recovery. It is integrated into the kernel partition i I remember correctly.
Sony Xperia ZL - 4.2.2 stock - rooted
Click to expand...
Click to collapse
Ok, thnks) I`ve looked in the cm11 kernel and now i understand)

Related

[Q] Fastboot flash recovery CMW.img file ARC S [SOLVED]

With the ARC S is it possible to flash recovery only?
Some custom kernels are flashing CMW version 6.x.x.x which creates a blob's folder.
I want to be able to down grade CMW to version 5.x.x.x or earlier.
The ARC S isn't supported by CMW
So if it is possible, where can I get the .img file?
gpfnzl said:
With the ARC S is it possible to flash recovery only?
Some custom kernels are flashing CMW version 6.x.x.x which creates a blob's folder.
I want to be able to down grade CMW to version 5.x.x.x or earlier.
The ARC S isn't supported by CMW
So if it is possible, where can I get the .img file?
Click to expand...
Click to collapse
No. It's not possible to flash recovery only as there is no recovery partition.
One way is to modify stock kernel and add it. Than flash that kernel.
Other way is to install x-part app from play. App will install cwm into system. If you are not looking for sd-ext and init.d support this is way to go.
Otherwise there are three stock based 587 kernel available. All working but none of them 100% correct.
Sent from my LT18i using Tapatalk 2
ill give x-part a try
Thanks

kernel developers plz read urgent

Now a few days earlier I had posted an problem that I couldn't flash a custom kernel cause there was 1 bad block in my
boot partition so my boot partition was smaller because of that custom kernels boot up now my idea was
what if we create something, something like a script or a program that would flash the custom kernel without CWM so it would fit in the patition and after that it flashes CWM in to system patition ??? would that not work ?? can a developer look into that plz :fingers-crossed:
btw : I got an xperia arc s with 4.0.4 FW 4.1.B.0.587 rooted and with CWM in system patition
???
Sent from my LT18i using xda app-developers app

[Q] Stuck on sony logo

Hello,
my friend's xperia arc is stuck on sony logo and can't seem to get it to boot to cwm. Can boot it to fastboot mode and the computer regonizes it.
It got stuck like this after I had rooted the phone, installed cwm, and then unlocked the bootloader. After that I booted to cwm, wiped and tried to flash cm9 rom but it failed. Then I just decided to reboot cwm, but now I can't get there anymore. I have full nandroid backup from stock rom.
So is there something I could try here?
Edit:
Okay I got to boot a cwm after I used fastboot to flash LuPuS-ARC-CM9.img http://forum.xda-developers.com/showthread.php?t=1878728
So it seems that the recovery is wrong for the device and that's why it won't flash cm9. It "says": assert failed getprop( ro.product.device )
Now I'm restoring the stock rom back from the nandroid backup.
Try flashing the Kernel which is there in cm9 rom zip...boot to recovery... Then install rom...
Sent from my D5503 using Tapatalk 2
Attitude.SSJ said:
Try flashing the Kernel which is there in cm9 rom zip...boot to recovery... Then install rom...
Sent from my D5503 using Tapatalk 2
Click to expand...
Click to collapse
I think I got a right cwm in and was able to flash cm9 but it got bootloop. So now I just flashed some stock firmware with cwm and restored the backup. Seems fine now, maybe when I have more timm ill get cm rom in it.
Don't wipe /system. Causes error on installing CM and thereby CM is not installed and phone has no OS to boot up.
Also, Xperia Arc phones may require flashing Arc S ICS firmware first to correct the partitions.
Someguyfromhell said:
Don't wipe /system. Causes error on installing CM and thereby CM is not installed and phone has no OS to boot up.
Also, Xperia Arc phones may require flashing Arc S ICS firmware first to correct the partitions.
Click to expand...
Click to collapse
Oh, which arc s ics should I flash then? And after that I just flash cm9, cm-9.1.0-anzu.zip?
leripe said:
Oh, which arc s ics should I flash then? And after that I just flash cm9, cm-9.1.0-anzu.zip?
Click to expand...
Click to collapse
Flash 4.1.B.0.587 FTF.
Then flash CM9 kernel.
After that flash CM9 Anzu.zip
僕のINO2から送られてきた
popthosegaskets said:
Flash 4.1.B.0.587 FTF.
Then flash CM9 kernel.
After that flash CM9 Anzu.zip
僕のINO2から送られてきた
Click to expand...
Click to collapse
Any chance that you could give link to the right kernels? There are so many for this device.
Or are these the right steps that I need to do?
Step-2) Download & Flash Xperia Arc-S 4.0.4_587 ftf pack, just exclude two things
1. simlock.ta
2. Kernel.sin
http://d-h.st/cyw
After flash power up your phone and let it start completely, now copy rom zip into SD card , and Power off your phone
It will give you 440-MB internal memory and 419-MB System Rom memory
If you already have 419-MB System memory then you can skip this step
3) Download and flash Baseband From Post no 2 as per your device
http://www.mediafire.com/?k4oo21646u9i39m
[KERNEL]ARC/S-Advanced stock-4.1.B.0.587-[ROOT+INIT.D+CWM+SD-EXT] FW-4.1.B.0.587
http://forum.xda-developers.com/attachment.php?attachmentid=1266637&d=1345231174
http://forum.xda-developers.com/attachment.php?attachmentid=1273583&d=1345565020
4) Go into recovery and wipe these things
4.1- wipe factory data
4.2- wipe cache partition
4.3- wipe dalvik cache
4.4- Wipe System ( you can find it in mount & storage option in recovery)
5) Now flash The Main rom after flash Tick unknown source
rom: http://download.cyanogenmod.org/get/jenkins/7072/cm-9.1.0-anzu.zip
gapps: http://goo.im/gapps/gapps-ics-20120429-signed.zip
Click to expand...
Click to collapse
leripe said:
Any chance that you could give link to the right kernels? There are so many for this device.
Or are these the right steps that I need to do?
Click to expand...
Click to collapse
The kernel is the boot.img inside the ROM zip.
And yes, those steps are correct.
僕のINO2から送られてきた

[Recovery][FOTA]CWM and TWRP recoveries for custom ROMs

Now we have official TWRP support, so this thread will not be updated anymore. For more info about official TWRP visit this thread.
Tired waiting for someone to repack kernel with your favorite version of recovery? Or tired to run recovery script every time you update your ROM or kernel? Now you don't need any repacked kernels or recovery-scripts. Use your FOTAKernel as recovery partition!
It works on any kernel with extract_elf_ramdisk utility (it's built in mostly all kernels for custom ROMs, but I am not sure) by @Dees_Troy. And don't forget, that you are doing on your own risk, I am not responsible for bricked devices, acid rains or thermonuclear war.
Installation:
Download zip and flash it via your current recovery. If your current recovery is unusable, you can flash it via terminal emulator:
- Extract FOTAKernel.img and place it to the root of your external SD-card
- Type su and grant root access
- Type
Code:
dd if=/ext_card/FOTAKernel.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
- Reboot to recovery to test if it works (if not, try again and check if you are doing it correctly).
Download:
TWRP 2.8.7.0
TWRP 2.8.6.0 (this and next versions are compiled for Xperia M by me)
Older versions and CWM:
TWRP 2.8.5.0 (port from Xperia L)
TWRP 2.8.4.0 (thanks to @Rohan purohit for bringimg it for Xperia L, I just ported and modded it)
TWRP 2.8.0.0/CWM (or scroll down, it's right below this post)
You can restore original FOTAKernel image by following instructions in this post (or just scroll down, it is 3rd post, lol).
Some info:
Sony Xperia devices don't have recovery partition. Instead of this in custom kernels is used recovery-in-boot conception with two-stage boot (ramdisk-recovery is packed inside main ramdisk). And there is partition called FOTAKernel that is used for installing official FOTA (firmware-over-the-air) updates. After unlocking your bootloader this partition becomes redundant, because you cannot use OTA function anymore. So it may be used for storing recovery ramdisk. And this very useful future was implemented by recognized developer @Dees_Troy (lead TWRP developer), he developed utility extract_elf_ramdisk (it is merged to almost all kernels for Sony devices), it extracts recovery ramdisk from FOTA partition instead of using regular one from boot image. So even after updating or changing your kernel or ROM you don't lose your current recovery! Here is some info from Dees_Troy.
Download
TWRP 2.8.6.0>>>
TWRP 2.8.5.0>>>
TWRP 2.8.4.0>>>
Restoring original image
- You can restore original FOTAKernel flashing it via Flashtool by flashing any firmware (just uncheck everything in "wipe" section and uncheck everything in "exclude" section excluding "FOTA" like in attached screenshot).
- Or install attached zip via recovery or flash FOTAKernel.img from archive as it is written in OP.
cucumber09 said:
TWRP version is 2.8.0.0, because I could not boot 2.8.3.0 this way (maybe due to ramdisk size limitations), I'll look for this later and will try to fix it
Click to expand...
Click to collapse
Excuse me sir,
is this recovery work with cm11 which I have now??
Can I flash it now,
so when I decided to flashing cm12 being ready[emoji4]
I hope I explained my idea
kh34d said:
Excuse me sir,
is this recovery work with cm11 which I have now??
Can I flash it now,
so when I decided to flashing cm12 being ready[emoji4]
I hope I explained my idea
Click to expand...
Click to collapse
I don't know for sure. Download both recoveries, try to flash one that differs from yours and reboot recovery. If it changes, that means it works on CM11 kernel. BTW, even if it doesn't work on CM11, it will work when you will flash CM12 kernel. So you can flash it to be prepared.
Some one please uploade original fota kernel, i'm forgot to backup them .. thanks
itsnie said:
Some one please uploade original fota kernel, i'm forgot to backup them .. thanks
Click to expand...
Click to collapse
Okay, I will upload original FOTAKernel.
itsnie said:
Some one please uploade original fota kernel, i'm forgot to backup them .. thanks
Click to expand...
Click to collapse
Everything about restoring is in 3rd post.
cucumber09 said:
Everything about restoring is in 3rd post.
Click to expand...
Click to collapse
Thangs, now all problem will be fixed ..
@cucumber09 Will it work for stock 4.3, i know you mentioned for custom rom but just curious about it, what do u think?
KHM90 said:
@cucumber09 Will it work for stock 4.3, i know you mentioned for custom rom but just curious about it, what do u think?
Click to expand...
Click to collapse
No, it needs custom kernel, that includes extract_elf_ramdisk, stock kernel doesn't. BTW, there are CWM-included kernels for all stock ROMs. And TWRP is not available for stock. I can try repacking stock kernel with TWRP, but I doubt it will work.
cucumber09 said:
No, it needs custom kernel, that includes extract_elf_ramdisk, stock kernel doesn't. BTW, there are CWM-included kernels for all stock ROMs. And TWRP is not available for stock. I can try repacking stock kernel with TWRP, but I doubt it will work.
Click to expand...
Click to collapse
Ok thx, Not needed just wanna know whether it will work or not
btw, FOTA kernel awesome idea:good:
I try to repack my custom kernel with justarchi twrp version. I can Confirm it doesn't boot to fota recovery. Main boot.img is cm12 first nightly. It always boot to CyanogenMod recovery. Still search for solution...
ndrancs said:
I try to repack my custom kernel with justarchi twrp version. I can Confirm it doesn't boot to fota recovery. Main boot.img is cm12 first nightly. It always boot to CyanogenMod recovery. Still search for solution...
Click to expand...
Click to collapse
I read sources of extract_elf_ramdisk utility. And found there something about uncompressed ramdisk size, there is limitation to 8 Mb by default. So, I think, we should reduce ramdisk size by removing unnecessary or redundant files and binaries (must be done very carefully) or to commit change in our kernel.
I'm confused, does it work for locked bootloader?
pincheraro said:
I'm confused, does it work for locked bootloader?
Click to expand...
Click to collapse
No way. It even won't work on stock kernel with unlocked BL.
@cucumber09 Which build is the attached FOTA restore zip from? .9?
elmkzgirxp said:
@cucumber09 Which build is the attached FOTA restore zip from? .9?
Click to expand...
Click to collapse
No, it is from earlier build, but also from 4.3. From first 4.3 build, as I remember.
cucumber09 said:
I read sources of extract_elf_ramdisk utility. And found there something about uncompressed ramdisk size, there is limitation to 8 Mb by default. So, I think, we should reduce ramdisk size by removing unnecessary or redundant files and binaries (must be done very carefully) or to commit change in our kernel.
Click to expand...
Click to collapse
You mean this source code: Dees-Troy
I inspect the twrp, but no found the file that save to be removed. Btw, what commit needed to apply to kernel?
ndrancs said:
You mean this source code: Dees-Troy
I inspect the twrp, but no found the file that save to be removed. Btw, what commit needed to apply to kernel?
Click to expand...
Click to collapse
I read these sources. And 49th line defines size of uncompressed ramdisk. But now I am not sure, which one is used in our kernel. I suppose, that newer one.

TWRP RECOVERY in to FOTA PARTITION GUIDE (XPERIA S)

Flash TWRP to FOTA Partition(SONY XPERIA S).(Terminal Command Method)I will not responsible if you do something wrong to yor device
You can flash TWRP into fota partition if your kernel supports to flash it.(Ask the developer if support is available or not,To know more about Fota Partition Read here.).if yes then follow procedure.
1. You must have to root your ROM first.
2. Download TWRP.img (is the recovery file) from TWRP website.Place the downloaded twrp.img in sdcard. (Don’t place it under any folder.just copy to sdcard.if the downloaded file name is something else then rename it to twrp.img).
3. Now goto playstore and install terminal emulator app to your phone.
4. Now open terminal emulator app and type
su (and press enter key.it will ask for root permission.GRANT it) then type
dd if=/sdcard/twrp.img of=/dev/block/mmcblk0p11
(and press enter keyr.be careful while you writing the above commands.)
Finished.Now you have successfully flashed twrp recovery into fotapartition.Reboot your phone and when you see pink led just tap Volume UP key to enter to recovery.
Rom Flash Procedure
METHOD 2:
First extract boot.img and recovery.img from rom.zip and copy both to SD card root folder
1. Flash twrp recovery image like you flash kernel/boot.img(by flash tool or by fastboot method).
2. Enter to recovery.
Then follow the image by the numbers written in the image.Swipe to flash.
Then do the same for boot.img but choose boot. Img from SD card and boot(partition) in image 4. Swipe to flash and done.
Sir, Could you please help me.
I have CWM recovery installed on Xperia SL and is running Layers ROM Cm11 based.
But I am thinking of switching to a new rom as the earlier one was very laggy. ([ROM][XS][5.1.1][LMY48P] OneOfaKind 22/09/2015 | UberTC 4.9 | Layers | Aroma Addon)
Could you tell me what shall I do with regards to:
1. Making the build.script change to make it compatible with Xperia SL
2. Do I need a TWRP recovery ? How will it go alongwith the CWM recovery which I already have installed and running pretty well ?
Thanks !
C0D3FR34K said:
Sir, Could you please help me.
I have CWM recovery installed on Xperia SL and is running Layers ROM Cm11 based.
But I am thinking of switching to a new rom as the earlier one was very laggy. ([ROM][XS][5.1.1][LMY48P] OneOfaKind 22/09/2015 | UberTC 4.9 | Layers | Aroma Addon)
Could you tell me what shall I do with regards to:
1. Making the build.script change to make it compatible with Xperia SL
2. Do I need a TWRP recovery ? How will it go alongwith the CWM recovery which I already have installed and running pretty well ?
Thanks !
Click to expand...
Click to collapse
First thing I am not sir..I am also like you...I have just shares my experience to which will help new comers in simple words.
As of your point 1 you have to make change to support on SL...
And about recovery.try to flash with cwm first if not succeed then flash twrp 2.8.4.1 or above and flash the rom.
nageswarswain said:
First thing I am not sir..I am also like you...I have just shares my experience to which will help new comers in simple words.
As of your point 1 you have to make change to support on SL...
And about recovery.try to flash with cwm first if not succeed then flash twrp 2.8.4.1 or above and flash the rom.
Click to expand...
Click to collapse
Problem is I am not able to find support for Xperia SL
The difference between Xperia S and SL is just 1.5GHz and 1.7GHz CPU respectively.. but support for the latter is sh!t
C0D3FR34K said:
Problem is I am not able to find support for Xperia SL
The difference between Xperia S and SL is just 1.5GHz and 1.7GHz CPU respectively.. but support for the latter is sh!t
Click to expand...
Click to collapse
As said by You, the difference is just in frequency, and none in hardware. So what ever applies to XS will apply to XSL.
Mirhawk said:
As said by You, the difference is just in frequency, and none in hardware. So what ever applies to XS will apply to XSL.
Click to expand...
Click to collapse
Thanks ! I have installed TWRP latest build using fastboot !
nageswarswain said:
First thing I am not sir..I am also like you...I have just shares my experience to which will help new comers in simple words.
As of your point 1 you have to make change to support on SL...
And about recovery.try to flash with cwm first if not succeed then flash twrp 2.8.4.1 or above and flash the rom.
Click to expand...
Click to collapse
This is tantamount to spam but plz plz help me !!!
I was resizing the my 2GB partition but I am stuck now in the middle !!
I got stuck in step 10
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table
fdisk: WARNING: rereading partition table failed, kernel still uses old table: Device or resource busy
/sdcard #
Click to expand...
Click to collapse
Followed the instructions on this thread :
http://forum.xda-developers.com/xperia-s/s-development/tutorial-increase-data-partition-t2821058
C0D3FR34K said:
This is tantamount to spam but plz plz help me !!!
I was resizing the my 2GB partition but I am stuck now in the middle !!
I got stuck in step 10
Followed the instructions on this thread :
http://forum.xda-developers.com/xperia-s/s-development/tutorial-increase-data-partition-t2821058
Click to expand...
Click to collapse
I saw now that you have solved your problem. And this time also @mirhl is present there to help..good guy mirhl.
Hello, i am using DooMKernel which comes with a preinstalled TWRP v2.5.0.0 now i am trying to update it to the latest version via Terminal or Fastboot but it doesn't work version stays the same. Does anyone know what could be the problem?
Torroan said:
Hello, i am using DooMKernel which comes with a preinstalled TWRP v2.5.0.0 now i am trying to update it to the latest version via Terminal or Fastboot but it doesn't work version stays the same. Does anyone know what could be the problem?
Click to expand...
Click to collapse
Here is a link which will give you mickybart's recovery and kernel of nAOSO b26.but before flashing this first copy the rom to your phone because u can't boot the device after flashing it.so flash this and reboot to recovery and flash the rom you want.
Link.
https://mega.nz/#!SZ9DXZgZ!tzugmlsOMum3cZYXyTh69lDDlhGfGjV-Fw2VKvaYdK8
Thanks, in case i want to keep my current stock ROM there is no problem whatsoever is there? I mean i can just install the Kernel and i'll be good to go?
Torroan said:
Thanks, in case i want to keep my current stock ROM there is no problem whatsoever is there? I mean i can just install the Kernel and i'll be good to go?
Click to expand...
Click to collapse
Take backup of the current rom before flashing the other file.then do as I said
TWRP... thanks!
Thanks
Thanks for the guide really appreciate !!
BTW - only mine recovery dont show temperature? my soft is oneofakind and newest twrp recovery in FOTA via dd command.
I installed twrp 2.8.7 using this and my phone got stuck in a boot loop
I am on uCyan b04.
guruAhtasham said:
I installed twrp 2.8.7 using this and my phone got stuck in a boot loop
I am on uCyan b04.
Click to expand...
Click to collapse
Flash ucyan b04 kernel only on fastboot and try to reboot...
nageswarswain said:
Flash ucyan b04 kernel only on fastboot and try to reboot...
Click to expand...
Click to collapse
Thanks for the reply but it didn't work
have to do a clean flash again to make it boot.

Categories

Resources