smali patcher works ? - Xiaomi Mi A2 Lite Questions & Answers

Anyone who uses smali patcher for this device ? Is it working ?. I try with stock and custom both fail to hide mock location for pokemon go

Related

[Q] Level of customization enabled without an unlocked bootloader

Hi,
I recently started getting into Android and all that comes by it, so in case I'm dead-wrong about something, please excuse me and let me know.
I'd like to ask, since I plan on buying the LG G3, and as far as I'm concerned it, as of now, does not have an unlocked bootloader,
What's the level of customization that could be achieved with root only? And what does an unlocked bootloader allows you to do, besides flashing a custom ROM.
A reference to any guide of such would be awesome.
Thanks!
An unlocked bootloader essentially means we can't flash recovery and thus can't install custom ROM's and kernels as of now. Which in terms of "level of customization" means that we can't flash ROMs based on AOSP builds like CM or PA etc.
So for now we're stuck with the stock LG ROM. But having said that, we have root and then Xposed framework. So we can then pretty much customize everything on the stock ROM. Using G3 Tweaksbox Xposed module you can theme about most of the SystemUI elements. That include statusbar icons, color, navigation bar icons and colors, Phone app, Messaging app, Settings, etc. There are tons of Xposed Modules out there to do pretty much almost anything you'll get on a custom ROM by default.
With the Tasker app you can automate almost every action, with Greenify you can hibernate automatically most apps that you run in the background & if you give it root access it can pretty much greenify useless System apps as well.
In short, while you can't *completely* customize everything and completely get rid of some of the crap that OEMs put in, with Xposed Framework & modules and with some really nifty build.prop tricks you can get pretty close to being satisfied with the customizability of your phone.
If you're new to Android though and have never tried custom ROMs you'll be amazed at the sort of stuff that even just root access can do and once we get the bootloader unlock, you'll get even more blown away with flashing new ROMs and checking them out.
Google a bit for something like "Best Root apps for Android" and you'll find that most well known Android blogs have listed the majorly used apps and what you can do with it. You'll get a pretty good idea
if4ct0r said:
An unlocked bootloader essentially means we can't flash recovery and thus can't install custom ROM's and kernels as of now. Which in terms of "level of customization" means that we can't flash ROMs based on AOSP builds like CM or PA etc.
So for now we're stuck with the stock LG ROM. But having said that, we have root and then Xposed framework. So we can then pretty much customize everything on the stock ROM. Using G3 Tweaksbox Xposed module you can theme about most of the SystemUI elements. That include statusbar icons, color, navigation bar icons and colors, Phone app, Messaging app, Settings, etc. There are tons of Xposed Modules out there to do pretty much almost anything you'll get on a custom ROM by default.
With the Tasker app you can automate almost every action, with Greenify you can hibernate automatically most apps that you run in the background & if you give it root access it can pretty much greenify useless System apps as well.
In short, while you can't *completely* customize everything and completely get rid of some of the crap that OEMs put in, with Xposed Framework & modules and with some really nifty build.prop tricks you can get pretty close to being satisfied with the customizability of your phone.
If you're new to Android though and have never tried custom ROMs you'll be amazed at the sort of stuff that even just root access can do and once we get the bootloader unlock, you'll get even more blown away with flashing new ROMs and checking them out.
Google a bit for something like "Best Root apps for Android" and you'll find that most well known Android blogs have listed the majorly used apps and what you can do with it. You'll get a pretty good idea
Click to expand...
Click to collapse
Thanks for the info!
Another question, what is exactly the xposed framework?
Ruttix said:
Thanks for the info!
Another question, what is exactly the xposed framework?
Click to expand...
Click to collapse
Taken from the Xposed website, I believe this explains it pretty nicely
Xposed is a framework for modules that can change the behavior of the system and apps without touching any APKs. That's great because it means that modules can work for different versions and even ROMs without any changes (as long as the original code was not changed too much). It's also easy to undo. As all changes are done in the memory, you just need to deactivate the module and reboot to get your original system back. There are many other advantages, but here is just one more: Multiple modules can do changes to the same part of the system or app. With modified APKs, you to decide for one. No way to combine them, unless the author builds multiple APKs with different combinations.
Click to expand...
Click to collapse
To clarify a bit more, you first root your phone, install Xposed Installer, install the Xposed framework from the Xposed installer and then download & install xposed modules. 'Modules' are essentially just like apps that you install and then enable from the Xposed Installer app. These modules hook into the Xposed framework and can do stuff like root apps can - UI modifications, extending capabilities of default apps like Phone, Messaging, etc.
http://repo.xposed.info/module/de.robv.android.xposed.installer
You can find the Xposed XDA subforum here - http://forum.xda-developers.com/xposed
Ruttix said:
Thanks for the info!
Another question, what is exactly the xposed framework?
Click to expand...
Click to collapse
xposed is an app that exposes the core of your operating system (it exposes them to modules made for xposed) to allow modifications that you normally can't do without custom roms.
if4ct0r said:
Taken from the Xposed website, I believe this explains it pretty nicely
To clarify a bit more, you first root your phone, install Xposed Installer, install the Xposed framework from the Xposed installer and then download & install xposed modules. 'Modules' are essentially just like apps that you install and then enable from the Xposed Installer app. These modules hook into the Xposed framework and can do stuff like root apps can - UI modifications, extending capabilities of default apps like Phone, Messaging, etc.
http://repo.xposed.info/module/de.robv.android.xposed.installer
You can find the Xposed XDA subforum here - http://forum.xda-developers.com/xposed
Click to expand...
Click to collapse
Thanks so much for the extra information. It does, however, leads me to a follow up question.
There's a tool posted here on the forum, called TweakBox, I think. My question is, are the customizations available there a derivative from the xposed framework?
Ruttix said:
Thanks so much for the extra information. It does, however, leads me to a follow up question.
There's a tool posted here on the forum, called TweakBox, I think. My question is, are the customizations available there a derivative from the xposed framework?
Click to expand...
Click to collapse
Yes. The G3 Tweaksbox is an Xposed Module like I mentioned. You can install the app from the play store or get the apk from the thread and install it manually. You'll need to have Xposed Framework installed before that though.
if4ct0r said:
Yes. The G3 Tweaksbox is an Xposed Module like I mentioned. You can install the app from the play store or get the apk from the thread and install it manually. You'll need to have Xposed Framework installed before that though.
Click to expand...
Click to collapse
One thing I can't seem to figure out here, those modules, do they come with the framework, or does it supplement tools for developing them?
Ruttix said:
One thing I can't seem to figure out here, those modules, do they come with the framework, or does it supplement tools for developing them?
Click to expand...
Click to collapse
The modules can be obtained independently from XDA threads or from the playstore. These are essentially Android apps which use the Xposed modules APIs to achieve there purpose.
Think of the Xposed Framework as a layer that allows apps(referred as modules) to do stuff by exposing some methods that they can use. (I'm trying my best to explain here without being too technical)
What you need to do is to install the Xposed Installer app, open the app and install the xposed framework from it. That will deploy the framework on the OS. You can then install the modules either by finding them on XDA or again by opening the Xposed installer app and going into the downloads section (you can access a whole repository of modules from thr Xposed installer itself. That being said, it's not the only place to find these modules.)
Once you download the modules and install them like you would any APK, you'll need to enable the module(again from the Xposed Installer app) and reboot your phone. The module would now be active and can be used like any Android app.
The best way to learn is to experiment. ☺ Xposed is quite safe and will not brick your device unless you do something really stupid.
if4ct0r said:
The modules can be obtained independently from XDA threads or from the playstore. These are essentially Android apps which use the Xposed modules APIs to achieve there purpose.
Think of the Xposed Framework as a layer that allows apps(referred as modules) to do stuff by exposing some methods that they can use. (I'm trying my best to explain here without being too technical)
What you need to do is to install the Xposed Installer app, open the app and install the xposed framework from it. That will deploy the framework on the OS. You can then install the modules either by finding them on XDA or again by opening the Xposed installer app and going into the downloads section (you can access a whole repository of modules from thr Xposed installer itself. That being said, it's not the only place to find these modules.)
Once you download the modules and install them like you would any APK, you'll need to enable the module(again from the Xposed Installer app) and reboot your phone. The module would now be active and can be used like any Android app.
The best way to learn is to experiment. ☺ Xposed is quite safe and will not brick your device unless you do something really stupid.
Click to expand...
Click to collapse
I actually do have some experience with linux and some with programming.. So basically the framework allows you to use APIs you otherwise wouldn't be able to use?
Ruttix said:
I actually do have some experience with linux and some with programming.. So basically the framework allows you to use APIs you otherwise wouldn't be able to use?
Click to expand...
Click to collapse
You meaning the module developer. Yes. Check out the Xposed XDA subforum, there used to be a module developer guide in there somewhere.
Say, is this framework for all android devices?
Or are these modules specific for each device?
The Xposed framework is generic. AFAIK it works on all rooted android phones.

[HELP] Trying to port Ambient Display on CM12 by Kevinjoa

Hello i find this thread http://forum.xda-developers.com/google-nexus-5/themes-apps/how-to-add-ambient-display-settings-t2942838 where is possible to enable ambient display option. I successfully completed the procedure, but i can't recompile the systemui.apk, apktool said to me lots of error. I share with you my work for now, if someone can recompile systemui.apk.
The framework-res should be ok.
This for latest build from kevinjoa's cm12.
So i share with you the package with patched framework-res, apktool, etc...
https://drive.google.com/file/d/0B8STTLNoQ2NJQWIyem54bnZOVlE/view?usp=sharing
I succeeded
I tried with another apktool and CyanogenMod original lg e975 but I experience a compatibility between app and framework. the apps always crashing and I can not solve this problem .
if you know of a way to ensure that the apps do not crashing then answer that I feel , however, the function is activated and ambient works .

[Q] Trouble changing navigation buttons

I'm using a rooted HTC Desire 816, the UK version, unlocked. With the bootloader unlocked, CWM recovery installed and rooted but not using a custom ROM or kernel (just the stock HTC ones that came on the phone).
I'm wanting to change the navigation buttons but having some trouble. I've tried a number of different methods including using SoftKeyz, which seems like the easily method without using xposed modules. However, the icons don't change once I've applied the theme I want to use and have done a soft reboot.
Does anyone have any other methods for changing the navigation buttons? Or have any idea of why I can't change using SoftKeyz?
Cheers guys!
Xstana works well. it also has a paid version which I haven't tried
your device seems to be ready for xposed. you don't need a custom Rom and you shouldn't have any problem installing Xposedinstaller and modules like Xstana or Sense6 Toolbox which IMHO is a must have
Xstana works well. it also has a paid version which I haven't tried
your device seems to be ready for xposed. you don't need a custom Rom and you shouldn't have any problem installing Xposedinstaller and modules like Xstana or Sense6 Toolbox which IMHO is a must have
Click to expand...
Click to collapse
Thanks for the reply!
I did try Xposedinstaller as well, but this also didn't seem to work. Do I need to have S-Off in order for xposed modules to take effect? I'll give Sense6 toolbox a try though.
Thanks again.
Xposedinstaller provides the basis for all Xposed modules like Sense6 toolbox and Xstana to work. it doesn't change your phone by itself.
first you should install Xposedinstaller. here is how; most probably, you won't need to do all the steps, just follow from step 5. then download other modules like Xstana and activate them in "modules" section inside Xposedinstaller. it's easier than it sounds.
most changes in modules need a reboot to take effect.

Fake gps without mock location ?

Hi !
Everyone know a fake gps who don't use developper option mock location ?
I try to moove one to /system/app but it dosen't work. Solution is to use xposed but it not availibe yet for android 7.1.2.
Thanks

Removing Orange Status Bar

Hello,
Is it possible to keep battery saving mode on Lineage OS all the time without having the ugly orange status bar at the top all the time?
If it helps, I'm rooted and using Magisk to keep Android Pay working. Anything I can do to remove the orange bar and keep battery saving mode on?
Thanks,
Jleoz.
Any suggestions?
use xposed module. http://repo.xposed.info/module/com.thefragen.xbatterytweaks
Xposed works for 7.0 now
https://forum.xda-developers.com/xposed/modules/mod-remove-battery-saver-warning-color-t3033038
Is there anything I can do without Xposed? I don't want have an unstable system or fail SafetyNet.
I'm new to Xposed so don't know all the ins and outs of security, stability and how it works with Magisk / SafetyNet
Jleoz said:
Is there anything I can do without Xposed? I don't want have an unstable system or fail SafetyNet.
I'm new to Xposed so don't know all the ins and outs of security, stability and how it works with Magisk / SafetyNet
Click to expand...
Click to collapse
You can't pass safetynet with Xposed installed. So look elsewhere.
tnsmani said:
You can't pass safetynet with Xposed installed. So look elsewhere.
Click to expand...
Click to collapse
That is why I was asking if there was a way without Xposed. I don't want to fail SafetyNet.
Jleoz said:
That is why I was asking if there was a way without Xposed. I don't want to fail SafetyNet.
Click to expand...
Click to collapse
decompile the framework with apk tools
go to res>values
open the colors.xml using notepad++
go to line 85 change the color code to what you what.
#ff000000 is black by the way
save it. recompile with apk tools
replace your framework.apk on your phone with the one you modified.
N.B becareful once you succeed with you womt want to stop.

Categories

Resources