yashsingh1/xdaforums huggingface dataset:
[Sony Xperia P, U, Sola, Go] OmgGG:
munjeni, If you reupload kernel, specify version: "v0.1, v0.2, v0.3..."

Thx for your work !!!
[Sony Xperia P, U, Sola, Go] munjeni:
Ok... will add version string
[Sony Xperia P, U, Sola, Go] munjeni:
I have idea now how to handle "releasing" touches! Event looks like:

0003 0039 00000000
0003 0032 0000000a
0003 0035 00000064
0003 0036 0000014d
0003 0030 000000ff
[COLOR="Red"]0000 0002 00000000
0000 0000 00000000[/COLOR]
0003 0039 00000000
0003 0032 0000000a
0003 0035 00000065
0003 0036 0000014d
0003 0030 000000ff
[COLOR="Red"]0000 0002 00000000
0000 0000 00000000[/COLOR]
0003 0039 00000000
0003 0032 0000000a
0003 0035 00000066
0003 0036 0000014d
0003 0030 000000ff
[COLOR="Red"]0000 0002 00000000
0000 0000 00000000[/COLOR]
0003 0039 00000000
0003 0032 0000000a
0003 0035 00000067
0003 0036 0000014d
0003 0030 000000ff
[COLOR="Red"]0000 0002 00000000
0000 0000 00000000[/COLOR]
0003 0039 00000000
0003 0032 0000000a
0003 0035 00000068
0003 0036 0000014d
0003 0030 000000ff
[COLOR="Red"]0000 0002 00000000
0000 0000 00000000[/COLOR]
0003 0039 00000000
0003 0032 0000000a
0003 0035 00000068
0003 0036 0000014c
0003 0030 000000ff
[COLOR="Red"]0000 0002 00000000
0000 0000 00000000[/COLOR]
0003 0039 00000000
0003 0032 0000000a
0003 0035 00000069
0003 0036 0000014c
0003 0030 000000ff
[COLOR="Red"]0000 0002 00000000
0000 0000 00000000[/COLOR]
0003 0039 00000000
0003 0032 0000000a
0003 0035 0000006a
0003 0036 0000014c
0003 0030 000000ff
[COLOR="Red"]0000 0002 00000000
0000 0000 00000000[/COLOR]
0003 0039 00000000
0003 0032 0000000a
0003 0035 0000006a
0003 0036 0000014b
0003 0030 000000ff
[COLOR="Red"]0000 0002 00000000
0000 0000 00000000[/COLOR]
0003 0039 00000000
0003 0032 0000000a
0003 0035 00000068
0003 0036 0000014b
0003 0030 000000ab
[COLOR="green"]0000 0002 00000000
0000 0000 00000000
0000 0002 00000000
0000 0000 00000000[/COLOR]

so now I can see when tap to screen is "released"... green color explaining tap release from screen so maybe I will create touch CWM in next version! :)

That will be handled for example in this way:

int touch_released;
int count = 0;
switch (input_event) {
case 0:
if (event_code == 2) count += 1;
if (count == 2) touch_released = 1;
break;
case 3:
if (touch_released) { //to prevent double preses virtual buttons will send fake key event only after virtual buton is released... here I had problem with double pressess because I was unable to handle "release"... need help here!!!
//here will be handler for x y touch press... for example virtual buttons on touch screen :)
}
break;
default:
count = 0; //reset count if there is no 4 times input_event=0
touch_released = 0;
break;
}

@pvyParts what you think... do you have better idea?
[Sony Xperia P, U, Sola, Go] freezejcavi:
awesome work guys, you all have my admiration

will waiting for next release :)
[Sony Xperia P, U, Sola, Go] pvyParts:
you have to enable it before recovery starts i think.

try putting those commands in the bootrec file

