[ROM][19.06.2012]MS2Ginger Gingerbread 2.3.6 for Milestone 2

Search This thread

oTToToTenTanz

Senior Member
Aug 11, 2008
644
64
Can you provide a step by step guide how you flashed the GB sbf to your phone. I wanna give it a try as well.

Sent from my MotoA953 using XDA App
 

will5

Senior Member
Sep 15, 2007
1,835
327
hi guys :)

How is it going?


Im not sure if all .smg inside the sbf have to be signed. Ill check on an official sbf.
 

n3ptun3

Senior Member
Jan 13, 2011
134
40
Samsung Galaxy S23 Ultra
Just answering the filesize question. The sbf file is over 300mb, obviously I repacked it with 7zip on ultra settings, so it got brought down to 168Mb, which is a little smaller than the u.115.com version, which is 172mb. The file wasn't tampered with, RSD would invalidate the signature.
 

walter79

Recognized Developer
Dec 18, 2006
4,138
4,636
Extracted SBF with sbf_flash -x or mono SBFDepackerMono.exe (opens a window)
Yes, I checked the SBF thread and found this tool, lookout:

Code:
daniel@daniel-server:~/Área de Trabalho/smgver$ wine smgver.exe CG31.smg
CG31.smg: signature not found!
daniel@daniel-server:~/Área de Trabalho/smgver$ wine smgver.exe CG39.smg
CG39.smg: signature not found!

Maybe we got the wrong unsigned SBF after all...


Normaly CG31 and CG39 have a signature. CG31 Bootloader, CG39 system.


You can do it this way.

- Restore Nandroid backup of cg39.smg Uploading this file later
- build new sbf without cg31 and cg39
- flash new sbf file (called fixed sbf methode in defy section)



One problem with new Gingerbread. Battery shows only "?"
 
Last edited:
  • Like
Reactions: Endless7

dangpzanco

Senior Member
Dec 27, 2010
717
87
LG Nexus 5X
Samsung Galaxy Tab E
Ok, a basic explanation on linux permission model:
All files/folders in linux have 3 different permission settings. The first is permission for the owner, second is permission for the group and 3rd is permission for everyone else.

In your example you have: -rw-r--r-- which means
- is not a directory (the first bit shows 'd' or '-')
rw- owner can read and write (if it were rwx he could also execute)
r-- group can only read (missing w and x flags)
r-- others can only read.

To set permission with chmod command:
1 - permission to execute
2 - permission to write
4 - permission to read
Code:
You have to sum up numbers to give the permission you want. Lets for 
example give rwx (owner) rw- (group) r-- (other)
             4+2+1=7     4+2+0=6     4+0+0=4
So your command would be:
chmod 764 file

Easy right?

Thanks for the explanation, it's gonna be very useful.

Sent from my Milestone 2 XDA App
 

Endless7

Senior Member
May 12, 2011
972
413
I built a fixed sbf without CG31@39.smg using the signed leak and MotoAndroidDepackerMono. And the nandroid backup(/system) I use this
http://xdaforums.com/showthread.php?t=1185878.

Then I follow every step you posted. But with no luck, I still got a total failure. My phone went into black screen after a short logo M, and I can`t even boot into motorola recovery.

Did I do something wrong? Or due to my bootloader is the new one,70.13 ?

Edit: which .smg in sbf is the kernel ?

Edit2: BL 70.13 could not be downgraded:(. Now I have flashed back to 2.2.2.
 
Last edited:

dangpzanco

Senior Member
Dec 27, 2010
717
87
LG Nexus 5X
Samsung Galaxy Tab E
I built a fixed sbf without CG31@39.smg using the signed leak and MotoAndroidDepackerMono. And the nandroid backup(/system) I use this
http://xdaforums.com/showthread.php?t=1185878.

Then I follow every step you posted. But with no luck, I still got a total failure. My phone went into black screen after a short logo M, and I can`t even boot into motorola recovery.

Did I do something wrong? Or due to my bootloader is the new one,70.13 ?

Edit: which .smg in sbf is the kernel ?

