[REQ][ICS][GSM] Notification Drop Down Toggles - Motorola Droid RAZR

Hi
I loved the drop down toggles on Epsilon rom and I was wondering if any dev by any chance could make one for stock GSM razr ics? That would be awesome because the you cant get rid of the notification icon on the apps that is in the market. I would really appreciate that and I hope it's not that big of a problem. A recovery zip that is compatible with bootmenu 0.2.7(the latest version on market) and something in the style of the epsilon rom clean and goes with motoblur stock? http://miralaonline.net/images/7g2av.png
Thank you!

http://forum.xda-developers.com/showthread.php?t=1765303
Use the search function.
Theme them yourself if you don't like it
And remember to thank the author.
Sent from my XT910 using xda app-developers app

FrAsErTaG said:
http://forum.xda-developers.com/showthread.php?t=1765303
Use the search function.
Theme them yourself if you don't like it
And remember to thank the author.
Sent from my XT910 using xda app-developers app
Click to expand...
Click to collapse
Thanks for this frasertag, does it work with retail nonefigs? I searched but I didnt find that thread!
Also it says "DEODEXED only" and I dont know if I am deodexed

romdroid. said:
Thanks for this frasertag, does it work with retail nonefigs? I searched but I didnt find that thread!
Also it says "DEODEXED only" and I dont know if I am deodexed
Click to expand...
Click to collapse
Code:
adb shell
ls -l /system/app/ | grep odex
if you have nothing, you're de-odex, if you have entries, you're odexed

sevenup30 said:
Code:
adb shell
ls -l /system/app/ | grep odex
if you have nothing, you're de-odex, if you have entries, you're odexed
Click to expand...
Click to collapse
Thanks I'll check that later when I am home, but does it work with official nonefigs ics? And what if I am not de-odex, can I do it myself somehow or is it not noob-friendly?

romdroid. said:
Thanks I'll check that later when I am home, but does it work with official nonefigs ics? And what if I am not de-odex, can I do it myself somehow or is it not noob-friendly?
Click to expand...
Click to collapse
i don't know if it will work, i never tried, it's a little bit complicated to make it working, if you never mod APK it's hard to do it.

oh OK I'll check if I am de-odex or not but I hope this thread can stay here so maybe someone can make flashable zip for official ICS releases:good:
and maybe someone can make flashable file for odexed?

Apparently I am odexed, so I would be grateful if someone could release this mod to work with latest official ics and for odexed system, I bet there is people out there who would love to have this also. Thanks
Sent from my MZ601 using XDA Premium HD app

romdroid. said:
Apparently I am odexed, so I would be grateful if someone could release this mod to work with latest official ics and for odexed system, I bet there is people out there who would love to have this also. Thanks
Sent from my MZ601 using XDA Premium HD app
Click to expand...
Click to collapse
you must be DE-odexed, it can't be done odexed. search over xUltimate to deodex your system

sevenup30 said:
you must be DE-odexed, it can't be done odexed. search over xUltimate to deodex your system
Click to expand...
Click to collapse
Thanks. Found this guide -> http://technologic101.wordpress.com/2012/07/24/tutorial-how-to-deodex-a-stock-android-rom/
Is it that way you de-odex the system and is the guide according to your knowledge also compatible with RAZR?

it seems to be fine, i worked for ics

sevenup30 said:
it seems to be fine, i worked for ics
Click to expand...
Click to collapse
Thanks mate, question about your guide
must have /system rw or do it from bootmenu, go to custom recovery mount /system then :
Click to expand...
Click to collapse
Go into bootmenu -> mount /system and then I write the code in cmd, correct?

romdroid. said:
Thanks mate, question about your guide
Go into bootmenu -> mount /system and then I write the code in cmd, correct?
Click to expand...
Click to collapse
yes, and i forget a step
chmod 644 /system/app/SystemUI.apk

sevenup30 said:
yes, and i forget a step
chmod 644 /system/app/SystemUI.apk
Click to expand...
Click to collapse
Hmm OK I would be grateful if you could edit the code because I will simply copy it and paste it :laugh::good:

