yashsingh1/xdaforums huggingface dataset:
[Android General] syserr:
I'll give you the best (thorough and easy) way that I can come up with.

First move /data/nvram out of the way

- fire up ADB shell (or Android Terminal Emulator)

<quote>

su

mount -o remount,rw /data

mv /data/nvram /data/nvram.old

sync

</quote>

Immediately hit Reset Button, without shutdown

Second write (overwrite) your NVRAM image to the NVRAM partition block in flash.

Run SP Flash Tool

Open a valid scatter file and make sure it's happy referencing a PRELOADER etc

Go to top menu "Window / Write Memory" to get the "Write Memory" Tab

Open Raw Data file: NVRAM

Memory Setting: EMMC

Begin Address: 0xA60000

Container Length: (just leave it) 0x0000

Click "Write Memory" Button

(SPFT will wait for your device now)

Disconnect USB

Hit Reset Button on tablet

(it is now all the way off)

Hold VolUp while plugging in USB
[Android General] MAGIo18:
So is your AT&T Rom able to manage two Simcards and enable Voice Calling function? If so, I would install it. Currently I am using Lewa and it is ok...
[Android General] porga:
I installed terminal emulator on tablet.

mount -o remount,rw /data -> gives me Operation not permited

---------- Post added at 10:32 PM ---------- Previous post was at 10:14 PM ----------

and when I use root explorer (root checker app verifies that tablet is rooted), there is nothing in /data folder.

I will try to write NVRAM witfout forst step.

---------- Post added at 11:08 PM ---------- Previous post was at 10:32 PM ----------

simply, it does not accept "su" It does not want to change to # in shell

---------- Post added at 11:25 PM ---------- Previous post was at 11:08 PM ----------

no luck. After flashing, IMEI still invalid. SU is the problem i think...

---------- Post added at 11:34 PM ---------- Previous post was at 11:25 PM ----------

"android root toolkit v2.5" reports that device is not rooted.
[Android General] syserr:
The reports are... the AT&T has problems with the dual SIM model.

I just purchased a Vodafone/Lenovo Smart Tab II, used, international shipping. This is a A2107A-H. My hope is it will answer a bunch of questions. It is an Android 4.0.4 kernel with dual SIM. Should be here in ~10 days. Check with me around that time.
[Android General] syserr:
I'm sorry. I thought Foxtrot was properly rooted. I'll try to get something going for you in ~12 hours... I don't have work tomorrow.
[Android General] porga:
Well thanks, I'll wait. I had a great "fight" with tablet last night, but that is something I enjoy to do (preferably with positive ending)....

;)
[Android General] syserr:
I totally understand... I had to dig in so hard to figure this stuff out in the beginning - It took months. Part is because the community assumes certain knowledge and doesn't organize things well. If you look at successful open source projects, it really makes the "rom scene" look like chaos. :eek:

I'm making you your very own rom porga, because you are special! Well, you're the only person to send me a rom dump, I feel obligated to help you out in any way I can. I'm sorry the kids are waiting for the tablet.

I'm sending you a full SPFT dump = Foxtrot + CWM + yourNVRAM. I tested it and your IMEI come up. (they are safe with me) Why I did not go with ClearSky as you requested in frustration - you don't get your language, Phone, and it's not as smooth as foxtrot. So I'll walk you through doing a "Memory Write" in SPFT. It's just like the "Read back" but in reverse.

I'm dumping the rom now, upload and test... should be ready in 2 hours.

Edit:

Some trouble... a few more hours, redumping now with a rerooted Foxtrot.
[Android General] Lichban:
help

hi i got a bit of problem

Tried to install Foxtrot rom on my device A2107A-H Dual sim

but now tablet doesnt turn on at all.

With flash tools i can down load onto device ( tried foxtrot / clearsky) and still doesnt turn on

no factory reset screen nothing

Any advice on what i can try ?
[Android General] syserr:
Did you "Format Whole Flash" in SPFT? Format will probably solve your problem of making ClearSky work. If you haven't made a backup of your NVRAM yet, I recommend it before the Format.... otherwise your original NVRAM settings will be lost. To make a backup of NVRAM with SPFT use the "Read back" function start address 0xA60000 size 0x300000.
[Android General] Lichban:
I did do the format whole flash and do have a nvram backup.

Just did a clearsky install again no errors no luck ...
[Android General] porga:
OK. waiting for insructions.
[Android General] syserr:
Good.

Hum, what version of SP Flash Tool?

To be sure:

Disconnect USB.

Hit Reset Button.

Then hold power for 4 sec to power on.

