yashsingh1/xdaforums huggingface dataset:
[Sony Xperia P, U, Sola, Go] zer023:
great work

wow this is awsome so the dev can make cm11 for out device
[Sony Xperia P, U, Sola, Go] kacangajaib:
Ok. now the source code of kernal is here. :D

Waiting patiently for Munjeni to port it on Xperia Sola :highfive:
[Sony Xperia P, U, Sola, Go] ladywhite:
then the kernel will try to solve those problems that are on the Xsole? Munjeni big boys are waiting for Xsole

thanks
[Sony Xperia P, U, Sola, Go] dwaipayanray95:
If its compiled and boots on 4.4....please pm me the link....I will try it out too
[Sony Xperia P, U, Sola, Go] matood:
Kernel

Why not share here then? I'm willing to try aswell...
[Sony Xperia P, U, Sola, Go] loubar22:
according to maclaw's web site, WIFI got fixed on xperia U, is this means that we can also fix ours ??
[Sony Xperia P, U, Sola, Go] ladywhite:
but there is someone who is compiling a kernel for sola???
[Sony Xperia P, U, Sola, Go] iSolaris:
Hoping that the kernel gets its first release for Sola next, since its out for XU now with a fix for Wifi. :)
[Sony Xperia P, U, Sola, Go] sridharkettavan:
Dev ur development for S3 mini was amazing,then why can't u do that same for Sony novathor devices?we are waiting....
[Sony Xperia P, U, Sola, Go] xperia modder:
[MENTION=5011036]New Macław[/MENTION]

We really need help in OMX please help us and we will appreciate it and give you proper credits

so can you help us fix it
[Sony Xperia P, U, Sola, Go] abbas_2010:
hi [MENTION=5011036]New Macław[/MENTION] plz help us plz
[Xperia Z1 Q&A, Help & Troubleshooting] unfaix:
I cant seem to find the option in the new firmware and no one has any input :(
[Xperia Z1 Q&A, Help & Troubleshooting] dazza7111:
Settings, Display, Brightness

UN tick Adapt to lighting conditions.

Is that what you wanted?
[Xperia Z1 Q&A, Help & Troubleshooting] unfaix:
There was another setting before the 257 update that let you uncheck an option that said something like 'automatic change screen condition to save battery"

I'll just have to reflash the old version to do a screen shot for you guys.
[Xperia Z1 Q&A, Help & Troubleshooting] naga.nino:
I've posted similar question earlier, but no answer so far. It was called "Optimised backlight" and it was positioned right below "Pulse notification light". It is basically DLS (Dynamic Luminance Scaling) and it is the most annoying power-saving feature in the known universe and I absolutely hate it. It should be a way to disable it with root explorer, but I can't find it in the folder where it was on my Xperia T.
[Xperia Z1 Q&A, Help & Troubleshooting] madmikeuk:
I think I read somewhere that Sony removed it due to it bugging out with some apps.
[Xperia Z1 Q&A, Help & Troubleshooting] naga.nino:
They should remove it then, not leave us without possibility to turn this crap off.
[Xperia Z1 Q&A, Help & Troubleshooting] unfaix:
Yeah. I would think if it doesn't work when on, then they should have disable it and left it off by default.

All other Android phone worked without trying to change this crap.

I love this phone but it's annoying me a lot when reading text that has dark background and graphics.
[C++ or Other Android Development Languages] matheszabi:
Hello thanks for sharing your idea experience.

I have asked in other forum a similar question.

It was a response than the GPU has optimised methods so it will have less power consumption

Also he likes to draw the whole frame not only a part - I'm case of my optimisation

Also I have asked an opengl expert and he told me to use the ortho instead of perspective projection. He has right.

Now I don't have bliry results anymore but is pixel perfect!

For benchmark I made 100 candles : 100 line + 200 triangles.

I have calculated how much is the wigth and the height for the surface => how much space can have a candle and used the matrix transformations and render it.

A nice surprise the fist time it took 18 milliseconds but after that only took 5-6 millisec the. Sdk->ndk->opengl-> SDK steps.

That is very good result on MY trash device. But I think it has a trick: the ndk gives order to render to GPU and it will return. So in those 5-6 milliseconds will start to work the GPU for who knows how much....

Note: audio , video , sensor intensive projects should be developed on real devices not at emulators.

With my method the problem is starting with text drawing and leak of knowledge.

Vbo or texture... Not sure which one but if a native 2D can do it than I can me too.

Cairo as rendering 2d engine is a bit big to include in android.

I still think the ndk is the correct place. Also is isn't so easy to watch the engine code as a decompiled SDK code
[C++ or Other Android Development Languages] Petr Sovis:
Ok! you chose your path - good for you!

18/5-6 ms is just for draw (200 triangles+100 lines) ?, or whole frame time ? Can you tell me the the device you are testing your app on ?

Note: Ortho, i didn't mean to advice perspective transform, ortho is still 3d, and pixel perfect - wait for texturing/text drawing, but you'll manage!

Just few tips to font rendering:

bitmap fonts: I can't add links so google: angelcode bmfont

font bitmap creator: google: angelcode bmfont

+ sample: google: nehe 2d_texture_font

freetype implementation - it's possible to compile it with ndk - i use it and it's simple

google: freetype

and code for starters: google: nehe freetype_fonts_in_opengl

Cheers

P.
[C++ or Other Android Development Languages] matheszabi:
My phone is a THL W8S. has FHD resolution

It had a mixed layout, but better I show you:

I have misscalculated the lines positions but for now doesn't matter.

The GLSurface takes a considerable amount of the screen space and that is counted.

On a Samsung Note 10" - at least 1 year old device, lower resolution, but better CPU + GPU it is a lot less this numbers.

My device is a trash (by far not for gamming), I told you:
[C++ or Other Android Development Languages] Petr Sovis:
Hi,

ok, as I understand, the time is just for drawing 200 tris + 100 lines - ok that seems a "little to much" for that.

Besides, your device is not trash at all :)

