yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=4777552]yahs[/MENTION]dsaraf

I propose you always to update the date inside script to reflect the updates about busybox version file. Ex.

ui_print "================================================"

ui_print " BusyBox 1.25.1 $ARCH (Stable: 07 Oct/16) "

ui_print " -----by YashdSaraf@XDA----- "

ui_print "================================================"

in the last version could be

ui_print "================================================"

ui_print " BusyBox 1.25.1 $ARCH (package: 19.10.2016) "

ui_print " -----by YashdSaraf@XDA----- "

ui_print "================================================"

Otherwise is quite difficult to understand the real revision of your busybox/script.

The current last one (19.10.2016) show 07 Oct 2016.
[Android Software/Hacking General [Developers Only]] wirelesskebab:
When I flashed it with TWRP on my device that uses Magisk v9 + Magisk Phh's SuperUser + Magisk Systemless Xposed it installed to /system/xbin, is it possible to make this systemless for Magisk/Phh's SuperUser as well?

Thanks

Edit: Never mind, for some reason I thought that Magisk's inc busybox wasn't systemless.
[Android Software/Hacking General [Developers Only]] XN Logos:
is this work on mediatek Devices
[Android Software/Hacking General [Developers Only]] bovirus:
Yes it works on mediatek device.

The busybox posted in first post are basic 32bit busybox.

If you want busybox 32/64 bit advanced please search "busybox by Yashdsraf".
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Yes it does. :good:

I'd like to correct you there, the busybox installers attached in the first post detect automatically whether the device arch is 32 or 64 bit and install the appropriate binary. :)
[Android Software/Hacking General [Developers Only]] CosmicDan:
Just a heads up, seems to be a bug...

Why does this Busybox have an su applet? It break things.

Specifically, causes an incompatibility with phh's superuser (possibly SuperSU too). The su daemon picks it up, and bind-mounts it's target (in this case, the busybox binary) to the real su binary, rendering busybox broken.

You should probably exclude the creation of su related applets in future (su and sulogin), these applets are non-functional anyway. And who knows how many people out there who have used this installer have a non-functional busybox :p you should probably add a fix for that in next version, after the ln -s loop:

if [ -L su ]; then rm su; fi
if [ -L sulogin ]; then rm sulogin; fi

...but I don't know, I think that will also break some systems which have a legitimate su symlink set up i.e. some kind of compatibility mode for systemless root...
[Android Software/Hacking General [Developers Only]] Ibuprophen:
I have no problems at all flashing both the BusyBox binary files and SuperSU.

I'm not sure if you are referring to updating them rather than after a clean install of the system?

I prefer to do a fresh install of the system when installing them both.
[Android Software/Hacking General [Developers Only]] johnb380:
It works fine for me too clean or dirty. You just have to make sure you flash Busybox after SuperSU!
[Android Software/Hacking General [Developers Only]] CosmicDan:
As I said, it's a problem with phh's Superuser (only possibly SuperSU).

Ok, so SuperSU isn't affected.

But phh's Superuser is.

Or maybe it's a weird MIUI thing (I'm an MIUI user). Wouldn't be surprised, actually.

What happens is that the /sbin/su --daemon sees the symlink at /system/xbin/su, and does a weird bind-mount (or something - can see it in mounts list as a tmpfs) from /system/xbin/busybox to /sbin/su. As if it's trying to be smart and set the su symlink target to the phh's superuser binary located in initrd.

But it could be an MIUI weird thing, I realize now. Because I THINK it would also happen to SuperSU, and since you guys don't have it then that would indicate it's some strange wrapper function that's probably supposed to work with the built-in root toggle of MIUI (which is only visible in dev builds, but I digress).

Still, I don't think it's a good idea for Busybox applets "su" and "sulogin" to exist on system. They should be excluded from the binary completely when building IMO.
[Android Software/Hacking General [Developers Only]] Tecalote:
[MENTION=5423715]YashdSaraf[/MENTION] I used your busybox integreated in the install-script in my Rom for Huawei P9. It works perfectly. Thank you very much :)

I tested your busybox also on Huawei P8 Stock Firmware. If SuperSU Root was in system or systemless, your BusyBox.zip checked this and was installed in the rigth directory. (systemless: /su/xbin/busybox - system: /system/xbin/busybox).

Not so with phh superuser. Root with this phh seems to be systemless. But the Busybox-Installer YDS Universal install the BusyBox in this case to /system/xbin/ instead of /su/xbin/ .

