yashsingh1/xdaforums huggingface dataset:
[Android Development on Bada] mijoma:
We can think about running SBL or any other bootloader (anybody with sources for that?) through the FOTA hole as I described in the thread:

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

This way we don't need JTAG for initial flashing. It'd be also good to perform testing without touching BADA in the NAND, but we either need to reorganize partitions or boot from SD card

Best Regards,

mijoma
[Android Development on Bada] adfree:
I think an combination will lead to success... so work together.

At this status it is maybe tooo risky to play without JTAG.

As we not know, how Android will handle Memory...

Okay, correction. I don't know. :(

In worst case scenario you need JTAG to reanimate Wave...

We have 2 steps/parts.

Android part.

Display, Kernel, Memory, etc...

This part is mandatory in my opinion.

Then second part, how to start Android. Then there are several theories...

BootLoader, No BootLoader, FOTA... inject via JTAG into RAM...

internal Memory or Dual Boot from SD Card...

Anyway, without proper modified Android part we can't use all our Security Holes.

As more infos we have, better, as more working solution we have.

So more chance to improve something.

At the moment we can only improve Video Quality. :D

Best Regards
[Android Development on Bada] oleg_k:
Mijoma,

I totally agree with you,maybe this is the way to deploying android on S8500.

But now,i think about build working kernel for our s8500. ;)

Maybe you helping with analize memory init on original bootloader?

like this - http://code.google.com/p/jetdroid/wiki/OriginalDramInit

Regards
[Android Development on Bada] mkz14:
Seems like using mijoma's discovery you should be able to replace booting and maybe make it to boot from SD card using a open source booter a compatible android kernel with selfmade drivers.

Maybe that could be the way, sadly we'd lose internal storage since we wouldn't be touching bada partition, anyway Android should be working fine from a SD card, It does properly on other handsets which internal storage is nothing more than a microSD card instead of flash memory.

I think losing 2GB on internal and XMB on microSD is a good deal for having android on our handsets. Happily I got 16GB SD on my wave xP. Anyway once you achieved that we could gather to use the internal flash memory partition

Jioma I suggest you to work with adfree (along your knowledge) and oleg_k they're our wave masters, baybe you together could gather to achieve this great project. I require you to work on this oh please jioma=(
[Android Development on Bada] sabianadmin:
Ok thats great news! Finally we have a method of booting other platforms on the Wave. What we need is as much information on the s5800 chipset as we can get so we know exactly what to compile and what drivers are needed in the linux kernel for android. Someone get in touch with Cyanogen mod and ask him for help and offer him a wave or something ha.
[Android Development on Bada] adfree:
Long time ago I've played with Tool from BenQ Poland... HWTP.

I can remember it shows some GPIOs... but it seems S8500 can not work...

Maybe few changes needed...

QXDM could be alternate Tool, you could log something...

But its Qualcomm part, so you have to be in Qualcomm Mode.

I'll search more infos... and poster later more.

Best Regards
[Android Development on Bada] loosa2k:
If the LCD-Screen does not work, have u tried it on a TV-screen via component on output jack ? Maybe this works for any reason.. ?
[Android Development on Bada] adfree:
http://xdaforums.com/showthread.php?t=899023

About GPIO and maybe other needed infos...

Logging via QXDM...

I'll try if I can use HWTP...

Best Regards
[Android Development on Bada] shad0wboss:
One thing i don't understand. Galaxy S and Wave have same hardware/same conpany/Super AMOLED..so i don't see a problem in porting androd to wave. Can't you just go and flash one of the samsung galaxy's bootloader and ROM? i'm not a dev so it's just a question i would like an answer to.

Also, what's the future of this phone, i'm planning on buying it today. Would it be possible to dual boot android? so that you can get rid of android whenever you want?
[Android Development on Bada] mkz14:
Sadly there's no easy way to flash it into Android and get it workng fine right now, we hope there is soon. However, It is a very good phone, taking in account that the price is VERY low for it's capabilities I think is one of the bests choices so far right now (between the mobile phones that doesn't requires for force paying 3G).

It was 20€ for me, and I must say is one of the best choices I have ever made:)
[Android Development on Bada] yari-nl:
hi everyone,

