Kernel & recovery packing - Galaxy S II Q&A, Help & Troubleshooting

Hello,
I would like to understand a bit more about samsung partitioning scheme.
In particular I would like to know how kernel image and recovery (cwm) are packed togheter.
Suppose I cross compile my custom kernel image, then how can I add cwm to it ?
Thank you a lot !
Sent from my GT-I9100 using xda app-developers app

Well, despite I'm still interested in this question, maybe I can reformulate it more generally..
Can someone please tell me about the "theory" and provide me information about image format?
I can try to find out how to produce such image in practice by myself if someone could kindly point me to some documentation...
Thanks you
andreamrl said:
Hello,
I would like to understand a bit more about samsung partitioning scheme.
In particular I would like to know how kernel image and recovery (cwm) are packed togheter.
Suppose I cross compile my custom kernel image, then how can I add cwm to it ?
Thank you a lot !
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse

Related

Is there a way to switch between cyangenmod and a custom stock rom?

Hi
I was wondering if theres a way to switch between cyangen and a stock rom, i want to try out cyangen but it doesnt seem to have enough of the features i regularly use but at the same time i would like to use it for roms only so i can use my ps3 controller with it.
- Going to another ROM from CM7?
You can go back and forth freely between CM7 and other ROMs via ROM Manager or ClockworkMod recovery as the file systems are the same and nandroid backup/restore works to go between ROMs.
That's what it says in the first post of cyanogenmod rom
Sp1tfire said:
- Going to another ROM from CM7?
You can go back and forth freely between CM7 and other ROMs via ROM Manager or ClockworkMod recovery as the file systems are the same and nandroid backup/restore works to go between ROMs.
That's what it says in the first post of cyanogenmod rom
Click to expand...
Click to collapse
I know you can do a nandroid backup but i was thinking more along the lines of running it off the sd card or somehow partitioning the system partition so you have 2 of them there. If i did the nandroid way, i would have to keep a large portion reserved for the backup and i would have to do it every time i wanted to play a game which would ruin the life of the flash memory and it would be a pain generally. I saw on All About Android there was an app called boot manager but i dont know if that will work on the SGS II
arj154 said:
I know you can do a nandroid backup but i was thinking more along the lines of running it off the sd card or somehow partitioning the system partition so you have 2 of them there. If i did the nandroid way, i would have to keep a large portion reserved for the backup and i would have to do it every time i wanted to play a game which would ruin the life of the flash memory and it would be a pain generally. I saw on All About Android there was an app called boot manager but i dont know if that will work on the SGS II
Click to expand...
Click to collapse
There is some experimentation with that at the moment, apparently it kinda works, i know there is a thread about it.
Search for boot manager sgs2 or sgs2 dual boot and it should be there.
Sent from my GT-I9100 using XDA Premium App
veyka said:
There is some experimentation with that at the moment, apparently it kinda works, i know there is a thread about it.
Search for boot manager sgs2 or sgs2 dual boot and it should be there.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
did u post on that thread? might make it easier to find
arj154 said:
did u post on that thread? might make it easier to find
Click to expand...
Click to collapse
Think the thread is in themes and apps section, just to narrow it down. Look for multiboot as search term.
Sent from my GT-I9100 using XDA Premium App
arj154 said:
did u post on that thread? might make it easier to find
Click to expand...
Click to collapse
Nope
I just tried googleing but no luck, i know there is a thread in the app section somewhere, i remember it.
Sent from my GT-I9100 using XDA Premium App
stoney73 said:
Think the thread is in themes and apps section, just to narrow it down. Look for multiboot as search term.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
thanks found it instantly with that info, Looks like nobody properly tried to get it working and its a paid app so i dont really wanna buy it and find out it doesnt work... Although i guess everyone is in the same boat... I'll see what people do.

How to Change Kernel?

Hello,
i know that the boot img contains the kernel.. but how can i now change somthing inside?
ROMS I open with winrar and then change everything I want.
Does it work a different way at Kernel?
Thanks in advance.
spartanier7 said:
Hello,
i know that the boot img contains the kernel.. but how can i now change somthing inside?
ROMS I open with winrar and then change everything I want.
Does it work a different way at Kernel?
Thanks in advance.
Click to expand...
Click to collapse
No, changing the kernel involves unpacking the boot.img and editing the RAM disk. I'd recommend this guide for doing this on Windows:
forum.xda-developers.com/showthread.php?t=1630130
Sent from my SCH-I535 using xda premium
i think you will get the result easier if u just take the certain kernel and flash it afterwards

Stock ROM modification.. Help please!!!!

Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium
kagouro said:
Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
explain more
Help Building a CUSTOM(from STOCK ROM)
Newbie here---
- I have downloaded the HTC stock RUU for my device.
- I used Android Kitchen cygwin to extract the files, setup the working folder.
- Added root permissions,BusyBox
- Built the rom from working folder.
Wanted to test whether this works or not... But Phone Got stuck on HTC logo .. Not even BOOTANIMATION.
What did i miss or DO wrong here??
Where in these steps worked flawlessly when i took a custom rom? What else should be done here?? Help would be Appreciated!!!
Learn More About Kitchen. Add Root, Busybox, Put apk files in System/aps etc. What do you want to do?
cheqolada said:
Learn More About Kitchen. Add Root, Busybox, Put apk files in System/aps etc. What do you want to do?
Click to expand...
Click to collapse
I'm Sorry, The ROM i built from the working folder did not boot. My question was what went wrong?
kagouro said:
Hello,
I want to make a custom ROM based on a stock i9001 ROM. However when I extracted the tar file there were IMG and ext4 files. I know how to make a rom via cygwin when i have: 1) system folder
2) META-INF folder
And 3) boot.img
I don't know what to do to the stock ROM
(.tar) to be like this
*** sorry for my bad english
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Maybe this is what you search:
http://forum.xda-developers.com/showthread.php?t=1976412
yashwantpiduru said:
I'm Sorry, The ROM i built from the working folder did not boot. My question was what went wrong?
Click to expand...
Click to collapse
My Answer is for kagouro - Becouse i Don't see your post when I write.
If Your Phone is dedected in adb you can use logcat (adb logcat in windows cmd) if phone don't dedected in adb - flash recovery via fastboot, join in recovery , instal working rom and found bad files in rom (try add modyfication singly - first root, second busybox etc - in this metod you can see whad mod don't work - probably stupid method but work :cyclops
yashwantpiduru said:
Newbie here---
- I have downloaded the HTC stock RUU for my device.
- I used Android Kitchen cygwin to extract the files, setup the working folder.
- Added root permissions,BusyBox
- Built the rom from working folder.
Wanted to test whether this works or not... But Phone Got stuck on HTC logo .. Not even BOOTANIMATION.
What did i miss or DO wrong here??
Where in these steps worked flawlessly when i took a custom rom? What else should be done here?? Help would be Appreciated!!!
Click to expand...
Click to collapse
Kitchen will replace certain necessary parts of your ROM if it isn't compatible with the kitchen, it puts them back when you compile. When you compiled your ROM did you take the guided option? Also, and probably the first thing I should have asked, is your phone compatible with kitchen?
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
Kitchen will replace certain necessary parts of your ROM if it isn't compatible with the kitchen, it puts them back when you compile. When you compiled your ROM did you take the guided option? Also, and probably the first thing I should have asked, is your phone compatible with kitchen?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
My phone is compatible with the kitchen.
Yeah I took the guided step! Still no luck
sent from my oc'd incS
yashwantpiduru said:
My phone is compatible with the kitchen.
Yeah I took the guided step! Still no luck
sent from my oc'd incS
Click to expand...
Click to collapse
OK, just for giggles try this, take the meta-inf folder from a rom you know works and using 7zip replace the one in your rom. Let me know if that helped at all:beer:
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
OK, just for giggles try this, take the meta-inf folder from a rom you know works and using 7zip replace the one in your rom. Let me know if that helped at all:beer:
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Sure! its late! I will try and let you know asap!
P.S: actually I tried this as well adding aroma installer to the rom! That had some ext3 error ! Dont have a clue what's that?
sent from my oc'd incS
yashwantpiduru said:
Sure! its late! I will try and let you know asap!
P.S: actually I tried this as well adding aroma installer to the rom! That had some ext3 error ! Dont have a clue what's that?
sent from my oc'd incS
Click to expand...
Click to collapse
Ext3 is a mount point, I'm not sure what it would be specific to your device, but it tells me there's an error in your updater script
Sent from my SPH-D710 using xda premium
Stryke_the_Orc said:
Ext3 is a mount point, I'm not sure what it would be specific to your device, but it tells me there's an error in your updater script
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Thanks for the heads up... I am gonna check the updater script.
sent from my oc'd incS

[Q]How to create a Updater-Script for 2.1stockrom(latest)

hi friends, can you teach me how to create a updater-script for stock rom(2.1) of x10 mini... thanks
PS: Im newbie on ROM BUILDING...
Renz29 said:
hi friends, can you teach me how to create a updater-script for stock rom(2.1) of x10 mini... thanks
PS: Im newbie on ROM BUILDING...
Click to expand...
Click to collapse
I think you can use the same commands as on newer kernels, because xrecovery supports update-script as well as the newer formatting known as our common updater-script.
Basicly, all you need to know is the 'mount' command, the 'package_extract' command, the 'symlink' command , the 'ui_print' command and the 'set_perm' command.
PS.: You can always ask me with that sort of question, if you want .
Kilroy. said:
I think you can use the same commands as on newer kernels, because xrecovery supports update-script as well as the newer formatting known as our common updater-script.
Basicly, all you need to know is the 'mount' command, the 'package_extract' command, the 'symlink' command , the 'ui_print' command and the 'set_perm' command.
PS.: You can always ask me with that sort of question, if you want .
Click to expand...
Click to collapse
hi bro, what script i will create, amend(update) or edify(updater)???
Renz29 said:
hi bro, what script i will create, amend(update) or edify(updater)???
Click to expand...
Click to collapse
You using dxixdas droid-kitchen (just asking)?
With xrecovery, it really doesn't matter, because it supports both formats. Personally, I think the edify formatting is easier to write, and it supports more recovery versions. The amend formatting only supports older recovery versions, it won't work on newer ones (at the moment, cwm 5.X is the newest recovery for our device, I think), and it is more difficult to write.
Shall I maybe release a complete guide in the dev section(s)?
Sent from my U20i using xda app-developers app
Kilroy. said:
You using dxixdas droid-kitchen (just asking)?
With xrecovery, it really doesn't matter, because it supports both formats. Personally, I think the edify formatting is easier to write, and it supports more recovery versions. The amend formatting only supports older recovery versions, it won't work on newer ones (at the moment, cwm 5.X is the newest recovery for our device, I think), and it is more difficult to write.
Shall I maybe release a complete guide in the dev section(s)?
Sent from my U20i using xda app-developers app
Click to expand...
Click to collapse
no im not using, im using the manual way...
thanks for info..

