[Q] Odd Problem with startup.txt - it gets deleted! - Touch Pro2, Tilt 2 Android Development

I just started doing the xdandroid (since it was 'finalized' on 9/16), by downloading the cab, and installing the reference version of the package.
Everything installs and runs fine. The first time. After a graceful shut-down, and re-starting, I learn that the startup.txt file is 0 bytes -- empty! So, Android won't boot.
Why is my startup.txt continually being modified and cleared?
Any info appreciated.
Thx.
Jon

I have the same Problem...

Did you guys search? If I search in the android thread on "0 bytes" I get 20 results. It's a bug of the startup utility. Don't use it or rename startup.txt to default.txt. Maybe putting the startup.txt to read only should work to.

Best option: DON'T USE MGJDROIDUTIL!!!
Also, for you cab peoples - it uses this by default - use haret.exe!!!

i had the same prob. it goes to haret and if u click run it will say it cant find default text. uninstall android. delete all files in andboot folder. reinstall. copy and paste the "startup.txt" file to the same folder. rename it "default.txt" or just "default."
the same thing will happen to the startup.txt but the default.txt will always work. you just have to hit run when it gets to haret.

I had the same issue, the problem only seems to occur when you check/uncheck the Hardware 3D Box.

starmena said:
I had the same issue, the problem only seems to occur when you check/uncheck the Hardware 3D Box.
Click to expand...
Click to collapse
Dude... it's MGJDroidUtil that's causing the issue. I hear there's an update coming, but for the time being
DON'T USE IT!!!!!!!!!
Sorry I had to get forceful with the text, but it seems some aren't getting the point...

Lol relax, I've learned that the hard way. I just wanted to explain to these guys my side of the symptom and what I notice that seems to have caused the problem. I agree with you though.

I do not even know MGJDroidUtil, but I have the same issue. It happens along side with SD card corruption (file000.chk)

sukru said:
I do not even know MGJDroidUtil, but I have the same issue. It happens along side with SD card corruption (file000.chk)
Click to expand...
Click to collapse
Are you using the cab install & using that shortcut it put in your start menu? Then you are using MGJDroidUtil.

uncleswoop said:
i had the same prob. it goes to haret and if u click run it will say it cant find default text. uninstall android. delete all files in andboot folder. reinstall. copy and paste the "startup.txt" file to the same folder. rename it "default.txt" or just "default."
the same thing will happen to the startup.txt but the default.txt will always work. you just have to hit run when it gets to haret.
Click to expand...
Click to collapse
this will fix the problem. lol THE ANSWER IS HERE!!!

uncleswoop said:
this will fix the problem. lol THE ANSWER IS HERE!!!
Click to expand...
Click to collapse
Jesus why can't you just not use the MGJDroidUtil?!? I'm not sure why that's so difficult. If you don't use it, it won't screw up your startup.

I had the same issues. What I did is after installing it go into file explorer and long press haret.exe and add it to programs and set it on your home screen as the link. )

There is a new startup tool, use that. Delete the old one.

arrrghhh said:
Are you using the cab install & using that shortcut it put in your start menu? Then you are using MGJDroidUtil.
Click to expand...
Click to collapse
Interesting. I've always used the CAB install. Shall I remove the CAB and go with the RAR?

sukru said:
Interesting. I've always used the CAB install. Shall I remove the CAB and go with the RAR?
Click to expand...
Click to collapse
I would, just because then you get a better feel of what's really happening. I installed the cab for the first time last night... that thing is an atrocity.
At any rate, MGJDroidUtil was also updated, so you should be safe using it again - assuming you're using the newly updated version that is.

hi there i got the new build 28-9 and i got the problem when i want to boot it...its says storagecard/andboot directory does not exist...while its exist... someone told me to:
Startup.txt, in the cmdline section. Don't use the startup utility (MGJDroidUtil) if you edit the startup manually tho. It'll blast out whatever you put in there.
but i dont know where the Startup.txt is..in my sd card i been searching but no results and i got a gsm touch pro 2... well maybe i should delete everything again...are these FSCK0000.REC files also from this builds?cuase i didnt delete that..i only deleted the andboot and 100android(dcim) files

