[Google maps 5.0] Fix - two finger rotation - Nexus One Android Development

Google Maps 5.0 Fix - Two Finger Rotation for Cm 6.1.1 - distinct multitouch for passion + CM 7 nightlies
- [As CM 6.1.1 did not get the latest commits and #cm_nightly_296 failed here´s it]
- [you can use this for CM 7 nightlies till they get it by default ]
Now, there are 3 ways to install this select yours, according your experience! (...as surprisingly still, some got probs to copy/paste...)
1.)
How to:
- in ../system/etc/permissions/..
- exchange "android.hardware.touchscreen.multitouch.xml" with "android.hardware.touchscreen.multitouch.distinct.xml"
- set permissions:
Code:
adb shell chmod 644 /system/etc/permissions/android.hardware.touchscreen.multitouch.distinct.xml
- reboot
2.)
How-to:
1. - connect your device via usb
2. - put "android.hardware.touchscreen.multitouch.distinct.xml" into C:\AndroidSDK\tools\
3. - put "distinct_multitouch.bat" into C:\AndroidSDK\tools\
4. - run (doubleclick) "distinct_multitouch.bat"
5. - wait tills reboots, done
3.)
How-to:
1. - put "distinct-multitouch-signed.zip" on sdcard
2. - flash from recovery (if you have probs, toggle signature verification)
.

..more than 300 downloads here..so I had to do a new thread. So it does not get lost.

Trying it!
Sounds great!

Works* on rooted stock
*As well as the CP2K will let it, at least.

Awesome, works! But I can see why google disabled it by default.. not exactly the smoothest experience.

daisun said:
Awesome, works! But I can see why google disabled it by default.. not exactly the smoothest experience.
Click to expand...
Click to collapse
But Google could of kept the functionality for the N1 by using the trackball for rotation. (I can pan with the screen in the same way the Nx S does and use the trackball for rotation when in the 'perspective' mode).

It is weird that it works on Evil's Desire HD rom.

daisun said:
Awesome, works! But I can see why google disabled it by default.. not exactly the smoothest experience.
Click to expand...
Click to collapse
I think it's something to do with the crazy screen rather than smoothness.

