[Q] How to repack a system.img - Android Q&A, Help & Troubleshooting

I have a question, I need help repacking a system.img. This is what i have done, i unpacked it, removed unnessasary apps and added a different frame work, so now i want to repack back to a system.img file.But have had no luck. I do have ubuntu and windows so no matter what operating system i use.

frankinstine said:
I have a question, I need help repacking a system.img. This is what i have done, i unpacked it, removed unnessasary apps and added a different frame work, so now i want to repack back to a system.img file.But have had no luck. I do have ubuntu and windows so no matter what operating system i use.
Click to expand...
Click to collapse
If you intend on flashing it with a custom recovery, you could also zip the whole package and name it update.zip
There's an excellent guide over here.

The problem is, I used mkcramfs and when I unpacked it again it showed empty
Sent from my HTC HD2 using XDA App

frankinstine said:
The problem is, I used mkcramfs and when I unpacked it again it showed empty
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
I see. But what will the .img be used for?

Thijs96 said:
I see. But what will the .img be used for?
Click to expand...
Click to collapse
I want to edit and change some things in it. I'm doing this for the HD2. The new nand flash. So that's why a zip will not help me, I do know how to make a Rom into an zip. The nand flashs the boot.img and system.img
Sent from my HTC HD2 using XDA App

To be clear I have the system file ready I just need to reach it
Sent from my HTC HD2 using XDA App

frankinstine said:
To be clear I have the system file ready I just need to reach it
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
Yes, yes, I know what you mean.
You've got to have /system in a folder, not compressed.
*You've got to be on linux!
Issue:
Code:
mkfs.yaffs2 yourdir yourimage
But you've got to find that command on Google, I didn't find it. Otherwise, flash it to your device and make a Nandroid backup.
Edit: I've found mkfs.yaffs2, but it's ARM only. That means you've got to do it on your device (Busybox/Terminal)
It's here.

Thijs96 said:
Yes, yes, I know what you mean.
You've got to have /system in a folder, not compressed.
*You've got to be on linux!
Issue:
Code:
mkfs.yaffs2 yourdir yourimage
But you've got to find that command on Google, I didn't find it. Otherwise, flash it to your device and make a Nandroid backup.
Edit: I've found mkfs.yaffs2, but it's ARM only. That means you've got to do it on your device (Busybox/Terminal)
It's here.
Click to expand...
Click to collapse
I'll give it a shot then
Sent from my HTC HD2 using XDA App

You can get yaffs2 tool for x86 Linux from here: http://jiggawatt.org/badc0de/android/mkfs.yaffs2.x86.tar.gz

I don't remember off hand what to search for as its been a while since I used it. I'll upload them when I get home if I still have them.
Sent from my HERO200 using XDA App

