Question about gapps/updating to a later AOSP-based ROM - Samsung Galaxy Nexus

I've never used an AOSP ROM before, but now I am currently on AOKP. When I want to update to a newer version, do I still need to flash gapps after flashing the update? I assume I have to reflash the kernel as well if I use one different than the one included with the ROM?

You need to flash GApps straight away after if you are wiping your device. You also need to reflash the kernel of choice after. Good luck.

jd1001 said:
You need to flash GApps straight away after if you are wiping your device. You also need to reflash the kernel of choice after. Good luck.
Click to expand...
Click to collapse
Only wiping I would do would be cache and dalvik since I am merely upgrading the ROM version, eg nightly 19 to nightly 20. Would that still involve flashing gapps?

edgeicator said:
Only wiping I would do would be cache and dalvik since I am merely upgrading the ROM version, eg nightly 19 to nightly 20. Would that still involve flashing gapps?
Click to expand...
Click to collapse
Yes
10char.

You shouldn't have to reflash GAPPS if you are just updating..

2 separate answers. Anyone else want to chime in?

You have to ref lash the kernel because flashing a rom flashes the from kernel. I've never had to flash gapps on any device if going from an old build of a rom to a new one unless specifically stated.
Sent from my Galaxy Nexus using xda premium

edgeicator said:
2 separate answers. Anyone else want to chime in?
Click to expand...
Click to collapse
Just think about it. It depends on how you flash and if you flash an update.zip if that zip wipes existing data or just adds to it.
For a sure answer you would need to say what method is used and how the update edify script in the zip looks like.
Now for someone how knows the rom you're talking about in detail and what files are provided there might be a clearer answer, but not every poster does know such details^^

The answer is no, if you just update a rom without wipe, you dont need to flash gapps. This type of rom update keeps all your data in tact anyway so of course no need to flash extra.

Related

[ROM][AOSP][4.0.4] Stock 4.0.4 AOSP IMM76D

This is a full flashable build of 4.0.4 AOSP I compiled myself.
There are absolutely no tweaks of any kind, this is full stock.
Download
You can download it here: https://faramir.eriador.org/r/full-maguro-ota-en.4.0.4.zip
Installation
It can be installed with CWM.
Wipe
You should not need to wipe (except maybe cache). That said if you have weird issues, like accounts not syncing, try wiping.
I installed it over CM9 without wiping, but your mileage may vary.
If you come from pre 4.0.3 ROMs, please wipe.
Google Apps
gapps are not installed, so you will have to flash them too. You can use my mirror at https://faramir.eriador.org/r/gapps-ics-20120317-signed.zip
Please prefer the version of google apps you were already using, otherwise you will more than probably need a wipe.
Root
Note that this is stock, hence there is no superuser, you will have to install superuser and su by hand like on a stock rom.
Here is a mirror for it: https://faramir.eriador.org/r/su_ICS_GN.zip
Kernels
It should be compatible with all 4.0.3 custom kernels although I only tested FuguMod (http://forum.xda-developers.com/showthread.php?t=1438417)
RECOVERY WARNING
This is full stock, which means if you keep the original kernel, it will reflash stock recovery at first boot.
nikademus said:
Hello,
I just compiled 4.0.4 AOSP
You can download it here: https://faramir.eriador.org/r/full-maguro-ota-en.4.0.4.zip
It can be installed with CWM.
You should not need to wipe (except cache).
gapps are not installed, so you will have to flash them too.
Note that this is stock, hence there is no superuser.
It should be compatible with all 4.0.3 custom kernels although I only tested FuguMod.
Click to expand...
Click to collapse
So is it completely stock i.e stock kernel etc? basicly just an ota but not an ota if you get me?
p.s first haha
leelaa said:
So is it completely stock i.e stock kernel etc? basicly just an ota but not an ota if you get me?
Click to expand...
Click to collapse
Yes, it's fully stock, the google way
Real OTA image from google is not available yet, so this is what looks like it the most.
It's mainly for those who want to have real 4.0.4 now without waiting and without losing CWM or making a wipe.
Thanks thats what i want, good job
nikademus said:
Yes, it's fully stock, the google way
Real OTA image from google is not available yet, so this is what looks like it the most.
It's mainly for those who want to have real 4.0.4 now without waiting and without losing CWM or making a wipe.
Click to expand...
Click to collapse
how about losing CWM after making a full wipe
how can i go back to restoring a nandroid backup mate?
thx for help
i only have 3e recovery with the belly-up android...
I just flashed this and lost CWM and have no Gapps.. my Signal bars stay grey and don't turn cyan (blue) even though I know.I'm in an area I get perfect service.
Sorry can't see any changes. Same sh#@% defrent day.
klone96 said:
I just flashed this and lost CWM and have no Gapps.. my Signal bars stay grey and don't turn cyan (blue) even though I know.I'm in an area I get perfect service.
Click to expand...
Click to collapse
As I posted in the OP, you need to flash gapps. It's forbidden to distribute them (at least included in a ROM).
klone96 said:
I just flashed this and lost CWM and have no Gapps.. my Signal bars stay grey and don't turn cyan (blue) even though I know.I'm in an area I get perfect service.
Click to expand...
Click to collapse
How did you flash the ROM?
I also flashed it together with Gapps, su and FuguMod R200.
I didn't loose recovery and also I can connect without any issues on Wifi and mobile data.
zurchpet said:
How did you flash the ROM?
I also flashed it together with Gapps, su and FuguMod R200.
I didn't loose recovery and also I can connect without any issues on Wifi and mobile data.
Click to expand...
Click to collapse
he probably wiped full like me and also forgot to download SU (from the other thread), gapps and optional kernel
zurchpet said:
How did you flash the ROM?
I also flashed it together with Gapps, su and FuguMod R200.
I didn't loose recovery and also I can connect without any issues on Wifi and mobile data.
Click to expand...
Click to collapse
I flashed in cwm and flashed the gapps but I guess it didn't take bcuz I don't see them I'm no where near a laptop so I'm guessing I'm screwed untill I root/flash recovery??
I have put links to gapps and su in the OP
Soo.. is it best to just wait for another stock rom with a kernel that has a recovery... or just flash this?
This rom will not overwrite existing recovery partition.
Sent from my Full AOSP on Maguro using Tapatalk
YoungAceAtlanta said:
Soo.. is it best to just wait for another stock rom with a kernel that has a recovery... or just flash this?
Click to expand...
Click to collapse
You can flash FuguMod before booting, it will not wipe your recovery.
The problem is within the init.rc:
Code:
service flash_recovery /system/etc/install-recovery.sh
class main
oneshot
This is stock behavior.
Hey guys can I flash this over the AOKP Mod I have installed? If so, how?
I do not find meaningful replace the stock ... what's the point? Then, after a day or puts the CM9 o another aopk ..... mistake?
sago62 said:
I do not find meaningful replace the stock ... what's the point? Then, after a day or puts the CM9 o another aopk ..... mistake?
Click to expand...
Click to collapse
I will probably stay on that ROM and not flash any AOKP or so. It has all I need.
Joshaldo said:
Hey guys can I flash this over the AOKP Mod I have installed? If so, how?
Click to expand...
Click to collapse
I have flashed it over CM9 nightly without any wipe needed.
sago62 said:
I do not find meaningful replace the stock ... what's the point? Then, after a day or puts the CM9 o another aopk ..... mistake?
Click to expand...
Click to collapse
please talk english to us! thanks!

Reflashing stock kernel

hello.
so, if I recently flashed a custom kernel (franco) by installing from .zip through cwm, and I wanted to restore the stock jb kernel,
do i just restore the boot.img on cwm or do i have to restore system.img (or any other image) as well?
thanks!
Only boot.img
Sent from my Galaxy Nexus using xda premium
zephiK said:
Only boot.img
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
thanks! i was just confused because there were other files in franco's .zip besides the boot.img and was wondering what those were for? do they change anything else?
or reflash your JB rom
maatae said:
thanks! i was just confused because there were other files in franco's .zip besides the boot.img and was wondering what those were for? do they change anything else?
Click to expand...
Click to collapse
they are apart of the modifications that franco did (such as the sdcard binary)
but +1 to what acloh said... best thing to do is just reflash the base ROM. if gapps are needed then flash gapps right after you flash the ROM as well.
zephiK said:
they are apart of the modifications that franco did (such as the sdcard binary)
but +1 to what acloh said... best thing to do is just reflash the base ROM. if gapps are needed then flash gapps right after you flash the ROM as well.
Click to expand...
Click to collapse
I see. Thanks! Stupid question...how do you reflash stock rom? I tried installing the original ota zip i used updating takju to jb but got a status 7 error. As of now I've just done a full restore of a cwm backup I did right before flashing Franco. Help?
maatae said:
I see. Thanks! Stupid question...how do you reflash stock rom? I tried installing the original ota zip i used updating takju to jb but got a status 7 error. As of now I've just done a full restore of a cwm backup I did right before flashing Franco. Help?
Click to expand...
Click to collapse
You should always look inside the kernel zip and see what files it's going to modify. Then back up those files before flashing it.
If you've restored your nandroid (pre-franco), then you should be good to go for the OTA (assuming you didn't change anything else...)
efrant said:
You should always look inside the kernel zip and see what files it's going to modify. Then back up those files before flashing it.
If you've restored your nandroid (pre-franco), then you should be good to go for the OTA (assuming you didn't change anything else...)
Click to expand...
Click to collapse
so even if I'm already on the version I want (4.1.1) after the restoration, I should still reinstall the takju4.0.4 ->4.1.1 OTA.zip?
Also, are there any recommended caches I should clear after changing kernels?
Thank you.
maatae said:
so even if I'm already on the version I want (4.1.1) after the restoration, I should still reinstall the takju4.0.4 ->4.1.1 OTA.zip?
Also, are there any recommended caches I should clear after changing kernels?
Thank you.
Click to expand...
Click to collapse
?? Not sure I understand. If you restored 4.1.1, then you obviously do not need any update.
No, you don't have to wipe any caches.
efrant said:
?? Not sure I understand. If you restored 4.1.1, then you obviously do not need any update.
No, you don't have to wipe any caches.
Click to expand...
Click to collapse
Ok, thank you. I guess my main question was whether or not I have to wipe caches in between kernel switches. Again, Thanks!

