yashsingh1/xdaforums huggingface dataset:
[Android Development on Bada] lalu:
My story:

I bought a Samsung Spica for about 230 euros and registered it on Samsung.ro which had a contest, offering the first 10 Wave handsets in Romania for buying any Samsung handset the previous month (contest of course) and I won one. Problem is that Spica's hardware is pretty good but it's been "handicapped" from the factory so that they could launch Galaxy S two months after for a difference of twice the price (460 euros) and 200 MHz in processor (Spica has 800 MHz) 256 MB of RAM, AMOLED display at 480x800 (Spica is 320x480). Anyway, the price difference is huge and inexplicable from my point of view. So what did I get? A handicapped phone and another one I didn't really wish for. Anyway, with time Spica got (and is still getting) better and better thanks to people at samdroid.net, but when I installed Android the first time on Wave... maaan... At that time I hadn't seen any other Android phone to run that smooth. Well, this is just an example of really bad luck and why do I still have hope.

P.S.: About QMG files... I read a lot about them and AFAIR it's a format specific to Samsung and to extract them you need a software (from the guys that made the format) which costs a ton of money (no, couldn't find it anywhere). Can't remember exactly, I did the research like one and a half year ago.

Best regards!
[Android Development on Bada] adfree:
NO problem.

I have sometimes same problem. :D

I think if we take all puzzle parts together...

From Android lib as folder name...

*.so files also in bada SDK and bada Firmware... and if I look into this text...

http://developer.bada.com/documenta...orderField=DISP_DD_TXT_DESC&searchPubYNFlag=Y

My own research for instance... if you use WinComm for logging S8500 in "bada mode"...

http://xdaforums.com/showpost.php?p=23595636&postcount=11

I've ever thought Browser Dolfin is only doflin.so... BUT no... first start Browser.so...

So these only parts of "app"...

About QMG...

1.

We can create QMG files with Theme Creator from Samsung...

public available for free

But not convert back in normal Picture Format...

2.

QMG Pics are used also in RC1 file in bada 2.0...

For bada 1 Wave_Remaker makes content of RBM files visible.

Big thanx to ho1od :

http://xdaforums.com/showpost.php?p=21512019&postcount=436

2.1

I can make extracted QMG files visible... in different ways... but this is very, very hard for me...

http://xdaforums.com/showpost.php?p=18431096&postcount=27

So maybe we could combine knowledge from bada AND Android to make progress.

Sometimes solution is long time available somewhere in Internet and we are only too blind to see it. :o

Best Regards

Edit 1.

WinComm Log... example...

[B][U]OemDllLoadLibrary[/U][/B] : (/SystemFS/Shp/MediaExplorer.so,0x2208F27C,0) loaded at 0x6E110000
OemDllLoadLibrary : (/SystemFS/Shp/MediaExplorer.so) initialize done
[Android Development on Bada] adfree:
Is in Android world *.so files from Samsung Open Source ? :o

Thanx in advance.

Best Regards
[Android Development on Bada] Rebellos:
*.so is the very similiar thing in Linux as *.dll in Windows, it's functional library loaded by program/operating system during runtime - usually closed source.
[Android Development on Bada] adfree:
http://www.tipcache.com/tip/Convert_a_static_library_(.a)_to_a_shared_object_(.so)_12.html

Found this via Google...

So maybe *.so means shared object...

Best Regards
[Android Development on Bada] yakub234go:
http://www.fileinfo.com/extension/so
[Android Development on Bada] anghelyi:
As I remember Rebellos already stated that the .so files are the linux/unix equivalents of the windows dll files. It is true, they are. We might skip this part as this will lead to nowhere ;)
[Android Development on Bada] adfree:
Maybe in point of Android porting you are right... :D

We know what is skipped now. :D :p

Whole Porting project... :( :rolleyes:

But in bada world we stuck in *.so modifying as protected files by RSA Security check...

So maybe train brain is not useless... :)

Best Regards
[Android Development on Bada] anghelyi:
I can only agree with this :)

But I can not agree with the Android part. The project is not skipped, as there were no real project. Bacically it was two men who worked on the Kernel for Wave and they stopeed it. As there are no real developers here (besides Rebellos and oleg_k) it was expected...

