[How-To] Update to G900A_OC4 - 5.0 and KeepRoot (4/8/2015) - AT&T Samsung Galaxy S 5

**You can begin the following process from any Build/ROM but you must already have Root Access**
**Required** FlashFire - Play BETA - PREVIEW
1. Join the G+ community using the same Google account as you're using for Play on your phone/tablet Here.
2. Sign up to receive the BETA versions from Play Here.
- Use the link provided after sign-up to download the app.
**Notice** - I light of the new OF2 update these ROM's are no longer safe. Stand by for a new KeepRoot thread!
Downloads:
- G900A_OC4_Stock_Rooted_ROM_wOA1_BL
- G900A_OC4_Stock_DeOdexed_ROM_wOA1_BL
Set your screen timeout setting to 10 mins before beginning!
1. Place the ROM onto your device (use either internal or ext-sdcard).
2. Open the FlashFire app and "Agree" to the Terms and Conditions.
3. Press "(+)" twice to bring up the "Actions" menu.
4. Press "Flash Zip or OTA" and locate and select the ROM. Leave "Auto-mount" unchecked under the "Options" menu and press the checkmark to continue.
5. From the main menu Uncheck all options under "EverRoot" and use default "Reboot" setting.
6. Last, press the lightning bolt then "Ok" to begin the flash .
The screen will turn black then display the contents of your system before beginning the flash. FlashFire will pause for about 1 minute while flashing the "system" partition. Once complete your device will reboot and pause on the AT&T splash screen for about 1 - 2 minutes ( 10 - 15 mins for DeOdexed version) before completely rebooting. Done!
Tip: for blazing fast speed turn off animations from Developer Options and reboot!
Known Issues:
- None!
Optional - Enable Native Tethering:
- G900A_OC4_TetherAddOn (Flash using FlashFire's "Flash zip or ota" option).
Notes:
1. The above process will not affect your Knox Warranty Flag.
2. The process will update your Modem, Non-hlos, System, Kernel, and Stock Recovery to OC4. Your Bootloader will only be updated OA1 allowing for downgrading your firmware at anytime.
3. As of 5/7/2015 no need to wipe prior to flashing! The ROM will automatically perform a factory data reset.
4. The TetherAddOn has been moved Here.
5. If you do not already have root access or to unbrick you must flash the G900A_Downgrade_to_NCE.tar(Caution! Do not use if you have taken the OC4 ota update) and root with TowelRoot, before continuing with the above process.
6. To learn more about FlashFire's capabilities on locked bootloader devices see here: http://forum.xda-developers.com/showpost.php?p=60070810&postcount=2

For whenever you get a chance to think about it, will there ever be a Safestrap for 5? need to look into Nandroid backups then? i loved SS. thanks again for all your hard work. AND FAST TOO.

I suggest that since safestrap no longer works, to do the data backup in KIES before this method and restore after doing this method.

muniz_ri said:
**You can begin the following process from any previous Build/ROM but you must already have root and Safestrap installed. Make certain Reactivation lock is unchecked!**
Instructions:
1. Extract the G900A_OC4_Stock_Rooted_Backup from the .rar archive and place it into the following folder: ext-sdcard/TWRP/BACKUPS/xxxxxx, fyi...the name of this folder will vary. If the folder does not already exist you must first use Safestrap to create a nandroid backup and Safestrap will create the folder for you.
2. From Safestrap recovery press "Wipe" then "Advanced Wipe" and wipe everything but your ext-sdcard.
3. From the main menu press "Restore," then select and restore the G900A_OC4_Stock_Rooted_Backup.
4. Once complete from the main menu press "Reboot," then reboot into "Download" mode.
5. Last, flash the G900A_OC4_Stock_Partitions_wOA1_BL using Odin's PDA slot (AP in Odin v3.09+) and reboot. Done!
After completing the above process your device will pause on the AT&T splash screen for 5 - 10 minutes before completely rebooting.
Tip: for blazing fast speed turn off animations from Developer Options and reboot!
Notes:
1. The above process will not affect your Knox Warranty Flag.
2. This process will update your Modem, Non-hlos, System, Kernel, and Stock Recovery to OC4 and your Bootloader to OA1 (BusyBox is also pre-installed).
3. Safestrap will no longer function after updating to 5.0.
4. The most common cause of an Odin flash failure is a bad usb port or cable. Please check before reporting a failure!
Click to expand...
Click to collapse
I did everything as you said, but when I am trying to restore I says RESTORE FAIL??? What should I do
I was on 4.4.4???
Now I downgrade to 4.4.2 with G900A_Downgrade_to_NCE.tar but again I cant make OTA update
Please help

CAG-man said:
I suggest that since safestrap no longer works, to do the data backup in KIES before this method and restore after doing this method.
Click to expand...
Click to collapse
Good idea.... I did not do this lol, but I have some titanium backups on my sd card.
I was on the pre-rooted 4.4.4 that muniz_ri put together a couple of months ago. Worked well and quickly without any problems.
I actually don't mind starting fresh.... anything else I'll use titanium ... I miss safestrap though (security blanket wise lol).
Nice work again muniz_ri.

muniz_ri said:
OP
Click to expand...
Click to collapse
Been following this since yesterday, just made an account to say fantastic work muniz, this really helps out the community.
One thing though, once we move to Lollipop, are we able to do the same as Verizon and flash the old kernel to access Safestrap?

I am on 4.4.2 rooted with Unity ROM installed. Do I need to upgrade to 4.4.4 first or am I all set?

muniz_ri said:
**You can begin the following process from any previous Build/ROM but you must already have root and Safestrap installed. Make certain Reactivation lock is unchecked!**
Instructions:
1. Extract the G900A_OC4_Stock_Rooted_Backup from the .rar archive and place it into the following folder: ext-sdcard/TWRP/BACKUPS/xxxxxx, fyi...the name of this folder will vary. If the folder does not already exist you must first use Safestrap to create a nandroid backup and Safestrap will create the folder for you.
2. From Safestrap recovery press "Wipe" then "Advanced Wipe" and wipe everything but your ext-sdcard.
3. From the main menu press "Restore," then select and restore the G900A_OC4_Stock_Rooted_Backup.
4. Once complete from the main menu press "Reboot," then reboot into "Download" mode.
5. Last, flash the G900A_OC4_Stock_Partitions_wOA1_BL using Odin's PDA slot (AP in Odin v3.09+) and reboot. Done!
After completing the above process your device will pause on the AT&T splash screen for 5 - 10 minutes before completely rebooting.
Tip: for blazing fast speed turn off animations from Developer Options and reboot!
Notes:
1. The above process will not affect your Knox Warranty Flag.
2. This process will update your Modem, Non-hlos, System, Kernel, and Stock Recovery to OC4 and your Bootloader to OA1 (BusyBox is also pre-installed).
3. Safestrap will no longer function after updating to 5.0.
4. The most common cause of an Odin flash failure is a bad usb port or cable. Please check before reporting a failure!
Click to expand...
Click to collapse
I successfully did a backup via Kies and via Safestrap onto my external SD, but when I installed 5.0 and the updated kernel... I restored my backup from Kies and it did successfully restore, but it apparently didn't restore my apps, is there a way I can restore my apps with the backup from Safestrap? Thanks for any replies in advance.

Sorry to be a pain but for those of us that just rooted before and never used Safestrap,can you break it down Barney style so everybody can understand it correctly plz? I've never used SS and would like to keep my root but am leary of using SS and doing backups,etc. I'm on 4.4.4. OA1 stock,rooted.

PS4AndroidHacker said:
Sorry to be a pain but for those of us that just rooted before and never used Safestrap,can you break it down Barney style so everybody can understand it correctly plz? I've never used SS and would like to keep my root but am leary of using SS and doing backups,etc. I'm on 4.4.4. OA1 stock,rooted.
Click to expand...
Click to collapse
check out here: http://forum.xda-developers.com/showpost.php?p=56707749&postcount=294
then install busybox then safestrap (not to worry, works great, been around quite a while), create/install recovery in SS, make a current backup and then follow the great instructions in post #1
but if you dont like L, then its back to the beginning with NCE, root, SS, go back to OA1 and then restore your OA1 bu from SS
http://forum.xda-developers.com/att...to-root-g900aucu2aoa1-4-4-4-2-3-2015-t3021120
at least this is my understanding and i have gone from 442/NG3 to OA1 and back this way and it works fine, dont take too long either. just need all the files.

Thank you for the guide, I will run it soon. Xposed Framework is working just fine with Lollipop as well right? Besides Titanium Backup that is my other need for root.

.......... thk you for your amazingly quick work :highfive: ............

kipptc said:
Been following this since yesterday, just made an account to say fantastic work muniz, this really helps out the community.
One thing though, once we move to Lollipop, are we able to do the same as Verizon and flash the old kernel to access Safestrap?
Click to expand...
Click to collapse
Have not seen it confirmed yet but it should work. Added the kernels to the OP.

samccfl99 said:
For whenever you get a chance to think about it, will there ever be a Safestrap for 5? need to look into Nandroid backups then? i loved SS. thanks again for all your hard work. AND FAST TOO.
Click to expand...
Click to collapse
There is a safestrap replacement coming out of the vz note 3 forum soon. Should work on the S5.

pennywisdom said:
Xposed Framework is working just fine with Lollipop as well right?
Click to expand...
Click to collapse
Unless something has changed very recently, it is only working for AOSP, it is causing bootloops on any Touchwiz based Lollipop.

muniz_ri said:
There is a safestrap replacement coming out of the vz note 3 forum soon. Should work on the S5.
Click to expand...
Click to collapse
thats great news! please let us know when you know...
just one thing when u have a chance to respond. obviously i dont trust google's great development team. so IF L is not so good yet (do we know if this is 5.0 or 5.0.1 or .2?) is there an easier way to get back to 442/NG3. i have read in the post how to bring SS back temporarily, so my real question is Can i Odin the G900A_NG3_Stock_Kernel.tar.md5 and then just restore my XDK install or do i need to go back to NCE and go forward? (i think the answer is no, but hey, its worth it to ask). this is the part i do not understand about SELinux and the partitions and what they do.
i thank you for all your hard work and a small donation will be coming soon. YOU ARE THE CHAMP!!!

hlb3 said:
Unless something has changed very recently, it is only working for AOSP, it is causing bootloops on any Touchwiz based Lollipop.
Click to expand...
Click to collapse
Ooh that's poopy. Well maybe I can get by without some of those tweaks in Lollipop.

hlb3 said:
Unless something has changed very recently, it is only working for AOSP, it is causing bootloops on any Touchwiz based Lollipop.
Click to expand...
Click to collapse
so you are saying Xposed dont work right now if we go to L? what good is that? i wonder what else dont work??? we have the touchwiz because of stupid att and their locked bootloader, right? wish i had a 900-F....really want to play with this, but what is the point??? plus if this is just plain 5.0, well then hell, another should not be too far behind it. do u think ATT fixed any bugs from 5.0 (can they even?)

muniz_ri said:
**You can begin the following process from any previous Build/ROM but you must already have root and Safestrap installed. Make certain Reactivation lock is unchecked!**
Pls someone help , I updated to Lolipop and downgraded my phone to 4.4.2 and got my phone soft bricked . I tried flashing OC4 stock partitons wl 0AL bootlader but it is not flashing and is showing failed . Pls can you upload the previous orignal OC4 stock partition files ? This new OC4 stock partition file is different . Pls I am screwed
Thanks
Click to expand...
Click to collapse

yash.mann97 said:
muniz_ri said:
**You can begin the following process from any previous Build/ROM but you must already have root and Safestrap installed. Make certain Reactivation lock is unchecked!**
Pls someone help , I updated to Lolipop and downgraded my phone to 4.4.2 and got my phone soft bricked . I tried flashing OC4 stock partitons wl 0AL bootlader but it is not flashing and is showing failed . Pls can you upload the previous orignal OC4 stock partition files ? This new OC4 stock partition file is different . Pls I am screwed
Thanks
Click to expand...
Click to collapse
Just flash the OC4 kernel from the OP.
Click to expand...
Click to collapse

Related

CM Recovery for Nexus Player (fugu)

This is the CM-12.1 recovery for fugu.
Use the bottom button to navigate. One push to scroll down and long press to select. I've tested both adb side load and install from internal storage. This recovery also supports adb backup, but I haven't tested it yet.
I hope you enjoy not having to fastboot everything.
Download: fugu_cm_recovery-20150418.img
To install just boot bootloader and
Code:
fastboot flash recovery fugu_cm_recovery.img
Dude, quit being so amazing. It's getting ridiculous.
Excellent! This is the first custom recovery available for this device, correct? I suppose this would open the door to something like the Xposed Framework being installed on the Nexus Player but since my device is running on Android 5.1, I'll probably wait until rovo89 officially adds support for the latest version of Android first.
Yes!!! Glad to see you!
@WugFresh
@dhacker29 Sweet! Thank you! May I suggest you don't use dev host to host this file . They use to be good a while back, but now often employ sketchy MITM type "download manager" scams, and other bad practices. From the original dev thread http://forum.xda-developers.com/showthread.php?p=54363645 -
Dear Developers,
It has come to our attention that due to excessive ads that simulate download buttons, fly-by malware APK attacks from Mobogenie, and reused (and potentially dangerous) reused short URLs, Dev-Host no longer meets our minimum acceptable requirements as a hosting affiliate. As such, we are ending our affiliation with this provider. We urge you to find a safer download host for your development projects such as our other affiliates: Goo.im and AndroidFileHost.
Click to expand...
Click to collapse
Just a heads up. I had a bad experience with them before I saw that post.
Also, it would be awesome if you had a naming convention with version number for all future releases (assuming you plan on updating it); like "cm_recovery_fugu_1.0.0.img" or something.
Thanks again! I know lots of people have been patiently waiting and hoping for a fugu recovery. [emoji106] [emoji106] [emoji106]
GabbyWC said:
Excellent! This is the first custom recovery available for this device, correct? I suppose this would open the door to something like the Xposed Framework being installed on the Nexus Player but since my device is running on Android 5.1, I'll probably wait until rovo89 officially adds support for the latest version of Android first.
Click to expand...
Click to collapse
Yes this is the first recovery for the device but last I checked Xsposed had nothing to do with recovery. This will allow for custom firmware like cm-12.1 to be flashed to the device without having to use fastboot.
---------- Post added at 03:27 AM ---------- Previous post was at 03:17 AM ----------
WugFresh said:
@dhacker29 Sweet! Thank you! May I suggest you don't use dev host to host this file . They use to be good a while back, but now often employ sketchy MITM type "download manager" scams, and other bad practices. From the original dev thread http://forum.xda-developers.com/showthread.php?p=54363645 -
Just a heads up. I had a bad experience with them before I saw that post.
Also, it would be awesome if you had a naming convention with version number for all future releases (assuming you plan on updating it); like "cm_recovery_fugu_1.0.0.img" or something.
Thanks again! I know lots of people have been patiently waiting and hoping for a fugu recovery. [emoji106] [emoji106] [emoji106]
Click to expand...
Click to collapse
I have to agree with Wugfresh on this bro AndroidFileHost is great. All you need to do is @ the guy on Twitter and he'll hook you up with a developer account complete with ftp access.
Wugfresh the issue with a revision on this is it's cm's android bootable recovery so technically anytime a commit is made to that repo it would be a revision change.
I'll host the updated image somewhere else tonight and I will be adding the date to the end of the image so you can tell if it is updated.
bkjolly said:
Yes this is the first recovery for the device but last I checked Xsposed had nothing to do with recovery. This will allow for custom firmware like cm-12.1 to be flashed to the device without having to use fastboot.
Click to expand...
Click to collapse
The Q&A for Xposed on Android 5.0 at http://www.xda-developers.com/xposed-framework-for-android-lollipop-is-here/ contains this quote:
I want to install it. Now! What do I have to do?
Make sure that you’ve read my words above and you’re familiar with your phone’s internals. Obviously, you need to be on a Lollipop ROM and have a good backup of your data. For now, I will only publish the ARMv7 version. 64-bit is more complex, so let’s try the “easy” variant first.
For now, the installation has to be performed manually in a custom recovery. Flashing the zip file will install:
* app_process32_xposed and some symlinks
* libexposed_art.so
* libart.so and some related binaries + libraries (based on 5.0.2, enhanced with support for hooking etc.)
* XposedBridge.jar (now stored in /system/framework)
Backups of existing files will be created automatically and could be restored later.
Can confirm a working flash. Everything looks great! Thanks for all the hard work
no option to make a recovery image...whats the point of this then?
I tried to wipe my cache to free some space and it sent my nexus player into a bootloop...whats going on with this?
How exactly does this work? If my device is rooted on 5.1.0 and I flash this custom recovery. Can I make a backup of everything on the device? Then when google goes to update the android version, can I update it, then restore my backup of everything and not lose root? I'm sorry i'm new to custom recovery and not quite sure how they work. Thank you for your help!
Edit
Noob
I'm a bit of a noob - I have managed to ADB a new boot and system image to my nexus player - it's now running lollipop1.6. What does this recovery mean and how is it different than loading a boot and system image? Thanks - Does this require ClockworkMod?
dhacker29 said:
I just got my Nexus Player last night and made a working version of CM recovery for it. Use the bottom button to navigate. One push to scroll down and long press to select. I've tested both adb side load and install from internal storage. This recovery also supports adb backup, but I haven't tested it yet.
I hope you enjoy not having to fastboot everything.
Download: fugu_cm_recovery.img - 8.41 MB
To install just boot bootloader and
Code:
fastboot flash recovery fugu_cm_recovery.img
Click to expand...
Click to collapse
OathYvne said:
How exactly does this work? If my device is rooted on 5.1.0 and I flash this custom recovery. Can I make a backup of everything on the device? Then when google goes to update the android version, can I update it, then restore my backup of everything and not lose root? I'm sorry i'm new to custom recovery and not quite sure how they work. Thank you for your help!
Click to expand...
Click to collapse
if you restored your backup you would be downgrading it from the update you just took. you dont need a custom recovery to back up apps and their data, there are apps for that. a custom recovery makes it so its easier to flash new/custom roms(os), make backups of the current rom(os) so if anything goes wrong you can restore it, flash zips like the supersu zip or xposed framework. if you try take an ota with a custom recovery the ota will fail to install as its looking for the stock recovery(may be diff on a nexus device but its always been like that on the devices i have owned)
OathYvne said:
How exactly does this work? If my device is rooted on 5.1.0 and I flash this custom recovery. Can I make a backup of everything on the device? Then when google goes to update the android version, can I update it, then restore my backup of everything and not lose root? I'm sorry i'm new to custom recovery and not quite sure how they work. Thank you for your help!
Click to expand...
Click to collapse
This recovery does not provide a "nandroid" type backup where all of your info is zipped up and stored on the devices internal storage, where any application can get access to it, but rather supports adb backup. which backs up your information to a file on your computer. See http://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351 for more information on usage.
WugFresh said:
@dhacker29 Sweet! Thank you! May I suggest you don't use dev host to host this file . They use to be good a while back, but now often employ sketchy MITM type "download manager" scams, and other bad practices. From the original dev thread http://forum.xda-developers.com/showthread.php?p=54363645 -
Just a heads up. I had a bad experience with them before I saw that post.
Also, it would be awesome if you had a naming convention with version number for all future releases (assuming you plan on updating it); like "cm_recovery_fugu_1.0.0.img" or something.
Thanks again! I know lots of people have been patiently waiting and hoping for a fugu recovery. [emoji106] [emoji106] [emoji106]
Click to expand...
Click to collapse
I swtiched to andriodfilehost and uploaded the latest version.
dhacker29 said:
I swtiched to andriodfilehost and uploaded the latest version.
Click to expand...
Click to collapse
Thanks for an update. I tried to full backup by following commands.
adb backup -apk -shared -all -f C:\backup20151904.ab
But getting this "Now unlock your device and confirm the backup operation" lines and asking for unlock your deivice to confirm. Any sugestion to pass this. Thanks
Yes it seems Google decided to remove the backup confirmation dialog from TcSettings
So it means adb backup of a full ROM is not possible? Going to try your rom later.
Sent from my Nexus 6 using Tapatalk 2

Update Available 2.19.401.2

Here you can download OTA, fresh firmware or system image to update your device.
OTA_M8_MINI_UL_K44_SENSE60_HTC_Europe_2.19.401.2-2.18.401.3_release_448048.zip [41.2 MB]
firmware.zip only [19.6 MB]
2.19.401.2_boot_system_2015-09-21--20-48-04_KOT49H.zip [TWRP] [1.15 GB]
Downloads: mega
​Let's see what's underneath
Main difference, I believe, is a security fix (libStageFright). I assume, that's it:
/system/framework/android.policy.jar
/system/framework/conscrypt.jar
/system/framework/framework3.jar
/system/lib/modules/moc_crypto.ko.sig.3.4.10
Zip also contains lots of *.p files (odexes, apk, jars mainly). Viewable through windows explorer. Don't know, what's that. Looks like a hash or a signature.
OTA includes firmware.zip containing {boot, hboot, recovery}, which can be opened through WinRAR (7Zip 15β failed). If you want just firmware, take it. Should be fastboot flashable.
*Additional notes*
Next lines describe my experience before I returned the device state to nearly stock.
Hello there. )
Want to share my experience. I have 2.18.401.3 and got promt to upgrade to 2.19.401.2.
Basically, as I get it, you need original recovery and that's it. (Pushed original kernel just in case. Also device is unlocked (tampered))
But under updating process the script mechanism checks some files to be original. Many system odexes, framework stuff and some libs.
My update failed on checking Books.odex (meanwhile, this app was deleted and redownloaded as user-app)
So, I might try to edit updater-script later or just copy files from update to folders they belong. The ota got a simple and obvious updater script for people who used to deal with them before. I'm considering delete parsing part or just push on screen what gives fail, but let updating happen. Need to be tested with system backup.
city2026 said:
OTA_M8_MINI_UL_K44_SENSE60_HTC_Europe_2.19.401.2-2.18.401.3_release_448048.zip [41.2 MB]
Download: mega
Let's see what's underneath
Main difference, I believe, is a security fix (libStageFright). I assume, that's it:
/system/framework/android.policy.jar
/system/framework/conscrypt.jar
/system/framework/framework3.jar
/system/lib/modules/moc_crypto.ko.sig.3.4.10
Zip also contains lots of *.p files (odexes, apk, jars mainly). Viewable through windows explorer.
OTA includes firmware.zip containing {boot, hboot, recovery}, which can be opened through WinRAR (7Zip 15β failed).
*Additional notes*
Hello there. )
Want to share my experience. I have 2.18.401.3 and got promt to upgrade to 2.19.401.2.
Basically, as I get it, you need original recovery and that's it. (Pushed original kernel just in case. Also device is unlocked (tampered))
But under updating process the script mechanism checks some files to be original. Many system odexes, framework stuff and some libs.
My update failed on checking Books.odex (meanwhile, this app was deleted and redownloaded as user-app)
So, I might try to edit updater-script later or just copy files from update to folders they belong. The ota got a simple and obvious updater script for people who used to deal with them before. I'm considering delete parsing part or just push on screen what gives fail, but let updating happen. Need to be tested with system backup.
Click to expand...
Click to collapse
My update stopped for "basicdreams.odex". If you are able to get the update flashed do let the community know
TWRP system backup added
csoulr666 said:
My update stopped for "basicdreams.odex". If you are able to get the update flashed do let the community know
Click to expand...
Click to collapse
I tried to update from recent backup (the one before I changed kernel and deleted system apps), but facebook.odex didn't let me.
Finally, the very first backup did it. I took only system and boot, switched twrp recovery to htc, skipped all setup and installed OTA over fresh system.
Here you go. Now you have TWRP image of this update.
BTW, kernel version is different. CL build number is the same.
Hi,
can't I just flash it somehow with TWRP?
The standard update way does not work for me, because of changed *.odex files.
Already tried to flash original recovery etc.
Thanks
ash0r said:
Hi,
can't I just flash it somehow with TWRP?
The standard update way does not work for me, because of changed *.odex files.
Already tried to flash original recovery etc.
Thanks
Click to expand...
Click to collapse
Unfortunately you cannot flash this with TWRP.
Is there a possibility to install this update (or any OTA updates) without having a "not-touched" system?
I could of course flash the TWRP recovery (what I've already done - it worked) but in that case I lose all my modifications. Is it possible to restore the TWRP recovery from that post and afterwards restore my own recovery without overwriting the system files which are needed to be up to date?
Thanks
ash0r said:
Is there a possibility to install this update (or any OTA updates) without having a "not-touched" system?
I could of course flash the TWRP recovery (what I've already done - it worked) but in that case I lose all my modifications. Is it possible to restore the TWRP recovery from that post and afterwards restore my own recovery without overwriting the system files which are needed to be up to date?
Thanks
Click to expand...
Click to collapse
You can try to restore the TWRP backup in the post. And yes, you will lose every mod since it is a backup of the stock, unrooted firmware.
The main problem of flashing the OTA zip would be that you will have to relock the bootloader before installing . So if you unlock it again, the internal storage will be wiped. The best way is to backup everything(Including the internal storage) and then proceed.
Actually, you can save your data while upgrading from non-worthy stock.
So, you may do this
Full backup, you never know what can go wrong.
Save or make a note of what you changed by yourself in system (from busybox to xposed & various modes.). You may use TB for sys-apps and simple file copying for modes. *
Restore updated system image from 1st post, so you have updated system.
See if it worked out and restore/reinstall your other system stuff.
* Remember, you still may access files of your twrp backup images through some archiver. Like I do using 7-Zip.
It's very important to save backup somewhere, cause it might be that my image can be not absolutely clean or can be not absolute right for your phone (like sell location difference). So it'll be easy to return back to working machine.
For this purposes I also setted up my TB for daily auto-backup of texts and settings and weekly backup of apps.
---
Don't sure about relock for upgrading. It seems to be launching, but it needs pure system and original boot & recovery. Some fastboot-magic helps here. That's how I did it after restoring to the very first backup.
So I have build number 2.18.161.3 rooted software on Vodafone, and received an OTA update build number 2.18.161.5-2.18.161.3. Obviously when I come to update it it goes to my custom recovery and can't go any further.
A couple of queries though I wanted to delete all the bloatware from my stock rom, after rooting I found I needed to S-Off as the bloatware keeps coming back on reboot so here are my queries.
Can I delete the APK files from the new OTA update and will this remove them if I install the OTA as a zip through custom recovery. Or can I use this update to wipe the bloatware from it all advice would be helpful
The Watergod said:
So I have build number 2.18.161.3 rooted software on Vodafone, and received an OTA update build number 2.18.161.5-2.18.161.3. Obviously when I come to update it it goes to my custom recovery and can't go any further.
A couple of queries though I wanted to delete all the bloatware from my stock rom, after rooting I found I needed to S-Off as the bloatware keeps coming back on reboot so here are my queries.
Can I delete the APK files from the new OTA update and will this remove them if I install the OTA as a zip through custom recovery. Or can I use this update to wipe the bloatware from it all advice would be helpful
Click to expand...
Click to collapse
For bloatware removal just push a custom boot.img. Liberty kernel or dt2w presented here works fine, you may try them at least with making a backup of original kernel at first. (Custom made kernel might give you permission to write to /system without being s-off.)
I used liberty one, recently flashed the one with double tap to wake, works perfectly fine. Even sd is fine.
I'm not into kernels, perhaps as long as they suit your device they are fine.
OTA have its script, if it has such strings or if you write it into the script, you may delete some apps. Maybe, didn't try nothing with ota scripting. It easier to find working universal bloatware removal script as flashable zip package.
Otherwise, ota just adds some stuff or replaces current stuff.
My htc one mini 2 is all stock. Software number is 1.16.61.2 and my fon cant to update software. Please help. Sory for my english.
keninzeg said:
My htc one mini 2 is all stock. Software number is 1.16.61.2 and my fon cant to update software. Please help. Sory for my english.
Click to expand...
Click to collapse
Did you buy your phone from a carrier? Carrier phones get different software updates
csoulr666 said:
Did you buy your phone from a carrier? Carrier phones get different software updates
Click to expand...
Click to collapse
I bought it used, it has installed EE application from the UK. So is there a way to update. Thanks a lot...
I tried to install OTA_M8_MINI_UL_K44_SENSE60_HTC_Europe_2.16.401.1-1.16.401.2_release from stock recovery and failed.
keninzeg said:
I bought it used, it has installed EE application from the UK. So is there a way to update. Thanks a lot...
I tried to install OTA_M8_MINI_UL_K44_SENSE60_HTC_Europe_2.16.401.1-1.16.401.2_release from stock recovery and failed.
Click to expand...
Click to collapse
If it has EE applications then it is an EE branded phone. Your updates will arrive differently and will have a different software number. So using the Europe zip will not help.
city2026 said:
For bloatware removal just push a custom boot.img. Liberty kernel or dt2w presented here works fine, you may try them at least with making a backup of original kernel at first. (Custom made kernel might give you permission to write to /system without being s-off.)
I used liberty one, recently flashed the one with double tap to wake, works perfectly fine. Even sd is fine.
I'm not into kernels, perhaps as long as they suit your device they are fine.
OTA have its script, if it has such strings or if you write it into the script, you may delete some apps. Maybe, didn't try nothing with ota scripting. It easier to find working universal bloatware removal script as flashable zip package.
Otherwise, ota just adds some stuff or replaces current stuff.
Click to expand...
Click to collapse
Excellent thanks for the reply so in short,
Grab the downloads from above (4 in total?)
Push and override existing TWRP recovery back to stock recovery (Dumbass Details would be helpful as I have not done this in ages)
copy the ADB the new rom to the phone (Again please forgive me as I have not done this in a few years need a memory jog)
Again thanks in advance
The Watergod said:
Excellent thanks for the reply so in short,
Grab the downloads from above (4 in total?)
Push and override existing TWRP recovery back to stock recovery (Dumbass Details would be helpful as I have not done this in ages)
copy the ADB the new rom to the phone (Again please forgive me as I have not done this in a few years need a memory jog)
Again thanks in advance
Click to expand...
Click to collapse
If you'll ask more specificly, I'll provide even shorter reply. )
As I get it, you ask for some short check-list / instruction
You need one of three files I uploaded, based on what do you want. )
You can flash big 1 gb system image v2.19.401.2 through twrp.
You can grab small upgrade package and update your 2.18.401.3 by yourself to have 2.19.401.2. Original firmware and fresh rom state might be needed.
You have other needs, you need just freshest kernel or etc., you grab firmware package and try hook it with bootloader or unzip and get the thing you need.
Pick the option and I'll write simple instruction.
I forget to read your previous post. ) So, you have 2.18.161.3 Vodafone. With root privileges (half-root, I assume)
So, yes, you need to restore original recovery of yours. Then it could handle the ota. If you can get it somewhere, you can update. You can get it in vodafone firmware (big package with everything) or if someone made recovery backup earlier.
My upload contains files for non-locked (operator's) devices.
As long as your phone has operator's rom, I can't give you proper advice. I assume, other recoveries/kernels/etc. might not be ok with your device due to hardware lock or difference.
But you can try always, if you sure you can handle it and revert or if you read on your situation enough. I can't advice you here on 100%.
But. If device is just a device, and roms are just roms (and some operator's special version is just a rom), you can flash other system and kernel and see what happens.
You may do a complete backup and save it somewhere and do one of the following:
Flash firmware.zip* contents, then go to TWRP and format all partitions except sdcard, then flash system image from above.
Just flash some custom 5.1.1 release. I use NostromoPop. It much smoother and it's lollipop.
*Firmware.zip contains boot, hboot, recovery. All that was for 2.19.401.2 but presumably can work separate. So you can get what you want and flash through adb. Like boot and hboot for proper device work on 2.19.401.2, or just recovery to try your vodafone ota w/o dramatic changes.
For futher safeness, you can backup hboot and boot or what you want.
I can recommend you to try custom sense-kernel for system write privileges.
city2026 said:
If you'll ask more specificly, I'll provide even shorter reply. )
As I get it, you ask for some short check-list / instruction
You need one of three files I uploaded, based on what do you want. )
You can flash big 1 gb system image v2.19.401.2 through twrp.
You can grab small upgrade package and update your 2.18.401.3 by yourself to have 2.19.401.2. Original firmware and fresh rom state might be needed.
You have other needs, you need just freshest kernel or etc., you grab firmware package and try hook it with bootloader or unzip and get the thing you need.
Pick the option and I'll write simple instruction.
I forget to read your previous post. ) So, you have 2.18.161.3 Vodafone. With root privileges (half-root, I assume)
So, yes, you need to restore original recovery of yours. Then it could handle the ota. If you can get it somewhere, you can update. You can get it in vodafone firmware (big package with everything) or if someone made recovery backup earlier.
My upload contains files for non-locked (operator's) devices.
As long as your phone has operator's rom, I can't give you proper advice. I assume, other recoveries/kernels/etc. might not be ok with your device due to hardware lock or difference.
But you can try always, if you sure you can handle it and revert or if you read on your situation enough. I can't advice you here on 100%.
But. If device is just a device, and roms are just roms (and some operator's special version is just a rom), you can flash other system and kernel and see what happens.
You may do a complete backup and save it somewhere and do one of the following:
Flash firmware.zip* contents, then go to TWRP and format all partitions except sdcard, then flash system image from above.
Just flash some custom 5.1.1 release. I use NostromoPop. It much smoother and it's lollipop.
*Firmware.zip contains boot, hboot, recovery. All that was for 2.19.401.2 but presumably can work separate. So you can get what you want and flash through adb. Like boot and hboot for proper device work on 2.19.401.2, or just recovery to try your vodafone ota w/o dramatic changes.
For futher safeness, you can backup hboot and boot or what you want.
I can recommend you to try custom sense-kernel for system write privileges.
Click to expand...
Click to collapse
Sorry to be a pain and your help is invaluable but just trying not to screw this up, My phone has been unlocked to all networks, and I would like either a stock rom bloatware free or a custom sense rom.
The phone is still S-On but I have unlocked the bootloader (Obviously). I Kept the stock rom hoping to use titanium backup to remove the bloat however I quickly found out the phone needed to be S-Off to remove it completely because as soon as the phone rebooted the bloatware re-installed it's self.
This is how I have the OTA update sat on my phone, I only Rooted for SU privs and put on TWRP everything else was stock. I did as a question in another post "Could I remove the APK from the OTA Zip on my phone then install it using TWRP and would that remove the bloat" but no response to that one.
Any help would be greatly recieved
The Watergod said:
Sorry to be a pain and your help is invaluable but just trying not to screw this up, My phone has been unlocked to all networks, and I would like either a stock rom bloatware free or a custom sense rom.
The phone is still S-On but I have unlocked the bootloader (Obviously). I Kept the stock rom hoping to use titanium backup to remove the bloat however I quickly found out the phone needed to be S-Off to remove it completely because as soon as the phone rebooted the bloatware re-installed it's self.
This is how I have the OTA update sat on my phone, I only Rooted for SU privs and put on TWRP everything else was stock. I did as a question in another post "Could I remove the APK from the OTA Zip on my phone then install it using TWRP and would that remove the bloat" but no response to that one.
Any help would be greatly recieved
Click to expand...
Click to collapse
Simply flash custom kernel: like liberty sense or stock sense w/ dt2w.
It will unlock the opportunity to write on every partition. I mean system, cache, etc.
The Watergod said:
Sorry to be a pain and your help is invaluable but just trying not to screw this up, My phone has been unlocked to all networks, and I would like either a stock rom bloatware free or a custom sense rom.
The phone is still S-On but I have unlocked the bootloader (Obviously). I Kept the stock rom hoping to use titanium backup to remove the bloat however I quickly found out the phone needed to be S-Off to remove it completely because as soon as the phone rebooted the bloatware re-installed it's self.
This is how I have the OTA update sat on my phone, I only Rooted for SU privs and put on TWRP everything else was stock. I did as a question in another post "Could I remove the APK from the OTA Zip on my phone then install it using TWRP and would that remove the bloat" but no response to that one.
Any help would be greatly recieved
Click to expand...
Click to collapse
Hi
I will assume you have the virus I have been seeing lately that wouldn't allow you to reset the phone, where in reset option the automatic restore option remains checked and you can't uncheck it.
The only solution is through TWRP, you need to enter TWRP, erase Cache, Data, System then flash the Lollipop ROM again or stock from here: http://forum.xda-developers.com/one...one-mini-2-t3250020/post63859743#post63859743
So there is no Rom available that's pretty much stock without bloatware that I can install with twrp? If not is there some idiots guide to putting my stock recovery back on thank you all again

[ROM] Stock US Unlocked/Developer Sense 7 Marshmallow AIO Thread (wp_mod) (s2s_mod)

The official Sense 7 for MM is out!!
For those who haven't or cannot receive the OTA and you cannot wait, here is it!
In this post you can find the followings:
Firmware
Aroma Stock Rom
Root Info (System/Systemless)
Disable S-ON System Write Protection
Sweep to sleep module
FAQ
Firmware
Here is the full firmware pack before flashing the rom. You can choose stock or the one with no red text.
Unzip the firmware zip, and change mid and cid in android-info.txt to your own one.
This firmware will not wipe data!! Flash without any fears
S-OFF Only!! S-ON users can try flashing this rom with older firmwares.
Stock: DevDB Download
No red text: DevDB Download
Aroma Stock Rom (With selectable root ,wp_mod, s2s_mod)
The installer will install everything for you.
If you want root, take a look at the next section for some info about root methods.
I haven't got much time, so I'm using block flashing for convenience. Will update to file based flashing if I had time, but users wouldn't feel any difference.
DevDB Link​
Important!! If you choose systemless root, please choose "Do not install SuperSU" when reboot in TWRP, because TWRP isn't updated to detect this new method. If you choose to install SuperSU within TWRP you'll get stuck in boot loop.
Root Info
Marshmallow root has been much more difficult than simply flash a zip in recovery, because it also requires a modified boot image to work. This root is achieved with SELinux enforced using Chainfire's method.
Chainfire gave us with two rooting methods include:
The traditional root in system, which breaks OTA functionality.
(It's more stable now)
New "systemless" approach, which means the root stuffs are only in DATA and BOOT, the system will stay intact and it will accept OTAs.
(Note that this method is still in beta stage according to CF)
If you are already on the stock rom and you want root, this is where you'd be interested with.
Choose your preferred root method above, and follow the correspond instructions below.
Instructions:
Traditional:
Flash m8-mm-su-boot.zip in attachment with TWRP
Flash SuperSU 2.52
Systemless:
Be sure you haven't used any other root method(like the traditional one above), if you've rooted with other methods, please re-flash your system back to pure stock
Flash m8-mm-su-boot-systemless.zip in attachment with TWRP
Download SuperSU-v2.56-20151030013730.zip in this thread, and flash it through TWRP
Important!! Please choose "Do not install SuperSU" when reboot in TWRP, because TWRP isn't updated to detect this new method. If you choose to install SuperSU within TWRP you'll get stuck in bootloop.
Disable S-ON System Write Protection
After you rooted, you might find out that your system partition is locked up, this is because of HTC's system write protection on S-ON devices, and here is a handy mod for you to bypass it. Original mod by flar2, I modified it to work on MM.
Instructions:
You have to use the traditional root method above to make this work!!
Flash m8-mm-wp_mod.zip in attachment
Sweep to Sleep module
A handy mod to turn of the screen by swiping the bottom of the screen. Original mod by flar2, I modified it to work on MM.
Instructions:
This will flash files to system, there is no point in using systemless method, but it should be OK
Flash m8-mm-s2s_mod.zip in attachment
FAQ
Q: After choosing full wipe, my contents in internal storage are all gone!!
A: No, it's not. It seems that Marshmallow treats my full wipe script differently. After each clean flash, it will move all previous files in /sdcard into /sdcard/0. You can just move them back to the proper locations. No big deal!
Q: I cannot install Busybox in system / I cannot use adaway !!
A: Flash wp_mod.
Q: I used systemless root and wanted to keep my system partition intact, how do I install Busybox?
A: Download Busybox Pro, type /su/bin as the installation path for busybox. You cannot do it using the free version, unfortunately.
Q: **** app cannot access external SDcard!!
A: Look at this explanation:
Since Kitkat (2 years ago man), we don't have direct external storage write permission. Google consider it insecure, so they implemented this feature. The reason why you can access external SDcard easily before is because most roms on XDA already contains a hack in /system/etc/permissions/platform.xml. You should not rely on this hack forever, please take a look below.
In lollipop and after, Google provided a much secure and better way to grant external storage access to third party apps, first of all take a look at this article for details:
http://www.androidpolice.com/2014/1...s-automatic-mediastore-and-improves-security/
So instead of using the old platform.xml hack in the old Kitkat days, adopt yourself with this new behavior of Android!! If a certain app cannot access SDcard, ASK THE DEVELOPER to add support for this API!!
Many apps already have support for this API. I'll take Titanium Backup for example, as lots of you cannot find the way to use it on externals SD. In Menu>>Preferences>>Backup Location, you can choose Document Provider on top of the detect button.
In the provider, open the menu on the top right corner and select "Show SDcard", then you'll see External Storage in the left side. Select external SDcard in the document provider and press the button on the bottom, the app will then be granted access to the whole external storage. You can then create a new folder in TiBack and select it as your backup location.
Other apps also follows the instructions above, you just have to manually set up the folder where the app can access, in the case which most of us would love to give access to the whole SDcard, I set the location to the root of external storage. Each app has independent permission, so you have to manually grant each app you wish to access external storage.
Q: I want OTA, what should I do?
A: Look at the following info
To accept OTA updates, you need the following:
Your MID should be 0P6B11000 or 0P6B12000
Your CID should be BS_US001 or BS_US002
You have to keep system partition untouched
You have to have stock recovery
So before anything, if you want to accept OTA, you have to change MID, CID, flash the stock firmware. The tricky part is the system partition and the recovery. The easiest way is when the OTA comes, flash the stock rom again without root, flash stock recovery through fastboot, then apply OTA. But if you like to go the hardcore way, here comes a tutorial:
fastboot flash systemless_boot.img
fastboot boot TWRP.img(so that you can use TWRP but you didn't actually flash it)
Flash systemless SuperSU
By doing so you can accept OTA at anytime.
Credits:
@Chainfire for the new root methods and SuperSU
@flar2 for wp_mod.ko and s2s_mod.ko
XDA:DevDB Information
Stock Sense 7 Marshmallow , ROM for the HTC One (M8)
Contributors
topjohnwu
ROM OS Version: 6.0.x Marshmallow
Version Information
Status: Stable
Created 2015-12-03
Last Updated 2015-12-03
Will this work on a CDMA device?
@topjohnwu nicework dude....
skinbis said:
Will this work on a CDMA device?
Click to expand...
Click to collapse
I'll take a look.
Sticky
Sent from my HTC6525LVW using Tapatalk
tell me the no red text will work on s-on?
i think both of this frimware not work on s-on
The suspension is almost as big as when MM first came out
Good work!
Where is the downloading link to the rom?
Edit:The rom is uploading....Sorry.
b-george said:
Good work!
Where is the downloading link to the rom?
Edit:The rom is uploading....Sorry.
Click to expand...
Click to collapse
Still uploading shouldn't take much longer about another half an hour or so.
topjohnwu said:
I'll take a look.
Click to expand...
Click to collapse
Thanks
Is it possible to flash on S-ON device?
It seems that the systemless boot isn't working as expected lol
Fixing
Edit: Fixed, everything is now uploading
Hi. Can i flash on 6 sense firmware ?
Wysłane z mojego HTC One M8 przy użyciu Tapatalka
Can u upload some pics ?
topjohnwu said:
It seems that the systemless boot isn't working as expected lol
Fixing
Edit: Fixed, everything is now uploading
Click to expand...
Click to collapse
Prepping my device in the meantime, thanks!
Any ETA on the upload?
topjohnwu said:
It seems that the systemless boot isn't working as expected lol
Fixing
Edit: Fixed, everything is now uploading
Click to expand...
Click to collapse
does the firmware provided here will wipe internal SD?
JEANRIVERA said:
does the firmware provided here will wipe internal SD?
Click to expand...
Click to collapse
Firmware updates never wipe that.
Zulake said:
Firmware updates never wipe that.
Click to expand...
Click to collapse
you are so wrong!!! there are firmware that does wipe internal SD that is the reason why asked
JEANRIVERA said:
you are so wrong!!! there are firmware that does wipe internal SD that is the reason why asked
Click to expand...
Click to collapse
Well I have never ever seen those, and I've been flashing ROM's since the HTC Desire HD.
Zulake said:
Well I have never ever seen those, and I've been flashing ROM's since the HTC Desire HD.
Click to expand...
Click to collapse
whats the procedure to flash a firmware please?

[ROM] [7.1.1] Google Pixel 2 Experience J320A/J320AZ/J320AG

This is an early release, but just like the other it's fully functional as a daily driver.
Note:
Still no root method for our device on Nougat
Features:
Pixel 2 emoji
Pixel 2 fonts
Pixel 2 wallpapers (live and still)
Pixel 2 sounds and notifications
Google Assistant
Google Lens
Unlimited Google photo storage (Pixel feature)
Round icons (uses apps native icons, not masks)
Daydreams enabled on battery power (screensaver can be used like always on display, until 15% battery)
360° rotation, everywhere
Power menu from sleep
All quick settings enabled (including mobile data toggle)
Hotspot activation bypass
System menu translated into every language
To do:
Lower the 15% screensaver limit
Add Pixel 2 logo and startup animation
Lockscreen background
Lockscreen default widgets (phone & camera)
What else do you want?
Bugs:
Selfie video doesn't record (prolly not fixable until we get an updated app)
Anything else?
Installation:
From 6.0.1:
Flash with Flashfire and do full wipe
From 7.1.1:
*Must use PC*
Method A
1. Unzip ROM.
2. Flash the included eng_root kernel with Odin.
3. Double click the included "Install.bat"
The script will wipe your data for you (and not touch the internal sd)
Method B
Use Odin to downgrade to 6.0.1 then flash zip with flashfire.
Download
I'll add more screenshots tomorrow
As of right now, even with the custom ROM, there is no root, correct?
I installed it, and every time I boot, I get a System UI has stopped error.
@NateDogg1232
Did you wipe?
... Correct no root yet, until we get a permissive kernel
DamienMc said:
@NateDogg1232
Did you wipe?
... Correct no root yet, until we get a permissive kernel
Click to expand...
Click to collapse
Yes, I did wipe.
I even did it again using the default recovery just to make sure.
More screenshots
Please, upload more screenshots, I would like to install this rom but I do not know if I really have any problems when using it, as it is in terms of speed, can it really be used now?
@RaghebAlama
Sorry I am having problems uploading more screenshots (used all my data this month)
I'll be sure to do it this evening when I'm on wifi.
I've been running this for a week now and haven't had any issues yet
But after the above comment you might want to grab full Odin updates as well, just in case you need to recover
@NateDogg1232
What method did you use to install?
What device do you have?
I would recommend going back to stock and giving it another try.
I apologise tho, I tried to get a few testers this time but never find any. It's hard to test every scenario with just one device
I used FlashFire from actually your first GPE ROM.
I have the J320A
I will reset from stock and try again as soon as I can and try again.
Whether it works or not, though. Thank you for your work on this phone
I bet that's it, I'm not sure I tried to install from v1.
Can't think of why it would fail except maybe if goodlock has files on your sd and this systemui is trying to use them... If you want to test that just pull your sd, because wipe already did your internal sd
I'll test it later this evening
[EDIT]
Nah wasn't that, it was a mistake by me. Two actually.
Testing a quick fix now. And I'll upload a full fixed Rom while I sleep
[/EDIT]
DamienMc said:
@RaghebAlama
Sorry I am having problems uploading more screenshots (used all my data this month)
I'll be sure to do it this evening when I'm on wifi.
try to explain in detail the installation process since 7.1.1 the eng_root does not detect it ODIN if it is not in .tar format, after installing the Eng_root, you have to start the normal cell phone and then the second.pass with the Install.bat ?
Click to expand...
Click to collapse
I fixed the systemui error and another popped up, sigh... ill let you know when it's fixed.
The only way to install this currently is from 7.1.1
@RaghebAlama
Eng_root is a tar. Flash it with Odin.
Your phone will stay on the logo the entire time.
Then just run the bat...The script waits for your phone, copies the required files, then it flashes the original kernel back and reboots.
easy peasy
... and it really does work installing this way
Sorry for the delay. Uploaded fixed version, OP updated
Alright, this looks AWESOME. Will try it when I get time. But about the root problem: I don't know if nobody's thought of this, or if I don't know something you do, but to get root for this, couldn't you add Magisk-14.zip (or another root method) to the queue in Flashfire, or include it in the install.bat? Flash the ROM then root, then reboot to system? I've tried to install Magisk before on stock Nougat with its new way of installing, which is flashing a boot.img that Magisk Manager patched, but Odin always failed on Operation: Write. I was going to go back to Marshmallow to try flashing a ROM and Magisk with Flashfire.
Hello. Can I get permission to make a version for j320fn/f/g
DJJosephJumper said:
Alright, this looks AWESOME. Will try it when I get time. But about the root problem: I don't know if nobody's thought of this, or if I don't know something you do, but to get root for this, couldn't you add Magisk-14.zip (or another root method) to the queue in Flashfire, or include it in the install.bat? Flash the ROM then root, then reboot to system? I've tried to install Magisk before on stock Nougat with its new way of installing, which is flashing a boot.img that Magisk Manager patched, but Odin always failed on Operation: Write. I was going to go back to Marshmallow to try flashing a ROM and Magisk with Flashfire.
Click to expand...
Click to collapse
Odin will not install a custom boot image on our device.
There are other ways to install the custom kernel, but our bootloader will not allow it to boot.
I can install SuperSU, but our selinux policy will not let the system load. The way I know it's rooted tho is that I can get a root shell thru adb, but that's useless since the system will not fully load... We need a new permissive boot image (engboot)
borksek said:
Hello. Can I get permission to make a version for j320fn/f/g
Click to expand...
Click to collapse
All yours bud
DamienMc said:
Odin will not install a custom boot image on our device.
There are other ways to install the custom kernel, but our bootloader will not allow it to boot.
I can install SuperSU, but our selinux policy will not let the system load. The way I know it's rooted tho is that I can get a root shell thru adb, but that's useless since the system will not fully load... We need a new permissive boot image (engboot)
Click to expand...
Click to collapse
Got it. Again, I was without the experience. Thanks for clearing it up.
Can i use this rom on my j320f
Does it work on the SM-J320m?
@aR_aNiK & @lithoy
Sorry guys, no.

Help requested with updating Custom ROM.

Hello,
I currently have the following:
Phone: OnePlus 3T A3003
Recovery: TWRP 3.1.1-x | blu_spark v37
Rom: RR-N-v5.8.3-20170603-oneplus3-official
I installed all of this after hours of googling last year. I now want to upgrade but I am not finding many helping guides are upgrading (rather than installing from scratch).
I downloaded RR-O-v6.1.0-20180627-oneplus3-official and tried to install it via TWRP (after backing up and wiping some stuff). But I got the an error stating something along the lines of "this rom is for oneplus3/t" and your device is "". Googling lead me to believe I needed to update my recovery. So I downloaded TWRP-3.2.2-0oneplus3.img but I really have no idea if I should be installing this? Last time I installed the blu_spark variant but I have no idea why.
Anyway, my question is:
Given the above, please could someone give me a laymans guide to updating my Custom ROM and which things I should install and in which order.
Thank you!
Glendog1 said:
Hello,
I currently have the following:
Phone: OnePlus 3T A3003
Recovery: TWRP 3.1.1-x | blu_spark v37
Rom: RR-N-v5.8.3-20170603-oneplus3-official
I installed all of this after hours of googling last year. I now want to upgrade but I am not finding many helping guides are upgrading (rather than installing from scratch).
I downloaded RR-O-v6.1.0-20180627-oneplus3-official and tried to install it via TWRP (after backing up and wiping some stuff). But I got the an error stating something along the lines of "this rom is for oneplus3/t" and your device is "". Googling lead me to believe I needed to update my recovery. So I downloaded TWRP-3.2.2-0oneplus3.img but I really have no idea if I should be installing this? Last time I installed the blu_spark variant but I have no idea why.
Anyway, my question is:
Given the above, please could someone give me a laymans guide to updating my Custom ROM and which things I should install and in which order.
Thank you!
Click to expand...
Click to collapse
Clean Flash:
1) Latest Official TWRP (Can be done from within old TWRP)
2) Reboot Recovery to new TWRP
3) Wipe
4) Latest Firmware (OB29)
5) ROM
6) OpenGapps Arm64 8.1 Nano or Pico
7) Root Optional
Don't forget to Nandroid first, and it might be a good idea to remove any security measures on your current setup too. (Fingerprint/Pin/Pattern)
Queue up the zips for Firmware/ROM/Gapps and flash in that order together.
Thank you,
Some follow up questions:
* What should I be wiping during step 3.
* Should I install TWRP 3.2.2, does it matter that I currently have the blu_spark variant? (I don't even know what blu_spark means)
* I am just reading about firmware. I am assuming I need OB29 to work with RR-O-v6.1.0-20180627-oneplus3-official? Is that a simple process?
Glendog1 said:
Thank you,
Some follow up questions:
* What should I be wiping during step 3.
* Should I install TWRP 3.2.2, does it matter that I currently have the blu_spark variant? (I don't even know what blu_spark means)
* I am just reading about firmware. I am assuming I need OB29 to work with RR-O-v6.1.0-20180627-oneplus3-official? Is that a simple process?
Click to expand...
Click to collapse
Just follow the steps. The TWRP you download will be an .img file. In the TWRP Install menu press the button for Image to flash the .img file.
For step 3, from the Wipe menu just swipe to wipe.
DirkGently said:
Just follow the steps. The TWRP you download will be an .img file. In the TWRP Install menu press the button for Image to flash the .img file.
For step 3, from the Wipe menu just swipe to wipe.
Click to expand...
Click to collapse
Thank you, final question. I note you advised to remove security. I changed from 'Pin' to 'None' and gave me a warning about removing it which I agreed to. It still states my phone is encrypted however, and I still need to enter my PIN when restarting. Will this be a problem?
Thank you,
Glendog1 said:
Thank you, final question. I note you advised to remove security. I changed from 'Pin' to 'None' and gave me a warning about removing it which I agreed to. It still states my phone is encrypted however, and I still need to enter my PIN when restarting. Will this be a problem?
Thank you,
Click to expand...
Click to collapse
I believe removing your stored fingerprints removes the boot PIN. Don't stress if you can't do this, it's just an additional precaution.
DirkGently said:
I believe removing your stored fingerprints removes the boot PIN. Don't stress if you can't do this, it's just an additional precaution.
Click to expand...
Click to collapse
Pin/password and fingerprints are two different things. Fingerprints are just a convenient method of authenticating. Removing them does nothing for the actual security with is pin/password.
The reason for removing the lock screen password before taking a backup is that if you install a new ROM and set a password and then restore your older backup, you can't get past the lock screen password. So, remove the password before taking the backup and then you can restore it later and set a new password.
I find the better option is to not remove the password and then, if you need to restore the backup after having changed passwords, you can delete the passwords of the restored backup in TWRP from Advanced>Terminal with these commands:
Code:
cd /data/system
rm -f gatekeeper.* locksettings.*
Changing the pin/password to none doesn't wipe out the on-boot password. However, when setting up a new password and selecting to not set an on-boot password will remove the current on-boot password for some users, but not for others (it doesn't for me).
Sent from my OnePlus 3T using XDA Labs
Thanks guys.
I followed your instructions @DirkGently and it worked a charm.
What you recommend for rooting the device and is as simple as flashing a zip file like above?
Also, is the recovery on a separate partition? So if I mess around flashing firmware/rom/apps and mess up, I'll always be able to boot into the recovery partition and flash again?
Thanks,
Glendog1 said:
What you recommend for rooting the device and is as simple as flashing a zip file like above?
Click to expand...
Click to collapse
Magisk
Glendog1 said:
Also, is the recovery on a separate partition? So if I mess around flashing firmware/rom/apps and mess up, I'll always be able to boot into the recovery partition and flash again?
Click to expand...
Click to collapse
Yes and yes, but firmware may be tricky and messing up too much may render phone unusable. Messing with ROMs is fine though.
Thanks for the reply.
I note that on the Magisk page it states:
"If you plan to flash a custom kernel, flash it AFTER installing Magisk"
I have already installed a custom rom, will this be an issue?
Sorry for so many question. I get really nervous about this stuff!
Glendog1 said:
I have already installed a custom rom, will this be an issue?
Click to expand...
Click to collapse
That's ok of you asking questions, that's what this forum is about.
You should have got no problems if you're running a kernel shipped with custom ROM. Custom kernel is like EX, Mady's Xtended, Franco and so on.
Glendog1 said:
Thanks for the reply.
I note that on the Magisk page it states:
"If you plan to flash a custom kernel, flash it AFTER installing Magisk"
I have already installed a custom rom, will this be an issue?
Sorry for so many question. I get really nervous about this stuff!
Click to expand...
Click to collapse
You don't need to worry about Kernel stuff. RR already includes Caesium Kernel. You chose a good ROM by the way!
Here's a little information about Firmware. The OP3 and OP3T have unified builds. This means that in some cases the same Custom ROM can be used on both. There is some device specific software though so this has to be separated out and treated as independent from the ROM. This is what we refer to as Firmware. When Oneplus release new builds they include the updated Firmware in their Official ROM. If you look at the Firmware thread i linked you to, you'll see that kamilmirza takes the Firmware from the Official OOS builds and makes them available as flashable .zip files that we can use on Custom ROMs. Bookmark his Thread for future use.
There is no need to stress about always being on the latest Firmware for your Custom ROM, just ensure it is the Firmware intended for your device. The version you flashed earlier will probably do you for a while. At the same time, if you do always want to be on the latest, there's no reason not to. There's little to be gained by it though. If you're following the RR thread you'll probably see people mention it when the ROM requires a new Firmware. Again, don't stress about it.
As far as flashing Firmware, you can do it any time. You can do it before flashing an updated build of your ROM, or on it's own in a separate visit to Recovery. It's not particular either way. I would stick with the Open Beta Firmware, which people usually abbreviate to OBXX, i.e OB29. Just remember what you flashed so that you know which version you are using.
Now that you're rocking your Custom ROM you're next questions will be about updating it. This can be done easily and safely by Dirty Flashing. I've done dozens of updated builds since my last clean flash and everything has gone perfectly every single time.
Dirty Flash:
1) Download new ROM build (and Firmware if applicable) to Internal Storage.
2) Boot into Recovery
3) Nandroid Backup
4) From Install Menu, flash Firmware (if applicable), and ROM.
5) Wipe Dalvik & Cache when prompted. (BillGoss will tell you it's not necessary. It doesn't hurt either way, so up to you!)
6) Reboot phone.
For a Dirty Flash, you do not need to use the 'Wipe' Menu at all.
I always take a new Nandroid before flashing an updated build. I will have had a whole week on the previous build so i know i'm not backing up a bug and the backup will be as recent as possible if a problem occurs. Once i boot back into the phone i delete the old Backup. The new one is there if i need it. Always have that one recent Backup, just in case. As i've said, RR is great and i'm yet to run into a problem with it. From now on you can Dirty Flash the updated weekly builds with little to worry about and with a Backup to fall back to if anything goes wrong.
I don't mention Magisk because i don't use it, and i don't advise others use it. Unless you need Root access for something specific, don't bother. Half the threads on XDA are about problems with Magisk. Avoid the added complication if you can. Now this statement will trigger the Magisk fans, but nobody has ever had a bug or failure with something that they did not flash in the first place. Keep it as simple as possible.

Categories

Resources