JST Connectors

The world of JST connectors, JST stands for Japan Solderless Terminal, that’s pretty much more than what you really need to know in my opinion other than the technicals. If you’re like me and only interested because you find yourself needing to replace a broken connector, well what I’ve rapidly figured out is you need to make sure you’re getting the correct size (duh), there’s obviously the basic questions you would know, such as how many pins, but they come in different sizes. 1mm, 1.25mm, 1.5mm, etc.

Your best bet is to actually measure your connector and look for an exact match. This page was a good starter on how to distinguish what you’re looking for.

Common JST Connector Types – Matt’s Tech Pages
https://www.mattmillman.com/info/crimpconnectors/common-jst-connector-types/

Then you either go to genuine sellers or you simply find what you’re looking for on eBay. You could go to Aliexpress, if you’re ok with waiting a very long time.

Links & References

Mini Micro JS 3 Pin Connector plug cable male and female new x 20 | eBay
https://www.ebay.co.uk/itm/115924260280

Mini Micro 3 pin for sale | eBay
https://www.ebay.co.uk/sch/i.html?_nkw=Mini+Micro+3+pin&_sacat=0

ZH 1.5mm Mini Micro JST Male for sale | eBay
https://www.ebay.co.uk/sch/i.html?_nkw=ZH+1.5mm+Mini+Micro+JST+Male&_sacat=0&LH_TitleDesc=0&_odkw=ZH1.5mm+Mini+Micro+JST+Male&_osacat=0

ZH 1.5mm 3-pin for sale | eBay
https://www.ebay.co.uk/sch/i.html?_nkw=ZH+1.5mm+3-pin&_sacat=0&LH_TitleDesc=0&rt=nc&LH_PrefLoc=1

JST ZH 1.5mm 3 pin for sale | eBay
https://www.ebay.co.uk/sch/i.html?_nkw=JST+ZH+1.5mm+3+pin&_sacat=0&LH_TitleDesc=0&_dmd=1&rt=nc

10PCS Mini Micro ZH 1.5mm 3 pin Jacks JST Connector with Wire YXSA | eBay
https://www.ebay.co.uk/itm/175923139881

2pcs JST ZH 1.5 3 Pin Male Female Connector Wires Cables 15cm Mini Micro FAST | eBay
https://www.ebay.co.uk/itm/155355658153

5 Set 2/3/4/5/6/7/8/9/10Pin ZH1.5mm Mini Micro JST Male 15cm Cable + Female XY | eBay
https://www.ebay.co.uk/itm/305030362711

JST ZH 1.5 3 Pin Male Female Connector Wires Cables X 5 15cm Mini Micro | eBay
https://www.ebay.co.uk/itm/303606530076

JST ZH 1.5mm 2-Pin 3-Pin 4-Pin Connector PCB Socket Wire Cable UK Seller | eBay
https://www.ebay.co.uk/itm/256210188764

15134-0402 Molex | Mouser United Kingdom
https://www.mouser.co.uk/ProductDetail/Molex/15134-0402?qs=lQAVKuKFhkLziWfc6y8Wzg%3D%3D&mgh=1&vip=1

Mini Micro JST 1.0 PH 3 Pin – Google Search
https://www.google.co.uk/imgres?imgurl=https%3A%2F%2Ftechmattmillman.s3.dualstack.us-east-1.amazonaws.com%2Fwp-content%2Fuploads%2F2021%2F01%2Falljst-800×520.jpg&tbnid=dAaz6qOxUKk19M&imgrefurl=https%3A%2F%2Fwww.mattmillman.com%2Finfo%2Fcrimpconnectors%2Fcommon-jst-connector-types%2F&docid=AQQUHzWNI_QCYM&w=800&h=520&q=Mini+Micro+JST+1.0+PH+3+Pin

Reset/clear NTFS Permissions

Ever hooked up an old drive and received error messages regarding permissions while copying or browsing through folders? There’s a simple way to reset and clear the user permissions for all the folders in one go.

Via Command prompt (admin) type the below code. In this case E:/ indicates that everything within the E drive will be reset. For more information on what the other parameters do, check out the below links.

icacls E:\ /reset

icacls E:\ /reset /t /c /l

Links & References

How to Reset NTFS Permissions Using a Simple, Free utility
https://blog.foldersecurityviewer.com/how-to-reset-ntfs-file-permissions/

reset all permissions for windows 10 and remove any unwanted hidden – Microsoft Community
https://answers.microsoft.com/en-us/windows/forum/all/reset-all-permissions-for-windows-10-and-remove/1d164613-781c-4bff-96e9-ce09649a1546

Icacls | Microsoft Learn
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/cc753525(v=ws.11)?redirectedfrom=MSDN

Takeown | Microsoft Learn
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/cc753024(v=ws.11)?redirectedfrom=MSDN

Quickly Reset NTFS Permissions in Windows 10
https://winaero.com/reset-ntfs-permissions-windows-10/

How to use ChatGPT

Step 1) Sign up

Sign up and login to https://beta.openai.com/signup

Step 2) Create an API key

If needed, create an API key via https://platform.openai.com/account/api-keys

Step 3) Use ChatGPT

https://chat.openai.com/

Use ChatGPT directly or use your api key to start a chat.

Links & References

Download Ungoogled Chromium and keep it updated

Step 1) Check your version

Go to your settings on the top right and look for ‘About Chromium’. Or you can simply type

chrome://settings/help

If you’ve not installed Ungoogled Chromium, this step is not necessary, but can also give you an idea of how far behind you are or will be after installing Ungoogled Chromium.

Step 2) Download Ungoogled Chromium

Head over to Ungoogled Chromium GitHub page, releases and check the latest version released: https://github.com/ungoogled-software/ungoogled-chromium/releases

You won’t be able to download as it’s just the source code provided, however head over to the below link for the windows download:

https://github.com/ungoogled-software/ungoogled-chromium-windows/releases

Alternatively using winchrome, which compiles a Windows version for us, we can download it over at:

https://github.com/macchrome/winchrome/releases

As you’ve checked the version, it’s important to be as close as possible to the release. Ungoogled Chromium strips out any Google code in Chromium, which means there’s a slight delay, and as we’re relying on someone to compile us a Windows version, there’s another delay.

This is not a huge deal if you’re a couple of days behind. Of course it means you’re vulnerable to the latest browser exploits.

Step 3) Keep your extensions up to date.

Extensions do not auto update. If you’re at this point and thinking maybe it’s not worth it, I would suggest using Mullvad Browser or LibreWolf. Or maybe Waterfox or Falkon.

If you’re still fine with the manual process. You will need to download and keep manually updating chromium-web-store in order to use extensions. You can then simply remove and re-add all your extensions to essentially update it.

To update, open ‘Manage extensions’ via the settings or go to:

chrome://extensions/

Check “details” of Chromium Web Store extension that you had downloaded, compare to latest version on GitHub, download if necessary. I like to go to the Chrome Web Store and either compare versions or just remove and re-add my extensions to make sure they’re all on the latest.

https://chrome.google.com/webstore/category/extensions

Building YouTube ReVanced with ReVanced CLI (Non-Root)

I’ve not yet completed this how-to, but this guide here is fantastic (web achieve backup).

Installing Java & Zulu OpenJDK

Links & References

revanced/revanced-cli: 💻 Command line application as an alternative to the ReVanced Manager
https://github.com/revanced/revanced-cli

Download YouTube APKs for Android – APKMirror
https://www.apkmirror.com/apk/google-inc/youtube/

Debloating/Uninstalling ‘System’ or locked Apps on Android (without Root)

In order to uninstall system apps, you generally need root access, optionally you can do this via ADB shell (Android Debug Bridge) shell = command line.

Install ADB

You can install ADB automatically or manually, the manual process consists of downloading the SDK platform tools:

SDK Platform Tools release notes  |  Android Studio  |  Android Developers
https://developer.android.com/tools/releases/platform-tools

Or if you’ve already got Android Studio downloaded, over SDK Manager > SDK Tools installed the package.

Commands

To connect:

adb shell

Then to list all the installed apps:

pm list packages

To narrow down or search for packages containing certain words:

pm list package | grep YouTube

To uninstall:

pm uninstall --user 0 package-name

To disable:

pm disable --user 0 package-name

Additional Information

How to uninstall carrier/OEM bloatware without root access
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/

–user flag

