YES or NO Question about flashing kernel and backups - Nexus 4 Q&A, Help & Troubleshooting

Hello everyone! Hope you're having a great day today!
The question I'm asking is really simple and can be answered just by yes or no, but explanation will be appreciated.
The question is that when I backup in the recovery (TWRP) to flash a custom KERNEL, do I have to backup the whole system and data and boot.img?
I'm asking this because not only backing only boot.img is faster, but saves a lot of space on my phone, which is important to me.
Thanks

Boot.img is the kernel, no need to backup the whole system.

peachpuff said:
Boot.img is the kernel, no need to backup the whole system.
Click to expand...
Click to collapse
Thanks. I just wanted to make sure.
Sent from my Transformer Pad TF300T using Tapatalk HD

I always do a clean backup, that is, after unlocking the bootloader and root.
Sent from my Nexus 4 using xda premium

What do you mean that you don't have to flash the whole system??
How would you restore the ROM
If the system apps aren't backed up?
Not flaming you,
But I would like to know if that's possible b/c
A whole ROM backup with 78 user apps
Takes up a lot of space on my phone
Sent from my Nexus 4 using xda premium

I have one backup of my whole system. Then I go from there flashing other roms and such
Sent from my Nexus 4 using xda premium

peachpuff said:
Boot.img is the kernel, no need to backup the whole system.
Click to expand...
Click to collapse
Boot.IMG is the kernel + ramdisk. Just wanted to clarify that.

estallings15 said:
Boot.IMG is the kernel + ramdisk. Just wanted to clarify that.
Click to expand...
Click to collapse
Yeah I know that but I want that since the kernel I want to flash (Franco) had its own ramdisk. Thanks though
Sent from my Nexus 4 using xda app-developers app

jaestreetss said:
What do you mean that you don't have to flash the whole system??
How would you restore the ROM
If the system apps aren't backed up?
Not flaming you,
But I would like to know if that's possible b/c
A whole ROM backup with 78 user apps
Takes up a lot of space on my phone
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
What I was saying is that if I wanted to ONLY change the kernel, if I can backup the boot.IMG only which is basically kernel +ramdisk.
Sent from my Nexus 4 using xda app-developers app

I am also trying to understand the backups before installing ROMs and kernels. What if I don't have enough space on my nexus 4 (16gb) to create an entire backup (with user apps, stock rom, ect.)? Say I used all of the space installing my apps and there isn't enough space left for a copy of it (the backup)?

lazer155 said:
I am also trying to understand the backups before installing ROMs and kernels. What if I don't have enough space on my nexus 4 (16gb) to create an entire backup (with user apps, stock rom, ect.)? Say I used all of the space installing my apps and there isn't enough space left for a copy of it (the backup)?
Click to expand...
Click to collapse
I think the backup will fail in that case...
Sent from my Nexus 4 using xda app-developers app

kyokeun1234 said:
I think the backup will fail in that case...
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Is there anyway to back it up directly to a computer rather than onto the N4's internal memory? Maybe keep the boot.IMG backup in the internal memory. That way it could be installed easily if something went wrong. All the user data/apps and stock rom would then be stored on the computer. Can that be done?
Edit:
I found out how to backup the user data to the computer: http://forum.xda-developers.com/showpost.php?p=34744848&postcount=4
One last question - Is it possible to delete previous backups that were stored directly on the device?

Related

This is so annoying

This is the third time this has happened now. I flash a ROM on my N7 then i look to restore a backup and it says file not found. But I've made a backup! How the hell can i fix this?
Sent from my Nexus 4 using xda app-developers app
Is the backup made in 4.1.2 and the new rom is 4.2 (or the other way around) ?
If yes, then I'm sorry to inform you that the path where the backup reside is different in 4.1.2 and 4.2 ... so there are some steps required to use the respective files. More than that, switching in between 4.1.2 and 4.2 will require you to alter the mounting points.
No I'm on 4.2 and did a backup of stock using cwm. Now cwm cant find my backup
Sent from my Nexus 4 using xda app-developers app
will444 said:
No I'm on 4.2 and did a backup of stock using cwm. Now cwm cant find my backup
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
What version of CWM.. This is a known bug on a older version. I would suggest you check that maybe even re-download and flash cwm again. Get it from cwm web site not the one in rom manager self install....
Good Luck
I got the latest one, i will flash the stock image again. Third time lucky! Thanks for your help
Sent from my Nexus 4 using xda app-developers app
Just tried again. no backups found. but when looking in my SD i have a backup. What should i mount to be able to restore?

Softbrick

I dont have any roms in my internal storage
I cant mount USB from recovery mode(using twrp)
I dont have any roms installed in my phone.
how can I install roms again?
I'm assuming you ignored every piece of advice ever and don't have a nandroid backup on the phone to restore from?
Sent from my Nexus 4 using xda app-developers app
darkrom said:
I'm assuming you ignored every piece of advice ever and don't have a nandroid backup on the phone to restore from?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
yes i ignored every advice.
i did nandroid but i deleted my whole internal storage accidentally using twrp wipes.
You can push rom with "adb push" or flash factory rom with fastboot
Sent from my Nexus 4 using Tapatalk 2
omrij said:
You can push rom with "adb push" or flash factory rom with fastboot
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
found a different way to fix it but thanks anyways.
a mod can close this now.
P00t said:
found a different way to fix it but thanks anyways.
a mod can close this now.
Click to expand...
Click to collapse
Can you tell us how you fixed you so anyone in the future with the same problem can easily refer to this thread instead of creating another thread just to ask the same question.

[Q] Noob root question ab out backup

I am planning on using WugFresh's tool to root my Nexus 7 32 gig. Do the backup and restore tools put back all the apps and data or do the apps have to be reinstalled? I just want to be sure I don't lose anything and it would be really nice if I could root and have everything right like it is on the device.
Thanks in advance!
Just use the tool to backup if you don't know how to backup manually.
Sent from my Nexus 7 using xda premium
ya did that
SUDroid said:
Just use the tool to backup if you don't know how to backup manually.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Ya I did that and found out it doesn't backup most of your data Lost a lot of saved game data.

[Q] HELP- Nexus 4 Storage Capacity

I have a 16gb nexus 4. I rooted my phone a few weeks ago and decided to DL flash cm 10.1 to my phone yesterday. But, it got stuck in a boot loop and I restored to the android backup I had.
The problem is, now my storage says only 435 mb free, but I had around 6gb free before. I have no idea what caused this or how to fix it. Any help would be appreciated.
Sent from my Nexus 4 using xda premium
Nandroid backups?
Sent from my Nexus 4
I don't think it's that. I only have one backup and it says it's only a few megabytes.
Sent from my Nexus 4 using xda premium
Hopefully this answers your question;
http://forum.xda-developers.com/showthread.php?t=2033692
Sent from my CM10.1 Nexus 4
So, of I do the fast boot and recover my data, it should clear up the storage space?
Sent from my Nexus 4 using xda premium
This of screen shot of my storage capacity.
Sent from my Nexus 4 using xda premium
Fazleee said:
This of screen shot of my storage capacity.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Oh I misunderstood you, it is showing that you have 16gb its just that a lot of it is missing.
I would try deleting unneeded nandroids, especially if they are CWM as they don't get saved somewhere you can use a simple file manager to get to I don't think.
Also try clearing cache and davlik cache, if this doesn't work, I think you'll have to back up apps and factory reset through recovery.
Sent from my CM10.1 Nexus 4
But the nandroids are only 7.38 mbs. I don't think they are the cause of the problem. I was researching the problem online and I think it might be the lost.dir folder, but I can't find it.
Sent from my Nexus 4 using xda premium
Here's a screen shot of what android tuner tells me about my system space.
Sent from my Nexus 4 using xda premium
Fazleee said:
But the nandroids are only 7.38 mbs. I don't think they are the cause of the problem. I was researching the problem online and I think it might be the lost.dir folder, but I can't find it.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
there's something wrong then. a nandroid will NEVER be 7.38mb
Wait, I think you're right. The nandroid back up I made on my computer says 5gb. But, which system folder is it in on my phone?
Sent from my Nexus 4 using xda premium
exb0 said:
there's something wrong then. a nandroid will NEVER be 7.38mb
Click to expand...
Click to collapse
Wait, I think you're right. The nandroid back up I made on my computer says 5gb. But, which system folder is it in on my phone?
Sent from my Nexus 4 using xda premium
Fazleee said:
Wait, I think you're right. The nandroid back up I made on my computer says 5gb. But, which system folder is it in on my phone?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
which recovery did you use?
CWM goes to /data/media/clockworkmod
TWRP goes to /sdcard/TWRP/backup
I think...
exb0 said:
which recovery did you use?
CWM goes to /data/media/clockworkmod
TWRP goes to /sdcard/TWRP/backup
I think...
Click to expand...
Click to collapse
Thank you so much.
I found it, deleted it, and got my space back.
But that leads me to another question. If I don't have a backup on my phone, how will I restore? Because yesterday, I was in a boot loop, and the ADB connection wouldn't work. The only reason I could restore was because I had the nandroid back up on my phone already.
Sent from my Nexus 4 using xda premium
Fazleee said:
Thank you so much.
I found it, deleted it, and got my space back.
But that leads me to another question. If I don't have a backup on my phone, how will I restore? Because yesterday, I was in a boot loop, and the ADB connection wouldn't work. The only reason I could restore was because I had the nandroid back up on my phone already.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
If you were in a bootloop, get into recovery and choose sideload. Then you can push a rom file and flash it. Or you could just not remove the recovery. TWRP nandroid take less space.
I see. I just used CWM because I read that they were better. I'm still new at all of this. Thank you. You've been very helpful.
Sent from my Nexus 4 using xda premium
Fazleee said:
I see. I just used CWM because I read that they were better. I'm still new at all of this. Thank you. You've been very helpful.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
No problem. It's not really.. accurate to say which is better.to each his own.

