[Galaxy Note 10.1 Android Development] aadiflesher:
If you can help :)

I am going to post all the steps that I made and the logs. Maybe someone can help to make the script work on my device. Google Nexus One - JB ROM

I installed the latest busybox 1.20.2

In the USER_OPTIONS file I changed ENABLED='true' and also ANDROID='/storage/sdcard0/Android' to fit for my device.

First I tried with /system/bin/logwrapper busybox run-parts /system/etc/init.d and # /system/bin/logwrapper busybox run-parts /system/etc/init.d

Install the script:

a/local/bin:$PATH

u0_a11@android:/ $ su

u0_a11@android:/ # cd /sdcard

u0_a11@android:/sdcard # sh ./install-a2sd

You have fukedupFS, variable set to true in USER_OPTIONS

According to your system /sdcard points to /storage/sdcard0, is this correct? [yes/no]

yes

Very Well, Proceeding with installation.

./install-a2sd[88]: [: -clean: unexpected operator/operand

/system/bin/debuggerd successfully renamed.

Successfully created init folders.

Successfully copied scripts to target locations

currperm=0755

Permission successfully set on /system/bin/sysinit to 0755 .

currperm=0755

Permission successfully set on /system/bin/debuggerd to 0755 .

currperm=0755

Permission successfully set on /system/bin/debuggerd.bin to 0755 .

currperm=0755

Permission successfully set on /system/etc/init.a to 0755 .

currperm=0755

Permission successfully set on /system/etc/init.d to 0755 .

currperm=0755

Permission successfully set on /system/etc/init.a/01earlymounts to 0755 .

currperm=0755

Permission successfully set on /system/etc/init.d/01a2sd to 0755 .

./install-a2sd[170]: read: -p: no coprocess

reboot: applet not found

Your device failed to reboot, please reboot manually

u0_a11@android:/sdcard #

After reboot I enter the command logcat | busybox grep "01a2sd" and get this:

a/local/bin:$PATH

u0_a11@android:/ $ su

u0_a11@android:/ # logcat | busybox grep "01a2sd"

I/busybox ( 288): /system/etc/init.d/01a2sd[22]: .: /A2SD/options/USER_OPTIONS: No such file or directory

I/busybox ( 288): run-parts: /system/etc/init.d/01a2sd exited with code 1

And with the mount command after the installation I get this:

a/local/bin:$PATH

u0_a11@android:/ $ mount

rootfs on / type rootfs (ro,relatime)

tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)

devpts on /dev/pts type devpts (rw,relatime,mode=600)

proc on /proc type proc (rw,relatime)

sysfs on /sys type sysfs (rw,relatime)

none on /acct type cgroup (rw,relatime,cpuacct)

tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)

tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)

none on /dev/cpuctl type cgroup (rw,relatime,cpu)

/dev/block/mtdblock3 on /system type yaffs2 (ro,relatime)

/dev/block/mtdblock5 on /data type yaffs2 (rw,nosuid,nodev,relatime)

/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev,relatime)

/sys/kernel/debug on /sys/kernel/debug type debugfs (rw,relatime)

/dev/block/mmcblk0p2 on /sd-ext type ext4 (rw,nosuid,nodev,noatime,nodiratime,commit=15,barrier=1,stripe=64,data=ordered,noauto_da_alloc)

/dev/block/vold/179:1 on /storage/sdcard0 type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

/dev/block/vold/179:1 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

tmpfs on /storage/sdcard0/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)

u0_a11@android:/ $

After all of this the script is not working.

I only get this: /sdcard/Tweaked.Scripts/A2SD/options/USER_OPTIONS

/sdcard/Tweaked.Scripts/A2SD/options/install_vars

I don`t have this: /sdcard/Tweaked.Scripts/A2SD/options/vars

If someone knows what the problem is or if I am doing something wrong, please tell me how to fix it.

Thank you! :)