copy the folder to the sd on the phone, (eg /sdcard/myimg/ open a terminal on the phone, issue mkyaffs2image /sdcard/myimg/ /sdcard/system.img

bgcngm said:
You can get yaffs2 tool for x86 Linux from here: http://jiggawatt.org/badc0de/android/mkfs.yaffs2.x86.tar.gz
Click to expand...
Click to collapse
It's awesome! I've actually copied it into /bin/ on my computer, I'm using it an awful lot

pls help me!!!
how to upack and repack system.img ang boot.img...because i cant understand the guide..i think its missing something..pls help me

Is that for samsung devices?If yes,you can have a look at my sig
Sent from my GT-N7000 using xda app-developers app

Related

[Q] How can I backup efs folder ?

I know this question is common but I read this thread
http://forum.xda-developers.com/showthread.php?t=1068193
and he asked me to learn busybox commands then I read this thread which offers an app to backup this folder
http://forum.xda-developers.com/showthread.php?t=1138873
My question :Is there anyone who tried this app to backup efs folder on GSII ?
and does this app need rooted phone ?
Thanks
The commands are in the first link you posted, and yes you need a rooted phone.
I know but I need a way without busybox as It's very long
and I wanted to know anyone used the app which I posted on GSII
Just install the cf-root kernel, it has busybox built in.
Never used the app since it isn't needed, typing out a command isn't that trivial.
http://www.appbrain.com/app/nitrality/com.nfye.insanity.toolbox
jje
peachpuff said:
Just install the cf-root kernel, it has busybox built in.
Never used the app since it isn't needed, typing out a command isn't that trivial.
Click to expand...
Click to collapse
I know but the dev said " you should learn busybox commands otherwise you will lose your phone "
Im just going to step away from this thread...
JJEgan said:
jje
Click to expand...
Click to collapse
Thanks but did you try this app on GSII
mohamdyoon said:
I know this question is common but I read this thread
http://forum.xda-developers.com/showthread.php?t=1068193
and he asked me to learn busybox commands then I read this thread which offers an app to backup this folder
http://forum.xda-developers.com/showthread.php?t=1138873
My question :Is there anyone who tried this app to backup efs folder on GSII ?
and does this app need rooted phone ?
Thanks
Click to expand...
Click to collapse
It's not hard, i just copy/pasted the commands from the first thread, but i know a bit about linux command line commands.
If you typo you could break stuff, that's life.
Or just try the app, maybe read the thread to see if other people have had it work for them.
The only risk free thing you can do with your phone is turn it off and put it back in the box
Sent from my GT-I9100 using XDA Premium App
veyka said:
It's not hard, i just copy/pasted the commands from the first thread, but i know a bit about linux command line commands.
If you typo you could break stuff, that's life.
Or just try the app, maybe read the thread to see if other people have had it work for them.
The only risk free thing you can do with your phone is turn it off and put it back in the box
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
thanks for your help I really want to know a bit about these commands but I can't know how ? the topic give url to learn all commands not a bit of them
If you can tell me how I will be grateful
but as you know a bit about linux command you need to change anything in the commands or you just copied it ?
Thanks again for trying help me
If you are rooted you can just install galaxy s unlock by helroz and it has an option to just back up for /efs folder before you unlock. just select the backup option and don't do the unlock. No command line stuff required. The efs will be backed up to your phone storage.
mohamdyoon said:
thanks for your help I really want to know a bit about these commands but I can't know how ? the topic give url to learn all commands not a bit of them
If you can tell me how I will be grateful
but as you know a bit about linux command you need to change anything in the commands or you just copied it ?
Thanks again for trying help me
Click to expand...
Click to collapse
Code:
su
busybox tar zcvf /sdcard/efs/efs-backup.tar.gz /efs
The tar command with zcvf takes the input, in this case the efs folder and compresses it into a file in the output location, in this case on the internal sd card, while maintaining unix permissions, important for if you need to restore, this will make a small file.
Code:
su
cat /dev/block/mmcblk0p1 > /sdcard/efs/efs_dev-block-mmcblk0p1.img
Su gains root
Cat means catalog aka copy contents of what you point it at, in this case you are copying the whole partition where the efs folder sits.
In unix terms a folder can sit on any partition and be mounted into any point in the file system, just because a folder sits under "/" which is the root directory doesn't mean it's on the same partition, hard drive, or bit of flash memory.
We dump the whole partition so that if something goes wrong you can flash it back, i know heimdall which is an alternative flashing program can flash back different parts of the rom.
It's best to have both these backups to make sure and to give you different recovery options, flash via a program for the img or copying over the contents in the case of the tar file.
I hope this helps
Sent from my GT-I9100 using XDA Premium App
mohamdyoon said:
thanks for your help I really want to know a bit about these commands but I can't know how ? the topic give url to learn all commands not a bit of them
If you can tell me how I will be grateful
but as you know a bit about linux command you need to change anything in the commands or you just copied it ?
Thanks again for trying help me
Click to expand...
Click to collapse
Just download an app called nitrality in the market.
Sent from my GT-I9003 using XDA Premium App
veyka, are you even sure that he knows what ADB is?
LiFE1688 said:
veyka, are you even sure that he knows what ADB is?
Click to expand...
Click to collapse
Nope, but you can do it via a terminal editor on the phone.
It's just a copy/paste or you can just use the apps mentioned.
Sent from my GT-I9100 using XDA Premium App
veyka said:
Nope, but you can do it via a terminal editor on the phone.
It's just a copy/paste or you can just use the apps mentioned.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
Thanks guys and special thank for veyka
first: I will root my phone via cf-root
second : I will try the app mentioned
Or
I will make it by busybox commands
For LiFE1688 : I read about ADB but I prefer to do it via a teminal editor
Thanks for all I will try and tell you
I'm going to ask now what should I do to restore efs folder?
In the case of changing my IMEI
mohamdyoon said:
I'm going to ask now what should I do to restore efs folder?
In the case of changing my IMEI
Click to expand...
Click to collapse
To restore you can copy the contents of the tar file you made over the EFS folder, or if you ended up with an img flash it via Heimdall
ps dont share your EFS folder backup, as someone could use it to clone your phone
Thanks guys

[GUIDE]How to extract Stock firmwares from Samsung?

And,comes another guide from me.... I was actually extracting a stock firmware and this came into my mind
Ok,I made this guide since the process of extracting firmware is a bit confusing sometimes.So,lets start with it​
What you would need:
1.7zip or any other zip utility
2.Stock Firmware
3.MagicISO
4.Nothing else
Tutorial:
1.Start off by downloading a stock firmware,for this guide,we assume its DDKQ8
2.You will get 2 files, S5830DDKQ8_<bla bla>.tar.md5 and SS_DL.dll
3.Ignore the second file,we only need the first file which has an extension of .md5
4.Now its not possible to extract the file with the current extension.
5.So,rename the file S5830DDKQ8_<bla bla>.tar.md5 to S5830DDKQ8_<bla bla>.tar
6.Now,the file is extractable,so extract it.
7.You will get approx. 9 files: arm11 boot,amss,csc.rfs and various others.
8.Delete all the files except boot.img and system.rfs.These are the only files we need.
9.Now,using MagicISO,open up system.rfs and extract it.
10.Make a new folder named Rom_working
11.Now,move the boot.img there
12.Make a folder called system
13.Move all contents of system.rfs to this this folder.
14.Now all you need is a META-INF folder to complete the rom.(Unless you messed up)
Thats it! Pretty easy huh,this is something really basic,but a few people get confused on extracting it anyway.Its just meant to be a basic guides for those people.If you want to get more info on making a rom,refer this guide which i wrote a few months ago.Hope this helped you guys out.
NOTE: I am not responsible if you mess up your phone or w/e happens to it.Btw,<bla bla> stands for the rest of the filename ​
thanks for that,, i was woundering how it was done,, i ended up using a nandroid backup with kitchen to make my own lol
How can I root the rom??
Sent from my GT-S5830 using xda premium
Where do we get a META-INF folder?
Do we use CWM recovery to restore with the new folder?
lypang said:
Where do we get a META-INF folder?
Do we use CWM recovery to restore with the new folder?
Click to expand...
Click to collapse
You can get a META-INF folder by creating one yourself
I don't understand your 2nd question though
dredremon said:
How can I root the rom??
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Take su bin file from a rooted rom and insert it in your rom.Done.
lypang said:
Where do we get a META-INF folder?
Do we use CWM recovery to restore with the new folder?
Click to expand...
Click to collapse
Make one yourself,refer other stock roms for the path,then get the update binaries and script from BlackHawk (if stock ONLY).
okay, this is to flash via CWM is not it? how to change the kernel?
Sent from my GT-S5830 using xda premium
modolheula said:
okay, this is to flash via CWM is not it? how to change the kernel?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Kernel is in boot.img. If u want to change kernel, you should change the boot.img
Sent from my fingers to your face,take it or leave it.
okay, I'm trying to find out about the boot.img .... thanks for sharing knowledge
Sent from my GT-S5830 using xda premium
Well, on Linux I usually do this: http://forum.xda-developers.com/showpost.php?p=28933492&postcount=3
Hmm is it possible to extract a stock ROM from the phone itself? Or not extract but get the stock ROM as zip (with those md5 files, etc) so that it can be flashed via Odin on another phone?
It's because i can't find anywhere to download the stock ROM i had...
Sent from my GT-S5830 I think...
Millenium3 said:
Hmm is it possible to extract a stock ROM from the phone itself? Or not extract but get the stock ROM as zip (with those md5 files, etc) so that it can be flashed via Odin on another phone?
It's because i can't find anywhere to download the stock ROM i had...
Sent from my GT-S5830 I think...
Click to expand...
Click to collapse
Many ways:
1.Adb pull /system
2.Manual copy and paste with file xplorer
3.Use Qtadb and copy /system
Sent from the year 3000 using a SGA where sheep's are not present.
Prawesome said:
Many ways:
1.Adb pull /system
2.Manual copy and paste with file xplorer
3.Use Qtadb and copy /system
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
Y U No like cwm backups ?
Prawesome said:
Many ways:
1.Adb pull /system
2.Manual copy and paste with file xplorer
3.Use Qtadb and copy /system
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
Thanks i will try and post if i have any problems
madman said:
Y U No like cwm backups ?
Click to expand...
Click to collapse
I want to flash the rom in another phone... or maybe it works by copying the backup files cwm made into the another phone? But anyways i tried to restore the stock rom once but it failed.. but thanx
PS: i actually thought the thread was the guide for my question
Sent from my GT-S5830 I think...
Don't forget to press thanks button..!!
Prawesome said:
Many ways:
1.Adb pull /system
2.Manual copy and paste with file xplorer
3.Use Qtadb and copy /system
Sent from the year 3000 using a SGA where sheep's are not present.
Click to expand...
Click to collapse
ok sorry for late reply
after pull /system how can i make the stock ROM flashable through ODIN on another phone?
or at least another way to flash the rom? adb push?
Millenium3 said:
ok sorry for late reply
after pull /system how can i make the stock ROM flashable through ODIN on another phone?
or at least another way to flash the rom? adb push?
Click to expand...
Click to collapse
For Odin flash,refer freeyourandroid.com.
For CWM flash,take updater script and binary from Blackhawk and put it in your rom
Sent from the year 3000 using a SGA where sheep's are not present.
dredremon said:
How can I root the rom??
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Download root file with su and extract it you will find the files you need there.
Sent from my GT-S5830 using xda app-developers app
can some1 tell me what i did wrong? I made a flashable zip, and after installation phone is not booting.
TechNoJerky said:
can some1 tell me what i did wrong? I made a flashable zip, and after installation phone is not booting.
Click to expand...
Click to collapse
Logcat or it didn't happen
Insert witty sentence here

Storage/emulated/0/0/0 after flashing several ROM's

Hi is there a way to clean up these /0 directories who looks identical?
It add's an additional /0 directory in emulated every time I do a clean flash. Don't that use up my internal storage?
I'm using Temasek's cm 10.1 unofficial v83 + kernel but i don't think it has to do with the ROM
Is it safe to just delete these directories or is there any other way around this?
Sent from my GT-I9300 using xda premium
Klype said:
Hi is there a way to clean up these /0 directories who looks identical?
It add's an additional /0 directory in emulated every time I do a clean flash. Don't that use up my internal storage?
I'm using Temasek's cm 10.1 unofficial v83 + kernel but i don't think it has to do with the ROM
Is it safe to just delete these directories or is there any other way around this?
Click to expand...
Click to collapse
You need to upgrade your recovery application to the latest version to stop getting multiple /0 folders.
You only need one level of /0. And, yes you can delete the redundant levels. But make sure your files under the last level are copied to the sole remaining level.
/0 level came in with multi-user support in 4.2
Sent from my GT-I9300
BillGoss said:
You need to upgrade your recovery application to the latest version to stop getting multiple /0 folders.
You only need one level of /0. And, yes you can delete the redundant levels. But make sure your files under the last level are copied to the sole remaining level.
/0 level came in with multi-user support in 4.2
Sent from my GT-I9300
Click to expand...
Click to collapse
Thanks for answering
I've flashed cwmtouch 6.0.2.8 awhile ago and the levels of /0's stopped adding up.
I've copied all the files from the last levels to emulated/0.
Then i deleted the files from the last levels except one made by a rom i had several months ago. It can't seem to be deleted because of some elevated permissions. I've tried with several Explorer's with no luck.
How do I get around to change permissions or simply get rid of former systemfiles not in use anymore?
Sent from my GT-I9300 using xda premium
Klype said:
Thanks for answering
I've flashed cwmtouch 6.0.2.8 awhile ago and the levels of /0's stopped adding up.
I've copied all the files from the last levels to emulated/0.
Then i deleted the files from the last levels except one made by a rom i had several months ago. It can't seem to be deleted because of some elevated permissions. I've tried with several Explorer's with no luck.
How do I get around to change permissions or simply get rid of former systemfiles not in use anymore?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
You can try with philz recovery and aroma file manager inside the recovery, see first posts of thread.
and please search next time, this has been discussed way too much
Klype said:
Thanks for answering
I've flashed cwmtouch 6.0.2.8 awhile ago and the levels of /0's stopped adding up.
I've copied all the files from the last levels to emulated/0.
Then i deleted the files from the last levels except one made by a rom i had several months ago. It can't seem to be deleted because of some elevated permissions. I've tried with several Explorer's with no luck.
How do I get around to change permissions or simply get rid of former systemfiles not in use anymore?
Click to expand...
Click to collapse
Use terminal. Then remove the folder using the 'rm -rf' command. You may need to read up on this if you aren't familiar with Linux commands.
Sent from my GT-I9300
Back you files up to a PC, then boot to recovery and format /sdcard. That will remove all the 0/0/0/0/0/0 folders, then boot and copy your files back.
BillGoss said:
Use terminal. Then remove the folder using the 'rm -rf' command. You may need to read up on this if you aren't familiar with Linux commands.
Sent from my GT-I9300
Click to expand...
Click to collapse
Yes i might have to read up a bit on terminal commands if i should have a chance to use it...
Sent from my GT-I9300 using xda premium
Glebun said:
and please search next time, this has been discussed way too much
Click to expand...
Click to collapse
Actually i did search but didn't understand what to do and what to search for. Thats why i finally asked the question here in the Q n A section. The search motor in the android app is also really difficult to search with.
Sent from my GT-I9300 using xda premium
delsus said:
Back you files up to a PC, then boot to recovery and format /sdcard. That will remove all the 0/0/0/0/0/0 folders, then boot and copy your files back.
Click to expand...
Click to collapse
Thanks that's a good idea
At least it solve my problem for now till i learn more about using the terminal
Sent from my GT-I9300 using xda premium
Striatum_bdr said:
You can try with philz recovery and aroma file manager inside the recovery, see first posts of thread.
Click to expand...
Click to collapse
I flashed aroma file manager and it worked like a charm
Thanks for pointing me in this direction now everything works as it should :thumbup:
Sent from my GT-I9300 using xda premium
Klype said:
I flashed aroma file manager and it worked like a charm
Thanks for pointing me in this direction now everything works as it should :thumbup:
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
hi..
i have the same pb.. can u pls assist me how can u solve it..?
my sinternal storage is now storage\emulated\0
wbr..
t-mobile_mda said:
hi..
i have the same pb.. can u pls assist me how can u solve it..?
my sinternal storage is now storage\emulated\0
wbr..
Click to expand...
Click to collapse
Yes look here http://forum.xda-developers.com/galaxy-s3/general/info-flashed-4-2-sdcard-data-t2274218

[Q] What is the difference between flashing and installing an apk?

Sometimes.. you see apps on xda.. that are required to be flashed.. and are in the form of zip files. Now how are these different from apk files with their regular installation? is it something to do with giving these apps you flash a deeper level permission? if so.. if your rooted can't you just give those apps those permissions after a normal install?
Usually making them flashable is just easier for some and if you were to extract the .apk from the zip and install it from sdcard it would work the same. Sometimes the app may require extra libs that are flashed at the same time as the app so they are bundled together as a zip. Or possibly it is being flashed to system for whatever reason and can't be done this way installed through os.
There are lots of varying reasons why it may be a .zip but you could also install it probably any way you'd like (including pushing with adb) if you want to know what's in the .zip just extract its contents, if you want to know what happens when you flash it look at the updater-script
Sent from my Nexus 4 using xda premium
Thank you!
demkantor said:
Usually making them flashable is just easier for some and if you were to extract the .apk from the zip and install it from sdcard it would work the same. Sometimes the app may require extra libs that are flashed at the same time as the app so they are bundled together as a zip. Or possibly it is being flashed to system for whatever reason and can't be done this way installed through os.
There are lots of varying reasons why it may be a .zip but you could also install it probably any way you'd like (including pushing with adb) if you want to know what's in the .zip just extract its contents, if you want to know what happens when you flash it look at the updater-script
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thank you..! I have one more question.. in some cases.. you are instructed to "copy apk's to system\app folder with a file manager with root permissions and then reboot" ... why this? does this produce the same effect as flashing it?
I guess it depends on the app, but it may only function properly as a system app, and yes it would be just as possible to flash it through recovery or push with adb to get the same effect
Sent from my Nexus 4 using xda premium
Thank you again!
demkantor said:
I guess it depends on the app, but it may only function properly as a system app, and yes it would be just as possible to flash it through recovery or push with adb to get the same effect
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
hey, thanx alot!
rjspark89 said:
hey, thanx alot!
Click to expand...
Click to collapse
And if it's an system app, or framework it's better to flash via Recovery
thanks!
superdragonpt said:
And if it's an system app, or framework it's better to flash via Recovery
Click to expand...
Click to collapse
thanks this is valuable info for a newbie..! any more imp tips related to my question is should know?
rjspark89 said:
thanks this is valuable info for a newbie..! any more imp tips related to my question is should know?
Click to expand...
Click to collapse
Yes
DON'T let you battery go all the way down.
This way it will lst longer (no Joke)

[Q] I screwed up..

So I'm an avid rooter, and have rooted and messed around with loads of devices. (particularly, nexus) Well, I was rooting my nexus 9, about 3 weeks ago and everything went smooth. Today I noticed my device was reportedly no longer rooted, and I kept trying to reroot using WugFresh's NexusRootToolkit, Well I ****ed up.. It kept messing up so I decided I'd do a factory reset, and that did nothing. So I went into TWRP, and I did an advanced wipe and that other one you have to type 'yes' too.. and then I lost my OS, and even when I put it back to stock, even selecting "Bootlooped" absolutly nothing happens. Possibly need a new cable or something? Like all the commands worked, even while I was still trying to root, however nothing ever happened..
Edit: My device no longer has twrp on it. Also when I try to boot it up in any way it instantly goes to fastboot.. It doesn't even go to the boot screen
Flash the factory image with fastboot. And stay away from tool kits.
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Flash the factory image with fastboot. And stay away from tool kits.
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Could you expand more? I'm kind of a noob unless its tool kits..
godsobscure said:
Could you expand more? I'm kind of a noob unless its tool kits..
Click to expand...
Click to collapse
Download the factory image. Google nexus factory image. You'll download a .tgz file. Extract it using 7-zip. Inside you'll find a flash-all.bat file. Boot your device into the bootloader and connect it to your pc. Then done click on the flash-all. Backup your device first as it will wipe it. If the flash-all doesn't work then your going to have to flag the image files manually. That's a little more tedious
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Download the factory image. Google nexus factory image. You'll download a .tgz file. Extract it using 7-zip. Inside you'll find a flash-all.bat file. Boot your device into the bootloader and connect it to your pc. Then done click on the flash-all. Backup your device first as it will wipe it. If the flash-all doesn't work then your going to have to flag the image files manually. That's a little more tedious
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Well the cmd runs, and it does all its stuff and.. I get
finished. total time: 0.024s
< waiting for device >
target reported max download size of 518205818 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
failed to allocate 1814205204 bytes
error: update package missing system.img
Press any key to exit...
If you help me throough all of this id be more than happy to shoot ten dollars your way via paypal..
godsobscure said:
Well the cmd runs, and it does all its stuff and.. I get
finished. total time: 0.024s
< waiting for device >
target reported max download size of 518205818 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
failed to allocate 1814205204 bytes
error: update package missing system.img
Press any key to exit...
If you help me throough all of this id be more than happy to shoot ten dollars your way via paypal..
Click to expand...
Click to collapse
Don't need the money but I'll help you. The flash-all isn't working for the n9 so I thought you'd have a problem. First, Google 15 second adb install xda. Install that on your pc. Try not to use the dev host download. It's a bad site. It'll install fastboot and adb to your pc
Edit, inside the factory image you extracted is a zip file. Extract that too. You should find a number of image files in there. Recover.img, system.img, etc
Edit,edit this is for the nexus 5 but it's the exact same process. Follow method 2 but use the image files and file names in the factory image you downloaded. I'll be here to help when you need it. http://forum.xda-developers.com/showthread.php?p=47156064
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Don't need the money but I'll help you. The flash-all isn't working for the n9 so I thought you'd have a problem. First, Google 15 second adb install xda. Install that on your pc. Try not to use the dev host download. It's a bad site. It'll install fastboot and adb to your pc
Edit, inside the factory image you extracted is a zip file. Extract that too. You should find a number of image files in there. Recover.img, system.img, etc
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Did this. Any more steps?
godsobscure said:
Did this. Any more steps?
Click to expand...
Click to collapse
See this and my edit, edit
http://forum.xda-developers.com/showthread.php?p=47156064
Sent from my Nexus 9 using XDA Free mobile app
---------- Post added at 08:00 PM ---------- Previous post was at 07:55 PM ----------
Oh, one big difference is there is no userdata.img for the n9. Instead there is a vendor.img. where you see fastboot flash userdata userdata.img use fastboot flash vendor vendor.img
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
See this and my edit, edit
http://forum.xda-developers.com/showthread.php?p=47156064
Sent from my Nexus 9 using XDA Free mobile app
---------- Post added at 08:00 PM ---------- Previous post was at 07:55 PM ----------
Oh, one big difference is there is no userdata.img for the n9. Instead there is a vendor.img. where you see fastboot flash userdata userdata.img use fastboot flash vendor vendor.img
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
I honestly cannot make any sense of a lot of that... I opened a cmd window in the folder that I extracted the zip, and I get that fastboot is not recognized as an internal or external command..
godsobscure said:
I honestly cannot make any sense of a lot of that... I opened a cmd window in the folder that I extracted the zip, and I get that fastboot is not recognized as an internal or external command..
Click to expand...
Click to collapse
Did you Google 15 second adb install xda and install that?
Edit, I see you're doing that now
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Did you Google 15 second adb install xda and install that?
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
I did, twice on accident. Could be an issue?
godsobscure said:
I did, twice on accident. Could be an issue?
Click to expand...
Click to collapse
No out shouldn't be an issue. Boot your device into the bootloader and then plug it into your pc. Open a command prompt and then type fastboot devices. What does it show? It should show your devices serial number
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
No out shouldn't be an issue. Boot your device into the bootloader and then plug it into your pc. Open a command prompt and then type fastboot devices. What does it show? It should show your devices serial number
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
I get the same unrecognizable message.. Could I be opening a command prompt in the wrong place? (The folder the extracted everything to) ?
godsobscure said:
I get the same unrecognizable message.. Could I be opening a command prompt in the wrong place? (The folder the extracted everything to) ?
Click to expand...
Click to collapse
Are you on Windows 8 or 7? See if there is an adb folder on your machine with fastboot and adb in it
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Are you on Windows 8 or 7? See if there is an adb folder on your machine with fastboot and adb in it
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
I am on windows 7.
I found one.
It also has 2 other files in it..
When I type fastboot devices in this one I get the serial number!
godsobscure said:
I am on windows 7.
I found one.
It also has 2 other files in it..
Click to expand...
Click to collapse
Ok open a command window in there, shift right click on an open area. Then with your device booted into the bootloader type fastboot devices
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Ok open a command window in there, shift right click on an open area. Then with your device booted into the bootloader type fastboot devices
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
Did so and it worked. Now I have these commands from that other thread, but how do I change them to be personalized to the android file I have downloaded from googles website? something called volantis-lrx22c
godsobscure said:
Did so and it worked. Now I have these commands from that other thread, but how do I change them to be personalized to the android file I have downloaded from googles website? something called volantis-lrx22c
Click to expand...
Click to collapse
Good, we're getting some where. Move the image files you downloaded into that folder. The ltx22c file is the 5.0.1 android. You should have a bootloader and radio image file and then in the zip you extracted there should be a recovery, system, cache, boot, and vendor image files. I might have missed one as I'm going by memory but move all those image files into the same folder as fastboot and adb are in. For ease also rename the bootloader and radio files to just bootloader and radio.
Edit, now just to make sure everything is working boot into the bootloader and type fastboot devices. If you get the serial number then type the following commands
fastboot flash bootloader bootloader.img
fastboot -w
fastboot flash radio radio.img
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash vendor vendor.img
fastboot flash system system.img
System will take a long time. Then reboot and you should be good to go.
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Good, we're getting some where. Move the image files you downloaded into that folder. The ltx22c file is the 5.0.1 android. You should have a bootloader and radio image file and then in the zip you extracted there should be a recovery, system, cache, boot, and vendor image files. I might have missed one as I'm going by memory but move all those image files into the same folder as fastboot and adb are in. For ease also rename the bootloader and radio files to just bootloader and radio.
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
I renamed the bootloader, however I see no 'Radio' file
(Just a reminder that I thank you very much for bearing with me)
godsobscure said:
I renamed the bootloader, however I see no 'Radio' file
(Just a reminder that I thank you very much for bearing with me)
Click to expand...
Click to collapse
Ignore the radio. There is no radio, it's a Wi-Fi only device, my bad
Sent from my Nexus 9 using XDA Free mobile app

Categories

Resources