[Q] Kernel Parameters found in Bootloader, can be modified? - Defy Android Development

Hi, well I've found the Kernel parameters in the bootloader posted here (Android 2.1 - 2.51 bootonly DOWNLOAD).
The parameters on the SBF are:
Code:
console=ttyS2,115200n8 rw [email protected] init=/init ip=off motobldlabel=none mtdparts=omap2-nand.0:128k(mbr),128k(mbmloader),256k(unused0),512k(mbm),512k(mbmbackup),512k(ebr),512k(bploader),512k(cdt),4m(pds),512k(lbl),512k(lbl_backup),1m(logo),2m(sp),512k(devtree),512k(devtree_backup),4m(bpsw),8m(boot),8m(recovery),13952k(cdrom),384k(unused1),512k(misc),512k(cid),4m(kpanic),334464k(system),384k(unused2),512k(prek),512k(pkbackup),200m(cache),455296k(userdata)
And the parameters in my current stock rom:
Code:
console=ttyS2,115200n8 console=ttyMTD10 rw [email protected] init=/init ip=off brdrev=P3A androidboot.bootloader=0x0000 mtdparts= mmcparts=mmcblk1:p7(pds),p16(recovery),p17(cdrom),p18(misc),p19(cid),p20(kpanic),p21(system),p22(prek),p23(pkbackup),p24(cache),p25(userdata) androidboot.mode=normal
Well, that comes from a sbf file, so, I guess if i modify it, the stuff about the original bootloader wont work, ant I guess the mobile wont startup.
Am I right in that?
Im asking because if I pass another parameter (about the Framebuffer OMAP2, the screen driver), I can use X11 native, and that will be great!

the one in 3.4.2-164 :
Code:
Kernel command line: console=/dev/null rw [email protected] init=/init ip=off brdrev=P3A androidboot.bootloader=0x0000 mmcparts=mmcblk1:p7(pds),p15(boot),p16(recovery),p17(cdrom),p18(misc),p19(cid),p20(kpanic),p21(system),p22(prek),p23(pkbackup),p24(cache),p25(userdata) androidboot.mode=reboot
got in dmesg or cat /proc/cmdline as root

cocus said:
Hi, well I've found the Kernel parameters in the bootloader posted here (Android 2.1 - 2.51 bootonly DOWNLOAD).
The parameters on the SBF are:
Code:
console=ttyS2,115200n8 rw [email protected] init=/init ip=off motobldlabel=none mtdparts=omap2-nand.0:128k(mbr),128k(mbmloader),256k(unused0),512k(mbm),512k(mbmbackup),512k(ebr),512k(bploader),512k(cdt),4m(pds),512k(lbl),512k(lbl_backup),1m(logo),2m(sp),512k(devtree),512k(devtree_backup),4m(bpsw),8m(boot),8m(recovery),13952k(cdrom),384k(unused1),512k(misc),512k(cid),4m(kpanic),334464k(system),384k(unused2),512k(prek),512k(pkbackup),200m(cache),455296k(userdata)
And the parameters in my current stock rom:
Code:
console=ttyS2,115200n8 console=ttyMTD10 rw [email protected] init=/init ip=off brdrev=P3A androidboot.bootloader=0x0000 mtdparts= mmcparts=mmcblk1:p7(pds),p16(recovery),p17(cdrom),p18(misc),p19(cid),p20(kpanic),p21(system),p22(prek),p23(pkbackup),p24(cache),p25(userdata) androidboot.mode=normal
Well, that comes from a sbf file, so, I guess if i modify it, the stuff about the original bootloader wont work, ant I guess the mobile wont startup.
Am I right in that?
Im asking because if I pass another parameter (about the Framebuffer OMAP2, the screen driver), I can use X11 native, and that will be great!
Click to expand...
Click to collapse
how do you modify the boot parameter?

i found in cdt partition (hexdump), this partition table description, confirmed and completed with sbf_flash tool :
Code:
CG64 - mmcblk1 mbr
xCG63 - mmcblk1p1-mbmloader.??? (128k)
xCG30 - mmcblk1p2-mbm.??? (512k)
CG55 - mmcblk1p3-mbmbackup.??? (512k)
CG64 - mmcblk1p4-ebr.??? (1024)
xCG56 - mmcblk1p5-bploader.??? (512k)
CG31 - mmcblk1p6-cdt.bin (512k) <--- dump show "this partition table" like a mbr
xCG38 - mmcblk1p7-pds.ext3 (4M)
CG34 - mmcblk1p8-lbl.??? (512k)
CG57 - mmcblk1p9-lbl_backup.??? (512k)
CG42 - mmcblk1p10-logo.bin (1M)
xCG41 - mmcblk1p11-sp.??? (2M) <--- dump show "this partition table" like a mbr
CG61 - mmcblk1p12-devtree.??? (512k)
CG62 - mmcblk1p13-devtree_backup.??? (512k)
CG45 - mmcblk1p14-bpsw.??? (4M)
CG35 - mmcblk1p15-boot.cpio.gz (8M)
CG47 - mmcblk1p16-recovery.cpio.gz (8M)
CG33 - mmcblk1p17-cdrom.iso (14M)
xCG44 - mmcblk1p18-misc.??? (512k)
xCG43 - mmcblk1p19-cid.raw (512k)
CG53 - mmcblk1p20-kpanic.raw (4M)
CG39 - mmcblk1p21-system.ext3 (327M)
CG32 - mmcblk1p22-prek.??? (512k)
CG46 - mmcblk1p23-pkbackup.??? (512k)
CG40 - mmcblk1p24-cache.ext3 (200M)
xCG37 - mmcblk1p25-userdata.ext3 (1.3G)
marked ??? are partitions formats to be determined...
xCG : never seen in full sbfs
descriptions :
lbl : Linux Boot Loader (sources in motorola sdks) contains Motorola Cert. 4496 4498
system : /system folder
userdata /data folder
cache /cache folder
cdrom : cdrom iso with defy drivers (by usb ?)
pds : /pds folder ... hmm dunno exactly what it is, used by ClockWorkMod Recovery
recovery : when you boot with bottom volume button
bpsw : something compressed ??? + Motorola Cert. 4504 4506
sp : like cdt, but 3x Motorola Cert. 4496 4498 (maybe old end of file)
prek : Pre Kernel Interface, which switch to recovery mode, Motorola Cert. 4496 4498
devtree : look like /dev content, Motorola Cert. 4496 4498
devtree_backup, misc, cid, kpanic : empty
mbmloader: checks signature of mbm
mbm: verifies all other signatures before allowing the device to boot.
mbr, ebr : master boot record, extended boot record
cdt: Codegroup Descriptor Table (partition table + the kernel command line + Motorola Cert. 4496 4498)
sp seems to be a copy of cdt

johnw.xda said:
how do you modify the boot parameter?
Click to expand...
Click to collapse
Its hardcoded in kernel config and/or set/completed by bootloader...
But maybe there is a way to set additionnal parameters somewhere... like the "androidboot.mode=reboot" parameter

Epsylon3 said:
Its hardcoded in kernel config and/or set/completed by bootloader...
But maybe there is a way to set additionnal parameters somewhere... like the "androidboot.mode=reboot" parameter
Click to expand...
Click to collapse
Edit the SBF bootloader in binary mode. Those parameters are not compressed. You can delete a character and add another to get the same space of the string. But the thing is, in my Bootloader, I have 498M of ram, instead, in the one that I ve seen, there is 488M. And, there are some differences, in my boot, I have the partitions in mmcblk instead in mtdblk. I guess i can brick my phone if I change those.

cocus said:
Edit the SBF bootloader in binary mode. Those parameters are not compressed.
Click to expand...
Click to collapse
If you do so you'l probably destroy the hash of the bootloader and your device won't boot any more. This is the biggest problem of the signed bootloader from motorola

Sqoerk said:
If you do so you'l probably destroy the hash of the bootloader and your device won't boot any more. This is the biggest problem of the signed bootloader from motorola
Click to expand...
Click to collapse
Yep, I was thinking in that in my first post. So I just will keep the information, its usefull to know the partitions and the memory configuration.

Check this: Key To Unlocking Bootloader Found!

