SystemUI Question - Xiaomi Mi 5 Questions & Answers

I am on Paranoid Android ROM. I can't change the number of columns of quick settings tiles. I already invesitigated and found that I have to change the quick_settings_num_columns value in the res/values/integers.xml, I decompiled, moded and recompiled the SystemUI.apk, but when I flash it or change it directly using Root Explorer (with the correct permissions) and reboot, the status bar is gone and my background too. If I try to restore the original I get the message System UI has stopped. I don't know what to do, if someone can help me I would appreciate it.

Dirty flash the system to restore. Paranoid doesn't support this kind of customization

Related

[Q] Font restore

Ok... I was feeling creative and was playing with the fonts on my HTC One. Using iFont i was able to change the majority, but I went a step further and used font installer, and selected a number of system fonts in the preferences. Long story short, I wrote over one that caused it to reboot and freeze on the HTC One screen. I know I can reflash the rom, but instead of redoing the whole phone would like to push the fonts back into the system folder. Is there a default font pack for this phone, or can someone give me a list of fonts in the font folder I can search and download? Thanks!
Megadoxx said:
Ok... I was feeling creative and was playing with the fonts on my HTC One. Using iFont i was able to change the majority, but I went a step further and used font installer, and selected a number of system fonts in the preferences. Long story short, I wrote over one that caused it to reboot and freeze on the HTC One screen. I know I can reflash the rom, but instead of redoing the whole phone would like to push the fonts back into the system folder. Is there a default font pack for this phone, or can someone give me a list of fonts in the font folder I can search and download? Thanks!
Click to expand...
Click to collapse
What ROM are you using? Depending on the case, reflashing it will be just fine. I was stuck in the same boat using fonts in ROMToolbox, but a simple reflash of my current ROM fixed it. Just dont wipe any data and youll reboot with everything just the way you left it (files, data, everything) except your fonts will be restored to the stock ones in the ROM zip. I was on ARHD when i did this, so it *should* work for you too. Make a nandroid just in case!
AT&T HTC One | ARHD 12.0
Tbalden Perf Kernel 2.1.4 UV/OC/UC

Running AOSP ICS on S5830 need toggles

I'm running this ROM which is based on AOSP 4.0.4. I know that AOSP doesn't include, by default the toggles on the status bar, but I would like to know if there's a way to get them anyway without installing an app (need to save memory)?
The apps that install the toggles are not heavy at all..you can install it without use much memory, otherwise for add the toggles without install any app you need to modify systemui.apk...if you don't know well how to do, it's quite difficult
Thanks you. Since you talked about modifying SystemUI.apk, I think I'm going to try using the SystemUI.apk file from another AOSP ICS Rom which include these toggles. I'll make a backup in ClockworkMod before, in case it doesn't work. I tried to use Notifications toggles from the Play Store but it doesn't work.
I tried to flash a zip, in order to replace systemui.apk, but it didn't work, it led to systemui.apk force-closing itself after booting the phone. I had to restore my previous config from ClockworkMod recovery. Then I tried Power Toggles from the Play Store, no force close this time, but after rebooting, I still didn't have any toggles on the status bar. Can anyone tell me a good app from the Play Store which will work on Android 4.0.4 AOSP?
I succesfully decompiled (using apktool) my current working systemui.apk from my oldDroid AOSP rom. Now, what do I need to add to the source code to get the toggles?

[Q] navigation bar is gone

i had installed installed an app called udn lite ( to hide the navigation bar )
but i found an app better than this one
how could i get back my navigation bar without restoring a nandroid backup :s
i removed the navigation bar with the app's xposed module
Disable the Xposed module, reboot.
If it's still not there, check your build.prop for any lines that say ro.config.hwmainkeys=1 Or something similar. Remove this line and reboot.
WhiteNeo said:
Disable the Xposed module, reboot.
If it's still not there, check your build.prop for any lines that say ro.config.hwmainkeys=1 Or something similar. Remove this line and reboot.
Click to expand...
Click to collapse
there is no line like this
fixed by downloading xposed module that resize the navigation bar

[Q] About Customizing Stock ROM

