yashsingh1/xdaforums huggingface dataset:
[Android Development on Bada] mijoma:
I'd like to state my opinion on some additional topics:

Bootloader replacement - I'm against that idea and rather would want to use some scrapes of original bootloader run through FOTA than flashing PBL and patched SBL over that. The amount of dead boot situations during the development (although I'm absolutely sure you all want to contribute your wave) that would require JTAG to recover should convince most people. The second reason is the need to rewrite some amount of code to address modem booting and possibly other issues from original bootloader to SBL - not that difficult task, but still troublesome. My opinion is that it should be easier to load kernel than rewrite all init procedures and write code for reflashing of the bootloader.

Another thing is reverting to original firmware, that might be a hassle if we flash anything else.

Dual-boot is rather a side effect then :)

Remember that currently noone wrote anything interesting enough using fota to say we're done in this field. Oleg used JTAG for replacement of bootloader.
[Android Development on Bada] Rebellos:
:D:D

I'm up to this idea, but still, seems like i haven't read something or being just stupborn and cannot force my FOTA to affect on bootloader anyway, if got some time please meet me on GTalk. ;d
[Android Development on Bada] ShadowAS1:
@mijoma

if oleg "installed" Android using JTAG then how would we be going to do it without JTAG? Use ODIN/MultiLoader or what?
[Android Development on Bada] Rebellos:
Using well prepared FOTA file with our own bootloader inside which doesn't exist yet + Android files on SD Card.

Don't try to use ODIN, it can break your Wave.

If everything goes well, we'll have to upload by multiloader only our own FOTA file and eventually original samsung firmware that fits to it.

PS: Sorry for answering instead of mijoma.
[Android Development on Bada] sabianadmin:
To be honest if we iron out the process and make sure there isnt to much risk whilst writing the custom boot loader to the device, then flashing with Odin/Multiloader might be the best option. I really dont want to have Android running off of my SD, id much prefer to have it as my daily driver running internally so i can actually use my SD for applications, Swap space and so on.

As it stands we are very close to having a working port. The only issue is the use of JTAG. With all the work adfree has done to do with signing firmware bundles it shouldn't be all that hard to create a multi-loader flash-able version of the build should it?
[Android Development on Bada] dewage:
sorry for the stupid question. can we use same FORTA for GT-S8530 too..?

Thanks for the all developers who working hard on this project.
[Android Development on Bada] smokestack76:
Alright

Ideas can be welcome but lets not get carried away in here. Remember each time i clean this thread your post counts go down as well.

And Oleg. The buttons and modem issues are related kernel wise. What needs to happen is get froyo or GB source and play a bit. Unless there is bada source somewhere?

And it will be somewhat laggy as the kernel uses RFS. But once its working injecting ext4 and voodoo sound is easy.
[Android Development on Bada] sabianadmin:
Id be fairly sure that he needs Linux source rather than GB or Froyo source (He has that. He just needs to write the drivers for the various button inputs.) As for RFS thats what the galaxy s uses any way, and its not going to be too hard to use Ext4 and LZO compression to get a bit of extra ommph but for now it shouldnt make a huge difference.
[Android Development on Bada] wav3rid3r:
I've been searching for some sort of Wave teardown or bill-of-materials, and altough i havent found it yet, i found this:

- the Wave features the same ARM core as the iPad and Galaxy S: the Samsung S5PC110A01 (source here: pcsemicon.blogspot.com/2010/06/ubm-techinsights-verifies-that-samsung.html)

- the Wave and Galaxy S also share the same camera processor: the NEC MC-10170 Camera Processor

Galaxy S and Wave must share some other components too.

This link shows info on the Galaxy S teardown:

w w w.ubmtechinsights.com/reports-and-subscriptions/investigative-analysis/samsung-galaxy-s/teardown/

Check out the pictures on the right, with the name of the components.

I will keep digging :D
[Android Development on Bada] t0mm13b:
Good find! Bloody interesting !!!! :D;)
[Android Development on Bada] wav3rid3r:
Ok, found some more stuff on the Wave's (S8500) components:

- Qualcomm QSC6270 -> single-chip solution for HSDPA and WCDMA (UMTS) networks

Datasheet here: w w w.ic-on-line.cn/IOL/datasheet/qsc6270_1011529.pdf (it has schematics at the end)

(i think Galaxy S has different one)

- Samsung KAC007021M AE T7 -> ARM-based applications processor

(different from galaxy S which is KB100D00WM)

- Samsung KLM2G1DEDD -> Samsung 2GB Movi NAND

(different from Galaxy S which is KLM8G4DEDD 8Gb Movi nand)

- TriQuint Semi TQM7M5012H -> Quad-Band GSM / GPRS / EDGE-Polar Power Amplifier Module

more info here: w w w.triquint.com/prodserv/more_info/proddisp.aspx?prod_id=TQM7M5012

Datasheet here: w w w.triquint.com/prodserv/more_info/download.aspx?file=/docs/O/TQM7M5012/tqm7m5012.pdf

(different from Galaxy S which has: Triquint TQM626028L, TQM676021, TQM666022 and TQM6M9014, don't know which one is the equivalent, if any...)

- Skyworks SKY77195 -> Dual-Band PA Module for WCDMA / HSDPA Band I (1920-1980 MHz) and Band VIII (880-915 MHz)	more info here: w w w.skyworksinc.com/Product.aspx?ProductID=598

Datasheet here: w w w.skyworksinc.com/uploads/documents/201015b.pdf

(different from Galaxy S which uses Triquint parts)

- Maxim MAX8998 -> Power management IC

(same as Galaxy S)

- Wolfson WM8994E -> Multi-Channel CODEC with 3 digital audio interfaces

Datasheet here: w w w.wolfsonmicro.com/products/audio_hubs/WM8994/

(same as Galaxy S)

- NEC MC-10170 008KU712 -> Image/camera Processor

(same as Galaxy S)

- Broadcom BCM4329GKUBG -> Low-Power 802.11n with Bluetooth 2.1 + EDR and FM (Tx and Rx)

more info here: w w w.broadcom.com/products/Bluetooth/Bluetooth-RF-Silicon-and-Software-Solutions/BCM4329

(same as Galaxy S)

- Atmel MXT224 -> 224-node highly configurable touchscreen controller

more info here: w w w.atmel.com/products/overview_mcu.asp?category_id=163&source=redirect

Datasheet here: w w w.digchip.com/datasheets/parts/datasheet/054/MXT224-pdf.php

(i think Galaxy S has different one)

Hope this may be of some use for someone :D

If its already known info, my apologies.
[Android Development on Bada] smokestack76:
Linux source? Not sure what that would do for this port. With android source mainly kernels you can change button mapping. No drivers needed for those. Switching to ext from rfs is huge. All the roms out for the whole galaxy S range all changed from RFS.
[Android Development on Bada] antz.bin:
I feel it will be impossible to use a dual boot system anyways as Android Froyo... even though it has support for Apps2SD.. it does require the ROM to keep some installation files for all apps installed. If at all there can be a way to share the app memory from the Bada installation(1.2 GB is it?) it will never be enough considering we have already used up much of that 1.2GB for our BADA Apps. The only good way to stably use the Android would be to completely repartition the ROM and remove the 3 current partitions (1 each for Apps, user data and messages) and make it into 1 big one AND use the SD card for Apps / Swap and user data.

@Wav3rid3r nice research.. I guess it should be helpful to our cause.
[Android Development on Bada] mijoma:
I prefer numbers rather than hunches. Say what exactly takes exactly how much space.

Some parts of what you wrote makes little sense - please verify what ROM means.
[Android Development on Bada] oleg_k:
In kernel source we have:

static void msm_on(struct modemctl *mc)

{

cp_boot_ok=0;

/* ensure pda active pin set to low */

gpio_set_value(mc->gpio_pda_active, 0);

/* call mailbox init : BA goes to high, AB goes to low */

//onedram_init_mailbox();

/* ensure cp_reset pin set to low */

gpio_set_value(mc->gpio_cp_reset, 0);

msleep(100);

gpio_set_value(mc->gpio_phone_on, 1);

msleep(30);

gpio_set_value(mc->gpio_cp_reset, 1);

msleep(300);

gpio_set_value(mc->gpio_phone_on, 0);

msleep(500);

gpio_set_value(mc->gpio_pda_active, 1);

msleep(100);

}

...and...

static void msm_reset(struct modemctl *mc)

{

/* To Do :

* hard_reset(RESET_PMU_N) and soft_reset(RESET_REQ_N)

* should be divided later.

* soft_reset is used for CORE_DUMP

*/

gpio_set_value(mc->gpio_cp_reset, 0);

msleep(500); /* no spec, confirm later exactly how much time

needed to initialize CP with RESET_PMU_N */

gpio_set_value(mc->gpio_cp_reset, 1);

msleep(40); /* > 37.2 + 2 msec */

gpio_set_value(mc->gpio_phone_on, 0);

gpio_set_value(mc->gpio_cp_reset, 0);

}

#define GPIO_PHONE_ACTIVE	S5PV210_GPH1(7) -- EINT15

#define GPIO_PHONE_ACTIVE_AF	0xF

#define GPIO_PHONE_ON	S5PV210_GPJ1(0)

#define GPIO_PHONE_ON_AF	1

#define GPIO_PDA_ACTIVE	S5PV210_MP03(3)

#define GPIO_PDA_ACTIVE_AF	1

#define GPIO_CP_RST	S5PV210_GPH1(4)

#define GPIO_CP_RST_AF	1

need to find similarities with your code and determinate GPIO...
[Android Development on Bada] oSandmaNo:
@oleg_k

i have done only a year of C programming so i dont know if this is an error

and this line printk("%s\n", __func__);

shouldnt it be printf?? is it k?

sorry if its stupid :p
[Android Development on Bada] antz.bin:
OK Here is what I meant by my earlier post

In the Wave S8500 which has an internal memory of 2GB (Samsung KLM2G1DEDD )

It is partitioned as follows

#1 934.58 MB reserved for Bada Apps

#2 408.73 MB for User files (photos, music, etc.)

#3 446.47 MB reserved for Messages(Email / MMS)

Total: 1789.78 MB

Since 2GB is normally not 2048MB but more like 2000000000bytes.. so the total comes to 1907.13MB. So, the rest *118 MB* is where the Bada installation resides.

So: #4 118MB for Bada OS files.

-- end of topic--

**Android Froyo has Apps to SD as standard but whenever you install an application, some of the installation data files still remain in the Phone memory (this is what I referred to as ROM). This is what I have seen from my older 'Android' phones.

The only way what you say (i.e. dual booting of SD) can be done (with the installation still being usable) is that if Android installation does not see the Phone memory at all and uses just the SD card for its apps installation. If the Android installation has access to the Internal memory of the phone, it will invariably use the 934MB which was reserved for Bada Apps. The measly 934MB will be shared between the 'already installed' bada apps on the phone and the 'to be installed 'Android' apps. Since this is a very limited amount of memory, the usability of such a device will be severely compromised and in the end the Android port will eventually become impractical to use.

This is why I suggested repartitioning of the internal memory of the Wave and using a single OS instead of trying to dual boot. Installing the Android OS on the 2GB internal memory and using the rest of the memory for app files as in **. This method will be the one which is more desirable w.r.t. performance of the new OS. But undesirable w.r.t. claiming warranty etc.

Method 2 is what you guys seem to be pursuing but the purpose of this wall of text is just to point out that the Android Apps should not go and install themselves in the 'Bada apps reserved memory'. Sorry If I wasted your time.
[Android Development on Bada] nbates66:
while it doesn't matter to me that much if we dual boot or not, it must be said that android CAN in fact be setup to run completely from the SD, as has been proven with projects like Jetdroid.

http://code.google.com/p/jetdroid/

http://code.google.com/p/jetdroid/wiki/JetBootloader

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

also, i believe memory as in RAM and memory as in NAND/flash storage is NOT the same here... right?
[Android Development on Bada] mijoma:
Now I understand, but don't agree with you. I asked for numbers and all you said was that 934 MB is not enough.

I see, however, more general problem - if you followed the discussion we are now talking about FIRST attempt of non-invasive installation of something on the wave. Blowing everything out is easy, but keep in mind that this is a development project, not modding and ease of recovery is crucial at this stage. Are there really so many people without JTAG willing to sacrifice their phones for the development testing purposes? It's far from a system someone would install to use in normal, every-day conditions.
[Android Development on Bada] adfree:
Thank you.

At the moment it is not clear enough. How all things work on bada...

And from Android port site... :confused: Main problem is to flash oleg_k Android Version, as he has additional Hardware... JTAG.

Back to S8500 as bada Device...

:D

I try to understand how bada is booting and where data are really stored.

Remember it seems we have 3 kind of memory types in Samsung CPU + 2GB moviNAND KLM2G1DEDD. And if we count also SD card. Then 5 different types of memory. :eek: :confused:

Android port is not finished yet...

Also how partitions are organized... without JTAG not good idea to try changes...

@ all

Someone found the schematics for SHW-M130K?

Please link or upload.

Thanx in advance.

Best Regards
[Android Development on Bada] Rebellos:
Probably it is easy to mount partition on NAND to Android kernel, even booted from SD I don't think that samsung used their own filesystem, we just need some1 who can look into full 2gb NAND dump and recognize which FS headers does it contain.

Booting from NAND is possible, but kinda harder to achieve, it would require our own implementation of download mode within FOTA file as NAND isnt SD card which can be inserted into PC card reader and formatted in any way you imagine, or just inserting Android files onto bada partiton if it isn't any exotic filesystem, maybe with luck it wouldn't break bada. All waiting for discovery.
[Android Development on Bada] aLexzkter:
Trust me...there's no such a file by English search terms.

I've tried in Korean but I wasn't lucky either.

We need korean and chinese members here :rolleyes:
[Android Development on Bada] jack_frost:
I am currently short on time but these look like interesting forums

http://www.ort-jtag.com/blog/?e=10

http://www.omnia-repair.com/forum/

I Should be able to look at them in detail after about 6 hours. anyone else with the time please feel free to explore

edit: Please also confirm if anyone has already looked at these or if the information is irrelevant in case anyone knows
[Android Development on Bada] oleg_k:
I agree,we need korean member. Maybe two)

