How to get on screen buttons in the cm10.1 release? - T-Mobile Samsung Galaxy S 4

Does anyone know how to turn them on am I missing it?

ianandamy said:
Does anyone know how to turn them on am I missing it?
Click to expand...
Click to collapse
Using a root explorer app, go to /system and long press on build.prop & select text editor.
At the bottom, add (without quotes) this line:
"qemu.hw.mainkeys=0"
And to turn them off, change it to:
"qemu.hw.mainkeys=1"
Or simply delete what you orginally added.

Related

[Q] is it possible?

is it possible to disable the search button on the bottom right of the phone?..it's a pain in the arse as im always touching it by mistake ..
the|gamer said:
Hi,
as there ware some people that want a Camera Button, I used the pretty useless Searchbutton!
How-To:
The files "qwerty.kl" and "umts_jordan-keypad.kl" in "/system/usr/keylayout" have to be edited in two lines (key 127 & 217) to following:
Code:
key 127 CAMERA WAKE_DROPPED
key 217 CAMERA WAKE_DROPPED
Credits to : shaft from Android-Hilfe.de
Regards
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=924014
Use root explorer for edit file.
Click at qwerty.kl,it's will show menu and select open in text editor.
Change from SEARCH to CAMERA at key 127 and 217.
I think delete SEARCH and save only for disable Search button.
Credit: Mr.bluelissu www.droid-ios.com
If you are running CM7 you can also change it's function from the cyanogen settings menu.
Sent from my MotoDefy.
You can also use RootEplorer and go to the system/app directory. Mount it as read/write, delete GoogleQuickSearchBox.apk, remount it as read-only and reboot.

Android filemanager contextmenu

How do you edit its context menu? Like if you press and hold on a file, itll bring up "Open As", how do you modify it? Ive seen someones shutdown menu modified..

Lockscreen Rotation Android 4.2.x

