Showing posts with label HELPQ. Show all posts
Showing posts with label HELPQ. Show all posts

Tuesday, 12 July 2016

[HELP][Q] How to properly repack ramdisk in order to avoid boot stuck?



Hello mates!

I've been playing with XT1097's boot.img and need some help as my boot.img fails to boot if I repack ramdisk.

Using abootimg

Extracting boot.img contents:

Code:


abootimg -x boot.img ==> produces bootimg.cfg, initrd.img and zImage files in the current directory

Updating boot.img contents without touching ramdisk (using the one extracted in the previous step):

Code:


abootimg -u boot.img -r initrd.img

If I extract initrd.img and try to repack it, then system fails at boot:

Extracting ramdisk (initrd.img) contents:

Code:


abootimg-unpack-initrd ==> produces a ramdisk subdir

Repacking without modyfing ramdisk folder contents:

Code:


abootimg-pack-initrd newramdisk.img

Updating boot.img with newramdisk.img

Code:


abootimg -u boot.img -r newramdisk.img

Even though the generated boot.img's size matches the original one - 10444800 bytes - system gets stuck at boot logo.

The same issue happens if I use these tools combined:
mkbootimg, unmkbootimg, gzip and cpio

Any ideas are welcome :)



Friday, 1 July 2016

[HELP][Q] Brandless China phone /system Corrupted.Only Can Boot to recovery



Hi
I have a china phone has no brand it's Model is ISTAR V3 W
It has internal memory of 1GB and SDcard(not ext SD) memory of 4GB
i think(The rest of the specs i dun really know).
So the internal storage was like only 1GB so i searched google and found the HKromEditor Tool so i used it increased it to 2.5GB for MT6582 and after that i had more memory but with 2 storage with the second storage with 3.8GB
So after that ported Blisspop because i didn't like the stock of it.
I ported it from
http://www.mtkroms.com/2015/08/blisspop-lollipop-for-mt6582.htmll
I did do a TWRP backup of the Original and the Ported

So It worked . but it only detect 1 storage on which was the 2.5gb storage.
so i went google and searched on how to repartition the 2 storages to 1 and i found "meteos-mtk6589-rom-edit..." which was a recreation from the tool i used before and i tried it by using the 3rd option and now my phone is with /system partition of 486MB and i think the rest of it went to /data and have no firmware to fix it.

anyone please help me to partition it back to normal