[Q] How to set 24 hrs time in Settings.apk by Default? - Android Q&A, Help & Troubleshooting

Hi,
I am Cooking ROM based on 4.0.4... There is Data and Time in Settings... it is set by Default to 12 Hour Fomrat. You have to check the 24 Hr Time Format to enable it.
My Problem is that there is a bug in my ROM with status bar which isnt accepting 12 hr Time. Status bar Force Closes non Stop until I go to Settings>Date & Time and change it to 24 Hr format.
Being ROM Cooker I dont want my users to see the first screen to appear as "SystemUI has Closed" after Flashing Fresh ROM...
The only solution I have to prevent is to set the time to 24 Hr by default. i.e enable Check ON like some other options in Settings which are checked by default..
I saw everyhere in Settings.apk but there is no place I could change it..
in res/xml I saw a file date_time_prefs.xml.. it has code below
Code:
<CheckBoxPreference android:title="@string/date_time_24hour" android:key="24 hour" [B]android:defaultValue="true"[/B] />
I added the last line android:defaultValue="true" to set it to default checked but still after a fresh install it isnt checked..
Can anyone tell me how and where I can set it to default checked?

Bump,
Looking for this as well
If you found it already, could you please share?

Related

Today screen modifications in ROM?

Hello.
My XDA Today screen displays 4 lines, they are:
- Tap here to set owner...
- No upcoming appointments
- No unread messages
- No tasks
I want to make a ROM without the first line and I want to add one line more for the number of files in \ProgrammFiles\Connections or which says 'no files' if there are not files in that folder
Can someone give me any clue?
Thanks in advance.
Hi ...
All of these are Today plug-ins ... and you can display/hide any of them.
Start -> Settings -> Today -> Items ... uncheck "Owner Info"
any additional data to be displayed on Today must be through a new plug-in either ready-made or you can develop it yourself using WM2003 SDK 8)
Changing Today items in registry
Hello.
I finally found it.
First I deleted the item:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Today\Items\"Owner Info"]
in default.reg, so It won't display anymore "Tap here to set owner information"
I didn`t add a new item but I think It is like adding a new line in registry, somewat like:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Today\Items\MyApp
"..."="\\Windows\\MyApp.exe"
Of course, after this modification I ran mkrom and made a new rom.
Tanks for your patient.

Help changing Time Format

I purchased my phone from Ebay. It came installed with xda-developers.com . In intrigued by the modifications to the modifications to the system.
I'm needing help with the following:
The time automatically shows in 24 hour format vs 12 hour format.
Example Currently it reads 16:32, I desire it to read 4:32 Pm. What should I do?
:roll:
goto start -> settings -> system -> regional settings -> time tab ... and change the time style to a format with small 'h' ... the capital 'h' is for the 24hr format.

[Q] How to change the default system settings?

Hey
how's everybody??
My question is how can i change the default system settings in my custom rom?? like brightness / screen time-out / USB debugging .. etc
i have an idea but i don't know how to do it, backup the settings and but the restore file into the rom files, so it will restore it while the user try to insall in rom, but i don't know how to do it
sorry about my poor English
Hi mate,
You should be able to change screen brightness and screen timeout settings in Settings>Display
And USB Debugging is in Settings>Applications>Development
They are simple changes and you really don't need to save the settings off.
systemcrasher said:
Hi mate,
You should be able to change screen brightness and screen timeout settings in Settings>Display
And USB Debugging is in Settings>Applications>Development
They are simple changes and you really don't need to save the settings off.
Click to expand...
Click to collapse
First off thanks for ur replay .. i know its so simple to change them since the rom had installed, but i want to change them from apk files or the other system files
so the user going to have the new settings just when he finished installing the rom files through CWM
one more time i'm sorry about my bad English

[Q] Deepsleep Mode On ICS Beta Unl BL?

I found this on the Arc Thread, but what i wanna know is just, how to get my Neo V in deepsleep mode, but i cant find the line with that, this is standing there, so if someone knows it.
Bug
1. Lag (menu, animations)
2. Battery Issue
3. Offline Charging not working
as far as I know those are the main bugs.
Debug
1. Go to Settings --> Developer Option --> Window animation scale & Transition animation scale --> "set .5x"
This Reduce lags 98%
2.1 Go to Settings --> Developer Option --> Background Process Limits --> set "No background Process"
2.2 check ur build.prop, if there is a line 'persist.rildenabled' delete that line
This makes phone to be in deep sleep and increases the battery life
3. If u use cwm, probably it is clashing wit offline charging? Solution download the below chargemon and owerite in system/bin, please note you will loose ur cwm recovery.
Note : If you listen to music, make sure to stop it from apps.
Sorry if i post this thread but i need a solution.

[Xiaomi] [MIUI] Switch users issue

Hi everyone,
Is there any people already used Multiple users in MIUI?
I need to use Multiple android users on my Redmi Note 8T running MIUI 11 very much.
In order to do that I turned off MIUI optimizations and changed build.prop(via unlocking bootloader) to have:
fw.max_users=5
fw.show_multiuserui=1
Also tried adding:
fw.show_hidden_users=1
fw.power_user_switcher=1
I see the "Multiple Users" option in Settings now.
However, when I create New User, finish it's setup process and switch back to Owner,
I can't use this New User anymore. It doesn't let me switch to it again. (Click on "New User" in users list does nothing.)
Also there is no User icon in notification bar menu to switch users.
I have a guess why:
1) MIUI Second Space feature: when I create new user and set up it's profile I constantly see Second Space Icon in the notification bar near battery percentage.
And only way it lets me switch back to Owner is clicking on "Switch" Icon (which was automatically created shortcut at main screen). Clicking Owner in "Multiple Users" menu does nothing.
2) not as plausible as first one but: When I create new user profile it doesn't let me finish the process without setting it's password first. Maybe
Second Space logic somehow can't use new profile password.
Is there any people already used Multiple users in MIUI?
Or maybe someone have any ideas on how to disable Second Space interception of users switch with modifying some prop files or other system files?
I will appreciate any help with this very much.
PS. Also I know there is an option to switch users via running terminal/shell commands, but it's not so convinient to run these commands every time and it requires root.
I prefer to not root the device and try every option I can first.
If there is nothing to do with that, then I am willing to use Lineage OS instead of rooted MIUI.
Thanks for any feedback!
I have the same issues, I add a new user from 'multiple users' in settings, but I have no way of actually switching back and forth between user profiles. Even EMUI allows this, which I never knew was possible up until a few days ago.
Any Updates?
I have same problem.
Is there a fix?
I m also searching for this only...
Is anyone knows this?
realdidi said:
Hi everyone,
Is there any people already used Multiple users in MIUI?
I need to use Multiple android users on my Redmi Note 8T running MIUI 11 very much.
In order to do that I turned off MIUI optimizations and changed build.prop(via unlocking bootloader) to have:
fw.max_users=5
fw.show_multiuserui=1
Also tried adding:
fw.show_hidden_users=1
fw.power_user_switcher=1
I see the "Multiple Users" option in Settings now.
However, when I create New User, finish it's setup process and switch back to Owner,
I can't use this New User anymore. It doesn't let me switch to it again. (Click on "New User" in users list does nothing.)
Also there is no User icon in notification bar menu to switch users.
I have a guess why:
1) MIUI Second Space feature: when I create new user and set up it's profile I constantly see Second Space Icon in the notification bar near battery percentage.
And only way it lets me switch back to Owner is clicking on "Switch" Icon (which was automatically created shortcut at main screen). Clicking Owner in "Multiple Users" menu does nothing.
2) not as plausible as first one but: When I create new user profile it doesn't let me finish the process without setting it's password first. Maybe
Second Space logic somehow can't use new profile password.
Is there any people already used Multiple users in MIUI?
Or maybe someone have any ideas on how to disable Second Space interception of users switch with modifying some prop files or other system files?
I will appreciate any help with this very much.
PS. Also I know there is an option to switch users via running terminal/shell commands, but it's not so convinient to run these commands every time and it requires root.
I prefer to not root the device and try every option I can first.
If there is nothing to do with that, then I am willing to use Lineage OS instead of rooted MIUI.
Thanks for any feedback!
Click to expand...
Click to collapse
Bro what is that terminal command plz tell
realdidi said:
Hi everyone,
Is there any people already used Multiple users in MIUI?
I need to use Multiple android users on my Redmi Note 8T running MIUI 11 very much.
In order to do that I turned off MIUI optimizations and changed build.prop(via unlocking bootloader) to have:
fw.max_users=5
fw.show_multiuserui=1
Also tried adding:
fw.show_hidden_users=1
fw.power_user_switcher=1
I see the "Multiple Users" option in Settings now.
However, when I create New User, finish it's setup process and switch back to Owner,
I can't use this New User anymore. It doesn't let me switch to it again. (Click on "New User" in users list does nothing.)
Also there is no User icon in notification bar menu to switch users.
I have a guess why:
1) MIUI Second Space feature: when I create new user and set up it's profile I constantly see Second Space Icon in the notification bar near battery percentage.
And only way it lets me switch back to Owner is clicking on "Switch" Icon (which was automatically created shortcut at main screen). Clicking Owner in "Multiple Users" menu does nothing.
2) not as plausible as first one but: When I create new user profile it doesn't let me finish the process without setting it's password first. Maybe
Second Space logic somehow can't use new profile password.
Is there any people already used Multiple users in MIUI?
Or maybe someone have any ideas on how to disable Second Space interception of users switch with modifying some prop files or other system files?
I will appreciate any help with this very much.
PS. Also I know there is an option to switch users via running terminal/shell commands, but it's not so convinient to run these commands every time and it requires root.
I prefer to not root the device and try every option I can first.
If there is nothing to do with that, then I am willing to use Lineage OS instead of rooted MIUI.
Thanks for any feedback!
Click to expand...
Click to collapse
I had a Same problem with my xiaomi redmi 9A but I have figured out the solution. So if u r still interested then reach me here "email: [email protected]" 0r tel: 0789644207.
realdidi said:
Hi everyone,
Is there any people already used Multiple users in MIUI?
I need to use Multiple android users on my Redmi Note 8T running MIUI 11 very much.
In order to do that I turned off MIUI optimizations and changed build.prop(via unlocking bootloader) to have:
fw.max_users=5
fw.show_multiuserui=1
Also tried adding:
fw.show_hidden_users=1
fw.power_user_switcher=1
I see the "Multiple Users" option in Settings now.
However, when I create New User, finish it's setup process and switch back to Owner,
I can't use this New User anymore. It doesn't let me switch to it again. (Click on "New User" in users list does nothing.)
Also there is no User icon in notification bar menu to switch users.
I have a guess why:
1) MIUI Second Space feature: when I create new user and set up it's profile I constantly see Second Space Icon in the notification bar near battery percentage.
And only way it lets me switch back to Owner is clicking on "Switch" Icon (which was automatically created shortcut at main screen). Clicking Owner in "Multiple Users" menu does nothing.
2) not as plausible as first one but: When I create new user profile it doesn't let me finish the process without setting it's password first. Maybe
Second Space logic somehow can't use new profile password.
Is there any people already used Multiple users in MIUI?
Or maybe someone have any ideas on how to disable Second Space interception of users switch with modifying some prop files or other system files?
I will appreciate any help with this very much.
PS. Also I know there is an option to switch users via running terminal/shell commands, but it's not so convinient to run these commands every time and it requires root.
I prefer to not root the device and try every option I can first.
If there is nothing to do with that, then I am willing to use Lineage OS instead of rooted MIUI.
Thanks for any feedback!
Click to expand...
Click to collapse
I had a Same problem with my xiaomi redmi 9A but I have figured out the solution. So if u r still interested then reach me here "email: [email protected]" 0r Tel: +256789644207 Or via Whatsapp: +256789644207.
sam107 said:
I m also searching for this only...
Is anyone knows this?
Click to expand...
Click to collapse
I had a Same problem with my xiaomi redmi 9A but I have figured out the solution. So if u r still interested then reach me here "email: [email protected]" 0r Tel: +256789644207 Or via Whatsapp: +256789644207
tzahik1 said:
Any Updates?
I have same problem.
Is there a fix?
Click to expand...
Click to collapse
I had a Same problem with my xiaomi redmi 9A but I have figured out the solution. So if u r still interested then reach me here "email: [email protected]" 0r Tel: +256789644207 Or via Whatsapp: +256789644207
10000% working solution.
Download Security core component v25 apk from here:https://www.apkmirror.com/apk/xiaomi-inc/security-core-component/security-core-component-25-release/
Download quick-short-cut maker from here:
Download QuickShortcutMaker APK for FRP Bypass (All Version) - Latest 2022
Download QuickShortcutMaker apk It makes a shortcut for every pre-installed Android application and let you FRP Bypass from your phone,
www.bypassfrpfiles.com
Install both the packages to ur phone
Launch quick shortcut maker
Under activities tab in quick shortcut maker, look for security core component And click on it.
U will view so many icons then select 2nd option which says second space
After that click on the Try this option.
Go through the setup process And complete setting up ur second space but remember to password ur space so as to distinguish between them.
Also remember to select the use password to switch between spaces.
When ur space is ready u can always open quick shortcut maker and under the security componetns option try all the available options to complete ur setup process like sharing apps, duo apps, shared files, contacts e.t.c.
There now u r done......

Categories

Resources