Sunday, September 25, 2016

Asus ZenFone2 UL-Z00T-CN

Hi everyone!
I've got this phone Asus ZenFone2 UL-Z00T-CN and i whant to make it WW
Making it WW grants me the posibility to use every custom ROM
I think I've read on every article about it and I came to the conclusion I cant change it
I think the problem with this CN phone seems to be the system partition wich is partitioned a little smaller than the WW version
C:\Users\Andrew>fastboot flash system D:\WW\system.img
target reported max download size of 268435456 bytes
erasing 'system'...
OKAY [ 0.431s]
sending sparse 'system' 1/12 (259338 KB)...
OKAY [ 12.131s]
writing 'system' 1/12...
FAILED (remote: size too large)
finished. total time: 12.570s

Can you tell me how are your partitions fitted inside your phones to get some ideas about them?
I dont know how to use those commands in this busybox of mine but i tried after some research and a little study and i came to some results and i hope are a little useful for me and for you too.
Here are some things i discovered....
~ # [6ndf -a -h (all partitions listed human)
Filesystem Size Used Available Use% Mounted on
tmpfs 1.3G 16.0K 1.3G 0% /dev
devpts 0 0 0 0% /dev/pts
proc 0 0 0 0% /proc
sysfs 0 0 0 0% /sys
selinuxfs 0 0 0 0% /sys/fs/selinux
tmpfs 1.3G 20.0K 1.3G 0% /tmp
pstore 0 0 0 0% /sys/fs/pstore
adb 0 0 0 0% /dev/usb-ffs/adb
/dev/block/mmcblk0p46
25.7G 155.9M 25.5G 1% /data
/dev/block/mmcblk0p46
25.7G 155.9M 25.5G 1% /sdcard
/dev/block/mmcblk0p44
27.5M 180.0K 26.7M 1% /cache
/dev/block/mmcblk1p1 7.4G 3.1G 4.3G 42% /sdcard1 (this is my 8Gig SDcard)
-------------------------------------------------------------------------------------------------------
~ # [6ndf -h (all mounted partitions listed human)

Filesystem Size Used Available Use% Mounted on
tmpfs 1.3G 16.0K 1.3G 0% /dev
tmpfs 1.3G 20.0K 1.3G 0% /tmp
/dev/block/mmcblk0p46
25.7G 144.5M 25.5G 1% /data
/dev/block/mmcblk0p46
25.7G 144.5M 25.5G 1% /sdcard
/dev/block/mmcblk0p44
27.5M 468.0K 26.4M 2% /cache
-------------------------------------------------------------------------------------------------------
mount

rootfs on / type rootfs (rw,seclabel)

tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=1403968k,nr_inod es=350992,mode=755)
tmpfs on /tmp type tmpfs (rw,seclabel,relatime,size=1403968k,nr_inodes=3509 92)

devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)

proc on /proc type proc (rw,relatime)

sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)

