yashsingh1/xdaforums huggingface dataset:
[Asus Transformer TF700] Mike3.14159:
Quick question......just noticed in that my build number is showing WW and I know I flashed the US version of the stock rooted 4.2. So I am on WW bootloader and the US rom. Am I going to run into any compatibility problems or anything??

If so, I want to keep this kernel - love having it at 213dpi instead of 240 - so I dont see why I couldn't just flash the bootloader/twrp packege that I flashed before upgrading to 4.2(the one for US sku) without touching the kernel. Correct me if I'm wrong!
[Asus Transformer TF700] _that:
You mean the build number showing in the bootloader, right? Because the build number in "About tablet" is from your ROM's build.prop and should therefore show "US".

Extremely unlikely. I compared the bootloader binaries, and the only difference is the text that they display as build number, and of course the digital signature.

If you downgrade your bootloader, you can't run the 4.2 ROM. But if you want, you can of course replace the WW with the US version of 10.6.1.14.4.
[Asus Transformer TF700] Mike3.14159:
Wowwww........downloaded the bootloader/twrp combo upgrade (which I did get the US) and the rom from sbdags while learning how to figure out the angles of a hyperbolic triangle - something I will never be of any help except for passing the class - didn't read the line stating that the rom was based off of the WW build and even though the bootloader and build number have the same digits I don't know why I associated the two as having anything to do with each other! Guess my ADD just got the best of me haha

Just reflashed the US 10.6.1.14.4 bootloader and changed the display.id to say US so all confusion is now out of the way!!

Thanks!
[Asus Transformer TF700] buhohitr:
_that, if you don't mind, can you make a zip for just the kernel with fsync support? Thanks.
[Asus Transformer TF700] _that:
No. I will port all existing patches to the new base, not only fsync control. Actually, I already have, and the kernel currently runs on my device.

The feature I currently can't get to work is the framebuffer console - so no support for UltraCleanROM in this kernel so far. :(
[Asus Transformer TF700] buhohitr:
I just hit "thanks" but I also would like to say " Thank you".
[Asus Transformer TF700] dasunsrule32:
So what did you patch to get around the Surface Flinger issues?
[Asus Transformer TF700] _that:
Nothing, I simply used the matching kernel source for the ROM. The SurfaceFlinger problem was only with the old (10.4.4.25-based) kernel and the new (10.6.1.14.4-based) GPU drivers.
[Asus Transformer TF700] dasunsrule32:
Yeah, I'm still having issues, even though I've started fresh with the kernel source and have been merging in the extra CM commits on top. I'm rebuilding now, hopefully this will resolve the issue :)
[Asus Transformer TF700] _that:
Good luck! Would CM work on a stock zImage with a CM ramdisk, or are some of your patches mandatory?
[Asus Transformer TF700] dasunsrule32:
It probably would break a few things, like bluetooth, etc, since the firmware has changed. Also, the CM kernel, I build all the modules in, whereas the Asus kernel uses wifi modules. So it would more than likely boot, but some hardware functionality would break out of the box.
[Asus Transformer TF700] _that:
OK, so I'd need to insmod the modules in init.rc and put firmware into /system/vendor/firmware/bcm4330 - that should make WiFi work.

I think I'm going to try this this weekend - dual-booting Asus stock and CM sounds like fun.
[Asus Transformer TF700] dasunsrule32:
Yes, in theory that should make it zing :)
[Asus Transformer TF700] dasunsrule32:
Let me know if you find a work around for the audio issues...: http://paste.ubuntu.com/5703892/ http://paste.ubuntu.com/5703869/

I think I've had enough hair pulling tonight :)

EDIT: Fixed audio :) Onto Camera's.
[Asus Transformer TF700] hasrussian:
Does this work on PA, I need it to sapped up, and having used this on cromi x I love it.
[Asus Transformer TF700] _that:
Very unlikely. This is an Asus stock kernel, PA is an AOSP/CM derivative.
[Verizon Samsung Galaxy S III] Nicuu:
Hello!

Does anyone know how to turn on the touch key lights when you touch the screen? The touch keys only light when you touch them, and not when you touch the screen. Which setting? Appreciate all help I could get!

-Using norwegian/european version

Thanks for any help guys. Is there a place this can be solved, it's here. Bring it, guys!

