[RECOVERY] Lenovo Thinkpad CWR Port

Search This thread

stewarta

Senior Member
Jun 8, 2004
422
37
Melbourne
for me it seems to work randomly.
Try it several times to check if it works...

After the experiences of a few of you, I decided to do another Nand backup, and report the output. The first thing is it did work again and placed the second backup with the first in /external_sd/clockworkmod/backup ... so that's good.

The output was as follows:
Code:
CWM-based Recovery v5.0.2.7
Backing up boot image
.... recovery image
.... system
.... data
No sdcard/.android_secure found. Skipping backup of applications on external storage
Backing up cache
No sd-ext found. Skipping backup of sd-ext
Generating md5 sum ...
Backup complete

The only things I can see that may be issues are:
1. The /sdcard/.android_secure folder is missing .... needed?
2. CWR is calling for the sd-ext, but the Android system names this external_sd I don't know if this is an issue or not??


Sent from my ThinkPad Tablet using xda premium
 

quyTam

Senior Member
May 26, 2011
403
41
have you tried a wipe data to see if it skip "sdcard" folder ? (make a backup of your sdcard folder somewhere to be sure)
 

Jon2555

Senior Member
Jan 17, 2011
789
242
Belgrade
After the experiences of a few of you, I decided to do another Nand backup, and report the output. The first thing is it did work again and placed the second backup with the first in /external_sd/clockworkmod/backup ... so that's good.

The output was as follows:
Code:
CWM-based Recovery v5.0.2.7
Backing up boot image
.... recovery image
.... system
.... data
No sdcard/.android_secure found. Skipping backup of applications on external storage
Backing up cache
No sd-ext found. Skipping backup of sd-ext
Generating md5 sum ...
Backup complete

The only things I can see that may be issues are:
1. The /sdcard/.android_secure folder is missing .... needed?
2. CWR is calling for the sd-ext, but the Android system names this external_sd I don't know if this is an issue or not??


Sent from my ThinkPad Tablet using xda premium

It isn't a problem. It tries to backup apps moved to external storage but that partition isn't existing so it just skipped it. Can someone with reboot problems post its output?
 
  • Like
Reactions: stewarta

quyTam

Senior Member
May 26, 2011
403
41
difficult to post output when it reboot...
It begin the backup an after some time it reboot itself during the backup.
 

Jon2555

Senior Member
Jan 17, 2011
789
242
Belgrade
I think that log is made every time when you use recovery by default so you just have to post it but I'm not so sure where it's stored. I'll check.
 

realyst2k

Member
Feb 4, 2010
46
15
Sorry, was sick and busy :)

What we need really is the log of a rebooting backup attempt. If yours consistently reboots on attempt, please try the following:

Boot into CWR. Try the backup until it reboots. Reboot into CWR again, select "Advanced", then "report recovery". It will tell you where it stored the log. Make a note of it.

Boot into Android. Find the log with your File Manager of choice, paste its contents here.
 
  • Like
Reactions: quyTam

photonmedia

Senior Member
Apr 1, 2009
346
62
Allendale
www.drunkentechblog.com
Can someone with reboot problems verify if stewartas hint works?

I don't think the reboot problem is necessarily related to the backup process. For me (16GB US), I could boot into CWR and no matter what I do, whether just let it sit there or going through the menus, After about 30-45 seconds it would reboot itself.

I re-flashed the latest "ventana_recovery.img" and booted into it then rebooted into Android like stewarta suggested and it seems to have made all the difference in the world. No I am in CWR and it has been sitting there for 5 minutes with no reboot. Attempting a backup now. I will report back with further updates.
 
  • Like
Reactions: stewarta

quyTam

Senior Member
May 26, 2011
403
41
Sorry, was sick and busy :)

What we need really is the log of a rebooting backup attempt. If yours consistently reboots on attempt, please try the following:

Boot into CWR. Try the backup until it reboots. Reboot into CWR again, select "Advanced", then "report recovery". It will tell you where it stored the log. Make a note of it.

Boot into Android. Find the log with your File Manager of choice, paste its contents here.

Thanks, will post log next time I try
 

paperclip69

Senior Member
Apr 13, 2008
104
2
Crosshill, Fife
Hi

I am on 0075_uk with a 32GB version, i want to put on CWR but not sure which image to go for at the moment as there has been a lot of updates, any chance the first post could be updated and cleaned up so people like me know which image is going to work for our device and how to do it?

cheers

Tom
 
  • Like
Reactions: Janis

SoonerLater

Senior Member
Mar 11, 2011
303
40
...any chance the first post could be updated and cleaned up so people like me know which image is going to work for our device and how to do it?

