Soft Keys - HTC One S

I got soft keys working fine on a CM10 rom, but one thing is the Menu button doesn't work when in apps like it should. It can be pressed but no reaction. Same with remapping Recent Apps hard key to Menu. Any ideas?

mattlgroff said:
I got soft keys working fine on a CM10 rom, but one thing is the Menu button doesn't work when in apps like it should. It can be pressed but no reaction. Same with remapping Recent Apps hard key to Menu. Any ideas?
Click to expand...
Click to collapse
Why don't you ask in cm10 thread?
Logcat?
In all apps or just in some?
Have you tryed to restart or wipe caches?

CrayzyBoy said:
Why don't you ask in cm10 thread?
Logcat?
In all apps or just in some?
Have you tryed to restart or wipe caches?
Click to expand...
Click to collapse
It shows up in all the apps that normally need menu like Tapatalk.
I have wiped data, cache, dalvik, etc, rebooted. I've given up soft-keys for now... the main issue is that this phone was never bothered to be given the function for MENU mapped to a button I guess since it didn't come with one.

mattlgroff said:
It shows up in all the apps that normally need menu like Tapatalk.
I have wiped data, cache, dalvik, etc, rebooted. I've given up soft-keys for now... the main issue is that this phone was never bothered to be given the function for MENU mapped to a button I guess since it didn't come with one.
Click to expand...
Click to collapse
Goto settings > System and look for hardware buttons option. You should be able to set the call for each button, single and long presses. If not, then it must be hardware; doubt it.