Also, another info -

Samsung had a closed project - Android for SHW-M120S,

if we find a schematic or bootloader for this phone - it's a victory)))
[Android Development on Bada] aLexzkter:
There's almost no information about that phone.

There aren't any M120S' on sell on ebay either O.o

Same applies to M100S
[Android Development on Bada] ShadowAS1:
I couldn't find anything either. I maybe found something about the modem. Still need to check it.
[Android Development on Bada] kaapa:
my mistake, delete it please
[Android Development on Bada] skyline_22:
This model you said I think that is Samsung Wave II or S8530, but it can be useful too.
[Android Development on Bada] Da22:
Seems like its not android but the wave in Korea

intomobile.com/2010/05/31/south-korean-version-of-wave-shw-m120s-comes-with-t-dmb-mobile-tv-support/
[Android Development on Bada] sabianadmin:
I don't mean vanilla linux i mean the Linux kernel (which is what Linux is) the Android kernel is simply linux with some mobile specific changes, those changes where merged into the main branch of the kernel all the mapping of buttons and so on is done in kernel land/ user land so the Android source really wouldn't provide much help. There are custom divers and so on in various kernel sources (like the Samsung Galaxy S source for example).

Also yes all ROMs for the Galaxy S use it but the stock Galaxy S uses RFS and it runs grand. i have both a Galaxy S running Cyanogenmod 7 and one running stock, the difference is noticeable but stock isn't unusable.
[Android Development on Bada] diamos1:
大家好。