Hexdump of cdt partiton (p6)
Code:
00000000 1a 00 08 08 b1 00 00 00 00 00 c0 80 00 01 00 00 |................|
00000010 6d 62 72 00 00 00 00 00 00 00 00 00 00 00 00 00 |mbr.............|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 40 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 |@...............|
00000040 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000050 ff ff ff ff 00 00 00 00 00 38 00 83 ff 3f 00 83 |.........8...?..|
00000060 00 00 00 83 01 00 00 00 00 00 ff ff 01 00 00 00 |................|
00000070 00 00 00 00 6d 62 6d 6c 6f 61 64 65 72 00 00 00 |....mbmloader...|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 3f 00 00 00 01 00 00 00 01 00 00 00 |....?...........|
000000a0 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff |................|
000000b0 ff ff ff ff ff ff ff ff 00 00 00 00 80 ff 01 87 |................|
000000c0 7f 07 02 87 80 07 00 87 03 00 00 00 00 00 ff ff |................|
000000d0 00 00 00 00 00 00 00 00 6d 62 6d 00 00 00 00 00 |........mbm.....|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000f0 00 00 00 00 00 00 00 00 1e 00 00 00 04 00 00 00 |................|
00000100 07 00 00 00 02 00 00 00 ff ff ff ff ff ff ff ff |................|
00000110 ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 |................|
00000120 00 f8 34 89 ff ff 34 89 00 00 31 89 03 00 00 00 |..4...4...1.....|
00000130 00 00 ff ff 00 00 00 00 00 00 00 00 6d 62 6d 62 |............mbmb|
00000140 61 63 6b 75 70 00 00 00 00 00 00 00 00 00 00 00 |ackup...........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 37 00 00 00 |............7...|
00000160 08 00 00 00 0b 00 00 00 02 00 00 00 ff ff ff ff |................|
00000170 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000180 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000190 03 00 00 00 00 00 ff ff 00 00 00 00 00 00 00 00 |................|
000001a0 65 62 72 00 00 00 00 00 00 00 00 00 00 00 00 00 |ebr.............|
000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001c0 41 00 01 00 0c 00 00 00 0f 00 00 00 03 00 00 00 |A...............|
000001d0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
000001e0 ff ff ff ff 00 00 00 00 00 38 01 83 ff 3f 01 83 |.........8...?..|
000001f0 00 00 01 83 01 00 00 00 00 00 ff ff 01 00 00 00 |................|
00000200 00 00 00 00 62 70 6c 6f 61 64 65 72 00 00 00 00 |....bploader....|
00000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000220 00 00 00 00 38 00 00 00 10 00 00 00 13 00 00 00 |....8...........|
00000230 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000240 ff ff ff ff ff ff ff ff 00 00 00 00 ff ff ff ff |................|
00000250 ff ff ff ff ff ff ff ff 03 00 00 00 00 00 ff ff |................|
00000260 00 00 00 00 00 00 00 00 63 64 74 2e 62 69 6e 00 |........cdt.bin.|
00000270 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000280 00 00 00 00 00 00 00 00 1f 00 01 00 14 00 00 00 |................|
00000290 17 00 00 00 03 00 00 00 ff ff ff ff ff ff ff ff |................|
000002a0 ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 |................|
000002b0 00 38 07 89 ff 3f 07 89 00 00 07 89 01 00 00 00 |.8...?..........|
000002c0 00 00 ff ff 04 00 00 00 00 00 00 00 70 64 73 00 |............pds.|
000002d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000002e0 00 00 00 00 00 00 00 00 00 00 00 00 26 00 00 00 |............&...|
000002f0 18 00 00 00 37 00 00 00 00 00 00 00 ff ff ff ff |....7...........|
00000300 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000310 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000320 03 00 00 00 00 00 ff ff 00 00 00 00 00 00 00 00 |................|
00000330 6c 62 6c 00 00 00 00 00 00 00 00 00 00 00 00 00 |lbl.............|
00000340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000350 22 00 01 00 38 00 00 00 3b 00 00 00 03 00 00 00 |"...8...;.......|
00000360 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000370 ff ff ff ff 00 00 00 00 00 38 d0 80 ff 3f d0 80 |.........8...?..|
00000380 00 00 d0 80 01 00 01 00 00 00 ff ff 01 00 00 00 |................|
00000390 00 00 00 00 6c 62 6c 5f 62 61 63 6b 75 70 00 00 |....lbl_backup..|
000003a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000003b0 00 00 00 00 39 00 01 00 3c 00 00 00 3f 00 00 00 |....9...<...?...|
000003c0 03 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff |................|
000003d0 ff ff ff ff ff ff ff ff 00 00 00 00 00 38 d0 80 |.............8..|
000003e0 ff 3f d0 80 00 00 d0 80 01 00 01 00 00 00 ff ff |.?..............|
000003f0 01 00 00 00 00 00 00 00 6c 6f 67 6f 2e 62 69 6e |........logo.bin|
00000400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000410 00 00 00 00 00 00 00 00 2a 00 00 00 40 00 00 00 |........*[email protected]|
00000420 47 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff |G...............|
00000430 ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 |................|
00000440 00 f8 f6 86 ff ff f6 86 00 00 e7 86 03 00 01 00 |................|
00000450 00 00 ff ff 00 00 00 00 00 00 00 00 73 70 00 00 |............sp..|
00000460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000470 00 00 00 00 00 00 00 00 00 00 00 00 29 00 00 00 |............)...|
00000480 48 00 00 00 57 00 00 00 00 00 00 00 ff ff ff ff |H...W...........|
00000490 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
000004a0 00 00 00 00 00 f8 2a 89 ff ff 2a 89 00 00 0b 89 |......*...*.....|
000004b0 03 00 01 00 00 00 ff ff 00 00 00 00 00 00 00 00 |................|
000004c0 64 65 76 74 72 65 65 00 00 00 00 00 00 00 00 00 |devtree.........|
000004d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000004e0 3d 00 01 00 58 00 00 00 5b 00 00 00 00 00 00 00 |=...X...[.......|
000004f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000500 ff ff ff ff 00 00 00 00 00 f8 10 89 ff ff 10 89 |................|
00000510 00 00 09 89 03 00 01 00 00 00 ff ff 01 00 00 00 |................|
00000520 00 00 00 00 64 65 76 74 72 65 65 5f 62 61 63 6b |....devtree_back|
00000530 75 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |up..............|
00000540 00 00 00 00 3e 00 01 00 5c 00 00 00 5f 00 00 00 |....>...\..._...|
00000550 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000560 ff ff ff ff ff ff ff ff 00 00 00 00 00 f8 10 89 |................|
00000570 ff ff 10 89 00 00 09 89 03 00 01 00 00 00 ff ff |................|
00000580 01 00 00 00 00 00 00 00 62 70 73 77 00 00 00 00 |........bpsw....|
00000590 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000005a0 00 00 00 00 00 00 00 00 2d 00 02 00 60 00 00 00 |........-...`...|
000005b0 7f 00 00 00 08 00 00 00 ff ff ff ff ff ff ff ff |................|
000005c0 ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 |................|
000005d0 00 f8 4f 64 ff ff 4f 64 00 00 20 64 03 00 01 00 |..Od..Od.. d....|
000005e0 00 00 ff ff 00 00 00 00 00 00 00 00 62 6f 6f 74 |............boot|
000005f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000600 00 00 00 00 00 00 00 00 00 00 00 00 23 00 01 00 |............#...|
00000610 80 00 00 00 bf 00 00 00 00 00 00 00 ff ff ff ff |................|
00000620 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000630 00 00 00 00 00 f8 8f 81 ff ff 8f 81 00 00 10 81 |................|
00000640 03 00 01 00 00 00 ff ff 02 00 00 00 00 00 00 00 |................|
00000650 72 65 63 6f 76 65 72 79 00 00 00 00 00 00 00 00 |recovery........|
00000660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000670 2f 00 01 00 c0 00 00 00 ff 00 00 00 00 00 00 00 |/...............|
00000680 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000690 ff ff ff ff 00 00 00 00 00 f8 8f 81 ff ff 8f 81 |................|
000006a0 00 00 10 81 03 00 01 00 00 00 ff ff 02 00 00 00 |................|
000006b0 00 00 00 00 63 64 72 6f 6d 00 00 00 00 00 00 00 |....cdrom.......|
000006c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000006d0 00 00 00 00 21 00 05 00 00 01 00 00 6f 01 00 00 |....!.......o...|
000006e0 03 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff |................|
000006f0 ff ff ff ff ff ff ff ff 00 00 00 00 00 f8 db 8b |................|
00000700 ff ff db 8b 00 00 00 8b 03 00 00 00 00 00 ff ff |................|
00000710 01 00 00 00 00 00 00 00 6d 69 73 63 00 00 00 00 |........misc....|
00000720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000730 00 00 00 00 00 00 00 00 2c 00 00 00 70 01 00 00 |........,...p...|
00000740 73 01 00 00 00 00 00 00 ff ff ff ff ff ff ff ff |s...............|
00000750 ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 |................|
00000760 ff ff ff ff ff ff ff ff ff ff ff ff 03 00 00 00 |................|
00000770 00 00 ff ff 00 00 00 00 00 00 00 00 63 69 64 00 |............cid.|
00000780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000790 00 00 00 00 00 00 00 00 00 00 00 00 2b 00 00 00 |............+...|
000007a0 74 01 00 00 77 01 00 00 00 00 00 00 ff ff ff ff |t...w...........|
000007b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
000007c0 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff |................|
000007d0 03 00 00 00 00 00 ff ff 00 00 00 00 00 00 00 00 |................|
000007e0 6b 70 61 6e 69 63 00 00 00 00 00 00 00 00 00 00 |kpanic..........|
000007f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000800 35 00 00 00 78 01 00 00 97 01 00 00 00 00 00 00 |5...x...........|
00000810 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000820 ff ff ff ff 00 00 00 00 ff ff ff ff ff ff ff ff |................|
00000830 ff ff ff ff 03 00 00 00 00 00 ff ff 00 00 00 00 |................|
00000840 00 00 00 00 73 79 73 74 65 6d 00 00 00 00 00 00 |....system......|
00000850 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000860 00 00 00 00 27 00 05 00 98 01 00 00 cf 0b 00 00 |....'...........|
00000870 03 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000880 ff ff ff ff ff ff ff ff 00 00 00 00 00 f8 fb 9e |................|
00000890 ff ff fb 9e 00 00 90 8a 03 00 00 00 00 00 ff ff |................|
000008a0 04 00 00 00 00 00 00 00 70 72 65 6b 00 00 00 00 |........prek....|
000008b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000008c0 00 00 00 00 00 00 00 00 20 00 01 00 d0 0b 00 00 |........ .......|
000008d0 d3 0b 00 00 03 00 00 00 ff ff ff ff ff ff ff ff |................|
000008e0 ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 |................|
000008f0 00 f8 71 8a ff ff 71 8a 00 00 70 8a 03 00 01 00 |..q...q...p.....|
00000900 00 00 ff ff 01 00 00 00 00 00 00 00 70 6b 62 61 |............pkba|
00000910 63 6b 75 70 00 00 00 00 00 00 00 00 00 00 00 00 |ckup............|
00000920 00 00 00 00 00 00 00 00 00 00 00 00 2e 00 01 00 |................|
00000930 d4 0b 00 00 d7 0b 00 00 03 00 00 00 ff ff ff ff |................|
00000940 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000950 00 00 00 00 00 f8 71 8a ff ff 71 8a 00 00 70 8a |......q...q...p.|
00000960 03 00 01 00 00 00 ff ff 01 00 00 00 00 00 00 00 |................|
00000970 63 61 63 68 65 00 00 00 00 00 00 00 00 00 00 00 |cache...........|
00000980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000990 28 00 00 00 d8 0b 00 00 17 12 00 00 00 00 00 00 |(...............|
000009a0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
000009b0 ff ff ff ff 00 00 00 00 ff ff ff ff ff ff ff ff |................|
000009c0 ff ff ff ff 03 00 00 00 00 00 ff ff 00 00 00 00 |................|
000009d0 00 00 00 00 75 73 65 72 64 61 74 61 00 00 00 00 |....userdata....|
000009e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000009f0 00 00 00 00 25 00 00 00 18 12 00 00 ff 1f 00 00 |....%...........|
00000a00 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000a10 ff ff ff ff ff ff ff ff 00 00 00 00 ff ff ff ff |................|
00000a20 ff ff ff ff ff ff ff ff 03 00 00 00 00 00 ff ff |................|
00000a30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000a60 00 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff |................|
00000a70 ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 |................|
00000a80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000a90 00 00 ff ff 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000aa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000ac0 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff |................|
00000ad0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000af0 00 00 00 00 00 00 ff ff 00 00 00 00 00 00 00 00 |................|
00000b00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000b30 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000b40 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000b50 00 00 00 00 00 00 00 00 00 00 ff ff 00 00 00 00 |................|
00000b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000b90 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000ba0 ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 |................|
00000bb0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff |................|
00000bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000bf0 00 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff |................|
00000c00 ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 |................|
00000c10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000c20 00 00 ff ff 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000c30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000c50 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff |................|
00000c60 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000c70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000c80 00 00 00 00 00 00 ff ff 00 00 00 00 00 00 00 00 |................|
00000c90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000cc0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000cd0 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000ce0 00 00 00 00 00 00 00 00 00 00 ff ff 00 00 00 00 |................|
00000cf0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000d20 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000d30 ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 |................|
00000d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff |................|
00000d50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000d80 00 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff |................|
00000d90 ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 |................|
00000da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000db0 00 00 ff ff 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000de0 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff |................|
00000df0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000e10 00 00 00 00 00 00 ff ff 00 00 00 00 00 00 00 00 |................|
00000e20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000e50 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000e60 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000e70 00 00 00 00 00 00 00 00 00 00 ff ff 00 00 00 00 |................|
00000e80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000eb0 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000ec0 ff ff ff ff ff ff ff ff 00 00 00 00 00 00 00 00 |................|
00000ed0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff |................|
00000ee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000f10 00 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff |................|
00000f20 ff ff ff ff ff ff ff ff ff ff ff ff 00 00 00 00 |................|
00000f30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000f40 00 00 ff ff 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000f50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000f70 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff |................|
00000f80 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000f90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000fa0 00 00 00 00 00 00 ff ff 00 00 00 00 00 00 00 00 |................|
00000fb0 00 20 00 00 00 20 00 00 e8 ff 03 00 18 00 00 00 |. ... ..........|
00000fc0 ce ff 01 00 32 00 00 00 00 00 00 00 00 00 00 00 |....2...........|
00000fd0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00002000 05 00 00 00 01 00 41 54 00 00 00 00 00 10 00 00 |......AT........|
00002010 00 00 00 00 42 00 00 00 09 00 41 54 63 6f 6e 73 |....B.....ATcons|
00002020 6f 6c 65 3d 2f 64 65 76 2f 6e 75 6c 6c 20 72 77 |ole=/dev/null rw|
00002030 20 6d 65 6d 3d 34 39 38 4d 40 30 78 38 30 43 30 | [email protected]|
00002040 30 30 30 30 20 69 6e 69 74 3d 2f 69 6e 69 74 20 |0000 init=/init |
00002050 69 70 3d 6f 66 66 20 62 72 64 72 65 76 3d 50 33 |ip=off brdrev=P3|
00002060 41 20 61 6e 64 72 6f 69 64 62 6f 6f 74 2e 62 6f |A androidboot.bo|
00002070 6f 74 6c 6f 61 64 65 72 3d 30 78 30 30 30 30 20 |otloader=0x0000 |
00002080 20 6d 6d 63 70 61 72 74 73 3d 6d 6d 63 62 6c 6b | mmcparts=mmcblk|
00002090 31 3a 70 37 28 70 64 73 29 2c 70 31 35 28 62 6f |1:p7(pds),p15(bo|
000020a0 6f 74 29 2c 70 31 36 28 72 65 63 6f 76 65 72 79 |ot),p16(recovery|
000020b0 29 2c 70 31 37 28 63 64 72 6f 6d 29 2c 70 31 38 |),p17(cdrom),p18|
000020c0 28 6d 69 73 63 29 2c 70 31 39 28 63 69 64 29 2c |(misc),p19(cid),|
000020d0 70 32 30 28 6b 70 61 6e 69 63 29 2c 70 32 31 28 |p20(kpanic),p21(|
000020e0 73 79 73 74 65 6d 29 2c 70 32 32 28 70 72 65 6b |system),p22(prek|
000020f0 29 2c 70 32 33 28 70 6b 62 61 63 6b 75 70 29 2c |),p23(pkbackup),|
00002100 70 32 34 28 63 61 63 68 65 29 2c 70 32 35 28 75 |p24(cache),p25(u|
00002110 73 65 72 64 61 74 61 29 00 00 00 00 00 00 00 00 |serdata)........|
00002120 00 00 00 00 ff ff ff ff ff ff ff ff ff ff ff ff |................|
00002130 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
000037f0 ff ff ff ff ff ff ff ff ff ff ff ff 04 00 00 00 |................|
00003800 b4 01 00 ca 02 14 da 95 1b 6d dc 97 07 ce 40 ea |[email protected]|
00003810 53 0f 90 20 91 b5 20 dd 2f f3 00 30 ff ff 00 00 |S.. .. ./..0....|
00003820 02 4e 29 96 c8 e8 57 58 1f 75 18 bb b5 76 e1 8a |.N)...WX.u...v..|
00003830 17 57 c8 78 c3 1d 01 02 0c 30 00 11 01 89 07 00 |.W.x.....0......|
00003840 00 00 00 38 00 00 00 03 d3 02 07 6d 23 ff bc be |...8.......m#...|
00003850 5e c2 c1 e9 cb 5c 8c 4c c1 49 e3 ce 38 88 88 67 |^....\.L.I..8..g|
00003860 f7 37 a8 60 bf 43 ec b6 15 7d ad b4 93 03 ce 78 |.7.`.C...}.....x|
00003870 3b a5 4b fc 30 e8 cf 39 b0 5c 9c ac a1 d2 cf 59 |;.K.0..9.\.....Y|
00003880 77 3b ff f8 2c 86 5a e9 48 43 86 0e 9e ac f9 88 |w;..,.Z.HC......|
00003890 61 b2 b3 14 5f c2 58 28 86 44 f6 9a ad be f1 74 |a..._.X(.D.....t|
000038a0 bd ba ed 1b e4 bc 19 af d9 22 a4 e9 84 66 39 77 |........."...f9w|
000038b0 a3 76 81 90 fe 52 cc 96 77 ac ee a6 91 b1 5f 1b |.v...R..w....._.|
000038c0 4f b2 45 80 f1 15 b8 6f 52 92 01 02 01 00 04 2e |O.E....oR.......|
000038d0 4f 3d 4d 6f 74 6f 72 6f 6c 61 20 49 6e 63 2c 20 |O=Motorola Inc, |
000038e0 4f 55 3d 4d 6f 74 6f 72 6f 6c 61 20 50 4b 49 2c |OU=Motorola PKI,|
000038f0 20 43 4e 3d 48 41 42 20 43 41 20 34 37 33 4b b3 | CN=HAB CA 473K.|
00003900 8b c1 67 ea d6 41 01 00 04 39 4f 3d 4d 6f 74 6f |..g..A...9O=Moto|
00003910 72 6f 6c 61 20 49 6e 63 2c 20 4f 55 3d 4d 6f 74 |rola Inc, OU=Mot|
00003920 6f 72 6f 6c 61 20 50 4b 49 2c 20 43 4e 3d 43 53 |orola PKI, CN=CS|
00003930 46 20 43 41 20 34 37 33 2d 31 3b 20 53 4e 3d 34 |F CA 473-1; SN=4|
00003940 34 39 36 02 00 00 03 01 00 01 00 80 bb a5 81 22 |496............"|
00003950 50 33 87 0c f6 98 95 25 f2 f9 15 42 d1 55 81 e0 |P3.....%...B.U..|
00003960 30 29 ce da fc 04 97 f4 0a 2b 2d 2e bc 9c b4 26 |0).......+-....&|
00003970 a2 00 da 9a e8 9c 32 34 0d cf b0 e1 aa a8 6e 41 |......24......nA|
00003980 36 17 11 66 bd 71 fe fd 64 fd 44 27 4e 8f a9 bd |6..f.q..d.D'N...|
00003990 a6 1e 95 58 c5 3c 12 35 47 e0 5d 06 21 c8 c9 f6 |...X.<.5G.].!...|
000039a0 84 b2 03 62 f6 25 f6 1c 66 4f 48 e1 32 90 f4 28 |...b.%..fOH.2..(|
000039b0 9b 7c f7 63 8e 1d de 8d 1c 0a 1e e0 1a ae 2d 22 |.|.c..........-"|
000039c0 cd 84 0e 23 7e b6 da 83 89 03 77 3d 00 80 31 35 |...#~.....w=..15|
000039d0 19 89 b2 a9 9f c6 fb 79 c7 7d a7 ce 25 76 9c d9 |.......y.}..%v..|
000039e0 99 77 76 3d 89 28 71 e6 da cc 84 35 cc b6 cf be |.wv=.(q....5....|
000039f0 54 86 1f 9b 76 43 3d ec 9d 63 c0 c9 e1 2c d4 cf |T...vC=..c...,..|
00003a00 46 47 28 fb da db 0c 6c 46 cc 08 6f ea 41 96 6a |FG(....lF..o.A.j|
00003a10 38 6d bd 67 58 24 17 e5 e1 a7 63 7e dc 8a 85 13 |8m.gX$....c~....|
00003a20 f8 1f 43 3a c3 59 0b 3a 6f 7e 81 41 23 21 c4 0e |..C:.Y.:o~.A#!..|
00003a30 62 27 50 b4 ea f6 ef 70 b5 03 d1 6d 4d d7 8a 40 |b'[email protected]|
00003a40 7b 05 09 94 35 00 c0 5f b5 af 5d 4d b4 c0 01 02 |{...5.._..]M....|
00003a50 01 00 04 30 4f 3d 4d 6f 74 6f 72 6f 6c 61 20 49 |...0O=Motorola I|
00003a60 6e 63 2c 20 4f 55 3d 4d 6f 74 6f 72 6f 6c 61 20 |nc, OU=Motorola |
00003a70 50 4b 49 2c 20 43 4e 3d 43 53 46 20 43 41 20 34 |PKI, CN=CSF CA 4|
00003a80 37 33 2d 31 4b b3 8c 73 67 ea d6 f3 01 00 04 38 |73-1K..sg......8|
00003a90 4f 3d 4d 6f 74 6f 72 6f 6c 61 20 49 6e 63 2c 20 |O=Motorola Inc, |
00003aa0 4f 55 3d 4d 6f 74 6f 72 6f 6c 61 20 50 4b 49 2c |OU=Motorola PKI,|
00003ab0 20 43 4e 3d 41 50 50 20 34 37 33 2d 31 2d 32 3b | CN=APP 473-1-2;|
00003ac0 20 53 4e 3d 34 34 39 38 02 00 00 03 01 00 01 00 | SN=4498........|
00003ad0 80 9f 29 51 44 9e 39 88 e3 d4 b3 57 95 22 9f 19 |..)QD.9....W."..|
00003ae0 94 14 94 2d ce 30 b5 57 24 c5 59 0f f5 4a f9 5d |...-.0.W$.Y..J.]|
00003af0 78 d4 95 0f aa 94 fa e3 9d 82 ea 61 28 ff 38 7f |x..........a(.8.|
00003b00 85 86 9c 14 70 36 11 91 44 d7 cc d0 e0 00 fa 2b |....p6..D......+|
00003b10 e6 79 63 b9 a7 e7 b5 95 3b 86 89 d6 e3 80 e6 f5 |.yc.....;.......|
00003b20 2f 0c 12 22 63 3e 4a f4 07 cc 53 f4 f7 12 40 aa |/.."c>[email protected]|
00003b30 39 fe 20 8d ca f0 52 5d 77 85 82 35 4b 5d 9d 2d |9. ...R]w..5K].-|
00003b40 87 24 15 d0 cc fe 66 a8 13 fd e0 c7 13 75 24 4e |.$....f......u$N|
00003b50 43 00 80 46 8c ba 26 19 32 88 53 b6 49 18 98 e5 |C..F..&.2.S.I...|
00003b60 af 90 1e fd f0 46 b5 1c 7f 43 cc 97 ab 47 16 70 |.....F...C...G.p|
00003b70 4a d5 34 5a ca ae 7c 14 25 ab 3d 7a 0e f1 6f 15 |J.4Z..|.%.=z..o.|
00003b80 83 0b b2 9b 45 15 b8 47 87 bc 03 83 3b 59 0f 09 |....E..G....;Y..|
00003b90 d1 ca 72 b0 d6 c0 6e 28 7d 86 68 cc 29 70 77 e5 |..r...n(}.h.)pw.|
00003ba0 72 72 74 ad 6c a1 c4 07 9d ca 9f 5d 8a 64 0f 2d |rrt.l......].d.-|
00003bb0 a7 d7 8f 20 fe 00 06 ae 6d 50 c4 86 87 30 4a d8 |... ....mP...0J.|
00003bc0 96 70 32 85 c3 2c 22 4e 3d 8b 24 01 98 90 18 20 |.p2..,"N=.$.... |
00003bd0 e5 e8 8c 1f ae 5f 1a cb d8 0c 3c 39 99 6e 2c f9 |....._....<9.n,.|
00003be0 32 6c ad 71 77 96 76 7f 3d 58 cb 7e 30 ce 90 b2 |2l.qw.v.=X.~0...|
00003bf0 3b 65 88 52 ce 97 4f b0 08 12 3d 3a 6b 91 fe 84 |;e.R..O...=:k...|
00003c00 1f 77 df b8 1d 18 9d 70 75 f4 3f 0a 2b 50 10 22 |.w.....pu.?.+P."|
00003c10 ea 7d e1 fb 4f d2 fd ec 96 e1 4d 61 1b 9c d1 bc |.}..O.....Ma....|
00003c20 b2 c4 40 42 2e e3 23 f6 cd 7f 18 a3 44 f8 ba 45 |[email protected]#.....D..E|
00003c30 dc c8 5c db 6c 29 13 c8 f1 f6 36 c1 23 97 1a ae |..\.l)....6.#...|
00003c40 9f 82 65 40 8d b5 b7 54 97 c7 3d 71 9c 64 68 d2 |[email protected]=q.dh.|
00003c50 71 8c 2f ff ff ff ff ff ff ff ff ff ff ff ff ff |q./.............|
00003c60 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00004800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00010000

Related

Strange SD card problem in Bootloader (SOLVED)

This is wat I have done:
With romupdate I made a backup on 512MB SD Card
Put SD card away
Installed TMob rom, all ok.
Tmobile is too pink for me so I wanted to install my old rom
Put in SD card and immediatedly bootloader says SD card, update blabla and it worked.
----
Now I want to have that bigstorage. I ntrw'd the SDcard to a file, opened it with hexeditor, changed the 2 020008000 thingies, saved it and ntrw'd it back onto the SDcard.
Sow, when inserted in bootloader, it just sais
SERIAL
V1.02
When I remove the card very sometimes it THEN IMMEDIATELDY askes to install, but than sections=1 and read card is fail. Somtimes when removing and reinserting it sais ROM size not enough.
What should I do? I tried everything. Should I keep my old rom and forget the big storage?
I tried leaving the phone for 1 night in the bootloader, hoping next morning it would say SD update.
It left me with a drained battery (0%!) it wouldn't reset anymore until I plugged the device in te loader, I had it fully recharged. Strange.
Ok. I think this could be a problem.
My SD image looks like this (first somewhat 500 bytes
Code:
4d 41 47 49 43 49 41 4e 20 20 20 20 20 20 20 20 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 31 2e 30 32 20 20 20 20 20 20 20 20 20 20 20 20 25 8e f4 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 9e 8a c5 37 53 41 30 30 d8 00 45 07 00 06 7d 77 57 00 3c 27 bf 22 e7 00 07 b4 2e 0b 19 96 d8 bb 88 ef c3 dd 49 c6 26 3a 50 e6 00 1c b8 2f 59 e0 27 ec 45 f2 af 00 00 f9 ab 7a ca 4e 5a 9d 0f b3 cc 00 00 00 00 9d a8 a3 51 99 3f 82 07 ba 4d 40 51 00 ff e9 5c 9a 8b 67 bb 3a b9 f5 09 a9 a3 d6 69 74 71 4f 17 46 a3 2e 4e ee 8e 61 e8 f3 b0 a5 cc cb d6 1c b5 59 d0 47 1a ea 9f 29 4f 84 2e cc b3 d0 b1 a5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 f0 48 cd 47 ab 32 f5 57 1e 36 1a 99 8c 93 4c 67 35 9d 60 d3 34 10 f3 99 a8 a4 ab 53 12 e1 c0 ec fe 35 bb 57 e6 44 7e 81 53 7f 85 84 45 f8 6b 1d d5 74 b0 60 19 c2 b9 aa 48 4c 18 d8 1e ec 0e b6 82 01 4e ba 67 c1 04 f3 f0 d1 16 3c d7 13 aa b5 0f bf e8 74 a8 b5 01 77 f4 11 70 dd e8 00 80 56 c4 d3 0e d9 f7 52 90 95 3c 53 56 29 0a 8b 10 48 54 43 53 41 30 30 34 30 30 30 30 30 33 46 43 30 30 30 30 30 43 46 34 38 45 32 35 fe 03 00 ea 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 43 45 43 34 ec 0d 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 56 4f 44 41 50 30 30
cant get the text copied, but when I encode it to a /nbf file, with good romdumps it shows the operator and things, now it shows garbage:
Code:
Good one:
deviceId=PM10A
cellOpName=T-MOB005
language=WWE
firmwareVersion=1.13.00
deviceModelName=Magician
address0=0
address1=0
address2=0
crc32=6448ae5b
File crc32: dd221a2f
Code:
My own:
deviceId=MAGICIAN
cellOpName=0000000000000000
language=1.02
firmwareVersion= %Ķ♀
deviceModelName=
address0=
address1=
address2=
crc32=
File crc32: 148cd320
Where dit it go wrong???
ntrw, romupdate.exe? It's a bit scrambled.
It wás the problem.
What I did:
FOrmat SD card
Get rom on SD card with romupdate
ntrw it to disk
used hexedit to remove the 400meg of zero's (512mb sdcard)
ran mksBigStoragerENG.exe from ftp site for patch it bigstorage and so,
format SD card again
ntrw new patched file to SD
put it in Magician, start bootloader, and in 10 sec SD UPDATE and off it goes, now 51%...
Wish me luck!
Yes, done it.
Now have Dutch Vodafone 1.12 ROM with 1.12 Radio, extended rom is on my harddisk and bigstorage.
If someone wants this ROM please let me know, have no fast connection but then I will upload it at night.
Thanks for your thoughtfulness but I believe ROM 1.12 with Radio 1.12 is already in the ftp. In fact, the latest ROM version is 1.13 with Radio 1.12, but there's a stand alone Radio 1.13.
Well I'm happy it worked this way. There were some people struggling to get the SD card to update, this should do the trick then. I tried everything else
And I had some problems with pushmanager + bluesoleil in 1.13 (no vodafone?) which I dont have now. Maybe it was not the 1.13 fault, but ey, what's the difference?

Nghianha WM6 Rom

hi everybody,
because there is also another WM6 Rom from smart, lets talk here about Nghiangas Rom
John
what's the differents?
Has anyone managed to import the soundreg fix? Resco Explorer gives an error when trying to import the file, while PHM registry editor has the Import function grayed out.
So opened the reg file and found it to contain the following:
Code:
[HKEY_LOCAL_MACHINE\Snd]
[HKEY_LOCAL_MACHINE\Snd\Event]
".AllSounds"=hex(7):\
41 00 73 00 74 00 65 00 72 00 69 00 73 00 6B \
00 00 00 43 00 6C 00 6F 00 73 00 65 00 00 00 \
63 00 72 00 69 00 74 00 69 00 63 00 61 00 6C \
00 00 00 64 00 65 00 66 00 61 00 75 00 6C 00 \
74 00 00 00 45 00 6D 00 70 00 74 00 79 00 00 \
00 65 00 78 00 63 00 6C 00 61 00 6D 00 00 00 \
69 00 6E 00 66 00 62 00 65 00 67 00 00 00 69 \
00 6E 00 66 00 65 00 6E 00 64 00 00 00 69 00 \
6E 00 66 00 69 00 6E 00 74 00 72 00 00 00 4D \
00 65 00 6E 00 75 00 50 00 6F 00 70 00 00 00 \
4D 00 65 00 6E 00 75 00 53 00 65 00 6C 00 00 \
00 4F 00 70 00 65 00 6E 00 50 00 72 00 6F 00 \
67 00 00 00 71 00 75 00 65 00 73 00 74 00 69 \
00 6F 00 6E 00 00 00 4E 00 65 00 74 00 62 00 \
65 00 67 00 00 00 4E 00 65 00 74 00 65 00 6E \
00 64 00 00 00 4E 00 65 00 74 00 69 00 6E 00 \
74 00 72 00 00 00 73 00 74 00 61 00 72 00 74 \
00 75 00 70 00 00 00 57 00 69 00 6E 00 64 00 \
4D 00 61 00 78 00 00 00 57 00 69 00 6E 00 64 \
00 4D 00 69 00 6E 00 00 00 52 00 65 00 63 00 \
53 00 74 00 61 00 72 00 74 00 00 00 52 00 65 \
00 63 00 45 00 6E 00 64 00 00 00 00 00
".Scheme"=".AllSounds"
"Curr0"=hex(7):\
61 00 6C 00 61 00 72 00 6D 00 32 00 00 00 00 \
00 61 00 6C 00 61 00 72 00 6D 00 32 00 00 00 \
64 00 65 00 66 00 61 00 75 00 6C 00 74 00 00 \
00 45 00 6D 00 70 00 74 00 79 00 00 00 61 00 \
6C 00 61 00 72 00 6D 00 32 00 00 00 69 00 6E \
00 66 00 62 00 65 00 67 00 00 00 69 00 6E 00 \
66 00 65 00 6E 00 64 00 00 00 69 00 6E 00 66 \
00 65 00 6E 00 64 00 00 00 00 00 00 00 00 00 \
61 00 6C 00 61 00 72 00 6D 00 32 00 00 00 69 \
00 6E 00 66 00 62 00 65 00 67 00 00 00 69 00 \
6E 00 66 00 65 00 6E 00 64 00 00 00 69 00 6E \
00 66 00 65 00 6E 00 64 00 00 00 61 00 6C 00 \
61 00 72 00 6D 00 32 00 00 00 00 00 00 00 76 \
00 6F 00 69 00 63 00 62 00 65 00 65 00 70 00 \
00 00 52 00 65 00 63 00 45 00 6E 00 64 00 00 \
00 00 00
"EventCache"=dword:00000600
"EventMask"=dword:00ffffff
[HKEY_LOCAL_MACHINE\Snd\Scheme]
".AllSounds"="All Sounds"
"Curr0"="Current Settings"
[HKEY_LOCAL_MACHINE\Snd\Support]
"SupportLevel"=dword:00000002
"VibSup"=dword:00000001
I tried entering them manually, entered Sounds and Notifications and pressed OK, but still no sound when I press the Start button.
Anyone can maybe make a cab file that installs these registry entries? I've never done a cab file for CE myself but will be giving it a go in the meantime.
mn6 doesn't install under wm6. any solution????????? need a navigation software that works under wm6
Same here, I oalso could not import the regisry file
Igo and Route 66
ndCChris said:
mn6 doesn't install under wm6. any solution????????? need a navigation software that works under wm6
Click to expand...
Click to collapse
I use last Nghianga wm6 rom. Igo and Route 66 work OK.
kta said:
Has anyone managed to import the soundreg fix? Resco Explorer gives an error when trying to import the file, while PHM registry editor has the Import function grayed out.
So opened the reg file and found it to contain the following:
Code:
[HKEY_LOCAL_MACHINE\Snd]
[HKEY_LOCAL_MACHINE\Snd\Event]
".AllSounds"=hex(7):\
41 00 73 00 74 00 65 00 72 00 69 00 73 00 6B \
00 00 00 43 00 6C 00 6F 00 73 00 65 00 00 00 \
63 00 72 00 69 00 74 00 69 00 63 00 61 00 6C \
00 00 00 64 00 65 00 66 00 61 00 75 00 6C 00 \
74 00 00 00 45 00 6D 00 70 00 74 00 79 00 00 \
00 65 00 78 00 63 00 6C 00 61 00 6D 00 00 00 \
69 00 6E 00 66 00 62 00 65 00 67 00 00 00 69 \
00 6E 00 66 00 65 00 6E 00 64 00 00 00 69 00 \
6E 00 66 00 69 00 6E 00 74 00 72 00 00 00 4D \
00 65 00 6E 00 75 00 50 00 6F 00 70 00 00 00 \
4D 00 65 00 6E 00 75 00 53 00 65 00 6C 00 00 \
00 4F 00 70 00 65 00 6E 00 50 00 72 00 6F 00 \
67 00 00 00 71 00 75 00 65 00 73 00 74 00 69 \
00 6F 00 6E 00 00 00 4E 00 65 00 74 00 62 00 \
65 00 67 00 00 00 4E 00 65 00 74 00 65 00 6E \
00 64 00 00 00 4E 00 65 00 74 00 69 00 6E 00 \
74 00 72 00 00 00 73 00 74 00 61 00 72 00 74 \
00 75 00 70 00 00 00 57 00 69 00 6E 00 64 00 \
4D 00 61 00 78 00 00 00 57 00 69 00 6E 00 64 \
00 4D 00 69 00 6E 00 00 00 52 00 65 00 63 00 \
53 00 74 00 61 00 72 00 74 00 00 00 52 00 65 \
00 63 00 45 00 6E 00 64 00 00 00 00 00
".Scheme"=".AllSounds"
"Curr0"=hex(7):\
61 00 6C 00 61 00 72 00 6D 00 32 00 00 00 00 \
00 61 00 6C 00 61 00 72 00 6D 00 32 00 00 00 \
64 00 65 00 66 00 61 00 75 00 6C 00 74 00 00 \
00 45 00 6D 00 70 00 74 00 79 00 00 00 61 00 \
6C 00 61 00 72 00 6D 00 32 00 00 00 69 00 6E \
00 66 00 62 00 65 00 67 00 00 00 69 00 6E 00 \
66 00 65 00 6E 00 64 00 00 00 69 00 6E 00 66 \
00 65 00 6E 00 64 00 00 00 00 00 00 00 00 00 \
61 00 6C 00 61 00 72 00 6D 00 32 00 00 00 69 \
00 6E 00 66 00 62 00 65 00 67 00 00 00 69 00 \
6E 00 66 00 65 00 6E 00 64 00 00 00 69 00 6E \
00 66 00 65 00 6E 00 64 00 00 00 61 00 6C 00 \
61 00 72 00 6D 00 32 00 00 00 00 00 00 00 76 \
00 6F 00 69 00 63 00 62 00 65 00 65 00 70 00 \
00 00 52 00 65 00 63 00 45 00 6E 00 64 00 00 \
00 00 00
"EventCache"=dword:00000600
"EventMask"=dword:00ffffff
[HKEY_LOCAL_MACHINE\Snd\Scheme]
".AllSounds"="All Sounds"
"Curr0"="Current Settings"
[HKEY_LOCAL_MACHINE\Snd\Support]
"SupportLevel"=dword:00000002
"VibSup"=dword:00000001
I tried entering them manually, entered Sounds and Notifications and pressed OK, but still no sound when I press the Start button.
Anyone can maybe make a cab file that installs these registry entries? I've never done a cab file for CE myself but will be giving it a go in the meantime.
Click to expand...
Click to collapse
I tied to import the registry using SKTools and it didn't return any error, but still no sound on the start menu...
ndCChris said:
mn6 doesn't install under wm6. any solution????????? need a navigation software that works under wm6
Click to expand...
Click to collapse
mn6 together wm6 functions, but does not run mn 6.1. Tomtom 6 also runs
Password Issue...
Hi,
I installed this ROM last night and this morning the phone wouldn't unlock at all had to hard reset. Has anyone else had this problem? If so does anyone know of a fix for this?
Thanks.
kta said:
Has anyone managed to import the soundreg fix? Resco Explorer gives an error when trying to import the file, while PHM registry editor has the Import function grayed out.
So opened the reg file and found it to contain the following:
Code:
[HKEY_LOCAL_MACHINE\Snd]
[HKEY_LOCAL_MACHINE\Snd\Event]
".AllSounds"=hex(7):\
41 00 73 00 74 00 65 00 72 00 69 00 73 00 6B \
00 00 00 43 00 6C 00 6F 00 73 00 65 00 00 00 \
63 00 72 00 69 00 74 00 69 00 63 00 61 00 6C \
00 00 00 64 00 65 00 66 00 61 00 75 00 6C 00 \
74 00 00 00 45 00 6D 00 70 00 74 00 79 00 00 \
00 65 00 78 00 63 00 6C 00 61 00 6D 00 00 00 \
69 00 6E 00 66 00 62 00 65 00 67 00 00 00 69 \
00 6E 00 66 00 65 00 6E 00 64 00 00 00 69 00 \
6E 00 66 00 69 00 6E 00 74 00 72 00 00 00 4D \
00 65 00 6E 00 75 00 50 00 6F 00 70 00 00 00 \
4D 00 65 00 6E 00 75 00 53 00 65 00 6C 00 00 \
00 4F 00 70 00 65 00 6E 00 50 00 72 00 6F 00 \
67 00 00 00 71 00 75 00 65 00 73 00 74 00 69 \
00 6F 00 6E 00 00 00 4E 00 65 00 74 00 62 00 \
65 00 67 00 00 00 4E 00 65 00 74 00 65 00 6E \
00 64 00 00 00 4E 00 65 00 74 00 69 00 6E 00 \
74 00 72 00 00 00 73 00 74 00 61 00 72 00 74 \
00 75 00 70 00 00 00 57 00 69 00 6E 00 64 00 \
4D 00 61 00 78 00 00 00 57 00 69 00 6E 00 64 \
00 4D 00 69 00 6E 00 00 00 52 00 65 00 63 00 \
53 00 74 00 61 00 72 00 74 00 00 00 52 00 65 \
00 63 00 45 00 6E 00 64 00 00 00 00 00
".Scheme"=".AllSounds"
"Curr0"=hex(7):\
61 00 6C 00 61 00 72 00 6D 00 32 00 00 00 00 \
00 61 00 6C 00 61 00 72 00 6D 00 32 00 00 00 \
64 00 65 00 66 00 61 00 75 00 6C 00 74 00 00 \
00 45 00 6D 00 70 00 74 00 79 00 00 00 61 00 \
6C 00 61 00 72 00 6D 00 32 00 00 00 69 00 6E \
00 66 00 62 00 65 00 67 00 00 00 69 00 6E 00 \
66 00 65 00 6E 00 64 00 00 00 69 00 6E 00 66 \
00 65 00 6E 00 64 00 00 00 00 00 00 00 00 00 \
61 00 6C 00 61 00 72 00 6D 00 32 00 00 00 69 \
00 6E 00 66 00 62 00 65 00 67 00 00 00 69 00 \
6E 00 66 00 65 00 6E 00 64 00 00 00 69 00 6E \
00 66 00 65 00 6E 00 64 00 00 00 61 00 6C 00 \
61 00 72 00 6D 00 32 00 00 00 00 00 00 00 76 \
00 6F 00 69 00 63 00 62 00 65 00 65 00 70 00 \
00 00 52 00 65 00 63 00 45 00 6E 00 64 00 00 \
00 00 00
"EventCache"=dword:00000600
"EventMask"=dword:00ffffff
[HKEY_LOCAL_MACHINE\Snd\Scheme]
".AllSounds"="All Sounds"
"Curr0"="Current Settings"
[HKEY_LOCAL_MACHINE\Snd\Support]
"SupportLevel"=dword:00000002
"VibSup"=dword:00000001
I tried entering them manually, entered Sounds and Notifications and pressed OK, but still no sound when I press the Start button.
Anyone can maybe make a cab file that installs these registry entries? I've never done a cab file for CE myself but will be giving it a go in the meantime.
Click to expand...
Click to collapse
I had to put a header in the file like this.. then it worked
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Snd]
[HKEY_LOCAL_MACHINE\Snd\Scheme]
".AllSounds"="All Sounds"
[HKEY_LOCAL_MACHINE\Snd\Event]
".Scheme"=".AllSounds"
".AllSounds"=hex(7):41,00,73,00,74,00,65,00,72,00,69,00,73,00,6B,00,00,00,43,00,6C,00,6F,\
00,73,00,65,00,00,00,63,00,72,00,69,00,74,00,69,00,63,00,61,00,6C,00,00,00,\
64,00,65,00,66,00,61,00,75,00,6C,00,74,00,00,00,45,00,6D,00,70,00,74,00,79,\
00,00,00,65,00,78,00,63,00,6C,00,61,00,6D,00,00,00,69,00,6E,00,66,00,62,00,\
65,00,67,00,00,00,69,00,6E,00,66,00,65,00,6E,00,64,00,00,00,69,00,6E,00,66,\
00,69,00,6E,00,74,00,72,00,00,00,4D,00,65,00,6E,00,75,00,50,00,6F,00,70,00,\
00,00,4D,00,65,00,6E,00,75,00,53,00,65,00,6C,00,00,00,4F,00,70,00,65,00,6E,\
00,50,00,72,00,6F,00,67,00,00,00,71,00,75,00,65,00,73,00,74,00,69,00,6F,00,\
6E,00,00,00,4E,00,65,00,74,00,62,00,65,00,67,00,00,00,4E,00,65,00,74,00,65,\
00,6E,00,64,00,00,00,4E,00,65,00,74,00,69,00,6E,00,74,00,72,00,00,00,73,00,\
74,00,61,00,72,00,74,00,75,00,70,00,00,00,57,00,69,00,6E,00,64,00,4D,00,61,\
00,78,00,00,00,57,00,69,00,6E,00,64,00,4D,00,69,00,6E,00,00,00,52,00,65,00,\
63,00,53,00,74,00,61,00,72,00,74,00,00,00,52,00,65,00,63,00,45,00,6E,00,64,\
00,00,00,00
"EventMask"=dword:00FFFFFF
"EventCache"=dword:00000600
[HKEY_LOCAL_MACHINE\Snd\Support]
"VibSup"=dword:00000001
"SupportLevel"=dword:00000002
I am having bluetooth and wifi issues. Sometimes (not always) after a soft reset, my headset still shows as paired but the phone is not able to see it there. I have to remove the pairing and repair.
Wifi also seems to forget my WEP code each time.
Anyone have or have resolved these issues?
O2 Neo G4
Cheers
Hi....Just installed this ROM a few hours ago....everything seems to be working fine....except for Live Messenger....and windows updates... are these known issues?? If there are any fixes/patches, would appreciate a link to info on the smae...Many Thanks
mrao said:
Hi....Just installed this ROM a few hours ago....everything seems to be working fine....except for Live Messenger....and windows updates... are these known issues?? If there are any fixes/patches, would appreciate a link to info on the smae...Many Thanks
Click to expand...
Click to collapse
There is no fix for those issues at the moment. The MSN issue has to do with the fact that the Model Name is not specified correctly in this ROM.
This ROM works better for me than SMART1's ROM.
Except from the IR problem I also have the problem of disappearing messages
When I soft reset using the Stylus SMS messages disappear, however when I'm reseting my device using f.e. PHM Power Toys the messages won't disappear..
mccune said:
This ROM works better for me than SMART1's ROM.
Except from the IR problem I also have the problem of disappearing messages
When I soft reset using the Stylus SMS messages disappear, however when I'm reseting my device using f.e. PHM Power Toys the messages won't disappear..
Click to expand...
Click to collapse
When I first upgraded from WM2003 to WM5, I had the same problem. But it turns out it's because of delayed write to the flash if you soft reset to quickly. Now I always reset via Wisbar lite soft reset.
Well i've read that now quite some times and there is one thing that pops straight into my mind when reading all the "i'm loosing my data" stuff.
I assume quite some people use the registry performance tweaks available.
Afaiu at least 1 of these enalbes cached writing!
Well it's fine to cache data when it comes to performance (no matter if you're reading or writing it), there are quite some reasons why it's speeding things up things BUT:
Everytime you are caching Data on a non-persistant Storage you risk loosing that data when resetting before everything ist written back to persistant storage.
And i assume that could be pretty the reason why some people are loosing their data.
The System or an Application freezes for some reason, People are softresetting, and everything that was in the cache at that point ist simply lost.
That doesn't happen when you're shutting down the system regularly cos' it writes back everything then, but on resetting it can't (which is quite obvious).
And that's the point why i never thought about enabling caching.
BTW: Some of you may know that from external Harddrives (USB/Firewire)
If you enable Cached Writing they are WAY faster than without, BUT if someone just plugs em out without releasing them before you loose data (cos of open MFT, partially written data etc).