I don't know if I can share my examples - but scene from app I released week ago draws 50KTris per frame with some heavy shaders (normal mapping + specular ligting from 2 light sources) and draws text over it + particles + GUI (my ndk gles2.0 engine) and I suppose it will run over 30 FPS on your device (its PoverVR 540 or something) (google play: "Asteroid Hunters" by me)

So, can you post fragment of your drawing code ? maybe there something not really right ?

P
[C++ or Other Android Development Languages] Petr Sovis:
materials

OK!

i know why it's so slow, you practically draw something 300x per frame and it doesn't really matter if it has 2 trinagles or 300 per one call.

300x setup shader per frame is almost a limit for slower(not slow) devices.

Main issues:

1) do not ever call glGetError when not debugging/running debug build - it makes pipeline stall (pipeline stops and waits until all commands are executed)

2) since you have 100 lines - and using for all of them same program, why not to group them in one array ?

2 solutions

-----------------

A)

= you are not using vertex buffers - so

1) create temporary memory and pre-transform all lines/triangles into one array - will be much faster

2) setup shader once + set uniforms

3) setup attributes - start of temporary array you created (every call - believe me, it will be faster, good practice is create array on stack, but beware of overflow - but for 300 lines is practically impossible)

3) call one draw call for all lines/triangles at once

B) even faster solution (fake instancing) - this is really fast

= create vertex buffer with data (and now create this as real VBO !)

- and not with only 1 instance of line, but with reasonable count - for instance 300 (fake instancing) - 300x line data repeated,

- in tex.x,y (for instance) - set index 0.299 -> x = (float(index % 256) / 256.0f ) y = ( (index & (~255)) / 256.0 ) - using lowp vec2 inTex; attribute

= in shader:

- create uniform array with coordinates for instance uniform mediump vec3 positions[300];

- in vertex part - something like this

gl_Position.xyz = inPosition.xyz + positions[(int) ((inTex.x * 256.0) + (inTex.y * 65536.0)) ];

1) use shader

2) fill array with positions and set it to uniform

3) set attributes

4) draw - and according to situation change count of elements drawn

if you need draw more than 300 lines, enlarge array OR just do more calls :) this time this is getting efficient

But i suppose 1st solution will be more than enough.

Cheers.

P.
[C++ or Other Android Development Languages] matheszabi:
Thanks

When I wrote I saw the glerror maybe it will slow down a bit.

Since I am coming from an object oriented development environment it was designed on that way...

The candle: line + triangle can have other data too. Maybe need to keep elsewhere the data...

The last candle line and rectangle and his color can change almost at each draw method: just 1 of the 4 params will nort change.

When the last candle is closed a new one need to be staeted

In this case needs to. Shift to left all other candles. Maybe for this I am keeping in separate methods.

I thought the shader setup is done in other part at least there I am getting the pointer to they. On surface changed/ created - I am not at PC now.

Text with price + time scale should be with a texture to a rectangle?
[C++ or Other Android Development Languages] Petr Sovis:
I will reply inline:

Object development has nothing to do with this :), glGetError is NOT a function to retrieve error status from GL functions, its for debugging purposes only. Its commonly used as: (simple form)

#ifdef _DEBUG

#define CHECKGL(x) x; assert(glGetError() == GL_NO_ERROR)

#else

#define CHECKGL(x) x

#endif

CHECKGL( glUniform4f(.... .) );

or still very fast

#define CHECKGL(x) x; if (globalDebugGL) { assert(glGetError() == GL_NO_ERROR); }

Again - preparing something to vertex buffer is 100x faster than calling gluseProgram, gluniform and then draw call.

Different values per "candle": you can change (per candle) color, position, tex coords, and another values - to max 16 vec4 attributes per vertex in vertex buffer.

just for your imagination what does exactly glUniform: it recompiles and rebuilds shader with new values. It's not fast at all. So drawing 2 triangles with new shader setup (different uniform values) is not very smart. You have only 800-1000 such operations per frame tops. New card can handle much more. Look for term "draw call batching" to learn more. Unity's main feature.

Just imagine, even chip in your phone can easily draw 20 textured MTris per sec and you draw just few thousands and it's sweating.

Very nice article about GLES 2.0 from apple - google for "OpenGL ES Design Guidelines" most of it is true on android as well

That differs according to your situation.

- Is price/time always same ? (texture)

- it's changing per frame, (prerender texture)

- it's changing per "candle" ? - I posted articles about text in gl apps in the last post.

I thing you can choose your way !

Cheers

P.
[C++ or Other Android Development Languages] matheszabi:
Thanks for answer.

Price/time is the same until: the user press a button, than will change the time ( From To values) and collecting data will result a min price and a max price. So the price probably will change at that button event, but not all the time.

Also the last candle price value is "moving" at least the close value, but an move the min or max value too, which can be the min or the max of the whole chart, on those rare situations need to change the coordinate system too. Can be used here a trick as it is changing and it will add +20% so what not need to change on each tick (frame)
[C++ or Other Android Development Languages] Petr Sovis:
233528246055

I would definitely use rendering text technique I already posted. Its very fast (when implemented properly) and you can "print" whatever you want.

One of the following

bitmap fonts: (more content preparations - you need to prepare texture for each font)

-------------------

font bitmap creator: google: angelcode bmfont

+ sample: google: "nehe 2d_texture_font"

freetype implementation: (easier use - free type can generate font you want - also very fast)

-------------------------------------

it's possible to compile it with ndk - i use it and it's simple

google: freetype

and code for starters: google: "nehe freetype_fonts_in_opengl"

Cheers

P.
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] mikeone33:
I wanted to flash Bean's debloated stock rom in the stock slot in Safestrap but am worried this will trip KNOX.
[Verizon Galaxy Note 3 Q&A, Help & Troubleshooting] repsol_23:
A quick search should bring up your answer but no it won't. I have beans on my stock slot. There should be a thread about how this should be done.

Tap'n & Talk'n on my Note 3
[AT&T HTC One (M7)] klouie10133:
Hi, I just got a new HTC One last night and I want to turn it into a Google Play Edition. right now I'm running hboot 1.44 so I can use revone to gain s off. My question is after I gain s off and run a GPe RUU, can I turn it back to s on? Or will I have to stay with s off after running GPe RUU? Thanks!
[AT&T HTC One (M7)] clsA:
I would never recommend going S-on again ever.

And to be perfectly frank the GPE is a step backwards for the HTC One with Sense 5/5.5
[AT&T HTC One (M7)] klouie10133:
But I heard that it is much safer to be s on than s off. Like, I heard some users say that being s off makes you more prone to virus infections and bricking (both soft and hard) your phone. Is this not true then?
[AT&T HTC One (M7)] clsA:
No that's BS

What I suggest is you just find a nice custom ROM like insertcoin or ARHD or viperOne and enjoy your new phone

The reason you want s-off now is when you update your hboot later you'll be unable too
[AT&T HTC One (M7)] klouie10133:
Ok thank you. So you guys don't recommend turning the HTC One into a GPe? The reason I want to is because I want to receive OTA updates as fast as possible :laugh:
[AT&T HTC One (M7)] hack14u:
Okay, I have 2 One's. I turned one into a GPE, and one into a Dev edition using the Brightstar RUU. This is just my $.02, but I have found myself grabbing the Dev edition far more than the GPE. Sense does make a huge difference, and with the RUU, I have no carrier bloat, and can tether without mods. Pretty darn cool, and the Dev edition will get the updates almost as quick. It's another thought for you.
[AT&T HTC One (M7)] clsA:
+1

OTA is not needed with an s-off One you'll get newer versions here on XDA much faster than from Google
[AT&T HTC One (M7)] klouie10133:
Ok ty everyone, I think I'll give an HTC Dev a shot. Also, should I consider buying an iPhone, as I was given the opportunity to buy another phone for Black Friday? Please don't just say "ooohh, Apple sucks," I would like some real pros and cons of buying an iPhone.
[AT&T HTC One (M7)] vialsofliquid:
i had the 3Gs for almost 4 years, jailbroke it immediately, kept doin it, was a lotta fun had all the awesome features before anyone else just for bragging rights. plus tethering was so clutch when my place didnt have wifi. i ended up gettin a 4s and thought that the jailbreakability was rather weak. theyre awesome ipods and they you can glitch and get free gems in clash of clans and if you play gta v apple is the only one that has the app, but from a hacking standpoint theyre actually pretty lame. But, its your money, do what you want with it. jailbreak it, play with it, if you dont like it, sell it...or blow it up
[AT&T HTC One (M7)] hack14u:
Ya, you're probably not going to get much Apple love here. My wife had everyone of them and then discovered the Note 2 which she is using and won't even look back, only drooling over the Note 3. My point is that once she started using an Android device for work purposes she said that the iPhone was more like a kids toy (her words) than a device that can actually accomplish things.
[AT&T HTC One (M7)] Nexii:
What about phones with Hboot 1.55? Mine had that hboot, but kinda put it to the side, since i got my Nexus. What would be the process to deal with that?
[AT&T HTC One (M7)] galaxyjeff:
The 5s has an awesome processor in it and the new fingerprint thing. If I ever get one I needed a 32 gigabyte one. I have iTunes movies. But I heard iOS 7 has bugs in it like the iOS did. That's what made me not like the iPhone much.
[Sony Xperia P, U, Sola, Go] New Macław:
Hello!

This is development thread of 3.0.101 kernel for Xperia Go.

Latest release: building.

Credits:

Macław

marcin1147

Gava97

munjeni

other guys, who contributed to kernel when it was 3.0.8

If you appreciate our work, please, use thanks button or consider donating to me ;)
[Sony Xperia P, U, Sola, Go] New Macław:
Sources are available at:

http://opensource.maclaw.pl/

Kernel haven't been tested on Xperia Go yet. If you want to compile it, you're using it on your own!

Binary to download is not available yet.
[Sony Xperia P, U, Sola, Go] netmaniack:
Tnx for helping. Sony's JB update created a lag in call answering so I hope CM11 and Your work will eliminate it. And JB 4.4 is a big extra.
[Sony Xperia P, U, Sola, Go] TJ_bab:
It's not JB 4.4 ...it's kit kat -_-
[Sony Xperia P, U, Sola, Go] tt1991tt:
I think you mean JB 4.1.2 :)
[Sony Xperia P, U, Sola, Go] OverdiveKill:
I dont get it. What is this? Is it like 4.4 Kit Kat android version for XGo?
[Sony Xperia P, U, Sola, Go] netmaniack:
It is a kernel development. It is a systems core.
[Samsung Galaxy S II Plus] Mirceabadea:
Many of you know that for some legal stupid reasons you cannot disable the shutter sound on your camera (on galaxy s2 you can do that by putting your phone on silent mode).

Anyway, here's how to do it:

You have two options, one where you must work with a file manager and your favourite DB editor on your PC, and one where you can use any DB editor on the Play Store and do it manually directly on your phone.

WARNING: Your phone must be ROOTED in order to pull files from the system folder.

Here's the explanation on how to edit Volume.db with a file manager and a db editor on PC:

1. Download SQLite Database Browser (download link: http://sourceforge.net/projects/sqlitebrowser/ )

2. Get a file manager (I have root explorer on my phone) on your phone that can access system folder on your internal sdcard.

3. With the file manager, go to system\etc and copy Volume.db to your sdcard or external sdcard.

4. Move the Volume.db from your phone to your PC and open it with SQLite Database Browser which you just downloaded.

5. Browse to the tab "Browse data" and modify SHUTTER 1, AUTOFOCUS, CAMCORDING, SHUTTER 2, SHUTTER 3 values to 0.

If you don't know how, here's a picture: http://i.imgur.com/K9L9xui.png

6. Save the file Volume.db, put it back on your sdcard on the phone and with the file manager replace the original Volume.db in system\etc.

7. Restart your phone (this is important).

Bonus: You can also put 0 value to BOOT SOUND and you won't hear that stupid sound play when you turn on your phone.
[Samsung Galaxy S II Plus] android.zealot.fervor:
Hey guy we can directly MUTE the camera shutter by simply changing our profile to silent. BTW It feels good that people have started development for our S II PLUS. KEEP IT UP:good:
[Samsung Galaxy S II Plus] Mirceabadea:
Well, I did that and it didn't work. The sound was still there even if I set my profile on vibrate or mute.
[Samsung Galaxy S II Plus] Brian_SGW_CM9:
Same here
[Galaxy S 4 Active General] propov:
https://www.dropbox.com/sh/3rdjgk6axrwo7wh/rmmbfTTMGN

Here is myne couple of shots tonight.In the file names

IMG**** is picture from One,

20131117_****** is from Active.

What are you thinking?
[Galaxy S 4 Active General] HTC HD 2.:
The quality is pretty much the same for me. The Camera would not be a decision factor would be which phone I buy
[Galaxy S 4 Active General] propov:
https://www.dropbox.com/sh/wnknzo4wnrrxb5c/vtYU36fis6

Here it have a couple of shots with my new LG G2 and my (not so)old S4 Active in same time at same scene.

First group is from Active.Names of pics is 20131227.....

Second group is from G2 and names is CAM002....

Lets everyone decide for himself which one is better.

I think that Active is so so close to G2 and their 13 Mpx OIS camera!
[Off-topic] levin143:
Hi guys, does anyone of you play Pokemon X and Y on your 3ds? Or are there any pokegeeks here?

Well, if anyone is interested in the friend safari feature of the said game, you can add me and I'll add you back:

FC: 0189-9527-8941

Quote or just pm me your FC so I can add you back..

I'm active especially on weekdays so we can be both online whenever, wherever..

Others can post their respective FCs as well, meet and greet any pokemon fans..

If you think this topic is unnecessary, someone already posted such topics or I posted on the wrong forum, please inform me.
[Off-topic] Android Pizza:
*facepalm*

The existing gaming thread would've done fine

Sent from my Atrix HD :)

Check out this thread!
[Off-topic] ironman38102:
In Before the Lock. My FC is : SEARCH-BEFORE-U-POST

Its Going to be LEGEND--wait for it--DARY!-Barney Stinson(How I Met Your Mother)
[HTC One S] eLiTeOneS:
I can't seem to find any similar topics to this so I'll post it here..

My phone has been doing this for around 5-6 months now I think, I don't really remember when it properly started. At random times, my phone's flashlight would turn itself on and if I go on the flashlight app to turn it off, the flashlight would turn off for a splitsecond (resembling a flicker) and then turn itself back on, this would occur with changing the brightness of it too. I'm on the latest ViperOneS JB rom, and I don't know what I can do to fix this. Do any of you know whether this is software or hardware related? I'll be happy to give more details upon request.
[HTC One S] tivofool:
A quick search revealed the solution in this thread.

http://xdaforums.com/showthread.php?t=2277912

Seems to be a known issue with that ROM.:good:
[JASJAR, XDA Exec, MDA Pro General] regagainsthemachine:
Guys, I hope you can help me!

I was using my Imate Jasjar when it was accidentally bumped by another person. the Jasjar fell but it wasn't that high and the floor was carpetted. However, I noticed that whenever i try to tap on the Start button on landscape mode, the calendar application opens up! And when I try to tap V-Bar on the other corner opposite the Start button, the Contacts application opens up. Basically, the soft keys on the bottom screen are the one opening up even if I'm tapping the ones on top! If I tap the bottom soft keys, I thought the Start button or my V-bar would come out but still the Calendar and Contacts applications were the ones that opened. Basically the everything on top cannot be tapped!

On Portrait mode, I can tap the start button but when the V-Bar was tapped it still opens the Contacts application.

I went to Settings then Screen to re-align the screen. I thought it would solve the problem but apparently it didn't! I was trapped in the Align Screen section giving me an endless loop to tap the 5 areas of the screen.

I now did a Hard Reset, and now I'm forever got stucked to the Align Screen part.

What am I supposed to do??? Please help!!!
[JASJAR, XDA Exec, MDA Pro General] cyborg:
Hi,

Seen the same problem... Try to guess the error margin of the alignment...

for example instead of tapping in the center of the cross try tapping on left or right... Since your screen isn't aligned you can't press on the center...

Now the problem is hardware, not the MB but the LCD...

After tou figure out the margin error, the Universal will resume and then you ca align the screen via Start->Settings->System, align screen

I'll try to know more about this problem asking my friend.

Best of luck
[JASJAR, XDA Exec, MDA Pro General] regagainsthemachine:
thanks for your reply!

i also believe that it has something to do with the LCD. there are no cracks whatsoever. problem with the aligning is i have to keep on guessing. and if ever i do align the screen successfully, i'm not sure if re-aligning the screen in Settings would solve the problem.

i would appreciate though if your friend or anybody else can shed light to a solution.