[Android Software/Hacking General [Developers Only]] Diogenes5:
Hi, been trying to get this type of app to work with my HTC Amaze for a while. I checked with the developer of my rom and he said init scripts were supported. The rom is based off HTC sense and some Jellybean AOSP. Here is my log. It keeps saying error, but the log isn't clear to me as to what.

Any help appreciated. Thanks.

v/Preparing configurations
d/Moving property /data/property/m2sd.enable_reversed_mount into /props/
d/Moving property /data/property/m2sd.enable_sdext_journal into /props/
d/Moving property /data/property/m2sd.enable_swap into /props/
d/Moving property /data/property/m2sd.enabled into /props/
d/Moving property /data/property/m2sd.move_apps into /props/
d/Moving property /data/property/m2sd.move_dalvik into /props/
d/Moving property /data/property/m2sd.move_data into /props/
d/Moving property /data/property/m2sd.no_tmpfs_cache into /props/
d/Moving property /data/property/m2sd.run_sdext_fschk into /props/
d/Moving property /data/property/m2sd.set_sdcard_readahead into /props/
d/Moving property /data/property/m2sd.set_sdext_fstype into /props/
d//system/bin/servicemanager is running, disabling property /data/property/m2sd.move_dalvik to prepare safe-mode
d//system/bin/servicemanager is running, disabling property /data/property/m2sd.move_data to prepare safe-mode
d//system/bin/servicemanager is running, disabling property /data/property/m2sd.enable_reversed_mount to prepare safe-mode
v/The script is running in safe-mode!
v/Optimizing the internal nand partitions
d/Located the device /dev/block/mmcblk0p29 belonging to /system
d/Located the device MM number 179:29 belonging to /system
v/Setting optimized mount parameters on system
d/Located the device /dev/block/mmcblk0p31 belonging to /data
d/Located the device MM number 179:31 belonging to /data
v/Setting optimized mount parameters on data
d/Located the device /dev/block/mmcblk0p30 belonging to /cache
d/Located the device MM number 179:30 belonging to /cache
v/Setting optimized mount parameters on cache
v/Waiting for sdcard to initiate
d/Preparing try number 1 for locating the sdcard
d/Checking device type on /sys/block/mmcblk0
d/Checking device type on /sys/block/mmcblk1
v/The sdcard device was located at /dev/block/mmcblk1
d/The sdcard MM number was located at 179:64
v/Setting sdcard readahead to 512Kb
v/Checking sdcard partitions
d/Looking for device file /dev/block/mmcblk1p1
v/Using /dev/block/mmcblk1p1 as fat32 (sdcard)
d/Looking for device file /dev/block/mmcblk1p2
v/Using /dev/block/mmcblk1p2 as ext4 (sd-ext)
d/Looking for device file /dev/block/mmcblk1p3
d/Device file /dev/block/mmcblk1p3 does not exist
v/Running file system check on sd-ext
v/Setting optimized mount parameters on sd-ext
d/Ext4 file system detected, checking journal settings
d/Journal settings is set to auto. Keeping default settings
d/Starting mount operating on sd-ext
d/Trying to mount sd-ext as ext4 on /sd-ext with options 'noatime,nodiratime,relatime,noauto_da_alloc,data=ordered,commit=15,barrier=1,nouser_xattr,errors=continue,nosuid,nodev'
d/The sd-ext partition was mounted, now testing writeable state
v/The sd-ext partition was mounted successfully at /sd-ext
v/Preparing to move content between /data and /sd-ext
d/Looking in /sd-ext/htcfs to see if something should be reverted back to /data/htcfs
d/Looking in /sd-ext/dontpanic to see if something should be reverted back to /data/dontpanic
d/Looking in /sd-ext/radio to see if something should be reverted back to /data/radio
d/Looking in /sd-ext/resource-cache to see if something should be reverted back to /data/resource-cache
d/Looking in /sd-ext/drm to see if something should be reverted back to /data/drm
d/Looking in /sd-ext/data to see if something should be reverted back to /data/data
d/Looking in /sd-ext/dalvik-cache to see if something should be reverted back to /data/dalvik-cache
d/Looking in /sd-ext/app to see if something should be reverted back to /data/app
d/Looking in /sd-ext/app-private to see if something should be reverted back to /data/app-private
d/Looking in /sd-ext/app-asec to see if something should be reverted back to /data/app-asec
d/Looking in /sd-ext/app-system to see if something should be reverted back to /data/app-system
d/Looking in /sd-ext/property to see if something should be reverted back to /data/property
d/Looking in /sd-ext/misc to see if something should be reverted back to /data/misc
d/Looking in /sd-ext/system to see if something should be reverted back to /data/system
d/Looking in /sd-ext/local to see if something should be reverted back to /data/local
d/Looking in /sd-ext/tombstones to see if something should be reverted back to /data/tombstones
d/Looking in /sd-ext/secure to see if something should be reverted back to /data/secure
d/Making sure that the init.rc defined folder /data/htcfs exists
d/Making sure that the init.rc defined folder /data/dontpanic exists
d/Making sure that the init.rc defined folder /data/misc exists
d/Making sure that the init.rc defined folder /data/misc/bluetoothd exists
d/Making sure that the init.rc defined folder /data/misc/bluetooth exists
d/Making sure that the init.rc defined folder /data/misc/keystore exists
d/Making sure that the init.rc defined folder /data/misc/keychain exists
d/Making sure that the init.rc defined folder /data/misc/vpn exists
d/Making sure that the init.rc defined folder /data/misc/systemkeys exists
d/Making sure that the init.rc defined folder /data/misc/wifi exists
d/Making sure that the init.rc defined folder /data/local exists
d/Making sure that the init.rc defined folder /data/local/tmp exists
d/Making sure that the init.rc defined folder /data/data exists
d/Making sure that the init.rc defined folder /data/app-private exists
d/Making sure that the init.rc defined folder /data/app exists
d/Making sure that the init.rc defined folder /data/property exists
d/Making sure that the init.rc defined folder /data/radio exists
d/Making sure that the init.rc defined folder /data/dalvik-cache exists
d/Making sure that the init.rc defined folder /data/resource-cache exists
d/Making sure that the init.rc defined folder /data/lost+found exists
d/Making sure that the init.rc defined folder /data/drm exists
d/Making sure that the init.rc defined folder /data/secure exists
d/Making sure that the init.rc defined folder /data/secure/data exists
d/Making sure that the init.rc defined folder /data/data/cw exists
d/Making sure that the init.rc defined folder /data/data/cwtemp exists
v/Looking for new system apps in /data/app-system to link to /system/app
d/Running S-On test on /system
d/Checking SWAP partition and SWAP settings
d/Handling the Cache partition and it's settings
d/The cache stettings are disabled, leaving cache untouched
v/Executing the final steps of the script
d/Examining how to handle /data/data/com.android.providers.downloads/cache
v/Attaching /data/data/com.android.providers.downloads/cache on /data@providers.downloads@cache
v/Changing permissions on /data/local/tmp
v/Attaching /data/local/tmp on /sd-ext/data@local@tmp
d/Looking for the sqlite3 binary to change the storage threshold
v/Storage threshold is set to 1%