yashsingh1/xdaforums huggingface dataset:
[Android Development on Bada] srg.mstr:
Это у нас пошло из анекдота, если в кратце...

У РТИ-шника (Минский РТИ) на крыльце универа спрашивают: "Сколько времени надо чтобы сдать экзамен по китайскому языку? В вашем распоряжении любые библиотеки города."

"А методичка есть?"

"Да, есть... эээ, методическое пособие 25 листов, а...? о_0"

"Сейчас докурю и пойдём сдавать." :D

ну вот так мы и работаем - сразу покурим мануал (особенно от TexasInstruments с первого раза ну никак), а потом отладка.
[Android Development on Bada] t0mm13b:
Care to share what that is about? :) :o
[Android Development on Bada] sabianadmin:
I presume you still have the leads trailing out of it to catch the serial (or shell if you will) output for debug purposes?

So you flashed the fota and then once that was flashed it was directed at the boot block for youre android build? Is that on Nand or external storage?

I also assume considering the nearness of the galaxy s devices to the S8500 that performance is pretty good

Great work man, very impressed with the progress youre making, once you get the modem firmware sorted out its all downhill from there

Do you need a google code repository set up for the port?
[Android Development on Bada] oleg_k:
Modem now is not working.

GPIO controll is a completely different compared to i9000 or M130K,

need more explore.

But screen - WOW,cristal clear and bright)))))))))
[Android Development on Bada] culaco:
Oleg, great pictures, dreams come true :eek:

Is there anything that people like me (absolutely ignorant in programming:rolleyes:) could do to help you?

searching something, testing fota files flashing, or anything a monkey could do?
[Android Development on Bada] mkz14:
Lol this android version looks just like bada (I'm not saying is bada). It is just looking like bada, thing I dislike... I love custom android rom's

Awesome post buddy:)
[Android Development on Bada] sabianadmin:
Ha really?? that wouldnt have anything to do with bada and the galaxy s both using touchwiz would it?? think before posting silly stuff in future.
[Android Development on Bada] t0mm13b:
@mkz14:

The only obvious thing you're doing right now is trolling.... :p

Awesome post buddy :)
[Android Development on Bada] badelemental:
this 180° rotation is available in CM7 (just watched the cm7 video tour dont know if it is already available in galaxy s). Just superb...
[Android Development on Bada] luongdk:
That's amazing, but why it displays upside down?
[Android Development on Bada] t0mm13b:
Looks like the driver is not 100% there, perhaps the "scan lines" are in the reverse when stored in a buffer... who knows ... :D
[Android Development on Bada] oleg_k:
this mode (degree 180 ) is init in bootloader from i9000.
[Android Development on Bada] FRlTZ:
HOOOOLYYYY CRAP !!!

You are AWESOME !!

Addfree - Once the bootOnOff profject for the Bada is done, perhaps we should look into bootOnOff anims for the Android, kinda dull when it says i9000 when you run around with GT-S8500 ;-)
[Android Development on Bada] nbates66:
hey oleg, besides that patched sbl.bin file, i assume your using the same bootloader files as posted in your original post? ("boot.bin" inside "i9000_boot.tar" file dated 4th april)
[Android Development on Bada] oleg_k:
No, i used patched bootloader by Mijoma (from 2.6.35 android). I posted this bootloader early
[Android Development on Bada] nbates66:
right, thanks. :)
[Android Development on Bada] oSandmaNo:
I hope someone modifies the lock screen .. i hate it :p:p:p :D
[Android Development on Bada] jake792:
Thanx for all efforts, oleg_k, mijoma and others who contributed to this project.:)

@oleg_k; currently are android firmware files in internal memory or sd card? have they replaced original bada firmware files?:confused::confused::confused:
[Android Development on Bada] gurriato78:
Oleg_k...don't u think the reason of degree 180º is using the kernel files of the Samsung SCH-W899?:

..In that phone, when u close the lid.. the exterior screen appears upside-down.
[Android Development on Bada] neophyte2008:
oleg could you comment on the usability of the os. . .I mean is it laggy or lagfree like on sgs???
[Android Development on Bada] oleg_k:
i can't comment now about os usability, need more complex testing.

In this case i used 2.2.1 JPX kernel source.

firmware files placed in internal flash memory(oneNAND) 512MB, no bada.

Only android ;))
[Android Development on Bada] funkym0nk3y:
can we also dualboot ?
[Android Development on Bada] ShadowAS1:
@oleg_k

Is it possible to let the screen appear whitout the 180 degree turn. Like... normal??

and is it possible to give us a list of what works and what still needs to be fixed?
[Android Development on Bada] oleg_k:
Now not working:

- modem and GPS (GPS routed via modem chip)

- fuel gauge (used fake)

- sensors

- not work all the keys
[Android Development on Bada] ShadowAS1:
Thanks,

And about my first question. To get the screen without the 180 degree turn??

Is that possible too?
[Android Development on Bada] Rebellos:
It is possible, but as far I know it needs different screen initialization procedure in i9000 bootloader, only mijoma seems to be experienced in ARM assembly enough here to do such patch now, but he doesn't have enough time.

Not yet, we haven't found way to mount SD memory through FOTA (on boot loading level), so we cannot use it for boot.
[Android Development on Bada] oleg_k:
Screen init two times:

first in bootloader and second, in the kernel.

Screen will be work fine. Later.
[Android Development on Bada] charlo31:
I think a this moment the dual boot is useless :cool: like the customization like lockscreen all of this they're make after the complet port:D:D.

I thanks oleg_k mijoma adfree and all of other developpers for this port.:rolleyes::rolleyes:

(sorry for my bad english I'm french :P )
[Android Development on Bada] carbonbadu:
awesome job oleg_k

waiting for the full firmware release :D
[Android Development on Bada] sabianadmin:
The good thing about everything that is not working is that they all reside on the one chip, once the driver for the modem is working all the aforementioned non working functions will work.

oleg_k i realize you are not willing to comment on usability but very briefly is there a lot of lag while scrolling, drag/droping icons and so on. What it basic performance like?

Also any one who can, (shadow for example.) please do you're best to find that modem data sheet, its the next big bit of the puzzle.
[Android Development on Bada] skyline_22:
@oleg_k which modem model haves wave? How can we find information (tecnhical docs or datasheets) about the whole system? You said that the documentation someone posted some posts ago was wrong, why?

I would like help a little exploring in this way...Thanks for all!
[Android Development on Bada] jake792:
@ Oleg_k, Thanx for reply....:)

Anyways Android would be enough for many of us since after porting android, bada use would be negligible...(still warranty of wave 'may' remain in dual os);):D

The rest hardware; speaker, microphone, camera, gpu, led flash, bluetooth, wifi, FM, keyboard, vibrator etc..... working up to the mark or do they have any minor problems?:confused::confused::confused:

@skyline_22 wave uses Qualcomm QSC6270 modem. other hardware parts @ ubmtechinsights.com/reports-and-subscriptions/investigative-analysis/samsung-wave-the-comeback/
[Android Development on Bada] oleg_k:
The our next great work is implement downloading modem firmware in i9000 bootloader,

as in the original s8500 bootloader. Then rewrite fuel gauge for i9000 boot for correct

working in bootloader stage.

The CP (modem) chip in s8500 is Qualcomm QSC6270(MSM6270).

This chip used in m130k,w899. The current problem - identify GPIO pins to control the modem.
[Android Development on Bada] sabianadmin:
Id imagine, FM and Bluetooth don't work as they would all be on the wireless chip (e.g the modem), but the speaker should work, the internal motor i don't know, camera should be alright GPU we know is working because oleg_k mentioned he had build the kernel using the correct graphics driver in an earlier post. keyboard works (he said he was working on that a while back too). Flash dosent work but thats to be expected.