Dont know, but I think maybe its an issue of Magisk - cause Magisk v9 has a kind of Integration of your BusyBox 1.25.0 (previous Version). It is not shown, but it can activated in the Settings of Magisk. After restart the phone your previous version of busybox is located in /system/xbin....

Another question, on your other Thread-Site: http://xdaforums.com/showthread.php?t=2239421 you have your UPDATE-Busybox.Installer.v1.25.1-ALL-signed.zip - what is the difference between the Universal one and this one?
[Android Software/Hacking General [Developers Only]] YashdSaraf:
I often use MIUI on my mi4 running my busybox builds without any issues. If you'd check the installer, you'll see it doesn't overwrite anything which is not an applet of any other busybox.

I still keep the su and sulogin applets as they work well in a chroot environment.

That's not my thread ;), the difference is that [MENTION=4544860]osm0sis[/MENTION] uses Android ndk to build busybox whereas I use custom built uclibc toolchains. Each has it's pros and cons, it's a matter of your preference in the end.

Note: Since the incompatibility issue with phh superuser has been reported multiple times, I'll look into it and update the installer ASAP. :)
[Android Software/Hacking General [Developers Only]] CosmicDan:
You misunderstand, I know it doesn't overwrite anything. I'm saying that my su daemon, for whatever reason, overwrites *your* busybox (dynamically by mounting itself to the busybox binary) because it mistakenly considers it as a superuser binary, due to the fact that it has an su applet. I don't know if this is a bug in phh's superuser or some MIUI feature, but either way I thought it'd be most logical to just remove the su applet from busybox (because IMO busybox has no business whatsoever trying to provide superuser capability).

But alright, if your su applet is indeed useful and you're convinced it will never rarely conflict with a *real* su binary (not just because of my bind-mount situation but simply because there are two su's in the path) then I see no point arguing it. As long as you're aware of it in case others have the issue then that's all that matters.[/QUOTE]
[Android Software/Hacking General [Developers Only]] osm0sis:
Not really much to be done about phh's Superuser; it is a systemless root but doesn't provide a method to add more things systemlessly because it's completely contained within the ramdisk. Magisk would be necessary to provide that framework for phh's where SuperSU has its own.
[Android Software/Hacking General [Developers Only]] pleasetouchmenot:
Busybox on playstore got an update ?
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=7072203]pleasetouchmenot[/MENTION]

Sorry but I didn't udnerstand your post.

Busybox by Yashsaraf are different than busybox on Play Store.

The latest version of busybox is 1.25.1 that is the version included in archive in first post of this thread.

Could you please explain what are looking for?
[Android Software/Hacking General [Developers Only]] mauam:
Stericson's busybox PS changelog "Fixed Remount issue on Android 7.1". Busybox.net still 1.25.1. So calm down the horses:laugh: Obviously the above user is not familiar with busybox stuff:)
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=3563392]mauam[/MENTION]

This is not the thread of Stericsson's busybox...
[Android Software/Hacking General [Developers Only]] mauam:
Of course it isn't, I know that. I only told you that the previous user don't have much aknowledge about busybox & thought bb was updated to new version or something like that. Do you understand now!?
[Android Software/Hacking General [Developers Only]] pleasetouchmenot:
Ohh i'm so sorry. It's ok now :)
[Android Software/Hacking General [Developers Only]] SidRose01:
[MENTION=5423715]YashdSaraf[/MENTION] stupendous
[Android Software/Hacking General [Developers Only]] exodius48:
[MENTION=5423715]YashdSaraf[/MENTION] Your busybox still not compatible with magisk + phh superuser.

I'm using MIUI v8 Android 6.0.1. Since Supersu Systemless not fully working in MIUI (sometimes root disappear after phone booting), i move to magisk & phh superuser. Its fully working in MIUI 8 (MultiROM.me edition)

Your busybox still installed on /system partition and when i type "busybox" in Terminal Eulator only shows : "root@kenzo: /data/data # " not all applets like usual.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=2590986]yashs[/MENTION]araf

Could you please develop a busybox based on new beta 1.26.0 sources?

https://www.busybox.net/
[Android Software/Hacking General [Developers Only]] Ibuprophen:
The last i heard regarding the 1.26.0 is still an unstable build.

http://news.softpedia.com/news/busy...x-released-with-over-200-changes-511154.shtml

