[FIX][CURE] Stagefright work around. Cures Hulu demon voices! Now with working zip!!! - EVO 4G Android Development

THERE IS A NEW FLASH PLAYER ON THE MARKET I WOULD RECOMMEND NOT UPDATING UNLESS YOU REALLY WANNA RISK LOSING HULU
-----------------------------------------------------------------------------------------------------------------------------------------------
These fixes are no the actual hulu app or even a change to the hulu app at all. It is a fix which roles back the version of stagefright which just so happens to be the fix for the demon voices.
This may negativity effect Youtube, Pandora, and xm radio.
I MADE AN UPDATE ZIP THAT
I HAVE CONFIRMED WORKING BY donnyevo4g and several others
I have tested it myself
So try it out I need feedback!!
Make a Backup first just flash and your done. (The zip is called Hulufix.zip)
This zip roles back stagefright and fixes demon voices.
****IF THIS WORKS DISREGARD ALL BELOW****
*****MAKE A NANDROID BACK UP BEFORE ANY OF THIS*****
Here are basic instructions for using adb. Thank you rutter9 for the files and how he did it.
1. Unzip the contents into your android-sdk tools folder
2. adb reboot recovery
3. In recovery go to partitions and select mount\system
4. adb remount
5. Than use these adb commands
Code:
adb push libstagefrighthw.so /system/lib/libstagefrighthw.so
adb push libstagefright_omx.so /system/lib/libstagefright_omx.so
adb push libstagefright_color_conversion.so /system/lib/libstagefright_color_conversion.so
adb push libstagefright_avc_common.so /system/lib/libstagefright_avc_common.so
adb push libstagefright_amrnb_common.so /system/lib/libstagefright_amrnb_common.so
adb push libstagefright.so /system/lib/libstagefright.so
6. In partitions menu unmount/system
7. adb reboot
------------------------------------------------------------------------------------------------
The other way for those who don't like or use clockwork recovery. This time i'm giving thanks to JTNiggle (who has done a lot on this thread thanks )
Okay, i'll give this my best shot here, not my fault if your phone burns down your house. As always, nandroid before, during, after and in between.
First, download the attachments from this post. Unzip Hulu Working Stagefright.zip and place it's contents in your sdk tools folder. Also place Hulu.apk and flash-fixed.apk in the sdk tools folder.
Part 1 (If you don't already have hulu app with flash fix)
On ur phone, open Root Explorer, (or whatever file manager you use but Root Explorer is the best) and navigate to /system/app, make sure you have full permissions set and mounted as r/w. Find all the flash apk's, some ROM's have two, some have one. Their actual names vary, so look thoroughly. Just rename them to something like flash.apk.old, this way you can rename them back if something goes wrong.
Now, still in Root Explorer, navigate to /system/lib, make sure you have full permissions set and mounted as r/w. After that, close the explorer and plug your phone into your pc.
Open up a command promt and navigate to your sdk tools folder where you placed the downloaded files.
Run these commands, one at a time, tapping enter after each one.
Code:
adb push flash-fixed.apk /system/app/
adb push Hulu.apk /system/app/
Now, on your phone, go back into Root Explorer, and navigate to /system/app, find the apk's you just pushed. Tap each one and pick install, follow prompts from there to finish the install. Close the explorer when finished.
If you want, at this point, you can try and open up Hulu on your phone, and see how it's running. The video should start playing fine, but you'll have the demon voices, no biggie, we'll fix that in a minute. If the video wont play at all, and you get a message like, not optimized for your device, or not supported on your platform, then Flash did not install properly. Check everything and re-do the above steps until you get video playback on Hulu. I've had to run through it twice to get it to work sometimes.
Part 2 Once you have hulu and you want to fix demon voices
Now, back to the command promt from your sdk tools folder. Run these commands one at a time, tapping enter after each one.
Code:
adb push libstagefright.so /system/lib/
adb push libstagefright_amrnb_common.so /system/lib/
adb push libstagefright_avc_common.so /system/lib/
adb push libstagefright_color_conversion.so /system/lib/
adb push libstagefright_omx.so /system/lib/
adb push libstagefrighthw.so /system/lib/
Now that all the files are in the proper places, you can reboot, so run
Code:
adb reboot
once your phone boots up, it should be good to go. If not,
This may provide mix results. This is a temporary fix
Good Luck

Confirmed working or not working
****THIS IS WITHOUT ANY MODIFICATIONS TO Stagefrght****
Fresh 3.2 NOT WORKING
AVA'S V7 NOT WORKING
CM 6 Final NOT WORKING
Stock pre 3.28 WORKING (only with stock kernel)
Evio 1.2 NOT WORKING
Evio 1.2beta WORKING
Evio 1.1 WORKING
Burnt droid 1.1 WORKING (with 4.1.9.1 netarchy kernel)
Confirmed working after JTNiggle fix
AVA's V7 (with stock kernel and KiNgxKernel #8 #9)
Burnt Droid 1.1
OMJ 3.1
Fresh 3.2
Confirmed working with My fix .zip
Ava's V7

to help/add to list:
fresh 3.2 and final_flash.apk NOT WORKING properly. (audio studder)

Cm6 final + hulu doesn't work either...it has the demon voice and audio is out of sync
Sent from my Htc Evo 4g

I think its more of a kernel issue than a Rom issue. I know it worked on the stock pre 3.28 ota Rom. No luck with the updated stock kernel.....

Now that I find interesting.
Could I see your build props from before and after flashing a custom kernel
Sent from Evo via mysterious entity

Stalte said:
Now that I find interesting.
Could I see your build props from before and after flashing a custom kernel
Sent from Evo via mysterious entity
Click to expand...
Click to collapse
I don't have the before. Deleted. I know it also worked with the stock Rom running kings #6 BFS318-2.6.32.15. I think you'll find all the new roms people are reporting it not working with are using the updated kernel.

Evio 1.2 not working

Working fine with evio 1.2 with bfs #8. Voices fine. Video smooth at 1228mhz.
Edit: that was 1.2beta before the build was changed. Also had it working no problem on evio 1.1.
Sent from my PC36100 using XDA App

burnt droid 1.1
4.1.9.1 netarchy kernel
runs smooth no problems
Also, I believe the actual hulu app has nothing to do with this. Isn't is just a glorified browser to the hulu mobile widget?

I read on flipz site that he attributes it to the new stagefright .....

GadgetMonger said:
I read on flipz site that he attributes it to the new stagefright included in the new kernel.....
Click to expand...
Click to collapse
That's exactly what it is. The problem was already solved by downgrading it. Not really sure what there is to fix in the hulu "app"

rutter9 said:
That's exactly what it is. The problem was already solved by downgrading it. Not really sure what there is to fix in the hulu "app"
Click to expand...
Click to collapse
Question. Can you rollback stagefright without downgrading the kernel? Or is stagefright a component of the new kernel? Hulu working on the new kernel is what I was hoping for....

GadgetMonger said:
Question. Can you rollback stagefright without downgrading the kernel? Or is stagefright a component of the new kernel?
Click to expand...
Click to collapse
Well you can try this. Here are my library files for stagefright. Mount system/lib as r/w through adb. Pull your stagefright lib files (as a backup) then overwrite with the working ones. Then reboot in adb. Worth a shot.

GadgetMonger said:
Question. Can you rollback stagefright without downgrading the kernel? Or is stagefright a component of the new kernel? Hulu working on the new kernel is what I was hoping for....
Click to expand...
Click to collapse
Thats what im trying to fix or at least disable parts of stagefright to make it work
rutter9 said:
Well you can try this. Here are my library files for stagefright. Mount system/lib as r/w through adb. Pull your stagefright lib files (as a backup) then overwrite with the working ones. Then reboot in adb. Worth a shot.
Click to expand...
Click to collapse
I'm in class right now but could someone try this and let me know if it works?

Stalte said:
Thats what im trying to fix or at least disable parts of stagefright to make it work
I'm in class right now but could someone try this and let me know if it works?
Click to expand...
Click to collapse
Right but it has nothing to do with the hulu app. You just need to patch stagefright.

rutter9 said:
Right but it has nothing to do with the hulu app. You just need to patch stagefright.
Click to expand...
Click to collapse
I agree now if I knew how to change the title of the post I would change it to "working on a way to fix stagefright in new kernels and roms"

Stalte said:
Thats what im trying to fix or at least disable parts of stagefright to make it work
I'm in class right now but could someone try this and let me know if it works?
Click to expand...
Click to collapse
Give me a minute... I'll see what I can do.

Stalte said:
Thats what im trying to fix or at least disable parts of stagefright to make it work
I'm in class right now but could someone try this and let me know if it works?
Click to expand...
Click to collapse
I tried to roll back stagefright last night, wouldn't boot up, frozen then looped. But that was flashing the update patch zip. I'll try it manually later today.
This is on Ava v7 with the new HTC kernel.

rutter9 said:
Well you can try this. Here are my library files for stagefright. Mount system/lib as r/w through adb. Pull your stagefright lib files (as a backup) then overwrite with the working ones. Then reboot in adb. Worth a shot.
Click to expand...
Click to collapse
Nope. Froze up at the white HTC screen on boot.

Related

Android Browser build that AutoRotates

Here's a recompiled version of the Browser that supports auto rotate.
Here's the download location for the Browser.apk:
http://www.koushikdutta.com/2008/12/auto-rotate-for-android-browser.html
Run the following from the command prompt to install the new Browser:
Installation Instructions:
adb remount
adb shell rm /system/app/Browser.odex
adb push Browser.apk /system/app/Browser.apk
Now start up the Browser.
You may not have a Browser.odex depending on your phone model.
The change, as I mentioned before, is really trivial. In the BrowserActivity.onCreate, I did the following:
// the next line is the original code
// setRequestedOrientation(mSettings.getOrientation());
// make it use the sensor for orientation instead.
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR);
To restore the original Browser, flash RC30 again.
Koush, thanks so much! I have been waiting for this!
i can't get it to install and now the browser don't work and i can't install the back up
I'm getting no space available when pushing the browser.apk
JF rc30 v1.2
kron2 said:
i can't get it to install and now the browser don't work and i can't install the back up
Click to expand...
Click to collapse
You can't get it to install? Could you be more specific?
saul972 said:
I'm getting no space available when pushing the browser.apk
JF rc30 v1.2
Click to expand...
Click to collapse
Your /system partition ran out of room. Is there something you can delete from there? I've seen this before as well on some of my company's phones; I usually end up deleting some ringtones or other junk files.
took a couple of tries but installed now...thanks!
fyi i rebooted phone to initially install the new Browser. I first got errors w/o rebooting so that may fix the problem
I had the same problems with the new browser crashing and then being told that the file couldnt be copied due to lack of space,
Easiest fix is to just reinstall rc30 or rc8 and install the patched browser again.
Worked fine after that
Koush said:
Your /system partition ran out of room. Is there something you can delete from there? I've seen this before as well on some of my company's phones; I usually end up deleting some ringtones or other junk files.
Click to expand...
Click to collapse
Not sure.
Here's the message
failed to copy 'Browser.apk' to 'system/app/Browser.apk' : no space left on device
SGTDavePwnage said:
I had the same problems with the new browser crashing and then being told that the file couldnt be copied due to lack of space,
Easiest fix is to just reinstall rc30 or rc8 and install the patched browser again.
Worked fine after that
Click to expand...
Click to collapse
Will I need to start the process again?
saul972 said:
Will I need to start the process again?
Click to expand...
Click to collapse
Its basically telling you that it cant copy the file because of lack of space withing the system partition.
As koush advises, if you know how to clear space that will fix the problem.
If you dont know how to remove things and are a bit unsure of what to do, reinstalling the modified rc30 / rc8 will reset the system partition back to its defaults.
Once your back and set to default you can try to install again if you want
I'm assuming this is for those who have root access only?
If so, it would be nice to state that when posting these mods.
Henchman said:
I'm assuming this is for those who have root access only?
If so, it would be nice to state that when posting these mods.
Click to expand...
Click to collapse
Yes this requires root access,
I can see what you are saying about perhaps specifying in the post when something requires root access, but when you look at the instructions in this case its quite obvious that this one does require root.
PS.... Cheers for the upload Koush
SGTDavePwnage said:
Yes this requires root access,
I can see what you are saying about perhaps specifying in the post when something requires root access, but when you look at the instructions in this case its quite obvious that this one does require root.
PS.... Cheers for the upload Koush
Click to expand...
Click to collapse
Obviouse to em...
But probably not to everyone.
And you know the old saying. When you Assume...
where do i put Browser.apk to install it on the sd card and if so how do i use adb to see it or do i push it from like c:\browser.apk \system\app\browser.apk
SGTDavePwnage said:
Its basically telling you that it cant copy the file because of lack of space withing the system partition.
As koush advises, if you know how to clear space that will fix the problem.
If you dont know how to remove things and are a bit unsure of what to do, reinstalling the modified rc30 / rc8 will reset the system partition back to its defaults.
Once your back and set to default you can try to install again if you want
Click to expand...
Click to collapse
Finally got it!!! Thanks for your help
kron2 said:
where do i put Browser.apk to install it on the sd card and if so how do i use adb to see it or do i push it from like c:\browser.apk \system\app\browser.apk
Click to expand...
Click to collapse
Place it in the tools folder of the SDK folder on your PC
thx joshoowa i installed it finally i did have it in the tool folder but would not install but after several tries it did i was starting to think i was installing it wrong
I've deleted most of my .ogg audio related tones in the /media/audio folder but i still get no space left. what else can i delete?
btw i'm using adb shell rm /xxx/xxx/xxx/xx.ogg to delete. is that right?
Hey Hey!!!...
Had to free up some room, but it works great..
Thanks..

