[Sony Xperia Miro, Tipo (Dual), J, E] kurotsugi:
I'm not certain if unlocked one could be rooted but if you want to root your device with bin4ry method you should make sure that your device driver is installed correctly. check into your hardware manager. if you see a device with exclamation symbol "!" named android, it means the driver isn't installed correctly. the correct device should be called "ADB interface bla bla bla".

EDIT: now, if you don't mind, I'd like to share my tweak here. I didn't give you the file so that you can use tweak with your own modification. not all part of the tweak is working. I'll give note on that part. you can delete that part in your file if you want.

tweak 1-performance and net tweak

#!/system/bin/sh
# kuro tweak1: the echo stuff
# copyright@mycat (2012) - lol...i'm just joking. no copyright or whatsoever
# contact : kaze.noichi17@gmail.com

# v.1 - first release
# v.1.1 - new log system and new tweak added.

LOG_FILE=/data/kuro_tweak1.log
LOG_FILEZ=/data/kuro_sqlite.log
if [ -e $LOG_FILE ]; then
rm $LOG_FILE;
fi;

if [ -e $LOG_FILEZ ]; then
rm $LOG_FILEZ;
fi;

# the preface - do not modify it!
echo "==========================
# TWEAK KURO1-LOG FILE #
==========================
in the name of Allah,
the most beneficent,
the most mercifull
==========================
system information:
vendor : $( getprop ro.product.brand )
model : $( getprop ro.product.model )
ROM : $( getprop ro.build.display.id )

running the script...
start at:
$( date +"%m-%d-%Y %H:%M:%S" )
==========================" | tee -a $LOG_FILE;

# perfect mount
mount -o remount,noatime,commit=500,noauto_da_alloc,barrier=0 /system /system;
mount -o remount,noatime,commit=500,noauto_da_alloc,barrier=0 /data /system;
mount -o remount,noatime,commit=500,noauto_da_alloc,barrier=0 /cache /system;
echo "perfect mount---------[OK]" | tee -a $LOG_FILE;

# sdcard speed fix
# not working. system rewrite the value
busybox echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb;
echo "sdcard speed fix------[OK]
-value set to $( cat /sys/devices/virtual/bdi/179:0/read_ahead_kb )" | tee -a $LOG_FILE;

# kernel kick
echo "4096" > /proc/sys/kernel/shmmni;
echo "4096" > /proc/sys/kernel/msgmni;
echo "64000" > /proc/sys/kernel/msgmax;
echo "20000000" > /proc/sys/kernel/sched_latency_ns;
echo "2500000" > /proc/sys/kernel/sched_wakeup_granularity_ns;
echo "1000000" > /proc/sys/kernel/sched_min_granularity_ns;
echo "500 512000 64 2048" > /proc/sys/kernel/sem;
echo "268435456" > /proc/sys/kernel/shmmax;
echo "2097152" > /proc/sys/kernel/shmall;
echo "30" > /proc/sys/kernel/panic;
echo "0" > /proc/sys/kernel/panic_on_oops;
echo "5000" > /proc/sys/kernel/threads-max;
echo "10" > /proc/sys/fs/lease-break-time;
echo "65536" > /proc/sys/fs/file-max;
echo "60" > /proc/sys/kernel/panic;
echo "0" > /proc/sys/kernel/panic_on_oops;
echo "1" > /proc/sys/kernel/sched_compat_yield;
echo "256000" > /proc/sys/kernel/sched_shares_ratelimit;
echo "0" > /proc/sys/kernel/ctrl-alt-del;
echo "kernel kick-----------[OK]" | tee -a $LOG_FILE;

# OOM
echo "0" > /proc/sys/vm/laptop_mode;
echo "40" > /proc/sys/vm/swappiness;
echo "3000" > /proc/sys/vm/dirty_writeback_centisecs;
echo "500" > /proc/sys/vm/dirty_expire_centisecs;
echo "15" > /proc/sys/vm/dirty_ratio;
echo "100 100" > /proc/sys/vm/lowmem_reserve_ratio;
echo "1" > /proc/sys/vm/highmem_is_dirtyable;
echo "4" > /proc/sys/vm/min_free_order_shift;
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "0" > /proc/sys/vm/panic_on_oom;
echo "70" > /proc/sys/vm/overcommit_ratio;
echo "3" > /proc/sys/vm/page-cluster;
echo "3" > /proc/sys/vm/drop_caches;
echo "15360" > /proc/sys/vm/min_free_kbytes;
echo "50" > /proc/sys/vm/vfs_cache_pressure;
echo "70" > /proc/sys/vm/dirty_background_ratio;
echo "0" > /proc/sys/vm/block_dump;
echo "memory management-----[OK]" | tee -a $LOG_FILE;

