Changing Device hardware UID!! - Samsung Galaxy S20 FE Guides, News, & Discussion

If you want to be able to use parts from another phone you will need to have the correct device UID.
This thread is created to discuss the possibilities of changing those UID,s
In my case i want to activate the fingerprint sensor on a new motherboard.
Changing those hardware UID will probably make the scanner work again.
I hope someone can help me out.
Greetings

needs knowledge experience in programming and most important will to help fellow man
non of them exist here friend... dont waist your time... it is useless

Related

Change Device ID

This may be a stupid question for this forum, this may not have anything to do with this forum, but you guys are probably the only forum that could help me. I was referred here from a post at another forum.
I own 2 HP IPAQ 1950s (i know this forum isnt dedicated to handhelds), OS is Windows Mobile 5. I purchased a piece of software for one and want to load it on the other as well, but it does not allow me. Heres why:
In order to purchase the software, you first load a trial version and run it. On that trial version's registration screen, it gives a device ID. I then purchase the software, and at purchase, provide this device ID. The software maker then provides me a registration that will only work with the unique device ID. I cant use the same registration key on the second handheld because it has a different device ID. To be clear, when I say device ID, I dont mean the name I give the device when syncing. This is a random alpha-numeric ID, I dont know where it comes from.
Anyway, I am wondering if there is a way I can edit device 2 so it has the same ID as device 1. Some kind of registry edit or something?
Sorry again if this post is not appropriate for this forum, but you guys seem to know the most about these kind of devices and if anyone knows the answer, theyd be on this forum. Thanks for your help.
trm666 said:
This may be a stupid question for this forum, this may not have anything to do with this forum, but you guys are probably the only forum that could help me. I was referred here from a post at another forum.
I own 2 HP IPAQ 1950s (i know this forum isnt dedicated to handhelds), OS is Windows Mobile 5. I purchased a piece of software for one and want to load it on the other as well, but it does not allow me. Heres why:
In order to purchase the software, you first load a trial version and run it. On that trial version's registration screen, it gives a device ID. I then purchase the software, and at purchase, provide this device ID. The software maker then provides me a registration that will only work with the unique device ID. I cant use the same registration key on the second handheld because it has a different device ID. To be clear, when I say device ID, I dont mean the name I give the device when syncing. This is a random alpha-numeric ID, I dont know where it comes from.
Anyway, I am wondering if there is a way I can edit device 2 so it has the same ID as device 1. Some kind of registry edit or something?
Sorry again if this post is not appropriate for this forum, but you guys seem to know the most about these kind of devices and if anyone knows the answer, theyd be on this forum. Thanks for your help.
Click to expand...
Click to collapse
Open your registry editor and change this key:
HKEY_LOCAL_MACHINE>Ident
Select 'Values'
Select 'Name'
and change the Value Data to the new name for your phone (no spaces)
Sorry to disappoint you but the method above will not work.
What you are seeing is what is know as UUID - a unique hardware based identifier that almost every PPC has.
Note the hardware based part - this means you can not change it with registry hack or any other way (I am not 100% sure but I believe it is derived from several hardware components like memory CPU etc).
The second problem is that you are basically trying to crack a program you should have paid for and we do not do this here.
(Yes there is a forum called 'development and hacking' but it is not this kind of hacking)
My suggestion to you is contact the app creator / vendor and see if you can get some sort of deal for your second device.

Card Emulation in general

Hi there,
right now I am researching for a possibility to emulate a smartcard with a smartphone. As we all know, the standard os and api won't let us do this. What I want to achieve is create a way to use the smartphone for physical access without the need to change the existing infrastructure. o achieve that, the smart phones gets a localy and time limited informationtoken it should present to the reader. In other words, I actually dont realy need access to the secure element, as any data would be temporary.
Right now I am a bit confused about this. Is there a way to use card emulation, without the need of a secure element? I have searched for different ways to acchieve this, but on many ends, I can't seem to find a definitv answer.
For example I stumbled on OpenNFC. They praise that they can acchieve card emulation. Yet, they don't provide any examples on this and fail to actualy deliver some sort of information on the requirements of this. As I understand it, it seems like this method only works when the smartphone uses Inside Secures Chips MicroRead or SecuRead. Anyone knows more about this?
I'm realy open to ideas on this one, as it seems theres little to no documentation or examples to go on.
I'd realy be happy to read about what you guys found out on this issue as of yet.
I've been looking into it too. This is what I have found:
EddieLeeDefcon20.pdf
nfcproxy
(Google them, I can't post links)
So, yeah, it can be done, but you have to modify android to be able to.
I ended up to OpenNFC too, but no sample code!
I have a good background on Mifare Classic 1K and 4K programming using RFM130 under linux and win.
Sent from my HTC One X using Tapatalk 2
Ok, so after browsing the mailinglist like a maniac I found this answer from one of OpenNFCs developers:
Hello,
The OpenNFC stack porting on Android complies to the Google API, as far as the applications are concerned.
Since these API do not allow an APK to do card emulation, it is not possible to use this mode on the Nexus,
nor on any Android phone, with or without OpenNFC.
However, OpenNFC provides card emulation feature for other porting (Win32, linux), depending on the hardware capabilities.
Kind regards,
Stephane
Click to expand...
Click to collapse
Source is on their mailing list on sourceforge, cant post link....
So seems we can forget this one... Only option would be using the Cyanogenmod patch that is used by NFCProxy.
When this message has been posted? I think things has changed (not sure)
Anyway, I posted a message yesterday to have more informations about their projects on Android
The Message is from March 29th, 2012.
Again as I said, if that has changed, they really have to work on their communication to the outside. There seems to be noone but the devs that can say anything about this. And that means quite a lot.
When there is no API for something, we can use native code and directly communicate to NFC hardware. Agree?
Sent from my HTC One X using Tapatalk 2
Well, the way I understand it is, that we could take a build of android and tinker with it to get it to work. We would have to change the NFC softwarestack and its interaction with the rest of the system in order to make software emulation possible. That is quite some pile of nontrivial work to do if you ask me.
Sorry for doing a new reply instead of editing the old one, but I think this is interesting enoug to not get overread.
I got an answer from the OpenNFC Developerteam regarding my question. Part of my question was also if it was possible to emulate for example a Mifare Tag through their NFC Stack. Here is the answer:
Hello XXXXX,
The Open NFC stack is designed to be largely hardware-independent, with a small adaptation module (NAL) for each hardware chipset. However, currently we only provide the NAL module for the MicroRead / Securead chipsets; therefore out of the box we are only compatible with these chipsets.
It is possible to emulate ISO 14443-4A and -4B cards and Type 4 tags from the Open NFC stack; for emulation of MiFare Tag, you’d indeed need to use a Secure Element.
Best regards,
Sebastien.
Click to expand...
Click to collapse
Hope this clears some questions regarding OpenNFC.

Hardcoded Password in GPS Library

Hey everyone, I've been a lurker for quite sometime, so I'm finally posting something. This is isn't in any of the dev sections because this is my first post.
When I first got my GNex (toroplus) was very annoyed with the capabilities of the gsd4t gps chip. Static navigation makes it really hard to use the chip for telemetry projects and the 1Hz position update doesn't give me enough sample data for the things I'm working on. I decided to do some investigation to see if it was limited to the hardware itself or the driver.
I scoured the forum, and tried a bunch of apps, found datasheets and the what not and nothing really improved my situation. I decided to take matters into my own hands and poke around lib_gsd4t.so (stock).
With verbose logging turned on, I noticed an interesting looking entry.
Code:
Hello EE downloder !!!.
{sgee.samsung.csr.com, instantfix.csr.com}, port : 80
Y3Nyc2xsOmROTkw5NnN1, /diff/packedDifference.f2p3enc.ee, format 2
EE_DOWNLOAD: EE_Download_Init done.
EE_Download_Init - returned 0 !!!.
EE_DOWNLOAD: EE_Download_Start successful.
EE_DOWNLOAD:EE_Download_Scheduler started; server_address=(sgee.samsung.csr.com,instantfix.csr.com), port=80, file=/diff/packedDifference.f2p3enc.ee
...
The string Y3Nyc2xsOmROTkw5NnN1 really stuck out to me. The character set fit in the base64 space which for some reason or another, developers seem to think base64 encoded text is somehow a good way to make things more secure. I have seen this numerous times. To me, it just makes it more noticeable that someone is trying to hide something.
So I went ahead and decoded the string and got
Code:
csrsll:dNNL96su
Just to be sure it wasn't some string unique to my phone, I checked where it most likely came from, which is the lib_gsd4t.so and it is indeed there (@offset 0x1b7429).
What's so special about that string?
I'm almost 100% sure that it is the username : password combo for downloading the SGEE data. I'm guessing it is using a post request (anyone wanting to use wireshark to packet sniff this can confirm) because there are extra parameters being used to retrieve the data.
Have I tried to access the file with those credentials?
No.
Why am I posting this?
I thought it was funny that the username and password are hardcoded in the driver and written to the logs. What's the point of having it password protected if you're just going to tell everyone the account credentials?
My actual job involves application security and I used this as an example for the other programmers on my team as to why we shouldn't ever mistake encoding for encryption and if you try to hide something, chances are you are actually drawing attention to it.
Oh also, is anyone interested in knowing more about the library. I have figured out quite a bit
How odd!
If you've figured out the gps drivers maybe you know how to make an updated file to disable static navigation? I op'd this thread http://forum.xda-developers.com/showthread.php?p=38684789 based on the ics version, but would love an android 422 based mod.
I posted my modded drivers. It may also require new configs.
afrotronics said:
I posted my modded drivers. It may also require new configs.
Click to expand...
Click to collapse
Did you ever figure out the proper request? (curl or wget?)

Trying to sideload an apk from NSZ-GS7. Can my rooted device be helpful to us?

In summary I am not a developer just an android enthusiast with a very good understanding of the rooting/modding side of the community on multiple devices. I am trying to side load some apk's from my rooted Sony nsz-gs7 to the firetv in hope to get the IP Bluetooth remote (NSG-MR5U) to work with it but that's aside the point as there is already a thread on that.
When trying to install any of the apk's from that device I get "INSTALL_FAILED_MISSING_SHARED_LIBRARY" and I was hopeful that someone with a bit more knowledge here could help me deduce how I can determine what shared libraries its missing. Maybe someone can shed some light on something I can look into to try and move forward. I might just be trying to make the impossible happen.
The other part of this post is I am curious seeing as I do have root access to the NSZ-GS7 and its IMO one of the few decent google tv devices out there with root is there anything on there that could be beneficial for future fireTV developers, such as information related to the search subsystem, default launcher, etc. It would be neat to see if maybe some of the NSZ-GS7's functionality could be ported over easily. Maybe not but I wanted to extend the offer since I may be one of the few that have it. Thanks for everything you guys are doing, things are shaping up nicely on our fireTV's!
mattgyver83 said:
In summary I am not a developer just an android enthusiast with a very good understanding of the rooting/modding side of the community on multiple devices. I am trying to side load some apk's from my rooted Sony nsz-gs7 to the firetv in hope to get the IP Bluetooth remote (NSG-MR5U) to work with it but that's aside the point as there is already a thread on that.
When trying to install any of the apk's from that device I get "INSTALL_FAILED_MISSING_SHARED_LIBRARY" and I was hopeful that someone with a bit more knowledge here could help me deduce how I can determine what shared libraries its missing. Maybe someone can shed some light on something I can look into to try and move forward. I might just be trying to make the impossible happen.
The other part of this post is I am curious seeing as I do have root access to the NSZ-GS7 and its IMO one of the few decent google tv devices out there with root is there anything on there that could be beneficial for future fireTV developers, such as information related to the search subsystem, default launcher, etc. It would be neat to see if maybe some of the NSZ-GS7's functionality could be ported over easily. Maybe not but I wanted to extend the offer since I may be one of the few that have it. Thanks for everything you guys are doing, things are shaping up nicely on our fireTV's!
Click to expand...
Click to collapse
I think it generically means you are missing part of the Google api or an associated apk. Have you added anything yet like google services framework?
Also, do NSZ-GS7 even run at least jellybean? if not that's one of your main issues. Most GTV apps prior to jellybean are totally different than normal android.
I finally figured out the deal with the missing libraries and now just have to troubleshoot a new issue with "INSTALL_FAILED_DEXOPT" which I'll chase down. Looks like the nsz-gs7 runs honeycomb 3.2 so not sure what that will mean in the long run but I'll keep fooling around with it while I still care. Thanks for the info so far.

Point me in the right direction!

Hello all!
I've been a creeper around here since 2010 (obviously not on the G4 forum), and I have just now decided to register. I got into rooting and ROM'ing with my Droid X, and now I'm a "phone enthusiast" (I suppose that's what you can call someone who irresponsibly spends money on different phones).
So I'm a third year Computer Security student at my University and I know languages like Java and C. Java, being the language that Android is based on, and C, being the basis for Linux systems, I would imagine to be very beneficial to me in Android development. Basically, what I'm trying to find is a good resource to tell me how all of the system image files work. I've had to reflash firmware plenty of times and know of the system files like system.img, boot.img, etc. and I want to know how they all work and work together.
My end goal is to be able to unlock the bootloader (which I imagine is decrypting the file and editing something within it) for the community. But, I can't even try to do that without knowing how all of this stuff works together and what exactly it means in the technical sense to unlock the bootloader.
Are there people on this forum who know or a resource to learn about this stuff, or a user who is experienced enough to explain to me how this all would work?
PS. I know there are some really smart people working on unlocking it, and I'm certainly not trying to jump in and act like I can do it. I'm just purely curious in trying to do this.
Thanks in advance!
dslappy

Categories

Resources