Still not going to SDCARD - G1 Android Development

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....

Related

Android Browser build that AutoRotates

Here's a recompiled version of the Browser that supports auto rotate.
Here's the download location for the Browser.apk:
http://www.koushikdutta.com/2008/12/auto-rotate-for-android-browser.html
Run the following from the command prompt to install the new Browser:
Installation Instructions:
adb remount
adb shell rm /system/app/Browser.odex
adb push Browser.apk /system/app/Browser.apk
Now start up the Browser.
You may not have a Browser.odex depending on your phone model.
The change, as I mentioned before, is really trivial. In the BrowserActivity.onCreate, I did the following:
// the next line is the original code
// setRequestedOrientation(mSettings.getOrientation());
// make it use the sensor for orientation instead.
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR);
To restore the original Browser, flash RC30 again.
Koush, thanks so much! I have been waiting for this!
i can't get it to install and now the browser don't work and i can't install the back up
I'm getting no space available when pushing the browser.apk
JF rc30 v1.2
kron2 said:
i can't get it to install and now the browser don't work and i can't install the back up
Click to expand...
Click to collapse
You can't get it to install? Could you be more specific?
saul972 said:
I'm getting no space available when pushing the browser.apk
JF rc30 v1.2
Click to expand...
Click to collapse
Your /system partition ran out of room. Is there something you can delete from there? I've seen this before as well on some of my company's phones; I usually end up deleting some ringtones or other junk files.
took a couple of tries but installed now...thanks!
fyi i rebooted phone to initially install the new Browser. I first got errors w/o rebooting so that may fix the problem
I had the same problems with the new browser crashing and then being told that the file couldnt be copied due to lack of space,
Easiest fix is to just reinstall rc30 or rc8 and install the patched browser again.
Worked fine after that
Koush said:
Your /system partition ran out of room. Is there something you can delete from there? I've seen this before as well on some of my company's phones; I usually end up deleting some ringtones or other junk files.
Click to expand...
Click to collapse
Not sure.
Here's the message
failed to copy 'Browser.apk' to 'system/app/Browser.apk' : no space left on device
SGTDavePwnage said:
I had the same problems with the new browser crashing and then being told that the file couldnt be copied due to lack of space,
Easiest fix is to just reinstall rc30 or rc8 and install the patched browser again.
Worked fine after that
Click to expand...
Click to collapse
Will I need to start the process again?
saul972 said:
Will I need to start the process again?
Click to expand...
Click to collapse
Its basically telling you that it cant copy the file because of lack of space withing the system partition.
As koush advises, if you know how to clear space that will fix the problem.
If you dont know how to remove things and are a bit unsure of what to do, reinstalling the modified rc30 / rc8 will reset the system partition back to its defaults.
Once your back and set to default you can try to install again if you want
I'm assuming this is for those who have root access only?
If so, it would be nice to state that when posting these mods.
Henchman said:
I'm assuming this is for those who have root access only?
If so, it would be nice to state that when posting these mods.
Click to expand...
Click to collapse
Yes this requires root access,
I can see what you are saying about perhaps specifying in the post when something requires root access, but when you look at the instructions in this case its quite obvious that this one does require root.
PS.... Cheers for the upload Koush
SGTDavePwnage said:
Yes this requires root access,
I can see what you are saying about perhaps specifying in the post when something requires root access, but when you look at the instructions in this case its quite obvious that this one does require root.
PS.... Cheers for the upload Koush
Click to expand...
Click to collapse
Obviouse to em...
But probably not to everyone.
And you know the old saying. When you Assume...
where do i put Browser.apk to install it on the sd card and if so how do i use adb to see it or do i push it from like c:\browser.apk \system\app\browser.apk
SGTDavePwnage said:
Its basically telling you that it cant copy the file because of lack of space withing the system partition.
As koush advises, if you know how to clear space that will fix the problem.
If you dont know how to remove things and are a bit unsure of what to do, reinstalling the modified rc30 / rc8 will reset the system partition back to its defaults.
Once your back and set to default you can try to install again if you want
Click to expand...
Click to collapse
Finally got it!!! Thanks for your help
kron2 said:
where do i put Browser.apk to install it on the sd card and if so how do i use adb to see it or do i push it from like c:\browser.apk \system\app\browser.apk
Click to expand...
Click to collapse
Place it in the tools folder of the SDK folder on your PC
thx joshoowa i installed it finally i did have it in the tool folder but would not install but after several tries it did i was starting to think i was installing it wrong
I've deleted most of my .ogg audio related tones in the /media/audio folder but i still get no space left. what else can i delete?
btw i'm using adb shell rm /xxx/xxx/xxx/xx.ogg to delete. is that right?
Hey Hey!!!...
Had to free up some room, but it works great..
Thanks..