[Updates] JACHero / TwistedZero Co-Op OTA Updater (6/27/09 - 2:33AM EST)

After painstakingly researching into jfupdater, fixing a bad adt and sdk installation, and realizing that both the 1.1 and 1.5 sources could not coexist in one project, it is done. This program will work for JACHero 1.7 / TwistedZeroP and later builds. Due to the pre-work nature of TwistedZero, this will ensure that at least one of the system.zip archives is on the ext partition (it may not provide the most updated programs, but it will at least allow the update to be installed) You have the option to poll all updates, just JACHero, just TwistedZeroP or just TwistedZeroM. So far, only JACHero's updates will download because I am still working on getting mine on a dedicated server. I will try to keep as up to date as possible with download availability. Anyway, without any further stalling:
http://twistedumbrella.googlepages.com/heroupdater.ui.apk
Updating to the latest *working* version
You will need to have transferred the build.prop file to the /system/ folder of the phone for this to work.
They are available through my site's main page for my builds, and for now on my google code for JACHero until I get a new page coded for that.
Currently working on getting my builds program ready. Default update type is TwistedZeroP (can be changed in menu). Program is now a free download on market. Hero Update.
Very nice......
great job man
Freakin Sick Just used it and it was awesome! It still displays downgrades buts thats fine! I love it!
kickfliprock13 said:
Freakin Sick Just used it and it was awesome! It still displays downgrades buts thats fine! I love it!
Click to expand...
Click to collapse
It will display downgrades if you either have a version it cannot detect that is compatible with the updates or haven't gone to the configuration menu and unchecked display downgrades
ace. i thought all the hero roms required a wipe before each upgrade so this comes as great news.
thanks
thefunkygibbon said:
ace. i thought all the hero roms required a wipe before each upgrade so this comes as great news.
thanks
Click to expand...
Click to collapse
You're still gonna get wiped depending on the build.
it told me error while downloading what am I doing wrong...?
Very nice . This will truly make things easier. Nice work Twisted and Jac =).
So..I get a message when using update. The update app says "Your system is running an unsupported OS. (Version unknown) Please manually upgrade to JACHero 1.7 / TwistedZeroP or later and try again"
I understand its still a work in progress..just reporting my experience with the process.
Is "M" not a newer version than "P"?
I would assume, that even if the updater could not find an update for M, that M would still be a supported version and that it would just give me an error of not able to find an update for it or something. Not that M is unsupported.
FYI for all..I downloaded the files via the phone, installed linda file manager, android .Zip app(AndroZip) and AppsInstaller app. I Extracted the build.prop with and androzip, moved the file to /system/ on the phone with Linda, installed the HeroUpdater.ui.apk with Appinstaller. And then I get that message about an unsupported OS.
Great idea, thank you Twisted & JAC!
How do I use it? It shows me TwistedZero 1.7P as an update - can I just download it and then it will be installed?
No wipe or something like that?
an error occured while downloading 1.7P ?!
tep065 said:
Very nice . This will truly make things easier. Nice work Twisted and Jac =).
So..I get a message when using update. The update app says "Your system is running an unsupported OS. (Version unknown) Please manually upgrade to JACHero 1.7 / TwistedZeroP or later and try again"
I understand its still a work in progress..just reporting my experience with the process.
Is "M" not a newer version than "P"?
I would assume, that even if the updater could not find an update for M, that M would still be a supported version and that it would just give me an error of not able to find an update for it or something. Not that M is unsupported.
FYI for all..I downloaded the files via the phone, installed linda file manager, android .Zip app(AndroZip) and AppsInstaller app. I Extracted the build.prop with and androzip, moved the file to /system/ on the phone with Linda, installed the HeroUpdater.ui.apk with Appinstaller. And then I get that message about an unsupported OS.
Click to expand...
Click to collapse
Did you reboot after copying the build.prop? Rebooting did it for me (seems like this file is read when the system comes up).
Do I replace the build.prop file I already have on my /system/ folder or do I not even need to worry about the build.prop?
jawash22 said:
Do I replace the build.prop file I already have on my /system/ folder or do I not even need to worry about the build.prop?
Click to expand...
Click to collapse
Yes, the idea is that you replace it. The only difference between both files is a new reference to the build name (so the apk can tell what version you are on). Nevertheless it's always a good idea to back things up before you overwrite any files (learned the hard way throughout the years . So simply do something like 'cp /system/build.prop /sdcard/build.prop.old' from the terminal or 'adb pull /system/build.prop' from your computer before actually replacing the build.prop file.
Configuration menu
jawash22 said:
Do I replace the build.prop file I already have on my /system/ folder or do I not even need to worry about the build.prop?
Click to expand...
Click to collapse
Ok, I just did an overwrite of my existing build.prop and it shows me the twisted 1.7 update, but I am on JAC 1.8. Hitting Menu does not bring up configuration menu...what's wrong?
Backup
DanOtero said:
Yes, the idea is that you replace it. The only difference between both files is a new reference to the build name (so the apk can tell what version you are on). Nevertheless it's always a good idea to back things up before you overwrite any files (learned the hard way throughout the years . So simply do something like 'cp /system/build.prop /sdcard/build.prop.old' from the terminal or 'adb pull /system/build.prop' from your computer before actually replacing the build.prop file.
Click to expand...
Click to collapse
Thanks alot..I should know by now about backing up system stuff. Anyways, I still can't get the Menu and at the bottom it says "Running Version:unknown". I used the JAC 1.8 build prop also. I'll leave it alone for now and see if anyone else on JAC reports bugs....thanks again Twisted! You are appreciated.
man! cyan needs one!
DanOtero said:
Did you reboot after copying the build.prop? Rebooting did it for me (seems like this file is read when the system comes up).
Click to expand...
Click to collapse
Yah...i didnt reboot after...just rebooted and i had an update available thanx..gonna run the update while watching transformerrss in imax theater
where's the file?
"They are available through my site's main page for my builds, and for now on my google code for JACHero until I get a new page coded for that."
That would spare 20minutes of timewasting
How do you transferred the build.prop file to the /system/ folder of the phone? thanks in advance.

