You don't have to copy the cab to PPC to install the program. You can use this small utility to do the process just like you'll do with .exe files installer.
This utility is posted by Ryubai to PXDXA .
How to:
1. Run the command xp_install.cmd inside the cab2PPCfromXP.zip archive to install the utility as a context menu command.
2. Right-click on the cab file you want to install. You will see "install to ppc" in the context menu. Click it and a dialog with which you are familiar with will pops up......then you know what you should do next.
TQ.
it seems like more effort than simply copying th cab to your device and clicking it
You mean, copying > click to install > set where to install > delete the .cab file is easier then mine. Hahh???
Step 1. is one time execution only. Step 2. is needed whenever you want to install .cab files without the need to copy it over your devices then remove it again to free the space.
But still it's users choice to choose either one.
jasjamming said:
it seems like more effort than simply copying th cab to your device and clicking it
Click to expand...
Click to collapse
you're kidding right?
right clicking on a file to install it rather than copying it onto phone, opening up a file manager browsing to the file and running through the installer?
thanks for the effort on this little script. well made
One of the reasons I like copying the cab files onto my SD card is to have them already there for reinstallation. With the amount of ROMs coming out, having them all in a folder on my SD card makes software reinstallation a breeze.
it comes down to personal preference, but it is a nice script which you developed nontheless, many will find it useful.
i do find that the script is nice if you want to test drive a cab you downloaded, or install a cab you made, however i find that if i like the app then i am still forced to copy it to my phone anyway so the extra step is still needed... would cool if you could give it the option to save to a folder on the storage card then execute on the PPC. But a good script nonetheless.
Is it the same as CABviaActiveSync ?
jasjamming said:
it comes down to personal preference, but it is a nice script which you developed nontheless, many will find it useful.
Click to expand...
Click to collapse
No, it's not mine. It's developed by a user name Ryubai at PXDXA.
panzer said:
Is it the same as CABviaActiveSync ?
Click to expand...
Click to collapse
Similar function.
Sounds good!... but does anyone know of a similar script/program that works in OS X?
stewcp said:
Sounds good!... but does anyone know of a similar script/program that works in OS X?
Click to expand...
Click to collapse
g
you can use missing sync.
is there any aplication similiar but that works in Vista and that we can choose if we want to install in main memory ou storage card?
thanks!
been looking for something like this for a long time now.
thanks again.
Cheers my man. Great little script.
How do I remove it from the context menu?
cyphol said:
Similar function.
Click to expand...
Click to collapse
Thanks, CabViaActiveSync is what I was looking oddly enough it's the only one that adds an menu listing in the right click of a cab on windows 7 and actually WORKS too for 7..
Related
I'm trying to build a UC solution that will reinstall not only my cab files upon a reflash or hard reset but will restore as many phone settings and customizations as possible. The goal is to require only an ActiveSync to get the phone exactly back into the pre-flashed/-reset state.
One thing I'm struggling with is copying back large numbers of files. Having to copy files one at a time in a provisioning XML file seems awkward and I don't know of a tool to automatically accept a folder and generate the long sequence of XML. I've tried Sashimi instead of UC Config, but I am not becoming as large a fan as some - I don't like the fact that Sashimi won't run automatically from a fresh re-flash due to its use of MortScript (unless MortScript is run manually first, the .mscr extension isn't registered to it and Sashimi fails). Plus, Sashimi is a bit too manual in manual mode (for those cabs that are interactive and won't install automatically), requiring intervention to move from cab to cab.
What are others doing to copy over entire folders worth of files (such as HTCHome, to restore customized clock and icon styles generated by HTC Home Customizer)? Is there an XML command for copying an entire folder that UC understands or is there at least a good tool for converting an entire folder into a file-by-file XML copying sequence? Alternatively, is there a good solution for getting Sashimi to run completely automatically upon fresh re-flash without first running MortScript as well as the UC-specific CAB file that tells Sashimi to autorun on the next soft reset?
You put all the files into a cab and tell it where to install. I don't use XML at all anymore with UC.
gc14 said:
You put all the files into a cab and tell it where to install. I don't use XML at all anymore with UC.
Click to expand...
Click to collapse
Which method/program do you use for cabbing?
WinCE Cab Manager
gc14 said:
WinCE Cab Manager
Click to expand...
Click to collapse
Needless to say I already have this downloaded and installed since you posted. Thanks.
gc14 said:
You put all the files into a cab and tell it where to install. I don't use XML at all anymore with UC.
Click to expand...
Click to collapse
any advantage to cabbing instead of xml? i spent so much time getting my xml to do what i wanted, and i love it.
worth it to learn something new? (aside from the fact that learning new things is good)
gbenj said:
any advantage to cabbing instead of xml? i spent so much time getting my xml to do what i wanted, and i love it.
worth it to learn something new? (aside from the fact that learning new things is good)
Click to expand...
Click to collapse
If I can get the settings right, it looks much easier to get multiple files copied, reg settings entered, and a few other things done. I just need to get it set up right and I am at work so I have to plug along doing a little at a time. Guess I should read the manual
I get a statement saying that it is not for the right OS, anyone have experience with WinCE and can tell me how to set it up. I think I understand how to add files and export, but I set it as WM6 and it didn't work right. Help!
gc14 said:
You put all the files into a cab and tell it where to install. I don't use XML at all anymore with UC.
Click to expand...
Click to collapse
Excellent. This would make things much cleaner. I'm downloading and installing WinCE Cab Manager right now.
Thanks again.
Update:
Works great! Grouped the files into categories and made a cab for each. Still using XML for registry provisioning, though, since the free version of WinCE Cab Manager seems to lock out the ability to import .reg files into the cab.
so you guys are paying for WinCE Cab manager? Are there any free cab managers??
Yes. Free would be good. $99 would make me cry.
I am looking to create some cabs (now that I have WinCE figured out) and wondered if others had quick ways of getting all of the reg keys exported for specific applications so I can add those into my cab.
If I can get buttons, today screen prefs, apps, and a few other things done in one compiled "Setup CAB" I will have my phone auto-customized I had it before flashing. I am so close to having only cabs in my UC if I can get this, and do away with the copy commands.
serfboreds said:
I am looking to create some cabs (now that I have WinCE figured out) and wondered if others had quick ways of getting all of the reg keys exported for specific applications so I can add those into my cab.
If I can get buttons, today screen prefs, apps, and a few other things done in one compiled "Setup CAB" I will have my phone auto-customized I had it before flashing. I am so close to having only cabs in my UC if I can get this, and do away with the copy commands.
Click to expand...
Click to collapse
This is actually something I've been wondering about and kinda 'working on'.
I'm trying to find out how certain applications store registration info (registry, files, etc.)
Just a few in question that I'm trying to auto-register on flash:
Resco Tools: Backup and Explorer
Handmark Games (Yahtzee and Scrabble)
serfboreds said:
I am looking to create some cabs (now that I have WinCE figured out) and wondered if others had quick ways of getting all of the reg keys exported for specific applications so I can add those into my cab.
If I can get buttons, today screen prefs, apps, and a few other things done in one compiled "Setup CAB" I will have my phone auto-customized I had it before flashing. I am so close to having only cabs in my UC if I can get this, and do away with the copy commands.
Click to expand...
Click to collapse
It's simple. If you bought WinCE you will then be able to use the option to export and import REG Keys.
So all you would need to do is open a CAB from any program -- Export the REG -- and close it out.
Then open the CAB project you made and import the REG key and your good.
But you must first buy WinCE. The evaluation copy doesn't let you do this. Well it didn't let me.
For cabs that are just changing reg keys for you and not actually installing anything...it's easier to just create an xml file. Name the xml file _setup.xml and use makecab from the command line like this:
Code:
makecab _setup.xml yourcab.cab
CeREgistryEditor also makes cabs from registry files. Free program.
studentjunk said:
CeREgistryEditor also makes cabs from registry files. Free program.
Click to expand...
Click to collapse
The two aspects i was looking for are solved by this program and GC's suggestion. Thanks!
studentjunk said:
CeREgistryEditor also makes cabs from registry files. Free program.
Click to expand...
Click to collapse
So, I need to give a little more explanation for my question.
I am pretty sure that I know how to change registry keys one by one using XML.
I am not sure if it is possible to export everything from a folder in a way that it can be combined with other registry exports and ultimately cabbed. Say I am looking to replace every key in HKLM/Software/Microsoft/Today after a new flash so that certain things are enabled and disabled.
My hope is that I will be able to export the entire "today" in such a way that I can add those to a wince cab. It would be nice to be able to export several of these "folders" at one time and drag them over.
Like I said, I am trying to prevent having to do this one key at a time so that in the future even if I change the setup I don't have to change the strategy for export/import.
So, I need to give a little more explanation for my question.
I am pretty sure that I know how to change registry keys one by one using XML.
I am not sure if it is possible to export everything from a folder in a way that it can be combined with other registry exports and ultimately cabbed. Say I am looking to replace every key in HKLM/Software/Microsoft/Today after a new flash so that certain things are enabled and disabled.
My hope is that I will be able to export the entire "today" in such a way that I can add those to a wince cab. It would be nice to be able to export several of these "folders" at one time and drag them over.
Like I said, I am trying to prevent having to do this one key at a time so that in the future even if I change the setup I don't have to change the strategy for export/import.
Click to expand...
Click to collapse
Read my email and take a look at the registry cab I attached.
gc14 said:
Read my email and take a look at the registry cab I attached.
Click to expand...
Click to collapse
Thanks GC, this is what I needed.
Final XML
Here is my final XML for anyone who cares to share theirs, I learned a lot by looking at GC's (credit where it is due). I put my sdconfig.txt on here too.
Feel free to let me know if there is a better way to do any of this. I will be testing tonight to see how it does after a flash. This should save me 20 minutes of tinkering if everything goes right.
Other than the background not being possible (that seems hard to believe there is no way to do this), I will only have a few things to set up when flashing if all goes well. This will be so worth the hour time it took to create.
Any way to register devices via XML (wifi, bluetooth)?
PS. Though I didn't do it here, I have cabbed the _setup.xml file for installation with UC.
All those CPY commands are still unnecessary. You could make one cab to do all of that very easily.
Also, why do you have LOCK/HIDE commands around the reg cab?
gc14 said:
All those CPY commands are still unnecessary. You could make one cab to do all of that very easily.
Also, why do you have LOCK/HIDE commands around the reg cab?
Click to expand...
Click to collapse
Got those two things cleared up, cabbed the files to copy which works great.
Can't seem to figure two things out:
1. xml didn't install registry keys. Did I miss some setting in WinCE (I just set it as universal, added to files, and set the location to %InstallDir%). I had all of the files I was going to copy in UC in this same created cab as _setup.xml; the copied files went across fine, but no registry keys were changed. This leads me to believe that xml didn't load correctly or at all.
2. Copying folders. I cant seem to copy folders directly into WinCE so I would think that the folder must be created then the files must be copied across. How do you create these folders (I want to copy across AstroGPSLauncher and HTC Home icons to root). I tried using the copy command in UC as well but I think the syntax was wrong by using backslash after folder name in CPY1 and no slash after new folder in CPY2.
Thanks, I am so close to getting this.
Got those two things cleared up, cabbed the files to copy which works great.
Can't seem to figure two things out:
1. xml didn't install registry keys. Did I miss some setting in WinCE (I just set it as universal, added to files, and set the location to %InstallDir%). I had all of the files I was going to copy in UC in this same created cab as _setup.xml; the copied files went across fine, but no registry keys were changed. This leads me to believe that xml didn't load correctly or at all.
2. Copying folders. I cant seem to copy folders directly into WinCE so I would think that the folder must be created then the files must be copied across. How do you create these folders (I want to copy across AstroGPSLauncher and HTC Home icons to root). I tried using the copy command in UC as well but I think the syntax was wrong by using backslash after folder name in CPY1 and no slash after new folder in CPY2.
Thanks, I am so close to getting this.
Click to expand...
Click to collapse
1. You don't use WinCE to create cabs from provxml. You use makecab as I previously stated.
2. Get rid of the CPY commands, don't use them at all. If you want to install youricon.png to root, you just add youricon.png as a file in the cab and set the location to root. Default install directory doesn't matter, you can specify install location for each file separately.
gc14 said:
1. You don't use WinCE to create cabs from provxml. You use makecab as I previously stated.
2. Get rid of the CPY commands, don't use them at all. If you want to install youricon.png to root, you just add youricon.png as a file in the cab and set the location to root. Default install directory doesn't matter, you can specify install location for each file separately.
Click to expand...
Click to collapse
So, makecab worked to create the cab but it states that the installation of the cab was unsuccessful. Here is the zip of the setup file and the cab I created (I kept yourcab.cab naming for fun).
P.S. I got rid of all copy commands, but still can't figure out how to create a new folder on the device using xml or wince. Please explain how I can cab a folder with all its contents, or create a new folder in xml, then UC a cab to install the contents.
That version of WinCE doesn't allow for import of complete folders. Later versions do.
You can also try QuickCab. Don't remember the user's name, but it is being developed by an XDA member. I believe it allows for copying complete folders, and has a simple GUI.
Edit: If you are just looking to do it for AstroGPS it should be fairly easy. Isn't it just one or two files in /AstroGPS... and a shortcut in /windows/start menu/programs? If so, just drag the file (or two) into WinCE, and it will ask you where you want it to be installed. Then just choose /AstroGPSLauncher (you have to create a new folder, but the option is right there).
bedoig said:
That version of WinCE doesn't allow for import of complete folders. Later versions do.
You can also try QuickCab. Don't remember the user's name, but it is being developed by an XDA member. I believe it allows for copying complete folders, and has a simple GUI.
Edit: If you are just looking to do it for AstroGPS it should be fairly easy. Isn't it just one or two files in /AstroGPS... and a shortcut in /windows/start menu/programs?
Click to expand...
Click to collapse
Thanks for looking into the second issue.
Right, but I need to have that in a folder called AstroGPSLauncher on the root. I also am looking to install the HTC Home folder (overwrite the other one). I will get a newer copy of WinCE.
Anyone have any idea why this cab won't install?
serfboreds said:
Other than the background not being possible (that seems hard to believe there is no way to do this)...
Click to expand...
Click to collapse
Are you talking about your Today screen background? You are basically looking to have a certain theme selected? If so, then that is no problem. TSK's are basically just cabs themselves. The Theme selection app in WM just reads the TSK, imports the registry color info, and copies tdywater.gif/.jpg and stwater.gif/.jpg to /windows. At startup, WM reads those image files and assigns them as your Today and Start Menu wallpapers. Just use WinCE to export the contents of the TSK. Then use whatever method you like to update your registry and copy those files to /windows.
serfboreds said:
Any way to register devices via XML (wifi, bluetooth)?
Click to expand...
Click to collapse
I'd like to know this as well. I might look into it, but please let me know if you find a solution. Thanks!
Serf, do you have AIM? If so pm me your sn so we can talk over that. This is a really really simple process, and I know exactly why the cab isn't installing, but it sucks to explain over forums/email.
gc14 said:
Serf, do you have AIM? If so pm me your sn so we can talk over that. This is a really really simple process, but sucks to explain over forums/email.
Click to expand...
Click to collapse
serfboreds7777 and I am online now.
I have this mostly figured out for my needs, a few tweaks and some new ideas since getting things flashed with UC / XML / Cabbed files. If anyone wants to get some help setting up their xml and UC I will do my best to help you through the process.
Props to GC, the man knows his stuff.
All -
Can anyone please help with with remapping the long-press-end-key on my HD2?
I tried various searches on the forum, followed various instructions like Long_end.lnk etc. Nothing worked. I don't want to install a 3rd party app. I would prefer a registry edit, or a cab file install which can help me remap the key to a specific program.
Any help would be greatly appreciated.
PS > Right now the long press of the end key is mapped to the quick menu with 4 options.
These kind of .cabs usually do the same as editing the registry yourself.
Look for Dutty's Task Manager.
dio62000 said:
These kind of .cabs usually do the same as editing the registry yourself.
Look for Dutty's Task Manager.
Click to expand...
Click to collapse
Huh ???
How's the task manager going to help me??
I have been trying to figure this out myself as well.. Would love the long hold end key to map to Slide2Shutdown
govindar77 said:
All -
Can anyone please help with with remapping the long-press-end-key on my HD2?
I tried various searches on the forum, followed various instructions like Long_end.lnk etc. Nothing worked. I don't want to install a 3rd party app. I would prefer a registry edit, or a cab file install which can help me remap the key to a specific program.
Any help would be greatly appreciated.
PS > Right now the long press of the end key is mapped to the quick menu with 4 options.
Click to expand...
Click to collapse
Create a shortcut to the .exe you want to run. Rename it to 'EndKeyLNK' and copy it and the extracted 'EndKey.exe' attached below to the windows folder. Now long pressing end key will launch the exe. I did not create this i found it though i cant remember who did create it.
I use it to launch xdashutdown with no problems
optiknerv said:
Create a shortcut to the .exe you want to run. Rename it to 'EndKeyLNK' and copy it and the extracted 'EndKey.exe' attached below to the windows folder. Now long pressing end key will launch the exe. I did not create this i found it though i cant remember who did create it.
I use it to launch xdashutdown with no problems
Click to expand...
Click to collapse
Thanks buddy ... that was awesome ...
However, After doing that, when I press Long_end button, it tells me that the app cannot be run as it is unsigned or a component cannot be found. Weird.
How did you overcome that error with XDAShutdown app. I'm trying to use the Slide2Shutdown app.
Thanks
govindar77 said:
Thanks buddy ... that was awesome ...
However, After doing that, when I press Long_end button, it tells me that the app cannot be run as it is unsigned or a component cannot be found. Weird.
How did you overcome that error with XDAShutdown app. I'm trying to use the Slide2Shutdown app.
Thanks
Click to expand...
Click to collapse
i had no problem at all with xda shutdown. Check that the shortcut you created is renamed properly and that it indeed works by manually clicking on it.
It needs to be EndKeyLNK.lnk
optiknerv said:
... I did not create this i found it though i cant remember who did create it.
Click to expand...
Click to collapse
hi, its vjay555 who made this cute piece of software. the program is called vjbrisk.
works perfect thank you for the tip.
mad
Did you get it working Govindar77 ?
I just instaled it and it works great with xdasutdown too!!!!
nice
just remember to backup the original EndKey file
Thanks
All who helped and replied to this thread -
Thanks a bundle guys. I was able to get it working.
Made a cab, which can be installed, and pulls up Slide2Shutdown on long-press-end key.
Awesome .... me so happy ..
Anyone need the cab, just holla here, and I'll post it.
hello,iam trying to give a second option to the hardware key i dont know how to do it, i just install the cab endkey.exe but iam lost , can you orient me ?
I found this thread as I was going to try to get my old X1's Smaberg's actionscreen working with the off button (worked fine with the HD and the X1, not the HD2), then I found he'd got it working already.
It may be of interest to some of you, more options than xdashutdown.
ADDED ACTIONSCREEN FOR HD2/LEO Ver. 1.2 with data disconnect
vrgolin said:
hello,iam trying to give a second option to the hardware key i dont know how to do it, i just install the cab endkey.exe but iam lost , can you orient me ?
Click to expand...
Click to collapse
Hey buddy,
If you're still interested - basically what you gotta do is copy the endkey.exe to the Windows folder, and then create a shortcut of the program, and rename it as endkeylnk.lnk and copy that to the Windows folder as well.
I just integrated all the steps and made a cab file (I also happen to have the exe file for Slide2Shutdown). So nothing needs to be done manually. Just install the cab, and voila ... long-press-end-key runs the Slide2Shutdown program.
grayme said:
I found this thread as I was going to try to get my old X1's Smaberg's actionscreen working with the off button (worked fine with the HD and the X1, not the HD2), then I found he'd got it working already.
It may be of interest to some of you, more options than xdashutdown.
ADDED ACTIONSCREEN FOR HD2/LEO Ver. 1.2 with data disconnect
Click to expand...
Click to collapse
Too many choices, buddy. I tried it and went away from it. I also have cabs for the BT toggle, Lock Device, Send Rec All, etc. So I just install the ones I need.
govindar77 said:
All who helped and replied to this thread -
Thanks a bundle guys. I was able to get it working.
Made a cab, which can be installed, and pulls up Slide2Shutdown on long-press-end key.
Awesome .... me so happy ..
Anyone need the cab, just holla here, and I'll post it.
Click to expand...
Click to collapse
Please do post the cab...
optiknerv said:
Create a shortcut to the .exe you want to run. Rename it to 'EndKeyLNK' and copy it and the extracted 'EndKey.exe' attached below to the windows folder. Now long pressing end key will launch the exe. I did not create this i found it though i cant remember who did create it.
I use it to launch xdashutdown with no problems
Click to expand...
Click to collapse
Great!! I was looking for something like this a while ago. Didn't found anything so I created my own work-around. I came up with this. Although the above solution is more simple, my solution has the advantage that you can add mortscript code in it.
Just copy the new exe over
Thanks to the contributions to this thread I was able to change the long press end key behavior...
Only I was so lazy that I didn't want to create a shortcut file and copy further files. So I only copied the original exe over the EndKey.exe using Total Commander.
And it worked immediately without soft-reset.
Given the old file is in ROM I suspect I just have to delete the copy to recover the previous one!
Thanks again because I tried the long_end.lnk and the registry 40C7 key modifications without any success.
Can you help me!! Set Long_Endkey for Smartlock (Lockscreen)! thank you!! plz!
anhphe076 said:
Can you help me!! Set Long_Endkey for Smartlock (Lockscreen)! thank you!! plz!
Click to expand...
Click to collapse
Follow the instructions in post number 5. to create a shortcut (incase you didn't know) you long press on a file and then copy and at the destination long press in empty space and then paste shortcut. You need to find the .exe or link that launches smart lock. Create a shortcut to it and rename this shortcut to EndKeyLNK and copy it and the file contained in the zip attached to post #5 into the windows directory
I want to edit my waiting cursor,using Resco,I tried several times to
copy shellres.192.dll from HD2\Windows\ to stoeage card,but all my
efforts was in vain, system deniede me.Can anyone help me? By the way,
I can use Resco to copy another shellres.192.dll to overwrite the
original one! Thanks!
you could try ROM Extractor, maybe it'll work
p107r0 said:
you could try ROM Extractor, maybe it'll work
Click to expand...
Click to collapse
Thank you a lot! Using ROMExtractor, I have another "shellres.192.dll" on my
storage card!
But another question:My purpose is to use ResourceHacker to chang BMP for
waiting cursor which is hidden in "shellres.192.dll". But when I Extract
"shellres.192.dll" from \windows\ to \Storage Card\, then I just copy it back to
windows,(didn't do anything else),I find the "Setting" panel has been
changed,the three sub-panels: Personal,system,connections, missed!
I don't know why. Please help me,if can. Thanks!!!
rather than just copy it back into windows, make the file into a cab that installs it to windows. just copying files over rom files doesn't usually work.
samsamuel said:
rather than just copy it back into windows, make the file into a cab that installs it to windows. just copying files over rom files doesn't usually work.
Click to expand...
Click to collapse
Thanks for the instruction! I use WinCE CAB Manager3.0 to make a cab named VagrantMan Wait Cursor.cab.
It shows the same result: the Wait Cursor works well, but I find the "Setting" panel has been
changed,the three sub-panels: Personal,system,connections, missed!
Are you kind enough to check my cab? Is there anything wrong?
Well as many of you know we're over most of the hurdles we needed to jump with the CM7 build for Nook tablet.
Updates for the internal version are simple via CWM, the SD version is not so simple of course.
I'm assuming that it should be possible to built an APK that gains superuser permissions then copies the new files to the system. Can anybody confirm this is possible please?
We need to know that we can tell our SD user that they can update their version just as easy as the internal user
Thanks in advance for your help again everyone!
Well presumably this is how ROM Manager and Metamorph both do their thing, just in a slightly more round about way (as they don't come with the files they need to copy). I'm almost 100% sure this is possible, but I've never tried it personally.
EDIT: Looks like this is how you'd do it: http://developer.android.com/reference/java/io/File.html. Specifically the renameTo() method.
CelticWebSolutions said:
Well as many of you know we're over most of the hurdles we needed to jump with the CM7 build for Nook tablet.
Updates for the internal version are simple via CWM, the SD version is not so simple of course.
I'm assuming that it should be possible to built an APK that gains superuser permissions then copies the new files to the system. Can anybody confirm this is possible please?
We need to know that we can tell our SD user that they can update their version just as easy as the internal user
Thanks in advance for your help again everyone!
Click to expand...
Click to collapse
Well there are about a dozen ways to do this. First of one of the hardest things is comming up with the commands/script. I can defiantly do this. If you want an apk, there are a few guys whom could port my script to an apk. I'm going to make a script here that will format, and create partitions and extract directly from the nook, no need to go through the fancy formatting and such, just go into terminal and run the script. Ill post a prototype for you to have the testers test!
Do you think something like BacksideUpdater inside custom ROM for LG Optimus V?
made by JerryScript
JerryScript i very nice guy, I bet if you ask him, he will let you play with his code
if is it what you looking for
Yes, this is possible. I wrote an app that flashes the recovery partition for my older Froyo phone in the very rudimentary Basic4Android. Copying files under root privileges was part of this process. Fairly easy if you find the right coding examples in whatever your development platform of choice.
xdajunkman said:
Yes, this is possible. I wrote an app that flashes the recovery partition for my older Froyo phone in the very rudimentary Basic4Android. Copying files under root privileges was part of this process. Fairly easy if you find the right coding examples in whatever your development platform of choice.
Click to expand...
Click to collapse
So one of the problems is its not really copying. Its more of an extraction from one place to another. We are required to use dd, and fdisk(for formatting).
GREAT! I was worried updates would be to complicated for people
Sent from my Nook Tablet using xda premium
... and I was worried that I might have to wipe my NT clean again to get the updates. After a week with this wonderful upgrade, I've got a LOT of customization I don't want to lose...
Whoops, wrong button with the thanks. Anyway, it occurs to me you could just have people run a script from a terminal emulator. That would probably be the simplest way to do it. Make an Update folder on the SD card, add it to the PATH by default, and users could just copy over the update files and run the script. Just a thought.
Sycobob said:
Whoops, wrong button with the thanks. Anyway, it occurs to me you could just have people run a script from a terminal emulator. That would probably be the simplest way to do it. Make an Update folder on the SD card, add it to the PATH by default, and users could just copy over the update files and run the script. Just a thought.
Click to expand...
Click to collapse
Has to be simple, something like copy an update.zip onto the SD card then run the apk which will automatically run the update in the zip But my knowledge of such things is limited so I need help there
Same process. With the above method, the user would only have to copy over the file, open a terminal, and type 'update'. With the apk idea you just have to add a little more time for someone to actually write the app (not that it would take too long).
Sycobob said:
Same process. With the above method, the user would only have to copy over the file, open a terminal, and type 'update'. With the apk idea you just have to add a little more time for someone to actually write the app (not that it would take too long).
Click to expand...
Click to collapse
Hmm.... that sounds good.
Anybody know how to actually implement it ?
Dammit, idk why I keep hitting the thanks button thinking it's reply >.>
Anyway, it's just a matter of setting the PATH variable to include /sdcard/Update/ or something similar. To make an actual update, make a folder called Update, fill it with all the files that need to be copied over (probably in a directory structure), and write a script that actually copies everything over. You'll need to make sure sh is in /system/bin (I think it is by default).
You could zip the the files as well, using gunzip (busybox?) to extract them before copying them, then deleting them when you're done, just to keep it cleaner for the user.
The only downside to all this is that I don't know how you would flash a kernel.
Sycobob said:
Dammit, idk why I keep hitting the thanks button thinking it's reply >.>
Click to expand...
Click to collapse
That makes two of us!
Sycobob said:
Anyway, it's just a matter of setting the PATH variable to include /sdcard/Update/ or something similar. To make an actual update, make a folder called Update, fill it with all the files that need to be copied over (probably in a directory structure), and write a script that actually copies everything over. You'll need to make sure sh is in /system/bin (I think it is by default).
You could zip the the files as well, using gunzip (busybox?) to extract them before copying them, then deleting them when you're done, just to keep it cleaner for the user.The only downside to all this is that I don't know how you would flash a kernel.
Click to expand...
Click to collapse
I'm guessing you'd just flash it as usual, surely that one is the easiest? Copying stuff to boot partition would hopefully be just as simple, I was mainly worried about updating system files. I could do with building one for the current update to test the theory!