Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-08-2018, 12:59 PM   #1
ItalianUruguayan
Connoisseur
ItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplane
 
ItalianUruguayan's Avatar
 
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
ItalianUruguayan is offline   Reply With Quote
Old 04-08-2018, 01:58 PM   #2
ItalianUruguayan
Connoisseur
ItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplane
 
ItalianUruguayan's Avatar
 
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
ItalianUruguayan is offline   Reply With Quote
Advert
Old 04-09-2018, 02:40 AM   #3
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,736
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
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.
geek1011 is offline   Reply With Quote
Old 04-09-2018, 07:01 AM   #4
markyisri
Connoisseur
markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.
 
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
markyisri is offline   Reply With Quote
Old 04-09-2018, 08:23 AM   #5
traycold
Connoisseur
traycold doesn't littertraycold doesn't litter
 
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).
Attached Files
File Type: gz bash.tar.gz (484.4 KB, 229 views)
traycold is offline   Reply With Quote
Advert
Old 04-09-2018, 09:38 AM   #6
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by markyisri View Post
You can try the Mega Update (latest version built is 4.6.9995):

https://www.preining.info/blog/2017/...tch-ssh-fonts/
Just looking at this, I think you should be careful. The firmware is proprietary software. Hosting it without Kobo's permission is putting you on shaky legal grounds. It doesn't matter that Kobo doesn't limit access to the update files, it is their property to do what they want. Plus they don't actually publish the links to the update. All access is through their published software.

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.
davidfor is offline   Reply With Quote
Old 04-09-2018, 03:15 PM   #7
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
davidfor, you are talking to the wrong person.
tshering is offline   Reply With Quote
Old 04-11-2018, 03:01 AM   #8
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by tshering View Post
davidfor, you are talking to the wrong person.
Yes, you are probably right. I didn't remember seeing that page before, so I took it as a reference to a page they had created. But a search found a few other references to it over the years.
davidfor is offline   Reply With Quote
Old 04-15-2018, 06:34 AM   #9
markyisri
Connoisseur
markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.markyisri ought to be getting tired of karma fortunes by now.
 
Posts: 59
Karma: 2072648
Join Date: Sep 2016
Device: Kobo Aura Edition 2
Quote:
Originally Posted by davidfor View Post
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.
OK, I added a disclaimer to my post. Thanks for the heads-up.
markyisri is offline   Reply With Quote
Old 04-15-2018, 08:59 AM   #10
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by markyisri View Post
OK, I added a disclaimer to my post. Thanks for the heads-up.
Possibly a good idea, but, the reason for the post was that I thought it was your page that you linked to. Whoever owns that page is missing the disclaimers.
davidfor is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 05:21 AM.


MobileRead.com is a privately owned, operated and funded community.