use mtty to check nand has a bad block? - Touch Pro2, Tilt 2 Android Development

follow is my mtty message,does it show us a bad block?
--- 2K bytes sector version ---
DEVICE NAME=samsung_kby00n00hm
DEVICE ID=0xBC
DEVICE MAKER ID=0xEC
PAGE SIZE=0x800
TOTAL PAGE SIZE=0x840
BLOCK COUNT=0x1000
BLOCK PAGE=0x40
Checking block information
BLOCK 0 (0x0) is reversed block
BLOCK 1 (0x1) is reversed block
BLOCK 2 (0x2) is reversed block
BLOCK 3 (0x3) is reversed block
BLOCK 4 (0x4) is reversed block
BLOCK 5 (0x5) is reversed block
BLOCK 7 (0x7) is reversed block
BLOCK 8 (0x8) is reversed block
BLOCK 9 (0x9) is reversed block
BLOCK 10 (0xA) is reversed block
BLOCK 11 (0xB) is reversed block
BLOCK 12 (0xC) is reversed block
BLOCK 13 (0xD) is reversed block
BLOCK 14 (0xE) is reversed block
BLOCK 15 (0xF) is reversed block
BLOCK 16 (0x10) is reversed block
BLOCK 17 (0x11) is reversed block
BLOCK 18 (0x12) is reversed block
BLOCK 19 (0x13) is reversed block
BLOCK 20 (0x14) is reversed block
BLOCK 21 (0x15) is reversed block
BLOCK 22 (0x16) is reversed block
BLOCK 23 (0x17) is reversed block
BLOCK 24 (0x18) is reversed block
BLOCK 26 (0x1A) is reversed block
BLOCK 27 (0x1B) is reversed block
BLOCK 28 (0x1C) is reversed block
BLOCK 29 (0x1D) is reversed block
BLOCK 30 (0x1E) is reversed block
BLOCK 31 (0x1F) is reversed block
BLOCK 32 (0x20) is reversed block
BLOCK 1243 (0x4DB) is bad block
Partition[0], type=0x20, start=0x2, total=0x3E
Partition[1], type=0x23, start=0x40, total=0x940
Partition[2], type=0x25, start=0x980, total=0xA0C0
Partition[3], type=0x4, start=0xAA40, total=0x351C0
CE Total Length(with sector info) = 0x5575200
CE CheckSum Length(without sector info) = 0x5520000
Cmd>info 7
HTC Integrated Re-Flash Utility, Common Base Version : 1.51d
Device Name: Rhodium_W, Bootloader Version : 1.00.OliNex
Built at: Jul 16 2009 21:25:07
Copyright (c) 1998-2006 High Tech Computer Corporation
Board ID=0x4
CPU ID=0x4117B362
TURBO HW =1
TURBO SW =1
Cmd>

muziling said:
follow is my mtty message,does it show us a bad block?
Click to expand...
Click to collapse
It seems a bad block,have you tried a wm rom to see if it can be flashed correctly?

does this told us bad block is normal and no need to fixed?
http://en.wikipedia.org/wiki/Flash_memory
About bad blocks of NAND devices:
Most NAND devices are shipped from the factory with some bad blocks which are typically identified and marked according to a specified bad block marking strategy. By allowing some bad blocks, the manufacturers achieve far higher yields than would be possible if all blocks were tested good. This significantly reduces NAND flash costs and only slightly decreases the storage capacity of the parts.

Related

Heap Memory, bada and JAVA and more

