[GUIDE] How to use microG with our mi5 (Custom Nougat ROM) - Xiaomi Mi 5 Guides, News, & Discussion

Installation guide of microG services in three ways:​-On ROMs with signature spoofing option.
-On Deodexed ROMs without signature spoofing option.
-On Odexed ROMs without signature spoofing option.​
I'm using win10 all the time here, and this guide is for Nougat ROMs only.
Hi everybody! Two months ago I discovered the awesome world of microG, a life without original google play services, without any of my data on google and with better battery life (we all know how google services drains battery). For more general information, refere please to these threads and forums:
https://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616
https://microg.org/
https://shadow53.com/no-gapps/
Today I present you my guide (none of this work is done by me, I'm just showing the way I install these services) to install microG features.
The first thing we need is a ROM without gapps included. Then is needed to know if it supports signature spoofing out-of-the-box, you can see if the ROM is present on this list: https://forum.xda-developers.com/android/general/index-list-custom-roms-offering-t3557047 or ask developer in his own thread. If it supports it, you can directly go to the instructions num 1) . If else, you need to know if the ROM is odexed or deodexed, for this, you can ask on the dev thread or unpack the rom yourself.
How to unpack the ROM:
You can unpack it with 7-zip and then decompress it with this tool: https://forum.xda-developers.com/android/software-hacking/tool-tool-unpack-repack-dat-img-v2-0-t3284806. You must place the system.transfer.list and the system.new.dat you'll find in the decompressed folder in the Input_dat folder of the tool given, then open the tool with usage permission and mark option 1, then wait until process is finished and you'll have the output in the System_unpack folder.
Then you only need to go to the /system_/framework/ folder and see if there's any arm, arm64, folder with .oat files inside. If there isn't, congratulations, your rom is deodexed and you can follow path 2). If there is any of these folders mentioned with .oat files, your rom is odexed, and you'll need to follow path 3).
Note: on all this process we will be using the @Shadow53 files placed on https://shadow53.com/no-gapps/downloads/, I personally use the "microG with playstore" and the "calendar and contacts" flashable zips (I've modified the calendar and contacts zip because of some issues with sync that i don't know if were solved, I let the modified flashable zip later in this post) please, before asking or complaining, read his page fully, his work is awesome.
1) ROMs with signature spoofing option:
This is the easy way. We only need to install the clean ROM and then flash the microG and the sync packages we've donwnloaded before. Once booted, we only need to active signature spoofing option and check microG Self-Check and we are ready to go. In order to install backends for network location, please, refer to proper threads.
2) Deodexed ROMs without signature spoofing option.
Here we will follow the steps as if we had a signature spoofing option (as the previous paragraph) but obiously we won't active nothing when booted and we will use this tool: https://forum.xda-developers.com/android/development/tingle-fork-needle-t3438764 (please, read carefully before asking) if your ROM is deodexed and you follow the steps carefully, you'll have patched the ROM in a few minutes. Then you just need to reboot and check with microG Self-Check.
3) On Odexed ROMs without signature spoofing option.
This is my "original" way, as nobody explained fully how to do it. Here, you need to deodex the framework folder and then flash the rom with the tingle patch already applied. Let's begin.
First, you need to get the /system_/framework and the build.prop you unpacked when checking if the rom was or not odexed. Then you need to deodex it by using this tool https://forum.xda-developers.com/android/software-hacking/tooll-03-12-fulmics-deodexer-1-0-t3512081 (I have to say sometimes it only works for me the 1.1 version) it's easy, you'll need to download the tool and the backsmali, smali 2.2 or later (already compiled in .jar, I let them later in this thread) and run it.
Once you have the framework deodexed (erase the arm, arm65 and oat folder if there is any left) you just need to get the framework.jar and patch it with tingle (option 2 in the script, the patched file will be in the output folder), then replace the patched framework in the deodexed framework folder.
Now you just need to pack it in a flashable zip that must erase the current framework folder of your ROM and then place the one you deodexed, for this, I let you all a flashable zip I made modifying the one the ZIPme app made. Yo must unpack it and replace the framework folder in "system" with the deodexed one with the patched file and repack it.
Then you just need to flash the clean ROM and afte that the framework-replacer.zip and all microG flashable zips you need, once booted you can directly check microG and you'll se it is already patched.
Suggestions are welcome on this guide!
Many thanks to all devs and people made all this possible:
Marvin for microG.
Shadow53 for his guide and flashable zips.
ale5000 for tingle.
xpirt for fulmics deodexer.
Kritsada Chaitan for his unpacking tool.
Primokorn for his signature spoofing support list.
JRummy Apps for ZIPme.
kevinkvothe (I gess)
Anyone else feeling he/she should be on this list, please, tell me.​
Downloads.
https://mega.nz/#F!id1jlZoS!6Su8IJeGQnYO_3olQmQMTg

