[Magisk module] Edit build.prop for wifi tether and miracast support - Nexus 6 Themes and Apps

I made my own Magisk module for the Nexus 6 to enable WiFi tethering and enable Miracast screen mirroring.
Before anyone gets too excited -- this is my first ever contribution to development. It's not my background or expertise. I don't plan to support this, add anything, etc. If someone wants to take this over and do their own thing with it, by all means go for it. But I don't have the knowledge to even try to pretend to know what I'm doing nor do I have the time to dedicate to it. I just wanted to share this with the community since I had accomplished this and save anyone else the trouble.
Enjoy!

What build(s) should this work with?

Related

An idea about wifi on blur roms

I apologize in advance if this has been suggested before, or if it's a completely off the wall idea that will never work.
Has anybody attempted to build for Dream from the morrison source provided by motorola? Could we not just do the edits before building, and add support for the method Dream uses to start wifi? I know it doesn't include all the cool blur stuff, but it does nativly supports those apps. So shouldn't we be able to add them after building?
We have yet to get bluetooth on hero roms, but HTC was never kind enough to provide the source. So we have always been working with prebuilt roms. Android is by nature platform independant, so is it just a matter of nobody wanting to put in the work? Or has motorola changed so much that it would be too challanging to accomplish this?

SIP stack stripped from stock GB?

