KitKat firmware (14.3.A.0.681) certified for Xperia Z1 and Xperia Z1 Compact

Status
Not open for further replies.
Search This thread

Vanarian

Senior Member
Dec 2, 2013
51
2
Cool! I'll PM you once I'm home so I can discuss it to you clearly :D



@MohammadAG

Wow! Are you MohammadAG from n900 forums 2 years ago? :D

Anyways my problem with this is having the touches get recognized while on LPM on digitizer. Somehow the screen could detect the gestures or at least even the touches. Mind sharing me the unpolished custom touch code you made? I and Doomlord could maybe tweak it.

BTW I added the evgen events on clearpad_core and defined gesture_enable directly from clearpad_core since rhine devices doesn't have the same file structure as those on 2012 devices.

.../|\
../ | \
....|
....|

THIS ! Guys you are awesome. With the SD external restrictions of folders I've just read about, I don't give a damn anymore about KitKat.

Please just give us those awesome gesture features!
 

ImAnurag

Senior Member
Aug 10, 2011
1,068
480
New Delhi
GizmoBolt.com
Google Pixel 2 XL
Xperia Z1 4.4.2 KitKat 14.3.A.0.681 update Screenshots

Xperia Z1 4.4.2 KitKat 14.3.A.0.681 update Screenshots below.

