yashsingh1/xdaforums huggingface dataset:
[HTC One X+] deeznuts:
I also came from iPhone 4 but chose the X+ as its hands down the best device currently on the market and easily for the next 6 months. Battery life is great for me, don't see what the issues are? I'd say my battery is just as good as my iPhone 4 and considering this is a 1.7ghz quad core device, WOW! I can easily go a full day from when I wake up til bed on a full charge and play tegra games for a couple hours, hour or so of HD YouTube vids, all day long facebooking, sms, calls, Bluetooth, etc.

The thing with battery though u really have to flash a custom Rom to get the full benefits. The stock out of the box ain't bad but huge difference in battery life once I flashed a custom Rom. Device gets "warm" as anyone can expect from a quad core device if battery save mode is off and playing something like dead trigger for 30+ min straight, that's still damn good imo! Hot? Yeah there's a lot of cry babies around here that talk like that, lol!

---------- Post added at 04:40 PM ---------- Previous post was at 04:35 PM ----------

I don't know much about the razor as I saw it as a big ugly phone so never looked twice. Waterproof semi glass? Never had a reason for that, u gonna have it in your boardshorts while jet skiing? Lol, that's what squaretrade phone insurance is for bud. $100 for 2yrs coverage no questions asked and replaces everything except lose of device of course. They say there's $100 deductible but I had them with my iPhone 4 and they replaced it free, zero deductible due to hardware issue (power button stopped working).
[AT&T Samsung Galaxy Note II] MothChewMoth:
I've scoured these forums and come up with nothing so far on this (other than apps that don't work!). Here's what I'm looking to do:

I drive FREQUENTLY for work and have my ATT Note 2 in a dash mount in landscape position. I would like my in-call screen to rotate to landscape, and actually be able to see my Caller ID photo as well as the standard dial pad.

I've tried Ultimate Rotation Control (and several other apps), and they DO rotate the screen, but the buttons are abnormally large and cover 90% of the screen. This covers up caller id as well as the dialer pad if you try to use it.

I found a mod and how-to for the S2 (links below) that does EXACTLY what I want, so I'm pretty sure someone with coding experience can figure this out. I can't figure out how to decompile-recompile my SecPhone.apk without errors, so I can't test this myself.

Is there anyone who can try to make this happen? If so, I'd be happy to make a donation for your time/effort. Thanks!

http://xdaforums.com/showthread.php?t=2018583 - Mod for S2

http://xdaforums.com/showthread.php?t=1705215 - How to for S2
[AT&T Samsung Galaxy Note II] MothChewMoth:
Mods, is it possible for one of you to move this to the dev section? I feel like this is a pretty significant issue and would like to get the attention of someone who can actually sit down and decipher the proper code settings for this. I've tried doing it myself, but can't get the apk to recompile without errors.
[AT&T Samsung Galaxy Note II] MothChewMoth:
Bump
[AT&T Samsung Galaxy Note II] BlackPhantomX:
Ultimate Rotation Control. Lets you auto rotate per app, as well as lock screen. I set the phone app to auto rotate and it does it in landscape mode.
[AT&T Samsung Galaxy Note II] MothChewMoth:
I appreciate the reply, but please read OP. Ultimate Rotation Control and all other rotation mods from the app store do NOT work properly. Yes, they will rotate the screen, but for some reason they force the buttons to take up 90% of the screen covering the dial pad (if I try to open it) and any caller ID information / photos.

I'm looking for someone who can make some coding changes to secphone.apk to fix the problem. See OP for examples done on the S2. I've tried this myself and can't figure it out, since I don't really know what I'm doing.
[AT&T Samsung Galaxy Note II] MothChewMoth:
Any other feedback on this? I can't be the only one that this bugs the crap out of...
[AT&T Samsung Galaxy Note II] MothChewMoth:
BUMP
[AT&T Samsung Galaxy Note II] wase4711:
obviously, none of the devs are interested....and, I know that has not been possible on several of the Android phones I have had over the last 5 years..

I guess you will either have to live with this, or learn about development, and try it yourself..
[AT&T Samsung Galaxy Note II] MothChewMoth:
Just seems like a relatively simple fix since the legwork was already done for the GS2. I have tried doing this on my own, but keep running into issues when trying to re-compile.
[AT&T Samsung Galaxy Note II] shaxs:
Sounds like this was fixed according the forum over at ScottsRoms. Can you post the compiled, correct apk for landscape mode in call?
[AT&T Samsung Galaxy Note II] samuri28:
The attached files are built from the following Roms:

