DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 5 of 11 FirstFirst ... 3 4 5 6 7 ... LastLast
Results 41 to 50 of 102

Thread: Hacking erroneous output of SBF Codec

  1. Chief Droid Scientist
    MotoCache1's Avatar
    Member #
    83203
    Join Date
    Jun 2010
    Posts
    530
    Liked
    6 times
    Phone
    A855 / MB810
    #41
    Quote Originally Posted by Jharmon12 View Post
    Quote Originally Posted by jlutz555 View Post
    w00t!!! Got it to work!
    Here is the sbf i used for my wife's phone.
    How did this come out? I revers engineered your cg 42 and made it a bmp again and your pic looks like its upside down.
    You will find that to be true of all pics you pull out of a CG42. You know that step where you use Frhed to reverse the bytes? That flips the picture updside down. That's because the BMP file format actually stores the image upside down to begin with. In a BMP, the first line of pixels is at the end of the file, and vice versa. Apparently the phone wants the first line to be first, so that's why you do the reverse. But if you make it a BMP again without reversing it again, it will be upside down. If you really look, you'll probably see it is also mirrored left to right -- for the same reason.

    This is a good example of an opportunity to use some hacker curiosity. When you go into Frhed and just follow instructions and reverse the bytes, you should wonder -- why am I doing this? What happens if I don't do this? Oh - the picture is upside down if I don't do this. Interesting. If you're a psycho nut like me you go a step further and make a BMP with a different color in each corner and the rest is white and then go in and edit it and see where the corners lie in the file and how that arrangement changes after you mirror the file or reverse the bytes. Without that kind of inquisition I couldn't write the utility that turns an BMP into a CG42. By the way I will be posting my updated version of that utility (that does everything for you) when I finish testing all the optional switches. It's a Perl script so you can read it and see what it does and learn from it.
    Last edited by MotoCache1; 09-10-2010 at 10:12 AM.
    Droid 1 - the "unbrickable" droid.
    FRG22D - stock, rooted, ChevyNo1 LV 1.1GHz kernel, SetCPU 2.0.2, Superuser 2.3.6.1

    Droid X, Droid 2, Droid 2 Global (Band Unlocked), Droid Pro Global (Band Unlocked)

    Recommended reading for newbies: How to ask questions the smart way
  2. Chief Droid Scientist
    MotoCache1's Avatar
    Member #
    83203
    Join Date
    Jun 2010
    Posts
    530
    Liked
    6 times
    Phone
    A855 / MB810
    #42

    Naming any SBF's you create

    I removed the "MC1_A855_1283756080_BL-Logo-Only-storm.zip" attachment from jlutz555's post and wanted to explain why briefly. You'll notice that any SBF's I release have a fairly structured file name that's pretty long. I keep a registry of the files that I have released and all those parts of the name mean things. Among other things, the "MC1" at the beginning implies that I made it, the A855 says it is for a Motorola Droid 1, the 1283756080 is an encoding of part of the internals of the SBF, and the rest is descriptive of the contents.

    While I have only limited ability to enforce this, if you start with one of my SBF's and modify it, please do not name the result MC1something. Also, leaving the 1283756080 part in there is going to be somewhat confusing because it's not going to match the internals of your file. Bad information is worse than no information. I take such structured approach because my SBF's tend to have a fairly wide distribution (almost 4000 people have downloaded the "recovery only" SPRecovery SBF) so I need a way to keep track of what's what.

    Thanks for accommodating my preferences about this.

    P.S. Obviously I'm not implying that jlutz555 did something to intentionally mislead anybody, or did anything wrong, etc. I've never explained my file naming standard before, so he did a sensible thing -- he changed the end of the filename to reflect the changes he had made and left the rest alone. Now that I've explained what the rest means, hopefully my position makes sense.
    Droid 1 - the "unbrickable" droid.
    FRG22D - stock, rooted, ChevyNo1 LV 1.1GHz kernel, SetCPU 2.0.2, Superuser 2.3.6.1

    Droid X, Droid 2, Droid 2 Global (Band Unlocked), Droid Pro Global (Band Unlocked)

    Recommended reading for newbies: How to ask questions the smart way
  3. Chief Droid Scientist
    MotoCache1's Avatar
    Member #
    83203
    Join Date
    Jun 2010
    Posts
    530
    Liked
    6 times
    Phone
    A855 / MB810
    #43
    Quote Originally Posted by Jharmon12 View Post
    Quote Originally Posted by jlutz555 View Post
    will SBF-ReCalc fix the checksum errors?
    Ive tried to play with sbf reCalc but it will only let me see the checksum and when i click reclaculate it dont do anything. But after what happened with sbf codec I feel better manually changing the checksum so that i can be sure its right.
    That is the latest SBF Recalc, but it does not fully know how to handle the CGs for our phone. I suspect it doesn't know how to calculate the checksums and is at least smart enough not to just go ahead and build the file anyway.
    Droid 1 - the "unbrickable" droid.
    FRG22D - stock, rooted, ChevyNo1 LV 1.1GHz kernel, SetCPU 2.0.2, Superuser 2.3.6.1

    Droid X, Droid 2, Droid 2 Global (Band Unlocked), Droid Pro Global (Band Unlocked)

    Recommended reading for newbies: How to ask questions the smart way
  4. Chief Droid Scientist
    MotoCache1's Avatar
    Member #
    83203
    Join Date
    Jun 2010
    Posts
    530
    Liked
    6 times
    Phone
    A855 / MB810
    #44
    Quote Originally Posted by Jharmon12 View Post
    Wow when i first started working on this problem i thought that it was going to be one of those things that were above my pay grade until i realized that i have no pay grade
    You've gained some decent fundamentals here. There's a whole world of this stuff out there waiting for people to take it apart and figure it out.
    Droid 1 - the "unbrickable" droid.
    FRG22D - stock, rooted, ChevyNo1 LV 1.1GHz kernel, SetCPU 2.0.2, Superuser 2.3.6.1

    Droid X, Droid 2, Droid 2 Global (Band Unlocked), Droid Pro Global (Band Unlocked)

    Recommended reading for newbies: How to ask questions the smart way
  5. XOOM RS Team Lead
    fish1552's Avatar
    Member #
    47771
    Join Date
    Mar 2010
    Location
    Savannah area of Coastal Georgia, USA
    Posts
    652
    Liked
    36 times
    Twitter
    fish1552
    Phone
    MOTO X + Nexus 7
    Premium Member
    #45
    Ok, this is starting to get frustrating. I made the new sbf file and got this in the RSDLite error log.

    Code:
    22:19:58,  September 09, 2010
    Line: 1309
    ERROR: Interface AP-OS: Error verifying Code Group 42 checksums. 
    File: 0xB340, Phone: 0xF627
    File: X:{edited}
    Device ID: 0
    {cut}
    22:19:58,  September 09, 2010
    Line: 587
    ERROR: Flash failure: Interface AP-OS: Error verifying Code Group 42 checksums. 
    File: 0xB340, Phone: 0xF627 (Error Code: 31),
    Detailed Error Details: Direction of the Error=No Direction, Command Value=4000000, Code Group Number=42
    File: {edited}
    Device ID: 0
    I get 2 checksum error messages. Are we only worrying about the Flash failure one and not the other or did I f*** something else up?

    Edit: Yes, the bytes are the same, but do we need to look at both lines?

    Oh, and it gives me a CODE CORRUPT message on the phone.
    Last edited by fish1552; 09-09-2010 at 08:43 PM.



  6. Chief Droid Scientist
    MotoCache1's Avatar
    Member #
    83203
    Join Date
    Jun 2010
    Posts
    530
    Liked
    6 times
    Phone
    A855 / MB810
    #46
    Quote Originally Posted by fish1552 View Post
    I get 2 checksum error messages. Are we only worrying about the Flash failure one and not the other or did I f*** something else up?

    EDIT: Oh, and it gives me a CODE CORRUPT message on the phone.
    I'm confused. That is exactly what you would expect to happen (including the code corrupt) and what you pasted in the box there is the information you use to solve your problem.
    Droid 1 - the "unbrickable" droid.
    FRG22D - stock, rooted, ChevyNo1 LV 1.1GHz kernel, SetCPU 2.0.2, Superuser 2.3.6.1

    Droid X, Droid 2, Droid 2 Global (Band Unlocked), Droid Pro Global (Band Unlocked)

    Recommended reading for newbies: How to ask questions the smart way
  7. XOOM RS Team Lead
    fish1552's Avatar
    Member #
    47771
    Join Date
    Mar 2010
    Location
    Savannah area of Coastal Georgia, USA
    Posts
    652
    Liked
    36 times
    Twitter
    fish1552
    Phone
    MOTO X + Nexus 7
    Premium Member
    #47
    Quote Originally Posted by MotoCache1 View Post
    I'm confused. That is exactly what you would expect to happen (including the code corrupt) and what you pasted in the box there is the information you use to solve your problem.
    I may just need to put this darn thing away for a few days. I swear I think my brain is in overload after the past 24 hours. LOL

    Code:
    File: 0xB340, Phone: 0xF627
    When I posted that, I could swear the numbers were different for each one, but looking at it for the edit, I saw they were the same. Maybe I need to go watch my Man Show inspired boot animation for a bit.



  8. XOOM RS Team Lead
    fish1552's Avatar
    Member #
    47771
    Join Date
    Mar 2010
    Location
    Savannah area of Coastal Georgia, USA
    Posts
    652
    Liked
    36 times
    Twitter
    fish1552
    Phone
    MOTO X + Nexus 7
    Premium Member
    #48
    Ok, Moto I want to thank you for all your help the past 2 days.

    This thing was kicking my butt today, and I was gonna give it up for a while, but I have this little thing about something getting the best of me.

    I finally got it and worked like a charm!


    Thank you!



  9. Chief Droid Scientist
    MotoCache1's Avatar
    Member #
    83203
    Join Date
    Jun 2010
    Posts
    530
    Liked
    6 times
    Phone
    A855 / MB810
    #49
    Quote Originally Posted by fish1552 View Post
    Ok, Moto I want to thank you for all your help the past 2 days.

    This thing was kicking my butt today, and I was gonna give it up for a while, but I have this little thing about something getting the best of me.

    I finally got it and worked like a charm!

    Thank you!
    Next thing you know you'll be staying up until 6:30 in the morning hacking on something you just can't give up on, then sleep for 1.5 hours, then work a full day, then be posting here at 1:10am. Wait, that's me.
    Droid 1 - the "unbrickable" droid.
    FRG22D - stock, rooted, ChevyNo1 LV 1.1GHz kernel, SetCPU 2.0.2, Superuser 2.3.6.1

    Droid X, Droid 2, Droid 2 Global (Band Unlocked), Droid Pro Global (Band Unlocked)

    Recommended reading for newbies: How to ask questions the smart way
  10. Master Droid
    Jharmon12's Avatar
    Member #
    65059
    Join Date
    May 2010
    Posts
    257
    Phone
    Moto Droid
    #50
    I really like the script that don't mirror the image because when I work with an image I work with it in a png format and then I open it in paint, mirror it and save it to my scripts folder where your cg42 scrip eagerly awaits, I just redone all of my old sbfs to make them logo only and perfected the process :P

    Sent from my Moto Droid using Tapatalk
    Moto Droid <--Best Phone Ever Made)
    TUD 1.0 Rom
    Slayher's 1.2 ghz
    Check This Out To Change Your Boot Logo (The M) <--- Warning this will put your phone back to 2.0.1 And Is For Educational And Proof of Concept Purposes Only!!

    If you want a quick fix Check out Shibby's Boot Logo Generator.

    If You Like My Work And Wanna Buy Me A Beer (I Like Guinness) PM me!
Page 5 of 11 FirstFirst ... 3 4 5 6 7 ... LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Want better in-call audio? / How-To Change Voice Codec
    By xliderider in forum Android Tech Support
    Replies: 37
    Last Post: 05-21-2011, 06:38 PM
  2. Output to TV??
    By naknak95 in forum Android Audio and Video
    Replies: 4
    Last Post: 08-11-2010, 02:22 AM
  3. Divx codec from motoroi anyone?
    By raydm in forum Android Audio and Video
    Replies: 4
    Last Post: 04-19-2010, 04:01 PM
  4. GPS erroneous
    By greg_p in forum Android Tech Support
    Replies: 2
    Last Post: 12-23-2009, 10:30 AM
  5. USB port output music?
    By richelesro in forum Android General Discussions
    Replies: 2
    Last Post: 11-16-2009, 11:51 AM

Search tags for this page

error verifying code group
,
error verifying code group 32
,

error verifying code group 32 checksums

,
error verifying code group 33
,

error verifying code group 33 checksums

,
error verifying code group checksums
,
mb810 monster file
,
sbf flash checksum error
,
sbf flash unexpected chip 16
,

sbfcodec

Click on a term to search our site for related topics.
Find us on Google+