Updated via EMMA, not rolled via PCC ( atleast in India, don't know about other regions ).

SOURCE - http://www.xperiaguide.com/2014/03/19/xperia-z1-14-3-0-681-firmware-kitkat-android-4-4-2-update-rolling/

Xperia-Z1-14.3.A.0.681-firmware-About-Phone.jpg


Software Version – 1272-6084_14.3.A.0.681
Customization Version – 1277-2364_R4C

Xperia-Z1-14.3.A.0.681-firmware-Software-info.jpg


Xperia-Z1-14.3.A.0.681-Quick-Settings-Option.jpg


Xperia-Z1-14.3.A.0.681-Notification-settings.jpg


Xperia-Z1-14.3.A.0.681-firmware-Notification-Panel.jpg


Xperia-Z1-14.3.A.0.681-firmware-Lock-Screen.jpg


Xperia-Z1-14.3.A.0.681-firmware-Home-Screen.jpg


Xperia-Z1-14.3.A.0.681-Default-SMS-App-settings.jpg


Xperia-Z1-14.3.A.0.681-answering-maching.jpg


What is their in Update ?

  • New Homescreen and locksreen wallpapers.
  • Transparent navigation bar and status bar.
  • New Battery icon.
  • No touch to wake up feature.
  • New start up screen.
  • New KitKat Boot animation.
  • Screenshot option in Power menu.
  • Calendar app updated.
  • Answering machine option in call app.
  • Manage notification settings for particular app.
  • Default SMS app settings.

Source - http://www.xperiaguide.com/2014/03/19/xperia-z1-14-3-0-681-firmware-kitkat-android-4-4-2-update-rolling/
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Correction :D tap2wake wasn't implemented on Z1 Kernel source code. I checked the digitizer driver in the kernel and it's all blank. What I'm thinking is perhaps they have just implemented it so I am expecting a disabled feature in the kernel once kitkat is out.

    Here's a part of the code the digitizer of the Z1 and Z1 Compact has that should handle the gestures.

    Code:
    static int synaptics_clearpad_handle_gesture(struct synaptics_clearpad *this)
    {
    	u8 wakeint;
    	int rc;
    
    	rc = synaptics_read(this, SYNF(F11_2D, DATA,
    			this->easy_wakeup_config.large_panel ? 0x39 : 0x43),
    			&wakeint, 1);
    	if (rc)
    		goto exit;
    
    	dev_info(&this->pdev->dev, "Gesture %d", wakeint);
    
    	if (time_after(jiffies, this->ew_timeout))
    		this->ew_timeout = jiffies + msecs_to_jiffies(
    			this->easy_wakeup_config.timeout_delay);
    	else
    		goto exit;
    
    	switch (wakeint) {
    	case XY_LPWG_STATUS_DOUBLE_TAP_DETECTED:
    		rc = evgen_execute(this->input, this->evgen_blocks,
    					"double_tap");
    		break;
    	case XY_LPWG_STATUS_SWIPE_DETECTED:
    		rc = evgen_execute(this->input, this->evgen_blocks,
    					"single_swipe");
    		break;
    	case XY_LPWG_STATUS_TWO_SWIPE_DETECTED:
    		rc = evgen_execute(this->input, this->evgen_blocks,
    					"two_swipe");
    		break;
    	default:
    		dev_info(&this->pdev->dev, "Gesture %d Not supported", wakeint);
    		break;
    	}
    exit:
    	return rc;
    }

    It is there already on the 4.3 kernel source but it's not defined. Meaning it recognized the gestures but there's no code to tell the device what to do in case a gesture is initiated.

    ---------- Post added at 11:59 AM ---------- Previous post was at 11:57 AM ----------

    Here's the code that enables and disables the gesture.


    Code:
    static int synaptics_clearpad_input_ev_init(struct synaptics_clearpad *this)
    {
    	int rc = 0;
    
    	this->evgen_blocks = clearpad_evgen_block_get(
    		this->device_info.customer_family,
    		this->device_info.firmware_revision_major);
    	dev_info(&this->pdev->dev, "evgen_blocks is %s\n",
    		 this->evgen_blocks ? "used" : "null");
    	evgen_initialize(this->input, this->evgen_blocks);
    
    	[B][U]if (this->evgen_blocks) {[/U][/B]
    		rc = device_create_file(&this->input->dev,
    				&clearpad_wakeup_gesture_attr);
    		if (rc)
    			dev_err(&this->pdev->dev,
    				"sysfs_create_file failed: %d\n", rc);
    	}
    
    	return rc;
    }

    I have highlighted the part of that code that decides whether to enable or disable it. Apparently it's disabled because "this->evgen_blocks" is empty. As much as I would like to enable this through a custom kernel. I'm pretty much stuck as my knowledge with this is pretty limited. Tried also asking help from other kernel devs to no avail.

    contact me via p.m.

    will see what can be done about this...
    3
    Pen mode was easy to enable because Sony just disabled it, but for tap2wake they deleted required config from Z1 source...
    I hope developers can port tap2wake when Z2 source is available.

    Correction :D tap2wake wasn't implemented on Z1 Kernel source code. I checked the digitizer driver in the kernel and it's all blank. What I'm thinking is perhaps they have just implemented it so I am expecting a disabled feature in the kernel once kitkat is out.

    Here's a part of the code the digitizer of the Z1 and Z1 Compact has that should handle the gestures.

    Code:
    static int synaptics_clearpad_handle_gesture(struct synaptics_clearpad *this)
    {
    	u8 wakeint;
    	int rc;
    
    	rc = synaptics_read(this, SYNF(F11_2D, DATA,
    			this->easy_wakeup_config.large_panel ? 0x39 : 0x43),
    			&wakeint, 1);
    	if (rc)
    		goto exit;
    
    	dev_info(&this->pdev->dev, "Gesture %d", wakeint);
    
    	if (time_after(jiffies, this->ew_timeout))
    		this->ew_timeout = jiffies + msecs_to_jiffies(
    			this->easy_wakeup_config.timeout_delay);
    	else
    		goto exit;
    
    	switch (wakeint) {
    	case XY_LPWG_STATUS_DOUBLE_TAP_DETECTED:
    		rc = evgen_execute(this->input, this->evgen_blocks,
    					"double_tap");
    		break;
    	case XY_LPWG_STATUS_SWIPE_DETECTED:
    		rc = evgen_execute(this->input, this->evgen_blocks,
    					"single_swipe");
    		break;
    	case XY_LPWG_STATUS_TWO_SWIPE_DETECTED:
    		rc = evgen_execute(this->input, this->evgen_blocks,
    					"two_swipe");
    		break;
    	default:
    		dev_info(&this->pdev->dev, "Gesture %d Not supported", wakeint);
    		break;
    	}
    exit:
    	return rc;
    }

    It is there already on the 4.3 kernel source but it's not defined. Meaning it recognized the gestures but there's no code to tell the device what to do in case a gesture is initiated.

    ---------- Post added at 11:59 AM ---------- Previous post was at 11:57 AM ----------

    Here's the code that enables and disables the gesture.


    Code:
    static int synaptics_clearpad_input_ev_init(struct synaptics_clearpad *this)
    {
    	int rc = 0;
    
    	this->evgen_blocks = clearpad_evgen_block_get(
    		this->device_info.customer_family,
    		this->device_info.firmware_revision_major);
    	dev_info(&this->pdev->dev, "evgen_blocks is %s\n",
    		 this->evgen_blocks ? "used" : "null");
    	evgen_initialize(this->input, this->evgen_blocks);
    
    	[B][U]if (this->evgen_blocks) {[/U][/B]
    		rc = device_create_file(&this->input->dev,
    				&clearpad_wakeup_gesture_attr);
    		if (rc)
    			dev_err(&this->pdev->dev,
    				"sysfs_create_file failed: %d\n", rc);
    	}
    
    	return rc;
    }

    I have highlighted the part of that code that decides whether to enable or disable it. Apparently it's disabled because "this->evgen_blocks" is empty. As much as I would like to enable this through a custom kernel. I'm pretty much stuck as my knowledge with this is pretty limited. Tried also asking help from other kernel devs to no avail.
    3
    contact me via p.m.

    will see what can be done about this...

    Cool! I'll PM you once I'm home so I can discuss it to you clearly :D

    FYI, I tried to fix this by fixing evgen_blocks, even though the screen stayed in lower power mode (LPM) and detected touches, I couldn't get double tap to work. Some custom code got it to work, but it wasn't polished so I didn't release it.

    Here's an example patch:
    http://gerrit.aokp.co/#/c/15980/2/arch/arm/mach-msm/board-sony_dogo-touch.c

    @MohammadAG

    Wow! Are you MohammadAG from n900 forums 2 years ago? :D

    Anyways my problem with this is having the touches get recognized while on LPM on digitizer. Somehow the screen could detect the gestures or at least even the touches. Mind sharing me the unpolished custom touch code you made? I and Doomlord could maybe tweak it.

    BTW I added the evgen events on clearpad_core and defined gesture_enable directly from clearpad_core since rhine devices doesn't have the same file structure as those on 2012 devices.
    3
    contact me via p.m.

    will see what can be done about this...

    FYI, I tried to fix this by fixing evgen_blocks, even though the screen stayed in lower power mode (LPM) and detected touches, I couldn't get double tap to work. Some custom code got it to work, but it wasn't polished so I didn't release it.

    Here's an example patch:
    http://gerrit.aokp.co/#/c/15980/2/arch/arm/mach-msm/board-sony_dogo-touch.c