I followed that guide and I think I am de-odexed now, I ran your code
Code:
adb shell
ls -l /system/app/ | grep odex
and I got this
Code:
C:\Program\Android\android-sdk\platform-tools>adb shell
ls -l /system/app/ | grep [email protected]_spyder:/ $
de-odexed or not?
Also if I just want notification toggles, do I need to copy this whole code or is it unnecessary?
Code:
adb push SystemUI.apk /tmp/
adb push services.jar /tmp/
adb push android_policy.jar /tmp/
adb shell
su
mv /system/app/SystemUI.apk /tmp/SystemUI.apk.bak
mv /system/framework/services.jar /tmp/services.jar.bak
mv /system/framework/android_policy.jar /tmp/android_policy.jar.bak
mv /tmp/SystemUI.apk /system/app/
mv /tmp/services.jar /system/framework/
mv /tmp/android_policy.jar /system/framework/
chmod 644 /system/app/SystemUI.apk
chmod 644 /system/framework/services.jar
chmod 644 /system/framework/android_policy.jar
reboot
I only downloaded toggle_battery.zip unpacked it and put it in android-sdk\platform-tools
correct?
PS. I only need the notification toggles and not the 1% battery, is there a way to just flash the notification toggles seperate?
Appreciate your help and time, sevenup30

Related

[MOD] Multi DPI Dialer Tab

I wanted this so bad that I just ended up making it myself.
This is a slightly modified Contacts.apk which has a scaled dialer pad for those of us running a different DPI than stock and don't want the dialer all squished into the corner.
***Please don't attempt this if you aren't sure.***
To install FIRST BACK UP your current Contacts.apk (and Contacts.odex if you have one)
Two Methods:
Using adb:
Code:
adb shell mount -o remount rw /system
adb push Contacts.apk /system/app/Contacts.apk
adb shell rm /system/app/Contacts.odex
adb reboot
OR using Root Explorer:
Copy this Contacts.apk to your SD card
Navigate to /system/app
Mount as R/W
Rename Contacts.apk (and Contacts.odex if you have it) to Contacts.apk.bak (and Contacts.odex.bak)
Copy the new Contacts.apk and paste it in /system/app
Change permissions of pasted file to rw-r--r--
reboot phone
Contacts.apk
Wouldn't root explorer work also. Might be easier for the newbies
Sent from my SAMSUNG-SGH-I777 using XDA App
clown_luv said:
Wouldn't root explorer work also. Might be easier for the newbies
Sent from my SAMSUNG-SGH-I777 using XDA App
Click to expand...
Click to collapse
Good point. Updated first post. Thank you.
Works perfectly!
Thanks for the Multi DPI Dialer Camoto...Worked like a champ and now I have full dialer at 200DPI on the phone.
Works great. Thanks. The only problem i see is that this doss not change the incall keypad. Any fix on that?
simpl3lang said:
Works great. Thanks. The only problem i see is that this doss not change the incall keypad. Any fix on that?
Click to expand...
Click to collapse
I didn't realize that. I have tried a few changes here but I can't seem to figure out which XML file controls the layout for the in-call dialer...
camoto said:
I have tried a few changes here but I can't seem to figure out which XML file controls the layout for the in-call dialer...
Click to expand...
Click to collapse
If anybody knows the answer to this or can help me out, I am not able to figure this one out...
camoto said:
If anybody knows the answer to this or can help me out, I am not able to figure this one out...
Click to expand...
Click to collapse
How did u manage the first one anyways? I would like to know so i can learn it too. Thanks.
simpl3lang said:
How did u manage the first one anyways? I would like to know so i can learn it too. Thanks.
Click to expand...
Click to collapse
I was using this guide.
http://forum.xda-developers.com/showthread.php?t=863519
I have given up on this in favor of using Go Dialer EX which scales and is pretty slick.
deleted
download link is down man ... plz reupload and make a mirror..
eagerly waiting to see if it works ...
Thanks !!1
I think @camoto is not listening to us
Can someone else who has the Multi DPI dailer tab, upload it somewhere ...plzzz .. i really need it !!
Thanks in advance !1!
dev997 said:
I think @camoto is not listening to us
Can someone else who has the Multi DPI dailer tab, upload it somewhere ...plzzz .. i really need it !!
Thanks in advance !1!
Click to expand...
Click to collapse
+1
transmitted from the Dark Obelisk

