Sony Xperia GO property root for 6.0.B.3.184 + CWM recovery v5.5.0.4

Search This thread

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
Hallo, I found that every custom boot image for Xperia GO is not property packed, have wrong kernel base and wrong initrd base address and cause big battery drain so I generated proper boot image with right base adress and with included all 3 files inside (kernel, ramdisk and elf.3) like stock, unsecured and in SIN format + my version of the CWM recovery! Here is tutorial how to propertly root your Xperia Go!

Before you going to install this "pack" you need to unlock your bootloader!
After unlocking bootloader procedure for installing boot image and root tools is:

install boot image:
  • fastboot flash boot kernel.sin

install root tools:
  • adb remount
  • adb push su /system/xbin/
  • adb push busybox /system/xbin/
  • adb install Superuser.apk
  • adb shell
  • cd /system/xbin
  • chmod 6755 su
  • chmod 6755 busybox
  • /system/xbin/busybox --install -s /system/xbin/

Than you are done! Just last step you need to do:

Done! Enjoy! ;)

Kernel source:
  • I have no source! I used prebuilt stock kernel from firmware 6.0.B.3.184CE

Tip and tricks for my CWM version:
I will integrate tool in sony menu for "one click" skins modification soon! Let me know if you want these option!

Credits:
  • full credits to author of the Clockworkmod Recovery
  • LeTama for great sin2raw tool
  • every other who helped and tested our recovery

Please read this Simple diference between Gingerbread and ICS boot+CWM

Download V6:
 

Attachments

  • root_tools.rar
    1.5 MB · Views: 8,272
  • v5_bootimg_6.0.B.3.184_+_Clockworkmod_recovery.zip
    7.8 MB · Views: 10,510
Last edited:

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
New version for 6.0.B.3.184 is out.. Clockwork Recovery included!
Play with recovery on your own risk... I am not responsible if you lose your data!

img1027e.jpg


21.Sep.2012:
Changelog:
  • added my own modified version of the Clockwork Recovery
Recovery:
  • adb fixed - you need to restart adb trought menu and wait 30 sec until adb is reinited
  • battery indicator (icon) in real time
  • leds indicator in real time
  • button backlight enabled
  • you can mount internal sd card
  • you can mount external sd card
  • you can backup/restore from/to internal sd card
  • you can backup/restore from/to external sd card

23.Sep.2012:
Changelog:
Recovery:
  • new menu and tool (Big thanks Letama for great tool!!!) -> my modification to his tool is: backported to arm, backported to recovery, created easy sin to tar packer. This recovery tool is for easilly "in one click" repacking upcoming ICS firmwares! Just place your system.sin into internal sd card, reboot to recovery, under menu click to sony tools, and you will get your system.sin unpacked to system.tar... enjoy! ;)
  • removed adb fix, now adbd is auto enabled on boot... (you just need to wait ~30 seconds until adb and mass storage mode is inited!)

27.Oct.2012:
Changelog:
Recovery V2:
  • all features backported from my ICS bassed CWM but only not kernel and not touch, all other features is the same like in ICS CWM!

30.Oct.2012:
Changelog:
Recovery V3:
  • forgot to include patch for assert board detection in updater-script, it's fixed now!

31.Oct.2012:
Changelog:
Recovery V5 (final version, no supporting anymore, sorry):
  • init.d support (you need to create init.d folder in /system/etc !)
Please do not create mirored links!
 
Last edited:

kala123

Senior Member
Nov 17, 2009
127
18
Thank you. can you tell me what rom work whit go whit this? Are you tryed Cyanogenmod or any other mod ?
 

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
Thank you. can you tell me what rom work whit go whit this? Are you tryed Cyanogenmod or any other mod ?

This is for ST27i_6.0.B.3.184_CE.ftf ...other rooms I not tried! Curently I waiting oficial ICS from Sony so than I will play with CM source :)... I spent whole day to get this CWM full working so enjoy! If something missing please let me know! Comming features soon! ;)
 
Last edited:

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
New recovery is out...see changelog in seccond post! You can easilly unpack an ICS system.sin (encrypted ext4 image) and convert it to tar archive + log file about files,folders,uids,gids permissions that was in these image, so you can easilly create recovery compatible zip for flashing trought recovery. Enjoy! :)

P.S. Moderators, please give us dedicated forum space for Xperia Go like all other 2012 Xperia models... thank you!!!
 
Last edited:
  • Like
Reactions: thenut94

Lebenita

Senior Member
Oct 13, 2008
101
38
No battery improvement

Hallo, I found that every custom boot image for Xperia GO is not property packed, have wrong defined memory offset for unpacking to memory and cause big battery drain

Hello munjeni,

I have installed this kernel and monitored its battery consumption, but I'm afraid I cannot confirm your positive findings. Battery drain* is exactly as with other kernels, for instance Krachlatte's one here (which also includes additional perks like more governors and iptables support):
http://xdaforums.com/showthread.php?t=1839865

So the battery drain you've experienced with other kernels might be unrelated to any wrongly defined memory offsets.