About bada Heap Memory we can look into Internal menu:
http://forum.xda-developers.com/showthread.php?t=906966
About JAVA Heap we can look into:
jwc_properties.ini
3 times in Filesystem, all deletable... but which is the active info?
40 MB or 11 MB?
40 MB could be the difference to 256 MB from bada heap...
Code:
## Limited MVM configuration
MAIN_MEMORY_CHUNK_SIZE = 11534336 # (11 * 1024 * 1024) + (0 * 1024), [B][COLOR="Red"]11MB[/COLOR][/B]
JAVA_MAX_HEAP_SIZE = 10485760 # (10 * 1024 * 1024) + (0 * 1024), 10MB
JAVA_MIN_HEAP_SIZE = 1572864 # (1 * 1024 * 1024) + (512 * 1024), 1.5MB
MAX_ISOLATES = 2 # AMS Isolate + One application
Code:
## Limited MVM configuration
MAIN_MEMORY_CHUNK_SIZE = 41943040 # (40 * 1024 * 1024) + (0 * 1024), [B]40MB[/B]
JAVA_MAX_HEAP_SIZE = 32505856 # (31 * 1024 * 1024) + (0 * 1024), 31MB
JAVA_MIN_HEAP_SIZE = 2609152 # (2 * 1024 * 1024) + (500 * 1024), 2.5MB
MAX_ISOLATES = 2 # AMS Isolate + One application
More infos comes later. I have an JAVA Midlet from 2007 which shows Heap infos.
I make few tests and post results.
Best Regards
These Midlets are written 2007 for BenQ EF81, SXG75 and so on...
Big Thanx to faterpan.
Result on S8500 is not 100 % correct, but there is an result.
empty.jpg shows Heap if nothing else is running on JL2.
The other Screenshot I started Guitar Hero... and then Heap Midlet.
Goal is to learn more about heap.
Maybe we can increase bada Heap, if we decrease JAVA Heap...
Best Regards
I'm just thinking, but, could MAX ISOLATE count be related to the number of applications that are allowed to multitask? Like 1 in-built app and 1 third party app?
You mean this?
Good idea to start with. I will try if something change if I set to 4 or 5...
Thanx.
Best Regards
Hmmm...
I've modified *.FFS, we can find MAX_ISOLATES 3 times...
I changed 2 into 9...
But after 3 JAVA Midlets finish...
Second try I've opened 3 native Apps, like IM... then also 3 Midlets possible.
Not tested before if I've increase 1...
Is 3 Apps + 3 JAVA Midlets Standard?
Best Regards
Some of the native apps are in the memory all the time, like mail, clock, some can be multitask, like im and web browser, so its hard to say, but if we are talking about apps from market, then 1 is maximum.
for example you can make combination open web im and some WeatherCast(from market)+ 3 java apps + as many as you want native apps that are in memory.
hi adfree
another hole idea>>>>can we reallocate the internal memory of the phone to give it more space to use
like reducining the space of the e-mails by 100mb and put those 100mb for bada apps or add it to a swap space if bada use a swap space(like linux)?????
adfree said:
Hmmm...
I've modified *.FFS, we can find MAX_ISOLATES 3 times...
I changed 2 into 9...
But after 3 JAVA Midlets finish...
Second try I've opened 3 native Apps, like IM... then also 3 Midlets possible.
Not tested before if I've increase 1...
Is 3 Apps + 3 JAVA Midlets Standard?
Best Regards
Click to expand...
Click to collapse
The native apps which are java are not considered as java apps and are allocated special system memory like other apps. With standard configuration (Max Isolates=2), after 3 apps, I get a message saying no more apps can be opened. I changed max isolates to 4 and now 5 apps can be opened. I have increased minimum and max heap sizes and now my java apps which require a lot of memory, work smoothly.
There are actually 4 jwc_properties.ini
1st one in AppEx>SysDefault>Java
2nd one in Appex>User>Java
3rd one in Exe>Java
4th one in SystemFS>User>Exe>Java
I am 99% sure the 1st one is for the default java apps. These settings are used for the pre-installed apps.
Either of the 2nd and 3rd ones is for user installed java apps. Don't know which one.
4th one is useless I think since the games folder in that path doesn't have anything. Its an empty folder.
I Have tried finding max free memory available using badasi app on jk1 fw.
When badasI is opened it shows: app free 65-66mb(all apps closed) and lesser value if an app is opened in background(depends on app). but this is mostly avail ram for itself.
I tested using: 19 widgets on 10 homescreens: 30mb ram used & dolphin browser with 3 tabs having yahoo, dailymotion, YouTube in desktop mode, flash and javascript enabled:59mb ram used(can be found out by badasi). Native bada apps can't be used since badasi terminates them.
I Restarted phone, left for 5 min to load widgets and stabilize. Then stared badasi:64mb free, opened dolphin browser with 3sites.. then minimize, badasi restarted: 6mb free, badasi uses 7 mb for itself. finally got "Not enough memory" after trying to open messages. so totally:32+59+6+7=104mb. So after boot 100+mb is available. This gradually decreases with time....!
Regarding the JAVA heap memory it varies, as background JAVA apps start using more memory.... In this case i used UC browser(it shows same memory info in tools-page info) with almost all tabs filled with heavy websites & opera mini with 3 tabs...
Few questions:
1. Does bada have a Garbage collector?
2. The minimum heap memory given to an app is 32mb(http://developer.bada.com/support/faq#a17-1) and it can use more whereas android 2.3 gives maximum 32 mb for wave like devices!, so multitasking of heavy apps will affected in bada 2.0?
Maybe I can free more memory...
For instance I have reduced rsr Language files... to 2 lang Eng + German...
Now 1,5 MB String instead 6 MB...
Screens from modified XXLA1 S8500...
Will add Original Values from unmodified Firmware for compare...
Best Regards
Edit 1...
First Screenshot is directly after first start...
If I restart then around 10 MB less allocated...
Code:
S8500 XXLA1 DBT Unmodified/Original my tweak
Set to English
System memory 564 MB 587 MB
FREE 558 MB 586 MB
Application memory 869 MB 883 MB
FREE 749 MB 881 MB
Internal user memory 391 MB 391 MB
FREE 388 MB 391 MB
--------------------------------------------------------------
Total Heap Mem. 245,760 K 245,760 K
Allocated Mem. 72,457 K 50,968 K
Fragmenatation Level 2 % 1 %
Edit 2...

Why is this site so slow all of the sudden?

Over the last week or two this site has been slower and slower, I know it's not me because the latency exists on several browsers, computers and internet connections.
You guys having database issues or something?
No issues here. If you see issues, can you post up the time it happens at, and what you saw...
pulser_g2 said:
No issues here. If you see issues, can you post up the time it happens at, and what you saw...
Click to expand...
Click to collapse
Mainly during the day, on weekdays.
Traceroute results:
Code:
1 <1 ms <1 ms <1 ms 10.9.0.1
2 <1 ms <1 ms <1 ms 10.197.2.2
3 1 ms 1 ms 1 ms ip67-90-181-81.z181-90-67.customer.algx.net [67.90.181.81]
4 3 ms 3 ms 11 ms ip65-46-124-9.z124-46-65.customer.algx.net [65.46.124.9]
5 5 ms 4 ms 3 ms 216.156.8.45.ptr.us.xo.net [216.156.8.45]
6 19 ms 18 ms 16 ms ae1d0.mcr1.washington-dc.us.xo.net [216.156.1.17]
7 11 ms 14 ms 16 ms vb1100.rar3.washington-dc.us.xo.net [216.156.0.33]
8 17 ms 18 ms 16 ms ae1d0.cir1.atlanta6-ga.us.xo.net [207.88.13.161]
9 49 ms 21 ms 18 ms 216.156.108.94.ptr.us.xo.net [216.156.108.94]
10 29 ms 29 ms 37 ms te1-6.bbr01.tl01.atl01.networklayer.com [66.109.11.118]
11 20 ms 17 ms 16 ms ae7.bbr01.tl01.atl01.networklayer.com [173.192.18.172]
12 41 ms 42 ms 42 ms ae13.bbr02.eq01.dal03.networklayer.com [173.192.18.134]
13 48 ms 43 ms 42 ms ae5.dar02.sr01.dal05.networklayer.com [173.192.18.217]
14 46 ms 43 ms 43 ms po2.fcr01.sr01.dal05.networklayer.com [173.192.118.133]
15 42 ms 41 ms 42 ms forum.xda-developers.com [50.23.231.72]
Right now is a good example for the slowness. I'm on a couple other forums, and this one takes FOREVER to do a page refresh, or load anything. The others do not.
agentfazexx said:
Right now is a good example for the slowness. I'm on a couple other forums, and this one takes FOREVER to do a page refresh, or load anything. The others do not.
Click to expand...
Click to collapse
Use firefox and block ads.
PoisonWolf said:
Use firefox and block ads.
Click to expand...
Click to collapse
I do that already.
Has been running normal for me all day.

Cant complete loading forum.xda-developers.com

Hi,
I am living in Hong Kong and I am using Firefox on my PC.
The page stops at elements from media.xda-developers.com.
The problem started a few days ago.
I am using opera with opera turbo now.
Hope these info are useful for tracking. Thanks.
C:\>tracert media.xda-developers.com
Tracing route to gp1.wac.edgecastcdn.net [117.18.237.252]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms 192.168.100.1
2 5 ms 5 ms 5 ms 10.30.10.13
3 28 ms 7 ms 7 ms 10.30.6.65
4 4 ms * 66 ms 10.28.21.41
5 5 ms 4 ms 6 ms 218.189.3.50
6 5 ms 5 ms 5 ms edgecast1-rge.hkix.net [202.40.161.149]
7 * * 6 ms 117.18.237.252
Trace complete.
C:\>ping media.xda-developers.com
Pinging gp1.wac.edgecastcdn.net [117.18.237.252] with 32 bytes of data:
Request timed out.
Reply from 117.18.237.252: bytes=32 time=5ms TTL=58
Request timed out.
Reply from 117.18.237.252: bytes=32 time=6ms TTL=58
Ping statistics for 117.18.237.252:
Packets: Sent = 4, Received = 2, Lost = 2 (50% loss),
Approximate round trip times in milli-seconds:
Minimum = 5ms, Maximum = 6ms, Average = 5ms

does anyone have a mirror for 1.17.502.5?

im having the same prollem i had when trying to download the other. ive downloaded other ruus no prollem,and ive tried my desktop and laptop,3 different browsers,and even tried to use my tablet. i cannot get a full download
if anyone can temprarily upload a working .exe or .zip for that build id greatly appreciate it.
ill keep looking,but thus far ive only found it on some chinese sites that want 60+usd to subscribe to
scotty1223 said:
im having the same prollem i had when trying to download the other. ive downloaded other ruus no prollem,and ive tried my desktop and laptop,3 different browsers,and even tried to use my tablet. i cannot get a full download
if anyone can temprarily upload a working .exe or .zip for that build id greatly appreciate it.
ill keep looking,but thus far ive only found it on some chinese sites that want 60+usd to subscribe to
Click to expand...
Click to collapse
and you have tried http://androidruu.com/getdownload.p...4_2_10.26.40f.04L_R_release_293864_signed.exe
???
jmz said:
and you have tried http://androidruu.com/getdownload.p...4_2_10.26.40f.04L_R_release_293864_signed.exe
???
Click to expand...
Click to collapse
Several times,lol
Sent from my HTC One using Tapatalk
scotty1223 said:
Several times,lol
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
I just downloaded it successfully. Can you try one more time? If it fails again please get me a traceroute.
On Windows just type "tracert androidruu.com" without quotes and paste it here
jmz said:
I just downloaded it successfully. Can you try one more time? If it fails again please get me a traceroute.
On Windows just type "tracert androidruu.com" without quotes and paste it here
Click to expand...
Click to collapse
sure,trying it now. it would appear to have downloaded,but the filesize would be no where near what it was suposed to be. closed i ever got to the whole thing was 460ish mb
thanks for the replys,ill let you know how it goes. where do i type the tracert command? into my browser?
scotty1223 said:
sure,trying it now. it would appear to have downloaded,but the filesize would be no where near what it was suposed to be. closed i ever got to the whole thing was 460ish mb
thanks for the replys,ill let you know how it goes. where do i type the tracert command? into my browser?
Click to expand...
Click to collapse
At the command prompt
Sent from my HTC One using XDA Premium 4 mobile app
still a no go... only got 486mb of the listed 536 file size.
heres your trace:
Code:
C:\Users\Scott>tracert androidruu.com
Tracing route to androidruu.com [198.50.171.180]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms home [192.168.1.254]
2 11 ms 8 ms 8 ms adsl-68-253-231-254.dsl.dytnoh.ameritech.net [68
.253.231.254]
3 8 ms 8 ms 8 ms 70.134.24.50
4 8 ms 8 ms 8 ms bb1-g8-0-0.dytnoh.sbcglobal.net [151.164.55.68]
5 18 ms 18 ms 20 ms ggr4.cgcil.ip.att.net [12.122.133.33]
6 18 ms 18 ms 18 ms 192.205.37.150
7 18 ms 18 ms 18 ms 4.69.158.146
8 18 ms 18 ms 18 ms ae-5-5.ebr2.Chicago1.Level3.net [4.69.140.193]
9 17 ms 19 ms 18 ms ae-23-52.car3.Chicago1.Level3.net [4.69.138.37]
10 41 ms * 40 ms chi-1-6k.il.us [178.32.135.13]
11 40 ms * 41 ms 198.27.73.175
12 42 ms 42 ms 58 ms 198.27.73.3
13 41 ms * 42 ms bhs-1-6k.qc.ca [198.27.73.14]
14 43 ms 42 ms 42 ms zeta.androidfilehost.com [192.95.32.215]
15 43 ms 42 ms 42 ms 198.50.171.180
Trace complete.
C:\Users\Scott>
scotty1223 said:
still a no go... only got 486mb of the listed 536 file size.
heres your trace:
Code:
C:\Users\Scott>tracert androidruu.com
Tracing route to androidruu.com [198.50.171.180]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms home [192.168.1.254]
2 11 ms 8 ms 8 ms adsl-68-253-231-254.dsl.dytnoh.ameritech.net [68
.253.231.254]
3 8 ms 8 ms 8 ms 70.134.24.50
4 8 ms 8 ms 8 ms bb1-g8-0-0.dytnoh.sbcglobal.net [151.164.55.68]
5 18 ms 18 ms 20 ms ggr4.cgcil.ip.att.net [12.122.133.33]
6 18 ms 18 ms 18 ms 192.205.37.150
7 18 ms 18 ms 18 ms 4.69.158.146
8 18 ms 18 ms 18 ms ae-5-5.ebr2.Chicago1.Level3.net [4.69.140.193]
9 17 ms 19 ms 18 ms ae-23-52.car3.Chicago1.Level3.net [4.69.138.37]
10 41 ms * 40 ms chi-1-6k.il.us [178.32.135.13]
11 40 ms * 41 ms 198.27.73.175
12 42 ms 42 ms 58 ms 198.27.73.3
13 41 ms * 42 ms bhs-1-6k.qc.ca [198.27.73.14]
14 43 ms 42 ms 42 ms zeta.androidfilehost.com [192.95.32.215]
15 43 ms 42 ms 42 ms 198.50.171.180
Trace complete.
C:\Users\Scott>
Click to expand...
Click to collapse
http://173.44.247.254/~ruu/
Try that one
Sent from my HTC One using XDA Premium 4 mobile app
that link takes me to androidRUUs main page. should i navigate to the ruu,or do you have a different link?
didnt work last night,but something had been making the computer sluggish. aftger a reboot this morning seems i finally have success
thanks jmz for your assistance

Question Question about free space on 128GB model

Hello. I am considering to buy Pixel 6 Pro but unfortunately in my country only the model with 128 GB storage is available. Can somebody with this phone please check how much space is occupied by the OS and default apps and how much is left for user programs and files?
My Pixel 6 Pro says
System: 9,8 GB
Keep in mind though, that Googles own "Apps" come on top of that.
I'll dive into that and give you a few numbers (at least from my phone) of the stock apps (keep in mind that I might have enabled settings/have data that are not stock)
1. Android System Intelligence uses 3.1 GB
2. Google: 1.3 GB
3. Google Play Service: 700 MB
4. Speech Services by Google: 700 MB
5. Photos: 500 MB
6. Camera: 430 MB
7. Pixel Tips: 330 MB
8. GBoard: 330 MB
9. Maps: 210 MB
10. Youtube: 200 MB
11. Phone: 200 MB
12. GMail: 160 MB
13. Recorder: 144 MB
14. Docs: 140 MB
15. Android Accessibility Suite: 120 MB
16. Translate: 80 MB
17. Chrome: 80 MB
18. Google Play Store: 75 MB
19. DUO: 70 MB
20. Android System Webview: 58 MB
21. Pixel Live Wallpaper: 55 MB
22. Google Play Services for AR: 55 MB (don't even know why they are still there, I thought Google killed AR)
23. Drive: 55 MB
24. Android Auto: 55 MB
25. Calendar: 44 MB
26. Voice Access: 42 MB
27. Google Fit: 41 MB
28. Google News: 40 MB
29. Google Pay: 38 MB
30. Google Play Movies & TV: 37,5 MB
31. Googles VR Services: 36 MB (what are they still doing here? o.o)
32. Passes: 31 MB
33. Personal Safety: 31 MB
34. Private Compute Services: 24 MB
35. Keep Notes: 23 MB
36. Files by Google: 22 MB
37. Pixel Buds: 20 MB (I don't even have Pixel Buds...)
38. Contacts: 19 MB
39. Google Support Services: 18 MB
40. Live Transcribe: 17,5 MB
41. Settings Services: 17,5 MB
42. Pixel Launcher: 15,5 MB (did not expect this to be that lightweight)
43. Google Play Protect Service: 15 MB
44. Clock: 14,5 MB
45. Pixel Stand: 13 MB
46. Digital Wellbeing: 13 MB
47. Security HUB: 12,5 MB
48. Device Policy: 12 MB
49. Android Setup: 10,5 MB
50. Carrier Services: 10,5 MB
51. Device Health Services: 10 MB
52. Google Connectivity Services: 7,5 MB
53. Cloud Print: 6 MB
54. Sounds: 6 MB
55. Find my Device: 5 MB
56. Calculator: 5 MB
57. Files: 340 kB
58. Pixel Ambient Services: 305 kB
59. Settings: 260 kB
60. Wireless emergency alerts: 135kB
61. MotionSenseBridge: 130 kB
62. SIM Toolkit: 66 kB
63. Sound Aplifier: 0B (huh?)
Mh, I guess that's also a list of Googles "Bloatware" - I think you can sum the numbers together yourself, enough done on my part!
In real life. 128 GB means approximately 118 GB of file size available. Take away 10 GB system and another 6-8 from "bloat" and in the end you will have about 100 GB of available storage.
Thank you very much for fast response and detailed information. It turns out that android OS and google apps together occupy around 20 GB of space so even the 128 GB version should easily give more than 100 GB for the user which is very good.
neptun2 said:
Thank you very much for fast response and detailed information. It turns out that android OS and google apps together occupy around 20 GB of space so even the 128 GB version should easily give more than 100 GB for the user which is very good.
Click to expand...
Click to collapse
You're welcome.
Don't forget that "128 GB" does not mean actually useable 128 GB of file size.
128 GB means that you have about ~ 119 GB of storage available, AFTER that the System files & Google Apps will take their tolls.
For reference:
"In the world of hard disk and SD makers, 1 KB = 1000 bytes (not 1024). So a 128 GB card is 128,000,000,000 bytes.
The computer measures 1 KB = 1024 bytes. So when the card is inserted into the slot, the computer will show the size as: 128,000,000,000/(1024 * 1024 * 1024) or 119.21 GB.
The actual usable space is further reduced by the space allocated by the file allocation table (FAT) and the FAT used while formatting:
NTFS has a block size of 4092 byte. This means that even if you create/store a file of just 1 byte, it will occupy one block or 4092 bytes. The size taken on disc will be multiples of block size
FAT32 is the most common format and portable too. The block size varies by SD card size. For a 128 GB card, it is 32 KB. Apply the same logic here.
exFAT block size also varies as per card/disk size. It is 128 KB for the card of 128 GB but it supports larger disks."
Click to expand...
Click to collapse
-> https://www.quora.com/How-much-usable-space-is-available-in-a-128GB-memory-card
Of course. My idea was to have rough estimate how much space is left for user files and apps. I don't care if free space is 102 or 98 GB for example but if it was let's say 60 GB it will be quite a difference. For reference on my oneplus 7 only the system takes 18 GB so pixel definitely looks cleaner than that. I was wondering if i should wait for the 256 GB model to be available but looking at this data most probably i will proceed with the 128 GB model which is currently available in my country.

Categories

Resources