To boot up into the Android boot menu, start by powering down phone.
Once it is powered off, press the Volume Down and Power button and hold until it turns on.
You should get the boot menu.
To boot up into the Android boot menu, start by powering down phone.
Once it is powered off, press the Volume Down and Power button and hold until it turns on.
You should get the boot menu.
Open up a Python console
>>> import base64 >>> a = "SGVsbG8gV29ybGQ=" <- Change to your Base64 encoded string >>> base64.b64decode(a) b'Hello World' <-Decoded string >>>
Works with Python 2 and 3. For some reason Python3 puts a b before the string in the output.
Go to Tools -> Packet Sniffer
Configure the Streaming options. Set the Server IP address to the computer you are running Wireshark on
Configure the Filter settings. Unless you want to stream everything from the router to your computer.
Make sure the TZSP is enabled in the “Enabled Protocols” Window. Either by going to “Analyze -> Enabled Protocols” or “Ctrl + Shift + E”
Run Wireshark.
Helpful links
Installing GrapheneOS is pretty well documented on the website.
https://grapheneos.org/install
The following are mainly some of my notes. More detailed instructions are available at the above link.
To enable the developer options on Android go to Settings -> About phone -> Tap on Build number until it says your a Developer.
Settings -> System -> Advanced (Dropdown) -> Developer options
Allow OEM unlocking
Boot into the bootloader By
Run the following command from a computer with fastboot
sudo fastboot flashing unlock
The screen should change, hit the arrow keys to select Unlock the bootloader and confirm with the power button
Download the proper factory image and files from https://grapheneos.org/releases
The name should say something device-factory-date.zip and device-factory-date.zip.sig
The .sig file is used to verify the image in the below section.
Verify the Keys
The commands to do this are from a Linux computer. There may be alternatives for Windows. You can technically skip this section.
Install signify
sudo apt install signify-openbsd -y
Download the public key from https://releases.grapheneos.org/factory.pub
Run and check that the key and the image match.
The following command assumes you are in the same directory as the image and factory.pub file.
sudo signify-openbsd -Cqp factory.pub -x blueline-factory-2020.03.04.16.zip.sig && echo verified
Unzip the factory image and change directories into it
unzip blueline-factory-2020.03.04.16.zip && cd blueline-qq2a.200305.002/
Run the flash script to flash the image to your Pixel.
sudo ./flash-all.sh
Wait for it to flash, may take a long time.
NOTE: I ran into issues with the script as my version of fastboot was old. SEE PROBLEMS HEADING BELOW
Boot back up into the recovery menu and lock the boot loader with
fastboot flashing lock
https://apple.stackexchange.com/questions/100570/getting-all-files-from-a-web-page-using-curl
Replace example.com/website with the website you want to download files from.
wget -r -np -k http://example.com/website/
The above command will download all the files it can find in that web directory, i.e. (html files) This can be helpful if your trying to move a simple HTML site.
The -r option means recursive, the -k option converts the links to local links after it downloads the page.
Change “website.toredirect.com” to the website you would like to redirect to. Put the code in a index.html or index.php file. If you stick it in the root website directory it’ll redirect automatically get called when you hit the website.
<meta HTTP-EQUIV="REFRESH" content=0"; url=https://website.toredirect.com">
msg INBOX/4624 {75129} couldn't append (Subject:[Email message]) to folder INBOX: Error sending '55 APPEND INBOX (\Seen) "25-Aug-2017 09:12:05 -0600" {75129}': 55 NO [OVERQUOTA] Not enough disk quota (0.001 + 0.000 secs).
To resolve the above problem, check the following
The above problem was due to the fact that the cPanel User Quota was maxed out. Increasing the space allocated to the account resolved the problem.
The following is a list of programs that can be helpful on Windows for normal maintenance task or making a task easier to accomplish.
Angry IP Scanner – IP scanner. Helpful for finding out which addresses are in use on a network.
https://angryip.org/
WinDirStat – Disk usage statistics tool. Helpful for finding large files and cleaning up.
https://windirstat.net/
WiFi Scanner – Wifi Analyzer tool. It is great for figuring out which channel a router is on, channel bandwidths, or signal strength.
http://wifiscanner.com/index.html
EaseUS Partition Master – Makes it easier to shrink a partition when you have unmovable blocks.
https://www.easeus.com/partition-manager/epm-free.html
https://www.freebsd.org/doc/handbook/backup-basics.html
The dump command can be used to dump a backup of a FreeBSD system. You can pipe it to a remote system using SSH.
dump -0uan -f - /usr | gzip -2 | ssh username@server-ip-address dd of=/backup/freebsd/dump-usr-backup.gz
The freebsd-update command can be used to update a FreeBSD system
https://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html
freebsd-update usage: freebsd-update [options] command … [path] Options: -b basedir -- Operate on a system mounted at basedir (default: /) -d workdir -- Store working files in workdir (default: /var/db/freebsd-update/) -f conffile -- Read configuration options from conffile (default: /etc/freebsd-update.conf) -k KEY -- Trust an RSA key with SHA256 hash of KEY -r release -- Target for upgrade (e.g., 6.2-RELEASE) -s server -- Server from which to fetch updates (default: update.FreeBSD.org) -t address -- Mail output of cron command, if any, to address (default: root) Commands: fetch -- Fetch updates from server cron -- Sleep rand(3600) seconds, fetch updates, and send an email if updates were found upgrade -- Fetch upgrades to FreeBSD version specified via -r option install -- Install downloaded updates or upgrades rollback -- Uninstall most recently installed updates IDS -- Compare the system against an index of "known good" files.
To get the updates do
freebsd-update fetch
Let it run and download the updates, then run
freebsd-update install
Should say it is installing updates. Then done.