yashsingh1/xdaforums huggingface dataset:
[G1 General] miketaylor00:
Why do you need 73mb free? Is 63mb not enough? I'm not trying to be a jerk, I just think you might be worrying about something that is not an issue. The phone works ok with 20+ MB free and works great with 30+ MB. If you have too much free memory, it is just sitting there doing nothing. You want to use the phone's resources the best way you can, not just have them sit there being unused.

I really don't see the point in moving ALL cache to SD. I've found that the phone boots up much faster if your Dalvik-Cache is using internal memory. It is about 30MB on my phone. I did move my app, app-private, media, and data to my SD card. I've heard arguments that it is not a good idea to move the data over but I have over 100 apps and my data folder is about 6 MB. So a Class 6 card could move that entire folder in about 1 second.
[G1 General] BrooklynAvi:
Nice first post, but...

Just for reference, I don't really care if I have 10MB free. My phone is running very smoothly. Most of the questions that I ask are purely for educational purposes. I was wondering what the difference was between the apps to sd I did on JF1.51 (I did it manually and I'll show it at the end of this post for reference) and the built in method in cyanogen's ROM. I was curious about why the free memory fluctuated on cyanogen's and not JF's.

I think that some apps are using the phone's internal memory and some are using the ext2 partition. One example: I use NewsRob (an RSS reader). It asks me where I want to store the downloaded RSS feeds and I said my SD card. It created a folder and stored the file on my SD card (not the ext2 partition but the fat32). However, the internal memory was also affected even though the app itself is on SD (on ext2). Another example is my calendar app. The storage, of which I have 5MB, is stored on internal memory. On JF's it was not. Why? What is done differently?

If I enter the following commands in terminal emulator...

su
df system/sd

...I get 553920K total, 106180K used, 447740K available (block size 4096).

However, when I go to Settings > SD card & phone storage I get 540MB under total space and 409MB available.

That doesn't seem to jive or am I missing something? Hey, everything seems to be working well so I don't really care on that end. However I do care that I don't understand why this is the way it is.

Reference: My apps to sd method on JF.

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
[G1 General] juphro:
I'm using "move cache for root users" - first result after searching for "cache."

It moves Browser, Market, GMaps, Street View, Gmail, and Steel caches to SD.

If you have apps2sd I would assume all caches would be on the SD card, not positive tho.
[G1 General] imbonez9:
using that program as well and yes it does put all the cache on your sd card.
[G1 General] BrooklynAvi:
I too use that program. It's called TA Utility. It works well but I'd like more than that. For example, as stated in my original description of the "problem" is that there are other apps that don't get included in this. For one thing, calendar. That's 5MB right there. There are also various program that use some internal storage even if they cache the bulk of the files on the SD (fat32 partition). I don't actually think that this is a problem. I am just very interested in understanding the inner workings of the a2sd that I had done on JF and the a2sd that is done automatically on Cyanogen's ROM.

Another program that is a "problem" is the Work Email that was ported over by Cyanogen from myTouch. Even if you don't use it, opening it once adds more than a MB of data to the internal storage. While I removed the storage, if I wanted to use the Work Email app for some reason it would "cost" me a meg. Again, this is not a real issue as I have nearly 200 apps installed and still have 64MB of internal storage left. I just want the "why" behind all this.

My question, then, is why do certain apps "cost" me internal storage while others do not? It cannot be random. There needs to be a reason and there also needs to be a way to change that. I just don't know why and how.
[G1 General] imbonez9:
I''m not sure its the app that is taking up the room but the space it needs to park it on the phone. Like i installed docs2go. It adds to my internal but not as much as the whole program is.
[G1 General] BrooklynAvi:
[SOLVED] - Solution

I have figured out the answer to my original question for all those who are interested. I wanted to know the difference between the A2SD that I used on JF (I did it myself) and the auto-A2SD in Cyanogen's ROM. It's very simple. The /data/data/ folder on Cyanogen is not moved to SD whereas I has it sysmlinked on JF.

If you are running Cyanogen, run the following in TE...

su
du -h /data/data/

to see what you have stored. I am going to spend some time on the forum looking to see what, if anything, can be safely moved (in a stable way) to /system/sd/ on Cyanogen. I will either report back here or start a new thread if I think my findings are worth sharing (meaning, if I come up with anything more than what everyone else but me already knows, LOL). I suspect it might be a bit of an issue since Cyanogen warns against using any other A2SD methods while using his ROM. Time will tell.
[G1 General] borodin1:
I believe that the reason /data/data is not moved to sd anymore is because it proved to be unstable for most (not all) people here. Also, if you manualy move /data/data to sd at some point on Cyan's rom it will be moved back to internal memory automaticaly next time you reboot. This is just the way Cyan has it set up due to the problems people had when the whole data folder was moved.
[G1 General] BrooklynAvi:
Agreed

I fully agree with that. /data/data on SD was NEVER stable for me. I don't think my phone lasted more than three days after moving it. My main reason for posting was to understand what was different between what I did on JF and what Cyanogen did by default. I now fully understand the difference and, most importantly, the reasons behind it. I just have to keep and eye on which programs write data and how much data they write and what, if any, should/could be deleted. The calendar storage, for example, cannot be deleted or calendar entries disappear. For me, it's 5.5MB.

Perhaps, if I am really bored, I (or someone else) will write and app or script that can remove data/cache for ANY app added to a list. For now, I have the obvious caches moved over and a cache cleaning app for those caches moved to SD. A more efficient and more customizable method for this process is definitely needed but I have learned that these "problems" seemed to get "solved" as Android grows up. For now, manual methods will have to do.
[General Questions and Answers] hrhnick:
HTC Youtube, or the official Windows Mobile Youtube client

What do you use, and why? I can't figure out which one I prefer.
[General Questions and Answers] tacomanmcjab:
I am using the official youtube app on my phone. Whenever I used the default htc youtube app, while playing in high quality it would always skipframes and look like it was playing in slow motion.

The official app does have some downsides. I think they should make 2 seperate apps one for windows mobile profesional and one for standard. It is difficult to navigate compared to the Htc youtube app and has small menus. I think they should make the search result picture "flow" (kinda like apples coverflow) larger.
[General Questions and Answers] mccoffein:
I use ffplay for Windows Mobile on my Device. Here is the link http://www.ffmpeg-wince.org . The reason is that ffplay is free and open source. So you can help us to make it better.

And because i am the coordinator of this project ... :D :D :D

Greatz
[General Questions and Answers] bstylz911:
htc youtube

very convient

is its like the iphone kinda?
[General Questions and Answers] lunakirb:
the link is not working mate
[General Questions and Answers] CTSpawn:
There is an official youtube app? Whoa, i didnt even know that:p
[General Questions and Answers] bugmenever:
Mine used to play in high quality, and smoothly, but lately has been stuttering as well. I wonder what the cause is?
[General Questions and Answers] Agent Zach:
HTC YouTube client.

Seems to use less resources than the official, plus the quality of my HTC version out-performs the Official YouTube client by-far.

That's for my Fuze tho.

With my Touch Dual, it's back-asswards. The Official Client is better due to the HTC YouTube client being ported to a QVGA Resolution. It's simply not made for QVGA Resolution.
[General Questions and Answers] marduk79:
i use the official app eventhough it seems that the search does not work the same way. it is however much more convenient and although simplified, it looks nicer.
[General Questions and Answers] big_ipaq:
I installed the official version on my HTC HD2 and it overwritten my HTC Youtube app or at least I am not able to find it anymore.

How can I get back my old HTC Youtube without a hard reset...?
[Touch HD General] sirrick1:
HI

I'm having a problem with my GPS, it always shows me a location shifted like 250m from the place I am at that moment.

any idea how to solve it?

thanks!!
[Touch HD General] ozmoran:
What software are you using? you may get a faster answer if you mention it
[Touch HD General] leobox1:
i dont think you can calibrate GPS..

you updated quickfix?
[Touch HD General] sirrick1:
thanks for your answers, I'm using Garmin XT and google maps, then I don't think it is the software.

quickfix? sorry I don't know what is it, I will check now
[Touch HD General] sirrick1:
ahh quickfix is the same as quickgps, yes I'm using it!
[Touch HD General] adell_:
Does it just happen lately? Maybe hard resetting would help.
[Touch HD General] sirrick1:
thanks but not really.

