[HOWTO][LP][Xposed]Xposed framework on YotaPhone 2 LP - YotaPhone

NOTE:
This post is/was only relevant for users of the original modded stock recovery for YP2. For the newer & better TWRP recovery for YotaPhone 2 installing unsigned packages such as Xposed framework is not an issue.
Please note that the Xposed version below is outdated, Xposed alpha 4 is available. See Xposed for Lollipop thread.
Old post content:
Not exactly a proper development thread, but posting it here anyway because of the relation with the modded recovery, ad the slightly technical angle.
Xposed framework for Lollipop allows you to install modules that tweak/change many aspects of Android. It's pretty powerful as it can hook into existing software and change it's functionality. The version referred to in this post is an alpha version.
Therefore:
Warning: I recommend you don't install this unless you're a nerd. It's not yet stable, and may cause trouble (such as boot-loops).
Also: by the time you read this there may be newer versions, so read the Xposed thread for updates.
Background
The modded recovery image allows to install software signed by either Yota Devices (such as ota update zips) or signed with testkeys, but it does not allow to flash UNsigned zips. Many flashable zips are signed with testkeys (like SuperSU) but rovo89's Xposed flashable zip for LP in the current 20150430 version are unsigned, so we can't flash them as-is.
Flashing it anyway:
There's two ways: the harder and slightly educational way (useful for e.g. when new Xposed versions are released) and the lazy but convenient way.
1) Signing the Xposed framework zip yourself:
You need:
- signapk.jar plus test key and certificate
Get SignApk.jar from somewhere (build it from AOSP source, or download a zip from this thread (I used zipaligner 1.2, linux). This zip contains other stuff, but we need testkey.pk8, testkey.x509.pem and signapk.jar
- Xposed framework zip for LP 5.0 (xposed-sdk21-arm-20150430.zip) from the official thread from here
- java environment (JDK or JRE)
To sign the file put all files in one dir (including xposed-sdk21-arm-20150430.zip) and run:
Code:
java -jar signapk.jar -w testkey.x509.pem testkey.pk8 xposed-sdk21-arm-20150430.zip xposed-sdk21-arm-20150430_signed.zip
You just created xposed-sdk21-arm-20150430_signed.zip that you can flash.
2) Using a pre-Signed zipfile:
I attached a testkey-signed version of rovo89's file xposed-sdk21-arm-20150430.zip to this post for convenience, so you can skip the steps above.
Steps to install the Xposed framework for LP
1) put device in fastboot/download mode and boot the modded recovery image (see recovery thread)
2) choose "apply update from ADB" from recovery menu
Code:
adb sideload <yourpath>/xposed-sdk21-arm-20150430_signed.zip
3) reboot
4) choose allow 'unknown sources' in settings->security
5) copy the file XposedInstaller_3.0-alpha2.apk to your phone (or scan the QR code on the Xposed page to download this file to your phone directly.
6) use a file manager (like ES File Explorer, or the built-in Cabinet) to browse to and open XposedInstaller_3.0-alpha2.apk and install it.
Now you can download Xposed modules through the Xposed Installer app. I tried GravityBox [LP] (make sure you select the right version!) to change the launcher grid to 5x5 instead of 4x4. After a reboot that worked. I'm not saying that using GravityBox is safe, they warn that it may cause trouble with non-standard ROM's (such as ours).
Please not that I can't/won't provide any support for Xposed itself, please see the relevant Xposed threads for that.
Credits:
rovo89, author of the Xposed Framework

nice one, many thanks

Does anyone have then latest version please that's signed for this device
Sent from my YD201 using Tapatalk

read the start topic good, every thing you need is in there with links

Gojira-r32 said:
read the start topic good, every thing you need is in there with links
Click to expand...
Click to collapse
Which version of xposed is for yotaphone I see a few different versions on the xposed thread. Link From the op
Sent from my YD201 using Tapatalk

I used xposed-v68-sdk21-arm.zip just two days ago, and signed it myself according to the instructions.
It seems to play well, at least for two days
I just booted TWRP and sideloaded it, I never flashed the TWRP.
Had a little mess getting the driver to install in windows, when TWRP sideloads, it had a new identity in the device manager and I was unable to make accept the drivers I had. So I made a little manual edit in the .inf file from the yotaphone flashtool package, and then was able to load the driver needed. Google was my friend, but I can paste the change here later if someone want it.

Those who are using xposed do you notice any long freeze on the epd and reboots.
Sent from my YD201 using Tapatalk

adamo86 said:
Those who are using xposed do you notice any long freeze on the epd and reboots.
Sent from my YD201 using Tapatalk
Click to expand...
Click to collapse
Nope. I am running latest Xposed framework with gravitybox and youtube adaway. No crashes or freezes, but the battery life does fluctuate quite a bit sometimes. But I think that that is because of Lollipop.

No issues with xposed here either. Running alpha4 I believe.

Installed but not active.. That's what i get! Why is thaT?

Thanks!

I signed the last version of xposed using the method in the first post, and flashed (file attached) using TWRP. no issues so far.
no need to say, make sure you backup first!

Bootloop
I have accidentally flashed the xposed-sdk21-arm-20150430_signed.zip...so my phone stuck in bootloop. How can I uninstall it?