Beans Build 10

CleanRom 4.5 ACE (sorry for the 7zip compression format, zip wouldn't compress the file small enough)

I AM NOT A DEVELOPER, just a guy who hacked around until he got things working so please install this at your own risk.

To install:

1) download the proper file

2) Unzip and extract SecPhone.apk

3) Move your current SecPhone.apk from /system/app to a backup location on your phone/sdcard

4) Copy your new SecPhone.apk to /system/app

5) Change permissions on SecPhone.apk to rw-r-r

6) Reboot your phone

View attachment 1779667

View attachment 1779672
[AT&T Samsung Galaxy Note II] 3to4:
I am very interested in this mod. I think it is very strange that there are no custom roms with this features integrated, because many people use their telephone as GPS in their car, like me.

I understand that it is necessary to modify SecPhone.apk of each rom. So, I am trying to decompile SecPhone.apk with the tools I downloaded from http://xdaforums.com/showthread.php?t=1755243.

I extracted SecPhone.apk and framework-res.apk from the rom zip.

I installed framework-res.apk and when I try to decompile SecPhone.apk, it goes:

- Loading resource table.....

- Loaded....

- Decoding...

- Loading resource table from C:/...

Then, I get an error, which says Exception in thread "main" java.lang.OutOfMemory ...

So, I am stuck.

I get errors, but it somehow succeeded decompiling smalis, and I see the lines to delete. So, I really would like to decompile and recompile.

I have downloaded several different apktools, but some give an empty "SecPhone" folder. Maybe I am doing something wrong, but I don't know where my mistake is. Could you please give me some advice?
[AT&T Samsung Galaxy Note II] 3to4:
Succeeded !! but a problem!!

Hello, since my last post above, I have been trying to decompile SecPhone.apk, but none of apktools I tried worked for me. BUT, finally, with APK multi-Tool from the great post below, I was able to decompile and recompile SecPhone.apk.

http://xdaforums.com/showthread.php?t=1310151

I installed framework-res.apk and twframework-res.apk before working with Multi-Tool.

For compiling, I did not chose to keep the original files. (I said "n"). And, after compiling, I copied androidmanifest.xml from the original SecPhone.apk into the compiled apk, replacing the new one. (It did not work the 1st time I did not copy this file.) Certainly, there are other and better ways, but anyway I have a working SecPhone.apk.

However, there is a problem. When I make a call in landscape, I have no buttons on the right side as in the attached photo. (When I make a call in portrait, I have no buttons, neither.) But, I have buttons when I receive a call in landscape and in portrait.

I deleted the 2 lines in each smali (total 4 lines), and I did not change anything else. I am very happy I have a phone, which works in landscape, too, but I would like to have the buttons back. Can you give me some advice?

Thank you for the great thread!!

PS: I am on Scamus V4.
[AT&T Samsung Galaxy Note II] samuri28:
Can you show the code snippet before you made your changes? and highlight the lines you removed?

Also I ended up using the procedures listed here to finally get my de-compile/re-compile to work:

http://xdaforums.com/showthread.php?t=1809649
[AT&T Samsung Galaxy Note II] 3to4:
Thank you very much for your reply. Finally, I deleted another line in each file, and it seems to be working now.

I need to use the phone a little while to see if there is really no problem like freezing, but I got my buttons back.

The lines I deleted are in red.

InCallScreen.smali:

.line 7147

: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 7149

:cond_6

iget v2, p1, Landroid/content/res/Configuration;->orientation:I

CallCard.smali:

.line 719

if-eqz v0, :cond_4

.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

That's all.

Thank you again for your posts.
[AT&T Samsung Galaxy Note II] samuri28:
Was it this line that you also deleted?

if-nez v0, :cond_6

I wonder if this is a ROM specific change as my secPhone.apk still has that line in it.
[AT&T Samsung Galaxy Note II] 3to4:
Yes. This may be rom specific, but as I am no programmer, I cannot tell.

The two additional lines I deleted are;

1) if-nez v0, :cond_6 in InCallScreen.smali

2) if-nez v2, :cond_0 in CallCard.smali.

What I don't really understand is this feature (landscape in-call screen) is integrated in android, but disabled somehow, and you have to hack it to profit from the feature!!
[AT&T Samsung Galaxy Note II] samuri28:
From the research I did trying to figure out how to get Landscape In-Call it looks like Samsung for some reason intentionally disabled Docking Mode on its phones and in turn disable auto rotation when in a dock (we forced the phone to auto-rotate regardless of in a dock). However in AOSP this feature is a setting within the phone settings menu, so I am assuming another Samsung intentional exclusion.
[AT&T Samsung Galaxy Note II] akha666:
Hello There

