yashsingh1/xdaforums huggingface dataset:
[Sony Xperia P, U, Sola, Go] scrubber:
update.zip installing only when manually mounting system!
[Sony Xperia P, U, Sola, Go] munjeni:
If you can mount system without error than recovery is not problem! If you see error: "error mounting system partition" than recovery is problem! :) There is a lot of wrong zip archives, first confirmed wrong archive is MIUI firmware zip that some one here tried to install but have error...! If you can mount system without error, but you can not able to install some zips than you can generate error report trought advance menu and look inside folder clockworkmod on your sd card for recovery.log, open recovery.log and you can see what cause error! Post here error mesage and I will let you know!

Its definitelly wrong way in some zips (file updater-script mising some arguments for automaticaly mounting/unmounting these things)!!! So problem is not recovery! Problem is zip!
[Sony Xperia P, U, Sola, Go] LastSoul88:
here is the log when I install the package.. is it the package problem?

-- Installing: /sdcard/download/eXperia Terminator.zip

Finding update package...

I:Update location: /sdcard/download/eXperia Terminator.zip

Opening update package...

Installing update...

eXperia Terminatorminzip: Can't create containing directory for "/system/bin/terminate": Read-only file system

set_perm: chown of /system/bin/terminate to 0 0 failed: No such file or directory

set_perm: chmod of /system/bin/terminate to 777 failed: No such file or directory

script result was [Xperia Pixel Team]

By: acervenky-XPT

Installing

Installed!

Enjoy.....

Regards

acervenky

Xperia Pixel Team

Install from sdcard complete.
[Sony Xperia P, U, Sola, Go] neectron:
I think system didn't mount properly because of problem in updater-script.
[Sony Xperia P, U, Sola, Go] akkufix:
This looks like your /system/bin isn't either mounted correctly or your phone isn't rooted, so you have not the rights to make a directory.
[Sony Xperia P, U, Sola, Go] LastSoul88:
the system can mount and the phone was rooted.. if I mount the system first, I can flash the package..the weird thing is that the same package can be flash using v3 but not in this v4..
[Sony Xperia P, U, Sola, Go] munjeni:
Its problem with zip (updater-script)!!! So please open new thread for your problem! Or ask author of these zip!
[Sony Xperia P, U, Sola, Go] akkufix:
munjeni,

no /sys/class/touch/switch/set_touchscreen on sola, only found some files, but written in hex, which sounds as they could be for touch things.

Seen in /sys a directory which is called "board.properties" and a file "virtualkeys.cyttsp-spi" in it. This has three lines with coordinates.

uevent file in there says "DRIVER=cyttsp-spi" and "MODALIAS=spi:cyttsp-spi".

custid says "0xC0C1C2"

ttspid "0X15D5"

Maybe our "lost" softkeys? As 907 (y-position) could be the line under the screnn and 73, 239, 406 (x-position).

Would like to try to monitoring, but don't know how, yet.
[Sony Xperia P, U, Sola, Go] scrubber:
))))

!! All zip downloaded from xda-developers do not work!!'ll ask the authors of the zip?! ))) :good: Great idea!

