• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Ways to flash update.zip

Fredtt686

Newbie
Previously, I downloaded a update.zip from asus offical website. But the file size is too big that can't fit in with cache partition.
So I came up with some possible solution below,
1. Re-partition
Since I wanna extend cache,the effected partitions will be APD,ADF,System,Data, I'll backup them by dd command (dd if=/dev/block/mmcblk0p*7~10* of=/storage/emulated/0/*APD.img,etc.) And export them to my pc. Then I'll remake those partition by parted command and mkfs command, and use fastboot flash or dd to recover them all except /data.
The only issue of this method is that I can't find a custom rom for this. I might do it while normal boot
2. Resize update.zip
Since I know how to sign a update.zip file by signapk, I'll use this to split the file to a few packs.
In practice,I'll only leave META-INF and a tiny part of /system folder and pack them.the command will only be'mount('ext4','EMMC',(the patch),'/system');package_extract_dir('system','/system');', repeat for 6 time for copying files only .The 7th update.zip will include the rest of the files and official update-script.
I'll use fastboot flash update 7 times without rebooting to make it work.

Please help me analysis if these methods are correct and working, thanks:3.

Btw the reason of 'why I don't just let my tablet do a ota update and everything will be done?' is...
Well... The Update Manager just wanna leave me alone....(it is not function properly at all)
 
Last edited:
Back
Top Bottom