* This means that after disabling a lot of Sony and Google bloatware, battery life is satisfactory (around 3 to 4 days with very light use). The only flaky component seems to be WiFi - when it is on, battery consumption is inconsistent (which is OK so far and known to happen). Trouble is that even after disabling WiFi, its processes sometimes (not always) seem to remain active, generating lots of kernel wakelocks and eating into battery life. This behaviour unfortunately persists with this kernel too.

Nonetheless it's a good thing if you've managed to correct an error that has been made by devs who provided previous kernels. Thanks for your work!

Lebenita
 

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
Ok, but I tried two versions but all had that battery drain so I analysed stock kernel by disasembling him and found these things was wrong in custom boot images... So right command for generating boot image is:
python mkelf.py -o kernel.elf zImage@0x00008000 initrd.gz@0x01000000,ramdisk

than you need to hex edit generated boot image:
Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000  7F 45 4C 46 01 01 01 61 00 00 00 00 00 00 00 00  .ELF...a........
00000010  02 00 28 00 01 00 00 00 00 80 00 00 34 00 00 00  ..(......€..4...
00000020  00 00 00 00 00 00 00 00 34 00 20 00 [COLOR="Red"]02[/COLOR] 00 00 00  ........4. .....
0x02 mean 2 parts so to include third part (elf.3) you need to change 0x02 to 0x03

than you need to inject elf.3 by hex editing and implementing these elf.3 between 0x70 and 0x4d0 offset, final kernel.elf looks like:
Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000  7F 45 4C 46 01 01 01 61 00 00 00 00 00 00 00 00  .ELF...a........
00000010  02 00 28 00 01 00 00 00 00 80 00 00 34 00 00 00  ..(......€..4...
00000020  00 00 00 00 00 00 00 00 34 00 20 00 [COLOR="Red"]03[/COLOR] 00 00 00  ........4. .....
00000030  00 00 00 00 01 00 00 00 00 10 00 00 00 80 00 00  .............€..
00000040  00 80 00 00 D4 D8 3A 00 D4 D8 3A 00 00 00 00 00  .€..ÔŘ:.ÔŘ:.....
00000050  00 00 00 00 01 00 00 00 D4 E8 3A 00 00 00 00 01  ........Ôč:.....
00000060  00 00 00 01 CB 58 23 00 CB 58 23 00 00 00 00 80  ....ËX#.ËX#....€
00000070  [COLOR="Red"]00 00 00 00 53 49 4E 21 94 00 00 00 00 00 00 00  ....SIN!”.......
00000080  00 00 00 00 30 04 00 00 30 04 00 00 04 00 00 00  ....0...0.......
00000090  04 00 00 00 02 00 00 00 04 2D 01 00 00 00 00 00  .........-......
000000A0  00 00 52 00 00 00 00 00 00 00 94 20 F1 77 14 10  ..R.......” ńw..
000000B0  CF 4B CB EE F8 6C 64 9C F3 CC B3 8D 6C 24 C1 D6  ĎKËîřldśóĚłŤl$ÁÖ
000000C0  6B 6F 68 B2 9B 23 A4 3B CF C1 52 39 00 00 04 C4  koh˛›#¤;ĎÁR9...Ä
000000D0  00 49 84 EC 20 D9 C4 BB 73 4F EF C1 32 58 AF 09  .I„ě ŮÄ»sOďÁ2XŻ.
000000E0  7F 35 E4 A1 3B 5A 24 AA ED 25 0E AD 1C 00 FA D9  .5äˇ;Z$Şí%.*..úŮ
000000F0  63 CB 77 9F 09 00 00 03 C8 00 01 02 C1 02 BF 30  cËwź....Č...Á.ż0
00000100  82 02 BB 30 82 01 A3 A0 03 02 01 02 02 01 02 30  ‚.»0‚.Ł .......0
00000110  0D 06 09 2A 86 48 86 F7 0D 01 01 0B 05 00 30 17  ...*†H†÷......0.
00000120  31 15 30 13 06 03 55 04 03 14 0C 53 31 5F 52 6F  1.0...U....S1_Ro
00000130  6F 74 5F 33 30 36 35 30 1E 17 0D 31 31 31 31 31  ot_30650...11111
00000140  38 31 33 33 39 33 33 5A 17 0D 33 31 31 31 32 30  8133933Z..311120
00000150  31 33 33 39 33 33 5A 30 10 31 0E 30 0C 06 03 55  133933Z0.1.0...U
00000160  04 03 14 05 53 31 5F 53 57 30 82 01 22 30 0D 06  ....S1_SW0‚."0..
00000170  09 2A 86 48 86 F7 0D 01 01 01 05 00 03 82 01 0F  .*†H†÷.......‚..
00000180  00 30 82 01 0A 02 82 01 01 00 B4 2A 22 EE 88 E3  .0‚...‚...´*"î.ă
00000190  29 19 99 6E B8 2E 7D F5 5D 79 70 1C 80 1C 0E B7  ).™n¸.}ő]yp.€..·
000001A0  42 45 E8 23 45 9D 66 45 6E 88 50 B6 11 DF 6C 55  BEč#EťfEn.P¶.ßlU
000001B0  73 29 F3 E1 32 03 0F F0 92 EE F3 3D 0B 82 5D 51  s)óá2..đ’îó=.‚]Q
000001C0  5C 9D 8E 61 35 42 B7 EE FF 5B AB 70 B8 36 1A A9  \ťŽa5B·î˙[«p¸6.©
000001D0  55 42 B8 9C 9B EE CB 33 5D 7F FC BA 3E CA 8D 0B  UB¸ś›îË3].üş>ĘŤ.
000001E0  A6 60 8D 81 82 B7 53 AD 91 66 5B 70 B7 B0 AE 12  ¦`Ť.‚·S*‘f[p·°®.
000001F0  FC A8 EC C1 34 58 7F 23 22 50 57 84 E4 81 C9 A0  ü¨ěÁ4X.#"PW„ä.É 
00000200  0B 30 D9 F0 18 73 57 6B AC 64 51 61 DA 2E 55 48  .0Ůđ.sWk¬dQaÚ.UH
00000210  2C 0F A3 85 28 B1 01 D3 0E 1B DA C6 29 40 77 8A  ,.Ł…(±.Ó..ÚĆ)@wŠ
00000220  36 0E 50 8F 48 1E F4 3D 73 60 14 52 C7 A6 73 56  6.PŹH.ô=s`.RǦsV
00000230  78 56 58 E8 2F B0 12 76 20 FD C3 E7 D3 A6 E5 5B  xVXč/°.v ýĂçÓ¦ĺ[
00000240  2B 84 1F 9C 9C E1 1D 9F 3A 58 07 BA C2 96 08 97  +„.śśá.ź:X.şÂ–.—
00000250  00 54 76 7F A3 1B AE 33 6A FE BF 58 CC 3A E0 23  .Tv.Ł.®3jţżXĚ:ŕ#
00000260  B0 C2 C0 8E 42 D7 AF A5 56 D9 66 23 A4 B1 2B C7  °ÂŔŽBׯĄVŮf#¤±+Ç
00000270  BF 44 FA 91 37 A8 24 09 E8 0F 65 6B 8C 50 DB CC  żDú‘7¨$.č.ekŚPŰĚ
00000280  0F B4 A5 F6 83 DB 5A 26 FF 6F 02 03 01 00 01 A3  .´Ąö.ŰZ&˙o.....Ł
00000290  19 30 17 30 0A 06 03 55 04 05 04 03 02 01 01 30  .0.0...U.......0
000002A0  09 06 03 55 1D 13 04 02 30 00 30 0D 06 09 2A 86  ...U....0.0...*†
000002B0  48 86 F7 0D 01 01 0B 05 00 03 82 01 01 00 A5 C7  H†÷.......‚...ĄÇ
000002C0  B1 A5 30 75 EA 27 57 DB 23 55 34 1C E9 1A 50 BD  ±Ą0uę'WŰ#U4.é.P˝
000002D0  64 B0 53 9F 86 BC 72 C5 89 9F 5F DD 1A C0 4C ED  d°Sź†Ľrʼnź_Ý.ŔLí
000002E0  81 A7 B3 9C D8 89 F7 0A 7C 26 7E F6 67 8E F1 C0  .§łśŘ‰÷.|&~ögŽńŔ
000002F0  E9 A0 63 0E 42 32 F9 C6 FF C2 4B 4C 93 7E 4A 27  é c.B2ůĆ˙ÂKL“~J'
00000300  EF 5B CF 22 04 B8 31 28 C5 B7 73 5E 36 BC D0 A3  ď[Ď".¸1(Ĺ·s^6ĽĐŁ
00000310  CB 53 C2 D8 88 5B 7F 78 1B E6 B2 F5 9B 9B 25 9E  ËSÂŘ.[.x.ć˛ő››%ž
00000320  F5 93 B5 92 13 44 D5 C0 30 7D B7 4B 4A 00 4E CB  ő“µ’.DŐŔ0}·KJ.NË
00000330  12 4A 91 AE 79 F1 64 64 51 8A D7 A3 89 5A AC AC  .J‘®yńddQŠ×Ł‰Z¬¬
00000340  BD EC 82 62 7B 26 48 AB FC 54 CB EC D0 8D C9 E2  ˝ě‚b{&H«üTËěĐŤÉâ
00000350  A5 D0 FF 9A ED E0 36 5F 71 25 E5 6D 3B 65 ED D9  ĄĐ˙šíŕ6_q%ĺm;eíŮ
00000360  35 FB D8 94 E6 DD 14 C8 DA 97 08 C7 B7 93 2F EC  5űŘ”ćÝ.ČÚ—.Ç·“/ě
00000370  C4 8C DA 30 59 68 14 8B EF DA E0 34 5C E1 24 41  ÄŚÚ0Yh.‹ďÚŕ4\á$A
00000380  3A 40 7C 51 60 C3 6B B6 A3 F4 DE 39 D3 D4 F5 60  :@|Q`Ăk¶ŁôŢ9ÓÔő`
00000390  C9 EB 09 64 36 5E 12 71 ED 6C C0 53 BF 58 28 8E  Éë.d6^.qílŔSżX(Ž
000003A0  16 D5 68 24 1C 48 F8 A9 11 FF C6 0A 41 3A 02 23  .Őh$.Hř©.˙Ć.A:.#
000003B0  37 A9 E7 9F C5 61 2E B5 49 D3 B4 B5 73 A9 02 01  7©çźĹa.µIÓ´µs©..
000003C0  00 51 0B DB 77 B1 72 81 F9 B4 04 74 EE DE 1C 32  .Q.Űw±r.ů´.tîŢ.2
000003D0  CD 98 22 05 27 35 83 0D 50 61 B3 34 3A 04 AB CF  Í.".'5..Pał4:.«Ď
000003E0  25 CD 25 76 86 A9 4F EA AA D6 5A 83 3A 77 09 9B  %Í%v†©OęŞÖZ.:w.›
000003F0  F7 D0 E5 27 28 83 20 4A A1 DD 88 E4 3C 69 12 CE  ÷Đĺ'(. JˇÝ.ä<i.Î
00000400  1E C1 69 24 92 C7 91 C9 2F 12 56 98 B4 05 4A B2  .Ái$’Ç‘É/.V.´.J˛
00000410  38 E0 9A C2 EC ED 4C CB F6 9C 53 F7 4E 3F D0 F6  8ŕšÂěíLËöśS÷N?Đö
00000420  CB EF D2 7C B1 C8 A3 AC B1 5D 65 DA AE 8E 50 15  ËďŇ|±ČŁ¬±]eÚ®ŽP.
00000430  31 13 7C 78 56 5C 3E FC 3F 3D ED EF 12 24 20 A4  1.|xV\>ü?=íď.$ ¤
00000440  FF C6 76 21 D7 03 D7 85 5A EE 0D 53 D7 CD 0A 02  ˙Ćv!×.×…Zî.S×Í..
00000450  E7 0A F0 8D DB CC 58 8B 51 CD 85 A2 18 A3 90 D2  ç.đŤŰĚX‹QÍ…˘.Ł.Ň
00000460  5F 93 7A 71 81 B0 14 C5 B5 B4 77 CC BD D8 65 F2  _“zq.°.ŵ´wĚ˝Řeň
00000470  4C B8 4E D7 ED FA 01 C4 C2 D1 39 5D 95 D1 26 C5  L¸N×íú.ÄÂŃ9]•Ń&Ĺ
00000480  4E EB 22 48 03 BE 05 42 F6 48 46 8D E9 85 D6 1A  Në"H.ľ.BöHFŤé…Ö.
00000490  12 0B E6 8B 33 85 7B CD F2 AA 6E 5E 21 84 27 12  ..ć‹3…{ÍňŞn^!„'.
000004A0  4F F3 F7 55 FE 4F 33 1D BE C2 15 61 D7 F5 00 E0  Oó÷UţO3.ľÂ.a×ő.ŕ
000004B0  D6 8B 55 61 6B AA B6 C8 7D 23 4F 73 05 92 3C 6F  Ö‹Uak޶Č}#Os.’<o
000004C0  AD D2 F1 06 11 8B 00 00 00 00 00 00 00 00 00 00  *Ňń..‹..........[/COLOR]
000004D0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................

Than you can hex compare stock kernel.elf and generated kernel.elf and you can see its ~the_same :)

And finaly revert these elf to sin by command:
./bin2sin kernel.elf 030000002200000000D0000000800000
 
Last edited:

krachlatte

Senior Member
Feb 10, 2011
109
64
Hi,

could you please tell me were exactly you see the battery drain with ALL Custom Kernels you are revering too?

You are the first to complain about battery drains with my kernel.....

further it would mean that the championswimmer Android Kernel Kitchen would be wrong, this would have a impact on Xperia U/P/Go when generating the elf files whit the mkelf script from Sony, this would imply that all Xperia phones have that battery drain you are talking about....

python mkelf.py -o kernel.elf 0@0x00200000 1@0x01200000,ramdisk
taken from here:
https://github.com/championswimmer/kernel-tools/blob/master/edit-kernel/elf/mk/P-gb

could you comment....?

and if there is really a battery drain issue why don't you get in touch with the makers of the Custom kernel, so that i would be able to fix it for all who are using this Custom Kernel?

many thanks, waiting for you feedback..




Hallo, I found that every custom boot image for Xperia GO is not property packed, have wrong defined memory offset for unpacking to memory and cause big battery drain so I generated proper boot image with right memory offset for unpacking with included all 3 files inside (kernel, ramdisk and elf.3), unsecured and in SIN format + my version of the CWM recovery! Here is tutorial how to propertly root your Xperia Go!

Before you going to install this "pack" you need to unlock your bootloader!
After unlocking bootloader procedure for installing boot image and root tools is:

install boot image:
  • fastboot flash boot kernel.sin

install root tools:
  • adb remount
  • adb push su /system/xbin/
  • adb push busybox /system/xbin/
  • adb install Superuser.apk
  • adb shell
  • cd /system/xbin
  • chmod 6755 su
  • chmod 6755 busybox
  • /system/xbin/busybox --install -s /system/xbin/

Than you are done! Just last step you need to do:

Done! Enjoy! ;)

Kernel source:
I have no source! I used prebuilt stock kernel from firmware 6.0.B.3.184CE
 

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
You are the first to complain about battery drains with my kernel.....

python mkelf.py -o kernel.elf 0@0x00200000 1@0x01200000,ramdisk
taken from here:
https://github.com/championswimmer/kernel-tools/blob/master/edit-kernel/elf/mk/P-gb

could you comment....?

I not complain sorry, thats my experience using your boot image... trust me!

python mkelf.py -o kernel.elf 0@0x00200000 1@0x01200000,ramdisk

is wrong! Right command is:
python mkelf.py -o kernel.elf zImage@0x00008000 initrd.gz@0x01000000,ramdisk

Read here tutorial how to pack propertly your boot image -> http://xdaforums.com/showpost.php?p=31954337&postcount=9 if you not trusting me than realy sorry! Kernel base is not 0x00200000, kernel base is 0x8000... disasemble stock bootimage and you will see! And yes, his kernel kitchen is wrong! You can let him?

You can allso unpack stock kernel and repack it back using right command + my tutorial provided here and you will see in hex comparation thats the same, so its 100% right!
 
Last edited:

olkawe

Member
Jun 25, 2007
35
8
Hallo,
I followed krachlattes root tutorial and have no battery drainage problem.

