yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 3 Q&A, Help & Troubleshooting] stigarette:
here follow this.

1st. ROOT your s4 with kingroot or similar.

Download superuser su latest and install.

download file explorer pro so u can view root permissions.

Run file explorer and

Goto the location of your fones internal memory and goto the folder described above in post 2. and click your options button.

select permissions and remove/add all ticks so it reads from 755 (chmod level) and give yourself admin permissions r/w/rw and then unzip the file posted in the second message above the zip file. I use astro filemanager to unzip its reliable and quick.

Copy the file to your memorycard and then close the file manager (astro)

Goto the location of the file and copy it into the location you just made r/w/rw:and paste the file into that folder.

Refresh the file manager and then close permissions to that folder make it read only r/rr and close the file manager.

reboot your fone and then remove root in the kingroot settings menu at top right corner in the app and remove superuser su.

Dont forget to re lock that folder back to how its permissions was.

u can use a permissions fix app if your rooted to solve this also but can cause problems.

Switch off your fone and remove battery for 10-30 seconds and re-insert .

switch on

Pull down your notifications bar and switch on auto rotate

goto gmail app or any other like gallery.

Rotate ya fone in all directions.

look it rotates and is a perm fix
[Galaxy Note 3 Q&A, Help & Troubleshooting] JimmieJaymes:
It worked! Your information out of 8,000 other suggestions Worked!

[MENTION=4907899]phyowaiummg[/MENTION] - You are a godsend. I have tried so many suggestions surrounding my foolish mistake of uninstalling before freezing with Titanium. Just got a little anxious to debloat! Yeah, that won't happen again.

Anyway, your answer worked perfectly. It was also straight forward and to the point, easy to understand and you provided a download for the needed file!

Awesome. Oh, your English is just fine by the way! Thank you so much for the help! I should have joined XDA when I bought my first Nexus S 4g - I joined today to thank you for your answer from 3 years ago. You rock. (can you tell I am happy??)

Jim
[Galaxy Note 3 Q&A, Help & Troubleshooting] Ibuprophen:
This was very helpful to me too!!!

Sent on my Communicator [SCH-I535] from the Bridge of the U.S.S. Enterprise...

***PLZ THANK ME WITH A THUMBS UP***
[Galaxy Note 3 Q&A, Help & Troubleshooting] digit12345:
thank you

I just want to thank you for figuring this out man as its still relivant for some reason in 2017 with 7.1 on samsung phones and took for ever to find this fix which is weird since you would think this would be common. In fact it even caused me to buy a note 4 to replace my s5 that also had this issue even while running custom. (which i have gone back and fixed the same way btw thank you much know i have a passable backup phone). But as a fyi you dont need your linked version to fix it but any version from your current os version preferably a zip flashable stock. if you have a 6.0 5.0 4.4 whatever version grab your respective one as there may have been changes. grab a zip and open it go directly to system\lib and find (search is your friend) libgnustl_shared.so and copy paste it likewise to root\system\lib and double check its permissions and reboot.

Boom rejoice!!!!

My suggestion though is to grab the file from your chosen zip on pc and transfer it to your phone. Then on your phone copy it to root\system\lib as i found it incredibly hard on the phone to actually get it to either copy from a zip to a folder and then move it or even moving directly from the zip to its final destination as it constantly complained that the file was corrupt or the file sizes were always different after moving.

cheers guys
[Galaxy Note 3 Q&A, Help & Troubleshooting] Chinmaya Haalkere:
Not working - Need help

Pasted the file in Lib path and given permissions as well. Still rotation not working. Any help?

Phone: Note 4 SM-910G
[Galaxy Note 3 Q&A, Help & Troubleshooting] zancro:
It Worked!
[Galaxy Note 3 Q&A, Help & Troubleshooting] bluefender:
link to flashable version dead, anyone have a new link for this file please, to use on my galaxy note 4
[Galaxy Note 3 Q&A, Help & Troubleshooting] SDA1979:
well.. it is added i the super su app. so i guess i have...
[Galaxy Note 3 Q&A, Help & Troubleshooting] :
Strange try to re gain root access or update app :) or just try root browser by jrummy it's a good tool

