Help!!!! - HTC One A9

Hi,i updated my Htc A9 device from Marshmallow stock rom to Nougat official rom.
My Device Info:
***UNLOCKED***
S-OFF
CID BS_US001
MID 2PQ912000
Os 2.18.617.10​​I decided to root my device but i have problem on that!!!
Step 1- installed twrp 3.1.1-0 by fastboot mode
Step 2-installed Magisk Manager and download magisk v 12.0 zip file from magisk manager.
Step 3-Reboot to twrp recovery and select (Swipe To Allow Modifictions),then i flashed Magisk v 12.zip file from install menu and after that reboot device.(recovery log)
Step 4-Run Magisk Manager and see this Status:
installed magisk ver 12.0 --->Iatest version magisk installed and Properly rooted--->8:MAGISKSU
(tpjohnwu)Pic 1.
Superuser show on Magisk manager menu(Pic 2) and apps send request for permission to #superuser(Pic 3).
On the surface everything is OK but i have problem,for example i installed Link2SD app to use that for uninstall system apps and freez apps but does not work properly & show error msg(Pic 4).
I would be honored if you tell me what is my problem,thanks...

Hi, did you install busybox? I'm not familiar with Magisk nor Link2SD, but I can imagine there's an option to "ignore systemless root" so you'll be able to make changes to the system partition.
Do other root apps have problems as well?

eavandijk83 said:
Hi, did you install busybox? I'm not familiar with Magisk nor Link2SD, but I can imagine there's an option to "ignore systemless root" so you'll be able to make changes to the system partition.
Do other root apps have problems as well?
Click to expand...
Click to collapse
I can't install busy box,when o clicked on install button,busy box closed!!!!

cowboy_ea said:
I can't install busy box,when o clicked on install button,busy box closed!!!!
Click to expand...
Click to collapse
I think you'll be better off if you install the latest LOS ROM (20170530) and flash SuperSU. I don't know about Magisk, but I've never experienced problems with SuperSU. Once rooted, install busybox from the playstore and install into "system/xbin/"
In SuperSU make sure you override LOS root settings since it's set to off by default. By the way, you can turn on LOS root settings manualy. That way you don't need Magisk or SuperSU at all. Settings can be unlocked by tapping the build number several times in settings-->Device status. A menu will be unlocked called Developers options. Within that menu you'll find the root settings.
Good luck

Related

[Q] Systemless SuperSU failed everytime (Binaries need to be updated)