[SHARE][APP] [FREE]FLASHIFY a must need app for our device

Hi There I've Found a Application Named "FLASHIFY" Which'll Be Very UseFull For Our Device..So I'm Sharing It here..
So This Application is for Flashing Kernels,Recoveries,and Flashing Zips Without a Computer..& Also This App Has the Capability of Backing up Recoveries & Kernels and have the capabilty of Restoring them with single click..
So You May Have a Question Why This App While Several Apps Of This Kind is Already Avail In the Market..!!
The Ans is I've Found This App as a Unique One. And the Important Thing is It Works 100% With our Little Device...No Softbricks And all It is Tested by me..
INSTRUCTIONS FOR FLASHING..
ROOT IS MUST
Just Grab The .IMG file of Either Boot[Kernel] or Recovery & just flash it &Reboot..Flashing Done
I'm Just Sharing The App..Entire Credit Goes For The developer..
For The App See the Attachment..
HAPPY FLASHING:good:
sambathpkr said:
Hi There I've Found a Application Named "FLASHIFY" Which'll Be Very UseFull For Our Device..So I'm Sharing It here..
So This Application is for Flashing Kernels,Recoveries,and Flashing Zips Without a Computer..& Also This App Has the Capability of Backing up Recoveries & Kernels and have the capabilty of Restoring them with single click..
So You May Have a Question Why This App While Several Apps Of This Kind is Already Avail In the Market..!!
The Ans is I've Found This App as a Unique One. And the Important Thing is It Works 100% With our Little Device...No Softbricks And all It is Tested by me..
INSTRUCTIONS FOR FLASHING..
ROOT IS MUST
Just Grab The .IMG file of Either Boot[Kernel] or Recovery & just flash it &Reboot..Flashing Done
I'm Just Sharing The App..Entire Credit Goes For The developer..
For The App See the Attachment..
HAPPY FLASHING:good:
Click to expand...
Click to collapse
Thanks for sharing....
Hi... thankz for d app.. has anyone else tried it?
Sent from my GT-S5282 using xda app-developers app
Thanks
Sent from my GT-S5282 using Tapatalk
@sambathpkr have u try it on galaxy star to flash kernel ?
cleverior.ipul said:
@sambathpkr have u try it on galaxy star to flash kernel ?
Click to expand...
Click to collapse
Yea... Many people had flashed kernel... by using this app.
Sent from my Micromax A67 using Tapatalk
insomaniacdev said:
Yea... Many people had flashed kernel... by using this app.
Sent from my Micromax A67 using Tapatalk
Click to expand...
Click to collapse
ok
hello
sambathpkr said:
Hi There I've Found a Application Named "FLASHIFY" Which'll Be Very UseFull For Our Device..So I'm Sharing It here..
So This Application is for Flashing Kernels,Recoveries,and Flashing Zips Without a Computer..& Also This App Has the Capability of Backing up Recoveries & Kernels and have the capabilty of Restoring them with single click..
So You May Have a Question Why This App While Several Apps Of This Kind is Already Avail In the Market..!!
The Ans is I've Found This App as a Unique One. And the Important Thing is It Works 100% With our Little Device...No Softbricks And all It is Tested by me..
INSTRUCTIONS FOR FLASHING..
ROOT IS MUST
Just Grab The .IMG file of Either Boot[Kernel] or Recovery & just flash it &Reboot..Flashing Done
I'm Just Sharing The App..Entire Credit Goes For The developer..
For The App See the Attachment..
HAPPY FLASHING:good:
Click to expand...
Click to collapse
is this working for gts 7392?
using it for a long time.
Dark Knight Begins said:
using it for a long time.
Click to expand...
Click to collapse
New version not working but old works why?
Judge Josef said:
New version not working but old works why?
Click to expand...
Click to collapse
coz of our *** phone.
Zenfone 5 (kitkat 4.4.2)
Do you have any version that works for Asus Zenfone 5 with KitKat 4.4.2?

Categories

Resources