Results 1 to 12 of 12
  1. #1
    offline Banned
    Join Date
    Jun 2010
    Posts
    240
    Thanks
    18
    Thanked 144 Times in 41 Posts
    Downloads
    8
    Uploads
    0

    Compiling your own Kernel - Scripts included [LINUX ONLY]

    Compiling your Own Kernel - ASOP 1.5

    Before you start, please know: First of all, all credit goes to: Arayray, Toxigenicpoem, and adlx! I only created the scripts. Also know: To be able to do this, you dont need to be a linux expert. Im NO WHERE NEAR an expert on linux!
    Up until yesterday, when i got my copy in the mail, ive been using vmware! So, if i get anything wrong. PLEASE be civilized, and contact me. I have used it, im currently using it, and if you find that its unsatisfactory in ANY way, hit me up! I will gladly do what i can to fix it, if i dont know how, i will consult a higher developer. P.S. Be careful when doing this, some of this stuff can mess up your phone, if not done correctly. Oh and when you get to the "Get a stock boot.img" i DO NOT Mean stock from handlers leak (thats 2.1 anyway). I MEAN A STOCK, ANDROID 1.5 boot.img!

    [OPEN-SOURCE] These files are open source, and are ment to help better the M3 Community. Feel free to modify and redistribute all scripts and guides, AS LONG as you give credit to arayray, toxic, and adlx! - Source files are located below!
    if your redistributing, credit to "android dls" is also required for perl scripts. (unnammed developer)
    [FILES CAN BE USED TO BUILD PLUGINS FOR M3 COMMUNITY KITCHEN - C+ or VB required. all platforms suggested.

    This is for everybody who doesnt know how to compile a kernel from source. I get ALOT of PM's and E-Mails everyday, about this. Now, no its not a GUI, and its only for Linux users, but it works, and should hold you over until toxic releases. I might make a GUI for it, and im currently working on it, but i might just contribute to the M3 Community Kitchen instead. All-in-all, please feel free to contact me about questions, concerns, and errors you get while using these scripts.

    **BEFORE YOU START, ANDROIDSDK IS NEEDED! REFER TO Android Developers
    **Ubuntu 8.04 is recommended, HOWEVER, i have tested on Ubuntu 10.04, it works! ..not as easy tho :/

    !!THIS IS SETUP FOR ANDROID 1.5, ONCE MOTOROLA RELEASES 2.1 SOURCE,
    ALL YOULL HAVE TO DO IS MAKE MINOR CHANGES TO THE SCRIPTS!!

    Standard Warning:
    I am in no way responsible for anything bad happening to your device because of this script, Bio-Nuclear war, Bricked Devices, or Global Warming. However, if anything good happens because of this, that was me

    ------------------------------------------------------------------------------------------------------------------------------
    PLEASE NOTE
    I did create these scripts, however, it was arayray, Toxigenicpoem, and adlx that showed me how to compile kernels. Don't thank me, thank them! Without them, i would have probably never learned / got it working!!!!
    Credit also to: unnamed developer on android-dls wiki, created the perl scripts used in unpacking/repacking of boot.img process!
    They, are the true developers. not me.

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

    Developed for LINUX ONLY!

    Dont Have Linux? Try This: [EXPERTS ONLY]
    Download VMWARE Player - Download here
    Find and download an Ubuntu VMWARE Image.
    *Make sure you write down the username, password, AND ROOT PASSWORD for the image!

    ================================================== =======================

    INSTRUCTIONS
    1) First of all, download the tar.gz file, and extract the folder to your Desktop. Open the folder, and right click on EACH FILE > Other Application > [Open with] Some word processor, "gedit" is recommended.


    2) Then, Open "Part1.sh","Part2.sh","Part3.sh", "setup1.sh" and "setup.sh"
    (One, by one) Hit "CNTRL + F" to find, and type in "joey"
    Erase, and re-type !YOUR USERNAME! in those spots.


    3) After Than, you have to "chmod" all the scripts, so they can be
    executable. Open terminal, and run this command (or copy/paste):

    cd /home/[USERNAME]/Desktop/Compile-Kernel
    chmod 775 ./part1.sh
    chmod 775 ./part2.sh
    chmod 775 ./part3.sh
    chmod 775 ./setup.sh
    chmod 775 ./setup1.sh

    4) Now, LISTEN CAREFULLY! If you have ubuntu 10.04, double-click, then run
    "setup1.sh"; If you have anything below that, run "Setup.sh"
    ****IF YOU ALREADY HAVE JAVA5/6 JDK INSTALLED, THIS ENTIRE STEP IS NOT NEEDED!


    5) After java 5/6 JDK Is installed, we have to download the motorola source. Download them Here
    ***Make sure you get the right one, (1.4.8)
    Download, and extract ALL tar.gz files inside, to your HOME FOLDER.


    6)RUN PART 1 ***


    7)After running part one, if you have to change/set any variables; do so now. !IF YOU DONT UNDERSTAND THIS STEP, JUST MOVE ON


    8)RUN PART 2 ***


    9)Get a STOCK (ANDROID 1.5 ONLY) boot.img - you can get from nandroid backup.


    10) Extract, or get the boot.img and put it onto your DESKTOP.


    11)From there, drag and drop/copy and paste the "unpacker-bootimg.pl" AND the "repacker-bootimg.pl" files into YOUR HOME DIRECTORY.

    ***BEFORE YOU RUN PART 3 - MAKE SURE YOUR PHONE IS PLUGGED IN, AND DEBUGGING IS ENABLED! - PART 3 INCLUDED ADB SERVICES!

    12) RUN PART 3 ***

    ================================================== =======================

    DONE! - May post video soon!


    DOWNLOAD FILES Here

    OPEN SOURCE FILES/INFO HERE

    ---
    File integrity

    Source: SHA1 Checksum: 56b55ccf2efe4b264651a3b26de659638d0ad2d8
    Scripts: SHA1 Checksum: 907b6f1fbf87e40dde0fcdd3cc62f652119606c5
    ---


    Did you find any Bugs while running these scripts? Report them, HERE


    Thank You

    Arayray, thank you for giving me my first guide, and teaching me how to compile kernels. Thank you Toxic and Adlx for help and support along the way. AND AGAIN thank you arayray, because you also figured out my Unpack-bootimg.pl error!!
    Last edited by opencliq; 07-29-2010 at 05:42 PM. Reason: Added some stuff.

  2. 6 Users Say Thank You to opencliq For This Useful Post

    andrx (07-29-2010), arayray (07-29-2010), denkai (08-01-2010), lioks (07-29-2010), sprinter29 (07-29-2010), statuzz (07-29-2010)

  3. #2
    Zor_Primo's Avatar
    offline Maybe Modder
    Join Date
    Jul 2010
    Location
    Texas, is there anywhere else.
    Posts
    29
    Thanks
    8
    Thanked 9 Times in 9 Posts
    Downloads
    19
    Uploads
    0
    Cool! Thanks for making life good again!

  4. #3
    HandlerExploit's Avatar
    offline My favorite color is NOT green
    Join Date
    Dec 2009
    Posts
    369
    Thanks
    57
    Thanked 605 Times in 120 Posts
    Downloads
    22
    Uploads
    0
    placeholder
    Last edited by HandlerExploit; 08-01-2010 at 03:10 PM.

  5. #4
    arayray's Avatar
    offline Skilfull Modder
    Join Date
    Jan 2010
    Location
    Far Far Away :P
    Posts
    690
    Thanks
    87
    Thanked 135 Times in 99 Posts
    Downloads
    46
    Uploads
    0
    hahah handler thts wat im sayin
    Thanks to everyone who helped in this community!

    Phone: Black Mytouch 3g Slide


    Follow Me: Twitter , My Blog

  6. #5
    HandlerExploit's Avatar
    offline My favorite color is NOT green
    Join Date
    Dec 2009
    Posts
    369
    Thanks
    57
    Thanked 605 Times in 120 Posts
    Downloads
    22
    Uploads
    0
    placeholder
    Last edited by HandlerExploit; 08-01-2010 at 03:10 PM.

  7. 7 Users Say Thank You to HandlerExploit For This Useful Post

    AcexDestroyer (08-01-2010), arayray (08-01-2010), ClaytonH (08-01-2010), opencliq (08-01-2010), tcortinag (08-01-2010), tickler136 (08-01-2010), Zor_Primo (08-01-2010)

  8. #6
    arayray's Avatar
    offline Skilfull Modder
    Join Date
    Jan 2010
    Location
    Far Far Away :P
    Posts
    690
    Thanks
    87
    Thanked 135 Times in 99 Posts
    Downloads
    46
    Uploads
    0
    this will be interesting
    Thanks to everyone who helped in this community!

    Phone: Black Mytouch 3g Slide


    Follow Me: Twitter , My Blog

  9. #7
    HandlerExploit's Avatar
    offline My favorite color is NOT green
    Join Date
    Dec 2009
    Posts
    369
    Thanks
    57
    Thanked 605 Times in 120 Posts
    Downloads
    22
    Uploads
    0
    placeholder
    Last edited by HandlerExploit; 08-01-2010 at 03:10 PM.

  10. The Following User Says Thank You to HandlerExploit For This Useful Post:

    arayray (08-01-2010)

  11. #8
    Zor_Primo's Avatar
    offline Maybe Modder
    Join Date
    Jul 2010
    Location
    Texas, is there anywhere else.
    Posts
    29
    Thanks
    8
    Thanked 9 Times in 9 Posts
    Downloads
    19
    Uploads
    0
    Wow... you guys are ruthless. Most of us are just learning things and for 'cliq to take time out of his life to create tools that he believes are helpful for the NOOBs, like myself, is a plus.

  12. #9
    OCM's Avatar
    OCM
    offline There is no spoon
    Join Date
    May 2009
    Location
    main()
    Posts
    3,385
    Thanks
    1,118
    Thanked 1,425 Times in 738 Posts
    Downloads
    7
    Uploads
    0
    opencliq, part1.sh downloads into the home directory but part2.sh is hardcoded to your home directory (/home/joey)
    You see, madness, as you know, is like gravity. All it takes is a little push.

  13. The Following User Says Thank You to OCM For This Useful Post:

    Danation (08-01-2010)

  14. #10
    offline Banned
    Join Date
    Jun 2010
    Posts
    240
    Thanks
    18
    Thanked 144 Times in 41 Posts
    Downloads
    8
    Uploads
    0
    its stated in the post above, before you run, to change the usernames. i didnt get a chance to rewrite all of these with different code to suit each computer, the same.

    however, if your not talking about editing them before you run them, would you care to elaborate?



    Are you talking about when you extract?

  15. #11
    offline So I Hear You Can Mod
    Join Date
    Mar 2010
    Posts
    315
    Thanks
    71
    Thanked 226 Times in 78 Posts
    Downloads
    15
    Uploads
    0
    Quote Originally Posted by opencliq View Post
    its stated in the post above, before you run, to change the usernames. i didnt get a chance to rewrite all of these with different code to suit each computer, the same.

    however, if your not talking about editing them before you run them, would you care to elaborate?



    Are you talking about when you extract?
    You can always use ~/ to refer to anyones home directory, just like %home% in windows land.

  16. #12
    offline Banned
    Join Date
    Jun 2010
    Posts
    240
    Thanks
    18
    Thanked 144 Times in 41 Posts
    Downloads
    8
    Uploads
    0
    yeah i know, i didnt rewrite it tho, but im developing compiling stuff for windows, once i release that, ill update the linux ones. but it will most likely be a plugin.

    and i did use ~/ a couple times.

Posting Permissions

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