yashsingh1/xdaforums huggingface dataset:
[Android Software Development] 139277:
App crashes after pressing start droid manager.

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name=".NET Runtime" />
<EventID Qualifiers="0">1026</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-08-01T18:13:34.000000000Z" />
<EventRecordID>17888</EventRecordID>
<Channel>Application</Channel>
<Computer>B</Computer>
<Security />
</System>
- <EventData>
<Data>Tillämpningsprogram: Droid Manager.exe Framework-version: v4.0.30319 Beskrivning: Processen avslutades på grund av ett ohanterat undantag. Undantagsinformation: System.AggregateException Stack: vid System.Threading.Tasks.Parallel.Invoke(System.Threading.Tasks.ParallelOptions, System.Action[]) vid System.Threading.Tasks.Parallel.Invoke(System.Action[]) vid DroidManager.DeviceRomManagement.loadDeviceData(System.Object) vid System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object) vid System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) vid System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) vid System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() vid System.Threading.ThreadPoolWorkQueue.Dispatch() vid System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()</Data>
</EventData>
</Event>

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-08-01T18:13:35.000000000Z" />
<EventRecordID>17889</EventRecordID>
<Channel>Application</Channel>
<Computer>B</Computer>
<Security />
</System>
- <EventData>
<Data>Droid Manager.exe</Data>
<Data>6.1.0.0</Data>
<Data>51f02204</Data>
<Data>KERNELBASE.dll</Data>
<Data>6.1.7601.18015</Data>
<Data>50b83c8a</Data>
<Data>e0434352</Data>
<Data>0000c41f</Data>
<Data>b58</Data>
<Data>01ce8ee2b7c25cfe</Data>
<Data>C:\Program Files (x86)\Droid Manager\Droid Manager.exe</Data>
<Data>C:\Windows\syswow64\KERNELBASE.dll</Data>
<Data>1425d0f9-fad6-11e2-b41b-1c4bd60ecb33</Data>
</EventData>
</Event>
[Android Software Development] OmarBizreh:
I have changed its min framework requirements to 4.5 on version 6.1, I have changed it back to version 4. I will send you now a download link for 6.1.1 please test and let me know if everything goes well :)

Edit:

For anyone having this issue please test this one: http://d-h.st/1o5

this is version 6.1.1 :)
[Android Software Development] Rapscallion16:
Installed version 6.1.1 on my x64 Windows 8.1 computer and it still crashes after clicking Start Droid Manager.
[Android Software Development] OmarBizreh:
[MENTION=4485224]WindyCityRockr[/MENTION] Please make sure your computer have Framework 4.0

Because windows 8.1 comes preloaded with framework 4.5.1 if I"m not mistaken
[Android Software Development] Rapscallion16:
Yes, it does come preloaded with 4.5, but 4.5 also supports framework 4.0 and below. To double check, I grabbed the 4.0 installer from Microsoft, and it told me I already had it installed, so I don't think that should make a difference in this case.
[Android Software Development] OmarBizreh:
[MENTION=4485224]WindyCityRockr[/MENTION] can you please report content of MessageBoxes you are going to see in this test release: DM Test Release.
[Android Software Development] Rapscallion16:
I installed the new test version you gave me and no MessageBoxes appeared. Nothing appeared to be different between the last test version and the most recent one. Am I supposed to trigger it somehow?
[Android Software Development] OmarBizreh:
[MENTION=4485224]WindyCityRockr[/MENTION] Actually they were supposed to appear instead of having the app crash :-/

Anyways I have made few more changes for this one: http://d-h.st/vi4

If this still fails, can I please access your computer via Teamviewer to do live testing :)
[Android Software Development] OmarBizreh:
v6.1.1 Beta Update

​

-----------------------------------------------------------------------------------------------------------------------------------------------------

Download Link:

Droid Manager v6.1.1 - Beta [Dropbox Link]

-----------------------------------------------------------------------------------------------------------------------------------------------------

New Features:

-----------------------------------------------------------------------------------------------------------------------------------------------------

Bug Fixes:

-----------------------------------------------------------------------------------------------------------------------------------------------------

Always Remember:

All feedback are appreciated

No mirrors please, if you can't access download site PM me and I will upload another mirror for you.

-----------------------------------------------------------------------------------------------------------------------------------------------------

Enjoy :)
[Android Software Development] cuboc:
I can not activate the init.d galaxy nexus android 4.3. creates the folder to read no no, I have the stock kernel
[Android Software Development] OmarBizreh:
Can you please provide me with the following:

1. Init.d folder permissions

2. content of init.d folder

Nevertheless I will install CM 10.2 on my phone and check it just to be sure it's either an issue with the script or something in Android 4.3 needs to be changed, because I recall reading about the strict security measurements android 4.3 have.
[Android Software Development] ymicky:
The program crash

