[Q] Kernel Problem - Desire Q&A, Help & Troubleshooting

Hello there,
I am trying to put new kerenel in rom zip(i mean that the rom will include the kernel without flashing it[zip with rom+kernel]).
I tried to take the system/lib folder&files and put it in the zip, and when i flash the rom i get the WiFi error. how do i put new kernel in rom(zip file).
thx and sorry for my bad english :X
Edit:
I extracted the boot.img in linux ubontu but i dont know how to edit the kernel. i tried to extract the gz file but linux says: not in gz format.
what to do?

help me pls

the kernel itself shuld be a zip file

I know that but i want to change the kernel in a ready rom(zip file). I need that it will be ready to install(the rom with the new zip) how do i do this.?

help me plsss

Just take the boot.img and bcm4328.ko from the /system/lib/modules/ folder in the kernel zip and drop them into the Rom in the same folders. Simpuls

dude
thx for posting,
but how to do that?
i have only the rom boot.img and the kernel files&moduls. i dont have new boot.img. how can i create one?
thx!!!!!

tamirda said:
dude
thx for posting,
but how to do that?
i have only the rom boot.img and the kernel files&moduls. i dont have new boot.img. how can i create one?
thx!!!!!
Click to expand...
Click to collapse
Upload you boot.img & kernel files, il pack them for you
you could try dsixda kitchen if you have cygwin or a linux distro

after you do it for me can you teach me pls how do u do this?
Thx!!!!!!!!!!!!!!!!!!!!(You king!!)
i must know how to that
ty man!
download:
http://rapidshare.com/files/450368403/kernel_boot.rar
Edit:
I have already extracted the boot.img.
I tried to put the zImage in boot.img-ramdisk forder and pack it again- but the device stuck at splash screen. i tried to gunzip the kernel gz but linux says that the file not in gz format.
how do i change the kernel? pls guide me
ty

Only you have to move files included in this rar I made 4 u to rom zip you like to use the new kernel (only for sense&HD roms)
Edit: But be careful with this CFS's .28 kernels because sometimes doesn't boot

First Neo, thank you very much i will try it.
Second, how did you do it? i must know. i unpacked the boot.img. then what?
And which kernel is better CFS or BFS?
Thank you!

Unpacked the rom boot.img, renamed zImage to boot.img-kernel and repack boot.img.
All done with Kitchen of dsixda
A second option is; install kernel zip, do a nandroid, catch boot.img from sdcard nandroid (it will have a strong size), go to kitchen, unpack and repack to get the real size (because the size of boot.img extracted with nandroid is bad for people who have bad sectors in boot)
I like more CFS, is depending of tastes, but in .28 CFS doesn't work as good it should. Try all and your taste will decide.

Neo, thank you very very much!!
You and Lee helped me a lot! Thank you!!!

Related

How do I extract a kernel from a Rom ?

I tried unziping the Rom and look for the zimage but no luck. So now I'm thinking maybe its different for the evo
You'd have to unpack the boot.img. I use dsixda's ROM kitchen to do it when I need to, check his thread and third post I believe for faq's where he tells you how to extract a kernel from a ROM and repack it into your boot.img.
Thanx ill try that

[full how to] [..dev] how to create a custom rom