Now I'm only guessing here. But if I'm right it will save oleg the hassle of answering a million and one questions.
[Android Development on Bada] mylove90:
if you are making an investigation about Samsung Wave S8500 all the data you will need will be in the attached file:D

file password : samfirmware.com

Good luck with porting android:)
[Android Development on Bada] oleg_k:
i know this user manual :)

AND....maybe i founded the differences between S5PC110 type B (S8500) and type D (galaxy series). It's SIZE of memory in POP chip!!!!

Type B - have 2Gb mDDR memory, type D - 3Gb mDDR memory.

It's main differences in the CPU.

Thanks mylove90,you remember for me it's service manual)))
[Android Development on Bada] sabianadmin:
Does that help you figure out how to configure the kernel for that chipset? Did you manage to get the display operational in the end? if not ill do a bit of digging and see what the problem is :)
[Android Development on Bada] oleg_k:
On block diagram,on the top left corner,

we see the Package-on-Package (PoP) of main processor.

it's have 2Gb mDDR, 4Gb oneNAND and 1Gb oneDRAM.

Total we have 128+256=384MB of RAM (Galaxy S have 512MB).
[Android Development on Bada] mkz14:
Didn't even samsung workers specified that Samsung Wave got 512MB instead of those 384? A guy explained that 1 part was for operating system's processes and the other one for custom applications...

So now you noticed in reality we got 384 instead of 512MB of RAM? What a pity...

We trust you oleg_k, we put all our hopes on you^^, you're the only one who can success on this^^!
[Android Development on Bada] rex4u:
What does line 341 instruct of bootmem.c ? Could you post just this file or just the kernel source ?

Sorry not at my PC.
[Android Development on Bada] oleg_k:
Temporary made kernel 2.6.29 and i got it..

Look at the logs...

This is the BIG STEP))))
[Android Development on Bada] sabianadmin:
thats an odd number, that RAM figure dosnt seem right, why would they give it such a weird number?
[Android Development on Bada] rex4u:
Good going oleg :)

I will be glad to be of any help (although I love Bada more than Android). I have Wave and SGS and knowledge of both Linux and Windows.

I would rather suggest a dual-boot scenario from SD-card as we used to on old HTC WinMo device. It's generally safer and easier for masses.

Good luck !
[Android Development on Bada] sabianadmin:
oleg_k are you custom compiling that kernel your self, if so can you send me the config file?

EDIT: found it, working down through it to see if i can help/

EDIT 2: You may want to supplement the lack of RAM by defining a bit of swap mem by the way. not sure if you would be able to create a swap partition with the acces to the device you have.
[Android Development on Bada] sabianadmin:
I think we should all be donating to the oleg_k fund instead of Androbada or Android port! here we have proof he is actively working :)
[Android Development on Bada] smokestack76:
Where is the kernel? I searched but couldnt find it.
[Android Development on Bada] sabianadmin:
oh i was only looking for the config file for the kerenl, thats attached in the first post (config.txt)
[Android Development on Bada] t0mm13b:
Just a heads up, something to bear in mind, from reading the kernel log upon bootup, something occurred to me - I do recall reading a blog posting about codesourcery's gcc version 4.4.1 was buggy in that the code produced clobbers some stack frame pointers... - (I did point this out to the samsung bada dev last year)

@oleg_k - a quick suggestion - can you not download the latest and greatest toolchain, this is the version I have - gcc version 4.5.1 (Sourcery G++ Lite 2010.09-51) - perhaps its worth a shot to try the newer version... :o
[Android Development on Bada] oleg_k:
t0mm13b,

i used Sourcery G++ Lite 2010.09-51 but i temporary downgrade to 4.4.1.
[Android Development on Bada] adfree:
This can NOT be correct. Also I9000 have more RAM...

Check this out:

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