I have made a screenshot. The program crashs when it starts.
[Android Software Development] OmarBizreh:
Yes I'm aware of this issue, here is download link of Beta 2: http://d-h.st/wE3

Please use the one in this post and tell me if problem is still there :)
[Android Software Development] OmarBizreh:
​

-----------------------------------------------------------------------------------------------------------------------------------------------------

Download Link:

Droid Manager v6.1.1 [Stable] - Mirror

-----------------------------------------------------------------------------------------------------------------------------------------------------

New Features:

Bug Fixes:

-----------------------------------------------------------------------------------------------------------------------------------------------------

Always Remember:

All feedback are appreciated

No mirrors please, if you can't access download site PM me and I will upload another mirror for you.

-----------------------------------------------------------------------------------------------------------------------------------------------------

Enjoy :)
[Android Software Development] ardicli2000:
I am glad you have a "Satble" version now :D

(Check the title)
[Android Software Development] OmarBizreh:
Time to improve "Custom Rom Manager" :)

Starting out with the following:

Improved project files browser

Now users see apps icons for both system & user apps of the rom.

Some polishing here and there, later on I will be replacing most icons with better looking ones :)
[Android Software Development] sudisk:
Hello,

I've booted Windows today so I tried your latest version. The nandroid backup list showed only on second run. I wanted to extract some logs but nothing showed up in the usual folder. Did log location changed ?

Regards,

D.
[Android Software Development] OmarBizreh:
Hmm I just tried it on my phone and on Touchwiz it worked fine, but on CM10.2 it didn't detect anything, the thing is this bug is not related to you just mentioned, so I'm gonna put more lines of code for debugging in certain places (since I removed the old ones) and will send you the download link later today :)

Thank you for reporting,

Have a nice day.
[Android Software Development] OmarBizreh:
Thank you for your report, I will review error log that you provided and work out a solution.

and I'm happy to see it's finally working. If I'm not mistaken you reported it used to crash when clicking "Starting Droid Manager" am I right? :angel:
[Android Software Development] OmarBizreh:
[MENTION=4195368]139277[/MENTION]: The issue you reported is related to AndroidLib which is an open source lib for communicating with Android, so I did few changes to the source code with respect to what you have reported, now you DM should not crash but instead you will get a message telling you where to find the error log file to sent it to me please :)

[MENTION=4482340]sudisk[/MENTION]: Now you will find a file called "Log.txt" in C:\AndroidManagerTemp\Logs\" it contains info I want to determine the issue, please send me that file. :)

Download Link: Droid Manager Test
[Android Software Development] sudisk:
Hello [MENTION=4313825]DeepUnknown[/MENTION]

I tried your test build, however I had an issue before I could test. I started DM with device already plugged then I had a messagebox indicating that I didn't have root (which is wrong of course). Root is already setup for ADB. ==> I am unable to reproduce it anymore, and I couldn't get any log for this issue. Maybe an adb sync issue, or a process communication mismatch.

However, after a few restards, I was able to reproduce what I told you earlier:

- When I start DM and then plug my device in => no Nandroid backup detection

- Then I completely restart DM => Nandroid backup detection ok.

I isolated the logs so that you have a better view.
[Android Software Development] OmarBizreh:
[MENTION=4482340]sudisk[/MENTION] Thank you very much for your reports.

No Root issue: I usually get this issue, it usually happens when USB cable is not probably connected either to the computer or to the devce which resulted into making Adb server detect the device as offline. When a device is detected as offline by Adb, we can still get its serial number but we cannot communicate with it which is making DM show you root status as false. Solution: Disconnect then reconnect the device will solve it.

Regarding no backups found: just tried the steps you mentioned and I had the same issue. It was just what I suspected, something is going wrong which is preventing Droid Manager from being able to get content of "/mnt" on the device. This is good for me because now I have to debug this function "getMountableStorages()" and the methods that are calling it, since it's the cause of the issue.

Thank you for your detailed feedback its really helping me out :)

Edit: [MENTION=4482340]sudisk[/MENTION] problem fixed :)

I will upload the fix tonight along with few font changes to make font in Droid Manager look better.

Have a nice day.

Best Regards.
[Android Software Development] ardicli2000:
You really work hard bro.

Congrats.... ;)
[Android Software Development] OmarBizreh:
Thank you :D Tho you better have the latest update, the last time I opened teamviewer with you, you were two versions late -_- :angel:
[Android Software Development] cuboc:
I'm using the stock kernel with the mod PGM. and inside the init.d folder have the following.
[Android Software Development] sudisk:
The fixed version is working fine. I also launched a backup and everything worked fine. See attached pic.

I post in the thread for the following to see if others might agree:

If you could add a couple of features, I would suggest these:

- Redirect the Nandroid backup output in a DM docked window

- Be able to add a prefix/suffix to nandroid backup names. The ones with suffixes were created with OBackup -Ex Orange Backup- which gives the option to add the ROM name or any user defined name to the backup.

Otherwise good work. Always a pleasure to test fine pieces of software that you provide.

Best Regards.
[Android Software Development] ardicli2000:
Now, I catch up :)
[Android Software Development] OmarBizreh:
[MENTION=4074522]cuboc[/MENTION] Can you please create an empty file inside your init.d folder and add this to it's content (that file must have permissions of 777 read/write/execute)

#!/system/bin/sh
#Init.d Test
busybox mount -o remount,rw -t auto /system
busybox mount -o remount,rw -t auto /sdcard

if [ -e /sdcard/Test.log ]; then
rm /sdcard/Test.log
fi

echo Init.d is working !!! >> /sdcard/Test.log

Then check your Sd card for the file "Test.log" .

1. You see I tried doing that but I failed in one point where it starts the actual backup, on CMD window you see progress as: 1%

then 2%, when I attempted doing it on my own window, I started seeing: backing up system...1%2%3%..etc :-/

I'm still trying to find a way how to do fix that.

2. As for adding suffix / prefix I'm thinking of adding ROM name only and not giving the user ability to add suffix of prefix just to make sure users are always able to know for which ROM existing backup goes to. Tho I'm thinking of adding an option to add suffix or prefix as ROM name only. Maybe some users do name their backups after their ROMs, so that they wont have to face long backup names.

Thank you for your suggestions and feedback, happy to know you are enjoying using my tool :cool:
[Android Software Development] threatalive:
where does it copy the files when 'Send to Android' is used from Windows right-click context menu of files???

i sent some files using it and while a notification in Windows says the file sent but I am unable to find it anywhere on the phone.
[Android Software Development] OmarBizreh:
[MENTION=4825375]threatalive[/MENTION] It will be sent to the root directory of your sd card (Internal Storage)

Tho I just reviewed the code and detected a bug that might prevent any file from being sent to the device and yet Droid Manager will think it has been sent. I'm working on a fix right now.

Thanks for reporting :)
[Android Software Development] threatalive:
i was wondering why i am not finding files on phone when i have sent them from droid manager :eek:

i guess they never actually copied!
[Android Software Development] OmarBizreh:
[MENTION=4825375]threatalive[/MENTION] they were never copied because of an issue in mount point detection, on my end everything is working fine thus the code that detects mount points was a bit specific which results in failure in detecting sd card mount point.

Nevertheless if you have internal and external memories have you checked them both? your answer will help me in writing the fix :)
[Android Software Development] threatalive:
yes! no files copied anywhere.
[Android Software Development] sidework:
Staring ADB Server

Im running into an issue... I looked around but no one else seems to have mentioned it. I have installed the program, and at startup it shows "Staring ADB Server" but then doesn't do anything else. If I try "Restart ADB Server" it replies with "Offline" and does nothing else. I do have ADB running just fine and if i do "adb devices" it responds properly. I looked in the logs and I do have an error but I'm not sure its related.

-----------------------Begining of Error---------------------------

Date: Tuesday, September 03, 2013

Cause of Error: Starting Up

Error Message: 'Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.' Line number '61' and line position '14'.

Following Parameters Where Passed:

Stack Trace:

at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)

at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)

at System.Windows.Markup.WpfXamlLoader.LoadDeferredContent(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings parentSettings, Uri baseUri)

at System.Windows.ResourceDictionary.CreateObject(KeyRecord key)

at System.Windows.ResourceDictionary.RealizeDeferContent(Object key, Object& value, Boolean& canCache)

at System.Windows.ResourceDictionary.GetValueWithoutLock(Object key, Boolean& canCache)

at System.Windows.ResourceDictionary.GetValue(Object key, Boolean& canCache)

at DroidManager.InitializationWindow.Window_Loaded(Object sender, RoutedEventArgs e)

-----------------------End of Error--------------------------------

Is there some way in particular I should have ADB set up? I dont see any configuration files, so i would guess its using PATH, and I verified that's all set as well.

In case it matters, I am running Win7 64.
[Android Software Development] Mark66:
here exactly the same error with version 6.1.1 :confused:

version 6.0.1 with no errors on Win7 64 with latest sdk installed

Thank's in advance for help...;)
[Android Software Development] OmarBizreh:
[MENTION=360789]bmjk[/MENTION] & [MENTION=1554185]Mark66[/MENTION]

First close Droid Manager, then go to task manager and terminate any "adb.exe" or "fastboot.exe"

Then run Droid Manager again.

Since my app doesn't run in Admin mode, it cannot terminate "adb.exe" or "fastboot.exe" if they were started by the system using the installed SDK.

Please do tell me of the result :)
[Android Software Development] Mark66:
exactly the same error

no process adb or fastboot before launch DM and no process adb or fastboot after launch DM

Version 6.0.1 had a tools folder with the necessary files (adb, fastboot and two dll) that were used by the program. In version 6.1.1 this folder does not exist. Can this be the problem? the process adb run with version 6.0.1 is in fact from that folder after being copied to the local / temp

I hope to help you ...

(i am sorry for my poor english)
[Android Software Development] OmarBizreh:
[MENTION=1554185]Mark66[/MENTION] please download this: Droid Manager 6.1.2

I have done few changes based on the report given by [MENTION=360789]bmjk[/MENTION] (bmjk please do download the one in this comment to make sure your issues are gone). Droid Manager depends on AndroidLib which includes adb.exe, so the ones you are talking about in the Tools folder were there for temp use which I later canceled, so it wont make any issue for Droid Manager.

The fact you still see "Starting ADB server" is because Droid Manager failed to create a new instance of adb.exe using AndroidLib library.

If the app still fails to start Adb server, this means I need to do debugging on the library it self, but first please send me the content of the following folder: C:\Users\Omar\AppData\Local\Temp\RegawMOD (of course change Omar to your account user name).

In that folder you should see two folders: AAPT & AndroidLib

Contents of AndroidLib folder are the adb.exe and fastboot.exe which Droid Manager use.

Also please try starting Droid Manager as administrator.

Have a nice day, and waiting for your feedback :)

P.S. 6.1.2 includes ability to view bootanimation files before applying them to the device, please test this feature, on my end everything is working and this feature passed my tests, it would be great if you gave it a try, it can be found under "boot animation" tab on the left :)
[Android Software Development] sidework:
[MENTION=4313825]DeepUnknown[/MENTION]:

I installed 6.1.2, and I'm having the same issue. I tried to run it normally and as administrator. That temp folder does not exist, so I'm betting that's the problem. Thanks for looking into it... I'm wondering if its a 64 issue... I have a 32 I'll give it a shot on and see if that's it...
[Android Software Development] OmarBizreh:
[MENTION=360789]bmjk[/MENTION] yup, that's the issue, time to debug the library, though I had windows 7 x64 running, and no issues, and now I'm using Windows 8.1 and no issues. I will be debugging the library though it would be great to know if the problem does or doesn't exist on a 32bit system :highfive:
[Android Software Development] sidework:
[MENTION=4313825]DeepUnknown[/MENTION]

Same issue on Win 7 32 bit. Tried both normal and admin startups, no temp folder to be found. Let me know how else i can help.

On a side note, as part of the installation, you are adding a send to context menu item for "Sublime Text 2" that doesn't do much since I don't have it... :) It goes away after uninstall, but probably wasn't meant to be there in the first place.
[Android Software Development] OmarBizreh:
[MENTION=360789]bmjk[/MENTION] I will upload to you the folder I told you about earlier, with the instructions on what to do in-order to put the files in the right way.

Link will be at your inbox in few minutes with instructions on what to do :)

As for the "Sublime Text 2" that is for a different program, there must be something wrong in the registry files being written by the installer, I might have added it by mistake while doing some of my tests :S

Will remove it right now thanks for letting me know about it :D
[Android Software Development] OmarBizreh:
[MENTION=1554185]Mark66[/MENTION] & [MENTION=360789]bmjk[/MENTION]

Please unzip the content of this file: RegawMOD.zip and put them in C:\Users\Omar\AppData\Local\Temp\ (of course change Omar to your account user name).

Then attempt to run Droid Manager, this should solve the issue :)

Please do let me know of the result :)
[Android Software Development] Mark66:
[MENTION=4313825]DeepUnknown[/MENTION]

I tried your last version posted and the result is the same as [MENTION=360789]bmjk[/MENTION] had, on two different installations with win7 64, no folder created in temp, tried as a normal user or administrator. I am available for further testing. :fingers-crossed: thanks for help

oops try your last instructions...

here the results

-----------------------Begining of Error---------------------------

Date: giovedì 5 settembre 2013

Cause of Error: Application Startup

Error Message: Indice oltre i limiti della matrice. (Error Message: Index was outside the bounds of the array.)

Following Parameters Where Passed:

Error Description:

in DroidManager.App.OnStartup(StartupEventArgs e)

-----------------------End of Error--------------------------------

no adb or fastboot process view on taskmanager
[Android Software Development] OmarBizreh:
[MENTION=1554185]Mark66[/MENTION]

I am running on Linux right now so I can't actually do edits to the code from there, but from your report and after looking over the code your error is caused because there is another DroidManager.exe running, Can you please check task manager.

I'm going to right a more strict code for checking for adb, fastboot and DM if they are running to avoid such issues, for now you will have to be patient with me :)