yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] Astu04:
When I try $ ./rkflashtool b I get back:

My tablet is in recovery mode, as it can't boot.
[Android Software/Hacking General [Developers Only]] 900supersport:
The tool works with the rk3188 you need to edit and compile with 310b.
[Android Software/Hacking General [Developers Only]] mrgsm:
Need Helppp ... i tried upload Generic rk2918 using rrecovery_RKtool_win_v2 ,on my China TAB rk2918 based, it worked fine, and then suddenly i pressed 'Format' at recovery_RKtool_win_v2, now it cannot Boot. But still detected by software, but not detect by RKBatch15 (for flashing ROM).

pleaseee ...pleaseeee ...pleaseeee
[Android Software/Hacking General [Developers Only]] :
Thanks for this just dumped my RK3066 tablet, had no luck with getting firmware from the MFR so needed a way of getting something that I can hopefully use to recover, anyway I noticed it skips kpanic & cache, should it do that & will that affect any future recovery?

Thanks if anyone can answer ;)
[Android Software/Hacking General [Developers Only]] ildar_prophet:
Cache is cache so no valuable information there. Kpanic is a place to dump crash info for the Linux kernel. Both are autocreated, need no special handling.

---------- Post added at 02:02 AM ---------- Previous post was at 01:34 AM ----------

rkflashtool: some blocks aren't flashed to RK3066

I successfully flashed kernel.img several times to my RK3066-based chineese tablet.

But when I tried to flash system.img, it didn't correctly flashed some blocks:

The result was partially flashed partition (corrupt filesystem).

I started to think that NAND is exhausted. But after that I successfully flashed the system.img with RKAndroidTool.exe in Windows. So it looks like the rkflashtool bug.

Ideas?
[Android Software/Hacking General [Developers Only]] Astralix:
AFAIK you cannot flash system.img with rkflashtool as system is under control of rkXXnand.ko driver and inherits wear-leveling algorithm. The windows tool seems to know that and adds or relocates data, crc, whatever according that driver.

There is still some 'magic' in the RockChip things...

But you can flash kernel, boot, recovery and misc with rkflashtool.

Regards

Astralix
[Android Software/Hacking General [Developers Only]] redhairedscot:
Confirmed; flashing the kernel works quite well on my u30gt2 RK3188. (Well, flashing it back to its original state works well. Flashing the kernel I built works rather less well.)
[Android Software/Hacking General [Developers Only]] ildar_prophet:
Astralix, thanks a lot for your answer.

But I strongly doubt that the RK-chip in flash mode has something to do with Linux kernel and hence rkXXnand.ko. I trust in your experience that RK somehow protects certain areas but that should be somewhere in the SRAM bootloader or such.

Anyway, thanks for clarification.
[Android Software/Hacking General [Developers Only]] Astralix:
With the system.img It was just a proposal I made cause we had many troubles with flasing it while all other parts work fine.

There may be another trap you run into:

I got a new tablet based on RK3066, the Odys Xelio 10pro. In that one I tried to fetch the kernel from the flash but got only trash. We then found out that they followed the recommended way to give a separate kernel in boot.img and recovery.img. So you can flash into kernel.img whatever you like, it will not be started until you exchange boot.img with an image that doesn't contain a kernel.

ildar_prophet, are you inspecting the bootloader actually? So it would be very kind to keep me informed about any new information about it. I'd like to get some more infos about the IDB area and it's content. Further I rewrote some parts of the rkflashtool.c and collected all the different commands from different versions from it. And I added all known RockChips that should be supported by it here.

But still a work in progress and I only could verify it on RK2918 and RK3066.

Regards

Astralix
[Android Software/Hacking General [Developers Only]] ildar_prophet:
Excuse me, very important: did you see this behavior on RK29xx?

Thanx in advance.

--

blog: http://johan-notes.blogspot.com/search/label/android
[Android Software/Hacking General [Developers Only]] Originalas:
rkflash reads partitions fine, but doesn't write anything, just prints weird symbols in terminal.

