Updating lineageOS from the android menu, is it safe? - Galaxy S II Q&A, Help & Troubleshooting

Hello everybody,
i was finally able to upgrade my i9100 to the latest lineageOS from a samsung stock 4.1.2, i've been using it for a week and it works beautifully, i really thank the developers for their big effort!
Now, i received a notification telling me that there is an update available, version 2017-10-04. I tried to download it from the phone, but the download keeps failing as soon as it starts. Did it happen with you too? I could download the .zip package on my pc and reboot into recovery again, but i'd like to ask all of you what's the best way to proceed, is it going to wipe all of my data? Do i just need to install the custom rom without any additional package?
Thanks in advance

Everything is updated in different ways. I'm through OTA, someone through the recovery.
Install in TWRP ROM lineage-14.1-20171004-nightly-i9100-signed.zip, make "Wipe Cache / Dalvik" and reboot.
Do not worry, it will not erase your data.
Good luck to you.

Everything is updated in different ways. I'm through OTA, someone through the recovery.
Install in TWRP ROM lineage-14.1-20171004-nightly-i9100-signed.zip, make "Wipe Cache / Dalvik" and reboot.
Do not worry, it will not erase your data.
Good luck to you.
Click to expand...
Click to collapse
thank you very much for your answer,i have one question left:
in order to upgrade to lineageOS, i 've been following a youtube guide, and i'm having some doubts about these steps:
[...]
5) INSTALL ROM, GAPPS, ROOT and KERNEL
Still under TWRP Home screen -> go to Install zip and set Storage to External-Storage.
We need to install files 1 by 1.
Select lineage-14.1-*.zip and Swipe to flash,
Then select addonsu-arm-signed.zip, and Swipe to flash,
### You get this error : Updater process ended with signal: 4, Error installing zip file '/sdcard/Download/addonsu-arm-signed.zip'
### -> Just don't care Root is correctly installed.
then open_gapps-arm-7.1*.zip, and Swipe to flash,
then CustomKernel-[v1.3]*.zip and Swipe to flash.
Then wipe cache/dalvik,
then reboot system.
Do i need to install addonsu-arm-signed.zip and customKernel again after upgrading lineageOS? I dont' usee google apps so i don't care about that part, but the kernel step is bothering me, does the kernel get overwritten when i update? Thanks again

Don't worry about the custom kernel at all, just use the Lineage one. It will come with the rom and be updated with each update.
You need to flash addonsu for root, but it will keep you rooted persistently so you don't have to flash after updates.
In summary, since you're going gapp-less, all you need is LOS zip and addonsu.

thanks! I did as you suggested and it worked perfectly!

Related

[Q] How to safely update an installed rom - RR

Hi,
I've recently rooted my phone and installed my first ROM - Resurrection Remix - and it's notified my of an update (v3.1.3) and downloaded the zip for me. My question is how do I safely update RR?
When I first installed it I had to perform a number of steps wiping and clearing things before installing from a zip using CWM. Hopefully I don't have to do all of these as I don't want to have to completely reinstall every update, but do I have to do any of them still or do I just install from the zip in CWM without any other steps?
abc.mikey said:
Hi,
I've recently rooted my phone and installed my first ROM - Resurrection Remix - and it's notified my of an update (v3.1.3) and downloaded the zip for me. My question is how do I safely update RR?
When I first installed it I had to perform a number of steps wiping and clearing things before installing from a zip using CWM. Hopefully I don't have to do all of these as I don't want to have to completely reinstall every update, but do I have to do any of them still or do I just install from the zip in CWM without any other steps?
Click to expand...
Click to collapse
Have you read the first posts of the ROM thread?
Maybe there is a description of how to install the update.
If not, then you can just flash the update zip file in CWM recovery and try to reboot normally.
If everything works fine ... that's it.
If you have issues, boot into recovery, wipe cache and Dalvik cache and reboot normally again.
If that does not help, then you might have to wipe data (do a factory reset) in recovery.
But I think that these steps are not needed as you are already on this custom ROM.
(Usually you only have to do the complete wipe steps when coming from another / stock ROM - and the other way round.)
Good luck !
P.S.: Always create a nandroid backup before flashing. So you are able to "go back" if needed.

[Q] "Custom Stock (Codename: ETERNITY)" android™ Galaxy S II rom

