Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-15-2018, 11:10 AM   #1
Galunid
Member
Galunid began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Apr 2016
Device: KPW2, 2013
Is there a way to execute a non-root command without access to command line

Hi there
As in the title, is there a way to execute a command like cp, mv or sth that doesn't require root permissions?
Galunid is offline   Reply With Quote
Old 05-15-2018, 11:13 AM   #2
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 3,033
Karma: 7343536
Join Date: Jan 2009
Location: in the middle of nowhere
Device: Paperwhite 3, iPad 9.7, iPad 12.9
Home - search bar:
Code:
;command <arguments>
I don't know if cp and mv are allowed commands. I only used it for setTime thus far.

Last edited by ilovejedd; 05-15-2018 at 11:16 AM.
ilovejedd is offline   Reply With Quote
Advert
Old 05-15-2018, 11:18 AM   #3
Galunid
Member
Galunid began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Apr 2016
Device: KPW2, 2013
I'm looking for a way to execute a custom script so more of a sh command, but the script doesn't need root permissions to be executed
Galunid is offline   Reply With Quote
Old 05-15-2018, 11:46 AM   #4
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 3,033
Karma: 7343536
Join Date: Jan 2009
Location: in the middle of nowhere
Device: Paperwhite 3, iPad 9.7, iPad 12.9
I'm pretty sure you still need to jailbreak for that.
ilovejedd is offline   Reply With Quote
Old 05-15-2018, 08:50 PM   #5
knc1
On Holiday
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 16,255
Karma: 17256902
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by Galunid View Post
I'm looking for a way to execute a custom script so more of a sh command, but the script doesn't need root permissions to be executed
There is very little that you can cp (or move) without having root permissions.

In any case, you must have the device jail broken before you can do anything outside of visible USB storage.

Once jail broken, our jail break support for the past few years has included the search bar command:
;log runme

(which executes the file named: RUNME.sh in the top most visible level of USB storage - you provide the content of that script - and there is a thread dedicated to worked/working examples here)
knc1 is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Command line - HOW? bookfanmd Calibre 19 01-12-2013 10:17 AM
Help with command line shotsky Conversion 6 07-23-2012 10:40 AM
Need help using command line tsger Recipes 2 07-16-2011 04:23 AM
PRS-650 getting command line box? FinancialWar Sony Reader Dev Corner 17 03-08-2011 06:07 PM
Why use the command line? slantybard Calibre 6 07-22-2009 01:17 PM


All times are GMT -4. The time now is 03:28 AM.


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