[Q] [SOLVED] XFCE on webtop... - Motorola Droid Bionic

I followed the instructions listed here: http://forum.xda-developers.com/showthread.php?t=1281722 to get webtop over HDMI working and applied the patches (also using webtop2sd btw). I've updated via apt-get update and installed XFCE4 via synaptic. When change the startup shell script (/osh/usr/local/bin/start-oshwt-2.sh) to load xfce instead of awn, it doesn't load. All I get is my background wallpaper and the Mobile View window which makes me think something isn't working quite right.
I'm not quite sure where to go from here to get it working properly. When I run xfdesktop from the terminal it loads so I know that much is working.

Im an idiot. I checked this last night to see if it was an issue but I must have been too tired. The text editor i'm using to modify the shell script renames the original and saves the new document... in the process it doesn't copy the original file's permissions so I just needed to give the file executable rights... uhg.

Related

$10 BOUNTY!!! Fix my OpenVPN

I'm offering up a bounty of $10, payable immediately by Paypal, to anyone who can help me figure out how to make OpenVPN (using Hidemyass Pro) correctly run on my HTC Incredible with Virtuous 3.2 Rom installed.
I used the following directions from this site to set up OpenVPN:
Easy way - OpenVPN on rooted/S_OFF Incredible with BusyBox installed:
This is by far the easiest way to set up OpenVPN. Make sure you copy your config file and any relevant keys to a folder on your sdcard.
If you do not have tun.ko on your system, then you can download it for 2.2 (tun.zip) or 2.1 (inside openvpn.zip) attached to this post.
Next, download the following two apps from the Android Market:
OpenVPN Installer
OpenVPN Settings
Next, run OpenVPN installer, click install, give it an install path (I prefer /system/xbin), and give it the path to BusyBox.
Finally, run OpenVPN Settings. Go to Menu -> Advanced, make sure "Load tun kernel module" is checked.
Click on "TUN module settings"
Change "Load module using" to insmod
Change "Path to tun module" to... the path to your tun.ko file. Click back.
Update "Path to configurations" and "Path to openvpn binary".
That should be it!
Okay, so let me be clear in explaining exactly what I've done:
1) I used OpenVPN installer, clicked install, and pointed the install path to /system/xbin and then to Busy box - Binaries installed perfectly without a problem
2) I put all the Hide My Ass Config files into a folder on my SD card called Openvpn (/sdcard/openvpn)
3) I opened the advanced menu and checked "Load tun kernal module"
4) Changed the "Load Module Using" to insmod
5) Changed the Path to tun to (/sdcard/openvpn/tun.ko) - this is the folder where I put all my config files, including tun.ko
6) Changed "Path to configurations" to (/sdcard/openvpn) - which, just like the tun.ko file, is where the config files are located, along with the keys
7) Kept "Path to Binaries" as default setting (/system/xbin/openvpn)
So, after all this has been accomplished, it lists my VPN's servers and I click on one of them. It asks me for my login credentials, and when I put them in, I get the following error:
Fatal;"Cannot load certificate file./keys/hmauser.crt: error:02001002:systemlibrary:fopen:No such file or directory: error: 20074002:BIO.routines:File_CTRL.system lib: error:140AD002:SSL routines: SSL_CTX_use_certicate_file:system lib
Don't know what this means and don't know where to begin to fix the problem. But as I said, first person who gets me online using openvpn will get $10 by Paypal immediately. Who's in?!
If this helps, here's where I got the Hide My Ass Config files:
http://hidemyass.com/vpn-config/
Virtuous 3.2?
digitalicecream said:
Virtuous 3.2?
Click to expand...
Click to collapse
Yes, Virtious 3.2
lol
10ch
EDIT: Think I found your problem. Open the .ovpn file and look for
ca ./keys/ca.crt
cert ./keys/hmauser.crt
key ./keys/hmauser.key
change ./keys/ to where you are storing the files.
FredMan said:
EDIT: Think I found your problem. Open the .ovpn file and look for
ca ./keys/ca.crt
cert ./keys/hmauser.crt
key ./keys/hmauser.key
change ./keys/ to where you are storing the files.
Click to expand...
Click to collapse
It looks like the .ovpn files are all the same, more or less. I don't know where to find what you're mentioning above.
Here are all the files HMA provides. Which of these should i change?:
http://hidemyass.com/vpn-config/
Pick one that is closest to you.
Open it up and look for
Code:
ca ./keys/ca.crt
cert ./keys/hmauser.crt
key ./keys/hmauser.key
Change ./keys/ to ./sdcard/openvpn/
FredMan said:
Pick one that is closest to you.
Open it up and look for
Code:
ca ./keys/ca.crt
cert ./keys/hmauser.crt
key ./keys/hmauser.key
Change ./keys/ to ./sdcard/openvpn/
Click to expand...
Click to collapse
I changed it, but now I get the same error message but with the above thread:
Fatal;"Cannot load certificate file./sdcard/Openvpn/hmauser.crt: error:02001002:systemlibrary:fopen:No such file or directory: error: 20074002:BIO.routines:File_CTRL.system lib: error:140AD002:SSL routines: SSL_CTX_use_certicate_file:system lib
What does the "." before "/sdcard" mean? Am I manipulating the data incorrectly or is there something else I should try?
it's case sensitive Make sure the folders match. Try it with and without the "."
FredMan said:
it's case sensitive Make sure the folders match. Try it with and without the "."
Click to expand...
Click to collapse
You are so close to getting that $10!!
I changed the sequence to /sdcard/Openvpn and for the first time, it actually tried to authenticate and login. But now I got a new error.
It goes through the following:
Auth
Get Config
A quick Ip number that I can't read
then, the following error:
"FATAL: Linux ifconfig failed: could not execute external program"
Any idea how to fix this? I feel like we're very close!!
i dont want the bounty. Just helping out.
open terminal emulator and do
ls /system/xbin
Click to expand...
Click to collapse
look to see if 'ifconfig' is there
FredMan said:
i dont want the bounty. Just helping out.
open terminal emulator and do
look to see if 'ifconfig' is there
Click to expand...
Click to collapse
Thanks for helping out...
Since I have s-off, I'm guessing I'd have to boot into recovery to do anything in terminal emulator (earlier I was told I'd need to do this to use ADB Shell). Is this correct?
I have Astro file viewer on my phone, can I accomplish the same thing by just looking in the folder with that?
You can use astro, just make sure it's there.
FredMan said:
You can use astro, just make sure it's there.
Click to expand...
Click to collapse
Just checked. Yes, it's there. I noticed in the original post on how to set up OpenVPN, posts # 5-8 deal with this exact issue.
http://forum.xda-developers.com/showthread.php?t=702634
I'm not sure what, if anything, I should do with the file the OP posted in post #8, since this was months ago, and the version of OpenVPN I downloaded came out of the market this week. Also, from his original post, it looks like the OpenVPN he attached is for 2.1 not 2.2.
Any ideas?
Stockmoose16 said:
Just checked. Yes, it's there. I noticed in the original post on how to set up OpenVPN, posts # 5-8 deal with this exact issue.
http://forum.xda-developers.com/showthread.php?t=702634
I'm not sure what, if anything, I should do with the file the OP posted in post #8, since this was months ago, and the version of OpenVPN I downloaded came out of the market this week. Also, from his original post, it looks like the OpenVPN he attached is for 2.1 not 2.2.
Any ideas?
Click to expand...
Click to collapse
I GOT IT!!!!!
I had followed the original directions, which said to put ifconfig in system/xbin/bb, but I just reinstalled the binaries in system/xbin and it connected.
Don't know why the original directions were off, but I am so happy. Thank you so much.
Congrats! Have Fun.
FredMan said:
Congrats! Have Fun.
Click to expand...
Click to collapse
Since you were so helpful, can I trouble you for one more question that you may or may not know the answer to?
I have Tasker on my Android and I need it to kill the OpenVPN session when I'm using a certain wifi. This was easy to do with the VPN 1 plugin for PPTP, but I don't know how to make it kill an OpenVPN session (tried to set it up, but it seems to keep trying to reconnect and less I manually toggle off "OpenVPN" in "OpenVPNSettings."
Wanna take a crack?
I will look into it. Love Tasker.

Hulu for VEGAn Ginger

I had a patched version of libflashplayer.so that worked fairly well with Hulu on VEGAn 5.1.1 but when I upgraded what I think was the same .so no longer worked.
So here's what you want to do:
1) Install Flash 10.2 off the market or however else you do it.
2) Get this: http://www.2shared.com/file/hW5sepYW/libflashplayer.html
3) Use your favorite method (adb, root explorer, etc.) to make a backup copy of /data/data/com.adobe.flashplayer/lib/libflashplayer.so (I named mine libflashplayer.so.bak)
4) Put the file you downloaded in step 2 over the original (that's /data/data/com.adobe.flashplayer/lib/libflashplayer.so)
5) You need to make sure the browser restarts. If you are adept, go to Settings, Applications and force close the browser. If that worries you, reboot the tablet (nuclear option).
6) Make sure the browser is set to report itself as a desktop (Depends on your browser).
Notes: If you are running Ad Free, Hulu will complain and make you wait 30-60 seconds while it complains.
If it looks like it is working but the screen is black or frozen, touch the video. The click sensitivity is ridiculously high so when you try to adjust anything or press play or full screen it will often see the press twice and just go back to pause.
Works fine with pershoot's latest kernel and VEGAn Ginger even full screen. I'm using Opera Mobile. Haven't tried others, but if they load flash should be ok.
Good luck!
Update: The "Long boot problem" winds up erasing this fix on each reboot! Until that gets figured out here's a work around:
Get Script Manager from the market. Create a script that runs as root at boot time.
Script manager already puts in the first line you need so the whole script looks like this:
#!/system/bin/sh
cp /mnt/sdcard2/libflashplayer-patched.so /data/data/com.adobe.flashplayer/lib/libflashplayer.so
Use your favorite method to put the patched so file on /mnt/sdcard2 (or where ever you want to put it). If the boot thing gets fixed you should not need this anymore.
It is wise to test the script by simply running it before rebooting. You should not get any errors. If you do, fix them before you reboot.
Awesome, thanks! I tried everything and the closest I could get was picture but no sound. This worked perfect, using stock browser. Thanks again!
For some reason, it used to work to just change AND to WIN but now you have to jimmy the version number as well, apparently.
Okay following instructions exactly....downloaded new file and using rootexplorer to rename old file (bak) and replacing with downloaded file....
When I reboot my tablet the library file is resetting back to default....the original file is put back in place and the new downloaded file and backup file (bak) are nowhere to be found.....
I'm on VeganGinger using pershoots new oc kernel.....
Any ideas?
Hmm... same thing here! I just rarely reboot because it takes so long.
So this is probably related to the boot time issue. I figured out that the boot time is long because it unpacks the native libs for everything at boot time which I don't think it should be doing. So that explains that.
Could make a new APK but it would have to be signed. What I will probably do is keep my patched copy somewhere else and do a Script Manager script at boot time to do a copy:
cp /mnt/sdcard2/libflashplayer-patched.so /data/data/com.adobe.flashplayer/lib/libflashplayer.so
(all on one line)
A hack, for sure though.
That does the trick, it looks like. You can get Script Manager on the market. Gscript would work but it can't auto run on boot as far as I know. This makes me more certain that VEGAn 5.1.1 was NOT unpacking the APKs on boot
Script manager already puts in the first line you need so the whole script looks like this:
#!/system/bin/sh
cp /mnt/sdcard2/libflashplayer-patched.so /data/data/com.adobe.flashplayer/lib/libflashplayer.so
Use your favorite method to put the patched so file on /mnt/sdcard2 (or where ever you want to put it). If the boot thing gets fixed you should not need this anymore.
The other thing I use ScriptManager for is to bind mount sdcard2 in the /mnt/sdcard/sdcard2 directory so programs that only look in /sdcard can find things in my sdcard2 folders.
Fantastic ...thanks wd!
I'll give it a try...thanks for figuring out a work around so quickly ...
QUESTION .....so I create a the new script with Script Manager and place it where? Sorry ...have done the rooting, ROMs, kernels, etc. but scripts are new territory for me...thnx.
UPDATE.....Okay....created script to match your example...placed libflashplayer-patched.so on sdcard2...not sure where created script should be placed....checked "run at boot"...placed new script file on sdcard2, but Hulu did not work after rebooting so I'm guessing script needs to be in another location to run.....
script manager puts them in its folder. what happens if you run it from script manager? I am sure it needs root checked.
first time using Script Manager so I selected "New Script" and then gave it a file name "Hulu"...then copied the script language into that file and then Run...
came back with errors:
cp: can't stat '/data/data/com.adobe.flashplayer/lib/libflashplayer.so/mnt':not a directory
cp: can't stat '/data/data/com.adobe.flashplayer/lib/libflashplayer.so/libflashplayer-patched.so': Not a directory
Those paths are not right. Missing space I think.
Here is what I have:
Code:
#!/system/bin/sh
cp /mnt/sdcard2/libflashplayer-patched.so /data/data/com.adobe.flashplayer/lib/libflashplayer.so
yep...too many spaces..fixed that..
now when I do a quick run in Script Manager I get the following error:
cp: can't create 'data/data/com.adobe.flashplayer/lib/libflashplayer.so': File exists
do you have run as root checked?
wd5gnr said:
do you have run as root checked?
Click to expand...
Click to collapse
Bingo....I had Run on Boot, but not Run as Root....
Unfortunately after running and going to Hulu...on the main page I am getting a messages saying: "Hulu requires Flash Player 10.0.32 or higher. Please download and install the latest version of Flash Player before continuing."
I have the latest Flash 10.2 available for Android....user agent is set to desktop on browser....strange...
10.2.59.1 is what I get at www.playerversion.com. Is it possible you have the wrong one in the data directory?
is that the libflashplayer-patched.so file? I'm using the one from the download link in your original post..
if that's not it let me know....thanks for your help..sorry you're having to walk me through this....
WHEN I GO TO PLAYERVERSION.COM ON MY TABLET IT SAYS I DON'T HAVE FLASH PLAYER INSTALLED. Could the replacement libflashplayer.so file be incorrect?
Its working for me. You do have Flash 10.2 installed from market first right? I'm sure you do or it wouldn't be getting overwritten.
Here's what I'd suggest.
Remove and reinstall 10.2 plain. Turn off the boot script. Reboot.
Open some flash site like the player test site with your browser of choice (I use Opera Mobile). Observe that it tells you that you are on 10.2. something.
Now turn the boot script back on. If you force close the browser, just run the script. If you prefer, just reboot. Now go back to the same site and observe that you have Flash running and it is now the patched version #. If not, Hulu isn't going to work.
Once that's working, try Hulu again.
No worries. Would be good to know that it works somewhere else ;-)
Works great!
Thanks. Works great on the stock browser. Still get the "your operating system not supported usung Opera Mobile" tho. Just downloaded latest version of opera and it no longer let's you choose type of system, so I imagine that is the problem.
Is that Opera Mobile or Opera Mini?
Okay...Hulu now up and running...
When I looked at the script and realized what it was actually doing I realized that I shouldn't have been actually naming the patched file as "-patched" as that was why after the script ran Flash no longer showed up...
I renamed to match the libflashplayer.so file it was replacing...also moved file and script reference to "sdcard" rather than "sdcard2" to see if that made a difference...now working fine on Hulu....
Thanks for the fix and walking a noob thru using scripts!
wd5gnr said:
Is that Opera Mobile or Opera Mini?
Click to expand...
Click to collapse
I think it's Opera Mini that only gives you the option of turning on or off "mobile" version of browser...tried it out earlier....

