Issues with Cloning Android to Identical Devices - Android Q&A, Help & Troubleshooting

Hey guys,
I have an issue I'm facing at the moment. I have purchased 3 Samsung Galaxy Nexus devices for my family, and one for myself. I wanted to setup all our devices for them and pre-install essential apps for them, and lay it out in a way which makes each device identical so that my family (which is new to Android) can all get the same easy experience from their devices, rather than everyone getting a different LG/Samsung/HTC device and having to deal with differences in skins every time someone phones me with a question about their device.
Here is what I have done:
1. Unlocked bootloader, root, installed CM10.1.2 + gapps onto my own personal device. Clean install, wiped everything.
2. Setup android with a temporary Gmail account, installed about 20 apps, setup the homescreen, changed a few settings for simplicity, change wallpapers, etc.
3. Once I was satisfied, I removed the google account, rebooted to recovery (CWM 6.0.3.2) and made a Nandroid backup which was later copied to my home server.
4. Unlocked Bootloader, rooted and installed CM10.1.2 + gapps on all the other devices, booted the device then transferred the Nandroid backup from my home server to each of these other three devices. Restore the backup, reboot, all seems fine so I setup new individual google accounts, and away I went. Everything works fine, at least so it seems.
Now the issue is that I'm having came a day or two after I got everything setup on each device. At the moment I'm having serious issues with the Google Play Store and Push Notifications. Almost all devices intermittently have issues with this. The play store issue I'm getting is [RPC:S-5:AEC-0], and prevents me from downloading or updating apps. Push notifications is not working either. For example, Google hangouts notifications don't notify me of messages on devices intermittently unless I manually check the app. Same goes with facebook and snapchat notifications. Very annoying. Tried all sorts of fixes such as removing the Google account, rebooting and adding it again, but no luck.
It seems like there is some sort of conflict with each device, but I don't understand why. I changed the Android ID on each device hoping that would help, but still no luck. If anyone could offer an explanation why this issue is occurring I would love to hear it!
Cheers.
Edit: Tried making a titanium backup of one device and moved it to a rooted Galaxy S2 running CM10.1 nightlies, and no such issue. Also, updated one nexus device to the latest nightly, still no fix. Hopefully this information will help someone be able to point out the problem somewhere.

Okay, so I've been playing with a couple of these devices today, and by removing a google account, rebooting the device and then adding the google account again, it makes the play store work on that device, but breaks functionality on the other devices. Would someone with a low-level understanding of Android care to explain why this is?

I'm going to try doing a factory reset on one of these Nexus devices and restore a Titanium Backup and see if that helps, unless anyone has any suggestions?

The different accounts are linked to the play store separately, you are best off to just downloaded each app and set up each phone with its own gmail account. I know it sounds time consuming but it would take less time than you've been spending already.
As you learn more about android there are lots of ways of doing almost exactly what you want here, but learning right now will take less time and effort than downloading 20 apps to three different phones
Sent from my Nexus 4 using xda premium

demkantor said:
The different accounts are linked to the play store separately, you are best off to just downloaded each app and set up each phone with its own gmail account. I know it sounds time consuming but it would take less time than you've been spending already.
As you learn more about android there are lots of ways of doing almost exactly what you want here, but learning right now will take less time and effort than downloading 20 apps to three different phones
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thanks for the advice, but at the same time I'm using my family as guinea pigs to test whether it's possible to clone devices like this, as I'm in charge of the IT department at our organisation and I suggested it may be possible to deploy a large number of identical rooted android devices through the organisation (probably around 30-40 devices to start with). At this stage though, there seems to be some issues with doing this. Would you be able to point me in the direction of how I could clone Android to several devices, or at least deploy an identical setup to several devices? Perhaps I'll need to customize my own ROM based on Cyanogenmod? Chances are I'll be having to support different hardware as well. This may include the Galaxy Nexus, Nexus 4, Xperia Z and the LG Optimus 4X HD.

Well the absolute best way, in my opinion, would be to create your own ROM.
And by this I don't mean you need to learn how to port or build from source (at least not at first) just some simple zipkanging will do for something like this
Take the ROM.zip, open it, take out apps and such you don't want, add it the ones you do, rezip and sign
Now flash this to each phone and they will all have the same ROM and can just add their Google account.
Now if you want to have certain settings or the system ui look different than this you will need to learn how to decompile some apks and edit xml files, but start slow, do what is easy and what you can't figure out let me know and I'll try to help
Sent from my Nexus 4 using xda premium

demkantor said:
Well the absolute best way, in my opinion, would be to create your own ROM.
And by this I don't mean you need to learn how to port or build from source (at least not at first) just some simple zipkanging will do for something like this
Take the ROM.zip, open it, take out apps and such you don't want, add it the ones you do, rezip and sign
Now flash this to each phone and they will all have the same ROM and can just add their Google account.
Now if you want to have certain settings or the system ui look different than this you will need to learn how to decompile some apks and edit xml files, but start slow, do what is easy and what you can't figure out let me know and I'll try to help
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thought this might be the case.
Is it relatively simple to copy the changes I make to one ROM (eg for a Galaxy Nexus) for another ROM (eg. for a Nexus 4)? Is there some sort of Android virtual machine I can test or build this in?

Not simple at all, I was referring to multiple phones of the same type. Its easy to create identical ROMs to be flashed between 30 n4s or 30 genexs, but to create the same identical ROM to work in both types of phones would require source builds matched to each device tree
Which if you know little about android, java, c++ etc, then you have a real long journey ahead of you.
If you want to have an identical ROM (based off one already in existence) be flashed to 30 identical phones this is relatively easy depending on what all you want
Like I said, start small, learn what's easily obtained, then try for something bigger
Sent from my Nexus 4 using xda premium

