FORUMS

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising … more

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we … more

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One … more

[GUIDE] Build CWM recovery

218 posts
Thanks Meter: 418
 
By buffo1987, Senior Member on 4th February 2013, 11:44 AM
Post Reply Subscribe to Thread Email Thread
How to build CWM Recovery
You may also use http://builder.clockworkmod.com/, there you can build touch and non-touch version. Always latest version.
Files needed for this you can find within device files: AriesVE Dev Connection Team github


File location:
/recovery.fstab
/recovery/graphics.c
/recovery/postrecoveryboot.sh
+ any recovery.img, which works on your device

Manually build CWM (non-touch)
(Base is arco cm9, other possible sources and their included CWM Version second post)
  1. Install android sdk http://developer.android.com/sdk/index.html
  2. Install Java
    http://wiki.ubuntuusers.de/Java/Inst...on/Oracle_Java
  3. Install needed libs (Ubuntu 13.04)
    Code:
    sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python
  4. Create Directories
    Code:
    $ mkdir -p ~/bin && mkdir -p ~/android/system
  5. Install repo
    Code:
    $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
    $ chmod a+x ~/bin/repo
  6. Add "~/bin" to PATH of execution
    Code:
    $ gedit ~/.bashrc
    add:
    Code:
    #Android
    export PATH=${PATH}:~/android-sdk/tools
    export PATH=${PATH}:~/android-sdk/platform-tools
    export PATH=${PATH}:~/bin
  7. Initialize Repo & sync
    Code:
    $ cd ~/android/system/
    $ repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1
    $ repo sync
  8. Add device files //possible sources on second post
    Code:
    $ cd ~/android/system/device && mkdir samsung && cd samsung
    $ git clone git://github.com/AriesVE-DevCon-TEAM/android_device_samsung_ariesve -b cm-10.1
  9. Add vendor files ////possible sources on second post
    Code:
    $ cd ~/android/system/vendor && mkdir samsung && cd samsung
    $ git clone git://github.com/ivendor/android_vendor_samsung_ariesve.git -b jellybean ariesve
  10. Prepare device specific code
    Code:
    $ cd ~/android/system/
    $ . build/envsetup.sh
    $ lunch //choose -> cm_ariesve-userdebug
  11. Compile recovery
    Code:
    make clobber && make -j# recoveryimage  //# CPU-Cores+1

Credits
DevConnection_Team
arco68
ivendor
cyanogenmod
Last edited by buffo1987; 29th July 2013 at 01:08 PM.
The Following 27 Users Say Thank You to buffo1987 For This Useful Post: [ View ]
 
 
4th February 2013, 11:46 AM |#2  
buffo1987's Avatar
OP Senior Member
Thanks Meter: 418
 
More
Info 2
Versions of CWM
https://github.com/CyanogenMod/andro...table_recovery -> choose branch -> Android.mk -> Version
cm-9.0 -> 5.5.0.4
ics -> 6.0.1.2
jellybean -> 6.0.2.8
cm 10.1 -> 6.0.3.4

Sources for building CWM

CM9
Arco:
Device files
git clone git://github.com/arco/android_device_samsung_ariesve -b ics-2.6 ariesve
git clone git://github.com/arco/android_device_samsung_ariesve -b ics-3.0 ariesve
Vendor files
git clone git://github.com/arco/android_vendor_samsung_ariesve.git -b ics ariesve

Ivendor:
Device files
git clone git://github.com/ivendor/android_device_samsung_ariesve.git -b ics-2.6 ariesve
git clone git://github.com/ivendor/android_device_samsung_ariesve.git -b ics-3.0 ariesve
Vendor files
git clone git://github.com/ivendor/android_vendor_samsung_ariesve.git -b ics ariesve

CM10
Ivendor:
Device files
git clone git://github.com/ivendor/android_device_samsung_ariesve.git -b jb-2.6 ariesve
git clone git://github.com/ivendor/android_device_samsung_ariesve.git -b jb-3.0 ariesve
Vendor files
git clone git://github.com/ivendor/android_vendor_samsung_ariesve.git -b jellybean ariesve

CM10.1
blackmamba97:
Device files
git clone git://github.com/blackmamba97/android_device_samsung_ariesve.git -b cm-10.1 ariesve

davidteri91:
Device files
git clone git://github.com/Davidteri/android_device_samsung_ariesve.git -b cm-10.1 ariesve
Vendor files
git clone git://github.com/Davidteri/android_vendor_samsung_ariesve.git -b jellybean ariesve

Xistance:
Device files
git clone git://github.com/xistance21/android_device_samsung_ariesve.git -b jb-3.0 ariesve
Vendor files
git clone git://github.com/xistance21/android_vendor_samsung_ariesve.git -b jellybean ariesve

Doomsday94:
Device files
git clone git://github.com/doomsday94/CyanogenMod-10.1-ariesve.git -b master ariesve
Last edited by buffo1987; 29th July 2013 at 12:16 PM.
The Following 6 Users Say Thank You to buffo1987 For This Useful Post: [ View ]
4th February 2013, 11:46 AM |#3  
buffo1987's Avatar
OP Senior Member
Thanks Meter: 418
 
More
reserved
The Following 3 Users Say Thank You to buffo1987 For This Useful Post: [ View ]
4th February 2013, 12:21 PM |#4  
anuseb89's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 407
 
More
Re: [GUIDE] Build CWM recovery
Good work man...now you are our dedicated person for recovery it seems.....

Sent from my GT-I9001 using xda app-developers app
4th February 2013, 12:45 PM |#5  
buffo1987's Avatar
OP Senior Member
Thanks Meter: 418
 
More
Quote:
Originally Posted by anuseb89

Good work man...now you are our dedicated person for recovery it seems.....

Sent from my GT-I9001 using xda app-developers app

I'll do my best .
In fact i hope that we can get more stability if more people know how to compile. Especially twrp has some interesting flags e.g. TARGET_PREBUILT_RECOVERY_KERNEL := path/to/kernel -- use to specify a kernel specifically for building recovery.
4th February 2013, 12:58 PM |#6  
XeLLaR*'s Avatar
Senior Member
Flag DevConnection
Thanks Meter: 4,699
 
More
I would like to say that you can use CWM 5.5.0.4 for Gingerbread, ICS & Jellybean without any problems. Its more reliable than any other CWM or TWRP we have.

Only the usage of the volume rockers for going up and down in the menü is a little bit annoying and not that good for the device.
The Following 2 Users Say Thank You to XeLLaR* For This Useful Post: [ View ]
20th March 2013, 04:56 PM |#7  
Harshraj's Avatar
Senior Member
Flag Kalyan
Thanks Meter: 393
 
Donate to Me
More
background wallpaper change
how to change the backgroung wallpaper of my cwm recovery ..??
20th March 2013, 10:47 PM |#8  
Senior Member
Thanks Meter: 959
 
Donate to Me
More
R: [GUIDE] Build CWM recovery
Is there a way to manually build a touch version?

Inviato dal mio GT-I8150 con Tapatalk 2
21st March 2013, 01:39 AM |#9  
buffo1987's Avatar
OP Senior Member
Thanks Meter: 418
 
More
AW: [GUIDE] Build CWM recovery
Quote:
Originally Posted by Harshraj

how to change the backgroung wallpaper of my cwm recovery ..??

Never thought about that, so i do not know





Quote:
Originally Posted by miki2o

Is there a way to manually build a touch version?

Inviato dal mio GT-I8150 con Tapatalk 2

Noway
21st March 2013, 01:57 AM |#10  
Harshraj's Avatar
Senior Member
Flag Kalyan
Thanks Meter: 393
 
Donate to Me
More
Re: [GUIDE] Build CWM recovery
Quote:
Originally Posted by buffo1987

Never thought about that, so i do not know







Noway

Please do think about that !!!

Sent from my GT-S7500 using xda app-developers app
28th March 2013, 06:34 PM |#11  
amank22's Avatar
Junior Member
Flag greater noida
Thanks Meter: 6
 
More
Re: [GUIDE] Build CWM recovery
Hey sir,how to use dat recovery builder???wat file to add in that recovery image file??

Sent from my A52 using xda app-developers app

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes