Sony Xperia GO property root for 6.0.B.3.184 + CWM recovery v5.5.0.4 - Sony Xperia P, U, Sola, Go

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:
establish internet connection on your phone
go to aplications
run superuser
under superuser menu click to "tap to ckeck for updates" (see picture http://img52.imageshack.us/img52/2097/screenshot201209151603.png) and update your super user... make sure to give and "remember" permision for superuser app!
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:
Did you know about our CWM that you can change menu and text colors, backgrounds? Yes you can do it by puting menu.txt into ramdisk /res/images folder by writing to menu.txt for example:
122,122,122,255,255,255
First 3 numbers is rgb color for menu and seccond 3 numbers is rgb color for text !!!
Here is some creative skins done to my HTC HD2 recovery by mlkjuggalo:
http://forum.xda-developers.com/attachment.php?attachmentid=873816&d=1327602621
http://forum.xda-developers.com/attachment.php?attachmentid=918464&d=1330133568
http://forum.xda-developers.com/attachment.php?attachmentid=919565&d=1330197024
http://forum.xda-developers.com/attachment.php?attachmentid=920011&d=1330223710
http://forum.xda-developers.com/attachment.php?attachmentid=922328&d=1330363561
http://forum.xda-developers.com/attachment.php?attachmentid=922789&d=1330384481
http://forum.xda-developers.com/attachment.php?attachmentid=923476&d=1330430278
http://forum.xda-developers.com/attachment.php?attachmentid=925079&d=1330523453
http://forum.xda-developers.com/attachment.php?attachmentid=925252&d=1330533287
http://forum.xda-developers.com/attachment.php?attachmentid=925800&d=1330560509
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:
http://d-h.st/aPJ

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!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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!

Thank you. can you tell me what rom work whit go whit this? Are you tryed Cyanogenmod or any other mod ?

kala123 said:
Thank you. can you tell me what rom work whit go whit this? Are you tryed Cyanogenmod or any other mod ?
Click to expand...
Click to collapse
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!

Thanks. The GO should get an own forum here.
Sola, p, u, got but the sxgo not.

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!!!

What you think about this CM9 sources?
https://github.com/CyanogenMod/sony-kernel-u8500
https://github.com/CyanogenMod/android_device_sony_nypon
https://github.com/CyanogenMod/android_device_sony_montblanc-common
...I think these sources will be good start point for our Xperia Go ?

No battery improvement
munjeni said:
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
Click to expand...
Click to collapse
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://forum.xda-developers.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

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 [email protected]00008000 [email protected],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

The files in the first post have been corrected whit battery drain issue?

Yes, its generated propertly!

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 [email protected] [email protected],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..
munjeni said:
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:
establish internet connection on your phone
go to aplications
run superuser
under superuser menu click to "tap to ckeck for updates" (see picture http://img52.imageshack.us/img52/2097/screenshot201209151603.png) and update your super user... make sure to give and "remember" permision for superuser app!
Done! Enjoy!
Kernel source:
I have no source! I used prebuilt stock kernel from firmware 6.0.B.3.184CE
Click to expand...
Click to collapse

krachlatte said:
You are the first to complain about battery drains with my kernel.....
python mkelf.py -o kernel.elf [email protected] [email protected],ramdisk
taken from here:
https://github.com/championswimmer/kernel-tools/blob/master/edit-kernel/elf/mk/P-gb
could you comment....?
Click to expand...
Click to collapse
I not complain sorry, thats my experience using your boot image... trust me!
python mkelf.py -o kernel.elf [email protected] [email protected],ramdisk
is wrong! Right command is:
python mkelf.py -o kernel.elf [email protected] [email protected],ramdisk
Read here tutorial how to pack propertly your boot image -> http://forum.xda-developers.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!

Hallo,
I followed krachlattes root tutorial and have no battery drainage problem.
Greetings

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!

olkawe said:
Hallo,
I followed krachlattes root tutorial and have no battery drainage problem.
Greetings
Click to expand...
Click to collapse
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!

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

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!

munjeni said:
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!
Click to expand...
Click to collapse
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.

munjeni said:
Kernel is stock Sony kernel so kernel is not important at this moment, I need only your experience about CWM !
Click to expand...
Click to collapse
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

Related

Carrierlogo.gif - does anyone know where it's referenced from??

I recently upgraded the Rom in my Vario II to the 1.34 Cingular Rom and I've been trying for a few hours now to remove the little "Cingular" logo from the dialpad without success.
The problem is that \Windows\_Carrierlogo.gif is stored in the ROM and so it can't be deleted or replaced (because you can't write to the 1.3x Rom versions yet).
Does anyone know where the _Carrierlogo.gif is called from? (I've searched the registry and can find no mention of it there).
I assume if I can find reference to it in a *.inf or *.ini file then I can redirect it to my own carrier logo.
I know it seems petty, but that little logo really bugs me! although not nearly as much as the PTT button issue
Regards,
Mark
1) dump the imgfs: http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom
2) Extract the contents of imgfs:
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoExtractImgfs
3) install cygwin and do a "grep -ri Carrierlogo *" on the dumped files, you should see where the "carrierlogo.gif" is referenced there.
Thanks for your help,
All this is a little beyond me but I've followed your instructions and somehow I've overcome all odds and located the reference
Cygwin found it in PP_UXC_HermesCWS.xml and tells me it's a Binary file, now my problem is I haven't the faintest idea how to edit it!
Regards,
Mark
Code:
# hexdump -v -C PP_UXC_HermesCWS.xml
00000000 00 00 00 00 3c 77 61 70 2d 70 72 6f 76 69 73 69 |....<wap-provisi|
00000010 6f 6e 69 6e 67 64 6f 63 3e 0d 0a 3c 21 2d 2d 20 |oningdoc>..<!-- |
00000020 32 2e 20 42 80 00 00 0c 72 61 6e 64 a8 00 40 00 |2. [email protected]|
00000030 69 63 6b 20 43 61 72 72 69 65 72 6c 6f 67 6f 20 |ick Carrierlogo |
00000040 2d 2d 38 01 09 3c 63 68 61 72 61 2c 00 00 00 63 |--8..<chara,...c|
00000050 74 65 72 69 73 74 69 63 20 74 79 70 65 3d 22 46 |teristic type="F|
[...]
It is there, but I can't see the ".gif"... have u compared the file which is on your mobile filesystem with the one you extracted? are they equal?
Btw, you can use any hex editor to edit a binary file.
Thanks pof!
The file in my \Windows directory is twice the size of the one extracted from the ROM and can easily be edited in notepad on my desktop PC
I have changed Carrierlogo.gif & _Carrierlogo.gif into MyCarrierlogo.gif & _MyCarrierlogo.gif and I'm pleased to say that I now have a new Carrier logo
Regards,
Mark
congrats!!
Glad you did it

