yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] darkpegasus:
I tried installing it. I'm getting error-7 :(
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] N1ck474:
Mh, maybe a recovery issue, when i've installed it i've used Deadman's recovery, idk how is the current situation for Custom ROMs or TWRPs for our device :(

Then sorry for the waste of time...
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] darkpegasus:
Yes, recovery maybe the issue. I'm using Mohan CMs (official) TWRP. Well, btw was it really better than Viper?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] N1ck474:
In my opinion Yes, less problems at first Place (for me Viper installation was always a pain in the...)

This MOD use Viper's tecnology too but boosted with Atmos, Beats Audio and Dirac HD (the same on our stock ROM) ;)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ydd0ras:
[MENTION=1844875]CosmicDan[/MENTION], oh unfortunately you have locked the Treblizer thread. Here is a really a lazy Sunday and the weather is poor. Ideal for repartitionig and treblizing my Tissot. :-/. Need some action this afternoon.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] t0per666:
It has problem with twrp not working for installation. Volume up to install is not working so as volume down. I was ready to treblize my device instructions was easy but sadly it has been posponed. :(
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ydd0ras:
OK, thanks for clarification. Then we have to wait patiently.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Yeah there really isn't any point for anybody to repartitioned yet. Me and some other guys were getting bombarded with requests for help and questions about GSI, we're just gonna sort it all out and release it when it's actually ready.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Alright, small update:

The new partition tool will be an Aroma-based GUI that is launched from a custom button in TWRP Advanced menu. This way there's no bug with volume keypress since it's touch UI, and it can also manage formatting too so there's no confusing reboot and then format and then reboot again step, it's all automatic.

Also, as suggested by some users, it will have the option to either shrink system OR userdata to create the vendor partitions. Shrinking userdata has the advantage of working with standard roms still, and shrinking system can be for those who care more about max userdata size and not about non-Treble ROM compatibility.

And of course it will have an option to restore stock partitions.

As for the Treble ROM's and GSI themselves, the only significant bug left is camera compatibility and a glitch in boot slot selection. We will probably release an alpha of Treble RR after those are solved (which can be flashed with a GSI after RR Treble).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ddaggebi:
Can you kindly explain this part more specifically? Sorry for questions, but can't understand 'flashed with a GSI after RR treble' part. Isn't there a Treble-ready RR ROM that can be flashed on every treble-enabled device?

If my question is resolvable through searching, then kindly tell me :)

Big thanks for all the efforts for bringing Treble and making Mi A1 forum thrive again!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
The way Treble works is that it splits the ROM into a system and vendor partition. All the device stuff goes on vendor.

The RR Treble ROM will be split like this. The RR ROM may or may not work on other Treble devices, probably not. That's not in the scope of it.

But the vendor part it installs is designed to be compatible with GSI. It will be alpha, however.

GSI's are only a system image, designed to work with an existing vendor (which you would now have from the RR Treble ROM). So you flash the GSI after the RR ROM, and you then have a GSI Treble ROM running.

If you want to use another GSI, you just flash the GSI to /system and wipe data. But leave Vendor alone.

Vendor can be considered to behave like a kernel in that way. It's included in the Treble ROM, or can even be flashed on its own for use on another Treble ROM. Vendor can be flashed on its own, if you just want to use a GSI. But the same vendor will be included in the RR ROM. They're both built together, like a kernel and a ROM is, and like a kernel it can be used with other ROM's.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] colins92:
released by rum GSI, in the telegram group
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
What?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mardrest:
someone posted an AEX GSI Rom on the "Port miui to mi a1" telegram group. But still vendor not ready for us, so its useles for now..
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SomratMJX:
So... Seems I was right about stripping /data instead of /system somehow! Umm...

I am curious if /data also part of the integrity check of stock though! :confused:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Lupin The Third:
My take on this is: people have to make up their mind, stock or custom! Otherwise you'll be a rom-hopper forever :)

So if you go treble stay treble and don't look back! There's no point of going back anyway.