Edit2: BL 70.13 could not be downgraded:(. Now I have flashed back to 2.2.2.

Look at http://and-developers.com/partitions:cdt for CG info, CG66 is preinstall, but it's not listed there.

Kernel/boot is CG35 and System is CG39
 
Last edited:

dangpzanco

Senior Member
Dec 27, 2010
717
87
LG Nexus 5X
Samsung Galaxy Tab E
Thanks. So the CG34 is the bootloader?
No...

My thoughts:

Code:
CG ## Link       ## Partition (/dev/block/mmcblk1:)
31 ## cdt.bin    ## p6
32 ## prek(?)    ## p22/23
33 ## cdrom      ## p17(linked)
34 ## lbl        ## p8
35 ## boot.img   ## p15(linked)
39 ## system.img ## p21(linked)
40 ## cache      ## p24(linked)
42 ## logo.bin   ## p10
45 ## bpsw       ## p14
47 ## recovery   ## p16
53 ## kpanic     ## p20
61 ## devtree    ## p12
64 ## mbr        ## ???
65 ## ebr        ## p4
66 ## preinstall ## p25

Working folder's boot.img information (dsixda Android Kitchen log)
-------------------------------------

 Kernel Base Address  : 0x10000000
 Page Size            : 2048 bytes

 Command Line: "console=ttyS2,115200n8 rw mem=498M@0x80C00000 init=/init ip=off motobldlabel=none mmcparts=mmcblk1:p1(mbmloader),p2(mbm),p3(mbmbackup),p4(ebr),p5(bploader),p6(cdt.bin),p7(pds),p8(lbl),p9(lbl_backup),p10(logo.bin),p11(sp),p12(devtree),p13(devtree_backup),p14(bpsw),p15(boot),p16(recovery),p17(cdrom),p18(misc),p19(cid),p20(kpanic),p21(system),p22(prek),p23(pkbackup),p24(cache),p25(preinstall),p26(userdata)"

Edit: Milestone 2 is more like a Droid X than a Milestone 1, so look at that link thinking of it.
 
Last edited:

Endless7

Senior Member
May 12, 2011
972
413
No...

My thoughts:

Code:
CG ## Link       ## Partition (/dev/block/mmcblk1:)
31 ## cdt.bin    ## p6
32 ## prek(?)    ## p22/23
33 ## cdrom      ## p17(linked)
34 ## lbl        ## p8
35 ## boot.img   ## p15(linked)
39 ## system.img ## p21(linked)
40 ## cache      ## p24(linked)
42 ## logo.bin   ## p10
45 ## bpsw       ## p14
47 ## recovery   ## p16
53 ## kpanic     ## p20
61 ## devtree    ## p12
64 ## mbr        ## ???
65 ## ebr        ## p4
66 ## preinstall ## p25

Working folder's boot.img information (dsixda Android Kitchen log)
-------------------------------------

 Kernel Base Address  : 0x10000000
 Page Size            : 2048 bytes

 Command Line: "console=ttyS2,115200n8 rw mem=498M@0x80C00000 init=/init ip=off motobldlabel=none mmcparts=mmcblk1:p1(mbmloader),p2(mbm),p3(mbmbackup),p4(ebr),p5(bploader),p6(cdt.bin),p7(pds),p8(lbl),p9(lbl_backup),p10(logo.bin),p11(sp),p12(devtree),p13(devtree_backup),p14(bpsw),p15(boot),p16(recovery),p17(cdrom),p18(misc),p19(cid),p20(kpanic),p21(system),p22(prek),p23(pkbackup),p24(cache),p25(preinstall),p26(userdata)"

Edit: Milestone 2 is more like a Droid X than a Milestone 1, so look at that link thinking of it.

After depacking the 70.13 bootloader.sbf, I found these 3 files:

RAMDLD.smg ramdownloader
CG30.smg mbm
CG32.smg bploader
 

dangpzanco

Senior Member
Dec 27, 2010
717
87
LG Nexus 5X
Samsung Galaxy Tab E
After depacking the 70.13 bootloader.sbf, I found these 3 files:

RAMDLD.smg ramdownloader
CG30.smg mbm
CG32.smg bploader

I think mbm is bootloader, bploader is baseband loader an RAMDLD is just the file that "talks" to the bootloader when flashing.

Try to flash Brazil 3.21.0 SBF or Argentina's 3.23.0 and see if bootloader downgrades.

-----------------------

For the guys with engi phones, maybe you have a different version of the bootloader (or had before flashing a SBF...) that could unlock (or brick) normal devices.

I'm gonna sleep now.

Sent from my Milestone 2 XDA App
 

Endless7

Senior Member
May 12, 2011
972
413
I think mbm is bootloader, bploader is baseband loader an RAMDLD is just the file that "talks" to the bootloader when flashing.

Try to flash Brazil 3.21.0 SBF or Argentina's 3.23.0 and see if bootloader downgrades.

-----------------------

For the guys with engi phones, maybe you have a different version of the bootloader (or had before flashing a SBF...) that could unlock (or brick) normal devices.

I'm gonna sleep now.

Sent from my Milestone 2 XDA App

It seems no use. The ver still be 70.13 :eek:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    I assume no liability for any damage to your phone!

    You can use my complete rom or parts of it to make your own rom. Only post a small thanks on your owm thread.

    Big thanks to: iaio72, spear1403, tgzw, Quarx, Simondo, ein1002, santimanuel, epsylon3 and ...

    Language support for final 4.0 --> da, de, el, en, es, fi, fr, hr, hu, id, it, nb, nl, pl, pt, pt-BR, sv, th, ti, vi, zh_CH, zh_TW + arabic* and ru*

    MS2Ginger 4.0

    - based on 4.5.2-109-DHT-25 - Android 2.3.6 blur lite rom
    - support for Defy, Defy+, Milestone 2, Bravo
    - MS2Ginger4 can used as 2nd-system (tested on GB kernel only) !! system image file have to be >= 350 MB
    - multibootmanger app by royale1223
    - new bootmenu 1.1.8, CWM 5.0.5/6, multiboot big thanks to m11kkaa
    - 2 way to boot the rom: normal and via 2nd-init (default)
    - new reboot option form cm7.2 --> trigger: all keys at the same time vol- , vol+ , power (only tested on Defy)
    - disabled blurhome rotation
    - button backlight can set from 10-100 % via build.prop
    - mmcfix from CM7
    - CPU settings default safe 30/300 38/600 {48/800} 58/1000
    - Camera will work on SOC and Bayer camera (green* and red)
    - better camera support for bayer camera
    - new 720p record* and play (Milestone 2 - Android 2.3.6 files)
    - 720p record in m4v (h264 can be enabled via build.prop)
    - Milestone 2 froyo camara app for SOC camera (fixed green strips)
    - BlurHome from Milestone 2 - 2.3.6 (no widget updating bug)
    - Battery min. 2-5 mA/h
    - no wifi, apn, vpn bugs
    - wifi channels 12, 13, 14 enabled
    - bootmenu + cwm (vsel4/clk4 added) "did not work for SOC camera with greenbreadMOD"
    - bootmenu with Stable, Custom, Stock-Recovery
    - call record libs
    - init.d support
    - zipalign at boot
    - ramscript
    - backlight button fix for Defy with bayer camera (can removed via optional patch)
    - deepsleep support
    - max 10 finger multitouch
    - support for farsi-arabic, hebrew (thanks to MMarv)
    - CyanogenMod-settings not finished (alpha) - sorry, will try to fix it if i have more time.

    (* via greenbreadmod for MS2Ginger4.0 and if you never flashed a Android 2.3.6 full sbf with bl7)
    (* 720p record only for Bayer camera Defy and Milestone 2)


    Download: ROM, BlurApps, Greenbread: (MS2Ginger4.0.zip, BlurApps-MS2Ginger4.zip,Milestone2patchMS2Ginger4.0withbaseband.zip )

    Mirror 1 (google)
    Mirror 2 (Dev-Host)

    More information for BlurApps --> LINK

    Soft-sim-unlock for MS2Ginger 4.0

    based on Dabb guide: http://xdaforums.com/showthread.php?t=1447950

    Install View attachment 1129769 via CWM.


    If you like MS2Ginger feel free to donate! Donations will be used to purchase a Defy with SOC camera (green lens)


    Bugs and problems Reporting: http://code.google.com/p/ms2ginger/issues/list?can=1&q

    - wifi bug like all 2.3.6 Motorola roms http://xdaforums.com/showthread.php?t=1502817
    (fixed, disable unlimited lease time for IP adress on your rooter)



    Timeline:

    19.06.12 - MS2Ginger 4.0 released
    05.02.12 - MS2Ginger 3.0 released


    Patch and updates for current release

    1. none for MS2Ginger 4.0


    HOW to INSTALL:

    To begin:
    1. Put the Nandroid backup folder MS2Ginger on the SDCard in this folder: /sdcard/clockworkmod/backup
    2. Put "Milestone2patchMS2Ginger4.0withbaseband.zip" to the root of your sdcard
    3. Put "Milestone2-GB-kernel-update.zip*" to the root of your sdcard (only if you have a froyo kernel)
    -------------------------------------------------------
    1. Root your Milestone 2 and Install BOOTMENU - CWM for Milestone 2
    2. REBOOT
    3. run 2nd-init (voldown on blue LED)
    4. Go to "Recovery"
    5. Go to "Latest or Stable or Custom Recovery"
    6. "wipe data and cache"
    7. Go to "Backup and Restore"
    8. Go to "Advance Restore"
    9. Select "MS2Ginger4.0"
    10. "restore system"
    11. Go to "install zip from sdcard"
    12. select and install "Milestone2patchMS2Ginger4.0withbaseband.zip"
    13. "Install "Milestone2-GB-kernel-update.zip" via install zip" (only if you have froyo kernel)
    14. reboot
    15. Booting up can take a while, max is about 10 minutes.


    Team:

    - walter79
    - spear1403 (theming)
    - santiemanuel
    - Defy red lens tests spear1403
    - Defy greens lens tests luciferps and Cristi_10
    - Defy plus tests Dollo73 and free2live
    - Milestone 2 tests Carolinux and Motodoido

    Translation Team: (each language max. 4 person) View attachment 806172

    Brazillian Portuguese: pupiloalpha , Cassinander , filipeazev

    Bulgarian Auris 1.6 vvt-i

    Farsi: MMarv

    Hungarian: szabof1 , balika01

    Polish: yackoo , szacuken , Antszej

    Serbian: atomskasarma

    Spanish espaciosalter20

    Spanish-Argentina YaPeL
    6
    After some mods I could get Defy's boot menu to work on Milestone2. Will test it further before trying CM7 + Boot menu.
    5
    Great news

    Great News ppl!

    I was able to flash my own update.zip into this damned Milestone2 phone. It looks like the /system protection is only engaged when you format /system partition or when you delete recursively the bare /system directory. But it is possible to remove the contents of every single /system sub-directory without being punished by the M logo lockdown. It's very simple indeed and the idea come from the updater-script of Droid2 Fission ROM.

    To achieve this result you should remove the following lines of updater-script:
    - any format command issued to /system
    - delete_recursive("/system");

    And replace for this lines:
    delete_recursive("/system/app/");
    delete_recursive("/system/etc/");
    delete_recursive("/system/fonts/");
    delete_recursive("/system/framework/");
    delete_recursive("/system/lib/");
    delete_recursive("/system/media/");
    delete_recursive("/system/tts/");
    delete_recursive("/system/usr/");
    delete_recursive("/system/xbin/");

    Also my custom update.zip where able to start ADB while the phone is still booting.

    Very nice :)
    4
    I had exactly the same problem as yours while flashing roms a while ago

    you won' t fix it with the baseband switching app that comes for instance with milestone 2 toolbox (it did not work for me)

    you have to follow the full procedure described here

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

    this should certainly work
    4
    From that chinese forum gfan, I used google translate to find the rom heh and suffered a beyond slow download rate on u.115.com, I'm finishing uploading it to a eastern server.

    The original file is located at u.115.com/file/bh5durqs#
    click on the button I circled red to download it
    BYs8k.png


    edit: I'll update this post with the multiupload.com link as soon as it's done, 10minutes to finish.

    edit 2: There we go, the signed gingerbread rom: http://www.multiupload.com/V88C09ZFH5