[FIX]Obsidian FIX Thread 11/11/2010 - Vibrant Android Development

11/11/2010 - Ive been busy with school so I apologize for slacking in the updates with stuff found in the thread. I also believe some new bugs have appeared in V2 of Obsidian. Don't quote me on this but I do believe a V3 is in the works but it could be a while to MAKE SURE ALL THE BUGS ARE OUT. So don't ask when it will be released. I also heard there is Z4Mod and Voodoo kernels being released with V3 as well. Till this, check here for fixes.
Fixed in V2, for those having issues with sync on the calendar
http://forum.xda-developers.com/showpost.php?p=9073317&postcount=239
Fixed in V2, for those experiencing FC on acore, reboot
for those experiencing FC on com.sec.android.screencapture (what ever the apk name is) uninstall it from titanium.
Fixed in V2, Live wallpapers are fixed.
FCC, FFC DOES WORK! (still banding on the rear camera) here is the Epic Camera. FFC is at 90 degrees for some reason?!?
LagFix, Some are reporting to get it to work, others are not. I was able to get it to work in V1 with OCLF, but I can't seem to get it to work in V2. (even with a modified kernel I'm probably building it wrong) but you can check this link.
Read-Only Bookmarks, the bookmarks are locked in the browser. fix here thanks to PaiPiePia
http://forum.xda-developers.com/showpost.php?p=9081134&postcount=19
Read-Only System manual copy.
For those having problems with a read-only system try these commands to manually copy the file. (THX srqt I believe)
adb shell
su
busybox mount -o rw,remount /dev/block/stl9 /system
busybox cp /sdcard/external_sd/app.apk /system/app/
reboot
for lock-ups on mounting SD You have to turn off the usb debugging, then use the Media Player option under usb settings. If not, the internal sd card shows up as a cd drive and you can not copy files to the internal sd ~BiiGreeN
I will be adding more fixes as the appear in #teamwhiskey or this thread when I can.
Keep in mind, this is based 99.9% off the Vibrant Froyo Rom. Its the 2.2 STOCK Kernel (no OC/UV yet), that means NONE of the 2.1 Kernels will work with it. there are also no custom lock screens yet either.... that work.
Im also known as FlyingPoo on the Team Whiskey forums and chat room.

What about Bootanimation sounds?

Or maybe add a lockscreen choice like 2.2 aosp lockscreen

TheExpertNoob said:
First, for those having issues with sync on the calendar
http://forum.xda-developers.com/showpost.php?p=9073317&postcount=239
Second, for those who want a LagFix, you will need to push the playlogos and playlogos1 manually.
http://forum.xda-developers.com/showpost.php?p=9075146&postcount=345
I will be adding more fixes as the appear in #teamwhiskey.
Click to expand...
Click to collapse
...why do you have to push playlogos manually? OCLF will do it for you. It gives you the option. Just install ext 2 tools, hit the playlogos option, then enable lagfix 2.2+
OCLF is available in the market...

mikeyinid said:
...why do you have to push playlogos manually? OCLF will do it for you. It gives you the option. Just install ext 2 tools, hit the playlogos option, then enable lagfix 2.2+
OCLF is available in the market...
Click to expand...
Click to collapse
OCLF woulnt let me install the playlogos for some reason, i had to add them manually.

TheExpertNoob said:
OCLF woulnt let me install the playlogos for some reason, i had to add them manually.
Click to expand...
Click to collapse
Hmmm. I had no problems, but couldnt disable it. Had to odin

Also, for those who have screencapture FC problems, you can use root explorer or adb to delete ScreenCapture apk from /system/app.

TheExpertNoob said:
OCLF woulnt let me install the playlogos for some reason, i had to add them manually.
Click to expand...
Click to collapse
Which version are you usng? I read that only a certain version works. I have that version, Im ironing so I cant look right now

The problem with this is that we disabled the playlogos files via the kernel and we're using a custom init script called 'sombionixInit' in /bin where the playlogos would originally be.