I proposed a new solution for the modem a week ago, but noone jumped on it, this pretty much summarizes the situation... Unfortunatelly I have even less free time nowadays than before so I won't be the one who will experiment with it.

(And I think the situation will be even worse in a few months as the first(?) users will get rid of their Waves, if they hasn't done this already. This will make the project even more hard to finish....)
[Android Development on Bada] kingkij:
surly situation will get worse beacuse most peoples are getting rid of their wave.

peoples who doesnot get rid of their wave are mostly ones who can't afford to buy another CellPhone every year (like me) or they use their wave as wireless telephone (the advanced version of the G.Bell's phone :D).
[Android Development on Bada] adfree:
This is NOT my work.

But maybe someone could help.

Where is the recovery hidden in 2.2 system ?

Best Regards
[Android Development on Bada] mikegapinski:
Or other way, how to repack sbl.bin
[Android Development on Bada] anghelyi:
Where does it connect to recovery? "recovery" the command is inside the initramfs and packed to the zImage. You can access it by holding the call and the volume down (or up?) keys while booting the Android if I remember well.

But the missing dalvik-cache is another issue: it's either not created or not "mapped" from the init.rc. At least we did something like :

mkdir /cache 0770 system cache
chown system cache /cache

mkdir /data/cache
chown system cache /data/cache
chmod 0770 /data/cache
.
.
.
# create dalvik-cache and double-check the perms
mkdir /data/dalvik-cache 0771 system system
chown system system /data/dalvik-cache
chmod 0771 /data/dalvik-cache

---------- Post added at 12:54 PM ---------- Previous post was at 12:51 PM ----------

I'm not sure about this, the sbl.bin was provided by b.kubica, I think. It's a "patched" sbl.bin from Galaxy S, and with the 2.2 the FOTA used this to boot the Android kernel.
[Android Development on Bada] mikegapinski:
So how I can mod the init.rc for ICS ? I tried to build the kernel 35 from posted soruce but I won't even get the galaxy S logo ... Maybe I didn't integrated the init stuff to zimage. I got experience with android but I donno the way it works on wave, I just got this phone
[Android Development on Bada] mikegapinski:
I was asking for recovery bcos I can't get to it on other system than 2.2 ... I mean the right button, menu and vol up. It runs the script from SD I think
[Android Development on Bada] anghelyi:
The last kernel source on google code doesn't work for me, either. You can find the "old" initramfs, FOTA and other stuff here: http://code.google.com/p/badadroid/source/browse/#svn/branches%3Fstate%3Dclosed

I think the kernel source for 2.2 is not online, I have some old version, I can upload that to somewhere. I MIGHT have the last working version also, but I have to check that!

edit.: here you are, it's pretty old, but for start it should be OK.

http://www.2shared.com/file/CRA_jOfc/s8500_kernel__1_.html

edit2: I checked, and you are right, the recovery runs from the filesystem, at least according to my recovery.rc:

service recovery /system/bin/recovery

So I was wrong, it's in the platform files. Maybe the problem is that the recovery is on different location in the GB/ICS filesystem
[Android Development on Bada] mikegapinski:
Ok, but how I can change them ... when I get kernel build I kernel I get zimage only I think. On normal device init stuff is splited in boot.img witch has kernel and ramdisk

@up ... Do you have somewhere the 35 working (soruce). I need to edit kernel to fix many bugs... I just need to replace binary file ... Any idea how to get the cache to work.

Ok, so now how I can edit the init stuff to get the cache
[Android Development on Bada] aashil16:
okay i asked tigrouzen and he gave me this fota. But it shows me a white screen with file not found error. can you check it please ?

