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 05-08-2010, 12:29 PM
[sammich]'s Avatar
Retired Moderator
Offline
Pocket PC: NULL
Carrier: NULL
 
Join Date: Jul 2007
Posts: 6,039
Reputation: 10109
[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level[sammich] can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Booting Android from a Different Folder?

I'm kinda obsessed with organizing everything... So I hate having clutter anywhere. And that includes files/folders on my phone and computer! Right now I have 2 folders on the root of my SD card, and no files. One folder is "Program Files" and the other is "My Documents". I want to try Android again, but I want it inside "Storage Card\Program Files\Operating Systems\Android" instead of the root of the SD card, or the Android folder on the root of the SD card.

I have tried adding "rel_path="Program Files\Operating Systems\Android" to the startup.txt file, but it doesn't work.

Any ideas?
Reply With Quote
This post has been thanked 1 times.
  #2 (permalink)  
Old 05-09-2010, 01:01 PM
makkonen's Avatar
TouchPro Android Guy
Offline
Pocket PC: Vogu100, Raph500, Diam500, Raph800, Evo
Carrier: Sprint
 
Join Date: May 2007
Posts: 585
Reputation: 3280
makkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Booting Android from a Different Folder?

My guess is that the Space in 'Operating Systems' and 'Program Files' is what's killing it. You might be able to escape those somehow, but I'm not sure how to do it (it would need to be some sort of posix-compliant method).

Also, it should have forward slashes instead of backslashes, since it's being accessed from linux instead of Windows. Otherwise, the rel_path value should be able to hold a multi-level path without problems. (Unless there are problems I'm forgetting about.)

you could try
Code:
rel_path=Program\ Files/Operating\ Systems/Android
(that escapes the space characters) but I'm pretty sure that won't actually work. You can also try
Code:
rel_path=Program\040Files/Operating\040Systems/Android
(that escapes the spaces a little differently) which might work, but might not -- I really have no idea.
Reply With Quote
This post has been thanked 2 times.
  #3 (permalink)  
Old 05-19-2010, 01:08 PM
DomSim's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Touch Pro2
Carrier: Sprint
 
Join Date: Nov 2008
Posts: 735
Reputation: 1960
DomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Booting Android from a Different Folder?

any follow up on this? where do i add the ref_path? and in the first post, there is only three quotation marks and in the second post none. i get an error when i added it when launching haret about ref_path being an unknown command
Reply With Quote
  #4 (permalink)  
Old 05-19-2010, 03:13 PM
DomSim's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Touch Pro2
Carrier: Sprint
 
Join Date: Nov 2008
Posts: 735
Reputation: 1960
DomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Booting Android from a Different Folder?

nevermind, i figured it out. whole command is as follows;
set cmdline "rel_path=*directory of choice* "
replace *directory of choice* with your location of haret.exe. remember as posted above to use forward slashes instead of back slashes . as for needing a forward slash when a space is in the file path i do not know as i have mine at android\andboot on my storage card so my path was just android/andboot
Reply With Quote
This post has been thanked 1 times.
  #5 (permalink)  
Old 05-19-2010, 03:42 PM
Unknownforce's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Evo 3Dâ„¢
Carrier: Sprint
 
Join Date: Nov 2008
Posts: 234
Reputation: 545
Unknownforce knows their stuffUnknownforce knows their stuffUnknownforce knows their stuffUnknownforce knows their stuffUnknownforce knows their stuffUnknownforce knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Booting Android from a Different Folder?

the original reason of this post was because of the spaces causing problems because Program Files has a space in it, it was probably only taking the first portion and trying to consider "Files" as an argument rather than a continuation of the path.

But yes, that's the proper location to set that setting. However, if you use Gen.Y's DualBoot app, you have to set the proper location in the registry (HKCU\Software\Gen.Y\DualBOOT\AndroidBootFolder) as well otherwise it won't detect the proper android boot location and it won't allow you to boot through dualboot.
__________________

Phone: Sprint HTC EVO 3D
ROM: Synergy Nightly with Own Mods
"If you have the stereo on, why would you turn up the volume on the TV?" 'Cause I like to party
Reply With Quote
This post has been thanked 1 times.
  #6 (permalink)  
Old 05-19-2010, 04:02 PM
boredandtattooed's Avatar
The Dyslexic VIP
Offline
Pocket PC: (3)TPs (1)TP2 (1) Optimus S (1) Dell Mini 10
Carrier: Sprint
Location: MI
 