Sent using the d2vzw Communicator from the Bridge of the U.S.S. Enterprise (N.C.C. 1701).
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Note: I'll upload the tar files containing the binaries and update the uninstaller to clean bb in magisk/phh/bin (the installers will clean busybox in magisk/phh/bin before installing) by tonight

I've added magisk and phh su support and it seems to be working on my device, do report if it works for you or not :good:

The main page at www.busybox.net is only updated with builds stable enough for normal usage. It is labelled as unstable because there'll be a point release 1.26.1 coming in a couple of months after 1.26.0 bugs have been patched. Still if you want you can always switch back to 1.25 :D
[Android Software/Hacking General [Developers Only]] exodius48:
[MENTION=5423715]YashdSaraf[/MENTION]

MIUI rom has built-in busybox, do i need to remove it before install yours busybox magisk edition?
[Android Software/Hacking General [Developers Only]] YashdSaraf:
No need, the installer will take care of any existing busybox bins, be it in /system, /su or /magisk/phh/bin. :)
[Android Software/Hacking General [Developers Only]] exodius48:
Seems your busybox installed , but there is a weird code that is "Unknown id"

How to remove busybox magisk adition? I want to test that message come from your magisk or not. Just in case.
[Android Software/Hacking General [Developers Only]] YashdSaraf:
The "Unknown id" message is coming because the default shell (/system/bin/sh) needs to execute the id binary. Since magisk installs all the binaries in /sbin, which precedes the directory /system/bin in the PATH variable, the default shell executes busybox's id instead of /system/bin/id.

tl;dr It is a harmless message, still if it bothers you just run these commands in a terminal -

su
rm /sbin/id
rm /magisk/phh/bin/id

About removing the busybox, I'll update the cleaner in the OP within the hour. :good:
[Android Software/Hacking General [Developers Only]] exodius48:
Nice explanation. :good:

If i don't remove it using that command, is it ok to go? There is no impact to system, right? If so, i won't remove that "Unknown id"
[Android Software/Hacking General [Developers Only]] YashdSaraf:
No there isn't. (I've been using it on my mi4 running miui8 for a couple of days and haven't noticed any discrepancy yet)
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Now is available busybox 1.26.1 stable

Source - http://busybox.net/downloads/busybox-1.26.1.tar.bz2

Binaries - https://www.busybox.net/downloads/binaries/1.26.1-defconfig-multiarch/

Could you please update your busybox?
[Android Software/Hacking General [Developers Only]] exodius48:
Very fast. :laugh:
[Android Software/Hacking General [Developers Only]] jcfunk:
[MENTION=5423715]YashdSaraf[/MENTION]

It's happening again. Zip errors

Here a copy of the log

#Fri Jan 6 18:49:06 CST 2017
#Ignore umount errors!
================================================
BusyBox 1.26.0 arm (Stable: 02 Jan/17)
-----by YashdSaraf@XDA-----
================================================

Mounting /system --
Checking Architecture --
Looking for => 'arm', Found => 'armeabi-v7a'
32 bit architecture detected --
Checking if busybox needs to have SELinux support --

SELinux support is ENABLED --
Cleaning up older busybox versions (if any) --
Extracting Binary to /system/xbin --
unzip: zip flags 1 and 8 are not supported

***Abort!!***
Cause: Error while unzipping /sdcard/Download/Busybox-1.26.0-YDS-ARM.zip to /system/xbin
Quitting installer -- Check /sdcard/BusyBox-YDS-installer.log for errors
umount: can't umount /system: Device or resource busy
[Android Software/Hacking General [Developers Only]] YashdSaraf:
I'll update the bb to 1.26.1 today, I think that should fix the error.

Sorry for the late release, I forgot to include xzdec in 1.26.1 installers that's why I couldn't release them yesterday. :silly:
[Android Software/Hacking General [Developers Only]] pleasetouchmenot:
Waiting for the update today :)
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Note: Sorry for the delay people, the latest installer was having some issues when using FlashFire. (They weren't able to mount /system). But it seems to be working flawlessly on some devices, so if FlashFire doesn't work you please flash the installers manually from a custom recovery. :)

Kindly test and report if the latest release errors out as well. I've been using the same command to zip the installers since we last fixed the error :p. Let's see if it still persists.
[Android Software/Hacking General [Developers Only]] mauam:
Thanks bud:cool:
[Android Software/Hacking General [Developers Only]] pleasetouchmenot:
[MENTION=5423715]YashdSaraf[/MENTION] here's my log. I'm on AOSP 7.1.1

