The only way to solve the bootloop after restoring cwm backup is doing restorecon.
http://forum.xda-developers.com/showpost.php?p=46028304&postcount=164
It also could be done via aroma file manager, but it is the one of annoying and uncomfortable way
Is there anyone who can make an update.zip to do restorecon?
Ummm....
Might wanna request this in the thread that is discussing the CWM methods and recoveries that you linked to as that would be the best place to link to such a file from
I would suggest speaking with Chenglu and see if he can add the file('s) to his main post.
Related
IT IS RECOMMENDED TO DO A NANDROID BACKUP BEFORE FLASHING!
What this is: This is simply an easy script to update your kernel via Clockwork Recovery, no ADB commands or mounting within Android involved.
To flash:
Download one of the kernels below.
Copy to the root of your SD card.
Boot into Clockwork Recovery.
Select install update from SD card.
Navigate to the ZIP file you copied.
Flash and reboot!
To create a ZIP like this:
Extract the template zip file. (attached)
Navigate to the boot folder and put your zImage in there. (optionally you can also place an initrd.gz)
Navigate to the system/lib/modules and place all your .ko files in there.
Archive the file again to a zip file and redistribute.
Example kernels:
[09 JAN][KERNEL] -=MDJ=- s10 [OC1536-SMARTASS-CIFS-CFS-UTF8]
[02 JAN][KERNEL][RMNET][SMARTASS][G-Sensor Fix] prj's kernel v0.3
Notes:
Probably won't work on builds that have squashfs'ed /system as it won't be able to install modules.
The kernels above do not replace your initrd.gz. Only your zImage and .ko files in /system/lib/modules.
It if first time I'm trying to use Clockwork Recovery to update.
After choosing .zip it asks for pre-installation backup and wipe.
I'm choosing only backup.
It says"push ok in order to reboot and continue installation".
I'm doing that, it reboots to recovery and what?
No changes.
Please, help if somebody knows
Your using the wrong topic to ask for this question.
However, in order to avoid useless clutter, the solution is:
- Launch Clockwork
- Select the other install menu ("Install zip from sdcard" instead of "apply update")
>This won't ask for a backup, but will just flash the kernel.
>You can also flash applications this way, but they HAVE to be BUILD for Clockwork
Honestly, this is easy as 123, and such request always come from people who never search.
Sorry about the rant, but i didn't invent the plane myself, and however i'm still astonished about all the prowess i can do just by looking for myself.
Try and do the same.
Thank you.
RedWave31 said:
Your using the wrong topic to ask for this question.
However, in order to avoid useless clutter, the solution is:
- Launch Clockwork
- Select the other install menu ("Install zip from sdcard" instead of "apply update")
>This won't ask for a backup, but will just flash the kernel.
>You can also flash applications this way, but they HAVE to be BUILD for Clockwork
Honestly, this is easy as 123, and such request always come from people who never search.
Sorry about the rant, but i didn't invent the plane myself, and however i'm still astonished about all the prowess i can do just by looking for myself.
Try and do the same.
Thank you.
Click to expand...
Click to collapse
Ok. thank you any way.
And be aware, I'm quite intelligent not to ask every time, I don't know something.
I know how the search button works
But see, forum is quite far from live communication.
Thus, people could name same things with different words.
Even your description differs sufficiently from the initial instructions:
Author wrote "boot to clockwork recovery" and this means for me boot
into clockwork recovery mode from rom manager for manual rom management.
what?
That's why people asking here for help. And this thread is proper for asking my questions till I understand which exact topic should I ask.
Thanks.
Well, just to clarify I mean boot into Clockwork by holding down power and choosing Boot to SD in MAGLDR.
shadiku said:
Well, just to clarify I mean boot into Clockwork by holding down power and choosing Boot to SD in MAGLDR.
Click to expand...
Click to collapse
Yes, thank you! there is a thread about proper use of clockwork with nand roms already in section.
It seems, I'm not alone
Does anyone know how to get Clockwork Recovery on the Xoom so I can flash .zip's? And make nandroid backups. Thx in advance.
Koush is not going to release it until the sdcard works. Making backups to the internal memory is pointless and flashing from internal memory to internal memory is not a great solution at the moment.
-Bauxite
Sent from my Evo 4G
Damn....while agree that making a backup to the internal memory is pointless I just wanted to flash a .zip so that I can get a live wallpaper working. But thanks for the answer.
Sent from my Xoom using XDA App
you dont need to use 'install' zip to install things in the zip, generally flashing zips just cp src dst... take apart the zip, find the updater-script and see if you can just do those steps manually via adb shell (or adb hell if you're feeling evil)
backup to nfs share? smb share? .. would be even nicer
cifs/nfs backup sounds like a project... time to checkout the cwm source!
removed. I had incorrect information.
youngproguru said:
Koush's website indicates that it is now possible to install Zip's directly from ROM manager without having the recovery installed. I'm not sure if this appies to Xoom, however I dont see why not (if you are rooted)
ROM manager does "run: on Xoom.
Check it out:
http://www.koushikdutta.com/2011/01/rom-manager-any-recovery.html
Click to expand...
Click to collapse
This is taken a bit out of context I believe. Koush was stating that you no longer need CWM to do the flashes. He's implemented code that will allow ROM Manager to reboot into other custom recovery mods to do the flashing. At this point though, you still need the recovery mod developer to enable the functionality.
Yep, I think you are correct.
1. how do you enable zram?? copying all the text on whitexp's thread in a script and putting it in init.d will make it work or it needs activation? also is the compcache ram usage in performance under CM settings in CM7 is the same thing?
2. how do you create a simple cwm flashable zip?? like if i want to mess up some files i can place them in zip and reflash if anything goes wrong how do i create the update binary and updater script for the zip??
No offense but answers to both your questions can be found by doing a simple search .
If i were on pc i would have typed it down hope some one else does
Normally, I would post this in the MultiROM thread, but I can't post in there without 10 posts. Thus, I am posting it in the Q&A.
Anyway, is it possible to take a nandroid backup of a specific rom which I multiboot using MultiROM. Ie, so I could flash to internal, move between devices, or copy back to MultiROM after a factory restore.
If you find this explanation confusing, please ask and i'll try and fix it.
I did google/search around for a while before asking, I found nothing though.
Bump +1
--------------
Did a little digging, it seems that the only way to do this right now is a manual process. Please, someone, tell me I'm wrong! You'll have to tar out the root directory with this command after booting into the rom:
cd root
sudo tar --numeric-owner -zpcf root.tar.gz ./*
You'll then need to use the information on https://github.com/Tasssadar/multirom/tree/nexus7/ref_install_zip to create the proper file/folder structure. Slap your /root.tar.gz into that folder structure, zip it up, and you have yourself a flashable zip backup.
Remember:
-Root cannot exceed ~850MB
-This is a pain in the @$$
-I'd try scripting this for you but its Friday and I'm beat
Indeed....
HumanCaviar said:
Bump +1
--------------
Did a little digging, it seems that the only way to do this right now is a manual process. Please, someone, tell me I'm wrong! You'll have to tar out the root directory with this command after booting into the rom:
cd root
sudo tar --numeric-owner -zpcf root.tar.gz ./*
You'll then need to use the information on to create the proper file/folder structure. Slap your /root.tar.gz into that folder structure, zip it up, and you have yourself a flashable zip backup.
Remember:
-Root cannot exceed ~850MB
-This is a pain in the @$$
-I'd try scripting this for you but its Friday and I'm beat
Click to expand...
Click to collapse
Bump +1 plus whatever it takes.
This method is very time consuming, and onandroid botches the whole backup thing with a disk space error while in an alternate ROM. Sigh... wish there was an easy solution to this.
HumanCaviar said:
Bump +1
--------------
Did a little digging, it seems that the only way to do this right now is a manual process. Please, someone, tell me I'm wrong! You'll have to tar out the root directory with this command after booting into the rom:
cd root
sudo tar --numeric-owner -zpcf root.tar.gz ./*
You'll then need to use the information on (urlstripped) to create the proper file/folder structure. Slap your /root.tar.gz into that folder structure, zip it up, and you have yourself a flashable zip backup.
Remember:
-Root cannot exceed ~850MB
-This is a pain in the @$$
-I'd try scripting this for you but its Friday and I'm beat
Click to expand...
Click to collapse
OK, where do you issue these commands from? Can't be the N7 because it doesn't have a sudo command... and can't seem to write to /root...
Is it possible to take backup of all roms at once?
Skyshayde said:
Normally, I would post this in the MultiROM thread, but I can't post in there without 10 posts. Thus, I am posting it in the Q&A.
Anyway, is it possible to take a nandroid backup of a specific rom which I multiboot using MultiROM. Ie, so I could flash to internal, move between devices, or copy back to MultiROM after a factory restore.
If you find this explanation confusing, please ask and i'll try and fix it.
I did google/search around for a while before asking, I found nothing though.
Click to expand...
Click to collapse
Is it possible to take backup of all roms at once?
WARNING: BEFORE YOU DO ANYTHING PLEASE READ THIS THREAD AND MAKE SURE YOU KNOW WHAT YOU ARE DOING. I AM NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR PHONE.
A few days ago I came across this thread which made me think and try. At the beginning I couldn't flash the zips necessary for making backups without rebooting to recovery .
What you will need:
1.Bootloader unlocked and a rooted phone . If you don't have any of them please read here and here
2.Busybox
3.A root explorer of your choice
4.A terminal emulator app
5.The 2 files from the zip attached
6.Patience
Open your root explorer extract and copy the 2 files attached to /system/bin and set permissions 755( that's rwxr-xr-x).
Reboot your phone.
Open Terminal app and type su to obtain root followed by onandroid.
Sit back and relax while the script backs up your rom.
All thanks go to ameer1234567890 who gave us the Online Nandroid . I only found the thread and also found the method to copy the files to Razr I.
When i'll have some time i'll try to make a flashable zip for the lazy ones
As promised here are the zips for flashing from recovery with update binary working with the Razr I. I have only tested with CWM, but they should work with TWRP as well.
I suppose everyone knows what to do, but just in case someone new tries it:
-copy the 2 zips to you internal storage or external sdcard
-reboot to recovery
-select install zip from sdcard(now choose the location of your files)
-select zip
-install
-reboot
Enjoy
nandroid,etc, assistance
free2live said:
As promised here are the zips for flashing from recovery with update binary working with the Razr I. I have only tested with CWM, but they should work with TWRP as well.
I suppose everyone knows what to do, but just in case someone new tries it:
-copy the 2 zips to you internal storage or external sdcard
-reboot to recovery
-select install zip from sdcard(now choose the location of your files)
-select zip
-install
-reboot
Enjoy
Click to expand...
Click to collapse
Is this the best way to do a " nandroid " - I have been part of this site for quite some time , read numerous sites, but i have a very bad memory problem and that's why i have many text documents setup to the point i am confused. Right now I have an AT&T S4 which has a bad IMEI, so I want to use it as a test phone, but it has been updated to 4.3 -which from what I understand I would need to downgrade back to 4.1.2 order to unlock the phone via the dial pad. I was able to accomplish that one time when I first got a Samsung S4 and did it via the dial pad before the OTA came out for 4.3.
I also own a S3, also AT&T, so i can learn how to to root and unlock and use CWR or TWRP and than learn ROMS. I know I need to make a backup before I do anything, and also constantly reading the " Noob " general forums for both phones. I also am familiar with Samsung Kies, which does a backup but I don't think it's the same as this nandroid i have been reading about.
Thank you or taking out the time and reading my post. I will check back to see if anyone had some time to give me some direction or an answer to my problem with " nandroid" or if someone even could touch up on any subjects I have mentioned. Please don't think I haven't spent hrs of time on YouTube, Google, Howard forums and especially here on XDA.