Dolfin.so and bada 2.0 rumours... 2012

Search This thread

adfree

Senior Member
Jun 14, 2008
10,619
6,175
Samsung Galaxy Watch 4
Samsung Galaxy S22
New year, new attempt. :D

I've read that in XXLA1 Browser is not able to use hundrets of MB, like your PC, where you can see in Task Manager temporary memory is reserved...
For me I can see over 1500 MB...

Okay. No joke.
Lets investigate why resource problem... :)

1.
b.kubica rocks ever and ever again. :cool:
Thank you very much.
http://xdaforums.com/showpost.php?p=21958851&postcount=224

With this and TriX you can expand all *.so files. Also Dolfin.
Dolfin not changed since XXKK5...

2.
Dolfin source is here:
https://opensource.samsung.com/rece...application&classification2=&classification3=

Its NOT exact for bada, but... :)

3.
With WinComm we can log what happens in Background...
http://xdaforums.com/showthread.php?t=928170

Maybe we can find Limits by Dolfin...
Maybe we can tweak Dolfin.... :)

But before we need to understand how it works....

Maybe someone can host own site for test and SIMPLE make 1 HTML content with 1 JPG...
Try different sizes of JPG...
Maybe start with 10 MB jpg file...

If Dolfin can handle it, increase size... oterhwise reduce size...

It would be interessting. How much MB Dolfin can handle, before site is too big or resource problem occured.

Thanx for reading. :)

Best Regards
 

amaciarey

Member
Jun 14, 2011
26
9
Hi Adfree,

I don't know if it is related with the topic that you are researching in this thread, but looking into firmware files using Trix or Wave Remaker you can found some browser config files (in FFS/SystemFS/User/Br folder) where you can see the following parameters:

dolfinconfig_osp.ini:

Code:
// MEMORY Configuration - START 

BAL_MAX_MEMORY_USAGE=80
BAL_BACKINGSTORE_MAX_MEMORY_USAGE=85
BAL_MAX_PLATFORM_ALLOCATE=4096988 //4 * 1024 * 1024
BAL_RESERVED_MEMORY_THRESHOLD=8388608  //8*1024*1024
BAL_MAX_IMAGE_BUFFER_SIZE=20971520 //20mb
BAL_MAX_IMAGE_CANVAS_BUFFER_SIZE=4194304 //4mb

If you look for strings in Dolfin.so you can find some references to this parameters also.
I don't know if this info is useful for your research, but I hope so :)

Cheers!
 
Last edited:

adfree

Senior Member
Jun 14, 2008
10,619
6,175
Samsung Galaxy Watch 4
Samsung Galaxy S22
I have not much time yet.

But I think good start is investigation of:
dolfinconfig_osp.ini

Or find similar config files... you can also try to modify them...

Thanx amaciarey. :cool:

Check for instance KK5, KK7, KL6, LA1 and maybe also helpfull.
Check S8600 Firmware...
Maybe more reserved... :confused:

About webspace...

Not much needed. Only for test, how big content can be, before Dolfin strikes...

Best Regards
 
  • Like
Reactions: amaciarey

r_22009

Senior Member
Oct 12, 2011
146
48
I have problem with usual sites on dolphin
even when i open www.badaos.net in 2 tabs sometimes it says "the page is too large"
i want to help this project but i dont know why stune doesnt work on my FW:
XXKL6 asian language

so how can i access to dolphin config files? thnx
---------------------

Webspace sent to adfree

the domain is www.dolphintest.co.cc
that now it's empty!!

---------- Post added at 05:11 PM ---------- Previous post was at 04:19 PM ----------

now a 13MB !! image is set at www.dolphintest.co.cc
 

amaciarey

Member
Jun 14, 2011
26
9
I have not much time yet.

But I think good start is investigation of:
dolfinconfig_osp.ini

Or find similar config files... you can also try to modify them...

Thanx amaciarey. :cool:

Check for instance KK5, KK7, KL6, LA1 and maybe also helpfull.
Check S8600 Firmware...
Maybe more reserved... :confused:

About webspace...

Not much needed. Only for test, how big content can be, before Dolfin strikes...

Best Regards

That's a good idea Adfree i'm downloading the last available S8600 firmware right now, if there's something interesting i'd post it here.

Cheers!
 

amaciarey

Member
Jun 14, 2011
26
9
my Internet speed is low
so please someone test this page on dolphin

For me the page is working but Dolfin does not show the image. I think that size of images is limited to 20971520 bytes (20 MB) or maybe 4194304 bytes (4 MB), and i'm pretty sure that your image is bigger than that.

Cheers!

EDIT: About your problem with Stune... if you want to use Stune in Bada 2.0, you need to use 1.0.6 Version otherwise it's not working. Maybe this is your problem ??

EDIT 2: I have just seen your previous post right now... sorry for that.
I think that Dolfin supports images smaller than 4 MB, keeping the sum of all images below 20 MB... can you try to put in your page several images. But keeping the total weight of the images below 20 MB, and one of them bigger than 4 MB. I'm sorry to ask you to work :(. Thanks in advance ;)
 
Last edited:

mylove90

Senior Member
Feb 27, 2011
1,081
749
33
Cairo
I think it is easier to patch ini files through PFS instead of Stune because some files are made read only

PFS example is attached with original ini file
Edit it from Wave Remaker and test
Note that the files are in two directories and you need to edit both

Best Regards
 

Attachments

  • Dolfin-ini.zip
    6.8 KB · Views: 32
  • Like
Reactions: amaciarey

amaciarey

Member
Jun 14, 2011
26
9
I think it is easier to patch ini files through PFS instead of Stune because some files are made read only

PFS example is attached with original ini file
Edit it from Wave Remaker and test
Note that the files are in two directories and you need to edit both

Best Regards

Sorry for the noob question mylove90 but... if i understand you correctly, the only thing that i have to do, is a low flash using your .pfs file? Please, correct me if i'm wrong.

Cheers!
 

r_22009

Senior Member
Oct 12, 2011
146
48
Take a look at index
i've put 4 images each of theme around 4mb

about stune, i'm using 1.0.6 and it can connect but i cannot browse my files

Edit: Thank you my problem is solved
i think my stune had problem
it was solved with another stune downloading!
 
Last edited:

adfree

Senior Member
Jun 14, 2008
10,619
6,175
Samsung Galaxy Watch 4
Samsung Galaxy S22
I have now little bit time to check out few basics... :)

I need now some hours...

Best Regards

Edit 1.

Short checked different Firmwares...

Code:
XPKG5
BAL_MAX_MEMORY_USAGE=80
BAL_BACKINGSTORE_MAX_MEMORY_USAGE=85
BAL_MAX_PLATFORM_ALLOCATE=4096988 //4 * 1024 * 1024
BAL_RESERVED_MEMORY_THRESHOLD=14680064  //14*1024*1024
//FILE PATH Configuration

XPKH1

BAL_MAX_MEMORY_USAGE=80
BAL_BACKINGSTORE_MAX_MEMORY_USAGE=85
BAL_MAX_PLATFORM_ALLOCATE=4096988 //4 * 1024 * 1024
BAL_RESERVED_MEMORY_THRESHOLD=1048576  //1*1024*1024


KK5
and also
LA1
 

BAL_MAX_MEMORY_USAGE=80
BAL_BACKINGSTORE_MAX_MEMORY_USAGE=85
BAL_MAX_PLATFORM_ALLOCATE=4096988 //4 * 1024 * 1024
BAL_RESERVED_MEMORY_THRESHOLD=8388608  //8*1024*1024
BAL_MAX_IMAGE_BUFFER_SIZE=20971520 //20mb
BAL_MAX_IMAGE_CANVAS_BUFFER_SIZE=4194304 //4mb


S8600...


BAL_MAX_MEMORY_USAGE=80
BAL_BACKINGSTORE_MAX_MEMORY_USAGE=85
BAL_MAX_PLATFORM_ALLOCATE=4096988 //4 * 1024 * 1024
BAL_RESERVED_MEMORY_THRESHOLD=8388608  //8*1024*1024
BAL_MAX_IMAGE_BUFFER_SIZE=20971520 //20mb
BAL_MAX_IMAGE_CANVAS_BUFFER_SIZE=4194304 //4mb

Edit 2.
Short logged with WinComm Standard Samsung site...

Code:
WMM : Total 13631488 bytes allocated from platform, current = 2097152 bytes
WMM : Total 11534336 bytes allocated from platform, current = -2097152 bytes

This I can see if I visit gamershell :)
Code:
WMM : Total 24117248 bytes allocated from platform, current = 2097152 bytes
WMM : Total 22020096 bytes allocated from platform, current = -2097152 bytes
Cache Debug, expires now: expire:3502855669 devicetime:3502829991

Edit 3.
Why not analyze whole folder?
SystemFS\User\Br