http://www.multiupload.nl/IKPQ8OVYGC
[Android Development on Bada] Tenroc:
put the kernel in the SD card, not in the phone internal memory.
[Android Development on Bada] aashil16:
okay now it shows a white screen with wave written on it. And then the screen turns black. Any idea ?
[Android Development on Bada] Tenroc:
Wich rom did you installed, what kernel are you using?
[Android Development on Bada] ghanii:
I have a problem with network detection using Tigrouzen latest kernel.. my network is not getting detected so I cant use it for calling/msgs.. any advice for dat wud be rly appreciated
[Android Development on Bada] aashil16:
I havent installed any ROM cause i can't start the CWM recovery. And I use Tigrouzen's SD kernel and modified fota given by him. What i think is that in this fota the CWM recovery still starts by pressing power + home button(correct me if i am wrong). With my home button dead i cant access CWM recovery.
[Android Development on Bada] Tenroc:
Hm, yes, you're right, you need a working home button to enter recovery mode. you can still use rebellos's original fota... (just don't forget that in that case you have to put the kernel in the phone user memory and not in the SD card, and you won't be allowed to use the multi rom function that come with the tigrouzen's fota. (your will still be able to boot in bada though), and that you will have to boot android with the call+end call keys). you cant boot in recovery mode with this fota with: vol up+ end call keys.

(by the way, I don't think that this thread is really the right place to ask that kind of questions, you should better post it in the tigrouzen's thread :) )
[Android Development on Bada] zookarma:
OK, cause i find many info i must confirm before testing :o

I am on Volks badadroid but want to try Tigrouzen rom and i dont want SD version. Is it enough to push Zimage and from recovery restore 4.3 rom OR do I must " partition " and do AGAIN FOTA n BOOT Download ?

ANd do I have to partition the ROM anyway before doing anything ? Tnx
[Android Development on Bada] adfree:
"Result" about Keys in FOTA...

http://xdaforums.com/showpost.php?p=46786916&postcount=60

So you need latest FOTA source and it seems FASM as Compiler...

Ehm, never tried FASM...

And no idea which is latest source of FOTA for this request...

Best Regards
[Android Development on Bada] adfree:
I have little progress...

Call Key seems good idea... because easier to identify...

Also in existing FOTA files, without having the source...

Call Key have in Binary HEX Value:

FB

Home Key:

FE

Short tested in armlinux_boot_S8500XXKL5_for_0_07...

Because this seems the SD Version...

http://xdaforums.com/showpost.php?p=46502678&postcount=381

Short compared with:

http://xdaforums.com/showpost.php?p=46437101&postcount=1

I can see differences, but no idea which one...

I am tooo lazy, for more tests... yet.

Sorry.

Best Regards
[Android Development on Bada] adfree:
I have now REAL I9000 for stupid tests... :angel:

And now I am wondering again...

Firmware JW4 shows on Taskmanager:

364 MB

:confused:

I thought I9000 has more RAM as S8500...

Maybe also reserved for Call processor...

:confused:

Here I can see how RAM consuming Apps could be... :eek:

If I clean Memory... 186 MB is standard reserved...

Best Regards
[Android Development on Bada] kktkaran:
i have seen i9000 2 year ago , there was 391 mb ram on task manager ( not 364 ) , u r on gb ?
[Android Development on Bada] adfree:
I think yes... old GINGERBREAD.XXJW4

I was to lazy to search/download latest Firmware...

JW4_JW4_JW4.tar I have since March 2012 on my HD...

It is my FIRST Android handset. :o

For few stupid tests and learning... :angel:

Best Regards

Edit 1.

From I9000 Service Manual... Samsung GT-i9000 Service training manual.pdf

Total : 4G(OneNand) + [B]3[/B]G(DRAM) + 1G(OneDRAM)
User : 400MB + 1GB(for Appl.)

S8500 ... Samsung GT-S8500L Wave Training Manual HW.ppt

Total : 4G(OneNand) + [B][COLOR="Red"]2[/COLOR][/B]G(DRAM) + 1G(OneDRAM)
User : 400MB + 1GB(for Appl.)
[Android Development on Bada] Rebellos:
What taskmanager shows is userspace available memory that''s = (total amount of memory - modem reserved space - media carveouts (mfc, fimc, fimd) - mem occupied by kernel)
[Android Development on Bada] aakashp91:
How to change keys ?

My middle key is not working in handset S8500..

I want to change keys used in Clockworkmode recovery or want to flash by pc but don't know how to do ..

and don't know how to use fastboot and adb on s8500..