Any ideas, where might be a problem?

And it worked a couple of weeks ago.
[Android Software/Hacking General [Developers Only]] ildar_prophet:
Sorry, your post is very informative.

Could you please write what command you launched, what you expected to see in the result etc...
[Android Software/Hacking General [Developers Only]] Originalas:
I have made boot partition backup with command

sudo ./rkflashtool r 0x00008000 0x00008000 > boot.backup

everything went fine, rkflash made a good backup

Then i tried to flash different boot.img with command

sudo ./rkflashtool w 0x00008000 0x00008000 < boot.img

though after executing command terminal was flooded with weird symbols and rkflash didn't write anything to tablet.

LOL, I can see the problem now... I've used r parameter in write command. :)
[Android Software/Hacking General [Developers Only]] yooyo3d:
I have set top box rockchip device. Bad thing is this device does not have power and volume buttons and it dont have microUSB port. It have 4 regular USB ports, ethernet, HDMI, composite and audio out. There is no way to connect to computer. Its based on rk3066. Internal name is rk30sdk.

I managed to root device (it was shipped with su), so I just added busybox and superuser. Using teminal emulation I managed to dump first four partitions using dd. Two of them is almost identical. Both starts with ANDROID and have same size and lots of data is identical.

Using kitchen tools I managed to unpack one of those partitions and access to zImage and other stuff. Then I build new zImage based on AndrewDB rockchip 3066 kernel source, replace zImage and create new boot.img file.

