[AT&T Samsung Galaxy Note II] samuri28:
Did you try deleting these 3 directories from the directory \secphone\res:

values-es

values-es-rUS

values-it

I did not have any compile issues when I compiled with Beans Build 1o

---------- Post added at 02:29 PM ---------- Previous post was at 02:24 PM ----------

I have been working with MothChewMoth on the side and came up with the below:

Making the Note 2 TW Dialer Rotate based on phone orientation

First Note: I am not an android developer or a developer at all for that matter. I make no warranty for these changes and do so at your own risk. I have been running this for 2 days on my Verizon Note 2 running Beans Build 10 with no issues.

Thanks to Mirko ddd for posting how to do this on the Galaxy S2 which gave me a start for the Note 2

The instructions below were built off of CleanRom 4.5 ACE as that is what MothChewMoth was running.

DeCompile the SecPhone.apk and go to

apk and go to smali/com/android/phone/

You will need to edit two files:

InCallScreen.smali (this allows for rotation changes while on the phone)

CallCard.smali (this allows for rotation changes when a call is coming in)

Open InCallScreen.smali with a text editor and find the code:

.line 7185
:cond_5
sget-boolean v0, Lcom/android/phone/PhoneApp;->mIsDockConnected:Z

if-nez v0, :cond_6

const-string v0, "hardkeyboardhidden_no"

invoke-static {v0}, Lcom/android/phone/PhoneFeature;->hasFeature(Ljava/lang/String;)Z

move-result v0

if-eqz v0, :cond_c

iget v0, p1, Landroid/content/res/Configuration;->hardKeyboardHidden:I

if-ne v0, v1, :cond_c

.line 7187
:cond_6
iget v2, p1, Landroid/content/res/Configuration;->orientation:I

Remove the 2 lines:

If-eqz v0, :cond_c

If-ne v0, v1, :cond_c

Your new code should look like:

.line 7185
:cond_5
sget-boolean v0, Lcom/android/phone/PhoneApp;->mIsDockConnected:Z

if-nez v0, :cond_6

const-string v0, "hardkeyboardhidden_no"

invoke-static {v0}, Lcom/android/phone/PhoneFeature;->hasFeature(Ljava/lang/String;)Z

move-result v0

iget v0, p1, Landroid/content/res/Configuration;->hardKeyboardHidden:I

.line 7187
:cond_6
iget v2, p1, Landroid/content/res/Configuration;->orientation:I

Save InCallScreen.smali

Open CallCard.smali with a text editor and find the code:

.line 720
sget-boolean v2, Lcom/android/phone/PhoneApp;->mIsDockConnected:Z

if-nez v2, :cond_0

const-string v2, "hardkeyboardhidden_no"

invoke-static {v2}, Lcom/android/phone/PhoneFeature;->hasFeature(Ljava/lang/String;)Z

move-result v2

if-eqz v2, :cond_4

iget v2, v0, Landroid/content/res/Configuration;->hardKeyboardHidden:I

if-ne v2, v1, :cond_4

.line 722
:cond_0
iget v0, v0, Landroid/content/res/Configuration;->orientation:I

Remove the 2 lines:

If-eqz v2, :cond_4

If-ne v2, v1, :cond_4

Your new code should look like:

.line 720
sget-boolean v2, Lcom/android/phone/PhoneApp;->mIsDockConnected:Z

if-nez v2, :cond_0

const-string v2, "hardkeyboardhidden_no"

invoke-static {v2}, Lcom/android/phone/PhoneFeature;->hasFeature(Ljava/lang/String;)Z

move-result v2

iget v2, v0, Landroid/content/res/Configuration;->hardKeyboardHidden:I

.line 722
:cond_0
iget v0, v0, Landroid/content/res/Configuration;->orientation:I

Save the CallCard.smali

Re-Compile your secphone.apk

Replace your secphone.apk in /system/app and make sure its permissions are rw-r-r

Reboot your phone and enjoy

Second Note: To get past the CleanRom compile errors I ended up deleting these 3 directories from the directory \secphone\res:

values-es

values-es-rUS

values-it

I did not have any compile issues with the Beans Build 10 version of the same fix