We use SuperSU to root our tablets and I was wanting to modify it so that we could make additional modifications during install.
Is the source code for SuperSU publicly available?
This is the version we are using: SR5-SuperSU-v2.82-SR5-20171001224502
Just realized that update-binary is where the love is
Related
Hello!
I'm trying to compile Gingerbread for my Nexus One and I thought having root is a good idea...
I've followed the guidelines here: http://forum.xda-developers.com/showthread.php?t=911142
but it seems to be a LITTLE bit outdated, as ChainsDD's repo is not even gingerbread-compatible. I found out CyanogenMod's fork (https://github.com/CyanogenMod/android_packages_apps_Superuser), but still when I compile (cloning the repo under packages/apps/Superuser) I don't have Superuser.apk.
So, is there any updated way to root your ROM from sources or whatever?
Thanks
up... anyone?
Isn't SuperUser.apk available from the market?
Yeah, but I want to compile it via sources. Anyway I got it to work.
1. replace system/extras/su files with the CM ones (i.e. SuperUser's ones): https://github.com/CyanogenMod/android_system_extras/tree/gingerbread/su
2. add superuser certificates -> https://github.com/ChainsDD/platform_build/commit/672eec771e199c6849b6c4321943610e0ac8252d
3. add CM's Superuser in packages/app/Superuser cloning https://github.com/CyanogenMod/android_packages_apps_Superuser.git (branch gingerbread)
4. add Superuser to the products list: https://github.com/CyanogenMod/android_build/commit/d773d973f603b8f0de04604f846c8f9578e4872f
Now I'm gonna test if it works or not
When trying to compile Android from source for a particular device, what files are usually pulled from the device to inject into the build? I'm very familiar with compiling applications from source, but compiling a complete system is new territory for me.
myersn024 said:
When trying to compile Android from source for a particular device, what files are usually pulled from the device to inject into the build? I'm very familiar with compiling applications from source, but compiling a complete system is new territory for me.
Click to expand...
Click to collapse
Check the cyanogen source tree at github. If you i.e. check under:
/android/system/device/htc/bravo
you will find a file called: extract-files.sh
In that file is all the proprietary files needed for the build.
Have you ever wanted to flash the Cyanogen Apps package, only to find that you didn't want all of the apps that were included? Perhaps you like your dialer app, or you don't trust the TrueCaller integration. Maybe you want the Theme Store, but not the new Gallery. Maybe you just want to get rid of CyanogenStats and CMLogger because you're paranoid. Whatever the case, I've got the tool for you!
*Canned Applause*
Behold, I give you this, the program I put together because I wanted to do exactly that: modify the C-Apps package. Just run the program. It downloads the package for you, unpacks it, modifies it, repacks it, and places it in your user's home directory for use.
This program comes with no warranty, implied or otherwise, so on and so forth. I am not responsible for broken things. Use at your own peril.
Beware: This version does not check for inter-app dependencies, so if keeping the new Dialer but the old InCallUI breaks your phone, that's on you. Make sure you know what you are doing as far as that goes. This tool merely helps you.
I have tested this program as best as I can and everything seems to be working correctly. Still, things happen and I can't test for every case. If something bad happens, let me know either here or, more preferably, in the GitHub Issues.
To run this program, make sure you have Java installed and open Command Prompt or a Terminal Emulator and navigate to the directory where the .jar file is located. For those who don't know, this involves using the `cd` command to change directories and `dir` (Windows) or `ls` (Mac/Linux) to list files in the current directory. Then run the file with the command:
Code:
java -jar ModCApps.jar
Other note: I have read through the Cyanogen Terms of Use and do not believe that this project violates them in any way. If I am wrong, let me know and I will take this down. I make no profit from the project, save any thanks people may give me.
Downloads:
Releases on GitHub
XDA:DevDB Information
ModCApps, Tool/Utility for all devices (see above for details)
Contributors
Shadow53
Source Code: https://github.com/Shadow53/ModCApps
Version Information
Status: Beta
Current Beta Version: 0.1.0
Beta Release Date: 2016-05-05
Created 2016-05-06
Last Updated 2016-05-06
Reserved
Reserved
I present to you
Project POC - Phoenix OS Custom
I spend countless nights developing roms, awesome mods, and scripts, if you wish to support my work and future developments you can donate to me via the link here!
Features:
1.Pre-rooted with SuperSU 2.76
2.Busybox
3.CM File Manager (root access to files)
4.Deodexed
5.Adaway
Changelog for Project POC
V1.1.0
First Build
Added SuperSU 2.76
Added Busybox
Added CM File Manager
Added Deodex
Added Adaway
Install Instructions:
1. Extract Project POC
2. Run Phoenix OS Installation Tool
3. Select desired install location: Hard Disk or USB
4. Select target drive and partition
5. Press next and choose data partition size and continue to allow the installer to finish
6. Copy system.img from the POC zip you extracted to the install location (eg. C:\PhoenixOS\)
Downloads:
Google Drive
32-bit only:
V1.1.0 https://drive.google.com/open?id=0B-mpriMWe2WUcjhhbnZXNzdYUHM
Credits:
PhoenixOS for providing us with an awesome OS
@Chainfire for SuperSU
@Stericson for Busybox
@mrRobinson for Adaway
Android (Google) for Android
CyanogenMod Team for the apps​
I spend countless nights developing roms, awesome mods, and scripts, if you wish to support my work and future developments you can donate to me via the link here!
I am trying to install on ASUS T100, no windows. I get usb stick made and it just boots to GNU GRUB grub> command line. Any ideas?
Thanks in advance,
Gary
I'm guessing this breaks OTA of official phoenix OS, but do let me know if my assumption is incorrect
meanhacker said:
I'm guessing this breaks OTA of official phoenix OS, but do let me know if my assumption is incorrect
Click to expand...
Click to collapse
I'm not entirely sure of this, but it could possibly have broken the ability to update via OTA.
It would make sense that OTA Updates won't work due to foreign files (SU, CM APPS) in the system partition.
Does it replace win bootloader with grub?
I've patched CrazyGamerGR's CrazyAquaKernel to add support for this app, which lets you use your phone as a USB Keyboard/Mouse. The app requires root access.
This is only compatible with Cyanogen-based ROMs.
You can use this and DriveDroid at the same time, which I've found quite useul on my Surface Pro 3.
Zip file (flash in TWRP, but make sure your ROM's stock kernel is installed first.):
MEGA download
Google drive download
Original CrazyAquaKernel
https://forum.xda-developers.com/showthread.php?t=3661922
The source code:
I have a horrible upload speed, so I'm not going to re-upload everything if I can help it. The source is exactly the same as what's linked in the original CrazyAquaKernel post (see above), but I've applied this patch.
If this is against the rules, comment and I will upload the patched source in a github repository.
Changelog:
27092017: Initial release