|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
|
![]()
Hi All!
Scotty is very worried about average joe not being able to install the apps we develop here. Technically is solvable, but we have to commit to one of the possible solutions. Don'ts (prerequisites): a. Whatever we do, it should not touch er_registry (that bans the SHELL hack) b. Don't use the root filesystem to install packages (that leaves us the SD slot --as SDs seen to be more common that CFs at MR-- or the internal memory using some workaround for the FAT exec problem) Do's (more prerequisites): A. There has to be a GUI for package install B. There has to be a GUI for launching apps Points we need to clarify: 1. Bootstrapping 2. Package install 3. App launch 4. Package format ===bootstrapping=== . That one is easy: distribute a .sh (a.sh) file that the user copies to /mnt/free from his PC and then use the exploit to ` /bin/sh /mnt/free/a.sh` The .sh can be a shar file -- an sh that acts as an autounpack-archive (like a zip-generated exe in windows world). That is, like the autopackage packages or the binary nvidia driver for linux. There are utilities to generate shar files, so no problem here. ===package install=== I vote for substitute /usr/bin/setup (rename it to /usr/bin/setup.irex) and launch the installer using the Preferences option in the main screen When in our installer, we can have an option to launch the real sutup (setup.irex) That installer should be able to list the packages available at MR and download&install them (bonus: be able to install packages in the memory card or in the intarnal flash), as well as uninstall installed packages. ===app launch=== I don't have an elegant solution for this one yet. I would really love to be able to use the upper-right button to display an UI for app launching, bypassing altoghether contentLister. For now, we can just substitute the /usr/bin/xpdf with a script and make the user upload the files for other viewers as "mycomic.cbr.pdf", so the xpdf script knows that it has to launch the cbr viewer with that file. Not very clean, but reasonable. ===package format=== I'm against using ipk just to make it harder for the users to unknowingly install then in the root filesystem. I'm a GoboLinux user, so I vote for using GoboLinux package format O:-). But that is just an opinion, I have no technical reasons to support that. Anyway, for more information about gobolinux package format see http://www.gobolinux.org ===conclusion=== We need your opinion to have this ironed out soon! ![]() |
![]() |
![]() |
![]() |
#2 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Design256 stepped forward with his port of gnuchess and I've turned it into a guinea pig for my best take on a "standalone application with zero installation".
But it still depends upon installing his [SHELL] hack to make it easy to start the chess program. Of course you could also just run the run.sh directly via the Arivero exploit... but that gets unwieldy for more than a couple applications. |
![]() |
![]() |
![]() |
#3 | |
Connoisseur
![]() ![]() Posts: 78
Karma: 103
Join Date: Aug 2006
Location: Ipswich, UK
Device: Irex Iliad
|
Quote:
I think we have to bite the bullet that there are going to be two routes - supported and unsupported. Supported will mean no root access, and no execution of executables except in a highly controlled enviroment. Unsupported will be for those who are prepared to install and run software ported and written by people here. And judging by my poll from a few weeks ago, that's quite a few people. So perhaps we should appeal to IRex to give us a supported-unsupported ![]() This will become much more relevant when IRex release their unbrick-bios sometime soon, and third-party apps suddenly become much less dangerous. |
|
![]() |
![]() |
![]() |
#4 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Here's my suggestion for removing most of the danger from installing the [SHELL] hack.
The "a" script. Code:
#!/bin/sh /bin/sed -i -f /mnt/free/shellme.sed /mnt/settings/er_registry.txt Code:
/^uaIDList=/ { /;EBA$/ { s/;EBA$/;EBA;SHELL/ a\ [SHELL]\ category=viewer\ arguments=<FILENAME>\ exec=/bin/sh\ xResourceName=sh\ channel=14\ extensions=sh;SH } } To use it you would copy both files to the root of your iLiad's USB drive from your PC/MAC/LINUX computer. You would then do the Arivero exploit and enter: `/mnt/free/a` for the key. The a script (which is execute allowed by default on MSDOS filesystems) will run /bin/sed to edit in-place your /mnt/settings/er_registry.txt. The shellme.sed script limits itself to a line that begins with "uaIDList=" of which there is only one. To be extra paranoid it then further limits itself to operating on only such a line that ends with ";EBA". This combination makes a pretty hard lock on only a factory original "uaIDList=" line. Once that single line has been isolated it appends ";SHELL" to the end of that line. It then appends the [SHELL] definition block after that line. Once this has been done a reboot of your iLiad will result in your ContentLister being able to execute .sh files by clicking on them. The suggested test would be to play a game of chess. ![]() Thoughts? Last edited by scotty1024; 11-09-2006 at 07:02 AM. Reason: Brought up to date with final working code |
![]() |
![]() |
![]() |
#5 |
eink fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,022
Karma: 4924
Join Date: Mar 2006
Location: Germany
Device: STAReBOOK, iRex Iliad, Sony 505, Kindle 2
|
It all sound really great, but still a bit above the "Average Joe" group I'm afraid.
The biggest problem here is, that nobody who updates their Iliad to 2.7.1 or later willb w able to use these. iRex needs to give us the option of running executables on the Iliad...then we could start making some real headway... Apps like Chess and the calc could easily be used this way, by just selecting their names in the list (from the CF/SD or internal memory). Apps that need to install (like the file-format viewers) are another problem since they would require modifications to the OS to some extent...I don't knwo where iRex plans to go with that...but if we need file-association, then we need to have access to at least some parts of the actual OS. |
![]() |
![]() |
![]() |
#6 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
First cut at a sandbox.
Extract it in root to create /sandbox To run it: chroot /sandbox /home/reader/start.sh The chroot command doesn't accept -u -g so it needs to be upgraded. Thoughts? |
![]() |
![]() |
![]() |
#7 |
Groupie
![]() ![]() ![]() ![]() Posts: 157
Karma: 314
Join Date: May 2006
|
I am interested in running some of these programs and I have yet to update to 2.7.1 Being out on the road for an extended period of time without ready access to an internet connection that does not require a login seems to finally have had some benefit - barring that I try these things and brick it!
|
![]() |
![]() |
![]() |
#8 |
Übernerd
![]() Posts: 238
Karma: 74
Join Date: Jun 2006
Location: Germany
Device: iRex iLiad
|
I see it was good not to upgrade to 2.7.1. I have waited for some HowTo like this.
|
![]() |
![]() |
![]() |
#9 |
Addict
![]() Posts: 285
Karma: 10
Join Date: Apr 2006
Location: Vancouver, Canada
Device: Proud Iliad owner
|
I havent upgraded either.
Now I'm waiting for an 'average joe' (like me) to install an app tell us how it went..(ie bricked or not bricked) ![]() |
![]() |
![]() |
![]() |
#10 |
Übernerd
![]() Posts: 238
Karma: 74
Join Date: Jun 2006
Location: Germany
Device: iRex iLiad
|
Does your 'average joe' have any experience in Linux systems (aside from Knoppix)?
If not, I'm probably not the one you are searching for. But for me this is finally a good and short HowTo. |
![]() |
![]() |
![]() |
#11 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
OK, I've validated the attached files on my system. I restored back to a factory er_registry.txt and then ran it. Rebooted and I'm not crying.
So here's the offer: vranghel or b_k. I'm extending the following guarantee to the first one of you to accept it. I'll guarantee the attached script won't brick your iLiad or I'll pay for the re-flash and pay you $250 USD for your trouble if it does. Instructions: Down load the attached zip. Extract it to the root of your USB mounted iLiad drive. Your iLiad's drive should resemble this after the extraction. Code:
a books documents newspapers notes shellme.sed After executing the AE, wait one minute, reboot your iLiad. See if you can run my re-pack of Design256's gnuchess from ContentLister (note: you still get an X'd icon, just click it anyways.) Let us know the results. Last edited by scotty1024; 11-08-2006 at 05:38 PM. |
![]() |
![]() |
![]() |
#12 |
Addict
![]() ![]() Posts: 261
Karma: 156
Join Date: Jul 2006
Device: iliad
|
OK, i can confirm the result on a nearly clean system. (didn't change my er_registry yet)
Someone could make this sticky? This is as easy as the first "userhack" ![]() Edit: GnuChess works great with one click on the run.sh. |
![]() |
![]() |
![]() |
#13 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
#14 |
Pac-Man caught my iLiad.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
|
to all: It is working!
to scotty: Yesterday - before you posted your shellme.zip - I didn't waited 1 min because I didn't know I have to, so I didn't worked. ![]() Last edited by yokos; 11-09-2006 at 07:04 AM. |
![]() |
![]() |
![]() |
#15 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
The busybox sed isn't fully compliant with a "real" sed.
The stuff in the ZIP is 100% tested on an iLiad. I'll update the previous suggestion so there won't be any confusion. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Classic How can I install apps to Softroot? | MangaEbooker | Nook Developer's Corner | 6 | 08-19-2010 07:22 AM |
Gizmodo: Use Dropbox to Easily Install Non-Market Android Apps | kjk | Android Devices | 0 | 07-22-2010 01:26 PM |
Always looking for user opinions | niet giftig | Introduce Yourself | 6 | 03-14-2010 10:05 PM |
What apps are you planning to install on the iPad | thinkpad | Apple Devices | 15 | 02-24-2010 03:40 PM |
Anyway to install apps in SD card on Mer - SmartQ7? | m26k9 | Alternative Devices | 10 | 09-10-2009 08:50 AM |