Just a humble thought.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Bastaerd:
Why choose if you can have both? ;)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SmallTarzan:
An issue

I have a strange issue to report.

After following your steps from the other "completed" post that was deleted, I was facing an issue.

Here's how it went:

One beautiful day I...

Nevermind, let's get right into it:

I've flashed your Treble Partitioner, wiped everything and then restored my backup. Everything worked fine! Yay!

However, I wanted to flash a different ROM; so I made a backup, flashed your Treble Partitioner to get the stock Partition Scheme, wiped System, Cache and Data, flashed the ROM (AOSPExtended), flashed TWRP installer.

Everything was working like a charm until I tried to install GApps and Magisk. GApps threw an error: "Incompatible ROM detected", "This GApps package is for Android 8.1, your Android version is 7.1.2.

What wasn't the truth at all!

I've downloaded the latest AOSPExtended for Mi A1 - 8.1 with May patch.

Magisk, right after, said it cannot repack boot image.

(Yes, I've tried installing the TWRP and booting into it.)

Even after trying to install different 8.1 ROMs and different versions of GApps and Magisk, the issue still persisted.

Restoring and booting the backup worked fine, though.

Okay, you may ask, but what about you install and boot the ROM without installing anything right after it, right?

Right?

No ROMs boot.

I've been following the same steps I've followed the past two years: Wipe everything, ROM, TWRP installer, reboot to TWRP, GApps, Magisk.

Now, if I install anything through the (MohanCM's) TWRP, it's like it was never installed. It sorts of, disappears. There's no error either.

RedWolf's TWRP has the same outcome.

(Reflashing or booting into TWRP doesn't change anything either.)

I don't want or need to blame your Partitioner, but I've been getting all these issues ever since I flashed it.

P. S If is anyone wondering, I've tried to flash these packages:

open_gapps-arm64-8.1-nano-20180519.zip
open_gapps-arm64-8.1-nano-20180423.zip
open_gapps-arm64-8.1-mini-20180519.zip
open_gapps-arm64-8.1-micro-20180423.zip

MindTheGapps-8.1.0-arm64-20180320_011441.zip

RR-O-v6.0.0-20180510-tissot-Official.zip
RR-O-v6.0.0-20180512-tissot-Official.zip

AOSP Extended-v5.5-tissot-20180512-2131-OFFICIAL.zip
AOSP Extended-v5.5-tissot-20180510-0208-OFFICIAL.zip

Magisk-v16.4(1642).zip
Magisk-v16.3.zip

Magisk-uninstaller-20180429.zip

Then, as the last possible option, I've tried using Mi Flash Tool and flashing stock.

The issue still persisted...

Do any of you have any idea what's wrong?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ydd0ras:
I happy that I don't have to use the stock ROM. See no advantages in the stock ROM. Absolutely no advantages.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Lupin The Third:
Actually you can't have both, you have only back and forth! :p
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Unrelated to this.

I saw other users have similar issues before, no idea what the cause is. This is before partitioning was even around.

It's definitely not caused by partitions. I suggest seeking help elsewhere.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
Hey [MENTION=1844875]CosmicDan[/MENTION]. Just dropping by to say I appreciate all your efforts in this and that you're always taking the time to reply to everyone. I hope you won't get tired of our inquiries.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ydd0ras:
That's true. Absolutely agreed.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SomratMJX:
Nay! Look out the OP and my conv with OP!

It's not about stock or custom or ROM hopping!

It's all about keeping integrity! Keeping things stock compatible as much as possible!

And the OP has same thing in mind! Or else he could just get rid of A/B and use B as vendor! ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
What's the point of me doing all of this if I can't come to XDA and bask in the likes from all the fans ? I'll likely never leave this place, as much as I sometimes complain about silly people. It's a good place to chill.

Stock should work with resized data for Treble, but I don't know about OTA. It might check for data encryption.

P.S. - Next project is dual boot repartitioning ;) maybe after MIUI GSI though.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SmallTarzan:
Well, that's great. But what do I do now? I didn't find anything on Google.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] samrattt:
try flashing beansgapps 8.1 oreo unofficial.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Try doing

fastboot --set-active=a

(Or b).

There is a boot slot bug currently that exists in TWRP with Treble.

That's the only way I could imagine it causing it.

You can tell if you are effected by this bug by trying to change slot in TWRP, seeing it's changed, then rebooting recovery and noticing it's still stuck on the first slot.

The fastboot command will solve that.

If that's not the problem, then it's not the partitions to blame. OpenGapps sounds buggy and could be reporting wrong version when a ROM isn't even detected at all (because of slot bug).

But you said you even flashed stock ROM in MiFlash, and it still happens.

If you made a backup of your ROM with my Low-level Backup Tool, like I strongly suggested, you will get back a 100% clean stock style partition when you restore it. And if it still happens then, then it's obviously not a problem with the partitions.

The other way to get back a 100% clean stock system with partitions is with MiFlash in EDL mode, but this will wipe your MAC's and IMEI. So you should of made a Low-level backup either way.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SomratMJX:
Good luck on that!

I don't think data will be checked! Isn't it system only that updates via OTA?

So it's possible that OTA just checks the A/B blocks integrity!

Purely my thoughts BTW! And not everything comes from someone's head have to be true!

Have you tried to repatriation data instead?

Want someone to try?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
Yes, the new TWRP menu for repartition has option to shrink data. See my post on progress update back a page or so.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SmallTarzan:
Thanks for help, but I get this error when trying to use the command.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] jack404:
did you use the latest fastboot version?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dback31:
Try "fastboot set_active a"

That's the correct command.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SmallTarzan:
Just throws down a bunch of help commands.

Latest.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dback31:
Try the fastboot version in the attachments.

I always flash stock ROM via EDL mode and set the A partition as default and it works fine for me with the command

Virustotal link in case you have doubts

https://www.virustotal.com/#/file/3...00c2c88cfba49ac835d5dd57557a1be31df/detection

Edit: It should look like this
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SmallTarzan:
Used the command, everything went fine. Booted into TWRP, changed to partition B, restarted the device into recovery, and I'm back at partition A...

EDIT: Switched to partition B through fastboot and it works now, thanks!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dback31:
Which TWRP are you using?

Official should work just fine, if not, then try deadman's https://androidfilehost.com/?fid=673791459329066004

If that doesn't work, restore your low level backup (assuming you did one)

Edit: nvm then :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SomratMJX:
Hmm! Seen that! But I was talking about checking if shrinking and repartitioning data instead of system solves the OTA problem or not! Have you tried or want someone to try?

All they need to have is prev stock builds (feb/march) backup and willingness of taking risks off course!

I have April fastboot stock! (I actually bought the device on April 4th) ;)

I think the process of checking it pretty straightforward:

1) Backup the earlier stock on non treblize partition

2) Treblize (data shrinking)

3) Restore backup

4) Flash stock recovery (don't know if it actually exists)

5) Reboot to system and check for OTA

6) If OTA is available (off course it is) then update

If the update completes without issue, then everyone should prefer shrinking data and should agree on loosing some space from their storage!

I hope everyone has sdcards like you! :D
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] speedunderx:
your idea seems more favorable, by reducing the data partition and from there creating vendor a and b so you would not be touching the partitions of the system.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SomratMJX:
Was saying that for sooooo long!

I was saying that (actually arguing ;)) from the beginning!

But the OP chose system because it's same for both 64 and 32 GB variants! And may be also to avoid potential user data loss or at least the hassle to back up and restore data! It was simpler for him to touch system rather than data! Which is different from his device anyways unless he get both variants!

Therefore he tended to go for the initial easiest way! That is for system!

But you know not everything seemed easier initially may not actually be that simple/easy all the time!

BTW, kudos to him anyways! He is such an amazing person and talented guy that I have full faith on him that he somehow will find a way neat and clean!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CosmicDan:
The new TWRP Installer with Treble Manager I just released has this option, so try it yourself.

But if OTA doesn't work with shrunk Userdata, then there's nothing I can do about it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] SomratMJX:
Hmm!

