deviato / DroidPPPwn

PPPwn_cpp for Android + App Frontend [needs rooted device]
105 stars 5 forks source link
android pppwn pppwn-cpp ps4 ps4-jailbreak ps4exploit

DroidPPPwn

An android frontend that uses PPPwn_cpp_android

Requirements

Alternatively, if your device has an embedded ethernet port, you can use that, as in the case of Android TV boxes.

Usage

Example run here: https://youtu.be/SQT7AgTtrDY

About PPPwn binaries building and packaging

Some explanations about the binaries provided in this package.

In order to obtain execution permission I had to trick the Android Studio packaging system by including a fake pppwn.jar (which is a zip, you'll find in app/libs project folder) to extract all of the binaries in the default app private folder /data/data/it.deviato.droidpppwn/lib/. Right after installation you'll find 4 files extracted in that, they are fake libraries named libXXX.so, which in reality are zip archives too, each one containing a binary for a different architecture (plus the various stage1 and stage2 files).

Once you open the app for the first time, it recognizes your architecture and extracts the appropriate binary. The four files and related architectures are:

- armeabi-v7a/libpppwnkk.so ->  for 32bit armv7l, minimum sdk 19 (KitKat 4.4), libc shared build (cannot link static due to some ndk bugs)
- armeabi-v7a/libpppwn.so   ->  for 32bit armv7l/armv8l, minimum sdk 21 (Lollipop 5.0), static build
- arm64-v8a/libpppwn.so     ->  for 64bit armv8a+, minimum sdk 21, static build
- x86/libpppwn.so       ->  for 32bit x86 minimum sdk 21, static build
- x86_64/libpppwn.so        ->  for 64bit x86 minimum sdk 21, static build

All of the binaries are compiled via the official android NDK r25c, the latest that supports android 4.4.

If you don't like these versions or they don't work well for you, you can just replace the pppwn binary in the folder mentioned above with your favorite one.

If you want to build it on your own, I've forked the original xfangfang repository and modified its CMakeLists.txt to be able to compile for Android, both with NDK on your Linux machine or the Termux app directly on your device. The instructions are in the fork itself here PPPwn_cpp_android.

Known Bugs

Changelog

1.4