[HTC EVO 3D] jcfunk:
From what I've tested the backup and restore functions work. the formatting functions did work, in the recovery. Found problem with rom was data part not mounting, and fixed with edit to init.shooter.rd. will post my file, it boots just cant get a rom to install, aroma locks up.

Sent from my DOWNGRADED EVO 3D

---------- Post added at 12:19 PM ---------- Previous post was at 12:12 PM ----------

on early-init
export EXTERNAL_STORAGE /mnt/sdcard
mkdir /mnt/sdcard 0000 system system
# for backwards compatibility
symlink /mnt/sdcard /sdcard

on early-fs
mkdir /system
mkdir /data 0771 system system
mkdir /cache 0770 system cache
mkdir /devlog 0700 root root

#8x60: firmware
rm /vendor
mkdir /vendor 0771 system system
mkdir /vendor/firmware 0771 system system
mkdir /vendor/firmware/misc 0771 system system
wait /dev/block/mmcblk0p18
mount vfat /dev/block/mmcblk0p18 /vendor/firmware/misc ro shortname=lower
symlink /vendor/firmware/misc/q6.b07 /vendor/firmware/q6.b07
symlink /vendor/firmware/misc/q6.b06 /vendor/firmware/q6.b06
symlink /vendor/firmware/misc/q6.b05 /vendor/firmware/q6.b05
symlink /vendor/firmware/misc/q6.b04 /vendor/firmware/q6.b04
symlink /vendor/firmware/misc/q6.b03 /vendor/firmware/q6.b03
symlink /vendor/firmware/misc/q6.b02 /vendor/firmware/q6.b02
symlink /vendor/firmware/misc/q6.b01 /vendor/firmware/q6.b01
symlink /vendor/firmware/misc/q6.b00 /vendor/firmware/q6.b00
symlink /vendor/firmware/misc/q6.mdt /vendor/firmware/q6.mdt
symlink /vendor/firmware/misc/modem.b09 /vendor/firmware/modem.b09
symlink /vendor/firmware/misc/modem.b08 /vendor/firmware/modem.b08
symlink /vendor/firmware/misc/modem.b07 /vendor/firmware/modem.b07
symlink /vendor/firmware/misc/modem.b06 /vendor/firmware/modem.b06
symlink /vendor/firmware/misc/modem.b05 /vendor/firmware/modem.b05
symlink /vendor/firmware/misc/modem.b04 /vendor/firmware/modem.b04
symlink /vendor/firmware/misc/modem.b03 /vendor/firmware/modem.b03
symlink /vendor/firmware/misc/modem.b02 /vendor/firmware/modem.b02
symlink /vendor/firmware/misc/modem.b01 /vendor/firmware/modem.b01
symlink /vendor/firmware/misc/modem.b00 /vendor/firmware/modem.b00
symlink /vendor/firmware/misc/modem.mdt /vendor/firmware/modem.mdt
symlink /system/vendor/firmware/fw_bcm4329.bin /vendor/firmware/fw_bcm4329.bin
symlink /system/vendor/firmware/fw_bcm4329_apsta.bin /vendor/firmware/fw_bcm4329_apsta.bin
symlink /system/vendor/firmware/bcm4329.hcd /vendor/firmware/bcm4329.hcd
mount ext4 /dev/block/mmcblk0p23 /system wait ro data=ordered noauto_da_alloc
devwait emmc@userdata
#exec /system/bin/tune2fs -o journal_data_writeback /dev/block/mmcblk0p24
exec /system/xbin/busybox mount -o rw /dev/block/mmcblk0p24 /data
# mount ext4 /dev/block/mmcblk0p24 /data wait
mount ext4 /dev/block/mmcblk0p25 /cache wait noatime nosuid nodev data=ordered noauto_da_alloc
mount ext4 /dev/block/mmcblk0p28 /devlog wait noatime nosuid nodev data=ordered noauto_da_alloc

on init
# double check the perms and set owner
chown root root /devlog
chmod 0700 /devlog

mount rootfs rootfs / remount

# for Invense MPU3050
chmod 0664 /dev/mpu
chmod 0664 /dev/mpuirq
chmod 0664 /dev/timerirq
chown system system /dev/mpu
chown system system /dev/mpuirq
chown system system /dev/timerirq

on boot
mkdir /data/radio 0770 radio radio
mkdir /data/misc/wifi 0770 wifi wifi
mkdir /data/misc/wifi/sockets 0770 wifi wifi
mkdir /data/misc/dhcp 0770 dhcp dhcp
chown dhcp dhcp /data/misc/dhcp
mkdir /data/misc/wimax 0770 wimax wimax
mkdir /data/misc/wimax/sockets 0770 wimax wimax
mkdir /data/wimax/ 0770 system system
mkdir /data/wimax/log 0770 system system