Join Date: Feb 2009
Posts: 4,219
Reputation: 6117
boredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the community
Mentioned: 4 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to boredandtattooed Send a message via MSN to boredandtattooed Send a message via Yahoo to boredandtattooed Send a message via Skype™ to boredandtattooed
Re: Booting Android from a Different Folder?

Quote:
Originally Posted by DomSim View Post
nevermind, i figured it out. whole command is as follows;
set cmdline "rel_path=*directory of choice* "
replace *directory of choice* with your location of haret.exe. remember as posted above to use forward slashes instead of back slashes . as for needing a forward slash when a space is in the file path i do not know as i have mine at android\andboot on my storage card so my path was just android/andboot
do we add this as a new line totally? set cmdline "rel_path=*directory of choiceXXX* "

Quote:
Originally Posted by Unknownforce View Post
the original reason of this post was because of the spaces causing problems because Program Files has a space in it, it was probably only taking the first portion and trying to consider "Files" as an argument rather than a continuation of the path.

But yes, that's the proper location to set that setting. However, if you use Gen.Y's DualBoot app, you have to set the proper location in the registry (HKCU\Software\Gen.Y\DualBOOT\AndroidBootFolder) as well otherwise it won't detect the proper android boot location and it won't allow you to boot through dualboot.
i freakin Love this place... i hated all that clutter to0... so now everything can go in say storage/android-dont really care if they are lose in here just not on my root
__________________
Sprints new slogan should be " Whether its a Early Upgrade or charges for nothing, We'll be there"

Last edited by boredandtattooed; 05-19-2010 at 04:09 PM.
Reply With Quote
  #7 (permalink)  
Old 05-19-2010, 04:17 PM
DomSim's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Touch Pro2
Carrier: Sprint
 
Join Date: Nov 2008
Posts: 735
Reputation: 1960
DomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Booting Android from a Different Folder?

if you already have the line "set cmdline" where it is setting other options then you can just ad the rel_path=*directory of choiceXXX* part in to the string of stuff. this + gen y's dual boot makes this a real deal for me

edit:
here is my startup.txt just for reference
Code:
set ramsize 0x10000000
set ramaddr 0x10000000
set mtype 2292
set KERNEL zImage
set initrd initrd.gz
set cmdline "lcd.density=240 msmts_calib=0x9f.0x39a.0x35c.0x78 7x00.a11=500 msmvkeyb_toggle=off pmem.extra=1 gsensor_axis=2,1,3 pm.sleep_mode=1 hw3d.force=1 physkeyboard=rhod400 htc_hw.force_cdma=1 rel_path=android/andboot "
boot

Last edited by DomSim; 05-19-2010 at 04:26 PM.
Reply With Quote
This post has been thanked 1 times.
  #8 (permalink)  
Old 05-19-2010, 04:33 PM
boredandtattooed's Avatar
The Dyslexic VIP
Offline
Pocket PC: (3)TPs (1)TP2 (1) Optimus S (1) Dell Mini 10
Carrier: Sprint
Location: MI
 
Join Date: Feb 2009
Posts: 4,219
Reputation: 6117
boredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the communityboredandtattooed is a trusted member of the community
Mentioned: 4 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to boredandtattooed Send a message via MSN to boredandtattooed Send a message via Yahoo to boredandtattooed Send a message via Skype™ to boredandtattooed
Re: Booting Android from a Different Folder?

Quote:
Originally Posted by DomSim View Post
if you already have the line "set cmdline" where it is setting other options then you can just ad the rel_path=*directory of choiceXXX* part in to the string of stuff. this + gen y's dual boot makes this a real deal for me

edit:
here is my startup.txt just for reference
Code:
set ramsize 0x10000000
set ramaddr 0x10000000
set mtype 2292
set KERNEL zImage
set initrd initrd.gz
set cmdline "lcd.density=240 msmts_calib=0x9f.0x39a.0x35c.0x78 7x00.a11=500 msmvkeyb_toggle=off pmem.extra=1 gsensor_axis=2,1,3 pm.sleep_mode=1 hw3d.force=1 physkeyboard=rhod400 htc_hw.force_cdma=1 rel_path=android/andboot "
boot
sweet man thanks.. yeah i use dual boot too, so it had its own set of commands.. cleared it up perfectly for me.. thanks
Reply With Quote
  #9 (permalink)  
Old 05-19-2010, 04:34 PM
DomSim's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Touch Pro2
Carrier: Sprint
 
Join Date: Nov 2008
Posts: 735
Reputation: 1960
DomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Booting Android from a Different Folder?

awwww just noticed it still makes a bunch of files on the root of the storage card. still its only a few in comparison to what it was before.
Reply With Quote
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 03:55 PM.


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