Simple question. Does the stock GB on the Bionic have the integrated SIP stack stripped from the OS or not? This is more important to me now with all the rumors of Verizon tracking / limiting rooted users. If I'm forced to use the stock OS then what other liberties did these clowns take to try to prevent me from doing things they don't want? (e.g. backing me into a corner so I still have to pay their ridiculous voice service charges)
This might be the time I decide to cancel my Verizon altogether and go with TracFone + Galaxy WiFi Player (use VoIP when in WiFi range, otherwise use backup prepaid phone). Buncha greedy jerks.
Can someone who owns the phone already check this for me? Should be able to tell by going to "Settings -> Call Settings" and looking for an "Internet Calling" configuration section. If it's not there then they likely stripped it from the OS.
Thanks!
MIA. Looks like it's been stripped.
there are better alternatives anyway - like sipdroid - i wouldnt let the lack of GB native VOIP hinder your decision. Just my thoughts
thanks guys!
to the point about external apps offering SIP support. yes, you're right, but there are numerous advantages to using the native SIP stack vs external apps like sipdroid.
a few come to mind:
* sipdroid/csipsimple has some hardware/driver issues on some phones and makes it hard to work around them at the software level.
* i've found the NAT punching/traversal these programs offer is sometimes lackluster (do they even use libjingle?) making my voip inoperable on public wifis without special port trigger setup or putting my phone in a DMZ.
* it's nice having the SIP stack integrated into OS so it's fully supported by the native dialer and other phone functions
so, i do have interest in making sure my next purchase has this feature. i'm also not sure i'm willing to sign a 2 yr commitment with a provider that limits which features i can use in the OS... that seems to be their power trip going a bit too far.
FYI -
I just got done trying the Galaxy S2 fix for this (see thread http://forum.xda-developers.com/showthread.php?t=1109962) where you add the android.software.sip.voip.xml back to the system\etc\permissions folder but it did not bring the feature back. Looks like Motorola was more effective than Samsung in their stripping of the feature.
jeffason said:
Looks like Motorola was more effective than Samsung in their stripping of the feature.
Click to expand...
Click to collapse
This feature disabled in BlurPhone. It is hardcoded as mSipSupported = 0 and no way to activate it.
i'm trying to re-enable this by editing blurphone.apk. i see in phoneapp.smali constructor this code:
Code:
.line 299
iput-boolean v1, p0, Lcom/android/phone/PhoneApp;->mIsSipSupported:Z
now, how do i change it to set the field to true instead of false? (sorry, i'm new to this)
Man I reallly hope someone has some luck with this - it's the only thing about the Bionic I have a problem with...ha
i tried changing the dalvik opcodes myself to force mIsSipSupported to true, then recompiled, resigned, and pushed to my system files but it crashes (force close) everytime it tries to access the BlurPhone.apk functionality now =(
not sure what approach should be, maybe someone has more info they can chime in with regarding modifying this .apk without it crashing
I'd love if someone figured this out I used to use CSIP SIMPLE and Google Voice Call back, which worked great, but having those running in the background was juicing my battery like no other. Hope someone can find a native SIP workaround!
I made a post/request in the developer forums @ http://forum.xda-developers.com/showthread.php?t=1322163
I'm ponying up $20 to a dev that can restore SIP support in a couple different ways on the Bionic. If this feature is valuable to you then join me by pooling in some funds for a dev to help us out!
Hope we will have a solution soon!

Do you think there will ever be an unlocked apk?

Hi, i was wondering if you guys think there will be a modded apk for you phone that unlocks certain features,
such as being able to handle it while driving, screen mirroring, and opening other apps that a not natively approved(youtube comes to mind).
Thanks in advance.
First of all, I'm not a developer, so if my comments don't contribute, it's just me being blond.
I'm was just looking for a Waze/Android Auto solution, as it looks like their announcement to come "soon" takes ages, if it ever will ...
And found this :
slideshare.net/j796160836/first-meet-with-android-auto?next_slideshow=1
github.com/googlesamples
github.com/googlesamples/android-UniversalMusicPlayer
github.com/googlesamples/android-MediaBrowserService
github.com/googlesamples/android-MessagingService
So it looks like it is possible to build your own Android Auto application.
If so, there should be a way to decompile fi Waze and add the necessary code, no ?

[Xposed] (Security) Disable Quick Settings Pulldown on Lock Screen

This is just a simple Xposed module that disables pulling down the notification shade / quick settings tiles while on the lock screen (but doesn't break media player controls on lock screen). Only tested on Pixel 4 and Pixel 4 XL on Android 10 (more on this later).
Background: This has always been an annoying aspect of Android for me, and it's dumb from a security standpoint. Being able to pull down the quick settings tiles on a locked phone is dumb. Why hasn't Android natively built this in yet? Using this and Gravity Box to disable power menu on lock screen makes me feel a lot better in the event my phone ever gets lost or stolen. It's dumb that anyone can steal your phone and immediately toggle your settings (turn off WiFi, Mobile Data, toggle Airplane Mode, etc) and/or turn the phone off... I've been spoiled for years by the OG HTC devs (particularly LeeDroid and Team Venom) and their ROMs with these features baked in, so it's back to using Xposed to fill that gap for me and my wife, lol. Anyway, I pair these mods along with the Lockwatch app from Play Store and it gives me more peace of mind. Hey, anything to increase the chances of recovering a lost or stolen phone, am I right?
Credits / Technical Details: This module is based off of char101's published Xposed Repo module, and all credits and thanks should go to him. This is the first app / APK I've compiled so it was a nice learning experience, but it was all based off of his source and I really just needed to remove a few lines of code to get it to work properly with our phones. His mod worked fine and disabled the quick settings pull down on the lock screen, as intended. The problem was that it would also prevent media player controls from functioning (and I would assume other possible functions as well). To fix this, I just removed DISABLE2_NOTIFICATION_SHADE references from the code, leaving DISABLE2_NONE and DISABLE2_QUICK_SETTINGS untouched. The mod still works perfectly as intended. Only tested on Pixel 4 / 4 XL on Android 10. I'm sure it would work on other devices as well.
I really just did this on a whim for me and my wife's own phones and wasn't planning on sharing it, but I figure other people may have also wanted this for their P4's as well, so enjoy. Again, all thanks go to @char101!
Installation:
- Download .APK file attached to this post.
* If you have char101's original module installed already, I would highly recommend uninstalling it first.
- It's an Xposed module. Install the APK and enable in your Xposed Manager.
- Reboot and test.
Based on: https://repo.xposed.info/module/com.github.char101.qslock
Source for modified module: https://github.com/i5lee8bit/xposed-qslock-P4mod
thanks for this!!! any difference between this one and the one posted on the XL forums?
vdevl said:
thanks for this!!! any difference between this one and the one posted on the XL forums?
Click to expand...
Click to collapse
Nope, they are exactly the same. I have a 4 XL and got my wife the regular 4, and so I've been posting on both forums to share some of my findings on both devices. I just figured most 4-only owners probably won't be checking the 4 XL forums, and since this mod worked perfectly on my wife's phone I wanted to share with both communities. Glad to help though!
PS: Please try to refrain from quoting the entire OP, it makes the thread kind of cluttered. Just for future reference. =)
thanks much dude! gonna try edxposed with this module for 1st time after kitkat days. Miss those easy android days.
Appreciate the effort youre putting for sharing mods and patched boot imgs. Cool guy
i5lee8bit said:
This is just a simple Xposed module that disables pulling down the notification shade / quick settings tiles while on the lock screen (but doesn't break media player controls on lock screen). Only tested on Pixel 4 and Pixel 4 XL on Android 10 (more on this later).
Background: This has always been an annoying aspect of Android for me, and it's dumb from a security standpoint. Being able to pull down the quick settings tiles on a locked phone is dumb. Why hasn't Android natively built this in yet? Using this and Gravity Box to disable power menu on lock screen makes me feel a lot better in the event my phone ever gets lost or stolen. It's dumb that anyone can steal your phone and immediately toggle your settings (turn off WiFi, Mobile Data, toggle Airplane Mode, etc) and/or turn the phone off... I've been spoiled for years by the OG HTC devs (particularly LeeDroid and Team Venom) and their ROMs with these features baked in, so it's back to using Xposed to fill that gap for me and my wife, lol. Anyway, I pair these mods along with the Lockwatch app from Play Store and it gives me more peace of mind. Hey, anything to increase the chances of recovering a lost or stolen phone, am I right?
Credits / Technical Details: This module is based off of char101's published Xposed Repo module, and all credits and thanks should go to him. This is the first app / APK I've compiled so it was a nice learning experience, but it was all based off of his source and I really just needed to remove a few lines of code to get it to work properly with our phones. His mod worked fine and disabled the quick settings pull down on the lock screen, as intended. The problem was that it would also prevent media player controls from functioning (and I would assume other possible functions as well). To fix this, I just removed DISABLE2_NOTIFICATION_SHADE references from the code, leaving DISABLE2_NONE and DISABLE2_QUICK_SETTINGS untouched. The mod still works perfectly as intended. Only tested on Pixel 4 / 4 XL on Android 10. I'm sure it would work on other devices as well.
I really just did this on a whim for me and my wife's own phones and wasn't planning on sharing it, but I figure other people may have also wanted this for their P4's as well, so enjoy. Again, all thanks go to @char101!
Installation:
- Download .APK file attached to this post.
* If you have char101's original module installed already, I would highly recommend uninstalling it first.
- It's an Xposed module. Install the APK and enable in your Xposed Manager.
- Reboot and test.
Based on: https://repo.xposed.info/module/com.github.char101.qslock
Source for modified module: https://github.com/i5lee8bit/xposed-qslock-P4mod
Click to expand...
Click to collapse
thanks, mate, it's working perfectly on poco f3 android 12.1 lineageOS
Thank you so much for sharing this!!!!!!!
i5lee8bit said:
Nope, they are exactly the same. I have a 4 XL and got my wife the regular 4, and so I've been posting on both forums to share some of my findings on both devices. I just figured most 4-only owners probably won't be checking the 4 XL forums, and since this mod worked perfectly on my wife's phone I wanted to share with both communities. Glad to help though!
PS: Please try to refrain from quoting the entire OP, it makes the thread kind of cluttered. Just for future reference. =)
Click to expand...
Click to collapse
are you able to update the app to work with android 13. Am using a pixel 6 and the app doesnt work
v.konvict said:
are you able to update the app to work with android 13. Am using a pixel 6 and the app doesnt work
Click to expand...
Click to collapse
I was able to modify the code to run in android 13, see my reply at https://forum.xda-developers.com/t/...n-on-lock-screen.4076593/page-2#post-88165351

How Y'all Are?

Hey Y'all,
My name is [email protected] from South Carolina. I have enjoyed this forum for years, It has helped me fix a big problem in my life. Thank all you devs from the bottom of my heart. You see I live in a remote part of SC with very few internet options. The only option I have found that meets my needs is a great grandfather plan from the big red V. So hotspoting my phone has been a blessing for home internet. Maybe someday us country folks can cross the digital divide and get real home internet options.
In the early days of smartphones I used PDAnet until the wifi option stopped working for me. Then I got a Nexus 5x and was able to just unlock the boot loader, no root and just unpack the boot.img with AIK and add a line to ramdisk/default.prop, rebulid the boot.img and flash. What version Android stopped being able to edit the boot.img directly? I had loaded Lineage on it and kept building my own version for a while even after those Lineage OTA's stopped. Now the big red V has deemed the Nexus 5x unfit for their network so I have switched to a Pixel 3a android 12 sept 22. I currently have it rooted and magisk installed with tethering enabler mod working. But I was unable to use any apps from the phone to edit build.prop it would not save for some reason, any ideas? But the magisk mod is working now for my home network needs with a slight strange annoyance that I am now here to dig in and hopefully find an answer. Can someone point me to the how to use your phone as a home network modem only section? I've done lots of reading here but found no place to ask such specific questions respectfully in this forum. Should I post in general questions or my phone specific board? I need to set my piHole as the DNS and set my jellyfin and nextcloud servers as static IP's inside android.
Personally I'm 45 I have an EE and partly thru my CS from the Open Source Univ. on github. My hobbies are tech, linux, raspberry pi, esp32/8266, rp2040, arduino, 3dprinting, farming, cooking and home brewing beer.
Hope I can find the answer I seek here without asking the questions the wrong way.
Welcome to the xda family.
Cheers.

Categories

Resources