Join Today
+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 28
Like Tree1Likes

Thread: Creating a tiny f/w update, please help!

  1. #1
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    298

    Default Creating a tiny f/w update, please help!

    Hi all!

    I'd like to improve the autorun script pointer (the file in the firmware that tells the phone where to look for an autorun script). I'd like to make a very small firmware update so that I don't flash my phone with a full firmware again. Will I need to flash the entire CG43? Will I need to incorporate other CG's too (like the RAM Downloader)? How can I do it (using ezx_codec)?

    In other words, compiling a new firmware with JUST CG43 and flashing my phone with it, will just update the area in phone memory that CG43 occupies and leave the others intact? Or will the other CG's be deleted?

    For more information, read on...
    My current firmware supports autorun script, the autorun script pointer (S80autorun.sh) tells the phone to look on the SD card for it. I'd like to modify it to check if the autorun script is on the SD card (or if the SD card is present), otherwise look for it in the phone memory, for instance in /ezx_user/download/appwrite/setup. The S80autorun.sh file is located in /etc/rc.d/rc2.d and I don't have permission to write there, right?

    Thanks!
    Last edited by intermario_gr; 03-16-2009 at 12:17 AM.

  2. #2
    Join Date
    May 2007
    Location
    Mumbai
    Posts
    3,010

    Default

    Yea, you can flash just CG43. I use a combination of SBFCodec and ezxcodec for this. First, use SBFCodec to open the firmware, and delete all CGs except for CG43 and RDL3. Then save this as CG43patch.sbf or something. Now, using ezxcodec, open the CG43patch.sbf, extract the files, make the changes, pack and flash
    intermario_gr likes this.


    We're watching you. Be afraid. Be very afraid.

  3. #3
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    298

    Default

    Thanks again Konig, I successfully modified my firmware to support two autorun script locations (first it looks in the SD card for the script, if that fails, then it tries locating it in the phone memory).

    I guess I know the answer to the next question but you never know... here it goes!
    Is there any way I could modify files in (/etc, /bin and so on) without flashing? I have tried eKonsole, telnet and FTP access and they've all failed.

  4. #4
    Join Date
    May 2007
    Location
    Mumbai
    Posts
    3,010

    Default

    With my limited knowledge on firmware, I dont think that would be possible.


    We're watching you. Be afraid. Be very afraid.

  5. #5
    Join Date
    May 2008
    Location
    italy
    Posts
    819

    Default

    You can unlock (but it's dangerous).
    What's wrong?
    Telnet -> make a try with motnet.pkg
    Ekonsole ?

  6. #6
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    298

    Default

    @marcolnx

    All the attempts I've made to modify such files end up with a "permission denied" message.

    Tell me a bit about "unlocking" the firmware. I suspect that it's dangerous because of the fact that you might mess up the whole firmware, maybe even the bootloader area. After unlocking, do you address the files you want to change with their path and filenames or just using an offset position? Unlocking would be possible with mtdtools, right?
    Last edited by intermario_gr; 03-16-2009 at 07:17 PM.

  7. #7
    Join Date
    May 2008
    Location
    italy
    Posts
    819

    Default

    yes, mtdtools, i suggest you don't try (you can kill the phone).
    Better choise edit the firmware with ezxcodec.
    You can before make a try with an .pkg and if works fine you can add to your firmware.
    Make a .pkg it's easy so before test and after add to the firmware.
    I added motnet in extreme elite.
    Only in whiteming you can write in the whoole, (jffs2)
    You can see here:
    http://forums.motorolafans.com/forum...-directly.html
    and olso whath suggested tmp_do in final post.
    Last edited by marcolnx; 03-16-2009 at 07:36 PM.

  8. #8
    Join Date
    Sep 2007
    Location
    Cape Town, South Africa
    Posts
    622

    Default

    Not to intrude on your thread, I'm just wondering if it's at all possible to use your modified files from cg43 to add into my firmware (25p). I'm assuming not possible though. Then I can update my CG43 with the modded files and create a partial flash.
    My firmware has no startup script support.
    Last edited by Casper; 03-22-2009 at 08:50 PM.

  9. #9
    Join Date
    Jul 2008
    Location
    Greece
    Posts
    298

    Default

    @Casper

    Read on below...

    Quote Originally Posted by Konig View Post
    For advanced modders, lets learn how to add startup scripts.

    Follow all steps above, except that we'll be working with CG43 now. Split a modded pack, and extract a file called S80autoon from /etc/rc.d/rc2.d
    Now, in the generic pack that does not support startup scripts, place this files in the same directory namely, /etc/rc.d/rc2.d
    Simply repack the firmware, test it by splitting after compiling, and flash your phone.

    Now to test if your startup script is working, use a common mount bind command in there, something that changes your font or the multitheme hack.
    As mentioned by Konig, you can do it, yes. Take my startup script pointer file (attached below) and incorporate it into your firmware's CG43. Then build a partial flash firmware with just RDL3 and CG43. Flash and you're set!

    P.S. Konig mentioned the file "S80autoon" but the file that worked for me was "S80autorun.sh". I'd suggest you first try with mine. The file is not a real zip archive, just remove the "zip" extension.
    Attached Files Attached Files
    Last edited by intermario_gr; 03-22-2009 at 11:05 PM.

  10. #10
    Join Date
    May 2008
    Location
    italy
    Posts
    819

    Default

    @intermario_gr
    yesterday night i maked for you and your greek friends:
    amin's extreme elite firmware hybrid (a1200e compatible) with all greek support (keyboard, itap, etc).
    Lina inside (swap, pkg, ecc.)
    Great camera and video record (read extreme elite...)
    Motnet for telnet working
    Editor inside
    Ekonsole bash2 inside (you can olso install Bash2.pkg)
    MusicID (obtein name of song)
    Bash2 when you telnet
    startup2.txt in the phone
    startup1.txt in SD
    ecc.
    I hope you can try
    Now i'm testing and after i will upload i new post.
    By
    marco


 
+ Reply to Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. Creating New Theme Need Help ?
    By User Name in forum Moto Skins Technical Forum
    Replies: 2
    Last Post: 10-20-2009, 04:40 PM
  2. Help with creating apps
    By xox_dead_inside_xox in forum Development
    Replies: 5
    Last Post: 02-17-2009, 11:02 PM
  3. Receiving tiny MMS pictures!! Please Help!!
    By Grinchvr6 in forum E6 General Chat
    Replies: 0
    Last Post: 01-08-2008, 09:57 AM
  4. Creating sub-forums
    By Alpha43 in forum Comments/Suggestions
    Replies: 0
    Last Post: 11-30-2006, 02:48 PM

Tags for this Thread

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 Optimization by vBSEO 3.6.0 RC 1