Well, it helped in a different way. Looking at the logs using dmesg, i found that /data partition is mounted on my emulator.
Got adb shell and I am able to see the data but emulator is not fully booting. You may check the screenshots for a better picture of my scenario. Thanks for the help once again. On Sun, Jan 3, 2016 at 1:40 AM, kamal kumar <[email protected]> wrote: > > Please check the bootup logs. > mounting the /data might have been failed or there might be a file > permission/owner issue. > > Thanks & Regards, > kamal > > > > ------------------------------ > *From:* "[email protected]" <[email protected]> > *To:* android-porting <[email protected]> > *Sent:* Friday, 1 January 2016 9:53 AM > *Subject:* [android-porting] Booting an emulator with modified/custom > userdata.img file > > I have been trying to boot an emulator with user data from a real device. > When we create an Android emulator, by default it uses the userdata.img > file from AVD location. In my case, > C:\Users\User.Android\avd\emulator.avd\userdata.img > > I want to load my userdata such as pictures, music from my real phone into > an emulator. I created a dd image of *data partition*(I named it > userdata.img) from a real device and replaced the original userdata.img > file from my emulator.avd location. I also made sure that there is enough > disk space while creating this emulator(The size of the image taken from > real device is 800MB and DISK SIZE given to emulator is 1000MB). > When I launch the emulator with these modifications, it is not loading > with newly added image(It keeps loading for hours and hours but not > reaching the home screen). Please guide what are the other steps I need to > consider to load it. > Real device is SONY C1505 model running JellyBean(Android 4.1.1). Emulator > is also created using JellyBean(Android 4.1). > -- > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > > --- > You received this message because you are subscribed to the Google Groups > "android-porting" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > > > -- -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