Because there is no way to connect device to PC, I transferred new boot.img on device then use dd to directly write into partition... and device wont boot anymore. :(

Now.. big question is how to write original kernel images. I have dumps, but I cant connect device to PC (no microUSB port). I cant switch device in flash recovery mode because there is no buttons on device.

Is there any guide how to deal with this situation?
[Android Software/Hacking General [Developers Only]] ildar_prophet:
It looks you got no other choice but disassemble it and find other plugs inside

--

blog: http://johan-notes.blogspot.com/search/label/android
[Android Software/Hacking General [Developers Only]] mitcoes:
I have just bricked my tablet asking for the SD recovery method

http://xdaforums.com/showthread.php?t=2386997

My problem is that it does not boot but I will try to setup my SD to restore the system

How must I do to setup it?

Is it ok to put the original .img from the vendor - I have it - or any other you know can run better? My goal after repairing is trying again to put inside a CM JB rom - perhaps trying without changing the bootloader -

Thanks in advance

PS: ypur post is the most similar to my problem, and I am glad you solved it
[Android Software/Hacking General [Developers Only]] yooyo3d:
Its fixed now. I have flash tool for Windows and crazy drivers (they won't install properly but forcing them to install works). Trick is to short connect recovery pins on board and turn on power. Connect device with USA A-A cable, using bottom left USB port on device. Then windows should detect rockchip class in device manager. Run flash tool, select firmware image and flash image.
[Android Software/Hacking General [Developers Only]] mitcoes:
Thanks your post gave me some tricks to try - still bricked -

Thanks your post gave me some tricks to try - still bricked - I do use Manjaro Linux but I'll try with my old MS WOS 7 HDD I keep disconnected for rarities
[Android Software/Hacking General [Developers Only]] yooyo3d:
Rockchip is unbrickable. All you need is:

- flash tool

- original image

- to put device in recovery mode (nand flash)

Last one is bit tricky and depends on device. I have set-top box based on rk3066 and it doesnt have any physical buttons. But, when I open it there is a pins on board marker with "recovery". So.. turn off your device, connect with PC using usb cable, connect recovery pins and connect charger. Keep recovery pin connected 5-10 sec. PC should detect device. On windows you need proper driver. On linux, im not sure.. I didnt try yet.

Then just flash device and after its finished device should start regular boot.

This is my experience based on settop box. I dont have any rk based tablet, but I think procedure is more or less same. Entering in recovery depends on manufacturer.
[Android Software/Hacking General [Developers Only]] SpaceCaker:
can u show a photo of recovery pin ?
[Android Software/Hacking General [Developers Only]] yooyo3d:
Yes. Here is the image of device:
[Android Software/Hacking General [Developers Only]] SpaceCaker:
they are pressable or do i need to use metal clip or something to push the recovery button?

btw my RK tab

has No screen it gives like old TV effect without channel but with tons of colors

havent touched ir for a year now

archos 7 ht it was i think
[Android Software/Hacking General [Developers Only]] yooyo3d:
You need metal clip.

Colorfull noise on the screen is unusual.

Here is the shot of reference rk board and where is located recovery pins directly on nand: Maybe it will help you.
[Android Software/Hacking General [Developers Only]] SpaceCaker:
what i did (if i remember correctly after 3/4 years) i updated by downloading update zip

pressed it and itbinstalled fine

i installed new launcher (adw) at that time

and afte reboot it went stuvk

i dowloaded original fw and instead of flash i pressed restore in rk flashtool and this gave me the colorfull noise thingy

thanks for references

gonna pull apart whole drvice properly and investigate the board
[Android Software/Hacking General [Developers Only]] xazac:
iFive Mini 3 dead after kernel flash

Hi everybody.

Yesterday I flashed an OC Kernel to my iFive Mini 3 Retina and I accidentally flagged "Parameter" checkbox. Now the tab won't boot. I tried so many ways to get it out, but no way. I tried on Ubuntu, on Windows and on OS X: I can't get rid of it.

I modified "setting" according to VID & PID I can get from Device Management on Windows: in this way the tools I tried (RKAndroidTool, ROMFlashTool, ROMDumperTool) recognize the tab as "RKAndroid MaskRom Rock USB" but there is no way to flash it. I also tried "RKFlashKit, RKFlashTool" on Ubuntu but no way.

Even on Mac with "RKFlashToolOSXv2" the device won't work.

Can you please help me? I don't sleep from yesterday to get it work but no success. Please.

Thank you.

PS: I get the kernel from

here

. I already used this kernel and it worked okay but this time I flagged "Parameter" checkbox before to flash the "boot.img" and then the tab stopped to work.
[Android Software/Hacking General [Developers Only]] yooyo3d:
You need full image and flash tool. Look is there any hidden hole or reset button on tablet. It should put it in nand flash mode. Then use rkflash tool.

Another option is to open tablet find nand chip and short connect pins 8 and 9 and turn on tab.
[Android Software/Hacking General [Developers Only]] xazac:
Hi, thank you! Anyway there is no reset button. That's a shame, since it's hard to open (it's an iPad Mini copy). Any other ideas? :(
[Android Software/Hacking General [Developers Only]] yooyo3d:
Found this on other forums:

---------- Post added at 07:10 PM ---------- Previous post was at 07:08 PM ----------

And this:

http://www.slatedroid.com/topic/94865-how-to-flash-ifive-mini/
[Android Software/Hacking General [Developers Only]] xazac:
Thank you. I already tried this multiple times but it didn't work.
[Android Software/Hacking General [Developers Only]] ildar_prophet:
AFAIK mask ROM is good sign and should be flashable. No need to open the device to short pins: it is just to get this Mask ROM mode which you already have.
[Android Software/Hacking General [Developers Only]] xazac:
Yes, this is what I understood by reading all the web. But I am still not able to flash it. No way.
[Android Software/Hacking General [Developers Only]] ildar_prophet:
Hi! Long time no see! :o

I found the answer. The RADXA wiki has it:

Read the wiki for more details.
[Android Software/Hacking General [Developers Only]] yooyo3d:
I have SDK 3066 board with recovery pins but they dont work. Only way to boot device in loader mode is to connect pins 8 and 9 on NAND chip and turn on device. After that windows flash tool recognize device and I can flash image.

Actually, I had access to 3 bords revisions and only on last one recovery pins does not works.
[Android Software/Hacking General [Developers Only]] ildar_prophet:
BTW JFYI there is a Rockchip's tool for Linux (Linux_Upgrade_Tool_v1.16.zip) that can do what rkflashtool yet cannot: make EraseIDB and flash the bootloader.
[Android Software/Hacking General [Developers Only]] ildar_prophet:
Also JFYI,

the improved version by neo-technologies can be found on github.

One great feature it has is using partition names instead of addresses, e.g.:
[Android Software/Hacking General [Developers Only]] whitedavidp:
I want to flash my newly compiled kernel for the Minix Neo X5. Following the information in this thread, I have looked at the contents of /proc/mtd and /proc/cmdline for two sets of firmware (Finless 1.3 and a KitKat firmware) both of which show a kernel version of 3.0.36+. Here is what I see:

Finless 1.3

-----------

cat /proc/mtd

dev: size erasesize name

mtd0: 00400000 00004000 "misc"

mtd1: 00c00000 00004000 "kernel"

mtd2: 01000000 00004000 "boot"

mtd3: 01000000 00004000 "recovery"

mtd4: 18000000 00004000 "backup"

mtd5: 08000000 00004000 "cache"

mtd6: 100000000 00004000 "userdata"

mtd7: 00400000 00004000 "kpanic"

mtd8: 20000000 00004000 "system"

mtd9: 295600000 00004000 "user"

cat /proc/cmdline

console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init

initrd=0x62000000,0x00270000

mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00006000@0x00004000(kernel),0x00008000@0x0000A000(boot),0x00008000@0x00012000(recovery),0x000C0000@0x0001A000(backup),0x00040000@0x000DA000(cache),0x00800000@0x0011A000(userdata),0x00002000@0x0091A000(kpanic),0x00100000@0x0091C000(system),-@0x00A3C000(user) bootver=2012-12-07#1.22 firmware_ver=4.2.2boot

KitKat

-------

cat /proc/mtd

dev: size erasesize name

mtd0: 00400000 00004000 "misc"

mtd1: 00c00000 00004000 "kernel"

mtd2: 00c00000 00004000 "boot"

mtd3: 02000000 00004000 "recovery"

mtd4: 04000000 00004000 "backup"

mtd5: 08000000 00004000 "cache"

mtd6: 200000000 00004000 "userdata"

mtd7: 00400000 00004000 "metadata"

mtd8: 00400000 00004000 "kpanic"

mtd9: 30000000 00004000 "system"

mtd10: 180000000 00004000 "user"

cat /proc/cmdline

console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init

initrd=0x62000000,0x00150000

mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00006000@0x00004000(kernel),0x00006000@0x0000A000(boot),0x00010000@0x00010000(recovery),0x00020000@0x00020000(backup),0x00040000@0x00040000(cache),0x01000000@0x00080000(userdata),0x00002000@0x01080000(metadata),0x00002000@0x01082000(kpanic),0x00180000@0x01084000(system),-@0x01204000(user) bootver=2014-03-03#2.13 firmware_ver=4.4.2

That these are different overall is no real surprise to me. But what I am really confused about is the difference in the information shown within each set between the offset/length for kernel between the cmdline and mtd data. In both firmwares, mtd says kernel is:

mtd1: 00c00000 00004000 "kernel"

while cmdline indicates kernel is:

0x00006000@0x00004000(kernel)

Shouldn't these 2 be the same? And if not the same, which to use when flashing kernel?

Also, the rkflashtool I am using comes as part of omegamoon's kernel repository for a 3.0.8+ kernel. Is there some other or later version that should be used for a 3.0.36+ kernel? Or is all the same?

I ask after bricking my Neo X5 which I was thankfully able to recover using Finless' tutorial on Mask mode recovery. Whew!

Thanks.
[Android Software/Hacking General [Developers Only]] ildar_prophet:
You don't need it with improved version (see two posts above). Just use the partition name.

Yes, RockChips are unbrickable :)

Sent from my PIPO S3/CM 10.1 ROM by Oma
[AT&T Samsung Galaxy S II SGH-I777] war eagle:
I know that you can set the TouchWiz to a customizeable grid and replace the icons at the bottom, but what I want to do is when I click on the messaging icon it takes me to handcent. I like handcents app but I like the stock messaging icon better. Is it possible to redirect the shortcut to handcent and dolphin for the browser?

I'm rooted btw and thanks.
[AT&T Samsung Galaxy S II SGH-I777] abacon15:
You need to go to system apps and get the icon with an explorer (I love RootExplorer) from mms.apk and put the icon in place of the handcent icon. That make sense? I can't remember the names of the icons, but I want to think they are in hpdi or something. Don't quote me on file location though.
[AT&T Samsung Galaxy S II SGH-I777] war eagle:
Alright I did that. This is what I did.

Went and extracted the messaging apparently, extracted handcent took the icon from the messaging apparently and put it.in.handcent and renamed it ic_handcent.png like the original, compressed handcent again as a zip and renamed it apk but when I try to install it keeps saying application not installed.

Any clue what I'm doing wrong?
[AT&T Samsung Galaxy S II SGH-I777] saladbowl831:
Really wanted to pick up this phone today. Been waiting for it since i broke my Infuse 4G about a month ago. Went to Wal-Mart, they didn't have it. Went to AT&T store they didn't have it and said they have to order it. Called another AT&T and they said Northern California store won't be getting it. What's the deal? Does iPhone 5 have anything to do with it?

i'm in the Monterey area.
[AT&T Samsung Galaxy S II SGH-I777] ap3604:
Have you tried best buy?

Also if your a new Att customer or adding a line to a family plan (not upgrade) you can get the Galaxy SII for $99 + waived activation and free overnight shipping: http://xdaforums.com/showthread.php?t=1286281
[AT&T Samsung Galaxy S II SGH-I777] kirbo20:
There are 3 markets in the US not getting the GS II. Your market must be one of them. I think NC or SC might be the other and some place in Texas. I will look for the official info.

Edit: here is the official info. » Samsung Galaxy S II - $199.99 (excludes LA, N. Cal and STX)

I don't know what STX is. Maybe southern Texas?
[AT&T Samsung Galaxy S II SGH-I777] aimfire72:
Yeah, I'm in SF Bay Area too, just called 3 AT&T stores and they said they will not be carrying it... at all WTF? Anyone know why this is?
[AT&T Samsung Galaxy S II SGH-I777] wonner:
I don't know what's going on, but I called RadioShack and they said they have one in stock. I'm leaving now to pick it up.
[AT&T Samsung Galaxy S II SGH-I777] sh4dow1:
I live in san Jose and i got the last copy at the bestbuy mobile check there
[AT&T Samsung Galaxy S II SGH-I777] CEOGUY:
thats what the att rep told me also, i had the sprint samsung galaxy s2 version and returned it today so i can get the gsm galaxy s2 version from at&t today. Kinda sucks when every other place not bayarea related gets the phone and we dont. Im gonna wait for the Nexus prime instead. f-u at&t.
[AT&T Samsung Galaxy S II SGH-I777] drizzle67:
yea, i went to the store today too, im in modesto, they said it's because of the lawsuit that apple has against samsung. thats why they are not carrying them.

also my local target had some in stock... so i guess they are selling them.
[AT&T Samsung Galaxy S II SGH-I777] rsx1022:
i just pick mine up at west covina bestbuy :D
[AT&T Samsung Galaxy S II SGH-I777] p51d007:
Can't have anything HOT in a corporate store that might smirk the iphone can they? LOL...makes me still wonder, conspiracy wise if at&t delayed the s2 to as close as the iphone 5, to keep the drones on board. Why would they get a superior phone, when they can get another looks/works like the old iphone?
[AT&T Samsung Galaxy S II SGH-I777] shaxs:
Yes, apparently San Antonio, Austin, and Houston areas do not have it.
[AT&T Samsung Galaxy S II SGH-I777] capnwchan:
I was at Target last night and they had a non-functional display unit there, so I'm guessing they'd also have stock there. I'm in the bay area, north cal, too.

Can't wait until I can upgrade!
[AT&T Samsung Galaxy S II SGH-I777] switters1:
I got screwed over by this too. I waited until opening at the corporate store and they said "sorry, we didn't receive any". Great. On the launch day.

Luckily best buy had 4 in stock and I got the last one.
[AT&T Samsung Galaxy S II SGH-I777] ElCamino:
I also picked up the GSII yesterday Saturday. Asked if they had the GSII, sales guy said yes, so picked it up. Great device. Its the best phone I have used. Now I see why Apple is really worried that the SGII will be a better device.
[AT&T Samsung Galaxy S II SGH-I777] p51d007:
The local BB here had no display model, finally a blue shirt asked what I was looking for, told her she didn't have it, but said she thought she had a non working display model "behind the counter". Way to hide a NEW RELEASE.
[AT&T Samsung Galaxy S II SGH-I777] hkeyman:
Confirmed...

I got the last of only 5 today at BB in Simi Valley, CA. and it just so happened that the region Samsung Dealer was there when I was there. And he confirmed that the ATT stores in this area and several others would not be getting the SGSII because...He could not say the reason but did drop the "Assumption" ;);) that it was because of a certain brand of phone exclusive...What a Joke, but that is what happens when you sign into exclusive deals. Oh well I was not planning on getting this today but the opportunity was there and I traded in my Infuse (of only a month and a half)and now I am a (Happy) SGSII user. Now the Fun begins!
[AT&T Samsung Galaxy S II SGH-I777] aimfire72:
Yeah, definitely something weird. I talked to a mobile services rep at Target tonight (he says they're getting them in stock @ Target this week) and he mentioned that "something happened" in regards to why the AT&T stores are not carrying them around here. Which is strange, because why just NorCal, and not SoCal?
[AT&T Samsung Galaxy S II SGH-I777] shaxs:
How frustrating... Im going to pick one up in San Diego on a business trip in a few days. I hope they still have some stock by then.
[AT&T Samsung Galaxy S II SGH-I777] ExTREmE99:
when i went into the corp stores yesterday their reasoning was "it was illegal to sell this phone in california". after some searching on the internets it seems the rumor is apple has some sort of lawsuit with samsung and therefore at&t is not selling the gs2 in stores. who wants to guess that itll be lifted once the iphone5 is out?
[AT&T Samsung Galaxy S II SGH-I777] calsax:
Got mine yesterday at the att store in Oceanside. They wouldn't tell me how many they started with, but there was only one left at 5:30. So far, it is amazing. Turned off my old GS. Trying to see how long I can go without rooting...
[AT&T Samsung Galaxy S II SGH-I777] Kadin:
Good luck, I made it about 6hrs before I caved and rooted mine. It was just staring at me, toying with me, DARING me to do it... :D
[AT&T Samsung Galaxy S II SGH-I777] wgarrido:
I live in Monterey area as well and all the BB sold out so I drove t Soquel BB to get one. Yesterday evening they have 1 left after I got mine.
[AT&T Samsung Galaxy S II SGH-I777] hyelton:
I know SC does. Had to go down there to get mine
[AT&T Samsung Galaxy S II SGH-I777] defnow:
Confirm. Best buys are sold out. At&t will only order it to their store within 24 hrs.
[AT&T Samsung Galaxy S II SGH-I777] shannoncole05:
Same in Houston, not a phone found anywhere, this has been frustrating.
[AT&T Samsung Galaxy S II SGH-I777] Longcat14:
I wonder if the stores in Dallas carry it, because if the Prime isn't amazing, ill get the sgs2

Sent from my phone. :3
[AT&T Samsung Galaxy S II SGH-I777] runtohell121:
I bought mine at Best Buy in Merced (Central Valley). I find it weird how they're not selling it in North Cal though..?