[Android General] xdarthanonx:
Carliv Touch Recovery v2.7 for Alcatel POP C1 4015 (except 4015T)

SCREENSHOTS

KEY FILES

recovery.fstab

[COLOR="Green"]# mount point fstype device [device2]
# Modified by xdarthanonx 27/05/2015[/COLOR]
/boot emmc /dev/bootimg
/misc emmc /dev/misc
/recovery emmc /dev/recovery
/nvram emmc /dev/nvram
/uboot emmc /dev/uboot
/system ext4 /dev/block/mmcblk0p7
/data ext4 /dev/block/mmcblk0p9
/cache ext4 /dev/block/mmcblk0p8
/custpack ext4 /dev/block/mmcblk0p5
[COLOR="Green"]#/mobile_info ext4 /dev/block/mmcblk0p6
#/protect_f ext4 /dev/block/mmcblk0p2
#/protect_s ext4 /dev/block/mmcblk0p3[/COLOR]
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
/sd-ext auto /dev/block/mmcblk1p2

default.prop

[COLOR="Green"]#
# ADDITIONAL_DEFAULT_PROPERTIES
#
# Modified by xdarthanonx 28/05/2015

# Run adbd as root[/COLOR]
ro.secure=0
ro.debuggable=1

ro.allow.mock.location=1
persist.mtk.aee.aed=on
persist.sys.usb.config=mass_storage,adb
persist.sys.root_access=1
persist.service.acm.enable=0
ro.bootloader.mode=download
ro.mount.fs=EXT4

[COLOR="Green"]# begin build properties
# autogenerated by buildinfo.sh[/COLOR]
ro.build.id=JDQ39
ro.build.display.id=Jelly Bean
ro.build.version.incremental=v6CGJ-0
ro.custom.build.version=v6CGJ-0
ro.build.version.sdk=17
ro.build.version.codename=REL
ro.build.version.release=4.2.2
ro.build.date=Tue Jul 15 09:09:57 CST 2014
ro.build.date.utc=1405386597
ro.build.type=user
ro.build.user=int
ro.build.host=int-185
ro.build.tags=release-keys
ro.product.model=ONE TOUCH 4015D
ro.product.display.model=ONE TOUCH 4015D
ro.product.usb.model=ALCATEL ONE TOUCH POP C1
ro.product.brand=TCT
ro.product.name=Yaris35
ro.product.device=Yaris35_GSM
ro.product.board=Yaris35
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=TCT
ro.wifi.channels=
ro.board.platform=mt6572
[COLOR="Green"]# ro.build.product is obsolete; use ro.product.device[/COLOR]
ro.build.product=Yaris35_GSM
[COLOR="Green"]# Do not try to parse ro.build.description or .fingerprint[/COLOR]
ro.build.description=Yaris35-user 4.2.2 JDQ39 v6CGJ-0 release-keys
ro.build.fingerprint=TCT/Yaris35/Yaris35_GSM:4.2.2/JDQ39/v6CGJ-0:user/release-keys
ro.build.characteristics=default
[COLOR="Green"]# end build properties

#
#jrd sys properties
#[/COLOR]
qemu.hw.mainkeys=1
ro.product.locale.language=en
ro.product.locale.region=US
ro.power.key.default.behavior=1
ro.com.google.clientidbase=android-alcatel
ro.def.screen.brightness=75
persist.sys.timezone=UTC
keyguard_no_require_sim=true
usb.manufacturer=TCT
sys.usb.product=ALCATEL ONE TOUCH POP C1
ro.product.resolution=320*480
ro.product.distinguish=yaris35

[COLOR="Green"]# begin mediatek build properties[/COLOR]
ro.mediatek.version.release=ALPS.JB3.MP.V1
ro.mediatek.platform=MT6572
ro.mediatek.chip_ver=S01
ro.mediatek.version.branch=ALPS.JB3.MP
ro.mediatek.version.sdk=1
[COLOR="Green"]# end mediatek build properties

#
# system.prop for generic sdk
#[/COLOR]
ro.opengles.version=131072
ro.kernel.zio=38,108,105,16

[COLOR="Green"]#
# ADDITIONAL_BUILD_PROPERTIES
#[/COLOR]
ro.adb.qemud=1
ro.kernel.android.checkjni=1
ro.alsps_ctp=true
ro.yaris_s_project=true
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt

init.rc

[COLOR="Green"]# Modified by xdarthanonx 28/05/2015[/COLOR]

on early-init
start ueventd

on init
export PATH /sbin
export ANDROID_ROOT /system
export ANDROID_DATA /data
export EXTERNAL_STORAGE /sdcard

symlink /system/etc /etc

mkdir /boot
mkdir /misc
mkdir /storage
mkdir /sdcard
mkdir /internal_sd
mkdir /external_sd
mkdir /sd-ext
mkdir /custpack
mkdir /datadata
mkdir /emmc
mkdir /system
mkdir /data
mkdir /cache
mount /tmp /tmp tmpfs

chown root shell /tmp
chmod 0775 /tmp

write /sys/class/android_usb/android0/enable 0
write /sys/class/android_usb/android0/idVendor 1BBB
write /sys/class/android_usb/android0/idProduct 0165
write /sys/class/android_usb/android0/functions mass_storage,adb
write /sys/class/android_usb/android0/iManufacturer ${ro.product.manufacturer}
write /sys/class/android_usb/android0/iProduct ${ro.product.model}
write /sys/class/android_usb/android0/iSerial [COLOR="Red"]"0123456789ABCDEF"[/COLOR]
write /sys/class/android_usb/android0/enable 1

[COLOR="Green"]#Mount mobile_info[/COLOR]
mkdir /mobile_info
mount ext4 emmc@mobile_info /mobile_info wait commit=1,noauto_da_alloc

[COLOR="Green"]#Mount protect_f[/COLOR]
mkdir /protect_f
mount ext4 emmc@protect_f /protect_f wait commit=1,noauto_da_alloc

[COLOR="Green"]#Mount protect_s[/COLOR]
mkdir /protect_s
mount ext4 emmc@protect_s /protect_s wait commit=1,noauto_da_alloc

[COLOR="Green"]#mount ext4 emmc@custpack /custpack wait commit=1,noauto_da_alloc[/COLOR]

on boot

ifup lo
hostname localhost
domainname localdomain

class_start default

on property:sys.powerctl=*
powerctl ${sys.powerctl}

service ueventd /sbin/ueventd
critical

service recovery /sbin/recovery

service setup_adbd /sbin/setup_adbd
oneshot

service adbd /sbin/adbd recovery
disabled

[COLOR="Green"]# Recovery will start adb once it has checked the keys[/COLOR]

on property:ro.debuggable=1
[COLOR="Green"]#write /sys/class/android_usb/android0/enable 1
#start adbd[/COLOR]
setprop service.adb.root 1

[COLOR="Green"]# Restart adbd so it can run as root[/COLOR]
on property:service.adb.root=1
write /sys/class/android_usb/android0/enable 0
restart adbd
write /sys/class/android_usb/android0/enable 1

​

Thanks:

[MENTION=5186178]carliv[/MENTION] for Carliv Image Kitchen, base CTR image and porting guide

makers_mark for Recovery Screenshot

* WILL NOT WORK WITH 4015T *

(encrypted bootloader)​