port old APK to new Android version? - Android Q&A, Help & Troubleshooting

Hello,
One of my favorite features to mod in Android has always been the navbar. So much so, a couple years ago I. Purchased Xstana, an Xposed module to mod the navbar. It came with magnificent icons.
I'm currently running a OP 6T on an Android Pie. I'm also running edxposed. I would love to have Xstana back as an operating Xposed module but don't know where to begin .
I'm no newb to decompiling and recompiling apk's.....but mostly I've just done theme relayed png swapping and a little XML editing here and there.
Anyone have any info on how to even begin porting an older Xposed module to a newer version android?
Thanks!
Pain

It's a shame that nobody respond to this... I was wondering the same... Altough I wish I can make this module -
NavBar / StatusBar media visualizer [L-M]​to work with Nougat +...

I want to do the same with battery shutdown manager, I found the source on github but even adding new xposed api and sdk version is not enough and it returns java errors

Related

[MOD][WEAR] Rich Ambient Mode (for Android Wear)

This module disables the transition to Ambient Mode on Android Wear so watch faces keep rendering images (once a minute) in full colored mode instead the usual plain, black & white ambient mode. The watch still goes to sleep (screen updating Handlers are suspended). It allows you to fully enjoy all the beautiful watch faces (both stock and 3rd party).
Battery life: There isn't any noticeable battery drain. With Always-on screen, the watch can still survive 2 whole days. See attached screenshot of a test when battery went during 11 hours from 100% to 78% (few notifications, Tilt to wake disabled, lowest screen brightness on LG G Watch).
Screen burn in: It's not a good idea to use this module with OLED.
Requirements:
Root (su binary on watch)
xposed-arm-20150308.zip flashed through recovery
Adb/developer mode enabled (to install apps directly)
Yes, Xposed framework also works on Android Wear, check my comment for details.
The modded version of Xposed Installer is the same as XposedInstaller_3.0-alpha2.apk, just with few Wear incompatible GUI parts disabled making it launchable on Wear. Because of disabled Action Bar, it's not possible to configure Xposed directly and installation below is required. (If you are familiar with UI coding, universal UI redesign would be helpful. So far I only did smali edits to Xposed Installer but I may try some proper workarounds/fixes later.)
Installation:
Install modded Xposed Installer (1_install_xposed_installer.bat)
Run Xposed Installer
Close Xposed Installer
Reboot watch
Run 2_enable_module.bat
Install this module (3_install_xposed_module.bat)
Wait for Xposed notification and tap to do soft reboot
Current bug/drawback:
Manually opened/expanded notifications do not hide (screen doesn't refresh) after a timeout.
Source: https://github.com/moneytoo/RichAmbient
Nice idea but all is white and cannot read inside xposed
hanschke said:
Nice idea but all is white and cannot read inside xposed
Click to expand...
Click to collapse
That's why:
Because of disabled Action Bar, it's not possible to configure Xposed directly and installation below is required.
Click to expand...
Click to collapse
I have thought thats the mod apk do
That requires bit more changes and it's not done yet.
Awesome work, been looking for this ever since I got my G Watch!! Ambient mode is pointless on LCD based watches anyways.
@moneytoo
Hi,
can you create a module "shake to wake" instead of "tilt to wake"?
regards
starbase64
starbase64 said:
can you create a module "shake to wake" instead of "tilt to wake"?
Click to expand...
Click to collapse
I think I would use something like this as well. If I'm looking at it right, it's in com.google.android.clockwork.home.mr1compat.TiltDetectorService and modifying seems doable so I may try it later.
I tried installing this on 5.1.1 but it does not appear to work. Not sure if this is Xposed problem (using unofficial 5.1 Xposed) or this module's problem. Is there a way to check if module got actually loaded (logcat)?
Deleted
What smali changes did you have to make to the apk to get it to run? I want to try and make the to an xposed installer for 5.1.1
Justjusten said:
What smali changes did you have to make to the apk to get it to run? I want to try and make the to an xposed installer for 5.1.1
Click to expand...
Click to collapse
I fixed what showed crashing in logcat. Or decompile both original and patched apks and run diff...
Thanks, I didn't know if there was something I would miss that you could give me a head ups on but sounds pretty straight forward.
tested on sony smartwatch 3 on android 5.1.1, using v68 sdk22 xposed framework, using your modded xposed installer, rooted with supersu 2.46
not working.. still fade to ambient
Hi @moneytoo, just curious, are you still using this?
I got xposed to work - I had to install xposed-v80-sdk22-arm.zip since the Android OS is 5.1.1 - I then followed your process to install XposedInstaller_3.0-alpha2.apk and RichAmbient.v0.1.apk.
Doesn't seem to work for me on Smartwatch 3 though!
thanks,
Charlie
moneytoo said:
Screen burn in: It's not a good idea to use this module with OLED.
Click to expand...
Click to collapse
Sorry for dumb question - does this include AMOLED? Thanks.

Can someone please optimize this Xposed module for flyme 6 ?

https://forum.xda-developers.com/showpost.php?p=67873431&postcount=120
This is an exposed module made by @S0bes (xda) that fixes the notification problem on Flyme 4 and 5 (infinity icon that shows up instead of actual third party app icon), but unfortunately since he switched his phone he won't update it anymore, but he was nice enough to leave the source code for his module for someone willing to continue his work, i'm looking for someone with the proper knowledge to look over the code and optimize it for Flyme 6.
Right now the module kinda still works, but it has an issue with icons being too big
Nevermind, someone's on it haha

[MOD][Xposed][8.1] ForceDarkModeOreo

Force Dark Mode for Android Oreo (8.1)
Google introduced Android's new WallpaperColors API for Android 8.1 in December 2017.
This module is for bypassing the API by returning always black color values to force system wide dark mode and to save your eyes of the light theme UI. Dark theme is automatically enabled when using dark wallpapers, but the problem is usually live wallpapers which must implement the API as they are dedicated applications and in control of the wallpaper rendering, otherwise system defaults to using light theme.
The module is really simple at first (version 1.0) as there's no options or user interface, but I accept feedback and help for future development when it's needed and/or wanted.
Requirements
Android 8.1 (API 27) or newer
Xposed Framework version 90 or newer
Usage
Download and enable module
Reboot.
Embrace the darkness.
Links
Download APK
Xposed repository
Github repository
Does this enable dark theme in settings too? Or just notification panel?
TENN3R said:
Does this enable dark theme in settings too? Or just notification panel?
Click to expand...
Click to collapse
This module enables global dark mode by fakeing wallpaper color. Every app that observes WallpaperColor API for theming (like System UI) are effected.
Settings app doesn't implement color theming, so it stays white.
I guess this won't work on Oreo 8.0, will it?
If so, do you have any other idea how to get rid of the sunglasses if using my phone in a dark room? Think it's kind of annoying that they switched from dark grey to nearly white
Is it possible to implement the exact opposite? (Option to force light mode when a dark wallpaper is on)?
rickysidhu_ said:
Is it possible to implement the exact opposite? (Option to force light mode when a dark wallpaper is on)?
Click to expand...
Click to collapse
I agree with this man I'm just kinda bored of dark mode and I think white might look quite clean :laugh:
Is it possible to get this to work with Oreo 8.0?
ElChupaNibre said:
Is it possible to get this to work with Oreo 8.0?
Click to expand...
Click to collapse
No, dark theme was implemented on Android 8.1 by original Android developers. I'm not responsible for the actual theme and this module is for force enabling it.
Read the first post.
Edit: You could check if Android Oify has this feature.
CR4IGY_BOY said:
I agree with this man I'm just kinda bored of dark mode and I think white might look quite clean :laugh:
Click to expand...
Click to collapse
I'm working on an option to choose between dark and light mode.
Joas8211 said:
I'm working on an option to choose between dark and light mode.
Click to expand...
Click to collapse
Awesome thankyou
Is there any way to choose which color you want to force? Like be able to force green or orange for example. Nice work so far.
rvarma01 said:
Is there any way to choose which color you want to force? Like be able to force green or orange for example. Nice work so far.
Click to expand...
Click to collapse
There's an app in Playstore which does this. It's called LWP+
All text in the notification from Maps is black on black. Any suggestions how to fix this?
Sorry for my weird question? but i can't download apk for this module?. This link send me to its source code of the app.
Do i have to compile source code to use module?.I don't know how to compile source code to install apk
---------- Post added at 06:08 AM ---------- Previous post was at 06:05 AM ----------
Gouravgamer said:
Sorry for my weird question? but i can't download apk for this module?. This link send me to its source code of the app.
Do i have to compile source code to use module?.I don't know how to compile source code to install apk
Click to expand...
Click to collapse
I got it, link in the exposed module for apk. but still how to compile? Do I have to use pc for this.
Anyway to get this to work on nougat rooted without xposed installed?
Would be very glad or a similar app to theme the whole phone
Substratum seems to give me problems
Hi'yall
First of all thanks for the mod it would be great.
It truly enables the dark mode even on the app drawer. Which is being missed by the next dark theme forcer app. But this makes fb messenger, the full version (orca) crash as soon as i try to open a chat thread. Remove the mod and it is fine... Not enough to disable it...
Have u guys felt this or is it only for me?
Btw i am on:
Xiaomi redmi note 4 mido
Los 15 straight from lineage.
Magisk latest
Xposed sdk 27
I install it and enable it in xposed but my n960f seems nothing happened.
Updates Incoming (some day)
Because of a number of the feature requests in this thread, I'm planning to do a big upgrade and add compability for modern (eg. Android 10) versions in the future. The plan is to add support for users that aren't using Xposed and fix bugs that has risen from Android updates. That would include stock Android users and Magisk users or other mod framework users, if and where possible.
Feature Requests
Don't expect for the upgrade to come too soon, but I promise that I'll continue working on this project when I can. I have really to tight schedule so just hang a bit and submit bug reports and / or feature requests.
For proper tickets visit the GitHub repository's issues page and add the features you want there.
hi there.i sooo much want this module.will it work on alpha omega rom oreo 8.. on the lg v20...pleaseee
serpent android said:
hi there.i sooo much want this module.will it work on alpha omega rom oreo 8.. on the lg v20...pleaseee
Click to expand...
Click to collapse
Well. The module is made for Android Oreo 8.1, so I don't see why it wouldn't work. I haven't tested it with other than stock Nexus 5x, but the changes are made for AOSP.
Report back if you can't get it to work. I'm happy to help if you got any issues. I will not guarantee that I will make any updates since this is kind of forgotten and "left as is" project of mine.

Hide apps in share dialog on Android 10+

Does anybody know is there a working Xposed module like CustomShare having a function to hide apps in share dialog? For Android 10+ and EdXposed.
CustomShare is dead since Android 8, L Tweaks is not working on Android 9+ too(
Can somebody make such a useful module?

Question Are there any ROMs that fix the android 12 ugly UI back to something like android 11?

Title says it all, I hate the bubble toggles that take up the entire screen and require multiple taps. I'm familiar with rooting, and flashing just curious what ROMs are available to help fix this. Thank you in advance!
To the best of my recollection, none as the UI elements are baked into the source code. To go back to the Android 11 UI I think you would need to use an Android 11 ROM, none of which exist for the P6.
Aosp mods does but u lose icon name. It's great to have circle icons again
Use Nova launcher and you can change the look of a lot of the elements. No root needed.
weinbers said:
Use Nova launcher and you can change the look of a lot of the elements. No root needed.
Click to expand...
Click to collapse
Except Nova Launcher doesn't work for the toggles in the notification shade, which is what I believe the OP was looking to change.
Strephon Alkhalikoi said:
Except Nova Launcher doesn't work for the toggles in the notification shade, which is what I believe the OP was looking to change.
Click to expand...
Click to collapse
The UI involves more than just the notification shade, which wasn't mentioned. Could have been more specific.
Hope you find a solution.
weinbers said:
The UI involves more than just the notification shade, which wasn't mentioned. Could have been more specific.
Hope you find a solution.
Click to expand...
Click to collapse
Well, the OP did mention bubble toggles in his opening post. Agreed that being more specific would have helped. Thank you for the reminder about what kind of work it takes to mod the UI, as I haven't done it in years, especially with Substratum making it painless.
why couldn't someone build android 11 for the pixel 6? any reason it not possible?
I guess the OP is talking about the ugly quick settings with large tiles that take up space and requires multiple clicks to adjust internet and other settings.
The product design of software is the worst I have seen.
Nova launcher cannot alter the quick settings.
AospMods as said
[MOD][Xposed+Magisk][13 Compatible] AOSP Mods - System modifications for AOSP-based Android 12+
This is a mixed Xposed+Magisk module, which is made to allow customizations that are not originally designed in AOSP (Android Open Source Project). Features: Currently, AOSP Mods offers customizations on different aspects of system framework and...
forum.xda-developers.com
and
RenovateIce https://forum.xda-developers.com/t/mod-renovate-ice-4-0-raven-oriole-android-12l.4386949/
Nemosfate said:
AospMods as said
[MOD][Xposed+Magisk][13 Compatible] AOSP Mods - System modifications for AOSP-based Android 12+
This is a mixed Xposed+Magisk module, which is made to allow customizations that are not originally designed in AOSP (Android Open Source Project). Features: Currently, AOSP Mods offers customizations on different aspects of system framework and...
forum.xda-developers.com
and
RenovateIce https://forum.xda-developers.com/t/mod-renovate-ice-4-0-raven-oriole-android-12l.4386949/
Click to expand...
Click to collapse
Ugh...Xposed.
RenovateIce on the other hand is perfectly fine.
weinbers said:
The UI involves more than just the notification shade, which wasn't mentioned. Could have been more specific.
Hope you find a solution.
Click to expand...
Click to collapse
It was pretty obvious lol
Strephon Alkhalikoi said:
Ugh...Xposed.
RenovateIce on the other hand is perfectly fine.
Click to expand...
Click to collapse
Yeah but....
It's a mix of Rice and Project Themer
Am not on Android 12, but this looks nice, Edit: sorry just seeing the post above me mentioned this.
Project Themer · Android 12⁺ - Apps on Google Play
Customize your Android!
play.google.com
Nemosfate said:
Yeah but....
It's a mix of Rice and Project Themer
Click to expand...
Click to collapse
So long as it doesn't use the cancer that is Xposed it meets with my approval.
TBH I don't have a major issue with the Android 12 toggles except for the behavior of the connection toggles, and I already fixed that with Better Internet Tiles so there you go.
This module has a ton of options for the UI. I used it for a while and it seemed fine but I haven't reinstalled it because I didn't really want the added bloat to change one thing (wifi and mobile data toggles).
[MOD][MAGISK][ANDROID 12] Addon Features for Pixel Devices - Pixel 6 Thread
What is this? This is a Magisk module that adds the following cool custom features to any Pixel device (from 3a to 6 Pro) running stock Android 12 Pixel ROM: Enable/Disable Google Sans font system wide Adds Icon Styles and Icon Shapes...
forum.xda-developers.com
I bet an unofficial 12 ROM without Material You would go over well.
LG made it official...
LG Velvet gets Android 12 in the US w/ new privacy features, no sign of Material You [U]
The LG Velvet is getting its Android 12 update now, starting in South Korea, with a few new features but not much more.
9to5google.com
lackalil said:
This module has a ton of options for the UI. I used it for a while and it seemed fine but I haven't reinstalled it because I didn't really want the added bloat to change one thing (wifi and mobile data toggles).
[MOD][MAGISK][ANDROID 12] Addon Features for Pixel Devices - Pixel 6 Thread
What is this? This is a Magisk module that adds the following cool custom features to any Pixel device (from 3a to 6 Pro) running stock Android 12 Pixel ROM: Enable/Disable Google Sans font system wide Adds Icon Styles and Icon Shapes...
forum.xda-developers.com
Click to expand...
Click to collapse
Pretty sure it's dead and he's working with another dev on AospMods
Following as its the main reason I do not use my pixel 6 and its gathering dust.
The wasted space for notifications is just too much....I find it hard to believe a human being that actually uses the phone approved this. It's some next level mental degeneracy! lol
Phillis said:
Following as its the main reason I do not use my pixel 6 and its gathering dust.
The wasted space for notifications is just too much....I find it hard to believe a human being that actually uses the phone approved this. It's some next level mental degeneracy! lol
Click to expand...
Click to collapse
Well since I use the notification shade as designed - connection toggles excepted - my mind must be going.

Categories

Resources