peruwan said:
hi there i got the new build 28-9 and i got the problem when i want to boot it...its says storagecard/andboot directory does not exist...while its exist... someone told me to:
Startup.txt, in the cmdline section. Don't use the startup utility (MGJDroidUtil) if you edit the startup manually tho. It'll blast out whatever you put in there.
but i dont know where the Startup.txt is..in my sd card i been searching but no results and i got a gsm touch pro 2... well maybe i should delete everything again...are these FSCK0000.REC files also from this builds?cuase i didnt delete that..i only deleted the andboot and 100android(dcim) files
Click to expand...
Click to collapse
Yes, the .rec files are from the build. You can put an entry in your froyo.user.conf that deletes them for you.
Also, you can't find your startup.txt...? How are you running Android, it should be where haret.exe is!

its after you install and load android. after exiting android and returning to winmo, somewhere along the lines startup text gets deleted. for what reason? i know not..
hey atleast it teaches us workarounds lol

ye i know but i could find that file thats why i think it didnt work this time for me
is com.handcent.nextsms-2.9.29 a android file? and EncFiltLog to?
tnx cheers..btw im just gonna install it all over again

Related

how do i edit my build.prop

if i edit my build.prop with astro, on a reboot the changes are lost, the file is marked r-w, so something altering it on bootup, anybody know where the source comes from??
Download Root Explorer and use that. Trust.
tried that, it keeps getting overwritten with some king of backup.
mallard729 said:
tried that, it keeps getting overwritten with some king of backup.
Click to expand...
Click to collapse
If that's the case, then it's a problem specific to the ROM. I haven't tried it on my TP2 but it worked flawlessly on my G1.
Lemme take a look once I get a second.
why cant i find the directory /system/ ?!?! i cant find the build.prop from within windows or winmo?!
norpan111 said:
why cant i find the directory /system/ ?!?! i cant find the build.prop from within windows or winmo?!
Click to expand...
Click to collapse
Because it does not excist in winmo. It only excists in android.
I tried Root Explorer and it workers . I use latest froyo build with lower incall volume kernel .
Can somebody tell me when I delete apps in system/apps folder I delete from data.img or from system.ext2 ?
Same here, I change my build.prop file or replace it and it gets overwritten.
Using the build.prop for protected apps but can't get it to stay.
I am using the latest BLAZEN build from PPCGEEKS/Reefer.
Being an Ext2 file instead of sqsh I figure this would have worked flawless.
I'd really like to download logmein, gbahours, paypal and a few other protected apps. I can't without fixing this build.prop file....
OR
Find some way to get a working fingerprint Google has already approved.
Glad to see I'm not the only one looking into this I have the same problem in my android OS - different phone, but same custom OS. Hopefully this thread won't die - if I ever figure it out I'll be sure to post here as well

Incorrect Key Mapping

