[RECOVERY][TWRP&CWM][Updated: 6-Feb-2013]Stock Kernel on Official Jellybean

Search This thread

MysticEnforcer

Senior Member
Oct 29, 2012
619
303
Trier
hi,
since yesterday I have some problems with the cmw.
everytime when i booted up cmw,
i get this 'warnings'

Code:
cwm 'startpage'

E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:Can't mount /cache/recovery/last_log
E:Can't open /cache/recovery/last_log
E:Can't mount /cache/recovery/command

Code:
recovery.log

I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
W:failed to mount /dev/block/mmcblk0p13 (Invalid argument)
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
W:failed to mount /dev/block/mmcblk0p13 (Invalid argument)
E:Can't mount /cache/recovery/last_log
E:Can't open /cache/recovery/last_log
W:failed to mount /dev/block/mmcblk0p13 (Invalid argument)
W:Can't unlink /cache/recovery/command
I:Can't partition non-vfat: ext4
I:Can't format unknown volume: /emmc
/tmp/recovery.log was copied to /sdcard/clockworkmod/recovery.log. 
Please open ROM Manager to report the issue.

and i don't get it off.

what can I do?
 
Last edited:

MysticEnforcer

Senior Member
Oct 29, 2012
619
303
Trier
formatting is not the solution.
i tried to wipe cache, then mount / unmount cache & format cache.
this helps for one or two cwm boot ups
 

cmajetic

Senior Member
Sep 6, 2011
1,513
623
Vienna
AW: [RECOVERY][TWRP&CWM][Updated: 6-Feb-2013]Stock Kernel on Official Jellybean

This appears to be more of a technical limitation.

The internal storage space is formatted ext4, so only linux would be able to mount that by default so it doesn't offer that.
With the MicroSD the issue seems to be a little more complex and may possibly need a custom kernel.

don't get this, so I can't copy files to and from my phone with usb cable? it works with stock kernel, but I need this feature, I transfer files quite often between my phone and Pc.

Gesendet von meinem LT30p mit Tapatalk 2
 

POWER1FM

Senior Member
Apr 8, 2012
497
99
lechaina
Huawei Mate 40 Pro
hi,
since yesterday I have some problems with the cmw.
everytime when i booted up cmw,
i get this 'warnings'

Code:
cwm 'startpage'

E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:Can't mount /cache/recovery/last_log
E:Can't open /cache/recovery/last_log
E:Can't mount /cache/recovery/command

Code:
recovery.log

I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
W:failed to mount /dev/block/mmcblk0p13 (Invalid argument)
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
W:failed to mount /dev/block/mmcblk0p13 (Invalid argument)
E:Can't mount /cache/recovery/last_log
E:Can't open /cache/recovery/last_log
W:failed to mount /dev/block/mmcblk0p13 (Invalid argument)
W:Can't unlink /cache/recovery/command
I:Can't partition non-vfat: ext4
I:Can't format unknown volume: /emmc
/tmp/recovery.log was copied to /sdcard/clockworkmod/recovery.log. 
Please open ROM Manager to report the issue.

and i don't get it off.

what can I do?

I have the same issue every time i jump between sony and advanced kernel.

You let it boot one time and show the triangle menu for a few seconds and corrects the problem.
 

lilstevie

Senior Recognized Developer
Apr 17, 2009
1,339
1,040
Dees_Troy has updated TWRP to support jb.

You should keep the kernel installed from the first post as that has the trick required to load twrp from FOTAKernel.
If you open goomanager and in the menu select the option "Install OpenRecoveryScript" that should update the FOTAKernel partition with official TWRP.
 

cmajetic

Senior Member
Sep 6, 2011
1,513
623
Vienna
AW: [RECOVERY][TWRP&CWM][Updated: 6-Feb-2013]Stock Kernel on Official Jellybean

Dees_Troy has updated TWRP to support jb.

You should keep the kernel installed from the first post as that has the trick required to load twrp from FOTAKernel.
If you open goomanager and in the menu select the option "Install OpenRecoveryScript" that should update the FOTAKernel partition with official TWRP.

seems to work but in recovery it shows version 2.4.1.0 and I downloaded a file which says 2.4.1.1, forgot what it was before. is that right? thanks

