[Q] Assistance with error on startup.txt? - HD2 Android Q&A, Help & Troubleshooting and Genera

Peace all,
Currently try to place the Andriod OS on my girlfreind's HD2. I had placed the file on her SD card before and it worked w/o any problems. Recently she started having problems so I decided to place a real "dual boot" ROM (OzDroid) onto her phone. that went well---but when i placed Meejay's Revolution 2.3 on the root of her SD card---for some reason OzDroid doesn't detect the Android build and when i try to do the fix that comes on OzDroid to repair Android it says "error on startup.txt". Can anyone help me with this or point me to the right direction?
thanks in advance
-ZDK-

Would be nice if you could post this startup.txt.

JanssoN said:
Would be nice if you could post this startup.txt.
Click to expand...
Click to collapse
It says: "error, can not modify startup.ext" when i press the button that loads Android

ZEDEK said:
It says: "error, can not modify startup.ext" when i press the button that loads Android
Click to expand...
Click to collapse
but what is the text inside startup.txt?

Perhaps it's because it's looking natively in the "Android" folder, which I know guess is not pressent on the other SD card.
Open your startup.txt on your android phone, and look for this line:
set cmd "rel_path=Android" or simmilar. If so, remove the entire cmd line, if there is nothing else in that line. Otherwise, just remove the rel_path=Android part inside the "" signs.
Hope this helps you

Stenager129 said:
Perhaps it's because it's looking natively in the "Android" folder, which I know guess is not pressent on the other SD card.
Open your startup.txt on your android phone, and look for this line:
set cmd "rel_path=Android" or simmilar. If so, remove the entire cmd line, if there is nothing else in that line. Otherwise, just remove the rel_path=Android part inside the "" signs.
Hope this helps you
Click to expand...
Click to collapse
Peace to u Stenager,
Thanks so much for ur reply....sorry I didn't get back right away---was away for holiday. However, if u don't mind...can u tell me where I go to set up the startup.txt to change cmd?...I'm totally lost.
Thanks so much for ur time & patience
-ZDK-
Sent from my HTC Evo using Tapatalk

Related

Pleas HELP

Im very confused..... there are so many files to download for the Android to work on the Vouge and i keep getting errors(i guess im using the wrong file) i follwed what was there but it's not working at all. Can someone please tell me the exact files to download?
crazylegs90 said:
Im very confused..... there are so many files to download for the Android to work on the Vouge and i keep getting errors(i guess im using the wrong file) i follwed what was there but it's not working at all. Can someone please tell me the exact files to download?
Click to expand...
Click to collapse
1. Download your desired build from vogue hero then place and rename it to system.sqsh on your SD card
2. Extract contents of basefiles from vogue-android to your sd card, along with haret.exe, and default.txt
3. These are all you should need. If you get a white screen after you run haret then you need to open default.txt and change your panel type or just download a different one from the code site with the panel type you need to change to.
Hope this helps..your phone enters a wonderful new world with Android
KERKEDAGAIN said:
1. Download your desired build from vogue hero then place and rename it to system.sqsh on your SD card
2. Extract contents of basefiles from vogue-android to your sd card, along with haret.exe, and default.txt
3. These are all you should need. If you get a white screen after you run haret then you need to open default.txt and change your panel type or just download a different one from the code site with the panel type you need to change to.
Hope this helps..your phone enters a wonderful new world with Android
Click to expand...
Click to collapse
So i followed your instructions exactly but im still having a small problem...... when my phone boots into linux i get an error: : mounting /dev/block//loop0 on/data failed: Invalid argument Failed Failed to mount /data /bin/shi can't access tty: job control turned off
ANY SUGGESTION AS TO HOW TO FIX THIS ERROR
THANX FOR YOUR ALL YOUR HELP!!!
reformat your sd card
im still getting the same error...... can ANYONE tell me exactly which files YOU download to get Android working

Android error

