yashsingh1/xdaforums huggingface dataset:
[Android General] makbro:
All those interested in restoring Stock ROM, Foxtrot has posted a procedure to flash the European Stock ROM using SP Flash Tool here :-

http://4pda.ru/forum/index.php?showtopic=286687&view=findpost&p=17817202

The European Stock ROM is in "ClearSky" folder within the archive "SP_Flash_Tool_FULL_A2107" (after unzipping of course)...Install it after "Auto Format whole NAND Flash" under Flash Tool and using "Download" option, NOT "Firmware Upgrade"...The 4GB device holders SHOULD NOT Flash the "fat" image !!!

---------- Post added at 07:01 PM ---------- Previous post was at 06:56 PM ----------

I have personally tested all available ones including both Chinese (S121 and S327), pemergency, Foxtrot v100 and v101, LeWa and tesmartmod v1.4...Amongst these, Foxtrot ROMs are the best, specially after installing "V6 Supercharger" script...Of course this is my opinion :)
[Android General] thunder141:
AW: Lenovo IdeaTab a2107

I now installiert your v3.

As in v2 and also original Foxtrot, 3g is Working attraktive the beginnt. Butter After First configuration and Reboot IT connects only with 2g speed. If installiert link2sd IT does Not connect attraktive all
[Android General] D1358531:
Is there any way to get the attached live wallpaper to work on the A2107A-F? I installed it, but only see a white screen in the settings.
[Android General] makbro:
Have you tried to do a factory reset from settings after first boot ??? It has to be some data from NVRAM (It is not cleared during CWM install), doing a factory reset should solve it !!!
[Android General] makbro:
You mean that you installed the .apk in the archive ???
[Android General] D1358531:
I just installed the attached apk
[Android General] makbro:
Is the resolution of wallpaper up-to supported size i.e. 1024 x 600 ... If it is more, it cannot be viewed !!!
[Android General] D1358531:
I don't know what the resolution is...
[Android General] alepavia:
"unfortunately radio has stopped"

sigh...you changed the old one with the one in chinese rom, better i thinnk, why isn't possible to run?
[Android General] lildrfox:
im sorry man .. but im kinda new to this stuff .. so if u tell me the exact way to do it step by step (baby steps if u lyk ) hehehehehehe ..... and thaaanx 4 all tha heelp :)
[Android General] thunder141:
AW: Lenovo IdeaTab a2107

And After factory reset? Restore Backup or must install New?

Edit : Restore, seems enough. Thx for that advice. 3g now working.

:)

Still after installing Link2SD now full 3G support.

Now Just only need a working data toggle widget. Perhaps some one has found one, that is working with this tablet with the default data connection sim defined in the sim settings
[Android General] makbro:
Just use root explorer and click on the apk to install it (to avoid re-flashing ROM) :)

---------- Post added at 09:42 AM ---------- Previous post was at 09:26 AM ----------

I have tried to make a CWM Flashable Stock ROM from all the stock back-ups I have, somehow, either the WLAN or the Baseband gives trouble with all of them...As of now, I have run out of ideas and seems that the only way to get back to stock is thru SP Flash Tool !!!

Anyone having a CWM Falshable Stock which works without problems when flashed from Foxtrot or any other modded ROM for A2107A-H ???
[Android General] thunder141:
onandroid, does it found your recovery and boot partition? For me it says both not found. After install a patch from GitHub site it detects recovery but still no /boot. Patch was originally for lenovo a760. For a2107a there is no patch available.
[Android General] makbro:
Hmm...In that case, you should use Gscript Lite...The advantage is you won't face any such problem and would have both the CWM Flashable and SP Flash Tool flashable back-ups !!!
[Android General] thunder141:
But I thought Gscript Backup isn't restoreable by Clockwork mod recovery?
[Android General] makbro:
It is...Under the Gscript Lite back-up, there is a folder by the name "BDRS-------" where the ------s are for the date and time back-up was created...This can be flashed from CWM using option "Restore" :)
[Android General] alepavia:
Radio has stopped...

Removed radio from startup, installed the fmradio.apk (allow unknown files) from chinese rom and now you can listen without earphones!

thanks a lot
[Android General] thunder141:
@makbro

Isn't that than a possibility to restore stock rom, if one made a backup just after rooting?
[Android General] makbro:
Sure, but the problem in my case is the change in mount point...My stock (after update) had /system at "mmcblk0p7", while all the modded ROMs and the original stock (before update) have /system at "mmcblk0p6"...I made back-up after update :( and now even if I flash my stock back-up at correct mount point, the baseband is not recognized...In case of the European Stock ROM, the WLAN stops working :(

So I can get back to stock only thru SP Flash Tool, not such a big issue since I can :)
[Android General] makbro:
Silly me...I have figured out what was wrong when I was flashing stock ROMs cooked in Android Kitchen and was unable to get either baseband or wlan working...There was nothing wrong with the ROMs themselves...It turns out, you just need to overwrite the folder \data\nvram from your stock to get things working :)
[Android General] -Nacho:
Hello,

first of all thanks for all the great work!

I bought 8 a2107a-h for our school and configured one of them in order to use a backup to set up the rest of devices. It turns out when I used the recovery in another tablet it performed sluggish - it lost around 500 points in quadrant benchmark. Then I wiped and installed the fresh custom rom and the problem was gone. I also had to repair the IMEIs since they broke through the flashing of the recovery.

Is it a way of flashing the backup of one tablet with another one without problems?

Thank you for your help!
[Android General] makbro:
Sure, you can flash the back-up of one device to another...Just remember to back-up the folder "/data/nvram" before flashing back-up and then overwrite this after flashing back-up from the other device...This folder holds all the device info like IMEIs, WiFI MAC Add, S.Nos etc, so you won't even have to repair IMEIs if you only do this :)

---------- Post added at 06:45 PM ---------- Previous post was at 05:52 PM ----------

I have decided to clean-up all my previous uploads and upload the final tested versions of all the ROMs I have cooked until now, these would include :-

1. Stock ROM for A2107A-H

2. Stock ROM for A2107A-F

3. Modded ROM based on Foxtrot v100 (All Foxtrot enhancements + Supercharged + FM Radio without headset)

4. Modded Chinese ROM with following important enhancements :-

(i) Dynamic memory management

(ii) Extra system process indication labels

(iii) System performance optimizations

(iv) Media max

(v) 3G turbo

(vi) Touch fix

(vii) Sony Bravia display engine

(viii) Sony Xloud sound engine

(ix) FM Radio without headset

(x) gapps support

(xi) It does not have tts engine !!!

I will add links as soon as ROMs have finished uploading :)
[Android General] D1358531:
How can I change the resolution in an .apk?
[Android General] makbro:
Use Android SDK, edit the associated image file resolutions to 1024 x 600 or less (Just open them in any image editor and use "save as" to decrease the resolution) and then recompile .apk :)
[Android General] thunder141:
Is that also in the first backup of stock rom made by gscript after rooting?
[Android General] makbro:
ROMs uploaded on Dev-Host server :) ... No bugs except USB OTG and extra Language support, sorry about that :(

Please remember to back-up your "/data/nvram" folder from your stock before flashing and replace after flashing these so that you all don't use wrong IMEIs, MAC addresses, Serial number etc. Also do all three wipes before flashing (data, cache and dalvik cache)...And yes, be patient cause the first boot after flashing may take up to 3 minutes...

All files posted here are to be flashed using CWM recovery with "Install zip from sdcard" option !!!

A2107A-F Stock ROM : http://d-h.st/Q4t

A2107A-H European Stock ROM : http://d-h.st/JhV

A2107A-H modded Chinese ROM : http://d-h.st/oAs

A2107A-H modded Foxtrot ROM : http://d-h.st/TSQ

A2107A-H modded Tesmart ROM : http://d-h.st/dFL

A2107A-H modded LeWa ROM : http://d-h.st/QbM

NOTES :

1. For complete power-off in LeWa modded ROM, you have to un-check "settings--->Accessibility--->Quick Boot"

2. May have to install the patch (link below) to set internal sdcard as default memory after flashing modded Foxtrot and LeWa ROMs

EXTRAS : (Credit Foxtrot_KZ)

Patch for setting external sdcard as default memory : http://d-h.st/SDL

Patch for setting internal scard as default memory : http://d-h.st/u5M

---------- Post added at 11:42 AM ---------- Previous post was at 11:40 AM ----------

[/COLOR]

Yes it is ... It is in the "BDRS....." folder under the "data.ext4.tar" ... Just extract it and you can copy the "/data/nvram" folder from it :)
[Android General] thunder141:
But If I have no problem with your modded rom I can skip this? Or do I have something wrong than in my device?

And, if I restore Stock rom, would I loose custom recovery?

And, howto make a flashable zip from a cwm backup? Can you explain?
[Android General] makbro:
Nothing is wrong with any of these, they are all different mods...Just as an example, Foxtrot turns the device into a phone, while Chinese ROM preserves it's device characteristic as Tablet...Each has it's own pros and cons but nothing wrong...I am working on a custom ROM in which I can include all the good features from all mods :)

