P8 lite ALE-L21 Installing SuperSU - P8lite Q&A, Help & Troubleshooting

Hey everyone, I kind of have a problem rooting the phone
So it's like this:
I follow a couple of guides, here's one of them: https://www.youtube.com/watch?v=duquOuRqYDM
All goes like planned but the phone gets stuck at the ADB Shell command, I can't use shell, it takes ages and when any button on the phone is pressed it just finishes the command, showing no errors, just a new line asking me for a command (like C:\>)
Anyways, I got the shell command to work using another recovery; TWRP, but the problem here is that it will not work, it breaks the boot, I can't start the phone anymore because it gets stuck at the second boot screen
(is the screen after the one with the "Powered by Android" logo)
I got a backup to revert to which is no problem, it's on an sd card (thank God)
The phone is unlocked and all, I just can't install root and KingRoot didn't work neither.
I'm on the latest firmware, do I need a downgrade (last resort, I don't have too much internet bandwidth) or is there a way to do this
Note: install from ZIP on twrp didn't work neither.
Thanks in advance,
Ozi

I'm currently downgrading from 6.0 to 5.x with the UI thing version 3.1 (I honestly forgot the name)
EDIT: no luck on B188
EDIT2: fixed, downgrade and kingoroot at firmware B188, then manually install supersu from play store and update su binary

Related

[ROOT][MARSHMALLOW][HONOR 4C] Root, Recovery & Bootloader Unlock by HassanMirza01