demkantor said:
Not simple at all, I was referring to multiple phones of the same type. Its easy to create identical ROMs to be flashed between 30 n4s or 30 genexs, but to create the same identical ROM to work in both types of phones would require source builds matched to each device tree
Which if you know little about android, java, c++ etc, then you have a real long journey ahead of you.
If you want to have an identical ROM (based off one already in existence) be flashed to 30 identical phones this is relatively easy depending on what all you want
Like I said, start small, learn what's easily obtained, then try for something bigger
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
The idea was to use CM10.1 as a base and simply add in some apps + app data and change some settings. Setting up the homescreen in a certain way would be part of that. The Galaxy Nexus, Nexus 4, Xperia Z, and LG Optimus 4X HD all support CM10.1 stable.
If I setup a device the way I want it, would it be possible to extract some of these custom configurations from the live device to a flashable ROM?

Just because there is the same ROM for each phone doesn't mean they are exact, but in your case probably good enough. But the change you would make would be to each individual ROM (on computer not on phone) and then flashed these new versions of your ROM to each phone.
You can not make changes to your phone when running the os and extract these changes and flash them to another phone easily, near impossible to do it to a different phone make
Like I have been saying, take a ROM, open it up on PC, change what you need, flash to phone. The simpler the changes the easier it is to do. This will have to be done on a case by case basis if you are doing it to multiple types of phones
Now if you give me a list of what you want to change exactly there may be a few things you can do on your phone but in reality this is the harder way, doing all the work on PC is the easier way
Sent from my Nexus 4 using xda premium

Yes, I understand that. I think what I'll have to do is record the changes I make to one ROM in a changelog of some sort, and then simply recreate these changes manually to other ROMs. Through the PC of course.

demkantor said:
Just because there is the same ROM for each phone doesn't mean they are exact, but in your case probably good enough. But the change you would make would be to each individual ROM (on computer not on phone) and then flashed these new versions of your ROM to each phone.
You can not make changes to your phone when running the os and extract these changes and flash them to another phone easily, near impossible to do it to a different phone make
Like I have been saying, take a ROM, open it up on PC, change what you need, flash to phone. The simpler the changes the easier it is to do. This will have to be done on a case by case basis if you are doing it to multiple types of phones
Now if you give me a list of what you want to change exactly there may be a few things you can do on your phone but in reality this is the harder way, doing all the work on PC is the easier way
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Well for example, here are the outdated and rough changes I need to make to the settings (this is just a note of the changes in the settingsof the ROM to make it run way I wanted on the device). Attached it as a PDF as I couldn't copy the formatting.

Most of that should be doable by decompiling systemui.apk and settings.apk, somewhat time consuming and depending on your experience a steep learning curve, but should be able to do it
Sent from my Nexus 4 using xda premium

Related

Removing useless apps and getting the TapNTap dock to work on other roms

Hey folks, I have two general questions.
Ill start with the first easy question.
I would like to get the dock app that comes in the stock rom in an apk that will work with other roms. The dock I am referring to is the one that shows the weather and news and other various information in a sort of gigantic widget and you can scroll thru the different screens in the dock for different information (and at the bottom is a list of all the installed apps). And I would like all of the apks that this dock app uses as well.
I have tried just pulling out the dock.apk file out of the stock image file and sideloading it, but the problem is, it crashes the tab on bootup with every rom I have tried.
This second question is a bit more tricky because every rom has different apps they decide to include that are simply not necessary. If an app is available on the Google Market, I dont want it preinstalled with the rom, I will install it manually myself. If an app is installed that does not make use of the hardware (see the Phone apk), this app is using resources for absolutely no reason I can see and should not be included with the rom.
So, what I am looking for is, a list of all apps that normally come on a stock Google phone (in other words, apks that are included with the Android stock rom BEFORE manufacturers add their usual crap to it) that can be safely removed from all roms for the Gtab because the Gtab does not have the hardware to utilize said app (I would think anything like messaging, the phone, or the gps).
I am not looking for guesses here, I am looking for someone who knows a bit about Android and can safely determine what can be removed that is COMPLETELY useless regarding the GTab because of its hardware.
If you are still completely confused, here is a link to a website where someone has done something similar to what I am talking about with Windows. Read the paragraph or two at the top and then click a link below the paragraph based on the version of Windows you have. This will tell you services you can safely disable. I am looking for the same thing for the Gtab.
http://www.blackviper.com/wiki/Main_Page

[Q] Problems with developing a custom GS2 rom for medicinal purposes.

