[Samsung Galaxy Nexus] Jarmezrocks:
Hey guys I have been building ROMs on my own personal phone where when I flash from CWM that I don't do a format of the system partition. That means that in my install script although it is a LOT more lines of scripting.....I do a delete of specific files and copy to of specific files. So I delete whole directories in most instances, however in this case what I am thinking is that you could employ the same thinking with the apps in /system/app and do a non-wipe ROM flash. That way account authentication never gets prompted when going into google music ;)

It should work, although I am not sure what happens when you flash a new framework?

There are methods that can be employed for ROM'ers who are doing frequent changes to the framework also, where you can "inject' code and or themes into apks on the device.

What is the indicator to make the googlemusic app register a new device? Is it because the user has to sign into their google account again?

Is it only when you guys do a wipe flash or format flash that you get the prompt? I have never been prompted at all since I have had my SGSII except the first time. But that might be because I am in Australia and that has something to do with googlemusic on the market place?

EDIT:

If your keen you should use the CM Music app:cool:

Also I should learn to read before I post. I posted a different solution that does exactly what titanium does anyway. But Titanium is much easier than my idea.

It would just be helpful if ROM builders understood a bit more about the data side of things with Android. They can include back up and restoring of specific things (including all user apps if they wanted to) in the installation script of their ROMs. n00bs wouldn't need to flash and learn titanium etc.

Oh and I thought I would add that I started employing the methods that I mention in my previous post because it was ****ting me to tears that I would loose root access due to mismatched su binaries and apps and bla bla bla making me so angry sometimes

So yeah if i got root access....I wanted to keep it, got sick of playing games of chance and "hoping to god" that the superuser app would update the binary and it would work....most of the time not.

My install scripts are longer than my posts :D

At the very very least if a Dev needs to have a complete ROM wipe for what ever reasons then the Dev should be able to use copy functions in the updater script to copy components i.e. accounts from /data/data to /tmp -> wipe -> install ROM and copy back to /data/data

Anyway anyone who is having issues with this if you could upload me a ROM and then let me play around with the updater script and see if you can flash it and it not cause a device authorisation?

Send me a PM with link. For those that don't know or haven't got a way of hosting use this temp hosting to share your ROM to me:

http://fileai.com/?s&id=0

Just drag and drop the ROM zip on to this site and then paste the link to me in a PM...or here, but I will notice a PM before a reply in here lol.

On a side note, I have an installation script for ROMs that doesn't delete the users modem, so that way they don't have to flash ROM, Flash Gaps, Flash Modem bla bla bla. They just flash zip and it reboots for them with dalvik caches cleared and permissions fixed already ;)

Anyway...I am probably totally missing something here and I am not saying I am right either, I am just bouncing my ideas off you guys? So don't shoot me, I am open to learning if you stand me corrected :)