yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Mini Android Development] klurosu:
Hi leather.face :)

Actually i'm in hard work (at office) but in my next days i hope release the KlurosuROM in i8190N and i8190L models.

Grrettings from spain
[Galaxy S III Mini Android Development] leather.face:
Hi klurosu ;) ... Thanks for your quick answer ... I think that a lot of work to do ... But thanks for your great rom & support ... :good:

Regards from Germany to Spain,

leather.
[Galaxy S III Mini Android Development] limyuyang:
[

Thanks for the new rom.

Well, I have a few questions, what is OmaDrmPopup and DrmProvider ?

And, can I install this rom like the others rom ?

1) reboot into CWM recovery

2) wipe data / cache / dalvik

3) flash your rom

4) reboot system

Is this the correct way to flash your rom ? Because your steps looks complicated.

And I really love the battery design.
[Galaxy S III Mini Android Development] klurosu:
Good night :)

Drm process affect directly to the good battery drain and gives kernel wakelocks (if ya see that on bbs)

Btw...your steps are good :thumbup:

sent from an i8190 with Tapatalk 4
[Galaxy S III Mini Android Development] limyuyang:
Alright.

So far this rom has no bugs right ?

Well, in my country, it's morning :)

So can I freeze those process in other rom too ? Such as : light by somin rom
[Galaxy S III Mini Android Development] klurosu:
You must do it man! ;)

sent from an i8190 with Tapatalk 4
[Galaxy S III Mini Android Development] limyuyang:
Alright, I'll freeze it.

No wonder my battery is draining so fast :(

Does this rom has bugs ? So far no right ?
[Galaxy S III Mini Android Development] Gusta_HR:
Where did you find Galaxy S4 weather widget that suits HDPI devices? Can you provide just that files? Found it.

EDIT:

Step 3 is not needed at all. This is default setup in our rom. Also Setcpu is paid app.
[Galaxy S III Mini Android Development] klurosu:
You can install No-frills CPU Control (free apk).

btw: all steps are neccesary to the 100% success of the install (otherwise I not guarantee the success of the installation)

sent from an i8190 with Tapatalk 4
[Galaxy S III Mini Android Development] JackoMJ:
these two system.apk´s are already deleted by somin in his ROM :p

don´t know why your battery is so worse
[Galaxy S III Mini Android Development] Gusta_HR:
Lol funniest thing I ever read on this pages... :D:D:D
[Galaxy S III Mini Android Development] Moraga:
It doesn't works on the i8190n but of course without the nfc feature ?
[Galaxy S III Mini Android Development] klurosu:
Yes, it's funny man.

But it gives much more pain than not everyone is as smart as yours :crying:

Of course it doesn't. In first page post you can read it.
[Galaxy S III Mini Android Development] Moraga:
It's strange because 90% of the rom are working on the i8190 normal version, i don't really know if your "of course it doesn't means that the rom don't works at all of if it works without the nfc feature ? haha
[Galaxy S III Mini Android Development] klurosu:
Excuse me for not giving more details.

i8190, i8190N and i8190L are totally different at firmware levels.

You can check it via google (p.e)

p.d. This ROM it's only for i8190 model
[Galaxy S III Mini Android Development] Moraga:
Ok thank you dude :)
[Galaxy S III Mini Android Development] limyuyang:
Hmmm....that's weird.

---------- Post added at 05:40 PM ---------- Previous post was at 05:39 PM ----------

What if I flash this rom on my GT-I8190N ? Will brick ?
[Galaxy S III Mini Android Development] klurosu:
Be my guest but... after dont come "crying" plz

sent from an i8190 with Tapatalk 4
[General Questions and Answers] coolecho:
Hello,

Is there an app perhaps an editor, or file manager that can search within files for a galaxy 3?

Thanks
[Verizon HTC One (M7)] exzacklyright:
Yes.. no?
[Verizon HTC One (M7)] one4thewings:
You'd still be stock except for the fact that your S-OFF and the bootloader is unlocked. It'll do a system wipe when you unlock the bootloader, but it'll still be the stock Sense 5 Verizon ROM on there.

Is that what you mean?
[Verizon HTC One (M7)] josh995:
I'm assuming OP means can you go back to complete stock. S-on, locked boot loader.

If so, I'd like to know the answer to this as well.

Sent from my HTC One.
[Verizon HTC One (M7)] rmaccamr:
Assuming you made a nandroid, couldn't you restore stock backup, relock the bootloader and S-on via fastboot?

Sounds too simple.
[Verizon HTC One (M7)] dottat:
The simple answer is yes. The complicated part depends on where you're at when you decide to go back.
[Verizon HTC One (M7)] josh995:
After I got s-off the first thing I did was get twrp and made a backup of my stock rom so that's good. I'm pretty sure I can figure out how to relock the boot loader but would be lost on how to s-on via fastboot

Sent from my HTC One.
[T-Mobile Samsung Galaxy S II SGH-T989] chaphelo:
First off I'm a noob, was able to flash miui 4.1.2 with twrp but every time I flash another rom 4.2 and higher the rom works but the battery stops charging about 5sec after I put it to charge, used different cables but no dice. Only one 4.1.2 rom has recently worked and I'm still using it. I'm confused as to what could be the issue, can anyone shed some light please any help would be grateful. Thanks in advance
[T-Mobile Samsung Galaxy S II SGH-T989] JohnHorus:
It may just be that the icon isn't switching to charging, even though the device technically is? I don't feel like this is likely, but it may be worth investigating. I've also heard that TWRP versions before 2.6.1 have issues with 4.2 (or was it 4.3?)

Have you tried waiting for 10 minutes after your first boot, without touching anything, and then rebooting? I don't know if you're flashing a kernel or not, but if so that could help.
[T-Mobile Samsung Galaxy S II SGH-T989] chaphelo:
It says battery disconnected , sorry for not being specific. Thanks for taking the time to help me and the advice on the time period helped with 2 other roms
[T-Mobile Samsung Galaxy S II SGH-T989] Still_living714:
What version of twrp are you using? What are your steps when you flash?
[T-Mobile Samsung Galaxy S II SGH-T989] chaphelo:
2.6.1.0 followed each instruction to the letter. Now the roms worked its the battery disconnected warning that has me confused.

Thanks for acknowledging my question.
[Android Q&A, Help & Troubleshooting] JaketheFool:
Hello All,

I've been creeping the forums for a while, I haven't posted until now because I was able to find my answers through all-powerful google. However, today I cannot. In an effort to get the most help possible I'm going to keep this brief.

Synopsis:

Returning my previously rooted/unlocked HTC one to TMobile because of a defective primary mic. Have unrooted and returned to stock Sense ROM but in the bootloader it reads **Relocked** instead of **Locked**. How do I fix this so T-mobile doesn't decide my warrantee is void? Or will it even matter if everything else is returned to normal?

Thanks in advance to anyone who feels inclined to help me.

Your humble Fool
[Verizon Samsung Galaxy S 4] moespeed:
I rooted my Verizon S4 this morning, and then was freezing some apps with Titanium backup. It was early and I hadn't finished my coffee, and it looks like I froze something important because now it's bootlooped. It was working fine after I rooted, it was something I froze. Any ideas on how I can get this thing back? I haven't rooted or flashed a phone in a very long time, so I'm very rusty.

I'm looking at safe strap threads but it looks like I need to have a working phone to install it?

Thanks in advance!
[Verizon Samsung Galaxy S 4] jd1639:
Defrost what you froze
[Verizon Samsung Galaxy S 4] Mightycaptain:
Without a nandroid I think your stuck to having to Odin the original image (stock) and reroot.

There is a thread in android development for a stock me7 image to Odin.

I know that's the answer you don't want to hear.
[Verizon Samsung Galaxy S 4] moespeed:
Yeah I finally just got it to work using Odin and a stock image. I don't know what I was doing wrong, but once I posted up here, it suddenly just worked.

Thanks guys
[Windows Mobile Development and Hacking General] mamaich:
I've wrote a tool that hooks CreateFileW function and writes its parameters and a name of a caller process to "\Storage Card\fileio.txt" file. Here is a sample output:

Hooked CreateFileW...
17FB4002: CreateFileW("\Windows\CePerf.dll",a0000000,1,0,3,0,0) -> FFFFFFFF, Err: 2 ("\Windows\nk.exe")
17FB4002: CreateFileW("\CePerf.dll",a0000000,1,0,3,0,0) -> FFFFFFFF, Err: 2 ("\Windows\nk.exe")
17FB4002: CreateFileW("\Release\CePerf.dll",a0000000,1,0,3,0,0) -> FFFFFFFF, Err: 3 ("\Windows\nk.exe")
17FB4002: CreateFileW("\Windows\CePerf.dll.dll",a0000000,1,0,3,0,0) -> FFFFFFFF, Err: 2 ("\Windows\nk.exe")
17FB4002: CreateFileW("\CePerf.dll.dll",a0000000,1,0,3,0,0) -> FFFFFFFF, Err: 2 ("\Windows\nk.exe")
17FB4002: CreateFileW("\Release\CePerf.dll.dll",a0000000,1,0,3,0,0) -> FFFFFFFF, Err: 3 ("\Windows\nk.exe")
B6FA4402: CreateFileW("RIL1:",c0000000,0,0,3,0,0) -> F6769D16 ("\Windows\shell32.exe")
B6FA4402: CreateFileW("\windows\Default_stwater_240_320.gif",80000000,0,0,3,80,0) -> FFFFFFFF, Err: 2 ("\Windows\shell32.exe")
16DD2DCA: CreateFileW("\Windows\ActiveSync\CtrlLog.txt",40000000,3,0,4,0,0) -> 165DD2AE ("\Windows\repllog.exe")
16DD2DCA: CreateFileW("\Windows\Profiles\guest\Temporary Internet Files\Content.IE5\4TEF45QZ\SyncStat[1].dll",40000000,3,0,1,10000080,0) -> 7661E6E6 ("\Windows\repllog.exe")
16DD2DCA: CreateFileW("\Windows\ActiveSync\CtrlLog.txt",40000000,3,0,4,0,0) -> B65DD2F6 ("\Windows\repllog.exe")
575A36A6: CreateFileW("BAT2:",c0000000,0,0,3,0,0) -> 3660EBD2 ("\Windows\device.exe")

It would also create file "Log.txt" in the root directory with some diagnostics information.

The program works only under WM5, though it can be recompiled for older OSes. The idea is simple - hooking SystemAPISets table.

I can give the source code of the tool for someone who would finisth the project: add logging of CreateFileForMappingW, DeviceIOControl and registry functions.

Installation process:

copy TestApiSetHookDll.dll and TestApiSetHook.exe to \Windows directory on the device and run TestApiSetHook.exe. It would output a message "CreateFileW hooked" and logging would start. To stop logging reboot your device.

This program may conflict with the installed antivirus programs on PocketPC, so use it on your own risk.
[Windows Mobile Development and Hacking General] vijay555:
mamaich - I'd be interested in looking at the code if you don't mind; I'm interested in hooking system functions, but I'd like to use this tool on WM200se as well.. Please PM if you don't mind sharing it..

V
[Windows Mobile Development and Hacking General] Arise:
Hi there,

I was looking for some ways to hook the DeviceIOControl function.

mamaich, would be great if you would like to share the source code.
[Windows Mobile Development and Hacking General] Sektor:
Do you think it's possible to hook all RIL API using the same method?

Could you post the source code?

Thanks.

Bye

Sektor
[Windows Mobile Development and Hacking General] mamaich:
Attached the source code

About hooking RIL. This method cannot be used, there are different ways to hook RIL functions.

Regarding DeviceIOControl. My other tool that hooks EnterCriticalSection function can be used to hook it, the trap address to hook is 0xF000E3D4
[Windows Mobile Development and Hacking General] vijay555:
Thank's so much Mamaich. I've got nothing to use it for right now, but you've got my very sincerest thanks, as ever!

V
[Windows Mobile Development and Hacking General] ZeBoxx:
Hmm....

This + CeRegSpy == install logger = making proper uninstalls possible

/me crosses fingers
[Windows Mobile Development and Hacking General] Sektor:
Thanks Mamaich.

Could you explain me the different ways to hook RIL functions, please?

Bye

Sektor
[Windows Mobile Development and Hacking General] mamaich:
You may try this - http://www.xs4all.nl/~itsme/projects/xda/rilhook.html

Or if you are hooking RIL for only one program, you can just patch its import table on the fly, or RIL.DLL export table. The process is almost identical for hooking DLL exports on a normal PC.
[Windows Mobile Development and Hacking General] Arise:
What changes are required in order to make it work under WM 2003SE for example?
[Windows Mobile Development and Hacking General] mamaich:
this is obvious - internal WM structures in undoc.h should be changed
[Windows Mobile Development and Hacking General] mgargett:
Mamaich - very interesting code, how would I go about hooking the file close events?

Have tried hooking method 0 of w32 API (20) but the handles look wrong.

Also tried mapping the File API, but the SysytemAPISet[7] doesn't seem to have any methods - but I know it must be loaded,

very confused...
[Windows Mobile Development and Hacking General] TheBlasphemer:
I see this is using PerformCallback4. Apparently that function would be killed off in WM5, how come you can still use it ;)?
[Windows Mobile Development and Hacking General] mamaich:
I think that this function fould be left forever, but it would be allowed to be called only from trusted apps. And even if it is removed - there are dozens of other methods that can inject your code into address space of other process or kernel.

2 mgargett

Regarding hooking CloseHandle. Maybe hooking 0xF0010000 would not be enough, but if you'll look into its disassembly:

CloseHandle
04 E0 2D E5 STR LR, [SP,#var_4]!
1C 30 9F E5 LDR R3, =unk_1FFFA54
00 30 93 E5 LDR R3, [R3]
00 00 53 E3 CMP R3, #0
0C 30 9F 05 LDREQ R3, =Int_CloseHandle
0F E0 A0 E1 MOV LR, PC
13 FF 2F E1 BX R3
04 E0 9D E4 LDR LR, [SP],#arg_4
1E FF 2F E1 BX LR

you'll see that unk_1FFFA54 may be set to an address of a function that would be called instead of CloseHandle. For example this method is used by LMemDebug.DLL.

Of cause unk_1FFFA54 would have different addresses on different devices, but this is not a problem.
[Windows Mobile Development and Hacking General] Arise:
Hi mamaich.

I've tried to change the code from testcritsect.rar to hook DeviceIoControl function.

However, because my wisdom in that area is not far away from 0, the program doesn't work as expected.

if(SystemAPISets[ApiSet]->cMethods<=Method)
{
puts("Invalid method number");
return 0;
}

The program ends in the if above. Don't know what I have wrong. :)

As you said above, I did that: #define FAULT_ADDR 0xF000E3D4 //DeviceIoControl

Are you sure this is the right number?

BTW, how did you get all this info?

I mean:

CreateFileW 0xF000AFDC

TakeCritSect 0xF000FF20

MessageBoxW 0xF000BB38
[Windows Mobile Development and Hacking General] Conchas:
This is very interesting.

Would it be 'easy' to adapt it in order to catch registry modifications? :P

CERegSpy, doesn't work well for WM5.0. At least it doesn't work at all with my Qtek 9000.
[Windows Mobile Development and Hacking General] vijay555:
Isn't there a WM5 update for CERegSpy available from the Author?

V
[Windows Mobile Development and Hacking General] Conchas:
At least not at its website http://www.forwardlab.com/ceregspy.htm

Still on release 1.0

Does someone knows about a newer version?
[Windows Mobile Development and Hacking General] vijay555:
ZeBoxx does I think. But you have to write to the author for the new version.

V
[Windows Mobile Development and Hacking General] ZeBoxx:
Yep... I've got a WM5 version, but the evaluation download location doesn't work anymore - didn't keep a copy around, I'm afraid :/

So just write to the author, and you should be able to get the preliminary WM5 version. Alternatively, I think the app mentioned here *could* be coded about to keep an eye on the registry as well. But I'm no coder :)
[Windows Mobile Development and Hacking General] buzz_lightyear:
hmm, as far as I remember, there are native functions in wm5 to watch registry for changes.

buzz
[Windows Mobile Development and Hacking General] mamaich:
I've looked into the disassembly. First OS looks for a FSD driver that is associated with the handle, then calls its DeviceIOControl function. If it is absent (which never happens) - it calls 0xF000E3D4. So hooking 0xF000E3D4 would give you nothing, this part of code is never executed.

the code is similar to this:

BOOL
SC_DeviceIoControl(
HANDLE hDevice,
DWORD dwIoControlCode,
LPVOID lpInBuf,
DWORD nInBufSize,
LPVOID lpOutBuf,
DWORD nOutBufSize,
LPDWORD lpBytesReturned,
LPOVERLAPPED lpOverlapped
)
{
const CINFO *pci;
...
if (!(pci = SwitchToProcHandle(&cstk,&hDevice,HT_FILE)))
SetLastError(ERROR_INVALID_HANDLE);
else {
__try {
b = (*(BOOL (*)(HANDLE,DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPOVERLAPPED))(pci->ppfnMethods[11]))(hDevice,dwIoControlCode,lpInBuf,nInBufSize,lpOutBuf,nOutBufSize,lpBytesReturned,lpOverlapped);
} __except (EXCEPTION_EXECUTE_HANDLER) {
SetLastError(ERROR_INVALID_PARAMETER);

so you need to hook pci->ppfnMethods[11] of the interested driver. Or the easier method is to make a wrapper around the device DLL.

I'm quoting myself:
[Windows Mobile Development and Hacking General] mosfet:
API Hooking not working oon root file system ?

Hi,

I have downloaded and tried source code provided but from what I 've seen when I create a file on root file system, it doesn't seem to be logged....

Could someone confirm ? In this case what 's the point to do api hooking while a File System Filter Driver could do the same ?

But maybe I am wrong ...
[Windows Mobile Development and Hacking General] mgargett:
What about WM6?

Hi Mamaich,

Any idea how much of this hooking will still be possible in WM6? I understand it has been rearchitected pretty well.

I'd hate to think all code is ready fort the bin :(
[Windows Mobile Development and Hacking General] chmckay:
From my experience, the hooking should still work. WisBar Advance uses the hooking extensively and several people are reporting that it works great on WM6.
[Windows Mobile Development and Hacking General] vijay555:
Hooking in Photon (true WM6) might be harder. Crossbow/WM5.2 hooking hasn't changed much.

V
[Windows Mobile Development and Hacking General] edba2000:
Hooking Mouse Events?

Is it possible to hook global mouse events?

Looking for some source code example...

:confused: :confused:
[Windows Mobile Development and Hacking General] Marshall07:
Hi,

I'm trying to modify the code in the first post because I want to hook the SetCursor API.

I made the following changes:

TestApiSetHook.cpp

...
// FAULT_ADDR is address of trap that is called on a function we need to hook, in this case CreateFile.
#define FAULT_ADDR 0xF000AFA4 [COLOR="Red"]//I guess I have to change this value?[/COLOR]
...
...
void *t=GetProcAddress(GetModuleHandle(L"gwes.exe"),L"SetCursor");

TestApiSetHookDll.cpp

...
// we are hooking CreateFileW
#define FAULT_ADDR 0xF000AFDC [COLOR="Red"]//I guess I have to change this value?[/COLOR]
...
HANDLE _CreateFileHook(...) {
... [COLOR="Red"]//I define here my function! I can call it my_SetCursor()[/COLOR]
}
...
void *t=GetProcAddress(GetModuleHandle(L"gwes.exe"),L"SetCursor");

These are the main things I have to change, I guess. I never hookced and API function before, so I still have some questions:

- What is the FaultAddr value for the SetCursor API (or how I can find it)?

- Do I have to change something else?

I'm working with this code so it should be easier to do the hooking for the SetCursor API. Or this code is too specific for the CreateFile API?

Any help will be appreciated. Thanks...

Marshall
[Windows Mobile Development and Hacking General] technonaut:
API's ?

Are the API's C++ only? Does anybody have any shortcuts as to where to find the docs?
[Windows Mobile Development and Hacking General] youxianshi:
I am interested in how to hook CloseHandle, and I found some info from here. I did the test on my WM6 PPC device, but it failed. I will depict what happened below:

1. I looked into the CloseHandle disassembly, it looks like:

CMP R3, #0 ; Here R3 = 0

2. I hooked SH_W32[0], but did not get useful info. The injected API never be called.

Could you help give me more info about how to hook CloseHanle? Thanks you very much!:confused:
[Windows Mobile Development and Hacking General] openwindow:
kernel hooking problem

Found this thread and code very useful and have implemented hooking for shell and gwes with no problems. However when I get to try and hook the kernel I find the hooked api are not being called. The code works ok on wm5/6 emulators. However when run on various devices I can see the hook procedure being invoked but the actual api are never called. I expect I've done something silly but given the success of the other hooks and the emulator I was wondering if there's a known "feature" that I have managed to come across?

Thanks
[Windows Mobile Development and Hacking General] theguild:
missing sources

Hi mamaich,

thank you for the interesting article. Is it possible to upload somewhere the filemon source because the attachment here is missing. Or is possible to send it to my email (theguild *at* abv.bg). Thanks!

P.S. I have posted question about the broken attachment but nobody resolve the problem.

Thanks again!
[Windows Mobile Development and Hacking General] viveksri:
Re-attaching missing sources

Hi,

I too was looking for filemon.rar that is attached in the first message of this thread, but can't be downloaded. I found it on mamaich's (OP) homepage here: http://mamaich.uni.cc/wm_soft/

For easy access I'm attaching the filemon sources again here. Since .rar format is not supported for attachments on this site, I've repackaged it as .zip.

Vivek
[Samsung Galaxy Gear] lassiter1:
any one know how to take off of Military time Please and thx
[Samsung Galaxy Gear] Dimlow_uk:
I'm guessing that 24 hour clock.

Settings

General

Take the tick out of 24 hour clock.
[Galaxy Note GT-N7000 Themes and Apps] galaxynote2:
Download!

Instructions:

-Download the APK

-Push it to System/App or Preload/Symlink/System/App

-Set permissions to RW-R-R

-Reboot

Typo error: I've typed "Grey" instead of "Gray" in the second image, I will fix it later when I have time.​
[Galaxy Note GT-N7000 Themes and Apps] mjrifath:
Nice

Good looking mate.

Perfectly working with SweetRom v10

Thanks again for this Themed Keyboard:laugh:
[Galaxy Note GT-N7000 Themes and Apps] anuanr:
test very well work it so fast typeping but

i have thailand Keyboard

it not on this apk

t:good::good:
[Galaxy Note GT-N7000 Themes and Apps] varinder jaswal:
Note 3 keyboard for galaxy note n7000

Thanx...

working perfectly on my galaxy note n7000...:good:
[Galaxy Note GT-N7000 Themes and Apps] Vishy Sharma:
Note 3 keyboard not installing

hi,

I completed all the steps mentioned above , but Still i can't install note 3 keyboard. The installation just fails. :(

I have a galaxy note N7000 flashed to CWM 10.2. Can somebody give any pointer ?
[Galaxy Note GT-N7000 Themes and Apps] nokiamodeln91:
I think its a Samsung keyboard and wont work apart from TW.
[Galaxy Note GT-N7000 Themes and Apps] galaxynote2:
Yes, this keyboard only works in TW roms, not AOSP.
[Galaxy Note GT-N7000 Themes and Apps] Grlschia:
Galaxynote2 Hello, thank you for what you do. The'm downloading. good work :D
[Galaxy Note GT-N7000 Themes and Apps] thewelt1:
Nice job looks well..)
[Galaxy Note GT-N7000 Themes and Apps] BALE11:
hi man :cowboy:

the keyboard work great ..it is very nice:victory:

can i add more language to the keyboard ??:confused:
[Galaxy Note GT-N7000 Themes and Apps] p2pow350:
Hi,

I'm trying to use this keyboard using the MIUI TW rom but the keyboard is not available, even doesn't show under system preferences....any clues?

I moved apk using a root explorer in system/app, overwrite STD keyboard and set permission to 655 but no way...

Thanks for you hard work

Cheers

Max
[Galaxy Note GT-N7000 Themes and Apps] aminarif1982:
thanks for share it's work great to me
[Galaxy Note GT-N7000 Themes and Apps] monsterfart:
i605

does this also work on the i-605 or only on the n7000?
[Galaxy Note GT-N7000 Themes and Apps] galaxynote2:
This mod only works for the original Samsung Galaxy Note GT-N7000-i9220 and maybe in the SGH-i717. (The SGH-i605 is a Galaxy Note 2) and only in Touchwiz Roms (It will not work in AOSP, AOKP, CM, MIUI and not sure if it works in TW based MIUI)