FORUMS
Remove All Ads from XDA

How to flash a custom rom in stock pie as base. tUtORIAL

347 posts
Thanks Meter: 130
 
By hugor671, Senior Member on 22nd December 2018, 11:57 PM
Post Reply Email Thread
How to flash a custom rom in stock pie as base,using adb sideload

The twrp still does not work well in android 9 just the adb sideload function in twrp's advanced options.


First make sure you have the bootloader unlocked.

Second put all the files need in adb past rom kernel magisk etc...

1-put the mobile phone in fastboot mode

2-Boot twrp through adb using the command bellow
fastboot boot TWRP-3.2.3-jasmine-20181201.img
donwload twrp https://t.me/XiaomiMiA1ClouD/810



3- Make format data and make all wipes in the 2 slots

4-now go twrp advanced option and turn on adb sideload


5-for example for flash last pixel rom gapps included you use this adb comand
adb sideload PixelExperience_jasmine-9.0-20181219-0813-OFFICIAL.zip


6-reboot to bootloader and boot twrp again


7- check slots in twrp if on a change to b


8- reboot to sys done !!!

note:
9- you can flash magisk using same method
adb sideload magisk.zip
The Following 9 Users Say Thank You to hugor671 For This Useful Post: [ View ] Gift hugor671 Ad-Free
24th December 2018, 07:27 PM |#2  
hugor671's Avatar
OP Senior Member
Flag Aveiro
Thanks Meter: 130
 
More
I will update the post for How to update a custom ROM after an update.


Sent from my Poco F1 beryllium using Tapatalk Pro
The Following 3 Users Say Thank You to hugor671 For This Useful Post: [ View ] Gift hugor671 Ad-Free
1st January 2019, 01:15 PM |#3  
Member
Thanks Meter: 1
 
More
"3- Make format data and make all wipes in the 2 slots"
What u mean by that 2 slots? should I have to go to twrp and format & wipe A partition then change to B then format & wipe? after 2 slots/2partitions again back to A then adb sideload on?
2nd January 2019, 11:30 AM |#4  
Senior Member
Flag banha
Thanks Meter: 27
 
More
Quote:
Originally Posted by hugor671

How to flash a custom rom in stock pie as base,using adb sideload


note:
9- you can flash magisk using same method
adb sideload magisk.zip

when do we do this step ?
3rd January 2019, 01:16 PM |#5  
hugor671's Avatar
OP Senior Member
Flag Aveiro
Thanks Meter: 130
 
More
Quote:
Originally Posted by xxqxpxx

when do we do this step ?

Yes
3rd January 2019, 01:17 PM |#6  
hugor671's Avatar
OP Senior Member
Flag Aveiro
Thanks Meter: 130
 
More
Quote:
Originally Posted by xxqxpxx

when do we do this step ?

After installing the gapps Or after booting once to rom and then back to twrp
12th January 2019, 08:22 AM |#7  
Senior Member
Thanks Meter: 71
 
More
When flashing magisk and hex by adb method, next we change slot like flashing the rom?

Flash magisk/hex/gapps by adb
Changing slot
Reboot

Like that?
15th January 2019, 12:14 PM |#8  
Junior Member
Thanks Meter: 0
 
More
Is it possible to install twrp if my phone is on Android 9 ?
If yes how to do it?

Thanks in avance
27th January 2019, 07:07 AM |#9  
Senior Member
Thanks Meter: 113
 
More
Quote:
Originally Posted by hugor671

How to flash a custom rom in stock pie as base,using adb sideload

Please make a tutorial on how to revert back to stock ROM.
The Following User Says Thank You to [email protected] For This Useful Post: [ View ] Gift [email protected] Ad-Free
28th January 2019, 02:26 AM |#10  
Member
Thanks Meter: 3
 
More
Quote:
Originally Posted by [email protected]

Please make a tutorial on how to revert back to stock ROM.

Yes I also want
The Following User Says Thank You to razahaider03 For This Useful Post: [ View ] Gift razahaider03 Ad-Free
28th January 2019, 11:35 AM |#11  
satti8893's Avatar
Senior Member
Flag Hyderabad
Thanks Meter: 43
 
More
Quote:
Originally Posted by razahaider03

Yes I also want

I think we can use Xiaomi MiFlashTool or extract the fastboot rom and install in bootloader using fastboot commands
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes