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
Modifying the Arnova 10 G2 custom firmware
Avatar
p1ceus

Contributor
Forum Posts: 38
Member Since:
2011/11/23
sp_UserOfflineSmall Offline

Thanks Received: 1
31
2011/12/19 - 20:38
sp_Permalink sp_Print

I'm also curious about converting system.img from cramfs to ext3 in proper way, so if any of you guys here know how to do it, what to check before and after then it will be nice 😉

Also kernel.img unpack and repack could be interesting.

btw, finless I was able to convert system.img to yaffs2 format (also R/W format, but I was not able to get it to boot...but that was few weeks ago). There is a tool called yaffs something... and you can run this tool directly from tablet.

And if I now remember correctly, there is also a way to convert it in Terminal emulator...but PC will be faster and better I guess 🙂

Avatar
finless
Stanton, Ca

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

Thanks Received: 2
32
2011/12/19 - 22:03
sp_Permalink sp_Print sp_EditHistory

Doing some studying on ext3 file system and block size.  They are 1024, 2048, 4096.  To find out what a mounted system is you use the command dumpefs2 -h device.  I mounted the system.img and did that and it comes back 1024 as expected since I created the file using dd with a bs=1024.

Now the interesting part I read is aparently some devices must have a BS in multiples of 2048.  So this could be the problem.  I am going to try it now 🙂 wish me luck!

 

FYI some info if your interested

http://linux.die.net/man/8/mkfs.ext3

 

Bob

Avatar
finless
Stanton, Ca

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

Thanks Received: 2
33
2011/12/19 - 22:45
sp_Permalink sp_Print

OK changed the block size to 4096 and still no go.  Even forced ext3 vs it possibly coming out as ext4 due to small space size of system.img.  Double checked with dumpefs2.

 

p1ceus, you mind if I send you my latest rom and you flash it and go into adb to see whats wrong?  e.g. partnering up on this a little? 🙂

I promised I don't mess with recover.img, etc so you will always be able to flash back using the rkbatch tool.  At least I have a 100 times or so 😉

 

Bob

Avatar
josbos

Contributor
Forum Posts: 57
Member Since:
2011/12/19
sp_UserOfflineSmall Offline

Thanks Received: 2
34
2011/12/19 - 23:34
sp_Permalink sp_Print sp_EditHistory

Here you can find the mentioned yaffs tools:

http://www.rodneybeede.com/Customize_an_Android_system_img.html

 

I also don't know if you can learn something from this system.img

http://files.androtab.info/rk2918/cm7/20111126/system.zip

 

Some info about creating an ext3 system.img

http://forum.xda-developers.com/showpost.php?p=3429889

 