Restoring stock via these will not remove CWM or any other custom recovery installed, just the "boot.img" and "/system" would be replaced...

You have to use "Android Kitchen" to build a .zip from CWM back-up...You have to learn the tool... The process is quite lengthy, you can visit the website : http://xdaforums.com/showthread.php?t=633246 :)
[Android General] mmis:
OTG

Hello everybody, did anyone try OTG connection, I did with a keyboard and memory device without any response is it not supported or my cable is damaged.
[Android General] thunder141:
For the first question I meant the nvram thing. Do I have to replace the nvram when I install your rom mod?

For the DSIXDA Kitchen: I tried this already. But the produced zip does not boot. Perhaps I made something wrong concerning updater-script conversion?

And another question: Your last uploaded mod from foxtrot has different flesize compared to v2 or v3. Which version is it? ;)
[Android General] makbro:
Regarding nvram, just check to see your IMEI numbers,WiFi MAC address, Device Serial number and ID from settings, if they are correct, you don't need to do anything :)

In case of Android Kitchen, I hear you...but it is normal, the first few attempts are bound not to boot...When you understand the process and the ROM structure in detail, you will be able to cook working ROMs...I don't imply to say you don't, but just keep studying Android and practice :)

For modded Foxtrot, it's just a final version so to say, I have included the V6 Supercharger script from v2 and FM Radio without headsets from v3 :)

EDIT : For Android Kitchen, you need to build a definition file for this device as it is not supported...The default that kitchen attaches as "update.bin" is not correct and so "updater-script" is also incorrect !!!

The correct definition file under "/kitchen/tool/edify_defs" should be named "a2_3g_data" and should have the following entries :- (Just open the _template file in Notepad++ and save as)

########################################################################################################

# Lenovo IdeaTab A2107A-H

change_mnt=yes

param1=ext4

param2=EMMC

param1_sdcard=vfat

param2_sdcard=MTD

sys_mnt=\/dev\/block\/mmcblk0p6

cache_mnt=\/dev\/block\/mmcblk0p2

boot_mnt=\/dev\/block\/mmcblk0p0

data_mnt=\/dev\/block\/mmcblk0p3

sdcard_mnt=\/dev\/block\/mmcblk0p4

fix_boot=yes

#######################################################################################################
[Android General] thunder141:
Is the new definition file chosen automatically ?

EDIT: Forget it, I found it ;)
[Android General] D1358531:
Thanks, I'll give it a try :)
[Android General] -Nacho:
Sorry to ask again, but what about the serial number and MAC address - is any way to recover them?

Thanks!
[Android General] makbro:
All device info like IMEIs, MAC address, Serial number and Device ID is restored when you replace the "/data/nvram" folder from stock (after flashing ROM from CWM), you don't need to do anything else, not even MTK Droid Tools !!!
[Android General] -Nacho:
Well I don't have a backup of the folder for one of the tablets ( I didn't know) :crying: I guess then it's blown by the wind... I hope we'll never need warranty for that one. :fingers-crossed:
[Android General] degsie:
Development for A2107A-F variant

Seems that this forum is concentrating on A2107A-H model. I have two A-F tablets and the performance is disappointing particularly with video streaming, Youtube HD in particular :rolleyes: I am holding out hope that a custom rom will eventually emerge and I can get away from the horrible stock rom. I wonder if the mods could re-title this thread to Lenovo IdeaTab A2107A-H and I could start a new thread for the A-F variant as the h/w is quite a bit different.
[Android General] makbro:
Then again if it was the first tablet (that you made the back-up from and are flashing to others now), you don't need a back-up of it, it's original already :)

Also, if the device is rooted and with custom recovery (like CWM), you can't claim warranty anyway...You have to remove all traces of rooting and restore original "recovery.img" to be able to claim warranty !!!
[Android General] gasston:
Hi

@ makbro: Thanks for your ROM's :) but links seems dead :( "This account's public links are generating too much traffic and have been temporarily disabled! "

You have too much success ;)

Maybe it's time to creat a new tread for your cooked rom's ?

in fact, I was looking for the fmradio.apk without headset but couldnt find it in your A2107A-H_S222_121121_MAK_v3

Gaston
[Android General] makbro:
You are right...Although regarding the problems that you mentioned, I remember garringm (also holds a -F model) commenting that using "V6 Supercharger Script" boosts the performance of the device by miles...You can try that :)

For rooting and cwm,, you may follow steps 1 to 4 of the procedure by csns posted here (It works for the -F also) :-

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

---------- Post added at 11:20 PM ---------- Previous post was at 11:17 PM ----------