Greetings
 

kala123

Senior Member
Nov 17, 2009
127
18
I have 2 xperia go phones, and first I flashed kernel whit krachlatte tutorial. and batary dident last long. now I flashed munjeni kernel and my batary lives longer I can confirm. I have 2 xperia go phones, and it realy works!
 
  • Like
Reactions: munjeni

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
Hallo,
I followed krachlattes root tutorial and have no battery drainage problem.

Greetings
Well, charge your phone tonight to 90% for example, type this in your phone number #*#*4636*#*# ,go to battery menu, remebmer battery voltage in mV, than do not touch your phone untill morning, than use your phone and see battery voltage in mV? If battery voltage is the same like yesterday than all is ok, if not than there is battery drain! Than install boot image provided in my post and do the same tests and let me know diference! ;) Again, I am not here to complain! I am here to help! I'm not here for competing with anyone, I am here to share my things with you! If this CWM recovery is usefull to all you than you guys can press thanks, if not than nothing. If you have some questions about recovery, if you found some tests, if you found some bugs... than please let me know! This thread is not for complaining, this thread is for all your experiences about my CWM recovery! Kernel is stock Sony kernel so kernel is not important at this moment, I need only your experience about CWM ! New features in recovery coming soon so I waiting more tests from you and your experience!

What tool you need in next recovery? Give me idea! :)
 