problem with a app after update

after wiping rooting and updating to rc33 jf1.41 the walkie talkie app force closes upon opening it any help would be greatly appreciated to get it running again.
edit. The application walkie talkie - push to talk (process com.rcreations.ptt) has stopped unexpectedly.
muttley06 said:
after wiping rooting and updating to rc33 jf1.41 the walkie talkie app force closes upon opening it any help would be greatly appreciated to get it running again.
Click to expand...
Click to collapse
talk to the developer .. either one of two choices:
1. you did something wrong on your phone
2. the developer needs to update the app
you pick
LucidREM said:
talk to the developer .. either one of two choices:
1. you did something wrong on your phone
2. the developer needs to update the app
you pick
Click to expand...
Click to collapse
As i knew you would reply thanks again is there a way to set one application to run off the phone?
muttley06 said:
As i knew you would reply thanks again is there a way to set one application to run off the phone?
Click to expand...
Click to collapse
not really sure how well that would work .. do you have everything moved to EXT2?
/data/app -> /system/sd/app
/data/app-private -> /system/sd/app-private
/data/data -> /system/sd/data
have you been to the blog?? http://hit-mob.com/
there's some statement about recoding for RC33
LucidREM said:
not really sure how well that would work .. do you have everything moved to EXT2?
/data/app -> /system/sd/app
/data/app-private -> /system/sd/app-private
/data/data -> /system/sd/data
have you been to the blog?? http://hit-mob.com/
there's some statement about recoding for RC33
Click to expand...
Click to collapse
yes i have been to the blog and i have the most recent update
i have done your .42 and ran the cache.sh command
app and app private i am not sure about i ran some batch files that moved somthing but what i dont know.
muttley06 said:
yes i have been to the blog and i have the most recent update
i have done your .42 and ran the cache.sh command
app and app private i am not sure about i ran some batch files that moved somthing but what i dont know.
Click to expand...
Click to collapse
try your "ls -l" screen on things like
#ls -l /data
#ls -l /system/sd
seems strange that it would be isolated to that one app .. unless there's more going on
LucidREM said:
try your "ls -l" screen on things like
#ls -l /data
#ls -l /system/sd
seems strange that it would be isolated to that one app .. unless there's more going on
Click to expand...
Click to collapse
#ls -l /data app-> /system/sd/app
appears and app-private same so it is on sd?
#ls -l /system/sd
app
app-private
data
lost-found
edit: i just did this http://forum.xda-developers.com/showthread.php?t=482395
and now browser contacts maps are all "not installed"
can u get on aim? i know your prob at your 9-5

Stuck on the main screen