# network boost
echo "cubic" > /proc/sys/net/ipv4/tcp_congestion_control;
echo "0" > /proc/sys/net/ipv4/tcp_timestamps;
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse;
echo "1" > /proc/sys/net/ipv4/tcp_sack;
echo "1" > /proc/sys/net/ipv4/tcp_dsack;
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling;
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes;
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl;
echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout;
echo "1" > /proc/sys/net/ipv4/tcp_moderate_rcvbuf;
echo "1440000" > /proc/sys/net/ipv4/tcp_max_tw_buckets;
echo "57344 57344 524288" > /proc/sys/net/ipv4/tcp_mem;
echo "2" > /proc/sys/net/ipv4/tcp_synack_retries;
echo "2" > /proc/sys/net/ipv4/tcp_syn_retries;
echo "1024" > /proc/sys/net/ipv4/tcp_max_syn_backlog;
echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all;
echo "1" > /proc/sys/net/ipv4/route/flush;
echo "6144" > /proc/sys/net/ipv4/udp_rmem_min;
echo "6144" > /proc/sys/net/ipv4/udp_wmem_min;
echo "1" > /proc/sys/net/ipv4/tcp_rfc1337;
echo "0" > /proc/sys/net/ipv4/ip_no_pmtu_disc;
echo "0" > /proc/sys/net/ipv4/tcp_ecn;
echo "6144 87380 524288" > /proc/sys/net/ipv4/tcp_wmem;
echo "6144 87380 524288" > /proc/sys/net/ipv4/tcp_rmem;
echo "1" > /proc/sys/net/ipv4/tcp_fack;
echo "2" > /proc/sys/net/ipv4/tcp_synack_retries;
echo "2" > /proc/sys/net/ipv4/tcp_syn_retries;
echo "1" > /proc/sys/net/ipv4/tcp_no_metrics_save;
echo "1800" > /proc/sys/net/ipv4/tcp_keepalive_time;
echo "0" > /proc/sys/net/ipv4/ip_forward;
echo "0" > /proc/sys/net/ipv4/conf/default/accept_source_route;
echo "0" > /proc/sys/net/ipv4/conf/all/accept_source_route;
echo "0" > /proc/sys/net/ipv4/conf/all/accept_redirects;
echo "1" > /proc/sys/net/ipv4/conf/all/rp_filter;
echo "0" > /proc/sys/net/ipv4/conf/default/accept_redirects;
echo "0" > /proc/sys/net/ipv4/conf/all/secure_redirects;
echo "0" > /proc/sys/net/ipv4/conf/default/secure_redirects;
echo "0" > /proc/sys/net/ipv4/ip_dynaddr;
echo "524288" > /proc/sys/net/core/rmem_max;
echo "524288" > /proc/sys/net/core/wmem_max;
echo "262144" > /proc/sys/net/core/rmem_default;
echo "262144" > /proc/sys/net/core/wmem_default;
echo "20480" > /proc/sys/net/core/optmem_max;
echo "2500" > /proc/sys/net/core/netdev_max_backlog;
echo "50" > /proc/sys/net/unix/max_dgram_qlen;
echo "network boost---------[OK]" | tee -a $LOG_FILE;