Last edited:

olkawe

Member
Jun 25, 2007
35
8
Hallo,

I can not confirm battery drain. Yesterday at 9pm 4094mV, this morning 6am 4096mV.

I don't know what this means to you and krachlatte.

Greetings
 

munjeni

Senior Member
Jun 2, 2011
9,720
22,374
ok, maybe you have no battery drain but I can confirm I had battery drain and Kala123 had allso... I don't know why you have no battery drain or why Kala123 and me had... but please, this is not theme, please lets back to the recovery... thanks!
 
Last edited:

Androboss

Senior Member
Jun 10, 2012
55
9
Helsingør
ok, maybe you have no battery drain but I can confirm I had battery drain and Kala123 had allso... I don't know why you have no battery drain or why Kala123 and me had... but please, this is not theme, please lets back to the recovery... thanks!

I dont need to check any settings to confirm battery drain, i can see it in %, but tbh i think it is a problem with how the governor smartass v2 runs on the phone and not stock settings and governor.
 

Lebenita

Senior Member
Oct 13, 2008
101
38
Kernel is stock Sony kernel so kernel is not important at this moment, I need only your experience about CWM !

I would love to give your CWM a go, but I'm afraid I need the features that Krachlatte's kernel provides over yours, particularly iptables support and (not a must, but nice to have) additional governors (smartass2).