Once again, the version 3 everything worked back to it ... sorry: (
[Sony Xperia P, U, Sola, Go] munjeni:
0x01:158:73:907:126:31

0x01:102:239:907:126:31

0x01:139:406:907:126:31

Yes its for 3 buttons at bottom of screen! Red is event type EV_KEY (see kernel input.h), green is ev code (so in your log its back,home,menu), blue is x,y, black dont know what mean...

You can use command "getevent" for example getevent /dev/input/event2

Did you tried "find /sys | grep screen" just for locating something interested about floatings?
[Sony Xperia P, U, Sola, Go] munjeni:
I can not see error in your recovery.log, so it mean error is not in recovery! But, what error you have, do error is "read only file system"? If yes than, did you checked ps.log? Are you double checked v3 and v4, are you 100% sure that only v4 not working??? Where you found these zip archives? Did your system partition can be mounted/unmounted from menu??? Please ansfer to all questions! I still want to fix everything but need more info!

Edit:

Dude, please stop... you are definitelly wrong! I downloaded eXperia Terminator app, opened and found:

ui_print("eXperia Terminator");
ui_print("By: acervenky-XPT");
ui_print("Installing");
[COLOR="Red"]package_extract_dir("system", "/system");[/COLOR]
set_perm(0, 0, 0777, "/system/bin/terminate");
ui_print("Installed!");
ui_print("Enjoy.....");
ui_print("Regards");
ui_print("acervenky");
ui_print("Xperia Pixel Team");

So definitelly problem is in zip because there missing some arguments like "mount system"... how you think to extract to system partition when system partition is not mounted, let me know? I allready said about these problem in these zip but you continuing to report eror about recovery :( Again, its not problem with recovery! Next time you can inform author of these zips to fix his package!

It worked in v3 because "/system/bin" was in ps.log and you not folowed first post and red line???

I going now to modify these zip just for you!

Edit:

Here is modified zip, please try and let me know, I want to delete these zip after your test!

Edit:

deleted zip.
[Sony Xperia P, U, Sola, Go] LastSoul88:
ok.. its work.. my bad.. sorry for troubling you.. I thought it was recovery problem because that zip can be install on previous version of your recovery.. again.. im so sorry.. I will report to the owner.. :)
[Sony Xperia P, U, Sola, Go] munjeni:
:):):):mad: hehe, next time 3 times check an zip before going to report stupid error! I have no free time for messing with something like that!

Right (working) updater-script for eXperia_Terminator.zip is:

unmount("/system");
show_progress(0.500000, 0);
mount("ext4", "EMMC", "/dev/block/mmcblk0p10", "/system");
show_progress(0.200000, 10);
ui_print("eXperia Terminator");
ui_print("By: acervenky-XPT");
ui_print("Installing");
package_extract_dir("system", "/system");
set_perm(0, 0, 0777, "/system/bin/terminate");
ui_print("Installed!");
ui_print("Enjoy.....");
ui_print("Regards");
ui_print("acervenky");
ui_print("Xperia Pixel Team");
show_progress(0.100000, 0);
unmount("/system");

You can send message to author if you want to help him.
[Sony Xperia P, U, Sola, Go] LastSoul88:
srry for wasting your time.. I forgot to flash the rom backup created using this cwm at the first place.. again.. sorry for false alarm.. ;)
[Sony Xperia P, U, Sola, Go] akkufix:
Tried find screen, but as i said - there isn't any screen or something else. Only a touch_cmd, but its java.

Made getevent for event2 and piped it to file - thx for this tip. Should have knew this, while android is linux :rolleyes:

Have a look in the attached file. Its from screen and not from the buttons - but its nearly the same. See below.

0039 is ever 000

0032 is ever 00a

0035 varies for back-button from 12 - 55, for home c1 - 61 and menu from 185 - 1df

0036 varies from 369 - 393 for all buttons (where 393 was the most measured value)

003b is only if the finger is over screen and switches to

0030 when finger is touch the screen. Value both from 1d - f7

003a is the "action/pressure" value 000 no touch and 001 touch

0002 always 000

0000 same

and for the buttons (not shown in the attached file) it comes again a

0002 and

0000

which seems to be against double pressure.

Btw. these black 126:31 at the end in "Key-file" seems to be range-values for the floating. I wanted to change them by abd, but systen don't let me do this.
[Sony Xperia P, U, Sola, Go] munjeni:
You geting input/event2 when touching screen?
[Sony Xperia P, U, Sola, Go] akkufix:
Yes, There is event2, when touching screen. Buttons and sreen are the same.

Edit:

I'm getting a lot of data (permanently repeating the sequenze from 0039 to 0000), only by moving the finger around over the screen (003b differs in various values) and when i really touch it 003a becomes a "1" and 003b switches to 0030 - maybe to detect a permanent pressure.

The only difference between screen and buttons is that buttons gets added another 0002 and 0000 line.

I made a space line between the datastrings, so you better see it in blocks.