[MOD][CM7] Enable your bootsound [19/05/2012]

hi ..
n I will provide an update to its special stornmix users and also make it based rom to enable bootsoundx CM7 its very easy way ..
you just download the link I included and follow the instruction that is in its
This link
BOOTSOUND ENABLE
Thanks for helping..
hmm, nice ~~ but i hav make one long ago~~ ^_^
Flashed, but didn't work
D1358531 said:
Flashed, but didn't work
Click to expand...
Click to collapse
are you in cm7 rom??
AgungDaVici said:
are you in cm7 rom??
Click to expand...
Click to collapse
Yep...the way I got it to work was to download a bootsnd.sh file and open the terminal app and type the following:
su
cd /sdcard
sh bootsnd.sh

SMemo.apk + Myfiles.apk SIII

Can anybody please link me to SMemo.apk and Myfiles.apk?
I would like to install them on non-touchwiz ROMs, if possible. I've read that they may not work on non-touchwiz ROMs.
Can anyone help?
Help please
Grizzly3124 said:
Can anybody please link me to SMemo.apk and Myfiles.apk?
I would like to install them on non-touchwiz ROMs, if possible. I've read that they may not work on non-touchwiz ROMs.
Can anyone help?
Help please
Click to expand...
Click to collapse
SMemo will not work on nonTW roms as they are twframework dependednt..can't say about MyFiles..
However here are both the files for DLI8..
MyFiles.apk (2.5 MB)
http://www.multiupload.nl/4W6UVJU6RQ
SMemo.apk (16.5 MB)
http://www.multiupload.nl/J9YXLXYNN4
Push them to /system/app and set permission to rw-r--r-- and reboot
zoot1 is right. there is a lot of interdependency between the TW framework and the S-apps.
The same goes for AllShare and a few other Samsung-specific apps.
that sucks s memo doesn't work on non touch wiz roms
neim81094 said:
that sucks s memo doesn't work on non touch wiz roms
Click to expand...
Click to collapse
"push them to /system/app and set permission to rw-r--r-- and reboot" << How do you do that?
Any replacement ? I am looking for an app that does the same as S memo.
I dont want an app to convert my handwriting to text. I want my notes saved "as-is".
bebseh said:
"push them to /system/app and set permission to rw-r--r-- and reboot" << How do you do that?
Any replacement ? I am looking for an app that does the same as S memo.
I dont want an app to convert my handwriting to text. I want my notes saved "as-is".
Click to expand...
Click to collapse
To set permissions use a Root Explorer to push the apps to systems/apps then go to the file settings and it should have options to change the permissions, alternatively you can do all this through adb but that's more technical and coding but I prefer through adb or android terminal
Through android terminal:
su
CD systems/apps
chmod filename.apk 644
That's if you pushed the files already
You need root you could always use Google for this stuff too lol
I use color note not for handwriting much but it gets the job done alternatively just use a picture editor to write notes I don't really know if any note apps
Sent from my SGH-T999
If I helped please press the thanks button
after pushing the file to system/app, and setting the permission rw-r--r-- and then reboot..its not running.
Sent from my GT-I9070 using xda app-developers app
zoot1 said:
SMemo will not work on nonTW roms as they are twframework dependednt..can't say about MyFiles..
However here are both the files for DLI8..
MyFiles.apk (2.5 MB)
http://www.multiupload.nl/4W6UVJU6RQ
SMemo.apk (16.5 MB)
http://www.multiupload.nl/J9YXLXYNN4
Push them to /system/app and set permission to rw-r--r-- and reboot
Click to expand...
Click to collapse
Thanks very good
thanks

[P] [ICS] [HOWTO] Add Init.d support

