|  04-08-2018, 12:59 PM | #1 | 
| Connoisseur            Posts: 52 Karma: 55058 Join Date: Mar 2018 Location: Spain Device: Kobo Glo HD | 
				
				Replace Busybox with Bash?
			 
			
			Has anyone tried to replace the default busybox included on the rootfs partition with Bash and the GNU coreutils? I suspect that the only thing necessary to do this would be to grab an armhf version of these tools, delete busybox and replace all the symlinks to busybox with the GNU binaries. Would nickel work after doing this? Since I have bricked the Kobo something like 20 times, it would be useful to know if this will be the 21st   | 
|   |   | 
|  04-08-2018, 01:58 PM | #2 | 
| Connoisseur            Posts: 52 Karma: 55058 Join Date: Mar 2018 Location: Spain Device: Kobo Glo HD | 
			
			Okay, I just bricked my device again. Bash required the library libc.so.6, which in the Kobo is just a symlink to libc-2.11.1.so Without realizing it, I deleted the symlink and just replaced it with the actual library, and the device died. I have found a static version of bash, though, so after restoring the SD I will try this: https://github.com/robxu9/bash-static | 
|   |   | 
| Advert | |
|  | 
|  04-09-2018, 02:40 AM | #3 | 
| Wizard            Posts: 2,808 Karma: 7423683 Join Date: May 2016 Location: Ontario, Canada Device: Kobo Mini, Aura Edition 2 v1, Clara HD, Clara BW, Libra Colour | 
			
			Is there a reason why you are trying to do this (or is is just for fun some of the stuff I do)? There may be a better way for your use case.
		 | 
|   |   | 
|  04-09-2018, 07:01 AM | #4 | 
| Connoisseur            Posts: 59 Karma: 2072648 Join Date: Sep 2016 Device: Kobo Aura Edition 2 | 
			
			You can try the Mega Update (latest version built is 4.6.9995): https://www.preining.info/blog/2017/...tch-ssh-fonts/ Be sure to download the correct MarkX version. The only problem I've had so far is that Nickel no longer worked. It just spun in an infinite loading loop. But KOReader and other programs work fine. I have a Kobo Aura Edition 2 (not H2O) which is Mark 6, in case anyone happens to read this knowing how to solve the problem. Disclaimer: I own nothing in the package and did not build it. Use it at your own risk. Last edited by markyisri; 04-15-2018 at 06:34 AM. Reason: add disclaimer | 
|   |   | 
|  04-09-2018, 08:23 AM | #5 | 
| Connoisseur   Posts: 63 Karma: 196 Join Date: Oct 2010 Device: Kobo Glo Hd, Kobo H2O2 | 
			
			if it may be useful, attached to this message you can find bash-static, compiled with crossx86-arm-linux-musleabi-0.9.11 provided by musl-cross. I tried to execute it on my Kobo (through usbnet) and it works (but I didn't try to replace busybox). | 
|   |   | 
| Advert | |
|  | 
|  04-09-2018, 09:38 AM | #6 | |
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 Join Date: Jul 2011 Location: Sydney, Australia Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos | Quote: 
 At the least, you need to add a very clear disclaimer about ownership of all files you include in the package. Plus, I would add a very large "use at your own risk" disclaimer. Right now, you have left yourself wide open. | |
|   |   | 
|  04-09-2018, 03:15 PM | #7 | 
| Wizard            Posts: 3,489 Karma: 2914715 Join Date: Jun 2012 Device: kobo touch | 
			
			davidfor, you are talking to the wrong person.
		 | 
|   |   | 
|  04-11-2018, 03:01 AM | #8 | 
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 Join Date: Jul 2011 Location: Sydney, Australia Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos | |
|   |   | 
|  04-15-2018, 06:34 AM | #9 | 
| Connoisseur            Posts: 59 Karma: 2072648 Join Date: Sep 2016 Device: Kobo Aura Edition 2 | 
			
			OK, I added a disclaimer to my post. Thanks for the heads-up.
		 | 
|   |   | 
|  04-15-2018, 08:59 AM | #10 | 
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 Join Date: Jul 2011 Location: Sydney, Australia Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos | |
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Kobo's busybox, setuid and mystery about /bin/busybox ?! | fastrobot | Kobo Developer's Corner | 12 | 07-17-2015 09:55 AM | 
| Configuring a better busybox | twobob | Kindle Developer's Corner | 85 | 03-01-2013 11:30 PM | 
| Kobo runs linux and busybox | billingd | Kobo Reader | 32 | 04-03-2011 10:19 AM | 
| Updating Busybox | Adam B. | iRex | 14 | 10-23-2008 10:18 AM | 
| Cybook source code released (kernel and busybox) | dottedmag | Gen3 Developer's Corner | 14 | 09-12-2008 04:59 AM |