When I installed Maps 5 on my phone I knew that I wouldn't get rotation due to HTC's superb choice of touch screen sensor (sarcasm). But what is weird to is that my girlfriend didn't get rotation either on her captivate. That's not normal is it? I though Samsung hardware was supposed to have great touch support. Or maybe the rotation is just in froyo? She running Eclair still...
Anyhow, I`ll try that fix for sure! Is that gonna work with CM 6.1.1 Stable?

vk2bea said:
But Google could of kept the functionality for the N1 by using the trackball for rotation. (I can pan with the screen in the same way the Nx S does and use the trackball for rotation when in the 'perspective' mode).
Click to expand...
Click to collapse
Can you, or would you like to?

Thanks Rori! It may not be the smoothest, but I am glad that there is an option to use it.

Getting permission error when trying to copy file to Permissions folder.
Any easier way to fix this?

BrumBrum74 said:
Getting permission error when trying to copy file to Permissions folder.
Any easier way to fix this?
Click to expand...
Click to collapse
adb remount

is this for MIUI Rom, too? has anyone tried yet?

Thanks rori. It works! It is not smooth, but at least I have an option to use when needed.

Works for me, great thanks!

Yep, works here.
Used Root explorer, moved over the file to the dir, deleted old file, set permissions.
Well it "works," but its really hard to get it working, and its not as accurate as my friend's evo or incredible

why is this necessary for CM6.1.1 again ?
i dont seem to have a problem with map5.0 rotation / 3d function

Great work! Works fine on my N1 with CM 6.1.1. Thanks!

lsxrx7 said:
why is this necessary for CM6.1.1 again ?
i dont seem to have a problem with map5.0 rotation / 3d function
Click to expand...
Click to collapse
3D? How did you get it work?

Related

[MOD] avlock[11], a real, system-level lock screen replacement (fixed 04/22/2010)

avlock[10] is a (the first?) real, *system-level* lock screen replacement for Android (CM 5.0.6).
it replaces the standard "connect the dots" behavior with pin-like mechanism. patterns can be arbitrarily large, and nodes can be repeated. also, there are no numbers -- just circles. definitely not for everyone, but i think some people may like it.
here's how it works:
http://files.clangen.org/avlock/avlock.m4v
if you want to try it you must have CM 5.0.6 installed, then:
1. reboot to bootloader
2. nandroid backup <-- do it. seriously. just in case.
3. flash avlock[x].zip
4. reboot
5. if you don't have a lock pattern already, set one: Home > Menu > Settings > Location and Security > Set Unlock Pattern
faq:
q: what happens if something goes really wrong and i can't log in?
a: i've been tweaking this mod for a long time and you shouldn't have any problems. BUT IF YOU DO:
* restore from nandroid backup made in step 2 above
OR
* if you know how to use adb, just delete the file pattern file and reboot:
adb remount
adb shell rm /data/system/gesture.key
adb shell reboot
q: what files are replaced by the patch?
a: framework.jar, framework-res.apk, android.policy.jar, Settings.apk
q: why not just distribute this as a simple .apk file?
a: this is a system-level mod because it replaces system-level components. it cannot be distributed as an .apk.
changelog:
avlock[8]:
* initial release
avlock[9]:
* added tactile feedback
* reduced login delay
avlock[10]:
* disabling "Use visible pattern" works now
* better integration with system and Settings.
* re-added drag lock option.
avlock[11]:
* added the ability to specify a pattern timeout
use at your own risk. i am not responsible for any damages caused by this software. MAKE A NANDROID BACKUP FIRST!
caution: if you update your rom, install a theme, or flash another mod that replaces framework.jar, framework-res.apk, or android.framework.jar, you may not be able to log in upon reboot (or even spin into a boot loop). either (1) make sure you disable your lock screen before flashing or (2) rm gesture.key as described in the faq!
download:
avlock[11]: http://droidbasement.com/db-blog/?p=202 (thanks, pershoot)
sources:
http://github.com/avatar5d
wow, nifty and works well enough
It'd be really nice if it was faster, there is close to a 2 second lag between entering and unlocking
Cool Thanks
Nice , i agree with the faster unlock and if it's possible to install it via apk or another methode than flashing in recovery mode.
Good work.
Thanks
imfloflo said:
Nice , i agree with the faster unlock and if it's possible to install it via apk or another methode than flashing in recovery mode.
Good work.
Thanks
Click to expand...
Click to collapse
You could always unzip the zip and push the files manually
adb shell stop
adb push these files to their respective places framework.jar, android.policy.jar, Settings.apk
adb shell start
If you forget the pattern, you can get it emailed to you right?
Looks awesome in the video, nice idea, better executed!
NICE MOD!
Nice work!!!
prettyboy85712 said:
Nice work!!!
Click to expand...
Click to collapse
+1 Nice ...
Good Job !
This looks awesome! Nice work
@ _avatar
Any chance to make this work with Enom's ROM ?
Nice work!
imfloflo said:
Nice , i agree with the faster unlock and if it's possible to install it via apk or another methode than flashing in recovery mode.
Click to expand...
Click to collapse
Unfortunately, because this is a system-level mod it cannot be installed as a simple .apk.
bobtentpeg said:
It'd be really nice if it was faster, there is close to a 2 second lag between entering and unlocking
Click to expand...
Click to collapse
The delay is there on purpose. Once you stop touching the circles for 2 seconds, the combination is verified. Without this delay, there would need to be some sort of "OK" button, which I think is undesirable. However, I'll look into making the delay shorter (1 second?) for future builds. The value needs to be long enough so people can still enter their combination relatively slowly, but fast enough so it's not annoying.
pvillasuso said:
Any chance to make this work with Enom's ROM ?
Click to expand...
Click to collapse
Possibly. Is Enom's source available, and easily buildable like Cyanogen's? I'm not super familiar with his project.
This is hot, installing now. My main complaint with the stock lock pattern was the inability to re-use points. just gotta set a good lock pattern and see how this works.
Thanks.
Wow.. this is pretty damned cool! Good job.
One thing, tactile feedback is not working with this, any way to restore that?
daveid said:
One thing, tactile feedback is not working with this, any way to restore that?
Click to expand...
Click to collapse
It's on my TODO list
EDIT: added to avlk[9] build. see original post!
Can you make a them of some sort and replace the dots with numbers?
Can it run on 1.8.1 rom
Re: [MOD] avlk[9], a real, system-level lock screen replacement
anyway to incorporate trackball wake-up in this for us desire port guys ;-)
Sent from my Nexus One using the XDA mobile application powered by Tapatalk
_avatar said:
Possibly. Is Enom's source available, and easily buildable like Cyanogen's? I'm not super familiar with his project.
Click to expand...
Click to collapse
http://android.git.kernel.org/
You'll want to ask him which actual tag he's building for current versions. Also, since I'm not up on framework patching, it might be more complicated if you don't want to break the trackball-wake and/or notification features. Best to contact him @enomther or for someone to raise the suggestion in his thread.

[Tool 7/27] Perm-Temp Root w/ R/W, Overclock 1.8GHz and HULU FIX [CONFIRMED WORKING]

First of all I am taking no credit for any of this. All I did was combine other people's work and edit scripts to make this tool that I believe works best on my phone. Plus HULU WORKS!!!
Dev's who's material was used:
panamaniac - Perma-Temp Root + HULU FIX
eugene373 - (TOOL) Perma-Temp Root with *R/W* & Stable!
Almighty1 - [Fix] Hulu working + Flash.apk April 22
coolbho3000 - [MOD] EVO 3D Overclocked to 1.8GHz!
agrabren - [GUIDE] Fre3vo / Fre3dom Official Thread
What I Did: I just combined (TOOL) Perma-Temp Root with *R/W* & Stable! with Perma-Temp Root + HULU FIX and [MOD] EVO 3D Overclocked to 1.8GHz!.
What it does: Basically what the title says. It will temporarily root you device, overclock it to 1.8Ghz and swap out the current flash player for one that will allow you to use Hulu on your device.
AFTER DOWNLOADING, FOLLOW THE BASIC INSTRUCTIONS
BASIC INSTRUCTIONS
1. Plug your phone into your PC and select Charge only
2. Make sure HTC Sync is not running
3. Enable USB debugging by going to Menu>Settings>Applications>Development and checking USB Debugging
4. Unzip the folder titled "Unzip This.zip"
5. Open the file titled "Perm-Temp Root with RW + Overclock + Hulu Fix"
6. Run (Double click) the .bat file of your choice.
NOTE: YOU WILL NEED TO HAVE ROOT FIRST BEFORE YOU RUN HULU FIX OR OVERCLOCK
I am not personally responsible for any damage that may occur to you or your phone. Hopefully you are responsible enough to try and not break things and if you do not to cry all about it. That being said, If you are having problems with anything please describe in detail what you did and I will do my best to try and help.​
DOWNLOAD
If you have NOT taken the OTA Update:
Pre OTA DOWNLOAD
Hulu app
I thought I would share this link with everyone. I downloaded the hulu app and it looks good. The only thing is that auto rotate was disabled and I couldn't figure out how to go full screen.
http://forum.xda-developers.com/showthread.php?t=782169
Hulu Plus +
HULU PLUS+ is soon to come. You can download the app and try it out it looks pretty clean. It won't allow you to watch content because our devices are currently not supported but it looks pretty koo.
http://forum.xda-developers.com/showthread.php?t=1136634
macramentonate said:
First of all I am taking no credit for any of this. All I did was combine other people's work and edit scripts to make this tool that I believe works best on my phone. Plus HULU WORKS!!!
Dev's who's material was used:
panamaniac - Perma-Temp Root + HULU FIX
eugene373 - (TOOL) Perma-Temp Root with *R/W* & Stable!
Almighty1 - [Fix] Hulu working + Flash.apk April 22
coolbho3000 - [MOD] EVO 3D Overclocked to 1.8GHz!
agrabren - [GUIDE] Fre3vo / Fre3dom Official Thread
What I Did: I just combined (TOOL) Perma-Temp Root with *R/W* & Stable! with Perma-Temp Root + HULU FIX and [MOD] EVO 3D Overclocked to 1.8GHz!.
What it does: Basically what the title says. It will temporarily root you device, overclock it to 1.8Ghz and swap out the current flash player for one that will allow you to use Hulu on your device.
AFTER DOWNLOADING, FOLLOW THE BASIC INSTRUCTIONS
BASIC INSTRUCTIONS
1. Plug your phone into your PC
2. Make sure HTC Sync is not running
3. Enable USB debugging by going to Menu>Settings>Applications>Development and checking USB Debugging
4. Unzip the folder titled "Unzip This.zip"
5. Open the file titled "Perm-Temp Root with RW + Overclock + Hulu Fix"
6. Run (Double click) the .bat file
I am not personally responsible for any damage that may occur to you or your phone. Hopefully you are responsible enough to try and not break things and if you do not to cry all about it. That being said, If you are having problems with anything please describe in detail what you did and I will do my best to try and help.​
DOWNLOAD
Click to expand...
Click to collapse
Not working, missing something?
urcboss07 said:
Not working, missing something?
Click to expand...
Click to collapse
Which part is not working? Did you get an error message or something? Unable to download? Please explain.
AdbWinApi.dll is in the wrong place with zip extract. put all files in the tools folder and it works
ok everything runs through fine ... only problem is is doesn't grant root access. no apps can get root.
mallman said:
ok everything runs through fine ... only problem is is doesn't grant root access. no apps can get root.
Click to expand...
Click to collapse
Were you able to overclock in SetCPU?
Working?
Can anyone confirm this as working?
macramentonate said:
Can anyone confirm this as working?
Click to expand...
Click to collapse
I've been wanting to do a data reset because I lost ability to connect to wifi a few days ago. I'll try it out. That way everything is scratch except my 32g card
knightwolf123 said:
I've been wanting to do a data reset because I lost ability to connect to wifi a few days ago. I'll try it out. That way everything is scratch except my 32g card
Click to expand...
Click to collapse
That would be great. Thank you. When you unzip the folder it should look like the file that I've attached here.
I might be a noob, but I don't understand how anyone is able to change setcpu when it tries to OC the phone before SU permissions. Unless the winrar I have is corrupt and it's skipping it,
havent tried it yet (charging phone) plus im currently reformatting my 4G with MikG for the wifey and redoing my 3D after i get it charged up.
however.
i noticed you have only one overclock (do you need befor and after OTA?)
and only one script to root (no root and reroot. which doesnt really matter because if the file is already there it will skip it in theory)
Onethirtytwo said:
I might be a noob, but I don't understand how anyone is able to change setcpu when it tries to OC the phone before SU permissions. Unless the winrar I have is corrupt and it's skipping it,
Click to expand...
Click to collapse
personally what i do (maybe overkill) is keep the .apk for setcpu on sd card and when i know i am going to do a full reboot (not fast reboot) i uninstall setcpu, reboot, reroot, then install setcpu and do my profiles.
again this may be overkill but..... it works for me EVERY TIME ! (and i was using panam script till now)
macramentonate said:
Were you able to overclock in SetCPU?
Click to expand...
Click to collapse
No... Like I said I didn't even have root with this. No apps had root and I tried multiple times rebooting each. Regular prema team works fine
Sent from my PG86100 using XDA Premium App
macramentonate said:
That would be great. Thank you. When you unzip the folder it should look like the file that I've attached here.
Click to expand...
Click to collapse
It does but that doesn't work. Have to put those files in tools folder and run from there. That's the only way it would run for me
Sent from my PG86100 using XDA Premium App
knightwolf123 said:
personally what i do (maybe overkill) is keep the .apk for setcpu on sd card and when i know i am going to do a full reboot (not fast reboot) i uninstall setcpu, reboot, reroot, then install setcpu and do my profiles.
again this may be overkill but..... it works for me EVERY TIME ! (and i was using panam script till now)
Click to expand...
Click to collapse
I simply have no root. Not setcpu not nothin so it doesn't matter what order
Sent from my PG86100 using XDA Premium App
If i may....
I attached to file and it should work now... i just moved the files around so that everything lines out with your script.
here's the link:
Download
Let me know if it works... Cheers!
OP Updated
mallman said:
AdbWinApi.dll is in the wrong place with zip extract. put all files in the tools folder and it works
Click to expand...
Click to collapse
First of all thank you for testing this out. I discovered why it wasn't working and have updated the Original Post accordingly. You were correct regarding the .dll files being in the wrong place but just moved the other files to the wrong location. Why it wasn't working on yours or others Windows machines had to do with the environmental variables. On my PC I have adb configured in my PATH. This was allowing adb to run with the .dll files in my android-sdk-windows folder. If you don't have adb in your PATH than it never would have worked the way that it was set up. I believe I have corrected this and it should be working 100%. Please give it another try and let me know if there's any problems.
Great thank you! This should work for everybody now. I've updated the OP.
Can someone please confirm as working?

[GUIDE] CM9 ICS TouchPad Tweaks!

This is a compilation, some of my own thoughts combined with ideas from others scattered throughout this forum... I really can't credit anyone other than who has already been credited above because it's just standard ideas.
Please feel free to add legitimate tips and tweaks to this thread so everyone can have a better TP experience! If it's noteworthy and people say it's helpful, I will add it to this OP!
1. Download the proper GAPPS and GAPPS fix to get Calendar working (thanks Stroid01, I borrowed your links from the original install thread)
2. Download the Charging and SystemUI fix from Dalingrin
3. Download Chainfire3D and install the Beta EGL drivers. Why? They fixed a lot of visual glitches that came with the stock ones.
4. Download and install the latest Adobe Flash 11.1 from the Market to enable Flash video, otherwise it won't work right out of the gate.
5. Enable USB transfer: Settings -> Storage -> Advanced (the 3 little dots in the top right corner) -> USB computer connection, then check the box next to "Media Device (MTP)"
6. It was in my best interest to change the DPI of the LCD, it'll look much better and the icons won't be so huge, my favorite has been 132 (though others have reported 145 to be good as well): Edit the build.prop in Root Explorer (mount R/W first) and change the line "ro.sf.lcd_density = 160" to "ro.sf.lcd_density = 132"
7. Install the cracked Market to fix any issues with your new DPI settings (Thanks, marios96)
8. To run Gamelot games edit your build.prop (it's located in your /system directory) to say this (I changed mine to XOOM instead of DROIDX but the idea is the same, thanks ssconceptziew):
ro.product.model=DROIDX
manufacturer=motorola
I guess this could be moved to the Development forum, I just thought this would be appropriate here since it's not actually involving developing something, just tweaks.
thanks, guess i will try the chainfire thing
How did you install chainfire. Tells me my device isnt compatible. And where do i find the drivers. Thanks in advance
Tapatalkin in from my ICS equipped Touchpad
When I try to install an app in the market, it gets stuck at the downloading stage. Is there a way to fix this? I've tried doing a fresh wipe and install of CM9 but nothing has worked! Also, I'm having problems downloading the UI fix. The countdown keeps on repeating.
Thanks. Looks much better now.
On WinXP I could not get MTP to work until I disabled debugging. Once I did that it showed up on my computer as a media device.
http://rootzwiki.com/topic/15568-rel-market-fix-dpi-compatibility/
Also install the cracked market from above to fix any compability issues with the new DPI.
wizegui said:
When I try to install an app in the market, it gets stuck at the downloading stage. Is there a way to fix this? I've tried doing a fresh wipe and install of CM9 but nothing has worked! Also, I'm having problems downloading the UI fix. The countdown keeps on repeating.
Click to expand...
Click to collapse
I have the same problem. If I figure it out I'll post it here as well.
jok3sta said:
How did you install chainfire. Tells me my device isnt compatible. And where do i find the drivers. Thanks in advance
Tapatalkin in from my ICS equipped Touchpad
Click to expand...
Click to collapse
Find an APK online. I'm not telling you to go get warez and download the pro version, I'm saying go get a free version.
And Chainfire is a driver program. That's what it's for, installing new drivers
I already got the pro version . The free version dosnt have the driver
Tapatalkin it from my Epic 3g Touch
You can also mention changing the kernel so you can get voltage control.
Samsung Galaxy S Captivate ICS CM9, Glitch Kernel | HP TouchPad CM9
iamsamsamiam said:
You can also mention changing the kernel so you can get voltage control.
Samsung Galaxy S Captivate ICS CM9, Glitch Kernel | HP TouchPad CM9
Click to expand...
Click to collapse
Flashing the new kernel didn't give me any voltage control in SetCPU.
treehumper said:
Flashing the new kernel didn't give me any voltage control in SetCPU.
Click to expand...
Click to collapse
Yeah, there's no voltage control in SetCPU even though he states it in his change logs. It does work in System Tuner though.
Tried, and you're right. The different kernel is a bit more unstable at this point in time, however. I am using it, but it's not for those that don't mind more frequent reboots (what's funny is that this is also my primary work device.... lol).
I have a tweak.
To run Gameloft Games edit your build.prop to say this:
ro.product.model=DROIDX
manufacturer=motorola
ssconceptz said:
I have a tweak.
To run Gameloft Games edit your build.prop to say this:
ro.product.model=DROIDX
manufacturer=motorola
Click to expand...
Click to collapse
Doesn't work for me. I still cant play modern combat 3
Tapatalkin in from my ICS equipped Touchpad
Did you copy the build.prop to your internal, edit then replace and restart. You can't edit it in place.
Sent from my SPH-D710 using xda premium
ssconceptz said:
Did you copy the build.prop to your internal, edit then replace and restart. You can't edit it in place.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
I used root explorer to edit it.. changing it dis something because before I did I couldn't even download the game from the market. But now I can't download the data file
Tapatalkin it from my Epic 3g Touch
Use the method I described
Sent from my SPH-D710 using xda premium

[ROM] [International] 2013/07/14 AOKP 4.2.2 - 2.0m

This is AOKP with some extra "flavour"
Kernel:
4.2 roms require a different kernel then 4.1
So you MUST use the correct kernel (and dont forget to switch back
if you go back to a 4.1 rom).
Important:
With 4.2 google added the "user account" feature
That means your "home" folder is NO LONGER /data/media
but /data/media/ (0 by default)
All apps only "see" this folder so if you want to access data
already stored in /data/media you must copy those into that folder
That includes TWRP which will create its backups then also in that folder
If you switch back to a 4.1 rom you must of course to this in
the opposite direction
Downloads:
ROM - goo manager app support is included
Mirror (thanks to Lloir)
Kernel - ALWAYS use kernel in the rom until told otherwise
gapps http://goo.im/gapps/gapps-jb-20130301-signed.zip (20130301)
Different to 4.1 DONT mix and match those to between 4.2 and 4.1 roms
Whats not working:
-... you tell me
Known issues:
-HDMI MHL broken
-SpiritFM broken
-Still pictures are sometimes grey
-phone encryption doesnt work
FAQ:
Q: music lags - how to solve it
A: read this
http://forum.xda-developers.com/showpost.php?p=41311260&postcount=1322
http://forum.xda-developers.com/showpost.php?p=41331878&postcount=1323
http://forum.xda-developers.com/showpost.php?p=41333844&postcount=1324
Again big thanks to the IceColdJelly team
http://forum.xda-developers.com/showthread.php?t=2052610
Using their base for HOX made it much easier to start
maxwen said:
...
Click to expand...
Click to collapse
I have to try this, thank you very much!!!:good:
Downloading!!!!!!!!!
Sent from my HTC One X+ using Tapatalk 2
Just installed it. I will report on how it handles!
I'm not sure what the problem is, but I can't install Swiftkey or Thumb Keyboard. The error message is "couldn't install on usb storage or sd card".
Works great few things i found:
- Google now voice, when you press the mic it crashes.
- The 360 camera mode isn't there.
- No google now button in the unlock circle (?)
- Torch Toggle (widget) does WORK for me.
- Can't install swiftkey just like saibz
cornedor said:
- Can't install swiftkey just like saibz
Click to expand...
Click to collapse
keymonk keyboard works fine
so I would assume this to be an app issue
but anyway - logcat please
cornedor said:
Works great few things i found:
- Google now voice, when you press the mic it crashes.
Click to expand...
Click to collapse
dont see this here - please explain in more detail what you have done
also provide a logcat
maxwen said:
keymonk keyboard works fine
so I would assume this to be an app issue
but anyway - logcat please
Click to expand...
Click to collapse
maxwen said:
dont see this here - please explain in more detail what you have done
also provide a logcat
Click to expand...
Click to collapse
Weird, I have swiftkey working fine here and the mic on Google now as well, it has not crashed.
Seems like it is not only in the search. If I press the mic in the browser it crashes too. Logcat (http://pastebin.com/QBrwHY7y) says that it can't open res/raw/open.wav.
Also a logcat for the installation error: http://pastebin.com/nGNs9p2f
I use the non-free version. Also if I try to install Root Browser (payed) it gives the same error.
In my case the camera is not working at all, as soon as I open it, it crashes with the Gallery error.
Any idea?
Sent from my HTC One X+ using Tapatalk 2
cornedor said:
Seems like it is not only in the search. If I press the mic in the browser it crashes too. Logcat (http://pastebin.com/QBrwHY7y) says that it can't open res/raw/open.wav.
Click to expand...
Click to collapse
weired - have you flashed the right gapps?
the 201212 version?
work without problems for me
maxwen said:
weired - have you flashed the right gapps?
the 201212 version?
work without problems for me
Click to expand...
Click to collapse
I think I did, will retry it.
EDIT: retried, and did not help, flashed gapps-jb-20121212-signed.zip
There are a few apps that I believe are not compatible with the ROM. Could that be? For example,Waze, there is no way to make it work. It does not catch the signal.
Sent from my HTC One X+ using Tapatalk 2
Adolfopacheco said:
There are a few apps that I believe are not compatible with the ROM. Could that be? For example,Waze, there is no way to make it work. It does not catch the signal.
Sent from my HTC One X+ using Tapatalk 2
Click to expand...
Click to collapse
probably not 4.2.* compatible yet
Spam
Workaround for installation problems
I can confirm:
- No Sphere Cam in camera app
- Video recording doesn't work
- Mic causes crash
- Torch causes crash
- Some apps won't install due to the "Can't install on USB storage or SD card" error.
I figured out a workaround for the installation problem, but it's pretty annoying. The Play Store app is downloading the apps onto your phone, but it's failing to install (I dunno why; I suspect it's a permissions issue). Interesting note - this seems to ONLY affect paid apps. All of my free apps install fine but none of my paid apps do, including when Play Store was restoring from my account.
Anyway, here's how to get those apps installed:
1. First you need to get a hold of the temp file downloaded by Play Store. You can find them in /data/app-private/
2. All of the files have generic names in the form "vmdl-[lotsofnumbers].tmp" so you have to figure out which file corresponds to the app you tried to install. NOTE: you should do this immediately after attempting to install, if you're concerned about accidentally taking the wrong file. How you find that file is up to you, whatever floats your boat, really:
- If you use a file explorer like Total Commander, you can open the directory and eyeball the modification date.
- OR you can open a terminal emulator and find the last modified file with:
Code:
$ su -c 'busybox ls -lt /data/app-private/'
- OR you can use a shell with adb from your computer with:
Code:
$ adb shell busybox ls -lt /data/app-private/
- OR you can logcat WHILE you install, until you see the error message pop up. Then, kill the logcat and check it for some lines similar to:
Code:
I/DefContainer(10169): Created container for smdl2tmp1 at path : /mnt/asec/smdl2tmp1
E/DefContainer(10169): Failed to copy /data/app-private/vmdl-876030916.tmp to /mnt/asec/smdl2tmp1/pkg.apk
W/ActivityManager( 736): No content provider found for permission revoke: file:///data/app-private/vmdl-876030916.tmp
3. Once you've found the file, copy it to your SD card or some directory you'll remember. Then rename it to [something].apk. It doesn't really matter what you rename it as, you should be able to see what app it is from the icon after you rename it with the .apk extension (depending on whether you use a file manager supporting apk icons like Total Commander).
I know it's a bit tedious, but it'll let you install your apps until the bug can be fixed.
maxwen, top work on this mate, it's already stable enough to be my main OS.
here are some logcats for the various crashes:
Installation error: http://pastie.org/pastes/5563789/text
Torch crash: http://pastie.org/pastes/5563793/text
Mic crash: http://pastie.org/pastes/5563795/text
Video recording: http://pastie.org/pastes/5563798/text
For all with install issues for paid apps please try this boot.img
So reflash kernel and try again
EDIT: deleted for now
Not sure if this is actually relevant, but in my case, the data was automatically copied to data/media/0. I didnt have to move anything...
I can confirm the voice & video not working though. Flashlight only works through CM10 app, statusbar toggle and TeslaLED won't work.
Sent from my HTC One X+ using xda app-developers app
s3nsation said:
Not sure if this is actually relevant, but in my case, the data was automatically copied to data/media/0. I didnt have to move anything...
I can confirm the voice & video not working though. Flashlight only works through CM10 app, statusbar toggle and TeslaLED won't work.
Sent from my HTC One X+ using xda app-developers app
Click to expand...
Click to collapse
/0 is the new user thing in 4.2 you are user 0
Sent from my HTC One X+ using XDA Premium HD app

[APP] Chromecast & MirrorEnabler

Over at the Chromecast forum they're building a compatibility list for mirroring with Chromecast. DNA isn't officially supported (yet), but I aim to build a list of ROMS that mirror successfully with the MirrorEnabler app.
TESTED WORKING:
Google Play Edition
Nusense Six
Cyanogen (all music players force close
LiquidSmooth (audio only)
NOT WORKING:
AOKP
Carbon
Paranoid
Dirty Unicorns
Viper
Anyone willing to report on tested and working ROM's please chime in....
Credit goes to r3pwn for his original thread HERE (
r3pwn and I got things rolling on cm-11 so that is confirmed. In the case of DNA ROMs any aosp and cm based should work without issue with v3. It seems the only folks having problems right now is because their ROMs did not compile in r_submix support.
Sent from my HTC6435LVW using XDA Free mobile app
mattgyver83 said:
r3pwn and I got things rolling on cm-11 so that is confirmed. In the case of DNA ROMs any aosp and cm based should work without issue with v3. It seems the only folks having problems right now is because their ROMs did not compile in r_submix support.
Sent from my HTC6435LVW using XDA Free mobile app
Click to expand...
Click to collapse
I noticed the headway made over there with v3 and v4. v4 seems to cast without gps fc but only a black screen. Going to try v3 if i can find it now that the app has been updated.
xlxcrossing said:
I noticed the headway made over there with v3 and v4. v4 seems to cast without gps fc but only a black screen. Going to try v3 if i can find it now that the app has been updated.
Click to expand...
Click to collapse
Here is how mine got working, mind you post these instructions I never had to flash past v2. If you already flashed v3 or greater then you probably don't need to do steps 1 and 2 because Mirror enabler handles that part.
Install and enable mirror enabler v2
execute the following commands in a root terminal
Code:
su
/data/data/com.r3pwn.mirrorenabler/lib/libhackyworkaround.so /data/data/com.google.android.gsf/databases/gservices.db
insert into overrides (name, value) values ('gms:cast:media:use_tdls', 'true');
.exit
exit
Code:
su
/data/data/com.r3pwn.mirrorenabler/lib/libhackyworkaround.so /data/data/com.google.android.gsf/databases/gservices.db
insert into overrides (name, value) values ('gms:cast:remote_display_enabled ', 'true');
.exit
exit
Update /etc/audio_policy.conf and in the global_configuration append to the end of the "attached_input_devices" line
Code:
|AUDIO_DEVICE_IN_REMOTE_SUBMIX
Now, this is something to ask r3pwn but I believe hes pushing a rather generic version of audio_policy.conf and not the device specific policy which means there could be an error related to the generic version. I am not sure if Mirror Enabler is backing up the original audio_policy.conf and putting it back in place after its "disabled" and then uninstalled. What I suggest if you are post v3 is to extract the specific audio_policy.conf from the original ROM and follow step 3 only then reboot. That may be worth attempting to see if it fix.
OK so extracted default audiopolicy, added the submix edit and pushed to system/etc. I am able to receive sound while casting but TV screen is black.
xlxcrossing said:
OK so extracted default audiopolicy, added the submix edit and pushed to system/etc. I am able to receive sound while casting but TV screen is black.
Click to expand...
Click to collapse
Two questions;
What rom are you using?
Did you place the file in /etc/ or /system/etc ? It goes in /etc/
Also make sure the file is owned by root and has 644 perms
I can confirm, NusenseSIX RC 6.4 works as well.
mattgyver83 said:
Two questions;
What rom are you using?
Did you place the file in /etc/ or /system/etc ? It goes in /etc/
Also make sure the file is owned by root and has 644 perms
Click to expand...
Click to collapse
Liquid Smooth. The paths are the same. The permissions are set as they should be. My issue with liquid is no video so tinkering with the audio policy file doesn't seem like a remedy. Ive rebooted Chromecast and the phone to no avail. Can anyone else confirm only audio on LiquidSmooth?
xlxcrossing said:
Liquid Smooth. The paths are the same. The permissions are set as they should be. My issue with liquid is no video so tinkering with the audio policy file doesn't seem like a remedy. Ive rebooted Chromecast and the phone to no avail. Can anyone else confirm only audio on LiquidSmooth?
Click to expand...
Click to collapse
Sorry, I cant directly confirm this for Liquid Smooth but like I said if it can be confirmed by the ROM developer that REMOTE SUBMIX support is compiled into the ROM then using mirror enabler _should_ work. I would suggest contacting the developer to see if this is the case. I can confirm that on my DNA using CM11 m8 snapshot all audio and video works flawless across all applications (including apollo, etc). I would suggest for anyone having issues running that ROM (or possibly others) to attempt the steps I noted earlier to see if using a more "pure" audio_policy.conf. Based on what we learned by testing with my device somehow the audio_policy.conf does in fact have something to do (were not entirely sure what) with ensuring that all the data gets across to the chromecast, he saw a few logcats of users who had audio and no video which were corrected after implementing the "force close fix" that pushes the updated audio_policy.conf. Now while a one size fits all audio_policy.conf is the best method and not causing other issues is hard to say.
Sorry I couldn't be of more help, Good luck!
Edit: I did a few more tests when i got home to make sure I'm not completely full of it and it turns out yeah i am. Apollo is in fact not working for me and does cause a fc then causing mirroring FC's but it appears the force closes settled down after a reboot also plex decided to give me a fit while also while mirroring but otherwise i didn't get any other grief.

Categories

Resources