Cornerstone v4.3_r2.2

260 views
Skip to first unread message

Sanjay Jain

unread,
Apr 1, 2014, 7:46:41 AM4/1/14
to corners...@googlegroups.com
Hi,

We are pleased to announce Cornerstone v4.3_r2.2 for Nexus 7 2012. For more details, please visit https://github.com/Onskreen/cornerstone.

You can download the Nexus 7 2012 ROM from https://github.com/Onskreen/cornerstone/wiki/ROM-Files.

To grab the latest code from github, run the below command:


Let us know if you have any issues.

Thanks,
Sanjay Jain

Ritter Liu

unread,
Apr 7, 2014, 10:36:58 AM4/7/14
to corners...@googlegroups.com
Awesome job, thank you for your share.

ankit patel

unread,
Jul 10, 2014, 11:57:37 PM7/10/14
to corners...@googlegroups.com
Its really Awesome :-).

I have an question. Is this version support for Multiple User?
For example, Android's AOSP JB provide adding multiple users. So, if i open CS Multiwindow in User-1 & switch back to User-2, will multiwindow accessible there in User-2 ?

-Ankit.

onhsnm

unread,
Jul 11, 2014, 10:08:15 AM7/11/14
to corners...@googlegroups.com
We haven't tested that specifically. Try it and let us know the results.

ankit patel

unread,
Jul 12, 2014, 10:19:58 AM7/12/14
to corners...@googlegroups.com
Hi, I will try and let you know.


-Ankit.

On Tuesday, 1 April 2014 17:16:41 UTC+5:30, Sanjay Jain wrote:

ankit patel

unread,
Jul 15, 2014, 11:44:03 PM7/15/14
to corners...@googlegroups.com
Hi,
Android JB 4.3 added feature of multiple user. Android JB 4.3 introduced new policy implementation for Individual window display for individual user.
So, it will hide window which are displayed on User1 to User2. 

Need to place hack to prevent this invisibility for multiwindow for all user & then it will work for all user.

-Ankit.

On Tuesday, 1 April 2014 17:16:41 UTC+5:30, Sanjay Jain wrote:

hooks

unread,
Jul 20, 2014, 10:08:50 PM7/20/14
to corners...@googlegroups.com
How do I install this on the nexus 2012? Its img file not a flashable zip like I normally use.

ankit patel

unread,
Jul 23, 2014, 4:17:24 AM7/23/14
to corners...@googlegroups.com
Hi,

Are you going to add support for Multiwindow on Multiple Users ?

-Ankit.

On Tuesday, 1 April 2014 17:16:41 UTC+5:30, Sanjay Jain wrote:

Ritter Liu

unread,
Oct 15, 2014, 11:03:56 PM10/15/14
to corners...@googlegroups.com
Hi,

The download link in 


can't open.

Is there someone has new link?

在 2014年4月1日星期二UTC+8下午7时46分41秒,Sanjay Jain写道:

Sanjay Jain

unread,
Oct 15, 2014, 11:21:51 PM10/15/14
to Ritter Liu, corners...@googlegroups.com
Hello,

The link is definitely working and I can download the patch as well. In case, if you can't download the patch, then find the attached patch in this email.

Thanks,
Sanjay

--
You received this message because you are subscribed to the Google Groups "Cornerstone Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cornerstone-d...@googlegroups.com.
To post to this group, send email to corners...@googlegroups.com.
Visit this group at http://groups.google.com/group/cornerstone-dev.
For more options, visit https://groups.google.com/d/optout.

onskreen_cornerstone_4.3_2.2.patch
Message has been deleted

Ritter Liu

unread,
Oct 16, 2014, 10:25:49 AM10/16/14
to Sanjay Jain, corners...@googlegroups.com
Hi Sanjay,

Thank you so much.
By study the CornerStone patch, I develop a multi-window too. :P
--
Best regards,
Ritter Liu

Hai Ru

