yashsingh1/xdaforums huggingface dataset:
[EVO 4G Q&A, Help & Troubleshooting] cor4twenty:
Are you saying you don't get the pop up notification? If so just slide your notification bar down and change it from there...not too sure what you mean but hope that helps
[Droid Incredible Q&A, Help & Troubleshooting] ultmontra08:
I rooted with unrevoked and installed Cyanogenmod 6.0.2. I am having issues with my camera not being found and calls saying they are dropped, but then the person is still on the line. What's the easiest way to return to stock Sense 2.2? I did not do a nandroid backup. Thanks in advance.
[Droid Incredible Q&A, Help & Troubleshooting] Pons:
Might be an easier way, but section 6 of [URL="http://xdaforums.com/showthread.php?t=760306]this guide[/URL] will return it to stock 2.1 and you're just an OTA away from 2.2.
[Droid Incredible Q&A, Help & Troubleshooting] ultmontra08:
I never changed the radio image when I rooted and installed cm over stock 2.2. Can I just flash the stock OTA that I downloaded?
[Droid Incredible Q&A, Help & Troubleshooting] Pons:
Probably. My phone came with stock 2.1, so that's where I focused my research putting me back at. I never looked into the 2.2 OTA image, since I could download it OTA easily and that way I know it hasn't been tampered with.
[Android Software/Hacking General [Developers Only]] pierissimo:
I already opened a thread in "sapphire development" forum, maybe It's better to continue here, as the script works on every device.

***0.6.5***

-Full compatibility with froyo, now it backup application moved to sd (froyo way)

***0.6.4***

-Fixed some issue with froyo

***0.6.3***

-Fixed wifi broke bug

***0.6.2***

-Fixed apn restore bug

***0.6.1***

-Added possibility to restore the call history

-Both script can be launched from phone terminal without any problem.

***0.6***

-rewritten script , is now more stable

-It does backup of applications installed on sd, both "new" and "old" method.

-If there are applications on sd saved in the backup, it asks the location where to install them.

******

In the market there are good applications for android backup.

I made my own script, craft_backup, that allow to backup both applications(apk) and data, saving them in "craft_backup" folder on sdcard.

The restore script (craft_restore), allow to interactively restore this data.

The restore script is divided into phases:

1)Application reinstall( by Wes Garner) : It automatically reinstall all the application in the backup

2)Restore applications data

3)Restore system data that does not cause incompatibility issue: sms,Apn, bookmarks, wifi, user dictionary, call history.

4)fix permissions (by shade@chemlab.org).

Prerequisites:

1) Root permissions

Script installation

Download last version from this link and flash it from recovery

Script execution

Not from recovery!

To backup:

adb shell
craft_backup #You must execute this command on the new shell

To restore (in case of wipe, we have to the repeat the script install operation)

adb remount
adb shell
craft_restore #You must execute this command on the new shell

Sometimes the restore process may seems to be frozen, simply let it work ;)

After the restore, It's possible to have some force close, no fear. If some applications doesn't work(rare), reinstall it.

Sorry for bad english!
[Android Software/Hacking General [Developers Only]] vitorgatti:
Very nice and clean script :D

Thanks a lot!!
[Android Software/Hacking General [Developers Only]] pierissimo:
thanks!

Now I'm working on an "Craft Backup" application to publish on market!!
[Droid Incredible Themes and Apps] OSully:
Hey guys - looking to mess around with some custom UIs. I can't figure out what files need to be edited to change the dialer buttons. Can anyone point me in the right direction?
[Droid Incredible Themes and Apps] cupcakera:
adb pull the framework-res.apk (located in /system/framework) and check the drawable folders (located in res). you could also check the htcdialer.apk (located in /system/app)
[Droid Incredible Themes and Apps] OSully:
I've tried both files and I'm having no luck.I even tried pushing the htc dialer apk and the phone apk from other roms with no luck. I don't see anything in the framework or htc framework files.if someone knows the exact files to edit I'd be thankful.
[Droid Incredible Themes and Apps] bilbobrian:
Its in the contacts.apk :)
[Droid Incredible Themes and Apps] OSully:
Aha! Didn't try that one. Thanks for the tip.
[Droid Incredible Themes and Apps] OSully:
Anyone know how to change the text color on the keys?
[Droid Incredible Themes and Apps] OSully:
Okay, so I had no luck with the contacts.apk either... anyone have any clue what I'm doing wrong?
[Droid Incredible Themes and Apps] ACD168:
try using someone elses theme, and re-edit theres..
[Droid Incredible Themes and Apps] OSully:
I've actually tried that too. I just can't seem to find the correct PNG files. There are some in the Phone.apk but I tried swapping those and nothing changed. I downloaded thew framework theme of Redemption Revolution Rom - I literally pulled apart every apk and then did a search for all png files. Still didn't see the dialer buttons. I applied the theme to my phone, and the dialer buttons changed, so they have to be in there somewhere!!
[Droid Incredible Themes and Apps] -Michael_:
I know on virtuous they are in HtcDialer.apk /res/drawable-hdpi if i remember right. and the button press color was in com.htc.resources.apk id have to look on my pc to be absolutly sure

