[Q] Which file is responsible on RAM management. - Bada Software and Hacking General

Hello Everyone!!!
I just want to know which file is responsible on RAM management in Bada 2, and how can I change it?
And what is better, change it or leave it as it?

Maybe more details...
What you need...
Or what you expect?
"Memory Management" starts with Bootloader for instance...
Best Regards

adfree said:
Maybe more details...
What you need...
Or what you expect?
"Memory Management" starts with Bootloader for instance...
Best Regards
Click to expand...
Click to collapse
Yes that what I meant...
How can I change the Memory Management.

Yes that what I meant...
How can I change the Memory Management.
Click to expand...
Click to collapse
Then answer is.
Write your own OS... start with Bootloader...
Adresses are reserved...
Adresses first time in Bootloader chain... then also apps_compressed.bin is involved... AND more...
I just want to know which file is responsible on RAM management in Bada 2, and how can I change it?
Click to expand...
Click to collapse
It is NOT 1 file with easy big button to press for handle 2 RAM Chips...
So again. What you expect?
More RAM?
http://forum.xda-developers.com/showpost.php?p=23592620&postcount=24
Best Regards

Better Ram Management
Some custom firmware's mention the following:
Better Ram management
solve the problem of RAM shortage in Samsung Dolfin Browser V 3.0
How are these being achieved? Any ideas? Thanks.

How are these being achieved? Any ideas? Thanks.
Click to expand...
Click to collapse
In main...
Crap files removed...
There are many, many useles files... in Firmware...
Best Regards

Related

Internal menu

http://wenku.baidu.com/view/e27ca2c66137ee06eff91876.html
After reading this I tried Code:
*#7092463*#
Several nice Settings, infos... and tests.
Like Touchscreentest with Coordinates, look weird Pic...
Bad. Not every Firmware support this Code.
JI5 for instance no chance... Reason I think is here:
http://forum.xda-developers.com/showthread.php?t=895526
We should more investigate this file...
I saw for S8000 they were also lucky to find new Code...
http://code.google.com/p/jetdroid/wiki/JetBootloader
I think this menu is active, only other Code needed for higher Firmware...
Best Regards
It seems not the Firmware Version is mandatory...
.. it seems this menu is locked...
I compared 2 Waves with same Firmware.
First no success. Second success... but after several Flashs I lost access to Internal menu.
Now after playing with AT commands... it is back.
It seems we can unblock... I have only no idea how exactly I've unblocked Internal menu.
Best Regards
Rsrc2_S8500(Low).rc2
Rsrc2_S8500(Mid).rc2 ----> it seems this can access Internal menu
It seems *.RC2 is the Block for Internal menu.
Compare both files, you see only 1 Byte difference.
Maybe this means something like, Low Security, Middle Security... maybe there are higher Settings possible...
I will check this.
Best Regards
how come this menu exists on wave 525 regardless of firmware?
hmm, I think I'm missing something here. In all the firmwares I've downloaded not once have I seen a Rsrc2_S8500(Mid).rc2.
Can you upload yours or otherwise let us know where we can get one from please.
Also can you tell us which firmware you're running please?
Cheers in advance,
D.
you can make yours as MID or even High with Wave remaker
http://forum.xda-developers.com/showthread.php?t=1028714
Don't forget to give a thanks to ho1od
Enter Code into handset:
Code:
[B]*#33284*#[/B]
= Debug Level (Low, Midle, High)
Best Regards
adfree said:
Enter Code into handset:
Code:
[B]*#33284*#[/B]
= Debug Level (Low, Midle, High)
Best Regards
Click to expand...
Click to collapse
Cheers Adfree - that's exactly what I was looking for ... I'm gonna try figure out decent keymaps for the android port
9600 Baud and check the setting UE Awake...
Ok...
Volume + = 0x54
Volume - = 0x55
Call = 0x50
Home = 0x53
Hangup = 0x51
Camera Halfpress = 0x8e
Camera Fullpress = 0x8d
Standby = 8f
now... how to change these into values for the s3c-keypad.kl file...
duxxyuk said:
now... how to change these into values for the s3c-keypad.kl file...
Click to expand...
Click to collapse
sorry to be off topic...
but...
the Android kernel interpets things differently, you can look at the kernel dmesg log when pressing the buttons if you want to see what is attached where, but some keys don't work from fota loader yet, people not interested in the dev side (like fixing fota or kernel issues instead of trying to install android apps) should wait for a proper release.
Not sure if before... but Backup and Restore seems possible on KK5...
Searching for folder where it is stored...
Best Regards
adfree said:
Not sure if before... but Backup and Restore seems possible on KK5...
Searching for folder where it is stored...
Best Regards
Click to expand...
Click to collapse
Thanks adfree
in before firmwares backup and restore works with kies but i dont know is it
available with phone or no .
can you please tell me how can i access to this menu ? i want to test it with other firmwares
Normally the answer is in this Thread...
Anyway.
Menu is blocked if not on Debug Level Mid or High... So first step:
*#33284*#
Later set back to Low to prevent Bluescreens.
Second step is:
*#7092463*#
Then:
4 Module Setting
11 Sync
At the moment no idea where Backupfile is stored...
In WinComm I saw this:
Code:
SmlBackupRestoreDebugHistoryResult: Cannot make config file!(/User/Mass/SmlMgr/_LastBnRHistory.txt)
I will deeper research...
Please remember. At your own risk. No idea if sideeffects...
Best Regards
any try to restoring failed
the error is : Restoring fail ( Manifest error or no Manifest ! )
---------- Post added at 12:30 PM ---------- Previous post was at 12:18 PM ----------
with stune :
User > SyncML
there is some *.cfg files
what is your idea is them backup files ?
Code:
+[059]=> [622.092]Packaging Start[/Media/_SamsungBnR_/Message.bk]
+[060]=> [622.109]Packaging Finish[/Media/_SamsungBnR_/Message.bk]:[Success]
+[061]=> [622.147]Packaging Start[/Media/_SamsungBnR_/MusicSetting.bk]
+[062]=> [622.166]Packaging Finish[/Media/_SamsungBnR_/MusicSetting.bk]:[Success]
I was able to create folder:
/User/Mass/SmlMgr/
Then file is written after Backup _LastBnRHistory.txt
Maybe I am blind, can't find yet folder /Media/_SamsungBnR_/
Maybe hidden or I am blind...
At the moment toooo lazy to backup again all files and searching for *.bk extension...
Maybe later more...
About Restore...
Success, but I have nothing installed yet and no SD card...
with stune :
User > SyncML
there is some *.cfg files
see below image :
there is some *.cfg files
Click to expand...
Click to collapse
Strange, I thought they are for FOTA...
I'll update to bada 1.0 and check again...
Maybe then more success to find *.bk files...
Best Regards
XXKL6 on my S8530 shows me Total Heap Mem.
245.760K
This seems 40 MB more then on bada 1.2...
Will check S8500...
Best Regards
adfree said:
XXKL6 on my S8530 shows me Total Heap Mem.
245.760K
This seems 40 MB more then on bada 1.2...
Will check S8500...
Best Regards
Click to expand...
Click to collapse
I can confirm this number in S8500... in XXKK7, 245.760 K... It seems that S8500 and S8530 are identical in memory issues..
Cheers!
Maybe we can find this info from S8600, S7250 and so on...
S8600 should have "more"... maybe...
Best Regards
that's right adfree, my s8600 show me more!