prety much what i was thinking... but i have to resync all the sources as my GF has my laptop... :(

Pvy.
[Sony Xperia P, U, Sola, Go] munjeni:
I will try but I think it have no sense!

...implementing now into recovery... 0x0000 is EV_SYN but problem again... these EV_SYN is not handled only by touch event, these EV_SYN is haddled by something other too, so int count have no sense :(... still I have no idea how to handle constant "hold", its like missing kernel side :(
[Sony Xperia P, U, Sola, Go] pvyParts:
fun and games... i will be more help once i get the sources down to my pc... going SO SLOW...

if you hold still does it not stay the same?

Pvy.
[Sony Xperia P, U, Sola, Go] munjeni:
Problem I have is handling "hold" and "release" so without these things I have constantly fake key events when I "press" and "move" around screen without releasing! Still "moving" around screen without "releasing" cause -> key event handled! I am unable to add logic for "sending key event ONLY after press from screen is released. I no want "multiple" key event, just one unigue that will not be handled by moving around screen :(
[Sony Xperia P, U, Sola, Go] pvyParts:
just discard the press till it is released? i have a feeling we are on a different page with this :P

Pvy.
[Sony Xperia P, U, Sola, Go] munjeni:
Still handler for hold and release exist but hold is about "1ms" than release is handled but I not released screen touch... so thats problem ...there missing real "hold" that will stay on "hold" until I release "tap" from screen! Sorry, my english is not enough for detailed explanation, but you will understand when you start working on your own CWM...
[Sony Xperia P, U, Sola, Go] azyar:
want to make sure... This version is not fully working yes?
[Sony Xperia P, U, Sola, Go] soulhackereborn:
Its working but certain functions ain't working..

Sent From Xperia Sola White (MT27i)

Rooted Stock ICS

Hit Thanks If I Helped!!
[Sony Xperia P, U, Sola, Go] pvyParts:
I c what you mean. Sry for misunderstanding. Sources are down. What vendor tree you using? I dont have them for a sola.

Pvy
[Sony Xperia P, U, Sola, Go] munjeni:
Hi, you can use Desire C from my git http://github.com/munjeni just only for compiling recovery v5.5.0.4... you can see recovery source on git by google searching ... but I imported some repos from Cyanogenmodd and have some workaround Sony Xperia GO but you need to optimise it for CWM version 6... you can see these tree on my git too !
[Sony Xperia P, U, Sola, Go] munjeni:
Finished ~working version for touch bassed thing, got it working only after "tap" is released but some times "tap" is not detected :(... if you have idea please let me know... here is part of modified ui.c:

int touch_x;
int touch_y;

static int input_callback(int fd, short revents, void *data)
{
struct input_event ev;
int ret;
int fake_key = 0;
int rel_sum = 0;
static int rcnt = 0;
static int touch_released = 0;

ret = ev_get_input(fd, revents, &ev);
if (ret)
return -1;

/*if (ev.type == EV_SYN) {
return 0;
} else */if (ev.type == EV_REL) {
if (ev.code == REL_Y) {
// accumulate the up or down motion reported by
// the trackball. When it exceeds a threshold
// (positive or negative), fake an up/down
// key event.
rel_sum += ev.value;
if (rel_sum > 3) {
fake_key = 1;
ev.type = EV_KEY;
ev.code = KEY_DOWN;
ev.value = 1;
rel_sum = 0;
} else if (rel_sum < -3) {
fake_key = 1;
ev.type = EV_KEY;
ev.code = KEY_UP;
ev.value = 1;
rel_sum = 0;
}
}
} else {
rel_sum = 0;
}

switch (ev.type) {
case EV_SYN:
if (ev.code == 2) {
rcnt += 1;
if (rcnt == 2) {
rcnt = 0;
touch_released = 1;
} else {
touch_x = 0;
touch_y = 0;
}
}
break;
case EV_ABS:
rcnt = 0;
if (ev.code == ABS_MT_POSITION_X)
touch_x = ev.value;
if (ev.code == ABS_MT_POSITION_Y)
touch_y = ev.value;
if (touch_x && touch_y && touch_released) {
ui_print("x=%d y=%d\n", touch_x, touch_y);
touch_released = 0;
}
break;
default:
break;
}

if (ev.type != EV_KEY || ev.code > KEY_MAX)
return 0;

pthread_mutex_lock(&key_queue_mutex);
if (!fake_key) {
// our "fake" keys only report a key-down event (no
// key-up), so don't record them in the key_pressed
// table.
key_pressed[ev.code] = ev.value;
}
const int queue_max = sizeof(key_queue) / sizeof(key_queue[0]);
if (ev.value > 0 && key_queue_len < queue_max) {
key_queue[key_queue_len++] = ev.code;
pthread_cond_signal(&key_queue_cond);
}
pthread_mutex_unlock(&key_queue_mutex);

if (ev.value > 0 && device_toggle_display(key_pressed, ev.code)) {
pthread_mutex_lock(&gUpdateMutex);
show_text = !show_text;
if (show_text) show_text_ever = 1;
update_screen_locked();
pthread_mutex_unlock(&gUpdateMutex);
}

if (ev.value > 0 && device_reboot_now(key_pressed, ev.code)) {
android_reboot(ANDROID_RB_RESTART, 0, 0);
}

return 0;
}
[Sony Xperia P, U, Sola, Go] azyar:
oke thanks for the answer. I'll wait when it's final :)
[Sony Xperia P, U, Sola, Go] thunderising:
Any chance for CWM v6 touch to come here?
[Sony Xperia P, U, Sola, Go] munjeni:
What is in v6 that is not in v5? V5 is better!
[Sony Xperia P, U, Sola, Go] munjeni:
If any one want to help me, I have no free time for downloading/uploading latest Sola, but my reguest:

- flash oficiall Sony firmware version by Sony PC Companion and do not modify them, I need it stock!

- install my recovery and go to advance meny and trought sub menu "backup & make flashable zip" generate rom.zip

- upload these zip to the http://d-h.st/

I will "wget" them to the my server which have fast internet connection, and will make you Extreme Security rom like this -> http://xdaforums.com/showthread.php?t=2184137
[Sony Xperia P, U, Sola, Go] behzad.bz:
I can do ir... but I can't flash by Sony PCC!

I can flash by Flashtools and istall your recovery and do what you want

What you say?
[Sony Xperia P, U, Sola, Go] munjeni:
If you are sure these rom is trusted and tested by you and have no battery drainages or other problems, than you can do it! I must be sure if these rom is ok! It must be true unmodified! Which one is more stable, .10 or .54 or .75 ???
[Sony Xperia P, U, Sola, Go] behzad.bz:
I downloaded this 1.54 FTF Generic Rom when 1.54 released... & I don't thing it have any modification. I will upload zip file until tomorrow...(Low internet speed in Iran!)
[Sony Xperia P, U, Sola, Go] munjeni:
Please do not upload them if you are not sure if these rom is ok, I no want to waste my time if these rom have possible bugs! I need trusted rom and I have no free time for looking for an rom! If these rom have bugs I will not update these rom anymore because I want to make new rom final!!!
[Sony Xperia P, U, Sola, Go] behzad.bz:
Ok. If i can find a clean rom I will tell you & i will upload it for you...

Thanks
[Sony Xperia P, U, Sola, Go] ianjay06:
Please Follow munjeni with his instructions... use Sony Pc Companion.. not the converted .ftf stock files.... this would be great... i wud like to help but im on duty now... also i have poor internet connections.. it really sucks.. munjeni is giving us a favor for this one... so dont miss this opportunity guys
[Sony Xperia P, U, Sola, Go] behzad.bz:
I khow that. & i will search for a clean rom

I can do it... I love munjeni's custom roms and i will help him always if i can
[Sony Xperia P, U, Sola, Go] sijav:
munjeni if you're willing to wait I might download the 1.54 tonight by PCC and upload it ASAP (just pick any region or SI number and I'll download it by pcc tonight).
[Sony Xperia P, U, Sola, Go] munjeni:
:) thanks guys, I waiting :p
[Sony Xperia P, U, Sola, Go] sijav:
you won't tell me which SI number you need? or which region should I download? I just pick randomly? :D
[Sony Xperia P, U, Sola, Go] Anthrax:
I would suggest a generic FW.......
[Sony Xperia P, U, Sola, Go] sijav:
well if you give me a SI number that would be great help :D
[Sony Xperia P, U, Sola, Go] lalit387:
Already had a zip posted please refer below post

http://xdaforums.com/showthread.php?p=35091777

This is pure stock only kernel is yours

Thanks master good to hear from you:D:D:D

I am in love with you;)

