Forum switched to read-only as of 2020/06/01


Latest product reviews
ARCHOS 50 Diamond
ARCHOS GamePad2
ARCHOS
Smartphones
ARCHOS
TV Connect
ARCHOS 101 XS

A A A
Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?

ClockworkMod (CWM) Recovery easy install for RK3066 and RK3188 -- TWRP/CWM Flash-Tool and root for RK3288

 Please donate to support OMA and CrewRKTablets firmware work, thank you !

sp_Feed sp_TopicIcon
Custom firmware for the Arnova 10 G2 (v1.2) *development only*
Avatar
rouge1

Contributor
Forum Posts: 28
Member Since:
2011/12/15
sp_UserOfflineSmall Offline
16
2012/01/06 - 06:09
sp_Permalink sp_Print

Odd. so where this extra "9" is coming from?

Avatar
finless
Stanton, Ca

Contributor
Forum Posts: 604
Member Since:
2011/12/10
sp_UserOfflineSmall Offline

Thanks Received: 2
17
2012/01/06 - 06:52
sp_Permalink sp_Print

That is odd!  I just opened that data.dat and there is no extra 9 in there!

Also I did not have a problem getting on the Market.  I do not seem to have those problems the admin is talking about.  I am not sure why either.  It always seems to work for me even before I made that change to data.datConfused

 

Bob

Avatar
rouge1

Contributor
Forum Posts: 28
Member Since:
2011/12/15
sp_UserOfflineSmall Offline
18
2012/01/06 - 15:14
sp_Permalink sp_Print

I edited the file and everything is fine now. another fix could be to have arctools replace the file with the valid imei.

Avatar
finless
Stanton, Ca

Contributor
Forum Posts: 604
Member Since:
2011/12/10
sp_UserOfflineSmall Offline

Thanks Received: 2
19
2012/01/06 - 15:46
sp_Permalink sp_Print

Your file had the extra 9 in it?

 

Bob


Avatar
rouge1

Contributor
Forum Posts: 28
Member Since:
2011/12/15
sp_UserOfflineSmall Offline
20
2012/01/06 - 17:06
sp_Permalink sp_Print

finless said

Your file had the extra 9 in it?

yes.

Avatar
ttz642t

Firmware Guru
Forum Posts: 53
Member Since:
2011/11/19
sp_UserOfflineSmall Offline
21
2012/01/06 - 17:12
sp_Permalink sp_Print sp_EditHistory

Bob/Finless,

v1.2 looks great from what I've read, been on vaccation for past 3 weeks so not yet installed, tablet flat and charger in luggage which was lost and has not yet arrived 🙁

 

Anyway as soon as Ive managed to charge my tablet I will install.

 

Would it be possible to create a version with a smaller rootfs/tmpfs ? It looks as if the default is simply half the ram resulting in about 153M used for a couple of partitions, I don't think it needs to be so large, typing df the three partitions never seem to get used, perhaps try with 8 or 16 Meg and lets see what's apps are using the tmpfs.

This should release 140M+ to free ram.

 

init.rc

add size=8M to mounts for rootfs & tmpfs (or larger if necessary)

--

Steve

Avatar
finless
Stanton, Ca

Contributor
Forum Posts: 604
Member Since:
2011/12/10
sp_UserOfflineSmall Offline

Thanks Received: 2
22
2012/01/06 - 17:40
sp_Permalink sp_Print sp_EditHistory

Rouge1, I cant explain it.  When I install 1.2 my file did not have an extra 9 in it.  So something else is writing to that file????  When Admin tested it he also said it still had problems talking to google.  I wonder if it was the same thing?

Admin, maybe I should be clearing the file before writing the IMEI?

Any ideas?

 

Steve, if I release that memory can it be used for system memory (not storage)?  The max I could give to system memory was 450mb.  Anything more and it would not boot.  I assume because that is some kind of set limit the kernel is doing or it a physical memory chip thing?  Is there a memory map somewhere that explains how the total memory is allocated iin this device? I have to assume the full 4gb is not available to use for the system and there is other physical memory (chip) being used for system vs just dividing up the 4gb??
Anyway I will have a go at that in the next few days.  Version 1.3.

