[Q] how to fix google backup in AOSP - Nexus 4 Q&A, Help & Troubleshooting

Hi guys,
I'm doing my first steps in compiling android from sources, started of the stuff straight from google.
Everything works fine, apart of google backup - doesn't let me backup/restore from my google account, says sth about dev only backup to cache and cannot change this option.
For what I've seen a lot of ROMs have it fixed and apparently it's very easy to do, but can't find any solution anywhere.
Any help would be greatly appreciated, thanks in advance!

zbaracki said:
Hi guys,
I'm doing my first steps in compiling android from sources, started of the stuff straight from google.
Everything works fine, apart of google backup - doesn't let me backup/restore from my google account, says sth about dev only backup to cache and cannot change this option.
For what I've seen a lot of ROMs have it fixed and apparently it's very easy to do, but can't find any solution anywhere.
Any help would be greatly appreciated, thanks in advance!
Click to expand...
Click to collapse
Try this:
Code:
[B][COLOR="Red"]adb shell bmgr transport com.google.android.backup/.BackupTransportService[/COLOR][/B]
This doesn't seem to be clearly documented anywhere, but it does to seem to work and it carries across a reboot. The only other way seem to be to set it as the default transport in a .java file and build the framework, but that sure doesn't seem right.

Related

[Request] Market "installed" fix

Is there any chance someone can write a script or something that forces the market to know when an app on the market has been installed by other means
this has been discussed, backup your assets.db before you change ROMs and then push it back to your phone, i am pretty sure there is even an app for this
tubaking182 said:
this has been discussed, backup your assets.db before you change ROMs and then push it back to your phone, i am pretty sure there is even an app for this
Click to expand...
Click to collapse
Backup For Root Users will back up the market database and restore it after you change ROMs wipe or whatever. It can do other backups too, overall its a good app
http://www.cyrket.com/package/com.bg.smsbk
Thanks that will Defiantly help for the future
but is there anyway to edit the file to include Apps without reinstalling them
i tried searching but i didn't have a clue what to search for
shamelessly asking if anyone knows?
fallinprince said:
Thanks that will Defiantly help for the future
but is there anyway to edit the file to include Apps without reinstalling them
i tried searching but i didn't have a clue what to search for
Click to expand...
Click to collapse
you will need to talk to the program developer about that, not here.
Thread moved to general.

[Q]Android Market issue with buying apps.

