yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] tubaking182:
Hey binary, with your phone plugged into your comp pull up you cmd and type adb shell reboot bootloader, the phone will boot right into fastboot mode making it easy to continue the script
[G1 Android Development] keatonreckard:
just to clarify...i meant a script that is store locally on the device in the recovery image... so then you dont need a computer at all... you can already do this, you just have to type in the commands from the recovery console...i just wanted an easier way to do it
[G1 Android Development] Gimpeh:
To flash back and forth from windows? You've been running Windows Mobile on the Dream? I must be missing something.
[G1 Android Development] keatonreckard:
not flash at every boot...just so you can text out a build and if you dont like it go back to a stable one on the go....

again, im taking the lazy way out
[G1 Android Development] shaneaus:
Disregard! - My mind ran ahead of what this post was about and I posted something regarding a slightly different idea!

I don't know about re-installing Nandroid backups...

But, if one wanted to be able to run two different installs...

Seems to me an easier way about doing this would be to have a modified SPL. It could have the option of selecting an update file...

For example, one could put two files on their sd card - update1.zip and update2.zip. The SPL could have one of the following options:

1) reboot into recovery mode - select "alt-s" - then you would have an option to select 1 or 2.

2) have an additional "Alt- " option.

"Alt-s" - runs update1.zip

"Alt-?" - runs update2.zip. (dev could pick the additional letter)

I think this would be great! No reteaching of anyone how to use the process. And, one could leave the primary use-able update.zip as "update1.zip" and use the other as the version being tried out. It wouldn't be a Nandroid back up... But, with the new "nowipe" builds it should work well.

My $.02 worth.
[G1 Android Development] MarcusMaximus04@gmail.com:
To be fair, that limited life-time is something like 1,000,000 writes, which would take about... oh... a year straight of constantly rebooting your phone(assuming it takes 30 seconds per reboot)

EDIT: and that assumes re-writing the whole system every time you boot, which I don't think he means since he's saying its in the recovery image.
[G1 Android Development] beagz:
hmmm....

I know that from the alt+x console you can do this....

mount sdcard

echo "boot-recovery

--update_package=SDCARD:build1/update.zip" > /cache/recovery/command

reboot recovery

so if you wanted 2 builds available (I would think you would need a wipe for 2 completely different builds) but....

make 2 folders in on your sdcard

build1

build2

place a copy of the update.zip from each build you want to boot in the folder

make a script like this

echo "boot-recovery
--update_package=SDCARD:"$"/update.zip" > /cache/recovery/command
reboot recovery

save the script to the sdcard directory

then when you start your phone you could

1. type "mount sdcard" (no quotes)

2. type "sh sdcard/script.sh build1" (for build 1 located in /sdcard/build1/update.zip)

3. type "sh sdcard/script.sh build2" (for build 2 located in /sdcard/build2/update.zip)

problem would be when wipes are needed. But if you have 2 solid builds and don't need to wipe when swapping it should work.

Just need a way to make a script or bootloader that could run either one of these.

Cannot see another way around it since the OS is loaded into phone ROM/RAM

of course if your build supports the reboot command from the OS then you could just make a script to run when you want to reload the other build. Then you could skip the recovery console.
[G1 Android Development] shaneaus:
@beagz - Ha, forgot about that script. Yes, to switch between say, the DudesG build and Haykuro's H build one could write a script like that in Gscript and change back and forth when a new build comes out.

Like now... One could run Dudes G build and try out Haykuro's new ADP1.5 build.

But, I do believe your right about going back to a JF33 build - would need to wipe...
[G1 Android Development] Binary100100:
Nah.. I was referring to using a bat file on my Windows computer to switch between 1.1 to 1.5 back to 1.1 by just executing the bat.

Now that i know that "adb reboot bootloader" will work it can be completely automated!

... but will it default to fastboot? Hmmm...
[G1 Android Development] Binary100100:
Thanks! But is this going to put the phone in FASTBOOT mode? I'm trying to make this completely automatic if it's possible. Simply keep your latest and greatest backup .img's in a certain directory on your computer and EXECUTE!

Take a shower or whatever... come back and VOILA! Your previous backup.

The method that I've come up with thus far is pretty simple... but you just can't execute and walk away. You still need to enable FASTBOOT at the least on the bootloader. Although I haven't tried messing with it lately. I have my phone just like I want it. :D