Requirements:
1. Root
2. Root Explorer (or equivalent)
Instructions - manual:
- Copy files from 'system.zip' to SD-Card
- Make directory
/system/etc/init.d/
- Move files to:
/system/bin/sysint
/system/xbin/run-parts
/system/etc/install-recovery.sh
/system/etc/init.d/99test
- Set permissions of all files to: rwxr-xr-x
- Install Busybox
- Run and update Busybox
- Restart
Instructions - CWM:
Not available for P
If everthings working you will get this file:
/data/local/tmp/init.d_log_test.txt
Now you can add any init.d scripts you like to folder /system/etc/init.d/ (set permission to rwxr-xr-x)
credits to:
- Doomlord for files
- seky0405 for confirm working on P
Scripts
SCRIPTS
--> Use only one set of scripts
Instructions - manual:
- Do a NANDROID backup first!
- Copy files from 'initd_xx' to SD-Card
- Move files to respective folders:
- Set permissions of all files to: rwxr-xr-x
- Run and update Busybox
- Restart
Instructions - CWM:
N.a.
Including:
- Fidelity
- Move Dalvik to Cache
- ...
Credits to:
- acervenky for scripts (pack2)
For further scripts refer to e.g. Corresponding U thread
There is a similar thread on this forum that I have tried many times but failed to succeed :-/
I hope this one does, I prefer using stock kernel.
Edit:
By the way you need to edit Add_InitD_Scripts_15Oct2012_pack2.zip, it will fail to be flashed in CWM because folder META-INF is not in the root dir of the zipped files, META-INF and System folders must be at the root of the zip file and not inside a folder
this is working for stock kernel and confirmed working by seky0405
thebrainkafka said:
this is working for stock kernel and confirmed working by seky0405
Click to expand...
Click to collapse
Great, that's what I needed to know
Just a hint for people that are not familiar with what's written in:
Instructions - manual:
Click to expand...
Click to collapse
Droid Manager does what's written in a simple User Interface
DeepUnknown said:
Great, that's what I needed to know
Just a hint for people that are not familiar with what's written in:
Droid Manager does what's written in a simple User Interface
Click to expand...
Click to collapse
Please tell how
thebrainkafka said:
Please tell how
Click to expand...
Click to collapse
Download Droid Manager (Link to thread in my signature)
Run Droid Manager (After you install it for sure )
it needs busybox installed. IF it's not installed users will get a prompt to install it.
after busybox is installed click the button "Start Droid Manager"
Unzip your the downloaded files from this thread, follow instructions in the screenshot, tell Droid Manager which files are the scripts
the rest is explained in the attachment of this comment.
I'm sorry I didn't write instructions since I usually find providing an image is easier than providing written steps
By the way current version of Droid Manager installs BusyBox 1.18
I will be adding version 1.20.2 in the next release which is due max tomorrow
Seems to be not really a need for P - at least when im interpreting my thx statistics on this thread. Will discontinue for P.....
not trying to rain on your parade and i think what u're trying to do here is useful. also, no offence meant so don't take it the wrong way.
however since u're doing it just to get your thanks meter up and you seem to feel that 5 thanks in 24 hours is reason enough to discontinue then it's up to u...
and oh... http://forum.xda-developers.com/showthread.php?t=1933849 this came earlier and is a much simpler way of doing it...
and btw... this thread doesn't belong in the DEV forum
chewdaniel said:
not trying to rain on your parade and i think what u're trying to do here is useful. also, no offence meant so don't take it the wrong way.
however since u're doing it just to get your thanks meter up and you seem to feel that 5 thanks in 24 hours is reason enough to discontinue then it's up to u...
and oh... http://forum.xda-developers.com/showthread.php?t=1933849 this came earlier and is a much simpler way of doing it...
and btw... this thread doesn't belong in the DEV forum
Click to expand...
Click to collapse
1. Lol
2. Thx for link. Working on P or U? Have you tried it?
Grts
yea i'm using it. works on both P and U since i have them both. also on SGS2 and SGTab2. all rooted stock rom and kernel
chewdaniel said:
yea i'm using it. works on both P and U since i have them both. also on SGS2 and SGTab2. all rooted stock rom and kernel
Click to expand...
Click to collapse
I now that this is not the meter of this topic but do you porhapse have a working CWM for rooted stock ROM with locked bootloader. I mean a CWM where you can mount system?
seky0405 said:
I now that this is not the meter of this topic but do you porhapse have a working CWM for rooted stock ROM with locked bootloader. I mean a CWM where you can mount system?
Click to expand...
Click to collapse
Well there is this one: [DEV][P] ICS CWM for locked bootloader *Alpha v1*
As you can see from the title it's still Alpha which means it's not yet near stable status.
I just wanted to know, if I want to execute the scripts while boot, I shud keep those scripts in init.d folder...
So can any1 tell me, whats the permission for init.d directory and the scripts inside them??? :sly:
R they 755 and 644??
Akki Da Rokstar said:
I just wanted to know, if I want to execute the scripts while boot, I shud keep those scripts in init.d folder...
So can any1 tell me, whats the permission for init.d directory and the scripts inside them??? :sly:
R they 755 and 644??
Click to expand...
Click to collapse
0777, 0777 init.d and script
sonnyxperia said:
0777, 0777 init.d and script
Click to expand...
Click to collapse
R u sure....??
As i've somehow google it and some forum says its 0755!!!
Akki Da Rokstar said:
R u sure....??
As i've somehow google it and some forum says its 0755!!!
Click to expand...
Click to collapse
yes 100% sure
im using it on my update script and its working for me,
you can check your system/etc/init.d and use that permission, i check different rom some using 0755 and 0777
the brains rom is 0755 xperia fidelity and xperiance is 0777
sonnyxperia said:
yes 100% sure
im using it on my update script and its working for me,
you can check your system/etc/init.d and use that permission, i check different rom some using 0755 and 0777
the brains rom is 0755 xperia fidelity and xperiance is 0777
Click to expand...
Click to collapse
Bt they r not working I think so...
Let me tell u situation,
Actually I need init.d support over sliding xp kernel, so I got it thru PmR App
And then added tweaks via Aroma version of PmR....
Now when I install all the tweaks, I found that there r total of 38 scipts in init.d directory and all of them are of 0 bits..
Don't know y?? Or its normal...
Can u tell me any sol??
Akki Da Rokstar said:
Bt they r not working I think so...
Let me tell u situation,
Actually I need init.d support over sliding xp kernel, so I got it thru PmR App
And then added tweaks via Aroma version of PmR....
Now when I install all the tweaks, I found that there r total of 38 scipts in init.d directory and all of them are of 0 bits..
Don't know y?? Or its normal...
Can u tell me any sol??
Click to expand...
Click to collapse
sliding xp kernel have init.d support,wow too many script,its not normal, open the script via note pad on your phone if theres nothing inside,check ur flashable zip maybe the script or the flashable zip is corrupted
sonnyxperia said:
sliding xp kernel have init.d support,wow too many script,its not normal, open the script via note pad on your phone if theres nothing inside,check ur flashable zip maybe the script or the flashable zip is corrupted
Click to expand...
Click to collapse
Yups thats strange....
I know!!!
And I know, Sliding Xp Has init.d support, but when I c, there was no folder in the system/etc, and I've tried thru pimp my rom's verify before installing its own init.d support... Its says "Nopes, No Support"
Bt when I install pmr init.d support and then I verify, it says "Success"
So it means, for me, Sliding xp has no init.d support.... Strangeness always occurs in my case ONLY!!!
Now the thing is that, I have 38 scripts, and they all r 0 bits, so it means thet r corrupted and I shud delete them all and flash aroma version again...
What u say??