i can't install rombecause of middle key not working i ca't selest in CWM mode or can any one know to make CWM touch for s8500...
[Android Development on Bada] aashil16:
[MENTION=4707286]aakashp91[/MENTION] : Use the kernel in the given link. Home key mapped to lock key for CWM.

http://filebin.ca/104AuW6hobPR
[Android Development on Bada] aakashp91:
Thank you very much It worked...
[Android Development on Bada] adfree:
Memo to me:

http://free-electrons.com/blog/uncompressed-linux-kernel-on-arm/

How big is the uncompressed zImage for S8500/S8530 if compressed size is around 5 MB?

I have found tipps to decompress zImage from I9000...

compressed size 6 MB

decompressed 14 MB...

Later more...

I have more questions... :D

Entry point etc...

Best Regards

Edit 1.

It seems zImage also starts from other addresses...

Short tested 0x23000000

This seems the 128 MB OneDRAM according to the address...

Edit 2.

Invert the addresses seems not work...

Jumpout 0x44000000...

This should the location in 256 MB DRAM...

Upsi... :eek:

No this work also, but here is big time difference visible...

So it seems the 128 MB OneDRAM is faster as the 256 MB DRAM "Chip"...

Interesting...

Edit 3.

Successfully tested copy to:

0x22000000

And Jumpout 0x40000000

Very slow but it works. :cool:

Which remarkable coincidence apps_compressed.bin of XXLA1 S8500 has this Entry Point in ELF Header...
[Android Development on Bada] adfree:
http://xdaforums.com/showpost.php?p=12993726&postcount=316

Sbl_patched.zip

Please, someone has this file or know, where I can download?

Thanx in advance.

Best Regards

Edit 1.

Seems I have found on my HD... after this post:

http://xdaforums.com/showpost.php?p=13172174&postcount=595

Filename is:

kernel_s8500.tar
[Android Development on Bada] Taxidriver05:
Unfortunantely I heard about this file first time now,...

Linked download page is currently down...
[Android Development on Bada] adfree:
Memo to me... about shutdown in bada...

4174 148.775 P00.T10.D001.G00.E039:12E3 BOOTMGR > OemBmShutdown: DllMgr deleted.
4175 148.845 P00.T10.D001.G00.E039:12E3 BOOTMGR > OemBmShutdown: Db2Mgr deleted.
4176 148.851 P00.T10.D001.G00.E039:12E3 BOOTMGR > OemBmShutdown: NvMgr deleted.
4177 148.858 P00.T10.D001.G00.E039:12E3 BOOTMGR > OemBmShutdown: FileMgr deleted.
4178 148.865 P00.T10.D001.G00.E039:12E3 BOOTMGR > OemBmShutdown: UART, USB deleted.
4179 148.873 P00.T10.D001.G00.E039:12E3 ALL > OemBmShutdown: Before MemGetMBOverflowStateEx.
1212 0148.881 S6E63M0 : LDI_S6E63M0_Power_Off +
1213 0149.008 S6E63M0 : LDI_S6E63M0_Power_Off -
1214 0149.010 Display_LSI : disp_Main_Off
4180 149.014 P00.T10.D001.G00.E039:12E3 EXCEPTION > OemLcdTurnOff : plz implement me
4181 149.021 P00.T10.D001.G00.E039:12E3 ALL > OemBmShutdown: Before MemGetCurrentlyAllocatedMemListEx.

.

.

.

6917 177.534 P00.T10.D001.G00.E039:12E3 EXCEPTION > =============End print not freed heap(0) chunk=============
6918 177.543 P00.T10.D001.G00.E039:12E3 EXCEPTION > [B]OemBmPreShutdown: Inform the power off to CP side[/B]
6919 177.554 P00.T11.D001.G-1.E-01:0000 EXCEPTION > [CPLog]: Sub 0010 185.692 -1: BOOTMGR > _BmPacketReceiveCallback: Boot command is [0x3]
1225 0178.052 [B]maxim_poweroff complete[/B]...

XXJEB via UART...

Best Regards

Edit 1.

About battery...

http://xdaforums.com/showpost.php?p=12671889&postcount=115
[Android Development on Bada] adfree:
Please, somebody can help noob... me. :D

1.

How to use ADB with Wave ?

:confused: :o

2.

Screenshots... Thanx Gunter33