[Q] Does anyone know exact spec of the NAND memory in Desire phone?

Title says it all ...
Spec? I guess the space of each partition. By default it's 250MB of /system, 40MB /cache and 147MB of /data.
No sorry, I mean the technical spec (datasheet) of the memory chips.
512MB ish.
Lookup for 4Gb Samsung KA100O015M-AJTT chips (AFAIK).
------------------------------
- Sent via HTC Desire -
th3 said:
Lookup for 4Gb Samsung KA100O015M-AJTT chips (AFAIK).
Click to expand...
Click to collapse
Thanks. That's what I wanted. Now ... finding the datasheet ... not so easy ;-)
Plase post here the link amigos 8)
Cant find it... Thanks a lot
hi,
there is interesting info
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
foobar66 said:
Thanks. That's what I wanted. Now ... finding the datasheet ... not so easy ;-)
Click to expand...
Click to collapse
is there something interesting you are trying to do with the info? Please share

Debugger, IDA and other Tools for Education... for beginners

http://www.ollydbg.de/
I have minor knowledge with OllyDbg... loooooong time ago...
Some Update Tools from Siemens... to catch Firmware from RAM...
Now I would like to sniff some functions from bada SDK... Simulator/Emulator...
But both Software not cooperate... Samsung protect their bada SDK...
Is it possible to use OllyDbg or other to better understand how Firmware is working?
Remember apps, RC1, etc. is in bada SDK too... not encrypted...
Please.
I need advice.
Thanx in advance.
Best Regards
Edit 1.
Not solved...
But now new Threadtitle...
http://www.chip.de/downloads/IDA-Pro-Free-4.9_29744270.html
Oh, not realized...
FREE Version of IDA...
Not tested yet.
Maybe good enough for first steps...
My first tests also with limited DEMO Version of IDA:
https://www.hex-rays.com/products/ida/support/download_demo.shtml
Best Regards
Edit 1.
4.9 Version of IDA...
Now found 5.0 as FREE
http://www.computerbild.de/download/IDA-Pro-Freeware-7450735.html
Edit 2.
Demo Version is 6.4...
Problem 1...
In IDA 6.4 DEMO I can click click ARM click click and IDA do something with my ELF files...
In FREE Version 5.0 I have problems to find correct setting...
See Screenshot, this Tab is complete unusable...
Any ideas?
I'm trying to open BL3 ELF...
Best Regards
adfree said:
Problem 1...
In IDA 6.4 DEMO I can click click ARM click click and IDA do something with my ELF files...
In FREE Version 5.0 I have problems to find correct setting...
See Screenshot, this Tab is complete unusable...
Any ideas?
I'm trying to open BL3 ELF...
Best Regards
Click to expand...
Click to collapse
i have IDA PRO portable, see(kona.exe):
only crazy to understand this program, too complicated.
Demo of 6.4 looks identically...
Easy click click ready...
Free Versions 5.0 and 4.9 looks different in first menu...
Maybe someone can tell us how to work with FREE Version 5.0...
Thanx in advance.
Best Regards
http://www.riffbox.org/RIFFBOX_GDB_IDA__Feel_the_FULL_power_of_IDA.swf
http://www.riffbox.org/RIFF_JTAG_GDB_SERVER_IDA_DEBUG_SAMSUNG_I9100.swf
Nice Videos... about IDA + JTAG RIFF :good:
Best Regards

