[GUIDE] [VIDEO] Properly Install Custom ROMs on Mi A1 !! - Xiaomi Mi A1 Guides, News, & Discussion

I've seen lot's of folks getting messed up while flashing ROMs on the Mi A1, probably because of the A/B partitioning system (maybe) so, I've made a video on how to flash custom ROMs on Mi A1!! You can watch it here! :good:
Direct Link:https://youtu.be/Ufdn8ql5Lso
​

Thank you!
Works fine if you have TWRP already installed ...
But coming from Stock there is no TWRP.
Maybe you can add the missing parts (unlock bootloader, install TWRP ...)

good day.
I think i need a little help. I tried to Install 4 different ROMs (Resurrection remix, dotOS, Aospextended, BootleggersROM) through the methods described here.
i always get the following error message.
Skiping digest check:no digest file found
step1/2
error applying update: 7 (errorcode::kInstallDeviceOpenError)
Updater proceess enden with ERROR: 1
Error Installinga zip file '/sdcardTWRP/ROMs/AospExtended-v5.3-tissot-2018-0325-0858-OFFICIAL.zip'
updating partition details...
...done
I do know what to do, I cant find any information about the error on the web.
can you please help me?

Related

[Q]CM10.1 install error "Can't partition unsafe device" "Can't format unknown volum

[Q]CM10.1 install error "Can't partition unsafe device" "Can't format unknown volum
Noob here. Trying to install CM 10.1.3 on a Samsung Galaxy Tab 2 10.1 (SGH-i497). Originally had the Status 7 error, and I have already removed the "assert" code, but I still have this problem:
log:
Code:
--Installing: /sdcard/cm-10.1.3-p5100.zip
Finding update package...
I: Update location: /sdcard/cm-10.1.3-p5100.zip
Opening update package...
Installing update...
Installation aborted...
I: Can't partition unsafe device: /dev//block/mmcblk1p1
I: Can't format unknown volume: /external-sd
I: Can't format unknown volume: /emmc
I have tried several TWRP and CWM version with both ODIN and Heimdall, but none were able to boot. The ONLY recovery I have successfully booted on my device came from this awesome person: http://forum.xda-developers.com/showthread.php?t=2101044
It's is a CWM-based Recovery v6.0.1.2. I can't post in their thread because I have noob status :silly:
EDIT: I've also tried other versions of CM 10.1 for the p5110, and get the same error.
I have searched far and wide, and have not found any solutions to this install error, especially pertaining to my device and the version of CM I want to use. Can anyone help me??
I'm fairly certain this has to do with the custom CWM recovery being unsuited for the installation, but the dev claims othewise (http://forum.xda-developers.com/showpost.php?p=39911421&postcount=92).
What really confuses me is that not ONE recovery from any other publisher will boot on my device, even though I've successfully rooted.
Any suggestions?
What a mess
So in an effort untangle all the variables in this nearly 12-hour project, I realized that the SGH-i497 from AT&T (what I have) is maybe NOT THE SAME as the p51xx series of tablets. They appear nearly identical, but someone with more experience would probably be able to figure out what distinguishes them.
In conclusion, the reason no recoveries work besides childofthehorn's is because hers is the only existing one for this device! (Besides stock obv)
Thus the CM versions for p51xx wouldn't be compatible, hence the original error. But I'm going to attempt the p5113 nightly, and failing that stick with stock.
UPDATE: Error mentioned in OP persists with all versions of CM for the Samsung Galaxy Tab 2 10.1 (p51xx). Still no successful installation. Concluding that SGH-i497 is unsupported entirely by Cyanogenmod, unless anyone has experienced otherwise.

[Q&A] [ROM] [5.0.2] [NIGHTLY] CyanogenMod 12 for Nexus 5

