[Galaxy S Advance I9070 Original Android Developmen] amitnv:
i hope u still have grand's fimware ..

so can u pass the framework2.jar from it?

---------- Post added at 01:42 PM ---------- Previous post was at 01:30 PM ----------

ok here's my observation:

according to the thread:http://xdaforums.com/showthread.php?t=2024227

the author describes:

iget-boolean v8, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->WACOM_POLICY_FOLLOW_APPLICATION_ROTATION:Z

if-nez v8, :cond_1

should be deleted (which is not present in our android.policy.jar)

but in the multiwindow folder under guiderelayoutwindow.smali

these lines need to be changed:

invoke-static {p1}, Landroid/sec/multiwindow/impl/MultiWindowManager;->isPhone(Landroid/content/Context;)Z

move-result v8

if-nez v8, :cond_1

* i don't know maybe i'm 100% correct or i'm 100% wrong !

but if i'm correct then please tell me what should be changed

all i know is those lines are related..i'll post a log soon

---------- Post added at 01:47 PM ---------- Previous post was at 01:42 PM ----------

ok here's my observation:

according to the thread:http://xdaforums.com/showthread.php?t=2024227

the author describes:

iget-boolean v8, p0, Lcom/android/internal/policy/impl/PhoneWindowManager;->WACOM_POLICY_FOLLOW_APPLICATION_ROTATION:Z

if-nez v8, :cond_1

should be deleted (which is not present in our android.policy.jar)

but in the multiwindow folder under guiderelayoutwindow.smali

these lines need to be changed:

invoke-static {p1}, Landroid/sec/multiwindow/impl/MultiWindowManager;->isPhone(Landroid/content/Context;)Z

move-result v8

if-nez v8, :cond_1

* i don't know maybe i'm 100% correct or i'm 100% wrong !

but if i'm correct then please tell me what should be changed

all i know is those lines are related..i'll post a log soon

edit:

this is what you get if you follow the guide blindly:

NOTE:all those numbers in [] refers to the lines where u have errors

-------------------------------------------------------------

- 1 - android.policy.jar

-------------------------------------------------------------

Enter It's Number: 1

7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18

Processing archive: E:\multiwindow very imp\\jar\android.policy.jar

Extracting classes.dex

Extracting META-INF

Extracting META-INF\MANIFEST.MF

Everything is Ok

Folders: 1

Files: 2

Size: 815107

Compressed: 366299

..\jarout\android.policy.jar\class\com\android\internal\policy\impl\multiwindow\

GuideRelayoutWindow.smali[323,4] Invalid literal value: 16. Low 16 bits must be

zeroed out.

..\jarout\android.policy.jar\class\com\android\internal\policy\impl\multiwindow\

GuideRelayoutWindow.smali[345,4] Invalid literal value: 2. Low 16 bits must be z

eroed out.

..\jarout\android.policy.jar\class\com\android\internal\policy\impl\multiwindow\

GuideRelayoutWindow$GuideView.smali[206,4] Invalid literal value: 16948. Low 16

bits must be zeroed out.

..\jarout\android.policy.jar\class\com\android\internal\policy\impl\multiwindow\

GuideRelayoutWindow.smali[407,4] Invalid literal value: 259. Low 16 bits must be

zeroed out.

..\jarout\android.policy.jar\class\com\android\internal\policy\impl\multiwindow\

GuideRelayoutWindow$GuideView.smali[3309,4] Invalid literal value: 512. Low 16 b

its must be zeroed out.

..\jarout\android.policy.jar\class\com\android\internal\policy\impl\multiwindow\

GuideRelayoutWindow$GuideView.smali[3625,4] Invalid literal value: 16. Low 16 bi

ts must be zeroed out.

..\jarout\android.policy.jar\class\com\android\internal\policy\impl\multiwindow\

MultiPhoneWindowEvent$PhoneWindowListener.smali[654,4] Invalid literal value: 16

384. Low 16 bits must be zeroed out.

..\jarout\android.policy.jar\class\com\android\internal\policy\impl\multiwindow\

MultiPhoneWindowEvent$PhoneWindowListener.smali[668,4] Invalid literal value: 16

384. Low 16 bits must be zeroed out.

..\jarout\android.policy.jar\class\com\android\internal\policy\impl\multiwindow\

MultiPhoneWindowEvent.smali[181,4] Invalid literal value: 256. Low 16 bits must

be zeroed out.

..\jarout\android.policy.jar\class\com\android\internal\policy\impl\multiwindow\

MultiPhoneWindowEvent.smali[724,4] Invalid literal value: 512. Low 16 bits must

be zeroed out.

..\jarout\android.policy.jar\class\com\android\internal\policy\impl\multiwindow\

MultiPhoneWindowEvent$PhoneWindowListener.smali[760,4] Invalid literal value: 16

384. Low 16 bits must be zeroed out.

..\jarout\android.policy.jar\class\com\android\internal\policy\impl\multiwindow\

MultiPhoneWindowEvent$PhoneWindowListener.smali[784,4] Invalid literal value: 16

384. Low 16 bits must be zeroed out.

..\jarout\android.policy.jar\class\com\android\internal\policy\impl\multiwindow\

MultiPhoneWindowEvent.smali[1505,4] Invalid literal value: 16. Low 16 bits must

be zeroed out.

..\jarout\android.policy.jar\class\com\android\internal\policy\impl\multiwindow\

MultiPhoneWindowEvent.smali[2013,4] Invalid literal value: 32. Low 16 bits must

be zeroed out.

..\jarout\android.policy.jar\class\com\android\internal\policy\impl\multiwindow\

MultiPhoneWindowEvent.smali[2149,4] Invalid literal value: 1. Low 16 bits must b

e zeroed out.

7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18

Scanning

Creating archive ../jar/newandroid.policy.jar

Compressing META-INF\MANIFEST.MF

Everything is Ok

-------------------------------------------------------------

Successfully compiled android.policy.jar

Compiled file located in jar folder with newandroid.policy.jar name

-------------------------------------------------------------

Press any key to continue . . .