And this 126:31 seems to be the values switching between normal floating-mode and glove-mode to make the display more sensitive.
[Sony Xperia P, U, Sola, Go] munjeni:
New version 5 is out!

Changelog 20.Oct.2012.:

fixed problems for remounting rootfs to "rw" + problems creating fstab + problems with busybox and command "mount" with containing 2 arguments only...

added tool in tools menu for one click skin changing

Now you can create custom skins and custom text colors! To change text color you need to place menu.txt file to res/images folder by writing to menu.txt in next format:

for example:

244 122 156 122 255 255

First 3 numbers is rgb color for menu text color, last 3 numbers is rgb color for text color, one space is reguired between numbers!

Happy skining ! :laugh:
[Sony Xperia P, U, Sola, Go] akkufix:
:good: Flashed. Will "play" around with it soon.
[Sony Xperia P, U, Sola, Go] itachilinux:
i have one dummy question : is it ROM or only kernel? how to flash it?
[Sony Xperia P, U, Sola, Go] rohit3221:
This is just the kernel
[Sony Xperia P, U, Sola, Go] itachilinux:
ow, OK... it's can be flashed with flashtool or similiar, right?

need wipe data or not?
[Sony Xperia P, U, Sola, Go] munjeni:
Its kernel+ramdisk+Clockworkmod recovery.

You can flash it by 3 ways:

- flashtool (just rename boot.img to boot.elf and flash it)

- via fastboot (fastboot flash boot boot.img)

- via terminal emulator and command dd (dd if=/mnt/sdcard/boot.img of=/dev/block/mmcblk0p9)
[Sony Xperia P, U, Sola, Go] neectron:
edit,already answered :)
[Sony Xperia P, U, Sola, Go] sankoranga:
can i flash this in locked bL???????
[Sony Xperia P, U, Sola, Go] Adaho0:
No, you can't. If you can't unlock bootloader then the only thing you can do is to closely follow this thread. Maybe it works for Sola.
[Sony Xperia P, U, Sola, Go] itachilinux:
hummmm~ so, i can flash any ICS ROM with this kernel...

after that, what button must i press? power+volume down?
[Sony Xperia P, U, Sola, Go] Adaho0:
Oh my God.... read ALL topic before ask!! :D Post no. 6 http://xdaforums.com/showpost.php?p=32422818&postcount=6
[Sony Xperia P, U, Sola, Go] sijav:
Do NOT rename it

just open the flashtools select flash button, Fastboot mode, select Reboot into fastboot mode (via ADB) and wait till your phone getting into fastboot mode (or enter the fastboot mode manually), Select "Select kernel to Flash", select boot.img and done :) no need to rename it as it may couse several problems later!
[Sony Xperia P, U, Sola, Go] munjeni:
HI, what is diference flashing boot.img and renaming boot.img to boot.elf and flashing boot.elf?? Bot.img have elf header so why it will cause problems? Flashing boot.elf or boot.img via fastboot is the same so what is diference?
[Sony Xperia P, U, Sola, Go] RajaSetan:
hi

i can not kernel flash that uses aroma installer
[Sony Xperia P, U, Sola, Go] akkufix:
You can name this file as ever you want. "abcd.efg" or something else an flash it, because the phone doesn't look at the filename, but at the code in it.

---------- Post added at 03:12 PM ---------- Previous post was at 03:11 PM ----------

Do it like described above with flashtool, fastboot or by phone with terminal emulator.
[Sony Xperia P, U, Sola, Go] munjeni:
Yes I know that allready... I asking him because he quoted my post with red line so I asked only... :)

What is aroma installer? Where I can get it?
[Sony Xperia P, U, Sola, Go] neectron:
It is something like GUI for updater-script.

http://xdaforums.com/showthread.php?t=1461712.
[Sony Xperia P, U, Sola, Go] munjeni:
Its used for generating updater-script? Or its for installing zip? Whats use of it for Sola? Sorry I have no time to read whole post about aroma, please give me short explanation if you want!
[Sony Xperia P, U, Sola, Go] neectron:
It doesn't generate updater-script ,used only for flashing zip,it provides touch based GUI for selecting apps or kernel or mods you want to install,when flashing zip in CWM.It provides greater customization when flashing rom or mods zip through recovery.