well I have my HD for already 6 month but I just start trying the GPS in the last 2 weeks, because I'm in China and was difficult to find a good GPS software for Asia, but I hard reset it couple of times since I start using it.
[Touch HD General] adell_:
It might be a hardware issue. You may send it to a distributor center to check.
[Touch HD General] sirrick1:
I was hoping it was not a hardware problem, because it always shows me like 250m to the south west, it's not a random problem.

any idea?

thanks!!
[Touch HD General] fasty:
It's very difficult for the GPS "engine" itself to consistently report a position with such a fixed error.

I once saw a similar sort of error when I was using some GPS software which had the MAP DATUM set incorrectly.

Is it possible to change this setting on your software ?

Good luck,

- Steve
[Touch HD General] litsen:
Hi, sirrick1.

Nothing wrong with your GPS hardware/Software.

As required by Chinese goverment, all GPS map data should be added a deviation. ie. if you want to use a GPS coodirates that get from GPS hardware directly to locate where you are in map, you may find location is shifted.

Anyway, you can get more information from chinese gps forums.
[Touch HD General] leobox1:
i tot from history there was a air incident caused by purposely inaccurate GPS and the authorities ( not talking about china ) decide to not hamper the raw signals..

btw from what i know of GPS, you are caculating based from a few sats in space.. so is it possible in maths to get constant SW 250 results? not sure ... i am not a mathy.. anyone?
[Touch HD General] sirrick1:
really? WOW!! I didn't know! I will check more from Chinese forums!! thanks!!!
[Touch HD General] litsen:
The shift algorithm is a goverment secret, and the shift value is diffrent in one area from another.

So, it is hard to get/infer the exactly algorithm. So far as I know, the only succeful method to "correct" map coordinate is table look-up that is can get relative "real" values.
[Touch HD General] M.Noury:
it's caused by the MAP it Self

not hardware or the software
[Touch HD General] NightRider89:
May not be due to your GPS hardware.

I have the same problem with my MapKing Navi software, it's off by about 20m. I know it's the software problem, was the same on my iPaq previously. So you may want to find out if your software has the same problem on a device of a different brand.
[Touch HD General] sebsab:
in china the map are offset by 250m by government for unclear reason, on garmin you need to apply a patch to fix it, what's not clear it's google map, min is working well.
[Touch HD General] sirrick1:
well I tried the patch, which is only a file (006B082300.bin) which must be copied to the folder containing the map, but the problem reminds!!

anyone has success on this?
[Touch HD General] Jaguarp:
I had similar problem on motorola a1000 running SmartcomGps, which uses maps in .ogf format. I have great maps made by army cartographers, calibrated precisely, and gps device kept missing position by 100 meters. I also thought that is army's stupid trick in case enemy obtain maps to be deliberately inaccurate. Tried recalibration, succeeded, but still not satisfied, kept googling for days and finally found the solution: on calibration, all maps are assigned with datum WGS84 by default. Changed it to Eastern Europe and bang! - device is locking position dead accurately.

Try this:

Start program, load map, then tap Map/Calibrate/Settings/Map Datum. Choose datum "South Asia" or "Hu-Tzu-Shan" or any other you might think is for your part of China. Try it, if it doesn't work properly then try some other one and do so untill you find proper one. Don't waste your time (and risk screwing something up) with patches, flashing different ROMs etc. Both your hardware and software are OK, just need correct setting.
[Touch Pro, Fuze ROM Development] splxtreme:
is there a cab for this? I noticed that this is the only thing that makes album 3 work properly.
[Touch Pro, Fuze ROM Development] splxtreme:
OK, figured it out.
[Touch Diamond2, Pure Q&A, Help & Troubleshooting] Connor.McLeod:
Hi All,

3rd day with my D2. So far I'm happy.

This morning, the phone started to do something weird with sending SMS.

First noticed it when I have it connected to PC via USB to charge phone (PC has not active sync software on it). The SMSes were just buffered then when I disconnect the phone from USB, and maybe made a call in between, the SMSes were sent. Then all in and out SMSes worked fine even during charging.

Then (annoying) the problem is back, not sending SMS either on USB or not.

