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
Willing to try rooting this model
Avatar
josbos

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

Thanks Received: 2
31
2012/01/04 - 17:56
sp_Permalink sp_Print

The tool you mentioned only writes to the device, but cannot read from it.

Avatar
alex
Member
Forum Posts: 252
Member Since:
2011/12/27
sp_UserOfflineSmall Offline
32
2012/01/04 - 18:21
sp_Permalink sp_Print sp_EditHistory

ok ill give it ago

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

Avatar
finless
Stanton, Ca

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

Thanks Received: 2
33
2012/01/04 - 18:55
sp_Permalink sp_Print

Stupid question but you did turn on USB debugging in Applcaition settings?

 

Bob

Avatar
finless
Stanton, Ca

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

Thanks Received: 2
34
2012/01/04 - 19:59
sp_Permalink sp_Print

I think I have a solution for you!!!!  It does involve some risk.  I am at work right now so cant look at it just yet but..... Wendal says and I quote "boot.img is universal for all RK29".  So I can make a new boot.img and I will edit build.prop and init.rc to enable ADB and rw access (even though you wont have rw to /system).  Both of those right now in stock rom have that disabled!  In fact there is a specific line in init.rc that secures adb from SU access. So using RKAndroid tool to flash ONLY boot.img I bet we can unlock ADB and allow a dump.

So if your willing to flash boot.img let me know and I will make one.

 

Bob


Avatar
josbos

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

Thanks Received: 2
35
2012/01/04 - 22:32
sp_Permalink sp_Print sp_EditHistory

Quickly installed ubuntu on my machine.

I was able to compile and run the rkflashtool.

It's a dream come true, unfortunately not yet available for windows Frown

The binary for ubuntu 10+ can be downloaded here: http://www.mediafire.com/?8b1c7ilnxt9jub7

 

When running the application, it's useful to run this command first:

sudo ./rkflashtool r 0x0000 0x2000 >header

And open the header in a Hexreader, this way you can find the correct offsets and sizes for each mtdblock.

http://forum.xda-developers.com/showpost.php?p=20783034&postcount=30

Avatar
finless
Stanton, Ca

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

Thanks Received: 2
36
2012/01/04 - 22:48
sp_Permalink sp_Print

Yes but willl it dump the images without some kind of SU capability?  I cant see how that would be possible?

I just got a from a friend a new 10 G2 so I am going to try it later tonight before doing anything to this tablet.  If that works then this maybe the way to get the 9 G2.

FYI I bet the offsets are identical to the 10 G2.

I am runing the latest Ubuntu myself so this should work out well....

Bob

Avatar
josbos

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

Thanks Received: 2
37
2012/01/04 - 23:09
sp_Permalink sp_Print sp_EditHistory

It's just like you can just flash any RK device with the RKBatchtools, you can just read from it as well.

It's directly reading the NAND. So you need to go in recovery mode (volume +) first.

Then find out the offsets (using the command in my previous post) and use them in the r option.

This rkflashtool also allows you to write images to the NAND as well, but for doing this I prefer the RKBatchTool Laugh

 

I don't think the offsets will 100% match, since the boot.img is at least different.

Avatar
finless
Stanton, Ca

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

Thanks Received: 2
38
2012/01/04 - 23:17
sp_Permalink sp_Print sp_EditHistory

You mean the RKAndroid tool 1.29 (the one I use for my ROM).  RKBatch tool just flashes update.img.

 

I will try it tonight when I get home from work!  People that are on Windows/MAC can just download VirtualBox and install Ubuntu in a VM.  Thats what I did and it works great!

 

Why is boot.img different? That would for sure be odd!  All the other RK29 tablet ROMs I have downloaded, other than init.rc being different or having a boot graphic in it, they all fit in the standard size/offset.

 

Bob

Avatar
josbos

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

Thanks Received: 2
39
2012/01/04 - 23:27
sp_Permalink sp_Print sp_EditHistory

Because at least ro.debuggable is different and stored in the boot.img.

But you can be right, if they preserve enough space for the specific partition, I don't know how "clean" they work:

http://prabhatdriver.blogspot.com/2011/07/patch-kernel-image-bootimg.html

 

I used the new wubi install and loving it. No need to hassle with Virtualbox or VMWare.

The install starts from within windows and creates a new ubuntu system, next to windows, starting from 5GB.

When booting your computer, a bootloader lets you choose what OS to start.

Avatar
admin

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

Thanks Received: 3171
40
2012/01/04 - 23:59
sp_Permalink sp_Print

josbos said

When running the application, it's useful to run this command first:

sudo ./rkflashtool r 0x0000 0x2000 >header

And open the header in a Hexreader, this way you can find the correct offsets and sizes for each mtdblock.

http://forum.xda-developers.com/showpost.php?p=20783034&postcount=30

Here are the offsets for the Arnova 9 G2 (8 GB model)