I just love the project and I wanna support but I'm not a progammer...

I hope you will have the first REAL(androbada) wave running android, but I have 2 questions..

1.How long will it take to make the first version? (estimated; days,weeks,moths?)

2.Is the lcd bug the only bug left?

Kind regards,

Yari
[Android Development on Bada] t0mm13b:
Those kind of words of support doesn't do poetic justice as the problems are big problems and by the sound of your posting its like you're pushing.... :rolleyes:

Have patience, sit back and watch the progress.... one step at a time ... :D
[Android Development on Bada] adfree:
Expect not too much. As only first steps are made.

It could take much, much more time. So I think weeks... ""stable"" maybe in months...

This is an heavy project.

Best Regards
[Android Development on Bada] shad0wboss:
I understand what you mean but has anyone tried to flash a galaxy s ROM onto wave? just wondering lol :P
[Android Development on Bada] t0mm13b:
nice one Dokugogagoji \o/
[Android Development on Bada] t0mm13b:
Sorry hardware is NOT the same on both handsets... check your facts first before firing off.. wave has flash on the camera, Galaxy S does not have flash, hardware buttons different, different chipset used for the wifi networking, bluetooth as well... oh and btw nand chipsets are different also :)

Oh and also, Froyo has theme-ing capability... but yeah, let's forget about androbada simple really...
[Android Development on Bada] oleg_k:
Hi all)

This is my last config file,logs of booting kernel and video driver source.

screen is not visible,but work.Digitizer work.

Power driver is fake.

I don't understand,why not see the screen but

video driver is correct.
[Android Development on Bada] adfree:
Maybe "Screensaver"/Lockscreen... or if Battery "empty" then also black.

By Pressing Key, short LCD is on, then also force back to black.

Best Regards
[Android Development on Bada] oleg_k:
Maybe...Keyboard driver semi working,work only power key.
[Android Development on Bada] oleg_k:
Yes, now cpu frequency is limited up to 800mhz. not more;)
[Android Development on Bada] t0mm13b:
@Oleg_k:

May I ask why is CONFIG_EMBEDDED not set?
[Android Development on Bada] oSandmaNo:
in the logs it says battery is empty... so is that the cause for black screen?

this is the line

aries_check_boot_low_battery: low battery detect. voltage=0, limit voltage=3430<LF><CR>
[Android Development on Bada] sabianadmin:
That does sound plausible but i highly doubt the developers would add a screen off if battery is < x function, the phone either turns it self off or simply dies if battery is too low.
[Android Development on Bada] nbates66:
actually, the Samsung Wave S8500, like the Galaxy S uses Samsungs Super AMOLED screen, that is, it isn't LCD based and does not use a backlight, as the actual light comes from the pixels themselves, there may however be a brightness setting somewhere.

references:

(wiki)> Super AMOLED

(wiki)>Organic light emitting diode

(i can't post links yet :o )

the way an LCD display works (including most LCD and even the LED displays used for PC monitors) is the backlight supplies light, and the display panel blocks the specific portions of light necessary to make the image, OLED displays do not use a backlight, as the light comes from specifically colored pixels themselves.

i think. :D
[Android Development on Bada] nbates66:
hmmm it probably means nothing, but i had a thought about the display problem, would the screen being of pentile matrix RGBG pixel variety instead of RGB require a difference in the display driver to work? i'm thinking this is unlikely to be the problem, since the galaxy S also uses a pentile matrix RGBG panel.(i'm assuming your linux kernel is derived from the Galaxy S firmware still?)

(wiki)>PenTile Matrix Family
[Android Development on Bada] oleg_k:
Algorithm placed in tomato lsi tl2790
[Android Development on Bada] mijoma:
I compared your video sources with the bootloader and there's one major difference. The bootloader uses RGB interface for driving the display (it looks pretty much like code under CONFIG_M135K define, but in the LDI_S6E63M0_Power_On the bootloader uses the code that is commented out).