Edit: This zip (54) was tested by me many times and just like flashing a new ftf no change or modifications. Whenever I flash I new rom I just flash it first. You can trust me :D
[Sony Xperia P, U, Sola, Go] akkufix:
:good:

Had a zipped stockrom with v13 on my PC, but after some difficulties with my harddisk (crashed some sectors...) i have to check it first, cause some of my files are damaged by now and ddrescue still works on them... :(

Edit:

I checked this file, all things worked and it came as a "fresh" install, after i wiped. Only thing - i couldn't get wifi to work. Maybe this happens, because i should had "real - flashed" to stock first. I came from xperience v2 rom...

Here is link:

http://d-h.st/wwh

Build 6.1.1.B.1.54, Kernel 3.08-munjeni-g9d797ba-dirty, Nov15 22:21:30 CET 2012, Baseband u8500-49020908-p2m_EC01
[Sony Xperia P, U, Sola, Go] Anthrax:
the one you uploaded doent have wi-fi working???????
[Sony Xperia P, U, Sola, Go] munjeni:
Tnx, I will use these rom as a base!
[Sony Xperia P, U, Sola, Go] akkufix:
Who needs wifi...? :D

No, bro...it should work, but i came from another custom-rom, as i re-installed this zip on my phone. I'm sure, that i had to flash back "stock.ftf" first to get original stock system structure. So, don't panic. ;)