(I know this sounds trivial, but little things can trip things up)

Still no luck?
[Android General] Lichban:
V3.1206.01

still no luck
[Android General] sam_pon:
i think that it is better to use the same version of SP Flash Tool which coming included in the folder clear Sky which is 3.1224 , because sometimes other versions not working .

one stupid question : did you try to charge your Tablet , to be sure the battery is not empty ?

i hope that you start first with charging , then after 4 hours of charge try to open it , if it is not working , then hit the reset button under the camera and give it another try starting from formatting the whole nand using v 3.1224 as i told you , then hit the reset again and try to flash the whole rom of foxit or clear sky , and hit the reset for the final time , then start your tablet , and i think it will work again .

keep in touch and update us .

My Dear SysErr , we are waiting for your dump , i know that it will take some time , but the ball now with you and we waiting you to Scoring the goal :laugh:

i miss you too much , and hope that you are okay .:)
[Android General] Lichban:
It worked thnx
[Android General] porga:
Hello, I am just doing procedure you sent me. To be sure, I flashed and installed Cleasrsky all over again. But, when I do memory write (procedure you explained) red line runs to 100% very fast, and flash toom is counting minutes, but percent line is not moving, nor Bytes or Bps.

I will leave it plugged in till I get response from you. Maybe memory write is doing something different? Maybe this is normal?

---------- Post added at 06:29 PM ---------- Previous post was at 06:12 PM ----------

it reported BROM ERROR: ?? (2)
[Android General] porga:
Another strange thing. I tried to install Foxtrot from SD card (version downloaded previously), through recovery. After thar I initiated memory write procedure. It runs, but not hour you told me, but grren line comes to 100% in fex minutes. It reports OK. But after that no way to turn tablet on, untill flash is erased and Clearsky installed?

What is wrong here?

---------- Post added at 09:38 PM ---------- Previous post was at 09:37 PM ----------

Ram test report:

===============	Memory Detection Report	===============

Internal RAM:

Size = 0x00020000 (128KB)

External RAM:

Type = DRAM

Size = 0x20000000 (512MB/4096Mb)

NAND Flash:

ERROR: NAND Flash was not detected!

EMMC :

EMMC_PART_BOOT1	Size = 0x0000000000100000(1MB)

EMMC_PART_BOOT2	Size = 0x0000000000100000(1MB)

EMMC_PART_RPMB	Size = 0x0000000000020000(0MB)

EMMC_PART_GP1	Size = 0x0000000000000000(0MB)

EMMC_PART_GP2	Size = 0x0000000000000000(0MB)

EMMC_PART_GP3	Size = 0x0000000000000000(0MB)

EMMC_PART_GP4	Size = 0x0000000000000000(0MB)

EMMC_PART_USER	Size = 0x00000000E9000000(3728MB)

============	RAM Test	============

Data Bus Test :

[D0][D1][D2][D3][D4][D5][D6][D7][D8][D9][D10][D11][D12][D13][D14][D15]

OK!!

Address Bus Test :

[A1][A2][A3][A4][A5][A6][A7][A8][A9][A10][A11][A12][A13][A14][A15][A16][A17][A18][A19][A20][A21][A22][A23][A24][A25][A26][A27][A28]

OK!!

RAM Pattern Test :

Writing ...

0x44332211,

0xA5A5A5A5,
[Android General] syserr:
Yeah, it's definitely not supposed to stop at the red progress bar. It does pause on mine for about 5-10 seconds in that spot during Write Memory mode.

Are you making sure you hold the VolUp until after usb plugin? It will work without holding it most times, but I think it's in a slightly different mode. I always hold VolUp when powering on (or plug in) for SPFT actions.

Also, I'm using SPFT 3.1312.0.139... not that I'm advocating that version, but you might try it.

I'm at work right now, and will try to replicate your problem tonight (in the next 5 hours).
[Android General] porga:
I tried on Win XP too, it shuts down computer. :) I ried with newer flash tool. Bit do not worry, I solved it by rooting Foxtrot again and using MTK droid tool.

Then I lost hour wondering why it will not connect with Tele2 SIM, fut finally I put my T-Mobile SIN in tablet, and works like charm.Thank you very much for the assistance.
[Android General] syserr:
Well, as long as it works for you, I'm happy.

I just got SPFT to stall just after the red progress meter. I left Memory Setting: NAND instead of changing it to EMMC. Maybe this was your problem?
[Android General] porga:
"I left Memory Setting: NAND instead of changing it to EMMC" - No, I tried multiple times, and it was done step by step per your tutorial. But it is important it works now. If needed, I can upload rooting script and MTK tools app which worked for me somewhere?

