[Q] We will have vsync on desire? - Desire Q&A, Help & Troubleshooting

I am very excited seeing kernel 3.0 being developed for Desire. But we will have vsync on our device? Butter is just a new thing that is very eye-catchy and it could bring a lot of speed on JB for Desire

AFAIK the hardware is incapable of vsync, but i've seen some sort of software vsync related change in some ICS or JB (dont remember) commits. Guess it will end like hw accel for ICS, as software based hack... I trust on our fellow devs

Related

[DEV] Idea for using 3.0 Desire kernel - Attention Kernel Devs

Hi all.
Not sure whether this was the right place to post, but coming from a development perspective, I thought it was fitting. If not, mods - please feel free to move.
This thread is here to bring the currently worked on 3.0 kernel for the Desire to the HD2 developers' attention. There is minimal difference in the Desire hardware when compared to the HD2, and therefore would probably not be a difficult port to perform.
The main benefit of porting this kernel over to the HD2 is the improvement in ICS, namely through Hardware Acceleration. Although it hasn't been confirmed yet, the OP over in the Desire thread seems to think Hardware Acceleration is working.
I'm reaching out to all the HD2 developers to collaborate their efforts in an attempt to port this over to HD2 - it will bring us an even more well-rounded ICS build, extending the already expanded boundaries of our beloved HD2's.
The link to the original thread is here.
The link to the github source code is here.
All credits go to Chaosz-X for the current work on the kernel. I am simply acting as a messenger.
I wish you guys luck, and hopefully it won't take long to get some work going on this!
MrP.
It is not as easy as you might think. Altough the hardware is the same the radio is completely different because it is from windows mobile. Wich makes most of the work on the ics kernel useless. No and radio's can not be changed easily because they are closed source.
then how did the desire 2.6.35 kernel get ported ?
I thought hardware acceleration was already working in ICS.
jan-willem3 said:
It is not as easy as you might think. Altough the hardware is the same the radio is completely different because it is from windows mobile. Wich makes most of the work on the ics kernel useless. No and radio's can not be changed easily because they are closed source.
Click to expand...
Click to collapse
Forgive me for my lack of extensive knowledge in the kernel department, but, considering that quite a few of the currently developed kernels for the HD2 are based on the Desire sources, I would've assumed that what was done before in porting the 2.6.35 kernel, could be adapted to work with this kernel.
Once again, not saying that's right, because I'm basing that conclusion off logical thought, not experience.
Visentinel said:
then how did the desire 2.6.35 kernel get ported ?
Click to expand...
Click to collapse
My point above exactly. If it's been done before, surely the steps needed to adapt the 3.0 kernel are not far out of reach. The people I think we should be talking to are marc1706, and tytung. I'll pop them a PM when I have a moment.
KyJelly69 said:
I thought hardware acceleration was already working in ICS.
Click to expand...
Click to collapse
It's not true Hardware Acceleration - its a hack of sorts. It gives a boost in performance no doubt, but most likely no where near true Hardware Acceleration.
Thanks for the input guys.
MrP.
It might be possible to port the 3.0 kernel to the HD2 but the thread you linked is currently providing a 2.6.35.14 kernel. They are planning on releasing a 3.0 kernel.
In order to get a 100% supported hardware acceleration we will need a 3.0 kernel, since ICS was build for the 3.0 kernel. It's pretty much the same with the glitches in sense 2.1 and 3.x ROMs we had prior to using the desire .35 kernel.
marc1706 said:
It might be possible to port the 3.0 kernel to the HD2 but the thread you linked is currently providing a 2.6.35.14 kernel. They are planning on releasing a 3.0 kernel.
In order to get a 100% supported hardware acceleration we will need a 3.0 kernel, since ICS was build for the 3.0 kernel. It's pretty much the same with the glitches in sense 2.1 and 3.x ROMs we had prior to using the desire .35 kernel.
Click to expand...
Click to collapse
Thanks for your input marc1076.
I am aware that it's not 3.0 yet, however, he has backported quite a few things for now, mainly concerning hardware acceleration (as written in the OP).
Would it not be a good step to then try this kernel on our current ICS builds in the hopes of any improvement? Or perhaps alternatively incorporate the backports (possibly more difficult) into our current ICS kernel(s) in an attempt to edge closer to true Hardware Acceleration?
A few thoughts, may be possible, or not - feel free to correct me. Thanks again for the advice.
MrP.
MrPadie said:
Thanks for your input marc1076.
I am aware that it's not 3.0 yet, however, he has backported quite a few things for now, mainly concerning hardware acceleration (as written in the OP).
Would it not be a good step to then try this kernel on our current ICS builds in the hopes of any improvement? Or perhaps alternatively incorporate the backports (possibly more difficult) into our current ICS kernel(s) in an attempt to edge closer to true Hardware Acceleration?
A few thoughts, may be possible, or not - feel free to correct me. Thanks again for the advice.
MrP.
Click to expand...
Click to collapse
Once I see some true ics kernels with specific commits for ics you will see them appear in our kernels.
Sent from my HTC HD2 using XDA App
warrenb213 said:
Once I see some true ics kernels with specific commits for ics you will see them appear in our kernels.
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
Thanks for your reply warrenb213.
However, I'm kinda lost as to what you are saying - are you saying that our current kernel (namely Tytung's kernel) for ICS is not a proper ICS kernel (which it isn't really, it's adapted from GB kernel from what I can tell), and until we have a kernel dedicated to ICS, there won't be any of the above mentioned additions?
If that's the case, what is your reasoning for saying that if I may ask? And also, where can these 'true' ICS kernels be sourced from? (As far as I know, the only 'true' ICS kernels around are based on 3.0, which in essence, defeats the object of us porting these additions back in the first place).
MrP.
MrPadie said:
Thanks for your reply warrenb213.
However, I'm kinda lost as to what you are saying - are you saying that our current kernel (namely Tytung's kernel) for ICS is not a proper ICS kernel (which it isn't really, it's adapted from GB kernel from what I can tell), and until we have a kernel dedicated to ICS, there won't be any of the above mentioned additions?
If that's the case, what is your reasoning for saying that if I may ask? And also, where can these 'true' ICS kernels be sourced from? (As far as I know, the only 'true' ICS kernels around are based on 3.0, which in essence, defeats the object of us porting these additions back in the first place).
MrP.
Click to expand...
Click to collapse
First of all, tytung's kernel which is based on hastarin's sd kernel is a base of .32 kernel from froyo source of the eVO 4g. It was not supposed to be used in gb but since it works, no worries.
Even though AOSP is opensource, the driver code for the devices is not, which makes porting difficult and moreso when the device actually never had any drivers for that specific os (read Android on HD2).
There is already an initiative (thread to be precise) in the qualcomm developer forums pleading them to opensource the qsd8250 drivers so that devs who are not so rich can backport ics to n1, desire (or HD2 for that matter) since it is clear that HTC certainly won't and google too has given up n1.
What tytung did to make his kernel work with ics is add upon the old base, it works but is dirty and should lead to unexpected issues.
The true ics kernels are based on the 3.0.1-tag of linus's repo.
You can sync into linus's 3.0.1 and compare it to the kernel source code of Galaxy Nexus, see the android changes, port them to the vanilla kernel, copy htcleo board files while rebasing them on 3.0.1 and adding the radio code from current kernels. It is far easy to say this than to actually do this when looking at the staggering size of the linux codebase.
The question is how many of the HD2-specific changes were broken by
a) changes in the upstream Linux codebase in between 2.6.32 and 2.6.40 (aka 3.0)?
b) android-specific changes between Froyo, GB and ICS
EDIT: There seems to be a working (except for USB mass storage) 2.6.35 kernel here. This at least reduces the number of upstream code changes to deal with.
Dr_Grip said:
EDIT: There seems to be a working (except for USB mass storage) 2.6.35 kernel here.
Click to expand...
Click to collapse
USB mass storage works, confirmed it once again. USB Tethering doesn't work. Still working on it.
Dr_Grip said:
The question is how many of the HD2-specific changes were broken by
a) changes in the upstream Linux codebase in between 2.6.32 and 2.6.40 (aka 3.0)?
b) android-specific changes between Froyo, GB and ICS
EDIT: There seems to be a working (except for USB mass storage) 2.6.35 kernel here. This at least reduces the number of upstream code changes to deal with.
Click to expand...
Click to collapse
And a fully working one here
Visentinel said:
then how did the desire 2.6.35 kernel get ported ?
Click to expand...
Click to collapse
Because it was an htc kernel just like the prevous evo 4g kernel so porting it was more easy. If you look at the 2.6.35 cm kernel it is highly unstable and the MSM kernel is also an AOSP kernel like the cm kernel.
jan-willem3 said:
Because it was an htc kernel just like the prevous evo 4g kernel so porting it was more easy. If you look at the 2.6.35 cm kernel it is highly unstable and the MSM kernel is also an AOSP kernel like the cm kernel.
Click to expand...
Click to collapse
That does not make sense, I think. If the Desire devs get a working kernel for the Desire, the changes needed to make it working on the HD2 should be the same no matter if they are starting from a HTC or an AOSP codebase.
That it will be more complicated to get a working 3.0 Desire kernel without HTC's codebase is a challenge the Desire devs will have to face unrelated of the porting effort to the HD2.
uzi2 said:
And a fully working one here
Click to expand...
Click to collapse
Can you confirm that everything works?
My kernel is forked from ACA 2.6.35 non-sense and developed further...
fhasovic said:
Can you confirm that everything works?
My kernel is forked from ACA 2.6.35 non-sense and developed further...
Click to expand...
Click to collapse
There are voice recorder issues in the current version, but these are fixed in the latest release 0103
Swyped from my aHD2oid
SPEAKING FOR THE NOOBS
I LOVE MY PHONE TO ME IT'S SUPER FAST,
BUT WHAT YOU GUYS ARE SAYING IS THAT IF WE HAD A NATIVE ANDROID WITH THE SAME SPECS AS OUR HD2 IT WOULD BE EVEN FASTER AND BETTER?
THIS IS MY FIRST SMART PHONE SO I'M JUST CURIOUS ABOUT THAT.
Sent from my HD2 using xda premium
turn your caps lock off.
Short answer: You can expect the same performance from the HD2 as from the Nexus One and Desire, given it runs the same software.
Slightly longer answer: This is a development thread. What we are talking about is getting the linux kernel (think: core of the system) version used by ICS running on our phone.
Getting this to work -as opposed to trying to get a Froyo/GB kernel working with ICS- would benefit both performance and stability.
There are some issues with that. Most of them are related to the fact that Google and HTC have dropped official support for the Nexus One and Desire. The only issue related to the HD2 not being an native Android phone is the need for a special radio driver.
EDIT: If you tried to be funny: You failed.
uzi2 said:
There are voice recorder issues in the current version, but these are fixed in the latest release 0103
Swyped from my aHD2oid
Click to expand...
Click to collapse
Uzi is correct. Ill be doing a fs thing soon, a Bluetooth thing soon, and more cam related stuff. But overall 99% is fully working.
Sent from my HTC HD2 using XDA App

