yashsingh1/xdaforums huggingface dataset:
[myTouch 4G Android Development] zodttd:
Hi,

I made this post in the EVO 4G Android Development forum but it's also relevant here. As this information may result in crosstalk between MT4G ROM implementations and EVO 4G implementations, I posted it here as well. I hope that's ok.

I am the author of psx4droid. It's a PSX emulator that uses a dynarec. Due to the nature of this code I can have to invalidate the instruction cache on these Android's ARM processors. Just like Yong must do in GameBoid.

I noticed performance loss on the Evo 4G, MyTouch 4G and potentially others. As do some people running GameBoid (though this emulator lays heavy on frame limiting as it runs faster than 60 FPS so it's not noticed as much).

Both these arch's (ARCH_QSD8X50 for the Evo 4G and ARCH_MSM7X30 for the MyTouch 4G) have an oddity when it comes to flushing the "icache".

As seen in these platform's kernel sources at ./arch/arm/mm/cache-v7.S the *ENTIRE* icache is flushed on each cacheflush syscall!

The fix for my performance loss, and others, is to only clear the range specified for userland cacheflush's. While this may not help much besides apps that use cacheflush a lot like emulators, it will help these apps greatly.

My hope is someone can release ROM(s) for the Evo 4G and/or the MyTouch 4G with this fixed. Thanks!

Here's the offending code. Note "mcr p15, 0, r0, c7, c5, 0" clears the entire icache as well as others.

ENTRY(v7_coherent_user_range)

UNWIND(.fnstart )

dcache_line_size r2, r3

sub r3, r2, #1

bic r0, r0, r3

1:

USER( mcr p15, 0, r0, c7, c11, 1 )

add r0, r0, r2

2:

cmp r0, r1

blo 1b

dsb

mov r0, #0

mcr p15, 0, r0, c7, c5, 0

dsb

isb

mov pc, lr

9001:

mov r0, r0, lsr #12

mov r0, r0, lsl #12

add r0, r0, #4096

b 2b

UNWIND(.fnend )

ENDPROC(v7_coherent_kern_range)

ENDPROC(v7_coherent_user_range)

Here's a faster version of this function from the Samsung Fascinate (Galaxy S) that clears a range as it's supposed to:

ENTRY(v7_coherent_user_range)

dcache_line_size r2, r3

sub r3, r2, #1

bic r0, r0, r3

1: mcr p15, 0, r0, c7, c11, 1

dsb

mcr p15, 0, r0, c7, c5, 1

add r0, r0, r2

cmp r0, r1

blo 1b

mov r0, #0

mcr p15, 0, r0, c7, c5, 6

dsb

isb

mov pc, lr

ENDPROC(v7_coherent_kern_range)

ENDPROC(v7_coherent_user_range)
[myTouch 4G Android Development] eViL D::
Can you give a diff on this?
[myTouch 4G Android Development] stratax:
so, what exactly do we do? lol, i use psx4droid alot and yeah it does lag more then it should.

do we do this through terminal or what?
[myTouch 4G Android Development] edru:
Its to be added to the code of the kernel itself.

As stated:

As seen in these platform's kernel sources at ./arch/arm/mm/cache-v7.S the *ENTIRE* icache is flushed on each cacheflush syscall!
[myTouch 4G Android Development] stratax:
i have no clue how to do that so i guess ill skip on this until there is a easier way lol.
[myTouch 4G Android Development] Zoltair Wright:
Maybe grankin can include this in one of his custom kernels?
[myTouch 4G Android Development] stratax:
i agree with this aha
[myTouch 4G Android Development] 5377brian:
I'm probably wrong so correct me if i am, but isn't the MT4G QSD8x50, not MSM7x50...isnt that the G2?
[myTouch 4G Android Development] setzer715:
MT4G has neither of those, it had the MSM8250.
[myTouch 4G Android Development] itmustbejj:
I'm just happy zodttd is still willing to work on android phones after how bad Google f*$#&'d him over on his launch of psx4droid on the market :)

