in adb shell, change to root user and then do the followings:
touch /system/bin/profile; chmod 644 /system/bin/profile
notice that you may have to remount the /system partition as rw (with read/write permission) first by issuing the command:
mount -o remount,rw /system
more info and alternative solutions
Sign up here with your email
ConversionConversion EmoticonEmoticon