Closed Source Project said:
Goto settings > System and look for hardware buttons option. You should be able to set the call for each button, single and long presses. If not, then it must be hardware; doubt it.
Click to expand...
Click to collapse
It gets automatically disabled if you boot with soft-keys enabled sadly. Same rom with unmodded framework has that option. Meaning that the function is there... just not mapped to what 'menu' should be. I can see why they never bothered, but coming from soft-key phones I miss it a lot
Screenshot of my phone in SpeedTest (I modded SystemUI to use the Motorola soft-keys):
{
"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've actually been looking for a way to do that on my one s. How do you enable on-screen soft keys?

Kamilr97 said:
I've actually been looking for a way to do that on my one s. How do you enable on-screen soft keys?
Click to expand...
Click to collapse
Enabling is easy enough, using Apk Manager or APK Tool you decompile framework-res.apk. Inside /res/values/bools.xml is a line mentioning
"showNavigationBar = false" you change this "false" to "true" and re-compile the framework-res.apk.
Disabling hard keys is commenting out and/or deleting the lines in the /system/usr/keylayout/ files that mention HOME, SEARCH, BACK, and MENU.
Disabling backlights requires a script. I run an init.d script I found on these forums to do it since the HTC One S is different from the normal way and have to do it on every boot.
Code:
#!/system/bin/sh
# call userinit.sh and/or userinit.d/* scripts if present in /data/local
chmod 666 /sys/class/leds/button-backlight/max_brightness
echo 0 > /sys/class/leds/button-backlight/max_brightness
chmod 444 /sys/class/leds/button-backlight/max_brightness
As I said before though, MENU refuses to work for some reason. I switched back to hardkeys until someone else can take a look than knows more than I.

mattlgroff said:
Enabling is easy enough, using Apk Manager or APK Tool you decompile framework-res.apk. Inside /res/values/bools.xml is a line mentioning
"showNavigationBar = false" you change this "false" to "true" and re-compile the framework-res.apk.
Disabling hard keys is commenting out and/or deleting the lines in the /system/usr/keylayout/ files that mention HOME, SEARCH, BACK, and MENU.
Disabling backlights requires a script. I run an init.d script I found on these forums to do it since the HTC One S is different from the normal way and have to do it on every boot.
Code:
#!/system/bin/sh
# call userinit.sh and/or userinit.d/* scripts if present in /data/local
chmod 666 /sys/class/leds/button-backlight/max_brightness
echo 0 > /sys/class/leds/button-backlight/max_brightness
chmod 444 /sys/class/leds/button-backlight/max_brightness
As I said before though, MENU refuses to work for some reason. I switched back to hardkeys until someone else can take a look than knows more than I.
Click to expand...
Click to collapse
When i re-compile the apk, it ends up being 6mb instead of 9mb, could you send me it?

Kamilr97 said:
When i re-compile the apk, it ends up being 6mb instead of 9mb, could you send me it?
Click to expand...
Click to collapse
Sure thing.
/system/framework/framework-res.apk
/system/app/SystemUI.apk
^Motorola soft-keys
Cheers

mattlgroff said:
Sure thing.
/system/framework/framework-res.apk
/system/app/SystemUI.apk
^Motorola soft-keys
Cheers
Click to expand...
Click to collapse
You are awesome :highfive:

Kamilr97 said:
You are awesome :highfive:
Click to expand...
Click to collapse
Everything is perfect besides no menu functionality. I don't know how One S users with only 3 hard keys have survived so long on remapping them and not going soft keys.
Sent from my HTC One S using Tapatalk 2

Can you re upload files
can you please repost files as i have been having some issues trying to edit the apk, and im in dire need, my "hard" keys are not working from time to time

Ryuka21 said:
can you please repost files as i have been having some issues trying to edit the apk, and im in dire need, my "hard" keys are not working from time to time
Click to expand...
Click to collapse
Links should be fixed.

Related

No ring tones after installing A2SD

So... after install A2SD 2.5 last night (never had A2SD before)
Now I have no ring tones, neither custom or "factory"
{
"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"
}
To if see your "factory" ringtones are still there check the /system/media/audio/notifications/ directory. But as for your custom ones they got wiped off your sd when you partitioned it.
adb remount
adb shell
$su (**if needed)
# cd system/media/audio/notifications (or /ringtones)
# ls
hows that qoute go? a2sd demanded my wallet before stealing my girlfriend...? all ive heard is complaints about the new a2sd
If you have sounds in /sdcard/media/audio or /system/media/audio then restart and check again. If it's still empty, wait a couple of minutes. They will suddenly appear.
If they still don't appear, try moving one sound into /system/media/audio/ringtones and reboot again. When they all show up, you can leave the one sound in system memory or move it back.
This frustrated me for hours last night!
mountaindont said:
hows that qoute go? a2sd demanded my wallet before stealing my girlfriend...? all ive heard is complaints about the new a2sd
Click to expand...
Click to collapse
Most of the people complaining don't know much about a2sd or partitioning. That, and I'm thinking some of them also are creating an ext4 partition, whicn A2SD 2.5 doesn't recognize.
I'm working on another version that will recognize ext4 as well as attempt to be smarter.
Las_Vegas said:
If you have sounds in /sdcard/media/audio or /system/media/audio then restart and check again. If it's still empty, wait a couple of minutes. They will suddenly appear.
If they still don't appear, try moving one sound into /system/media/audio/ringtones and reboot again. When they all show up, you can leave the one sound in system memory or move it back.
This frustrated me for hours last night!
Click to expand...
Click to collapse
This has nothing to do with A2SD (on any version, including mine)...A2SD doesn't touch /system/media. Could it be the ROM?
tkirton said:
This has nothing to do with A2SD (on any version, including mine)...A2SD doesn't touch /system/media. Could it be the ROM?
Click to expand...
Click to collapse
This problem didn't exist before installing A2SD 2.5. I was using A2SD 2.0 previously with my sounds moved to the memory card and had no problems.
tkirton said:
...A2SD doesn't touch /system/media.
Click to expand...
Click to collapse
I think this guy knows what A2SD does and doesn't do considering he rebuilt it to 2.5.
Did u check the system/media/audio/ directories?
kyouko said:
I think this guy knows what A2SD does and doesn't do considering he rebuilt it to 2.5.
Did u check the system/media/audio/ directories?
Click to expand...
Click to collapse
Nobody said it does touch those files. I'm suspecting a slowdown in reading/changing the cache file(s) used to maintain these lists.
Having been a programmer for 30 years, I know that it's not uncommon to get unplanned and unusual side effects that don't seem related to the code. Just because I wrote it, doesn't mean I know how everything that someone else wrote is going to react to my code.
yeah my bad, i've been an ass lately on here. try clearing ur caches then and even the dalvik, i had a prob with things not showing up b4 and that helped me
Las_Vegas said:
Nobody said it does touch those files. I'm suspecting a slowdown in reading/changing the cache file(s) used to maintain these lists.
Having been a programmer for 30 years, I know that it's not uncommon to get unplanned and unusual side effects that don't seem related to the code. Just because I wrote it, doesn't mean I know how everything that someone else wrote is going to react to my code.
Click to expand...
Click to collapse
I think I got a little too defensive on it. You're right, each environment is different.
I think you may be onto something. The difference between 2.0 and 2.5 is the moving of the dalvik-cache. DamageControl uses the 2.0 version.
On 2.5, if he executes the following command on his phone: /system/bin/a2sd nocache, it will put the dalvik-cache back on internal memory.
I tested the program using a Class 6 card...not sure how the dalvik-cache reacts with, say, a Class 2 card. The write speed may be too slow to keep up.
Well....
/system/media has nothing but the bootscreen folder in it, and everything that was on my SD card prior to partitioning was put back on there. I really didn't have but a few songs for ringtones that I used ring tone trimmer (HTC). I was content with the "factory" ring tones.
Anybody feel like pulling the HTC ring tones and zipping them up? I'd appreciate it. A helluva lot easier than nandroiding back and forth some old ROM.
Thanks,
Jonathan
poor_red_neck said:
Well....
/system/media has nothing but the bootscreen folder in it, and everything that was on my SD card prior to partitioning was put back on there. I really didn't have but a few songs for ringtones that I used ring tone trimmer (HTC). I was content with the "factory" ring tones.
Anybody feel like pulling the HTC ring tones and zipping them up? I'd appreciate it. A helluva lot easier than nandroiding back and forth some old ROM.
Thanks,
Jonathan
Click to expand...
Click to collapse
Here you go:
http://www.darktremor.com/upload/htcmedia.zip
1. Unzip the contents to a folder
2. Open a command prompt or a terminal session. Navigate to the directory you extracted the contents of the zip
3. In the folder, remount the filesystem to read-write mode by typing adb remount
4. Create an audio file by typing adb shell "mkdir /system/media/audio"
5. Change the permissions of the folder by typing adb shell "chmod 777 /system/media/audio"
6. Push the files to the phone by typing adb push . /system/media/audio
Hopefully, that's it.
If you need help, let me know.
thanks. I pushed them and everythings back to normal.
Just for ****s and giggles... I re-flashed and installed A2SD and it did it again... dont know why but it deleted the /system/media/audio folder. Very strange.
poor_red_neck said:
thanks. I pushed them and everythings back to normal.
Just for ****s and giggles... I re-flashed and installed A2SD and it did it again... dont know why but it deleted the /system/media/audio folder. Very strange.
Click to expand...
Click to collapse
Wait...you reflashed the ROM? What ROM are you using?

[GUIDE]Enable more homescreens on default launcher

In this guide I will show you how to enable more than the defaulft 5 homescreens
First of all, you'll need Apk Manager, this can be downloaded here.
Extract the zip to a folder you like, I'll use C:\Apk Manager\ in this guide!
Download the Home.apk from this post, note: it's for the .145 fw only.
Copy the Home.apk to C:\Apk Manager\place-apk-here-for-modding\
After you've done that, open Script.bat.
Select option 9.
Now the Home.apk will be decompiled.
When it's done decompiling, go here C:\Apk Manager\projects\Home.apk\res\values.
Open integers.xml with Notepad and go line 10. Will look like this:
Code:
<integer name="number_of_desktop_panes">5</integer>
You can change that number 5 to any number you like, let's use 9:
Code:
<integer name="number_of_desktop_panes">9</integer>
Open values/styles.xml and change line 16:
Code:
<style name="Layout.ButtonContainer">
to this
Code:
<style name="Layout.ButtonContainer" parent="@android:style/Theme.Wallpaper.NoTitleBar">
Save and close the files. Now go back to the Apk Manager tool and select option 11, the apk will now be compiled again. It will ask you this:
Is this a system apk (y/n)
Answer with y and press enter.
After that you'll get another question:
Aside from the signatures, would you like to copy
over any additional files that you didn't modify
from the original apk in order to ensure least
# of errors (y/n)
Anwer with y again.
Now this will show up:
In the apk manager folder u'll find
a keep folder. Within it, delete
everything you have modified and leave
files that you haven't. If you have modified
any xml, then delete resources.arsc from that
folder as well. Once done then press enter
on this script.
Go here C:\Apk Manager\keep and delete resources.arsc.
Now go back to the Apk Manager tool and press enter.
In C:\Apk Manager\place-apk-here-for-modding you'll find this: unsignedHome.apk. Rename it to Home.apk and push it to your device with adb.
Adb commands:
Code:
adb push Home.apk /sdcard/
adb shell
$su
#mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
#busybox cp -R /sdcard/Home.apk /system/app/
#sync
#reboot
After the restart you should have 9 homescreens
{
"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"
}
Thanks,works perfectly.
Now all I need is landscape rotation ...
Cool stuff. What will happen to my existing homescreens and all the widgets and icons on them after doing this? Will they get wiped?
And what about the overall performance? Any "lags" during games with so many homescreens?
Edit: Tried it, but got a message after starting the script.bat, saying that i have no java?! I have Java installed on my system. What should i do?
Montechristo1979 said:
Cool stuff. What will happen to my existing homescreens and all the widgets and icons on them after doing this? Will they get wiped?
And what about the overall performance? Any "lags" during games with so many homescreens?
Edit: Tried it, but got a message after starting the script.bat, saying that i have no java?! I have Java installed on my system. What should i do?
Click to expand...
Click to collapse
For some reason some widgets disappear, the best thing to do is clear data with Titanium backup and design your homescreens again
I didn't noticed any lag at all
Uhm, you might need Android SDK to be installed on your pc.. I could also compile the apk for you
I think i have the SDK on my netbook, but its about 100 km away. If you could compile it, i wouldnt say no
How many screens would you like to have?
I would like to try it with 9
Then you could just download the package from the first post
Oh, hehe, yes, um, i think i missed that one
I have root. Do i have to use adb push, or can i copy/paste the file to my device?
It's probably possible to just copy/paste it, but I prefer using adb
Maybe i did something wrong?! I copied the apk, but i played around with the permissions. After reboot the homescreens were empty, but not 9, just 5. So i checked the permissions of the old home.apk (did a backup before copy). I took the same permissions and did a reboot again. Now the phone boots up, i can unlock it, but there is no homescreen. All i see is the notofication-bar. What can i do?
Edit: I can access my apps and data using my WaveLauncher. I try to set other permissions. Maybe it will work.
Edit2: Ok, i set permissions like every other app within /system/app. Now i can access the homescreen again. Its empty, and i have 5 screens. But when i try to add a widget on my "main" homescreen, it says that there is not enough space. So i think the old widgets are still there, but i cant see/remove them. What can i do?
Montechristo1979 said:
Maybe i did something wrong?! I copied the apk, but i played around with the permissions. After reboot the homescreens were empty, but not 9, just 5. So i checked the permissions of the old home.apk (did a backup before copy). I took the same permissions and did a reboot again. Now the phone boots up, i can unlock it, but there is no homescreen. All i see is the notofication-bar. What can i do?
Edit: I can access my apps and data using my WaveLauncher. I try to set other permissions. Maybe it will work.
Edit2: Ok, i set permissions like every other app within /system/app. Now i can access the homescreen again. Its empty, and i have 5 screens. But when i try to add a widget on my "main" homescreen, it says that there is not enough space. So i think the old widgets are still there, but i cant see/remove them. What can i do?
Click to expand...
Click to collapse
happened to me before, stop the process and clear the data
Didn't work for me, couldn't get it to install, kept getting persmission denied through adb, despite the fact I'm rooted!
Could someone upload a version with 3 homescreens please?
Also, in the res/xml/default_settings_apptray -> could someone change the default sort to az instead of free! This means it should automatically sort it alphabetically and will remember it on restart...a bug in the current build.
Thanks guys
Niall
Works for me now. I did a complete new flash and root and now building up everything from scratch. Feels better now
Nhialor said:
Didn't work for me, couldn't get it to install, kept getting persmission denied through adb, despite the fact I'm rooted!
Could someone upload a version with 3 homescreens please?
Also, in the res/xml/default_settings_apptray -> could someone change the default sort to az instead of free! This means it should automatically sort it alphabetically and will remember it on restart...a bug in the current build.
Thanks guys
Niall
Click to expand...
Click to collapse
Added the one with 3 screens to the first post
No luck on the order thing yet, sorry..
works a charm, thanks man
Works like a champ lo lags on 9 screens.Thanks
xperia play not showing up on adb devices. Why?
do I need root for this or will it push without? I used adb to save the angry birds high score successfully without root but don't know if this will work same way or not. thank you
is it possiable to make an app that will install it for us

[APP][ROOT] Simple Reboot v4p10

{
"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"
}
Do you want to reboot and your rom doesn't have that shortcut?
Do you want to enter the recovery and you don't want to enter the line manually into the terminal?
Do you want to enter your bootloader to use fastboot and there is no way reboot into it?
Be afraid no more! This simple application gives you 3 shortcuts to do all these tasks without having to type it into command lines. You just need root permissions and you're good to go!!!
It only does what it's advertised, nothing else.
Can't be easier than this.
Play Store link: goo.gl/LG4rxB
Screenshots:
Installed and using! Really handy
franciscofranco said:
Do you want to reboot and your rom doesn't have that shortcut?
Do you want to enter the recovery and you don't want to enter the line manually into the terminal?
Do you want to enter your bootloader to use fastboot and there is no way reboot into it?
Be afraid no more! This simple aplication gives you 3 shortcuts to do all these 3 tasks without having to type the lines into command lines. You just need root permissions and you're good to go!!!
A single click in the icon and boom, the device will do as its told, hassle free, easy and FAST, no interface involved or strange permissions asked, it only does what it's advertised, NOTHING MORE.
Can't be more easy than this.
Market link: https://play.google.com/store/apps/details?id=simple.reboot.com
Click to expand...
Click to collapse
Can we have a single shortcut with all the option in that like quickboot app?
coolgal302006 said:
Can we have a single shortcut with all the option in that like quickboot app?
Click to expand...
Click to collapse
No, thats not my intent.
Sent from my GT-I9300 using xda premium
Can you make me a simple reboot app with no option to reboot in to the recovery, no shutdown, no confirm, no wait for countdown.
I just want an reboot app that can be run through another app, app run > phone reboot. No need widget or UI, just an app with icon in app drawer and when i click that icon, boom, phone reboot without asking for confirm or else.
I use LG L3 res 320x240 on 2.3.6 stock, and yes,my phone is rooted.Sorry for bad english.
Ermahgerd!
New release with a Material UI for the main navigation, new icon and full compatibility with Lollipop.
Looks great but could you add soft reboot option?
pm.reboot("oem-53");
Reboot to flash mode for Xperia.
Great!
Can u add systemui/launcher reboot? Cuz some changes with some apps, don't need total rebot.
Fuzark said:
Great!
Can u add systemui/launcher reboot? Cuz some changes with some apps, don't need total rebot.
Click to expand...
Click to collapse
And reboot to download mode for Samsung. su -c "reboot download"
Any chances I could have the .apk for it? My nexus 4 power button is gone, and I flashed cm12 but the gapps failed to install. Now I'm the ROM but no way to boot to recovery. I don't have play services nor play store so I can't install via my browser. Any help??
Edit: Got it with adb. I don't know where to delete this post.
New update:
v4p10
1 - Add Soft Reboot option to reload the UI without hard rebooting the device
2 - Add option to reboot into Safe Mode
3 - Now sending a system broadcast that the device is going to reboot so that it safely flushes any outstanding data for a clean reboot operation
4 - Decrease the priority of the background threads of each request to prevent any type of starvation
5 - Fixed one FC that could be triggered if a View was null for some weird reason
cgollner said:
Installed and using! Really handy
Click to expand...
Click to collapse
same remarque
dvbgsmpc said:
same remarque
Click to expand...
Click to collapse
I get a "Values not applied. Unclean shutdown, values not applied" from NoFillsCPUControl when I reboot using SimpleReboot as installed from the PlayStore on my N5 under AOSP. I'm running PHH's su, if that makes a difference.
When I install the app directly to /system/app (create folder, copy APK, rename, permissions, etc.) everything works as expected with no "unclean shutdown" error.
Should this be happening?
Well, it was working. Now I'm getting the "Values not applied. Unclean shutdown, values not applied" with it put in system as well. I get a toast from su letting me know it's given permission. I can open a terminal and type "su -c 'svc power shutdown'" or "su -c 'svc power reboot'", and it (very) quickly works and returns without error.

[MOD][VZW] Stock 4.4.2 - Battery Text + Wireless Tether + 4-way Reboot + More

These Mods are only for VZW 4.4.2 STOCK. This WILL NOT work with ART enabled.
Mods that have been done:
Centered Statusbar Clock
ICS Blue Battery Icon with Percentages
AOSP Signal Bars
Replaced ugly VZW 4G icon with AOSP 4G icon
4-way Reboot Menu
Native Wireless Tether
Disabled Safe Media Volume pop-up
Enabled CRT Animation
{
"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"
}
Installation via Recovery:
Make a backup of your ROM or backup the following files:
/system/framework/android.policy.jar
/system/framework/android.policy.odex
/system/framework/framework-res.apk
/system/priv-app/SystemUI.apk
/system/priv-app/SystemUI.odex
Flash XT1060-442-MultiMod.zip via TWRP/CWM. (Do NOT clear cache and dalvik, otherwise you'll get SystemUI FC's)
Return to STOCK via Recovery:
Flash XT1060-442-Orig-NoMultiMod.zip via TWRP/CWM.
Downloads:
XT1060-442-MultiMod.zip ---- This is the Mod
XT1060-442-Orig-NoMultiMod.zip ---- This is to Return to Stock
** Will repost links on AndroidFileHost tonight, since xda is not allowing me upload zips larger than 2 mb when it says up to 11 mb?!?!
Credits go to the following people:
@chaoslimits for the statusbar icons and native tether
@homeslice976 for the battery text
@twistedumbrella for the 4-way reboot menu and center clock
@elesbb for the disabling of safe media volume
Thanks!!
** Flash at your own risk. I am not responsible for what happens to your device.
Nice work. Why not leave the battery as white with black (w/e color) text?:
http://forum.xda-developers.com/showthread.php?t=2533912&highlight=bold
chaoslimits said:
Nice work. Why not leave the battery as white with black (w/e color) text?:
http://forum.xda-developers.com/showthread.php?t=2533912&highlight=bold
Click to expand...
Click to collapse
Honestly, I found that with the white battery, it was difficult to read the text no matter what color. Like for black text, once the battery was down below 50%, you could only really read half or less of the text (unless you gave it a good look). I tried red text and that just kind of freaked out my eyes. My best answer is probably that I'm just not ready to give up ICS blue...
Thanks for this. Any chance of incorporating long press volume to skip song? I've been hoping for this mod on stock along with the others you have here.
Sent from my XT1060 using Tapatalk
APeaceofStrange said:
Thanks for this. Any chance of incorporating long press volume to skip song? I've been hoping for this mod on stock along with the others you have here.
Sent from my XT1060 using Tapatalk
Click to expand...
Click to collapse
I'll check into it, but I can't make any promises...
Sent from my XT1060 using XDA Premium 4 mobile app
Thanks for this. I'm most interested in the "4-way Reboot Menu" MOD and was wondering if android.policy.jar had other mods build into it other than "4-way Reboot Menu"
Thanks
hartv427 said:
Thanks for this. I'm most interested in the "4-way Reboot Menu" MOD and was wondering if android.policy.jar had other mods build into it other than "4-way Reboot Menu"
Thanks
Click to expand...
Click to collapse
Only mod in android.policy.jar is the "4-way Reboot Menu". Do you have a request to add something else?
roeblatt3 said:
Only mod in android.policy.jar is the "4-way Reboot Menu". Do you have a request to add something else?
Click to expand...
Click to collapse
4-way Reboot Menu is all I was looking for thanks for posting the file
hartv427 said:
4-way Reboot Menu is all I was looking for thanks for posting the file
Click to expand...
Click to collapse
Just an FYI, the android.policy.jar must be installed with the framework-res.apk in the zip. The framework has an extra .png that is not in the original. The power button won't work correctly without both of those. If you just want the 4 way reboot menu, I may have one without the extra .png.
roeblatt3 said:
Just an FYI, the android.policy.jar must be installed with the framework-res.apk in the zip. The framework has an extra .png that is not in the original. The power button won't work correctly without both of those. If you just want the 4 way reboot menu, I may have one without the extra .png.
Click to expand...
Click to collapse
I see thanks for the info i didn't know that. I would very much like 4 way reboot menu + Native Wireless Tether but not if it's to much trouble
hartv427 said:
I see thanks for the info i didn't know that. I would very much like 4 way reboot menu + Native Wireless Tether but not if it's to much trouble
Click to expand...
Click to collapse
You'll need both android.policy.jar (Reboot menu) and framework-res.apk (Native Wireless tether) from the zip. Only things that framework-res.apk has in addition to tether are disabled Safe Media Volume and enabled CRT animation. SystemUI has all the statusbar mods. Does that work for you?
roeblatt3 said:
You'll need both android.policy.jar (Reboot menu) and framework-res.apk (Native Wireless tether) from the zip. Only things that framework-res.apk has in addition to tether are disabled Safe Media Volume and enabled CRT animation. SystemUI has all the statusbar mods. Does that work for you?
Click to expand...
Click to collapse
Sure will Thanks
Not sure what's wrong with my phone but everytime I try and flash the zip and reboot I get the "unforturnetly your systemui has stopped working" or something like that. Tried it twice. Once after a clean data wipe and restart.
rebretz000 said:
Not sure what's wrong with my phone but everytime I try and flash the zip and reboot I get the "unforturnetly your systemui has stopped working" or something like that. Tried it twice. Once after a clean data wipe and restart.
Click to expand...
Click to collapse
I think the data wipe is your problem. I had that problem also initially when I did a data wipe and tried to install. Reinstall the original, boot up fully, then reboot recovery and install the mod WITHOUT clearing data or cache.
roeblatt3 said:
I think the data wipe is your problem. I had that problem also initially when I did a data wipe and tried to install. Reinstall the original, boot up fully, then reboot recovery and install the mod WITHOUT clearing data or cache.
Click to expand...
Click to collapse
Oh.. okay. I tried to wipe cache both times. Thanks.
The clean data wipe, I restarted and signed in before rebooting and trying again.
Anybody else get this to work on a Dev unit running art?
Sent from my Nexus 7 using Tapatalk
---------- Post added at 01:09 AM ---------- Previous post was at 12:44 AM ----------
I could not get it to boot running stock, rooted 4.4.2 with art enabled
Sent from my Nexus 7 using Tapatalk
I tried it with and without clearing the cache and keep getting the system error. Tried several times and can't get it to work.
Sent from my XT1060 using xda app-developers app
Would it be possible to get a version with only CRT-animation enabled? It would be nice.
Answering my own question: it is possible. One needs to edit framework-res.apk to change the value "config_animateScreenLights" in res\values\bool.xml from "true" to false. Also I changed ".field private static final USE_ELECTRON_BEAM_ON_ANIMATION:Z" to "true" in services.jar, but this alone didn't work and I didn't try without this, so I'm not sure whether it is necessary.

[GUIDE] Make softkeys smalled ROOT required

First of all. Thank to byrdmang2 as he helped me out to achieve this.
Honestly i think that the softkeys embeded in the screen is a waste of screen area. So i like them smaller. Here's a screenshot of the final result. This guide is for KitKat, i guess you can make it work on 4.2.2 with GravityBox for JB.
{
"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"
}
What you need:
- Moto x (obviously)
- ROOTED
- Xposed Framework
- Gravity Box Module
1) Backup your current ROM in custom recovery.
2) Download Xposed Framework here:
http://dl.xposed.info/latest.apk (original thread in http://forum.xda-developers.com/xposed/framework-xposed-rom-modding-modifying-t1574401) I recommend you to read the whole post.
3) Install it and reboot.
4) Download Gravity box here:
http://forum.xda-developers.com/xposed/modules/app-gravitybox-v2-9-1-tweak-box-android-t2554049 (download in the 2nd post, still read the whole post)
5) Install it and reboot
6) Open gravity box and go to "Navigation Bar Tweaks"
7) Turn the Master Switch ON and enable navigation bar.
8) In the bottom there's a section named "Dimensions" there you can set the height and width (my setting is in 65% but you can make it as small as you like)
9) Reboot
10) Enjoy!
Does anyone know how to make the softkeys as dots?
MOTO X SLAPPED
[email protected] said:
Does anyone know how to make the softkeys as dots?
MOTO X SLAPPED
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.janis605.softkeyz
I disable mine completely and use pie controls instead.
nhizzat said:
I disable mine completely and use pie controls instead.
Click to expand...
Click to collapse
Yup. This is what I do as well. I edit the build.prop file and take the navigation keys completely out. Then I install LMT Pie controls. Although, in the past it was always a PITA doing a factory reset because the navigation keys don't come back. I did however remedy that with creating a flashable zip of LMT that can be done via TWRP. It restores your Pie controls as you had them set.
good tip i will make a guide of how to add the menu button in nav bar of stock rom editing the SystemUI
It's actually fairly easy. All you do is add the line: "qemu.hw.mainkeys 1" to the build.prop and it removes the Nav keys.
I've been using Build Prop Editor from the Play Store for a few years now and it works well.
So, if you are using that app it would look like this:
Property Name = qemu.hw.mainkeys
Property Vaule = 1
Then save it and reboot your phone. Just remember if you do a factory reboot or take an update you will lose your PIE controls and will need to remove the "1" and change it to a "0" to get your Nav keys back. Or, do like I did and use App2Zip and make LMT Pie Controls flashable so you can restore them via recovery. Otherwise you'll need to redownload and reinstall it.
thanks a lot, looks great at 65%
yaldren said:
thanks a lot, looks great at 65%
Click to expand...
Click to collapse
No problem man
The Tallest said:
It's actually fairly easy. All you do is add the line: "qemu.hw.mainkeys 1" to the build.prop and it removes the Nav keys.
I've been using Build Prop Editor from the Play Store for a few years now and it works well.
So, if you are using that app it would look like this:
Property Name = qemu.hw.keys
Property Vaule = 1
Then save it and reboot your phone. Just remember if you do a factory reboot or take an update you will lose your PIE controls and will need to remove the "1" and change it to a "0" to get your Nav keys back. Or, do like I did and use App2Zip and make LMT Pie Controls flashable so you can restore them via recovery. Otherwise you'll need to redownload and reinstall it.
Click to expand...
Click to collapse
I believe it needs to be...
Property Name = qemu.hw.mainkeys
Property Value = 1
edthesped said:
I believe it needs to be...
Property Name = qemu.hw.mainkeys
Property Value = 1
Click to expand...
Click to collapse
That's what I said. You only make it a 0 if you want the Nav keys back.
The Tallest said:
That's what I said. You only make it a 0 if you want the Nav keys back.
Click to expand...
Click to collapse
Yes but it should be MAINkeys not keys as you have written, at least thats what I needed to do to get it to work.
Sent from my SM-P600 using Tapatalk
edthesped said:
Yes but it should be MAINkeys not keys as you have written, at least thats what I needed to do to get it to work.
Sent from my SM-P600 using Tapatalk
Click to expand...
Click to collapse
Oh, I see. Yeah, in the first line of my post I have it as "mainkeys" and then when I broke it down line by line later on in the post it just says "keys". I'll correct it.

Categories

Resources