Expired token trying to download it. This message appears when I try to download the file →→→ {"error":"invalid_token","error_description":"Token is expired. You can either do re-authorization or token refresh."}
Expired token trying to download it. This message appears when I try to download the file →→→ {"error":"invalid_token","error_description":"Token is expired. You can either do re-authorization or token refresh."}
GearLock is a command line program to help you customize & install custom software in your android-x86 OS. It has the capability of running in both GUI and TERMINAL with a early-recovery mode. GearLock has been a part of DarkMatter project until now, but I decided to make it universal for any android-x86 OS
Feature List
Install any custom kernel / mesa or pretty much anything. There are also tons of other extension & packages available in our RESOURCES section for you to install with a powerful package-manager.
Install flashable zip files. (BETA)
Use RECOVERY-MODE even before your android starts.
MidNight Commander FileManager integration in recovery mode.
Repair corrupted EXT partitions before booting up the OS.
Decompress / extend the size of your system image
Backup & restore your whole data
Mesa Version faker
Change CPU governor & frequency
Change MAC Address
Update google apps directly from a opengapps package
Install latest/custom magisk version directly from github source by patching the ramdisk. (on-device)
GoogleLess Mode feature
Unity Game Engine Crash Fix
Resolve the issue for magisk installation, in which magisk makes the tty unusable
SU-Handler for switching between SuperSU & MagiskSU
Introducing GearProp, which can force overwrite any system property.
Purge / remove extra kernel modules from your system
MultiLang support with UTF8. (EN, VN, CN, ES)
Record screen with audio without any app. (Directly from gearlock with internal audio support)
Very developer friendly with tons of easy to use tools
Disable / Enable Laptop touchpad or keyboard
Extensible by installing custom extensions
And many more! This list is probably outdated, lol.
Supported android-x86 OS List
Official Android-x86
Official PhoenixOS & DarkMatter
Official PrimeOS
Official BlissOS
Official RemixOS
LineageOS x86
Boot-Flags
You can control the behavior of GearLock early recovery screen with boot-flags.
There are three kinds of flags you can use
NORECOVERY
ALWAYSRECOVERY
FIXFS
NOGFX
NORECOVERY
This helps you bypass the recovery countdown screen. You can either put NORECOVERY=0 in your grub-config or make a file named norecovery in your android-x86 partition
Grub config example:
C-like:
linux /kernel quiet NORECOVERY=0
ALWAYSRECOVERY
This lets you to auto-enter recovery mode always* without having to press ESC.
Just like NORECOVERY, you can active this by grub (ALWAYSRECOVERY=0) or by making a file named alwaysrecovery in android-x86 partition
FIXFS
This will auto-fix extFS on each boot from the option which you find in recovery mode.
Grub> FIXFS=0
File-Flag> fixfs
NOGFX
When this flag is found, GearLock does not attempt to get the best possible visuals during RECOVERY-MODE. There are some really rare cases among some users in which when GearLock tries to ensure better visuals, kernel panic happens during boot.
Grub> NOGFX=0
File-Flag> nogfx
Developer Documentation
In simple words, GearLock brings a whole range of pure linux utilities. Which includes bash, python, coreutils, nano and more ! (Runs system independently, meaning even if you delete the whole system these are still executable)
Not only that, let me introduce you to GearLock-Dev-Kit. GDK is the thing which you can use for building such package/extension. There is also a ready-to-use kernel package-template alongside custom-core package for making extensions and so on.
For full insights check the developer documentation
So here we gonna learn ways of installing GearLock in your desired android-x86 system.
wiki.supreme-gamers.com
How it looks and works like
These previews can be really old from what it's like in the latest version
In early boot (Recovery Mode)
Metro Interface (Live system GUI)
Metro Package Manager
Classic interface
Status page
Flashable ZIP Compatibility
If you want my honest word then you should know that about 99% of the available flashable zips out there will likely fail since they were never made for android-x86 and GearLock has nothing to do about that. In which most of them are flashable-roms which you obviously won't be installing on android-x86. Currently I've had success with OpenGapps and a few other zips. Other than that will surely fail unless the developer itself implements android-x86 support.
Thanks to
First of all I'd like to thank everyone in our community because without you guys I wouldn't be able to do such stuffs. It's been a pleasure to be a part of this community. Thank you.
Special thanks to @HMTheBoy154 & @Night & @mido.fayad for bringing some awesome GearLock package & extensions alongside helping the community in various issues in their free time. They played a big role in this community They've been always there in the time of need.
Thanks to the beta testers : @AngusX , @dabombUSA , @Fazeel.abbas2 , @P.B | D.B , @Kenny
Thanks to everyone involved into the Android-x86 Project, because without it GearLock wouldn't exist...
Some last words from me
I never thought I'd be able to do such stuffs before, it's been an honor. More importantly, I really wanna thank android-x86. Because of it I could also learn a lot, yes and that includes some funny people also
It hasn't been easy to keep up till here. Required a lot of patience and hard work to make it here.