ANyone know how to fix this?

Its not network coverage as I can make voice calls.
[G1 Android Development] alritewhadeva:
Another great post nephron! :) Should be in Dream Q & A though hehe
[G1 Android Development] nephron:
Thanks, i know it should be but it will get more attention here.... :D
[G1 Android Development] persiansown:
Shouldn't you mention the fact that you need a PVT board for the new SPL?
[G1 Android Development] johnnylicious:
whoa great job on this!

hope this helps out all the noobs hehe.

+1!!!
[G1 Android Development] nephron:
ya you gave me the idea hahaha. I saw your post where you got pissed :D and i was like why not make a thread about all this? :D
[G1 Android Development] johnnylicious:
ahah wow really nicee ;) glad you too the initiative i was too lazy ahah :p
[G1 Android Development] TooSlo:
Was this proven to be true? I did brick a PVT device, but it was because I updated in the wrong order when it wasn't known that it would kill phones.
[G1 Android Development] bootleg16:
whoa nice thread.

i wish there would have been something like this back in february on how to root my phone.

lol

i took forever.
[G1 Android Development] Abbens:
Great read. One question I do not have a sd card reader, couldn't I just put my sd card into my phone then add the files to it?
[G1 Android Development] kidnoble:
this was my question as well, as I do not have an sd card reader. Is there a way to do this without?
[G1 Android Development] persiansown:
From what I have read, yes but I could be mistaken.

Regardless, OP, you should let the reader know of the inherent risk.
[G1 Android Development] jamaljmys:
very perfect guide man

thank you very much

my Q : after normal flashing and allowing the swaper iam missing the market App. and termenal App., but when removing the SD Card after flashing done and restart everything gooing well and the market and the terminal Apps. are in place. what i should do to get swaper allowed and the SD Card in place and boot normaly and finding the Apps.

Your A :

thanks in advance
[G1 Android Development] nephron:
thanks i tottaly forgot about that! I just added it! :D
[G1 Android Development] nephron:
If you can get into your home screen, just use USB, thats fine but a card reader would be handy if you are stuck in recovery, especially when flashing the SPL

Here you go though :D

[Q] I am stuck in recovery and need to add files to my sd card

[A] [How to] mount SD card in recovery by Gary13579

i added it to the main page :D
[G1 Android Development] nephron:
I suggest reformating your EXT2 partition becuase something could have happened with the auto apps2sd. Reformat/repartition then wipe and flash. That should fix it :D
[G1 Android Development] knoxbrder:
Thanks for the great instructions!

I have nandroided and restored backups a few times when I've tested various images, but always without an a2sd setup.

Now that I am on a Cyanogen image and using a2sd is there a specific nandroid/backup I should do?

1) I guess I don't know if nandroid will backup the a2sd portion of my apps?

2) I'm not sure if/how I should delete the ext2 apps when I install a new image?

3) Does a nandroid restore put the a2sd back?

Any chance you can include this info in your guide?

I would love to get a complete backup of my current install with a2sd as easily as a nandroid backup. Be able to install a hero image. Be able to quickly switch back to my old Cyanogen image if things don't work well enough for me. BTW, does the latest recovery allow easier reinstalls of a nandroid now? Using the flashboot util worked ok, but I just wondered if the current recovery image made restores as easy as it makes backups. And if it handles the ext2/3 portions as well now.

Thanks again for the great guide!
[G1 Android Development] kidnoble:
ok...one more question. If I don't have the sd card reader, can I just use another object..like another phone and put my sd card in that to access the files? Or do I have to use the sd card reader? My thinking was that I could just grab my old Dash or my mom's phone and put my sd card in there to access the files on it.
[G1 Android Development] nephron:
First of all, if you want to learn more about nandroid go to the third post on this thread

http://xdaforums.com/showthread.php?t=532719

Second, nandroid does not backup apps2sd, if you want to backup your /data/app folder or w/e just use ADB. Personaly i would use the ADB file explorer becuase it is so much easier to use! :D
[G1 Android Development] nephron:
use w/e you have :D. As long as you can transfer files to your sd card, especialy when you cant mount it, is a good thing. If you are stuck i added a Q & A about mounting your sd card in recovery mode :D
[G1 Android Development] bizz3d:
Class 6 or not