Hi I'm a Chinese college student studing in USTC, I hope I can do some help though my English is poor.:)

My email address is diamos@mail.ustc.edu.cn
[Android Development on Bada] aLexzkter:
Hello :D

We were trying to find 'schematics' for Samsung SHW-M130K.

The problem is we don't know how to translate 'schematics' to Korean or Chinese languages...

Any help will be appreciated.
[Android Development on Bada] diamos1:
schematics can be translated as "电路图" in Chinese.

You can give some articles in chinese, and I will try to translate it in to english.
[Android Development on Bada] aLexzkter:
That's a very accurate translation, thanks...

However, I don't know if it'll help us find the schematics for that mobile phone.

I suggest anyone digging for these documents to select China region in Google's advanced search when using chinese terms.
[Android Development on Bada] Rebellos:
Bah, filesystem on NAND memory is TFS4, patented by Samsung, but looks very similiar to the FAT and probably has got implementation in Samsung's Froyo & GB releases. http://www.samsung.com/global/busin...ads/tfs4_v16_initialization_process_rev10.pdf

More firmware releases (seems to be bigger than usual, maybe because of no compression, anyway I don't have S8500 and ain't personally interested so I don't download it) http://www.kashan-gsm.com/download/FLASH-FILES/samsung/S8500/

And for me it's very precious: fresh S8530 full firmware with bootloader symbols http://www.kashan-gsm.com/download/FLASH-FILES/samsung/S8530/

probably the last 2 links I posted in wrong thread, no idea where to put it in this whole mess xP

And maybe someone can find leaked Nucleus RTOS sources if any exists? Wondering how does kernel works there.
[Android Development on Bada] sabianadmin:
I actually have a copy of Nucleus source code right here, would it be of any help?
[Android Development on Bada] Rebellos:
Well, i don't know, i'm just curious how does kernel initialization looks there, cuz Bada is based on Nucleus and endpoint of samsung bootloader is procedure "launchNucleus".

I would be glad if you upload it or gimme a link on PM.
[Android Development on Bada] nbates66:
actually.. i'm not sure what help nucleus source code would be... unless part of it is used for the waves bootloader, or if it could help extract a modem driver from Bada?
[Android Development on Bada] Rebellos:
I don't think it would help any of those, because Nucleus is "naked" system in fact, Samsung had to write almost all drivers to transform Nucleus to Bada. But still, as said before, I'm curious, of course curiousity is first step to hell, so maybe for now I'll pass and continue experiments with FOTA. ;P
[Android Development on Bada] t0mm13b:
That could be an old source before it was taken over by mentor circa 2003/4... Dokugagogoji mentioned that to me... unless you can tell us what was the year of it? ;)
[Android Development on Bada] atulpilot:
samsung firmware

