[APP] [ROOT] [v1.01] nMAC - Nexus MAC Changer - Nexus 5X Themes and Apps

MOVED: http://forum.xda-developers.com/android/software-hacking/app-nmac-nil-mac-changer-t3391283

F.A.Q. :
Q: My phone can't connect to any Wi-Fi network after I change my MAC address!
A: Make sure that you haven't changed the first 2 bytes of your original MAC address. Although more than one acceptable combination is available, you will be unable to connect if those 2 bytes are invalid.
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 /.nMAC/ and you may also restore it manually.

Change log:
12 May 2016 - v1.01
Removed arm64-v8a ABI
Faster app startup
Reduced app size
7 May 2016 - Initial release - v1.0

/Reserved

Looks quiet good bro.
You can also add support for a huge range of Samsung devices.
They're storing their mac addresses at <<consored>>
If you want further information just ask.

Updated to v1.01! Change log in 3rd post.

nMAC has officially moved to Android Software Hacking with support for more, non-Nexus devices!

@ViRb3
I need some help please...
In short: before one week my phone stops to connect to my corporate network - didn't wont to obtain IP address. And after several attempt from my side to change login parameters - DHCP, ststic adderss & etc. I decided to change my MAC address with "Change my MAC"... before the change i have created screen-shot with original MAC. But unfortunately the program does not want to revert the address back. I'm stuck on randomly generated MAC from the program. Last ting that I have made i to restore my EFS Backup. Yes, I have received new MAC address but the new address is still not the original one. Also i found that the corporate Cisco router identifies my phone not as a LG Electronic & nexus 5x, but as a Qualcomm device.
After quick research I have found your program but after installation I'm receiving err msg - your device is not supported...
Can you give me advice - how to restore the original MAC address (I have the original one as prtscr), also I have EFS Backup and full factory image backup of my phone that I have made on the day that i have bought the device (but i want to use it as a last resort)...
Thanks in advance.
BR
nunu

dr.nunu said:
@ViRb3
I need some help please...
In short: before one week my phone stops to connect to my corporate network - didn't wont to obtain IP address. And after several attempt from my side to change login parameters - DHCP, ststic adderss & etc. I decided to change my MAC address with "Change my MAC"... before the change i have created screen-shot with original MAC. But unfortunately the program does not want to revert the address back. I'm stuck on randomly generated MAC from the program. Last ting that i have made i to restore my EFS Backup. Yes, I have received new MAC address but the new address is still not the original one. Also i found that the corporate Cisco router identifies my phone not as a LG Electronic & nexus 5x, but as a Qualcomm device.
After quick research I have fount your program but after installation I'm receiving err msg - your device is not supported...
Can you give me advice - how to restore the original MAC address (I have the original one as prtscr), also I have EFS Backup and full factory image backup of my phone that i have made on the day that i have bought the device (but i want to use it as a last resort)...
Thanks in advance.
BR
nunu
Click to expand...
Click to collapse
Don't panic and check PMs

dr.nunu said:
@ViRb3
I need some help please...
In short: before one week my phone stops to connect to my corporate network - didn't wont to obtain IP address. And after several attempt from my side to change login parameters - DHCP, ststic adderss & etc. I decided to change my MAC address with "Change my MAC"... before the change i have created screen-shot with original MAC. But unfortunately the program does not want to revert the address back. I'm stuck on randomly generated MAC from the program. Last ting that I have made i to restore my EFS Backup. Yes, I have received new MAC address but the new address is still not the original one. Also i found that the corporate Cisco router identifies my phone not as a LG Electronic & nexus 5x, but as a Qualcomm device.
After quick research I have found your program but after installation I'm receiving err msg - your device is not supported...
Can you give me advice - how to restore the original MAC address (I have the original one as prtscr), also I have EFS Backup and full factory image backup of my phone that I have made on the day that i have bought the device (but i want to use it as a last resort)...
Thanks in advance.
BR
nunu
Click to expand...
Click to collapse
Just a Short question, die you solve the Problem?

Thargorsson said:
Just a Short question, die you solve the Problem?
Click to expand...
Click to collapse
Yep, ViRb3 was so kind to spend couple of minutes to chat with me and yes... everything is OK now.
BR
nunu

Related

SOLVED: VISTA keeps changing my Device ID -- breaks registered apps

After 15 minutes of searching, and finding no answers, I decided to post this question.
When I sync with Windows Vista's Mobile Device Center, everything syncs just fine. The only problem is that Vista changes my Device ID to WINDOWSMOBILEXX where XX is usually around 70-99. (So something like WINDOWSMOBILE74). This breaks all my registered apps that expect my device id to be "Swingheim_xDA".
In Vista, I found the registry key where Mobile Device Center stores the device id. It is:
HKCU\Software\Microsoft\Windows CE Services\Partners\d93f4596\DisplayName
Currently, it is WINDOWSMOBILE87.
Here are the steps I took:
Changed the registry key in Vista to "Swingheim_xDA".
Changed my PDA's Device ID (Start->Settings->System->About->Device ID) to "Swingheim_xDA"
Sync'd
Vista changed the DisplayName in the registry to WINDOWSMOBILE73. It also changed the Device ID to the same thing.
I have checked every single setting in Windows Mobile Device Center, and have found nothing.
Any ideas?
Yes, I can edit the Device ID, and change it back, but that is really starting to get old, having to do that every time I sync.
TIA
---- SOLVED!
See post #10 below.
* bump *
Anyone?
i'm having this problem as well, i've posted it on the m$ forums but nobody answered!!
really getting fedup cos some of my apps rely on device id for registration!!
everytime i sync the device id changes to windowsmobilexx, when i change it with cable plugged in, an error says that there is already a device there. deleted all the settings on wmdc but same thing happens again & again....
With how many apps out there that use the device id to register their software, you think a lot more people would be raising a complaint about this ...
my suggestion - downgrade to vista
neptune said:
my suggestion - downgrade to vista
Click to expand...
Click to collapse
do you mean downgrade to xp?? coz we are using vista..... heheh
nobody else has this problem???
Hi,
Vista 32bit here, and it doesn't change my device ID automatically.
So probably a configuration issue.
Does this on my device, anyone with a solution yet?
Solution!
If you have VISTA, then Mobile Device Center DOES change your device id. If you don't think it does, then you are not checking the right value.
Here is the solution: Don't use the device-id! When programs that use the device-id go to check if your name matches up with their code, it first looks to the Owner Name, THEN to the device-id.
Case and point. My owner name of my device was blank. I used my device-id to register phoneAlarm and HiCalc.
Today, I entered my name in the owner field, got new IDs from those programs sites, and voila! Works like a charm!
I am guessing that internally, the process goes something like this:
1. Check for Owner Name. If exists, compute what serial should be, check serial. If Owner name is blank, go to 2.
2. Check device-id. If exists, generate serial, and check.
This worked for me with two different apps, and all is well.
swingheim said:
If you have VISTA, then Mobile Device Center DOES change your device id. If you don't think it does, then you are not checking the right value.
Here is the solution: Don't use the device-id! When programs that use the device-id go to check if your name matches up with their code, it first looks to the Owner Name, THEN to the device-id.
Case and point. My owner name of my device was blank. I used my device-id to register phoneAlarm and HiCalc.
Today, I entered my name in the owner field, got new IDs from those programs sites, and voila! Works like a charm!
I am guessing that internally, the process goes something like this:
1. Check for Owner Name. If exists, compute what serial should be, check serial. If Owner name is blank, go to 2.
2. Check device-id. If exists, generate serial, and check.
This worked for me with two different apps, and all is well.
Click to expand...
Click to collapse
I've just started using WMDC to sync my XDA Orbit with Thunderbird (using BirdieSync) and this problem is really bugging me.
I tried changing the Device Id to be blank as suggested but WM6 won't let me do it.
Anyone have any other ideas how to stop this happening?
Hi, maybe what late, but this is what i've found on a forum and it works:
Do not use underscores in your device ID. When you flash a new ROM you typically default to HTC_TYTN or something similar; remove the "_". On my Vista WMDC the device ID kept on changing to HTC67 and the next time HTC69, etc. Removing the underscore did the trick.
Have a nice day all of you.
Regards,
Markus
Many many thanks!!!!
underscore deleted and no more name changes.....
really i cant undersand why.... but problem solved...

[Q] How to revert back to original mac address after a nandroid restore ?

Hi,
I had to change my Transformer because of an issue. Before getting the new one I made a nandroid backup from the old one. Now, I restored this backup to the new one and saw that the Wifi MAC address is the one from old one.
I assume, the nandroid backup has restored old Transformer's mac address to the new one.
How can I revert back to the original MAC address of this new Transformer ?
Btw, I don't know the MAC address of the new Transformer. How can I find it ?
Thanks.
I was able to change the mac address by modifying mac line in /data/misc/wifi/nvram.txt
but I don't know how to find the original mac address.
If I remove the mac line from this file, it generates a mac address but I don't know if that's the correct original one.
any idea ?
I need help about how to find the original mac address. I've also done a factory reset.
It now shows a new mac address starting with 14A:E9 but when I search this on MAC-VENDOR search, I can't see any vendor. So is it fake ? or random ?
How can I find the real mac address of my device ? Shouldn't it be available on the box or the device itself ?
any ideas on this ?
how can I get my Transformer's original mac address ?
mrmrmrmr said:
any ideas on this ?
how can I get my Transformer's original mac address ?
Click to expand...
Click to collapse
Rumor has it that if you delete the line that starts 'macaddr = ' , and whatever trash follows (the MAC) , that a reboot will restore the original.
It doesn't really make much sense since organizations, (e.g. ASUS) are assigned a 'small range' of MACs by whoever is the bureau for those things now (always was Xerox in the past), and changing for example a MAC to 00:00:00:00:00:00 will be out of that range. How do you know the allowable range, or is this just to spoof someone else's to get an IP from their router? Changing the MAC has big implications just because you'll never pick one out of a hat that isn't already being used by anyone and that'll mean troubles on the net.
Actually, I don't care, but to MASK it for awhile, you should be able to do what you did, and to get it back, you "should" be able to use 'wordpad' or whatever format that nvram.txt file is in and change it back. I used 'od -h /data/misc/wifi/nvram.txt' to figure out that the last line was the MAC.
By the way, you probably now this, but to really check the MAC, probably the best way is to use (from term or adb shell):
#ifconfig wlan0
and look at it.
thanks for your comments.
if I remove mac line from nvram.txt, I get a totaslly different mac address.
And when I search that, it says "Murata Company"
with the older MAC, mac search finds "AsusTek"
mrmrmrmr said:
thanks for your comments.
if I remove mac line from nvram.txt, I get a totaslly different mac address.
And when I search that, it says "Murata Company"
with the older MAC, mac search finds "AsusTek"
Click to expand...
Click to collapse
Well, at least the nvram.txt file does something. The ASUS (well, how up to date could this be?) range for their wifi devices, one of their suppliers is 'Murata', is this:
f4-6d-04-ZZ-XX-YY. (well, for my transformer anyway)
Murata and ASUS appear to have a bunch of overlapping ranges. Maybe since ASUS Transformer has a Murata chip onboard, they also have some dealings regarding MACs. I have no idea really, but is having a Murata MAC (as said by who-knows-how-reliable web-search), a problem? Just curious.
1. Why does everyone care what their original MAC address was? I've used DE:AD:BE:EF:FA:CE as the MAC address on every device I owned, at one point or another.
2. "Changing the MAC has big implications just because you'll never pick one out of a hat that isn't already being used by anyone and that'll mean troubles on the net."
This isn't really accurate. The MAC address is used by your local network for DHCP, routing, etc, but it does not leave the LAN. Your MAC address will never be visible to the internet on the TF, so there is almost no chance of an address conflict. There'd have to be someone on your LAN with the same MAC to cause a problem.
I doubt that "everyone" cares what their original MAC was, but the OP does. I don't personally care or have a desire to change it and I suspect most have no idea what a MAC is anyway.
IPv6 might make MACs more prevalent past the LAN or WLAN but I think only with stateless config. ARP cache using static config could "possibly" lead to trouble in a LAN, but I basically agree and it seems like not a big issue.
hachamacha said:
I doubt that "everyone" cares what their original MAC was, but the OP does. I don't personally care or have a desire to change it and I suspect most have no idea what a MAC is anyway.
IPv6 might make MACs more prevalent past the LAN or WLAN but I think only with stateless config. ARP cache using static config could "possibly" lead to trouble in a LAN, but I basically agree and it seems like not a big issue.
Click to expand...
Click to collapse
Sorry, didn't mean to generalize, but there are actually two posters in this thread with the question, so by "everyone" I meant the two of them.
I agree about IPv6, but very few people will be stateless, so I suspect it still won't matter in 99.9% of cases.
Also, to mrmrmrmr, if you removed the config line that changed it in the first place, I would be surprised to see it randomly generate a new one. I'd expect the MAC address seen now is the original, whether it's registered with Asus or not. Changing the config again, and then reverting again, should show whether it's statically or randomly generated, just to make sure.
thanks for your posts.
I care about this because I really don't want to use a mac address which is not mine.
I know the mac address is not leaving the LAN but for regulation purposes it is used in LAN records.
I would like to obey the regulatory authority
anyway, if I remove the line from nvram.txt ,each time I re-enable wifi, I get a new mac address. maybe if I reboot, I will receive a permanent one.
Also, if I factory reset, I get totally a new one.
weird ...
No nvrm.txt file.
What to do.
wifi is not turning on, mac address unavailable

[Q] Change Device ID? - Attempting to restore back to new phone same model

My girlfriend lost her Samsung Focus and received a new one from AT&T. She was very upset that she lost all her data on the phone and I had updated her old one to Mango, so I knew there was a backup saved. However at first it wouldn't recognize the backup (different device ID) so I changed the device ID in the folder name, properties.xml, and manifest.xml files. Zune now recognizes it as a restore point for that phone but refuses to install it, giving various errors such as 'backup not valid', etc.
I am beginning to think I should give up, but I wanted to know if any of you WP7 gurus knew of a way to change the Device ID of the phone itself, perhaps in the Registry Editor? I'm an Android user so I'm familiar with rooting with those phones but WP7 is a little different. I know I'd have to use Chevron and then put a registry editor XAP on there, but I haven't had a chance to do it yet..
So, is there any way to change the device ID?
The other possible solution I was thinking of was running a WP7 emulator and changing the device ID to match the old phone and do a restore through there (if that's even possible), then changing the device ID again to match the new phone and creating a new backup, which I could then send to the new phone?
100% I saw DeviceID setting in registry (exact value as returned by API call) but can't recall where now.
Update: try to change string [HKCU\Software\Microsoft\ActiveSync\DeviceID]
Thanks, i'll try it next time she's over. Hopefully I don't FUBAR her phone. I did tons of search about this subject before posting and couldn't find any evidence of anyone trying to change their device ID.
sensboston said:
100% I saw DeviceID setting in registry (exact value as returned by API call) but can't recall where now.
Update: try to change string [HKCU\Software\Microsoft\DeviceID]
Click to expand...
Click to collapse
Can you possibly do me a favor and use one of the DeviceID apps or something to verify that the field in that registry key matches your device's ID?
Just checked on my Samsung: DeviceID at HKCU\Software\Microsoft\ActiveSync\DeviceID (I've corrected registry path) is not related to the Zune's backup DeviceUrlID (it's different ID's, I think so)...
Darn. I'll have to see if there is a way to find it in there.
I'm pretty sure the ID used for the backup is stored in hardware; if it wasn't then it wouldn't survive a hard reset. Unfortunately, I think the backups are also encrypted, so unless you could somehow get the key out of the old phone it wouldn't be any good anyhow.
It would be awesome if you could find a way to move a backup between phones, but so far that hasn't been possible.
sensboston said:
100% I saw DeviceID setting in registry (exact value as returned by API call) but can't recall where now.
Update: try to change string [HKCU\Software\Microsoft\ActiveSync\DeviceID]
Click to expand...
Click to collapse
How do you get access to that string (AcitveSync DeviceID) using the API?
Thanks,
Jason

How to change the MAC address - even temporarly

Lately I have some troubles connecting to a certain router. My phone's MAC is blocked. Is there any method to change it or to foul the router with another MAC address? I've read something but nothing of it won't apply to our LG O3D.
First, fooling around with MAC addresses can cause huge problems if your MAC address conflicts with another on your network. Something about MAC addresses being unique and all.
That being said, the phone's unique identifying information is in /dev/block/mmcblk0p3. You can dd it out, edit it with a hex editor by finding your current MAC address and replacing it with another, then dd it back into the phone. No guarantees this will not break anything.
Read this: http://forum.xda-developers.com/showthread.php?t=1385577
You might need to use wlan0, instead of eth0.
New updates
post-mortem said:
Read this: http://forum.xda-developers.com/showthread.php?t=1385577
You might need to use wlan0, instead of eth0.
Click to expand...
Click to collapse
Tried the link you gave me... Should clarify some things first:
- Those commands are working only with the WiFi module active, meaning that you must be connected to a WiFi network.
- On our O3D the WiFi module is addressed with tiwlan0, not wlan0 or eth0
- No matter what I can't get it done because it says something like this: "SIOCSIFHWADDR: OPERATION NOT SUPPORTED" - and YES! my busybox is updated
At the end I'll give it a try to what pandaball wrote. Thanks everybody, I'll keep in touch.
Hi Bro,
I got mentioned file and I used the Hex editor , but the problem I couldn't find the my mac address 1c:b0:94:ca:dc:33 in order to change it and move back to my phone as new mac address .
help me out pls
BR
Babi
pandaball said:
First, fooling around with MAC addresses can cause huge problems if your MAC address conflicts with another on your network. Something about MAC addresses being unique and all.
That being said, the phone's unique identifying information is in /dev/block/mmcblk0p3. You can dd it out, edit it with a hex editor by finding your current MAC address and replacing it with another, then dd it back into the phone. No guarantees this will not break anything.
Click to expand...
Click to collapse
sarababak said:
Hi Bro,
I got mentioned file and I used the Hex editor , but the problem I couldn't find the my mac address 1c:b0:94:ca:dc:33 in order to change it and move back to my phone as new mac address .
help me out pls
BR
Babi
Click to expand...
Click to collapse
Hopefully you weren't searching with the colons, so it should be 1CB094CADC33. Also, it might be backwards, as in 33DCCA94B01C. Capitalization matters (since it's hex), and I think the letters should be capitalized.
BigBadSheep said:
Lately I have some troubles connecting to a certain router. My phone's MAC is blocked. Is there any method to change it or to foul the router with another MAC address? I've read something but nothing of it won't apply to our LG O3D.
Click to expand...
Click to collapse
Hidden menu -> port settnigs ->cp image download; then on pc run tutty and at%mac= is the command youre looking for.
Sent from my LG-P920 using xda app-developers app

Backup and Restore ALL Accounts on android

GOAL - a universal backup and restore solution that can take ALL device accounts and ALL their related passwords - back them up - and restore them to ANY version of android - including Phones, Tablets, and Emulators such as bluestacks, memu, nox etc. even from different android versions.
This is primarily to get all EMAILS - google - outlook - etc loaded into a new device *This is NOT for apps as there are plenty of solutions for apps already but none for ACCOUNTS
This software should basically have a database, preferably in an easy to edit CSV format - which would never need to change as it would always have ACCOUNT_TYPE,USERNAME,PASSWORD,RANDOM_DATA
-you could manually populate this via your computer or you could have the android software export it via coding magic. Maybe use a different format and have it load a spreadsheet or a different database type...
Importing would be trickier- you'd have to have a drop down asking questions like - What android version are you importing to- so that the code could be properly inserted...
I intend to ask for advice here and see what solutions you all have; I will edit this first topic to help others if a solution exists.
Some people spend 50 hours of labor installing hundreds of apps on their phone; each needing custom configured, many require having an Account to access data through the app.
What if you have to load 50+ emails into the phone; each of them having huge complicated passwords.
What if you are always buying new devices, changing roms and having to set this all up again?
=Some Solutions exist but none have worked for me.
1. Built in google 'set up new device' -
This only seems to work when you have reset your phone.. once the phone is active and you've actually used it -- there appears to be no way to turn this on and attempt to bring new accounts over...
q. How can you activate this after the fact?
If you have more than a few accounts on the device, say.. 4... maybe you have 20 or 40 email accounts loaded.. it is almost guaranteed to fail.
q. What causes it to fail? Is there any work around.
If you are on android versions too far apart its also likely to fail
q. Why? is there any work around.
*Here is a site with code related to the account transfer API; I'm not sure how accurate it is:
Account Transfer API | Android Developers
developer.android.com
2. Samsung Smart switch
This only copies ONE account - but it also does a fine job of moving text messages, SOME apps and other info over.
*Is there any way to get it to copy all email accounts; and other random app accounts to the new device?
3. Titanium backup - for non root and root.
I've played with this numerous times over the past 10 years and never successfully. I dont think it is capable of taking all accounts and backing up / restoring to different devices.
More to be added later.
Reserved for random info so I can update later;
One month later and no replies...
Anyone?
1. Is there any app on the planet that can do this - or close? ((samsung smart switch - sometimes - though it mostly fails -- Googles built in set up - which fails 95% of the time) - I know of no other solutions.
2. Is there any desire for this? have any of you been annoyed with the menial task of setting this stuff up again and again?
another month goes by.. now I have a new android tablet.. and guess what?
Samsung smart switch wont copy my accounts...
I cant seem to get the built in google 'set up device' to start == and I'm not looking forward to adding 50 email accounts and various other accounts into this manually.. thats gonna take ages...
Buying a new device every couple months.. is a grueling task when it comes to account transfers...
Nobody has any suggestions on a solution for this? I'm searching around randomly again and finding Nothing.
what is your concern?? reading your thread give me headache
I have the same issue. I am "bored" in getting another mobile because i have to setup from beggining soooo many things
IIRC then account details are stored in SQLite database named accounts.db, its location depends on Android version.
Wi-Fi passwords are stored in file named wpa supplicant.conf.
@jwoegerbauer thanks for the tip. using your filename I found a tutorial that listed the location as follows:
/data/system_de/0/accounts_de.db
I've verified this on Nox; my bluestacks still isnt rooted and it seems the phones I have with all email accounts loaded == are not rooted either== I'm going to need to find a workaround for that or make time to root bluestacks to get the account data out of it...
Problem is;
1 there are no passwords included here. Where are they? mine are all crazy long and I have no clue what they are... its very time consuming to manually input them via my password managing tool.
2 Once I export; and change the CSV into a spreadsheet to include all the other missing email /google accounts; how do I replace the accounts_de.db file on each device
3. Why isnt there an app that can do this already; lol?
EDIT
Titanium backup does have an 'accounts' export option that -sorta - works... problem is how picky the app is about using root plus super SU and refuses to work with Magisk (sometimes) or will constantly crash on (some) devices - or will fail to export/import unless you try (5 different file managers that can eventually figure out how to import their file type) - or is otherwise NEEDING root access to function...
Would be nice if a solution existed via ADB or simply in an un rooted device to do this; sorta like how google ''set up nearby device'' was supposed to work (and will; if you use only 5 or less accounts... but its also buggy and fails)
Any ideas on how we can export/import accounts?
Still no successful solution.
1. Notes regarding Titanium:
I've tried about 15 versions of bluestacks using android 4.4.2 and have had mild success with titanium to backup/restore =
however it seems to randomly restore less than all the accounts (missing a few different ones each time)
it also seems to randomly miss the google password tokens randomly =forcing me to log into 10% of the imported accounts with each restore.
It also seems to fail 100% when trying to restore a bluestacks 4.4.2 accounts file on to android 7 bluestacks; or nox / or memu
It has limited success importing into a proper non emulated tablet (again missing about 60% of the accounts randomly)
all in all Titanium doesn't appear to be a good solution.
2. Perhaps a direct edit of the Accounts DB file would be wiser;
I've attempted to export it a few times and am not sure yet how to edit it ...
HeidiSQL has errors when accessing the file
Oracle's sql developer is WORSE; most of the text is gibberish.
*Any ideas on how to edit this?
3. Other xda searches lead me to:
The google password isn't a real password. After first successful authentication, an Auth Token is downloaded to device which is stored in accounts.db.
From the Auth Token is impossible to guess the password.
So I guess I answered my own question on that... I was hoping the passwords were stored on the device database so I could import/export them via a text editor.
4.
*File manager for super users allows one to explore and edit (to a point) a sql database - but one can not add new entries; only edit existing entries.
one can only export to csv; not import.
so this is only a partial solution.
5. an open source XDA solution looks promising but will not work.
Each OnAndBackup version uses different file extensions that are not compatible between versions... so yuo can't backup one android version and restore to another.
OAndBackupX is a fork of the popular open source backup app for Android
Looking for an open source solution to backup individual apps and their data? OAndBackupX is a handy Android app for the job. Check it out!
www.xda-developers.com
Blombardo said:
2. Perhaps a direct edit of the Accounts DB file would be wiser;
I've attempted to export it a few times and am not sure yet how to edit it ...
HeidiSQL has errors when accessing the file
Oracle's sql developer is WORSE; most of the text is gibberish.
*Any ideas on how to edit this?
Click to expand...
Click to collapse
In post #7 you were told it's a SQLite database. Hence use a SQLite browser.
Downloads - DB Browser for SQLite
sqlitebrowser.org
It appears that the art of editing the database file on this is more complicated than it should be...
1. Taking the old DB file from 4.4.2 with a million accounts loaded... -- Export the 'accounts' table into csv
2. taking the new DB file from 7.1.1 with one account loaded - delete existing and then import the old 'accounts' table -
Swap original .db file with new edited one...
and congrats you too have a bootloop...
Anyone know how to PROPERLY export / import the accounts information ?
The sql table otherwise appears the same.. but I'm by no means an expert on these databases so perhaps I missed something simple.
Can't wait to see what happens from nox to bluestacks to memu to real versions of android on multiple devices with multiple android versions...
There HAS to be a better way to do this.?
Edit: 20 plus hours and many weeks into this problem
delving deeper into Titaniums site they have a suggestion for use on emulators that I did not notice; I will try and report back.
12. I have an Android device that is x86 based, and rooted. Can I use Titanium Backup ?​
YES. Please ensure that you have a working BusyBox on your device and make the following changes in TB preferences:
enable the “Force use external BusyBox” option (under Troubleshooting) then hit MENU -> Reload application.
1. I've noticed there are two places for saved account info; I still have no success in getting my edited database to properly recognize in the emulator.
system DE on older 4.4.2
and
system CE on 7.1 (also has the DE folder)
2. No luck on titanium either.
a. I've tried making busy box work on the emulator; it pretends to install successfully but when running shell commands it doesnt seem to work; therefore the number 12 from Titanium FAQ is something I can't seem to accomplish either... so Titanium will not work yet; maybe due to the busybox fail.
Blombardo said:
@jwoegerbauer thanks for the tip. using your filename I found a tutorial that listed the location as follows:
/data/system_de/0/accounts_de.db
I've verified this on Nox; my bluestacks still isnt rooted and it seems the phones I have with all email accounts loaded == are not rooted either== I'm going to need to find a workaround for that or make time to root bluestacks to get the account data out of it...
Problem is;
1 there are no passwords included here. Where are they? mine are all crazy long and I have no clue what they are... its very time consuming to manually input them via my password managing tool.
2 Once I export; and change the CSV into a spreadsheet to include all the other missing email /google accounts; how do I replace the accounts_de.db file on each device
3. Why isnt there an app that can do this already; lol?
EDIT
Titanium backup does have an 'accounts' export option that -sorta - works... problem is how picky the app is about using root plus super SU and refuses to work with Magisk (sometimes) or will constantly crash on (some) devices - or will fail to export/import unless you try (5 different file managers that can eventually figure out how to import their file type) - or is otherwise NEEDING root access to function...
Would be nice if a solution existed via ADB or simply in an un rooted device to do this; sorta like how google ''set up nearby device'' was supposed to work (and will; if you use only 5 or less accounts... but its also buggy and fails)
Click to expand...
Click to collapse
Thanks for the tip just used Titanium Backup to transfer accounts backup generated from one phone to another (using the generated backup files) both N916K rooted with Magisk version 23.0 (23000) without issues!
So is there any Progress or Solutions found yet?
A good thing would be to see all the accounts and then retype them manually if needed.
Else it would be much better to have something like Smart Switch.
Problem I noticed with SmartSwitch, when you try to transfer the Accounts. Samsung trys to grab and upload all the accounts to their server!! Why? I don't know, but it always asks for Internetconnection etc. ONLY when you want to transfer accounts, everything else works more or less.. some appdata not included sadly anyway.
Swift Backup doesn't seem to or did someone manage it to work with it?
Tipps and possible Solutions would be greatly appriciated.
It seems to be especially problematic with Android 12...
Hello, I'm having the same problem. I'm "bored" with obtaining a new phone because I have to set up so many things from scratch. real estate istanbul
A shame there still doesn't seem to be a good solution for this. TB only tries to backup the non-existent location, while the correct is /data/system_de/0/accounts_de.db
Manually moving just puts me into a bootloop, even after setting the correct permissions.
I dont know if this works, someone should test it.
GitHub - cluk33/android-multiuser-backup: A set of scripts to backup and restore apps and data of multiuser android devices.
A set of scripts to backup and restore apps and data of multiuser android devices. - GitHub - cluk33/android-multiuser-backup: A set of scripts to backup and restore apps and data of multiuser andr...
github.com
akhilkhan said:
I dont know if this works, someone should test it.
GitHub - cluk33/android-multiuser-backup: A set of scripts to backup and restore apps and data of multiuser android devices.
A set of scripts to backup and restore apps and data of multiuser android devices. - GitHub - cluk33/android-multiuser-backup: A set of scripts to backup and restore apps and data of multiuser andr...
github.com
Click to expand...
Click to collapse
I spent hours trying to get the script to work, but it will not backup anything in A13. I even disabled DFE on the device and started it over to test.

Categories

Resources