[Q] Stuff via CWM-app flashable? - Galaxy Ace S5830 General

Kernels, patches, ROMs, flashable via CWM app, why not?
Hey there to all devs. I always try to flash new stuff via the CWM app, which seems to be pretty handy, because I dont have to navigate all the folders with volume keys.
But all the app says, "no zImage" found.
So I compared to the stuff I get for my Galaxy3, there is the zImage appearence.
So, why all of you releasing the non zImage method? CWM should be able to flash both, right?
Next thing, maybe I want to flash a new kernel, direkt afterwards new ROM, how to do that in CWM-app? I can only flash one thing, then it flashes it, reboots. How to let the app flash a list of patches?

Wrong section!
.................

first of all wrong section..
about answer to question zImage is only kernel image..
boot.img contains much more than zImage... you can tweak things such as what to do such as some script run at startup , root , busybox and much more..

Sry guys,
I mentioned it for kernels in first sight, so thought this would be right place...

I use a modified CWM Manager from CF-Root-S5830. I can flash an update.zip or a kernel (boot.img renamed to zImage) directly! Only a bad updater-script (wrong mount commands, wrong assert) can make it fail.

Related

[Q] kernels

I have downloaded the kernels i need to root my samsung galaxy s2 , but when i open my zip file i dont get the kernal, i get a zimage file which i cant do nothing with can any one help thanks so i can root my phone
This should be in Q&A, but you need to use ODIN to flash the .tars or .pits or .pdas or whatever-they-are
I need to learn to read actually, if you're unzipping and getting a zimage that's the kernel itself.
You'll need to flash the .zip through your Recovery (CWM)
If your wanting to update through odin download as tar file instead of a zip
This guy already got sorted out in this other thread he started.
(BTW OP, bad form posting the same question in two threads, only minutes apart. There is a rule against this...)

[26 Aug 12][ICS]CF-Root in Stock Recovery (No PC Odin) + CF-Unroot + Backup/Restore

