Is there any way to use Tasker and shell commands to change the system modes. I have tried just executing /system /etc/cpuX.sh using root but I get permission denied.
Sent from my SPH-L710 using Tapatalk 4 Beta
Related
i have a problem, i followed the steps exactly on how to change custom boot animation, but now all i got is a black screen as an animation when the phone boots up, how do i revert back to the VZW boot screen? or how do i correct this?
Well you could just do a factory reset. It will bring back every thing back to normal d will not remove root ether, or you can get the incredible rom and get the boot animation and change it with adb
Sent from my Droid Incredible
I really don't wana reset again, i wonder my boot animations are not working
Sent from my ADR6300 using XDA App
Make sure your phone is in normal boot up with development turned on.
Make sure bootanimation.zip is in your sdk/tools directory
go to cmd
change directory to sdk/tools
type in cmd > adb push bootanimation.zip /data/local
adb reboot
done.
To revert back to original boot animation
--------------------------------------
go to adb shell
type
rm /data/local/bootanimation.zip
Click to expand...
Click to collapse
That's the problem when i go go adb shell it just shows a money symbol and hangs at the command prompt and when i type rm it says permission denied
Sent from my ADR6300 using XDA App
Sko0baQueZ said:
That's the problem when i go go adb shell it just shows a money symbol and hangs at the command prompt and when i type rm it says permission denied
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Do you have root? If so, type su. Then it should come up with a # and try the same command again as posted.
I tried rooting my incredible to no success. It'll show a money symbol after i type adb shell.
Sent from my ADR6300 using XDA App
This is what it gives me.
Sent from my ADR6300 using XDA App
@Sko0baQueZ
after you get the "$" symbol, type in "su" and hit enter. you should then see a "#" symbol. that is your superuser control.
parkson said:
@Sko0baQueZ
after you get the "$" symbol, type in "su" and hit enter. you should then see a "#" symbol. that is your superuser control.
Click to expand...
Click to collapse
His phone isn't rooted, so no su.
Nvm,i got it working. Thanx for the help.
Sent from my ADR6300 using XDA App
Is there a command that can be used in a terminal emulator on the hero to install an apk from the sdcard? If not can it be done using adb commands? I am trying one of the froyo roms and before I start installing anything through the market, I would like to install a file manager. I have AndExplorer in an apk on the sdcard but I can only access it through adb or a terminal emulator.
Just adb push it to systen/app or you could install appinstaller from the market.
Sent from my HERO200 using XDA App
Open terminal.apk and issue these commands hitting enter after each line.
su
cd /sdcard
cp "app.apk" /data/app
This should do the trick. I don't think it will work with a2sd but I could be wrong. I tested it out just a few minutes ago and it worked great.
Sent from my Heroic using XDA App
mbobino said:
Open terminal.apk and issue these commands hitting enter after each line.
su
cd /sdcard
cp "app.apk" /data/app
This should do the trick. I don't think it will work with a2sd but I could be wrong. I tested it out just a few minutes ago and it worked great.
Sent from my Heroic using XDA App
Click to expand...
Click to collapse
Worked great, thank you for the tip
Hi guys,
I had some free time and decided to write this script specially for Terminal Emulator's users like me.
It's a simple script allows you to:
Backup
Restore backup
Flash
Reboot in any mode
Copy the script to /system/bin
recovery and /or kernel IMG files without the need to input so long codes again and again.
This script will make a new folder named Recovery-Kernel-Tools in your internal storage, including 3 more folders inside it:
Backups (max one backup for each partition, names are "case-sensitive")
Flash (but any recovery.img / boot.img to flash them, names are "case-sensitive")
Input (for future use)
Everything is self explanatory, when you execute this script for the first time, it will ask you to set your partitions, you can change them later at any time.
If it's useful for you and you need more options, feel free to suggest me.
Download link: ReKeTv1
After downloading, cd to installation folder and input:
Code:
su
sh ReKeTv1
If you're using Script Manager, just execute it as root.
Latest busybox is required.
Bassel Bakr said:
Hi guys,
I had some free time and decided to write this script specially for Terminal Emulator's users like me.
It's a simple script allows you to:
Backup
Restore backup
Flash
Reboot in any mode
Copy the script to /system/bin
recovery and /or kernel IMG files without the need to input so long codes again and again.
This script will make a new folder named Recovery-Kernel-Tools in your internal storage, including 3 more folders inside it:
Backups (max one backup for each partition, names are "case-sensitive")
Flash (but any recovery.img / boot.img to flash them, names are "case-sensitive")
Input (for future use)
Everything is self explanatory, when you execute this script for the first time, it will ask you to set your partitions, you can change them later at any time.
If it's useful for you and you need more options, feel free to suggest me.
Download link: ReKeTv1
After downloading, cd to installation folder and input:
Code:
su
sh ReKeTv1
If you're using Script Manager, just execute it as root.
Latest busybox is required.
Click to expand...
Click to collapse
There are three files in it...which 1 to download?
Sent from my GT-S7500 using Tapatalk 2
tandon.ayush said:
There are three files in it...which 1 to download?
Sent from my GT-S7500 using Tapatalk 2
Click to expand...
Click to collapse
ReKeTv1
Don't forget to leave some suggestions.
Bassel Bakr said:
ReKeTv1
Don't forget to leave some suggestions.
Click to expand...
Click to collapse
Tried with both terminal emulator and script manager
Got this error
" exec /system/bin/sh '/mnt/sdcard/download/ReKeTv1.txt'
# bin/sh '/mnt/sdcard/download/ReKeTv1.txt'
head: /mnt/sdcard/Recovery-Kernel-Tools/partitions: No such file or directory
tail: can't open '/mnt/sdcard/Recovery-Kernel-Tools/partitions': No such file or directory
tail: no files
Root access denied!
Please issue su command first"
Any solution?
Sent from my GT-S7500 using Tapatalk 2
tandon.ayush said:
Tried with both terminal emulator and script manager
Got this error
" exec /system/bin/sh '/mnt/sdcard/download/ReKeTv1.txt'
# bin/sh '/mnt/sdcard/download/ReKeTv1.txt'
head: /mnt/sdcard/Recovery-Kernel-Tools/partitions: No such file or directory
tail: can't open '/mnt/sdcard/Recovery-Kernel-Tools/partitions': No such file or directory
tail: no files
Root access denied!
Please issue su command first"
Any solution?
Sent from my GT-S7500 using Tapatalk 2
Click to expand...
Click to collapse
Run as root
Or in terminal emulator type
su
First
Bassel Bakr said:
Run as root
Or in terminal emulator type
su
First
Click to expand...
Click to collapse
Did both...still the same error
Any solution??
Sent from my GT-S7500 using Tapatalk 2
tandon.ayush said:
Did both...still the same error
Any solution??
Sent from my GT-S7500 using Tapatalk 2
Click to expand...
Click to collapse
In terminal emulator:
su
set -x
sh ReKeTv1 2> /sdcard/log1.txt
sh -n ReKeTv1 2> /sdcard/log2.txt
Then upload log1.txt & log2.txt files here.
Bassel Bakr said:
In terminal emulator:
su
set -x
sh ReKeTv1 2> /sdcard/log1.txt
sh -n ReKeTv1 2> /sdcard/log2.txt
Then upload log1.txt & log2.txt files here.
Click to expand...
Click to collapse
"No such file or directory"in both logs
Sent from my GT-S7500 using Tapatalk 2
tandon.ayush said:
"No such file or directory"in both logs
Sent from my GT-S7500 using Tapatalk 2
Click to expand...
Click to collapse
After set -x cd to installation directory then complete the code.
So I changed the DPI to 400 in build.prop via Root Explorer. Now I get the google screen but when it's supposed go to the "decrypt" phone screen it's just black.
I can get into Recovery, can I use ADB to pull/push a new build.prop?
Yes. Well needs to match what you had before
Sent from my Nexus 5 using Tapatalk
Is there a guide somewhere for ADB? I haven't had to used it in a few years.
Boot into recovery.
Code:
adb shell mount /system
adb pull /system/build.prop
Edit the file with a Unix compatible editor like notepad++ (not notepad)
Change the DPI back to normal and save
Code:
adb push build.prop /system/
adb shell chmod 644 /system/build.prop
Reboot and all should be well
Sent from my Nexus 5 using xda app-developers app
How can I get ABD to see it? keeps saying device not found, on both a mac and windows 8.1 machine.
EDIT: I got impatient and just reflashed the stock 4.4.2, all good now.
arr0ww said:
on both a mac and windows 8.1 machine
Click to expand...
Click to collapse
your 2 biggest fixable problems in life.
glad you got it sorted.
I am writing an app for my Pixel that calls a binary that need root to run effectively. I am currently running an eng build that I build from aosp with root access (lunch aosp_saifish-eng). I am able to run my binary in root shell through adb. However, when I try to kick it off from an app that I wrote in Android Studio, I get a permission denied error. I am calling for root using this code:
Process rootProcess = Runtime.getRuntime().exec("su");
Is there a way for an app to use su without the help of a root management app like SuperSU? Perhaps my understanding of root is lacking. I would appreciate any help or direction as to where to go to learn more about why this is not working.
Slashazard said:
I am writing an app for my Pixel that calls a binary that need root to run effectively. I am currently running an eng build that I build from aosp with root access (lunch aosp_saifish-eng). I am able to run my binary in root shell through adb. However, when I try to kick it off from an app that I wrote in Android Studio, I get a permission denied error. I am calling for root using this code:
Process rootProcess = Runtime.getRuntime().exec("su");
Is there a way for an app to use su without the help of a root management app like SuperSU? Perhaps my understanding of root is lacking. I would appreciate any help or direction as to where to go to learn more about why this is not working.
Click to expand...
Click to collapse
Yes, adb. Just google for something like: adb grant root
Sent from my ONEPLUS A3003 using Tapatalk