[Guide]Eclair-Lockscreen on Hero 2.1 (probably needs fixing) - Hero, G2 Touch Android Development

After using Lox's 2.0 AOSP I really liked the lockscreen and since it really fits well with sense style-wise, I almost assumed HTC would use the standard lock-screen or something like it anyway in the 2.1 Hero. Now, let's start by noting I have noooo experience in fiddling with this, so bear with me if some things seem obvious...
Now i assumed Htc modified the original lockscreen and it needed to be switched out all together. That wasn't the case. The google lockscreen seems integrated in the system, while Htc's is just an apk which overrides it or whatever. So all you need to do to get the original lockscreen is removing the HtcLockScreen.apk with ADB. Assuming you know how to work with adb it goes:
Code:
adb remount
adb shell rm system/app/HtcLockScreen.apk
and... reboot.
Now... problem is, being inexperienced as I am I don't know if this 'breaks' stuff in the system. The problem I encountered were the following: you can't switch background, it will be transparent(like in the Hikari ROM), and I have no idea of how to fix this (if YOU do, please tell me I wanna know ). If you try switching it by standard methods (in the settings menu, for instance) it'll just FC. Other than that it seems to work as it should. With emphasis on seems oh, and i'm using behnaam's 2.1 ROM...
Ofcourse I'm not responsible if your Hero gets bricked... make a nandroid backup just in case... etcetera etcetera and maybe I should add: its not as smooth as on AOSP. Its a bit laggy, but no more that HTC's I think..

del_toro said:
The problem I encountered were the following: you can't switch background, it will be transparent(like in the Hikari ROM), and I have no idea of how to fix this (if YOU do, please tell me I wanna know ).
Click to expand...
Click to collapse
Based on the source code, the wallpaper is actually disabled
Code:
// wall paper background
if (false) {
final BitmapDrawable drawable = (BitmapDrawable) context.getWallpaper();
setBackgroundDrawable(
new FastBitmapDrawable(drawable.getBitmap()));
}
Note: if (false) <-- means it was intentionally turned off.

Stuck at the same with Villain 3 beta 4.
Still no way to fix that??

No harm in removing the hero lock screen I have been doing it for a while now as I prefer the stock google one.
I would however prefer to have the straight lock screen (nexus one?) rather than the arched google one of old but this does not seem built into any build yet (except certain custom roms)

Lennyuk said:
No harm in removing the hero lock screen I have been doing it for a while now as I prefer the stock google one.
I would however prefer to have the straight lock screen (nexus one?) rather than the arched google one of old but this does not seem built into any build yet (except certain custom roms)
Click to expand...
Click to collapse
Any lock screen will do, except HTC's one.
But i don't want transparent background. And i can't change it, it stays transparent, whatever i do.

eujene said:
Any lock screen will do, except HTC's one.
But i don't want transparent background. And i can't change it, it stays transparent, whatever i do.
Click to expand...
Click to collapse
yeah I have not worked that one out yet, I just assumed it is not supposed to have a wallpaper.
Check the CDMA (sprint hero) forum here and the first sticky post has loads of really nicely designed mods for the hero, not sure if they work on the gsm hero but there are some lock screens there as well, check them out and then you can try to get them on your phone if you like them (or ask a dev to make them gsm compatible)

Lennyuk said:
yeah I have not worked that one out yet, I just assumed it is not supposed to have a wallpaper.
Check the CDMA (sprint hero) forum here and the first sticky post has loads of really nicely designed mods for the hero, not sure if they work on the gsm hero but there are some lock screens there as well, check them out and then you can try to get them on your phone if you like them (or ask a dev to make them gsm compatible)
Click to expand...
Click to collapse
Thanks for the idea. But they are too modded for my taste. I want simple vanilla lock screen with wallpaper. Nothing more )
I hope @nprussel will notice this thread, and will do something.

eujene said:
Thanks for the idea. But they are too modded for my taste. I want simple vanilla lock screen with wallpaper. Nothing more )
I hope @nprussel will notice this thread, and will do something.
Click to expand...
Click to collapse
Noticed.
I can sort this for you no problem. I didn't realise there were many out there removing the HTC Lockscreen from Vanillain. Personally, I remove it, but I quite like it transparent.
I'll sort it for you in the next build.

nprussell said:
Noticed.
I can sort this for you no problem. I didn't realise there were many out there removing the HTC Lockscreen from Vanillain. Personally, I remove it, but I quite like it transparent.
I'll sort it for you in the next build.
Click to expand...
Click to collapse
Yeah, sure many. Vanilla lock screen has much more useful info.
Thanks, looking forward to the new beta!

nprussell said:
Noticed.
I can sort this for you no problem. I didn't realise there were many out there removing the HTC Lockscreen from Vanillain. Personally, I remove it, but I quite like it transparent.
I'll sort it for you in the next build.
Click to expand...
Click to collapse
Yeah same here, I remove it but I like it transparent.

For those that can't/ don't want to use ADB you can use terminal emulator (availiable for free in the market) and do it direct from your handset.
(To get the keyboard up hold down the menu key)
(can't use the long press shortcuts for things like / have to do it the long way)
Now type this code exactly as it is here (pressing enter (return) for a new line)
______
su
# mount -oremount,rw /dev/block/mtdblock3 /system
# rm system/app/HtcLockScreen.apk
_______
Then reboot your phone.

So there is no possibility to change wallpaper (get rid of that transparency) in STANDARD ECLAIR LOCKSREEN ?

I thought I would add in that if you want to try this out without deleting the .apk file just use the mv command.
Code:
./adb remount
./adb shell mv system/app/HtcLockScreen.apk system/app/HtcLockScreen.BACKUP
./adb reboot
then if you want to go back to original just mv it back:
Code:
./adb remount
./adb shell mv system/app/HtcLockScreen.BACKUP system/app/HtcLockScreen.apk
-D

Krzysiec said:
So there is no possibility to change wallpaper (get rid of that transparency) in STANDARD ECLAIR LOCKSREEN ?
Click to expand...
Click to collapse
yeah i hate the transparency also...but i cant find a way...****

Fraqq said:
yeah i hate the transparency also...but i cant find a way...****
Click to expand...
Click to collapse
I hate it because see two different layers (Home screen and Lockscreen) are mixed ... Awful effect :/ And i don`t know what is what ... Two clocks one sense with weather, second from lockscreen ... one updated, second not ... erghhhhh

i can only unlock it by pressing the menu button. Is this normal for this method? (BeHero ROM)

adb remount
adb shell rm system/app/HtcLockScreen.apk
Click to expand...
Click to collapse
after this it's impossible to desactivate the Alarm of htc_deskclock, I must use standard deskclock eclair for the Alarm.
Anyone know to change background?

dweebs0r said:
I thought I would add in that if you want to try this out without deleting the .apk file just use the mv command.
Code:
./adb remount
./adb shell mv system/app/HtcLockScreen.apk system/app/HtcLockScreen.BACKUP
./adb reboot
then if you want to go back to original just mv it back:
Code:
./adb remount
./adb shell mv system/app/HtcLockScreen.BACKUP system/app/HtcLockScreen.apk
-D
Click to expand...
Click to collapse
I renamed system/app/HtcLockScreen.apk,but the eclair tranparent lockscreen(include unlock&sound) didn't showup,the lockscreen is a transparent time screen?

tiger2z said:
I renamed system/app/HtcLockScreen.apk,but the eclair tranparent lockscreen(include unlock&sound) didn't showup,the lockscreen is a transparent time screen?
Click to expand...
Click to collapse
As i just said in the other thread, it is a problem with the legend dump, hopefully someone with more knowledge than me can work out why.

Not sure if this does the same as what people are experiencing but might be worth a shot. Note, I have not tried this.
Just Google: Howtoremovetheerislockscreen.aspx
Should be the first and only hit.

Related

[Q] Remove Clock on Lockscreen with Blank ttf

Permissions setting lower down might fix this: "DOESN'T WORK ON ATRIX OR JS7 ROM. If your phone bootloops, just go into Clockwork and replace the font file again with the regular clockopia or reflash on top with the same Rom."
Hey All,
I found an ingenious solution to a problem I have been having. I don't like replacement lockscreens as they are usually slow or odd SO I found a solution. I have a live wallpaper clock and I don't like having the regular clock text on it so...replace it with a 'blank.ttf'
You can't just make a blank file, it must be formatted, so simple google search shows up this!
Change the extension to ttf, also you might want to do this:
amazinglarry311 said:
You should chmod 644 /system/fonts/Clockopia.ttf after you push it or it can bootloop almost every device without setting proper access permissions for the font.
Click to expand...
Click to collapse
Enjoy
If using this, its just blank right? Battery, signal, etc doesn't scoot down to the right??
Sent from my HTC Vision using Tapatalk
Ya, they are in the same space as if the clock is still there. The metrics of the font is similar to Clockopia
andjohn said:
Hey All,
I found an ingenious solution to a problem I have been having. I don't like replacement lockscreens as they are usually slow or odd SO I found a solution. I have a live wallpaper clock and I don't like having the regular clock text on it so...replace it with a 'blank.ttf'
You can't just make a blank file, it must be formatted, so simple google search shows up this!
Change the extension to ttf
Enjoy
Click to expand...
Click to collapse
did not work on js7 rom. phone currently stuck in bizarre bootloader loop where the android OS restarts itself upon trying to display lockscreen text.
Hmmm, odd. Well, there we have it. Doesn't work on all roms...
Yep. Avoid doing this on a Motorola Atrix too. Reflashing right now due to getting stuck in the bootloader repeat.
gerbick said:
Yep. Avoid doing this on a Motorola Atrix too. Reflashing right now due to getting stuck in the bootloader repeat.
Click to expand...
Click to collapse
Odd, sorry dude. I'll make a note of this on the OP.
This is a great start and works on my thunderbolt, but how do I get rid of the rest of the info on the lock screen? Like the day of the week, the PM, and the charging status. Any ideas?
No ideas, those elements use the regular DroidSans.ttf font. You could look at the lockscreen zip but I'm not sure where to start.
You should chmod 644 /system/fonts/Clockopia.ttf after you push it or it can bootloop almost every device without setting proper access permissions for the font.
Thanks! This is exactly what I was looking for! :good:
I'm using CyanogenMod 7 and this is the only way I have found, to remove just the clock from the lockscreen.
Ahh, the old days of the Thunderbolt. Looking back it depresses me, but I'm back on HTC now with the M8. Feels way better.

[MOD][ROOT] Change default homescreen - TouchWiz 4.0

Hello,
There's a simple way for those who want to change default homescreen.
You have to be rooted.
So, you first have to download a file explorer that supports root, for example Root Explorer(paid, I use this one).
Then, go to /system and open default.prop with text editor.
Now, add this line:
Code:
ro.csc.homescreen.defaultscreen=3
Where 3 is the number of the default screen you want - 1. So default screen 4 => 3.
Now, just reboot and it should work. If you have any problem/question, feel free to ask.
At first: Sounds great! Thanks!
But:
Afaik (only from some (elder?) videos) it's possible to add and delete home screens. Could you tell me or try what happens if you set this var to e.g. 5 (=> default home screen is 4) but you only have 3 home screens at all? The same has to be considered if you accidentally delete the last home screen and this one is/has been set to default.
Worked perfectly! Thanks for the tweak was missing this feature from my past android phones.
Sent from my GT-I9100 using Tapatalk
Could it be made into a simple apk file?
Even easier - no root required
Sorry to steal your thunder -
Pinch zoom (helicopter mode) longpress & drag will do it.
---
Regards,
Ian
BatterBits said:
Sorry to steal your thunder -
Pinch zoom (helicopter mode) longpress & drag will do it.
---
Regards,
Ian
Click to expand...
Click to collapse
Ian, the point of this mod is so that when you hit your home button, while in your homescreens, it will revert to the 4th screen. Normally when you are in your homescreens and then hit the home button again, it'll revert you to the first screen as default. This is the case even if you change the order of your homescreens using pinch to zoom.
Cool I hoped this was coming. Cant stand being on 1 as the home screen.
Thanks EleCtrOx666!
Works great.
If it is this easy to make the change I don't understand why Samsung didn't include it as an option in one of the configuration menus.
EinPaul said:
At first: Sounds great! Thanks!
But:
Afaik (only from some (elder?) videos) it's possible to add and delete home screens. Could you tell me or try what happens if you set this var to e.g. 5 (=> default home screen is 4) but you only have 3 home screens at all? The same has to be considered if you accidentally delete the last home screen and this one is/has been set to default.
Click to expand...
Click to collapse
Just tried it: it will simply go to the last homescreen you have.
robot1000 said:
Could it be made into a simple apk file?
Click to expand...
Click to collapse
I'll see what I can do.
It worked great with root explorer, but not so much with ES File Explorer -- it does have a "root" mode, but it asks you whether you are using the CyanogenMod or the HiAPK rom.
For n00bs, like myself, it's also worth pointing out that you won't be able to edit the build.prop unless you click on the "mount rw" (read/write) button up at the top first. Afterwards, you'll probably want to click the "mount ro" (read only) at the top again.
Thanks a lot.
poofish said:
Ian, the point of this mod is so that when you hit your home button, while in your homescreens, it will revert to the 4th screen. Normally when you are in your homescreens and then hit the home button again, it'll revert you to the first screen as default. This is the case even if you change the order of your homescreens using pinch to zoom.
Click to expand...
Click to collapse
Well - how stupid do I look now!
Thanks for the explanation - sorry to have intefered, no offence was intended!
Going back to hiding in dark corners....
----
Regards,
Ian
This works beautifully and something I've been pining for after moving from sense. Thanks a lot
I'm not an active Android dev. But isn't there a var you can call and just divide by 2?
Like:
ro.csc.homescreen.defaultscreen = ro.csc.homescreen.screencount/2;
Something like that? Excuse me if this obviously doesn't work, it was just a thought, as it would make it easier and won't require users to change that value whenever they change the amount of homescreens.
How did you find this setting? I'm interested if there are more useful settings like that.
hy EleCtrOx666
i'm a beginner in this so pls have a little patience with me.
I got a SGS2 and i'm interested to know if there's anyway to root the phone without flashing a custom kernel taking in account that u have this "nice" counter on the phone.
Very nice explained how to modif home-screen number.
is it here any way to get temp root?
hi sorry to be a pain, but i would love to be change my default home screen button, I followed the guide, and rooted my phone successfully (i think) and once superuser was installed I went and found the defualtprop file and edited it as guided by adding that line, i clicked save & exit (at which point it tells me it made a backup of the original file) then after I restart the phone it just goes back to normal, like I never touched the file...
anyone know where i'm going wrong?
Thanks, reminds me of my HTC Desire now with homescreen centred
dandumitru said:
hy EleCtrOx666
i'm a beginner in this so pls have a little patience with me.
I got a SGS2 and i'm interested to know if there's anyway to root the phone without flashing a custom kernel taking in account that u have this "nice" counter on the phone.
Very nice explained how to modif home-screen number.
is it here any way to get temp root?
Click to expand...
Click to collapse
This Guide explains how to do it http://forum.xda-developers.com/showthread.php?t=1056334
This doesn't work for me. I can't add that line. I've tried two different text editors and two root explorers (one with an editor built in) and they both say the file can't be saved. No other programs open. I restarted the phone and tried again.
Anybody else have this problem?
Thanks for the help via PM.
In case anyone else had my problem, it was solved by using Root Explorer. Click "Mount R/W", do the edit, save, reboot.
Works perfectly.

A possible working soultion to hide softkeys!

Ok, I understand there are many threads as to softkey management. I, for one would love to hide these soft keys and I think I might have stumbled upon a way that it might work, but because I am not a Dev I myself don't totally understand, how Android works, so hopefully one of the Dev here could help understand what is going on here. So I have been doing a lot of searches to find a way to hide these keys, along the way I stumbled across a few threads where users were loosing their softkeys after using some of the softkey mods, I remember reading some where a user lost his softkeys do to flashing the Deodexed version of the mod while running on a Odexed Rom. I thought I would give this a try I downloaded Deodexed version of the softkey mod from this post:
(http://forum.xda-developers.com/showthread.php?t=1394639&highlight=soft+key) and installed it on my ARHD 2.1.3 Odexed Rom. Behold upon reboot I had full screen! Great! Just a few problems though, I lost not only my softkeys, but also my notification bar at the top. I also could not set any wallpaper but only a live wallpaper. I was able to navigate without any issues as I downloaded and installed Button Savior from the market before installing the modification. Any suggestions from Dev's as to why, how, or if this could work would be great.
Not a dev but I made mine disappear when I was manually editing pngs in SystemUI.apk to mod my softkeys. I must have did something wrong.
I believe adr and his Bamf team are including this in their upcoming rom
I think they are mapping it to power and vol up or down
That would be great! I like the full screen it just looks amazing! I don't mind using Button Savior.
So you suggest removing the softkeys by breaking them and the notification bar..
joshnichols189 said:
So you suggest removing the softkeys by breaking them and the notification bar..
Click to expand...
Click to collapse
No not by breaking them, I was hoping that a Dev would be able to see how or why they get removed and in doing so find a solution to hiding the keys altogether.
Eventually. Took Honeycomb a while. Supposedly the tricks in Honeycomb were patched.
They just need time. They already have abilities to rearrange and select which keys are visible plus themes and all that.
LTE EX Galaxy Nexus - AOSP KANG
Asus Transformer - 3.2.1 OC/UV
Rockstar52 said:
No not by breaking them, I was hoping that a Dev would be able to see how or why they get removed and in doing so find a solution to hiding the keys altogether.
Click to expand...
Click to collapse
They get removed because they are broken
Rockstar52 said:
Ok, I understand there are many threads as to softkey management. I, for one would love to hide these soft keys and I think I might have stumbled upon a way that it might work, but because I am not a Dev I myself don't totally understand, how Android works, so hopefully one of the Dev here could help understand what is going on here. So I have been doing a lot of searches to find a way to hide these keys, along the way I stumbled across a few threads where users were loosing their softkeys after using some of the softkey mods, I remember reading some where a user lost his softkeys do to flashing the Deodexed version of the mod while running on a Odexed Rom. I thought I would give this a try I downloaded Deodexed version of the softkey mod from this post:
(http://forum.xda-developers.com/showthread.php?t=1394639&highlight=soft+key) and installed it on my ARHD 2.1.3 Odexed Rom. Behold upon reboot I had full screen! Great! Just a few problems though, I lost not only my softkeys, but also my notification bar at the top. I also could not set any wallpaper but only a live wallpaper. I was able to navigate without any issues as I downloaded and installed Button Savior from the market before installing the modification. Any suggestions from Dev's as to why, how, or if this could work would be great.
Click to expand...
Click to collapse
- Decompile your framework-res.apk
- Open framework-res.apk\res\values\bools.xml
- Change
Code:
<bool name="config_showNavigationBar">true</bool>
to
Code:
<bool name="config_showNavigationBar">false</bool>
- Recompile, push it to your phone and reboot
Code:
adb push framework-res.apk /system/framework/framework-res.apk
Code:
adb reboot
I don't want to hide my nav bar, I wanna make it transparent.
sent from my googletron
gogodu5sU said:
- Decompile your framework-res.apk
- Open framework-res.apk\res\values\bools.xml
- Change
Code:
<bool name="config_showNavigationBar">true</bool>
to
Code:
<bool name="config_showNavigationBar">false</bool>
- Recompile, push it to your phone and reboot
Code:
adb push framework-res.apk /system/framework/framework-res.apk
Code:
adb reboot
Click to expand...
Click to collapse
Thanks, I will give this a shot. One last question why would the wallpaper stop working?
ChongoDroid said:
I don't want to hide my nav bar, I wanna make it transparent.
sent from my googletron
Click to expand...
Click to collapse
I could dig that.
Sent from my Galaxy Nexus using Tapatalk
ChongoDroid said:
I don't want to hide my nav bar, I wanna make it transparent.
sent from my googletron
Click to expand...
Click to collapse
Actually seems like a pretty nice idea. Does the OS continue to draw behind the buttons, or does the screen effectively stop where they begin?
I would rather a gesture on the softkey bar (flick up/down) to show/hide it. That way you still retain the functionality of the keys, but at the same time you can utilise the full screen when you want to. Remapping these to the hard buttons sounds horrible (unless I misunderstood that?).
If it was transparent and you wanted to click something at the bottom of an app, android wouldn't know whether you wanted to click the app or the buttons.
Jleagle said:
If it was transparent and you wanted to click something at the bottom of an app, android wouldn't know whether you wanted to click the app or the buttons.
Click to expand...
Click to collapse
we already have a transparent status bar successfully mod over in the themes section. and no you dont lose any function. the bar is still there, its just see-thru. so it functions identically to current usage.
anyway hiding the softkeys is something i would love. and google could have been creative, perhaps 3 finger swipe to make them appear, etc. that way 2 finger pinch to zoom wouldnt confuse it with a 3 finger swipe, twist, etc.
Krijs said:
I would rather a gesture on the softkey bar (flick up/down) to show/hide it. That way you still retain the functionality of the keys, but at the same time you can utilise the full screen when you want to. Remapping these to the hard buttons sounds horrible (unless I misunderstood that?).
Click to expand...
Click to collapse
This would be great. I use ADW Ex on my Galaxy Tab 10.1 LTE, and that has a swipe for its lower dock bar works great. When you don't want just swipe down, when needed swipe up.
gogodu5sU said:
- Decompile your framework-res.apk
- Open framework-res.apk\res\values\bools.xml
- Change
Code:
<bool name="config_showNavigationBar">true</bool>
to
Code:
<bool name="config_showNavigationBar">false</bool>
- Recompile, push it to your phone and reboot
Code:
adb push framework-res.apk /system/framework/framework-res.apk
Code:
adb reboot
Click to expand...
Click to collapse
Why Can't i find values in my framework-res.apk? Im on 4.0.4
Im very familiar with android but am stumped on this one.

Get rid of CRT screen off animation in 4.2

For some reason the CRT animation always has felt slow as sin, so I usually keep it off. Changing animation settings in developer options no longer works for some reason.
Workaround:
Put debug.sf.electron_frames=1 in either local.prop or build.prop.
echo "debug.sf.electron_frames=1" > local.prop
Remove this to re-enable. Default is 24 frames.
Requires reboot.
Steps:
Root required to do this. This assumes that you have no local.prop. If you do, you probably don't need this guide.
1) Get into adb shell
2) su
3) cd /data/
4) echo "debug.sf.electron_frames=1" > local.prop
5) reboot
xaueious said:
For some reason the CRT animation always has felt slow as sin, so I usually keep it off. Changing animation settings in developer options no longer works for some reason.
Workaround:
Put debug.sf.electron_frames=1 in either local.prop or build.prop.
echo "debug.sf.electron_frames=1" > local.prop
Remove this to re-enable. Default is 24 frames.
Requires reboot.
Click to expand...
Click to collapse
Thanks for making this post. I'm a little confused though. Mostly by the "echo" portion. Mind explaining it in different terms?
My N7 doesn't have the CRT animation after updating to 4.2 I just figured they removed it.
Sent from my Nexus 7 using xda premium
xaueious said:
For some reason the CRT animation always has felt slow as sin, so I usually keep it off. Changing animation settings in developer options no longer works for some reason.
Workaround:
Put debug.sf.electron_frames=1 in either local.prop or build.prop.
echo "debug.sf.electron_frames=1" > local.prop
Remove this to re-enable. Default is 24 frames.
Requires reboot.
Click to expand...
Click to collapse
Just curious... What is CRT animation?
Sent from my Galaxy Nexus using xda app-developers app
Big ZD said:
Just curious... What is CRT animation?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
It's that white line that 'folds' down into the center before disappearing when turning off the display.
Replicates what you used to see when turning off a CRT monitor/TV.
Personally I'm a fan.
Anthonok said:
My N7 doesn't have the CRT animation after updating to 4.2 I just figured they removed it.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Nexus 7 4.2 comes with a quick fadeout instead of the crt animation off.
my GN is not on stock so I can't report on it. i rather liked the crt off too, felt kinda neat.
SpencerRelly said:
Thanks for making this post. I'm a little confused though. Mostly by the "echo" portion. Mind explaining it in different terms?
Click to expand...
Click to collapse
Echo repeats whatever you type in quotes. The > sends it to local.prop file.
http://unixhelp.ed.ac.uk/CGI/man-cgi?echo
hmm didnt work for me on bigxie's android 4.2 rooted busybox odexed
The key is to have the line in one of your props. Should work on all Android 4.2 AOSP builds. If it didn't work, Run 'getprop' from shell to see if the setting worked. If it didn't, you might have another script overriding it.
Also works on 4.1 but be careful how high you set it, hehe. I set mine to 72 and it worked, but wouldn't unlock again afterwards.
It's shown in getprop, but it still doesn't work. I hate this CRT effect, really wanna make it go away.
xaueious said:
For some reason the CRT animation always has felt slow as sin, so I usually keep it off. Changing animation settings in developer options no longer works for some reason.
Workaround:
Put
Remove this to re-enable. Default is 24 frames.
Requires reboot.
Click to expand...
Click to collapse
Sent from my Galaxy Nexus using xda app-developers app
langhaardack said:
It's shown in getprop, but it still doesn't work. I hate this CRT effect, really wanna make it go away.
Click to expand...
Click to collapse
same thing here. I added it to build.prop, it is showing correctly on getprop but the effect is still there
push in search of a working method to disable this
Guys maybe I wasn't clear enough.
I'll update OP
xaueious said:
For some reason the CRT animation always has felt slow as sin, so I usually keep it off. Changing animation settings in developer options no longer works for some reason.
Workaround:
Put debug.sf.electron_frames=1 in either local.prop or build.prop.
echo "debug.sf.electron_frames=1" > local.prop
Remove this to re-enable. Default is 24 frames.
Requires reboot.
Steps:
Root required to do this. This assumes that you have no local.prop. If you do, you probably don't need this guide.
1) Get into adb shell
2) su
3) cd /data/
4) echo "debug.sf.electron_frames=1" > local.prop
5) reboot
Click to expand...
Click to collapse
THANK YOU!!!
I hate that now that effect took about 2 seconds to actually start and it was really lagging...this fixed that
no matter which prop file i put that in, crt off stays on, and i cant handle this! its so ugly i just wanna throw my phone away.. D:
langhaardack said:
no matter which prop file i put that in, crt off stays on, and i cant handle this! its so ugly i just wanna throw my phone away.. D:
Click to expand...
Click to collapse
this mod doesn't work maybe this is just for stock roms no for aosp roms.
aooga said:
THANK YOU!!!
I hate that now that effect took about 2 seconds to actually start and it was really lagging...this fixed that
Click to expand...
Click to collapse
Thanks
xaueious said:
The key is to have the line in one of your props. Should work on all Android 4.2 AOSP builds. If it didn't work, Run 'getprop' from shell to see if the setting worked. If it didn't, you might have another script overriding it.
Click to expand...
Click to collapse
I tried 'setprop debug.sf.electron_frames 1', and I was able to get [debug.sf.electron_frames]: [1] from 'getprop'. But, it is still not working.... help?
Update: I even try the app "build.prop editor" and manually create debug.sf.electron_frames (value:1), and it is still not working. I go to /system/build.prop, and yes debug.sf.electron_frames=1 is there. My phone is rooted, newly flash with stock 4.2 on Gnexus. It wouldn't because I have BusyBox installed, right?

swapping back and recent buttons does not space properly

Hey, trying to swap my recent and back buttons. I've tried Custom Navigation Bar app, as well as the adb shell command (adb shell settings put secure sysui_nav_bar "space,recent;home;back,space").
While both methods (the same, from what I understand) swap the buttons, the buttons are spaced closer together than they used to be. I suppose I can just get used to it, but it looks funny to me. Anyone have a different solution?
Recent, space; Home; Space, back
The 'spaces' have to be swapped in their respective space. At least this is how I remember when in the same sit
dontbeweakvato said:
Recent, space; Home; Space, back
The 'spaces' have to be swapped in their respective space. At least this is how I remember when in the same sit
Click to expand...
Click to collapse
That command makes the buttons too far apart. It's weird that these commands can't get the default spacing correct
I think there's space for 5 icons but some require a 'space' within their icon field. What were you using custom navbar app?
dontbeweakvato said:
I think there's space for 5 icons but some require a 'space' within their icon field. What were you using custom navbar app?
Click to expand...
Click to collapse
Yeah, I tried both custom navbar as well as through adb, but the spacing is off for both. but I believe they basically do it the same way. Interestingly enough, without inverting the recent and back buttons, the spacing gets messed up by custom navbar. It's not a huge deal, just something I noticed
Hopefully Google bakes it into 8.1 system tuner
beezar said:
Yeah, I tried both custom navbar as well as through adb, but the spacing is off for both. but I believe they basically do it the same way. Interestingly enough, without inverting the recent and back buttons, the spacing gets messed up by custom navbar. It's not a huge deal, just something I noticed
Hopefully Google bakes it into 8.1 system tuner
Click to expand...
Click to collapse
This method still works worked for me on Android P beta. The gestures work as they should after the swapping the buttons. I left in "recent" in the script. No issues when doing this.
Thanks Fatphatboy88
https://forum.xda-developers.com/showpost.php?p=74133909&postcount=4
You have to install the ADB and fastboot
plug you phone into your computer
turn on debugging mode
open up a command prompt window in the adb folder on your computer
these are the following commands I used. I did notice if you have small hands you could type ";home;recent,back" and it will put the home icon in the middle and the other two buttons on the right. What ever button you put the semi colons around will be in the center of the screen.
Type
adb shell
settings put secure sysui_nav_bar "space,recent;home;back,space"
localfinesse said:
This method still works worked for me on Android P beta. The gestures work as they should after the swapping the buttons. I left in "recent" in the script. No issues when doing this.
Thanks Fatphatboy88
https://forum.xda-developers.com/showpost.php?p=74133909&postcount=4
You have to install the ADB and fastboot
plug you phone into your computer
turn on debugging mode
open up a command prompt window in the adb folder on your computer
these are the following commands I used. I did notice if you have small hands you could type ";home;recent,back" and it will put the home icon in the middle and the other two buttons on the right. What ever button you put the semi colons around will be in the center of the screen.
Type
adb shell
settings put secure sysui_nav_bar "space,recent;home;back,space"
Click to expand...
Click to collapse
Sorry to revive an old thread, but I didn't want to start a new one for the same problem... Can anyone tell me if this method works on Pie stock? Do I need to root/unlock bootloader? My phone is almost completely factory, and I love it aside from the back/recent buttons being different than I'm used to.
Smoghog said:
Sorry to revive an old thread, but I didn't want to start a new one for the same problem... Can anyone tell me if this method works on Pie stock? Do I need to root/unlock bootloader? My phone is almost completely factory, and I love it aside from the back/recent buttons being different than I'm used to.
Click to expand...
Click to collapse
I believe you need to be rooted.
Smoghog said:
Sorry to revive an old thread, but I didn't want to start a new one for the same problem... Can anyone tell me if this method works on Pie stock? Do I need to root/unlock bootloader? My phone is almost completely factory, and I love it aside from the back/recent buttons being different than I'm used to.
Click to expand...
Click to collapse
check out https://play.google.com/store/apps/details?id=xyz.paphonb.systemuituner no root required
uicnren said:
check out https://play.google.com/store/apps/details?id=xyz.paphonb.systemuituner no root required
Click to expand...
Click to collapse
I looked at that, but the string of bad reviews turned me off of using it. I would much prefer the clean and simple fix that localfinesse highlighted above, if possible.. I may give it a shot even though I'm not rooted, just to see if it works.
I've been using it since I got the phone last year;works great. I am rooted. The only tiny glitch I had was when I switched to using the gesture navigation. After I switched back to the three buttons, the recent menu was gone. However, I went into the app and it appeared again. It works just as it had before.
localfinesse said:
This method still works worked for me on Android P beta. The gestures work as they should after the swapping the buttons. I left in "recent" in the script. No issues when doing this.
Thanks Fatphatboy88
https://forum.xda-developers.com/showpost.php?p=74133909&postcount=4
You have to install the ADB and fastboot
plug you phone into your computer
turn on debugging mode
open up a command prompt window in the adb folder on your computer
these are the following commands I used. I did notice if you have small hands you could type ";home;recent,back" and it will put the home icon in the middle and the other two buttons on the right. What ever button you put the semi colons around will be in the center of the screen.
Type
adb shell
settings put secure sysui_nav_bar "space,recent;home;back,space"
Click to expand...
Click to collapse
Just a follow-up for anyone who comes along to this thread later - You CAN do the above method suggested by localfinesse even if you are not rooted. It was easy to just go ahead and do it that way since I would have had to have to use adb commands from the pc to authorize the custom navigation bar app, anyhow. Feels much better now
Edit: I'm on Android Pie final, no root or unlock. All you need is Developer Options opened and USB Debugging enabled.
Follow-up questions: Does anyone know what else can be added in the two extra spaces? Is there a list somewhere? And Is it possible to launch camera from one?
Smoghog said:
Just a follow-up for anyone who comes along to this thread later - You CAN do the above method suggested by localfinesse even if you are not rooted. It was easy to just go ahead and do it that way since I would have had to have to use adb commands from the pc to authorize the custom navigation bar app, anyhow. Feels much better now
Edit: I'm on Android Pie final, no root or unlock. All you need is Developer Options opened and USB Debugging enabled.
Follow-up questions: Does anyone know what else can be added in the two extra spaces? Is there a list somewhere? And Is it possible to launch camera from one?
Click to expand...
Click to collapse
Idk if you can do that with the adb shell command. But you *can* use Custom Navigation Bar without root. It also offers extra left/right buttons, and you can assign functions to those buttons (including launching apps).
The adb shell commands work perfect. Used it on my work pixel 2.

Categories

Resources