AppsToSD Looping! Help plz. - G1 Android Development

I've been trying to move my apps to my sd card for the past few days. I've tried just about every method on this board and they all result in the same thing, a looping Android screen. I've had to wipe my phone almost a dozen times during the past 2 days. I've partioned my sd card, 1.5 gb Fat32 and 500mb Ext2 and I can see the the system/sd folder when I type df in adb. Can anyone please tell me why it won't work for my phone.
I'm currently running Lucid's modded version of JF's 1.5 build.
Your help would be greatly apreciated!
Thanks

have you tried deleting everything under /system/sd/app(along with any other ones for caches if you tried those too)? Could be that there's some bad files in the app directory and every time you've tried copying the apps over it'd just be blocked because they're already there.

No I haven't tried that.
How would I go about doing that?

in terminal emulator:
su
busybox rm /system/sd/app/*
NOTE: if you get any errors from this don't continue, just post the error here. My guess is you will hit some but I'd like to see what they are.
and then try one of the methods again(my app would probably be easiest)

Have you tried Apps2Sd app here it is
http://forum.xda-developers.com/attachment.php?attachmentid=177501&d=1240018328

Okay, I've finally resolved the problem but I'm not sure how I did.
Today I had tried Lucid's way of moving the apps. I had wiped my phone downloaded his modded version of JF's 1.5 build then typed "lucid app" and "lucid data" into adb. When I rebooted my phone it looped at the android screen. So I then went back into adb and typed "lucid undoapp" and "lucid undodata" and rebooted my phone. My phone didn't loop at the android screen and came on. But strangely all my apps were back. It was strange because I had wiped my phone almost a dozen times trying to get my apps to sd and hadn't downloaded any apps in two days. But all the apps I had before wiping were back. So I then wiped my phone again and flashed the build again. In adb I tried:
su
busybox rm /system/sd/app/*
But it said no such directory so I typed in "lucid app" and "lucid data" then rebooted my phone. It came on normally and everything is working. And my apps are being downloaded to my sd card.
So after 2 days and a dozen wipes I finally accomplished moving my apps to my sd card. lol

Related

Tried apps to SD now phone wont boot!

I was trying to install my apps to my sd card today and now my phone wont reboot. This is what went down. I partitioned my 4g micro sd card, or so i thought. I used Paragon and it gave me an error after reboot;
invalid partition data- partition control blocks information incompatible"
So I restarted my computer. I checked on my phone and it showed i only had 3 gigs available. The partition i made was for 1, so i figured what the hell. It did work. I checked in Paragon and it showed the two partitions. Anyway, i proceeded to input the prompts in adb and it connected, but the second cmd wouldnt work $ mkdir /backup. I went ahead and followed the rest of the commands. At $ adb shell reboot the phone of course rebooted.
I didnt finish the last two commands but accidently restarted my phone. Now it hangs at the G1 screen. rooted g1 by the way.
I have wiped the data and cache, but of course that will do nothing in this case. So it does get me to that screen. I can also hold the camera and power and see my skating androids. But how do i get my phone to boot back up?
At the recovery utility using Alt X to get to console gives me a # prompt.
Help would be greatly appreciated guys, i dont have another phone haha!
Thanks
I'm guessing what you means by "I didnt finish the last two commands but accidently restarted my phone." is that you weren't able to do the "ln -s /system/sd/app /data/app"? If so then at that # prompt, you need to type those very same commands,
Code:
ln -s /system/sd/app /data/app
reboot
hopefully will work after that
Nope. Thats a no go. However, i decided to throw the update back onto my sdcard via sdcard reader. I put the sd card back in and its about done updating back to rc33. I'll report. Seems good so far.
Its all good!
Thanks
you wiped data and that symbolic link is still there?
I wiped my phone and want to redo the app to sd process, but the apps are still on my sd card ext2 partition is there a way I can restore those apps after a wipe or do I have to wipe the ext2 partition and just start over, if so how would I go about doing so.
Joeriginal said:
I wiped my phone and want to redo the app to sd process, but the apps are still on my sd card ext2 partition is there a way I can restore those apps after a wipe or do I have to wipe the ext2 partition and just start over, if so how would I go about doing so.
Click to expand...
Click to collapse
You've done accidentally what I did intentionally.
I moved apps and data over to the SD ext2 partition, then intentionally wiped the phone to start as fresh as possible.
I thought all I needed to do was recreate the symlinks with:
Code:
ln -s /system/sd/app /data/app
ln -s /system/sd/data /data/data
reboot
That should have worked, but didn't. Maybe you'll have better luck than I did.
I was using the LucidREM mod of the JF1.42 firmware which comes with scripts for moving the data and apps.
If you aren't using this version, you'll need repeat the whole manual process of modifying the mount.d and init.rc files so you can see the /system/sd partition on the card.
If you are, you can use the copy.sh undoapps and copy.sh undodata commands and that will put everything back on your phone. At that point it should be exactly as it was before.
If successful, you can try moving everything back either with the Market app, or one of the other scripts floating around on here....
For what it's worth, I never could get things to work when I moved /data/data.....I've had to keep that on my phone and just move the apps. Others seem to have more success moving both without issue.
Joeriginal said:
I wiped my phone and want to redo the app to sd process, but the apps are still on my sd card ext2 partition is there a way I can restore those apps after a wipe or do I have to wipe the ext2 partition and just start over, if so how would I go about doing so.
Click to expand...
Click to collapse
I can give you the code to do it, or you can just use my app that runs the same commands I'd give you. If you use the app just uncheck the checkbox before pressing the move apps to sd button. If you want to go the code route, follow my tutorial starting from the recovery terminal part.
EDIT: oh and 4phantomii: did you just do that code or did you rm -r /data/data and rm -r /data/app first? If you didn't remove the directories first I have no idea what that would do but it seems like it'd make a symlink INSIDE the /data/app and /data/data rather than making them the symlinks.

Apps2SD 1.5 stuck on android screen

So i managed to root and flash to JF 1.5 ADP then to lucidREMs 1.5 Apps2SD with my baseband version being 2.22.19.26I. It all booted up fine and everything is running fine, love cupcake btw. Then when i go to terminal and hit in the commands;
su
lucid app
lucid data
lucid dalvik
It does all of that but then if i get to the home screen or try to click home my phone just freezes and loops the "android" screen, the new one.
Anyone know a solution? Ive tried alt-w then alt-s a few times and still it freezes after apps to sd.
Thanks
Daf. said:
So i managed to root and flash to JF 1.5 ADP then to lucidREMs 1.5 Apps2SD with my baseband version being 2.22.19.26I. It all booted up fine and everything is running fine, love cupcake btw. Then when i go to terminal and hit in the commands;
su
lucid app
lucid data
lucid dalvik
It does all of that but then if i get to the home screen or try to click home my phone just freezes and loops the "android" screen, the new one.
Anyone know a solution? Ive tried alt-w then alt-s a few times and still it freezes after apps to sd.
Thanks
Click to expand...
Click to collapse
Your SD Card is not formatted properly.
.
I had the same type of problem last night with my apps to 2 sd. in order to get the phone to fully boot i had to do a wipe (ALT+W). I never could get the apps to SD to work correctly so if it works for you please let me know how you did it. I ensured the app and app-private folders were empty on my phone and sd cards EXT2 partition, now i see the apps in both places even though i didnt copy them. new apps appear to install in both places as well and my internal memory is still being used.
Daf. said:
So i managed to root and flash to JF 1.5 ADP then to lucidREMs 1.5 Apps2SD with my baseband version being 2.22.19.26I. It all booted up fine and everything is running fine, love cupcake btw. Then when i go to terminal and hit in the commands;
su
lucid app
lucid data
lucid dalvik
It does all of that but then if i get to the home screen or try to click home my phone just freezes and loops the "android" screen, the new one.
Anyone know a solution? Ive tried alt-w then alt-s a few times and still it freezes after apps to sd.
Thanks
Click to expand...
Click to collapse
Having the exact same issue. I am coming from RC33 with Apps on SD. I wiped and installed 1.5 without issue. However, when I try to update the links (lucid app, lucid data, lucid dalvik) to pull my apps off my SD, I get the same thing as Daf. I considered that my card wasn't partitioned correctly but the apps used to run off my sd card just fine so is it possible the format changed merely by flashing 1.5? I am out of ideas
It's not my SD card as i know its partioned with EXT2 and FAT and worked perfect when i was running on RC9 with Lucids mod. Im glad im not the only one, i guess we'll have to wait until we can find a fix but for now stick with our internal memory
Yeah, it happened to me when I try to use any type of method that's out there with JF 1.5 ADP build when trying to move the caches. No one replied when I asked, so I assume there is no solution or people just don't like helping. I tried to search the forum also, but that's not much of a help when I searched last time.
Funny thing is my gf's phone has this issue as well but my phone does not. No matter which way I try to get the apps 2 sd it won't take. Although hers did work with lucids modified 1.5 but only for a short while (1 day) then went into boot loop. Maybe it's the phone, which I suspect might be the case with hers.

Market Force Closing

So ive been trying to get apps2sd and i have succesfully done it by using apps2sd2 from the market to partition my card and then i followed the steps by Mailman below and it worked..all my apps were in the sd etc with 73 MB free...but when i click on market...it gives me an option that there is no connection when in fact i do and 2 seconds after it showa the force close message.. anyone have any idea how to fix this?
I had the same issue, had to do a full data wipe to fix it.
well seems that a full data wipe fixes it, but then when i input the commands in the terminal emulator
lucid app
lucid data
lucid dalvik
so i can get everything to the sd card it starts doing the same thing again..any ideas what is causing it?
I'm unfamiliar with the method you're using to get your apps on your SD card - mine are running on the SD card also, but I used the good ol' symlink method to do so...
It would appear your marketplace can't access your apps, or, is being locked out of something - perhaps a permissions issue on your sd partition? I had that issue when I first set up mine. All the apps were copied over with the same user/group and the market place freaked out.
The only way I was able to fix it was to copy all my apps off the sd partition to my computer, do a full datawipe, nuke all my apps, and reinstall them.
I set up a shell script that took the contents of ~/apps/*.apk and sent each to adb install, on its own line, and automated the whole thing. Took about 3 minutes to reinstall my 80 or so apps, and it restored all the app permissions to what they were supposed to - market didn't have a problem afterwards.
futango said:
I have found my problem. This works great. I can't have data on my SD or it will be really sluggish. I redid the flash and the commands, but left out "lucid data" and the phone has 72MB free and feels fast again.
Click to expand...
Click to collapse
Don't move the data and everything should work fine.
i see what your saying. ill have to try that out, but now it seems that after i wiped my data and pressed home+back to reboot my phone it is stuck at the T mobile G1 screen and doesnt want to do anything at all anymore...it just got worse.any way to fix this? ove tried wiping again and i formatted my dscard so no update to reinstall..what should i do?
just wait... when you wipe under the new builds, it may take 10mins to boot for the first time.
also I don't know how it is possible to do app2sd with terminal emulator. when you rm dalvik-cache or app that program should crash before the shell script or command finish
I had this happen as well.. more than once.
And each time it was a result of moving the "data" over to the SD card.
I finally learned my lesson... and my phone is now solid.
Hi,
My experience on 5.02 h is that the data move does not work correctly also.
I have moved the :
apps
apps-private
davik-cache
without any problems.
85 apps installed and 61 megs free with this method.
Browser and market cache cleared 1st.
I found this to be an issue only when I had tried to make my EXT2 partition too big (Over 2GB). Exact same error, moving data to the SD, Market crash. The problem was tied to moving the data though.
I had the same problem. It apeard after I installed TA utility.
The problem is that Market is looking for it's cache directory and can't find it. In my case it's looking for it on the SDcard and I have to make the directory myself: /sdcard/cache/market.
If you have not attempted to move the Market cache to SD you might want to see if you have a /cache/market in your internal memory, and if not create it.
It should solve your problem. (worked for me)
im having the same problem too.. the Application section doesn't work for me, but im able to still go into the Game section. i tried adding a cache folder to the SD still doesnt work

HTC HERO -Loaded new rom, can't find an option to partition SD to run Apps2SD

I've been crawling forums looking for several ways to partition my SD, but to no avail.
Recently upgraded from damagecontrol 2.08 to 2.09. Bought a new 8gb micro SD.
I'd like to partition the SD card so that Apps2SD runs, and I remember the first time I rooted my phone and loaded a rom, there was an option in recovery to partition the SD card. Now, my phone boots into clockworkmod recovery v1.8.1.4, and the list of commands doesn't include a card partition option.
How can I get this option back?
I resorted to using adb and trying to work around this problem through the command line, but all of those attempts failed. "parted not found" etc.
I'm at my wit's end and my school work is suffering! (I'm crazy if my phone is not working perfectly) PLZ help this girl stay in med school!
Try this thread and let me know if that's what you're trying to do.
Actually I found that post after the fact that I set my hero back to factory settings in desperation.
What I did with my rooted and fully functioning hero was...
back up apps
changed SD cards
set to factory settings via an option of the clockwork recovery
updated my rom to damagecontrol 2.09
found that apps2sd wouldn't work
tried to get back SU capabilities unsuccessfully
tried to mimic my first root and flash attempt unsucessfully with flashrec
Now I'm stuck with a slowed down hero which can't allow Su and won't do apps2SD
I'm at the point of insanity with this thing
any sugestions?

[Q] Writing to interal sdcard flash (/mnt/sdcard) galaxy s i9000 not possibe

Hello !
I have a big problem with my galaxy s.
Since January i am working with my JPY firmware quiete fine. On sunday the phone rebooted without anything done by me. Afterwards my homescreen was empty.
Most of my apps are not working now. So i have done a wipe. Nothing, the same. Interesting is, that all my data was still on the device. Then i try to format the internal sd. Not working, no error message. When I delete all files and deinstalled all apps, everthing was gone. After a reboot all data is back on the internal sd as before.
OK then i tried to flash different 1 and 3 file firmware versions with odin(also with repartitioning). But no version is really working and i never get to the homescreen. So I flashed the JPY back. Then everything is like before my first steps. All data is on the phone, i can not delete anything.
I tried do delete the storage also with recovery mode. Nothing.
I tried with adb (android sdk), deleted all files in /mnt/sdcard. After a remount all data appears back.
What can i do to get my phone working ? I have found no possibility so far.
Thanks in advance for your help!
Frederik
Fred001 said:
Hello !
I have a big problem with my galaxy s.
Since January i am working with my JPY firmware quiete fine. On sunday the phone rebooted without anything done by me. Afterwards my homescreen was empty.
Most of my apps are not working now. So i have done a wipe. Nothing, the same. Interesting is, that all my data was still on the device. Then i try to format the internal sd. Not working, no error message. When I delete all files and deinstalled all apps, everthing was gone. After a reboot all data is back on the internal sd as before.
OK then i tried to flash different 1 and 3 file firmware versions with odin(also with repartitioning). But no version is really working and i never get to the homescreen. So I flashed the JPY back. Then everything is like before my first steps. All data is on the phone, i can not delete anything.
I tried do delete the storage also with recovery mode. Nothing.
I tried with adb (android sdk), deleted all files in /mnt/sdcard. After a remount all data appears back.
What can i do to get my phone working ? I have found no possibility so far.
Thanks in advance for your help!
Frederik
Click to expand...
Click to collapse
try to update it using kies or if u have latest version then try flash your device using odn flasher
Thanks for your help harmandeep45. But all this is already done. I worked on this issue little longer and can say that there is some unrepairable problem with the internal sd. I can not delete any partition neither with adb (parted /dev/block/mmcblk0p1 rm). When I do a print everything is there. I am able to mount and unmount the partitions. No problem. But it is not possible to reorganize them. Even if i write on the sdcard partition, after a remount it is as before the write. Maybe the flash memory is broken. Does anybody had the same issue? I already tried the things written in this post, but without luck : http://forum.xda-developers.com/archive/index.php/t-845708.html
I have the same problem, i had installed another firmware on my sgs and start throwing me program errors I had before in my other firmware and when it comes to memory I saw that the folders that were there had not cleared and when I trying to delete the folders and files reappeared.
Ok, what i have tested is to flash different firmware versions. Nothing worked. I used the debug console adb to log in and tried to delete the partitions from /dev/block/mmcblk0 with parted. Nothing happens. I am not able to delete them. I don't want to send the phone to the samsung service, because there is important company data on it, like emails, banking, ebay, etc. I tried to mount it in Linux as usb memory device and used gpartet to create new partitions and overwrite all with dd if=/dev/zero of=/dev/sdb1, but after reboot everything was like before. Is there any other possibility to delete the flash???
Fred001 said:
Ok, what i have tested is to flash different firmware versions. Nothing worked. I used the debug console adb to log in and tried to delete the partitions from /dev/block/mmcblk0 with parted. Nothing happens. I am not able to delete them. I don't want to send the phone to the samsung service, because there is important company data on it, like emails, banking, ebay, etc. I tried to mount it in Linux as usb memory device and used gpartet to create new partitions and overwrite all with dd if=/dev/zero of=/dev/sdb1, but after reboot everything was like before. Is there any other possibility to delete the flash???
Click to expand...
Click to collapse
you have to flash it with jtag box riff, but I doubt you have one, you have to find a place where they have the box

Categories

Resources