I am trying to remove some useless options in the SGS3 TW Launcher. In the pic below I highlighted what I am trying to remove. It is a redundant option and when you select those two options it gives you blank boxes. I have decompiled the apk and have searched through the xmls and smali. I cannot seem to find which or what determines how many slots and what it displayed in that menu.
If anyone has any ideas or insight into this it would be greatly appreciated.
scarmon25 said:
I am trying to remove some useless options in the SGS3 TW Launcher. In the pic below I highlighted what I am trying to remove. It is a redundant option and when you select those two options it gives you blank boxes. I have decompiled the apk and have searched through the xmls and smali. I cannot seem to find which or what determines how many slots and what it displayed in that menu.
If anyone has any ideas or insight into this it would be greatly appreciated.
Click to expand...
Click to collapse
I could take a look but don't have a copy of the sgs3 launcher. I just fell in love with the LG launcher. The way you can pinch the widgets on and off the home screen rocks.
I can upload it for you if you want. I already have it decompiled. If you want i can zip it up and link it.
See if deleting the strings in strings.XML work. It may remove the boxes.
Ascertion said:
See if deleting the strings in strings.XML work. It may remove the boxes.
Click to expand...
Click to collapse
OK. I'll try that first thing in the morning. Thanks for the reply.
scarmon25 said:
OK. I'll try that first thing in the morning. Thanks for the reply.
Click to expand...
Click to collapse
Sorry for not getting back to you quick enough i had fallen asleep. But that was what I was gonna do was check the xml's and look for the menu settings then delete any lines that had parameters associated with those menu options. Sometimes I get it right and other times I just F it up. Lol
timmetal6669 said:
Sorry for not getting back to you quick enough i had fallen asleep. But that was what I was gonna do was check the xml's and look for the menu settings then delete any lines that had parameters associated with those menu options. Sometimes I get it right and other times I just F it up. Lol
Click to expand...
Click to collapse
Its all good man. I just now woke up myself. Get me some caffeine in me and I'm gonna try that. See what that does.
Well I tried editing the stringsxml and it seems to be somewhat in the right direction. Now when you long press the homescreen it just force closes. I have uploaded a zip that has the launcher in apk and in decompiled state for anyone that wants to look through it. Ive been working on this for like a week and kinda scratching my head right now LOL.
You will not be able to remove strings like that. any time they get called in the app it will FC if you do that. You will need to find where that string is being called in the xml or smali and remove it from there. Usually putting a 0.0dip width and height will remove them with no errors.
rujelus22 said:
You will not be able to remove strings like that. any time they get called in the app it will FC if you do that. You will need to find where that string is being called in the xml or smali and remove it from there. Usually putting a 0.0dip width and height will remove them with no errors.
Click to expand...
Click to collapse
Right! I should have thought of that from working on a lock screen mod a few weeks ago. Unfortunately Im not that good with smali, baksmali yet. When I recompiled it, the lock screen showed up but wouldn't unlock the phone, lol. Ended up restoring.
Related
Alright guys, I need some help building my theme.
So I'm in the process of making my own theme and one thing I really want to do is set up my lock screen the same way that I think Aero and Gloss Suite have it (example attached) but with the default black background with it (its a really high contract black and white theme). Any chance of getting pointed to the right files to mess with?
Also, I was wondering how difficult would it be to change the color of the font on that screen as well.
I very well might be searching for the wrong thing too (it is the lock screen right...technically?) So a forum link or something would be amazing help as well.
Immense thanks for all your help guys and girls. You guys make having a G1 worth the smack talk from the iphone guys ; )
Be prepared for XML...
Search for XML from Stericson
momentarylapseofreason said:
Be prepared for XML...
Search for XML from Stericson
Click to expand...
Click to collapse
There is one XML edit to make in res/layout yes, but the way to get a lock screen looking nice is by replacing (and I forget the exact name) popup_full_dark.9.png in res/drawable. Essentially, you make this the image that you want to be centered horizontally, and then justified bottom, then it fills it with its text. For my own phone, I went with a black image that goes about 80% up the screen, so I have a centered unlock prompt.
Ahhhhh alright I'm seeing it now. That helps a lot Ooglez. Haha no offense Reason but I had a bit of a sigh of relief was it turned out to just be .9s instead of xmls. Whew.
Thanks a bunch guys. Seriously... you guys rock. If you see a theme by me on here soon you'll know it worked out for me. Thanks
Alright I have another question. Not exactly related to the topic at hand but its gonna bug me till i figure it out. Hopefully someone thinks to peek in here again.
What file controls the background for the Pull up tray? The pull down tray im pretty sure is the status_bar_background.9 in the res-drawable folder but I cant figure out the pull up tray tab thingy. I believe its doable cuz I think ive seen various themes with different opacities on the pull up menu but.. :shrug:
Any ideas?
The pull up tray handle is found in the Launcher.apk and is in the /res/drawable-land and /res/drawable-port directories.
Thanks Daveid. But I was actually looking for the background of the pull up tray. The handle isn't to bad to change around. Thanks again though
another xml edit...but its a color value not a background image, except for if you are using the g build.
Stericson
Hmmm, alright guess I'll leave that be for the time being. Thanks for all your help Stericson. For now and hundreds of other times as well
So... I didn´t understand what it´s said...
I mean... where can I find the xml related to the lock screen?? Can I just replace the xml and soft reset to change the position of the hour and the lock??
thanks for help!
S81, I'm not too sure about the xml editting for the lock screen. What I ended up doing was changing the popup_full_dark.9.png file located under framework->res->drawable in the theme folder. Search for ".9.pngs figured out" for stericson's thread/tutorial on how to change .9.pngs. I warn you though, its not for the faint-hearted and from what I understand XMLs are supposed to be worse so if thats the path you want to head down, good luck mate
thank you man! I´ll have a look at the weekend and tell you what´s going on
Eh I hate being given credit for something I didn't do...Just a correction but the .9's were not figured out by me, they were figured out by Damnitpud, if I'm not mistaken....
As for the lock screen xml edit....The only thing you can really change is the position of everything else, but not the order...at least not yet..Any way it's a big hassle for a little bit of customization....
Does anyone know a guide that will tell someone which images in drawable folders are to what? I need a freakin road map. Tired of looking through all of these.
Anyways, I'm trying to find the image to change the USB notification icon (the one that pops up when usb cable connected/charging). Also trying to find the background image(s) that is behind menus such as: Power button options, app selection window, pretty much all windows that pop up on the screen with options.
If someone knows and could point me to the names of these that would be terrific.
Thanks.
Seriously?
Where is the community love? I know someone on XDA knows this stuff.
I'm wondering where the power menu backgrounds are aswell.
Not to steal your thread but I'm looking for the "all apps" header.
Sent From My HTC Evo 4G On The Now Network From Sprint Using Tapatalk Pro!
Just post over in the dev section. Its the wrong section, you'll get flamed, but your question will probably get answered. Everyone complains "post this in the general/questions section" but everyone knows the only ones getting are themes/mods and the dev.
Sorry I couldn't be constructive and answer your question.
Sent from space
Why don't you dissect an existing theme and see what is changed in that. That's gunna be your best road map. And the usb icon is not in the system, its in PCSC11.apk in system/app
___________________________________
Yup.... The ones yoe momma told ya about.... Bad Seed Customs!!
CCallahan said:
Does anyone know a guide that will tell someone which images in drawable folders are to what? I need a freakin road map. Tired of looking through all of these.
Anyways, I'm trying to find the image to change the USB notification icon (the one that pops up when usb cable connected/charging). Also trying to find the background image(s) that is behind menus such as: Power button options, app selection window, pretty much all windows that pop up on the screen with options.
If someone knows and could point me to the names of these that would be terrific.
Thanks.
Click to expand...
Click to collapse
Are you using a Sense ROM or some AOSP variation? Because the .png is in different places and named different for the USB icon. The USB icon is in the frame-res.apk and is called stat_sys_data_usb on AOSP and on Sense its in the PCSCII.apk and is called usb_to_pc_notify. As far as your other question, you pretty much answered your own question. Theyre called popup_.xxx.png. Theres full, medium, dark and bright ones. They control all the pop-ups. Also again it is important which Rom youre using because in AOSP theres only one set in frame-res.apk and on Sense there's two sets one in frame-res and one in htc.resources.apk and you have to change both of them because they pop up for different things.
Stoney 666 said:
Why don't you dissect an existing theme and see what is changed in that. That's gunna be your best road map. And the usb icon is not in the system, its in PCSC11.apk in system/app
Click to expand...
Click to collapse
Yep...dissecting as we speak. Thanks....that answer is what I needed. Appreciate it.
gomorrah said:
Are you using a Sense ROM or some AOSP variation? Because the .png is in different places and named different for the USB icon. The USB icon is in the frame-res.apk and is called stat_sys_data_usb on AOSP and on Sense its in the PCSCII.apk and is called usb_to_pc_notify. As far as your other question, you pretty much answered your own question. Theyre called popup_.xxx.png. Theres full, medium, dark and bright ones. They control all the pop-ups. Also again it is important which Rom youre using because in AOSP theres only one set in frame-res.apk and on Sense there's two sets one in frame-res and one in htc.resources.apk and you have to change both of them because they pop up for different things.
Click to expand...
Click to collapse
Sense based. I changed the popup ones but didn't do what I needed. Gonna just change all the menu named ones and should find it hopefully. Thanks for the help.
gomorrah said:
Are you using a Sense ROM or some AOSP variation? Because the .png is in different places and named different for the USB icon. The USB icon is in the frame-res.apk and is called stat_sys_data_usb on AOSP and on Sense its in the PCSCII.apk and is called usb_to_pc_notify. As far as your other question, you pretty much answered your own question. Theyre called popup_.xxx.png. Theres full, medium, dark and bright ones. They control all the pop-ups. Also again it is important which Rom youre using because in AOSP theres only one set in frame-res.apk and on Sense there's two sets one in frame-res and one in htc.resources.apk and you have to change both of them because they pop up for different things.
Click to expand...
Click to collapse
Changed all the popup_xxx.png that I could find but still didn't change the power options menu (one from holding down power button), the "do you want to add this number into contacts" one, and some other popup menus. Any ideas on where I need to look?
Thanks.
CCallahan said:
Changed all the popup_xxx.png that I could find but still didn't change the power options menu (one from holding down power button), the "do you want to add this number into contacts" one, and some other popup menus. Any ideas on where I need to look?
Thanks.
Click to expand...
Click to collapse
i am looking for the same thing and still haven't found it.
Rydah805 said:
i am looking for the same thing and still haven't found it.
Click to expand...
Click to collapse
Well....if you find it please let me know. I will do the same.
Thanks.
**Found it...will PM you.
CCallahan said:
Changed all the popup_xxx.png that I could find but still didn't change the power options menu (one from holding down power button), the "do you want to add this number into contacts" one, and some other popup menus. Any ideas on where I need to look?
Thanks.
Click to expand...
Click to collapse
The power options menu icons are buried in com.htc.resources.apk from what I remember. Trying to theme Sense is a huge pain in the ass compared to AOSP since the PNGs are all over the place and there's some that aren't even used packed in there too.
Edit: Wait, just realized that's not what you're looking for, if I'm correct on what you're looking for, I'm not sure where they're at either but it should be framework-res or com.htc.resources.
**Solved**
Looking into editing and making my own lock screen icons but haven't been able to find the .png files. If anyone can help me out with there location I can get this work started
pouxonu said:
Looking into editing and making my own lock screen icons but haven't been able to find the .png files. If anyone can help me out with there location I can get this work started
Click to expand...
Click to collapse
off topic: lol nice sig, that was hilarious when i first saw that episode too
pouxonu said:
Looking into editing and making my own lock screen icons but haven't been able to find the .png files. If anyone can help me out with there location I can get this work started
Click to expand...
Click to collapse
I have not looked myself. But try framework-res.apk in /system/framework/
or if the lockscreen has an .apk in /system/app/ try that too
Looked through there and found a couple that I might work on and see if it works and also its the best quote out of all three movies or. " what do you mean just rebuild it. And who's going to give a loan? What do you have an atm on that torso light bright of yours"
Sent from my R800x using XDA App
Some of the images are compiled with special attributes. I don't remember what the exact extension is but it will be like .png.9 or something like that after the png. These have to be made with a tool in eclipse as far as I know. Any of the rest of the regular png files can just be edited like normal and placed back in the apk.
Sent from my R800x using XDA App
I'd like to have a navbar, and disable the hardware buttons. It has been done on older notes by adding "qemu.hw.mainkeys=0" to the build.prop. However, I did it on a themed stock rom (deodexed, rooted, of course), and all I got was the wonderful "System UI has stopped". Any ideas? I hate accidentally hitting menu or back
As a side note, it would be awesome if someone made this work with stock android theme and swipe up from navbar home for Google Now. :fingers-crossed:
T-Mobile Note 3 of course.
Well, I tried modifying the SystemUI.apk to work (same method as the S4), but no matter what I do, SystemUI.apk keeps force closing without even adding qemu.hw.mainkeys=0 to the build.prop.
I was copying META-INF and AndroidManifest.xml from the old apk to the new one, then signing the apk, but no dice. Hmm, there must be a way to enable the NavBar on the Note 3. All the files are in the stock SystemUI, except for the actual button icons. Should the icons go in xxhdpi, or xhdpi (the S4 tutorial stated xhdpi)?
Maybe I just suck at modding apk's. Any ideas?
Also, sorry for bumping my old post, but no one has yet to figure this out
I tried several root apps. Several xposed modules. And several zip packages. Nothing.
Would love this feature as well tried apps and modules as well and a no go a navbar would make the phone perfect to me
Sent from my SM-N900T using XDA Premium 4 mobile app
Quite interested in this as well
Sent from my DragonMOD-N9005 using xda app-developers app
I got it! It isn't nice looking yet, but it works!
Well, I have the buttons more center, but not center. It is the menu button that is pushing everything over to the right. I set the android:layout_weight to 0.0 in the @id:rot0 and @id:rot90 in navigation_bar.xml, but the menu button is still pushing them all over.
Any ideas?
gakio12 said:
Well, I have the buttons more center, but not center. It is the menu button that is pushing everything over to the right. I set the android:layout_weight to 0.0 in the @id:rot0 and @id:rot90 in navigation_bar.xml, but the menu button is still pushing them all over.
Any ideas?
Click to expand...
Click to collapse
How did you get them on? Let me know and I can poke around to see if I can make it behave better in terms of centering.
dwitherell said:
How did you get them on? Let me know and I can poke around to see if I can make it behave better in terms of centering.
Click to expand...
Click to collapse
Well, first I used the attachment from this tutorial here.
To just get it to work with TouchWiz's navbar background, copy everything in the drawable of the tut's attached folder to res/drawable, replacing existing files. Then copy the drawable-xhdpi into res; there isn't a folder named that, so just copy it over. That's all that is needed to make System UI not force close with qemu.hw.mainkeys=0 in the build.prop on the Note 3. Now recompile SystemUI.apk, set permission to rw-r--r-- and replace the old SystemUI.apk on the phone.
Well I have them centered in portrait, haven't worked on landscape yet. I just copied the first LinearLayout from the Nexus 5 into the navigation_bar.xml, and made all the resources point to the touchwiz equivalents. I have stock android nav buttons because I was trying something
You can decompile the SystemUI.apk I attached and look at my changes to navigation_bar.xml. Keep in mind my SystemUI.apk is from Jedi Elite ROM, but it is pretty much stock so I don't see it ruining anything on another stock rom, except for any theming.
I think what I am going to do is just port the AOSP navigation_bar.xml. I have no idea why the nav buttons don't want to be centered in TouchWiz, other than they lack spacers in the xml. Probably easier to just port it anyway.
Write up here.
I was playing around in SqLite Editor, and I stumbled upon a way to enable the grid UI in settings.
What I did was open SqLite Editor, found Settings Storage, then into Setting.db, then into System, found "settings-gridui" and change the value to "1"
I have the S5 found Note 4 and the setting menu as as a grid was pretty cool and to get it back on the Note has made me love this phone even more.
Try it out and let me know if it work a for you all as well.
Thanks for the find! Trying out now
I hate the fact that if you change it to like tab view or something, you can't go back in
denson9874 said:
I was playing around in SqLite Editor, and I stumbled upon a way to enable the grid UI in settings.
What I did was open SqLite Editor, found Settings Storage, then into Setting.db, then into System, found "settings-gridui" and change the value to "1"
I have the S5 found Note 4 and the setting menu as as a grid was pretty cool and to get it back on the Note has made me love this phone even more.
Try it out and let me know if it work a for you all as well.
Click to expand...
Click to collapse
Sweeeet! I lived off of Shurling Dr
Wow wouldn't have thought I would see somebody that stayed in Macon, let alone East Macon. I used to stay on Knightsbridge Rd.
mgbotoe said:
I hate the fact that if you change it to like tab view or something, you can't go back in
Click to expand...
Click to collapse
Ikr I'm looking into how to possibly get it to enable in menu button [emoji3]
denson9874 said:
Wow wouldn't have thought I would see somebody that stayed in Macon, let alone East Macon. I used to stay on Knightsbridge Rd.
Click to expand...
Click to collapse
Wow! I lived in those apartments on Treadway while my house was being built off Graham Rd....
Gotcha my mom stay there now. Did the SqLite tweak work for you? Have to stay on topic [emoji12]
denson9874 said:
Gotcha my mom stay there now. Did the SqLite tweak work for you? Have to stay on topic [emoji12]
Click to expand...
Click to collapse
The grid is working fine... but we really do need a way to make it appear as "View as" option...
TEKHD said:
The grid is working fine... but we really do need a way to make it appear as "View as" option...
Click to expand...
Click to collapse
Definitely, I'm looking in the SecSettings.apk to see if its possible to enable the grid view option, I'm pretty sure its in there somewhere
denson9874 said:
Gotcha my mom stay there now. Did the SqLite tweak work for you? Have to stay on topic [emoji12]
Click to expand...
Click to collapse
It did, thanks.
I'm also looking into how to get the UI to stick for the addition lockscreen options that's available. Once I can get them to remain optional after a reboot, I'll post a couple of screenies and some instructions:good:
mgbotoe said:
Thanks for the find! Trying out now
Click to expand...
Click to collapse
Lol is this why you asked about the sqlite editor?
Grid view can be permanently enabled with xml edits. It will also give you the view options you are looking for so you can change views whenever you want. You decompile SecSettings and edit the appropriate xml file (can't remember exactly which one unless i'm looking at the files, sorry) to enable grid view and disable tab view. This combination will allow you to switch between the two views with the menu button. However it won't let you use tab and grid settings at the same time for some reason... only list and grid or list and tab.
What you are doing is editing the settings.db file which is fine but if you do a reset it will be lost.
tx_dbs_tx said:
Grid view can be permanently enabled with xml edits. It will also give you the view options you are looking for so you can change views whenever you want. You decompile SecSettings and edit the appropriate xml file (can't remember exactly which one unless i'm looking at the files, sorry) to enable grid view and disable tab view. This combination will allow you to switch between the two views with the menu button. However it won't let you use tab and grid settings at the same time for some reason... only list and grid or list and tab.
What you are doing is editing the settings.db file which is fine but if you do a reset it will be lost.
Click to expand...
Click to collapse
Great find, I'll toy around with it and see what will come of it. Thanks for the info and instructions
Decompile SecSettings.apk
Look in res/values for bools.xml
I believe you will find the setting in there... i'm pretty sure.
Just remember that you can only set one of them to true. If you set grid and tab both to true, it will not work.
Save then recompile and push it into your priv-app folder then set permissions and it will stick.
Awesome! Thanks for sharing. Love it.
Can someone cook up a flashable zip to do all the work for everyone?
simsnet71 said:
Awesome! Thanks for sharing. Love it.
Click to expand...
Click to collapse
Glad you found it useful
nique0201 said:
Can someone cook up a flashable zip to do all the work for everyone?
Click to expand...
Click to collapse
I don't you are running stock or custom, but I've been working with @bri315317 over at Dynamic Kat and his rom actually not only has this optional, but also 11 lockscreen effects to choose from. Check it out
http://forum.xda-developers.com/showthread.php?t=2916942[emoji106] [emoji106] [emoji106]
simsnet71 said:
Awesome! Thanks for sharing. Love it.
Click to expand...
Click to collapse
nique0201 said:
Can someone cook up a flashable zip to do all the work for everyone?
Click to expand...
Click to collapse
tx_dbs_tx said:
Decompile SecSettings.apk
Look in res/values for bools.xml
I believe you will find the setting in there... i'm pretty sure.
Just remember that you can only set one of them to true. If you set grid and tab both to true, it will not work.
Save then recompile and push it into your priv-app folder then set permissions and it will stick.
Click to expand...
Click to collapse
I decompile SecSettings.apk but can't find bools.xml, you sure it's there?