PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-21-2010, 10:28 AM
aronlib's Avatar
PPCGeeks Regular
Offline
Pocket PC: Evo / Touch Pro 2
Carrier: Sprint
Location: New York
 
Join Date: Oct 2009
Posts: 72
Reputation: 205
aronlib is keeping up the good workaronlib is keeping up the good workaronlib is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND vs SDCARD (where is my memory used at?)

Quote:
Originally Posted by m4f1050 View Post
So when we install ANDROID in NAND (or WM ROM in present time) we install in the ROM section and does the OS use part of the ROM (is ROM what we call NAND???) as "hard drive" and store the installed apps or does it store it in RAM? But somehow this RAM doesn't get wiped out when there is a reboot, power off?

Let's split my question....

Is NAND ROM or RAM?

And if RAM is the memory and you load the OS from RAM to RAM, the file system is on RAM but it's not wiped out, that means if we install ANDROID to NAND (or RAM?) we will have less memory for the OS correct?

Where are installed apps stored at?

In comparison, a computer has "memory" and "harddrive"... Is "memory" RAM, "harddrive" ROM or vice versa?

I thought I had this figured out, but not quite. I understand the PC quite well (im a computer engineer and mcpd) but these devices are confusing to me still... In a PC you have what we call harddrive where OS and apps get installed, when you use the PC the os loads into what we call memory.
Nand is ROM. Now while essentially ROM is "read only memory" we have the ability to write an new OS on to it.

Ram in a phone is technically the same thing as ram in a PC, it is used for multitasking and have multiple apps open at the same time.

Apps are installed on a partition of the internal memory that is not, Rom.

So basicly we have three parts. Internal memory that's partitioned in 2, one part being ROM "read only memory" that we have the ability to write on to, only when flashing an OS and the other being where we install apps to. and Ram.
__________________
My Dropbox referral link,
http://db.tt/XIkkzfS


Reply With Quote
This post has been thanked 3 times.
  #2 (permalink)  
Old 12-02-2010, 02:19 PM
tiger2wander's Avatar
PPCGeeks Regular
Offline
Pocket PC: Verizon TP2 CDMA XV6875 (RHOD500) - O2 XDA IIs
Carrier: VN Mobifone (GSM, 3G)
 
Join Date: Feb 2009
Posts: 107
Reputation: 150
tiger2wander is keeping up the good worktiger2wander is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND vs SDCARD (where is my memory used at?)

Hi guys,

IMO, Phone, SmartPhone, PPC & many kind of portable devices has a difference hardware design compare with PC. As many devices has SoC or Storage on Chip is a way to combine all chipset and storage into only one board to make it small, fast and decrease it's cost to product and also make it faster than use cable like IDE, PATA, SATA like in the PC. By the way Storage on phone can be divided by logic way, not hard way so it can get more flexible (It has been partitioned like our HDD: boot partition has Bootloader, some bytes used as SPL like Master Boot Record on HDD, OS, EXT ROM, OEM, XIP ....). In the summarize we can imagine it like:
- ROM: is read-only-memory as it's name but usually modern ROM are kind of PROM, EPROM or EEPROM (*) so it can be re-writable such as BIOS on the PC (You can update your PC BIOS). But PROM, EPROM or EEPROM has small limit number of write in it's life cycle so it was used to store factory data or Stock ROM then that data will be use to restore to factory anytime you get error on your own runtime version (I will describe later).
- NAND is a kind of Flash memory like SSD and USB. So it can be use to store data with high rate of IO to make we have fast OS running on it. IMO it has divided to 2 parts using logical way instead of hard way. 2 parts are Internal Storage & Program as called in WinMo Memory settings (You can find it in Settings -> System -> Memory). Internal Storage is use to store user data like: installed applications, application data, your images, video, book stored in "My Documents" .... so this part has been map with ROM. BTW all files and directories in this part by default are map with files & directories in ROM so you can see it almost like ROM structure right after Flash a new ROM, then you go to modify (delete, override) any file or directory in this part then it will write to "Internal Storage" and marked override flag (Caused of you can restore any override ROM's file by using some application like: SKTools from SK Software to find overrided file and restore it from ROM). The second part is use as RAM or "Program" as WinMo call it.

Is my logic correct? let's comment out
__________________
Reply With Quote
This post has been thanked 1 times.
  #3 (permalink)  
Old 12-02-2010, 05:12 PM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
 
Join Date: Nov 2009
Posts: 845
Reputation: 3070
natemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIPnatemcnutty is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: NAND vs SDCARD (where is my memory used at?)

Quote:
Originally Posted by arrrghhh View Post
Quote:
Originally Posted by m4f1050 View Post
So that in my dictionary is a "ramdisk" does Android use a Ramdisk? It could possibly explain why...
Uhm... It uses RAM, perhaps you're thinking of swap? In Windows this is called a page file - basically it slices out a piece of the hard disk to use the same way that RAM is used - but it's supposed to be used very sparingly - in Linux systems it's only used when you run out of RAM. Windows... it's a little more fuzzy.
Android can use a RAMDisk, but I'm with Arrrghhh on not being sure exactly what you are describing.

In Linux, you have compcache module which sections off a chunk of RAM to use as a RAMDisk. We have the drivers and everything available in the kernel to use on the XDAndroid builds, but I'm not sure if it is actually used or not. As far as swap/pagefile goes, that is virtual memory that should only be used when the system needs to free up memory blocks but needs to retain the information it is trying to clear out.
Reply With Quote
This post has been thanked 1 times.
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 08:07 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com