More ini files... :confused:
 
Last edited:

amaciarey

Member
Jun 14, 2011
26
9
I'm sorry but i've been busy the last days...

@r_22009:

I tried to load the webpage in wave's browser but none of the images is shown :(. Maybe we have to analyze all the .ini files in /User/Br folder to find the right one to edit.

@mylove90:

I didn't have so much time to play with your .PFS file... but i will do it, i promise :cool:

@Adfree:

I'm not clever enough to fully understand your WinComm logs, but i've been analyzing the available heap memory through internal menu with dolfin running in background (only dolfin) after a soft reset (so the RAM of the device was clean) and it crashes when the allocated memory is about 80 MB, so i think that maybe the answer is in one of the *.ini files in /Br folder. I think is a good idea to analyze the behavior of dolfin in problematic web pages. In spain there is a web of a newspaper that crashes with all Bada 2.0 firmwares up to now. It is w w w.as.com (i'm sorry but i can't post links yet). This web page has a lot of flash contents, images and other heavy stuff.

Cheers!
 
  • Like
Reactions: adfree

adfree

Senior Member
Jun 14, 2008
10,619
6,175
Samsung Galaxy Watch 4
Samsung Galaxy S22
Good job.
Thanx. :cool:

www.as.com
Is no porn, its spanish sportsite. :D

My S8530 crashes...
short freeze, then reboot...

Before I had forced Dolfin with 4 Tabs at same time...
Code:
www.chip.de
www.melander.dk/delphi/dragdrop/
www.ebay.de
www.gamershell.com

Now with as.com site we could play with Internet settings...
Maybe disable flash and all is good...

I'm not clever enough to fully understand your WinComm logs,
Same problem here. I'm also not fully understand WinComm... :eek:

But I try to learn. :D

Best Regards
 

Attachments

  • 20110115235041.jpg
    20110115235041.jpg
    120.9 KB · Views: 127
  • 20110115235050.jpg
    20110115235050.jpg
    122.3 KB · Views: 109

adfree

Senior Member
Jun 14, 2008
10,619
6,175
Samsung Galaxy Watch 4
Samsung Galaxy S22
It seems S8600 users with more RAM have less problems...

5 Tabs at same time seems maximum...

I have short tried with reduced rcs (smaller CSC file)... seems no affect...
Will try with both... modified RC1 and rcs...

Error messages can be found in Browser.rsr in CSC with Wave_Remaker

Best Regards
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    :D

    Opera Mini 6.5 as bada App.

    And DevBrowser maybe soon 2 new Browser...

    Best Regards
    4
    RC1 optimization : http://xdaforums.com/showpost.php?p=22907665&postcount=69

    Combined with CSC optimization : i ripped of all unused languages and keeps Arabic & English only in both strings & Keyboard

    Now www.as.com opens on my phone normally with no freezing or rebooting :)

    Any other page that give page too large please to test ?? :D

    Best Regards
    3
    Hi Adfree,

    I don't know if it is related with the topic that you are researching in this thread, but looking into firmware files using Trix or Wave Remaker you can found some browser config files (in FFS/SystemFS/User/Br folder) where you can see the following parameters:

    dolfinconfig_osp.ini:

    Code:
    // MEMORY Configuration - START 
    
    BAL_MAX_MEMORY_USAGE=80
    BAL_BACKINGSTORE_MAX_MEMORY_USAGE=85
    BAL_MAX_PLATFORM_ALLOCATE=4096988 //4 * 1024 * 1024
    BAL_RESERVED_MEMORY_THRESHOLD=8388608  //8*1024*1024
    BAL_MAX_IMAGE_BUFFER_SIZE=20971520 //20mb
    BAL_MAX_IMAGE_CANVAS_BUFFER_SIZE=4194304 //4mb

    If you look for strings in Dolfin.so you can find some references to this parameters also.
    I don't know if this info is useful for your research, but I hope so :)

    Cheers!
    3
    you mean to say "Operamini 6.5 is available in Samsungapps as Bada App

    Not public yet... :eek:
    Hopefully soon. :cool:


    88pq5065t3 - Opera Mini... ca. 3 MB
    79at84b349 - DevBrowser... ca. 500 KB

    DevBrowser seems an Project from here:
    http://www.badaturkiye.com/devbrowser-yakinda-samsung-apps-da-t13679.html?p=233447

    Best Regards
    3
    Few more infos...

    It seems fast... :cool:

    Only short tested by me...

    Best Regards