[DEV QUESTION] APK Decompile Enable Single Screen Non-Scrolling? - HTC Sensation

Hello,
I have a question about modifying APKs.
I have just decompiled the Apex Launcher APK, and I would like to change the Homescreen Settings to display the wallpaper as a "Single screen non-scrolling"
Does anyone know which XML file this would be under? And what values should I change to make this happen?
Thanks for any help.

troby86 said:
Hello,
I have a question about modifying APKs.
I have just decompiled the Apex Launcher APK, and I would like to change the Homescreen Settings to display the wallpaper as a "Single screen non-scrolling"
Does anyone know which XML file this would be under? And what values should I change to make this happen?
Thanks for any help.
Click to expand...
Click to collapse
Hi,
Maybe you will find some joy HERE

malybru said:
Hi,
Maybe you will find some joy HERE
Click to expand...
Click to collapse
Thanks for the link.
I have found that the Scrolling Settings for Android are within the Workspace.smali file.
Does anyone know exactly what line of code would need to be changed? There is over 19,000 lines in this file, so anyone that has experiance in this would be amazing, thanks. My only goal is to have the OS start with "Single screen non-scrolling" enabled instead of the "Multi screen scrolling" that is enabled by default.

Ok, so I have uploaded a copy of the Workspace.smali I am working with. I have found references at line 4201, 16220, and 18887 that deal with scrolling and wallpaper dimensions. Could someone look over this and let me know if any of these line are able to be modified to change the scrolling? Thanks.

Apex launcher has this in setting to change wallpaper mode. Why are you trying to modify apk then? Just trying to understand your purpose.

webharsh said:
Apex launcher has this in setting to change wallpaper mode. Why are you trying to modify apk then? Just trying to understand your purpose.
Click to expand...
Click to collapse
Because I am developing a ROM, and I am trying to learn how to modify smali files to control certain parts of the system, so that I can have preset settings already activated as soon as a ROM is flashed.
Sent from my HTC Sensation 4G using xda app-developers app

troby86 said:
Because I am developing a ROM, and I am trying to learn how to modify smali files to control certain parts of the system, so that I can have preset settings already activated as soon as a ROM is flashed.
Sent from my HTC Sensation 4G using xda app-developers app
Click to expand...
Click to collapse
It'll be easier for you if you just compiled it from source. It'll also be easier to locate the needed line that would need to be changed.
Sent from my HTC Sensation using xda premium

Related

[Q] How to change the app-drawer icon?

Hi.
I managed to change 4 of the 5 Icons within the stock Play-Dock, but i cant change the icon for the drawer.
Can someone tell me how to change it?
Thanks
Sorry mate,
Can't be done... Well not yet...
We could get in trouble for modifying sony's launcher and well we don't even have custom roms yet..
Montechristo1979 said:
Hi.
I managed to change 4 of the 5 Icons within the stock Play-Dock, but i cant change the icon for the drawer.
Can someone tell me how to change it?
Thanks
Click to expand...
Click to collapse
Use apk tool to decompile it, change any images you want, resign, recompile and push bk
Sent from my R800i using Tapatalk
Um..what? I dont unterstand at all
Montechristo1979 said:
Um..what? I dont unterstand at all
Click to expand...
Click to collapse
Try ninjamorph then lol
Sent from my R800i using Tapatalk
ADWLauncher EX lets you choose your very own image or included icons for an ADW theme.

[Q] Cool Effects