I second the motion. It would be very, very helpful if post #1 in this thread were updated with links to ALL of IMG files, plus updated instructions. To encourage JCase to update Post #1, here's all the IMG file download links that I've found:

Post # 1 -- cwr_ventana_2.img.

Post #71 --
ventana_recovery.img
ventana32_recovery.img
ventana64_recovery.img)

Post # 117 -- recovery_ventana_row16.img

Post # 131 --
ventana_recovery_row_16.img
ventana_recovery_row_32.img
ventana_recovery_row_64.img


Updated instructions appear throughout the thread, but as near as I can tell, the *current* instructions are as follows:

Code:
adb push [COLOR="Red"][insert name of IMG file here][/COLOR] /data/local/
adb shell
su
mount -o rw,remount /system
echo "#!/system/bin/sh" > /system/etc/install-recovery.sh
dd if=/data/local/[COLOR="Red"][insert name of IMG file here][/COLOR] of=/dev/block/mmcblk0p1

FYI... this thread at thinkpadtabletforums.com has these instructions.

adb push NameOfCWMFile.img /data/local/
adb shell
su
mount -o rw,remount /system
echo "#!/system/bin/sh" > /system/etc/install-recovery.sh
dd if=/data/local/NameOfCWMFile.img of=/dev/block/mmcblk0p1

or you can copy img file on /data/local/ folder of your tablet (with a file manager with root permissions)

launch "Android Terminal Emulator" application and type the instructions
su
mount -o rw,remount /system
echo "#!/system/bin/sh" > /system/etc/install-recovery.sh
dd if=/data/local/NameOfCWMFile.img of=/dev/block/mmcblk0p1

ADB app and drivers can be downloaded here.

Note: I take absolutely no credit whatsoever for any of the above. My hat's off to the heroes whose work made it possible for us to root our TPTs and who ported CWM to the TPT.
 
Last edited:
  • Like
Reactions: redbaron

quinting

Senior Member
Aug 3, 2009
119
12
Steinbach

Tried downloading this (I have the 32GB ROW), but that url doesn't work...seems the /files folder is missing...if you go to the root of the URL you get a list of folders, and files is not there...any other place to download it?

Thanks!

Never mind...I realized I had downloaded it earlier...so I had it - link still isn't working, but I did get CWM installed and am doing a backup right now...ready for CM9!
 
Last edited:

DerBer

New member
Aug 7, 2009
4
0
Tried downloading this (I have the 32GB ROW), but that url doesn't work...seems the /files folder is missing...if you go to the root of the URL you get a list of folders, and files is not there...any other place to download it?
CM9!

I Need the file, too. But it seems completely unavailable right now. Could anyone provide a working link?
Thanks in andvance.
 

realyst2k

Member
Feb 4, 2010
46
15
Seems like the files are available again. Will look into a mirror if this happens again, though I imagine this was probably just a fluke(this is nicely volunteered spaced by a contributor, after all, not some big Megauploadish site) that looks to have been corrected.

---------- Post added at 12:15 AM ---------- Previous post was at 12:07 AM ----------

Hi

I am on 0075_uk with a 32GB version, i want to put on CWR but not sure which image to go for at the moment as there has been a lot of updates, any chance the first post could be updated and cleaned up so people like me know which image is going to work for our device and how to do it?

cheers

Tom

Run this in an adb shell

Code:
su
dd if=/dev/block/mmcblk0p1 of=/data/local/uk_dump


And send upload/post the file to http://everyrandom.com/files/.

Post the link here and when I get a chance, I'll compile an image for you.
 
  • Like
Reactions: quyTam

jhankinson

Senior Member
Dec 10, 2009
71
30
Does anyone have a backup of the original /system/etc/install-recovery.sh (32GB US version)? I stupidly did not make a backup of mine. This is needed to restore the original recovery right?
 
Last edited:

obscure.detour

Senior Member
Apr 20, 2010
270
30
Does anyone have a backup of the original /system/etc/install-recovery.sh (32GB US version)? I stupidly did not make a backup of mine. This is needed to restore the original recovery right?

You can find it within the OTA2 update.zip. Open the file in a archive manager of your choice and you'll find that file within the /recovery directory. Hope that helps.

On another note. Sorry I haven't been around this thread. School is kicking my ass this semester. Anyway, I still have random reboots in CWR. I've successfully completed one backup, out of probably 5-6 tried. I can't seem to pinpoint why it reboots.

