[HOW-TO] Guide to start MODDING [13/3/2011]
  • DJGHOSTS3V3NDJGHOSTS3V3N March 2011

    Well I have been a long time in the forum without posting much things
    that are useful for most of you so I decided to make a little guide to
    help some of you to mod your ROMS, I just want you guys to remember that
    I am not responsible if this guide breaks your phone, makes it stuck on
    a bootloop of something like that, you are doing this knowing the
    consequences of this.


    Well I am showing you some basic stuff, that make differences, so your phone can stand up in the crowd


    First of all im starting by modding your build.prop which is located on
    /system/ so to start off lets open or CMD which you can find by hitting
    Start>Run>*Tipping* CMD /or/ WindowsLOGO+R then tiping CMD.


    Now that we have our CMD opened we will *CD* to our SDK/ADB folder.

    If you have latest SDK like me, I have my SDK/ADB in Program Files/AndroidSDK/AndroidSDK/platform-tools


    So in my case I type in:

    cd\

    cd Program Files/AndroidSDK/AndroidSDK/platform-tools


    Now lets connect our phone via USB. Once the computer detects it we go to CMD and type in:


    adb devices


    You are supposed to see a *Serial Number* if so keep on reading, if not
    retry connecting/desconecting your phone, if you still have no serial
    number post what you did here.


    Now to modify our build.prop

    1. We need to download Notepad++ which you can download Here

    2. Download and Install, you know how to do that

    3. Go to your CMD and type in


    adb pull /system/build.prop


    4. This will make a file called build.prop appear in your platform-tools
    folder, look for that file, right click it and click: Edit with
    Notepad++, once you hit that wait for a while until Notepad++ opens.

    5. You are supposed to see ALOT of numbers and words, those are values,
    we are looking for: (ro.product.model=*******) * is supposed to say
    something like MB501 or CLIQXT, if you can't find it hit CTRL+F and type
    in ro.product.model= and you should find it, that value there is the
    "Model Number/Name" you can edit it like I did, change it to any name
    like "Nexus S /or/ CLIQXT, ON CRACK " become creative.

    6. Once you finish hit CTRL+S and close

    7. Go to your CMD and type in:


    adb push build.prop /system/


    8. This will push the modified build.prop

    9. Now to see the effects type in CMD this:


    adb reboot


    10. This will reboot your phone, once it boots go to Settings>

    About Phone>Model Number and you should see your edited Model Number


    I will continue to post other mods, im on a hurry these are some BASIC
    stuff, I will show how to edit a framework-res.apk and other stuff like
    that.

    PLEASE IF THIS HELP YOU, THANK ME IN THE BUTTON BELOW IT DOESN'T TAKE 2 SECONDS TO DO THIS, WHILE THOSE 2 SECONDS HELP ME
    EDIT:

    Here is a example of a editted build.prop by me (This is @turl CM7 )
    CLICK ME FOR EDITED build.prop
    EDIT2:

    10 Thanks below and I will teach the easy way of applying Custom
    ANIMATIONS to your phone, THE EASY WAY, just hit the THANK button below. <-- Just go to this post, register/login and hit thanks :)
    EDIT3:
    CUSTOM ANIMATIONS :)


                                   

  • JassyCliqJassyCliq March 2011

    nice :)

  • You can change the device name, also the rom name. Just be very careful what you edit, because you can REALLY screw things up if you edit the wrong lines. ;)

  • KhalifaKhalifa March 2011

    Cant you just do that in the kitchen....

  • Yes, if you have the kitchen, you can pull the build.prop, and use notepad++ to edit it. It gets tricky, because you have to edit it, click file>save, then, click file>open, select the build.prop you saved, and just drag and drop it in the file you got it from. DO NOT delete the old one first, or the changes won't take (which is weird). 


    After you drag and drop your new build.prop into it, click the "x" on the top right of notepad++ to clear the screen (the smaller x, not the one that closes the app), and drag and drop the one in your build into the notpad++ screen again to confirm that the changes took. If they did, just hit x again and close the app.

    This took me a while to figure out, it was rather frustrating, lol.

    You then have to recook the ROM, or it won't flash.

    When I do this, I start with my ROM's .zip file in original_update and then start a working folder, then make the changes to your working folder (not the original update), and cook it. This way, in case you screw something up, the original doesn't get screwed up to.

  • KhalifaKhalifa March 2011

    Thank you @1madfitter

  • DJGHOSTS3V3NDJGHOSTS3V3N March 2011

    @1madfitter I think my way is a tiny bit better ;) thanks all, any other help, I'm here. And like @1madfitter also said changing the wrong lines could lead to x| lol.

  • Oh I agree that you way is easier, this is just the method I'm using as I am cooking a whole ROM, not editing just the build.prop. If that's all you are doing, then your way is by FAR easier, lol. 

  • DJGHOSTS3V3NDJGHOSTS3V3N March 2011

    Yey! :) haha, guys any other question, im here to help, got 4 thanks on Modmymobile, so register/login if you want a guide on how to put custom animations, ON ANY ROM :)

  • Double0EKDouble0EK March 2011

    For those that have Root Explorer its A LOT easier!
    Go to /system and mount as R/W
    long press build.prop and Open in Text Editor

    Now edit the lines

    When you're done save. It will create a .bak file and its up to you if you delete it or move it somewhere else as a backup just in case.
    Reboot and check your modifications.

    I posted something like this on M3 Cliq/Themes but it was mainly how to change Start-Up Tone.. same process... just thought i'd share.

  • DJGHOSTS3V3NDJGHOSTS3V3N March 2011

    @DoubleOEK That is a nice way but, Root Explorer is NOT free, what if I have a computer ? Doing it via the phone sucks :)
    EDIT: Ive got 5 thanks on Modmy, 5 more for custom anims :)

  • jeddiel182jeddiel182 March 2011

    i dont see the thax buton... btw

  • DJGHOSTS3V3NDJGHOSTS3V3N March 2011

    Its on MODMYMOBILE, you already gave a thanks there :)

Hey are you new here?!

Welcome to the best Ad-Free Android Community around! Create your profile, and start posting now! New features are being added all the time!

Login with Facebook Sign In with OpenID Sign In with Google Sign In with Twitter

Sign In! Sign Up!

Categories

In this Discussion

Tagged