[REF]ROM Benchmarks - P3600 ROM Development

In the need to know how fast is "fast", I've decided to follow the footsteps of TylerC161 in the Herald forums. Using SKTools Lite, a benchmark is produced
Bepe 0.77 Full TomTom
Integer;182.8533;Moves/25 usec
Floating point;5.764;MWIPS
RAM access;1628;Speed index
Draw bitmaps;639;Speed index
Main storage (write); 636.16;KB/sec
Main storage (read);3580.42;KB/sec
Click to expand...
Click to collapse
Post yours so that we can compare.
SK Tools Lite : http://s-k-tools.com/sktools/sktoolslite.zip

Faman FR 3.2
Integer: 182.5263 Moves/25 usec
Floating point: 5.755 MWIPS
RAM access: 1626 Speed index
Draw bitmaps: 648 Speed index
Main storage (write) 630.93 KB/sec
Main storage (read) 3469.23 KB/sec
Click to expand...
Click to collapse

Indigo Full by munrus
Integer;181.7850;Moves/25 usec
Floating point;5.748;MWIPS
RAM access;1601;Speed index
Draw bitmaps;630;Speed index
Main storage (write); 724.70;KB/sec
Main storage (read);3611.99;KB/sec

Mary 2.03
1st Power Plugged
Integer;162.9234;Moves/25 usec
Floating point;4.812;MWIPS
RAM access;1191;Speed index
Draw bitmaps;332;Speed index
Main storage (write); 554.31;KB/sec
Main storage (read);2802.92;KB/sec
2nd
Integer;161.8988;Moves/25 usec
Floating point;4.799;MWIPS
RAM access;1306;Speed index
Draw bitmaps;454;Speed index
Main storage (write); 426.34;KB/sec
Main storage (read);2315.00;KB/sec
=============================
1st Unplugged
Integer;179.5809;Moves/25 usec
Floating point;5.751;MWIPS
RAM access;1625;Speed index
Draw bitmaps;624;Speed index
Main storage (write); 640.67;KB/sec
Main storage (read);3430.49;KB/sec
2nd
Integer;175.3849;Moves/25 usec
Floating point;5.746;MWIPS
RAM access;1626;Speed index
Draw bitmaps;635;Speed index
Main storage (write); 618.23;KB/sec
Main storage (read);3477.08;KB/sec
Interesting

AX3L_WM6_WWE_v3.0.9 FULL
Integer;184.8630;Moves/25 usec
Floating point;5.804;MWIPS
RAM access;1634;Speed index
Draw bitmaps;641;Speed index
Main storage (write); 580.12;KB/sec
Main storage (read);3681.25;KB/sec

AX3L_WM6_WWE_v3.0.8 by AX3L
Integer;182.0316;Moves/25 usec
Floating point;5.669;MWIPS
RAM access;1606;Speed index
Draw bitmaps;637;Speed index
Main storage (write); 612.32;KB/sec
Main storage (read);3502.85;KB/sec
Click to expand...
Click to collapse

bepe 0.77 WWE Light
Integer;209.4888;Moves/25 usec
Floating point;5.720;MWIPS
RAM access;1688;Speed index
Draw bitmaps;655;Speed index
Main storage (write); 658.10;KB/sec
Main storage (read);3622.64;KB/sec
Click to expand...
Click to collapse

FAMAN 3.3ES based own cooked rom
1st try. Power plugged.
Integer;207.9776;Moves/25 usec
Floating point;5.718;MWIPS
RAM access;1690;Speed index
Draw bitmaps;655;Speed index
Main storage (write); 673.39;KB/sec
Main storage (read);3486.95;KB/sec
Click to expand...
Click to collapse
2nd try. Power unppluged.
Integer;182.7775;Moves/25 usec
Floating point;5.734;MWIPS
RAM access;1624;Speed index
Draw bitmaps;636;Speed index
Main storage (write); 658.73;KB/sec
Main storage (read);3512.86;KB/sec
Click to expand...
Click to collapse
Too much variation isn't it?. In my opinion I don't think this bench is representable.

Sammy_deluxe Ultra Light:
Integer;209.8789;Moves/25 usec
Floating point;5.744;MWIPS
RAM access;1584;Speed index
Draw bitmaps;629;Speed index
Main storage (write); 683.27;KB/sec
Main storage (read);3543.25;KB/sec

I'm currently running the app(my screen is all crazy ), but I have some questions.
Can someone explain this values?
Which value is the most important to the speed of device?
bepe 0.77(connected with PC):
Integer;208.8320;Moves/25 usec
Floating point;5.648;MWIPS
RAM access;1560;Speed index
Draw bitmaps;633;Speed index
Main storage (write); 737.93;KB/sec
Main storage (read);3595.08;KB/sec

seems to me 'the higher the numbers the faster the rom'

LVSW Trinity WM6 v.2.0.1.1
Integer 183.4380
Float point 5.783
Ram access 1637
Draw bitmap 557
Main storage(write) 661.00
Main storage(read) 3339.13

Wm6 Faman 3.3fr
Power unppluged
Integer;179.6998;Moves/25 usec
Floating point;5.764;MWIPS
RAM access;1603;Speed index
Draw bitmaps;649;Speed index
Main storage (write); 654.94;KB/sec
Main storage (read);3586.69;KB/sec
Integer;183.5705;Moves/25 usec
Floating point;5.777;MWIPS
RAM access;1637;Speed index
Draw bitmaps;630;Speed index
Main storage (write); 666.96;KB/sec
Main storage (read);3622.64;KB/sec
Power plugged
Integer;203.5341;Moves/25 usec
Floating point;5.573;MWIPS
RAM access;1510;Speed index
Draw bitmaps;599;Speed index
Main storage (write); 660.93;KB/sec
Main storage (read);3455.57;KB/sec
Integer;207.4524;Moves/25 usec
Floating point;5.618;MWIPS
RAM access;1673;Speed index
Draw bitmaps;648;Speed index
Main storage (write); 676.35;KB/sec
Main storage (read);3436.24;KB/sec

Ervius Personal Wm6 ITA Big Storage
Power Unplugged
Integer 185.5166
Floating point 5.704
Ram access 1704
Draw bitmap 634
Main storage(write) 630.28
Main storage(read) 3555.56
Click to expand...
Click to collapse
Power Plugged
Integer 211.6604
Floating point 5.784
Ram access 1708
Draw bitmap 657
Main storage(write) 643.69
Main storage(read) 3648.46
Click to expand...
Click to collapse

Looks like theres not much variations between the wm6 ROMs..

mikhe69 said:
I'm currently running the app(my screen is all crazy ), but I have some questions.
Can someone explain this values?
Which value is the most important to the speed of device?
bepe 0.77(connected with PC):
Integer;208.8320;Moves/25 usec
Floating point;5.648;MWIPS
RAM access;1560;Speed index
Draw bitmaps;633;Speed index
Main storage (write); 737.93;KB/sec
Main storage (read);3595.08;KB/sec
Click to expand...
Click to collapse
Im no expert but I can say its application-dependent. If your program runs with mostly integer, then you should concentrate on the integer numbers. If its scientific apps or anything with precision number like 2.304040223 then, floats.
The higher Main storage (read), the 'loading' of the program would take less time. You'd get less of that windows logo spinning when you try to open a new program.
The higher RAM access, the more responsive the programs will be.
Draw bitmaps is for how fast your graphics chip? (not sure). What I'm sure is the higher the draw bitmaps, the better it is for gaming but thats inaccurate because gaming depends on most of these numbers so its better to get an index to represent all these numbers. Its because gaming isn't just about drawing tons of graphics, it could also have very intensive calculations going on in the background.

This benchmark thread needs some more info imho
*All tests should be done with and without powerplug as some of you have already done
*All tests should be done after a reboot of the phone
*All tests should be done after a fresh flash and before syncing(if its an older install this should be mentioned)
*If there are any tests that depend on the SD card the brand, type and size should be mentioned
*The benchmarking app should be installed to and run from main memory not SD

Akeo V3 / 007TNYSTD
Hello!
If anybody is interessted:
Tested: Power unplugged and after a re-boot:
Akeo V3:
Integer;185.1314;Moves/25 usec
Floating point;5.745;MWIPS
RAM access;1605;Speed index
Draw bitmaps;641;Speed index
Main storage (write); 741.85;KB/sec
Main storage (read);3584.60;KB/sec
007TNYSTD:
Integer;172.6331;Moves/25 usec
Floating point;5.704;MWIPS
RAM access;1613;Speed index
Draw bitmaps;642;Speed index
Main storage (write); 693.77;KB/sec
Main storage (read);3370.27;KB/sec
Akeo plugged:
Integer;210.6861;Moves/25 usec
Floating point;5.725;MWIPS
RAM access;1560;Speed index
Draw bitmaps;581;Speed index
Main storage (write); 674.94;KB/sec
Main storage (read);3496.87;KB/sec

Karmba_a Diamond For Trinity v9.3 Light
Both test I made after SR without SD Card plugged.
Power unplugged:
Integer;183.6875;Moves/25 usec
Floating point;5.714;MWIPS
RAM access;1642;Speed index
Draw bitmaps;642;Speed index
Main storage (write); 731.60;KB/sec
Main storage (read);3578.33;KB/sec
Click to expand...
Click to collapse
Power plugged:
Integer;212.2220;Moves/25 usec
Floating point;5.788;MWIPS
RAM access;1706;Speed index
Draw bitmaps;653;Speed index
Main storage (write); 771.76;KB/sec
Main storage (read);3603.52;KB/sec
Click to expand...
Click to collapse

