Apps to SD Problem on Haykuro H Build - G1 Android Development

I've been using Haykuro's G build because H has never worked for me. But now with the market problem I'm needing to switch to H because there are a lot of apps I want to download.
When I flash over to the H build and try to setup apps to sd, I always get stuck in a boot loop and I can't seem to figure out why that is. I thought maybe it was an app I had on my sdcard so I formatted both partitions and it still doesn't work.
If anyone can help it'd be greatly appreciated. =)

1st: you are trying the apps to sd H build right(not just the normal H version)?
2nd: what steps are you doing to try apps to sd and are any reporting errors?
3rd: are you trying to move the app cache also(/data/data)? If so that might be your problem.

It's the apps to sd version and I was just following the steps on the wiki pg.
http://android-dls.com/wiki/index.php?title=Haykuro_Apps_to_SD
And no I wasn't trying to move cache.

Hmm try going into the recovery terminal and do the following:
Code:
mount data
cd data
ls -l
look for the app directory listing and tell me what it says on that line(it'll probably carry over to the next line as well)
If the app directory doesn't exist well... then there's your problem.

app -> /system/sd/app
is that what you needed?

xocassidychick15ox said:
app -> /system/sd/app
is that what you needed?
Click to expand...
Click to collapse
Hmm ya, that looks correct. Was there anything else with that "->" next to it? If not, something is wrong with the sd card setup. Either /system/sd/app doesn't exist or the partitions aren't set up correctly. As a temporary fix(if there's nothing else with a '->') you can do this:
Code:
rm /data/app
mkdir/data/app

The only thing else that has '->' is:
app-private-> /system/sd/app-private

Hmm not looking good... try the code segment I put before, it should at least let you get into your phone. From there you can look into the /system/sd directory and make sure everything is correct.
EDIT: by not looking good I meant all that is correct which means it's something that'll be harder to fix.

When I try to enter the code it says:
rm /data/app
rm: cannot remove '/data/app' : No such file or directory
mkdir/data/app
sh: mkdir/data/app: not found

And when I look in /system/sd all it shows is lost+found
When I tried the code in ADB the first part went through but it still said
mkdir/data/app: not found

wfirst: there's a space between mkdir and /data/app.
also: you didn't restart the phone or anything since typing in the "mount data" bit have you? If so you need to type that again before doing that code segment.
EDIT: PM me your answers, I'll try to solve this through pm.

This has been solved. Reflashing the ROM fixed it.

The same thing happened to me. Went from 5.01G apps to SD, to 5.01Hr3 apps to SD. After setting up and changing the references to have apps point to the SD card (note that I already had apps on the SD card), all my apps appeared after rebooting. When I tried to reboot again, that's when I saw the endless HTC logo loop.
I reflashed the phone and it seemed to fix it. However, the phone later locked on me and I had to reboot by removing the battery. When the phone started again, I got the HTC logo loop.
I ended up going to Dude's G release instead. Hope someone figures this out.

Related

Still not going to SDCARD

Hi, I've did everything, rooted, rc30 and etc.
but I've checked the Sdcard today after some heavy web browsing, and it looks like there is still nothing there. I looked at the applications memory, I used 10MB... Is it still putting it on the phone memory?
and plus when I tried moving the cache to the sd card again, and typed in, "cd /data/data/com.android.browser/cache" it said cannot cd to that directory.
hmmm, wtfs wrong?
samething with the market...
xdviper said:
Hi, I've did everything, rooted, rc30 and etc.
but I've checked the Sdcard today after some heavy web browsing, and it looks like there is still nothing there. I looked at the applications memory, I used 10MB... Is it still putting it on the phone memory?
and plus when I tried moving the cache to the sd card again, and typed in, "cd /data/data/com.android.browser/cache" it said cannot cd to that directory.
hmmm, wtfs wrong?
samething with the market...
Click to expand...
Click to collapse
it cannot CD to the directory because it does not exist.
Alright, so is that supossed to happen then? Why isn't it moving the cache to the cache folder in the sdcard? I've just done the market one and it worked perfectly.
I was having a similar problem. Just get JF's 1.31 update and do this:
Browser Cache
cd /data/data/com.android.browser/cache
rm -R webviewCache
mkdir /sdcard/cache/webviewCache
ln -s /sdcard/cache/webviewCache webviewCache
oxeneers said:
I was having a similar problem. Just get JF's 1.31 update and do this:
Click to expand...
Click to collapse
alright have it... I installed RC30 with JF's 1.31
arghh, i've tried it again after a reboot and it's not seeing that directory.
xdviper said:
alright have it... I installed RC30 with JF's 1.31
arghh, i've tried it again after a reboot and it's not seeing that directory.
Click to expand...
Click to collapse
are you in root?
in terminal emulator, make sure you type su first.
It will change the $ to # denoting you have root.
andonnguyen said:
are you in root?
in terminal emulator, make sure you type su first.
It will change the $ to # denoting you have root.
Click to expand...
Click to collapse
yeah I *MADE* sure i was in root, argh its still not working... if that directory is not there, then where would the cache be going too then?
edit, i've checked the markets cahce with astro, and it's filling up nicely, still nothing from the browser....

German DREA110: JF 1.5 cupcake and not working Market/Data Sync?

Hi all there,
today i updated my JF ADP firmware to JF ADP 1.5 Cupcake + new radio and actually i cannot use the Market application or the Data synchronization tool. Furthermore i get force close message while trying to start PowerManager.
After a few experiments with the JF Cupcake firmware i tried the Haykuro Cupcake edition too, but without success. I get the same messages.
This might be the reason for my problem: The device is a german DREA110 G1...
I hope there is someone who could help me before i brick the phone while trying to reupdate
Thanks in advance for your help!
eldorado2705 said:
Hi all there,
today i updated my JF ADP firmware to JF ADP 1.5 Cupcake + new radio and actually i cannot use the Market application or the Data synchronization tool. Furthermore i get force close message while trying to start PowerManager.
After a few experiments with the JF Cupcake firmware i tried the Haykuro Cupcake edition too, but without success. I get the same messages.
This might be the reason for my problem: The device is a german DREA110 G1...
I hope there is someone who could help me before i brick the phone while trying to reupdate
Thanks in advance for your help!
Click to expand...
Click to collapse
When you play with these roms, are you also playing around with apps 2 sd at the same time ?
I have a german g1, from that electron something store, and it is working perfect with jf's latest! It also works perfect with hay's 1.5'er !! The only one i havnt tried is the dudes!
And i can state that mine is rooted, with skatebord spl, and the special recovery thingy with nandroid 2.1 in!
Furthermore i do use apps 2 sd!
Guides i've used is
Apps 2 sd : http://forum.xda-developers.com/showthread.php?t=504235
fastboot glitch on my vista 64bit : http://forum.xda-developers.com/showthread.php?t=486667
Rooting, downgrading etc: http://forum.xda-developers.com/showthread.php?t=442480
My procedure when upgrading has always been whipe, update, whipe, and reboot! After that everything usually works flawlessly!
Hope you get your issue fixed! Try a reboot!! It might just be a glitch!
EDIT: We are talking about the dream with a keyboard that is qwertz and not a qwerty right ? Where the buttons Z and Y have been switched in place?
yes its the qwertz keyboard, i did not really play with the roms, i just updated many times the apps to sd and the normal version of haykuro and the one in all edition of JF but there is the problem with data sync and market... I have got the spl with the skateboard too, i updated very often in past and i know how it works, are there any important things i have to pay attention before updating? i installed the radio like it was said in JF blog and hoped downloading the zip file and renaming it in update.zip would be all ... thanks for the fast answer mate
Nah, tbh when i did the apps 2 sd first my fubared too!
I did another whipe, then i let it start up, and get registered and all that stuff. I ended updownloading 5-10 apps aprox, then i did the app 2 sd like this
First i went into the terminal and went into system/sd and used busybox to delete the folders from the old system, all of them! incl lost+found!
Then i began on the app 2 sd..
busybox cp -a /data/app /system/sd/
busybox cp -a /data/app-private /system/sd/
busybox cp -a /data/data /system/sd/
exit
exit
Rebooted into recovery,
mount data
rm -rf /data/app
ln -s /system/sd/app /data/app
rm -rf /data/app-private
ln -s /system/sd/app-private /data/app-private
rm -rf /data/data
ln -s /system/sd/data /data/data
Rebooted back to normal, and let it start up fully.. Once it had been there for a min or 2, i did the last step with the dalvik in the terminal, back to recovery, do the rm -rf and ln -s steps, let it stand there a min after being done in the recovery terminal, and then i rebooted. And then it worked..
My theory was either i fubard at a step, or the sd card couldnt keep up, and might have corrupted somewhere along the lines..
My guess your prob suffering from a buffer crash or something like that
i downloaded the cupcake file from jf updater again but nothing changes.. The new firmware is installed successfully but all my contacts or the apps like ahome are like before :S .. What do you mean exactly with wiping (only a reset to factory default?) ?
In my case i installed the new JF 1.5 without wipping my phone, and as you said i got all my application as before, thats because i didnt WIPE, was not necessary in my case, i guess you can wipe your phone( restore ur phone to the beggining) when you are having problem with the build like SU permission or using task manager or cam recording.
The way is to hold the home and the RED button for approximately 20 seconds, once you see the triangle with an exclamation point and a picture of the G1 press Alt+W (can also press Home+Back to reboot).
1. Wipe
2. Update firmware
3. Wipe once more.
nice just needed to wipe the phone to factory default Thank you very much for help
kind regards

n00b wants to delete unused apps from Cyanogen. Help with code?

Ok, I'm a total novice.
I have G1 that I just put 5.0.8 on.
It's running pretty well, but there are apps I want to get rid of.
Specifically, the News & Weather app (and widget) & the generic email app.
I'm trying to free up some space.
I went to Cyanogen's wiki page about this but I can't make heads or tales of it.
ANy help would be appreciated.
Maybe im wrong but i dont think you can delete the ROM's pre-installed apps once its installed.
You can remove them before flashing the rom but this can to stop it from working depending what apps you remove. (i seem to have had problems removing the facebook app and the rom wouldnt boot :/)
If you want more space, just partition your SD card with a few hundred MB.
You've already managed to get 5.0.8 on there, so this is just a few extra steps-- just remember to back up your SD card contents to a folder on your computer and restore the contents once you're done, 'cause this will wipe your card, but it's super easy.
Then you have more space for apps!
Just go to the Apps2SD page on wiki.cyanogenmod.com and then use the instructions "via Amon_RA recovery" which I think is the simplest.
i thought the latest CM had apps2sd already..
It's simple:
wiki.cyanogenmod.com/index.php/Barebones
sinistersai4d4d said:
I went to Cyanogen's wiki page about this but I can't make heads or tales of it.
ANy help would be appreciated.
Click to expand...
Click to collapse
land70 said:
It's simple:
wiki.cyanogenmod.com/index.php/Barebones
Click to expand...
Click to collapse
As I stated before I tried that already.
Fitchman said:
If you want more space, just partition your SD card with a few hundred MB.
You've already managed to get 5.0.8 on there, so this is just a few extra steps-- just remember to back up your SD card contents to a folder on your computer and restore the contents once you're done, 'cause this will wipe your card, but it's super easy.
Then you have more space for apps!
Just go to the Apps2SD page on wiki.cyanogenmod.com and then use the instructions "via Amon_RA recovery" which I think is the simplest.
Click to expand...
Click to collapse
Yes I did that. I have 457 mbs available for apps etc. But I want to remove the apps that came preinstalled in the rom and I can't make heads or tailes of the BareBones wiki. I don't know what to enter into the terminal.
http://www.youtube.com/watch?v=t_vv4Ae2u-A
This video made it more clear.
When I type mount -o rw,remount /system, I get
(Usage: mount [-r] [-w] [-o options] [-t type] device directory)
I know this means that I'm not doing something right?
but then I rm -f /system/"file name" and I get
(rm failed for -f, Read only file system)
can anyone help with why the moount/remount isnt working?
I've tried this both on the phone, and running in an adb shell on my mac.
Cheers
I think someone mentioned this in an earlier post but you can delete them from the ROM before you flash it. Just use 7zip to open archive and delete from there.
Sent from my PC36100 using XDA App

[Q] XT720: App2SD gets destroyed after Factory Reset?

Hey guys,
Can some one confirm this for me?
So i installed App2SD (as App2Card is a little panicky at times, it works when it feels like, and not when it doesn't like it), it works great until the point you decides to do a Factory Reset (because AOS will not allow you to delete the 1st account you used to sign up to the phone), and then if you try to reinstall the hundreds of apps that fit in properly before, now they don't go to the SD but instead they remains in the internal memory storage space.
That's understandable in a way, but the annoying thing is, if you try to install.sh again to re-apply App2SD then it complains that the ext2.ko file is already there and wont do anything.
the only way i've found to get around that is to reFlash the ROM, which is a major pain in the back. as you will need to reRoot, reOptimize, reEverything again...
Is there any easier way to reEnable App2SD after a Factory Reset?
Have anyone tried this?
Settings > Privacy > Factory Data Reset
after that, if you install apps from Market they will not get installed to SD, it'll just stay in the phone internal memory.
if you run the install.sh again from the App2SD script, it complains that the ext2.ko is already there and it wont do anything.
I'm very new to to this but my guess is that the files are still on the SD. I would try backing up anything you want to keep from the sd card & then reset up the SD card from scratch again before trying to run the script.
HTH
Flash your phone with RSDLite and then use the script. To answer your question, yes, factory reset does screw with APP2SD.
AG,
Have you tried sh install.sh -f
last time, it works for me. if it's not working for you, just open the install.sh file with a text editor and comment out the line that install the ext2.ko file. then, run the script again.
spiderx_mm said:
AG,
Have you tried sh install.sh -f
last time, it works for me. if it's not working for you, just open the install.sh file with a text editor and comment out the line that install the ext2.ko file. then, run the script again.
Click to expand...
Click to collapse
ohhh.. yeah -force, i'll try that again and see how it goes.
that is way better than having to Reflash the ROM every time, just to be able to do the App2SD
the XT720 is an awesome phone, the only flaw i can see in the phone is the boot up time is horribly looooong, it takes forever to boot up, everything else is perfect.
Update:
it did not work same error
Code:
Installing APPS2SD, please wait...
insmod: init_module '/system/lib/modules/ext2.ko' failed (File exists)
Error loading ext2.ko, exiting script ...
seems like the only way is to keep flashing the ROM then do everything from scratch
So just reflash then?

[Completed] can't get Radio3.apk back onto phone

Hi folks,
I removed Radio3 from /system/app because I was having an issue with my headphone jack and therefore the app wasn't useful (this is the stock FM Radio app that uses my phone's internal tuner).
Now, mysteriously, my headphone jack seems to be working again and so I wanted to put the Radio app back. Well, I've run into problems.
I have the original flashable firmware that I was using, so I mounted system.ext4 on my computer at /mnt/ and went to app/Radio3. Here, I found Radio3.apk and nothing more.
So, I've tried this three ways, one way is that I adb shell and then su. Then
Code:
# mount -o remount,rw /system
# mkdir /system/app/Radio3
Then I chmod and chgrp Radio3 so that it looks just like all of the other dirs in /system/app
Then I copy Radio3.apk into that dir and chmod and chgrp it as well. Reboot the phone and that's fine, but the app isn't installed, I don't see the icon in the app drawer. If I go to the apk in FileManager, I can click on it and the installer opens up, I say, sure install it and it says "App not installed" (what a helpful error message!?).
Okay, so I try another way, while still root, I say "pm install Radio3.apk", in this case, I get [INVALID URI].
Okay, so I try another way, this time I say exit and now, on my machine, I simply try to use adb to install the apk, "adb install -r Radio3.apk", in this case:
Code:
[email protected]:/mnt/app/Radio3$ adb install -r Radio3.apk
5446 KB/s (2667450 bytes in 0.478s)
pkg: /data/local/tmp/Radio3.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
Does anyone have any advice on how to get my Radio app working again without reflashing /system? I don't want to reflash /system because I've removed a lot of bloatware and I don't want to have to redo that.
Thanks for any tips or tricks!
In case it helps, I've attached the Radio3.apk to this thread. EDIT: I couldn't figure out how to add a file to the thread, but I'll happily post it somewhere if someone wants to look at it. In any case, it's just the stock Radio3.apk from Sony for their Z3Compact firmware.
Problem solved.
I think I didn't have all of the perms and grps set correctly. I triple checked everything in /system/app/Radio3 and rebooted and I saw (app 1 of 1 optimizing upon reboot). Well, now I find the icon so I can say this issue is solved.
Unfortunately, trying to run the app force closed But that's a separate issue so I'm closing the thread.
Cheers,
--apexofservice
apexofservice said:
Problem solved.
I think I didn't have all of the perms and grps set correctly. I triple checked everything in /system/app/Radio3 and rebooted and I saw (app 1 of 1 optimizing upon reboot). Well, now I find the icon so I can say this issue is solved.
Unfortunately, trying to run the app force closed But that's a separate issue so I'm closing the thread.
Cheers,
--apexofservice
Click to expand...
Click to collapse
Glad you got it sorted
Regards
Sawdoctor

Categories

Resources