for rooting i usually uses the wugfresh nexus toolkit and it will root the nexus by using a temporary twrp recovery but how do i do the same using adb?
im using linux now so thats why i used adb to flash 4.4 but i couldnt find a way to flash twrp temporarily(the recovery will only last for one time and returns to stock afterwards) . i could flash twrp and install superuser and then flash the stock recovery but im just trying to figure out how the toolkit does it by using two steps (flashing twrp temporarily and installing super su).
im using linux now so thats why i used adb to flash 4.4 but i couldnt find a way to flash twrp temporarily(the recovery will only last for one time and returns to stock afterwards) . i could flash twrp and install superuser and then flash the stock recovery but im just trying to figure out how the toolkit does it by using two steps (flashing twrp temporarily and installing super su).