trouble upgrading radio from 4.41

Hey guys. I had upgraded my cing 8525 to radio verion 4.41.something. GSM was working fine but data was not connecting. I tried upgrading the radio to 4.43..but the upgrade stays at 0 percent. I tried a diff radio version, and same thing. Only way i could get back into OS was by flashing OS only rom. Right now im trying official att 8525 update and its stuck at 12% probably because its trying to upgrade the radio. Anyone see such a problem before? Any ideas?
btw, i had flashed hard splv7 first, then radio to 4.41.00.10 then black shadow...then i tried upgrading the radio...no luck yet.
jiggytom said:
btw, i had flashed hard splv7 first, then radio to 4.41.00.10 then black shadow...then i tried upgrading the radio...no luck yet.
Click to expand...
Click to collapse
4.41.00.10 radio?
u mean 1.41.00.10?
YEs, 1.41... I left the att update all night, still stuck at 12 percent. Is there a WM5 Rom thats OS only somewhere? I wanna see if i can get data to work in wm5 because it didnt work in wm6.
Now im totally unusable with no gsm message. I am going to attach my txt file of usb monitor....this is while trying to install original cingular rom and radio upgrade.
Any help would be appreciated.
48 54 43 45HTCE
000670: Bulk or Interrupt Transfer (UP), 20.06.2007 14:21:34.9531250 +1.0312500
Pipe Handle: 0x8a5ff654 (Endpoint Address: 0x81)
Get 0x1a bytes from the device:
52 65 73 74 6F 72 65 20 45 78 74 52 6F 6D 20 43 Restore ExtRom C
6F 6D 70 6C 65 74 65 0D 0D 0A omplete...
000671: Bulk or Interrupt Transfer (UP), 20.06.2007 14:21:59.5781250 +24.6250000
Pipe Handle: 0x8a5ff654 (Endpoint Address: 0x81)
Get 0xf bytes from the device:
72 70 61 73 73 20 46 41 49 4C 21 2 rpass FAIL!
then it just keeps doing rpass FAIL.
I have tired using the erase commands with the correct password.
How do I use MaUpgradeUt_noID?
Just ran a himalaya rom upgrade. Still getting no gsm sign and freezes at att boot screen.. How do i use that MaUpgradeUt_noID with a rom image i have?
some more info
ÿ...[email protected]@..
00 00 2B 50 6F 72 74 31 20 64 69 64 20 6E 6F 74 ..+Port1 did not
20 67 65 74 20 63 6F 6E 6E 65 63 74 0A 00 00 00 get connect....
00 00 47 65 74 44 61 74 61 49 6E 2C 20 63 68 65 ..GetDataIn, che
63 6B 73 75 6D 20 65 72 72 6F 72 3A 20 75 69 43 cksum error: uiC
68 65 63 6B 53 75 6D 43 52 43 3D 30 78 25 78 2C heckSumCRC=0x%x,
20 75 69 43 68 65 63 6B 53 75 6D 43 52 43 43 61 uiCheckSumCRCCa
6C 63 3D 30 78 25 78 0A 00 00 47 65 74 44 61 74 lc=0x%x...GetDat
61 49 6E 3A 46 61 69 6C 20 69 6E 20 77 61 69 74 aIn:Fail in wait
20 63 68 65 63 6B 73 75 6D 0A 00 00 00 00 47 65 checksum.....Ge
74 44 61 74 61 49 6E 3A 46 61 69 6C 20 2C 20 6C tDataIn:Fail , l
65 6E 67 74 68 3D 25 64 2C 20 52 65 61 64 20 62 ength=%d, Read b
79 74 65 73 3D 25 64 0A 00 00 2B 47 65 74 44 61 ytes=%d...+GetDa
74 61 49 6E 3A 20 64 77 4C 65 6E 67 74 68 3D 25 taIn: dwLength=%
78 0A 00 00 00 00 72 70 61 73 73 20 46 41 49 4C x.....rpass FAIL
20 69 6E 20 72 65 74 72 79 21 21 21 0A 00 52 61 in retry!!!..Ra
64 69 6F 20 52 65 2D 53 65 6E 64 0D 0A 00 72 70 dio Re-Send...rp
61 73 73 20 46 41 49 4C 21 21 21 0A 00 00 44 6F ass FAIL!!!...Do
77 6E 6C 6F 61 64 20 47 53 4D 20 46 61 69 6C 0A wnload GSM Fail.
00 00 52 30 30 30 46 46 0A 00 53 30 30 30 46 46 ..R000FF..S000FF
0A 00 A2 00 00 00 A2 00 00 00 A2 00 00 00 00 00 ..¢...¢...¢.....
00 00 30 81 9F 30 0D 06 09 2A 86 48 86 F7 0D 01 ..0?0...*?H?÷..
01 01 05 00 03 81 8D 00 30 81 89 02 81 81 00 B1 ......0?..±
DC 48 49 AE 9D 08 FB 32 0F 55 E1 60 61 0D 76 0F ÜHI®.û2.Uá`a.v.
3F D2 51 93 88 AE 57 73 71 5B 87 3E 6A 23 C1 A6 ?ÒQ??®Wsq[?>j#Á¦
03 93 3C 66 93 59 32 D0 53 F9 A9 E9 73 87 B1 BA .?<f?Y2ÐSù©és?±º
2A 40 80 CC A2 E6 AC E3 08 7B A6 CB CF 4C C3 80 *@?Ì¢æ¬ã.{¦ËÏLÃ?
1F ED 59 59 B1 B7 9A B2 70 39 93 EA 49 84 C1 CD .íYY±·?²p9?êI?ÁÍ
FA 87 3C 69 56 40 F7 89 D1 D3 43 82 0F 55 D5 6C ú?<[email protected]÷?ÑÓC?.UÕl
31 80 11 05 85 D4 44 67 EC 94 9E 01 4B 73 43 BD 1?..?ÔDgì??.KsC½
2E F4 E5 29 9D 88 77 B6 EC F2 DE 79 B4 F0 7B 02 .ôå)?w¶ìòÞy´ð{.
03 01 00 01 00 00 00 00 00 00 30 81 9F 30 0D 06 ..........0?0..
09 2A 86 48 86 F7 0D 01 01 01 05 00 03 81 8D 00 .*?H?÷........
30 81 89 02 81 81 00 AF 04 CE 7F C6 25 79 BE F3 0?..¯.ÎÆ%y¾ó
84 BB 8D C9 8C 86 E9 B2 E0 67 AA 62 19 99 E7 51 ?»É??é²àgªb.?çQ
DA 69 6C E8 EB 51 37 CC 35 18 E6 35 EA 3F BA 67 ÚilèëQ7Ì5.æ5ê?ºg
11 EA F9 3D 8E 9B 41 48 53 59 A7 96 B6 30 5C AF .êù=??AHSY§?¶0\¯
9D 8A F9 3E 27 2B EF 5E AA FA 04 27 32 29 6A 1E ?ù>'+ï^ªú.'2)j.
58 4F F1 6B 21 51 40 4E 3C F0 B9 21 EB E3 B0 A0 XOñ[email protected]<ð¹!ëã°
B1 D3 75 30 3A F6 94 6A 69 F3 71 41 5C 8E C5 E5 ±Óu0:ö?jióqA\?Åå
F1 83 0C 36 29 9B 5C 4A B5 30 49 C6 5F 82 19 3C ñ?.6)?\Jµ0IÆ_?.<
24 B4 77 4B DB 93 4B 02 03 01 00 01 00 00 00 00 $´wKÛ?K.........
00 00 30 81 9F 30 0D 06 09 2A 86 48 86 F7 0D 01 ..0?0...*?H?÷..
01 01 05 00 03 81 8D 00 30 81 89 02 81 81 00 F7 ......0?..÷
65 A3 A0 C9 C2 91 D8 1A 56 FE 73 79 4A 74 6B 8D e£ ÉÂ?Ø.VþsyJtk
A2 3D BE 15 5D 0D 49 5B 49 D5 81 B5 C6 54 5F 44 ¢=¾.].I[IՁµÆT_D
9A 10 FD F1 C2 6A 92 FB D1 F4 3A 06 87 04 49 27 ?.ýñÂj?ûÑô:.?.I'
A6 A2 1B 69 A7 39 99 E6 08 3D 03 AC DA FF A6 40 ¦¢.i§9?æ.=.¬Úÿ¦@
9F 1B C7 1D 81 06 28 F6 E1 8F 76 23 1E D6 E2 2D ?.Ç..(öáv#.Öâ-
54 ED 25 02 E6 6F 8A 33 D0 D5 F0 7B 3E B6 05 F7 Tí%.æo?3ÐÕð{>¶.÷
41 81 10 E2 EF 9A 5E E7 7B 07 0F 4E AD FC F3 D7 A.âï?^ç{..N*üó×
0C 53 E8 70 F2 9C 9D 4F 22 9F 2C B6 C2 53 83 02 .Sèpò?O"?,¶ÂS?.
03 01 00 01 00 00 45 52 52 4F 52 3A 20 4E 4F 20 ......ERROR: NO
68 65 61 64 65 72 20 6D 61 74 63 68 65 64 0A 00 header matched..
00 00 49 00 4E 00 46 00 4F 00 3A 00 20 00 4A 00 ..I.N.F.O.:. .J.
75 00 6D 00 70 00 69 00 6E 00 67 00 20 00 74 00 u.m.p.i.n.g. .t.
6F 00 20 00 69 00 6D 00 61 00 67 00 65 00 2E 00 o. .i.m.a.g.e...
2E 00 2E 00 0D 00 0A 00 00 00 00 00 00 00 49 00 ..............I.
4E 00 46 00 4F 00 3A 00 20 00 4C 00 6F 00 61 00 N.F.O.:. .L.o.a.
64 00 69 00 6E 00 67 00 20 00 69 00 6D 00 61 00 d.i.n.g. .i.m.a.
67 00 65 00 20 00 2E 00 2E 00 2E 00 0D 00 0A 00 g.e. ...........
00 00 00 00 00 00 00 00 00 00 45 00 52 00 52 00 ..........E.R.R.
4F 00 52 00 3A 00 20 00 46 00 61 00 69 00 6C 00 O.R.:. .F.a.i.l.
65 00 64 00 20 00 74 00 6F 00 20 00 6A 00 75 00 e.d. .t.o. .j.u.
6D 00 70 00 20 00 74 00 6F 00 20 00 6C 00 6F 00 m.p. .t.o. .l.o.
61 00 64 00 65 00 64 00 20 00 69 00 6D 00 61 00 a.d.e.d. .i.m.a.
67 00 65 00 2E 00 00 00 00 00 45 00 52 00 52 00 g.e.......E.R.R.
4F 00 52 00 3A 00 20 00 46 00 61 00 69 00 6C 00 O.R.:. .F.a.i.l.
65 00 64 00 20 00 74 00 6F 00 20 00 72 00 65 00 e.d. .t.o. .r.e.
61 00 64 00 20 00 69 00 6D 00 61 00 67 00 65 00 a.d. .i.m.a.g.e.
20 00 64 00 61 00 74 00 61 00 20 00 66 00 72 00 .d.a.t.a. .f.r.
6F 00 6D 00 20 00 73 00 74 00 6F 00 72 00 61 00 o.m. .s.t.o.r.a.
67 00 65 00 20 00 70 00 61 00 72 00 74 00 69 00 g.e. .p.a.r.t.i.
74 00 69 00 6F 00 6E 00 2E 00 00 00 00 00 00 00 t.i.o.n.........
00 00 45 00 52 00 52 00 4F 00 52 00 3A 00 20 00 ..E.R.R.O.R.:. .
46 00 61 00 69 00 6C 00 65 00 64 00 20 00 74 00 F.a.i.l.e.d. .t.
6F 00 20 00 74 00 72 00 61 00 6E 00 73 00 6C 00 o. .t.r.a.n.s.l.
61 00 74 00 65 00 20 00 69 00 6D 00 61 00 67 00 a.t.e. .i.m.a.g.
65 00 20 00 61 00 64 00 64 00 72 00 65 00 73 00 e. .a.d.d.r.e.s.
73 00 2E 00 00 00 00 00 00 00 45 00 52 00 52 00 s.........E.R.R.
4F 00 52 00 3A 00 20 00 46 00 61 00 69 00 6C 00 O.R.:. .F.a.i.l.
65 00 64 00 20 00 74 00 6F 00 20 00 72 00 65 00 e.d. .t.o. .r.e.
74 00 72 00 69 00 65 00 76 00 65 00 20 00 73 00 t.r.i.e.v.e. .s.
74 00 6F 00 72 00 65 00 64 00 20 00 69 00 6D 00 t.o.r.e.d. .i.m.
61 00 67 00 65 00 20 00 69 00 6E 00 66 00 6F 00 a.g.e. .i.n.f.o.
72 00 6D 00 61 00 74 00 69 00 6F 00 6E 00 2E 00 r.m.a.t.i.o.n...
00 00 00 00 00 00 00 00 00 00 45 00 52 00 52 00 ..........E.R.R.
4F 00 52 00 3A 00 20 00 46 00 61 00 69 00 6C 00 O.R.:. .F.a.i.l.
65 00 64 00 20 00 74 00 6F 00 20 00 67 00 65 00 e.d. .t.o. .g.e.
74 00 20 00 73 00 74 00 6F 00 72 00 61 00 67 00 t. .s.t.o.r.a.g.
65 00 20 00 74 00 79 00 70 00 65 00 20 00 69 00 e. .t.y.p.e. .i.
6E 00 66 00 6F 00 72 00 6D 00 61 00 74 00 69 00 n.f.o.r.m.a.t.i.
6F 00 6E 00 2E 00 00 00 00 00 45 00 52 00 52 00 o.n.......E.R.R.
4F 00 52 00 3A 00 20 00 46 00 61 00 69 00 6C 00 O.R.:. .F.a.i.l.
65 00 64 00 20 00 74 00 6F 00 20 00 6F 00 70 00 e.d. .t.o. .o.p.
65 00 6E 00 20 00 73 00 74 00 6F 00 72 00 61 00 e.n. .s.t.o.r.a.
67 00 65 00 20 00 70 00 61 00 72 00 74 00 69 00 g.e. .p.a.r.t.i.
74 00 69 00 6F 00 6E 00 2E 00 00 00 00 00 00 00 t.i.o.n.........
00 00 45 00 52 00 52 00 4F 00 52 00 3A 00 20 00 ..E.R.R.O.R.:. .
46 00 61 00 69 00 6C 00 65 00 64 00 20 00 74 00 F.a.i.l.e.d. .t.
6F 00 20 00 69 00 6E 00 69 00 74 00 69 00 61 00 o. .i.n.i.t.i.a.
6C 00 69 00 7A 00 65 00 20 00 62 00 6F 00 6F 00 l.i.z.e. .b.o.o.
74 00 70 00 61 00 72 00 74 00 20 00 6C 00 69 00 t.p.a.r.t. .l.i.
62 00 72 00 61 00 72 00 79 00 2E 00 00 00 00 00 b.r.a.r.y.......
00 00 45 00 52 00 52 00 4F 00 52 00 3A 00 20 00 ..E.R.R.O.R.:. .
55 00 6E 00 61 00 62 00 6C 00 65 00 20 00 74 00 U.n.a.b.l.e. .t.
6F 00 20 00 66 00 69 00 6E 00 64 00 20 00 49 00 o. .f.i.n.d. .I.
50 00 4C 00 20 00 74 00 61 00 62 00 6C 00 65 00 P.L. .t.a.b.l.e.
20 00 6F 00 66 00 20 00 63 00 6F 00 6E 00 74 00 .o.f. .c.o.n.t.
65 00 6E 00 74 00 73 00 2E 00 00 00 00 00 CC 6B e.n.t.s.......Ìk
0B 8C 55 70 64 61 74 65 46 6C 61 73 68 4F 4B 2D .?UpdateFlashOK-
2D 2D 00 00 00 00 53 61 76 65 20 45 45 50 52 4F --....Save EEPRO
4D 20 69 6E 74 6F 20 66 6C 61 73 68 20 66 61 69 M into flash fai
6C 65 64 21 21 21 21 0A 00 00 43 61 6E 27 74 20 led!!!!...Can't
6
seems i amhaving a problem with rspeed/ rpass...anyone know what that is?
jiggytom said:
Just ran a himalaya rom upgrade. Still getting no gsm sign and freezes at att boot screen.. How do i use that MaUpgradeUt_noID with a rom image i have?
Click to expand...
Click to collapse
Is a himalaya rom even compatible with a hermes device? Why would you even try to flash a rom from a different device into yours?
In any case you would be better off posting this in the bricked hermes thread in the Upgrading, etc. forum. There is a detailed matrix of different states of "bricked" devices. And suggestions on how to recover from each of them. Also the pros tend to watch that thread as well.
supposedly the himalaya rom does a good job erasing the old rom...thats why i tried that...

[App][2010.11.10] Png2Exe - Creates an exe file with an embedded image as icon.

Let's say you have a nice exe file, but the icon included in the file is rubbish (which is quite common because developers sucks at graphic work )
This app can be used to create a launcher exe for that application with a image as the icon. It converts the image file (png,jpg,gif or bmp) into an ICON and inserts it into the EXE, so it can be used to set different icons as the ones provided in the original exe.
Really simple to use, takes 4 input values:
. Path of the original exe.
. Arguments to pass to the program.
. Path where the launcher will be created.
. Path for the image file used for the icon.
It allows to specify the arguments for the process, so it can be used to executing individual items on the control panel, or do more 'clever things' such as dialing up a phone number.
Thanks to Kucher for the idea and suggestions.
(first version, so it may contain some bugs )
Couple of screenshots to give you an idea:
UPDATE:
v3 has a couple of changes:
. Allows to choose any image file (jpg, bmp, gif and png) for the embedded icon
. Display a preview on the image in the select list
v4 more changes:
. Big thumbnails
. Fix Cyrillic bug found by Vadim
Still to do... multilingual 8)
Great idea.
Will be testing this out tonight.
Thanks for it.
Nice and useful Thanks
Nice work! Thank you very much.
it was your idea
I just realize it works with any image file (bmp, jpg, etc) so I'll remove the *.png filter and include all the other extensions
Thanks for this great little tool
dubidu said:
Really simple to use, takes 4 input values:
. Path of the original exe.
. Arguments to pass to the program.
. Path where the launcher will be created.
. Path for the PNG file used for the icon.
Click to expand...
Click to collapse
wonderfull app idea, just what ive been lookin for, just a few questions tho hopefully someone can help...
how do i find the argument to pass the program?
and im not able to pinpoint an image to use for the icon, i can see my folders but not the contents, what do i do?
and what size png images do i make for my htc hd2?
thanks
If I may suggest a small change, sometimes the argument is another exe file (as in astro gps launcher). Can you add the browse button also on the Arguments field?
Right now I am using first browsing the argument exe file (on exe path), then I cut it and paste on second field, then I browse again now for the real exe file.
Maybe add it also on Launcher Path field, so we don't need to type it.
Hallo, dubidu!
A. Bug report:
1. If the path to the exe-file contains Cyrillic, it is impossible to run the file, because path (inside launcher) has error, e.g. \\$;5H-48A:\\Program Files\\Yandex Fotki\\YandexFotki.exe (must be: \\Флеш-диск\\Program Files\\Yandex Fotki\\YandexFotki.exe)
2. I can to change the launcher name in line, but the file name remains unchanged.
B. There is Russian translation
Regards,
Vadim
excellent, not it will be multi language
I will add your test in the next build, I have to add the option for other images and include a thumbnail picture of the images, its easier to find the icon.
Txs to all the people who test it, and for that nice Txs for the Russian translation
great thing... I'll test it asap, sounds very more usefull than what I'm doing now to create .exe with icons (with visual studio) and it can be so easy made, on the fligh, over the phone.
tx++
Great little tool, works flawlessly on my old device
Thanks!
vadim_bogaiskov said:
Hallo, dubidu!
A. Bug report:
1. If the path to the exe-file contains Cyrillic, it is impossible to run the file, because path (inside launcher) has error, e.g. \\$;5H-48A:\\Program Files\\Yandex Fotki\\YandexFotki.exe (must be: \\Флеш-диск\\Program Files\\Yandex Fotki\\YandexFotki.exe)
2. I can to change the launcher name in line, but the file name remains unchanged.
B. There is Russian translation
Regards,
Vadim
Click to expand...
Click to collapse
Hallo Vadim,
Had a look at the Cyrillic path problem,
The reason was because I was manually converting the string to unicode (I know, lazy approach), so when you pass a path which is already in unicode, it will do it wrong (extra zeros)
The unicode for the "Флеш-диск" string should be:
00000000 24 04 3B 04 35 04 48 04 2D 00 34 04 38 04 $ ; 5 H - 4 8
0000000E 41 04 3A 04 A :
but what I generate is:
00000C78 5C 00 53 00 74 00 6F 00 72 00 61 00 67 00 \ S t o r a g
00000C86 65 00 20 00 43 00 61 00 72 00 64 00 5C 00 e C a r d \
00000C94 74 00 65 00 73 00 74 00 5C 00 24 00 3B 00 t e s t \ $ ;
00000CA2 35 00 48 00 2D 00 34 00 38 00 41 00 3A 00 5 H - 4 8 A :
00000CB0 5C 00 74 00 65 00 73 00 74 00 5C 00 5F 00 \ t e s t \ _
00000CBE 54 00 52 00 45 00 2E 00 65 00 78 00 65 00 T R E . e x e
I've changed the code to properly encode the string to Unicode, now the path "should" contain the valid characters
00000C78 5C 00 53 00 74 00 6F 00 72 00 61 00 67 00 \ S t o r a g
00000C86 65 00 20 00 43 00 61 00 72 00 64 00 5C 00 e C a r d \
00000C94 74 00 65 00 73 00 74 00 5C 00 24 04 3B 04 t e s t \ $ ;
00000CA2 35 04 48 04 2D 00 34 04 38 04 41 04 3A 04 5 H - 4 8 A :
00000CB0 5C 00 74 00 65 00 73 00 74 00 5C 00 5F 00 \ t e s t \ _
00000CBE 54 00 52 00 45 00 2E 00 65 00 78 00 65 00 T R E . e x e
(e.g.: 3B 04 rather than 3B 00)
v4 should have those changes, I did a quick test on the emulator with that nice Cyrillic string and it does work fine.
btw, thanks for testing
dubidu said:
Hallo Vadim,
Had a look at the Cyrillic path problem,
The reason was because I was manually converting the string to unicode (I know, lazy approach), so when you pass a path which is already in unicode, it will do it wrong (extra zeros)
The unicode for the "Флеш-диск" string should be:
00000000 24 04 3B 04 35 04 48 04 2D 00 34 04 38 04 $ ; 5 H - 4 8
0000000E 41 04 3A 04 A :
but what I generate is:
00000C78 5C 00 53 00 74 00 6F 00 72 00 61 00 67 00 \ S t o r a g
00000C86 65 00 20 00 43 00 61 00 72 00 64 00 5C 00 e C a r d \
00000C94 74 00 65 00 73 00 74 00 5C 00 24 00 3B 00 t e s t \ $ ;
00000CA2 35 00 48 00 2D 00 34 00 38 00 41 00 3A 00 5 H - 4 8 A :
00000CB0 5C 00 74 00 65 00 73 00 74 00 5C 00 5F 00 \ t e s t \ _
00000CBE 54 00 52 00 45 00 2E 00 65 00 78 00 65 00 T R E . e x e
I've changed the code to properly encode the string to Unicode, now the path "should" contain the valid characters
00000C78 5C 00 53 00 74 00 6F 00 72 00 61 00 67 00 \ S t o r a g
00000C86 65 00 20 00 43 00 61 00 72 00 64 00 5C 00 e C a r d \
00000C94 74 00 65 00 73 00 74 00 5C 00 24 04 3B 04 t e s t \ $ ;
00000CA2 35 04 48 04 2D 00 34 04 38 04 41 04 3A 04 5 H - 4 8 A :
00000CB0 5C 00 74 00 65 00 73 00 74 00 5C 00 5F 00 \ t e s t \ _
00000CBE 54 00 52 00 45 00 2E 00 65 00 78 00 65 00 T R E . e x e
(e.g.: 3B 04 rather than 3B 00)
v4 should have those changes, I did a quick test on the emulator with that nice Cyrillic string and it does work fine.
btw, thanks for testing
Click to expand...
Click to collapse
Yes, this is the case (I just looked at the code ). Now the application works fine with Cyrillic pathnames! Thank you for your great app!
Russian translation for v.0.4 here.
See also http://4winphone.blogspot.com/2010/11/png2exe-png.html
hey does this just cache (if location changed or files moved icons will restore to original) the icon files as JWMD or does it actually change them?
thank you very nice
no cache, the tool takes the picture, converts it to an icon (64x64x256) and puts it inside a new exe. It would be there forever and ever until the end of the days (of the exe of course )
Windows will cache the icon inside the exe, but that's normal, it does that for every single exe it loads (which was quite annoying while testing, was changing and changing the name of the exes so the icon was showed properly
Very nice, works perfectly. Thank you.
This is great.
dubidu said:
no cache, the tool takes the picture, converts it to an icon (64x64x256) and puts it inside a new exe. It would be there forever and ever until the end of the days (of the exe of course )
Windows will cache the icon inside the exe, but that's normal, it does that for every single exe it loads (which was quite annoying while testing, was changing and changing the name of the exes so the icon was showed properly
Click to expand...
Click to collapse
now if you provided a nicer UI to make it switch icons faster would be perfect

[Q] Strange bytes in the end of SM-G313HN boot images..

I discovered 256 mysterious bytes in the end of the SM-G313HN boot images. Any idea what those are? Checksums? They are always located 1341 bytes after the end of secondary bootloader and the last 128 bytes seem to be the same between different images and regions. The phone boots without them, but a red exclamation mark appears in the top left corner of the screen while booting. I tried to compare different checksums to see if I could find a match, but I did not find any. (MD5, SHA1, SHA256, SHA512) Tested the kernel, secondary bootloader and some variables from the images.
Hex views:
Scandinavian boot.img:
Code:
Offset(d) 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
05869568 CB C0 86 A6 EB A8 42 EE 63 27 D1 3E B0 EA D6 97 ËÀ†¦ë¨Bîc'Ñ>°êÖ—
05869584 71 BE AE 9C FA 74 47 7B 8B 0D 84 55 CC FA 1C D8 q¾®œútG{‹.„UÌú.Ø
05869600 AB D4 25 C6 93 8D 37 66 0A EB 3F 69 3C 94 2D 18 «Ô%Æ“.7f.ë?i<”-.
05869616 51 83 74 C0 BD 5B E7 A7 E4 F9 C4 A7 3B 03 C1 82 QƒtÀ½[ç§äùħ;.Á‚
05869632 3E 19 6C 9F 2B E0 A1 31 06 2B 34 90 9C A2 6D 88 >.lŸ+à¡1.+4.œ¢mˆ
05869648 53 AA C4 8D 2A BB DA 8D 5F 9B 51 1E E0 A1 00 4D SªÄ.*»Ú._›Q.à¡.M
05869664 43 C2 8C 28 6B 6A D6 DC D7 BB A7 81 0C 52 A0 16 CÂŒ(kjÖÜ×»§..R*.
05869680 59 83 3F 98 8F 0F 93 28 67 0E 64 63 44 F8 99 08 Yƒ?˜..“(g.dcDø™.
05869696 CF 44 1D 5B 0C 1D 30 8D 8C C8 02 D4 43 CB CE 5D ÏD.[..0.ŒÈ.ÔCËÎ]
05869712 D2 B8 04 12 6F 04 FF 35 3B 42 55 F3 EF 3E A8 F8 Ò¸..o.ÿ5;BUóï>¨ø
05869728 8E 1F AB 11 11 59 7C BB 38 E9 13 FB 0F 7D CD 84 Ž.«..Y|»8é.û.}Í„
05869744 1A FC D7 F9 65 DB 5D D0 6E B1 66 C4 19 1E 4E 5A .ü×ùeÛ]Ðn±fÄ..NZ
05869760 F5 00 0F D7 2B C3 27 38 D4 A0 DA 47 2B 0E 23 46 õ..×+Ã'8Ô*ÚG+.#F
05869776 2D 89 3F 64 72 36 16 DB 50 4E C3 E4 88 67 31 22 -‰?dr6.ÛPNÃäˆg1"
05869792 C6 C9 AF 05 34 92 1C E6 96 9F F8 8B 34 AD 33 DB Æɯ.4’.æ–Ÿø‹4.3Û
05869808 5B 66 8A 9F 9D 21 53 C9 1A A4 70 C6 9B 0E AA E9 [fŠŸ.!SÉ.¤pÆ›.ªé
Scandinavian recovery.img:
Code:
Offset(d) 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
07094272 56 68 66 CF 0D 52 6B 8C 2F F7 6C 0F 63 32 1B 9D VhfÏ.RkŒ/÷l.c2..
07094288 A6 46 B9 FC 07 E1 09 66 D3 CB 6D D4 BF A2 B0 81 ¦F¹ü.á.fÓËmÔ¿¢°.
07094304 24 6C 4D E3 97 79 6C 64 CE 27 31 AD 0F CD 5E 33 $lMã—yldÎ'1..Í^3
07094320 0A 0A 38 E8 58 27 5A 04 05 0B 48 99 00 5A A4 B8 ..8èX'Z...H™.Z¤¸
07094336 AC 53 11 E8 16 A9 55 81 A4 0F B6 F3 DF 21 F1 78 ¬S.è.©U.¤.¶óß!ñx
07094352 C5 E0 DF 38 7F ED B5 7B C5 0B D7 27 50 85 9E 26 Åàß8.íµ{Å.×'P…ž&
07094368 4C 45 8F FA 4C 74 38 F2 76 0F 47 73 8E A8 66 85 LE.úLt8òv.GsŽ¨f…
07094384 65 D3 B6 07 CA 8B E3 B8 D6 90 6D 36 D5 AB 1F D4 eÓ¶.Ê‹ã¸Ö.m6Õ«.Ô
07094400 CF 44 1D 5B 0C 1D 30 8D 8C C8 02 D4 43 CB CE 5D ÏD.[..0.ŒÈ.ÔCËÎ]
07094416 D2 B8 04 12 6F 04 FF 35 3B 42 55 F3 EF 3E A8 F8 Ò¸..o.ÿ5;BUóï>¨ø
07094432 8E 1F AB 11 11 59 7C BB 38 E9 13 FB 0F 7D CD 84 Ž.«..Y|»8é.û.}Í„
07094448 1A FC D7 F9 65 DB 5D D0 6E B1 66 C4 19 1E 4E 5A .ü×ùeÛ]Ðn±fÄ..NZ
07094464 F5 00 0F D7 2B C3 27 38 D4 A0 DA 47 2B 0E 23 46 õ..×+Ã'8Ô*ÚG+.#F
07094480 2D 89 3F 64 72 36 16 DB 50 4E C3 E4 88 67 31 22 -‰?dr6.ÛPNÃäˆg1"
07094496 C6 C9 AF 05 34 92 1C E6 96 9F F8 8B 34 AD 33 DB Æɯ.4’.æ–Ÿø‹4.3Û
07094512 5B 66 8A 9F 9D 21 53 C9 1A A4 70 C6 9B 0E AA E9 [fŠŸ.!SÉ.¤pÆ›.ªé
German boot.img:
Code:
Offset(d) 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
05865472 CA BE C5 61 D0 D3 C4 02 BE D7 99 02 63 DD 0D C3 ʾÅaÐÓÄ.¾×™.cÝ.Ã
05865488 CB 89 28 40 B1 68 E5 54 F5 A3 98 42 47 79 88 4C ˉ(@±håTõ£˜BGyˆL
05865504 1F 90 FC 48 5A 17 63 AB 1F D9 62 0A C4 70 31 6D ..üHZ.c«.Ùb.Äp1m
05865520 EF 07 F1 60 E2 CD 64 AC 15 92 41 3F 60 AB CC EA ï.ñ`âÍd¬.’A?`«Ìê
05865536 58 AF 08 ED DC 1E 25 04 94 19 FF 33 94 29 34 0A X¯.íÜ.%.”.ÿ3”)4.
05865552 A3 DF E6 8A 6D 6A 29 A5 0A 3A 55 10 12 52 45 8C £ßæŠmj)¥.:U..REŒ
05865568 36 C4 DB EE 21 F5 84 E1 31 83 C7 14 7C 92 1A 4F 6ÄÛî!õ„á1ƒÇ.|’.O
05865584 D2 99 FF 06 38 8B 8E 46 E4 EB DA 17 75 5E C4 65 Ò™ÿ.8‹ŽFäëÚ.u^Äe
05865600 CF 44 1D 5B 0C 1D 30 8D 8C C8 02 D4 43 CB CE 5D ÏD.[..0.ŒÈ.ÔCËÎ]
05865616 D2 B8 04 12 6F 04 FF 35 3B 42 55 F3 EF 3E A8 F8 Ò¸..o.ÿ5;BUóï>¨ø
05865632 8E 1F AB 11 11 59 7C BB 38 E9 13 FB 0F 7D CD 84 Ž.«..Y|»8é.û.}Í„
05865648 1A FC D7 F9 65 DB 5D D0 6E B1 66 C4 19 1E 4E 5A .ü×ùeÛ]Ðn±fÄ..NZ
05865664 F5 00 0F D7 2B C3 27 38 D4 A0 DA 47 2B 0E 23 46 õ..×+Ã'8Ô*ÚG+.#F
05865680 2D 89 3F 64 72 36 16 DB 50 4E C3 E4 88 67 31 22 -‰?dr6.ÛPNÃäˆg1"
05865696 C6 C9 AF 05 34 92 1C E6 96 9F F8 8B 34 AD 33 DB Æɯ.4’.æ–Ÿø‹4.3Û
05865712 5B 66 8A 9F 9D 21 53 C9 1A A4 70 C6 9B 0E AA E9 [fŠŸ.!SÉ.¤pÆ›.ªé
German recovery.img:
Code:
Offset(d) 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
07090176 2A E6 B5 86 C2 95 C2 AA 6F C1 0A 8F 1A BD 19 3C *浆•ªoÁ...½.<
07090192 90 6F 6C 47 16 30 F4 F1 02 C7 20 1E 30 36 16 75 .olG.0ôñ.Ç .06.u
07090208 22 F3 DE 00 75 B3 57 F4 B1 36 2D 7E 32 30 CD 83 "óÞ.u³Wô±6-~20̓
07090224 1F B2 57 DB 42 76 C4 7F 2A E5 62 74 0A 22 63 F5 .²WÛBvÄ.*åbt."cõ
07090240 A5 87 4E AC EF A9 CC D0 60 64 49 0B 29 D7 66 6C ¥‡N¬ï©ÌÐ`dI.)×fl
07090256 D1 C0 F4 36 18 7F DC C3 28 A5 B1 84 F9 C0 B1 B9 ÑÀô6..ÜÃ(¥±„ùÀ±¹
07090272 3D C1 F0 77 57 38 F3 23 12 F0 DF 43 F5 59 2D 52 =ÁðwW8ó#.ðßCõY-R
07090288 CF B4 75 69 70 22 E9 E6 6F 3E DE 78 60 2B A0 84 Ï´uip"éæo>Þx`+*„
07090304 CF 44 1D 5B 0C 1D 30 8D 8C C8 02 D4 43 CB CE 5D ÏD.[..0.ŒÈ.ÔCËÎ]
07090320 D2 B8 04 12 6F 04 FF 35 3B 42 55 F3 EF 3E A8 F8 Ò¸..o.ÿ5;BUóï>¨ø
07090336 8E 1F AB 11 11 59 7C BB 38 E9 13 FB 0F 7D CD 84 Ž.«..Y|»8é.û.}Í„
07090352 1A FC D7 F9 65 DB 5D D0 6E B1 66 C4 19 1E 4E 5A .ü×ùeÛ]Ðn±fÄ..NZ
07090368 F5 00 0F D7 2B C3 27 38 D4 A0 DA 47 2B 0E 23 46 õ..×+Ã'8Ô*ÚG+.#F
07090384 2D 89 3F 64 72 36 16 DB 50 4E C3 E4 88 67 31 22 -‰?dr6.ÛPNÃäˆg1"
07090400 C6 C9 AF 05 34 92 1C E6 96 9F F8 8B 34 AD 33 DB Æɯ.4’.æ–Ÿø‹4.3Û
07090416 5B 66 8A 9F 9D 21 53 C9 1A A4 70 C6 9B 0E AA E9 [fŠŸ.!SÉ.¤pÆ›.ªé

LG G5 Bootloop

Hello guys,
Since yesterday my g5 is blocked:
a message that the system was corompu appeared, so I wanted to put my re G5 zero except that it is not recognized by LGUP while he is detect by LG MOBILE SUPPORT TOOL and LG Bridge which does not start a recovery.
Do you have an idea ?
PS: I am french and translation through google sorry for spelling.
There's a reason of this bootlop and corrupted system?
Install the right driver for LGUP, it seems impossible that it's not recognized.
Erario said:
There's a reason of this bootlop and corrupted system?
Install the right driver for LGUP, it seems impossible that it's not recognized.
Click to expand...
Click to collapse
The reason comes from the fact bootloop of modifying the build.prop; I have yet resataure the file via a backup that I had done beforehand.
Since the message of corompu system over any access TWRP it was replaced by the original one.
Normally all the drivers are installed jai installed:
LGH850_DLL.msi
LGUP_Lab_Frame_Ver_1_11.msi
LGMobileDriver_WHQL_Ver_4.0.4.exe
LOG LG UP
[12:19:32] Start Find Available USB Port
[12:19:32] Find 0 Port de communication (COM1)
[12:19:32] Find 1 LGE AndroidNet USB Serial Port (COM41)
[12:19:32] CBasicComControl:pen, the port(COM 41) is constructed successfully => HANDLE : 0x2bc
[12:19:32] CPort:penPort() Success. Port number is 41
[12:19:32] [T000003] 41 54 0D AT.
[12:19:33] CBasicCom::SendRecvPacket, PACKET_ERROR code = 1460 Msg => [12:19:33] [T000005] EF 00 16 65 7E ...e.
[12:19:34] [R000007] EF 00 00 05 00 AD 7E .......
[12:19:34] ---------------------------------------------------------------------------------
[12:19:34] SubProcess Name : NoOperationCmd
[12:19:34] [T000004] 06 4E 95 7E .N..
[12:19:35] [R000004] 02 6A D3 7E .j..
[12:19:35] [T000005] EF 00 16 65 7E ...e.
[12:19:36] [R000007] EF 00 00 05 00 AD 7E .......
[12:19:36] [T000005] EF A0 1C C0 7E .....
[12:19:37] [R000150] EF A0 00 00 00 00 00 4C 47 2D 48 38 35 30 00 00 00 55 6E 6B 6E 6F 77 6E 00 00 00 00 00 00 00 00 .......LG-H850...Unknown........
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 33 35 37 36 35 37 30 37 31 31 36 36 38 34 33 00 ................357657071166843.
00 00 00 00 64 1E 41 6E 64 72 6F 69 64 00 00 00 55 6E 6B 6E 6F 77 6E 00 00 00 00 00 00 00 00 00 ....d.Android...Unknown.........
00 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 31 63 6F 6D 6D ...........................1comm
6F 6E 00 00 77 4F 50 45 30 00 00 00 00 00 00 00 00 00 00 0F 40 7E [email protected]
[12:19:37] CComPort::ClosePort, Closed Port Successfully for COM 41
[12:19:37] CBasicComControl::Close, the port(COM41) is closed successfully
[12:19:37] ==> COM41 is detected
[12:19:37] ModelListManager is initialized
[12:19:52] CBasicComControl::IsConnected, the port(COM41) connection is not detected
Click to expand...
Click to collapse

Categories

Resources