Can't find it in settings. Yes, they LIGHT when I touch them, but not when I touch the screen. Any help is appreciated.
[Verizon Samsung Galaxy S III] Nicuu:
Anyone?
[Verizon Samsung Galaxy S III] Nicuu:
Damn! I reckon maybe a factory failure? I hope not. It's a bit annoying, really. But could it be any setting avoiding this. It should light up when using the screen, so very strange.

Please guys, help!
[Verizon Samsung Galaxy S III] dragon1357:
It is normal for the light to come on when touching the screen. Are you rooted? Maybe try and flash a custom rom.
[Verizon Samsung Galaxy S III] J.Guido85:
Settings>Display>Touch Key light Duration. I then do always on. So when your screen is on, so is the key lights.
[Xperia Z Q&A, Help & Troubleshooting] QualQuek:
Hi people

I would give you a HUGE WARNING about the pastille of oxidation situed near the audio jack connection, if you're using this way for listening music, you will have some troubles, the pastille will turn to red in short time. I use the audio jack connection something like 1hour per day while taking the tramway and i have the big surprise that the pastille is now red after 1 month.

I've returned immediatly my phone to my provider, sadly they said that break the warranty. My phone has never taking water by any way, i'm sure that happened by manipulating the phone like changing a song under the rain something like that, just one team on the pastille will make it red.

Also the place where is the pastille is just totally stupid and it's easy to make it red and break the warranty so my provider contacted Sony for making an alert about this problem, i'm not sure that will change anything.
[Android Development on Bada] badadroid lover:
This is a thread made for learning c programming and making ourselves useful in this developing site and take part or help the developers for the making or the discovery of wonderful or let's say useful modifications​

ANY HELP FROM ANY MEMBER IS APPRECIATED

whoever wants to learn and help others in developing is welcome . we want as many members as possible so friends please come learn and contribute ..... currently this thread is being hosted by:-

Senior Member badadroid lover;and

Member billpao

Please share your knowledge with all of us and try and learn more.... its an open thread.
[Android Development on Bada] billpao:
I want to suggest some C programming books:

For completely starters:

C Programming A Modern Approach

Learn C The Hard Way

Deep C Secrets

For guys that have a few experience:

The C Programmin Language ( from the C editors )

C: A Reference Manual

The C Puzzle Book

---------- Post added at 10:51 PM ---------- Previous post was at 10:17 PM ----------

We have started a new C Team for starters. Anyone that want to learn C or know a few things for C can join here. We prefere users that want to contribute at badadroid project. If many members come I will make a private chat room fot the team that we will share our ideas,questions,problems etc. and we will talk of course.

The members at team now are:

billpao, badadroid lover , karimdag

If someone interests post it here or send me message!
[Android Development on Bada] adfree:
Maybe 1 project to start...

Screenlock problem on Wave II...

Maybe minimum requirement, to know which files are involved from source code...

:confused:

I have NOTHING to contribute, because no Programming skills... :o

Best Regards
[Android Development on Bada] karimdag:
I want to learn C too !
[Android Development on Bada] billpao:
Screen lockfix is really challenging for us!

If you are going to start C I will put you on the team :)

---------- Post added 6th April 2013 at 12:05 AM ---------- Previous post was 5th April 2013 at 11:44 PM ----------

New member added karimdag !
[Android Development on Bada] DieterM75:
Seriously guys, I have been following especially the modem driver development for some time, and I can tell you it is not my missing experience in the c language that cause the lack of understanding of what is going on under the hood. It is hard for me to write this, but I would not recommend starting with c as a programming language at all (the void pointers still make me go crazy :]). The code has grown with the development and is in the current state, how should I put it, not very developer friendly.

You can hate me for that, but in my opinion there is no way on earth a beginner can contribute to the implementation without making it even less readable or transform it into a complete patchwork rug.

Don't get me wrong, I love your encouragement, but lets be realistic: without some kind of documentation only the contributers know what, how and why they do what they are doing.

Hats off to Volk, Rebellos and everyone involved!
[Android Development on Bada] karimdag:
Also mind haw grown ! Now we are able to do what ever we want to but of course we need to want to do what we do. And even if the first steps will be very hard i think all of us will do his best therefore learning C won't be used only in this project we will be able to use it in many others and even creating our own !

"If we want so we can"