[Q] Switching Kernels

I flashed Paranoid Android 3 and kept that same kernel for awhile. I tried to branch out and try other kernels such as "Franco" and "AK Rubik", and am displeased with both (most likely because I don't know what I'm doing). How do I get back to the kernel Paranoid Android 3 had?
Thankyou in advance!
Oh I did a Nandroid backup using cwm, but that file got messed so I cant recover.
extract boot.img from the PA3 zip and fastboot flash it.
Zepius said:
extract boot.img from the PA3 zip and fastboot flash it.
Click to expand...
Click to collapse
How do I go about doing that?
Just flash the ROM again. It should give you the kernel that comes with it.
EDIT: Just to clarify...boot into CWM, wipe cache and dalvik (just to be safe), flash PA, reboot. You MIGHT need to flash gapps again. I dont know how PA works. Might as well flash them too just in case. You shouldnt lose anything.
jsgraphicart said:
Just flash the ROM again. It should give you the kernel that comes with it.
EDIT: Just to clarify...boot into CWM, wipe cache and dalvik (just to be safe), flash PA, reboot. You MIGHT need to flash gapps again. I dont know how PA works. Might as well flash them too just in case. You shouldnt lose anything.
Click to expand...
Click to collapse
Thankyou! I thought I'd mess it up again if I reflashed it. Do you think I should factory reset the phone just in case the other Kernels didnt leave anything on the phone. (Also, should I delete the kernels if I'm not going to use them?
Osyris214 said:
Thankyou! I thought I'd mess it up again if I reflashed it. Do you think I should factory reset the phone just in case the other Kernels didnt leave anything on the phone. (Also, should I delete the kernels if I'm not going to use them?
Click to expand...
Click to collapse
Nah. You should be fine. When you flash a ROM, it usually replaces what needs to be replaced. Unless you start seeing issues down the line, I wouldnt worry about it. And no need to keep the kernel files on your phone if you arent going to use them.

[Q] Rom Question

I'm having issues flashing multiple roms of the 4.x.x Roms. The only rom so far I have been able to install and actually run on my phone is TweakWiz V2. I have tried many other roms and they just stay in a boot loop screen. Examples are with the Avatar rom it just stays on the mask an keeps going and going. I have tried CyanogenMod/Cyan Kang an it just stays on the Circle with the bar going around on the inside.
I am running the TWRP Touch Recovery. I also have the latest Radio update and everything else is updated on my phone.
I also let the install itself run for 10+ minutes everytime. But all the roms I try they keep doing the exact same thing and staying in a boot loop.
Can anyone give me any tips or suggestions to maybe something I could do to use another rom or maybe even a suggestion to something I may have overlooked.. Any help is appreciated. Thank you.
An if you need me to give any other information let me know an I will provide.
1. what recovery version not just the name ?? 2.steps you are doing to flash 3. steps you are doing after you flash
krazierokz said:
1. what recovery version not just the name ?? 2.steps you are doing to flash 3. steps you are doing after you flash
Click to expand...
Click to collapse
1.Im using the latest TWRP.
2. Wiping System, Cache, Dvalik or whatever. I wipe everything in the usual instructions. And I make a backup of previous ROM. Flash the ROM then the G-Apps.
3. After I flash I let the ROM run its course an I wait from 15-45 mins for the ROM to load if it doesnt I switch back to TweakWiz or try another.
Sent from my SAMSUNG-SGH-T989 using XDA Premium HD app
try using this recovery since the recovery you are using is the latest one and technically for 4.3 ROMs, give this a shot http://techerrata.com/file/twrp2/hercules/openrecovery-twrp-2.5.0.0-hercules.tar its the same recovery but lower . the steps you clarified seem very proper but your recovery may be at fault crossing fingers try flashing that recovery through odin or download the zip from the same website and report back after trying to flash again
Are you sure you are wiping DATA also?
You will need to do this, if you are flashing a 4.2 or 4.3 ROM, then you will also want to wipe the pre-load. Then flash the rom, and gapps.
Use the newest TWRP 2.6.1.0 to flash anything, don't need an older recovery to flash older ROM's.
idtheftvictim said:
Are you sure you are wiping DATA also?
You will need to do this, if you are flashing a 4.2 or 4.3 ROM, then you will also want to wipe the pre-load. Then flash the rom, and gapps.
Use the newest TWRP 2.6.1.0 to flash anything, don't need an older recovery to flash older ROM's.
Click to expand...
Click to collapse
Is there a option I'm not deleting ?
Because I've been flashing ROMS on different phones an I have never had any issues before. I was using ICS an GB etc before an just recently decided to upgrade an use the JB (I think that's the name.) on my phone.

[Q] Cm 10 to Cm11?

Me and my son rooted our S3's a while ago. We have Cm 10 nightly "Oct 28/12" and want to update to Cm 11 nightly but I think we have to do something different as to a normal rom update? I think I read we have to update the kernal or something first but didn't understand it. We have the newest Clockworkmod 6.0.4.3. If someone could point us in the right direction it would be greatly appreciated. Thanks
Frostman5555 said:
Me and my son rooted our S3's a while ago. We have Cm 10 nightly "Oct 28/12" and want to update to Cm 11 nightly but I think we have to do something different as to a normal rom update? I think I read we have to update the kernal or something first but didn't understand it. We have the newest Clockworkmod 6.0.4.3. If someone could point us in the right direction it would be greatly appreciated. Thanks
Click to expand...
Click to collapse
Alright first of all, which was the last official AT&T software update you did? If your at least updated to 4.1.2, you'll be good. As for the update, since it is a different update, a clean flash is necessary. First, you have two options, can get the latest CM 11 nightlife from
http://download.cyanogenmod.org/?device=d2att
OR, there's an excellent ROM by a developer named PwnCakes193, called Quantum which is based on CM 11, but based on community feedback and comparing it to the official CM 11 bug thread, Quantum is a lot more stable. It doesn't get updated daily but at least every 2-4 days (no promises). If you decide to check it out, make sure to read the thread twice and read a few of the latest comments here:
http://forum.xda-developers.com/showthread.php?t=2390147
For both these, you'll need the latest GApps. I recommend Paranoid Android GApps from here:
http://forum.xda-developers.com/showthread.php?t=2397942
Don't let the name trick you, you can use these GApps for any 4.4.x ROM (I recommend the Modular package).
Once you have a ROM and GApps downloaded and on your phone, the flashing process will be like this for CWM:
Wipe data/factory reset>wipe cache
>format /system>format /cache> wipe dalvik cache. Flash ROM, flash GApps, wipe cache, wipe dalvik cache. After this, you should be good as gold, so just setup and download your apps and that's it!
Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app
Thanks a lot for your help. I have 4.1.2 on my phone .Do I not have to update the kernel ? As I think awhile ago I tried updating to 4.2 and it wouldn't go and someone said I needed to update the kernel,,but that was awhile ago maybe things have changed.I 'll try your method and let you know how it goes. thanks
ok I wiped everything they said to then tried to install Quantum 4.3 and says installation aborted "status 7" I remember this from last time and I never went any further because someone said I had to update the kernel?
its not the Kernel, I guess my bootloader isn't in the assert command of the roms approved bootloaders, so it won't load it. so I guess I have to update my bootloader,,,hmmm
Frostman5555 said:
its not the Kernel, I guess my bootloader isn't in the assert command of the roms approved bootloaders, so it won't load it. so I guess I have to update my bootloader,,,hmmm
I have I747MVLLH1,,its not in the list on the rom,,I remember this from last time and i stopped,,More reading
Click to expand...
Click to collapse
Frostman5555 said:
its not the Kernel, I guess my bootloader isn't in the assert command of the roms approved bootloaders, so it won't load it. so I guess I have to update my bootloader,,,hmmm
Click to expand...
Click to collapse
Are you trying to install 4.3 or Quantum v3?, Because Quantum v3 is 4.4.2 KitKat. Do you have a Canadian Galaxy S3? There might be something related to this in the ROM thread. Double check to make sure your recovery is the latest. If I had to guess, its probably be the boot loader, just be careful and read twice before you do anything.
Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app
It was the bootloader. Updated it with Clockworkmod to the newest Canadian one"DLK4" then the Quantum v3 went on smooth . thanks for the help
Frostman5555 said:
It was the bootloader. Updated it with Clockworkmod to the newest Canadian one"DLK4" then the Quantum v3 went on smooth . thanks for the help
Click to expand...
Click to collapse
Sure thing, glad I could help. If you feel brave, PwnCakes just posted v3.15 about 5 minutes ago, which is the latest 4.4.2. If you decide to, you'll need a clean flash and latest GApps.
Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app
Drx,does the 3.12 have the google now working?I can't seem to get it to work.Also what would be the procedure to put 3.15 on now that I have 3.12 on,,thanks
Frostman5555 said:
Drx,does the 3.12 have the google now working?I can't seem to get it to work.Also what would be the procedure to put 3.15 on now that I have 3.12 on,,thanks
Click to expand...
Click to collapse
Yup, all versions have Google Now working. Have you made sure that there's no updates pending for it in the Play Store? Make sure that after every update, even a dirty flash, that you install GApps. If you forget to, the search bar will bring up a Gingerbread looking search app, and a lot of the Google apps and services will not work. For a "dirty" flash (no apps or data is lost), my process goes like this: wipe cache>wipe dalvik cache> format /system (no data will be lost)> Install ROM> Install GApps> wipe cache and dalvik. You should only use this if you are on the ROM already, not if it is a completly new ROM. Hope this helps!

Categories

Resources