EDIT: i redownload the latest file and it works now! No errors found on logs. Sorry and thankyou! :)
[Android Software/Hacking General [Developers Only]] jcfunk:
Still have zip issue.

I used Busybox-1.26.1-YDS-ARM.zip

on LG G3 with latest TWRP.

It's an issue with the busybox used by TWRP/

Here is log

#Sun Jan 8 15:20:11 CST 2017
#Ignore umount errors!
================================================
BusyBox 1.26.1 arm (Stable: 07 Jan/17)
-----by YashdSaraf@XDA-----
================================================

Mounting /system --
Checking Architecture --
Looking for => 'arm', Found => 'armeabi-v7a'
32 bit architecture detected --
Checking if busybox needs to have SELinux support --

SELinux support is ENABLED --
Cleaning up older busybox versions (if any) --
Found in /system/xbin --
Total applets removed => 390 --

Extracting Binary to /system/xbin --
unzip: zip flags 1 and 8 are not supported

***Abort!!***
Cause: Error while unzipping /sdcard/Download/Busybox-1.26.1-YDS-ARM.zip to /system/xbin
Quitting installer -- Check /sdcard/BusyBox-YDS-installer.log for errors
umount: can't umount /system: Device or resource busy
[Android Software/Hacking General [Developers Only]] exodius48:
[MENTION=5423715]YashdSaraf[/MENTION]

Great job as always. Successfully installed on my device, running MIUI 8 Marshmallow (magisk + phh superuser). :highfive:
[Android Software/Hacking General [Developers Only]] veez21:
Flashed it in flashfire, didn't have a problem installing :)
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Ok I finally got the error, SignApk was the culprit. This time I used the hackaround (kudos to osm0sis and Chainfire). Please test and report if it worked.:)

Edit: Oops! Here's the link - https://dl.dropboxusercontent.com/s/hsxkoaug4vuipoi/Busybox-1.26.1-YDS-UNIVERSAL.zip
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=5423715]YashdSaraf[/MENTION]

Where can we downlaod the latest file that you modified with SignApk fix?

The latest busybox on first post have a date of 08.01.2017. Is it?
[Android Software/Hacking General [Developers Only]] Demicro:
1.26.0 work fine systemless ☜☆☞
[Android Software/Hacking General [Developers Only]] exodius48:
[MENTION=5423715]YashdSaraf[/MENTION]

I think latest BB has a problem with some commands. I type on TE:

su
reboot recovery

But my device does not reboot to recovery. :confused:
[Android Software/Hacking General [Developers Only]] YashdSaraf:
Like I said before, if you've got busybox installed with magisk and phh su, it should be in /sbin and precedes the /system/bin directory in the PATH environment variable.

Previously when you used to call reboot recovery it worked because it was using /system/bin's reboot.

The busybox reboot does not work without the -f flag.

So to reboot your device you could fire the command

reboot -f

But busybox's reboot doesn't seem to reboot into recovery or bootloader mode, so for that you'll have to use system's default reboot,

/system/bin/reboot recovery

P.S: Installing busybox with magisk and phh i.e in "/sbin" seems to be creating a lot of issues, I'll add some code in the installer to not link the applets which are already present in /system/bin and /system/xbin. That way the applets could still be used by calling them using busybox <applet_name>. I'll try to do this today.:D
[Android Software/Hacking General [Developers Only]] exodius48:
Wow...you're genius..

Your code above working fine. :D

Keep up the good job bro. :highfive:
[General Topics] Mr.Yawnie:
Be the first one to use unicode 9 and 10 emojis on your phone!

I have added unicode 9 and 10 support for android font file (ttf), as well as modded Google Keyboard to support the fonts. Best way to really use the emojis is to ask your friends to download the mod too, so they can see the emojis. Other usage could be in Snapchat for example, as whatever you write/create into the snap, gets added statistically into the image.

Unicode 9 emojis will get released in mid-2016 and unicode 10 emojis in mid-2017.

Added emojis:

[IMG="Unicode 9 and 10 emoji preview"]http://i.imgur.com/C5TaA9k.png[/IMG]

Instructions:

1. Back up existing NotoColorEmoji.ttf from /system/fonts

2. Download modded ttf file (zip), extract the zip (NOT flashable!)

3 Copy-paste modded ttf file to the same location, overwriting the existing one. Change permissions to rw-r-r and reboot.

4. Go to http://emojipedia.org/unicode-9.0/ and confirm you can see the emojis.

5. Download and install the modded Google Keyboard in order to be able to choose the emojis when writing.

