• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Linux Tethered CWM Recovery Version

Search This thread

vampirefo

Senior Member
Apr 3, 2010
3,242
1,636
I am not responsible for any damage that may or may not occur to your device.
If you use my recovery in your project link back to this thread, and give me credit in your thread for my recovery.

This is the Linux version of TWRP tethered recovery and CWM tethered recovery.
TWRP 2.8.6.0 recovery, currently tested on two tablets, venue 3830, iview -1700

screen for 1-700 is 1024x600 landscape
screen for venue 3830 800x1280 portrait

Purpose of this guide is to root intel tablets using Linux computer.

This project includes the work of 4 people perhaps more.

@vampirefo
Linux Fastboot Binary, intel compatible cwm recovery.
http://forum.xda-developers.com/dell-venue/general/dell-venue-8-cwm-unsecure-boot-recovery-t2866925

@Chainfire
super user package update-supersu-vxxx.zip
https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip

@social-design-concepts
recovery.launcher, recovery.envsetup, recovery.trigger, triggers and for sharing his work.
http://forum.xda-developers.com/android/development/intel-android-devices-root-temp-cwm-t2975096
http://forum.xda-developers.com/showthread.php?t=2681783

TeamWin for their great recovery.

Download
https://www.androidfilehost.com/?fid=24052804347784850


Download 7-31-recoveries.zip extract some where, choose which recovery you want to run, rename to recovery.zip, then execute trigger choice. make sure trigger script is executable All four triggers are included in the trigger script.
1. cwm_recovery.zip
2. twrp_3830_recovery.zip
3. twrp_i700_recovery.zip

To use trigger script, open terminal in directory where files have been extracted.

Code:
adb reboot bootloader

choose which trigger you want to use.

Trigger 1
Code:
sudo  ./trigger 1
Trigger 2
Code:
sudo  ./trigger 2
Trigger 3
Code:
sudo ./trigger 3
Trigger 4
Code:
sudo ./trigger 4



-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
Below is older version, it's recommend to use version above.


Download for older version.
http://www.mediafire.com/download/c4kdv4qv7nkq3gv/Linux_tethered_cwm.zip

Download Linux_tethered_cwm.zip to your desktop extract set start_recovery as executable, make sure usb debugging is setup and working.

Place UPDATE-SuperSU-v2.37.zip on micro sdcard or on internal sdcard or both wont hurt anything.

open terminal in folder where you extracted files.
Code:
adb reboot bootloader
once you are in fastboot
Code:
sudo ./start_recovery
now use recovery to navigate to UPDATE-SuperSU-v2.37.zip and install it, after finished reboot to system, select no on su question.

Update thread, below are the latest adb and fastboot binary files from Google, the fastboot binary from Google is smaller then the one I compiled., as of Dec 9, Googles latest fastboot binary now supports intel devices.

http://www.mediafire.com/download/qvlw80zebqfmbxx/adb_fastboot.tar

Change log 7-31-2015

Twrp has been updated to 2.8.7.0

This version includes @social-design-concepts latest trigger (fbrl.trigger) and launcher (recovery.launcher), Also included is a script for Tesco Hudl 2 users, this device requires addition info to launch fastboot commands.

For Tesco Hudl 2 users use hudl2 script instead of trigger, or you can still manually edit trigger if you want.

Code:
adb reboot bootloader

Code:
sudo ./hudl2
 
Last edited:

madmcgee

New member
Nov 30, 2014
3
0
Hi vampirefo I can get to recovery mode and when I select SuperSU 2.35 or 2.37 it starts to install then I get an error saying "E: failed to verify whole-file signature from /tmp/sideload/package.zip" "E:signature verification failed" Installation aborted. I'm Kinda stuck now :confused:
 

vampirefo

Senior Member
Apr 3, 2010
3,242
1,636
This is the Linux version of @social-design-concepts windows version of Tethered CWM Recovery.

Purpose of this guide is to root intel tablets without a windows computer, using Linux computer.

This project includes the work of three people perhaps more.

This method uses 3rd trigger, if you want to use another trigger simply edit start_recovery, to reflect the trigger you want to use.

@vampirefo
Linux Fastboot Binary, intel compatible cwm recovery.
http://forum.xda-developers.com/dell-venue/general/dell-venue-8-cwm-unsecure-boot-recovery-t2866925

@Chainfire
super user package update-supersu-v2.37.zip
http://forum.xda-developers.com/showthread.php?t=1538053

@social-design-concepts
recovery.launcher, recovery.envsetup, triggers
http://forum.xda-developers.com/showthread.php?t=2681783