Reserved

Pole

Thanks for the concise, resource-rich guide. I've been trying to patch an odexed ROM for the past few weeks, and never thought to try and flash it with the patched framework.jar. Cheers! I'm going to give this a try first thing tomorrow!

Thx for this guide, worked for me...
Best regards

@kevinkvothe
Hi,
have you tried my Google Sync Add-on?
It would be nice to know if it is working for everyone.

That was one hell of a long ride but I got the signature spoofing working.. Thanks a lot.
I got the Error [RH-01] with play store but after rebooting it was fixed somehow.

ikzouhetnietweten said:
That was one hell of a long ride but I got the signature spoofing working.. Thanks a lot.
But my Play Store aint working! it says Error [RH-01] , I tried everything from deleting cache, data, enabled google device registration in micro settings, enabled google cloud messaging.. etc etc Everything is checked in Self checked.
Click to expand...
Click to collapse
Enable "Google device registration" in micro settings, then clear data of Play Store, termintate it and remove it from recent apps.
Then run it again.

ale5000 said:
@kevinkvothe
Hi,
have you tried my Google Sync Add-on?
It would be nice to know if it is working for everyone.
Click to expand...
Click to collapse
I tested it once, when I started to learn about microG and it didn't work, but I'm not sure all was working and if I had signature spoofing support so... I'll test it when possible.

Hi all,
I'm using RR + Magisk + NanoMod which can achieve this faster. However, I was dumbfounded when I couldnt get sync properly to work, however flashing the google sync adapter work. I urge anyone who want to use microG to use nanomod version, as it is simpler. you only have to flash via twrp and let it sit.
ale5000 said:
@kevinkvothe
Hi,
have you tried my Google Sync Add-on?
It would be nice to know if it is working for everyone.
Click to expand...
Click to collapse
thank you

xiiihyou13 said:
Hi all,
I'm using RR + Magisk + NanoMod which can achieve this faster. However, I was dumbfounded when I couldnt get sync properly to work, however flashing the google sync adapter work. I urge anyone who want to use microG to use nanomod version, as it is simpler. you only have to flash via twrp and let it sit.
thank you
Click to expand...
Click to collapse
It depends what you mean, both are flashable zip so as simplicity should be the same.

kevinkvothe said:
I tested it once, when I started to learn about microG and it didn't work, but I'm not sure all was working and if I had signature spoofing support so... I'll test it when possible.
Click to expand...
Click to collapse
In the latest version I have fixed permission problems, so it will most likely work out of the box.

xiiihyou13 said:
Hi all,
I'm using RR + Magisk + NanoMod which can achieve this faster. However, I was dumbfounded when I couldnt get sync properly to work, however flashing the google sync adapter work. I urge anyone who want to use microG to use nanomod version, as it is simpler. you only have to flash via twrp and let it sit
thank you
Click to expand...
Click to collapse
But unfortunately Nanomod Patcher does not work on odexed and deodexd ROMs, I don't know yet if mine is odexed or deodexed but will have to check It's the unofficial LinageOS 14.1 for lt03lte - the official nightly does unfortunately not detect my external SD Card!

Juat FIY, now that nougat supports xposed, this is much easier when using Fakegapps module [emoji106]
Lähetetty minun MI 5 laitteesta Tapatalkilla

Seems like noone mentioned this but microG have own fork of LineageOS with already build in microG services.
https://lineage.microg.org/

Related

[Q] How to make gapps