Thanks zodttd.
[Droid 2 Global General] Galaid:
Hello guys,

Desire/Nexus1 doesn't support playing flash movies from this popular site:

http://tv.winelibrary.com/

Could anyone with Droid2 try to play it and see if it goes for more than first 30-40 seconds?

I've wrote a thread about this problem and opened a case @ Adobe

http://xdaforums.com/show....php?p=9781112

Thank you.
[Droid 2 Global General] Xyzkid13:
Tried it on my droid X, droid 2 Global, and Nexus one. All play the videos fine... Granted, my Nexus isn't stock, but it should work fine for you anyway. Is this the only site that gives you issues?
[Droid 2 Global General] Galaid:
Are you sure that you leave video to play for at least a minute or a bit more? In the xda thread I posted there are more info about a problem. Yes, this is only site that is giving me problems.
[Droid 2 Global General] rusty815:
I let it play for about 2 minutes, it ran just fine.
[Droid 2 Global General] Master Turkey:
Load takes a while. Running 3g on Verizon. But it works fine.

Sent from my Rooted Droid 2 Global
[Droid 2 Global General] Galaid:
Thanks guys, it seems to be some strange bug only happening on Desire with any ROM (Sense, 2.2.1, 2.3.1).
[Windows Mobile Apps and Games] rosco544:
Does anyone know of any good apps that can manage startup programs in Windows Mobile? Like if I wanted a certain program to be automatically started each time after a soft reset.
[Windows Mobile Apps and Games] kroolas:
Windows\StartUp ?
[Windows Mobile Apps and Games] farkzoli:
Total Commander is very good app for this :) You can create shortcut into windows/start folder to an exe file.
[Windows Mobile Apps and Games] Michael_robert:
Hi rosco544,

I have used two startup programs on my Windows Mobile. You can also download and use it:

Startup Manager 1.0

Mobile Startup Cleaner v1.0

You can easily download it.
[Nook Color General] wowmail:
Hi,

First THANK YOU for all your hard work.

I have rooted my Nook, its perfect!

But B&N had to reset my web account, so I have to erase and de-register. Then re- register.

What would you recommend as easiest full backup method to get me back to where I am now.

I do have the SDK loaded.

Thank you,

Joe

FACTS:

I got Nook on Friday, registered it and could read and order books. Rooted it, it was terrific, duplicated all the apps on my EVO (non phone apps. ) Then I go to web site, they make me create a new account. I use same Email and password.

Well the accounts are not linked. so I have to erase and de-register.

I tried backed up applications to my PC, and copied my SD card over.

Is that It? or should I use an image back up.

TIA!!

Joe
[Nook Color General] wvcachi:
Before restoring, try opening NookColor Tools app, go to settings, then at the bottom, there are three links called Wireless, click on the second one, and I think it'll let you register again without restoring anything.

If you don't have NookColorTools yet, it's in an xda thread.
[General Questions and Answers] gsangrey:
I hope someone can help me! Im looking for a windows mobile app to use on my HP IPAQ Glisten where I can take a picture of the VIN number on an automobile or barcode and insert the text into another running app. I purchased an Socket SDIO infrared barcode scanner for another phone that worked great by scanning barcode, converting it to text and inserting into another program you could designate in setup. I dont have SDIO slot now ant want to use camera. Thanks all!
[General Questions and Answers] godsky:
I think you should buy SDK and develop the application yourself or hire some one develop the program for you. AIPSYS has the professional SDKs and professional teams for program customization.
[Windows Mobile Development and Hacking General] rao85:
(W71) I have a WM 6.5 rom for the MFU W71 but it is in Chinese. Anyone willing to translate it to English or PTB? Or me? :):)

Thanks! And excuse me my bad english .

Interested please reply to give a rom
[Windows Mobile Development and Hacking General] scd332001:
hi, go to solomoni site to news and you find your rom in another language!
[Windows Mobile Development and Hacking General] eFFeRaTuM:
i have the same problem too...

do you have a link? i can't find it.