The time as i made this zip-file it worked with all functions.
[Sony Xperia P, U, Sola, Go] munjeni:
http://xdaforums.com/showthread.php?t=2188773 :good:
[Sony Xperia P, U, Sola, Go] Anthrax:
you the greatest...... :) :D.......
[Sony Xperia P, U, Sola, Go] shamshuddin:
help me

my Xperia sola is with si 1261-5054

m getting problems with lockscreen sound and someother disturb sound while playing media after flashed Indian rom,tried everything but no fix can u please say which country this si belongs to and I found nowhere in internet to download this Rom please help me
[Sony Xperia P, U, Sola, Go] sijav:
It's for MEA (middle east area) and it won't get any problem with indian rom as my phone was that exact Si code and I flashed indian rom in my phone and had no prob.

you can try rooting and changing Si number in build.prop then repair from SUS or PCC

good luck ;)
[Sony Xperia P, U, Sola, Go] viethungyp:
many thanks, great job :)
[Sony Xperia P, U, Sola, Go] Chirag219:
What are the bugs for this rom???
[Sony Xperia P, U, Sola, Go] adhawk:
does that mean there's a new recovery of version14 that can help change boot logo easily? but there is only download link for CWM version13 and memory tweak, right? so, where is the link to download for the new recovery v14 as stated above? however, i still downloaded and installed the provided links for cwmv13 and memory tweak + oc. and still no option to change boot logo in the tools menu of the cwm. is it bcoz i flashed the memory tweak + oc? should i only have to flash the memory tweak without the oc? bcoz i havn't flashed that one yet. i really want to try change the boot logo if it is possible using the recovery v14. but if it is not possible to do so using recovery v14, please tell me. i totally understand if it is due to typing mistake by munjeni. bcoz i searched through the forum to find out how to change boot logo but all of the related threads provides such complicated steps such as unpack repack boot.img using linux os n cmd etc which i am very very noob at. thats why when i saw what munjeni wrote in this thread about changing boot logo using recovery v14, i felt a new bright hope where i may be able to do it in a much easier way. one more thing, do i have to reflash stock firmware rom after i flash the memory tweak via cwm recovery? bcoz i got bootloop after flashing memory tweak by following instructions given. it keeps on booting to bootlogo until the boot logo disappears, and then it shows the boot logo again and then disappears, forever repeating. it doesn't even boot to sony splashscreen at all. please help. thanks for the recovery to all related devs especially munjeni :good:;) the cwm recovery works like wonder and easy to use :D once again, thank you so much :fingers-crossed: i'd like to press the thanks button but i've forgotten to press before, and now today it says i've reached my thanks limit. i'll definitly press thanks button as soon as i can :o
[Sony Xperia P, U, Sola, Go] Geek1995:
This include .54 kernel ? or .10 ?
[Sony Xperia P, U, Sola, Go] sqnkov:
Installed using TWRP on Xperia P 22i , wiped cache/dalvik/data and now the phone won't turn on at all. Screen stays black when I press the power button, it vibrates as usual then after 3 seconds it vibrates harder and nothing happens. Please help, phone is not mine.
[Sony Xperia P, U, Sola, Go] akkufix:
Dude, this rom wasn't made for Xperia P - that's why it won't boot. ;)