Download
http://www.mediafire.com/download/c4kdv4qv7nkq3gv/Linux_tethered_cwm.zip

Download Linux_tethered_cwm.zip to your desktop extract set start_recovery as executable, make sure usb debugging is setup and working.

Place UPDATE-SuperSU-v2.37.zip on micro sdcard or on internal sdcard or both wont hurt anything.

open terminal in folder where you extracted files.
Code:
adb reboot bootloader
once you are in fastboot
Code:
sudo ./start_recovery
now use recovery to navigate to UPDATE-SuperSU-v2.37.zip and install it, after finished reboot to system, select no on su question.
You can't flash anything from stock recovery, you need to use my cwm recovery.

Sent from my i700 using Tapatalk
 

Dagege

New member
Dec 6, 2014
2
0
This is the Linux version of @social-design-concepts windows version of Tethered CWM Recovery.

Purpose of this guide is to root intel tablets without a windows computer, using Linux computer.

This project includes the work of three people perhaps more.

This method uses 3rd trigger, if you want to use another trigger simply edit start_recovery, to reflect the trigger you want to use.

@vampirefo
Linux Fastboot Binary, intel compatible cwm recovery.
http://forum.xda-developers.com/dell-venue/general/dell-venue-8-cwm-unsecure-boot-recovery-t2866925

@Chainfire
super user package update-supersu-v2.37.zip
http://forum.xda-developers.com/showthread.php?t=1538053

@social-design-concepts
recovery.launcher, recovery.envsetup, triggers
http://forum.xda-developers.com/showthread.php?t=2681783

Download
http://www.mediafire.com/download/c4kdv4qv7nkq3gv/Linux_tethered_cwm.zip

Download Linux_tethered_cwm.zip to your desktop extract set start_recovery as executable, make sure usb debugging is setup and working.

Place UPDATE-SuperSU-v2.37.zip on micro sdcard or on internal sdcard or both wont hurt anything.

open terminal in folder where you extracted files.
Code:
adb reboot bootloader
once you are in fastboot
Code:
sudo ./start_recovery
now use recovery to navigate to UPDATE-SuperSU-v2.37.zip and install it, after finished reboot to system, select no on su question.


for 3730 or 3830?:laugh:
 

vampirefo

Senior Member
Apr 3, 2010
3,242
1,636
Added Google's latest adb and fastboot binaries files to first OP. I always recommend and use the latest version of these binaries myself. I had to compile my own fastboot binary cause Google didn't have one that supported intel, now they do, I recommend people use it.
 

vampirefo

Senior Member
Apr 3, 2010
3,242
1,636
I have a stupid question.

How use command: sudo ./start_recovery in fastboot mode?

I use this tutorial: http://forum.xda-developers.com/android/development/intel-android-devices-root-temp-cwm-t2975096 to root my tab but when i'd like to use this mod: http://forum.xda-developers.com/and...mod-projct-mod-boost-nitro-x-edition-t2809443 it doesnt work... error 255, how about this method?
This is for Linux, not windows, you type the command in terminal.

sent from my kingSing T1 via taptalk
 

vampirefo

Senior Member
Apr 3, 2010
3,242
1,636

kepalakayu

Member
Jul 18, 2010
32
3
Nantes
Excellent , happy 2015

Wow ! Great!
As I fumbled with many problems in Windows, I got the first shot easily from Linux.
Thank you all for your excellent work.
I will now install a dual Android / Linux on my tablet (Iconia Tab 8 FHD + SDCard)
My advice to this method of rooting , even with a bootable Live CD .
Thank you and ... Happy New Year 2015 !
 
  • Like
Reactions: vampirefo

surajmal

New member
Jan 3, 2015
1
0
Stuck trying to root....!! Please help me out of this...

My auditor sir said me that he has forgotten password for dell venue 7 - i just wanted to help him out with the help of " adb shell unlock code method " but didnt succeed..... then in fastboot mode i just typed the code " Fastboot erase system " now when i boot the device it stops at dell logo screen for hours & hours.... Now i dont know what to do... I just want to hand him over the phone but not like this..... he will kill me.... kindly please help me ... i beg u guyz..... Please :mad::mad::mad::confused::confused::confused:


This is the Linux version of @social-design-concepts windows version of Tethered CWM Recovery.

Purpose of this guide is to root intel tablets without a windows computer, using Linux computer.

This project includes the work of three people perhaps more.

This method uses 3rd trigger, if you want to use another trigger simply edit start_recovery, to reflect the trigger you want to use.

@vampirefo
Linux Fastboot Binary, intel compatible cwm recovery.
http://forum.xda-developers.com/dell-venue/general/dell-venue-8-cwm-unsecure-boot-recovery-t2866925

