[Q] mtd partition cache and NFTL_PART in android - Android Q&A, Help & Troubleshooting

following are my mtd partitions:
dev: size erasesize name
mtd0: 00400000 00400000 "logo"
mtd1: 00800000 00400000 "boot"
mtd2: 20000000 00400000 "system"
mtd3: 1f400000 00400000 "cache"
mtd4: 20000000 00400000 "NFTL_Part"
mtd5: 0f800000 00400000 "userdata"
mtd6: 00002000 00001000 "ubootenv"
mtd7: 00002000 00001000 "ids"
my cache partition size is 512MB. I want to make it 256MB so that the other 256MB can be used for other purpose. Can anybody help me and tell the pros and cons of it?
If I reduce the size of cache partition what will be affected in my system? will it slow down?
Does anybody have any idea what "NFTL_Part" stands for?

Related

[Q] Which partition is '/etc' on?

Hi all,
I have these partitions on my phone:
Code:
cat /proc/mtd
mtd0: 00020000 00020000 "preloader"
mtd1: 00300000 00020000 "nvram"
mtd2: 00020000 00020000 "seccnfg"
mtd3: 00060000 00020000 "uboot"
mtd4: 00600000 00020000 "boot"
mtd5: 00600000 00020000 "recovery"
mtd6: 00120000 00020000 "secstatic"
mtd7: 00060000 00020000 "misc"
mtd8: 0a000000 00020000 "system"
mtd9: 03c00000 00020000 "cache"
mtd10: 00300000 00020000 "logo"
mtd11: 000a0000 00020000 "expdb"
mtd12: 10f40000 00020000 "userdata"
I extracted them all (except preloader) with a tool called 'dump_image'. I later created the file '/etc/gps.conf' and now my phone won't boot to anything; Not even factory mode. I'm hoping to be able to restore the image that has '/etc' on it but I don't know which it is. I rather not restore anymore than necessary.
So can anyone tell me which of these partitions will contain '/etc'?
Or failing that, if someone could post the contents of a standard text file that's found in '/etc' then I can do a text search on the images to find the right one.
Cheers.
etc is under the system partition on the android os
Thanks, I'll try that first when my cable's sorted.

[Q] Find boot and recovery partition size (Programmatically in a shell script)

Hi All,
I am seeking a way to find size of boot and recovery partitions (the partition size, not data size) programmatically for use in a shell script. Any thoughts?
# cat /proc/mtd
dev: size erasesize name
mtd0: 000a0000 00020000 "misc"
mtd1: 003e0000 00020000 "recovery"
mtd2: 00300000 00020000 "boot"
mtd3: 0f000000 00020000 "system"
mtd4: 02800000 00020000 "cache"
mtd5: 0b920000 00020000 "userdata"
zeubea said:
# cat /proc/mtd
dev: size erasesize name
mtd0: 000a0000 00020000 "misc"
mtd1: 003e0000 00020000 "recovery"
mtd2: 00300000 00020000 "boot"
mtd3: 0f000000 00020000 "system"
mtd4: 02800000 00020000 "cache"
mtd5: 0b920000 00020000 "userdata"
Click to expand...
Click to collapse
I have seen and used the above command numerous times for something else. But your post made me think again about the size column, which I was thinking as some gibberish numbers. I found out that it is actually is hexadecimal. Converting it to decimal does the job for me. Thanks so much!

[Q] i need help :(

i got a tablet mentioned here : http://forum.xda-developers.com/showthread.php?p=29506888#post29506888
i tried to flash exatly like here : http://forum.xda-developers.com/showthread.php?t=1101094
since i dont have the named brand tablet written there, i tried to flash em73 capacitive GC2M 4K
but it stuck at %99 while checking crc phase
i flashed my provider .lk file again and its rom
infos changed to display: EM73_SIS_ALL 20110923
do u have any idea that why cant i flash roms?
any help will be appriciate.
tnx in advance
add:
proc/mtd
dev: size erasesize name
mtd0: 00a00000 00200000 "boot"
mtd1: 00600000 00200000 "kpanic"
mtd2: 0fa00000 00200000 "system"
mtd3: 00400000 00200000 "splash"
mtd4: 02800000 00200000 "cache"
mtd5: 2bc00000 00200000 "userdata"
mtd6: 00a00000 00200000 "recovery"
mtd7: 00200000 00200000 "misc"
mtd8: 00200000 00200000 "tcc"
i managed to flash my tablet
i flashed 8k rom

[Q] Re-create partition using Fdisk

Hi all,
It's possible to re-create the partitions with fdisk base on the following information:
Code:
dev: size erasesize name
mtd0: 00080000 00010000 "fastboot"
mtd1: 00010000 00010000 "bootargs"
mtd2: 00010000 00010000 "deviceinfo"
mtd3: 00030000 00010000 "reserved"
mtd4: 00600000 00100000 "baseparam"
mtd5: 00800000 00100000 "logo"
mtd6: 00a00000 00100000 "recovery"
mtd7: 00a00000 00100000 "fastplay"
mtd8: 08200000 00100000 "cache"
mtd9: 00a00000 00100000 "misc"
mtd10: 00a00000 00100000 "kernel"
mtd11: 18000000 00100000 "system"
mtd12: 59400000 00100000 "userdata"
mtd13: 00400000 00100000 "blackbox"
mtd14: 80000000 00100000 "sdcard"
Fdisk require start and end sector to recreate the partition. I've tried to use (fdisk -ul) to get the begin/end sector of each partition but it giving me "Disk mtdx doesn't contain a valid partions table"
Base on the infomation above it's possible for me to calculate the start/end sector of each partition.
Or is there another way/command that i can use other than fdisk? I can't find "parted" command on this device.
Thanks

Native Linux for Bluetimes MX5

Is it available yet? Since I cannot ask directly in that topic.
[ROM][Linux/XBMC] Native Linux for Amlogic based Tv-Box's {08/24/2014}
http://forum.xda-developers.com/showthread.php?t=2418029
Bluetimes MX5 is G02REF? it a bit confuse since MTD is very uncommon. Anyway I didn't check this myself it from other user who have this box.
[email protected]:/sdcard # cat /proc/mtd
dev: size erasesize name
mtd0: 00800000 00200000 "logo"
mtd1: 00800000 00200000 "aml_logo"
mtd2: 00800000 00200000 "recovery"
mtd3: 00800000 00200000 "boot"
mtd4: 20200000 00200000 "system"
mtd5: 21000000 00200000 "cache"
mtd6: 10000000 00200000 "backup"
mtd7: ac600000 00200000 "userdata"
mtd8: 00060000 00001000 "bootloader"
mtd9: 00008000 00001000 "ubootenv"
Hi,
i have this bluetimes mx5 also, but it has problems with xbmc on android and i'm also looking for linux OS that will work on it,
would really appreaciate if anyone has tested a linux installation on this tv box and can share...

Categories

Resources