[Q] Which is the best ICS ROM for Desire?

Hi everybody!
I'd like to know which is the best ICS Rom for our HTC Desire...
At the moment i'm running Cyanogen7.1 and everything is fine, but i'm tired of gingerbread and don't want to wait Cyanogen9 to be stable
So, in your opinion, Which is the best rom for everyday-use?
I know there are camera issues, but this doesn't matter to me
What i'm looking for is good stability, good script for application to ext, and good (fast) browsing experience!
Also have a question:
What kind of Hardware Acceleration are ICS Rom using? Is it native support with latest Adreno driver or other?
The best ICS rom is to use the search function and try yourself.
Gesendet von meinem HTC Desire
muellersmattes said:
The best ICS rom is to use the search function and try yourself.
Gesendet von meinem HTC Desire
Click to expand...
Click to collapse
I supposed that someone would answer this way
but i don't have the time to try all the ICS Roms... So i would be grateful if someone that have tried various roms will give me any suggestion
Oh my look what I've found here using the handy search tool.
Five pages full of replies as to what is the best ICS rom. How convenient. All I have to do is give a little bit of my time to read them all and take it from there. I don't have to create a new thread, wait all day for replies that ends up flaming me.
Cristian.CT46 said:
What kind of Hardware Acceleration are ICS Rom using?
Click to expand...
Click to collapse
Whatever it uses, it is not up to the task. kite edit: uncalled for :/
Edited by moderator. Maybe best if I removed the whole post so someone wouldn't think I'm actually being helpful in these kind of threads.
There is no "best ROM", most ROM's are different and people like different things.. some people prefer "eye candy" and other AOSP highly customizable ROM's.
It's up to personal preferrence.
I think there are only three anyway, and one of them is miui. So, try bcm and sandvold and see which one you prefer. Sorry I cannot help you more, because I never flash beta roms on my phone. I am using it too much...
sudkcoce said:
I think there are only three anyway, and one of them is miui. So, try bcm and sandvold and see which one you prefer. Sorry I cannot help you more, because I never flash beta roms on my phone. I am using it too much...
Click to expand...
Click to collapse
MIUI has now been cut from development.
AOKP dev has paused development for a week or two due to other commitments, so it's a bit behind the other two, but will be back soon.
I personally prefer BCM over Sanvold's/ Nickez's release.
I also prefer BCM over others but there is one big problem for me that in some games like Angry Birds or Temple Run sometimes touch doesn't reacting, just hardware buttons.
Cristian.CT46 said:
Hi everybody!
I'd like to know which is the best ICS Rom for our HTC Desire...
At the moment i'm running Cyanogen7.1 and everything is fine, but i'm tired of gingerbread and don't want to wait Cyanogen9 to be stable
So, in your opinion, Which is the best rom for everyday-use?
I know there are camera issues, but this doesn't matter to me
What i'm looking for is good stability, good script for application to ext, and good (fast) browsing experience!
Also have a question:
What kind of Hardware Acceleration are ICS Rom using? Is it native support with latest Adreno driver or other?
Click to expand...
Click to collapse
you can try ICS by sandvold or BCM both are in beta and close to stability.
Cristian.CT46 said:
Hi everybody!
So, in your opinion, Which is the best rom for everyday-use?
I know there are camera issues, but this doesn't matter to me
What i'm looking for is good stability, good script for application to ext, and good (fast) browsing experience!
Also have a question:
What kind of Hardware Acceleration are ICS Rom using? Is it native support with latest Adreno driver or other?
Click to expand...
Click to collapse
IMHO:
It all depends how fed-up with gingerbread you are. There are currently no ICS roms for Desire that would match Gingerbread based ones in terms of speed and stability. That being said, BCM and Sandvold are at the stage where they can be used on a daily basis as long as you willing to accept that your phone might be unresponsive in critical situations.
AFAIK:
BCM is made from CM9 source soi if you come from CM7.1 this would be the smaller change in functionality (regarding mods). It's up to you whether it's a good thing or not.
Sandvold's rom is made from Evervolve source. (I'm not that familiar with that.)
I started ICS usage with Sandvolds rom a few months ago then I switched to BCM for the reasons mentioned above. These two roms' update rate is pretty muck head-to-head. Currently (AFAIK!) Sandvold's one has video recording and support for barcode scanner with higher instability while BCM only has photo capturing but more stable at that.
Both roms use Drewis kernel for HWA and not native drivers as when the drivers were made available most of the functionality they would provide were already ported by drewis and since he is more comfortable with his own source he keeps improving that.
Keep in mind that the official drivers for the chipset not for Desire in particular so official drivers wouldn't be answer for all HWA related problems. (I heard somewhere that HTC had a wierd way of implementing camera, but that might not be true.)
There's a new thread called COS-Bravo ICS by roalex. Haven't tried it yet but it seems very active recent days.
The project of Sense 3.6/4.0 porting looks very delicious, too.

