Why not we use benchmark to determine the "optimum" value of tweaks?
Here is an Skschema Script I have written for this purpose:
ONLY main test and Storage card test supported for now.
Code:
#0 #p(--------------------------Define Target Tweak Here--------------------------)
#setvar(TPath) #d(HKLM\System\StorageManager\FATFS\CacheSize)
#setvar(TType) #d(DWORD)
#setvar(TValues) #d(0\512\1024\2048\4096\8192\16384\EOF\)
#0 #p(--------------------------DO NOT EDIT BELOW THIS LINE--------------------------)
#0 #p(--------------------------Parsing input---------------------)
#setvar(Backslash) #d(\)
#pos(@TPath;@Backslash;pos)
#eval(pos=pos-1)
#substr(@TPath;1;#pos#;RBase)
#setvar(TID) #d(@RBase)
#setvar(RPath) #d()
#label(LOOPPARSE)
#eval(pos=pos+2)
#length(@TPath;length)
#eval(length=length-pos+1)
#substr(@TPath;#pos#;#length#;TPath)
#pos(@TPath;@Backslash;pos)
#chkcondition(pos==0)
#IFTRUE(BLOOPPARSE)
#eval(pos=pos-1)
#substr(@TPath;1;#pos#;substr)
#setvar(RPath) #d(@[email protected]\)
#setvar(TID) #d(@[email protected])
#goto(LOOPPARSE)
#label(BLOOPPARSE)
#setvar(TID) #d(@[email protected])
#setvar(RName) #d(@TPath)
#setvar(Rtype) #d(@TType)
#rgget(@RBase;@RPath;@RName;@Rtype;RValue)
#msg(Original Value:@[email protected]@RName=#RValue#(@Rtype)#RTesting Values:@TValues)
#label(LOOPBENCH)
#goto(BENCHWVALUE)
#label(EBENCHWVALUE)
#0 #p(--------------------------Extract TValues---------------------)
#pos(@TValues;@Backslash;pos)
#eval(pos=pos-1)
#substr(@TValues;1;#pos#;RValue)
#eval([email protected])
#eval(pos=pos+2)
#length(@TValues;length)
#eval(length=length-pos+1)
#chkcondition(length<1)
#IFTRUE(BLOOPBENCH)
#substr(@TValues;#pos#;#length#;TValues)
#goto(LOOPBENCH)
#label(BLOOPBENCH)
#goto(END)
#label(BENCHWVALUE)
#0 #p(--------------------------Reboot---------------------)
#rgset(@RBase;@RPath;@RName;@Rtype;#RValue#)
#rgset(HKLM;Software\Bencher;TID;SZ;@TID)
#rgset(HKLM;Software\Bencher;TValues;SZ;@TValues)
#rgset(HKLM;Software\Bencher;Backslash;SZ;@Backslash)
#rgset(HKLM;Software\Bencher;RBase;SZ;@RBase)
#rgset(HKLM;Software\Bencher;RPath;SZ;@RPath)
#rgset(HKLM;Software\Bencher;RName;SZ;@RName)
#rgset(HKLM;Software\Bencher;Rtype;SZ;@Rtype)
#regflush()
#sr()
#eval(RValue=0)
#rgget(HKLM;Software\Bencher;TID;SZ;TID)
#rgget(HKLM;Software\Bencher;TValues;SZ;TValues)
#rgget(HKLM;Software\Bencher;Backslash;SZ;Backslash)
#rgget(HKLM;Software\Bencher;RBase;SZ;RBase)
#rgget(HKLM;Software\Bencher;RPath;SZ;RPath)
#rgget(HKLM;Software\Bencher;RName;SZ;RName)
#rgget(HKLM;Software\Bencher;Rtype;SZ;Rtype)
#rgget(@RBase;@RPath;@RName;@Rtype;RValue)
#0 #p(--------------------------Wait load by color---------------------)
#getpxlclr(109;548;3)
#r(\Program Files\Spb Benchmark\SpbBenchmark.exe) #sleep(30000)
#0() #sleep(30000)
#label(WAITLOAD)
#getpxlclr(109;548;4) #sleep(500)
#chkstrings(@var4) #d(@var3)
#IFTRUE(WAITLOAD)
#eval(TSelection=145)
#0 #p(--------------------------Back to home---------------------)
#eval(flag=1)
#label(LOOPBACK)
#tap(270;565) #sleep(2000)
#eval(flag = flag + 1)
#chkcondition(flag < 6)
#IFTRUE(LOOPBACK)
#0 #p(--------------------------Select Next Test---------------------)
#label(LOOPTESTS)
#eval(TSelection=TSelection+40)
#tap(70;#TSelection#) #sleep(2000)
#0 #p(--------------------------Add Name---------------------)
#sendkey(#[email protected]_#RValue#)#sleep(2000)
#sipoff() #sleep(2000)
#0 #p(--------------------------Next---------------------)
#tap(421;563)#sleep(2000)
#chkcondition(TSelection==185)
#IFFALSE(T1)
#0 #p(--------------------------Clr Name Change Alert---------------------)
#tap(173;395)#sleep(2000)
#tap(420;122)#sleep(2000)
#goto(ENDIF)
#label(T1)
#chkcondition(TSelection==265)
#IFFALSE(T2)
#goto(ENDIF)
#tap(421;563)#sleep(2000)
#tap(330;416)#sleep(2000)
#rgset(HKLM;Drivers\BuiltIn\Battery;EnableUSBCharging;DWORD;0)
#rgset(HKLM;Drivers\BuiltIn\Battery;EnableACCharging;DWORD;0)
#tap(421;563)#sleep(2000)
#tap(421;563)#sleep(2000)
#goto(ENDIF)
#label(T2)
#tap(421;563)#sleep(2000)
#label(ENDIF)
#tap(421;563)#sleep(2000)
#tap(421;563)#sleep(2000)
#0 #p(--------------------------Wait result---------------------)
#getpxlclr(419;571;3) #sleep(5000)
#label(WAITRESULT)
#getpxlclr(294;572;4) #sleep(90000)
#chkstrings(@var4) #d(@var3)
#iftrue(RESULTDONE)
#goto(WAITRESULT)
#label(RESULTDONE)
#tap(421;563)#sleep(2000)
#tap(421;563)#sleep(2000)
#chkcondition(TSelection==225)
#IFFALSE(LOOPTESTS)
#delete(\My Documents\Spb Benchmark Results.xml;\My Documents\Spb_#RValue#.xml)
#copyfile(\My Documents\Spb Benchmark Results.xml;\My Documents\Spb_#RValue#.xml)
#goto(EBENCHWVALUE)
#label(END)
#msg(END)
Pre-requisite:
0. Highly recommended for Hard-resetted device, or at least: BACK-UP
1. Place a shortcut of SpbBenchmark in the startup folder(SKschema has some problem in launching and activating Spb)
2. Run Spbbenchmark once and disable Word/Pocket IE test(Rapheal always fail somehow...)
3. Send 1 SMS to yourself (otherwise Internal Database Read test fails)
4. Run script, and leave it charged until END message appears
Output:
Spb_xxx.xml in My Documents
Which can be analysed HERE: http://www.spbsoftwarehouse.com/products/benchmark/handleresult.php?en
Sample Statistics:
HKLM\System\StorageManager\FATFS\CacheSize
{
"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"
}
Conclusion:
CacheSize attains maxium performance when equal to 16384 (May test higher value next time)
Weird value in 8192/16484 maybe due to some disruption of test
Feel free to test with other tweaks and post your results here!
HKLM\System\StorageManager\Filters\fsrelxfilt\RelStoreCacheSize
Conclusion:
Device attains maximum performance when RelStoreCacheSize=32768,
BEYOND THAT IT IS COUNTER-PRODUCTIVE
Thanks, that is helpful (sorry for the thread revival, but I did a search and bumped into this!)
Related
{
"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"
}
install 2009VGAJavaAndOperaMini5Beta2(if not installed)
install opera-mini-5.0.18635-advanced-en (final)
run opera mini final and exit java
Copy the file \windows\appdb\selector.utf to your PC
(make sure backup this file first in case something goes wrong!)
Remove read-only attribute
Extract the file “sign_operamini.exe”
from my zip to the same folder and run it.
It will patch the selector.utf and create a backup too.
Now replace the selector.utf file in the pocket PC with the patched.
Create the shortcut manually using any text editor. Shortcuts have the file extension ".lnk". So, for example, lets create a file in a text editor, and save it with the file name OperaMini.lnk, the contents of the file should look similar to this :
Code:
28#"\windows\jbed.exe" -run s0_
DONE
I think this is already covered in the Opera Mobile/Mini all versions thread. Plus I think the Opera Mini 5 native for WinMo is a better option.
this i not beta. you are talking about the beta 2 version and wm opera has many problems. sorry my bad english
Thanks,
This will be posted on the Official Opera thread
I like almost everything in opera mini 5, but some nice functions still missing..., like:
- copy link command from another application doesn't have support for "paste" into the operamini;
- missing flash content player support (for animated images on most websites).
Skyfire web explorer has almost everything it's needed and it's free . The only thing in skifire that needs to be improved is scrolling the page like operamini, very smooth and quick .
I cant download this. says virus alert. and shuts down. Just wanted to let you know.
edit: got it downloaded on my home pc. thanks!
What tools can be used to decompress/extract the contents of that ROM correctly?
http://www.gigabytecm.com/Russia/Download.aspx?id=91
The device is Gigabyte GSmart S1205.
Any help is appreciated.
im interested too. the osnbtool seems to recognize the four sections however, it crashes.
OS ROM Partition Tool V1.59 By Weisun :> PDAclan.com
Sector size : 0x00000800
Extra data bytes : 0x00000008
OS IMAGE found.
Partitions infomation:
**************************************
Part-0 type: BOOT SECTION image
Part-1 type: XIP RAM Image
Part-2 type: IMGFS file system
Part-3 type: legit DOS partition
**************************************
flash.bin.PRE written.
-------------------------------------------------
Sector counters (extra-data) found in source file.
Partition 0 true offset:00003EAC true size:001FA173 Len:000007BE
Partition 1 true offset:00000000 true size:0000C478 Len:00000440
Partition 2 true offset:00000000 true size:00000000 Len:0000CAC0
Partition 3 true offset:00000000 true size:00000000 Len:00011440
Click to expand...
Click to collapse
*** the osnbtool stopped here. and windows caught an exception ****
i also tried to prepare_imgfs the flash.bin (with the ff params or combinations of each: -nosplit -acer -mpx200), the operation seems to have succeed everytime as there are no error messages.
However running viewimgf throws an exception (invalid header) and stops.
any help would be greatly appreciated.
flash.bin is signed?
i found this document
the requirement said something about signing the flash.bin? are all bin files signed before flashing to device?
curious, if this only applies to s1205, then is this the reason why osnbtool or other tools cannot dump the ROM?
any help is greatly appreciated.
Rom extraction - only from spec cable:
1. Pinout special contacts under accu:
From left to right: 1- Gnd, 2- Tx, 3-Rx, next symmetric 4 - Rx, 5 - Tx, 6 - Gnd
{
"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"
}
Connect s1205 with Serial->USB to comp.
2. Flasher:
h..p://4pda.ru/forum/dl/post/1011438/SP_Flash_Tool_v1.1110.00_new_mcp.7z
3. run flasher
2. go to tab "Read back"
3. remove all task button "remove"
4. press button "Add"
5. 2 Click on stroke - select where save dump, press "save", in textbox "Length" - write 0х10000000
6. On tab "baudrate" select speed (std 115200 b/s, can 460?)
7. See in comp manag number of com port of cable and write this number in number port in flasher.
8. Press "Read back" and get rom(1) file without ext.
Do not start memory test in flasher!!! it's destroy you s1205.
If anybody need full dump - h...p://www.multiupload.com/ZBKA138KIN (Russian)
previous link is dead
fullflash reupload
new link:
uploadmirrors.com/download/1FBPRTOE/s1205_fullflash.rar
Okay so this how you can remove your systems app easy yourself.
YouTube on the script in action
http://youtu.be/GllT3hTsNzU
What you will need.
7zip or WinRAR
Note++ or PSPad (PSPad is what I use)
1. download the dfuse_remove_app.zip
{
"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"
}
2. open the archive with 7zip
3. go inside the META_INF folder
4. go into com folder
5 go into google folder
6. go into android folder
7 and there is the updater-script
8.drag it out on to your desktop or a folder whatever you want. (minimize the archive)
9. open the updater-script with Note++ or PSPad
10. the script.
Code:
ui_print("remove apps");
run_program("/sbin/mount", "/dev/block/mmcblk0p33", "/system");
package_extract_dir("system", "/system");
show_progress(1, 15);
delete("/system/app/IMEXT9Turkish.apk", "/system/app/IMEXT9Swedish.apk", "/system/app/IMEXT9Spanish.apk", "/system/app/IMEXT9Slovenian.apk", "/system/app/IMEXT9Slovak.apk", "/system/app/IMEXT9Serbian.apk", "/system/app/IMEXT9Russian.apk", "/system/app/IMEXT9Russian.apk","/system/app/IMEXT9Portuguese.apk", "/system/app/IMEXT9Polish.apk", "/system/app/IMEXT9Norwegian.apk", "/system/app/IMEXT9Lithuanian.apk", "/system/app/IMEXT9Latvian.apk", "/system/app/IMEXT9Italian.apk", "/system/app/IMEXT9Hungarian.apk", "/system/app/IMEXT9Greek.apk", "/system/app/IMEXT9German.apk", "/system/app/IMEXT9French.apk", "/system/app/IMEXT9Finnish.apk", "/system/app/IMEXT9Estonian.apk", "/system/app/IMEXT9BahasaIndonesia.apk", "/system/app/IMEXT9BahasaMalaysia.apk", "/system/app/IMEXT9Bulgaria.apk", "/system/app/IMEXT9Czech.apk", "/system/app/IMEXT9Dutch.apk", "/system/app/IMEXT9Danish.apk", "/system/app/IMEXT9Croatian.apk", "/system/app/IMEXT9Romanian.apk");
ui_print("Unmounting Filesystems . . .");
unmount("/system");
ui_print("Finished");
11. Now what to edit for the apps you want to delete. I use this to remove all the language keyboard apk,but the English one.
Now the only thing you want to edit is the apk name.
Code:
"/system/app/IMEXT9Turkish.apk",
Like this
Code:
"/system/app/FriendStream.apk",
Now you can add and make this shorter if you want
just keep this at the beginning
Code:
delete(
and this at the end
Code:
);
Look at the 1st code for example.
12. Now put the updater-script back into the archive and close.
13. flash in recovery.
List of apps this will remove if you flash this
Code:
IMEXT9Bulgaria.apk
IMEXT9Croatian.apk
IMEXT9Czech.apk
IMEXT9Danish.apk
IMEXT9Dutch.apk
IMEXT9Estonian.apk
IMEXT9Finnish.apk
IMEXT9French.apk
IMEXT9German.apk
IMEXT9Greek.apk
IMEXT9Hungarian.apk
IMEXT9Italian.apk
IMEXT9BahasaIndonesia.apk
IMEXT9Latvian.apk
IMEXT9Lithuanian.apk
IMEXT9BahasaMalaysia.apk
IMEXT9Norwegian.apk
IMEXT9Polish.apk
IMEXT9Portuguese.apk
IMEXT9Romanian.apk
IMEXT9Russian.apk
IMEXT9Serbian.apk
IMEXT9Slovak.apk
IMEXT9Slovanian.apk
IMEXT9Slovenian.apk
IMEXT9Spanish.apk
IMEXT9Swedish.apk
IMEXT9Turkish.apk
I forgot two Chinese apps in the script. Will update later
CIMEXT9.apk
cxt9ldb.apk
I hope this helps some of you.
updating pictures now sorry.
fixed sorry about that
SAMSUNG GALAXY S7 DUAL SIM MODEL: SM-G930FD STUCK ON BOOTLOADER EXEPTION, I HAD IT CHARGING LIKE ALWAYS IN THE MORNING WITH THE PHONE ON AND SUDDENLY IT FROZE, SO I TRIED RESTARTING THE PHONE, IT STAYED ONLY STUCK ON SAMSUNG LOGO, SO I TRIED NEXT IS PUTTING THE PHONE IN DOWNLOAD MODE AND IT WORKED BUT I HAD TO DOWNLOAD THE FIRMWARE, SO I HAD TO LEAVE TO WORK LEAVING MY PHONE AT HOME, I COME BACK HOME AND THIS SHOWS UP:
Bootloader Exeption
{ RST_STAT = 0x10000 }
EVT 1.0
ASV TBL VER = 8, GRADE = C
ECT = PARA005E
LOT_ID: NA2PA
CHIP_ID : 0274cdce869c
CHIP_ID2: 0000000
MNGS: 37'C APOLLO: 38'C G3D: 38'C ISP:40'C
Exeption: do_handler_serror: SERROR(esr: 0xbf000000)
0
pc : 0x8f0131d0 lr : 0x8f022b7c sp : 0x8f10fe90
{
"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"
}
I HAVENT INSTALLED ANY RECENT APPS, NOR ROOTED THE PHONE, EVERYTHING HAS STOCK ORIGINAL FIRMWARE
PLEASE HELP ME!!!!!!!!!!!!!!!!!!!!!!!!!!
Sm-g930fd stuck on bootloader
mikangelo38 said:
SAMSUNG GALAXY S7 DUAL SIM MODEL: SM-G930FD STUCK ON BOOTLOADER EXEPTION, I HAD IT CHARGING LIKE ALWAYS IN THE MORNING WITH THE PHONE ON AND SUDDENLY IT FROZE, SO I TRIED RESTARTING THE PHONE, IT STAYED ONLY STUCK ON SAMSUNG LOGO, SO I TRIED NEXT IS PUTTING THE PHONE IN DOWNLOAD MODE AND IT WORKED BUT I HAD TO DOWNLOAD THE FIRMWARE, SO I HAD TO LEAVE TO WORK LEAVING MY PHONE AT HOME, I COME BACK HOME AND THIS SHOWS UP:
Bootloader Exeption
{ RST_STAT = 0x10000 }
EVT 1.0
ASV TBL VER = 8, GRADE = C
ECT = PARA005E
LOT_ID: NA2PA
CHIP_ID : 0274cdce869c
CHIP_ID2: 0000000
MNGS: 37'C APOLLO: 38'C G3D: 38'C ISP:40'C
Exeption: do_handler_serror: SERROR(esr: 0xbf000000)
0
pc : 0x8f0131d0 lr : 0x8f022b7c sp : 0x8f10fe90
I HAVENT INSTALLED ANY RECENT APPS, NOR ROOTED THE PHONE, EVERYTHING HAS STOCK ORIGINAL FIRMWARE
PLEASE HELP ME!!!!!!!!!!!!!!!!!!!!!!!!!!
Click to expand...
Click to collapse
I have the same issue ,please tell me if you solved that
Hi, I have a problem that I don't know how to solve: when I try to get files bigger than 125 MB teracopy show "Error trimming file" error message.
The transfer is made with teracopy from a windows 7 pc and landrive app ( https://play.google.com/store/apps/details?id=fr.webrox.landrive&hl=it&pli=1 ) on android.
I don't think that it's bug of teracopy or landrive, because it's happen only with files bigger than 125 mb and not with small files. For this issue I have written a question here ( https://forum.xda-developers.com/t/...ing-kernel-and-compile.4547375/#post-88123973 ) in particularly the part related to ext4 filesystem but nobody has answer me .
How can I solve this issue ?
You can see error in the following screen
{
"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"
}
Update : I have scanned microsd with hdtune and all sector are ok (green)... there is a bug? Problem occur with galaxy S9 snapdragon both with Android 9 and Android 10
For the Multimedia Card and the SD card it is the ERASE command, which performs a non-deterministic TRIM operation. Non-deterministic TRIM means that after an ERASE command a new read of the respective block number ( cf. Logical Block Addressing, LBA for short ) returns undetermined data. This can be data from other blocks and also different data for each read attempt.
Why is called ERASE command if I'm making a copy to microsd? How can solve this issue? What is the cause?
Ask developer of the app you used this question.
so You think that is a problem related to teracopy and not to android?
It in no case is Android OS related: it happened PC side!
I'm pretty sure the error occured because you didn't perform a Copy but a Move.
If you would do a Google search for "Tera Copy Pro error trimming file" you probably can get the reason why this error occurs.
no, I'm sure to have performed a copy and not a move... are You sure that isn't related to file system (and/or cluster dimension) ? Even because I have format microsd to windows and considering that it was of 128 gb, I can't use FAT32