Hello everyone,
I want to share my Headset Notifier for any Xperia running on stock MM roms
It shows a notification when your headphone is plugged in.
*Actually this headphone notifier is modded Unsupported Headset Notifier.apk, because Sony disabled the notification when you plug your headphones.
*It should be working on any Xperia MM rom.
Okay, if you want to find the apk, check the attachment of this post and jump to Step 5.
If you want to try to mod it by yourself, here's the guide below:
Here's what we need:
-Notepad++
-Apktool (Version that support Android 6.0 Roms, I use Advanced ApkTool 2.1.1 to work.)
Steps:
1. Decompile your UnsupportedHeadset.apk
2. Go to res/values/ and open bools.xml with notepad++
3. Edit This Line(Change the red one):
<bool name="show_headset_plugin_icon_to_notification">false</bool>
Click to expand...
Click to collapse
to:
<bool name="show_headset_plugin_icon_to_notification">true</bool>
Click to expand...
Click to collapse
4. Save file and recompile and sign it. Done!
5. Install as normal apk or move to system/app/UnsupportedHeadsetNotifier/,and set permission to rw-r-r and then reboot.
*Maybe this mod needs Superuser mod (Patched Services.jar).
Edit:I added Flashable Zip below, flash it in your custom recovery.
Tested on:
-My Xperia Z3 with eXistenZ MM Rom - 23.5.A.1.203
Great find. Thanks for sharing this. Working fine...
what about if i want to add headset icon to the status bar when headset connected ? if you know the steps share with us please.thanks for this mod.
rocker00 said:
what about if i want to add headset icon to the status bar when headset connected ? if you know the steps share with us please.thanks for this mod.
Click to expand...
Click to collapse
Headset icon is also shown on the status bar when it is connected.
AlanDS said:
Headset icon is also shown on the status bar when it is connected.
Click to expand...
Click to collapse
yes i tested now.thank you :good:
I try install as normal apk and not installed on my Z3 running MM 23.5.B.0.368 (japan version) no root. I need this thing, thanks
SquadXPERIA said:
I try install as normal apk and not installed on my Z3 running MM 23.5.B.0.368 (japan version) no root. I need this thing, thanks
Click to expand...
Click to collapse
Oh? Cannot installed? Sorry, I'll try to make one for no root devices....
SnoopyOne said:
Oh? Cannot installed? Sorry, I'll try to make one for no root devices....
Click to expand...
Click to collapse
Okay thank you, I'll wait for it
Btw I was tried to dc and rc apk and sign the apk then install as normal apk, still not installed.
SquadXPERIA said:
Okay thank you, I'll wait for it
Btw I was tried to dc and rc apk and sign the apk then install as normal apk, still not installed.
Click to expand...
Click to collapse
I changed "version code" from "23" to "24" in this apk, maybe that's why you cannot install, try it and tell me if it works...
SnoopyOne said:
I changed "version code" from "23" to "24" in this apk, maybe that's why you cannot install, try it and tell me if it works...
Click to expand...
Click to collapse
Still not installed
SquadXPERIA said:
Still not installed
Click to expand...
Click to collapse
Don't worry!
I figured it out! How about change the package id?
I think it will not conflict with the original one!
Could install as a separate app, not cover.
Edit: .....But Hmm... after I wrote this post a few minutes, I found a question,
because you installed as a separated one.
It will have two (may conflict the notification showing)...
One makes it show(The one you installed)
And another one will block it down(The System one)
So report me if it shows the notification when you plug in,
If it cause conflict that makes it doesn't shows the notification, I will remove it, because that's useless and bad.
Edit 2: Or if it doesn't work because of conflict, you can try to disable UnsupportedHeadset Notifier in settings and reboot.
SnoopyOne said:
Don't worry!
I figured it out! How about change the package id?
I think it will not conflict with the original one!
Could install as a separate app, not cover.
Edit: .....But Hmm... after I wrote this post a few minutes, I found a question,
because you installed as a separated one.
It will have two (may conflict the notification showing)...
One makes it show(The one you installed)
And another one will block it down(The System one)
So report me if it shows the notification when you plug in,
If it cause conflict that makes it doesn't shows the notification, I will remove it, because that's useless and bad.
Edit 2: Or if it doesn't work because of conflict, you can try to disable UnsupportedHeadset Notifier in settings and reboot.
Click to expand...
Click to collapse
The apk installed and still not showing notification. I've tried disable one and reboot still no notification appears.
SquadXPERIA said:
The apk installed and still not showing notification. I've tried disable one and reboot still no notification appears.
Click to expand...
Click to collapse
Find a remove tool for no root device, to remove it.
Try this method to remove the system one?
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
Re-Enable it and clear data , cache first and than remove it.
SnoopyOne said:
Find a remove tool for no root device, to remove it.
Try this method to remove the system one?
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
Re-Enable it and clear data , cache first and than remove it.
Click to expand...
Click to collapse
Can't open that link
SquadXPERIA said:
Can't open that link
Click to expand...
Click to collapse
Why? I can access it...(Edit: Is it because it's slow when loading? Tried several times found that sometimes loads slowly on my phone.)
BTW here's the video Tutorial in that tutorial:
If you can't see it go here
Hope this will help you...
SnoopyOne said:
Why? I can access it...(Edit: Is it because it's slow when loading? Tried several times found that sometimes loads slowly on my phone.)
BTW here's the video Tutorial in that tutorial:
If you can't see it go here
Hope this will help you...
Click to expand...
Click to collapse
It's says, "The request contains an invalid API key!". I tried on my phone actually.
P.S. : maybe I need to try on desktop.
SquadXPERIA said:
It's says, "The request contains an invalid API key!". I tried on my phone actually.
P.S. : maybe I need to try on desktop.
Click to expand...
Click to collapse
Does it works?
SnoopyOne said:
Does it works?
Click to expand...
Click to collapse
success to remove system app, then tried to install last apk you gave me, still nothing happen with headset notification
SquadXPERIA said:
success to remove system app, then tried to install last apk you gave me, still nothing happen with headset notification
Click to expand...
Click to collapse
I just can say:......It doesn't support this system
Tried another Sony device (rooted), even I removed the original apk and install the modified one, still not showing the notification.....
Tested on my old Z1C 5.1.1 Stock based custom rom with modded apk for 5.1.1 LP
Can u change the text notification?
Can u give me a guide to change notification text from "headset pluged in, unplug them to get speaker sound" to another text? Like "beats sound enabled" or etc?
Cause i can change the headset icon png, but cant change the text one.
Related
Hi,
I wish to permanently use the "Restrict background data" feature ( under settings->data usage ) on my JB rom, but the problem is that when I enable that feature, I always get a notification, asking me to "touch to remove" that feature...
I don't wish to do that, even by mistake! I want that notification GONE completely, but to retain the "restrict" feature...
I understand, it's possible to permanently disable notifications, by altering "Settings.apk" somehow - but I don't know what and where to change ( wish file inside that apk ).
I used "apktool" to unpack the apk, but again - which file should I change ? what value/line should I delete ?
My rom is VJ's AOKP v2.2, so "Settings.apk" file is from that rom's version.
Any help would be great :highfive::fingers-crossed:
EDIT:
Guess it has something to do with "DataUsageSummary.smali" (after unpacking the Settings apk -> smali\com\android\settings):
BUT WHAT SHOULD I CHANGE ?!
please reply
gps3dx said:
Any help would be great :highfive::fingers-crossed:
Click to expand...
Click to collapse
Seriously ? Not even the smallest hint you ppl can give me ?:crying::crying:
Can't you even redirect me to the most prevalent sub-forum, here at XDA, for that kind of question ?:silly:
gps3dx said:
Seriously ? Not even the smallest hint you ppl can give me ?:crying::crying:
Can't you even redirect me to the most prevalent sub-forum, here at XDA, for that kind of question ?:silly:
Click to expand...
Click to collapse
Something called the search function; it's really useful.
You can't just expect others to answer your questions promptly. As for your questions, that's part of the android system and if you want to modify it, go ahead. It's not a notification because you can't swipe it away; it's an ongoing thing. SO if you want to go on with that kind of attitude, you can try it yourself.
droid_<3er said:
Something called the search function; it's really useful.
As for your questions, that's part of the android system and if you want to modify it, go ahead. It's not a notification because you can't swipe it away; it's an ongoing thing.
Click to expand...
Click to collapse
I really do appreciate your reply man - even though I googled xda from top to button.
( there are thread about modifying various stuff inside settings.apk / SystemUI.apk - but NON are about that "restriction notification" i'm talking about. )
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Update: For a while now it's already available in Xposed modules repository: http://repo.xposed.info/module/org.adam77root.removerestrictednotification.
Adam77Root said:
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Click to expand...
Click to collapse
WOW thnx... but just a few moments before you posted your message I to fulfill that wish of mine... I SOLVED IT !
Although I admit - I DO NOT KNOW if I disabled all of the "restrict background" feature, but I DO managed to enable the "restrict backgound data" checkbox ( then press OK at the popup ) WITHOUT getting any notification at all !
HOW TO DISABLE NOTIFICATION ALERT FOR "RESTRICT BACKGROUND DATA" ( under settings-> data usage-> options )( I tried that fix on JB 4.2.2 ( to be specific: AOKP VJ Jelly Bean v2.2), BUT I guess it works on all JB 4.2.2 )1. copy "services.jar" from "/system/framework/services.jar" to your computer.
MAKE A SAFE COPY OF THIS FILE IF SOMETHING HAPPENS TO YOU.
2. extract the jar file using Winrar or any compatible app.
3. using MultiTool decompile the "classes.dex" file as instructed by Multitool's thread.
4. open with any txt editor ( I used Notepad++ ) the file "NetworkPolicyManagerService.smali" under "decompiled\classout\com\android\server\net\" ( which is a sub-folder of Mulitool's folder that you've previously extracted )
5. A . search for:
Code:
invoke-interface/range {v0 .. v6}, Landroid/app/INotificationManager;->enqueueNotificationWithTag(Ljava/lang/String;Ljava/lang/String;ILandroid/app/Notification;[II)V
delete completely that line or add "# " in the start of that line ( which is what I did ) so that line looks like that:
Code:
# invoke-interface/range {v0 .. v6}, Landroid/app/INotificationManager;->enqueueNotificationWithTag(Ljava/lang/String;Ljava/lang/String;ILandroid/app/Notification;[II)V
B. search for:
Code:
invoke-virtual {v0, p1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
add "# " in the start of that line ( which is what I did ) or delete completely that line
6. SAVE that smali file that you've just edited.
7. using Multitool, recompile the classes.dex file.
if everything went good, you'll have classes.dex file under MultiTool's sub-folder named "output"
8. using Winrar, open "services.jar", replace the current "classes.dex" with the recompiled one that you've made.
9. copy the remade "services.jar" to your device(using adb etc ):
Code:
adb push "services.jar" /system/framework/services.jar
10. chmod "services.jar" to "-rw-r--r--", meaning you need to:
Code:
adb shell chmod 644 /system/framework/services.jar
11. restart your device, and It should rebuilt your dalvik cache.
ONLY if it didn't, I guess you should delete "/data/dalvik-cache/[email protected]@[email protected]" file, reboot again so your OS will create that dalvik-cache file.
I'll be happy to know if anyone can verify that indeed my fix just remove his/her notification, but retain the ability to disable background data. THANKS !
Sorry I doubted you. You are a genius!
Many thanks!!
Adam77Root, thank you so much for that module! I can confirm it working on my Galaxy Note 2. That notification was unbelievably annoying.
gps3dx, thank you too for this thread and your fix. While I didn't try it because I already have Xposed framework installed and I'd rather use the less invasive approach, I am still grateful for your seeing a problem, addressing it, and proactively doing something about it. My respects to you. I searched around quite a bit and came across many other forums on different sites where people had this same problem unanswered. I hope they find their way to this thread.
To the above poster who jumped down the OP's throat for bumping this topic 4 days after it went unanswered, obviously you didn't do any search on this topic yourself. I did. And until this thread, I found nothing really useful. And lo-and-behold, someone was kind enough to actually do something useful instead of pointlessly sitting there and criticizing. The squeaky wheel gets the grease. Rudely telling someone to 'check their attitude and search' is not helpful- it's just rude and pointless. Just FYI.
I have an i9300 and I can't find the first line in that archive...
eXtremeDevil said:
I have an i9300 and I can't find the first line in that archive...
Click to expand...
Click to collapse
mybe it is because you run JB 4.1.2 not 4.2.2 like I do, plus mybe you're running some custom framework ( it is not AOKP as I suspect from you sig )
Adam77Root said:
...I've quickly put together an Xposed module that removes the notification.
Click to expand...
Click to collapse
@Adam77Root
Big thanks for this module: I installed another 4.2.2 JB rom for my HTC Desire, and your module works !:good::good:
Adam77Root said:
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Click to expand...
Click to collapse
this was working fine on my aokp jb mr1 Milestone 2, but stopped working when i installed the nigthly nightly (jb-mr1)2013-08-21 (wich fixes my camera issues and soe other stuff)
is there anything i can try myself to fix this or is it just incopatible with that nightly? (its still 4.2)
I'm using Lenovo phone, 4.2.1 Version. In "services.jar" I see only folder "META-INF" and file "MANIFEST.MF". I tried to rename the file to classes.dex then using MultiTool decompile but I receive: "Unexpected top-level exception:java.lang.RuntimeException:bad magic value...etc"
So what's wrong, where to find classes.dex? Someone?
new edit: Thanks a lot for all the replies, also Xposed framework+module didn't work.
Adam77Root said:
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Click to expand...
Click to collapse
Thanks a lot. Works awesome. Is it possible to post the source code to this?
css771 said:
Thanks a lot. Works awesome. Is it possible to post the source code to this?
Click to expand...
Click to collapse
I'm almost certain I don't have the original files anymore. Since it's pretty simple, you can either decompile the apk or check Android source of the class I mentioned in the post you quoted. Only one function is replaced with returning null.
Edit: Just checked, the function is enqueueRestrictedNotification.
Sent from my OmniROM-powered LG Optimus 4X HD
Xposed module works perfect on LG G2. Thanks a bunch!
Sent from my VS980 4G using Tapatalk
Adam77Root said:
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Click to expand...
Click to collapse
nice module.. work perfectly.. thanks
rooting?
do i have to root my phone to do this? will the module work without rooting? i'm new to playing with codes on my phone but I have done a lot of work with linux before so i can understand the process, i've just never rooted my phone before. i'd really like to get rid of this notification and the "usb connectivity" app's notification: internal storage &SD card- internal storage &SD card connected to PC. I mean, do i really need a notification to tell me that my phone is connected to my PC?
that last request isn't as important, at least if i accidentally click on that i'm not turning on background data use!
-yasboss
xperia z1s
jb 4.3
(just joined xda devs)
p.s.
is this the right place to ask this question?
yasboss said:
do i have to root my phone to do this? will the module work without rooting? i'm new to playing with codes on my phone but I have done a lot of work with linux before so i can understand the process, i've just never rooted my phone before. i'd really like to get rid of this notification and the "usb connectivity" app's notification: internal storage &SD card- internal storage &SD card connected to PC. I mean, do i really need a notification to tell me that my phone is connected to my PC?
that last request isn't as important, at least if i accidentally click on that i'm not turning on background data use!
-yasboss
xperia z1s
jb 4.3
(just joined xda devs)
p.s.
is this the right place to ask this question?
Click to expand...
Click to collapse
you need root to use xposed installer..
what else can it be used for?
ajeesh vijayan said:
you need root to use xposed installer..
Click to expand...
Click to collapse
can i use it for other notifications like i asked? I mean there's more than just the USB connectivity etc
NFC Icon Remover
**You can now get NFC Icon Remover on the Xposed Framework's Download tab. In this way, if I update it, you will get update notice via Xposed framework. However, I will still post the most updated file here once available! **
I just wrote this little App for my own use to remove the ugly (IMHO) NFC icon. With the power of XPosed framework, there are no need to modify the NFC.apk and the Icon is complete GONE.
For those you may not know, the NFC icon appears on HTC One and One X (after Android 2.2 update). This take out the precious space of status bar while looking really ugly.
Please be noted to use this mod, you need XPosed framework by rovo89. You could get the Framework at http://forum.xda-developers.com/showthread.php?t=1574401
This App has no icon of it's own. Just side load attached NFCIconRemover.apk and enable it in the Xposed Installer then reboot. You will notice the NFC icon will be gone after reboot.
Since this is my first Android app (Actually my last time writing any SW is 20 years ago! Haha!) so feel free to risk your phone by installing this. I am NOT responsible if it anything went wrong after install this mod.
I had only test this on my HTC One X (international version) with MaximusHD 21.1.0 (a very good custom ROM). Please feel free to feedback on this thread and I will try to resolve as much as I could.
If you find this useful, it would be appreciated to push the "Thank" button!
Great thanks go to rovo89 for this fabulous framework!!!
When I try to install from within xposed framework, I get the following error message:
Package name is incorrect (downloaded: com.lssong.nfciconremover, expected: NFCIconRemover)
Any idea?
edit: Just noticed that manual installation of the .apk works. So more or less a non-issue, but maybe worth solving anyway.
BigBlue007 said:
When I try to install from within xposed framework, I get the following error message:
Package name is incorrect (downloaded: com.lssong.nfciconremover, expected: NFCIconRemover)
Any idea?
edit: Just noticed that manual installation of the .apk works. So more or less a non-issue, but maybe worth solving anyway.
Click to expand...
Click to collapse
Yeah, I get the same thing happening.
As said above, manual installation of the .apk worked fine. The module is now listed in xposed framework, and I could enable it. Unfortunately it's not removing the NFC icon on my device (LG G2).
Deleted due to double post
BigBlue007 said:
As said above, manual installation of the .apk worked fine. The module is now listed in xposed framework, and I could enable it. Unfortunately it's not removing the NFC icon on my device (LG G2).
Click to expand...
Click to collapse
Thanks for trying out! I just fixed the download installation issue in the Xposed framework. It should work now... *My Bad*...
As for LG G2 not working... Since I don't have a LG, could you please help by checking if the LG G2's NFC service package name is com.android.nfc? If not, what is the name?
Thanks!
Hi. How can i have the nfc back again? Thanks
Installed, works great, thanks!
rharta said:
Hi. How can i have the nfc back again? Thanks
Click to expand...
Click to collapse
If you want the NFC icon back, just disable this module in XPosed frameworks and reboot. The NFC icon will be back. (uninstalling the module then reboot will do the same trick)
SephirothXIIIX said:
Do you know if this is supposed to work with the 4.3 update? I've installed the Xposed Framework and enabled the module and rebooted, but I still have the annoying icon.
Click to expand...
Click to collapse
Since my One X doesn't have 4.3 yet, so I cannot test myself. However, as long as Xposed framework works and the NFC process is named "com.android.nfc" then it *should* work.
Feel free to install it and post your result here! It won't hurt anything and if it doesn't work, just remove it.
If it doesn't work, could you please let me know your NFC's process name so I could add it.
Thanks!
Sony Xperia Z
Process name is
com.sonymobile.nfc
Or at least it is on my rooted stock T-Mobile version. Model #C6606. Running 4.1.2 (I know, ridiculous).
Thanks for the mod. I hate that icon!
lssong99 said:
Thanks for trying out! I just fixed the download installation issue in the Xposed framework. It should work now... *My Bad*...
As for LG G2 not working... Since I don't have a LG, could you please help by checking if the LG G2's NFC service package name is com.android.nfc? If not, what is the name?
Thanks!
Click to expand...
Click to collapse
LgNfc.apk
Ok, I will add both when I can get back to my PC with the source code next week!
Sent from my HTC One X using XDA Premium HD app
Palthron said:
LgNfc.apk
Click to expand...
Click to collapse
Sorry, LgNFC.apk is the name of the apk file... Can you try to get the "process name" which looks like com.android.nfc? (I guess LG's might look like com.lge.nfcaddon ...)
If you don't know how to get a process name, try to get Android Tuner free. In that app you can see all the process name!
From the information on XDA, it seems LG had their own implementation of NFC and lot of things are changed under-hook. I had look up into the BaskSamli people provide and pull the com.lge.nfcaddon. Not sure if it's correct and even if it's correct, will it work or not.
Anyway, you can try the attached apk and check yourself! If it works, I will post it on the XPosed framework's download page
Cheers!
probablymartin said:
Process name is
com.sonymobile.nfc
Or at least it is on my rooted stock T-Mobile version. Model #C6606. Running 4.1.2 (I know, ridiculous).
Thanks for the mod. I hate that icon!
Click to expand...
Click to collapse
I have added to hook also Sony's nfc but but sure if it will work or not. Could you please side load this apk and test for me? If it works, I will post it on the XPosed Framework's download page!
Thanks!
maybe try again?
That did not work on my Xperia. But I may have flubbed the service name. Perhaps try:
com.sonymobile.nfc.NfcServiceEx
Thanks!
probablymartin said:
That did not work on my Xperia. But I may have flubbed the service name. Perhaps try:
com.sonymobile.nfc.NfcServiceEx
Thanks!
Click to expand...
Click to collapse
OK. Modified accordingly. However, it seems Sony also modified their NFC service so no guarantee my simple way will work... Anyway please let me know if it works!
sigh
lssong99 said:
OK. Modified accordingly. However, it seems Sony also modified their NFC service so no guarantee my simple way will work... Anyway please let me know if it works!
Click to expand...
Click to collapse
Nope. No luck. I guess Sony doesn't want me to control me own phone experience. But there's nothing to unique about that, I guess. Thanks for your effort and prompt responses!
lssong99 said:
Sorry, LgNFC.apk is the name of the apk file... Can you try to get the "process name" which looks like com.android.nfc? (I guess LG's might look like com.lge.nfcaddon ...)
If you don't know how to get a process name, try to get Android Tuner free. In that app you can see all the process name!
From the information on XDA, it seems LG had their own implementation of NFC and lot of things are changed under-hook. I had look up into the BaskSamli people provide and pull the com.lge.nfcaddon. Not sure if it's correct and even if it's correct, will it work or not.
Anyway, you can try the attached apk and check yourself! If it works, I will post it on the XPosed framework's download page
Cheers!
Click to expand...
Click to collapse
lssong99 thank you, I tired this but unfortunately it didn't work on LG G2 801. There was a zip somewhere to flash in recovery, but I'd love to have an xposed module that took care of it.
I appreciate your hard work!
nathanskidmore said:
lssong99 thank you, I tired this but unfortunately it didn't work on LG G2 801. There was a zip somewhere to flash in recovery, but I'd love to have an xposed module that took care of it.
I appreciate your hard work!
Click to expand...
Click to collapse
Hi, apk did not work for me either. Would love to have the icon removed. Can I help in fixing it for G2? Please let me know how. Appreciate the hard work!
Hi to all.
I'm almost new here ans i have to ask you a question.
I installed aroma volume mod on my z1c and everything is good with volume, but i can't record audio anymore. Every app i try to use, even Sony miniapp doesn't allow me to record, but i can send audio records on whatsapp and the audio in videos is ok.
What could be the problem and What can i do to solve it?
Thank you in advice
No one knows?
dario2510 said:
Hi to all.
I'm almost new here ans i have to ask you a question.
I installed aroma volume mod on my z1c and everything is good with volume, but i can't record audio anymore. Every app i try to use, even Sony miniapp doesn't allow me to record, but i can send audio records on whatsapp and the audio in videos is ok.
What could be the problem and What can i do to solve it?
Thank you in advice
Click to expand...
Click to collapse
which vol mod? link?
TheEndHK said:
which vol mod? link?
Click to expand...
Click to collapse
This one
forum.xda-developers.com/showthread.php?t=2639862&nocache=1
dario2510 said:
This one
forum.xda-developers.com/showthread.php?t=2639862&nocache=1
Click to expand...
Click to collapse
I may try it later but you should report it in that thread and let the dev to fix it.
dario2510 said:
This one
forum.xda-developers.com/showthread.php?t=2639862&nocache=1
Click to expand...
Click to collapse
run this mod again and select options to revert to stock with everything in aroma installer - it will fix it.
Thanks for replies.
If i restore i'm able to record audio, but i would like to use both and i can't reply in the official thread since i have less than 10 posts.
dario2510 said:
If i restore i'm able to record audio, but i would like to use both and i can't reply in the official thread since i have less than 10 posts.
Click to expand...
Click to collapse
I have posted fix in the mod thread. Now it's up to dev to include it in the installer.
odl said:
I have posted fix in the mod thread. Now it's up to dev to include it in the installer.
Click to expand...
Click to collapse
But i can already copy your file ib etc folder and use it, right?
dario2510 said:
But i can already copy your file ib etc folder and use it, right?
Click to expand...
Click to collapse
you can edit not working file with adding the lines I mentioned in mod thread, copy it to etc folder and set permissions to rw-r-r.
or you can open zip with mod, edit file with settings you wish to have (or all for android 4.4, if you have time ), put it back to zip and just install.
odl said:
you can edit not working file with adding the lines I mentioned in mod thread, copy it to etc folder and set permissions to rw-r-r.
or you can open zip with mod, edit file with settings you wish to have (or all for android 4.4, if you have time ), put it back to zip and just install.
Click to expand...
Click to collapse
Oh, that's awesome, Thank you so much!!!
I will asap try and let you know!
It works perfectly, Thank you very much!
STOCK ANDROID NOUGAT [N] CAMERA FOR ALL CUSTOM ROM
How To Install
1. Download Zip file
2. Reboot into TWRP recovery
3. Flash Zip file
4. Reboot
5. Done Enjoy Stock Camera on any custom rom
I'd like to give credit to DevendraMilmile121 for the original port here.
Also credits to data365 for his mod here
I patched the apk to avoid the FC when com.motorola.frameworks.core.addon.jar is present.
No need to delete the com.motorola.*** .jar files from system/framework/
Download v6.0.54.1
Download v6.0.78.1
Enable Write to external sdcard:
ExtSD_Fix_rw-signed-v1.9b.zip
Thank you so much. Working fine on pure Nexus
Enviado desde mi Moto G4 mediante Tapatalk
Many thanks for this, working on resurrection remix 5.8.3 26/04 build without issue. how did you get around the FC problem, if I may ask?
Working fine on crDoid. Thank you so much!
echo92 said:
Many thanks for this, working on resurrection remix 5.8.3 26/04 build without issue. how did you get around the FC problem, if I may ask?
Click to expand...
Click to collapse
My understanding is that when /system/framework/com.motorola.frameworks.core.addon.jar is present
com.motorola.camera.device.framework.CameraMotExt.<clinit> fails to find class "android.hardware.Camera$EnvDetectCallback"
So I emptied out the static method (<clinit>) and initialised a couple of variables outside.
I used DexPatcher to modify it.
Then the behaviour is the same as if /system/framework/com.motorola.frameworks.core.addon.jar wasn't there.
Clearly this is a workaround not a fix. It would be nice to know why it can't find the class and fix it so that "CameraMot" is supported (I guess this is some hardware optimisation)
Would you please share another link beside afh because i get some problem with download from afh
Thank you for this. After I deleted those files, an FC message saying "Motorola Settings" has stopped would greet me at every boot. This'll take care of that.
I don't believe it has anything to do with video recording though, does it?
baunthiyal said:
Thank you for this. After I deleted those files, an FC message saying "Motorola Settings" has stopped would greet me at every boot. This'll take care of that.
I don't believe it has anything to do with video recording though, does it?
Click to expand...
Click to collapse
I didn't see issues with video recording either with the patched Moto camera and deleting the .jar files, or using this Moto camera as is. The Motorola settings seems to pop up whenever, but dismissing it doesn't seem to cause issues with the camera app or the system itself - curious!
dedik46 said:
Would you please share another link beside afh because i get some problem with download from afh
Click to expand...
Click to collapse
https://ufile.io/y6fm5
How to change the storage location to external SD card.? It is not accessible through settings.
Thanks in advance.
ramansehra said:
How to change the storage location to external SD card.? It is not accessible through settings.
Thanks in advance.
Click to expand...
Click to collapse
https://forum.xda-developers.com/mo...-motorala-camera-write-to-externalsd-t3498573
gabriwinter said:
My understanding is that when /system/framework/com.motorola.frameworks.core.addon.jar is present
com.motorola.camera.device.framework.CameraMotExt.<clinit> fails to find class "android.hardware.Camera$EnvDetectCallback"
So I emptied out the static method (<clinit>) and initialised a couple of variables outside.
I used DexPatcher to modify it.
Then the behaviour is the same as if /system/framework/com.motorola.frameworks.core.addon.jar wasn't there.
Clearly this is a workaround not a fix. It would be nice to know why it can't find the class and fix it so that "CameraMot" is supported (I guess this is some hardware optimisation)
Click to expand...
Click to collapse
Yes look forward to [emoji4]
gabriwinter said:
STOCK ANDROID NOUGAT [N] CAMERA FOR ALL CUSTOM ROM
How To Install
1. Download Zip file
2. Reboot into TWRP recovery
3. Flash Zip file
4. Reboot
5.Done Enjoy Stock Camera on any custom rom
Download
All credits to DevendraMilmile121 for the original port here.
I just patched to avoid the FC when com.motorola.frameworks.core.addon.jar is present.
No need to delete the com.motorola.*** .jar files from system/framework/
Click to expand...
Click to collapse
Thx!!!!!!!!!!!!!!!!!!
Can we auto-update via Playstore to newer version?
Is quality as good as it's on stock roM? thx!!!!!!
optionalmgrr.la said:
Thx!!!!!!!!!!!!!!!!!!
Can we auto-update via Playstore to newer version?
Is quality as good as it's on stock roM? thx!!!!!!
Click to expand...
Click to collapse
It can't be updated or it would loose the patch.
Quality wise I would say it's close to stock but probably a little below (can someone confirm this?)
For now I think this is the best we can get for non stock roms.
If someone wants to step up and try to get a proper fix that would be ideal.
gabriwinter said:
It can't be updated or it would loose the patch.
Quality wise I would say it's close to stock but probably a little below (can someone confirm this?)
For now I think this is the best we can get for non stock roms.
If someone wants to step up and try to get a proper fix that would be ideal.
Click to expand...
Click to collapse
Cool. Let's hope someone fix this further
i mean, perhaps setup a wrapper to divert the error message.... something like that.
btw, on stock there is a "Camera tuner for Moto G(4)", is it needed?
https://play.google.com/store/apps/details?id=com.motorola.imagertuning_athene
optionalmgrr.la said:
btw, on stock there is a "Camera tuner for Moto G(4)", is it needed?
https://play.google.com/store/apps/details?id=com.motorola.imagertuning_athene
Click to expand...
Click to collapse
I'm using cr droid and had this camera tuner by default
i'm geting "device not compatable" when i open the camera. And nothing to delete com system/framework
i have an moto x2 (xt1097) on aosp extended 7.1.2
help
tiagovicente2 said:
i'm geting "device not compatable" when i open the camera. And nothing to delete com system/framework
i have an moto x2 (xt1097) on aosp extended 7.1.2
help
Click to expand...
Click to collapse
This camera port is for athene only.
Debloats unnecessary services and apps on your OnePlus devices to give moar free ram and improve battery.
Works both on stable and beta and any device running oos11
Use it. If it affects your daily usage, don't.
New apps and services have been added in this version.
No seperate versions. Since most of the 9 and 9 pro series guys are rooted, they be using the oxygen updater app. The default updater keeps running in bg and hence, has been removed.
IN CASE U WANT TO UPGRADE, DISABLE MODULE, REBOOT, DOWNLOAD AND INSTALL UPDATE.
If someone wants services like OnePlus account or red cable club, go to apk mirror and install it from there.
Do not forget to flash Overlay mount fix from magisk repository else, u might end soft-rebooting your device.
If you like what I do, consider buying me a coffee
UPI: [email protected]
Moar updates HERE
If uh want live wallpapers to be working again after installing the module, install the apk given below.
Updated to V7. Vpn issues fixed now
Is there an app to use with module or is done automatically or done through terminal.
Kenkool12 said:
Is there an app to use with module or is done automatically or done through terminal.
Click to expand...
Click to collapse
Nothing needed. Apps have been debloated. To check, check running services under developer option before and after flashing
Good thing, works well. I'll give it a try
by default it wil remove these apps and services:
/system/app/ARCore_stub
/system/app/BackupRestoreRemoteService
/system/app/BasicDreams
/system/app/BookmarkProvider
/system/app/By_3rd_FBAppManagerOverSeas
/system/app/By_3rd_NetflixActivationOverSeas
/system/app/By_3rd_NetflixStubOverSeas
/system/app/By_3rd_PlayAutoInstallConfigOverSeas
/system/app/GooglePrintRecommendationService
/system/app/HTMLViewer
/system/app/OPMinidumpOptimization
/system/app/PartnerBookmarksProvider
/system/app/SensorTestTool
/system/app/SimAppDialog
/system/app/SoterService
/system/app/Stk
/system/app/Traceur
/system/app/WallpaperBackup
/system/priv-app/BuiltInPrintService
/system/priv-app/BackupRestoreConfirmation
/system/priv-app/By_3rd_FBInstallOverSeas
/system/priv-app/By_3rd_FBServicesOverSeas
/system/priv-app/CellBroadcastLegacyApp
/system/priv-app/LocalTransport
/system/priv-app/ONS
/system/priv-app/OnePlusCameraService
/system/priv-app/OnePlusWizard
/system/priv-app/QualcommVoiceActivation
/system/priv-app/SharedStorageBackup
/system/priv-app/VpnDialogs
/system/product/app/By_3rd_HeytapIdProviderIndia
/system/product/app/By_3rd_McsIndia
/system/product/app/By_3rd_NearmeIndia
/system/product/app/Duo
/system/product/app/GoogleLocationHistory
/system/product/app/GooglePay
/system/product/app/Maps
/system/product/app/Music2
/system/product/app/OPMemberShip
/system/product/app/OPYellowPage
/system/product/app/OPYellowpage
/system/product/app/SensorTestTool
/system/product/app/Stk
/system/product/app/Videos
/system/product/app/talkback
/system/product/priv-app/Account
/system/product/priv-app/AndroidAutoStub
/system/product/priv-app/By_3rd_CloudServiceIndia
/system/product/priv-app/By_3rd_RoamingServiceIndia
/system/product/priv-app/GooglePartnerSetup
/system/product/priv-app/GoogleRestore
/system/product/priv-app/LiveCaption
/system/product/priv-app/OPChargingPillar
/system/product/priv-app/OPWorkLifeBalance
/system/reserve/By_3rd_EpicGamesIndia
/system/reserve/By_3rd_OneplusStoreNA
/system/reserve/By_3rd_RoamingAppIndia
/system/reserve/CanvasResources
/system/reserve/card
/system/reserve/OPBackupRestore
/system/reserve/OPForum
/system/reserve/OPIconpackCircle
/system/reserve/OPIconpackOnePlusH2
/system/reserve/OPIconpackOnePlusO2
/system/reserve/OPIconpackSquare
/system/reserve/OPSports
/system/reserve/OnePlusPods
/system/system_ext/app/BTtestmode
/system/system_ext/app/By_3rd_PlayAutoInstallConfigOverSeas
/system/system_ext/app/EngSpecialTest
/system/system_ext/app/EngineeringMode
/system/system_ext/app/LogKitSdService
/system/system_ext/app/NVBackupUI
/system/system_ext/app/OPAppUpgrader
/system/system_ext/app/OPBackup
/system/system_ext/app/OPBreathMode
/system/system_ext/app/OPBugReportLite
/system/system_ext/app/OPCommonLogTool
/system/system_ext/app/OPLiveWallpaper
/system/system_ext/app/OPPush
/system/system_ext/app/OPSesAuthentication
/system/system_ext/app/OemAutoTestServer
/system/system_ext/app/PhotosOnline
/system/system_ext/app/QTIDiagServices
/system/system_ext/app/Rftoolkit
/system/system_ext/app/SensorTestTool
/system/system_ext/app/SoterService
/system/system_ext/app/oem_tcma
/system/system_ext/app/uimremoteclient
/system/system_ext/app/uimremoteserver
/system/system_ext/priv-app/EmergencyInf2
/system/system_ext/priv-app/GoogleFeedback
/system/system_ext/priv-app/GoogleOneTimeInitializer
/system/system_ext/priv-app/OPAccessoryFramework
/system/system_ext/priv-app/OPDeviceManager
/system/system_ext/priv-app/OPDeviceManagerProvider
/system/system_ext/priv-app/OPMediaProvider
/system/system_ext/priv-app/OPOmm
/system/system_ext/priv-app/OpLogkit
/system/system_ext/priv-app/QAS_DVC_MSP
/system/system_ext/priv-app/seccamservice
/system/system_ext/priv-app/SetupWizard
/system/system_ext/priv-app/StorageManager
/system/system_ext/priv-app/TagGoogle
/system/system_ext/priv-app/WallpaperCropper
Click to expand...
Click to collapse
Anyone tested this? Does it soft brick your device after flashing?
vangry2020 said:
Anyone tested this? Does it soft brick your device after flashing?
Click to expand...
Click to collapse
I flashed overlay mount fix first like he said then rebooted and flashed the debloater and it's working on my 9 Pro fine
Can you make a version that doesn't remove the Sim Tool Kit?
Edit: Edited it myself.
Thank you for this module.
andacro said:
Can you make a version that doesn't remove the Sim Tool Kit?
Edit: Edited it myself.
Thank you for this module.
Click to expand...
Click to collapse
Hi, how did u edit it if I may ask?
khanboy619 said:
Hi, how did u edit it if I may ask?
Click to expand...
Click to collapse
Edit the install.sh, and zip it with 7zip.
Probably a silly question -- but does this debloater remove apps that are feeding Telemetry constantly to One plus? That probably saves battery.
khanboy619 said:
Hi, how did u edit it if I may ask?
Click to expand...
Click to collapse
Didn't work with 7zip, but this worked:
[TOOL][Windows] Zip Builder v4.5.2 - Build and Sign ANY script based installer
Zip Builder is a stand-alone Windows exe (ZipBuild.exe) that can be used to build and sign Android zip-based installers from Windows folders. All required components to build and sign a zip installer are included - no additional files or software...
forum.xda-developers.com
Gotta have Java installed.
great work, thanks for your doing.
I only want to delete the gmail app.
How would i go about doing that?
And not disabling or pm uninstall, actual delete. I tried the adb way of pm uninstall, but that will not delete the file.
I want to install it from play store to test something.
It is located in /product/app/Gmail2/
But I'm afraid if I delete this, i will end up in bootloop up something.
@RedSkulxHYDRA
So I'm having an issue now on that my hotspot isn't working after using it. I'm on Verizon and when I called they said it wasn't an issue on their end.
Basically devices will connect to the phone but are unable to access the internet.
I tested it after disabling the module and reflashing the stock img and it was working but it stops after I install the module. Any idea what service to exclude or what to do?
EDIT:
Confirmed its module related since when I turn off the module it works fine.
sonic1675 said:
@RedSkulxHYDRA
So I'm having an issue now on that my hotspot isn't working after using it. I'm on Verizon and when I called they said it wasn't an issue on their end.
Basically devices will connect to the phone but are unable to access the internet.
I tested it after disabling the module and reflashing the stock img and it was working but it stops after I install the module. Any idea what service to exclude or what to do?
EDIT:
Confirmed its module related since when I turn off the module it works fine.
Click to expand...
Click to collapse
I use hotspot regularly and haven't had any issues with this module.
DashDashCZ said:
I use hotspot regularly and haven't had any issues with this module.
Click to expand...
Click to collapse
That's very interesting. Which debloat version are you on? The one in OP is v7 but I'm on v8 from his Telegram.
It works when the module is off but once I turn it on it stops which makes me think it's module related rather than phone related.
sonic1675 said:
That's very interesting. Which debloat version are you on? The one in OP is v7 but I'm on v8 from his Telegram.
It works when the module is off but once I turn it on it stops which makes me think it's module related rather than phone related.
Click to expand...
Click to collapse
Haven't updated to v8 yet (I'm on v7). That might be the problem then.
DashDashCZ said:
Haven't updated to v8 yet (I'm on v7). That might be the problem then.
Click to expand...
Click to collapse
You were right. It works fine on v7. V8 is the problem.
@RedSkulxHYDRA figured you should probably know this
might this work on Android 12??
How can I get a listing of what it debloats so as to do it manually perhaps using Titanium Backup?