Edit 2 : ''my..experience in the C Language" so this mean that you already learned it. So could you please help us by giving us some other refrences : Books, websites, videos..
[Android Development on Bada] badadroid lover:
hey man everything doesn't happen in a shot every thing needs to get started and this is a starting as we might end up helping the devs..... btw our learning speed of course is pacing up... as we are working as a team...... and it would even be better if people (inc. you) would share whatever you know .... and also help devs to whichever extent....... we will do our best.... maybe you also will....i don't know.... i just know that is good to ...... and we are running on the right track......
[Android Development on Bada] badadroid lover:
there
[Android Development on Bada] badadroid lover:
everyone check these :-

C Programming Tutorial for Beginners 1

[YOUTUBE]mIMhspJzC34[/YOUTUBE]

C Programming Tutorial for Beginners 2 (Part 1): Using Variables With C

[YOUTUBE]cogSg8lyDMs[/YOUTUBE]

C Programming Tutorial for Beginners 2 (Part 2): Using Variables With C

[YOUTUBE]5uX1uhsSCaQ[/YOUTUBE]

C Programming Tutorial for Beginners 3 (Part 1): Programming in C with Strings and Char Data Type

[YOUTUBE]02rP04NI2gY[/YOUTUBE]

C Programming Tutorial for Beginners 3 (Part 2): Programming in C with Strings and Char Data Type

[YOUTUBE]592_odiT6Dg[/YOUTUBE]

C Programming Tutorial for Beginners 4 (Part 1): Programming in C with Conditionals: IF/ELSE/ELSE IF

[YOUTUBE]BEWQUNl5ae0[/YOUTUBE]

C Programming Tutorial for Beginners 4 (Part 2): Programming with Conditionals: IF/ELSE/ELSE IF

[YOUTUBE]gzjDeR_3z3Y[/YOUTUBE]
[Android Development on Bada] badadroid lover:
Identifiers​

Identifiers are the names that are given to various program elements such as variables, symbolic constants and functions.Variable or function identifier that is called a symbolic constant name.

Identifier can be freely named, the following restrictions.

Alphanumeric characters ( a ~ z , A～Z , 0～9 ) and half underscore ( _ ) can only be used.

The first character of the first contain letters ( a ~ z , A～Z ) or half underscore ( _ ) can only be used.

Case is distinguishable. That is, word and WORD is recognized as a separate identifier.

Reserved words are not allowed. However, part of an identifier reserved words can be included.

Here are the rules you need to know:

1. Identifier name must be a sequence of letter and digits, and must begin with a letter.

2. The underscore character (‘_’) is considered as letter.

3. Names shouldn't be a keyword (such as int , float, if ,break, for etc)

4. Both upper-case letter and lower-case letter characters are allowed. However, they're not interchangeable.

5. No identifier may be keyword.

6. No special characters, such as semicolon,period,blank space, slash or comma are permitted

Examples of legal and illegal identifiers follow, first some legal identifiers:

float _number;

float a;

int this_is_a_very_detailed_name_for_an_identifier;

The following are illegal (it's your job to recognize why):

float :e;

float for;

float 9PI;

float .3.14;

float 7g;
[Android Development on Bada] badadroid lover:
Keywords​

Keywords are standard identifiers that have standard predefined meaning in C. Keywords are all lowercase, since uppercase and lowercase characters are not equivalent it's possible to utilize an uppercase keyword as an identifier but it's not a good programming practice.

Points to remember

1. Keywords can be used only for their intended purpose.

2. Keywords can't be used as programmer defined identifier.

3. The keywords can't be used as names for variables.

The standard keywords are given below:
[Android Development on Bada] badadroid lover:
Data Types​

C offers a standard, minimal set of basic data types. Sometimes these are called "primitive" types. A lot of complex data structures can be developed from these basic data types. The C language defines 4 fundamental data types:

character

integer

floating-point and

double floating-point

This data types are declared using the keywords char,int,float and double respectively. Typical memory requirements of the basic data types are given below
[Android Development on Bada] Rebellos:
@Thread:

Good idea.

I recommend this tutorial - http://www.cprogramming.com/tutorial/c-tutorial.html

And of course http://www.google.com ;)

To develop Android/Linux kernel you need... well - Linux host machine. For the begginers Ubuntu is good choice. Shell commands are google'able.

You also need knowledge about GIT. So http://try.github.com waits.

@adfree:

I concur that fixing Wave2 LCD wakeup would be good first "task".

@DieterM75:

I started C++ coding with practically falling into thing called "Open Tibia Server".

I started ARM assembler with creating FOTA bootloader.

Everything is for people, thing is I was spending up to 8-10hours daily when learning new things. To understand certain things there's just need to remember that it was all created by humans. Smart humans. And it has its technical limitations.

You are right about the files used

arch/arm/s5pv210/mach-wave.c <- Wave platform startup and operational code, putting it all together and loading drivers for most of the stuff onboard, there's general definition of platform data for LG4573, some GPIO config functions, etc etc.

arch/arm/s5pv210/wave-panel-lg4573.c <- more platform-dependent code, that's specifically LCD type identification routine and command sequences for certain LCD types (I can pull sequences for type 1 and 2 from bootloaders or APPS, though we haven't identified any devices actually using these typest)

