Hi!
I need to do a factory reset on my Hero, because it has lost the association with my gmail-account. And this is the only way according to the HTC support. But before i do that, I would like to backup my sms messages to my sdcard and later be able to restore them into the phone.
Now here is the problem: Since my Hero's connection with the gmail account is lost, I can't even get into market. So I was wondering if someone could be kind to post an apk-file for a program that can do this (both backup and restore, e.g. "SMS Backup & Restore" v 1.7). It's a free app, but I cannot get into market at all...
I think that if you have the program installed, there are apps that can backup the apk-file to your sdcard.
Thanks in advice!
All you have to do is hook the phone to a computer & do the following commands:
Code:
adb remount
adb pull /data/data/com.android.providers.telephony/databases/mmssms.db mmssms.db
This will pull the SMS database file to your computer.
Once you want to put the SMS back all you have to do is.
Code:
adb remount
adb push mmssms.db /data/data/com.android.providers.telephony/databases/mmssms.db
Yeah, but that requires root, doesn't it?
I already fixed the app from a friend though, so problem solved.
Settings > Applications > Manage Applications > Google Apps > Clear Data
Then go into the market. I'm pretty sure that will re-associate your phone with your Gmail.
I have a motorola droid that already been flashed too metropcs but the enternet & my picture messaging don't work any more on my motorola droid rooted 2.1 android they all was working earlier today i deleted a file in my sd memory card by accident an it reeboted my phone and took of my enternet an picture messaging settings by mistake i had too look for a wi-fi connection to sign in to use my phone again over the wifi connection but the phone still can make calls an regular text but no more mms messaging or internet any more if you can help me to put it back on send me a message on here
hey if you get info can you please help me out
I don't know any specific info related to MetroPCS, but I had a similar situation a while back. I would re-flash the stock ROM that came with your phone and start from scratch with whatever process you followed before.
I seriously doubt that the file you accidentally deleted is the source of this problem, but I would start from scratch either way.
re install
hey it sounds like u need to reinstall autostart.apk and u2nl
1. install autostart (look in market or in rar file i provided)
2. Put everything in the rar on your C: drive
3. open cmd type: cd c:\android\tools
(To install autostart)
type: ADB install C:\android\tools\autostart.apk
3. Type: adb shell
mkdir /data/opt/
exit
4. Type: adb remount
adb push c:\android\tools\u2nl /system/bin/u2nl
adb push c:\android\tools\autostart.sh /data/opt/autostart.sh
5.Type: adb shell
chmod 0755 /system/bin/u2nl
chmod 0755 /data/opt/autostart.sh
adb reboot
6. then go to the voice dialer and say "Open APN's" and make sure there is one and it is selected. look somewhere for the apn settings for metro
if still nothing then get new NV items: http://www.whiterabbit.org/android
if u need more help let me kno
hey thanks
iNFiNiTY125 said:
hey it sounds like u need to reinstall autostart.apk and u2nl
1. install autostart (look in market or in rar file i provided)
2. Put everything in the rar on your C: drive
3. open cmd type: cd c:\android\tools
(To install autostart)
type: ADB install C:\android\tools\autostart.apk
3. Type: adb shell
mkdir /data/opt/
exit
4. Type: adb remount
adb push c:\android\tools\u2nl /system/bin/u2nl
adb push c:\android\tools\autostart.sh /data/opt/autostart.sh
5.Type: adb shell
chmod 0755 /system/bin/u2nl
chmod 0755 /data/opt/autostart.sh
adb reboot
6. then go to the voice dialer and say "Open APN's" and make sure there is one and it is selected. look somewhere for the apn settings for metro
if still nothing then get new NV items: http://www.whiterabbit.org/android
if u need more help let me kno
Click to expand...
Click to collapse
hey do i need a computer to do this on my phone or just type it in my phone through my root explorer app
u need a pc
luvjones305 said:
hey do i need a computer to do this on my phone or just type it in my phone through my root explorer app
Click to expand...
Click to collapse
you need to hook the phone up to your computer and make sure USB Debugging is enabled (you can find in Settings>Applications>development> and check usb debugging
then install and setup the androidSDK:
http://developer.android.com/sdk/index.html
and your ready
thank you
luvjones305 said:
I have a motorola droid that already been flashed too metropcs but the enternet & my picture messaging don't work any more on my motorola droid rooted 2.1 android they all was working earlier today i deleted a file in my sd memory card by accident an it reeboted my phone and took of my enternet an picture messaging settings by mistake i had too look for a wi-fi connection to sign in to use my phone again over the wifi connection but the phone still can make calls an regular text but no more mms messaging or internet any more if you can help me to put it back on send me a message on here
Click to expand...
Click to collapse
ok thanks im a try it now
I connect my rooted LG Nexus 4 to my PC running Windows 7 on MTP mode and USB debugging enabled. However, many of the folders I can see on my device using Root Explorer are not visible on my PC, such as the Titanium Backup folder. If I need to wipe my device, how will I be able to transfer my Titanium Backup data to my PC, if I can't see the folder? I have already tried to move Titanium Backup folder into DCIM or Music, which are always visible directories, but no success. I tried Android Commander as well, but it doesn't recognize my phone, although I have ADB set up.
Any help is appreciated, thanks
Download BusyBox from https://play.google.com/store/apps/details?id=stericson.busybox
Open and install it (normal). Now open a CMD window in Windows and type:
adb shell
su
busybox chown - R 1023.1023 /data/media/*
Now you should be able to move your TitaniumBackup folder to DCIM, Music, Downloads, etc., and then back to where it was.
Mercado_Negro said:
Download BusyBox from Google Play
Open and install it (normal). Now open a CMD window in Windows and type:
adb shell
su
busybox chown - R 1023.1023 /data/media/*
Now you should be able to move your TitaniumBackup folder to DCIM, Music, Downloads, etc., and then back to where it was.
Click to expand...
Click to collapse
I did what you told and using Root Explorer on my device I succeeded to move Titanium Backup folder into DCIM. However, the directory is still not visible on my PC. How can I make it appear?
Thanks
gba8197 said:
I did what you told and using Root Explorer on my device I succeeded to move Titanium Backup folder into DCIM. However, the directory is still not visible on my PC. How can I make it appear?
Thanks
Click to expand...
Click to collapse
Did you move it back to where it was (you should)? Did you reboot your device (you should)?
When you plug in the USB cable, pull down your notification shade and click where it says" Connected as a media device" Make sure you have MTP selected and not PTP.
Everything was good until I started messing with the 4.4 roms. Now no matter what I do. Full Wipe, Factory Image restore, try different Roms/Kernels, etc, my MAC Address will reset after every reboot. This is an issues as I use Mac Filtering on my router. Any Ideas?
The same is happening to me and I can't find a way to fix it!
It sucks because my main connection (my University wifi) doesn't let me connect if I have a different MAC Address.
I'm using this app to change my MAC (temporarily) https://play.google.com/store/apps/details?id=com.jworksbr.macspoofer
You need root to make it works.
Anyway, I'm still trying to find a way to get my original MAC address back.
joaocadide said:
The same is happening to me and I can't find a way to fix it!
It sucks because my main connection (my University wifi) doesn't let me connect if I have a different MAC Address.
I'm using this app to change my MAC (temporarily) https://play.google.com/store/apps/details?id=com.jworksbr.macspoofer
You need root to make it works.
Anyway, I'm still trying to find a way to get my original MAC address back.
Click to expand...
Click to collapse
I ended up using http://forum.xda-developers.com/showthread.php?t=2347060
For mac address:
- In /persist directory create wifi directory. In the new directory create a file named .macaddr (don't miss the dot!)
Edit the file and put 12 random hex numbers in it (0-9, A-F), save.
- Set execute and read permissions for everybody on /persist/wifi directory and change owner of .macaddr to wifi:wifi and permission to 660 (read/write for owner and group and nothing else).
In command line:
Code:
chown root:root /persist/wifi
chmod 755 /persist/wifi
chown wifi:wifi /persist/wifi/.macaddr
chmod 660 /persist/wifi/.macaddr
- run /system/bin/conn_init program. Can be run in root explorer(choose Linux Script Handler when you open it), or in adb shell:
Code:
su
/system/bin/conn_init
Then reboot and check if the changes got applied in settings
I cant get my original one back but at least I have a static MAC.
..
chainup said:
For me it's only the last 6 numbers/letters that keep changing on reboot. For both Wifi and Bluetooth. Is it the same for you guys?
Click to expand...
Click to collapse
Yeah first are always 11:22:33
Thank you, bandit97!
It's working fine now! =D
bandit97 said:
I ended up using http://forum.xda-developers.com/showthread.php?t=2347060
For mac address:
- In /persist directory create wifi directory. In the new directory create a file named .macaddr (don't miss the dot!)
Edit the file and put 12 random hex numbers in it (0-9, A-F), save.
- Set execute and read permissions for everybody on /persist/wifi directory and change owner of .macaddr to wifi:wifi and permission to 660 (read/write for owner and group and nothing else).
In command line:
Code:
chown root:root /persist/wifi
chmod 755 /persist/wifi
chown wifi:wifi /persist/wifi/.macaddr
chmod 660 /persist/wifi/.macaddr
- run /system/bin/conn_init program. Can be run in root explorer(choose Linux Script Handler when you open it), or in adb shell:
Code:
su
/system/bin/conn_init
Then reboot and check if the changes got applied in settings
I cant get my original one back but at least I have a static MAC.
Click to expand...
Click to collapse
i came from your link too but this didn't work for me
anyone know why?
Hi. This has been driving me crazy! My Nexus 4 also gets a new Mac address on each reboot. My local WiFi hotspot thinks i am a new customer every time I visit (as it uses Mac address filtering) which is frustrating. I got onto Google about it but they said i should return the phone to the retailer (didn't get it on the Play store). I tried reverting the phone to Android 4.3, resetting etc but nothing works. I the phone was fine at first so I can only assume it is a hardware fault. Does anyone have any more incite into this or a solution?
Could someone explain how I run the commands in an adb shell? I'm familiar with adb and android toolkit etc. Many thanks! PS. I tried it using root explorer and it did not work
Sent from my Nexus 4 using xda app-developers app
Where is /persist directory?
bandit97 said:
I ended up using http://forum.xda-developers.com/showthread.php?t=2347060
For mac address:
- In /persist directory create wifi directory. In the new directory create a file named .macaddr (don't miss the dot!)
Edit the file and put 12 random hex numbers in it (0-9, A-F), save.
- Set execute and read permissions for everybody on /persist/wifi directory and change owner of .macaddr to wifi:wifi and permission to 660 (read/write for owner and group and nothing else).
In command line:
Code:
chown root:root /persist/wifi
chmod 755 /persist/wifi
chown wifi:wifi /persist/wifi/.macaddr
chmod 660 /persist/wifi/.macaddr
- run /system/bin/conn_init program. Can be run in root explorer(choose Linux Script Handler when you open it), or in adb shell:
Code:
su
/system/bin/conn_init
Then reboot and check if the changes got applied in settings
I cant get my original one back but at least I have a static MAC.
Click to expand...
Click to collapse
Where is the /persist directory found? Does this work on unrooted phones? I have the Chinese S5 phone which changed Mac address every time I reboot or turn off and on the wifi. This has me logging in to my router to add a new mac every time.
You DO need to be rooted
ayonbaxter said:
Where is the /persist directory found? Does this work on unrooted phones? I have the Chinese S5 phone which changed Mac address every time I reboot or turn off and on the wifi. This has me logging in to my router to add a new mac every time.
Click to expand...
Click to collapse
Hello, you need not only root access, but a file manager capable of mounting read-write permissions, like ES File Explorer (free on Google Play).
If you have a Terminal Emulator, this will help. If not, find one on the Play Store. My favorite is from developer Jack Palevich, found here.
Otherwise, you won't see the directory on a stock file manager, especially if you're NOT rooted. Although I am on CM 10.2, this has plagued me as well when I was running CM11.
Good luck!
furboom1240 said:
Hello, you need not only root access, but a file manager capable of mounting read-write permissions, like ES File Explorer (free on ).
If you have a Terminal Emulator, this will help. If not, find one on the Play Store. My favorite is from developer Jack Palevich, found .
Otherwise, you won't see the directory on a stock file manager, especially if you're NOT rooted. Although I am on CM 10.2, this has plagued me as well when I was running CM11.
Good luck!
Click to expand...
Click to collapse
i have the same problem, i cant find the /persist directory. i installed ES file exloprer but on / there is no /persist folder only these folders:
acct, cache, config, custom, d, data , dev, etc, mnt, proc ,protect_f,protect_s, root, sbchk, sbin, sdcard, sys,system, vendor
can i create a persist folder or do i have a bigger problem with my system?
Lack of Details
tommy0014 said:
i have the same problem, i cant find the /persist directory. i installed ES file exloprer but on / there is no /persist folder only these folders:
acct, cache, config, custom, d, data , dev, etc, mnt, proc ,protect_f,protect_s, root, sbchk, sbin, sdcard, sys,system, vendor
can i create a persist folder or do i have a bigger problem with my system?
Click to expand...
Click to collapse
First of all, do you have Superuser-managed root access? In order for me to assist, you need to answer that. The /persist directory should certainly exist, as it was so on all devices I own, rooted or not. When browsing the filesystem, please be careful what you mess with. Even with root access, you must exercise judgment in what you modify.
As always, Root Responsibly.
Stay custom, my friends...
After doing a restore with CWM of 4.4.4 backup, I'm unable to save files to user storage. Owner is 0 root, GID is 1028 sdcard_r, permissions drwxrwx--x, same as on my N7 '13.
Drive can export a file to ./Downloads though. ?:| Other files can save to that folder.
Have tried with Nova Launcher backup (can save backup file to ./Download, but no other), ES File manager ("EACCES (Permission Denied)"), Total Commander file manager. Helium backup can't backup locally either.
Noticed yesterday that I couldn't delete folders or move files from folders (Alarms, Notifications, Pictures), so did it in Recovery with ADB shell. Think that's just another symptom.
Never encountered this before. Anyone ever see this, fixed this?
Oh, one note. During my 5.1.1 order, I did a fresh wiped boot of 4.4.4, set up accounts and basic apps, and did a CWM backup. Moved it off with adb (adb pull /sdcard/ ./sdcard/).
After flashing 4.4.4 completely, I used CWM and adb push to move the entire backed up /sdcard/ back to the device so I could do a restore (adb push /sdcard/ ./sdcard/). Restored in CWM.
Could this have been an issue? /sdcard/ created by adb ?
Solved. Did a CWM backup and was readying to pull that off, and checked on a hunch. After mounting /data/, I shelled in (adb shell) and checked permissions (ls -ald /sdcard/0/ ) and lo and behold -- many (not all) of the folders were owned by root:root, not media_rw:media_rw. /sdcard/0/Download/ was not.
Changed ownership of all under /sdcard/0 (chown -R media_rw:media:rw * ) rebooted, and can save in those folders again. Hopefully that didn't bork something else up.