In the factory image "userdata.img" use for??????? - Nexus 7 Q&A, Help & Troubleshooting

after unzip factory image
it have bootloader.img, boot.img, recovery.img, system.img, userdata.img
userdata.img size is about 100M
but even i do not flash userdata.img, my nexus still can boot to the android 4.1.2
i don't know this userdata.img contain which data?
is it contain any Gapp which is not in the system?
anyone know?

ygvuhb said:
after unzip factory image
it have bootloader.img, boot.img, recovery.img, system.img, userdata.img
userdata.img size is about 100M
but even i do not flash userdata.img, my nexus still can boot to the android 4.1.2
i don't know this userdata.img contain which data?
is it contain any Gapp which is not in the system?
anyone know?
Click to expand...
Click to collapse
The userdata.img file is a blank partition. It is used to reset the userdata partition to its factory state (completely empty) and is not needed if you're just using the stock images (boot.img, system.img) to update to 4.1.2

comminus said:
The userdata.img file is a blank partition. It is used to reset the userdata partition to its factory state (completely empty) and is not needed if you're just using the stock images (boot.img, system.img) to update to 4.1.2
Click to expand...
Click to collapse
Okay, that's what I thought it was too, but then why is it 140MB? I mean I could see it being a few kilobytes for a directory table, or the size of the partition if it was an uncompressed image, but 104286KB for the Nexu7 and 137555KB for the Galaxy Nexus seems pretty arbitrary to me.

comminus said:
The userdata.img file is a blank partition. It is used to reset the userdata partition to its factory state (completely empty) and is not needed if you're just using the stock images (boot.img, system.img) to update to 4.1.2
Click to expand...
Click to collapse
Found this out the hard way.
Sent from my Galaxy Nexus using Tapatalk 2

Related

[Q] Clockworkmod backup

Hi,
I have stupidly renamed my official htc rom cwm backup.
And cant remember the original name!
cwm says that here is a md5 sum mismatch!
Has anyone got a backup they could zip up and upload?
If not how to get it back
Can i flash the .img files in fastboot?
RUU? Would that get me back too stock HTC 2.2.1?
Make sure that there are no spaces in the new renamed folder. Then it may clear the md5 checksum error.
And you can also flash the img files from fastboot.
Commands are
fastboot erase boot
fastboot flash boot boot.img
fastboot erase userdata
fastboot flash userdata data.img
fastboot erase cache
fastboot flash cache cache.img
fastboot erase system
fastboot flash system system.img
Sent from my HTC Wildfire using XDA App
Thanks
when i add a name cm7's standard file manager ands spaces the .number(1,2,3 etc.)
edit:
figured it out!

Creating a flashable zip of my FFOS build?

Hi there
I've built Firefox OS for the Galaxy Nexus but I'm struggling to find a way of creating a flashable zip to distribute.
This is my first ROM that I have successfully compiled, but everything seems to be working so I wouldn't mind sharing it with the rest of the internet. Any tips?
Thanks!
ojdon said:
Hi there
I've built Firefox OS for the Galaxy Nexus but I'm struggling to find a way of creating a flashable zip to distribute.
This is my first ROM that I have successfully compiled, but everything seems to be working so I wouldn't mind sharing it with the rest of the internet. Any tips?
Thanks!
Click to expand...
Click to collapse
After building from the B2G directory (the folder from where you run ./config.sh and ./build.sh) you should locate boot.img, userdata.img and system.img and copy them over to a folder, then you can flash using fastboot via:
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash userdata userdata.img
fastboot flash system system.img
fastboot erase cache
fastboot reboot
janjongboom said:
After building from the B2G directory (the folder from where you run ./config.sh and ./build.sh) you should locate boot.img, userdata.img and system.img and copy them over to a folder, then you can flash using fastboot via:
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash userdata userdata.img
fastboot flash system system.img
fastboot erase cache
fastboot reboot
Click to expand...
Click to collapse
Firefox OS in Galaxy Nexus, I want to take a look! Keep us up to date man!
janjongboom said:
After building from the B2G directory (the folder from where you run ./config.sh and ./build.sh) you should locate boot.img, userdata.img and system.img and copy them over to a folder, then you can flash using fastboot via:
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash userdata userdata.img
fastboot flash system system.img
fastboot erase cache
fastboot reboot
Click to expand...
Click to collapse
Ah didn't know this thread had replies so sorry for a bit of a bump. I was kind of after directions on how to create a flashable zip? It's just that I was aiming to avoid end users from using adb and fastboot. Do you know how to create a flashable zip instead?
Thanks for the guidance!

LMY47V 5.1.1 Razorg (N7 2013 Mobile) Factory Image Now up at Google's site!!!

https://dl.google.com/dl/android/aosp/razorg-lmy47v-factory-f230ab31.tgz
md5sum: be28b9fb24c85e34c5f94194d77b13da
sha1sum: f230ab313b5aef52198a707337bd2fe78f38443c
VivaErBetis said:
https://dl.google.com/dl/android/aosp/razorg-lmy47v-factory-f230ab31.tgz
md5sum: be28b9fb24c85e34c5f94194d77b13da
sha1sum: f230ab313b5aef52198a707337bd2fe78f38443c
Click to expand...
Click to collapse
Took'em long enough!
Is it possible to flash the factory image with CWM recovery to get stock android on the nexus 7 lte version? Will it delete the files on sd card?
^Aside from boot you can not flash the image files through recovery but there's no need.
Just fastboot flash the bootloader.img system.img and boot.img. Done. Won't erase anything.
(Check if there's a new radio if so flash that as well)
Or run the flash-all file but delete the -w in it or it'll wipe your data.

Extract System Images?

Is it possible to extract a copy of a system image from an updated G4+? Like the boot.img, recovery.img, system.img, etc? To be flashed in fastboot
Yep. You have to flash TWRP and backup all img's. They'll appear with 'win' extension, so just change them to 'img'.
PocketGorgon said:
Is it possible to extract a copy of a system image from an updated G4+? Like the boot.img, recovery.img, system.img, etc? To be flashed in fastboot
Click to expand...
Click to collapse
Flashfire app has a fastboot compatible image backup feature.
I need the files to fix my g4

Help! Phone Has No OS!

Somehow I have lost my OS. Phone will not boot. Can get into Recovery but that's it. Have tried installing factory image and Pixel experience nothing works. Please, I need help.
https://developers.google.com/android/images
Thanks. This doesn't help. Flash-all command doesn't work.
StormCell said:
Thanks. This doesn't help. Flash-all command doesn't work.
Click to expand...
Click to collapse
Flash it separately
fastboot flash system (drag the system image)
fastboot flash recovery (drag the recovery image)
fastboot flash vendor (drag the vendor image)
fastboot flash boot (drag the boot image)
xmxrtyx said:
Flash it separately
fastboot flash system (drag the system image)
fastboot flash recovery (drag the recovery image)
fastboot flash vendor (drag the vendor image)
fastboot flash boot (drag the boot image)
Click to expand...
Click to collapse
What about cache.img and radio.img?
A4Alpha said:
What about cache.img and radio.img?
Click to expand...
Click to collapse
there's no cache.img I think
yeah flash radio

Categories

Resources