Hello to you all people of XDA, firstly I must state that I've scoured the forums far and wide and have yet to find some valuable info regarding my problem.
So what we're doing is developing (or trying to, as is obvious from this post) a custom rom for the Galaxy S2 which would be used for a single medical application for sensor tracking and the processing and displaying of said data on the SGS2, while at the same time sending it to his/her doctor.
What we need to be able to achieve with this rom is to put it into the hands of the end-user (a chronical patient which will in turn be able to stay at home instead of being hospitalized) and be able to completely lock down the phone for his use (I know, it sounds terrible) so that he loses the phone/sms/games/youtube/internet functionality as we need the phone to run as stable and for as long as possible without any additional battery stress (the constant sending, processing and processing of data seems enough of a problem for now).
I've searched into some custom roms but we eventually came up with the need for a stock Samsung rom which could be modified as we want to.
See this is where the problem begins, we can't seem to get the phone rooted, the ROM customized and then unrooted again so that the phone can't be fiddled with anymore, except when it's completely dead and we need to fix it.
So to cap it all up:
It needs to allow for a custom load and bootscreen (I almost got this to work)
It needs to be completely locked down for the end user.
It has to have full BT, NFC and WiFi functionality
It has to be able to call out and reciev calls, but only to/from specific numbers (911, doctor, etc..)
It has to basically allow for 2-3 programs to be running, while the others simply don't exist on the phone.
I am terribly sorry if anything like this has been asked about before, I swear I put 2 days of me life into researching already.
Any help, any help at all, ideas and solutions, but mostly links are welcome.
Thank you and good day to all.
Just a detail, but the SGS2 doesn't have the NFC functionality. Project seems to be possible, I would look into CyanogenMod sources if I was you.
Sent from my GT-I9100 using XDA App
Why are you afraid of leaving the phone rooted and in hands of the patient?
Is he so uncritical that he can search the web and find means of unrooting a mobile phone and then get around to actually doing it?
LucLucLuc said:
Hello to you all people of XDA, firstly I must state that I've scoured the forums far and wide and have yet to find some valuable info regarding my problem.
So what we're doing is developing (or trying to, as is obvious from this post) a custom rom for the Galaxy S2 which would be used for a single medical application for sensor tracking and the processing and displaying of said data on the SGS2, while at the same time sending it to his/her doctor.
What we need to be able to achieve with this rom is to put it into the hands of the end-user (a chronical patient which will in turn be able to stay at home instead of being hospitalized) and be able to completely lock down the phone for his use (I know, it sounds terrible) so that he loses the phone/sms/games/youtube/internet functionality as we need the phone to run as stable and for as long as possible without any additional battery stress (the constant sending, processing and processing of data seems enough of a problem for now).
I've searched into some custom roms but we eventually came up with the need for a stock Samsung rom which could be modified as we want to.
See this is where the problem begins, we can't seem to get the phone rooted, the ROM customized and then unrooted again so that the phone can't be fiddled with anymore, except when it's completely dead and we need to fix it.
So to cap it all up:
It needs to allow for a custom load and bootscreen (I almost got this to work)
It needs to be completely locked down for the end user.
It has to have full BT, NFC and WiFi functionality
It has to be able to call out and reciev calls, but only to/from specific numbers (911, doctor, etc..)
It has to basically allow for 2-3 programs to be running, while the others simply don't exist on the phone.
I am terribly sorry if anything like this has been asked about before, I swear I put 2 days of me life into researching already.
Any help, any help at all, ideas and solutions, but mostly links are welcome.
Thank you and good day to all.
Click to expand...
Click to collapse
Block all internet access apart from ones you want or you can just setup iptables rules, shouldnt need root apart from when setting it up
As far as removing programs, just delete the apks from the zip, or before you remove root. My sig has a list of all apks in a upto date rom and what they do.
You can use gemini app manager to control autoruns (stop them etc) also to block (hide and disable apps)
As far removing root, your best bet is to once you are done, use adb (from the android sdk) to remove the superuser.apk then flash the stock kernel back, as far as I know without superuser apps cant grain root permisions.
OR
This app will allow you to block any app behind a password
This app will block incoming and outgoing sms and calls on white and blacklists
Custom boot logo (the first screen before the animation)
Custom boot animation need to go into system/media, I am not sure about the format but there are loads around, like this thread has loads, stock kernel should support them.
I hope that helps
Most of that is easily possible.
If you listed the apps needing removed, the apk files just need deleted.
To control calls, you can use a third party app from market for that.
It's possible to have the custom rom unrooted, and easily flashed, regardless of how badly the phone gets rooted
Boot animation is easy anyway... If you can provide it in a zip like other ones (zip containing numbered png's) then it's a piece of cake.
A little bit of clever firewall stuff would prevent any web traffic, in or out, except to your defined server, which is obviously a concern when a phone is handling sensitive medical info.
genieass said:
Why are you afraid of leaving the phone rooted and in hands of the patient?
The phones are going to be used by around 500.000 people in a year, it's not that we want to take anything away from the user, it's more about not having any problems with the firmware - like ever.
Thanks for all the help!
Click to expand...
Click to collapse
genieass said:
Why are you afraid of leaving the phone rooted and in hands of the patient?
The phones are going to be used by around 500.000 people in a year, it's not that we want to take anything away from the user, it's more about not having any problems with the firmware - like ever.
Thanks for all the help!
Click to expand...
Click to collapse
LucLucLuc, not sure where you live, but you're entering the patient confidentiality minefield with big, big boots.
Apart from the legal considerations, your question is definitely OS related and not device related.
I see what you want, but legally - where I live anyway - it's too much of a grey area to get involved with.
I use call recording a lot for referrals and info from other doctors, but I've always asked the other party if they're OK with it. I won't record patient conversations, and I won't accept any files whatsoever that have seen RIS or PACS first - not worth it.
Can't see it's worth your while, but I'd appreciate it if you keep me informed should you decide to work on it.
Big boots indeed
We are from Slovenia, Europe.
I'm actually just a student doing the research and some basic Android programming, thank god I wasn't let into the bigger of the projects
But yes, this project is a colaboration of several european firms and you can read more about it at chiron-project.eu - it's a very very interesting project afaic.
I don't think we'll be swimming with lawyer piranhas soon though, the project uses sensor data (which sorta is a privacy issue) which will be monitored on a tablet running Android (currently testing the Galaxy tab 10.1 - we were lucky to order one before Steve had another one of his fits), proccessed in real time and then stored on the central server, from where it will only be accessible by the patients doctor.
Patient consents are dealt with before we even start talking about mobile hospitalizations.
It's very encouraging to see some actual interest, if anyone wants to know more about anything related to this project contact me at [email protected]
Thanks again for all the help.

[CLOSED] Export Q Function to Any Android Device

Sorry Guys,
As there doesn't seem to be a whole lot of interest in this project and as no one stepped forward to assist, I'm afraid I'm going to have to abandon this project.
Thanks for following.
___________________________________
OK Guys,
I've run into a bit of a brick wall and need some input from other developers. One of the required APKs from the Q needs a class not included along with my CM9 or Samsung stock roms. The class appears to be called "android.os.UpdateLock". So how do I go about ripping the class out of the Nexus Q rom and injecting it into CM9? Any help would be very appreciated!$!
--------------------------------------------------------------------
Hello All,
The Project
I'm looking to embark on a project to rip out the cloud function from the Q and install it on any android device. I want the cloud streaming of "Google" music and movies without the $300 expense.
The Progress
As of today I have the Nexus Q Deodexed, ripped out several apk files including the Nexus Q "Launcher" HubBroker.apk. I've merged the apks along with the fonts and lib folders of /system and my Galaxy Tab now boots up and runs like a Q. Primary issue outstanding is, the Nexus Q app won't detect the "galaxy Q" through bluetooth. I assume that some functions of the Q are sitting either within the bluetooth libs or that the Nexus Q has a specific bluetooth address that the app needs to see before detection.
My next attempt will be to try taking apart the Nexus Q apk and either changing its bluetooth search criteria or removing it completely. Second to that if anyone out there has a Q and has it setup on their phone, I could use the /data/data folder to extract more information about how it works. Or even better if someone knows what config file is generated on the actual nexus Q when it's set up for that first time.
You can already do that on most android devices. The Q just takes it to the big screen conveniently.
The function of being able to control the Google queue of device A from device B, C, D etc does not exist. Or at least I'm not aware of an app that does that.
I believe that I've tracked down the apk that does it on the nexus but I need to deodex the apps and can't seem to find a tool that works. Anyone out there deodex this rom yet?
JoeJonnyBoy75 said:
Hello All,
The Project
I'm looking to embark on a project to rip out the cloud function from the Q and install it on any android device. I want the cloud streaming of "Google" music and movies without the $300 expense.
The Progress
As of today I have the Nexus Q Deodexed, ripped out several apk files including the Nexus Q "Launcher" HubBroker.apk. I've merged the apks along with the fonts and lib folders of /system and my Galaxy Tab now boots up and runs like a Q. Primary issue outstanding is, the Nexus Q app won't detect the "galaxy Q" through bluetooth. I assume that some functions of the Q are sitting either within the bluetooth libs or that the Nexus Q has a specific bluetooth address that the app needs to see before detection.
My next attempt will be to try taking apart the Nexus Q apk and either changing its bluetooth search criteria or removing it completely. Second to that if anyone out there has a Q and has it setup on their phone, I could use the /data/data folder to extract more information about how it works. Or even better if someone knows what config file is generated on the actual nexus Q when it's set up for that first time.
Click to expand...
Click to collapse
This is a pretty nice project and there is nothing like this happening in Android now, besides the nexus Q. I'd like to see a future port of it to Google TV devices
auad said:
I'd like to see a future port of it to Google TV devices
Click to expand...
Click to collapse
Would love to have this functionality in an APK for me Google TV. Don't see why it wouldn't work, well other then no bluetooth on the Revue....
Still very interested in this thread regardless of GTV. I will be following your progress. Thanks!
.
I'm looking for this as well.
I have 3 spare HTC EVO's, and they all have HDMI out. I would like to be able to just plug them into the TV and use my other phones to control them / play music / etc. Maybe even throw XBMC on them with the ability to control from another phone..
They're slower, and less memory..but it may be doable.
Did anyone dig into this? I'd like this for the latest port of Android for a Raspberry Pi and willing to do some of the (noob)stuff myself.
That would be awesome to use any HDMI equipped phone along with the Nexus Q functionalities. I'm really interested.
I guess the problem with the missing API is that the Nexus Q runs android JB and he tried with a cm9.
Vettekult said:
I guess the problem with the missing API is that the Nexus Q runs android JB and he tried with a cm9.
Click to expand...
Click to collapse
Not true, Q runs ICS...
Let me know...
what I can do to help. If you give me a run down on what you would like me to try as far as pulling files from the q or my connected devices just shoot me a PM and i'll give it a shot. I too would love to add this functionality to my spare devices laying around.
I've been interested in this since day one as well. IT is what has me almost ready to fork out the money on more then one occasion. I have a party coming up and it would be fun to have my N7 as the Jukebox.
The Class issue, I'm not sure about. Here is some info that might get it started.: http://www.itcsolutions.eu/2011/08/...te-a-new-activity-class-with-manifest-editor/
AND:
http://stackoverflow.com/questions/5012004/adding-a-new-class-to-android-project
It looks like it is something created with the app. Since you cut/pasted the apk into system it may not have been installed. But I'm thinking that it is something else. Some where in the android system lib's it is probably installed. Since this was a device dedicated to this purpose, they were able to install it into the system and the app calls it. I'm slowly learning to write apps (very slowly) so I am not sure beyond this, or even about this for that matter.
I do have a question. It looks like you pulled some system apps and put them in your galaxy tablet. I think a better test would be to basically replace all the /system contents of say a N7 (galaxy tab may work) with those from the Q. Then once it works, cut down the files until it stops. Then with a list of what is needed to make it work we could get down to the nitty gritty.
My guess is some more knowledgeable devs, like those who got Google Now working, would have a better idea.
I'd love to see a third party app do the jukebox function, I think a issue is license certificate (DRM) for the multiple users. I don't understand how the user is associated/authenticated for the music. One Question is if a user Ques up music then leaves does it cause that music to not be able to be played or will it still play once it's been que'd? My guess is the app just organizes the music/user who is next then when it's their turn it streams from their device in real time... but I'm really not sure about this.
joeavery2 said:
I've been interested in this since day one as well. IT is what has me almost ready to fork out the money on more then one occasion. I have a party coming up and it would be fun to have my N7 as the Jukebox.
The Class issue, I'm not sure about. Here is some info that might get it started.: http://www.itcsolutions.eu/2011/08/...te-a-new-activity-class-with-manifest-editor/
AND:
http://stackoverflow.com/questions/5012004/adding-a-new-class-to-android-project
It looks like it is something created with the app. Since you cut/pasted the apk into system it may not have been installed. But I'm thinking that it is something else. Some where in the android system lib's it is probably installed. Since this was a device dedicated to this purpose, they were able to install it into the system and the app calls it. I'm slowly learning to write apps (very slowly) so I am not sure beyond this, or even about this for that matter.
I do have a question. It looks like you pulled some system apps and put them in your galaxy tablet. I think a better test would be to basically replace all the /system contents of say a N7 (galaxy tab may work) with those from the Q. Then once it works, cut down the files until it stops. Then with a list of what is needed to make it work we could get down to the nitty gritty.
My guess is some more knowledgeable devs, like those who got Google Now working, would have a better idea.
I'd love to see a third party app do the jukebox function, I think a issue is license certificate (DRM) for the multiple users. I don't understand how the user is associated/authenticated for the music. One Question is if a user Ques up music then leaves does it cause that music to not be able to be played or will it still play once it's been que'd? My guess is the app just organizes the music/user who is next then when it's their turn it streams from their device in real time... but I'm really not sure about this.
Click to expand...
Click to collapse
Ok so here is some more detailed info for those of you still following the project.
HubBroker.apk is the app that is for all intents and purposes the "launcher" for the nexus Q. It will install on the Galaxy Tab and Nexus 7. It takes over your "home" and replaces it with a picture of the Nexus Q and a welcome sign. This app looks to be only the launcher as it doesn't do anything if you tap on it. Also having the app running doesn't allow the Nexus Q app (from your phone) to find the device.
So I assume that that the Q is controlled via bluetooth to get it setup and running. Including configuring the Wifi, network settings, etc. Oddly enough the app does send a request to android system to turn on the bluetooth and changes the bluetooth device name to Nexus Q.... The ... part is a odd string of characters that I assume is used in case you happen to have multiple Nexus Q's.
Now as just having the app doesn't seem to work (Phone finding the Q). I've replaced all the bluetooth libs with the ones from the Q. Still nothing. I've migrated all the other APK files and then I get FCs all over, and still no connection. I haven't tried replacing the whole system yet, but I assume the hardware differences would be to great. The only other piece of the puzzle I have yet to attempt it merging the kernels or at least the init parts of the kernel relating to bluetooth.
If you have any questions though let me know. I've been up and down this thing.
Why don't we just flash the img on an old phone and see if that works?
zAo_ said:
Why don't we just flash the img on an old phone and see if that works?
Click to expand...
Click to collapse
For that to work we'd need to get a device with similar hardware (CPU, Chipset, etc.) Not only that but it would need to have the same MTD setup unless I'm mistaken.
Actually I'm going to give that a try with the nexus 7. I'll let you know what happens, won't be till tonight though.
JoeJonnyBoy75 said:
For that to work we'd need to get a device with similar hardware (CPU, Chipset, etc.) Not only that but it would need to have the same MTD setup unless I'm mistaken.
Actually I'm going to give that a try with the nexus 7. I'll let you know what happens, won't be till tonight though.
Click to expand...
Click to collapse
Cool, Thanks.
Sent from my Galaxy Nexus using xda premium
JoeJonnyBoy75 said:
For that to work we'd need to get a device with similar hardware (CPU, Chipset, etc.) Not only that but it would need to have the same MTD setup unless I'm mistaken.
Actually I'm going to give that a try with the nexus 7. I'll let you know what happens, won't be till tonight though.
Click to expand...
Click to collapse
Galaxy nexus has very similar hardware. Someone should try porting it.
Sent from my Nexus 7 using xda premium
If someone still interested in the project, i'm very interested in it, i have a galaxy nexus (almost same hardware) so we can give it a try, im also a android developer, so if it need to build some apk for it to work, i could give a shot.
Anyway, if there is someone interested just post here and we do all we can to make that work.
edit: Only one problem, as I'm out of USA, i need the q apk to test if it will connect or not. I cant download from play store.
I'm sure there will be so many people interested in it. I just think that not to many of them enter this category on forum
I also need the nexus q image so I can flash it. I tried searching it but didnt find

[Q] Softkeys

Alright, So we've seen Firefox running on Android Wear, however we can't enter any menus due to no softkeys on the device. I have been trying to install apps such as "Virtual Button Bar" and SoftKeys for Root Users onto the watch and they install and run. But only the home button works. Neither the back or menu button seems to work in any application.
Has anyone else attempted to get some softkeys for controls in unsupported apps that may be able to enlighten me more on why these keypresses seem to be ignored by the OS..
ShadowEO said:
Alright, So we've seen Firefox running on Android Wear, however we can't enter any menus due to no softkeys on the device. I have been trying to install apps such as "Virtual Button Bar" and SoftKeys for Root Users onto the watch and they install and run. But only the home button works. Neither the back or menu button seems to work in any application.
Has anyone else attempted to get some softkeys for controls in unsupported apps that may be able to enlighten me more on why these keypresses seem to be ignored by the OS..
Click to expand...
Click to collapse
With LMT all the keys that can get on-screen are working just fine in apps that support them but the problem is the app can't be launched (FC-most probably because it has an action bar) so you can't edit the buttons or the size of them, they just work but are over sized.
Ranomez said:
With LMT all the keys that can get on-screen are working just fine in apps that support them but the problem is the app can't be launched (FC-most probably because it has an action bar) so you can't edit the buttons or the size of them, they just work but are over sized.
Click to expand...
Click to collapse
I wonder if you can install LMT on your phone, customize it first, then go to /data/data/... or an appropriate location to grab the config and push it into the watch.
I'm also considering buying a GW, so if this somehow works, please let me know.
Sent from Google Nexus 4 @ CM12.1
[WARNING: XDA Premium 4.0.13+ lacks Signature function - do not update]
AndyYan said:
I wonder if you can install LMT on your phone, customize it first, then go to /data/data/... or an appropriate location to grab the config and push it into the watch.
I'm also considering buying a GW, so if this somehow works, please let me know.
Sent from Google Nexus 4 @ CM12.1
[WARNING: XDA Premium 4.0.13+ lacks Signature function - do not update]
Click to expand...
Click to collapse
Yes ofc it will work but the problem with that is that it will take a lot of time to customize the settings right for the watch and each time you copy the files to data/data remember that you will need to set the right permissions, owner and SELinux context for each and every file and considering that currently SELinux contexts can differ from one device to an other and from one ROM to an other that will be really time consuming and hard as you will have to find an app on your watch that has the same types of files to see the SELinux contexts for each of them.
To say it short yes you can do that but it will probably take you at least 1 day and I don't have the time or patience to do that and I doubt many people on this forum will but ofc if you do buy a G Watch have a go at it and tell us just how much time you've wasted.
Ranomez said:
Yes ofc it will work but the problem with that is that it will take a lot of time to customize the settings right for the watch and each time you copy the files to data/data remember that you will need to set the right permissions, owner and SELinux context for each and every file and considering that currently SELinux contexts can differ from one device to an other and from one ROM to an other that will be really time consuming and hard as you will have to find an app on your watch that has the same types of files to see the SELinux contexts for each of them.
To say it short yes you can do that but it will probably take you at least 1 day and I don't have the time or patience to do that and I doubt many people on this forum will but ofc if you do buy a G Watch have a go at it and tell us just how much time you've wasted.
Click to expand...
Click to collapse
Hmm, I doubt it would take that much effort, because I've tried manually moving config for some other apps without even touching the permissions, and they seem to fix that automatically. System apps don't like that way, though.
But seeing how Android Wear hates ActionBar, thus making many of my apps unavailable, I don't know if I'd still buy one. Yes I do want something Android on my wrist, but if it's just time-telling and Google Now (which is not even available here in China), then I'm not paying that chunk for it.
What apps do you have, then?
Sent from Google Nexus 4 @ CM12.1
[WARNING: XDA Premium 4.0.13+ lacks Signature function - do not update]
AndyYan said:
Hmm, I doubt it would take that much effort, because I've tried manually moving config for some other apps without even touching the permissions, and they seem to fix that automatically. System apps don't like that way, though.
But seeing how Android Wear hates ActionBar, thus making many of my apps unavailable, I don't know if I'd still buy one. Yes I do want something Android on my wrist, but if it's just time-telling and Google Now (which is not even available here in China), then I'm not paying that chunk for it.
What apps do you have, then?
Sent from Google Nexus 4 @ CM12.1
[WARNING: XDA Premium 4.0.13+ lacks Signature function - do not update]
Click to expand...
Click to collapse
Well you are talking about moving configs to the same phone I guess? Also if not were you on android 5.x+ cause if yes SELinux has became really strict, to the point that if you mess up some contexts on any file in the data partition you could even get a bootloop (happened to me) or have all your apps disappear and be unable to install any app until you fix up the SELinux context (again happened to me), which you will have to do using adb in that state if you don't happen to have and file manager with root capabilities installed in /system/app or /system/priv-app.
Also to answer your question: yes most normal android apps don't work but there are some that do, even some games and some are even really playable, moreover there are enough useful android wear apps out there, I don't know what you plan to use your watch for but for me it does way more than enough, after all it's a watch, it's not like I'll ever want to spend a lot of time looking at it doing anything but I can do some fast reading on it when I need (not like I'll ever read a whole book on it, that's why I have an android e-book reader or even my phone in the worst case scenario), browsing the internet fast (ofc it needs to be connected to a phone with a data connection), receive and send messages, reject calls, even some light or not so light gaming, even things as Temple Run 2, can play music when I don't have my phone using a bluetooth headset/speaker), the only thing I miss is a full office suite, really, I am writing a novel at the moment and never know when I get some inspiration and have to write down what I have in my mind pretty fast so I don't forget, would love to just be able to write on the watch and not have to take out my phone for that.
Also I would suggest that if you have the money you should go with a watch that has wi-fi like the G Watch R or Urbane cause then you will be able to use the internet without a phone, also the screen of the G Watch is really bad in the sun, I had a Sony Smartwatch 2 before and that was way more limited software wise (and for that reason had a battery life of over 1 week) but the screen was miles ahead, I could see everything in powerful sun light without even setting the brightness to the maximum, on the G Watch I can barely see anything with the brightness at maximum in not so powerful sun light.
Does LMT contain the menu button by default? I could care less if it's a little oversized (as long as it's not to big for 150-175 DPI), but I'm about to reset my watch using the restore tools because I screwed up root while trying to get SoftKeyz (EDIT: I believe was the name of the softkey app I was trying to make work, can't remember and just finished resetting) to work correctly.
Ranomez said:
Well you are talking about moving configs to the same phone I guess? Also if not were you on android 5.x+ cause if yes SELinux has became really strict, to the point that if you mess up some contexts on any file in the data partition you could even get a bootloop (happened to me) or have all your apps disappear and be unable to install any app until you fix up the SELinux context (again happened to me), which you will have to do using adb in that state if you don't happen to have and file manager with root capabilities installed in /system/app or /system/priv-app.
Also to answer your question: yes most normal android apps don't work but there are some that do, even some games and some are even really playable, moreover there are enough useful android wear apps out there, I don't know what you plan to use your watch for but for me it does way more than enough, after all it's a watch, it's not like I'll ever want to spend a lot of time looking at it doing anything but I can do some fast reading on it when I need (not like I'll ever read a whole book on it, that's why I have an android e-book reader or even my phone in the worst case scenario), browsing the internet fast (ofc it needs to be connected to a phone with a data connection), receive and send messages, reject calls, even some light or not so light gaming, even things as Temple Run 2, can play music when I don't have my phone using a bluetooth headset/speaker), the only thing I miss is a full office suite, really, I am writing a novel at the moment and never know when I get some inspiration and have to write down what I have in my mind pretty fast so I don't forget, would love to just be able to write on the watch and not have to take out my phone for that.
Also I would suggest that if you have the money you should go with a watch that has wi-fi like the G Watch R or Urbane cause then you will be able to use the internet without a phone, also the screen of the G Watch is really bad in the sun, I had a Sony Smartwatch 2 before and that was way more limited software wise (and for that reason had a battery life of over 1 week) but the screen was miles ahead, I could see everything in powerful sun light without even setting the brightness to the maximum, on the G Watch I can barely see anything with the brightness at maximum in not so powerful sun light.
Click to expand...
Click to collapse
Thanks for compiling such a long response for me :thumbup:
As my signature says most of my devices are on 5.1. Moving some game saves across devices works nicely, though moving contacts database involves modifying owner and permission, but not SEL context - to be honest, I don't even know that ever matters.
Sure I don't have many things in mind when it comes to "what to do with GW"... Back when I was using the Gear, I had quite some apps on it, but most of the time I use it as a timekeeper. But not being compatible with ActionBar is so shocking - I can't imagine how many apps I've used on the Gear so nicely won't work with GW, the most important of which are Greenify, LMT and Root Explorer. Looks like I still have to do much research before I decide on a purchase.
Sent from Google Nexus 4 @ CM12.1
[WARNING: XDA Premium 4.0.13+ lacks Signature function - do not update]
AndyYan said:
Thanks for compiling such a long response for me :thumbup:
As my signature says most of my devices are on 5.1. Moving some game saves across devices works nicely, though moving contacts database involves modifying owner and permission, but not SEL context - to be honest, I don't even know that ever matters.
Sure I don't have many things in mind when it comes to "what to do with GW"... Back when I was using the Gear, I had quite some apps on it, but most of the time I use it as a timekeeper. But not being compatible with ActionBar is so shocking - I can't imagine how many apps I've used on the Gear so nicely won't work with GW, the most important of which are Greenify, LMT and Root Explorer. Looks like I still have to do much research before I decide on a purchase.
Sent from Google Nexus 4 @ CM12.1
[WARNING: XDA Premium 4.0.13+ lacks Signature function - do not update]
Click to expand...
Click to collapse
I just looked at your signature and now I know why you had no problem with moving data from one device to an other: all your devices are running CM so they will all use the same security contexts but CM's security contexts are different from normal stock AOSP's contexts and both are different from the contexts used in Samsung TW ROM's, I can bet that if you try to move the data to a stock nexus or some other device running a manufacturer ROM or an other custom ROM than CM (most do use the same contexts but some don't) you will get into problems. SELinux contexts seem to be now just as important as permissions, sometimes you can get around with the wrong owner but if you have wrong Permissions or SELinux contexts you might mess up more than what you were changing.
Also about the app compatibility thing....I don't really miss many apps that I run on my normal devices, the only one I can actually think of is Titanium Backup (and an office app as I said), I found a good replacement for root explorer in MiXplorer, greenify is totally un-needed and wouldn't be too useful even if it worked (I'm actually not sure if it does or not, to me that layout looked like the action bar is either a non-default implementation so it might work without it) because the xposed installer doesn't work (FC-same reason, action bar) but I think xposed could work if someone adapted the installer (doesn't seem to me that the OS-level differences are so big, it's more of the framework), didn't yet try but just for a lol will flash the xposed lollipop zip and see if I can still boot.
An other option for you might be to buy a Gear S, as far as I can see there is some development going on towards running (initially) android wear on it and further afterwards full android.
Ranomez said:
I just looked at your signature and now I know why you had no problem with moving data from one device to an other: all your devices are running CM so they will all use the same security contexts but CM's security contexts are different from normal stock AOSP's contexts and both are different from the contexts used in Samsung TW ROM's, I can bet that if you try to move the data to a stock nexus or some other device running a manufacturer ROM or an other custom ROM than CM (most do use the same contexts but some don't) you will get into problems. SELinux contexts seem to be now just as important as permissions, sometimes you can get around with the wrong owner but if you have wrong Permissions or SELinux contexts you might mess up more than what you were changing.
Also about the app compatibility thing....I don't really miss many apps that I run on my normal devices, the only one I can actually think of is Titanium Backup (and an office app as I said), I found a good replacement for root explorer in MiXplorer, greenify is totally un-needed and wouldn't be too useful even if it worked (I'm actually not sure if it does or not, to me that layout looked like the action bar is either a non-default implementation so it might work without it) because the xposed installer doesn't work (FC-same reason, action bar) but I think xposed could work if someone adapted the installer (doesn't seem to me that the OS-level differences are so big, it's more of the framework), didn't yet try but just for a lol will flash the xposed lollipop zip and see if I can still boot.
An other option for you might be to buy a Gear S, as far as I can see there is some development going on towards running (initially) android wear on it and further afterwards full android.
Click to expand...
Click to collapse
Hmm, you got a good point there. I also move data between one of the CM phones and the TF300TL tablet, but SEL is nonexistent in Android 4.2, so I guess you're right.
Gear S is way out of my reach - if I had that cash I'd buy a ZenWatch, a 360 or even an Omate TrueSmart without hesitation. But thanks for letting me know all this anyway - I choose not to look at GW and Android Wear at this moment.
Sent from Google Nexus 4 @ CM12.1
[WARNING: XDA Premium 4.0.13+ lacks Signature function - do not update]
AndyYan said:
Hmm, you got a good point there. I also move data between one of the CM phones and the TF300TL tablet, but SEL is nonexistent in Android 4.2, so I guess you're right.
Gear S is way out of my reach - if I had that cash I'd buy a ZenWatch, a 360 or even an Omate TrueSmart without hesitation. But thanks for letting me know all this anyway - I choose not to look at GW and Android Wear at this moment.
Sent from Google Nexus 4 @ CM12.1
[WARNING: XDA Premium 4.0.13+ lacks Signature function - do not update]
Click to expand...
Click to collapse
You could instead look at a Gear Live then, it at least has a heart rate sensor and a way better screen for outdoors and at least in my country it is in the same price range as the G Watch (actually cheaper) but yes, I can't totally recommend android wear as it is right now, it's good enough (at least for me) but I can also see why a normal pure android watch could be way better yet I have faith that this will change.
Also I really can't recommend the Omate or any other MediaTek smart watch as 1st most of them have no resistance to water whatsoever, 2nd they have no support from and 3rd the firmware on them has so many security holes and other flaws it looks like a schweizer.
EDIT: I forgot to say that if you want full android you could search for a SmartQ Z-watch, as far as I know that is a pretty good one and also pretty cheap (on pandawill when it was on "last time sale" it was sold for 30$ and I am talking about the normal not the lite one, the lite one isn't worth it) but I don't think it will be updated anymore, yet android 4.4 is pretty good compared to other android smart watches.
Ranomez said:
You could instead look at a Gear Live then, it at least has a heart rate sensor and a way better screen for outdoors and at least in my country it is in the same price range as the G Watch (actually cheaper) but yes, I can't totally recommend android wear as it is right now, it's good enough (at least for me) but I can also see why a normal pure android watch could be way better yet I have faith that this will change.
Also I really can't recommend the Omate or any other MediaTek smart watch as 1st most of them have no resistance to water whatsoever, 2nd they have no support from and 3rd the firmware on them has so many security holes and other flaws it looks like a schweizer.
EDIT: I forgot to say that if you want full android you could search for a SmartQ Z-watch, as far as I know that is a pretty good one and also pretty cheap (on pandawill when it was on "last time sale" it was sold for 30$ and I am talking about the normal not the lite one, the lite one isn't worth it) but I don't think it will be updated anymore, yet android 4.4 is pretty good compared to other android smart watches.
Click to expand...
Click to collapse
Z Watch? No thanks, I've tried that *before* the Gear, and I sold it within a week and lost $15 in the process - crappy 1GHz MIPS which is not only slow but also lacks compatibility for almost everything I throw at it - not even a custom launcher or a weather app would work. Omate's MTK is indeed unfavorable, and that's why I haven't already got one. And there aren't many people who sell Gear Live here. Which leaves me zero feasible choice.
I guess I could call it an end to my hunt of smartwatches, until something like Neptune Pine (but thinner and lighter) shows up. Thanks for helping me analyze the situation all this time!
AndyYan said:
Z Watch? No thanks, I've tried that *before* the Gear, and I sold it within a week and lost $15 in the process - crappy 1GHz MIPS which is not only slow but also lacks compatibility for almost everything I throw at it - not even a custom launcher or a weather app would work. Omate's MTK is indeed unfavorable, and that's why I haven't already got one. And there aren't many people who sell Gear Live here. Which leaves me zero feasible choice.
I guess I could call it an end to my hunt of smartwatches, until something like Neptune Pine (but thinner and lighter) shows up. Thanks for helping me analyze the situation all this time!
Click to expand...
Click to collapse
Well the compatibility thing has changed as ingenic released a compatibility layer (something like libhoudini for intel CPU's) so as far as I can see from a friend's Z Watch it can run almost anything one would throw at it (ok, anything a bit rational, only apps that can actually be useful on a watch) but yes that CPU is not the fastest and the firmware is not really optimized enough so you would need a custom ROM and perhaps some RAM management script like L Speed to get it lag-free yet I can say my friend's z watch behaves pretty well on Dj Droid, it wasn't really lag-free the 2 weeks time we exchanged watches so I could test it but that's just cause I was using xposed and quite a few modules and also had about 100 apps installed, the lag wasn't really the problem for me, the annoying thing for me was the app load times, it would take me up to 1 minute to launch a 3d game.
This being said I would still recommend you to wait for something better, smartwatches right now are good but I see a lot more potential and I am sure in a few years we will see amazing ones, perhaps as good as our older phones in regards to app compatibility and flexibility, who knows, perhaps they'll even be as powerful as our current phones (as far as it goes phones in 1 year will probably be much powerful than our current phones so anything's possible).
EDIT: I also forgot to say that many apps have been adapted for MIPS since then so even without the compatibility layer there are enough apps working on the Z Watch.

Imaging software

Hi all, I have two Samsung S8+ phones purchased at the same time and now I have to turn one in for an upgrade, while planning to keep the other. The issue is the one with all of the info/apps I want to keep has a giant scratch on it, while the other is in perfect shape.
Since they are identical phones, it doesn't seem like a stretch to take a direct snapshot image of the phone and copy it over, i.e. EVERYTHING is preserved, apps, their status, all settings, etc. But I don't know if there is such software that will do this. I'm enough of a script kiddie to be able to follow directions of creating an image/flash an image, if anyone can kindly point out such directions.
Fingers crossed. Thanks in advance!
ninjajim4 said:
Hi all, I have two Samsung S8+ phones purchased at the same time and now I have to turn one in for an upgrade, while planning to keep the other. The issue is the one with all of the info/apps I want to keep has a giant scratch on it, while the other is in perfect shape.
Since they are identical phones, it doesn't seem like a stretch to take a direct snapshot image of the phone and copy it over, i.e. EVERYTHING is preserved, apps, their status, all settings, etc. But I don't know if there is such software that will do this. I'm enough of a script kiddie to be able to follow directions of creating an image/flash an image, if anyone can kindly point out such directions.
Fingers crossed. Thanks in advance!
Click to expand...
Click to collapse
The software you need is already on both devices
The Samsung Smart Switch app works just fine.
My wife has upgraded her phone every year since the Note 2 and has never used anything else.
All text, call logs, ringtones, music, apps and settings are transferred without error.
Sent from my HD1907 using Tapatalk
clsA said:
The software you need is already on both devices
The Samsung Smart Switch app works just fine.
My wife has upgraded her phone every year since the Note 2 and has never used anything else.
All text, call logs, ringtones, music, apps and settings are transferred without error.
Sent from my HD1907 using Tapatalk
Click to expand...
Click to collapse
Unfortunately this is totally wrong. Smart Switch does not support backup/restore of application data:
https://www.samsung.com/za/support/...n-application-like-game-data-or-chatting-log/
ninjajim4 said:
Unfortunately this is totally wrong. Smart Switch does not support backup/restore of application data:
https://www.samsung.com/za/support/...n-application-like-game-data-or-chatting-log/
Click to expand...
Click to collapse
Strange it has worked for us without an issue for almost 8 years
Exactly what app data are you worried about loosing ?
Facebook chat logs ?
Aren't all modern apps data saved to the cloud in one form or another ?
clsA said:
Strange it has worked for us without an issue for almost 8 years
Exactly what app data are you worried about loosing ?
Facebook chat logs ?
Aren't all modern apps data saved to the cloud in one form or another ?
Click to expand...
Click to collapse
What is strange is that you feel that your requirements being met must neccessarily suffice for the rest of the world.
The ask is the ask. If you don't have the answer, there's no need to get me to accept what you perceive is an adequete solution.
ninjajim4 said:
Hi all, I have two Samsung S8+ phones purchased at the same time and now I have to turn one in for an upgrade, while planning to keep the other. The issue is the one with all of the info/apps I want to keep has a giant scratch on it, while the other is in perfect shape.
Since they are identical phones, it doesn't seem like a stretch to take a direct snapshot image of the phone and copy it over, i.e. EVERYTHING is preserved, apps, their status, all settings, etc. But I don't know if there is such software that will do this. I'm enough of a script kiddie to be able to follow directions of creating an image/flash an image, if anyone can kindly point out such directions.
Fingers crossed. Thanks in advance!
Click to expand...
Click to collapse
You programmatically create a ( complete ) backup ( clone ) of phone #1 - only a small script is necessary to do this - on a high capacity external SD-card plugged into phone #1, then move that SD-card to phone #2, finally being on phone #2 ( what must be rooted if Android system is also backed up !!! ) programmatically restore the backup - again only a small script is necessary to achieve that.
The necessary scripts preferredly are Windows batch-files that make use of ADB.

Categories

Resources