yashsingh1/xdaforums huggingface dataset:
[Fascinate General] draco259:
Ok so as explained in my other thread I lost some programs i wanted after I ran the super cleaner, so I ran a restore with Rom Manager and I started getting an error every few seconds. So I tried to do a restore with odin. I restored the system and kernel. Phone was runing fine, but every time I shut if off when it turns on it acts like it a fresh start and I have to do the wizard.

So next I tried a factory reset, its still doing the same thing but now I lost my contacts.

Any help would be very appreciated.

Thank you in advance.
[Fascinate General] draco259:
Sorry for the double post, but I got it fixed.

Thanks
[Windows Mobile] brainmaster:
Maybe you will find something in my post that can help you.
[Windows Mobile] Farmer Ted:
It's much, much easier to do than the way you're trying to do it. First, copying all of those files is really wasteful. If you look at your registry keys, there are paths there for the resource files. Instead of creating a \windows sub-directory, you could just set the path as \windows. Then, the files that are in rom will be used, and you won't need duplicates, or any of the app.dat lines (except for the .lnk).

Change the .rgu to this:

REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Manila_Config QuickShutdown]
"SourcesDirectory"="\\Windows\\"

[HKEY_LOCAL_MACHINE\Software\Manila_QuickShutdown]
"actionShortPress"=hex:00
"BootActiv"=hex:01
"langFile"="\\Windows\\lang.english.txt"
"RestartActiv"=hex:01
"ScreenOffActiv"=hex:01
"ShutdownActiv"=hex:01
"SleepActiv"=hex:01

Try deleting the DLLSetup.dll-it's really unlikely that you need it. It's just cabinstall information, most likely. Unless you really want all those other lang files, I'd just delete all but the English one. If you cook them all in, it's possible that you'll need to get the others into \windows\lang (it doesn't look like there's a reg key for the lang directory, just for the file being used). I don't know, I've never used the app. As mentioned above, you may also need to fix the path of the shortcut.

You may also want to look into compressing the png files, although it's not really worth it if they're only 1-2 kb each.
[Windows Mobile] boggsie:
This is what I use. I put it together and it worked, so I never did much investigation to see if it could be optimized.

One thing to be aware of ... if you have carrier files which fire provxml, it is possible that the provxml could do something to overwrite the poweroffwarning file here. Same is true if you have a poweroffwarning file getting copied in later in the build process.

Best regards,

-boggsie
[Windows Mobile] smithisize:
Great call! Worked immediately! Thanks a lot!

One more quick question. Cooking total commander is being dumb. The EXT I create doesn't have any exe files in the "files" folder, and doesn't extract any into windows. It just isn't working well lol.

Also, what version or what addon enables the user to hold the slash button and bring up the menu where you can hide exit blah blah total commander?

Thanks

Smith
[Windows Mobile] Farmer Ted:
Total Commander is easy to cook in. Again, you don't need app.dat lines, except for the shortcut (make sure it points to windows). Just put the .exe and the plugins (registry, wlan, ftp and webdav, if you have it) in windows. Cook in the reg settings, and you're good to go. I would convert the exe to a module as well.
[Windows Mobile] smithisize:
So... Create the EXT and recmod without any reg or dat entries except icon and shortcut?
[Windows Mobile] Farmer Ted:
No, include the ghisler reg key (hkcu-software-ghisler). Set it up however you like it (like w/ a fully loaded hotlist). But don't move the files around w/ the app.dat.
[Windows Mobile] smithisize:
Huh this isn't working lol could you post the cab you're working with? My cab is acting up (even on fully functional roms)
[Windows Mobile] brainmaster:
Hello Farmer Ted - what for is the file that you attached?
[Windows Mobile] Farmer Ted:
It's a plugin for WebDav, which is the new big thing. I have no clue wtf it does.

Get the ghisler reg key from the device, not the cab. That's always the way to do it. Kheb 1.1 is the way to go for making packages. Cab converters miss a lot of stuff.

Edit: here's my package; it's in oem form (for osbuilder), and it looks like there's a second file needed to get webdav to work in the plugins. Edit the hotlist however you want it (it has folders on my sd card, which are useless to anyone else). It doesn't have a shortcut or initflashfiles.txt in it, since I don't use them for my start menu.
[Windows Mobile] smithisize:
To be more specific about TCMD, here is the output I get with OSkitchen cab to ext:

TCMD>Files

And within the files directory:

000cecmd.002

CECMD_~2.001

00000ftp.003

00000LAN.005

registry.004

TcmObex3.007

TcmObex5.006

So what do I do with those files lol

Regards

Smith
[Windows Mobile] brainmaster:
Thank you for sharing the package.
[Windows Mobile] smithisize:
Thanks for your package, much appreciated! This thread has taught me a lot about how ext's work :)

Do you know what all those strange files I talked of 2 posts up are though? Like, how do I put those all together?

Regards

Smith
[Windows Mobile] Farmer Ted:
I'm not sure what the technical name is, but those are the raw files from the cab; if you extract the cab with winzip or 7-zip, that's the file names. If you give them the proper extensions (.dll, exe, etc) then you can recover the proper files. It looks like the unpacking didn't work properly.
[Windows Mobile] smithisize:
Ah! You're right :) thanks a lot lol that's where my confusion was stemming from lol I couldn't figure out what to do with them!

Thank you very much!

Regards

Smith
[Android Themes] travisjames:
About 5 months ago, I had the idea of creating a site strictly for themes for rooted Android phones. Of course, I did my research and there are a few out there, but none of them had the organization or information one needed about any certain theme. So, I went with my idea and now today, here I am with the initial design of my latest project, Central Themes.

The way I see Central Themes is a place where developers can sign up for their own developer profiles where they will be allowed to upload their themes with screenshots, features, descriptions, etc.

Now, while users will not be able to sign-up for their own profiles, they will be able to comment and leave their feedback on themes on the website.

Now, why am I posting this here? Simply put, I need your feedback and who better to ask for feedback than the users of the themes and the developers who create them!

Right now, all I have are the initial designs and that's where you guys come in. Check out http://www.centralthemes.com/feedback and tell me what you think!

What features would you like to see added, what other information needs to be put on the theme pages, would you like forums, etc, etc, etc.

So, please, feel free to send an e-mail to the address on the website or feel free to leave your constructive criticism in this thread.

Thanks,

Travis James
[Android Software Development] koala993:
Hi,

I included a WebView in my activity and load some Javascript in it which is then going to get data from an external website.

This works and displays fine but the problem is that my activity doesn't scroll when the WebView is done loading so I san't see the bottom of the WebView such as all the other Views I put below this. Any idea os how I should handle this ?

Cheers.
[Android Software Development] SlowSeer:
Do WebViews have a scroller built in? Might need to put a ScrollView around it?
[Android Software Development] koala993:
Thanks, I used a ScrollView around the WebView and it worked. The WebView has a scroll built-in but it was the main layout that had not.
[EVO 4G Q&A, Help & Troubleshooting] fastfed:
I know how to use it, but the problem I am having is after I get new programs I go to my Custom Freestyle section.. I long press and click to choose shortcuts..

YET nothing new I downloaded is in there??

Also, finally I am trying to do the bookmarks as well..

I open Dolphin, I save a bookmark, go back into Smart Shortcuts..

YET AGAIN, nothing is in there except the stock ****..

THANKS!!!
[Droid 2 Android Development] csscmaster3:
Tired of having to redownload and reinstall all of your apps when you reflash your phone? SaveMyApp can help.

This script will setup your phone so that after your flash to your favorite rom, all* of your apps will be install on the first boot. These apps will show up in the market too!

Also, the script will allow you to backup your /data/data folder to your sdcard and then restore it after your reflash. The /data/data is where Most of your user data is stored. This is not guaranteed to fully restore everything. This also does not backup your Google, Android, or Motorola settings; this is to improve compatibility with roms.

*The /preinstall folder is limited to 120MB, so if you have more then of apps this script will not fully work.

This should work with all phones, however it has only been tested on the Droid 2/X.

If you want to test this script on a different phone, let me know the /preinstall size and if it worked or not.

v0.1.4.2 - 11/17/2010

-Improved backup and restore of data

-Improved script usability

v0.1.4.1 - 11/17/2010

-Improve safety of removing /preinstall/app

v0.1.4 - 11/16/2010

-Added option to clear the /preinstall/app folder

-Added messages to support clear /preinstall/app

v0.1.3 - 11/12/2010

-Added backup of /data/data

-Added messages to support Data Backup

v0.1.2 - 11/11/2010

-Added Backup /data/app-private

-Show /data/app size, prompt user for continue

-Additional messages added to improve user experience

v0.1.1 - 11/10/2010

-First Release

-Backup and Restore /data/app

Installation:

WARNING: This steps must be completed as listed, failure to do so may result in unexpected errors which I am not responsible for.

1. Enable USB debugging and make sure Sdcard is mounted on phone

1. adb push apps.sh /data

2. adb shell

3. cd /data

4. chmod 775 apps.sh

5. ./apps.sh

a. Follow the onscreen directions

6. Reboot and proceed to wipe and reflash

7. On boot, wait between 5 and 10 minutes depending on how many apps you have before logging into your account. (30 apps takes about 4-5 minutes)

8. Login to your account

9. Droid 2/X Bootstrapper -> Bootstrap Recovery

10. Enable USB debugging and make sure Sdcard is mounted on phone

11. adb shell

12. tar -xzpf /sdcard/savemyapp/backup.tgz

FAQS:

Market isn't showing apps!

settings->applications->Manage Applications->All->Market->Force Stop, Clear data

Why is there a MACOSX file when I extract the archive?

Because I am lazy and I zipped it using Mac's built in archiver.

The script isn't working right away!

Redownload the newest script, just to make sure :)

Disclaimer:

You may repost this, but you must quote it as is.

I will only be responding to the threads I started on the Xda-Developers forums.
[Droid 2 Android Development] walcs:
First!

I'm just holding a parking spot for this post!
[Droid 2 Android Development] JonandRoid:
What a great idea...thank you for developing this, im so tired of re downloading my apps back and setting everything up...done it about 10 times in the past month between sbfing and updating the fission rom several updates in a row so thank you...will most definitely be using this when I flash roms in the future. Thanks again :)
[Droid 2 Android Development] tildaSparky:
Excellent program! I'm having trouble getting it to work unfortunately. When apps.sh begins to copy files from /data/apps, I get errors saying "No space left on device" after every single file it tries to copy. This is of course not true since this D2 has over 6 gigs free on the system storage.

I am running this through the window's command prompt, but I don't see much in the code that won't run on windows aside from "du" which isn't even relevant unless my app + app-private folders combined size is over 120 MB (it's not).

I'm also running Epic 2.5 if that has anything to with this.

Any ideas? Am I just doing this terribly wrong?

Thanks!
[Droid 2 Android Development] turkeybuzzard:
If you read the first post it states the /preinstall folder can only hold only 120mb so it you have more than that to backup it won't fully work..I'm guessing that's were the apps are being saved...
[Droid 2 Android Development] csscmaster3:
Apps are normally saved in /data/app this script copies those apks to /preinstall so that after a wipe they will automatically be installed on the first boot. Yes /preinstall is limited to about 120MB.

Do you get the "No space left on device" message instantly or after some apks were copied to the /preinstall folder?
[Droid 2 Android Development] tildaSparky:
Here's what I get

WorkingΓÇª

cp: /preinstall/app/com.google.android.apps.maps-1.apk: No space left on device

cp: /preinstall/app/com.google.android.apps.translate-2.apk: No space left on device

cp: /preinstall/app/com.google.android.gm-1.apk: No space left on device

cp: /preinstall/app/com.google.zxing.client.android-2.apk: No space left on device

etc.

=(
[Droid 2 Android Development] csscmaster3:
How big is your /data/app folder?
[Droid 2 Android Development] tildaSparky:
OK! I sort of have it fixed. In that I'm not getting my original error.

What I did (which in retrospect was not such a hot idea) was delete the /preinstall/ folder and then created a new one with the subfolders /app/ and /md5/. The logic behind was that I saw the script had nothing in it to clean out the original preinstall folder, and I noticed that it had silly things like NFS in it. As I said, in retrospect I should have just deleted specific items from the folder, but that's what I get for acting without thinking too much.

How bad do you think it is that I remade the preinstall folder from scratch?

Now my preinstall folder is properly populated (I think). But the data won't back up for some reason. I think it might have something to do with the if statements being broken. I'm gonna go ahead and modify your script to bypass the if/else statements and see what happens.

SaveMyApp v0.1.2

By csscmaster3

Your app folder takes up

du: not found

If your app folder is more then 114MB I don't recommend continuing

do you want you to continue? (y/n)y

y

[[: not found

WorkingΓÇª

ignore No such file or directory error if you get it

tee: not found

SaveMyApp has completed your apps

Do you want to backup your data? (y/n)y

y

[[: not found

SaveMyApp has completed.

As an aside my app folder is 28 MB and my app-private folder has only the apkinstaller.
[Droid 2 Android Development] csscmaster3:
The NFS removal is a good call, I will append the script to check the /preinstall folder and prompt to remove the files there

The reason you are having trouble with this script looks it be like because you are not running it on the phone itself...meaning to say you are not running it via a terminal emulator on the phone nor are you running it via adb shell. The backup uses tar, which isn't on windows by default.
[Droid 2 Android Development] tildaSparky:
Actually I'm running everything through the adb shell. It's puzzling to me too. My terminal emulator for some reason doesn't have root access. At this point I think I'm just going to SBF anyway.

At any rate, I just decided to pull /data/data/ from my phone onto my HD and I will replace it after I reflash and install my programs, but before I log into my google account. Do you see any reason for this not to work?
[Droid 2 Android Development] csscmaster3:
Hmmm, you might have to check your superuser app to see if you accidently are denying su access. In adb shell do you have a $ or a #?

Backing up the /data/data folder to your HD then restoring might not work because I am not sure if it will retain the owner, permissions, etc.
[Droid 2 Android Development] tildaSparky:
I had a # in my shell. There was something slightly wonky about my root I think. At any rate my backup method didn't work so well (as you predicted) - it caused timeriffic to force close when I tried to load in my old settings via /data/data/.

I will try using this again once I've got my shiny new Fission 2.1 set up as I want.

Thanks for your attentiveness!
[Droid 2 Android Development] wsfanatic:
I'm guessing this script should be run AFTER all of the applications have been installed. Is this correct?
[Droid 2 Android Development] csscmaster3:
That is correct
[Droid 2 Android Development] walcs:
Ooooo this is getting popularrrr
[Droid 2 Android Development] theimpaler747:
Is this D2 specific, or would it work on any phone?
[Droid 2 Android Development] csscmaster3:
It works with the D2 and should work with the DX, anything else is use at your own risk, if it does work let me know though :)
[Droid 2 Android Development] theimpaler747:
Might risk it and try it on my hero :) Regardless, nice work
[Droid 2 Android Development] csscmaster3:
The only problem I could forsee would be the /preinstall folder being different or something, if you do end up trying the script could you let me know the size of the /preinstall folder?
[Droid 2 Android Development] theimpaler747:
Yeah, I can do that when I test it :)
[Droid 2 Android Development] stevie-c:
this script seems very dangerous to me.

If you run this

---cd /data/app

echo "Your apps take up "

du -hc /data/app /preinstall/app

echo "If the total is more then 114MB I recommend clearing you /preinstall/app f

older first"

read -p "Would you like to do this? (y/n)" clear

if [[ "$clear" = "y" ]]

then

echo "Working…"

cd /preinstall/app

rm -r *.apk

-----

when you don't have a /preinstall/app folder all your apk files on your phone are deleted and your phone is redered useless.

Hope this is not intentional but still... A big mistake to make.
[Droid 2 Android Development] gmenfan83:
Ok I'm sorry if this is a dumb question but before I do any of this I have to flash the zip to my phone correct?_
[Droid 2 Android Development] stevie-c:
I can see in the changelog the wipe /preinstall/app folder function has been added last. So not intentional.

BUT THIS IS A VERY DANGEROUS SCRIPT TO HAVE ONLINE.

THIS VERSION WILL WIPE ALL YOUR APPS IN /data/app FOLDER IF YOU RUN IT THE FIRST TIME.

Happens only when you haven't used a previous version of the script, so that is probably why it wasn't detected in testing.

(sorry for shouting)
[Droid 2 Android Development] csscmaster3:
The /preinstall/app folder is on your phone by default. It comes with Android, unless you got rid of it it will be there.

However I changed to script slightly to catch that just in case the /preinstall/app folder is not there. Check first post for update.
[Droid 2 Android Development] crackedvenom2:
i think ill stick to titanium backup. id love for my apps to reinstall when i reinstall a rom but if i have to go into command, its just a bigger hassle imo.
[Droid 2 Android Development] stevie-c:
Can only speak for myself here but I have never seen an /preinstall/app folder in any of the 6 ROM's I have used on my GSM Hero. (Villainrom series 2.1 and now CM6 based Floyo).

Maybe best to add a "mkdir /preinstall/app" somewhere in the bginning of the script.
[Droid 2 Android Development] csscmaster3:
Hm I didn't know that, I stand correct. It is however included by default in the Droid 2 and the Droid X, and as I stated in my first post those are the two devices the script is intended for. If other phones don't have a /preinstall, I am not sure if creating that directory and sub directory would actually have apps install at boot, that is something someone else would have to test :/
[Droid 2 Android Development] darkonion:
Is there a way to remove the feature so that you just have a clean install when you flash a rom?

Anyways, I am working on a "wrapper" or "text UI" for you peeps who don't want to do command line. Essentially, it'll ask you if you want to run the script and then ask you to type a short command to get the final script running.
[Droid 2 Android Development] csscmaster3:
What do you mean? You are asking how to remove the apps from installing when you flash the rom? Just clear /preinstall/app and /preinstall/md5 folders
[Droid 2 Android Development] darkonion:
Ah, okay. Yeah, that's what I was asking. Thanks!
[Droid 2 Android Development] :
Yo cc...very nice script. Hate to say it but I just tried it for the first time, sorry I have not had a chance to try it yet :)

Very nice work!

Thanks!
[Droid 2 Android Development] csscmaster3:
Thanks Ang, I just hope you the reason you didn't get a chance to try it has nothing to do with Korean BBQ :D
[Droid 2 Android Development] unrulyschoolboy:
Any chance of this script turning into a nice easy one touch application? Could be nice if it backed up the apps to your pc also.
[Droid 2 Android Development] HerroMoto:
Hate to sound like a noob... but is there anyway that people can post more video guides on this stuff? When it comes to putting in commands I just get lost :s
[Droid 2 Android Development] darkonion:
Yeah, I usually do that. Do how-to videos. Just PM me what you want to see and I'll start making videos.

-Kevin
[Droid 2 Android Development] csscmaster3:
If I knew how to code an app I would make one :D

It is in the works though
[Droid 2 Android Development] buryboi:
md5 files

cc,

Are the md5 files supposed to include the actual md5 of each apk?

if I open mine they read:

working BlahBlah.apk

I haven't had to restore so I don't know if the file needs to contain the real md5 or just a file called BlahBlah.apk.md5. (my assumption is that since this works for everybody, it only needs a file called .md5, I only ask because Angdroid's /preinstall for the fission rom includes .md5 files with the full md5 hash)

Also, does this restore the market links?

If your interested, I've tweaked the script to create the md5's.

And... (as long as I'm resurrecting this thread) I know titanium backup can restore market links, does anybody know how it does this and is there a way to manually do this?
[Galaxy S I9000 General] bigsmoke2319:
Hello people i need your help i want to connect to xbox live using mobile AP on my galaxy it does connect to xbox live but the nat is strict can this be changed somehow so i can play thnx in advance.
[Galaxy S I9000 General] bigsmoke2319:
someone out there must know.:D
[Galaxy S I9000 General] bigsmoke2319:
its nice of everyone to ignore my post. sorry for moaning but i really need to find out how to do this
[Galaxy S I9000 General] sfernandez:
here you go they been working on it on our Captivate

http://xdaforums.com/showthread.php?t=790974
[Galaxy S I9000 General] Bynar010:
Gaming over a mobile data connection = epic fail. Why would you want to try this?
[Galaxy S I9000 General] bigsmoke2319:
I downloaded a file at 240kbs so i think it will be quik enuf
[Galaxy S I9000 General] Croak:
Well, as long as you understand the concept of latency, and realize that mobile phone connections have EXTREMELY high latency, so high that a dialup modem in the middle of nowhere in a thunderstorm would have a better "ping" than what you'll have.
[Galaxy S I9000 General] bigsmoke2319:
Mite aswell find out tho see way happens
[EVO 4G Q&A, Help & Troubleshooting] Jetdr:
Facebook sync question. I have searched.

On a Sense Rom Facebook syncs all the latest Facebook pictures to my contacts just fine. Also on an AOSP Rom Facebook will sync all the contact pictures just fine. BuT... When I use the Launcher Pro people widget the widget will not sync the pictures. If I use the Sense people widget the pictures sync just fine. I have set up the the Launcher Pro to sync with Facebook and the Friends Widget works great.

Any ideas?

Hi my name is KeVo and I'm a flashaholic.
[EVO 4G Q&A, Help & Troubleshooting] Jetdr:
Anyone?

Hi my name is KeVo and I'm a flashaholic.
[EVO 4G Q&A, Help & Troubleshooting] fachadick:
I don't think the people widget in lp has anything to do with Facebook. Set up Facebook for HTC sense under accounts in settings to sync as little as possible, and that should sync up your fb contact pics.

Sent from my blah blah blah blah

Edit - I just reread your post, and I think I completely missed what your issue was. If the pics are already synced, I don't know why the people widget isn't showing them, or even if its supposed to.