[RECOVERY] Lenovo Thinkpad CWR Port

Search This thread

mandrsn1

Senior Member
Jun 20, 2009
446
71
I cannot boot into CWR on my US 32GB tablet. It just reboots normally. I used the 32 gb file about half way through the thread and just renamed it.

Code:
# mount -o rw,remount /system
mount -o rw,remount /system
# echo "#!/system/bin/sh" > /system/etc/install-recovery.sh
echo "#!/system/bin/sh" > /system/etc/install-recovery.sh
# dd if=/data/local/cwr_ventana_2.img of=/dev/block/mmcblk0p1
dd if=/data/local/cwr_ventana_2.img of=/dev/block/mmcblk0p1
8696+0 records in
8696+0 records out
4452352 bytes transferred in 1.993 secs (2233994 bytes/sec)
# reboot recovery
reboot recovery
reboot returned
#
 
Last edited:

Koshu

Senior Member
Jul 28, 2007
348
463
I cannot boot into CWR on my US 32GB tablet. It just reboots normally. I used the 32 gb file about half way through the thread and just renamed it.

Code:
# mount -o rw,remount /system
mount -o rw,remount /system
# echo "#!/system/bin/sh" > /system/etc/install-recovery.sh
echo "#!/system/bin/sh" > /system/etc/install-recovery.sh
# dd if=/data/local/cwr_ventana_2.img of=/dev/block/mmcblk0p1
dd if=/data/local/cwr_ventana_2.img of=/dev/block/mmcblk0p1
8696+0 records in
8696+0 records out
4452352 bytes transferred in 1.993 secs (2233994 bytes/sec)
# reboot recovery
reboot recovery
reboot returned
#

Try to press Vol-Up several times after powering on the tablet (when it vibrates short)
 

Jon2555

Senior Member
Jan 17, 2011
789
242
Belgrade
Is log finished when device have been rebooted? I understand that it reboots itself after about 15sec? Did you wait that long?
 
US, 64GB working w/new version

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.

updated to the the latest port for 64GB version. was able to create a new backup and restore successfully.


TPT 183927U (64GB w/3G added on afterwards)
Build: ThinkpadTablet_A310_02_0037_0075_US
 

realyst2k

Member
Feb 4, 2010
46
15
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


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)?
 

stewarta

Senior Member
Jun 8, 2004
422
37
Melbourne
@realyst2k: Sounds like you are close to getting CWR to work on the ROW versions. It also sounds like you haven't been able to test it yet.
 
Last edited:

jhankinson

Senior Member
Dec 10, 2009
71
30
Thanks for the update. Everything seems to be working properly for me (32GB US version).

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
 

mandrsn1

Senior Member
Jun 20, 2009
446
71
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

Is anybody else getting a "Can't mount backup path" error with this version?
 

Koshu

Senior Member
Jul 28, 2007
348
463
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)
 

obscure.detour

Senior Member
Apr 20, 2010
270
30
Nothing unexpected in the log. Can you try to run the command adb shell cat /proc/kmsg while in recovery, wait until it reboots and post the output? Maybe the kernel is telling us something usefull.

So very interesting and odd. I loaded CWR and typed adb shell cat /process/ksmg and it started outputting kernel info normally. (I'll paste it in here later as I'm on my phone)

Anyway, it never rebooted, I waited at least a minute and decides to try a nandroid backup. Success! And no reboots. Strange I know but interesting and intriguing. I'll update this post later with the output.

Cheers.


!




Sent from my Nexus S using XDA App
 

Koshu

Senior Member
Jul 28, 2007
348
463
So very interesting and odd. I loaded CWR and typed adb shell cat /process/ksmg and it started outputting kernel info normally. (I'll paste it in here later as I'm on my phone)

Anyway, it never rebooted, I waited at least a minute and decides to try a nandroid backup. Success! And no reboots. Strange I know but interesting and intriguing. I'll update this post later with the output.

Cheers.


!
Sent from my Nexus S using XDA App

Did you change anything? I had one of the reboots too at first boot of cwm, but it never happened again to me. The Bug seems hard to reproduce.
 

realyst2k

Member
Feb 4, 2010
46
15
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)

Thanks! I'll compile a ROW version tonight and give it a try. I'll post the link up if it works.
 

obscure.detour

Senior Member
Apr 20, 2010
270
30
Did you change anything? I had one of the reboots too at first boot of cwm, but it never happened again to me. The Bug seems hard to reproduce.

Nah I didn't change a thing. Other than type in that adb command. Yeah its odd. I'll play more with it when I get home.

Sent from my Nexus S using XDA App
 

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
    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^^
    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
    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.