What's the easiest way to execute shell scripts? - Droid RAZR M Q&A, Help & Troubleshooting

I would like to use the "clean" shell script on my phone which probably means I'm rooted not a big deal.. I did use a program recently to try it but I think it failed?
I'm just wondering about apps that will execute shell scripts with little hassle?
(I don't want to use ADB because I just think that's too much work!)

Terminal emulator from Google Play?
Sent from my XT907 using Tapatalk

Root Explorer? Or just put it in init.d if it's an init script.
Sent from Google Nexus 4 @ CM11
[WARNING: XDA Premium 4.0.13 lacks Signature function - do not update]

Related

How do i give my app SU permission?

im writing an app and it requires root permissions, can anyone help me out?
Normally you execute "sh" to open a shell and then you keep streaming commands to it.
The only difference is that you need to use "su" instead of "sh"
See http://code.google.com/p/netmeterle...statusled/utilclasses/ChargingLEDLib.java#295 for an example
Thank you so much!
Sent from my Nexus One using XDA App

Flashing bootloader without a computer(rooted)

I've downloaded redbend_ua and the clockwork recovery image. They're both currently on my sdcard's root. I'm trying to copy redbend_ua, but there's no 'cp' command???
I've been a Linux SysAdmin for over 5 years, so I'm comfortable on the command line. Where's cp? Is there an easy way to install bash 3?
Sent from my SPH-D700 using XDA App
I can't link the post with tapatalk, but detailed instructions are in a post labeled "Clockwork recovery no computer method"
By default the cp command isn't included in android... it is included in busybox. There is an app on the market, and the one click roots install it by default. Without busybox the cat command is used as so: cat > .
Sent from my SPH-D700 using Tapatalk
Wow... I'm embarrassed I didn't try that. I'm usually against piping cats but sfobv that's what is needed.
Sent from my SPH-D700 using XDA App

lock screen

so I just installed dj05 and super clean .9 but I don't like the lock screen. I downloaded the puzzle lock screen from rom manager and installed but it didn't change anything. why?
Sent from my SCH-I500 using XDA App
Did u select it in settings
Sent from my SCH-I500 using XDA App
yeah but I can choose puzzle or glass but neither actually does anything
Sent from my SCH-I500 using XDA App
Do you have Widget Locker installed?
I do not. from market?
edit: found it, is there a free way to do it?
Sent from my SCH-I500 using XDA App
All You have to do is create a file named "enable_glass_lock" and put it in /data/local
If you need step by step on this I can tell you multiple ways (some easier then others, but the easy ones may cost for certain apps, such as root explorer)
I can't find /local in my data folder
Sent from my SCH-I500 using XDA App
jordanzink said:
I can't find /local in my data folder
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
Wtf really?
It should be there. What are you using to look?
Root explorer?
Try terminal. You can use any free terminal emulator from the market. Use thee commands
$ su
# ls
This should show a list of directories
then:
# CD data
# ls
Again a list should show up and local should be there.
You can also try to change to the local directory to see if you get any errors :
# CD local
If you can CD to local then it exists and you are either not looking properly or whatever app you are using doesn't see it. Terminal is sure fire way to see if it exists.

[Q] ADB freezes when taping commands

I had to restore my Iconia, so i used the acer.Update.zip, then i flashed my system.img using connectbot directly from my tablet, then i did an hard-reset, now I need to push wifi modules.
I installed the android sdk and then i installed iconia drivers too on my Desktop PC running Windows Vista x32 (i know it sucks but right now i can't change os).
I run adb with the devices command and it recognizes my iconia, then i try to run any other command, as adb install C:\my.apk or adb shell and nothing happens...
If I try to close the shell it closes but the abd.exe process doesn't close even if I use the task manager, I have to reboot the PC.
Someone knows what to do, I yet googled but i haven't found anything...
excuse me for my bad english...
Well first off for your wifi modules you don't need adb any root file explorer will work. Put the modules on your SD card then copy them and go to system/lib/modules miunt the system as rw and paste them. Then reboot.
Sent from my PC36100 using XDA Premium App
The problem is that I haven't it and I can't install any apk without adb!
smaury said:
The problem is that I haven't it and I can't install any apk without adb!
Click to expand...
Click to collapse
Why can't you install apks without adb if your talking about gingerbreak just email it to yourself no adb required
Sent from my PC36100 using XDA Premium App
How can I download & install APKs if I haven't a filemanager and I can't connect to the internet?
Hmmmm. Well i would say restore with the Chinese update get a file.manager installed then flash your images that way your file.manager is installed I know.long work around but at work and don't have adb in front of me
Sent from my PC36100 using XDA Premium App
Is there a filemanager in the chinese update or at least wifi will work, i don't remember?
Yes Chinese has working wifi.
Sent from my PC36100 using XDA Premium App
Thank you i'll do that tonight!

[Q] How to do native root (non systemless)

Hello , i am new to nexus , there is awesome guide in general section but it cover only systemless root via supersu beta , i want to do native system root , Help will be highly appreciated
Sent from my Nexus 6P using Tapatalk
Already answered here:
http://forum.xda-developers.com/showpost.php?p=65713466&postcount=2921
newstar said:
Hello , i am new to nexus , there is awesome guide in general section but it cover only systemless root via supersu beta , i want to do native system root , Help will be highly appreciated
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
It did used to be in the guide....
It involves using a terminal emulator
then doing something along the lines of the below, however i cannot remember the exact commands. So don't go using that.
su
mount /system/xbin, -rw
touch /system/xbin /system/bin
mount /system/xbin, -ro
brichardson1991 said:
It did used to be in the guide....
It involves using a terminal emulator
then doing something along the lines of the below, however i cannot remember the exact commands. So don't go using that.
su
mount /system/xbin, -rw
touch /system/xbin /system/bin
mount /system/xbin, -ro
Click to expand...
Click to collapse
No longer necessary afaik.
Sent from my Nexus 6P

Categories

Resources