2.2, Modded Flash version and Hulu

UPDATE: It seems that this only works on the 2.2 roms that are de-odexed... It doesn't work on the plain one that first hit. It is confirmed to work in the following roms:
Sky Raider 2.2 You can just use his flash installer app on the SD card
Sky Raider 2.1
Sky Raider 2.0
Sky Raider 1.9b
Desensitize Sky Raider 2.2 by jitajt
Not sure how many of you follow the other areas of the site or not... anyways, the guys over on the nexus one area have been enjoying Hulu on their Froyo roms for a while now. I've only seen a couple HTC Inc folks in the original thread so maybe people just don't know about it...
Big thanks goes out to rcxquake as he's the one that created the modified version of flash.
Original instructions for Nexus one are here
Modified Directions (i'll expand these out after I do it again tomorrow):
1) (this step is not needed on Skyraider 2.2 as the author has already removed the installer file for you, he has also included the correct version of flash on the SD card) remove flash from your install... most likely it is in the /system/app folder, I hadn't run any flash sites yet so I simply renamed the install_flash_player.apk to install_flash_player.apkb Here's a quick set of instructions for you:
1) Connect phone and enable debuging mode.
2) open a command prompt and go into your sdk/tools folder. run "adb reboot recovery"
3) in the cmd prompt type in "adb shell"
4) On the phone once its loaded up recovery in to partitions menu and mount /system
5) in the adb shell type in "cd /system/app"
5) to rename the flash installer type in "mv install_flash_player.apk install_flash_player.apkb"
7) in ADB tell it "exit"
8) on the phone unmount system and data (not sure if this is necessary or not)​Exit out of recovery and verify you don't have flash installed anymore under settings \ applications \ Manage Applications \ All applications.
2) Download the fixed flash version via rcxquake's thread to your pc and move it to your sd card(direct link to file)
3) Install the downloaded APK file via your favorite file browser (astro for example)
4) If you want to look at the full version of the website, you'll need to enable a special mode in the browser, here's the directions care of the original thread:
1. In the search/address bar of the android browser type "about:debug" without the double quotes.
2. Press Menu
3. Tap More>Settings
4. Go to UAString and change it to desktop.​5) If you want to access the site without setting up the debug mode listed above, Adam B was awesome enough to utilize the Hulu widget page to create a premodded app that you can simply click and watch. Here's his original post and here's a direct link to his APK.
SIDE NOTE If you run his Hulu.apk app, your lock screen will not come up after using it... to remedy this you have to kill it with a task killer... I have emailed him to see if this is something that could be remedied.
Anyways, I hope this helps some others get this going...
I tried this, and read through all of the Nexus One thread, and I still get "Hulu requires Flash Player 10.0.22 or higher. Please download and install the latest version of Flash Player before continuing".
Tried it in recovery (adb install), Astro, and AppInstaller. It shows up as installed in Application Management but doesn't load on any website. The only thing that there was to install (that I could find) was "install_flash_player.apk" in /system/app/.
Hulu and 2.2, its Christmas in July!
Having to manually kill the app sucks but it's hulu on my Droid!
Only other issue really is the border in fullscreen mode.
Btw the app works great, if you can't get it to work try a reboot.
Sent from my ADR6300 using Tapatalk
Do you need the app? It sounded like about:debug should cover it, but it doesn't really answer why other pages don't load Flash.
FierceDeityLink1 said:
I tried this, and read through all of the Nexus One thread, and I still get "Hulu requires Flash Player 10.0.22 or higher. Please download and install the latest version of Flash Player before continuing".
Tried it in recovery (adb install), Astro, and AppInstaller. It shows up as installed in Application Management but doesn't load on any website. The only thing that there was to install (that I could find) was "install_flash_player.apk" in /system/app/.
Click to expand...
Click to collapse
Tried everything as well. Seems this version of flash doesn't play well on the HTC Incredible. Any chance someone can tweak this to get it working?
works well on the skyrider 2.0 rom only issue is i ave adfree and the hulu app can play cuz im blocking adds and the browser has no UAstring
FierceDeityLink1 said:
I tried this, and read through all of the Nexus One thread, and I still get "Hulu requires Flash Player 10.0.22 or higher. Please download and install the latest version of Flash Player before continuing".
Tried it in recovery (adb install), Astro, and AppInstaller. It shows up as installed in Application Management but doesn't load on any website. The only thing that there was to install (that I could find) was "install_flash_player.apk" in /system/app/.
Click to expand...
Click to collapse
Yea thats the file you need to rename "mv install_flash_player.apk install_flash_player.apkb" then your all good.
so far i've only tested on the sky raider one... at the end of the day yesterday we tried the same steps on the regular 2.2 rom on an additional inc someone had at the office (the original full leak) and were unsuccessful. I'm going to flash my phone over to regular as I have an issue with sky raider and syncing, I'll see what I can come up with on getting to work on that one as well.
Works!
Works great, I followed the instructions and was watching hulu in minutes.
jitajt said:
Works great, I followed the instructions and was watching hulu in minutes.
Click to expand...
Click to collapse
just so I can keep a running total in my head, what rom are you running, sky raider or the regular 2.2 rom (or one of the others)? thanks
hdialchemy said:
just so I can keep a running total in my head, what rom are you running, sky raider or the regular 2.2 rom (or one of the others)? thanks
Click to expand...
Click to collapse
I am running my own Sense free de-odexed ROM.
jitajt said:
I am running my own Sense free de-odexed ROM.
Click to expand...
Click to collapse
for the life of me, I cannot get this to work with the plain 2.2.... so, what all is changed in sky raider and your rom that's enabling it....
I tried applying adrynalyne's market fix thinking maybe it just needed to think it was on a nexus... no go.
So, what else is changed in the modded roms?
hdialchemy said:
for the life of me, I cannot get this to work with the plain 2.2.... so, what all is changed in sky raider and your rom that's enabling it....
I tried applying adrynalyne's market fix thinking maybe it just needed to think it was on a nexus... no go.
So, what else is changed in the modded roms?
Click to expand...
Click to collapse
they are de-odexed, that may be one reason
Running sky raider 1.9b I was able to get this running following the steps.
Sent from my Incredible using XDA App
No sucess yet
Im running Skyrider 2.0.1 and not having luck. I tried hdialchemy's method and the app too, both to no avail Ill keep watching / trying and let you know.
weird, did like 8 posts (or more) disappear from this thread?
WTF? I just noticed that all kinds of changes I had made to the original post a few days back are all gone now too... what in the world.
I'm running my own mod of skyraider 2.0.1 and it works great.
Sent from my ADR6300 using Tapatalk
Well, I'm able to get it working but the video quality is extremely choppy, even over wifi. Any idea how to fix this?
I'm using the 8/1 leaked OTA by the way.
Asterdroid said:
Well, I'm able to get it working but the video quality is extremely choppy, even over wifi. Any idea how to fix this?
I'm using the 8/1 leaked OTA by the way.
Click to expand...
Click to collapse
Asteroid, how did you get it working on the 8/1 leak? Did you simply remove install_flash_player.apk and install the modded flash player? I attempted to do so, and got the blue plugin icon on flash content.
I actually had a flash player installation backed up in Titanium that I had restored. I uninstalled that, just using regular old Uninstaller, and when I checked /system/app in root explorer, I didn't see any evidence of a flash install.
Then installed the modified version from Astro, made the "about:debug" changes mentioned, and we're up and running.
I'm not sure why, but maybe if you install the standard flash beta, uninstall it, then install the modified version that will work?

[PORT] Droid 2 Multi-Touch Keyboard [Froyo] UPDATE! fixed4!

Got this working on a recent nightly for cm6 (dont see why it wouldnt work on any others too) also, it will most likely work on any deodexed rom (odexed im not sure) -- Let me know what does/doesnt work and ill try and do something or point you in the right direction.
this should also work with other phones (so far just hdpi phones)
EDIT: punk.kaos got it working on all phones! good work! thread here: http://forum.xda-developers.com/showthread.php?t=764021
You must be rooted for this to work!
THEMERS: These are the fixed .xml files that you will need to re-replace while theming: http://www.mediafire.com/?nhy8hd143hk81x0
BEFORE READING ANY MORE, GO DO A NANDROID!
/queue Jeopardy music
...
....
.....
......ok
Confirmed working on:
CM6 Nightlies/Tests (inc)
jdfroyo v1.9 (inc)
Skyraider 2.? (inc)
8/1 froyo leak (inc)
aiccucs 4.2 (inc)
redemption (inc)
CM6 (evo)
THIS HAS KNOWN ISSUES CAUSING THE HARDWARE KEYBOARD TO DO WEIRD STUFF ON THE DROID 1!!!!
something with the alt key not working correctly, i do not have a moto droid, so thats making it very tough to troubleshoot anything. anyone who does and wants to test some things, pm me, probably have some time this weekend to look at it
Bugless Beast 4 (moto droid)
Ultimate Droid Extreme Froyo 6.00 (moto droid?)
CM6 (nexus 1)
modaco r21 (nexus 1)
DeFrost 2.6a (desire)
BUGS:
- &amp on one of the keys, more of an annoyance than anything, will fix eventually fixed!
- crap, another &amp error, when holding the . key...fix coming eventually... fixed!
- < symbol fixed! <-- thanks for the help enragedpaza
- vibrates too lightly fixed! <-- thanks for the help enragedpaza
- others?
Voice input works too!
Back up your stock keyboard first:
Code:
adb shell cp /system/app/LatinIME.apk /system/app/LatinIME.apk.bak
adb shell cp /system/lib/libjni_latinime.so /system/lib/libjni_latinime.so.bak
FLASH (EASY) METHOD:
flash this from your recovery or from rom manager:
http://www.mediafire.com/?9yawjq9weakbl9y
Geo411m has made a black colored one. details here: http://forum.xda-developers.com/showpost.php?p=7684399&postcount=211
install the same as the easy way, otherwise download it and pull the apk out of it and install it with the manual method
ENJOY!
MANUAL (OLD) METHOD:
get both of these files:
apk:
fixed4: http://www.mediafire.com/?7q0406gqazq8rer
(harder vibrate, < symbol fix)
if you had an older version, be sure to switch to a different keyboard, then remove the old LatinIME.apk before pushing the new one over, otherwise you will get fc's like crazy!
lib:
(you may not need this, but it shouldnt hurt anything (backup instructions below) and if the keyboard doesnt work, then definitely try pushing it)
http://www.mediafire.com/?awy84cz5t8ngx49
some have reported that for some reason or another this file downloads as a .txt (although it comes as a .so for me all the time) make sure you rename it, if need be, to libjni_latinime.so before going any further
you will need adb for this method (others have done it without a computer)
youll either want to be in recovery, with /system mounted, or remount it read-only while the phone is up (need s-off for this, thanks unrevoked!)
then push the two downloaded files to your phone: (in some roms it is called GoogleLatinIme.apk, so use that instead of LatinIME.apk if thats how your rom is)
Code:
adb push d2keyboard-signed-fixed4.apk /system/app/LatinIME.apk
adb push libjni_latinime.so /system/lib/libjni_latinime.so
choose your input method like always, and enjoy the multi-touch keyboard on froyo
ok, the screenshots really dont mean much, anyone can use gimp, but w/e thought id put them up there anyway
thanks to LegionTHEFecalExcretion for the system dump!
if you like what i do and feel compelled to donate something to me, do so here
Great thanks
Working on Skyraider 2.
" & " button showing in bold " &amp " Otherwise good.
-Michael_ said:
Working on Skyraider 2.
" & " button showing in bold " &amp " Otherwise good.
Click to expand...
Click to collapse
yea i noticed that, its going to have to wait for a bit before i go in and fix it, otherwise if someone else wants to, by all means
Works on BB v.4 for the Droid and this is sick!! Thanks so much.
Can you just install the app like you normally would?
And what's the second file for?
Thanks.
palomosan said:
Can you just install the app like you normally would?
Click to expand...
Click to collapse
try it, report results
palomosan said:
And what's the second file for?
Click to expand...
Click to collapse
force closed on me without it
it works on jdfroyo rc1 with no problems without the lib file.....now i can actually type w/o all my typos.
jdkoreclipse said:
it works on jdfroyo rc1 with no problems without the lib file.....now i can actually type w/o all my typos.
Click to expand...
Click to collapse
hmm, yea i guess it is working without the lib file...
invisiblek said:
try it, report results
force closed on me without it
Click to expand...
Click to collapse
You were right, install the app but it kept force closing. Thanks. I'm using Skyraider 2.2
I can't tell you how excited I was when I pushed this on my phone, not because of how it is a much better keyboard then the stock one. I was excited because I was able to push this system without having to be in recovery. UnrEVOked is amazing!
BTW.. I am having no issues with this so far. Excellent keyboard, good port!
tcberg2010 said:
I can't tell you how excited I was when I pushed this on my phone, not because of how it is a much better keyboard then the stock one. I was excited because I was able to push this system without having to be in recovery. UnrEVOked is amazing!
BTW.. I am having no issues with this so far. Excellent keyboard, good port!
Click to expand...
Click to collapse
i cant tell you how excited i was when the keyboard finally popped up on my screen!
thanks for the feedback
i'm running sapphire 1.0 and i was able to install with Root explorer.
Works on skyraider 2.2 - no pc required. I did have to copy over the lib file with root explorer. Btw I am typing on this keyboard now and it is amazing at correcting mistakes!
Sent from my ADR6300 using Tapatalk
I can't push the .so file to my phone, the keyboard fc's on me when I try to select it in the input method section, so I thought i would try pushing the lib, but it keeps saying the directory doesn't exist.
this is exactly what i type
adb push libjni_latinime.so /system/lib/libjni_latinime.so
cannot stat: 'libjni_latinime.so' no such file or directory
It downloaded for me as a. Txt extension. I had to change it to .so - check to see if that happened to you
Sent from my ADR6300 using Tapatalk
dude0909 said:
I can't push the .so file to my phone, the keyboard fc's on me when I try to select it in the input method section, so I thought i would try pushing the lib, but it keeps saying the directory doesn't exist.
this is exactly what i type
adb push libjni_latinime.so /system/lib/libjni_latinime.so
cannot stat: 'libjni_latinime.so' no such file or directory
Click to expand...
Click to collapse
its saying the .so doesnt exist
is it located in the directory your command prompt is in? otherwise it wont be able to find it
AMAZING work!! Thank you sir!
djkms said:
It downloaded for me as a. Txt extension. I had to change it to .so - check to see if that happened to you
Sent from my ADR6300 using Tapatalk
Click to expand...
Click to collapse
now thats weird, op updated for this
invisiblek said:
its saying the .so doesnt exist
is it located in the directory your command prompt is in? otherwise it wont be able to find it
Click to expand...
Click to collapse
Oh i thought it was supposed to be in the root of my sd card just like the apk.

