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 > Android On TP2 Development
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-22-2011, 05:44 PM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
Threadstarter
 
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 Boot Testing - 03-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by [ACL] View Post
This part is confusing

Code:
-mkdir -p -m 0777 /data/tmpcache
-mkdir -p -m 0771 /data/shared_prefs
+if [ ! -d /data/shared_prefs ] ; then
+    mkdir -p -m 0771 /data/shared_prefs
+fi
 chmod 0771 /data/shared_prefs
 chown 1000:1000 /data/shared_prefs
 ln -s /data/shared_prefs /shared_prefs
-ln -s /data/tmpcache /tmp
+mount /cache /tmp
Does the link /shared_prefs need to exisit?

Also what is stored on /tmp? ifs its true tmp i wonder if we can scrap it

Keep in mind that recovery needs some of this so we need to make sure we arent getting in the way. recovery uses cache lot for its logs and stuff.

I see this on the rc mkdir /data/local/tmp 0771 shell shell . so how many tempts do we really need ..lol
Yeah, so here's how I understand some of this.

shared_prefs is for sharing preferences between standard user and root user in some applications. Not sure if this is some legacy backwards compatibility thing or what.

The ln -s will create a link at /shared_prefs and it doesn't have to exist like a mount does.

The /tmp was already being stored on /data, and I just moved it over to /cache. I have a feeling that /tmp is used by programs that don't support or may not be aware of /cache. In any case, I figured we could leave that one alone but move it to /cache to clean up our /data partition. No point in backing that up when we backup the data partition.

Edit: Well, I just read that /data/local/tmp is what things like the market use to download APK's to. I'm beginning to think maybe /tmp is something we did on XDAndroid...
__________________

Last edited by natemcnutty; 03-22-2011 at 05:48 PM.
Reply With Quote
  #2 (permalink)  
Old 03-22-2011, 07:03 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: NAND Boot Testing - 03-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by natemcnutty View Post
Yeah, so here's how I understand some of this.

shared_prefs is for sharing preferences between standard user and root user in some applications. Not sure if this is some legacy backwards compatibility thing or what.

The ln -s will create a link at /shared_prefs and it doesn't have to exist like a mount does.

The /tmp was already being stored on /data, and I just moved it over to /cache. I have a feeling that /tmp is used by programs that don't support or may not be aware of /cache. In any case, I figured we could leave that one alone but move it to /cache to clean up our /data partition. No point in backing that up when we backup the data partition.

Edit: Well, I just read that /data/local/tmp is what things like the market use to download APK's to. I'm beginning to think maybe /tmp is something we did on XDAndroid...
time for a pig build ? leave it out for now, and if this is needed by android we can add it to the rc. This wya we dont have to rebuild the initrd to get this to work.
__________________
Reply With Quote
  #3 (permalink)  
Old 03-22-2011, 07:15 PM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
Threadstarter
 
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 Boot Testing - 03-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by [ACL] View Post
time for a pig build ? leave it out for now, and if this is needed by android we can add it to the rc. This wya we dont have to rebuild the initrd to get this to work.
Then should we do the same with shared_prefs? Also, in the latest build, did anyone else lose root? I see su there, but it isn't working.

Edit: Weird, I had to download busybox to get Titanium Backup working, but then ES File Explorer won't let me root explore... Guess I need to start fresh again.

Last edited by natemcnutty; 03-22-2011 at 07:38 PM.
Reply With Quote
  #4 (permalink)  
Old 03-22-2011, 07:45 PM
natemcnutty's Avatar
VIP Member
Offline
Pocket PC: VZW Touch Pro 2
Carrier: Verizon Wireless
Threadstarter
 
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 Boot Testing - 03-11: FRX05 on NAND (data working again!)

Quote:
Originally Posted by [ACL] View Post
time for a pig build ? leave it out for now, and if this is needed by android we can add it to the rc. This wya we dont have to rebuild the initrd to get this to work.
I just did a build without /tmp and noticed recovery tries to save a log there. Still waiting on the install at this point, so I'll let you know what else blows up
Reply With Quote
Reply

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


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 05:35 AM.


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