Okay! When I am home, I will try it!

Wish me luck too!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] gregbradley:
Thread closed at OP request
[Touch Cruise Accessories] kikitoni:
BATTERIES THAT SELL ON EBAY IS NOT COMPATIBLE WITH THE CRUISE BUT WITH THE TOUCH, SO DOES NOT ALLOW FOR THE COVER BATTERIES!!!!!:mad:
[Touch Cruise Accessories] drkbg:
you should really change your dealer...
[Touch Cruise Accessories] ---Alex---:
You need to check the reputation of the seller before you buy from E-Bay.

And even than you are not sure about the quality of the battery.

The best is to buy the original battery recommended by HTC.
[Touch Cruise Accessories] surgex0:
Actually, the best thing to do is, whenever you even remotely consider buying something from ebay, have a friend whack you in the head with a brick. There's a reason why the prices on ebay are so low...it's cause 99% of the products are either advertised as something they are not, or the seller is a straight up scammer and won't send you anything at all. Feedback is useless; there are networks of scammers out there who generate feedback for each other that appears to be legitimate.

If I sound a bit disgruntled, I'm sorry, but so far over the past 3 months I've lost over 500$ on ebay and STILL waiting for paypal dispute resolution to take care of it.
[Touch Cruise Accessories] William Richardson:
......................although; one can always have a great experience, bar the 2 cars I have bought! (Cars were under £200!)

Ebay is good but you have to do alot of research, just received the Seinheiser CX500 headphones.......fantastic and the world is far away due to the quality.........

Will
[Touch Cruise Accessories] surgex0:
That's cool...I know I have had SOME good transactions on ebay, but I just hate the fact that when things go wrong they seem to tell you that they will help fix it when they dont...they need to regulate things more, because there are so many scammers on ebay...i would bet my life that there are at least 100 people gettimg scammed right this second :P

BTW Seinheiser is great..I've tried those and I liked them

For wired headphones though i use Ultimate Ears in ear monitors...theyre amazing but they cost ALOT

I'm trying to some some studio quality bluetooth headphones at the moment with no avail
[Touch Cruise Accessories] mpf54:
Ebay

I get just about all of my phone accessories on ebay. Most of the stuff while cheap does what they say. True feedback does not mean much but I have bought all my extra batteris there and saved a lot of money. $ 12 for a battery there compaired to $40-50 eleswhere. I think it is worth a try.
[Touch Cruise Accessories] speakerphone:
I second surgex0. When stuff goes wrong ebay/paypal doesn't care.

And batteries - I got some 'new' batteries once that were original branded but lasted 20% my store bought batteries did. I'd stay away.
[Nexus 5X Q&A, Help & Troubleshooting] HoochieMamma:
Hey Guys

Got a Nexus 5X I need to fix for someone and I'm a bit stuck. Supposedly it happened out of the blue for the user without anything like being dropped etc. The phone when a SIM card in inserted never registers onto the network, it gets the empty outline signal symbol without any bars and shows "No Signal"/"Emergency calls only"

The SIM gets detected when I unplug/replug it in. I have tried multiple working SIMs as well without luck. The phone also does show the IMEI number and also the Baseband version so I don't think it's a problem with the radio software wise.

What I have tried is the following;

Flashed STOCK ROM over itself.

Flashed CUSTOM ROM on the phone

Flashed only the radio img over itself

Reflowed the board thinking the SoC might be at fault

What I don't know is at this point is it a software issue or hardware issue? There should be nothing stopping it from getting a signal as the phone isn't showing no baseband or no IMEI number. It just stats unknown network and not registered for network when you go into the About > SIM status

Anyone know a way of sorting this out? :fingers-crossed:
[Nexus 5X Q&A, Help & Troubleshooting] Tawsif Ahmed:
I also have the same problem. My 5X can detect the sim card but doesn't show any network. Hope someone can give a solution to this problem. :(
[Nexus 5X Q&A, Help & Troubleshooting] local5x:
I am having a very similar (or identical problem). My phone detects the SIM card but shows the 'service state' as "Out of Service" and the 'mobile network state' as "Disconnected" Under the network settings it appears that the phone recognizes my mobile carrier and has the correct APN settings best I can tell. In my case I think its likely that I screwed something up when wiping the phone and installing a custom ROM. I think I may have somehow screwed up the EFS partition. I dont know for sure, but ive read that this can be the source of mobile connectivity issues.
[Upgrading, Modifying and Unlocking] rak7:
hi i have Samsung galaxy Tab E sm-t560 4.4.4 .what is my option for upgrade sine there no any updates for it .thank you :confused:
[Sony Xperia XZ Questions & Answers] shadowhunter20:
Anyone experiencing excessive battery drain with the May patch update? Android system drains the battery too much. I just reset my phone 2 days ago, installed my usual apps, updated the system and then this happens now. Any fix on this?
[Sony Xperia XZ Questions & Answers] Deleted member 6476447:
Hello,

It's actually a well known problem in the community

1. I have submitted a report to Sony and request them to release a software update to fix the Kernel

- which means that our best chance here is to hope it is fixed with an update, the root cause is the Kernel not being optimized

2. I am on the verge of snapping this phone in half as I asked around the community and received no answers , been trying to fix this for 1 year straight
[Sony Xperia XZ Questions & Answers] DHGE:
Out of the blue: A factory reset could help.

You definitely have a problem that your phone does not idle (look at my screenshots (v ..128):

idle (Ruhezustand) should always be in the top three).

One of your messengers might the culprit.

Try to disable them all and switch them on one after another to find a possible culprit.
[Sony Xperia XZ Questions & Answers] Deleted member 6905869:
Hi,

I too have these issues. Did you manage to workout which app was at fault?
[Sony Xperia XZ Questions & Answers] Wheelie74:
Yes, another case here. We are still investigating the problem and checking if it's some app or system itself. Most of battery was used by android system and battery was empty in 11 hours.

Problems started with 41.3.A.2.128.
[Sony Xperia XZ Questions & Answers] Hundees:
So is it worth updating?
[Sony Xperia XZ Questions & Answers] Wheelie74:
In our case problem was either facebook or whatsapp. Both remove/disabled and now battery lasts as always.
[Sony Xperia XZ Questions & Answers] Juicy Fruit:
Yes, it is horrible!! I woke up at 7 am, took my phone off the charger and never made a call, or even turned on wifi. I came back from being outside around 11:30 and I was down to %34!! Without the phone having done nothing but sit there and recieve 2 missed calls and 5 text messages!! I usually get 2-3 days on a charge with my XZS depending what I am doing. Needs to be fixed and fast!!!!
[Sony Xperia XZ Questions & Answers] gspbeetle:
Dont factory reset, because the battery issue will not go away for rom issues.

But the "Messages" app do look suspicious for 5%.

There are some devs like to tell people factory reset for everything first and even reset for regular stock rom updates.

Its a bit excessive, like formatting Windows for every time it crashes or even for every Windows updates... Unless you enjoy restoring data & apps.

Should try something to troubleshoot and fix it first before resetting, so we know whats wrong.

The battery drain on idle is slightly better after a week, but we still have to wait and see.
[Sony Xperia XZ Questions & Answers] ivanmasi:
i have problems too, with last existenz with this version battery its a joke
[LG K20 Plus Questions & Answers] megamind994:
My tmobile LG k20 plus phone has a boot loop and will not start, this happened when I copied a file to the main directory of my phone, instead of merging the files it deleted the system folder, I tried to fix it by reinstalling twrp and it worked, after flashed twrp I installed a fresh SuperSU ROM and when I did the boot loop did not go away and in addition to this my computer will no longer find my phone through ADB or fastboot, if you can help I will be amazed and quite happy, I'm new here so any help is appreciated
[LG K20 Plus Questions & Answers] megamind994:
bump:fingers-crossed:
[LG K20 Plus Questions & Answers] theman0193:
did u ever get it figured out? i am in the same boat grr