Now that the Official ADP1.5 is out let's get to work on Mulitouch, themes, etc!
[G1 Android Development] Nikeem24:
Wow this seems crazy but it just might work. Lol.
[G1 Android Development] Binary100100:
bat file to automatically restore backups using Windows!

So all you need to do is...

Open notepad, copy and paste the quoted text below, edit the top line of this bat file to the directory of your backups (I used "c:\android" for an example), save as .bat and double click. Wait and your done. Just watch it happen automatically.

Also if you decide to change that directory on the top line also use the directory on the 14th line. Your done. Easy restore to a backup.

HINT! Make a couple of these with a variety of directories on the top to change what backup your want to flash back to.

Example: c:\android\rc33; c:\android\501h; c:\android\adp15; etc

I've tested it and it works beautifully!

Hope it helps!

Thanks to everyone that pointed out the command "adb shell reboot bootloader"

This post is noob friendly. :D

OR

Use this script below for it to prompt for the location of your backups.

This one is even more noob friendly... but it's not as fast because it requires you to enter the location of your backups.

I hope it helps someone out there. It helps me.
[G1 Android Development] Joushou:
MarcusMaximus04@gmail.com:

The average lifetime of flash is 100.000 writes, and flash isn't delivered 100% intact, they're usually delivered with faulty blocks (Depending on where you get it, blah blah blah).

That should change your numbers a bit ;) (A month i believe?)

And, sure, he is using the update-zip, so it's not written to the same pages every time.

But still, it's a bad idea (Other than wearing stuff down, it will also be very slow :) ).

To dual-boot, modifying the init-system so it could choose from different android-runtimes would be way faster/cooler...
[G1 Android Development] Gimpeh:
If possible, this would be pretty damn useful. Using a stable build while being able to tinker with experimental builds. Would definitly cut down on the constant flashing back and forth.
[G1 Android Development] tubaking182:
my script is completely automated, i type in dude in the terminal and go out to smoke a cigarette and when i return my phone is booting into the dude's cupcake build, if i type jesus it goes to my jf backup also completely automated. as long as the phone is not unplugged at any time the phone will boot to bootloader and be in fastboot mode immediately
[G1 Android Development] purg:
We all seen the docs but in the real world.... Ive had my N800 using an 8Gb class 6 (fats fs) card as torrent download storage for the last two years.

Normally run it to about 7Gb before dumping off to media system each week. I really wouldnt worry about burning out newer memory cards. At worst its only £30 for a replacement which ive never needed to do. A newer toy / device comes out before card dies.
[HTC Excalibur] dude101:
Can someone tell if there is an easy way to do this?

Basically, I want to copy all my SIM contacts to my phone contacts (I know how to do this using the SIM manager).

But I don't want all of the contacts to apear twice in the contact list. Is there anyway to setup the contact list to hide the sim contacts? I want to keep the contacts in the SIM card so I can move them from phone to phone, but I want it in the phone as well so I can sync it to gmail through active sync.

Any Thoughts?

- thanks
[HTC Excalibur] dwizzy130:
Searching took me 2 seconds to find this registry edit. I'm not trying to be an @$$ but just remember to search before posting.

22. Hide SIM Contacts: HKCU\ControlPanel\Phone - create a new DWORD value named "ShowSim" and set it to 0

dwizzy130
[HTC Excalibur] uansari1:
What ROM are you running?

Also, IIRC either going to Options in the Contacts menu allows or changing a setting in the WM Settings menu does this.

As for copying your contacts from SIM to phone memory, you should have a SIM Manager in your applications that allows you to copy back and forth, as well as backup, etc. It took me a couple minutes to realize that you don't have to select each contact manually, rather there's a very narrow line above the first contact when you open the list to transfer. Make sure that's highlighted, then select to get all contacts at once.
[HTC Excalibur] MrDash:
Wow !!! U need To use registry editor
[HTC Excalibur] stylez:
If you want to test this, i adapted the .exe to have icon and shortcut, have just installed and installs, but do not have a SIM to test Dash with, the program is originally for PPC.

There is no GUI press once to hide, pres again to show.

Install to device.
[HTC Excalibur] uansari1:
You didn't read my post very thoroughly, did you? Rather than digging into the registry at all, the ONLY thing that you NEED to do to hide or show sim contacts is to change ONE setting in your phone.

The other process I was talking about was how to use the included application to copy contacts from SIM to phone...and even that's easier than it sounds in my post once you know the nuance of the SIM Manager.
[Upgrading, Modifying and Unlocking] kocoman:
What files to delete to remove/stript activesync from WM6 rom?

(I am trying to remove activesync completely from my 700wx rom)

TIA
[HTC Excalibur] dude101:
I downloaded the Rose ROM and now my MMS seems to be broken. Any ideas how fix it?
[HTC Excalibur] s1l3nt:
make sure you went to accesories and did connection setup
[HTC Excalibur] dude101:
THANKS!!!!

It appears to work now.

I forward all my gmail to my cell phone via mms since I dont have a data plan.
[XPERIA X1 ROM Development] jproject:
i need to learn how to cook a rom how do i get started:confused:
[XPERIA X1 ROM Development] derliebewolf:
Google isn't woring currently, right?
[XPERIA X1 ROM Development] tehnoobzorz:
here you go sir : )

http://xdaforums.com/showthread.php?t=508293
[HTC Tornado] smoma:
can replace tornado battery from other phone battery because tornado battery very rare in my country.
[HTC Tornado] george_sh:
ebay.com!

You still can have an original battery. Just go to ebay.com and search for "st26 battery" in "Cell Phones & PDAs". You'll find several options from $3 to $12 + shipping. I bought a couple this way and am happy now. Just look for original Celxpert or Sanyo brand (ST26B or ST26C). Don't buy cheap fakes labeled Samsung (ST26A). They cost the same but have less capacity.

In addition you can buy an external charger - it's very comfortable if you have more than one battery. And there are also high capacity batteries about twice of the original. They come with a spare cover because they won't fit in the phone with the old one. I can't say anything about this one.

Good luck and long live Tornado! :)
[HTC Tornado] karhoe:
Those battery seems too cheap, do you trust them?
[HTC Tornado] smoma:
[QUOTE Don't buy cheap fakes labeled 2Samsung (ST6A). They cost the same but have less capacity.[/QUOTE]

thanks but before buy it (Samsung (ST6A)) and capacity is very low abut (12 hr) what solution for increase capacity Samsung ?(ST6A) :) . i buy it about 15$
[HTC Tornado] george_sh:
karhoe,

I have one battery of all three types I've described. Well, the Celxpert was new and the best of all - absolutely the same as original. Sanyo was of the same manufacturing quality and capacity, although looked a bit used. 'Samsung' was made of poor quality materials, was not exactly rectangular and it is definitely not Samsung at all, just a fake.

The first two last almost 24 hours (I listen MP3s for 1 hour a day, make 5-8 calls, sometimes use Opera Mini). And the 'Samsung' one now doesn't even last 12 hours.

BTW, I use one of the latest WM6.1 Standard ROMs, they are all pretty 'hungry' for energy. When I tried WM6.1 Pro and WM6.5 they seemed to work noticeably longer.

smoma,

I don't think there's a way of considerable increase in capacity since it is a hardware problem. You can just use it until it dies, just have a spare one with you.
[HTC Tornado] smoma:
i really need this instruction

help me please
[HTC Tornado] dark_prince:
Bro, I am back and have read your PM :)

My battery is completely debranded (means that "A mobile techie did the job for me. As far as I know he shown me sanyo battery case (perfect for tornado) then he ripped off a nokia's battery cells and made a custom battery for me). My problem of battery charging is solved since I am using 1A charger from now on :P

NeHow, What u really need is "mAH rating of battery", Battery voltage that is required (i think its minimum 4volts and as per required (I dunno what is the ower rating of official battery and i am too lazy to google for it lol)

As my celetask shows:

Tick Count: 23:39

Main Battery 91% (charged it about 17 hours before, and I have used about an hour of wifi on that)

Voltage: 3942mV ~ 4Volts

Curent: 122mA

A battery rating of more than 1000mAH is fair for gud battery backup. As a consequence the charging time is taken as far more. Since a higher mAH battery requires a Higher mAH adapter too

i-e 1000mAH battery requires 1A current for an hour to fully charge orr vice versa

I really catn help in ripping the battery since there is some battery cells ripping is involved which that mobile techie is afraid to leak out. I asked him again after reading ur PM

P.S you can check the market out for custom made batteries on above criteria

I AM NOT RESPONSIBLE FOR ANY KIND OF DEMAGE TO YOUR PHON REGARDING THE RIPPING OF UR BATTERY
[HTC Tornado] smoma:
request for Mr dark_prince

request for Mr dark_prince

MR dark_prince you say in previous post :

Change the battery (its custom 1200mAH battery which I ripped off from sanyo's battery case and NOKIA's (umm forgot) with solid 6dayz backup on wifi)

please help me and send screen shot of your battery i am very need to your guide .

very tanks i am wait...

can use your nokias battery without ripped off sanyo's battery ?

i am electronic engineer and able to if yuor guide me and say me more information about modle of nokia's battery and battery's pin connector
[HTC Tornado] smoma:
wait

i am waiting ... :(
[Windows Mobile Development and Hacking General] showaco:
Cool, thanks for this.

Let me make sure of the default.plg file, if I want to include cpr installs for different resolutions, I just add all of them to that one file, correct? Just change the layout screenwidth,screenheight for each new cpr I need to write, for both portrait and landscape. So for vga only, I would have two layout sections, one with screenwidth=480, screenheight=640 and then another layout with screenwidth=640, screenheight=480? If a cpr doesn't exist on device, then it just skips that one and goes to next?

Just wanted to make sure I understood it correctly as I plan on updating titaniumweather this week and wanted to use this.
[Windows Mobile Development and Hacking General] AppStar:
Yeah, that's pretty much it. All the different resolutions in one file. In your case you would just need two layout nodes for VGA, one for portrait and one for landscape.
[Windows Mobile Development and Hacking General] showaco:
I'm working on getting next version of titaniumweather finished up and had a question/request. I noticed that your atplugin installer must be reading the defaultxml for plugin info before inserting and rewriting the default and extensibilityxml values. Is it possible to have it read the extensibilityxml for the info instead? A lot of people only update the extensibiliyxml when adding new panels since thats all that is necessary to show panels and with your current version all those panels are removed from extensibilityxml when atplugin installer runs. I can change it in chome editor to write to both locations, but still doesn't help out with someone that has made there own panels independently.

I've added option in weather to switch layouts using your atplugin app to change layouts for different style of weather icons, works very well to switch them out.
[Windows Mobile Development and Hacking General] AppStar:
I just double checked and atplugininstaller reads from ExtensibilityXML first. It then injects the plugin name and updates ExtensibililtyXML and DefaultXML to the new value. I don't bother to read DefaultXML, I just override it since they both should be the same anyhow. I can change it to not override DefaultXML if users are having issues with it.

BTW, I'm glad to hear you got it working with additional layouts. I have the same feature in my latest Fave Contacts release. I was worried developers might have trouble because of case sensitivity. I use an XPath query and I'm not quite sure why the powers that be(W3C) decided XPath needs to be forced to case sensitive.
[Windows Mobile Development and Hacking General] showaco:
huh, maybe just some weird issue I had going on then. After that first change up, everything after that didn't change my layout anymore. But I also updated chome editor to write to defaultxml too and reset my custom panels in after first change up, so maybe that fixed issue for me.:confused:

Yeah, got 4 or 5 different icon sets now, with different .plg files for each since most have different size icons and that was easiest way to have for future icon packs to be added without having to release new weather versions. Working on cab now, had trouble with install at first 'cause I was saving your ATPluginInstaller.exe to a subfolder under installation path, which is location I needed to work with my future addons. Got it sorted now(I think:)).
[Windows Mobile Development and Hacking General] drkfngthdragnlrd:
Is there a way to specify the CPR's to modify in the .plg file? I have made completely new CPR's for NeoTitanium. Instead of being Titanium_(Resolution).cpr, they are Neo_(Resolution).cpr, M2DNeo_(Resolution).cpr, & BWNeo_(Resolution).cpr. for the different themes. I did this so the user can swtich back and forth from NeoTitanium to Titanium (or the different themes) without uninstalling it.
[Windows Mobile Development and Hacking General] JukEboXAuDiO:
Thank you soooo much. I am going to try this out.
[Windows Mobile Development and Hacking General] AppStar:
Hmmm... I was going to pull the CPR file name out of the registry, but decided against it because I didn't have any way of knowing that the PLG file was indeed targeted to that CPR anyhow. Adding a node to the PLG is a good idea. But we need to be very careful with distribution. If users got a hold of your PLGs and tried to use them with a Titanium layout they would not work.
[Windows Mobile Development and Hacking General] Mnemonique:
Nice!

Very cool indeed.

Just the thing I'm looking for :).

Was currently busy with pre-define cpr file to append at the titanium_(resolution_here).cpr, this surely helps a lot in making that happened.

Thanks!!!!!
[Windows Mobile Development and Hacking General] JukEboXAuDiO:
I have a BIG question. In your ATFavePeople Cab you have a Setup.dll in the Main root of the cab but you don't talk about that. What is that Setup.dll for? I added the AtpluginInstaller, CESetupdll.dll, default.plg, and CHomeRefresh in the cab. Someone told the cab is unsuccessful when its installed and I can't quite figure out why.
[Windows Mobile Development and Hacking General] AppStar:
I replied to your private message but i'll repost here incase others need the info.

Hmmm.. There are a couple things you need to check. Make sure the have the CESetupdll.dll configured properly in your INF file.

To include your CESetupDLL.dll in the INF file (file used to build installation CAB file) you have to add the following string to the [DefaultInstall] section:

CESetupDLL = "CESetupDLL.dll"

Also make sure your cab file is extracting all the files to the same folder.
[Windows Mobile Development and Hacking General] AppStar:
Just a heads up... I'll be leaving for a business trip tomorrow and won't be back till Monday. I'll get to any questions and/or fixes when I get back. Thanks guys!
[Windows Mobile Development and Hacking General] JukEboXAuDiO:
SO what do I do about creating a setup.dll file when I don't have a program that can create .dll files.
[Windows Mobile Development and Hacking General] JukEboXAuDiO:
Can someone tell me where the [Default Install] section is in CE Cab Manager.
[Windows Mobile Development and Hacking General] drkfngthdragnlrd:
This is why I was wondering if there was a way to call out a specific cpr file name. That way if the cpr doesn't exist on the "machine", the plg does nothing. Also, in the future on release you'll see a lot more custom named cprs. HTC I know uses their own naming. My smart phone has like 5 different sets of cprs on it.
[Windows Mobile Development and Hacking General] Genix9:
Do you think there's a way to also include multiple plugins in the default.plg file?

I'm looking for a way to use the PluginInstaller to update existing .cpr default (Clock, Music, Photos, etc.) without messing up any additional/custom plugins people have put in.
[Windows Mobile Development and Hacking General] sve1313:
Very nice. Thanks
[Windows Mobile Development and Hacking General] twolf:
Finally was able to install a plugin made by this installer...

Almost all my *.cpr files were read-only, so the plugin wasnt able to save them and kept giving me the "AtpluginInstaller.exe" error.

Changed them to non read-only with Resco Explorer and all worked fine. :)
[Windows Mobile Development and Hacking General] orlith:
Hi There.

don't know if I'm in the right topic if not I apologize.

I would like to know iif there is way to change the GUID of a "personnale" plugin. It seems that non standard plugin got the same guid, and on some case it makes trouble (I would like to put one of my personnal plugins by default when I press "hang" button).

Thanks
[Windows Mobile Development and Hacking General] flaviopac:
Hi there!

Can anyone help me doing a cab file which should contains a plugin I developted?

I read this post:

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

But there are still some things I miss...

Thanks in advance for any help!

Cheers...

_______________
[Windows Mobile Development and Hacking General] twolf:
Started a online flash tool to help skinners and developers to create the CPR/CPL file.

Will do further developent during the week to create the full working CPL from scratch and even a .REG based on the editor settings. :)

Any feedback/ideas use this thread:

http://xdaforums.com/showthread.php?t=520857
[Windows Mobile Development and Hacking General] flaviopac:
Help me doing a cab of a Wm 6.5 plugin...

My target is to build a cab of a Wm 6.5 plugin I develpted:

1) Using this tool: QuickCab 2.0; I built the cab, with all the reg keys, folders and stuffs I need.

2) in the cab I should insert "AppStar Titanium Plug-in Installer" too (the one I found here: http://xdaforums.com/showthread.php?t=509492 )

3) The PLG file must be in the cab too, and I need to edit it as some examples suggest...

If I don't miss anything, it should work, RIGHT?

Thanks in advance for any help... :rolleyes:
[Windows Mobile Development and Hacking General] rpereira:
I have a permanent fix for this, let me know and i'll hook you up with a custom setup.dll that will launch a custom.exe, that will launch mortscripts that change the .cpr file attributes before launching ATPluginInstaller.exe . really works like a charm.