Backed up through recovery...is it supposed to be 4 gigs large?

Hey guys
I backed up my phone with TWRP and the file itself was 4 gigs! Is it supposed to be this large? It took up a large chunk of my space on my phone that I am now trying to flash a rom with..any idea?
jookskidd said:
Hey guys
I backed up my phone with TWRP and the file itself was 4 gigs! Is it supposed to be this large? It took up a large chunk of my space on my phone that I am now trying to flash a rom with..any idea?
Click to expand...
Click to collapse
Yes they are that large for a touchwiz. AOSP backups are about 1.2 GBs
Sent from my SPH-L720 using Tapatalk 4 Beta
daniel4653 said:
Yes they are that large for a touchwiz. AOSP backups are about 1.2 GBs
Sent from my SPH-L720 using Tapatalk 4 Beta
Click to expand...
Click to collapse
what's the difference and how can I get that? I am about to back it up and just save it on the computer and delete the back up itself to save space.
Also, how can i tell if i am de odexed or odexed?
I am rooted, however.
jookskidd said:
what's the difference and how can I get that? I am about to back it up and just save it on the computer and delete the back up itself to save space.
Also, how can i tell if i am de odexed or odexed?
I am rooted, however.
Click to expand...
Click to collapse
Aosp is pure Android. Like you get on the nexus devices. And touchwiz is Samsung's bloatware that is thrown on.
Use root explorer and go into system/app and if some APKs have an .odex file following it by the same name then you are on an odexes ROM.
Sent from my SPH-L720 using Tapatalk 4 Beta
Also next time you do a backup, make sure you back up to the external card, otherwise it uses all that space on your phone's internal memory.
Delete cache and dalvik before backing up. The size will go down significantly
Sent from my SPH-L720 using Tapatalk 2
Enable compression also.
Sent from my SPH-L720 using xda app-developers app
Also make sure when you go to run your backup, make sure that system, boot, and data are the only options checked off. I've boot into recovery and noticed more than 3 were checked off for some odd reason
Sent from my Nexus 7 using Tapatalk 2
reverepats said:
Also make sure when you go to run your backup, make sure that system, boot, and data are the only options checked off. I've boot into recovery and noticed more than 3 were checked off for some odd reason
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Because they are necessary for a full backup.
Sent from my SPH-L720 using xda app-developers app

Categories

Resources