pstore on /sys/fs/pstore type pstore (rw,seclabel,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
/dev/block/mmcblk0p46 on /data type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/mmcblk0p46 on /sdcard type ext4 (rw,seclabel,relatime,data=ordered)
/dev/block/mmcblk0p44 on /cache type ext4 (rw,seclabel,relatime,data=ordered)
-------------------------------------------------------------------------------------------------------
du -h (Display the total size of all the files in a given directory and its subdirectories)
/
./sdcard (internal storage partition showed on computer as a drive)
4.0K ./sdcard/ASUS/Calllog/Backup (4.0K Backup each empty directory)
8.0K ./sdcard/ASUS/Calllog (4.0K empty directory inside of the + 4.0K Calllog = 8.0K)
12.0K ./sdcard/ASUS (4.0K empty directory inside of the + 4.0K Calllog = 8.0K + 4.0K ASUS)
etc.
0 ./usb-otg (empty 0KB)
0 ./sdcard1 (MMC memory card partition showed on computer after restart as drive when flash is inserted)
0 ./persist
0 ./firmware
0 ./factory
4.0K ./asdf
0 ./sideload
4.0K ./cache
0 ./recovery
0 ./boot
48.0K ./vendor
1.4M ./twres
20.0K ./tmp
0 ./system
0 ./sys/fs/f2fs
0 ./sys/fs/ext4/features
0 ./sys/fs/ext4/mmcblk0p44
0 ./sys/fs/ext4/mmcblk0p46
0 ./sys/fs/ext4
0 ./sys/fs/fuse/connections
0 ./sys/fs/fuse
0 ./sys/fs/selinux/policy_capabilities
etc.
0 ./sys/fs/selinux
0 ./sys/fs/cgroup
0 ./sys/fs/pstore
0 ./sys/fs
etc.
0 ./sys/bus/cpu
0 ./sys/bus/cpu
etc.
0 ./sys/bus/iio/drivers
0 ./sys/bus/iio
0 ./sys/bus/mmc/devices
0 ./sys/bus/mmc/drivers/mmcblk
0 ./sys/bus/mmc/drivers
0 ./sys/bus/mmc
0 ./sys/bus/soc/devices
etc.
0 ./sys
460.0K ./supersu
11.5M ./sbin
0 ./res/images
4.0K ./res
0 ./proc/msm_otg
0 ./proc/uid_stat
etc.
0 ./proc
0 ./oem
4.0K ./license/openaes
4.0K ./license
12.0K ./etc
4.0K ./data/lost+found
etc.
54.6M ./data/data
4.0K ./data/dalvik-cache/profiles
33.0M ./data/dalvik-cache/arm
6.3M ./data/dalvik-cache/arm64
39.2M ./data/dalvik-cache
etc.
4.0K ./data/system/job
2.2M ./data/system
4.0K ./data/shared
4.0K ./data/fota
4.0K ./data/hostapd
44.0K ./data/time
4.0K ./data/audio
4.0K ./data/camera
4.0K ./data/nfc/param
8.0K ./data/nfc
4.0K ./data/tombstones/modem
etc.
100.3M ./data
0 ./root
16.0K ./dev
115.6M .
-------------------------------------------------------------------------------------------------------
i found a script about how to partitioning but is for other phone I think Samsung
#!/sbin/sh

OUTFD=$2

ui_print() {
echo -n -e "ui_print $1\n" > /proc/self/fd/$OUTFD
echo -n -e "ui_print\n" > /proc/self/fd/$OUTFD
}

ui_print ""
ui_print "###########################"
ui_print "# audahadi #"
ui_print "# modded from forumber2's #"
ui_print "# Repartition script #"
ui_print "# Mi 3W /system 1.2G #"
ui_print "# only! #"
ui_print "###########################"

ui_print ""
ui_print "Unmounting systems partiton..."

umount -l /system
umount -l /system1
umount -l /dev/block/mmcblk0p25
umount -l /dev/block/mmcblk0p26

ui_print ""
ui_print "WARNING! System is ready, repartitioning will start in 2 seconds"
sleep 2
ui_print ""
ui_print "Removing partitions..."
parted /dev/block/mmcblk0 rm 25
parted /dev/block/mmcblk0 rm 26
ui_print "Removing partitions...COMPLETED"
ui_print ""
ui_print "Creating new partitions..."
parted /dev/block/mmcblk0 mkpart primary 403MB 1074MB
parted /dev/block/mmcblk0 mkpart primary 1074MB 1745MB
parted /dev/block/mmcblk0 name 25 system
parted /dev/block/mmcblk0 name 26 system1
ui_print "Creating new partitions...COMPLETED"
ui_print ""
ui_print "Unmounting systems partitions again..."
umount -l /system
umount -l /system1
umount -l /dev/block/mmcblk0p25
umount -l /dev/block/mmcblk0p26
ui_print "Unmounting systems partitions again...COMPLETED"
ui_print ""
ui_print "Formatting new partitions..."
mke2fs -b 4096 -T ext4 /dev/block/mmcblk0p25
mke2fs -b 4096 -T ext4 /dev/block/mmcblk0p26
ui_print "Formatting new partitions...COMPLETED."
ui_print ""
ui_print "ALL DONE!..."
ui_print ""
ui_print "Rebooting to recovery in 5 seconds..."
ui_print "Thanks to forumber2 for his original GT-i9300 repartition script"
sleep 5
reboot recovery
SO in conclusion I want to redistribute partitions so i can install any ROM or WW IMG I want NOT the CN version. Is there a way to do that?
Can you help me?
If this chalanging problem is solved I would like to make it sticky if it's possible


from xda-developers http://ift.tt/2dawlz8
via IFTTT

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home