Skip to content

Instantly share code, notes, and snippets.

View lebao3105's full-sized avatar
🏫
School time!

Le Bao Nguyen lebao3105

🏫
School time!
  • Ha Noi, Viet Nam
  • 04:44 (UTC +07:00)
View GitHub Profile
@lebao3105
lebao3105 / CPP_iOSRootHelper.md
Last active July 6, 2024 13:37
C++ RootHelper for iOS projects

C++ RootHelper for iOS projects

Primary for jailbroken/TrollStore devices.

Probably you should let this have root permission, unlike what you may think about RootHelper: brings you root permission. Nah.

Most things used here are C things, from string type, printf.

This makes use of some std namespaces about file operations. I did this on my own Pascal RootHelper. Yes Pascal.

@lebao3105
lebao3105 / iOS rootful palera1n jailbreak.md
Last active January 27, 2024 13:48
For those who want to use rootful with palera1n

ios.cfw.guide has one, but it is archived and also, rootful is officially deprecated. However if you still want to go rootful, ios.cfw guide is still a good one. This tutorial extends that tutorial to be more updated and specific.

ios.cfw.guide tutorial: https://ios.cfw.guide/archived-palera1n-rootful - don't follow "Installing palera1n" section yet.

Risks

  • More phone space to be taken. 16GB phone can use BindFS but it's experimental now. See ios.cfw.guide guide for more details.
  • Since rootful allows full file system control (starting from /), there will be more security risks that hackers can control your phone easier. Whatever it's jailbreak:v Some tweaks may produce hidden malware - and I warn you not to use repos like MainRepo!
  • There will be tweak compability issues. If you don't be careful, you will be dropped into respring-loop.

Build on WSL doesn't count here. And... I don't know if it can communicate with the phone:v

What is this?

Pongoterm is a way to communicate with PongoOS, which is used for iOS jailbreaks such as checkra1n and palera1n.

Prepare

  • GCC
  • libusb from GitHub or from your repo, if you use MSYS2/Cygwin
  1. Install base-devel & yay
  2. Use yay to install triehash & perl-syntax-keyword-try
  3. Install apt-git

Notes

Tested on Ubuntu 22.04 LTS (WSL), should work on other versions. Uninstall all pre-installed ruby installs first.

  1. Update apt repos first, always
$ sudo apt update
  1. Install needed tools
@lebao3105
lebao3105 / fpc.iss
Last active May 14, 2023 12:48
Pack your own Free Pascal Compiler for Windows
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Free Pascal Compiler"
; Change MyAppVersion to your FPC version please
#define MyAppVersion "3.3.1-11699-g6c47f8f4d7"
#define MyAppPublisher "Florial Klaempfl and others"
#define MyAppURL "freepascal.org"
[Setup]
@lebao3105
lebao3105 / change_boot_screen_for_Lumia_phones.md
Last active July 20, 2023 16:41
Change Lumia phones boot screen (Windows 10 Mobile)

How to change boot screen for Lumia phones

Prepare

  • Windows Phone Internals (WPI for short - see the link below)
  • FFU Image - Donor FFU may required : see https://lumiafirmware.com
  • Good time enough - you will need it if something went wrong (anyway get PREPARED yourself pls)

Steps

Warning: Use Windows Phone Internals to unlock bootloader and take the phone to Mass Storage mode. Since you're accessing and MODIFYING to the file system, please DON'T make anything dumb. Otherwise your phone will be broken and you will need to reflash your phone and (may be?) start again this work. Before you restart your work, you may have to spend more ~1 hour bypassing the died Factory Reset Protection.