nop
[Galaxy Note 3 Q&A, Help & Troubleshooting] Killberty:
Hi guys, this will work for sure, take from the xnote q&a - word for me from xnote 9 to 14

https://www.dropbox.com/s/mqwrt5rzm46ich0/ScreenRotation.zip
[Galaxy Note 3 Q&A, Help & Troubleshooting] SDA1979:
hey guys.. sorry forgot to answer.

it seems like es file explorer has some big problems since the last update.

i finally was able to copy that file manually and set the permissions.

after a reboot everything is working fine again without having samsung stuff installed.

thank you a lot for the help.
[Galaxy Note 3 Q&A, Help & Troubleshooting] latyno87:
my s4 100% worked
[Galaxy Note 3 Q&A, Help & Troubleshooting] idrak3:
This working on my stock ROM galaxy s4, but I did not do by flash CWM, I did manually by copy paste it

---------- Post added at 08:11 AM ---------- Previous post was at 08:09 AM ----------

This is what I did ;)

---------- Post added at 08:12 AM ---------- Previous post was at 08:11 AM ----------

Yup this will works on your phone
[Galaxy Note 3 Q&A, Help & Troubleshooting] stanzlavos:
Hi :)

I have an SM-N900 (the Exynos version)

I am not rooted and hence have not removed any bloatwares. :D

The problem I faced was that the auto-rotate was taking too long to rotate the display. That is, if i change the phone orientation it takes many seconds before the display orientation is changed.

After a reboot, it started working properly again. Dunno if its gonna come back. Is this a known issue too ?

Will update if this reappears. :)
[Galaxy Note 3 Q&A, Help & Troubleshooting] amrinal:
hi, i have screen rotation too,,, did everyone test *#0*#,,, and sensor not working,,, the value doesn't change at all...

if i copy & paste it to system/lib,,, does it work?

and why this sensor not work, is there anything to do to prevent it happen again? <sorry for my englis>
[Galaxy Note 3 Q&A, Help & Troubleshooting] airmaxx23:
I deleted Samsung Hub with Root Explorer and rotation works fine.
[Galaxy Note 3 Q&A, Help & Troubleshooting] oabareload:
This worked for me! Thank you so much!

PD. I did it manually.
[Galaxy Note 3 Q&A, Help & Troubleshooting] ACardAttack:
Sorry for a bump, but any chance this would work on an ATT Galaxy S4 4.4.2? I tried the idea by the OP, went to my specific rom's zip, but that did no work..

I looked out of curiosity and did not see a META-INF folder in my phone. Would this zip be something I could flash with safe strap?

Thanks
[Galaxy Note 3 Q&A, Help & Troubleshooting] Killberty:
I think it will work on your s4

