[KERNEL]PowerSaving kernel with vocpcm support at github - myTouch 3G, Magic Android Development

As you may know farmatito's powersaving kernel is really saving power:
http://forum.xda-developers.com/showthread.php?t=1010932
However, his patches are hard to apply, so I setup a github repo with all patches applied:
github.com/bood/htc-magic-kernel
(not having enouth posts to post a outage url link yet...)
I also ported the vocpcm module so you can run rVoix on it
I only tested on my HTC TIM (32A) phone with old radios
Also, my original camera app does not work with this new kernel (I flashed the new kernel only, apps are untouched), appreciate that if anyone know how to flash it.
Instruction to flash the compiled kernel (32A only)
1. Do a backup
2. enter fastboot
3. unpack the attached 7z file
4. fastboot flash zimage bood-2.6.35.14-autogroup-vocpcm-kernel
5. reboot to recovery
6. adb shell mount -a
7. adb push wlan.ko-bood-2.6.35.14-autogroup-vocpcm /system/lib/modules
8. reboot normally
Update Logs:
2012/02/03
Updated a compiled kernel (autogroup version for 32A) with wlan.ko
2012/02/02
1. Applied all patches except BFS patches since I don't use it
2. Ported vocpcm module

Hello, thanks for that! Would gladly try the compiled version if possible, since I'm using Linux. Thanks in advance.

Actually it is compiled in Linux.
Anyway I've uploaded a compiled version, give it a try!
Sorry didn't made a flashable zip, since the ramdisk could be different.
saibot64 said:
Hello, thanks for that! Would gladly try the compiled version if possible, since I'm using Linux. Thanks in advance.
Click to expand...
Click to collapse

HEh, what I meant was 'I don't use Linux' Thanks for that, will try it !

Related

[SOURCE] htc-ace-linux-2.6.32.25_source htc-ace-2.6.32.21_source_fixed

Nov 12th 2010
Was bored again, patched the htc source to 2.6.32.25, has been tested and reported working by Apache14
extract this tar.gz to ~/ if you extract here the script i wrote for anykernel to pack the zimage and modules will pack and sign the zip and place it in the OUT folder after you make your kernel.
Hope you guys can have fun with it
Thanks to koush for anykernel, and Bumble-Bee (Apache14 on XDA) for testing.
Get it HERE
I worked with Bumble-Bee on IRC (Apache14 on XDA) last night and today to get the source working and compiling properly.
There were some issues with the config.gz from the ace causing make errors. The config was a cluster-****, it was trying to build with multiple touch panel configs, camera configs for hardware that wasn't even included in the DHD. So we fixed it and Bumble-Bee has flashed kernels i have compiled from this and they work 100%. So here is the source all packed and ready to go for new kernel compilers or old dogs who don't wish to mess around with the erroneous config.
extract this tar.gz to ~/ if you extract here the script i wrote for anykernel to pack the zimage and modules will pack and sign the zip and place it in the OUT folder after you make your kernel.
Thanks to koush for anykernel, and Bumble-Bee (Apache14 on XDA) for testing
Right now users who are ENG flashed will have to 'fastboot flash zimage /path/to/zImage' and push modules accordingly until Koush makes a custom recovery.
Get -Mr. X- pre setup source HERE
Click to expand...
Click to collapse
Sounds like you have done some good work Mr.X, I thank you and look forward to trying it out for myself.
Thanks Mr X & Bumble-Bee, you have save us alot of time ;-)
thanks again
Bump for new source in first post

Tiamat Kernel for ICS is out now