Hey guys I am using an Inspire 4g rooted on stock rom.
I was wondering is there any way I can get cool effects on my phone such as CRT animations or dialog pop up boxes without changing ROMs? I would like to stay on stock rom but still be able to get these effects. Please Help, Thanks
Use the uot kitchen
Sent from my Inspire 4G
ReppinFlorida said:
Use the uot kitchen
Sent from my Inspire 4G
Click to expand...
Click to collapse
Top notch answer.
Sent from my BlackICE(d out) Inspire!!!
Schmidty850 said:
Hey guys I am using an Inspire 4g rooted on stock rom.
I was wondering is there any way I can get cool effects on my phone such as CRT animations or dialog pop up boxes without changing ROMs? I would like to stay on stock rom but still be able to get these effects. Please Help, Thanks
Click to expand...
Click to collapse
If you want crt animation that is easy to do just decompile framework-Res.apk and look for bools.XML scroll till you see screen on and screen off animation and change the value from false to true. Recompile and your done. You can change the loading boxes and such inside com.HTC.resources.apk. once you decompile you will see all the. 9pngs and you can mod as you want. Another option for the loading boxes is in the skins...that way you can test them very easily after you mod without having to flash anything.
Sent from my Desire HD using XDA App
rayford85 said:
If you want crt animation that is easy to do just decompile framework-Res.apk and look for bools.XML scroll till you see screen on and screen off animation and change the value from false to true. Recompile and your done. You can change the loading boxes and such inside com.HTC.resources.apk. once you decompile you will see all the. 9pngs and you can mod as you want. Another option for the loading boxes is in the skins...that way you can test them very easily after you mod without having to flash anything.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
What is the effect of edit in the books.XML that u mention
Give this a shot:
http://www.freeyourandroid.com/guide/enable-crt-animation
Sent from my GT-I9100 using xda premium
rayford85 said:
If you want crt animation that is easy to do just decompile framework-Res.apk and look for bools.XML scroll till you see screen on and screen off animation and change the value from false to true. Recompile and your done. You can change the loading boxes and such inside com.HTC.resources.apk. once you decompile you will see all the. 9pngs and you can mod as you want. Another option for the loading boxes is in the skins...that way you can test them very easily after you mod without having to flash anything.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Is this ROM "CoreDroid ONE X Quad-Core V3.6" Compatible with Desire HD ? "HTC Inspire" Pleasse let me know im interested. thank you.
No its not, you want coredroid multi device.
Sent from my Inspire 4G using xda premium
I'm now running MIUI, and my problem is solved. MIUI is so much better than stuck and I love the customizability of it.

Cm9 fonts