The –user flag in the above command is important because it tells the system to uninstall the app for the current user only (and 0 is the default/main user of the phone). There is no way you can uninstall the app from all users unless you root the phone.

-k flag

-k option to keep the packages data and cache.

pm uninstall -k | XDA Forums
https://forum.xda-developers.com/t/pm-uninstall-k.4427021/

pm disable

How To Disable Any System App Bloatware On Android Without Root
https://www.xda-developers.com/disable-system-app-bloatware-android/

[Q] “pm disable” – Where’s it store the list? | XDA Forums
https://forum.xda-developers.com/t/q-pm-disable-wheres-it-store-the-list.2379517/

Apps that help copy & paste package names:

Package Names – Android Apps on Google Play
https://play.google.com/store/search?q=Package%20Names&c=apps&hl=en&gl=US

Debloater App removal Tools

0x192/universal-android-debloater: Cross-platform GUI written in Rust using ADB to debloat non-rooted android devices. Improve your privacy, the security and battery life of your device.
https://github.com/0x192/universal-android-debloater

[TOOL] ADB AppControl 1.8.0 🚀 Ultimate App Manager & Debloat Tool + Tweaks | XDA Forums
https://forum.xda-developers.com/t/tool-adb-appcontrol-1-8-0-ultimate-app-manager-debloat-tool-tweaks.4147837/

How to Install ReVanced

Step 1 – Download the latest Vanced MicroG & ReVanced Manager

Create a folder on your device, upload or download all files to this folder, this is just so you can reference it later if needed.

  • Vanced MicroG
    Releases · TeamVanced/VancedMicroG
    https://github.com/TeamVanced/VancedMicroG/releases
  • ReVanced Manager
    Releases · revanced/revanced-manager
    https://github.com/revanced/revanced-manager/releases

Step 2 – Install Vanced MicroG on device

Go to the directory where you’ve downloaded Vanced MicroG with your preferred file manager. Run the APK file and install Vanced MicroG first.

Step 3 – Install & run ReVanced Manager

After Vanced MicroG is installed, ReVanaged Manager should be next, run it and give it the permissions it needs. Head over to the Patch tab (below) and like me you might find that you’re unable to patch your current install. If so you’ll need to continue, see Step 4.

Step 4 – Download recommended or latest YouTube APK file

It’s important to download a patched version to avoid bugging. Run the ReVanced Manager app, Select ‘Patcher’ tab, select YouTube and you should see current and suggested versions.

You can find it via the link Download YouTube APKs for Android – APKMirror. Download nodpi versions if you’re unsure.

Select the file from storage and allow it to patch the installer.

Optional Alternative – Uninstall using ADB shell or build using ReVanced CLI

If you get an error such as “App not installed as package conflicts with an existing package.” then you’ll need to make sure everything is completely uninstalled and trying again. As this will get pretty long I’ve created a different post, click the links below.

Using ADB Shell to uninstall

Build ReVanced with ReVanced CLI

YouTube links

Go to the YouTube app and under “set as default” – turn it off. Under YouTube ReVanced, make sure “Open supported links” is enabled and make sure within ‘supported web addresses” you’ve toggled all on.

Let’s fix YouTube links! – Hokora Yinphine
https://hokorayinphinempp.github.io/obsidian-git-sync/Revanced/5%20Extras/Fix%20Links/

Links & References

> I installed Vanced MicroG! – Hokora Yinphine
https://hokorayinphinempp.github.io/obsidian-git-sync/Revanced/2B%20Unrooted/MicroG%20Installed/

Guide For Installing YT Music ReVanced : r/revancedapp
https://www.reddit.com/r/revancedapp/comments/131beri/guide_for_installing_yt_music_revanced/

18650, 20700A & Other Batteries, Conversions, Configurations

Conversions

Convert mAh to Watt Hours

The formula is (mAh)*(V)/1000 = (Wh).

Example: 2200 (mAh) * 3.7 (V) = 8140 / 1000 = 8.14Wh

Convert Watt Hours to mAh

The formula is (Wh)*1000/(V) = (mAh).

Example: 7.92 (Wh) * 1000 = 7920 / 3.6 (V) = 2200

Series and Parallel Battery Configurations

Series

  • Voltage combines.
  • The Positive side of the battery is

Parallel

  • Voltage stays the same.

Series & Parallel Examples

