전자기기이야기/커스톰롬

구글 픽셀 customize

허헉 2016. 12. 28. 14:34

순정으로 쭉 쓸까 하다가.. 역시 Bootloader unlock을 해 버림. Unlock은 다음 링크 참조. 

https://www.xda-developers.com/root-is-now-available-for-the-google-pixel-and-pixel-xl/


일단 내 목적은 루팅은 아니고.. 커스톰 롬과 recovery를 TWRP로 깔고 백업하는 것이 주 목적임.

1. TWRP 깔기.. 

http://forum.xda-developers.com/pixel/development/twrp-alpha1-pixel-devices-t3500314

명령이 좀 중요한 듯 한데.. fastboot boot twrp.img 요렇게 하면.. 임시로 twrp로 가게 되는데.. twrp에서 Flashing 가능한 TWRP ZIP file을 flashing하면 안정적으로 TWRP가 셋팅된다.

2. 다음은 커스톰 커널을 깔아야 되는데.. TWRP RC1을 사용하면 fstab.sailfish를 TWRP의 file manager에서 제거하고 커스톰 커널을 깔아야 함. (루팅일때인가?) 아무튼. 난 제거했음. Franko커널을 일단 깔아 사용중임.


PS1 : boot 원복 script

fastboot flash boot_a boot.img

fastboot flash boot_b boot.img


PS2 : Example

fastboot set_active b

fastboot flash boot boot.img

flashboot boot twrp.img

flash twrp.zip in TWRP

reboot bootloader

fastboot flash kernel elementalx.zip

reboot recovery

flash supersu.zip in TWRP (delete fstab.salfish)