Related
Intro
I decided to put together this all-in-one guild compiling all the research and testing I've done. I've seen a lot of the same questions and misunderstandings come up over and over in the various threads, most of which I had myself. I've spent lots of time, since I got my new Google Pixel 2 XL, searching XDA, following all the guides the fine folks here put together, flashing, restoring, testing, etc. I've been using Android since my Google Nexus One, so I've been messing around with all this for quite some time now. The Android community is amazing and I've learned a lot over the years, so it's my turn to hopefully help someone out.
I'll also share some of the caveats, issues and fixes I had to do with this setup. This was all done with a Google Pixel 2 XL on Project Fi with an eSIM & physical SIM, so this guide was written and tested with that, however it should work the same in theory with other carriers, but your results may vary.
NOTE: I am not a developer by any means. I've toyed with creating my own custom ROM, but I'm not a ROM or Kernel developer. I just got really good at using the stuff the other amazing smart people here developed and shared with the community.
NOTE 2: Following these steps WILL wipe your device, so make backups if needed!
Thanks
I would like to give thanks to the following folks for the guides, development and help; @topjohnwu, @nathanchance, @Dees_Troy, @luciusfox, @thedude420, @Quinny899, @airmaxx23, @matt1313, @sharkie405, @Tulsadiver, and @zachman1750. Please forgive me if I forgot to mention you directly as I've gone through many threads and guides at this point. I also thank the community for helping each other out and providing their experiences and testing as well.
Why Root?
I get the same question from everybody all the time, "why do you root your phone?" Well, many reasons, which I'll list a few below, but because I spent a lot of money on my phone and I feel I should have full access to it. If your phone is leased or company owned, I understand why you wouldn't, but if you own it outright, why not have full access to do what you want with it? I mean, how would you feel if you purchased a computer (I'll use Windows in this analogy) and it came with one user account that was only part of the "Users" group, no local Administrator or account part of the Administrators group and no way to grant your one user account Admin rights? I'd be upset as I wouldn't be able to do much with it including; remove bloatware, install my own applications, replace the stock AV/Malware software, upgrade my video driver or even start from scratch. I mean the first thing I do when I get a new computer is format the HDD lol. I know it might be a silly analogy, but I don't see how it's any different than having root access on my phone.
- Remove bloatware (system apps you don't want/need)
- Custom Kernels (though the stock kernel on this phone is amazing out to the box, custom gives us more access to manage wakelocks, color control, vibrations, among other kernel items) (EXKM and Kernel Adiutor are a couple great apps to tweak your custom kernel)
- Customer recovery (easy backup/recovery, easy flashing of Zips, etc...)
- Untethered system theming including; custom fonts, launcher tweaks, status/navbar tweaks, etc...)
- System wide ad blocking
- Full system backup/restore (Titanium Backup is amazing for full system backups and then upload to cloud storage of your choice)
- Terminal root access (every have horrible battery drain and can't figure out exactly why quick and easy? Drop to terminal, elevate using su, then run top and and see what app is hogging the CPU)
- Xposed modules for system customizations (I've used a lot over the years, but not on this phone yet. You will also FAIL SafetyNet if you use the Xposed Framework.)
- AUDIO MODS! I honestly don't know how I lived my life without apps like ViPER and Dolby on my phone
A/B Partitions
To hopefully help clear up some confusion here, I'll list some important points to take note of.
- The whole point of the dual partition setup is to make OTA updating easier, allowing for updating the OS in the background
- There are two system, two boot and two vendor partitions, but only one data partition
- Only one system and its corresponding boot partition are active at one time
- Whichever system/boot partition is active will use the one data partition
- Flashing a custom kernel, mod zip or Magisk will flash to the current active slot from recovery, however flashing the Google Image or a custom rom will flash to the inactive slot
- The recovery is part of the boot partition, meaning anytime you flash the stock or custom kernel, for example, you'll need to reflash your custom recovery again (unless you install a kernel zip created with AnyKernel2 by @osm0sis)
My Build
Sharing these details as if you are on a different image, kernel, carrier, etc... your results may vary.
Phone: Google Pixel XL 2 Black 128GB - purchased from Google Store / Hardware Version: rev_10
Carrier: Project Fi with eSIM & physical SIM
Android Version: Official 8.1.0 / Security Patch Level: February 5, 2018
Build Number: OPM1.171019.018
Kernel: 4.4.119-FlashKernel-Taimen-v2.20 (clang version 6.0.0)
Root: Magisk Manager 5.6.1(105) (patched dtbo NOT preserving "force encryption" or "AVB2.0/dm-verity") & Magisk 16.0(1600) / Modules: Busybox for Android NDK 1.28.1, Magisk Manager for Recovery Mode (mm) 2018.1.31, Single User Mod 1.4, ViPER4Android FX Materialized 1.5.1 (2.5.0.5)
Recovery: TWRP 3.2.1-0
APKs: SELinuxModeChanger v11.0, AdAway 3.2-60, Dolby, MinitBatteryResrouces
Convenient Play Store Apps: 3Minit Battery Settings, FiSwitch, Kernel Adiutor, Light Manager, Root Explorer, substratum (Swift Black), TiBu Pro (I do scheduled backups of my phone to my Google Drive) & Terminal Emulator (great to use Busybox commands like "traceroute" or "top" to find that app killing your battery!)
Android Platform Tools Install
1. Download the latest version for your computer OS (PC/Mac/Linux) from Google: https://developer.android.com/studio/releases/platform-tools.html
2. Unzip the downloaded file to your hard drive somewhere and:
- Windows: add to your PATH (google "add adb to path")
- Mac/Linux: From terminal of your choice "sudo install adb /usr/local/bin && sudo install fastboot /usr/local/bin" (run from within the extracted directory and enter your password when prompted)
- Windows 10 & macOS High Sierra detect the phone automatically, but older versions you may need Android Device Drivers. Just Google what you might need and how to do it if your phone is not detected automatically.
Unlocking
1. Turn your phone off.
2. Press and hold Volume Down, then press and hold Power.
3. Plug your phone into your computer.
4. From command prompt/terminal on your computer (run Command Prompt as Admin in Windows throughout this guide):
- fastboot flashing unlock
- fastboot flashing unlock_critical
NOTE: I've read a lot of back and forth on if we should unlock_critial or not. This is just my opinion, but if you're here to do all this stuff to your phone, want complete access to do whatever you want to it, just do it. It's better to be ready now for the future because every time you unlock or relock, it will factory reset your phone. I've been unlocked both regular and critical since the first boot when I took my phone out of the box. I'll also mention, I’m not entirely sure what steps will work or not work in this guide if you don't since I've never not been unlocked with critical.
5. Follow the instructions on the phone screen to do the factory reset.
Clean Start
1. Download the "taimen" for Pixel 2 XL factory image [8.1.0 (OPM1.171019.018, Feb 2018)]: https://developers.google.com/android/images
2. Turn your phone off.
3. Press and hold Volume Down, then press and hold Power.
4. Plug your phone into your computer.
5. Unzip the downloaded file to your hard drive somewhere and from the directory you extracted the files (CMD/Terminal):
- Windows: flash-all.bat
- Mac/Linux: ./flash-all.sh
- Unplug your phone from your computer
Initial Config/Prep
1. Go through the initial phone setup steps.
- Make sure you setup your Google account so you have access to the Play Store and you can activate your eSIM if that's what you're using.
NOTE: When setting up with only an eSIM, I ran into some bugs and caveats I had to figure out on my own as Google support couldn't figure it out let alone understand what I was trying to explain to them. I ordered a physical SIM and now have both an eSIM and a physical SIM installed and can switch between them.
Verizon SIM: As @jrbxx7 was kind enough to share below; if running a Verizon SIM, wait till after setup is complete before inserting it. That way the vzw apps don't get installed on google setup.
eSIM Caveat: If you have 2 Step Authentication turned on for your Google account and your phone is your only device with the Google Authenticator App or Google Prompt, you will have to use one of your backup codes to log back into your account as your phone will not be activated until it's completed in the Project Fi application.
eSIM Bug: After you go through the initial phone setup, let Play Store finish its updates and don't reboot yet. Open Play Store and search for "Project Fi", then click "Enable", but DON'T update it. Just open Project Fi, complete the activation then reboot your phone. You can update the Project Fi app after the activation is successful. I've tested this through three factory restores and the result is the same every time.
Physical SIM: No issues since your phone will just be activated after boot so you can receive SMS codes.
2. Enable Developer Mode: tap "Build number" under "About phone" 7 times.
3. Under "Developer options", enable "USB debugging".
4. Download necessary files:
- Magisk 16.0(1600): https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
- SELinuxModeChanger 11.0: https://f-droid.org/en/packages/com.mrbimc.selinux/
- AdAway 3.2-60: https://f-droid.org/en/packages/org.adaway/
- Dolby: https://forum.xda-developers.com/pixel-2-xl/how-to/viper-dd-atom-t3724096
- Kernel. I use @nathanchance Flash Kernel: https://forum.xda-developers.com/pixel-2-xl/development/taimen-flash-kernel-1-00-t3702057
NOTE: You can use whatever kernel you want, but I've only used/tested with Flash. Flash Kernel also has the proper drives to resolve the TWRP touch issues. I've read other custom kernels do as well.
- TWRP 3.2.1-0 (image & installer): https://forum.xda-developers.com/pixel-2-xl/development/twrp-alpha-pixel-2-xl-t3698148
5. Plug your phone into your computer.
- If prompted on your phone, save and allow USB Authorization for your computer.
6. Push downloaded files to your phone (CMD/Terminal):
- adb push <path_to_Magisk_file>.zip /sdcard/Download
- adb push <path_to_SELinuxModeChanger_file>.apk /sdcard/Download
- adb push <path_to_AdAway_file>.apk /sdcard/Download
- adb push <path_to_Dolby_file>.zip /sdcard/Download
- adb push <path_to_Kernel_zip_file>.zip /sdcard/Download
- adb push <path_to_TWRP_image_file>.img /sdcard/Download
- adb push <path_to_TWRP_installer_file>.zip /sdcard/Download
Install Kernel & TWRP
NOTE: As of the Google February security image release, TWRP will no longer decrypt. You have three options to flash in TWRP until it's fixed; disable security before booting to TWRP, use USB storage via your OTG adapter, or put the files you need in the /data partition.
1. adb reboot bootloader (CMD/Terminal while your phone is still plugged into your computer)
2. Flash TWRP:
- fastboot boot <path_to_TWRP_image_file>.img
- Once in TWRP, install the TWRP_installer.zip file
- Reboot into TWRP
- Install Kernel.zip file
- Install the Magisk_16.0(1600).zip file
- Reboot to System.
3. Configure Magisk:
- Open Magisk Manager
- (OPTIONAL) Patch dtbo by unchecking both "force encryption" and "AVB2.0/dm-verity", tap "Install", tap "Install", tap "Direct Install (Recommended), then reboot
NOTE: By patching dtbo, you will receive a message on every boot that says something along the lines of "There's an internal problem with your device". This is perfectly normal when patching the dtbo and can be ignored as nothing is broken. Now, to be honest, I patch dtbo as I can't get certain things to work properly without, like Dolby, and the message doesn't bother me as it's only on boot up. I know patching dtbo is necessary for some things. For example, I don't think you can do manual build.prop edits without editing dtbo, if I'm not mistaken. I have had a few others on other threads say they were able to get Dolby to work without patching dtbo and just using SELinux in "permissive" mode, but I couldn't. Up to you, hence the "optional" part. If you decide to patch dtbo and want to go back, just flash the stock dtbo image file in fastboot or TWRP.
- Open Magisk Manager
- Goto Settings and tap "Hide Magisk Manager"
- Reopen Magisk after it's done
- Goto Settings and make sure "Magisk Hide" and "Systemless hosts" are both enabled
- Gogo Magisk Hide and check the applications you need to hide from Root (banking apps, authenticators, etc...)
4. If Play Store is not showing as "Certified" under Play Store Settings, clear Data and Cache on the Play Store under Phone Settings. Your Play Store will now be "Certified" under the Play Store Settings.
Install/Configure SELinuxModeChanger and AdAway
NOTE: It's my understanding that SELinux does not need to be set to "permissive" for ViPER and Dolby to work, but I can't get them to work otherwise. My Dolby will FC without setting SELinux to "permissive", which is why I'm adding it to my guide in case someone else is having the same issue. You can use the Magisk Module script if you want, but I like the convenience of the App to turn on and off easily.
1. Open "Downloads" from the App Launcher on your phone.
2. Install both SELinuxModeChanger.apk and AdAway.apk.
3. Open SELinuxModeChanger:
- Tap "Permissive"
- Tap "Automatically start on boot"
4. Open AdAway:
- Open Preferences and make sure "Enable systemless mode" is enabled". It's normal to be Greyed out. This is verification from the Magisk Settings you set above.
- Tap "Download files and apply ad blocking"
5. Reboot phone.
Install & Configure Magisk Modules / Dolby
1. Open Magisk Manager and go to Downloads:
- Download "Busybox for Android NDK" (some root apps need this, but it's also nice to have these utilities)
- Download "Single User Mod" (needed for latest TWRP install to my understanding, but it worked for me without. I like this anyway because I don't share my phone)
- Download "ViPER4Android FX" (make sure to get the v1.5.1(2.5.0.5) version) / during install you will be asked what version and theme, chose the 2.5.0.5 driver version and the Materialized version (needed for Dolby).
- Reboot Phone
2. Open ViPER 4 Android FX application:
- Under Settings tap "Turn on developer mode" then tap "Disable SELinux"
3. Reboot Phone.
- After reboot, open ViPER 4 Android FX application and enable/configure the effects you want.
NOTE: Be patient after a phone reboot. It sometimes takes a minute for the Magisk modules to load.
4. Reboot to TWRP.
- Install Dolby.zip file
- Reboot into System
5. Open Dolby, and if it force closes, make sure your SELinux is "permissive" first and if you still have force closes, patch dtbo following instructions above.
Themes & Mods - Screenshots attached below!
I use substratum and Swift Black from the Play Store for my system wide theme. I use Light Manager from the Play Store for custom status lights for applications, etc... You can also get more customization of what icons to show or not show on your status bar by pulling down the notifications at the top of the phone and holding down the Settings gear icon until you feel a vibrate. You'll now have "System UI Tuner" under Settings->System. I'm also using the following Mods:
- SearchLess Launcher: https://forum.xda-developers.com/pixel-2-xl/themes/mod-pixel-2-xl-launcher-mods-8-1-0-dp1-t3701939
- Rosemary Font: https://forum.xda-developers.com/pixel-2-xl/themes/font-flashable-ubuntu-font-zip-pixel-2-t3710892
- Various Mods Aroma w/ 3Minit Battery: https://forum.xda-developers.com/pixel-2-xl/themes/various-mods-8-1-december-update-t3721741
- Substatum /w Swift Black (I dont theme System UI or System UI Navigation as part of my setup with the Various Mods Aroma)
- ViPER w/ Audiophile X profile & Dolby using Music profile (Volume Leveler / Surround Virtualizer / Intelligent EQ: Open)
Updating
I'm going to keep these steps kind of generic and provide the order in which things have to be done (order is important), however for the details just follow the steps for each part above. You shouldn’t have to do the setup for Magisk Modules again unless:
- You ran into issues and needed to do a clean start with Magisk using the Magisk Uninstaller
- You are doing a Google Image update
Magisk - Push the updated Magisk Zip to your /sdcard/Download folder, boot into TWRP, flash new Magisk Zip, reboot into System, go through Magisk setup steps again.
Kernel – Push the updated Kernel Zip file to your /sdcard/Download folder, make sure you have the Magisk Zip file in your /sdcard/Download folder as well. Reboot to TWRP, flash new Kernel, flash Magisk, boot System and setup Magisk again.
TWRP – Push the updated TWRP Zip to your /sdcard/Download folder, reboot to TWRP, flash new TWRP Zip, boot into TWRP to test, boot System.
Google -
1. Disable any screen security you have.
2. Disable and uninstall Substratum themes, if you have any.
3. Full backup of some sort recommended!
4. Boot to Bootloader and do a flash-all (without -w) of 8.1 factory image, boot to System and allow the update to finish.
5. Boot back to Bootloader, boot TWRP, install TWRP, reboot to TWRP, install Kernel Zip file, install Magisk Zip file, boot back to System.
6. Complete Magisk setup steps (Magisk hide, App hide, systemless, etc..), check SafetyNet.
7. Apply any mods and themes in Substratum.
Have fun!
Right on brother. My own journey is pretty much a mirror of your write up and I can't think of a single thing to add. Nice work. We have the same setup. Lol
CyberpodS2 said:
Right on brother. My own journey is pretty much a mirror of your write up and I can't think of a single thing to add. Nice work. We have the same setup. Lol
Click to expand...
Click to collapse
Thanks man! Yeah, this stuff has always been fun to me. I don't mind "breaking" my phone so I have to figure out how to fix it. lol I lost count how many times I wiped, flashed, etc to come up with my list.
I've also updated the guide to include "updating" stuff.
felosisman said:
Thanks man! Yeah, this stuff has always been fun to me. I don't mind "breaking" my phone so I have to figure out how to fix it. lol I lost count how many times I wiped, flashed, etc to come up with my list.
I've also updated the guide to include "updating" stuff.
Click to expand...
Click to collapse
Exactly, I got really quick at starting from scratch... Lol
Nice write up! One note if u feel like adding it, if running a verizon sim, wait till after setup is complete before inserting it. That way the vzw apps dont get installed on google setup.
jrbxx7 said:
Nice write up! One note if u feel like adding it, if running a verizon sim, wait till after setup is complete before inserting it. That way the vzw apps dont get installed on google setup.
Click to expand...
Click to collapse
Thanks for the addition, I"ll add it now! I don't have a VZW SIM so I would never have known lol.
This is the best guide on XDA now! I've been reading 10 different threads to do stuff, but someone who understands how it all works together can make it so much easier... Thanks again [emoji106]
Sent from my [device_name] using XDA-Developers Legacy app
slaydog said:
This is the best guide on XDA now! I've been reading 10 different threads to do stuff, but someone who understands how it all works together can make it so much easier... Thanks again [emoji106]
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
You're welcome! I'm happy to know this is helpful to folks.
Sticky?
Mods,
Is there any way to make this thread a sticky so it's easier for everybody to find?
Thanks!
jrbxx7 said:
Nice write up! One note if u feel like adding it, if running a verizon sim, wait till after setup is complete before inserting it. That way the vzw apps dont get installed on google setup.
Click to expand...
Click to collapse
What exactly is installed for Verizon apps? I didn't notice them on my install. Not saying they are not there, just didn't notice the changes.
felosisman said:
Mods,
Is there any way to make this thread a sticky so it's easier for everybody to find?
Thanks!
Click to expand...
Click to collapse
I think this thread is worth a sticky because it covers a lot of stuff that other guides don't, and covers them well. TWRP wasn't even a viable option when other guides were made, and it has made things much simpler...
Sent from my [device_name] using XDA-Developers Legacy app
Thank you for the guide. So I assume that if I were to brick the device I could use the factory images and fastboot to restore? Does anyone know what would happen if you tried to flash an older factory image street upgrading through OTA?
Sent from my Pixel 2 XL using Tapatalk
andrewjt19 said:
Thank you for the guide. So I assume that if I were to brick the device I could use the factory images and fastboot to restore? Does anyone know what would happen if you tried to flash an older factory image street upgrading through OTA?
Sent from my Pixel 2 XL using Tapatalk
Click to expand...
Click to collapse
You should always be able to restore using the factory images from Google. In all the years I've been doing this, I've never once actually bricked a device to where is wouldn't work anymore. Just basically boot up to the bootloader and run the flash-all script. You can get the full Google images and instructions here: https://developers.google.com/android/images
As for downgrading, I've not personally done it. I know folks have gone from the 8.1 DPs back to 8.0, but if I'm not mistaken Google is making it hard to downgrade for security reasons. Once 8.1 is officially released, we may not be able to go back to 8.0, for example. I'll let others chime in with their experiences.
EDIT: After reading your post again, if you mean you took the November OTA you will be fine. The latest factory image from Google is the same as the Nov OTA.
please delete
felosisman said:
You should always be able to restore using the factory images from Google. In all the years I've been doing this, I've never once actually bricked a device to where is wouldn't work anymore. Just basically boot up to the bootloader and run the flash-all script. You can get the full Google images and instructions here: https://developers.google.com/android/images
As for downgrading, I've not personally done it. I know folks have gone from the 8.1 DPs back to 8.0, but if I'm not mistaken Google is making it hard to downgrade for security reasons. Once 8.1 is officially released, we may not be able to go back to 8.0, for example. I'll let others chime in with their experiences.
EDIT: After reading your post again, if you mean you took the November OTA you will be fine. The latest factory image from Google is the same as the Nov OTA.
Click to expand...
Click to collapse
Thanks buddy for the reply. That's what I figured but my personal policy had always been to "find" the fix before I tamper with anything. Once I unlock the bootloader I'm assuming I cannot take OTA's in typical fashion right? Also is relocking the bootloader the same as unlocking (obviously using the opposite command)? Thanks so much.
Sent from my Pixel 2 XL using Tapatalk
andrewjt19 said:
Thanks buddy for the reply. That's what I figured but my personal policy had always been to "find" the fix before I tamper with anything. Once I unlock the bootloader I'm assuming I cannot take OTA's in typical fashion right? Also is relocking the bootloader the same as unlocking (obviously using the opposite command)? Thanks so much.
Sent from my Pixel 2 XL using Tapatalk
Click to expand...
Click to collapse
You're welcome! Absolutely, might as well be prepared just in case.
So, I've not tried it myself from "System Updates", but to my understanding you can still take OTA with the bootloader unlocked. I think the OTAs stop working when the System partition has been modified. But considering pretty much everything we do these days is Systemless, I think it'd be fine. I did manually install the November OTA from fastboot with my bootloader unlocked and it worked fine. To relock, yeah the command is pretty much just the opposite.
"fastboot flashing lock" would relock your device. Keep in mind though, every time you lock or relock it will wipe your device.
Sticky Request
I've done sone searching and can't figure it out, but does anybody know if there is an official way to request this to be a sticky?
felosisman said:
I've done sone searching and can't figure it out, but does anybody know if there is an official way to request this to be a sticky?
Click to expand...
Click to collapse
Your guide helped
Cheers ?
You using any other mods
Sent from my Google Pixel 2 XL using XDA Labs
Prattham said:
Your guide helped
Cheers
You using any other mods
Sent from my Google Pixel 2 XL using XDA Labs
Click to expand...
Click to collapse
Excellent, happy it was helpful!
No, I'm only using what I've got posted; ViPER, Single User and BusyBox.
I'll go ahead and ask this here since the Viper thread is so busy and I have seen a lot of answers and it's things that I've already tried over and over again. But, no matter which Viper version I download whether it be through magisk or a zip install via TWRP, I can never ever ever get the drivers to install. You got Viper in the title of your thread but I only seen one line of Viper in the op and that's to do with setting selinux to permissive, which I already have set to.
So does anybody have any out-of-the-box advice on what to do to get that Viper driver to install on a pixel 2 XL running 8.1 .0 DP2?
I'll spend all my 8 thanks for the day thanking somebody if they can help me figure this out.
Edit: I did just notice some more Viper instructions, my bad. I will try those out and report back
Edit 2: So I followed your instructions to the T, and the driver still won't install. Anyone got any ideas? It's not some sort of bug with the program is it where the driver has really been installed already but it's just saying that it's not?
Sent from my Pixel 2 XL using XDA Labs
Yo guys! Today I’m gonna share to you some lil’ tips for better battery life WITHOUT ROOT.
If your device already rooted I’m pretty sure you won’t get profit that much by using below tips (Greenify already done those jobs or find another thread you can do with it).
By following this may disrupt your apps function so I don’t care, you are fully responsible of your device.
Consider the big cons for this whole tips is you have to run below apps server from ADB once after your device reboot.
(I can live with that cz I’m rarely reboot my device )
D.W.Y.O.R
Click to expand...
Click to collapse
This thread aim for better battery life (of course) through stopping unnecessary wakelock & useless running background apps this may give you more available free RAM.
HIGHER ANDROID API = BETTER COMPATIBILITY
(I’m highly recommends minimum Android 6.0+)
Preparation & Explanation
ADB: Download from HERE and setup as insctructed.
You can skip if ADB already install in your pc, however in case ADB can’t detect your device it may require driver depending on model manufacturer
Brevent: Download from playstore HERE
IMO this app works better than Greenify for NON ROOT user, provides us to custom brevent method, how long we want put apps to background mode or standby mode. EZ step below:
Install Brevent from playstore link above
Plug your device to pc with usb debugging enabled
Open cmd / terminal within adb folder (shift + right click)
Type
Code:
adb -d shell sh /data/data/me.piebridge.brevent/brevent.sh
Open brevent
Setting as your need
If you rebooted device then repeat step 2 to 4
Note: If you dislike this way choose Greenify. Don’t disable usb debugging on Android 8.0+. Repeat step above once you restart device. Original thread here.
AppOps: Download from playstore HERE
Missing appops xposed module? Here we go just install from PS link above. Read description carefully I think even noob like me will understand.
Shizuku Manager: Download from playstore HERE
Familiar with Magisk or Xposed? So you won’t face any difficult using this one which is needed by AppOps to run. Full setup steps are in the description within app:
Install Shizuku from playstore link above
Plug your device to pc with usb debugging enabled
Open cmd / terminal within ADB folder (shift + right click)
Type
Code:
adb -d shell sh /sdcard/Android/data/moe.shizuku.privileged.api/files/start.sh
Open Shizuku app
Tap on authorized to get token and allow AppOps
If you rebooted device then repeat step 2 to 4
Since here, you can use AppOps as you wish nearly the same as AppOps xposed module did alongside Brevent. Shizuku are safe to brevented while AppOps not, so you have to whitelist it.
Another tips is disable carrier / manufacturer’s bloatware as much possible using script
Code:
adb -d shell pm uninstall -k --user 0 <name of package>
Tested with:
Xperia XZ1 Compact - 8.0 Non Rooted
Samsung S7 Edge - 7.0 Non Rooted
ryandxter said:
Yo guys! Today I’m gonna share to you some lil’ tips for better battery life WITHOUT ROOT.
If your device already rooted I’m pretty sure you won’t get profit that much by using below tips (Greenify already done those jobs or find another thread you can do with it).
This thread aim for better battery life (of course) through stopping unnecessary wakelock & useless running background apps this may give you more available free RAM.
HIGHER ANDROID API = BETTER COMPATIBILITY
(I’m highly recommends minimum Android 6.0+)
Preparation & Explanation
Install Brevent from playstore link above
Open cmd / terminal within adb folder (shift + right click)
Open brevent
If you rebooted device then repeat step 2 to 4
Note: If you dislike this way choose Greenify. Don’t disable usb debugging on Android 8.0+. Repeat step above once you restart device. Original thread here.
[/LIST]
Install Shizuku from playstore link above
Open cmd / terminal within ADB folder (shift + right click)
Open Shizuku app
If you rebooted device then repeat step 2 to 4
[/LIST]
Since here, you can use AppOps as you wish nearly the same as AppOps xposed module did alongside Brevent. Shizuku are safe to brevented while AppOps not, so you have to whitelist it.
Another tips is disable carrier / manufacturer’s bloatware as much possible using script
Tested with:
Xperia XZ1 Compact - 8.0 Non Rooted
Samsung S7 Edge - 7.0 Non Rooted
Click to expand...
Click to collapse
Why's is there no communication on this lol, decent thread.
Thank you!!!! This not only helped me save battery, also showed me a new app that I desperately been looking for (Shizulu Manager)
ryandxter said:
Yo guys! Today I’m gonna share to you some lil’ tips for better battery life WITHOUT ROOT.
If your device already rooted I’m pretty sure you won’t get profit that much by using below tips (Greenify already done those jobs or find another thread you can do with it).
This thread aim for better battery life (of course) through stopping unnecessary wakelock & useless running background apps this may give you more available free RAM.
HIGHER ANDROID API = BETTER COMPATIBILITY
(I’m highly recommends minimum Android 6.0+)
Preparation & Explanation
ADB: Download from HERE and setup as insctructed.
You can skip if ADB already install in your pc, however in case ADB can’t detect your device it may require driver depending on model manufacturer
Brevent: Download from playstore HERE
IMO this app works better than Greenify for NON ROOT user, provides us to custom brevent method, how long we want put apps to background mode or standby mode. EZ step below:
Install Brevent from playstore link above
Plug your device to pc with usb debugging enabled
Open cmd / terminal within adb folder (shift + right click)
Type
Code:
adb -d shell sh /data/data/me.piebridge.brevent/brevent.sh
Open brevent
Setting as your need
If you rebooted device then repeat step 2 to 4
Note: If you dislike this way choose Greenify. Don’t disable usb debugging on Android 8.0+. Repeat step above once you restart device. Original thread here.
AppOps: Download from playstore HERE
Missing appops xposed module? Here we go just install from PS link above. Read description carefully I think even noob like me will understand.
Shizuku Manager: Download from playstore HERE
Familiar with Magisk or Xposed? So you won’t face any difficult using this one which is needed by AppOps to run. Full setup steps are in the description within app:
Install Shizuku from playstore link above
Plug your device to pc with usb debugging enabled
Open cmd / terminal within ADB folder (shift + right click)
Type
Code:
adb -d shell sh /sdcard/Android/data/moe.shizuku.privileged.api/files/start.sh
Open Shizuku app
Tap on authorized to get token and allow AppOps
If you rebooted device then repeat step 2 to 4
Since here, you can use AppOps as you wish nearly the same as AppOps xposed module did alongside Brevent. Shizuku are safe to brevented while AppOps not, so you have to whitelist it.
Another tips is disable carrier / manufacturer’s bloatware as much possible using script
Code:
adb -d shell pm uninstall -k --user 0 <name of package>
Tested with:
Xperia XZ1 Compact - 8.0 Non Rooted
Samsung S7 Edge - 7.0 Non Rooted
Click to expand...
Click to collapse
Thank You
I'm having trouble with the app. it doesn't seem to be Force stopping any of the applications
I have installed tcpdump on my last 2-3 phones so I can capture the network traffic of select games for datamining, among other things. I've always have to locate my own copy and insert it myself.
While I tried to do the same with my stock OnePlus 5T, before I got to the point of finding a compiled arm64 binary, I found that OnePlus did that for me already, and put it right where I expect it to be. But it won't show up right away; there's some work that needs to be done but it's simple.
For anyone who can make use of it, here are my steps to get it:
1. Root with Magisk.
2. Enable Developer Options.
3. In Developer Options, tap Get logs. This starts OnePlusLogKit. Yup, this thing that someone calls "malware" actually is useful.
4. Check "Network Tcpdump Log". You can then uncheck it. This places tcpdump into /system/xbin.
5. Use ADB, Root Explorer or whatever to confirm it is there.
To make use of it, you probably want Busybox installed - there's a Magisk module for it.
The copy of tcpdump thus obtained is 4.7.4 which is old, but should tide me over until I figure out how to compile 4.9.2 for arm64 and pack it into a Magisk 15 module, which is for another day.
Are you someone who just got their Fire TV rooted and don't know exactly what you can do with it being rooted? Or maybe you haven't rooted yet because you are unsure of what you can do with it rooted? Well hopefully i can shed some light on this with a little guide on things to do, along with some tips and tricks.
First let me get started by saying never forget to make a backup of your Fire TV via TWRP before making changes or tweaks. This is not to freak you out or disparage its just good practice ii have learned in rooting devices. I will cover TWRP later.
One of the best things to come along in the rooting world of android is Xposed installer. In short Xposed is a framework apk that allows users to modify/ customize their devices. This is not done by Xposed Installer per say but the modules that you download with in Xposed installer. So i will show how to install it, how to use and modules that will be beneficial use for Fire TV fyi mouse is need to navigate Xposed.
Xposed installation
1. We need to download the following BusyBox a program that most rooted apps are dependent on here Xposed Installer v3.1.5 here along with Xposed Framework x89 sdk22 arm64 here
2. Install BusyBox however you install side loaded apks. Open BusyBox and click the install button on bottom right. On SU prompt screen grant root access. As you should for root apps you install.
3. Install Xposed Installer, there is no need to open after install because without Xposed Framework installed it doesnt work.
4 Place the Xposed v89 zip onto Fire TV internal or external storage is your choice just remember where so you can point TWRP to it.
5 Reboot into TWRP recovery, choose install, point TWRP to the Xposed zip and on right side of options choose install zip. Let TWRP run its script when it says complete simply reboot and voila Xposed is installed. NOTE it is NORMAL for the first boot to take 10 min after Xposed is installed.
Xposed Tutorial and Modules
Open Xposed installer on be careful screen prompt click box to don't show again and ok. The 3 line icon on top left is menu button. Module option is where you can see and activate modules you install. Download option is where we search for and install modules. After you download a module Fire TV will prompt you to install. Note modules wont work until activated and a reboot.
Modules i find beneficial and know are SAFE are the followingBoot Manager- this allows for you to choose what apps start on boot.
RootCloak- this is designed to hide root app detection. Im assuming it still will hide root but could be wrong worth shot right
Xposed Edge- this is the FUN one that allows a fair share customs tweaks. My fav is remapping of remote buttons ie home button goes to alternative launcher, double tap home opens netflix. Which is great for 3rd party remotes that have a lot of buttons. NOTE There is a pro version as well Note- whenever you make changes in edge you may have to reboot for changes to effect.
DISCLAIMER be careful some modules may cause problems like bootloop and worse so research before you install modules to see if they are compatible
Other Apps
These are apps recommended or useful for rooted devices and for Fire TV useADBLink-allows you connect PC t to Fire TV via adb can install apks, push/pull files, run adb shell.
Easy Fire Tools- Android app that connects to Fire TV via adb can install apps from your android device onto Fire TV, transfer files and other features.
Root Explorer- these apps allow you to manage files but also a way to install side loaded apps, find one that is root friendly so you can access system folders if ever needed.
AdBlocker- we all know why we want one for all my rooted phones always been partial to adaway.
Alternative Home Launcher- who does like Fire TV launcher, really Karen of course you would!
TV App Repo and APK Editor- For those who do use alternative launcher i mention these because TV App Repo allows you to make bookmarks into apks. APK Editor to change the icon and name of TVApp Repo apks because the names and icons are generic.
TWRP
Finally the benefits and how to use TWRP. This allows users to make a backup images of device and ability to restore it when **** goes wrong. You can also do a factory reset.
Backup- after you choose backup from main screen choose select storage and choose storage then click swipe to backup. These can take a while to do seemed like 20 mins or so. Whatever storage you chose will be the default storage until you change it. Note- I have a backup image and its size is 4.5gb so id recommend you need some sort of external storage for these. If there is not enough space backup can not be performed.
Restore- performed same way as backup.
Factory Reset- Just wanted to mention don't forget if you do this and have a backup image on Fire TV internal storage you will lose it.
Hope this helps out
@g422
Thanks for the write up!!!
To be honest, the benefits of rooting appear to be somewhat underwhelming, at least, for the Fire TV. Not a single killer feature/application ...
I do know that it is more convenient to have root than not, but appears to be in pretty subtle ways.
My main use is between SmartYouTubeTV, and Netflix. If I fumble through the Amazon launcher, I am there, and life is good!
Am I missing something?
bibikalka said:
Am I missing something?
Click to expand...
Click to collapse
Yes, you didn't read the OP He gives many examples of use for root, if those aren't valuable to you, then root isn't for you.
ldeveraux said:
Yes, you didn't read the OP He gives many examples of use for root, if those aren't valuable to you, then root isn't for you.
Click to expand...
Click to collapse
Hmm, just for the record, pretty much every tablet or phone (except a couple of real cheap deals) I have in my household are rooted! So I do see good value in root on those devices.
It's just that I struggle with root utility on Fire TV devices. As in - "why bother?"
I see that the OP likes Xposed Edge for button remapping, so if that's your cup of tea, that's a killer feature to get root for. I myself religiously correct Chrome look on tablets using Xposed/App Settings (link), which very few others seem to care about. But I want to see more of these killer features for Fire TV! Suggestions?
Btw, I am not being adversarial or critical, just very curious. Which itch are people scratching with root on Fire TV???
bibikalka said:
Hmm, just for the record, pretty much every tablet or phone (except a couple of real cheap deals) I have in my household are rooted! So I do see good value in root on those devices.
It's just that I struggle with root utility on Fire TV devices. As in - "why bother?"
I see that the OP likes Xposed Edge for button remapping, so if that's your cup of tea, that's a killer feature to get root for. I myself religiously correct Chrome look on tablets using Xposed/App Settings (link), which very few others seem to care about. But I want to see more of these killer features for Fire TV! Suggestions?
Btw, I am not being adversarial or critical, just very curious. Which itch are people scratching with root on Fire TV???
Click to expand...
Click to collapse
I sort of see your point, but I think the root version of Mouse Toggle works, while the non-root doesn't. At least that's been my experience. Also, can you block updates without root?
I took no offense to your comments bibikalka. I am inclined to agree that there is a limit of what to do with rooted fire tv especially compared to a phone or tablet. I started this thread to give back to xda who has kept my multiple devices over years rooted. Thread was also done in hopes of getting ideas to do and/or sharing of apps that can be helpful especially now that rooting is allowed for the general masses just not those who were able to jump on board early.
ldeveraux said:
I sort of see your point, but I think the root version of Mouse Toggle works, while the non-root doesn't. At least that's been my experience. Also, can you block updates without root?
Click to expand...
Click to collapse
I used mouse toggle without rooted fire tv until i got air mouse remote. Yes you can block updates. If im not mistaken rbox prerooted roms block updates, go to check for system updates and should be stuck on checking for updates. If not go here.
#1 reason I root a fire TV box is so I can use large NTFS drives on the USB port.
Can someone point to me how to fix sd card write permissions. I tried xiinternalsd for xposed but when i open it goes to amazon home screen
g422 said:
I used mouse toggle without rooted fire tv until i got air mouse remote. Yes you can block updates. If im not mistaken rbox prerooted roms block updates, go to check for system updates and should be stuck on checking for updates. If not go here.
Click to expand...
Click to collapse
Right, so blocking updates only when rooted.
ldeveraux said:
Right, so blocking updates only when rooted.
Click to expand...
Click to collapse
yeah i just re read what ya posted i see what ya meant
Imho top reasons for it are Xposed Edge Pro, ad blocking via AdAway (if you use the browser) and finally, the updates issue. While unlikely, it's not impossible for Amazon to get crackin and stop the use of certain third-party apps (NIMH is a giveaway)
Edit: forgot one important one, "debloating" the OS, whether by blocking the startup or disabling packages you don't want/need to give more cpu and memory to apps you do
Without root access, it's Amazon's device; with root access, it's now your device.
g422 said:
I used mouse toggle without rooted fire tv until i got air mouse remote. Yes you can block updates. If im not mistaken rbox prerooted roms block updates, go to check for system updates and should be stuck on checking for updates. If not go here.
Click to expand...
Click to collapse
ldeveraux said:
Right, so blocking updates only when rooted.
Click to expand...
Click to collapse
g422 said:
yeah i just re read what ya posted i see what ya meant
Click to expand...
Click to collapse
For a while, updates could be blocked without root, but Amazon fixed that hole:
https://forum.xda-developers.com/fire-tv/general/disable-ota-fire-stick-t3667978
But! You want to block updates so you don't lose root, so it's a bit circular. If you don't have root, you don't care, and just update as per Amazon otas. Btw, I do have updates blocked on my fire sticks
Anyway, please keep the conversation going! We should develop a good set of must have features which are only available via root.
The main reason I root now is to debloat. Go as barebones as possible in order to improve performance. I kill all possible services that are absolutely unnecessary. I've removed Amazons GUI and use Appstarter. I just like a clean fast experience.
Thanks for this but u all do know u can connect to a PC wirelessly via adb without root. It's the only way I have ever added apps to my stick. Find your sticks individual ip. Open terminal on a pc, adb connect ipaddress. Then adb devices, a prompt will pop like on your phone asking to allow device or not. Click always or yes whatever. Then u do adb install draganddropwhateverapphere. Loads up in seconds depending on apk size. U can even use your phone if u have the adb platform tools magisk module installed on your phone. I install apps to my stick from my OnePlus 6t
fullofhell said:
Thanks for this but u all do know u can connect to a PC wirelessly via adb without root. It's the only way I have ever added apps to my stick. Find your sticks individual ip. Open terminal on a pc, adb connect ipaddress. Then adb devices, a prompt will pop like on your phone asking to allow device or not. Click always or yes whatever. Then u do adb install draganddropwhateverapphere. Loads up in seconds depending on apk size. U can even use your phone if u have the adb platform tools magisk module installed on your phone. I install apps to my stick from my OnePlus 6t
Click to expand...
Click to collapse
Ummm, or you know just use the Apps2Fire app lol. No magisk module or root needed. You're welcome.
JUSTINMARMER said:
Ummm, or you know just use the Apps2Fire app lol. No magisk module or root needed. You're welcome.
Click to expand...
Click to collapse
I am saying I never need root or anything to use adb and install apps wirelessly. I have done this for the past year with NO ROOT. Don't need it for sideloading apps. Adb connect ipaddress, then adb install dragdropapp from PC into terminal. No root or magisk needed. I always have a rooted phone and that's where the magisk module comes in. On a PC u can load them to a stick out of the box.
fullofhell said:
I am saying I never need root or anything to use adb and install apps wirelessly. I have done this for the past year with NO ROOT. Don't need it for sideloading apps. Adb connect ipaddress, then adb install dragdropapp from PC into terminal. No root or magisk needed. I always have a rooted phone and that's where the magisk module comes in. On a PC u can load them to a stick out of the box.
Click to expand...
Click to collapse
Yep, that's exactly what you said before. Not sure why you are repeating it.
JUSTINMARMER said:
Yep, that's exactly what you said before. Not sure why you are repeating it.
Click to expand...
Click to collapse
Cuz u aren't understanding. If u read your comments, then mine, you would see it seems u think I'm saying one would have to have root to use adb install. U do not.
fullofhell said:
Cuz u aren't understanding. If u read your comments, then mine, you would see it seems u think I'm saying one would have to have root to use adb install. U do not.
Click to expand...
Click to collapse
That is 100% incorrect. I see now you have a reading comprehension disability. I can't imagine how hard that must be for you and I empathize.
Obviously root is needed for magisk modules. I suggested an app to help all those without root.
Bless your heart.
Originality/HydrogenOS
If you have a Chinese Cyberpunk Edition phone with OxygenOS, you'll notice that the Cyberpunk theme/assets are missing, and OTA updates lead to a boot loop. This guide will tell you how to restore the phone to its original software (HydrogenOS), unlock the bootloader, root it, and get Google Apps working. If you are American, this is the golden ticket. OTA updates will work and you will get the original theme/assets back.
I have made this guide because I purchased a Cyberpunk phone and the vendor installed OxygenOS. The Chinese Cyberpunk Edition phones are meant to use HydrogenOS. OxygenOS is not currently designed for the Chinese Cyberpunk Edition phones, despite many vendors installing it. I've spoken to Oneplus and it doesn't appear there are immediate plans to support the phone using OxygenOS.
This information is only for Chinese Cyberpunk Edition phones.
Rooting the phone is optional if you just want Google Apps.
Proceed at your own risk.
Setting Up
You're going to need to download and install these things for the remainder of the guide.
Minimal ADB/Fastboot (Download)
Oneplus USB Drivers (Download)
Qualcomm USB Drivers (Download)
If you've already been toying with the phone, you might already have these. If so, skip ahead.
Restoring HydrogenOS (Credit: Some_Random_Username)
You are going to want to download the MSM Download Tool, designed for Chinese KB2000 phones. This tool will wipe your phone and restore the original HydrogenOS software, as well as your Cyberpunk theme/assets.
You will need to download the tool here:
https://androidfilehost.com/?w=files&flid=320230 (Credit: g96818)
Rootk1t said:
https://androidfilehost.com/?fid=10763459528675590014 or https://drive.google.com/file/d/1-MwwMBiszDvAoCoqH1P5aZRaLvDFL_66/view
The difference is only in HOS version.
If your phone is made after march 2021, i suggest using latest one HOS MSM (google link).
Click to expand...
Click to collapse
After downloading:
Extract the archive to a folder.
Remove any Chinese characters from folder names (if applicable).
Open "MsmDownloadTool V4.0".
Under "User Type", select "Others".
Click "Next".
Notice that "Target" is selected on the dropdown in the top-right of the window.
Change the option from "Target" to "H2" instead.
Now make sure your phone is ready:
Turn your phone off and wait a few seconds.
Press the "Start" button on the tool.
Hold both volume buttons down, while plugging your phone in through USB (to enter Qualcomm EDL mode).
The download tool will begin to work it's magic (should take 200-300 seconds).
Once it says "Download Complete", your phone should reboot into HydrogenOS.
Close the tool completely.
Perform the phone's setup, then decide whether you want to root the phone, or just install Google Apps. Your phone will be wiped if you unlock the bootloader.
If your device wasn't detected when running the tool, make sure you have the Qualcomm USB driver installed. To do this, open device manager. Under "QHUSB_BULK", select "Update Driver Software", and use the .cab file you found earlier.
Unlock the Bootloader (Optional)
Before you may root the phone, you will need to do the following.
Enable Developer Mode:
Open your Settings application and go to "About Phone".
Tap the section that says "Build Number" five times consecutively.
You will now have developer mode.
Enable OEM Unlocking/USB debugging:
Open your Settings application and click the search button.
Search for and enable the option: "OEM unlocking".
Search for and enable the option: "USB debugging".
You will be asked if you want to trust the device when it's plugged in. Click "Allow".
You will want to do the following, using the ADB/Fastboot you downloaded:
Make sure your phone is plugged in.
Run the following:
adb reboot bootloader
Your phone will reboot into the bootloader.
Run the following:
fastboot oem unlock
Use the volume/power buttons on your phone, to confirm.
Your phone will reboot and wipe itself, as well the Chinese applications. Perform the phone's normal setup again.
The bloatware and Chinese apps will return when you perform an OTA update at the end of the guide. They can also be removed/disabled.
Rooting (Optional)(Credit: DroidFreak32)
To root the phone we will be installing Magisk, using a patched boot.img from your current version of HydrogenOS. In this case, we are using version 11.0.1.2 (the version of the MSM Download Tool). I will be providing the boot.img from my phone, which I have used personally.
You will want to download the following:
Patched 11.0.1.2 Boot.img (Download)
Canary Magisk Manager (Download)
Preparation:
Re-enable developer mode, as well as USB debugging. Just like you did in the previous section.
Transfer the app-debug.apk to your phone, and install it through the phone's file manager.
Copy "magisk_patched_11.0.1.2.img" to your computer's ADB directory.
Rooting:
Run the following:
adb reboot bootloader
Your phone will reboot into the bootloader.
Run the following:
fastboot boot magisk_patched_11.0.1.2.img
Your phone will reboot, using the patched boot.img.
Enter the Magisk Manager app you installed earlier.
Tap Magisk (Install) -> Perform Direct Install
You will have root on reboot!
If Magisk says it needs to reboot to apply changes, you will need to follow the last set of steps again.
If for some reason the boot.img I provided doesn't work, you will need to follow DroidFreak32's guide. His guide is very detailed and will instruct you on how to create your own patched boot.img and root the phone.
Installing Google Apps (Credit: Steve0007 and @xxxrichievxxx)
To install, you will want to obtain a copy of the Google Play Store from a 3rd Party. @xxxrichievxxx suggested this solution, which worked for me regardless of unlock/root status.
You'll want to download, copy, and run the newest version from your device:
https://www.apkmirror.com/apk/google-inc/google-play-store/google-play-store-23-1-19-release/
We had also tried using WeebGapps, which has problems after updating:
https://t.me/s/WeebGAppsChannel?q=#Android_11+#magisk_mode (Requires Telegram)
Updating
Unlike on OxygenOS, you will actually be able to download and perform OTA updates, through the Settings app. If you do not follow the steps below when updating, you will lose root.
Disable your Magisk modules (if applicable) when updating, and re-enable after you have successfully updated!
I also recommend disabling "automatic system updates" via Settings, as they can break your root.
Follow these steps:
epr said:
- Go to System-Update
- Tap OK when the message that you are rooted appears
- Tap "Download and install"
- Wait until you are prompted to reboot - DO NOT REBOOT NOW!
- Open Magisk Manager, select install -> Install to inactive slot and start installation
- When Magisk has finished installing, reboot and you stay rooted with latest OTA.
Click to expand...
Click to collapse
If you are missing the Play Store after updating, install it from here. If you happen to mess up or lose Google Apps, try uninstalling/reinstalling the module.
If you do happen to lose root, you will want to follow DroidFreak32's guide, as I've only provided the patched boot.img for 11.0.1.2.
Bloatware
You're probably annoyed by all the preinstalled garbage. I've made a short script that disables the Chinese market and removes all 3rd party Chinese (By_3rd and heytap) applications.
Removing Market and Almost All 3rd Party Apps:
Visit here: https://pastebin.com/raw/3SsA1tpc
Open notepad and save the above text as a .bat file.
Copy and run the file from your ADB directory.
You will likely need to run this script each update, as applications are added back on update. I've decided to leave the other applications on my device for now. If you want to remove even more, Steve0007 recommended this resource.
Credits
Steve0007 and xxxrichievxxx for helping to find the solid solution for Google Apps.
WeebGApps for the module that installs Google Apps.
DroidFreak32 for his thread on rooting the Oneplus 8T.
Some_Random_Username and g96818 for uploading/sharing the MSM download tools.
Most of this information is compiled from other sources, so consider supporting the developers listed above.
Informative and well explained. It will definitely help a lot of users.
Very helpful, good job
Should be sticky.
sunmughans said:
Informative and well explained. It will definitely help a lot of users.
Click to expand...
Click to collapse
Hopefully it prevents some headaches. Vendors are still shipping the phones out with OxygenOS.
Steve0007 said:
Very helpful, good job
Should be sticky.
Click to expand...
Click to collapse
Wouldn't exist without your help!
Awesome! Going to try this out today
AWESOME!!!! Thank you very much!! Is google play installed as well? Last time I read something about all the google apps installed except Google play lol
Updated the bloatware section. The script will now remove 40 bloatware apps. These apps may conflict with Google Play, so I do suggest removing them.
xxxrichievxxx said:
AWESOME!!!! Thank you very much!! Is google play installed as well? Last time I read something about all the google apps installed except Google play lol
Click to expand...
Click to collapse
Google Play has installed fine in my tests. However, updating might cause it to get removed. I'd keep a copy of the APK in your phone's storage, just so you have it if you need it.
You can find it here:
https://www.apkmirror.com/apk/google-inc/google-play-store/google-play-store-23-1-19-release/
Hi, it's very strange, because on all oneplus, you can put hydrogen or oxygen without any problem.
Some people buy cyberpunk édition on Giztop or cect without any problem...very strange, no ?
Another question, IS it possible to add other language on hydrogen if de want to use it ?
Thanks
g4seb said:
Hi, it's very strange, because on all oneplus, you can put hydrogen or oxygen without any problem.
Some people buy cyberpunk édition on Giztop or cect without any problem...very strange, no ?
Another question, IS it possible to add other language on hydrogen if de want to use it ?
Thanks
Click to expand...
Click to collapse
Try this: morelocale 2
MoreLocale 2 - Apps on Google Play
This is just MoreLocale2
play.google.com
or this
Locale Language (Pro) Set Locale & Language for Android - APK Download
Download Locale Language (Pro) Set Locale & Language apk 3.5.8 for Android. This application let activate your home language (locale) with ease.
apkpure.com
Right now I recommend updating the phone before installing Google Apps.
Went though this process to update, very well detailed. I went from Oxygen OS to Hydrogen then followed the rest of the steps to install Google Play.
I made the mistake of updating via OTA after restoring Hydrogen OS and had to repeat a couple step to get to the root step then followed the rest to install Google Play.
Youll need to download the 7z software to extract MSM software and one of the files needs a Telegram account. Its a messaging app that requires a phone number to create.
Also make sure you have the drivers sorted out, I had to do a bit of trouble shooting on the qualcomm drivers.
The cyberpunk theme is pretty cool.
I am having some spotty issues with google though, after updating OTA everything was fine but occasionally I will lose the play store. I have tried to directly install the apk and reinstall the module in magisk. But there is something kicking it off. The apps that I downloaded are still there, just the play store that drops. Edit: I am on module 4.0.4. Might try 4.0.5
Testing out the apps, I cannot get the maps app to work, keeps crashing. And for some reason I cannot log in to Chrome. It wont detect the account that is already logged into the phone (gmail, youtube etc) when I sign in manually it says 'This account already on device' I have signed in and out numerous times.
This is a pretty good solution to keep the cyberpunk theme, which you want if you have this phone. I get 5g speeds on US T-Mobile and have no issues with texts and calls. If the play store was more stable this will be a solid solution.
Props to @OniAraAra for compiling this detailed guide and members who contributed
Went through the WHOLE guide and I too was able to revert back to the Cyberpunk ROM! Super COOL!!! I am extremely happy! Thank you!
Also would like to note that Android Auto also crashes
I've been reading and mentally preparing all the steps by downloading the required files and walking through them, but I've no development experience and I'm worried that if I mess up a step, I would have no idea how to unstuck myself...
For example:
If your device wasn't detected when running the tool, make sure you have the Qualcomm USB driver installed. To do this, open device manager. Under "QHUSB_BULK", select "Update Driver Software", and use the .cab file you found earlier.
Click to expand...
Click to collapse
I tried to look up my device manager on my PC and I do not see "QHUSB_BULK" so little things like that worry me
Is it possible to convert European 8T to full cyberpunk version?
jirka607 said:
Is it possible to convert European 8T to full cyberpunk version?
Click to expand...
Click to collapse
Do not use this guide for that. It will not work. There's other threads on how to install the Cyberpunk goodies for a normal 8T.
Nables said:
I've been reading and mentally preparing all the steps by downloading the required files and walking through them, but I've no development experience and I'm worried that if I mess up a step, I would have no idea how to unstuck myself...
For example:
I tried to look up my device manager on my PC and I do not see "QHUSB_BULK" so little things like that worry me
Click to expand...
Click to collapse
For the most part, any accidents are easily reversible, as there's a great guide on unbricking here:
[OP8T][OOS KB05AA/BA/DA] Unbrick tool to restore your device to OxygenOS
Disclaimer: By attempting any of the processes listed in this thread you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches fire, or turns into a hipster and claims to have been...
forum.xda-developers.com
Arr6 said:
This is a pretty good solution to keep the cyberpunk theme, which you want if you have this phone. I get 5g speeds on US T-Mobile and have no issues with texts and calls. If the play store was more stable this will be a solid solution.
Props to @OniAraAra for compiling this detailed guide and members who contributed
Click to expand...
Click to collapse
It is as you say. Across multiple installs I've had minor issues with the Google Play store disappearing, but you can always reinstall the APK. I did not notice this until after I had made the guide.
@Steve0007 and I are looking for a more stable solution as we speak, so hopefully we'll have that soon!
OniAraAra said:
Originality/HydrogenOS
If you have a Chinese Cyberpunk Edition phone with OxygenOS, you'll notice that the Cyberpunk theme/assets are missing, and OTA updates lead to a boot loop. This guide will tell you how to restore the phone to its original software (HydrogenOS), unlock the bootloader, root it, and get Google Apps working. If you are American, this is the golden ticket. OTA updates will work and you will get the original theme/assets back.
I have made this guide because I purchased a Cyberpunk phone and the vendor installed OxygenOS. The Chinese Cyberpunk Edition phones are meant to use HydrogenOS. OxygenOS is not currently designed for the Chinese Cyberpunk Edition phones, despite many vendors installing it. I've spoken to Oneplus and it doesn't appear there are immediate plans to support the phone using OxygenOS.
This information is only for Chinese Cyberpunk Edition phones.
Proceed at your own risk.
Setting Up
You're going to need to download and install these things for the remainder of the guide.
Minimal ADB/Fastboot (Download)
Oneplus USB Drivers (Download)
Qualcomm USB Drivers (Download)
If you've already been toying with the phone, you might already have these. If so, skip ahead.
Restoring HydrogenOS (Credit: Some_Random_Username)
You are going to want to download the MSM Download Tool, designed for Chinese KB2000 phones. This tool will wipe your phone and restore the original HydrogenOS software, as well as your Cyberpunk theme/assets.
You will need to download the tool here:
https://androidfilehost.com/?w=files&flid=320230 (Credit: g96818)
After downloading:
Extract the archive to a folder.
Remove any Chinese characters from folder names (if applicable).
Open "MsmDownloadTool V4.0".
Under "User Type", select "Others".
Click "Next".
Notice that "Target" is selected on the dropdown in the top-right of the window.
Change the option from "Target" to "H2" instead.
Now make sure your phone is ready:
Turn your phone off and wait a few seconds.
Press the "Start" button on the tool.
Hold both volume buttons down, while plugging your phone in through USB (to enter Qualcomm EDL mode).
The download tool will begin to work it's magic (should take 200-300 seconds).
Once it says "Download Complete", your phone should reboot into HydrogenOS.
Close the tool completely.
Perform the phone's setup, then proceed to the next step. Your phone will be wiped again in the next step.
If your device wasn't detected when running the tool, make sure you have the Qualcomm USB driver installed. To do this, open device manager. Under "QHUSB_BULK", select "Update Driver Software", and use the .cab file you found earlier.
Unlock the Bootloader
Before you may root the phone, you will need to do the following.
Enable Developer Mode:
Open your Settings application and go to "About Phone".
Tap the section that says "Build Number" five times consecutively.
You will now have developer mode.
Enable OEM Unlocking/USB debugging:
Open your Settings application and click the search button.
Search for and enable the option: "OEM unlocking".
Search for and enable the option: "USB debugging".
You will be asked if you want to trust the device when it's plugged in. Click "Allow".
You will want to do the following, using the ADB/Fastboot you downloaded:
Make sure your phone is plugged in.
Run the following:
adb reboot bootloader
Your phone will reboot into the bootloader.
Run the following:
fastboot oem unlock
Use the volume/power buttons on your phone, to confirm.
Your phone will reboot and wipe itself, as well the Chinese applications. Perform the phone's normal setup again.
The bloatware and Chinese apps will return when you perform an OTA update at the end of the guide. They can also be removed/disabled.
Rooting (Credit: DroidFreak32)
To root the phone we will be installing Magisk, using a patched boot.img from your current version of HydrogenOS. In this case, we are using version 11.0.1.2 (the version of the MSM Download Tool). I will be providing the boot.img from my phone, which I have used personally.
You will want to download the following:
Patched 11.0.1.2 Boot.img (Download)
Canary Magisk Manager (Download)
Preparation:
Re-enable developer mode, as well as USB debugging. Just like you did in the previous section.
Transfer the app-debug.apk to your phone, and install it through the phone's file manager.
Copy "magisk_patched_11.0.1.2.img" to your computer's ADB directory.
Rooting:
Run the following:
adb reboot bootloader
Your phone will reboot into the bootloader.
Run the following:
fastboot boot magisk_patched_11.0.1.2.img
Your phone will reboot, using the patched boot.img.
Enter the Magisk Manager app you installed earlier.
Tap Magisk (Install) -> Perform Direct Install
You will have root on reboot!
If Magisk says it needs to reboot to apply changes, you will need to follow the last set of steps again.
If for some reason the boot.img I provided doesn't work, you will need to follow DroidFreak32's guide. His guide is very detailed and will instruct you on how to create your own patched boot.img and root the phone.
Installing Google Apps (Credit: Steve0007)
To install Google Apps, we will be using WeebGapps (Magisk Module). There is no custom recovery available, so this is the best way to sideload Google Apps currently.
You will want to download the zip from this link:
https://t.me/s/WeebGAppsChannel?q=#Android_11+#magisk_mode (Requires Telegram)
After downloading the zip:
Transfer the zip you have downloaded to your phone's storage.
Open Magisk Manager
Select the Modules icon (looks like a puzzle piece)
Select "Install from storage"
Install the module's zip file
Your phone will reboot, with Google Apps
If you receive version errors when installing the module, download an older version. Version 4.0.4 worked perfect for me.
Updating
Unlike on OxygenOS, you will actually be able to download and perform OTA updates, through the Settings app. If you do not follow the steps below when updating, you will lose root.
Disable your Magisk module when updating, and re-enable after you have successfully updated!
I also recommend disabling "automatic system updates" via Settings, as they can break your root.
Follow these steps:
If you are missing the Play Store after updating, install it from here. If you happen to mess up or lose Google Apps, try uninstalling/reinstalling the module.
If you do happen to lose root, you will want to follow DroidFreak32's guide, as I've only provided the patched boot.img for 11.0.1.2.
Bloatware
You're probably annoyed by all the preinstalled garbage. I've made a short script that disables the Chinese market and removes all 3rd party Chinese applications.
Disabling Market and Removing 3rd Party Apps:
Visit here: https://pastebin.com/raw/3SsA1tpc
Open notepad and save the above text as a .bat file.
Copy and run the file from your ADB directory.
You will likely need to run this script each update, as applications are added back on update. I've decided to leave the other applications on my device for now. If you want to remove even more, Steve0007 recommended this resource.
Credits
Steve0007 for working with me to find the solid solution for Google Apps.
WeebGApps for the module that installs Google Apps.
DroidFreak32 for his thread on rooting the Oneplus 8T.
Some_Random_Username and g96818 for uploading/sharing the MSM download tools.
Most of this information is compiled from other sources, so consider supporting the developers listed above.
Click to expand...
Click to collapse
Hello.
Thinking to experience the Hydrogen and using all related Google Apps at the same time but the file downloaded was in 7z format. Thought it is in zip format. How am I going to extract then?
Salam.Husin said:
Thinking to experience the Hydrogen and using all related Google Apps at the same time but the file downloaded was in 7z format. Thought it is in zip format. How am I going to extract then?
Click to expand...
Click to collapse
You'll need WinRAR or another program to extract the archive. Apologies for the confusion.
OniAraAra said:
You'll need WinRAR or another program to extract the archive. Apologies for the confusion.
Click to expand...
Click to collapse
Got it.
To be frank, how is it going? I mean with hydrogen os and having google apps workable at the same time?
Salam.Husin said:
Got it.
To be frank, how is it going? I mean with hydrogen os and having google apps workable at the same time?
Click to expand...
Click to collapse
After eliminating the bloatware, it's actually very nice. Asides from minor issues with the Play store vanishing, it should serve everyone's needs perfectly.
That said, I do encourage people abstain from installing the Google Apps if they are uncomfortable reinstalling the APK when or if it vanishes. We're finding a fix for this.
OniAraAra said:
After eliminating the bloatware, it's actually very nice. Asides from minor issues with the Play store vanishing, it should serve everyone's needs perfectly.
That said, I do encourage people abstain from installing the Google Apps if they are uncomfortable reinstalling the APK when or if it vanishes. We're finding a fix for this.
Click to expand...
Click to collapse
You mean, Google Play Store and/or Google Play Services, to be specific? It keeps vanishing even after all means taken into consideration?
Right now, I have already got the msm tool for hydrogen. Thinking about to go through it or not... hmmm...