Customize your firmware

For Bada 2.0
To enable (or disable) some fonction directly from firmware.
Extract CSC with tool (WaveRemaker), go to CSC\SystemFS\Settings\PreConfiguration\Default\NV
Open nv_original.ini
To change browser's user agent add this command: NV_SI_UAGENT=the user agent you want to use
Exemple:
NV_SI_UAGENT=Mozilla/5.0 (Linux; U; Android 4.0.3; fr-fr; GT-I9000 Build/IML74K) AppleWebKit/535.7 (KHTML, like Gecko) CrMo/16.0.912.75 Mobile Safari/535.7
You also can active others, like:
- Battery percentage => NV_SI_BATTERY_PERCENTAGE_ENABLE =1
- Disable Mode vibrate => NV_SI_MODE_VIBRATE=0
etc.
The file after looks like that
#Version
Version=1
#NvId
NV_SI_ADM_PRE_CONFIGURATION=0
NV_SI_MODE_VIBRATE=0
NV_SI_BATTERY_PERCENTAGE_ENABLE =1
NV_SI_UAGENT=Mozilla/5.0 (Linux; U; Android 4.0.3; fr-fr; GT-I9000 Build/IML74K) AppleWebKit/535.7 (KHTML, like Gecko) CrMo/16.0.912.75 Mobile Safari/535.7
Click to expand...
Click to collapse
After modifying, rebuild the CSC and flash your wave.
There are a lot of other things, to see all actions, plug your wave to computor, run Stune and open Settings/Default/NV/nv_default.ini
If you find interresting things, thanks for making your feedback
What works?
- NV_SI_MODE_VIBRATE=0
Vibrate is disabled
- NV_SI_BATTERY_PERCENTAGE_ENABLE =1
Battery % is enabled
- NV_SI_PHONE_SLEEP=600
Backlight time (15s, 30s by default, 60s, 180s, 600s)
- NV_SI_UAGENT=
Browser user agent you want
- NV_SI_NETWORK_DATA_ROAMING=1
Roaming is enabled
- NV_SI_USE_PACKET_DATA_ENABLE=1
Packet data is enabled
- NV_SI_MOTION_SHAKE=0
- NV_SI_MOTION_TILT=0
-NV_SI_MOTION_TURN_OVER=0
- NV_SI_MOTION_SHAKE=0
Motions are disabled because I never use them lol
- NV_SI_LCD_CONTRAST=13
To adjust brightness, 15 by default (set 5 on wave). If you want 3, put 13, etc
Some other interesting do not work (Fake call, light sensor, Wifidirect, etc)
Is there a list of all NV_SI available??
NV_SI
Here's a complete list of NV_SI items.
"After modifying, rebuild the CSC and flash your wave."
Is the 'rebuild' just saving the file as uncompressed CSC?
Can I then choose the new CSC file when flashing or is there something else I need to do before flashing?
Thanks!
http://forum.xda-developers.com/showpost.php?p=22256801&postcount=231
Maybe Font path... for easier Fontchange...
Code:
NV_SI_FONT_TYPE_DEFAULT_FILE=/SystemCSC/Font/Samsung font.ttf
NV_SI_FONT_TYPE_FILE=/SystemCSC/Font/Samsung font.ttf
Maybe Product Code change...
Not tried yet.
But I think their are few more usefull settings possible.
As some differences in bada 2.0 Firmware... since bada 1.x...
Best Regards
I wonder if it is possible to update this thing without losing any data
I already tried with Stune with no success
Can anyone post possible paths of such a file ?
Maybe i missed one of those
Thanks in Advance
Best Regards
Edit : I see these files only
/Settings/Default/NV/nv_default.ini
/SystemFS/Settings/PreConfiguration/Default/NV/nv_original.ini
/NV/nv_default.ini
I remember a table of NV items with addresses posted on another thread i'll look into it
Edit 2 : NV items table posted by Rebellos
Here : http://forum.xda-developers.com/showpost.php?p=21377672&postcount=10
And Here : http://forum.xda-developers.com/showpost.php?p=19746682&postcount=28
Edit 3 : NV items addresses in hex-decimal format are attached for faster investigation
NV/nv_default.ini
This is hidden folder...
NV means NV items. You can also reach them, if you know ID via Qualcomm Tools.
But this config list seems easier.
Yes, in theory maybe with Multiloader it could be to flash only such text file to change NV item.
But no idea how...
I'm new to Samsung.
Only 1 year experience.
Maybe someone else has experience with Qualcomm models from Samsung and know how to change NV items in other way, without dataloss and without Qualcomm Tools...
Best Regards
Edit 1.
No idea if possible to change this file... with effect and no dataloss... never tried
NV/nv_default.ini
---------- Post added at 09:48 AM ---------- Previous post was at 09:11 AM ----------
NV_SI_OPERATOR_SALES_CODE=KOR
I am not sure as I have very often flashed then used Preconfig...
Sometimes it seems. Product Code is changed from Firmware Flashing...
Maybe it is possible to use Multiloader in this case, to change Product Code...
Need to be confirmed.
Best Regards
congratulations very good idea.
http://forum.xda-developers.com/showthread.php?t=1505302:D
adfree said:
http://forum.xda-developers.com/showpost.php?p=22256801&postcount=231
Maybe Font path... for easier Fontchange...
Code:
NV_SI_FONT_TYPE_DEFAULT_FILE=/SystemCSC/Font/Samsung font.ttf
NV_SI_FONT_TYPE_FILE=/SystemCSC/Font/Samsung font.ttf
Maybe Product Code change...
Not tried yet.
But I think their are few more usefull settings possible.
As some differences in bada 2.0 Firmware... since bada 1.x...
Best Regards
Click to expand...
Click to collapse
It is working, I changed to choco cokie font
Interesting: NV_SI_ANYKEY_LCD_ON=1 it works!!!
Themes not work, is changed on adjust, but no apply...
NV_SI_THEME_DEFAULT_FILE=/AppEx/Sys/Theme/Default theme.smt
NV_SI_THEME_USE_FILE=/AppEx/Sys/Theme/Default theme.smt
regards
aluke
NV_SI_LIGHT_SENSOR_ACTIVE=0
Click to expand...
Click to collapse
Is there a light sensor !
NV_SI_DATE_START_YEAR=2011
Click to expand...
Click to collapse
Nice when the phone ask for the date
NV_SI_DEVICE_NAME=Samsung Wave
Click to expand...
Click to collapse
Useful for Bluetooth , Modem & DLNA names
NV_SI_FAKE_CALL_VOICE=0
NV_SI_FAKE_CALL_TIMER=10
NV_SI_FAKE_CALL=0
Click to expand...
Click to collapse
Maybe possible to revive this option ?!
Sorry No time to test today
Best Regards
mylove90 said:
Is there a light sensor !
Click to expand...
Click to collapse
of course.. the s8600 got one
NV_SI_KJAVA_RUNNING_MIDLET_COUNT=5
NV_SI_JAVA_DEFAULT_MIDLET_COUNT=5
5 JAVA program running at the same time
full flash
translation by Google
If I set "NV_SI_PHONE_SLEEP=8" would it work?
josephpatrick said:
If I set "NV_SI_PHONE_SLEEP=8" would it work?
Click to expand...
Click to collapse
Yes, normally it should work since it is you who makes the restrictions.
Soxix said:
Yes, normally it should work since it is you who makes the restrictions.
Click to expand...
Click to collapse
It works but I need to figure out a way to list 8 secs in the menu as well because in case I switch to 15secs I do not have the option to switch back to 8secs. Any thoughts?
josephpatrick said:
It works but I need to figure out a way to list 8 secs in the menu as well because in case I switch to 15secs I do not have the option to switch back to 8secs. Any thoughts?
Click to expand...
Click to collapse
Just don't change of settings
Or you will have to add a setting to the concerned file of the settings menu.
And I have no idea how to do this. I even wonder whether it is possible...
How to delete operator name on notification bar?
Very good.
Thanx lasentenza
I will now use these:
Code:
NV_SI_BATTERY_PERCENTAGE_ENABLE =1
NV_SI_PHONE_SLEEP=600
NV_SI_MODE_VIBRATE=0
Maybe someone found more usefull settings?
And maybe someone know how to flash this with Multiloader?
I mean only the NV items ?
Maybe as ETC in Multiloader?
nv_original.ini
Best Regards
NV items edit with a flash to overwrite old files doesn't change NV items for real
It just replace the files with newer ones
Sorry you have to do a full flash with newer CSC file to get it working
Best Regards
Found on S8530NELH2 but why 1.0 and GT-S8500
NV_SI_UAGENT=SAMSUNG-GT-S8500/1.0 Bada/1.0 Dolfin/2.0 NexPlayer/3.0 SMM-MMS/1.2.0 profile/MIDP-2.1 configuration/CLDC-1.1 OPN-B
NV_SI_SETTING_SAMSUNG_APPS_UPDATE_NOTIFY=packet