@Chainfire
super user package update-supersu-v2.37.zip
http://forum.xda-developers.com/showthread.php?t=1538053

@social-design-concepts
recovery.launcher, recovery.envsetup, triggers
http://forum.xda-developers.com/showthread.php?t=2681783

Download
http://www.mediafire.com/download/c4kdv4qv7nkq3gv/Linux_tethered_cwm.zip

Download Linux_tethered_cwm.zip to your desktop extract set start_recovery as executable, make sure usb debugging is setup and working.

Place UPDATE-SuperSU-v2.37.zip on micro sdcard or on internal sdcard or both wont hurt anything.

open terminal in folder where you extracted files.
Code:
adb reboot bootloader
once you are in fastboot
Code:
sudo ./start_recovery
now use recovery to navigate to UPDATE-SuperSU-v2.37.zip and install it, after finished reboot to system, select no on su question.

Update thread, below are the latest adb and fastboot binary files from Google, the fastboot binary from Google is smaller then the one I compiled., as of Dec 9, Googles latest fastboot binary now supports intel devices.

http://www.mediafire.com/download/qvlw80zebqfmbxx/adb_fastboot.tar
 

joanthanmajh

Senior Member
Dec 25, 2013
247
71
Samsung Galaxy S21
My auditor sir said me that he has forgotten password for dell venue 7 - i just wanted to help him out with the help of " adb shell unlock code method " but didnt succeed..... then in fastboot mode i just typed the code " Fastboot erase system " now when i boot the device it stops at dell logo screen for hours & hours.... Now i dont know what to do... I just want to hand him over the phone but not like this..... he will kill me.... kindly please help me ... i beg u guyz..... Please :mad::mad::mad::confused::confused::confused:

You deleted the system, you have to download the stock images and use fastboot to flash system

http://forum.xda-developers.com/showthread.php?p=51090040

[TOOL KIT] myKIT_BATCHV1.1.x
 

vampirefo

Senior Member
Apr 3, 2010
3,242
1,636
My auditor sir said me that he has forgotten password for dell venue 7 - i just wanted to help him out with the help of " adb shell unlock code method " but didnt succeed..... then in fastboot mode i just typed the code " Fastboot erase system " now when i boot the device it stops at dell logo screen for hours & hours.... Now i dont know what to do... I just want to hand him over the phone but not like this..... he will kill me.... kindly please help me ... i beg u guyz..... Please :mad::mad::mad::confused::confused::confused:

?????????????? " Fastboot erase system "

This command isn't part of rooting, this command removes your OS, you can't boot cause you have nothing to boot, no way you got that command from my root instructions.

My root instructions are two lines.

Code:
adb reboot bootloader

Code:
sudo ./start_recovery

You are going to have to install a OS, 3 to choose from, I would go with 4.4.2
 
  • Like
Reactions: tomtom1265

tomtom1265

Senior Member
Sep 8, 2012
105
35
Can this be done without any of sdc binary files?

Vamp, a few questions for you.

Can this be done without any of sdc's binary files? Can this be done with just script files or command line?

Can we root, and or use your recovery without closed source files?
@social-design-concepts hasn't released his source yet, and he has implied it can't be done without his binary files. I don't know just asking.

When sdc releases his source will we be able to make scripts, and not use binary files? script files or command line, shows users exactly what is happening closed binaries files don't.
 

social-design-concepts

Senior Member
Aug 30, 2012
2,392
1,841
Cincinnati
Vamp, a few questions for you.

Can this be done without any of sdc's binary files? Can this be done with just script files or command line?

Can we root, and or use your recovery without closed source files?

@social-design-concepts hasn't released his source yet, and he has implied it can't be done without his binary files. I don't know just asking.

When sdc releases his source will we be able to make scripts, and not use binary files? script files or command line, shows users exactly what is happening closed binaries files don't.

Sorry i'm taking so long, took some personal time for the holidays it can be done via script well t1 and t3 but then you run into the issue of being dependent on shared libraries in the droidboot.img which was what prevented restoring the system partition you would still be dependent on setpropex for changing read only props I tried to spell out everything in the splash but well see if I get around to adding the check that the adbd deamon has started and if not execute the binary direct tonight so I can post the source

Sent from my XT907 using XDA Free mobile app
 

vampirefo

Senior Member
Apr 3, 2010
3,242
1,636
Vamp, a few questions for you.

Can this be done without any of sdc's binary files? Can this be done with just script files or command line?

Can we root, and or use your recovery without closed source files?

