I saw a couple of people post about it here on XDA and on OnePlus Forums. I wanted to do this myself too for a while and finally got my hands to getting around to work on it.
I enjoy seeing a new wallpaper every hour or so, it does drain battery, but for me it is very aesthetically pleasing. However, I have not seen anyone be able to put a live wallpaper on the lock screen.
Yes, there is the option of getting CM and lock screen widgets, but I like the stock OS feel and it works fine IMO. After some digging around I finally got an idea on how to do it, but it still doesn't work or works in small parts.
(almost working) Guide for getting Live Wallpaper on Lock Screen : (I'll be using Muzei as the example but I'm sure it will work for other ones too)
1. The first thing to do is find the location of where the app stores the images. For Muzei it's in /sdcard/android/data/net.nurik.roman.muzei/cache/artcache/ . I am using the reddit plugin so there's an extra directory there. The files for Muzei are actually not saved as .jpgs, but if you convert them you can get the original image.
*From this point on I tried automating the process with tasker but it has had mixed results so I'll do it step by step manually.
2. You want to copy over the image from the directory where they are saved to /data/system/users/0/ . (you need explorer with root permission to do so). Inside this folder there are 4 important files. Namely "wallpaper" "keyguard_wallpaper" "wallpaper_info.xml" "keyguard_wallpaper_info.xml" The wallpaper file is the one on your home screen and the lock screen wallpaper is the keyguard.
3. Delete "keyguard_wallpaper_info.xml". Delete "keyguard_wallpaper". Next, rename the image to "keyguard_wallpaper" and save it just as is without any extension. Change the permissions to 707 (-rwx---rwx) and change owners to system. Reboot and voila you changed the wallpaper.
With an automated program like tasker this process should be automatic. Once a new wallpaper is updated it shows up in the directory and triggers the process. You delete the old keyguard_wallpaper. Move the new image to the directory and rename it. Delete it from the original wallpaper directory. Change permissions and it should work. However, it does not. even if you do it manually, the lock screen resets to the stock OP Never Settle lock screen. This is where I need help. I don't know why it resets, and where could I possibly find the file that is doing this? I pretty much debloated the phone even removing oneplus stuff but there still seems to be something on a deeper level. If you know how to fix this it would be great if you could share as I hope to help some people. Any feedback on layout of the post, on using tasker, and on anything else is much appreciated.
Cheers.
Related
Hi all,
Tried searching but can't find any answers. And couldn't find anything while browsing folders from Astro for the wallpaper files.
How do you remove wallpapers that's in the system? And also, remove a specific option (for example, Wallpapers Launcher) where you select wallpaper from? (ie, when you go menu/wallpaper there's a pop that ask you where you can choose the wallpaper from? How to remove an option)
Thanks in advance!
You can't remove the pop up option. Removing the system wallpapers involves pulling the launcher apk file and removing the wallpaper files from it, then pushing it back. There's no such thing as a wallpapers folder in Android. You have to be rooted to even do that much. Don't bother wasting your time. Live with the way it's currently set up.
uansari1 said:
You can't remove the pop up option. Removing the system wallpapers involves pulling the launcher apk file and removing the wallpaper files from it, then pushing it back. There's no such thing as a wallpapers folder in Android. You have to be rooted to even do that much. Don't bother wasting your time. Live with the way it's currently set up.
Click to expand...
Click to collapse
Thanks for the reply! I'll play around with launcher apk file and see how that goes...
If you don't want to mess around with that, I have a modified Launcher2.apk that all I did was repackage the wallpapers. It is based off of Manup456's Launcher2.apk from his 1.9r3 theme for CM5.0.4.1 I'll post some screens of a few wallpapers.
Code:
adb remount
Code:
adb pull /system/app/Launcher2.apk Launcher2.apkBAK
Code:
adb push Launcher2.apk /system/app/Launcher2.apk
So it seems the Launcher.apk is too big. I am at work and can't access any sort of file sharing websites. Anybody have any suggestions of how I can upload this?
ccunningham83 said:
So it seems the Launcher.apk is too big. I am at work and can't access any sort of file sharing websites. Anybody have any suggestions of how I can upload this?
Click to expand...
Click to collapse
Have you compressed it into a zip file?
I'm not sure I'm doing it right. I am using 7-zip. I will take everything I want to zip, highlight it, right click, then select 7-zip => add to archive, use the default settings (Normal compression level). When I'm done I get a nice .zip file, change it to .apk and resign. I thought about changing the compression level, but I don't want to mess it up if everything is working great.
ccunningham83 said:
I'm not sure I'm doing it right. I am using 7-zip. I will take everything I want to zip, highlight it, right click, then select 7-zip => add to archive, use the default settings (Normal compression level). When I'm done I get a nice .zip file, change it to .apk and resign. I thought about changing the compression level, but I don't want to mess it up if everything is working great.
Click to expand...
Click to collapse
You can't do it that way. What you should do instead, is to open the original apk file, by right-clicking on it and choosing "Open with"... and use 7zip.
That will open the apk archive showing you the contents. Find the appropriate folder where the wallpapers are located. You can now delete the wallpapers or replace them by overwriting... I think you can add more as well, but haven't tried that. Then just close 7zip and save the apk if prompted. There's no need to resign the apk this way either.
That's it... just push that back to /system and reboot.
Edit: Make sure to do a nand backup first.
I may give it a try. The Launcher2.apk in Manup456's theme is 10.9 MB though, so even that is over the limit to attach to a post here on XDA. Back to the original posters question, you can delete the wallpapers in the Launcher2.apk, but you will have a blank spot where you deleted the Launcher. It is best to replace both the wallpapers with ones of the same name. There will be one by one name and another one with the same name except "_small" after it. They are sized 960x800 for the normal and 170x142 for the small wallpaper (the preview one).
ccunningham83 said:
I may give it a try. The Launcher2.apk in Manup456's theme is 10.9 MB though, so even that is over the limit to attach to a post here on XDA. Back to the original posters question, you can delete the wallpapers in the Launcher2.apk, but you will have a blank spot where you deleted the Launcher. It is best to replace both the wallpapers with ones of the same name. There will be one by one name and another one with the same name except "_small" after it. They are sized 960x800 for the normal and 170x142 for the small wallpaper (the preview one).
Click to expand...
Click to collapse
This is the reason I recommended that the OP not waste his time. What's the problem with having a separate wallpapers folder on your SD card and applying from there? I have 10-12 wallpapers that I found there and it works great. The only thing "some" people may find unappealing is that it shows up in the Gallery...
I think most people put it in the gallery and leave it at that. I however, seem to make everything extremely difficult. I enjoy having the wall paper show up in the Launcher2 gallery instead of the gallery app. I like it because it is already sized, formatted, and doesn't show up in the gallery. Plus, it is cool to show off (though most people don't understand the amount of work that went into it).
So I'm going through my apps, looking to change their icons to some custom ones that I have (so they all have the same style). Everything runs smoothly: I transferred them all to my pc, opened the apks with winrar, replaced the icons, resigned them and then installed them through adb. However, when I open my app drawer, the icons end up being different sizes. Some are smaller than the others. All the icons that I am using to replace the originals are all 60x60 so I'm not sure what the problem is. Is there something in the .apk itself that tells the phone what to scale image to or something? Any help would be appreciated.
I know this is quite irreverent to your question, but may I ask how do you sign apks? I really haven't found any way yet.. not a simple way at least.
http://forum.xda-developers.com/showthread.php?t=646962
after signing you need to delete the original app from your phone (unable to just overwrite), put the signed app in your sdk/tools folder and then install it with "adb install 'whatever_your_app_name.apk"
bump for anyone interested
There must be something in the apk that tells the OS how much to scale an image because as soon as I replaced the stock icon with a custom that was the same dimensions everything worked smoothly.
Your best bet is to keep the same size as the originals, sometimes images are stretched to fill their containers.
the problem was actually that they'd end up being smaller in the launcher than they should be. I was overwriting 48x48's with 60x60's thinking they'd work like bettercut and just scale correctly but I was wrong.
Okay. Please excuse me if this seems very rudimentary, or it's already been done, or anything else along those lines. I've done a lot of searching for any method to accomplish this, but haven't found anything.
So, this is in regards to that #$$&%!? ghost voicemail icon that shows up for sprint MIUI users who unwittingly transitioned from dumbphone to smartphone and left voice messages in the old inbox. If you do this, your phone will be stuck with a "new voicemail" notification that cannot be permanently cleared without swapping back to the dumbphone and clearing those VM's.
I understand that this method is *not* that difficult. Hell, I even have my old phone with which I could fix this. However, the issue for me is that this remains the only method of getting rid of this annoyance. I mean...come on. This is a hacked-out version of an open-source telephone software with a massive amount of community support. The only fix we've figured out involves two flashes and deactivating the phone?
So, I had the simple idea of just blanking out the damned icon.
I was due to install this week's build of MIUI anyway, so I downloaded the .zip onto my computer, and found framework-res.apk in system/framework/. Inside the res/drawable-hdpi/ folder is the file stat_notify_voicemail.png.
You then simply extract that file, open it in a photo editor, delete the contents, and save it again as blank .png file. Re-insert that into framework-res, stick that back into the MIUI .zip, copy it to the phone, and flash as usual.
This will take care of the icon for *most* themes.
However, I happened to be using the blackice theme, which has it's own themed icon.
In hunting for a working DL for my blackice theme (RIP Megaupload), I found that with one of the latest MIUI updates, the camera icon on the lockscreen broke because they switched .apk names. So, perfect time to update blackice too.
I downloaded ver 2.3 from here:
http://www.mediafire.com/?3j8i5ekpxmrek37 (credit to Cgvelmax)
Then did the same repack to the framework-res file inside the zip and stuck it in sdcard/miui/theme. Loaded the theme up, and viola...no more icon.
Now, obviously, this is an imperfect method. The notification is still in the noti area, and if you have other notifications, the space will be obvious. I'm just happy that I don't have to look at it every time I use my phone.
So, here is the modified version of Cgvelmax's edit of Blackice. I take absolutely no credit for doing anything other than swapping the one file out in the theme.
http://www.mediafire.com/?k85faok0ncrt3tx
If I have time, I'm going to try to get into the xml and see where the icon is called. Hopefully, I can modify it so that the entire notification takes up no space at all, or a 1x1 spot or something like that.
edit: thanks man!! worked perfectly!! i cant wait for you to find out how to remove it from the swipe down notification bar now. Thanks
so much!!!!!
ROM 5.1.1I removed ads of lockscreen without root. Now i want to customize picture of screensaver. Can you help me? Pls!
You will need root. The non-ad lock screen images are contained in /system/priv-app/SystemUI/SystemUI.apk in its res/raw-hdpi-v4 folder.
Now, somebody please prove me wrong. There must be an easier way than unzipping the apk, replacing the files with others of same name and size, rezipping, and replacing the apk. Maybe a lock screen app?
Wondered this too gonna make the switch to a room soon since I don't use stock video players anyway
Sent from my Amazon Fire 2015
theholycow01 said:
You will need root. The non-ad lock screen images are contained in /system/priv-app/SystemUI/SystemUI.apk in its res/raw-hdpi-v4 folder.
Now, somebody please prove me wrong. There must be an easier way than unzipping the apk, replacing the files with others of same name and size, rezipping, and replacing the apk. Maybe a lock screen app?
Click to expand...
Click to collapse
Thanks you very much.
And i removed ads on lockscreen last night but today, it come back :v. Rom 5.1.1 seem unstable
I had the same experience, as have others. I can't remember if I found a solution or not before I rooted, but ever since I rooted I haven't seen the ads come back. You might get away with temporarily rooting, killing the ads, and then not making root permanent if you don't want it.
Try the SuperTool.
http://forum.xda-developers.com/amazon-fire/development/amazon-fire-5th-gen-supertool-root-t3272695
I've just had a look at the latest version's code and it looks like it automatically does the temp-root thing as part of its 5.1.1 ad removal.
Also note that using something like link2sd or Titanium Backup to disable the app "Special Offers" will stop it, but it's not clear to me if root is required...I would assume so.
So, before I put all that together I went looking through my bookmarks to try to find out if there was a more permanent way to remove the ads without root and instead I found this more detailed post about changing the wallpapers (for a different Amazon device):
http://forum.xda-developers.com/showthread.php?t=1898198
You'll notice that it says a different .apk filename than I did; that's because of the different device. Procedure should be the same for us but I haven't tried it. Anyway, the second post says something that's very relevant for me: If you merely delete all the wallpapers you get a plain black background. I like a plain black background, and that's a lot less mucking about than replacing files and making sure their permissions are correct. I might try it and see if it works on the KFFOWI.
theholycow01 said:
Also note that using something like link2sd or Titanium Backup to disable the app "Special Offers" will stop it, but it's not clear to me if root is required...I would assume so.
Click to expand...
Click to collapse
Yep it does need root.
Hey all.
Does anybody knows how to change the Screenshots folder to InternalStorage/pictures/screenshots (like all the other android devices) instead of InternalStorage/DCIM/Screenshots?
In the galaxy s10 it saves automatically in the DCIM folders and Google Photos detects it like has been taken with the Camera so it automatically backups all the screenshots like normal photos. This is very frustrating.
Does anybody knows a solution for this?
I am currently using an app named "PinSync" that automatically moves the screenshots for the storage i want but it has a Cons which is that it invalid the Smart screenshot menu, it doesn allow me to edit or share directly. It's only a mending when i want a true solution.
Thanks
Try putting a .nomedia file in the folder. Only drawback is that your gallery won't show them either.
I hate this. I used Pinsync and it was cool but I need Smart Scroll too much
so I just routinely purge Google Photos backup
sigh
I may try the .nomedia file for now since I usually just share screenshots immediately and purge later
vonDubenshire said:
I hate this. I used Pinsync and it was cool but I need Smart Scroll too much
so I just routinely purge Google Photos backup
sigh
I may try the .nomedia file for now since I usually just share screenshots immediately and purge later
Click to expand...
Click to collapse
I was using PinSync also, but now I dont even take screenshots anymore. I use the Smart Select edge panel and select whatever part of the screen to share (or the whole screen), and once I share it to an app and send it, I back out and the image is not saved.
Still, taking a screenshot and immediately pressing Share takes a lot less effort. I wish Samsung would just move their screenshots folder as it being in DCIM violates DCIM standards.
ryan770 said:
I was using PinSync also, but now I dont even take screenshots anymore. I use the Smart Select edge panel and select whatever part of the screen to share (or the whole screen), and once I share it to an app and send it, I back out and the image is not saved.
Still, taking a screenshot and immediately pressing Share takes a lot less effort. I wish Samsung would just move their screenshots folder as it being in DCMI violated DCMI standards.
Click to expand...
Click to collapse
You gave me an idea.
Can I use BXactions or something to trigger smart select? Then I don't need a screen shot. Might negate the time factor and eliminates the Google photos back up issue.
I literally just searched this forum to find out if there was an acceptable solution for this, but I realize that there is not. I will have to do some deep research on how to change the path where the screenshots are saved directly in the system.
It's stunning how a company like Samsung can manage the complexity of producing an amazing smartphone but yet is not competent enough properly configure a storage path for screen shots.