User Tools

Site Tools


android:oneplus:configinfo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
android:oneplus:configinfo [2020/09/16 17:44] oscarandroid:oneplus:configinfo [2022/01/15 11:38] (current) – external edit 127.0.0.1
Line 10: Line 10:
 If the result is true, then your device is using system-as-root. If the result is true, then your device is using system-as-root.
  
-===== Find active slot =====+===== Find active slot (in fastboot)=====
 Boot into fastboot bootloader and execute: Boot into fastboot bootloader and execute:
 <code>fastboot getvar all</code> <code>fastboot getvar all</code>
-Wait for a lot of text to finish scrolling and look for the "**(bootloader) current-slot**" text. This should actually be toward the bottom without the need to scroll up. The letter after this text will be the currently active partition slot for your device+Wait for a lot of text to finish scrolling and look for the "**(bootloader) current-slot**" text. This should actually be toward the bottom without the need to scroll up. The letter after this text will be the currently  
 +active partition slot for your device 
 +===== Find active slot (via ADB)===== 
 +<code>adb shell 
 +getprop | grep slot</code> 
 + 
 +===== Change active slot ===== 
 +Boot into fastboot bootloader and execute: 
 +<code>fastboot --set-active=b (or fastboot --set-active='b')? </code>
  
 ===== List partitions ===== ===== List partitions =====
 getprop ro.boot.bootdevice getprop ro.boot.bootdevice
android/oneplus/configinfo.1600278298.txt.gz · Last modified: (external edit)