General :: Make SH File With More Than 1 Command?
Oct 24, 2012
How can i make a .sh file with more than 1 command in it?
for example:
echo "90" > /sys/devices/system/cpu/cpufreq/lulzactive/inc_cpu_load
echo "1" > /sys/devices/system/cpu/cpufreq/lulzactive/pump_up_step
echo "2" > /sys/devices/system/cpu/cpufreq/lulzactive/pump_down_step
echo "50000" > /sys/devices/system/cpu/cpufreq/lulzactive/up_sample_time
echo "40000" > /sys/devices/system/cpu/cpufreq/lulzactive/down_sample_time
echo "5" > /sys/devices/system/cpu/cpufreq/lulzactive/screen_off_min_step
Can I make a single .sh file and don't have to split it in 6 different file??? (this file should be executed with scriptmanager)
View 3 Replies
Jun 7, 2012
What command is used to make a Nandroid backup? I did try the dd command from terminal. But it did not give me a image that i could open with the new yaffey? The tool is here: [URL] .....
View 3 Replies
View Related
Mar 20, 2013
How to take logs file with adb command
View 2 Replies
View Related
Sep 28, 2009
I want to build the .apk file from java binary file (.class) or .dex file. I have copied the bin+res folder and Manifest.xml file to a specified folder. and run the command :[apkbuilder.bat %FILE_NAME% -rf "./src_folderr"]. This command build the new .APK file with default keystore. But I want to build the APK with me generated keystore, with command line as this :[apkbuilder.bat %FILE_NAME% -rf "./src_folder" -storetype path_to_my_release_keystore.keystore] but it can not find my keystore with "java.security.KeyStoreException : release.keystore not found". How can I build APK file with my keystore file?
View 12 Replies
View Related
Aug 20, 2010
How to put file in sdcard using command line I tried by using adb push command but its not working my file is in D:/sample.ogg I had written code...
View 1 Replies
View Related
Sep 30, 2010
How can I build and signed (keystore) the .apk file using 'apkbuilder.bat' via windows command-line? I try to run the following line: apkbuilder.bat %APK_File_Name% -u -z %Project_Path%in esources.ap_ -f %Project_Path%inclasses.dex -rf %Project_Path%. But I'm getting the following exception: java.lang.ArrayIndexOutOfBoundsException: 1 at com.android.sdklib.build.ApkBuilderMain.main<ApkBuilderMain.java:61>.
View 2 Replies
View Related
Nov 2, 2010
I've installed Ant. From an existing Eclipse project I am able to generate the build.xml file from the command line using ant -update project. When I now try ant release I get this error: build.xml:65: java.lang.NullPointerException. This project builds fine under Eclipse. I have no idea where to even begin to figure this out. I wouldn't bother with this except that I need to use ProGuard later on (which I have not done yet).
View 1 Replies
View Related
May 29, 2013
I really want to create a rom and I'm doing everything right with the Android Kitchen but after I flash my rom I get status 6/7 errors in CWM. how I do updater-script file that don't provide this errors?
View 4 Replies
View Related
Oct 13, 2009
When I'm in the directory tools and try to use "android create avd..." I get an error like "Java is not recognizable as an internal or external command, operable program or batch." What's wrong? I'm using Windows 7 prof Have added android to the system environment variables. (Maybe doesn't change anything.)
View 12 Replies
View Related
Jun 3, 2010
For the life of me i have read every sticky and i cannot figure out how to open a command prompt in the tools directory of the SDK file.
View 2 Replies
View Related
Oct 11, 2013
Making boot animation? I need to know how to make the flashable zip file I already have the images created
I need them optimized as well, not sure what tool is needed or how to make it? Its for the SG4.
View 2 Replies
View Related
Mar 19, 2012
I have developed a program that will allow android users to navigate through the files. But the problem is that when I use the "ls" command it doesn't make always a new line after each file but it places it in one line. Here is a screenshot
So my question is: Is there a way to make it list each file in new line? (using adb commands)
View 9 Replies
View Related
Oct 28, 2013
I have a big project about Android. So you know noobs can't use ADB and Fastboot well. I'll make a custom file extension. That is an script. That will be a custom script. So how can I make my own scripting language ? And how can I export a file format from scripting language ? For example; Perl' s file format is .pl and Shell' s is .sh and so on...
Imagine I made an scripting language. But how can I make a program for running that ?
Go on, my idea is; user will install executer program. And he/she can run special scripts with that. So rooting, bootloader unlocking will be pretty easy with that. What do you think ?
My scripting language's scripts will be like this:
[ADB] reboot; ( Calls adb reboot command )
[FASTBOOT] oem unlock;
And here is a rooting script in my mind:
[FASTBOOT] oem unlock;
[FLASH R] [FILENAME:twrp.img];
[MESSAGE] Put your device to sideload mode.;
[SIDELOAD] [FILENAME:root.zip]
[ADB] reboot;
So can use ADB and Fastboot commands without using CMD. .When user openes .myscript file with notepad, he/she will see that codes.
View 9 Replies
View Related
Apr 11, 2013
I am trying to make an android live wallpaper for Xperia P. The resolution for the screen is 540x960.
1) I exported the animation as .mp4 and it came out around 4mb. Is there a way to create an .apk using this mp4 file that will work as live wallpaper and if yes how?
2) Do I have to multiply the width if I want to fit more than one screens? So for three, would it be 540 x 3?
3) Can I just repeat the main live wallpaper(540x960) instead of multiplying the width so that the same animation appears on all screens?
View 9 Replies
View Related
Sep 6, 2010
I have a rooted samsung captivate with sideloading enabled. After experimenting with different wifi tethering apps from the unofficial market, I began experiencing difficulties with my wifi connection. Even after uninstalling every app that I thought was changing the wifi state, the problem still persists. I can turn on the wifi and it will act normally for about 30 seconds before turning off without user intervention. In dmesg, the error is as follows: 'mmc1: Got command interrupt 0x00060001 even though no command operation was in progress.' Is this caused by an app or is this a more complicated problem?
View 15 Replies
View Related
May 19, 2010
Am almost done with my project in android, now I want to make the executable version of the application.
I need to demonstrate it in .exe form as soft app as on emulator, not by built and debug process from eclipse.
View 2 Replies
View Related
May 29, 2010
Running the last command it says file not found and i cant flash the image to get into amans rec...
View 13 Replies
View Related
Apr 2, 2013
app that could copy text from picture and then make it to text file or copy it to clipboard? GT-I9300
View 8 Replies
View Related
Dec 23, 2009
I have some new requirement. I have to write a video player which plays the content from the net.Some times the app downloads the video content, and this downloaded data should be private to only my app. No one should not access it.Simply saying providing security to my own content (though the content is taken from the sdcard, it should not be playable).
View 2 Replies
View Related
Mar 18, 2009
I downloaded the android source code.. how to make our own jar file with all our available java classes in the Android source code....
View 5 Replies
View Related
Jul 12, 2010
How can i make contacts backups to vcard file through programming?
View 2 Replies
View Related
Oct 16, 2010
Basically I have a video clip in .WMV and I wan't to take the audio and make a ringtone out of parts of it.
For some reason on my mac I can't get this to work with Audacity.
View 3 Replies
View Related
Jul 22, 2010
I want to make a loop that in my main.xml creates a button for each item in the list. But I cant see a way to loop in the xml file and create more buttons that way.
View 2 Replies
View Related
Jul 19, 2010
I need to provide some SDK as third party library for other applications. We don't want to open our source code. How could make a jar file?
View 2 Replies
View Related
May 19, 2010
I know I saw the app here just don't remember what it was called. I don't want to backup the apps, just want a text file.
View 9 Replies
View Related
Jul 15, 2009
I am creating android application which contains DB that needs to be hidden(not able to access by the user)in the sd card.can anyone tell me how to do this?
View 3 Replies
View Related
Apr 6, 2013
I have milestone A853. I want to up cook ROM but it can't enter recovery menu because camera button have problem. Any enter menu of recovery with adb command?
View 2 Replies
View Related
May 13, 2012
I'm trying to make a patch for my phone and was wondering if it's possible to use the setprop command in CWM? I need to adjust some build.prop settings and was hoping to make it easy. XT860 running ICS
View 2 Replies
View Related
Mar 24, 2009
From the opencore, we can see the aac file is supported to be played back. But the aac file can not be recognized in the music player.
From "http://groups.google.com/group/android-
framework/browse_thread/thread/ed9f788504c3d35a/42d9c78a38235a19? #42d9c78a38235a19 "
And after I reading the mediascanner sourcecode I think if I want to make the AAC file can be recognized in the music player I should to add following code to mediafile.java:
public static final int FILE_TYPE_AAC = 8;
private static final int FIRST_AUDIO_FILE_TYPE = FILE_TYPE_MP3;
private static final int LAST_AUDIO_FILE_TYPE = FILE_TYPE_AAC;
addFileType("AAC", FILE_TYPE_AAC, "audio/aac");
Because the AMR file is also be handled in this way. And form
mediascanner.jave sourcecode, we can see if the aac file is only be regarded as a only aac file not the mp4 single audio. I think the mediascanner.jave should not be modified. But after I modified the mediaFile.java , then I opened the music player the aac file also cannot be seen.
View 2 Replies
View Related
Dec 2, 2008
Is there any program that can edit a sound file to make it louder when used on the g1?
View 1 Replies
View Related