[Android Software/Hacking General [Developers Only]] carl1961:
line 127 col 2: syntax error, unexpected ')', remove coma from 0

"HTC IME",	"HTC Stock IME",	0,

"HTC IME",	"HTC Stock IME",	0

line 206 col 2: syntax error, unexpected ')', remove coma from 0

"Visualization Live Wallpaper", "All music visualization together, slowly revolving 3D",0,

"Visualization Live Wallpaper", "All music visualization together, slowly revolving 3D",0

line 297 col 3: syntax error, unexpected $end, is from the error's above

always remove the last coma at the end of each segmant , in aroma-config

I failed to do this a lot, amarullz has built a great program with a excellent debugger , if we could get him to do a rom porting debugger that would be amaing lol

---------- Post added at 06:05 AM ---------- Previous post was at 05:53 AM ----------

amazing excellent Installer,amarullz

finally finished my installer for UrDroids 2.0, I'm sure there is much room for improvement, but I'm learning code::D, still have to setup better set_progress and show_progress, but that's no really important right now

I got it to do everything I needed ( without having to ask for help :eek:)

except one thing, coole's sd-ext alignment script

ui_print(" Performing Partition Alignment ");

ui_print(" by coole");

unmount("/sd-ext");

package_extract_dir("tmp", "/tmp");

set_perm_recursive(0, 0, 0755, 0755, "/tmp/alignment/");

run_program("/tmp/alignment/alignment.sh");

--------------------------------------------------------------------------

alignment.sh

#!/sbin/sh

sync;

/sbin/umount -l /sdcard;

/sbin/umount /dev/block/mmcblk0p2

sync;

# format ext with alignment

#/tmp/alignment/mkfs.ext4 -t ext4 -E stride=64,stripe-width=64 -b 4096 -m 0 -F -L userdata /dev/block/mmcblk0p2

/tmp/alignment/mkfs.ext4 -t ext4 -b 4096 -m 0 -F -L userdata /dev/block/mmcblk0p2

/tmp/alignment/tune2fs -o journal_data_ordered /dev/block/mmcblk0p2

/tmp/alignment/tune2fs -E hash_alg=tea /dev/block/mmcblk0p2

/tmp/alignment/tune2fs -e continue /dev/block/mmcblk0p2

/tmp/alignment/e2fsck /dev/block/mmcblk0p2

sync;

rm -r /tmp/alignment;

sync;

--------------------------------------------------------------------------

the part in the updater.script causes aroma to freeze at the very end, you have to pull the battery, every thing seems to have installed, because rom loads fine.

I even try renaming tmp folder to temp , in updater.script and also alignment.sh

updater.script

ui_print(" Performing Partition Alignment ");

ui_print(" by coole");

unmount("/sd-ext");

package_extract_dir("tmp", "/temp");

set_perm_recursive(0, 0, 0755, 0755, "/temp/alignment/");

run_program("/temp/alignment/alignment.sh");

alignment.sh

#!/sbin/sh

sync;

/sbin/umount -l /sdcard;

/sbin/umount /dev/block/mmcblk0p2

sync;

# format ext with alignment

#/temp/alignment/mkfs.ext4 -t ext4 -E stride=64,stripe-width=64 -b 4096 -m 0 -F -L userdata /dev/block/mmcblk0p2

/temp/alignment/mkfs.ext4 -t ext4 -b 4096 -m 0 -F -L userdata /dev/block/mmcblk0p2

/temp/alignment/tune2fs -o journal_data_ordered /dev/block/mmcblk0p2

/temp/alignment/tune2fs -E hash_alg=tea /dev/block/mmcblk0p2

/temp/alignment/tune2fs -e continue /dev/block/mmcblk0p2

/temp/alignment/e2fsck /dev/block/mmcblk0p2

sync;

rm -r /temp/alignment;

sync;

I just left it out, I do not think it is needed anyway, but on a first install of sd-ext

I just have it as a CWR install before rom is installed

Many Thanks for your excellent hard work amarullz

Apr 1, 2012	Donation To Ahmad Amarullah	Completed