drivers/video/samsung/s3cfb-lg4573.c <- platform-independent driver code for LG4573 IC

drivers/video/samsung/s3cfb.c <- platform-independent (at least in theory, there's ugly hack for S8500's AMOLED for eg. so this doesn't exactly follow the standards) code for CPU's framebuffer device.

There'll be also something in include/linux/lg4573.h or around I believe, like platform data definition etc.

What's to careful about - S3CFB is kinda "master" driver. During sleep it's first to put to sleep and it does invoke its "client" driver sleep function, that's LCD. It does also invoke some GPIO config stuff. So yeah - that's messy and not really transparent.

@badadroid lover:

Dude, don't attach images in BMP. This is just... Wrong, It's common sense to use JPG or PNG through internet.
[Android Development on Bada] badadroid lover:
all right actually ummm... im sorry ..... ill use jpg now..... :)
[Android Development on Bada] badadroid lover:
Double​

Double-precision floating point numbers are also numbers with a decimal point. We know that the float type can take large floating point numbers with a small degree of precision but the double-precision double type can hold even larger numbers with a higher degree of precision.

The sizes of the double types are as follows.

Type Bytes Minimal range

doubleprecision 8 IE-38 to IE+38 with 10 digit of precision

long double 8 IE-38 to IE+38 with 10 digit of precision

char​

char is a special integer type designed for storing single characters. The integer value of a char corresponds to an ASCII character. E.g., a value of 65 corresponds to the letter A, 66 corresponds to B, 67 to C, and so on.

As in the table below, unsigned char permits values from 0 to 255, and signed char permits values from -127 (or -128) to 127. The char type is signed by default on some computers, but unsigned on others the sizes of the char types are as follows.

Type Bytes Minimal range

char 1 -127 to 127

unsigned char 1 0 to 255

signed char 1 -127 to 127

Float​

Floating point numbers are numbers with a decimal point. The float type can take large floating point numbers with a small degree of precision (Precision is simply the number of decimal places to which a number can be calculated with accuracy. If a number can be calculated to three decimal places, it is said to have three significant digits.)

Memory size : 4 bytes

Minimal range : IE-38 to IE+38 with six digit of precision

int​

An integer is a whole number (a number without a fractional part). It can be positive or negative numbers like 1, -2, 3, etc., or zero.

The sizes of the integer variables depend on the hardware and operating system of the computer. On a typical 16-bit system, the sizes of the integer types are as follows.

TYPE

Bytes

Possible Values le Values

int

2 or 4

-32,767 to 32,767

unsigned int

2 or 4

0 to 65,535

signed int

2 or 4

-32,767 to 32,767

short int

2

-32,767 to 32,767

unsigned short int

2

0 to 65,535

signed short int

2

-32,767 to 32,767

long int

4

-2,147,483,647 to 2,147,483,647

signed long int

4

-2,147,483,647 to 2,147,483,647

unsigned long int

4

0 to 4,294,967,295
[Android Development on Bada] badadroid lover:
here is an awesome site i have been following:- http://www.cprogrammingexpert.com/
[Android Development on Bada] frank151995:
Even though this site is french I find it good.

http://www.siteduzero.com/
[Android Development on Bada] badadroid lover:
google chrome page translator :)
[Android Development on Bada] billpao:
I recommend Fedora 18. I am using Fedora and I have used ubuntu. Ubuntu has many crashes that piss you off :P Fedora runs programms smoothlier.
[Android Development on Bada] karimdag:
It's a really good reference ! I recemend it !
[Android Development on Bada] karimdag:
C Learning

