Hi Guyz I compiled a script that can flash boot.img from CWM Recovery and it will not increaseCustom Bin Count.
You can Install Custom Kernel 1000000 times without increasing your Custom Bin Count.
Thanks to Koush for providing source: https://github.com/CyanogenMod/android_device_samsung_bmlunlock
Version 2.0 is here with new features:
•Automatic backup of old boot.img/kernel when you flash a new boot.img/kernel.
The old boot.img can be found afterwards with OLDboot.img name.
•Automatic unmount of sdcard after flashing. (As requested by some users)
•No need to unzip and zip this version, just place this tool and boot.img on root of sdcard and flash tool from Recovery mode.
Instructions:
•To flash kernel/boot.img, just place Boot.img_flasher_V2.0_faqbly_2.zip and your boot.img on the root of your sdcard.
•Boot in CWM Recovery and flash Boot.ing_flasher_V2.0_faqbly_2.zip
•Your OLD boot.img will be backed up as OLDboot.img on your sdcard.
Download V2.0: http://dl.xda-developers.com/attach.../5/9/6/6/9/Boot.img_flasher_V2.0_faqbly_2.zip
Source:- http://www.mod2xtreme.com/f421/[tool]kernel-flasher-recovery-mode-{updated-v2-0}-12584/#post51621
Enjoy
No credits for me i have already mentioned the source i got it from, i thot it may help some of the noobs out there no hard feelings
Yes and so does mai77's method. CWM flashing doesnt increase Bin Count.
Wow great invention, you are the man buddy, but there's no need
Search before creating new threads.
Related
Although I have been rooting and flashing for quite some time now, I am new to the kernel-module-repack part.
I am willing to use the xm kernel with the newest insertcoin 18.0.2.
I noticed the boot.img is located in the downloadable zip file. Am I correct in saying:
-the boot.img inside the zip file must be extracted and repacked. And flashed in bootloader
-the zip file as a whole is the 'module' and must be installed in recovery
Does the zip file not make conflict because the original non-repacked boot.img is present in the zip?
No, it won't conflict because our phone is S-ON > boot images in flashable zips do not get flashed at all.
Sent from my IceCold One X
hi i like to share my app
it make us easy to switch and use the recovery
i only provide this app and cmw 6030 recovery version cray_Doze (cmw from HackitZ) as default
please use at your own risks , iam not responsible to any damage of your phone
i include some screenshots also
feature :
have 2 recovery
primary recovery is default recovery its locate as usual place /system/bin
secondary recovery this one we can choose and collect by our own, its locate on external sdcard recoveryData/ folder
function :
install primary recovery
install secondary recovery by selecting available recovery rom we have
delete secondary selected recovery
reboot into recovery mode
choose the type of our bootloader is it only or with recovery
checking chargemon auto switch chargemon if it is still original chargemon
allow backup original chargemon , it will store to recoveryData folder
recovery file :
recovery format file not support lzm format !!
recovery is a usual folder and files that zipped into 1 tar file
place any of your recovery file in /sdcard1/recoveryData/ location
credits:
HackitZ big thanks!
krabappel2548 big thanks!
DooMLoRD
Cpasjuste
and Xda Members
recovery :
recovery.twrp_2430.tar
recovery_6030.tar
note how to use recovery file:
put that recovery files to /sdcard1/recoveryData/ folder
apk version 1.0
SoftRecovery_v1.0.apk
Ok firstly this may seem a bit confusing, I am copying this from a PM i sent to @wedgess
Hi, I am wondering if you would be able to make a bootable recovery image with TWRP as i have no idea how to do it and i can only find CWM ones which requires signature for "--update_package="
I don't want a kernel and i don't want a cwm image but i want just simple a TWRP recovery.img which is bootable like http://forum.xda-developers.com/showthread.php?t=1493996 but TWRP instead
Your kernel's work fine but i need it to boot a recovery.img then flash the new rom via "--update_package=" and then reboot device.
For more information check http://forum.xda-developers.com/showthread.php?t=2391169
I hope you can help, Thanks.
-------------------------------
TWRP works great with both the last 2 options so i need to some how create a bootable recovery img based on TWRP but i don't have a clue about kernel development... Could i maybe replace ramdisk with existing bootable recovery or something?
-------------------------------
So to put it simply, I need to switch out CWM on this recovery.img and put TWRP on it (The reasons for this are complicated to explain but i would be extremely thankful if any one could help and credit will be giviven)
So please can any one help me Thanks.
Sorry I didn't reply to your final PM as I said due to real life and limited time I cannot do it for you, But happy to help assisting you if needed. Championswimmer has a tutuorial on what to change in the device tree for TWRP. Search function is down ATM so I can't link you to the thread.
wedgess said:
Sorry I didn't reply to your final PM as I said due to real life and limited time I cannot do it for you, But happy to help assisting you if needed. Championswimmer has a tutuorial on what to change in the device tree for TWRP. Search function is down ATM so I can't link you to the thread.
Click to expand...
Click to collapse
Yeah no worries, Decided to ask any one else, As i really don't have the time to do this aswell as all the other stuff im doing. And it will take some one with experience a lot less time.
I tried switching out the /sbin folder but it didn't work and i didn't expect it to
I am hoping to find some 1 with a linux enviroment all sorted as i don't have a clue when it comes to kernels. surely there is a simple way to switch out a prebuiilt CWM Recovery with a TWRP recovery? Do you know what files TWRP and CWM use?
Thanks.
Altenatively any ideas on what needs to be changed to boot it to recovery always? if so i could modify a existing TWRP kernel (yours for example) and then force it to recovery.
EDIT
I assume you meant this guide?
PORT TO STOCK/ICS/YOU-FAVOURITE-KERNEL
A boot.img consists of the kernel image and the ramdisk (additionally and optionally RPM.bin and commandline). If you want to use TWRP for some other kernel, you have to do this
1. decompile this boot.img (for 2011 models it's a true boot.img, for 2012 models, it's actually a kernel.elf file renamed to boot.img, so you have to decompile accourdingly. you can use my kernel kitchen to do the same)
2. replace the kernel zImage with the one from the kernel you want to port to
3. replace /sbin/ramdisk.cpio with the "UNCOMPRESSED" ramdisk of the kernel you want to port this to. (usually ramdisk is compressed with gzip i.e. ramdisk.cpio.gz. you need to uncompressed ramdisk image i.e. ramdisk.cpio)
4. do not touch anyother thing
5. pack it up into a boot.img (for 2011) or kernel.elf (for 2012) and fastboot it
@wedgess ok so i got it working it now auto boots to TWRP but ADB isn't working, Any ideas?
Thanks so much i got it all working that guide helped
I am curious of what you are trying to do...
As i understand you want:
-flash (only) twrp recovery in fastboot mode
-reboot to recovery and flash rom from pc (adb sideload maybe?)
-reboot to fastboot again to flash kernel
-reboot
If i understand correctly you want to flash ROM (and kernel) from PC side, not dong it from phone?
Bakisha said:
I am curious of what you are trying to do...
As i understand you want:
-flash (only) twrp recovery in fastboot mode
-reboot to recovery and flash rom from pc (adb sideload maybe?)
-reboot to fastboot again to flash kernel
-reboot
If i understand correctly you want to flash ROM (and kernel) from PC side, not dong it from phone?
Click to expand...
Click to collapse
ok this is what happens
1. Download rom and kernel from my kitchen via helper application on windows
2. verifiy md5's
3. fastboot fllash new kernel
4. fastboot boot "recovery.img"
5. once in the new bootable recovery i created/edited, send adb command "adb shell" > recovery --update_package=ROM
6. wait for rom to install, reboot
7. DONE! new rom and kernel flashed
All done automagically and without any user interaction other than picking the rom.
Check post 1 and 2 for more info - http://forum.xda-developers.com/showthread.php?p=46111684
fma965 said:
ok this is what happens
1. Download rom and kernel from my kitchen via helper application on windows
2. verifiy md5's
3. fastboot fllash new kernel
4. fastboot boot "recovery.img"
5. once in the new bootable recovery i created/edited, send adb command "adb shell" > recovery --update_package=ROM
6. wait for rom to install, reboot
7. DONE! new rom and kernel flashed
All done automagically and without any user interaction other than picking the rom.
Check post 1 and 2 for more info - http://forum.xda-developers.com/showthread.php?p=46111684
Click to expand...
Click to collapse
One word: WOW :good:
Not just you have ideas what you can do, but knowledge to do it. You have my respect man :highfive:
i'll check that app ASAP
Bakisha said:
One word: WOW :good:
Not just you have ideas what you can do, but knowledge to do it. You have my respect man :highfive:
i'll check that app ASAP
Click to expand...
Click to collapse
Thanks current released version is quite buggy but new version coming soon
Any way since this problem is now solved, I will close the thread. if you want to discuss this then post on my kitchen thread or pm me
Hey Guys,
After following all the steps properly with caution i was able to make the stock rom in a CWM recoverable file
I AM NOT RESPONSIBLE FOR ANY DAMAGES MADE TO YOUR DEVICE IF YOU MAKE A MISTAKE IN BETWEEN
BUT I WILL ASSURE YOU THAT I WILL TRY MY BEST TO HELP YOU
This are the files that were backed up , just check to be sure you have all files in the folder / zip
~ System . ext4 . tar
~ Recovery . img
~ uboot . img
~ Boot . img
~ nandroid.md5
TUTORIAL
Step 1 : Unlock Bootloader to flash CWM / TWRP recovery
GUIDE : UNLOCK BOOTLOADER
RECOVERY : DOWNLOAD
I DID NOT MAKE THE FILES TO UNLOCK BOOTLOADER : EVERYTHING WAS DONE BY :
SALMAN986 AND PRIYANSH21
I recommend using cwm
STEP 2 : Extract the stock rom to CLOKWORKMOD/PHILZ/TWRP in sdcard/sdcard1
IF YOU CANT FIND THIS FOLDER > YOU CAN BACKUP YOUR ROM AND CANCEL IN BETWEEN SO THE FOLDER IS CREATED AUTOMATICALLY
STEP 3 : select restore or advance restore
VOILA - The stock rom will be restored
WITH ROOT (KINGROOT) AND BUSYBOX
IF YOUR DATA IS NOT INTACT / PHONE DOESNT REBOOT , CLEAR DATA & CACHE FROM RECOVERY
BE SURE TO LIKE MY WORK , AND HIT THE THANKS BUTTON
MAIN CONTRIBUTORS:
SALMAN986
PRIYANSH21
PLEASE LIKE THEIR WORK TOOO , WITHOUT THEM WE COULD NOT HAVE THE TAIWAN STOCK ROM FOR OUR DEVICE
DOWNLOAD STOCK ROM HERE:
MEGA
Hey, you can do as follows:
~~~~~~~~~~~~~~~~~~~~~~~
Requirements:
* PC
* CWM/TWRP Backup
* CWM/TWRP Installed
* Winrar/7Zip
* Brain
Now the real-deal..
1. Copy the backup from Phone to PC
2. Extract system.ext4.tar file with winrar/7zip, you
will get the system folder
3. Collect the boot.img from the backup
4. Now collect a META-INF folder from any custom
rom/small update zip which is made for HTC Desire 526G+
5. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok
6. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP
7. Done!! This will flash the stock Taiwan System to your device.
Make sure to hit the thanks button!!
P.S. Can you give the link for Indian Stock ROM.
Thanks.. i followed the procedure suggested by you. Really it is working. Is there any possibility to edit the source code and (As per my customization) compile, generating the images and flashing back. If yes which cross compile tool is required and how to get source code.
Philz touch recovery download for STEP 1 , Instead of using CWM / TWRP
Mega
Hi!
I update the Idol suite for 4.7 6039 phone version, it is a Windows tools ( sorry).
Log:
It use ADB tools
Can unlock bootloader
Flash TWRP 3.0.0-0 for Idol 4.7
Backup yur phone ROM (need root)
Can boot in bootloader mode
Can reboot from bootloader mode
Can boot in to recovery
Can simply reboot the phone
Can extract the files from a ext4 image, like system.img
Can flash a single image
Can pull to edite the build.prop file and create a flash zip for it
Can boot in to twrp 3.0.0-0 with out flashing ( useful to recover the phone)
Can pull the apks from system and create a flash zip ( If you want to change something in apps or change a pp for another than you want to flash it again )
Can edite the apk files and create a flash zip
Can create a new Splash image and a zip to flash it
It have idol drivers for windows
NOTE:
Some tools are not mine, I simply put everything together in one place!
I am not responsible for any damage they may cause to your device.
Use it at your responsability
Extract the folder from zip in to descktop and execute the Idol_Suite_V3.exe file.
New_Idol_4.7_Suite.zip
Any issue please tell me!
Enjoy it!
The tool is update:
Now you can modify boot and recovery to.
thank you dude.
You can upload the file again
Thanks!!!
Hi Persona78, first can i say what a fantastic job you have done, most of my research on the idol 3 4.7 points back to you, hats off sir!
I'm still having a problem and i'm really at a loss here after about a week of no returns.
adb refuses to recognise my 6039y when in bootloader so i cannot flash recovery, or ROM, or any command. I have all drivers installed correctly, vendor id of 0x1bbb is set in a.ini file in adb_usb.ini, i keep search for different approaches but turning up nothing!
Are there anything to suggest? I would be most appreciative!
Thanks, Marlin