Wanderess said:
I have accidentally flashed the xposed-sdk21-arm-20150430_signed.zip...so my phone stuck in bootloop. How can I uninstall it?
Click to expand...
Click to collapse
SOLVED. Stock rom (4.4.3 HK) flashed with Yota Flasher. After this everything went smoothly.

Oficial Xposed running with no problems, well just one named Lollipop
Jeopardy said:
Nope. I am running latest Xposed framework with gravitybox and youtube adaway. No crashes or freezes, but the battery life does fluctuate quite a bit sometimes. But I think that that is because of Lollipop.
Click to expand...
Click to collapse
The same with me, Lollipop because using the EPD is so much better, otherwise I would happily be on KitKat, battery life on Lollipop is awfull, I also have the Xposed installed the official one with no problems, running some Modules to prevent battery from draining as much as possible in this Google Sucking Lollipop...

Related

RRO layers - Systemless root (NOT WORKING)

Okay so I have tried all the options on their development page on G+ but there seems to be a lot of arrogance from the devs about users with issues and not doing research even though following the instructions leads to nothing.
- Im rooted via CF's systemless root method
- I have TWRP 2.8.7.2 installed and working
- Busybox is installed in /system/xbin
- I have the correct Vendor image for my device
- Stock ROM 6.0.1
I use busy box on a rail to check its correctly installed and double check with a file explorer but still no themes will apply.
EDIT : Solved it - DON'T USE BUSYBOX ON RAILS ! for some reason it does not work with Layers correctly!
1. Uninstall any busy box installs
2. Reboot
3. Install busybox app from the play store and select /system/binx as the install location
4. Reboot
5. Profit
Anyone have any ideas to get this working ?
I'll give it a try had nothing but issues trying to use layers, currently got busybox on rails installed but as you've mentioned can't get it working, I'll try as you've suggested thanks
Sent from my Nexus 6P using Tapatalk
Spot on
hutzdani said:
Okay so I have tried all the options on their development page on G+ but there seems to be a lot of arrogance from the devs about users with issues and not doing research even though following the instructions leads to nothing.
- Im rooted via CF's systemless root method
- I have TWRP 2.8.7.2 installed and working
- Busybox is installed in /system/xbin
- I have the correct Vendor image for my device
- Stock ROM 6.0.1
I use busy box on a rail to check its correctly installed and double check with a file explorer but still no themes will apply.
EDIT : Solved it - DON'T USE BUSYBOX ON RAILS ! for some reason it does not work with Layers correctly!
1. Uninstall any busy box installs
2. Reboot
3. Install busybox app from the play store and select /system/binx as the install location
4. Reboot
5. Profit
Anyone have any ideas to get this working ?
Click to expand...
Click to collapse
Thank you so much for discovering this, I was going crazy why I couldn't create the overlay folder under vendor, this is the solution, to everyone who sees this, don't listen to whoever says busybox on rails is the way to go...
If you have supersu 2.65 and install busybox to /su/xbin then it will also work.
I have superuser 2.65 and following your instructions finally have layers working, thanks dude
Sent from my Nexus 6P using Tapatalk
Perfect, thank you
Sent from my Nexus 6P using Tapatalk
hutzdani said:
Okay so I have tried all the options on their development page on G+ but there seems to be a lot of arrogance from the devs about users with issues and not doing research even though following the instructions leads to nothing.
- Im rooted via CF's systemless root method
- I have TWRP 2.8.7.2 installed and working
- Busybox is installed in /system/xbin
- I have the correct Vendor image for my device
- Stock ROM 6.0.1
I use busy box on a rail to check its correctly installed and double check with a file explorer but still no themes will apply.
EDIT : Solved it - DON'T USE BUSYBOX ON RAILS ! for some reason it does not work with Layers correctly!
1. Uninstall any busy box installs
2. Reboot
3. Install busybox app from the play store and select /system/binx as the install location
4. Reboot
5. Profit
Anyone have any ideas to get this working ?
Click to expand...
Click to collapse
For me with su 2.65 and busybox on rails, things are working. However, not as expected. Sometime even I change some overlay it won't apply. Sometime the dialer and other fonts won't be visible at all. May be I should try ur method. Thanks.
Sent from my Nexus 6P using Tapatalk
This method will defeat the purpose of systemless root though, right? So Android Pay and Good for Enterprise will cease to work because /system had been edited?

Installing Xposed on Fire TV 2 (Guide)