Watch the title "Sony Xperia Sola ICS rom 6.1.1.B.1.10...".

X-P is a little different from Sola.

Look for a "Xperia P-rom" in this section

http://xdaforums.com/xperia-u/p-development
[Sony Xperia P, U, Sola, Go] munjeni:
Touch version tonight!;)
[Sony Xperia P, U, Sola, Go] LastSoul88:
what gmt(timezone) time? :D
[Sony Xperia P, U, Sola, Go] akkufix:
:good:...eagerly waiting for it. :cool:
[Sony Xperia P, U, Sola, Go] freezejcavi:
will instalation from SD card also work?
[Sony Xperia P, U, Sola, Go] tsoytsoy1880:
How to flash this image? i mean what should i used to flash it, do i need to use flashtool or in the fastboot folder?
[Sony Xperia P, U, Sola, Go] LastSoul88:
use fastboot.. refer here... http://xdaforums.com/showpost.php?p=31910090&postcount=1
[Sony Xperia P, U, Sola, Go] akkufix:
Just flash boot.img with fastboot, like here http://xdaforums.com/showthread.php?t=1901134

fastboot flash boot boot.img
[Sony Xperia P, U, Sola, Go] tsoytsoy1880:
how to uninstall EA games app as a default app of the ICS?
[Sony Xperia P, U, Sola, Go] erj22:
ask this in Q&A section. not here.
[Sony Xperia P, U, Sola, Go] rupeshmourya:
Can i flash it with locked bootloader
[Sony Xperia P, U, Sola, Go] munjeni:
You need to unlock bootloader!

New version is done, its now touch bassed CWM and now looks like this picture -> http://img341.imageshack.us/img341/3208/img1036ow.jpg will upload soon:laugh: This is just simple skin but I will add feature into sony menu for abilities of changing skins... thats my plan!
[Sony Xperia P, U, Sola, Go] munjeni:
Uploaded! Please tst and let me know if something about "touch" is strange...
[Sony Xperia P, U, Sola, Go] pulak861:
Just installed.. The touch IS working ABSOLUTELY fine...... I had no problem in navigating and entering in all the menus.......UP DOWN ENTER BACK all works..... Have a controlled effect of floating touch...... floting touch is not giving any problem..... just let me know if u wnat to know something else..... Thanksss... :D :D
[Sony Xperia P, U, Sola, Go] munjeni:
Well, just only remain usb, adb and "backup to zip" in sony tools menu, and everything will working?!
[Sony Xperia P, U, Sola, Go] LastSoul88:
touch screen works... but the floating touch make touch a little bit difficult..
[Sony Xperia P, U, Sola, Go] munjeni:
Yes, I disabled floating touches because there was problems with "double press" so floating to an button caused double call to an menu, for example one press caused "go to menu wipe everything" than caused "confirmation yes" but I pressed button only one time but there was 2 presses! But after disabling these thing now we have each "unique" press that is handled and blocked untill press is released, so to get new press you need to "release" press... ;) I worked 2 days to get solution for "one" press at one time and I got it... its now like standard volume up/down button (without floating)
[Sony Xperia P, U, Sola, Go] insomniashades:
Thank you..you are our savior. I wish you could make us a custom kernel :p

ＳＯＬＡ !!!
[Sony Xperia P, U, Sola, Go] sijav:
Some minor problem with floating touch, before I touch the buttons it accepted so for rapidly going down and then press enter there is a slightly minor problem to do this!

as for others working good :D Hope it get better and get other tools works in the next release :)

BTW why you remove the camera buttons works as back? Please make it back as it was a great help when we have some problem with Touch :(

Thanx for your great works :)
[Sony Xperia P, U, Sola, Go] bharat_goku:
No sources?

Anyway i can back track what You've done?

M not able to decompile ur boot.img to do so on my own,need a little help pm me if u could?
[Sony Xperia P, U, Sola, Go] mkoev:
Hi Guys,

Sorry to add a noob question to your topic but I could not find an answer to my question.

I have the stock ICS firmware + stock kernel , bootloader unlocked, rooted, busybox installed. I would like to get CWM.

