Hello,
I want to add a rule to the init.rc to autostart a program.
I tried to follow this guide:
hxxp://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
Instead of the following:
Code:
#cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00020000 "misc"
mtd1: 00500000 00020000 "recovery"
mtd2: 00280000 00020000 "boot"
mtd3: 04380000 00020000 "system"
mtd4: 04380000 00020000 "cache"
mtd5: 04ac0000 00020000 "userdata"
I am only getting:
Code:
dev: size erasesize name
mtd0: 00100000 00001000 "w25q80"
So where can I get the boot image that is installed? The device is a Galaxy Nexus 4.1.1
Thank you for your help!
Mark
Found it
On this device the boot image is located here:
Code:
/dev/block/platform/omap/omap_hsmmc.0/by-name/boot
Related
Hi everyone
I recently bought a ZTE blade variant (ZTE T-U880) which turns out to completely different blade.
It has a Marvell CPU @ 806 Mhz and 512 MB ram.
I managed to root it and found a working version (2.5.0.9) of clockwork recovery on some chinese site. This particular version fails to do "nandroid" backup. So, i'm in need of a fully functional clockwork recovery for the device.
Any help regarding it will be appreciated.
Here is the partition structure of the new blade (ZTE T-U880).
dev: size erasesize name
mtd0: 00100000 00020000 "bootloader"
mtd1: 00040000 00020000 "ramdisk"
mtd2: 00040000 00020000 "nvm"
mtd3: 00800000 00020000 "cpbinary"
mtd4: 00300000 00020000 "kernel"
mtd5: 00300000 00020000 "maintenance"
mtd6: 00500000 00020000 "recovery"
mtd7: 00040000 00020000 "misc"
mtd8: 02700000 00020000 "cache"
mtd9: 0c800000 00020000 "system"
mtd10: 0d800000 00020000 "userdata"
mtd11: 00a00000 00020000 "NVM"
mtd12: 00f40000 00020000 "telephony"
mtd13: 00100000 00020000 "reserved"
mtd14: 00a00000 00020000 "MRVL_BBM"
I tried to backup the bootloader and recovery using the following commands
# cat /dev/mtd/mtd0 >sdcard/Boot_mtd0.img
# cat /dev/mtd/mtd6 >sdcard/Recovery_mtd6.img
I'm attaching both these file.
I have no experience of linux, someone please unpack clockwork recovery and pack it using this boot.img. Hopefully recovery will work with the new boot image extracted from this device.
Thanks in advance.
i don't think the “bootloader” is “boot”...
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
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.
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!
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
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...