DESCRIPTION:
Today i found the New Root & Installing Custom Recovery(TWRP) in MARSHMALLOW ROM surely...
I will Provide correct info and help......All This you are gonna do is At your Own Risk... Damage to your device of any type is at your Own Responsibility,,, Don't point finger at me or I will Just Laugh at you...
PREREQUISTES:
First of all, You should Unlock Bootloader so that on every reboot, Your Root shouldn't damage. You can unlock bootloader by simple procedure...and also enable the USB Debugging from Developers options in settings...
PROCEDURE:
FOR UNLOCKING BOOTLOADER, FOLLOW THIS
Download the Attached PC Software Named "Huawei Product ID Generator" then Extract this zip file...
Now open it, fill all Info in it and it will Generate a Product ID for your Phone....
Now go to this site Unlocking Code website
Login to this site using your Huawei id which you made in themes store or in huawei cloud!!
Use the Serial Number Written on BACK OF YOUR PHONE..!!
Fill like, smartphone>Product Model should be "HUAWEI Y300-0000"
then fill all fields and captcha also.. Click Submit and get the UNLOCKING CODE....
you can unlock bootloader wid that code then and root permanently....
After receiving the unlock code, write down the code;
Now go in your 4C's Settings>About Phone.
Then tap on Build number 10 times,,, you will get the Developers options in Last of Settings app. Open Developers option and Turn On the USB DEBUGGING.
Now connect your device to PC in MTP/FILES mode and then install the ADB drivers for it....
To install adb drivers correctly, use the Software Adb Driver Installer from here
LINK FOR ADB DRIVER INSTALLER
Full ADB folder is also attached Below.... put this folder in drive C.
Now Direct the cursor on the folder ADB, hold Shift and the right mouse button and choose "Open Command Window";
connect your phone to the PC in the "media device";
at the command prompt prescribe ADB Devices ;
then we write ADB reboot bootloader (the device will reboot mode fastboot);
then typed fastboot oem unlock **************** (where the asterisks replace unlock code);
BOOTLOADER UNLOCKED NOW!!
Now You are Ready to install TWRP recovery in Marshmallow first.... Download the Root and TWRP recovery File from here...
This File Also contain Stock Recovery of Marshmallow Rom
4C Root+TWRP by [email protected]
After this, unzip it and better come again in Fastboot Mode like above as explained, this time, move the recovery file to the adb folder which you want to install.
After that, type fastboot devices to see if your device is correctly attached to PC or Laptop. if yes then type this command in cmd to install the Custom Recovery(TWRP) in your phone.
fastboot flash recovery twrp.img
Then
fastboot reboot
This will reboot your phone and TWRP installed.
Gonna Done Root now... READ CAREFULLY... ROOTING MARSHMALLOW IS NOT EASY...
Download This Zip File and then Go in TWRP recovery and swipe for allow modifications...... and then flash that zip file named 1.zip...
After its done,, restart your phone and if it promp to install su, ignore it....
Open supersu app installed in your phone and let it update its binaries...when done, reboot to recovery again and this time flash This File.
Then reboot your phone and then supersu will be stable,,,
Now you have Successfully Rooted Marshmallow
Hit Thanks and Support me if you Like and get help from this thread...Thank you...
This is Based on Stock Huawei Kernel, Not compiled by Me...
Contributors:
@HassanMirza01
Mohamed A. Abd Ellatif
Version Information:
Status: Stable
Stable Release Date: 2015-09-28
Created on: 2016-02-19
Last Updated on: 2016-04-09
Reserved
Is this is TWRP for Marshmallow? Because the recovery files.you have uploaded are dated 25th September 2015?
@mfbcool yes...this is for Marshmallow... But dont swipe allow modifications!!
Member gettin error after swiping...just do read only...
I root my device by this method yesterday
but today root not work in titanum backup
I check it by root checker and everything is ok
Even though this method works, I would not recommend moving SuperSU to system partition. I didn't moved it and still SU permissions are working fine. I say so because Chainfire in his new SuperSU adopted a 'Systemless Root' method that roots without modifying the system partition so that apps like Android Pay work properly. He achieved this by patching the Boot image and so root is installed in boot image and is enabled at every boot (that's why you may experience some boot loops after rooting). This makes taking OTA updates and unrooting the device easier as you can unroot by flashing the Stock Boot.img instead of flashing the whole system partition.
I believe moving SuperSU to system partition destroys the main purpose and idea Chainfire had while making SuperSU compatible with Marshmallow. We all know EMUI won't update on Rooted devices. So it would be a pain to reflash whole Stock System Partition before taking OTA.
Hi thanks, I'm root my mobile I'm in android 6.0 now how to get back to kikkat a stock rom from twrp
@G E N E R A L open supersu app and tick the mount name separation and restart phone... Titanium, kingroot all will recognize root
Hit thanks if it helps....
@TMDMOOSA if you wanna go back to KK, Flash stock recovery first!!
Then flash the back pkg B320, then B070
If you gets error, flash middle pkg of chc rom and then flash directly KK Rom usin stock recovery!!
hi
i have a problem
by flashing file 1.zip phone reboot twice and screen go black and nothing happens after
by flashing the ROM problem fix but i cant root my phone
i try this three times!!
what can i do?
thnx
@inshaalmirza
hello, I by mistake flash the root.zip of lollipop to my phone running marshmallow. Now my phone is stuck on bootscreen. what should I do now. adb is not working
onlyankush_s said:
@inshaalmirza
hello, I by mistake flash the root.zip of lollipop to my phone running marshmallow. Now my phone is stuck on bootscreen. what should I do now. adb is not working
Click to expand...
Click to collapse
this happened for me by flashing right zip file!!!
no solution??
i wipe all the data (even system data) by custom recovery and turn off the phone and hold power volume down and up together
by doing this if you have ROM file in your sd , new ROM will be instal on your device
just please tell me how i can root my phone??
@inshaalmirza @ mfbcool please reply what to do
onlyankush_s said:
@inshaalmirza
hello, I by mistake flash the root.zip of lollipop to my phone running marshmallow. Now my phone is stuck on bootscreen. what should I do now. adb is not working
Click to expand...
Click to collapse
onlyankush_s said:
@ mfbcool please reply what to do
Click to expand...
Click to collapse
Flash the complete Marshmallow ROM through Stock Recovery.
matinone said:
hi
i have a problem
by flashing file 1.zip phone reboot twice and screen go black and nothing happens after
by flashing the ROM problem fix but i cant root my phone
i try this three times!!
what can i do?
thnx
Click to expand...
Click to collapse
no one??
please
@onlyankush_s go in fastboot and then flash the system.img again.... Or flash stock M wid stock recovery...
@matinone there is written that flash supersu again after flashing 1.zip
Flash supersu zip too and tell... Or flash srock rom again by same method i told in most previous posr.... I am sick right now thats why replying late!!
inshaalmirza said:
@matinone there is written that flash supersu again after flashing 1.zip
Flash supersu zip too and tell... Or flash srock rom again by same method i told in most previous posr.... I am sick right now thats why replying late!!
Click to expand...
Click to collapse
thanks a lot!!!
it worked
by the same steps.it look like i got lucky this time
hope you get better soon
hi
plz help
i flash stock recovery and my phone go to rescue mode
help
I have successfully built TWRP 3.0.0-0 for our device which fixes the weird swipe to allow modifications bug and is fully compatible with Android 6.0 Marshmallow.
See here: http://forum.xda-developers.com/android/development/recovery-twrp-3-0-0-0-huawei-honor-4c-t3349495
Also, to re-flash Stock ROM, you don't need to flash Stock Recovery. Huawei phones have 2 inbuilt recoveries. The second recovery (which is the Stock) can be accessed by 3 buttons method (Power + Volume Up + Volume Down).
@mfbcool i saw that thread early... Great work man... I know huawei have 2 inbuilt recoveries but 2nd one is erecovery and thats of no use at all... I tried it too many times!! If twrp 3.0 can flash update.app files,,, it gonna rocks , wish u best of luck man!! You did it

Nexus 6P stuck in Google Logo

Hello guys! Some help would be nice... Thanks in advance.
So i enrolled to Android 7 Beta and downloaded the latest OTA update. I was fine until i saw some apps i have didnt work in Android 7. So i wanted to go back to Android 6.
I tried unrolling my device from the beta but it didnt gave me an update from the Settings menu.
Then i downloaded the factory image and flashed it with fastboot.
I flashed everything and now it is stuck at Google Logo. I tried wiping cache, wiping data and reseting the phone in different manners.
What else should i do?
Thanks in advance.
akumalol said:
Hello guys! Some help would be nice... Thanks in advance.
So i enrolled to Android 7 Beta and downloaded the latest OTA update. I was fine until i saw some apps i have didnt work in Android 7. So i wanted to go back to Android 6.
I tried unrolling my device from the beta but it didnt gave me an update from the Settings menu.
Then i downloaded the factory image and flashed it with fastboot.
I flashed everything and now it is stuck at Google Logo. I tried wiping cache, wiping data and reseting the phone in different manners.
What else should i do?
Thanks in advance.
Click to expand...
Click to collapse
Re-flash MM stock package again via fastboot. Among the .img files flash bootloader and radio first but make sure you do "fastboot reboot-bootloader" after flashing each of the two.
blitzkriegger said:
Re-flash MM stock package again via fastboot. Among the .img files flash bootloader and radio first but make sure you do "fastboot reboot-bootloader" after flashing each of the two.
Click to expand...
Click to collapse
Downloaded the first factory image for Nexus 6p and did flash everything and followed your suggestion exactly. 10 Minutes still Google Logo.
:/
akumalol said:
Downloaded the first factory image for Nexus 6p and did flash everything and followed your suggestion exactly. 10 Minutes still Google Logo.
:/
Click to expand...
Click to collapse
FYI. I managed to finally boot again on Android 7 using the OTA update from here. https://www.reddit.com/r/Nexus6P/comments/4z4ru1/android_n_ota_link_for_nexus_6p_from_601_to_70/
The problem is i cant get back to MM and i guess i have to wait somehow for the updated apps to work with Nougat.
My computer isn't even detecting my phone within ADB... any help?
Licensedbeast said:
My computer isn't even detecting my phone within ADB... any help?
Click to expand...
Click to collapse
When you select "Apply updated from ADB" i had to unplug and re plug my phone to my computer in order to see it. If windows says it is unrecognized i guess you need some drivers.
I officially hate Android 7. Boot loops galore. Factory reset without restoring ANYTHING is the only way to keep it from looping right now.... But its only been an hour so we'll see. Like you I'm unable to rollback to MM. My computer also is working with adb. I've updated my sdk to the newest version too. I can get the device serial number in fastboot, but the reboot commands give me error device not found.
akumalol said:
When you select "Apply updated from ADB" i had to unplug and re plug my phone to my computer in order to see it. If windows says it is unrecognized i guess you need some drivers.
Click to expand...
Click to collapse
Damn... I tried Factory Resetting... and all I had to do was unplug and re plug. Thanks that worked
I have been on the beta program just to get Nougat and downloaded and installed it just fine a week ago. Now all of a sudden today my phone goes off and then to the never ending Google logo. I turned it back off, and now it wont come on, wont charge, etc. Nothing. How can I get it back live again. Even when I had the Google logo earlier I couldnt boot to anything else. Holding power and volume down does nothing.
Hello everyone! I bring news from the TWRP developers from the #TWRP IRC channel! TWRP 3.0.2-1 has a fatal bug! If you backup and restore EFS it will brick you! Do not backup and restore EFS on 3.0.2-1! Use 3.0.2-0 instead! This has already been fixed in the newer builds!
If you have been bricked you NEED to Erase the EFS partitions and that will fix it immediately.
For the Nexus 6P go to TWRP. Then on PC Open Command Prompt with access to ADB ( Android Debug Bridge) and execute the following commands:
ADB shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/modemst1 bs=16384
and
ADB Shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/modemst2 bs=16384
This should fix it for ANY Nexus 6P users. Users on other phones with the same problem await instructions!
bogomil4e said:
Hello everyone! I bring news from the TWRP developers from the #TWRP IRC channel! TWRP 3.0.2-1 has a fatal bug! If you backup and restore EFS it will brick you! Do not backup and restore EFS on 3.0.2-1! Use 3.0.2-0 instead! This has already been fixed in the newer builds!
If you have been bricked you NEED to Erase the EFS partitions and that will fix it immediately.
For the Nexus 6P go to TWRP. Then on PC Open Command Prompt with access to ADB ( Android Debug Bridge) and execute the following commands:
ADB shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/modemst1 bs=16384
and
ADB Shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/modemst2 bs=16384
This should fix it for ANY Nexus 6P users. Users on other phones with the same problem await instructions!
Click to expand...
Click to collapse
Was running the Nougat 7.0 WETA ROM, and had some issues with sound performance, plus battery life was tanking, so went to using Vanir 6.0.
Wiped and installed (I assume from the process that backup and restore is part of this process), then pico gapps, and stuck on boot screen.
Found this thread and followed instructions. The first ABD command works flawlessly, but the second one returns the standard printscreen when a command isn't recognized, and lists all the adb options. Possibility it's entered incorrectly?
Boot issue persists
hifiaudio2 said:
I have been on the beta program just to get Nougat and downloaded and installed it just fine a week ago. Now all of a sudden today my phone goes off and then to the never ending Google logo. I turned it back off, and now it wont come on, wont charge, etc. Nothing. How can I get it back live again. Even when I had the Google logo earlier I couldnt boot to anything else. Holding power and volume down does nothing.
Click to expand...
Click to collapse
Have you found a solution? Mine is doing the exact same thing
Device is corrupt, stuck on google logo
It's been a while since my crack flashing days but i just got my N6P, updated to MTC20F, Unlocked Bootloader, installed TWRP 3.0.2-2, rooted, Tried to install CM13, I got the wrong gapps tho, forgot to check ARM64 instead of ARM. so i got a bad install with the gapps, said it wasn't compatible. So I tried to wipe and restore my backup i made in TWRP, but i keep getting the "device is corrupt and cannot be trusted" then stuck at Google logo. I would think if i could push the factory img or the correct Gapps to the phone, I could flash with no problem. How do i get new files onto the phone while in TWRP? Sorry if it's a noob question, but i need help. Thanks!
wonton9224 said:
It's been a while since my crack flashing days but i just got my N6P, updated to MTC20F, Unlocked Bootloader, installed TWRP 3.0.2-2, rooted, Tried to install CM13, I got the wrong gapps tho, forgot to check ARM64 instead of ARM. so i got a bad install with the gapps, said it wasn't compatible. So I tried to wipe and restore my backup i made in TWRP, but i keep getting the "device is corrupt and cannot be trusted" then stuck at Google logo. I would think if i could push the factory img or the correct Gapps to the phone, I could flash with no problem. How do i get new files onto the phone while in TWRP? Sorry if it's a noob question, but i need help. Thanks!
Click to expand...
Click to collapse
You can push the file via adb or just connect your phone through usb cable while in twrp and drag and drop from pc to your phones storage drive
Yeah I couldn't get the internal storage to mount on xp but it does on win 7, window pops right up after drivers install. I tried flashing cm13 with the correct gapps but it still hangs at Google. I'm using the skipsoft toolkit to try and flash back to stock right now
Hope everyone here can help me.
I was flashing a 7.0 ROM on my phone with the NRDU90 vendor. The flashing failed so I restored from my backup made by TWRP. The restore was successful, but now I'm stuck in a bootloop. The phone goes to the Google splash screen with the lock(it is in the unlocked position) and then goes right back to the screen that mentions about device corruption and please relock the bootloader.
When it wasn't booting, I was able to boot into fastboot and then into recovery with no issues. I tried the fastboot flash of NRDU90 and also MCT20L builds direct from google. All flash but continues to loop. Only success that saw a small part of the Android splash boot was flashing Tupac's 7.0 rom but that never got any further.
Hoping y'all can help. I personally do not have a spare phone so this is my only device. Willing to try any steps and if need to, can do like a hangout session for any help.
Flash kernel for mm and then rom
pctechdroid said:
Hope everyone here can help me.
I was flashing a 7.0 ROM on my phone with the NRDU90 vendor. The flashing failed so I restored from my backup made by TWRP. The restore was successful, but now I'm stuck in a bootloop. The phone goes to the Google splash screen with the lock(it is in the unlocked position) and then goes right back to the screen that mentions about device corruption and please relock the bootloader.
When it wasn't booting, I was able to boot into fastboot and then into recovery with no issues. I tried the fastboot flash of NRDU90 and also MCT20L builds direct from google. All flash but continues to loop. Only success that saw a small part of the Android splash boot was flashing Tupac's 7.0 rom but that never got any further.
Hoping y'all can help. I personally do not have a spare phone so this is my only device. Willing to try any steps and if need to, can do like a hangout session for any help.
Click to expand...
Click to collapse
Read post #10.
Sent from my Nexus 5X using Tapatalk
Two weeks ago I updated my nexus 6p to the latest may security patch update of 7.1.2, I was out of station for a week I left my phone switch off at home when I came back home and tried to start the phone it got stuck on the Google logo I tried to clear cache but it too didn't work out for me what should I do to bring my phone back to normal, my phone is not under warranty it has expired almost 5 months ago, plz plz help worried about it
[email protected] said:
Two weeks ago I updated my nexus 6p to the latest may security patch update of 7.1.2, I was out of station for a week I left my phone switch off at home when I came back home and tried to start the phone it got stuck on the Google logo I tried to clear cache but it too didn't work out for me what should I do to bring my phone back to normal, my phone is not under warranty it has expired almost 5 months ago, plz plz help worried about it
Click to expand...
Click to collapse
try flashing the newest 7.1.2 vendor i was having the same issue when i tried going back to 7.1.2 from android O

P9 lite brick? @transition Nougat-MM. PHONE locked, FRP unlock

Hi, second post on the forums, I'm in bigger trouble now.
I unlocked my bootloader and then rooted my VNS-L21 so I could edit my hosts file. I tried going back to official and unrooted firmware afterwards, but something went wrong along the way.
The stages:
-OFW VNS-L21C432B504, obtained bootloader code through DC-unlocker (developer options on, OEM unlock on, debug usb on)
-unlocked bootloader with SRKtool using this method get-instant-huawei-bootloader-unlock-code/
-rooted using Magisk and made a full backup through Revolution Recovery using this method https://ministryofsolutions.com/2018/05/huawei-p9-lite-root-for-nougat-new-method.html
- some tinkering here but don't remember exactly plus I guess it's not that relevant ; I think I got rid of root here
- downgraded from Nougat to MM using dload method according to this thread https://forum.xda-developers.com/hu...torial-rollback-n-to-mm-c432-devices-t3563955 (first flashing rollback package from C432B504 to C900B300, then flashing C432B160 - full)
- everything went fine, bootloader relocked; but I was unable to upgrade to Nougat/B504 - settings-update showed "no updates available", putting update.app in dload folder (obtained from firmware finder, TeamMT, full B504 file) didn't work, pressing three buttons resulted in error (the version not compatible or sth)
-tried dload with previous rollback file
...and now I'm here:
- phone constantly stuck at boot screen (red Huawei logo)
- dload not starting by pressing three buttons
- recovery not starting by pressing volume up
The only thing I can get is white fastboot screen when connected to PC. It says "phone locked" (bootloader) in green, "FRP unlocked" in red. As usb debugging/oem unlock were not enabled this time, platform-tools/adb with command "adb devices" says nothing is connected, similar goes for SRK
Is it hopeless and my phone is thrash or is there anything I can do? Please help!
PS. All I wanted to do with my root was to change hosts file and then unroot/relock phone, seems like it wasn't worth all this work ( https://forum.xda-developers.com/huawei-p9lite/help/retaining-modified-hosts-file-unrooting-t3868641 )
Update: "fastboot devices" in adb directory resulted in detecting my device, next I found and tried command "fastboot oem [PASSWORD]", now there's a change: "This device cannot be trusted" is showing again, in fastboot I see "PHONE Unlocked" in red now. So time to flash some firmware with a command? But which firmware and how exactly to do that?
You have again unlocked your Bootloader? I suggest you flash a Nougat Compatible TWRP and then from within TWRP make wipes. After that use Hurupdater to flash Nougat firmware. First flash TWRP. If it boots into TWRP then format data and then wipe Dalvik/Art Cache, Cache, Data, System and Internal. Next download Hurupdater and stock Nougat Firmware. You need to download three ZIP update.zip, update_data_full_public.zip and regional update file. Next rename them as suggested in Hurupdater thread. Finally place all four files in same folder in SD card and then install and select only Hurupdater.zip to flash. After it complete reboot to stock recovery and factory reset. If all goes well you will be on Nougat.
Thank you so much, HuRU update method was what finally got me from Marshmallow to Nougat
So. I take it your phone is working now? Glad to know and be of help. If you need help with anything then just ask
Yes, it is, I'm currently struggling with systemless hosts on my Magisk rooted Nougat but other than that - everything works fine. Turns out that most of the recoveries I found then were meant for Nougat, only one recovery file worked on Marshmallow (and I've tried quite a few of such files and they were hard to find).
________________
After flashing TWRP recovery, updating Magisk to 17.3 beta and installing newest (4.0.10) version of Adaway - the problem is gone. My guess is that the fault was on Magisk's side as after updating it the "systemless hosts" function in Adaway was no longer grayed out.

TWRP not working anymore on Shield (2015) Version 7.2.1?

Hello everyone,
I've wasted my Christmas days to - unsuccessfully - re-root a Shield (16GB; 2015) after upgrading to Software 7.2.1. I need to use more than one USB mass storage device and to be able to copy from one to another, so I want to re-enable Stickmount.
The device was rooted before (which means the bootloader was already unlocked, too), and enabling USB debug, finding the device on my PC via "adb devices" was no problem, either. Issuing "adb reboot bootloader" went fine, too, the device could now be seen via "fastboot devices".
So, I flashed the TWRP image (I actually tried three different versions, 3.0.2, 3.1.1, and the most recent 3.2.3). All seemed to load fine (it spewed out two time values followed by OKAY, took about one second), but the reboot that follows only shows the NVIDIA logo forever without anything else happening (the longest I waited was 20 minutes) - according to the docs I could find (and had used before), TWRP should appear after about 15 seconds.
So, I'm stuck. I cannot get TWRP to start which prevents me from sideloading SuperSU, which means I can't use Stickmount.
Is there anything I did wrong? Is there any other way to get Stickmount installed onto my Shield? Any help is appreciated.
Cheers, Pit.
You'll need to wait until TWRP gets updated to get around the new android security measures. So keep checking TWRP website periodically to see when a new version is released.
You could have found this out if you went to Nvidia Shields Android TV forum and read some posts.
I was reading here, as well as at the nvidiashieldzone, where the tutorials are up, plus I was googling for the errors I was getting to no avail. Sorry for not finding every post on every forum on the internet, and thanks for giving the right pointer.
That means there is currently no way whatsoever to get the Shield rooted on 7.2.1., right?
Not just now, there's a guide to root 7.2 - using a developer image, and there's a chance of bricking - best to wait until TWRP is updated - also you don't need to root to use stickmount.
You only need to do something like this:
adb reboot bootloader
fastboot boot twrp-3.2.3-0-foster.img
#in twrp - mount/system - select storage - internal storage
adb shell
pm install -i "com.android.vending" -r /sdcard/Download/stickmount.apk
adb reboot
That way you can use your apk without being rooted - and your device will still be secure, and you can use widevine etc for netflix and other apps that check to see if your device is rooted.
Or you can just push the driver files stickmount uses like this:
adb reboot bootloader
fastboot boot twrp-3.2.3-0-foster.img
#in twrp - mount/system - select storage - internal storage
adb push hosts /system/etc/hosts (example file)
adb shell "chmod -R 644 /system/etc/hosts"
adb reboot
Thanks for the info - if I understand this correctly, I can install apks with root-like permissions using TWRP without rooting the whole device, right?
I will try that out once TWRP is working again.

One Plus 8 Pro features (Wifi / Camera) stopped working after root

I rooted my OP8-Pro. I followed the instructions in this video:
https://www.youtube.com/watch?v=UVABAEGRgew.
To summarize, his steps were as follows:
1. Unlock the bootloader
2. Extract boot.img file from payload bin file (on Windows)
3. Install Magisk Canary 2020 app on the phone
4. Install the boot.img file through Magisk
5. Download Fastboot.zip in Windows and extract files
6. Download and place magisk.patched file in Fastboot folder
7. Connect the phone to Windows, use cmd to boot into bootloader
8. Flash the magisk.patched file on the device and reboot
This is a new method to me. In the past rooting always involved TWRP. Root checker shows that the phone is rooted but other features have stopped working.
WiFi no longer works. Even if I turn it on, it turns itself off. Camera keeps crashing and I can't even change the camera mode once I launch the app. My phone also rebooted itself a couple of times while I was testing it after root.
I also rooted my One Plus 6 in 2019 but had to use a custom TWRP (Bluspark) for it to be stable.
I rather start over with a factory reset than try to repair the device in it's current state (but will try to repair it if it's easier). I prefer to stick with the factory ROM and only need root for one app.
Try latest stable magisk instead of canary. Mine works perfectly with regular magisk
I used the all in one tool by mauronafrio here. Worked flawlessly.
shagexpert said:
I rooted my OP8-Pro. I followed the instructions in this video:
https://www.youtube.com/watch?v=UVABAEGRgew.
To summarize, his steps were as follows:
1. Unlock the bootloader
2. Extract boot.img file from payload bin file (on Windows)
3. Install Magisk Canary 2020 app on the phone
4. Install the boot.img file through Magisk
5. Download Fastboot.zip in Windows and extract files
6. Download and place magisk.patched file in Fastboot folder
7. Connect the phone to Windows, use cmd to boot into bootloader
8. Flash the magisk.patched file on the device and reboot
This is a new method to me. In the past rooting always involved TWRP. Root checker shows that the phone is rooted but other features have stopped working.
WiFi no longer works. Even if I turn it on, it turns itself off. Camera keeps crashing and I can't even change the camera mode once I launch the app. My phone also rebooted itself a couple of times while I was testing it after root.
I also rooted my One Plus 6 in 2019 but had to use a custom TWRP (Bluspark) for it to be stable.
I rather start over with a factory reset than try to repair the device in it's current state (but will try to repair it if it's easier). I prefer to stick with the factory ROM and only need root for one app.
Click to expand...
Click to collapse
I used the all in one tool by mauronafrio here. Worked flawlessly.
Click to expand...
Click to collapse
So I tried that tool. I tried to flash factory image downloaded directly from One Plus website and kept getting the following error message:
"Error: flash-all.exe or flash-all.bat or flash_all.bat or flashall.bat not found!!!"
I think this has to do with the fact that I am using a secondary hard drive on my computer to store all the downloaded files and the bat file is supposed to be in the same folder as the zip file.
I also reset it to factory settings from the recovery mode but that didn't fix the WiFi issue.
Then I ran TWRP from the All in one Tool and installed the factory firmware from phone's internal memory. This soft bricked my phone.
After getting soft-bricked I installed Magisk through the tool but that didn't fix the issue.
Now it is stuck in a boot loop and keeps going into recovery mode. I can also boot into Fastboot mode and install zips through there but I would like to unbrick it first. Is there an alternative ROM that can unbrick it?
I think I am going to try and use the unbrick tool first and if that doesn't work I will try the Fastboot ROM, that already comes with the bat file.
I am a little confused as to which version goes on my phone though. They have Indian, Global and European versions but I live in the U.S. Global seems to be the most appropriate for my phone but I don't want to install the wrong ROM on it.
I remember reading that you can run into WiFi issues if you flashed the wrong version (from a different region) for your phone
I've rooted for many years and this is the first time I didn't go through TWRP as well.
If you use the unbrick tool you'll probably get issues with the fingerprint reader. But that's fixable, after you've rooted.
The easiest way to get root is to just unlock the bootloader, fastboot boot twrp (not flash), and then flash magisk 20.4 stable.
Before TWRP you had to patch the boot.img and fastboot flash it, but with twrp there is no need for it.
If you use the unbrick tool you'll probably get issues with the fingerprint reader. But that's fixable, after you've rooted.
The easiest way to get root is to just unlock the bootloader, fastboot boot twrp (not flash), and then flash magisk 20.4 stable.
Before TWRP you had to patch the boot.img and fastboot flash it, but with twrp there is no need for it.]
Click to expand...
Click to collapse
Thanks for letting me know. I attempted to use the unbrick tool but it had problems connecting to the phone. And I also didn't want to run into finger print issues.
I downloaded the patched Rom (with flash-all.bat file included) and installed it via All in one tool. That unbricked the phone and I reset the system to start from scratch. I used the global / international version for my North American phone.
After setting up the phone, I rebooted into Fastboot and loaded TWRP via All in one tool and installed Magisk 20.4 and got the phone rooted.
Root checker shows the phone is now rooted. WiFi and camera also work. I am ready to transfer data from the old phone.
This would have gone smoother if I had just used the correct version of Magisk from the start.

Categories

Resources