androids been working fine until yesterday, until i booted android and it decided to go into a disk check, or something like that and got stuck for like 3 hours so i restarted it and now every time i start android, no matter what version, ive cleaned my card 6 times and put all the stuff back in it gives me:
Code:
Failed to find system.img on SD card
/bin/sh: can't access tty: job control turned off
/
heres a picture of my folder:
Please help?
look over at the error message and the picture you posted 1 more time..i think ur system is named wrong.
im so confused isnt systemmap the ssystem.img its talking bout?
Your system file always has to be renamed to system.sqsh. (The only exception is if you have a file that is system-xxx.img. Then you'd rename it to system.img.)
Sally
it i now system.sqsh still gives me same error
Which version of basefiles are you using?
Are you using a really old version or the ones from 11/16/09?
Sally
smarcin said:
Are you using a really old version or the ones from 11/16/09?
Sally
Click to expand...
Click to collapse
i figured it out, u gotta put it in the root of the SD card i had it with the other files, but now when it boots it sits at the boot screen and doesnt actually boot up
Usually, everything goes in the Android folder, /android. It looks like you're trying to run SenseHero. Is your default.txt set at 320 x 480 with a density of 160? Are you using the hero.user.conf file from the SenseHero thread:
http://forum.xda-developers.com/attachment.php?attachmentid=259474&d=1261528033
Just replace the hero.user.conf file in your conf folder with the one I linked to.
Sally
zbubblez said:
i figured it out, u gotta put it in the root of the SD card i had it with the other files, but now when it boots it sits at the boot screen and doesnt actually boot up
Click to expand...
Click to collapse
go to andoidonhtc.com

That annoying "Android" folder.

Anytime i boot android it creates a folder named "Android" now i heard you can delete that folder which i do because if i shut my phone down and i go to boot in again it will not boot. Now i have to delete that folder every single time so i can boot into android and its getting really annoying.
Is there a way to get rid of this?
Or is this happening to everyone one?
Is there a solution at all?
Sent from my HTC HD2 using XDA App
of course. the solution is to stop listening to people dont know what they are doing.
cut all android files from the root of your sd and paste them into the android folder...
+ on above, just have files on an Android folder don't put on root unless creator states it, that way you wont get a extra folder to delete & you can just use a boot loader to start up
Sent from my HTC HD2 using XDA App
make sure you edit your cmdline path in startup.txt to say this: set cmdline "rel_path=Android lpj=638976"
no need to edit the startup.txt, cause all the files are in the same folder. i dont even have the line rel_path=xxx in the txt...
Thanks for the fix , It was annoying but now that its fixed HELL YEAH
hegemytouch said:
Anytime i boot android it creates a folder named "Android" now i heard you can delete that folder which i do because if i shut my phone down and i go to boot in again it will not boot. Now i have to delete that folder every single time so i can boot into android and its getting really annoying.
Is there a way to get rid of this?
Or is this happening to everyone one?
Is there a solution at all?
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
It should only be a problem for those who boot in aand out of Android a lot. Even then, having an app like Total Commander on your WinMo ROM will ease the trouble of deleting the folder. I use Android as a daily driver and rarely boot into WinMo so the folder issue is nada for me. But When I do boot into WinMo, I immediately go to Total Commander and delete the Android folder. That way I'm ready to go.
It's a small sacrifice for the benefits gained from running Android on the root.
MartyLK said:
...
It's a small sacrifice for the benefits gained from running Android on the root.
Click to expand...
Click to collapse
What benefits are you talking about ? Can´t imagine only a single one...
kingofyo1 said:
make sure you edit your cmdline path in startup.txt to say this: set cmdline "rel_path=Android lpj=638976"
Click to expand...
Click to collapse
how do u do thiat?
with what application?
Bimme said:
What benefits are you talking about ? Can´t imagine only a single one...
Click to expand...
Click to collapse
From my experience it speeds the system up and makes it buttery smooth. EDIT - But you have to move them from the beginning, before the data store builds. Otherwise it doesn't seem to help much.
thanks
Bimme said:
of course. the solution is to stop listening to people dont know what they are doing.
cut all android files from the root of your sd and paste them into the android folder...
Click to expand...
Click to collapse
finally...lol thanks a lot man that was really annoying now its fixed...your the best man...
MartyLK said:
From my experience it speeds the system up and makes it buttery smooth. EDIT - But you have to move them from the beginning, before the data store builds. Otherwise it doesn't seem to help much.
Click to expand...
Click to collapse
my first boot was on the root of the sd, but i moved everything in the folder before booting the 2nd time...haven´t noticed any speed difference, and i can´t imagine why there should be a difference... but if it´s faster for u, than for sure it´s better to stick with all files on root
I'm a noob and all I did was copy all files to the root of my storage card - there is an android folder that contains nothing but it doesn't do anything to me whenever I boot up... I don't even bother deleting it. It's just hanging out on my storage card.

frxo4 installation problem

I tried to install frx 04 finished the calibration setup and then there was a black screen which i think was android booting up. However I reset my phone at this point because there was a black screen 4 about 2 mins. Tried to run haret again but got the message the file 'haret' cannot be opened. either it is not trusted..if the problem persists try reinstalling or restoring the file.
I tried deleting all the frx04 files and putting them back into memory card but I keep getting that message. What do I do ?(btw htc touch hd.)
problem solved
hard reset, changed roms, android now works!
try formating the card and reinstalling the fresh full FRX4 (dated 10/2)
ypsmav said:
try formating the card and reinstalling the fresh full FRX4 (dated 10/2)
Click to expand...
Click to collapse
yep done that nothing changed
mickeystar said:
yep done that nothing changed
Click to expand...
Click to collapse
use fresh copy of haret and see if your STARTUP.txt is right
most importantly check if this is right:
a) if your haret and other files are in root of the sd,open startup.txt and check if there is something like "rel_path=andboot" if there is,just delete that
b) if your haret and other files are in some folder eg. "FOLDER3" go to startup.txt and
-if there is no "rel_path=****" add "rel_path=FOLDER3"
-if there is just change **** to FOLDER3
be sure that rel_path has space before it and it is under quotes together
since there are only one quotes in that file,you will easily find them and place the right line there
additionally check for SD card problems,use search for your problem, you can easily find what to add to startup.txt if it is an sd card issue
farukb said:
use fresh copy of haret and see if your STARTUP.txt is right
most importantly check if this is right:
a) if your haret and other files are in root of the sd,open startup.txt and check if there is something like "rel_path=andboot" if there is,just delete that
b) if your haret and other files are in some folder eg. "FOLDER3" go to startup.txt and
-if there is no "rel_path=****" add "rel_path=FOLDER3"
-if there is just change **** to FOLDER3
be sure that rel_path has space before it and it is under quotes together
since there are only one quotes in that file,you will easily find them and place the right line there
additionally check for SD card problems,use search for your problem, you can easily find what to add to startup.txt if it is an sd card issue
Click to expand...
Click to collapse
i dont understand what u mean by ' be sure that rel_path has space before it and it is under quotes together'
i've uploaded my startup file, my haret and files are in an andboot folder with the rel_path added onto startup
mickeystar said:
i dont understand what u mean by ' be sure that rel_path has space before it and it is under quotes together'
i've uploaded my startup file, my haret and files are in an andboot folder with the rel_path added onto startup
Click to expand...
Click to collapse
Flash with another ROM, for example: WM 6.5.x (build 28244) I think it's the best!
Next.. on a FRESH formatted microSD card copy all the linux/android files except the "modules*****", "rootfs.img" and "zImage" to the root of microSD.
Go here and download the latest kernel htc-msm****
Next>> Go here and download the latest rootfs
Next>> unpack the "htc-msm***" archive and copy "modules-***" and "zImage-***" to root of microSD, rename "zImage-***" to "zImage", "modules-***" don't need rename!
Unpack the "rootfs-***" archive and copy "rootfs-***.img" to root of microSD, rename "rootfs-***.img" to "rootfs.img", delete "data.img" if exist, delete "ts-calibration" if exist!
Hope this helps!
Best Regards, FLeX!
Edit: use the untouched STARTUP.TXT
mickeystar said:
i dont understand what u mean by ' be sure that rel_path has space before it and it is under quotes together'
i've uploaded my startup file, my haret and files are in an andboot folder with the rel_path added onto startup
Click to expand...
Click to collapse
If that's your startup.txt, the problem is right there:
NOT:
....gsensor_axis=-2,-1,3"
boot
rel_path=andboot
BUT:
....gsensor_axis=-2,-1,3 rel_path=andboot"
boot
That should fix the FIRST problem with booting it up.
Another problem might be still having the USB plugged in to the phone. Be sure to take it out before running haret.
hrk7474 said:
If that's your startup.txt, the problem is right there:
NOT:
....gsensor_axis=-2,-1,3"
boot
rel_path=andboot
BUT:
....gsensor_axis=-2,-1,3 rel_path=andboot"
boot
That should fix the FIRST problem with booting it up.
Another problem might be still having the USB plugged in to the phone. Be sure to take it out before running haret.
Click to expand...
Click to collapse
changed it not sure if its right though still doesnt work, can u upload rite startup txt file for blackstone please
mickeystar said:
changed it not sure if its right though still doesnt work, can u upload rite startup txt file for blackstone please
Click to expand...
Click to collapse
Better yet. I took your startup.txt made it look more readable.
See pic for how the folder should look.
Don't worry about not having data.img and tscalibration files, they are created on first boot.
And there's a great video about it on youtube by theDeadCPU. --> VIDEO <--
Just in case your kernel doesn't ask for calibration, download the attached file and put it in andboot folder. Remove extension (should be ts-calibration)
hrk7474 said:
Better yet. I took your startup.txt made it look more readable.
See pic for how the folder should look.
Don't worry about not having data.img and tscalibration files, they are created on first boot.
And there's a great video about it on youtube by theDeadCPU. --> VIDEO <--
Click to expand...
Click to collapse
still not working, i used your startup. these are the files on my andboot folder on my storage card.
sorry about image quality had to resize
any1????????????
mickeystar said:
these are the files on my andboot folder on my storage card.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=11411484&postcount=10
thanks for the replies but i think my problem goes further
http://forum.xda-developers.com/showthread.php?p=11572912&posted=1#post11572912
problem solved
hard reset, changed roms, android now works!
mickeystar said:
thanks for the replies but i think my problem goes further
http://forum.xda-developers.com/showthread.php?p=11572912&posted=1#post11572912
problem solved
hard reset, changed roms, android now works!
Click to expand...
Click to collapse
Glad it works now.