http://xdaforums.com/showpost.php?p=49866355&postcount=169

Any kind of usefull Tutorials, Links etc. are welcome.

Thanx in advance.

Best Regards
[Android Development on Bada] yakub234go:
http://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/

http://xdaforums.com/showthread.php?t=1474956
[Android Development on Bada] adfree:
I have progress with ADB + Screenshots.

* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
0000045600000123 recovery

mount: mounting /dev/block/loop0 on /cache failed: Device or resource busy
5414 KB/s (259910 bytes in 0.046s)
0 KB/s (102 bytes in 1.000s)
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
bpp : 16
size : 768000
width : 480
height : 800
ARGB offset : 0 11 5 0
ARGB length : 8 5 6 5
Framebuffer Pixel Format: 1
Saved to /cache/ScreenShots/Screenshot_2011_01_04_00.22.13.png
pull: building file list...
pull: /cache/ScreenShots/Screenshot_2011_01_04_00.22.13.png -> ./Screenshot_2011
_01_04_00.22.13.png
1 file pulled. 0 files skipped.
2440 KB/s (195215 bytes in 0.078s)
Drücken Sie eine beliebige Taste . . .

Thanx Gunter33 for helping me in German language.

Best Regards
[Android Development on Bada] hunktb:
As I understand these are logs about shutdown in bada, it may give some clue to get similar logs with reboot in bada instead of shutdown, and look for differences, to try to guess how to implement power off in badadroid, not always restart.
[Android Development on Bada] adfree:
No idea how?

:confused:

These Logs are from apps_compressed.bin running... bada kernel...

Logged with WinComm...

After I have pressed yes...

For Reboot I have no similar menu...

If I change Debug Level via Code, then Reboot possible...

Hold Endcall button for few seconds... Hardreset...

I will check something and come back later...

Best Regards

Edit 1.

Added Screenshot for Log...

Need to flash XXJEB again, as XXLA1 seems not to show such message...

Edit 2.

Power OFF from cm-11-wave_v4.1

<6>init: processing action 0x503c0 (property:sys.powerctl=*)
<6>SysRq : Emergency Remount R/O
<6>EXT4-fs (loop0): re-mounted. Opts: (null)
<6>EXT4-fs (loop1): re-mounted. Opts: (null)
<6>EXT4-fs (loop2): re-mounted. Opts: (null)
<0>Power down.
Emergency Remount complete
<2>EXT4-fs (loop2): ext4_da_writepages: jbd2_start: 1013 pages, ino 6772; err -30
<0>wave_power_off: Try to Turn Phone Off by CP_RST
<0>wave_power_off: PHONE OFF Success
<6>wave_power_off: charger connected, rebooting
arch_reset: attempting watchdog reset

Then follow bada Bootloader... + FOTA... handset under control from bada Bootloader

Edit 3.

Reboot from menu cm-11-wave_v4.1

<6>init: processing action 0x503c0 (property:sys.powerctl=*)
<6>SysRq : Emergency Remount R/O
<6>EXT4-fs (loop0): re-mounted. Opts: (null)
<6>EXT4-fs (loop1): re-mounted. Opts: (null)
<6>EXT4-fs (loop2): re-mounted. Opts: (null)
Emergency Remount complete
<0>Restarting system with command ''.

<0>Restarting Linux version 3.0.101-g3f5ad20 (volk204@build2.dev.xda-developers.com) (gcc version 4.7 (GCC) ) #1 PREEMPT Tue Jan 28 18:35:23 CET 2014

arch_reset: attempting watchdog reset

Will try to add Pics... then later I will proceed with bada XXJEB and try to see any usefull hints...

Edit 4.

Attached Android menu Screenshot...

cm-11-wave_v4.1
[Android Development on Bada] adfree:
EXCEPTION > CWinMgrImpl::RemoveWindow: hWin (76) is invalid
EXCEPTION > Convert: There is not a correct map item by aid(58).
EXCEPTION > GetContext: There isn't correct AppInfo
EXCEPTION > _DiagDumpRsrcAllocByEventHandler: EH Admin(89)'s resources...
EXCEPTION > _DiagDumpRsrcAllocByEventHandler: No resources are allocated.
EXCEPTION > [B]OemBmColdReset[/B]: implement me