Here is my most recent recovery.log:
Code:
Starting recovery on Fri Feb 17 22:03:43 2012
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (1280 x 800)
CWM-based Recovery v5.5.0.4
recovery filesystem table
=========================
  0 /tmp ramdisk (null) (null) 0
  1 /recovery emmc /dev/block/mmcblk0p1 (null) 0
  2 /boot emmc /dev/block/mmcblk0p2 (null) 0
  3 /system ext4 /dev/block/mmcblk0p3 (null) 0
  4 /cache ext4 /dev/block/mmcblk0p4 (null) 0
  5 /misc emmc /dev/block/mmcblk0p5 (null) 0
  6 /staging emmc /dev/block/mmcblk0p8 (null) 0
  7 /data ext4 /dev/block/mmcblk0p10 (null) 0
  8 /sdcard vfat /dev/block/mmcblk1p1 (null) 0
  9 /usbdrive vfat /dev/block/sda1 (null) 0

W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
W:Unable to get recovery.fstab info for /sd-ext during fstab generation!
I:Completed outputting fstab.
I:Processing arguments.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"

ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.sys.usb.config=adb
ro.build.id=MR1
ro.build.display.id=full_ventana-eng 4.0.3 MR1 eng.logxen.20120126.172616 test-keys
ro.build.version.incremental=eng.logxen.20120126.172616
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.3
ro.build.date=Thu Jan 26 17:31:37 PST 2012
ro.build.date.utc=1327627898
ro.build.type=eng
ro.build.user=logxen
ro.build.host=ubuntu
ro.build.tags=test-keys
ro.product.model=Full Android on Emulator
ro.product.brand=Android
ro.product.name=full_ventana
ro.product.device=ventana
ro.product.board=ventana
ro.product.cpu.abi=armeabi
ro.product.manufacturer=unknown
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=unknown
ro.build.product=ventana
ro.build.description=full_ventana-eng 4.0.3 MR1 eng.logxen.20120126.172616 test-keys
ro.build.fingerprint=Android/full_ventana/ventana:4.0.3/MR1/eng.logxen.20120126.172616:eng/test-keys
ro.build.characteristics=default
ro.cm.device=ventana
keyguard.no_require_sim=true
ro.com.android.dataroaming=true
ro.com.android.dateformat=MM-dd-yyyy
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.notification_sound=pixiedust.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.kernel.android.checkjni=1
ro.setupwizard.mode=OPTIONAL
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=
ro.bootmode=unknown
ro.baseband=unknown
ro.carrier=unknown
ro.bootloader=unknown
ro.hardware=ventana
ro.revision=0
ro.emmc=0
init.svc.recovery=running
init.svc.adbd=running

I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory

Like I said above. I cannot seem to figure out why it reboots. Seems pretty random to me. It does not seem to be associated with making a backup. As my CWR will reboot even without making a backup.

EDIT:

Here is another attempt at a backup and a rebooted CWR log. I don't see any difference to the one above.

Code:
Starting recovery on Fri Feb 17 22:21:39 2012
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (1280 x 800)
CWM-based Recovery v5.5.0.4
recovery filesystem table
=========================
  0 /tmp ramdisk (null) (null) 0
  1 /recovery emmc /dev/block/mmcblk0p1 (null) 0
  2 /boot emmc /dev/block/mmcblk0p2 (null) 0
  3 /system ext4 /dev/block/mmcblk0p3 (null) 0
  4 /cache ext4 /dev/block/mmcblk0p4 (null) 0
  5 /misc emmc /dev/block/mmcblk0p5 (null) 0
  6 /staging emmc /dev/block/mmcblk0p8 (null) 0
  7 /data ext4 /dev/block/mmcblk0p10 (null) 0
  8 /sdcard vfat /dev/block/mmcblk1p1 (null) 0
  9 /usbdrive vfat /dev/block/sda1 (null) 0

