Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] - Partition Custom ROM Xiaomi Pad 5 #285

Open
3 tasks done
smartfrenard opened this issue Nov 21, 2024 · 6 comments
Open
3 tasks done

[QUESTION] - Partition Custom ROM Xiaomi Pad 5 #285

smartfrenard opened this issue Nov 21, 2024 · 6 comments

Comments

@smartfrenard
Copy link

Question

I have custom ufs, upgrade from 256 Gb to 512 Gb for Xiomi Pad 5. How to partition for custom rom 512 Gb?
Screenshot 01
Screenshot 02

Agreement

  • I am asking a sensible question.
  • I am not trying to waste time.
  • There is no issue already describing my problem.
@n00b69
Copy link
Collaborator

n00b69 commented Nov 21, 2024

Please run the below command and send a picture

adb shell blockdev --getsize64 /dev/block/sda

After that, use these steps to partition:

adb shell sgdisk --resize-table=128 /dev/block/sda
adb shell parted /dev/block/sda
rm 31

Replace 256GB with whatever you want Android to have

mkpart userdata ext4 10.9gb 256gb

Replace 256 with the value you used in userdata

mkpart esp fat32 256gb 256.35gb

Same here with 256

mkpart win ntfs 256.35gb 509gb
set 32 esp on
quit
adb shell mkfs.ntfs -f /dev/block/sda33 -L WINNABU
adb shell mkfs.fat -F32 -s1 /dev/block/sda32 -n ESPNABU

Format data in ofox and check if android boots, then reboot back to recovery and do the steps on the second page

@smartfrenard
Copy link
Author

adb shell blockdev --getsize64 /dev/block/sda

Screenshot 2024-11-24 072048

@smartfrenard
Copy link
Author

Next Step page 3 guide/English/3-install-en.md, can't run execute msc?

Screenshot 2024-11-24 085235
Screenshot 2024-11-24 085159

@n00b69
Copy link
Collaborator

n00b69 commented Nov 24, 2024

Boot this recovery

https://github.com/erdilS/Port-Windows-11-Xiaomi-Pad-5/releases/download/1.0/512.img

Try adb shell partition $

Then try adb shell msc

@smartfrenard
Copy link
Author

Sorry, I forgot to tell you my custom nabu 8/512Gb.
Successfully install driver using latest version but always restart and blue screen? is the driver incompatible for nabu custom 8/512Gb?

Screenshot 2024-11-24 201345
Screenshot 2024-11-24 201316
Screenshot 2024-11-24 201443
Screenshot_20241124_195224_com huawei photos_edit_337519658282870_082455
Screenshot_2024-11-24-20-25-44-329_com android settings
Screenshot_2024-09-14-18-20-08-779_com mi android globalFileexplorer
Screenshot_2024-11-24-20-17-49-275_id kuato woahelper

blue.screen.nabu.mp4

@n00b69
Copy link
Collaborator

n00b69 commented Nov 24, 2024

Try adb shell format and try reinstall Windows, might be just a random bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants