[KERNEL][HELP]Kernel Development Help Needed

Search This thread

Draciel882

Senior Member
May 3, 2010
353
27
Alberta, Canada
Hey everyone! I'm in dire need of some kernel help. I've ported the One V RUU to the Amaze but I can't get it to boot. So I need someone that is willing to help me build a kernel and get this thing booting so I can share it with the rest of the community. If anyone is willing to help out, PM me preferably or post here. Thanks! I'm begging now! haha
 
  • Like
Reactions: sglscovill

heyjoe66

Senior Member
Mar 15, 2007
566
173
I guess porting the rom is porting the kernel in a first place, which is not possible at least while htc will release a source for it. again, just my guess
 

mrmako777

Senior Member
Dec 14, 2010
1,673
1,901
dragging knee on the track
Hey everyone! I'm in dire need of some kernel help. I've ported the One V RUU to the Amaze but I can't get it to boot. So I need someone that is willing to help me build a kernel and get this thing booting so I can share it with the rest of the community. If anyone is willing to help out, PM me preferably or post here. Thanks! I'm begging now! haha

Try sending a message to faux. He's the kernel man
 

Double0EK

Senior Member
May 13, 2010
2,667
1,020
I asked for help on another forum I frequent. Currently there are no Amaze developers there but there are good developers there.
 

tiny4579

Inactive Recognized Developer
Jan 15, 2011
9,327
5,060
Thanks to a former Inc member who asked for my help, I can give a bit of device.

I'm not going to really try to support or figure out a kernel on a device I don't own, but a couple of things to try.

Does Amaze have ICS on AOSP? If so try the kernel from that.

There may need to be a kernel source code merge to get touchscreen working. Take an existing GB Sense kernel and try to boot ICS with it. Any errors or issues still booting? If so you'll need to try and modify the boot.img from the One V (Primo) and make it work on Amaze (Ruby) or modify Ruby's boot.img to work on the Primo.

I'm not going to bang my head over a phone I don't own but hopefully this can get you started.

When in doubt, try to debug why it won't boot with logcat.
 

Draciel882

Senior Member
May 3, 2010
353
27
Alberta, Canada
Thanks to a former Inc member who asked for my help, I can give a bit of device.

I'm not going to really try to support or figure out a kernel on a device I don't own, but a couple of things to try.

Does Amaze have ICS on AOSP? If so try the kernel from that.

There may need to be a kernel source code merge to get touchscreen working. Take an existing GB Sense kernel and try to boot ICS with it. Any errors or issues still booting? If so you'll need to try and modify the boot.img from the One V (Primo) and make it work on Amaze (Ruby) or modify Ruby's boot.img to work on the Primo.

I'm not going to bang my head over a phone I don't own but hopefully this can get you started.

When in doubt, try to debug why it won't boot with logcat.

I have tried to boot it with both a GB and an ICS kernel. I've also taken the Primo kernel and attempted to edit it but I think I may have done it wrong :/

Also I've tried to logcat but it doesn't work because it doesn't boot far enough to enable logcat. But I had a previous logcat and I'll post it right away.

Sent from my Bulletproof HTC Amaze 4G
 

xxquicksh0txx

Senior Member
Jul 17, 2010
1,536
417
Akron, Ohio
Pa ha ha ha ha!! ICS? AOSP? On the Amaze? That'll be the day...

Sorry I know that wasn't very constructive...If I had experience building kernels i'd definitely volunteer but seeing as i have very limited experience developing anything i'm afraid i'm useless.

GB AOSP would be nice...

But he doesn't really know anything about how development is on this phone, except for the 2-3 sentences on told him about how the ROM is ported, just no kernel yet.


Thanks for coming over Tiny.
 

EclipzeRemix

Senior Member
Oct 8, 2011
3,225
5,615
i dont think there needs to be a kernal made from scratch, mabey get faux to edit the ICS kernal of X's ICS to make your rom boot
 
G

glacierguy

Guest
I recommend we get this phone in TDJs hand to build us a kernel.

Sent from my HTC_Amaze_4G using xda premium
 

EclipzeRemix

Senior Member
Oct 8, 2011
3,225
5,615
Yea this dude makes amazing stuff, i miss the mytouch days ;(

Sent from my HTC Amaze 4G using XDA
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    Spoke with doomlord, he says he can't do it personally but he can guide you step by step to do it yourself. What do you think?

    ok so i am here... i will monitor this thread...

    let me know what help u guys need
    3
    Okay. So the problem right now is I flash the Rom, then the kernel through fastboot. Then I boot it up and watch the progress through DDMS. It goes well until it gets to the "Netd 1.0 starting" process and then it just hangs there, starting it over and over.

    Sent from my Bulletproof HTC Amaze 4G

    Check ramdisk... For ICS the ramdisk needs correct "class" lines for each service...

    Sent from my LT18i using XDA
    2
    Thanks to a former Inc member who asked for my help, I can give a bit of device.

    I'm not going to really try to support or figure out a kernel on a device I don't own, but a couple of things to try.

    Does Amaze have ICS on AOSP? If so try the kernel from that.

    There may need to be a kernel source code merge to get touchscreen working. Take an existing GB Sense kernel and try to boot ICS with it. Any errors or issues still booting? If so you'll need to try and modify the boot.img from the One V (Primo) and make it work on Amaze (Ruby) or modify Ruby's boot.img to work on the Primo.

    I'm not going to bang my head over a phone I don't own but hopefully this can get you started.

    When in doubt, try to debug why it won't boot with logcat.
    2
    Update! I got a new kernel and it works better than any of the ones I've used. It gets to the point where it says "Netd 1.0 starting" and then it says that over and over and doesn't get past it. Does anyone know how to fix it?
    2
    What do those class lines consist of?

    Sent from my Bulletproof HTC Amaze 4G

    My guess as I just checked on my phone is compare with the ramdisk of a working ICS ROM on a different phone and add the class lines from there.


    You just need to add the class lines from the two below files.

    Below are the service lines from my init.inc.rc:

    Code:
    service wpa_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant \
        -Dwext -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
    #   we will start as root and wpa_supplicant will switch to user wifi
    #   after setting up the capabilities required for WEXT
    #   user wifi
    #   group wifi inet keystore
        class main
        socket wpa_wlan0 dgram 660 wifi wifi
        disabled
        oneshot
    
    service dhcpcd_wlan0 /system/bin/dhcpcd -ABKL
        class main
        disabled
        oneshot
    
    service dhcpcd_p2p /system/bin/dhcpcd -aABKL
        class main
        disabled
        oneshot
    
    service iprenew_wlan0 /system/bin/dhcpcd -n
        class main
        disabled
        oneshot
    
    service iprenew_p2p /system/bin/dhcpcd -n
        class main
        disabled
        oneshot
    
    service hciattach /system/bin/brcm_patchram_plus --enable_hci --enable_lpm \
        --baudrate 3000000 --patchram /etc/firmware/bcm4329.hcd /dev/ttyHS0
        user bluetooth
        group bluetooth net_bt_admin
        disabled
    
    # compass/accelerometer daemon
    service akmd /system/bin/akmd
        class main
        user compass
        group compass misc input
    
    service dmagent /system/bin/dmagent -N -P19 -VSY
        socket dmagent stream 660 root radio
        user root
        group radio cache inet misc

    And init.rc:

    Code:
    service ueventd /sbin/ueventd
        class core
        critical
    
    service console /system/bin/sh
        class core
        console
        disabled
        user shell
        group log
    
    on property:ro.debuggable=1
        start console
    
    # adbd is controlled via property triggers in init.<platform>.usb.rc
    service adbd /sbin/adbd
        class core
        disabled
    
    # adbd on at boot in emulator
    on property:ro.kernel.qemu=1
        start adbd
    
    # This property trigger has added to imitiate the previous behavior of "adb root".
    # The adb gadget driver used to reset the USB bus when the adbd daemon exited,
    # and the host side adb relied on this behavior to force it to reconnect with the
    # new adbd instance after init relaunches it. So now we force the USB bus to reset
    # here when adbd sets the service.adb.root property to 1.  We also restart adbd here
    # rather than waiting for init to notice its death and restarting it so the timing
    # of USB resetting and adb restarting more closely matches the previous behavior.
    on property:service.adb.root=1
        write /sys/class/android_usb/android0/enable 0
        restart adbd
        write /sys/class/android_usb/android0/enable 1
    
    service servicemanager /system/bin/servicemanager
        class core
        user system
        group system
        critical
        onrestart restart zygote
        onrestart restart media
        onrestart restart surfaceflinger
        onrestart restart drm
    
    service vold /system/bin/vold
        class core
        socket vold stream 0660 root mount
        ioprio be 2
    
    service netd /system/bin/netd
        class main
        socket netd stream 0660 root system
        socket dnsproxyd stream 0660 root inet
    
    service debuggerd /system/bin/debuggerd
        class main
    
    service ril-daemon /system/bin/rild
        class main
        socket rild stream 660 root radio
        socket rild-debug stream 660 radio system
        user root
        group radio cache inet misc audio sdcard_rw log
    
    service surfaceflinger /system/bin/surfaceflinger
        class main
        user system
        group graphics
        onrestart restart zygote
    
    service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server
        class main
        socket zygote stream 666
        onrestart write /sys/android_power/request_state wake
        onrestart write /sys/power/state on
        onrestart restart media
        onrestart restart netd
    
    service drm /system/bin/drmserver
        class main
        user drm
        group system inet drmrpc
    
    service media /system/bin/mediaserver
        class main
        user media
        group audio camera inet net_bt net_bt_admin net_bw_acct drmrpc
        ioprio rt 4
    
    service bootanim /system/bin/bootanimation
        class main
        user graphics
        group graphics
        disabled
        oneshot
    
    service dbus /system/bin/dbus-daemon --system --nofork
        class main
        socket dbus stream 660 bluetooth bluetooth
        user bluetooth
        group bluetooth net_bt_admin
    
    service bluetoothd /system/bin/bluetoothd -n
        class main
        socket bluetooth stream 660 bluetooth bluetooth
        socket dbus_bluetooth stream 660 bluetooth bluetooth
        # init.rc does not yet support applying capabilities, so run as root and
        # let bluetoothd drop uid to bluetooth with the right linux capabilities
        group bluetooth net_bt_admin misc
        disabled
    
    service installd /system/bin/installd
        class main
        socket installd stream 600 system system
    
    service racoon /system/bin/racoon
        class main
        socket racoon stream 600 system system
        # IKE uses UDP port 500. Racoon will setuid to vpn after binding the port.
        group vpn net_admin inet
        disabled
        oneshot
    
    service mtpd /system/bin/mtpd
        class main
        socket mtpd stream 600 system system
        user vpn
        group vpn net_admin inet net_raw
        disabled
        oneshot
    
    service keystore /system/bin/keystore /data/misc/keystore
        class main
        user keystore
        group keystore
        socket keystore stream 666
    
    service dumpstate /system/bin/dumpstate -s
        class main
        socket dumpstate stream 0660 shell log
        disabled
        oneshot