hey oleg

check this site

remove spaces

forum.sdx-developers.com / android-2-1-development/download-firmware-2-1-m100s-%28korean-cdma%29-version/

forum.sdx-developers.com / themes-48 / samsung-m100-android-2-1-system-and-apps-apk-files / msg13832/ #msg13832

i think there are some Korean members in it ,try to register a see if u get any more info about our project.

just a suggestion

also check

w w w . multiupload. com/ BCT1BLOKOZ

w w w. megaupload. com/ ?d=GXG1I2NW

might be useful to u
[Android Development on Bada] aLexzkter:
Proper links:

http://forum.sdx-developers.com/and...nload-firmware-2-1-m100s-korean-cdma-version/

http://forum.sdx-developers.com/the...system-and-apps-apk-files/msg13832/ #msg13832

ALSO CHECK:

http://www.multiupload.com/BCT1BLOKOZ

www.megaupload.com/?d=GXG1I2NW

Thanks very much atulpilot.
[Android Development on Bada] oleg_k:
Guys, thanks,but SHW-M100s based on TI OMAP ;)
[Android Development on Bada] smokestack76:
I wish samsung would just release the source for there drivers. Would make life so much better....
[Android Development on Bada] ShadowAS1:
I don't know if this helps But the Nucleus kernel is on SF

