Related
I was looking at how yahoo video plug-in uses the HTC front camera and found out that it calls “com.htc.hardware.twinCamDevice.FrontFacingCamera. getFrontFacingCamera();” to load it. So I baksmali-ed the com.motorola.hardware.frontcamera.jar and changed it to look like the HTC version so YM can use it.
ADB Method (YOU MUST BE ROOTED TO APPLY IT):
1. Extract YMFrontCamADB.zip
2. Connect your device in Debugging mode (Settings -> Applications -> Development -> USB Debugging)
3. Run YMFrontCam.bat and follow the instructions.
4. Close the process for YM plug-in.
5. Make a video call.
YMFrontCamCWM.zip and YMFrontCWMCamRemover.zip can be used for CWM un/installation
NON-ATRIX devices should use the ADB method as the CWM method is specific for Atrix only. If the ADB method doesn't work, download the com.htc.hardware.twinCamDevice.zip, extract com.htc.hardware.twinCamDevice.jar, copy it to your /system/framework and change the permission to 644
2011-05-31 - Updated to support more devices.
Gingerbread devices (using the standard 2.3 front camera API)
Motorola
Samsung
LG
Dell Streak and Streak 7 (Untested)
Huawei (Untested)
Other htc devices without the com.htc.hardware.twinCamDevice.jar (Untested)
Feel free to edit the source and make it work on your device
2011-05-31 - Updated YMFrontCamADB.zip script to fix mount command on other devices. The new script requires busybox (rooted devices should have it anyway)
2011-06-11 -Updated YMFrontCamADB.zip and com.htc.hardware.twinCamDevice.jar to fix the exception in integer "Parameters" values (samsung, dell, lg). Source code FrontFacingCamera.java.zip is updated as well. CWM method NOT updated.
2011-07-03 - After more than 2 months of hiding and distributing the APKs in secrecy, I’m now attaching them in here. I was advised not to post modifications for Google Market APKs here and so I did but as I can see in other threads, everything is allowed.
For a fix that does not need root and ADB stuffs, you can download the APK versions. First you have to uninstall the YM and YM plug-in from the market, install yahoo.im.apk (a must) and choose one among the plugins that suits best your need.
There are 4 versions of the plug-in I made. Some users reported that their devices got the wrong camera orientation (side-ways, or flipped image) and so I made 3 additional versions that add 90, 180 or 270 degrees clockwise to the orientation. It might or might not show the correct orientation on the android device but the transmitted image should be correct. Another thing is that, FFC and back cam doesn’t always have the same orientation so fixing the other might break the orientation of the other; so choose which cam you prefer to use.
Awesome! Haven't tried it out yet because I'm not home, but sure hope it works. I wonder if it works with other apps... any chance of looking at Vtok and Ovoo?
EDIT: Confirmed, it works with Yahoo. I used the com.htc.hardware.twinCameDevice.zip method and not the CWM flash, but have no reason to imagine that the other method wouldn't work as well. THANK YOU THANK YOU!
Sent from my MB860 using XDA App
Awesome, I'm trying it now.
Sent from my MB860 using XDA Premium App
Doesn't seem to work. I used the cwm zip to apply the update. I can see the flip camera icon but it never switches to front camera.
Update: removed and applied again through cwm, works like charm! Thanks for sharing.
Sent from my MB860 using XDA Premium App
ceo.mtcl said:
Doesn't seem to work. I used the cwm zip to apply the update. I can see the flip camera icon but it never switches to front camera.
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
Hmm, since it worked for me perfectly extracting the jar, maybe you should try it that way?
Worked like a charm!! Many thanks to this!!! Now i can slowly let go of my 4
klub242 said:
I wonder if it works with other apps... any chance of looking at Vtok and Ovoo?
Click to expand...
Click to collapse
I have a modified version of ooVoo that works with the atrix's front camera but I'm not sure if I can post it here or not.
I believe though that ooVoo will very soon release the version that supports the atrix and the front camera. Their code actually includes the loader class for the front camera but for some reason, it is not yet included in loader array. Maybe it is still under testing.
Sent from my MB860 using XDA App
What version are you using? I'm using the french 4.2.1 sbf (bell). Maybe it's just a versioning issue. I'll make one tonight (GMT - 5) that will actually load and use the motorola library to avoid versioning issues.
Sent from my MB860 using XDA App
Says unable to copy the file to system/framework
Sent from my MB860 using XDA App
Thank you sooo much .You are amazing .I have been waiting for this for a loong time now.Tested it works gr8888
zir4 said:
Says unable to copy the file to system/framework
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
You have to mount /system as read/write. If you don't know how, it should be easy to find out on google.
Sent from my MB860 using XDA App
I remember seeing that Skype with video was out for the thunderbolt, any way we could make that work using a similar method?
Sent from my MB860 using XDA App
According to what a few other people have said, that app was coded with a lot of lines of code specific to that device... so it would practically be quicker to start from scratch.
Sent from my MB860 using XDA App
Do you believe that this will work with the Xoom as well seeing how they have the same camera drivers?
It's sure worth a try, I bet so. If not, the same method (renaming the default camera framework file to the htc version) would work. Try it.
Sent from my MB860 using XDA App
I've updated it and changed the code to simply load and use the existing driver from motorola. It should be easy now to port to other devices.
Works perfect
Sent from my MB860 using XDA App
exume said:
I remember seeing that Skype with video was out for the thunderbolt, any way we could make that work using a similar method?
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
I've never heard that skype has a video support. Maybe I should check for that.
thanks alot! I have been dying to use this feature on my atrix it works great!
not working for me..tried both ways. i am rooted..gb3.5...
Is there native screen shot capabilities? Just came from T-Mobile and the G2x so I am still learning.
Sent from my DROID RAZR using XDA App
No.
Sent from my XT910 using xda premium
Wait for ICS which is coming up real soon and it'll include screenshot.
Is there any app in Market that can provide this function for razr?
Sent from my XT910 using XDA App
ScreenShooter ER works fine but you need to be rooted.
Sent from my DROID RAZR using XDA App
What if I don't have the root access? Any apps support this?
Sent from my XT910 using XDA App
No root screenshot it works well on the razr. It does require you to connect the phone to a computer for the initial setup, and you need to reconnect it to a computer everytime you reboot your phone. The app is also about $5. I'd wait for ICS unless you really need this capability now.
try pulling "Screen Grabber apk" from one of the X2 ROMs
it work GREAT on the Razr
Anyone can provide this?
Sent from my XT910 using XDA App
onemotodroid said:
try pulling "Screen Grabber apk" from one of the X2 ROMs
it work GREAT on the Razr
Click to expand...
Click to collapse
this is what i mean
I am using DDMS from Android SDK Suite. Yeah, you need to connect your phone to PC, but, still usable.
Here I attached my Home screen. BTW, I change the default Motoblur to stock Gingerbread Launcher2.
bahathir said:
I am using DDMS from Android SDK Suite. Yeah, you need to connect your phone to PC, but, still usable.
Here I attached my Home screen. BTW, I change the default Motoblur to stock Gingerbread Launcher2.
Click to expand...
Click to collapse
how do you do this exactly? sorry newbie
ddms is a part of Android SDK suite which you can download from android.com . This suite is Android software development kit for PC/Mac/GNU/Linux. Download the suite and related packages, enable Debugging mode in RAZR, connect to PC, and start the ddms program. This program is a java based program, which use adb to pull framebuffer from the phone and convert it to PNG format.
Beside using ddms, I explained how to use adb and ffmpeg to pull and convert the framebuffer into PNG in this post.
http://forum.xda-developers.com/showthread.php?p=20567738
You can look/google for ddms tutorials for further information.
There are several screen capture apps in Market which not requires rooting. I use this one, but, the developer need to add RAZR resolution to make it usable. Yeah, I choose this app and I don't mind the extra steps, because it is FREE.
https://market.android.com/details?id=com.ScreenCapture22
Hi, I'm author of DiskUsage application. The app shows graphical map of the used storage space, which makes it easy to find space hogs.
I have a few reports that the recent app updates breaks something on SGS2. Could some of you try my app and tell me what's exactly broken / doesn't work. It will be even better if you also attack output from 'cat /proc/mounts' command from your device.
I don't have SGS2 and can't fix the breakage without your help. Thanks in advance. Ivan.
It works fine for me. No problems yet.
Sent from my GT-I9100 using Tapatalk
It works really well for me with no problems.
It is also an extremely useful app to help me see what is using the space on my phone and SD card. This has just become one of my favourite apps. Thanks for writing this.
Works for me .
jje
Sent from my GT-I9100 using xda premium
I tried to do a rescan on my /sdcard but that made my phone boot.
The way you visualize folder usage is easy to understand and very useful. Great work
Sent from my GT-I9100 using xda premium
works fine with DXKI2. thanks for the app.
Thank you guys. I have no idea what the users complained about in the comments section on the app page. Usually, if you want to have something fixed it's better to send a email to developer, instead of putting a message in comments section.
Hey guys, I wrote an article over on our site that shows a quick walkthrough on how to display full desktop websites permanently on Chrome for Android Mobile so that you don't have to visit the mobile site, then hit "request desktop site" button any more. Considering Chrome is an awesome browser with full sync, and works very well on Jelly Bean, this might be of use to all of you. I know I was sick of having to constantly click the button.
Article: How To – Permanently Have Desktop Mode on Chrome Mobile for Android
Rooted device Instructions:
Copy the chrome-command-line.txt file attached to the post, then paste it into /data/local/ making sure to set the permissions to 755 and to remove the '.txt' file extension.
Flashable .zip, for the lazy:
You should know how to use this by now. Grab the attached ChromeDE.zip provided by XDA user djmcnz and flash away! (Thanks!) You can also drop him a thanks by visiting a post of his later in this thread.
ADB Instructions (for non-rooted devices):
Place the chrome-command-line.txt file in the root directory of your PC and rename it to 'chrome-command-line', then make sure your device is connected to your computer. When connected, issue this command:
Code:
adb push /chrome-command-line /data/local/chrome-command-line
You can also set the path on your computer where the file is located by replacing the first '/chrome-command-line' with the file location.
Cheers! Hopefully we'll see a better implementation of this in the upcoming 4.2 release.
Very useful. Instructions were clear and precise, Nice one!
thank you very well apreciated is there any chance you can write 1 on how to make it more stable?
b3ava said:
thank you very well apreciated is there any chance you can write 1 on how to make it more stable?
Click to expand...
Click to collapse
Thanks guys, glad I could help. Wish I knew how to make it more stable! It seems that it runs much better on Jelly Bean, but us ICS users are still stuck with it being really slow and buggy
Sent from my GT-N7000 using XDA Premium HD app
I am stuck trying to figure out what "set permissions to 755" means...
it seems in the video you just tick different boxes, how does that relate to 755??
Sent from my Transformer Prime TF201 using Tapatalk 2
bunnybash said:
I am stuck trying to figure out what "set permissions to 755" means...
it seems in the video you just tick different boxes, how does that relate to 755??
Sent from my Transformer Prime TF201 using Tapatalk 2
Click to expand...
Click to collapse
I'm using solid explorer off of the market (a free file manager) which allows you to set the permissions of a file. In solid explorer, they are set by ticking the correct boxes, whereas in other applications they are typed in by number..
Sent from my GT-N7000 using XDA Premium HD app
Hey thanks for this....huge chrome pet peeve of mine...
Can you write a command for FULL screen!!
When i click the download command file (on Nexus)it just opens to a large field with text...nothing downloads.
Suggestion?
thanks
rockky said:
Hey thanks for this....huge chrome pet peeve of mine...
Can you write a command for FULL screen!!
When i click the download command file (on Nexus)it just opens to a large field with text...nothing downloads.
Suggestion?
thanks
Click to expand...
Click to collapse
You can just copy the text and paste it into the correct location in a file called "chrome-command-line"
Sent from my GT-N7000 using XDA Premium HD app
Thanks very much...got it.
Hey, (cough , hate to push a good thing) do you think you could produce a similar command to enable full screen on chrome mobile?!!
QUOTE=omac_ranger;30213316]You can just copy the text and paste it into the correct location in a file called "chrome-command-line"
Sent from my GT-N7000 using XDA Premium HD app[/QUOTE]
rockky said:
Thanks very much...got it.
Hey, (cough , hate to push a good thing) do you think you could produce a similar command to enable full screen on chrome mobile?!!
QUOTE=omac_ranger;30213316]You can just copy the text and paste it into the correct location in a file called "chrome-command-line"
Sent from my GT-N7000 using XDA Premium HD app
Click to expand...
Click to collapse
Don't think it works that way mate. That one was built into Chrome, just enabled by the file.
Sent from my GT-N7000 using XDA Premium HD app
great guide. thanks for this. having to keep requesting desktop had become a bug bear for me
zionwolf said:
great guide. thanks for this. having to keep requesting desktop had become a bug bear for me
Click to expand...
Click to collapse
Exactly! Glad I could help!
Sent from my Transformer Prime TF201 using XDA Premium HD app
Good tip but it can be improved.
You don't need root to write to /data/local/ so in theory this trick will work for everyone, might pay to update the article.
djmcnz said:
Good tip but it can be improved.
You don't need root to write to /data/local/ so in theory this trick will work for everyone, might pay to update the article.
Click to expand...
Click to collapse
No? When testing with a Nexus 7 unrooted you cannot navigate to Data/local through Solid Explorer. Naturally I thought it had to be rooted. If you have had success with a different file manager (or pushed it through ADB) then letting me know what worked would be great.
omac_ranger said:
No? When testing with a Nexus 7 unrooted you cannot navigate to Data/local through Solid Explorer. Naturally I thought it had to be rooted. If you have had success with a different file manager (or pushed it through ADB) then letting me know what worked would be great.
Click to expand...
Click to collapse
You'll be able to get to it in a terminal window or adb - not sure what's up with Solid, equally an update.zip will work without root.
/data/local/ is r/w for the local user and shell.
try - echo test > /data/local/test.txt on a non-rooted device, it'll work.
Actually, now that think about it more - Solid probably can't list the contents of / (root) so you can't navigate to sub directories. Can you type a path into Solid? That should work.
djmcnz said:
You'll be able to get to it in a terminal window or adb - not sure what's up with Solid, equally an update.zip will work without root.
/data/local/ is r/w for the local user and shell.
try - echo test > /data/local/test.txt on a non-rooted device, it'll work.
Actually, now that think about it more - Solid probably can't list the contents of / (root) so you can't navigate to sub directories. Can you type a path into Solid? That should work.
Click to expand...
Click to collapse
I'll definitely test that out and put a guide for newbies on there. Solid displays the root directory, but will not allow you to navigate to a folder inside of it. I was thinking about ease of access for the user, and assumed they wouldn't want to go the adb route. My bad, but thank you for the heads up.
Sent from my GT-N7000 using XDA Premium HD app
omac_ranger said:
I'll definitely test that out and put a guide for newbies on there. Solid displays the root directory, but will not allow you to navigate to a folder inside of it. I was thinking about ease of access for the user, and assumed they wouldn't want to go the adb route. My bad, but thank you for the heads up.
Sent from my GT-N7000 using XDA Premium HD app
Click to expand...
Click to collapse
If you want it as easy as possible you could provide an update.zip for those with a custom recovery - that's going to be the simplest way. If you want to do that and need some help let me know.
does what is says on the tin
well spotted and thanks for posting
djmcnz said:
If you want it as easy as possible you could provide an update.zip for those with a custom recovery - that's going to be the simplest way. If you want to do that and need some help let me know.
Click to expand...
Click to collapse
Yeah I would love some help with that. I've never tried to compile my own before. I have a few tools bookmarked, but haven't gone through with testing them too thoroughly.
tony_man said:
well spotted and thanks for posting
Click to expand...
Click to collapse
No problem. Mind dropping a thanks? Waiting at 99 is a huge pain the arse.
omac_ranger said:
Yeah I would love some help with that. I've never tried to compile my own before. I have a few tools bookmarked, but haven't gone through with testing them too thoroughly.
Click to expand...
Click to collapse
No worries, I can whip one up in a few minutes when I get home.
In the meantime you can have a look at some here: http://djmcnz.batteryboss.org/GNexus/mods/StockLauncher/v4/
If you want to have a play and look at the script. It will need to be different for you of course, least of all because we'll be mounting /data instead.
I'll send you a PM later on once I'm home (I'm in Europe/CET).
PS - 100
Can't open link on phone
Sent from my MB860 using xda app-developers app
you just need to quote that message, copy the url and paste it on the browser...
Enviado desde mi MB860 usando Tapatalk 2
See my picture below, I'm not your run of the mill xda moron who can't copy and paste a url. :'(
Sent from my MB860 using xda app-developers app
WAHHOO, good news
i think too that this lg kenel can help; because it has the same tegra2 sco ; so source can be update with specific device id of the atrix. but i suppose that's is a hard work.
epinter update us
The link works on the phone, I just checked. It must be accessed through https, though.
Here it is again, for easy zero-effort clicking: https://github.com/epinter?tab=activity
BTW, next time some of you have problems accessing stuff on your phone, how about you just use your computer instead?
ravilov said:
The link works on the phone, I just checked. It must be accessed through https, though.
Here it is again, for easy zero-effort clicking: https://github.com/epinter?tab=activity
BTW, next time some of you have problems accessing stuff on your phone, how about you just use your computer instead?
Click to expand...
Click to collapse
Thx for trying but https on the phone still won't allow the page to open (screenshot below if you're curious), anywho it doesn't matter anymore because I just checked in on my PC at home after I got back from work. I try not to use my work computer for non work related items and especially any that may use the word hack in the subject.
Sent from my MB860 using xda app-developers app
And now I can't upload images, oh well moving on with life now.
Sent from my MB860 using xda app-developers app
boasting avercm
what browser you use
hello all Dev team ..
we know that you wok on the new kernel from lg to adapt it to the atrix .
could you tell us about you're progress ??
we know that it's not easy and can take time but do you tell us (user community) if you think that we can hopes for a kernel with HW working ??
thanks for all your application , you're are great
sent from my E72
guys, you don't learn, do you?
They are working, i think if they have news, you'll hear soon. This is a forum, if you want news, you READ first, then ask LATER.
Also please take note of the post's date.