I'll try to figure out what I can from the the disassembly and provide C code for that.
[Android Development on Bada] sabianadmin:
Good thinking, if the video driver isn't working correctly wouldn't it just fall back on the frame buffer and leave you at the command line?
[Android Development on Bada] oleg_k:
Thanks,Mijoma.

Waiting from you information.

Now make keyboard driver.
[Android Development on Bada] srg.mstr:
Difference between:

oleg_k config file from "last_log.rar" and

Samsung OSRC config file generated from "SHW-M130K_OpenSource.zip"

===> oleg_k

CONFIG_INITRAMFS_SOURCE="../initramfs"

CONFIG_INITRAMFS_COMPRESSION_GZIP=y

CONFIG_SAMSUNG_PM_DEBUG=y

CONFIG_ARIES_VER_B0=y // is not set // change for test

CONFIG_CMDLINE="console=ttySAC2,115200 init=/linuxrc ignore_loglevel"

CONFIG_CPU_FREQ_DEBUG=y

CONFIG_PM_DEBUG=y

CONFIG_RFS_FSR=m

CONFIG_RFS_FSR_STL=m

CONFIG_RFS_STL_DELETE=y

CONFIG_FSR_FLASH_PHYS_ADDR=0xB0000000

CONFIG_LINUSTOREIII_DEBUG_VERBOSE=0

CONFIG_LINUSTOREIII_DEBUG=y

CONFIG_KERNEL_DEBUGGER_CORE=y

CONFIG_S3C_KEYPAD_DEBUG=y

CONFIG_SERIAL_SAMSUNG_DEBUG=y //add

CONFIG_DEBUG_GPIO=y

CONFIG_POWER_SUPPLY_DEBUG=y

CONFIG_REGULATOR_DEBUG=y

CONFIG_FB_S3C_DEBUG=y

CONFIG_USB_GADGET_DEBUG=y

CONFIG_DEBUG_VM=y

CONFIG_PAGE_POISONING=y // is not set

CONFIG_KGDB=y

CONFIG_DEBUG_LL=y ///////////////////

===> original m130k

CONFIG_S5P_DEV_IPC=y

CONFIG_S5P_DEV_CSIS=y

CONFIG_ARIES_EUR=y

CONFIG_S5PV210_SETUP_CSIS=y

CONFIG_CMDLINE="console=ttySAC2,115200 init=/linuxrc"

CONFIG_XFRM_IPCOMP=y

CONFIG_ASK_IP_FIB_HASH=y

CONFIG_INET_XFRM_TUNNEL=y

CONFIG_FIB_RULES=y

CONFIG_VIDEO_IPC=y

CONFIG_VIDEO_FIMC_DMA_AUTO=y

CONFIG_TDMB=y

CONFIG_TDMB_T3700=y

CONFIG_RFS_FS=m

CONFIG_RFS_DEFAULT_IOCHARSET="utf8"

CONFIG_RFS_FS_PERMISSION=y

CONFIG_RFS_FS_SYNC_ON_CLOSE=y

CONFIG_RFS_FS_ERASE_SECTOR=y

CONFIG_RFS_FS_SPECIAL=y

CONFIG_RFS_FS_CORE_FAT=m

CONFIG_RFS_FS_FAT_VFAT=y
[Android Development on Bada] oleg_k:
query for all...

I have datasheets for Tomato LSI TL2796 and for AMOLED AMS353FD0X and AMS369FG06.

In S8500 used AMOLED AMS331FY01. I need datasheet for it.

Upd. Made by Tianjin Samsung Mobile Display Co., Ltd, China

http://www.tradeteda.org/en/enterprise/detail.asp?id=5154
[Android Development on Bada] adfree:
GT-S8500 Training Manual HW.ppt
ca. 15,68 MB

Maybe someone can find this document, maybe usefull infos.

Thanx in advance.

Best Regards
[Android Development on Bada] xator91:
I have found the Manual SW.

Here a link for download: http://www.multiupload.com/D3TGSGDEC6

Best Regards, XaToR BadaItalia
[Android Development on Bada] stevenp1986:
link for service manual

Hi here's link for Samsung GT-S8500 Wave service manual has the videos, pdf's and ppt's your looking for including Samsung GT-S8500L Wave Training Manual HW.ppt

h t t p: / /w w w.filesonic.com/file/321791991/Samsung_GT-S8500_Wave_service_manual.rar

sorry about the spam filter.

the Samsung GT-S8500L Wave Training Manual HW.ppt is 16,052kb
[Android Development on Bada] ShadowAS1:
Service Manual: h t t p : / /m e g a u p l o a d . c o m/?d=N34AVP2Z

cover, assembly - disassembly, electrical part list, exploded view, part list, product specification, troubleshooting: h t t p : / / w w w . 4 s h a r e d . c o m /file/DddQ1NP2/GT-S8500_Service_Manual.htm

disassembly video: h t t p : / / w w w . m e g a u p l o a d . c o m /?d=M7CFDSZF

flashing guide: h t t p : / / w w w . 4 s hared.com/document/lacds_CW/S8500_Flash_Guide.htm

Some more manuals including the above (73MB): h t t p : / / w w w .fi lesonic.com/file/321791991/Samsung_GT-S8500_Wave_service_manual.rar
[Android Development on Bada] srg.mstr:
Reset pin. Initializes the TL2796 when low. Must be reset after power-on.

This IC is internally initialized by RESET input. The reset input must be held for at least 1mS.

Pin No | X | Y | Pad Name

223 | 5285 | -445 | RESETB

PAD CENTER COORDINATES on page 82 "D_IC_TL2796_V11_090120.pdf"

Edit: HDC400 = LCD+TSP Connector = 2x27 pins, which one is RESETB ? :)
[Android Development on Bada] sabianadmin:
So you're saying the reset pin need to signaled on power on or that its the cause of the no screen problem?
[Android Development on Bada] srg.mstr:
From "AMS353FD0X_Std_3_5_WVGA_480_800.pdf":

Pin No. 7 Input RESETB Reset Signal (0: reset, 1: normal operation)

"(SMD)AMS369FG06-0_(3.7inch_OLED_WVGA).pdf":

Pin No. 47 Input RESETB Reset Signal (0: reset, 1: normal operation)

9. Recommended Operating Sequence

9-1 Normal mode(Power ON sequence)

System Power On 1 (VBATT)

System Power On 2 (IOVCC)

System Power On 3 (VCI)

<Wait for minimum 25ms>

RESETB Active (System Reset)

RGB I/F SyncSignal On

<Wait for minimum 20ms>

...
[Android Development on Bada] oleg_k:
this is LCD_RES routine in my 2.6.32 kernel...

#define GPIO_MLCD_RST S5PV210_MP05(5)

#define GPIO_MLCD_RST_AF S3C_GPIO_SFN(1)

static int tl2796_reset_lcd(struct platform_device *pdev)

{

int err;

err = gpio_request(GPIO_MLCD_RST, "MLCD_RST");

if (err) {

printk(KERN_ERR "failed to request GPIO_MLCD_RST for "

"lcd reset control\n");

return err;

}

gpio_direction_output(GPIO_MLCD_RST, 1);

msleep(10);

gpio_set_value(GPIO_MLCD_RST, 0);

msleep(10);

gpio_set_value(GPIO_MLCD_RST, 1);

msleep(10);

gpio_free(GPIO_MLCD_RST);

return 0;

}

now LCD ouputing is not working((
[Android Development on Bada] shad0wboss:
this is bull, why is the screen giving problem, i mean the problem is only the size (3.3" and 4"), why is it being a big deal?
[Android Development on Bada] oleg_k:
without datasheet for this screen is difficult to say..

maybe another timing for P5C110.
[Android Development on Bada] mijoma:
I attach some of the routines, more to come.

Best Regards,

mijoma
[Android Development on Bada] oleg_k:
Big thanks,Mijoma!

Tomorrow implement you code in kernel.
[Android Development on Bada] oleg_k:
If i use bootloader from SCH-D700, display output is WORKING)))))

My kernel is work!

In this phone SDA and SCL pin for fuel gauge IC routed to another pin.
[Android Development on Bada] oleg_k:
temporarory, for further work,we need to slightly modify the i9000 bootloader for correct work screen.
[Android Development on Bada] oleg_k:
http://cdn.solidblogger.com/wp-content/uploads/2010/12/Samsung-SCH-W899-Smartphone.jpg
[Android Development on Bada] lanluckez:
It's almost the same mobilephone that our Samsung Wave. It has a 3.3 inch screen, 1 Ghz processor, 512 MB ram, 5 mpx, flash... there are little differences like numeric keyboard or the double screen, but at first look, hardware is very similar, aren't you?
[Android Development on Bada] oleg_k:
Yes,it is))))I used some of the files from w899 kernel
[Android Development on Bada] ShadowAS1:
Then we would need to sign it. I don't know if that's possible. The quickest way ou tis to ask the jetdroid admin how they did it.

if you just reed the topic then you would know what's going on.
[Android Development on Bada] nbates66:
if mijoma works out a way to use to Fota file as a bootloader (or to point to a custom bootloader, to boot from say an SD card) would that work around the signing step?

EDIT: jetdroid uses their bootloader to point to an SD card as well i believe
[Android Development on Bada] t0mm13b:
The advantage in putting the bootloader on the sdcard is dual booting purposes, somehow the FOTA needs to redirect the loading to sdcard if the keys are held down during boot, in that way the original bootloader on the wave will be still intact ... Dokugagogoji and I was discussing about that on last Friday :)
[Android Development on Bada] toppertje:
So it will become an dual-boot?

That is good news! (For me ;))
[Android Development on Bada] mijoma:
Answering your questions, yes - it is possible to use FOTA to boot load any custom code. I was trying to mount FAT formatted SDHC card and read something. So far with little results. Maybe it's just a matter of initializing something more and maybe I'm just doing some stupid mistake. It would be little easier to debug that step-by-step through the JTAG, but as I don't have any I'll figure it out some other way. It is not an extremely difficult task to boot the system from the SD card, but I'd like to have additional pair of eyes looking at the original BL code and maybe someone working just on the booting process. My time is extremely limited, so I don't know when I would be able to do all that by myself. I hoped that someone could take over these tasks after I've shown you the way to run unsigned code and am still waiting for someone to show up.
[Android Development on Bada] smokestack76:
Deleted around 70 post for now. Lets stay on topic and not post thank you so much.
[Android Development on Bada] sabianadmin:
oleg_k i meant to ask you if you managed to recover anything of any interest from darkys rom or from the Orange firmware? I think we established that it had something to do with mobile AP. I am going to pm Watero and see if he wants to at least tell me the member they handed their work off to.
[Android Development on Bada] oleg_k:
I made kernel compatible with i9000.Any rom for I9000 will work.
[Android Development on Bada] adfree:
Sounds interesting.

What will be next steps?

Public release or sneak peak for JTAG owner are planed in near future?

Best Regards
[Android Development on Bada] atinm:
That's great! Didn't expect my repos to be used for anything other than SGS phones! The kernel source for .35 is somewhat outdated, you should look at our github.com/teamhacksung/android_samsung_kernel repo for .35 if you need that.
[Android Development on Bada] hisee:
so nw all fuctions r working?when it going to be published?
[Android Development on Bada] telltale:
if its not too early to ask .. does this mean it is possible to port "only" SGS rom or can we expect to have a port of android from any other samsung devices ? like Nexus S ( given the similarity to SGS & for the 'pure android' experience )
[Android Development on Bada] neophyte2008:
hmm atlast a working port . . .cant wait for screenshots :P

Hope mijoma and adfree find a way to load os through sd.

btw I heard someone named yo123 managed to boot firmware from sd . . Shadow could you ask him the steps for that . . .

waiting for your release

regards

neophyte2008
[Android Development on Bada] kaapa:
Does your method of flashing require a special box oleg ?

Greets ;)
[Android Development on Bada] oleg_k:
Hello, Atinm!

Thanks for news.

Is this kernel based on Nexus S source?
[Android Development on Bada] cinimini:
oleg_k what will be next steps?
[Android Development on Bada] sabianadmin:
@Atinm Any interest in helping us out with the port??

