[OP6/T] Effortless ROM Flashing... - OnePlus 6 Guides, News, & Discussion

I created a script that'll ease Custom ROM installation on A/B devices. The script is generic and will work w/ any rom, device.
General flash instructions:
-Flash OxygenOS
-Flash your Custom ROM of choice
-Flash Finalize.zip
-Boot to System
Download finalize script from here
#######################################
For the intellectuals: This script copies firmware to both slots, clears dalvik-cache and deletes the useless India partition.
Hope this saved you guys some headache while flashing ROMs.

Good job
Sent from my OnePlus6 using XDA Labs

Links off

Link not found.

anhenrique said:
Links off
Click to expand...
Click to collapse
kaziupal said:
Link not found.
Click to expand...
Click to collapse
https://androidfilehost.com/?fid=4349826312261712574
New script in the OP, look there again

I used this same zip on my Motorola G7 Power device. It worked well and is no doubt a life saver. Does anyone know how this is different than finalize zip? I guess I could take a look inside both of them and try to determine what the differences are that way....

There's Finalize.zip I found and I think it is easier. Bacause all you have to do is flash the zip file after installing OOS and ROM with built-in TWRP, then format data and reboot to system. No reboot to recovery in between and save you time.

tiga016 said:
There's Finalize.zip I found and I think it is easier. Bacause all you have to do is flash the zip file after installing OOS and ROM with built-in TWRP, then format data and reboot to system. No reboot to recovery in between and save you time.
Click to expand...
Click to collapse
Link ?

lazye53 said:
Link ?
Click to expand...
Click to collapse
Finalize zip: https://androidfilehost.com/?fid=8889791610682890605
Finalize also deletes India partition.
Flash OOS, flash rom, flash finalize, format data, reboot system.
For some info on finalize see op on Pixen here: https://forum.xda-developers.com/on...ross-device-development/rom-pixen-os-t3969005
Edit

PokemonTotalWar said:
https://androidfilehost.com/?fid=4349826312261712574
Click to expand...
Click to collapse
Stahp

Prakyy said:
Stahp
Click to expand...
Click to collapse
Did you take it down for a reason? It's still accessible through Lineage's website, and people are asking for it. Ask a mod to lock your thread if you don't want any more posts on it, brother

anhenrique said:
Links off
Click to expand...
Click to collapse
Updated w/ AFH link

PokemonTotalWar said:
Did you take it down for a reason? It's still accessible through Lineage's website, and people are asking for it. Ask a mod to lock your thread if you don't want any more posts on it, brother
Click to expand...
Click to collapse
I said stop because you are posting incorrect file. Anyways, I also made a script called "Finalize.zip" which is the one I suggest people use and I've updated the thread to reflect the same.
Didn't check on XDA for a while cuz it wasn't on my mind, really.

Prakyy said:
I said stop because you are posting incorrect file. Anyways, I also made a script called "Finalize.zip" which is the one I suggest people use and I've updated the thread to reflect the same.
Didn't check on XDA for a while cuz it wasn't on my mind, really.
Click to expand...
Click to collapse
Ah, alright. Not trying to be rude, just didn't get the idea from your previous response. Now that Finalize is up on the main post, I'll go ahead and edit my comment to say so

flash713 said:
I used this same zip on my Motorola G7 Power device. It worked well and is no doubt a life saver. Does anyone know how this is different than finalize zip? I guess I could take a look inside both of them and try to determine what the differences are that way....
Click to expand...
Click to collapse
tiga016 said:
There's Finalize.zip I found and I think it is easier. Bacause all you have to do is flash the zip file after installing OOS and ROM with built-in TWRP, then format data and reboot to system. No reboot to recovery in between and save you time.
Click to expand...
Click to collapse
Yes I made the finalize thingy as well lol.
And PiXeN uses that in the official flash instructions so yeah, it works and is definitely the one I recommend you use.
Also, updated the OP.

Prakyy said:
I created a script that'll ease Custom ROM installation on A/B devices. The script is generic and will work w/ any rom, device.
General flash instructions:
-Flash OxygenOS
-Flash your Custom ROM of choice
-Flash Finalize.zip
-Boot to System
Download finalize script from here
#######################################
For the intellectuals: This script copies firmware to both slots, clears dalvik-cache and deletes the useless India partition.
Hope this saved you guys some headache while flashing ROMs.
Click to expand...
Click to collapse
Dude! This ist Genius! Thank you so swirling much!

Prakyy said:
Download finalize script from here
Click to expand...
Click to collapse
using this with no issue at all.
this is what XDA Developers was originally meant for.
thank you very much for this share!

Thank you so much for this. It has made all the flashing hassles much convenient. Works very well on the 6T. I have tried it on couple of different ROMs, no problems yet.

Thank u mister for created this zip fils and script inside in it :good:

Related

[ROM](Working Update.zip) -> Defy Update.zip Cookie Cutter Rom

Defy Froyo 3.4.2 Cookie Cutter Rom​
Q. How Do I use the Update.zip?
A. Go to Market & Download Defy SD-Recovery & Install..
1. Next place the Update.zip on the /sdcard via PC
2. Turn on MoTo Phone Portal ( SD-Recovery is SD Based so you need to Turn Off USB Mass Storage )
3. ADB Debugging does not have to be Turned Off on my version
Once Booted into the Recovery apply the update.zip
wait a few minutes & it should be done...
Please Reads the notes I left in the Update.zip if you build a Custom Update.zip, this will save you trouble down the road.
What's Flashed?
A. Boot.img
B. dev_tree
C. Moto Blur 3.4.2 Rom ( Yes I know it's not the latest, built off what I had )
D. UNO & TMO-TV Removed
E. Rooted ( SU & Superuser )
F. Busybox Installed to xbin
G. Rest of Rom is stock
Once installed, remove eugene.apk from /system/app ( Old boot strap that need adb turned off before rebooting / defy sd-recovery does not have this issue)
Q. I Edited the update.zip & Now it fails verf. in recovery when trying to flash!
A. example of signapk on signing the edited update
java -Xmx1024m -jar signapk.jar -w testkey.x509.pem testkey.pk8 update1.zip update.zip
Download: Original Post
To Update other parts of the Phone: Add this to the update-scripts for what you are flashing.
If we had all these Parts from 2.1 we could go back.
package_extract_file("lbl", "/tmp/lbl");
write_raw_image("/tmp/lbl","lbl");
delete("/tmp/lbl");
package_extract_file("device_tree.bin", "/tmp/device_tree.bin");
write_raw_image("/tmp/device_tree.bin","devtree");
delete("/tmp/device_tree.bin");
package_extract_file("cdrom", "/tmp/cdrom");
write_raw_image("/tmp/cdrom","cdrom");
delete("/tmp/cdrom");
package_extract_file("logo.bin", "/tmp/logo.bin");
write_raw_image("/tmp/logo.bin","logo.bin");
delete("/tmp/logo.bin");
package_extract_file("umts_wrigleyref_build.bin", "/tmp/umts_wrigleyref_build.bin");
write_raw_image("/tmp/umts_wrigleyref_build.bin","bpsw");
delete("/tmp/umts_wrigleyref_build.bin");
package_extract_file("cdt.bin", "/tmp/cdt.bin");
write_raw_image("/tmp/cdt.bin","cdt.bin");
delete("/tmp/cdt.bin");
Hey eugene,
Glad to see you working on Defy too
I think this will be major help for developers and btw that 3.4.2 version did you used? since there are many of them.
Thanks.
um. 107 I think since it has a floating update.zip someplace & sbf.
Ill update to the latest when I start building roms
Sent from my MB525 using XDA App
i don't understand. is the boot.img still the signed cg35.smg?
if so, can't we just use the cmw to do that?
can you post more detailed chages you made over cmw?
other than the signapk and usb debugging described.
many thanks.
eugene373 - great work!
racca said:
i don't understand. is the boot.img still the signed cg35.smg?
if so, can't we just use the cmw to do that?
can you post more detailed chages you made over cmw?
other than the signapk and usb debugging described.
many thanks.
Click to expand...
Click to collapse
Same here, i'm pretty interested in more details, thank you
this Zip File is for what ?
Thanks
Greetings
you can not use cwm due encryption. If you dont know what an update.zip is stick to nandroid...
This is for rom builders.
Heading out, when I get home ill make it clearer.
Though, now that I think about it cwm might be fine due to the nature of how it works.
Ill test later and let everyone know
Sent from my MB525 using XDA App
So we are able to install updates via the "normal" Motorola Recovery mode? So we are able to get a "unbrickable" Defy?
Edit: got it myself. The ZIP File won't be recognized by the motorola recovery... anyway thanks for your job
Now, what can SD-recovery do? Can it write other partitions, like cdt.bin?
Simplestas said:
Now, what can SD-recovery do? Can it write other partitions, like cdt.bin?
Click to expand...
Click to collapse
Yes. I can add the string if you would like
eugene373 said:
To Update other parts of the Phone: Add this to the update-scripts for what you are flashing.
package_extract_file("lbl", "/tmp/lbl");
write_raw_image("/tmp/lbl","lbl");
delete("/tmp/lbl");
package_extract_file("device_tree.bin", "/tmp/device_tree.bin");
write_raw_image("/tmp/device_tree.bin","devtree");
delete("/tmp/device_tree.bin");
package_extract_file("cdrom", "/tmp/cdrom");
write_raw_image("/tmp/cdrom","cdrom");
delete("/tmp/cdrom");
package_extract_file("logo.bin", "/tmp/logo.bin");
write_raw_image("/tmp/logo.bin","logo.bin");
delete("/tmp/logo.bin");
package_extract_file("umts_wrigleyref_build.bin", "/tmp/umts_wrigleyref_build.bin");
write_raw_image("/tmp/umts_wrigleyref_build.bin","bpsw");
delete("/tmp/umts_wrigleyref_build.bin");
package_extract_file("cdt.bin", "/tmp/cdt.bin");
write_raw_image("/tmp/cdt.bin","cdt.bin");
delete("/tmp/cdt.bin");
Click to expand...
Click to collapse
eugene373 said:
Yes. I can add the string if you would like
Click to expand...
Click to collapse
CwM can do exactly the same afaik, i've already made quite a few update.zip with it.
after reading all your notes, do you actually mean that we can't use format on those patitions?
if you do, well, i learned it the hard way, and delete_recursive also works for me.
thanks for putting up an excellent example if not for anything else, it's much needed.
racca said:
CwM can do exactly the same afaik, i've already made quite a few update.zip with it.
after reading all your notes, do you actually mean that we can't use format on those patitions?
if you do, well, i learned it the hard way, and delete_recursive also works for me.
thanks for putting up an excellent example if not for anything else, it's much needed.
Click to expand...
Click to collapse
Correct, you can only format with the stock recovery ( Hence the reason why I used the Stock Recovery ) any Partition with cwm recovery will cause a non-booting system..
regarding cwm I've not tested it, so Likely it will work.. Steven is still working on the cwm recovery & there is no point in me adding another cwm bootstrap recovery... Mine is just pure stock & works perfect.
I'm still weeding through the /bin /etc file's to find exactly what needs left...
but main goal was to provide an example of what is needed to make an update.zip with out breaking the system.
what exactly is the benefit of this new method?
drsouly said:
what exactly is the benefit of this new method?
Click to expand...
Click to collapse
um? Your joking right!
Update versus a nandroid, I would have thought it was a no brainier....
Build & edit roms on the fly + being able to flash boot.img & downgrading is fine without sbf unless you screw up completely..
eugene373 said:
um? Your joking right!
Update versus a nandroid, I would have thought it was a no brainier....
Build & edit roms on the fly + being able to flash boot.img & downgrading is fine without sbf unless you screw up completely..
Click to expand...
Click to collapse
ok now i got it thx
drsouly said:
ok now i got it thx
Click to expand...
Click to collapse
no problem, wasn't sure if you was being a smart-ass or honestly didn't know...
either way, sorry If I offended you.
~Eugene
I didn't understand yet . I can or not apply the update file using stock recovery?
EDIT: forget I understood now.
Sent from my MB525 using XDA App
psicodelico said:
I didn't understand yet . I can or not apply the update file using stock recovery?
Sent from my MB525 using XDA App
Click to expand...
Click to collapse
Read OP.... Download Defy SD-Recovery from Market
Yeah, I read again slowly and understood.
Sent from my MB525 using XDA App

Q[ROM][JB][Beta]JellyBelly-v5-Lagfree Edition-CM10 (unofficial)[Updated 1/6/13]

Is that a patch for the a2sd or do I need to find the zip from another thread
rah007 said:
Is that a patch for the a2sd or do I need to find the zip from another thread
Click to expand...
Click to collapse
No that is DarkTremor's apps2sd.zip in the OP, it should work on any 4.0+ ROM but I have only tested it on v5. Make sure you follow the instructions word for word.
bilgerryan said:
No that is DarkTremor's apps2sd.zip in the OP, it should work on any 4.0+ ROM but I have only tested it on v5. Make sure you follow the instructions word for word.
Click to expand...
Click to collapse
Ok, so I'm just flash on top as I would gapps
rah007 said:
Ok, so I'm just flash on top as I would gapps
Click to expand...
Click to collapse
No. Follow the instructions in the OP. Boot the ROM before you try to flash it.
Quick question about a2sd as I am setting up for first time. What type of ext should partition be for this ROM/kernel?
To partition your sc card, back up your sd card on your pc. (The process erases everything on it) After you have it backed up go into cwm recovery/advanced. Highlight partition sd card. Highlight 512m, enter. Then hight light 0m, enter. Cwm will do its thing then when its done its all ready to go. Theres no need to worry about 2, 3 or 4ext etc. When its done just put your stuff back on the sd card and thats it.
Could you change the name of this thread a little? It is really confusing when I get my email notifications.
bilgerryan said:
Could you change the name of this thread a little? It is really confusing when I get my email notifications.
Click to expand...
Click to collapse
How would u like it modified to help
rah007 said:
How would u like it modified to help
Click to expand...
Click to collapse
Just change the name... its exactly the same as the title of my thread... so when I get notifications I don't know which thread it is coming from. It doesn't matter what you change it to, just make it a little different. Even just adding the [Q] like your other thread would suffice

[ROM[S3][TEST] MIUI Port For One S C2

This is MIUI For the ONE S C2, It is based on bilal_liberty's CM10 Rom so expect similar performance and bugs. You will be running Android 4.1.2 With MIUI For Jelly Bean. It is currently not tested so make a full backup before you flash it, also do a logcat and post it if you can so we fix the issue if you have one.
Notice - This Rom has currently not been tested so use at your own risk, this is why it is labelled TEST.
Download - Soon
How To - To install this ROM just follow the usual way, Back up, Flash Rom, Clear Cache and everything and then boot.img.
V1.3 - Flashes, Boots but force closes and not stable, will release soon.
V1.2 - Re worked Port added, Not sure if issue has been fixed, you tell me.
V1.1 Test - Flashable .ZIP available but issues with flashing.
V1 Test - Launch
[removed]
clewis said:
Hmmm so there is already a miui rom....
But about my rom, i got an error on flash, it did start booting with the boot animation but got stuck.
Click to expand...
Click to collapse
use logcat to see whats going wrong
adb logcat > logcat.txt
http://forum.xda-developers.com/showthread.php?t=1726238 for more info
bilal_liberty said:
use logcat to see whats going wrong
adb logcat > logcat.txt
http://forum.xda-developers.com/showthread.php?t=1726238 for more info
Click to expand...
Click to collapse
I am doing a new build at this time i think i did something wrong the first time, so im going to add another unsigned file in a minute if you or someone else could make it a flashable zip and do a logcat when you do to save time would be good help, ill edit this page when it goes live on dropbox.
BTW this is how im trying to port it if anyone else wants a go - http://forum.xda-developers.com/showthread.php?t=1994503
For making flashable zip just select meta-inf folder system folder and boot.img and add them archieve, there is nothing extra to do.
bilal_liberty said:
For making flashable zip just select meta-inf folder system folder and boot.img and add them archieve, there is nothing extra to do.
Click to expand...
Click to collapse
Alright mate i have taken other one down and put a flashable zip on dropbox its going up now i can't try it myself as i dont have a usb cable that works to flash the boot.img so could someone else test it when it is uploaded.
clewis said:
Alright mate i have taken other one down and put a flashable zip on dropbox its going up now i can't try it myself as i dont have a usb cable that works to flash the boot.img so could someone else test it when it is uploaded.
Click to expand...
Click to collapse
Updated Flashable .Zip - https://www.dropbox.com/s/umsohpgmn1hh2z2/miui_unsigned.zip
Again use at your own risk, this has not been tested also everyone that does give it a try do a logcat so we can see if there is any problems.
Installation failed.
"set_perm: some changes failed"
"E:Error in /sdcard/miui_unsigned.zip"
work for old hboot??
DeanderDean said:
Installation failed.
"set_perm: some changes failed"
"E:Error in /sdcard/miui_unsigned.zip"
Click to expand...
Click to collapse
There is problem in updater script.try fixing permissions in updater script
u can use updater script from this to solve flash problems:
http://pan.baidu.com/share/link?shareid=341288&uk=4112589721 by jswei521
Great Work Man!!
Thanks for the port. I will test soon.
Sent from my HTC One S using xda app-developers app
bilal_liberty said:
u can use updater script from this to solve flash problems:
http://pan.baidu.com/share/link?shareid=341288&uk=4112589721 by jswei521
Click to expand...
Click to collapse
This rom from the above links works well, ive tried it.
Is old hboot 2.09 supported ?
can we flash this over 4.0.3 or do we need 4.0.4 as base ?
Paint in more detail information on ROM.
From what device port that was done, lay out screenshots, competently issue a post, write the detailed instruction. That works that doesn't work.
Thanks.
bilal_liberty said:
This rom from the above links works well, ive tried it.
Click to expand...
Click to collapse
Im getting an error?type=1 link when i go to that page, if you could attach the updater script so i could just switch them would be a big help.
Paint in more detail information on ROM.
From what device port that was done, lay out screenshots, competently issue a post, write the detailed instruction. That works that doesn't work.
Thanks.
Click to expand...
Click to collapse
Dont worry i will when i get it all up and running, its only a test version at this time. I have never made a ROM before and i have only published it this earlier because i need help in development which i am getting .
clewis said:
Im getting an error?type=1 link when i go to that page, if you could attach the updater script so i could just switch them would be a big help.
Dont worry i will when i get it all up and running, its only a test version at this time. I have never made a ROM before and i have only published it this earlier because i need help in development which i am getting .
Click to expand...
Click to collapse
Well, we wait for registration and the instruction, it will exclude many questions.
LeiManPRO said:
Well, we wait for registration and the instruction, it will exclude many questions.
Click to expand...
Click to collapse
I have registered and replied to a the original thread, got the download link and when i go to it i get an error, it's not there for me, if anyone has it please send the update script to me, i can't fix anything without that file.
clewis said:
Im getting an error?type=1 link when i go to that page, if you could attach the updater script so i could just switch them would be a big help.
Click to expand...
Click to collapse
Here u go best of luck
Edit: if you want some files from that rom here it is: http://www.mediafire.com/?mb04ljce767sd8m
bilal_liberty said:
Here u go best of luck
Edit: if you want some files from that rom here it is: http://www.mediafire.com/?mb04ljce767sd8m
Click to expand...
Click to collapse
Awesome mate, doing edits tonight will upload later.

What is happening with Open GApps?

Does anybody know why Open GApps still hasn't added support for the Pixel and Pixel XL?
After playing around with my new Pixel XL all day, I don't entirely see the problem stopping Open GApps from working. Can they not just tell the installer to install to /system/system on Pixel devices? I know one of the major issues is that there is no easy way to tell which slot to flash to, but I feel like if someone is flashing GApps, they are probably competent enough to switch slots in TWRP, and if they don't, it'll just install GApps to the other slot, which shouldn't hurt anything.
As a side note, does anyone know if it's possible to build an Open GApps package of our own that would flash to /system/system of the currently selected slot? BeansGapps aren't customizable and don't contain all of the apps I want.
admiralspeedy said:
I feel like if someone is flashing GApps, they are probably competent enough to switch slots in TWRP, and if they don't, it'll just install GApps to the other slot, which shouldn't hurt anything.
Click to expand...
Click to collapse
But it hurts ppls brains when they have to answer the question of "Why are my gapps not loading" kinds of questions people raise often because they dont like following directions.
Also, I'm not sure. I think there is a modified OpenGapps installer floating around the forum somewhere that can be used to install to Pixel. I thought I read a not to long back, but not 100%.
uodii said:
But it hurts ppls brains when they have to answer the question of "Why are my gapps not loading" kinds of questions people raise often because they dont like following directions.
Also, I'm not sure. I think there is a modified OpenGapps installer floating around the forum somewhere that can be used to install to Pixel. I thought I read a not to long back, but not 100%.
Click to expand...
Click to collapse
Well, I can not find it for the life of me if a modified version exists. I spent most of yesterday searching.
admiralspeedy said:
Well, I can not find it for the life of me if a modified version exists. I spent most of yesterday searching.
Click to expand...
Click to collapse
I cannot find any either, and I wish there was. I much prefer to be able to remove any kind of aosp and lineage app and replace it with Google's app. 1st world problem I know, but it bugs me that the aosp and lineage app is there on the rom of my choosing. I want an easy way to flash the Google apps and replace them in the system partition.
jkashuba07 said:
I cannot find any either, and I wish there was. I much prefer to be able to remove any kind of aosp and lineage app and replace it with Google's app. 1st world problem I know, but it bugs me that the aosp and lineage app is there on the rom of my choosing. I want an easy way to flash the Google apps and replace them in the system partition.
Click to expand...
Click to collapse
I actually figured out how to mod it myself and could give you a modified package if you want. I don't even use the flashable packages anymore because I started building my own copy of Lineage with a bunch of mods and Open GApps included and configured exactly how I want.
admiralspeedy said:
I actually figured out how to mod it myself and could give you a modified package if you want. I don't even use the flashable packages anymore because I started building my own copy of Lineage with a bunch of mods and Open GApps included and configured exactly how I want.
Click to expand...
Click to collapse
I also have the same problem, I want to install Dirty unicorns on my Pixel , but I hate ASOP apps, but I am. not able to install OpenGapps after flashing the ROM, in order to remove ASOP apps from that ROM. So I have to use Pure Nexus....
admiralspeedy said:
I actually figured out how to mod it myself and could give you a modified package if you want. I don't even use the flashable packages anymore because I started building my own copy of Lineage with a bunch of mods and Open GApps included and configured exactly how I want.
Click to expand...
Click to collapse
Wow, that be wonderful.
I basically want stock packages if possible. That replaces the aosp and lineage ones. If that's what you have or could give it would be much appreciated. If you have a guide or cheat sheet on how you did it, that would be ok too.
I have a Pixel XL Google Store Edition 128GB
jkashuba07 said:
Wow, that be wonderful.
I basically want stock packages if possible. That replaces the aosp and lineage ones. If that's what you have or could give it would be much appreciated. If you have a guide or cheat sheet on how you did it, that would be ok too.
I have a Pixel XL Google Store Edition 128GB
Click to expand...
Click to collapse
Give me like 15 minutes to do it an upload it and then it will work exactly like a normal Open GApps package and you can use a gapps-config.txt file to configure it exactly how you want.
admiralspeedy said:
Give me like 15 minutes to do it an upload it and then it will work exactly like a normal Open GApps package and you can use a gapps-config.txt file to configure it exactly how you want.
Click to expand...
Click to collapse
Thanks so much!
jkashuba07 said:
Thanks so much!
Click to expand...
Click to collapse
Ok, I modded it but it's taking a bit longer to upload than expected
admiralspeedy said:
Ok, I modded it but it's taking a bit longer to upload than expected
Click to expand...
Click to collapse
No worries
Here you guys go: https://mega.nz/#!4owiRa5a!j4hbQrGlK0Ugz6HoTn33kcKpkaauajKeMcXkzBVxz9g
It's the stock package and it will work on the Pixel and Pixel XL (and theoretically any other A/B device). You can use the standard gapps-config file to configure the installation. Also, it needs to be flashed on which ever slot the ROM is on, not the opposite like TWRP.
admiralspeedy said:
Here you guys go: https://mega.nz/#!4owiRa5a!j4hbQrGlK0Ugz6HoTn33kcKpkaauajKeMcXkzBVxz9g
It's the stock package and it will work on the Pixel and Pixel XL (and theoretically any other A/B device). You can use the standard gapps-config file to configure the installation. Also, it needs to be flashed on which ever slot the ROM is on, not the opposite like TWRP.
Click to expand...
Click to collapse
Thx. I am uploading it to my drive. I am currently using RR. Next time they update their rom, I'll do a clean install and let you know how I made out.
Thanks again!
admiralspeedy said:
Here you guys go: https://mega.nz/#!4owiRa5a!j4hbQrGlK0Ugz6HoTn33kcKpkaauajKeMcXkzBVxz9g
It's the stock package and it will work on the Pixel and Pixel XL (and theoretically any other A/B device). You can use the standard gapps-config file to configure the installation. Also, it needs to be flashed on which ever slot the ROM is on, not the opposite like TWRP.
Click to expand...
Click to collapse
Hi, was wondering if you could share how you modified the zip?
I downloaded a new aroma package and would like to be able not to bug you if I ever need a new one lol.
Glsoto said:
I also have the same problem, I want to install Dirty unicorns on my Pixel , but I hate ASOP apps, but I am. not able to install OpenGapps after flashing the ROM, in order to remove ASOP apps from that ROM. So I have to use Pure Nexus....
Click to expand...
Click to collapse
jkashuba07 said:
Thanks so much!
Click to expand...
Click to collapse
jkashuba07 said:
Wow, that be wonderful.
I basically want stock packages if possible. That replaces the aosp and lineage ones. If that's what you have or could give it would be much appreciated. If you have a guide or cheat sheet on how you did it, that would be ok too.
I have a Pixel XL Google Store Edition 128GB
Click to expand...
Click to collapse
jkashuba07 said:
Hi, was wondering if you could share how you modified the zip?
I downloaded a new aroma package and would like to be able not to bug you if I ever need a new one lol.
Click to expand...
Click to collapse
I've never modified the Aroma one but I assume it's similar. All you have to do is open the install script and replace "/system" with "/system/system", but you can't just replace all because there are several instances of "/data/system", where it would change to "/data/system/system" incorrectly (you could probably stop that with regex). Also, there were two lines with "/system" in regards to mounting that don't need to be changed (I don't remember the exact line numbers but you'll probably know as soon as you see them).
admiralspeedy said:
Well, I can not find it for the life of me if a modified version exists. I spent most of yesterday searching.
Click to expand...
Click to collapse
admiralspeedy said:
I've never modified the Aroma one but I assume it's similar. All you have to do is open the install script and replace "/system" with "/system/system", but you can't just replace all because there are several instances of "/data/system", where it would change to "/data/system/system" incorrectly (you could probably stop that with regex). Also, there were two lines with "/system" in regards to mounting that don't need to be changed (I don't remember the exact line numbers but you'll probably know as soon as you see them).
Click to expand...
Click to collapse
thanks, I actually found a super simple way while I waited for your reply, I assumed it was the installer file, so I tried just overwriting it with the one provided with your package and it worked lol.
jkashuba07 said:
thanks, I actually found a super simple way while I waited for your reply, I assumed it was the installer file, so I tried just overwriting it with the one provided with your package and it worked lol.
Click to expand...
Click to collapse
That will work so long as file names remain the same, but if they ever change the name of a file or add/remove an app it will probably break.
admiralspeedy said:
That will work so long as file names remain the same, but if they ever change the name of a file or add/remove an app it will probably break.
Click to expand...
Click to collapse
Ok thx, if that happens then I'll go your route with tweaking the file with /system/system
admiralspeedy said:
That will work so long as file names remain the same, but if they ever change the name of a file or add/remove an app it will probably break.
Click to expand...
Click to collapse
So,
I think Open-Gapps finally put support in for Pixel and all other A/B partition devices. I found this in the Installer.sh code for their latest (5-28-17) super package for ARM64
# Detect A/B partition layout https://source.android.com/devices/tech/ota/ab_updates
if [ -n "$(cat /proc/cmdline | grep slot_suffix)" ];
then
device_abpartition=true
SYSTEM=/system/system
else
device_abpartition=false
SYSTEM=/system
fi
That is something I could not find in the Installer.sh file you modified. Unless you took that out and manually changed system/system?
jkashuba07 said:
thanks, I actually found a super simple way while I waited for your reply, I assumed it was the installer file, so I tried just overwriting it with the one provided with your package and it worked lol.
Click to expand...
Click to collapse
jkashuba07 said:
So,
I think Open-Gapps finally put support in for Pixel and all other A/B partition devices. I found this in the Installer.sh code for their latest (5-28-17) super package for ARM64
# Detect A/B partition layout https://source.android.com/devices/tech/ota/ab_updates
if [ -n "$(cat /proc/cmdline | grep slot_suffix)" ];
then
device_abpartition=true
SYSTEM=/system/system
else
device_abpartition=false
SYSTEM=/system
fi
That is something I could not find in the Installer.sh file you modified. Unless you took that out and manually changed system/system?
Click to expand...
Click to collapse
Yes they did. I actually posted about it in the news/announcement forum when the devs told me they added it on their Gitter chat.

August Security Patch Rolling Out

[Global] Mi A2 Lite V11.0.10.0.QDLMIXM rolling out!

			
				
Wow. That's gotta be some kind of record for Xiaomi
Mine is only 13M though. Must be a tiny update.
Wow! First time ever that this Android One device is actually up to date security wise.
Yes, from July update only 13MB.
Maybe it was there before, but after updating I noticed a native screen recorder icon.
Updated: It is not native. I have a screen recorder app installed.
Direct share not yet available.
penahj said:
Maybe it was there before, but after updating I notice a native screen recorder icon
Click to expand...
Click to collapse
strange i dont have this one and never had screen recording option
Antho02 said:
strange i dont have this one and never had screen recording option
Click to expand...
Click to collapse
You are right. It's not a native app. I have a screen recordering app installed. Sorry for the wrong news.
Does someone know how to install an OTA Update without using the System Update App? It always says Installation Problem. Installation failed.
I'm rooted with magisk, that's the reason i guess.
I found the 13mb Update as a zip file, but it's not flashable via twrp... Any Suggestions?
Best regards
Alex
Alibabara said:
Does someone know how to install an OTA Update without using the System Update App? It always says Installation Problem. Installation failed.
I'm rooted with magisk, that's the reason i guess.
I found the 13mb Update as a zip file, but it's not flashable via twrp... Any Suggestions?
Best regards
Alex
Click to expand...
Click to collapse
+1 I am also looking for this
Alibabara said:
Does someone know how to install an OTA Update without using the System Update App? It always says Installation Problem. Installation failed.
I'm rooted with magisk, that's the reason i guess.
I found the 13mb Update as a zip file, but it's not flashable via twrp... Any Suggestions?
Best regards
Alex
Click to expand...
Click to collapse
with twrp/magisk i always do
1-xiaomiflash rom (keep user files)
2-boot and install twrp
3-boot and install magisk
no problem this way
Antho02 said:
with twrp/magisk i always do
1-xiaomiflash rom (keep user files)
2-boot and install twrp
3-boot and install magisk
no problem this way
Click to expand...
Click to collapse
So you Flash the whole Rom (~1.2gb) and not just the Update?
I would like to find a way to Flash just the Update since your method is taking too long for me...
Best regards
Alex
If you only have Magisk, the standard process should work for you.
https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952
If it's not working and you have somehow modified some other partition, it will be written to the logcat.
adb logcat | grep update_engine
My Problem is, even with magisk 'uninstalled' the Update App from xiaomi still says 'Installation failed: Installation Problem'
That even happens with totally Stock rom, no root and no twrp.
I dont know why. But is there any other way to Update manually without flashing the whole Big Rom file? Just the Update file...
There must be a reason why there is an update file in zip Format which is 13mb Big.
Best regards
Alex
Alibabara said:
My Problem is, even with magisk 'uninstalled' the Update App from xiaomi still says 'Installation failed: Installation Problem'
That even happens with totally Stock rom, no root and no twrp.
I dont know why. But is there any other way to Update manually without flashing the whole Big Rom file? Just the Update file...
There must be a reason why there is an update file in zip Format which is 13mb Big.
Best regards
Alex
Click to expand...
Click to collapse
Alex, You don't have to flash the whole big rom file, but you do have to download it though. You can get it from here: https://mirom.ezbox.idv.tw/en/phone/daisy/roms-global-stable/
You then have to extract the files that you need with payload_dumper which you get from here:
https://androidfilehost.com/?fid=818070582850510260
NB that is the Windows 64bit version so make sure that is the OS your pc is using.
You then have to find which partition it is that is causing the problem for which you have to use a1291762's advice:
Code:
adb logcat | grep update_engine
and read very carefully through the results because the offending entry will be difficult to spot amongst the dozens of others.
You then flash the partition mentioned in the logcat. For example if 'system' is mentioned in the logcat as having an incorrect hash (that is always the reason for the failures) you would have to extract 'system.img' with payload_dumper and run
Code:
fastboot flash system system.img
Then try the update again. If it works you will also probably have to reinstall Magisk from scratch again as flashing system will probably remove it.
Yes it is complicated - far too complicated, but the simple measure you call for - just flash an update file - has, to the best of my knowledge never been possible, so there must be some reason why that is so, but I don't know what it is.
Incidentally, the reason I am able to respond to this question is that I had a torrid time yesterday trying to update my A2 lite on which I had not one, but 3 errors. aboot hash incorrect, system hash incorrect, and before any of that the normal Magisk uninstall told me it had no images to restore and so had to be uninstalled completely. It took me hours and it wasn't that much fun.
Alibabara said:
There must be a reason why there is an update file in zip Format which is 13mb Big.
Click to expand...
Click to collapse
The update is only 13M because it contains only changes. But for that to work, your partitions must be unmodified.
The larger update zip has complete partitions so it can work even if you have changes. You may be able to do the recovery update method with that file...
The even larger fastboot image has every partition.
thanks everyone for the help!
I did it as you said viking777 and it worked.
It's sad, that for an 13mb update this procedure is necessary, but thats how it is..
So thanks again everyone for the help
Antho02 said:
with twrp/magisk i always do
1-xiaomiflash rom (keep user files)
2-boot and install twrp
3-boot and install magisk
no problem this way
Click to expand...
Click to collapse
Can I do this with out installing TWRP as I haven't installed it already.
Aadil Gillani said:
Can I do this with out installing TWRP as I haven't installed it already.
Click to expand...
Click to collapse
sure, even more quick if u dont need twrp
flash last rom with xiaomi flash (save user data selected)
then boot patched.img and install magisk, less than 10 mins and no need to worries about uninstall magisk or any mod before
Antho02 said:
sure, even more quick if u dont need twrp
flash last rom with xiaomi flash (save user data selected)
then boot patched.img and install magisk, less than 10 mins and no need to worries about uninstall magisk or any mod before
Click to expand...
Click to collapse
I have some questions it would be a be a pleasure if you could answer.
Q1 will the modules remain or not ?
Q2 how to make make patched boot img I mean should I make my self using Magisk Manager app
Q3 Also which TWRP do you use and if it has any problems
Q4 should I use zip file or tgz for mi flash

Categories

Resources