# cleaner
# not tested
busybox rm -f /data/anr/*.*
busybox rm -f /data/last_alog/*.*
busybox rm -f /data/last_kmsg/*.*
busybox rm -f /data/mlog/*.*
busybox rm -f /data/tombstones/*
busybox rm -f /data/system/dropbox/*.*
chmod 400 /data/system/dropbox
busybox rm /dev/log/main
busybox rm -f /data/system/usagestats/*
busybox chmod 400 /data/system/usagestats

export sampling_rate=10000
export up_threshold=65

echo "memory cleaner--------[OK]" | tee -a $LOG_FILE;

if [ -e /data/anr/*.* ]; then
echo "-anr not cleaned" | tee -a $LOG_FILE; else
echo "-anr cleaned" | tee -a $LOG_FILE
fi;
# not really sure about this part - need tester
if [ -e /data/last_kmsg/*.* ];
or [ -e /data/last_alog/*.* ];
or [ -e /data/mlog/*.* ];
echo "-log not cleaned" | tee -a $LOG_FILE; else
echo "-log cleaned" | tee -a $LOG_FILE
fi;
if [ -e /data/tombstones/*.* ]; then
echo "-tombstones not cleaned" | tee -a $LOG_FILE; else
echo "-tombstones cleaned" | tee -a $LOG_FILE
fi;

# minfree
# didn't work - system automatically rewrite it
echo "0" > /sys/module/lowmemorykiller/parameters/debug_level;
echo "64" > /sys/module/lowmemorykiller/parameters/cost;
echo "0,1,3,5,7,15" > /sys/module/lowmemorykiller/parameters/adj;
echo "1536,2048,4096,20480,20480,15360" > /sys/module/lowmemorykiller/parameters/minfree;
echo "minfree setting-------[OK]
-minfree value
$( cat /sys/module/lowmemorykiller/parameters/minfree )" | tee -a $LOG_FILE;

# end - do not modify it!
echo "==========================
done at:
$( date +"%m-%d-%Y %H:%M:%S" )
all praise is due to Allah
==========================
-- have a nice day --
kurotsugi@xda
==========================" | tee -a $LOG_FILE;

tweak 2 -zipalign

#!/system/bin/sh
# DarkyROM 2011
# Much faster zipalign.

# Changelog:
# 1.3 (5/8/12) new log system. system remount deleted (by: kurotsugi)
# 1.2 (17/1/11) Added /data/zipalign.db file for faster apk check (ninpo,Bo$s)
# 1.1 (12/1/09) Switched to zipalign -c 4 to check the apk instead of MD5 (oknowton)
# 1.0 (11/30/09) Original

LOG_FILE=/data/kuro_zalign.log
ZIPALIGNDB=/data/kuro_zalign.db

if [ -e $LOG_FILE ]; then
rm $LOG_FILE;
fi;

if [ ! -f $ZIPALIGNDB ]; then
touch $ZIPALIGNDB;
fi;

# the preface
echo "==========================
# TWEAK KURO-ZALIGN FILE #
==========================
in the name of Allah,
the most beneficent,
the most mercifull
==========================
system information:
vendor : $( getprop ro.product.brand )
model : $( getprop ro.product.model )
ROM : $( getprop ro.build.display.id )

running the script...
start at:
$( date +"%m-%d-%Y %H:%M:%S" )
==========================" | tee -a $LOG_FILE;

# zipalign script (not modified)
for DIR in /system/app /data/app ; do
cd $DIR
for APK in *.apk ; do
if [ $APK -ot $ZIPALIGNDB ] && [ $(grep "$DIR/$APK" $ZIPALIGNDB|wc -l) -gt 0 ] ; then
echo "zipaligned: $DIR/$APK" | tee -a $LOG_FILE
else
zipalign -c 4 $APK
if [ $? -eq 0 ] ; then
echo "now zipaligned: $DIR/$APK" | tee -a $LOG_FILE
grep "$DIR/$APK" $ZIPALIGNDB > /dev/null || echo $DIR/$APK >> $ZIPALIGNDB
else
echo "Now aligning: $DIR/$APK" | tee -a $LOG_FILE
zipalign -f 4 $APK /cache/$APK
busybox mount -o rw,remount /system
cp -f -p /cache/$APK $APK
busybox rm -f /cache/$APK
grep "$DIR/$APK" $ZIPALIGNDB > /dev/null || echo $DIR/$APK >> $ZIPALIGNDB
fi
fi
done
done

touch $ZIPALIGNDB

# end
echo "==========================
done at:
$( date +"%m-%d-%Y %H:%M:%S" )
all praise is due to Allah
==========================
-- have a nice day --
kurotsugi@xda
==========================" | tee -a $LOG_FILE;

tweak 3 - set of prop

#!/system/bin/sh
# kuro tweak2: the setprop stuffs and journalismoff
# copyright@mycat (2012) - lol...i'm just joking. no copyright or whatsoever
# contact : kaze.noichi17@gmail.com

# v.1 - first release
# v.1.1 - new log system and new tweak added.

LOG_FILE=/data/kuro_tweak2.log
if [ -e $LOG_FILE ]; then
rm $LOG_FILE;
fi;

# the preface
echo "==========================
# TWEAK KURO2-LOG FILE #
==========================
in the name of Allah,
the most beneficent,
the most mercifull
==========================
system information:
vendor : $( getprop ro.product.brand )
model : $( getprop ro.product.model )
ROM : $( getprop ro.build.display.id )

running the script...
start at:
$( date +"%m-%d-%Y %H:%M:%S" )
==========================" | tee -a $LOG_FILE;

# 3g mod
setprop ro.ril.enable.dtm 1
setprop ro.ril.gprsclass 10
setprop ro.ril.hep 1
setprop ro.ril.enable.3g.prefix 1
setprop ro.ril.hsdpa.category 8
setprop ro.ril.hsupa.category 6
setprop ro.ril.hsxpa 2
setprop ro.ril.enable.a53 1
setprop ro.ril.htcmaskw1.bitmask 4294967295
setprop ro.ril.htcmaskw1 14449
echo "3g signal mod---------[OK]" | tee -a $LOG_FILE;

# battery mod n media
setprop debug.performance.tuning 1
setprop pm.sleep_mode 1
setprop windowsmgr.max_events_per_sec 150
setprop ro.ril.disable.power.collapse 1
setprop wifi.supplicant_scan_interval 180
setprop video.accelerate.hw 1
setprop ro.media.enc.jpeg.quality 100
setprop debug.sf.hw 1
echo "battery n media-------[OK]" | tee -a $LOG_FILE;

# performance
setprop persist.sys.purgeable_assets 1
setprop dalvik.vm.execution-mode int:jit
setprop dalvik.vm.dexopt-flags m=y
setprop dalvik.vm.heapsize 64m
setprop ro.kernel.android.checkjni 0
setprop ro.telephony.call_ring.delay=0
setprop ro.FOREGROUND_APP_ADJ 0
setprop ro.VISIBLE_APP_ADJ 4
setprop ro.PERCEPTIBLE_APP_ADJ 2
setprop ro.HEAVY_WEIGHT_APP_ADJ 5
setprop ro.SECONDARY_SERVER_ADJ 6
setprop ro.BACKUP_APP_ADJ 7
setprop ro.HOME_APP_ADJ 1
setprop ro.HIDDEN_APP_MIN_ADJ 8
setprop ro.EMPTY_APP_ADJ 15
setprop ro.FOREGROUND_APP_MEM 1536
setprop ro.VISIBLE_APP_MEM 3072
setprop ro.PERCEPTIBLE_APP_MEM 1024
setprop ro.HEAVY_WEIGHT_APP_MEM 10240
setprop ro.SECONDARY_SERVER_MEM 10240
setprop ro.BACKUP_APP_MEM 12800
setprop ro.HOME_APP_MEM 1024
setprop ro.HIDDEN_APP_MEM 12800
setprop ro.EMPTY_APP_MEM 19200
echo "performance-----------[OK]" | tee -a $LOG_FILE;

# Disable debugging notify icon on statusbar
setprop persist.adb.notify 0

# Disable blackscreen issue after a call
setprop ro.lge.proximity.delay 25
setprop mot.proximity.delay 25

# Phone will not wake up from hitting the volume rocker
setprop ro.config.hwfeature_wakeupkey 0

# Enable display Dithering
setprop persist.sys.use_dithering 1

# For SD storage insert notificationsound
setprop persist.service.mount.playsnd 0
echo "additional stuff------[OK]" | tee -a $LOG_FILE;

# end
echo "==========================
done at:
$( date +"%m-%d-%Y %H:%M:%S" )
all praise is due to Allah
==========================
-- have a nice day --
kurotsugi@xda
==========================" | tee -a $LOG_FILE;