What you need .. ?
->Cygwin
-> DSIXda Kitchen
-> A windows/ Linux environment.
-> MagicISO
-> Base ROM --NOT CUSTOM ROM-- --AN OFFICIAL ROM--
-> 7-zip
Download official firmware .. !!
Extraction of RFS (Basic thing)​
Well, THis is the First thing you should do.
Here are the steps:
-> Download a Firmware of your choice from the above link.
-> If you Firmware is in .zip format, be sure to extract the FW to a folder.
-> In the folder, you should find a PDA file ( The file which use put in the PDA place when you flash using ODIN)
-> Install 7-Zip if you dont have it, if you have it...Proceed to next step
->Right Click on the PDA file and open the archive using 7-zip.
-> Now, you can see a file named "system.rfs" or "factoryfs.rfs" or "systemFS.rfs", just copy the file to your C:\ (YOU CAN COPY IT ANYWHERE. I am taking C:\ as my base location)
Well, THis is the First thing you should do.
Here are the steps:
-> Download a Firmware of your choice from the above link.
-> If you Firmware is in .zip format, be sure to extract the FW to a folder.
-> In the folder, you should find a PDA file ( The file which use put in the PDA place when you flash using ODIN)
-> Install 7-Zip if you dont have it, if you have it...Proceed to next step
->Right Click on the PDA file and open the archive using 7-zip.
-> Now, you can see a file named "system.rfs" or "factoryfs.rfs" or "systemFS.rfs", just copy the file to your C:\ (YOU CAN COPY IT ANYWHERE. I am taking C:\ as my base location)
Note:- PDA file = .tar
End of Step 1
reserved 1
reserved 2
reserved 3
reserved 4
reserved 5
reserved 6
reserved 7
Reserved 8! xP
there're already a tut to make a rom for sgy. we can use it for comparison http://forum.xda-developers.com/showthread.php?t=1493319
http://forum.xda-developers.com/showthread.php?t=1590330
this one is for customizing
Ha ha ha not so much reserved guys
I have posted dis thread on a request so stop bulling
Sent From my lovely FIT..... !! lOvE u Fit
kurotsugi said:
there're already a tut to make a rom for sgy. we can use it for comparison http://forum.xda-developers.com/showthread.php?t=1493319
http://forum.xda-developers.com/showthread.php?t=1590330
this one is for customizing
Click to expand...
Click to collapse
this is just basic!!
For zipalign,deodex,root,busybox etc where is that ?
Dis thread will give the tut from the scratch !
And for error in script part u may help them !
If u give permsn i may post ur name too
Sent From my lovely FIT..... !! lOvE u Fit
you can use that post for spesific info about SGY. for an instance, you mentioned about system.rfs in your 1st post. well...SGY's stock rom doesn't have that kind of file. instead, it have system.img which somehow cannot extracted by magicISO. the common method used to build the kernel is a little bit differet too. you may check sgy.creed post about build a kernel. his method is not work for SGY but you can find a proper guide created by irfanbagus on 1st page.
kurotsugi said:
you can use that post for spesific info about SGY. for an instance, you mentioned about system.rfs in your 1st post. well...SGY's stock rom doesn't have that kind of file. instead, it have system.img which somehow cannot extracted by magicISO. the common method used to build the kernel is a little bit differet too. you may check sgy.creed post about build a kernel. his method is not work for SGY but you can find a proper guide created by irfanbagus on 1st page.
Click to expand...
Click to collapse
it must be having .rfs !
Wat does rfs mean ?
File system(root) so it must be having .. While flashing firmware through odin does it downloading system.rfs ??
Sent From my lovely FIT..... !! lOvE u Fit
and magic iso can extract .img file
Sent From my lovely FIT..... !! lOvE u Fit
not every device has same structure on stock firmware. some devices have system.rfs but some of them have system.img instead. as a prove, if you use dsixda kitchen, you'll see an option to extract system files from system.img file. you may also download a sgy's stock firmware from doky78's post to verify it.
btw, before you continue I'd like to suggest to make a sgy rom by yourself. no need to make a modified one. you only need to make a flashable stock rom.
factoryfs.rfs
Avilove.Cullen said:
->Right Click on the PDA file and open the archive using 7-zip.
-> Now, you can see a file named "system.rfs" or "factoryfs.rfs" or "systemFS.rfs"
Note: PDA file = .tar
Click to expand...
Click to collapse
SGY does not have factoryfs.rfs like other Galaxys.
but magicISO works on SGY odinized stock ROM tar files, when untarred. stock ROM is odexed though. deodexing gives you some smali/baksmali error messages.
lol...this old thread. forget it, mai. this guy know nothing about rom development. most of his guide is never could be used to build a rom for sgy.
OK so now people know this thread is not very useful. just to not waste anybody's time
And I thought this was a new thread

[Q] [HELP]Custom Rom Help!!!

I created a Custom rom using dsixda kitchen and all the roms work fine until i deodex them and add su permissions the rom doesnt boot and if use the boot.img file after building the custom rom i get a Status 7 error for the tmp\boot.img file
i reffered some sites it says this is a problem with the updater-script
can someone help me out with this error
yup...the problem comes from the updater script. you need to replace the updater script with the modified one. if you need to install only the rom (without the kernel) you can find one in my post. check my sig about customizing a rom. if you want to install the kernel you need to modify the script used to install the kernel. the other way, you can install the kernel separately with faqbly or mai77's method.
SSSidGGG said:
I created a Custom rom using dsixda kitchen and all the roms work fine until i deodex them and add su permissions the rom doesnt boot and if use the boot.img file after building the custom rom i get a Status 7 error for the tmp\boot.img file
i reffered some sites it says this is a problem with the updater-script
can someone help me out with this error
Click to expand...
Click to collapse
boot.img is for kernel and you can install it after installing ur rom... and yes, wenever u deodex ur rom it will show bootloop so u can manually deodex ur rom, if u add su permissions then nothing would happen.. another solution to make deodexed rom to work could be by replacing the META-INF from another rom. u can make ur kernel work by copying the META-INF from a rom which has custom kernel in it
SOURCE:i hav tried all this
I have installed the roms without the kernel but the problem is i want it to be deodexed and if i build a rom which is deodexed without the boot.img file the phone is stuck at the samsung galaxy y boot screen
can u put up a detailed explanation on how to make custom roms and all plz i really need help
i have reffered a lot of post but the only working method was of dsixda kitchen and
the roms only boot if i just rename it and build it if i add any su or deodex the phone doesnt boot
hell_lock said:
boot.img is for kernel and you can install it after installing ur rom... and yes, wenever u deodex ur rom it will show bootloop so u can manually deodex ur rom, if u add su permissions then nothing would happen.. another solution to make deodexed rom to work could be by replacing the META-INF from another rom. u can make ur kernel work by copying the META-INF from a rom which has custom kernel in it
SOURCE:i hav tried all this
Click to expand...
Click to collapse
Thanks for the help i will try it out
and another thing can u insert the uot kitchen theme to the custom rom without acctualy having to flash it again and again from the recovery
don't forget to clean your dalvik-cache after install your rom. in most cases it can causes bootloop if the dex file isn't match with the apk file.
SSSidGGG said:
Thanks for the help i will try it out
and another thing can u insert the uot kitchen theme to the custom rom without acctualy having to flash it again and again from the recovery
Click to expand...
Click to collapse
after getting the modded files from UOT kitchen u can directly flash them... no need of reflashing the rom..
I will try that and is the only solution to get rid of the bootloop caysed by deodexing
hell_lock said:
after getting the modded files from UOT kitchen u can directly flash them... no need of reflashing the rom..
Click to expand...
Click to collapse
no i meant getting the uot theme into the custom rom
like if i flash my rom the theme automatically gets flashed kind of that
SSSidGGG said:
no i meant getting the uot theme into the custom rom
like if i flash my rom the theme automatically gets flashed kind of that
Click to expand...
Click to collapse
Open zip folder you got after modding the files after that copy those files and replace the stock files with them for
eg: moded.zip>app>xxx.apk ---copy
customrom.zip>app> ---- paste and replace the old files
tried that already i get stuck at the main flash screen
thanks anyways
SSSidGGG said:
tried that already i get stuck at the main flash screen
thanks anyways
Click to expand...
Click to collapse
Sometime not all application can deodex in my case with ultimate deodex samsung keyboard n email can deodex. But when i try with dsixda kitchen email app can deodex.
Sent from my GT-S5360
^ he is right.. some apps cant be deodexed.. try installing the rom with no special features except su... then keep adding features one by one... dont put the modded files from UOT directly before flashing the custom rom cuz sometimes they can also lead to bootloop... first check whether ur rom is booting or not and then all kind of stuffs
if you replace the theme you 'must' clean your dalvik cache. please make sure that you also have delete systemUI.odex file in /system/app.
Can someone give a real detailed explanation on how to create a fll custom including themes in the rom and how to create kernel for that particular rom
and how to fix the status 7 bug even with other custom rom's lernel i get the same status 7 error some one plz help
and also how do i deodex without getting stuck for a bootloop
check my sig. you can also visit hell_lock's post about make a rom from kitchen. the only one method to solve your error 7 problem is by using meta-inf folder from other custom rom. for deodexing method you can see chamatht's post about how to deodex system app and framework.
SSSidGGG said:
Can someone give a real detailed explanation on how to create a fll custom including themes in the rom and how to create kernel for that particular rom
and how to fix the status 7 bug even with other custom rom's lernel i get the same status 7 error some one plz help
and also how do i deodex without getting stuck for a bootloop
Click to expand...
Click to collapse
this is u need
http://forum.xda-developers.com/showthread.php?t=1590330
&
http://forum.xda-developers.com/showthread.php?t=1616501
thanks for the reply but these are the two posts fom where i actually learned creating rom and hell_lock also had this status 7 problem
so guys using meta inf from other rom should be done after building the whole rom or during the working folder step
you can find a meta-inf folder in my post you can use that instead if you only want to install the rom without the kernel.
Thanks dude but when i add the meta inf folder during zipalign there is a error and guys i got go launcher ex as the launcher but it is not the default one i get an option to choose and i remember that i deleted the launcher.apk file
And the alarm is missing in my phone after installing this rom
:thumbup:
Sent from my GT-S5360 using XDA

[Q] How to make a custom ROM for GNexus?

Hi folks.. I want make a custom rom made by me (basic) stock based, but deleting some apps or anything for have more ram. I had the S2 and I have used the dsixda kitchen for deodex, edit the update-script and compiling the flasheable zip for CWM.
Anyone knows if the dsixda kitchen is compatible? where can I find the stock ROM IMM76I (4.0.4)
Thx in advance :good:
i dont have an answer for you , but i just want to say best of luck to get something started :good:
rush_progr said:
Hi folks.. I want make a custom rom made by me (basic) stock based, but deleting some apps or anything for have more ram. I had the S2 and I have used the dsixda kitchen for deodex, edit the update-script and compiling the flasheable zip for CWM.
Anyone knows if the dsixda kitchen is compatible? where can I find the stock ROM IMM76I (4.0.4)
Thx in advance :good:
Click to expand...
Click to collapse
you can build it yourself from aosp
The format for each ROM must be one of the following:
- system.img + optional boot.img/lib.img (e.g. stock ROM or Nandroid)
- ZIP file for a custom ROM (e.g. update.zip)
- ZIP file containing *.img (e.g. stock rom.zip)
- ZIP file containing shipped ROM in SYSTEM + BOOT folder format
- Working folder made with this kitchen (e.g. WORKING_old_rom)
Click to expand...
Click to collapse
you can download the stock roms from here :
https://developers.google.com/android/nexus/images
extract the image and move system.img and boot.img to your working folder.. should work fine just like it did with your S2
gillesguinet said:
you can download the stock roms from here :
https://developers.google.com/android/nexus/images
extract the image and move system.img and boot.img to your working folder.. should work fine just like it did with your S2
Click to expand...
Click to collapse
Thx a lot man! it's usefull, now i'll try =)
Cheers!

[Q] Kernel and zImage?

Someone can teach me about the zImage..
I have a zImage and an other file (bcm4..number.. .ko) and i want to integrate it in my rom (need boot.img?) , someone can help me?
RokiRoki1997 said:
Someone can teach me about the zImage..
I have a zImage and an other file (bcm4..number.. .ko) and i want to integrate it in my rom (need boot.img?) , someone can help me?
Click to expand...
Click to collapse
You have to use dsixda kitchen to unpack the boot.img . Then replace the existing zImage with your one. Take the bcm4329.ko file into System/lib/modules and replace it.
Hope it helps
Please Hit thanks If I helped
AndroidAddiction said:
You have to use dsixda kitchen to unpack the boot.img . Then replace the existing zImage with your one. Take the bcm4329.ko file into System/lib/modules and replace it.
Hope it helps
Please Hit thanks If I helped
Click to expand...
Click to collapse
I download from HDCR kernel page the OC kernel, is a zip and into there are 2 file zImage and bcm4329.ko then i want to integrate it in my stock rom.. i can make this without the kitchen? Isn't a flashable zip so i not understand where the file are located!

Categories

Resources