Is it possible to run two different builds of Android? - Touch Pro2, Tilt 2 Android Development

I currently have one build in the andboot folder... Now i was wondering if I create a new folder and within that new folder create another andboot folder and install a different android build, can I run it from there? Or does the andboot folder have to be in the root of the storage card?

Just create a new folder on the root of your storage card, and name it something like "andboot_1". Then, in the default.txt for andboot1, change the parameter "relpath=" to andboot_1 from andboot. You could probably change that same parameter to put the andboot folder in another folder as well, if you would prefer that.

DaveTheTytnIIGuy said:
Just create a new folder on the root of your storage card, and name it something like "andboot_1". Then, in the default.txt for andboot1, change the parameter "relpath=" to andboot_1 from andboot. You could probably change that same parameter to put the andboot folder in another folder as well, if you would prefer that.
Click to expand...
Click to collapse
I will gives this a try, thanks!

You know I wanted to do this too. Because while I like the non HTC Sense versions, I do want to show off that I can have HTC sense as well.

segadc said:
You know I wanted to do this too. Because while I like the non HTC Sense versions, I do want to show off that I can have HTC sense as well.
Click to expand...
Click to collapse
That's exactly why I wanted to do this as well lol. I still have to try this, I keep forgetting lol

You should be able to, because I can run rhobuntu and xdandroid on the same phone. And if I'm not mistaken, they both have an "andboot" folder
-------------------------------------
Sent via the XDA Tapatalk App

Related

Cleaning Andreoid and reinstalling.I

need to remove all ruminants of Android, Than reinstalling with normal SD copy.
How to remove everythings from SD card?
Regards
Tunc
eresen said:
need to remove all ruminants of Android, Than reinstalling with normal SD copy.
How to remove everythings from SD card?
Regards
Tunc
Click to expand...
Click to collapse
To clean your SD card, simply just format it via your computer.
I need to keep SD there 14GB of data on it,
Delete default.txt (or startup.txt depeding on your setup), data.img, rootfs.img, zImage, system.sqsh, any of the FSCKxxxx.REC files, the "Android" folder (if you have one), the "AndroidApps" folder (if you have one), the "conf" folder (if you have one), the "cache" folder (if you have one), the "download" folder (if you have one), the "media" folder (if you have one), the "startups" folder (if you have one), and the "wallpapers" folder (if you have one). That should delete most or all of the Android files.
i always wished android was in 1 folder for this reason.
The Jack of Clubs said:
i always wished android was in 1 folder for this reason.
Click to expand...
Click to collapse
I just ended up putting everything else that was WM related in its own folder instead... that way when I clean my SD I only have to worry about making sure that my "WMStorage" folder stays on my card, and I can delete everything else without fear.
i keep what i can in folders but android is still mixed in with stuff that has to stay at the root of the sd card. it doesnt bug me that much but i still wished it was set up a little different.
---
Thanks
It is all sorted out..
Tunc
i just saw the gsensor is working? i might attempt to clear android off and reload it up. i wanna play abduction.

hey

i boot up android and when i reset i cant boot it up again can anyone help
Hey,
I had the same porblem I think? From what I gather u run xda android reset phone and when u try to reload it, it says something like "can't find default.txt." if that is the case your startup.txt is corrupt. What I did was format SDcard, do a fresh install and from there create a new folder and copy and paste the startup.txt in there. If it happens again just paste it back in the root directory. Oh yea, to tell if its a bad startup.txt the one in root will be 0bytes.
Hope this helps,
Lord Craigus
Sent from my MSM using XDA App
The fix in the post above works like a charm (I originally saw it in the Project Android thread). It also helps to copy a version of the startup.txt file, rename it default.txt, and move it to the andboot folder. If the error comes up again, just hit "run" and it will use the default.txt instead of startup.txt.
Also, try to have a thread title which is more descriptive of your isse/question.
redpoint73 said:
The fix in the post above works like a charm (I originally saw it in the Project Android thread). It also helps to copy a version of the startup.txt file, rename it default.txt, and move it to the andboot folder. If the error comes up again, just hit "run" and it will use the default.txt instead of startup.txt.
Also, try to have a thread title which is more descriptive of your isse/question.
Click to expand...
Click to collapse
This is the fix that I recommend. It requires less copy/pasting.