Does anyone know how to make gapps?
???
Gapps are already made, just flash it.
If you want to declude apps, unzip it, delete files from /system/app and data/app and re-zip
Greets!
I'm not a fake.
I prefer people to reply to me and give feedback instead of thanking me!
But thanking me does show if you apreciate my works.
I understand the question I think... as I have a similar one. How can one make their own gapps package? Or is that even necessary?
I am tempting to build an AOSP rom and would need gapps to be flashed with it. Do I just include the latest from cm, or, can I package my own in order to be the owner of them?
Sent from my Evo using xda premium
When i build a aosp rom, the zip file doesn't contains with google apps so i want to make a own google apps. How do i get the apk and how to re-package the apk to zip (using dsixda?)
echo_rc said:
When i build a aosp rom, the zip file doesn't contains with google apps so i want to make a own google apps. How do i get the apk and how to re-package the apk to zip (using dsixda?)
Click to expand...
Click to collapse
To include in your zip, just paste inside the WORKING_FOLDER.
You can grab the GAPPS from Android development and hacking > Themes and Apps, from CM web-page, and lots of more.
Just google it!
Greets!
I'm not a fake.
I prefer people to reply to me and give feedback instead of thanking me!
But thanking me does show if you apreciate my works.
I am pretty sure this thread is pertaining to the question, How did someone create gapps before you could just download them. That is easy.
There are applications that are google proprietary software that is bundled with roms. Rather it be sense, blur, touchwiz or AOSP. These google prop bits are there.
The easiest way to "create your own gapps" is to:
1) Look inside an existing gapps package and see what they used. Then use those same packages.
2) Grab all the google related jars, apks that are not available on the market, and are not included after compiling your own aosp rom. The extra apps for the most part are used for googles prop bits.
If there is a need for more detail. Please let me know.
To my understanding, you cannot include gapps in the rom for various general public license rules, hence you have to flash with cm
Sent from my Evo using xda premium
Ok thanks guys i will try grab from Android development and hacking > Themes and Apps, from CM web-page, and lots of more
Sorry guys but this is the only forum that is talking about this and i would really like to be able to do this. Does anyone know how to make gapps from an official rom update. And is there a program that will allow to make my own gapps to flash.
serranom said:
Sorry guys but this is the only forum that is talking about this and i would really like to be able to do this. Does anyone know how to make gapps from an official rom update. And is there a program that will allow to make my own gapps to flash.
Click to expand...
Click to collapse
I already explained it, and no.
mDroidd said:
???
Gapps are already made, just flash it.
If you want to declude apps, unzip it, delete files from /system/app and data/app and re-zip
Greets!
I'm not a fake.
I prefer people to reply to me and give feedback instead of thanking me!
But thanking me does show if you apreciate my works.
Click to expand...
Click to collapse
Very informative and much appreciated.
mDroidd said:
???
Gapps are already made, just flash it.
If you want to declude apps, unzip it, delete files from /system/app and data/app and re-zip
Click to expand...
Click to collapse
So I took Micro Modular Package, purged all .apk from \system\app and \system\priv-app, except GoogleLoginService.apk, GoogleServiceFramework, Phonesky.apk (which are, AFAIK, required minimum for GooglePlay) - but got en error during flashing: "file_getprop: failed to stat "/tmp/gapps.prop": No such file or directory"
The unaltered package is installing fine through, but that is not what I need
Samsung YP-G70EB, CM11 ROM.
XAN_ said:
So I took Micro Modular Package, purged all .apk from \system\app and \system\priv-app, except GoogleLoginService.apk, GoogleServiceFramework, Phonesky.apk (which are, AFAIK, required minimum for GooglePlay) - but got en error during flashing: "file_getprop: failed to stat "/tmp/gapps.prop": No such file or directory"
The unaltered package is installing fine through, but that is not what I need
Samsung YP-G70EB, CM11 ROM.
Click to expand...
Click to collapse
Silly me. While repacking, I failed to add delete-list.txt, gapps-list.txt, install-prep.sh files to resulting archive :laugh:
So I only added 2 folders, which apparently, isn't enough for correct installation
I was curious about this also.
I was looking to just update an existing gapps. My goal was to add a few extra apks not included in the standard gapps I'm using and delete a few to replace with black versions. Like youtube, google+ calender ect. Can I just add extra apps or do I need to update a file somewhere.
I noticed one file updater-script. But thats about it.
chopt51 said:
I was curious about this also.
I was looking to just update an existing gapps. My goal was to add a few extra apks not included in the standard gapps I'm using and delete a few to replace with black versions. Like youtube, google+ calender ect. Can I just add extra apps or do I need to update a file somewhere.
I noticed one file updater-script. But thats about it.
Click to expand...
Click to collapse
Yes you add it like you can see below it just extract the system directory in the gapps zip file and set it to the right permissions.
package_extract_dir("system", "/system");
set_perm(0, 0, 0755,
XAN_ said:
So I took Micro Modular Package, purged all .apk from \system\app and \system\priv-app, except GoogleLoginService.apk, GoogleServiceFramework, Phonesky.apk (which are, AFAIK, required minimum for GooglePlay) - but got en error during flashing: "file_getprop: failed to stat "/tmp/gapps.prop": No such file or directory"
The unaltered package is installing fine through, but that is not what I need
Samsung YP-G70EB, CM11 ROM.
Click to expand...
Click to collapse
I want to do this also. I want to install needed files (apk and needed libs maybe) so i can add my google account and log in to the account (so i can use Blogger official app). Simple apk extraction and installation didnt work (i did extract and install GoogleLoginService.apk but still couldn't add any google account). So should i modify gapps zip and delete all apks but GoogleLoginService.apk?
salmanfarisy said:
I want to do this also. I want to install needed files (apk and needed libs maybe) so i can add my google account and log in to the account (so i can use Blogger official app). Simple apk extraction and installation didnt work (i did extract and install GoogleLoginService.apk but still couldn't add any google account). So should i modify gapps zip and delete all apks but GoogleLoginService.apk?
Click to expand...
Click to collapse
Nope, GoogleLoginService.apk isn't enough you also need GoogleServiceFramework.apk, Phonesky.apk and some other .apk, but I forgot which one. The entire Micropackage isn't needed, though, it contains some extra .apk, which isn't needed for goggle login.
And yes, you need to flash gapps, just installing them won't do.
XAN_ said:
Nope, GoogleLoginService.apk isn't enough you also need GoogleServiceFramework.apk, Phonesky.apk and some other .apk, but I forgot which one. The entire Micropackage isn't needed, though, it contains some extra .apk, which isn't needed for goggle login.
And yes, you need to flash gapps, just installing them won't do.
Click to expand...
Click to collapse
you are right.
other apk needed is GmcCore.apk
Help with building gapps?
With TKruzzle shutting down his PA gapps packages and thread.
Just wondering how to get/build/use updated gapps as no one else is building them that I can see?
How can we get new gapps packages from google and compile them or whatever is needed.
Just wondering what would have to be done, and if I can do it.
Also liked the idea of flashing google login info into the gapps package as that would be pretty handy but not sure how to do it. Thanks.
L0X0R said:
With TKruzzle shutting down his PA gapps packages and thread.
Just wondering how to get/build/use updated gapps as no one else is building them that I can see?
How can we get new gapps packages from google and compile them or whatever is needed.
Just wondering what would have to be done, and if I can do it.
Click to expand...
Click to collapse
Almost everybody has a flashable gapps package somewhere. Download an official Nexus image for your Android architecture and version, and just replace the appropriate files in the zip.
There are sites that explain how to extract a system.img.

[FRAMEWORK] Xposed Installer | MOD your stock ROM like custom one

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 HD and I will add in my post
ENjOy...!!
Don't forget to hit the thanks button for sharing this and rate 5star..!
Working module list
I don't have Canvas HD 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

[Q] prevent updates on hdx 8.9

hi,
i'm pretty sure this is explained somewhere, but i cant find it.
how can i prevent my hdx 8.9 from auto updating, i remember reading something about renaming some files,
but cant find.
thx for the help
Rename /system/app/com.amazon.dcp.apk to com.amazon.dcp.apk_
Reboot.
Enjoy.
The HDX Toolkit by Faznx92 has an option for this.
It depends
Broadway666 said:
hi,
i'm pretty sure this is explained somewhere, but i cant find it.
how can i prevent my hdx 8.9 from auto updating, i remember reading something about renaming some files,
but cant find.
thx for the help
Click to expand...
Click to collapse
If you plan on installing Google of any form and needing xposed and hdx module found here in the development section . Then the answer would be none of the above. Simply install the framework reboot device install HDX module 1.3 , go back to framework installer open up modules section and be sure to check box is checked for the HDX module 1.3 reboot and finished no more blocking needed. All this and above of course has to be on a rooted device
ONYXis said:
Rename /system/app/com.amazon.dcp.apk to com.amazon.dcp.apk_
Reboot.
Enjoy.
Click to expand...
Click to collapse
Renaming that package by itself does block ota but may disable other useful system functions.
My toolkit has a method as well as HDXposed v1.3
Care to read more here.
Faznx92 said:
Renaming that package by itself does not truly stop ota.
My toolkit has a method as well as HDXposed v1.3
Care to read more here.
Click to expand...
Click to collapse
Your tool disables ota through disable some activity in this file. -pm disable bla-bla. Changing extension in my method equal deleting this file. It safe, 100% works and very easy to do without PC. Hdxposed 1.3 find update.bin at sdcard, so I do not 100% sure that it prevent in future.
So totally working method is rename/del com.amazon.dcp.apk or using your tool (but pm disable component is not safe that deleting it totally, isn't it? )
ONYXis said:
Your tool disables ota through disable some activity in this file. -pm disable bla-bla. Changing extension in my method equal deleting this file. It safe, 100% works and very easy to do without PC. Hdxposed 1.3 find update.bin at sdcard, so I do not 100% sure that it prevent in future.
So totally working method is rename/del com.amazon.dcp.apk or using your tool (but pm disable component is not safe that deleting it totally, isn't it? )
Click to expand...
Click to collapse
The reason I advise using the tools are in case an app or mod changes the file name back (although it is unlikely it is possible). It disables some functions the file runs while keeping others active for testing purposes. Running my toolkit blocker and HDXposed is easier for the inexperienced users. Yes renaming com.amazon.dcp.apk alone works but it does not block when testing other components in the apk.
I'm testing other functions in the dcp.apk but it is not my priority atm.
jimyv said:
If you plan on installing Google of any form and needing xposed and hdx module found here in the development section . Then the answer would be none of the above. Simply install the framework reboot device install HDX module 1.3 , go back to framework installer open up modules section and be sure to check box is checked for the HDX module 1.3 reboot and finished no more blocking needed. All this and above of course has to be on a rooted device
Click to expand...
Click to collapse
What would happen if I rename the file com.amazon.yadda file back to it's original state? Would that be recommended? What exactly would I have to do after that?
Personally
REEFIS said:
What would happen if I rename the file com.amazon.yadda file back to it's original state? Would that be recommended? What exactly would I have to do after that?
Click to expand...
Click to collapse
I would just so that I know that the only modification I had was the Xposed and hdxposed apk. I would also reinstall this apk. After rename and reboot..just me

How to install viper4android and Xposed Installer on SM-G531H

Hi im new at this. First of all, sorry for my english, this is my first post
Im been using xda for a long time and i never see a device with such little development and to many variants
Im been able of instal Viper4android with all the option working and proccesing and also the Xposed Frameworks working on lollipop 5.1.1
If someone is insterested on this info I can make a post
Wanting to install xposed installer and viper4android
I really want to install both apps on my device. I've been trying for more than a month. I hope you'll help me.
I'm looking forward your reply.
sauravpradhananga said:
I really want to install both apps on my device. I've been trying for more than a month. I hope you'll help me.
I'm looking forward your reply.
Click to expand...
Click to collapse
1.- Hi! First you need to see and do all of this post.
http://forum.xda-developers.com/galaxy-s6-edge/themes-apps/viper4android-s6-edge-root-t3072183
2.-Then you restar. DONT START THE APP YET
3.-Now download this file https://www.dropbox.com/s/rphlajc2o64rdla/ViPER4Android-supolicy.zip?dl=0
4.-Unzip and put the file in system/su.d (if the folder is not there created)
5.-Now whit root explorer (NOT ES FILE EXPLORER) preess the file and execute them.
6.-Restart, go to the viper app, install drivers
7.-Restart, and looke in the driver status option is must say that all is good and processing.
Good luke!
P/D: Sorry for my bad english
sauravpradhananga said:
I really want to install both apps on my device. I've been trying for more than a month. I hope you'll help me.
I'm looking forward your reply.
Click to expand...
Click to collapse
For the Xposed do you need to download this zip file and put in the sd card:
http://forum.xda-developers.com/attachment.php?attachmentid=3518598&d=1445801916 ( is the xposed files for the arm sdk22)
Now install the app flashfire by chainfire (google)
then instal the xposed installer
Open the flashfire app, it will ask for root privilige, give them, and go to the plus sign search for the zip file, thick the mount partition, and flash it (is an app for flash zip file without recovery)
Let it do his thing, and it will reboot, it will take a time, then you will see that the apps androir ar chargin like if was an update.
start the xposed app and it will be installed.
Good luk!
Im not responsable of any damage, those are the step i did and work for me
garumoron said:
1.- Hi! First you need to see and do all of this post.
http://forum.xda-developers.com/galaxy-s6-edge/themes-apps/viper4android-s6-edge-root-t3072183
2.-Then you restar. DONT START THE APP YET
3.-Now download this file https://www.dropbox.com/s/rphlajc2o64rdla/ViPER4Android-supolicy.zip?dl=0
4.-Unzip and put the file in system/su.d (if the folder is not there created)
5.-Now whit root explorer (NOT ES FILE EXPLORER) preess the file and execute them.
6.-Restart, go to the viper app, install drivers
7.-Restart, and looke in the driver status option is must say that all is good and processing.
Good luke!
P/D: Sorry for my bad english
Click to expand...
Click to collapse
Thanks man! I just installed this custom kernel: https://forum.xda-developers.com/grand-prime/general/samsung-galaxy-grand-prime-ve-g531h-t3295706
and followed the instructions of the post that you shared :good:

Viper working on rooted LP

This took me some hours this evening and a lot of trial and error but I was able to get it working. Note: if you are novice at playing with system files, don't bother to try this. It's not for the faint at heart. I can't provide support. You will also need Script Manger so you can fix permissions after placing the files. You must manually do all of this since we can't flash the zips! Make sure to Freeze the Sound Alive apk with TB also so there are no other music effects apps. Here's what I had to do:
1. Follow the instructions at this post first, extracting and placing files. Just don't reboot yet (thanks @TiTiB): http://forum.xda-developers.com/showpost.php?p=62365948&postcount=37
2. Download the two files mentioned here in this thread. You only need the audio policy script from the Lolliviper zip file to place in the system folder. Place the others from the ViPER4Android-supolicy.zip where needed: http://forum.xda-developers.com/galaxy-tab-s/general/how-to-installing-viper4android-v4a-t3136025
3. Take the latest Viper apk and place it in the system/priv-app folder.
4. Remember, make sure set all the needed permissions as you go along for ALL files above or none of this will work!
5. Reboot.
6. Open the Viper app, select the driver you want. Reboot.
7. If using Poweramp, you may or may not see the MusicFX control button whether you have it selected in advanced settings or not. I did not see it but it made no difference. Open the Viper app, turn on the settings and start playing music. Voila, it works! Works on my speaker too. Apparently permissive kernel isn't essential to make this work and that is the beauty of all this., because you can not use SElinux mode app on this kernel as some of you may know.
Have fun and good luck, at least you might be able to do this in much shorter time than I did.
One other thing I have found. You must set the scripts in system/su.d to run on boot with script manager so Viper will run after each reboot.
You can also get it to work by the following.
Install xposed
Install Wanam exposed module
In Wanam, under Security hacks
Disable Knox notification (I manually remove Knox)
Disable SEAndroid (changes to passive)
Install Viper4Android and update the driver
bishop0114 said:
You can also get it to work by the following.
Install xposed
Install Wanam exposed module
In Wanam, under Security hacks
Disable Knox notification (I manually remove Knox)
Disable SEAndroid (changes to passive)
Install Viper4Android and update the driver
Click to expand...
Click to collapse
I could not get Xposed installed after rooting, tried the latest apk, etc. I read on that thread Xposed has issues with stock LP Samsung ROMs so I just forgot about it. I could have tried placing the files in the flashable zip manually but it didn't seem worth the risk. I'm glad you got it going because that way sounds faster.

Categories

Resources