Can anyone post step-by-step instructions to flash LineageOS 13 on the MiPad? - Xiaomi Mi Pad Questions & Answers

I'm using TWRP 2.7.8 and these are the steps I followed:
- Wipe system, cache, data and dalvik
- Flash repartition script
- Flash LineageOS zip
- Reboot
After rebooting, it goes to MultiROM selection, and says it is booting Internal(I have removed all other roms) but then it reboots into TWRP again.
I'm unable to install it as an alternate rom in Multirom as well. It throws the error: 'E:Error executing updater binary in zip '/tmp/mr_update.zip'

Yes please someone ! This system partition thing isn't properly working. Stuck at mi logo.

Prequsites:
Download following files:
Repartition Script zip: https://mega.nz/#!645wGZIC!maidxLV7kRMcQTaUM-V6QvOJplL3nfrDWWXiZYhLyJ0
TWRP Multirom 2.8.4: https://mega.nz/#!644RyARI!6pXZVk16xS3vxFL52UxKwEEmcX_iQ8YEaAd37JHm5w4
TWRP 3.0.2.0: https://dl.twrp.me/mocha/
Place all the files on the device.
Step 1: In your current TWRP: Wipe -> Advanced Wipe: Tick Dalvik/art, System, Cache and Data -> Swipe to wipe
Step 2: Reboot into Recovery
Step 3: Install TWRP Multirom 2.8.4 and reboot to Recovery
Step 4: Once rebooted go to Install and select the Repartition Script zip the device will reboot into Recovery
Step 5: Back in Recovery go to Wipe -> Advanced Wipe Tick System an click Repair or Change File System. The size is now 0MB -> press "Resize File System" and it should be Size: 1235MB
Step 6: Go to Install and select the "Image" Button in the lower right corner and select TWRP 3.0.2.0 mocha, select Recovery and Swipe to flash. Reboot Device into Recovery. It asks you there is no OS installed confirm that with Swipe after that it asks if you want to install SuperSU.... click on DONT INSTALL
Step 7: You should be now in TWRP 3.0.2.0 now go to install flash Lineage OS, Gapps and SuperSU it should work.

Multirom
Does anyone succeed on dual boot with Miui Smoke, i wanna make Lineage OS as secondary ROM since camera not working yet..

Legacyleader said:
Step 1: In your current TWRP: Wipe -> Advanced Wipe: Tick Dalvik/art, System, Cache and Data -> Swipe to wipe
Step 2: Reboot into Recovery
Step 3: Install TWRP Multirom 2.8.4 and reboot to Recovery
Step 4: Once rebooted go to Install and select the Repartition Script zip the device will reboot into Recovery
Step 5: Back in Recovery go to Wipe -> Advanced Wipe Tick System an click Repair or Change File System. The size is now 0MB -> press "Resize File System" and it should be Size: 1235MB
Step 6: Go to Install and select the "Image" Button in the lower right corner and select TWRP 3.0.2.0 mocha, select Recovery and Swipe to flash. Reboot Device into Recovery. It asks you there is no OS installed confirm that with Swipe after that it asks if you want to install SuperSU.... click on DONT INSTALL
Step 7: You should be now in TWRP 3.0.2.0 now go to install flash Lineage OS, Gapps and SuperSU it should work.
Click to expand...
Click to collapse
Thank you so much! This worked like a charm. Now I've got it up and running, but I've got a problem. Google Play Books doesn't display any text in any book I open. It just shows blank pages. I've vaguely understood that this is some problem with the webview, but how do I fix it?