Bob

Avatar
alex
Member
Forum Posts: 252
Member Since:
2011/12/27
sp_UserOfflineSmall Offline
23
2012/01/06 - 18:08
sp_Permalink sp_Print

would it work if you only 14 digits and if it still rights another digit it should bring it up to 15 i no its a rediculas approach and propbably wont but accepted but ah well

"The best person in the world, at the moment" -imstookatboot

Avatar
ttz642t

Firmware Guru
Forum Posts: 53
Member Since:
2011/11/19
sp_UserOfflineSmall Offline
24
2012/01/06 - 18:30
sp_Permalink sp_Print

finless said

Steve, if I release that memory can it be used for system memory (not storage)?  The max I could give to system memory was 450mb.  Anything more and it would not boot.  I assume because that is some kind of set limit the kernel is doing or it a physical memory chip thing?  Is there a memory map somewhere that explains how the total memory is allocated iin this device? I have to assume the full 4gb is not available to use for the system and there is other physical memory (chip) being used for system vs just dividing up the 4gb??
Anyway I will have a go at that in the next few days.  Version 1.3.

Bob

rootfs & tmpfs are using physical ram. Too large a rootfs & tmpfs which aren't being used are simply wasting physical ram which we only have 512M of.

 

I'm going to start a branch from your work and experiment, I'll feedback success (given time).

 

$ adb shell df /dev /mnt/asec /mnt/obb

Filesystem Size Used Free Blksize

/dev            153M 32K 153M 4096

/mnt/asec  153M 0K 153M 4096

/mnt/obb    153M 0K 153M 4096

Avatar
finless
Stanton, Ca

Contributor
Forum Posts: 604
Member Since:
2011/12/10
sp_UserOfflineSmall Offline

Thanks Received: 2
25
2012/01/06 - 20:06
sp_Permalink sp_Print

I understand what your saying here.  However something is not making sense.

With my rom on a fresh flash nothing installed, system memory is reported in settings as 455M.  If we only have 512M how could that be possible that 153M is also allocated?  Is the settings just reporting this 153M space as part of the total but cant be really used?

 

Bob

Avatar
ttz642t

Firmware Guru
Forum Posts: 53
Member Since:
2011/11/19
sp_UserOfflineSmall Offline
26
2012/01/06 - 20:36
sp_Permalink sp_Print

finless said

I understand what your saying here.  However something is not making sense.

With my rom on a fresh flash nothing installed, system memory is reported in settings as 455M.  If we only have 512M how could that be possible that 153M is also allocated?  Is the settings just reporting this 153M space as part of the total but cant be really used?

 

Bob

Can you do a df from the shell and show the partitions ?

 

The tmpfs is dynamic so the size will be the max it can allocate.

 

Got my charger now so charging my tablet 🙂

Compiled rkflashtool for my 64bit Linux:

gcc -m32 -o rkflashtool rkflashtool.c -lusb-1.0 -O2 -W -Wall -s

 

$file rkflashtool

rkflashtool:        setuid setgid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, BuildID[sha1]=0xda9faccb5a1eaeb00adfa77b571bd1c631739219, stripped

It works 🙂

rkflashtool r 0x00 20 | hexdump  -C
rkflashtool: info: interface claimed
rkflashtool: info: reading flash memory at offset 0x00000000
00000000  50 41 52 4d 44 02 00 00  46 49 52 4d 57 41 52 45  |PARMD...FIRMWARE|

 

$ rkflashtool b
rkflashtool: info: interface claimed
rkflashtool: info: rebooting device...

Avatar
finless
Stanton, Ca

Contributor
Forum Posts: 604
Member Since:
2011/12/10
sp_UserOfflineSmall Offline

Thanks Received: 2
27
2012/01/06 - 20:57
sp_Permalink sp_Print

# df

Filesystem             Size   Used   Free   Blksize

/dev                   153M    32K   153M   4096

/mnt/asec              153M     0K   153M   4096

/mnt/obb               153M     0K   153M   4096

/system                193M   123M    70M   1024

/data                  503M   212M   291M   1024