[Q] some questions about wave1

hi, im new wave1 user ( bada 2.0.1), bought it yesterday! nice phone, nice screen, there is some things that i miss it from android:
1- the notification bar has only : wifi-btooth-rotation-sound/vibration: cant we added more? or only stuck with this 4 mousquetaire?
2- there isnt an option to make the phone slience without vibration intill we go to settings/sound? any tip or move like pressing volume+central touch?
3- brightness without going to settings? widget?
4- missing call/sms! the phone doesn't show a sign of life? no led notification? no screen blinking?
5- skip the trach by pressing volume rockers?
6- thanks for all and sorry if my questions are outdated
1- the notification bar has only : wifi-btooth-rotation-sound/vibration: cant we added more? or only stuck with this 4 mousquetaire?
Click to expand...
Click to collapse
See here... 5 options...
http://forum.xda-developers.com/showthread.php?t=1534964
But this depend on Firmware...
No idea how to add or remove something in this area...
Best Regards
adfree said:
See here... 5 options...
http://forum.xda-developers.com/showthread.php?t=1534964
But this depend on Firmware...
No idea how to add or remove something in this area...
Best Regards
Click to expand...
Click to collapse
thks for yr reply! can i flash any wave1 rom on my phone? i mean any rom from any country on mine? thks a lotttttttt
can i flash any wave1 rom on my phone?
Click to expand...
Click to collapse
Caution, not all Firmware maybe include your languages...
Maybe easiest way to post your Firmwareversion.
Enter *#1234# and post result...
Is English enough as Display + Input Language?
Or you need other Fonts...
Best Regards
adfree said:
Caution, not all Firmware maybe include your languages...
Maybe easiest way to post your Firmwareversion.
Enter *#1234# and post result...
Is English enough as Display + Input Language?
Or you need other Fonts...
Best Regards
Click to expand...
Click to collapse
well after typing *#1234# the results
sw ver = S8500XPKJ1
CSC VER = S8500OXAKJ1
but french+english are enough .... thks a lotttttt
4- missing call/sms! the phone doesn't show a sign of life? no led notification? no screen blinking?
Click to expand...
Click to collapse
for your sms issue: go to "Settings" -> "Messages" @first line "Alert repetition" ..
with best regards
freddy5 said:
for your sms issue: go to "Settings" -> "Messages" @first line "Alert repetition" ..
with best regards
Click to expand...
Click to collapse
hi, thks, for yr help, bada is nice system, but i think need some ' flexibility' jsut like the green little robot hehe...
was trying out some stuffs in bada,, and I really dont understand y thiungs are so complicated out here unlike android!
altruistic666 said:
was trying out some stuffs in bada,, and I really dont understand y thiungs are so complicated out here unlike android!
Click to expand...
Click to collapse
agree

Categories

Resources