[Q] HELP ASAP!!!!!!!!About to Wipe Laptop...Help Setting Up for Development!

So far this is what I plan to do:
- Backup all Win7 Files to Linux Mint Parition
- Reboot and Re-Install Win7 on its partition
- Boot into Win7 and setup an user account
- Reboot into Linux Mint
- Move backed up files to Win7
- Reboot into Win7
- Go into Computer Management and Wipe Linux Mint Partition
- Resize the partitions
- Reboot into Ubuntu 10.04 DVD
- Install Ubuntu on free space
- Boot into Ubuntu for first time
- Set grub2 for windows 7 default OS
- Boot into Win7 and begin setup for android development:
Windows 7:
- Install android sdk by placing the extracted folder on the root of my C: drive
- then i'm going to launch the sdk.exe and install all the available packages (may take 30 minutes or so on my 6mb wifi connection)
- then after that i'm going to install java jdk 1.6
- then i'm going to create a new user variable in the enviroment variables that will have the path to C:\androidsdk\platform-tools;C:\Program Files\java\jdk1.6xx\bin and name it android
- then after that i'm going to install eclipse and set it up by changing the path to the location of androidsdk on my c drive
- i'm also going to download ppcgeeks apk signer.exe and install that for easy signatures
- then i'm going to download some other tools (HxD, notepad++, apk manager v4.8, etc.)
- once i upzip them to a directory probably C:\users\kifno\heroc\tools or install the .exe file i'm going to launch apk manager
- after that i'm going to try and decompile/compile apk files (which i should be able to after a fresh wipe)
so the whole point of this is to be able to decompile/compile apk files without errors
Ubuntu:
- download java jdk and install it through terminal
- then i'm going to download apk tool
- after wards i'm going to try and decompile apk files and recompile them
So my main question is, is anything i'm doing in the set up process going to prevent me from being able to use apktool via apktool itself or apk manager, for decompiling/compiling apk files? I want to make sure I'm not doing something wrong before I get back into setting my system up for developing and scripting and theming again (for themes all it takes is smali, photoshop, and androidsdk for me ...okay maybe a few other programs too along with my imagination )
Hopefully my setup for being able to use apktool isn't screwing anything up
Also I'll be using windows 7 64x ultimate and 32 bit java/eclipse ide for java developers/and all other things related to android development so that i won't run into any problmes hopefully
i just wanted to get your opinion on if my setup process (even though i barely wrote it all as to what i do) was correct
also if you have any suggestions on other android development tools i should use please do tell. you never know that may just help me do something great because of that small suggestion (for example i switched from notepadd to notepad++ because of someone and i haven't stopped using it since...this was back in my noob days XD)
I'm confused
If you're using Win7 for development (eclipse, theming, etc.) what are you using a linux partition for? What I mean by that is, why are you using it for apk tools, when you already have it on Win7. If you're only using linux for de/compiling apks, kinda seems like an inconvenience. But maybe I'm misunderstanding what you posted.
As for what you plan on doing, looks like it should be fine. You have the right idea about installing Win7 first and then ubuntu since the opposite would write over the MBR. And I'm assuming you know how to edit GRUB2 since you wrote you are going to change it, so that shouldn't be a problem either.
Edit2: Dont forget to do this after you change grub2 (assuming you have the sudo package installed and have run visudo to add users to the list - if you are logged in as root, you dont need to type sudo)
Code:
sudo update-grub
Most tool recommendations I can think of you already put down (HxD, np++, smali, apk manager 4.9)
Only others you might want are: AVABoxV2 and 7zip. along with using Monkey when you test applications (if you're developing)
Personally... I would dev on linux, but to each his own haha.
Edit: just noticed this. I was wondering which partitions specifically are you changing?
Sent from my Android using Tapatalk
kyouko said:
I'm confused
If you're using Win7 for development (eclipse, theming, etc.) what are you using a linux partition for? What I mean by that is, why are you using it for apk tools, when you already have it on Win7. If you're only using linux for de/compiling apks, kinda seems like an inconvenience. But maybe I'm misunderstanding what you posted.
As for what you plan on doing, looks like it should be fine. You have the right idea about installing Win7 first and then ubuntu since the opposite would write over the MBR. And I'm assuming you know how to edit GRUB2 since you wrote you are going to change it, so that shouldn't be a problem either.
Edit2: Dont forget to do this after you change grub2 (assuming you have the sudo package installed and have run visudo to add users to the list - if you are logged in as root, you dont need to type sudo)
Code:
sudo update-grub
Most tool recommendations I can think of you already put down (HxD, np++, smali, apk manager 4.9)
Only others you might want are: AVABoxV2 and 7zip. along with using Monkey when you test applications (if you're developing)
Personally... I would dev on linux, but to each his own haha.
Edit: just noticed this. I was wondering which partitions specifically are you changing?
Sent from my Android using Tapatalk
Click to expand...
Click to collapse
I have those I just didn't list them but thanks for the re assurance And yeah I do dev on linux just I use windows 7 for themeing and linux for developing apps (which i'm learning how to do ) and for developing my roms. I'm on linux right now (YAY FOR UBUNTU )
Ahh gotcha
I agree theming on windows is the way to go.
If only I could get cs4 photoshop to work on Arch, or any linux for that matter
last time I tried it didn't work out too well haha
Sent from my Android using Tapatalk
same which is the only reason i theme on windows
wow..so deep man...

Anolog clock resets o reboot

Hi all,
Was not really sure where to put this apologies if its the wrong place.
I recently created my own analog clock, I'm using CM7 RC0, I simply replaced the clock background .png in the original desktopclock.apk, renamed it, signed it and then installed it through filemanager.
Now, it works fine! I was very happy, until I rebooted my phone today, got back onto the desktop and it had reset to the original anolog clock! Tried it again and sure enough everytime I reboot I have to reinstall the .apk!
Anybody have any idea why on earth this would happen?
Many thanks,
Sean
This was originally brought to my attention with the HTC_IME mod by Jonasl. I installed a themed version over the top of the one already installed by default in /system/app and on reboot the original (quite frankly ugly) keyboard was back...
for some reason I do not know, you have to manually un-install the previous version. Don't know why...
use this http://forum.xda-developers.com/showthread.php?t=644909
to un-install the original apk for the clock, then push your app into /system/app using adb. reboot and it should all be sorted... I hope.
Great stuff, thank you for your help. Now I wonder how to do this using linux, I will look into it, at least I know what the problem is
wiiija said:
Great stuff, thank you for your help. Now I wonder how to do this using linux, I will look into it, at least I know what the problem is
Click to expand...
Click to collapse
I'm on linux right now, and I did this to remove my stock messaging app not 3 hours ago...
Just open up your terminal and use adb, assuming you have the androidsdk on your computer...
If you don't it's going to be a little harder, you're going to have to find a root exploring file manager and delete the analog clock app from /system/app and then you're going to have to put the new one there AFTER rebooting.
If you want adb just ask and I'll tell you how to get it.
1. download the android sdk from http://dl.google.com/android/android-sdk_r12-linux_x86.tgz
2. open up the .tgz and extract it to /home/-your_user_name/androidsdk
3. open up terminal and type
su
PATH=$PATH:/home/-your_user_name/androidsdk/tools
adb
adb devices <-------(make sure your device is connected and in debug mode. If that fails just boot into recovery)
qiuness said:
adb shell
su
cd /system/app
mount -o rw,remount /system
rm -r analogclock.apk
Click to expand...
Click to collapse
4. install your new, themed app
abd push /path/to/your/app.apk /system/app
5. reboot.
Brilliant guys thank you very much, its all sorted, easy once you know how

[Fix] Backlights on SenseMOD FlashONE v1.4

Here is how to fix the backlight on SenseMOD ROM from Floatshow.
I am posting the fix here as I do not have permission to post in the Developer section.
Step 1: Download the attachment, unzip the files and place it in /system/etc.
Step 2: SSH/ Use terminal on your phone and run the file /system/etc/bklights_init.sh
This should turn on the key backlights
You might notice a slight delay in turning on / off the key lights. Try to change the sleep value to 1 or 2 in bklights.sh file, kill the application and re-run the script.
I do not take any credits for this solution. Just took the Incredible 2 solution which was present in the same ROM itself and applied it to Incredible S.
I request Floatshow to kindly add these files for vivo as well and make sure the bklights_init.sh file is run during startup.
Hello, i have download a terminal, extract the files.
But in the terminal i don't know what to put in there. Can you tell me what to do please?
Sent from my HTC Incredible S using XDA
Put both the files in /system/etc.
Extract to SDCard first and then using a ROOT Explorer copy the files there.
Then run /system/etc/bklights_init.sh from the terminal.
If you want you can even change the paths in the files and run it again.
Requires a little shell script knowledge !
Ok, i just don't know how to run the file.
Sent from my HTC Incredible S using XDA
just managed to work it out...
Here you go:
Install a terminal emulator from the play store.
Next, copy the files where suggested in the first post (system\etc)
Now, go change the properties on both the files to include execute (in esfile explorer this is done via long press, properties, change then tick execute for all users).
Now launch your terminal app.
in here type:
cd system
cd etc
su
sh bklights_init.sh
That's it! My lights came straight on. Haven't rebooted yet to see if they're persistent... If it turns out they're not I'll go have a look at a way of making the script execute on boot but I'm kinda new at all this...
---------- Post added at 11:59 AM ---------- Previous post was at 11:53 AM ----------
Found a small glitch. The lights don't turn straight off with the screen... They do go off a few mins later though. They appear to obey the screen timeout to turn off rather than shutting off with the screen if you hit the lock button. Not a show stopper. Maybe I'll have a look at the file later and see if I can work out a way around but I'm making no promises cos I'm quite new at this...
It won't persist after a reboot. You will need to run it again (or add it to autorun).
To reduce the delay of the light on/off, try changing the sleep value in the shell script. (I have kept a value of 2 and it works pretty ok).
Most ROMs have a feature where it runs all the scripts from a particular directory during startup. We should find out which one this ROM uses and put the bklights_init.sh file in that directory.
Cool, thanks for the info - I'll have a look.
I think me and zoeriva are on different roms... In fact I know we are cos I just ported the rom I'm using from another device myself! Once I have it ironed out (and have enough posts to post in the dev forum) I'll sling my rom up there... In the mean time do you think there is a clever way to identify the autorun folder you mentioned? Maybe a script that almost all roms have execute on startup?
By the way, thanks for the initial post too - it was a great starting point and the files are diamond!
I just started to work on making this an APK.
Just install the APK and you should have the backlight fixed ! And that too, without the lag
--- EDIT---
Check this http://forum.xda-developers.com/showpost.php?p=26463917&postcount=145
Fantastic! I'll go grab it and give it a try. If I can include that in a couple of ports I just done they'll be pretty much perfect and ready to roll...
I can't post in the dev forum so I hope you see my reply here... I can't install the apk. It says parsing error - there is a problem parsing the package. There is only an OK button and it doesn't install. Any ideas?
Are you installing it on gingerbread ? I built it for ics only . I shall give you a gingerbread build soon.
Sent from my HTC Incredible S using XDA

Categories

Resources