Flyme Os smooth scrolling for android N (edit framework?) - Nexus 5X Q&A, Help & Troubleshooting

Is there any framework file we could edit to get the scrolling effect of flyme os rom? Can anyone point me out to where i could search that? The only thing that is similar to that is the "scrolling modifiers feature" that some roms have, which let us tweak the scrolling friction. But it does not work on the browser. On flyme it also works on the browser(it works on everything really). So they must have edited some value but i dont know which one was...can anyone help me out? Even if it involves decompiling framework files (which it probably does)

Related

[Q] does someone already tried to install touchwizGTG ?

My first smarphone was an iphone 3G,
since 2 months the DHD is my new phone. It is awsome an in most ways better.
but i have something missing :
The abylity to have the apps in horizontal way AND sorting them LIKE I want
ok i could install adw launcher, and set the display mode horizontal, but the apps would be sort by alphabet... that's cool if you know exactly the name of each app (but who always know the name of all his apps ???), and ... well you could replace one of your favorite apps by an other that does more, but don't have the same name... or you could install new apps
so one of the apps you're using would change place
This is making you loose some time, because you need to search your apps each time you add or modify an app...
Whereas, on iphone the app X will stay at the defined place, so you can install 100 apps, it will always stay where you set it to be.
Touchwiz (on Galaxy S) works the same way as the iphone... you can move an app the be on the first app screen (i'm speaking of app screen, not desktop screen ) and that's cool
There is also a touchwiz mod named touchwizGTG ( http://forum.xda-developers.com/showthread.php?t=822523 )
And i'm curious to know if someone ever tried to install it on his phone ?

[Q] Menu - settings - personalize

I installed a no - sense rom yesterday (Android_Revolution_HD-4G_3.2 with Android_Revolution_HD_no-sense_Gingerbread_Launcher)
when using menu - settings - personalize, i get sent back to my (blank) homepage -should i see a menu that allows 'personalization'.
tried wiping and reinstalling the rom, this time using No-Sense++3.2 to remove sense, and still the same thing.
could anybody with a vanilla rom tell me what they see when the select the personalize item?
Vanilla Android doesn't have this item in its settings-menu.
On Sense roms, this menu will allow you to change wallpapers, add widgets to the home-screen and set ringtones. (and also change Scenes, whatever thats supposed to be useful for)
On Vanilla-Android you can archieve most of that by just long-tapping the homescreen, ringtones are set up in different places and Scenes aren't even available (as they are a Sense feature)
thanks for that, thought there was something strange.
what true 'vanilla android' roms are available that you would recommend?
tried those mentioned below, but seems strange that they have the menu icon for personalize that doesn't do anything??
well, I for myself like Sense, I use Android Revolution HD 4.0 beta 4.
On my Milestone I used Cyanogenmod. It's not entirely vanilla, but I'd say it's close enough At least, you won't find any Sense-related stuff
don't get me wrong, i quite like sense, especially its style and widgets.
being new to android i want to check out the options to find my own personal preference.
have tried cyanogen 7, but unfortunately had problems with the flash plugin not working with bbc iplayer and youtube, and no easy fix that i could find.
after seeing sense (!) i have to say its a nice ui. but wanted to try a rom with vanilla android (i think termed aosp?). i just found it strange the behavoiur of menu - settings - customise in the de-sensed rom i had..

[Q] Edit the default android lockscreen

Hello you all
I would like to have some information about editing the default android lockscreen.
First of all, I know that it is much easer to work with a lockscreen replacer like widgetlocker. But I hate the fact there is a lag on it, you sometimes can unlock the default screen, open for example the app drawer when suddenly your phone get locket again, but this time with the slow responding widget locker.
And besides that, I like to mess around with that sort of things
What I did so far just deleting the htc sense lock screen (thanks to warriorvibhu http://forum.xda-developers.com/showthread.php?t=948976). But when you do so, you notice that the sliders on your screen are way to big.
This can be solved by flashing an other framework, and I did that (using remove_HtcLockscreen.zip from http://forum.xda-developers.com/showpost.php?p=10192875&postcount=2). The only problem is that this framework is, in my opinion, deadly ugly. So I thought "as I've seen that it is possible, I just going to modify the things my self".
I did all sort of things, using the new framework to see which things where changed. The plan was to look where the lockscreen was defined, to look for diferences and to make modifications in the standard sense framework.
The two most important things I already have done is
- modifying the keyguard_screen_tab_unlock.xml of the framework-res.apk so that it matched with the one in the framework-res.apk that I downloaded - resulted in nothing.
- deodexing the android.policy.jar classes.dex file. I've seen that there are a lot of smali files in there reguarding the "lockscreen" and "keyguard", but first of all I don't now which one does what an secondly, I've seen that the standard sense android.policy.jar doesn't contain a classes.dex file. I've already tried to push the android.policy.jar with the classes.dex file in my phone, but I noticed no difference.
Reading this it appears to me that it doesn't seem that I have done so much. But I can assure you, I've done a lot more, but most of the time it had nothing to do with the lockscreen and/or resulted in a bootloop.
But now my ideas have come to an end, and this is why I'm asking for help. Can somebody set me off in the good direction? I know that it must be possible to make the sliders normal, so it is really driving me crazy not to see which files I should edit.
Thank you in advance,
Erwin
ErwinP said:
This can be solved by flashing an other framework, and I did that (using remove_HtcLockscreen.zip from http://forum.xda-developers.com/showpost.php?p=10192875&postcount=2). The only problem is that this framework is, in my opinion, deadly ugly. So I thought "as I've seen that it is possible, I just going to modify the things my self".
Click to expand...
Click to collapse
I flashed this one when I was using Sense and the lockscreen looked OK, not too big, not too small, just like the default android.
Kinda like this, but better:
http://forum.xda-developers.com/showpost.php?p=10486389&postcount=85
Thank you, but again, this is something that changes icons etc. And all I want to do is make the slide bars look like in that ROM
But reading trough that topic, it looks to me that it appears to be difficult to make changes in sense roms... Still hoping that someone can point me the files that should be edited, or at least set me of in the good direction.
But thank you Alex_GP for your fast respons!
Erwin
I don`t know these stuff, but you can try PM-img HewGBalls http://forum.xda-developers.com/member.php?u=3193485 and asking him for directions, seeing that he`s the one that worked on this before.

[Request] Theme & Phone/Contacts help

Ive been toying around with changing the theme and setting the phone as i like for a while now and im almost content with it apart from three things i cant figure out how to do myself and would like to ask for some help with.
1) In my KF2 rom there is no option to display the SIM contacts (only import from/to SIM), so can someone help enable that?
2) The CRT gets pixelated after using the advanced power menu, there is a better CRT out there that only gets pixelated if you do a screenshot, so if someone knows how can you put in the new CRT in my framework-res.apk or at least remove the buggy one (disable the CRT)? Done.
Ive uploaded a rar with the apks you might need to mod here:
MultiUpload
Thanks to anyone thats willing to help ...
To cut a long story short, private message the people who have created or implemented these into their themes.
Thats just it, i tried asking LitePro but he seams to be away, im not sure who created the better fixed CRT, the transparent lockscreen and i havent seen a contacts apk with display SIM contacts option that would work on KF2 yet...
Have any idea who i can PM? I wouldnt mind donating for future development to anyone whod have the will to help me...
Got transparent lockscreen, can anyone still help with the remaining two?
Heavencry said:
Ive been toying around with changing the theme and setting the phone as i like for a while now and im almost content with it apart from three things i cant figure out how to do myself and would like to ask for some help with.
1) In my KF2 rom there is no option to display the SIM contacts (only import from/to SIM), so can someone help enable that?
2) The CRT gets pixelated after using the advanced power menu, there is a better CRT out there that only gets pixelated if you do a screenshot, so if someone knows how can you put in the new CRT in my framework-res.apk or at least remove the buggy one (disable the CRT)?
Ive uploaded a rar with the apks you might need to mod here:
MultiUpload
Thanks to anyone thats willing to help ...
Click to expand...
Click to collapse
For fix pixelated CRT effect, you have to modify bools.xml in framework-res.apk (decompiled) in /res/values/
change :
Code:
<bool name="config_sf_slowBlur">false</bool>
to
<bool name="config_sf_slowBlur">[B]true[/B]</bool>
and of course :
Code:
<bool name="config_animateScreenLights">true</bool>
to
<bool name="config_animateScreenLights">[B]false[/B]</bool>
If you want, you can enable SIP on data network (3G ...) modifing :
Code:
<bool name="config_sip_wifi_only">true</bool>
to
<bool name="config_sip_wifi_only">[B]false[/B]</bool>
EDIT : I can't fix CRT on your framework-res.apk cause you push .png not declared in public.xml. Give me your original file please
Anyone know how i can enable the show SIM option in contacts?
Last thing im missing on this rom...
@sicopat
Is this really the fix for the pixelated CRT? Have you shared this with Jkay?
The only known solution i knew of was the take a screenshot on a white background.
Noone ever tried enabling show SIM contacts option in KF2 or the older 2.3.3 roms that didnt have it?
Try this one for the crt-fix.
Thank you! That did the trick, the CRT no longer gets pixelated after using the advanced power menu !
Now if only i could figure out a way to get the "show SIM contacts" option... it seams that every Contacts+Dialer.apk i try gives me force closes... are they completely different for each rom version?

[REQUEST] How to edit app-drawer background

I really love the new graphic style in Android ICS, especially for the blue fades that replaced those horrible plain black backgrounds in almost every list/app/screen. However, the app drawer background is still completely dark, and I was wondering...is there a .png or a file in the android framework, that lets us customizing the app drawer background opacity or better, the entire drawer background image?
The settings blue fade background would be a lot better of plain black, for example. Can you at least point me to the right direction? Thanks in advance!
The app drawer is part of the launcher, I believe, so poking around inside the launcher's .apk file would probably be a good place to start. That said, I probably know less about modding Android than you do, so I could be dead wrong...
Actually, I think this too - despite I talked about the 'framework'. The problem is, that a common android application is made up by a res folder, full of .pngs and pictures, and a lot of other folders that contain all the .xmls for the app itself, that I never achieved to edit in any way. And because I'm sure the drawer background is part of a style .xml, probably being defined by a string such as "background_color=0,0,0/transparency=0" (example taken by some .xmls edited on PC, I actually have no idea of how these things are written in android), it could be useful to know where to find something like that or how to edit this kind of values ;P
C'mon, I can't believe everyone actually never tought of changing the drawer background! I mean...this is one of the first feature that you -devs of several alt. launchers- will have to add, and so far (think to ADW) it has not been so difficoult! So...please, if you know something on that, point me to the right file or config!
I downloaded Launcher2.apk, extracted it, and gone through each single file inside. And "Drawer Layout" or "Drawer Background" aren't there. What could I do next?
Looking at the Launcher2 source, it is a xml file in the drawables folder named wallpaper_gallery_background.xml.
Sent from my Galaxy Nexus using xda premium
wallpaper_gallery_background.xml - it was one of my search result for "backgound" keyword. But I went over it, since I think is related to the wallpaper picker (the little gallery of wallpapers at the bottom of the wallpaper selection screen...). Any other ideas?
p.s.: Happy that finally someone is paying attention to this topic... xda doesn't help people with a few posts or subscribed only some months ago (and that doesn't implies that they're newbie or dumb è_é) in ANY WAY... ;D I think this would be a very appreciated feature, this thread has a lot of views in just 1 day and a half!
I will play around with the source and get back with you.
Sent from my Galaxy Nexus using xda premium
Only thing I could find in Launcher2 is in drawable-xhdpi. The first PNG is apps_customize_bg.png and its a black image. Didn't see any XML files related to app drawer, which leads me to think its all hidden in smali code or another apk.
Sent from my Galaxy Nexus using XDA App
@AndHel Great! That's the answer I was waiting for! Thank you so much...I hope we'll be able to find something relatively easy to handle ;D
BTW, it would be very interesting knowing a bit more about Android decompiling and modding...if you want, explain me (even very quickly) how will you reach certain files/configurations, if you'll do, when you'll do.
@mb02 Thank you for your efforts too, I hope you're wrong but I fear you're right...absolutely not even a single word that remembers the "app drawer"! Maybe with your patience, we'll find out more!
...and I keep searching around /system for any kind of thing graphic-related to this damned drawer ;P
ledoweb said:
@AndHel Great! That's the answer I was waiting for! Thank you so much...I hope we'll be able to find something relatively easy to handle ;D
BTW, it would be very interesting knowing a bit more about Android decompiling and modding...if you want, explain me (even very quickly) how will you reach certain files/configurations, if you'll do, when you'll do.
@mb02 Thank you for your efforts too, I hope you're wrong but I fear you're right...absolutely not even a single word that remembers the "app drawer"! Maybe with your patience, we'll find out more!
...and I keep searching around /system for any kind of thing graphic-related to this damned drawer ;P
Click to expand...
Click to collapse
In every iteration of Android prior, including skinned versions (Sense, TW, blur) the app drawer coding and images resided in the launcher (Rosie, Launcher, etc). The naming, however, wasn't ever "app drawer" but "all apps" as drawer was never he official term for the all apps view. Rosie launcher had multiple XML files in the Rosie.apk res/layout folder that dealt with this "all apps" as well as related images. With the absence of anything related to apps in this Launcher2.apk, I feel as though everything was moved to smali or in another apk, unless they cleverly hid it in another XML in Launcher2.
Sent from my Galaxy Nexus using XDA App
It's within /res/layout in Launcher2. The file is called apps_customize_pane.xml
Just change the 2 values ff000000 into something else, i.e. bb000000 to make them slightly transparent.
It sounds promising...i thought that file was for a screen called "apps customization"
...may I ask which other letters could I use to increase/decrease opacity? AFAIK, numbers are for color and letters are for alpha...right?
Anyway, thanks so much for this solution! - I'll give it a try as far as I can. BTW, no way to replace a colour with something better, like a .png? Maybe just removing that string, and replacing it with something slightly different...
Edit: I'm having troubles in editing that .xml. Apktool fails decompiling Launcer2.apk probably because I'm using an old version of the android SDK, and this means...that I'm stuck at unreadable .xmls. I'm waiting for the SDK manager to have all updates installed, and then I might be able to finally "undress" this damned drawer ;P
This is likely harder than you expect. A few technical notes (and yes it's possible this will be a Nova feature in the future but it's not officially planned at this time).
1) App drawer is indeed called "AppsCustomizePagedView"
2) When viewing the app drawer, the launcher disables the wallpaper from showing (I believe as an optimization). I think if you made the drawer fully transparent you would see (in order from top to bottom):
Drawer
Smaller sized home screens
Black background
If you're editing source you can prevent the black background by changing updateWallpaperVisibility(). To hide the home screens you'd probably have to change the animation code in showAppsCustomizeHelper which could be a bit tricky.
[email protected] said:
This is likely harder than you expect. A few technical notes (and yes it's possible this will be a Nova feature in the future but it's not officially planned at this time).
1) App drawer is indeed called "AppsCustomizePagedView"
2) When viewing the app drawer, the launcher disables the wallpaper from showing (I believe as an optimization). I think if you made the drawer fully transparent you would see (in order from top to bottom):
Drawer
Smaller sized home screens
Black background
If you're editing source you can prevent the black background by changing updateWallpaperVisibility(). To hide the home screens you'd probably have to change the animation code in showAppsCustomizeHelper which could be a bit tricky.
Click to expand...
Click to collapse
i managed to get the app drawer transparent and indeed a black background..
but cant find updatewallpapervisibility anywhere
where can it be found? is it a xml or in a xml ?
thnx!
For that you have to edit source files and recompile, it's not just an XML edit.
Sent from The Past into The Future via The Present.
Milamber33 said:
For that you have to edit source files and recompile, it's not just an XML edit.
Sent from The Past into The Future via The Present.
Click to expand...
Click to collapse
ok!thnx!
i found the trebuchet source on gethub
i managed to change the source so the black screen and all is gone and the drawer is transparent.. but i cant test it because i dont know how to compile it
can you tell me ? thnx
There are plenty of tutorials on setting up an Android build environment and compiling the source floating around. They will be far more detailed and useful than I could be.
Sent from The Past into The Future via The Present.
I did it
I made it transparent its on a thread i started
locomain said:
I did it
I made it transparent its on a thread i started
Click to expand...
Click to collapse
Where is the thread?
Im gonna play around with this a bit when I have the chance....
But, using APKtool to decompile or recompile is very similar....
If you already have apktool all setup with your Roms framework file, and you already decompiled the file...... to recompile, all you have to do is use the command "apktool b foldername"
where folder name is the folder that it decompiled the apk to (likely Launcher2)

Categories

Resources