Change SD root for android?

Is is possible to change the root folder of the sd card used by android? I don't like having it create so many files/folders in the root of my card...
HDR said:
Is is possible to change the root folder of the sd card used by android? I don't like having it create so many files/folders in the root of my card...
Click to expand...
Click to collapse
Of course, you can place Android where ever you wish... just adjust the rel_path statement on your startup.txt.
For example, my installs are in /sdcard/Androids/TP2Ref - from Android's perspective. So in my startup.txt, I have
Code:
relpath=Androids/TP2Ref
- Just make sure that goes in the cmdline section.
Pretty sure this is in the FAQ... Try searching before you post
My relpath is set to andboot, but Android is still creating files in / on my sd card, I want to move the media, cache, downloads directories and the FSCK001 files to a subfolder.
HDR said:
My relpath is set to andboot, but Android is still creating files in / on my sd card, I want to move the media, cache, downloads directories and the FSCK001 files to a subfolder.
Click to expand...
Click to collapse
Only way to do that is to modify the source. I could easily make the changes in init for you, but the next time rootfs is updated (which will probably be soon since stinebd has to prep it for GB), you will lose those settings.
I'm working on some NAND stuff at the moment, so if you feel adventurous, all you have to do is modify init in rootfs and "compile" it. I have a little guide on compiling stuff (see bottom of post #1 for rootfs): http://forum.ppcgeeks.com/tp2-andro...modules-tinboot-nand-boot-more-beginners.html
I'll have a look at that, thanks.
HDR said:
My relpath is set to andboot, but Android is still creating files in / on my sd card, I want to move the media, cache, downloads directories and the FSCK001 files to a subfolder.
Click to expand...
Click to collapse
I can at least give you a easy solution for the FSCK files (no offense Nate ). Put this in the "CustomCommands" section of your froyo.user.conf:
Code:
rm -f /sdcard/*.rec
im totally agree; i dont see the point of having the possibility of choosing android to start in whatever location we want....if anyways android will keep creating files/folders in the root of our sd card.
if i recall correctly the very first releases didn't have this problem it would be great if u devs can change this behaviour by default
elamodelmerol said:
im totally agree; i dont see the point of having the possibility of choosing android to start in whatever location we want....if anyways android will keep creating files/folders in the root of our sd card.
if i recall correctly the very first releases didn't have this problem it would be great if u devs can change this behaviour for default
Click to expand...
Click to collapse
This is what Android needs by default, and where they would normally be created by the system. It's nice to stick as close to AOSP as we can, because then there's this small group of devs that work for this company 'Google' that then become our system image maintainers. Thanks.

clearing my old backups

Quick ? since i been playing around with different roms i've also done a lot of backing up but now since im sticking to a rom how do i delete the old backups saved in recovery i mean the ones i dont want anymore?
You can delete via rom manager, manage backups and restore, select, and then delete.
Or mount your sd card on your comp, navigate to the backup folder, and delete.
thanks for the tip.
No problem man. They can eat up space if you have a lot.
teh roxxorz said:
No problem man. They can eat up space if you have a lot.
Click to expand...
Click to collapse
Especially if you make a backup before you install the latest CM7 Nightly like I do. I just deleted about six backups last night before creating one for build 28 and then installing build 30.
Astro, root explorer or most of the file explorers can delete them. They should be in /sdcard/nandroid/(device identifier). Just delete the older dates you don't want.
Sent from my PC36100 using XDA App
The question i've always had is can you rename this files and if so, will nandroid be able to restore from whatever custom name you create? Does it look at some other identifier number or something to know which is the last back up that was created?
I think I had read a while back that you can because it's hard to loose track of which out of the many in that folder is your last back up or what is on that back up. Wasn't there an app that let you rename them and or put a description of the ROM's contents as well?
QuiQNeZZ said:
The question i've always had is can you rename this files and if so, will nandroid be able to restore from whatever custom name you create? Does it look at some other identifier number or something to know which is the last back up that was created?
I think I had read a while back that you can because it's hard to loose track of which out of the many in that folder is your last back up or what is on that back up. Wasn't there an app that let you rename them and or put a description of the ROM's contents as well?
Click to expand...
Click to collapse
You can rename them. No spaces tho! (Use - instead) cant rename the folder tho.
Sent from my PC36100 using XDA App
aimbdd said:
You can rename them. No spaces tho! (Use - instead) cant rename the folder tho.
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Ok so as the other poster said, there is a "Phone Identifier" numbered folder. I know I can't rename that. Then inside that are the different backups I have in folders and the files within them. So are you saying I can't rename THOSE folders too?
You can rename the individual backup folders, just not the phone identifier folder. My paths look like this. /sdcard/nandroid/HT0A****/ (then I have my cm backup folder named CM7, My fresh folder named Fresh and a couple others). The *'s are just place holders, I can't remember the exact name.
You can change any folder names after the HT0A folder. Just no spaces, - or _ work fine though.
Sent from my PC36100 using XDA App