I have updated links in my post here : http://xdaforums.com/showpost.php?p=37029947&postcount=670

There's no v3 anymore, only one ROM A2107A-H_S222_121121_MAK which includes FM Radio with headsets (the name of the app is "RadioPad.300505.c105.20120517.leMTK.signed.apk" and the label reads "Any Radio" once installed) :)
[Android General] gasston:
Strange, I still have the same error: "Error (509)

This account's public links are generating too much traffic and have been temporarily disabled! " .... (with Firefox and Safari)
[Android General] makbro:
Sorry in that case, I guess many people are trying to download these ROMs...Account would be enabled again in some time I hope :)
[Android General] gasston:
Maybe could you show me the way for the fmradio without headset (i'm root and cwm ready, already tried your makV3 ;) but the app force closed and i dont have the chiness version ...)
[Android General] makbro:
You just have to mount "/system" as "R/W", delete the existing "FMRadio.apk" (and .odex if it's there), copy the app I mentioned in "/system/app", set permissions as the rest of the files and click to install...Use "Root Explorer" preferably for all these actions...The apk is attached with this post :)
[Android General] D1358531:
I installed the Java_EE_SDK, and was trying to install Eclipse, but received the attached message. :/
[Android General] makbro:
Just install latest JRE and then "adt-bundle-windows-x86"...Use "SDK Manager" to install support for all Android OS versions you want, the one for our device in 4.0.3, Eclipse is built-in inside this budle :)
[Android General] D1358531:
OK, thanks! Installing packages right now :)

---------- Post added at 05:27 PM ---------- Previous post was at 05:10 PM ----------

OK, I used the SDK Manager, now is there another SDK program to open the .apk?
[Android General] D1358531:
I opened the apk with WinRAR, changed the picture sizes, then had it signed so it would install. When I chose the wallpaper, I got the same results...white screen. Is there something else in the apk I need to change?
[Android General] makbro:
Use Eclipse to import the apk (you can find Eclipse.exe in the folder of adt-bundle installed)...You can edit the .apk in eclipse and then recompile...Usually an apk doesn't need changes if it's for the correct OS and Device...
[Android General] thunder141:
Many users of foxtrot original complain about freeze, if a call gets to the tablet, when in landscape mode.

do you have this issue, too, in your modded rom?
[Android General] makbro:
Thanx for posting this issue, I have never experienced this issue because of the fact that I haven't received a call yet in landscape mode...Will try it out and let you know...

BTW I am running the Chinese modded ROM these days so I'll first check on it, later will do the same for Foxtrot modded :)
[Android General] thunder141:
@makbro

Conncerning onandroid again: I need to now the partition layout of our tablet with sizes in the format of onandroid to make it get to work. Sample layout is:

dev: size erasesize name

mmcblk0p0: 001800 000000 "boot"

mmcblk0p1: 000001 000000 "recovery"

mmcblk0p2: 080000 000000 "cache"

mmcblk0p3: 0ffc00 000000 "userdata"

mmcblk0p4: c45470 000000 "emmc"

mmcblk0p5: 001400 000000 "unknown"

mmcblk0p6: 0bfc00 000000 "system"

Do you know the right layout for a2107a-h or a way to show it, cause cat /proc/partitions in terminal emulator shows a different view of sizes and mount points
[Android General] makbro:
The "firmware.info" file in the Gscript back-up has it all, it's fields are labelled :-

Part_Name Size	StartAddr	Type	MapTo

That file has the actual layout (you can also use this file to generate scatter file in MTK ROM Studio) ;)
[Android General] thunder141:
There I have:

preloader 0x0000000000040000 0x0000000000000000 2 /dev/misc-sd

dsp_bl 0x00000000005c0000 0x0000000000040000 2 /dev/misc-sd

mbr 0x0000000000004000 0x0000000000000000 2 /dev/block/mmcblk0

ebr1 0x000000000005c000 0x0000000000004000 2 /dev/block/mmcblk0p1

pmt 0x0000000000400000 0x0000000000060000 2 /dev/block/mmcblk0

nvram 0x0000000000300000 0x0000000000460000 2 /dev/block/mmcblk0

seccfg 0x0000000000020000 0x0000000000760000 2 /dev/block/mmcblk0

uboot 0x0000000000060000 0x0000000000780000 2 /dev/block/mmcblk0

bootimg 0x0000000000600000 0x00000000007e0000 2 /dev/block/mmcblk0

recovery 0x0000000000600000 0x0000000000de0000 2 /dev/block/mmcblk0

sec_ro 0x0000000000600000 0x00000000013e0000 2 /dev/block/mmcblk0p5