Q&A for [ROM] [5.0.2] [NIGHTLY] CyanogenMod 12 for Nexus 5
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [ROM] [5.0.2] [NIGHTLY] CyanogenMod 12 for Nexus 5. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
ramon
Any bugs?
RamonEdnei said:
Any bugs?
Click to expand...
Click to collapse
One or two.
zagorteney said:
One or two.
Click to expand...
Click to collapse
Even With 5.0.2 i am still having old issue of streaming music in the car. The audio still skips. Any suggestion for that ? Expect that Cm12 5.0.2 is running smother than before.
Like entering a rainforest!
galaxys said:
Like entering a rainforest!
Click to expand...
Click to collapse
Its scary yet the thrill and dopamine rush is like nothing else...:laugh::laugh:
I can't flash the zip on my friend's nexus. He's on TWRP 2.8.5.2
Anyone have any ideas?
A bit from the log underneath.
Installing '/sdcard/Download/cm-12-20150304-NIGHTLY-hammerhead.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Verifying zip signature...
I:read key e=3 hash=20
I:1 key(s) loaded from /res/keys
I:comment is 1738 bytes; signature 1720 bytes from end
I:whole-file signature verified against RSA key 0
Zip signature verified successfully.
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
script aborted: This package supports bootloader(s): HHZ12d; this device has bootloader HHZ11k.
This package supports bootloader(s): HHZ12d; this device has bootloader HHZ11k.
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/Download/cm-12-20150304-NIGHTLY-hammerhead.zip'
Error flashing zip '/sdcard/Download/cm-12-20150304-NIGHTLY-hammerhead.zip'
Updating partition details...
bomzje said:
I can't flash the zip on my friend's nexus. He's on TWRP 2.8.5.2
Anyone have any ideas?
A bit from the log underneath.
Installing '/sdcard/Download/cm-12-20150304-NIGHTLY-hammerhead.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
Verifying zip signature...
I:read key e=3 hash=20
I:1 key(s) loaded from /res/keys
I:comment is 1738 bytes; signature 1720 bytes from end
I:whole-file signature verified against RSA key 0
Zip signature verified successfully.
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
script aborted: This package supports bootloader(s): HHZ12d; this device has bootloader HHZ11k.
This package supports bootloader(s): HHZ12d; this device has bootloader HHZ11k.
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/Download/cm-12-20150304-NIGHTLY-hammerhead.zip'
Error flashing zip '/sdcard/Download/cm-12-20150304-NIGHTLY-hammerhead.zip'
Updating partition details...
Click to expand...
Click to collapse
Upgrade your bootloader to HHZ12d.
Primokorn said:
Upgrade your bootloader to HHZ12d.
Click to expand...
Click to collapse
Thanks man, that was it.
Looking over the log again, I guess I should've seen that.
Thanks nonetheless
Any other has real problem with performance and stability? I get really hogging experience sometimes like all ram is used and device is struggling to do anything ... Known memory leak or something?
My autorotation also seems to disable itself sometimes and my WIFI keeps disconnecting from time to time..
How can i disable speed indicators on data icons in status bar? Like stock?
Sent from my Nexus 5 using XDA Free mobile app
Can you update using CM updater?
I can't, every time I update, it does reboot, but the version of the rom is the same. I have to manually install downloaded zip using recovery.
biowep said:
Can you update using CM updater?
I can't, every time I update, it does reboot, but the version of the rom is the same. I have to manually install downloaded zip using recovery.
Click to expand...
Click to collapse
With CM recovery?
Primokorn said:
With CM recovery?
Click to expand...
Click to collapse
clockworkmod recovery, yes
biowep said:
clockworkmod recovery, yes
Click to expand...
Click to collapse
CWM is not the same. CM Recovery is the new recovery developed by Cyanogen.
More details: http://forum.xda-developers.com/google-nexus-5/general/recovery-cyanogen-recovery-nexus-5-t3042595
Primokorn said:
CWM is not the same. CM Recovery is the new recovery developed by Cyanogen.
More details: http://forum.xda-developers.com/google-nexus-5/general/recovery-cyanogen-recovery-nexus-5-t3042595
Click to expand...
Click to collapse
It works with CM recovery and also with TWRP. Is CM12 no more compatible with CWM or there is just a problem with my device?
On their wiki page the CWM recovery is still the reccomended one: http://wiki.cyanogenmod.org/w/Install_CM_for_hammerhead
biowep said:
It works with CM recovery and also with TWRP. Is CM12 no more compatible with CWM or there is just a problem with my device?
On their wiki page the CWM recovery is still the reccomended one: http://wiki.cyanogenmod.org/w/Install_CM_for_hammerhead
Click to expand...
Click to collapse
CWM is outdated since Jelly Bean and this wiki page too
TWRP remains the more powerful and updated recovery for Android.
Sounds are very low with the last update. Notifications, messaging and charging sound, very very low. Nightly 10/02
I can not install CM12 after upgrading to 5.1 ???
Please help me?
Sent from my Nexus 5 using XDA mobile app
datagubben said:
I can not install CM12 after upgrading to 5.1
Please help me?
Sent from my Nexus 5 using XDA mobile app
Click to expand...
Click to collapse
Give more details... Maybe it's caused by the new bootloader.