ADB help - how to push an entire directory?

Alright. I need help with this and Google can't help me. I need to recursively (i.e. all of the content in the directory) move an entire folder from Windows to my internal sd-card but no matter what I do, I just can't get it to work.
I now there's a way, somehow.
EDIT: Pitch-in: The sd-card is mounted as /mnt/sdcard/ right?
what about just zipping it? i dont think adb can do that easily
Lets say you have a folder called Wallpapers on your PC use the code below (assumes you copied Wallpapers folder to android-sdk\platform-tools):
Code:
adb push Wallpapers /sdcard/Wallpapers/
If you don't specify the destination folder (Wallpapers) on the sdcard then it will place the contents of the folder on your sdcard. No need for mnt in the destination.
Edit: unsure of how this will behave with subdirectories within the folder you're trying to push. You might have to push each subdirectory separately.
CMNein said:
Lets say you have a folder called Wallpapers on your PC use the code below (assumes you copied Wallpapers folder to android-sdk\platform-tools):
Code:
adb push Wallpapers /sdcard/Wallpapers/
If you don't specify the destination folder (Wallpapers) on the sdcard then it will place the contents of the folder on your sdcard. No need for mnt in the destination.
Edit: unsure of how this will behave with subdirectories within the folder you're trying to push. You might have to push each subdirectory separately.
Click to expand...
Click to collapse
Working for me as I type. I don't know about the sub-directories as I just put everything into one folder and will move them to their new home once they finish transferring. Up until now, I've been moving everything individually. I didn't know you could move folders so this is awesome. Save me a lot of typing lol.
gurusportscanada said:
Working for me as I type. I don't know about the sub-directories as I just put everything into one folder and will move them to their new home once they finish transferring. Up until now, I've been moving everything individually. I didn't know you could move folders so this is awesome. Save me a lot of typing lol.
Click to expand...
Click to collapse
a thanks is enough, no need to necrobump a thread over a YEAR old, just to say it works.
I honestly just zip the file with all directories on my computer than adb it over. Extract with root explorer and move then delete zip file. Easy and simple
Sent from my Nexus 7 using Tapatalk 2
/me bashes his head against the wall.
beekay201 said:
/me bashes his head against the wall.
Click to expand...
Click to collapse
when you do a folder you also do all it's sub folders
patalo said:
I honestly just zip the file with all directories on my computer than adb it over. Extract with root explorer and move then delete zip file. Easy and simple
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Im stupid.... This is best idea lol, and so obvious...

Categories

Resources