Hello!
It's my first post so I hope everything I write here is in correct place. I wanna add that I was searching for similar threads so I think I didn't miss anything. My problem is that:
I registred at Market with my old GMAIL account, and I can download any free apps but when I wanna buy something and I press to buy for example 0.69p button I see next page and instantly message appears that: "Error has occured, please try again." I tried through my PC, I went to market and buy something, I add card etc everything happen correctly I even have my application on phone without doing anything, but still after many reboots the problem isn't solved. I have to add that I live in UK and installed CM7 today so maybe I have to update something or so. (Tried restart.)
Thank you kindly,
Rec.
Recar said:
Hello!
It's my first post so I hope everything I write here is in correct place. I wanna add that I was searching for similar threads so I think I didn't miss anything. My problem is that:
I registred at Market with my old GMAIL account, and I can download any free apps but when I wanna buy something and I press to buy for example 0.69p button I see next page and instantly message appears that: "Error has occured, please try again." I tried through my PC, I went to market and buy something, I add card etc everything happen correctly I even have my application on phone without doing anything, but still after many reboots the problem isn't solved. I have to add that I live in UK and installed CM7 today so maybe I have to update something or so. (Tried restart.)
Thank you kindly,
Rec.
Click to expand...
Click to collapse
are you using the new market/ what lcd_density are you using?
Well I don't even know how to update Android Market, and I just use one provided with software after installation. I downloaded from Market LCD Density for Root app and when I run It I see that default is 240, so I think this is my density, otherwise I don't know how to check it if it's wrong.
Thanks.
Edit:
Sorry I am blind I didn't provide information of ROM, it's: TyphooN CyanogenMod 7 Nightly v3.7.3[2.3.7][A2SD][tytung r12.4v3]
use market 3.1.5. I have also this issue after using market 3.2
Can I ask how to do it ? Since I found 3.1.5 apk file but it is impossible to overwrite it or even remove higher version of market. I don't know if it matters but when I try to install for example themes etc through clockwork I also have this issue:
Amend scripting (update-script) is no longer supported.
Amend scripting was deprecated by Google in Android 1.5.
It was necessary to remove it when upgrading to the ClockworkMod 3.0 Gingerbread based recovery.
Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.
Click to expand...
Click to collapse
Hope it is also important.
Thank you!
Bump.
Any possibility for getting any tutorial how to do it ? I was trying a lot of methods and nothing. I would be very thankfull for any help.
Android Market issue
Recar said:
Well I don't even know how to update Android Market, and I just use one provided with software after installation. I downloaded from Market LCD Density for Root app and when I run It I see that default is 240, so I think this is my density, otherwise I don't know how to check it if it's wrong.
Thanks.
Edit:
Sorry I am blind I didn't provide information of ROM, it's: TyphooN CyanogenMod 7 Nightly v3.7.3[2.3.7][A2SD][tytung r12.4v3]
Click to expand...
Click to collapse
Same issue for me...except I'm using the Typhoon stable 3.7.0 build.....
has anyone resolved?
---------- Post added at 04:08 PM ---------- Previous post was at 03:49 PM ----------
blackkj said:
Same issue for me...except I'm using the Typhoon stable 3.7.0 build.....
has anyone resolved?
Click to expand...
Click to collapse
I'm assuming that many people do have market working on the Typhoon build, and therefore there must be something wrong with my set up....
if everyone had to downgrade market surely the typhoon thread would be loaded with comments on it!
So I'm tempted to just go for a full blank and reinstall...task 29, reinstall CWM clear out caches and dalvik cache from CWM, reinstalled Typhoon and see....
trouble is I'm not sure if that really clears everything, and might make it work....so some advice on getting it right would be appreciated.....as it takes time to get it all set up again, as I'd assume best not to use any backed up info/data/settings from Nandroid or titaniam in case what ever is causing the problem gets restored......
Cheers again for any advice
K
So I have tried clearing caches from ROM manager, CWM, rebooting....
I can see this question asked in the Typhoon thread, at least twice with no answer (I can't yet post there).
BTW I can buy Apps from Market on the PC and it sucesfully installs on the HD2...so I think my accounts stuff is all fine.
So I guess the info I'm looking for if a specific fix is not known is "how to do a real and total wipe" - I'm confused by what Task29 does, and what I need to do to "blank" the SD card.....which I assume I should also do?
Any hints/steps?
or even any idea of if a total blank will help?
blackkj said:
So I have tried clearing caches from ROM manager, CWM, rebooting....
I can see this question asked in the Typhoon thread, at least twice with no answer (I can't yet post there).
BTW I can buy Apps from Market on the PC and it sucesfully installs on the HD2...so I think my accounts stuff is all fine.
So I guess the info I'm looking for if a specific fix is not known is "how to do a real and total wipe" - I'm confused by what Task29 does, and what I need to do to "blank" the SD card.....which I assume I should also do?
Any hints/steps?
or even any idea of if a total blank will help?
Click to expand...
Click to collapse
I wrote this on another thread I created.
http://forum.xda-developers.com/showthread.php?p=20370071#post20370071
Hello all okay so I have another issue I ran into with Tytung's ICS ROM for the HD2.
When I go into the Marketplace I am able to download free apps and/or apps I have previously purchased but when I go to purchase a new app I get the error: "An error occurred. Please try again". I am able to purchase it online and it will send to the phone and download, I am able to purchase apps on my Motorola Defy running CM7, I have even tried wiping the the phone data & cache and wiping dalvic and re-installing but this still didn't work. Is anyone else experiencing this issue? Hope you can help.
I had this same issue with Tytungs Nexus ROM, but I also had other issues where software switches would be changed e.g. mobile data etc.
When the latest update arrived I decided to do a fresh install, task29, radio, MAGLDR, format SD, the works.
Now the market purchase works perfectly, it was probably one crummy corrupt bit somewhere in the phone but couldn't find it.

[Q] Error 403 of Google Play on Samsung Galaxy S4 I9502

Dear All,
For more than a week, I have been frustrating about the 403 error on my Galaxy I9502 Duos. I have searched many places on the Internet, and I still couldn't make it work. The problem is really killing me, and I spent the whole last night writing emails with and trying solutions from Google support team, and in the end, they said they couldn't help me due to that my cellphone is a rooted device. That's ridiculous! How could I have the Google Apps without rooting my I9502?
So I have tried many ways that I can find, but still, the problem is not solved, please help me and you are my last hope!
Here are the information:
1. I'm using a stock rom based on Android 4.2.2:
Baseband version: I9502ZNUCMH3
Build number: JDQ39.I9502ZNUCMH4
2. I installed below package:
gapps-jb-20130812-signed.zip
3. Methods I have tried:
3.a I have found below link in xda, and tried below methods, and it doesn't help:
http://forum.xda-developers.com/showthread.php?t=1567456
3.a.1: Wiping cache, clear data, clear cache and force stop all below components and restart:
Google Play Store, Google Play Store Service, Google Services Framework
But this doesn't work!
3.a.2: Remove Account:
And I even tried to add another google account of my family, but still doesn't work as well!
3.a.3: Reset both two APNs to the default:
Note, I mainly use WIFI. And both two APN has been reset to default. But this doesn't work!
3.a.4: Using proxy:
I have GAEProxy and Ladder Trial installed. But this doesn't work no matter the proxy is opened or closed.
3.a.5: Revert back to the old play store:
I am using the oldest play store together with gapps-jb-20130812-signed.zip, and obvious this doesn't work too.
3.a.6: Switch to another account:
I switched to another google account, but this doesn't work.
3.a.6: Factory Reset
I didn't do this yet, but I am seriously thinking about this。。。
4. Beside this problem, I also found that my browser can not access mail.google.com
And there is a similar error message:
403. That’s an error.
Your client does not have permission to get URL /2 from this server. That’s all we know.
All, I have tried all my best, and still, I can't figure out this problem. Please help me!!!!!
Thanks.
BR
Wang, Mengjia
wangmengj said:
Dear All,
... That's ridiculous! How could I have the Google Apps without rooting my I9502?
.
Thanks.
BR
Wang, Mengjia
Click to expand...
Click to collapse
This is first time when I hear that someone needs root to access Google Play. On all of my Android devices Google Play was working WITHOUT root...
do you have any idea at all why have you rooted your phone?
spamtrash said:
This is first time when I hear that someone needs root to access Google Play. On all of my Android devices Google Play was working WITHOUT root...
do you have any idea at all why have you rooted your phone?
Click to expand...
Click to collapse
Really? I really have no idea how to install Google App without root on Galaxy S4 I9502 ? Could you please shed some light on it? Thanks!
In addition, I personally think this is not a issue relate to root as my worked phoned had worked for month until this came up suddenly.
Have tried almost the same thing...
I've done almost the same things as wangmengj (except for trying another google account). Still no success.
My device is an UMI X1 :cyclops:
Also:
My google play doesn't update by himself, but I tried removing all updates (reset to version 3.3x.sumthin'), then manually installed the newest version (I believe it is 4.4.22).
Still no success.
wangmengj said:
Really? I really have no idea how to install Google App without root on Galaxy S4 I9502 ? Could you please shed some light on it? Thanks!
In addition, I personally think this is not a issue relate to root as my worked phoned had worked for month until this came up suddenly.
Click to expand...
Click to collapse
I have no idea what're you doing and why.
First of all, to check if your Google account is OK, log in from laptop, desktop or other PC to Google Play.
Error 403 usually means that the server refuses your authentication, in other words: you do not have the credentials accepted by the server.
If using PC you'll have same error - that would mean that there is something wrong with the account.
Second, usually (it was same in case of ALL my android phones) - the Google Play was part of the ROM and was accessible as soon as I input the Google account settings. And definitely, installing the apps using the Google Play does NOT requires root, otherwise ALL android phones would be rooted as sold.
Hi,
I am also getting the same error and had done the same as the above including a factory reset. Still I am getting the same error. I can login to my account via pc but I cannot go to my google setting via my tablet's web browswer. I also realised my device is no longer listed in my google play under setting (via PC). Can someone shed some light to it?
I had the exact same problem on my I9502, and now all settled. Here's what I've done:
- Find app "Root Explorer" and install it.
- With RE, go to root/etc
- Delete the file "hosts" or simply change its name.
Then it should work!
wangmengj said:
Dear All,
For more than a week, I have been frustrating about the 403 error on my Galaxy I9502 Duos. I have searched many places on the Internet, and I still couldn't make it work. The problem is really killing me, and I spent the whole last night writing emails with and trying solutions from Google support team, and in the end, they said they couldn't help me due to that my cellphone is a rooted device. That's ridiculous! How could I have the Google Apps without rooting my I9502?
So I have tried many ways that I can find, but still, the problem is not solved, please help me and you are my last hope!
Here are the information:
1. I'm using a stock rom based on Android 4.2.2:
Baseband version: I9502ZNUCMH3
Build number: JDQ39.I9502ZNUCMH4
2. I installed below package:
gapps-jb-20130812-signed.zip
3. Methods I have tried:
3.a I have found below link in xda, and tried below methods, and it doesn't help:
http://forum.xda-developers.com/showthread.php?t=1567456
3.a.1: Wiping cache, clear data, clear cache and force stop all below components and restart:
Google Play Store, Google Play Store Service, Google Services Framework
But this doesn't work!
3.a.2: Remove Account:
And I even tried to add another google account of my family, but still doesn't work as well!
3.a.3: Reset both two APNs to the default:
Note, I mainly use WIFI. And both two APN has been reset to default. But this doesn't work!
3.a.4: Using proxy:
I have GAEProxy and Ladder Trial installed. But this doesn't work no matter the proxy is opened or closed.
3.a.5: Revert back to the old play store:
I am using the oldest play store together with gapps-jb-20130812-signed.zip, and obvious this doesn't work too.
3.a.6: Switch to another account:
I switched to another google account, but this doesn't work.
3.a.6: Factory Reset
I didn't do this yet, but I am seriously thinking about this。。。
4. Beside this problem, I also found that my browser can not access mail.google.com
And there is a similar error message:
403. That’s an error.
Your client does not have permission to get URL /2 from this server. That’s all we know.
All, I have tried all my best, and still, I can't figure out this problem. Please help me!!!!!
Thanks.
BR
Wang, Mengjia
Click to expand...
Click to collapse
I have had this problem for months now.
I too have been back and forth with google "support" via email, they are ****ing useless.
The issue is on THEIR end.
When I login to the play store on my computer, and I try and download an app, it throws and error immediately after clicking install - it has nothing to do with my device, the issue exists with my account on their end somewhere, but they refuse to acknowledge this and fix it, I really don't know what to do.
sanova8876 said:
I had the exact same problem on my I9502, and now all settled. Here's what I've done:
- Find app "Root Explorer" and install it.
- With RE, go to root/etc
- Delete the file "hosts" or simply change its name.
Then it should work!
Click to expand...
Click to collapse
It works! Brilliant!
I tried all other suggestions out there without luck. And finally I got the solution here!
Thanks savnova!
fifalover said:
It works! Brilliant!
I tried all other suggestions out there without luck. And finally I got the solution here!
Thanks savnova!
Click to expand...
Click to collapse
This still didnt work for me. cant download any app via wifi or 3G, ends up with error 403.even the root explorer solution didnt work.
tried reinstalling playstore, reinstalling ROM (CM11), wiping cache, dalvik cache, reset to factory etc. nothing works.
Please, anyone else?
wangmengj said:
Dear All,
For more than a week, I have been frustrating about the 403 error on my Galaxy I9502 Duos. I have searched many places on the Internet, and I still couldn't make it work. The problem is really killing me, and I spent the whole last night writing emails with and trying solutions from Google support team, and in the end, they said they couldn't help me due to that my cellphone is a rooted device. That's ridiculous! How could I have the Google Apps without rooting my I9502?
So I have tried many ways that I can find, but still, the problem is not solved, please help me and you are my last hope!
Here are the information:
1. I'm using a stock rom based on Android 4.2.2:
Baseband version: I9502ZNUCMH3
Build number: JDQ39.I9502ZNUCMH4
2. I installed below package:
gapps-jb-20130812-signed.zip
3. Methods I have tried:
3.a I have found below link in xda, and tried below methods, and it doesn't help:
http://forum.xda-developers.com/showthread.php?t=1567456
3.a.1: Wiping cache, clear data, clear cache and force stop all below components and restart:
Google Play Store, Google Play Store Service, Google Services Framework
But this doesn't work!
3.a.2: Remove Account:
And I even tried to add another google account of my family, but still doesn't work as well!
3.a.3: Reset both two APNs to the default:
Note, I mainly use WIFI. And both two APN has been reset to default. But this doesn't work!
3.a.4: Using proxy:
I have GAEProxy and Ladder Trial installed. But this doesn't work no matter the proxy is opened or closed.
3.a.5: Revert back to the old play store:
I am using the oldest play store together with gapps-jb-20130812-signed.zip, and obvious this doesn't work too.
3.a.6: Switch to another account:
I switched to another google account, but this doesn't work.
3.a.6: Factory Reset
I didn't do this yet, but I am seriously thinking about this。。。
4. Beside this problem, I also found that my browser can not access mail.google.com
And there is a similar error message:
403. That’s an error.
Your client does not have permission to get URL /2 from this server. That’s all we know.
All, I have tried all my best, and still, I can't figure out this problem. Please help me!!!!!
Thanks.
BR
Wang, Mengjia
Click to expand...
Click to collapse
I Just had the same problem, i solved it by going to /system/app/ and click Phonesky.apk and then install the app.
sanova8876 said:
I had the exact same problem on my I9502, and now all settled. Here's what I've done:
- Find app "Root Explorer" and install it.
- With RE, go to root/etc
- Delete the file "hosts" or simply change its name.
Then it should work!
Click to expand...
Click to collapse
It's a miracle! It worked! Thanks!
gyokov said:
It's a miracle! It worked! Thanks!
Click to expand...
Click to collapse
hi all,
is there any solution to this issue without dealing with root ?
I have already tried all the exist idea...

Broke settings.

So i installed the samsung s5 lockscreen, or at least attempted to, I never realized you needed to flash in recovery. First I backed my files up. Then with the zip all I did was copy the files down to system in EZ Explorer, when I found out that my settings.apk went missing and the home button didnt work(or the lockscreen) I tried to restore my files, I restart my phone but no change still no settings and home button doesnt interact at all. (Stock S4 with Root)
(Also I cannot install apps anymore) Any help greatly appreciated!
I think you can solve this by Android development bridge (adb). In a few words, this is a way you can modify your internal memory from your ?. So, you have to push all backup.
If you don't know how to use it, in this page there are a lot of helpful post.
marniba1 said:
I think you can solve this by Android development bridge (adb). In a few words, this is a way you can modify your internal memory from your ?. So, you have to push all backup.
If you don't know how to use it, in this page there are a lot of helpful post.
Click to expand...
Click to collapse
Sorry the app creates a backup, or do I need to have a previously installed backup?
Messed up even further!
Guys I tried to factory reset hoping to fix the problem, but as the config window opens up, I'm flooded with errors. My question is should I just install a ROM and hope that fixes it, or just go to my provider and go by the warranty?(Root I used is towelroot, so it should be gone after FR, so the warranty should still be good.)
Found a fix!
I did what it says here, works perfect except for wifi(Other then that its great)
www(dot)droidviews(dot)com/install-android-4-4-2-kitkat-firmware-on-canadian-galaxy-s4/

Reverting from Calendar 5.0 to 201404014

This is cobbled together from various sources online. Thanks to the respective authors.
Please read the ENTIRE guide before starting. Also please familiarize yourself with the 'adb' tool and make sure you have the proper USB drivers for your phone installed (Something like this might work). I will not be held responsible if you brick your phone or anything like that. In fact, I won't be held responsible for ANYTHING, Haha!
Go into the play store. Browse your way to your currently installed calendar. DISABLE AUTO-UPDATE.
Otherwise all your hard work will be for nothing when Google overwrites what you've already done.
Go in to Settings -> Security -> Unknown sources.
You must allow installation of software from unknown sources, otherwise the installation won't be accepted. You can disable this again once you are done, if you wish.
Download the old Calendar APK to your computer (http://www.apkmirror.com/apk/google-inc/calendar/calendar-201404014-apk/)
Get root (http://forum.xda-developers.com/nexus-4/orig-development/n4-cf-auto-root-t2025274)
If you don't already have root/oem unlock YOU WILL LOSE ALL YOUR DATA.
Install Titanium Backup (https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup)
This requires root, which is what we needed to do in the previous step.
Use Titanium Backup to uninstall Calendar 5.0
If you want to protect yourself, use Titanium Backup to make a backup of Calendar 5.0 in case things get ****ed up
If anybody knows of a different way of installing a system app, please let me know. It would be nice if this was possible "rootless"
Reboot
Install the old calendar apk using adb
Open cmd.exe (or equivalent).
Find where you either have your existing adb tools
Issue the command "
Code:
adb install com.google.android.calendar-201404014-201404014-minAPI15.apk
"
In my case, this looked like it hung. After about a minute, I did Ctrl+c to get out of it.
Thinking it had failed, I tried again, only to be told that the application was already installed (Failure [INSTALL_FAILED_ALREADY_EXISTS]).
Moments later, I was greeted with a calendar notification in the old calendar style. When I clicked it, I was taken to the old calendar.
Thus, it works.
Keep in mind that this is a bit of a hack. I'm writing these steps down as I remember them, rather than as a fully researched guide.
If you're not using lollipop, there's a chance you can simply "uninstall upgrades" to the calendar in the app store, instead of rooting+titanium+uninstall.
Great! I just did it with success following your steps exactly. Thank you!
I'm wondering though if I could have just used Nexus Root Toolkit (used to root) to backup and uninstall Calendar 5 rather than Titanium? I did use it (NRT) to install the apk with no issues, it indicated success and I assumed a reboot was needed. So good to have it back, thanks again!
nexus 4, 5.0.1, rooted stock rom
p.s. I was able to uninstall Calendar 5 updates via settings on my lollipop but it only left me with a Disable button (no uninstall). I think Titanium, or the likes, is needed to uninstall system apps.
Dude+ said:
Great! I just did it with success following your steps exactly. Thank you!
I'm wondering though if I could have just used Nexus Root Toolkit (used to root) to backup and uninstall Calendar 5 rather than Titanium? I did use it (NRT) to install the apk with no issues, it indicated success and I assumed a reboot was needed. So good to have it back, thanks again!
nexus 4, 5.0.1, rooted stock rom
p.s. I was able to uninstall Calendar 5 updates via settings on my lollipop but it only left me with a Disable button (no uninstall). I think Titanium, or the likes, is needed to uninstall system apps.
Click to expand...
Click to collapse
I think you can use any method you can think of to uninstall the existing calendar. That's really the tricky part. Side-loading the new one is relatively simple.
jevring said:
I think you can use any method you can think of to uninstall the existing calendar. That's really the tricky part. Side-loading the new one is relatively simple.
Click to expand...
Click to collapse
Your article was the only one i found that detailed "how to", so deviating from it was out. A revisit to NRT didn't give me the affirmation I needed to validate my thought of using tools other than what you specified. I'm green but am progressing.
Perhaps it would be privy of you to include a pointer or two to highlight that it needn't be Titanium but rather any tool with similar abilities. Maybe even mention a couple popular ones you know of.
Thanks and Happy New Year.
Dude+ said:
Your article was the only one i found that detailed "how to", so deviating from it was out. A revisit to NRT didn't give me the affirmation I needed to validate my thought of using tools other than what you specified. I'm green but am progressing.
Perhaps it would be privy of you to include a pointer or two to highlight that it needn't be Titanium but rather any tool with similar abilities. Maybe even mention a couple popular ones you know of.
Thanks and Happy New Year.
Click to expand...
Click to collapse
I don't actually know of any other approaches, personally. I did mention that it might be easier in my second post. I can imagine that you could simply "uninstall updates" provided you started with an android version before lollipop. I'm not 100% sure that would work, however, as then "adb install" might complain that the application was still installed.

Categories

Resources