Installing ADB (http://developer.android.com/sdk/index.html) on Windows is very straight forward, however for Archos/Arnova you need to change the adb_usb.ini file (can be found on following location: C:Users<user>.android).

Add the following code in it: 0x0e79


Avatar
finless
Stanton, Ca

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

Thanks Received: 2
35
2011/12/20 - 00:20
sp_Permalink sp_Print sp_EditHistory

Thanks for the info.  Yes I did read about yaffs yesterday and understand it's a read only system like cramfs but tailored to nand chips.  That wont help us since like cramfs it is a read only file system. We cant get full root access when system is mounted as read only.

I will look at that system.img thanks... Might be something there.

As for the link to creating a ext3 file system... He is doing exactly what I am doing EXCEPT I used cp -r and he is using -a.  I doubt thats it but I will try it none the less.

As for adb, I know, I know... I just don't want to have to install all that java dev stuff on my nice clean Win7 64 install right now.  So I am looking for a adb person willing to work with me.  If no one wants to help, I guess I might have to do it in a VM.  I am not looking to become and Android developer here!  I just want RW access to system in a proper way so we all have a fully rooted Arnova 10 G2.

 

Thanks for the tips, I will use them as I keep trying....

Bob

Avatar
p1ceus

Contributor
Forum Posts: 38
Member Since:
2011/11/23
sp_UserOfflineSmall Offline

Thanks Received: 1
36
2011/12/20 - 00:38
sp_Permalink sp_Print sp_EditHistory

finless, if you still don't want to mess your shiny Win7 machine (I know what you are talking about 🙂 ), I can give you a hand with this since I have it installed already and its working. Just let me know what you need and I will do my best.

Avatar
finless
Stanton, Ca

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

Thanks Received: 2
37
2011/12/20 - 02:05
sp_Permalink sp_Print

p1ceus said

finless, if you still don't want to mess your shiny Win7 machine (I know what you are talking about 🙂 ), I can give you a hand with this since I have it installed already and its working. Just let me know what you need and I will do my best.

 

Thanks p1ceus!  OK here is a rom file I created with ONLY 2 changes.  Boot.img was changed and in it I edited init.rc to this;  I commented out the cramfs mount and added the ext3 mount.

#mount cramfs mailto:mtd@system

Thanks man... between a few of us I think we can get a proper rooted rom!  You da man p1ceus 🙂
Bob

Avatar
p1ceus

Contributor
Forum Posts: 38
Member Since:
2011/11/23
sp_UserOfflineSmall Offline

Thanks Received: 1
38
2011/12/20 - 11:17
sp_Permalink sp_Print

Hi finless, when you say "OK here is a rom file" didn't you miss a link to that file? 🙂 Or should I just modify init.rc as you suggested?

I'm asking just to be sure I'm following your instructions correctly 😉

Avatar
josbos

Contributor
Forum Posts: 57
Member Since:
2011/12/19
sp_UserOfflineSmall Offline

Thanks Received: 2
39
2011/12/20 - 11:22
sp_Permalink sp_Print

Hi finless

 

Did forgot to mention, that there is no real need to install the eclipse/java dev environment.

To use adb, you only need to install the SDK, Google drivers (perhaps by installing PDAnet) and modifying that ini file, that's it. Got it running on my 7 x64 and XP.

Avatar
finless
Stanton, Ca

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

Thanks Received: 2
40
2011/12/20 - 16:57
sp_Permalink sp_Print

p1ceus said

Hi finless, when you say "OK here is a rom file" didn't you miss a link to that file? 🙂 Or should I just modify init.rc as you suggested?

I'm asking just to be sure I'm following your instructions correctly 😉

 

The ROM is already edit.  Install it and boot.  You will hang at the Anrova boot screen.  Do your adb thing 🙂

 

Bob

Avatar
finless
Stanton, Ca

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

Thanks Received: 2
41
2011/12/20 - 16:58
sp_Permalink sp_Print

p1ceus said

Hi finless, when you say "OK here is a rom file" didn't you miss a link to that file? 🙂 Or should I just modify init.rc as you suggested?

I'm asking just to be sure I'm following your instructions correctly 😉

 

Just install the rom on your Arnova and when it reboots you will hang at the Arnova screen.  I did all the edits in my post.  System.img is ext3 file structure and init.rc is edit with the ext system mount command.

 

Bob

Avatar
finless
Stanton, Ca

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

Thanks Received: 2
42
2011/12/20 - 17:00
sp_Permalink sp_Print

p1ceus, I did all the edits.  Just install the rom and when it reboots it will hang at the Arnova screen.  Then do your adb thing 🙂

 

Bob

Avatar
admin

admin
Forum Posts: 5878
Member Since:
2010/09/11
sp_UserOfflineSmall Offline

Thanks Received: 3169
43
2011/12/20 - 19:48
sp_Permalink sp_Print

Since we are investigating all ways to increase the /data partition space for the application, here is a path that I started to look at, but did not succeed so far.

It's about the parameter file that serves to package the firmware (it is extracted by wendal tools or AFPtool.exe).

FIRMWARE_VER:0.2.3
MACHINE_MODEL:AN10G2
MACHINE_ID:007
MANUFACTURER:RK29SDK
MAGIC: 0x5041524B
ATAG: 0x60000800
MACHINE: 2929
CHECK_MASK: 0x80
KERNEL_IMG: 0x60408000
CMDLINE: console=ttyS1,115200n8n androidboot.console=ttyS1 init=/init initrd=0x62000000,0x500000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00004000@0x00004000(kernel),0x00002000@0x00008000(boot),0x00004000@0x0000A000(recovery),0x00080000@0x0000E000(system),0x00082000@0x0008E000(backup),0x0003a000@0x00110000(cache),0x00080000@0x0014a000(userdata),0x00002000@0x001ca000(kpanic),-@0x001cc000(user)

The idea was to change the offset/lenght on the last parameter to move the partitions.

I did a few tries, without success so far.

 

If you like our web site, applications and firmwares, feel free to support our site. Donations are used to pay the bills for our server hosting costs, development tools and purchase new tablets to support.

Avatar
finless
Stanton, Ca

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

Thanks Received: 2
44
2011/12/20 - 21:27
sp_Permalink sp_Print

From my understanding that is used by the loader.bin to know where the offset is in update.img for each of the images.  If you change that I think loader.bin then wont know where an specific image is in update.img and it will get confused. 

If you look in /image from a Wendal unpack you will see the new parameter file. This is created from the AFPtool when it packs a update.img and thus looks at each of the section images e.g. system, recovery, etc and calculates its length and then updates that parameter file with the offset to each image.  If you edit this parameter file after AFPtool packs an image, loader.bin will get lost.

So if you wanted userdata or user to be larger you would have to modify AFPtool so it makes it larger when you do a update.img pack.

Thats what I think that is.  Hmmm I might take a look at the SDK tool and see if that can be set. 

FYI you dont have to use Wendals tool to make a update.img pack.  The SDK tool RKImageMaker.exe will also make a pack but then you must use wendals md5sums.exe to add the MD5 checksum at the end of the update.img.  I will see if the SDK tool has some setting for changing thos data areas properly so the parameter file has the correct offsets.

Bob

Avatar
finless
Stanton, Ca

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

Thanks Received: 2
45
2011/12/20 - 21:54
sp_Permalink sp_Print

Interesting.  So I was not quite right about those offsets.  I took the stock update.img and unpacked it and looked at the values.  Then I converted system.img to ext3 which makes system.img 3X as large a file size.  I repacked and then upacked that to see if the paramater files offsets changed.  They did not!

So this file is telling AFPTool how to partition update.img and where to stick each of the other images.  It is defining a set amount of space in update.img for those images.  This maybe why my conversion of system.img is not working.  System.img is so large when it is put in its space it is over running the next space for backup.img.  Maybe.... I am guessing here.  Time to look at other roms!

Hmmmmm  This maybe the tip I was looking for!

 

Bob

Forum Timezone: Europe/Paris

Most Users Ever Online: 749

Currently Online:
79 Guest(s)

Currently Browsing this Page:
1 Guest(s)


Devices in use: Desktop (67), Phone (6), Tablet (6)

Top Posters:

finless: 604

DarthJabba: 551

maikal: 394

mussonero1: 350

alex: 252

damo: 243

DanielVd: 237

Mark06: 222

Newest Members:

pawel255

elpacox

Kolokolov Pavel

Ikeman

martn28

dazzlindazz

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