I have quickly put together a system image with an updated SU binary (still asks to update, this is likely due to WP) busybox binaries in xbin, and app_process xposed binary in bin. You still need to manually install busybox and xposed, but the binaries they put in the system directory are already there with appropriate permissions. When I get links up I will have more instructions on how to manually install xposed and busybox.
When time permits I will be removing about 30 unneeded bloat apps.
NOTE:
I am in no way an android developer. Simply because I can follow directions and open up an IMG in Linux does not qualify me to do amazing things like rebuild kernels, exploit root,bl, or wp. I am a java and c# programmer, which to my knowledge is useless at the hardware level. I have just barely started learning the wonderful language of C.
This image is simply my shared custom image. I don't mind reasonable requests, because I'm sure there are some cool apps I could throw in the system or other simple things like that. Please know I have a full time occupation, both at work and with my family and kids.
Confirmed working:
-GravityBox installed-
Modified Quicktiles
Modified Battery Icon to 1% circle mod
-Flying Android-
-LightingWall- (android firewall for all apps with internet access)
Feature Requests - I will try to get to these, but don't be angry if I don't.
Audio Boost
Adaway
Hosts file edits
Viper4Android
mixer_paths.xml
Please Read:
Before flashing, some quick modifications are necessary to get xposed working. When you actually install xposed, it mounts system as RW and puts app_process into the bin folder, overwriting the stock one. It then creates an xposed folder under /data, and puts XposedBridge.jar into this folder. The tricky part was the permissions. I found another post on XDA that explained how to manually install Xposed, and I simply baked in the system part by applying permissions in Linux. The permissions on the /data folder and XposedBridge.jar was easily set in ES File Explorer.
You NEED to do the /data folder and XposedBridge.jar part on your own. I will even be nice and provide my XposedBridge.jar file for you. (The jar and also apps_process are obtained by renaming xposed apk into xposed.zip and extracting them)
INSTRUCTIONS:
Install the xposed apk. Don't try to install the framework within the xposed app, it won't work.
Create a folder under /data called xposed. Using ES File Explorer, set permissions to this folder as
Owner - Read,Write,Execute
Group - Read, Execute
Other - Read, Execute
Then, make sure owner is root, and change group to shell.
Now, paste the XposedBridge.jar file into here. Set the permissions as
Owner - Read, Write
Group - Read, Execute
Other - Read, Execute
Then, make sure owner is root, and change group to shell.
At this point you should be able to open xposed and it will say it is installed. Profit.
When you reboot, it sticks!
DL:
Image--
https://www.androidfilehost.com/?fid=95916177934548527
Xposed Installer Apk-- (I used version 33_36570)
http://repo.xposed.info/module/de.robv.android.xposed.installer
XposedBridge.jar--
https://www.androidfilehost.com/?fid=95916177934548528
Can you post your checksums for the app_process file
No offense, but you have no history here and I know people will download this without even thinking twice. I would highly recommend everyone checks the checksums for this by comparing them to app_process taken from the xposed apk
Sure thing, no offense taken. I downloaded xposed installer, renamed it to zip, and took it straight from there.
Here's the checksum:
839d296f301fb6061fc5cd8e73e39e75
Nice work! I was thinking about posting mine (basically the same setup) but now I don't have to. Thanks!
I'm pretty stoked to have a batt percent icon and better quick settings tiles. Its amazing how much one misses the little things.
Sent from my XT1254 using Tapatalk
Quick question. So if xposed has to be baked into the image, does that mean that the modules do not? Like could i flash this image and then install the Greenify module? Thanks
Could you fix tethering in this as well?
Thanks!
BDA_Rival said:
Quick question. So if xposed has to be baked into the image, does that mean that the modules do not? Like could i flash this image and then install the Greenify module? Thanks
Click to expand...
Click to collapse
I installed Gravitybox no problem, just like normal.
-Michael_ said:
I'm pretty stoked to have a batt percent icon and better quick settings tiles. Its amazing how much one misses the little things.
Sent from my XT1254 using Tapatalk
Click to expand...
Click to collapse
In my excitement to have gravitybox for my quick tiles I TOTALLY forgot about my battery percentage. This is only because I have been using BatteryDoctor which puts a percentage on left side..
Does this also have the audio boost and adaway? I'm looking for an IMG that includes all of them. But apparently no one has done that yet.
JakeDHS07 said:
Does this also have the audio boost and adaway? I'm looking for an IMG that includes all of them. But apparently no one has done that yet.
Click to expand...
Click to collapse
I messaged him, and I was gonna include into his image for myself... a hosts from here: http://forum.xda-developers.com/showthread.php?t=1916098 and I was gonna TRY and bake Viper4Android into it and see if it works. Gonna work on it today, hopefully everything works
He did Root, Busybox and Xposed for me which Xposed was over my head to do.
Is there a link somewhere to download it?
X_man. said:
Is there a link somewhere to download it?
Click to expand...
Click to collapse
Check OP, it's uploading
savagebunny said:
Check OP, it's uploading
Click to expand...
Click to collapse
Oh OK. By bad
savagebunny said:
I messaged him, and I was gonna include into his image for myself... a hosts from here: http://forum.xda-developers.com/showthread.php?t=1916098 and I was gonna TRY and bake Viper4Android into it and see if it works. Gonna work on it today, hopefully everything works
He did Root, Busybox and Xposed for me which Xposed was over my head to do.
Click to expand...
Click to collapse
I'll look at these additions tonight, and also look at the adaway and audio patch. I'm not trying to compete with other people on here, not trying to get into who has the best image lol.
Here's the problem - MediaFire upload finished, but its not showing up in the file list.. May need to upload to a different hosting service. If I have to I'll just make a temporary webserver at home.. I'll get it up here today.
The mixer_paths.xml would be another good one to include, boost them audio levels!
Sent from my XT1254 using Tapatalk
Silverlink34 said:
I'll look at these additions tonight, and also look at the adaway and audio patch. I'm not trying to compete with other people on here, not trying to get into who has the best image lol.
Here's the problem - MediaFire upload finished, but its not showing up in the file list.. May need to upload to a different hosting service. If I have to I'll just make a temporary webserver at home.. I'll get it up here today.
Click to expand...
Click to collapse
try google drive , that should do the trick
I look forward to getting this image!
Harry44 said:
I look forward to getting this image!
Click to expand...
Click to collapse
Me too!
Silverlink34 said:
I'll look at these additions tonight, and also look at the adaway and audio patch. I'm not trying to compete with other people on here, not trying to get into who has the best image lol.
Here's the problem - MediaFire upload finished, but its not showing up in the file list.. May need to upload to a different hosting service. If I have to I'll just make a temporary webserver at home.. I'll get it up here today.
Click to expand...
Click to collapse
I am So happy others are posting there work! Xposted modules on my IMG I have been testing was not working or holding some settings just too buggy So this is great. You can use any of my Patched files from my IMG and I can also send you direct the Patch files for hotspot if you need the stuff. Also Upload your IMG to "android file host" Just setup an account and he will respond and set it up for you nice and fast. If need you any of this stuff just PM me.
Thank you
I am in the same boat as you with kids and work always something going on.
Related
This is NOT made by me
Most of the guyz may have came across this.
Original Thread
http://forum.xda-developers.com/showthread.php?t=1574401
Click to expand...
Click to collapse
Click here to thanks rovo89
Click to expand...
Click to collapse
What is xposed installer?
It is a framework!
It allows you to install little apps by which you can mod your XL.
Read Advantages for more info.
Only you will be responsible if anything happens to your phone!
Advantages:
No need to modify any APKs. This means:
No need to decompile, change things in smali, compile, sign, ...It will work for odexed and deodexed ROMs.Your mod is not bound to a specific version of the ROM. Unless there is a major change in the methods called for a certain functionality, your mod will continue to work even when you upgrade your ROM. Hell, it will probably even work with different ROMs.Multiple mods can be installed at the same time, even if they change the same package. So you can use these battery icons and those quick toggles. Even hooking the same method twice is possible. Of course, this only works properly if the mods are not trying to do incompatible things.
It does its magic at runtime. That means you can implement options to let the user decide if they prefer the bikeshed to be painted in red or blue. Or you can have some extra logic for certain ROMs without building different mod versions.
It can be disabled easily without having to reflash.
It's open source.
Download:
You can download the installer from the attachment or from thread mentioned above
How to install:
First step for everything you do: Create a nandroid backup and make sure you know how to restore it!
There is also the risk to soft-brick your device. In such a case, restoring a backup is the easiest way to get rid of it
Download XposedInstaller.apk and install it
Launch the Xposed Installer and click on "Install/Update"
Reboot
Done!
In case you get into a boot loop:
You can flash the attached Xposed-Disabler-CWM.zip by Tungstwenty. It will be copied to your (external) SD card when you install Xposed as well. The only thing it does is copying /system/bin/app_process.orig back to /system/bin/app_process, which you can also do yourself (e.g. with adb shell in recovery mode).
You could also create a file /data/xposed/disabled, which causes Xposed to be bypassed as well.
Modules:
You can find modules collection here-
http://forum.xda-developers.com/showthread.php?t=2327541
Click to expand...
Click to collapse
Installation process-
Download .apk and install it
Launch the Xposed Installer and go to the "Modules" tab (you will also get there if you click on the notification warning you that the module is not enabled yet)
Enable the module by checking the check-box
Reboot
Done!
Please let me know which Modules are working perfectly on Canvas 2 and I will add in my post
Download Section
1. XposedInstaller_2.1.4_apk
2. Xposed-Disabler_CWM
Please let me know which Modules are working perfectly on Canvas 2 and I will add in my post
ENjOy...!!
Don't forget to hit thanks button for sharing this..!
Working module list
I don't have a110 so please let me which module is working and I will add those here!
Full collection
http://forum.xda-developers.com/showthread.php?t=2327541
Click to expand...
Click to collapse
I was tired of our stock equalizer and yes I know there' s many available on the play store, paid or free.
So I went on my usual hunt and found my favorite equalizer Thanks To Awesome
http://forum.xda-developers.com/showthread.php?t=1728391
You must be rooted ( sorry )
Flash in recovery, its an aroma installer , so use your power button to except and the sound button to move and select (yes Aroma installers work with our recovery)
You will also need busybox installed which can be found in the play store
Also required is terminal, which is required to finish the installation after you reboot your phone
I selected the stock ROM and let it run, it took awhile to fix permission and I couldn't wait as I need some shut eye, so I rebooted. All went well, I would wait for it to complete the fix permissions part ( its really slow so be prepared)
After installation open terminal and type su and hit enter, know type awesome and enter, you should awesome beats being installed except build prop mods, after its finished type reboot and hit enter at thus point your phone will reboot and you will see awesome beats app in your app drawer
NOTE: PLEASE PICK THE STOCK ROM as our ROM is odex, also do a nandroid prior to flashing anything, it went well for me but you never know
Sent On my Rooted Moto X
Is it just a fully adjustable EQ (think stock isn't fully adjustable, just presets right?), or does it include libs and sound optimizations? Wondering if "Pimp my ROM" Sony enhancements work, or the BEATS EQ? Those seemed to work pretty damn good on my 3VO.
Fully adjustable equalizer, its a variation if dsp manager, just delete music fx or freeze it prior to flashing awesome beats, evo 3d mine died finally but I had to stick with the yahoos in the gsm threads. Oh I miss the us against anthrax fights
Sent on my Moto X
Cool beans! My 3D just died 2 days ago, screen was cracked, digitizer was doing what it wanted, basically holding it's last breath.
Mod Edit: Let's not
Will this work if you're using pwnmymoto as the root method? I don't think we can get into recovery...can this be pushed with ABD or the like?
Thanks!
SubliminalME said:
Will this work if you're using pwnmymoto as the root method? I don't think we can get into recovery...can this be pushed with ABD or the like?
Thanks!
Click to expand...
Click to collapse
No it has a aroma installer so you have to flash it through recovery only, the only other way to install it, but its tedious, is to manually put all the required libs, apps etc into there respective folders
Sent on my Moto X
I wrote out a small script that will do this, by no means is the script accurate or well written out but it does seem to be working. I may make an actual install script that can be used on jcase root method for vzw and at&t
I should probably check to make sure it installed it correctly with correct permissions. There is a .sh script that fixes tons of permissions on the device .
amoamare said:
I wrote out a small script that will do this, by no means is the script accurate or well written out but it does seem to be working. I may make an actual install script that can be used on jcase root method for vzw and at&t
I should probably check to make sure it installed it correctly with correct permissions. There is a .sh script that fixes tons of permissions on the device .
Click to expand...
Click to collapse
Cool, you need busy box installed possible? After installation you have to use terminal emulator to activate it, but this could be risky for you guys from what I understand or maybe I'm wrong. Let me know how it works and I could add it to the op
Sent on my Moto x
Using the script don't have to run the terminal command does that all for you. It's running on my phone I can tell the difference. Pretty sure it installed correctly.
Just need to make sure you are in the correct mode before hand. I think I just might finish the script out to have it install and check system write
Sent from my XT1056 using xda app-developers app
amoamare said:
Using the script don't have to run the terminal command does that all for you. It's running on my phone I can tell the difference. Pretty sure it installed correctly.
Just need to make sure you are in the correct mode before hand. I think I just might finish the script out to have it install and check system write
Sent from my XT1056 using xda app-developers app
Click to expand...
Click to collapse
Good, I'll add it to the op if you don't mind, just give me a link to the script and I'll give you credit of course
Sent on my Moto x
Here nothing has changed, still the app default system equalization.
---------- Post added at 10:28 PM ---------- Previous post was at 09:52 PM ----------
when I run the install.bat file in the computer this message:
You must run this script as the root user!
Exiting now!
even if eu va via Android terminal in the folder / data / local / tmp / AwesomeBEATS Installer.sh and run the file as root, I get the same message:
You must run this script as the root user!
Exiting now!
did everything as instructed, it just crashes everytime I press play.
How can I fix this or remove it? I've even removed (and backed up) audiofx
pintasmapila said:
did everything as instructed, it just crashes everytime I press play.
How can I fix this or remove it? I've even removed (and backed up) audiofx
Click to expand...
Click to collapse
I actually have the same problem. I removed audiofx (with save with titanium backup)
After that, nomore crash. But nothing change when I turn on parameters of Awesome beat equilizer. I really think it doesnt work.
Anyone did a long error list during script installation on Terminal Emulator ? even if a least, "Awesome Beat is installed"
Green78 said:
I actually have the same problem. I removed audiofx (with save with titanium backup)
After that, nomore crash. But nothing change when I turn on parameters of Awesome beat equilizer. I really think it doesnt work.
Anyone did a long error list during script installation on Terminal Emulator ? even if a least, "Awesome Beat is installed"
Click to expand...
Click to collapse
Yup! It was exactly like that. I was also having other issues with my phone, some apps were crashing, not sure if its related or not, so i flashed it.
Now all i want from this mod is... distance
As i read un other forum, i user another script
Su
Mount -o remount,rw /system
Awesome
Mount -o remount,ro /system
Reboot
Script looks OK
But nothing change... Crash again...
Sent from my XT1052 using xda app-developers app
I cant figure out how to do it, I am rooted and I can't figure it out!
Brava27 said:
I cant figure out how to do it, I am rooted and I can't figure it out!
Click to expand...
Click to collapse
Need a SeLinux Permissive Kernel for S7Edge first. Have you found one?
Brava27 said:
I cant figure out how to do it, I am rooted and I can't figure it out!
Click to expand...
Click to collapse
Seems this guy has the answer on an enforcing kernel.
http://forum.xda-developers.com/s7-edge/review/audio-quality-t3336558
If you haven't seen this thread already, check it out. I successfully installed V4A on my 935F with it.
http://forum.xda-developers.com/showthread.php?t=3335007
And FYI... it sounds fantastic!
You DON'T need permissive kernel for v4a any more..after hundereds of trials and errors I just downloaded newest apk from original v4a thread, put it in private-apps folder then set correct permitions rw-r-r, restarted device and it works flowellesly ! I have stock enforced kernel.
tin2404 said:
You DON'T need permissive kernel for v4a any more..after hundereds of trials and errors I just downloaded newest apk from original v4a thread, put it in private-apps folder then set correct permitions rw-r-r, restarted device and it works flowellesly ! I have stock enforced kernel.
Click to expand...
Click to collapse
Does it work with Spotify as well?
Why don' you try? I don't use it.
tin2404 said:
You DON'T need permissive kernel for v4a any more..after hundereds of trials and errors I just downloaded newest apk from original v4a thread, put it in private-apps folder then set correct permitions rw-r-r, restarted device and it works flowellesly ! I have stock enforced kernel.
Click to expand...
Click to collapse
Tried hundered of ways here as well,
Mine just keeps asking to install the damn driver all the time mate, and even if installed, after reboot - it just asks again to install/update the driver again.
Tried with the su.policy zip flash as well. Still cant get it to work!
Tried with the MM compatible newest APK and placed it in Priv-app. Guess that's what you did too. Cant figure out what I'm missing here.
It happens to me also.That means you did NOT properly root device.Error with constant driver install is because busybox..I rerooted device ,wiped data for SU, and granted permission to busybox again.DO NOT use any other Viper app then original one from thread !
tin2404 said:
It happens to me also.That means you did NOT properly root device.Error with constant driver install is because busybox..I rerooted device ,wiped data for SU, and granted permission to busybox again.DO NOT use any other Viper app then original one from thread !
Click to expand...
Click to collapse
Youv'e been a lot helpful mate,
I think I'm getting somewhere, Could you please tell me which busybox did you use?
Is it the Stericsson version, or the Meefik ?
Stericsson one. I hac problems as you did and concluded the most simple one was the best..All that modded Viper apps doesn't do any use.Just use original one,give permissions in private-apps, restart device and that is it
which music players support this? cuz so far all i see is status normal processing no
tin2404 said:
Stericsson one. I hac problems as you did and concluded the most simple one was the best..All that modded Viper apps doesn't do any use.Just use original one,give permissions in private-apps, restart device and that is it
Click to expand...
Click to collapse
Men! You put so much hope in my heart. Please, could you be so nice and prepare step by step to do list? I personally would ask you about 'give permissionso in private-apps'. Could you explain? Do you copy v4a to priv-apps? Where from? What permissions? And about busy box: when I open it it shows me that it is installed in su/xbin... in what folder did you install busybox? And one about reroot: did you go to su and choose: full unroot before flashing su again? And what about mount namespaces: checked or unchecked in su? Have to tell you that I've tried so much different ways and still v4a doesn't work. I would love to try your way but please put some lights here. Thanks!
SM-G935F powered by Echoe
I've tried my best, in all possible variables and finally decided to give up after wasting 3 straight days of a perfect weekend.
My Driver just doesn't stick and I've tried all alternative installation methods. I've kept backups of system/*.* so all damages were reversed without any flashing. Root, Busybox everything runs perfectly and tested everything for integrity.
So far I've cornered the issue to Systemless Root, which seems to be the only entity having issues with v4a. Until a proper answer is digged up, I'm gonna stick with my Note 5 which has this working on System-Mode Root. (The driver didn't stick on the Note 5 when I tried to use it with System-less) Luckily the Note 5 is still on LP, with Su 2.64.
Good Luck to those who are trying, and thanks to all who helped!
OK...I made comprehesive tutorial here
http://forum.xda-developers.com/s7-edge/themes/viper4android-proper-installation-t3340525
JazonX said:
I've tried my best, in all possible variables and finally decided to give up after wasting 3 straight days of a perfect weekend.
My Driver just doesn't stick and I've tried all alternative installation methods. I've kept backups of system/*.* so all damages were reversed without any flashing. Root, Busybox everything runs perfectly and tested everything for integrity.
So far I've cornered the issue to Systemless Root, which seems to be the only entity having issues with v4a. Until a proper answer is digged up, I'm gonna stick with my Note 5 which has this working on System-Mode Root. (The driver didn't stick on the Note 5 when I tried to use it with System-less) Luckily the Note 5 is still on LP, with Su 2.64.
Good Luck to those who are trying, and thanks to all who helped!
Click to expand...
Click to collapse
FRM300 said:
Men! You put so much hope in my heart. Please, could you be so nice and prepare step by step to do list? I personally would ask you about 'give permissionso in private-apps'. Could you explain? Do you copy v4a to priv-apps? Where from? What permissions? And about busy box: when I open it it shows me that it is installed in su/xbin... in what folder did you install busybox? And one about reroot: did you go to su and choose: full unroot before flashing su again? And what about mount namespaces: checked or unchecked in su? Have to tell you that I've tried so much different ways and still v4a doesn't work. I would love to try your way but please put some lights here. Thanks!
SM-G935F powered by Echoe
Click to expand...
Click to collapse
Has anyone managed to get it working? I've tried every single method to install it and still nothing!
csr.rocha said:
Has anyone managed to get it working? I've tried every single method to install it and still nothing!
Click to expand...
Click to collapse
Yes. Actually there is a perfect package from @guitardedhero. You have to be rooted, busyboxed, twrp'ed. Flash this: http://forum.xda-developers.com/attachment.php?attachmentid=3701983&d=1459364213
It is Viper Atmos Sony Beats edition working beautifully on ny S7E. Three more step to do after flashing: 1. freeze SoundAlive and AdaptSound, reboot. 2. go to system preferences and check whether Viper has memory access granted. 3. go to SuperSu and DISABLE 'Mount namespace separation', reboot. Done!
Btw. If you want to play with Profiles inside Viper, go to your internal memory using root explorer and inside Viper folder create folder called 'Profiles'.
Btw2. 6.0.1new abowe destroy your conf files. Hope you have backup.
Better flash @guitardedhero mod on fresh rooted rom. hope you enjoy.
Btw3. Sound is AMAZING!
S7E powered by Echoe™ v5
Thanks for your reply!
Just after I asked for help here, i found a driverless package from @guitardedhero that worked! Glad to know you did it too, mate! :highfive:
Working but 10 second later turn normal mod
Why do you think's going on?
For example in youtube, 10 second viber4android active, later deactivate.
SM-G935F cihazımdan Tapatalk kullanılarak gönderildi
This package contains a few windows batch files to help you get UnifiedNLP working with (or without) Google Play Services on your phone. Extract it anywhere and run the batch files as needed. Everything required is included in the download but you will need root ADB capabilities. Learn more about ADB here:
http://wiki.lineageos.org/adb_fastboot_guide.html
For the record, I use this on Nougat. More specifically, LineageOS 14.1 so I can't say how it will work or what is necessary on other versions or roms.
Included Batch Files
To use these scripts your phone needs to be connected to your computer.
Install.bat - Install apks and addon.d updater script
Patch.bat - Patch framework-res.apk
DisableGoogle.bat - Disable Google location services and permissions
EnableGoogle.bat - Enable Google location services and permissions
Restore.bat - Delete apks, restore stock framework, enable services and permissions
GetDiff.bat - Create new patch file.
Background
UnifiedNlp is a network location provider that can be used instead of the Google network location service that's included in Google Play Services. The version used here is the GApps version that can be used along side Google Play Services.
https://github.com/microg/android_packages_apps_UnifiedNlp
Installing the Apps
Run Install.bat
UnifiedNLP has to be installed as a system app. This script installs it in /system/app along with some backends. It also installs an addon.d script so it will survive system updates if your rom supports it. Once installed, you can find the app in your app drawer. See the thread on XDA to help set it up.
https://forum.xda-developers.com/android/apps-games/app-g-unifiednlp-floss-wi-fi-cell-tower-t2991544
Patching the Framework
Run Patch.bat
To use a location provider, it's package name has to be included in the "config_locationProviderPackageNames". This script patches framework-res.apk to include the UnifiedNLP package name. I've created a thread on the LOS subreddit asking for this to be included by default but until then we'll have to patch each update.
https://www.reddit.com/r/LineageOS/comments/5u919y/support_for_unifiednlp/#ddto2rc
If patching fails run GetDiff.bat to create a new patch file:
When prompted, open arrays.patched.xml in your text editor (Notepad++ recommended)
Find 'config_locationProviderPackageNames' section
Add a new item 'org.microg.nlp'
Save and continue
Run Patch.bat again
Disabling Googles Location Service
Run DisableGoogle.bat
When you enable network location in settings you also enable Google's location service. There's no simple way to enable one without the other... Bit of a monopoly and totally wrong if you ask me, but that's the way it is. So we have to disable a couple of Google services to get UnifiedNLP working.
So now we should have UnifiedNLP working but we still have Google Play Services stalking us and constantly checking our location. This is what gives us all those NLP related wakelocks. To prevent this we just have to revoke coarse/fine location permissions for Google Play Services. DisableGoogle.bat also does this.
Disclaimer:
Needless to say, if you try this you do so at your own risk. I take no responsibility for anything.
It's always a good idea to make a full backup before doing anything like this to your phone.
Download
nlp_patch.zip
Resources:
Everything required is included in the download but if you'd like to download full versions or find out more, checkout the links.
Apktool: https://ibotpeaches.github.io/Apktool/
UnixUtils: http://unxutils.sourceforge.net/
jPortable: http://portableapps.com/apps/utilities/java_portable
ADB: https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Reserved
Download updated: There was a very silly error in Patch.bat.
I'm just posting to say that my ROM won't boot after applying this patch. Fortunately, I had a backup. I'm running Resurrection Remix on a Note 4 (N910T), which is v7.1.1 and based on a mix of LineageOS and Emotion/Emotroid (the latter is AOSP). I followed the instructions to the tee. I already had adb and fastboot installed. The patch did succeed. I also tried clearing cache and dalvik cache in TWRP, but still couldn't boot. I do have GApps installed. What could have gone wrong?
Thanks!
Hmm... Not sure why it wouldn't work for you. I can only guess that the framework didn't re-compile properly or it wasn't pushed to system properly.
One thing you could try is boot to twrp, mount system and run patch.bat from there.
No GCN push
Hey, thank you very much for your effort! I have used your Windows Batch files in an editor to translate the process to Linux. Everything works flawlessly on my LG G4 with Lineage 14.1!
Without GCM, which is sadly a dealbreaker. It seems to need permission for "com.google.android.gms android.permission.ACCESS_FINE_LOCATION", the other three adb lines in your DisableGoogle.bat can be executed and GCM still works.
So I ask: What do I lose in privacy in not revoking permission for the line above?
If location permissions are allowed then google play services will keep accessing network/gps to keep track of your location. This causes all those nlp wakelocks. I did find however that using UnifiedNLP like this caused significantly less wakelocks than using the google location services. So if that's how you need it then go for it.
BTW, what's GCN push?
Sorry, I meant GCM, Google Cloud Messaging (not Notification).
The main question would be if Google still collects and tracks Wi-Fis, cell towers etc. when I don't revoke this permission. If so, the whole enterprise to get the Mozilla Location Provider to work would be rather pointless. No push notifications for Signal, Tweetings etc. is sadly not acceptable for me.
Ah, I can't comment on GCM as I've never used it but third party app's I use push ok. But that being said, you use GCM so that's what you need to work.
The whole point of this really is to stop google from stalking you (whether for privacy, battery or both). So yeah, I'd have to agree that using this and allowing those google location permissions would be pretty pointless.
Works great on my op3t thanks a million
microG's built in unified nlp and this are same?
vegoja said:
Works great on my op3t thanks a million
Click to expand...
Click to collapse
Good to know, cheers.
sohamsen said:
microG's built in unified nlp and this are same?
Click to expand...
Click to collapse
Yes. If you're using MicroG then this isn't useful for you.
Hi,
This method works if i disabled google play services only.
Disablepatch disabled my gps lock.
any idea?
The download is dead, can you reupload?
Hi. With some little changes (updating java and apktool) I managed to get Patch.bat working on LOS 15.1 *but* my device did not boot anymore once the patched framework-res.apk was in place (and booted again once I piut back the original apk). Did I miss a step? Thks in advance for your help.
@Nyakov: the download isnt dead, try again.
@Julien Faure: You probably didnt do anything wrong. I tried this same patch on Resurrection Remix Nougat many months ago, ROM wouldnt boot. I suspect that you need to disable Android's signature verification for this to work. Check out Smali Patcher.
Thansk a lot for the quick answer! If possible, I would like to avoid rooting (and thus avoid Magisk): is there a way to disable signature verification w/o it? Something to be done, applied, installed from TWRP for instance.
@Julien Faure: Smali patcher doesnt need root. It doesnt even need Magisk, despite being listed as a Magisk module on XDA.
Follow the steps in the SP thread. Since all you want is signature verification disabled, only check that box. Once it is successful, it will create a zip file. Extract the services.jar from that, boot into TWRP, replace your services.jar with the new one, set permissions on this file to 0644.
In the zip SP produces, there will also be zero byte (0 in size) files. These are placemarkers that tell Magisk to systemlessly delete these files. But since you wont be using Magisk, you need to look in /system/framework and manually delete these files. So just find the ones that match the paths and names of the zero byte files in the zip, delete them. If you cant find all of them, just skip the ones not present.
Because you are modifying the system partition, you may also need to disable dm-verity and/or Verified Boot (AVB). But since you're patching LOS, i dont believe it will be necessary.
AnonVendetta said:
@Julien Faure: Smali patcher doesnt need root. It doesnt even need Magisk, despite being listed as a Magisk module on XDA.
Follow the steps in the SP thread. Since all you want is signature verification disabled, only check that box. Once it is successful, it will create a zip file. Extract the services.jar from that, boot into TWRP, replace your services.jar with the new one, set permissions on this file to 0644.
In the zip SP produces, there will also be zero byte (0 in size) files. These are placemarkers that tell Magisk to systemlessly delete these files. But since you wont be using Magisk, you need to look in /system/framework and manually delete these files. So just find the ones that match the paths and names of the zero byte files in the zip, delete them. If you cant find all of them, just skip the ones not present.
Because you are modifying the system partition, you may also need to disable dm-verity and/or Verified Boot (AVB). But since you're patching LOS, i dont believe it will be necessary.
Click to expand...
Click to collapse
Wow thanks a lot again. Will report here once I will have tested that.
@AnonVendetta: BTW, are you aware of any ROM (not necessarily for the 5X) which supports the UNLP + GApps configuration "out-of-the-box" w/o having to apply those patches (OP's one + Smali)? Seems to me that a lot of ROMs (if not all) decided to support the "microG as a gmscore replacement" scenario only.
**CONTINUE AT YOUR OWN RISK**
**I ASSUME YOU KNOW HOW TO SAFELY NAVIGATE /SYSTEM & ADJUST FILES AND THEIR PERMISSIONS**
This is a write up on how to install and use the stock Google Phone app.
Yes there are simpler ways to achieve something similar. There are a few developers on xda who have patched the Google Phone app so you don't have to do the following.
I personally enjoys the harder things in life. Along with just jumping on Apkmirror and installing any new updates to the phone app without waiting for someone to patch it.
Google Play Store won't allow you to find or update (as far as I know) the Google Phone app unless your phones identifies itself to the store as a pixel. If you did manage to get your hands on the apk it'll fail to install.
(I've seen a few magisk modules that will work)
However thanks to Apkmirror and the opengapps GitHub you could get around this.
First you need to get the files that the Google Phone app requires to be within the /system partition.
com.google.android.dialer.support.xml
com.google.android.dialer.support.jar (I use API 27)
The .xml goes in /system/etc/permissions with root permissions and the .jar goes in /system/Framework also with root permissions.
So either use your favorite root file manager, TWRP, adb, and place the files in their respective location and adjust the permissions. I personally either use TWRP or adb and adjust the permissions via the chmod 0644 command on the files.
Once you have verified the files are where they belong and have the correct permissions. Install the apk, set it as the default phone app and enjoy. (Adjust all permissions to your liking)
https://github.com/opengapps/all/tree/master/
View the code and find the files.
Thank you GitHub, Opengapps, and who ever uploads the files to Apkmirror.
Information I gathered over the years and random old xda threads. Also serves as a post I can reflect back on two months from now when I forget again.
ENJOY and don't do something if you don't understand, accept responsibility for your own actions because I won't for you. Go explore the wonders of learning Linux, and have plenty of backups to fix your non fatal mistakes.
It works great, thanks!
Tachi91 said:
**CONTINUE AT YOUR OWN RISK**
**I ASSUME YOU KNOW HOW TO SAFELY NAVIGATE /SYSTEM & ADJUST FILES AND THEIR PERMISSIONS**
This is a write up on how to install and use the stock Google Phone app.
Yes there are simpler ways to achieve something similar. There are a few developers on xda who have patched the Google Phone app so you don't have to do the following.
I personally enjoys the harder things in life. Along with just jumping on Apkmirror and installing any new updates to the phone app without waiting for someone to patch it.
Google Play Store won't allow you to find or update (as far as I know) the Google Phone app unless your phones identifies itself to the store as a pixel. If you did manage to get your hands on the apk it'll fail to install.
(I've seen a few magisk modules that will work)
However thanks to Apkmirror and the opengapps GitHub you could get around this.
First you need to get the files that the Google Phone app requires to be within the /system partition.
com.google.android.dialer.support.xml
com.google.android.dialer.support.jar (I use API 27)
The .xml goes in /system/etc/permissions with root permissions and the .jar goes in /system/Framework also with root permissions.
So either use your favorite root file manager, TWRP, adb, and place the files in their respective location and adjust the permissions. I personally either use TWRP or adb and adjust the permissions via the chmod 0644 command on the files.
Once you have verified the files are where they belong and have the correct permissions. Install the apk, set it as the default phone app and enjoy. (Adjust all permissions to your liking)
https://github.com/opengapps/all/tree/master/
View the code and find the files.
Thank you GitHub, Opengapps, and who ever uploads the files to Apkmirror.
Information I gathered over the years and random old xda threads. Also serves as a post I can reflect back on two months from now when I forget again.
ENJOY and don't do something if you don't understand, accept responsibility for your own actions because I won't for you. Go explore the wonders of learning Linux, and have plenty of backups to fix your non fatal mistakes.
Click to expand...
Click to collapse
You could use Magisk an PIX3LIFY module, it should do all that for you...
Anyway, does Google Phone work just fine without any crash? Because I have Android Oreo 8.0 on my HTC 10 and I've tried to get Google Phone working but it crashes when you give contacts permissions and access your call history or the dialer keypad. Do you not have these problems on your U12+ with Android Oreo 8.0?
rfgamaral said:
You could use Magisk an PIX3LIFY module, it should do all that for you...
Anyway, does Google Phone work just fine without any crash? Because I have Android Oreo 8.0 on my HTC 10 and I've tried to get Google Phone working but it crashes when you give contacts permissions and access your call history or the dialer keypad. Do you not have these problems on your U12+ with Android Oreo 8.0?
Click to expand...
Click to collapse
Works fine for me, no issues.
In the past ive seen it crash from either wrong file permissions or incorrect framework or xml file.
I changed phone and It works great on the Rog Phone too. No crashes at all.
Hi. Newbie here. Want to install the Google dialer on wife's HTC U12+ but the link is dead? Any assistance would be greatly appreciated. Happy wife happy life?