Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Completely erase EMMC flash storage/userdata from PC?

543

Credits

19

Prestige

15

Contribution

advanced

Rank: 4

Credits
543
Posted at 2/28/2015 00:00:44        Only Author  1#

Completely erase EMMC flash storage/userdata from PC?

Hi


How do you completely erase EMMC flash storage from PC?

I use Android_Console_Tool.exe and type

Android_Console_Tool.exe EF RK3288Loader_uboot_V2.17.02.bin in command prompt

It then says 50000 KB or something erased and then boots to maskrom mode.

AndroidTool then says maskrom mode and in different flashtool it has blue color square in Rockchip Batchtool v1.8.


I then flash my firmware again(modded dual-boot firefly firmware) but my previous ROM's userdata and apps is still there, it hasn't been cleaned.


How to completely erase EMMC flash in RK3288 from PC to flash a new ROM?

Want to flash my own modified Firefly dual-boot ROM, so it won't have Android Recovery in Recovery partition because it has been replaced by linux-boot.img to boot Linux from recovery. Misc will then not be able to tell recovery to wipe userdata and cache.


1. Is there a way to completely erase userdata and cache from PC when flashing a dual-boot ROM?

2. Or maybe keep Android Recovery in Recovery partition and put linux-boot.img in a new different partition and be able to boot to it from Android.

I know how to edit parameter file, but how to boot to linux-boot.img in a different partition from Android?

3. Or is it possible to wipe userdata - 'wipe data' command as in terminal but upon first boot automatically before booting to Android homescreen and only the first time firmware is run and then not again.

It would be really nice if help can be provided for above situations and if there is a solution for one of them.


Thanks

Reply

Use props Report

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 2/28/2015 09:43:34        Only Author  2#

Re: Completely erase EMMC flash storage/userdata from PC?

Hi dewet, plz see this post:

Dual boot on Firefly-RK3288


http://developer.t-firefly.com/en/viewt ... f=12&t=263


Reply

Use props Report

543

Credits

19

Prestige

15

Contribution

advanced

Rank: 4

Credits
543
Posted at 2/28/2015 12:01:23        Only Author  3#

Re: Completely erase EMMC flash storage/userdata from PC?

Hi dewet, plz see this post:

Dual boot on Firefly-RK3288


http://developer.t-firefly.com/en/viewt ... f=12&t=263


Very helpful

Didn't know about the firstboot, will add something like it and see if it works.

Reply

Use props Report

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240
Posted at 3/1/2015 03:43:09        Only Author  4#

Re: Completely erase EMMC flash storage/userdata from PC?

@dewet

Had much the same problem, but mine was with the s/d card.  Found that the MBR (Parameter) on the s/d card was not being addressed (erased) when changing Operational system and the new MBR (New Parameter) wasn't there.  Also when just using it in different formats, including windows.  So I found this tool to erase the s/d MBR.  https://www.sdcard.org/downloads/formatter_4/


--cappybob

Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list