Cayniarb just updated his website, and he released AOSP ICS Kernels for a lot of devices, one of which is the HTC Desire S !!!!!
Announcement
Changelog
Downloads (The ICS kernel is the v022112. I guess since it's new, he's using dates instead of version nos.)
Do you have HTCDev.com unlock and want to flash this? Follow this (thanks, Tectas)
shrome99 said:
Cayniarb just updated his website, and he released AOSP ICS Kernels for a lot of devices, one of which is the HTC Desire S !!!!!
Announcement
Changelog
Downloads (The ICS kernel is the v022112. I guess since it's new, he's using dates instead of version nos.)
Click to expand...
Click to collapse
Nice, can't wait to test it
can i use it in miui v4?
Yes you can. Should work with any ICS ROM
What version of the Linux kernel is it?
Is it a 3.0.x kernel?
Ok guys, for every htcdev unlocked user, i attached the boot.img you can flash with fastboot.
Download the img and the ko file (delete the additional .zip extension after you downloaded it).
Copy the ko file to your adb folder.
Execute
Code:
adb push bcm4329.ko /system/lib/modules/
in recovery, but mount system before you do that.
Full walkthrough:
reboot to recovery
Backup current rom
wipe cache & dalvik cache
mount /system
execute the adb command
reboot to bootloader
flash boot.img with fastboot
reboot
shrome99 said:
Yes you can. Should work with any ICS ROM
Click to expand...
Click to collapse
@shrome99
hello, do you think it is fully functional (ment no bugs ) ?
______________________________________________________
@all ,anyone tested it ?
djsubtronic said:
What version of the Linux kernel is it?
Click to expand...
Click to collapse
It's version 2.6.35.14
simeonoff said:
Is it a 3.0.x kernel?
Click to expand...
Click to collapse
No, we will only get a 3.0 Kernel when HTC officially releases the ICS update (or if we are lucky enough to have it leaked)
Tectas said:
Ok guys, for every htcdev unlocked user, i attached the boot.img you can flash with fastboot.
There is also a lib included at the zip, you need to copy it to the same path as it is inside the zip file.
Extract the zip and copy the file inside the system/lib/modules folder to your adb folder.
Execute
Code:
adb push bcm4329.ko /system/lib/modules/
in recovery, but mount system before you do that.
Full walkthrough:
Backup current rom
reboot to recovery
follow the lib steps described above
reboot to bootloader
flash boot.img with fastboot
reboot
Click to expand...
Click to collapse
Thanks for that, i'll link this post to the OP
pdf5 said:
hello, do you think it is fully functional (ment no bugs ) ?
______________________________________________________
@all ,anyone tested it ?
Click to expand...
Click to collapse
Even though i've only used it for a short while, i'm pretty sure it's bug free. Cayniarb must have got this thoroughly tested before release
i can't push the bcm4329.ko because of read-only file system error, even with changing chmod no luck
nevermind: mounted data and system via 4ext
gambit1091 said:
i can't push the bcm4329.ko because of read-only file system error, even with changing chmod no luck
nevermind: mounted data and system via 4ext
Click to expand...
Click to collapse
If you're getting an permission error, mount /system with recovery not with shell or try this:
Code:
adb push bcm4329.ko /sdcard/
adb shell
su
mount /system
mount /system/lib
mv /sdcard/bcm4329.ko /system/lib/modules/
exit
Edit: Ok, glad it's working now
I can sense improvement in proformance instantly after flashing tiamat. So I guess it is great and amazing. Thanks all lot devs.
Sent from my Desire S using Tapatalk
thx for the kernel, i may use it for next miui4 version.
google had promised all android phones will updated very fast. and everytime we need wait 1 year for a update. google has learn something from apple ? s** of android policies..
im just sad because i need kernel 3.0 for more ports.
Flashed today and I'll test it. For now I can say that's a little slower in benchmark compared to the standard kernel in IceColdSandwitch 2.0 by Lord Clockan, was 2150 Quadrant points compared to 1700 with Tiamat kernel, but that was as far as I remember a normal thing. Tiamat was known for it's stability and features but was not as fast as other kernels. I remember comparisions like this on CM7.
Regardless of lower score though, "real life" performance does not seems affected. I am more interested in stability and to have better wifi or other features, than to have high scores in Quadrant. I am most interested in WiFi performance as I saw that Cayniarb mentioned "common: updated WiFi driver for ICS (toastcfh [8x60], drewis [8x50], CAF, Google)". Every ICS ROM till now had some smaller or bigger issues with WiFi for me in terms of stability, disconnects and so on. As I mainly stay with wifi on at home and at work, this is one important thing for me. Also I hope an increased stability in Mobile Data/Signal as with IceColdSandwitch 2.0 there are some small issues. So far, so good...I'll see what future reserves me
Considering that the new ICS tiamat can do monitor mode/injection with bt5. Does this mean that we can also do that in our mobiles ?
ics kernel
i had problems with power off. It will not shut down power off spin until you pull the battery that is how i work around this problem on Supersonic v022112 sbc. The kernel is pretty good little laggy but is my daily driver since it came out for me.

[NON-DEV][TOOL][AuTORAMDISK EXCHANGE PROJECT ALPHA][NO PC/LINUX]

AUTORAMDISK™ EXCHANGE PROJECT alpha™
『Moved by touch™』Inc.
In association with
Google Nose beta™
Presents
AUTORAMDISK™ EXCHANGE PROJECT alpha™
Current version: 0.0.0.0.072 Alpha
Created with Es explorer 1.6
Created on HTC explorer Pico a310e
Intro:
It's a common experience for newbies , when a new kernel is released by developers for a particular Rom and we want it for our Rom,but just can't wait for someone to change the ramdisk. For those, this is a noob friendly guide to change your ramdisk. And also, to make a universal zip for new kernel, so that no separate kernel zips for cm9,10,aokp exist.
Prerequisites:
Files:
New kernel boot.img and modules
Zip below
Software:
Android 2.3+ rooted
cwm 5+/twrp any other recovery with dump_image binary
Hardware:
Any Android smartphone
Features:
No PC/Linux needed
No different zips needed for different roms ~universal zip[One kernel-one zip project]
Credits:
trevd,rd for helping me along the way and for arm executable binaries .
So, a huge thanks to him.
Xda university
Procedure:
Short version:
Just add the new boot image and modules to generic kernel.zip and Flash on any Rom
Long version:
1.Download the generic kernel below
2. Open it with Es explorer 1.6 app
3. Select all and extract it into generic kernel folder
4. Download your favorite kernel.zip
5. Unzip your favorite kernel.zip into kernel folder
6. Copy boot.img from kernel folder to generic kernel folder
7. Copy modules present in /system/lib/modules in kernel folder and put it in /system/lib/modules in generic kernel folder
8. Now zip up your generic kernel folder and Flash
9. Voila
10. New kernel on any Rom.
11. So, is that easy /what?
Bugs and conditions
Even though this project is in alpha stage, if your Rom doesn't boot, blame the new kernel and your script first.
1. This is a simple method to change ramdisk and it doesn't work ,if you need anything more than that.
The binaries can also be used to open ramdisk and probably kernel as well using terminal emulator on your phone. If you face something unable to do on phone, go here for full PC workout
2. Essentially sense4 kernels cannot be used with this project to make it cm kernels,since it almost always need more work than just ramdisk changing
3. You need a working kernel present in boot partition. Wiping your boot and flashing will not work. It needs ramdisk from your phone and only updates the kernel part.
4. Does it work on other phones?
Yes. It bases itself on update script used. So, change update binary to suit your device
Try to change kernel address in the command for mkimg binary to make it work on other phones.
4.2 Does this mean that I can Flash kernel from any other phone to my Pico?
No. You can't. This only means you can Flash any other kernel made for other roms and your Pico to your Rom and Pico only.
4.3 Not tested fully guys.
Tired of 15 to 20 flashings to make it work. Test and try. I only tested aokp jb bhargz16`s kernel #1 on cm10b6 with twrp.
Reuse it,and try not to edit ui print and sleep parts
5. If it doesn't work, copy recovery log to SDcard and post here.
Original binaries from here
http://forum.xda-developers.com/showthread.php?p=36931024
(1.not the same script here~that is used to update ramdisk. This is used to update kernel and modified usage of binary to suit Pico
2. Without the binaries there, it would have been impossible. Don't forget to thank him. )
Reserved
LâTêS†↭ⓛⓘⓝⓚⓢ™CM10 HTC A310E.
If I haven't given you link, it's above. Just click it
Reserved 2
LâTêS†↭ⓛⓘⓝⓚⓢ™CM10 HTC A310E.
If I haven't given you link, it's above. Just click it
One more
LâTêS†↭ⓛⓘⓝⓚⓢ™CM10 HTC A310E.
If I haven't given you link, it's above. Just click it
All I can say is an ingenious piece of work bro. Nice use of the updaterscripts and good and simple way to swap ramdisks without much hassles.
:good: :good:
All the best !
akshat.shenoy said:
How does this work ?
All the best !
Click to expand...
Click to collapse
It's ramdisk changer... uses arm executable binaries from trevd to unpack and remake boot.îmg to change ramdisk.
Literally, it changes only kernel and doesn't touch ramdisk and so, we can use universal zips for cm7,9, 10,aokp.
That's the aim..
LâTêS†↭ⓛⓘⓝⓚⓢ™CM10 HTC A310E.
If I haven't given you link, it's above. Just click it
New poll added. Just fill up the no poll, if you don't like it.
Thread cleaned
Cleaned thread of some nonsense. Some ppl have to learn the hard way to not post spam or OT obviously
Deleted: Never mind
ptcpayme said:
New poll added. Just fill up the no poll, if you don't like it.
Click to expand...
Click to collapse
so that means now i can flash any kernel from any phone to my pico?? If not,plz explain.
THnx.
salil.bajaj said:
so that means now i can flash any kernel from any phone to my pico?? If not,plz explain.
THnx.
Click to expand...
Click to collapse
Without a kernel , we cannot use our phone. Learn more about " Kernels "
NOTE : Kernel == Boot.img ( Actual kernel is the zImage.. but never mind)
Yes we have to flash a kernel everytime we flash a ROM on our phone. It is simplified for our phone cause it gets flashed by itself ( thru the updater script )... And you could flash a kernel from our phone even normally thru
Code:
fastboot flash boot boot.img
What this tool does swaps Ramdisks of 2 kernels . Why is that useful ?
Cause then it makes one kernel of a particular ROM compatible with another ROM.
And I just forgot, this isnt the Q and A.
Got ya man!! Now this is really awesome work u hv cme up with!! :thumbup:
Sent from my HTC Explorer using xda premium
akshat.shenoy said:
Without a kernel , we cannot use our phone. Learn more about " Kernels "
NOTE : Kernel == Boot.img ( Actual kernel is the zImage.. but never mind)
Yes we have to flash a kernel everytime we flash a ROM on our phone. It is simplified for our phone cause it gets flashed by itself ( thru the updater script )... And you could flash a kernel from our phone even normally thru
Code:
fastboot flash boot boot.img
What this tool does swaps Ramdisks of 2 kernels . Why is that useful ?
Cause then it makes one kernel of a particular ROM compatible with another ROM.
And I just forgot, this isnt the Q and A.
Click to expand...
Click to collapse
Thanks for sharing usefull Information...........!!
Hey @BANNED i tried today and its working great. And nice updater-script troll.
Sent from my HTC Explorer A310e using xda app-developers app
thank you for your guide.

[ZIP] LazyFlasher - the swiss army knife of flashing custom kernels!

LazyFlasher & no-verity-opt-encrypt
INTRODUCTION
Hello Users and Developers of XDA!
LazyFlasher is a custom kernel flashing tool designed to make it easy to dynamically modify ramdisks and inject kernel binaries into the current boot image.
It's the swiss army knife of kernel flashing for use in Team Win Recovery Project.
The intent behind it was to allow a 1 custom kernel fits all approach, where your users can flash single zip on any ROM for a particular device,
allowing your kernel to be compatible with the vast majority of custom ROMs already out there. It takes away the pain of building custom boot.img
for each and every variant a user requests and puts it into 1 low maintenance intelligent universal flashable zip.
You might already know of @osm0sis's AnyKernel2 project. This approach is similar to that. Back in late 2015 I decided to design a more compatible, more friendly, and more feature filled version. Since then, AnyKernel2 has apparently improved a lot so if LazyFlasher doesn't accomplish what you need, AnyKernel2 probably will.
LazyFlasher does not currently support ELF boot images.
For users of no-verity-opt-encrypt: This thread can also be used to discuss the no-verity-opt-encrypt project which is just a minimal version of the LazyFlasher framework.
Disqus thread: https://www.xda-developers.com/xda-...-is-an-alternative-to-the-anykernel2-project/
THE GITHUB REPOSITORY
You can find LazyFlasher's development and download it here: https://github.com/jcadduono/lazyflasher
LazyFlasher source code is distributed under the BSD 2-clause license. You can do anything you want with it, however, some of the binaries used by it are under GPLv2 or GPLv3 licenses.
FEATURES
ChromeOS support (ChromeOS test-key signing and recognition)
MediaTek device support (MTK headers)
SELinux policy injection support via sepolicy-inject
Example scripts to disable dm-verity or forced encryption during the install process (010-no-force-encrypt, 015-no-dm-verity)
A process that executes a sorted list of scripts for making the desired modifications (separate from the framework)
Handily unpacks, decompresses, applies changes, compresses, and repacks boot images quickly and safely
Supports Gzip, LZ4, Bzip2, and LZO ramdisks. Support for LZMA and XZ is a work in progress
Supports arm (armv7), arm64 (aarch64), x86 (i386), x86_64 (amd64), mips, and mips64 architectures
Supports dtb.img replacement (place it in the root folder named "dtb.img")
Scans fstab and partition locations for the boot partition, optionally allows a preset location
Intelligently installs kernel modules by copying the previous layout of /system/lib/modules and creating symlinks
Creates modprobe supported /lib/modules aliases if kernel modules are included in the installer (030-kernel-modules)
Installs new files to the ramdisk and sets their permissions automatically based on file type from ramdisk-patch (020-patch-ramdisk)
Includes an optional bbe tool for applying binary patches
Unnecessary architectures and tools can be removed to save space
Many useful functions and variables included in the patch.d environment to simplify modification/patching scripts (patch.d-env)
Simple "make" build system
SETTING UP LAZYFLASHER
LazyFlasher is only designed for building on Unix based systems such as Linux, Mac OS X, and FreeBSD.
To download it (feel free to fork it so you can have a copy on your GitHub to modify instead!):
Code:
cd ~/build
git clone -b kernel-flasher https://github.com/jcadduono/lazyflasher.git
cd lazyflasher
To use LazyFlasher, you'll probably want to take a look at the Makefile, config.sh, and META-INF/com/google/android/update-binary (a shell script).
There's a few things you can change there to personalize it to your needs.
(make another git commit to save your setup!)
You should also check out the README! There is a lot of useful information there.
Once the installer is set up to your liking, all you have to do to build it is copy the resulting kernel binary from your kernel build output into the lazyflasher folder.
If you have built with kernel modules (make modules_install), copy build/lib/modules -> lazyflasher/modules.
Now simply run:
Code:
make
A TWRP flashable zip and sha1sum is created!
You should consider signing the zip with AOSP test-keys so that users can verify its integrity before flashing it.
LOOKING TO TRIM DOWN THE INSTALLER?
I have forked the kernel-flasher branch to a branch called kernel-flasher-arm64-minimal. This provides all the features of kernel-flasher except sepolicy injection and bbe, and only supports arm64 devices. It reduces the minimum zip size from 1860 KB to 200 KB.
You can use this branch instead if you like. If you're using another architecture, just look at the trimming commit as an example and apply it for your arch.
BUT I AM ON LE WINDOWS!
How did you build your kernel binary?!
Anyways, there is an alternative for building it on Windows.
You can download the LazyFlasher kernel-flasher branch as a zip file from GitHub and extract it somewhere on your PC.
Make your modifications using Notepad++.
You can then use a tool such as 7-zip to create a zip file by selecting everything in the folder, right clicking, and going to 7-Zip -> Add to "lazyflasher.zip".
LIMITATIONS AND KNOWN ISSUES
It will not run on TWRP built in Android 4.3 or earlier (usually builds older than 2.8.0.0)
Requires Busybox to exist in the TWRP build. All official builds should have this.
There may occasionally be some devices that are unsupported due to extreme modifications made to the boot image format by the manufacturer. If you have one of these devices, feel free to contact me and I will try to add support for it if it is worth the effort.
If you have an issue, please gather a recovery.log from TWRP after flashing and I will try to look into it. I can't do anything to diagnose your problem without a recovery log.
Code:
adb pull /tmp/recovery.log
JUST WANT TO DISABLE VERITY/ENCRYPTION?
You can build lazyflasher by itself, empty, without a kernel image or modules and flash it!
It's already set up to automatically disable verity and make encryption optional.
Alternatively, there's a branch already set up called no-verity-opt-encrypt. You can find prebuilt official zips at: https://build.nethunter.com/android-tools/no-verity-opt-encrypt/
WHO ELSE IS USING LAZYFLASHER?
I'll keep a list here of cool projects that are using it. Feel free to ask for yours to be added.
The Kali Linux NetHunter project (GitHub, Website)
no-verity-opt-encrypt, no-verity-force-encrypt, twrp-data-fstype-swap (Website/Download)
WHAT IS LAZYFLASHER USING?
LazyFlasher makes use of a few open-source projects. You can find their source code here:
bootimg / libbootimg for boot image unpacking/repacking - https://github.com/jcadduono/android_external_libbootimg
bbe for binary patching - https://github.com/jcadduono/android_external_bbe
bzip2 for ramdisks - https://github.com/jcadduono/android_external_bzip2
lz4 for ramdisks - https://github.com/jcadduono/android_external_lz4
futility for ChromeOS boot image signing - https://github.com/jcadduono/platform_external_vboot_reference
sepolicy-inject for sepolicy policy injection - https://github.com/jcadduono/android_external_sepolicy-inject
XDA:DevDB Information
LazyFlasher, Tool/Utility for the Android General
Contributors
jcadduono
Source Code: https://github.com/jcadduono/lazyflasher
Version Information
Status: Stable
Current Stable Version: 5.1
Stable Release Date: 2017-02-01
Created 2017-02-02
Last Updated 2017-02-07
We should give this man award.
The Job that he has done with this and Nethunter is just amazing.
Thank you and keep up the good work
Nice tool. Keep up a good work
Great Work! Hope i can include it into my Projects in the Future...
Thanks a lot for that!
You are a goddamn god.
Honestly Annoying said:
You are a goddamn god.
Click to expand...
Click to collapse
thx dude, usually that phrase is reserved for Chainfire accomplishments
y u nu support mah Indian AF MTK fone @jcadduono
Kidding, awesome work on this though!
Good one , this man develops for the developers !
Is it possible to have this on i9100 ? AnyKernel2 doesn't work with i9100
Skyline said:
Is it possible to have this on i9100 ? AnyKernel2 doesn't work with i9100
Click to expand...
Click to collapse
nope, no plans to support that device, surprised they are still out there, i would expect most to be dead emmc by now. :|
you can probably modify boot-patcher.sh to copy partitions to split-img folder then flash them back instead of using bootimg
i don't even know if lazyflasher's binaries will run on any of the i9100 twrp builds. might be too old.
if i can get an example layout of i9100's partitions i can fork it to a new branch, called kernel-flasher-sgs2 and make it compatible for you guys.
jcadduono said:
nope, no plans to support that device, surprised they are still out there, i would expect most to be dead emmc by now. :|
you can probably modify boot-patcher.sh to copy partitions to split-img folder then flash them back instead of using bootimg
i don't even know if lazyflasher's binaries will run on any of the i9100 twrp builds. might be too old.
if i can get an example layout of i9100's partitions i can fork it to a new branch, called kernel-flasher-sgs2 and make it compatible for you guys.
Click to expand...
Click to collapse
They are too old but still supported by lineage 14.1 and official twrp 3.0.2-1 without any problems
osmOsis dev of anykernel2 said that i9100 and older devices are having different boot img header format when i tried to run anykernel2 script it says Android magic is not found something like that
interesting tnx
Wow...
I'm just recognizing now, how powerful lazyflasher is ...
Setting default.prop values and settings. Disable Encryptions and so on. Wish I could contribute something but I'm still learning how it works. For now I've just included lazyflasher into my PATCH to disable DM Verity and forced Encryption and to make some edits on the default.prop. That's really useful since the build.prop doesn't allows such deep changes.
@jcadduono what would be in the Theory possible with the Lazyflasher? Could we add things like Gouverneurs or default Kernel Clockings? Init.d Support? Sorry if I sound noobish :angel:
So, uh, is there a TL;DR for lazy people? :silly: :laugh:
@jcadduono this is absolutely awesome. thank you for your hard work.
Hope that someone can dev nethunter to Asus zenfone 5 t00f :fingers-crossed:
can you please make a tutorial vedio of it because i don't get it and i'm sorry for my stupidity
Will it work for Android Oreo / LOS 15?
Did anyone succeeded in removing dm-verity? I got this error
good

[MODS][SCRIPTS] Zackptg5's Misc Projects

Many of you already know that I have them all of my projects listed with their respective xda threads and download links on my website, but not all of them had an xda thread. So rather than cluttering xda with a new thread for each individual mod I make, I decided to put the smaller ones here :victory:
Binaries
Cross Compiled Binaries For Android Build Script
The new home for my binary build script. Combines what was formerly GNU and Misc build scripts into one. It contains a good number of useful binaries such as aria2, bash, coreutils (with advanced cp/mv - adds progress bar functionality), curl, gawk (GNU awk), sed, vim, zsh, and more. Check it out to see the expanding list
Keycheck
Finally tracked down the source code for this. This will compile the keycheck binary so you can use vol key selections and what not. Uses a modified build script by @osms0sis. Instructions on the repo
Zip for Android
This builds the zip binary, prepared for android by cloudchou @github in addition to a build script by @osm0sis that I modified for this. Just clone the repo, cd to jni, chmod the build script, and run it
Mods
Cross Compiled Binaries For Android
This zip contains a term script which can install any number of the growing list of binaries I've managed to cross compile for android. Here's the repo where they're all stored
Codec Power Gating Disabler [Deprecated]
Another straightforward one. Disables codec power gating. It's needed for some audio mods like @chdloc's Biquads
Kernel Sepolicy Patcher [Deprecated]
Unlike most sepolicy mods out there, this one changes sepolicy at the kernel level - meaning no boot script crap so it'll work regardless of other mods/root solutions (or lack there of). You can choose between enforcing or permissive while flashing it - you can use this to switch at will to test stuff out or whatever
Module Manager [Deprecated - not needed with magisk v24]
Magisk Canary v23.x got rid of the magisk-modules-repo from the app. This term script replaces that temporarily until an in-app solution is implemented. Allows you to update and install mods with ease.
Overlay Mount Fix [Deprecated]
Fix for overlay mount related issues with magisk - often seen in oneplus devices with /product
Misc
Searx Instance
Searx is a metasearch engine with a focus on privacy. It allows you to search many search engines at once without being tracked by them - I use it to remain private while using google and to for scientific journal article searching (science tab). I have more details on what it is/setup here on my website
More will be added when I come out with them. For a complete list of all of the stuff I work on, check out my website linked at the top of this post
Audio Mod Troubleshooting Guide
XDA:DevDB Information
Zackptg5's Misc Projects, Tool/Utility for all devices (see above for details)
Contributors
Zackptg5
Earlier this week I got Android Auto in my car. I never considered that Viper4Android wouldn't work with it. I was hoping the USB Policy Patcher would fix that but it didn't. It looks like this is a problem for most, if not all people.
Has anyone found a way to use V4A while connected to Android Auto through a USB cable? If so, please explain what you had to do. Thanks.
Updated mods for new unity 2.2
Also added option to notification_helper remover to remove libvolumelistener.so
@Zackptg5
If i want to use your Bash for android in a kitkat stockrom.. then the following zip is fine?..
I extracted the main files from your zip and made a simple zip...
since in Magisk Manager ..description about your bash for android says it needs 5.0+.....
Thanks
HemanthJabalpuri said:
@Zackptg5
If i want to use your Bash for android in a kitkat stockrom.. then the following zip is fine?..
I extracted the main files from your zip and made a simple zip...
since in Magisk Manager ..description about your bash for android says it needs 5.0+.....
Thanks
Click to expand...
Click to collapse
The compiled zip is for lollipop+. If you want it for older, go to the bash build script link in the OP and compile arm binary for Api 19 (or older)
Zackptg5 said:
The compiled zip is for lollipop+. If you want it for older, go to the bash build script link in the OP and compile arm binary for Api 19 (or older)
Click to expand...
Click to collapse
Thanks for quick reply...
But I dont have a pc sir...
HemanthJabalpuri said:
Thanks for quick reply...
But I dont have a pc sir...
Click to expand...
Click to collapse
Build script is for Linux. I'll try building later today
HemanthJabalpuri said:
Thanks for quick reply...
But I dont have a pc sir...
Click to expand...
Click to collapse
Here you go, latest bash stable compiled for kitkat (API=19) (and newer) arm devices
Zackptg5 said:
Here you go, latest bash stable compiled for kitkat (API=19) (and newer) arm devices
Click to expand...
Click to collapse
Thanks a lot for your time..
and Happy New Year...
but I just place in xbin without any other files?
i.e., /system/etc/bash/bashrc
/system/etc/bash.bash_logout
/system/etc/bash.bashrc
are not needed?
HemanthJabalpuri said:
Thanks a lot for your time..
and Happy New Year...
but I just place in xbin without any other files?
Click to expand...
Click to collapse
Right. Then chmod 0755 it
Zackptg5 said:
Right. Then chmod 0755 it
Click to expand...
Click to collapse
/system/etc/bash/bashrc
/system/etc/bash.bash_logout
/system/etc/bash.bashrc
are not needed?
I saw these files in your main zip v1.8.4
HemanthJabalpuri said:
/system/etc/bash/bashrc
/system/etc/bash.bash_logout
/system/etc/bash.bashrc
are not needed?
Click to expand...
Click to collapse
They're technically not needed but can be useful. You can place them manually, or unzip the bash module zip and replace the bash binary in the arm folder in the custom.tar.xz folder with the one I attached
Added zip and zipalign binary build repos
Updated bash to v5.0 stable
Zackptg5 said:
Updated bash to v5.0 stable
Click to expand...
Click to collapse
API 19?
also why nanodroid bash is 4.*mb and yours is 1.*mb?
HemanthJabalpuri said:
API 19?
also why nanodroid bash is 4.*mb and yours is 1.*mb?
Click to expand...
Click to collapse
I have it as minimum of 21 because that's the magisk minapi so I'm just keeping it consistent. You can always compile it for 19 with my build script here: https://github.com/Zackptg5/Bash-for-Android-Build-Script
My compiled binaries are stripped which means that inessential stuff (things not required for normal functions) were removed. See more on that here: https://en.wikipedia.org/wiki/Strip_(Unix)
the Kernel Sepolicy Patcher dont work for j5 pro android 8.1 twrp says error 1 when try to install
tutibreaker said:
the Kernel Sepolicy Patcher dont work for j5 pro android 8.1 twrp says error 1 when try to install
Click to expand...
Click to collapse
Log?
That all the rom installed busybox, and i try 2 versions of it and Same results
tutibreaker said:
That all the rom installed busybox, and i try 2 versions of it and Same results
Click to expand...
Click to collapse
Can you save the actual recovery log so I can see the cause of the error? After flashing zip, go to advanced -> copy log

Categories

Resources