# bluetooth power up/down interface
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/state
chmod 0660 /sys/class/rfkill/rfkill0/state

# for display
chown system system /sys/devices/virtual/graphics/fb1/format_3d
chmod 0644/sys/devices/virtual/graphics/fb1/format_3d
chown system system/sys/devices/platform/panel_3d/3D_mode
chmod 0644/sys/devices/platform/panel_3d/3D_mode

# for wireless modem
chown system system /sys/module/serial/parameters/modem_enabled
chown system system /dev/ttyHSUSB0
chown system system /dev/ttySA0
chown system system /dev/smd9

# for Flip to speaker
chown radio radio /sys/class/htc_accelerometer/accelerometer/PhoneOnOffFlag
chown radio radio /sys/class/htc_ecompass/ecompass/PhoneOnOffFlag

# for Optical sensors
chown system system /sys/class/optical_sensors/lightsensor/ls_adc
chown system system /sys/class/optical_sensors/lightsensor/ls_auto
chown system system /sys/class/optical_sensors/lightsensor/ls_kadc
chown system radio /sys/class/optical_sensors/proximity/ps_adc
chown system system /sys/class/optical_sensors/proximity/ps_kadc
chown system system /sys/class/optical_sensors/proximity/ps_led
chown system system /sys/class/optical_sensors/proximity/ps_test_mode

# for simlock
chown radio radio /dev/simlock
chmod 0660 /dev/simlock

# Widevine DRM
chown drm system /dev/htcdrm
chmod 0660 /dev/htcdrm

# for charging function
chown radio radio /sys/module/htc_battery_8x60/parameters/phone_call
chmod 0660 /sys/module/htc_battery_8x60/parameters/phone_call
# to enable low charge current in voice call
chown radio radio /sys/class/power_supply/battery/charger_control
chmod 0660 /sys/class/power_supply/battery/charger_control

# for Slate charging timer
chown radio /sys/class/power_supply/battery/charger_timer

# Discretix DRM
mkdir /data/DxDrm
mkdir /data/DxDrm/fuse
mkdir /data/DxDrm/Credentials
mkdir /data/DxDrm/Credentials/PlayReady
chmod 555 /data/DxDrm
copy /etc/DxPrdyProvisionObf.pkg /data/DxDrm/Credentials/PlayReady/DxPrdyProvisionObf.pkg
copy /etc/DxDrmConfig_Server.txt /data/DxDrm/DxDrmConfig_Server.txt

# HTC SSD Battery - BEGIN
# for RIL to notify battery driver talking and network_search state
chown radio radio /sys/class/power_supply/battery/phone_call
# HTC SSD Battery - END

# Force loading of modem and Q6 images
service load-modem /system/bin/load-modem.sh
oneshot

#service wpa_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant -Dnl80211 -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf -puse_p2p_group_interface=1
service wpa_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant -Dwext -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
# we will start as root and wpa_supplicant will switch to user wifi
# after setting up the capabilities required for WEXT
# user wifi
# group wifi inet keystore
socket wpa_wlan0 dgram 660 wifi wifi
disabled
oneshot

service dhcpcd_wlan0 /system/bin/dhcpcd -ABKL
disabled
oneshot

service dhcpcd_p2p /system/bin/dhcpcd -aABKL
disabled
oneshot

service dhcpWimax /system/bin/dhcpcd -ABKL -f /etc/wimax/dhcp/wimaxDhcp.conf wimax0
disabled
oneshot

service iprenew_wlan0 /system/bin/dhcpcd -n
disabled
oneshot

service iprenew_p2p /system/bin/dhcpcd -n
disabled
oneshot

# bugreport is triggered by the KEY_VOLUMEUP and KEY_VOLUMEDOWN keycodes
service bugreport /system/bin/dumpstate -d -v -o /sdcard/bugreports/bugreport
disabled
oneshot
keycodes 114 115

#service hciattach /system/bin/brcm_patchram_plus --enable_hci --patchram /etc/firmware/bcm4329.hcd /dev/ttyHS0
# user bluetooth
# group bluetooth net_bt_admin
# disabled

# Make sure we startup btld before hcid
# Set target address to emulator host loopback IF
# Limit baudrate to 460800 to ensure reliable uart operation
service btld /system/bin/btld -lpm 1 -hb 3000000
user root
group bluetooth net_bt_admin
disabled
oneshot

# for USB internet sharing
service udhcpd /system/bin/udhcpd
disabled
oneshot

service netsharing_on /system/bin/netsharing net on
disabled
oneshot