Hi all,
Sorry if this is a easy one, but im having a bit of a day and cant work out how to sort this (I swear ive had this problem before but cant remember how or if I fixed it).
When I press keys like fn and Q (to get @) I get ! instead.
Ive looked around and it seems that I can fix this by adjusting the default.txt file which ive tried and hasnt worked.
Id rather not do a reinstall.
Thanks
easy
in default.txt
look for key you should set it to one i think
XCougar said:
Hi all,
Sorry if this is a easy one, but im having a bit of a day and cant work out how to sort this (I swear ive had this problem before but cant remember how or if I fixed it).
When I press keys like fn and Q (to get @) I get ! instead.
Ive looked around and it seems that I can fix this by adjusting the default.txt file which ive tried and hasnt worked.
Id rather not do a reinstall.
Thanks
Click to expand...
Click to collapse
add what's between the ' (if it's not already there):
Code:
'board-kaiser-keypad.atttilt=0' normal
'board-kaiser-keypad.atttilt=1' AT&T tilt
'board-kaiser-keypad.atttilt=2' Nordic (Swedish, Norwegian, Danish, Finnish)
'board-kaiser-keypad.atttilt=3' azerty (French)
'board-kaiser-keypad.atttilt=4' qwertz (German)
Hi, ive tried this and it doesnt seem to work. I am editing the correct default.txt? Its in andboot?
I cant work out where to change it to 0, do I add it at the beginning by adding set board-kaiser-keypad-atttilt ?
Getting more confused. =S
XCougar said:
Hi, ive tried this and it doesnt seem to work. I am editing the correct default.txt? Its in andboot?
I cant work out where to change it to 0, do I add it at the beginning by adding set board-kaiser-keypad-atttilt ?
Getting more confused. =S
Click to expand...
Click to collapse
post your default.txt
loserskater said:
post your default.txt
Click to expand...
Click to collapse
As attached, many thanks.
Right at the end of the default.txt the line
Code:
set cmdline "ppp.nostart=0 pm.sleep_mode=1 mddi.width=240 mddi.height=320 no_console_suspend board-htckaiser.panel_type=1 board-kaiser-keypad.atttilt=0 hw3d.version=1"
boot
Since your default.txt says board-kaiser-keypad.atttilt=0 change that to board-kaiser-keypad.atttilt=1
(looks like you got a tilt keyboard version, instead of the 'normal' one)
zenity said:
Right at the end of the default.txt the line
Code:
set cmdline "ppp.nostart=0 pm.sleep_mode=1 mddi.width=240 mddi.height=320 no_console_suspend board-htckaiser.panel_type=1 board-kaiser-keypad.atttilt=0 hw3d.version=1"
boot
Since your default.txt says board-kaiser-keypad.atttilt=0 change that to board-kaiser-keypad.atttilt=1
(looks like you got a tilt keyboard version, instead of the 'normal' one)
Click to expand...
Click to collapse
Still doesnt work right =(
zenity said:
Right at the end of the default.txt the line
Code:
set cmdline "ppp.nostart=0 pm.sleep_mode=1 mddi.width=240 mddi.height=320 no_console_suspend board-htckaiser.panel_type=1 board-kaiser-keypad.atttilt=0 hw3d.version=1"
boot
Since your default.txt says board-kaiser-keypad.atttilt=0 change that to board-kaiser-keypad.atttilt=1
(looks like you got a tilt keyboard version, instead of the 'normal' one)
Click to expand...
Click to collapse
I think he has the "normal" keymapping as he's trying to get @ with fn + q.
so it should be 'board-kaiser-keypad.atttilt=0'.
Just to make sure, you have a folder called andboot on your sd? and there's only one default.txt inside? if so and you're still getting problems. Try to wipe the sd and start over. You should only have androidinstall.tar, initrd.gz, default.txt, haret.exe, and zImage inside the andboot folder.
or try this default.txt
loserskater said:
I think he has the "normal" keymapping as he's trying to get @ with fn + q.
so it should be 'board-kaiser-keypad.atttilt=0'.
Just to make sure, you have a folder called andboot on your sd? and there's only one default.txt inside? if so and you're still getting problems. Try to wipe the sd and start over. You should only have androidinstall.tar, initrd.gz, default.txt, haret.exe, and zImage inside the andboot folder.
or try this default.txt
Click to expand...
Click to collapse
Hi, thanks for putting up with me, there is only one default.txt in a folder called andboot on my sd card.
I tried making the changes as well as using the default.txt you supplied.
Something isnt right here as its not working, my android is installed to the sd card, so it has system.img etc, does this make a difference?
I dont understand what im doing wrong, im not an expert on Android, but I do work in IT support so im not a complete idiot, lol.
Thanks
XCougar said:
Hi, thanks for putting up with me, there is only one default.txt in a folder called andboot on my sd card.
I tried making the changes as well as using the default.txt you supplied.
Something isnt right here as its not working, my android is installed to the sd card, so it has system.img etc, does this make a difference?
I dont understand what im doing wrong, im not an expert on Android, but I do work in IT support so im not a complete idiot, lol.
Thanks
Click to expand...
Click to collapse
Only thing I would suggest doing is starting completely over. Wipe your sd card and start with a fresh andboot folder and install a fresh system. If that doesn't work, then I am out of options.
Ok I did a complete reinstall to the device itself rather then on the sd card.
It worked but only for a while, it then changed back to the wrong key mapping.
I did this reinstall along with another Kaiser, both with same OS, same setup etc, only difference is the one that has "changed" back has a sim in it.
I tried looking for a default.txt but there isnt one? Does one not exist for direct installs to Kaiser?
I am really confused.
Thanks,
XCougar said:
Ok I did a complete reinstall to the device itself rather then on the sd card.
It worked but only for a while, it then changed back to the wrong key mapping.
I did this reinstall along with another Kaiser, both with same OS, same setup etc, only difference is the one that has "changed" back has a sim in it.
I tried looking for a default.txt but there isnt one? Does one not exist for direct installs to Kaiser?
I am really confused.
Thanks,
Click to expand...
Click to collapse
If it's a nand install there is only the nbh (which is flashed to the phone) and the androidinstall which is installed to the internal memory. the default.txt just told haret what to do, and since you're not using haret, no need for a default.txt. When you install the system again, try going to Setting>Language & keyboard and uncheck Touch Input. I've had issues where capital letters weren't working, etc. and that solved it so maybe it goes beyond that. Worth a shot.

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.

Haret wont run for some reason

Haret was running fine then for some reason it doesnt want to run anymore, it just says "failed to load file /storage card/XDAndroid/initrd.gzset. I tried deleting the initrd file that i have in my sd card then replace it with the FRX07.1 bundle initrd but it still doesnt work
x12CHRIS18x said:
Haret was running fine then for some reason it doesnt want to run anymore, it just says "failed to load file /storage card/XDAndroid/initrd.gzset. I tried deleting the initrd file that i have in my sd card then replace it with the FRX07.1 bundle initrd but it still doesnt work
Click to expand...
Click to collapse
Is the file named initrd.gz or initrd.gzset...?
Might want to delete everything but your startup.txt, data.img and ts-calibration. Replace everything else from the bundle. Re-download the entire bundle perhaps.
x12CHRIS18x said:
Haret was running fine then for some reason it doesnt want to run anymore, it just says "failed to load file /storage card/XDAndroid/initrd.gzset. I tried deleting the initrd file that i have in my sd card then replace it with the FRX07.1 bundle initrd but it still doesnt work
Click to expand...
Click to collapse
check your register if u use a programm , under lok.machine> software > check if your android has still the right path, otherwise you need to replace your start txt
N_Wolve said:
check your register if u use a programm , under lok.machine> software > check if your android has still the right path, otherwise you need to replace your start txt
Click to expand...
Click to collapse
I already tried replacing my startup.txt, it still didnt want to work
arrrghhh said:
Is the file named initrd.gz or initrd.gzset...?
Might want to delete everything but your startup.txt, data.img and ts-calibration. Replace everything else from the bundle. Re-download the entire bundle perhaps.
Click to expand...
Click to collapse
It said initrd.gzset
x12CHRIS18x said:
It said initrd.gzset
Click to expand...
Click to collapse
Did you read my post, or just skim it...
I didn't ask what the error said, I asked what the file was named. It should be initrd.gz. Try my other suggestion if that file is named correctly...
arrrghhh said:
Did you read my post, or just skim it...
I didn't ask what the error said, I asked what the file was named. It should be initrd.gz. Try my other suggestion if that file is named correctly...
Click to expand...
Click to collapse
I already tried it, it still doesnt work
x12CHRIS18x said:
I already tried it, it still doesnt work
Click to expand...
Click to collapse
K, if you won't provide more info or be more verbose, I can't help you any further.
Seriously. If starting from square one doesn't fix the problem, there's no square 0. Format the card, start completely over - doesn't work? Then I don't know how it was ever working .
arrrghhh said:
K, if you won't provide more info or be more verbose, I can't help you any further.
Seriously. If starting from square one doesn't fix the problem, there's no square 0. Format the card, start completely over - doesn't work? Then I don't know how it was ever working .
Click to expand...
Click to collapse
It works but it freezes every time I run haret
x12CHRIS18x said:
It works but it freezes every time I run haret
Click to expand...
Click to collapse
Then I would analyze WinMo. There have been some off the wall configurations in WinMo that have caused issues with HaRET recognizing the device.
arrrghhh said:
Then I would analyze WinMo. There have been some off the wall configurations in WinMo that have caused issues with HaRET recognizing the device.
Click to expand...
Click to collapse
Never mind I fixed it. It was some commands in the froyo.user.conf that was messed up
x12CHRIS18x said:
Never mind I fixed it. It was some commands in the froyo.user.conf that was messed up
Click to expand...
Click to collapse
Heh, so you didn't really follow my directions... But glad you found the culprit.
arrrghhh said:
Might want to delete everything but your startup.txt, data.img and ts-calibration. Replace everything else from the bundle. Re-download the entire bundle perhaps.
Click to expand...
Click to collapse

replacing xt9

not really sure which forum to post this in (sorry if this is the wrong one), but all of the new roms that have been created seem to lack the xt9. i had really started to like it. i downlaoded the system dump and was wondering, if i copied the T9DB folder (from the dump) over to the system folder of whatever rom im going to flash, would that fix the problem.
Melvin's ROM: Beast MOD II has it. I'm pretty sure this is more a general question though. Also pretty sure copying and pasting is a no go.
Sent from the future, back to the past.
Adj. said:
Melvin's ROM: Beast MOD II has it. I'm pretty sure this is more a general question though. Also pretty sure copying and pasting is a no go.
Sent from the future, back to the past.
Click to expand...
Click to collapse
the xt9 option is in all of them under keyboard, but doesnt work. open up sms and try to type something.
i just checked :\
You also need the lib, libXt9core.so. Melvin probably removed it. You should be able to drop that and the apk in their right places and it should work.
Romanbb said:
You also need the lib, libXt9core.so. Melvin probably removed it. You should be able to drop that and the apk in their right places and it should work.
Click to expand...
Click to collapse
the lib is acutally there. im going to try n drag the t989odex folder over and see if it works, since i cant get an answer from melvin :\
camf3xu said:
the lib is acutally there. im going to try n drag the t989odex folder over and see if it works, since i cant get an answer from melvin :\
Click to expand...
Click to collapse
That's a bad idea, lol. If you can get the logcat when it FCs I might be able to help identify the issue
Romanbb said:
That's a bad idea, lol. If you can get the logcat when it FCs I might be able to help identify the issue
Click to expand...
Click to collapse
moving the folder over to the rom's system folder within the zip fixed it :] and it didnt force close, just didnt work (even when it was enabled)
how did u get this to work? i dont understand what you are saying. Android is super new to me.
you can always install Go Keyboard, which offer XT9
imsohungover said:
how did u get this to work? i dont understand what you are saying. Android is super new to me.
Click to expand...
Click to collapse
its very simple. first i downloaded this system dump. http://forum.xda-developers.com/showthread.php?t=1300682 . then opened it up and dragged the folder T9DB over to my desktop. then plugged my phone in the computer and connect to usb storage. dragged the file over to my external sd card and unplugged my phone. then open up root explorer (or some file explorer that allows root access) and copied the file and navigated your main folder (just titled /) scrolled down to find system and pasted the folder in there. restart and it works
the lib is also required for it to work but that wasnt removed witht he rom im using. if you want to check to see if its still there go to the lib folder located within your system folder and scroll all the way to the bottom and their should be a file called libxt9core.so
i tried to go into as much detail as possible to make it as simple as possible for you :]
This is one of the few features of the SGH-T989 which I truly despise. I LOVED the auto-correct on the Nexus S, but XT9 frustrates me terribly because a) it assumes English and I do not always type in English and b) it will drop entire words into my sentences if I hit space or something, ending in some REALLY weird messages!! I turned it off, because it was taking me a lot longer trying to go back and edit my messages ex-post-facto than just make a spelling error here or there.
do you know where i can get the lib file at? im using bombaridier and it doesnt have it in the lib file.
heinrich said:
This is one of the few features of the SGH-T989 which I truly despise. I LOVED the auto-correct on the Nexus S, but XT9 frustrates me terribly because a) it assumes English and I do not always type in English and b) it will drop entire words into my sentences if I hit space or something, ending in some REALLY weird messages!! I turned it off, because it was taking me a lot longer trying to go back and edit my messages ex-post-facto than just make a spelling error here or there.
Click to expand...
Click to collapse
i suppose i can understand non english. pretty sure u can fix the space problem in options tho
imsohungover said:
do you know where i can get the lib file at? im using bombaridier and it doesnt have it in the lib file.
Click to expand...
Click to collapse
the lib is also in the system dump i described earlier. located at T989odex/lib/libXt9core.so
do u know any other root explorer i can use? Right now i am using Explorer and its giving me the "you cannot paster here because the file system is read-only"

Categories

Resources