Do I have to have a custom kernel for your CWM to work ? If yes, what's the link for it. I looked through the thread and could not find a link. Maybe I missed it.
[Sony Xperia P, U, Sola, Go] akkufix:
Yes, the floating touch of sola needs some training, but it works ok.

Just a request - maybe you could switch the position of "Back" and "Enter", not pressing "Enter" by mistake while moving up or down and confirm an action you don't want to do.

No probs found, yet. I didn't go through all points. Will keep on testing, but i have some waste time with my work at the moment.

:cool: First of all - great work and thx for giving us cws to sola. :good:

---------- Post added at 01:04 PM ---------- Previous post was at 12:58 PM ----------

I use ics stock kernel and just flashed the boot.img

fastboot flash boot boot.img
[Sony Xperia P, U, Sola, Go] mkoev:
OK, it worked but by bluetooth is not working now :((

Edit: Oh, ok he said that he's going to remove the bluetooth fix. Does that mean no bluetooth from now on ? ;(
[Sony Xperia P, U, Sola, Go] lithelis:
works fine, float touch sometimes interference.. thanks again mate..
[Sony Xperia P, U, Sola, Go] rupeshmourya:
How boot into recovery

how to boot into recovery?
[Sony Xperia P, U, Sola, Go] munjeni:
Sorry, I not understand! What problems you have? Please explain better or better make an camera/video capture so I can see whats going wrong... I have touch thing perfectlly working on Xperia Go! I have not Sola to test this CWM! What mean "floating touch" ? Did it mean you going to press button (without releasing) in order to have fast menu moving, or you mean there is double pressess when you press button only one time???

My CWM modifications is not open source. You can use CWM recovery source from Cyanogenmod git and start working on your own modifications.

Make sure you have the same ICS version like our boot image! You allso can compare kernel version from my boot image and stock bootimage, so kernel must be the same, if not the same than bluetooth and other things fail to work because kernel modules not match version...!

After sony logo + 5 led lights + one vibration you need to press volume (+ or -) button!
[Sony Xperia P, U, Sola, Go] mkoev:
Munjani, thanks for the explanation man but as I said I am a noob.

Is it going to be easier just to flash a new stock rom that has the same version numbers as your boot image ? If yes, please provide me with a link for that rom. I can easily flash the rom and then the boot.img :) I just don't know where to look for those numbers that you've mentioned. I know how to look up the kernel version on my cell ( 3.0.8+ builduser@buldhost #1 SMP PREEMPT) but that's about it... sorry :(

Other than that I tried to use your CWM and it was just perfect. The touch buttons work without trouble :)
[Sony Xperia P, U, Sola, Go] freezejcavi:
delete pls
[Sony Xperia P, U, Sola, Go] mkoev:
Please do tell me which link is it exactly ?

This is for root tools : http://xdaforums.com/showpost.php?p=31910090&postcount=1 . I do have all of that installed.

This is the attachment that contains only boot.img : http://xdaforums.com/attachment.php?attachmentid=1388096&d=1349801307

So, where is the link that downloads the custom kernel, or where is the link that downloads the custom rom ? Or am I asking the wrong question? :)
[Sony Xperia P, U, Sola, Go] freezejcavi:
boot.img isthe kernel, you don't need any Custom ROM for using this kernel. just flash boot.img via fastboot
[Sony Xperia P, U, Sola, Go] mkoev:
OK, I did some reading and found out what boot.img actually contains, now I know it contains the kernel.

I have already flashed it. After flashing it my bluetooth does not work. Everything else works so far.

What I do not know is how to find out if I have the same ICS version as the one of the boot image ( as per munjani's advise). I found out there is an Indian rom here : http://xdaforums.com/showthread.php?t=1914264 . Should I just flash that one in order for it to work with munjani's boot.img so that my bluetooth works ? Currently I have a European version of ICS, probably the central European one, I am from Bulgaria.
[Sony Xperia P, U, Sola, Go] akkufix:
Because of the floating touch feature of the sola, the buttons react if you have your finger 1cm over the screen.

So, you don't need to touch the screen to push action.

edit:

Btw. sry, can't make video by now, because I'm at work. But look this one at tube http://www.youtube.com/watch?v=9Q73bHn9xus

and see what happens (0:28), if you move your finger around over the screen. And the same happens, when you come near your buttons up, down,enter and back.