FORUMS
Remove All Ads from XDA

[TOOLS][ZIPS][SCRIPTS] osm0sis' Odds and Ends [Multiple Devices/Platforms]

13,739 posts
Thanks Meter: 30,446
 
By osm0sis, Recognized Developer / Recognized Contributor on 18th April 2013, 01:37 AM
Post Reply Email Thread
24th September 2019, 05:42 AM |#2481  
osm0sis's Avatar
OP Recognized Developer / Recognized Contributor
Flag Halifax
Thanks Meter: 30,446
 
Donate to Me
More
Quote:
Originally Posted by madbat99

@osm0sis
Wish I could do more
Have a glass of wine at the reception on me

Thank you so much for the donation!

Cheers, I definitely will!
25th September 2019, 12:21 AM |#2482  
madbat99's Avatar
Senior Member
Thanks Meter: 3,288
 
More
Quote:
Originally Posted by osm0sis

Thank you so much for the donation!

Cheers, I definitely will!

Try to enjoy the evening, mine seemed to go by in a flash. My bride had a blast, it's HER day after all. LoL
The Following User Says Thank You to madbat99 For This Useful Post: [ View ] Gift madbat99 Ad-Free
25th September 2019, 06:43 PM |#2483  
Member
Thanks Meter: 6
 
More
Busybox module doesn't seem to install anymore
I have an op3t (still) on oreo, rooted with magisk, Versions are up to date.
Some months ago I noticed that the magisk busybox module is no longer getting updated, when I update. It kept stuck at v1.29.3. It didn't bother me too much since then.
Yesterday I wanted to address the issue and uninstalled the module, in order to install the current one right after (hopefully tricking it to "update" that way). Instead I never manged to install it ever after. There is no /su folder on my phone, /system/xbin contains nothing bb related, and there's also no trace to bb anywhere else, although your installer always tells me that everything "went fine". I didn't even manage to install any other busybox from the PlayStore.

Still one bb seems to exist, in /sbin/. magisk/busybox, but that isn't yours, right? And it's not useable in system, right?

I just checked that /system/xbin is writable by root, but now I'm out of ideas...
25th September 2019, 07:22 PM |#2484  
amg314's Avatar
Senior Member
Flag Kharkov
Thanks Meter: 174
 
More
Quote:
Originally Posted by ako673de

I have an op3t (still) on oreo, rooted with magisk, Versions are up to date.
Some months ago I noticed that the magisk busybox module is no longer getting updated, when I update. It kept stuck at v1.29.3. It didn't bother me too much since then.
Yesterday I wanted to address the issue and uninstalled the module, in order to install the current one right after (hopefully tricking it to "update" that way). Instead I never manged to install it ever after. There is no /su folder on my phone, /system/xbin contains nothing bb related, and there's also no trace to bb anywhere else, although your installer always tells me that everything "went fine". I didn't even manage to install any other busybox from the PlayStore.

Still one bb seems to exist, in /sbin/. magisk/busybox, but that isn't yours, right? And it's not useable in system, right?

I just checked that /system/xbin is writable by root, but now I'm out of ideas...

Following terminal command show your current BB status:
*----------------------------------------------------------------------------*
$ which busybox
/system/xbin/busybox
(on my device BB lay in right place)
*----------------------------------------------------------------------------*
$ busybox
BusyBox v1.30.1-osm0sis (2019-02-28 18:48:08 AST) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2015.
Licensed under GPLv2. See source distribution for detailed
copyright notices.

Usage: busybox [function [arguments]...]
or: busybox --list[-full]
or: busybox --show SCRIPT
or: busybox --install [-s] [DIR]
or: function [arguments]...

BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable.
.................
(I have actual BB version installed)
*----------------------------------------------------------------------------*
Try uninstall BB using MManager first, then install fresh version.
The Following User Says Thank You to amg314 For This Useful Post: [ View ] Gift amg314 Ad-Free
25th September 2019, 09:42 PM |#2485  
osm0sis's Avatar
OP Recognized Developer / Recognized Contributor
Flag Halifax
Thanks Meter: 30,446
 
Donate to Me
More
Also, install log.
25th September 2019, 09:52 PM |#2486  
Member
Thanks Meter: 6
 
More
"which busybox" result is 1 (error)
"busybox" result is 127 (not found)
uninstall from magisk is the reason for exactly this behavior.
Re-install hasn't been possible ever after.
Busybox app by "meefik" (PlayStore) might give a valuable hint: says "mount system r/w". Then works.
But magisk bb module simply does not install.
Says install, runs smoothly, everything fine, reboot, nothing there. Reproducible.

---------- Post added at 09:52 PM ---------- Previous post was at 09:50 PM ----------

Tried twrp install, too, by the way. No success.
26th September 2019, 12:14 AM |#2487  
Recognized Contributor
Thanks Meter: 3,311
 
More
Quote:
Originally Posted by ako673de

"which busybox" result is 1 (error)
"busybox" result is 127 (not found)
uninstall from magisk is the reason for exactly this behavior.
Re-install hasn't been possible ever after.
Busybox app by "meefik" (PlayStore) might give a valuable hint: says "mount system r/w". Then works.
But magisk bb module simply does not install.
Says install, runs smoothly, everything fine, reboot, nothing there. Reproducible.

---------- Post added at 09:52 PM ---------- Previous post was at 09:50 PM ----------

Tried twrp install, too, by the way. No success.