@social-design-concepts hasn't released his source yet, and he has implied it can't be done without his binary files. I don't know just asking.

When sdc releases his source will we be able to make scripts, and not use binary files? script files or command line, shows users exactly what is happening closed binaries files don't.

@social-design-concepts has already answered your question, I will expand some what, Yes one can root via command line or via script I do it myself. You need to stop droidboot then start adbd, setup recovery, the recovery is set to be pushed or just use busybox to untar, temp mount /data to get adb key permission or adb wont connect. I have a special adbd which is 100% root all the time, so need to patch or change files to get root out of adbd, I also use the same adbd on my iview i700, to give me adb remount, I have a script to replace the stock adbd on each reboot, so I have adb root or adb remount anytime I want.
This adbd is private though, at the moment not share able.

But to answer your questions yes it can be done.
 
  • Like
Reactions: tomtom1265

vampirefo

Senior Member
Apr 3, 2010
3,242
1,636
Here are my scripts, nothing fancy but they work.

adb reboot bootloader

setup_adb
Code:
#!/bin/bash
fastboot flash /sbin/adbd-recovery ./adbd-recovery
fastboot flash /sbin/partlink ./partlink
fastboot flash /tmp/busybox ./bb
fastboot flash /tmp/recovery.tar ./recovery.tar
fastboot oem stop_partitioning

partlink
Code:
#!/system/bin/sh 
stop adbd
mount -t ext4 /dev/block/mmcblk0p9 /data
#stop fastboot
stop droidboot
rm -r /sbin/adbd
chmod 755 /tmp/busybox
/tmp/busybox tar -xvf /tmp/recovery.tar
mv /etc/recovery.fstab /etc/recovery.fstab.bak
cp /sbin/recovery.fstab /etc/recovery.fstab
chmod 755 /sbin/adbd-recovery
mv /sbin/adbd-recovery /sbin/adbd
/sbin/adbd
start adbd
umount /data

adb shell

/sbin/recovery &
 
Last edited:
  • Like
Reactions: tomtom1265

tomtom1265

Senior Member
Sep 8, 2012
105
35
Here are my scripts, nothing fancy but they work.

adb reboot bootloader

setup_adb
Code:
#!/bin/bash
fastboot flash /sbin/adbd-recovery ./adbd-recovery
fastboot flash /sbin/partlink ./partlink
fastboot flash /tmp/busybox ./bb
fastboot flash /tmp/recovery.tar ./recovery.tar
fastboot oem stop_partitioning

partlink
Code:
#!/system/bin/sh 
stop adbd
mount -t ext4 /dev/block/mmcblk0p9 /data
#stop fastboot
stop droidboot
rm -r /sbin/adbd
chmod 755 /tmp/busybox
/tmp/busybox tar -xvf /tmp/recovery.tar
mv /etc/recovery.fstab /etc/recovery.fstab.bak
cp /sbin/recovery.fstab /etc/recovery.fstab
chmod 755 /sbin/adbd-recovery
mv /sbin/adbd-recovery /sbin/adbd
/sbin/adbd
start adbd
umount /data

adb shell

/sbin/recovery &

WOWW!!!!!!!!!

Beautiful work man, no more closed binary files.