Root with CF-Root in stock recovery + Back up your existing kernel
Full Un-CF-Root and Restore your previous kernel
No need to a PC, no Odin, no Yellow Triangle or counter
Only one file flashed in stock recovery
Credits to Chainfire: http://www.chainfire.eu/
If there is one popular root method, it is for sure the CF-Root kernel one.
So, do not miss the original CF-Root thread here: http://forum.xda-developers.com/showthread.php?t=1103399
Advantages of CF-Root kernel are:
Keep a stock based kernel
Add Root with Chainfire SuperSU
Get insecure kernel for developers (Root acces for ADB in recovery)
Get permanent CWM5 and Chainfire CWMManager application
Get customboot.sh support
Click to expand...
Click to collapse
Original releases need to be flashed in odin, so you need a PC.
After flashing in odin, you get a Yellow Triangle and increase your custom flash counter. You need a special application called Yellow Triangle to reset these.
If you end up with a bootloop after flash (this can happen if you flash the wrong kernel) or you want to change your mind, you have to look for your previous kernel to flash it back
Unrooting needs you to flash a full ROM in odin, simply flashing previous kernel will not remove root.
In this thread, I got rid of these issues, putting the CF-Root kernel in a zip that can be flashed directly as an update in stock recovery.
The CF-Root files included here will backup your existing kernel to external sdcard (Kernel_Backup.img)
Later, you can restore your Kernel_Backup.img and fully unroot using the attached CF-Unroot file
CF-Root + Backup existing kernel files:
- Download the CF-Root zip file corresponding to your Kernel.
- Put the CF-Root zip file on your External SD (needed for stock recovery).
- Boot into stock recovery (volume up+home+power), and select "apply update from external storage".
- Select the CF-Root zip file from external SD
- It will backup your current kernel to Kernel_Backup.img file on the external SD and apply CF-Root for your kernel
Download:
CF-Root-SGS2_XX_OXX_LPB-v5.2-CWM5-PROPER
CF-Root-SGS2_XX_OXA_LPS-v5.4-CWM5
CF-Root-SGS2_XW_XEN_LP7-v5.4-CWM5.zip
CF-Root-SGS2_XX_NEE_LPD-v5.5-CWM5.zip
CF-Root-SGS2_XW_OXI_LPF-v5.5-CWM5.zip
CF-Root-SGS2_XX_OXA_LPW-v5.5-CWM5.zip
CF-Root-SGS2_XW_NEE_LPG-v5.5-CWM5.zip
CF-Root-SGS2_XW_DBT_LPI-v5.5-CWM5.zip
CF-Root-SGS2_XX_OXA_LQ5-v5.6-CWM5.zip
CF-Root-SGS2_XW_NEE_LPT-v5.6-CWM5.zip
CF-Root-SGS2_XW_XEZ_LPU-v5.6-CWM5
CF-Root-SGS2_XW_NEE_LPX-v5.6-CWM5
CF-Unroot + Restores your Backup Kernel from SD Card
To completely remove CF-Root without having to flash a full ROM in odin, use the attached CF-Unroot.zip file
It will restore your Kernel_Backup.img file from external SD and remove all root files and CWM Manager application
It is unsigned as you are supposed to only use it on CF-Root Kernel when you have a Kernel_Backup.img made with previous method
FAQ / Fix for common issues
After flashing CF-Root kernel, you end up with no root access:
This is not caused by my script, but can happen even under odin when you flash many kernels
If it happens to you, just run the attached CF-Root-Fix.zip attached here. It will put superuser and cwmmanager application in /system
You used my CF-Unroot.zip file without the Kernel_Backup.img file in ext-sd
You should have read the instructions!
But do not worry, the script should now abort and nothing is done
You can use the CF-Unroot script to flash any kernel over CF-Root kernel
Just extract the zImage or boot.img file from the kernel you want to flash and rename it to Kernel_Backup.img
It can be useful to quickly try some kernels. Keep in mind that mobile odin can also directly flash zImage files.
A last one reserved for FAQ / uploads
Done
Feel free to comment
So this is the bigger part you were talking before.. nice one. I see the successful signing gave you lot of new ideas Anyway keep up the good work Phil!
Stileth said:
So this is the bigger part you were talking before.. nice one. I see the successful signing gave you lot of new ideas Anyway keep up the good work Phil!
Click to expand...
Click to collapse
No, this part is easy. Can be helpful for many people not having PC, or when you're on the road, flash a ROM and want a root...
I am looking to make CWM permanent... but this moves me to custom kernels, while all my guides were about keeping stock kernel
Also, it will need a kernel build for each kernel version, no other way till now. So people will need to rely on me to build each kernel. Not sure I have the time for such a support.
Looking to release only a few kernels maybe.
Phil3759 said:
No, this part is easy. Can be helpful for many people not having PC, or when you're on the road, flash a ROM and want a root...
I am looking to make CWM permanent... but this moves me to custom kernels, while all my guides were about keeping stock kernel
Also, it will need a kernel build for each kernel version, no other way till now. So people will need to rely on me to build each kernel. Not sure I have the time for such a support.
Looking to release only a few kernels maybe.
Click to expand...
Click to collapse
Sounds like Chainfire's CF-Root kernel job ... big foot prints
It_ler said:
Sounds like Chainfire's CF-Root kernel job ... big foot prints
Click to expand...
Click to collapse
After all it is by far the most popular root method
This way it becomes extremely noob friendly, just flash a file in stock recovery
Yes, i will resize my foot prints when back to home
Sent from my GT-I9100 using Tapatalk 2
Yeah CF-Root is most popular because it was for long the only reliable method, but since Rachmat3 came with the injection and you polished it to current state of art perfection makes it little bit obsolete Why to bother with insecure kernel (and till now with counter increase and yellow triangle [not anymore as sorted by you again ]) when you can do it in such easy and noob proof way?
Stileth said:
Yeah CF-Root is most popular because it was for long the only reliable method, but since Rachmat3 came with the injection and you polished it to current state of art perfection makes it little bit obsolete Why to bother with insecure kernel (and till now with counter increase and yellow triangle [not anymore as sorted by you again ]) when you can do it in such easy and noob proof way?
Click to expand...
Click to collapse
Insecure kernel is useful for dev purposes and also to recover phone in some circumstances
CF-Root also comes with fixed cwm and a cwm manager, useful for dev and crazy flashers.
Also, i forget to mention customboot.sh and init.d support
So, depends on each one and its needs
Sent from my GT-I9100 using Tapatalk 2
With these zip, rooting an S2 can be done at the age of 5.
Also, for the cf-unroot, you can put any zImage file, rename it to Kernel_Backup.img and it will flash your new kernel
Sent from my GT-I9100 using Tapatalk 2
ksilver89 said:
With these zip, rooting an S2 can be done at the age of 5.
Click to expand...
Click to collapse
I think 5 is really a big number
Sent from my GT-I9100
I removed the links because I am updating the scripts
I will use edify Mount command rather than temporary busybox as this method is only for our i9100, so I find it a better approach
Uploading tomorrow new files
OP updated with following changes
CF-Root files:
Temporary busybox is now extracted to /tmp instead of /sbin. This could cause later scripts with /sbin/busybox to fail
Click to expand...
Click to collapse
CF-Unroot
Added delete /system/cfroot
Previously, if you used CF-Unroot without a Kernel_Backup.img file on external sdcard, root files were deleted and you were instructed to flash the CF-Root fix file. Now, if you forget to put the Kernel_Backup.img file, script will abort and no changes are done
Click to expand...
Click to collapse
CF-Root-Fix
Now ensures that CWMManager.apk has correct permissions
Click to expand...
Click to collapse
Added to the OP the new two files from Chainfire thread here
Just update in stock recovery (see instructions in OP)
CF-Root-SGS2_XW_NEE_LPT-v5.6-CWM5.zip
CF-Root-SGS2_XW_XEZ_LPU-v5.6-CWM5.zip
Big thanks to chainfire for these updates
sorry but it's still unclear..
with your script no traingle & flash counter increase?
tuvi123 said:
sorry but it's still unclear..
with your script no traingle & flash counter increase?
Click to expand...
Click to collapse
Yes, exactly
Sent from my GT-I9100 using Tapatalk 2
My kernel version is 3.0.15-SPH-D710.FF18-CL663858 - I'm having a hard time figuring out which kernel to DL. Can anyone help?
ctroamer1 said:
My kernel version is 3.0.15-SPH-D710.FF18-CL663858 - I'm having a hard time figuring out which kernel to DL. Can anyone help?
Click to expand...
Click to collapse
Look in the Epic Touch 4G forum. Here is i9100 one
Sent from my GT-I9100 using Tapatalk 2

How to flash an image kernel to S2?

As the title state, I have search in the internet and found lots of tutorial about flashing a .tar framework to the phone.
However, the ROM that I downloaded from xda was just a .zip which contains an .img kernel.
How to flash the .img kernel to my phone then install the zip from SD card?
What do you actually want to do? If you want to root your phone, download a kernel file (there are threads about it), and flash it with Odin.
If you want to flash a rom, you have to install a .zip file through CWM, no other kind of files.
If you want to flash a kernel (and you have a rooted device), you also have to flash a .zip file through CWM.
Thanks for your reply. I know the steps of installing a new ROM. However, I used to boot the phone into flash mode and use Flashtool to flash the kernel which extension is .img. But for S2 it doesn't contain flash mode and seems I can't use flashtool to flash the kernel. If I can use Odin to flash a kernel with .img extension rather then a .tar extension? Also when I boot my S2 into download mode and connect to my computer, Odin still cannot detect the phone. If there is any "download mode" driver that I need to install or just use the normal Samsung driver ? Thanks a lot.
PS: Since the debug mode is working when I connect my phone to the computer I am sure I have installed a driver.
Donnie Sins said:
What do you actually want to do? If you want to root your phone, download a kernel file (there are threads about it), and flash it with Odin.
If you want to flash a rom, you have to install a .zip file through CWM, no other kind of files.
If you want to flash a kernel (and you have a rooted device), you also have to flash a .zip file through CWM.
Click to expand...
Click to collapse
So I assume your phone isn't rooted yet, right?
For using Odin: there are plenty of guides in the General Section, or even on google. But to actually use it, you have to install Samsung Kies first, to get the correct drivers.
After it, you can uninstall it, because otherwise Odin won't work (but that's all written in the guides).
When your phone is rooted, you can simply flash a new kernel (.zip) through CWM.

