yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] kobi:
Hi everybody

I'm using a WinCE Pascal and developing a smartphone application.

My problem is that I can't import the tapi's functions using their names, so

I must use the functions index.

I didn't succeed to find a table of the functions index, and I can't copy tapi.dll to the PC (and use dumpbin to view the exports list).

What can I do?

Thanks

Kobi
[Windows Mobile Development and Hacking General] levenum:
Tapi.dll is part of the ROM so you can't copy it.

There are many tools on this site that let you dump ROM, the simplest to use is mamiach's TestWM5.exe.

Since you only need one file, I will post it, but this is from WM5 device. I'm not sure if the ordinals are the same for all OS versions.

PS: You might want to look in to switching to c++, the transition from Pascal is easy (at least it was for me) and the language opens up more options.:-)
[Windows Mobile Development and Hacking General] kobi:
Thank you very much

Hi Levenum

Your answer did help me very much :)

Thanks for the tapi.dll (and WM5 is my target OS).

According to use c++ - If I couldn't solve this problem then I was using eVC++, but I prefer to use FPC (Free Pascal Compiler) for WinCE, altough of all its disadvantages (no debugger/emulator, poor IDE, no complete library of static binding - fit to WinCE :) because of its multi OS ability.

The language itself is equivavalent in its abilities to c++ (including definition of operators and so on)

Thanks

Kobi
[Galaxy Note 10.1 (2014 Edition) General] Serinety:
Since it is pretty clear that Samsung is not going to honor warranty service on knox tripped devices, I'm wondering of they will still fix them for a fee.

Why am I wondering? I'm curious if they can reset knox at the factory. If so, it means we can reset knox ourselves. I'm an electrical engineer and am looking into a hardware modification that would render knox useless.

In non technical terms, it would be similar to bypassing a blown fuse in your car with a piece of metal in place of the burnt fuse.

It is extremely possible, depending on the efuse they use. It's hard for me to imagine they would install the efuse in such a way that even they would be unable to reverse it.

Efuses are not new technology, and their main purpose is to act in a very simiar way to standard circuit breaker. And just like a tripped breaker, they can be reset. Its simply a matter of what type they used, and how it was implemented
[Galaxy Note 10.1 (2014 Edition) General] Serinety:
If it truly is an efuse, they are physically blown transistors due to intentional electromigration , inhibiting electron flow through the channel, basically, preventing the gate from allowing electron flow through the channel.

however, if the efuse is an external chip (most of them are, it would be added to the motherboard, just like ram, wifi chip, wacom digitizer.. etc) then that chip will either have a reset (by applying voltage to the latch) or can be bypassed physically (pulled up to Vcc).

In this case, an unlocked boot loader would not be able to bypass the blown fuse link. It may, however, be able to forgo checking the status of the efuse, but I really don't know know how its all assembled, since getting a datasheet on the board from samsung would be impossible. The only hope I have as an engineer is to examine the board and attempt to find the location of the fuse.

Here is some efuse Education:
[Galaxy Note 10.1 (2014 Edition) General] Bulbous:
You may want to read this

http://xdaforums.com/showthread.php?t=2561658
[Galaxy Note 10.1 (2014 Edition) General] Serinety:
So it seems as if there is some misinformation running around on all ends. Seems logical to me to go with the Samsung knox website, where they say that hardware warranty is separate from knox warranty.

I'm going to email samsung and try to get a straight answer. I'll setup a claim for my device. I'll say it has a bad home button or something silly, then mention the knox bit is tripped. The 2 are totally unrelated, so seems like a good test.
[Galaxy Note 10.1 (2014 Edition) General] nickwarn:
Should be intesting to follow. Looking forward to see what happens.
[Galaxy Note 10.1 (2014 Edition) General] flinttownbrown:
An efuse is not like a standard circuit breaker at all. It is like a regular fuse. Circuit breakers are designed to be reset. They are not permanently physically modified in any way when tripped. Efuses and fuses, on the other hand, are physically burned when they are tripped, and cannot be reverted.

As far as being on a separate chip: I highly doubt this to be the case. First, to minimize power consumption no one wants to drive an extra package. Second, virtually all SoC designs incorporate an efuse bank somewhere on their chip. Though I could be wrong on this point, as there could be incentive to include them off-SoC if device remanufacturing (read: refurbishing) is a significant source of revenue for the OEM.

Source: I am a SoC design engineer for an industry outside the mobile personal electronics sector, and they are pretty much commonplace in every SoC made in at least the last 5+ years.
[Galaxy Note 10.1 (2014 Edition) General] Serinety:
Your right, but my assumption is that they are not using SoC efuse's. If this were the case, they would be forced to toss boards with blown fuses. Since their goal with the efuse is not to prevent damage, but to indicate intrusuon, a way to "reset" the fuse would seem preferable.

We use several efuse's that are circuit breaker style, and not fuse.

http://www.onsemi.com/PowerSolutions/content.do?id=17031

Just one several. These can be added to any design for protection, but could also be used in this application. Once tripped they would stay tripped until reset. If the reset pin is left unused, then it can only be reset exrernally, which I suspect is the case.
[Galaxy Note 10.1 (2014 Edition) General] C2Q:
I actually contacted Samsung Canada to know if tripping Knox voids hardware warranty. This is the response I got:

Doesn't really seem like they understood the question, but whatever. Guess I'll avoid rooting until someone figures out a 0x0 method, if at all. Its weird because people in the S4 forum asked the same thing about Knox and warranty and Samsung's response was that the phone should still retain hardware warranty.
[Galaxy Note 10.1 (2014 Edition) General] Smac7:
i just wanted to note that samsung will still cover hardware defects if you use knox.
[Galaxy Note 10.1 (2014 Edition) General] francanna:
Source of your sentence?

It depends on which defects they are... and the proof that the issue is related to factory defects is on your charge...

Inviato dal mio GT-N5100 con Tapatalk 4
[Galaxy Note 10.1 (2014 Edition) General] Smac7:
transcript from my conversation.

General Info

Chat start time	Oct 9, 2013 6:59:14 PM EST

Chat end time	Oct 9, 2013 7:10:06 PM EST

Duration (actual chatting time)	00:10:51

Operator	Vivian C

Chat Transcript

info: Please wait for a Samsung Agent to respond.

info: All Samsung Agents are currently assisting others. Thanks for your patience. A Samsung Agent will be with you shortly.

info: You are now chatting with 'Vivian C'. There will be a brief survey at the end of our chat to share feedback on my performance today.

info: Your Issue ID for this chat is LTK111790932073X

Vivian C: Hi, thank you for reaching out to Samsung technical support. How may I assist you?

shane: Hi.

shane: i have a question in regards to warrenty on the new galaxy note 10.1

Vivian C: Hi, please go ahead with the query?

shane: I understand that rooting will void the warranty for software issues and anything related to rooting, but does it also void it for issues such as a broken power button or a physical problem with the screen.

shane: Basically, are hardware issues unrelated to root still covered?

Vivian C: Yes, they are covered but no physical damages to the unit.

Vivian C: I can understand how important this is to you.

shane: so you mean as long as it doesn't appear to be the consumers fault (drops for example) then its fine?

Vivian C: I could certainly relate to what you are going through as I am a consumer myself.

Vivian C: The hardware issues are covered if it is under warranty.

shane: ok thank you for the info. that's all i wanted to know before i went through with my purchase

Vivian C: I appreciate the patience you displayed while we worked together on this issue.

Vivian C: Thank you for chatting with us. If you have a minute, please click on the blue “X close” button to receive the transcript of your chat and fill out a brief survey to help us serve you better.

Follow Samsung Service on Facebook, Twitter and YouTube.
[Galaxy Note 10.1 (2014 Edition) General] francanna:
That's all and nothing. Samsung VP told in knox website that warranty policies may be different country by country. In general it is true what I said before. You are supposed to prove that the defect is non software related. E.G. zif your screen stops working or you experience motherboard issues, Samsung may say it depends on overclock or other root related stuff.

So what remains you is just power button failure...

Inviato dal mio GT-N5100 con Tapatalk 4
[Galaxy Note 10.1 (2014 Edition) General] C2Q:
^ Nice, I should follow up with Samsung Canada through live chat because at the very least this gives me a bit more confidence to root without having any hardware warranty concerns. However I wonder if they can still refuse warranty "just because" even though it may have been confirmed by their online agents.
[Galaxy Note 10.1 (2014 Edition) General] JACK4HIRE:
I am left wondering how the Magnuson-Moss Warranty Act of 1975, and all the case law that led to it's enactment, would relate to Samsung's apparent unwillingness to honor a warranty claim related to hardware issues on a rooted (modified) device when Samsung is unable to show that the rooting of the device was the direct cause of the hardware failure.

I think it is time that a group of consumers tripped the Knox counter on their devices by rooting, and sent them in to Samsung for a hardware related repair such as a bad home button or a screen failure and then see if Samsung will honor the warranty or deny the claim solely based on said tripped Knox counter.

If Samsung denies the claim without showing just cause, the group could then show harm and either file a complaint with the Federal Trade Commission (here in the US) or they could file a class action law suit against Samsung if they could find an attorney(s) stupid enough to do it.

There is nothing in the Samsung Terms of Service that precludes class actions as AT&T does.
[Galaxy Note 10.1 (2014 Edition) General] francanna:
People, it will be exactely as it has been so far: do you remember that Samsung has put a modified device counter in its device for years? What happens to you warranty today if you root a Galaxy S2 and do not use CF Triangle Away?

Some hardware issues have been passed under warranty, some others not.

Some display failures may depend on kernel settings; motherboard issues may depend on voltage and frequencies that are kernel related. Be sure this will not covered.

Hardware buttons are not sw related and will be repaired.

But who wants to keep a warranty limited to 3 hw buttons?
[Galaxy Note 10.1 (2014 Edition) General] Serinety:
Given that we do not have custom kernels, all root has given us is apps like titanium, and other root style apps. We can't modify any voltage settings, or anything that could damage the device. Need a kernel for that.

The only thing you could do right now is flash bad firmware, and brick. But that's possible with or with out root. Any time you flash firmware there is a possibility of bricking. Seems illogical that just because I can use titanium backup and xposed, means a failed update from mk1 to ml1 would be the fault of root. They are not even related. That's like saying installing a new stereo in my car caused the engine to blow a headgasket.

Remember, root only affects the running and booted operating system. Once you are in recovery, or download mode.. root has nothing to do with it. just like in windows. When you install a windows program, if you shutdown and boot to bios.. that program doesn't exist as far as the computer is concerned. Only after it has booted the main hard drive and read the proper master boot record, and loads windows does that program exist.
[Galaxy Note 10.1 (2014 Edition) General] francanna:
You are right, BUT...

Today we have no custom kernel on Note 2014, but as soon as Samsung releases the source code we will have. For Note 3 custom kernels do exist.

So, generally speaking, I may root the phone, flash a custom kernel and, in case of disaster, restore stock kernel.

That is why even a simple root is considered non samsung system modification... and Knox activates the efuse in case of any non samsung system modification because it needs the system to be perfectly integer and Samsung certified for business reasons (BYOD strategies).

Finally: no root means no kernel no rom... no problem for Samsung.

I am not justifying Samsung. Only trying to explain their logic.

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Galaxy Note 10.1 (2014 Edition) General] Serinety:
True, although they should make a business version and a consumer version. But......like THAT would ever happen lol. Seems silly to force business solutions onto a consumer, non business customer experience. I assume samsung is going to be pushing knox into all their new devices.. which kinda blows the whole "for business" slogan of knox. I have to think , not many samsung smartphone/tablets are used in a Purley business application.

Ahh...such is life. If they can make it, we can break it.... :)
[Galaxy Note 10.1 (2014 Edition) General] francanna:
As you know Blackberry is almost out of the market and Windows Phone has not such a great appeal. That is a huge oppotunity for Samsung, but they have to face Android bad reputation as an "unsecure" system.

That is the main reason for Knox.

"Security" and "data integrity" are marketing messages they decided to spend also in consumer market... although we know that most of people would not need neither use Knox.

Moreover Samsung well knows that modders are only a very small part of the consumer universe. Although Samsung NEEDS modder's community.

My note: IMHO Android security problems are NOT directly related to rooting... on the contrary, rooting (URDLV, for example) would use system exploits... but it is true that having a rooted device increases the possibilities of possible security issues for un-aware people.

People still think that rooting is required for having "cracked applications" and things link that.
[Galaxy Note 10.1 (2014 Edition) General] xebato:
But I still dont see the point of voiding the warranty and preventing me of using KNOX again just because I rooted my phone one time , I can jailbreak iPhone several times and go back to the original condition without voiding the warranty or preventing me from using any service just because I jailbreaked the phone before , even so iPhone is considered as secure phone,​
[Galaxy Note 10.1 (2014 Edition) General] Sterist:
I contend you reached an employee who didn't really know the answer to your question and was trying to appease you.

the answer is not consistent with the specifics you presented
[Galaxy Note 10.1 (2014 Edition) General] GitAlongLilDoggies:
This is for US owners.

I am not a lawyer but after reading the section of the Magnuson-Moss Warranty Act of 1975 pertaining to user customizations and warranties the burden of proof that a user damaged the product is on the warrantor. Rooting, unlocking or tripping an e-fuse in itself is not proof. They would have to prove your actions caused the failure. For example lets say you rooted and installed a custom kernel that blows out the main board. They would need logs showing what was done and what effect these changes had. The burden is on them. Customization itself does not void a warranty.

I like Adam's video on the subject,

http://www.xda-developers.com/xda-tv-2/your-warranty-is-not-void-xda-tv/
[Galaxy Note 10.1 (2014 Edition) General] Smac7:
Well if I ever have an issue I'll wave this over their heads.
[Galaxy Note 10.1 (2014 Edition) General] JACK4HIRE:
Awesome! I hadn't realized there was already a video about this on the site.

My experience with the Magnuson-Moss Warranty Act of 1975 relates to when Ford Motor Co. tried to deny a warranty claim on my truck because I had an aftermarket exhaust system installed. They were Hell bent on denying my claim until they got a letter from my attorney explaining a few things to them.

As I see it, this Act is applicable in every way.

All that is needed now is someone who has been denied a warranty claim who brave enough to challenge Samsung in court.

I am rooted, with Knox 0x1, but have had zero problems thus far. If my tablet sh*ts the bed in the first year, I will be sending it to Samsung for warranty work and not Square Trade. If Samsung denies my claim for the Knox issue, I will file a complaint with the FTC and then go after them in court if it comes to that.
[Galaxy Note 10.1 (2014 Edition) General] lecorbusier:
Sh*ts the bed!

Holy cow, you made my day. What a gem!

The common german saying is "to give away the spoon". Not that good, eh?
[Galaxy Note 10.1 (2014 Edition) General] nbecker:
Not really helpful

So if you're willing to sue Samsung in court, you might be able to win. Not much help really when they refuse to honor any warranty.
[Galaxy Note 10.1 (2014 Edition) General] Serinety:
what we need at this point is someone to submit a warranty claim with tripped knowx.
[Galaxy Note 10.1 (2014 Edition) General] crimpshrine42:
Has anyone noticed that on Samsung's warranty info page for the P600, it says nothing about Knox or anything about the warranty bit?

If they are going to enforce that, wouldn't it need to be listed? Or did I miss it in all that text?

I can't post the link since I am under 10 posts. It's on their site under us/support/service/warranty/SM-P6000ZWYXAR
[Galaxy Note 10.1 (2014 Edition) General] Bulbous:
Of course no one has noticed. they're all too busy ranting about how Samsung sucks and knox sucks. God forbid any of them should actually stop and engage their brains before posting. Let alone read a thread from the start and try to actually apply a bit of logical thought before posting another crock of s h i t

You have applied logical thought, you don't belong here :)

Neither do I :(
[Galaxy Note 10.1 (2014 Edition) General] Smac7:
I've asked then and they said you'd be covered if it wasn't related to root. I encourage you to ask again and share your findings.
[Galaxy Note 10.1 (2014 Edition) General] xda_user_p600:
I've been reading the forums for a very long time. I am sure this is correct, Knox warranty is different from hardware warranty. I'll look into my local warranty policy when i get my device (FedEx has it right now).
[Galaxy Note 10.1 (2014 Edition) General] benni_1994:
On the galaxy s4 forum are a few people which had their device repaired from samsung with knox 0x1. If it is a hardware issue samsung will repair it most likely.

Sent by my Note 10.1 2014
[Galaxy Note 10.1 (2014 Edition) General] xda_user_p600:
It's pretty common that all companies repair hardware, even with damage that could be done from rooting (example: burned insides because of overvolting). As long as you return it with default firmware and flash counter reset (to at least 1), they will not care. This is my expierence.

Disclaimer: I am not responsible for you doing damage to your device because of my post. All I say is, that I've had expierence with different hardware, that was changed/RMA'd even with "possibly" warranty-breaking modifications.
[Galaxy Note 10.1 (2014 Edition) General] ziggysmalls:
Does any of this matter with Geek Squad Trips and Spills?
[Galaxy Note 10.1 (2014 Edition) General] JACK4HIRE:
I was told by one of the Geeks at Bestbuy, just before Christmas, that their Geek Squad protection plan doesn't covert rooted or jailbroken devices. The Geek said they are supposed to refuse to take a device in for repairs if it is found to be rooted or jailbroken. I got the 'deer in the headlights' look when I asked about the Knox counter.

This is why I chose to go with Square Trade as they gave me a definitive answer with regards to the Knox counter and warranty repairs.
[Galaxy Note 10.1 (2014 Edition) General] C2Q:
Emailed Samsung Canada again, response:

Yep those typos are what I got in the actual response. It also seems like their CSR's are totally clueless about Knox as well. In my question, I provided the link to Samsung's Knox website. Anyway, how can they justify denying warranty because rooting caused dead pixels, or the screen to stop working, or the hardware buttons to become loose?
[Galaxy Note 10.1 (2014 Edition) General] ziggysmalls:
Well, you could be unrooted with the knox counter still tripped.

---------- Post added at 07:42 PM ---------- Previous post was at 07:38 PM ----------

Or you could dunk it in water. But anyway, I will probably wait until i know my hardware is stable and/or until the kitkat update until I decide to root or not.
[Galaxy Note 10.1 (2014 Edition) General] Duly.noted:
I work at Best Buy. The gsp covers accidental physical damage. So back up (I keep a few sd card backups and some on my computer) then smash with a hammer. They can't refuse it and you get a new device in store. Also you could get something comparatively priced or even upgrade just paying the price difference. Then buy another protection plan. I used mine to get a buddy's fixed since there isn't an imei or serial for them to check. I Love my stupid employers.
[Galaxy Note 10.1 (2014 Edition) General] HumanCaviar:
That is classic, you may have just sold me on a gsp.
[Galaxy Note 10.1 (2014 Edition) General] wanb1i:
A note on Square Trade. I just dropped and smashed (accidentally) my Asus Infinity which was rooted and running CM11. I sent it to Square Trade because I had the accident protection on it. After they received it I didn't hear from them for over 2 weeks, so I called them. They told me they wouldn't cover any jailbroken phone/tablet as the warranty was void. I indicated the factory warranty had expired and that jailbreaking wasn't relevant to the damaged device coverage. I requested a supervisor and was called back indicating they would send me a check for the insured amount. I just bought a Note 10.1 - 2014 :D

Be sure to escalate if they refuse coverage for rooting.
[Galaxy Note 10.1 (2014 Edition) General] JACK4HIRE:
Not wanting to sound holier than thou, but I don't think I could do that.

If my tablet has an issue (not caused by rooting) in the first year, it's going back to Samsung Knox 0x1 and all. If they refuse to honor the warranty, I will go to FTC first and then to small claims court if I have to.

One of the benefits of having a law degree even though I don't use it directly in my chosen profession - pro bono representation. ;)
[Galaxy Note 10.1 (2014 Edition) General] keendark:
My Warranty has been voided on a hardware defect

I have an issue where my phone screen is coming away from the body, I sent it back to a UK samsung repair and it was promptly returned saying the issue was caused by my having run an unapproved firmware (incidentally, I sent it back with 4.3 on it, the official firmware). The only give away was the stupid knox pish.
[Galaxy Note 10.1 (2014 Edition) General] Geordie Affy:
Just stupid really, another way for them to not repair it! Just like Apple and their water damage claims even though a little bit of damp could cause the indicator to turn pink. Don't really care about the consumer at all any of em. :mad:
[Galaxy Note 10.1 (2014 Edition) General] Serinety:
I just exchanged mine at Frys. Screen was acting funny (I posted about it, screen of death or what ever.) It's been 3 months, they did an even exchange no problem. It was rooted, running clean room and had twrp.. they didn't even look at it, just handed me a new one on the spot. great customer service!