please pm me, thank you.
[Windows Mobile Development and Hacking General] b0gdi:
could someone cook an english version of wm6.5. Please help

on solomobi it's te 6.1 version
[Captivate Q&A, Help & Troubleshooting] ddpacino:
I have a friend who currently has a Sprint BB (Tour) with a SIM card. He's looking to get the Captivate because it has a SIM card slot. I already know of the two different Network Types (GSM vs CDMA), and their different network frequencies. I was just curious if that SIM would work in that phone?
[Captivate Q&A, Help & Troubleshooting] bradleyG:
I would highly doubt it. But give it a shot :D

Sent from my captivate so excuse the spelling mistakes(:
[Captivate Q&A, Help & Troubleshooting] ddpacino:
Thanks, but I also read that the frequencies supported in the BB include the ones supported by AT&T network , 850MHz and 1900 MHz. We will just have to see tho..
[Captivate Q&A, Help & Troubleshooting] metalgeek:
No. Sprint & Verizon used CDMA networks. AT&T and T-mobile use GSM. Completely different radios. Square peg/round hole.
[Captivate Q&A, Help & Troubleshooting] ddpacino:
Thanks. I understand the CDMA/GSM differences, just thought that the SIM would support GSM networks and with the Captivate being a GSM phone, it would just work. But w/o an AT&T account, that just really wouldn't work out.
[Captivate Q&A, Help & Troubleshooting] shamelin73:
Sprint sim in the BB is for overseas use making it a global phone. The sim that is in there should be Vodafone or something like that. It is so it can be used in the UK or accross the pond.

You can have the BB unlocked and put an ATT sim in it and use the edge network but no 3g. But the sim that is in the BB now will not work on ATT network.
[Captivate Q&A, Help & Troubleshooting] agentfusion:
Negative. It's not for use overseas like Verizon's BlackBerry devices.

The reason for the SIM Card in the Sprint BlackBerry devices is for connection to the old Nextel IDEN network for their push-to-talk system.

What that means is, though, that it will -not- work in a Samsung Captivate because though the IDEN SIM is the same size/shape as a GSM SIM, but they are not even remotely the same. Still square peg/round hole like a previous poster said.
[Desire General] mercuryblue:
Can anybody help me out to go back to stock rom for US cellular based Htc Desire (CDMA) ?
[Desire General] Avatar190:
I am looking for this as well, since I'm considering rooting to a custom ROM...
[Desire General] friedkimchi:
All here

The list of roms available are all compiled here. Take a look.

http://xdaforums.com/showthread.php?t=809328
[Desire General] Avatar190:
Thank you for the link, appreciated. Doesn't appear to have a stock USCC ROM on the list...oh well. :)
[Windows Phone 7 Development and Hacking] kuerbis2:
Hi all,

has someone tried to get privileged access to wp7 via calls to conmanclient3? The RemoteAgent settings are all there (C:\ProgramData\Microsoft\Phone Tools\CoreCon\10.0).

Visual Studio 2010 does use the new CoreCon 10 files if it deploys to a real wp7 device. If it deploys to the emulator it does use the 5.1 files instead.

It looks like the settings for the 10.0 files differ from prevoius versions as the SmartDevice Tools of VS2008 (Plattformbuilder 6 based) won't work with the new files.

But in theory it should be possible to get access via a RemoteAgent (h__p://msdn.microsoft.com/en-us/library/microsoft.smartdevice.connectivity.remoteagent(v=VS.90).aspx), shouldn't it?

As cormanclient3, CMAccess and friends are all signed by microsoft and consist of native code it would be interesting to talk to someone who has already created a RemoteAgent based connection to a smartdevice. Is there someone out there?

Best regards,

-tobias
[Windows Phone 7 Development and Hacking] l3v5y:
From the WP7 Developer Tools Application Deployment Tool, I'm pretty sure it's only using the CoreCon 10.0 files.

My RemoteExecute program here is using the Device classes (though I might have rewritten it a bit to get the Device.ConManServer), I'll now try the sample you linked too, and see if I can get it to work. File manipulation using the ConManServerseems to give lots of "Access Denied" errors, which I'm trying to work out why, and there's some stuff to be done with registry access as well, but this is the only way I've yet found of controlling the device from a desktop, without extra on device apps.
[Windows Phone 7 Development and Hacking] kuerbis2:
I check it with procmon, if you deploy to the emulator is loads the 5.01 files.

The MSDN Sample from above won't work as the service ids are from an older ce version. You need to use the ids from the file in corecon 10 addon folder.

do you get "access denied" or "not implemented" errors? Would be interesting if there is another set of files in the platform builder 7 which do implement additional functionality. I'd seen your remote execute program but I think the trick is to get a remoteagent running (looks like that's what visual studio does to get the debugger working).

regards,

- tobias
[Windows Phone 7 Development and Hacking] l3v5y:
Ah, I'm just checking the Application Deployment tools, rather than the debugger, which would be a lot more useful... I think the emulator isn't really emulating, it's running using x86 code, and just acting like a WP7 environment (unlike the older emulators that emulated the entire hardware).

Will find the IDs for corecon 10 then, as that might make things work! :D (I've got device connections working, device name is "Windows Phone 7 Device".

I get Access Denied with most of them, though there is at least one function that's not implemented somewhere (I can't remember which one it is though!). The file manipulation APIs are quite different in the latest version of Microsoft.SmartDevice.Connectivity, with things like ProvisionDevice() not exisiting at all.

Will look at getting a RemoteAgent running, the functions are all there, and implemented, I just need the right IDs.

I can upload my code somewhere if you want (it's a little messy though!)
[Nook Color General] dennisi01:
Hey all. I've got my new nc all rooted and happy,i just set aldiko up and noticed it doesnt save progress after the app closes like it does on my droid. Is there any way to remedy this? Thanks in advance!
[Nook Color General] ewong90:
You can add a bookmark from the app menu. I think it resets to the beginning of the chapter you were in after you close the app and reopen it.
[Nook Color General] mrschwarz:
I would like an answer to the original question, too. While the bookmark functionality is nice, I would also like Aldiko to remember where it closed.
[Nook Color General] svennn:
After I showed my rooted NC to my brother he had to have one. He went out the day after xmas and bought one, handed it to me and asked me to work my stuff on it.

The problem is that I rooted it with my gmail credentials and now I can't change that or delete them in any way. I did add his, but mine can not be deleted as far as I can see.

Any help? Is a factory reset and re-root the only way I can do this?

Thanks,

Steve
[Nook Color General] peiziyu:
http://xdaforums.com/showthread.php?t=877195

That should contain the information you need, though I think most people have simply been re-rooting. Also, the apps you installed through Market are tied to your Google account, so if you change to his, I *think* you'll lose access to your paid apps.
[Nook Color General] svennn:
I ended up doing a factory reset and then re rooted the NC.

Nothing else would work.

-Steve
[Nook Color General] Mikroft:
I did the method posted in the link above. Needed to install speedsoftware's sqlite editor though.
[Nook Color General] hungry4cheese:
But you still managed through just editing that one db file right?
[Nook Color General] Mikroft:
Yup. I just edited the db file above and removed the duplicate account I created. Upon rebooting all was well.
[Vibrant Q&A, Help & Troubleshooting] c-brit323:
What the heck isnt voodoo supposed to give you an extremely good score? Im only getting between 900 and 1000. I got better scores with super IO.
[Vibrant Q&A, Help & Troubleshooting] GreggoryD502:
Are you sure that voodoo is enabled? There is an app in the market you can download for free that will tell you for sure.

Powered by Axura with a dash of Voodoo
[Vibrant Q&A, Help & Troubleshooting] sarge363:
I dont know why everyone is so obessesed with quardrant scores. They are not accurate with our hummingbird processors. Also Voodoo doesn't give u the best quadrant scores. I usually get about 1500. I would get over 2000 with OCLF. But voodoo is much better user experience. My suggestion is not to worry so much about scores and focus on how ur phone operates. This is the true test.

Sent from THE Vibrant......
[Vibrant Q&A, Help & Troubleshooting] epakrat75:
I imagine you installed Voodoo for more than just a boost to your Quadrant score, right? :D

Anyway, it would seem to me that Voodoo is not active. However, do as post #2 says and report back. It'd also be helpful to know what kernel / ROM you are running.
[Vibrant Q&A, Help & Troubleshooting] MilkPudding:
My exact thoughts. I always LOL at people trying to focus on the numbers instead of the overall experience.
[Vibrant Q&A, Help & Troubleshooting] Drewstein:
I'll bet voodoo isn't active. Check your voodoo folder and see if it's disabled.

I went from 900s to 1400s in Quadrant with it.
[Vibrant Q&A, Help & Troubleshooting] HRodMusic:
What would this app be bro?
[Vibrant Q&A, Help & Troubleshooting] willsnews:
http://www.appbrain.com/app/voodoo-toggle-reboot-button/com.zennmaster.rebootButton

Here ya go this was brought to you not by me but another member named s15274n but now you can thank us both
[Vibrant Q&A, Help & Troubleshooting] c-brit323:
Yeah its enabled, but im using stock froyo.... And another thing, when it gets to the I/O part of the test it stick on1/4 (database writes or something) for about 2 minutes before moving on.
[Vibrant Q&A, Help & Troubleshooting] vapotrini:
Try clearing Quadrant's cache and see if that helps.

Settings>Applications>Manage applications>Quadrant
[Vibrant Q&A, Help & Troubleshooting] bobbbb:
Quadrant is an unreliable synthetic score that doesn't mean anything. How does your phone feel?
[Vibrant Q&A, Help & Troubleshooting] xriderx66:
It gives a good overlook though.

With voodoo people need atleast, 1400.
[Vibrant Q&A, Help & Troubleshooting] Sdobron:
It's definitely not enabled or it's not enabled on all partitions. Check the voodoo log folder on your internal SD card and let us know the results of the conversion. Also reboot into recovery and check if it says voodoo is enabled there (if you're using one of supercurio's new kernels).
[Vibrant Q&A, Help & Troubleshooting] geoffcorey:
the latest incarnations of voodoo don't show you a quadrant number like they did when voodoo only did /data.

So yes, ~1100 is normal for the latest voodoo releases.
[Vibrant Q&A, Help & Troubleshooting] xriderx66:
Really?

I have the new one and mine shows up as about 1500
[Vibrant Q&A, Help & Troubleshooting] c-brit323:
Switched to oclf 2.2. Getting 1800+ :D
[Vibrant Q&A, Help & Troubleshooting] Whitehawkx:
Just got off the phone with Cleo and she said you don't have voodoo enabled. It should never hang on the first phase of I/O test, only for a bit on 3/4. Easy way to know is download the app terminal emulator and simply type mount. All partitions should show up as ext4. Voodoo is way safer than oclf btw, but as long as you are happy then that's all that matters. :)
[Nexus S Q&A, Help & Troubleshooting] Smilez_c:
So,...My girl is taking the NS back because it doesn't have a zoom feature in the camera app? I mean she is reaally upset about that...Share ur thoughts !
[Nexus S Q&A, Help & Troubleshooting] krumb:
what are you expecting to be "shared"?

no zoom on the camera app is the deal breaker?

are you trolling?

what is the point of this post?
[Nexus S Q&A, Help & Troubleshooting] unremarked:
Yes, as noted in the stickied FAQ, there is no digital zoom in the camera app like on other Android devices. As far as I know, and I'm sure someone will be quick to correct me, there hasn't been a real zoom on any phone.

Personally, this didn't bother me because the digital zoom always looked like crap lol.
[Nexus S Q&A, Help & Troubleshooting] shrivelfig:
You should explain to her the difference between a mobile phone and a digital camera. And if she thinks that she can get the best of both (all) worlds in a single device, perhaps you should tell her about this thing called ... money?

:rolleyes:
[Nexus S Q&A, Help & Troubleshooting] unremarked:
Bad idea, mate. Talk to a gal about money and all she hears is, "Let's go shopping!" ;)
[Nexus S Q&A, Help & Troubleshooting] :
Nearly all cell phone cameras lack "zoom".

