[Sony Cross-Device General] pcpepik:
[MENTION=3975929]zxz0O0[/MENTION] Here is my "buglist" & sugestions for linux/mac script:

1. move

if [ "$OS" = "Linux" ]; then
echo "It looks like you are running Linux"
echo "Please make sure ia32-libs is installed if you get any errors"
echo ""
fi

somewhere before line 96 (ideally right after credits) otherwise, one could get confused, when it ends on unzipping with error about missing libraries and he is sure, that he have them installed (64bit)

2. error on line 99:

./unzip -j tr.apk lib/armeabi/libexploit.so > /dev/null

should be

./unzip.linux -j tr.apk lib/armeabi/libexploit.so > /dev/null

or just leave "mac command version" only (line 97), works fine on linux, no extra binary required as unzip is present pretty much in every distribution package repository

3.

echo "Press any key to quit" & echo "Press any key to continue"

should probably be

echo "Press enter to quit" & echo "Press enter to continue"

since it only works with enter (at least on linux)

4. Every time I run ERT script on linux, it gives me error about not finding busybox (when I look for it on mobile, it is right where it should be) (z1 compact 14.4.A.0.108, OS: Linux Mint 16 64bit)

==============================================
= =
= Easy Root Tool v11 =
= Supports various Xperia devices =
= created by zxz0O0 =
= =
= http://xdaforums.com/ =
= showthread.php?p=53448680 =
= =
= Many thanks to: =
= - [NUT] =
= - geohot =
= - MohammadAG =
= - cubeundcube =
= - nhnt11 =
= - xsacha =
= =
==============================================

=============================================
tr.apk not found. Trying to download from
https://towelroot.com/tr.apk
=============================================
#################################################### 72,4%

=============================================
Extracting libexploit.so
=============================================
OK!

It looks like you are running Linux
Please make sure ia32-libs is installed if you get any errors

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
=============================================
Waiting for Device, connect USB cable now...
Make sure you have only one Android device connected
BlueStacks emulator can also cause problems
=============================================
Device found!

=============================================
Getting device variables
=============================================
Device model is D5503
Firmware is 14.4.A.0.108

=============================================
Sending files
=============================================
37 KB/s (1585 bytes in 0.041s)
27 KB/s (1133 bytes in 0.040s)
227 KB/s (9496 bytes in 0.040s)
322 KB/s (13672 bytes in 0.041s)
11534 KB/s (657704 bytes in 0.055s)

Copying kernel module...
831 KB/s (34473 bytes in 0.040s)
18 KB/s (767 bytes in 0.040s)
317 KB/s (13592 bytes in 0.041s)
Kernel version is 3.4.0-perf-g0109737
Version does not match 3.4.0-perf-ge4322cd, needs patching...
1+0 records in
0+1 records out
19 bytes transferred in 0.001 secs (19000 bytes/sec)
Kernel module patched.

modulecrcpatch (by zxz0O0)

module_layout: match
__aeabi_unwind_cpp_pr1: match
kallsyms_lookup_name: not found
printk: not found
mem_text_write_kernel_word: not found
__aeabi_unwind_cpp_pr0: match
successfully patched

=============================================
Loading geohot's towelroot (modified by zxz0O0)
=============================================
322 KB/s (13592 bytes in 0.041s)
9427 KB/s (197320 bytes in 0.020s)
=============================================

Waiting for towelroot to exploit...
towelzxperia by zxz0O0 (EasyRootTool Version)
libexploit by geohot

libzxploit.so created
doing the magic
creating vm (loljavasucks)
cleaning up
done

Checking if device is rooted...

Device rooted.

=============================================
Checking for Sony RIC
=============================================
/home/joe/EasyRootTool_v11/install.sh: 1: /home/joe/EasyRootTool_v11/install.sh: /data/local/tmp/busybox: not found
No Sony RIC Service found.

Done. You can now unplug your device.
Enjoy root!
=============================================

What to do next?
- Donate to the people involved
- Install SuperSU by Chainfire
- Install dualrecovery by [NUT]
- Backup TA partition

Press any key to quit