I installed Gucci theme and deleted my old lost theme before doing that.. everything was going good until the T MOBILE G1 screen. I been stuck on that screen for an hr now. I tried to do a hard reset by doing ALT w thing.. it didnt worked either..can any1 please help me?
JF 1.42
RC33
shilster said:
I installed Gucci theme and deleted my old lost theme before doing that.. everything was going good until the T MOBILE G1 screen. I been stuck on that screen for an hr now. I tried to do a hard reset by doing ALT w thing.. it didnt worked either..can any1 please help me?
JF 1.42
RC33
Click to expand...
Click to collapse
try this you already wiped try reinstalling the jf1.42 rc 33 and that will get you back to where you were before trying to install the theme. and make sure you have the apps and data on sd card before proceeding.
obe1 said:
try this you already wiped try reinstalling the jf1.42 rc 33 and that will get you back to where you were before trying to install the theme. and make sure you have the apps and data on sd card before proceeding.
Click to expand...
Click to collapse
how do i reinstall Jf1.42 rc33? and how do i mkae sure bout the apps and the data?
I tried to connect it to my laptop thru data cable. it shows lil usb thing on the screen but i cant open the folder. n i dont have a card reader. so idk wht i shud do.
shilster said:
how do i reinstall Jf1.42 rc33? and how do i mkae sure bout the apps and the data?
I tried to connect it to my laptop thru data cable. it shows lil usb thing on the screen but i cant open the folder. n i dont have a card reader. so idk wht i shud do.
Click to expand...
Click to collapse
i had this same problem, browsing thru the forums i found an answer
boot in to recovery console
where u suppose to press alt + s ect
asuming you have your usb drivers. and have the android sdk type this
adb shell
and then when it goes to #
type
echo /dev/block/mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file
that mounts your sdcard and you would be able to transfer the zip file you want to flash
im no expert hope that helps
Nitro212 said:
i had this same problem, browsing thru the forums i found an answer
boot in to recovery console
where u suppose to press alt + s ect
asuming you have your usb drivers. and have the android sdk type this
adb shell
and then when it goes to #
type
echo /dev/block/mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file
that mounts your sdcard and you would be able to transfer the zip file you want to flash
im no expert hope that helps
Click to expand...
Click to collapse
i typed in everything and when i press enter it didnt do nything.. it says
/ #
cant u access the driver after it shows # again>?
edit: this person had your same problem is where i found my solution
http://forum.xda-developers.com/showthread.php?p=3270486
umm i think u were right.. i entered alt x to go in the console.. i typed in w.e u wanted me to..
i got it right.. but now im stuck on flashin android screen.. lol
ok did u transfered the build to the sdcard? and flshed it? alt + s?
might try a wipe might fix it dunno.. if u got a nandroid backup before the theme try that?
Nitro212 said:
ok did u transfered the build to the sdcard? and flshed it? alt + s?
might try a wipe might fix it dunno.. if u got a nandroid backup before the theme try that?
Click to expand...
Click to collapse
i messed up my fone real bad this time.. I hit alt x.. n did a wipe.. but i am still stuck on the android screen
alt x will take you to the console...
alt + s is to wipe that command i showed u was just to mount yoru sdcard to be able to access it in your pc so you could transfer te update.zip to flash it..
Nitro212 said:
alt x will take you to the console...
alt + s is to wipe that command i showed u was just to mount yoru sdcard to be able to access it in your pc so you could transfer te update.zip to flash it..
Click to expand...
Click to collapse
i meant to say alt w.. ya i did that.. i got an access to my comp. renistalled the theme.. but it got stuck on the android screen
you gonan have to re flash the JF buildm not sure how can you performe these commands via recovery shell but so i read on forums when havign problems with themes to do this worked for me
If you are using RC33, and the theme isn't working, do this. (Requires apps on SD Card
-Open up terminal emulator.
-Type:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
busybox cp -a /system/media /system/sd
rm -r /system/media
ln -s /system/sd/media /system/media
-Reboot your phone
-Download the theme you want.
-Rename to update.zip and put it on your sdcard.
-Turn off the phone. Boot into recovery mode. (Home + Power Buttons)
-Once loaded, press Alt + S
-You're done.
Alternate Method Without Apps on SDCard
-Set your ringtone and notification for everything to something you have on your sd card
-Go to terminal emulator
-Type
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
rm -r /system/media/audio/ringtones
rm -r /system/media/audio/notifications
-Download and install your theme of choice
Click to expand...
Click to collapse
taken from
http://forum.xda-developers.com/showthread.php?t=480772
Im having the same problem. I did a wipe and everything and nothing will work!!!! I get past the tmobile screen but then when I try to set up my gmail account I cant. It says: The process com.google.process.gapps has stopped unexpectedly. Please try again. And then when I try to go to the APN settings it says: The application Setup Wizard (process com.android.setupwizard) has stopped unexpectedly. Please try again.
SOMEBODY PLEASE HELP!!!!!!!!!!
i dont have terminal emulator on my sd card. I guess there is no way isnt it?
Hey bro I just got it working again. If u can do another wipe then flash JF 1.41 Rc30 then go 2 rc33 again.
JonFolse said:
Hey bro I just got it working again. If u can do another wipe then flash JF 1.41 Rc30 then go 2 rc33 again.
Click to expand...
Click to collapse
where can i get the file from? ive looked over everything, i cant find nything
shilster said:
where can i get the file from? ive looked over everything, i cant find nything
Click to expand...
Click to collapse
Here u go:
http://modmygphone.com/wiki/index.php?title=Updating_to_RC30&diff=5861&oldid=5651
i tried it. SAME OLD THING.. android screen
^ did u do a wipe first. It didn't work for me until I did the wipe.
JonFolse said:
^ did u do a wipe first. It didn't work for me until I did the wipe.
Click to expand...
Click to collapse
thnks brotha.. ya the wiped worked

Apps to SD Problem on Haykuro H Build

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.

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

Categories

Resources