Hello,
I have a problem and I will try to explain that precisely.
(I'm on Galaxy S6 G920F Stock Firmware)
I have tried to flash SuperSU in Systemless mode and I have followed this tutorial : http://forum.xda-developers.com/showpost.php?p=69412347&postcount=1215&branch_used=true
1st try :
Wiped all partitions and Flash Stock Firmware
Flash TWRP
SN Green response
Push Ramdisk and .supersu patch with ADB
In TWRP : Terminal : echo "SYSTEMLESS=true" > /data/.supersu
Flashed SuperSU SR2
Succeed with no error
And then... "Binaries need to be updated" in SuperSU app (even with reboot) and Root not working.
Then, I have tried with SR1 and SR3, not working too.
2nd try :
I have re-flashed the stock firmware (and wipe all partitions)
And tried again the same steps BUT NOW with Arter Kernel.
Not working too with SR1, SR2 and SR3.
I have missed something?
Thanks in advance!
Did you wipe data after install the SuperSU zip?
forumber2 said:
Did you wipe data after install the SuperSU zip?
Click to expand...
Click to collapse
I have a fresh install of the firmware, before installing the rom I have wipe data / system and all other
So no data left from my other rom
LucaXperia said:
I have a fresh install of the firmware, before installing the rom I have wipe data / system and all other
So no data left from my other rom
Click to expand...
Click to collapse
I mean did you wipe after install SuperSU zip, not before
forumber2 said:
I mean did you wipe after install SuperSU zip, not before
Click to expand...
Click to collapse
I have to wipe all my personal data after flashing SuperSU ?
LucaXperia said:
I have to wipe all my personal data after flashing SuperSU ?
Click to expand...
Click to collapse
You have to NOT wipe data after flashing SuperSU
forumber2 said:
You have to NOT wipe data after flashing SuperSU
Click to expand...
Click to collapse
Yeah, look at the first post, I updated it
I've had this same problem too. Here's what I did to resolve the problem
Code:
1. Clear all PHH SuperUser app data
2. Uninstall PHH SuperUser
3. Flash the latest version (r266 ATM)[URL="http://forum.xda-developers.com/apps/magisk/magisk-phh-s-superuser-android-pay-t3435921"]HERE[/URL] phh super user binaries
4. Reboot and re-install PHH Superuser from market
5. Haven't had the issue since.
One thing I did notice was as long as you didn't need to request /new/ admin rights, things would still work. It was when you needed to grant a new app root access.
nolimit78 said:
I've had this same problem too. Here's what I did to resolve the problem
Code:
1. Clear all PHH SuperUser app data
2. Uninstall PHH SuperUser
3. Flash the latest version (r266 ATM)[URL="http://forum.xda-developers.com/apps/magisk/magisk-phh-s-superuser-android-pay-t3435921"]HERE[/URL] phh super user binaries
4. Reboot and re-install PHH Superuser from market
5. Haven't had the issue since.
One thing I did notice was as long as you didn't need to request /new/ admin rights, things would still work. It was when you needed to grant a new app root access.
Click to expand...
Click to collapse
I would like to use SuperSU
And PHH seems to be not Systemless
LucaXperia said:
I would like to use SuperSU
And PHH seems to be not Systemless
Click to expand...
Click to collapse
PHH was specifically created to handle systemless.

Pokemon GO on Oneplus One custom ROM

Hey guys
Is there any method working with the newest version of Pokemon GO to allow Oneplus One custom ROM users to play this game? The Internet is full of methods, I've already tried some but didn't work. Do you have any working idea for now?
Thanks in advance
Check your inbox.
But for all the other folks.
1. Install suhide http://forum.xda-developers.com/apps/supersu/suhide-t3450396 (via recovery)
2. Install root switch apk https://www.asus.com/zentalk/tw/for...wNDk1fGJmMjhjZGZifDE0NzY0MDUzNjB8MHwxNzM1NDI=
3. Start the root switch app and toggle the first switch off (this will "disable" your root).
4. Play the game
5. If your ready playing and you wanna use root again just toggle the switch back on in the root switch app.
Just search for magisk
Sent from my A0001 using XDA-Developers mobile app
massivekind said:
Check your inbox.
But for all the other folks.
1. Install suhide http://forum.xda-developers.com/apps/supersu/suhide-t3450396 (via recovery)
2. Install root switch apk https://www.asus.com/zentalk/tw/for...wNDk1fGJmMjhjZGZifDE0NzY0MDUzNjB8MHwxNzM1NDI=
3. Start the root switch app and toggle the first switch off (this will "disable" your root).
4. Play the game
5. If your ready playing and you wanna use root again just toggle the switch back on in the root switch app.
Click to expand...
Click to collapse
Do I need SuperSU installed? I like built in root in CM14.1
dasti555 said:
Do I need SuperSU installed? I like built in root in CM14.1
Click to expand...
Click to collapse
In the topic of suhide you can find the following
Requirements
- SuperSU v2.78 SR1 or newer (link)
- SuperSU installed in systemless mode
- Android 6.0 or newer
- TWRP (3.0.2 or newer, with access to /data - link!) or FlashFire (link)
So yes, you need supersu.
massivekind said:
In the topic of suhide you can find the following
Requirements
- SuperSU v2.78 SR1 or newer (link)
- SuperSU installed in systemless mode
- Android 6.0 or newer
- TWRP (3.0.2 or newer, with access to /data - link!) or FlashFire (link)
So yes, you need supersu.
Click to expand...
Click to collapse
- SuperSU installed in systemless mode
This mean normally flashed SuperSU.zip or I need to do something more?
Because I just flashed SuperSU SR4.zip and after that I wanted suhide0.55.zip and I can't "error 1 - check if you have atleast SR1 installed"
Can it be because of some kind of "november update"?
dasti555 said:
- SuperSU installed in systemless mode
This mean normally flashed SuperSU.zip or I need to do something more?
Because I just flashed SuperSU SR4.zip and after that I wanted suhide0.55.zip and I can't "error 1 - check if you have atleast SR1 installed"
Can it be because of some kind of "november update"?
Click to expand...
Click to collapse
You can just flash the zip
massivekind said:
You can just flash the zip
Click to expand...
Click to collapse
Too bad because I can't :/

[ROOT][L09/L19] Pre-rooted boot.img for P9 Nougat (b378)

This is now deprecated
See proper SuperSu root installation instruction by @hakaz here: https://forum.xda-developers.com/showpost.php?p=71588837&postcount=102
Install stock b378 boot image (L09) here first: https://mega.nz/#!v1RGRSzD!7Z9oKmvEbZHG9UGwxh-iCR_tEw2qjVJ2tHkb1mFSTLk
Splitting this out into separate thread for better visibility. Note that if you are already on L09 B378 root, no need to update -
What is this?
Root on Nougat for the Huawei P9. It's a boot image, pre-rooted with PHH's SuperUser. Requires an unlocked bootloader.
Downloads:
B378
L09: https://mega.nz/#!ekJVzLyY!pOhWHYpdhuRSFtBvxGYlMMFH5hFg0TG8bG17D13ZohM
L19: https://mega.nz/#!blgUnDpD!OAiHXwXvUfJ36OZeNBFbVkBeEocnNc-irHHo5CxMjrA
Installation:
Root install method 1 (no TWRP)
Reboot phone into bootloader mode
Download boot.img to PC and fastboot flash with: "fastboot flash boot rooted_b378_boot.img"
Reboot phone back into system
Install phh's SuperUser app from Play Store
Install JRummy's Busybox Installer and install to /vendor/xbin
Root install method 2 (with TWRP)
Download boot.img to phone (Internal Downloads or External SD)
Use OldDroid's TWRP: https://forum.xda-developers.com/p9/development/twrp-t3565703/post71244945#post71244945
Reboot into TWRP
Select "Install" -> Click "Images" -> Go to External SD and select your rooted_b378_boot.img
Flash and reboot phone back into system
Install phh's SuperUser app from Play Store
Install JRummy's Busybox Installer and install to /vendor/xbin
Note: To get AdAway working, go to Preferences, then scroll down to "Target hosts file" and set it to "custom target". Then set Custom target to "/vendor/etc/hosts"
No responsibility if this doesn't work/breaks your device/eats your cat etc. - make sure you backup your data and have a backup boot/recovery image handy
XDA:DevDB Information
Pre-rooted boot.img for P9 Nougat, Kernel for the Huawei P9
Contributors
Atarii, PHH, LastStandingDroid, OldDroid, Dkionline
Version Information
Status: Stable
Stable Release Date: 2017-03-17
Beta Release Date: 2017-01-20
Created 2017-03-17
Last Updated 2017-03-17
Update (17/03/2017):
* Added L19 pre-rooted boot.img
This is not systemless root yes? No OTA support?
askor said:
This is not systemless root yes? No OTA support?
Click to expand...
Click to collapse
Yes this is Systemless, OTA should be fine - I've manually flashed OTA via dload but not tested normal OTA upgrade
will this root method have any drawbacks compared to the standard method( installing twrp and then flasing super su) am i going to be able to do the same things that im able to do with any rooted device? thanks in advice
ricardo99831390 said:
will this root method have any drawbacks compared to the standard method( installing twrp and then flasing super su) am i going to be able to do the same things that im able to do with any rooted device? thanks in advice
Click to expand...
Click to collapse
SuperSu does not currently work on the P9 with Nougat, partially due to lack of loop mount support in the kernel. Kernel sources are needed to rectify this, so I encourage people to email Huawei asking for their Nougat kernel patches.
PHH is not perfect (some apps don't work fully) but it's the best we have right now
Atarii said:
SuperSu does not currently work on the P9 with Nougat, partially due to lack of loop mount support in the kernel. Kernel sources are needed to rectify this, so I encourage people to email Huawei asking for their Nougat kernel patches.
PHH is not perfect (some apps don't work fully) but it's the best we have right now
Click to expand...
Click to collapse
ohh okay thanks for the info and also the work, i guess im waiting till the fully working method is out.
I've heard that they will relase the source near this month or the next when they finsh updating every p9
Is it possible to use this prerooted boot.img for l19 honor 8?
No. It's for P9, Honor 8 isn't P9, right?
Atarii said:
Splitting this out into separate thread for better visibility. Note that if you are already on L09 B378 root, no need to update
What is this?
Root on Nougat for the Huawei P9. It's a boot image, pre-rooted with PHH's SuperUser. Requires an unlocked bootloader.
Installation:
Root install method 2 (with TWRP)
Download boot.img to phone (Internal Downloads or External SD)
Use OldDroid's TWRP: https://forum.xda-developers.com/p9/development/twrp-t3565703/post71244945#post71244945
Reboot into TWRP
Select "Install" -> Click "Images" -> Go to External SD and select your rooted_b378_boot.img
Flash and reboot phone back into system
Install phh's SuperUser app from Play Store
Install JRummy's Busybox Installer and install to /vendor/xbin
Note: To get AdAway working, go to Preferences, then scroll down to "Target hosts file" and set it to "custom target". Then set Custom target to "/vendor/etc/hosts"
Click to expand...
Click to collapse
Thank you for the guide, everything worked as described. I've got my P9 with c432 b378, rooted and TWRP installed.
By testing so far, RootChecker, AdAway (v3.2), Titanium and Reboot (to boot into TWRP or fastboot) all work fine with this phh's SuperUser
PS: It's possible to install Chainfire's SuperSU instead, and Viper4Android works too, see e.g.
https://forum.xda-developers.com/showpost.php?p=71761747&postcount=167
Hi all, is that ok to flash on my current P9 L09C432B383 ?
The stock and pre-rooted boot.img states its form .378 but would it be ok on .383?
I dont know how to get root on it currently...
Thanks
twerg said:
Hi all, is that ok to flash on my current P9 L09C432B383 ?
The stock and pre-rooted boot.img states its form .378 but would it be ok on .383?
I dont know how to get root on it currently...
Thanks
Click to expand...
Click to collapse
https://forum.xda-developers.com/p9/development/root-supersu-2-81-emui-5-t3612258
flash this, V3 is the version i would suggest.

[FIX] How to receive OTA update after root?

hello xda,
This tutorial shows you that how to make your device fully functional with root.
but most of the peoples question is to pass SafetyNet, make their device status "Official" and also to work with Private Mode after root and with custom kernel. And here is the answer ,
BEFORE BEGIN, BACKUP YOUR DATA AND DOWNLOAD CORRECT FILES. I AM NOT RESPONSIBLE FOR ANY DAMAGE CAUSE TO YOUR DEVICE BY THIS PROCEDURE!!!
1. Download and flash stock oreo firmware via ODIN.
2. After boot, Turn on developer mode and turn on OEM Unlock.
3. turn off your device and get in to download mode.
4. Flash latest TWRP recovery via ODIN.
6. Get in to twrp recovery and format data and again boot into twrp.
7. first flash "no-verity-opt-encrypt-6.0", secondly flash "latest magisk", thirdly flash "TGP kernel v6.8.0".
8. After boot, update magisk app itself ( Latest v17.1 ).
9. download and install any root browser app ( root explorer recommanded) and give the root permission.
10. Navigate to /system/priv-app/PersonalPageService and delete the apk file and replace with modified apk
( Do not forget to set correct permission "rw-r-r" or chmod 644).
11. Navigate to /system/app/sysscope and delete the apk file and replace with modified apk
( Do not forget to set correct permission "rw-r-r" or chmod 644).
12. Reboot the device.
13. Now you can check SafetyNet, System Status and private mode.
NOTE :
DO NOT ATTEMPT TO INSTALL SYSTEM UPDATE. BECAUSE YOU MAY HAVE INSTALLED CUSTOM RECOVERY. SO THE UPDATE WILL PROBABLY FAIL.
YOU CAN OBTAIN UPDATE PACKAGE AT "/data/fota".
YOU CAN ALSO RIDE WITH BANKING APPS AND OTHER APPS WITH ROOT.
CAUTION :
●DO NOT FLASH CF SU.
●DO NOT ATTEMPT TO FLASH SYSTEM UPDATE.
●DO NOT INSTALL XPOSED FRAMEWORK. THIS WILL TRIGGER SAFETYNET.
KNOWN BUGS : NOTHING YET. TESTED ON GALAXY S7 (EXYNOS).
Files
( sysscope, PersonalPageService ) : https://drive.google.com/folderview?id=1ekOXMNMYGhaMke58y_xkVMFiAvP-Ncpm
no-verity-opt-encrypt-6.0 :
https://androidfilehost.com/?fid=817906626617949632
TGP Kernel v6.8.0 :
https://androidfilehost.com/?fid=1322778262903992351
Systemless magisk :
https://www.google.lk/amp/s/forum.x...-magisk-v7-universal-systemless-t3473445/amp/
second method:
Download (e.g. with SamFirm (v0.3.6)) and flash stock oreo firmware via Odin
After boot, Turn on developer mode and turn on OEM Unlock.
Turn off your device and get in to download mode.
Flash latest TWRP recovery via ODIN.
Get in to twrp recovery and format data and again boot into twrp.
First flash "no-verity-opt-encrypt-6.0", secondly flash "latest magisk"
After boot install latest magisk manager
In magisk manager install the module Xposed Framework (SDK 26) systemless
Install XposedInstaller_3.1.5-Magisk from https://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268
In XposedInstaller-App install Firefds Kit [Oreo]
Start Firefds Kit [Oreo] and enable in Security hack "Fake system status"
Now the system status is official and you can download the OTA-Update.
To get ctsProfile: true and basicIntegrity: true you have to deactivate Xposed in the XposedInstaller-App (disable Xposed Status) and disable the module in magisk manager
But the interessting question would be how to install OTA updates without loosing root.
Because, if you go in the xposed method, It will probably trigger SafetyNet. So you couldn't be able to ride with updates, banking apps and etc.
This is why I placed modified Sysscope in order to make official.
And yes, stock private mode checks for custom binary or custom kernel. So the best way to modify the apk to work with custom binary.
Unfortunately, you cannot be able to install system updates via recovery. But, you can extract the fota.zip and place those files manually at your own risk. But I recommend you not to do.
DO NOT INSTALL XPOSED. IT WILL TRIGGER SAFETYNET. EVEN THOU SYSTEMLESS METHOD WOULDN'T HELP.
What should I do to get root again after the OTA?
Reflash magisk to regain root access
Are there any news to this topic?

System update 01/21

I've seen several posts that upgrading to Android 11 is causing serious issues with twrp and root. I have an update dated 01/21 that is ready to install and I'd like to know if I can install it and still keep twrp and root. I'm on stock model gm1925 build 10.0.9.gm27ba and as stated, keeping root is important for me.
Bump
scuzzo500 said:
I've seen several posts that upgrading to Android 11 is causing serious issues with twrp and root. I have an update dated 01/21 that is ready to install and I'd like to know if I can install it and still keep twrp and root. I'm on stock model gm1925 build 10.0.9.gm27ba and as stated, keeping root is important for me.
Click to expand...
Click to collapse
You are on stable channel surely the notified upgrade is to version 10.0.11, so you can update and keep root and twrp working.
To do this follow the steps described by @strongst in the op7 forum and you will have no problems.
Here the steps to follow:
Optional but highly recommended, backup everything in case of issues.
Download the full rom zip file and the twrp zip installer file and place it into the phone storage memory.
Go to Magisk Manager and uninstall all modules.
Reboot phone.
Go to Android settings -> system -> system update and hit gear icon top right -> local upgrade, select the .zip file of the new firmware and wait for the installation to finish. Attention don't reboot yet!
Install TWRP within Magisk Manager App like a Module: Magisk Manager App -> Menu -> Modules "+" select .zip file of the twrp recovery installer. Attention don't reboot yet!
Install Magisk via Magisk Manager App again: Magisk Manager App -> hit install after your Magisk version -> hit again install -> hit "install to inactive slot".
Finally reboot.
Reinstall your Magisk Modules.
Done! Your device is now updated and you keep TWRP and root.
Very important: At the moment this procedure is to be considered reliable only if used with firmware based on Android 10.
scuzzo500 said:
I've seen several posts that upgrading to Android 11 is causing serious issues with twrp and root. I have an update dated 01/21 that is ready to install and I'd like to know if I can install it and still keep twrp and root. I'm on stock model gm1925 build 10.0.9.gm27ba and as stated, keeping root is important for me.
Click to expand...
Click to collapse
As of right now there is no TWRP working some have had luck but unfortunately most havent. i have uploaded a patched boot.img that will let you root
how to install android 11 on gm 1925, if my phone does not see files via local update?????

Categories

Resources