Hello. I am using Samsung Galaxy Note GT-N7000, N7000ZSLR1, Android 4.1.2 Hong Kong version. There are something I am not quite satisfied with the ROM, I have rooted my device with Chinese one key root app so I wonder if there are some ways to customize the ROM.
1. The first thing is Notification screen. In this Android 4.1.2, when you pull it down, the shortcuts at the top will first display the tiles in picture 1, then it will automatically swipe to picture 2:
Picture 1:
Picture 2:
Is there any method that can modify / remove tiles at the top? Or at least make it like picture 2 in default when I pull down, no swiping.
2. In this ROM, the Task Manager no longer display in app drawer like Android 2.3.6, instead I need to long press Home button to go to "Recent App" screen and tap the pie chart icon at the lower left corner to open Task Manager. I'm curious, the system app is in \system\app, and it IS an .apk. So I wonder if I can at least make a shortcut from it and add to "Home Screen", I always need to use it and I don't want to download third party app for this shortcut.
Recent Apps screen:
View in ES File Explorer:
3. The default Launcher in the stock ROM is TouchWizHome, and by default there are no indication when you tap an icon to open the app. So I wonder if I can add some "effect" to notify me when I open an app, like dim the icon or glow at the edge of icon.
4. If you are a Titanium Backup user, please tell me that should I wipe system apps' data first before uninstall it. Because it always gives me a feeling of "unclean" if I don't wipe the data before uninstall it. I always uninstall system app to keep my phone slimmer and faster.
Thank you in advance.
first, to change anything with the user interface aka UI your rom must be deodexed, so you need to create a deodexed rom from this rom or look for it in a chinease android forum (defnitely you will find it).
once your rom is deodexed, you can flash one of AryaMod or Sweet rom mods to change the interface, i think most of them will work because of the same framework but make a full backup because they might not work.
if you only need to change the order of quick toggles in the notification panel i think you can do it from settings >> display
or you can make your own mods following one of the awesome guides in this forum but that will take you time and you may face bootloops
ASMI1 said:
first, to change anything with the user interface aka UI your rom must be deodexed, so you need to create a deodexed rom from this rom or look for it in a chinease android forum (defnitely you will find it).
once your rom is deodexed, you can flash one of AryaMod or Sweet rom mods to change the interface, i think most of them will work because of the same framework but make a full backup because they might not work.
if you only need to change the order of quick toggles in the notification panel i think you can do it from settings >> display
or you can make your own mods following one of the awesome guides in this forum but that will take you time and you may face bootloops
Click to expand...
Click to collapse
How about question 2 and 4?
2/ i think there is a resizable widget of the task manager, all you have to do is place it in your home screen and when you click on it it will open the task manager. i have no idea about how to make the task manager appear in the app drawer but sure there is a way to do it.
4/ yes i always use titanium backup to backup and restore my non-cloud-based apps but not from and to different android version. never restore for example apps that were backed up on jellybean to kitkat or any other android version cuz this will cause force-close and other problems. whenever you are going to install new rom just wipe /preload and /system (/data partition will be wiped automatically when you make wipe data - factory reset) this way you will leave no trace of old system apps data, config, cache or anything.
don't uninstall system apps just freeze them using titanium backup or directly from app settings if you are on ics or above. if you removed an important system app like google contact sync that you may think not important you may get force-close, unmounted storage, ui crash all the time and similar problems.
Hope i helped you
ASMI1 said:
Hope i helped you
Click to expand...
Click to collapse
2/ ...Yes you think, but there is not, if it has then I'll place it at home screen from the start... I just want to know how to make that system app have a shortcut icon...
4/ But won't uninstall create more space for my system? I mean frezzing them will still occupy some space right?
Vulturon said:
But won't uninstall create more space for my system? I mean frezzing them will still occupy some space right?
Click to expand...
Click to collapse
It is just a safety procedure. Freeze the app and use your phone for a few days. If nothing funny happens go ahead and uninstall it to reclaim the space.
If you are absolutely sure the particular app you want to uninstall will not be needed anymore just uninstall it without going thru the freeze time.

SystemUI backup not working

I wanted to try modifying the SystemUI.apk file. Unfortunately it didn't work, navbar and statusbar disappeared, so I restored the backup file I made. Well, that didn't work either, with navbar and statusbar gone. Maybe it has something to do with me copying the backupfile instead of moving it, modifying the metadata (file creation date etc) somehow, I don't know.
Some guide recommended using root explorer to set all permissions. Done, and now I have no UI whatsoever. When booting, I get the "SystemUI has stopped" message. Blank screen, only the power menu pops up when I hold the power button.
Is it possible to restore the SystemUI from somewhere? I have the 12.75 firmware, because it seems newer ones aren't compatible with Xposed. That firmware isn't available for download, but I wouldn't want to lose my apps' data anyway in a factory reset.

Categories

Resources