On a slightly related note once the port is out and flash able all involved will be accepting donation i take it?
[Android Development on Bada] oleg_k:
now I'm working on keyboard driver and waiting for i9000 patch bootloader.

then I'll show video with working android on s8500.

then need to collect donations for purchasing s8530 ;)
[Android Development on Bada] duxxyuk:
that's very good news oleg :-) will be verry happy to donate when your rom is released. i can help with testing - for info getting the gps with assistance working is a nightmare in bada (*#4097*4097# etc). its quite likely a qualcomm chip that needs gps+ config ... anyway will be glad to help out :-)
[Android Development on Bada] sabianadmin:
Well thats a pretty solid 50 euro coming you're way from me :)
[Android Development on Bada] ShadowAS1:
You can have €15 from me to

comming this afternoon ^^

By tha way. Any ETA's on a thing we can test.

And what others are asking to. Howcan we flash it?

If i'm right it's flashing the FOTA and copying android stuff to SD?

Correct me if i'mwrong :p
[Android Development on Bada] adfree:
:confused:

Few Questions...

1.

waiting for i9000 patch bootloader...

:confused:

2.

Video?

Please, not again. Upload working Alpha Version so other user(s) can test/proof.

Request 3. time JTAG Boot Dump. No I not need whole Memory... only BOOT.

3.

Donations? :mad:

WaveDroid money is yours. :D

Sorry. At this time I'm not sure where the difference to watero or other fakes?

I'll only apologize if I see Android on more then 1 Wave.

NO Video!

Best Regards
[Android Development on Bada] oleg_k:
it's your opinion.

Mijoma makes a patch for i9000 bootloader.

he agreed to make this great work.
[Android Development on Bada] neophyte2008:
by patch bootloader . . .do u mean modified FOTA allowibg boot from sd???
[Android Development on Bada] sabianadmin:
I would actually prefer to having it running off of internal NAND in the long run, I'm about ready to call it a day with bada.
[Android Development on Bada] sabianadmin:
Donations add a greater incentive for developers such as oleg_k to support and polish their work, its a small amount of money to the user but the benefit the user gets for that added incentive is priceless.
[Android Development on Bada] vanherst:
Donate without we have seen anything from android working on a Samsung Wave? Not for me, I've also donated to AndroBada and you know what's happend with them...
[Android Development on Bada] sabianadmin:
No no, thats not what is being asked here. once we have a working alpha then we donate. It will get more developers interested too.
[Android Development on Bada] vanherst:
Okay when there's an alpha version you will get a donation :):D
[Android Development on Bada] Utu_:
The only thing Oleg_K needs to do is make a video where he is running android on a samsung wave s8500 what he has to show us to prove us that it works is the following:

Incomming call

Outgoing call

Internet

Incomming mail

Wifi

Bluetooth

Android market

And last but not least he has pull out the battery

entirely

so the device and battery are totally seperated. After that start android again and do one of the previous things.

If all of this is completed without any error he has proven to me that he actually did make an android version for the Samsung Wave (S8500.)

The only thing he has to do after this is publishing the alpha version so we can test it. Then he will get €25,- from me, after publishing the full android version he will get an other €25,- so that makes €50,- in total..
[Android Development on Bada] cinimini:
oleg ,alpha version you will get a donation :)
[Android Development on Bada] charsi:
Please can we keep this thread clean of believers/non-believers arguments.

I have been following this thread closely over the last few days and i know the moderator has been doing a lot of clean up... but please try to make his work easy.

Allow the developers to communicate.. post only if you have something to contribute to the process. If you don't have anything just wait and watch :)

@oleg when you do start accepting donations try to have a separate thread to keep track of the donations.

Also, maybe its time to set up a sourceforge or google code page?
[Android Development on Bada] oleg_k:
I agree,after making video, i put kernel source to github.com
[Android Development on Bada] guari:
I agree, please stop talking about money, donation or stupid video to prove the truth of this project here.

I think this thread was built as a developing board, when an alpha will be released then you could talk about all those things in a new thread.