posible add on to the list,

Q: is class 6 sdcard required?

A: No, but it will improve speed? especially when using swap

at least thats the replies i have been getting.
[G1 Android Development] justin24:
a few questions before trying this

What size SD card should I use and should I partition before going through the process?
[G1 Android Development] nephron:
thanks bizz3d ill add that question! :D

@justin24 i suggest a card 4GB or larger. But you can also use a 1 GB, and yes you should partition your card Fat32/Ext2 before flashing a hero rom.
[G1 Android Development] kidnoble:
Thanks you've been a tremendous help. I still haven't even rooted my phone yet lol. Kind of afraid to honestly...afraid of messing it up. I guess I'm just trying to do all my research before I try it. There's so many ROMs and themes it's kind of overwhelming lol.
[G1 Android Development] Truculent:
One question, can anyone clarify the installation of the new SPL? I have an ADP1 and keep finding tons of different ways to install it. I bricked one phone doing this and I don't want to do it again. Thanks.
[G1 Android Development] axion68:
Correct me if I'm wrong, but once you update to the "hero" spl installing a rom that includes a radio update prior to 2.22.19.26I will brick your phone?
[G1 Android Development] nephron:
no it wont brick your phone. You can go back and forth between hero and cupcake all you want :D
[G1 Android Development] Glen L:
Thanks nephron, very helpful.

Question though, when you say SD cards die faster than normal when using swapper, do you know how much faster?

also, is it worth installing Hero right now? or wait for a better, more stable ROM?
[G1 Android Development] smackiesfunkies:
overclock?

maybe a mention about overclocking?

since a few people do that to help speed up the ROM
[G1 Android Development] dipeshb:
The overclocker does speed up an app once it is running, but the bottleneck is still the disk i/o and swapping, the cpu must wait for these operations to complete before it can do its work.. Also in the latest JAC roms he has set the CPU to the default of 386MHz as it has been found the overclocking is also partly responsible for some instability..
[G1 Android Development] knoxbrder:
A cool device would be one that is an SDCARD that has say 32GB of Flash memory (like now), AND say 1GB of "RAM" so you get faster writes than Flash. It would be slower than internal RAM but much faster than writing to SDCARD Flash. It would, of course, not retain the "RAM" thru power interruptions and reboots. This would help all the devices with SD or XD slots! At the very minimum all the OS out there could use it as swap, and probably more efficiently for other things in the future.

Consider this prior art when someone starts selling it so I can get a couple!

In the short term, I wonder if it is any use to use the internal Flash that is now free (80MB?) with a2sd as a swap device? Is it faster than the SDCARD? Of course exhausting the internal Flash with to many writes is not a good idea.
[G1 Android Development] Glen L:
what's the best , most stable HERO ROM right now?

Preferable one with working LED lights , BT and Wifi?
[G1 Android Development] captinamerica:
cant install from SDcard?

Hello,

Im fairly computer savvy and wish to install HERO onto my g1. I have used this thread to root my g1

http://xdaforums.com/showthread.php?t=442480

After that I did not install any new builds like the ones listed at the end of that post. I then came back over to this thread and tried to install hero. I change the radio zip to update.zip which over write the one from the post above. Now when I try and flash with this radio zip the screen says

"installing from sdcard...

finding update package...

E:can't mount /dev/block/mmcblk0

p1 (or /dev/block/mmcblk0)

(invalid argument)

E:can't mount sdcard:update.zip"

Any thoughts? Do no need to install a new version of android or be able to install hero. Or should I W wipe the device first? Any help would be AWESOME.

Thanks

CA
[G1 Android Development] kyralak:
Thanks

Nice instructions.. one question.. the warning in red:

"Note: To update you must have a PVT board. To Check go into fastboot (Power and Camera and check"

It would be nice to have an explanation on what a PVT board is, and how to know if we have one. I checked this thread and did some basic searching and could not find anything (PVT is a fairly short term to search for without any context).
[G1 Android Development] larryhi:
Thx alot

I am new to all of this and via ur instructions I went from T-Mobile's cupcake to JACHero 2.5 ... and I'm very pleased.... thx for taking the time and posting