Help!! Problem hd2 dual boot (ics 4 & Wm6,5)!!!

Hello everybody!!!
I'm a very noob user, so i please a need a step by step help!
I tryed to install a dual boot on my hd2, with android ICS (MIUI) on SD, and windows mobile 6,5 on NAND.
To get that result i used this Guide: http://forum.xda-developers.com/showthread.php?t=1504369
..but, in the the guide is written:
"Instructions:
Well you know just extract everything and put the miuiics folder in your root of sd card, you know the rest.."
maybe a link to the guide is better then "you know the rest..."!
I don't Know the rest, and I proceded in this way:
1) Inistalled the MAGLDR
2) copyed the rom of android on a SD card
3) Configured the setting to make a boot to SD and Android working perfectly!!
Now I even need to use windows mobile 6.5, but I don't know to switch on it!
I think that MAGLDR is overwritten on WM6.5 rom, and now I have a phone with only android, where is impossible to make a dual boot!!!
Anyone can write me the procedure step by step to retry to install correctly the dual boot with WM6,5 and android MIUI ics? Is even good a link with a guide that I didn't found!!!
I have 2,08 HSPL.
Thanks anticipately for your explains!
Nick.sf
nick.sf said:
Hello everybody!!!
I'm a very noob user, so i please a need a step by step help!
I tryed to install a dual boot on my hd2, with android ICS (MIUI) on SD, and windows mobile 6,5 on NAND.
To get that result i used this Guide: http://forum.xda-developers.com/showthread.php?t=1504369
..but, in the the guide is written:
"Instructions:
Well you know just extract everything and put the miuiics folder in your root of sd card, you know the rest.."
maybe a link to the guide is better then "you know the rest..."!
I don't Know the rest, and I proceded in this way:
1) Inistalled the MAGLDR
2) copyed the rom of android on a SD card
3) Configured the setting to make a boot to SD and Android working perfectly!!
Now I even need to use windows mobile 6.5, but I don't know to switch on it!
I think that MAGLDR is overwritten on WM6.5 rom, and now I have a phone with only android, where is impossible to make a dual boot!!!
Anyone can write me the procedure step by step to retry to install correctly the dual boot with WM6,5 and android MIUI ics? Is even good a link with a guide that I didn't found!!!
I have 2,08 HSPL.
Thanks anticipately for your explains!
Nick.sf
Click to expand...
Click to collapse
First link explains how get Android installed and running from SD using CLRCAD.EXE and HaRet.exe = "you know the rest..."
http://forum.xda-developers.com/showthread.php?t=732380
and also a link how to get WM back on the HD2.
http://forum.xda-developers.com/showthread.php?t=609477
BTW: the link you attached is not a guide, it is the ROM itself with few instruction for people who have already some experiences
Cheers.....LinChina
Please do some more reading before flashing anything, if you didn't have an HD2 you would probably end up hard bricking your device if you didn't read. MAGLDR replaces WinMo. You need to boot into the bootloader, flash an official stock ROM via USB then run the SD build via CLRCAD and HARET.
LinChina said:
First link explains how get Android installed and running from SD using CLRCAD.EXE and HaRet.exe = "you know the rest..."
http://forum.xda-developers.com/showthread.php?t=732380
and also a link how to get WM back on the HD2.
http://forum.xda-developers.com/showthread.php?t=609477
BTW: the link you attached is not a guide, it is the ROM itself with few instruction for people who have already some experiences
Cheers.....LinChina
Click to expand...
Click to collapse
thanks a lot!
Later I will tray again! I'll let you know!!!
However in the guide you gave me, do not talk about Android ICS, but the previous version!!! "you know the rest..." continues to be a bit vague!!
Nick.sf
Nigeldg said:
Please do some more reading before flashing anything, if you didn't have an HD2 you would probably end up hard bricking your device if you didn't read. MAGLDR replaces WinMo. You need to boot into the bootloader, flash an official stock ROM via USB then run the SD build via CLRCAD and HARET.
Click to expand...
Click to collapse
Thanks, but i tryed with CLRCAD and HARET without result!!!
Mayby "Android loader V6" isn't the bootloader corretc?
when I select CLRCAD and HARET, the phone lounch first screen of android loading, but then, the phone restarts!!!
nick.sf said:
Thanks, but i tryed with CLRCAD and HARET without result!!!
Mayby "Android loader V6" isn't the bootloader corretc?
when I select CLRCAD and HARET, the phone lounch first screen of android loading, but then, the phone restarts!!!
Click to expand...
Click to collapse
OK you seem to be very confused with your terms, so I'll simplify things for you:
1. Turn the phone off
2. Boot into the bootloader (stripey screen) by holding power and volume down
3. Flash the latest 3.14 stock ROM (WinMo) for your particular device (see on HTC's official website, it has the downloads plus a guide)
4. Place the 'Android' folder on the root of your SD card. Note that the name of this folder may vary from build to build, but it is always the folder containing all of the files.
5. Boot into WinMo then find the file explorer
6. Open the 'Android' folder (or whatever it's called) and find the file 'CLRCAD.exe' and run it. You will not see any visual change
7. Find the file 'HARET.exe' and run it. Android will be booted.
8. After first boot, be patient. Give the device time to settle and then once everything seems fine (after at most 5 minutes) reboot.
9. Once you reboot, you will have WinMo again. Simply repeat steps 6 and 7 to boot into Android.
If this guide isn't simple enough for you, then in all honesty I don't think I can help you much, you'll have to find someone who's more noob-friendly
Nigeldg said:
OK you seem to be very confused with your terms, so I'll simplify things for you:
1. Turn the phone off
2. Boot into the bootloader (stripey screen) by holding power and volume down
3. Flash the latest 3.14 stock ROM (WinMo) for your particular device (see on HTC's official website, it has the downloads plus a guide)
4. Place the 'Android' folder on the root of your SD card. Note that the name of this folder may vary from build to build, but it is always the folder containing all of the files.
5. Boot into WinMo then find the file explorer
6. Open the 'Android' folder (or whatever it's called) and find the file 'CLRCAD.exe' and run it. You will not see any visual change
7. Find the file 'HARET.exe' and run it. Android will be booted.
8. After first boot, be patient. Give the device time to settle and then once everything seems fine (after at most 5 minutes) reboot.
9. Once you reboot, you will have WinMo again. Simply repeat steps 6 and 7 to boot into Android.
If this guide isn't simple enough for you, then in all honesty I don't think I can help you much, you'll have to find someone who's more noob-friendly
Click to expand...
Click to collapse
Thank you so much for the help, but i just tryed this way!!!
In my situation, at point 8 of the guide, my phone restarts after about 30 second (no 5 minute) and then go in loop...
After the restart, the phone enter in WM and ask me to run CLRCAD.exe, and HARET.exe (in this order) and i accept.
The phone starts the loading screen of android, and restarts again.
It always restarts, without going into Android! I have seen at least 10 restarts before try to install Magldr!!!
I don't know the cause, but i think that android ICS is not compatible with the "Android loader V6". I used this loader with android gingerbread without problem!
Now in the link with ROM, i read:
"Ported using Portadroid Ultimate v4.0: http://forum.xda-developers.com/show....php?t=1094372 "
but the page does not exist!!!! What is portadroid ultimate? is it the bootloader?
I'd not worry about the bootloader and other terms much if I were you, it's not important for SD Android anyway
I apologise if I can't be much more use but I haven't used SD Android in a long time . The only thing I can think of is this: EDIT: see bottom of the post first, then try this
1. Find the SD Android build which you have downloaded on your PC
2. Open the folder and find the file 'startup.txt'
3. Find the line 'Rel_path=' and make sure that the next word matches the name of the folder in which the build is stored, for example if I had an SD build with the folder name 'Android', that line in startup.txt should also say 'Rel_path=Android'.
The only other thing I can think of is that somehow the folder isn't in the root of your SD card. Make sure the folder which contains the files (so in the example I gave previously this folder would be called Android) is copied to the root of your SD card. There should be no sub-folders or anything like that, just /Android.
EDIT: I think I may have found it now, try uninstalling the automatic loader app you have (Android Loader V6) and running these files manually rather than doing it automatically. If I'm not mistaken, this app looks for a folder named 'Android' by default, but the name of the folder your ICS build is stored in may be something different.
Just to add that ICS SD builds are often in an 'ICS' folder instead of 'Android'
It shouldn't matter using CLRCAD.exe, and HARET.exe though.
Nigeldg said:
I'd not worry about the bootloader and other terms much if I were you, it's not important for SD Android anyway
I apologise if I can't be much more use but I haven't used SD Android in a long time . The only thing I can think of is this: EDIT: see bottom of the post first, then try this
1. Find the SD Android build which you have downloaded on your PC
2. Open the folder and find the file 'startup.txt'
3. Find the line 'Rel_path=' and make sure that the next word matches the name of the folder in which the build is stored, for example if I had an SD build with the folder name 'Android', that line in startup.txt should also say 'Rel_path=Android'.
The only other thing I can think of is that somehow the folder isn't in the root of your SD card. Make sure the folder which contains the files (so in the example I gave previously this folder would be called Android) is copied to the root of your SD card. There should be no sub-folders or anything like that, just /Android.
EDIT: I think I may have found it now, try uninstalling the automatic loader app you have (Android Loader V6) and running these files manually rather than doing it automatically. If I'm not mistaken, this app looks for a folder named 'Android' by default, but the name of the folder your ICS build is stored in may be something different.
Click to expand...
Click to collapse
aldaweb said:
Just to add that ICS SD builds are often in an 'ICS' folder instead of 'Android'
It shouldn't matter using CLRCAD.exe, and HARET.exe though.
Click to expand...
Click to collapse
That is correct. If I read it right, Android Loader had been set up already for a previous build. When you do this, you tell the app what folder to look for - i.e. "Android". Now that you have a different build, different folder name, the app cannot find all the associated files to boot from SD properly.
Your folder name is miuiics

Categories

Resources