Falsh in recovery oder Mobile odin pro, i dont know safestrap to be honest
[Galaxy Note 3 Q&A, Help & Troubleshooting] ACardAttack:
Sadly it did not work on my galaxy s4 att, it said Android updating when I rebooted and nothing changed (I was afraid I was going to lose my root, thankfully I didn't)
[Galaxy Note 3 Q&A, Help & Troubleshooting] fabietto1990:
with this thread i solved the problem (me uninstalled the samsung hub too with titanium backup). many thanks and, obviously, +1 for you!
[Galaxy Note 3 Q&A, Help & Troubleshooting] king.larry:
I have exactly the same problem ... but the soloution did not work on my Note 3 ... any ideas?
[Galaxy Note 3 Q&A, Help & Troubleshooting] pinyata:
worked perfectly for my galaxy s4 active running at&t 4.4.2. thanks.
[Galaxy Note 3 Q&A, Help & Troubleshooting] suptt14:
Thanks so much!! Worked perfectly
[Galaxy Note 3 Q&A, Help & Troubleshooting] jacodaburr:
I'm pretty certain the META-INF are files for the custom recovery to know what to do with the file

however, i'm not familiar with safestrap as I have done everything to avoid knox tripping so I still have all stock but with root of course.

you should be able to do what the OP stated to do. extract the lib file from your rom's system.img and then put it into the system/lib and change the permissions to rw-r-r--
[Galaxy Note 3 Q&A, Help & Troubleshooting] Twisked:
I have a Verizon Note 3, rooted, running 4.3

I am running into this annoying auto rotation glitch. I have checked Titanium backup, I have not disabled the Sumsung Hub.

...if I try this solution, do you think it may work? Could it screw something up since I'm on 4.3 instead of 4.4?
[Galaxy Note 3 Q&A, Help & Troubleshooting] 1slow4G:
Need help ASAP please! Accidentally uninstalled Samsung hub app, now screen won't rotate. I'm a total noob when it comes to flashing or whatnot. Is there a guide or something do what the op suggested? Sorry guys I'm in panic mode lol
[Galaxy Note 3 Q&A, Help & Troubleshooting] 1slow4G:
nvm, got it!!!! thanks to root explorer!!
[Galaxy Note 3 Q&A, Help & Troubleshooting] bums85:
It worked for me on Note 3, thanks
[Galaxy Note 3 Q&A, Help & Troubleshooting] jacodaburr:
IDK if you have fixed your issue yet, but when it comes to ES File Explorer you need to hit your menu key, scroll Duan underneath tools and click root explorer and then change your R/W permissions.
[Galaxy Note 3 Q&A, Help & Troubleshooting] xmuertex:
Help, tried zip and manually nothing :(

After kitkat I lost my rotation, proximity, and air motion

Note 3 n900t
[Galaxy Note 3 Q&A, Help & Troubleshooting] Teknodad1974:
I flashed Gooby Kernel and Shostock 6.2 and all my sensors are running again and auto rotation!
[Galaxy Note 3 Q&A, Help & Troubleshooting] htcfan4l:
Which s4 ? And did you manually or flash it

---------- Post added at 02:49 PM ---------- Previous post was at 02:42 PM ----------

Ok two question

1. Will this work for the sprint galaxy s4 l720tvpubnc6

2. How know to get the steps 1 and 2 but how do you fix permissions ? Im using root browser from jimmy blah blah
[Galaxy Note 3 Q&A, Help & Troubleshooting] Twisked:
Well, I went ahead and followed the directions to manually install the file.

I'm on Android 4.3 and just rebooted without incident. Finger's crossed that this'll finally fix auto rotation from periodically turning itself off for no apparent reason.

EDIT: unfortunately this solution did not work for me. I placed libgnustl_shared.so in system/lib and set permissions to rw-r-r but auto rotation just magically turned it self off for no apparent reason yet again just now.

Restarting the phone brings it back, so it's definitely a software issue. Somewhere, there is something causing auto rotate to shut down. So frustrating to have to restart the phone over and over and over.
[Galaxy Note 3 Q&A, Help & Troubleshooting] htcfan4l:
Its works for sprint s4 on l720tvpubnc6
[Galaxy Note 3 Q&A, Help & Troubleshooting] Teknodad1974:
I flashed (Gooby Kernel) http://xdaforums.com/showthread.php?t=2741181

and all my sensors are running again and auto rotation!
[Galaxy Note 3 Q&A, Help & Troubleshooting] Twisked:
I'm not sure how I'd go about doing something like that, but I have found a really nice workaround.

Forth post down on this page.

Member Kiser360 has a solution where you can change the behavior of double tapping the home button to rotate the screen! This might sound crazy to some, but I kind of prefer this. It's super fast, super easy, and the screen doesn't accidentally rotate (which it would for me sometimes if I was in bed or something and tilted it juuuust right).
[Galaxy Note 3 Q&A, Help & Troubleshooting] note crazy:
how do I do this? att note 3 rooted with towelroot 4.4.2 ota

Originally Posted by*phyowaiummg*

After removing some bloatwares in 4.4.2,some users face auto rotation problem. It is because you remove Samsung Hub. Titanium backup removes lib files for unintalling apk.*

Solution :

1. extract libgnustl_shared.so from system>lib of your rom's zip.-where is this file?

2. Copy and paste to System>>lib and change permission to rw-r--r---*how can i change the permission???

3. Reboot and enjoy!

What do I need to extract is and how do I change the permission?
[Galaxy Note 3 Q&A, Help & Troubleshooting] Twisked:
Page two of this thread has a link to the zipped archive with the libgnustl_shared.so file (link to zip here).

You'll need to rooted of course, place that file from the zipped archive into the specified directory. I used 'Root Browser' and I believe I tapped and held the file icon which presents a pop-up window. In that window there'll be an option to change permissions.
[Galaxy Note 3 Q&A, Help & Troubleshooting] s_brethauer:
This worked great for me on Note 3 4.4.2 rooted. You have to move the file first before changing permissions just in case anyone is still having permission issues.

Thanks for this fix.
[Galaxy Note 3 Q&A, Help & Troubleshooting] K-alz:
Dude! You're the new Jesus. LMAO. I was just about to go to best buy and return my phone for a replacement. Not even a factory reset fixed this. So lame of Samsung doing this. Why link a whole phone's function on Samsung hub.
[Galaxy Note 3 Q&A, Help & Troubleshooting] reb4169:
Can someone help.

Every single link someone has posted on here for that zip file it says it has been moved or deleted. Can someone post me a legit link please? I don't even care if I have to install Samsung hub again if someone has the apk I'll take it if that fixes the problem.

Thank you in advance.
[Galaxy Note 3 Q&A, Help & Troubleshooting] Killberty:
Look over to the x-note q&a thread
[Galaxy Note 3 Q&A, Help & Troubleshooting] chris83282:
I looked over at x-note and the same thing dropbox saying file moved or deleted.

Does anyone have this screenrotate.zip please
[Galaxy Note 3 Q&A, Help & Troubleshooting] FROGDIVISION:
Here: https://www.dropbox.com/sh/h5x8g7q1ydfq0uo/AAB4ZV5sXDYfXWqTS51EpsNka
[Galaxy Note 3 Q&A, Help & Troubleshooting] chris83282:
Thank you so much worked great rotating like normal
[Galaxy Note 3 Q&A, Help & Troubleshooting] CharleyK:
Thanks so much

Great solution. I froze Samsung hub in titanium to remove some bloatware, and there went screen rotation. After much finagling, I was able to download and extract the zip and get it in the lib file with the right permissions. Without your great work I never would have been able to figure this out on my own. Does this fix the air gesture Aps too?
[Galaxy Note 3 Q&A, Help & Troubleshooting] bismuth:
Many people are going to be running into this same problem because Samsung just sent out a notice about closing down Media a Hub. Well I didn't use it anyway so certainly now with my rooted Note 3 I can just uninstall that piece of bloat ware - right? Who would have expected this to affect auto rotate on every app on my phone except for the camera!

Regarding the instructions for the file replacement, I found I needed to do the copying and renaming first, then change properties. -rw-r--r-- permissions are Owner: read/write, Group: read, Other: read

I never would have sorted this out on my own, even a factory reset did not fix it. Many thanks!
[Galaxy Note 3 Q&A, Help & Troubleshooting] MarDog:
Can you make this file available again? I rooted for the first time with towelroot and deleted media hub and some other crap without freezing it first. I need my autorotate back!! Please help :)
[Galaxy Note 3 Q&A, Help & Troubleshooting] hhai2pth:
Link:

https://mega.co.nz/#!KgIWwTrY!6iT8SrcW20HEXPvt5Pgc_4k0Q37zSkH5Q95C-v3IxqE
[Galaxy Note 3 Q&A, Help & Troubleshooting] MarDog:
"Root Browser" is great for setting the permissions just like you said! Thanks!!
[Galaxy Note 3 Q&A, Help & Troubleshooting] Roughneckghost:
For the peeps who are still struggling =]

i have made a video with a few easy steps but the site tells me i need to post 10 times first before putting any links on :(

---------- Post added at 04:04 PM ---------- Previous post was at 03:59 PM ----------

its the adress of youtube and behind it " Roughneckghost " there you will see a video with perfect instructions and pictures how to do it !
[Galaxy Note 3 Q&A, Help & Troubleshooting] wulliegray:
Note 3, screen rotation

Note 3 (SM-N9005) Rooted Thanks to the posts here, I simply downloaded (libgnustl_shared.so) Then using ES File Explorer, cut and pasted it into system/lib, changed the permissions to -rw-r--r-- , rebooted the phone and worked fine. Many Thanks it was driving me insane.
[Galaxy Note 3 Q&A, Help & Troubleshooting] reaverclan:
replacing that file fixed it, i still have Samsung hub though, does this problem exist in non rooted phones?
[Galaxy Note 3 Q&A, Help & Troubleshooting] sleazy_diamond:
Thank you so much! I was trying to follow the instructions in this thread and another but I must've clicked the wrong boxes or something. Your video definitely helped and my S4 screen can now rotate :good:
[Galaxy Note 3 Q&A, Help & Troubleshooting] gjrumptz:
says bad zip?

It keeps telling me bad zip. I manually moved it changed permissions, then restarted and nothing. Any ideas? Thanks
[Galaxy Note 3 Q&A, Help & Troubleshooting] mattwarr:
You guys keep posting a link to a file that isn't there.
[Galaxy Note 3 Q&A, Help & Troubleshooting] Killberty:
okay guys, this is thr original, 100% working zip from SimonGleinert, we both discovered the lib first ;)

https://www.dropbox.com/s/7yx6ahel6w7r2c9/ScreenRotation.zip
[Galaxy Note 3 Q&A, Help & Troubleshooting] phyowaiummg:
Attachment zip file is added...
[Galaxy Note 3 Q&A, Help & Troubleshooting] Vygandas89:
Help help help!!!!

Can anyone who done that make a video it would be just perfect for thoes who are not so good as you guys can do it by it self :)
[Galaxy Note 3 Q&A, Help & Troubleshooting] gvelarde:
I really need some help. I have tried doing this and my screen is still not rotating. Help
[Galaxy Note 3 Q&A, Help & Troubleshooting] joko53511:
S4 М-919 smart rotation not working

Yes yes yes.It is work for me.Send from Tmo.-M919.using s5 mood.

Room Samy Deluxe S4 ROM N – NOFX UPDATE 21.7.
[Galaxy Note 3 Q&A, Help & Troubleshooting] irish37:
still need help

Verizon note 3, retail, eclipse ROM 4.3.

Tried libgnu_shared.so with permissions and flashing zip, still no rotation (separately). Appreciate the help.
[Galaxy Note 3 Q&A, Help & Troubleshooting] pyroman27:
Works on AT&T 4.4.2 rooted with towelroot.

Deleted my Samsung hub and with a quick search fixed the problem easily. Thanks to the OP and others who posted links to the file.
[Galaxy Note 3 Q&A, Help & Troubleshooting] 19frank90:
HI, I'm having the same issue with screen rotation not working at all. My phone is not rooted however, so I can't use the zip file posted in several replies here. I still have Samsung Hub (not sure how I can delete it on a factory phone) and I've tried factory resetting my phone but still the auto rotate does not work at all. I've also seen that on the new update 4.4.2, the gyro calibration is no longer an option under the Motion and Gestures settings.

Anyone have this problem with a factory phone and was able to correct it? Please help.

Thank you
[Galaxy Note 3 Q&A, Help & Troubleshooting] srecko88:
works 100%

works 100%
[Galaxy Note 3 Q&A, Help & Troubleshooting] Vizpar:
Thanks ! (GS4)
[Galaxy Note 3 Q&A, Help & Troubleshooting] xtzz:
Doesnt work.

Manually extracting, or flashing the zip.

For the record, restoring Samsung Hub doesn't work either.
[Galaxy Note 3 Q&A, Help & Troubleshooting] rsngfrce:
This has been driving me INSANE for months now! Your English is WONDERFUL! Thanks so much for this! :highfive:

EDIT: (By the way xtzz: IT DOES WORK... I believe I used Killberty's version of the zip. Are you sure you have auto-rotation turned on... HAVE to ask... and have you tested to be sure your gyrometer is functioning?)
[Galaxy Note 3 Q&A, Help & Troubleshooting] davekane:
Auto Rotation

Hello from USA

I read your instruction and am trying to put the lib file back to fix my auto rotaion on my rooted S4 phone. Better with windows than android as kind of new. I have saved the file but dont know where to put it or open it. I have installed winzip and am using titanium backup pro and superuserSU

Hope your having a good day,

---------- Post added at 06:18 AM ---------- Previous post was at 05:48 AM ----------

I read some more and downloaded the es file manager, was able to go to the download folder and copy the lib file for auto rotation. Then went to th system folder and tried to copy it there but would not go. Looked for the samsung hub lib file but could not find it. Once I find the right paste folder I should have the rotation back on track. thanks dave

---------- Post added at 06:32 AM ---------- Previous post was at 06:18 AM ----------

I have downloaded the ES Filemanager and was able to copy the lib file from download. I am ready to paste or copy it to the correct folder. In the file manager 'system' 'lib' folder there are about 6 folders and a lot of files that open up with different options, did not find a samsung hub folder to paste into. Thanks again, Dave

---------- Post added at 07:30 AM ---------- Previous post was at 06:32 AM ----------

Dave again,

I changed file manager to ES File Explorer Manager and seemed to correctly installed 'lib' file from download to here

local, system,lib,modules,

there are 20 listings located under the modules folder, for my galaxy s4 the first one is ansi_cprng.ko and the last listing is vpnclient.ko.

the file I pasted there is libgnusl_shared.so

I think that it pasted where it should go. I still need to set the permissions like you said 'rw-r--r--'

After that it should be working again. I have uninstalled the samsung hub app and re installed from samsung apps so it should be correct also. Only question is what was a app before titanium backup, I backup hub and hub updater but only have hub now. Looked for hub updater app on web abd play store but did not find it. Dont know if that is a problem. thabnks dave
[Galaxy Note 3 Q&A, Help & Troubleshooting] rsngfrce:
:banghead: Seriously Dave, I had typed a very detailed explanation last night in a text editor for you of how to do this using Solid Explorer, but I somehow backed out of it when I was nearly finished and lost it all :banghead:!

It sounds like you have headed on the right track yourself. Whatever file explorer you use has to have root access to allow you to place the file in the system folder. ES File Explorer should work.

It sounds like you pasted into the incorrect folder. At the ROOT of your phone's file system are a bunch of folders and files (this is the ROOT because there is no lower level of folders or files). The SYSTEM folder is located here. Inside that is the LIB folder. The LIB folder is where you want to paste the file, not a folder in the LIB folder. (Note that the instructions say to paste into the System>>lib folder... you are apparently making some sort of logic leap looking for a modules folder...;)).

Then you will need to fix the permissions for the file, how you do that varies by what file manager you use (I haven't used ES for a long time and don't remember how exactly it is done with that).

There should be no reason for you to need to reinstall SamsungHub... :thumbup:
[Galaxy Note 3 Q&A, Help & Troubleshooting] FahrenGrade:
OMG!!! thank you soo much!!!
[Galaxy Note 3 Q&A, Help & Troubleshooting] Blymyer:
Worked great for me -- Very clear and simple explanation and solution. Thanks!
[Galaxy Note 3 Q&A, Help & Troubleshooting] davekane:
rotation back on. rooted s4

Yes his instructions work. Just have to make sure you use the right directories and folders.
[Galaxy Note 3 Q&A, Help & Troubleshooting] sheth1nks:
Great find phyowaiummg! Worked for me. Your instructions are accurate.
[Galaxy Note 3 Q&A, Help & Troubleshooting] dawnofkardath:
Worked like a charm! Thanks for this!
[Galaxy Note 3 Q&A, Help & Troubleshooting] stratoario:
rotation problem

hello, my phone wont rotate even though i have samsung hub and saamsung hub adapter, I have uninstalled every app from samsung except that one, any ideas? havent tried the method here since i still have samsung hub. another thing is that after i uninstalled everything that i wanted to uninstall with TB samsung hub adapter i closing. I am in 4.4.2 rooted with cf method