yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] xdavolver:
How can I know if the requirements is of for my mocha?

Requirements:

1) active system1

2) merged system partition

what does "1)" and "2)" means?

I need to confirm if my mocha is able to....

I am bit confusing if with my stock rom I can go for the instructions.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] aynk85:
active system1 means in mi recovery u use system1 not system2,

this is default in stock rom u dont have to do anything,

merge system partition needed because xiaomi made 2 partition for stock rom,

hence system1 and system2,

u need to merge both partition so your mipad can flash shield blob,

lastly u need no "3)" ,

3) BRAIN, READING SKILL and presence of basic knowledge about firmware (in the absence need learn to independently),

search other thread/google/youtube how to and dont skip other instruction or u will end up with bootloop,

---------- Post added at 02:15 AM ---------- Previous post was at 02:12 AM ----------

Quote:

Originally Posted by anurag_xpert

TOS for PCI is the way!!!

Flash this file and this problem will be solved.

https://androidfilehost.com/?fid=11410932744536994618

Go to the first post!

most people facing the same problem cause u dont flash tos,

follow direction as provided in the 1st post,

and 1 more thing the command "your path to" means your location of tos.img file in your computer,

i just google execute command: fastboot flash tos and found a youtube vid on how to properly execute command

flash this kernel for other solution

https://xdaforums.com/attachment.php?attachmentid=5002731&d=1587710698

need to do above solution first
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] vincebox:
I have tried flash tos multiple times, but that doesn't solve the reboot problem. I believe I'm not the only one here who flashed tos and still have reboot problem. Can anyone explain what does tos do exactly?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] jorgeno:
Error battery

10-19 22:52:44.791 480-503/system_process E/BatteryStatsImpl: All kernel wakelocks had time of zero

10-19 22:52:44.792 480-503/system_process E/BatteryStatsImpl: All kernel wakelocks were set stale. new version=25

10-19 22:52:44.934 480-502/system_process E/libprocessgroup: Error encountered killing process cgroup uid 99000 pid 1974: No such file or directory

10-19 22:53:45.091 480-503/system_process E/BatteryStatsImpl: All kernel wakelocks had time of zero

10-19 22:53:45.092 480-503/system_process E/BatteryStatsImpl: All kernel wakelocks were set stale. new version=26
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] RangerP:
Help-TOS-refuse to boot

Help！

I forget to unzip the tos zip file and just run: fastboot flash tos path to tosImg.zip then fastboot reboot recovery...

And my Mi pad wont boot now by:

- long press the power button

- long press the power button and vol + or -

BTW the power light is off then plugged.

Is there any workaround? Sorry but I'm not familiar about what a TOS file do and looking for help here.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] vforvictory1:
Keep pressing power button for 30sec to 1 minute.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] unseemlycoder:
Amazing Build, just followed the procedure on my stock 4.4.4 mi pad 1. So far, its been a positive experience. Everything works [except camera cos Sheild blobs/TOS].

Thank you [MENTION=7256367]Artemka2008[/MENTION] & devs for keeping this device running in 2020!

Folks who run into bootloop, make sure you have active system set to system1 (Took me a while to figure, I did this with CWM recovery - Advanced Options). Ideally this should be done first on stock mi recovery. Then flash twrp and the repartitioning zip file.

Some issues I ran into:

1. Sometimes charging doesn't work, I have to restart mi pad with charger plugged in for it to start charging / charge on twrp (Anyone know how to fix this?)

Edit: Even connection to laptop doesn't work unless I restart.

2. Alexa app keeps crashing after 5 secs, but alexa on amazon music works fine

3. Some options in settings like buttons (Long press, single press, etc) don't work

4. Voice match/Hey google grayed out

5. Some music streaming apps like spotify, etc get muted after a few secs on leaving the app.

Please excuse me for not having log files, I will try to generate them as soon as I can. Thanks again!
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Arsenious:
Trash battery life in standby