Regards,
[Android General] sam_pon:
Congratulation ,

You Are very welcome any time
[Android General] syserr:
I've been working on a few things:

1. porga's problem, because it was time critical

2. gathering MTK sources so I can try to build a ROM from source - I've got over a dozen source trees now

3. a tool to adjust partition sizes, will help me understand partitioning, useful currently for kinta44

4. I bought a Lenovo/Vodaphone Smart Tab II (aka A2107A) so we can have another firmware to explore - waiting on shipping

5. I've been working with iceBringer over IM to try to reliably get 3G connections - IMEI and base band related

6. sort of porga's problem but more general - how to get IMEI to stick in NVRAM - updating them in Foxtrot doesn't seem to work, but I remember it working in another rom.

I want to get the image I made, like porgas, but without his IMEIs and let you try that. iceBringer has taught me about RAT in engineering mode to set the base band region.
[Android General] icrazy:
Thank you for your work.

I have a Lenovo/Vodaphone Smart Tab II (aka A2107A) . I tried your rom for A-H , the cwm version but is not booting. It stays with the logo for 1minute and then reboots in recovery. I am using LEWA for now from Makbro , this works ok but quite many bugs ,I was looking for something better.
[Android General] syserr:
If you have your original NVRAM paritition or /data/nvram directory tree tar'ed up, then I can probably help soon. The Vodafone version has Android 4.0.4. I'm hoping to use that as a base for most of my work. The AT&T ROM doesn't support dual SIM well apparently. I think the Vodafone may have all the base bands too. I'm crossing my fingers.
[Android General] armyofpunk:
Any chance on pouring kit Kat over for our device seeing as it's meant for lower end devices?
[Android General] syserr:
I think it would be easy enough if Lenovo and MediaTek released the MTK SDK and HW information, but I don't think that will happen.

My desire right now is a clean 4.0.4.
[Android General] syserr:
icrazy,

Which recovery.img are you using -- do you remember? I think it would work for pickled-onion as he has a Smart Tab II.
[Android General] icrazy:
I used the files and method described in this post.

http://xdaforums.com/showpost.php?p=34613975&postcount=45

But I dont have the files anymore and I see the links are broken also now.. sorry.

LE.. I might have the old hdd, I never formated it , I ll look for it tomorrow is 3AM here
[Android General] sam_pon:
My Dear Syserr

I am with you 100 % in any thing .

I feel Very comfortable with your ROM except (as you Know ) the Duel Sim CARD not working , and there is no FM Radio , and the important thing for me is :

when i try to playing some of the HD videos on youtube , it working not smoothly , and there is a delay in voice ( voice not working with Picture )

Like this one :

http://www.youtube.com/watch?v=aB2wZET_SKs

and this problem not happening in Lewa Rom , so , i went back to Lewa in spit of all this Chinese characters which i can not delete , and the main themes which i can not change .

so , i think that the new rom which will be dumped from vodafone tablet with two sim card , will work good .

have a good day my best friend .
[Android General] syserr:
Maybe you can run this command with ADB or Android Terminal:

Then post that file /sdcard/recov.img
[Android General] syserr:
My post here about gathering information about various ROMs around the world might be of interest:

http://xdaforums.com/showpost.php?p=47048757
[Android General] syserr:
sam_pon, did you have a data plan with 3G? If so, when you went back to LeWa did 3G work still? I'm concerned that when people tried my AT&T ROM it set the radio band to US and that they now can't connect in their native wireless regions. I'm still worried that the AT&T ROM has caused people some kind of long term damage.

I just tested LeWa, AT&T, and Chinese with HD on that particular HD Youtube video. You definitely do need to turn off "HD" with the AT&T ROM for Youtube to be smooth. The "Chinese" ROM also has a hard time staying in sync and skips in HD. LeWa is best, but not perfect. For some reason though LeWa's resolution at "HD" seems lower than AT&Ts in HD. AT&T non-HD looks almost the same as LeWa HD to me. I could be imagining things though.

On a second look -- LeWa's Youtube's non-HD mode looks awful -- something I didn't see with AT&T or Chinese. I'm not sure why... but it seems... "One man's HD is another man's non-HD." ???

I'm in no way trying to sway you, I just thought my results were weird and wanted to share.
[Android General] kinta44:
Very big thanks!

I think it will be useful for others, because for that moment we can't install for example map 2 go without patch sd2 to main

Do you have a donation email paypal?
[Android General] icrazy:
my recov img , sorry for delay
[Android General] syserr:
OK thanks! This may help others. It is the same as one I had, but I couldn't determine which would work in his situation.