Link is expired, but from I9000 I remember they posted true Type/name of 2x RAM Chips.

You can use Original Samsung PDFs and their Homepage to proof size.

Its Giga Byte, not Gigabit.

Yes, its true. S8500 and S8530 have less physically RAM as I9000.

BUT 512MB + 256 MB.

Please try to count...

apps_compressed.bin + Rsrc_S8500_Open_Europe_Common.rc1

= decompressed and hold in RAM more then 230 MB..... AMSS and more OS related stuff is loaded into RAM...

Then 200 MB is left... free RAM.

So over 430 MB RAM is possible to confirm with open eyes. ;)

Oh, forgotten GPU used shared Memory I think. No extra Chip...

So less then 512 MB physically RAM is impossible.

Best Regards
[Android Development on Bada] oleg_k:
It's true, S8500 have ONLY 384MB RAM memory.

check bootloader log....

<6>Memory: 80MB 256MB = 336MB total

<5>Memory: 198708KB available (7748K code, 1687K data, 4444K init)

on Galaxy S : 80MB 256MB 128MB=464MB total
[Android Development on Bada] sabianadmin:
The boot loader prob isn't seeing the full amount of memory at boot time, this isn't definitive proof.
[Android Development on Bada] oleg_k:
Look at the original Galaxy S bootloader logs:

http://xdaforums.com/showpost.php?p=12415454&postcount=8
[Android Development on Bada] sabianadmin:
Hmm ok seems you're right. Like i said in a previous post. the best way to off set that is by creating some Swap space for the device, be that on a MicroSD card or internally, it only needs to be 128mb after all.

Edit: I used to own a HTC G1 and it only had 192mb of ram the Wave has almost 3 times that (well give or take) and the G1 still runs beautifully running gingerbread to this very day :) the wave should have no problem what so ever!

By the way was the new boot loader access method of any use to you, e.g can you use it to directly boot Android without using Jtag?
[Android Development on Bada] civil.scholar:
oleg_k , mijoma , ... tnx for your hard working about porting android on wave. can we have a video of your new progress ? plz:)
[Android Development on Bada] oleg_k:
Wifi and BT is work now,it's a not part of the modem.
[Android Development on Bada] toppertje:
Will it become a dual-boot in the future ??

I prefer a dual-boot ;)
[Android Development on Bada] aLexzkter:
I hope mijoma manages to find some extra time and help us on this one too...

Thanks for your time Oleg, I'll donate as soon as I see your first release to the public. Anyways, could you give us an idea of the current performance (while scrolling through the menus and stuff, just what some mate asked some posts above

Please read the thread more carefully next time...

It's not possible yet, but it could be. Just give them some time...
[Android Development on Bada] Tunesier1980:
oleg u are great ! plaes not vorget S8530 ! pleas
[Android Development on Bada] sabianadmin:
It prob wont, theres is no point in the developers here working on dual booting bada and android when it runs better off of Nand (as you can push all the apps to an ext4 partition on the SD and can create an Swap partition on the SD too) and they can be spending their time working to make the Android port better.

That said it shouldn't be that difficult to direct the boot loader to the SD but i wouldn't suggest going near that till we have a 100 % working port.

@oleg ah right ok, usually all the wireless functionality is on the one chip.
[Android Development on Bada] skyline_22:
Sorry but the only information I could find is this datasheet: datasheet.eeworld.com.cn/pdf/182664_QUALCOMM_QSC6270.pdf

I think that it's useless, but I've spend more than an hour searching and it's the only datasheet I've found. It seems there is no information about the GPIOs you comment before.

There isn't an official datasheet for the Samsung S8500 SoC S5PC110A01? In there maybe we could find the information you ask. This model seems to be used by Apple A4 chip too, but I'm not sure if it is the same.