service netsharing_off /system/bin/netsharing net off
disabled
oneshot

service netsharing_pass /system/bin/netsharing net_pass on
disabled
oneshot

service rmt_storage /system/bin/rmt_storage /dev/block/mmcblk0p27 /dev/block/mmcblk0p28 /dev/block/mmcblk0p19
user root
disabled

service qmuxd /system/bin/qmuxd

service netmgrd /system/bin/netmgrd

on property:ro.use_data_netmgrd=false
# netmgr not supported on specific target
stop netmgrd

# for modem link
service modem /system/xbin/wireless_modem
user system
group system radio
disabled

on property:service.modem.enable=1
start modem

on property:service.modem.enable=0
stop modem

on property:ro.emmc=1
start rmt_storage

service sequansd /system/bin/sequansd /etc/wimax/sequansd/sequansd_app.xml
user root
group root inet
socket sequansd_0 dgram 660 root root
disabled
oneshot

service wimaxDhcpRelease /system/bin/wimaxDhcpRelease
user root
group root
disabled
oneshot

service wimaxDhcpRenew /system/bin/wimaxDhcpRenew
user root
group root
disabled
oneshot

service wimaxAddRoute /system/bin/wimaxAddRoute
user root
group root
disabled
oneshot

service wimaxDumpLogcat /system/bin/wimaxDumpLogcat /data/wimax/log
user root
group root
disabled
oneshot

service wimaxDumpKmsg /system/bin/wimaxDumpKmsg /data/wimax/log
user root
group root
disabled
oneshot

service wimaxDumpLastKmsg /system/bin/wimaxDumpLastKmsg /data/wimax/log
user root
group root
disabled
oneshot

service wmxCfgItf /system/bin/wimaxConfigInterface
user root
group root
disabled
oneshot

service wimaxDaemon /system/bin/wimaxDaemon
user root
group root

# wimax_mtd daemon
service wimax_mtd /system/bin/wimax_mtd
user root
group root
oneshot

# setWMXPropd daemon
service setWMXPropd /system/bin/setWiMAXPropDaemond
user root
group root
oneshot

# getWMXPropd daemon
service getWMXPropd /system/bin/getWiMAXPropDaemond
user root
group root
oneshot

service dmagent /system/bin/dmagent -N -P19 -VSY
socket dmagent stream 660 root radio
user root
group radio cache inet misc

service srv_ser2net /system/bin/ser2net -n
disabled

on property:service.ser2net.enable=1
start srv_ser2net

on property:service.ser2net.enable=0
stop srv_ser2net

service hdmid /system/bin/hdmid
socket displayd stream 0660 root system graphics

service htcbatt /system/bin/htcbatt
user root

service dcvs0 /system/bin/dcvs --cpu=0 --slacktime=16
user root
disabled

service dcvs1 /system/bin/dcvs --cpu=1 --slacktime=16
user root
disabled

service mpdecision /system/bin/mpdecision --no_sleep --avg_comp --single_core_while_panel_off
user root
disabled

on property:init.svc.bootanim=stopped
start qcom-post-boot
# Overwrite ActivityManager's low memory killer settings (stock settings)
#write /sys/module/lowmemorykiller/parameters/adj 0,2,4,7,9,12
#write /sys/module/lowmemorykiller/parameters/minfree 6379,8125,9871,11919,20497,25282
#write /sys/module/lowmemorykiller/parameters/minfile 6379,8125,9871,11919,20497,25282
write /sys/module/lowmemorykiller/parameters/check_filepages 1

#viperROM settings
write /sys/module/lowmemorykiller/parameters/adj 0,4,6,8,14,15
write /sys/module/lowmemorykiller/parameters/minfree 2048,3072,4096,6144,41472,50944
write /sys/module/lowmemorykiller/parameters/minfile 2048,3072,4096,6144,41472,50944

# Protect more low memory pages
write /proc/sys/vm/min_free_kbytes 4096
start mpdecision

service qcom-post-boot /system/bin/sh /system/etc/init.qcom.post_boot.sh
user root
disabled
oneshot

service htc_ebdlogd /system/bin/htc_ebdlogd -s -k -P 7
user root
disabled
oneshot
ioprio idle 0

service htc_ebdlogd_rel /system/bin/htc_ebdlogd -s -k
user root
disabled
oneshot
ioprio idle 0

service 3d_camera /system/bin/3D_calibration
user root

# Discretix DRM
service dx_drm_server /system/bin/DxDrmServerIpc -f -o allow_other /data/DxDrm/fuse

on property:ro.build.tags=test-keys
start htc_ebdlogd

on property:ro.build.tags=release-keys
start htc_ebdlogd_rel

Sent from my DOWNGRADED EVO 3D