[DEV] The project to port Android(froyo) on S8500 (8530)

Status
Not open for further replies.
Search This thread

nbates66

Senior Member
Apr 2, 2011
459
258
Launceston
@ Anghelyi
i see your display doesnt flicker like srg.mstr
have you tried selecting another region at startup?? maybe it gets stuck because of that particular region
and why are phones placed horizontally in the videos? does it display that way ?

i'm sorry, but your out of the loop, we're aware of the flickering screen issue and methods to fix it.
 

Rebellos

Senior Recognized Developer
May 13, 2009
1,353
3,428
Gdańsk
Got one more request:
SBL.bin of Samsung I9023, AND SBL.bin for GT-I9020
(2 versions of Nexus S, with SCLCD and AMOLED)

Thanks in advance.
 
Last edited:

adfree

Senior Member
Jun 14, 2008
10,615
6,172
Samsung Galaxy Watch 4
Samsung Galaxy S22
The project is under developing...
Every hour a file is changing by an other file...
It is no worth to public a guide and give compiled files at this time...
It is better to work for a stabler port now and after to public it with the compiled files...

:confused:

adfree, firstly - instructions and links have been already posted; secondly - it's unstable and unfinished version, our sources (and assembled files) change every hour. noone of us have got a worked version yet.

:confused:
:confused:

Why is it so hard to make an new Thread with instructions for not so "smart" users like me. :)
With all necessary files? precompiled :confused:

I think the procedure will not so differ in stable Version... later...
Why not prepare for day X, if port is stable.

Btw.
I'm old enough to choose self. If I want try something or not...

I'm tired to watch Videos...
;)

Maybe someone else will "translate" procedure for users with NO Compiler...
You can make own Thread for this.

Thanx in advance.

Mano, das kann doch nicht so schwer sein. Alle Dateien durch den Compiler zu jagen. Idiotensicher in einer ZIP oder RAR zusammenzufassen... und mit einer Anleitung in einem Thread zu verewigen.
Das ist doch ein bissel albern. Das hier jeder selbst irgendwas compiliert...
Wie stabil das ist, ist doch erstmal vollkommen Wurst.

Best Regards
 

Rebellos

Senior Recognized Developer
May 13, 2009
1,353
3,428
Gdańsk
While LCD pins are probably all the same (havent confirmed all yet) in S8500 and S8530 there is surely difference
#if defined(CONFIG_ARIES_S8530)
#define GPIO_T_FLASH_DETECT S5PV210_GPH3(4) //S8530 INCORRECT
#else
#define GPIO_T_FLASH_DETECT S5PV210_GPH3(4) //S8500 Correct
#endif
Difference can be not in GPIO mapping, but in signalling method, I'm trying different IRQ modes and initial PUD states (for eg some of Galaxy boards use PULL_NONE as default, some use PULL_UP), but after first tries I think that its mapping difference.
Whats more - when detection is turned off (card is initialized immediately), card is responding to MMC commands but returns the following during mounting try (kernel compiled with DEBUG_MMC):
<6>init: command 'mkdir' r=0
<7>mmc2: starting CMD17 arg 00000000 flags 000000b5
<7>mmc2: blksz 512 blocks 1 flags 00000200 tsac 100 ms nsac 0
<7>sdhci [sdhci_irq()]: *** mmc2 got interrupt: 0x00000001
<7>sdhci [sdhci_irq()]: *** mmc2 got interrupt: 0x00000002
<7>mmc2: req done (CMD17): 0: 00000900 00000000 00000000 00000000
<7>mmc2: 512 bytes transferred: 0
<3>FAT: bogus number of reserved sectors
[ 4.660912] FAT: bogus number of re<erved sectors
6>VFS: Can't find a valid FAT filesystem on dev mmcblk1.
<6>init: command 'mount' r=-1
The same
kernel image launched on S8500 prints the following:
<6>init: command 'mkdir' r=0
<7>mmc2: starting CMD17 arg 00000000 flags 000000b5
<7>mmc2: blksz 512 blocks 1 flags 00000200 tsac 100 ms nsac 0
<7>sdhci [sdhci_irq()]: *** mmc2 got interrupt: 0x00000001
<7>sdhci [sdhci_irq()]: *** mmc2 got interrupt: 0x00000002
<7>mmc2: req done (CMD17): 0: 00000900 00000000 00000000 00000000
<7>mmc2: 512 bytes transferred: 0
<7>mmc2: starting CMD17 arg 00000001 flags 000000b5
<7>mmc2: blksz 512 blocks 1 flags 00000200 tsac 100 ms nsac 0
<7>sdhci [sdhci_irq()]: *** mmc2 got interrupt: 0x00000001
<7>sdhci [sdhci_irq()]: *** mmc2 got interrupt: 0x00000002
<7>mmc2: req done (CMD17): 0: 00000900 00000000 00000000 00000000
<7>mmc2: 512 bytes transferred: 0
<7>mmc2: starting CMD17 arg 0000012a flags 000000b5
<7>mmc2: blksz 512 blocks 1 flags 00000200 tsac 100 ms nsac 0
<7>sdhci [sdhci_irq()]: *** mmc2 got interrupt: 0x00000001
<7>sdhci [sdhci_irq()]: *** mmc2 got interrupt: 0x00000002
<7>mmc2: req done (CMD17): 0: 00000900 00000000 00000000 00000000
<7>mmc2: 512 bytes transferred: 0
<7>mmc2: starting CMD18 arg 000077c0 flags 000000b5
<7>mmc2: blksz 512 blocks 16 flags 00000200 tsac 100 ms nsac 0
<7>mmc2: CMD12 arg 00000000 flags 0000049d
<7>sdhci [sdhci_irq()]: *** mmc2 got interrupt: 0x00000001
<7>sdhci [sdhci_irq()]: *** mmc2 got interrupt: 0x00000002
<7>sdhci [sdhci_irq()]: *** mmc2 got interrupt: 0x00000001
<7>mmc2: req done (CMD18): 0: 00000900 00000000 00000000 00000000
<7>mmc2: 8192 bytes transferred: 0
<7>mmc2: (CMD12): 0: 00000b00 00000000 00000000 00000000
<6>init: command 'mount' r=0

This may occur because of my mistake though, S8500 test has been done by srgmstr, but I formatted card in the same way he did.
Card seems to be responding right but don't allow reading of the right FAT header or what, without SD Card in SDHCI driver powers it on and after sending few HELLO CMDs and getting few timeout interrupts in response driver turns card off.

Any ideas/schemas how to solve it/confirm GPIO mapping are welcome.
 
Last edited:
  • Like
Reactions: srg.mstr

nbates66

Senior Member
Apr 2, 2011
459
258
Launceston

oleg_k

Retired Recognized Developer
Dec 19, 2005
183
620
Moscow
@oleg_k : untill now i get maximum score of 1711 in benchmarking. And lowest score is ~1400. this much variation in scorce may be caused due instability of os. but in any case it never fells down below nexus one 2.2+.

@ALL: by viewing this result, i can assure everyone once a stable version is released (2.3.3), our wave performance will be much better than any other phones with 1ghz processor. So give Oleg some time and dont make pressure on him. let devs do there work on there pace.
thanks!
the performance depends on the using file system. Higher when using ext2 or ext4 and
slowly when using samsung rfs.
 

chetto106

Senior Member
Apr 24, 2011
86
31
Caravaca de la Cruz
Hi! I've been reading this topic since its begining, and I've never wanted to write anything as I don't have anything interesting to say. But I'm already tired of stupid posts of people who do not even try to read the whole thread searching for their stupid answers.
I ask the admins to, please, create invitations so that only the people who really want to help could write, instead of disturbing.

P.S. : Please delete my post as I don't add anything as well. Thank you
 

adfree

Senior Member
Jun 14, 2008
10,615
6,172
Samsung Galaxy Watch 4
Samsung Galaxy S22
Got important question.
Does anyone knows how to dig out low level bada kernel bootlogs? Like one we've got from kernel, but from bada. It for sure create ones (probably with debug level high), but don't know where.
If anybody can dig these out or write me some info where can I find them - this can speed up modem driver development.

Thanks in advance.

Sorry for late answer, I'm sooo la... ehm busy. :)

My suggestion is to try out QXDM... because Modem is AMSS -> this is Qualcomm part. Here some instructions for activate Qualcomm port:
http://www.samsunguniverse.com/forum/s8500-can-work-with-qualcomm-tools-t199.html

At the moment, unsure if something is written here on XDA:
Sorry, search is temporarily unavailable. Please try again in 20-30 minutes.

Best Regards
 

arczowsky