DSP manager

Are there any DSP managers that work with our Motoblur 2.2 ROM other than PowerAmp? PowerAmp is fine for playing stored music; I find myself listening to Pandora more often though. Even on the treble booster audio setting everything sounds muffled.
magicCrazyThing said:
Are there any DSP managers that work with our Motoblur 2.2 ROM other than PowerAmp? PowerAmp is fine for playing stored music; I find myself listening to Pandora more often though. Even on the treble booster audio setting everything sounds muffled.
Click to expand...
Click to collapse
Not positive, but you might be able to use AudioEffectSettings.apk from CM7. Its a Moto DSP app. I've never tried, but then again, I've ran a custom rom since the 4th hour of owning a Bravo. Push\paste it into /system/app and set the permissions to either 644 or whatever the other apps have in the gui of your filemanager.
Open a terminal\command prompt in the folder with the file and use this command
Linux Version
Code:
adb remount && adb push ./AudioEffectSettings.apk /system/app && adb shell chmod 0644 /system/app/AudioEffectSettings.apk && adb reboot
Windows Version
Code:
adb remount && adb push .\AudioEffectSettings.apk /system/app && adb shell chmod 0644 /system/app/AudioEffectSettings.apk && adb reboot
Note that the only difference is ./ to .\ between the two.
The only problem I can see is Android changed the DSP framework from 2.2(stock) to 2.3(CM7\MS2\MIUI). It won't cause bootloops or anything bad to happen, but it might not work.
If you're running stock you should switch to the BravoX rom -- its a stock deodexed rom for the Bravo and it runs much faster and smoother.
If you do try this let us know if it works.
I usually just use cm7, but due to some rather bothersome problems I've had lately I decide to just use BravoX for awhile. I just tend to be a bit of an audiofile.( That was the original reason for my switch to to CM7 actually.)
which is easier to use ADB under: Ubuntu or Windows? I run both on a dual boot. Also could you point me to a tutorial of adb? I always avoided it because of how complicated it seemed.
It depends on which system you're more comfortable using the command line on really; or use the most. I'd use the linux version myself, but linux is my only OS
Go here and you'll find all the instructions you'll need for either windows or linux install.
http://developer.android.com/sdk/index.html
Its a bit complicated but really worth it in the end to have adb installed -- once you get the hang of pushing files to your device you'll never mount your sdcard again. Adb is much safer anyways; less chances of file system corruption from multiple OS's mounting and unmounting the sdcard. It happened to me a lot when I dual booted 7 and Mint 12 -- every time windows would unmount it I'd have file corruption issues. Since I quit using windows I haven't had file corruption anymore.
If you need more help than what that site has, just search the forums here (there are tons of adb tutorials) then post here if you can't find what you're looking for.
//I'm an audiofile myself. The DSPManager not working on CM9\10 really grinds my gears -- its still required to be installed for 3rd party DSPManagers to function (PowerAmp, MortPlayer, etc). There's also a paid equalizer app on the market, but I've never used it at all. Not sure if it supports Froyo, but it does support Gingerbread and up.
If I don't post back anytime soon its because my PC is on the ass end of the next PA compile and it gets really slow on the java compile for the apk's.
I forgot that I already had it all setup in windows. Now I just have to look through some of the tutorials on here.
I actually already had it installed completely under Windows. I just need to learn the commands. I know it's adb push, but from their I'm learning.
opps, My computer didn't show my previous post. so now theirs two. sorry.
I just noticed that you already had the command there. it wont let adb remount run though it just keeps telling me "remount failed: operation not permitted." my phone has android debugging enabled. what would cause that?
okay, I have it all sorted out. It sent the AudioEffectSetting.apk over and so far no problems. It's allowing me to change the audio effects, and the stock music app is working. I don't think it sounds as muffled as it did. would this allow for me to use the CM7 Dsp manager app? would that be the best way to test?
magicCrazyThing said:
okay, I have it all sorted out. It sent the AudioEffectSetting.apk over and so far no problems. It's allowing me to change the audio effects, and the stock music app is working. I don't think it sounds as muffled as it did. would this allow for me to use the CM7 Dsp manager app? would that be the best way to test?
Click to expand...
Click to collapse
Glad that AudioEffects works. Good to know if you run the stock roms.
Just push DSP and try. Worst that'll happen is you'll have to remove it.
I think it relies on the library /system/lib/soundfx/libcyanogen-dsp.so, push it if DSPManager doesn't work.
The permissions are still 0644 for these files. Most libraries and apks are.
to remove
adb remount
adb shell
rm /system/app/DSPManager.apk && rm /system/lib/soundfx/libcyanogen-dsp.so
I've been having adb issues for a while now. Enabling tethering fixes it for me. What sucks is I can't use adb in the bootmenu or pull a logcat on boot.
Something here isn't happening right. Adb says the files are pushing fine. the DSP manager is not showing up anywhere though. as a test I ran the the push command by itself and then ran the second part separately. when It goes to run that second part to set the permission though it tells me that that directory does not exist. it's listing the files as the wrong sizes too. the DSP Manager is only 42Kb, and adb is pushing something that is 660Kb. It's doing that with all of them. the sizes are always listed wrong.
magicCrazyThing said:
Something here isn't happening right. Adb says the files are pushing fine. the DSP manager is not showing up anywhere though. as a test I ran the the push command by itself and then ran the second part separately. when It goes to run that second part to set the permission though it tells me that that directory does not exist. it's listing the files as the wrong sizes too. the DSP Manager is only 42Kb, and adb is pushing something that is 660Kb. It's doing that with all of them. the sizes are always listed wrong.
Click to expand...
Click to collapse
That's weird, the file sizes. How long ago did you set up adb? Its probably been updated since the last time you used it. On my system all I have to do it type "android" and it opens up the sdk to update it. I've never used the sdk under Windows so I'm not sure the proper command to update it (my adb on windows was in a root kit).
Just use a file manager to do it. I recommend Apoonet's MiFileExplorer (here on xda) or Yaffs Explorere by TPruvot (Epsylon3) on the market. I suggest Yaffs because it also shows you the linux chmod code when you change file permissions (useful feature if you're learning chmod).
Since its related I'll add that if you've ever added an app /system/app and it didn't work properly, it requires a lib to be added to /system/lib. You have to do it manually by opening up the apk and copying the lib over (use the arm7 lib if there are more than 1 of the same name). There is no lib in DSPManager but it relies on the one mentioned earlier.
Good Luck
I think what happened with the lib mentioned earlier is that there is no soundfx folder in system/lib/. I went looking for it last night with a file manager. there is one in there called DSP though. I would have justt pushed the audio lib there, but I didn't think the DSPmanager.apk would find it.
The DSPmanager from Cm6 will start up. it won't do anything though. do you know what libs it relies on?
I guess Froyo doesn't have that folder (just checked the SBF)
Here's the soundfx folder from a Defy GingerBread SBF -- non flashable zip.
Just make a soundfx folder in /system/lib and copy all the files to it; same permissions as always.
The dsp folder is codec related, not effects
Not sure what lib is required for CM6 (never used it)
I have everything in the folders now. CM7 DSPManager still won't show up. I went in and found it in Yaff's. When I try to install it through Yaff's it just tells my that there was a problem parsing the package. Also your link isn't showing; I have one of you CM7 Kang zips that I have been pulling files from though.
magicCrazyThing said:
I have everything in the folders now. CM7 DSPManager still won't show up. I went in and found it in Yaff's. When I try to install it through Yaff's it just tells my that there was a problem parsing the package. Also your link isn't showing; I have one of you CM7 Kang zips that I have been pulling files from though.
Click to expand...
Click to collapse
I guess I forgot to upload it. I was sleepy. Its up there now.
It won't install since its a system app. The only way to use it is to place it at /system/app with the correct permissions and reboot. If it doesn't show up it might just not work on Froyo.
Try this flashable zip. Make a nandroid before flashing it. I replaced a few audio libs, changed the DSPManager.apk sdk version to froyo. There's a chance this zip will either work or cause bootloops or do nothing at all. I can't test it since I'm on PA and I don't feel like SBFing back to Froyo, then flashing BravoX.
EDIT
Forgot to add -- if the zip flashes just fine, boots fine, and DSPManager opens but does nothing, add in libaudio.so from CM7 in the zip here to /system/lib and reflash it.
I got stuck on the Red M both times I tried. The first time I was on the BravoX recovery; the second time (after SBFing) I tried under 2nd-init. i'm beginning to wonder if this is possible. I guess I'll start burring my head in lots of forums and try again tomorrow.
You're awesome for all the support you've been giving me though. I get the feeling we're really close to getting this working.
magicCrazyThing said:
I got stuck on the Red M both times I tried. The first time I was on the BravoX recovery; the second time (after SBFing) I tried under 2nd-init. i'm beginning to wonder if this is possible. I guess I'll start burring my head in lots of forums and try again tomorrow.
You're awesome for all the support you've been giving me though. I get the feeling we're really close to getting this working.
Click to expand...
Click to collapse
try removing libeffects.so.
The fourms I found added in libaudiofilinger.so and libaudio.so if needed -- I forgot that our libaudio.so on CM7 is from stock froyo so its not necessary here.
I know that the 3rd Party DSP's on the Market use their own special libraries on Froyo\2.2 roms to give them GB style DSP's. Google upgraded the DSP framework from 2.2 to 2.3.
If you looking for Pure Music functionality and awesomeness then I highly recommend changing to CM7. GB roms have the best mods for audio effects, long press the volume for track changing. The fx folder is necessary (at least in some Miui Ports its was).
That said, I'll jump back to BravoX and see if I can't get it working on my phone. I like a challenge and doing something that benefits a native Bravo rom. Unlike everyone else here, I have a rooted SBF (made it myself) so its not very hard for me to do -- flash sbf, run market enabler, install 2nd-init, flash away . If I had remembered to backup my /data partition into the sbf I wouldn't even have to do that...just sbf and install 2nd-init.
Since you're on BravoX, have you ever tried the BlurLauncher3D Walter79 uses with MS2 Ginger? I'm about to use it with BravoX so I'll find out if it works or not.
---------- Post added at 09:56 AM ---------- Previous post was at 09:05 AM ----------
Back on BravoX. I need to tweak its init scripts to load the multitouch module and overclock module. Also, no tethering sucks.
---------- Post added at 10:40 AM ---------- Previous post was at 09:56 AM ----------
Managed to disable the tethering entitlement check.....only I'm forced to tether with 3g and not my home wifi like I do on CM7 -- that needs to be fixed, but at least I can post on the forums with my Keyboard again. I'm gonna keep messing around and see if I can't get it to use my home wifi instead of 3g.
Btw, to use thethering -- open build.prop and change ro.mot.entitlement_check=true to =false -- that's it. And I was changing smali code until I saw that prop string embedded in it.
Had to jump back to PA -- tethering was eating up my 3g bandwidth.
I started using the Droid 1 CM6 libs -- they don't cause bootloops or issues, but they don't make DSPManager work either. So far I've tried libaudio.so and libaudioflinger.so.
Wow, that was a lot of explanation.lol I haven't had time to try anything. you also tried the only thing I found anything on.
I haven't used tethering so far I never had a reason too. why do you have to use it?
Also, did you ever get blur launcher 3d to work on BravoX. I tried getting it to work with CM7 before, but all I ended up with the many times I tried was everything being deleted from my homescreens and the ROM would become extremely buggy.
magicCrazyThing said:
Wow, that was a lot of explanation.lol I haven't had time to try anything. you also tried the only thing I found anything on.
I haven't used tethering so far I never had a reason too. why do you have to use it?
Click to expand...
Click to collapse
My PC is farther from the router than my longest ethernet wire so I connect to WIFI on the Bravo and tether it. I can only do it on CM7\9\10\Miui. Moto roms have an entitlement check in them. I found the build.prop string to disable the check, but I'm still working on changing the default dhcp settings for tethering -- they're set to 192.168.43.XXX and I need it set to 192.168.0.XXX. I changed the dhcp range values in the smali code of services.jar but it didn't matter. I think there might be another smali file with dhcp ranges somewhere else. I don't want to change my routers dhcp range since all my WiFi devices are set to connect to a static IP (had to for the iPhones in the house -- the iPhone dhcp bug).

Categories

Resources