1. Download our Official Android App: Forums for Android!

Root Hroarkernel 1.2

Discussion in 'Android Devices' started by hroark13, Aug 19, 2011.

  1. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #53
    Points:
    483
    Posts:
    3,288
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,288
    4,136
    483
    Edit:

    Anyone who is using my kernel should upgrade to the Kouma Kernel

    http://androidforums.com/galaxy-prevail-all-things-root/429740-koumakernel-0-1-beta.html

    I have not had the time to make an updated kernel, so Kouma was kind enough to do it





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


    I created a Kernel and updated ClockWorkMod Recovery V4.0.1.5 for Samsung Prevail SPHM820

    Using Odin or ClockWorkMod can be dangerous to your phone, make sure you know what your doing, make sure you have a charged battery or plugged into power.

    Please also read second post


    If you have taken the EE14 official update you need to remove /system/etc/install-recovery.sh
    If you do not remove this file the stock recovery gets flashed back when phone is rebooted
    I made a zip file that will do this for you, it needs to be flashed from CWM as soon as CWM is installed, so you have to go into CWM as soon as Odin resets the phone, with out letting the phone boot up, a link to the fix is below


    DOWNLOAD HROARKERNEL 1.2 and CWM
    1. Download and unzip the file.
    2. Download EE14 Fix stick.zip and copy to sdcard (if you need it)
    3. Install the Samsung USB drivers (if you don't already have them)
    4. Put phone in Download Mode by holding Vol down, Camera Button, and Power button until the Yellow Downloading message appears
    5. Plug phone into USB port
    6. Open Odin, you should see a yellow box with a com number
    7. Select SPHM820.ops in the OPS box
    8. Put a check in One Package
    9. Select the tar file in the One Package box
    10. Click Start
    11. When Odin says reset and the phone reboots Hold Vol UP, and Power button until you are in CWM DO THIS QUICKLY BEFORE PHONE BOOTS, IF PHONE BOOTS UP ALL THE WAY START BACK AT STEP 4. you do not have to wait for Odin to say pass, that does not work
    12. In CWM go into install zip from sdcard
    13. select choose zip from sdcard
    14. select stick.zip
    15. select Yes - Install stick.zip
    16. After it is done installing Press back button
    17. Select Reboot System Now




    [​IMG]

    See this thread for download

    http://androidforums.com/galaxy-prevail-all-things-root/390234-clockworkmod-updated-9-12-11-a.html
     

    Advertisement

  2. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #53
    Points:
    483
    Posts:
    3,288
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,288
    4,136
    483
    Please see my other thread about the functions of ClockWorkMod
    http://androidforums.com/galaxy-pre...ecovery-v4-0-1-4-samsung-prevail-sphm820.html

    This ClockWorkMod has been updated to support EXT4 file system


    Hroarkernel adds support for EXT4 files system, and Init.D support

    I did test the EXT4 file system access with adb and link2sd and it works fine, my ext4 sd-ext partition was created and formated in CWM

    If you are using my kernel you should format the sd-ext partition you create it in CWM so that it gets changed from ext2 to ext4, you format it in the mounts and storage menu in CWM

    ALWAYS BACK UP YOU SDCARD BEFOR YOU TRY TO PARTITION IT


    I am not sure how to test Init.d, but it should work, I will need some people to test this for me and let me know if it works


    This kernel does not support Overclocking, and anyone who asks if it does will not receive a response.

    Please keep this thread on topic, I do not support other apps that you are trying to use

    Suitable subject are the kernel, cwm, ext4, init.d, and link2sd

    This is not a compiled kernel, I can not do that because the Samsung source code is broken

    The changes made in this kernel reside in the ramdisk portion of the boot.img,
    I added the ext4.ko, jbd2.ko, initd_support.sh and modified the init.rc file

    The main kernel file "zImage" is unchanged

    Ext4 file system support will help future development, and will resolve some of the issues people are having with the link2sd app when you are trying to use an sd partition you made in CWM
     
  3. Necrotoxin

    Necrotoxin Well-Known Member
    Rank:
    None
    Points:
    68
    Posts:
    225
    Joined:
    Jun 1, 2011

    Jun 1, 2011
    225
    100
    68
    College student
    Nice release. It's good to see more development. Nothing against shabby it's just good to see others releasing as well. Odin, cwm and now a kernel. Nice work hroark.

    One other thing that you you should mention behind the over clocking point is that it also does not support the official flash before you get that question spammed a billion times as well.
     
  4. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #53
    Points:
    483
    Posts:
    3,288
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,288
    4,136
    483

    do you mean flash player?
     
  5. Necrotoxin

    Necrotoxin Well-Known Member
    Rank:
    None
    Points:
    68
    Posts:
    225
    Joined:
    Jun 1, 2011

    Jun 1, 2011
    225
    100
    68
    College student
    Yes. I know the modified version would still work but the official flash from adobe won't unless I'm mistaken.
     
  6. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #53
    Points:
    483
    Posts:
    3,288
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,288
    4,136
    483

    I am not to sure, from a system standpoint, this kernel looks exactly like stock, the only difference is the modules that load, and the script that runs

    So what ever issues people were having with flash player will still be there
     
  7. Necrotoxin

    Necrotoxin Well-Known Member
    Rank:
    None
    Points:
    68
    Posts:
    225
    Joined:
    Jun 1, 2011

    Jun 1, 2011
    225
    100
    68
    College student

    Yeah that's what I thought. I was only bringing up the point to stop the questions about whether it will our will not work so it doesn't have to be answered a billion times :p
     
  8. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #53
    Points:
    483
    Posts:
    3,288
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,288
    4,136
    483
    i put a little note in the second post about suitable topic, thanks for the advice
     
  9. Necrotoxin

    Necrotoxin Well-Known Member
    Rank:
    None
    Points:
    68
    Posts:
    225
    Joined:
    Jun 1, 2011

    Jun 1, 2011
    225
    100
    68
    College student

    Good notes. Ok I'll leave your thread open for some constructive criticism now. Sorry for monopolizing the first several posts :s
     
  10. Shabbypenguin

    Shabbypenguin Android Expert
    Rank:
    None
    Points:
    623
    Posts:
    5,385
    Joined:
    Mar 28, 2011

    Mar 28, 2011
    5,385
    5,071
    623
    Male
    nice work :)

    and no flash is limited by teh cpu, not kernel
     
  11. DaddyZap

    DaddyZap Android Enthusiast
    Rank:
    None
    Points:
    43
    Posts:
    263
    Joined:
    Jun 4, 2011

    Jun 4, 2011
    263
    27
    43
    Selling stuff
    Boston
    Please pardon my noobness but does this mean we can use cwm to ceeate ext 2 sd ? Or should I use a program on my pc ? also once installed will it show more memory on my internal section ?
     
  12. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #53
    Points:
    483
    Posts:
    3,288
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,288
    4,136
    483
    yes you can use cwm to partition sd, i dont think it will show more memory, but you can use link2sd to move apps to that partition

    when you create a partition in cwm it creates it as ext2

    but once the partition is created if you format the partition or do a factory wipe in cwm it changes that partition to ext4

    i figured out how to change this behavior, but figured it would just be better if we had a kernel that supported ext4

    if the ext4 support does not work out, I will make a cwm that just leaves the partition at ext2

    the stock kernel supports ext2
     
  13. protegemini

    protegemini Member
    Rank:
    None
    Points:
    16
    Posts:
    54
    Joined:
    Jul 30, 2011

    Jul 30, 2011
    54
    5
    16
    what's the difference in ext2 and ext4?
    i made ext2 partition using a program on the computer. and the link2sd worked fine.
    will this kernel still be necessary? i only need it if i wanted to create the partition using cwm correct?
     
  14. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #53
    Points:
    483
    Posts:
    3,288
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,288
    4,136
    483
    if you are using a ext2 partition on sdcard, dont use cwm to format it and dont do a factory wipe in cwm, because that formats it too

    when it it is formated on cwm it is changes to ext4

    which your current kernel does not support

    that is main reason i made this kernel for ext4 support
     
  15. Purponic

    Purponic Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    156
    Joined:
    Jun 4, 2011

    Jun 4, 2011
    156
    43
    43
  16. psp_noob

    psp_noob Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    162
    Joined:
    Aug 1, 2011

    Aug 1, 2011
    162
    35
    43
    i thought CWM formatted the partition to ext3??

    wasn't that the reason we were hoping for some ext3 support in the upcoming mods (or kernals)?
     
  17. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #53
    Points:
    483
    Posts:
    3,288
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,288
    4,136
    483

    I think in that post I said it was either ext3 or ext4

    I turns out it is ext4

    I can make a new CWM that leaves it at ext2

    But I want to give the ext4 a chance first to see how it works out
     
  18. psp_noob

    psp_noob Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    162
    Joined:
    Aug 1, 2011

    Aug 1, 2011
    162
    35
    43
    1. i'm still using the previous version of CWM which does format to ext3 hence the confusion

    2. the only reason i use ext2 is because it's the only thing link2sd (running on shabby 0.9) works with, i'm not suggesting that you should make a ext2 version of CWM, though i was completely unaware that you could change it?!? that is good info to know, but until i've had some time to test the new kernals and see what difference it makes to a possible sd-ext Vs. link2sd conflict, and furthermore which one if not both is better, than i'd suggest you just stick with #3 (below)

    3. ext4 (according to shabby) sounds like a good place to start
     
  19. Purponic

    Purponic Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    156
    Joined:
    Jun 4, 2011

    Jun 4, 2011
    156
    43
    43
    Can you make a EE14 Rooted recovery with your kernal?
     
  20. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #53
    Points:
    483
    Posts:
    3,288
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,288
    4,136
    483

    no it does not, trust me, i know these things

    i was not sure before, but I know for sure now

    when the partition is first created in CWM it is ext2

    if you factory wipe or format it goes to ext4

    This is the same in both versions of my CWM

    But with this new kernel a module loads that allows ext4 access when you go in to CWM or load the Android OS

    The stock kernel has built in support for ext2 so no module is needed

    We would not need an ext4 module if we could compile samsung source code, but we can not because it is broke

    So we have to load a module for ext4 support

    I am not gonna add ext3 support, there is no need for it.

    If the ext4 does not work out well, I will release a version of CWM that leaves the sd-ext at ext2 when you factory wipe and format
     
  21. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #53
    Points:
    483
    Posts:
    3,288
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,288
    4,136
    483
    for now people could just flash this after they flash EE14 rooted Odin

    I know it is an extra step

    I want this to be out there for a while and be tested before I do that

    It may not work good, or I may add some features to the kernel

    I would also like to make a ROM that is completely ext4
     
  22. benwalburn

    benwalburn Android Enthusiast
    Rank:
    None
    Points:
    53
    Posts:
    435
    Joined:
    Mar 31, 2011

    Mar 31, 2011
    435
    68
    53
    Computer Repair
    Do you have a kernel that is flashable via cwm? I run Ububtu, so I can't use odin
     
  23. hroark13

    hroark13 Android Expert
    Recognized Developer Thread Starter
    Rank:
     #53
    Points:
    483
    Posts:
    3,288
    Joined:
    Jul 15, 2011

    Jul 15, 2011
    3,288
    4,136
    483

    I will try to make one

    edit:

    I tried the method Shabby using (bmlwrite) and does not work for me

    Sorry you have to use Odin
     
    benwalburn likes this.
  24. moses166

    moses166 Member
    Rank:
    None
    Points:
    16
    Posts:
    69
    Joined:
    Jun 28, 2011

    Jun 28, 2011
    69
    1
    16
    so are you planing to cook a rom?
     
  25. luisrodl

    luisrodl Lurker
    Rank:
    None
    Points:
    6
    Posts:
    6
    Joined:
    Jul 30, 2011

    Jul 30, 2011
    6
    1
    6
    Spanish Teacher/Translator
    Puerto Rico
    Thanks Hroark for this new kernel, it's amazing that in just a few months the Prevail is having custom kernels and roms. I am going to flash this new kernel, but I have a question. I know this kernel supports link2sd but does it support something like Darktremor apps2sd since it supports init.d? If it does I am willing to try it out. Thanks for all your hard work.
     

Share This Page

Loading...