Gesendet von meinem LT30p mit Tapatalk 2
 

MysticEnforcer

Senior Member
Oct 29, 2012
619
303
Trier
Dees_Troy has updated TWRP to support jb.

You should keep the kernel installed from the first post as that has the trick required to load twrp from FOTAKernel.
If you open goomanager and in the menu select the option "Install OpenRecoveryScript" that should update the FOTAKernel partition with official TWRP.
it seems to work well


@steamed_egg,
which system.img?
 
Last edited:

Notopic1

Senior Member
Feb 9, 2011
154
26
Dont know whats happening.
But keep ketting a grey triangle even after factory reset.
Also keep loosing recovery.

How can i get it to work?
 

Notopic1

Senior Member
Feb 9, 2011
154
26
I just followd the step as the first post.
Nothing else.

But now the triangle is on for about 20 min and nothing is hapening.
Can't even shut down the phone and put it on the charcher beqause it wil turning it self on.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    Note: This has been deprecated in favour of LK for Xperia T

    This kernel image is based on stock using the FreeXperia ramdisk method of loading stock and recovery. It also includes the new FOTA partition trick by Dees_Troy for easy updates in the future to TWRP.

    Dees_Troy and I worked on figuring out the reason recovery binaries would not load on the stock kernel without patches, fixed this up in bionic, and rebuilt recovery linked against the fixed bionic.

    F.A.Q

    Q. The title says TWRP and CWM but when I boot recovery I only see TWRP. How do I get CWM?
    A. TWRP is the default recovery, if you want CWM you should download the CWM update.zip in the second post and flash it with twrp.

    Technical Info

    In 3.4 Qualcomm have changed the fb_var_screeninfo struct slightly. They have added an extra field called colorspace which increases the size of the stuct by __u32. When a binary linked against bionic tries to pass a struct the size of the old fb_var_screeninfo to kernelspace the application breaks as the kernel is expecting more data than it was given.

    The patch to fix this in kernel solves the problem by removing one of the reserved fields, bringing the struct back to the same size it was prior to the new field being added. While this keeps compatibility with older recovery binaries, it does introduce the problem of needing a custom kernel to run recovery. Sony have not yet released source for 9.1.A.0.489 which means the kernel cannot be rebuilt without issues such as WiFi not working. The patch that Dees_Troy applied to the build system was to add the new colorspace field into the header for bionic which means the new recovery binary can run on an unmodified stock Sony kernel.

    Flashing

    Boot device in fastboot mode:
    Code:
    adb reboot bootloader
    Flash image with fastboot:
    Code:
    fastboot flash boot mint489stock.img


    Source for TWRP available from here.​
    9
    Updates:

    1. Updated image in first post to fix bug where creating a backup would fail and crash twrp.
    2. Updated first post to show CWM in title and answer questions about how to get CWM.

    Flashable zips:

    In the first post it is mentioned about using the FOTAKernel trick by Dees_Troy to offer easy updates. The 2 zips attached to this post are examples of the ease of use.

    flashCWM.zip - This will flash CWM to the FOTAKernel and replace TWRP as your recovery.
    flashTWRP.zip - This will flash TWRP to the FOTAKernel and replace TWRP that is built into the image that was flashed to your device by fastboot, or to replace CWM with TWRP again if you used the flashCWM.zip

    This also makes updates easier as you do not need to replace the kernel image you currently have flashed to your device.
    3
    Dees_Troy has updated TWRP to support jb.

    You should keep the kernel installed from the first post as that has the trick required to load twrp from FOTAKernel.
    If you open goomanager and in the menu select the option "Install OpenRecoveryScript" that should update the FOTAKernel partition with official TWRP.
    2
    only for unlocked bl, correct?

    Yes

    hi,
    i wanted to create with this version a backup, but it doesn't work.
    it was just created the folder system,
    the other folders such as data and boot not.
    the created folder system, that was created after backup, is empty.

    the 'backup' also takes only a few seconds, then the 'backup' is done.

    what have i done?
    installed the .img with instructions above.
    boot xt into recovery, push backup, select system, data & boot, choose destination folder and start backup.

    where is my failure?

    Same here....seems backup is not working
    2
    the 'backup' also takes only a few seconds, then the 'backup' is done.

    Updated first post with a fixed image.