Related
Hi again guys!
Ever since the ATT update usb connecting to the phone in ubuntu is sporadic and unreliable. I can usually get my photos off of it. Sometime I can even get into a non-root basic filesystem as well
However this isn't my main problem. I want to root the phone and install custom ROM's etc... Tried the VMware and a version of windows and installed the samsung drivers to XP but have trouble (again) with the usb and VMware.
Any help would be appreciated.
Additionally I'm pretty pissed off about the update thing. I don't care about tethering per se but that underhanded **** is why I dumped microsoft in the first place. I'll dump ATT too and spend my money elsewhere.
maskvp said:
Hi again guys!
Ever since the ATT update usb connecting to the phone in ubuntu is sporadic and unreliable. I can usually get my photos off of it. Sometime I can even get into a non-root basic filesystem as well
However this isn't my main problem. I want to root the phone and install custom ROM's etc... Tried the VMware and a version of windows and installed the samsung drivers to XP but have trouble (again) with the usb and VMware.
Any help would be appreciated.
Additionally I'm pretty pissed off about the update thing. I don't care about tethering per se but that underhanded **** is why I dumped microsoft in the first place. I'll dump ATT too and spend my money elsewhere.
Click to expand...
Click to collapse
Linux user here. I haven't had the problems you describe. I have lately been using ES File Explorer to copy to and from a shared folder on my desktop. avoiding the USB for file transfers all together. when I do connect via USB I usually use ' adb push' and 'adb pull' to move files around.
To Root your phone there is an 'update.zip' method that I used (no computer needed)
There is also a tool called ClockworkMod Recovery that you can use to install custom rom's and create nandroid backups. (no computer needed)
And finally if you manage to screw up and can not boot, you can use Heimdall on linux like you would use Odin on Windows.
enjoy your phone...
-p
Thank-you so much!!!
I was thinking about exactly what you wrote. Why not do it the linux way? Admittedly my skills are weak.
Had a little trouble with the update.zip but went to the wiki (again) and the info on how to do it from the phone was there. BTW the wiki has improved since last week.
Rooted phone and installed Titanium Backup and Clockwork Recovery. In my excitement I deleted all the ATT bloatware before backing them up and the ROM. Oh well... Too bad.
Now I just feel great about my phone. Needs some customization but no hurry. Only thing was that TB prompted me to go to settings/applications/ and tick "unknown sources". Doesn't exist.
Thanks again! If you have anymore nuggets of info...?
linux newb here but i try
edit:
the phone can mount to a vm in dowload mode for use with odin or in kies mtp mode as long as debugging is off, otherwise it likes to mount to the host pc as a drive, i dont know a work around but you can make the phone a shared folder with the vm client so you can see the files in the vm, it'll be seen as a network location in that case.
it can mount as a drive in linux but you need to select to mount from the phone. i was having problems with it in eclair in windows and didnt try it in linux but froyo is working great. in eclair it may help to try with debugging on then you can mount from the notification bar.
maskvp said:
Rooted phone and installed Titanium Backup and Clockwork Recovery. In my excitement I deleted all the ATT bloatware before backing them up and the ROM. Oh well... Too bad.
Click to expand...
Click to collapse
I did that also...
maskvp said:
Now I just feel great about my phone. Needs some customization but no hurry. Only thing was that TB prompted me to go to settings/applications/ and tick "unknown sources". Doesn't exist.
Click to expand...
Click to collapse
To enable side loading(unknown sources). I used method 5 from this post.
http://forum.xda-developers.com/showthread.php?t=738376
and here is a link to my comments on the method later in the thread regarding some punctuation corrections.
This method uses adb from the SDK to pull the settings.db file off and edit it using sqlite3 before pushing it back on.
I believe you can edit the file directly on your phone once you have root and install a terminal app from the marketplace.
The above forum post is also in the wiki you referenced previously. basically you want to look for methods to "enable side loading"
-p
I'm using Ubuntu and have had no problems. Rooted and removed market restrictions without a hitch.
In progress upgrading to 10.10 64bit. Will see, but right now my machine sees my phone but it won't mount. Though I haven't tried to force it.
maskvp said:
In progress upgrading to 10.10 64bit. Will see, but right now my machine sees my phone but it won't mount. Though I haven't tried to force it.
Click to expand...
Click to collapse
On the phone I leave my usb settings set to ask on connection. And then chose 'mass storage' when it asks. It then mounts /sdcard as an external drive. (make sure you haven't left usb debuging on)
pietro_spina said:
On the phone I leave my usb settings set to ask on connection. And then chose 'mass storage' when it asks. It then mounts /sdcard as an external drive. (make sure you haven't left usb debuging on)
Click to expand...
Click to collapse
Oh I've tried it all-wichaways! That hasn't worked either. The card(s) are seen but no longer mount like they used to. When I choose media player I get this message on the phone: PC connection only available in idle screen. Close all running applications. I think something may be corrupted on the phone.
Before I start flashing anything I'm going to give 10.10 a go. Ubuntu specifies that 10.10 plays nice with Android. Unfortunately, I'm having trouble with my startup disks and have wasted three of them on three different downloads. Won't fully boot. Unfortunately, I've had this experience before with other releases, and it almost always was something being wrong with the .iso that was downloaded. Even tried a usb startup and same experience.
Woes. PITA!
maskvp said:
I've had this experience before with other releases, and it almost always was something being wrong with the .iso that was downloaded. Even tried a usb startup and same experience.
Woes. PITA!
Click to expand...
Click to collapse
Make sure you burn your disks at a slow speed. Like 4x. Also try downloading over a stable wired connection. Use the md5 tool to check your download and your burn. If you can figure out when it is getting corrupt you have a fighting chance.
Reporting back. Finally got 10.10 to boot from a usb flashdrive by disabling the BootParameters. I guess 10.10 is so cutting edge my 2.5 yo toshiba can't boot it easily.
Reinstalled 10.04 without a hitch and since I didn't format my /home still kept everything. But I tried connecting by usb before any updates. No worky. And not after the 256M of updates either.
It's the phone I'm sure. Not really keen on flashing the ROM yet just to fix this. Recollection is that Samsung didn't put a good effort into this part of the phone. But I think again..
Why not eschew the usb for file transfers? I've got Bluetooth and wifi right here. Who needs clunky old usb? Adhoc network?
Ideas? Wifi would be easiest since my laptop doesn't have Bluetooth.
maskvp said:
Ideas? Wifi would be easiest since my laptop doesn't have Bluetooth.
Click to expand...
Click to collapse
I think I mentioned in an earlier post that I use an app called ES File Explorer (free in the market) to navagate to a shared folder on my desktop.
My (samba) shared folder has no restrictions and works well. Only issue is I have to fix ownership and permissions on things copied over to the computer from the phone. If you choose to password protect yours let me know how that works out for you.
pietro_spina said:
I think I mentioned in an earlier post that I use an app called ES File Explorer (free in the market) to navagate to a shared folder on my desktop.
My (samba) shared folder has no restrictions and works well. Only issue is I have to fix ownership and permissions on things copied over to the computer from the phone. If you choose to password protect yours let me know how that works out for you.
Click to expand...
Click to collapse
OK thanks. I'm going to investigate this. I take it ESFE works over the 3g connection as long as the host (my laptop) is connected to the internet?
maskvp said:
OK thanks. I'm going to investigate this. I take it ESFE works over the 3g connection as long as the host (my laptop) is connected to the internet?
Click to expand...
Click to collapse
It supports FTP for sure. I'm no security expert but I doubt its a good idea to share a samba share over the internet.
If you want remote access to you desktop there are secure methods for that. The method I would choose would depend on my desire/need for a remote connection.
If I just want to access my shared folder I would probably set up a VPN connection and then use ES FileExplorer.
To fully control the computer, use VNC or other "remote desktop" application.
Been reading up on Samba. It is the linux way lol. Also, I went and got a Bluetooth micro-adapter. Installed drivers from the repository.
Transferred some pics and music back and forth. All GUI based. Worked first time. I'm still this side of the learning curve but my base needs are met.
The Bluetooth works great but I'd like to learn a bit more about the wifi. Seems to me one should be able to move files with a VPN via the wireless adapters and no router. I just lack the knowledge and skill to do it.
But thanks for reminding me about the ES FileExplorer! As far as the permissions in Ubuntu for the shared folder I just checked the box under right-click- sharing options allow others to create and delete files from this folder. I think that works.
I have installed an Android Application which was developed by the friend of mine. It had installed on my Android phone (HTC G2, with Android 2.2). I need to locate the application forlders, and especially SQLite database which was created along with the application, because I need to copy it to my PC. I did seach on SD card but I did not found it, so I assume it must be on the device RAM, but I really don't know the structure and how the apps are organized. I might suspect the SQLites data filename, but that all I know at the moment.
Can somebody pint me to some utility which will allow to find the database, and the application path, and most of all to copy it to the PC ???
Thanks - Arthur
The database and any other "data" used by the app will be located in /data/data/ then inside a directory that corresponds to the app's package name. If we use the Kindle app as an example, the path to it's data would be: /data/data/com.amazon.kindle
unfortunately I checked this foldeor on RAM as well as SD and couldn't find it. device /data folder is empty, and SD gas some other stuff bot not this App.
aklisiewicz said:
unfortunately I checked this foldeor on RAM as well as SD and couldn't find it. device /data folder is empty, and SD gas some other stuff bot not this App.
Click to expand...
Click to collapse
I should have also said, you need to be rooted in order to see the contents of the /data directory. Without root access, it will be shown as empty because you do not have permission to view or modify. If your phone is rooted, you can use Root Explorer, Terminal Emulator, or adb to access /data and copy, modify, create, or delete files there.
Thank you for your time. That would explain why I do not see it.
OK, I have HTC G2 from T-Mobile, I think it has Android 2.2
Nothing was changed or updated on this phone since I bough it last fall. I'm not with T-Mobile anymore so I do not wat to mess up with the phone unless I'm really sure what am I doing. The only nice thing is that the phone is unlocked now. The reason I ask those questions is because I am working on some tool, which is a desktop program wchich supposed to sync SQLite data from device to the PC.
What I want to do is to connect the device through USB cable, then have it mapped is it normally does (i.e. drive H. Then access the SQLite file from the desktop application by opening the database through that link and syncing the records. Not sure but I hope this approach would work. If it cannot work that way then eventually I want to copy the SQLite dB file to the PC sync database and then copy it back to the device. I already have a desktop App which work on SQLite localy so now I want to access the device, having the same dB file residing on my android phone instead on my local HD.
What could be the reason that the installed APP doesn't want to move to SD ???
I would appreciate any suggestions...
What is required to root the phone? I've herd there are some risks. Besides I probably have to find some other solutions as none of the App users would want to root their devices (or have a knowledge how to do it).
aklisiewicz said:
Thank you for your time. That would explain why I do not see it.
OK, I have HTC G2 from T-Mobile, I think it has Android 2.2
Nothing was changed or updated on this phone since I bough it last fall. I'm not with T-Mobile anymore so I do not wat to mess up with the phone unless I'm really sure what am I doing. The only nice thing is that the phone is unlocked now. The reason I ask those questions is because I am working on some tool, which is a desktop program wchich supposed to sync SQLite data from device to the PC.
What I want to do is to connect the device through USB cable, then have it mapped is it normally does (i.e. drive H. Then access the SQLite file from the desktop application by opening the database through that link and syncing the records. Not sure but I hope this approach would work. If it cannot work that way then eventually I want to copy the SQLite dB file to the PC sync database and then copy it back to the device. I already have a desktop App which work on SQLite localy so now I want to access the device, having the same dB file residing on my android phone instead on my local HD.
What could be the reason that the installed APP doesn't want to move to SD ???
I would appreciate any suggestions...
What is required to root the phone? I've herd there are some risks. Besides I probably have to find some other solutions as none of the App users would want to root their devices (or have a knowledge how to do it).
Click to expand...
Click to collapse
Took me a bit to get back to you but figure better late than never...
Here is a good FAQ on rooting among other things specific to the G2(the US variant of the Desire Z). In order to root your G2, this guide looks to be good as he's simplified and automated a good bit of the process, should be safe, and seems to work. You'll need to install the two apps he mentions in step 1 and download the zip file he mentions in step 2 which is attached at the bottom of the post then just follow the instructions.
As for the database stuff, if you end up needing to access the /data directory you'll have to be rooted. Also, moving the app to the sdcard won't really help you with having access to the app's files. Froyo built-in App2SD just moves the apk file to a hidden directory on /sdcard (.android_secure) but the app data, cache and all that stuff will still be on internal memory. But to answer why the app won't move to the sd card, I'm guessing it's because the app itself must allow for it to be moved since by default, an app doesn't have this enabled unless the app dev gives it that ability.
To communicate with the phone, even with root access, you'll probably have to do so through adb commands or use an adb shell to be able to run shell commands on the phone. This would require adb be set up on the user's computer. If you want to play around with adb, there's a nice guide called ADB for Noobs that goes through setting it up and starting out using it. I can't say I've really done anything with SQLite databases on Android and certainly not then syncing it to a computer so I could be off-base or overlooking a workaround.
Thank you for your valuable information. You guys are really great help, and I appreciate your time. I will study the links provided.
In the meantime my main concern is to access SQLite database, as I need to get to the records, or at least be able to copy it back and forth between device an PC. I guess the database file would be something like MyDatabase.db , but I have no cule how to find it and copy it. As you have said it might be in some system protected directory. The main issue is that I will ne a solution which would work on every standard device (no the rooted one), so I need something very easy for the user to setup and follow. I have seen a utility that allow to manipulate SQLite records directly on device, but again thsi tools requires to root the phone (which I'm reluctant to do) because ot the above reasons. If you could help my to resove this I would be very graceful!
Arthur
aklisiewicz said:
Thank you for your valuable information. You guys are really great help, and I appreciate your time. I will study the links provided.
In the meantime my main concern is to access SQLite database, as I need to get to the records, or at least be able to copy it back and forth between device an PC. I guess the database file would be something like MyDatabase.db , but I have no cule how to find it and copy it. As you have said it might be in some system protected directory. The main issue is that I will ne a solution which would work on every standard device (no the rooted one), so I need something very easy for the user to setup and follow. I have seen a utility that allow to manipulate SQLite records directly on device, but again thsi tools requires to root the phone (which I'm reluctant to do) because ot the above reasons. If you could help my to resove this I would be very graceful!
Arthur
Click to expand...
Click to collapse
Unless there is some trick I don't know about you are going to have to be rooted to get access to the database. I found a couple links discussing this: here and here. The second link does mention that the app with the database you want to access could be written to store the database on the sdcard where it would then be accessible but that would be unsecure since anything could read/modify it there.
Thanks, looks like I have to do more research on my own. It is hard to believe for me that Google would not allow to access the same database from different Apps. I've seen there is a Java class ContentProvider which seems to allow that, so I will study this, perhaps it will help. Thank for you help.
Arthur
Connected the Xoom 2, to a windows 7 machine.
Insists on letting installing 'Motocast' which I let it...what a complete pile of shi*.
I want to 'sync' a 700MB .avi video, over usb cable, to the device...estimated time? 30 minutes!!! I swear this complete toss of software is insisting to re-encode the entire file to some bullsh*t format of their choice. Is there an option to turn this off and transfer it natively?
Secondly, thankfully, it also installs native 'portable' device drivers, allowing Windows 7 file explorer to browse the device. Great, so I copy the same .avi file and paste it to the device...'Do you want to copy xyz.avi? Your device might not be able to play this file' I am prompted...'yes' I click. Just as it finishes copying (after about 4 minutes...much better) it bombs out, notifying me that because the device cannot play this file it is cancelling the transfer...wtf?!?!
The only interim solution i've found is renaming the extension '.avi' to something like '.proprietrysoftwarecansuckmyballs', copying it, then renaming it back to '.avi' once transfer has completed solves this.
So can anyone offer any 'clean' solutions to my file transfer woes? If theres no improvement, this device will be getting returned next week, which is a shame as the tablet is a great bit of kit, its just a shame the software blows.
Look for "Wi-Fi File Explorer" in the market.
This looks like it only transfers over wifi?
I need to transfer over usb cable.
Had this problem myself, looks like it doesn't come with the drivers. After a bit of searching, I found that the standard driver package works:
http://www.motorola.com/staticfiles...al_Drivers/MotoHelper_2.0.53_Driver_5.2.0.exe
Installed that, unplug the USB cable and put it back in - should work fine!
tr00st said:
Had this problem myself, looks like it doesn't come with the drivers. After a bit of searching, I found that the standard driver package works:
http://www.motorola.com/staticfiles...al_Drivers/MotoHelper_2.0.53_Driver_5.2.0.exe
Installed that, unplug the USB cable and put it back in - should work fine!
Click to expand...
Click to collapse
Hey thanks man, that worked a treat.
Just for clarification, does you still prompt you that the device may not support playback of the file, but then successfully transfer it (whereby it would previously error at the last second)?
No idea - haven't had that particular part of the issue myself - the main thing I had was the slowness...
I am a linux user ... i will only have the option to upload files via wifi network ?
I have a Xoom 2 ME and the only way to copy a large movie file to the device was adb.
adb push foo.txt /sdcard/foo.txt
Click to expand...
Click to collapse
That's the only usb-way i come up with. I'am on snow leopard and Google's Android File Copy tool does not work.
elster said:
I have a Xoom 2 ME and the only way to copy a large movie file to the device was adb.
That's the only usb-way i come up with. I'am on snow leopard and Google's Android File Copy tool does not work.
Click to expand...
Click to collapse
I guess the same way will work to linux too . Xoom2 has only one partition on the disk ? that the reason not to be able to mount it as a normal usb ? If you root the device is the anyway to great a small 2 Gb for ex partition to use it for easy transfer ?
Off topic about xoom 2 ME . How good the screen and and the battery life are ?
Useless tablet ?
In fact it's worst!
As a Linux User I hoped being able to use MTP... But I tried mtpfs and mtp-tools on several distributions without any luck.
But what is worse is that FTP server applications won't work too! I tried SwiFTP, FTPServer, and some other: the servers are not reachable. It appears that not even a single ping can reach the tablet. I think Motorala have put some kind of firewall in it (maybe it has something to do with the netflix HD certification?).
For me this tablet is actually useless. If I can't find a way to transfer some files on it without using MotoCast today or tomorrow, I will bring it back to the supplier...
OldBeurt said:
In fact it's worst!
As a Linux User I hoped being able to use MTP... But I tried mtpfs and mtp-tools on several distributions without any luck.
But what is worse is that FTP server applications won't work too! I tried SwiFTP, FTPServer, and some other: the servers are not reachable. It appears that not even a single ping can reach the tablet. I think Motorala have put some kind of firewall in it (maybe it has something to do with the netflix HD certification?).
For me this tablet is actually useless. If I can't find a way to transfer some files on it without using MotoCast today or tomorrow, I will bring it back to the supplier...
Click to expand...
Click to collapse
You probably hit it on the head about the Netflix certification. I would think about returning it, man.
a solution ?
Thanks to a French forum (frandroid, in the Xoom 2 topic... sorry I can't send links here), I tested a solution to the transfer problem: It is possible to use (on the computer) a server to share the files such as a samba server.
It works fine. But it's not as easy to browse, select, copy and paste file with explorers on the tablet than it is on computers (several windows, keyboard shortcuts such as Ctrl-c/v, and so on).
But it's now possible to exchange files with the Xoom 2ME without going through a cloud or using Windows/motoCast.
mdcykkk9 said:
Off topic about xoom 2 ME . How good the screen and and the battery life are ?
Click to expand...
Click to collapse
Sorry for answering so late.
The screen is quite good.
The battery life is terrible compared to my ipad2. Charging needs a lot of time and is very slow. I guess it's because of mini usb only.
Currently i'am using the device as a Kindle Fire replacement, because off the lightweight (KF is heavier and bulky). The books i usually read have more weight than the device itself.
I like it for that.
But i may not be a good adviser because my device is a prototype. It is not smooth and the speakers are terrible.
I think 8,2" is the perfect size for me. The weight is so much better than any other tablet i had.
OldBeurt said:
In fact it's worst!
As a Linux User I hoped being able to use MTP... But I tried mtpfs and mtp-tools on several distributions without any luck.
But what is worse is that FTP server applications won't work too! I tried SwiFTP, FTPServer, and some other: the servers are not reachable. It appears that not even a single ping can reach the tablet. I think Motorala have put some kind of firewall in it (maybe it has something to do with the netflix HD certification?).
For me this tablet is actually useless. If I can't find a way to transfer some files on it without using MotoCast today or tomorrow, I will bring it back to the supplier...
Click to expand...
Click to collapse
Try using a terminal on the Xoom 2 and ping the computer you're trying to connect to, while pinging your Xoom 2 from that computer at the same time. It's like you have to force them to see each other before they can start connecting in future.
I used fileexpert to see and download files with smb shared folder on Ubuntu Linux without a problem.
Sent from my XOOM 2 ME using Tapatalk
Hello!
I have a question regarding WhatsApp. Is there a possibility to save WhatsApp conversations/history? Through any homebrew-App?
I searched through Google and XDA, didn't find anything useful, unfortunately.
Thanks in advance.
Greetings,
Crash1k
You need to copy out the Isolated Storage for the app. There are a few tools that can do this, including any filesystem browser (such as WP7 Root Tools). An easy way to get the file(s) from your phone to the PC would be my Root Webserver app; find the App GUID of WhatsApp and go to http://<PHONE_IP>/FileSystem/Applications/Data/<APP_GUID>/Data on the PC while the phone runs the webserver app.
Thanks for your fast answer.
Since I'm pretty new to this homebrew-and-phoneHacking thing I don't have much of a clue how to work with those programs. I have downloaded "HtcRootWebServer_231.zip" and the ".xap" file, but I don't know how to get started. Are there any instructions online, perhaps on your homepage, if you have one?
Thanks again.
Oh boy... okay, I assumed you'd already be familiar with dev-unlock at least, so this is going to be a bit complicated. First of all, what phone do you have? On some phones, you won't even be able to run the app because of restrictions that we don't know how to get past.
The summary:
To install an app to the phone from a XAP file, your phone needs to be developer-unlocked. There are a few ways to do this, including an official one from Microsoft (though that costs money unless you're a student). To deploy the apps, you'll probably want to download the Windows Phone SDK from Microsoft as it has all the tools.
To use high-privilege apps, you'll need your phone to be "interop-unlocked" which you can read about on XDA-Devs. Not all phones can currently be interop-unlocked, though many can.
Once your phone is IUed, install the webserver and also WP7 Root Tools v0.9. Use the Root Tools to mark the Webserver app as "Trusted"; this will give it the permissions it needs (it has its own permission elevation code, but I'm almost sure your phone isn't compatible).
if your phone is unlocked:
install wmdc by ultrashot, then, connect it to wmdc, then browse <YOUR WP NAME>\\Applications\Data\218A0EBB-1585-4C7E-A9EC-054CF4569A79 then copy everything from it
GoodDayToDie said:
Oh boy... okay, I assumed you'd already be familiar with dev-unlock at least, so this is going to be a bit complicated. First of all, what phone do you have? On some phones, you won't even be able to run the app because of restrictions that we don't know how to get past.
The summary:
To install an app to the phone from a XAP file, your phone needs to be developer-unlocked. There are a few ways to do this, including an official one from Microsoft (though that costs money unless you're a student). To deploy the apps, you'll probably want to download the Windows Phone SDK from Microsoft as it has all the tools.
To use high-privilege apps, you'll need your phone to be "interop-unlocked" which you can read about on XDA-Devs. Not all phones can currently be interop-unlocked, though many can.
Once your phone is IUed, install the webserver and also WP7 Root Tools v0.9. Use the Root Tools to mark the Webserver app as "Trusted"; this will give it the permissions it needs (it has its own permission elevation code, but I'm almost sure your phone isn't compatible).
Click to expand...
Click to collapse
Thanks a lot for your help, and I'm sorry you had to write this much. I already know how to deploy .xap's and these things, but I have no clue when it comes to the Webserver and how to find the conversations with that. I'll try this for now. I appreciate your help and effort.
aramadsanar said:
if your phone is unlocked:
install wmdc by ultrashot, then, connect it to wmdc, then browse <YOUR WP NAME>\\Applications\Data\218A0EBB-1585-4C7E-A9EC-054CF4569A79 then copy everything from it
Click to expand...
Click to collapse
Is this the same method as the one GoodDayToDie explained?
Thanks for your answer!
//Edit:
I tried it like you, GoodDayToDie, told me. I downloaded your HtcRootWebServer_231.xap and HtcRootWebServer_231.zip. (even though I have a Samsung Omnia 7 with windowbreak unlock (I think that's interop unlock, don't know for sure though)). Then I deployed the .xap, opened the App in the phone but didn't know what to do with the numbers and text fields (like what kind of Admin name and password I should fill in...). After I gave up on the phone-part, I tried to work with the .zip file, but I don't know what to do next. There are 2 folders, one is called "Homebrew" the other "WebServer", I tried to open the programs which are placed in the subfolders (I opened both with Microsoft Visual Studio Solution) but I only get an error and it won't show anything.
Do you know where the problem is? (aside from my lack of knowledge of course :/ )
Thanks for your help.
Crash1k said:
Thanks a lot for your help, and I'm sorry you had to write this much. I already know how to deploy .xap's and these things, but I have no clue when it comes to the Webserver and how to find the conversations with that. I'll try this for now. I appreciate your help and effort.
Is this the same method as the one GoodDayToDie explained?
Thanks for your answer!
//Edit:
I tried it like you, GoodDayToDie, told me. I downloaded your HtcRootWebServer_231.xap and HtcRootWebServer_231.zip. (even though I have a Samsung Omnia 7 with windowbreak unlock (I think that's interop unlock, don't know for sure though)). Then I deployed the .xap, opened the App in the phone but didn't know what to do with the numbers and text fields (like what kind of Admin name and password I should fill in...). After I gave up on the phone-part, I tried to work with the .zip file, but I don't know what to do next. There are 2 folders, one is called "Homebrew" the other "WebServer", I tried to open the programs which are placed in the subfolders (I opened both with Microsoft Visual Studio Solution) but I only get an error and it won't show anything.
Do you know where the problem is? (aside from my lack of knowledge of course :/ )
Thanks for your help.
Click to expand...
Click to collapse
yes, it goes to one objective, but in a simpler method
Eh, WebServer doesn't require installing anything on the PC, WPDM doesn't (directly) require installing anything on the phone. In both cases, you'll need to have WP7 Root Tools installed.
For WPDM + TouchXperience:
Install Windows Phone Device Manager from TouchXperience.com.
Start Zune and connect your phone.
Start WPDM and wait for it to install the TouchXperience app on the phone.
Open WP7 Root Tools v0.9 and go to the Policy pivot.
Mark TouchXperience as "Trusted" and exit Root Tools.
Open TouchXperience (and WPDM on the PC, if you closed it) and connect them.
Either do what @aramadsanar suggested, or use the Installed Apps feature of WPDM to make a backup.
For Root Webserver:
Install Root Webserver (the XAP; the ZIP file is the source code); you already did this.
Open WP7 Root Tools v0.9 and go to the Policy pivot.
Mark "Webserver (HtcRoot)" as Trusted and close Root Tools.
Connect the phone to WiFi (on the same network as your PC) and launch the webserver app.
Set a username and password you can remember ("admin" and "root" for example, though that's insecure).
On the PC, open a web browser and go to the phone's IP address, then drill down into the FileSystem like I said (aramadsanar gave you the app's GUID).
Download the files from the Isolated Storage to your PC, and save them somewhere.
Thanks a LOT for those great instructions, GoodDayToDie! That's really nice, thanks for your effort.
I tried the WebServer method since I didn't want to install Windows Phone SDK 7.1, but I didn't manage to get into my phone through the browser (by typing the I.P. of the phone, which is listed on the Webserver App, just as you said), that's why I was forced to use the other way. Well, who cares, it worked! I have my messages file, but the next problem shows up. I can open the file with the Editor, but it shows weird symbols and you can't read the messages actually. I tried many other programs but none work. Do you guys know how to open those files? The ending is ".sdf". I google'd it for nearly two hours, couldn't find anything useful.
Thanks for the help so far.
You used the WiFi address of the phone, right? The WWAN (cellular) connection is almost certainly firewalled. For example, on my home network the router usually gives my phone IP address 192.168.0.73 on WiFi, so I type in "http://192.168.0.73" into the browser on my PC. It'll ask for username and password; give it what you put on the phone.
As for the file contents, I can't help there. They might be encrypted, in which case the crypto key is somewhere but might be hard to find. Or they might be compressed, in which case you need to find a decoder for that compression. Either one would produce files that appear to be meaningless binary to a casual glance.
One thing you could try for the compressed file possibility is tell 7-Zip to open the file. It's usually very good at recognizing compressed formats. If it's encrypted, you'll probably need to decompile WhatsApp to figure out how. If WhatsApp is obfuscated, you're going to be in a tough spot.
By the way, I assume you downloaded the messages file directly, rather than using the data backup function of WPDM, right?
Hmm... what do you need these files for? If it's just for backup, what you have is *probably* sufficient, so long as you grabbed *all* the files from the IsolatedStorage.
Yeah, I used the WiFi address which is listed on the WebServer App, and I typed that IP Address just like you said into my browser, with "http://" etc., but it still didn't work. It doesn't even ask me for any password or username.
I don't think they are compressed, because I already tried to open/extract them with 7zip, all I got was an error because of the incompatibility. The other thing is, that when I open the files with the "Editor", I can see my messages there, but there are many many other symbols there, which makes it impossible to read the messages. They are too wide spread and you can't tell which messages belong together etc.
Even though I have no idea how to "decompile" WhatsApp, I won't ask you to tell me, since it sounds pretty complicated. I hope there is another way to solve this problem.
Yes, I simply saved the file on my Desktop, didn't use the BackUp function.
That's right, they're "just" for backup, and I didn't grab just the IsolatedStorage folder, I took the whole "Data" folder, just like aramadsanar told me to.
Thanks again for your fast and detailed answer.
If the wifi address didn't work, either your phone was not on WiFi (did the address start with 169.254.?) or your PC was not on WiFi or even connected to the same WiFi network. You can (in theory; I've never tried) also connect to the phone over wired Ethernet by plugging in the phone to the PC with its USB cable, and running Zune on the PC. That will add an ethernet entry to the phone IP list, but I don't know if it can be used for server ports from the PC.
There are a number of free apps for decompiling managed (.NET) code. The latest version of .NET RAIN, distributed right here on XDA-Devs, can do it, for example. Decompiling turns the intermediate-language binary code in a managed DLL or EXE file into C# or VB.NET or whatever. It's not a perfect reversal; the decompiler has to guess what the original source code looked like, and of course comments are missing. It's good enough to read pretty easily, though.
It sounds like what you have is probably a database file of some kind. There are only a few database formats available for WP7 apps (a few more can be accessed using native code).
I've noticed that the OTA 4.4.2 update breaks native OTG forcing me to use a file manager app that supports OTG from the Play Store. With that said, does anyone have any recommendations for good file managers with USB OTG support? Preferrably paid with no adds, otherwise paid, but not too expensive (under <$5).
Also does anyone know if File Explorer (fx) supports USB OTG? I've been a long time user but I can't find anything in their documentation that mentions USB OTG support.
Acreo Aeneas said:
I've noticed that the OTA 4.4.2 update breaks native OTG forcing me to use a file manager app that supports OTG from the Play Store. With that said, does anyone have any recommendations for good file managers with USB OTG support? Preferrably paid with no adds, otherwise paid, but not too expensive (under <$5).
Also does anyone know if File Explorer (fx) supports USB OTG? I've been a long time user but I can't find anything in their documentation that mentions USB OTG support.
Click to expand...
Click to collapse
Im pretty sure ES file explorer does and there is a free version. I will test it when I get home.
I thought maybe Nexus Media Importer would do it, I couldn't figure out how to copy entire directories from my /SD Card folder to the USB drive though :/
ES File Explorer (under KK) doesn't show the USB Drive like it used to under JB (Storage USB 1.1.1) which is a shame so I too wouldn't mind knowing a file explorer app that works (and allows write to the usb drive without rooting)
Kinda pissed Google broke USB OTG for KK, have you ever seen how slow Airdroid is at transferring big files over wi-fi...
techguyone said:
I thought maybe Nexus Media Importer would do it, I couldn't figure out how to copy entire directories from my /SD Card folder to the USB drive though :/
ES File Explorer (under KK) doesn't show the USB Drive like it used to under JB (Storage USB 1.1.1) which is a shame so I too wouldn't mind knowing a file explorer app that works (and allows write to the usb drive without rooting)
Kinda pissed Google broke USB OTG for KK, have you ever seen how slow Airdroid is at transferring big files over wi-fi...
Click to expand...
Click to collapse
use stickmount to mount the memory and then use es file manager to acces the files
Looks like it needs root, is there a non root solution?
Sent from my Moto G using XDA premium 4 mobile app
techguyone said:
Looks like it needs root, is there a non root solution?
Sent from my Moto G using XDA premium 4 mobile app
Click to expand...
Click to collapse
I would like to know if a non-root solution is possible.
If I have to root it, is there a guide somewhere to know I can root my Moto G? I have the US GSM model (XT1034), 16 GBs, and it has the OTA 4.4.2 applied.
On Google+ someone suggested I use Total Commander with the USB plug in (both available from Google Play, and this does work, although the UI is like something from 1990
This solution doesn't need root, give it a go and see if it fits your needs.
https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander
https://play.google.com/store/apps/details?id=de.hechler.tcplugins.usbstick
techguyone said:
On Google+ someone suggested I use Total Commander with the USB plug in (both available from Google Play, and this does work, although the UI is like something from 1990
This solution doesn't need root, give it a go and see if it fits your needs.
Click to expand...
Click to collapse
That's true, I can confirm it works but in READ ONLY mode.
To write smth to USB Flash Stick / microSD connected via OTG you still need root.
PS
Read only is more than enough to cover my needs cause you still can copy files/folders from memory stick to internal memory.
techguyone said:
I thought maybe Nexus Media Importer would do it, I couldn't figure out how to copy entire directories from my /SD Card folder to the USB drive though :/
ES File Explorer (under KK) doesn't show the USB Drive like it used to under JB (Storage USB 1.1.1) which is a shame so I too wouldn't mind knowing a file explorer app that works (and allows write to the usb drive without rooting)
Kinda pissed Google broke USB OTG for KK, have you ever seen how slow Airdroid is at transferring big files over wi-fi...
Click to expand...
Click to collapse
Yep Techguyone is bang on the money. Tested file explorer and various other usb apps and I can confirm that what worked in JB no longer works. Is this something to do with ART?
I can't understand why they would hobble this feature..... Could it be security related? I remember reading about the 'Fraud docks'. Where people would use a mobile charging hotspot and when they plug their android or iphone in it steals their data.....
It's not ART related, google are just gradually locking down their phones more and more which is to be honest, starting to get annoying. It's ridiculous to need root just to be able for example: to turn on/off GPS or Airplane mode. It's getting stupid now. Google are you listening?
techguyone said:
I thought maybe Nexus Media Importer would do it, I couldn't figure out how to copy entire directories from my /SD Card folder to the USB drive though :/
ES File Explorer (under KK) doesn't show the USB Drive like it used to under JB (Storage USB 1.1.1) which is a shame so I too wouldn't mind knowing a file explorer app that works (and allows write to the usb drive without rooting)
Kinda pissed Google broke USB OTG for KK, have you ever seen how slow Airdroid is at transferring big files over wi-fi...
Click to expand...
Click to collapse
techguyone said:
It's not ART related, google are just gradually locking down their phones more and more which is to be honest, starting to get annoying. It's ridiculous to need root just to be able for example: to turn on/off GPS or Airplane mode. It's getting stupid now. Google are you listening?
Click to expand...
Click to collapse
If its not security related, then it is probably more of a 'differential pricing' issue. Moto G has been too successful and is probably canablising sales from the Moto X and Nexus 5 more than expected, so they rush out 4.4.2 and lock up USB OTG and other features on the budget handset......
Use Nexus Media Importer, I was using it before the KK update and have continued to use it since getting KitKat. It works for reading and writing both ways without root. I have never rooted either of my G's. This is a fact not a guess as I actually use it.
And, you can copy entire directories both ways too. (edit)