It can be used on any phone.I don't recommend using aroma 2.5 on sola,floating touch freaks out,maybe aroma 2.0.I do not think you will need aroma for only kernel.

Here is sample of code from updater-script of aroma:

if
file_getprop("/tmp/aroma/customize.prop","item.4.1") == "1"
then
unmount("/system");
[Sony Xperia P, U, Sola, Go] munjeni:
Hmm thanks! So Aroma working booth with recovery?
[Sony Xperia P, U, Sola, Go] itachilinux:
i'm stuck in a Sony black screen and it's nothing happens... (>_<)

oh yeah, i have been installed Manav ROM by acervenky
[Sony Xperia P, U, Sola, Go] neectron:
Yes.You can use it maybe when you want to provide choice between custom kernel and stock kernel with recovery :p.

I don't think it is a problem with kernel.Maybe ROM didn't extract correctly.
[Sony Xperia P, U, Sola, Go] itachilinux:
i used to test 6.0.B.3.184 munjeni's kernel with CWM and my GB ROM was working properly, not like in this ICS firmware...

i can't boot except recovery only, it doesn't like 6.0.B.3.184 who runs like normal...
[Sony Xperia P, U, Sola, Go] neectron:
Have you tried this kernel with stock rom?
[Sony Xperia P, U, Sola, Go] munjeni:
You can not use Gingerbread CWM with ICS rom, or you can not use ICS CWM with Gingerbread rom... rom will not boot!!! You must use booth ICS + ICS or booth GB + GB !!!
[Sony Xperia P, U, Sola, Go] lalit387:
Hi,

am not able to flash this kernel saying should be rooted first but I have rooted using bin4ry tool on my sola ICS 4.04

Thanks in advance
[Sony Xperia P, U, Sola, Go] munjeni:
This is for unlocked bootloader! I have plan to create recovery for locked bootloaders so if you no want to unlock your bootloader you can wait...
[Sony Xperia P, U, Sola, Go] itachilinux:
I have been try it on stock ROM 6.0.B.3.184...it's worked... and then I upgraded it to ICS 6.1.1.B.1.10 and flash ics munjeni kernel... BOOM! Its won't booting anymore
[Sony Xperia P, U, Sola, Go] lalit387:
strangely I had unlocked my BL before root using flashtool.

My device is rooted as I am using TB and other root apps flawlessly

How do I come to know if my BL is unlocked?

Thanks again
[Sony Xperia P, U, Sola, Go] soulhackereborn:
Connect to PC Companion and SEUS and try updating your device if you get an error saying "altered software or something " that means ur BOOTLOADER unlocked

Sent From Xperia Sola White (MT27i)

Rooted Stock ICS

Hit Thanks If I Helped!!
[Sony Xperia P, U, Sola, Go] lalit387:
It says your phone is up to date.

Now will try to unlock again
[Sony Xperia P, U, Sola, Go] munjeni:
fastboot getvar security
[Sony Xperia P, U, Sola, Go] munjeni:
Why you installed ICS kernel with Gingerbread rom? Title of this tread is "Sony Xperia Sola boot for 6.1.1.B.1.10..." so please do not complain next time when something gone wrong with your device...

You can use flash tool and perform clean stock (mean unmodified rom) ICS installation + using fastboot (fastboot flash boot boot.img) you can install our kernel+cwm and it will working for sure!

Just for info: you have 2 option: option 1 is recovery runing from system partition (its recovery.tar), option 2 is recovery runing from boot partition (its boot.img), so if you have option 1 installed + option 2 installed than it mean you have double recovery installed and it will not working well!!! So guys make sure you have only one recovery version installed, do not install double!!! Allso, if you runing recovery from system partition (recovery.tar) do not install boot.img (kernel+ramdisk+recovery) because you will have double recovery!!!
[Sony Xperia P, U, Sola, Go] itachilinux:
i'm sorry bro, but if you don't understand... i will explain it...

1. My phone was installed 6.1.1.B.1.10