Fresh installed, Sync'd
[P3600i] Mary v3.7 - Lite - Plugged.
Integer - 251.3877 Moves/25 usec
Floating point - 7.150 MWIPS
RAM access - 2115 Speed index
Draw bitmaps - 787 Speed index
Main storage (write) - 870.01 KB/sec
Main storage (read) - 4000.00 KB/sec
Storage Card (write) - 137.45 KB/sec
Storage Card (read) - 849.79 KB/sec
[P3600i] Mary v3.7 - Lite - UnPlugged Post SR.
Integer - 228.1430 Moves/25 usec
Floating point - 7.239 MWIPS
RAM access - 1998 Speed index
Draw bitmaps - 808 Speed index
Main storage (write - 811.52 KB/sec
Main storage (read) - 4196.72 KB/sec
Storage Card (write) - 150.18 KB/sec
Storage Card (read) - 148.79 KB/sec
Schaps WM6Pro 4.30.2008 WWE Full - Plugged No sync
Integer - 265.3581 Moves/25 usec
Floating point - 7.242 MWIPS
RAM access - 2137 Speed index
Draw bitmaps - 798 Speed index
Main storage (write) - 914.42 KB/sec
Main storage (read) - 4162.60 KB/sec
Storage Card (write) - 86.91 KB/sec
Storage Card (read) - 914.15 KB/sec
Schaps WM6Pro 4.30.2008 WWE Full - Unplugged Post SR
Integer - 216.5852 Moves/25 usec
Floating point - 7.229 MWIPS
RAM access - 2026 Speed index
Draw bitmaps - 791 Speed index
Main storage (write) - 821.50 KB/sec
Main storage (read) - 4068.87 KB/sec
Storage Card (write) - 119.14 KB/sec
Storage Card (read) - 152.99 KB/sec
Trinity DOPODASIA WWE 3.00.707.18 6275 [Official ROM] - Plugged No Sync
Integer - 264.5508 Moves/25 usec
Floating point - 7.243 MWIPS
RAM access - 2127 Speed index
Draw bitmaps - 795 Speed index
Main storage (write) - 857.86 KB/sec
Main storage (read) - 4079.68 KB/sec
Storage Card (write) - 89.43 KB/sec
Storage Card (read) - 912.52 KB/sec
Trinity DOPODASIA WWE 3.00.707.18 6275 [Official ROM] - UnPlugged Post SR
Integer - 221.2724 Moves/25 usec
Floating point - 7.233 MWIPS
RAM access - 2039 Speed index
Draw bitmaps - 779 Speed index
Main storage (write) - 813.88 KB/sec
Main storage (read) - 4120.72 KB/sec
Storage Card (write) - 127.46 KB/sec
Storage Card (read) - 139.41 KB/sec

Related

Upgrade to WM2005

:? Dear All
Hope this message reaches you'll in good health and best of spirits.
I am new to this forum, so please help me.
After upgrading to WM2005 and after installing Hima DOC Tools v1.0, My O2 Xda II has become slow and my Storage Memory has decreased from 32.00 MB to 7.40 MB. When I install any program and / or put any Data in the Main Memory in place of Storage Card (SD Card), it reduces the Storage Memory, I thought the Program Memory usually reduces instead of Storage Memory.
Please clarify my doubts and if there is any procedure to increase the Storage Memory to 32.00 MB or default of 64 MB, please explain how to do it in simple manner, since I am just an end user, will not understand technical language.
The details of my o2 Xda II after upgrading to WM 2005 is :
VERSION
-------
ROM Version: 1.60b.96WWE
ROM date: 04/22/05
Radio Version: 1.18.00
Protocol Version: 1337.38
HARDWARE
--------
CPU: Intel(R) PXA263
Speed: 400 MHz.
RAM Size: 128 MB
Flash Size: 32 MB
Flash Chip Type: 28F128K3
Data Bus: 32 Bits
Storage Size: 30.53 MB
LCD: 240 x 320 TFT
Colors: 65536
IDENTITY
--------
Model No. PH10B
Platform: Pocket PC
I once again request you to help me.
Best Wishes
Dineshchand Nahar

Flash Size: 32 MB (?!) - my box and manual say 96 MB ROM

Hello, the forum! This is my first post, and I'm making it out of desperation. I have a time-sensitive problem, having just bought an O2 Xda IIs in Jakarta; if I need to complain to the shop that sold it to me, I'll have to do so very soon....
It's just that I'm confused over why the box and manual should read 96 MB ROM, when my "Device Information" screen tells me I've got a Flash Size of 32 MB. Please excuse my ignorance, but I'm completely new to this - it's my first ever PDA Phone.
I see that Blue Angel is also said to have 96 MB ROM here:
Code:
http://en.wikipedia.org/wiki/O2_xda
[edited for correction]
My specs are shown here. Please help me understand what the problem is. Thanks so much!
sub_rosa25
HardWare:
CPU : Intel(R) PXA263
Speed : 400 Mhz
RAM Size : 128 MB
Flash Size : 32 MB
Flash Chip : 28F128K3
Data Bus : 32 bits
Storage : 43.26 MB
LCD : 240X320 TFT
Colors : 65536
rom is 96 mb, you forget the extrom which is part of the rom and takes about 16 mb
simple math: extrom + flash + storage = rom
storage should be 48 mb but after installing the crap from extrom the rest is 43 in your case
Thank you for the quick and easy answer. It wasn't adding up for me because I didn't realize that extrom was included in the 96 MB ROM quoted. Cheers!

[TUT] Manual Full XIP Porting (& MANY MORE TUTORIALS) [ONLINE]

Special Thanks
Abusalza (for the most initial start off guide)
Cmonex (for the “MOST” important finishing touches)
!Aman! (for all the testing and Hex edit helping)
Noonski (for being the inspiration to keep going )
Ervius (for developing the kitchen tool to perform all the operations)
In this forum there are many many tools from experts and likes for porting XIP, rebuilding dumped ROMs etc. This threads aims at showing or sharing what goes in the background of these automated tools and also aims at answering all the many unanswered questions about various factors of ROM cooking / editing I have come across in this forum
Suggestions / comments always welcome to make these tutorials even better
Index of Tutorials
Manual XIP Porting Guide: CLICK HERE
XIP Porting Updates from members: CLICK HERE
XIP Porting for Himalaya devices & others (Nokser): CLICK HERE
Misc XIP Updates: CLICK HERE
PagePool Changing Guide (for Diamond & Raphael): CLICK HERE
Gain More Storage Memory (Increase imgfs size) Guide: CLICK HERE
ULDR Partition Size Reduction Guide: CLICK HERE
MBR and MSFLSH50 Regions Screenshots: CLICK HERE
Gain More Storage Memory (compress imgfs) with LZX algorithm: CLICK HERE
Get High File System Index (!Aman!): CLICK HERE
Ervius's GUI kitchen thread to perform all operations, Noonski's amazing RunCC & AutoRun & SDAutorun tutorial thread
Ervius's post on patching nk.exe to change the EndRam address for more available RAM in device (original credits to cmonex )
Da_G's amazing new initiative to utilise the ULDR partition to upgrade ROM without re-flash
All the above guides and updates are compiled in pdf file also for offline reading, attached in this post as All Guides.zip
The imgfs Gain.zip is actually the 5th guide with pictorial seperatly put up for members who would want to refer only to that process
The Pictorial.zip is the 7th picture reference for offline reading
Donations for this hard work and research are much appreciated. Below are the links whom you may choose to provide those to
Donation to Abusalza, Donation to Cmonex, Donation to !Aman!, Donation to Ameet
Index of Threads (Manila related)
Ameet's Mode9 script editing ideas thread
l3v5y's tutorial thread for editing Manila files
NisseDILLIGAF's Manila Hash tool
Manual Full XIP Porting
Tools you need: (attached the tools in this thread for easy access)
HEX Calculator (recommended – HEX workshop (Not Free)), suggested Windows Calculator
XIPPort.exe
M’Reloc.exe
NBMerge.exe
Insert.exe
OS.nb.payload from 19965 build (shipped ROM)
Cup of nice strong Coffee (A Must)
Brief:
There are many different ways to port the XIP. Few mention of using the 723*.dsm for the build number, few others mention of using the coredll.dll module to have the latest build numbers. As my friends, Noonski and !Aman! always say “Only numbers are just eye wash, core system is what matters the most” Based on this as inspiration, I am posting this guide for manual XIP porting. A few places you may find colors in this guide, these are to visually link the data for easy understanding
The only files removed from the ported XIP are (these are removed to keep the new XIP within the original size):
osaxst0.dll + osaxst0.dll.imageinfo.txt
hd.dll + hd.dll.imageinfo.txt
bmui.nb0 + bmui.nb0.imageinfo.txt
Process:
Prepare OEMXip base
Dump your original XIP.bin (from 19965 build) with XIPPort.exe, and click “write maps” to get MAP.txt in the OUT folder
Open the MAP.txt and go through what you will need to achieve for a full port. I advice to keep this MAP.txt as a backup, just in case
Click “make pkgs” to get “OEMXipKernel” and “MSXipKernel” folders inside \Files and \Modules
Delete MSXipKernel folders from \Files and \Modules both
Now our base OUT folder is ready with OEMXipKernel
Prepare MSXip donor
Dump your donor XIP.bin (from 20758 build) with XIPPort.exe, and click “make pkgs” to get “MSXipKernel” folder inside \Files and \Modules
Delete osaxst0.dll + osaxst0.dll.imageinfo.txt, hd.dll + hd.dll.imageinfo.txt and bmui.nb0 + bmui.nb0.imageinfo.txt to get the new XIP within the original RAM size. If you don’t wish to delete these files, then you will need to increase the “physlast” in ROMHDR.txt. Process of which is not covered under this guide
Copy the MSXipKernel folders from \Files and \Modules both to the \Files and \Modules in the base OUT folder
Now our OUT folder is ready to be ported with the OEMXipKernel and MSXipKernel
Now to proceed with the reallocing you need to re open the packages which have been created. Open XIPPort.exe and click "undo" then click “realloc P” to re calculate the reallocation addresses. Then click “write maps” to get the new MAP.txt file
Open this MAP.txt and look in the o32_realaddr and e32_vbase addresses. Busenum.dll must be the last entry in both tables. Here you may find overlaps of the modules in a few or most places (seen as !!!!!!!!!!!!!!!!!!)
These are the overlaps which need to be taken care of by reallocating the modules in Initialized Data and Virtual Base addresses
You need to work our way up from the bottom of the list since the busenum.dll is reallocated at the last address of the memory
For example:
03f4c000 03fe3000 L00097000 Virtual base address of coredll.dll
03fe2000 03fe3000 L00001000 !!!!!!!!!!!!!!!!!!
03fe2000 03ff0000 L0000e000 Virtual base address of certmod.dll
03ff0000 03ffb000 L0000b000 Virtual base address of cachefilt.dll
03ffa000 03ffb000 L00001000 !!!!!!!!!!!!!!!!!!
03ffa000 04000000 L00006000 Virtual base address of busenum.dll
Meaning, e32_vbase address of cachefilt.dll is overlapping that of busenum.dll by 1000 (L00001000) Similarly e32_vbase address of coredll.dll is overlapping that of certmod.dll by 1000 (L00001000)
I recommend you use M’Reloc.exe for reallocating the addresses in imageinfo.bin and Notepad to reallocate the addresses in the corresponding imageinfo.txt files. Since the binaries (S000, S001...) must actually be relocated using M'Reloc, it is not enough to just adjust the values in the imageinfo.txt files
To calculate the revised addresses (in below example, the e32_vbase) of the overlapping module, open Hex Calculator. To do that you will need to know the e32_vsize of the overlapped module. To find that out open overlapped module (for e.g. cachefilt.dll) in M’Reloc.exe and see the e32_vsize (0000B000)
Now to correct the e32_vbase of cachefilt.dll, follow this calculation as a base (e32_vbase busenum.dll - e32_vsize cachefilt.dll = e32_vbase cachefilt.dll)
Meaning, (03FFA000 – B000 = 03FEF000) hence the correct e32_vbase address is 03FEF000
03ff0000 03ffb000 L0000b000 Virtual base address of cachefilt.dll
03ffa000 03ffb000 L00001000 !!!!!!!!!!!!!!!!!!
03ffa000 04000000 L00006000 Virtual base address of busenum.dll
Now since the cachefilt.dll is reallocated using the above calculation, the modules next in line above that will also have to be reallocated. Namely, certmod.dll (although not overlapping yet above the cachefilt.dll). To calculate the e32_vbase of certmod.dll you will need the revised e32_vbase address of cachefilt.dll which you got just now
I recommend writing down the e32_vbase, e32_vsize, o32_realaddr and o32_vsize of each module so it will be easier to calculate the correct addresses for reallocation)
Remember, you need to work our way up from the bottom of the list since the busenum.dll is reallocated at the last address of the memory
To reallocate the addresses for o32_realaddr, follow the above calculation, only this time replace the e32_vbase busenum.dll with o32_realaddr and e32_vsize with o32_vsize
Now open the corresponding imageinfo.txt file for each module and change the e32_vbase and o32_realaddr address values in the txt file of the values mentioned with V= and D=, seen for e.g. like this
Module name: cachefilt.dll
e32_vbase: V=03FEF000
o32[1].o32_realaddr: D=01FFE000
You will notice that the FLASHDRV.DLL module has the realaddr at 2 regions. Although I have not found a way to calculate the difference between both regions but I change the values as per Abusalza’s MAP.txt
o32[1].o32_realaddr: D=01FCC000
o32[3].o32_realaddr: D=01FD4000
Since the OEMXipKernel modules never change, I only correct values of the ported MSXipKernel modules
This is helpful if the MSXipKernel modules ported from donor ROMs are similar in the sizes. If not then you will need to do the calculation and correction of values
Once through with the address reallocation, open XIPPort.exe and click “realloc P” to re calculate the addresses for writing maps. It will show you errors regarding some regions, ignore those and click “write maps”. Open the new MAP.txt and recheck for (!!!!!!!!!!!!!!!!!!) If none found that means the XIP has been ported well
Now click “build xip_out.bin” to create the resulting XIP to be inserted into the ROM .payload file. Use this command for inserting the xip_out.bin into the .payload (presuming you already have the shipped OS.nb.payload file in the same working folder
insert.exe -i xip_out.bin -o OS.nb.payload -d 0x00320000 -s 0x004C0000
Check these values with your device imgfs since in Diamond the XIP starts at 0x00320000 and the imgfs starts at 0x007A0000, but for some reason the imgfs signature in Diamond is at 0x007E0000
Build OS.nb for use in the ROM folder from the .payload you just updated with the new XIP. Please note these commands are for Diamond device. Please check with your device on the same before building
nbmerge.exe –kaiser OS.nb
Now put this OS.nb file in the ROM, put the boot.rgu from 19965 (shipped ROM) into the \ROM\XIP folder and do not include any of the OEMXipKernel or MSXipKernel folders in OEM & SYS folder while cooking. I observed for some reason, WinCeNls_WWE folder cannot be taken out of XIP and included in SYS. Device wont boot, so keep that in XIP (found a working solution by spocky12: Here (last quote)
Please note the insertion of xip_out.bin can also be done through XIPPort.exe directly
Before clicking “write xip_out.bin to:” replace the name “nk.nb” with “OS.nb.payload” and the address to “00320000” all without quotes
IMP: There may be chances that although the XIP is working fine, but the windows are seen as QVGA versions. The solution to that is either of the below
XIP & SYS of the same builds or
XIP and the OS\Gwes.exe from same build
Cook the new ROM with your favorite kitchen (whichever doesn’t do anything with the XIP) and use this OS.nb file as base template for the ROM with the new XIP
With this note, I hope this guide will serve many as a guiding light and answer many questions on manual full XIP porting. Happy porting
Members Porting Updates
This is where we showcase the updates on XIP porting provided by our kind forum members
Original quote - Cmonex
Code:
[COLOR=royalblue][B]Quote=ababrekar[/B] - Busenum.dll must be the last entry in both tables[/COLOR]
Actually the values are arbitary, even though Microsoft decided to place coredll.dll as the last entry, i.e. at the highest memory address, it doesn't really matter. So, the values are arbitrary, but of course only within limits: the addresses must be divisible by 0x1000 (pagesize of the platform), and they must be inside the memory range reserved for XIP. part of that is the dllfirst and dlllast values in ROMHDR.txt. The other part (the higher addresses, 0x03xxxxxx) are determined by the following way: IMGFS .VM tells you the limits for IMGFS memory range, and XIP is beyond that range. So, if your OS doesn't want to boot, you can check if IMGFS .VM is overlapping with XIP memory range as per your MAP.txt for xip and dump_memorymap.txt (or .VM folder, etc) for IMGFS.
For example if IMGFS ends at 0x03DE0000, then the higher part of your XIP must start later than 0x03DE0000. You can of course modify this to make more space for XIP
If xipport crashes on writing maps it means you definitely have some overlaps left in. So yes, best to work with the maps from the original XIPs and only use the final XIP map to verify you got everything right
[COLOR=red]Btw, XIPPort's insertion function was found buggy on one device once, but cannot remember the details. It wasn't my device, so just posting this as a possible warning[/COLOR]
Oh, same applies to ROMMaster.exe, it is buggy when you try to use that to extract the XIP some ROMs
[COLOR=royalblue][B]Quote=ababrekar[/B] - Few mention of using the 723*.dsm for the build number, few others mention of using the coredll.dll module to have the latest build numbers[/COLOR]
Btw, coredll.dll replacement only works for that pre-WM6.1
And a last tip for [B]debugging [/B]if your OS doesn't want to boot: if you already checked that the maps are all ok and IMGFS doesn't overlap, etc., then if you have a new enough HTC device (for example HTC Athena and later is new enough), then go to SPL using mtty or putty or qmat and there the "task 37" command (without the quotes) will show KITL log, with lots of debug messages, that can be very helpful. (first you must issue "task 32", for "task 37" to work) - this doesn't appear to work on some Raphaels
Original quote - cruzzmz
Code:
If porting for [B][COLOR=teal]Zinc[/COLOR][/B]. After finish with all the MReloc, you need to Hex the S000 of nk.exe in the MODULES folder. The value can be found in MAP.TXT under the Modules
[COLOR=royalblue][B]Quote=ababrekar[/B] - 802FAA9C - 802faaf0 L00000054 rom_00 header: dlls=01f901fd-02000000 phys=80180000-803dc4fa, 24 modules, 10 files, 2 copyentries ext=8018265c ram=803dd000-83c00000 cputype=000001c2[/COLOR]
Open S000 in ur fav hex editor, then go to [B]Offset 1658[/B]
Change the original value i.e: [COLOR=red][B]802FAA9C [/B][/COLOR]and Hex edit it to [COLOR=blue][B]9CAA2F80[/B][/COLOR]
Original quote - DupinBJK
Code:
The addresses on the 80xxxxxx range should be on a [B]WORD [/B]boundary - Divisible by [B]4[/B]
Original quote - spocky12 (how to move wincenls to IMGF from XIP)
Code:
This is related to BootPhase key in boot.rgu. [URL="http://msdn.microsoft.com/en-us/library/ms885267.aspx"]According to Microsoft[/URL]
If this value is 0, then related filesystem is loaded prior to initialization of locale. But for this to work, the filesystem has to be loaded in Autoload key, like this :
[B][COLOR=red][HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FLASHDRV][/COLOR][/B]
[B][COLOR=red] "DriverPath"="Drivers\\BuiltIn\\FLASHDRV"[/COLOR][/B]
[B][COLOR=red] "LoadFlags"=dword:1[/COLOR][/B]
[B][COLOR=red] "Order"=dword:0[/COLOR][/B]
[B][COLOR=red] "MountAsRoot"=dword:1[/COLOR][/B]
[B][COLOR=red] "MountAsBootable"=dword:1[/COLOR][/B]
[B][COLOR=red] "BootPhase"=dword:0[/COLOR][/B]
With this, autoload will regsiter access to the imgfs filesystem before wince.nls is loaded. Then, when it'll be required, if it's not present in xip, it should be found in imgfs
Here is where we showcase miscellanous updates on XIP porting / MBR / MSFLSH50 which doesnt fall under the above categories. These are the updates which are not harming the system in any ways if left as is. Yet just a know how or just in case
Removing modules from XIP: Original quote - Cmonex
Code:
You can always remove osaxst0.dll, osaxst1.dll, hd.dll, kd.dll, and also bmui.nb0 - the latter is just a SplashScreen saying your OS can't boot and reflash or something (I forget the exact text)
The other files are Kernel debuggers and similar, best to remove them, because it just takes up space and can also cause problems if you somehow manage to use the wrong versions of them. They are mapped directly to the Kernel memory space, and if your device uses a different range (i.e. you didn't keep your original debugger dlls), it will prevent the rom from booting
Also I found it's ok to remove (m)encfilt.dll and cachefilt (put them in IMGFS if you want them)
[I][B]Physlast [/B][/I]can be changed up to [I]ulramstart [/I]value without problems (of course not if you don't have enough space in the flash, but that's not really a real life possibility). Of course that also assumes we are not talking about some older devices that have the xip mapped to a different memory range than [I]ulramstart[/I]
You can move [I]ulramstart/ulramfree [/I]too if you relocate nk.exe data section (usually S002) with M'Reloc-nk. Also relocation is needed for any other modules (such as giisr.dll, on some non HTC devices) that have mappings similar to nk.exe (so they have a data section in the map that points into [I]ulramstart/ulramfree [/I]range). on HTC devices I didn't really see such modules so not a real problem usually
Increasing the free RAM (Part 1): Detailed explanation here by DupinBJK
Simple explaination for easy understanding: (the below values are from a sample MAP.txt and dump_memoryMaps.txt (View attachment Examples.zip)) for trying to explain what comes from where and the actual values may differ from your files
Code:
8019e9a4 - 8019e9f8 L00000054 rom_00 header: dlls=[COLOR=red]01f801fc[/COLOR]-[COLOR=black]02000000[/COLOR] phys=[COLOR=black]80000000[/COLOR]-[COLOR=blue]8030c7b3[/COLOR], 28 modules, 10 files, 1 copyentries ext=80002b4c ram=8030d000-83000000 cputype=000001c2
[COLOR=blue]8030c7b3 [/COLOR]- 8030c7b3 L00000000 End: highest physical address
The blue value that mentioned is the physlast value. In the dump_memoryMaps.txt, you will find:
Code:
01F7F000 - 01F7FFFF (4095 bytes): bthasplugin.dll
after which the dllfirst starts in MAP.txt with a difference of 1FD length and
Code:
03D66000 - 03D6FFFF (40959 bytes): bthasplugin.dll
after which the e32_vbase starts (03dcb000 - 03dd4000 L00009000 Virtual base address of wce_rex.DLL) in MAP.txt with a difference of 5B001 length
Increasing the free RAM (Part 2): by Ameet
Changed the size of ROM in G'Reloc from 83000000 to 83400000 and increased the ulRAMEnd to the same value (83400000) getting free RAM space of L0306C000 (I dont know how to translate this into the actual size in % or in bytes) but with the original of 83000000 the RAM space was L02C6C000
Having done this, I get about 62% free memory without TF3D and approx 54% free memory with TF3D at system start
Extracting the XIP from any ROM: Detailed explanation here by boggsie
More explaination about XIP processes & editing OS version on 1st splash screen: by FormerPalmOS
Code:
[B][COLOR=red]1) [/COLOR][/B]The Initial Program Loader copies the XIP partition from the FLASH to SRAM - in Diamond and Touch Pro there is a custom Samsung chip that includes both NAND FLASH and SRAM. The overall physical RAM space where this is loaded is also hard-coded - see below. The amount of RAM used is variable - this info comes from a header in the XIP section - basically how much RAM does the XIP need? What's left is what you get for program memory.
[B][COLOR=red]2) [/COLOR][/B]IPL executes a jump to a hard-coded address within the SRAM - this should be busenum.dll, which is why busenum.dll has to be at a specific physical and virtual memory location.
[COLOR=red][B]3) [/B][/COLOR]busenum.dll does its thing (not sure entirely what) but eventually calls nk.exe. nk.exe is the kernel. nk.exe loads the other modules, initializes the hardware (that's why nk.exe is device-specific), and initializes the filesystem and basic device drivers (again why those are device-specific).
[COLOR=red][B]4) [/B][/COLOR]Once this process has completed, the filesystem proceeds to load the imgfs filesystem and turn control over to the full OS.
The virtual memory map for WM consists of a number of slots. The memory management unit in the CPU translates virtual memory references into physical memory addresses. Every loaded dll or exe must occupy a portion of virtual memory for its code and will likely also use some of the available RAM for its data. The location within virtual memory where the code for a dll or exe is loaded is determined at load time unless the dll or exe is a module (everything in the XIP is a module) in which case the virtual memory location is specified during cooking. In the XIP, the location of the RAM used is also specified - the process of relocating a module in the XIP specifies the virtual memory location for the code and and data in the case of nk.exe, the physical RAM location.
There are four VM sections we care about (note - I'm taking some liberty here - these don't exactly correspond with what Microsoft refers to as a VM slot). Slot 0 runs from 0x00000000 to 0x01FC0000 (in the CDMA Touch Pro). The end of slot 0 is a function of the number of and size of the data regions for the DLL modules in the XIP. This number plus 0x1FC is stored in the ROM header (and can be examined in ROMHRD.txt) - it is referred to as dllfirst. This is also the slot 0 you see when you do G'Reloc.exe (the value in G'Reloc.exe is the last address of slot 0 plus one). These two must match!!! What the XIP uses must not overlap with what your ROM uses.
The next slot is the XIP DLL initialized data. This runs from dllfirst to dlllast. dlllast is fixed (in the Touch pro) at 0x02000000. The XIP DLL data sections are loaded starting at 0x02000000 and working backwards.
The next slot is again available for the OS and runs from dlllast to wherever the code in the XIP starts. You can see this in your XIP memory map - this again must match (the end of slot 1 in G'reloc.exe must match the first DLL virtual base address in your XIP - in mine this is 0x03DC0000). The XIP DLL and EXE code occupies from this virtual memory address to 0x03FFFFFF.
The OS will load DLLs and EXEs (other than XIP) into this slot starting at 0x03DC0000 and working backwards, then will move to the slot below 0x01FC0000. Recall, I'm using my numbers here. Any modules in the ROM will have their virtual memory slot and address pre-assigned. Any non-module DLL or EXE will be relocated to an available slot and VM address at load (this is why modules load quicker).
So in summary, my VM map looks like this:
0x00000000 - 0x01FC0000 - OS available (G'Reloc.exe slot 0)
0x01FC0000 - 0x01FFFFFF - XIP data
0x02000000 - 0x03DC0000 - OS available (G'Reloc.exe slot 1)
0x03DC0000 - 0x3FFFFFFF - XIP modules code
The actual physical XIP RAM address starts at 0x80000000 in the Touch Pro (this is physfirst in the ROMHDR.txt) and ends at 0x83400000 (in the Verizon Touch Pro - this is ulRAMEnd). The XIP is copied from the NAND flash starting here with the ROM header occupying 0x80000000 - 0x80001000. Then come the various XIP components, hopefully none of which overlap. The XIP should end at or before a ROMHDR.txt value called physlast. Thus physlast - physfirst is the size your XIP has to fit into.
Following physlast comes ulRAMStart - this is where the RAM required for nk.exe is located. This RAM ends at ulRAMFree. What remains after ulRAMFree until ulRAMEnd is available for your OS. Shrinking your XIP and relocating nk.exe will allow you to recover wasted space and give you more program memory, but it buys you nothing to move a module out of the XIP if it is required by the system. Only things that aren't required (like debuggers and hard drive drivers) should be removed.
Also, the least significant 16 bits must be zero (lower four hex digits) of the end of vm slot 0 and slot 1 in G'reloc.exe and in your ROMHDR.txt. The least significant 14 bits must be zero (the lower four digits can only be 0000, 4000, 8000 or C000) of the RAM address (ulRAMStart and ulRAMFree).
Code:
Hex edit the S000 file in the nk.exe module folder and search for the revision string. You can find it by doing a search for the unicode string "[B][COLOR=red]Kernel Built[/COLOR][/B]" (Hex String [B][COLOR=red]4B 00 65 00 72 00 6E 00 65 00 6C 00 20 00 42 00 75 00 69 00 6C 00 74 00[/COLOR][/B]). Shortly after that will be the revision that is displayed on the phase 1 boot screen (small red letters in the lower right corner of the device on CDMA Touch Pro). Change that (make sure to overwrite, not to insert, and limit it to 12 characters in unicode format.
When you rebuild your xip.bin and cook with it, you should see this value on the screen during phase 1 boot. The only other way would be to insert a marker into the boot registry
Change PagePool through Hex editing (for Diamond & Raphael)
I'm putting this up here so to answer one more unanswered question about this especially for Diamond & Raphael ROMs
To change PP of Diamond ROMs:
Open the OS.nb in Hex editing software
1. Go to offset 0x37AD68 to find 03 25 A0 E3 03 15 A0 E3 00 20 83 E5 hex string (If this string is not found at the 37AD68 offset, then search for this hex string)
Replace the string with 20 83 E5 with 00 A0 E1
This will make the string NOP (No Operation) meaning, the ROM wont set the PP to default 12MB but will allow the change in below offset
2. Now go to offset 0x3A7F94 to find E0 E2 04 80 00 00 60 00 hex string
again, if this hex string not found at the 3A7F94 offset, then search for the hex string. Just as a hint, this string is after the second NKKD8 (search for text string)
60 is the size of PP that you can now modify to suit your liking
e.g. I made mine 00 to get 0MB PP. Or change it to 80 to get 8MB PP, so forth and so on
With changing the first hex string and making the Kernel NOP, you can also use the tool to change PagePool and it does work
Also to make it a permanent change you can hex edit the first mentioned string in S000 of nk.exe module in XIP and then modify the PP with the program or by hex on OS.nb
To change PP of Raphael ROMs:
Search for hex string: 03 15 A0 03 02 15 A0 13 00 10 82 E5 and change the last 4 bytes to 03 15 A0 03 02 15 A0 13 00 00 A0 E1 then the normal PP Changer tool will work
This is the 2nd string, ignore the 1st one coz that's in ULDR
Gain more Storage Memory (increase imgfs size)
There are 4 partitions in Diamond ROMs
part00 – ULDR
part01 – XIP
part02 – IMGFS
part03 – FAT (This partition exists only on few devices)
We all port XIP from different devices to exclude few modules to gain space and to upgrade the kernel and make the XIP partition smaller in size. Although the new XIP is smaller in size but because of the insertion addresses of XIP & imgfs, there is a gap of wasted space filled with FF between end of XIP & start of imgfs. Although there is no way we can include this space into XIP as free RAM but make use of this space in imgfs and gain whatever storage space we can
Files used as example for this tutorial
xip_out.bin: My own ported XIP of size (30CA12 in Hex, 3195154 in bytes)
os.nb.payload: My own cooked payload (since I also wanted the final ROM to be a cleaner ROM)
imgfs start: in my payload at 0x7A0000 (unedited)
XIP start: in my payload at 0x320000 (unedited)
Before we move into hex editing, let me give an overall outlook of the MBR & MSFLSH regions of the ROM
MBR is the Master Boot Record of the ROM (512 bytes) from 0x0 to 0x1FF. The infomation of partitions types Flags in hex offsets are called from the registry entry mentioned in boot.rgu below
The starting block (LBA) and number of sectors for each partition are defined as shown below
part00. 1C6 – 1C9 (starting block) 1CA – 1CD (number of sectors)
part01. 1D6 – 1D9 (starting block) 1DA – 1DD (number of sectors)
part02. 1E6 – 1E9 (starting block) 1EA – 1ED (number of sectors)
part03. 1F6 – 1F9 (starting block) 1FA – 1FD (number of sectors)
[HKEY_LOCAL_MACHINE\System\StorageManager\PartitionTable]
"04"="FATFS" ; (hex: 1F2)
"20"="BOOT" ; (hex: 1C2)
"23"="RAWFS" ; (hex: 1D2)
"25"="IMGFS" ; (hex: 1E2)
MSFLSH50 is the Flash region of imgfs from 0x800 (see post #8 for screenshots, shown here is for Diamond) to 0xFFF. The starting block of imgfs is located in MSFLSH at 81C
e.g. if your device ROM's sector size is 200 then the MSFLSH50 region will starts at 0x200 and so on
Moving into the hex editing mode for making use of the wasted space between the actual XIP end & start of imgfs partitions
The new xip_out.bin is 30CA12 in total size (check your actual xip_out.bin size, shown here is just example) starting at 0x320000 (check you device XIP start, shown here is for Diamond) and ideally should end at 62CA12. But since the starting block of imgfs must be divisible by 20000 (see post #8 for screenshots, shown here is for Diamond) the imgfs needs to start at 640000. So the new XIP will have to be inserted into the payload at 0x320000 till 0x640000 with XIP size of 320000 and reduced wastage of 135EE bytes
The imgfs can also start at 630000 since this is directly after the XIP and also divisible by 20000, used here is 640000 as expansion for future xip_out.bin
Open the existing os.nb.payload in hex editor. Delete everything from 0x640000 till 0x79FFFF. This will move the imgfs from 0x7A0000 to 0x640000. Since we are now moving the imgfs partition next to new XIP, the number of sectors in new XIP and new LBA of imgfs needs to be edited to the revised value in the MBR region
To calculate the new starting block of imgfs partition we need the number of sectors in new XIP. To calculate that, use the following method
In Hex calc
Number of sectors = size of partition / sector size
e.g. (new XIP) 320000 (shown above) / 800 (see post #8 for screenshots, shown here is for Diamond) = 0640
since the coding is in little endian, we have to reverse these values to 40 06 00 00
Go to offset 0x1DA and change the values to 40 06 till 1DB and then 00 00
Now realloc the LBA of imgfs since we revised the number of sectors in XIP and to calculate that, use this method
In Hex calc
Logical Block Address (LBA) = Previous Partition LBA + Previous Partition number of sectors
e.g. (XIP LBA) 0640 + (XIP no of sectors) 0640 = 0C80
since the coding is in little endian, we have to reverse these values to 80 0C 00 00
Go to offset 0x1E6 and change the values to 80 0C till 1E7 and then 00 00
Logical Block Address (LBA) should be equal to (Previous Partition LBA + Previous Partition number of sectors * Sector Size)
e.g. (XIP LBA) 0640 + (XIP no of sectors) 0640 * 800 (see post #8 for screenshots, shown here is for Diamond) = 640000 (size of imgfs partition)
Similarly to imgfs calculate and change the LBA of FAT at 1F6 and 1F7 using the default imgfs no of sectors (use these since the cooking tools will change these as per actual size)
We have changed the LBA and number of sectors in MBR, but the OS needs to know the block address of imgfs in MSFLSH50 region
To calculate that, use this method
In Hex calc
MSFLSH50 Block Address = imgfs partition starting address / 20000 (see post #8 for screenshots, shown here is for Diamond)
e.g. (imgfs starting address) 640000 (shown above) / 20000 = 32
Go to offset 0x81C and change the value to 32
Save and close the os.nb.payload file in hex editor. Insert the new XIP into this file using this command
“insert.exe -i xip_out.bin -o OS.nb.payload -d 0x00320000 -s 0x00320000” (check your insert start address, shown here is for Diamond)
To calculate the size of XIP from MBR, use this method
In Hex calc
Size of XIP = Number of Sectors * Sector Size
e.g. (if the no of sectors in little endian) 0640 (shown above) * 800 (see post #8 for screenshots, shown here is for Diamond) = 320000 (sector size for diamonds)
This value shall be the "-s" while using insert.exe tool and to calculate the start of the XIP, use this method
In Hex calc
XIP Start = imgfs Start + "-s"
Reduce ULDR Partition Size
“ULDR” stands for “Update Loader”, and is part of the Image Update system. This system allows deployed devices to be updated with new software after they ship. The Update Loader reads a configuration stored in persistent memory and downloads and installs new versions of operating system or OEM files
Also known as part00 in the ROM, is something we all wish to get rid of and use the space as additional storage memory. This tutorial currently aims at reducing the size of this partition by 3.0 MB
Tools you need
NBSplit.exe
NBMerge.exe
Hex editor
Ervius's Payload Reducer
IMPORTANT NOTES
The template OS.nb used is the same OS.nb in which the XIP is inserted at 320000 and of size 320000
For best results use Ervius's Payload Reducer to reduce the size of payload from shipped ROM use nbmerge.exe to cook OS.nb as template for further cooking
This ROM is assumed to be from Diamond and check your device values as per the guide below
The hex offsets of (L)ogical (B)lock (A)ddress and number of sectors and imgfs block address are mentioned in tutorial above or in the post #8 below
Process
Extract OS.nb.payload from the OS.nb (nbsplit.exe –kaiser (check your device) OS.nb)
Run the OS.nb.payload through Ervius's Payload Reducer tool to remove all files from the imgfs and keep only the partition headers
Open this OS.nb.payload in your hex editor. We need to change LBA values of the partitions and number of sectors of ULDR partition since we are reducing the size
In the MBR region (partition Flag 20) LBA of ULDR partition remains same since we are not moving it anywhere. The existing number of sectors of ULDR is 3E 06 from little endian it will be 063E. We are removing 0600 sectors from this partition (0600 * 800 (size of sector, see post #8 for screenshots) = 300000) so, 063E – 0600 = 00 3E. Write it in little endian at hex offset 1CA and 1CB to 3E 00
To physically reduce the partition, remove all data between hex offsets 0x20000 till 0x31FFFF. This will make the XIP start from hex offset 0x20000 till 0x33FFFF and the imgfs partition start at 0x340000
Now since we have reduced the size of ULDR partition, the LBA values of XIP and imgfs partitions will have to be changed in the MBR region
Now change the LBA of XIP. To calculate that, use this method
In Hex calc
Logical Block Address (LBA) = Previous Partition LBA + Previous Partition number of sectors
e.g. (ULDR LBA) 00 00 00 02 + (ULDR no of sectors) 00 00 00 3E = 00 00 00 40
since the coding is in little endian, we have to reverse these values to 40 00 00 00
Go to offset 0x1D6 and change the values to 40 00 00 00 till 1D9
Now change the LBA of imgfs. To calculate that, use this method
In Hex calc
Logical Block Address (LBA) = Previous Partition LBA + Previous Partition number of sectors
e.g. (XIP LBA) 00 00 00 40 + (XIP no of sectors) 00 00 06 40 = 00 00 06 80
since the coding is in little endian, we have to reverse these values to 80 06 00 00
Go to offset 0x1E6 and change the values to 80 06 00 00 till 1E9
We have changed the LBA and number of sectors in MBR, but the OS needs to know the block address of imgfs in MSFLSH50 region
To calculate that, use this method
In Hex calc
MSFLSH50 Block Address = imgfs partition starting address / 20000 (see post #8 for screenshots, shown here is for Diamond)
e.g. (imgfs starting address) 340000 (shown above) / 20000 = 1A
Go to offset 0x81C and change the value to 1A
Save and close the os.nb.payload file in hex editor. Insert the new XIP into this file using this command
“insert.exe -i xip_out.bin -o OS.nb.payload -d 0x00020000 -s 0x00320000” (check your insert start address, shown here is for Diamond) (ignore this if the XIP is already inserted and shifted to this location with this size)
The value (02) seen at hex offset 0x1BF should not be changed or touched since that value tells the OS that first partition starts from the third Sector of the ROM (0x800 (sector size) + 0x800 = hex offset 0x1000) Currently the reduced ULDR partition starts from third sector
Now create the OS.nb from the edited OS.nb.payload to be used as template for cooking using this command
“nbmerge.exe –kaiser (check your device) OS.nb” (without -conservative switch)
NOTE
For best results directly use the OS.nb.payload as template for cooking without merging it into OS.nb. For this you will need to edit the CreateROM.bat
Note the change in red and delete the blue lines from this bat file
copy ROM\OS.nb.payload temp\OS.nb.payload
..\TOOLS\NBSplit -kaiser OS.nb
Rem rename os.nb.extra os-new.nb.extra
!Aman!'s awesome tutorial on removing ULDR partition from devices which don't have the FAT partition (part03) can be refered here: http://forum.xda-developers.com/showthread.php?t=446506
Screenshots of MBR and MSFLSH50 Regions
MBR Region
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
MSFLSH50 Region
Attached these images in Pictorial.zip with post #1 for offline reference
Gain more Storage Space with LZX compression
Thanks to:
spocky12 for cecompr_nt.dll (attached)
ivanmmj for cecompr.dll (attached) This module supports LZX compression as well as the default XPR algorithm
Replace the cecompr.dll found in the OEMXipKernel (or whichever folder you have your XIP modules) with the attached cecompr.dll module that supports LZX compression
The LZX compression takes a load of your RAM while cooking which makes the continuing IMGFSFromDump tool crash. To avoid that replace the attached cecompr_nt.dll file found in “Tools/IMGFS” folder of your kitchen
Pause your kitchen process right after it extracts the IMGFS.bin and before it inserts the files into it. (A simple “PAUSE” in the batch file will suffice). Then open up your IMGFS.bin in hex editor of your choice and search for the string "XPR". Replace the FIRST one, FIRST & ONLY ONE with "LZX". Close the hex editor, save the file and let your kitchen continue with the cooking
After flashing the ROM cooked with this module should give you approx. 10MB more space in the storage memory
Original Posts:
ivanmmj: http://forum.xda-developers.com/showpost.php?p=3678382&postcount=877
spocky12: http://forum.xda-developers.com/showpost.php?p=3690996&postcount=904
Space for Donors
High value real estate space for donors for all my work on XDA
Special Thanks
Piranha1 $5
Vippie $5
Steven Ellis $10
Guitarguy $5
Ckpv5 $5
Letama $10
!Aman! $5
LoriInWa $10
Noonski $15
Kevin $5
Dogmale $1
Nazaliyah $1​
Miscellanous uploads related to XIP porting
Kitchen Files
I use "DiamondKitchen_v0.4" kitchen to cook Diamond ROMs. The XIPInsert file is something that I made to automate the insertion and nbmerge process (well, something automatic is better than complete manual )
If you select to use the XIPInsert batch file then you must have DiamondKitchen_v0.4\XIP\xip_out.bin and DiamondKitchen_v0.4\XIP\OS.nb.payload to use this option, else the existing OS.nb file in \ROM folder will get deleted
Note: The insert values used in the batch file is for Diamond ROMs. Please check and edit these as per your devices
Code:
[B][U][I]!COOK.cmd[/I][/U][/B]
Modified to provide options to include the below batch file or to continue without it
Also included necessary warning
Code:
[B][U][I]8a.XIPInsert.bat[/I][/U][/B]
@echo off
cd [COLOR=green]XIP[/COLOR]
..\TOOLS\insert.exe -i [COLOR=green]xip_out.bin[/COLOR] -o [COLOR=green]OS.nb.payload[/COLOR] -d 0x00320000 -s 0x004C0000
..\TOOLS\nbmerge -kaiser OS.nb
copy OS.nb ..\ROM\OS.nb
del OS.nb
del *.payload
del *out.bin
exit
Deprotecting ROMs: My friend, Ervius has made a small tool to "deprotect" a protected ROM , here: http://forum.xda-developers.com/showthread.php?t=465642
First to say THANKS
Cheers
and second to say this is real hard work...but u have done it bro..
congrats
another amazing work by the XIP Master
Thanks for sharing the info, ababrekar! I'm sure this will help out many people (myself included ).
Bite Down and Don't Give Up.
Sounds like someone i know from.... hey, it is you!
Good Job,
ababrekar said:
Use this command for inserting the xip_out.bin into the .payload (presuming you already have the shipped OS.nb.payload file in the same working folder
insert.exe -i xip_out.bin -o OS.nb.payload -d 0x00320000 -s 0x004C0000
Check these values with your device imgfs since in Diamond the XIP starts at 0x00320000 and the imgfs starts at 0x007A0000, but for some reason the imgfs signature in Diamond is at 0x007E0000
Click to expand...
Click to collapse
just to make it more clear, the value for "-s"= (starting offset of imgfs - starting offset of XIP)
PS: wonderful job writing this guide brother
Ouch - too much like work, but it is nice to know how to do it.
Thanks for your effort!
Best regards,
-boggsie
So, how does one get hooked into the flow of new releases?
Perhaps would be a good idea to use one of your reserved posts as a repository of good XIP.BIN files with versions and info about the ROM extracted, so all we can use in our ROMs... only a tought...
jcespi2005 said:
Perhaps would be a good idea to use one of your reserved posts as a repository of good XIP.BIN files with versions and info about the ROM extracted, so all we can use in our ROMs... only a tought...
Click to expand...
Click to collapse
That is a good idea but I'll do that for posting the unedited XIP.bin files from dumped ROMs since the xip_out.bin I build would be for my device. People wont want to ruin their ROMs with someone else's ported XIP, right?

Need Assistance in Modifying a BenQ T3 (Performance wise, Reducing Apps & Flashing)

Need Assistance in Modifying a BenQ T3 (Performance wise, Reducing Apps & Flashing)
Hello,
Before I begin explaining my predicament I would like to state that this is essentially my first post on this website so I apologize in advance if I am essentially breaching any forum policies or rules and regulations for that matter. The moderators can amend this post as they may see fit since I am not too familiar with how things work here. That said let me get straight into what I am hoping to achieve.
I have a Benq T3 Android phone that I would like to customize, upgrade, add new features, remove flagship (reads default phone) applications, since they're essentially hogging space on the phone, and I hardly use them & finally upgrade the said former to a new Android (custom) or standard OS if it's possible based on the details I will be posting below. With all this I would like a custom or simple boot up screen as well without the Benq logo flashing all over the screen every time I power on or restart the phone.
The purpose of this exercise is:
1) I need to push this phone to the maximum limits of its hardware capability, overclocking, optimizing RAM, increasing swap space etc (currently it's not fast enough for me)
2) Remove all unnecessary applications completely (Flipboard, Benq applications that are part of the phone, WPS office), all these are by default inside the phone and even though I have tried uninstalling them they only uninstall the updates and the application still sits in hogging the phone space, which is quite frustrating.
3) To see if any relatively latest Android version could be used with the acceleration (hypothetically) done in the above point (1).
4) Flashing a new ROM (if necessary) something that may actually make this phone a better version of itself.
What will I use this phone for (Once it is done)
1) Twitter (Main function)
2) Texting (Main function)
3) Whatsapp (Main function)
4) Newspaper Applications~Text Reading Mainly, some sort of Flash / HTML5 as well (Main Function)
5) PDF reading (Main Function)
6) Discussion Board Browsing (Main function)
7) Emails (Secondary Function) ~ Using an Email client (Also need recommendations of light Apps that might work on the new made over system)
8) Youtube (Secondary Function)
9) Soundcloud (Secondary Function)
10) Word Processing including Spreadsheet + Ppt stuff occasionally (Secondary Function)
VERY IMPORTANT ~ EVERYTHING OTHER THAN WHAT I HAVE WRITTEN NEEDS TO GO
VERY IMPORTANT ~ THIS PHONE IS ROOTED VIA KINGO ROOT ALREADY
What I have currently
1) A computer running Windows 7 Home Premium x64 bit, i5 Gen 2 with 6 GB DDR2 RAM - Dell Inspiron N5110
2) An internet connection of around 20-30 Mbps
3) No programming ability whatsoever (A complete Newbie while being a downright noob in such stuff)
4) 3 hours a day (at best) to understand, implement and get this over with ASAP
5) English as my first language
6) Nothing else I am afraid
Please note that my generic aim to customize this BenQ phone is in pursuits of attaining maximum performance that the phone can generate for me while running the basic apps that I have mentioned above.
----------------------------------------------------------------------------------------------------------
That said I will now proceed to mention all my phone's tidbits based on the information that I gathered via Aida64 application
----------------------------------------------------------------------------------------------------------
Code:
----------------------------------------------------------------------------------
System
----------------------------------------------------------------------------------
Manufacturer - BenQ
Model - BenQ T3
Board - MSM8926
Device - T3_17A
Hardware - QCom
Platform - msm8226
Product - T3_08
Installed RAM - 1 GB
Total Memory - 866 MB
Available Memory - 256 MB
Internal Storage (Total Space) - 2051 MB
Internal Storage (Free Space) - 732 MB
----------------------------------------------------------------------------------
android.hardware.bluetooth
android.hardware.bluetooth_le
android.hardware.camera
android.hardware.camera.any
android.hardware.camera.autofocus
android.hardware.camera.flash
android.hardware.faketouch
android.hardware.location
android.hardware.location.gps
android.hardware.location.network
android.hardware.microphone
android.hardware.screen.landscape
android.hardware.screen.protrait
android.hardware.sensor.accelerometer
android.hardware.sensor.compass
android.hardware.sensor.light
android.hardware.sensor.proximity
android.hardware.sensor.stepcounter
android.hardware.sensor.stepdetector
android.hardware.telephony
android.hardware.telephony.gsm
android.hardware.touchscreen
android.hardware.touchscreen.multitouch
android.hardware.touchscreen.multitouch.district
android.hardware.touchscreen.multitouch.jazzhand
android.hardware.usb.accessory
android.hardware.wifi
android.hardware.wifi.direct
android.software.app_widgets
android.software.device_admin
android.software.home_screen
android.software.input_methods
android.software.live_wallpaper
android.software.sip
android.software.sip.voip
com.nxp.mifare
mobi.qiss.preload.benq
mobi.qiss.preload.benqhome
Code:
----------------------------------------------------------------------------------
CPU
-----------------------------------------------------------------------------------
SoC Model - Quadcomm Snapdragon 400 (MSM8926)
Core Architecture - 4x ARM Cortex-A7 @ 1190 MHz
Manufacturing Process - 28 nm
Instruction Set - 32-bit ARMv7
CPU Revision - r0p3
CPU Cores - 4
CPU Clock Range - 300 - 1190 MHz
Core 1 Clock - 787 MHz
Core 2 Clock - 787 MHz
Core 3 Clock - 787 MHz
Core 4 Clock - (Sleeping)
CPU Utilization - 74%
Scaling Governor ondemand
CPU ABI - armeabi-v7a
CPU ABI2 - armeabi
AES - Not Supported
NEON - Supported
SHA1 - Not Supported
SHA2 - Not Supported
Code:
------------------------------------------------------------------------------------
DISPLAY
------------------------------------------------------------------------------------
Screen Resolution - 540 x 960
Screen Size - 56 mm x 99 mm
Screen Diagonal - 4.48 inches
Pixel Density - 246 dpi (hdpi)
xdpi / ydpi - 245 / 246 dpi
GPU Vendor - Qualcomm
GPU Renderer - Adreno 305
GPU ALUs - 24
Current GPU Clock - 320 MHz
CPU Clock Range - 200 - 450 MHz
GPU Utilization - 0%
Scaling Governor msm-adreno-tz
Refresh Rate - 62 Hz
Default Orientation - Portrait
OpenGL ES Version - 3.0
GPU Version - OpenGL ES 3.0 [email protected]
[email protected]
LNXBUILD_Nondeterminist
ic_AU+PATCH[ES]_msm8226
_LNX.LA.3.5.1_RB1_CL330
4448_release_ENGG
([email protected])
--------------------------------------------------------------------------------------
GL_AMD_compressed_ATC_texture
GL_AMD_performance_monitor
GL_AMD_program_binary_Z400
GL_EXT_debug_label
GL_EXT_debug_marker
GL_EXT_discard_framebuffer
GL_EXT_robustness
GL_EXT_texture_format_BGRA8888
GL_EXT_texture-type_2_10_10_10_REV
GL_NV_fence
GL_OES_compress_ETC1_RGB8_texture
GL_OES_depth_texture
GL_OES_depth24
GL_OES_EGL_image
GL_OES_EGL_image_external
GL_OES_element_index_uint
GL_OES_fbo_render_mipmap
GL_OES_fragment_precision_high
GL_OES_get_program_binary
GL_OES_packed_depth_stencil
GL_OES_depth_texture_cube_map
GL_OES_rgb8_rgba8
GL_OES_standard_derivatives
GL_OES_texture_3D
GL_OES_texture_float
GL_OES_texture_half_float
GL_OES_texture_half_float_linear
GL_OES_texture_npot
GL_OES_vertex_half_float
GL_OES_vertex_type_10_10_10_2
GL_OES_vertex_array_object
GL_QCOM_alpha_test
GL_QCOM_binning_control
GL_QCOM_driver_control
GL_QCOM_perform_global_mode
GL_QCOM_extended_get
GL_QCOM_extended_get2
GL_QCOM_tiled_rendering
GL_QCOM_writenly_rendering
GL_EXT_sRGB
GL_EXT_sRGB_write_control
GL_EXT_texture_sRGB_decode
GL_EXT_texture_filter_anisotropic
GL_EXT_multisampled_render_to_texture
GL_EXT_color_buffer_float
GL_EXT_color_buffer_half_float
Code:
--------------------------------------------------------------------------------
NETWORK
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
TELEPHONY
--------------------------------------------------------------------------------
Phone Type - GSM
SIM State - Absent
ICC Card - Not Present
---------------------------------------------------------------------------------
WIFI
---------------------------------------------------------------------------------
State - Enabled
SSID - DSC Network
BSSID - d4:6e:0e:ee:2c:6b
Hidden SSID - No
MAC Address - 1c:e1:92:1c:11:ba
Signal Strength - 47 dBm (Excellent)
Link Speed - 65 Mbps
Network ID - 3
Gateway - 192.168.0.1
Netmask - 255.255.255.0
DNS1 - 192.168.0.1
DHCP Lease Duration - 2 hours
Wi-Fi Aware - Not Supported
Wi-Fi Direct - Supported
Code:
--------------------------------------------------------------------------------
BATTERY
--------------------------------------------------------------------------------
Power Source - A/C Charger
Level - 67 %
Status - Charging
Health - Good
Technology - Li-ion
Temperature - 40.6 C
Voltage - 4.044 V
Capacity (Reported by Andorid) - 2520 mAh
Code:
--------------------------------------------------------------------------------
ANDROID
---------------------------------------------------------------------------------
Andriod Version - 4.4.2 (KitKat)
API Level - 19
Rooted Device - YES
Android ID - 63f50428151aae1c
Baseband - MPSS.DI.2.0.1.c1-00223-
M8926DAAAANAZM-1
Build ID - SWEP_GA31I17A_v01.057.03.g_08
Codename - REL
Fingerprint - BenQ/T3_08/T3_17A:4.4.2/
KVT49L/
SWEP_GA3I17A_v01.057.03
.g_08:user/release-keys
ID - KVT49L
Incremental - 376
Java Runtime Version - Android Runtime 0.9
Java VM Version - Dalvik 1.6.0
Java VM Heap Size - 96 MB
Kernel Architecture - armv7I
Kernel Version - 3.4.-g3104c58
([email protected]
)(gcc version 4.7 (GCC))
#1 SMP PREEMPT Thu Mar
12 10:52:17 CST 2015
Tags - release-keys
Type - User
Google Play Services Version - 11.5.09 (034-164803921)
OpenSSL Version - OpenSSL 1.0.1e 11 Feb 2013
ZLib Version - 1.2.8.f-linuxfoundation-
mods-v1
ICU CLDR - 23.0
ICU library Version - 51.1.0.1
ICU Unicode Version - 6.2
Android Language - English (United States)
Configured Time - Malaysia Time (UTC+08:00)
UpTime - 01:16:03
Code:
-----------------------------------------------------------------------------
DEVICES
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
Rear Facing Camera
-----------------------------------------------------------------------------
Resolution - 8.0 MP (3264 x 2448)
Video Resolution - 2.1 MP (1920 x 1080)
Focal Length - 3.85 mm
Focus Modes - auto, infinity, macro,
continious-video,
continuous-picture
Video Snapshot - Supported
Video Stabilization - Not Supported
Zoom - Supported
Smooth Zoom - Not Supported
Auto Exposure Locking - Supported
Auto White Balance Locking - Supported
Flash - Supported
-----------------------------------------------------------------------------
Front-Facing Camera
-----------------------------------------------------------------------------
Resolution - 0.3 MP (640 x 480)
Video Resolution - 0.3 MP (640 x 480)
Focal length - 1.21 mm
Focus Modes - Fixed
Video Snapshot - Supported
Video Stabilization - Not Supported
Zoom - Supported
Smooth Zoom - Not Supported
Auto Exposure Locking - No Supported
Auto White Balance Locking - Not Supported
-----------------------------------------------------------------------------
OpenCL Device - QUALCOMM
Adreno(TM)
-----------------------------------------------------------------------------
Device name - QUALCOMM Adreno (TM)
Device Type - GPU
Device Vendor - QUALCOMM
Device Vendor ID - 0xBF4D3C4B
Device Version - OpenCL 1.1 Adreno(TM) 305
Device Profile - Embedded
Driver Version - OpenCL 1.1 QUALCOMM build:
LNXBUILD_Nondeterminist
ic_AU+PATCH[ES]_msm8226
_LNX.LA.3.5.1_RB1_CL330
448_release_ENGG
(CL3304448)
Build Date: 04/21/14 Mon
Local Branch:
Remote Branch: quic/
LNX.LA.3.5.1_RB1.1
Compiler E031.24.00.14
OpenCL C Version - OpenCL C1.1 Adreno(TM) 305
Clock Rate - 400 MHz
Compute Units - 1
Address Space Size - 32-bit
Max 2D Image Size - 4096 x 4096
Max 3D Image Size - 4096 x 4096 x 512
Max Samplers - 16
Max Work-Item Size - 256 x 256 x 256
Max Work Group Size - 256
Max Argument Size - 256 Bytes
Max Constant Buffer Size - 4 KB
Max Constant Arguments - 8
Max Printf Buffer Size - 1 MB
Native ISA Vector Widths - char1, short1, int1, half1, float1
Preferred Native Vector Widths - char1, short1, int1, long1, half1, float1
Profilling Timer Resolution - 1000 ns
OpenCl Library - /system/vendor/lib/libOpenCL.so
Global Memory - 443684 KB
Global Memory Cache - 8 KB (Read/Write, 64 Byte Line)
Local Memory - 8 KB
Max Memory Object Allocation Size - 443684 KB
Memory Base Address Alignment - 512-bit
Min Data Type Alignment - 64 Bytes
Command-Queue Out of Order Execution - Enabled
Command-Queue Profiling - Enabled
Compiler Available - Yes
Error Correction - Not Supported
Images - Supported
Kernel Execution - Supported
Linker Available - Yes
Linker-Endian Device - Yes
Native Kernel Execution - Not Supported
SVM Automics - Not Supported
SVM Coarse Grain Buffer - Not Supported
SVM Fine Grain System - Not Supported
Unified Memory - Yes
OpenCL Extension
cl_img_egl_image
cl_khr_byte_addressable_store
cl_khr_egl_event
cl_khr_fp16
cl_khr_gl_gl_sharing
cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics
cl_khr_local_int32_extended_atomics
cl_qcom_create_buffer_from_image
cl_qcom_ext_host_ptr
cl_qcom_ion_host_ptr
cl_qcom_limited_printf
cl_qcom_extended_images
-----------------------------------------------------------------------
OpenCL Device - QUALCOMM Krait(TM)
-----------------------------------------------------------------------
Device Name - QUALCOMM Krait(TM)
Device Type - CPU
Device Vendor - QUALCOMM
Device Vendor ID - 0xBF4D3C4B
Device Version - OpenCL 1.1. Krait(TM)
Device Profile - Embedded
Driver Version - OpenCl 1.1 QUALCOMM
build:
LNXBUILD_Nondeterminist
ic_AU+PATCH[ES]_msm8226
_LNX.LA.3.5.1_RB1_CL330
4448_release_ENGG
(CL3304448)
Build Date: 04/21/14 Mon
Local Branch:
Remote Branch: quic/
LNX.L.A.3.5.1_RB1.1
Compiler E031.24.00.14
OpenCL C Version - OpenCL C 1.1. Krait(TM)
Compute Units - 1
Address Space Size - 32-bit
Max 2D Image Size - 8192 x 8192
Max 3D Image Size - 2048 x 2048 x 2048
Max Samplers - 16
Max Work-Item Size - 1 x 1 x 1
Max Work-Group Size - 1
Max Argument Size - 256 bytes
Max Constant Buffer Size - 64 KB
Max Constant Buffer Size - 8
Native ISA Vector Widths - char16, short8,int4, long1, half8, float4
Preferred Native Vector Widths - char16, short16, int16, long1, half16,float16
OpenCL Library - /system/vendor/lib/libOpenCL.so
Global Memory - 443684 KB
Global Memory Cache - 1 MB (Read/Write, 64-byte
line)
Local Memory - 32 KB
Man Memory Object Allocation Size - 443684 KB
Memory Base Address Alignment - 1024-bit
Min Data Type Alignment - 128 bytes
Command-Queue Out of Order Execution - Enabled
Command-Queue Profiling - Enabled
Compiler Available - Yes
Error Correction - Not Supported
Images - Supported
Kernel Execution - Supported
Linker Available - Yes
Little-Edndian Device - Yes
Native Kernel Execution - Supported
SVM Atomics - Not Supported
SVM Coarse Grain Buffer - Not Supported
SVM Fine Grain Buffer - Not Supported
SVM Fine Grain System - Not Supported
United Memory - Yes
OpenCL Extensions
cl_khr_global_int32_base_atomics
cl_khr_global_int32_extended_atomics
cl_khr_local_int32_base_atomics
cl_khr_local_extended_atomics
cl_khr_byte_addressable_store
cles_khr_int64
cl_khr_fp16
No USB devices found.
No CUDA devices found.
No Vulkan devices found.
No PCI devices found.
Code:
----------------------------------------------------------------------------
THERMAL
----------------------------------------------------------------------------
tsens_tz_sensor0 - 42.0 C
tsens_tz_sensor1 - 43.0 C
tsens_tz_sensor2 - 42.0 C
tsens_tz_sensor3 - 42.0 C
tsens_tz_sensor4 - 41.0 C
tsens_tz_sensor5 - 43.0 C
ppm8226_tz - 38.7 C
pa_therm0 - 25.0 C
pa_therm1 - 25.0 C
Battery - 31.6 C
Ok, I did a bit of a mess up with the phone - Sorry! I tried removing the bloatware (BenQ software) using SuperUser app that I had installed previously after the KingoRoot and now the phone has lost it's systemUi
I see no icons on my screen and it takes very long to boot up the phone (heck most times it just gets stuck on the loading screen). I tried to do a master reset by pressing the power button + Volume down and cleaning all user data but everything I try seems to be in vain. The data was reset as I had to enter my google account and all flagship apps lost its updates but even so the result (i.e. no SystemUi) remains.
There seem to be no guides on this phone Model (BenQ - T3) at all on XDA forum or the internet for that matter.
Any suggestions on what can I do next ??
P.S. The phone has no SD card and this is just a Testing phone so I can play around with it as much as I can. Any help on the matter would be much appreciated.
Writing this after I've successfully troubleshooted and resurrected the phone to a much better state. Apparently in my haste to try out things I accidently damaged the launcher for my phone which totally messed up the User Interface.
Nearly three months of searching and reading various online material for my phone (still cannot find stock ROM) without avail I came back on XDA and posted this entire problem from scratch in the Noob Friendly Questions Thread.
Luckily a couple of blokes helped me out on the matter and I have managed to bring my phone back to a working state (typing this post from the XDA app itself on my BenQ)
If you want the reference to the conversation please visit the thread '[HELP THREAD] Ask ANY Question. by immortalneo' and start reading my post from page 4075 onwards.
Tools that I used to rectify this:
1) Adb and Fastboot drivers installed in the PC
2) Rooted BenQ T3 (if you haven't Rooted yet then just download KingoRoot, enable USB debugging and root the phone - Do a Google search and you'll find it pretty easy)
3) KitKat launcher apk app
At first I went into recovery mode and wiped clean the data and cache, this helped me boot into the phone after which I connected it to my PC (USB debugging on) and ran the following command:
Code:
Adb reboot bootloader
The phone then went into Fastboot mode and I had to further write this:
Code:
Fastboot oem unlock
The above command unlocked the bootloader after which I once again booted into the phone recovery and wiped clean the data and cache. When the boot up process was done I had to connect again to the PC (USB debugging on) and install the launcher by writing:
Code:
Adb install [launcher_name]
This repaired my UI and all the icons and screen windows came back to normal, my problem of being stuck at a normal boot up process also resolved once I reinstalled the launcher correctly!
Once the GUI came back I reentered my Google credentials, carefully uninstalled all bloat ware and unnecessary apps via Kingo Super user app and updated all the ones that I use on a daily basis.
I now will look to find TWRP or any custom recovery for my phone and Custom ROMs as well. If anyone can point me to the right direction then that would be highly appreciated !!!

RAM & ROM Size

I have a GT-N7100 2GB RAM, 16GB ROM (Internal Memory).
Why do info apps show:
- RAM Total: 1.7GB
- ROM Total: 10.3GB
If I recall the ROM value is: 16GB - system software = 10.3GB available to user.
What is with the RAM tho?

Categories

Resources