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
Ok im a newbie, and i don't know nearly as much as any developer here but i've been doing my best to follow the rom updates for the g1. I have installed all the CM updates, and also before that the jesusfreke rom.
I installed this CM5 and while it worked well the battery was draining, i tried to reboot into recovery mode to do a wipe and reinstall to see if it would help, to my horror the recovery doesn't start it just stays in the G1 screen.
The phone boots into android fine, but won't let me get into recovery to change anything. I think this is due to the fact that i ran CM updater with a theme and might have been for 4.x? so it hanged but i thought it wasn't a problem.
I would greatly appreciate if anyone could help point me into were i should look, i looked every where and haven't found the right information or understood it.
Thanks.
ok guys im not sure why the recovery was taken out but i was finally able to get it back running this is what i did which i found in other sites.
from an old post in the forum :
"Type the following into Telnet (these commands will give you root access easier in the future):
* mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
* cd sdcard
* flash_image recovery recovery.img
* cat recovery.img > /system/recovery.img "
I had a similar issue as op, I just reflashed the recovery through adb - since I needed to updated my recovery anyway - and it worked.
same problem
i tried typing into terminal emulater to get recovery back, is that what i need to do
help
what do you mean you reflashed throughn adb
help
tried typing commands into terminal emulator and still no recovery,what can i do ,help
The title says it all, anyone experiencing similar issues ?
Running 2.3.3 thru manual updates with a stock recovery, then after everything was done I fastboot flashed amon RA's recovery and it keeps getting replaced with the stock recovery ... Not quite sure when it's doing it, working on that now.
Not sure, but I think this will happen as long as you're not rooted?
Stock 2.2 did the same thing to me...
I'm rooted via flashing Superuser zip from ChainsDD...
negroplasty said:
I'm rooted via flashing Superuser zip from ChainsDD...
Click to expand...
Click to collapse
Hmmm...yeah, I don't know what I'm talking about lol.
Seems like there was some kind of fix for this in 2.2 though...maybe Superboot? Maybe that's why I'm thinking it has to do with rooting? Think something has to change in boot.img?
EDIT: Have you tried using the rooted stock ROM in the dev section?
If you are upgrading to a non-modified stock rom, it will overwrite your custom recovery.
You need to flash a rooted stock rom to keep your custom recovery.
Edit: Oh and you need an unlocked bootloader to fastboot a custom recovery.
Thanks for your help guys, I guess I'll just flash one of the stock but rooted roms now that they're available... Don't know why I thought that would work come to think about it, it was hopeful thinking at best lol...
Thanks again.
Just look up how to stop this from happening on stock froyo roms.
A bone stock rom with just root will do the same thing that your current rom is doing.
Sent from my Nexus One using XDA App
negroplasty said:
The title says it all, anyone experiencing similar issues ?
Running 2.3.3 thru manual updates with a stock recovery, then after everything was done I fastboot flashed amon RA's recovery and it keeps getting replaced with the stock recovery ... Not quite sure when it's doing it, working on that now.
Click to expand...
Click to collapse
That is because there are two files in a stock ROM (/system/recovery-from-boot.p and /system/etc/install-recovery.sh) that flash the stock recovery every boot. You need to delete (or rename) those two files after flashing a stock ROM, and then re-flash your custom recovery.
efrant said:
That is because there are two files in a stock ROM (/system/recovery-from-boot.p and /system/etc/install-recovery.sh) that flash the stock recovery every boot. You need to delete (or rename) those two files after flashing a stock ROM, and then re-flash your custom recovery.
Click to expand...
Click to collapse
If you don't mind my asking what are the commands I can use to delete these files? I'm in the process of looking up how to do this but wanted to ask as well.
Foxwolfe said:
If you don't mind my asking what are the commands I can use to delete these files? I'm in the process of looking up how to do this but wanted to ask as well.
Click to expand...
Click to collapse
The easiest way would be to use Root Explorer, mount the /system partition as r/w, navigate to each of the two directories, long-press on the files and click delete.
Or you can do it in a terminal emulator: open a terminal and type the following commands:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
rm /system/recovery-from-boot.p
rm /system/etc/install-recovery.sh
Just flash this from recovery...
http://db.tt/cp7De8G
Sent from my Nexus One using XDA App
efrant said:
The easiest way would be to use Root Explorer, mount the /system partition as r/w, navigate to each of the two directories, long-press on the files and click delete.
Or you can do it in a terminal emulator: open a terminal and type the following commands:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
rm /system/recovery-from-boot.p
rm /system/etc/install-recovery.sh
Click to expand...
Click to collapse
Only the shell script has to be deleted. I'm not sure why everyone includes the other file as well.
GldRush98 said:
Only the shell script has to be deleted. I'm not sure why everyone includes the other file as well.
Click to expand...
Click to collapse
Not sure. The reason I do is because those are the two files that are added every time there is an update. Hence those are the two files I delete...
GldRush98 said:
Only the shell script has to be deleted. I'm not sure why everyone includes the other file as well.
Click to expand...
Click to collapse
What's the value in keeping the other file?
Sent from my Nexus One using XDA App
danger-rat said:
What's the value in keeping the other file?
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
None really. It just seems weird to arbitrarily delete a file that does nothing on its own.
GldRush98 said:
None really. It just seems weird to arbitrarily delete a file that does nothing on its own.
Click to expand...
Click to collapse
Because it's bloat. Those are the two files used to reflash the stock recovery on each and every boot. They have no other purpose. Why keep one? Or the other? Why not just get rid of them both?
Hi.
I am having problems flashing Amon_RA on my Nexus One.
I am currently running CWM 3.0.0.5 installed via ROM Manager, and i have switched back and forth between Amon_RA and CWM many many times before, using Rom Manager, but now it does not seem to work.
My phone is S-ON and running Newest MIUI Rom from MIUI.us.
I flashed from RA to CWM yesterday, and since that I have been sitting 6 hours trying to get RA back...
I did not find any working solutions searching the forums either, allthough more people seem to have the issue occationally.
Anyone have any idea how to fix this, or at least what's causing it??
I would be Very grateful!
Edit: In Rom Manager, after attemting to flash Ra, it sais the flash was successfull, and displays that Ra is installed, even after reboot, it tells me Ra is currently installed, but booting into recovery still brings up CWM...
Flash it from fastboot.
It works!
albundy2010 said:
Flash it from fastboot.
Click to expand...
Click to collapse
Tried, but did not work.
But, I EVENTUALLY FOUND A SOLUTION!
From here: http://forum.xda-developers.com/wiki/index.php?title=Nexus_One/Recovery_Images
For locked bootloader - flash_image using ADB only
Using "blind" flash_image method works for locked bootloaders, requires root and is sSLCD uitable for Nexus users that lost the ability to see their screen. Adapted from here.
Download Amon_RA's Recovery from one of the versions above - NOT INCLUDING 1.7.0.1 - to C:\.
Rename Amon_Ra's Recovery Image to simply recovery.img.
Download flash_image.zip and extract flash_image file to C:\.
Turn off the phone (possible by pulling the battery).
Press Volume Down + Power or Trackball + Power, the phone will boot into bootloader.
Select "BOOTLOADER", press Power.
Select "RECOVERY", press Power. The phone is working, but the screen shows nothing.
On the computer... Open a command prompt/terminal & navigate to the Android SDK Tools folder.
Type in the following commands:
Code:
adb shell
mount -o rw /system
mount -o rw /sdcard
exit
adb push C:\flash_image /system/bin/flash_image
adb push C:\recovery.img /sdcard/recovery.img
adb shell
chmod 755 /system/bin/flash_image
flash_image recovery /sdcard/recovery.img
rm /system/etc/install-recovery.sh
rm /system/recovery-from-boot.p
reboot recovery
Click to expand...
Click to collapse
Now I wonder, Why did I suddenly have to use this method to flash, when i have flashed both RA and CWM using Rom Manager hundreds of times before???
Edit: The guide above is for SLCD N1, mine is a AmOLED N1, yet, it was the only method i found that actually worked... Strage :/
CWM 3.xxx has been known to fubar things up here and there.
Sent from my Transformer TF101 using Tapatalk
[size=+2]Backup your rom and files before you start anything. You have been warned!!!!![/size]
[size=+1]If you have P7500-XWKG9 and rooted you can skip to step 7. Tnx to zaphyr[/size]
1. Download Stock Rom P7500-XWKG9 EUR 3G Only http://www.multiupload.com/SGV6N78YY7 [password: samfirmware.com] (Source http://www.samfirmware.com/)
2. Download ODIN3 V1.85 http://forum.xda-developers.com/attachment.php?attachmentid=581913&d=1304094576
3. Extract stock rom somewher on your computer also Odin, run Odin and don't touch anything except PDA where you will select previously extracted stock file.
4. Put Tab in Download mode, connect tab to computer, power off, hold power off and volume - till you see two icons then press volume + and if it ask are you sure pres volume + one more time and you are in download mode then ( order of buttons is _power_ _volume -_ _volume+_ )
5. You should see yellow background on first box of odin and that is good your Tab is ready to flash, then click start on ODIN and wait till it reboot.
6. Now we need to root your Tab, as it is on this topic, so download this and put it on the sdcard, then put your Tab to Recovery mode power off, hold power off and volume - till you see two icons then press volume - ,then volume + and you should go to apply update zip file and you will select this file and when it is done you should reboot your device.
6.1 Download & Install Bussybox installer market link from the market,
run it and superuser will ask to allow root access, you should allow it and then exit application, after that run it again and install bussybox, that is all... Tnx to ChronoWerX
7. Download Deodexed system files http://www.multiupload.com/4QZVAVUPW8
8. Extract downloaded file to sdcard so you have done_app and done_frame folders in the root of sdcard.
9. You should have adb installed or get it from the google, run next commands:
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
10. After that get back to recovery mode and wipe data/factory reset and reboot.
You have now fully deodexed and rooted GT7500-XWKG9 3G tab working and ready for making changes
----------------------------------------------------------------------------
[size=+1]Browser mod ( Desktop UA String as default ) CWM update.zip files : (credits to DocRambone who explained how to do this)[/size]
Browser_mod.zip
Restore:
Browser_restore.zip
Yeah! Finally! I'm gonna wait a little still, but this changes everything <3
Sent from my GT-P7500 using Tapatalk
zaphyr said:
Yeah! Finally! I'm gonna wait a little still, but this changes everything <3
Sent from my GT-P7500 using Tapatalk
Click to expand...
Click to collapse
This works 100% but you will lost all app and data coz it requires factory reset... Browser mod is comming for this rom today
secretfile said:
This works 100% but you will lost all app and data coz it requires factory reset... Browser mod is comming for this rom today
Click to expand...
Click to collapse
Mine is already @ p7500xwkg9 with root and and CWM, so I should skip to step 7?
Sent from my GT-P7500 using Tapatalk
zaphyr said:
Mine is already @ p7500xwkg9 with root and and CWM, so I should skip to step 7?
Sent from my GT-P7500 using Tapatalk
Click to expand...
Click to collapse
Yes i forgot to tell that you can skip to step 7. if you have all of these but be aware that data and apps will get erased i mean you can try without wipe data factory reset but each time i tryed that i got bootloop...
secretfile said:
Yes i forgot to tell that you can skip to step 7. if you have all of these but be aware that data and apps will get erased i mean you can try without wipe data factory reset but each time i tryed that i got bootloop...
Click to expand...
Click to collapse
Data and apps can be restored, no problem. I won't have access to a computer with adb for at least a week, as I'm hospitalized atm, but as soon as I'm home again I will try this for sure!
Sent from my GT-P7500 using Tapatalk
not worked for me, i became:
255|[email protected]:/ $ su
su
[email protected]:/ # stop
stop
[email protected]:/ # mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
[email protected]:/ # cp /sdcard/done_app/* /system/app/
cp /sdcard/done_app/* /system/app/
sh: cp: not found
Click to expand...
Click to collapse
zaphyr said:
Yeah! Finally! I'm gonna wait a little still, but this changes everything <3
Sent from my GT-P7500 using Tapatalk
Click to expand...
Click to collapse
Lol yes it does.... I know you have been waiting for this for a while
ChronoWerX said:
not worked for me, i became:
Click to expand...
Click to collapse
Hmm that is strange especially because CP is system function for copying, so my question is: did you run this commands with adb.exe?
secretfile said:
Hmm that is strange especially because CP is system function for copying, so my question is: did you run this commands with adb.exe?
Click to expand...
Click to collapse
yes i did, but i read that busybox is needed ... and there is no functional busybox for gt 10.1
ChronoWerX said:
yes i did, but i read that busybox is needed ... and there is no functional busybox for gt 10.1
Click to expand...
Click to collapse
There is, so i will edit my tutorial coz now when i think about it you need it...
what's the password for the rom zip? also, the link you have for ODIN actually goes to CWM - have a link for the correct version of ODIN to use?
thanks
EDIT: password: samfirmware.com
jrinco11 said:
what's the password for the rom zip? also, the link you have for ODIN actually goes to CWM - have a link for the correct version of ODIN to use?
thanks
EDIT: password: samfirmware.com
Click to expand...
Click to collapse
You are totaly right it is wrong pasted .. will fix it and tnx for reminding me that there is password...soon i will release CWM ROM for this so all this will be one Update.zip at the end
secretfile said:
There is, so i will edit my tutorial coz now when i think about it you need it...
Click to expand...
Click to collapse
what i have to do now?
ChronoWerX said:
what i have to do now?
Click to expand...
Click to collapse
https://market.android.com/details?id=com.jrummy.busybox.installer&hl=en This is the app that can install bussybox on your tab fully working with droidexplorer etc...
when flashing this rom in odin 3 v1.85, what options do we check? re-partition, auto reboot, f. reset time, flash lock?
jrinco11 said:
when flashing this rom in odin 3 v1.85, what options do we check? re-partition, auto reboot, f. reset time, flash lock?
Click to expand...
Click to collapse
don't check anything only default ones that are prechecked when you open odin
Step 3.
secretfile said:
https://market.android.com/details?id=com.jrummy.busybox.installer&hl=en This is the app that can install bussybox on your tab fully working with droidexplorer etc...
Click to expand...
Click to collapse
It works, perfect ... will install themed files by me later
theme mods for wxkg9 would be nice! specially a darker / black control bar. if someone did mods, share it please!
i have applied the mods from first post including the browser mod and now i get only corrupted 1kb files when i try to download a picture. dolphin browser does the same. what could i do to fix this bug?
edit: false alarm. does it only on one host (postimage.org) which is really often used in the wallpapers thread in the gtab 10.1 themes and apps section.