I have P6200 with PAC-Man milestone1 (JB 4.2.1) , and I'm tired to make InCall in Portrait mode post here (http://xdaforums.com/showthread.php?t=2544636)

I follow this post and I can't find SecPhone.apk

is there any help ???
[AT&T Samsung Galaxy Note II] samuri28:
Since the P6200 is a tablet I am not sure if the phone program is implemented in the same way as touchwiz on a phone. But you can check the /system/app/phone.apk file and see if that has something similar in it.
[AT&T Samsung Galaxy Note II] akha666:
can you help me

I attached my "InCallScreen.smali, CallCard.smali" from Phone.apk

I need to disable rotate InCall Srceen
[AT&T Samsung Galaxy Note II] samuri28:
Take a look at the method "onConfigurationChanged" from lines 7953 - 8101

This is the only method in the two files you posted that have the key word "orientation" line 8026

The word setOrientation is in another method "createWildPromptView" lines 853 - 978 but I do not think it is relevant for what you are trying to do (I could be wrong)

sget-boolean v3, Lcom/android/phone/InCallScreen;->DBG:Z

if-eqz v3, :cond_1

new-instance v3, Ljava/lang/StringBuilder;

invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

const-string v4, " - isKeyboardOpen = "

invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

move-result-object v3

invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

move-result-object v0

invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

move-result-object v0

invoke-direct {p0, v0}, Lcom/android/phone/InCallScreen;->log(Ljava/lang/String;)V

.line 4741
:cond_1
iget v0, p1, Landroid/content/res/Configuration;->orientation:I

const/4 v3, 0x2

if-ne v0, v3, :cond_5

What I basically did for the Note2 was force the in call app to assume I was connected to a docking station and there for pay attention to my phone orientation even though I was not attached to a docking station. This code already existed I just deleted two "if" statements to perform the opposite action of the if statements.

If the rotation code and layout exists in your platform that you can probably do the same thing by tweaking the code, recompiling, then testing. If the rotation code and layout don't exist then you may want to see if you can talk to a developer of your platform to see if they can build something...

My best guess taking a look at the code snip it is that if you either delete out or change the if statement from if equals zero to if not equals zero (if-eqz to if-nez) at line 8002. you MIGHT have some luck, this is a pure guess though and I don't actually know what will happen if you make those changes. Just as a comparison while there were 2 hits for the word orientation in your smali, the note 2 has 38 hits for the word orientation in its smali.

if-eqz v3, :cond_1
[AT&T Samsung Galaxy Note II] akha666:
thank you samuri28

I have no luck I did what you said and recompile the apk and add "AndroidManifest,META_INF and Classes.dex" from original apk and replace in system/app permissions "rw-r--r--" and then wipe dalvik cache from recovery mode

still the tab rotating when Incoming call or dialling
[AT&T Samsung Galaxy Note II] millo1978:
Help me please...

I want to have rotation but my files are different.

I tested your solution without luck.

CallCard.smali:

https://www.dropbox.com/s/h472lvni8ufv65u/CallCard.smali?dl=0

InCallScreen.smali:

https://www.dropbox.com/s/4y10v8kx685fkpf/InCallScreen.smali?dl=0

These files are from android 4.4.4 Stock Samsung Galaxy S3 ROM (port by arter97 - back to n00t)
[AT&T Samsung Galaxy Note II] 3to4:
TW 4.4.2

I am coming back to this thread. I recently updated my N7105 to 4.4.2, and I am trying to do this mod.

This mod was working well with N7105 when it had 4.1.2. So, I tried to do the same sort of change in smalis, but for the moment none works.

As I have no basic knowledge about smalis, I am stuck!!

It would be nice, if some developer could shed light on this modification for KitKat.

Thank you.

PS: After a lot of testing, finally this mod seems to be working for me. So, for those who are interested, I am attaching the smalis which show the lines I deleted as well as the screen shots of my N7105. The lines I deleted are preceded by (-) in the attached smalis.

I don't understand smali codes. So,this may not be the right way to do this, but at least my incall screens are in landscape.
[AT&T Samsung Galaxy Note II] millo1978:
It works perfect!

Thanks a lot :)

http://www.androidiani.com/forum/mo...0t-touchwiz-rom-millo1978-46.html#post6972901

edit: [MENTION=1957696]3to4[/MENTION]

with rotation toggle disabled the screen always rotate...do you have same issue?
[AT&T Samsung Galaxy Note II] 3to4:
Yeah, mine rotates also even when I uncheck "Auto rotate screen" in My Device - Display.

As I never uncheck "Auto rotate screen", I never noticed. Maybe I should not have deleted one line, but I don't know which one.
[AT&T Samsung Galaxy Note II] millo1978:
After many days I can confirm that this solution is working very good... as expected

Inviato dal mio GT-I9300 utilizzando Tapatalk
[AT&T Samsung Galaxy Note II] 3to4:
Sorry for my late reaction. I was not following this thread, and thank you for your post.

I tried, but my InCallScreen.smali is a little different from yours, especially in the second part. Actually my InCallScreen.smali goes like below.

.method private updateScreenType(Landroid/content/res/Configuration;)V
.locals 4

.prologue
const/4 v1, 0x1

.line 12010
.line 12012
const-string v0, "tablet_device"

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

move-result v0

if-eqz v0, :cond_0

So, I changed const/4 v1, 0x1 to const/4 v1, 0x2, but as expected it did not work, and SecPhone.apk does FC.

Can you suggest what I can try?
[AT&T Samsung Galaxy Note II] millo1978:
Isn't there , somewhere in this method, 0x4?

0x4 is sensor rotation

0x2 is user rotation.

Inviato dal mio GT-I9300 utilizzando Tapatalk
[AT&T Samsung Galaxy Note II] 3to4:
Thank you so much for your advice!!

I replaced 0x4 with 0x2, and voila!! It seems to be working for me, too!!!
[AT&T Samsung Galaxy Note II] 3to4:
[MENTION=906966]millo1978[/MENTION],

Thank you your help last time. I am coming back to you, because I bought a Galaxy Note 3, and I am trying to this mod. I have tried a lot, but I have not been successful. Could you please give me some advice?

I am attaching my smalis, in which I marked the lines I deleted or changed. For IncallScreen.smali, I followed you advice above, and changed 0x0 to 0x1 and 0x4 to 0x4. For CallCard.smali, my smali is so different. So, I just deleted by analogy.

With these smalis, my incall screen rotates as in the picture, but the buttons are too big. I think CallCard.smali is the cause. Could you please help me??
[AT&T Samsung Galaxy Note II] millo1978:
The same happends if I take S5 Dialer for my S3...

I have big Buttons...

I think the problem is in layout.

Check if there is a correct /res/layout-land ...
[AT&T Samsung Galaxy Note II] 3to4:
Dear millo1978,

Thank you very much for your advice. Although I don't know much about xml neither, by trial and error, I finally succeeded!! The smalis (InCallScreen.smali and CallCard.smali) are as I modified earlier. In fact, by playing around I discovered that when I activated one hand operation for keypad, the buttons were small!! So, I made a copy of "endcall_buttons_view_onehand.xml" in res\layout-sw360dp-land-xxhdpi and renamed it to "incall_button_view.xml", replacing the original. Then, the buttons were small, but, to my surprise, they were on the left side of the screen. So, I modified the paddingLeft to bring the buttons to the correct position.

By the way I noticed that when I activated one hand operation, in end call screen, the position of "view contact" was wrong. So, I adjusted its position by modifying paddingTop and marginLeft in "endcall_buttons_view_onehand". Maybe this is not the best way, but my screen stays horizontal during calls.
[AT&T Samsung Galaxy Note II] 3to4:
Landscape InCall Screen for Lollipop?

Hello, you helped me solve the solution for 4.4.2. and I saw your post in another thread.

https://xdaforums.com/showthread.php?p=63023672&highlight=rotation#post63023672

Now, I am trying to upgrade my Galaxy Note 3 to Lollipop and I don't know what to start.

Could you or could someone give me some guidance? This feature is very important for me, as I use my Phone as GPS in landscape.

In my phone there is no SecPhone, but I found Telecom.apk, TeleService.apk and LegacyInCallUI.apk. I suppose LegacyInCallUI.apk is the apk to work on. Is this correct?

I have no customsettings.apk, but only SecSettings.apk. Can I edit SecSettings.apk?

But, first of all, is this mod possible for Lollipop?

Thank you in advance.