Perfect repair, JB, led bar, tutorial

The tutorial is very simple,
First of all I would like to thank @NoobCoder, IF script, although is wrong! But I want to thank him!
1: unpacking the kernel, in init.rc
Search
Set this property so surfaceflinger # is not started by system_init
Setprop system_init.startsurfaceflinger 0
Let's add
# xiangxin: fix LED
Start data_restore
Then in the last added
# Xiangxin: FIX LED service
Service data_restore /sbin/data_restore.sh
User root
Oneshot
Disabled
OK, init.rc is corrected, download the attachment to data.tar, data_restore.sh
Added to the kernel, the /sbin directory!
The attachment of the system directory into your ZIP package!
OK tutorial end!
xx214718247 said:
Please moderator, don't move this post, I just write my method! Please stay one day!
Download the attachment, there is a modified file and not modified files!
Click to expand...
Click to collapse
No one will remove because you give awesome job about front camera
Sent from my ST25i using Tapatalk 2
Little Zed said:
No one will remove because you give awesome job about front camera
Sent from my ST25i using Tapatalk 2
Click to expand...
Click to collapse
Brother, you really fast!
Could you explain better what it does? For what android version it is?
Inviato dal mio Xperia U usando Tapatalk 4
Xperia_Modder said:
Could you explain better what it does? For what android version it is?
Inviato dal mio Xperia U usando Tapatalk 4
Click to expand...
Click to collapse
jb! ics works natively because it's official from sony!
I mean 4.1 or 4.2? Stock or cm?
Inviato dal mio Xperia U usando Tapatalk 4
Xperia_Modder said:
I mean 4.1 or 4.2? Stock or cm?
Inviato dal mio Xperia U usando Tapatalk 4
Click to expand...
Click to collapse
he worked only for stock...so i believe stock 4.1
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
NoobCoder said:
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
Click to expand...
Click to collapse
Now is it necessary to flash ur fix first before this or should we use this..only whileflashing Rom
Also....will this work if we wipe data/ factory reset??
Sent from my ST25i using XDA Premium 4 mobile app
kantry123 said:
Now is it necessary to flash ur fix first before this or should we use this..only whileflashing Rom
Also....will this work if we wipe data/ factory reset??
Sent from my ST25i using XDA Premium 4 mobile app
Click to expand...
Click to collapse
if all kernels include this then no need to flash my fix.
Since it's in the kernel, even after wiping data/cache, it'll work.
@xx214718247, so every time phone boots, it'll run data_restore.sh and replace light_themes and lightservice.soc. Wouldn't it remove our last saved color and set it back to default everytime ??
NoobCoder said:
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
Click to expand...
Click to collapse
Kernel maker, added to the kernel? My accessory, which is not a comparison?
NoobCoder said:
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
Click to expand...
Click to collapse
Yes, restart, manual setting! If you can find a better way, please tell me, or have a better idea, please tell me? Thank you
NoobCoder said:
if all kernels include this then no need to flash my fix.
Since it's in the kernel, even after wiping data/cache, it'll work.
@xx214718247, so every time phone boots, it'll run data_restore.sh and replace light_themes and lightservice.soc. Wouldn't it remove our last saved color and set it back to default everytime ??
Click to expand...
Click to collapse
At present, I have no better way, let him after the restart does not need to be manually set? You study? If you can, please tell me?
is this ready to flash ?
i tried and says installation aborted
NoobCoder said:
It's for stock only.
He inserted a bash script in init.rc to run during boot. This script will place the light_themes and lightservice.soc in /data with the related dalvik-cache so that illumination_service can find the necessary files to light up the led bar.
Nice approach @xx214718247 bro
BTW, where's the tutorial ? Your title says it's a tutorial
Click to expand...
Click to collapse
I have an idea? In the first boot, SH, script, create a file in data, second boot, scanning, whether to set up the file, if not, then run the SH script! If there is not running a SH script!
sv2hqx said:
is this ready to flash ?
i tried and says installation aborted
Click to expand...
Click to collapse
No. This is a kernel authors!
xx214718247 said:
No. This is a kernel authors!
Click to expand...
Click to collapse
ok
didn't know
xx214718247 said:
I have an idea? In the first boot, SH, script, create a file in data, second boot, scanning, whether to set up the file, if not, then run the SH script! If there is not running a SH script!
Click to expand...
Click to collapse
you can check if the file exists or not. If doesn't exist then run the bash script. I'm not expert in bash but it should work.
Code:
if [ -f light_themes -a -f lightservice.soc ];
then
# do nothing
else
run the script
fi
NoobCoder said:
you can check if the file exists or not. If doesn't exist then run the bash script. I'm not expert in bash but it should work.
Code:
if [ -f light_themes -a -f lightservice.soc ];
then
# do nothing
else
run the script
fi
Click to expand...
Click to collapse
I will try! Thank you very much
NoobCoder said:
you can check if the file exists or not. If doesn't exist then run the bash script. I'm not expert in bash but it should work.
Code:
if [ -f light_themes -a -f lightservice.soc ];
then
# do nothing
else
run the script
fi
Click to expand...
Click to collapse
Brother, your statement should not!
if [ -e /data/light_themes ]
then
# do nothing
exit
else
/sbin/busybox rm -r /tmp/data.tar
/sbin/busybox cp /sbin/data.tar /tmp/data.tar
busybox tar zxvf $tar_file
fi

Categories

Resources