My tab is refusing to into deep sleep, kernel is stock what came with the rom. Multiple battery monitor apps have shown the same result. Now even the battery monitor could be causing the cpu to refuse to sleep but even without them my battery life is very trash. Please suggest.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] p5uresh:
Flashed tos prior to ROM. Let me try that kernel.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] lucsi:
Hi, i am facing a problem with touch. everything works really well, until the pad goes to sleep. sometimes when it wakes up, the touch turns wierd. It is like it regconises double tap or long tap for the normal tap. The only way is restarting the pad.

i tried all the rom 7,8,9... many kernels, and flash tos 0.1, 0.2....

Does anyone have this issue? Any suggestion?

Thanks
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] juannm:
Hi, thank you so much for supporting this ROM!

I can 100% confirm the reboot issue.

Does it happen because of the TOS 1.0? Could the custom kernel solution be integrated in this ROM?

I did the following:

1. Reboot to fastboot

2. Flash TosForPSCI-0.1.img

3. Flash TWRP recovery-03.11.2018.img

4. Reboot to recovery.

5. Install mocha_repartition_1_2GB_RahulTheVirus.zip to repartition (merge system1 and system2 partitions, as shown here: https://xdaforums.com/mi-pad/how-to/howto-untouched-stock-mocha-to-shield-t3758775)

6. Full wipes (Dalvik + System + Cache + Data + Internal Storage)

At this point in my test, there is NO Android OS installed but the REBOOT issue already happens!

If I REBOOT from TWRP, the MiPad goes into a "soft-lock" where it is impossible to power on again. The power button doesn't react; I even left it pressed for 60 seconds, and nothing. The way out of the lock is connecting to the charger, this boots the MiPad into charging mode, and afterwards it is possible to power it up again.

If I SHUTDOWN from TWRP (instead of reboot), then all is OK. It is rebooting which is broken. At this point there is no OS installed, so the issue must be in either TOS 0.1 or TWRP? I have also tried with latest TWRP v3.4.0 (https://twrp.me/xiaomi/xiaomimipad.html) but the reboot problem happens the same. So the issue is definitely in TOS 0.1?

As you can see, installing TOS 0.1 is NOT enough to solve the reboot issue. I checked carefully so I could share my results here.

If now I install this custom ROM, the ROM works fine but Reboot is broken exactly in the same way. I know there is a custom kernel (SmokeR24.1-V3.5.3-reboot-fix.zip) that could fix the issue, but in that case instructions in first post should mention it. Or maybe the reboot fix should be included in the ROM?

But maybe it is better if we can find the cause of the problem and fix it? (it seems to be in the TOS 0.1)
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] aynk85:
please read instruction in the 1st post and other post for referencing BEFORE flashing,

cause i flash tos AFTER repartitioning and shield blob flash,

why are you doing it backward? as that is my presumption of the solution to your problem,

correct me if i am wrong DEV and any other senior member,

there are consequences in flashing for example like error 7, different TWRP version, bootloop, hard brick etc,

SOLUTIONS have been provided in other thread and youtube u just need to explore and READ more,

problem is u DONT READ enough before complaining,

were both junior member so i hope u understand not trying to be rude,

DEV have done a great job still providing roms from a 6 year old tablet,

if u find any flaws as already been mention in any POST/THREAD u need to provide logs so dev can fix it in the future ;)

---------- Post added at 10:40 AM ---------- Previous post was at 10:33 AM ----------

try clean flash rom

https://xdaforums.com/android/general/guide-correct-to-flash-custom-roms-t3885962

or change or downgrade your version of TWRP

there is a kernel fix but i dont remember which one, sorry
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] lucsi:
After a week with all Roms, even back to 4.4.4 Smoke Rom, problem still there. Finally I take off the glass protector, also take off the back cover. The problem got better. I think it is a hardware problem.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] aynk85:
its probably ghost touch prob then, nothing to do with rom,

there's one trick u can use by using lighter igniter trick (u gotta teardown a lighter just google what is it its hard to explain),