[Q] Camera on AOKP but not on Sense ICS

Hello Guys,
since the first Ports from the one V and the first AOKP roms with ICS I was wondering.
Why is it possible to have Camera feature as long as Sense is not there?
I was reading something about drivers. But why is it not possible to take the camera drivers from the AOKP and take it to the Sense Version? Is Sense that deep into the system that they may need other drivers (other code) or something?
I'm not familiar with that topic so please don't rip me appart
Greetings
MiXed
we will have to wait for htc to release the camera drivers for DHD when official update 4.0 will hit it and no sense is different from aosp and each one of them use diiferent kernel so we will have to wait for update
As I saw on every ported ICS Sense4 ROMs for DHD, main problem with camera is with drivers. OVE V has different camera hardware and devs cannt get source code to port it to DHD. I know every1 is inpatient but all we can do is to complaine and get banned
Does that mean that it is IMPOSSIBLE to get the camera working without HTC's help or just very hard? I'd have thought that if it was a driver issue the aokp camera would work on sense roms because the hardware is the same (i know this isn't the case, just don't fully understand why)...
developers are trying very hard to solve the camera problem and android 4.0 is not official yet so you may not enjoy a nice experience of it untill htc officially release it for DHD

[Q] List of Android 4.0 ICS ROM's for Evo 4G?

Hello,
Just wondering if there's a list of ics roms for the evo 4g? I saw there was one listed on the wiki - and looks like there's one more that i noticed on the rom development forum. Don't suppose there's a list which would list install steps/requirements and what's working/not working for however many ICS roms there are?
thanks
just gotta lol at this...umm some ofthe roms working and not working can change daily sooooo i'll chime in on the ones ive used
things that arent working across the board is 4g and front facing camera (ffc)
Gummyworms 4.0.3 ics version. camera is shifty works with a fix camcorder and panoramic dont work and no hardware acceleration (hwa).
Aokp based off of 4.0.4hwa does work. seems to have a something that is buggy that keeps it rebooting but to be honest isnt happening to everyone. camera works with a fix and camcorder and panoramic dont work (i cant remember that exactly but im pretty sure they dont)
and currently im on jamies first release of kwiq ics which has hwa, based of 4.0.4, camera works with a fix but camera and camcorder are not working. buuttt i have had no reboots yet which imo means its suppper stable.
rope made a comment that was really good to explain a difference but i dont remember it soooooo aokp/gummy are awesome if you want to have built in customizations and have a lot of bugs worked through but they have been through some releases. kwiq is really stable as i said but not as much to customize out of the box. which is a trade off but i have to say this is also first release of kwiq so i think there is room to grow there
I was just about to try evervol's rom based on 4.0.3 since it seems like that one ismore stable then the newest one based on 4.0.4
Http://Evo4g.roms-DB.com
Not limited to ics but it does provide ask the basic info of the ROM then a link to the xda thread
sent from my evol supersonic

[Q] why has no developer ported tytung's kernel to htc desire?

if you look at the htc hd2 forums, you will see everyone is using tytung kernel for their 4.0 to 4.2 roms as it has fully working 720p video playback, camera and camcorder... why hasn't any htc desire developer ported his work? i would think it would be easier/more flexible than trying to port kernel 3.0 which seems to never be able to work completely because of lack of drivers.
yeahman45 said:
if you look at the htc hd2 forums, you will see everyone is using tytung kernel for their 4.0 to 4.2 roms as it has fully working 720p video playback, camera and camcorder... why hasn't any htc desire developer ported his work? i would think it would be easier/more flexible than trying to port kernel 3.0 which seems to never be able to work completely because of lack of drivers.
Click to expand...
Click to collapse
Maybe because making a working kernel 3 is more important than porting other kernels.
abaaaabbbb63 said:
Maybe because making a working kernel 3 is more important than porting other kernels.
Click to expand...
Click to collapse
i think we will never get a complete kernel 3 tbh as there's a lot of drivers not available..
It looks much easier/feasible to port Tytung work on camera/camcorder as the 2.x kernel of HD2 is very similar to htc desire's 2.x kernel..that would require less effort than trying to port kernel 3 (maybe i am wrong..) Qiss Rom and Tytung have been able to get a fully working camera/camcorder using kernel 2.x; so it is possible
at least i have been able to enjoy ICS with qiss rom and marius.a's rom (not a single issue to the major components : camera/camcorder is perfect, BT, GPS, Fm radio and all apps and games work great) ... i would have liked enjoying Jelly bean on my desire before changing phone next year
yeahman45 said:
i think we will never get a complete kernel 3 tbh as there's a lot of drivers not available..
It looks much easier/feasible to port Tytung work on camera/camcorder as the 2.x kernel of HD2 is very similar to htc desire's 2.x kernel..that would require less effort than trying to port kernel 3 (maybe i am wrong..) Qiss Rom and Tytung have been able to get a fully working camera/camcorder using kernel 2.x; so it is possible
at least i have been able to enjoy ICS with qiss rom and marius.a's rom (not a single issue to the major components : camera/camcorder is perfect, BT, GPS, Fm radio and all apps and games work great) ... i would have liked enjoying Jelly bean on my desire before changing phone next year
Click to expand...
Click to collapse
man you are wrong i have a second device (samsung galaxy5) and it has kernel 3.x working great and it's the only ARMV6 phone whit this kernel and if someone could do it for such a low end phone we can do it so don't worry we'll have our 3.x kernel
tcris45 said:
man you are wrong i have a second device (samsung galaxy5) and it has kernel 3.x working great and it's the only ARMV6 phone whit this kernel and if someone could do it for such a low end phone we can do it so don't worry we'll have our 3.x kernel
Click to expand...
Click to collapse
i mean apart from qiss rom team(unfortunately they did not released their source), no one has been able to get a stable camera/camcorder on kernel 2.x ... what makes you think with kernel 3.x it will be better and easier? and unfortunately there are very very few developers on the htc desire nowadays.. look at the android dev forum, it is quite quiet nowadays
yeahman45 said:
i mean apart from qiss rom team(unfortunately they did not released their source), no one has been able to get a stable camera/camcorder on kernel 2.x ... what makes you think with kernel 3.x it will be better and easier? and unfortunately there are very very few developers on the htc desire nowadays.. look at the android dev forum, it is quite quiet nowadays
Click to expand...
Click to collapse
out there are millions of devices whitout any dev and you complain about your phone whit A LOT of devs? if you want camera to full work stay on sense roms
yeahman45 said:
i mean apart from qiss rom team(unfortunately they did not released their source), no one has been able to get a stable camera/camcorder on kernel 2.x ... what makes you think with kernel 3.x it will be better and easier? and unfortunately there are very very few developers on the htc desire nowadays.. look at the android dev forum, it is quite quiet nowadays
Click to expand...
Click to collapse
Trust me, nikez and team are working on it. The xda thread may seem dead because of a bit of a mishap with a forum mod, but hes is still actively working and reporting his progress on his forum and on twitter.
chromium96 said:
Trust me, nikez and team are working on it. The xda thread may seem dead because of a bit of a mishap with a forum mod, but hes is still actively working and reporting his progress on his forum and on twitter.
Click to expand...
Click to collapse
i know he's developing and i am glad he is still continuing working on k3 ... i am just raising the question why no one ported tytung's work instead of working from "scratch"
tcris45 said:
out there are millions of devices whitout any dev and you complain about your phone whit A LOT of devs? if you want camera to full work stay on sense roms
Click to expand...
Click to collapse
i already have a working camera/camcorder with qiss/marius.a rom and it's ICS!
yeahman45 said:
i know he's developing and i am glad he is still continuing working on k3 ... i am just raising the question why no one ported tytung's work instead of working from "scratch"
Click to expand...
Click to collapse
It wouldn't work, because nikez uses ion now in his rom instead of pmem! With pmem and tytung's camera fix, which tytung already dicussed with nikez in nikez's thread, it would work, but nikez dont want to revert back to pmem
Sent from my HTC Desire using xda app-developers app

Categories

Resources