How to install Xposed on Amazon Fire TV 2 (Guide)
PLEASE READ
As per normal I will not take responsibility if you do something wrong or brick your fire TV 2, you need to be already Rooted & running a custom recovery/rom If you don't know how to do this or not sure. Do Not Use until you have those running!
(I did not make these I'm just helping out some of the forum members who don't know how to install Xposed on the Fire Tv2 please go to the Xposed thread & leave thanks if using Xposed thank you)
First download my zip with all files attached or use my Mediafire mirror link below
Steps -
1) Copy your 5.0.4 (or latest stable version) zip file on your external micro SD card (skip this step if already on a rbox custom rom & have twrp recovery & move to step5)
2) Launch Recovery
3) Now hit Install, Select Storage and choose Micro SDCard, and flash your 5.0.4 ROM (or latest version),
4) Reboot, then complete the usual first time steps to get to the main menu.
5) Check ADB Debbuging and Unknown Applications as usual on the Developer Options section.
6) Download v80 SDK 22 ARM64 zip
7) Push the file to the AFTV2 into any folders you like (I use download or the main directory).
8) Launch recovery again and flash the zip file, after that reboot.
9) Download and Install Xposed Installer
10) Download and Install HDX
11) Open the Xposed Installer, then select framework & see if Xposed is active?
12) Go to modules & activate HDX
13) Reboot to get HDX working
14) Enjoy Xposed on Fire Tv2!
You should now have a working Xposed Framework on Your AFTV2
My all in 1 download zip is at the bottom in the attachments section on this page
Or you can use my Mediafire Mirror link which also has my All in One Xposed Zip or single file downloads-
https://www.mediafire.com/folder/gsvf792qilga9/AFTV2_Xposed_Files
Or If having trouble you can also use the links here to download the files manually one by one.
Manual downloads -
v80 SDK 22 ARM64 http://forum.xda-developers.com/showthread.php?t=3034811
Xposed Installer Alpha 4 http://forum.xda-developers.com/showthread.php?t=3034811
HDX http://forum.xda-developers.com/showthread.php?t=2618158
But please leave thanks in the threads above If you download any from there.
& If this thread helps please press that thanks button
deanr1977 said:
How to install Xposed on Amazon Fire TV 2 (Guide)[/
1) Copy your 5.0.4 (or latest stable version) zip file on your external micro SD card (skip this step if already on a rbox custom rom & have twrp recovery & move to step5)
2) Launch Recovery
3) Now hit Install, Select Storage and choose Micro SDCard, and flash your 5.0.4 ROM (or latest version),
4) Reboot, then complete the usual first time steps to get to the main menu.
5) Check ADB Debbuging and Unknown Applications as usual on the Developer Options section.
6) Download v80 SDK 22 ARM64 zip
7) Push both files to the FTV to any folders you like (I use download or the main directory).
8) Launch recovery again and flash both files, after that reboot.
9) Download and Install Xposed Installer
10) Download and Install HDX
11) Reboot to get HDX working
12) Make sure the modules are activated & reboot if need.
13) Enjoy Xposed on Fire
If having trouble you can also use the links to download the files -
v80 SDK 22 ARM64 http://forum.xda-developers.com/showthread.php?t=3034811
Xposed Installer Alpha 4 http://forum.xda-developers.com/showthread.php?t=3034811
HDX http://forum.xda-developers.com/showthread.php?t=2618158
But please leave thanks in the threads above If you download any from there.
& If this thread helps please press that thanks button
Click to expand...
Click to collapse
7) Both files ??? Have only 1 zip sdk22
Tryed it.. Flashed play store, error 976 during install from an app
Gesendet von iPad mit Tapatalk
Read the title, this is not how to install the playstore it's how to install xposed
Sent from my SM-G900F using Tapatalk
deanr1977 said:
Read the title, this is not how to install the playstore it's how to install xposed
Sent from my SM-G900F using Tapatalk
Click to expand...
Click to collapse
Thanks I was just coming to see if xposed could be installed on the aftv2. I also am interested in the play store. Has there been any success installing it properly with xposed support like the first gen. I have tried installing as system apps only to have the store force close, no location services and Google services need to be updated errors.
deanr1977 said:
Read the title, this is not how to install the playstore it's how to install xposed
Sent from my SM-G900F using Tapatalk
Click to expand...
Click to collapse
In your Xposed guide you wrote from two files but where is the second?
7) Both files ??? Have only 1 zip sdk22
goodhur said:
Thanks I was just coming to see if xposed could be installed on the aftv2. I also am interested in the play store. Has there been any success installing it properly with xposed support like the first gen. I have tried installing as system apps only to have the store force close, no location services and Google services need to be updated errors.
Click to expand...
Click to collapse
Yes this version of Xposed can be installed on the AFTV2 , the playstore is a bugger To get working, I myself have a Play store that opens but won't let you download anything it just throws a error code at you (976 error), not as good compared to the gen 1 so I've read.
Pat1981 said:
In your Xposed guide you wrote from two files but where is the second?
7) Both files ??? Have only 1 zip sdk22
Click to expand...
Click to collapse
Ah MY BAD! Thank you for noticing that, most of my threads are done on my phone late at night so some spelling mistakes happen or I miss something (but not too often Haha). I've corrected it now cheers
@Dean Thx, same error 976 but Google play movies works ..so sideload apps is ok for me if they're running
I cant able to make HDX to work. I tried and booted many times no luck.
Help Pls
go2xraj said:
I cant able to make HDX to work. I tried and booted many times no luck.
Help Pls
Click to expand...
Click to collapse
Did you do the steps in the right order? Did you do all the reboots required?
Did you apply the hdx to be turned on in the module settings via the xposed app?
Try all these or if not uninstall & repeat the steps one by one as instructed.
Hope this helps If so press that thanks button
Sent from my SM-G900F using Tapatalk
deanr1977 said:
Did you do the steps in the right order? Did you do all the reboots required?
Did you apply the hdx to be turned on in the module settings via the xposed app?
Try all these or if not uninstall & repeat the steps one by one as instructed.
Hope this helps If so press that thanks button
Sent from my SM-G900F using Tapatalk
Click to expand...
Click to collapse
I tried everything but no luck.
My frame work is not installed I am not getting su access.
Sent from my iPhone using Tapatalk
go2xraj said:
I tried everything but no luck.
My frame work is not installed I am not getting su access.
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
Have you accepted the root prompt to tick on screen when you rooted? If the framework isn't installed you didn't flash the zip in recovery yet? Or did you do something to break su? (Like downgrading your recovery & break su?) If so start again & reflash your rom or contact rbox he maybe able to help with a broken su
Sent from my SM-G900F using Tapatalk
deanr1977 said:
Have you accepted the root prompt to tick on screen when you rooted? If the framework isn't installed you didn't flash the zip in recovery yet? Or did you do something to break su? (Like downgrading your recovery & break su?) If so start again & reflash your rom or contact rbox he maybe able to help with a broken su
Sent from my SM-G900F using Tapatalk
Click to expand...
Click to collapse
Su is working fine. But when I try framework it's not promoting. I flashed the zip in recovery.
Sent from my iPhone using Tapatalk
---------- Post added at 06:20 PM ---------- Previous post was at 06:16 PM ----------
{
"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"
}
Sent from my iPhone using Tapatalk
go2xraj said:
Su is working fine. But when I try framework it's not promoting. I flashed the zip in recovery.
Sent from my iPhone using Tapatalk
---------- Post added at 06:20 PM ---------- Previous post was at 06:16 PM ----------
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
You could try the manual links & check the md5's & or redownload the hdx apk, if you reflash your rom you will need to reinstall the xposed framework anyway so try again or you could get some support from the author in the manual links? I installed with no problems using the steps I provided & so have some other forum members too.
Sent from my SM-G900F using Tapatalk
deanr1977 said:
You could try the manual links & check the md5's & or redownload the hdx apk, if you reflash your rom you will need to reinstall the xposed framework anyway so try again or you could get some support from the author in the manual links? I installed with no problems using the steps I provided & so have some other forum members too.
Sent from my SM-G900F using Tapatalk
Click to expand...
Click to collapse
did you Download and Install Xposed Installer?
Yes I tried many times No luck
Sent from my iPhone using Tapatalk
go2xraj said:
Yes I tried many times No luck
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
I done It on my friends box today, followed the instructions again but the only thing I forgot was to install the xposed installer, I installed that & opened to make sure the framework was installed, then checked the modules, enabled The hdx & then rebooted, & after that it was all working fine.
I have done it a couple of times and never had an issue. Make sure Xposed Installer has root access. Did you check under /data/data/de.robv.android.xposed.installer/conf/ if the file modules.list exists? Else try uninstalling and re-installing Xposed Installer. It is definitely an issue with the Xposed Installer app and not the framework.
Also having issues finalizing xposed
I also am having issues. I have been trying to figure this out for hours. I followed the step-by-step instructions exactly... a couple times actually. (Although I am new to this so I might not have some terminology correct, my apologize in advance.)
- I have a rooted Fire TV 2
- Flashed rbox's 5.0.5, v4 recovery rom via adb (Could the v4 be the issue? I heard that people who have 5.0.4, and 5.0.5 v1 have had success, but nothing on v4?)
- Downloaded the v80_SDK_22 and 23 ARM64.zip (tired both)
- Flashed the above zip file via the recovery (TWRP)
- Pushed and Installed Xposed installer, 3.0 alpha 4
- Pushed and installed the HDX (but havent gotten a chance to do anything with it.
I open up Xposed, and it says "The latest version of Xposed is currently not active. Did you framework and reboot?"
Then I click Framework, to install/reboot and I get a red message stating "The Xposed framework is not installed. Pelase download the latest zip file from XDA and flash it manually" Which I thought I did through the recovery menu through TWRP...
Another dumb question... So I have rbox's TWRP, but what abour the ClockWorkMod... How do I know if I have this or not... is it needed?
Did I do something wrong??
jamarkie said:
I also am having issues. I have been trying to figure this out for hours. I followed the step-by-step instructions exactly... a couple times actually. (Although I am new to this so I might not have some terminology correct, my apologize in advance.)
- I have a rooted Fire TV 2
- Flashed rbox's 5.0.5, v4 recovery rom via adb (Could the v4 be the issue? I heard that people who have 5.0.4, and 5.0.5 v1 have had success, but nothing on v4?)
- Downloaded the v80_SDK_22 and 23 ARM64.zip (tired both)
- Flashed the above zip file via the recovery (TWRP)
- Pushed and Installed Xposed installer, 3.0 alpha 4
- Pushed and installed the HDX (but havent gotten a chance to do anything with it.
I open up Xposed, and it says "The latest version of Xposed is currently not active. Did you framework and reboot?"
Then I click Framework, to install/reboot and I get a red message stating "The Xposed framework is not installed. Pelase download the latest zip file from XDA and flash it manually" Which I thought I did through the recovery menu through TWRP...
Another dumb question... So I have rbox's TWRP, but what abour the ClockWorkMod... How do I know if I have this or not... is it needed?
Did I do something wrong??
Click to expand...
Click to collapse
I will check my all in one zip again & reload it but I'm sure there is nothing wrong with it? I'm not home now so it will have to wait until tomorrow, please if you can't get it working with the all in one zip use the manual one by one download links.
Steps
1. download all the files ether from the all in one zip or from the manual download links -
Xposed Framework zip
HDX
Xposed Installer
2. Put the Xposed Framework zip on your Sd card In the main location not in a folder
3. Reboot Into Twrp find & install Xposed Framework zip, now reboot
4. Install the Xposed Installer, then open & select framework & see if Xposed is active?
5. Reboot & then install HDX apk
6. Open Xposed Installer & select modules
7. Activate HDX, exit the app & reboot
8. You should now have a working Xposed Framework on Your AFTV2
Hope this helps if so press that thanks button
Sent from my SM-G900F using Tapatalk
deanr1977 said:
I will check my all in one zip again & reload it but I'm sure there is nothing wrong with it? I'm not home now so it will have to wait until tomorrow, please if you can't get it working with the all in one zip use the manual one by one download links.
Steps
1. download all the files ether from the all in one zip or from the manual download links -
Xposed Framework zip
HDX
Xposed Installer
2. Put the Xposed Framework zip on your Sd card In the main location not in a folder
3. Reboot Into Twrp find & install Xposed Framework zip, now reboot
4. Install the Xposed Installer, then open & select framework & see if Xposed is active?
5. Reboot & then install HDX apk
6. Open Xposed Installer & select modules
7. Activate HDX, exit the app & reboot
8. You should now have a working Xposed Framework on Your AFTV2
Hope this helps if so press that thanks button
Sent from my SM-G900F using Tapatalk
Click to expand...
Click to collapse
After the new steps, it is working perfectly for me. I used the 22nd version of the Xposed frameworks zip, NOT the 23rd, should have listened the first time (not sure if that had anything to do with it or not)
But, it is up and running. Thank you!

Viper4android

is there someone who succes in the installation of this app?
when i open it,it ask if i want to install the drivers and stuck and after few seconds it crash
someone can help me with this ?
Many guys use this and there already was enough discussions, there are even seperate threads created with tutorials, use search for once[emoji14]
I managed to get Viper4Android working this way:
First off, I use stock with systemless root and xposed so the many security features included in stock made it a bit tricky. If you use a custom rom with a custom kernel, it's likely a bit easier.
I flashed my stock image from the google website
I flashed a custom kernel and then Supersu and then the lolliviper zip from this thread: http://forum.xda-developers.com/google-nexus-5/themes-apps/discussion-viper4android-t2543796
I installed busybox from the play store, opened the busybox app and let it install.
I disabled selinux enforcing using the app from this thread:
http://forum.xda-developers.com/showthread.php?t=2524485
Then I ran viper4audio and installed the driver from the app
Then I rebooted into twrp and used the terminal to delete /system/etc/audioeffects.conf and rebooted.
Voila, working Viper4android.
exad said:
I managed to get Viper4Android working this way:
First off, I use stock with systemless root and xposed so the many security features included in stock made it a bit tricky. If you use a custom rom with a custom kernel, it's likely a bit easier.
I flashed my stock image from the google website
I flashed a custom kernel and then Supersu and then the lolliviper zip from this thread: http://forum.xda-developers.com/google-nexus-5/themes-apps/discussion-viper4android-t2543796
I installed busybox from the play store, opened the busybox app and let it install.
I disabled selinux enforcing using the app from this thread:
http://forum.xda-developers.com/showthread.php?t=2524485
Then I ran viper4audio and installed the driver from the app
Then I rebooted into twrp and used the terminal to delete /system/etc/audioeffects.conf and rebooted.
Voila, working Viper4android.
Click to expand...
Click to collapse
By the way, you can run a supolicy script for media server instead of disabling selinux because that would increase security risks and don't you mean audio_effects.conf in vendor? IMO better to add v4a entries than delete it, it's there for a reason I would think
hinxnz said:
By the way, you can run a supolicy script for media server instead of disabling selinux because that would increase security risks and don't you mean audio_effects.conf in vendor? IMO better to add v4a entries than delete it, it's there for a reason I would think
Click to expand...
Click to collapse
Yes! Thanks for the corrections! I haven't done it in a while! ?

[Honor 8 Nougat General Info/Guides]

So I've been getting lots of different questions about how to get this and that on android 7.0 nougat so to make it easier for everyone to find ill create this thread.
1. TWRP
Is twrp available for N? If so where can I find it?
http://forum.xda-developers.com/p9/how-to/twrp-3-0-2-0-n-t3506947
2. ROOT
Oh cool now I have twrp. So how can I root?
Download phh r275 version and flash
Download and install Material phh apk: Release post
Now you should be good to go. If any issues feel free to ask here or in phh official thread.
3. BUSYBOX
User friendly zip flash this and the below steps isn't needed!
Flashable zip (1.25.1) : https://mega.nz/#!zlRm3S4B!9rAtfi0wI8oFu6xjJITgF0dRwV21UPsxvZQZzMo6VXk
This one is a bit tricky. If you run root. But
Download jrummy's busybox on Gplay.
Select installation folder to /system/xbin or if u don't want to touch system folder use /sbin if available. U can replace jrummy''s busybox with stericsson version if you like it better. But you must have installed jrummys version first if you're booted into android. Else stericsson busybox might have issues installing. Or u can use zips which contains busybox Google busybox flashable.
4. VIPER
More user friendly if using this zip the below steps should only need se Linux mode changer!
Flashable zip: https://mega.nz/#!f8wlzIrB!vVCAv-xqWB8lOrcQTgIyFL0WS7MFsE9iFb08E1YKV2Y
Is quite a mess to get working. You need se Linux mode set to permissive. Flash guitarheroes version of v4a (2.5.0.5) once flashed you need to replace the audio effects in /vendor/etc/audio_effects else you'll get I/O driver installation failed. Copy the .so files to /system/lib and /system/lib64 and set correct permission. If you have wrong busybox message. Try different versions of busybox but I use latest from stericsson and it works great. Hope u get it working.
Oh and don't forget to allow sd storage access or you'll get driver I/O error as well. And se Linux changed to permissive use se Linux mode changer for it. It works great with phh!
5. MAGISK
As it seems to be now. Magisk won't work due to loop issues on boot. And mount seems to have losetup fail 1 on mounting a .img while booted.
6. Xposed
Not yet available. Be patient rovo needs time we can wait for him
7. comes soon.
More stuff.
Sent from my FRD-L09 using Tapatalk
Updated busybox and v4a zip is found here https://mega.nz/#F!HlpzlaZL!wGNoJinVPZL0YiBcdbLlKA
V4a should be more easy installed shouldn't give you driver I/O error anymore.
Sent from my FRD-L09 using Tapatalk
Updated op with links.
V4a zip more user friendly.
Same goes for busybox. No more struggle
Sent from my FRD-L09 using Tapatalk
Any updates on xposed?

[Q] any PH1 rom with no GAPPS?

Hi All,
I am interested in any ROM, preferably based on LOS, that has no GAPPS pre-installed?
Is there any such? nougat, oreo, and whatever P is... doesn't matter.
A follow-up question for the more technically advanced than I: why is this such a problem for PH1? I believe the PIXEL phones also have A/B partitions, and are supported by LOS
Thanks!
lleo_ said:
Hi All,
I am interested in any ROM, preferably based on LOS, that has no GAPPS pre-installed?
Is there any such? nougat, oreo, and whatever P is... doesn't matter.
A follow-up question for the more technically advanced than I: why is this such a problem for PH1? I believe the PIXEL phones also have A/B partitions, and are supported by LOS
Thanks!
Click to expand...
Click to collapse
The number of developers fixing issues on the pixel vs this phone is astounding...
rignfool said:
The number of developers fixing issues on the pixel vs this phone is astounding...
Click to expand...
Click to collapse
I do recognize that, but given similarities between devices, would not be possible to adopt the work done by those developers. Granted that I ask this with the knowledge of a noob.
To follow up are you saying that there is no such as GAPPS-less ROM for PH1?
lleo_ said:
I do recognize that, but given similarities between devices, would not be possible to adopt the work done by those developers. Granted that I ask this with the knowledge of a noob.
To follow up are you saying that there is no such as GAPPS-less ROM for PH1?
Click to expand...
Click to collapse
There are... But they come and go as far as updates and such...
The demand is for Google... And moar features without losing Google...
Now... What you can do/try is wander over to the Project Trebble area... I would assume that you will find a plethora of development...
You're gonna be wading in some unknown territory... And it'll be a mystery as to what works... And whether it's fixable... Good luck
EDIT: or... You can magisk yourself... And try NanoMod... I think that disables a ton of Google stuff and puts FOSS stuff in it's place...
Sir! Thank You for your post. At first I thought it was a joke, but I learned something today. The concept and related work of project Treble bypassed me. I have already a GApps-less LOS on my Ph1. Again thanks!
Don't know if this applies, but lots of ppl are successfully running GSIs on the Essential.
Maybe some of them are GAPP-less?
@lleo_ another thing you can always do, is run Stock Android and Debloat it and run it Gapp Free, just like any custom rom...
As they say YMMV (Your Mileage May Vary), and I found Stock Oreo to be more stable on the Essential, so I debloated it, made it Deodex and patched for Signature Spoofing and of course Gapp Free. I still have the Gboard, Contacts, Messeges, and Phone, but these can be removed and replaced easily, any and everything Google can be taken out.
See the screen shot...
DoR3M3 said:
@lleo_ another thing you can always do, is run Stock Android and Debloat it and run it Gapp Free, just like any custom rom...
As they say YMMV (Your Mileage May Vary), and I found Stock Oreo to be more stable on the Essential, so I debloated it, made it Deodex and patched for Signature Spoofing and of course Gapp Free. I still have the Gboard, Contacts, Messeges, and Phone, but these can be removed and replaced easily, any and everything Google can be taken out.
See the screen shot...
Click to expand...
Click to collapse
Hey can you explain how to debloat, is there a script for it. How do you patch it and deodex it.
Thanks
arjunv said:
Hey can you explain how to debloat, is there a script for it. How do you patch it and deodex it.
Thanks
Click to expand...
Click to collapse
These steps below, you're probably going to wonder, why do I need to Deodex and Signature Spoof just to debloat? Good point, you don't, but then you can only get so far away from Google in your system by not doing this. The point to this method is to have Signature Spoofing support in Android, where you can better utilize microg support, to have it as the alternative instead of Google.
The Deodex and Nanodroid-patcher support, only need to be performed if you are running Stock Android, or a ROM that has not been Deodex and doesn't support Signature Spoofing. This also doesn't have to be done, if you still want to run the Google Services/Framework.
If you only want to Debloat, then follow the Debloat section below.
For the Deodex, YMMV (Your Mileage May Vary), but it's been working great for me, so here goes!
I did this on Stock Oreo 8.1.0 which has both odex and vdex files in /system/framework, so I followed the VDEX method mentioned below.
This is going to be easy if you're a Linux User/Geek, if you are running Windows and have never done anything like this, and if you have both odex and vdex files on your phone in /system/framework, then I can do this for you if you want, unless you want to get into learning this.
If you want me to, then in TWRP, click Mount and click on System at the top to mount it and then run this command in the command prompt, I'm assuming you have adb/fastboot installed...
adb pull /system/framework framework If that doesn't work, it typically ends up being, adb pull /system/system/framework framework
I'm assuming your device is arm64, so then look in the directory; framework/oat/arm64/ or /arm, and attach the services.vdex file and I'll patch it for you.
Deodex & Signature Spoofing
1. Check /system/framework, do you see both .odex and .vdex files?
2. If you have both .odex and .vdex files follow the guide under VDEX, if you only have .odex files, then follow the ODEX section. Don't be confused by the guide as only having either services.vdex or services.odex. You are looking to see if all the files are one or the other or both.
https://gitlab.com/Nanolx/NanoDroid/blob/master/doc/DeodexServices.md
3. If you have both files and need to follow the VDEX method in Windows, then you'll need cygwin as stated on the vdexExtractor Github, and install zlib-devel from the cygwin installer. cygwin as stated on the site is a collection of GNU and Open Source tools, this allows you to compile the vdexExtractor source in Windows into the running program.
https://www.cygwin.com/
4. If you have to do the ODEX method the baksmali.jar and smali.jar are already built, there's a download for them on the GitHub page, and you'll need to have Java JRE installed.
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
Whether I'm patching it, or you follow one of the methods I've described, once this is done, you'll need to download the latest NanoDroid-patcher. This is what patches the Deodex ROM to apply signature spoofing support.
https://forum.xda-developers.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928 - Stable Download (Nanolx)
Be sure to also grab NanoDroid-fdroid if you don't have F-droid installed. You might want to also grab NanoDroid-microG while you're at it, if you want to go for a real system Google Debloat too, but any concerns, or issues, please post on Setialpha's NanoDroid post for any microg support.
As soon as you're done with the Deodex steps, at the bottom the tutorials clearly state; unmount /system and flash the NanoDroid-Patcher, so uncheck System that you checked before in Mount, and now install/flash NanoDroid-patcher, TWRP > Install
If the device is not rooted, then make sure to root it with Magisk. Personally I find it best with the Essential to now boot to the bootloader, then boot back into TWRP. In TWRP flash NanoDroid-fdroid if you grabbed it, then the boot.img and then Magisk, then boot into the System.
Debloating Apps Systemlessly
1. Open Magisk Manager - Downloads - search for Debloater, then you should see Debloater (Terminal Emulator).
2. Reboot
3. Now you'll need a terminal emulator in Android because Debloater (Terminal Emulator) runs from the command line, it doesn't have a GUI. I recommend using Termux, it's a very powerful terminal emulator with lots of things going on about it. If you didn't install F-Droid as I mentioned before, then you should of noticed on the NanoDroid download link NanoDroid-fdroid, download this and flash/install it in TWRP.
4. Now with F-Droid, open it, go to Settings and turn on Expert mode and check Privileged Extension, then close and reopen F-Droid. Next, search for and install Termux.
5. Open Termux and at the command prompt type su for superuser access. On a side note, if you don't know, or have never used Termux, press and hold Vol UP on the phone and tap q on the keyboard which will give you some short cut options. But you'll want to go online to their Wiki and learn about the power of Termux.
6. Now simply type debloat and remove what you want. Remember if you make a mistake, you have Option 4 to reinstall what you removed by mistake.
That's all there is to Deodex, Signature Spoof Patching and Debloating apps systemlessly in Android.
If the VDEX/ODEX methods don't work for some strange reason, then you'll want to explore using SuperR's Kitchen to Deodex the rom, and most people recommend you get the donate version for better features and support.
https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
Good Luck
DoR3M3 said:
These steps below, you're probably going to wonder, why do I need to Deodex and Signature Spoof just to debloat? Good point, you don't, but then you can only get so far away from Google in your system by not doing this. The point to this method is to have Signature Spoofing support in Android, where you can better utilize microg support, to have it as the alternative instead of Google.
The Deodex and Nanodroid-patcher support, only need to be performed if you are running Stock Android, or a ROM that has not been Deodex and doesn't support Signature Spoofing. This also doesn't have to be done, if you still want to run the Google Services/Framework.
If you only want to Debloat, then follow the Debloat section below.
For the Deodex, YMMV (Your Mileage May Vary), but it's been working great for me, so here goes!
I did this on Stock Oreo 8.1.0 which has both odex and vdex files in /system/framework, so I followed the VDEX method mentioned below.
This is going to be easy if you're a Linux User/Geek, if you are running Windows and have never done anything like this, and if you have both odex and vdex files on your phone in /system/framework, then I can do this for you if you want, unless you want to get into learning this.
If you want me to, then in TWRP, click Mount and click on System at the top to mount it and then run this command in the command prompt, I'm assuming you have adb/fastboot installed...
adb pull /system/framework framework If that doesn't work, it typically ends up being, adb pull /system/system/framework framework
I'm assuming your device is arm64, so then look in the directory; framework/oat/arm64/ or /arm, and attach the services.vdex file and I'll patch it for you.
Deodex & Signature Spoofing
1. Check /system/framework, do you see both .odex and .vdex files?
2. If you have both .odex and .vdex files follow the guide under VDEX, if you only have .odex files, then follow the ODEX section. Don't be confused by the guide as only have either services.vdex or services.odex. You are looking to see if all the files are one or the other or both.
https://gitlab.com/Nanolx/NanoDroid/blob/master/doc/DeodexServices.md
3. If you have both files and need to follow the VDEX method in Windows, then you'll need cygwin as stated on the vdexExtractor Github, and install zlib-devel from the cygwin installer. cygwin as stated on the site is a collection of GNU and Open Source tools, this allows you to compile the vdexExtractor source in Windows into the running program.
https://www.cygwin.com/
4. If you have to do the ODEX method the baksmali.jar and smali.jar are already built, there's a download for them on the GitHub page, and you'll need to have Java JRE installed.
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
Whether I'm patching it, or you follow one of the methods I've described, once this is done, you'll need to download the latest NanoDroid-patcher. This is what patches the Deodex ROM to apply signature spoofing support.
https://forum.xda-developers.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928 - Stable Download (Nanolx)
Be sure to also grab NanoDroid-fdroid if you don't have F-droid installed. You might want to also grab NanoDroid-microG while you're at it, if you want to go for a real system Google Debloat too, but any concerns, or issues, please post on Setialpha's NanoDroid post for any microg support.
As soon as you're done with the Deodex steps, at the bottom the tutorials clearly state; unmount /system and flash the NanoDroid-Patcher, so uncheck System that you checked before in Mount, and now install/flash NanoDroid-patcher, TWRP > Install
If the device is not rooted, then make sure to root it with Magisk. Personally I find it best with the Essential to now boot to the bootloader, then boot back into TWRP. In TWRP flash NanoDroid-fdroid if you grabbed it, then the boot.img and then Magisk, then boot into the System.
Debloating Apps Systemlessly
1. Open Magisk Manager - Downloads - search for Debloater, then you should see Debloater (Terminal Emulator).
2. Reboot
3. Now you'll need a terminal emulator in Android because Debloater (Terminal Emulator) runs from the command line, it doesn't have a GUI. I recommend using Termux, it's a very powerful terminal emulator with lots of things going on about it. If you didn't install F-Droid as I mentioned before, then you should of noticed on the NanoDroid download link NanoDroid-fdroid, download this and flash/install it in TWRP.
4. Now with F-Droid, open it, go to Settings and turn on Expert mode and check Privileged Extension, then close and reopen F-Droid. Next, search for and install Termux.
5. Open Termux and at the command prompt type su for superuser access. On a side note, if you don't know, or have never used Termux, press and hold Vol UP on the phone and tap q on the keyboard which will give you some short cut options. But you'll want to go online to their Wiki and learn about the power of Termux.
6. Now simply type debloat and remove what you want. Remember if you make a mistake, you have Option 4 to reinstall what you removed by mistake.
That's all there is to Deodex, Signature Spoof Patching and Debloating apps systemlessly in Android.
If the VDEX/ODEX methods don't work for some strange reason, then you'll want to explore using SuperR's Kitchen to Deodex the rom, and most people recommend you get the donate version for better features and support.
https://forum.xda-developers.com/ap...dows-linux-superr-s-kitchen-v3-0-0-0-t3601702
Good Luck
Click to expand...
Click to collapse
Thank you so much for a detailed post
DoR3M3 said:
@lleo_ another thing you can always do, is run Stock Android and Debloat it and run it Gapp Free, just like any custom rom...
As they say YMMV (Your Mileage May Vary), and I found Stock Oreo to be more stable on the Essential, so I debloated it, made it Deodex and patched for Signature Spoofing and of course Gapp Free. I still have the Gboard, Contacts, Messeges, and Phone, but these can be removed and replaced easily, any and everything Google can be taken out.
See the screen shot...
Click to expand...
Click to collapse
Stoked to see two things here...1.) the answer to the question I was searching for about running my Essential with no gapps...and 2.) your choice in file explorers!

Categories

Resources