W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
W:Unable to get recovery.fstab info for /sd-ext during fstab generation!
I:Completed outputting fstab.
I:Processing arguments.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"

ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.sys.usb.config=adb
ro.build.id=MR1
ro.build.display.id=full_ventana-eng 4.0.3 MR1 eng.logxen.20120126.172616 test-keys
ro.build.version.incremental=eng.logxen.20120126.172616
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.3
ro.build.date=Thu Jan 26 17:31:37 PST 2012
ro.build.date.utc=1327627898
ro.build.type=eng
ro.build.user=logxen
ro.build.host=ubuntu
ro.build.tags=test-keys
ro.product.model=Full Android on Emulator
ro.product.brand=Android
ro.product.name=full_ventana
ro.product.device=ventana
ro.product.board=ventana
ro.product.cpu.abi=armeabi
ro.product.manufacturer=unknown
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=unknown
ro.build.product=ventana
ro.build.description=full_ventana-eng 4.0.3 MR1 eng.logxen.20120126.172616 test-keys
ro.build.fingerprint=Android/full_ventana/ventana:4.0.3/MR1/eng.logxen.20120126.172616:eng/test-keys
ro.build.characteristics=default
ro.cm.device=ventana
keyguard.no_require_sim=true
ro.com.android.dataroaming=true
ro.com.android.dateformat=MM-dd-yyyy
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.notification_sound=pixiedust.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.kernel.android.checkjni=1
ro.setupwizard.mode=OPTIONAL
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=
ro.bootmode=unknown
ro.baseband=unknown
ro.carrier=unknown
ro.bootloader=unknown
ro.hardware=ventana
ro.revision=0
ro.emmc=0
init.svc.recovery=running
init.svc.adbd=running

I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory
failed to open /sys/class/android_usb/android0/state: No such file or directory
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 17
    Photo by Logxen (aka not my trash!)
    t7Q7v.jpg


    No warranties, no guarantees. If this ruins your device, your fault, not mine. Consider this a test build, backup important stuff manually to your PC for now (photos etc)

    This requires an sdcard installed

    [Image]
    http://download.cunninglogic.com/cwr_ventana_2.img
    39b5557cf3802d677e33cce76047ef60 *cwr_ventana_2.img

    [Source]
    https://github.com/CunningLogic/android_device_lenovo_ventana

    [Instructions]
    Code:
    adb push cwr_ventana_2.img /data/local/
    adb shell
    su
    mount -o rw,remount /system
    echo "#!/system/bin/sh" > /system/etc/install-recovery.sh
    dd if=/data/local/cwr_recovery_2.img of=/dev/block/mmcblk0p1

    [Credits]
    djrbliss - For rooting the thinkpad
    utkanos - walking me through the device config setup
    CM, Koush and everyone who has worked on CWR
    4
    Here are new versions for the different Sizes:

    16Gb:
    http://everyrandom.com/files/download.php?file=264ventana_recovery.img

    32Gb:
    http://everyrandom.com/files/download.php?file=196ventana32_recovery.img

    64Gb:
    http://everyrandom.com/files/download.php?file=538ventana64_recovery.img

    Credits go to Logxen for modifying and compiling (based on the builds jcase made).
    Thanks to bohdans for webspace.

    We also excluded the /data/media directory (Internal sdcard) so backups doesn't need so much space anymore.

    P.S. there may still be bugs, i you find one, post as much information you can provide and your tpt model

    P.P.S: As always: No warranties, no guarantees. Playing around with the recovery can brick your device.


    Known Bugs:
    - Doesn't work on ROW Roms
    - Force reboots while backup on some devices
    3
    the CWM images are down does anyone have them and could please reuplaod them?

    Here u go bud...and everybody else of course^^
    16Gb Version....
    lil backstory if u care to read...

    i just got a barely used TPT and was in need as well...it has never been updated!!!!
    A Friend of mine got his TPT back then when it came out, i rooted it of course asap^^
    lucky me...coz he did not had a memory card for puttin CWM and stuff on...so i borrowed him one of mine...for some years of course :p
    som time in 2016 i demanded back MY friggin property!!!!....just kiddin^^...hehehe...

    lookin at my new&shiny 4gb SDCard I do remember thinkin: "make an image b4 wipin"....turns out it was not so bad idea afterall...
    u´ll just never no if someone still does care for thiz pice of crap u just tossed out da window coz it frggin sucked:D

    hav phun^^
    2
    I can compile ROW versions with my kernel. Can you tell me what steps you took to exclude /data/media(I'm quite new at this)?

    Also, are your config files uploaded somewhere for the 32 and 64 gig models(I can generate only for 16GB at the moment)?

    You have to edit the source files to force this behavior. Its in the file nandroid.c near line 111:

    if (strcmp(backup_path, "/data") == 0 && volume_for_path("/sdcard") == NULL)

    Erase the second part of the if-condition. Something like this:

    if (strcmp(backup_path, "/data") == 0)
    2
    Thanks for sharing this it worked great, except for the instructions I needed to use
    dd if=/data/local/cwr_ventana_2.img of=/dev/block/mmcblk0p1
    rather than
    dd if=/data/local/cwr_recovery.img of=/dev/block/mmcblk0p1
    to match the name of your file.
    Thanks again for sharing, CWR seems to be running perfectly.
    Also for those looking for root the exploit has been posted here.