I figured I'd post this since I couldn't find the solution readily available when I was trying to enable landscape mode in both my homescreen and lockscreen. I use my phone as a navigation unit and stereo interface in my car. I have it mounted horizontally, covering the stock head unit. Because of this, I've been trying to figure out how to make sure the phone goes to full landscape mode whenever it's mounted. Below are the settings I used to successfully do this.
As far as I'm aware, this should work on any ROM available for the Nexus 6, including the stock ROM.
Enable lansdcape mode on your homescreen:
Step 1) Install a launcher other than the Google Now Launcher. I prefer Nova Launcher. Make sure you get the "Prime" version since it has the "Look and feel" sub-section that you'll need to get into.
Step 2) Open Nova Settings
Step 3) Open "Look and feel"
Step 4) Under "Screen Orientation" change the setting to "Auto-rotate"
Enable lansdcape mode on your lockscreen: *Requires root*
Step 1) Install a file explorer of your choice. I prefer Root Explorer.
Step 2) Open your file manager and scroll down to the "system" folder
Step 3) Tap and hold the "build.prop" file
Step 4) In the options menu that pops up, scroll down to "Open in Text Editor"
Step 5) If a Warning window pops up telling you that the file system is read-only, select "Yes" to change it to read-write
Step 6) Scroll to the bottom of the build.prop file
Step 7) Paste the following in as a new line at the bottom of the file lockscreen.rot_override=true
Step 8) Save the file (In Root Explorer this is done by selecting the 3 dots in the top right and selecting "Save and exit"
Step 9) Exit the file explorer and reboot the phone. Your lockscreen will now auto rotate when the phone is turned.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Very detailed walk through! However, I've had a HOWTO thread open on how to do this via just build prop edits and working on Google Now Launcher
http://forum.xda-developers.com/nexus-6/general/howto-enable-auto-rotation-lock-screen-t2969024
Your method works a bit different though.
Not trying to plug but I am going to anyway... I use the app called "Set Orientation" by Eyes-Free Project from GPS to do the same exact thing. Don't need to change launchers and don't need root.
eqbirvin said:
Very detailed walk through! However, I've had a HOWTO thread open on how to do this via just build prop edits and working on Google Now Launcher
http://forum.xda-developers.com/nexus-6/general/howto-enable-auto-rotation-lock-screen-t2969024
Your method works a bit different though.
Click to expand...
Click to collapse
Nice! Didn't mean to steal your thunder. Great to see it working on the stock launcher too. :highfive:
sn0warmy said:
Nice! Didn't mean to steal your thunder. Great to see it working on the stock launcher too. :highfive:
Click to expand...
Click to collapse
Youre fine! Im happy to see some how to's! :highfive:
sigiramm said:
Not trying to plug but I am going to anyway... I use the app called "Set Orientation" by Eyes-Free Project from GPS to do the same exact thing. Don't need to change launchers and don't need root.
Click to expand...
Click to collapse
Works great! Full 180° even for lockscreen . Just what I was looking for.
Anyone figure it now to get systemui to rotate? Can't stand having the navigation buttons on the side.
brizey said:
Anyone figure it now to get systemui to rotate? Can't stand having the navigation buttons on the side.
Click to expand...
Click to collapse
I found yesterday that by adding this to build.prop:
ro.sf.hwrotation=90
the boot animation and screen will be in landscape mode.....but the problem ive had on my Note 3 is that the touchscreen is still in landscape mode.
I saw this, and it was exactly what I was searching for. The landscape lockscreen works flawless. I have only one thing I'm not really satisfied about. When the launcher is in landscape, the navbar gets black. Is it possible to have a transparent navbar, just like in portrait mode?
sn0warmy said:
I figured I'd post this since I couldn't find the solution readily available when I was trying to enable landscape mode in both my homescreen and lockscreen. I use my phone as a navigation unit and stereo interface in my car. I have it mounted horizontally, covering the stock head unit. Because of this, I've been trying to figure out how to make sure the phone goes to full landscape mode whenever it's mounted. Below are the settings I used to successfully do this.
As far as I'm aware, this should work on any ROM available for the Nexus 6, including the stock ROM.
Enable lansdcape mode on your homescreen:
Step 1) Install a launcher other than the Google Now Launcher. I prefer Nova Launcher. Make sure you get the "Prime" version since it has the "Look and feel" sub-section that you'll need to get into.
Step 2) Open Nova Settings
Step 3) Open "Look and feel"
Step 4) Under "Screen Orientation" change the setting to "Auto-rotate"
Enable lansdcape mode on your lockscreen: *Requires root*
Step 1) Install a file explorer of your choice. I prefer Root Explorer.
Step 2) Open your file manager and scroll down to the "system" folder
Step 3) Tap and hold the "build.prop" file
Step 4) In the options menu that pops up, scroll down to "Open in Text Editor"
Step 5) If a Warning window pops up telling you that the file system is read-only, select "Yes" to change it to read-write
Step 6) Scroll to the bottom of the build.prop file
Step 7) Paste the following in as a new line at the bottom of the file lockscreen.rot_override=true
Step 8) Save the file (In Root Explorer this is done by selecting the 3 dots in the top right and selecting "Save and exit"
Step 9) Exit the file explorer and reboot the phone. Your lockscreen will now auto rotate when the phone is turned.
Click to expand...
Click to collapse
You don't need Nova prime. That setting is available with the free Nova. All the look and feel settings are except for icon size.
Plz help
I have a 4.3 Samsung S4 Android which is ROOTED.
Landscape mode only works on my phone at the lock screen.
When I go to my home screen, I can't switch to landscape mode.....Plz help (Suggestions needed)
sn0warmy said:
I figured I'd post this since I couldn't find the solution readily available when I was trying to enable landscape mode in both my homescreen and lockscreen. I use my phone as a navigation unit and stereo interface in my car. I have it mounted horizontally, covering the stock head unit. Because of this, I've been trying to figure out how to make sure the phone goes to full landscape mode whenever it's mounted. Below are the settings I used to successfully do this.
As far as I'm aware, this should work on any ROM available for the Nexus 6, including the stock ROM.
Enable lansdcape mode on your homescreen:
Step 1) Install a launcher other than the Google Now Launcher. I prefer Nova Launcher. Make sure you get the "Prime" version since it has the "Look and feel" sub-section that you'll need to get into.
Step 2) Open Nova Settings
Step 3) Open "Look and feel"
Step 4) Under "Screen Orientation" change the setting to "Auto-rotate"
Enable lansdcape mode on your lockscreen: *Requires root*
Step 1) Install a file explorer of your choice. I prefer Root Explorer.
Step 2) Open your file manager and scroll down to the "system" folder
Step 3) Tap and hold the "build.prop" file
Step 4) In the options menu that pops up, scroll down to "Open in Text Editor"
Step 5) If a Warning window pops up telling you that the file system is read-only, select "Yes" to change it to read-write
Step 6) Scroll to the bottom of the build.prop file
Step 7) Paste the following in as a new line at the bottom of the file lockscreen.rot_override=true
Step 8) Save the file (In Root Explorer this is done by selecting the 3 dots in the top right and selecting "Save and exit"
Step 9) Exit the file explorer and reboot the phone. Your lockscreen will now auto rotate when the phone is turned.
Click to expand...
Click to collapse
It's available on the free version of nova as well..have to say, thanks a ton mate..it was driving me crazy..surely,if the 6 plus can do it, my N6 can as well ??
Go to stock Google launcher settings and it now allows you to enable home screen rotation!
Also in Display settings you can set the screen to rotate or stay in portrait mode when the device is rotated.
That doesn't re-orient the desktop though, the same way
True, the desktop icon placement remains the samea as in portrait mode.
Google Now launcher provides this feature .
But in lock screen you need root access.
For me , I use Nova Launcher and sometimes I enable rotation .
And I use Gravitybox to enable lockscreen-rotation.
Related
Create custom FlipFont files with font preview and icon.
*At present this only works on Galaxy S phones, but should work if FlipFont is ported or released on other devices*
For Captivate users you will need to enable side loading apps first, because AT&T sucks. Check this thread if you still need to so this.
Why do we need to jump through hoops?
It seems that the fonts in the MonoType apks on the market are digitally signed. This is what is preventing the use of any old font being added to an APK. I believe the FlipFont app is looking for the digital signature in the font within the APK. If its not there, it does not use the font and reverts to using the default font. It MAY be possible to edit the FlipFont APK so that it no longer looks for the digital signature. This should allow us to use any font without jumping through hoops.
If you can find the FlipFont Apk please post its location or better yet PM me with its location. If your really feeling spunky ADB pull the file off your phone and post it here, so we can take a look at it.
Lets trick FlipFont. Heres what you need.
Apk Manager 4.8 found here. This will allow you to decompile and edit the APK attached at the bottom of this link. Dont worry its much easier then it sounds.
FontCreator 30 day trial found here. This is a windows only program. If you know of a cross platform, open source or FREE font editor please let me know. The one on source forge is not stable enough for use at present and its install needs its own walk through.
***Link for FontCreator has been downgraded to version 5, which will allow you to save fonts during the 30 day trial, unlike version 6. Thanks sigeltek***
Photoshop or Gimp. Note you only need this if you want to edit the icon file for the app. I will not go over editing the icon in the walk-through, this should be pretty self explanatory.
Digitally Signed Monoglyceride font found here For some reason Mediafire sees this as a jpg file. Click the download this image button in the link and you will see its actually a .ttf file. ODD :ºp
The Monoglyceride APK attached at the bottom of this link.
Walk-through editing the Monoglyceride font with FontCreator.
Open the Monoglyceride.ttf font with FontCreator
Open the .ttf font you want to use.
Make note of the number of Glyphs at the bottom right side of FontCreator when you have your font selected.
Click the Monoglyceride font window in FontCreator and choose edit>select all at the top of the program.
Hit delete on your keyboard. This should delete everything in the Monoglyceride window.
click Insert>Glyphs... at the top of the program
type in the number of glyphs your font has in it and hit ok. You should now see a bunch of empty glyphs in the Monoglyceride window.
Now switch back to your font and again hit edit>select all
Hit edit>copy
Swith back to the Monoglyceride window and click edit>select all... and then edit>paste special...
This will open up the Paste Special window. Put a check in every box in Item section and choose "Add Mappings" in the mappings section and then click OK.
If this worked properly you should see all of the characters and mappings from your font in the Monoglyceride.ttf window.
Close your fonts window in FontCreator
Click File>Save as, rename the Monoglyceride.ttf with the name of your font.
Thats it you now have a digitally signed font. If you want to double check, open the new font in windows and you should see that the font is still technicaly the Bauhaus font, but it now contains your fonts characters. :º)
*** eweo911 has just informed me of a quick way to resize the font if it is too large. You can check to see if its too big by double clicking on one of the glyphs after preforming the Paste Special section of the instructions above. Its best to choose one of the uppercase letters. If the glyphs image goes above the guide shown for cap it WILL be a large font on the phone. These guides are set in the perfect position for our phones screen.
Here is the quote from eweo911:
I have figured out how to make the fonts smaller so you can adjust them to fit the screen better. Not sure if anyone else has done it yet but here is what I did.
After you do the "Paste Special" in font editor (per Ritalins how-to), you will need to make sure all of the glyphs are highlighted in the new font. Yiou will then go to "Tools" and then "Glyph Transformer". Once there, you will select the "Selected" button, then under Available Features you will expand the Outlines tree. Select scale and then you will have two variables for Outlines-Scale. Choose an integer that you want to test with and then hit "ok". Save as your new font name and that should be it.
Click to expand...
Click to collapse
Walk-through editing the apk with Apk Manager 4.8
Download the monoglyceride.apk listed below.
Copy the apk into place-apk-here-for-modding folder in the Apk_Manager_4.8 directory.
Run script.bat and choose option 9
Open Apk_Manager_4.8\out\assets\fonts in explorer
Replace existing monoglyceride.apk font with the .ttf font you edited in FontCreator
edit all XML, yml and smali files to include the font name or font.ttf depending on the entry in the original file. Just replace monoglyceride in these files and folder with the name of your font. Pay attention to capitalization in the existing files, and make sure to do the same when replacing with your file name.
Edit the last folder name in the smali folder tree from monoglyceride to the name of your font
Edit the icon.png in the drawable folder with one of your own.
Compile apk - option 11
Sign apk option 12
Check the Apk_Manager_4.8\place-apk-here-for-modding folder and you should see repackaged-signed.apk along with the original monoglyceride apk. Rename your new signed.apk file the same as the monoglyceride one and just check the name at the end with your font name. This is not REALLY necessary, but do it for consistency sake.
install apk on your phone
This might take you about 30 minutes the first time you run through it, but after you get accustom to the steps you should be able to bang through it in about 10 minutes.
Well here you go, here is my first custom FlipFont APK.
Monoglyceride
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://www.mediafire.com/file/b63fa44f7ks7e3d/com.monotype.android.font.monoglyceride.apk
Its working perfectly for me, but let me know if you have any issues.
If you create a font with these instructions, please share it with the community. There is a thread in the Vibrant theme section found here.
Save this thread as a favorite or subcribed thread and you can easily view it and download the fonts in the XDA tapatalk app on your phone.
You will need Astro or Linda file browser to be able to download the fonts from your phone.
tried your mono .apk and got nothing. shows up on the flipfont list just fine, asks to reset the phone but there's no change when it comes back. -JH2 -ext2.3 lag
edit: worked on wife's phone. -stock w/oc'd kernel -ext2.1 lag
solufein said:
tried your mono .apk and got nothing. shows up on the flipfont list just fine, asks to reset the phone but there's no change when it comes back. -JH2 -ext2.3 lag
edit: worked on wife's phone. -stock w/oc'd kernel -ext2.1 lag
Click to expand...
Click to collapse
It's something in the lag-fix that kills flipfonts. I initially thought it was JH2, but I used them fine on stock+rooted. Doing the One-Click fix killed flipfonts, so I did RyanZA's phone only fix.
PS, all of the fonts in the Vibrant thread work swimmingly.
Works fantastic for me, thank you for posting and sharing. While I personally do not like the font posted, it does work and can't wait to see more.
benclayton said:
It's something in the lag-fix that kills flipfonts. I initially thought it was JH2, but I used them fine on stock+rooted. Doing the One-Click fix killed flipfonts, so I did RyanZA's phone only fix.
PS, all of the fonts in the Vibrant thread work swimmingly.
Click to expand...
Click to collapse
Glad it works. Not sure why it brakes with the one click fix. Most of the users in the Vibrant forums are using the RyanZA lag fix. Will remember this if someone asks why its not working. Thanks for the heads up.
smeltn said:
Works fantastic for me, thank you for posting and sharing. While I personally do not like the font posted, it does work and can't wait to see more.
Click to expand...
Click to collapse
Well there are quite a few there, but I understand if they are not all to your liking. I am now charing you with submitting one of your own. It will take you about 20 minutes the first time, but after you get the hang of it, you can get one done in about 5 minutes.
im running CFLagFix 1.80 and changing fonts doesnt work for me either
cachookaman said:
im running CFLagFix 1.80 and changing fonts doesnt work for me either
Click to expand...
Click to collapse
Do any of the other flipfonts that came with the phone work?
Sent from my SGH-T959 using XDA App
ritalin said:
Do any of the other flipfonts that came with the phone work?
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
the captivate doesnt come with any other fonts other than default
cachookaman said:
the captivate doesnt come with any other fonts other than default
Click to expand...
Click to collapse
What??? Thats robbery!!!
Well if you would do me a favor and download any of the flipfonts in the market and try it. If it doesnt work just uninstall for the refund.
Does the fix your running move the apps or another portion of the OS to the SD card or internal SD? If so my guess is that it does not read them in time for the launch of the OS and android loads up the fallback font instead.
As stated the RyanZA lag fix works great and the fonts work with it. I score about 2100 Quadrant with RyanZA lag fix installed. Might want to give it a try.
Changing the default font of your Aria
After trying without success different methods to change the fonts in my Aria, I decided to write the results of my experiences (when I was finally able to achieve what I wanted) in order to help others that my be trying to do so.
As always, before even trying to do any mod to your precious Aria, DO A NANDROID BACKUP!
Disclaimer: Try this under your own risk, I can not be held responsible for anything that can happen to your phone.
1.- You need to have your Aria rooted because these fonts are stored inside the Dalvik file system and by having “root” access, you can access these files in read-write mode.
2.- On your PC , download any True Type Font (files with extension .ttf) of your choice , you need two variants of these fonts “Normal” and “Bold”. You can browse and download fonts for free from the web.
3.- I, personally like CaviarDreams (Normal type) and CaviarDreams-Bold (Bold type).
4.- In your PC's main unit (in most cases, it would be C:\), create a folder and name it androidfonts, then, save the fonts you just downloaded in that folder.
5.- Whichever fonts you choose, you will have to rename them as DroidSans and DroidSans-Bold respectively.
6.- Turn your phone off. Enter recovery mode by holding "volume down" and "power" buttons at the same time when you turn on your phone. Keep holding for about 10 seconds. You are now in recovery mode if it says "clockwork" at the top.
7.- On the phone's recovery menu, navigate to Partitions, once there, select “mount system”, that will allow you to access files in read-write mode and make the desired changes.
8.- Now, you can connect your phone to the computer through the USB cable.
9.- In your computer, using adb* tool, write the following commands:
C:\Android\tools
adb push c:\androidfonts\xxxxxxxx.ttf /system/fonts/DroidSans.ttf
The above command will copy the new font.
Repeat this command to overwrite DroidSans-Bold.
Remember: xxxxxxxx.ttf are the fonts you previously downloaded and renamed.
10.- In your computer, type exit to exit adb.
11.- Do not disconnect your phone yet.
12.- On your phone's partitions menu, unmount your system.
13.- In the phone's recovery menu, go back and select reboot system.
You can now unplug your usb cable to disconnect your phone from the PC.
*You enter adb by launching Command Prompt aka as cmd prompt on your computer (better if you launch it as Administrator by right clicking on it)
Once you've launched cmd prompt, write in the cmd prompt box the following commands:
C:\Android(or whatever name you gave to your sdk file)\tools
Enjoy your new font.
If you search for fonts on the forums you can find a link to dozens of font packs that can be flashed from recovery the same way you flash a rom. You don't even need to clear any caches just flash the zip.
Sent from my Liberty using XDA App
hungmung said:
If you search for fonts on the forums you can find a link to dozens of font packs that can be flashed from recovery the same way you flash a rom. You don't even need to clear any caches just flash the zip.
Sent from my Liberty using XDA App
Click to expand...
Click to collapse
Thanks for your comment.
The reason I started this thread is because none of those fonts were of my liking, as I stated, I just wanted to share my experience in changing the font to one I really want and like.
Besides, by doing this, helps anyone practice their modding skills.
http://www.xda-developers.com/android/type-fresh-change-fonts-on-your-rooted-android-device/
Thanks for taking the time to write out this tutorial, I appreciate your efforts!
churapa said:
9.- In your computer, using adb tool, write the following commands:
Click to expand...
Click to collapse
I'm sure I can find it and right after I post this, I will start looking, but you might want to provide a link or a description on where to find "adb tool". That's the only part of your instructions that I don't think are crystal clear.
911jason said:
Thanks for taking the time to write out this tutorial, I appreciate your efforts!
I'm sure I can find it and right after I post this, I will start looking, but you might want to provide a link or a description on where to find "adb tool". That's the only part of your instructions that I don't think are crystal clear.
Click to expand...
Click to collapse
Updated instructions on first post. Also, remember post #235 from The Homescreen Snapshots thread?, there I linked what adb is.
hungmung said:
If you search for fonts on the forums you can find a link to dozens of font packs that can be flashed from recovery the same way you flash a rom. You don't even need to clear any caches just flash the zip.
Sent from my Liberty using XDA App
Click to expand...
Click to collapse
The thing about this is they are font PACKS...what if you don't want all those extra fonts? That's just wasted space IMO. Hence why churupa's way of doing this is better, though it may be a little more time consuming
I think you misunderstand there are dozens of separate packs you can download and each one is only for one font it just makes the process faster because you can just go into recovery and flash the zip
Sent from my Liberty using XDA App
So I found a font I like, but it's just slightly larger than the default font which causes some various issues with text not fitting like it should in Widgets. Is there a setting somewhere that we can access to adjust the font size a notch or two?
You can see what I mean in these screen caps. Notice on the home screen how the line coming down from SimiClock no longer has an even gap to run through in the weather widget and between the battery and data widgets. The only other problem I ran into was in the various settings menus for widgets where there is a numeric setting box, the font in those boxes is so large you can only see the bottom half of the numbers.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So I found a better match size-wise, it's not quite as cool of a font, but it still has some style. This one is Ubuntu and is available free here:
http://www.fontsquirrel.com/fonts/ubuntu
I used Ubuntu Regular for both Clockopia.ttf (LockScreen) and DroidSans.ttf
and I used Ubuntu Bold for DroidSans-Bold.ttf
911jason said:
You can see what I mean in these screen caps. Notice on the home screen how the line coming down from SimiClock no longer has an even gap to run through in the weather widget and between the battery and data widgets. The only other problem I ran into was in the various settings menus for widgets where there is a numeric setting box, the font in those boxes is so large you can only see the bottom half of the numbers.
Click to expand...
Click to collapse
What is that font?
Ummm... good question! Can't believe I left that out... I'm at work now, but I'll try to remember to post the name of the font later today.
Javi97100 said:
What is that font?
Click to expand...
Click to collapse
It is Sansumi.
911jason said:
It is Sansumi.
Click to expand...
Click to collapse
Um how did u install it cuz i tried flashing to through recovery and nothing happend? Any ideas
That zip file is just the fonts by themselves. You need to go to the first post in the thread and follow those instructions if you want to install the font on your phone.
What if you can't find the bold version of a font? Can I just rename a copy of the regular as bold?
tilt4life2 said:
What if you can't find the bold version of a font? Can I just rename a copy of the regular as bold?
Click to expand...
Click to collapse
sure, it just that text that should be bolded won't be bold.
kevina90 said:
sure, it just that text that should be bolded won't be bold.
Click to expand...
Click to collapse
I did everything here but I keep getting the following message:
cannot stat 'e:\androidfonts\DroidSans.tff': no such file or directory
E: is my main drive. I have SDK tools in F: drive. I even tried to move the androidfonts folder to Tools and then the font files to tools but I keep getting same message.
Edit: Problem was fixed thanks to DrSwattt's help.
Just found a font that is nearly perfectly equivalent to DroidSans in metrics: Leelawadee. It comes with Windows Vista/7. It's actually a Thai font but it has the complete latin character set. Using Leelawadee to replace DroidSans, you don't need to worry that the new font does not fit your theme. It's not fancy, but good enough for daily use.
Does anyone know if it'd be possible to edit the back/home/recent buttons to be the same as the ones from the Transformer? I see in the Xoom forum someone mentioned editing the SystemUI apk, which I don't have experience doing (don't mind a tutorial if someone can point me to one). I'm on the 3.1 Acer_A500_3.019.03_COM_GEN1 release that was posted recently if that helps.
What is so nice about them! Screenhot/pic?
Ya, I hate the Transformers version of those buttons. Much prefer Acers - which, I understand, are stock HC.
Dexter's 3.1 ROM use the Asus icons.
Sent from my A500 using XDA Premium App
bhageman said:
Dexter's 3.1 ROM use the Asus icons.
Click to expand...
Click to collapse
I'm actually using this ROM and I don't like the ASUS icons. I tried fixing it using root explorer by replacing the APK file I found in the Asus forum and it would crash on boot forcing me to wipe.
Can someone post the file I need to make this work? A CWM zip file would be best since i'm weary about using root explorer to do this.
I edited my buttons about a week ago. It went smoothly though I didn't flash a zip file but rather replaced the png files in the systemUI.apk
It's pretty straight forward; I just used es file explorer and 7zip. If you're interested I can post a quick tutorial when I get back home.
Btw, you sure you want to change them to the transformer icons? They're pretty ugly.
Sent from my EVO using XDA App
+1 for a tutorial.
cfrock said:
I edited my buttons about a week ago. It went smoothly though I didn't flash a zip file but rather replaced the png files in the systemUI.apk
It's pretty straight forward; I just used es file explorer and 7zip. If you're interested I can post a quick tutorial when I get back home.
Btw, you sure you want to change them to the transformer icons? They're pretty ugly.
Sent from my EVO using XDA App
Click to expand...
Click to collapse
It seem like a simple copy and paste, but a tutorial would be great.
If I were to make my own buttons entirely, would it be easier to do it this way or make it flashable. This seems easier though.
Completely forgot about getting back to this thread, sorry. Yeah, simple paste will do; rename the original systemUI.apk file just in case you want to go back to stock.
As always, you do this at your own risk, blah blah!!! Please read and understand what you are doing before trying this!
The 3 programs I used to do this: 7zip, ES File Explorer(on Tab) and Photoshop (You can use whatever you want). I have not looked into making flashable zips so this way was just easier for me.
1. Open Es File Explorer (free from market) on your Tablet and access settings options > check mark 'Root Explorer' and then check 'Mount File System' as writable.
2. Now within Es File Exp navigate to System/App/ There you will find the file you need to mod named 'SystemUI.apk' Copy it by long pressing on the file and select copy.
3. Now that it's copied, place the file somewhere on your sd card or anywhere else so you can copy it to your computer.
4. Once on your computer, Use 7zip right click and 'Open Archive'. The files you want are in res/drawable-mdpi/ so now find the specific icons you want to mod and copy them to a place where you can work on them with your choice of graphics editor (ie photoshop). Note that the bottom icons are in sets of 2 (standard icon and pressed icon). The icons referenced should start with 'ic_sysbar...'.
5. After modding your icons, 'Open archive' on the SystemUI.apk again and simply drag and drop your new icons into res/drawable-mdpi/ (Do not change the name of the files!) The file is now ready to be put back on the Tablet.
6. Copy the modded SystemUI.apk file onto your tab somewhere you'll know where to find it.
7. Using ES File Exp navigate back to System/App to file your original SysemUI.apk rename it something like SystemUI.apk.bak so you can go back to it if you want to later. This should cause your Tab to crash immediately upon completion. Don't freak out!
8. Hold down the power button to reboot your Tab.
9. After booting up, note your menu bar on the bottom has disappeared. No problem just press your Apps menu in the top right hand corner and open up ES File Exp. Locate and copy your modded SystemUI.apk into System/App/ Now back out and reboot.
10. Enjoy your new icons.
If you want to go back to stock, just rename your stock SystemUI file back to normal and kill the modded one you made.
If any questions let me know. Hope you find it helpful!
Check it out... I've been playing with swapping out a few of icons.
Home/Back/RecentApps and the Wifi icons. Also did a couple of backgrounds (2nd pic). Still playing around, I want to mod the battery meter to the circle battery meter with percentage.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I pulled the icons from this thread, so full credit goes here:
http://forum.xda-developers.com/showthread.php?t=1117649
cfrock said:
Check it out... I've been playing with swapping out a few of icons.
Home/Back/RecentApps and the Wifi icons. Also did a couple of backgrounds (2nd pic). Still playing around, I want to mod the battery meter to the circle battery meter with percentage.
I pulled the icons from this thread, so full credit goes here:
http://forum.xda-developers.com/showthread.php?t=1117649
Click to expand...
Click to collapse
I loved using that theme when i was using dexters primee. But im back on taboony and would love to be able to use those icons and settings interface again. If you get them fully ported will you post them here please. That would be awesome.
Sent from my A500 using XDA Premium App
pimpmaneaton said:
I loved using that theme when i was using dexters primee. But im back on taboony and would love to be able to use those icons and settings interface again. If you get them fully ported will you post them here please. That would be awesome.
Sent from my A500 using XDA Premium App
Click to expand...
Click to collapse
If you're interested, upload your SystemUI.apk and I can mod it for you. You would just have to follow the instructions on my previous post to install.
I also figured out the Circle Battery % in framework-res thanks to MagnusRagnarok (Thanks!).
If anyone else is interested, I can do it for them as well. Just let me know.
I plan on making a few different mods so if there is enough interest I'll start a new thread of Themes for A500's (maybe).
NinjaMorph on the market will save many of the steps and you can make the mods right on your tab. Just have the replacement icons on your SD card.
Overview
i went and downloaded a ton of those cubed icon's where/ what file do i need to put them to get them to work by default on my tab without having to use a DIFF launcher? inside the apks for the apps or is there something somewhere else??
Followed you instructions but....
cfrock said:
Completely forgot about getting back to this thread, sorry. Yeah, simple paste will do; rename the original systemUI.apk file just in case you want to go back to stock.
As always, you do this at your own risk, blah blah!!! Please read and understand what you are doing before trying this!
The 3 programs I used to do this: 7zip, ES File Explorer(on Tab) and Photoshop (You can use whatever you want). I have not looked into making flashable zips so this way was just easier for me.
1. Open Es File Explorer (free from market) on your Tablet and access settings options > check mark 'Root Explorer' and then check 'Mount File System' as writable.
2. Now within Es File Exp navigate to System/App/ There you will find the file you need to mod named 'SystemUI.apk' Copy it by long pressing on the file and select copy.
3. Now that it's copied, place the file somewhere on your sd card or anywhere else so you can copy it to your computer.
4. Once on your computer, Use 7zip right click and 'Open Archive'. The files you want are in res/drawable-mdpi/ so now find the specific icons you want to mod and copy them to a place where you can work on them with your choice of graphics editor (ie photoshop). Note that the bottom icons are in sets of 2 (standard icon and pressed icon). The icons referenced should start with 'ic_sysbar...'.
5. After modding your icons, 'Open archive' on the SystemUI.apk again and simply drag and drop your new icons into res/drawable-mdpi/ (Do not change the name of the files!) The file is now ready to be put back on the Tablet.
6. Copy the modded SystemUI.apk file onto your tab somewhere you'll know where to find it.
7. Using ES File Exp navigate back to System/App to file your original SysemUI.apk rename it something like SystemUI.apk.bak so you can go back to it if you want to later. This should cause your Tab to crash immediately upon completion. Don't freak out!
8. Hold down the power button to reboot your Tab.
9. After booting up, note your menu bar on the bottom has disappeared. No problem just press your Apps menu in the top right hand corner and open up ES File Exp. Locate and copy your modded SystemUI.apk into System/App/ Now back out and reboot.
10. Enjoy your new icons.
If you want to go back to stock, just rename your stock SystemUI file back to normal and kill the modded one you made.
If any questions let me know. Hope you find it helpful!
Click to expand...
Click to collapse
Now I get force closes on the systemui.apk when I go to try and load the settings. Any suggestions?
My bad. I accidentally renamed the wrong file when I first did the mod.
[HOWTO]More smooth scroll & volume step increase for MOST android phones[Poweramp OK]
※Do this when you completely understand this.
This is not for people who are noob to phone and computer things.
This is a framework.jar mod which will affect on overall scrolling and volume steps.
I've searched through several references and found some modification.
By following steps below, you will modify your rom's framework.jar.
And it will make your phone's volume control more precise and scroll to be more smooth.
Some phones may have different structure in framework.jar so I'm not sure.
(I've tested this on HTC desire and Motorola Atrix. I'm an Atrix user.)
Ok, so here's everything you need before start.
1. framework.jar of your phone. (Deodexed ROM needed)
2. Java software Development Kit
http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html
3. smali/baksmali tool (Thanks to the Korean guy, 'vorcot')
http://api2.ge.tt/0/9LvgHdB/0/blob/download
4. Text editor - Window basic text editor can be used..but I recommend Notepad++
http://notepad-plus-plus.org/
5. Program which can extract .jar file. (I prefer 7zip)
6. File manager which can access to phone's internal system.
(Like root explorer)
7. Your rom's original zip under SDcard for in case of bootloop.
A. Basic steps.
1. Unzip the smali/baksmali tool to certain folder and put the framework.jar in same folder.
2. Run baksmali manager.bat.
3. Select framework.jar by pressing 4 -> 2 in main menu.
4. Press 1 to Baksmali the framework.jar.
5. Wait.
6. Make it sure that new 'framework' folder is created and files inside it. (Don't close the baksmali manager window yet!)
B. Modification Steps
Volume steps mod
- Since I saw some people are complaining about android's volume control is jumping to large amount, I made some mod.
This will adjust your phone volume steps.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sorry for not showing you by English, but you can recognize the media volume counts increased from 15 to 30.
Here's what you have to modify:
1. Open the framework/android/media/AudioService.smali with text editor.
2. Press Ctrl + F to open the search window and serch for 'max_'
3. Continue search until you find the line below.
4. You can see the 'array_1ba' in screenshot. This may vary for roms. (But usually only '1ba' changes.)
This will lead you to data of max volume.
Search for 'array_1ba' again.
5. You will see like this:
This data's meaning is same with this. (From CM7 source)
6. So if you want modify your music or movie volume, you have to modify 4th line's 'f'.
(This 'f' means 15 by hexadecimal number)
If you use bluetooth, modify 7th line too.
I changed 'f' to '1e', which means 30 in hexadecimal number.
7. Press the text editor's save button if you finished.
Smooth scroll mod
Add - This tweak will be included in CM7 officially. Editing smali manually will not needed.
So you can find the option in performance setting. Thanks cyanogenmod team!
(But other stock based roms still can do this like 'Sense','Blur','Touchwiz',etc)
- Some android applications have some lag when they scroll.
I found in logcat that garbage collector is working to much when I do some scroll in application.
I googled about it and found the 'scrollingcache' function inside android making problem.
Some application developers recommend disable 'scrollingcache' in app's internal config.
But not all applications have disabled scrollingcache.
So the mod I'll do will disable the scrollingcache throughout the Android OS.
All apps will have no problem with scrollingcache.
I've had scrolling improvements with facebook,playerpro,poweramp,gallery apps , etc.
It is simillar with volume step mod but different value to change.
Here's what you have to modify:
1. Open the framework/android/widget/AbsListView.smali with text editor.
2. Search through 'ScrollingCache' and change it like below screenshot.
-----------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
3. Press the text editor's save button if you finished.
C. Finishing steps.
1. Come back to baksmali manager window.
2. Press 2 to smali.
3. Wait. (It will create classes.dex file after finish)
4. Open the framework.jar file with 7zip.
5. Overwrite the classes.dex file inside the framework.jar.
(You can just drag&drop the classes.dex file to 7zip window.)
D. Installing steps.
1. Put modified framework.jar to your phone's sdcard.
2. Open the phone's file manager which have root access and copy the modified framework.jar to /system.
3. Set permission to rw-r--r-- or like this:
4. Move it to /system/framework. (Select yes for overwrite.)
5. Reboot.
I've used a lot of time for searching this.
You can use this for your own rom but please tell me before you use it.
And any bug reports or impressions will be appriciated.
Enjoy
EDIT - Some people are complaining about volume mod that it is not working with poweramp.
You can use it by changing your setting.
Power Amp settings - Audio Engine - Advanced Tweaks - Uncheck 'Direct Volume Control'
This will solve the problem.
This info is by 'wd2347' from Korean Atrix forum.
Nice work! :-D
Also, in case of a boot loop, just a backup of the modded file should be OK.
From my fingers to your eyez
I have tried installing on my xperia arc s, steps by steps, and line of arc is 164 (.line165)
When I rebooted the machine and adjust volume from only min-> max, or max-> min, and no custom sorry my english is not good
le_manhpro said:
I have tried installing on my xperia arc s, steps by steps, and line of arc is 164 (.line165)
When I rebooted the machine and adjust volume from only min-> max, or max-> min, and no custom sorry my english is not good
Click to expand...
Click to collapse
Did you changed 'f' to '1e' ?
I think you have changed it to '1' instead of '1e'.
works great...thnx
Works great on my tablet novo 7 advanced.
Thanks A LOT!! VERY clear instructions, can't thank you enough. You must have put in a lot of time finding these stuff, so hats up from me.
Thanks for the write up! I'll have to try this out tonight!!
Sent from my SGH-T959V using XDA App
Thank you!! It works on Samsung Galaxy 3 (Apollo)! The first boot is been very long, like a bootloop, so I reboot two time after about 10 minutes of bootanimation, then the phone boot normally. It work like a charm!
AndroidON said:
Did you changed 'f' to '1e' ?
I think you have changed it to '1' instead of '1e'.
Click to expand...
Click to collapse
yes, I've changed as you said, so no need to change as directed, I will do anything to be so, sr my english is not good
Perfect!!!
Thank you
about changing f with 1e, does it mean to change 0xft with 0x1et or 0x1e?
I implemented the mod for the scolling improvement.
Thank you so much! It is working perfect!
The entire system is now scrolling fast and reactive+++, including home app!
Rando81 said:
about changing f with 1e, does it mean to change 0xft with 0x1et or 0x1e?
Click to expand...
Click to collapse
It needs to be 0x1et. The compile will fail if you use 0x1e. Without a "t" its an invalid array.
---------- Post added at 04:31 PM ---------- Previous post was at 04:19 PM ----------
AndroidON said:
...Do this when you completely understand this.
This is not for people who are noob to phone and computer things.
Click to expand...
Click to collapse
The scrolling mod is super... everything seems to scroll very smooth now.. no stuttering.
The audio mod didn't work correctly on the AT&T SGSII (SGH-I777) though. It stepped through volume increments of 0-30 (instead of 0-15) as your mod depicts, but the volume level max'd out a 15 and reset to "0" at 16. My AudioService.smali didn't have 'array_1ba'. Only an 'array_12'.
I'm happy the scrolling worked well though. Thanks for the mod... nice work!
Peaster111 said:
It needs to be 0x1et. The compile will fail if you use 0x1e. Without a "t" its an invalid array.
---------- Post added at 04:31 PM ---------- Previous post was at 04:19 PM ----------
The scrolling mod is super... everything seems to scroll very smooth now.. no stuttering.
The audio mod didn't work correctly on the AT&T SGSII (SGH-I777) though. It stepped through volume increments of 0-30 (instead of 0-15) as your mod depicts, but the volume level max'd out a 15 and reset to "0" at 16. My AudioService.smali didn't have 'array_1ba'. Only an 'array_12'.
I'm happy the scrolling worked well though. Thanks for the mod... nice work!
Click to expand...
Click to collapse
I've heard it from who use samsung galaxy tab p1000 too.
Maybe samsung devices have different method to get max volume.
Voodoo can affect max volume....I think.
AndroidON said:
I've heard it from who use samsung galaxy tab p1000 too.
Maybe samsung devices have different method to get max volume.
Voodoo can affect max volume....I think.
Click to expand...
Click to collapse
I have a admit I wasn't surprised. Samsung has has tweaked a lot of stuff. For example... The music player is hard coded to "15".
Thanks for the scrolling mod! It is clear you spent a lot of time and research on it.
Peaster111 said:
I have a admit I wasn't surprised. Samsung has has tweaked a lot of stuff. For example... The music player is hard coded to "15".
Thanks for the scrolling mod! It is clear you spent a lot of time and research on it.
Click to expand...
Click to collapse
You notice a difference? Realistic?
Wow..... I wasn't expecting much from the smoother scrolling and I've so far only tested on the xda app but I must say I'm impressed with how I can fling it straight to the bottom of the page without it lagging which I couldn't do on my crappy htc wildfire before.
Sent from my HTC Wildfire using xda premium
shoman94 said:
You notice a difference? Realistic?
Click to expand...
Click to collapse
Yes, but I'm not 100% sure. Scrolling overall seems smoother... no stuttering in apps that previously did. I moded gtg's v2.2.1 unnamed framework.jar with the scroll mod only and posted it in his ROM thread (post 3868). I'm hoping to get some feedback on it. Not much so far. I may have to put it out on its own thread and see what happens. Maybe you can try the mod out in your ROM?
Will try this later when I got to my PC. What is the theme you use, BTW?
Sent using Mini CM7 Pro by Paul
Hi all!
I was extremely disheartened when I discovered that XPosed and thus GravityBox would not work on my Google Pixel (or any phone with Nougat for that matter).
There are so many little tweaks to the OS that GravityBox can enable and I felt like I could not live without them. Having the day of the week in the status bar was a big one for me. It was such a big deal to me that I spent days messing with my Pixel, accidentally bricking it and wiping it and restoring it more times than I want to admit, just to get the day of the week in the status bar. Now I know I could have just downloaded an app that did it, but they always required a separate program running at all times and I hated that idea, especially since Android has the feature built-in.
So the problem is that GravityBox was able to modify the SystemUI.apk, but Xposed and thus GravityBox does not work with Nougat. Manually editing the SystemUI.apk on my Pixel always caused a lockup where SystemUI would crash and I could not boot my phone.
So after several weeks trying to figure this out, and with the help of other members, I was able to get these GravityBox-like tweaks to work on the Google Pixel! (though I definitely need some help getting code to make other tweaks, so if any of you know the codes of other tweaks, post them please!).
Anyway:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(as you can see I was able to unlock new SystemUI settings in the stock Android settings menu, as well as the date and day of the week in my status bar)
Step 1:
Make sure your Pixel is rooted with Magisk. I am using V12 because V13 caused my phone to be unusable for some reason (even with the Pixel guide). If you need the Magisk version that is for the Pixel specifically; the download, as well as a great guide, is available here: https://android.gadgethacks.com/how-to/install-magisk-your-pixel-pixel-xl-0177522/
Step 2:
Create a backup in TWRP. Use TWRP 3.0.2.0-RC1 for saltfish/Pixel. I had issues with RC2 not restoring my backups properly. When you choose backup, select the following: Boot, System Image (not system!), Vendor Image (not Vendor!), Data, and EFS. I have zero issues restoring my pixel with those selected (and System and Vendor de-selected). You don't have to do this step, but I like to do it in case a mistake is made.
Step 3:
After you have Magisk installed, you will need to download the zip from the link below. I titled it magiskXDAhelperWORKSnavbarENABLEd4.zip.
Please excuse the silly file name. I had to make so many different zips that I had to give them weird titles so I knew which ones worked and which ones didn't.
Install that Zip in TWRP. Reboot.
You should now notice in your status bar that you have the day of the week and the date. You will also have a new option in your System UI Tuner settings called "Navigation Bar". This will let you edit the navigation bar to your heart's content; as well as the option to remove the brightness slider if for some reason you'd want to.
In short, Android has these options built into the OS, but they don't have easy ways to enable or adjust them. I have no idea why. Anyway, long story short: XML files need to be edited to enable these types of settings or features. These tweaks are NOT separate programs constantly running on your phone which is why I love them.
Anyway you might not want the tweaks I included which is fine (day and date in status bar and extra options in settings menu). All you need to do is delete the layout and xml folders I created (and the XML files inside them) in magiskXDAhelperWORKSnavbarENABLEd4.zip\eviltheme\system\priv-app\SystemUIGoogle.apk\res
You will see later on how you will use the folders and files you create in the zip to make changes you like!
So back to the beginning: directly messing with your systemui.apk can be dangerous, @djb77 was nice enough to create a Magisk module that allows you to make these XML edits, without messing with your systemUI.apk. It basically finds these changes on your phone and makes the changes when your phone boots. It's great and safe, but unfortunately does not work with the Pixel due to the dual partitions the device has. @Tulsadiver is an awesome member of the XDA community and edited the module to work with the Pixel. Tulsadiver's edited module is what is inside of the magiskXDAhelperWORKSnavbarENABLEd4.zip I provided below, with the only difference being I added my XML edits that allows for the day of the week and date in the status bar, and the extra options unlocked in the SystemUI Tuner in the settings menu.
You can see where my edited XML files are in the zip and it will help you understand how this all works. Extract my magiskXDAhelperWORKSnavbarENABLEd4.zip and you will see a bunch of folders and files. Open the EvilTheme folder, then system folder, then the priv-app folder. Then the SystemUIGoogle.apk folder (it is named SystemUiGoogle.apk but it is NOT an apk. It is just a folder with that name). If you did not notice yet, this is how the actual SystemUIGoogle.apk is stored on your Pixel. SystemUiGoogle.apk is stored in the system/priv-app/SystemUIGoogle/ folder on your phone. So basically, this magiskXDAhelperWORKSnavbarENABLEd4.zip structure sort of "mimics" where things reside on your system folder. You will see if you decompile your SystemUIGoogle.apk that inside it has a /res folder and a /layout and /xml folder (amongst others) and you will notice the magiskXDAhelperWORKSnavbarENABLEd4.zip has it, too. Those contain the changes I made to enable what I mentioned.
Step 4
You might notice if you look at my XML files in the magiskXDAhelperWORKSnavbarENABLEd4.zip, they are a garbled mess. This is because they need to be in the "recompiled" format on your phone. You will notice if you decompile the SystemUiGoogle.apk, that those same XML files are nice and readable. So if you want to make any tweaks, you need to decompile your SystemUiGoogle.apk, edit the XML files you like, then recompile. Then because you are only using the XML files (and not the recompiled SystemUiGoogle.apk), you would use 7zip to unzip the SystemUiGoogle.apk and pick out the files that you edited. This time they will be a garbled mess, which is what you want. You then add them to their respective folder in magiskXDAhelperWORKSnavbarENABLEd4.zip
If you need help decompiling and recompiling the SystemUiGoogle.apk, I can help.
Get Tickle My Android here: https://forum.xda-developers.com/showthread.php?t=1633333
Make sure you get it up and running by following the directions there.
I will guide you through decompiling and recompiling since it is a bit different because Google renamed systemui.apk to SystemUiGoogle.apk for who knows what reason.
Once it is running, Go to the "settings menu".
Now select the "change favorite files" menu.
Press 1 and make that favorite file system/framework/framework-res.apk
Now go back to that menu and press 2 and make that favorite file system/priv-app/SystemUIGoogle/SystemUIGoogle.apk
Again we are doing this because TickleMyAndroid won't be able to find those due to them being renamed on the Pixel.
Now go back to the main menu, and choose the Theming Menu
Now choose the Pull Menu
Choose the option near the bottom that says Pull/Set Favorite File and pull AND install the 1st one (system/framework/framework-res.apk). You will only need to do this once. You do not need to do this again in the future unless you use a new computer or something.
Now you want to decompile your SystemUIGoogle.apk that is on your phone.
"Pull" the file from the favorites option; making sure you select the 2nd one this time. SystemUIGoogle.apk will be pulled from your phone and decompiled.
You will find the decompiled SystemUIGoogle.apk in your Tickle My Android folder, and in the \_WorkArea1\_working\SystemUIGoogle.apk folder (like on the zip I uploaded, this SystemUIGoogle.apk is the name of a folder and is NOT an apk!).
Now say you want to edit your status bar to have the date and day of the week in the status bar (make believe there are no folders or files in eviltheme/system that already do this for you). The code for that is this:
The file that needs to be edited is res\layout\status_bar.xml
Find this line: com.android.systemui.statusbar.policy.Clock and remove that entire code block and replace it with this:
Code:
<TextClock android:format12Hour="EEE MMM dd h:mm a" android:format24Hour="EEE HH:mm" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom" android:singleLine="true" />
Save the XML file.
Now we need to put that file in the magiskXDAhelperWORKSnavbarENABLEd4.zip in the proper location and flash it in TWRP. But remember, we can't put in the "easy to read" .XML. It needs to be the garbled one you get when the apk is compiled. So in TickleMyAndroid, simply go to "recompile app with original signature" in the the "quick menu". Choose SystemUIGoogle.apk. Find the recompiled one that was just created. Unzip it (yes you can unzip an apk!) and look for status_bar.xml
Take this status_bar.xml and place it in the magiskXDAhelperWORKSnavbarENABLEd4.zip in the \eviltheme\system\priv-app\SystemUIGoogle.apk\res\layout folder and that's it! Flash the zip in TWRP and when you reboot, you should see your changes! Congrats! You've successfully "edited" your SystemUI.apk without ever touching the original file, and without needing to stay on Marshmallow to use XPosed/Gravitybox!
Since this took me such a long time to figure out (even with the help of XDA forum members!) I figured a nice guide like this would be helpful to others and I could pay it forward.
I am going to reserve the next post for us all to post nice systemui XML and other edits that will give us nice custom tweaks! So if you know some, please reply with them because finding them online can be a nightmare (not to mention some of them I have yet to be able to find!).
Enjoy!
This space will be reserved for useful customization edits and tricks forum members may come across. They are very difficult to find, so any would be appreciated! Also feel free to add a "wish list" and I will add it to this page.
XML code edits:
To get the navigation bar edit menu to show up in SystemUI settings:
edit: res/xml/tuner_prefs.xml
Before this line:
<Preference android:title="@string/other" android:key="other" android:fragment="com.android.systemui.tuner.OtherPrefs" />
Place this:
Code:
<Preference android:title="@string/nav_bar" android:key="nav_bar" android:fragment="com.android.systemui.tuner.NavBarTuner" />
(do not erase any code. Just place that line before the other line).
-------------------------------------------
To put the Day of the week and date in the status bar:
edit: res\layout\status_bar.xml
Find this line: com.android.systemui.statusbar.policy.Clock and remove that entire code block and replace it with this:
Code:
<TextClock android:format12Hour="EEE MMM dd h:mm a" android:format24Hour="EEE HH:mm" android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:id="@id/clock" android:paddingLeft="3.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom" android:singleLine="true" />
You can change the format of it where I put in "EEE MMM dd h:mm a" and make it look the way you like:
d.............Day Of Month (single digit) 7
dd.......... Day Of Month (double digit) Zero, 07
EEEE......Day Of Week (Full) Monday
EEE........Week Day (Short) Mon
MMMM....Month (Full) AUGUST
MMM.......Month (Short) AUG
MM..........Month (double digit) 08
M............Month (Single digit) 8
yyyy........Year (Full) 2013
yy............Year (Short) 13
h..............Hour (12 hour, single digit) 8
hh............Hour (12 hour, double digit) 08
H.............Hour (24 hour, single digit) 8 20
HH...........Hour (24 hour, double digit) 08 20 (Note: some roms use kk instead)
m.............Minute (single digit) 9
MM..........Minute (double digit) 09
s..............Second (single digit) 9
ss............Second (double digit) 09
a..............Marker AM/PM
Click to expand...
Click to collapse
Thanks to @Spannaa for posting that code back in 2014!
WISH LIST:
This is for a list of tweaks that were available in Xposed/Gravitybox that I have not been able to find the code for. Feel free to reply to this thread and I will add your wishlist to this one!
1) automatically have all volume sliders expanded instead of just the one Android thinks you want to adjust
2) Adjust brightness by moving finger across status bar (this used to be an option in Android when you enabled SystemUI Tweaks so it definitely can be enabled; I just can't find the code for pure Android)
3) Enable holding the back button to force close the foreground app.
4) Allow pressing the back button twice quickly to enable/disable auto-rotate
5) Allow moving the text entry cursor back and forward using volume buttons
6) Battery percentage only (no icon) in status bar
7) Automatically default to file transfer mode instead of charging when plugged into a computer
8) Put screen shot and "restart to recovery" options in power menu
Very nice work and detailed information. That's what XDA is all about!
I wonder if other Xposed modules such as Xinstaller or App Settings work similarly to Gravity Box.
Your method seems reminiscent of tweaks that can be performed by editing db files with SQL editor apps.
xdadevnube said:
Very nice work and detailed information. That's what XDA is all about!
I wonder if other Xposed modules such as Xinstaller or App Settings work similarly to Gravity Box.
Your method seems reminiscent of tweaks that can be performed by editing db files with SQL editor apps.
Click to expand...
Click to collapse
Thank you!
Yeah a lot of these things are as simple as editing an xml file. I just wish it were easy to find what edits do what around the web.