[TWRP][ONEPLUS X] Update for encryption

Hello everyone !
I am new to the world of Android (former Windows Phone user) and begin to explore the ins and outs of this marvelous device
I got a OnePlus X recently and decided to root it.
I Installed TWRP for recovery 2.8.7.0 [1] and installed SuperSU and it worked like a charm.
I then crypted the device and began to have fun w/ it !
Now, the new version of OxygenOS (2.1.3 with SD Card support!) is out and I would like to upgrade my phone. But My instance of TWRP does not support encryption[2]. TWRP (j50036 indeed) released a patch for it but it is not yet implemented for OnePlus X obviously.
Code:
~ # twrp decrypt 002932839239230
Attempting to decrypt data partition via command line.
E:No crypto support was compiled into this build.
I tried to install it through ADB side load without success, and via TWRP without data.
Code:
~ # twrp install /external_sd/uc.zip
E:Unable to mount '/data'
command is: 'decrypt' and there is no value
E:No password provided.
Done processing script file
Can someone explain me how to upgrade my firmware ? Or is it possible to rebuild TWRP for OnePlus X ? I don't have enough posts to get into these dev topics...
Thank you !
[1]: http://forum.xda-developers.com/one...ry-twrp-2-8-7-0-touch-recovery-t3252840/page1
[2] : http://forum.xda-developers.com/shi...recovery-twrp-2-8-7-0-touch-recovery-t3257172

nethunter error E:not enough free space on /system

I'm on stock oos 10.3.11(Rooted and have twrp 3.5.2). Today I decided to install nethunter 2021.2 on my device.
since my last try with 2021.1 was a failure Installation was complete and finished but was stuck with bootloop last time.
But this time, I stuck on installation itself. I'm getting not enough free space on /system error during the installation.
I googled for like 2 hours and found only one article about this issue but that article was about lineage os.
solution from that article is moving pre-installed apps from ‘/system/app/’ to ‘/sdcard/Documents/’ temporarily.
So i tried to move some pre installed apps using the command it provided but it's not working and little bit out dated it seems. so i tried the help function in terminal but i don't know which options i should be using in order to do that operation. I don't want to brick my device. So, if anyone know how to fix this issue, please help me out here.
nethunter dl link: https://images.kali.org/nethunter/nethunter-2021.2-oneplus6-oos-ten-kalifs-full.zip
solution for lineage os link: https://www.zerodaysnoop.com/how-to/how-to-install-nethunter-lite-part-2/
Amudhan501 said:
I'm on stock oos 10.3.11(Rooted and have twrp 3.5.2). Today I decided to install nethunter 2021.2 on my device.
since my last try with 2021.1 was a failure Installation was complete and finished but was stuck with bootloop last time.
But this time, I stuck on installation itself. I'm getting not enough free space on /system error during the installation.
I googled for like 2 hours and found only one article about this issue but that article was about lineage os.
solution from that article is moving pre-installed apps from ‘/system/app/’ to ‘/sdcard/Documents/’ temporarily.
So i tried to move some pre installed apps using the command it provided but it's not working and little bit out dated it seems. so i tried the help function in terminal but i don't know which options i should be using in order to do that operation. I don't want to brick my device. So, if anyone know how to fix this issue, please help me out here.
nethunter dl link: https://images.kali.org/nethunter/nethunter-2021.2-oneplus6-oos-ten-kalifs-full.zip
solution for lineage os link: https://www.zerodaysnoop.com/how-to/how-to-install-nethunter-lite-part-2/
Click to expand...
Click to collapse
Im getting the exact same issue with my stock OOS 10.2.12. I was able to successfully disable dm-verity and force encryption. When I got to the step of installing nethunter I ended up with
"Error: Not enough space on /system to continue!
Aborting...
Cleaning Up...
Failed to install Kali Nethunter!
Updater process ended with ERROR: 1 Error installing zip file usbstorage/Download/nethunter-2021.2-oneplus6-oos-ten-kalifs-full.zip"
I am getting the same issue on a OnePlus 6T, OOS 10.3.12
The steps I follow to install are:
Wipe data
Flash stock ROM
Flash TWRP Installer Zip
Reboot into TWRP
Flash force-decrypt
Flash magisk
I verify with Root Checker that I do indeed have root
I also verify that force-decrypt works by:
Mount vendor
cat /vendor/etc/fstab.* | grep force
No output - suggesting decryption is successful
I am using the official Oneplus 6 Kali image from:
Get Kali | Kali Linux
Home of Kali Linux, an Advanced Penetration Testing Linux distribution used for Penetration Testing, Ethical Hacking and network security assessments.
www.kali.org
Any advice on how to fix this?
Thank you!
Hey guys,
try this
for me this works!
5K1PP3R said:
Hey guys,
try this
for me this works!
Click to expand...
Click to collapse
I tried that but it didn't work. Im not really in the mood to try the other method. I'm just going to get another phone to do it with because Im using this one for some personal stuff I dont want deleted anyway. Great post though, should help someone out for sure.
So heres the steps I used to get Nethunter up and running.
Tmobile 6T user converted to International. (So for all of you running 6, skip the next paragraph and start at Unlock bootloader).
Started fresh with a msm firehose, went back to android 9. Updated to whatever the version you had to download first to get to 10. 9.0.17 I believe. Then after that I upgraded to the very last 10 version. 10.3.12.
Unlock bootloader.
After that I install magisk, pull the payload from the 10.3.12 firmware and pull my boot.img. Patch it.
Boot into TWRP, flash the magisk boot img. Boot into OOS
Now heres the part where everyone (myself included) messes up. Install nethunter via magisk, and not via TWRP. There's just something messed up with how the storage size of system is being reported to the nethunter install script. I've had plenty of space and the script say theres not enough space 0mb free.
Installing via magisk worked just fine as far as app support goes. I haven't checked functionality beyond an apt upgrade and booting into KeX so I havent put it through its paces yet.
Edit: You can also disable system updates afterwards by running:
Code:
adb shell pm disable-user --user 0 com.oneplus.opbackup
i have had the problem o when trying to flash nethunter through twrp it always ending in error not enough space blah blah it was doing my head in but i found a solution so fdroid goto an app called smart flasher and flash it through that it will install after rebooting

PostmarketOS on Samsung S7 not booting

I want to repurpose my old S7 (Exynos) as a Server. From what i read, PostmarketOS is the only way to run pure Linux on the S7. Sadly, i have not been successful at booting.
I followed the Installation "guide" from this wiki page.
The installation process in itself works fine. I first flash the kernel using
Bash:
pmbootstrap flasher flash_kernel
while in download mode, then i switch into TWRP (ADB Sideload) and run
Bash:
pmbootstrap install --android-recovery-zip && pmbootstrap flasher --method=adb sideload
The image should be installing correctly, atleast there are no errors and everything seems to look "normal".
Although, when booting, it gets stuck at the PostmarketOS Loading screen and is not booting (SSH over USB does not work)
Going back into TWRP reveals that it has problems mounting the /system partition
"Failed to mount '/system' (Device or Resource is busy)"
I've been trying so many things, but the outcome is always the same
I tried:
* WSL2 Ubuntu
* VirtualBox XUbuntu
* Debian Live Install
* Sending the recovery zip on my phone using USB and then installing it from there
I've been stuck at this for 3 days now, and i have no idea what else i could try...
Any help would be appreciated.
Here's my last_kmsg
I have the same device, but I''ve been stuck for 5 days Also same cryptic-nothing-to look-at last_kmesg, it just stops. Did you make any progress? Most people here are more familiar with Android ROMs. I think we're better off taking this to postmarketOS's Gitlab issues.
I can install Lineage OS 18.1 from some post here on XDA just fine. But I don't want Android on the device, I want to build it as a LAMP server to serve Moodle. Internet and electric power are a mess here, distributed is the way to go. But I'm not going anywhere if I can't show some POC.
I think it's something to do with DM-Verity being tripped, or is it no-verity? I'm following this to restore it to stock and start over with the postmarketOS howto.. The install logs look clean, I must have done this more than 50 times now.. from what I understand reading the logs, seems like it's a partition issue. Kernel just stops ... I confirm the kernel is booting successfully by making it continuously vibrate with :: pmbootstrap initfs hook_add maximum-attention
I'm trying this download PIT part now:
How To Use PIT Files On Odin For Flashing Samsung Device - MTKArena
If you need to change the partition of the firmware and want to use the PIT files for your device, you are in the place. We will share how to use PIT files on
mtkarena.com
any prog @nonick @Xirado ?

Categories

Resources