-> if you have Google Keyboard already installed, the installation will fail. Uninstall existing app, then install modded one.

6. DONE ;)

Downloads:

Find new font file from attachments (NOT flashable zip!) Unicode 10 not added as of now, will add later!

Modded Google Keyboard

Latest Google Keyboard with Unicode 9 support (not 10), and theme support!

Credits:

Emojipedia for the mockups

Mitch Talmadge for EmojiTools

Notice:

I am not the copyright owner of the iOS emojis, nor the mockups. Apple owns the rights for iOS emojis, and Emojipedia for the mockups. I have simply combined them and merged into android font file.
[General Topics] AlexisXDA:
The keyboard has a bug with family emoji

Can you resolve it?

Good port mate, thanks!
[General Topics] archaleus:
By replacing this file and installing the modded keyboard, it has given me the updated style of emojis, but I do not have the new ones that are shown. It appears to have unicode 8, but not the unicode 9 nominations. Please advise. Thanks
[General Topics] Mr.Yawnie:
Sorry for late reply. I noticed it myself too, but it appeared to have that in Stock version too I'm afraid. I will take a look at it when I have the time though! And thanks :)
[General Topics] Mr.Yawnie:
Did you Enable and use the modded keyboard? As that is the only way to choose the new emojis, by using the modded keyboard.

If you go to http://emojipedia.org/unicode-9.0/, can you see the emojis? If yes, then my mod is working.
[General Topics] archaleus:
Yes, I installed the modded keyboard and can see the emoji on the website, but I have no way of picking them in the modded keyboard. It only shows me the iOS style of the current ones.
[General Topics] Mr.Yawnie:
The mod is working just fine. What android version are you on?
[General Topics] ap_mnl:
Great mod! Works fine with my phone. The only problem is with the family emojis. There's a modded keyboard here that had it fixed. Maybe you can copy the codes in his work.
[General Topics] archaleus:
Re

Well the mod is not working correctly for me. I have done everything stated in instructions. I am on a Nexus 6P running the latest 6.0.1 PureNexus ROM. I would really like for it to work correctly for my setup and at this point am trying to discuss what is causing it not to on my setup.
[General Topics] Mr.Yawnie:
Unfortunately I have no idea.. Uninstall the keyboard I provided, and reinstall it. Then make sure you Enable it, and select the keyboard in use to be that modded keyboard. Also double check the emojis, they are there, added into categories where they belong. There's no magical tab with ios 9 and 10 emojis, they are blended together with existing ones.
[General Topics] Mr.Yawnie:
I will take a look into the family emoji issue once I have the time. :) it's definitely a stock keyboard issue, just verified. Could you link me the keyboard you're talking about?

Edit: I got an idea of what the issue with the family emojis could be, and I was right. I was missing the family emojis from the font file. They are actually not official unicode emojis. They are ZWJ groupings of existing emojis, and there has been created specific custom emoji images for those. Those images I am lacking, so the ZWJ code then shows all 4 emojis in a row.

I will fix the issue as soon as I have a bit of spare time! :)
[General Topics] Mr.Yawnie:
Read my response above. I figured out what the issue was, and will fix it as soon as I have a bit of time :)
[General Topics] archaleus:
Thanks for the help. It is weird, but for some reason uninstalling and reinstalling the exact same apk of the modded keyboard I had downloaded did the trick!
[General Topics] Mr.Yawnie:
Edit: delete
[General Topics] AlexisXDA:
Why?
[General Topics] Mr.Yawnie:
I thought I fixed the family emojis, but spoke too soon before testing. I know how to fix it, but the new emojis just didn't get added to the font file for some reason. I have to manually add them in, which means generating thousands of lines of code. I will do that asap when I have the time. ;)
[General Topics] Vithalvess:
Can you make the Google Keyboard modded like the Whatsapp emoji tab order, symbols and numbers row?

Thanks!
[General Topics] AlexisXDA:
Any news mate?
[General Topics] Mr.Yawnie:
I briefly tried it, but either got compiling errors or when I succeeded in compiling, the emojis just didn't work. Adding ligature emojis is much harder than regular ones. Emoji tools doesn't support adding ligature emojis, so everything needs to be done by hand (tens of thousands of lines of code). In case there's one small typo or error, everything fails. I will try again later when I have the time, quite busy weekend.
[General Topics] AlexisXDA:
Ah, don't worry mate
[General Topics] robert2103:
Goooddd :3

enviado desde algún lugar del mundo