If you remove the HTC Lock Screen the screen no longer turns on when you plug it in or unplug it
(Make sure and reboot after removing it)
^ Shift Faced
Removing the lock screen is the only way to go. I just wish there was a way to remove the default pull down answer screen when the phone is in lock mode. Half the time it takes me 10 swipes before the phone answers, I hate the sense side down answer.
How do I remove it?
you have to be rooted, but once you are it's fairly straightforward. you need to open up the adb shell, and from there type in:
Code:
rm system/app/HtcLockScreen.apk
the first time I tried, it told me permissions denied, even with su in front, so added busybox to the front of the command:
Code:
busybox rm system/app/HtcLockScreen.apk
and make sure you reboot your phone!
I think your alarm clock may not be able to be silenced/snoozed if you remove this. You will probably have to use a different one from the market.
that is rather annoying, thanks for the heads up >.<
anybody who has clockwork mod2.5 (green version) can download the Vanilla lockscreen .zip from the AwesomeRom thread and it will remove HTCLockscreen and the alarmclock and another one of the apps that stops working and replaces them with the vanilla alternative.
just thought you should know. works on both deodexed roms and odex roms.
I disabled the lockscreen a while ago. It worked okay but sometimes the graphics on the lock sliders flaked out or were missing until you touched the screen. I went back.
Many times when I pull the phone out of my pocket while its ringing I slide it up or down. Most of the time dropping the call.
griffindy said:
you have to be rooted, but once you are it's fairly straightforward. you need to open up the adb shell, and from there type in:
Code:
rm system/app/HtcLockScreen.apk
the first time I tried, it told me permissions denied, even with su in front, so added busybox to the front of the command:
Code:
busybox rm system/app/HtcLockScreen.apk
and make sure you reboot your phone!
Click to expand...
Click to collapse
I'm lazy and just removed it with Titanium.
^ Shift Faced
jesusice said:
I'm lazy and just removed it with Titanium.
^ Shift Faced
Click to expand...
Click to collapse
I removed with Titanium, but I like the generic lock screen even less. I backed up the HTC Lockscreen with Titanium, but can't restore.. It has check with backup date.. Any easy way back?
Removing stock lockscreen + installing WidgetLocker 1.2.4 =
I managed to get the stock Sense lock screen back. Retrieved the apk from a Rom. Moved it to the Titanium backup folder, restored it..
so its confirmed that you cant shut the htc alarm clock off if you remove the lockscreen? can you still shut if off through the alarm app or when you unlock the screen?
t0esh0es said:
so its confirmed that you cant shut the htc alarm clock off if you remove the lockscreen? can you still shut if off through the alarm app or when you unlock the screen?
Click to expand...
Click to collapse
Yes, I have no issue turning mine off. All I have to do is unlock the screen and the notification is up.
Related
EDIT: updated with step-by-step instructions.
Step 1. Download the Android SDK (http://developer.android.com/sdk/)
Step 2. Make sure to configure the ADB usb interface drivers (search the forums for more information on this if you're confused.)
Step 3. Plug your G1 into your computer (via usb). (Settings -> Application -> Development -> USB Debugging, must be enabled [it is enabled by default in JesusFreke releases i think])
Step 4. Open command prompt and enter the following:
Code:
> adb -d shell
# sqlite3 data/data/com.android.providers.settings/databases/settings.db
sqlite> update system set value=0 where name='lock_pattern_autolock';
sqlite> .exit
# exit
Step 5. Now power off the phone, and turn it back on. Tada! No more pattern lock.
Sorry, Im speaking on behalf of the simpler folk, but how exactly do you go about doing this, and if so can you make an update.zip that would do this?
hey haykuro, probably you should post this in the development sub-forums..
anyways great stuff man..the code looks so simple lol..i am sure you toiled hard tho!
thanks again.
Joeriginal said:
Sorry, Im speaking on behalf of the simpler folk, but how exactly do you go about doing this, and if so can you make an update.zip that would do this?
Click to expand...
Click to collapse
None of this is done on the phone itself. It's done using the adb utility for your computer. Just download the adb.exe file and the USB drivers then repeat the commands shown above at your command prompt.
whats the point of this?
The Great NY said:
whats the point of this?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=485903
Yay! Now I can finally use that stolen G1!
J/k I already got rid of the previous owner's account by flashing DREAIMG.NBH
(No, I did not really steal a G1 )
interesting to know
thx.
Could be useful if you forget your own pattern Maybe we can remove the regular lock screen now?
As a follow-up, how difficult would it be to replace the regular lock screen with a different one (non-pattern based)? I struggle with the pattern one, because it's pretty easy for anybody to hold the phone up to the light to see the pattern. Would be useful to have a different, more secure lock screen.
That would be awsome if you could get rid of the first unlock with hitting menu
ICBM said:
As a follow-up, how difficult would it be to replace the regular lock screen with a different one (non-pattern based)? I struggle with the pattern one, because it's pretty easy for anybody to hold the phone up to the light to see the pattern. Would be useful to have a different, more secure lock screen.
Click to expand...
Click to collapse
what the hell are you talking about? hold the phone up to the light to see a DIGITAL screen unlock pattern? maybe if you leave giant greasy fingerprints all over the screen...
Yes that's exactly right. The low-tech, looks at the fingerprint pattern works like a charm. Don't believe me? Try it yourself. I don't consider myself particularly greasy, but if you use the G1 as is, without screen covers or anything, you can usually see enough to figure out what the unlock pattern is.
cboy007 said:
what the hell are you talking about? hold the phone up to the light to see a DIGITAL screen unlock pattern? maybe if you leave giant greasy fingerprints all over the screen...
Click to expand...
Click to collapse
That's what he meant. And it's very plausible to do, even if your fingers are a little greasy. Try it.
This is nothing revolutionary. All you are doing here is hitting the "Require pattern" switch to off, just doing it the more "intrusive" method.
This is not any sort of insight to replacing the lock activity.
as far as that goes, you'd have to completely rebuild the OS.
Code:
>adb shell logcat -d V | grep -i lock
D/KeyguardViewMediator( 54): wakeWhenReadyLocked(82)
D/KeyguardViewMediator( 54): pokeWakelock(10000)
D/KeyguardViewMediator( 54): pokeWakelock(7000)
D/KeyguardViewMediator( 54): pokeWakelock(10000)
D/KeyguardViewMediator( 54): pokeWakelock(5000)
D/KeyguardViewMediator( 54): pokeWakelock(7000)
this is the action of turning on the screen.
for further information on REPLACING the lock screen you can follow up in this thread http://groups.google.com/group/andr...b512cb203b/8324f7ff7ed232b3?#8324f7ff7ed232b3 (this is just one of the many i googled up.)
yea.. another issue with the lock is that as it may be confusing and magical to a non G1 user.. but i tell you.. .. if a g1 user sees you put your code in... its easily retained to the "allready used it, understand how it works" mind.
two things: since you enter an adb shell does this mean you can do this from a terminal on the phone?
also, cool thing i found,
first you need to have an unlock code set
then you need to have mybackup from the market,
create a backup up of your system settings
do a wipe/factory reset (i dont know if you had to but thats what i did when it happened to me)
now restore your system settings
now you will have an unlock screen that opens with ANY pattern even if its only one dot
haitiankid4lyf said:
two things: since you enter an adb shell does this mean you can do this from a terminal on the phone?
Click to expand...
Click to collapse
yes. but if you are on the terminal of the phone, i'd guess you wouldn't need to bypass the lock screen now would you?
haitiankid4lyf said:
also, cool thing i found,
first you need to have an unlock code set
then you need to have mybackup from the market,
create a backup up of your system settings
do a wipe/factory reset (i dont know if you had to but thats what i did when it happened to me)
now restore your system settings
now you will have an unlock screen that opens with ANY pattern even if its only one dot
Click to expand...
Click to collapse
cool
i got a quick question, if the phone is locked out how do u get into the settings to turn on usb debugging
wesgarner said:
i got a quick question, if the phone is locked out how do u get into the settings to turn on usb debugging
Click to expand...
Click to collapse
haykuro said:
Step 3. Plug your G1 into your computer (via usb). (Settings -> Application -> Development -> USB Debugging, must be enabled [it is enabled by default in JesusFreke releases i think])
Click to expand...
Click to collapse
Just update the phone using JF v1.42 update.zip and you should be good to go
Can someone please tell me how to remove the HTC locksreen so its the regular android? Thanks
You have to be rooted. And rename the htclockscreen.apk to htclockscreen.bak
Sent from my never been rooted, stock Froyo Epic.
how do you find/rename the file
Sent from my PG06100 using XDA App
I would recommend getting a root explorer. Htc lock screen app is in /system/app I believe. You could also use adb or a terminal emulator.
Open terminal emulator
Su
Cd /system/app
Mv htclockscreen.apk htclockscreen.sav
Hope that helps...
Don't forget to reboot
Sent from my PG06100 using XDA App
Get root explorer or something similar then mount as write then go to system/app and look for htclockscreen.apk and the odex file and delete them or move them somewhere in ur sdcard so u can restore it later if u want. Then reboot. U might have to reboot twice if it dosent work
Sent from my EVO Shift
You could also install WidgetLocker from the market. It will let you change the appearance of the lock screen, one of the choices is stock android.
Thanks now my rom is looking sexier lol now if I could find a working AOSP Mms.apk that sends mms..suggestions?
Sent from my PG06100 using XDA App
I found out, after removing the HTC lockscreen, that there is no way to turn off an alarm since the snooze and dismiss functions are integrated into the lockscreen apk, apparently. I had to restart the phone, or set alarm volume to 0 to get it to stop. I went back to the HTC lockscreen for now.
can some please post the stock lockscreen apk and the odex file?
i took it off with root explorer and i thought i saved it but i cant find it....
thanks for anyone who posts it
tambourineman86 said:
I found out, after removing the HTC lockscreen, that there is no way to turn off an alarm since the snooze and dismiss functions are integrated into the lockscreen apk, apparently. I had to restart the phone, or set alarm volume to 0 to get it to stop. I went back to the HTC lockscreen for now.
Click to expand...
Click to collapse
Read a few posts back..DeskClock.apk was attatched so you can push it and do as you choose with WorldClock.apk
Sent from my PG06100 using XDA App
tambourineman86 said:
I found out, after removing the HTC lockscreen, that there is no way to turn off an alarm since the snooze and dismiss functions are integrated into the lockscreen apk, apparently. I had to restart the phone, or set alarm volume to 0 to get it to stop. I went back to the HTC lockscreen for now.
Click to expand...
Click to collapse
Tambou!!! You got the Shift, too? Cool! Your Moment ROM was the best one I ever used
^ Shift Faced
Is it possible to completely disable the automatic activation of the screensaver? I don't see it in settings, the longest interval for this to happen is 1 hour, but no option to disable it completely. I already installed the No Lock app, but this only helped me to get rid of the slide to unlock screen. Thank you for any ideas.
Martin
Martin2603 said:
Is it possible to completely disable the automatic activation of the screensaver? I don't see it in settings, the longest interval for this to happen is 1 hour, but no option to disable it completely. I already installed the No Lock app, but this only helped me to get rid of the slide to unlock screen. Thank you for any ideas.
Martin
Click to expand...
Click to collapse
All settings are here:
http://developer.android.com/reference/android/provider/Settings.System.html
In you case you'll need:
adb shell
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
-- check current value
select * from system where name='screen_off_timeout';
120000 - 2 min
3600000 - 1 hour
2147483647 = 596.5 hours
-- set
update system set value='2147483647' where name='screen_off_timeout';
.q
^d
or you can pull/mod/push alternatively.
Won't disabling the screensaver keep the screen and IR sensors active, thus eating up battery life significantly when not in use?
I know some folks would like to get rid of the swipe, waking up on a screen tap (mostly for accessibility issues), but I think some sort of screen (actually, battery) saver is still important.
Great link, ApokrifX. Would you happen to know if WIFI_SLEEP_POLICY does anything on the NST? I use Tasker to shut wifi off when the screen goes off, but I wonder if that might be easier?
bobstro said:
Great link, ApokrifX. Would you happen to know if WIFI_SLEEP_POLICY does anything on the NST? I use Tasker to shut wifi off when the screen goes off, but I wonder if that might be easier?
Click to expand...
Click to collapse
No idea.
I bet, it won't work...
Try and let us know?
ApokrifX said:
No idea.
I bet, it won't work...
Try and let us know?
Click to expand...
Click to collapse
I need to find a program that will let me know when wifi is on or off relative to the screen. On other devices, I can see that info in the battery status, but I'm not finding a similar option for the NST.
I *did* find a little program that would toggle it, but the NST lasts so long on battery, it's hard to tell if it's making any difference.
Actually, to disable the screensaver completely:
Code:
update system set value=-1 where name='screen_off_timeout';
I haven't found a way to disable the keyguard yet, but if you have one of the side keys set as Menu that dismisses the keyguard.
Renate NST said:
Actually, to disable the screensaver completely:
Code:
update system set value=-1 where name='screen_off_timeout';
Click to expand...
Click to collapse
Hi Renate again ( you adviced me with manual time set in NST
http://forum.xda-developers.com/showthread.php?p=30560605#post30560605, thanks).
I like the tweak (to disable the screensaver completely) also. But not understanding how to do this in internal terminal. Not shell and not busybox know the sqlite3 app and update command?
I fixed it so:
you must install SQLite3 to the NST you can just push it to the device. [unzip sqlite3 (push to n2e).zip]
Code:
adb shell mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system
adb push sqlite3 /system/bin
download it from here:
http://forum.xda-developers.com/showpost.php?p=14747007&postcount=2
bobstro said:
Won't disabling the screensaver keep the screen and IR sensors active, thus eating up battery life significantly when not in use?
Click to expand...
Click to collapse
This makes a lot of sense... it explains my battery drain when the screen gets stuck on the "drag to unlock your NOOK" page after a reboot. Basically you have to make sure the Nook really goes to sleep.
Disabling the IR sensors and wifi are then the key to long battery life on the NST.
For anyone trying this technique: I used the pull/mod/push approach and Renate's recommendation of a -1 value, and everything seems to be working well, but I had to powercyle (power down, then power up) my Nook to get the change to take effect.
-------------------------------------------------------------------------
Force Full Screen
v1.0.0 *** 2012-12-22
Download Mirrors
http://play.google.com/store/apps/details?id=com.jz.forcefullscreen
Official Forum:
http://forum.xda-developers.com/showthread.php?t=2063068
-------------------------------------------------------------------------
Click to expand...
Click to collapse
Force Full Screen will allow you to force any application to run in full screen even if it was not originally programmed to run in that manner. On phones it will hide the top pull down Action Bar. On tablets it will hide the bottom System Bar that has the back, home and app soft-buttons.
- Root required
- BusyBox required
The application simply executes a kill command every second to kill a process called com.android.systemui --- The actual shell script is available on XDA-Developers.com (http://forum.xda-developers.com/showthread.php?t=2063068) so that folks that like using Script Manager can use this as well. Work even better when using the Widget add-in for Script Manager.
Inspiration came from a game that did not run in full screen and my son kept exiting the game by hitting the home soft-button on the tablet.
Enjoy and please do NOT re-post or re-distribute because things get outdated quickly and the app is free for heaven's sake.
Thanks!
JZ.
This is great, but the script does not work. How can I use it? I get errors through script manager or busybox - unexpected "done".
I want to be able to toggle fullscreen through tasker.
Thanks
gloscherrybomb said:
This is great, but the script does not work. How can I use it? I get errors through script manager or busybox - unexpected "done".
I want to be able to toggle fullscreen through tasker.
Thanks
Click to expand...
Click to collapse
Not sure what the deal is, I've been using the script for a long time with ScriptManager. I also used the script successfully via Terminal Emulator --- I did have to change permissions with chmod though.
chmod 777 myscript.sh
Thanks!
JZ SmartMort said:
Not sure what the deal is, I've been using the script for a long time with ScriptManager. I also used the script successfully via Terminal Emulator --- I did have to change permissions with chmod though.
chmod 777 myscript.sh
Thanks!
Click to expand...
Click to collapse
It's OK, I fixed it.
It was because it adopted windows new line characteristics when I opened it on windows first. When I did it directly through my phone it worked fine.
gloscherrybomb said:
It's OK, I fixed it.
It was because it adopted windows new line characteristics when I opened it on windows first. When I did it directly through my phone it worked fine.
Click to expand...
Click to collapse
Nice find! That drove me insane in the beginning when I was developing the script --- but now we have a documented solution so thanks for the feedback!
The app worked but after disabling my wallpaper returned to default.
Sent from my HTC_Amaze_4G...Go Canes []_[]
My "app" is not really an app, it's more like a hack. Whenever you reload the launcher, which you did by changing background, you have to re-run my app so that's the explanation behind what happened in your case.
Thanks!
JZ
Does this disable the functionality of the notification shade? what i'd like to do is have the bar hidden, but the ability to open the shade from another app.
Crepusculi said:
Does this disable the functionality of the notification shade? what i'd like to do is have the bar hidden, but the ability to open the shade from another app.
Click to expand...
Click to collapse
Yes, it disables the pulldown menu... check the screenshots in the OP.
Thanks!
Hi got a problem with it. When I enable it the bar apparears and dissapears every second. Plus my wallpaper is black. I had the same problem with modding the systemui through apktool. Trying it on a note 3 tmo on Jedi elite v2 touch wiz... Any suggestions?
Inxed said:
Hi got a problem with it. When I enable it the bar apparears and dissapears every second. Plus my wallpaper is black. I had the same problem with modding the systemui through apktool. Trying it on a note 3 tmo on Jedi elite v2 touch wiz... Any suggestions?
Click to expand...
Click to collapse
Remember this is a hack hence the black wallpaper and the every second appearance/disappearance.
Are you using the script or the APK?
If you are using the APK then I suggest trying an app called "full!screen" it's pretty slick.
Thanks!
JZ SmartMort said:
Remember this is a hack hence the black wallpaper and the every second appearance/disappearance.
Are you using the script or the APK?
If you are using the APK then I suggest trying an app called "full!screen" it's pretty slick.
Thanks!
Click to expand...
Click to collapse
Sweet this works! Well I I've been trying on script but it always ended up with the wallpaper problem then got lazy with and tried the apks. The one you suggested works like a charm. Thanks alot.
I'll summarize this thread in one short sentence.
Ah, FFS.
Sent from my Nexus 7 using Tapatalk
Someone asked this in a thread recently but I can't find it now so I'm putting this here. If you install https://play.google.com/store/apps/details?id=com.lockscreenapp.keypadlockscreen and just keep it installed (without having it enabled) it will automatically block the system lockscreen. I did this on a phone with the ads removed already, so my lockscreen just was blank (with a pin), but I'd assume it would work the same if you weren't rooted with the ads taken out. If someone would try and report back here that'd be great.
Enjoy
You may need to enable it once to make this work (you can keep it disabled after that).
Does this work? https://forum.xda-developers.com/moto-g4/how-to/to-remove-amazon-ads-moto-g4-running-t3614090
mendelgordon said:
Does this work? https://forum.xda-developers.com/moto-g4/how-to/to-remove-amazon-ads-moto-g4-running-t3614090
Click to expand...
Click to collapse
i recall the pm hide part was used when phone first came out and worked fine, but needed to be done at each restart.
dont know about the " uninstall -k "part
you can try and let us know.
mrmazak said:
i recall the pm hide part was used when phone first came out and worked fine, but needed to be done at each restart.
dont know about the " uninstall -k "part
you can try and let us know.
Click to expand...
Click to collapse
My phone is already rooted with the ads taken off.
NO
mendelgordon said:
Does this work? https://forum.xda-developers.com/moto-g4/how-to/to-remove-amazon-ads-moto-g4-running-t3614090
Click to expand...
Click to collapse
I tried yesterday
Well, it does run successful, but the lock screen is left with a wallpaper "Amazon"
Today gonna try https://play.google.com/store/apps/d...ypadlockscreen
Unkosuro said:
I tried yesterday
Well, it does run successful, but the lock screen is left with a wallpaper "Amazon"
Today gonna try https://play.google.com/store/apps/d...ypadlockscreen
Click to expand...
Click to collapse
I did this with my girlfriend R1 HD and can confirm that the method removes all the ads.
But, as you said, it seems that there's a default lockscreen wallpaper image somewhere in the system and it gets applied after reboot.
If you are like my girlfriend and don't reboot the phone so often here's what you can do to completely remove the ads again:
Reinstall "Amazon Offers" from the Play Store (link)
Lock your screen
Receive a notification (send yourself an email/whatsapp/whatever)
When the notification is displayed on your lock screen you should have your own wallpaper as a background and an Amazon advertising as a notification
Enable USB debugging and plug your phone into your PC, open a terminal and run:
Code:
adb shell pm uninstall --user 0 com.amazon.phoenix
Enjoy your completely ad-free phone until you reboot (at that time you could simply repeat this process)
t4n017 said:
I did this with my girlfriend R1 HD and can confirm that the method removes all the ads.
But, as you said, it seems that there's a default lockscreen wallpaper image somewhere in the system and it gets applied after reboot.
If you are like my girlfriend and don't reboot the phone so often here's what you can do to completely remove the ads again:
Reinstall "Amazon Offers" from the Play Store (link)
Lock your screen
Receive a notification (send yourself an email/whatsapp/whatever)
When the notification is displayed on your lock screen you should have your own wallpaper as a background and an Amazon advertising as a notification
Enable USB debugging and plug your phone into your PC, open a terminal and run:
Code:
adb shell pm uninstall --user 0 com.amazon.phoenix
Enjoy your completely ad-free phone until you reboot (at that time you could simply repeat this process)
Click to expand...
Click to collapse
This process I worked at 80% in my Blu R1 HD V8.4, I do not leave the ads, only one of the book and ready nothing annoying or repetitive as before, this while leaving the root for this version.:good:
you guys should honestly just root because that amazon offers process still is running in the background wasting battery and if you force stop it it eventually turns itself back on not to mention the bloatware makes the blu r1 hd seem soooo slow
Can I do this with v9.2?