Switching Slots? - Google Pixel XL Questions & Answers

Just wondering what the command would be to switch to slot A in terminal / cmd

tryfont said:
Just wondering what the command would be to switch to slot A in terminal / cmd
Click to expand...
Click to collapse
"fastboot set_active _a" or "_b"

Related

fastboot usb mode (device not found)

Ok I can use commands VIA fastboot when the phone is on. The problem is using commands when the phone is in bootloader. It says "fastboot usb" But when i am trying to use commands like :adb reboot" i get a " device not found " error
The device is Eng s off and ship s off
Tryed this with 3 computers with no luck
I have all the needed drivers.
And using commands in bootloader worked before.
you cannot use adb commads while in fastboot, not will your device show up with the "adb devices" command, you can only issue fastboot commands. so to reboot you must use the command "fastboot reboot" and to show your device you can use the command "fastboot devices"
AndroHero said:
you cannot use adb commads while in fastboot, not will your device show up with the "adb devices" command, you can only issue fastboot commands. so to reboot you must use the command "fastboot reboot" and to show your device you can use the command "fastboot devices"
Click to expand...
Click to collapse
K thnx .
One more thing
I have SU on (#) and i cant even use commands in terminal .. tried reboot command : not permited
primpower said:
K thnx .
One more thing
I have SU on (#) and i cant even use commands in terminal .. tried reboot command : not permited
Click to expand...
Click to collapse
are you using leedroid's rom? i had the same problem, when i used his rom, some of the permissions in /system/bin/ are wrong on his rom, they are rwsr-xr-x and they should be set to rwxr-xr-x, try using adb
AndroHero said:
are you using leedroid's rom? i had the same problem, when i used his rom, some of the permissions in /system/bin/ are wrong on his rom, they are rwsr-xr-x and they should be set to rwxr-xr-x, try using adb
Click to expand...
Click to collapse
I was using Leedroid, i f**** up and installed multiple .zip at once.... first "leedroidRom.zip" and then "theme" without rebooting between.
After that it stopped working ( I think )
I then wiped everything and installed Android Revolution 2.0.12..
"Terminal"
# Reboot
not permited!
About the question i asked earlier. So its not possible to use adb commands trough fastboot. only fastboot commands.
so i have to use : "fastboot flash" and "fastboot push" to execute commands ?
you cannot use the push command while in fastboot for the same reason you cannot use ADB commands, because at that moment android is not booted, you can use adb commands from recovery though
here are the fastboot commands i know of:
fastboot devices - fastboot devices will give you a list of devices connected to the computer. This is also a good way to make sure that your phone is actually connected to the computer.
fastboot reboot - this will reboot your phone normally
fastboot oem unlock - Dont think this works with the DHD
fastboot erase XXX - Will erase the partition XXX (such as userdata, cache) - mainly used for resetting phone and clearing userdata / factory settings.
fastboot flash XXX YYY - This will flash XXX partitionn with YYY image

fastboot and "waiting for device"???

I'm trying to change the kernel (with DooMKernel) on my Arc.
I installed the ADB drivers (at least I hope ), in fact, when I plug in my arc in my device manager I can read:
-Android phone
->Android ADB Interface
So, when i tryed with fastboot.exe -i 0x0fce getvar version command, it's ok, I get a response back.
With fastboot flash boot boot.img, I get the "waiting for device"
What's the problem??
try type fastboot flash boot boot.img
But that won't flash the kernel...
Sent from my LT15i using XDA Premium App
beranchoi said:
try type fastboot flash boot boot.img
Click to expand...
Click to collapse
I get the same result!!
Flo95 said:
But that won't flash the kernel...
Sent from my LT15i using XDA Premium App
Click to expand...
Click to collapse
Sorry... I'm confused
Fastboot boot boot boot.img just boots the kernel but doesn't flash it.
Sent from my iPad 2 using Tapatalk
Is your boot loader unlocked ??
Flo95 said:
Fastboot boot boot boot.img just boots the kernel but doesn't flash it.
Click to expand...
Click to collapse
So, what's right command??
KingWickedd said:
Is your boot loader unlocked ??
Click to expand...
Click to collapse
yes, it's!! In my phone, open the dialler and enter *#*#7378423#*#* to access the service menu, and he says bootloader unlocked!!
fastboot flash boot boot.img is right
Sent from my iPad 2 using Tapatalk
Flo95 said:
fastboot flash boot boot.img is right
Click to expand...
Click to collapse
Even with this command, the result is the same!!
ssl3vin said:
Even with this command, the result is the same!!
Click to expand...
Click to collapse
did you try
Code:
fastboot -i 0xfce flash boot boot.img
?
drcyber said:
did you try
Code:
fastboot -i 0xfce flash boot boot.img
?
Click to expand...
Click to collapse
THANKSSSSS
yes, it works!!
use this https://rs639l3.rapidshare.com/#!do...r|6525|R~3AB292D7A53EFF1EE7A8A05879380BA4|0|0.
All drivers is on this file .
extract file and open the file" fastboot_with_Android_USB_file" ,so press shift and clic right bouton from mouse on the file fastboot, in the menu shoose "open the window command here".
The sreen CMD automaticly is opening .so you can write fastboot flash boot boot.img.
Amivieu said:
use this https://rs639l3.rapidshare.com/#!do...r|6525|R~3AB292D7A53EFF1EE7A8A05879380BA4|0|0.
All drivers is on this file .
extract file and open the file" fastboot_with_Android_USB_file" ,so press shift and clic right bouton from mouse on the file fastboot, in the menu shoose "open the window command here".
The sreen CMD automaticly is opening .so you can write fastboot flash boot boot.img.
Click to expand...
Click to collapse
Sorry, but the DRIVERS ARE OK, my phone is recognized as ADB interface!!!
but when I enter with fastboot flash boot boot.img, he show the message "waiting for device".
Instead with the command fastboot -i 0xfce flash boot boot.img it's works perfectly
drcyber said:
did you try
Code:
fastboot -i 0xfce flash boot boot.img
?
Click to expand...
Click to collapse
What does the -i 0xfce do? Because it works!
Daanmannetje said:
What does the -i 0xfce do? Because it works!
Click to expand...
Click to collapse
how does it work,this is what i get when i copy-past that line:
"""C:\Documents and Settings\Dedaj\Desktop\Xperia Arc\Xperia Tools\fastboot\fastboo
t>fastboot -i 0xfce flash boot boot.img
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall 'flash boot' + 'flash system'
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
reboot reboot device normally
reboot-bootloader reboot device into bootloader
options:
-w erase userdata and cache
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
C:\Documents and Settings\Dedaj\Desktop\Xperia Arc\Xperia Tools\fastboot\fastboo
t>""""
so what i'm doing wrong!
EDIT:
Fixed
I got the same problem. I'm using Windows 8 and I got "waiting for device" error. I tried to write "-i 0xfce" but it didn't work. How can I fix this ?
---------- Post added at 01:56 PM ---------- Previous post was at 01:54 PM ----------
And I also ran "cmd" as administrator but it did not work too.
im having the exact same problem
welocan said:
I got the same problem. I'm using Windows 8 and I got "waiting for device" error. I tried to write "-i 0xfce" but it didn't work. How can I fix this ?
---------- Post added at 01:56 PM ---------- Previous post was at 01:54 PM ----------
And I also ran "cmd" as administrator but it did not work too.
Click to expand...
Click to collapse
im having the exact same problem we should make this more big so everyone can see it
APPLEMYASS said:
we should make this more big so everyone can see it
Click to expand...
Click to collapse
Or just Google fastboot Windows 8 and do some reading.
Check this
When the command window opens type 'fastboot devices'
What happens? what do you get?
Make sure u hv enabled USB debugging from Settings-> Development.
Hit thanks if I helped u...
Sent from my Xperia Arc using xda app-developers app

How to change to boot a or b

Are we able to change slots in fastboot?
what are the fastboot commands?
Thanks!
This maybe?
Code:
fastboot --set-active=b (if your current active slot is a)
fastboot --set-active=a (if your current slot is b)
https://forum.xda-developers.com/pixel-xl/help/multiple-bootloader-slots-t3600228
lucky_strike33 said:
Are we able to change slots in fastboot?
what are the fastboot commands?
Thanks!
Click to expand...
Click to collapse
fastboot set_active a
fastboot set_active b
Either works

Active Partition

how do i find out which partition is active and what is installed on each partition?
To find out which slot is active, go into bootloader state and type "fastboot getvar all".
aboodyaiman said:
To find out which slot is active, go into bootloader state and type "fastboot getvar all".
Click to expand...
Click to collapse
That will work and tell you far more than is needed. I humbly submit the following command:
fastboot getvar current-slot
Another way (if you don't have a computer)
Is to flash a module through magisk, you'll see at the top of the flash script, magisk will show you what slot it is flashing the module to.
That will be your current/active slot.

Question Question About Fastboot

what does this command
fastboot --set-active=a
actually do ?
do i really need to type
fastboot --set-active=a
right after fastboot flash vendor_boot_ab vendor_boot_alioth.img ??
you have a partition a/b device. you are setting partition a as active
so its a good thing to do ?
reg66 said:
you have a partition a/b device. you are setting partition a as active
Click to expand...
Click to collapse

Categories

Resources