hello to all
well i have tested a few ROM´s but the Custom Stock Rom (Codenam: ETERNITY) is one of the best in my opinion.
I have flashed this Rom, and it worked realy fine, my first mistake was that i did not make a backup, and my second mistake was that i have tried to flash some Mod´s.
After flashing a few Mod the Rom does not working correctly, anway i though i reflash it again, but that was not so easy as i thought.
After four time flashing, it did not work, so i thought, i flash the Original Samsung Firmware (i downloaded from Sammobile) so after flashing i rooted my S2 again and the Rom Eternity download it again, and save it in my mobile, in CWM window, i have follow this instructions.
Installation Pocedures:
If you're coming from ICS Roms, Stock Roms, AOKP/AOSP Roms or Custom Roms:
Download the zip file.
Put it in either internal or external SDCard.
Reboot in recovery, wipe data/factory reset, wipe cache partition, wipe dalvik cache.
Go to Mount and storage, format preload.
*If you do not have fromat preload in recovery (Except Philz and Jeboo kernels), Please go to Other Links section on 1st post to get the GS2ROMWipe. Then, run this in recovery*
Install the ROM.
After installation finish, reboot your device.
The first boot will take several minutes.
Please allow 5-10mins to let the media scanner to finish after configuring the Setup Wizard.
Then, open up SuperSU App and update it.
But it did not worked, later i have follow the instructions from the Video, the same problem.
I see only on Screen : " Samsung Brilliantly Stock Custom Stock ROM"
Please allow 5-10mins to let the media scanner to finish after configuring the Setup Wizard.
Click to expand...
Click to collapse
Well i have waited over 20 minutes but nothing happend.
I have ad a pic that you can see the information about my S2, and please sorry for my poor english.
I hope you guys have a idea how can i slove this problem.
Thank you all very much in advance and i hope one of you have a great solution
greets
vijay
?
Sent from the little guy

Samsung Galaxy S II (GT-19100) Cyanogenmod 12.1 Issues

yea so I am running before in cyanogenmod 10.1 with jellybean and I downloaded Cyanogenmod 12.1 from rom manager. I also downloaded gapps downloader from playstore to find gapps there.
I flashed Cyanogenmod 12.1 successful. I installed Gapps successful, too
I am now running in android 5.1.1 but when the phone starts, ALL THE GOOGLE APPS I INSTALLED STOPS. Even in the startup, all the google applications forces closes and the apps is not installed. When I looked in the settings>apps>all
the google apps is there but it is in my sd, it also shows com.google......etc and it is not installed in my device.
The android Keyboard (AOSP) also closes again and again so I cannot type when the phone asks me to input password in my WIFI. SO I AM ****ING STUCK!!!!!!!!!!!!! ****ING STUCK
I wanted to try to flash it back to jellybean, but the Recovery my phone is running is the Cyanogenmod Recovery and there is no back up and restore option.
I want to fix this issue, I mean I still want to run my device on Lollipop. How can I fix this? How to make gapps work and the keyboard,
Take a backup of all your stuff in internal storage.
Download these files onto your SD card.
Kernel- https://www.androidfilehost.com/?fid=24407100847293132
TWRP- https://www.androidfilehost.com/?fid=24369303960684130
Download the proper Pico gapps from this thread.
After that,
1) Boot into recovery
2) Install the recovery
3) Reboot your device again into recovery. If it does not boot into TWRP recovery then it means you're on an older version of CM 12.1., so flash the kernel first, then the recovery, and try to reboot your device into recovery) If it booted into TWRP then you do not need to flash the kernel.
In TWRP, select 'Wipe', and do a factory reset, after that's done, select install in TWRP and flash Pico Gapps.
thanks for the reply!
but do you think this would work?
do you think the cm recovery would accept this zip files, because I tried to flash my backup applications such as games, and other stuff and it showed err signature verification failed.
Kevin3014 said:
Take a backup of all your stuff in internal storage.
Download these files onto your SD card.
Kernel- https://www.androidfilehost.com/?fid=24407100847293132
TWRP- https://www.androidfilehost.com/?fid=24369303960684130
Download the proper Pico gapps from this thread.
After that,
1) Boot into recovery
2) Install the recovery
3) Reboot your device again into recovery. If it does not boot into TWRP recovery then it means you're on an older version of CM 12.1., so flash the kernel first, then the recovery, and try to reboot your device into recovery) If it booted into TWRP then you do not need to flash the kernel.
In TWRP, select 'Wipe', and do a factory reset, after that's done, select install in TWRP and flash Pico Gapps.
Click to expand...
Click to collapse
Man, I have successfully done that.I have flashed TWRP recovery and flashed kernel.
But i cant install gapps..
I tried installing gapps for Android 4.2.1 and it worked AHAHAHAHAHA. But when I rebooted it, com.google...etc stil, all of the closes. (unfortunately com.google,etc. has stopped) even the AOSP the android keyboard isnt working.
I have some gapps working now, THE ONLY PROBLEM I HAVE NOW IS THAT THIS ****ASS AOSP KEYBOARD UNFORTUNATELY STOPPED MESSAGE EVERY 2 secs AND I CANT TYPE,
What error does it show when you try to install gapps?
And by gapps I mean the one for android 5.1.
Kevin3014 said:
What error does it show when you try to install gapps?
And by gapps I mean the one for android 5.1.
Click to expand...
Click to collapse
there is no error anymore. i installed 3rd party keyboard. thanks mate )
i mean the gapps are working but when I sync my google acc, it syncing error. they are working but after for about 5 mins or later, com.google.process.gapps unfortunately stops so i cant use it and more error stuff comes out. I think I am having issues with GApps, basically. how the hell i can fix this. I tried so many gapps from the xda thread, youtube, and other forums for 5.1.x. still, they unfortunately stop.
Take a backup of your stuff.
Download GApps (ARM/5.1/pico) from this link.
http://opengapps.org/
Copy paste the .zip file into your SD Card.
Boot into recovery (TWRP) and wipe /data, /cache, /dalvik cache
After that is done, install the open_gapps-arm-5.1-pico-xxxxxxxx.zip
Reboot your phone.
Now the unfortunately stopped error will be fixed.
that is what I have downloaded. I wiped data, cache and dalvik cache. and installed gapps
it says Insufficient storage space available in system partition. you may want to use a smaller Open GApps package or consider removing some apps using gapps-config.
NO changes were made to your device
Error Code: 70
E: Error executing updater binary in zip
Are you sure you used the pico version of gapps?
Kevin3014 said:
Are you sure you used the pico version of gapps?
Click to expand...
Click to collapse
yeahh.
what solutions can I do about this situation. I messed up :crying:
That's weird. Download Diskinfo from Playstore and post a screenshot of it. I'd like to know the space free in /system partition of your device.
Man, this is what I did
And yea, I figured it out.
1. Factory reset
2. Flash Rom
3. Flash Gapps
5. Wipe Cache / Dalvik Cache
6. Reboot
THANKS FOR SOME HELP!!!!!!!!!!!!!
Crazyevilbeef said:
Man, this is what I did
And yea, I figured it out.
1. Factory reset
2. Flash Rom
3. Flash Gapps
5. Wipe Cache / Dalvik Cache
6. Reboot
THANKS FOR SOME HELP!!!!!!!!!!!!!
Click to expand...
Click to collapse
Isn't that what I posted yesterday?
Kevin3014 said:
Isn't that what I posted yesterday?
Click to expand...
Click to collapse
I made a mistake. I forgot to put the 2nd step. it should be "Wipe system partition" and yea it worked.

Re-rooting while having a CROM and custom recovery installed

Hi. I tried rooting my phone a few months ago, and installed TWRP and ashwin007's CyanogenMod. The rooting seems to have failed (I think I accidentally wiped something when I installed TWRP/CyanogenMod/GApps, causing me to lose the root or something. I'm not exactly sure what went wrong), but I managed to install TWRP v2.8.7.0 and CyanogenMod (on the 10th August nightly) successfully. Now I want to try rooting my phone again properly (with superuser access), and change my CROM to probably http://forum.xda-developers.com/one...m-kernel-unofficial-cyanogenmod-13-0-t3375221 (This also includes a newer version of TWRP right?)(I also want GApps!). I'm not sure which order I should do these tasks.
Should I just follow the instructions in the link?:
Installation instructions (for first-time installation):
First, perform a backup of your existing setup, and then perform a clean install (wipe /data and /system; TWRP is recommended).
If you plan on using encryption with this ROM, then flash the custom TWRP build in the Downloads section below before flashing the ROM. This custom TWRP build is needed if you want to be able to access data encrypted using this ROM while booted into recovery. Otherwise, you will not be able to access your encrypted data while your phone is in recovery mode.
Then, flash the ROM, flash a Google apps package, SuperSU if you want root access (ONLY v2.65 OR HIGHER), and then reboot.
Click to expand...
Click to collapse
A few things I want to clarify:
1. The SuperSU installation page says it requires a rooted device. As stated earlier, I'm not 100% sure whether my device is rooted or not. What should I do? Root my device (What's the best way also, KingoRoot or something else?), then follow quoted instructions?
2. For the clean install I just wipe /data and /system? Not System, Data, Cache & Dalvik?
3. After I finish wiping and installing all of those, is there any way I can restore all of my apps and associated data that I had? (I've heard something about using TitaniumBackup?)
From what I've read, I probably should:
Use my TWRP to backup all the other things (system and stuff)->
Root phone (using KingoRoot?) ->
Download and use Titanium Backup to backup Apps ->
Wipe /data and /system (or System, Data, Cache & Dalvik?)->
Flash new custom TWRP (Can I flash it using my old TWRP? The TWRP official website says you can do this with TWRP versions v2.8.4 and above, mine is v2.8.7, but that was for the official TWRP)[or should I use the android SDK tools bootloader thing?] ->
Flash new custom ROM with TWRP ->
Flash GApps with TWRP ->
Flash SuperSU with TWRP ->
Reboot phone->
Restore apps with Titanium Backup
Could someone confirm? I don't want to brick my phone Thanks a lot!
Just follow the guides for rooting and custom Recovery's. If you follow the steps you won't have any problems. First thing you must do is update your twrp. Assuming you have already unlocked your bootloader.

Unable to install resurrection remix5.8.4

Hi,
I recently unlocked my bootloader after a really long time. I then proceeded to flash twrp and then flashed superSU and rooted my phone. I took a backup of my rom and then proceeded to install RR 5.8.4. I was given a error 7. Tried this method (https://forum.xda-developers.com/showthread.php?t=2522762) but then it gave me a error 6. Would someone help me out ?
Thx.
1) flash latest global developer MIUI ROM via MiFlash to updated firmware and to reset things if they messed up (watch out if you lock your bootloader while flashing, choosing the wrong .bat file);
2) after flash TWRP via fastboot;
3) boot TWRP and "advanced wipe" ALL partitions (except MicroSD if you have a MicroSD inserted and you want to keep its data);
4) reboot to recovery and install the RR .zip file (and the gapps .zip file if you use it);
5) after you boot into RR, you can then reboot to TWRP and install Magisk .zip to get root and other nice things.
Can i factory reset my device instead of flashing developer rom as the developer rom is quite big, around 1.4gb?
shalom170401 said:
Can i factory reset my device instead of flashing developer rom as the developer rom is quite big, around 1.4gb?
Click to expand...
Click to collapse
If you've TWRP installed at the moment then try this :
Boot to TWRP
Take a nandroid backup (just incase)
Wipe > advanced wipe > swipe to confirm
Flash firmware if you're coming from marshmallow based MIUI
Flash ROM & Gapps
Reboot
If you still get errors, probably corrupted zip. Try Re-downloading the zip.
shalom170401 said:
Can i factory reset my device instead of flashing developer rom as the developer rom is quite big, around 1.4gb?
Click to expand...
Click to collapse
You can try. Remember that if you download the full MIUI ROM, you should follow this guide http://en.miui.com/a-234.html
You can also upgrade the firmware without downloading the full ROM, from here https://forum.xda-developers.com/re.../firmware-firmware-update-2017-08-04-t3651537
Will try soon and reply
Even after flashing the firmware, i get the same error 7
I have downloaded this rom (https://www.google.co.in/amp/s/foru...nt/rom-resurrectionremix-5-8-2-t3567023/amp/) and flashed twrp using this guide (http://en.miui.com/thread-536180-1-1.html)
Maybe this is a stupid question, but your phone has MediaTek chipset or Qualcomm chipset?
I'm pretty sure it is qualcomm as the cpu speed is 2.0ghz
Now, i get this error and status error 7.
What should i do?
Where you can format all partitions, you can fix them too.
It looks like your /data is using f2fs, you should fix it converting the partition in ext4 (in official TWRP it's not possible to use f2fs).
Check all partitions, not only /data, to be formatted as ext4
So, what r the steps i should follow?
And btw, is there any unofficial twrp which i could use?
Enter TWRP, choose Wipe > Advanced Wipe
Check the box for "data"
Tap "change or repair file system"
Tap "Change file system"
Tap "ext4"
Swipe the button
Repeat for other partitions
I don't know if there are unofficial TWRP that support f2fs. Probably they exists, but you should also check if the default RR kernel supports f2fs, else you have to flash a custom kernel that supports f2fs.
Just one important question. During this process, if something weird happens ( like i get my phone soft bricked) and i got a nandroid backup. Will i be able to flash it successfully using twrp?
Yes, changing file system is a pretty safe operation (except for the erasing of the data inside the partition, as a normal format).
Flashing the backup or a full fastboot image will reset things back.
But it already shows it as ext4
Oh mahn, it still doesn't resolved?
Flash official TWRP via fastboot mode, skip this step if your already on official TWRP
Boot to TWRP
Wipe
Flash cm14.1 mido firmware
Flash Rom
Flash Gapps
??
Reboot
Note that, you should try Re-downloading all the things, like Rom / Gapps
Dude, i am unable to flash the rom due to cant install this package error and status error 7 !
shalom170401 said:
Dude, i am unable to flash the rom due to cant install this package error and status error 7 !
Click to expand...
Click to collapse
Yeah man, that's what I'm saying, you should try installing cm14.1 firmware first, then Rom..
Even after flashing the firmware, i get the same errors

Categories

Resources