As always very impressive.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 18
    I am not responsible for any damage that may or may not occur to your device.
    If you use my recovery in your project link back to this thread, and give me credit in your thread for my recovery.

    This is the Linux version of TWRP tethered recovery and CWM tethered recovery.
    TWRP 2.8.6.0 recovery, currently tested on two tablets, venue 3830, iview -1700

    screen for 1-700 is 1024x600 landscape
    screen for venue 3830 800x1280 portrait

    Purpose of this guide is to root intel tablets using Linux computer.

    This project includes the work of 4 people perhaps more.

    @vampirefo
    Linux Fastboot Binary, intel compatible cwm recovery.
    http://forum.xda-developers.com/dell-venue/general/dell-venue-8-cwm-unsecure-boot-recovery-t2866925

    @Chainfire
    super user package update-supersu-vxxx.zip
    https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip

    @social-design-concepts
    recovery.launcher, recovery.envsetup, recovery.trigger, triggers and for sharing his work.
    http://forum.xda-developers.com/android/development/intel-android-devices-root-temp-cwm-t2975096
    http://forum.xda-developers.com/showthread.php?t=2681783

    TeamWin for their great recovery.

    Download
    https://www.androidfilehost.com/?fid=24052804347784850


    Download 7-31-recoveries.zip extract some where, choose which recovery you want to run, rename to recovery.zip, then execute trigger choice. make sure trigger script is executable All four triggers are included in the trigger script.
    1. cwm_recovery.zip
    2. twrp_3830_recovery.zip
    3. twrp_i700_recovery.zip

    To use trigger script, open terminal in directory where files have been extracted.

    Code:
    adb reboot bootloader

    choose which trigger you want to use.

    Trigger 1
    Code:
    sudo  ./trigger 1
    Trigger 2
    Code:
    sudo  ./trigger 2
    Trigger 3
    Code:
    sudo ./trigger 3
    Trigger 4
    Code:
    sudo ./trigger 4



    -----------------------------------------------------------------------------------------------
    -----------------------------------------------------------------------------------------------
    Below is older version, it's recommend to use version above.


    Download for older version.
    http://www.mediafire.com/download/c4kdv4qv7nkq3gv/Linux_tethered_cwm.zip

    Download Linux_tethered_cwm.zip to your desktop extract set start_recovery as executable, make sure usb debugging is setup and working.

    Place UPDATE-SuperSU-v2.37.zip on micro sdcard or on internal sdcard or both wont hurt anything.

    open terminal in folder where you extracted files.
    Code:
    adb reboot bootloader
    once you are in fastboot
    Code:
    sudo ./start_recovery
    now use recovery to navigate to UPDATE-SuperSU-v2.37.zip and install it, after finished reboot to system, select no on su question.

    Update thread, below are the latest adb and fastboot binary files from Google, the fastboot binary from Google is smaller then the one I compiled., as of Dec 9, Googles latest fastboot binary now supports intel devices.

    http://www.mediafire.com/download/qvlw80zebqfmbxx/adb_fastboot.tar

    Change log 7-31-2015

    Twrp has been updated to 2.8.7.0

    This version includes @social-design-concepts latest trigger (fbrl.trigger) and launcher (recovery.launcher), Also included is a script for Tesco Hudl 2 users, this device requires addition info to launch fastboot commands.

    For Tesco Hudl 2 users use hudl2 script instead of trigger, or you can still manually edit trigger if you want.

    Code:
    adb reboot bootloader

    Code:
    sudo ./hudl2
    2
    Added Google's latest adb and fastboot binaries files to first OP. I always recommend and use the latest version of these binaries myself. I had to compile my own fastboot binary cause Google didn't have one that supported intel, now they do, I recommend people use it.
    2
    Tesco Hudl2 success!

    Works perfectly when you edit the trigger script and insert

    -i 0x1d4d

    after every fastboot command

    HTH
    2
    Just to report that this method with trigger 3 works perfectly for the Asus Zenfone 2 ZE500CL.
    Thank you very much vampirefo!
    2
    I have a Acer Iconia One 7 B1-730HD I should use the "backup_factory"(T2) option according to the windows thread.

    So I changed the last line in start_recovery to: "./fastboot oem backup_factory". But at the end of the script I got this message: "FAILED (remote: unknown OEM command)" and a similar one on the device. I tried the recovery options anyway but the system rebooted to the "Android system recovery <3e>". Then I tried "stop_partitioning" (T2) I got no error messages but it rebooted to the system recovery. Finaly I tried "startftm", no error message, but when the device rebooted in to the system recovery it froze.

    In the windows thread they mentioned that "oem stop_partitioning" should work on many kitkat builds. But I would rather not upgrade.

    Data from the device
    IAFW v.: F9.E1
    Android: 4.2.2
    Kernel: 3.4.43
    Image v.: Acer_AV052_B1-730HD_RV04RC01_WW_GEN1
    Build number: Acer_AV052_B1-730HDRV04RC01_WW_GEN1
    Image P/N FM.NPA.A0.00T
    Droidboot v.: 2.0

    (According to the "Linux Deploy" Google Play page the latest version should work with Intel devices)

    You get the triggers from /system/bin/droidboot

    adb pull /system/bin/droidboot

    open terminal in directory where you pulled droidboot

    strings ./droidboot > trigger.txt
    grep -Hr backup_factory
    grep -Hr stop_partitioning
    grep -Hr startftm

    Here is my output.

    Code:
    [email protected]:~/Desktop/hh$ strings ./droidboot > trigger.txt
    [email protected]:~/Desktop/hh$ grep -Hr backup_factory
    Binary file droidboot matches
    trigger.txt:sys.backup_factory
    trigger.txt:backup_factory
    [email protected]:~/Desktop/hh$ grep -Hr stop_partitioning
    Binary file droidboot matches
    trigger.txt:stop_partitioning
    [email protected]:~/Desktop/hh$ grep -Hr startftm
    Binary file droidboot matches
    trigger.txt:startftm
    [email protected]:~/Desktop/hh$

    Post your results.