[HOW TO] Install ClockworkMod Recovery and Root

Discussion in 'Lenovo IdeaTab A2109 Development' started by mcl630, Dec 28, 2012.

  1. mcl630

    mcl630 Member

    Joined:
    Dec 3, 2012
    Messages:
    164
    Likes Received:
    122
    Trophy Points:
    43
    Location:
    Illinois, USA
    Tablet / Device:
    Lenovo IdeaTab A2109A, Archos A101IT
    In order to do this, you need to have your bootloader unlocked and fastboot working. If you haven't already see here:
    http://www.androidtablets.net/forum...52434-howto-unlocking-bootloader-windows.html


    Files to download:

    Works with both ICS and JB: A2109_CWMrecovery-6.0.2.8a.img Dev-Host - A2109_CWMrecovery-6.0.2.8a.img - The Ultimate Free File Hosting / File Sharing Service
    MD5: e7501de26fe8a9fc453773f5710675fa

    (Edit: the A2109_CWMrecovery-6.0.2.8a.img file goes on your PC, not the A2109)

    If you need to root, also download: Superuser-3.1.3-arm-signed.zip http://downloads.noshufou.netdna-cdn.com/superuser/Superuser-3.1.3-arm-signed.zip
    Copy Superuser-3.1.3-arm-signed.zip to your A2109. It can go on either the internal or external sd card (you can put it in a folder if you want).


    Connect your tablet to your PC. On your PC, open a command prompt window (or terminal for Linux). Reboot into the bootloader by typing:
    Code:
    adb reboot bootloader
    Once you're in bootloader/fastboot mode, flash ClockworkMod recovery with this command:

    Windows:
    Code:
    fastboot flash recovery A2109_CWMrecovery-6.0.2.8a.img
    Linux:
    Code:
    fastboot -i 0x17ef flash recovery A2109_CWMrecovery-6.0.2.8a.img
    If it worked you should see something like this:
    Code:
    sending 'recovery' (6326KB)... OKAY [ 1.096s]
    writing 'recovery'... OKAY [ 0.448s]
    finished. total time: 1.545s
    Now you need to reboot into recovery. At your command prompt (terminal), type:

    For Windows:
    Code:
    fastboot reboot
    For Linux:
    Code:
    fastboot -i 0x17ef reboot
    Immediately start tapping Volume Up until the tablet's screen says "Booting Android Recovery".

    If you didn't press Volume Up quickly enough, it will boot into Android and overwrite CWM recovery, so you'll have to go back to fastboot and reflash.

    If you did it right, CWM recovery should start. In CWM recovery, you use Volume Up and Volume Down to move the highlight up and down, and the Power button to select options.

    If you need to root:

    1. Select 'install zip from sdcard'
    2. Then select 'choose zip from sdcard' or 'choose zip from external sdcard' depending on where you placed the Superuser zip file.
    3. Now navigate to your Superuser-3.1.3-signed-arm.zip and select it
    4. Choose 'Yes Install Superuser-3.1.3-signed-arm.zip'

    Go back to the main menu and choose 'reboot system now' to restart android. You should now be rooted.

    To test it out, when the A2109 finished booting, try this at the command prompt:
    Code:
    adb shell
    su
    
    If you've rooted successfully, the prompt should change from a $ to a # (meaning you have root access).
    Type 'exit' twice at the command prompt to leave the adb shell.


    If you are running the stock firmware, each time you boot into Android it will overwrite ClockworkMod recovery with the stock recovery. You can prevent this by renaming the recovery-from-boot.p file in your /system folder to something else. You can do this in ES File Explorer:

    1. In ES File Explorer under Setting, choose 'Root Settings' and make sure that 'Root Explorer', 'Up to Root', and 'Mount File System' are all checked.
    2. Navigate to the /system folder
    3. Long press recovery-from-boot.p and choose Rename
    4. Rename it to something else, like recovery-from-boot.p.bak
    5. Go back to Settings -> Root Settings and uncheck 'Mount File System' to put the system partition back to read-only.

    After renaming the recovery-from-boot.p file, you'll have to go back into fastboot and reflash ClockworkMod recovery one more time, but now it will "stick".


    Let me know here if you have any questions or need anything clarified.
     
    Last edited: Apr 7, 2013
    • Like Like x 16
  2. FloRider

    FloRider Member

    Joined:
    Dec 2, 2012
    Messages:
    358
    Likes Received:
    110
    Trophy Points:
    43
    Location:
    Florida
    Tablet / Device:
    Lenovo A2109
    Seeing that you're running the MCL ROM, I know that you've got the bootloader unlocked, a new recovery image (e.g. clockworkmod) flashed, and root access through Superuser (I believe this is necessary). According to your info, you have the ROM already installed. Do yourself a favor -- push power and volume up at the same time, when your tablet is off, for five seconds or so. You'll see which version of clockworkmod (cwm) you are running. Hopefully it is 6.0.1.9c. You can easily reboot from that menu.
     
    • Like Like x 2
  3. mcl630

    mcl630 Member

    Joined:
    Dec 3, 2012
    Messages:
    164
    Likes Received:
    122
    Trophy Points:
    43
    Location:
    Illinois, USA
    Tablet / Device:
    Lenovo IdeaTab A2109A, Archos A101IT
    1) You're already running my MCL0103 ROM, so your bootloader must already be unlocked.
    2) 6.0.1.9c
    3) My MCL ROMs include root, you don't need to install superuser. That's only used to root the stock roms.
     
    • Like Like x 2
  4. FloRider

    FloRider Member

    Joined:
    Dec 2, 2012
    Messages:
    358
    Likes Received:
    110
    Trophy Points:
    43
    Location:
    Florida
    Tablet / Device:
    Lenovo A2109
    Look at the thread on Lenovo. My post tells you exactly what to do. If you still don't understand, forget everything in your head and read it again.
     
  5. FloRider

    FloRider Member

    Joined:
    Dec 2, 2012
    Messages:
    358
    Likes Received:
    110
    Trophy Points:
    43
    Location:
    Florida
    Tablet / Device:
    Lenovo A2109
    Sure thing :).
     
  6. mza

    mza Junior Member

    Joined:
    Jan 6, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Colorado, USA
    Tablet / Device:
    IdeaTab A2109A
    I encountered a speedbump when trying to follow the original instructions from the Lenovo forum. I don't have ES File Explorer so I tried to make CWM stick using adb. Apparently, the Linux Android SDK version of adb is unwilling to run as root, saying:
    Code:
    # ./adb root
    adbd cannot run as root in production builds
    
    # ./adb remount
    remount failed: Operation not permitted
    Here is a summary of the steps I took to get past this:

    1. Re-flash CWM.
    2. Boot into recovery.
    3. On the tablet (in CWM) select 'mounts and storage' and then 'mount /system'.
    4. Then, on the PC, execute 'adb shell' and do the following:
    Code:
    ~ # df
    Filesystem           1K-blocks      Used Available Use% Mounted on
    tmpfs                   497372        48    497324   0% /dev
    /dev/block/platform/sdhci-tegra.3/by-name/CAC
                            774064     12348    761716   2% /cache
    /dev/block/platform/sdhci-tegra.3/by-name/APP
                            645056    581904     63152  90% /system
    ~ # cd /system
    /system # mv recovery-from-boot.p recovery-from-boot.p.bak
    /system # ls -al
    drwxr-xr-x   14 root     root          4096 Jan 12 18:42 .
    drwxr-xr-x   17 root     root             0 Jan 12 18:41 ..
    drwxr-xr-x    2 root     root          4096 Jan 12 17:52 app
    drwxr-xr-x    2 root     shell         4096 Jan 12 17:52 bin
    -rw-r--r--    1 root     root          2444 Aug  1  2008 build.prop
    drwxr-xr-x   11 root     root          4096 Jan  5 22:44 etc
    drwxr-xr-x    2 root     root          4096 Jan  5 22:45 fonts
    drwxr-xr-x    2 root     root          4096 Jan  5 22:44 framework
    drwxr-xr-x   10 root     root          8192 Jan  5 22:44 lib
    drwxr-xr-x    2 root     root          4096 Jan  1  1970 lost+found
    drwxr-xr-x    4 root     root          4096 Jan  5 22:44 media
    -rw-r--r--    1 root     root        321196 Aug  1  2008 recovery-from-boot.p.bak
    drwxr-xr-x    3 root     root          4096 Jan  5 22:44 tts
    drwxr-xr-x    8 root     root          4096 Jan  5 22:44 usr
    drwxr-xr-x    5 root     shell         4096 Jan  5 22:45 vendor
    drwxr-xr-x    2 root     shell         4096 Jan 12 17:52 xbin
    /system # exit
    5. reboot the tablet.
    6. Finally, re-flash CWM for the third time.
     
  7. vampirefo.

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,755
    Likes Received:
    1,377
    Trophy Points:
    113
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    adb remount has been disabled in JB, you can have several choices.

    1.enable adb remount
    2.adb shell to remount system as rw.

    To enable adb remount you need to make this an insecure boot.img, by splitting the boot.img replacing the adbd with one from ICS boot.img, then edit the default.prop repackage boot.img and flash.

    or you can

    adb shell

    mount -o remount,rw /system

    This is same thing as adb remount, but doesn't require any modifications to boot.img

    I use choice one as I always modify boot.img for reason or other.
     
  8. Davy49

    Davy49 Junior Member

    Joined:
    Aug 13, 2011
    Messages:
    67
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    USA-Florida
    Tablet / Device:
    IdeaTab A2109
  9. vampirefo.

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,755
    Likes Received:
    1,377
    Trophy Points:
    113
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
  10. Davy49

    Davy49 Junior Member

    Joined:
    Aug 13, 2011
    Messages:
    67
    Likes Received:
    4
    Trophy Points:
    8
    Location:
    USA-Florida
    Tablet / Device:
    IdeaTab A2109
    vampirefo. ,
    It may be easy for you...I guess I'm just brain dead or something..especially since I've been able to root previous android device's.
    David :(
     
  11. vampirefo.

    vampirefo. Senior Member Developer

    Joined:
    Nov 8, 2011
    Messages:
    3,755
    Likes Received:
    1,377
    Trophy Points:
    113
    Location:
    Huntington WV
    Tablet / Device:
    Leagoo Lead 1 ZTE OPEN C, Coby 7065, Coby 8042, Coby 9740
    Well give the link you posted a shot, if it works great if not, you are no worse off.
     
  12. mza

    mza Junior Member

    Joined:
    Jan 6, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Colorado, USA
    Tablet / Device:
    IdeaTab A2109A
    I recall trying option 2 but it didn't work so I didn't mention it. The command appeared to work and the filesystem showed up as rw but it still could not be written to. I don't recall the exact error message any more.
     
  13. Thor821

    Thor821 Junior Member

    Joined:
    Jan 19, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    France
    Tablet / Device:
    Lenovo a2109a
    Thanks for yours How to.
     
  14. cordoba

    cordoba Junior Member

    Joined:
    Dec 28, 2012
    Messages:
    14
    Likes Received:
    3
    Trophy Points:
    3
    Tablet / Device:
    Lenovo Ideatab A2109
    OK. I feel a bit foolish. I'm using a mac, but the Linux instructions should work, right? Everything is fine until I get to this step:

    And then, I can't seem to tap Volume Up fast enough. It just boots into android again. (it says "cold booting linux" right before). Is there some other way to boot into CWM? I think my reflexes are just old...

    EDIT: I got it! Thanks. :)

    I followed the steps to unlock the bootloader, and that worked (I think -- how would I check it?)
     
    Last edited: Jan 23, 2013
  15. doomboss

    doomboss Junior Member

    Joined:
    Jan 17, 2013
    Messages:
    251
    Likes Received:
    47
    Trophy Points:
    28
    Location:
    Boston, MA
    Tablet / Device:
    Lenovo IdeaTab A2109
    Actually, dont tap it, hold it instead until you see the little line of text on the top left of the screen and then immediately release it:)
     
    • Like Like x 2

Share This Page

Search tags for this page
a2109 stock ics operating system free download
,
archos 101 clockworkmod
,
clockworkmod for tablet
,
custom recovery for tablet
,

cwm for tablet

,
cwm for tablets
,
cwm recovery for android tablet
,

cwm recovery for tablet

,
cwm recovery tablet china
,
cwm shell
,

cwm tablet

,

how to install cwm on china tablet

,

how to install recovery on tablet

,
instalacja cwm na tablecie
,

install cwm tablet

,
leagoo lead 3 root
,

lenovo a2109 os

,
root chinese tablet
,

root lenovo

,
tablet recovery