I am trying to rotate screen (whole fb) from kernel. Due to some hardware changes my phone screen is coming in inverting mode. Where can I change in kernel for changing default screen orientation
How to rotate sceen from kernel/console in android ?
1k Views Asked by Aagam At
1
There are 1 best solutions below
Related Questions in CONSOLE
- Confusion about CTRL_SHUTDOWN_EVENT handling in DLLs and WM_QUERYENDSESSION
- C++: Re-use line printed to console
- Lock and Edit Button is Weblogic 12C admin console is not responding ,
- Error executing SSIS Package
- Eclipse console: revert line order
- Is there any way to count elements that are equal to "x" in 2D aray; C#
- Neither .on or .live functions are recognized
- Problems with UTF8 text in XE7 ReadLn command
- py2exe: Allow a console window to be either shown or hidden with a sys.argv
- Why does ArrayList.Sort() sorting by only first digit?
- Interactive scanf using pipe
- C# Program automation - Program hangs/doesn't work
- Uncaught SyntaxError: Unexpected token < in HTML - can't solve
- What’s the quickest, easiest way to execute a JavaScript file on a live web page?
- How to find wrong script
Related Questions in ORIENTATION
- Android - AR orientation
- Android screen flips on usb keyboard connection
- Swift - Supported Device Orientation for MPMoviePlayerViewController
- Xcode orientation changes every-time before presentViewController
- Lock Camera orientation to portrait
- Android AR orientation
- How to change output picture orientation in custom camera app? [Android]
- Strange orientation behaviour of MovieViewController
- Revert video to original from mirror in Android
- IOS 8 - After orientation change, Navigation bar is obscured by the status bar
- Fragment restarts when orientation is changed
- Smooth element translate on device orientation change
- UIVisualEffectView changing bounds incorrectly on orientation change
- iOS orientation estimation and heading error
- Sprite Kit game: over world in Portrait mode but battles in Landscape mode?
Related Questions in ANDROID-KERNEL
- Error while compiling android 3.10 kernel source
- Automatically boot-up MTK devices (non-samsung) when docked
- How to rotate sceen from kernel/console in android ?
- android boot - where is the init.%hardware%.rc read in init.c ? where are services started?
- Getting all Neighboring Cell IDs/RSSIs Android
- Debugging Android Kernel over phone
- How to identify build-specific kernel files?
- how can I create a new hardware device sensor in Android?
- what is the difference between kmemleak and kmemcheck? and How to enable these tools on Android operating systems?
- Why do I get a zero Android kernel address?
- Copy contents of a folder to another folder on sdcard at OS level?
- how to check whether the kernel is for android or linux?
- Android Kernel: new CPU governor
- How to use vendor_boot partition to boot my raspberry pi 4 with AOSP? How to boot using GKI?
- How to Build custom Kernel module for aosp13 for Raspberry Pi
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can rotate screen from kernel/console by
"service call window XX i32 X"
Ex:
service call window 61 i32 0 //rotate to normal
service call window 61 i32 1 //rotate clockwise
The 61 is on my device only, you should find out what is yours.
You can also rotate from PC by adb
Ex:
adb shell service call window 61 i32 0