sombionix said:
The problem with this is that we disabled the playlogos files via the kernel and we're using a custom init script called 'sombionixInit' in /bin where the playlogos would originally be.
Click to expand...
Click to collapse
bad som >.> what should we do about it? cause i did get OCLF to work with the OP above method.

I tried that for calendar but now my calendar force closes. I moved that apk into system /app
Sent from my SGH-T959 using XDA App

sombionix said:
The problem with this is that we disabled the playlogos files via the kernel and we're using a custom init script called 'sombionixInit' in /bin where the playlogos would originally be.
Click to expand...
Click to collapse
I flashed one of eugenes kernels and oclf did work. but i wasnt able to disable it.

i restored boot animation and got the lag fix option green but it fails to install.

knicks235 said:
i restored boot animation and got the lag fix option green but it fails to install.
Click to expand...
Click to collapse
try NOT restoring boot animation. transfer over the playlogos again.... because "restoring boot animation" replaces playlogos1

TheExpertNoob said:
try NOT restoring boot animation. transfer over the playlogos again.... because "restoring boot animation" replaces playlogos1
Click to expand...
Click to collapse
adb is not on this comp, can i push through astro or a root explorer?

knicks235 said:
adb is not on this comp, can i push through astro or a root explorer?
Click to expand...
Click to collapse
yes, its actually how i ended up doing it

Nice thread, good work...any idea how to fix the issue that you can not delete the bookmarks from web browser?

VICosPhi said:
Nice thread, good work...any idea how to fix the issue that you can not delete the bookmarks from web browser?
Click to expand...
Click to collapse
yea i noticed that too about the bookmarks cause it wouldn't let me edit the facebook for "m.facebook.com" cause i like it better than the touch.... ill look into it more later. it could be "hard coded" in to the browser now? part of the FS may still be locked also seeing as how those are the "default" bookmarks you get after a wipe.

