2013/7/17[Recovery] [None touch] CWM Recovery V6.0.3.3 Primou

Search This thread

Ruling

Senior Member
Sep 15, 2012
634
862
www.1024team.com
CWM (ClockWork Mod) is a custom recovery designed to flash unofficial updates, backup and restore your device, and repair it in case of bad-flashed files, as well as a few extras.


  • USB Mount working,Backup and Restore working.
  • None Touch

Introduction.jpg

Download attachment, extract to any directory.
Open the device's USB debugging, run "Run me.bat".
Then will automatically flash recovery.
Download.jpg
Screenshot.jpg

Screenshot_2013_07_18_07.31.06.jpgScreenshot_2013_07_18_07.31.38.jpgScreenshot_2013_07_18_07.40.52.jpgScreenshot_2013_07_18_07.43.35.jpgScreenshot_2013_07_18_07.45.49.jpg

Thanks.jpg
MAXWEN
Rukin5197
CyanogenMod Team
ClockworkMod team
 

Attachments

  • recovery6.0.3.3.img
    4.4 MB · Views: 17,496
Last edited:
A

Abhishek.chaurasia

Guest
You have quoted CyanogenMod team but not the ClockworkMod team.
 

Ruling

Senior Member
Sep 15, 2012
634
862
www.1024team.com
thanks @Lloir for this
This is stuff needed for CWM + USB mounting

# This is needed so CWM will function properly


BOARD_HAS_NO_SELECT_BUTTON := true
BOARD_SDCARD_DEVICE_PRIMARY := /dev/block/mmcblk1p1
BOARD_SDEXT_DEVICE := /dev/block/mmcblk0p32
BOARD_USES_MMCUTILS := false
BOARD_HAS_NO_MISC_PARTITION := false


BOARD_HAS_LARGE_FILESYSTEM := true


# Actual UMS different from TWRP for some reason


BOARD_UMS_LUNFILE := /sys/class/android_usb/f_mass_storage/lun0/file


# Script


TARGET_RECOVERY_INITRC := device/htc/primou/recovery/init-cwm.rc
TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/class/android_usb/android0/f_mass_storage/lun0/file

https://github.com/maxwen/primou/tre...ybean/recovery <---- stuffs needed to. hope this helps
 

Ruling

Senior Member
Sep 15, 2012
634
862
www.1024team.com
no problem, i rememeber trying to get UMS working for CWM as my 1st development, took me near enough 2 weeks :p i assume you know where all those lines go? right?

sorry i just know we need to BoardConfig.mk and recovery.fstab. right?:D

My idea is to add the kernel source code for compilation. But it will be synced to much code .

when I Compilation I synced maxwen's kernel-HELLBOY source and use rukin5197's device
( his recovery.fstab need change.
/cache ext4 /dev/block/mmcblk0p27
need to change to
/cache ext4 /dev/block/mmcblk0p28
,and i added
/misc emmc /dev/block/mmcblk0p17
/devlog ext4 /dev/block/mmcblk0p29
/sd-ext vfat /dev/block/mmcblk1
/emmc vfat /dev/block/mmcblk0p32
)

others i didn't change.Can be used when testing.
View attachment recovery.fstab.zip
 

Ruling

Senior Member
Sep 15, 2012
634
862
www.1024team.com

https://github.com/ruling

I found this
http://xdaforums.com/showthread.php?t=1866545

he said

  • The two files you are interested in are recovery.fstab and kernel. The kernel in that directory is the stock one that was extracted from the boot.img that was provided earlier. For the most part, recovery.fstab will work on most devices that have mtd, emmc, or otherwise named partitions. But if not, recovery.fstab will need to be tweaked to support mounts and their mount points. For example, if your /sdcard mount is /dev/block/mmcblk1p1, you would need the following lines in your BoardConfig.mk

/sdcard vfat /dev/block/mmcblk1p1


Once the recovery.fstab has been properly setup, you can proceed to the next step.
 

Top Liked Posts