in stock firmware go to setting, about phone, and click kernel version 4 or 5 times, you'll be send to hw test, pick touch sensor (i believe), and use lighter igniter trick there,

but it seem that u already taken screen protector so its ok then,

above method work with screen protector on
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] lucsi:
thank you, maybe i will try the trick.

i found something interesting.

I installed a touch screen test app. Then i run the app every times the screen got messed up. And maybe, with different kernel, it got different types of ghost touch. On one kernel, 1 touch then have another touch appear somewhere. On another kernel, a touch trigger a swipe from the point of touch.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] juannm:
I'm a developer myself and have to deal with users who don't care to read so, trust me, if there is anything I really do is respecting the developer's time and reading their instructions.

Well, I do that because the instructions say so:

The instructions say to install in this order: tos, recovery, rom. That's what I tried to do. Also, the instructions don't mention the shield blobs, so I didn't install them separately. I assume they are already included inside the ROM.

But the instructions have a flaw: it is not possible to repartition before installing recovery!! Custom recovery is already needed to run the repartition zip, so I had to introduce a new step:

5) execute command: fastboot flash tos tos.img
6) execute command: fastboot flash recovery recovery-03.11.2018.img
7) ...
NEW) Use TWRP to repartition with mocha_repartition_1_2GB_RahulTheVirus.zip
8) ... full wipes
9) install current LineageOS 16.0 build

But the reboot problems started before reaching step 9)

Anyway it doesn't matter now, because I fixed the bricked tablet by using an old MiFlash tool to recover the stock system. Then I was able to repeat the steps (without any reboot from TWRP) and now it worked, thankfully.

But the reboot issue is still there if you reboot before step 9). So maybe people should be warned not to reboot.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] aynk85:
Not being disrespect I'm not a developer,

I just like custom ROM so I can uninstall annoying bloatware and update to new os for my old tablet,

Xiaomi just leave it with KitKat but shield tablet upgradeable to nougat that's unfair,

I have flash ROM from los 13.1 till new one and other rom like aosp/crdroid/rr,

I also have my fair share of been bricked 3 times,

But reading other thread helps a lot,

U don't need to just literally follow one thread instruction,

U miss this one in the instruction my friend :

3) BRAIN, READING SKILL and presence of basic knowledge about firmware (in the absence need learn to independently),

If u read old thread they already explained regarding why they used 0.1 than 0.2,

There's also different in ROM before and after November 2018,

https://xdaforums.com/mi-pad/development/unofficial-lineageos-14-1-xiami-mipad-t3557616

But u claimed u are a dev,

So leave a log to dev to assessed the prob,

And if u built new kernel update or firmware shared it,

we will be happy to experience it
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] juannm:
Hi aynk85,

hahah that was a good one, I laughed. You got me! I'm a bot :cowboy:

Sorry I'm a software dev but on other projects so I know very little about building kernels or firmware for Android, although I would love learning more about it.

What I meant is that I work as dev on a company and I know how people sometimes don't value other's work.

Sadly it's right :( and Xiaomi stopped supporting this tablet when it could still rock as the hardware works very well.

Hey aynk85, have you found one rom that is the most stable one for the Mi Pad 1? I don't want performance or features, I want maximum stability with Android 5.0 or greater (to use Youtube Vanced and other apps that require 5.0). But so far the roms I tried (los 14.1 and 16) crash after 20 or 30 minutes of watching videos full screen. I'm learning how to get crash logs to share in here, but so far I couldn't because logs get deleted in the device after boot. So there are no logs when the Mi Pad reboots after a crash :(
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] aynk85:
Pandemic make me reply early,

Don't mind about that,

My suggestion is Resurrection remix and AOSP extended,

Both of the ROMs were Oreo (maybe they already upgraded to pie idk),

There is a few issues with vid playback, wifi bluetooth signal and sound picker,

I used kernel fix from oneplus3 thread and I don't even have a oneplus3 (it works anyway),