Goldcard Example for G1

Hi,
I'm an Australian user of the Optus Dream / G1.
I've searched on here as well as Google in general to try and find an example of a goldcard. Whenever I make mine, windows *****es that it cannot read the device to load the dreaming file on. I just want to find out if i'm on the right track.
Ok, so here's the CID straight from terminal emulator:
Code:
0353445355303147801060c16d009198
and now, reversed with 00 at the start:
Code:
0091006dc16010804731305553445303
I load this into qmat and generate this goldcard:
Code:
6F E9 DB F4 62 CF 43 51 09 60 42 63 C6 5E 17 A8
39 68 F0 67 A8 40 85 41 4D BE 7D 74 2E 28 81 02
FB 98 90 61 C8 DD 02 A0 46 12 FF AB 02 F6 E9 0A
C3 37 09 00 7D 62 10 4C 3F 66 F2 F2 D5 D2 F8 0E
67 FD DC 18 4E D8 B3 49 74 AA 58 B9 06 9E 57 E8
79 A8 30 A7 E8 80 C5 81 8D FE BD B4 6E 68 C1 42
3B D8 D0 A1 08 0D 2B 96 97 30 4F 19 52 54 F9 4A
03 77 49 40 BD A2 50 8C 7F A6 32 32 92 ED AB F4
53 41 30 30 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 5F 00 9E 00 00 00 00 00 00
75 00 00 00 00 A5 7E 00 00 00 00 00 00 00 00 00
00 D8 2D 00 00 00 00 00 00 00 00 00 00 8F CD 07
42 00 00 00 00 00 00 00 00 00 00 00 00 82 00 00
00 00 00 00 00 00 00 00 00 00 00 00 52 28 7D 3C
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 FF FF FF FF FF FF FF FF 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
(the goldcard is x180 long)
This is what the first x180 of my SD card looks like when it is freshly formatted to FAT32 and opened in hxD:
Code:
EB 58 90 4D 53 44 4F 53 35 2E 30 00 02 08 0C 11
02 00 00 00 00 F8 00 00 3F 00 FF 00 00 20 00 00
BB 06 1E 00 7A 07 00 00 00 00 00 00 02 00 00 00
01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00
80 00 29 C6 28 D5 F6 4E 4F 20 4E 41 4D 45 20 20
20 20 46 41 54 33 32 20 20 20 33 C9 8E D1 BC F4
7B 8E C1 8E D9 BD 00 7C 88 4E 02 8A 56 40 B4 41
BB AA 55 CD 13 72 10 81 FB 55 AA 75 0A F6 C1 01
74 05 FE 46 02 EB 2D 8A 56 40 B4 08 CD 13 73 05
B9 FF FF 8A F1 66 0F B6 C6 40 66 0F B6 D1 80 E2
3F F7 E2 86 CD C0 ED 06 41 66 0F B7 C9 66 F7 E1
66 89 46 F8 83 7E 16 00 75 38 83 7E 2A 00 77 32
66 8B 46 1C 66 83 C0 0C BB 00 80 B9 01 00 E8 2B
00 E9 2C 03 A0 FA 7D B4 7D 8B F0 AC 84 C0 74 17
3C FF 74 09 B4 0E BB 07 00 CD 10 EB EE A0 FB 7D
EB E5 A0 F9 7D EB E0 98 CD 16 CD 19 66 60 80 7E
02 00 0F 84 20 00 66 6A 00 66 50 06 53 66 68 10
00 01 00 B4 42 8A 56 40 8B F4 CD 13 66 58 66 58
66 58 66 58 EB 33 66 3B 46 F8 72 03 F9 EB 2A 66
33 D2 66 0F B7 4E 18 66 F7 F1 FE C2 8A CA 66 8B
D0 66 C1 EA 10 F7 76 1A 86 D6 8A 56 40 8A E8 C0
E4 06 0A CC B8 01 02 CD 13 66 61 0F 82 75 FF 81
C3 00 02 66 40 49 75 94 C3 42 4F 4F 54 4D 47 52
20 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00
Now, various instructions (that I cannot link to being a new user) I have seen say to copy the first x170 of the goldcard to the sdcard. But the goldcard is x180 long???
Anyway, I've tried both (copying x180 and x170), and that doesn't work. I've tried adding replacing the first byte of the reversed CID with "00", and not replacing it, and neither work.
TL;DR: Does the above goldcard and unmodified SD card look like yours?
can't you just flash that nbh img from bootloader?
not sure how much different australian g1s from US. but I didn't use gold card in rooting my g1.
Did you try this?
xtenpeben said:
can't you just flash that nbh img from bootloader?
not sure how much different australian g1s from US. but I didn't use gold card in rooting my g1.
Click to expand...
Click to collapse
I tried that, but when I reboot and hold the camera button it comes up and says "Not allowed"
nk111 said:
Did you try this?
Click to expand...
Click to collapse
Yes I tried the online goldcard generator, same results on all fronts.
I have also tried different SD Cards, a 2gb Kingston and a 1gb sandisk
The best this is to use qmat to do the reverse string thingie.
I had done it a lot of times manually, but failed every time.
After using qmat I got it to work.
Hello,
I can not check your goldcard right now because I am on my phone, but I think this is not your problem. If windows complains about beeing not able to read the drive, you most likely copied your goldcard to the wrong part of the disk.
You have to overwrite the first 170 Byte of your sd Card. It is important that you do not choose the logical drive (say drive letter e: for example) but the actual physical drive with your sdcard (should not have a drive letter)
I just assume this is your problem. Maybe you could pos the first bytes of your selected drive and tell us what you did.
edit: ah you did post that. The first bytes should be a bunch of 0s. Check what I stated above and tell us if you still have problems.
Please try my software: http://www.mediafire.com/download.php?mzqdyrtmimj
I bet its wether a mistake in the transcription of the CID or you havent used the physical drive. If the sd card has to be formated, it wont work.
I just got mine to work. My problem was same as yours, my mistake was using "logical disk" instead of physical in HxD. I also switched my sd card to older 1gb that I formatted first in a camera (fat16) then formatted in vista to fat32 right before writing the 170 bytes (length: 180). Save after you copy paste the hex but dont close. put the DREAIMG.nhb on it first then close HxD, then "safely remove"
This worked for me but I struggled until I got here, made so many mistakes. Good Luck.
goldcard is really x180 long just
copy all 00 00 00 00 ... from x170 to x180 and save
thanks man you are the best
you have an extra 3 at the end in the reversed code.. lol

How do I change this font?

I'm trying to change the font color in the notification bar that says when you are downloading/installing a new app, and when you get an email, and when you plug in your USB and so forth. I'm not sure if it's part of the framework or services or a crazy mod with XML editing and re-compiling apk's like in the BlueSteel thread. I still want to keep everything else in the pull down bar the same though...
Explodee said:
I'm trying to change the font color in the notification bar that says when you are downloading/installing a new app, and when you get an email, and when you plug in your USB and so forth. I'm not sure if it's part of the framework or services or a crazy mod with XML editing and re-compiling apk's like in the BlueSteel thread. I still want to keep everything else in the pull down bar the same though...
Click to expand...
Click to collapse
So your not dead I was about to call in a search party!
O, and i dunno about the font... Im guessing its tied in with all the other fonts and to change that one the system font must be changed.
Haha zombiefied and running 2.2 finally. Workin on Froyo Dynamite, stay tuned...
Anybody? This is the last thing I need before my theme can be completed...
It's an XML edit. Look in framewrok-res.apk > res > layout > status_bar_latest_event.xml. Open it in a Hex editor, and look for the values 08 00 00 1C, everything after that should be 00 00 00. Change the 00 00 00s to FF FF FF. Or you can download the framework-res.apk from my SenseX theme, and just swap out the images.
I think he was asking about actual fonts, not color.
Fonts are located in system/fonts pull them from your phone, look at which one is the one that needs to be changed then push the one you want (with correct file name of course )
I actually did mean the color. Thanks guys
Sent from my DROIDX
I'm having some trouble finding the string. I don't see anywhere in here 08 00 00 1C. I also put the file from the SenseX theme in there an there was no difference when I pushed framework-res.apk.
03 00 08 00 50 03 00 00 01 00 1C 00 38 01 00 00 0E 00 00 00 00 00 00 00 00 01 00 00 54 00 00 00 00 00 00 00 00 00 00 00 0F 00 00 00 1F 00 00 00 2D 00 00 00 32 00 00 00 3F 00 00 00 4B 00 00 00 57 00 00 00 66 00 00 00 70 00 00 00 9D 00 00 00 A0 00 00 00 AF 00 00 00 DA 00 00 00 0C 0C 6C 61 79 6F 75 74 5F 77 69 64 74 68 00 0D 0D 6C 61 79 6F 75 74 5F 68 65 69 67 68 74 00 0B 0B 6F 72 69 65 6E 74 61 74 69 6F 6E 00 02 02 69 64 00 0A 0A 62 61 63 6B 67 72 6F 75 6E 64 00 09 09 66 6F 63 75 73 61 62 6C 65 00 09 09 63 6C 69 63 6B 61 62 6C 65 00 0C 0C 70 61 64 64 69 6E 67 52 69 67 68 74 00 07 07 61 6E 64 72 6F 69 64 00 2A 2A 68 74 74 70 3A 2F 2F 73 63 68 65 6D 61 73 2E 61 6E 64 72 6F 69 64 2E 63 6F 6D 2F 61 70 6B 2F 72 65 73 2F 61 6E 64 72 6F 69 64 00 00 00 00 0C 0C 4C 69 6E 65 61 72 4C 61 79 6F 75 74 00 28 28 63 6F 6D 2E 61 6E 64 72 6F 69 64 2E 73 65 72 76 65 72 2E 73 74 61 74 75 73 2E 4C 61 74 65 73 74 49 74 65 6D 56 69 65 77 00 04 04 56 69 65 77 00 00 00 00 80 01 08 00 28 00 00 00 F4 00 01 01 F5 00 01 01 C4 00 01 01 D0 00 01 01 D4 00 01 01 DA 00 01 01 E5 00 01 01 D8 00 01 01 00 01 10 00 18 00 00 00 01 00 00 00 FF FF FF FF 08 00 00 00 09 00 00 00 02 01 10 00 60 00 00 00 01 00 00 00 FF FF FF FF FF FF FF FF 0B 00 00 00 14 00 14 00 03 00 00 00 00 00 00 00 09 00 00 00 02 00 00 00 FF FF FF FF 08 00 00 10 01 00 00 00 09 00 00 00 00 00 00 00 FF FF FF FF 08 00 00 10 FF FF FF FF 09 00 00 00 01 00 00 00 FF FF FF FF 08 00 00 05 02 41 00 00 02 01 10 00 B0 00 00 00 07 00 00 00 FF FF FF FF FF FF FF FF 0C 00 00 00 14 00 14 00 07 00 00 00 00 00 00 00 09 00 00 00 03 00 00 00 FF FF FF FF 08 00 00 01 02 00 02 01 09 00 00 00 04 00 00 00 FF FF FF FF 08 00 00 01 8C 00 08 01 09 00 00 00 07 00 00 00 FF FF FF FF 08 00 00 05 02 06 00 00 09 00 00 00 05 00 00 00 FF FF FF FF 08 00 00 12 FF FF FF FF 09 00 00 00 06 00 00 00 FF FF FF FF 08 00 00 12 FF FF FF FF 09 00 00 00 00 00 00 00 FF FF FF FF 08 00 00 10 FF FF FF FF 09 00 00 00 01 00 00 00 FF FF FF FF 08 00 00 05 02 40 00 00 03 01 10 00 18 00 00 00 0F 00 00 00 FF FF FF FF FF FF FF FF 0C 00 00 00 02 01 10 00 60 00 00 00 11 00 00 00 FF FF FF FF FF FF FF FF 0D 00 00 00 14 00 14 00 03 00 00 00 00 00 00 00 09 00 00 00 04 00 00 00 FF FF FF FF 08 00 00 01 12 00 08 01 09 00 00 00 00 00 00 00 FF FF FF FF 08 00 00 10 FF FF FF FF 09 00 00 00 01 00 00 00 FF FF FF FF 08 00 00 05 02 01 00 00 03 01 10 00 18 00 00 00 15 00 00 00 FF FF FF FF FF FF FF FF 0D 00 00 00 03 01 10 00 18 00 00 00 17 00 00 00 FF FF FF FF FF FF FF FF 0B 00 00 00 01 01 10 00 18 00 00 00 17 00 00 00 FF FF FF FF 08 00 00 00 09 00 00 00
Got it. It wasnt status_bar_latest_event.xml is was just the status_bar.xml file
i thought that color was in the services.jar file... good to know
I think services.jar covers the clock, date, and pull down menu. But the xml files in the layout folder are for notifications.
Thx for the Hex info Ghost & the file name Explodee.
I just edited my framework-res to get the white to display also like the OP was asking about and it worked like a charm

