hey - Touch Pro2, Tilt 2 Android Development

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.

Related

Is it possible to run two different builds of Android?

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

[Q] How to add apps to a rom?

Hey!
I was wondering, is there a way of adding apps to a rom... theres a few apk's i practially have to have installed, so i was wondering is there a way to add these files to a zipped rom so they install within the the system folder on the phone takin up dedicated rom space instead of dedicated phone storage....
been searching for a while about this, an theres a few close threads but they stopped before it was answered.
Also i have tried unzipping the rom, adding the apks, then rezipping an it didnt work, it started installing an finished within 2 seconds so obviously it didnt install the rom.
Thanks in advance!
You should just be able to add them to the /system/app folder. You just have to use a custom recovery to flash it, because the original zip is signed, where yours isn't. So if you turn the check for signature off in the recovery it should work just fine.
Alternatively you can learn how to sign your zip file, but that's far more time consuming.
i tried doing that, toggled it off in clockworkmod and still does the same thing. so not entirely sure wat i'm doing wrong, all i'm doing is rezipping it to a zip file using winrar.... should i try somethin else?
and yeah i made sure it did it to a zip file an not a rar file
360nitrous said:
i tried doing that, toggled it off in clockworkmod and still does the same thing. so not entirely sure wat i'm doing wrong, all i'm doing is rezipping it to a zip file using winrar.... should i try somethin else?
and yeah i made sure it did it to a zip file an not a rar file
Click to expand...
Click to collapse
I had a similar problem like yours.
Here is where we were wrong. We unzipped the .zip, added whatever we did, and then selected the folder and added to zip, which is wrong. You have to select ALL the folders and files WITHIN the folder unzipped and add it to archive.
Meaning, I have for ex. update-OD4.0.10.zip, after I unzip it it gets a folder containing all the files and folders of the ROM. You have to go one level in, select them all (files and folders in there) and add it to zip. Et voila!
Hope you understand my English!
mi3x said:
I had a similar problem like yours.
Here is where we were wrong. We unzipped the .zip, added whatever we did, and then selected the folder and added to zip, which is wrong. You have to select ALL the folders and files WITHIN the folder unzipped and add it to archive.
Meaning, I have for ex. update-OD4.0.10.zip, after I unzip it it gets a folder containing all the files and folders of the ROM. You have to go one level in, select them all (files and folders in there) and add it to zip. Et voila!
Hope you understand my English!
Click to expand...
Click to collapse
Now that makes me feel stupid haha!!! your totally right, that sorted out the problem, thanks a lot!!! sometimes its the simplest things that you forget about
Yes you will of course have to add the folders in the same structure as before, as the update script are telling the recovery which folders to flash where, and you are leaving that script unchanged.
360nitrous said:
Now that makes me feel stupid haha!!! your totally right, that sorted out the problem, thanks a lot!!! sometimes its the simplest things that you forget about
Click to expand...
Click to collapse
My pleasure I loled as well! At least I went deeper in my feeling stupid, changing RAR tools, different compression types etc... and the answer was there all along.

[Q] Odd Problem with startup.txt - it gets deleted!

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

[Q] Modify "updater-script"

Does anyone know how to modify the "updater-script" that is within the following file path: cm-10-20120818-NIGHTLY-d2spr.zip\META-INF\com\google\android
I just want to modify one line within the updater-zip. I tried using notepad plus by copying the "updater-zip", modifying the line I wanted to and then copying and pasting back into the CM-10 update zip (in the above mentioned file path), but I get errors. I think its an issue with file "signing" or the fact the original update-script is packed "compressed", and when I edit it, it compress's the file.
The reason I am doing this is I want to be able to dual boot my stock rom and the C10 nightlies. The current procdure allows for CM9 only but in the link below a developer found a work around where he calls for updating the script - he does not explain how to do so (I am new to to this). See link below to see what I mean:
http://forum.xda-developers.com/showpost.php?p=28906564&postcount=49
Is there an easy fix for this? Can this be done on the phone. I want to avoid having to deal with "apk signing" etc. Thanks!
i imagine ur errors are when you install?
Try mine https://dl.dropbox.com/s/6gzr055iyb1v6hp/updater-script?dl=1 you probly just got a typo somewhere. Make sure u delete .txt from my attachment as it will probly be added when you DL it. Same goes for the one ur editing. Notepad adds .txt. make sure ur deleting the extension. Mine worked perfect so if it doesn't post the error u get in recovery.
and this can be done on the phone I use root explorer but u have to unzip, edit then rezip the entire cm10 file. Easier to hit the PC and use 7zip or even windows explorer.
billard412 said:
Try mine https://dl.dropbox.com/s/6gzr055iyb1v6hp/updater-script?dl=1 you probly just got a typo somewhere. Make sure u delete .txt from my attachment as it will probly be added when you DL it. Same goes for the one ur editing. Notepad adds .txt. make sure ur deleting the extension. Mine worked perfect so if it doesn't post the error u get in recovery.
and this can be done on the phone I use root explorer but u have to unzip, edit then rezip the entire cm10 file. Easier to hit the PC and use 7zip or even windows explorer.
Click to expand...
Click to collapse
This worked perfectly Billiard. I can now dual boot CM 10 and also revert back to my normal TW rom with a simple reboot. Thanks again !

Supercharger V6

This guide (http://www.vikitech.com/10319/boost-performance-android-phone-supercharger) suggest going to here (http://marker.to/6fqAA0) and downloading all the files. I can't seem to DL the txt files though. Are they broken or are they supposed to be copied into notepad?
Use a better browser to download the files. It works perfectly on my Firefox here
jacklebott said:
Use a better browser to download the files. It works perfectly on my Firefox here
Click to expand...
Click to collapse
I'm posting this on a separate computer; I've now tried 2 pcs as well as the phone itself, and no go (all 3 have firefox). Guess I'll dl chrome.
Just as a double check, you dled the txt files and not the other ones, correct?
Oh, the text files? Just right click the link as say "save link as..."
jacklebott said:
Oh, the text files? Just right click the link as say "save link as..."
Click to expand...
Click to collapse
Worked well enough. Experiencing another issue now with the installation of supercharger v6; I need to use gscript to load a script from my SD card, but it doesn't see the script in the root directory. Here's the guide again: http://www.vikitech.com/10319/boost-performance-android-phone-supercharger
Copy paste "Go back to the Market and download Gscript Lite" into your find bar to see the section I'm at.
Here's a screenshot of what I mean.
Try Script Manager rather than Gscript
jacklebott said:
Try Script Manager rather than Gscript
Click to expand...
Click to collapse
Unfortunately that didn't work. I'm now following a new guide located here: http://forum.xda-developers.com/showthread.php?t=1830613
It appears that the supercharge was successful since I got the 100% supercharged message, but I can't seem to find the /system/etc/init.d folder with the 99supercharger file (I searched for etc, but that didn't pop up anything). What I did though is in the picture below. Will one of those files suffice, and if so, should it be the .sh file orrr...?
You're looking for the /system/etc/init.d folder in your microSD card? That's totally the wrong place lol. You have to go to the very root of the phone, then the system folder, then the etc folder then the init.d folder. If you don't know how to at least get to the root of the phone, then you probably shouldn't be messing with root apps/scripts

Categories

Resources