http://sourceforge.net/projects/nucleuskl/
[Android Development on Bada] atulpilot:
hey oleg the website says

forum.sdx-developers. c o m/android-2-1-development/download-firmware-2-1-m100s-%28korean-cdma%29-version/msg13699/#msg13699

w w w .multiupload. c o m/BCT1BLOKOZ

It is not designed for Samsung Moment CPU

numus said

"Locked due to finding documentation in the korean database that shows a switch last minute from the s3c6410 ARM11 processor to the S5PC100 Cortex A8"

AT YOUR OWN RISK...

also the youtube video

w w w .youtube. c o m/watch?feature=player_embedded&v=nxzQvyPU4N8#at=47

at around 2:40 shows that the battery for s8500 and m100s are the same A8 for the same A8 processor voltages.

w w w .youtube. c o m/watch?v=9kCD_9rOs90&feature=related

translate.google. c o. i n/translate?hl=en&sl=ko&u=h t t p://daroo.tistory.com/tag/M100S&ei=txivTeGEE4TkrAep5sGPCg&sa=X&oi=translate&ct=result&resnum=1&ved=0CCAQ7gEwADgK&prev=/search%3Fq%3DS5PC100%2Bm100s%26start%3D10%26hl%3Den%26sa%3DN%26biw%3D1152%26bih%3D757%26prmd%3Divns

i think new M100S have S5PC100 Cortex A8 processors

pls have look at the development board for S5PC100 (Cortex A8) Processor Android Platform

translate.google. c o m/translate?hl=en&prev=/search%3Fq%3DS5PC100%2Bm100s%26hl%3Den%26biw%3D1152%26bih%3D757%26prmd%3Divns&rurl=translate.google.c o.i n&sl=ko&u=h t t p://w w w.aesop.o r.k r/%3Fdocument_srl%3D67987

they have also given source codes at the download section.
[Android Development on Bada] forcedobscurity:
If this is any help, they do have open source drivers.

Just Google "samsung opensource drivers"
[Android Development on Bada] ZKJohan:
True!

opensource. samsung. com (sorry about the link.. Cannot post links yet ^^) hosts the complete android source code for the SHW-M100S-phone, included a modem driver. But for the TI Omap3.. I think it is useless for the S8500 port.. :S
[Android Development on Bada] sabianadmin:
I wonder will samsung ever realize what HTC have and release hardware that doesn't have components that are almost completely unique to that device. If you had one platform for a family of phones with different clock speeds and little bits and bobs (such as camera flash or NFC screen size and type etc) then the cost of manufacturing would decrease dramatically and we would be able to port what ever the hell we wanted to any device based on the one hardware reference. Lets face it, the way samsung operates is appalling. Nothing is vertically integrated and they can't update their software in a timely fashion.
[Android Development on Bada] oleg_k:
Guys, I have at least 3 source code of drivers for MSM6270, but i don't know GPIO mapping for our S8500.need only full schematic.
[Android Development on Bada] aLexzkter:
Full schematics of what? Of MSM6270 modem or Samsung Wave?
[Android Development on Bada] ZKJohan:
It seems nowhere to be found on the internet.. Spend the last night googling for it, only that shows up is service manual with the crappy tiny schematics... Found full schematics for about everything except the wave :S. I guess it's not possible to use them because none of the Samsung phones is based on 'our' CPU with 'our' modem..

I guess we need Samsung insiders or Chinese/Korean people which can search on Chinese/Korean sites... Or something :).
[Android Development on Bada] princepsp:
hello.

What is the release date are you planning? and what is the error?
[Android Development on Bada] Rebellos:
It is too early to talk about release date. Please come back in 2 months.
[Android Development on Bada] oleg_k:
Yes, need schematic of S8500.it exists!

And pls stop talking about relese date!!!!!!!!!!!!!!!