Update : First thing before begining to learn and develop you need to have Ubuntu Installed for now just documentate : https://help.ubuntu.com/community

- I Suggested you to Only documentate because a new distribution will be released in 25 of this month -

to learn more about Ubuntu 13.04 See more here : http://www.ubuntuser.com/2013/04/06/ubuntu-13-04-dev-news-3/

( it's in french, translate it via google) -But of course you are free to do what you want, either wait or download the current dist(12.04)

[if you already have 12.04 just wait and an update from 12.04 to 13.04 will be released, if you don't i think that having a freshly new installed dist will be better]

=============================================

After a bit of search here's what i sugget to everyone to read :

First thing is to begin with the begining :p

1st : Have a look here

http://www.cprogramming.com/begin.html

2nd : If you did read all the article so then you can move here

http://www.cprogramming.com/tutorial/c-tutorial.html

3rd :

2 recommended books :

1. C Programming: A Modern Approach (Edit : Haven't found this one)

2. C Programming Language (2nd Edition)

-Of Course after reading their summary and the feedback on Amazon i found that they was the best-

If Anyone want them just PM me

4th : Seek for more resources, here's some i know

-Code.org :

http://www.youtube.com/watch?v=nKIu9yen5nc

-http://xda-university.com/helpful-links

Pretty cool right ;)
[Android Development on Bada] adfree:
Play with bada SDK...

Create few Games or Apps...

bada SDK has also examples...

And as you can see. With bada SDK you can also compile for instance FOTA under Windows only:

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

FOTA is needed for Android...

Maybe someone find correct addresses to use the other bada devices too...

Like S8600, S7250 and so on...

For learning Programming you need years...

For handset Development you need more years...

Best Regards
[Android Development on Bada] karimdag:
True But this will be useful for long-term
[Android Development on Bada] badadroid lover:
yes.....maybe we will end up helping devs in making key lime pie....... (android 5).... or cm11.... maybe.... :D :angel: :cool:
[Android Development on Bada] badadroid lover:
check this out :- http://smallbasic.com/
[Android Development on Bada] badadroid lover:
awesome site for begginers :- http://www.loirak.com/prog/ctutor.php
[Android Development on Bada] adfree:
How to compile ELF file ?

:confused:

Especially if you have only ELF (+ Linker Adress MAP).

Thanx in advance.

Best Regards
[Android Development on Bada] badadroid lover:
i dont know properly but try navigating to where the makefile is and type 'make'

id try with the samples first.

if there is no makefile then

gcc test.c -o test.elf // For the processor of the machine you compile on

iop-gcc test.c -o test.irx // For the PS2 IOP

ee-gcc test.c -o test.elf // For the PS2 processor

i dont about windows but works in MacOS X, linux and QNX...... however you can try

may be this is what you wanted if not plz tell..... ill try to solve
[Android Development on Bada] adfree:
http://xdaforums.com/showpost.php?p=34856402&postcount=4

Here is valid make file for bada SDK under Windows...

I will try to edit... need some time.

Thanx.

Best Regards
[Android Development on Bada] adfree:
Any progress?

How many Hello World Examples now written ?... :D

How many new Devs now growing up ?

Best Regards
[Android Development on Bada] badadroid lover:
yeah hello world examples done quite a time progress is taking place..... i am currently doing small programs and i hope soon a time will come when we will we contributing our skills in development..... anyway thanks for asking!!!!
[Android Development on Bada] mylove90:
Can you guys tell me the real purpose of this thread ?

I know how to write proper C code so if you guys want to write certain application i can help

Best Regards
[Android Development on Bada] badadroid lover:
the main purpose of this thread is to raise more devs to make the work of other devs lighter by contributing our skills in coding..... for that some tutorials have been introduced....
[Android Development on Bada] 2rgman:
I think he means what could do someone who already know C programming, how could he help
[Android Development on Bada] badadroid lover:
you can help by suggesting giving some useful notes or something useful that would help us rise faster
[Android Development on Bada] 2rgman:
Exactly the opposite, as I understand he know C Programming but do not know where developers can use his C programming skills
[Android Development on Bada] badadroid lover:
some dont know anything and some a bit about c programing..... so we want to go ahead and learn more to help others or do maybe something important in future....