Unlock the IE to Show FlashPlayer in Any web pages - Windows RT Development and Hacking

1. JailBreak you the Windows RT System.
2. Run execute file(RTCrackIEFlash.exe),select the mode you want,click button.
NOTE:
1. First running time,please click right menu,use 'Administrator privileges' execute.(Because the need to create 'HKLM\SOFTWARE\Microsoft\Internet Explorer\Flash')
2. If you still can not be displayed 'Flash Player',please click the system tray icon,then refresh now browse the web page.
CRACK ADDRESS(use VS2012&Remote Debugger Tools):
urlmon.dll+0x31F3C
77611F3C 2800 cmp r0,#0
77611F3E F041 A739 bne 77653DB4
77611F42 4620 mov r0,r4
77611F44 F241 0C08 mov r12,#0x1008
77611F48 44E5 add sp,sp,r12
r0 = DebugDomain string length.
r13 = DebugDomain string data.
r4 = bool,Judgment result.
Changed to:
77611F3C mov r0,#1
77611F3E nop
77611F42 nop
77611F44 mov r12,#0x1008
77611F48 add sp,sp,r12
CRACK PROCESS:
bp LoadLibraryExW
bp RegOpenKeyExW
bp RegQueryValueExW
LoadLibraryExW -> IEShims.dll thread,from jscript9.dll call to combase.dll
RegOpenKeyExW-> iertutil.dll
RegQueryValueExW -> iertutil.dll
jscript9.dll+0xD7AE6 break of count=200+
Open new tab to load pages,interruption after,bp RegOpenKeyExW or RegQueryValueExW,then track stack and view registers.
My english is not good,very sorry.

hks25258 said:
1. JailBreak you the Windows RT System.
2. Run execute file(RTCrackIEFlash.exe),select the mode you want,click button.
NOTE:
1. First running time,please click right menu,use 'Administrator privileges' execute.(Because the need to create 'HKLM\SOFTWARE\Microsoft\Internet Explorer\Flash')
2. If you still can not be displayed 'Flash Player',please click the system tray icon,then refresh now browse the web page.
CRACK ADDRESS(use VS2012&Remote Debugger Tools):
urlmon.dll+0x31F3C
77611F3C 2800 cmp r0,#0
77611F3E F041 A739 bne 77653DB4
77611F42 4620 mov r0,r4
77611F44 F241 0C08 mov r12,#0x1008
77611F48 44E5 add sp,sp,r12
r0 = DebugDomain string length.
r13 = DebugDomain string data.
r4 = bool,Judgment result.
Changed to:
77611F3C mov r0,#1
77611F3E nop
77611F42 nop
77611F44 mov r12,#0x1008
77611F48 add sp,sp,r12
My english is not good,very sorry.
Click to expand...
Click to collapse
So this will basically let me go into any website that uses flash?

Works a treat, thanks.
I don't suppose you could have a go at Silverlight could you?

THEBIG360 said:
Works a treat, thanks.
I don't suppose you could have a go at Silverlight could you?
Click to expand...
Click to collapse
Silverlight isn't present on Windows RT.

awosome man!!!

Very cool! Would you mind posting the source code? It looks like a pretty straightforward hack once you find the right addresses but I'd like to see exactly how you did it.

GoodDayToDie said:
Very cool! Would you mind posting the source code? It looks like a pretty straightforward hack once you find the right addresses but I'd like to see exactly how you did it.
Click to expand...
Click to collapse
OK.
In fact,the code is badly written,please understand.:laugh:

Sorry for being slow but I'm not understanding this part.
NOTE:
1. First running time,please click right menu,use 'Administrator privileges' execute.(Because the need to create 'HKLM\SOFTWARE\Microsoft\Internet Explorer\Flash')
2. If you still can not be displayed 'Flash Player',please click the system tray icon,then refresh now browse the web page
Nevermind I Got it sorry.

delete this message please

Hi
Check this post form MSDN
hxxp://blogs.msdn.com/b/ie/archive/2013/03/11/flash-in-windows-8.aspx
I 've got the update on my Asus Vivotab RT and until know most sites I' ve visited flash is enabled by default (i.e. farmerama.com and rising skies)

Flash could be enabled easily for any website without a hack due to MS Update. This hack was great earlier but now it is there in the official build

iHarkunwar said:
Flash could be enabled easily for any website without a hack due to MS Update. This hack was great earlier but now it is there in the official build
Click to expand...
Click to collapse
So you posted to this thread to say that it isn't needed anymore bringing it back up to the top? This was released before that update, and nobody has posted in this thread since Microsoft announced they were abandoning the whitelist setup

Related

PIE button remapper (not home page way, no more opening PIE :) )

Hi,
I found it very annoying to always close PIE after changing home page to opera.exe.
I don't know if somebody has already done it,(haven't found anything with searching) so here it is
And I am planning to rewrite my PIE button-> Ctrl remapper to WM6 so this was a great practice.
This program patches the already loaded keybddr.dll in memory by writing HKLM\Software\KeybPatch, PIEButton(string) value to keybddr.dll at 0x17120D4 adress.
Install :
--------
1. unzip kbpatch.zip and copy kbpatch.exe to Universal's \Windows\Startup
directory
2. Open your favourite registry editor and make KeybPatch key under
HKLM\Software.
3. Make PIEButton string value under HKLM\Software\KeybPatch with the path and executable to your new PIE button program.
For example on my Universal:
PIEButton(string) = \Program Files\Opera\opera.exe
LImitation : the length of the string must be smaller 55.
kbpatch.exe will warn you if you exceed this limit.
4. start kbpatch.exe. If everything is okay, this won't show you any notification.
5. Press PIE button
Your favourite program should start instead of PIE
Update ( PIE button --> Ctrl reassign howto)
---------------------------------------------------
1. Follow the above steps to install kbpatch.exe until point 2.
2. unzip simkey.zip and copy simkey.exe to Universal's
\Windows\StartUp directory
3. Make a new string value under HKLM\Software\KeybPatch.
PIEButton(string) = \Windows\StartUp\simkeys.exe
4. Change PieHomePage value under HKLM\HARDWARE\OEM\KEYBD to
the string "Ctrl"
5. Tap on kbpatch.exe
Tap on simkeys.exe (You will never have to do this again )
6. Try your new Ctrl button
Ctrl is sticky of course.
You can also try piectrl.cab. Just install and soft reset.
You can change PIEButton later, but to accept changes, you have to do a soft reset.
Envelope button reassign is coming soon
COOL! thanx!
hmm, makes me wonder, maybe now there's a way we could take control over the PIE button to map it as ALT key? (with PQz)
shlomki said:
COOL! thanx!
hmm, makes me wonder, maybe now there's a way we could take control over the PIE button to map it as ALT key? (with PQz)
Click to expand...
Click to collapse
Yes, It can be done.
The solution is very keybddr.dll dependant, but it's possible.
You can't do this with PQZ unless the author modify its code.
Source code
Okay, here is the source code :
( dedicated to g0dspeed , but I paste it here, so anybody who interested can see it )
Code:
int _tmain(int argc, _TCHAR* argv[])
{
WCHAR string[55];
WCHAR origstring[]=L"\\windows\\iexplore.exe";
HRESULT res;
if((res=RegistryGetString(HKEY_LOCAL_MACHINE,L"Software\\KeybPatch",L"PIEButton",string,54))==S_OK)
{
int size=wcslen(string);
string[size+1]=(WCHAR)L"\0";
DWORD *pointer = ((DWORD *)0x17120D4);
HINSTANCE hInst =LoadLibrary(L"keybddr.dll");
if(memcmp(pointer,origstring,21*2)==0)
{
DWORD oldProtect,old1;
VirtualProtect(pointer,size*2+1,PAGE_READWRITE,&oldProtect);
memcpy(pointer,string,size*2+1);
VirtualProtect(pointer,size*2+1,oldProtect,&old1);
}
else
{
MessageBox(NULL,L"I won't do anything :)\nYou are running this thingie on a wrong OS version or keybddr.dll is already patched.",L"Error",MB_OK);
}
FreeLibrary(hInst);
}
else
{
if(res==E_INSUFFICIENT_BUFFER)
MessageBox(NULL,L"Error copying registry string value to keybddr.dll\nThe string value is too long.(Max 49 chars)",L"Error",MB_OK);
else
MessageBox(NULL,L"Error copying registry string value to keybddr.dll\nMaybe the reg.value doesn't exists or type error occured.",L"Error",MB_OK);
}
return 0;
}
szilamer said:
Okay, here is the source code :
( dedicated to g0dspeed , but I paste it here, so anybody who interested can see it )
Click to expand...
Click to collapse
thanks a lot.
I think if kbpatch.exe could find 'windows\iexplore.exe' (by itself) start from where keybddr.dll loaded address (in keybddr.dll's file size), it worked well in any environment.
I changed value 0x17120d4 -> 0x148135c and worked at WM5-Uni O2 1.30.162 cooked ROM.
#I have only EVC4 and couldn't build new executable file so I patched oridinal kbpatch.exe...
szilamer, Thanks.
Is it possible also to remap MessageCenter and OK button?
Now i have "Ctrl" key with kbpatch + PQz_KEY(http://www.nicque.com/PQz/PQz_KEY.htm)
Any possible to have "Alt" key and "ESC" key at the same time?
Yeah..count my request too for remapping the messaging button
g0dspeed said:
thanks a lot.
I think if kbpatch.exe could find 'windows\iexplore.exe' (by itself) start from where keybddr.dll loaded address (in keybddr.dll's file size), it worked well in any environment.
Click to expand...
Click to collapse
That's a good idea. I think I will make it, maybe in next version
g0dspeed said:
#I have only EVC4 and couldn't build new executable file so I patched oridinal kbpatch.exe...
Click to expand...
Click to collapse
Evc4 is not a problem, only you have to change RegistryGetString, I think.
airya said:
szilamer, Thanks.
Is it possible also to remap MessageCenter and OK button?
Now i have "Ctrl" key with kbpatch + PQz_KEY(http://www.nicque.com/PQz/PQz_KEY.htm)
Any possible to have "Alt" key and "ESC" key at the same time?
Click to expand...
Click to collapse
Hmm, can you write me exactly how did you call pqz_key ?
( what parameters, what's your PIEButton value ? )
I haven't heard about this version of Pqz before ..
kdskamal said:
Yeah..count my request too for remapping the messaging button
Click to expand...
Click to collapse
OK, messaging button is not a problem
I think I can make a new version at the end of this week.
airya said:
szilamer, Thanks.
Is it possible also to remap MessageCenter and OK button?
Now i have "Ctrl" key with kbpatch + PQz_KEY(http://www.nicque.com/PQz/PQz_KEY.htm)
Any possible to have "Alt" key and "ESC" key at the same time?
Click to expand...
Click to collapse
I've tried that pqz_keys but I think it's not good for this job.
You cannot make it to send a keyup message, so you will have a stuck ctrl button. Try simkey instead
Or do you know a trick for pqz_keys, that I don't know ?
I've set the IE button up to Opera as instructed which works great thanks.
However, am I missing something in wishing that clicking a link in a message would open up Opera rather than PIE as it still does?
szilamer said:
I've tried that pqz_keys but I think it's not good for this job.
You cannot make it to send a keyup message, so you will have a stuck ctrl button. Try simkey instead
Or do you know a trick for pqz_keys, that I don't know ?
Click to expand...
Click to collapse
Yes, I got same problem with "key up" after my post.
I never heard about "simkey", any link?
airya said:
Yes, I got same problem with "key up" after my post.
I never heard about "simkey", any link?
Click to expand...
Click to collapse
Simkey is my program
You can download it from the first post.
It currently accepts two type of parameters: Ctrl and Alt.
( Compiled directly for this task )
grayme said:
However, am I missing something in wishing that clicking a link in a message would open up Opera rather than PIE as it still does?
Click to expand...
Click to collapse
I don't know a good answer for this.
Maybe I would try to modify file associations in the registry...
szilamer said:
Simkey is my program
You can download it from the first post.
It currently accepts two type of parameters: Ctrl and Alt.
( Compiled directly for this task )
Click to expand...
Click to collapse
Cool! thanks.
Done as per the instructions on first page with "kbpatch". No errors, warnings but PIE button does not work at all now. Tried to put both - way to LNK file of Opera and full route to opera.exe - same result. Neither Opera starts now nor PIE. Anu suggestions?
tsoifun said:
Done as per the instructions on first page with "kbpatch". No errors, warnings but PIE button does not work at all now. Tried to put both - way to LNK file of Opera and full route to opera.exe - same result. Neither Opera starts now nor PIE. Anu suggestions?
Click to expand...
Click to collapse
Which ROM do you have ? WM5 or WM6 ?
szilamer said:
I don't know a good answer for this.
Maybe I would try to modify file associations in the registry...
Click to expand...
Click to collapse
Glad it is not just me with this issue, any progress?
I won't do anything
Click to expand...
Click to collapse
Jwjwr... WM6 ROM WWE 2.02
And I can't copy keybddr.dll to search "iexplore.exe" string in it cause it's locked!
Went to download "ROM kitchen" ...

[Q] Help building a small exe that changes a registry key on boot

My phone has bugged out and will not let me unlock it through the default pin unlock. I know the pin is correct, and it seems to be a pretty common problem with 6.5?
Now I know hard reset is the quickest way out of this mess, but I need to get to the texts I have received since i last backed up (3 days or so)
Can someone help me with the construction of an exe to change a registry key on boot, in particular
HKLM\Security\Policies\Policies\00001023: 1
I feel if I can get this key modified on boot I will be able to access my phone again.
Planning on shuffling it over to the phone into the startup folder.
Any thoughts?
snooparoop said:
My phone has bugged out and will not let me unlock it through the default pin unlock. I know the pin is correct, and it seems to be a pretty common problem with 6.5?
Now I know hard reset is the quickest way out of this mess, but I need to get to the texts I have received since i last backed up (3 days or so)
Can someone help me with the construction of an exe to change a registry key on boot, in particular
HKLM\Security\Policies\Policies\00001023: 1
I feel if I can get this key modified on boot I will be able to access my phone again.
Planning on shuffling it over to the phone into the startup folder.
Any thoughts?
Click to expand...
Click to collapse
I can make the exe for you but how do you plan to put it in the startup folder exactly?
Using a linux box, can see the phone as a drive despite the locked status.
Cheers
snooparoop said:
Using a linux box, can see the phone as a drive despite the locked status.
Cheers
Click to expand...
Click to collapse
haha, sounds like a good trick. the other thing: do you have a custom rom installed? stock rom may have cert checking in place before full boot up finished so the exe has to be signed with a cert that's already on the phone (default OEM or custom installed cert).
Stock Telecom NZ rom is installed
snooparoop said:
Stock Telecom NZ rom is installed
Click to expand...
Click to collapse
we will also have to deploy custom cert then.. we can try anyway, I'm curious to see if it can be done =) PM me.
Anybody else need the C++ code to do this? It follows.
Code:
//
// Regkey.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include "Winreg.h"
int WINAPI WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
DWORD Value=1;
HKEY RegKey;
if(RegOpenKeyEx(HKEY_LOCAL_MACHINE,TEXT("\\Security\\Policies\\Policies"),0,0,&RegKey)==ERROR_SUCCESS)
{
RegSetValueEx(RegKey,TEXT("00001023"),NULL,REG_DWORD, (unsigned char *) &Value ,sizeof Value);
RegCloseKey(RegKey);
}
return 0;
}
Originally from post #4 in here:
http://forum.xda-developers.com/showthread.php?t=648103
If activesync is operational, you should be able to use MS security policy manager, see
http://www.howardforums.com/showthread.php/1238095-Un-set-Exchange-enforced-PIN-length-amp-etc

[DEV] AndroidCtrlUI.dll [7.1.46.0] (MVVM's based on my AndroidCtrl.dll)

This (C#, WPF, XAML, .NET 4.6) dll is a (M)odel(V)iew-(V)iew(M)odel - Wrapper for my AnroidCtrl.dll. So u have the ability to include really fast a complete working Android File-Explorer to ur current or new Project. This Explorer is based on the Windows-Explorer behaviors.
License
This project is licensed under the Apache License Version 2.0.
The latest build 7.1.46.0 is currently only via FTP, GoogleDrive or Dropbox available, the DevDB has currently some upload issues!
Currently included...
(AndroidCtrlUI.dll)
Android-File-System Multi-Device-/Explorer
APK Installer
APK Manager
Actions (Copy/Delete/Tar/Properties) used by the Explorers (Can be used from your Application too)
Control (Device-Selector/Connector - ADB/Fastboot Control-Menu (MenuItem))
Contacts (Read the Device Contacts - Root and SQLite3 are REQUIRED)
Remote-Desktop (Framebuffer access with tap, swipe, keyboard, send text abilities)
Shell (Shell console)
Tools (Windows TrayNotify)
(SharedUI.dll)
Abstract Explorer base
Windows-File-System Explorer
Tools (Windows shell icon extraction, etc.)
XControls (GlassWindow)
XTools (Behaviours/Converters/Useful Generics)
Both Explorers supports:
Full Drag & Drop (TreeViewItems, ListView, ListViewItems) (From Windows to (TreeViewItems, ListView, ListViewItems) and from each view to each view. From the views to ur code u need a really small wrapper.)
Adressbar (3 layouts (AdressBar, AdressBarCompact, AdressBarExtended))
3 switchable ListView layouts (Big Icons, Detail, List)
ListView context menu (With Dynamic-Layout)
Tree/-ListViewItem context menu (With Dynamic-Layout)
Mouse X1 & X2 support (means like Windows-Explorer, backward (max. "/"), forward (the complete list of last visited directories))
---
Ctrl + A = Select all items
Ctrl + C = Copy the selected items to clipboard
Ctrl + V = Paste the clipboard items to the current location
Ctrl + (left)Click = Select the clicked items
Shift + (left)Click = Selects between 1st and last clicked item
F2 = Starts rename
Del = Delete the selected items
More MVVM's coming soon.
Multilingual
Currently the following languages are native supported by my dll, u only have to load the needed ResourceDictionary.
English
German
(The original language files can be found here)
Tested OS
Win Vista | 7 | 8 | 8.1 | 10 (32Bit/64Bit in VM-Ware)
Win 7 | 8 | 8.1 | 10 (64Bit Native)
Win XP is not longer supported by ADB! (But, if u have a old ADB binary, the dll will do it's job)
Requirements
Android: min. 2.x
Platform: x86/x64 (Windows)
Frameworks: AnroidCtrl.dll and min. .NET 4.6
(Installed ADB/Fastboot driver)
Download
Mirror: XDA-DevDB (since 29.01.2019 no uploads possible)
Mirror #1: My FTP (Build archiv)
Mirror #2: GoogleDrive
Mirror #3: Dropbox
(Each zip-archiv contains the AndroidCtrlUI.dll, its markup file AndroidCtrlUI.xml and the program debug database AndroidCtrlUI.pdb for VisualStudio)
Example (Updated to dll version 7.1.46.0) (Updated in the next 24 h)
Mirror: My FTP
Mirror #1: GoogleDrive
Mirror #2: Dropbox
(Contains a simple exe and its source, written in C# using WPF)
Source
N/A (If u want to have a look at it, send me a PM or simply decompile it.)
DO NOT MIRROR MY FILES! DO NOT COPY MY THREADS!
XDA:DevDB Information
AndroidCtrlUI.dll, Tool/Utility for the Android General
Contributors
k1ll3r8e, squabbi
Version Information
Status: Stable
Current Stable Version: 7.1.46.0
Stable Release Date: 2020-09-19
Created 2016-07-24
Last Updated 2020-09-19
How - To
0. Complete How-To
1. Getting Started (General)
2. Complete Explorer (XAML)
3. Drag & Drop
More examples coming soon...
(If u need a specific example, just let me know, i'll try my best to provide one.)
Changelog
DD.MM.YYYY | (A) = Added | (C) = Changed | (D) = Deleted | (F) = Fixed | (R) = Recoded | (U) Updated
----------------------------------------------------------------------------------------------------------------------------------------------------
19.09.2020 [7.1.46.0]
Only a fresh build, aligned to the changes in the AndroidCtrl.dll.
26.07.2020 [7.0.46.0]
I had to break the AndroidCtrlUI.dll into two parts, the AndroidCtrlUI.dll and the SharedUI.dll. The new layout can be found in the 1st post. I'll update the "How-To" on my website in the next 24H.
01.02.2019 [6.7.46.0]
A fresh build, aligned to the latest version of my AndroidCtrl.dll.
31.05.2019 [6.0.46.0]
(C) The Framework Version from 4.0 to 4.6
(C) The versioning:
6 = Major
0 = Minor
46 = Framework Version (4.6)
0 = Hotfix
(A) The Apk namespace
(A) Apk.InstallerModel { }
(A) Apk.InstallerView { } (XAML view)
(A) Apk.ManagerModel { }
(A) Apk.ManagerView { } (XAML view)
(A) The Battery namespace
(A) Battery.MonitorModel { }
(A) Battery.MonitorView { } (XAML view)
10.04.2019 [0.0.5.2]
(A) The Shell namespace
(A) The Shell menu item to the Explorer menus
(C) The "CopyWindow" property on all Explorer[View|Model] to:
Code:
///<summary>
/// Registers the given copy handler
///</summary>
///<param name="sender"><see cref="string"/> that identify the sender view</param>
///<param name="dataType"><see cref="Type"/> that represents the ID object, if none use <see cref="string"/></param>
///<param name="action"><see cref="CopyHandlerAction"/> your copy handling</param>
///<exception cref="ArgumentNullException"/>
public void RegisterCopyHandler(string sender, Type dataType, CopyHandlerAction action)
///<summary>
/// Unregisters the given copy handler if exists
///</summary>
///<param name="sender"><see cref="string"/></param>
public void UnregisterCopyHandler(string sender)
///<summary>
/// Copy handler action
///</summary>
///<param name="view">sender view</param>
///<param name="id">id object like <see cref="DeviceInfo"/></param>
///<param name="sender">sender ID</param>
///<param name="receiver">receiver ID</param>
///<param name="destination">copy destination</param>
///<param name="dropList"><see cref="StringCollection"/></param>
public delegate void CopyHandlerAction(object view, object id, string sender, string receiver, string destination, StringCollection dropList);
(F) 2 Exceptions which were raised during XAML enum casting. The problem was,that i changed the internal ViewMode from Computer to Drives, but not in 2 sections of the XAML so that i can use it on both models, the Local.ListView and Remote.ListView.
06.03.2019 [0.0.5.1]
(A) The Contacts namespace
(A) The Remote-Desktop menu item to the Explorer menus
16.02.2019 [0.0.4.2]
(F) The "Usage" column on the remote Listview when it's in "Device" mode. The problem was, that the usage was not shown... Reason for this was a wrongly placed converter.
(R) Reduced code duplication (saved ~23 kb)
07.02.2019 [0.0.4.1]
Only a fresh build aligned to the AndroidCtrl.dll
Older Changes:
29.01.2019 [0.0.4.0]
(A) The RemoteDesktop namespace, model and views
(R/U) Nearly everything related to the Local-/Remote-/Explorer
Reordered the Explorer namespace... The old layout was:
Actions - Explorer actions like copy/move, delete, tar and properties
Explorer - Remote explorer
ExplorerLocal - Local explorer
The new layout is:
Explorer - Main explorer stuff (delegates, enums, etc.)
Explorer.Actions - Explorer actions like copy/move, delete, tar and properties
Explorer.Local - Local explorer part
Explorer.Remote - Remote explorer part
Explorer.Shared - Shared models, views for the "Local" and "Remote" explorer part
09.04.2018 [0.0.3.1]
This is a complete new version!
Not compatible with older builds of the AndroidCtrl.dll!
* Aligned the code to the new version of the AndroidCtrl.dll
* Optimised the code
* Added a lot of new stuff like the "GlassWindow" and the "ControlMenu"
Reserved just in case!
@k1ll3r8e Nice work keep continuing all of this:good: looks pretty much promising to me :fingers-crossed:
Thankyou you just earned a thanks
How to use this on windows 7?
wulsic said:
@k1ll3r8e Nice work keep continuing all of this:good: looks pretty much promising to me :fingers-crossed:
Thankyou you just earned a thanks
Click to expand...
Click to collapse
Hey there,
THX for ur warm words!
I'll do my best!
exodius48 said:
How to use this on windows 7?
Click to expand...
Click to collapse
Hey there,
to use the dll on WinXP/7/8 (32 /64 bit) u have to create a new WPF application in for example MSVS 2012/2013 etc.. In this project u have to implement the dll as described in the How-To after u have finished this step, u can place the UI elements as described in this post. (U have also the ability to redesign all elements! If u need the bindings and behaviors let me know, i dun have them public atm. bu i'll send u my raw files if needed.)
Hope i could help u. If need help to implement this dll or my other, just let me know!
Regards,
Sebastian
k1ll3r8e said:
Hey there,
to use the dll on WinXP/7/8 (32 /64 bit) u have to create a new WPF application in for example MSVS 2012/2013 etc.. In this project u have to implement the dll as described in the How-To after u have finished this step, u can place the UI elements as described in this post. (U have also the ability to redesign all elements! If u need the bindings and behaviors let me know, i dun have them public atm. bu i'll send u my raw files if needed.)
Hope i could help u. If need help to implement this dll or my other, just let me know!
Regards,
Sebastian
Click to expand...
Click to collapse
Hi...
I think I cant do that, I dont know about programming,, so this one is not suitable for me.
exodius48 said:
Hi...
I think I cant do that, I dont know about programming,, so this one is not suitable for me.
Click to expand...
Click to collapse
Np, i send u my Multi-Explorer [BETA] which i'm coding currently.
-----------------------------------------------------------------------------------------------------------------------------------
To all other, who comes here as an "End-User", if u want to test my Multi-Explorer [BETA] just let me know, via PM or simply post here.
Currently it includes the complete MVVM - described in the OP + an Windows, FTP (currently NO SFTP) and an Joomla! (The Joomla! plugin u need is also written by me in PHP (J!1.5.x - 2.5.x are Supported)) - Explorer plugin.
Just a quick question!
Does this need AndroidCtrl.dll as well?
squabbi said:
Just a quick question!
Does this need AndroidCtrl.dll as well?
Click to expand...
Click to collapse
Hey bro, nice to see u here!
Yes, u need also my AndroidCtrl.DLL this only a MVVM wrapper for it.
Hope I could help u
Sent from my HTC Sensation using XDA Free mobile app
k1ll3r8e said:
Hey bro, nice to see u here!
Yes, u need also my AndroidCtrl.DLL this only a MVVM wrapper for it.
Hope I could help u
Sent from my HTC Sensation using XDA Free mobile app
Click to expand...
Click to collapse
Sweet! I'll be looking into it!
@k1ll3r8e
How about a pre-compiled installer for everyone to use? Make it pop up under "Computer" tab in windows would make it perfect and seamless to use. It could laso be used by total noobs.
Please reply with a quote or mention.
olokos said:
@k1ll3r8e
How about a pre-compiled installer for everyone to use? Make it pop up under "Computer" tab in windows would make it perfect and seamless to use. It could laso be used by total noobs.
Please reply with a quote or mention.
Click to expand...
Click to collapse
Hey there,
THX for that idea! But, just atm. i dun know what u mean exactly with "...Make it pop up under "Computer" tab in windows..." - This is no C, C+ or C++ DLL, so i think it can't work native with the Windows API. Coz it's only .NET.
-
For this idea, i think, i have to rewrite the whole thing as CLR dll. - If not, i would be really happy if u can wise me the right direction!
Regards,
Sebastian
k1ll3r8e said:
Hey there,
THX for that idea! But, just atm. i dun know what u mean exactly with "...Make it pop up under "Computer" tab in windows..." - This is no C, C+ or C++ DLL, so i think it can't work native with the Windows API. Coz it's only .NET.
-
For this idea, i think, i have to rewrite the whole thing as CLR dll. - If not, i would be really happy if u can wise me the right direction!
Regards,
Sebastian
Click to expand...
Click to collapse
Well, my idea was to make the device appear in here
Or you could maybe somehow do some hooks to the MTP on the device or to the driver itself to appear under computer on the screenshot. Like you can choose intrnal or external memory in MTP, but you can't see any of the files from the root directory ATM, and there COULD be a way to see a root directory the same way.
Maybe changing MTP mountpoints or something? I'm not really sure how does even the MTP works now, but that's the first thing that came into my mind about it.
Maybe another tab on the left side bar in the computer window on the screenshot with that root directory of the device?
Let me know if you would need any help. I'd be happy to help you on this
I'm out of thanks button clicks today, but I'll make sure tou thank you later
olokos said:
Well, my idea was to make the device appear in here
Or you could maybe somehow do some hooks to the MTP on the device or to the driver itself to appear under computer on the screenshot. Like you can choose intrnal or external memory in MTP, but you can't see any of the files from the root directory ATM, and there COULD be a way to see a root directory the same way.
Maybe changing MTP mountpoints or something? I'm not really sure how does even the MTP works now, but that's the first thing that came into my mind about it.
Maybe another tab on the left side bar in the computer window on the screenshot with that root directory of the device?
Let me know if you would need any help. I'd be happy to help you on this
I'm out of thanks button clicks today, but I'll make sure tou thank you later
Click to expand...
Click to collapse
Hey there,
the idea is really great! But, we have there many issues... 1st) MTP works native so far more bad as good... Also we have (as described in the link and it's links) to reassemble the "MTP" dll our selves and we also have to patch it. - My thoughts about this problem. - That's why i try to get the MTP working via the "Windows-Management API" (!Still working on it, but not primary!)
About the MTP "hooking" or even "mountpoint switching", this is a really awesome idea! I never thought about it on this way! T H X ! - If we can get this working it will be awesome, also we dun need in this case a "Self-Coded" Explorer. Coz windows opens us all doors! - But, we have another problem, if someone try to find a device connected via MTP in an .NET environment it's (i think) impossible to enumerate the device(s). Coz, at this point we need a working MTP API which is currently not really available.
- If i get the MTP via "Windows - Management API" to work i'll let u know! -
PS: THX for u offer to help me! - i'm sure, i'll come back to it!
Regards,
Sebastian
@k1ll3r8e
I'm not entirely sure what do you mean by .NET enviroment.
As for that mountpoint hooking xposed could be a good idea of trying this out. There's anotehr problem if that would work via MTP since root is in EXT* format and that's not really readable by the PC. If you would base it on ADB then you would need modified ADBD library for that on stock roms or adb push won't work. Just a heads up on that.
If you would ever get this to work I'm sure that every android power user would be very grateful as it's a whole another level.
Good luck!
PS. Please mention me anytime you get something new or you would need any help
olokos said:
I'm not entirely sure what do you mean by .NET enviroment.
As for that mountpoint hooking xposed could be a good idea of trying this out. There's anotehr problem if that would work via MTP since root is in EXT* format and that's not really readable by the PC. If you would base it on ADB then you would need modified ADBD library for that on stock roms or adb push won't work. Just a heads up on that.
If you would ever get this to work I'm sure that every android power user would be very grateful as it's a whole another level.
Good luck!
PS. Please mention me anytime you get something new or you would need any help
Click to expand...
Click to collapse
Hey there,
about the .NET environment, i mean devs/coder which uses C# or VB (both are .NET languages). And with this langs we have the problem, that we need in any case at 1st a working MTP interface for .NET, so that we can enumerate the connected devices and later their contents. But this is currently a big problem. Sure there where (i dun know it 100%) a few C+ or C++ MTP dll's around, but, without documentation, it's i think, nearly impossible to write an interface for such an dll.
So i'll try it with the Windows-Management API . - Currently i can enumerate my device via WMI but not it's content... I'll work on it for sure!
EDIT:
Here are a few links which helped me a lot to understand how WMI works.
Link
Link
Regards.
Sebastian
k1ll3r8e said:
Hey there,
about the .NET environment, i mean devs/coder which uses C# or VB (both are .NET languages). And with this langs we have the problem, that we need in any case at 1st a working MTP interface for .NET, so that we can enumerate the connected devices and later their contents. But this is currently a big problem. Sure there where (i dun know it 100%) a few C+ or C++ MTP dll's around, but, without documentation, it's i think, nearly impossible to write an interface for such an dll.
So i'll try it with the Windows-Management API . - Currently i can enumerate my device via WMI but not it's content... I'll work on it for sure!
EDIT:
Here are a few links which helped me a lot to understand how WMI works.
Link
Link
Regards.
Sebastian
Click to expand...
Click to collapse
I'll definitely try to dig this deeper later on. I don't see why should we support .NET enviroment. It's still going to work under windows, doesnt it? I haven't used anything that's in .NET for my device so far. (or I have no idea I did, but I doubt it)

Winfile

https://github.com/Microsoft/winfile was open source recently, so I built it for rt.
It doesnt ran under WinRT8.1 with same error like WinDjView "number 1566 didn't fnd in the library". Rebuilded new one WinDjView with leaked MFC from VS2001beta works well (with some limitation). Please research this bug. I need an 2window file manager for my RT. How can I help ya?
any chance to get the error as shown in the English ui? would be more familiar to me.
I don't think this project uses mfc.
my guess is some linked dll has an ordinal of 1566 which moved in the dll between rt8.0 and rt8.1. if i get some time I'll recreate the libs from custom def and avoid including ordinal values, so the linker will be forced to load by symbol name.
a note to remind myself how to do that:
lib.exe /def:libfile.def /out:libfile.lib
Please look at there its my opened issue
https://github.com/Microsoft/winfile/issues/6
Unfortunately even when I install English UI some parts of UI still in prenstalled language (Russian in my case) ecen when it sets to English and reboot. This error is still in Russain and Im not sure how it sounds correctly in English.
hooddy said:
Please look at there its my opened issue
https://github.com/Microsoft/winfile/issues/6
Unfortunately even when I install English UI some parts of UI still in prenstalled language (Russian in my case) ecen when it sets to English and reboot. This error is still in Russain and Im not sure how it sounds correctly in English.
Click to expand...
Click to collapse
Privet! Yes, thanks, I am in that github thread also.
Please try this one if you have the time and willingness.
TLDR; Made libs without ordinals to force the system to load libraries and symbols by name. Based upon your error message containing a numerical value and not knowing whether the system will fail if incorrect ordinal or will retry by name.
Steps to produce are different from these: http://www.wanderinghuman.com/blog/archives/000123.html
In addition to that workspace, here's the changes:
Linked without each library individually to see which symbols were used
For each library
created a library.def file with the missing symbols obtained from linked errors
used this command: lib /def:library.def /out:library.lib /MACHINE:ARM
If First time;Observed linker error on resulting library about 0x1c0 (MACHINE:ARM) and remembered that's the Windows CE ARM thumb1
Hex edited library.lib to replace 0x1c0 with 0x1c4 (THUMB2) where relevant
end
Adjusted linker properties to hard code my libraries, so it didn't search default libraries.
Linked and produced what is attached here.
Edit, had typo in a def file, so fixing binary after fixing it/
smb_gaiden said:
any chance to get the error as shown in the English ui? would be more familiar to me.
I don't think this project uses mfc.
my guess is some linked dll has an ordinal of 1566 which moved in the dll between rt8.0 and rt8.1. if i get some time I'll recreate the libs from custom def and avoid including ordinal values, so the linker will be forced to load by symbol name.
a note to remind myself how to do that:
lib.exe /def:libfile.def /out:libfile.lib
Click to expand...
Click to collapse
NEVER LINK WITH ORDINALS, JUST NEVER. That made me lose a metric ton of time reporting stuff which was already ported to RT otherwise. It's a very bad idea, it's worse having builds with ordinals than no builds at all; a fixed version is attached by the way.
Why are you doing it by generating .libs? that's not required anymore, just add the ARM desktop SDK in individual components on VSinstaller
black_blob said:
NEVER LINK WITH ORDINALS, JUST NEVER. That made me lose a metric ton of time reporting stuff which was already ported to RT otherwise. It's a very bad idea, it's worse having builds with ordinals than no builds at all; a fixed version is attached by the way
Click to expand...
Click to collapse
Thanks for the build. I miss some dll to run it. Can ya share it please?
And please share your Far manager build. I really miss them.
smb_gaiden said:
Privet! Yes, thanks, I am in that github thread also.
Please try this one if you have the time and willingness.
TLDR; Made libs without ordinals to force the system to load libraries and symbols by name. Based upon your error message containing a numerical value and not knowing whether the system will fail if incorrect ordinal or will retry by name.
Steps to produce are different from these: http://www.wanderinghuman.com/blog/archives/000123.html
In addition to that workspace, here's the changes:
Linked without each library individually to see which symbols were used
For each library
created a library.def file with the missing symbols obtained from linked errors
used this command: lib /def:library.def /out:library.lib /MACHINE:ARM
If First time;Observed linker error on resulting library about 0x1c0 (MACHINE:ARM) and remembered that's the Windows CE ARM thumb1
Hex edited library.lib to replace 0x1c0 with 0x1c4 (THUMB2) where relevant
end
Adjusted linker properties to hard code my libraries, so it didn't search default libraries.
Linked and produced what is attached here.
Edit, had typo in a def file, so fixing binary after fixing it/
Click to expand...
Click to collapse
Privet! Ill try this new build and it's not workd with the same error as early was. What about all you write there I not really undasttod what can I do for you to improve it Im sorry for my stupidility(((
black_blob
can you tell me more about that please?
hooddy said:
Privet! Ill try this new build and it's not workd with the same error as early was. What about all you write there I not really undasttod what can I do for you to improve it Im sorry for my stupidility(((
Click to expand...
Click to collapse
you'll have to install the ucrt compatibility update
smb_gaiden said:
black_blob
can you tell me more about that please?
Click to expand...
Click to collapse
Windows 10 SDKs for VS2017 have the full set of ARM .libs these days. Set the SDK version to 10.0.16299
black_blob said:
you'll have to install the ucrt compatibility update
Click to expand...
Click to collapse
Where I can get it? Some msu file please. I try to obtain this dll form powershell and dot.net at github with no luck.
@black_blob thank you
@hooddy don't try to understand, just some development information.
smb_gaiden said:
@black_blob thank you
@hooddy don't try to understand, just some development information.
Click to expand...
Click to collapse
I thinks it's an https://support.microsoft.com/en-us/help/3118401/update-for-universal-c-runtime-in-windows I didn't get it over WU. Can ya share direct link for KB3118401 and KB2919355 msu for WinRT please?
Maybe this can help to build proper
https://github.com/Microsoft/winfile/issues/102
Well how about working RT build? Nope?
hooddy said:
Well how about working RT build? Nope?
Click to expand...
Click to collapse
Ended up choosing the nuclear option, and that seems to work alright.
black_blob said:
Ended up choosing the nuclear option, and that seems to work alright.
Click to expand...
Click to collapse
Ya make my day! Thank ya really much!
black_blob said:
Ended up choosing the nuclear option, and that seems to work alright.
Click to expand...
Click to collapse
Oh cool, you saved my future self some time! I ordered a surface RT in order to run 8.1 and leave my main one undisturbed. However, still have some work to do elsewhere, so can you elaborate on the nuclear option in order to save my future self more time? Thank you very much!
Static linking for everything + LTCG + removal of all unused code. It ends up working so well that it has the same size as the binary with outside depends.
I got my new (used) surface rt a few days ago, spent 3 days discovering the service pack update black screen error, installing all the service packs, then using the tool provided by Qiangong et. all.
Reproduced the error with my Winfile and realised that there was one critical library that was being linked with ordinals. Drum roll... kernel32.lib due to not using /NODEFAULTLIBS.
Anyway, it has been corrected and attached is a dynamically linked winfile.exe which runs on Windows RT 8.1. It has already been signed.

Linux on Dex open beta enrollment

https://www.linuxondex.com/beta-registration
does say "Note9 and Tab S4 devices," i signed up this morning with the hope it will come out for s9+ also
Link does not work for me
Hope will work on my s9+ with dockless dex(In pie update). That will be a game changer for our device
No luck for S9+ yet
If only I could trick the play store and download the app
Leonidas87 said:
No luck for S9+ yet
If only I could trick the play store and download the app
Click to expand...
Click to collapse
https://www.apkmirror.com/apk/samsu...inux-on-dex-beta-1-0-38-android-apk-download/
I already sideloaded the apk and it doesn't work on S9/+. The app checks if you have a supported firmware.
I decompiled the apk on my linux machine and am searching where the check is being performed. to see if i can bypass it.
The response message you get is defined as a string that translates back to an id. This id i traced back to EntryActivity.smali alongside a const v2, whatever that might be. Inside this .smali file there are multiple references to versions, processor so this seems to be where the check is called.
Is there anybody here that actually has programming knowledge that could point me in the right direction on how to do this? I've never really looked into the inner workings of an app before, nor did i ever really program anything except some small python projects.
Aerox912 said:
I already sideloaded the apk and it doesn't work on S9/+. The app checks if you have a supported firmware....
Click to expand...
Click to collapse
If you are on android 9 the app opens and lets you use it. I have not loaded a Linux image yet to fully test it.
If you guys missed out on the Android Beta 9 enrollment early today I have uploaded the OTA update here .
https://forum.xda-developers.com/galaxy-s9-plus/how-to/official-android-9-beta-download-t3867703
I installed it on my S9+ and I can't get it to run "Linux on Dex requires device to have the latest software to support some features."
https://www.androidauthority.com/samsung-linux-on-dex-beta-923435/ Looks like the linux apps for this need to support ARM 64-bit architecture.
Leonidas87 said:
No luck for S9+ yet
If only I could trick the play store and download the app
Click to expand...
Click to collapse
Build.prop (?)
Linux image cannot be downloaded on s9+
I have OneUI beta installed on my s9+ and in the official link, the store says the device is not compatible. When you download it via APK mirror, it doesnt allow you install the linux image. The error message is as follows "the web page at lxd-wv=a.samsungknox.com could not be loaded because net:: ERR_CLEARTEXT_NOT_PERMITTED"
Try to download Linux images from :
https://webview.linuxondex.com
Please tell us if it works
Aerox912 said:
I already sideloaded the apk and it doesn't work on S9/+. The app checks if you have a supported firmware.
I decompiled the apk on my linux machine and am searching where the check is being performed. to see if i can bypass it.
The response message you get is defined as a string that translates back to an id. This id i traced back to EntryActivity.smali alongside a const v2, whatever that might be. Inside this .smali file there are multiple references to versions, processor so this seems to be where the check is called.
Is there anybody here that actually has programming knowledge that could point me in the right direction on how to do this? I've never really looked into the inner workings of an app before, nor did i ever really program anything except some small python projects.
Click to expand...
Click to collapse
S9+ on Android P beta, signed up and accepted for LinuxOnDex beta, installed the apk from apkmirror, downloaded the image and extracted to LoD directory. On starting terminal mode I see this in logcat:
Code:
11-29 22:44:17.901 E/AndroidRuntime(23999): FATAL EXCEPTION: main
11-29 22:44:17.901 E/AndroidRuntime(23999): Process: com.samsung.android.lxd, PID: 23999
11-29 22:44:17.901 E/AndroidRuntime(23999): com.samsung.android.lxd.processor.LxdException: undefined model: SM-G965F, star2lte
11-29 22:44:17.901 E/AndroidRuntime(23999): at com.samsung.android.lxd.a.g.c(ModelTypeUtils.java:77)
11-29 22:44:17.901 E/AndroidRuntime(23999): at com.samsung.android.lxd.a.g.a(ModelTypeUtils.java:40)
so it (was) in ModelTypeUtils.java which has been renamed to a method 'c' in class 'com.samsung.android.lxd.a.g'.
But, I'm going to guess that this needs root access to do its low-level linux things, so the edited apk might need to be signed by Samsung to work
Was super excited there for a moment, I downloaded and unzipped the file to the lod folder in my s9+. The app recognized the file and allowed me to create the container. For using linux visually I needed to use DeX but everytime i clicked run black screen appears and immediately crashes. If u r persistent it is just black screen with "please wait".
Linux on Dex S9+ support
Does anyone find a workaround to make Linux on Dex work on the S9+? When loading the container with the Ubuntu image it get sutck on "Please wait" with a black screen...
Btw i'm using the beta 2 with hotfix of Android pie for S9+ with apkmirror Linux on Dex Beta version.
Skimi said:
Does anyone find a workaround to make Linux on Dex work on the S9+?
When loading the container with the Ubuntu image it get sutck on "Please wait" with a black screen...
Click to expand...
Click to collapse
same results here on S9+...
I've downloaded apk and ubuntu 16 image but after loading container and connecting DEX i see only "Please wait..." notification.
(hint: after installing, uninstalling and one more time installing LoD program won't start - i had to delete LoD folder first)
Are you using a official dex accessory or some generic brand?
Skimi said:
Are you using a official dex accessory or some generic brand?
Click to expand...
Click to collapse
Generic with full support for DEX (android desktop works just fine)
I also use acrobat generic adapter with full support for dex, it could be that Linux on Dex it's only supported by the original adapters...

Categories

Resources