Related
Requires Xposed Framework!
This module adds an API to the Google Search app, commonly referred to as Google Now.
This allows developers to make plugins that react to searches done in Google Search.
As of right now, the developers cannot interact with the cards UI, not sure how feasible that is, if it is, it'll be in future versions.
(I showed this on reddit some days ago: http://www.reddit.com/r/Android/comments/1rmvxs/heres_a_preview_of_my_google_search_now_api/)
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Demos:
Lyrics fetching: https://www.youtube.com/watch?v=OsNCHo5JZuA
Song recognition outside US with Shazam: https://www.youtube.com/watch?v=ThbW5glU7zM
AutoVoice: http://www.youtube.com/watch?v=usjqq5hwlSE
Compatibility:
Any 4.1+ device that can run Xposed Framework. ICS not supported at the moment, not sure how recent the Google Search port is.
Download:
Please note that this is a 1.0 release, it may or may not have bugs.
http://repo.xposed.info/module/com.mohammadag.googlesearchapi
Source:
This is open source, you're free to contribute to the source, but you're in now way allowed to release this anywhere else.
https://github.com/MohammadAG/Google-Search-API
Plugins:
This doesn't do anything without plugins, which needs developer support. More on that below. Here are some fully working examples:
Music Controls: Control music playback. Supported commands: "play/pause/resume music", "play songs by <artist>", "play song <title>", "next/previous track/song", "volume up/down/max", "what song is this" opens in Shazam, requires Shazam, no idea what happens without it.
Voice Toggles: Turn on/off Wi-Fi, Mobile Data, or Bluetooth.
AZLyrics Viewer: Shows lyrics for songs from AZLyrics.com. Supported commands: "show lyrics for <song> by <artist>", exact syntax required here, artist is not optional.
Autovoice, by @joaomgcd, run Tasker commands from Google Search.
Plugin sources:
Music Controls: https://github.com/MohammadAG/GNAPI-MusicControls
Voice Toggles: https://github.com/MohammadAG/GNAPI-VoiceToggles
AZLyrics Viewer: https://github.com/MohammadAG/Android-AZLyricsViewer
Developers:
Implementing plugins is as easy as copying one file to your source, and implementing a BroadcastReceiver that listens for the search queries (sent as text). If you're implementing a UI, implement TextToSpeech for voice feedback, if not, use GoogleNowApi.speak for voice replies.
All this is demonstrated in the examples above.
You'll also need to add a permission to AndroidManifest.xml: "com.mohammadag.googlesearchapi.permission.ACCESS_GGOGLE_SEARCH_API"
Remember that any package needs one activity to be started to work, see the music controls example for a way around that.
Of course, you're free to make your plugins free/paid/whatever.
What are the two checkboxes for?
If you're using GEL, you basically need to have the first checkbox checked. This is because GEL uses an overlay for the first part of the search, then opens the usual search app without the transitions. This means that if a developer already started an activity, it'll be sent to the background cause search was started after it.
Second checkbox prevents duplicate searches, this can be useful (you'll see how), and not so useful (when you do two volume ups/downs). Experiment as needed.
Support development
This took quite a lot of research, Google Search's code is huge, if you found this useful, please consider a donation.
Downloading and trying on note 3 asap
Sent from my SM-N900T
Any way this could be made to support Tasker out of the box? Basically if it sent a broadcast intent without the need for a permission and such.
Cptnodegard said:
Any way this could be made to support Tasker out of the box? Basically if it sent a broadcast intent without the need for a permission and such.
Click to expand...
Click to collapse
It needs a permission right now, but I plan to make a Tasker plugin.
Hi MohammadAG.
What do you think about unlock Remote API? I tried to do this, but I have very limited time.
The problem is reconstruction of the API. Reverse engineering, reverse, reverse
Code:
<service android:name="com.google.android.sidekick.main.remoteservice.GoogleNowRemoteService" android:permission="com.google.android.apps.now.REMOTE_ACCESS" android:process=":search">
<intent-filter>
<action android:name="com.google.android.sidekick.shared.remoteapi.IGoogleNowRemoteService" />
</intent-filter>
</service>
In latest version require signature (after upload my module Google change it)
Code:
<permission android:label="@string/permission_remote_access_label" android:name="com.google.android.apps.now.REMOTE_ACCESS" android:protectionLevel="signature" android:description="@string/permission_remote_access_desc" />
but in android:versionCode="300207090" android:versionName="2.7.9.789824.arm" only hook function:
Code:
<permission android:label="@string/permission_remote_access_label" android:name="com.google.android.apps.now.REMOTE_ACCESS" android:protectionLevel=">>>normal<<<<" android:description="@string/permission_remote_access_desc" />
Code:
checkForValidSignature(int paramAnonymousInt)
API function is very interesting: ht tp:/ /wk le j.to/g38qK
To prevent spam on the XDA forums, ALL new users prevented from posting outside links in their messages. After approximately 10 posts, you will be able to post outside links. Thank you for understanding!
Click to expand...
Click to collapse
It requires changing the settings in teamdog "section", which makes my module. Latest version of the module in the repo does not support latest Google Search. I did fix, but not yet released. Do want it it?
Dzakus said:
Hi MohammadAG.
What do you think about unlock Remote API? I tried to do this, but I have very limited time.
The problem is reconstruction of the API. Reverse engineering, reverse, reverse
<snip>
API function is very interesting: http://wklej.to/g38qK
It requires changing the settings in teamdog "section", which makes my module. Latest version of the module in the repo does not support latest Google Search. I did fix, but not yet released. Do want it it?
Click to expand...
Click to collapse
That's actually interesting... I didn't notice that part, mainly cause I thought sidekick was the name of some Motorola device.
The fun part is CardResponse implements Parceable, so this could probably be used to do card UI responses.
PM me your module, I'll have a look at this.
The signature shouldn't be a problem, PackageManager can be hooked I guess.
2242683
MohammadAG said:
That's actually interesting... I didn't notice that part, mainly cause I thought sidekick was the name of some Motorola device.
The fun part is CardResponse implements Parceable, so this could probably be used to do card UI responses.
PM me your module, I'll have a look at this.
The signature shouldn't be a problem, PackageManager can be hooked I guess.
Click to expand...
Click to collapse
@MohammadAG, dumped from device, so signed debug key APK: http:/ /w w w12.zipp yshare. com/ v/6439333/file.html
I can not find the source code, but I still look for it tomorrow.
byte[] is for protobuf data :-/
MohammadAG said:
It needs a permission right now, but I plan to make a Tasker plugin.
Click to expand...
Click to collapse
I'm totally implementing this in AutoVoice tomorrow so no need for you to go through the trouble if you don't want to. haven't tried it but looks great!
joaomgcd said:
I'm totally implementing this in AutoVoice tomorrow so no need for you to go through the trouble if you don't want to. haven't tried it but looks great!
Click to expand...
Click to collapse
Awesome, you'd be the first dev to implement this!
If you have any comments on the API, do tell, it's the first time I've written an almost solid API.
(I image a library that can be imported would be better than copying the .java file, if that's a comment)
MohammadAG said:
Awesome, you'd be the first dev to implement this!
If you have any comments on the API, do tell, it's the first time I've written an almost solid API.
(I image a library that can be imported would be better than copying the .java file, if that's a comment)
Click to expand...
Click to collapse
Ok, here it is!
(oops, can't post a link to the youtube video... Look up my channel on youtube: joaomgcd. If you would be so kind as to post the link to the video it would be cool)
AutoVoice integration couldn't be simpler! Thank you very much for creating this!
About the API, it's fine as it is! I personally much prefer a java file like that specially since it's such a simple one. I wouldn't want to import a jar just to get access to a constant.
Of course the API could grow, but I actually like having the java file like that.
Congrats on the great API, I hope you don't mind that I linked to it in the YouTube video and in the description.
joaomgcd said:
Ok, here it is!
(oops, can't post a link to the youtube video... Look up my channel on youtube: joaomgcd. If you would be so kind as to post the link to the video it would be cool)
AutoVoice integration couldn't be simpler! Thank you very much for creating this!
About the API, it's fine as it is! I personally much prefer a java file like that specially since it's such a simple one. I wouldn't want to import a jar just to get access to a constant.
Of course the API could grow, but I actually like having the java file like that.
Congrats on the great API, I hope you don't mind that I linked to it in the YouTube video and in the description.
Click to expand...
Click to collapse
Added to first post with a link to the video, thanks!
Glad you found the API useful as is, I'll keep it as a java file till I implement card responses, then you'd probably need to use a library to create cards
joaomgcd said:
Ok, here it is!
(oops, can't post a link to the youtube video... Look up my channel on youtube: joaomgcd. If you would be so kind as to post the link to the video it would be cool)
AutoVoice integration couldn't be simpler! Thank you very much for creating this!
About the API, it's fine as it is! I personally much prefer a java file like that specially since it's such a simple one. I wouldn't want to import a jar just to get access to a constant.
Of course the API could grow, but I actually like having the java file like that.
Congrats on the great API, I hope you don't mind that I linked to it in the YouTube video and in the description.
Click to expand...
Click to collapse
Sweet! How can we do this if we don't have your rom?
And have you looked at Utter! At all? Either of you....
Anyway to integrate this?
Sent from my GT-I9505G using Tapatalk
Are supported apps supposed to show in the plugin list in the Search API app? Can't get Autovoice to work despite it being the correct version with integration enabled, the xposed plugin is also up and running. The plugin list doesnt show Autovoice however.
Cptnodegard said:
Are supported apps supposed to show in the plugin list in the Search API app? Can't get Autovoice to work despite it being the correct version with integration enabled, the xposed plugin is also up and running. The plugin list doesnt show Autovoice however.
Click to expand...
Click to collapse
it shows for me in the plugins section of google search api. what version of autovoice you have? did you reboot?
spyros.giotakis said:
it shows for me in the plugins section of google search api. what version of autovoice you have? did you reboot?
Click to expand...
Click to collapse
Yes I rebooted.
I backed up and reinstalled AutoVoice using TB, then Google Search API crashed, and then it showed up and now works
Cptnodegard said:
Yes I rebooted.
I backed up and reinstalled AutoVoice using TB, then Google Search API crashed, and then it showed up and now works
Click to expand...
Click to collapse
Lol, its great now that I dont have to use the autovoice widget anymore on my nexus 5!
Sc4ryB3ar said:
Sweet! How can we do this if we don't have your rom?
And have you looked at Utter! At all? Either of you....
Anyway to integrate this?
Sent from my GT-I9505G using Tapatalk
Click to expand...
Click to collapse
This is not ROM dependent. Simply install AutoVoice and Tasker and you're good to go.
Stupid question: is it limited to English or should it work for other languages?
MohammadAG said:
Added to first post with a link to the video, thanks!
Glad you found the API useful as is, I'll keep it as a java file till I implement card responses, then you'd probably need to use a library to create cards
Click to expand...
Click to collapse
Thanks again!
By the way, can you differentiate between text and voice searches? That would be a useful extra to have in the intent from the broadcast.
neFAST said:
Stupid question: is it limited to English or should it work for other languages?
Click to expand...
Click to collapse
Whatever Google Search recognizes is good. Yes, you can use this to implement voice commands in other languages.
joaomgcd said:
Thanks again!
By the way, can you differentiate between text and voice searches? That would be a useful extra to have in the intent from the broadcast.
Click to expand...
Click to collapse
It's already there. Boolean extra, the key is in the Java file, look at AZLyricsViewer for an example.
UPDATE:
Hi everyone,
I want to share some news. I received an email from Google yesterday letting me know that Amplify has been suspended from the Play Store because it changes the way that other apps work, which is against their policy. Google is enforcing this policy much more recently than they had in the past. Numerous other apps have also been taken down: CyanogenMod's installer, LuckyPatcher, Magisk Manager, Viper4Android, etc. I respect Google's policy on this and understand that the Play Store is evolving and needs to be "safe for Grandma" rather than a tool for Power Users like ourselves.
After some consideration, I think that Amplify should remain available. Google's implementation of Doze, Coalesced WakeLocks, and user pressure to deliver apps that don't overuse the battery have made Amplify less critical than it was in the past. Still, there are users on older phones and power users who want to have granular control over their wakelocks and Amplify fills a valuable niche for those people. I'm still considering how to make sure that Amplify remains available for people who need it. I need to find a couple of hours this week to recompile so that it will work without the Google Play Services and decide where to host it. Amplify has always been, and will always remain, an open source project. You're always welcome to download the source yourself from GitHub.
This Amplify thread has over 8,200 posts and over 2 million views. It's the 5th most viewed thread of all-time in the Xposed Modules forum. The app had almost 1 million downloads and a Play Store rating of 4.13 stars. I originally built Amplify for myself because I was frustrated with two particular wakelocks that were misbehaving. I never dreamed it would grow the way it did. I appreciate all of your support throughout the years.
Here's to better battery life!
Ryan
--- Original Post Follows ---
Amplify puts you in control of how your device uses your battery by controlling how often your device can wake up, and how long it can stay awake. Use the recommended settings for easy battery savings, or dig in and customize every alarm, service, and wakelock on your device.
Here are some highlights:
A beautiful design, inspired by Material Design principles. Your choice of Light or Dark.
A stable blocking engine
Comprehensive measuring of the time wasted and time saved because of alarms and wakelocks
Support for Nougat and SELinux.
A growing list of descriptions of the alarms, services, and wakelocks in plain English (and other languages!)
A Pro package that lets you control any alarm, service, or wakelock on the device
Translated by the community into Chinese, Czech, Finnish, French, German, Greek, Italian, Japanese, Malay, Portuguese, Polish, Romanian, Russian, Spanish, and more
Tasker integration
An open source codebase so you can see how it works, or build it yourself
4.0.1 is the latest version, available in the Google Play Store.
You can learn more at Amplify for Android.
The In-App purchases allow you to unlock the Pro package that lets you customize the alarms, services, and wakelocks on your device. Without the pro package, you can control the worst battery hogs: NlpWakelock, NlpCollectorWakeLock, ALARM_WAKEUP_LOCATOR, and ALARM_WAKE_ACTIVITY_DETECTION.
May you have a long [battery] life!
Ryan
Watch this excellent review by Chris Nacca for an introduction, and to answer most of your questions
FAQ for problemsI donated but Amplify doesn't recognize my donation
This is frustrating. The reason is because of the way that the Play Store handles In-App-Billing when apps are installed from different places (like sideloading, Xposed repo, and sometimes from the Play Store app). The fix is usually simple:
1) Uninstall Amplify from your device
2) Go to the Play Store on your computer and install Amplify from the Play Store web interface.
For some reason this tends to link the accounts more reliably than installing from the Play Store on the device.
It won't let me donate, or I see an error message when trying to donate
There are a few reasons this happens. It's always because Google reports that In App Billing isn't available for your device. Here are the causes I've seen:
You installed Amplify from the Xposed installer instead of from the Play Store, which causes problems due to a bug in Google Play
You have the Play Store or Google Play Services Greenified
You have blocked some part of the Play Store from running with Service Blocker, or another XPosed module
You purchased Amplify with a different Google account than the one you're using now
You have Lucky Patcher installed
You're from a country where In-App Billing is not available (not common)
You need to update your Google Play Store or Google Play Services (not common)
I just did an update to Amplify in the Play Store and it takes a couple of hours for Google to update their servers with the new version (not common)
I had Lucky Patcher installed. I uninstalled it but Amplify still doesn't work
Lucky Patcher makes permanent changes to your system. Simply uninstalling it doesn't work. Here's something to try, courtesy of @mikeezy187:
- Uninstall lucky patcher
- Go into settings
- Go to apps
- Go to Google Play Store
- Clear Cache and app data
- Uninstall Google Play Store updates and it will ask you if you want to restore Google Play Store to its stock settings
- Click Yes
- Reboot
Amplify gets stuck on the screen checking for Xposed, or says Xposed isn't installed
If you're positive that Xposed is running properly, and that Amplify is checked in the Modules list, and you've done a soft reboot:
When it gets stuck, swipe from the left side of the screen, choose Settings, then push the back button to bypass these checks.
Additional details
I have a bug or feature request.
Cool. Thanks for helping out! Please go file the issue here, on GitHub. You can also upvote bugs and feature requests there.
I'd like to help with translations.
That would be AWESOME. Please check here to get started.
Why is Play Services such a battery killer:
1) If Google Location Services are turned on, it sets an alarm to wakeup every 60 seconds, check the network location, and broadcast ALARM_WAKEUP_LOCATOR.
2) Everytime ALARM_WAKEUP_LOCATOR fires, Google Search receives the broadcast and grabs an NlpWakeLock and NlpCollectorWakeLock.
3) Those wakelocks hold the keep the device on for 5-15 seconds. This means that the device is actually awake for about 15 seconds per minute, or 25% of the time!
What are the consequences of reducing alarm and wakelock frequency?
It depends on the alarm. The defaults are well tested and don't have negative impacts. They just save battery life. If you start blocking unknown alarms and wakelocks, it may stop things from working. You can always disable the module at boot to fix things. The latest knowledge base was created by @1ceb0x and is being maintained by the community. I regularly include their findings in Amplify. You can find the knowledge base here: https://docs.google.com/spreadsheet...0gYFBe1K8_R3NBloP4Q1FgpIU/edit#gid=2072742181
I blocked something and now my device won't boot!
To disable Xposed during boot, you have to repeatedly tap one of the hardware buttons (Power, Volume, or Home) on your device during startup. During boot, your device will vibrate twice when it detects the first key press. You'll then have five seconds to press that same button four more times, with each keystroke producing a short single vibration. After ending with a long vibration, your device will disable and prevent most of Xposed's actions, allowing you to go back to Amplify settings and fix what you broke.
What do the numbers mean, and how do I use this thing?
Check out this awesome intro video by Shiwak that explains the basics of how Amplify works.
I still get a ton of Wakelocks showing up in BetterBatteryStats
Short version: Those aren't really wakelocks. You can ignore them. Please go check in WakeLock Detector, and you'll see that they don't show up there.
Long version: Admittedly, I don't know *exactly* why they're showing up in BBS, but not in Wakelock Detector. I did a ton of testing today and can confirm that my device showed 988 NlpWakeLocks in BBS, but only 20 in WLD. During that time, I also had logcat running and a custom hook in the Android stats code. Logcat didn't show any of those phantom wakelocks, the Android stats code doesn't record them, Amplify doesn't see them, and WLD doesn't see them. BBS is [awesomely] open source, so I went digging a bit. I don't see anything obviously wrong in the code, but for some reason it's getting the counts wrong. Here's the interesting piece: It's getting the TIME SPENT in the wakelocks correct. That's why you see something absurd like 2000 wakelocks and only 6 seconds of lock time. If it were really that many wakelocks, your lock time would be much, much higher.
Where's the source code?
It's here: https://github.com/rsteckler/unbounce-android
A couple of things:
1) Don't judge. I need to do some cleanup, but wanted to post the repo early so people can take a look at what it does.
2) Pull requests are welcome.
I didn't read the FAQ
The band will not perform unless there is a bowl of M&Ms backstage, with all of the brown ones removed.
Where's the change log?
It's here: https://github.com/rsteckler/unbounce-android/commits/master
What are the best settings?
There is no "best" for everyone because every device is different. Check out this helpful thread from @Celestial Fury for a guide that walks you through an awesome baseline, and gives you advice on how to tune further.
What's an alarm vs. a wakelock, and how are they related with regards to Nlp (Network Location Provider)?
An alarm wakes your device from deep sleep, scheduled using the RTC (Real Time Clock). For example, Google Play Services schedules an alarm every 60 seconds to wake up the device with the ALARM_WAKEUP_LOCATOR alarm. That's why I didn't try to stop the wakelocks at first, but instead tried to stop the alarms. I don't even want the device to wakeup in the first place!
Once the alarm fires, the Nlp service wants to get your location and send it back to google. This requires keeping the device awake for a few (5-15) seconds. To keep the device awake, Google Play Services grabs the NlpWakeLock. This is the second point we can modify the system, but it only puts the device back to sleep once it's already awake.
A couple of other things: This is why I recommend starting with just the alarms. It's less intrusive, and stops the device from waking up at all. Most people will probably be fine with the settings 240, 240, 0, 0. There are other things that can cause an NlpWakeLock, though, including third party apps. If the alarms don't work by themselves for you, you can also slow down the frequency of the wakelocks directly in the settings.
Are there any ads in Amplify?
Nope. Never have been, and never will be.
What information do you collect about me?
When you launch the UI, I use Google Analytics to collect some information about your device. Specifically, the version of Amplify that you're using, the type of device you have, what country you're in, the version of Android you're using, etc. I use this information to make the app better. For example, it tells me how many people have the app installed in each country. This helps me know which language translations will be the most helpful. It also helps me know which versions of the app people will be upgrading from so I can make those transitions smooth. In my Google Analytics account, I have the options to share your data with Google and Third parties turned off. You can also read Google's Privacy Policy if you want to know how they use the data.
Do you sell my data?
Nope. Never.
The data collected for Google Analytics is only used to make the app better. I don't do anything else with it and no third parties get access to it.
How do I know that the code on GitHub is actually the code you push to the Play Store?
I don't think there's a way to verify that. You just have to trust me. If that makes you nervous, I encourage you to build the GitHub code yourself.
Can I get Pro features by donating via PayPal, Bitcoins, or something else?
Sadly, no. The Google Play Store Terms of Service require that I use the Google Play Store IAP system to collect donations. I also don't plan on distributing non-Google IAP versions outside of the Play Store because of the effort involved. I'd rather spend my time making Amplify better, instead of maintaining two copies of the code and writing a new donation system. Sorry if you're one of the people affected by that.
Thanks, and let me know if it works for you!
Ryan
What are the consequences of reducing its frequency? Are there any negatives?
alex91s said:
What are the consequences of reducing its frequency? Are there any negatives? if not, why don't reducing it more?
Click to expand...
Click to collapse
I don't know all of the consequences, but it should be pretty safe because you're able to completely disable Google Location Services without major disruption.
For myself, I think 4 minutes is a good balance between the apps that depend on Network Location and battery life. Once I verify with you guys that it works and doesn't cause problems on different setups, I'll make the timing adjustable so you can decide for yourself what you want the threshold to be.
Thanks,
Ryan
After two days using this, my battery use has gone from about 5% per hour to about 2% per hour when the phone is idle.
The ALARM_WAKEUP_LOCATOR in BBS has gone from 1.1/minute to 15/hour.
The next biggest wakeup is now ALARM_WAKEUP_ACTIVITY_DETECTION, so I'm going to tackle that one next.
I'm on an HTC One M8, and would appreciate if someone can confirm on a different device, as well.
Thanks,
Ryan
Not sure If it's working here (Moto X 4.4.4). Take a look:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
alex91s said:
Not sure If it's working here (Moto X 4.4.4). Take a look:
Click to expand...
Click to collapse
It's hard to tell with WLD because it doesn't show the source of the alarms that wakeup the device.
You should notice a decrease in NlpWakeCollectorWakelock, but you'd have to run it for some time before and after to see the difference in the count.
BBS shows the alarms that actually wake up the device, and the frequency. WLD just shows the wakelocks, and the count. The problem is that you'd need to run it for the same amount of time to calculate the frequency.
In any case, I'd love even your subjective opinion on your battery life today vs. yesterday.
Thanks,
Ryan
Any chance you could put a setting in that would allow us to set the time by ourself?
Corndude said:
Any chance you could put a setting in that would allow us to set the time by ourself?
Click to expand...
Click to collapse
He says it's planned in the OP, which you should've read.
Giving a try right now since I hate how much NIp keeps my phone awake.
Gonna give it a shot too. For reference, this is how my NLP wakelocks looked like on my previous charge. I have Location History on since I use Cerberus, so I suppose I should notice any improvements.
Sent from my LG-D802 using XDA Free mobile app
metalboy94 said:
Gonna give it a shot too. For reference, this is how my NLP wakelocks looked like on my previous charge. I have Location History on since I use Cerberus, so I suppose I should notice any improvements.
Sent from my LG-D802 using XDA Free mobile app
Click to expand...
Click to collapse
Your stats are REALLY good, as is. Nice!
Hi, sorry for the stupid question, but if I'm already using Wakelock Terminator to control the Nlp-wakelocks, would it be redundant to use your module as well, or would there still be a benefit?
shockwaverider said:
Hi, sorry for the stupid question, but if I'm already using Wakelock Terminator to control the Nlp-wakelocks, would it be redundant to use your module as well, or would there still be a benefit?
Click to expand...
Click to collapse
Using both is redundant. The difference is that this doesn't disable Google Search from getting the wakelocks. It just tempers the alarm that causes them so they don't destroy your battery.
I've got a VZ Note 3, rooted stock ROM. I travel a lot, so I leave location on basically 24/7. It would be nice to get better battery life without turning every thing off like a lot of these "battery gurus" like to suggest. What's the point of having a smartphone if you turn off every function that makes it smart? LOL
I'll certainly give this a try and report back ?
Sent from my SM-N900V using Tapatalk
BlastTyrantKM said:
What's the point of having a smartphone if you turn off every function that makes it smart? LOL
Sent from my SM-N900V using Tapatalk
Click to expand...
Click to collapse
My feelings exactly! I installed this module about 8 hours ago. It works... without a doubt.
Sent from my LG-D801
Please tame these 2 wlan wakelocks!
wlan_rx_wake
wlan_wd_wake
After about an hour of use, wakelocks have clearly happened, but have not kept the phone awake for 25 minutes like they used to. The phone is also no longer warm to the touch while it tries to sleep. Waiting for moar updates for this wonderful piece of software.
whittikins said:
Please tame these 2 wlan wakelocks!
wlan_rx_wake
wlan_wd_wake
Click to expand...
Click to collapse
I'm fairly sure kernel wakelocks are out of his power, mate. Fixing those things are up to the manufacturer of the phone.
whittikins said:
Please tame these 2 wlan wakelocks!
wlan_rx_wake
wlan_wd_wake
View attachment 2907298View attachment 2907299View attachment 2907300
Click to expand...
Click to collapse
Do you have Always Scanning turned OFF under c WiFi Advanced??? If not.. Try that.
- Tapatalked from the G3
cryptyk said:
It's hard to tell with WLD because it doesn't show the source of the alarms that wakeup the device.
You should notice a decrease in NlpWakeCollectorWakelock, but you'd have to run it for some time before and after to see the difference in the count.
BBS shows the alarms that actually wake up the device, and the frequency. WLD just shows the wakelocks, and the count. The problem is that you'd need to run it for the same amount of time to calculate the frequency.
In any case, I'd love even your subjective opinion on your battery life today vs. yesterday.
Thanks,
Ryan
Click to expand...
Click to collapse
In my subjective opinion, the battery got better .
This is a simple module that adds the framework of FrankerFaceZ to the Twitch.TV mobile Android app. This module is available to Android 4.4.2 users and up.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Install the App
Enabled it
Reboot
???
See FrankerFaceZ emotes
Profit
Package Name: com.stdsbot.ffz
Module Name: FrankerFaceZ
Version Name: 1.1.2
Version Code: 4
The app can be found on the Xposed Module Repo (Can't post the link until i have 10 posts :/)
Questions? Comments? Concerns? Bugs?
Post them here and I will see what I can do.
Known Bugs
None
FAQ
You say you update an Emote or <insert X resource here>, but I don't see the change....
The way twitch caches images, you will need to clear the app cache through your settings.
*Please note, this is my first Xposed module, and as such, I expect things to go wrong sometimes.*
Change Log
1.0.0 - Initial Release
1.1.0 - Bug Fixes
Logging is a bit crazy... Sorry for log spam with chat messages. It is removed in the next release.
FrankerFaceZ donor badges not showing up for donors
XposedInstaller crashing on install due to lack of VersionName and VersionCode
Emotes not loading unless you click from the "Following" directory.
1.1.1 - Bug Fixes
Emotes not loading due to CSS change.
Changed FFZ Donor Badge look to match Web Look
1.1.2 - Bug Fixes
Fixed an issue where the regex was 1 character shorter causing a visual bug.
Oh, wow. Thanks for doing this! And thanks for putting up with our CSS, lol. Unfortunately I can't test this right now as all my android devices are on lollipop. BibleThump
We'll be getting an API that returns JSON soon(ish). Soon being when I finally finish the website. Also coming, high DPI emote support. If you need anything, just let me know! I don't know much about Java and nothing about android development, but I can help with server stuff at least.
@Stds_catchemall do you mean emoticons? Will this mod work with note 3 n9005?
HTML:
thahim said:
@Stds_catchemall do you mean emoticons? Will this mod work with note 3 n9005?
Click to expand...
Click to collapse
The mod should on any device that is 4.4.2. emulators were not working for me when I wrote this ,but that has been fixed.
As I am New to the android scene, I am not sure of the upward comparability of apis (ie. 4.4.2 to 5.0). My app does not modify system settings so worst thing you can do is install it, and if twitch crashes ,uninstall it to regain functionality.
Stds_catchemall said:
HTML:
The mod should on any device that is 4.4.2. emulators were not working for me when I wrote this ,but that has been fixed.
As I am New to the android scene, I am not sure of the upward comparability of apis (ie. 4.4.2 to 5.0). My app does not modify system settings so worst thing you can do is install it, and if twitch crashes ,uninstall it to regain functionality.
Click to expand...
Click to collapse
What does this mod do?
thahim said:
What does this mod do?
Click to expand...
Click to collapse
And i do mean emotes, but i mean other things as well. I am currently working on adding in an Emote button for users who do not know or are unable to remember emote names.
My post says exactly what it does. It adds the FrankerFaceZ Framework to Twitch Mobile. If you don't know what FrankerFaceZ is, Google it as i cannot link yet.
Did u add a version number to it? When I downloaded it before it kept crashing xposed because it didn't have version
freecore.mc said:
Did u add a version number to it? When I downloaded it before it kept crashing xposed because it didn't have version
Click to expand...
Click to collapse
It's currently Version 1 (Physical Version), 1.0.0 (Human Readable version)
I have people who have already downloaded and are using it so that sounds like an issue with your device and Xposed, not my app.
Update:
I am new to the Android Scene and was unaware i had to put a version name and code in the Android Manifest. That has been corrected and updated later today.
Is it possible to mod Twitch to play the audio despite having the screen off?
Cares said:
Is it possible to mod Twitch to play the audio despite having the screen off?
Click to expand...
Click to collapse
Possibly. I can look into something like that, however this would be in another app, as this app is meant to be for FrankerFaceZ. I may end up making it one whole project in the future however.
Stds_catchemall said:
This is a simple module that adds the framework of FrankerFaceZ to the Twitch.TV mobile Android app. This module is available to Android 4.4.2 users and up.
View attachment 3112568
Install the App
Enabled it
Reboot
???
See FrankerFaceZ emotes
Profit
Package Name: com.stdsbot.ffz
Module Name: FrankerFaceZ
Version Name: 1.1.0
Version Code: 2
The app can be found on the Xposed Module Repo (Can't post the link until i have 10 posts :/)
Questions? Comments? Concerns? Bugs?
Post them here and I will see what I can do.
Known Bugs
None
FAQ
You say you update an Emote or <insert X resource here>, but I don't see the change....
The way twitch caches images, you will need to clear the app cache through your settings.
*Please note, this is my first Xposed module, and as such, I expect things to go wrong sometimes.*
Change Log
1.0.0 - Initial Release
1.1.0 - Bug Fixes
Logging is a bit crazy... Sorry for log spam with chat messages. It is removed in the next release.
FrankerFaceZ donor badges not showing up for donors
XposedInstaller crashing on install due to lack of VersionName and VersionCode
Emotes not loading unless you click from the "Following" directory.
1.1.1 - Bug Fixes
Emotes not loading due to CSS change.
Changed FFZ Donor Badge look to match Web Look
Click to expand...
Click to collapse
where is the download link?
thatonemusicalgamer said:
where is the download link?
Click to expand...
Click to collapse
First of all, let me start off by saying don't EVER quote the OP. If you have a question just post it, and I will get to it as soon as I can. No need for context.
Second, if you read the post i said,
Stds_catchemall said:
The app can be found on the Xposed Module Repo (Can't post the link until i have 10 posts :/)
Click to expand...
Click to collapse
I do not have 10 posts, therefore I cannot link it. Go to the Xposed Repo, and search for FrankerFaceZ, you will find it.
Hello!
I have a question: by "framework of FrankerFaceZ" you mean that little cowboy hat button that allows you to select an emote from a list, like the one that implements the add-on for web browsers? Because I installed your module and I did not see that... Could you please explain me that part? Thanks!
Hello, I just found this module and wondering if it's still being developed. I was unsuccessful in getting it to work on my Galaxy S III running 4.4.2
jimieo said:
Hello, I just found this module and wondering if it's still being developed. I was unsuccessful in getting it to work on my Galaxy S III running 4.4.2
Click to expand...
Click to collapse
It seems that the module is dead, either way.
I'm not a Java developer but I know that the following the things are true :
1. Twitch's app package name changed from com.twitch.android.viewer to com.twitch.android.app and therefore this module doesn't hook onto the current Twitch app.
2. The class/way the chatbox system is handled has been changed.
I've been trying to see if I could so something with @Stds_catchemall 's work but I've been unable to unfortunately yet, I want to work with source code and not the 'Smali God' method as people used to call it, but I'm unable at the moment to compile any closed app in Android Studio for the matter, while I can compile the apps they do not perform their functions (1.7 source, compiling with Android 4.0.4 SDK, also tried 4.4.2 SDK) and I cannot figure out why yet so I can't experiment, I have added the included Xposed Bridge API and even set as 'provided' but still no ball here so I'll be likely to post a thread sometime.
Either way, when I've played with the 'Smali' method I've only tried to change the package name, albeit it did result in the module being loaded but crashes when chatbox opens.
Even when I find that I will have set up Android Studio in the future, I will have to do a lot of experimentation for a huge amount in the source code is foreign to me.
That's a shame. I was so hopeful when I installed it. It would be really awesome to get FrankerFaceZ to work for android!
Any news on this at all? Anything in progress? Thanks.
Stds_catchemall said:
ping
Click to expand...
Click to collapse
sewer56lol said:
ping
Click to expand...
Click to collapse
usna said:
That's a shame. I was so hopeful when I installed it. It would be really awesome to get FrankerFaceZ to work for android!
Any news on this at all? Anything in progress? Thanks.
Click to expand...
Click to collapse
I have quit development on this as an app has been created which does the purpose of this application. Look up StrimgBagZ on the market
Stds_catchemall said:
I have quit development on this as an app has been created which does the purpose of this application. Look up StrimgBagZ on the market
Click to expand...
Click to collapse
Thanks! Why do they call it something that obscure? Makes it kind of hard to find unless you are already aware of it.
usna said:
Thanks! Why do they call it something that obscure? Makes it kind of hard to find unless you are already aware of it.
Click to expand...
Click to collapse
Seems it was answered ahead of time .
StrimbagZ now exists and implements a unique method of implementing FFZ to mobile.
Let's just say that it encapsulates the regular browser extension and draws a browser window on the bottom half of the screen while keeps the top half for the stream .
Due to the design, the normal PC interface of the extension in fact looks pretty good on mobile in fact the original FFZ dev helped a bit towards this app as he hid options that are redundant if the client is detected (e.g. Stream delay under stream).
I gave the dev a lot of praise and I still do - the way he scales the browser window for chat... Well... I couldn't break it since original release.
(Oh and I was also 2nd to download it on the Play Store ).
As for integrating it back to the Twitch app... Well, the code of the Twitch app - let's say got a bit obfuscated. Being Java the language originally used was beyond my knowledge and our dev here also struggled a bit with regards to how (I want to say obfuscated) the code of the app's chat because following changes back at the time it broke - it probably would have taken either too much trial and improvement (which takes time) to pull off or the source code.
Sent from my ONE A2003 using Tapatalk
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
AllTrans
- Completely Translate Apps
à la Chrome translation of webpages, but for Android apps
Update - Now Supports Android 11! . Also Supports VirtualXposed, so you can use AllTrans without
Root / Magisk / Unlocking Bootloader!!! Also Supports Taichi, so you can use AllTrans without Root / Magisk / Unlocked Bootloader, and much more simpler to use than VirtualXposed!!
What AllTrans does
It replaces all text in an app in a language from one language to another at runtime.
Say for example an app is in German. A user selects the app name, and the required language conversion (say German to English).
Then whenever the user uses the required app, all the text, ANYWHERE in the app, are replaced by their English equivalents.
This is something similar to the way Google Translate works in Chrome.
Note - Due to a technical limitation, this won’t work with many games. Nothing can be done about this.
ScreenShots and Videos
Below are some side-by-side screenshots of AllTrans translating apps from Korean to English
Below are some of the screenshots of AllTrans app
A video (in English) showing how to use AllTrans by Gadget Hacks on Youtube
Features
Translate any app, including system apps.
Completely Free!
Supports Android 11 with LSPosed or Edxposed!
Works on any device without rooting/magisk/unlocking booltloader/flashing - simply use Taichi! or VirtualXposed!
Taichi is much more simpler to use than VirtualXposed!!
Supports 60 languages supported by
Microsoft Azure Translator!
Can translate text displayed using TextView.SetText, Canvas.DrawText and in Webviews.
Installation Instructions
This application requires android version 4.4 or later. You probably already have it. (Android JellyBean or later - so far JellyBean, Kitkat, Lollipop, MarshMallow, Nougat, Oreo, Pie and Q, 11.).
Make sure you have Xposed Framework installed and running. If there is not an official version of Xposed for your Android, LSPosed or EdXposed is recommended. If its a normal device without rooting/magisk/unlocking booltloader/flashing - simply use VirtualXposed! or Taichi!
Get the latest release of the APK from the Play Store. Alternatively you can also search the Xposed Module Repository for this app.
Reboot your phone.
Usage Instructions
This application requires you to sign up for free a key from Microsoft Translate. See instructions below on how to get the keys.
Make sure “AllTrans” app is enabled in “Xposed Installer -> Modules”.
Launch “AllTrans” app.
Choose the “Translate from Language” and “Translate to Language”.
In the “Apps to Translate” tab, find the app you want to translate, click the checkbox next to it.
Close and restart the app you want translated - it should be translated!
How to get FREE Microsoft Azure Translate Subscription Key
Using google to translate works without any keys, but is slower and much lower quality because it does not need internet connection. Using Microsoft results in much better translations.
See instructions here https://akhilkedia.github.io/AllTrans/1.9.5#how-to-get-microsoft-azure-translate-key
Changelog
1.9.5
THIS VERSION TEMPORARILY DOES NOT SUPPORT VIRTUALXPOSED OR TAICHI. Please use previous versions for them.
Fixed translating newer apps built for Android 11! Fixed crashing on Notifications, now Translates Notifications too!
Tested with LSPosed and Android 11.
Misc. BugFixes
1.9.3
Support for Android 11!
1.9.0
Now supports translating Telegram! Use "Aggressive Mode to translate."
1.7.0
NO NEED FOR API Keys!!
Now supports using Google Translate!
1.6.0
THIS APP'S CERTIFICATE HAS CHANGED - YOU WILL HAVE TO UNINSTALL PREVIOUSLY INSTALLED APP TO INSTALL THIS
YOU WILL LOSE YOUR SETTINGS AFTER UPDATING - MAKE SURE TO MAKE A COPY OF YOUR TRANSLATION API KEY!!
I had to change the certificate and settings as I will be releasing the app on Google Play Store.
TONS of new features -
Fully compatible with Android 10
Fully compatible with VirtualXposed and Taichi! (USE XPOSED MODULES WITH ROOT/MAGISK/UNLOCKING!!!!!!!!!)
Fixed apps hanging on startup bug! No need to erase translation cache anymore!
Autodetect language
Better Webview Translation
Dont translate editable fields - Now you can type numbers without the app messing it up!
Automatically Scroll Text if translation is too long
Dark Mode!
Updated instructions for API keys
Many bugfixes
Click to expand...
Click to collapse
Version 1.4.0 - Backported to Android 4.0, bugfixes, better webview translate
Version 1.3.0 - Huge Reduction in memory usage - Will fix several crashes, and make translated apps much more responsive
Also, two versions ago - Translated my app into 56 languages! Use AllTrans in your language of choice!
Version 1.2.0 - Fixed obscure UI crashes for some older devices.
Version 1.1.2 - Added translations for 56 languages! Now use AllTrans in your own language! (Including Klingon for Star
Trek fans out there!).
Version 1.1.1 - Fixed Layout Issues resulting in Checkbox not being visible.
Version 1.1.0 - Added Support for Yandex Translate!!
Version 1.0.1 - Fixed PackageName. Uninstall the previous app before installing this.
Version 1.0.0 - Initial Release
Click to expand...
Click to collapse
Download
The latest release is temporarily not on play store. Download from Xposed Installer or LSPosed app or from Github here.
You can download the app from Play Store at
AllTrans - Translate Other App - Apps on Google Play
An Xposed module which translates *all* text in an app to another language
play.google.com
Alternatively, search the Xposed Installer or on LSPosed app for "AllTrans" and download from there.
Source Code
GitHub - akhilkedia/AllTrans: Completely Translate Android apps in-place aka Google translate in Chrome
Completely Translate Android apps in-place aka Google translate in Chrome - GitHub - akhilkedia/AllTrans: Completely Translate Android apps in-place aka Google translate in Chrome
github.com
TroubleShooting/Known Bugs
TroubleShooting
No app is being translated in any app
If no app is being translated, check is “AllTrans” is enabled in “Xposed Installer -> Modules”.
Also check if your “Microsoft Subscription Key” is correct.
Translated app is stuck in opening screen
If this is the first time you started translating this app, click on the app’s name in “Apps to Translate” tab, and
in “Other Settings” fill in “Delay Before Replcaing With Translated Text” to “2000”.
The Translated app is “Force Close”
Click on the app’s name in “Apps to Translate” tab, and in “Other Settings” fill in “Delay Before Replcaing With
Translated Text” to “2000”.
Click on the app’s name in “Apps to translate” tab, and in “Other Settings” fill in “Delay Before Starting to
Translate WebViews” to “2000”.
A particular app is not being translated
Click on the app’s name in “Apps to translate” tab, and in “Other Settings” fill in “Delay Before Starting to
Translate WebViews” to “2000”.
If some parts of the app are still not being translated, click on the app’s name in “Apps to translate” tab, and
enable “Aggressive Mode”.
A game app is not being translated
Due to technical limitations, “AllTrans” will not work with many games. Nothing can be done about this.
If you still have problems like “Force Close” or parts of an app not being translated
Contact me for support. When you do, I will need atleast the following information -
The name of the app, along with a link to download the app from some APK store like “Google Play Store”,
“CoolApk”, etc.
Your phone’s Android version.
A “logcat” of you trying to open the app which gives you problems. You can use apps freely available on the Play
Store for this, such as This one
Once you have the above, contact me on the
XDA support
thread.
You can also report issues on the Project’s “Github”.
Donations
If you like this project, buy me a cup of coffee!
Click Here to Donate if clicking
the above image does not work for you!
License
This program is AllTrans
Copyright (C) 2017 Akhil Kedia
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program.
*Reserved*
Looks promising! Will test eventually.
I would like to test this as it seems like a great concept an idea, sadly i do not have a credit card. How to workaround this?
danielcr12 said:
I would like to test this as it seems like a great concept an idea, sadly i do not have a credit card. How to workaround this?
Click to expand...
Click to collapse
Unfortunately, right now, nothing can be done directly.
Google Translate is not free, and while Microsoft Translate is indeed free, it requires a credit card to sign up.
Yandex Translate seems to offer translation service without requiring a credit card (only needs a mobile number).
If people seem interested in the app, I can add support for using Yandex Translate as well.
Error
KaMyKaSii said:
Error
Click to expand...
Click to collapse
you can download from xposed repo. sometime xposed installer on android error
KaMyKaSii said:
Error
Click to expand...
Click to collapse
Hi!
Thanks for this. My mistake - I put the wrong package name. I will fix it right now and reupload on xposed.
KaMyKaSii said:
Error
Click to expand...
Click to collapse
Hi I have now updated the apk, kindly download it from here or from xposed installer.
Not saying that I don't trust Microsoft or you or anything, but I don't really like putting my card on this, even though it's free. I may sound kinda crazy for a bit there, but just saying what I think of. I will just probably wait for this module to be "paid" or "subscribe inside the app" and I'll gladly toss some money for you, or from other sources you'll use.
:good:
---------- Post added at 01:01 PM ---------- Previous post was at 12:58 PM ----------
Oh, almost forgot. About the poll, why not BOTH? User-friendly option for those who want it free and paid...
:good:
plzzzz add support for using Yandex Translate
souler456 said:
Not saying that I don't trust Microsoft or you or anything, but I don't really like putting my card on this, even though it's free. I may sound kinda crazy for a bit there, but just saying what I think of. I will just probably wait for this module to be "paid" or "subscribe inside the app" and I'll gladly toss some money for you, or from other sources you'll use.
:good:
---------- Post added at 01:01 PM ---------- Previous post was at 12:58 PM ----------
Oh, almost forgot. About the poll, why not BOTH? User-friendly option for those who want it free and paid...
:good:
Click to expand...
Click to collapse
If this app does become paid someday, you will still to provide PayPal or Google or whatever payment provider I ultimately use your card details
As for why not both -
1. This app started as a weekend hack, and it's an absolute lifesaver since I live in Korea but dont know Korean, or while I travel. I used it for half a year before finally adding a UI so I could release it. . But since I mostly get time to work on this on weekends, I want to minimize my effort - if not many people will pay (and if there are free alternatives, I doubt many would), why bother? :angel:
2. If I do add paid support, I will have to setup my own verification servers, etc. And on rooted devices, it'll be easy for people to get around it, using Lucky Patcher etc.
3. Lastly, Free and Open Source (FOSS) for the win! :victory:
danielcr12 said:
I would like to test this as it seems like a great concept an idea, sadly i do not have a credit card. How to workaround this?
Click to expand...
Click to collapse
I will add support for Yandex Translate, probably over this weekend - no need for credit card for signup then. :highfive:
akhilkedia94 said:
I will add support for Yandex Translate, probably over this weekend - no need for credit card for signup then. :highfive:
Click to expand...
Click to collapse
thank you :highfive:
akhilkedia94 said:
I will add support for Yandex Translate, probably over this weekend - no need for credit card for signup then. :highfive:
Click to expand...
Click to collapse
This will be my lifesaver as well since I need to travel quite often.... Including Korea too
danielcr12 said:
I would like to test this as it seems like a great concept an idea, sadly i do not have a credit card. How to workaround this?
Click to expand...
Click to collapse
souler456 said:
Not saying that I don't trust Microsoft or you or anything, but I don't really like putting my card on this, even though it's free.
Click to expand...
Click to collapse
ali_ge said:
plzzzz add support for using Yandex Translate
Click to expand...
Click to collapse
Support for Yandex Translate is now live!
Update the app from Xposed Installer, or download the updated Apk from here.
A much simpler signup process, and no Credit card needed!
Keep in mind that Microsoft Translae does give better results than Yandex.
akhilkedia94 said:
Support for Yandex Translate is now live!
Update the app from Xposed Installer, or download the updated Apk from here.
A much simpler signup process, and no Credit card needed!
Keep in mind that Microsoft Translae does give better results than Yandex.
Click to expand...
Click to collapse
Appreciate it, but it's not working. I tried to translate many Chinese apps ,even tried to translate english app to chinese and other language ,but still no luck :crying:
akhilkedia94 said:
Support for Yandex Translate is now live!
Update the app from Xposed Installer, or download the updated Apk from here.
A much simpler signup process, and no Credit card needed!
Keep in mind that Microsoft Translae does give better results than Yandex.
Click to expand...
Click to collapse
hi, nice work but i don't understand all. you say in the "Apps to Translate" tab, search for your app to translate and use the check box next for it. but the only checkbox are just in settings for change the option per app. also i get for "OverRide" and "clear cache" but not for activate a translation for this app.
I not says your app have a problem or don't work, many time it's me the problem.
DThrawn said:
hi, nice work but i don't understand all. you say in the "Apps to Translate" tab, search for your app to translate and use the check box next for it. but the only checkbox are just in settings for change the option per app. also i get for "OverRide" and "clear cache" but not for activate a translation for this app.
I not says your app have a problem or don't work, many time it's me the problem.
Click to expand...
Click to collapse
Hi!
In the "Apps to Translate" tab, there is a list of the app. To right, next to each app name, there is a checkbox. Clicking on the checkbox will enable translations for that app.
I have attached some screenshots to help you.
ali_ge said:
Appreciate it, but it's not working. I tried to translate many Chinese apps ,even tried to translate english app to chinese and other language ,but still no luck :crying:
Click to expand...
Click to collapse
Hi!
I just tested everything again and it does work, specifically for english to chinese. (See the attached screenshot for proof.)
Here are some things you can check for -
Make sure your Yandex Subscription Key is correct. It's something like "trnsl.1.1.201701......"
Make sure the "Use Yandex instead of Microsoft" is turned on. Turn it off and on again just to be sure.
Try translating my app itself from English to Chinese to start. Make sure the checkbox next to the app you want to translate in "Apps to Translate" is ticked.
If none of the above works, try uninstalling and reinstalling my app.
If inspite of doing all of the above, nothing is still being translated, please send me links to some of the apps you tried translating and your Subscription key. If possible also send a copy of your logcat. You can use this app to save your logcat to an SD Card - https://play.google.com/store/apps/details?id=com.nolanlawson.logcat&hl=en
Here are the installation/usage steps again. Please ensure you follow each one -
Installation Instructions
Follow instructions for installation of Xposed Framework
Search the Xposed Installer for "AllTrans" and install the latest version. Alternatively, download the attached AllTrans APK and install it.
Run Xposed installer, go to Modules menu and activate AllTrans by checking the checkbox.
Reboot
Launch AllTrans from app drawer or from Xposed installer and set options as desired.
Usage Instructions
This application requires you to sign up for a key from Microsoft or Yandex Translate.
Yandex Translate supports more languages, has a much easier signup process, and requires NO CREDIT CARD.
Microsoft Translate gives much better translations, but requires a credit card to sign up. (But don't worry, nothing will be charged.)
In "Global Settings" tab, enable "Use Yandex instead of Microsoft".
In "Global Settings" tab, tap "Enter Yandex Subscription Key", input the corresponding key.
Choose the "Translate from Language" and "Translate to Language".
In the "Apps to Translate" tab, find the app you want to translate, click the checkbox next to it on the right.
XPrivacyLua
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Really simple to use privacy manager for Android 6.0 Marshmallow and later (successor of XPrivacy).
Revoking Android permissions from apps often let apps crash or malfunction. XPrivacyLua solves this by feeding apps fake data instead of real data.
Features:
Simple to use
Manage any user or system app
Extensible
Multi-user support
Free and open source
See here for all details, including installation instructions and download link.
Please read the frequently asked questions before asking a question.
This XDA thread is about using the latest version of XPrivacyLua. Off topic comments are allowed as long they are related to XPrivacyLua and are in the general interest of the followers of this thread, but anything not related to privacy is not allowed.
If XPrivacyLua doesn't work and/or when "module not running or updated" is shown, this is almost always caused by an Xposed problem.
Discussions about purchases are not allowed here, please contact me via here instead.
XPrivacyLua is being maintained and community supported, but new features won't be added anymore.
Custom hook definitions will always be part of XPrivacyLua, but there will be community support only. This means that I won't respond to questions about defining custom hooks anymore. See this thread for the reasons.
If you value your privacy, please consider to support this project with a donation or by purchasing pro features.
M66B said:
XPrivacyLua is not a permission manager, but a privacy manager. XPrivacyLua doesn't block things and doesn't revoke permissions, but does replace real data by fake data. This means you can grant Android permissions to an app and still let XPrivacyLua prevent the app from seeing privacy sensitive data. Revoking permissions can result in an app refusing to work and/or to crash. However, replacing real by fake data generally doesn't let an app crash.
Currently restrictions are quite crude because they mostly replace real data by no data. For example restricting the contacts app from getting contacts will result in an empty contact list. In the near future it might be made possible to select the data an app may see, for example just one group of contacts.
Click to expand...
Click to collapse
About feature requests and bug reports:
M66B said:
The goal is to have a tool that can properly protect the privacy of many in the near future. However, it isn't paid work, so I do whatever I like whenever I like it.
You can request features in this XDA forum. I will read them, but I will not respond to them and they might or might not be implemented. If I know for sure something will not be implemented, I will let you know.
You can report any problem you have here. There will be no issue tracker on GitHub.
Click to expand...
Click to collapse
M66B said:
For now I have decided to not implement restrictions that are useful to prevent tracking only. There are simply too many data items that can be used for tracking and it would take too much time to develop restrictions for all these data items.
The basic idea is to restrict only things that 'define' you, so which contacts you have, where you are, which apps you use, etc.
Click to expand...
Click to collapse
Namnodorel said:
Maybe we can widen the definition of things that the core of XPL covers to "What defines you, and what can be used to spie on you"? This would include camera/audio, but not tracking.
Click to expand...
Click to collapse
M66B said:
XPrivacyLua is pretty feature complete and will be maintained and supported and when there is a need new hook definitions will be added to better protect your privacy. For the rest this FAQ applies:
https://github.com/M66B/XPrivacyLua/blob/master/FAQ.md#FAQ4
As said before, development will also depend on Xposed development, which is just minimal unfortunately.
Click to expand...
Click to collapse
XDA thanks and donations are appreciated.
XPrivacyLua is supported with Xposed only. There is no support for VirtualXposed and TaiChi.
Even if old Xprivacy isn't supported on nougat, is it possible to keep it with new Lua too until Lua grow up? Or it is not recommended ?
Thank you
Orphee said:
Even if old Xprivacy isn't supported on nougat, is it possible to keep it with new Lua too until Lua grow up? Or it is not recommended ?
Thank you
Click to expand...
Click to collapse
Noooo! First post and it is asking about using Xprivacy on Nougat? That must be demotivating to the dev! It has been told too many times in the xprivacy thread that it is not recommended to use it on Nougat and above all IT IS NOT SUPPORTED!
Sorry for using capitals but let's hope everyone sees it and this thread stays on new Lua topic.
Greetings.
Wow, I was just scrolling through some stuff, stumbled into your repo for XPrivacy/Lua and couldn't believe what I saw! M66B is developing a new app as a replacement for XPrivacy... Thank you so much, you've totally made my day and pobably quite some time into the future as well! I'll definetely also buy/donate for this version as soon as I get to use it.
Just some technical questions:
Looks like you are going more modular with this new app, and you mentioned something about downloading additional (user-made) hooks. You also said you'd keep it much more simple this time to avoid high maintenance etc. Could these external hooks then allow to get the complexity back? I totally understand your motivation, but in-depth restricting of app permissions was something I really liked about the old XPrivacy, and if some user-made hooks would make that possible I'd use them. But they'd also need the ability to add new UI elements, and not just "This hook is about the method XY, execute this code before/after to block it and this code to enable it" for that to be possible.
Orphee said:
Even if old Xprivacy isn't supported on nougat, is it possible to keep it with new Lua too until Lua grow up? Or it is not recommended ?
Click to expand...
Click to collapse
I have just added a FAQ that answers this question:
https://github.com/M66B/XPrivacyLua/blob/master/FAQ.md
m66b said:
i have just added a faq that answers this question:
https://github.com/m66b/xprivacylua/blob/master/faq.md
Click to expand...
Click to collapse
5vp4096549363413x
Namnodorel said:
Wow, I was just scrolling through some stuff, stumbled into your repo for XPrivacy/Lua and couldn't believe what I saw! M66B is developing a new app as a replacement for XPrivacy... Thank you so much, you've totally made my day and pobably quite some time into the future as well! I'll definetely also buy/donate for this version as soon as I get to use it.
Just some technical questions:
Looks like you are going more modular with this new app, and you mentioned something about downloading additional (user-made) hooks. You also said you'd keep it much more simple this time to avoid high maintenance etc. Could these external hooks then allow to get the complexity back? I totally understand your motivation, but in-depth restricting of app permissions was something I really liked about the old XPrivacy, and if some user-made hooks would make that possible I'd use them. But they'd also need the ability to add new UI elements, and not just "This hook is about the method XY, execute this code before/after to block it and this code to enable it" for that to be possible.
Click to expand...
Click to collapse
For now I will concentrate on fixing bugs and building restrictions, which is of course the most important of all. Restrictions are indeed defined and written in Lua. Currently all restrictions are built-in, but later I might add a manager, so you can manage your own definitions. There might even be a repository, which could even contain definition for things not privacy related.
You can find the current definitions here (hooks.json contains the definitions).
Just donated. More to follow along the way. Thank you!!
blackhawk_LA said:
Noooo! First post and it is asking about using Xprivacy on Nougat? That must be demotivating to the dev! It has been told too many times in the xprivacy thread that it is not recommended to use it on Nougat and above all IT IS NOT SUPPORTED!
Sorry for using capitals but let's hope everyone sees it and this thread stays on new Lua topic.
Greetings.
Click to expand...
Click to collapse
"XPrivacyLua is supported on Android 6 Marshmallow and later" you're either lying or it's a misstatement on the repo.
Also can somehow explain to me (I just switched to Android), what Lua is (if not a programming language)?
OgreTactic said:
"XPrivacyLua is supported on Android 6 Marshmallow and later" you're either lying or it's a misstatement on the repo.
Click to expand...
Click to collapse
I don't see why that is a lie or misstatement, so, could you please explain why you think it is?
Edit: I have changed the wording of the opening post a bit, so it is clearer that "Android 6 Marshmallow and later" applies to XPrivacyLua and not to XPrivacy, assuming this is what you meant.
OgreTactic said:
Also can somehow explain to me (I just switched to Android), what Lua is (if not a programming language)?
Click to expand...
Click to collapse
See this comment.
OgreTactic said:
"XPrivacyLua is supported on Android 6 Marshmallow and later" you're either lying or it's a misstatement on the repo.
Also can somehow explain to me (I just switched to Android), what Lua is (if not a programming language)?
Click to expand...
Click to collapse
Some people...
Glad to see Xposed Module development is still alive!
Thx a lot for building and developing this app.
After I've selected some apps I get an error:
XLua.Main:android.os.DeadObjectException:Transaction failed on small parcel; remote process probably died
Things that I would appreciate in future releases:
- More restriction-types like: Network connection, Telephone number/sim-operator, Serialnumber, installed apps/services, accounts
- Is it possible to hide disabled apps from the list?
- Is it possible to decide when an app will request for example the location to allow or deny the request?
th4_c0r3 said:
Thx a lot for building and developing this app.
After I've selected some apps I get an error:
XLua.Main:android.os.DeadObjectException:Transaction failed on small parcel; remote process probably died
Click to expand...
Click to collapse
Can you please capture a logcat? If not, the problem might be visible in the Xposed log as well.
Edit: where exactly do you see this error?
th4_c0r3 said:
Things that I would appreciate in future releases:
- More restriction-types like: Network connection, Telephone number/sim-operator, Serialnumber, installed apps/services, accounts
- Is it possible to hide disabled apps from the list?
- Is it possible to decide when an app will request for example the location to allow or deny the request?
Click to expand...
Click to collapse
Disabled apps are hidden from the list by default.
First: thanks for the release and minimal UI of this app.
Just one request if it is possible. Would it be possible when you start ironing out the features to include a randomisation to some privacy information. Like my main coordinates for GPS are 33N 112W. If the app could randomise the rest so the app knows my general location but not accurately as 1m?
Edit: a good reason for this is for apps like speedtest.net. it grabs GPS to find a close server. When I restrict, closes server is in NY. I don't mind if it knows I live in AZ, heck, XDA knows I live here, but knowing my exact location is bothering.
M66B said:
Can you please capture a logcat? If not, the problem might be visible in the Xposed log as well.
Edit: where exactly do you see this error?
Click to expand...
Click to collapse
The error occurs every second time I open the app and it's shown in the bottom of the app. In the Xposed log there isn't a XLua-Error.
I've sent you the logcat via email.
M66B said:
For now I will concentrate on fixing bugs and building restrictions, which is of course the most important of all. Restrictions are indeed defined and written in Lua. Currently all restrictions are built-in, but later I might add a manager, so you can manage your own definitions. There might even be a repository, which could even contain definition for things not privacy related.
Click to expand...
Click to collapse
Thank you for your answer, but I'm still kinda missing what I wanted to know: Could hooks potentially add custom UI and/or save data? I'd imagine something like saving a list of contacts and when an app requests the contact list selecting this specific list to be returned.
Namnodorel said:
Thank you for your answer, but I'm still kinda missing what I wanted to know: Could hooks potentially add custom UI and/or save data? I'd imagine something like saving a list of contacts and when an app requests the contact list selecting this specific list to be returned.
Click to expand...
Click to collapse
Yes, that would be possible. When there is a need, I will add APIs that can be used in Lua to save data in a structured way into the XPrivacyLua database, so anyone wanting to develop a new hook definition doesn't have to worry about how to do this. In fact this has already been prepared.
M66B said:
I don't see why that is a lie or misstatement, so, could you please explain why you think it is?
Edit: I have changed the wording of the opening post a bit, so it is clearer that "Android 6 Marshmallow and later" applies to XPrivacyLua and not to XPrivacy, assuming this is what you meant.
See this comment.
Click to expand...
Click to collapse
Oh okay, thanks. So I can't use the current XPrivacy (on the PlayStore) on Nougat S8? I hope I can if not, I'll wait for the XPrivacy L.
It's crazy that Android forces privacy breaching (violation is an accurate word use) "services", processes and apps at it's core. If I were to learn to use Android enough is it possible to prevent it, like it's the case on iPhone, well in appareances because when you jailbreak it you can see all the processes, but it's clearly not in completely forcing this violation of your data, be it just with the permission management that NO apps can require or force on you to run, which to me absolutely crazy that it's the case on Android.
OgreTactic said:
Oh okay, thanks. So I can't use the current XPrivacy (on the PlayStore) on Nougat S8? I hope I can if not, I'll wait for the XPrivacy L.
It's crazy that Android forces privacy breaching (violation is an accurate word use) "services", processes and apps at it's core. If I were to learn to use Android enough is it possible to prevent it, like it's the case on iPhone, well in appareances because when you jailbreak it you can see all the processes, but it's clearly not in completely forcing this violation of your data, be it just with the permission management that NO apps can require or force on you to run, which to me absolutely crazy that it's the case on Android.
Click to expand...
Click to collapse
As M66B said in the Xprivacy Thread:
M66B said:
An absolute privacy fix is turning your device off. XPrivacy is an best effort attempt to fix the most important privacy problems, like exposing your location and contacts.
Click to expand...
Click to collapse
What you could do, at least that's what I do, is to disable services (look for DisableService in PlayStore) and/or restrict as much as possible via the privacy settings (depending on ROM). For example I deny Google services the location rights and only switch them on when needed.
Also there are possibilities to run your phone without any Google services at all. Search for MicroG.
But you have to understand, that using an Android device is going to violate privacy in one form or another. Same goes with Windows and Apple devices...
I don't like it at all but that's just what the world has become. If you want to use Google Services you kinda have to accept that you can't (at least not with simple fixes) protect your whole privacy. It sucks, but that's just what it is...