is there any way to change the kernel on nand based roms ,or we ned recovery
i have test to change with MDJ S8.0 but no boot after (kernel error message in red)
when you try to change the .ko files in system/lib/modules and change the Zimage (with root explorer) is it not good...i think the Zimage change for this "nand" version
but if you look on cyanogenMod you can see it's oc ....peraps the files on the cyanogenMod are good for other Nand rom (i use the gauner1986 hd-fi nand 0.2 for the moment) if one is on a cyanogenMod nand rom i can test if he send me the files (Zimage (in system) and the .ko files in system/lib/modules)
Related
Hello,
wich are the components from an android on a HTC HD2.
There are different types like Kernel, Moduls, etc...
But where can I find it and understand how they work together.
What I found:
zImage includes the Kernel for the complete system
startup.txt includes the parameter how to start the system
CLRCAD.EXE is used for the sound in android
HaRet.exe is used to start/boot the android
Is this correct? What I can't assign is:
the ROM on which the release based - can I see the files on my SD or is this included in other files?
the modules like WiFi and so on (maybe here /system/lib/modules)?
The next questions would be:
Could I use a new kernel with an existing system (Only with changing the existing zImage-File and unsing a modified startup.txt)?
Could I update seperate moduls without install new system? (new version for WiFi or GPS or else)
The kernel is the core of any linux based os, some base drivers are included in kernel and other linkes as modules, if you install a new kernel that don't need any external module you can simple copy zImage, if new kernel need new modules you have to copy into /system/lib/modules directory. Modules are related to kernel you cannot update modules without apdate kernel.
ok so im not a really noob to xda but i have been looking for 3 days on a clear how to update a new kernal... i just cant find it im not sure if im wording it wrong or what please help you will be my internet hero and my mind will stop going insane...
thanks
Is this for hd2? If it is then all u do is find the kernal u want and replace with the old one. What build are u using by the way.
Read this:
http://htc-linux.org/wiki/index.php?title=Leo/UpdateKernel#Installing_latest_Linux_kernel_image_.28zImage.29
All you need to do is copy in the zImage and .ko files. The .ko files go in the "modules" folder, a subdirectory of "root."
Most of the kernels will come with following files :
zImage - The Kernel
bcm4329.ko - Wireless Module
tun.ko - Networking Module
yaffs.ko - File System (Optional at this time)
The way I apply the kernel is shut down the phone and use card reader and attach to my laptop. Assuming your build is under SDCARD\Android, files are copied to following locations :
zImage -> Android
*.ko -> Android\root\system\lib\modules
Anything to do with the lights modules goes to Android\root\system\lib\hw
Anything to do with RIL (like libril*) goes to Android\root\system\lib
Create the \root\system\lib\* directories if they dont exist, like for Sense builds. Now just back normally.
Hope it helps
v-b-n said:
The way I apply the kernel is shut down the phone and use card reader and attach to my laptop.
Click to expand...
Click to collapse
Is it also possible to update kernel without external card reader, by connecting HD2 to the PC (USB) and replacing files while in Windows Mobile HD mode?
THANKS!
What if a certain developer updates his android build and version, do I just copy the new stuff on the SD card, overwrite, and keep the Image iso file so I dont lose my settings ?
Do any of the above and finally to verify that a kernel is installed start Terminal Emulator (or any available terminal program) and enter:
uname -r
Should give you the kernel version.
Hmmm usually, what I do is either connecting the phone in USB in Windows Mobile mode, or power off and use a micro-SD card reader. Then:
- BACKUP the DATA.IMG to desktop or whatever
- Delete the root directory in your Android folder if there is one
- Delete all the .something directories (temp dir created by android)
- Copy the content of the kernel in the Android dir : Haret (emulator), initrd.gz (boot logo), zImage (drivers/kernel)
>Ignore the dev folder in hastarin build for example
>DO COPY the "root" folder (of hastarin 7.6 for example) to the android folder : HARET will update the android OS "suppletive drivers parts" without any need to enter commands or else (what i've been told)
Done
I am just seeking for a CLK ROM based on Android 2.2, do you have a suggestion? thanks in advance.
pda_pbpbpb said:
I am just seeking for a CLK ROM based on Android 2.2, do you have a suggestion? thanks in advance.
Click to expand...
Click to collapse
cLK weren't popular on Froyo days therefore I don't think you will find one...
However you can alway make a MAGLDR ROM cLK compatible.
A fast solution is this:
Find a Froyo build you like
Download the cLK patch from NexusHD2 thread and extract only the files that are missing and import them to the CWM zip.
Extract the boot folder from Froyo CWM zip
Now lets start.
Flash the edited CWM zip (which includes the PPP files). Your system will not be able to start yet.
now you need to flash the zImage and initrd.gz
browse in cmd to the boot folder you extracted earlier and by using fastboot command excecute:
fastboot erase boot
fastboot -c "" -b 0x11800000 flash:raw boot zImage initrd.gz
Now you can start your build...
With newer wrapper you don't need to modify initrd.
I was using stock rom with stock kernel ( froyo 2.2 - DDJP4 ). I recently flashed fugumod 2.4 beta 3 standard edition kernel with odin. All gone well , now it is saying fugumod kernel in about phone. Though i kept fs.covert with correct values in /sdcard/android/data/fugumod/ , filesystem conversion did not happen. I tried rebooting phone , but it didn't worked. Please help me to convert filesystems , as i need them to install data2sd. Also i am unable to have CWM recovery , please help me for both issues.
Try G3Mod kernel and then install G3Mod app. You can change filesystems eaisily. And also enable data2sd eaisily.
open a new text file and rename it to "fs.convert" (For eg : file.txt => fs.convert )
Inside that file specify the partition,and along with it the filesystem u want to convert it to :
Eg: stl 7 ext4 stl 6 ext 4
After that place the file in the Android\data\fugumod folder on ur sdcard and then restart
Hello,
Can someone tell if it's wise to upgrade my Tytung R13 Kernel to R14 or Dorimanx kernel?
I like to have a better battery life.
How do I have to upgrade to a "better" Kernel without losing all my apps and settings?
Hope someone can provide me some answers.
Greetings Matthieu.
Put the Dorimax kernel zip file in the root of your SD.
switch your phone off
switch it on again holding down the power button until the menu comes up
select install zip from SD
navigate to the Dorimax zip and install that.
then reboot your phone!
(if you're using NAND Android!)
I use r14 with Tytung's Gingerbread ROM. Tried several earlier versions of Dorimax's kernel and had terrible luck with them. Lost app linkages mainly and Titanium Backup even though I was using the correct zip file created by a forum user on Tytung's thread. Going to the hidden phone menu I switched my phone to use GSM only and this reduced the battery drain from WCDMA preferred which is the default.
What ROM do you use? The original Tytung kernel thread and included file is for Tytung's ROM. For compatibility, somebody has suggested to replace the initrd.gz file with the one in your ROM before flashing.
You can try Tytung 14. It is good and stable. If you like to do some adventure and something exciting but a little dangerous, try Dorimanx. Dorimanx is a crazy developer. The speed of kernel and ROM updates is high. I will recommend to try Dorimanx kernel v3.3 and 4.1. Both of them work on my Typhoon ROM.
Hello,
Thanks for the answers. I use the NexusHD2 Gingerbread V3.2a rom with Tytungs R13 kernel.
I read something about the initrd.gz file. Do I have to do something with that file before upgrading to Tytungs R14 or is there a complete zipfile and can I install it just as mentioned in the second post without losing anything? Is the batterylife better with R14 or Dorimanx 4.1 instead of R13?
I am just a beginner and want to extend the usage of my HD2.
Thanks.
Greetings Matthieu.
Go to the kernel thread by Tytung http://forum.xda-developers.com/showthread.php?t=1258110. The kernel is just all you need.
The ROM you use is his work, too. Nothing have to be changed before flashing. Just do it. Have fun.
I am not sure if battery life if better in R14. You can try it. Flashing the kernel you will not lose anything. If you want to do some cleansing work, just wipe cache, Dalvik cache (in advanced setting), and fix permission. Do not wipe system/factory reset.
Thanks!! I hit the thanksbutton for you...
Is it also possible to just put a dorimanx 4.1 zipfile on my sd card and install it without doing extra actions (like installing extra files)? I am a noob with this so....
Greetings Matthieu.
Yes, in Dorimanx v4.1 the initrd.gz files from CM/MIUI/ICS are incl. in the kernel. While flashing you can choose your system. Though the file you are looking for, initrd.gz, is located in your ROM's .ZIP. just open it en you will find the file under /boot, extract initrd.gz en extract the Dorimanx .ZIP and place initrd.gz in the initrd-custom directrory. Last but not least you need to select all the exctracted files from the Dorimanx .zip (incl the initrd-custom folder with your custom initrd.gz) and make a new .ZIP!
Correct me if i'm wrong!? =P
can I flash Dorimanx kernal to sense roms?