To others the ro.build.display.id for -H recoveries:

./icrazy.img A750

./clearsky-recovery.img A2107A-H_S314_120723

./recovery_STOCK_ICS_403.img A2107A-H_S341_120921

./recovery_CWM_6015.img Acer_AV041_E350_1.000.08_EMEA_FR

./anti-recovery.img full_B79-eng 4.0.4 IMM76I eng.rua1.20120607.161038 test-keys

./recovery_CWMR_5504.img A750

Obviously when I see source for "A750" or "Acer_AV041_E350"... I feel hope.
[Android General] syserr:
kita44,

I keep getting distracted, I need to get into the repartitioning now. :cowboy:

Don't worry about donations, thanking posts that you find helpful is great payment.
[Android General] syserr:
I've built a repartition tool. Just getting things finalized now. I posted on rua1's MTK thread some of the features.

I've found out why the algorithm to calculate the EBR1 size field didn't seem to match the algorithm used for EBR2 size field. Its because those fields aren't really used. Gurr.. I read that but in my one test I forgot to Wipe Data. That one lapse caused me another 6 hours of trying to reverse something that is inconsistent. :banghead:

When finished... Hopefully it will be useful to all the MTK hackers.

First tester of the resulting files will be kinta44. :)

Hoping to get it finished off tomorrow.
[Android General] syserr:
Finally, the little partition tool works. Oddly enough, shrinking FAT and expanding USRDATA is not that hard by hand. My tool will be valuable if things higher up in the addresses (scatter file) get modified... then it will shine.

Anyway, kinta44...

I have a scatter and MBR that expand USERDATA to 2.30GB currently. I tried getting rid of the FAT all together, but then I found apps like Camera say there is not an SDCARD inserted. (there was one) So I think it's best to leave a small FAT for the "SDCARD" then allow the external SD to be "SDCARD2". I fiddled with the Patch SD and SD2, but neither did anything without a FAT (partition) mounted as SDCARD.

I'll test getting closer to 2.35GB.
[Android General] syserr:
Re-partitioning MTK

Wow, whenever I think I've figured something out, I get a surprise. I spent several hours narrowing this down.

If the USRDATA partition (aka /data) gets a bit over 2GB the tablet fails to boot fulling. On a well rooted ROM a person can run ADB shell and then run dmesg during power up.

dmesg contains:

So NVRAM gets all messed up if that partition is very large. Kinta44 --- I hope 2.0GB is big enough?! I even tried stealing from the CACHE partition, it worked -- but had to keep USRDATA 2.0GB or less.
[Android General] icrazy:
I think 2gb is more than enough for most people. You can still use the install sd for the large apps , they usually come with that option. I have 2gb space for /data on my phone . HTC one S , I install everything on phone and never used more than 1.2gb . I must say I dont play any games but still I have more than 50 apps installed ..

Later edit : Reading what I said ... sounds a bit like "640K ought to be enough for anybody" from Bill Gates :))
[Android General] syserr:
Here is a PM session I had with ytseham1138, probably should have been public. This might be helpful to others... and I'll try to get the FAQ more organized and contain this sort of stuff:
[Android General] syserr:
kinta44 (and others) please find a link to ClearSky_Overlay_BigData_For_4GB.7z here:

http://xdaforums.com/showpost.php?p=46201440&postcount=2
[Android General] armyofpunk:
Is this for -f or -h?
[Android General] syserr:
Sorry... The ROM overlay ClearSky_Overlay_BigData_For_4GB.7z is for the 4gb version of -H.
[Android General] syserr:
If you need such a partitioning for -F its pretty easy to do at this point. You'd just overlay it on my SE -F ROM.

Waiting for my Vodaphone Smart Tab 2... Then I'll give this stuff one last push... To try to make the best ROM for each... Or maybe know enough at that point to give a good report on each... Pros/cons.
[Android General] nayeem1998:
JB or Kitkat

Sir Is it possible to make jealybean or kitkat rom for this device?
[Android General] syserr:
Many things are possible, but....

MediaTek chips are not easy to work with. So the recent news about old phones getting kitkat... well their hardware is really mainstream and close to reference implementations.

I bet it would take me about 80 hours to get an ICS build from source to boot. It may or may not be usable. JB sources for MediaTek chips are normally for newer chips than what we have in our tablet here. What might be exciting is the work Cyanogenmod is doing with third-party MediaTek OEMs. They may get the source trees in shape enough that you could build it for older devices.
[Android General] syserr:
Foxtrot Re-rooted