Encountered very weird issue when trying to install roms
Hi guys, I'm currently on 'Resurrection Remix M - v5.7.4' after trying to install 'LineageOS 13' which hung during installation on "Patching system image unconditionally" . I've also manged to install 'AOSiP KANG 5.5 - 7.1.1'; once. After managing to install it, I tried to install 'Lineage OS 13' again, but it still fails at the same spot. Now every time I try to install 'AOSiP KANG 5.5 - 7.1.1' in hangs on "flashing AOSiP" . So, I then tried 'Resurrection Remix M - v5.7.4', it worked and now I think I'm stuck on Remix. I'd like to install "LineageOS 13" as the new FoxyKernel only works on 'Lineage OS 13'. I've already merged the partitions and have been able to return to stock rom through the use of the miflash tool and fastboot. I've already tried flashing 'LineageOS 13 and 14' using 'twrp2.8.4 and 3.0.2' but both have failed I've also tried using 'CWM 6.0.5' but that failed as well. I've always wiped everything except the sdcard and usb when trying to install a new rom. Can someone please help me install 'Lineage OS 13' ?
#Note, after I failed each install I always returned back to stock and redid everything again.
~Update 6/3/17
I've just tried to install 'lineage OS 13.0 ' again and it failed yet again, now it seems that I can't reinstall 'Resurrection Remix M - v5.7.4' it hangs yet again on patching system unconditionally, which it did not the first time round. Furthermore, the back up I made previously of Resurrection Remix M - v5.7.4, fails to install and fails on "extractTarFork() process ended with ERROR: 255". Can some one please me.
~Update 7/3/17
Managed to install the new 'lineage OS 14.0'; screwed up the install, by installing 'foxykernel' before booting. Caused system to be stuck on lineage boot animation.... should have read the thread before attempting to install and as usual rom refuses to install again. Stuck at "Patching system image unconditionally". Managed to install 'AospExtended ROM V3.1' but system hung on 'verifying network configuration' and "Just a Sec..." screen; WiFi for other devices were ok no issues. Left it on for over 10 hours no change. Wiped dalvik/art cache and cache tried again but no such luck. Wiped data, but also no luck.
#Note, by this time I've given up on returning to stock, as it did absolutely nothing .
~Update 8/3/17
Managed to flash the new 'lineageOS13.0', wiped dalvik and cache, installed Gapps but system stuck on Mi logo on boot. Managed to install 'RR-N-v5.8.2-20170306' boots up fine... tried to install 'Foxy kernel 1.5.rc2'... wiped cache. Now stuck in boot loop... :Facepalm: should have read the instructions first... forgot to back up boot. :Facepalm:. Will have to wait for MM version of the rom or newer version. Tried 'AOSiP-5.5-KANG-mocha-20170306' for some reason it got stuck on boot loop, only shows mi logo.
~Update 19/3/17
Managed to flash the new 'lineageOS14.0[2017-03-12]' , installed 'Opengapps pico 20170314' found out that in order to be stable need to factory reset, then install Gapps, so that when first boot, account set up shows. Installed 'Foxy kernel 2.0.8', now antutu score "80000" ... found out that the backup for boot works. Installed TWRP 3.1.0 , but still cannot install a ROM more than once. All in all 'lineageOS14.0[2017-03-12]' very smooth now that Gapps stopped crashing.

Related

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

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

[honor 5x-kiwi]Consequent Bootloop after installing any Custom ROM