Info: slashgear.com/ipad-and-samsung-wave-use-same-arm-cpu-say-analysts-0888958/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+slashgear+%28SlashGear%29
[Android Development on Bada] sabianadmin:
Fantastic, shouldn't be too hard to get a working driver built quickly enough, i can see a working release of this by the end of the week at this rate!

oleg how do you actually load the firmware onto the device? JTAG id imagine, i can't really see it being flash able beyond the FOTA file.
[Android Development on Bada] vivekforbes:
I think oleg already know about this thread.because yesterday i pointed out this thread and he said he laready knows about that..
[Android Development on Bada] sabianadmin:
Yeah but information has since been added about that specific chipset to the thread i think.
[Android Development on Bada] vivekforbes:
Maybe you can pm him about this..
[Android Development on Bada] oleg_k:
thanks for research;)

questions: i need full teardown report for S8500,

like this - http://www.teardown.com/allreports/Samsung_GT_S8500_Wave_UMTS_Touchscreen_Phone_Teardown_Analysis

need to find it for chip identify.
[Android Development on Bada] bartaspoz:
I contacted with my friend, wich has worked for the samsung service.

I've something like that.

The Troubleshooting.pdf looks interesting - i think....

www . elektroda . pl/rtvforum/download.php?id=407243

I cannot yet post links :)
[Android Development on Bada] oleg_k:
Maybe you ask about full schematic for S8500? ;)
[Android Development on Bada] guari:
posted months ago, watch here ;): http://xdaforums.com/showthread.php?t=901416
[Android Development on Bada] zoorpha:
adfree provided old version of this document before, "Samsung GT-S8500 Wave Service Manual" adfree version was 2010. 04. Rev.1.0 and bartaspoz version is 2010. 06. Rev.1.1
[Android Development on Bada] AnnynN:
Have you seen this? It seems to have some schematics.

http://xdaforums.com/showpost.php?p=12995010&postcount=319

Searching for more on the Internet.
[Android Development on Bada] wishhouse:
I get this file,please see the attachment. And for any Chinese website and doc translation. I can help to handle them.
[Android Development on Bada] aLexzkter:
Yeah, I already had found the file, but thanks.

I thought that was the document Oleg was looking for, it's a full 300 pages guide of a single component xD :/
[Android Development on Bada] st0rmi:
@aLexzkter: Haha was also just searching for that userguide and ended on the same site. I tried to register for the download but then I also recognized that adfree has already posted this long ago :D

@oleg_k: what about this "teardown" http://www.handy-faq.de/forum/samsu...s8500_wave_details_innenleben.html#post977572
[Android Development on Bada] bartaspoz:
We've searched the Samsung Information Center - potral provided to the Samsung's authoized services. There's nothing more beside the "Downloader" App and s8500 firmwares from our local operators.

He told me that the documents that we are searching for were there before - Samsung probably deleted them.

But when and why...god only knows :)
[Android Development on Bada] oleg_k:
Maybe try for S8530??
[Android Development on Bada] aLexzkter:
Lol...they knew we were going to need them? There has to be a backup somewhere...

This is getting a bit CSI xD
[Android Development on Bada] culaco:
Sorry if this is posted, but troubleshooting manual contains several voltage values and schematics.

http: //www .cpkb.org/wiki/Samsung_GT-S8500_Wave_service_manual
[Android Development on Bada] oleg_k:
this service manual and service manual for s8530 contains only a small part of the schematic, not FULL.
[Android Development on Bada] bartaspoz:
Tried minute ago - nothing besides the software section.
[Android Development on Bada] ShadowAS1:
Instead of searching for the shematic we could also let some guy tear down an broken one?
[Android Development on Bada] sabianadmin:
That would take forever, and generally people who have broken waves aren't to interested in getting android on them, its a little bit catch 22
[Android Development on Bada] ~MaX~:
this would take around 10 to 20 miniutes!

http://www.youtube.com/watch?v=plP-VDCr92A&feature=player_embedded
[Android Development on Bada] sabianadmin:
I don't mean to do it, i mean to get someone to do it. Also i don't know many who have a disassembly chamber lying around, and that process alone take about 10 mins, may i also add that the video is cut and chopped to speed up the process?
[Android Development on Bada] ~MaX~:
well , thats another thing :D
[Android Development on Bada] baza14:
I know, but I have one stupid question. When you release beta test?:confused:
[Android Development on Bada] sabianadmin:
Around the same time they release you're brain from the maximum security facility they are keeping it in....
[Android Development on Bada] ShadowAS1:
Lolled. Awesome
[Android Development on Bada] t0mm13b:
Ahhh... the great ould Irish humour yielding to an excellent comeback... :) ;)
[Android Development on Bada] hallihallo2:
@oleg: can you please update your first post. Otherwise every new member will ask:

1. What is done?

2. What can we do?

That's all because of the off-topic flame. I hope a mod will clean this thread.

Keep up your good work
[Android Development on Bada] Rebellos:
No idea if you find this information useful, started learning ARM architecture and assembly 2 days ago in turbo-mode, if this info seems to be nonsense, please ignore it. ;D

Bootloader level Modem_BootingStart procedure (as ELF headers says), no idea for what it is initialized in bootloading stage and if it is correct, commented as "DRV_Modem_Reset" by samsung debugstrings.

used procedures:

GPIO_Set_Config

GPIO_Set_Data

GPIO_Set_DrvStrength

GPIO_Set_PudPdn

PWM_Drv_Delay

I can only imagine what GPIO_Set_Data does. Totally no idea about set_config and driverstrength. I assume that Drv_Delay is just pausing execution and let Qualcomm chipset send&receive data, and unpause execution after timeout (10000 in this case) or getting ready-flag.

Admiting again i have almost no idea about how does it works, all i know that we've got like 78 General Purpose I/O pins which are physically connected to externals like radio, just trying to learn something and be helpful. Still reading about it as much as i can.

//edit: I assume that set_data prepare signal to be send, set_config turns on/off sending, then bootloader is waiting to make sure modem gets it.

Next assumption is that after reset regular transmission is being executed between Qualcomm+CPU behind and Modem, sending data stored in dbl.mbn to modem, maybe comparing reset-procedure to modem datasheet (any1 got it?) you can figure out those 4 pins atleast?

Probably mijoma will visit forum soon and get a heart attack after he read what bull**** I wrote, cuz i figured everything wrong or what. xP

//modem reset procedure looks equals in S8530, only dbl.mbn is written under 0x400000 instead of 0x200000.
[Android Development on Bada] sabianadmin:
@hallihallo2 Wow lighten up buddy....
[Android Development on Bada] mijoma:
To be precise, the code during booting the modem (DRV_Modem_BootingStart loading dbl and amss to the memory) looks like this and I've sent it to oleg yesterday:

GPIO_Set_Data( MP0_1_2, 1);

GPIO_Set_Config( MP0_1_2, 1);

GPIO_Set_Data( MP0_4_6, 1);

GPIO_Set_Config( MP0_4_6, 1);

PWM_Drv_Delay(10000);

GPIO_Set_DrvStrength( MP0_3_5, 3);

GPIO_Set_Data( MP0_3_5, 0);

GPIO_Set_Config( MP0_3_5, 1);

PWM_Drv_Delay(100000);

GPIO_Set_Config( MP0_3_5, 0);

GPIO_Set_PudPdn( MP0_3_5, 0);

PWM_Drv_Delay(10000);

GPIO_Set_Data( MP0_4_4, 1);

GPIO_Set_Config( MP0_4_4, 1);

PWM_Drv_Delay(300000);

GPIO_Set_Data( MP0_4_4, 0);

Just a general note - the numbers won't tell oleg anything. They are just indexes in the GPIO table that point the the right addresses in the SFR - refer to the S5PC110 manual for mapping between SFR addresses and right GPIO pin.

It's very good you are looking though.