Hello persons, sorry my bad english. Im now in LineageOs, and i have (no joking kkkk) small hands, so, to have a better experience i active the navigation buttons on screen, adding the line qemu.hw.mainkeys=0 on build.prop and the hash in two lines on a file in usr/keylayouts. Every when i want change my rom i need make this process, and i want automate that with a flasheable zip, but im a really stupidy with android codes, and i don't know how make this, if anybody can help me solve that, i will appreciate. Thankxx
lineageOS provide setting to enable onscren nav (and disable hw), just search in setting.
no need to edit buildprop
No, Los don't have this, just other rom's with more customization
BRParola said:
No, Los don't have this, just other rom's with more customization
Click to expand...
Click to collapse
I used LOS between march and july in my Xiaomi MI5, and i am pretty sure that in the settings there are an option to enable on-screen buttons. Just use the "search" function in settings, or look in "buttons" section within the settings. Good luck.
I found this video, see minute 2:00 https://www.youtube.com/watch?v=M-OVQAPwqk8
Related
DarkyRom is capable of taking you to the settings by holding the toggles in it's notification bar
I use AxLor_HDBlog_Xlite because it's too small and fast and clear but I really need this function.
How can I add it?
For example: if you touch the Bluetooth or wifi toggles it will turn it on and off but if you hold it it will go directly to it's settings
Edit:-----------------
FOUND THE SOLUTION:
i tested (( 14 Toggle Status Bar )) that originally belongs to ROCKET ROM and it worked Perfectly.
- you can choose between/up to 14 toggles to have in your notification bar (there is a setting for it)
- by holding any toggle you go to their settings (which i really love)
you can find it here:
http://forum.xda-developers.com/show....php?t=1380284
i would like to have that function too
Please devs this is very important for me and I'm sure for many people.
If anyone at least put me in a right direction
Come on guys. Any one??????....... anything????? ...... really?????.......
Almost all the Roms for Galaxy S II had this. This means it shouldn't be that hard
I guess I'm the only one who replies to me!!!!!
Anyone can help?
ICS has it (at least there was a settings shortcut on my pulldown menu on my GSM GNEX).
get rocket rom, it's in there..
Sent from my GT-N7000 using xda premium
I want to know how can I add it to any other Rom i like.
Is it a tweak or what? i just want to know how it works
FUI (I just flashed RocketRom and it didn't have it) which means DarkyRom is the only Rom that has this.
please refer to this thread:
http://forum.xda-developers.com/showthread.php?t=1380284
What is this thread have to do with my request?
ROCKET ROM doesn't have this. And even if it does doesn't change anything
I need to learn to add this function to any Rom I want
This require you to decompile some of the framework files, make the code changes and then recompile it in order for you to do that. Usually you have to do it for every ROM that you use because it needs the framework-res.apk from that specific ROM.
Well do you know what to do to which?
Like an instruction for the whole thing.
Sent from my GT-N7000 using xda premium
omid_freesky said:
Well do you know what to do to which?
Like an instruction for the whole thing.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
No, I dun but I know the files are framework-res.apk and systemui.apk. Once you used apktools to decompile these files, you need to search for the correct xml to edit and add in extra actions to do when the user long press on the icons. As these are not default actions, you need to add in the action class yourself.
I havent try to research anything in this area yet but I'm sure Google can find you an answer
Found the Solution
i tested (( 14 Toggle Status Bar )) that originally belongs to ROCKET ROM and it worked Perfectly.
- you can choose between/up to 14 toggles to have in your notification bar (there is a setting for it)
- by holding any toggle you go to their settings (which i really love)
you can find it here:
http://forum.xda-developers.com/showthread.php?t=1380284
This ROM contains the Chinese to English translated apk files so all you have to do is flash it. The translations have modified to better reflect the function of the various tweaks. Two additional tweaks are available. You can resize the nav bar and wake the phone up using the Vol key. Turning off the shutdown message still doesn't work. The virtual power (screen off) button is located on the top right corner of the screen. The interface is EMUI2.3. The ROM can be used with the L05, L07, L10 variants. Xposed 2.5 works but interferes with EMUI so you might want to use another launcher. Some parts of Gravity Box work. The options displayed when restarting the phone are stll in Chinese but the options are self evident.
Don't forget to backup!!
Link:https://drive.google.com/uc?id=0B6QnIbFOPM4pWXJOTlo0djVHRUk&export=download
arthios said:
This ROM contains the Chinese to English translated apk files so all you have to do is flash it. The translations have modified to better reflect the function of the various tweaks. Two additional tweaks are available. You can resize the nav bar and wake the phone up using the Vol key. Turning off the shutdown message still doesn't work. The virtual power (screen off) button is located on the top right corner of the screen. The interface is EMUI2.3. The ROM can be used with the L05, L07, L10 variants. Xposed 2.5 works but interferes with EMUI so you might want to use another launcher. Some parts of Gravity Box work. The options displayed when restarting the phone are stll in Chinese but the options are self evident.
Don't forget to backup!!
Link:https://drive.google.com/uc?id=0B6QnIbFOPM4pWXJOTlo0djVHRUk&export=download
Click to expand...
Click to collapse
Is their also the advanced settings for statusbar included like in v3?
Superwitschi said:
Is their also the advanced settings for statusbar included like in v3?
Click to expand...
Click to collapse
Yes.
This rom works great for me i like the small navbar and the settings for statusbar ( center clock and signals on the left).
Superwitschi said:
This rom works great for me i like the small navbar and the settings for statusbar ( center clock and signals on the left).
Click to expand...
Click to collapse
Glad you like it. The ROMs author does quite a good job considering all of the obstacles. I don't know if we will see anything incorporating EMUI3.0. Huawei seems to have made customisation even harder with the release of the B604 ROMs. In other threads there has been quite a bit of interest in downgrading from EMUI3.0. I guess there are reasons for wanting to downgrade but I'm uncertain as to what they are. In any event though, I'm not sure I would want to upgrade to the successor to the P7 when its released as it may well be impossible to work with. The most appealing aspects of the P7 are its size and weight. Every other device with a 5" screen is bigger and heavier. A bit of a "turn off" in my view.
arthios said:
This ROM ...
Don't forget to backup!!
Link:https://drive.google.com/uc?id=0B6QnIbFOPM4pWXJOTlo0djVHRUk&export=download
Click to expand...
Click to collapse
Link expired. Pls renew. Thx
Edit: that was Tapatalk problem. In normal browser work fine. Sorry.
Sent from my HUAWEI P7-L10
The only thing i would like to change is the grey navbar. How can i do that
I installed some mod that made my navbar look and act weird. Basically, after installing a certain mod (can't tell which one actually), the navbar looks like this:
I wouldn't mind it too much but the fact the home softkey is not perfectly centered annoys me. Also, on this navbar, clicking the home softkey plays the little animation with the four google dots, another thing that I don't really like.
If I go to Settings, Apps & Notifications, Default Apps, Assist & Voice Input, and change it say to Firefox, and then back to None, the navbar becomes normal again.
But at reboot I get the crappy misaligned one again. I don't use any Assist&Voice Input app, so I set it to none. I also deleted the Google App and Assistant and everything else related to it, because I don't use that stuff.
Like I said, I think a mod that I installed caused this issue. It could have been Pix3lify or the modded Xperia Home with the pill navbar. I removed both mods but the navbar goes back to the weird one after any reboot, so maybe a leftover from one of these mods is still in my system, but I can't find it. How can I restore the default navbar without doing a factory reset? Unfortunately I don't have a backup and I would rather avoid the factory reset. Again it's not a big deal, but I would like to fix it.
While this might not be a perfect solution, you can modify the looks of the navbar with a substratum theme.
Such as this one:
https://play.google.com/store/apps/details?id=com.rc.navigate
This is the substratum theme engine, and it requires root on android 9 and up:
https://play.google.com/store/apps/details?id=projekt.substratum
If you need more info about substratum look in the app's description or just ask here.
Ephesus said:
While this might not be a perfect solution, you can modify the looks of the navbar with a substratum theme.
Such as this one:
https://play.google.com/store/apps/details?id=com.rc.navigate
This is the substratum theme engine, and it requires root on android 9 and up:
https://play.google.com/store/apps/details?id=projekt.substratum
If you need more info about substratum look in the app's description or just ask here.
Click to expand...
Click to collapse
Could be a solution, but I don't feel like installing more stuff on my phone. Do you know which file is responsible for the navbar's appearance?
MarkMRL said:
Could be a solution, but I don't feel like installing more stuff on my phone. Do you know which file is responsible for the navbar's appearance?
Click to expand...
Click to collapse
Sorry, I don't know that.
Maybe this article about modifying the stock navbar can be useful?
https://www.xda-developers.com/add-custom-buttons-to-nav-bar-on-samsung-galaxy-s8-galaxy-s8/
Or this one:
https://www.xda-developers.com/how-...icons-or-re-arrange-the-buttons-without-root/
They might mention it somewhere.
Weirdly enough, if I use Substratum, the theme I set appears on top of the crappy navbar, and by that I mean that I see both at once once. Guess I'll have to factory reset huh
I was bored today so I came back to this issue. I reflashed System with flashtool, which brought back all the bloatware obviously, but the navbar stays in its weird mode. If I create a new user, the new user gets a normal navbar. If I enable Google and the search assistant, the navbar stays weird on reboot but as soon as I start Google, the navbar becomes normal again.
Anyone know a possible solution to this puzzle?
MarkMRL said:
Anyone know a possible solution to this puzzle?
Click to expand...
Click to collapse
Just do a full reset and start from scratch. No one likes doing them, but sometimes it's the only option.
Hello, everyone.
Lately I have been looking for a way to disable navigation bar on Stock rom, and use gestures on third party launchers, for example on Nova launcher. After trying different things, here what worked for me:
First, download Fluid N. G. app and set it (make sure the app stays working and the battery saver doesn't kill it). Don't hide the navbar using Fluid N. G., not only this won't work, but also will cause the navbar to reappear after every unlock. So, don't use the hide option from Fluid N. G. (see the screenshot below).
You also need Tasker app, So install it.
Since the device is not rooted, you need to grant some permissions for the Tasker app, in order to work. To do this, follow the instructions Here.
Once done, open Tasker app, select profiles and click "Import profile". The file that you need to import is in attachements. Enable it, reboot your device (wait for few seconds) and Voilà !.
I tried to keep it as simple as possible. The results are attached below. Good luck!
Mechalikh said:
Hello, everyone.
Lately I have been looking for a way to disable navigation bar on Stock rom, and use gestures on third party launchers, for example on Nova launcher. After trying different things, here what worked for me:
First, download Fluid N. G. app and set it ( make sure the app stays working and the battery saver doesn't kill it).
You also need Tasker app, So install it.
Since the device is not rooted, you need to grand some permissions for the Tasker app, in order to work. To do this, follow the instructions here :
https://tasker.joaoapps.com/userguide/en/help/ah_secure_setting_grant.html
Once done, open tasker app, select profiles and click "import profile". The file that you need to import is in attachement. Enable it, reboot your device (wait for few seconds) and Voilà !.
I tried to keep it as simple as possible, good luck!
Click to expand...
Click to collapse
Thank you @Mechalikh for sharing this hack, but what should I do if my phone is rooted? I have an redmi note 10 pro
Hellera said:
Thank you @Mechalikh for sharing this hack, but what should I do if my phone is rooted? I have an redmi note 10 pro
Click to expand...
Click to collapse
Although this one will work also on rooted devices, I believe there are better alternatives (for example editing build.prop..etc).
Here is a video showing the results
Mechalikh said:
Although this one will work also on rooted devices, I believe there are better alternatives (for example editing build.prop..etc).
Click to expand...
Click to collapse
Wow, it will be easier to edit build.prop... but I dont know what lines to edit... or any other easier alternative... Can you help me, please? Thank you.
Can you attach your build.prop?
Mechalikh said:
Can you attach your build.prop?
Click to expand...
Click to collapse
@Mechalikh, I tried what you said above but when is about to import the profile in Tasker it give an error, "profile not found"
By the way, the profile extension must be .prj.xml not .prf.xml.
I would also like to know more about hiding navigation buttons with build prop. I am on Miui EU rom on sweetin
I wish there was another way to keep fng running in background, instead of in recents always
Hellera said:
@Mechalikh, I tried what you said above but when is about to import the profile in Tasker it give an error, "profile not found"
By the way, the profile extension must be .prj.xml not .prf.xml.
Click to expand...
Click to collapse
Same error for me too
Tried qemu.hw.mainkeys 1 in build prop editor but it won't save.
Also, @Mechalikh I clicked on import project, but it says 'no profile found'.
Hellera said:
@Mechalikh, I tried what you said above but when is about to import the profile in Tasker it give an error, "profile not found"
By the way, the profile extension must be .prj.xml not .prf.xml.
Click to expand...
Click to collapse
I don't get it, I'm on Tasker version 5.15.12 ( the latest one). The extentions are : prf.xml for profiles and tsk.xml for tasks. Anyway HERE is how to do it manually.
Hide navigation buttons, no MIUI gestures.
If you use something like Piecontrol, Gesture Control or any other app to navigate your phone you might want to disable the navigation buttons. As /system can't be rw mounted we can't edit "build.prop" 1. Magisk, install "MagiskHide Props...
forum.xda-developers.com
Frag1le said:
Hide navigation buttons, no MIUI gestures.
If you use something like Piecontrol, Gesture Control or any other app to navigate your phone you might want to disable the navigation buttons. As /system can't be rw mounted we can't edit "build.prop" 1. Magisk, install "MagiskHide Props...
forum.xda-developers.com
Click to expand...
Click to collapse
This doesn't work on Miui 13 EU
Mechalikh said:
I don't get it, I'm on Tasker version 5.15.12 ( the latest one). The extentions are : prf.xml for profiles and tsk.xml for tasks. Anyway HERE is how to do it manually.
Click to expand...
Click to collapse
Thanks for your help. I do have root access but no idea how to do it through build props, so I will stick with this Tasker method. Cheers!
One thing though, FNG bottom gesture isn't as responsive as Miui gesture. Takes like a second to open recents. Found a good FNG file and imported its settings. Better now.
DreamStare said:
This doesn't work on Miui 13 EU
Click to expand...
Click to collapse
Not tested this myself yet, but i doubt this was removed on Android 12 or Miui 13, this is kind of a basic function.
That build.prop is telling the OS the device has hardware keys for navigation. I've been using this for perhaps 10 years now .
Thank you @Mechalikh for sharing this, I watched the video and I succeded it with Smart launcher... I'm using Smart launcher for years...
In my case it wasn't necesary the second task because the phone is rooted.
Edit: only one question please... Is anymore fluid navigation app needded after this?
Hellera said:
Thank you @Mechalikh for sharing this, I watched the video and I succeded it with Smart launcher... I'm using Smart launcher for years...
In my case it wasn't necesary the second task because the phone is rooted.
Edit: only one question please... Is anymore fluid navigation app needded after this?
Click to expand...
Click to collapse
This will only hide the navigation bar, gestures will not work, so before doing that, you need to install a gesture navigation app like Fluid n g.
From my understanding, in android 11 google disabled navigation gestures when not using the system launcher. Probably because third party launchers failed to integrate those animations correctly, which made them look laggy ( same when using fluid n. g. unfortunately)
You can see that in android 10 phones. When you change the launcher, the gestures will remain but there will be no animations.
So this is probably their way to avoid it.
if you look in the system Ui code you will find something like:
if( the launcher is system launcher)
enable gestures
else disable them.
if this is the case. A patched system ui app should do the job. i'll root my device this monday, and try to decompile the systemUI app to see if that's the source of our problem.
Mechalikh said:
This will only hide the navigation bar, gestures will not work, so before doing that, you need to install a gesture navigation app like Fluid n g.
From my understanding, in android 11 google disabled navigation gestures when not using the system launcher. Probably because third party launchers failed to integrate those animations correctly, which made them look laggy ( same when using fluid n. g. unfortunately)
You can see that in android 10 phones. When you change the launcher, the gestures will remain but there will be no animations.
So this is probably their way to avoid it.
if you look in the system Ui code you will find something like:
if( the launcher is system launcher)
enable gestures
else disable them.
if this is the case. A patched system ui app should do the job. i'll root my device this monday, and try to decompile the systemUI app to see if that's the source of our problem.
Click to expand...
Click to collapse
Source :
Android Q beta 5 won't let you use gesture navigation on third-party launchers
Android Q introduces a new gesture navigation control, but Google stops you from using third-party launcher apps with it.
www.xda-developers.com
well they said it has been the case since android 10. But i had a "honor" phone with gestures working fine on android 10 (but of course with no animations when using another launcher) .
Anyway, read that xda article to fully anderstand the issue.
Frag1le said:
Not tested this myself yet, but i doubt this was removed on Android 12 or Miui 13, this is kind of a basic function.
That build.prop is telling the OS the device has hardware keys for navigation. I've been using this for perhaps 10 years now .
Click to expand...
Click to collapse
My build prop editor gives an error when I try to save it. Bummer for me I guess, maybe because I am not on official MIUI
Welcome to my thread!
•You need root to do this firstly. And some knowledge, of course.
•These features work even on other devices & other OneUI versions, for me they work fine on OneUI 5.
•Target file location may be on a different place than mine, depends by your CSC installed.
•Location: /optics/configs/carriers/single/EUX/conf/system. Your CSC may be on /carriers, if not, try to search on /single.
Now, let's begin.
•Call Recorder
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
•Camera features
<CscFeature_Camera_ShutterSoundMenu>TRUE</CscFeature_Camera_ShutterSoundMenu>
<CscFeature_Common_EnhanceImageQuality>TRUE</CscFeature_Common_EnhanceImageQuality>
<CscFeature_Camera_DefaultQuality>superfine</CscFeature_Camera_DefaultQuality>
•Calendar, set colour of days. (X is black, B is Blue, R is Red. Value is sorted from Monday to Sunday)
<CscFeature_Calendar_SetColorOfDays>XXXXXBR</CscFeature_Calendar_SetColorOfDays
PS: You can put whatever value you want, you can make all days blue, black and red. It's your choice.
•Network Speed Meter
<CscFeature_Setting_SupportRealTimeNetworkSpeed>TRUE</CscFeature_Setting_SupportRealTimeNetworkSpeed>
•Data Usage on Quick Panel
<CscFeature_SystemUI_SupportDataUsageViewOnQuickPanel>TRUE</CscFeature_SystemUI_SupportDataUsageViewOnQuickPanel>
•Mortgage on Samsung Calculator
<CscFeature_Calculator_ConfigConverter>CHN</CscFeature_Calculator_ConfigConverter>
<CscFeature_Calculator_ConfigMortgage>CHN</CscFeature_Calculator_ConfigMortgage>
•5 RSSI Signal Bars instead of 4, like US/CN devices
<CscFeature_SystemUI_ConfigMaxRssiLevel>5</CscFeature_SystemUI_ConfigMaxRssiLevel>
•Data Switch button on Power Menu
<CscFeature_Framework_SupportDataModeSwitchGlobalAction>TRUE</CscFeature_Framework_SupportDataModeSwitchGlobalAction>
•USIM info at the bottom of lock screen. (Korean Samsung exclusive)
<CscFeature_LockScreen_ConfigCarrierTextPolicy>DisplayUsimText;DisplayPlmnOnBottom</CscFeature_LockScreen_ConfigCarrierTextPolicy>
Will update the post later if I find more useful features.
I pasted 3 fetures calculator, signal bar and data Usage on Quick Panel
First two works after restart but data usage not showing.
How to get that?
no-name-xyz said:
I pasted 3 fetures calculator, signal bar and data Usage on Quick Panel
First two works after restart but data usage not showing.
How to get that?
Click to expand...
Click to collapse
Data usage needs Smart Manager CN, because Device Care has no Data Management menu available.
Could you please tell me, how to paste these commands into the file xml file? I cant even open it..
coockedcow said:
Could you please tell me, how to paste these commands into the file xml file? I cant even open it..
Click to expand...
Click to collapse
is it encrypted? decrypt it, you can use OMC Decoder magisk module by BlassGO
GalaxyA51user said:
is it encrypted? decrypt it, you can use OMC Decoder magisk module by BlassGO
Click to expand...
Click to collapse
Yes, thanks man, i just switched to lineage, but i will remember that