Hey there I cannot install any Custom ROM on my honor 5x(kiwi)Everytime I install any custom ROM, be it cyanogenmod, xenonHD or resurrection remix. I follow the exact same steps posted everywhere.
Here are the steps I followed(using TWRP):
put both gApps and ROM file on Sd card
boot into recovery mode
select wipe>advanced wipe> selected(Dalvik/Art Cache+cache+data+system+(tried wiping internal storage once too)
swipe to wipe
go on home
select install select Custom ROM +(selected gApps once with ROM zip and once separately)
swipe to confirm flash> clear dalvik/cache
reboot system
Phone goes into bootloop everytime
tries going into recovery again>wipe>advanced wipe>select dalvik/ART cache+cache
swipe to wipe
reboot
phone is still in bootloop no matter how much time I leave it.
PLease help I'm stuck
I'm getting the same problem as well. My device is a Honor 5X KIW-CL00
I've installed TWRP & lineage-14.1-20170415-Strick-kiwi.zip, wiped Dalvik/Cache/Data, but still stuck in bootloop. It's the same situation if I try and flash CM13 or any other custom rom. Please help.

Problem installing GAPPS on RR 7.1.2...

Sorry guys, help need here... installed RR 7.1.2 on GT-I9100 but failed to install Gapps... here are my steps...
1. Repartition via Odin - pit file - I9100_1.5GB-System_6GB-Data_32MB-Preload_by-the.gangster.pit - successful;
2. Flash CWM -Kitkat Compatible i9100 via Odin - successful;
3. Copy (a) RR-N-v5.8.4-20170813-i9100-Official and (b) gapps - open_gapps-arm-7.1-mini-20170910 to SD card;
4. Reboot to CWM, wipe partition, cache, dalvick cache, format system partion, flash (a) - successful;
here is the uncertain ways to flash gapps, but i try both ways, all failed.
5a. Right after flashing (a), straight away flash (b), successful, reboot but stuck at boot animation,
5b. After flashing (a), reboot and set up - successful, set Developer option, reboot to CWM to flash (b), error message e:\failed to find / misc partition.
The rom successfully installed and running, but unable to flash gapps.
Any comment? Thanks in advance!
I would suggest starting again this time install TWRP v3.1.0.0 recovery instead of CWM. You will need a compatible kernel. See djibe's guide in help section.
https://forum.xda-developers.com/galaxy-s2/help/guide-tutorial-samsung-galaxy-s2-i9100-t3538601

I have messed up my Kenzo pretty bad and now i dont have any recovery or fastboot.

So i was happy using a kenzo with unlocked (unofficially) bootloader.
i had followed this guidehttps://forum.xda-developers.com/redmi-note-3/how-to/unlock-unofficially-install-zcx-twrp-t3586778
So i had not rooted the device but just unlocked to use lineage os 14.1
i wanted to record internal audio and so tried to root with magisk. i took a backup using TWRP ZCX on an OTG USB.
successful!
now i installed iFont and installed a font.
this font made some problem in my status bar. there was some extra space above the clock, battery and all.
so whenever an app issued a notification, it crashed. even the system crashed continously.
so i decided to restore my backup.
i wiped my existing data in twrp
but the back up was successfully restored and upon system boot i saw "unsuccessful decryption." upon clicking restart, my phone would flash the TWRP ZCX logo and restart itself landing me again on "unsuccessful decryption."
so i went back to recovery and saw that could not mount /data.
so i did this:
My solution is simples. but you will LOSE EVERY FILE on userdata.
Step 1: Install TWRP
Step 2: Go to Wipe box
Step 3: Select Advanced Wipe
Step 4: Check "DATA" and tap on "Repair or Change File System".
Step 5: Tap Change File System
Step 6: See original format on file system (In my S6 is EXT4). So turn to other and switch back to original
Now /data is mounted back.
from https://forums.androidcentral.com/t...y-e-failed-mount-data-invalid-argument-2.html
It helped and i could mount /data
but then upon another restore i saw the same "unsuccessful decryption."
i read somewhere that a format will wipe all encryption and i thought it might help.
i formatted all the boxes (including data, internal storage and system)
then did a system restart from TWRP
now im stuck with mi logo and i am unable to enter fastboot and recovery.
HELP ME!
h8ed1 said:
So i was happy using a kenzo with unlocked (unofficially) bootloader.
i had followed this guidehttps://forum.xda-developers.com/redmi-note-3/how-to/unlock-unofficially-install-zcx-twrp-t3586778
So i had not rooted the device but just unlocked to use lineage os 14.1
i wanted to record internal audio and so tried to root with magisk. i took a backup using TWRP ZCX on an OTG USB.
successful!
now i installed iFont and installed a font.
this font made some problem in my status bar. there was some extra space above the clock, battery and all.
so whenever an app issued a notification, it crashed. even the system crashed continously.
so i decided to restore my backup.
i wiped my existing data in twrp
but the back up was successfully restored and upon system boot i saw "unsuccessful decryption." upon clicking restart, my phone would flash the TWRP ZCX logo and restart itself landing me again on "unsuccessful decryption."
so i went back to recovery and saw that could not mount /data.
so i did this:
My solution is simples. but you will LOSE EVERY FILE on userdata.
Step 1: Install TWRP
Step 2: Go to Wipe box
Step 3: Select Advanced Wipe
Step 4: Check "DATA" and tap on "Repair or Change File System".
Step 5: Tap Change File System
Step 6: See original format on file system (In my S6 is EXT4). So turn to other and switch back to original
Now /data is mounted back.
from https://forums.androidcentral.com/t...y-e-failed-mount-data-invalid-argument-2.html
It helped and i could mount /data
but then upon another restore i saw the same "unsuccessful decryption."
i read somewhere that a format will wipe all encryption and i thought it might help.
i formatted all the boxes (including data, internal storage and system)
then did a system restart from TWRP
now im stuck with mi logo and i am unable to enter fastboot and recovery.
HELP ME!
Click to expand...
Click to collapse
Don't go to advanced wipe. Selecting parttions doesnt format it. It only wipes.
Wipe and format are 2 diiffrent commands.
There is an option called format data in twrp. Click format data and type " yes " to format data. It will decrypt the data and internal storage.
First format data (must do)
Then wipe data reset
Flash rom
Flash gapps
Reboot
naik2902 said:
Don't go to advanced wipe. Selecting parttions doesnt format it. It only wipes.
Wipe and format are 2 diiffrent commands.
There is an option called format data in twrp. Click format data and type " yes " to format data. It will decrypt the data and internal storage.
First format data (must do)
Then wipe data reset
Flash rom
Flash gapps
Reboot
Click to expand...
Click to collapse
But i cant go to recovery or fastboot!
so im stuck with MI logo!
h8ed1 said:
But i cant go to recovery or fastboot!
so im stuck with MI logo!
Click to expand...
Click to collapse
Fastboot mode
press volume down + power
release the both button immediatelely with the vibration.
Get to FastBoot
Now use the following commands.
" fastboot format system "
" fastboot format userdata "
" fastboot erase recovery " (optional)
Now...
Install TWRP & Flash Stock Rom.
naik2902 said:
Fastboot mode
press volume down + power
release the both button immediatelely with the vibration.
Click to expand...
Click to collapse
Thanks i have successfully installed TWRP ZCX.
now how should i flash lineage?
Should i follow my same method i used the first time?
h8ed1 said:
Thanks i have successfully installed TWRP ZCX.
now how should i flash lineage?
Should i follow my same method i used the first time?
Click to expand...
Click to collapse
I dont know zcx is updated or not
Install latest twrp 3.2.3 coz of some bug fixes for oreo.
I prefer aosp extended official oreo
First Format data must do to decrypt
Then Wipe data reset
Flash rom
Flash latest august open gapps pico or nano
Reboot
Sent from my kenzo using XDA Labs

pocof1 rom flashing.

steps i need to follow for flashing rom
1. wipe (delvik, cache, system, data)
2. install rom (after flashing a message appears 'No OS installed)
3. then i press home button, and reboot to recovery.
4. Again install rom (this time without wiping any thing)
5. finally gets new rom.
why m not able to flash rom directly after wiping cache etc.
i have to always flash the rom two times (step 4) to install.
where i am getting it wrong?? help please
previously I was using Pixel experience Rom (decrypted)
edit solution: the issue was because of using older version of TWRP. hence solved.
your issue might be because of system partition not getting mounted properly after the wipe. Hence After wiping, reboot to recovery then flash rom.

Categories

Resources