Try again. You guys must have tried to install in all of the 30 minutes it was broken. There has been another update with it working for over an hour now.
Bingo, works now, thanks!
Try again. You guys must have tried to install in all of the 30 minutes it was broken. There has been another update with it working for over an hour now.
Bingo, works now, thanks!
Have you checked this?.. May be of help.UPDATE-Busybox.Installer.v1.30.1-ALL-signed.zip:
- update to latest busybox stable official source
- properly enable Unicode in all builds (thanks @jcmm11 and @gdgsdg123)
- support new Magisk v18.0, v18.1 and v18.2+ paths in installer
See the related commits here: https://github.com/osm0sis/android-busybox-ndk
Hi all,
I'm just wondering is the "renice" command for apps outdated?
I remember using it years ago and it did make a huge difference to the app that had been reniced.
Thanks.
Yeah we used to use it on the launcher on the Galaxy Nexus back on KitKat. I'm not sure if it would work the same on Pie, or if it would make a tangible difference on a modern phone that actually has some horsepower. Feel free to try and report back.
Literally the reason I credited you in the release post.
Invalid?.. How?Not sure what to make of that.. some of it is just plain wrong and would generate an invalid config (e.g. setting things =n)..
Have you checked the Config files ("Config.in", "Config.src") in busybox source?..Edit: I really don't think this makes much sense either:
"Range of supported Unicode characters", enter: "0". (CONFIG_LAST_SUPPORTED_WCHAR=0)
Edit 2: Only supporting info I've found on it: https://forum.qt.io/topic/83001/unicode-on-es-files-aren-t-shown-in-the-correct-encoding/8
I used to have an app that I could use to renice an app but I can not remember the name of it...I even forget the command to use lol lol
The legacy way of specifying parameters... and it does work.Invalid since busybox configs use
CONFIG_NAME=y
or
# CONFIG_NAME is not set
So CONFIG_NAME=n like you have it is not a thing in a normal config.
The main reason you found almost nothing on Google is likely due to those things already included in the source...Quickly searching Google while at work at the time I did not check those files, no. My point was WCHAR=0 has very few hits so it wasn't initially clear what it did. As my edit shows I did find information supporting your proposed Unicode setup and added it in the commit which is now included in the latest builds.
The legacy way of specifying parameters... and it does work.
"# CONFIG_NAME is not set" style exists for taking advantage of syntax highlight. (syntactically those 2 have different meaning but due to the way it's implemented... the difference can be hardly observed)
The main reason you found almost nothing on Google is likely due to those things already included in the source...
The Config files ('busybox-1.30.1/libbb/Config.src', line: 229-257).The outcome of WCHARS=0 didn't readily present itself to me in the source either if I recall correctly, but cool, thanks for coming out man.
NothingI gave you credit for finding the proper way to enable Unicode in busybox builds as a courtesy since you translated it from the Chinese you found it in, is there something else you need?
With the 'ADB and Fastboot for Android NDK' installed via Magisk.
Is it possible to adb from phone terminal to firetv for sideloading apk? Tried the usual commands from pc, but Im either getting 'connection refused' or 'no route to host'.
Tried with and without ADB debugging enabled in developer options, same wifi network.
No idea what's going on with your [insert device name here] unfortunately, mileage definitely varies with adb and fastboot on-device support.
You can always try 1.0.36 from my repo's history to see if it'll work better on your device: https://github.com/Magisk-Modules-Repo/adb-ndk/commits/master
https://github.com/Magisk-Modules-Repo/adb-ndk/archive/7cc29103414c474c649b7022190af54ebb049d88.zip
So I've been wondering, would your twrp a/b retention script work as an addon.d script?
It needs to be the first addon.d script to be executed, because for me, the flashing order needs to be twrp then kernel then Magisk or else I get a bootloop
If anykernel2 gets addon.d support, then the retention script would result in a bootloop, no idea why twrp doesn't have addon.d support in their installers, what do you think?
For you the mass download in zip or tar.gz work? Or only one by one only?
Unless you can clone the repo, you'd have to scrape.For you the mass download in zip or tar.gz work? Or only one by one only?
For many Qualcomm based Xiaomi ROMs, the original gen_pif.custom.sh script that reads prints from build.prop (/system/build.prop) and product-build.prop (/product/build.prop), results with strange custom.pif.json files, eg:So... I'll just leave this over here...
/sdcard/Download/gen_pif_custom.sh:
<snip>
Edit: Latest updated for my own PlayIntegrityFork builds, now supporting custom.pif.json, proper API naming of fields, and separate system properties by default.
Please see my general how-to/explainer for tips on finding a working fingerprint and ideas on where to find the required build.prop files: https://xdaforums.com/t/module-play-integrity-fix-safetynet-fix.4607985/page-177#post-89189572
{
"MANUFACTURER": "Xiaomi",
"MODEL": "missi",
"FINGERPRINT": "Xiaomi/missi_phone_global/missi:13/TP1A.220624.014/V14.0.5.0.TLOMIXM:user/release-keys",
"BRAND": "Xiaomi",
"PRODUCT": "missi_phone_global",
"DEVICE": "missi",
"SECURITY_PATCH": "2023-07-01",
"FIRST_API_LEVEL": "31"
}
{
"MANUFACTURER": "Xiaomi",
"MODEL": "xaga",
"FINGERPRINT": "POCO/xaga_global/xaga:12/SP1A.210812.016/V14.0.5.0.TLOMIXM:user/release-keys",
"BRAND": "POCO",
"PRODUCT": "xaga_global",
"DEVICE": "xaga",
"SECURITY_PATCH": "2023-07-01",
"DEVICE_INITIAL_SDK_INT": "31"
}
{
"PRODUCT": "qssi",
"DEVICE": "qssi",
"MANUFACTURER": "QUALCOMM",
"BRAND": "qti",
"MODEL": "qssi system image for arm64",
"FINGERPRINT": "qti/qssi/qssi:12/SKQ1.211019.001/13.5.332_220407:user/release-keys",
"SECURITY_PATCH": "2022-02-01",
"FIRST_API_LEVEL": "30"
}
{
"PRODUCT": "doom",
"DEVICE": "doom",
"MANUFACTURER": "Lenovo",
"BRAND": "Lenovo",
"MODEL": "Lenovo L70081",
"FINGERPRINT": "Lenovo/doom/doom:12/SKQ1.211019.001/13.5.332_220407:user/release-keys",
"SECURITY_PATCH": "2022-02-01",
"DEVICE_INITIAL_SDK_INT": "30"
}
Congrats!!! ... now send me a kernel repacked with anykernel4 which passes strong integrity with unlocked bootloader
You didn't have one? It's standard here!Congrats!!! ... now send me a kernel repacked with anykernel4 which passes strong integrity with unlocked bootloader
#!/bin/bash
# also this
# bbox-bundle.sh
#
# osm0sis @ xda-developers
#
# requires (in addition to the default basic Ubuntu WSL packages):
# zip, default-jre
#
# ~/aik-build.sh for basic busybox compiles, and ~/ndk-box-kitchen for selinux busybox compiles
MAGISK=$HOME/magisk-modules;
bold() { echo -e "\033[1m"$@"\033[0m"; }
reset() {
bold "--- Removing busybox-ndk module ...";
rm -rfv $MAGISK/UPDATE-Busybox.Installer* zipsigner-*.jar Busybox-*-ALL*.zip UPDATE-Busybox.Installer.*-ALL-signed.zip;
rmdir $MAGISK 2>/dev/null;
}
init() {
local zipsigner;
reset;
bold "--- Initializing busybox-ndk module ...";
# busybox-ndk build environment is initialized by aik-build.sh and ndk-box-kitchen/run.sh
bold "- Cloning busybox-ndk installer git repository ...";
mkdir -p $MAGISK;
git clone https://github.com/Magisk-Modules-Repo/busybox-ndk $MAGISK/UPDATE-Busybox.Installer-ALL;
bold "- Downloading zipsigner ...";
zipsigner=$(wget -qO- https://github.com/opengapps/opengapps/tree/master/scripts/zipsigner-resources | grep -o 'opengapps/.*jar' | cut -d\" -f1 | sed 's/blob/raw/');
wget -O $HOME/$(basename $zipsigner) https://github.com/$zipsigner;
}
main() {
local zipflag stdout copy ver i out modver modcode newmodver newmodcode iteration skipmodprop curdir;
zipflag=-q;
stdout=/dev/null;
copy=1;
until [ ! "$1" ]; do
case $1 in
help) echo "bbox-bundle.sh reset, init, [verbose] [nocopy]"; exit 1;;
reset|init) $1; return;;
verbose) stdout=/dev/stdout; unset zipflag; shift;;
nocopy) unset copy; shift;;
*) echo "unknown option: $1"; exit 1;;
esac;
done;
ver=$(ls | grep ^busybox- | cut -d- -f2);
if [ ! "$ver" ]; then
echo "bbox-bundle: busybox repo not found, run aik-build.sh 'init' option";
exit 1;
fi;
bold "--- Bundling ...";
rm -f Busybox-*-ALL*.zip UPDATE-Busybox.Installer.*-ALL-signed.zip 2>/dev/null;
if [ -f AIK-build/mobile/arm/busybox -a "$copy" ]; then
bold "- Copying new Busybox $ver builds ...";
cd AIK-build/mobile;
for i in *; do
cp -fp $i/busybox $MAGISK/UPDATE-Busybox.Installer*-ALL/busybox-$i;
done;
cd $HOME;
fi;
if [ -f ndk-box-kitchen/libs/armeabi-v7a/busybox -a "$copy" ]; then
bold "- Copying new Busybox $ver SELinux builds ...";
cd ndk-box-kitchen/libs;
for i in *; do
case $i in
armeabi-v7a) out=arm;;
arm64-v8a) out=arm64;;
*) out=$i;;
esac;
cp -fp $i/busybox $MAGISK/UPDATE-Busybox.Installer*-ALL/busybox-$out-selinux;
done;
cd $HOME;
fi;
modver=$(grep -o "^version=.*$" $MAGISK/UPDATE-Busybox.Installer*-ALL/module.prop | cut -d= -f2);
modcode=$(grep -o "^versionCode=.*$" $MAGISK/UPDATE-Busybox.Installer*-ALL/module.prop | cut -d= -f2);
if [ "$ver" == "$modver" ]; then
newmodver="$modver";
newmodcode="$((modcode + 1))";
iteration=1;
else
newmodver="$ver";
newmodcode="${ver//.}0";
fi;
if [ "$iteration" ]; then
echo -ne "\033[1m\n*** Update Magisk module version code ($modcode -> $newmodcode) (y/n)? \033[0m";
read n; echo;
case $n in
Y|y) ;;
*) skipmodprop=1;;
esac;
fi;
if [ ! "$skipmodprop" ]; then
sed -i -e "s/version=.*/version=$newmodver/" -e "s/versionCode=.*/versionCode=$newmodcode/" $MAGISK/UPDATE-Busybox.Installer*-ALL/module.prop;
sed -i -e "s/version\".*/version\": \"$newmodver\",/" -e "s/versionCode\".*/versionCode\": \"$newmodcode\",/" $MAGISK/UPDATE-Busybox.Installer*-ALL/update.json;
fi;
bold "- Packing \"Busybox-$ver-ALL.zip\" ...";
cd $MAGISK/UPDATE-Busybox.Installer*-ALL;
zip -9 -x .git -x .github -x update.json -r $zipflag $HOME/Busybox-$ver-ALL.zip *;
curdir=$(basename $PWD);
cd ..;
if [ "$curdir" != "UPDATE-Busybox.Installer.v$ver-ALL" ]; then
mv UPDATE-Busybox.Installer*-ALL UPDATE-Busybox.Installer.v$ver-ALL;
fi;
cd $HOME;
bold "- Signing as \"UPDATE-Busybox.Installer.v$ver-ALL-signed.zip\" ...";
java -jar zipsigner-*.jar Busybox-$ver-ALL.zip Busybox-$ver-ALL-signed.zip;
mv -f Busybox-$ver-ALL-signed.zip UPDATE-Busybox.Installer.v$ver-ALL-signed.zip 2>/dev/null;
rm -f Busybox-*-ALL.zip /tmp/signAPK*.tmp 2>/dev/null;
}
cd $HOME;
main "$@";
exit 0;