Showing posts from July, 2021

new definition of ampere

  May 20, 2019, the ampere is  redefined such that the elementary charge (charge of electron or proton) would be equal to 1.602176634 × 10 −19         

chrome os install using linux

 Requirements root access. pv ,   tar   and   cgpt   packages/binaries  STEPS:: 1. download recovery image from and extract brunch from sudo bash -src rammus_recovery.bin -dst /dev/sda    it will wipe /sda completly  for dual boot ::   see readme in github brunch     Intel "rammus" is suggested for 1st gen -> 9th gen. "volteer" is suggested for 10th & 11th gen. 11th gen (and some 10th gen) may need kernel 5.10 AMD "grunt" is suggested for Stoney Ridge & Bristol Ridge. "zork" is suggested for Ryzen. Ryzen 4xxx devices need kernel 5.10  

get win 10 product key

win+x run cmd/powershell as admin    wmic path softwarelicensingservice get OA3xOriginalProductKey ##this gives oem key in bios/uefi i.e key that came with hardware run notepad :: pasta  ------------------------------- Set WshShell = CreateObject("WScript.Shell") MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId")) Function ConvertToKey(Key) Const KeyOffset = 52 i = 28 Chars = "BCDFGHJKMPQRTVWXY2346789" Do Cur = 0 x = 14 Do Cur = Cur * 256 Cur = Key(x + KeyOffset) + Cur Key(x + KeyOffset) = (Cur \ 24) And 255 Cur = Cur Mod 24 x = x -1 Loop While x >= 0 i = i -1 KeyOutput = Mid(Chars, Cur + 1, 1) & KeyOutput If (((29 - i) Mod 6) = 0) And (i <> -1) Then i = i -1 KeyOutput = "-" & KeyOutput End If Loop While i >= 0 ConvertToKey = KeyOutput End Function ------------------------------------------------------------------- saveas pkey.vbs and select filetype all files instead of

realme stock rom reset( from custom rom)

 download ozip of phone from move file to /sdcard and backup personal data install stock recovery and boot to it using vol up +power install  .ozip and wipe data including all (dont keep contact/data else bootloop) as of time latest is  non qualocom edition qualocom edition    

static ip address for alpine linux

run setup-interfaces to generate wpa_supplicant confgs and openrc startup item sudo vim   /etc/network/interfaces --------------------------------------------------------------------    auto wlan0    iface wlan0 inet static            address            gateway            hostname kat -------------------------------------------------------------------- sudo /etc/init.d/networking  restart ---------------------------------------------------------------- ping          address was in wiki  src::

ntfs unclean filesystem fix

 sudo ntfsfix /dev/sdXY mount -t nfts-3g -o remove_hiberfile /dev/sdXY /mnt

chrony update time

  sudo chronyd -q 'server iburst'