So my first request would be to provide a possibility of installing your recovery without your kernel (if that's possible at all).

Thanks a bunch!

Lebenita
 

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    Hallo, I found that every custom boot image for Xperia GO is not property packed, have wrong kernel base and wrong initrd base address and cause big battery drain so I generated proper boot image with right base adress and with included all 3 files inside (kernel, ramdisk and elf.3) like stock, unsecured and in SIN format + my version of the CWM recovery! Here is tutorial how to propertly root your Xperia Go!

    Before you going to install this "pack" you need to unlock your bootloader!
    After unlocking bootloader procedure for installing boot image and root tools is:

    install boot image:
    • fastboot flash boot kernel.sin

    install root tools:
    • adb remount
    • adb push su /system/xbin/
    • adb push busybox /system/xbin/
    • adb install Superuser.apk
    • adb shell
    • cd /system/xbin
    • chmod 6755 su
    • chmod 6755 busybox
    • /system/xbin/busybox --install -s /system/xbin/

    Than you are done! Just last step you need to do:

    Done! Enjoy! ;)

    Kernel source:
    • I have no source! I used prebuilt stock kernel from firmware 6.0.B.3.184CE

    Tip and tricks for my CWM version:
    I will integrate tool in sony menu for "one click" skins modification soon! Let me know if you want these option!

    Credits:
    • full credits to author of the Clockworkmod Recovery
    • LeTama for great sin2raw tool
    • every other who helped and tested our recovery

    Please read this Simple diference between Gingerbread and ICS boot+CWM

    Download V6:
    4
    New version for 6.0.B.3.184 is out.. Clockwork Recovery included!
    Play with recovery on your own risk... I am not responsible if you lose your data!

    img1027e.jpg


    21.Sep.2012:
    Changelog:
    • added my own modified version of the Clockwork Recovery
    Recovery:
    • adb fixed - you need to restart adb trought menu and wait 30 sec until adb is reinited
    • battery indicator (icon) in real time
    • leds indicator in real time
    • button backlight enabled
    • you can mount internal sd card
    • you can mount external sd card
    • you can backup/restore from/to internal sd card
    • you can backup/restore from/to external sd card

    23.Sep.2012:
    Changelog:
    Recovery:
    • new menu and tool (Big thanks Letama for great tool!!!) -> my modification to his tool is: backported to arm, backported to recovery, created easy sin to tar packer. This recovery tool is for easilly "in one click" repacking upcoming ICS firmwares! Just place your system.sin into internal sd card, reboot to recovery, under menu click to sony tools, and you will get your system.sin unpacked to system.tar... enjoy! ;)
    • removed adb fix, now adbd is auto enabled on boot... (you just need to wait ~30 seconds until adb and mass storage mode is inited!)

    27.Oct.2012:
    Changelog:
    Recovery V2:
    • all features backported from my ICS bassed CWM but only not kernel and not touch, all other features is the same like in ICS CWM!

    30.Oct.2012:
    Changelog:
    Recovery V3:
    • forgot to include patch for assert board detection in updater-script, it's fixed now!

    31.Oct.2012:
    Changelog:
    Recovery V5 (final version, no supporting anymore, sorry):
    • init.d support (you need to create init.d folder in /system/etc !)
    Please do not create mirored links!
    3

    Hi.

    Here you go : http://d-h.st/aPJ

    I will delete it when munjeni fix his link at first post :)
    2
    Thank you. can you tell me what rom work whit go whit this? Are you tryed Cyanogenmod or any other mod ?

    This is for ST27i_6.0.B.3.184_CE.ftf ...other rooms I not tried! Curently I waiting oficial ICS from Sony so than I will play with CM source :)... I spent whole day to get this CWM full working so enjoy! If something missing please let me know! Comming features soon! ;)
    2
    Ok, but I tried two versions but all had that battery drain so I analysed stock kernel by disasembling him and found these things was wrong in custom boot images... So right command for generating boot image is:
    python mkelf.py -o kernel.elf zImage@0x00008000 initrd.gz@0x01000000,ramdisk

    than you need to hex edit generated boot image:
    Code:
    Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
    
    00000000  7F 45 4C 46 01 01 01 61 00 00 00 00 00 00 00 00  .ELF...a........
    00000010  02 00 28 00 01 00 00 00 00 80 00 00 34 00 00 00  ..(......€..4...
    00000020  00 00 00 00 00 00 00 00 34 00 20 00 [COLOR="Red"]02[/COLOR] 00 00 00  ........4. .....
    0x02 mean 2 parts so to include third part (elf.3) you need to change 0x02 to 0x03

    than you need to inject elf.3 by hex editing and implementing these elf.3 between 0x70 and 0x4d0 offset, final kernel.elf looks like:
    Code:
    Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
    
    00000000  7F 45 4C 46 01 01 01 61 00 00 00 00 00 00 00 00  .ELF...a........
    00000010  02 00 28 00 01 00 00 00 00 80 00 00 34 00 00 00  ..(......€..4...
    00000020  00 00 00 00 00 00 00 00 34 00 20 00 [COLOR="Red"]03[/COLOR] 00 00 00  ........4. .....
    00000030  00 00 00 00 01 00 00 00 00 10 00 00 00 80 00 00  .............€..
    00000040  00 80 00 00 D4 D8 3A 00 D4 D8 3A 00 00 00 00 00  .€..ÔŘ:.ÔŘ:.....
    00000050  00 00 00 00 01 00 00 00 D4 E8 3A 00 00 00 00 01  ........Ôč:.....
    00000060  00 00 00 01 CB 58 23 00 CB 58 23 00 00 00 00 80  ....ËX#.ËX#....€
    00000070  [COLOR="Red"]00 00 00 00 53 49 4E 21 94 00 00 00 00 00 00 00  ....SIN!”.......
    00000080  00 00 00 00 30 04 00 00 30 04 00 00 04 00 00 00  ....0...0.......
    00000090  04 00 00 00 02 00 00 00 04 2D 01 00 00 00 00 00  .........-......
    000000A0  00 00 52 00 00 00 00 00 00 00 94 20 F1 77 14 10  ..R.......” ńw..
    000000B0  CF 4B CB EE F8 6C 64 9C F3 CC B3 8D 6C 24 C1 D6  ĎKËîřldśóĚłŤl$ÁÖ
    000000C0  6B 6F 68 B2 9B 23 A4 3B CF C1 52 39 00 00 04 C4  koh˛›#¤;ĎÁR9...Ä
    000000D0  00 49 84 EC 20 D9 C4 BB 73 4F EF C1 32 58 AF 09  .I„ě ŮÄ»sOďÁ2XŻ.
    000000E0  7F 35 E4 A1 3B 5A 24 AA ED 25 0E AD 1C 00 FA D9  .5äˇ;Z$Şí%.*..úŮ
    000000F0  63 CB 77 9F 09 00 00 03 C8 00 01 02 C1 02 BF 30  cËwź....Č...Á.ż0
    00000100  82 02 BB 30 82 01 A3 A0 03 02 01 02 02 01 02 30  ‚.»0‚.Ł .......0
    00000110  0D 06 09 2A 86 48 86 F7 0D 01 01 0B 05 00 30 17  ...*†H†÷......0.
    00000120  31 15 30 13 06 03 55 04 03 14 0C 53 31 5F 52 6F  1.0...U....S1_Ro
    00000130  6F 74 5F 33 30 36 35 30 1E 17 0D 31 31 31 31 31  ot_30650...11111
    00000140  38 31 33 33 39 33 33 5A 17 0D 33 31 31 31 32 30  8133933Z..311120
    00000150  31 33 33 39 33 33 5A 30 10 31 0E 30 0C 06 03 55  133933Z0.1.0...U
    00000160  04 03 14 05 53 31 5F 53 57 30 82 01 22 30 0D 06  ....S1_SW0‚."0..
    00000170  09 2A 86 48 86 F7 0D 01 01 01 05 00 03 82 01 0F  .*†H†÷.......‚..
    00000180  00 30 82 01 0A 02 82 01 01 00 B4 2A 22 EE 88 E3  .0‚...‚...´*"î.ă
    00000190  29 19 99 6E B8 2E 7D F5 5D 79 70 1C 80 1C 0E B7  ).™n¸.}ő]yp.€..·
    000001A0  42 45 E8 23 45 9D 66 45 6E 88 50 B6 11 DF 6C 55  BEč#EťfEn.P¶.ßlU
    000001B0  73 29 F3 E1 32 03 0F F0 92 EE F3 3D 0B 82 5D 51  s)óá2..đ’îó=.‚]Q
    000001C0  5C 9D 8E 61 35 42 B7 EE FF 5B AB 70 B8 36 1A A9  \ťŽa5B·î˙[«p¸6.©
    000001D0  55 42 B8 9C 9B EE CB 33 5D 7F FC BA 3E CA 8D 0B  UB¸ś›îË3].üş>ĘŤ.
    000001E0  A6 60 8D 81 82 B7 53 AD 91 66 5B 70 B7 B0 AE 12  ¦`Ť.‚·S*‘f[p·°®.
    000001F0  FC A8 EC C1 34 58 7F 23 22 50 57 84 E4 81 C9 A0  ü¨ěÁ4X.#"PW„ä.É 
    00000200  0B 30 D9 F0 18 73 57 6B AC 64 51 61 DA 2E 55 48  .0Ůđ.sWk¬dQaÚ.UH
    00000210  2C 0F A3 85 28 B1 01 D3 0E 1B DA C6 29 40 77 8A  ,.Ł…(±.Ó..ÚĆ)@wŠ
    00000220  36 0E 50 8F 48 1E F4 3D 73 60 14 52 C7 A6 73 56  6.PŹH.ô=s`.RǦsV
    00000230  78 56 58 E8 2F B0 12 76 20 FD C3 E7 D3 A6 E5 5B  xVXč/°.v ýĂçÓ¦ĺ[
    00000240  2B 84 1F 9C 9C E1 1D 9F 3A 58 07 BA C2 96 08 97  +„.śśá.ź:X.şÂ–.—
    00000250  00 54 76 7F A3 1B AE 33 6A FE BF 58 CC 3A E0 23  .Tv.Ł.®3jţżXĚ:ŕ#
    00000260  B0 C2 C0 8E 42 D7 AF A5 56 D9 66 23 A4 B1 2B C7  °ÂŔŽBׯĄVŮf#¤±+Ç
    00000270  BF 44 FA 91 37 A8 24 09 E8 0F 65 6B 8C 50 DB CC  żDú‘7¨$.č.ekŚPŰĚ
    00000280  0F B4 A5 F6 83 DB 5A 26 FF 6F 02 03 01 00 01 A3  .´Ąö.ŰZ&˙o.....Ł
    00000290  19 30 17 30 0A 06 03 55 04 05 04 03 02 01 01 30  .0.0...U.......0
    000002A0  09 06 03 55 1D 13 04 02 30 00 30 0D 06 09 2A 86  ...U....0.0...*†
    000002B0  48 86 F7 0D 01 01 0B 05 00 03 82 01 01 00 A5 C7  H†÷.......‚...ĄÇ
    000002C0  B1 A5 30 75 EA 27 57 DB 23 55 34 1C E9 1A 50 BD  ±Ą0uę'WŰ#U4.é.P˝
    000002D0  64 B0 53 9F 86 BC 72 C5 89 9F 5F DD 1A C0 4C ED  d°Sź†Ľrʼnź_Ý.ŔLí
    000002E0  81 A7 B3 9C D8 89 F7 0A 7C 26 7E F6 67 8E F1 C0  .§łśŘ‰÷.|&~ögŽńŔ
    000002F0  E9 A0 63 0E 42 32 F9 C6 FF C2 4B 4C 93 7E 4A 27  é c.B2ůĆ˙ÂKL“~J'
    00000300  EF 5B CF 22 04 B8 31 28 C5 B7 73 5E 36 BC D0 A3  ď[Ď".¸1(Ĺ·s^6ĽĐŁ
    00000310  CB 53 C2 D8 88 5B 7F 78 1B E6 B2 F5 9B 9B 25 9E  ËSÂŘ.[.x.ć˛ő››%ž
    00000320  F5 93 B5 92 13 44 D5 C0 30 7D B7 4B 4A 00 4E CB  ő“µ’.DŐŔ0}·KJ.NË
    00000330  12 4A 91 AE 79 F1 64 64 51 8A D7 A3 89 5A AC AC  .J‘®yńddQŠ×Ł‰Z¬¬
    00000340  BD EC 82 62 7B 26 48 AB FC 54 CB EC D0 8D C9 E2  ˝ě‚b{&H«üTËěĐŤÉâ
    00000350  A5 D0 FF 9A ED E0 36 5F 71 25 E5 6D 3B 65 ED D9  ĄĐ˙šíŕ6_q%ĺm;eíŮ
    00000360  35 FB D8 94 E6 DD 14 C8 DA 97 08 C7 B7 93 2F EC  5űŘ”ćÝ.ČÚ—.Ç·“/ě
    00000370  C4 8C DA 30 59 68 14 8B EF DA E0 34 5C E1 24 41  ÄŚÚ0Yh.‹ďÚŕ4\á$A
    00000380  3A 40 7C 51 60 C3 6B B6 A3 F4 DE 39 D3 D4 F5 60  :@|Q`Ăk¶ŁôŢ9ÓÔő`
    00000390  C9 EB 09 64 36 5E 12 71 ED 6C C0 53 BF 58 28 8E  Éë.d6^.qílŔSżX(Ž
    000003A0  16 D5 68 24 1C 48 F8 A9 11 FF C6 0A 41 3A 02 23  .Őh$.Hř©.˙Ć.A:.#
    000003B0  37 A9 E7 9F C5 61 2E B5 49 D3 B4 B5 73 A9 02 01  7©çźĹa.µIÓ´µs©..
    000003C0  00 51 0B DB 77 B1 72 81 F9 B4 04 74 EE DE 1C 32  .Q.Űw±r.ů´.tîŢ.2
    000003D0  CD 98 22 05 27 35 83 0D 50 61 B3 34 3A 04 AB CF  Í.".'5..Pał4:.«Ď
    000003E0  25 CD 25 76 86 A9 4F EA AA D6 5A 83 3A 77 09 9B  %Í%v†©OęŞÖZ.:w.›
    000003F0  F7 D0 E5 27 28 83 20 4A A1 DD 88 E4 3C 69 12 CE  ÷Đĺ'(. JˇÝ.ä<i.Î
    00000400  1E C1 69 24 92 C7 91 C9 2F 12 56 98 B4 05 4A B2  .Ái$’Ç‘É/.V.´.J˛
    00000410  38 E0 9A C2 EC ED 4C CB F6 9C 53 F7 4E 3F D0 F6  8ŕšÂěíLËöśS÷N?Đö
    00000420  CB EF D2 7C B1 C8 A3 AC B1 5D 65 DA AE 8E 50 15  ËďŇ|±ČŁ¬±]eÚ®ŽP.
    00000430  31 13 7C 78 56 5C 3E FC 3F 3D ED EF 12 24 20 A4  1.|xV\>ü?=íď.$ ¤
    00000440  FF C6 76 21 D7 03 D7 85 5A EE 0D 53 D7 CD 0A 02  ˙Ćv!×.×…Zî.S×Í..
    00000450  E7 0A F0 8D DB CC 58 8B 51 CD 85 A2 18 A3 90 D2  ç.đŤŰĚX‹QÍ…˘.Ł.Ň
    00000460  5F 93 7A 71 81 B0 14 C5 B5 B4 77 CC BD D8 65 F2  _“zq.°.ŵ´wĚ˝Řeň
    00000470  4C B8 4E D7 ED FA 01 C4 C2 D1 39 5D 95 D1 26 C5  L¸N×íú.ÄÂŃ9]•Ń&Ĺ
    00000480  4E EB 22 48 03 BE 05 42 F6 48 46 8D E9 85 D6 1A  Në"H.ľ.BöHFŤé…Ö.
    00000490  12 0B E6 8B 33 85 7B CD F2 AA 6E 5E 21 84 27 12  ..ć‹3…{ÍňŞn^!„'.
    000004A0  4F F3 F7 55 FE 4F 33 1D BE C2 15 61 D7 F5 00 E0  Oó÷UţO3.ľÂ.a×ő.ŕ
    000004B0  D6 8B 55 61 6B AA B6 C8 7D 23 4F 73 05 92 3C 6F  Ö‹Uak޶Č}#Os.’<o
    000004C0  AD D2 F1 06 11 8B 00 00 00 00 00 00 00 00 00 00  *Ňń..‹..........[/COLOR]
    000004D0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................

    Than you can hex compare stock kernel.elf and generated kernel.elf and you can see its ~the_same :)

    And finaly revert these elf to sin by command:
    ./bin2sin kernel.elf 030000002200000000D0000000800000