??????????????
tink-14 said:
??????????????
Click to expand...
Click to collapse
more info on how your doing it....
generally
Alt-w
Alt-s
i mean like is it as easy as wipe and ad flash new rom on
I actually really recommend the switchrom.sh script over in the development section on the forum. You just make a backup using the script, then flash the new one (alt-w, alt-s), and if you ever want to go back, restore the backup. It works a little nicer than nandroid in the fact that it keeps all your apps, as well as app data, so you don't have to set everything back up, log in, stuff like that.
tink-14 said:
i mean like is it as easy as wipe and ad flash new rom on
Click to expand...
Click to collapse
Generally. If you have your apps on an ext partition and your phone bootloops after flashing a new ROM, you may need to wipe it.
If you do get a bootloop, type this in the recovery console, then wipe and reflash the ROM.
Code:
mount -o rw /dev/block/mmcblk0p2 /system/sd
rm -r /system/sd/*
If I have cyan's stable build and I just got the app from the market that can check for updates to his ROMs, can I just use that app to do everything? I am not familiar with how it works. Sounds like it is based off of JFs if anyone uses it.
Related
Is this an efficient method of moving apps to SD? Apparently, it works anywhere from an hour to a few weeks but eventually crashed my phone and I have to wipe and flash.
In terminal emulator
busybox cp -a /data/app /system/sd/
busybox cp -a /data/dalvik-cache /system/sd/
busybox cp -a /data/data /system/sd/
Then in Recovery Terminal (Alt+X on JF menu in Recovery Mode)
mount data
rm -rf /data/app
ln -s /system/sd/app /data/app
rm -rf /data/data (optional)
ln -s /system/sd/data /data/data
rm -rf /data/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
reboot
The method is so simple and works well, that is until it breaks . Apps2SD never seems to work right for me. I will read up on the other methods but I would like to know why this doesn't work well and if there is something I can add to this to make it work better.
aaronratner said:
Is this an efficient method of moving apps to SD? Apparently, it works anywhere from an hour to a few weeks but eventually crashed my phone and I have to wipe and flash.
In terminal emulator
busybox cp -a /data/app /system/sd/
busybox cp -a /data/dalvik-cache /system/sd/
busybox cp -a /data/data /system/sd/
Then in Recovery Terminal (Alt+X on JF menu in Recovery Mode)
mount data
rm -rf /data/app
ln -s /system/sd/app /data/app
rm -rf /data/data (optional)
ln -s /system/sd/data /data/data
rm -rf /data/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
reboot
The method is so simple and works well, that is until it breaks . Apps2SD never seems to work right for me. I will read up on the other methods but I would like to know why this doesn't work well and if there is something I can add to this to make it work better.
Click to expand...
Click to collapse
Why don't you just download a ROM that already moves everything to the sd for you?
I'm all ears. Which ROM do you recommend? Link? I like JF but am open to suggestions.
aaronratner said:
I'm all ears. Which ROM do you recommend? Link? I like JF but am open to suggestions.
Click to expand...
Click to collapse
Cyanogen's ROM. http://forum.xda-developers.com/showthread.php?t=537204
alritewhadeva said:
Cyanogen's ROM. http://forum.xda-developers.com/showthread.php?t=537204
Click to expand...
Click to collapse
Def cyanogen's.
Downloading and flashing now. Thanks.
aaronratner said:
Downloading and flashing now. Thanks.
Click to expand...
Click to collapse
no problems, we're happy to help.
No problem Be sure to wipe just in case
Interesting ROM. I wiped and flashed. It is not seeing my partition. My phone storage is at 40MB. My partition is ext2 and I suspect that it needs to be ext3. Is there a way I can reformat the SD card via the phone (this is how I did it originally using Apps2SD). I am using my class 6 8GB card for this (I will eventually move back to my 16GB once I get the process right). I have ~600MB on my ext2 partition but it's only showing that there is 12K using "df system/sd" in TE. My previous data that I had moved there using the method that started this post in no longer there. Before I drive myself crazy reading everything about this (which I will do tonight when I have more time to dedicate to it), perhaps there is a quick answer.
Do you have cyanogen's latest recovery? 1.4? IF you do try upgrading to ext3. In recovery console
upgrade_fs
reboot
While trying to get cyanogen's latest recovery on the phone I erased my old recovery from the phone as per this post http://forum.xda-developers.com/showthread.php?p=3915123 by cyanogen (first post). Now I cannot get his recovery image since when I use Home+Power it takes me straight to the Recovery Console as though I used Camera+Power. I can connect to my pc via USB and fastboot is working but it will not let me flash the recovery image to the phone. Am I screwed?
aaronratner said:
While trying to get cyanogen's latest recovery on the phone I erased my old recovery from the phone as per this post http://forum.xda-developers.com/showthread.php?p=3915123 by cyanogen (first post). Now I cannot get his recovery image since when I use Home+Power it takes me straight to the Recovery Console as though I used Camera+Power. I can connect to my pc via USB and fastboot is working but it will not let me flash the recovery image to the phone. Am I screwed?
Click to expand...
Click to collapse
can you normally power up? Just hold power
Okay. Thank God for Nandroid. LMAO. I was able to load an old Nandroid backup to the phone so I can get get to JF's recovery utility. I would like to flash cyanogen's latest recovery to the phone. What is the best way to do that? Can I use My Android Manager 0.5.1?
aaronratner said:
Okay. Thank God for Nandroid. LMAO. I was able to load an old Nandroid backup to the phone so I can get get to JF's recovery utility. I would like to flash cyanogen's latest recovery to the phone. What is the best way to do that? Can I use My Android Manager 0.5.1?
Click to expand...
Click to collapse
Told you nandroid was handy! Just place cyanogen recovery on your sdcard and type this in terminal emulator
su <wait for #>
flash_image recovery /sdcard/cm-recovery-1.4.img
reboot recovery
enjoy new recovery!
aaronratner said:
Okay. Thank God for Nandroid. LMAO. I was able to load an old Nandroid backup to the phone so I can get get to JF's recovery utility. I would like to flash cyanogen's latest recovery to the phone. What is the best way to do that? Can I use My Android Manager 0.5.1?
Click to expand...
Click to collapse
the adb commands, you can't really mess up
adb shell flash_image recovery /sdcard/cm-recovery-1.4.img
I truly apologize. I am doing this half-assed. I normally read a thousand threads before I do anything to my phone. I decided to do this on a whim while eating dinner. Probably not the best idea. Anyway, I think I got it working OK for now but I do want cyanogen's recovery and apps to sd working properly. I re-flashed cm 3.6.8.1 until I can properly sit down and figure things out. After never posting anything on a forum in my life this is suddenly my 17th in a few days.
aaronratner said:
I truly apologize. I am doing this half-assed. I normally read a thousand threads before I do anything to my phone. I decided to do this on a whim while eating dinner. Probably not the best idea. Anyway, I think I got it working OK for now but I do want cyanogen's recovery and apps to sd working properly. I re-flashed cm 3.6.8.1 until I can properly sit down and figure things out. After never posting anything on a forum in my life this is suddenly my 17th in a few days.
Click to expand...
Click to collapse
That's how it starts, I started at like 4 Posts over a year, then all of a sudden, I got sucked in and now look at me... 472 Posts... T_T
aaronratner said:
I truly apologize. I am doing this half-assed. I normally read a thousand threads before I do anything to my phone. I decided to do this on a whim while eating dinner. Probably not the best idea. Anyway, I think I got it working OK for now but I do want cyanogen's recovery and apps to sd working properly. I re-flashed cm 3.6.8.1 until I can properly sit down and figure things out. After never posting anything on a forum in my life this is suddenly my 17th in a few days.
Click to expand...
Click to collapse
Well I hope you can get this working, good luck! Lol I almost have 1,100 posts in 4-5 months
I will get CM3.9.1 w/Recovery 1.4 on my phone tonight (somehow). I will read everything first and I don't think I will have an issue. So far, the only thing I need to figure out is how to get the recovery 1.4 on the phone. Other than that, CM3.9.1 looked really nice for the five minutes I had it on my phone. Looking forward to it and stay tuned as I muck up my phone some more. LOL. Will post if I have issues.
Thanks for your extremely fast responses. They are much appreciated.
Cyanogen 3.9.2 is out btw
is there a guide anywhere on this or could someone give me a rough guide?
Do I need to format the partitions I made on my SD to run Hero, when flashing to another ROM that uses APPS2SD like Soulife's Rogers? I'm getting untold weird problems with this ROM - syncing etc.
Also, looks like APP2SD might not be working - 45MB free space is this right?
(For the record, all I did was a 'wipe' and then flash - which didn't seem to get rid of most apps)
Thanks!
You need to wipe your ext partition before switching roms.
That will get rid of the apps that stayed.
Hmm.. I digg my double post even though I only clicked once. Thx xda
can you wipe with the 'repair ext filesystems' option in cyanogens bootloader?
didn't seem to work for me. :?
with adb:
adb remount
adb shell
rm -r /system/sd/*
reboot recovery
then flash the update
thanks!
when I do
rm -r /system/sd/*
I get:
cannot remove '/system/sd/*': No such file or directory
So I guess there's nothing there anyway? ... looks like it when I 'ls' the directory anyway... confused as to why my apps keep on showing up after flashing ???
what a minute I adb'd in when it was in bootloader mode would that effect what I see?
hello all, just trying to get a little input on the correct procedures for clearing the cache inbetween roms. i recently swithed from cyanmod 4.1.6 to Drizzy's Hero-V1.2r1 . Ive tried several commands in console so far to wind up reading something along the lines of : not found. Could someone inlighten me with the correct commands to do this or even the correct steps such as wipe, flash , yada yada and then what commands. thanks in advance , veritas
ronrey, so ronreyyyy, so ronrey im all aloonnneeeee
When you switch roms the only thing you need to do is wipe your ext partition and wipe your phone (alt + w). I use Ubuntu to clear my partition, but there are commands to do it if thats what your asking.
supremeteam256 said:
When you switch roms the only thing you need to do is wipe your ext partition and wipe your phone (alt + w). I use Ubuntu to clear my partition, but there are commands to do it if thats what your asking.
Click to expand...
Click to collapse
when u switch roms a small trace of them remains behind in the dalvik folder in the internal that doesnt just get cleared using alt+w so there are a set of commands to handle this task and i believe they go something like this rm -rf system/sd/dalvik-cache. along with some pre and post commands, that are the ones im refering to.
actually here is a direct quote of what i found, i just couldnt get these commands to work, so im thinking maybe they differ when switching to hero, maybe not..but they didnt work for me>>>>>>>>>>>>>>>>>>>>>
Monday, 31 August 2009 18:51 by Simon Walker
--------------------------------------------------------------------------------
User Rating: / 1
PoorBest
--------------------------------------------------------------------------------
So I started running into some performance problems with the Enomther ROM and was considering removing it and going back to Cyanogen. I decided to have a quick chat with Enomther and he gave me some things to do. The results are even more amazing than the first install.
I found out that the dalvik-cache gets carried over between ROM installs and that it can cause problems and that I should delete it, wipe my phone and start again. Enomther gave me this little guide to follow:
Ok ... so reboot into cyanogen's recovery
Press (Alt+x) to enter the console
Enter the following commands ...
mount system
mount system/sd
rm -rf system/sd/dalvik-cache
umount system/sd
umount system
recovery
This will bring you back to recovery, from there perform the "Data Wipe" option in the menu.
When it's done reboot and you should be all good. Of course you'll have to redo your settings, but your apps will reinstall properly.
I am frustrated that everytime an new release is out gotta reprogram my phone.
rm -rf /system/sd/*
search
sillyshyme said:
I am frustrated that everytime an new release is out gotta reprogram my phone.
Click to expand...
Click to collapse
Wiping your ext should not be an issue unless you're using Drizzy's "builds". If you're switching ROMs then you will have to wipe - get over it, but there should be "no wipe" updates when updating the a new version of the same ROM.
sillyshyme said:
I am frustrated that everytime an new release is out gotta reprogram my phone.
Click to expand...
Click to collapse
so i just noticed you had 27 posts, and im pretty sure all 27 have been about not wanting to wipe when switching roms, or complaining that you keep getting a boot loop. its just the dirty truth, if you wanna avoid a bootloop follow the info in the thread in my signature. if you dont wanna wipe, then dont switch, plain and simple.
SEARCH!!!!
palosjr said:
so i just noticed you had 27 posts, and im pretty sure all 27 have been about not wanting to wipe when switching roms, or complaining that you keep getting a boot loop. its just the dirty truth, if you wanna avoid a bootloop follow the info in the thread in my signature. if you dont wanna wipe, then dont switch, plain and simple.
SEARCH!!!!
Click to expand...
Click to collapse
Oh snap tellin it like it is..
I feel nice today, you're in luck, but this is the only post I'm writing to explain this procedure to you:
1. Reboot into recovery (Home + Power)
2. Backup NANDROID (or switchrom if you know how)
3. Enter into the console (alt+x)
4.
Code:
mount /system/sd
rm -rf /system/sd/app_s
rm -rf /system/sd/dalvik-cache
5.
Code:
ums_enable
6. Go into sdcard thru windows or whatever and then grab the data.img from the nandroid folder or switchrom folder depending on which one you used and place it in the same folder as fastboot (Go search if you don't know how)
7.
Code:
ums_disable
8.
Code:
recovery
9. Repair Filesystems (alt+f) (I think...)
10. Wipe data (alt+w)
11. Flash ROM of choice. (I've done this with practically every Hero flavor out there, should be no problem unless you cut corners in my directions some where... shame on you...)
12. Reboot phone when it finishes.
13. Wait for phone to get to setup page. Then, once there, reboot your phone again, but this time into bootloader (Camera + Power). You must wait for it to load the setup or this won't work.
14. Once fastboot is connected to the phone and can detect it (From connected PC):
Code:
fastboot flash userdata data.img
fastboot reboot
15. Wait for phone to boot up.... and bam, all wallpapers, lockscreen, program settings, mms, sms, contacts, etc. are already set up and your old settings + new ROM is ready to rock.
Hello,
I am currently running Cyanogen Mod 4.2.14.1 on my G1. My additional specs are listed below. I am looking for a fast but stable ROM that I can flash on top of Cyan's Rom without the need to wipe or change my Radio/SPL, etc. I just really don't want to go through losing all my data. Any advise would be greatly appreciated. Thanks!
SD Card: 6 Class Fat32/ext3/Linux-Swap
SPL: HBOOT-0.95.0000
Radio: 2.22.19.26i
Rom: CyanogenMod 4.2.14.1
Recovery: Cyanogen's Recovery 1.4
You can't flash a completely different ROM on top of another. It might cause some un wanted issues.
Suggestion:
Make a backup of your stuff.
Full Wipe
Flash a Different ROM.
Restore your stuff.
Bummer. Welp, Cyan it is then. Don't need a bunch of issues messin' around. Thanks for the reply!
I believe that xRom by JAC is based off the same kernal which means no wipe going to it... you could use switchrom to backup and restore without wiping to go back to cyanogen if you dont like it...
Let me ask this then. I always use Nandroid for my backups. Can I just do a nandroid backup, flash xrom, and if I don't like it...do a nandroid restore to get back to Cyanogen?
your app data might not be compatible coming back.. do you know how to use switchrom? its not that hard once you learn it... and it backs up the app data before doing a nandroid...
google xda switchrom.sh
download the switchrom.txt file
rename to switchrom.sh
move to root of sdcard
go to terminal emulator type: (hit enter after each line)
su
cp sdcard/switchrom.sh /system/sd
reboot recovery
enter recovery console: (hit enter after each line)
mount /system/sd
sh /system/sd/switchrom.sh -s (todays date)<this will be the backup name
*this stores your rom* notice -s
to restore the backup--enter recovery console
mount /system/sd
sh /system/sd/switchrom.sh -r
it will give you a choice... choose the most recent (or stable) rom
I do one of these backups every weekend JIC I mess something up (which I did last night... last back was 01/28/10 so not too bad..
Well, your instructions are impecable! Never used it but I'm gonna give it a whirl. Thanks so much for the detailed assistance
junkdruggler said:
your app data might not be compatible coming back.. do you know how to use switchrom? its not that hard once you learn it... and it backs up the app data before doing a nandroid...
google xda switchrom.sh
download the switchrom.txt file
rename to switchrom.sh
move to root of sdcard
go to terminal emulator type: (hit enter after each line)
su
cp sdcard/switchrom.sh /system/sd
reboot recovery
enter recovery console: (hit enter after each line)
mount /system/sd
sh /system/sd/switchrom.sh -s (todays date)<this will be the backup name
*this stores your rom* notice -s
to restore the backup--enter recovery console
mount /system/sd
sh /system/sd/switchrom.sh -r
it will give you a choice... choose the most recent (or stable) rom
I do one of these backups every weekend JIC I mess something up (which I did last night... last back was 01/28/10 so not too bad..
Click to expand...
Click to collapse
Wow Just USe AmonRA LAst recovery It Lets you Use Switchrom Eazy You Can Save your Rom =D i Can Give you a youtube video that will Help U =D Youtube video