unread,
Dec 3, 2015, 10:53:53 AM12/3/15
to Cornerstone Development
Hi, I'm trying to building the source code, but I got a lot of compile error like these:

frameworks/base/core/res/res/values/public.xml:244: error: Symbol 'config_bluetooth_adapter_quick_switch' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:1558: error: Symbol 'config_enableDreams' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:919: error: Symbol 'ic_suggestions_add' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:920: error: Symbol 'ic_suggestions_delete' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:1244: error: Symbol 'backspace' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:1250: error: Symbol 'carrier' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:130: error: Symbol 'dangerous_perms_list' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:1253: error: Symbol 'emergencyCallButton' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:1254: error: Symbol 'faceLockAreaView' declared with <java-symbol> not defined

how to fix it?

Hai Ru

unread,
Dec 3, 2015, 10:53:53 AM12/3/15
to Cornerstone Development
Hi, I'm trying to build this on my device, but I have some problems during the building process. First of all, I synced the AOSP 4.3_r2.2 source tree. Then I copied the entire cornerstone codes (from branch v4.3_r2.2) into the source tree. Then I start to build.

First, I got a lot of errors like these:


frameworks/base/core/res/res/values/public.xml:244: error: Symbol 'config_bluetooth_adapter_quick_switch' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:1558: error: Symbol 'config_enableDreams' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:919: error: Symbol 'ic_suggestions_add' declared with <java-symbol> not defined
frameworks/base/core/res/res/values/public.xml:920: error: Symbol 'ic_suggestions_delete' declared with <java-symbol> not defined
...

After compared a lot, I found lots of missing symbols seems only in public.xml. If I were right, I think these symbols should be defined in somewhere else, then be added into public.xml. So I just removed these by restore the public.xml to unmodified (git checkout).

And then when I ran building again, I got the error like this:

frameworks/base/services/java/com/android/server/wm/DimAnimator.java:57: cannot find symbol
symbol  : variable FX_SURFACE_DIM
location: class android.view.Surface
                        Surface.FX_SURFACE_DIM);
                               ^
frameworks/base/services/java/com/android/server/wm/DimAnimator.java:54: internal error; cannot instantiate com.android.server.wm.WindowStateAnimator.SurfaceTrace.<init> at com.android.server.wm.WindowStateAnimator.SurfaceTrace to ()
                    mDimSurface = new WindowStateAnimator.SurfaceTrace(session, 0,
                                  ^
...
frameworks/base/services/java/com/android/server/wm/DimSurface.java:48: cannot find symbol
symbol  : variable FX_SURFACE_DIM
location: class android.view.Surface
                        Surface.FX_SURFACE_DIM);
                               ^
frameworks/base/services/java/com/android/server/wm/DimSurface.java:45: internal error; cannot instantiate com.android.server.wm.WindowStateAnimator.SurfaceTrace.<init> at com.android.server.wm.WindowStateAnimator.SurfaceTrace to ()
                    mDimSurface = new WindowStateAnimator.SurfaceTrace(session, 0,
                                  ^
...

By looked into the AOSP source, I found the Surface.FX_SURFACE_DIM should be SurfaceControl.FX_SURFACE_DIM, and the WindowStateAnimator.SurfaceTrace constructor's parameter number is different. So I wonder whether am I use the "right" source tree of AOSP? If not, which version should I sync? Since there are so many differences than the codes in cornerstone.

Thanks.

Hai Ru

unread,
Dec 14, 2015, 9:52:36 PM12/14/15
to Cornerstone Development
Finally resolved the problem, by did these:
1. Removed the symbol definition from public.xml;
2. Replaced android.view.Surface with android.view.SurfaceControl, and WindowManagerService.DEFAULT_DIM_DURATION with WindowAnimator.DEFAULT_DIM_DURATION.

After that, I compile it succeed, and it can be run, although there still have some problems.
Reply all
Reply to author
Forward
0 new messages