[APP] [ROOT] [Android 4.1+] [v1.109] Advanced Mac Changer - Android Software/Hacking General [Developers Only]

This Version of AMC is to be merged with a new project devloped by VIRB3b in future!
AMC is now available on the Google Play Store. Check it out!
https://play.google.com/store/apps/details?id=pythonlimited.amc
Disclaimer:
I'm not responsible for ANYTHING that happens to you or you're phone. By using my app you agree that you understand that.
What is AMC?
AMC(Advanced Mac changer) is a root application that can change your Android device's MAC address, based off nMAC by ViRb3.
NOTE THAT VIRB3 WONT GIVE ANY UPDATES TO HIS VERSION (See nil mac on xda).
Why?
There are a lot of privacy concerns regarding Android's static MAC addresses. The possibility of being tracked everywhere is just one of the problems involved. This app aims to solve this issue by giving you, the user, control over your device's wireless identity. AMC is intended to be used only for legal, non-malicious purposes, which do not involve unfairly abusing various wireless services. If you do not comply with these terms, please do not use this app.
Features:
Persistent change
Safe backup and restore of original MAC address
No reboot required (except Samsung devices)
MAC randomization functionality
Ability to set custom MAC address
Plus:
Ability to change devices hostname
ONLY FOR ANDROID 6 AND LOWER:
Option to patch browsers user-agent (only chrome and Firefox are supported)
Continued support
Officially supported devices:
Google:
Nexus 5X
Nexus 5 (never tested by user)
Samsung:
Generic Samsung layout should work on all devices
Tested on:
Samsung Galaxy S3 Neo
Samsung Galaxy S3 Mini
Samsung Galaxy S5 Mini
Samsung Galaxy J5
Samsung Galaxy A3
OnePlus:
One
One 2
One 3
OnePlus One layout provided by @topjor
Yu:
Yuphoria (never tested by user)
Yu Yuphoria layout provided by @GokulNC
Change log:
v.1.2 (future update 01.05.2017)
- we get rid of those ads
- I'd to recode everything cause I formatted my hard drive (stupid idea)
- just basic Mac functionality not all those add-ons
- checks if kernel is supported (RR or CyanogenMod/LineageOS)
- play store version discontinued due to lost keystore
- new app coming on play store soon
v.1.1
- PLAY STORE RELEASE
- Android 7.1 support
- various bug fixes
- no need for permissive mode anymore
v.1.0.9.1
- adds user-agent changer
- fixed serveral performance problems
v.1.0.9
- added hostname changer
- fixed some permission bugs
If I helped with your privacy, please leave a thanks.
Thank you!
Downloads see 3rd post.
Unsupported device?
Create a new device layout - See FAQ
Request support for your device
As usual, please report any bugs you may encounter.
Enjoy!

F.A.Q. :
Q: My Mac addrees wont appear at Start screen?
A: Set Kernel enforcing to permissive.
E: App sets enforcing now - no need for own task
Q: It always say there was an error while getting backups.
A: Go to Settings->Apps->AMC->Permissions and enable storage permissions.
Q: My phone can't connect to any Wi-Fi network after I change my MAC address!
A: The first 6 hex digits represent your device's manufacturer. You will get kicked from some routers if these digits are totally random. More here
Q: I messed up!
A: Restore the backup (original MAC address) by clicking on the button.
Q: I messed up and I deleted the app!
A: Reinstall the app and restore the backup (original MAC address) by clicking on the button. The backup file is saved on your external storage under /.amc/ and you may also restore it manually.
Q: My device is unsupported!
A: Create a new device layout
Request support for your device
Q: I really, really messed up and something doesn't work anymore
A: If restoring the backup doesn't help, try flashing your factory images.
Q: My device is unsupported. How can i request help and/or create a device layout?
A: Well that is the difficult thing. First you need to find out your mac address. That's easy.
Now comes the tricky part. You need to find a file where your mac address is inside. That could be like plaintext or the mac without ":". Sometimes there is something before the mac address like "INTfblablabla=". NOTE THAT MAC FILES UNDER
/SYS CANT BE CHANGED!!! If you found your file try the following things:
1. Try to change the last 2 numbers/characters of your mac and toggle and close airplane mode. After that close settings from ram and start again and check for the mac address if it has been changed.
2. Try a reboot if above don't works and even if. When the mac persists you are done. If not and it even hasnt changed it might be that your device is unsupported and/or your file is not that one we are searching for.
Q: My mac has changed to something different than entered!?
A: That can happen XD
If so restore your efs backup and/or install factory images from manufacturer.
Also under /sdcard/.nMAC you'll find a file called WLAN_mac.bin which is a copy of your original mac address file.

DOWNLOADS:

Thargorsson said:
Herr is the final Version as promised.
Enjoy and give me a feedback.
Click to expand...
Click to collapse
it's not working on my device anymore.

creative21 said:
it's not working on my device anymore.
Click to expand...
Click to collapse
What device do you habe?

Thargorsson said:
What device do you habe?
Click to expand...
Click to collapse
motoG3

creative21 said:
motoG3
Click to expand...
Click to collapse
Ah OK then i have to add it to my applications. (I havent know that there were other devices then Samsung nexus etc...
Can you tell me your devices Codename?

Thargorsson said:
Ah OK then i have to add it to my applications. (I havent know that there were other devices then Samsung nexus etc...
Can you tell me your devices Codename?
Click to expand...
Click to collapse
osprey
Sent from my MotoG3 using XDA Labs

And where your mac address is stored? (/efs or /persist)
And which file exactly contains the mac file and in which context (plain Text vor something other like intfmacAddress="yourmacaddress"

Thargorsson said:
And where your mac address is stored? (/efs or /persist)
And which file exactly contains the mac file and in which context (plain Text vor something other like intfmacAddress="yourmacaddress"
Click to expand...
Click to collapse
i dont have /efs folder but i do have /persist folder in root directory and there are wifi related files and folders. but i cant find "intfmacAddress" line

creative21 said:
i dont have /efs folder but i do have /persist folder in root directory and there are wifi related files and folders. but i cant find "intfmacAddress" line
Click to expand...
Click to collapse
Did you have a file named "WLAN_mac.bin"?
If so can you send me the content?

Thargorsson said:
Did you have a file named "WLAN_mac.bin"?
If so can you send me the content?
Click to expand...
Click to collapse
i can only find "WCNSS_wlan_dictionary.dat" using solid explorer's search function. but there is a wlan_mac.bin file in "internalstorage/.nMAC" folder , which only contains mac adress.

creative21 said:
i can only find "WCNSS_wlan_dictionary.dat" using solid explorer's search function. but there is a wlan_mac.bin file in "internalstorage/.nMAC" folder , which only contains mac adress.
Click to expand...
Click to collapse
Is there a file named .maccaddr in /persist/?

Thargorsson said:
Is there a file named .maccaddr in /persist/?
Click to expand...
Click to collapse
no

Thargorsson said:
Is there a file named .maccaddr in /persist/?
Click to expand...
Click to collapse
Or can you send me a ZIP oft your persist folder so thatbi can check all files?

Thargorsson said:
Or can you send me a ZIP oft your persist folder so thatbi can check all files?
Click to expand...
Click to collapse
Sent from my MotoG3 using XDA Labs

creative21 said:
Sent from my MotoG3 using XDA Labs
Click to expand...
Click to collapse
OK i havent found anything useful in the persist folder.
Did the nmac from virbr3 works?
The last Option you could check would be /sys/devices/soc.0/a000000.qcom,wcnss-wlan/wcnss_mac_addr
If everything failes run this Command From a terminal:
"su"
"find / | grep mac"
And then check the output files for a mac address.

Thargorsson said:
OK i havent found anything useful in the persist folder.
Did the nmac from virbr3 works?
The last Option you could check would be /sys/devices/soc.0/a000000.qcom,wcnss-wlan/wcnss_mac_addr
If everything failes run this Command From a terminal:
"su"
"find / | grep mac"
And then check the output files for a mac address.
Click to expand...
Click to collapse
the older version from vibr3 works fine, but i wanted the functionality to save mac adresses after reboot so i tried ur version.

And the Command does it gives an output?

@Thargorsson Thank you so much!! Working fine on my device????????
---------- Post added at 05:54 AM ---------- Previous post was at 05:46 AM ----------
Changing MAC seems fine. It randomizes well but there is problem in reverting back to original one by clicking restore . By clicking restore it basically reverts back to the last MAC that we used.

Related

[PROJECT][PORT] GNU softwares on Android [15/02/2014 updated]

About​
Android has being used in almost all type of devices from tiny smart watches to tablets , smart TVs and portable eboards like mk802 . It seems a complete operating system in term of games and useful applications but sth whichI think is a huge problem is that Android has very small parts of GNU, this makes Android not to be comfortable for advanced users , developers and programmers . also this would be a huge problem for users like me who do not access to their PCs but they want to have some capabilities in their phone . all this reasons made me to think about porting softwares from PC to my tiny Galaxy S Plus . but I had no PC and this was my huge problem in this road. finally I could get a small compiler and start porting more bigger softwares then I decided to make a project called GNU softwares on Android and gather all softwares under one project.
Click to expand...
Click to collapse
Features / list of Softwares​
all softwares are :
* Fully compiled with GCC 4.8.1/4.8.2 with Hardware floating point abi for better performance even comparing to similar smaller ones in busybox !
* Staticly linked with Musl Libc which is a lot more faster than Android's bionic or GNU's glibc with smaller size which makes them be small a lot more.
* Updated to latest ones in official repositories.
list of available softwares in my repository :
-bash -> a shell
-dash (not official GNU software but licenced under GPL) -> a shell
-patch -> generating patch files
-pexec -> parralel executing
-sed -> non-interactive stream editor
-grep -> finding patterns in files/streams
-gzip -> gnu z77 compressions algorithm implementation
-make -> makefile handler for creating automated build systems
-tar -> gnu tar archive software
-inet-utils -> utils for working with net (some utils of thid software has not been included)
-gawk -> gnu awk implementation
-marst -> algorithm 2 c convertor
-wget -> downloading files trough many protocols with proxy support
-units -> convert many units to each other
Click to expand...
Click to collapse
Downloading & Installation​
All softwares are stored in my public repository HERE
* For installing get softwares from their forlder in the repository , then unzip them and copy binaries to /system/xbin .
* For net related softwares there is also a reslov.conf which should be pushed to /etc/
Click to expand...
Click to collapse
Changelog​
--------15/02/2014:
*gzip: added new utilities and updated to R2.
*gzip: added new documentations to public repository.
*dash: disabled builtin printf to let ROM's printf be used instead.
---------14/02/2014
*initial release.
Click to expand...
Click to collapse
Disclaimer​
We distribute softwares in the hope that it will be useful, but without any warranty. No author or distributor of this software accepts responsibility to anyone for the consequences of using it or for whether it serves any particular purpose or works at all, unless they say so in writing. This is exactly the same warranty that proprietary software companies offer: none
Click to expand...
Click to collapse
Help the project​
maintaining a project with 2 millon lines of a code on a mobile is too difficult. this makes compiling large softwares like gcc impossible so I strongly need a donated VPS/dedicated server.
Click to expand...
Click to collapse
.........................
reserved
Awesome Job alireza7991! Hope this project is successful in the future.
Great will try this
Sent from my Nexus 5 using Tapatalk
Edit : because of busyboy installed in system/xbin, so I have to put the binaries in system/bin. and what can I say, ITS WORKING GREAT!
aLNG said:
Great will try this
Sent from my Nexus 5 using Tapatalk
Edit : because of busyboy installed in system/xbin, so I have to put the binaries in system/bin. and what can I say, ITS WORKING GREAT!
Click to expand...
Click to collapse
Most GNU softwares has no similar ones in busybox software set. so you should not worry about conflicting issues.
I've tried to push this file to xbin grep, patch, sed, tar and wget, but I got this : destination file exists. Enter new name. (These files from busybox)
So, what I have to do? Should I overwrite the file?
Sent from my LT15i using Tapatalk
eimoc said:
I've tried to push this file to xbin grep, patch, sed, tar and wget, but I got this : destination file exists. Enter new name. (These files from busybox)
So, what I have to do? Should I overwrite the file?
Sent from my LT15i using Tapatalk
Click to expand...
Click to collapse
1- rename files to another thing , e.g. patch -> gnu.patch
or
2- remove busybox ones(/system/xbin/*) and replace GNU ones . It's completely safe .
don't forget to push resolv.conf to /etc/ for wget.
Project status update.
2 new softwares added (inetutils + dash).
OP updated for more information.
alireza7991 said:
1- rename files to another thing , e.g. patch -> gnu.patch
or
2- remove busybox ones(/system/xbin/*) and replace GNU ones . It's completely safe .
don't forget to push resolv.conf to /etc/ for wget.
Click to expand...
Click to collapse
When I pushed resolving.conf to system/etc, I'm also getting the msg that the same file name exist.
Is there any suggestions? Tq
Sent from my LT15i using Tapatalk
eimoc said:
When I pushed resolving.conf to system/etc, I'm also getting the msg that the same file name exist.
Is there any suggestions? Tq
Sent from my LT15i using Tapatalk
Click to expand...
Click to collapse
no , I think you understood my post incorrectly;
do this steps :
1- Copy GNU softwares to /system/xbin/ and replace them with busybox ones.
2- If you are installing a wget or inet-utils then also copy resolv.conf to /system/etc
Project updated;
see OP for changelog and check repository for latest binaries and documentations.
alireza7991 said:
no , I think you understood my post incorrectly;
do this steps :
1- Copy GNU softwares to /system/xbin/ and replace them with busybox ones.
2- If you are installing a wget or inet-utils then also copy resolv.conf to /system/etc
Click to expand...
Click to collapse
Thanks for the explanations. Now its working great
Sent from my LT15i using Tapatalk
Project's files has been moved to a new powerful server with 1 GB RAM which is about 3X faster than pervious server.
please use this url to get files in new server:
http://afn7991.tk/goa
Hi alireza7991,
I'm new to all this and I'm interested in trying it out. Does this work on Samsung Galaxy Note II LTE? And if it does, do I need to download all the files and use it on my device? :/
RayySP said:
Hi alireza7991,
I'm new to all this and I'm interested in trying it out. Does this work on Samsung Galaxy Note II LTE? And if it does, do I need to download all the files and use it on my device? :/
Click to expand...
Click to collapse
Hi
1- It works on almost all devices with linux kernel and an ARM processor.
2- no, This is like Google play, you have a set of softwares available and you can install any softwares you want.
alireza7991 said:
Hi
1- It works on almost all devices with linux kernel and an ARM processor.
2- no, This is like Google play, you have a set of softwares available and you can install any softwares you want.
Click to expand...
Click to collapse
Thanks for the help mate.
P.S: I'm not to sure which software to select as I'm not used to all this stuff.
testing
testing right now on my mokee kk build ...
will feed back.
RayySP said:
Thanks for the help mate.
P.S: I'm not to sure which software to select as I'm not used to all this stuff.
Click to expand...
Click to collapse
I 've made a small description in OP but you can also search trough google. they are well documented. also I put some documentation in folder of each software.
alireza7991 said:
I 've made a small description in OP but you can also search trough google. they are well documented. also I put some documentation in folder of each software.
Click to expand...
Click to collapse
Alright sure. Will do that later on. I'm sorry if I bother you too much. :/ And Thanks for the help alireza7991. Cheers!
kewl its working....
how about nano or vim? is it possible?
btw i already have wget installed, i think it come from busybox

[CM12/12.1-UPDATED] S4 Display Color Profiles for CyanogenMod 11, 12, 12.1

### CM12(.1) UPDATE ### (see bottom)
Hey Folks,
are you also tired of the oversaturated colors of the S4 amoled display??
I found out that the S4minisettings.apk, that was originally developed for the S4 Mini by @F4k to regulate the saturation and other colour concerning features, does the job for the S4 aswell! It works very similar to the colour profiles built into samsung stock roms.
After installation you can find a new settings option "advanced settings" in systemsettings/display just like they're are built in into the carbon roms.
Installation:
Download the apk from the link below.
Then you have to manually put the s4minisettings.apk to /system/app and after that it's very important to set ownership and permissions as follows:
Owner: root, root
Permissions: rw,r,r (644)
reboot!
The main option to reduce the saturation is called "Mode - Set the mDNIe mode". I choose "natural" and the oversaturation of the display is gone!
Some other options don't apply until you switch screen off an on once.
___________________________________________________
The apk can be downloaded here:
http://forum.xda-developers.com/attachment.php?attachmentid=2443961&d=1386605141
original thread here (search for F4K's post):
http://forum.xda-developers.com/showthread.php?t=2558702&page=11
you may also want to have a look at s4miniarchive who did a good article/video about it:
http://www.s4miniarchive.com/2014/01/enable-color-saturation-galaxy-s4-mini-cyanogenmod11.html
all thanks go to @F4k for creating this nice apk!
###CM12(.1)-Instructions###
So, f4k made a new lollipop version of this tool S4MiniSettings and built it into his S4 Mini cm12 rom. I extracted it and offer it to you for download.
Instructions:
- extract zip
- copy the folder "S4Minisettings" to /system/app folder
- set permissions of the folder to rwxr-xr-x (755), the apk to rw-r--r-- (644)
- reboot
- after reboot there is a new icon in the app drawer
- if you prefered the setting "natural" from the kitkat version, now choose "movie"
Notes:
- Important: SELinux level higher than "strikt"/"enforcing" is needed to write to system folder and/or set permissions, and the apk to be loaded at boot. Custom kernels like Alucard mostly got SELinux set to "moderat".
- Don't be confused about the app name - it does work with the S4 - definitely!
Doesn't S4 4.4.2 have this by default? I can do same changes through my Display settings - no need for additional apk.
I use kernel perseus to better experience with real colors.
Enviado do meu GT-I9500
creage said:
Doesn't S4 4.4.2 have this by default? I can do same changes through my Display settings - no need for additional apk.
Click to expand...
Click to collapse
The "S4" has this by default in the Touchwiz ROM it ships with, but this thread is about CyanogenMod.
Speaking of which, it possible to adjust color cast in CM11 on my Note 8.0 under Display/Display Advanced. Maybe this feature will also come to CM11 on the i9500.
When i reboot nothing happends :/ i have everything like you said, bit it doestn appear. I have cm 11 snapshot m3, help?
Or does this only work on nightlies build?? :crying:
elmaku said:
When i reboot nothing happends :/ i have everything like you said, bit it doestn appear. I have cm 11 snapshot m3, help?
Click to expand...
Click to collapse
Did you set the permissions and owner correctly? Otherwise it can't work.
Peter Semper said:
Did you set the permissions and owner correctly? Otherwise it can't work.
Click to expand...
Click to collapse
the permissions are exactly like you have it, but still its not working. It doesnt scan my apps when I reboot :/. Also worth noting, every time i go to see the permissions or change it it says in a square. "The current file system is read-only. Do you want to remount as read-write and continue the operation?" I click yes, then i change it rw--r--r and reboot and nothing happends. When I go check it againg is the same prosses all over againg.
Edit: Also, in my settings I have Display & lights instead of "Display" as the video shows. I know nothing and I understand this may be a dumb question, but it may had to do with the problem? sorry.
Over-saturated colours of S4? Oh Dear Lord :|
elmaku said:
the permissions are exactly like you have it, but still its not working. It doesnt scan my apps when I reboot :/. Also worth noting, every time i go to see the permissions or change it it says in a square. "The current file system is read-only. Do you want to remount as read-write and continue the operation?" I click yes, then i change it rw--r--r and reboot and nothing happends. When I go check it againg is the same prosses all over againg.
Click to expand...
Click to collapse
Which file manager do you use? "root explorer" i.e. has sometimes problems and sais it's write protected. I use "root browser" which does a good job, mostly.
devilsdouble said:
Over-saturated colours of S4? Oh Dear Lord :|
Click to expand...
Click to collapse
killjoy
Peter Semper said:
Which file manager do you use? "root explorer" i.e. has sometimes problems and sais it's write protected. I use "root browser" which does a good job, mostly.
Click to expand...
Click to collapse
I have used both! and none of them works when I reboot . Man what a bad luck I have.
elmaku said:
I have used both! and none of them works when I reboot . Man what a bad luck I have.
Click to expand...
Click to collapse
And also tried the file manager provided with cm 11? Just have to "unleash" it in the options, I mean enable root mode.
Peter Semper said:
And also tried the file manager provided with cm 11? Just have to "unleash" it in the options.
Click to expand...
Click to collapse
Nope... just tried it and it doesnt optimize the apps when rebooting. I'm stuck.
elmaku said:
Nope... just tried it and it doesnt optimize the apps when rebooting. I'm stuck.
Click to expand...
Click to collapse
Very strange, you must have done something wrong.
Peter Semper said:
Very strange, you must have done something wrong.
Click to expand...
Click to collapse
I really don't understand :/... It is just not detecting it... maybe an option I have enable? I hate these saturated colors... :/ maybe it is only on nightlies?
Another options
splitterzelle said:
Hey Folks,
are you also tired of the oversaturated colours of the S4 amoled display??
I found out that the S4minisettings.apk, that was originally developed for the S4 Mini by F4K to regulate the saturation and other colour concerning features, does the job for the S4 aswell! It works very similar to the colour profiles built into samsung stock roms.
....
The apk can be downloaded here:
http://forum.xda-developers.com/attachment.php?attachmentid=2443961&d=1386605141
....
all thanks go to F4K for creating this nice apk!
Click to expand...
Click to collapse
This apk requires way too many permissions for the task it performs... Suspicious...
There is another option: KTweaker tool which comes with Ktoonsez kernels also allows to modify this setting (works with CM11 kernel, not only with Ktoonsez) .
After all this setting can be set via kernel "/sys" filesystem. From terminal emulator execute command:
Code:
echo 2 > /sys/class/mdnie/mdnie/mode
To make this change permanent (survive reboots and ROM updates) one may use init.d supplied with CM11, and create additional script in /data/local/ (in this location script will survive CM update).
Seems like init.d in CM11-M10 doesn't start scripts in /data/local/userinit.d/ directory, so the only option is to place script code to /data/local/userinit.sh
Permissions of this script must be set to 0755 (-rwxr-xr-x).
For anyone who interested in adopting this method I've prepared template script (also it sets some other available screen options, not only mode):
Code:
#!/system/bin/sh
# For SGS4 screen mode can be chosen from:
# 0 - STANDARD
# 1 - DYNAMIC
# 2 - MOVIE
# 3 - NATURAL
echo 3 > /sys/class/mdnie/mdnie/mode
# For SGS4 screen scenario can be chosen from:
# 0 - UI_MODE
# 1 - VIDEO_MODE
# 2 - VIDEO_WARM_MODE
# 3 - VIDEO_COLD_MODE
# 4 - CAMERA_MODE
# 5 - NAVI
# 6 - GALLERY_MODE
# 7 - VT_MODE
# 8 - BROWSER
# 9 - eBOOK
echo 0 > /sys/class/mdnie/mdnie/scenario
# Other parameters are boolean: 0 - Disabled, 1 - Enabled
echo 0 > /sys/class/mdnie/mdnie/negative
echo 0 > /sys/class/mdnie/mdnie/outdoor
Additionally I've prepared TWRP (CWM should work also, but I've not tested) installable version of this script (see attachment).
In that case if you dislike my default setting you'll need to unpack it, edit "data/local/userinit.sh" and pack it back using zip.
PS
This MAY work with other Samsung AMOLED devices. I can confirm that it works with galaxy tab 7.7 (p6800).
qolob said:
This apk requires way too many permissions for the task it performs... Suspicious...
Click to expand...
Click to collapse
It's not suspicious in any way! The developer f4k who wrote this little apk is a very honorable guy, just have a look at his profile and all of the work he does...
This apk does the job perfectly and doesn't do any harm to nothing.
Your remark/comment is very unnessessary here. So why don't you go start a thread your own instead of lousing this one up?
splitterzelle said:
It's not suspicious in any way! The developer f4k who wrote this little apk is a very honorable guy, just have a look at his profile and all of the work he does...
This apk does the job perfectly and doesn't do any harm to nothing.
Click to expand...
Click to collapse
I'm not trying to blame anyone in anything.
I'm not a pro in android programming and maybe such permissions are implied to all apk's that manage system settings.
However I can't see any reason for app that manages screen settings to require permissions to make calls, access user contacts etc. and it seems suspicious to me. That's all.
splitterzelle said:
Your remark/comment is very unnessessary here. So why don't you go start a thread your own instead of lousing this one up?
Click to expand...
Click to collapse
When I was searching how to setup screen settings in CM11 on SGS4 I've found only this thread. And when I've managed to solve this problem with alternative method I've decided that other users maybe interested in this information. I've posted to Your thread because I thought that it is a good idea to post all possible solutions for 'S4 amoled display colour profiles with cyanogenmod 11' in one thread to help other people find them quickly and in one place.
Sorry if I was wrong and violated something.
qolob said:
I'm not trying to blame anyone in anything.
I'm not a pro in android programming and maybe such permissions are implied to all apk's that manage system settings.
However I can't see any reason for app that manages screen settings to require permissions to make calls, access user contacts etc.
...
Sorry if I was wrong and violated something.
Click to expand...
Click to collapse
Mostly when there are high ranking permissions for an app requested, it isn't because of maliciousness of the author, it's often just carelessness of the creator not deactivating them in the building tool's presets he uses.
And after all, just don't be so mistrustful about things coming from senior xda developers......
This method I announced here is very simple to install, safe and works perfectly even with the latest nightlies so far.

[App][2.3+] EFS ☆IMEI☆ Backup

☆Root required☆
☆It supports all Samsung devices!☆​
It's aimed to support all Samsung devices running Android 2.3+ for the EFS feature.
This application let you save a backup of your EFS partition on any Samsung device running Android 2.3+, this help you to keep your IMEI safe from getting corrupted after any bad Rom flashing issues, this is a common issue with Samsung devices, if somehow you lost your IMEI, you won't be able to get registered and connected to any mobile network.
User will be prompted to choose which partition to backup within all partitions list when there is no EFS partition on his device.
With this application you can also backup any other partition, just make sure you have enough space for bigger partition on your device sdcard.
What's new compared to other EFS backup Apps?
This application was made to be a generic solution for all Samsung devices, it does NOT use any static block numbers.
This App support 3 backup formats:
Stock image copy (img)
Tar archived image (No compression)
Compressed GZ image (Small size)
Notes:
The backups are saved on /Sdcard/EFSBackups.
Do NOT leave the EFS backup on your Sdcard, make sure it is saved on a safe place
It supports stock and custom Roms (CM, Omni...)
Bugs reports:
Post your Exact device model
PM me your logcat (you can use Syslog App)
Download.
Changelogs:
1.2.2:
- Few compatibility improvements for older devices.
1.2.1:
- Improved multi-partitions backup process
- Improve sdcard mount point detection
- Many other compatibility fixes with custom Roms (CM, Omni...)
- Add and option to remove ads
- Expand support to all Android devices (User will be prompted to choose which partition to backup when there is no EFS partition on his device).
1.2.0:
- Add partitions backup option
- Bug fixes
1.1.0:
- Minor bug fix
- Add some sanitation checks
1.0.2:
- Minor bugs fixes
- Add restoration feature.
- Sanitize the restoration.
- Remove a useless permission
1.0.1:
- Minor bugs fixes
- Add restoration feature.
- Sanitize the restoration.
Suggestions are welcome, if you like the application please rate it.
Useful tool,used and my efs are saved.Thnx
Envoyé de mon SM-N910F en utilisant Tapatalk
Tested in galaxy note 2 and it works well
Thanks
@wanam any chance of gingerbread update?
killoid said:
@wanam any chance of gingerbread update?
Click to expand...
Click to collapse
Yes, it can be done, i restricted the min api level to 3+ only because i need a tester for older devices.
I will PM you later.
@killoid Here is an update with untested Gingerbread support, try it and let me konw if it works.
this supports note 4 (910F) ?
SavanTorian said:
this supports note 4 (910F) ?
Click to expand...
Click to collapse
Yes (see second post), it supports all Samsung devices.
wanam said:
@killoid Here is an update with untested Gingerbread support, try it and let me konw if it works.
Click to expand...
Click to collapse
@wanam it can't detect my efs partition.screenshot attached.
Successfully created a backup for my SGS Captivate running CM10.1.3 (Also transferred to my laptop with my first adb pull.)
I hope I never have a need for it.
Thank you wanam.
You are a start Wanam. Actually FIVE of them :=
Works great on Galaxy Note 3 with 4.4.2:good:
Famous Work, Mr. Wanam! Many THX for your always hard developing work!
dawgdoc said:
Successfully created a backup for my SGS Captivate running CM10.1.3 (Also transferred to my laptop with my first adb pull.)
I hope I never have a need for it.
Thank you wanam.
Click to expand...
Click to collapse
And,
it worked just as well with my SGS3 d2att running TMS3 (4.3) Rom
thanks
wanam said:
☆Root required☆
☆Samsung devices only! ☆​
Thank you wanam... App worked beautifully..
Click to expand...
Click to collapse
wanam said:
@killoid Here is an update with untested Gingerbread support, try it and let me konw if it works.
Click to expand...
Click to collapse
killoid said:
@wanam it can't detect my efs partition.screenshot attached.
Click to expand...
Click to collapse
it can work if you make option to choose partition by user
and user can extract the kernel and check fstab its efs partition point and put it and backup
Jasi2169 said:
it can work if you make option to choose partition by user
and user can extract the kernel and check fstab its efs partition point and put it and backup
Click to expand...
Click to collapse
Great idea, it's in my todo list.
Is it work on custom rom? like ParanoidAndroid?
The app successfully located the EFS location. So I try to make a backup, and it says successful. But, I don't see any folder called EFSBackups on sdcard directory. (both sdcard0 and sdcard1 (even sdcard2)
Samsung Galaxy SIII Mini (GT-I8190) running ParanoidAndroid-4.6-Beta5-unofficial.
While I can't make any efs backup, I just translated your apps to Indonesia through the app menu Maybe there should be an option to save the EFS on custom location. Will PM the syslog.
blacky2198 said:
Is it work on custom rom? like ParanoidAndroid?
The app successfully located the EFS location. So I try to make a backup, and it says successful. But, I don't see any folder called EFSBackups on sdcard directory.
Samsung Galaxy SIII Mini (GT-I8190) running ParanoidAndroid-4.6-Beta5-unofficial.
While I can't make any efs backup, I just translated your apps to Indonesia through the app menu Maybe there should be an option to save the EFS on custom location. Will PM the syslog.
Click to expand...
Click to collapse
I am facing the same problem: I can't find the EFSBackups folder anywhere.... I can locate my EFS folder though.
Would really like to be able to choose a specific backup lcoation.
ROM: CM11 unofficial
Device: Note 3 N9005

Fix Wi-Fi MAC address issues(change MAC) - Xperia-L [MM-N]-[All-Custom-ROMs]

Some old bug!
Hi. This issue was my little & old struggle since upgrading to android MM (and now N), that my mac address was changed to "00:0a:f5:89:89:ff" and I couldn't change it to original (or other) in any way. I finally found a simple and ridiculous solution for this issue by the help of this thread:
HTML:
https://forum.xda-developers.com/showpost.php?p=37267821&postcount=1
It is a simlinking problem and I request devs to fix this in their ROMs
And the solution:
First turn off your wi-fi.
Then, use any root file manager (e.g. ES) to go to this path "/system/etc/firmware/wlan/prima" and open "WCNSS_qcom_cfg.ini" and find the line starting with 'Intf0MacAddress=' and edit the value to any hex type of mac address you wish. At the end, save the file and turn on wi-fi and check the mac address! Now it should've changed.
I tested this on Resurrection Remix MM and it worked well. It should work on android N too. please test and report the results. Thanks
And please note that: The new mac address may or may not change to default AFTER RESTARTING PHONE!
I forgot to mention that you should just use a value between '0-9' & 'A-F' in mac address, because this is the structure of Hex types!
Some good news!
I've tested this method in Resurrection Remix MM ROM and it is restart resistant! That means it will permanently change mac address!
It may work for other ROMs too. So test it yourself
I use AOKP ROM. Sometimes after the reboot everything is ok and then again ...!
I have a second file saved and renamed, so that I can switch between the two and not always have to repeat everything!
But I have to say, my XL has sometimes quirks!
~(*_*)~ ???fallen down too often; maybe??? ~(+_+)~

[GUIDE][APP][ANDROID]DualBoot Patcher on Unsupported Devices, Add Official Support

DualBoot Patcher - Add Support
(Unofficial & Official)​
Dualboot patcher is an open source project that makes an android phone compatible with multiple roms by patching them.That is we can install more than one rom on an android device at a time. But we cant use both at the same time,a restart is required to switch between roms. This awsome app is contributed to the android world by @chenxiaolong.
Pre Requirements :
Device must be rooted.
Custom recovery (twrp/cwm) should be installed.
Basic knowledge about rom flashing.
Patience
Active brain.
Can I use it on my x device right now ?
Check here the list of supported devices -Supported Devices
If your device is listed, its well and good download only the app from below links.
Downloads :
Download the app from
Mediafire
Or official server -
https://dbp.noobdev.io/downloads/
Code:
These are releases automatically built from the source by the continuous integration server.
Due to the constantly changing nature of the ROM development community, DualBootPatcher has many incremental releases as opposed to large, infrequent releases.
These releases contain the latest and greatest features, but may also have unforeseen bugs.
Be sure to make backup before installing and using these builds!
Terminal Emulator
Other Patches :
GET_PROP ; Mirror
PATCH_DATA ; Mirror
Your device is not in the list..?? Then you are at right place
NOTE: If you are new to dual boot patcher, and don't know to unbrick in case of soft/hard bricks, first take a full backup before doing anything.
Im not responsible for anything that happens to your device
Common Steps :
First download and install the app from any of the above links, open roms section.
Grant all the permissions including root permissions.
you need bellow properties (info) of your device
Code names of your device.
Archetecture.
All mount point and block device path details.
Mandatory (for boot ui) :-
Cpu temp path, brightness control path.
Flags for bootui
Grafics backends
For more info
To get these info,
Flash this from twrp and you will get most of the required details - GET_PROP
This works on all mtk 64bit devices,( should work on others also).
But details for boot ui may not be proper for all devices, you have to check it yourself.
After flashing this,
two files - info.txt and <brand_name>.yml are created in internal storage. You can edit them with any text editors if you find some details are Wrong or Missing !
Method 1: Patching data of DBP to work with your device
In this method, we required info.txt that is created on internal, make changes in it if required.
Make sure you have already downloaded, installed the app and opened roms section.
And also flashed GET_PROP.zip from link given above.
Then go to twrp and flash this script - PATCH_DATA
It will patch data of dbp app and makes it work with your device(it will takes the info from info.txt)
Now boot to system and open Terminal Emulator,
type :-
Code:
su
dbp.sh
Your device should support now.
For confirmation ->
it should ask to set kernel when you open roms section.
Set kernel, update-ramdisk in primary-rom's options, do not reboot.
Install boot ui in settings.
Now reboot to check whether boot ui is working or not.
A twrp like screen will appear during boot if its working.
If boot ui is not working, try to change graphics backends value in info.txt and reflash PATCH_DATA
No worries if boot ui is not working, you can still use the app to dual boot roms on your device
Click to expand...
Click to collapse
Method 2 : Add Official Support
In this method, you have to add the device definition to the SOURCE of DualBoot Patcher.
<brand_name>.yml created in internal can help us in doing this.
Do the required changes in it using any text editor.
(like adding some codenames used in custom roms, remove bootui part if it is not supported).
First LogIn to your github account or SignUp for free.
If ur using in mobile,Select desktop version at right bottom.
Fork DualBoot Patcher from SOURCE to your git account.
(fork option is at right top.)
Now head on to your git account, open DualBoot Patcher repo.
Check whether there is your <brand_name>.yml at /data/devices/<here>
If it is already there :- just copy all the contents of your yml file to that in git.
If the file does not exist, you have to do two things
Upload yml file to /data/devices/<here>
Edit /data/devices/CMakeLists.txt - add your <brand_name>.yml in the list
Now the source of Dual Boot Patcher that supports your device is ready in your git account.
Either you can compile the app by yourself :- Procedure ( need a lnux pc or linux server )
Or :-
Select New pull request(in your git account).
Select the same in next page also to confirm pull request.
You will have to wait for some time, and the admins will verfy your pull request,
If it is all proper, they will merge it to source.
The next release of the app will have official support to your device.
After getting support for your device, if you are strugling to use it,
Just google or youtube for dual boot patcher.
Its way of use are same on almost all devices.
Click to expand...
Click to collapse
Original thread by Chenxiaolong
https://forum.xda-developers.com/android/development/tutorial-dual-boot-roms-patcher-t3559254
Common Q &A :
This is too lengthy, it totally went over my head. Won't it be much simpler..??
1. Just download apps and patches from download section.
2. Install app, open roms section there.
3. Now reboot to twrp,
flash GET_PROP.zip and then flash PATCH_DATA.zip(should be in this order)
4. Reboot to system, open terminal emulator app and type :-
Code:
su
dbp.sh
5. Now DualBoot Patcher should work on your device
Click to expand...
Click to collapse
Something went wrong.I need help...
You are most welcome...
But please come up with info.txt, <brand>.yml and MultiBoot/devices.json
that are created in the storage(internal or external, & mention it)
Dont forget to have look into comment section befor reporting, it may solve your probleams sometimes.
Click to expand...
Click to collapse
Stuck at Roms section, what can be done.??
Probably it is not possible to make a full support for your device,
But still its possible to dual boot using this app,
But you need to try lot of workarounds by your own.
Click to expand...
Click to collapse
Not showning any device in patch roms section..!!
1. Find patched devices.json yourself,
2. Place it in internal storage.
3. Create it's symlink to /data/data/com.github.*/files/*/here.
(You can use Root Browser or romtoolbox)
Click to expand...
Click to collapse
Good @Uday Hegde.
It will help a lot of people.
kuberrocks96 said:
Good @Uday Hegde.
It will help a lot of people.
Click to expand...
Click to collapse
Thanks
flashing GET_PROP.zip and twrp says Failed to detect block devices aborting cant flash this zip
kutlay1653 said:
flashing GET_PROP.zip and twrp says Failed to detect block devices aborting cant flash this zip
Click to expand...
Click to collapse
Your device..??
Can u provide /etc/recovery.fstab from your recovery..??
Get_prop.zip have some limitations, ill try to fix them..
Uday Hegde said:
Your device..??
Can u provide /etc/recovery.fstab from your recovery..??
Get_prop.zip have some limitations, ill try to fix them..
Click to expand...
Click to collapse
Mt6592 General Mobile etab5 fstab in zip file
kutlay1653 said:
Mt6592 General Mobile etab5 fstab in zip file
Click to expand...
Click to collapse
Check with this...
Ill add it to the main thread if its working...
Uday Hegde said:
Check with this...
Ill add it to the main thread if its working...
Click to expand...
Click to collapse
it worked but when i try to patch a rom on dualbootpatcher it gives fc any idea?
Edit i forget update ramdisk but when i try update ramdisk app says cant update ?
kutlay1653 said:
it worked but when i try to patch a rom on dualbootpatcher it gives fc any idea?
Edit i forget update ramdisk but when i try update ramdisk app says cant update ?
Click to expand...
Click to collapse
Sorry, i hav no idea about that issue
You may try with older vesions...
Wait @kutlay1653 check this :-
Uday Hegde said:
Please check there is /sdcard/Android/devices.json file, manually copy it to /data/data/com.github.chenxiaolong.dualbootpatcher.snapshot/files/data-9.2.0.r199.gcfbba1c6/here
Click to expand...
Click to collapse
I have successfully edited the info.txt and *.yml files accordingly to my device but when I tried to patch it gives that "Could not determine the boot partition because this device's codename 'G42' is not recognized
Mohd.faraz.abc said:
I have successfully edited the info.txt and *.yml files accordingly to my device but when I tried to patch it gives that "Could not determine the boot partition because this device's codename 'G42' is not recognized
Click to expand...
Click to collapse
Please check there is /sdcard/Android/devices.json file, manually copy it to /data/data/com.github.chenxiaolong.dualbootpatcher.snapshot/files/data-9.2.0.r199.gcfbba1c6/here
Uday Hegde said:
Please check there is /sdcard/Android/devices.json file, manually copy it to /data/data/com.github.chenxiaolong.dualbootpatcher.snapshot/files/data-9.2.0.r199.gcfbba1c6/here
Click to expand...
Click to collapse
Tried and now same error and one more thing I think this is responsible for this. Please see attachment
Can't download patch_data.zip....
It says authorised download...
sagargjasani264 said:
Can't download patch_data.zip....
It says authorised download...
Click to expand...
Click to collapse
Mirror added in download section..
Mohd.faraz.abc said:
Tried and now same error and one more thing I think this is responsible for this. Please see attachment
Click to expand...
Click to collapse
Its an issue that dualboot patcher app can't read device.json file after modification, though i fixed correct uid,gid and permissions.
So i placed the file in internal and created a symlink to its data directory.this actually worked for me
Let me try some other workarounds and i will try to fix it..:good:
After flashing patch_dat.zip whenever i try to open ROMS options, it app force closes..
sagargjasani264 said:
After flashing patch_dat.zip whenever i try to open ROMS options, it app force closes..
Click to expand...
Click to collapse
This is the issue with latest app, that issue is even exist on supported device(coolpad note 3 lite)
Use older app, (u can use the one given in download section, mediafire link)
Stuck at this section
kutlay1653 said:
Stuck at this section
Click to expand...
Click to collapse
Ohh
Thats new issue that i saw..?

Categories

Resources