Announcement of a re-rooted and re-busyboxed version of the old -H ROM Foxtrot.

See the first post of this thread for SE_FOXTROT_REROOTED-signed.zip.

PS - Still awaiting delivery of my Smart Tab II.... slow boat.
[Android General] kinta44:
Re-partitionig

Hi

First of all - big thanks for your work. It's realy awesome.

Second, I'm testing this tool, but I have a problem. After flash, tablet is brick.

Helps only flash with oryginal stock rom, and after that flash cwm.

maybe I'm doing something wrong?

I found some tools,that show every partition in my Lenovo - maybe my tablet has another partition than other?

sorry for my english

nevermind, I'll try to flash new partitioning once more (or a few more :)_)

and I'll let you know what happened.

I need a a few days

once again - big thanks
[Android General] syserr:
When you repartition, the old partitioning goes away and your 4GB works any way we desire. I've also had non-boot scenarios in some cases, like when trying to mix and match the -H 4.0.4 ANDROID partition with my -F's partitioning. I'm not sure what could be your problem though.

You are able to flash the full SPFT stock ClearSky? (without my overlay?)
[Android General] syserr:
Received my Lenovo/Vodafone Smart Tab II

I received my Lenovo/Vodafone Smart Tab II today in the mail. ~2 weeks from UK to USA, sigh.

It has *ONE* SIM slot. :eek: This concerns me that it will not be useful for ROM donation for dual SIM users. :mad:

Let the poking and prodding begin.
[Android General] icrazy:
Vodafone smart tab has only one sim , i can confirm this.

I saw this later , you said the -F and -H have 1.35 Gb data .. sadly Smart tab has only 500mb /data and 1.87gb internal sd . A repartition to 2gb /data would be really nice.
[Android General] sam_pon:
My Dear Syserr , I am so sorry for not answering you for along time , but I was moving from my house and my job , so I did not open any computer for a long time .

so , as I understood from your trying for the two roms that lewa rom not making the video working in HD mode , so the video working smoothly but in a low quality .

but in some games , I found that it working better on lewa than any other rom ,

I am confused because all what I want is to have a rom with smooth internet connection , I don`t care about anything else , games or radio or any other things not interest me .

thanks for you my friend for supporting me and trying many things for me

I swear that you are the best .

yours

Samer Mohamed
[Android General] kenzok:
Hi

Hello! I have too a Vodafone smart tab II ( aka a2107a) and installed your version for -H (SE_A2107A-H_A404_121011_ATT_SP). It works excelent. First i got rid of those ugly vodafone apps that cannot be removed. Still, it's C partition is too small (512 mb), but it's perfect for GPS and few little games. But, from this rom, I cannot manage to use sopcast. I install it and when I launch, the screen remains black. The back button freezes and home is lauch preety heavly. Is there a way to make sopcast run? Thanks for everything my friend. I didn't find a paypal account for you, because I want to grant you a few beers :).
[Android General] syserr:
Hi,

I spent a few days working on my Vodafone Smart Tab II. I've paired down their ROM to a point that I think is as good as the AT&T ROM. The kernels etc are almost identical. If you want Euro Band 3G, it should work for you where AT&T's won't. I'm about ready to release it, I'd give it a try in a day or two.
[Android General] morph8000:
hi,

i am also using a vodafone tab 2 7", but I am searching a ROM with german language, call-function and only 1SIM support,

otherwise I cant install Navigon route app. (I already asked in an other thread if someone could install it with pemergency Final ROM, but I think it is easier to use a 1SIM ROM, if there is such a ROM with call-function)
[Android General] syserr:
I'd look at foxtrot rather than pemergency. It is also dual sim.

The only single sim ROMs that we have don't have phone support.

I'd love to have mix and match capabilities, but I've failed. And I have a fair amount of experience with kernels and Linux.

Hopefully this helps. Let me know if you need more guidance.
[Android General] morph8000:
Tried se foxtrot rerooted Rom with ClearSky_Overlay_BigData_For_4GB.7z

Same Problem as with pemergency. When I try to install (sorry here was my fault, I CAN INSTALL the apk, but when I start it to install the files and maps) Navigon it says:

An error has occurred. Check the network and/or internet connection. (using old files from sd-card backup also doesnt work, then I get forced close)

Internet is active and play store is logged in, this setup works well with the normal SE 1SIM ROM.

I also restored before the nvram folder, no success.

Why should I prefere Foxtrot to pemergency??
[Android General] icrazy:
Navigon works on lewa rom. I use it also on my vodafone smart tab. Call function is enabled, I don't know about german language