What you see in cameras labeled "zoom" is actually cropping, so you end up with a lower quality crop.

Explain that and she'll be okay.
[Nexus S Q&A, Help & Troubleshooting] theimpaler747:
Please stop the arguing in this thread, or it will be closed and infractions/warning PMs will be sent. Thank you.

Edit: Thread cleaned from all the nonsense. Please, keep this on track.
[Nexus S Q&A, Help & Troubleshooting] mmas0n:
Explain that all she's ever had on any phone is digital zoom which is not supported in the stock Android camera app. There are alternative camera apps in the Market if it's really important to her.
[Nexus S Q&A, Help & Troubleshooting] :
They down sample. There is no issue with downsampling. Upsampling (digital zoom) degrates the image.
[Nexus S Q&A, Help & Troubleshooting] ekerazha:
Upsample. Usually on smartphones the sensor is not 720p capable but it has a lower resolution, so you get 720p recording by upsampling frames. However this is off-topic :)
[Nexus S Q&A, Help & Troubleshooting] ajftl:
its called crop it..done looks waaaaay better
[Nexus S Q&A, Help & Troubleshooting] Smilez_c:
I'm liking the responses
[Nexus S Q&A, Help & Troubleshooting] avniii:
werd theres not really a big use for zooming in anyway just take a pic and pinch to zoom it looks fine tbh. Not a good reason to return a good phone lmfao tell her to send it back get a free phone to make fone calls and text and buy a digital camera so she can take some ugly facebook pics
[Nexus S Q&A, Help & Troubleshooting] :
Nope, video is downsampled from the sensor resolution.

