Here I'm gonna show how to enable VIRTUAL_KEYS by default
REQUIREMENTS:
1. Rooted device
2. Root Explorer here
PROCEDURE:
1. Open directory /system/build.prop:
2. Open the playful toy build.prop: with text editor
3. At the end add this code
Code:
qemu.hw.mainkeys=0
4. To disable it remove the code or edit it as
Code:
qemu.hw.mainkeys=1
HIT THANKS IF YOU LIKE MY SMALL THREAD
Virtual key
what is virtual keys in android
karthick mostwanted said:
Here I'm gonna show how to enable VIRTUAL_KEYS by default
REQUIREMENTS:
1. Rooted device
2. Root explorer
1. Open directory /system/build.prop:
2. Open the playful toy build.prop: with text editor
3. At the end add this code
Code:
qemu.hw.mainkeys=0
4. To disable it remove the code or edit it as
Code:
qemu.hw.mainkeys=1
HIT THANKS IF YOU LIKE MY SMALL THREAD
Click to expand...
Click to collapse
Virtual keys means are of those soft keys (home,back,search) to be filled inside the bottom of screen
Related
ok so im not responsible for anything that happens to you or your tablet....
this will add HW acceleration and adb in your build.prop(not fully test on g tab) and some other things with the kernel
lets begin
this has been only tested on ICS right now ill test on GB later
this WON'T work with a build.prop editor you are going to have to open the actual file
you NEED to be ROOTED
there are 2 ways of doing this and i will show both methods...
method 1.)
Code:
1.) with a root file explorer goto /system
2.) long press on the build.prop file till the menu comes up
3.) press "open in Text Editor
4.) paste the code into your build.prop and hit back
5.) when it ask if you want to save your changes hit yes
6.) reboot
note:**this was done with Root Explorer; it might and very well could be different in other apps.**
method 2.)
Code:
0.) you need the android sdk and adb working
1.) adb remount
2.) adb pull /system/build.prop
3.) open the file and paste the code into your build.prop
4.) adb push build.prop /system
5.) adb reboot
here is the code please add it to the end, so after whatever your last line is add this
Code:
ro.secure=0
ro.debuggable=1
persist.adb.notify=0
persist.service.adb.enable=1
persist.service.mount.playsnd=0
persist.service.debuggable=1
ro.ril.disable.power.collapse=1
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
com.qc.hardware=true
debug.enabletr=true
ro.min.fling_velocity=8000
ro.max.fling_velocity=12000
ro.config.nocheckin=1
video.accelerate.hw=1
[Easy..?]
Adjust back-to-kill timeout!
#You need to know how-to use apktool and Your ROM should include back-to-kill app function.
#I dunno this is right place...:/
----------
I found it was very annoying because I had to wait a long time to execute back to kill app function.
Anyway, here is guide...
1. You need to decompile framework-res.apk
2. Open /res/values/integers.xml
3. Search "kill"
4. There is value in that line,
E.g. 2000 means 2000ms.
5. Compile and copy resources.arsc
6. Put it in to your Device, and enjoy!
So you have a problem with your device,maybe you was install a custom rom or you have restored your stock ROM and you can't Connect to playstore,you can't SIGN IN google account
i got the solution
first at all,you should prepare this all
-Root Explorer
-Rooted Device
You can get root explorer on PlayStore
lets go to first step :
1. Open Root Explorer
2. Open system folder then go to etc folder
3. Find a file named "host"
4. Long press on "host" file and click open with,then click Text Editor
there will text file like down here
Code:
[COLOR="Red"]127.0.0.1 localhost
#127.189.7.142 android.clients.google.com
mtalk.google.com[/COLOR]
5.edit the text file,what you need to do it just add # on the port name,so edit it until like down here
Code:
[COLOR="red"]#127.0.0.1 localhost
#127.189.7.142 android.clients.google.com
mtalk.google.com[/COLOR]
diffrent port isn't the problem,don't copy my port,what you need to do its just add # on the both port number
If it helped you can click THANKS button on the left bottom, i really want to help you guys,HOPE IT HELPED
just delete the HOSTS file
or make sure
127.0.0.1(here its only 1 space)localhost
Hello guyzz... you can perform a simple trick described below to Enable Lock screen rotation. To do this ROOT is required.
1. Open the file manager on your Android device
which supports root file system access. I prefer Root Explorer.
2. Navigate to the following folder:
/system
3. There you will find a file named build.prop. You
need to edit it, so open it in your favorite text
editor. Again, I will use the built-in editor of the
Total Commander app, as it is powerful and
supports many useful features.
4. Add the following line to your build.prop file:
lockscreen.rot_override=true
Tip: Before you add the line, check if the same
parameter is present in the build.prop file, but with
the value set to false. If it is present, then modify
the existing line and set it to true.
That's it. Now reboot you device. The lock screen will
respect the gravity sensor right after reboot.
FULL GUIDE TO CHANGE ACCENT COLORS
Hello everybody, This is my first post on xda. This guide is for those who want to change accent colors of non-system apps manually using substratum.
PREREQUISITIES
1.Rooted Android Phone
2.substratum theme engine(download from playstore)
3.Android Studio
4.Git installed on PC
5.APK tool (You can find easily on google)
6.Notepad++
STEPS
1.First of all, clone Substratum Theme Project from git into your Android Studio project
https:github.com/substratum/template (Add //)
2. Then change Theme Name,Email that is used for queries and other details in theme_configurations.xml
3.Then connect your device with the PC. Make sure ADB is installed in your computer and your phone has USB Debugging enabled.( Device Drivers should be installed too)
4.Go to the folder where ADB is installed(where adb.exe is located) and open a cmd window there(shift+right click)
5. Confirm that your device is connected properly by typing "adb devices"(without double quotes)
6.Once your device has been connected properly,you will see your device in List Of Devices
8. Then open root browser on your mobile and navigate to data/app/
9.Locate the android app folder you want to theme.(App must be installed on your phone)
Then type adb pull /data/app/com.android.yourapp/base.apk (Here change the app folder and app name accordingly.Copy the base.apk to apktool folder
7.Then open an another cmd window in to folder where apktool(jar) is located.
10.Then go to the cmd you opened in apktool folder,Type apktool_2.3.0.jar d base.apk
11.Then a folder will be created in that directory.
12.Then open the app in your phone with the device connected to pc and leave the phone with screen open(idle)
13.Go to tools->Android->Android Device Monitor->Dump View Hierarchy for UI Automator
14.Then a screenshot will get opened.
15.Moving the mouse will create a certain red boundary
16.Point it to any element you want to theme and check its resource-id
17.Then go to the folder which you created while decompiling the apk using apktool
18. Copy the path to that directory
19.Open Notepad++ and press Ctrl+Shift+F
20. Enter the resource-id you saw in "Find what" and directory in "Directory"
21.Notepad++ will search for this name in all the files of all the folders.
22. Then you will get some search results
23.Open the search result wherever you see background color code
24. Copy the line you want to change
(YOU CAN ALSO CHANGE THE COLORS USING COLORS.XML PRESENT IN res/values/colors.xml)
25.Then open Android studio and delete all the folders INSIDE the OVERLAYS FOLDER
26.In overlays folder,create a folder named com.android.(yourapp) and inside that folder create the whole directory of the file you edited) For example-> If you edited colors.xml,then create res folder and inside it create values then create a xml file named colors.xml
27. Inside that XML file inside the resources tag, paste the line you copied (The one you want to edit).
28. Compile and run the project on your phone(You will see the substratum theme installed on your phone with your app as a option)
29. Apply it and see the difference
(TIP: If you want to interchange white and black colors of the app, edit colors.xml and change all the white colors to black.After doing this,check whether all the colors are as desired. If not,change the color of a specific element manually as in this tutorial)
30. VOILA.!! You just made your first Substratum Theme. Good luck Themer...!!
(This method works on most apps)
Do ask if u have any query
Dosen't work
rohan_asthana said:
FULL GUIDE TO CHANGE ACCENT COLORS
Hello everybody, This is my first post on xda. This guide is for those who want to change accent colors of non-system apps manually using substratum.
PREREQUISITIES
1.Rooted Android Phone
2.substratum theme engine(download from playstore)
3.Android Studio
4.Git installed on PC
5.APK tool (You can find easily on google)
6.Notepad++
STEPS
1.First of all, clone Substratum Theme Project from git into your Android Studio project
https:github.com/substratum/template (Add //)
2. Then change Theme Name,Email that is used for queries and other details in theme_configurations.xml
3.Then connect your device with the PC. Make sure ADB is installed in your computer and your phone has USB Debugging enabled.( Device Drivers should be installed too)
4.Go to the folder where ADB is installed(where adb.exe is located) and open a cmd window there(shift+right click)
5. Confirm that your device is connected properly by typing "adb devices"(without double quotes)
6.Once your device has been connected properly,you will see your device in List Of Devices
8. Then open root browser on your mobile and navigate to data/app/
9.Locate the android app folder you want to theme.(App must be installed on your phone)
Then type adb pull /data/app/com.android.yourapp/base.apk (Here change the app folder and app name accordingly.Copy the base.apk to apktool folder
7.Then open an another cmd window in to folder where apktool(jar) is located.
10.Then go to the cmd you opened in apktool folder,Type apktool_2.3.0.jar d base.apk
11.Then a folder will be created in that directory.
12.Then open the app in your phone with the device connected to pc and leave the phone with screen open(idle)
13.Go to tools->Android->Android Device Monitor->Dump View Hierarchy for UI Automator
14.Then a screenshot will get opened.
15.Moving the mouse will create a certain red boundary
16.Point it to any element you want to theme and check its resource-id
17.Then go to the folder which you created while decompiling the apk using apktool
18. Copy the path to that directory
19.Open Notepad++ and press Ctrl+Shift+F
20. Enter the resource-id you saw in "Find what" and directory in "Directory"
21.Notepad++ will search for this name in all the files of all the folders.
22. Then you will get some search results
23.Open the search result wherever you see background color code
24. Copy the line you want to change
(YOU CAN ALSO CHANGE THE COLORS USING COLORS.XML PRESENT IN res/values/colors.xml)
25.Then open Android studio and delete all the folders INSIDE the OVERLAYS FOLDER
26.In overlays folder,create a folder named com.android.(yourapp) and inside that folder create the whole directory of the file you edited) For example-> If you edited colors.xml,then create res folder and inside it create values then create a xml file named colors.xml
27. Inside that XML file inside the resources tag, paste the line you copied (The one you want to edit).
28. Compile and run the project on your phone(You will see the substratum theme installed on your phone with your app as a option)
29. Apply it and see the difference
(TIP: If you want to interchange white and black colors of the app, edit colors.xml and change all the white colors to black.After doing this,check whether all the colors are as desired. If not,change the color of a specific element manually as in this tutorial)
30. VOILA.!! You just made your first Substratum Theme. Good luck Themer...!!
(This method works on most apps)
Do ask if u have any query
Click to expand...
Click to collapse
It doesn't work on xposed installer .
substratum isn't showing xposed installer in it's overlays.
Thanks for the post.