[T-Mobile Samsung Galaxy S II SGH-T989] RealPariah:
Partying this here as you guys will love this and until new Dev thread here it is...

Fix permissions fix found! [/b]

Alright after testing fix permissions I found a way to make it run!

Issue: fix permissions won't run from recovery (correctly (it says done in less than 60 secs and stops instantly for me saying completed and while in Android; ROM manager script runs but freezes at random points (same if you open terminal emulator and run it).

Resolution:

Quick steps first explanations after

> Open a command or terminal window with phone booted in to recovery and connected to computer via USB (as admin is less headache but not mandatory)

> adb devices
If you see ?????? Instead of a mix of numbers and letters reboot recovery and reconnect USB cable

> adb shell
Should see ~#

> on phone mount /system and /data

>sh /sbin/fix_permissions -l -r
or cd /sbin then sh fix_permissions -l -r (do not use -lr)
-l kills logging (still displays progress on screen just faster and if not Dev diagnosing issue log is overkill really anyways ;) )
-r clear stale data directories if found

You should now have run a full fix permissions :D

Step-by-Step

You have to have adb on a computer for this

Boot in to Recovery

plug USB in to phone and computer

Go in to mounts and storage and mount /system and /data

On computer open a command line window (windows) or terminal (Linux or OSX)

Run "ADB devices" and be sure it is not all ? For device number (if it is restart recovery and reseat USB connection and run "adb kill-server" on computer) I had to run terminal as root (admin for best results bit got it to work either way really)

Now run "adb shell" after mounting /system and /data

Once that opens and you get ~# run "sh fix_permissions -l -r" just like that (with two separate - don't do	-lr or it won't run)

Of it says not found mount /system

If it says something about read only variable you forgot the preceding sh (may need to do "cd /sbin" then "sh fix_permissions" if you still have an issue.

This is only way I can get fix permissions to run (even tried sh fix_permissions -l -r in Android terminal emulator and script manager to no avail)

After fix permissions ran correctly it really helped iron some small performance issues and notably helped.

I hoped that helps! :)

If having trouble with adb not connecting to phone I added this post so copied it here...

As started in my post if it says ?????? When you run adb devices restart recovery and reconnect USB.

Also may needed to run command as administrator (windows right click cmd.exe and click run a administrator or in cmd type "runas /user:%computername%\administrator cmd" without quotes (windows XP SP 2+, Vista, and 7)

Or in Linux from terminal "gksudo xfce4-terminal &" (or sub your terminal command for xfce4-terminal (xubuntu) and keep the & (tells Linux to run add background progress so if you close first terminal root terminal stays open).

Also could hold alt and tap F2 and in Linux it brings yo run box then use "gksudo xfce4-terminal" no quotes and no & this way.

You need to have Android SDK downloaded and at least have downloaded the USB tools piece and of course have installed correct device drivers (install Samsung kies as that installs drivers for galaxy S2)

Sent from my SAMSUNG-SGH-I727 using Xparent Green Tapatalk 2