misc 0x0000000000060000 0x00000000019e0000 2 /dev/block/mmcblk0

logo 0x0000000000300000 0x0000000001a40000 2 /dev/block/mmcblk0

expdb 0x00000000000a0000 0x0000000001d40000 2 /dev/block/mmcblk0

ebr2 0x0000000000004000 0x0000000001de0000 2 /dev/block/mmcblk0

android 0x0000000030000000 0x0000000001de4000 2 /dev/block/mmcblk0p6

cache 0x0000000020100000 0x0000000031de4000 2 /dev/block/mmcblk0p2

usrdata 0x0000000040000000 0x0000000051ee4000 2 /dev/block/mmcblk0p3

fat 0x00000003110fc000 0x0000000091ee4000 2 /dev/block/mmcblk0p4

bmtpool 0x0000000000a00000 0xffffffffff9f0050 2 /dev/block/mmcblk0

Are the sizes correct (cause cat /proc/partitions shows f.e. a decimal size for system which is 0bfc00 in hex )and what partitions are to be used in the layout file for a cwm backup with online nadroid?

This is what cat /proc/partitions shows for the p0x Partitions:

179 0 15257600 mmcblk0

179 1 1 mmcblk0p1

179 2 524288 mmcblk0p2

179 3 1047552 mmcblk0p3

179 4 12866672 mmcblk0p4

179 5 5120 mmcblk0p5

179 6 785408 mmcblk0p6

179 16 2048 mmcblk0boot1

179 8 2048 mmcblk0boot0

179 24 31166976 mmcblk1

179 25 26981136 mmcblk1p1

179 26 4184932 mmcblk1p2
[Android General] makbro:
Regarding the correct layout, it's definitely the "firmware.info", it shows the actual size on disk and start address for the next partition as well...For correlation, you should use "cat /proc/emmc" command to verify the mount points...Again, the exact sizes on disk are shown by "firmware.info" file...the "cat /proc/partitions" shows the complete partition size, not the size of data on it !!!

Regarding your question about the online Nandroid back-up, I don't understand what you are asking, sorry...You don't need any layout format to create an "onandroid" back-up, just install it, open terminal, gain su and give the command "onandroid -s" followed by "/mnt/sdcard2" to save the back-up on the external SD...The back-up would be saved automatically in "/mnt/sdcard2/clockworkmod/backup" folder...

I would mention again that the Gscript back-up is more detailed than onandroid, since it also backs-up "boot.img" and "recovery.img" whereas onandroid doesn't record these images till the bootloader is unlocked (that's what happened in my first attempt so I used Gscript later) !!!
[Android General] thunder141:
OK I agree. But is there a possibility to backup sd-ext and .android_secure also as CWM does with changing GScript Backup script?
[Android General] makbro:
Have to look into that :) Theoretically, it is possible ;)
[Android General] thunder141:
cause that would avoid to have to reboot to recovery to make a backup. Now the Gscript backup is not complete compared to cwm ;)

by the way: This is the reason I asked for partition layout
[Android General] D1358531:
I opened Eclipse and went to open the apk, but it just opened WinRAR...I'm starting to think that I am not meant to do this haha
[Android General] AgustinArwin:
Can somebody answer my question... Please...

Do somebody know if Lenovo still support OTA update for Ideatab A2107A - H?

What is the risk for rooting my device?

If I root my device can I still un-root it? or restore it to factory settings?

Thanks in advance. I tried to contact Lenovo support but no luck.
[Android General] makbro:
Had absolutely no idea about that partition layout file for onandroid, thanx for the info :)

About the back-ups, you are right...But you could say the same about the CWM back-up compared to Gscript as well, cause CWM back-ups don't have all the .img files that you need to use in case of Flash Tool, so it can also be called incomplete...That's why it's best to have all kinds of back-ups ;)

---------- Post added at 06:47 PM ---------- Previous post was at 06:45 PM ----------

Yes, Lenovo still supports OTA updates

If you root your device, you cannot claim warranty...But a rooted device can be unrooted and if you have proper back-ups, you can restore factory settings as well !!!

Lenovo would NEVER advise you to root the device or install custom firmware OFFICIALLY :)
[Android General] drew2fast:
No backup recovery supported

I rooted it and installed CWM, but it's won't let me do a backup of the ROM. Says there isn't a supported recovery yet. How did you do a backup? Did you ever create a clean rom?
[Android General] lildrfox:
how to install

first thing thanks man for the wonderful job im downloading it right now :) , but im kinda new to these things can and body show me a detailed step by step how to install the stock rom for the a2017-h .. i already have a modded rom (pemergency) and it caused problems to the tablet.