Howdy, I just tried an AOSP ROM on my gs3 and wanted to try the Bleeding Edge kernel. In case it doesn't work or I want to go back to stock, how do I go about putting the ROMs included kernel back on the phone without doing a dirty flash of the ROM?
Sent from my SPH-L710 using Tapatalk 2
You can do this (using adb) after pulling the boot.img from your current roms zip.
Code:
adb push boot.img /sdcard/boot.img
adb shell
$ su
# dd if=/sdcard/boot.img of=/dev/block/mmcblk0p7
Reboot and your old kernel will be back.
Thanks, never used adb but I can download and the commands seem pretty simple. I bet you also know how to make it into a flashable zip?
Sent from my SPH-L710 using Tapatalk 2
dante32278 said:
Thanks, never used adb but I can download and the commands seem pretty simple. I bet you also know how to make it into a flashable zip?
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
YUP
Take your rom.zip and extract ONLY the META-INF folder and boot.img
Open the "updater-script" file with a text editor and delete everything
Now type the following line, and then make sure to leave 1 line blank after it
Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p7");
<blank line here>
Then save it (make sure no extension gets added) and zip up the META-INF folder and boot.img.
The zip should look like this
Inside restoreKernel.zip
---META-INF
---boot.img
Congrats! You just made a universal kernel flasher. If you want to flash any other kernel for your device now (same android version and all that, of course), just swap out the boot.img in the zip and flash away
CNexus said:
YUP
Take your rom.zip and extract ONLY the META-INF folder and boot.img
Open the "updater-script" file with a text editor and delete everything
Now type the following line, and then make sure to leave 1 line blank after it
Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p7");
<blank line here>
Then save it (make sure no extension gets added) and zip up the META-INF folder and boot.img.
The zip should look like this
Inside restoreKernel.zip
---META-INF
---boot.img
Congrats! You just made a universal kernel flasher. If you want to flash any other kernel for your device now (same android version and all that, of course), just swap out the boot.img in the zip and flash away
Click to expand...
Click to collapse
Sent from my SPH-L710 using Tapatalk 2
dante32278 said:
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Will this process work on my Ace II ?
dimigeo1996 said:
Will this process work on my Ace II ?
Click to expand...
Click to collapse
You would need to change the partition it flashes the boot.img to (the /dev/block/mmcblk0p7 part)
But other than that, it should
Related
I have just edited the AnyKernel updater script by koush to work with eMMC devices :-D
hope ppl can make use of this
its very simple
1) grab the .tar.gz file
2) extract
3) add the zImage to the /kernel/ directory
4) add .ko modules to /system/lib/modules/ directory
5) **optional** change the boot partition location in the updater-script (not normaly needed)
6) zip up the file
7) its ready to flash in CWM
Credits
Koush for the original boot unpack / repack bin's and scripts
IEF for the stand alone dd binary
what does it do?? sorry
does it make so you can update thru your network?
Thank you! This will be useful to me.
Nice, this is exactly what we needed.
Sent from my HTC Vision
Thanks!! I can finally make an Update.zip for my kernel!
nice work.
Now any kernel devs. can easy make a update.zip
G1_enthusiast said:
what does it do?? sorry
does it make so you can update thru your network?
Click to expand...
Click to collapse
Classic...lol
Why do ppl who have no clue even post stuff like that?
Thanks Apache this will come in handy.
Sent from my HTC Vision using XDA App
any chance to rip bootimg.cfg through the zip file?
since somehow I tried to get the cfg file from the boot.img but seems the boot.img and zImage in some kernel are the same.
is there a way to extract the kernel from the latest update,or does someone already have it,thanks or will someone extract it for me,thankyou
nutpn said:
is there a way to extract the kernel from the latest update,or does someone already have it,thanks or will someone extract it for me,thankyou
Click to expand...
Click to collapse
You can extract it using 'adb shell dd' command. You need to know the mount point and there is more syntax to the command. I've attached it for you though.
kernel
Can I flash this zip
nutpn said:
Can I flash this zip
Click to expand...
Click to collapse
The simple thing to do is open the .zip and see if it looks like a flashable one (ie is there a META-INF folder)...and no it's not flashable. It's simply boot.img (zImage + RAMDISK).
i install cygwin
i type cd /boot
and when i type ./extractboot boot.img the cygwin say something about cpio acces denied, and about perl
Plese help
Sent from my GT-S5660 using Tapatalk 2
Install dsixda kitchen
And use bootimg tools
Sent from my GT-S5660 using xda app-developers app
You'll need Linux or Cygwin
redprotoman said:
You'll need Linux or Cygwin
Click to expand...
Click to collapse
Read the post...
He says : I install cygwin.
Trolol.
You do better watch out with your spam to get 10 postd
Sent from my GT-S5660 using xda app-developers app
now i'm trying with kitchen
i unpack the boot.img
but i cant re-pack it because the kitchen say "working folder not found"
Sent from my GT-S5660 using Tapatalk 2
Msilviu said:
now i'm trying with kitchen
i unpack the boot.img
but i cant re-pack it because the kitchen say "working folder not found"
Sent from my GT-S5660 using Tapatalk 2
Click to expand...
Click to collapse
use any rom.zip likecm7 and place it in .kitchen/origonal update
open cugwin - kitchen
hit 1
select the rom you pasted
hit 0 after ots dome
now hit 20 for boot img tools
press The button to extract the boot.img from the working folder
let it extract
now use the one to extract ANY boot.img
place your boot.img you want to extract into e folder bootimh123532
it gets extracted
now delete the folder BOOT-EXTRACTED and rename bootimg1223456 to BOOT-EXTRACTED
do your changes
then switch back to kitchen, and hit B to build for working folder
your boot.img is at the working folder,, copy it to were you want
thanks a lot my friend
Sent from my GT-S5660 using Tapatalk 2
DO NOT PRESS 1 - IT's a waste of time!!
Just extract your ROM onto the dsixda kitchen (using WinRAR or 7zip)
Rename the folder to WORKING_xxxx
Where xxxx is your ROM name, or you can call it whatever
Make sure inside WORKING_xxxx you have:
META-INF
system
boot.img
Then hit 0 & 20
thanks all i done my work
Sent from my GT-S5660 using Tapatalk 2
I present CWM touch 6.0.1.2!
This is for the T-mobile d2tmo only. (it may work on others but it has not been tested)
External sd card support is present.
to install:
1. Rename the file to cwmtr6.img to make this easier.
2. adb push cwmtr6.img /sdcard/cwmtr6.img * (skip this step if the file is already on your sdcard).
3. adb shell *If not using adb, and you want to use terminal emulator, start at step 5. with the file already on your sdcard.
4. su
5. dd if=/sdcard/cwmtr6.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
6. reboot recovery
DOWNLOAD: http://jenkins.cyanogenmod.com/job/recovery/4244/artifact/archive/recovery.img
http://forum.xda-developers.com/attachment.php?attachmentid=1286722&stc=1&d=1346108680
https://www.dropbox.com/s/k9tjbhtz79y95x8/cwmtr6.img
Odin Tar (thanks to cybernook): http://forum.xda-developers.com/attachment.php?attachmentid=1287723&d=1346158787
THIS BUILD HAS ONLY BEEN COMPILED BY ME USING CLOCKWORKMODS RECOVERY BUILDER!!! I DID NOT MAKE IT!
I present CWM non-touch 6.0.1.2!
NOTE: This one is untested by me. please report back.
This is for the T-mobile d2tmo only. (it may work on others but it has not been tested)
External sd card support is present.
to install:
1. Rename the file to cwm6.img to make this easier.
2. adb push cwm6.img /sdcard/cwm6.img * (skip this step if the file is already on your sdcard).
3. adb shell *If not using adb, and you want to use terminal emulator, start at step 5. with the file already on your sdcard.
4. su
5. dd if=/sdcard/cwm6.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
6. reboot recovery
DOWNLOAD: http://forum.xda-developers.com/attachment.php?attachmentid=1286734&stc=1&d=1346109454
http://jenkins.cyanogenmod.com/job/recovery/4251/artifact/archive/recovery.img
https://www.dropbox.com/s/biy0juwx87ank78/cwm6.img
THIS BUILD HAS ONLY BEEN COMPILED BY ME USING CLOCKWORKMODS RECOVERY BUILDER!!! I DID NOT MAKE IT!
thank you
I downloaded the time placed on sd straight from phone then I highlighted the text from step 5 and pasted into my terminal emulator then reboot recovery and voila . Works like a charm! Thank you
Hmmmmm
Sent from my SGH-T999 using xda app-developers app
Do u get both exsd an sd support?
Sent from my SGH-T999 using xda premium
spodie said:
Do u get both exsd an sd support?
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
I was able to access both from the recovery menu.
Worked like a charm.
Sent from my SGH-T999 using xda premium
thanks great work.
Very nice -- worked like a charm! Haven't tried backing up to external, but from the looks of it, everything is working correctly.
Here's a flashable 6.0.1.2 touch version if anyone wants it.
motoman234 said:
Here's a flashable 6.0.1.2 touch version if anyone wants it.
Click to expand...
Click to collapse
Would you mind if I put that in the OP?
Sent from my SGH-T999 using Tapatalk 2
Here is an ODIN flash-able of the Touch version:
cybrnook said:
Here is an ODIN flash-able of the Touch version:
Click to expand...
Click to collapse
Can I also add that to the OP?
Sent from my SGH-T999 using Tapatalk 2
Works LIke a Champ
jellydroid13 said:
I present CWM touch 6.0.1.2!
This is for the T-mobile d2tmo only. (it may work on others but it has not been tested)
External sd card support is present.
to install:
1. Rename the file to cwmtr6.img to make this easier.
2. adb push cwmtr6.img /sdcard/cwmtr6.img * (skip this step if the file is already on your sdcard).
3. adb shell *If not using adb, and you want to use terminal emulator, start at step 5. with the file already on your sdcard.
4. su
5. dd if=/sdcard/cwmtr6.img of=/dev/block/platform/msm_sdcc.1/by-name/recovery
6. reboot recovery
DOWNLOAD: http://jenkins.cyanogenmod.com/job/recovery/4244/artifact/archive/recovery.img
http://forum.xda-developers.com/attachment.php?attachmentid=1286722&stc=1&d=1346108680
https://www.dropbox.com/s/k9tjbhtz79y95x8/cwmtr6.img
THIS BUILD HAS ONLY BEEN COMPILED BY ME USING CLOCKWORKMODS RECOVERY BUILDER!!! I DID NOT MAKE IT!
Click to expand...
Click to collapse
I followed your directions and everything works perfectly!!!
Touch CWM is so much nicer and easier on the volume button
Thank you
jellydroid13 said:
Can I also add that to the OP?
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
Knock yourself out
cybrnook said:
Knock yourself out
Click to expand...
Click to collapse
dude...your clip image in your sig is f*cking hilarious! I crack up whenever I see it.....
The sh*t people come up with.... :laugh:
So can someone give some background on this update? I did a backup to my extSD card and it doesnt backup the applications. I also see a 'blobs' folder when I look at the backup folder in root explorer.
Whats the difference between .dup and .tar in the advance backup options. Any info would be appreciated.... thanks!
So after doing some digging around, I found out a bunch about this new version of CWMR/CWMTR.
First,
You may notice a 'blobs' folder when you do a backup. Don't panic, this is now part of the backup process.
Second,
You may find that your backups are completed reasonably faster after the initial backup and your backup folder for that particular backup is also significantly smaller as in under 100mb smaller when it used to be close or even over 1gig.
Touch Recovery does not make a "full backup" anymore. It only backs up what has changed since a previous backup, and keeps track of the changes in a clockworkmod/backup/blobs folder. This is pretty cool because its designed to save on space and speed up the backup process. So if you look at your 'blobs' folder, its size is going to be HUGE. Thats where all the files that once made up your HUGE zip backup are located.
Hopefully you guys find this info a little more helpful....because I had a ton of questions after seeing how this new version created backups, etc.
cybrnook said:
Here is an ODIN flash-able of the Touch version:
Click to expand...
Click to collapse
Thanks for the flash-able dude. For some reason I could not do it thru terminal emulator it kept saying permissions were denied whenever I put the code in
Sent from my SGH-T999 using xda premium
makavelicruz said:
Thanks for the flash-able dude. For some reason I could not do it thru terminal emulator it kept saying permissions were denied whenever I put the code in
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
ooooo, you don't want to do that. The Odin flash-able image is ONLY flash-able through Odin. If you want, you can extract the recovery.img file from within it, and use THAT file to flash via Terminal.
You can ONLY flash a *.img file the Terminal way.
You can flash custom recovery three ways:
*.img flash-able via Terminal
*.tar, *.md5 flash-able via Odin
*.zip flash-able from within custom recovery
Good luck!
cybrnook said:
ooooo, you don't want to do that. The Odin flash-able image is ONLY flash-able through Odin. If you want, you can extract the recovery.img file from within it, and use THAT file to flash via Terminal.
You can ONLY flash a *.img file the Terminal way.
You can three ways:
*.img flash-able via Terminal
*.tar, *.md5 flash-able via Odin
*.zip flash-able from within custom recovery
Good luck!
Click to expand...
Click to collapse
I think he meant that he wasn't able to use just the img so he had to use the odin tar.
I can't install that rom on my NFC model, got aborted install on recovery. That rom only can be installed on non-NFC phones?
Havent that problem with sakura's roms.
Preep said:
I can't install that rom on my NFC model, got aborted install on recovery. That rom only can be installed on non-NFC phones?
Havent that problem with sakura's roms.
Click to expand...
Click to collapse
Backup your tee folder in /system/lib/tee copy and replace it in zip file (/system/lib/tee) edit updater-script. Open with notepad++ delete "assert" command (3 line before "mount" command, it will check your device) save and replace old file. Flash is normal but can NFC is lose
Thank @loof13
Sent from my ME371MG using Tapatalk 4 Beta
shine911 said:
Backup your tee folder in /system/lib/tee copy and replace it in zip file (/system/lib/tee) edit updater-script. Open with notepad++ delete "assert" command (3 line before "mount" command, it will check your device) save and replace old file. Flash is normal but can NFC is lose
Sent from my ME371MG using Tapatalk 4 Beta
Click to expand...
Click to collapse
Done and installed. Thanks.
shine911 said:
Backup your tee folder in /system/lib/tee copy and replace it in zip file (/system/lib/tee) edit updater-script. Open with notepad++ delete "assert" command (3 line before "mount" command, it will check your device) save and replace old file. Flash is normal but can NFC is lose
Sent from my ME371MG using Tapatalk 4 Beta
Click to expand...
Click to collapse
At least you can give me credits for using information from my thread.
loof13 said:
At least you can give me credits for using information from my thread.
Click to expand...
Click to collapse
Sorry i forget because i using phone i forget your name
Sent from my ME371MG using Tapatalk 4 Beta