I fix WiFi and Bluetooth issues by resetting the network again and again till it works,

Or just downgrade to lineage 15.1 the most stable imo,

All of em I clean flash with gapps and magisk (I don't like dirty flash cause it left with a lot of empty folder),

Just ask around, explore forum and youtube,

If u got no response from dev others will help,

From XDA,

https://youtu.be/JmvCpR45LKA

---------- Post added at 09:34 AM ---------- Previous post was at 09:32 AM ----------

:D
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] caztiel001:
i got error 7 from 14.1

any help?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] :
Good news

Downloads for : Xiaomi Mi Pad | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

Downloads for : Xiaomi Mi Pad | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

@twu2 's test roms Pie aospextended and RR
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Litrox:
Works on mipad 1?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] mark_lynx:
followed all the necessary steps to install it. Everything was installed and working, but the tab freezes if unused and to the point that it is hard to hard restart it and only black screen. If you press power +vol up it will still not respond to it even if you press it for more than 15secs. I will just try to power it on for the next 5mins again if it went blackscreen and become unresponsive. My tab is 64Gb mi pad 1. This rom cant be used as daily driver, but merely for testing.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] :
Yes this is a bug

But I find a way to fix

install this https://aapks.com/apk/wake-lock-donate-version/

then do the instructions in the attachments
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] little_yelp:
Thanks for the amazing ROM. I installed it and it is fast. But the problem I am facing is it does not wake up after sleep and have to force reboot every time
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] little_yelp:
Link

Link not working. Or the site blocked in india. Can't say.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Anirudh Kartik:
You did not follow the instructions as this only happens when tos.img is not flashed properly. Flash it from fastboot and your issue will be resolved.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Anirudh Kartik:
Flash tos through fastboot.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] :
attach for you
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] :
mine flashed but I need wakelock too, also only one core works.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Anirudh Kartik:
That means it has not been flashed properly. Please follow the instructions and do it again. If it is flashed successfully all cores will work provided ur not on powersave mode.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] freyjlord:
for someone hv reboot problem even flashed tos.img many times just flash this kernel through twrp:

https://xdaforums.com/attachment.php?attachmentid=5002731&d=1587710698
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] mark_lynx:
does this solve the reboot issue on lineage 14.1 as well? I was trying to install 14.1 also but got reboot problems, while on lineage 16. I got black screen and unresponsive tab. Not sure why. Flashed the tos.img so may times in different ways(fastboot and twrp). It is still the same. I don't want to use the lineage 16 because no netflix support for that rom. Now currently I am on stock chinese rom, everything is fine except for a slow youtube and facebook.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] mark_lynx:
Yes I flashed it so many times in different ways. Still getting same results not only for lineage 16 but also for lineage 14.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] doiscavalos:
Can this ROM be applied on Xiaomi Mi Pad 2 latte?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] :
Nope. Blame your Intel Atom processor in your Mi Pad 2 for that. No roms newer than Android 6 or Windows 10 can work on Mi Pad 2 (The short answer. You can ask me if you want the long one.) thanks to the Intel crap (x86-32bit) which differs from Mi Pad 1(arm32-v7) and most of the commercial tablets (arm32/arm64), hence hardly roms can be ported. The stock device tree exsisting cannot produce android 7 or higher roms.

For mi pad 1 the stock device tree can not produce roms above android 7( Yeah, device tree of xiaomi is crap) too but luckily patches from a device tree of the Shield tablet, a tablet that has same chipset with Mi pad 1, can be applied on the device tree of mi pad 1 hence can have android 9 working. Mi pad 2 has a unique chipset in the world of Android tablets (that I know), so, oh well.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] :
I am just human so I can be defenitely wrong. If you disagree, tell me, but also realise that I am not attacking your mother. (Please chill if you disagree, for short.)
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Palm Trees:
Other Intel Atom Cherry Trail powered tablets did receive Android N upgrades, so in theory you could port these/use those blobs (for Mi Pad 2, not Mi Pad 1 obviously). I've been meaning to give a try, but I just don't have enough time to do it right now.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] MoLi233:
Great ROM.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] jean marc:
Everything was smooth and fine until last month. Suddenly the battery was dropping hyper fast, I wiped the cache, but nothing happened, I changed the battery for a new one, I reset the device but again the battery like crazy from 100% to 5% in 40mn. I use Magisk manager ap 22.0 and Magisk 21.4. Recharge can be up to 100% in 20mn.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] harutyaaaaaaa:
How do I merge system partition? I don't have SD card.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Grewa:
Stuck on Mi logo... I tried everything...

Any ideas ?

Edit:

For some reason I was on system 2... :rolleyes:

To make it work, I had to:

flash mi pad stock recovery (because I had TWRP) -> reboot on system 1
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Newguy2021:
Just a noob solution, but whenever you are not using your tab, just turn off the WiFi. It works for me and fixed the 0 byte storage issue.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] ottherside:
Thank you for presenting this solution. It worked perfectly and now the tablet does not hibernate after being turned off.

The ROM is great and is surprising me with 4 to 5 hours of screen.

Only the low volume bothers me a little, anyone with any solution to the problem?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Zafar Ansari:
I wanted to ask, is there is the error of google play services plz tell me.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Peblel:
I'm sorry if someone has asked this before, but none of the solutions posted haver been useful for me.

Every time I try installing the ROM I'm stuck with "No OS installed". (And btw, I made sure I flashed the TOS and I also tried flashing the Boot.img as a boot but nothing changed). I even tried other roms and the same story again. At this point I'm guessing it has to do with the tablet but I don't know what I can do.

By the way, if any of you has the original build for the Mi Pad I would be really thankful, since I may needed.

Still, I cannot install any ROMs.

Thank y'all for your help.
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Peblel:
Okay so I fixed it. It turns out I didn't read the steps that well, because before merging my partitions I forgot to select active system: 1 (it was in 2 by default). After that I followed the steps once again and it worked like a charm. I must say it took less than a minute for the tablet to boot, so pretty epic. Thanks for the rom, it's looking great :)
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] luciferyelow:
Great ROM I just flashed it yesterday. However, I could not enter recovery or fastboot mode anymore (always dark screen and PC could detect the device), so I could not return to stock ROM nor flash the su addon and google apps... Did anyone run into similar issues? Is there a solution to this? I can only connect to adb while the device is booted into the system.

If not I will have to stick to this ROM until the device fails with no chances of update or anything... even so android 9 is so much better then 4.4.2
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] luciferyelow:
nevermind I was stupid... I had the device either booted into system or restarting... also advanced restart doesn't work. You have to shutdown device then hold volume- then hold power to enter fastboot :)
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] Tones1971:
TosForPSCI-0.1.zip not able to download, no mirrors found. Recovery downloaded ok. Any other links?

EDIT: finally found mirror. Cheers
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] schiller08:
Hello,

great roms (inculde Hermes device)

Here I have a problem, after intstallation it boot into the lineage start screen, but I can not click next. the touchschreen is not working, in Twrp it works, also in smoky releases.

The same error is in all Los relaseses.

hope you can me Help with my Mocha pad
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] SPG30759:
Magisk (working)Flash via twrp..with your own RISK Enjoy..(I m avoiding to update Magisk on My Mi pad)
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] LR7875:
So any magisk above 18.0 will fail or even brick the mi pad?
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] SPG30759:
No Not Like That..i M not sure..i did tyy once..it got freezd..(Only Magiks program) no bootloop..if anything gets wrong..simply uninstall magiks via twrp..but be carefull..
[Xiaomi Mi Pad ROMs, Kernels, Recoveries, & Other D] PurushothRokr:
Guys,

My MIPAD on Lineage14.1, should I follow the same steps (beginning of this thread) to update 16.0?

Does the latest build need hotfix for touchscreen and graphic glitch?