/cache                 112M     5M   106M   1024

/mnt/storage             2G    63M     2G   8192

/mnt/secure/asec         2G    63M     2G   8192

/mnt/asec/com.eamobile.nfshp_na_wf-1    18M    16M     1M   4096

/mnt/asec/com.glu.modwarsniper-1    41M    39M     2M   4096

/mnt/asec/com.jarodyv.livewallpaper.galaxies-1     2M  1004K     1M   4096

/mnt/storage/sdcard     29G     4G    24G   32768

 

Bob

Avatar
finless
Stanton, Ca

Contributor
Forum Posts: 604
Member Since:
2011/12/10
sp_UserOfflineSmall Offline

Thanks Received: 2
28
2012/01/06 - 20:59
sp_Permalink sp_Print

Interesting looking at this.  I wonder when I made the /system EXT3 I should have formatted it as 4096 block size???  Would that be more efficient?

 

Bob

Avatar
ttz642t

Firmware Guru
Forum Posts: 53
Member Since:
2011/11/19
sp_UserOfflineSmall Offline
29
2012/01/07 - 00:32
sp_Permalink sp_Print

finless said

# df

Filesystem             Size   Used   Free   Blksize

/dev                   153M    32K   153M   4096

/mnt/asec              153M     0K   153M   4096

/mnt/obb               153M     0K   153M   4096

. . .

Bob

If you type mount you'll see that / is of type rootfs and /dev, /mnt/asec & /mnt/obb are of type tmpfs which gets allocated from the physical ram. The 10b with 256M ram probably had a much smaller amount allocated as the sum of the kernel & the tmpfs is ~ 50% of physical ram by default, is tmpfs size an issue on the smaller ram devices ? If not why do we need so much on the 10 G2 ?

 

$ adb shell mount

rootfs / rootfs rw,relatime 0 0

tmpfs /dev tmpfs rw,relatime,mode=755 0 0

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0

Avatar
finless
Stanton, Ca

Contributor
Forum Posts: 604
Member Since:
2011/12/10
sp_UserOfflineSmall Offline

Thanks Received: 2
30
2012/01/07 - 01:01
sp_Permalink sp_Print

I have over 100 apps installed, all kinds of root tool goodies, and hardly anything has written to those partitions.  If fact for sure /asec seems to be a symbolic link to the SD card (when an SD card is in place) as com.eamobile.nfshp_na_wf-1 and those other mounted com. files are on my CF card!  Odd.....

I am going to cook a ROM with /system being 4096 block size and see if it helps performance.  Reason I say that is a read on XDA somewhere that the system prefers 4096 block size as it was design to write to memory that hardware wise is designed that way.  I realize /system is in RAM not NAND but will be interesting to see.

 

FYI, you will have to educate me.  I am no Linux guy.  In fact before 2 weeks ago I had not touched Unix or a command shell in 25+ years.  I was quite the C coder back then but so much has changed and heck I am having to relearn the basics even! Hell I had not heard of cramfs until 2 weeks ago!  But I am on a crash course 😉

Anyway, I do not know what this means:

$ adb shell mount

rootfs / rootfs rw,relatime 0 0

tmpfs /dev tmpfs rw,relatime,mode=755 0 0

tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0

tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0

 

Bob

Forum Timezone: Europe/Paris

Most Users Ever Online: 749

Currently Online:
101 Guest(s)

Currently Browsing this Page:
1 Guest(s)


Devices in use: Desktop (84), Phone (17)

Top Posters:

finless: 604

DarthJabba: 551

maikal: 394

mussonero1: 350

alex: 252

damo: 243

DanielVd: 237

Mark06: 222

Newest Members:

spoupeh

sherloksmith

mopedbrain

ygriega

mhmtdg222

xsevko

Forum Stats:

Groups: 10

Forums: 185

Topics: 6037

Posts: 60500

 

Member Stats:

Guest Posters: 43

Members: 262194

Moderators: 5

Admins: 1

Administrators: admin

Moderators: globula_neagra, exelletor, JochenKauz, Oma7144, cracktech


CrewRKTablets moderators: JochenKauz and Astralix