I have looked around (maybe not in the right places) but haven't found a generic and clear cut steps to remove any lockscreen (HTC or rotary or anything else) via adb and replace with custom lock screen of any other sort. Can anyone that knows exactly how to accomplish this post the steps or if those steps are already floating in the forum somewhere post it?
Thank you so much..... (I had to flash the rom every time I messed with the lockscreen!!!)
heroid007 said:
I have looked around (maybe not in the right places) but haven't found a generic and clear cut steps to remove any lockscreen (HTC or rotary or anything else) via adb and replace with custom lock screen of any other sort. Can anyone that knows exactly how to accomplish this post the steps or if those steps are already floating in the forum somewhere post it?
Thank you so much..... (I had to flash the rom every time I messed with the lockscreen!!!)
Click to expand...
Click to collapse
I don't know what you mean by custom, but to remove the HTC Lockscreen, do this with adb:
Code:
adb remount
adb shell
cd /system/app
rm HtcLockScreen.apk
exit
That will remove the HTC Lockscreen and, assuming you're running a ROM that has the vanilla lock screen already, it will show up with that.
There aren't many custom lock screens for 2.1 that I know of. All the ones I've seen have been for 1.5.
I'm not sure if damagecontrol has vanilla lock screen along with his Rom, if he doesnt then it explains. Thank you.
-------------------------------------
Sent via the XDA Tapatalk App
heroid007 said:
I have looked around (maybe not in the right places) but haven't found a generic and clear cut steps to remove any lockscreen (HTC or rotary or anything else) via adb and replace with custom lock screen of any other sort. Can anyone that knows exactly how to accomplish this post the steps or if those steps are already floating in the forum somewhere post it?
Thank you so much..... (I had to flash the rom every time I messed with the lockscreen!!!)
Click to expand...
Click to collapse
Check this thread, I think it is what you are looking for: http://androidforums.com/all-things-root-sprint-hero/82790-bad-lockscreen.html
Related
What does it mean to 'flash' something? I just installed the newest version of CM, and was attempting to install a new lockscreen, but I can't seem to figure out what to do. I've tried searching the forums here and google but I don't seem to have much luck. Any help would be awesome. Thanks!
TeddyBallGame said:
What does it mean to 'flash' something? I just installed the newest version of CM, and was attempting to install a new lockscreen, but I can't seem to figure out what to do. I've tried searching the forums here and google but I don't seem to have much luck. Any help would be awesome. Thanks!
Click to expand...
Click to collapse
You 'flashed' Cm, you 'flash' the lockscreen the same way. Flashing is when you put a new rom/mod/etc on your phone by 'flashing' through recovery. That's the best way I can explain it. But if you didn't know what 'flash' meant, you probably shouldn't have rooted
JAguirre1231 said:
You 'flashed' Cm, you 'flash' the lockscreen the same way. Flashing is when you put a new rom/mod/etc on your phone by 'flashing' through recovery. That's the best way I can explain it. But if you didn't know what 'flash' meant, you probably shouldn't have rooted
Click to expand...
Click to collapse
hmm, then perhaps its an issue with the lockscreen file as my G1 won't go past the initial screen. Thanks for the help.
I'm assuming that you're refering to Stericson's lockscreen mod. That absolutely HAS to be compiled for the particular rom you're using. If you flashed the wrong one - you'll start having all kinds of problems. To fix them, you will need to re-flash your original rom (in your case CM 4.2.11.1) and then flash rom-specific lockscreen. Here's the link for CM's 4.2.11.1 lockscreen.
Good luck
I would like someone to explain to me in detail how to get the other lockscreen for fresh 2.0b i would like the non-sense one. someone tryed to explain to me that u need to use sdk. which i downloaded but i dont know what to do from there i unzipped onto my desktop now what?
http://lmgtfy.com/?q=how+to+delete+htclockscreen
I would mind a guide as well. Or at least a confirmation that what I find on google works in 2.1 roms...
edit: i mean the nexus style lockscreen
I would say dont mess with it. Sounds like you are not sure what ADB is and haven't really done your reading.
There are ways to backup files and restore files to change the lockscreen. Hell, there is a thread on page 1 or 2 that talks specifically about lockscreens.
Please do some reading, the info is right in front of you.
i looked on the wiki guide but it really isnt detailed. i have no problem learning how to do this and really would like to but the guide isnt specific
jokerpt50 said:
i looked on the wiki guide but it really isnt detailed. i have no problem learning how to do this and really would like to but the guide isnt specific
Click to expand...
Click to collapse
buy root explorer from the market and go to system/app/htclockscreen.apk and hold onto it and delete. after that then reboot
Agree
jokerpt50 said:
i looked on the wiki guide but it really isnt detailed. i have no problem learning how to do this and really would like to but the guide isnt specific
Click to expand...
Click to collapse
I agree, I am fairly new to the Android and I was able to get through the initial steps of rooting it and flashing it however, I want to know the details.
Do I need to reinstall my programs every time or is there provxml like Windows Mobile had?
I partitioned my SD Card because the option is there but what is it for? Why is there a need to adb push some items vs just copying data directory on the card from the usb connection.
Why can't I get Live Wallpapers to work even when I disable Sense UI via home switcher?
The Wiki is great for some of the how's but I am missing some of the why's. And where I can go. Then if you go to a thread, the people on the thread are usually pass the point I wanna know and refer to it in passing.
Sorry OP, I don't have an answer to your question, but just many questions of my own. Now, I admit I could have missed the information somewhere on here but usually that kind of thing is sticked but this forum chooses not to use Stickies.
Thanks for any help you've got.
Not sure what to tell you. The information is here for you to read. There are a ton of devs on this board that are doing a ton of stuff most of us dont know. This is a development forum, meaning they are de-compiling tweaking and recompiling. What you are looking for is a 101 class but these discussions are mostly 501 material.
Android is based on Linux. If you know that you have a leg up.
If you find a guide that teaches how to understand this stuff, please share it with all of us. Most of what these guys are doing is from lots and lots of experience and lots and lots of trail and error.
Hell, there are people that have gone to the lengths to write countless guides on rooting, pushing and pulling files, hell there is even a guide on how to compile your own ROM.
The information is there. Lots of it I don't understand either, so I sit back and try to answer what I can answer, most of which is just posting an answer someone else posted and I read because I have read a LOT!!!.
KwestJones said:
Do I need to reinstall my programs every time or is there provxml like Windows Mobile had?
Click to expand...
Click to collapse
It depends. Don't know what that program is. There are backup programs that you can buy that will do backups. You only lose your apps when you do a wipe. Please read more and understand what you are doing before you do it.
KwestJones said:
I partitioned my SD Card because the option is there but what is it for? Why is there a need to adb push some items vs just copying data directory on the card from the usb connection.
Click to expand...
Click to collapse
Now you are setup for apps2sd. I don't use it, I don't like it. I don't know if you can go back without reformating your SD card.
KwestJones said:
Why can't I get Live Wallpapers to work even when I disable Sense UI via home switcher?
Click to expand...
Click to collapse
If you are asking about LWP, then you are running a 2.x ROM but have not read the entire thread about that ROM. Please search that thread for Live or LWP etc.
KwestJones said:
The Wiki is great for some of the how's but I am missing some of the why's. And where I can go. Then if you go to a thread, the people on the thread are usually pass the point I wanna know and refer to it in passing.
Click to expand...
Click to collapse
You will have a very hard time getting answers to any "why" type question when dealing with programming. Most of the time I get from my devs is "why not" or "cause that's what I felt like that day"
KwestJones said:
Sorry OP, I don't have an answer to your question, but just many questions of my own. Now, I admit I could have missed the information somewhere on here but usually that kind of thing is sticked but this forum chooses not to use Stickies.
Click to expand...
Click to collapse
There is a guides stickie, a rom stickie. Not sure what else you are looking for.
My advice, if you do not know what you are doing, dont do it. Dont flash a radio unless you know what that will do. Keep reading until you understand what you are about to do.
i tryed using root explorer app and hold then delete but it says it is a read only file and can not be deleted?
I agree with a lot of the posts I have seen so far regarding the information existing and having to spend the time to find it. It was a bear for me to figure out how to sign zip files so that i could customize ROMs, but after spending nearly 6 hours going from one site to another and one thread to another, I finally pieced it together and can sign zips. In the meantime, i also learned a lot of other things too because as someone else mentioned here, a lot of times a thread is full of stuff, but only references something that they might be interested in at that particular moment.
Unfortunately, this is an advanced forum and lots of the people on here have taken the time to learn things by just "putting in the time"... You need to do the same thing and use search 5 ways from sunday to find what you want... if 10 pages into a 50 page thread you haven't found what you want, you still need to finish the last 40 pages, click all the links in the threads and make sure you've searched things in that thread that you can't find after finishing it... then you do it all over again on another thread.
Guides are nice, but if everyone spent time making guides, development of ROMs etc. would suffer as this is not easy stuff until you figure it out and make it work and there is no truly easy way to make a guide that is multi-faceted.
Maybe if you learn things on your own, you can piece together all the different places you found the pieces you needed to do what you wanted and create the guide...
R
Thank you
Bielinsk said:
It depends. Don't know what that program is. There are backup programs that you can buy that will do backups. You only lose your apps when you do a wipe. Please read more and understand what you are doing before you do it.
Click to expand...
Click to collapse
Programs like Google Maps, like Google Voice, like Google Goggle, like Advanced Task killers...standard programs that I would want to have on my phone everytime I flash a new ROM. The two ROMs I've had both required wipes.
Bielinsk said:
Now you are setup for apps2sd. I don't use it, I don't like it. I don't know if you can go back without reformating your SD card.
Click to expand...
Click to collapse
Now if its title implicates its meaning, I think it might be answer to the question up above, but I haven't been able to find an explanation of what it is. Maybe that's my impatience. I did look in the guides on the WIKI and although there is an explanation about how to switch an Apps2SD card, there is no explanation of what it is or how to use it.
Bielinsk said:
If you are asking about LWP, then you are running a 2.x ROM but have not read the entire thread about that ROM. Please search that thread for Live or LWP etc.
Click to expand...
Click to collapse
You are right. I didn't read the 37 pages about the ROM. I did look in the guides on the WIKI and that's not there either.
Bielinsk said:
You will have a very hard time getting answers to any "why" type question when dealing with programming. Most of the time I get from my devs is "why not" or "cause that's what I felt like that day"
Click to expand...
Click to collapse
Don't get me wrong. I don't want to reverse engineer the code. I do wanna know why I need to, for example, partition my card to use Apps2SD. I do want to know why I need to adb push.
Bielinsk said:
There is a guides stickie, a rom stickie. Not sure what else you are looking for.
My advice, if you do not know what you are doing, dont do it. Dont flash a radio unless you know what that will do. Keep reading until you understand what you are about to do.
Click to expand...
Click to collapse
I guess that's the answer to the question. Keep reading. I was looking for a compilation and summary. I guess I'll just have to get busy reading and updating the wiki myself.
Thanks
jokerpt50 said:
i tryed using root explorer app and hold then delete but it says it is a read only file and can not be deleted?
Click to expand...
Click to collapse
You have to press the {R/W} button on the top of the screen first. Stands for Read/Write, when done press it again so it says {R/O} Read/Only
Joker,
I'm willing to try to walk you through it step-by-step if you want me to. Are you running Windows? If so, have you downloaded Android SDK Windows? Once you've downloaded that, put it in the C:\ directory of your hard drive and let me know. I'll try to make this in plain English. I'm rather new to Android myself, but this is a rather simple task if you have someone willing to explain it to you. I'll give it a shot.
Please connect your phone and select the HTC Sync option. I forgot to mention in the previous post that you should have the most recent HTC driver installed on your computer. If you have HTC Sync installed, you should have the driver too. When you connect your phone and select HTC Sync, it will search for Sync but not find it. This is ok, just acknowledge the prompt on your phone.
Next, open the Command Prompt. One way to do this is to go to the Start Menu ---> Run and type: cmd
This should open the Command Prompt in a new window. Next type each of the following lines into the Command Prompt and press Enter at the end of each line.
cd c:\android-sdk-windows\tools
adb remount
adb shell
cd /system/app/
rm HtcLockScreen*
exit
adb reboot
Once you press enter after the reboot, your phone should reboot with the Android 2.1 lockscreen. If you have any questions or problems, feel free to ask. I'll try to check back and answer whatever I can. Good luck.
i got it to work thanks so much everyone for your help!
How can i get the stock android slider lockscreen on this rom? every time i try to replace the .jar file in the framework there is a black bar going across the screen where the old lockscreen was. Someone help?
That's because you're doing it wrong. You don't change any files in the framework for that mod. You replace the android.policy.odex file.
Sent from my Captivate
miztaken1312 said:
That's because you're doing it wrong. You don't change any files in the framework for that mod. You replace the android.policy.odex file.
Sent from my Captivate
Click to expand...
Click to collapse
I think he means the framework folder (/system/framework) which is correct.
I thought his ROM already had the android stock lock though... do you want the touchwiz/glass lock screen? Or Taplock (with the slide left/right options)?
I dont want the glass lock screen. I hate it. I want the 2 slider one
Sent from my GT-I9000 using XDA App
Of the three variations of Shep's ROM, there are 2 with the stock lockscreen, one without. I guess he has the one without.
He actually was replacing the correct file. Sorry aknitter1.
Since Shep's ROMs are fully deodexed, you will want this file.
http://dl.dropbox.com/u/10062959/android.policy.jar
Remember to backup, replace, then reboot after you are done. And be sure to thank Nixxed for that, it came from his thread. +1 for Nixx
yea. thats what i used... but for some reason the black bar with the arrows on it is still there.. ?? ill try to post a screen shot.
this is my problem...
Problem Solved. Figured it out.
Why not elighten people as to what you did to fix the issue. Could very well help someone out in the future.
To get the stock lock screen go to this thread...
http://forum.xda-developers.com/showthread.php?t=808763
...and download the stock lockscreen (JPM_Froyo_Lockscreen.zip) and install it to your phones internal SD card. Reboot into clockwork recovery and flash it. reboot and its done!
So today I was trying to put the tools widget on my Xperia Z, but... I just couldn't find it.
I was following this guide:
http://videotron.tmtx.ca/faqs/item/...=adding_the_quick_settings_widget_to_the_home
I could navigate through most of it, but... "Tools" just wasn't there. I also can't add a digital clock to my home screen for this reason.
Anyone know why, and how to fix this?
Thanks in advance.
Sayari said:
So today I was trying to put the tools widget on my Xperia Z, but... I just couldn't find it.
I was following this guide:
http://videotron.tmtx.ca/faqs/item/...=adding_the_quick_settings_widget_to_the_home
I could navigate through most of it, but... "Tools" just wasn't there. I also can't add a digital clock to my home screen for this reason.
Anyone know why, and how to fix this?
Thanks in advance.
Click to expand...
Click to collapse
do you have space on your homescreen?
and you on Stock JB ROM?
Rooted or not?
Thank you for your reply. I am running stock, no root, and I do have space on my home screen. I can get to the widgets part fine, but the tools are not listed at all.
I'm new to android.I'm quite confused about the whole custom Rom installation process.I managed to unlock bootloader and root my phone.I tried to find guides to let me install custom roms on my device.I have a vague idea about the whole process but whenever I look at a ROM release thread, half the information there is beyond me.I would be happy if someone pointed me in the right direction to a complete guide with noob friendly instructions.Also, I would prefer to stay S-On, can someone help me with the whole s-off regarding custom Rom stuff too?
Thanks.
Sent from my HTC One using XDA Free mobile app
Nanda K said:
I'm new to android.I'm quite confused about the whole custom Rom installation process.I managed to unlock bootloader and root my phone.I tried to find guides to let me install custom roms on my device.I have a vague idea about the whole process but whenever I look at a ROM release thread, half the information there is beyond me.I would be happy if someone pointed me in the right direction to a complete guide with noob friendly instructions.Also, I would prefer to stay S-On, can someone help me with the whole s-off regarding custom Rom stuff too?
Thanks.
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
You don't need s-off to flash most custom roms. Only some GPE version will require s-off.
Flash twrp 2.8.5.0
boot your phone in recovery mode
plug your phone to your pc
place your rom.zip on your phone storage
in twrp select "install"
choose your rom.zip
swipe to flash
Follow instructions from the rom installer (aroma installer)
reboot
Nanda K said:
I'm new to android.I'm quite confused about the whole custom Rom installation process.I managed to unlock bootloader and root my phone.I tried to find guides to let me install custom roms on my device.I have a vague idea about the whole process but whenever I look at a ROM release thread, half the information there is beyond me.I would be happy if someone pointed me in the right direction to a complete guide with noob friendly instructions.Also, I would prefer to stay S-On, can someone help me with the whole s-off regarding custom Rom stuff too?
Thanks.
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
Ill be honest. Doing things like this are not meant to be noob friendly.
Take about a week and do lots of reading this way if something goes wrong you will know how to recover.
That's what I'm having trouble with.I cant seem to find any solid reading material for stuff like these.For example, will restoring a nandroid backup really fix problems like bootloops and other errors you may run into while flashing ROMS? Also,how do kernels and ROMs match up? are they independent of each other or do certain ROMs work only when you have a particular kernel installed? will a wrong kernel cause any issues with certain ROMs and I'm seriously scared of bricking my device since the amount you're required to know is quite vast.I used to have an iPhone until the HTC One M7 and I was pretty much an advanced user on the iOS platform.I wouldnt call myself a noob, but I cant call myself an advanced android user either.Atleast not yet.
Nanda K said:
That's what I'm having trouble with.I cant seem to find any solid reading material for stuff like these.For example, will restoring a nandroid backup really fix problems like bootloops and other errors you may run into while flashing ROMS? Also,how do kernels and ROMs match up? are they independent of each other or do certain ROMs work only when you have a particular kernel installed? will a wrong kernel cause any issues with certain ROMs and I'm seriously scared of bricking my device since the amount you're required to know is quite vast.I used to have an iPhone until the HTC One M7 and I was pretty much an advanced user on the iOS platform.I wouldnt call myself a noob, but I cant call myself an advanced android user either.Atleast not yet.
Click to expand...
Click to collapse
Wow yeah you need to do alot of reading then. Now while I mean no insult. Being an advanced user for IOS and jumping to android is like going from first grade and then jumping to the 12th.
Yes depending on the device kernels only work with matching roms. Take the m7 you mentioned. You have 4 kind of kernels. AOSP, AOSP-Caf, Sense and CM
Each has to be paired with a matching rom. IF you flash the wrong one then it can cause a bootloop. Never expect a nandroid to be a fix all. While it will fix things alot of the time it is not an end all to fixing a bad flash. Sometimes you will have to flash things with a bootloader from command line. Depending on your OS on your PC there could also be other issues. So at times you may need a linux based live disc or partition.
Nanda K said:
That's what I'm having trouble with.I cant seem to find any solid reading material for stuff like these.For example, will restoring a nandroid backup really fix problems like bootloops and other errors you may run into while flashing ROMS? Also,how do kernels and ROMs match up? are they independent of each other or do certain ROMs work only when you have a particular kernel installed? will a wrong kernel cause any issues with certain ROMs and I'm seriously scared of bricking my device since the amount you're required to know is quite vast.I used to have an iPhone until the HTC One M7 and I was pretty much an advanced user on the iOS platform.I wouldnt call myself a noob, but I cant call myself an advanced android user either.Atleast not yet.
Click to expand...
Click to collapse
Your in safe hands with this forum....theres not nuch that cannot be solved if you go wrong,however there are a multitude of good videos on you tube .
I found this guys videos very easy to follow https://www.youtube.com/channel/UCKlOmM_eB0nzTNiDFZibSSA
A little out of date now but a good image of what to do,backed up with the knowledge base on this forum its relatively easy!
Once you have a custom recovery make back ups before you do anything,I found buying an OTG cable and USB drive a good way to create lots of back ups ,so if things go wrong you have a good restore point.
Unlikely to brick your device if you keep S-on ,build up your confidence and go S-off when you can...its like xmas everyday once you know how to use the power it brings!
Okay,let me start off simple.My HTC One M7 is on complete stock now.Running Lollipop from HTC.It is an unlocked Hong Kong version.Bootloader unlocked and TWRP recovery flashed.I need a kernel which will enable motion launch gestures as on the one m8 and also functions like sweep2wake etc.Can someone link me to the appropriate kernel to flash?
I know how to flash the kernel, I have trouble choosing the right one.
Sent from my HTC One using XDA Free mobile app
Nanda K said:
Okay,let me start off simple.My HTC One M7 is on complete stock now.Running Lollipop from HTC.It is an unlocked Hong Kong version.Bootloader unlocked and TWRP recovery flashed.I need a kernel which will enable motion launch gestures as on the one m8 and also functions like sweep2wake etc.Can someone link me to the appropriate kernel to flash?
I know how to flash the kernel, I have trouble choosing the right one.
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
If you are running stock rom (sense 6) + lollipop and your phone is a M7_UL or M7_U then ElementalX 20.1 should work fine
From one noob to another haha
I really like ViperOne mods, but I haven't used Elements.
alray nailed it -- easiest ROM install.
you need to install TWRP first.
I used the HTC One Toolkit for this, you can find it on XDA. (Sorry new user, I can't post links)
I assume your phone is still unlocked. -- if not, unlock it
Have Debug mode Enabled on your phone. (Settings -> About -> Software information -> More -> Click Build number 10 times)
Settings -> Developer options -> USB Debugging -> Checked
Using HTC One Toolkit, click ADB -> Devices
this will start adb. you might wait a second or 5 for your device to be shown.
Then click the Pull down reboot menu select bootloader, then click Reboot.
-the phone should reboot into the Bootloader.
Select Fastboot, press power button.
Then in HTC One Toolkit, close the adb window and click Fastboot.
Click Devices
-Your device should show in the main HTC One Toolkit window.
Once you see that, Under Label Flash, press ... button and select the TWRP you just downloaded. Then select Partition Recovery, then Flash.
Once complete and successful, reboot the phone into Recovery from the phone's menu.
!! NOTE !! You must reboot into Recovery before starting the ROM. Or it may re-write the Recovery.
Once in Recovery, reboot the phone from within Recovery and let it start normally.
Copy your rom (in .zip format) onto your phone. I make new folder called roms or mods on my phones so I don't lose track of where things are.
Once your Rom is copied to your phone (I suggest ViperOne 8.0.0.0), use ADB again and reboot the phone into recovery.
From TWRP Touch Install
navigate to your folder where your ROM is (zip file)
Click it and install.
I wipe all settings when I install a new ROM.
Good luck!
B
_FBi said:
I used the HTC One Toolkit for this, you can find it on XDA. (Sorry new user, I can't post links)
Using HTC One Toolkit, click ADB -> Devices
Then in HTC One Toolkit
-Your device should show in the main HTC One Toolkit window.
Click to expand...
Click to collapse
And I would highly recommend not using any toolkits but instead take an extra 30 mins to learn how to use adb and fastboot properly so if something bad happens you know how to deal with it.
Most noobs are totally stuck if something is not working as expected when using a toolkit. Wen you took the time learning adb and fastboot you'll know how to deal with most issues when flashing roms/recovery/ruu/frimware/kernel/radio and more. When you did not took any time to learn adb and fastboot and using a toolkit instead, when something unexpected happen, you'll just be stuck there because your little toolkit doesn't have any "I'm screwed, what should I do?" button.
alray said:
And I would highly recommend not using any toolkits but instead take an extra 30 mins to learn how to use adb and fastboot properly so if something bad happens you know how to deal with it.
Most noobs are totally stuck if something is not working as expected when using a toolkit. Wen you took the time learning adb and fastboot you'll know how to deal with most issues when flashing roms/recovery/ruu/frimware/kernel/radio and more. When you did not took any time to learn adb and fastboot and using a toolkit instead, when something unexpected happen, you'll just be stuck there because your little toolkit doesn't have any "I'm screwed, what should I do?" button.
Click to expand...
Click to collapse
I have nothing against using using tools, so long as they're trusted.
Nor is there anything wrong doing it by hand, if not more beneficial.
All in one tools bypass a lot of the understanding.
Alray's first post was right to the point, basic, and a perfect example.
B
I do know how to use adb and command line to do all that.Intact I did not know that there was a toolkit to do this before I read that post
I do have some experience with the HTC wildfire and sensation XL.But they were considerably older devices which I used a long time ago as temporary ones.
The HTC One is my first non iOS device.
Sent from my HTC One using XDA Free mobile app