Member
May 16, 2010
42
29
Guys! Is it possible that our waves has two versions of touch panel and something is wrong with kernel drivers?
I tried i9000 platform on two s8500 (mine and friend one) and discovered that on my friend's device, everything was fine, android runs good. But on my device it has problem with proper recognize of touch. Screen does not recognize long presses just like in this video: http://www.youtube.com/watch?v=avr4LJQ-tmo#t=00m39s (from 0:40)

What do You think devs?
Sorry for English.
 

Rebellos

Senior Recognized Developer
May 13, 2009
1,353
3,428
Gdańsk
Sorry for late answer, I'm sooo la... ehm busy. :)

My suggestion is to try out QXDM... because Modem is AMSS -> this is Qualcomm part. Here some instructions for activate Qualcomm port:
http://www.samsunguniverse.com/forum/s8500-can-work-with-qualcomm-tools-t199.html

At the moment, unsure if something is written here on XDA:


Best Regards

Thanks. Oleg already tried to play with it, no interesting result though.
I really need lowest level debug logs (so with debug level set to highest) from early Nucleus init stage, do you know how to obtain these?
I do believe it can be UART output from bada, but how to enable it? In fact Nucleus doesn't print any messages to my UART. :/

These logs should contain similiar strings for eg.
DRV_Device_Init...: hwrev =
DRV_Device_Init...: wCPbootloader_status =
(this one below during audio cable put in/out)
DRV_int_earjack35_dt_handler in Event, param =
(this one below during screen framebuffer init)
screen width=%d height=%d va=0x%x pa=0x%x
(this one below is one of many during modem booting - thats exactly what I am interested about)
DRV_Send_AMSSRunReq!!!!!!!!!!!!!!!!!

Else, these logs may be called "Mocha log"
(Mocha seems to be codename for process similiar to Android's zygote)

Also, there are various debuglevels, did you meet any of these?
ModemDebugLevel
CameraDebugLevel
SessionDebugLevel
StatsDebugLevel
MobileLevelDebugLevel
DebugMsgDebugLevel
LoggingMode (!)

And a lot more.

Or, maybe it is possible to get these logs by WinComm method described by adfree? (I still can't get it working on my S8530)
Did you tried "Help" command there? Should print alot of interesting things, like these I'm attaching (together with some mess and their descriptions, straight from IDA).
There is much, much more.
 

Attachments

  • cmds.JPG
    cmds.JPG
    55.5 KB · Views: 312
  • Like
Reactions: adfree

adfree

Senior Member
Jun 14, 2008
10,615
6,172
Samsung Galaxy Watch 4
Samsung Galaxy S22
Or, maybe it is possible to get these logs by WinComm method described by adfree? (I still can't get it working on my S8530)
Did you tried "Help" command there? Should print alot of interesting things, like these I'm attaching (together with some mess and their descriptions, straight from IDA).
There is much, much more.

I've tried to give some "hints" several time about powerfull Commands... and powerfull WinComm Logging.
But it seems users are... ehm Android addicted. :D


Also I've tried more then once to ask other S830 users... why WinComm not working... no solution yet. And I have no S8530... to check problem.
Maybe Firmwareversion mandatory... maybe older Firmare for S8530 work with WinComm... try oldest...

Again... 2 Tools... QuB for input Commands... WinComm for check output...
http://xdaforums.com/showpost.php?p=13248248&postcount=26

Help -v
Prints MANY Commands with Description...
1 other Command also print Commands + Description... forgotten now... :eek:

But simple use brain + WaveRemaker:
http://xdaforums.com/showthread.php?t=1028714

And apps_compressed.bin contains all these Commands ...

I will soon open new Thread with some Commands... hopefully 1 or 2 more user will investigate...

Best Regards
 

Utu_

New member
Apr 13, 2011
3
1
I don't know if it is use full for you guys but I've found a list with the components from the S8500

h t t p : / / imageshack.us/photo/my-images/199/schermafbeelding2011062p.png/

This one is from the I9000

h t t p : / / imageshack.us/photo/my-images/546/schermafbeelding2011062.png/

If you're looking for more look at the following links:

h t t p : / / www . samfirmware.com/WEBPROTECT-svcbada.htm

h t t p : / / www . samfirmware.com/WEBPROTECT-svcandroid.htm




Keep on the good Work!
 
Last edited:
  • Like
Reactions: duxxyuk
Status
Not open for further replies.

Top Liked Posts