Examples

S indicates the amount of cells connected in series and P indicates the amount of cells connected in parallel.

6SP3

In this case, if we are talking 18650 batteries, 3 are connected together and the voltage stays at 4.2, while the capacity increases. S indicates that we have 6 of 3 parallel connections so we combine the voltage 3.6 6 times, giving us 22.2 volts.

28S3P

Scenario 1

We would like to create a 12v 18650 battery back. We have 84 spare cells. First we’ll need to find out how many cells required to reach 12 volts. You could do 12/4.2 to get 2.857… we obviously can’t split cells so we round up to the nearest number so that would give us 3 cells. 4.2*3=12.6 which is fine.

So now we know we need 3 in Series that’s S3, now to increase the capacities. We’ve got 84 cells and we need to divide them equally. We should also keep the series consistent so we can’t have 1 with an extra battery.

84/3=28, so now we’ve concluded our pack is 3S28P. That’s 28 cells in 3 groups, connected together to then give us 1 positive and 1 negative connections.

How to know what kind of capacity we’ll have?

Each cell, for instance has a capacity mAh of 2000.

Links & References

18650 Battery Pack Calculator and Planner – Cell Saviors
https://cellsaviors.com/pack-planner

Battery pack calculator : Capacity, C-rating, ampere, charge and discharge run-time calculator of a battery or pack of batteries (energy storage)
https://power-calculation.com/battery-storage-calculator.php

RTSP/IP Camera Viewers (for Wyze/Neos/ONVIF)

RTSP (Real Time Streaming Protocol) IP Cameras are basically cameras using the RTSP/IP protocals to stream the output of the camera, meaning you can use your preferred viewer to watch, for playback. This is beneficial if you prefer to not use proprietary software.

Cams

Links:

https://f-droid.org/en/packages/com.vladpen.cams/
https://github.com/vladpen/cams

Pros:

Open source

Cons:

tinyCam Monitor

Links:

https://play.google.com/store/apps/details?id=com.alexvas.dvr

https://tinycammonitor.com/

Pros:

Cons:

Not free, £2.99 (as of writing this) to buy Pro version.

Limited features with free version.

Android DIY Security Camera Apps

Cawice: Security Camera

Nice and simple camera if you’re not interested in paying any subscription and just need a simple, but private one camera to work properly setup. No HD quality with the free version, but can do the job.

Links:

https://play.google.com/store/apps/details?id=com.cawice.android
https://cawice.com/
https://alternativeto.net/software/cawice/about/

Pros:

  • Very simple and easy to setup.
  • App designed well, Viewer app looks nice and easy to use, simple and not convoluted. Camera app nice and clean.
  • Siren feature
  • Ability to play back viewer microphone to camera speakers.
  • Other standard features like toggling flash, screen orientation.
  • Motion detection (untested)
  • Quick record function.

Cons:

  • Camera app has no ability to toggle display on/off while recording, when screen is switched off, sometimes activates.
  • Expensive subscription based.
  • No HD camera quality if not upgraded to subscription.

Security Camera CZ

Loads of features and most importantly all features included in the free version, and if you want to support or commit to it, just subscribe to remove the ads, it also seems to be the cheapest of them all.

Links:

https://play.google.com/store/apps/details?id=cz.scamera.securitycamera
https://securitycamera.cz/en/
https://alternativeto.net/software/security-camera-cz/

Pros:

  • Siren feature
  • Other standard features like toggling flash, screen orientation.
  • Motion detection (untested)
  • Quick record function.

Cons:

  • Viewer app slightly convoluted, clicking on a camera thumbnail seems to open a still image of the camera and not the live view, if clicking on what looks like a camera icon below the thumbnail activates the live view.
  • Subscription based, not as expensive as the others.

Alfred Camera

Quite expensive and app is very limited without subscribing. I would say if the other apps don’t work for you, only then would I suggest giving this a go.

Links:

https://play.google.com/store/apps/details?id=com.ivuu
https://alfred.camera/
https://alternativeto.net/software/alfred-camera/about/

Pros:

  • Siren feature
  • Other standard features like toggling flash, screen orientation.
  • Motion detection (untested)
  • Quick record function.

Cons:

Expensive, subscription based.

Motion detection (untested)

X

Links:

Pros:

Cons: