Values Are Not Changed Even After Spoof

Values Are Not Changed Even After Spoof

Hi, Guys What’s Up ?

Anyway Here Is The Small Snippet How Device ID Masker Works Out And Why Some Values Are Not Changed ?

In This Example We Will Take Model Number :-
Taking System Application Named “Device Settings” And Third Party App Named “App Info

Original Model Number :- “SM-G950H”

We Spoofed It To :- “SM-G980M”

Okay,So This Is How Apps Works

1. App Info :- To Get Model Number From System This Third Party App Have To Call System Like This

String modelnumber = fetch_model_number_from_the_system; // The result will be SM-G980M

2. Device Settings :- To Get Model Number From System This System App Have No Need To Call System Like This

String modelnumber = “SM-G950H”; // The result will be SM-G950H

Now As You Can See In Case Of Third Party Apps They Need To Call System To Get Model Number In Our Example And They get Spoofed Value Because Device ID Masker Will Interpret In That Call “fetch_model_number_from_the_system” And Will Result In Spoofed Value.

Where As In Case Of System Apps They Already Have Value Defined So We Can Not Change It, As It Is Hardcoded And While Compiling Developers Of OEM Have Put The Value Directly.

Also Some Of These Values Are Stored In device System Partition Etc, Rooted App Can Read This Data Using Root As Well.

Hope This Helps You Guys.

Comments are closed.