And we still need the install log
The Following User Says Thank You to jcmm11 For This Useful Post: [ View ] Gift jcmm11 Ad-Free
26th September 2019, 05:49 AM |#2488  
osm0sis's Avatar
OP Recognized Developer / Recognized Contributor
Flag Halifax
Thanks Meter: 30,446
 
Donate to Me
More
Quote:
Originally Posted by ako673de

"which busybox" result is 1 (error)
"busybox" result is 127 (not found)
uninstall from magisk is the reason for exactly this behavior.
Re-install hasn't been possible ever after.
Busybox app by "meefik" (PlayStore) might give a valuable hint: says "mount system r/w". Then works.
But magisk bb module simply does not install.
Says install, runs smoothly, everything fine, reboot, nothing there. Reproducible.

---------- Post added at 09:52 PM ---------- Previous post was at 09:50 PM ----------

Tried twrp install, too, by the way. No success.

Where did you get the zip and what Magisk version are you flashing it on? Provide an install log and a Magisk log following the reboot after installation or we can't help you any further.

I uninstalled, rebooted, then installing the latest from the modules repo via Magisk Manager, which worked completely fine for me, by the way:
Code:
- Copying zip to temp directory
- Installing Busybox_for_Android_NDK-1.30.1(13020).zip
- Current boot slot: _a
- Device is system-as-root
Archive:  /data/user/0/com.DTVP5V.Nn1dtYvZr/cache/flash/install.zip
  inflating: install.sh
  inflating: module.prop
 
Busybox Installer Script
by osm0sis @ xda-developers
 
Mounting...
mount: can't read '/etc/fstab': No such file or directory
mount: can't read '/etc/fstab': No such file or directory
mount: can't read '/etc/fstab': No such file or directory
 
Extracting files...
Archive:  /data/user/0/com.DTVP5V.Nn1dtYvZr/cache/flash/install.zip
   creating: META-INF/
   creating: META-INF/com/
   creating: META-INF/com/google/
   creating: META-INF/com/google/android/
  inflating: META-INF/com/google/android/update-binary
  inflating: META-INF/com/google/android/updater-script
  inflating: README.md
  inflating: busybox-arm
  inflating: busybox-arm64
  inflating: busybox-mips
  inflating: busybox-mips64
  inflating: busybox-x86
  inflating: busybox-x86_64
  inflating: install.sh
  inflating: module.prop
 
Installing...
Using architecture: arm64
Using path: /data/adb/modules_update/busybox-ndk/system/xbin
 
Cleaning...
 
Creating symlinks...
 
Unmounting...
umount: can't unmount /system: Invalid argument
umount: can't unmount /data: Device or resource busy
umount: can't unmount /cache: Invalid argument
 
Done!
All totally normal. Similar from recovery, and same using the zip from this thread versus the one Magisk Manager downloaded. And busybox working normally from the command line after the subsequent reboot with all tests.

You may have something broken with your Magisk installation, possibly a conflicting module. I'd suggest deleting /data/adb/modules and starting fresh perhaps. Maybe even deleting everything from /data/adb and reflashing the lastest Magisk Canary.
26th September 2019, 08:15 AM |#2489  
Member
Thanks Meter: 6
 
More
Quote:
Originally Posted by jcmm11

And we still need the install log

I already checked the magisk log. Nothing there from the module installation process. Can you tell me where to find the one you're referring to?
26th September 2019, 11:18 AM |#2490  
Recognized Contributor
Thanks Meter: 3,311
 
More
Quote:
Originally Posted by ako673de

I already checked the magisk log. Nothing there from the module installation process. Can you tell me where to find the one you're referring to?

After installing in Magisk click the save icon then look in downloads. There's an option in TWRP to save the log as well, but since there's no currently functioning TWRP for my phone I haven't fired it up in a while and forget exactly where it is.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20190926-050308_resize_13.jpg
Views:	248
Size:	63.8 KB
ID:	4828241  
26th September 2019, 01:23 PM |#2491  
Member
Thanks Meter: 6
 
More
Ah! Stupid me did do this before but had no look into it, because I thought there isn't likely too much new info there, while no errors are shown in the magisk "flashing" screen. But obviously that's wrong.
Here you are:

- Copying zip to temp directory
- Installing Busybox_for_Android_NDK-1.30.1(13020).zip
Archive: /data/user/0/com.Povw.HKC.FbYQ8Qe/cache/flash/install.zip
inflating: install.sh
inflating: module.prop
mount: can't read '/etc/fstab': No such file or directory

Busybox Installer Script
by osm0sis @ xda-developers
mount: can't read '/etc/fstab': No such file or directory

mount: can't read '/etc/fstab': No such file or directory
Mounting...

Extracting files...
Archive: /data/user/0/com.Povw.HKC.FbYQ8Qe/cache/flash/install.zip
creating: META-INF/
creating: META-INF/com/
creating: META-INF/com/google/
creating: META-INF/com/google/android/
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
inflating: README.md
inflating: busybox-arm
inflating: busybox-arm64
inflating: busybox-mips
inflating: busybox-mips64
inflating: busybox-x86
inflating: busybox-x86_64
inflating: install.sh
inflating: module.prop

Installing...
Using architecture: arm64
umount: can't unmount /dev/tmp/su: No such file or directory
Using path: /dev/tmp/su/xbin

Cleaning...

Creating symlinks...

Unmounting...
umount: can't unmount /system: Device or resource busy
umount: can't unmount /data: Device or resource busy
umount: can't unmount /cache: Device or resource busy

Done!
Post Reply Subscribe to Thread

Tags
automation, batch, flashable zip, script, tool

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes