[Kernel] Hydra-kernel **UPDATE 8/20**

is 1152MHz Stable for you?

  • Yes

    Votes: 223 59.8%
  • No

    Votes: 150 40.2%

  • Total voters
    373
Search This thread

ihtfp69

Senior Member
Feb 22, 2009
1,875
809
Does it break anything? ;) This should allow us to do adb remount too, right?
 

opcode1300

Retired Recognized Developer
Jul 28, 2007
157
10
E'Arth
It 'should'..

I did get into adb/recovery and loaded the new recovery. it looks like it flashed. but on reboot...

Code:
ro.secure=1

so I am guessing my update script failed.
 

opcode1300

Retired Recognized Developer
Jul 28, 2007
157
10
E'Arth
script

Code:
assert(file_getprop("/system/build.prop", "ro.build.fingerprint") == "verizon/inc/inc/inc:2.1-update1/ERE27/161493:user/release-keys" ||
       file_getprop("/system/build.prop", "ro.build.fingerprint") == "verizon/inc/inc/inc:2.1-update1/ERE27/161494:user/release-keys");
assert(getprop("ro.product.device") == "inc" ||
       getprop("ro.build.product") == "inc");
set_progress(1.000000);
ui_print("Writing boot image...");
write_firmware_image("PACKAGE:boot.img", "boot");
set_progress(1.000000);

*edit*

looks like the update script is the issue. (p.s I miss fastboot ;) )
Code:
// write_firmware_image(file, partition)
//
//    partition is "radio" or "hboot"
//    file is not used until after updater exits
//
 
Last edited:

ihtfp69

Senior Member
Feb 22, 2009
1,875
809
Try this in recovery:

Code:
adb push ./boot.img /sdcard
Then, open a shell to your phone via 'adb shell', get root, and do the following two commands to flash your new boot image:
Code:
# cat /dev/zero > /dev/mtd/mtd2
   write: No space left on device [this is ok, you can ignore]
# flash_image boot /sdcard/boot.img
 

opcode1300

Retired Recognized Developer
Jul 28, 2007
157
10
E'Arth
Try this in recovery:

Code:
adb push ./boot.img /sdcard
Then, open a shell to your phone via 'adb shell', get root, and do the following two commands to flash your new boot image:
Code:
# cat /dev/zero > /dev/mtd/mtd2
   write: No space left on device [this is ok, you can ignore]
# flash_image boot /sdcard/boot.img

Backup..
cat /dev/mtd/mtd2 > /sdcard/mtd2.img

do we have flash_image?
 

ihtfp69

Senior Member
Feb 22, 2009
1,875
809
Yes, sorry. I took that for granted. Here is the revised instructions. I attached flash_image.

Try this in recovery:

Code:
adb push ./boot.img /sdcard
adb push ./flash_image /sdcard
Then, open a shell to your phone via 'adb shell', get root, and do the following two commands to flash your new boot image:
Code:
adb shell
$ su
# /system/bin/cat /sdcard/flash_image > /system/bin/flash_image
# /system/bin/chmod 755 /system/bin/flash_image
# /system/bin/cat /dev/mtd/mtd2 > /sdcard/mtd2.img
# /system/bin/cat /dev/zero > /dev/mtd/mtd2
   write: No space left on device [this is ok, you can ignore]
# /system/bin/flash_image boot /sdcard/boot.img
 

Attachments

  • flash_image.zip
    4.6 KB · Views: 139
Last edited:

ihtfp69

Senior Member
Feb 22, 2009
1,875
809
Tried this. Any ideas?

Code:
android-sdk-windows\tools>fastboot flash zimage boot.img
    sending 'zimage' (2272 KB)... OKAY [  0.344s]
              writing 'zimage'... INFOsignature checking...
FAILED (remote: signature verify fail)
finished. total time: 0.766s
 

DigitalDementia

Senior Member
Jun 11, 2010
366
27
So I know this doesn't have much to do with this kernel buuuut for some reason last night in SetCPU the only thing I could adjust was idle speeds updated SetCPU and have access too the full bit? Max says 998400 min 24500... hmmm? Any ideas?
 

adrynalyne

Inactive Recognized Developer
Dec 13, 2008
10,950
6,471
How do you know if the kernel is good if you cannot flash it? I compiled a kernel as well and got it installed but it stuck my phone at the HTC logo...
 

opcode1300

Retired Recognized Developer
Jul 28, 2007
157
10
E'Arth
I have never done this before but is it possible to just copy the kernel on our phone, unpack it, edit the default.prop and repack it? I don't have Linux or I would try it myself. Check out this wiki. It explains how to do it. It seems easy enough for someone who knows how to compile a kernel.

http://android-dls.com/wiki/index.p...s#Flashing_your_new_image_back_onto_the_phone

this is the process i used to unpack the ramdisk and edit the default.prop and repack the ramdisk and the new kernel