[Q] Adding CWM to ramdisk? - Xperia Play Q&A, Help & Troubleshooting

Sorry about all the question threads I've been making lately just trying to learn...so I made CM10 for my r800x and it was working on my phone with turbo kernel but now I want to start seeing how the kernel works but when I put the boot.img that compiled with my ROM it doesn't have CWM. Can anyone tell me how to add CWM to the ramdisk or point me in the direction? I've searched for a while and can't seem to find anywhere that tells you how, only thing I can find how to do is compile the recovery.img

Related

[REQUEST] Need a kernel update.zip converted to a boot.img

I am in a bit of a pickle. I'm one of the unfortunate souls who's brand new Evo doesn't take kindly to flashing. I am rooted and running sprintlovers Rom, but would like to try some overclock goodness, not to mention having the framerate unlocked. My thought is that, though I can't flash anything from recovery (when you try to flash anything, it just bootloops right back into recovery when you restart), I may be able to flash an OC'd kernel through fastboot. I looked into how to do this myself, but it still seems a bit over my head. Is there a kind soul out there who would make me a boot.img out of either or both of these???
netarchy-toastmod-4.1.9.1-cfs-NoHAVS-universal
netarchy-toastmod-4.2.1-cfs-bfq-havs-less-smartass-universal (Less Aggressive Undervolting)
Thanks a lot for your help!!!!!
Richard
you can't flash anything from recovery?
Put it on your PC, open up the .zip and you may find a little surprise in there...
xHausx said:
you can't flash anything from recovery?
Click to expand...
Click to collapse
Nope. I have S-off, I am running sprintlovers and have root, but when I boot to recovery, flash something, and then reboot.....all I get are bootloops. Yesterday, I opened up logcat just before booting. Here us the one and only log entry:
Code:
C:\A>adb logcat
- waiting for device -
link_image[1995]: failed to link /system/bin/sh
CANNOT LINK EXECUTABLE
Igotsanevo4g said:
Put it on your PC, open up the .zip and you may find a little surprise in there...
Click to expand...
Click to collapse
Lol, I may be new to the evo, but I'm not a total n00b. That was the first thing I checked. There is no flashable boot.img file in the kernel folder. Now, maybe one of the files in that folder just needs to be renamed, I'll admit my ignorance right upfront. I did do research before I made this thread, but when they started talking hex editing (of which I've only done a little) and running prl scripts, I knew I was getting over my head.
EDIT: BTW, I have tried both clockwork and Amon-Ra recoveries. Both have the same basic logcat readout, just a slight variation in syntax.
Afternoon bump
tejasrichard said:
Afternoon bump
Click to expand...
Click to collapse
if its the new evo u cant flash a kernel or any rom that isnt based on the latest OTA's. Its because they have a few different drivers and the kernels dont support them yet so thats why u cant flash anything really. so just sit tight with a rom like sprint lovers or Vaelpak and you should be good for now
Use the Android kitchen in the chef's forums. It will inject that kernel into whatever boot.img you want real fast
May be a dumb reply but did you wipe and clear cache?
You can strip the zimage file out of the .zip and push it to the phone using adb...

[Q] S: Stock Kernel Desire Gingerbread

Hi.
Since I (idiot that I am^^) installed another kernel to my "supernova" Rom on my Desire, I can't overclock it anymore with SetCPU.
So I'd like to reinstall the stock kernel but I can't find a zip anywhere.. Anyone can help?
Try the kernels from the downloads section of the homepage of the rom...
Sorry, seems that I cannot yet post full urls...
supernova.
droidzone.in
/?page_id=24
the problem is, that there are only "non Overclocked" Kernels on this page. No matter which of them I install, i can't choose an overclocked setting in setcpu (i could do so after installing the rom)
EDIT: THats the one that is in the rom itself: Kernel: O2.6.35.10-g3f43272 based [v06-snq-is-still-#01]- snq kernel based on [email protected] #1
I really dont know what of this line is the "type" of kernel i'm looking for ^^
Maybe you could flash the ROM again to get the original kernel, shouldn't delete anything on the phone.
Like this i would screw up the "clean" install I have^^. I think I'm going to install ALL new after a wipe .)
Just download the Rom zip file again. It contains a boot.img which you can just flash using fastboot if you are s-off or using recovery if you know how to make the zip file.
You could also just flash the Rom, if you haven't made changes to the system, it should not change anything else than the kernel
I wiped everything and flashed the rom again.
But in case i need to do it again^^:
Do I need to make a "special" Zip File? Does it need to contain anything but the boot.img?
I know how to zip files / folders with windows, just want to know if there is anything special?

[Q] Pulling kernels from roms?

As the title says Can you pull a kernel from a ROM and flash the kernel to another ROM?
i ask because the current ROM im on..well my phone does not like the kernel i get total crap battery life. i Narrowed it down to being the kernel or the battery the batteries are fine checked em both twice they work fine and dandy.
im sure its the kernel as the other ROM i was on i got PHENOMINAL battery life as in my phone lasted a good 2 or 3 days on a single charge. and with the current kernel im on i get 3-9 hours max . the ROMS are virtually the same both jellybean both running same apps same cpu govenor same cpu clocks
SO please someone help me out XD
[OR if you can point me to where i can get this kernel "2.6.38.8-evervolv-acies-ics+" would save me loads of trouble]
Just look for the zImage. My Rom has a folder called 'kernel' inside of the zip. Inside that is a file called zImage. Once you get it out, just use flash image GUI to flash it. Not sure if your old Rom had a folder called kernel
Sent from my PC36100 using xda app-developers app
You could use dsixda's kitchen to extracted the kernel zImage.
Sieze said:
As the title says Can you pull a kernel from a ROM and flash the kernel to another ROM?
i ask because the current ROM im on..well my phone does not like the kernel i get total crap battery life. i Narrowed it down to being the kernel or the battery the batteries are fine checked em both twice they work fine and dandy.
im sure its the kernel as the other ROM i was on i got PHENOMINAL battery life as in my phone lasted a good 2 or 3 days on a single charge. and with the current kernel im on i get 3-9 hours max . the ROMS are virtually the same both jellybean both running same apps same cpu govenor same cpu clocks
SO please someone help me out XD
[OR if you can point me to where i can get this kernel "2.6.38.8-evervolv-acies-ics+" would save me loads of trouble]
Click to expand...
Click to collapse
Like Evil said,use dsixda's kitchen to extract the kernel from the rom,grab only the zimage and the modules folder from the rom,its in system/lib.
Old rom not kernel pull..able :<
no sign of a kernel in the zip think it may be in boot img
cant open the boot img so no idea whats in it other than boot related things
Sieze said:
no sign of a kernel in the zip think it may be in boot img
cant open the boot img so no idea whats in it other than boot related things
Click to expand...
Click to collapse
The kernel zimage is contained within the boot.img
Like Diablo and others said use dsixdas kitchen.
Set up a working folder with the ROM you want the kernel from.
Use advanced options then to extract the boot image. then you can get to the zimage. If you want to replace it then do so and build the boot.img again
Robobob1221 said:
Use advanced options then to extract the boot image. then you can get to the zimage. If you want to replace it then do so and build the boot.img again
Click to expand...
Click to collapse
ive tried but im very un familiar messing with ROM's oi just flash em... i gave the android kitchen a spin on my linux machine and got completely lost. havnt touched linux in a long time so aside from being vaguely unfamiliar. i have no clue wtf im doing. so i am not touching anything tell i get a better understanding.
If you're on Linux use Tommy Tomato's android utility very user friendly
An enviousOG
Sieze said:
ive tried but im very un familiar messing with ROM's oi just flash em... i gave the android kitchen a spin on my linux machine and got completely lost. havnt touched linux in a long time so aside from being vaguely unfamiliar. i have no clue wtf im doing. so i am not touching anything tell i get a better understanding.
Click to expand...
Click to collapse
If your having trouble understanding things,or wondering what they are,go here and read up on my thread,it will give you the basic knowledge you need to work with android.

[Q] Kernals and Roms

I'm looking to root my HTC One X but I'm a bit confused by Kernals and Roms
I'm aware that a Rom is essentially the Android distro that the Phone will run of such as Cyanogen Mod or Viper, however I don't really understand the use of a Kernal and what it's function is.
Also How would I go about flashing Kernals and Roms via Clockworkmod Recovery?
Thanks in advance for the help
(it's a lot more complicated than flashing with the Desire)
This may help
OKay lemme see how much i can explain though i am not very good at this.
Suppose ur phone is a car..then the rom is tthe body of the car but the kernel is the engine.
The kernel(AKA Boot.img) tells the phone what to do how to interact wid applications etc.
Now to the flashing part.When u have rooted the Phone and installed clockwork recovery u copy the ROM files to ur SD card(Extract the Boot.img of the ROM using Winzip).
Till the time ur using the stock boot.img of the ROM(Which i recommend for begineers) u just need to flsah the boot.img using fastboot and then install ROM using recovery but if u wanna use a custom Kernel then u have to flash the boot.img and the modules also.
Anything else Do let me know
Or you can go to this place
http://forum.xda-developers.com/showthread.php?t=1832891
And check things out, read a lot first so you know where to begin and understand what you have to do exactly ... and in what order
Help is always around the corner
I can't thank you two enough, the explanations are really clear and I actually understand it now!

Some help with 18160L

Hey guys
I think ive made a mistake on attempting to install a custom rom on a 18160L version. I really wanted to give the thing a boost as it was really starting to slow right down.
Ive backed up my "tee" file and replaced the tee file in the latest cyanogenmod, Shoud this enough to just start flashing ?
i installed a custom kernel containing cwm, the issue with it as it cant mount external sd also the cyanogenmod give status 7 when i attempt to flash it.
Also im attempting to adb push these files across to /emmc but after apearing to move correctly i cant find them on the device (they just dont apear)
Im kinda at a lost, as this is my first samsung device ive worked on, i releize odin is a possibility to atleast recover if things become real bad but i cant find the vaild oden file (new zealand firmware) since hotfile is down
If anyone can set me on the right track id be massively appreciative
Edit build prop to make ur phone GT-I8160 or delete assert in the updater script of CM zip
Sent from my GT-I8160L using Tapatalk
flash stock
Just flash via odin any JB european stock rom, then using temporary CwMod flash CM, after that use "tee" method.
Sould work
I have the same phone.
Runnung CM 10.1 by rox.
JoinTheRealms said:
Hey guys
I think ive made a mistake on attempting to install a custom rom on a 18160L version. I really wanted to give the thing a boost as it was really starting to slow right down.
Ive backed up my "tee" file and replaced the tee file in the latest cyanogenmod, Shoud this enough to just start flashing ?
i installed a custom kernel containing cwm, the issue with it as it cant mount external sd also the cyanogenmod give status 7 when i attempt to flash it.
Also im attempting to adb push these files across to /emmc but after apearing to move correctly i cant find them on the device (they just dont apear)
Im kinda at a lost, as this is my first samsung device ive worked on, i releize odin is a possibility to atleast recover if things become real bad but i cant find the vaild oden file (new zealand firmware) since hotfile is down
If anyone can set me on the right track id be massively appreciative
Click to expand...
Click to collapse
http://terafile.co/9562e5724385/TNZ-I8160LDOMF1-20130612151406.zip TNZ L varient JB
delete assert to fix status 7.
try copy/paste to sdcard instead
use temp cwm
teddytsen said:
http://terafile.co/9562e5724385/TNZ-I8160LDOMF1-20130612151406.zip TNZ L varient JB
delete assert to fix status 7.
try copy/paste to sdcard instead
use temp cwm
Click to expand...
Click to collapse
Sorry guys, i forgot about this thread i actually managed to get it working, although im not a 100% sure what i done that finally got it working, anyway the recipient was much happier with cm10.2 than 4.1 stock jellybean
Many thanks guys
You should try stock now with the new kernel!.
Sent from my GT-I8160 using XDA Free mobile app

Categories

Resources