Join Today
+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1

    Default Modified 09P CG43 telnetable, startupscripts, fontswitch

    Here is a modified cg43 for Rokr E6 (09P) and cg44 for A1200 (09P)

    Modification list is
    1. can be telnet by acmattach.lin or old telnet.pkg

    2. can be telnet by echo at+mode=13 > comX (X is comport number of motorola usb modem)

    3. can be switch font by put AMCSL.TTF and fontdef.cfg into folder "fonts" in flash memory (/ezxlocal/download/mystuff/fonts) and restart phone. and delete or move both file and restart phone to change back to normal phone font.

    4. in Rokr E6 you can telnet via command line with this cg. (can login into phone)

    5. can run startup scripts by put a *.lin into folder "startup" in flash memory and/or in card.script in flash memory 'll executed first in order of it 's name and later scripts in mmc 'll executed.

    this file is contain only CG43 or CG44 and RDL3. you can flash it with RSDLite and all you data is remain after flashing.

    I hosted files at my blog here
    http://my.opera.com/eakrin/blog/modi...d-cg44-for-a12

    and for anyone who interest to modding another f/w yourself. most of it I search and hack from E6_yan0 _02P
    1. for telnet and login
    need to add those files in cg43
    /usr/sbin/inetd
    /usr/sbin/smbd
    /usr/sbin/tcpd
    /usr/sbin/in.telnetd
    /usr/lib/telnetlogin
    /bin/login <-- for E6 only, A1200 always have it.

    2. for startup script. I add S90startup.sh into /etc/rc.d/rc2.d

    here is a script text.


    #!/bin/bash
    # Startup script by Ake @ ThaiLinuxPDA.com Aug 9, 2007
    # ----------------------------------

    if test -d /ezxlocal/download/mystuff/startup;
    then
    dir -1 /ezxlocal/download/mystuff/startup/*.lin | while read linfile;
    do
    exec $linfile &
    done
    fi

    if test -d /mmc/mmca1/startup;
    then
    dir -1 /mmc/mmca1/startup/*.lin | while read linfile;
    do
    exec $linfile &
    done
    fi
    this script will execute all *.lin in startup folder in flash and in mmc by order of filename.

    3. for font switch. I edited /etc/init.d/ezxenvr.sh in #font path paragraph to

    from
    # font path
    #if test -f /usr/language/fonts/fontdef.cfg;
    #then
    if test -f /ezxlocal/download/mystuff/fonts/fontdef.cfg;
    then
    export EZX_RES_FONT_PATH=/ezxlocal/download/mystuff/fonts

    elif test -f /usr/language/fonts/fontdef.cfg;
    then
    export EZX_RES_FONT_PATH=/usr/language/fonts
    else
    export EZX_RES_FONT_PATH=$QTDIR/lib/fonts
    fi
    It mean let phone check for font in flash memory first.

    here is all point that i modding this A1200 and E6 cg.

    BTW I do not add another library like showQ, Busybox, etc in root cg coz. no application used them. software developer need to make application useable in both original f/w and flashed f/w phones.[/quote]
    Visit my Blog here.http://my.opera.com/eakrin

  2. #2

    Default

    Awesome! Thanks Eakrin!

  3. #3

    Default

    Thank's, with original firmware (no flash), how do make USB NET (i don't want lost original firmware)
    - Sorry because my english verry bad.

  4. #4
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    788

    Default

    @eakrin

    Can you please explain how to modify CG44? I'm very interrested what software I need and how to do it

    You didn't do it by telneting only. You created a flashable CG file!

  5. #5

    Default

    CG44 in A1200 and CG43 in E6 have additional header. It have $FFF of string 0 (4095 byte of FF). so we can not mount it.

    Step to edit root cg is
    1. extract it from sbf file by sbf codec.
    2. remove $FFF header by hex editor.
    3. extract cg by mount -t cramfs in Linux system. becarefull for file permission and file owner. I don't do it in cygwin coz It does not support root user all your file will lost permission and owner. I do it in Knoppix Live CD.
    4. pack it back by mkcramfs.
    6. insert $FFF of string FF into header of cg file by hex editor.
    7. resize cg file to equal to original cg size by adding string 0 (FF) at the end of file until reach a orifinal cg 's file size.
    8. repack it back to sbf by repalce cg. and if you need to flash only some cg so remove another and keep only RDL3 for CG >18. and RDL1 for cg < 18. notice that after replace cg start addresss and end address should not change.

    and about usbnet option in USB Mode setting. It's should be in a flex setting. and I don't wan't to flash with new flex that I don't know much about it so I decide to use acmattach.lin or normal telnet.pkg from E680i/A780 or USBNet package for A1200.

    thank for imahottguy for this.

    PS. RootFS cg have about 2MB available for us to add anything into it.

    PS2. flashable CG and do for 1 or more cg. I ws create a thai language sbf that contain 34, 41,42,43 for A1200.
    Visit my Blog here.http://my.opera.com/eakrin

  6. #6
    Join Date
    Jan 2007
    Location
    Montreal
    Posts
    770

    Default

    Quote Originally Posted by eakrin
    CG44 in A1200 and CG43 in E6 have additional header. It have $FFF of string 0 (4095 byte of FF). so we can not mount it.

    Step to edit root cg is
    1. extract it from sbf file by sbf codec.
    2. remove $FFF header by hex editor.
    3. extract cg by mount -t cramfs in Linux system. becarefull for file permission and file owner. I don't do it in cygwin coz It does not support root user all your file will lost permission and owner. I do it in Knoppix Live CD.
    4. pack it back by mkcramfs.
    6. insert $FFF of string FF into header of cg file by hex editor.
    7. resize cg file to equal to original cg size by adding string 0 (FF) at the end of file until reach a orifinal cg 's file size.
    8. repack it back to sbf by repalce cg. and if you need to flash only some cg so remove another and keep only RDL3 for CG >18. and RDL1 for cg < 18. notice that after replace cg start addresss and end address should not change.

    and about usbnet option in USB Mode setting. It's should be in a flex setting. and I don't wan't to flash with new flex that I don't know much about it so I decide to use acmattach.lin or normal telnet.pkg from E680i/A780 or USBNet package for A1200.

    thank for imahottguy for this.

    PS. RootFS cg have about 2MB available for us to add anything into it.

    PS2. flashable CG and do for 1 or more cg. I ws create a thai language sbf that contain 34, 41,42,43 for A1200.
    wow very impressive ,could you please take a look at my f/w I already added bunch of Languages to it , prob is CG41 is now to big so I always get checksum errors ... the other error I get is with screen 3 it doesnt display like it should , I think it has something to do with the lib in cg43
    Been a Moto Fan Since the First Vader ....Yup I taught I was real cool Back in '98 with the James Bond Phone and the Mi2 sunglasses .... Only 'dumb' question is the one you do not ask ...
    ABSOLUTELY NO SUPPORT WILL BE GIVEN VIA PRIVATE MESSAGING PLEASE POST YOUR QUESTIONS IN FORUM THX !


  7. #7

    Default

    @DAGr8

    I'll look at it. I got same problem as you. Barcode Reader doesn't work on my f/w. It's always said cannot decode information. and no image was shown in barcode all of them are (!).

    about your language I recommend remove some languages to reduce It's size. coz In A1200 and E6 we can partial flashing it. no need to add all language into it. just create a LP for group of languages. and user can flash it when he need it.

    or some crazy method is move your font to another cg. and edit FONT Path in /etc/init.d/ezxenvr.sh. you can get more space from it. but this ways make your f/w does not follow standard some app mkpg may not work.
    Visit my Blog here.http://my.opera.com/eakrin

  8. #8
    Join Date
    Jan 2007
    Location
    Montreal
    Posts
    770

    Default

    Quote Originally Posted by eakrin
    @DAGr8

    I'll look at it. I got same problem as you. Barcode Reader doesn't work on my f/w. It's always said cannot decode information. and no image was shown in barcode all of them are (!).

    about your language I recommend remove some languages to reduce It's size. coz In A1200 and E6 we can partial flashing it. no need to add all language into it. just create a LP for group of languages. and user can flash it when he need it.

    or some crazy method is move your font to another cg. and edit FONT Path in /etc/init.d/ezxenvr.sh. you can get more space from it. but this ways make your f/w does not follow standard some app mkpg may not work.
    Great Ideas ! will defintly try the font path thingy .
    I am currently using the f/w with LP , and it has no bug or nothing I wonder why I get those checksum errors when flashing in the first place ..

    btw I did encounter a few times this prob where all my apps would have the ' ! ' for some reason this seem to happen when CG's dont go well together , are you modding the cgs more then once (it seems sbf codec doesnt like our f/w or something ) ? my advice is you keep your 'editCG34 ' folder and always do the mods to that same folder and just do ./CGDone instead of decompresing and recompiling everytime , that did the job for me !
    Been a Moto Fan Since the First Vader ....Yup I taught I was real cool Back in '98 with the James Bond Phone and the Mi2 sunglasses .... Only 'dumb' question is the one you do not ask ...
    ABSOLUTELY NO SUPPORT WILL BE GIVEN VIA PRIVATE MESSAGING PLEASE POST YOUR QUESTIONS IN FORUM THX !


  9. #9
    Join Date
    Oct 2006
    Location
    Lansing, MI, USA
    Posts
    612

    Default

    @eakrin: Very nice. I'm glad to see that you got the font fix to work. I'm gonna try that now . As far as the USB Net addition it's in CG42. It's going to take me some time. (I lost everything, corrupted my windows install, had to do a recovery media.) But I will find it . I know that it is in the FLexbit table. I just need to test a few mods to it (NOT RECOMMENDED FOR N00BS so I WILL NOT POST HOW). Once I find it. I'll post the fix
    I'm so cool, I had the E6 before the E2 launched! Wait. Never mind...

  10. #10

    Default

    @DAGr8

    yeh. I did modding A1200 on CG34 (add skins, ringtone, wallpaper), CG43 (change some setting), and repack cgs into SBF file. everything is fine. except that when flashing to A1200 sometime It can not restart itself. I need to unplug data cable and restart phone manually and plug phone again to complete flashing. the key of cg modding is keep cg file size to the same as original cg.

    @Imahottyguy
    Thank to you too.

    there are 11 lines of 10 digit = houndreds for bits. hoping you will success to find it.
    Visit my Blog here.http://my.opera.com/eakrin


 
+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Newly modified firmware 09p
    By prasannars in forum E6 General Chat
    Replies: 10
    Last Post: 07-29-2008, 05:03 PM
  2. Newly modified firmware 09p
    By prasannars in forum E6 Firmware
    Replies: 0
    Last Post: 07-27-2008, 03:36 PM
  3. Help with cg43 for Rokr E6 (09P)
    By DarkChuky in forum E6 General Chat
    Replies: 1
    Last Post: 05-30-2008, 02:34 PM
  4. Ayuda con cg43 for Rokr E6 (09P)
    By DarkChuky in forum Spanish Lounge
    Replies: 1
    Last Post: 05-30-2008, 02:11 PM
  5. Replies: 8
    Last Post: 10-31-2007, 07:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1