[Q] Is this the right procedure to flash kernel/ROM on Xperia U?

Hello!
Sorry if this thread looks repetitive, but I'm new on this kind of thing and just want to make sure all goes right with my Xperia U! Tomorrow will complete one week of reading, researching and learning about ROMs, flashing, kernel, recovery, etc.
Can someone please just confirm if my steps are correct?
First of all, I have just unlocked the bootloader. Tryied to root too, but got some problems (ST25a, B154 stock kernel x.x) and later found root wasn't necessary as custom kernels already comes pre-rooted.
I want to use this Stock ROM:
http://forum.xda-developers.com/xperia-u/u-development/rom-stock-jellybean-4-1-2-v6-t2284394
Wich tells me I need to flash this kernel:
http://forum.xda-developers.com/xperia-u/u-development/kernel-experimental-v12-t2326515
Here are the steps I think I have to do:
- Move both .zips (kernel and ROM) to SD card
- On PC, extract the boot.img from KERNEL .zip file
- Flash boot.img with flashtool
- Reboot in CWM recovery mode (provided by the boot.img, i guess)
- Full wipe (cache, data, dalvik-cache)
- Flash KERNEL .zip via CWM
- Flash ROM .zip via CWM
- Reboot
Is this right? I really got confused when I saw every .zip has a boot.img on it x.x
Yes,Evert step is correct...But when you boot the phone in recovery,you don't need to flash the kernel zip...You already flashed it,don't need to do it again!
ilysomma said:
Yes,Evert step is correct...But when you boot the phone in recovery,you don't need to flash the kernel zip...You already flashed it,don't need to do it again!
Click to expand...
Click to collapse
Really? I don't understand exactly what each files in that .zip do, but, boot.img ins't just a way to boot? The kernel will be installed with just that? What about the other files in that .zip? Is it for the case of already having recovery mode?
PS: sorry about my bad english
Edit: Do I have to move the .zip file to SD-card without the boot.img? Or I just leave it there?
Ok, this is it. I'll try this proccess today.

[Q] zImage. Well...what now?

Soooo....I finally managed to compile a kernel with initramfs and all, resulting in a nice zImage and few little modules here and there.
Question: How do I flash the zImage AND the modules?
I tried flashing via odin a few times but that actually never got me anywhere past the recovery (and I couldn't even mount some partitions--though that was kinda my fault).
Also something I tried:
-take zimage
-rename to boot.img
-push it into a rom zip
-flash via recovery
-????
-FAIL
-all mighty download mode
And how come that nearly every rom and kernel come as boot.img?
Is there anything special about it in comparison to zImage?
ruleh said:
Soooo....I finally managed to compile a kernel with initramfs and all, resulting in a nice zImage and few little modules here and there.
Question: How do I flash the zImage AND the modules?
I tried flashing via odin a few times but that actually never got me anywhere past the recovery (and I couldn't even mount some partitions--though that was kinda my fault).
Also something I tried:
-take zimage
-rename to boot.img
-push it into a rom zip
-flash via recovery
-????
-FAIL
-all mighty download mode
And how come that nearly every rom and kernel come as boot.img?
Is there anything special about it in comparison to zImage?
Click to expand...
Click to collapse
have you tried flashing it with heimdall or using adb tools?
It happens--goodbye for now
I tried it with adb but to be honest, after 20min or so, I had no idea what I was doing.
I didn't think of heimdall. I should try that.
BUT....today, I dropped my phone. Screen broke and now its completely useless as a phone.

Categories

Resources