PS: I have been doing some testing, and when I modify LegacyInCallUI.apk, the incall screen crashes. So, I am almost sure LegacyInCallUI.apk is the apk to mod. By the way, I don't need to have a toggle. If someone can help me, I will really appreciate.

PS2: Although I don't understand smali coding, I have tried a lot of times, and I finally have a landscape in-call screen as per attached. But, the buttons are too big!! I am now trying to solve this problem, but I have not yet found the solution. I have tried changing, in layout_land, end_call_button_fragment, end_call_button_qvga_fragment, and end_call_eazy_fragment, in_call_button_voice_fragment, etc,. but these changes have no effect on my buttons. Maybe, there is something in the smali, which is preventing this... As I don't know much about smalis, I stuck!! Is threre someone more knowledgeable than me interested in this mod to hel me? I am attaching original and modded smali to have the incall screen in landscape. Thank you.

PS3: I finally found out that "layout-sw360dp-xxhdpi/"in_call_button_voice_fragment" controls both portrait and landscape layouts. As one and the same file controls both portrait and landscape, it seems very difficult to arrange layouts.

PS4:

I finally succeeded more or less to have a landscape incall screen.

One and the same "in_call_button_voice_fragment" in "layout-sw360dp-xxhdpi-v13" was controlling portrait and landscape, and that was the reason I could not change the layout in landscape without affecting the layout in landscape.

So, I created a folder "drawable-sw360dp-land-xxhdpi-v13" and placed the file "in_call_button_voice_fragment" there. Then, this file controls the layout in landscape without affecting the layout in portrait. So, I tried to arrange what I can, and almost everything is looking corretly in landscape.

Landscape incall screen is an essential feature for me. So, it is a little surprising that there doesn't seem to be much interest.

Anyway, I almost succeeded just by trial and error, without much programming knowledge. It will be great if someone more knowledgeable can make it better.
[Galaxy S III Q&A, Help & Troubleshooting] daniel_may1986:
Hello guys, I've just recently bought the Onkyo CS 555dab and tried connecting my galaxy s3 via text usb port to play music. But it doesn't even connect so I'm thinking the usb on the Onkyo isn't meant for Android and only ipod and flash drives. But I was looking at this device which I think would work but want to be sure before I buy it. My Onkyo has got optical and coaxial inputs at 24bit so I was thinking of usb to optical. I can't post links just yet but it's called USB Sound Box from maplins website.

I'd just use the usb from the galaxy to the usb sound box then optical lead from that to the hifi. Would this produce audio??

Also I used the 3.5mm jack to RCA and the sound is terribly low n no bass at all. I read bout EU regulations and them lowering the out it via headphone jacks.

Hope someone knows. Thank you.
[Galaxy S III Q&A, Help & Troubleshooting] daniel_may1986:
Bump
[Galaxy S III Q&A, Help & Troubleshooting] dlads:
Use a decent ROM with some jacked up audio improvements. I used 3.5mm to my stereo and the sound is superb.

There are a multitude of converters out there for just this.
[Thunderbolt Q&A, Help & Troubleshooting] mkhang:
Has anyone used this app before? It claims to remove SU/Superuser and unroot. I wonder what it reverts your software back to if you're running a current rom?

http://www.4shared.com/android/zRlfNZJL/Ginger_Unroot_v20.html

I need to unroot and my USB charging port on my phone is broken and I don't wanna go through the headache of wireless ADB :/
[Thunderbolt Q&A, Help & Troubleshooting] disconnecktie:
I wouldn't use it. The allinone tool using wireless adb is your best bet.
[Thunderbolt Q&A, Help & Troubleshooting] mkhang:
I'm not familiar with ADB whatsoever and it makes me nervous using it. Don't wanna send back a bricked phone :/ I'm kinda on a time crunch as well.
[Thunderbolt Q&A, Help & Troubleshooting] santod040:
If I were going to try and rely on an app from the Play Store to unroot my phone, that would not be the one to get.

All I can tell that app is doing, is unrooting your current rom.

I can post a flashable .zip with a script that will easily do the same thing, FOR FREE.

Essentially just deleting the Superuser.apk and su binary in xbin.

But that doesn't do what you need, as far as I can tell. Since I think you want to fully restore to S-On and not rooted, correct?

If you must use an application, due to no USB, TRY THIS ONE.

That app will restore the Bootloader, and put you back on a stock OTA.

Good luck! :)
[Samsung Galaxy Mini] vasu1:
Does anyone tried new december firmware MJKT3_MNKT1_OMN ??? is there anything new in it?