[GUIDE] How to eliminate the slot of an A/B device (pre-Android 10) into Aonly device

This guide should be generic for all of Qualcomm A/B devices came with Android 9 or older out of box - in other words, devices with "super" partition are not applicable.
For some reason, if you prefer custom ROM rather than stock, or you want to get more storage space especially for 32GB or fewer devices, this should be a good start point.
I have never tested MediaTek or Unisoc devices, but for Qualcomm devices, this should work properly.
The point is, simply rename, eliminate and resize partitions so it will behave like A-only devices.
Devices with AVB1 need to repurpose these partitions:
Code:
boot_a -> boot
boot_b -> recovery
modem_a -> modem
modem_b -> (whatever you want)
bluetooth_a -> bluetooth
bluetooth_b -> (whatever you want)
dsp_a -> dsp
dsp_b -> dsp
mdtp_a -> mdtp
mdtp_b -> (whatever you want)
system_a -> system
vendor_a -> vendor
system_b -> (eliminated)
vendor_b -> (eliminated)
userdata -> enlarged
Devices with AVB2 need to repurpose these partitions additionally:
Code:
dtbo_a -> dtbo
dtbo_b -> (whatever you want)
vbmeta_a -> vbmeta
vbmeta_b -> (whatever you want)
MediaTek and Unisoc devices may have few more different partitions, may need to take care of them individually.
Few OEMs may have minor differences on few partitions - for example, HTC renamed modem to radio.
I know there's one device with such paranoid partition layout, that is Blackberry Key 2 (BBF100). I was wondering if using such paranoid partition layout on other A/B devices will make it behave like A-only devices, and the answer is yes.
To readers who want to check partition table of Blackberry Key 2, please unhide following content.
Code:
Sector size (logical): 512 bytes
Disk identifier (GUID): 85AF7333-4C28-063E-1A0A-A25F7F0A55C7
Partition table holds up to 80 entries
Main partition table begins at sector 2 and ends at sector 21
First usable sector is 34, last usable sector is 122142686
Partitions will be aligned on 8-sector boundaries
Total free space is 27642 sectors (13.5 MiB)
Number Start (sector) End (sector) Size Code Name
1 40 16383 8.0 MiB FFFF padding0
2 16384 18431 1024.0 KiB FFFF traceability
3 18432 32767 7.0 MiB FFFF padding1
4 32768 40959 4.0 MiB A02A fsg
5 40960 43007 1024.0 KiB FFFF dip
6 43008 43015 4.0 KiB A021 devinfo
7 43016 43527 256.0 KiB A022 apdp
8 43528 44039 256.0 KiB A023 msadp
9 44040 44041 1024 bytes A024 dpo
10 44048 110895 32.6 MiB FFFF splash
11 110896 110903 4.0 KiB A040 limits
12 110904 112951 1024.0 KiB FFFF toolsfv
13 112952 114999 1024.0 KiB A01A ddr
14 115000 115031 16.0 KiB A01D sec
15 115032 115287 128.0 KiB FFFF storsec
16 115288 123479 4.0 MiB FFFF tunning
17 123480 123983 252.0 KiB FFFF prdid
18 123984 124487 252.0 KiB FFFF boardid
19 124488 124615 64.0 KiB FFFF vbmeta
20 124616 126663 1024.0 KiB FFFF bluetooth
21 126664 159431 16.0 MiB FFFF dsp
22 159432 224967 32.0 MiB FFFF mdtp
23 224968 356039 64.0 MiB A036 boot
24 356040 581319 110.0 MiB 0700 modem
25 581320 581327 4.0 KiB FFFF bootsig
26 581328 589823 4.1 MiB FFFF padding2
27 589824 596991 3.5 MiB A012 xbl_a
28 596992 605183 4.0 MiB A016 tz_a
29 605184 606207 512.0 KiB A018 rpm_a
30 606208 607231 512.0 KiB A017 hyp_a
31 607232 608255 512.0 KiB A01E pmic_a
32 608256 610303 1024.0 KiB FFFF keymaster_a
33 610304 612351 1024.0 KiB FFFF cmnlib_a
34 612352 614399 1024.0 KiB FFFF cmnlib64_a
35 614400 622591 4.0 MiB FFFF mdtpsecapp_a
36 622592 624639 1024.0 KiB FFFF devcfg_a
37 624640 626687 1024.0 KiB FFFF abl_a
38 626688 638975 6.0 MiB FFFF padding3
39 638976 646143 3.5 MiB FFFF xbl_b
40 646144 654335 4.0 MiB FFFF tz_b
41 654336 655359 512.0 KiB FFFF rpm_b
42 655360 656383 512.0 KiB FFFF hyp_b
43 656384 657407 512.0 KiB FFFF pmic_b
44 657408 659455 1024.0 KiB FFFF keymaster_b
45 659456 661503 1024.0 KiB FFFF cmnlib_b
46 661504 663551 1024.0 KiB FFFF cmnlib64_b
47 663552 671743 4.0 MiB FFFF mdtpsecapp_b
48 671744 673791 1024.0 KiB FFFF devcfg_b
49 673792 675839 1024.0 KiB FFFF abl_b
50 688128 704511 8.0 MiB FFFF logfs
51 704512 704513 1024 bytes A029 fsc
52 704520 704535 8.0 KiB A02C ssd
53 704536 770071 32.0 MiB A026 persist
54 770072 772119 1024.0 KiB A01F misc
55 772120 773143 512.0 KiB A02D keystore
56 773144 774167 512.0 KiB FFFF frp
57 774168 905231 64.0 MiB A025 recovery
58 905232 905239 4.0 KiB FFFF recoverysig
59 905240 946199 20.0 MiB FFFF hdcp
60 946200 1048599 50.0 MiB FFFF oempersist
61 1048600 1179671 64.0 MiB FFFF logdump
62 1179672 1183767 2.0 MiB FFFF sti
63 1183768 1445911 128.0 MiB A01C rawdump
64 1445912 1454103 4.0 MiB A027 modemst1
65 1454104 1462295 4.0 MiB A028 modemst2
66 1462296 1462807 256.0 KiB FFFF perm
67 1462808 1463319 256.0 KiB FFFF nvuser
68 1463320 1465367 1024.0 KiB FFFF metadata
69 1465368 1498135 16.0 MiB FFFF rcause
70 1498136 1522711 12.0 MiB FFFF bcota
71 1522712 1524759 1024.0 KiB FFFF blog
72 1524760 1565719 20.0 MiB FFFF bbpersist
73 1572864 9142271 3.6 GiB FFFF system
74 9142272 10780671 800.0 MiB FFFF vendor
75 10780672 13033471 1.1 GiB FFFF oem
76 13041664 15138815 1024.0 MiB A039 cache
77 15138816 122142686 51.0 GiB A03A userdata
Now let's get started with the modding procedure.
Step 1: Get the gpt_both0.bin
This can be found from your stock firmware. If it doesn't exist, you have to dump it. Take the phone with eMMC storage for example:
Code:
dd if=/dev/block/mmcblk0 of=/storage/emulated/0/gpt_both0.bin bs=512 count=67
For devices with UFS storage, you have to get gpt_both0.bin - gpt_both5.bin from stock firmware or dump from /dev/block/sda ~ /dev/block/sdf.
If it's dumped from the phone, save it to a safe place to ensure we can restore partition table anytime we want.
Step 2: Hack the gpt_both0.bin (or gpt_both*.bin for UFS storage) - rename partitions
Make a copy of the gpt_both0.bin and use Hex Editor to open the gpt_both0.bin.
The actual partition table is separated into 2 parts, one is main partition table, another is backup.
main partition table is located between these offsets: 0x400~0x43FF
backup partition table is located between these offsets: 0x4400~0x83FF
As contents of 0x400~0x43FF and 0x4400~0x83FF are identical, we just need to edit the content between 0x400~0x43FF, then copy what we have done between 0x400~0x43FF and overwrite into 0x4400~0x83FF.
Every 0x7F content between 0x400~0x43FF is information of a partition. Take this for example:
Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000 D4 6C 03 77 D5 03 BB 42 8E D1 37 E5 A8 8B AA 34 Ôl.wÕ.»BŽÑ7娋ª4
00000010 E7 1F 76 6E 50 DA DC 52 E6 6E 63 D4 6C 4D 06 C5 ç.vnPÚÜRæncÔlM.Å
00000020 00 10 10 00 00 00 00 00 FF 0F 12 00 00 00 00 00 ........ÿ.......
00000030 00 00 00 00 00 00 00 00 62 00 6F 00 6F 00 74 00 ........b.o.o.t.
00000040 5F 00 62 00 00 00 00 00 00 00 00 00 00 00 00 00 _.b.............
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0~0x1F - GUID of the partition.
0x20~0x27 - Begin offset in reversed order. The unit is KiB. In this case, the begin offset is 0x0000000000101000.
0x28~0x2F - End offset in reversed order. In this case, the end offset is 0x0000000000120FFF.
0x38~0x7F - Partition label. Every character of the partition label need to be separated with 0x00.
Always remember to use the calculator came with BASE-N function (including Windows Calculator and many high-end scientific calculator) to calculate the length of partitions, so we can resize in the next step.
In this part, we will need to rename few partitions.
Take the boot_a and boot_b partitions for example. Just simply rename the partition label.
Before:
Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00001D80 86 7F 11 20 85 E9 57 43 B9 EE 37 4B C1 D8 48 7D †.. …éWC¹î7KÁØH}
00001D90 12 B0 CE 25 F6 D5 85 67 BC 87 81 4E 99 D2 CD 24 .°Î%öÕ…g¼‡.N™ÒÍ$
00001DA0 00 10 0E 00 00 00 00 00 FF 0F 10 00 00 00 00 00 ........ÿ.......
00001DB0 00 00 00 00 00 00 00 00 62 00 6F 00 6F 00 74 00 ........b.o.o.t.
00001DC0 5F 00 61 00 00 00 00 00 00 00 00 00 00 00 00 00 _.a.............
00001DD0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00001DE0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00001DF0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00001E00 D4 6C 03 77 D5 03 BB 42 8E D1 37 E5 A8 8B AA 34 Ôl.wÕ.»BŽÑ7娋ª4
00001E10 E7 1F 76 6E 50 DA DC 52 E6 6E 63 D4 6C 4D 06 C5 ç.vnPÚÜRæncÔlM.Å
00001E20 00 10 10 00 00 00 00 00 FF 0F 12 00 00 00 00 00 ........ÿ.......
00001E30 00 00 00 00 00 00 00 00 62 00 6F 00 6F 00 74 00 ........b.o.o.t.
00001E40 5F 00 62 00 00 00 00 00 00 00 00 00 00 00 00 00 _.b.............
00001E50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00001E60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00001E70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
After:
Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00001D80 86 7F 11 20 85 E9 57 43 B9 EE 37 4B C1 D8 48 7D †.. …éWC¹î7KÁØH}
00001D90 12 B0 CE 25 F6 D5 85 67 BC 87 81 4E 99 D2 CD 24 .°Î%öÕ…g¼‡.N™ÒÍ$
00001DA0 00 10 0E 00 00 00 00 00 FF 0F 10 00 00 00 00 00 ........ÿ.......
00001DB0 00 00 00 00 00 00 00 00 62 00 6F 00 6F 00 74 00 ........b.o.o.t.
00001DC0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00001DD0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00001DE0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00001DF0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00001E00 D4 6C 03 77 D5 03 BB 42 8E D1 37 E5 A8 8B AA 34 Ôl.wÕ.»BŽÑ7娋ª4
00001E10 E7 1F 76 6E 50 DA DC 52 E6 6E 63 D4 6C 4D 06 C5 ç.vnPÚÜRæncÔlM.Å
00001E20 00 10 10 00 00 00 00 00 FF 0F 12 00 00 00 00 00 ........ÿ.......
00001E30 00 00 00 00 00 00 00 00 72 00 65 00 63 00 6F 00 ........r.e.c.o.
00001E40 76 00 65 00 72 00 79 00 00 00 00 00 00 00 00 00 v.e.r.y.........
00001E50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00001E60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00001E70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
As for modem_a and modem_b, here's what I did. You should do the same for bluetooth, dsp and mdtp partitions.
Before:
Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000800 A2 A0 D0 EB E5 B9 33 44 87 C0 68 B6 B7 26 99 C7 ¢*Ðëå¹3D‡Àh¶·&™Ç
00000810 2B 1D C0 46 24 90 83 B6 96 0B B5 1F 35 4B 61 FF +.ÀF$.ƒ¶–.µ.5Kaÿ
00000820 00 10 02 00 00 00 00 00 FF 7F 05 00 00 00 00 00 ........ÿ.......
00000830 00 00 00 00 00 00 00 10 6D 00 6F 00 64 00 65 00 ........m.o.d.e.
00000840 6D 00 5F 00 61 00 00 00 00 00 00 00 00 00 00 00 m._.a...........
00000850 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000870 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000880 D4 6C 03 77 D5 03 BB 42 8E D1 37 E5 A8 8B AA 34 Ôl.wÕ.»BŽÑ7娋ª4
00000890 E7 52 D4 C9 31 F9 55 9D F6 A4 56 78 36 07 85 99 çRÔÉ1ùU.ö¤Vx6.…™
000008A0 00 80 05 00 00 00 00 00 FF EF 08 00 00 00 00 00 .€......ÿï......
000008B0 00 00 00 00 00 00 00 10 6D 00 6F 00 64 00 65 00 ........m.o.d.e.
000008C0 6D 00 5F 00 62 00 00 00 00 00 00 00 00 00 00 00 m._.b...........
000008D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000008E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000008F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
After:
Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000800 A2 A0 D0 EB E5 B9 33 44 87 C0 68 B6 B7 26 99 C7 ¢*Ðëå¹3D‡Àh¶·&™Ç
00000810 2B 1D C0 46 24 90 83 B6 96 0B B5 1F 35 4B 61 FF +.ÀF$.ƒ¶–.µ.5Kaÿ
00000820 00 10 02 00 00 00 00 00 FF 7F 05 00 00 00 00 00 ........ÿ.......
00000830 00 00 00 00 00 00 00 10 6D 00 6F 00 64 00 65 00 ........m.o.d.e.
00000840 6D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 m...............
00000850 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000870 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000880 D4 6C 03 77 D5 03 BB 42 8E D1 37 E5 A8 8B AA 34 Ôl.wÕ.»BŽÑ7娋ª4
00000890 E7 52 D4 C9 31 F9 55 9D F6 A4 56 78 36 07 85 99 çRÔÉ1ùU.ö¤Vx6.…™
000008A0 00 80 05 00 00 00 00 00 FF EF 08 00 00 00 00 00 .€......ÿï......
000008B0 00 00 00 00 00 00 00 10 65 00 6C 00 69 00 6D 00 ........e.l.i.m.
000008C0 69 00 6E 00 61 00 74 00 65 00 64 00 5F 00 6D 00 i.n.a.t.e.d._.m.
000008D0 6F 00 64 00 65 00 6D 00 5F 00 62 00 00 00 00 00 o.d.e.m._.b.....
000008E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000008F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
For devices with AVB2 enabled, you should know how to repurpose dtbo and vbmeta partitions.
Step 3: Eliminate system_b, vendor_b, and repurpose remaining partitions
This depends on how your phone originally partitioned. In many cases for devices with eMMC storage, system_a, system_b, vendor_a, vendor_b and userdata are 5 last partitions of the phone.
Take this one for example. Before:
Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00002C00 11 B0 D7 97 DA 54 35 48 B3 C4 91 7A D6 E7 3D 74 .°×—ÚT5H³Ä‘zÖç=t
00002C10 42 C8 9A 2C 46 11 33 9D C7 90 B8 74 F4 FC F6 4B BÈš,F.3.Ç.¸tôüöK
00002C20 18 EC 1F 00 00 00 00 00 17 EC 6F 00 00 00 00 00 .ì.......ìo.....
00002C30 00 00 00 00 00 00 00 00 73 00 79 00 73 00 74 00 ........s.y.s.t.
00002C40 65 00 6D 00 5F 00 61 00 00 00 00 00 00 00 00 00 e.m._.a.........
00002C50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002C60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002C70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002C80 D4 6C 03 77 D5 03 BB 42 8E D1 37 E5 A8 8B AA 34 Ôl.wÕ.»BŽÑ7娋ª4
00002C90 D2 4C 63 24 6E 37 13 6F 57 5B 73 4A B3 8A 93 EC ÒLc$n7.oW[sJ³Š“ì
00002CA0 18 EC 6F 00 00 00 00 00 17 EC BF 00 00 00 00 00 .ìo......ì¿.....
00002CB0 00 00 00 00 00 00 00 00 73 00 79 00 73 00 74 00 ........s.y.s.t.
00002CC0 65 00 6D 00 5F 00 62 00 00 00 00 00 00 00 00 00 e.m._.b.........
00002CD0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002CE0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002CF0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002D00 11 B0 D7 97 DA 54 35 48 B3 C4 91 7A D6 E7 3D 74 .°×—ÚT5H³Ä‘zÖç=t
00002D10 87 4C 96 DB C8 A9 3F 76 E8 BF FF 62 5B A4 42 20 ‡L–ÛÈ©?vè¿ÿb[¤B
00002D20 00 00 C0 00 00 00 00 00 FF FF CF 00 00 00 00 00 ..À.....ÿÿÏ.....
00002D30 00 00 00 00 00 00 00 10 76 00 65 00 6E 00 64 00 ........v.e.n.d.
00002D40 6F 00 72 00 5F 00 61 00 00 00 00 00 00 00 00 00 o.r._.a.........
00002D50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002D60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002D70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002D80 D4 6C 03 77 D5 03 BB 42 8E D1 37 E5 A8 8B AA 34 Ôl.wÕ.»BŽÑ7娋ª4
00002D90 21 A8 AB 40 79 5E 89 16 78 16 A6 B6 17 D7 EA 01 !¨«@y^‰.x.¦¶.×ê.
00002DA0 00 00 D0 00 00 00 00 00 FF FF DF 00 00 00 00 00 ..Ð.....ÿÿß.....
00002DB0 00 00 00 00 00 00 00 10 76 00 65 00 6E 00 64 00 ........v.e.n.d.
00002DC0 6F 00 72 00 5F 00 62 00 00 00 00 00 00 00 00 00 o.r._.b.........
00002DD0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002DE0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002DF0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E00 E6 E7 81 1B 0D F5 9B 41 A7 39 2A EE F8 DA 33 35 æç...õ›A§9*îøÚ35
00002E10 9C 19 0C DB 03 B2 D8 DB 79 62 74 EB F6 88 6D C7 œ..Û.²ØÛybtëöˆmÇ
00002E20 00 00 E0 00 00 00 00 00 FF FF DF 00 00 00 00 00 ..à.....ÿÿß.....
00002E30 00 00 00 00 00 00 00 00 75 00 73 00 65 00 72 00 ........u.s.e.r.
00002E40 64 00 61 00 74 00 61 00 00 00 00 00 00 00 00 00 d.a.t.a.........
00002E50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
We need to move 0x2D00~0x2D7F to 0x2C80~0x2CFF, and 0x2E00~0x2E7F to 0x2D00~0x2D7F, then fill 0x2D80~2E70 with 0x00.
And of course, rename system_a to system, vendor_a to vendor.
And here's the result:
Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00002C00 11 B0 D7 97 DA 54 35 48 B3 C4 91 7A D6 E7 3D 74 .°×—ÚT5H³Ä‘zÖç=t
00002C10 42 C8 9A 2C 46 11 33 9D C7 90 B8 74 F4 FC F6 4B BÈš,F.3.Ç.¸tôüöK
00002C20 18 EC 1F 00 00 00 00 00 17 EC 6F 00 00 00 00 00 .ì.......ìo.....
00002C30 00 00 00 00 00 00 00 00 73 00 79 00 73 00 74 00 ........s.y.s.t.
00002C40 65 00 6D 00 00 00 00 00 00 00 00 00 00 00 00 00 e.m.............
00002C50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002C60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002C70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002C80 11 B0 D7 97 DA 54 35 48 B3 C4 91 7A D6 E7 3D 74 .°×—ÚT5H³Ä‘zÖç=t
00002C90 87 4C 96 DB C8 A9 3F 76 E8 BF FF 62 5B A4 42 20 ‡L–ÛÈ©?vè¿ÿb[¤B
00002CA0 00 00 C0 00 00 00 00 00 FF FF CF 00 00 00 00 00 ..À.....ÿÿÏ.....
00002CB0 00 00 00 00 00 00 00 10 76 00 65 00 6E 00 64 00 ........v.e.n.d.
00002CC0 6F 00 72 00 00 00 00 00 00 00 00 00 00 00 00 00 o.r.............
00002CD0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002CE0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002CF0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002D00 E6 E7 81 1B 0D F5 9B 41 A7 39 2A EE F8 DA 33 35 æç...õ›A§9*îøÚ35
00002D10 9C 19 0C DB 03 B2 D8 DB 79 62 74 EB F6 88 6D C7 œ..Û.²ØÛybtëöˆmÇ
00002D20 00 00 E0 00 00 00 00 00 FF FF DF 00 00 00 00 00 ..à.....ÿÿß.....
00002D30 00 00 00 00 00 00 00 00 75 00 73 00 65 00 72 00 ........u.s.e.r.
00002D40 64 00 61 00 74 00 61 00 00 00 00 00 00 00 00 00 d.a.t.a.........
00002D50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002D60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002D70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002D80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002D90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002DA0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002DB0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002DC0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002DD0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002DE0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002DF0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
You might have noticed, there're two huge gaps between system and vendor, vendor and userdata, so we need to edit the offset of vendor and userdata to eliminate the huge gaps.
In this case, the end offset of system partition is 0x00000000006FEC17. Therefore, the begin offset of vendor partition should be at least 0x00000000006FEC18. Just take note.
The original offset of vendor partition is 0x0000000000C00000~0x0000000000CFFFFF. It's not hard to get the length of vendor partition is 0xFFFFF.
With the help of calculator, we can get the new end offset of vendor partition is 0x00000000007FEC17.
As for userdata partition, the begin offset need to be at least 0x00000000007FEC18, but for end offset need to be the same to vendor partition. Therefore, bootloader will use allocate all of remaining storage space to userdata.
(This is for the most of cases, if userdata is the last partition of your phone)
Now we get new offset of vendor and userdata partition:
vendor: 0x00000000006FEC18~0x00000000007FEC17
userdata: 0x00000000007FEC18~0x00000000007FEC17
Input them into the partition table.
So the result is:
Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00002C00 11 B0 D7 97 DA 54 35 48 B3 C4 91 7A D6 E7 3D 74 .°×—ÚT5H³Ä‘zÖç=t
00002C10 42 C8 9A 2C 46 11 33 9D C7 90 B8 74 F4 FC F6 4B BÈš,F.3.Ç.¸tôüöK
00002C20 18 EC 1F 00 00 00 00 00 17 EC 6F 00 00 00 00 00 .ì.......ìo.....
00002C30 00 00 00 00 00 00 00 00 73 00 79 00 73 00 74 00 ........s.y.s.t.
00002C40 65 00 6D 00 00 00 00 00 00 00 00 00 00 00 00 00 e.m.............
00002C50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002C60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002C70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002C80 11 B0 D7 97 DA 54 35 48 B3 C4 91 7A D6 E7 3D 74 .°×—ÚT5H³Ä‘zÖç=t
00002C90 87 4C 96 DB C8 A9 3F 76 E8 BF FF 62 5B A4 42 20 ‡L–ÛÈ©?vè¿ÿb[¤B
00002CA0 18 EC 6F 00 00 00 00 00 17 EC 7F 00 00 00 00 00 .ìo......ì......
00002CB0 00 00 00 00 00 00 00 10 76 00 65 00 6E 00 64 00 ........v.e.n.d.
00002CC0 6F 00 72 00 00 00 00 00 00 00 00 00 00 00 00 00 o.r.............
00002CD0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002CE0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002CF0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002D00 E6 E7 81 1B 0D F5 9B 41 A7 39 2A EE F8 DA 33 35 æç...õ›A§9*îøÚ35
00002D10 9C 19 0C DB 03 B2 D8 DB 79 62 74 EB F6 88 6D C7 œ..Û.²ØÛybtëöˆmÇ
00002D20 7F EC 18 00 00 00 00 00 7F EC 17 00 00 00 00 00 .ì.......ì......
00002D30 00 00 00 00 00 00 00 00 75 00 73 00 65 00 72 00 ........u.s.e.r.
00002D40 64 00 61 00 74 00 61 00 00 00 00 00 00 00 00 00 d.a.t.a.........
00002D50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002D60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002D70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002D80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002D90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002DA0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002DB0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002DC0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002DD0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002DE0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002DF0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00002E70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Step 4: Copy what we have done to backup partition table, and save it as "gpt_main0.mod.bin"
Pretty simple. Copy the content between 0x400~0x43FF and overwrite it from 0x4400, so the backup partition table will get the same result.
Now save it as "gpt_main0.mod.bin".
Step 5: Flash it to your phone and check result
This may require your phone get critical unlocked (fastboot flashing unlock_critical).
Before you flash, you can use this command to check what are the partitions originally be:
For macOS / Linux distro:
Code:
fastboot getvar all|grep partition-size
For Windows:
Code:
fastboot getvar all 2>&1|findstr partition-size
Flash it with this command:
Code:
fastboot flash partition /path/to/gpt_main0.mod.bin
fastboot reboot-bootloader
For devices with UFS storage (take partition table of lun3 for example):
Code:
fastboot flash partition:3 /path/to/gpt_main3.mod.bin
fastboot reboot-bootloader
After that, you can use this command to check the result:
For macOS / Linux distro:
Code:
fastboot getvar all|grep partition-size
For Windows:
Code:
fastboot getvar all 2>&1|findstr partition-size
If values changed to what you have expected (unit is bytes), then the modification is successful.
From what I have tested, flash existing TWRP to recovery partition and boot it with recovery mode combination key will make the phone boot to TWRP successfully, and it can still mount system/vendor partitions - no modifications need to be done.
However, the phone will not boot with unmodified boot image, may need to modify fstab and init.rc to ensure it will boot on such environment, and this is up to developers.
If you only want to minimalize the system_b and vendor_b for maximum compatibility, then you cannot rename partitions, only resize can be done. You can allocate at least 1KiB for system_b and vendor_b to gain extra storage spaces for userdata.
Click to expand...
Click to collapse
That wraps up the entire guide, and I hope it could be helpful for custom ROM development.
Reserved #1
Reserved #2
What device(s) have you tested this on?
MishaalRahman said:
What device(s) have you tested this on?
Click to expand...
Click to collapse
Nokia 6.1 Plus, a.k.a Nokia X6 in China.
In theory this will also work on Nokia 6.1, Nokia 7, Nokia 7 Plus and Nokia 7.1.
I have never tested devices with UFS storage yet.

Categories

Resources