Has anybody on here been able to compile/boot their own evo kernel? I have been able to
compile a kernel just fine but given the limitations of fastboot on our spl i cannot test the
image using "fastboot flash zimage zImage". I have tried packing the kernel into a boot
image then signing and flashing rom. This got me stuck at the 1st boot screen. I have also
tried to unpack and repack the stock boot image without making any edits and that fails at
the first boot screen as well. So I believe there is definately something different to the
procedure of flashing or creating boot images.
So does anybody have any advice? maybe a fix? If anyone is able to boot a custom kernel please send me a pm!
haven't had a chance to test out the kernel ... i know in flipz supersonic .6 rooted ROM a kernel is flashed in the update.zip file. not sure what kernel this is since the OTA update from .1 to .6 the boot.img didnt change, md5sum the same. i didnt compare the md5sum of the boot.img hes using to the RUU boot.img .
i know the froyo ROM on here flashes a boot.img, which i think remember reading was compiled from toast's kernel source. i'd imagine mainly with a modified init.rc ...
hope that helps a bit and gives you some motivation its possible although the two examples i've given are from toast and flipz who both appear to be ahead of the curve!
once the htc kernel source hits i plan on kernel compiling ...
Related
I seem to be having problems with ANY edited boot.img? Is there much changed in the boot.img for official magic sense ui?
Reason im asking is i can flash cyan roms,nko2 roms etc but if i try and based on sense ui it gives me a write_raw_image:BOOT error
ok if i fastboot boot boot.img it loads to the HAMI boot screen but just loops?
bonesy said:
I seem to be having problems with ANY edited boot.img? Is there much changed in the boot.img for official magic sense ui?
Reason im asking is i can flash cyan roms,nko2 roms etc but if i try and based on sense ui it gives me a write_raw_image:BOOT error
ok if i fastboot boot boot.img it loads to the HAMI boot screen but just loops?
Click to expand...
Click to collapse
well there is a good reason to release a hero kernel there should be a difference!
its even doing it with the official sense ui for magic
well there is a good reason to release a hero kernel there should be a difference!
Click to expand...
Click to collapse
So not only hero builds
The problem is the BFS Boot.img whenever i try a rom with this it fails. If i use an old boot.img from a superlight hero rom it works fine?
what are is the logcat when it loops at the hami screen??
no booting image anymore, ive managed to boot and use magicuni official sense ui with the boot.img from superlight sapphire hero rom but wifi wont work
take the wlan.ko from /system/lib/modules/ folder in the superlight sapphire hero and place it in your magic uni build in /system/lib/modules/
wifi should work
wlan.ko goes with boot.img to make wifi work
so if you just changed the boot.img in uni build your wifi wont work becuase the wrong wlan.ko is there
if that doesnt make sense ill just repackage the whole thing and put it in update.zip format for you to flash over any rom in order to use it on your phone
Thanks zarboz Its ok i realised i need the wlan.ko when i was at work so fixed it using their computer i wouldnt mind the 107meg ram hack in the dwang donut rom though working for sense on my phone?
bonesy said:
Thanks zarboz Its ok i realised i need the wlan.ko when i was at work so fixed it using their computer i wouldnt mind the 107meg ram hack in the dwang donut rom though working for sense on my phone?
Click to expand...
Click to collapse
idk i thnk the only boot.img's floating around for 32b with the ram hack are BFS patched wich are the boot.img's your having an issue with right?
that is correct looks like ill just have to use the standard launcher instead of sense and use some widget goodness
Now using reignzone with the same boot.img as before and rosie does not keep restarting on me no matter what i do!
Hi all, I have a Magic 32A (radio 3.22) and wish to compile a working Froyo kernel for it. Compilation went fine, but it won't boot (stuck at the 1st boot screen).
Basically, here were what I did:
1. downloaded android-msm-2.6.32 from AOSP.
2. make msm_defconfig, add "CONFIG_MSM_AMSS_SUPPORT_256MB_EBI1=y" to .config, then make (to compile kernel). All went fine.
3. compiled system/wlan/ti/sta_dk_4_0_4_32/wlan.ko
4. downloaded and compile all other froyo stuffs. At last, I got all necessary images.
system.img ran fine on emulator. Based on http://wiki.cyanogenmod.com/index.php?title=How_to_build_a_kernel_port_for_CM6, I used AnyKernel to recreate boot.img.
Flashed system.img (from fastboot) and signed_update.zip (from recovery). NO, it stucked on the 1st boot screen. Went back to recovery and flashed the most current CM EBI1 kernel, boot went fine.
So, it must be the KERNEL I compiled. Did I miss anything? I had been stucked on this for weeks. Thanks in advance!
I just got my new phone and have rooted it (i did have CM7 on it but im on stock atm again.)
What my problem is whenever i load any custom kernel, wi fi just breaks.
Ill go to wireless settings, click the check box, then it just says 'error'
anyone heard of this?
bringonblink said:
I just got my new phone and have rooted it (i did have CM7 on it but im on stock atm again.)
What my problem is whenever i load any custom kernel, wi fi just breaks.
Ill go to wireless settings, click the check box, then it just says 'error'
anyone heard of this?
Click to expand...
Click to collapse
When you load the kernel are you flashing the zimage manually or using a packaged update.zip that includes the wifi module for that kernel?
all im doing is using flashboot to flash the .img.
no idea how to flash it properly, could use your help
bringonblink said:
all im doing is using flashboot to flash the .img.
no idea how to flash it properly, could use your help
Click to expand...
Click to collapse
Are you building the kernel and boot image yourself or pulling them from somewhere?
I just downloaded netarchys 1.2.4 cfs, and extracted the .img and fastbooted it onto the phone.
What i think you're saying is that this is not the correct method to flash the kernel because the other folders are not being put on to the phone (hence broken wi fi)
If thats the case just need help to flash the kernel properly
bringonblink said:
I just downloaded netarchys 1.2.4 cfs, and extracted the .img and fastbooted it onto the phone.
What i think you're saying is that this is not the correct method to flash the kernel because the other folders are not being put on to the phone (hence broken wi fi)
If thats the case just need help to flash the kernel properly
Click to expand...
Click to collapse
Ah, indeed
So, that zip is meant to be applied via a custom recovery (CWM). It will flash not only the boot image, but also copy the newly build kernel modules, create a custom /etc/init.d and install busybox.
By flashing just the boot image you are missing the rebuilt modules and the custom init.d (which mounts /data with noauto_da_alloc, etc and sets windowsmgr.max_events_per_sec=72 for better scolling performance. As a result of not having the rebuilt kernel modules when the network module tries to load (bcm4329.ko) the version number won't match the kernel and it will fail to load. If you check dmesg you'll see it complaining
Flash this via a custom recovery and you should be fine (just place the entire zip on your device and then chose it from CWM).
right, thanks that clears that up.
however, i have another problem now!
Basically i flashed the netarchy kernel, realized i had no wifi, did a factory reset thinking ill get back to stock, however im stuck with this netarchy kernel AND ive lost CWM.
3G is being a pain and not downloading properly etc.
Is there any way for me to reset and just flash CM7 and Netarchy 1.2.4
im outta ideas :/ thanks for the help!
bringonblink said:
right, thanks that clears that up.
however, i have another problem now!
Basically i flashed the netarchy kernel, realized i had no wifi, did a factory reset thinking ill get back to stock, however im stuck with this netarchy kernel AND ive lost CWM.
3G is being a pain and not downloading properly etc.
Is there any way for me to reset and just flash CM7 and Netarchy 1.2.4
im outta ideas :/ thanks for the help!
Click to expand...
Click to collapse
When you reboot on a stock rom there is a script that checks recovery and if it is not stock it will reflash the stock recovery. This is an easy fix though. If you want to stay on stock you can flash CWM through fastboot, flash the SU binary and then rename/delete the script (/etc/install-recovery.sh or something like that).
If you want to just flash CM7 then just download the full zip and place it on the phone. Flash CWM through fastboot, boot into recovery and flash CM7 as desired (RC or nightlies). Then go ahead and apply the appropriate netarchy kernel - there's a separate version for CM IIRC. Make sure you do a full wipe before you flash CM7.
Ok so im downloading rom manager onto my phone, downloading CM7 on pc, then will transfer to phone (whole zip right?) then i just reboot in recovery, wipe and flash CM7, and THEN start on the kernel lol
Ok thanks ill keep ya updated really appreciate it
edit
Thanks a lot booted and rooted running CM7 and Netarchy
Is it ok to flash a different boot.img from another kernel. Let's say im running sebastian, is it ok to flash boot.img from faux? My wifi is still not turning on and im really desperate.
Yes, but typically the kernels will unpack the boot.img and repack it with their kernel while keeping the ramdisk intact. They will also flash their own matching drivers so as not to break wifi/BT.
Hello.
I currently have my pico with stock rom, with sense 3.5. and i'm tryin to flash a new rom, but every time i try to flash one from this thread ( http://forum.xda-developers.com/showthread.php?t=1754876 ) i got stuck on htc logo screen. and i cant get passed it... i've wiped everything, reflashed kernel, reflashed stock, but still cant get it to work. maybe these kernels arent for stock roms, if they're not, can you point some kernels that work on stock?
thanks in advance.
Stock rom should have stock kernel too.
Flash the gingerbread kernels.. they must work. PS: The ROM.zip already contain kernels that get installed when the zip is flashed.
Red Devil said:
Flash the gingerbread kernels.. they must work. PS: The ROM.zip already contain kernels that get installed when the zip is flashed.
Click to expand...
Click to collapse
where can i find those gingerbread kernels? so if they're inside the "rom.zip" is it possible to "extract" them to a flashable zip? only the kernel withouth the rom itself...?
Gingerbread kernels are in the Index of all kernels..
From the ROM.zip if you want to extract them then just extract the boot.img normally and also extract the modules from the zip .. in /system/lib..
In fastboot mode flash boot.img via :
Code:
fastboot flash boot boot.img
and
then via adb push the modules. I suggest you search a bit and find some answers yourself . Its easier that way cause these questions have been answered millions and millions of times. So use the search function
i've searched, and believe me when i say that i havnt found anything about this... all the kernels i go for, on the thread only talks about the kernel itself and not the roms compatible... and i've tried that method and got stuck on htc green logo... thanks for answering
these kernels work on stock rom:
1- cranium kernel
2- ateeq kernel
3- garuda's kernel
search them in the development thread I hope you'll find them.
i've tried all those kernels... one by one and never got passed the htc green logo... always get stuck there... i tried flashing trough fastboot and trough recovery... nothing works... any other suggetions?
try to flash ateeq rom then ateeq kernel..it works for me.
but i dont want to have ateeq rom, i want to stay with my stock rom, but change the kernel... only that. but thats for answering. i'm getting used to the idea that i cant be changed (the stock kernel).
thanks
Need urgent help
i had rooted my pico months back and was on different custom roms......now i want 2 get back to the stock rom which i have downloaded Odexed Stock ROM Flashable Zip (With Link2SD Support)(Revision 3)(http://forum.xda-developers.com/showpost.php?p=40385554&postcount=76) and i have flashed this rom 5 - 10 times and everytime i reboot after flashing the rom.....i am stuck on htc boot logo.....can u plssssss help