dev: size erasesize name
mtd0: 00400000 00004000 "misc"
mtd1: 00800000 00004000 "kernel"
mtd2: 00400000 00004000 "boot"
mtd3: 00800000 00004000 "recovery"
mtd4: 10000000 00004000 "system"
mtd5: 10400000 00004000 "backup"
mtd6: 07400000 00004000 "cache"
mtd7: 20000000 00004000 "userdata"
mtd8: 00400000 00004000 "kpanic"
mtd9: 1a4100000 00004000 "user"

 

I should upload the Arnova 9 G2 firmware dump by tomorrow.

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
41
2012/01/05 - 00:36
sp_Permalink sp_Print sp_EditHistory

HOLY COW!  Look at the amount of space for userdata!  On the 10G2 the max I could set userdata for was 100000.  Anything more and it would not boot.  That hardly seems right.   Did you cut and paste that or type it? Where did you get that from?  Do you have a 9 G2?  If they have allocated that much space to userdata then I wish we could!

 

Edit: Wait after looking at it, it looks like all the values are the same but has 2 extra 0's after each size number.  Other than that they all match the 10 G2 if you were to remove the 2 extra 0's.  e.g. the Parameter file for update.img has Kernal as being 4000 not 400000.  So what gives?

 

Bob

Avatar
finless
Stanton, Ca

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

Thanks Received: 2
42
2012/01/05 - 00:48
sp_Permalink sp_Print sp_EditHistory

josbos said

Because at least ro.debuggable is different and stored in the boot.img.

But you can be right, if they preserve enough space for the specific partition, I don't know how "clean" they work:

http://prabhatdriver.blogspot.com/2011/07/patch-kernel-image-bootimg.html

 

I used the new wubi install and loving it. No need to hassle with Virtualbox or VMWare.

The install starts from within windows and creates a new ubuntu system, next to windows, starting from 5GB.

When booting your computer, a bootloader lets you choose what OS to start.

 

josbos, that blog post is not correct.  That is the OLD way they did it.  Kernal is NOT part of boot.img anymore.  Kernal now is in it's own IMG file.  At least that is the case on the 10 G2 and many other RK29 ROMs I have downloaded.  ro.debuggable is in 2 places. 
1) It's in the default.prop
2) It is also set near the end of the init.rc so even if you change default.prop you have to edit the line in the init.rc file or no go for adb.

Both these files are in boot.img and not in the kernal.img

 

Also I prefer the VM as I do not have to reboot to switch between working in Windows using the RKAndroid tool to flash or whatever and then rebooting into Ubuntu to do something in linux.  Try it you might like it!  I share files between them using a USB memory stick and simply mount or unmount in linux. Both environment running autonomously at once!  Gotta love multi-core 64 bit processors 🙂

 

Bob

Avatar
finless
Stanton, Ca

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

Thanks Received: 2
43
2012/01/05 - 01:18
sp_Permalink sp_Print

Admin, I pretty much confirmed your size numbers you provided have 2 extra 0's for size.

Read this post there that josbos linked and see what other are getting for sizes. 

http://forum.xda-developers.com/showthread.php?t=1286305

 

Bob

Avatar
alex
Member
Forum Posts: 252
Member Since:
2011/12/27
sp_UserOfflineSmall Offline
44
2012/01/05 - 01:31
sp_Permalink sp_Print

Woe thats alot to take in.. admin have you got a 9g2 and ill do the rest of what u said in the morning if i can get my uead round it :p i have just got ubuntu 11.10 and its all abit new and differentfrom what i have seen sofar,, linux os seem massivley under rated i prefer this to windosw 7 its just they seem to try their hardest to complicate things, i mean why upload just the source code and let everyone else compile it i forever have terminal open now apt-get this and apt-get that i enjoy the satisfaction of trying to do one thing for 2hrs then finally figuring it out or am i missing somthing?

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

Avatar
finless
Stanton, Ca

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

Thanks Received: 2
45
2012/01/05 - 04:37
sp_Permalink sp_Print sp_EditHistory

josbos, have you actually used this tool?

I downloaded your binary and it did not work so I compiled my own from the the post you provided.

 

Bottom line I get this when I run

sudo ./rkflashtool b
rkflashtool: fatal: cannot claim interface

Running libusb my device ID seems OK
sudo lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet Bus 001 Device 006: ID 2207:290a 

So you actually have got this to work?

Bob

Forum Timezone: Europe/Paris

Most Users Ever Online: 749

Currently Online:
72 Guest(s)

Currently Browsing this Page:
1 Guest(s)


Devices in use: Desktop (63), Phone (9)

Top Posters:

finless: 604

DarthJabba: 551

maikal: 394

mussonero1: 350

alex: 252

damo: 243

DanielVd: 237

Mark06: 222

Newest Members:

ruta6

rk.13

siwinfi64

dangphat

dpc

ngu

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