[TOOL][Linux/macOS] Cartel Project Swiss Army Knife - Android Software/Hacking General [Developers Only]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Cartel Project Swiss Army Knife
An easy-to-use, plug-and-play device management script for Android devices.​
Code:
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included in the products you find here before flashing it!
* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
* Your warranty will be void if you tamper with any part of your device / software.
*/
Cartel Project Swiss Army Knife, or CPSAK/CSAK for short, is a small tool written in Python/GTK3.0 to manage your Android device. It comes with a set of shortcuts that will make your life way easier when it comes to managing your device, and its mods.
Get it here!
Supported Platforms: Linux and macOS
Donate to me if you like my work: https://paypal.me/malviml​

Features:
ROMs, ZIP installer (works with any recovery that supports ADB sideload)
Easy recovery installer
Userdata wipe
Detection of connected device (codename detection)
Reboot to recovery and fastboot using one click
Toggling device display on or off depending on phone state for phones with a broken power button
Connect to ADB via WiFi
Disconnect all WiFi ADB connected devices
Now screencast your phone's display onto your laptop easily
Added feature to install apps via ADB
Install fastboot updatable ZIPs. Needs a compatible ROM that can churn out such ZIPs.
Flash images via fastboot, one click.
Easy way to retrieve logs via ADB.

Installation and Running:
Clone this repository to your desired location.
Code:
git clone https://github.com/CartelProject/csak csak
Install Android SDK tools on Linux. A simple Google search can help you out.
Install gi package or gtk 3.0 if you haven't yet
For macOS users, to install gtk 3.0
Code:
brew install pygobject3 gtk+3
If you have not installed Python yet, install Python 3.8.x or above on your PC.
Run the following command to run the Python+GTK3.0 script:
Code:
python3 csak/main.py

Known Issues:
Screencast hangs after you close ffplay window
WORKAROUND
Code:
- Ctrl+C in terminal window after you have closed ffplay window

Cool

Pro sar

Pro gawd

Epic work. Pro AF

malvigagan Good job G

Pro asf

Added new features in latest release:
Install compatible fastboot updatable zips. DO NOT CONFUSE THIS WITH THE NORMAL RECOVERY ZIPS THAT YOU GET!
Flash images via fastboot.

Great post. Thank you.

A new feature update will be coming soon!

Added a feature for taking logcats via ADB. One-click, super easy
Will simplify and make the feature better in the coming days!

Related

[GB][Recovery][PORT]Unofficial TWRP 3.0.2-0 for Spreadtrum SC8810 Devices!

Hello to everyone!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Hello guys,today I want to share a recovery for MDPI(320*480) resolution Spreadtrum 8810(SC8810) devices.
ediyi ported this Recovery for K-Touch T619 which runs on Spreadtrum SC8810 using Android 2.3. I ported this, and it runs well on my HUAWEI Y220-T10.So I think this will also work on other similar devices.
You can port this recovery to your device, but before flashing it, check the /recovery partition size.Or it may BRICK YOUR DEVICE.
If you found that you can't touch on Recovery, then unpack the img, add your touchscreen driver lib file (it can be found in your /system/lib/modules) to unpacked /init.rd/sbin folder and open init.rc, after "on boot", add this line:
Code:
insmod /sbin/ YOUR LIB FILE NAME
[IMG]https://mega.nz/#!kJN30SQT!Cz1k6IBFWAVXeW5bc1iZM0hwYm2eqBD5z8T8hE_y0Gs[/IMG]
and then repack.I won't cover too much about porting recoveries…
This Recovery has two storages: one is /mnt/sdcard, the other is /data/media, but in fact this is a ……bug,sorry.This recovery supports two languages, Chinese and English.
Screenshots:
https://mega.nz/#F!pF0ygYTL!3cgr3Kujv-wGj-sONr7fDA
Key: !3cgr3Kujv-wGj-sONr7fDA
Bugs:
/boot won't be mounted properly.
The storage sometimes is in a mess.
Download link: https://mega.nz/#!Ad9mEapT!AvOAUCVKtqltdCk-I-HuWN2wueSUEAj3i0neqAh-aD0
Key: !AvOAUCVKtqltdCk-I-HuWN2wueSUEAj3i0neqAh-aD0
XDA:DevDB Information
TeamWin Recovery Project, Recovery for the Huawei Y220S/Y220-T10
Contributors
ediyi
zhaozihanzzh
Source Code: Stock Linux 2.6.35.7 Kernel
Version Information
Status: Stable
Created 2016-07-12
Last Updated 2017-05-12
(如果您的母语是简体中文,请前往 http://tieba.baidu.com/p/4665955724 )
Thank you for your reading.
Reserved.
Thanks for the start, screen size
Ported to True 3.5, sc7715 cpu
There is no vold anywhere in this recovery, that's probably the storage problem,
I am still working on that, only have internal now
for anyone following,, I have not bent vold to my will (yet),, but
this img had no /etc/twrp.fstab,, that and manually adding mount dirs
to the image seems to have "solved" my problem
A bit messy tho

[TWRP][v3.2][UNOFFICIAL][SC8830]TeamWin Recovery Project For Walton Primo EF4+

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/
About TWRP
TWRP is an open source, community project. TWRP development is done by roughly 4 people at this point. We also have a large support community with many people who are willing to answer questions and help people with their devices either through our IRC channel.
Team Win was originally formed to work on porting WiMAX to CM7 for the HTC EVO 4G. After our work on the EVO 4G we wanted to work on a project that would work on more devices than just the EVO 4G and we settled on working on a recovery. Today TWRP is the leading custom recovery for Android phones.
A custom recovery is used for installing custom software on your device. This custom software can include smaller modifications like rooting your device or even replacing the firmware of the device with a completely custom "ROM" like OmniROM.
Bug
None (post below if you find one)
How To Install
Via Custom Recovery
Download twrp.img from download section.
Boot into a old twrp then goto install and press on install images.
Find and select your downloaded twrp.img then click on recovery and swipe.
Now reboot recovery & enjoy
Via Rashr {Need Root for this method}
Download and install Rashr app From Play Store Or Download Rashr From Here
Download twrp.img file from download section and Put It In your Sdcard
Now Open Rashr And Grant For Root permission
Click on Recovery from storage and Select twrp.img file
then click Yes To Flash Recovery.
If You Get Sucsess then Hit Yes on the popup To Go in Recovery.
Downloads
TWRP-3.2.0-0 # Initial Release
TWRP-3.2.1-0 # Changelog
Thanks to
Md. Naimur Rahman
muralivijay
Device Model : Walton Primo EF4+(ef4x)
Kernel : 3.10.65 Stock Marshmallow
Device Tree- https://github.com/Parthib24/android_device_walton_ef4x
TWRP Source Code(Modified to work with our device)- https://github.com/Parthib24/android_bootable_recovery-sprd
Original TWRP Source Code- https://github.com/omnirom/android_bootable_recovery
Porting Guide for TWRP 3.xx .!
Replace From Stock recovery.img or boot.img>>
Full Split-image folder.
bug fix
Waiting for output color fix.
Edit: Nice. Bug is fixed !..
TWRP 3.2.1-0 Changelog
Fixed wrong GGL format detection(aka invert_color) #9c71ed2
Minui fixes (cryptomilk)
Better android-8.0 compatibility in ROM trees (Dees_Troy)
Fix missing library in android-8.0 (nkk71)
Fix inconsistent SDCard naming (DevUt)
Default to TWRP restore instead of adb backup restore to fix restore on fresh TWRP boot (jlask)

[ROM][ALPHA][NON-ANDROID][A530F/A730F]Ubuntu Touch (ubports) for A8/A8+

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this patch
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
We finally have something other than Android!
Let me introduce: Ubuntu Touch for our phone!
Using @prashantp01's Vendor Dumpster V1.1.
This ROM is very much not ready for daily use, and probably never will, but it's still cool!
Ubuntu Touch is the touch/mobile friendly version of the popular Linux distribution, Ubuntu.
Using the steps listed below, you can boot it on your A8/A8+.
Bugs:
Y E S
What works:
Usually boots (unreliable)
Display works!
OpenGL Works!
WiFi usually works (unreliable, if you turn it off, you can't turn it back on)
Rotation works!
Brightness works!
Vibration works! (takes a minute or two to start working)
Installation:
Follow the instructions to install Vendor Dumpster V1.1.
Install the SaR Patch following the instructions.
Flash GlES_Updater.zip provided in downloads using TWRP.
Install the correct Halium boot image for your model. (TWRP -> Install -> Install Image -> Select your boot.img -> Select Boot from the list -> Swipe to flash)
(optional) Format data! (Not just simply wipe!) (This sometimes is required, sometimes isn't. If you can't boot, Try formatting then continuing from here!).
Flash the provided Ubuntu Touch ARM64 Rootfs GSI using TWRP.
Reboot to system
If you can't boot, do a hard reset a few times! (Vol Down + Power for 7 seconds)
Credits:
@MIDHUN.V.NADH For his work on getting the Galaxy Tab A 10.1 (2019) to run Ubuntu Touch. This is based on his work, and wouldn't have been possible without him!
@prashantp01 For his Vendor Dumpster.
Download
Google Drive
Screenshots
Coming soon!
Source code: https://github.com/VDavid003/universal7885_halium_jackpotlte
Awesome job! This is perfect.
Goodjob friend
I would like to boot it off external sdcard though, since it would be dualbooting just like that Arch Linux ARM in another thread. (searching for a OS to move on, away from Android, Ubuntu Touch is very well suited for this, pmOS too, but Unity8/mir has that look to it...)
It's working, but what the passphrase? I think i didn't set it
Spoiler: image
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi your work is awesome but please make stable twrp based rom because my phone not able to mount and wipe or format vendor partition. My phone just twrp based rom can flash succesfully.

[Halium] Halium port for Cheryl (Android 9 Vendor)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
What is Ubuntu Touch?
Ubuntu Touch is the touch-friendly mobile version of Ubuntu.
This operating system is developed and maintained by UBports: An international community of passionate volunteers.
This means Ubuntu Touch is 100% community driven and independent.
What is Halium?
Halium is the collaborative project to unify the Hardware Abstraction Layer for projects which run GNU/Linux on mobile devices with pre-installed Android.
How it is a GSI?
First of all, I should mention ubports GSI definition is different from android, but both are generic.
ubports root file system was always generic and works for most cases, but devs were porting halium system image to add device-specific (HALs and configs) support to ubports Android container.
But after project treble which introduced in android 8, all device-specific parts of android system image moved to vendor partition and we can use "Generic system images" over one vendor partition.
In halium version 9, we use this adventure and have a totally generic system image + root file system.
Requirements:
The only Requirement of booting this GSI is having Halium patched kernel.
Keep in mind having android 9 firmware installed on the device as GSI base is mandatory (GSI can be used on android 8.0 and 8.1 vendors but experimental and not supported yet)
How to install?
Step 1 : Install TWRP Recovery
Step 3 : Wipe DATA / Factory Reset
Step 2 : Flash the halium-boot.img to your boot partition
Step 4 : Flash the ubports_GSI_installer_v10.zip via TWRP
Step 5 : Enjoy Ubuntu Toutch
Downloads:
HALIUM BOOT : https://github.com/Freehorn-GNU-Linux/cheryl_releases/releases/
GSI INSTALLER : https://mirrors.lolinet.com/firmware/halium/GSI/
Known bugs?
Bugs are very device specific and mostly should blame device kernel.
Possibly Wifi Issues
Report Bugs:
Please report bugs bellow with as much details as you can.
The following commands can be used to provide logs. You can also provide logs from recovery.
Code:
dmesg
cat /var/log/syslog
sudo -s
LD_LIBRARY_PATH=/system/lib64 lxc-attach -e -n android -- /system/bin/logcat
Sources:
ubports: https://github.com/ubports
Halium: https://github.com/Freehorn-GNU-Linux/kernel_dragon
GSI device tree: https://github.com/erfanoabdi/android_device_halium_ubport
As soon as I get my other phone fixed I'm installing this. I've been wanting to try a real Linux os on a phone for some time now. Thanks for posting this. Super excited.
numbawon said:
As soon as I get my other phone fixed I'm installing this. I've been wanting to try a real Linux os on a phone for some time now. Thanks for posting this. Super excited.
Click to expand...
Click to collapse
Super excited to know if you like it I'm working on Evolution X right now
I'm having trouble getting this to even boot on my device. - flashed boot.img through TWRP and Fastboot, but the device goes into a bootloop (flashed the ubports-gsi-installer through twrp as per instructions too)
Justice™ said:
I'm having trouble getting this to even boot on my device. - flashed boot.img through TWRP and Fastboot, but the device goes into a bootloop (flashed the ubports-gsi-installer through twrp as per instructions too)
Click to expand...
Click to collapse
I just tried the one i posted and it seems to be working in SSH its not working on my other cheryl I might take down the link.
Here are some screenshots from Razer Phone (Cheryl)

[EOL] [RECOVERY] [wind3] TWRP v3.5.2 For LYF Wind 3

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DISCLAIMER:
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
Click to expand...
Click to collapse
INTRODUCTION:
Spoiler
Team Win Recovery Project (TWRP) is an open-source software custom recovery image for Android-based devices. It provides a touchscreen-enabled interface that allows users to install third-party firmware and back up the current system which are functions often unsupported by stock recovery images. It is, therefore, often installed when flashing, installing or rooting Android devices, although it isn't dependent on a device being rooted to be installed.
Read more about TWRP here.
​
FEATURES:
Spoiler
All Normal TWRP Functions
Added Latest LOS Kernel 3.10.108
Added Unmount System
Synced With latest Sources
Fixed Battery Indicator
Added LED Support
Option To Backup EFS
Fixed Reboot Option!
And Many More!
BUGS:
Spoiler
None
INSTALLATION:
Spoiler
1. With PC (Recommended) :
Copy the downloaded recovery to adb folder
press and hold shift key and right click anywher on the file explorer screen
open cmd from the context menu
then make sure you rename the downloaded recovery to recovery.img
now put the phone in fastboot mode by holding the power+vol up until you see the green screen
type
Code:
fastboot devices
you will see your phone connected
Now to install type
Code:
fastboot flash recovery recovery.img
now to reboot type
Code:
fastboot reboot
after phone starts to go into recovery type
Code:
adb reboot recovery
the twrp is ready!
2. Without PC :
Open your existing recovery
navigate to the downloaded recovery file
select 'install image' option
select the recovery image and swipe to install for recovery
now reboot the recovery
And you will also see the magic
SCREENSHOTS:
Spoiler
You Guys Upload
DOWNLOADS:
Spoiler
Download From Android File Host
Download From Mega
SOURCE:
Spoiler
Kernel Trees: Here
Recovery: TeamWin
TWRP Device: wind3
CREDITS:
Spoiler
TeamWin
And Everyone
Version Info: v3.5.2
Status: Stable
Architecture: arm64
Release: Final
Reserved!

Categories

Resources