Force enable lockscreen rotation
Code:
setprop lockscreen.rot_override true
Force disable lockscreen rotation
Code:
setprop lockscreen.rot_override false
On devices that already can rotate, this does nothing.
Code should work on all AOSP ROMs with lockscreens that don't rotate, unless the code there has been modified.
Resets on reboot though I think
Great find. Thanks!
Thanks man, I have a DIY dock for mine and the fact I had to enter my PIN sideways everytime I unlock my device driving me insane.
Can this code be used on the fly? I'm using a app at the moment (called Rotate) which can enable, disable lockscreen rotation. however this is heavy on memory and I want to simply do this with a script in Tasker.
---------- Post added at 04:58 PM ---------- Previous post was at 04:37 PM ----------
Just ran this from terminal emulator as root and it worked! Awesome - but it is lost on reboot so I need to be able to run this as a script in tasker - scripting looks tricky in Tasker though. Open to ideas!
I have enabled rotation by modifying bools.xml file and now I get to know that JB 4.2 has different rotation texts to enable rotation!
How about Launcher?
privatesam said:
Just ran this from terminal emulator as root and it worked! Awesome - but it is lost on reboot so I need to be able to run this as a script in tasker - scripting looks tricky in Tasker though. Open to ideas!
Click to expand...
Click to collapse
If you run it from a terminal emulator, it's temporary. If you want it to be permanent, add lockscreen.rot_override=true to /system/build.prop
manumanfred said:
I have enabled rotation by modifying bools.xml file and now I get to know that JB 4.2 has different rotation texts to enable rotation!
How about Launcher?
Click to expand...
Click to collapse
On 4.1.2, you could add launcher.force_enable_rotation=true to make the default launcher rotate, but some say that doesn't work in 4.2 (I use Apex Launcher, so I haven't tried the stock launcher) and you have to modify bools.xml, as you stated. I don't know if it requires both the bools.xml edit and build.prop entry or not, though.
The build.prop change for the lockscreen works without the bools.xml edit, though.
Awesome. This worked for me on 4.1.2 as well. Thanks!
Really useful in the car since I don't have the official car dock. No more unlocking sideways!
Cilraaz said:
If you run it from a terminal emulator, it's temporary. If you want it to be permanent, add lockscreen.rot_override=true to /system/build.prop
On 4.1.2, you could add launcher.force_enable_rotation=true to make the default launcher rotate, but some say that doesn't work in 4.2 (I use Apex Launcher, so I haven't tried the stock launcher) and you have to modify bools.xml, as you stated. I don't know if it requires both the bools.xml edit and build.prop entry or not, though.
The build.prop change for the lockscreen works without the bools.xml edit, though.
Click to expand...
Click to collapse
I know that, that's why I have modified bools.xml file to enable rotation on launcher + lockscreen.
I think JB 4.2.x have also the changed code for launcher rotation...
manumanfred said:
I know that, that's why I have modified bools.xml file to enable rotation on launcher + lockscreen.
I think JB 4.2.x have also the changed code for launcher rotation...
Click to expand...
Click to collapse
Does anyone have an answer to whether they have changed the code in 4.2? I can't find a bools.xml file anywhere - and no one seems to point at it. Also, no one says exactly where the suggested code should sit in the build.prop file - at the end, in the 'build' section, at the front? And it doesn't work on android 4.2.2 as far as I can tell although the terminal emulator temporary method works. And while you're firguring that out - can you tell me a way (without an app) to get the screen to stay awake after rebooting? Why won't that option remain set in Developer Options?
dosent work for me
xaueious said:
Force enable lockscreen rotation
Code:
setprop lockscreen.rot_override true
Force disable lockscreen rotation
Code:
setprop lockscreen.rot_override false
On devices that already can rotate, this does nothing.
Code should work on all AOSP ROMs with lockscreens that don't rotate, unless the code there has been modified.
Resets on reboot though I think
Click to expand...
Click to collapse
I tried this command in the terminal and no error message came.i.e it got executed properly Then when i see the lock-screen it is always in portrait mode.
Cant manage to get it to landscape mode. My auto rotation is on.
I am on 4.2.2 and using NOVA launcher. Xperia S OPENSEMC ROM.
Any idea y i am not able to rotate my lockscreen ??
siddharthisback said:
I tried this command in the terminal and no error message came.i.e it got executed properly Then when i see the lock-screen it is always in portrait mode.
Cant manage to get it to landscape mode. My auto rotation is on.
I am on 4.2.2 and using NOVA launcher. Xperia S OPENSEMC ROM.
Any idea y i am not able to rotate my lockscreen ??
Click to expand...
Click to collapse
Run Terminal as root, type "su" (no quotes), then enter, then the command.
Cilraaz said:
... If you want it to be permanent, add lockscreen.rot_override=true to /system/build.prop
Click to expand...
Click to collapse
Thank you, this works perfectly with 4.2.2 (CM 10.1).
Here are the steps to do this, if someone is not too familiar with editing a file in the /system file system:
1. Install app "ES File Explorer", new version 3.0.0
2. In ES File Explorer, go into Tools > Root Explorer, Option Mount R/W
3. Choose /system to be mounted RW
4. Allow (permanent) Superuser permissions for this app
5. Go to /system and open file build.prop with ES Notice-Editor (this Editor will ask for superuser permission, others won't)
6. Choose "Edit" from the upper right Options in Editor
7. Scroll to the end of the file and add the line lockscreen.rot_override=true, beware of syntax corruption due to automatic grammar correction
7. Exit ES Notice-Editor, answer question "Do you want to save build.prop" with "Yes"
8. Leave ES File Explorer and restart the phone
That's it, - check after reboot that the logon lockscreen turns while you turn the phone (maybe with some delay while turning)
dark0shark said:
Thank you, this works perfectly with 4.2.2 (CM 10.1).
Here are the steps to do this, if someone is not too familiar with editing a file in the /system file system:
1. Install app "ES File Explorer", new version 3.0.0
2. In ES File Explorer, go into Tools > Root Explorer, Option Mount R/W
3. Choose /system to be mounted RW
4. Allow (permanent) Superuser permissions for this app
5. Go to /system and open file build.prop with ES Notice-Editor (this Editor will ask for superuser permission, others won't)
6. Choose "Edit" from the upper right Options in Editor
7. Scroll to the end of the file and add the line lockscreen.rot_override=true, beware of syntax corruption due to automatic grammar correction
7. Exit ES Notice-Editor, answer question "Do you want to save build.prop" with "Yes"
8. Leave ES File Explorer and restart the phone
That's it, - check after reboot that the logon lockscreen turns while you turn the phone (maybe with some delay while turning)
Click to expand...
Click to collapse
Thank you for this. I wasn't sure if there was a specific spot in build.prop where I had to insert the line. The temporary fix in Terminal Emulator worked for me, but now it sticks after boot! I was sick of having to unlock my device sideways when it was in my car mount. The only weird thing is that it smooshes my wallpaper instead of switching to the landscape orientation, but I can live with that.
laur3n.newm4n said:
... I was sick of having to unlock my device sideways when it was in my car mount.
Click to expand...
Click to collapse
Yes, the car mount in heads up position with the cables (USB-power and 3,5 audio jack) to the bottom were exactly my reason to add this option permanently, too. The position of this environment variable in the configuration file build.prop does not matter, it is just common sense to add additional lines at the end, so you can find them easily.
dark0shark said:
Thank you, this works perfectly with 4.2.2 (CM 10.1).
Here are the steps to do this, if someone is not too familiar with editing a file in the /system file system:
1. Install app "ES File Explorer", new version 3.0.0
2. In ES File Explorer, go into Tools > Root Explorer, Option Mount R/W
3. Choose /system to be mounted RW
4. Allow (permanent) Superuser permissions for this app
5. Go to /system and open file build.prop with ES Notice-Editor (this Editor will ask for superuser permission, others won't)
6. Choose "Edit" from the upper right Options in Editor
7. Scroll to the end of the file and add the line lockscreen.rot_override=true, beware of syntax corruption due to automatic grammar correction
7. Exit ES Notice-Editor, answer question "Do you want to save build.prop" with "Yes"
8. Leave ES File Explorer and restart the phone
That's it, - check after reboot that the logon lockscreen turns while you turn the phone (maybe with some delay while turning)
Click to expand...
Click to collapse
Thank you for outlining this -- it helped me remember what to do!
and kaferei
Jeffreycat said:
Thank you for outlining this -- it helped me remember what to do!
Click to expand...
Click to collapse
Indeed -- very helpful and worked for me as well!
basic build.prop editing to enable pie on sgh-i747m
Shibang said:
Indeed -- very helpful and worked for me as well!
Click to expand...
Click to collapse
Thanks for providing the info on this basic build prop prop editing !
Ive been reading CyanogenMod 10.1 – A Complete Hands-On Review & Guide
by Haroon Q Raja and really wanted to enable Pie,etc on my rooted Samsung SGH I747m. With your help I was able to edit my build prop as was suggested by a comment I picked up on to:
ro.product.manufacturer=LGE
ro.product.model=Nexus 4
This didnt make any difference. Is there something else that needs to be changed?
Samsung G3 SGH-I747M Rogers
Cilraaz said:
...
On 4.1.2, you could add launcher.force_enable_rotation=true to make the default launcher rotate, but some say that doesn't work in 4.2 (I use Apex Launcher, so I haven't tried the stock launcher) and you have to modify bools.xml, as you stated. I don't know if it requires both the bools.xml edit and build.prop entry or not, though.
The build.prop change for the lockscreen works without the bools.xml edit, though.
Click to expand...
Click to collapse
Redscorpian said:
Does anyone have an answer to whether they have changed the code in 4.2? I can't find a bools.xml file anywhere - and no one seems to point at it. Also, no one says exactly where the suggested code should sit in the build.prop file - at the end, in the 'build' section, at the front? And it doesn't work on android 4.2.2 as far as I can tell although the terminal emulator temporary method works. And while you're firguring that out - can you tell me a way (without an app) to get the screen to stay awake after rebooting? Why won't that option remain set in Developer Options?
Click to expand...
Click to collapse
No one can tell?
Some users who flashed the leaked JWR66N on their N4's report there is no full app rotation anymore in the Camera app, just the icons. So another change to feel optimistic about 4.3.
madd0g said:
Some users who flashed the leaked JWR66N on their N4's report there is no full app rotation anymore in the Camera app, just the icons. So another change to feel optimistic about 4.3.
Click to expand...
Click to collapse
Speaking of the camera, I played around with a iPad yesterday at the local store, i felt that Apple's shutter button have a better placement as compared to Google's. The shutter button is placed by the right side of the app, falls just nice of my thumb.
Beamed from my Grouper

[MOD]For OPR1.170623.026.8.1.10/8.2.1.

Mod for OPR1.8.1.10/8.2.1.​
Needed ROOT.
Flash through TWRP at your own risk. Wipe only dalvik-cache. Before flashing make backup system and data.
Has disconnected blinking of diode at a charge below 15%.
Tap statusbar clock to sleep.
Disable all system apps in the standard application manager.
Rom Control (to work correctly you need Busybox) (source here).
USB Plug/Unplug disable wake up (On/Off).
Backlight touch buttons (On/Off).
Allow fingerprint unlock after a reboot (On/Off).
Change low and critical battery warning percentages.
Mobile activity In-Out Icon in status bar (On/Off).
Opening applications by longpress on clock in status bar.
FactoryKit Test in Rom Control/Apps/ (no need *#*#6484#*#*).
Advanced menu "Mobile network" in Rom Control/Apps/.
Long press volume up/down for skipping tracks.
Long press "Back" kill app.
Long press "Home" (disable/Search (default)/start your application).
Download.
Thanks @Alex&rK, @tdunham.
i appreciate your work.. but the steps are not clear...
download the attached file are place it in /system/ and give permission
replace the service.jar file present in /system/framework/ with the attached file??
is there a way to keep them on all time till screen goes off?
Tap Statusbar Clock to Sleep Mod in OP.
Chris_Cheekyz said:
replace the service.jar file present in /system/framework/ with the attached file??
Click to expand...
Click to collapse
Yes. You also need to delete .odex file, since my files are deodexed.
kep2008 said:
Tap Statusbar Clock to Sleep Mod in OP.
Yes. You also need to delete .odex file, since my files are deodexed.
Click to expand...
Click to collapse
If I don't want to delete odex, what will happen ?
Desire 1007 said:
If I don't want to delete odex, what will happen ?
Click to expand...
Click to collapse
I think that changes I have made will not apply.
Although I did not check this and everything will work without removing .odex.
Bootloop
Chris_Cheekyz said:
Bootloop
Click to expand...
Click to collapse
Rechecked again. If done as described in the OP, everything works fine...
How to give permission 0644 ?
rex28818 said:
How to give permission 0644 ?
Click to expand...
Click to collapse
I'm using Root Explorer. Long tap on file, select "permission"
kep2008 said:
I'm using Root Explorer. Long tap on file, select "permission"
Click to expand...
Click to collapse
hey..can u help me??
i folow ur tutorial and now my google ap is crash
i forget to backup service.jar and services.odex
can u uploaded it for me??
ty in advance
norskelegion said:
i forget to backup service.jar and services.odex
can u uploaded it for me??
ty in advance
Click to expand...
Click to collapse
Take here
https://yadi.sk/d/NnrbwxTa3NXAd7
kep2008 said:
Rechecked again. If done as described in the OP, everything works fine...
Click to expand...
Click to collapse
should i need to keep the services.jar file in "system/" folder or i need to move it to "system/framework/" ?
services.jar file should be present in both the folder "system/" as well as "system/framework/" ?
Chris_Cheekyz said:
should i need to keep the services.jar file in "system/" folder or i need to move it to "system/framework/" ?
services.jar file should be present in both the folder "system/" as well as "system/framework/" ?
Click to expand...
Click to collapse
You need to replace stock services.jar with my file. In /system/ I give it permissions and move it to framework/.
services.jar should only be in framework/
Thank you
Is there a way to only have backight on the middle button on and disabled on the other buttons?
kep2008 said:
Take here
https://yadi.sk/d/NnrbwxTa3NXAd7
Click to expand...
Click to collapse
ty so much :good:
will it work in new build?
Chris_Cheekyz said:
will it work in new build?
Click to expand...
Click to collapse
Use an app called "keyboard backlight controller" on playstore to turn off backlight.
How to enable Software Navigation Buttons and disable the soft keys?

Disable backlight keys

Hey, i'm new on this forum. I'm seeking a way to disable backlight keys. I have the rom Rezurection Remix Pie on my galaxy A5 2017, and there is no setting to disable the backlight keys. I tried with the galaxy light buttons app but it's not working. My phone is rooted, so i tried also with Root Explorer, i can edit the backlight/max_brightness file but the change do not save. If someone has a solution, with android 8.0 i can do this change but with this ROM, i can't, i don't know why
DjangoMoon said:
Hey, i'm new on this forum. I'm seeking a way to disable backlight keys. I have the rom Rezurection Remix Pie on my galaxy A5 2017, and there is no setting to disable the backlight keys. I tried with the galaxy light buttons app but it's not working. My phone is rooted, so i tried also with Root Explorer, i can edit the backlight/max_brightness file but the change do not save. If someone has a solution, with android 8.0 i can do this change but with this ROM, i can't, i don't know why
Click to expand...
Click to collapse
Do the changes not save after a reboot or don't save at all? What I have done sometimes with files that don't stay changed, is changing the file permissions so they are "read only" to the system. If this makes any sense.
SnowFuhrer said:
Do the changes not save after a reboot or don't save at all? What I have done sometimes with files that don't stay changed, is changing the file permissions so they are "read only" to the system. If this makes any sense.
Click to expand...
Click to collapse
It doesnt save at all :/ how to switch into read only ? With root explorer i can change the permissions but it doesnt seem to have an effect after i edit and "save" the file
DjangoMoon said:
It doesnt save at all :/ how to switch into read only ? With root explorer i can change the permissions but it doesnt seem to have an effect after i edit and "save" the file
Click to expand...
Click to collapse
After changing file permissions, close root explorer and browse to the file again. The permissions should have changed.

Categories

Resources