•Sent from my Incredible
[Droid Incredible Themes and Apps] OSully:
Well I found the actual button graphic, it's in com.htc.resources.apk. Now i'm just trying to find out how to patch the text color.

Anyone know that part? I'm almost there!
[Droid Incredible Themes and Apps] OSully:
I'm pretty sure the dialer text is controlled by an xml file in the dialer.apk - what program should I use to make edits to the xml files?
[Droid Incredible Themes and Apps] dg32:
Is there any way to edit the way the Android dialer displays the numbers you dial on the phone? This is something that the iPhone does really well, where it will split the numbers up into something like (800) 555-5555 instead of showing 8005555555.
[Droid Incredible Themes and Apps] OSully:
Still looking for help on this...

I am trying to change the dialer button text to have white numbers instead of black. I'm having a hell of a time decompling the apks, finding the right xml file to edit, and then getting my changes to stick when I recompile. Anyone want to take a whack at it for me? I don't even know which apk I definitely have to edit to make the change.

I uploaded both the HtcDialer.apk and the Phone.apk from my phone in a rar file below... if anyone wants to take a look I'd appreciate it.

http://www.mediafire.com/file/3p5x5pavl2aceyq/VirtuousAPKS.rar
[Droid Incredible Themes and Apps] SR3TLAW:
I've been trying to find the answer to this question for a long long time. Still no answer.
[Captivate General] Lordsiggi:
The order of things i've done

1. Root

2. Install BusyBox

3. Install Superuser

4. download Rom manager

5. Download Titanium Backup (and make backups)

6. Flash clockwork recovery

7. Creat a Nandroid backup

8. Flash leaked 2.2 (10/2/10)

I now am looking to use the one-click flash to go straight to 2.2Beta5.5. The cognition FAQ stated:

Do i simply download the link provided on this page (the exact same one u used to get 2.2 in the first place)

showthread.php?t=797282

or do i download the "2.2BETA5.5_ODIN.zip" on his download page

Is what i'm asking even achievable? or do i need to revert back to 2.1 before i can use that flashable rom for 2.2beta5.5.....
[Captivate General] wmwilker:
This needs to be in the Cognition thread
[Captivate General] spook:
<Insert "this belongs, etc, etc." comment here>

But to answer your question, Odin would probably work but you can also follow the replace kernel method in the Cognition FAQ located in the first post in the Cognition thread.
[Captivate General] Dani897:
Designgears created the odin installer and put it on his site for people who aren't comfortable with kernel swapping. What you are asking is possible, but not from a .zip in rom manager unless you change the kernel which needs odin to begin with.
[Captivate General] kakwvu:
Kernel swapping will not result in you having to change much of your settings back other than what Cognition changes with each update. Using Odin will clear everything like a fresh flash [except the internal SD].

To a TiB and run Odin. Its easier and faster.
[Droid X Themes and Apps] jkpair:
I have been trolling the forums for awhile and I never post but this is something that I have not been able to come across. Why after I used the bootstrap app and load into the recovery menu that now every time I go to reboot my phone I automatically go into the recovery menu even after a successful boot? Hope I worded that right. :D Please help and thank you!!

just realized I am in the theme section. Can this be moved to the appropriate board. THANKS!! :)
[Droid X Themes and Apps] citanes-26:
That's the way it works, it hijacks the bootloader, trust me its a good thing. Bootloop, battery pull, recovery, restore backup. Several times I've been glad it works that way.
[Droid X Themes and Apps] matrix2004:
Wait. I have a normal reboot. Maybe mine is messed up?
[Droid X Themes and Apps] jkpair:
Yeah I got that but I thought it was only if I pulled the battery after it bootlooped. It does it every reboot except after I flashed a "rom", but I didn't like the rom so I reverted back to stock. I mean its awesome to have the security blanket but it can also be a bad thing if my 14 yo cousin gets ahold of my phone then formats my system an then reboots. Thanks for the help by the way. :)
[Droid X Themes and Apps] Zaphod-Beeblebrox:
The recovery works by looking for a file : /data/.recovery_mode

If it's there, then it goes into recovery mode, if not, then it allows for a normal boot.

However, if doing normal boot, it actually places the /data/.recovery_mode file and then erases it once the system is fully booted. I know this is confusing, but this is how it knows to go back into recovery if you did a battery pull (ie, the file was created, but never erased since you didn't complete the boot process).

All of this is supposed to happen automagically, but I've heard of that file sometimes getting 'stuck' and not deleted. Thus, causing you to reboot into recovery every time.

There is nothing inside the file, just an empty marker. You may want to delete that file and reboot. Should help.

-Z
[Droid X Themes and Apps] kcrang:
If you want to remove bootstrap, you can do SBF flash, which I did several times and it perfectly works.
[Droid X Themes and Apps] jkpair:
Ok I understand completely I knew the process but did not quite understand. Now the last question, is the only way to remove it to flash or can I use a file manager to remove it?

Oh and thanks for the help by the way.

UPDATE:

So I think I found it.

Unroot and Remove Recovery Via RootExplorer
[Droid X Themes and Apps] Zaphod-Beeblebrox:
You can just delete it with a file manager (I am not sure about the permissions though .. you may need rootexplorer?)

I generally just do things like that from adb shell.

I KNOW I can delete it that way :)
[Droid X Themes and Apps] jkpair:
so for adb shell it would be something like:

adb shell
cd /system/bin
rm -r hijack

If thats right I won't try unless I know for sure. I don't know why but I have just got into a habit of googling after I ask. Lol I think this is it: Easy way to remove Koush's recovery?

So the logwrapper is the main file that matters not the hijack file and the original logwrapper was renamed to logwrapper.bin so I just replace Koush's recovery logwrapper with the previous one by copying over it.

Once again thanks for the help. Seems the answer is always 42.
[Droid X Themes and Apps] Zaphod-Beeblebrox:
I'm sorry, I misunderstood you goal here. I thought you wanted to keep the recovery, just fix it so it didn't come up on each reboot. If you are looking to completely remove the recovery, then I yes, I would follow the directions in the post you referenced, not the code section.

If you are only looking to 'fix' your reboot issues, I would suggest looking to see if /data/.recovery_mode exists on your phone. If it does, delete it. That's likely what is causing you to reboot into recovery each time.
[Droid X Themes and Apps] jkpair:
Oh wow now I feel dumb. I thought I got it. So this would allow me to reboot and keep the recovery without it going into recovery every time I reboot. I hate asking noob questions lol
[Droid X Themes and Apps] Zaphod-Beeblebrox:
Assuming that is the problem. There may be another reason that you are getting dumped into recovery each time, but I suspect this is it. I will say that it's not 'normal' for recovery to come up each time. It should only come up if you somehow stop the boot process mid-way (Battery pull, etc) or use the Bootstrap recovery program to set it to reboot in recovery (which basically just creates the data file in question).

I would suggest you work through fixing this problem rather than just getting rid of the recovery. It's quite a powerful tool.
[Droid X Themes and Apps] jkpair:
Yeah I really don't want to rid myself of it. I do believe I have an understanding now I am going to give it a shot when I can leave work. I will come back and post results.:D

Awesome It worked like a charm. Deleted the .recovery_mode file and am now happy.

Thanks for replying so quickly before I decided to just go ahead and remove the recovery menu all together. :)
[Droid X Themes and Apps] DrewDanger:
Where is this file located? Im having the same problem.
[Droid X Themes and Apps] Zaphod-Beeblebrox:
From my earlier post:
[Droid X Themes and Apps] DrewDanger:
I went through Astro and searched "/data/.recovery_mode" but it didnt bring up that file. I guess Im just confused at what exactly Im supposed to be looking for...
[Droid X Themes and Apps] jkpair:
Yeah I ended up using a root file manager to do this was really easy. Just go the root menu and browse to data find recovery_mode and delete then reboot.

Oh and astro will not show what is in the data folder you have to get a root explorer app I think the one I used was android mate.
[Droid X Themes and Apps] DrewDanger:
Ok cool I'll check that out. When I use Astro and go under "system" and scroll down it has a "recovery from boot" folder. Any idea what that is? When I open it there is a bunch of code script in it
[Droid X Themes and Apps] DrewDanger:
Ok I deleted that file and it fixed it. I think Im just gonna un-root it when I get off work. Im over all this, lol. I'll wait until the Droid has more development as far as root access and what you can do. Can I just do the un-root through the one -click-root I used?
[Droid X Themes and Apps] jkpair:
Yeah it has an option to unroot, but I can't state whether or not this is the best method to remove the root. I acctually am keeping my root and bootloader. Yeah I will be glad when there is a true rom as well but progress is progress. :)
[Droid X Themes and Apps] DrewDanger:
I deleted that file yesterday and it fixed it. Today its doing the same thing.
[Droid X Themes and Apps] jkpair:
Me too back to the same. :confused:

I think when I have the chance I will completely remove it and reinstall it.
[Droid X Themes and Apps] DroidXChat:
I'm having this problem, it only boots to recovery sometimes. Usually after it happens, if I reboot from recovery, then reboot again using normal power off power on, it won't boot to recovery, but a few hours later if I try again, it boots to recovery again...

i didn't have /data/.recovery_mode, the file didnt exist
[Droid X Themes and Apps] jkpair:
It seems after I put a new rom on it quits doing this. I am not too sure what other file could be causing this. Maybe I am just losin it.
[Droid X Themes and Apps] Sleuth255:
hmmm... apparently we need to learn a little more about the precise process that removes the .recovery_mode file when the boot is successful. This is where the issue, (which quite a few posters have encountered btw) lies since it is this process which isn't doing what it is supposed to be doing.

I've pinged Koushik for an explanation; hopefully he'll respond and we can get this issue solved.
[Droid X Themes and Apps] Zaphod-Beeblebrox:
http://www.koushikdutta.com/2010/08/droid-x-recovery.html

My best guess is that on devices that are having issues, an uninstall/install of DroidX Bootstrapper will fix it.

May also want to look into proper Rooting. If Bootstrapper isn't getting Root like it should, then it won't be able to delete the file.
[Droid X Themes and Apps] Sleuth255:
Thanks for the link, by I've been there already :)

Here:

Unfortunately, it doesn't describe the mechanics behind the removal process itself. Heck, I can write a quick ditty that fires up in init.d to remove this but I'd rather see how it is supposed to work first.
[Droid X Themes and Apps] Zaphod-Beeblebrox:
Well the link shows source code:

public class BootService extends Service {

@Override
public void onStart(Intent intent, int startId) {
super.onStart(intent, startId);

// wait to make sure the system is sane.
mHandler.postDelayed(new Runnable()
{
@Override
public void run() {

String filesDir = getFilesDir().getAbsolutePath();
String busybox = filesDir + "/busybox";
String adbd = filesDir + "/adbd";

StringBuilder command = new StringBuilder();
// prevent recovery from booting here
command.append("rm /data/.recovery_mode ; ");
// restart adbd as root
command.append(busybox + " mount -orw,remount / ; ");
command.append("mv /sbin/adbd /sbin/adbd.old ; ");
command.append(busybox + " cp " + adbd + " /sbin/adbd ; ");
command.append(busybox + " mount -oro,remount / ; ");
command.append(busybox + " kill $(ps | " + busybox + " grep adbd) ;");
try {
Helper.runSuCommand(BootService.this, command.toString());
}
catch (Exception e) {
e.printStackTrace();
}
finally
{
stopSelf();
}
}
},
30000);

So, this literally is a simple script to rm that file (and replace ADB with a root-elevated version).

Another script/process isn't necessary. Something is keeping bootstrapper from doing its job. Most likely it's been denied root at some point and can't get access to the file.
[Droid X Themes and Apps] Sleuth255:
didn't see the sourcelink oops. I keep forgetting that I'm in an open source community now... :o

Your thought would explain why removing the file allows normal boot since it would imply that bootstrapper isn't always creating it at boot start as well. That was puzzling me.
[Droid X Themes and Apps] Zaphod-Beeblebrox:
Well, technically Bootstrap doesn't create the file (unless you manually tell it to).

Hijack (which is a fake /system/bin/logwrapper) runs very early in the boot process (from init). If /data/.recovery_mode exists, then it deletes the file (so that it will boot clean next time) and launches recovery.

If the file does not exist, then hijack creates it. Then once the system is up, bootstrapper must delete it. This is the mechanism that allows recovery if boot fails. That file gets created and deleted on EVERY boot.

The problem (I think) is that bootstrap doesn't always delete the file.
[Droid X Themes and Apps] Sleuth255:
If that is the case, then one would think that there wouldn't be a root elevated adb either as that copy is a part of the script too. Would adb shell returning "$" and not "#" test this theory?

edit:

actually, what I'm interested in is this:

// wait to make sure the system is sane.
mHandler.postDelayed(new Runnable()
{ ... }

no catch if this one fails. The other should've thrown a stacktrace.
[Windows Phone 7 General] janemanno1:
The question on my mind is, will Windows Phone 7 Sync with Outlook that is not connected via Exchange?

I don't care about the emails but Contacts, Appointments & Tasks are important.

I hear about the Outlook connector but it seems to me that my PIM data will be moved over to LIVE account and then get synced.

I have a personal and a business domain that are hosted somewhere and I use outlook to get all my emails. I don't want to sync/copy my personal & business contacts on windows live mail. I have been waiting for WP7 to come out in lieu of getting a new mobile and this is not encouraging.

I assume Zune software will be upgraded to do most of the job.

Have I been reading wrong articles? Please guide me and correct me.
[Windows Phone 7 General] The Gate Keeper:
from what i read contacts/appointments will only be through activesync. i don't believe tasks are working as of yet.

how are you connecting outlook to your personal and business domains? to get anything more than email alone (pop/imap), you would have to have some protocol (e.g. exchange) in place to allow the rest to flow through.
[Windows Phone 7 General] janemanno1:
Thanks :)

I am using POP3 at the moment and I don't believe the hosting provider gives me IMAP but I can live with it.

So ActiveSync or Windows Mobile Device Center will still work to sync? I heard any talking to the device will only be done via Zune Software!
[Windows Phone 7 General] truffle1234:
i thought sop too.. that zune software will be doing the sync insted of the active sync or windows device manager...

as MS will have some provision to sync with outlook or express...

i am waiting for the devices to be out in the market..

dell and HTC HDD is the one i am looking for...
[Windows Phone 7 General] janemanno1:
I posted a question in MSDN forums and I am not getting clears answers there.

http://social.msdn.microsoft.com/Fo...s/thread/fb28aeec-7dbb-4c92-890a-a7763ae82b60
[Windows Phone 7 General] prjkthack:
The Windows Phone Radio podcast has answered this question and they say that there is full Outlook integration, and that's aside from the already robust Exchange ActiveSync capabilities.
[Windows Phone 7 General] janemanno1:
Thank you. That is a sigh of relief. I am going to get one now as soon as possible.

Spoke too soon. Other posts clarify that it will not be supported.
[Windows Phone 7 General] scoob101:
I cannot believe that WP7 does not sync with outlook. This is a dealbreaker for me, I have to be able to sync my work laptops outlook calendar and contacts with my phone!!

I was just about to buy one, looks like I`ll be forced to buy android.

Bummer.
[Windows Phone 7 General] janemanno1:
WP7 will sync with outlook but not OFFLINE outlook i.e. Outlook not connected to Exchange or Cloud. So if you want to move your contacts and all apointments from PST file to WP7, you have to sync them to the cloud first.
[Windows Phone 7 General] scoob101:
I was hunting around last night looking for a solution to this, and the only software I can find which will perform a periodic sync of my work outlook calendar up into the cloud is google calendar sync - the irony that I`m forced to use google to solve this problem is not lost on me!!

I know there is a microsoft supplied outlook addin for hotmail - but its not much good for this problem - you have to MANUALLY drag appointments from outlook calendar to get them up into the cloud.

I would be interested to hear how others are going to address this problem - are there other solutions out there??
[Windows Phone 7 General] janemanno1:
Doesn't look to me that there is a solution to this sort of wait for someone to write a program to do so or have MS release an update to Zune to do so.
[Windows Phone 7 General] scoob101:
I think theres lot of ways round this, I just posted one method already!!!

Interested to hear how others will approach it.
[Windows Phone 7 General] janemanno1:
That is the whole point. I don't want to put my personal and businee contacts and appointments onto the CLOUD. I just don't trust them with the privacy and security.
[Windows Phone 7 General] scoob101:
I hear you, and Im not super keen on the concept either.

The only smartphone that nativley supports local outlook sync is iphone.
[Windows Phone 7 General] janemanno1:
Well then that sux. I am all for WP7 par this. Any one has any idea about the REAL technical reasons behind this?