XXJEB output... if I change Debug Level in *#33284*#

I think hold Endcall same...

Leads again to apps_compressed.bin...

Later I will try few more things...

It seems also something about CP... so amss.bin related... maybe DBL involved...

I will check also with RIFF JTAG...

Best Regards
[Android Development on Bada] adfree:
For quicker trying...

I have now created PFS file with zImage inside:

Media/zImage

cm-11-wave_v4.1.zip is on SD card.

Now I can use Multiloader... instead copy zImage under bada...

Also I can do more stupid tests. :D

Best Regards

Edit 1.

Memo again to me...

Boot Binary Download Start Ch[0]
BootLoader 1703.9KB OK[0.8s]
Dbl 281.5KB OK[0.7s]
Wait reset !!
Download Start Ch[0]
FOTA 2621.5KB OK[1.2s]
Amss 13166.1KB OK[5.3s]
Apps 26738.7KB OK[12.9s]
All files complete[20.9s]

These files are mandatory from bada... in 512 MB OneNAND:

boot_loader.mbn--------> Boot
dbl.mbn---------------->loads AMSS aka Modem related
amss.bin--------------->Modem related/Qualcomm stuff
apps_compressed.bin----> bada kernel
armlinux_boot_.[B]fota[/B]---->work with Boot together

Without apps_compressed.bin, FOTA will not start...

No idea if Bootloader needs something from apps_compressed.bin, or only if file exist... :confused:

Tested with RIFF JTAG and full erased 512 MB OneNAND.

zImage and ZIP are on 1960 MB moviNAND...

Edit 2.

apps_compressed.bin must be valid for FOTA start...

XXLA1 Boot with XPKG5 apps_compressed.bin leads to red Screen and no FOTA start...
[Android Development on Bada] adfree:
Memo to me...

For these Screenshots I need Key Combination:

http://xdaforums.com/showpost.php?p=50226613&postcount=57

Thanx hero355

After this, ADB is enabled... And I can use PC.

Thanx Gunter33

http://xdaforums.com/showpost.php?p=50255436&postcount=58

Best Regards
[Android Development on Bada] adfree:
Please, somebody can remember the Original unmodified SBL?

http://xdaforums.com/showpost.php?p=13172174&postcount=595

https://code.google.com/p/badadroid/downloads/detail?name=Sbl_mijoma2.zip&can=4&q

https://code.google.com/p/badadroid/downloads/detail?name=Sbl.bin&can=2&q=

This is also allready patched by mijoma...

I need Original file from I9000 please, for study.

Thanx in advance.

Best Regards

Edit 1.

I am playing with mijoma's modified SBL and few different kernels...

get_debug_level current debug level is 0x574f4c44.
boot_kernel: Debug Level Low
FOTA Check Bit
Read BML page=, NumPgs=
FOTA Check Bit (0xffffffff)
Load Partion idx = (6)
..............................done
Kernel read success from kernel partition no.6, idx.6.
setting param.serialnr=0x3730ddc7 0xd97900ec
setting param.board_rev=0x30
setting param.cmdline=console=ttySAC2,115200 loglevel=4

Starting kernel at 0x[B]22[/B]000000...

It seems I was able to identify startaddress and changed from 0x32000000 to 0x22000000 ...

Mixed with I9000 files and I can see Galaxy S Logo...

Hmm, maybe it hangs because missing amss...
[Android Development on Bada] hunktb:
I remembered some kind of reboot in bada seen some time ago: after searching, I have seen one option is

*#7092463*# > 2 Debug Settings > 7 Reboot

I am unable to run WinComm anymore (I was able to run WinComm with WinXP in VirtualBox over Ubuntu...); my usb connector is broken, and I charge battery with external battery connector.

After I saw your post, the idea was that comparing bada shutdown logs and bada reboot logs and looking for differences, maybe that gives clues/ideas to implement shutdown in badadroid, because now only restart is possible in badadroid.

Regards
[Android Development on Bada] adfree:
:confused:

5 years?

How this is possible?

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

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

And how you can sell others Source Code?

:confused: :confused:

Best Regards