2. I flashed my phone with ur kernel

3. I'm installing custom ROM and my phone not working anymore

4. I downgrade to 6.0.B.3.184

5. I'm root this phone and than i tested ur 6.0.B.3.184 + CWM recovery

6. and it's worked anymore...

nah my question is : why your 6.1.1.B.1.10 kernel is not working for my stock ICS?

i'm sorry dissapointed you by posting in wrong section...
[Sony Xperia P, U, Sola, Go] munjeni:
Sorry, but first, if you mean 6.0.B.3.184 or you mean "custom" than you are in wrong section! We speaking here about ICS 6.1.1.B.1.10 stock thing and not about Gingerbread thing and not about custom thing! Our kernel is stock ICS kernel so it must be working with stock ICS rom! This is tested only with stock firmware so please do not report bad things if you have no stock rom runing in your phone! Many guys here allready tested our kernel+cwm and it for sure working, so for sure you mised something!

About CWM. CWM is packed with boot (ramdisk+kernel) and our boot.img is only for ICS things and can not be used with Gingerbread! So if you have Gingerbread runing in your phone or you have an custom rom runing in your phone, you need to go to proper section (Gingerbread or custom) and install Gingerbread boot.img or boot image for these custom rom! I not going to support custom things!

About your problem. I think you have something corupted in your phone partition, or at least maybe these custom rom (if you have runing) is not compatible with our stock kernel... so you need to install everything stock from begining like whole rom from begining and than install our boot.img and for sure it must be working! You can try again and let me know!
[Sony Xperia P, U, Sola, Go] akkufix:
This also would be my way. Using Flashtool and make a clean install with stock kernel, using 6.1.1.B.1.10 (global works perfect for me). Then root it and after that is all done, flash cwm from here with fastboot.

After each flashing boot the phone, to be sure that every step was perfect done.
[Sony Xperia P, U, Sola, Go] Adaho0:
akkufix this is the only correct procedure and should be our holy rules :)

Suggest Noble prize for the Flashtool autor. Or fresh baked bread every morning :)
[Sony Xperia P, U, Sola, Go] akkufix:
Yes...and maybe a big cup of coffee or a beer for Bin4ry (as it is written in his signature). :)

Great job also from Androxyde to keep it alive.

The swiss army knife for our xperia phones.

Sorry for off-topic, but what would we do without all of the developers here on xda, spending lot of their time to give us cool stuff? :good:
[Sony Xperia P, U, Sola, Go] Adaho0:
we respond to every stupid question who is Senior Member, has been here for three months and still does not know of this forum for developers and people who want to learn something :)
[Sony Xperia P, U, Sola, Go] LastSoul88:
if this CWM working on your phone with stock ics 6.1.1.B.1.10 and your phone did not boot only after you install custom rom, thats mean it is custom rom problem. btw what rom are you trying to use?
[Sony Xperia P, U, Sola, Go] itachilinux:
no, my phone was not worked since i flashed this kernel... my stock ICS was stuck in a Sony black screen... and then i trying to using Manav ROM and it's still stuck, so i flash back to GB
[Sony Xperia P, U, Sola, Go] munjeni:
Development for CM9 is started for ST27i (Go and Sola which have the same hardware)!!! Need your help!

http://xdaforums.com/showthread.php?t=1955194

Please dont comment here, comment there, thanks!
[Sony Xperia P, U, Sola, Go] itachilinux:
waw! what can i do? testing this ROM?
[Sony Xperia P, U, Sola, Go] LastSoul88:
you said that this recovery is not working on your stock ics, but how can you install manav rom without recovery?
[Sony Xperia P, U, Sola, Go] itachilinux:
i mean, it's not booting to stock ICS, but still can booting to recovery by click vol-down after 5 color LED notification...
[Sony Xperia P, U, Sola, Go] lalit387:
Thanks it worked for me now my sola has CWM
[Sony Xperia P, U, Sola, Go] luxm4n:
USB Masstorage missing after flash this boot
[Sony Xperia P, U, Sola, Go] akkufix:
Try Options --> xperia --> Connections --> USB-Mode and select MSC.

Don't know, if these points are translated correctly, because i'm using german language. Bur you should find this mode.
[Sony Xperia P, U, Sola, Go] neectron:
Settings ->Xperia ->Connectivity->USB Connection Mode ->MSC :)
[Sony Xperia P, U, Sola, Go] oaman:
please help me to install step by step

i got sola locked bootloader (i am noob)
[Sony Xperia P, U, Sola, Go] soulhackereborn:
for locked bootloader follow this post

http://xdaforums.com/showthread.php?t=1952912
[Sony Xperia P, U, Sola, Go] oaman:
wallah not working it's stuck in sony logo !
[Sony Xperia P, U, Sola, Go] XqepX:
http://xdaforums.com/showthread.php?t=1948455 With this CWM works! ;) To enter CWM:

-Power on Phone

-When the SONY Logo arrives, tap on it a few times, till it vibrates

-Congratulation! You've entered CWM :D

So now you can flash the .zip from this thread ;)
[Sony Xperia P, U, Sola, Go] Master94ga:
Please, can you make a flashable zip via recovery?
[Sony Xperia P, U, Sola, Go] Adonis K.:
I flashed this boot.img quite a few times, the tapping doesn't work.

I also tried getting to recovery with other ways (like adb, rom toolbox's rebooter, rom manager etc)

Nothing works. I'm using ICS Global .ftf and i have unlocked bootloader.

edit: finally got it to work after following these instructions: http://xdaforums.com/showthread.php?t=1948455, thanks to lol98lol98 for mentioning it.
[Sony Xperia P, U, Sola, Go] munjeni:
This recovery is only for unlocked bootloaders!!!

Its allready in zip so you can flash it using recovery meny "install zp from sd card" :) Do not flash recovery if you have locked bootloader because boot loop is guaranted!!!

Guys, yousterday I locked again my bootloader, tried some tests with custom kernel...etc, I must to say custom kernels not working with locked bootloaders!!! So question now for you, what is benefits using locked bootloader? How you think to install an Cyanogenmod rom if you have locked bootloader? Did you know if you install an custom bootimage it will not work (you will have for sure boot loop)!!! So, after my tests with locked bootloader and after constantly boot loops after installing custom kernel I must to say now: I stoping now and now my idea for creating an CWM or anything other for locked bootloaders!!! I not going to support anything related to locked bootloader because installing NON stock kernel cause boot loop, so installing for example an rom.zip that contain an boot image will broke your android by boot loop... TESTED!!!

So unlock your bootloader if you going to play with your device or do not unlock if you like stock rom, stock kernel, stock ramdisk... !!! If you using recovery (recovery.tar runing from system partition + locked bootloader) you will have problems for example "for sure" boot loop when an rom contain boot.img and you installed these rom using these recovery!!! Boot partition is signature-checked by locked bootloader (but not by unlocked bootloader!) so posibility for runing an non stock boot image = NULL !!!
[Sony Xperia P, U, Sola, Go] Adonis K.:
Well i do have my bootloader unlocked but in my case im forced to use the locked-bootloader's cwm (the U version) cause the one in this thread isn't working for me.
[Sony Xperia P, U, Sola, Go] akkufix:
Unlocking my phone was the first action i made, after i hold it in my hands. :rolleyes:
[Sony Xperia P, U, Sola, Go] munjeni:
Are you surre you have unlocked boot loader? You can verify security by fastboot:

fastboot getvar secure
[Sony Xperia P, U, Sola, Go] rohit3221:
just a quick question, the latest version of the recovery doesn't have any bugs...right??
[Sony Xperia P, U, Sola, Go] akkufix:
We didn't found some anymore. :fingers-crossed:
[Sony Xperia P, U, Sola, Go] rohit3221:
I'll flash it then...I wanted to confirm it since I am a student and I don't want to spend much time flashing stock rom again and again in case I encountered something...:)
[Sony Xperia P, U, Sola, Go] Adonis K.:
user@host:~$ fastboot getvar secure
secure: no
finished. total time: 0.002s