Edit: VICosPhi has pin-point the reason why the bookmark can't be deleted, use his modified and down-loadable Browser.db. Credit goes to him for figuring out the exact problem!
VICosPhi said:
Hey, from the solution you provided, I was able to pinpoint the cause of "undeletable" bookmark and changed the target folder.
For other folks,
Download the attached browser.zip file and extract the "browser.db" from it and then overwrite the browser.db located in your phone's /dbdata/databases/com.android.browser/ with the extracted file from the downloaded zip package.
Now you should be able to delete the bookmarks. You will need root explorer to do this.
NOTE: Credit goes to PaiPiePia for addressing this bug.
Click to expand...
Click to collapse
http://forum.xda-developers.com/attachment.php?attachmentid=436351&d=1289193826
-----------------------------------------------------------------------------------------------
Here's a fix written by me, posted in the original thread too.
1) Use this open source Sqlite Editor (doesn't have to be this one, it is just a free one that I found that worked for me). It is great because it is portable version thus no installation required.
http://sourceforge.net/projects/sqlitebrowser/
2)Using Root Explorer or any other Root Capable File Manager.
3)Browse to /dbdata/data/com.android.browser
4)Scroll down until you see "browser.db"
5)Copy that file on to your desktop (Via sdcard then mount the sdcard)
6)Open the Sqlite Editor you downloaded above, and Open the Browser.db you had copied to your windows desktop
7) Select Tab "Browse Data" at the top right corner (unless you understand what you are doing, please don't edit anything else.)
8) Under Table (drop-down menu), Select Bookmarks
9) The is how the file is structured:
-At the top portion are those bookmarks that can't be deleted
-At the bottom contains your personal browser history & additional bookmarks you added manually.
if you don't care about your history and your manually added bookmarks, you can delete every entries you see there by selecting one entry and click "Delete Record at the top right", repeat until the entire table is done/blank.
10) Save the change to Browser.db
11) Copy the modified Browser.db to the original "/dbdata/data/com.android.browser"
12) Use build in Task Manager to "End" the browser
13) Restart Browser and you will have a blank Bookmark Tab!
-Note, user added bookmark can be removed without doing this method (I haven't figure out why that is yet).

sombionix said:
The problem with this is that we disabled the playlogos files via the kernel and we're using a custom init script called 'sombionixInit' in /bin where the playlogos would originally be.
Click to expand...
Click to collapse
Can you post a version of the ROM that acts normally and...doesn't do that... please

Related

[Q] How to install Allshare .apk and .odex

After much google searching, and searching here on XDA, I'm at a loss. I have the Allshare.apk and .odex, however I have had no luck installing them. I've tried various suggesions, including pushing them from adb shell, and nothing seems to work.
I would love to continue using custom roms, but not having Allshare is a big reason for me to just use rooted stock. The rom I'm trying to install it on is Cognition Beta (Froyo).
Titanium Backup also doesn't work for this. It tells me that it backed up Allshare, but when I try to install it, the restore button doesn't even show up.
Also, a quick question for Rom Manager. With the rom backup feature, can you only restore a backup for the rom you are using? (i.e if you want to restore a backup for another rom, you have to flash the rom first, then restore?)
Although posted in the wrong forum... I'd also like an answer to this. Running CDE and would really like to have AllShare to stream movies off my media server.
Sent from my SAMSUNG-SGH-I897 using XDA App
sdotbrucato said:
Although posted in the wrong forum... I'd also like an answer to this. Running CDE and would really like to have AllShare to stream movies off my media server.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Not sure why this would be the wrong forum. I'm using a Captivate, and trying to install Allshare on a Captivate rom.
use root explorer and add them to System/app and paste both files there.
reboot your device, and voila
mendez91 said:
use root explorer and add them to System/app and paste both files there.
reboot your device, and voila
Click to expand...
Click to collapse
Seriously? It's that freakin simple?
yup
try it,
and let me know the results lol
mendez91 said:
yup
try it,
and let me know the results lol
Click to expand...
Click to collapse
Still at square one. Altho the .apk and .odex are now in system/apps, it didn't affect anything. Also, looked up root explorer, and how to use it, then downloaded it. It won't remount my main file system as read only...so it's permanently in r/w now.
Also tried flashing to killer23d's rom, to use titanium backup on the allshare he has in his rom, still wouldn't work.
So....clueless at this point.
jrphoenix77 said:
Still at square one. Altho the .apk and .odex are now in system/apps, it didn't affect anything. Also, looked up root explorer, and how to use it, then downloaded it. It won't remount my main file system as read only...so it's permanently in r/w now.
Also tried flashing to killer23d's rom, to use titanium backup on the allshare he has in his rom, still wouldn't work.
So....clueless at this point.
Click to expand...
Click to collapse
At one point, I had this same problem, and the only solution there is, is to reflash the rom. It's a PITA, I know. And don't worry about what your filesystem is mounted as in Root Explorer. After every reboot it reverts to read only again.
miztaken1312 said:
At one point, I had this same problem, and the only solution there is, is to reflash the rom. It's a PITA, I know. And don't worry about what your filesystem is mounted as in Root Explorer. After every reboot it reverts to read only again.
Click to expand...
Click to collapse
Unfortunately that doesn't seem to be my case. Even after reflashing Cognition, my file system is still R/W. Didn't even have to hit the white button on root explorer to paste files into system/app.
Also, adding dlna.apk and dlna.odex into system/app still isn't giving me Allshare.
Edit: Well, I've found a better solution. I'm gonna go with Killer23d's rom...looks alot more like stock Froyo, is based on the I9000, has Allshare, AND Mobile AP. Both features that I wanted.
Thanks for trying guys. If anyone does come up with a solution tho, please feel free to use this thread, as searching for allshare.apk on google results in this thread being either the 2nd or 3rd search result (can't remember).
Works for me.
I just put AllShare back in, using the attached file, and it's working fine.
I'm running Cognition 2.2 Beta 9.1.3 and put the file into "system\app" using Root Explorer.
I also changed the permissions of the file and selected just the following:
USER = READ + WRITE
GROUP = READ
OTHERS = READ
Remove any other checked permissions.
In case you don't know how to get into the permissions, just long-press the file, from within Root Explorer, and choose "Permissions" from the list that pops up.
Don't forget to reboot right after.
Your issue is most likely because you are trying to reintegrate an odex'ed AllShare while you are using a de-odex'ed ROM. Ozone777's file looks to be about the correct size for a de-odex'ed AllShare. Just move it into the /system/app folder with root explorer as mentioned above and you should be good to go.
I used terminal to drop the APK attached in the previous post into /system/app and it works beautifully. CogYo 2.2.9
Sent from my SAMSUNG-SGH-I897 using XDA App
Thank you ozone777
The one app that I really wanted back from the stock load!! thank you!!! Worked perfectly on Cognition v2.2 BETA9.1.3
allshare installed
This forum is awesome, I was able to put back allshare and it is working like a champ.
Thanks guys.
Moved to Q&A.
ozone777 said:
I just put AllShare back in, using the attached file, and it's working fine.
I'm running Cognition 2.2 Beta 9.1.3 and put the file into "system\app" using Root Explorer.
I also changed the permissions of the file and selected just the following:
USER = READ + WRITE
GROUP = READ
OTHERS = READ
Remove any other checked permissions.
In case you don't know how to get into the permissions, just long-press the file, from within Root Explorer, and choose "Permissions" from the list that pops up.
Don't forget to reboot right after.
Click to expand...
Click to collapse
Didn't work on Assonance (Froyo).
Errors with: "Application not installed".
Any tips?
i would try to reinstall this file.
ozone777 said:
I just put AllShare back in, using the attached file, and it's working fine.
I'm running Cognition 2.2 Beta 9.1.3 and put the file into "system\app" using Root Explorer.
I also changed the permissions of the file and selected just the following:
USER = READ + WRITE
GROUP = READ
OTHERS = READ
Remove any other checked permissions.
In case you don't know how to get into the permissions, just long-press the file, from within Root Explorer, and choose "Permissions" from the list that pops up.
Don't forget to reboot right after.
Click to expand...
Click to collapse
I am getting this error message. What gives? (BTW, that's on my Bell Galaxy S I9000M with seeAMRS JL2 ROM)
The application AllShare (process com.sec.android.app.dlna) has stopped unexpectedly. Please try again.
Ahhhh you guys rock worked perfect for me as well!!!
Will not work on Cappy running CyanogenMod 7 Nightly. I dont know if this matters.
Baseband T959TLJL3
Kernel 2.6.35.7-gba356bo [email protected]#1
Build GRJ22

[Q] ClockPackage on di11igaf's

Issue 1: I'm trying to install ClockPackage.apk, Gallery3D.apk, MyFiles.apk in order to have the stock clock. I keep getting the error "Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]" when i try to use the command adb install (any of the 3).apk. I have also tried "adb push" which doesn't seem like a valid command. I tried moving the 3 apk files to my sd card on the phone and using "installer" and "eoeAppinstaller" from the market and these fail as well. Any more suggestions? I really like this di11igaf's ROM, but I cannot stand the new alarm ( i like the gradual volume increase of the stock). I have tried a couple of market clocks, but they just didn't work for me. Thank you very much in advance.
Issue 2: If I use CWM and choose Reboot into Recovery i get the following:
Android system recovery <3e>
Samsung Recovery Utils
- for BML -
Enter OK Key, Select : Vol UP / Vol Down
reboot system now
apply sdcard:update.zip
wipe data/factory reset
wipe cache partition
format internal sd card
update media, please wait
update media finished
-- Install from package...
Finding update package...
Opening update package...
Verifying update package...
E:failed to verify whole-file signature
E:signature verification failed
-- Applying Multi-CSC...
Installing Multi-CSC
(in red)
Installation aborted
At this point I can use the volume buttons to scroll up and down, but the power button will not select anything. The only thing I can do is remove the battery and boot the phone back up, which then takes me into CWM recovery v2.5.1.0. I was able to install the di11i add on, but I don't think that I'm supposed to be pulling the battery to get to this point.
Thanks again and sorry about the long post.
Im no expert on this type of stuff but I use di11i roms and I just transfer apk's to the root of the phone through the regular mass storage mode and use root explorer for the rest.Havent had any problems yet.
As for issue 2 is the package a .zip file? If not that may or may not be the problem.
From my own personal experience the 3dapp isn't sign so I can't install it too
System apps are best copied manually into the /system/app folder using app like root explorer. Make sure the folder is in r/w mode.
diablo009 said:
System apps are best copied manually into the /system/app folder using app like root explorer. Make sure the folder is in r/w mode.
Click to expand...
Click to collapse
+1 you can simply use root explorer to copy the apk files into \system\app folder. quick and easy.
booty hater said:
As for issue 2 is the package a .zip file? If not that may or may not be the problem.
Click to expand...
Click to collapse
It is a zip file and it installed. What concerned me was the process. Should it have frozen up like that and forced a battery pull? Nothing I've read leads me to believe that was proper behavior of the CWM.
diablo009 said:
System apps are best copied manually into the /system/app folder using app like root explorer. Make sure the folder is in r/w mode.
Click to expand...
Click to collapse
I don't have that directory. Are you creating it on the phone and then putting the files into it? I may have not been clear on what I am trying to do. I am trying to do what was posted in this forum http://forum.xda-developers.com/showthread.php?p=11207089&highlight=clockpackage#post11207089 posts #2515
I just looked into exactly what you were talking about and I got it figured out.It wasnt installing for me either but this is what I did and it works now.
Through mass storage mode I copied the 3 files to the root of the card.
Then I moved the files to the app folder which is inside the system folder.
I use root explorer for the moving.
When you move them into the app folder its gonna ask to overwrite say yes.
After you get everything moved it will work if you go to the app in the drawer.I never actually installed anything but did an overwrite.
booty hater said:
I never actually installed anything but did an overwrite.
Click to expand...
Click to collapse
Right. Apps in the system/app folder are auto-picked up
supervg3 said:
I don't have that directory. Are you creating it on the phone and then putting the files into it? I may have not been clear on what I am trying to do. I am trying to do what was posted in this forum http://forum.xda-developers.com/showthread.php?p=11207089&highlight=clockpackage#post11207089 posts #2515
Click to expand...
Click to collapse
u cannot see it in my files. u need to have root access, and something like root explorer.
So it looks like I could have just copied and pasted the files from the sdcard/Clock folder I placed them in to the /system/app folder using Super Manager. I swear I tried that and it failed before I went through all the crappy steps below. Oh well.
Ok this is going to sound pretty cheap, but I didn't want to pay the ~$4.02 for an ap that I was going to use three times. I did find another way. I used Super Manager and http://forum.xda-developers.com/showthread.php?t=877316&highlight=installing+apk post #3.
So for any other cheapskates out there.
1. Install Super Manager on phone
2. Install ADB on pc
3. Connect phone to pc and copy the three files ClockPackage.apk, Gallery3D.apk, and MyFiles.apk to the sd card. (I just drag and dropped in windows explorer)
4. Use Super Manager to move to /system/app/ and rename the existing file Gallery3D.apk (I renamed it to Gallery3D.old)
5. Use adb to copy the 3 files from the directory in which you originally placed them on the phone to /system/app/
in adb type:
adb shell
su
(accept the prompt on your screen)
cd /sdcard/whereveryoustuckfile
cp blahblahblah.apk /system/app/ (the red from Pirateghost).
6. Reboot
The clock and alarm work fine, but I cannot get Daily briefing option in alarm to work. I get a FC. I did install the "apk add on pack for 5.6" post 3 of http://forum.xda-developers.com/showthread.php?t=897416 , but I dont think Daily Briefing was included in that. Any suggestions? And one last thing - what is the di11iBrowserfix.zip from post 3 of the thread above for? Thanks again to all who contributed.
I got the daily briefing working. Everything is almost perfect, but I would like two things still.
1. Is there anyway to change the tune that is played when you have smart alarm selected? I have a different tone selected, but I think once you select smart alarm it defaults to that new age tone.
2. My alarm goes off, I stop it, but then I have to unlock it before I see the daily briefing. Can anyone think of a way to have the phone unlock when I turn off the alarm. I know it is so insignificant, but it used to do that when it was stock and it was pretty cool.
Come one guys and gals - don't make me figure this one out by myself j/k but seriously I have surprised myself already by getting this far and I really don't have skill or knowledge for the last two things. I'm learning though....slowly.
Thread etiquette
Did I do something wrong here? I got some really quick responses to my questions before, but nothing on my latest. I ask this next question with all seriousness - should I have started a new thread since it's kind of a new topic? No worries either way, I just want to post in the the most effective way. Thanks. BTW, my phone is working great. I'm getting ready to install 6.0 GPS is a little screwy - often has me west of my location by about 30 meters by I attribute that to the phones hardware. Other than that I have no complaints (except for the lame smart alarm tune)
diablo009 said:
Right. Apps in the system/app folder are auto-picked up
Click to expand...
Click to collapse
Diablo, I know this totally off topic and I´m sorry, but I´ve just seen your signature and noticed you run di11igaf´s 6.0 on Glitterballs and as I´m not able to post on development yet, here´s my question:
Will I have too much trouble on flashing another kernel over the di11picKle? I was happy with speedmod + jk4... that was the best working config for me so far...
Just keep in mind I´m a noob
ddoubt said:
Diablo, I know this totally off topic and I´m sorry, but I´ve just seen your signature and noticed you run di11igaf´s 6.0 on Glitterballs and as I´m not able to post on development yet, here´s my question:
Will I have too much trouble on flashing another kernel over the di11picKle? I was happy with speedmod + jk4... that was the best working config for me so far...
Just keep in mind I´m a noob
Click to expand...
Click to collapse
you should start a topic instead append to other's topic.
you can flash any kernel/modem using CWM, just make sure it is i9000's.
ddoubt said:
Diablo, I know this totally off topic and I´m sorry, but I´ve just seen your signature and noticed you run di11igaf´s 6.0 on Glitterballs and as I´m not able to post on development yet, here´s my question:
Will I have too much trouble on flashing another kernel over the di11picKle? I was happy with speedmod + jk4... that was the best working config for me so far...
Just keep in mind I´m a noob
Click to expand...
Click to collapse
Nope. Get the CWM flashable zip, and copy to ur sdcard. Then go to CWM recovery console, and install this zip. Reboot.
But, please take a nandroid backup, and try to avoid OC kernels if u r unsure ur phone can handle it. Phones freeze when tried to oc beyond their capability.
diablo009 said:
Nope. Get the CWM flashable zip, and copy to ur sdcard. Then go to CWM recovery console, and install this zip. Reboot.
But, please take a nandroid backup, and try to avoid OC kernels if u r unsure ur phone can handle it. Phones freeze when tried to oc beyond their capability.
Click to expand...
Click to collapse
Thanks for the info and sorry for appending to this topic!

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....

[Script]Loopy Smoothness Tweak[TUT]

requires Root (Superuser/Busybox), and a kernel that supports "init.d" scripts (script files that are stored in /system/etc/init.d/).
The script also has a partner called V6 supercharger they go pretty well together heres a link to the V6 supercharger by zeppelinrox
this script is so easy to use but users might have problems using it so here is a easy install for you all to use i have converted it to run on non samsung phones by renaming the file and removing processes connected to the stock samsung apps
Have Clockwork recovery installed
Download the update.zip from the bottom of the post
Reboot into recovery and install the update.zip
Now for the really easy part
Using Root Explorer navigate to ect/init.d and select mount RW now scroll down to the "97loopy_smoothness_tweak" file and open it in the text editor within root explorer and you will see the 3 main sections to the script they are called
At the start of the script you will see this
Code:
USER_LAUNCHER=""
you need to add the launcher you currently use so that it gets locked in
Resident system apps
Other system apps
Other apps
in the 3 sections you will see lines one code that look the same which are
Code:
if [ $PROCESS_1 -eq "0" ]; then PNAME="com.android.phone"; NICELEVEL=-20; if [ `pidof $PNAME` ]; then renice $NICELEVEL `pidof $PNAME`; PROCESS_1=1; P_CHECK=`expr $P_CHECK + 1`; fi; fi;
All you do to add a app you want to keep in memory for as long as possible is to edit the script and change these values for e.g the stock dialer to go contacts
Code:
PNAME="com.android.phone";
to
Code:
PNAME="com.japps.contactpro";
that will keep Go Contacts EX locked in the background so everytime you wish to use the GC EX dialer you wont have to wait for it redrawing before using it.
To find the process names goto the data/data folder and all the folders you see in there are the process names used by the apps e.g. the com.android.vending folder is the process name for the vending.apk aka market app.
Just to let users no this script will not auto start the apps on reboot and once you first select the app you have added to the script after reboot you will have to wait for the app to redraw the app again into the memory slot once it has done that the app will remain in a cache type(hidden) form until you run the app again then it will return to ram in the foreground.
lpy of XDA said:
What this script hopes to achieve:
- Entering your PIN with minimal/no delay/lag
- Minimising delay with lock screen pattern/unlock (not the time it takes to wakeup, but the touchscreen response lag)
- Having smoother notifications on the status bar, and smoother pulldown menu response
- Minimising Launcher lag while Media Scanner is running (can scroll through screens without heavy pauses)
- Minimising lag when scrolling through the market while icons are still loading
- Installing/Uninstalling apps while continuing other tasks
- Minimising/eliminating intermittent lag spikes in gaming
- No delay in being able to answer phone calls
... you get the idea
Click to expand...
Click to collapse
Thanks goes to the creator lpy @XDA
tweak source:
http://forum.xda-developers.com/showthread.php?t=1137554
Download:
http://www.mediafire.com/?g4fte3m87t3ukui​
Install via CWM as update.zip ???
Have you tested this? I'm doing backup right now, and I might, but I'm looking at the script, and it says it's for Galaxy S. There's also a part on one of the first lines where you have to specify your launcher. Also, I don't think the scripts it our init.d even begin with "S_..", but rather with a two digit number, e.g. "06swapon".
EDIT: I edited the file to point to my launcher "com.fede.launcher", and touched nothing else. Named it "18smooth" or something of the sort, and put it in /system/etc/inid.d. The system failed to boot(never got past the second "LG" screen. Maybe it's the rom I'm using, but this is not working so far. I hope your promised tutorial is of use.
nutterbg said:
Have you tested this? I'm doing backup right now, and I might, but I'm looking at the script, and it says it's for Galaxy S. There's also a part on one of the first lines where you have to specify your launcher. Also, I don't think the scripts it our init.d even begin with "S_..", but rather with a two digit number, e.g. "06swapon".
EDIT: I edited the file to point to my launcher "com.fede.launcher", and touched nothing else. Named it "18smooth" or something of the sort, and put it in /system/etc/inid.d. The system failed to boot(never got past the second "LG" screen. Maybe it's the rom I'm using, but this is not working so far. I hope your promised tutorial is of use.
Click to expand...
Click to collapse
yes i have tested it and it works i will be uploading a modded one for the update.zip but if you install it just rename it to 97smoothnees, it asks for the launcher you currently are using e.g. adw launcher but if you have any worries wait until tomorrow for the tut
I think this is helping with battery management because my battery seems to be going down slower
Sent from my GT540 using XDA Premium App
Let's hope I'm wrong. Looking forward to that tutorial.
Downloaded it, and flash'd it in cwm on my girlfriends gt540. In her opinion, it makes a noticeable difference.
Sent from my Nexus S using XDA Premium App
Oki, so I install this script and I must say that it's working. ;-)
Tut added hopefully you can all understand it
Hmm, I don't know why but I don't have "97loopy_smoothness_tweak" in folder.
pRo_lama said:
Hmm, I don't know why but I don't have "97loopy_smoothness_tweak" in folder.
Click to expand...
Click to collapse
let me have a quick check to see whats going on
eoghan2t7 said:
Have Clockwork recovery installed
Download the update.zip from the bottom of the post
Reboot into recovery and install the update.zip
Click to expand...
Click to collapse
I did this and when i'm trying to do next i can't find the file in etc/init.d folder
pRo_lama said:
I did this and when i'm trying to do next i can't find the file in etc/init.d folder
Click to expand...
Click to collapse
i just tried the update.zip again there and it installed fine for me what clockwork version are you using?
but you can extract the zip file and manually add the file to the init.d folder and give it these perrmissions
xxx
xxx
xxx
I have 4.0.1.4.
When I apply script, reboot phone then on screen with PIN I don't have any delay.
pRo_lama said:
I have 4.0.1.4.
When I apply script, reboot phone then on screen with PIN I don't have any delay.
Click to expand...
Click to collapse
try adding it manually to see what happens.
So I must manualy add the file into system and then continue with tutorial ???
yes you coy the script to the ect/init.d folder then continue with the tut
ok, i'm going to try it ;-)
Can't download please mirror on another hoster.
Sent from my GT540 using XDA Premium App
Should this method not eat battery rather than conserving it? As apps run in background correct me if m wrong....
Sent from my GT540 using XDA App

[Q] running debloat script.. won't run??

Got the new one for 5.7.906 rooted and dled script manager
when I run psouza4's script after answering questions about what I wanted to keep
It froze right away saying myverizon.apk was read only or something
rebooting... reboot not permitted.
so.. I figured I'd just change that one manually.. changed it, ran it again.. and it froze saying file not found...
so i edited to script to remove that one command/file..
ran it again and i got
"working please wait.....
reboot: operation not permitted"
so I was going to go the titanium route but I can't afford pro version.. also reading through psouza4's thread it notes that some apps will circumvent freezing and load anyway unless renamed..
[q1] does anyone else have this problem with script and if so what was the fix?
[q2] if I have to rename everything manually (a huge pain in the arse) what are the names of the *.apk's associated with
home launcher, motorolas text messaging, widgits, swipe keyboard, ect.. in his list so i don't accidentally remove them?
Thanks!
production said:
Got the new one for 5.7.906 rooted and dled script manager
when I run psouza4's script after answering questions about what I wanted to keep
It froze right away saying myverizon.apk was read only or something
rebooting... reboot not permitted.
so.. I figured I'd just change that one manually.. changed it, ran it again.. and it froze saying file not found...
so i edited to script to remove that one command/file..
ran it again and i got
"working please wait.....
reboot: operation not permitted"
so I was going to go the titanium route but I can't afford pro version.. also reading through psouza4's thread it notes that some apps will circumvent freezing and load anyway unless renamed..
[q1] does anyone else have this problem with script and if so what was the fix?
[q2] if I have to rename everything manually (a huge pain in the arse) what are the names of the *.apk's associated with
home launcher, motorolas text messaging, widgits, swipe keyboard, ect.. in his list so i don't accidentally remove them?
Thanks!
Click to expand...
Click to collapse
Ensure usb debugging is on under development in application settings. Verify you are rooted, if not, only motofail will root 906. Else, try using a root browser, or manually make /system and /system/app writable before running the script.
Skreelink said:
Ensure usb debugging is on under development in application settings. Verify you are rooted, if not, only motofail will root 906. Else, try using a root browser, or manually make /system and /system/app writable before running the script.
Click to expand...
Click to collapse
root = verified
/system and /system/app set to R/W
usb debuging = on
used modified script removing all instances of 2>/dev/null and reboot command
now I'm getting *.apk not read/writable
confirm that /system and /system/app it set to read/write and when i hit properties.. only the read box is checked.. so i go to change it again.. and the other boxes (read,write,execute) are already checked... I don't understand.
I have the newest version of busy box installed I know he changed the syntax after v1.182 but I can't seem to find a copy of that version.. maybe thats the problem? ugh..
production said:
Got the new one for 5.7.906 rooted and dled script manager
when I run psouza4's script after answering questions about what I wanted to keep
It froze right away saying myverizon.apk was read only or something
rebooting... reboot not permitted. !
Click to expand...
Click to collapse
When you loaded the script into script manager, did you check the select to allow the script to run with SU permissions? in other words, you start script manager, you load the debloat script, there are a bunch of options available before you hit the "run" button, one of which allows the script to run with root permissions. My guess is that you missed that, based on what you are describing.
Thanks to everyone who contributed.. :good:
got it to work.. It was afterall allowing to run the script as root as doogald suggested.. can't believe i missed that.
THANKS

Categories

Resources