yashsingh1/xdaforums huggingface dataset:
[Windows Mobile] RoryB:
My version does not edit initflashfiles.dat it just moves the file to a zip file. Initflashfiles.dat does not give an error if the files do not exist. This saved me from errors in resaving initflashfiles.dat an corrupting the file.

definitely want to move reset to the end.
[Windows Mobile] bobsbbq:
But I'm not getting any zip file? Do I have to have morscript on my PC or in the kitchen somewhere to run the initflashfiles.mscr?

I have morscript cooked in my ROM but not on my PC
[Windows Mobile] RoryB:
My 'root' folder gets created in C:\OSKitchen_Zero\Temp\ROM Generation\PlatformRebuilder

You can check where everything is before you close and save your config.txt file. With the call, the kitchen should be waiting for the config.txt file to close before continuing.

initflashfiles.mscr does not normally pop anything up. It must be an error message. I am on Vista64.
[Windows Mobile] RoryB:
Sorry about that. Yes, I have MortScript installed on my PC too.
[Windows Mobile] seeM_ZA:
Have you thought about using the script that runs on the device to create a dummy initflashfiles.zip (0kb) and let it overwrite the one in Windows after it's extracted? Would that actually work?
[Windows Mobile] bobsbbq:
Ok now I have the morscript extensions registered on my PC and the script is running. but now I'm getting an error as you see below?
[Windows Mobile] RoryB:
What does that line look like in initflashfiles.dat?

Also, Did any subfolders get created in root?
[Windows Mobile] RoryB:
Yes, my script parses the lines such as Directory("Program Files\Connections"):-Directory("Mail Attachments") to be mkdir( "root" \ "Program Files\Connections" \ "Mail Attachments" )

Thanks for putting it somewhere easier for folks to find.
[Windows Mobile] bobsbbq:
I found the problem. There were lines out of proper order in some of the app.dat files in EXT packages.

Now it seems to be working. But I have some errors on startup One flashed real quick but I think it was Turbo3D drivers. Then my RunCC customization is taking forever to complete like it is trying to find something not there and runs until it times out.
[Windows Mobile] RoryB:
I do not know about the drivers, are they referenced in your initflashfiles.dat? or any files used by it?

Are there any files referenced in config.txt files that are also in the initflashfiles.dat? I am wondering if something is getting moved from being in windows folder that is getting referenced by config.txt or any fileop.txt
[Windows Mobile] bobsbbq:
It probably has something to do with my Start Menu scripts. I use mortscript to clean the start menu, then I put all Icons in My Documents\Theme folder from a zip file, then place all shortcut links from a zip file.

I tried placing a sleep in my first script for aaa_initflashfiles.mscr but it did not help.
[Windows Mobile] RoryB:
Are you thinking that overwriting the zip file with an empty one, you would gain memory on your device? I had not thought of that. I just tried this

###############################
# InitFlash.zip
###############################
If( FileExists( "\Windows\InitFlash.zip"))
SetFileAttribute( "\Windows\InitFlash.zip", "readonly", FALSE )
UnZipAll( "\Windows\InitFlash.zip", "" )
WriteFile( "\trash.txt", " " )
ZipFile( "\trash.txt", "\InitFlash.zip", "\trash.txt" )
Delete( "\trash.txt" )
Rename( "\InitFlash.zip", "\Windows\InitFlash.zip", TRUE)
EndIf

with the idea that zipfile would probably not like a empty folder to zip so I made a practically empty file. I tried writing a new zip over the old and that gave error that it could not create the zip, but the rename and overwrite did.

Have to go for the night. Back into it tomorrow.
[Windows Mobile] bobsbbq:
I guess I'm gonna give up on this for a while. Maybe AirExtreme will get his new kitchen out soon and this will not matter.
[Windows Mobile] seeM_ZA:
It's my pleasure :)

I think you misunderstood me. Your script will only make the "Mail Attachments" folder if "\Program Files\Connections" already exists.

The piece of my script I showed you, down below, will see if "\Program Files" exists, and if it doesn't it will create it. It will then see if "\Program Files\Connections" exists and if it doesn't it will create it, and then only make the "\Program Files\Connections\Mail Attachments" folder.

Lots of people's initflashfiles.dat's are not really in the correct order (like bobsbbq's wasn't) and this adjustment to the script will solve many errors caused by that. Here is the script that I had working correctly, like I explained above, but I think you can improve on it/optimise it as although I got the job done, I'm pretty sloppy with scripting ;)

Piece of script:

Sub CreateDirStructure

#Variables
firstRun = 1

#Make root dir
MkDir("root")

#Extract dir structure from line
splitStrLine = part(strLine, """", 2)

#Split dir structure into individual dirs
dirs = split(splitStrLine, "\", 0)

#Create folder structure to copy file
ForEach individualDir in array(dirs)
#Do NOT read empty elements
If(NOT(Length(individualDir) eq 0))
#First Run
If(firstRun eq 1)
MkDir("root" \ individualDir)
lastDir = individualDir
#Following Runs
Else
MkDir("root" \ lastDir \ individualDir)
lastDir = lastDir \ individualDir
Endif
firstRun = 0
Endif
EndForEach

EndSub

Here is the post with the entire script I rewrote: http://ip208-100-42-21.static.xda-developers.com/showpost.php?p=7956431&postcount=52

That's exactly what I was talking about :) Brilliant. Every mb counts ;)
[Windows Mobile] RoryB:
Yes, I did not realize initflashfiles sometimes do not have all the directories correct.

One thing I realized is that if I am leaving initflashfiles alone I do not need to parse the directories -Per, -root or -Dir since they do not get created in the zip if they do not have a file in the zip. Also, I realized I could not create a perm directory anyway. All I really need to do is check the directory path to the file target and create any missing folders. I'll work on that today.

I think I can improve on the zip file reduction after unzipping. I think I can create an empty txt file and move it over the zip file. The empty txt is 0b versus the zip of an empty txt was 121b. I am also going to look into this in my UC config parser to "remove" zip files after extracting their contents, but only if they are in the windows folder. I don't want to remove a zip from a storage card.

Okay this worked

###############################
# InitFlash.zip
###############################
If( FileExists( "\Windows\InitFlash.zip"))
SetFileAttribute( "\Windows\InitFlash.zip", "readonly", FALSE )
UnZipAll( "\Windows\InitFlash.zip", "" )
WriteFile( "\Windows\InitFlash.zip", "" )
EndIf

Here is the revised script

MkDir( "Temp\ROM Generation\PlatformRebuilder\root" )
# Read initflashiles.dat into this script
initflashfile=ReadFile("temp\dump\initflashfiles.dat", 0, "unicode")
# Convert hex characters to ASCII
ForEach xhex, xtext in inikeys ( "Hex2Text.ini", "Convert" )
initflashfile=Replace( initflashfile, "\x" & xhex, xtext )
initflashfile=Replace( initflashfile, "\x" & ToUpper(xhex), xtext )
initflashfile=Replace( initflashfile, "\X" & xhex, xtext )
initflashfile=Replace( initflashfile, "\X" & ToUpper(xhex), xtext )
EndForEach
# Move files from temp\dump to folder called out in initflashfiles.dat
# Also be sure full path to file exists
ForEach ycount in split ( initflashfile, "^NL^", False )
If(( Find( ycount, ":" ) NE 0 ) AND ( Find( ycount, ";" ) EQ 0 ) AND ( Find( ToLower(ycount), "startup" ) EQ 0 ) AND ( SubStr( ycount, Find( ycount, ":" ), 6 ) EQ ":-File" ))
ycount1=Part(Substr(Part(Part(ycount, ":", 2), """,", 2), 10), """", 1)
ycount2=Part(Substr( Part(ycount, ":", 1), 12 ), """", 1)
ycount3=Substr(Part(Part(ycount, ":", 2), """,", 1), 8 )
xpath=ycount2
Foreach xpart in split( xpath, "\", FALSE)
ypart=ypart \ xpart
mkdir("Temp\ROM Generation\PlatformRebuilder\root" \ ypart)
EndForEach
ypart=""
rename( "Temp\ROM Generation\PlatformRebuilder\temp\dump" \ ycount1, "Temp\ROM Generation\PlatformRebuilder\root" \ ycount2 \ ycount3, TRUE)
EndIf
EndForEach
ZipFiles( "Temp\ROM Generation\PlatformRebuilder\root\*.*", "Temp\ROM Generation\PlatformRebuilder\temp\dump\InitFlash.zip", TRUE )
[Windows Mobile] RoryB:
Posible problem

I thought of a potential problem.

If a file we remove from \windows to create our initflash.zip file is later trying to be copied by a provxml, it is not there to copy. An example I think I came across was I just realized my appbuttons stopped working. At first I created an add2config to create these shortcuts. I realized just now that they did not get created because we removed the shortcut from \windows.
[Windows Mobile] seeM_ZA:
Yeah I realised that one too.. Also, there is a problem with a file that is copied to more than one place. I think what would be better is to just manually create the zips and mscr files you want as a chef. An automated version of this seems like too much work for minimal gain..
[Windows Mobile] RoryB:
You are probably right. I saw this thread a while back and since I like MortScript, I could not resist the challenge. I might look into the challenge later for the fun of it.
[Windows Mobile] seeM_ZA:
That's kinda how I started it as well :p We'll see ;)
[Windows Mobile] Farmer Ted:
What the hell do appbuttons do anyway, lol? Did you actually miss them? I always have the links in there, but have no idea what the point of them is.
[Windows Mobile] RoryB:
AppButtons

On my old Wizard appbuttons is the folder under windows that the links for email, pie, commmanager, etc. get copied for the hardware buttons. I think this is to make the links easier to find than in the windows folder. My phone has five buttons I can assign a function to and one also gets a press and hold function. Now my Fuze only has two buttons to assign.

So, it is probably not really a problem that those files do not get copied. I think most chefs started cooking in their own settings. I know in my UC for my Wizard I had changed the button values. Also, being aware of this we could just use an add2config file to copy the shortcuts where we want, or create our own provxml.

Also, I think they create this folder in case you delete the link from your start menu, it will still be available in the appbutton folder.
[Desire General] Imperium:
Can anyone tell? also, am i able to fix this?

The pixel is cyan at a white background, black at a red background, and completely disappears on a blue, green, and black background.
[Desire General] poldie:
Dead red pixel.
[Desire General] horror:
i got the same, show only on white and red backgrounds, it can't be dead then ?
[Desire General] poldie:
Yes it can. If it's black on a red screen it means a red pixel is missing. Red is used for white (white = red, green and blue). Red isn't used to make green or blue, so those colours are fine with a dead red pixel there.
[Desire General] crypta:
to be anoying:

in fact it is called dead sub-pixel.

but here we are at the discussion how the resolution is counted in this devise. the used technology is counting else than normal TFT, which have 3 same sized sub-pixels, merged to this what you call and see as a pixel.
[Desire General] poldie:
In fact, what I actually call it is a `dodgy red light`.
[Touch Pro, Fuze Android Development] AdamiX:
Please read this originall thread: http://xdaforums.com/showthread.php?t=627997

This is not my work! I just change some files, to be able to run this Android on VGA devices. (I testet it just with RAPH100)

Screenshots:

Coming soon

Download:

Rapidshare

If you use HTC Fuze download FUZE Startup rename it to "startup" and copy it to andboot folder.

For Updating this Android u should use an application called MJGDroidUtil in ANDBOOT folder.

Click on/Open MJGDroidUtil -> Click Menu -> Update -> check the checkboxes -> click Update

Further Development Cancelled but update tool will be working ;)
[Touch Pro, Fuze Android Development] TheDeadCPU:
Wifi working? and HTC Sense not to big like one the Klinux build?
[Touch Pro, Fuze Android Development] AdamiX:
Yeah WiFi works for me, and the sense is usuable :)

I think this is Klinux, just bootscreen says it :)
[Touch Pro, Fuze Android Development] TheDeadCPU:
Well if this is Klinux build it's working out of the box for me on VGA ;)

And we already have a thread here for Klinux builds :p
[Touch Pro, Fuze Android Development] macieh:
love it...need it...this is running nicely...just in case you are unaware, marketplace causes soft reset...i'm using this on a fuze fyi
[Touch Pro, Fuze Android Development] lemonspeakers:
how are you geting this to work on ur fuze? I downloaded the link and extracted, copyied everything in the andboot folder onto the root of my sd.

i started up haret and i keep getting loops and loops of the Klinux:hTc boot screen.

I go no where. I loops that screen again and again. I cant go pass that. What did you do different?
[Touch Pro, Fuze Android Development] Sab3elbromba:
I have the same market place problem :( I have using a touch pro Raphael 100 .. no solutions for this ?
[Touch Pro, Fuze Android Development] AdamiX:
I edited startup file to be able tu use this linux with fuze.

Enjoy it

FUZE Startup

Rename it to "startup" and copy it to andboot folder ;)

// I will look at Marketplace
[Touch Pro, Fuze Android Development] rajackar:
And what exactly is the difference with this :

http://xdaforums.com/showthread.php?t=647779

and this:

http://xdaforums.com/showthread.php?t=641021

I have had Android running on my raphael100 with perfect sense in vga for some time now.

Did you miss that or have you put in something extra?
[Touch Pro, Fuze Android Development] TheDeadCPU:
I have checked. There is absolutely no difference..
[Touch Pro, Fuze Android Development] rajackar:
Looks like someone wasn't really paying attention the last couple of weeks ;)

The linked thread actually mentions a lot of things aren't working that are working on the other builds.
[Touch Pro, Fuze Android Development] lemonspeakers:
your vga fix, does that include the chopped off icons text as well?
[Touch Pro, Fuze Android Development] lemonspeakers:
thanks for your reply. but i still cant get this to work on my att fuze.

this is what im doing.

1) format card

2) extract downloaded file onto computer desktop

3) copy everything from the andboot file into root

4) replace the STARTUP.txt with ur startup_fuze from page1

5) put card into device

6) start up

I keep getting this loop at the boot screen of klinux:hTc

I can't go pass that!! ARGH!
[Touch Pro, Fuze Android Development] TheDeadCPU:
The funny thing is that all these problems can be solved by reading to my thread and klinux's thread..
[Touch Pro, Fuze Android Development] rajackar:
Indeed, I think it's better to just close this thread and not add to the confusion of the already growing number of android threads.
[Touch Pro, Fuze Android Development] AdamiX:
Ok guys

Sorry that i want to share something
[Touch Pro, Fuze Android Development] frank007hk:
Haha, good job, I am using Raphael 100 as well.

Please keep going

but my phone every time I wake it, the brightness always very low. Is there any solution? I already turn off the auto brightness.
[Touch Pro, Fuze Android Development] rajackar:
I'm not trying to bash you or anything and as always any work done to improve android on our devices is highly appreciated. Only thing going on here is that we can't really see the difference with the other packages.

Could you perhaps clarify that for us?
[Touch Pro, Fuze Android Development] sahhar1993:
what is the probleme on this build
[Touch Pro, Fuze Android Development] AdamiX:
Ok so use another build ;) There is a lot of ported androids, like ROM. There is also a lot of ROMs so choose one and use it ;)

@frank007hk brightness. I haven't got this problem. Just try to chane some settings. but if u turn off the auto brightness in WinMob, there will be something just in Android's settings ;)

So Stop this thread. There is a lot of ports for android, u can try them ;)
[Touch Pro, Fuze Android Development] Sab3elbromba:
I don't think you should stop this build, it's the best android build working on my Raph 100 Touch Pro, I have tried the Xandroid and I have tried Espresso 2.1 and neither work as nicely as yours, I say keep going and providing more fixes if possible
[Touch Pro, Fuze Android Development] rajackar:
Still curious about the differences. If it is true this runs better then I guess a lot of people would want to know why ;)
[Touch Pro, Fuze Android Development] JesusFreak316:
I have to agree; don't stop it. I was never able to get anything to work on the other sense 2.1 build but this one works, however slowly. I would also like to know what you changed.
[Touch Pro, Fuze Android Development] AdamiX:
For some updates u have got an application called MJGDroidUtil in ANDBOOT folder

Click on/Open MJGDroidUtil -> Click Menu -> Update -> check the checkboxes -> click Update

It will download new zimage.tar, rootfs.img and initrd.gz if aviable. And there is often something new, so if i do not update my first post in this thread, update yours Android with this application ;)
[Touch Pro, Fuze Android Development] arrrghhh:
What is this and how can I use it on other builds. I have a RAPH800, and I downloaded your build to see this app... I only can choose RHOD from the device family menu, plus I don't see how to update it. Looks cool tho, I'd much rather run an app that downloads the newest for me instead of doing it by hand :D
[Touch Pro, Fuze Android Development] AdamiX:
OMG...

Ok, when u open this app "MJGDroidUtil" u can see RHOD but do not change anything. Just in right down corner u can see button called Menu, when u click on menu then u will be able to see Update button and then u can update yours files ;)

Do u need screenshots?
[Touch Pro, Fuze Android Development] arrrghhh:
No, don't need screenshots. Just wondered why the phone type said RHOD. I'll try and update to see what it does.

After moving some DLL's around, I did get it to work eventually. It's updating now, I'll post back if I have issues. This is great, it exponentially increases my laziness.
[Touch Pro, Fuze Android Development] AdamiX:
It is because of the first link in my first post :D
[Touch Pro, Fuze Android Development] Sab3elbromba:
Right I did all that and it said update complete, the question is, are these files copied over the old files automatically or are they downloaded to another folder and I have to manually replace the old files with the newly downloaded ones ?
[Touch Pro, Fuze Android Development] AdamiX:
The first option ;)
[Touch Pro, Fuze Android Development] Sab3elbromba:
Thnx the build is working very nicely for me, almost everything I can recall works and even found a work around for the Android Market search problem by using Appbrain sync service which is very nice, only problem I have with it at the moment is the battery but that's a long lasting problem that I hope can get fixed.

Thnx 4 Ur Effort !

One more question please, I'm trying to install Arabic Support for my Android, should I be using Arabic packages for HTC Hero ?
[Touch Pro, Fuze Android Development] sahhar1993:
its not working for me

i just have a white page with htc
[Touch Pro, Fuze Android Development] AdamiX:
What and when do u have it?

Maybe just wait few minutes.
[Touch Pro, Fuze Android Development] tuninh:
Re: GSM Android [05/1] 2.1 BUILD WITH SENSE FOR VGA RAPH100

i can't setup exchange email on this version

Sent from my Hero using the XDA mobile application powered by Tapatalk
[Touch Pro, Fuze Android Development] lemonspeakers:
When are you going to post screen shot images of this on your touch pros? That was on your to-do list last weeks ago. lol. I still have been waiting for it.
[Touch Pro, Fuze Android Development] Phenom1337:
Wow,the best ROM.I waited for this.Congrats
[Touch Pro, Fuze Android Development] Sab3elbromba:
I see now that you updated the title with a new date, 1st of May, do I have to download your link the 1st post again for the update, or simple run the update agent to retrieve latest files ?
[Touch Pro, Fuze Android Development] AdamiX:
The secound one again :D
[Touch Pro, Fuze Android Development] sahhar1993:
hi guys does anyone get gps working with lastest roofts and kernal ????
[Touch Pro, Fuze Android Development] AdamiX:
Screens are like from this threat http://xdaforums.com/showthread.php?t=647779

It is still the same but there are changes with speed and functions
[Touch Pro, Fuze Android Development] gotoevil:
After install, my Touch Pro enter a screen with:

KlinuX

htc

I wait for 10 mins, and it still like this.
[Touch Pro, Fuze Android Development] lemonspeakers:
I had this same problem. Can't seem to find a fix after reading all these threads.

I have a fuze from att as well.
[Touch Pro, Fuze Android Development] SergiusGee:
And why is the further development canceled? :(

What happened?
[Touch Pro, Fuze Android Development] bububang:
i tot i have this problem.. but it works after i wait for few min..

after boot in.. it required a long time to get start.

somehow some image disorted
[Touch Pro, Fuze Android Development] lemonspeakers:
images are distorted/cut off because it was not meant for a VGA resolution. onlyw WVGA
[Touch Pro, Fuze Android Development] sahhar1993:
sorry for my bad english

hi guys i have htc touch diamond and when i boot android and finished i press home boutton after i just have white page and htc in the center

i test it more time

please could any one help me
[Touch Pro, Fuze Android Development] Sab3elbromba:
I think that's the startup.config file, r u sure u used the right one for Diamond ?
[Touch Pro, Fuze Android Development] sahhar1993:
i use the right startup
[Touch Pro, Fuze Android Development] diamond_lover:
The diamond have not enought ram...
[Touch Pro, Fuze Android Development] patrick claassen:
help me please

i have htc touch pro raph100 and the klinux android keep on restarting can you help me please
[Touch Pro, Fuze Android Development] freekquency:
Yea HOW DARE YOU !

HOw dare you sir, post something that works before theres a 2nd or 101st page added to the thread.

How dare you!

You mean i dont have to go search through 3miillion topics that all have the same type of name, and blather inside? And it works?

How dare you.

lmfao ... thank you man.

I stopped coming here cuz the geeks cant do anything but spit on each other.

Godforbid your new. Keep going and ignore them
[Touch Pro, Fuze Android Development] hamagc:
well i thought i would try this on my raph800. first try got a bootloop. updated everything and i was able to boot but i got a force close early (in setup) and everything seems to lag really bad. looks like my tsconfig is off too. replacing.
[Touch Pro, Fuze Android Development] radosi:
I have written in wrong window ;)
[Desire Q&A, Help & Troubleshooting] StuMcBill:
I have just installed JuiceDefender on my Desire to try and conserve my battery life, but I have noticed that it enables and disabled my APN (O2), however it seems to also enable and disable Tesco Mobile, I don't even have those APN settings saved on my phone, any idea why it would do this?

Thanks

Stewart
[Desire Q&A, Help & Troubleshooting] Teppic24:
Tesco Mobile uses the O2 network, so it is probably detecting a setting that is confusing it slightly.
[Desire General] shawon007:
I have a T - Mobile HTC Desire and have problems setting the weather widget to auto update.

Menu -> Weather -> press menu button -> Settings -> select "Update automatically".

Anyone notice it automatically deselects after you leave the screen?

Holla bak.
[Desire General] Eugene's Mac:
Try Settings/Accounts & Sync/weather/account settings/update schedule.

Works for me. & PS. I also see the auto update disappearing after I go back as you mentioned, Yet my weather update perfectly with the setup as I mentioned above. Cheers
[Desire General] andycted:
You have to select the general auto update option for the setting to stick, there is another thread somewhere where I explained this more in detail
[Tilt, TyTN II, MDA Vario III Android Development] eyupwolf:
I have a tilt incoming and was wondering if anyone has been able to use the spotify android app to save music to play from phone, I am tempted to upgrade to premium but want to be sure works with phone before I do.

Thanks