Why all the cm9 "addicts" ignore the question: how to change fonts in cm9??
Install Rom Toolbox or Type Face or any other font changer app you find in the market.
if you want to go hard way, those fonts are under /system/fonts. You can delete one of the fonts (e.g. Roboto or DroidSansFallback) and put your desired font there, then rename the font as exactly as the font you deleted. (don't forget to backup).
All the market apps soft brick the phone they dnt support ics. The problem with system fonts is that there are plenty of fonts in that folder and among them is roboto. Question is, how does system know which font you want to set as default...
dasistsparta said:
All the market apps soft brick the phone they dnt support ics. The problem with system fonts is that there are plenty of fonts in that folder and among them is roboto. Question is, how does system know which font you want to set as default...
Click to expand...
Click to collapse
Replace it with font of choice, but change filename to match Roboto, etc.
Sry but how do i change fonts in CM9? Havnt found any settings for it?
There are no settings for it and apparently nobody knows how to do it
spiderx_mm said:
Install Rom Toolbox or Type Face or any other font changer app you find in the market.
if you want to go hard way, those fonts are under /system/fonts. You can delete one of the fonts (e.g. Roboto or DroidSansFallback) and put your desired font there, then rename the font as exactly as the font you deleted. (don't forget to backup).
Click to expand...
Click to collapse
dasistsparta said:
There are no settings for it and apparently nobody knows how to do it
Click to expand...
Click to collapse
Is is too hard for you to understand?
spiderx_mm said:
Is is too hard for you to understand?
Click to expand...
Click to collapse
The phone keeps bootlooping if you use those apps and even the dev of the app warns you that it does not work on ivs devices. Is it too hard not to post stuff you have not applied yourself on your phone?
If you just keep bashing those who try to help you, you're going to get nowhere in life.
Sent from my HTC VLE_U using xda premium
dasistsparta said:
The phone keeps bootlooping if you use those apps and even the dev of the app warns you that it does not work on ivs devices. Is it too hard not to post stuff you have not applied yourself on your phone?
Click to expand...
Click to collapse
Did not mean to thank u so enjoy the free be.
Did you not read spiderx post about where the fonts are located? Has nothing to do with an app... don't be a douche because u can't read
Sent from my HTC One S using Tapatalk 2

How to change notification background?

Hi, is it possible to change background in the notification center on a 4.2.1 ROM? Is there an easy way (like an app) or i must decompile systemui.apk and edit xml files?
Thank you
Nobody?
Sent from my Nexus S - Xylon 4.2.1
I know klinkerkp themed it into transparent. Don't know how he does it though. Try getting in touch with him(check my sig for his theme)
Sent from my Nexus S
It's hard to find the correct image, however I won't give up!!
meanwhile, if someone wants to try, this is a zip file with decompiled SystemUI.apk and framework-res.apk
What changed with respect to the normal darkbeanjelly?
Sent from my Nexus S
Nothing. I've just decompiled it, so it's easier if someone wants to analyze it.
Can anybody share a flashable transparent one, working with every aokp/cm10.1 rom?
Sent from my Nexus S using xda app-developers app
Yup. You can
andre-83 said:
hi, is it possible to change background in the notification center on a 4.2.1 rom? Is there an easy way (like an app) or i must decompile systemui.apk and edit xml files?
Thank you
Click to expand...
Click to collapse
i am using revolt jb rom 4.3.there is an option where you can change the notification backgroud and choose from gallery

Any way to theme phones any more?

I've been trying to skin my phone and run into a problem I can't seem to theme where the navigation bar is Eg using uccw you can't place nothing or when using docks on launchers it places a rectangle that stops above nav bar. I know with lollipop there is no xposed framework
Sent from my Nexus 5
You decompile the apk packages, change what you want and recompile.
Lethargy said:
You decompile the apk packages, change what you want and recompile.
Click to expand...
Click to collapse
There is no need to decompile and recompile. You can just copy/paste same named png-s in .apk/res/drawable nodpi or drawable xxhdpi for our device. That works for all apps from factory image.
Regards, Zagor
Is it possible to theme nav from homescreen only so I can give it its own background
Sent from my Nexus 5
zagorteney said:
There is no need to decompile and recompile. You can just copy/paste same named png-s in .apk/res/drawable nodpi or drawable xxhdpi for our device. That works for all apps from factory image.
Regards, Zagor
Click to expand...
Click to collapse
Recompilation is required to edit things like XML. Signing properly is also important.
Lethargy said:
Recompilation is required to edit things like XML. Signing properly is also important.
Click to expand...
Click to collapse
Whith respecr dear Lethargy! You don't need to decompile and signing properly stock app. For example: if you want to change almost all of UI, you just have to change images in framework-res.apk. You don' t need to do things mentioned before. When I was on Xperia I made this way too UI look like AOSP as possible.
I think that for noob is enough to know that. But off course, if you are UI designer and developer that isn't enough.
Regards, Zagor
zagorteney said:
Whith respecr dear Lethargy! You don't need to decompile and signing properly stock app. For example: if you want to change almost all of UI, you just have to change images in framework-res.apk. You don' t need to do things mentioned before. When I was on Xperia I made this way too UI look like AOSP as possible.
I think that for noob is enough to know that. But off course, if you are UI designer and developer that isn't enough.
Regards, Zagor
Click to expand...
Click to collapse
For replacing a .png it might be okay, but in no way are you going to modify anything else that way. Recompiling is the PROPER way to do it.
So in short someone like me I'm out of luck
Sent from my Nexus 5
tonyt3rry said:
So in short someone like me I'm out of luck
Sent from my Nexus 5
Click to expand...
Click to collapse
If your launcher supports it you can hide the navbar then attempt to use something like Zooper Widget to imitate them on the bottom, but other than that, you have to recompile SystemUI.apk.
Wouldn't I need it for when I'm in apps
Sent from my Nexus 5
tonyt3rry said:
Wouldn't I need it for when I'm in apps
Sent from my Nexus 5
Click to expand...
Click to collapse
Read my post again, I said on the launcher.
Can you tell me what launcher supports it I know if I had pie or what ever it is called I could hide it
Sent from my Nexus 5

Categories

Resources