720p frames = 1280×720

5MP sensor size = 2560×2048

The image captured by the sensor is downsized to the 720p size.

The reason cellphones aren't capable of 720p is because the hardware can't keep up with downsizing each frame that the camera is capturing.

Digital zoom in video means downsizing from the sensor resolution to the video resolution. Then upsampling the image information again to make it fit to the recording resolution. You're not gaining anything from digital other than introducing alot of noise.
[Nexus S Q&A, Help & Troubleshooting] tekkitan:
Tell your girl to get an iphone.
[Nexus S Q&A, Help & Troubleshooting] ekerazha:
So it can downsize to 480p but it can't downsize to 720p... interesting lol :D:D
[Nexus S Q&A, Help & Troubleshooting] Smilez_c:
Lol ..
[Nexus S Q&A, Help & Troubleshooting] DKYang:
There, I fixed it for you. :p
[Nexus S Q&A, Help & Troubleshooting] :
Oops, I typed that out wrong. It can't keep up with processing the captured frames after downsizing.
[Nexus S Q&A, Help & Troubleshooting] ekerazha:
Nope. There isn't any "downsizing", they are captured at lower resolution than the max resolution available (because of the bus width), usually the resolution is lower than 720p, then they are processed and upscaled to 720p.
[Nexus S Q&A, Help & Troubleshooting] :
No. The entire sensor is used to capture the optical information. The full image is then downsized to recording resolution. Then it's spit out to be processed for video composition(the part where most of todays' phones choke with a 720p image).

The iphone is one of the only phones that takes only part of the sensor information for processing (whis is why it can do it at 30 fps), but this is "cheating" as it's not really processing full information from the sensor.

No.
[Nexus S Q&A, Help & Troubleshooting] ekerazha:
Nope. The frame isn't downsized, it's taken at lower resolution from the beginning (because of bus width limitations).

However you're lucky, I erroneously clicked on "Thanks" on your post :D

This is impossible because of bus width limitations (also, it's a nonsense).
[Nexus S Q&A, Help & Troubleshooting] :
You have no idea what you're talking about. Please look into how digital image sensors work.