yashsingh1/xdaforums huggingface dataset:
[Android General] makbro:
Exploring the Kernel

You are absolutely right garringm...I am also following on this lead and have actually stripped the "boot.img-ramdisk", zImage and subsequently unpacked the zImage as well, in other words, stripped the kernels for all the ROMs including the stock one...Now I am in the process of trying to dig out the buried facts...

Here's what I have determined until now...The Foxtrot v100 ROM is a port from Lenovo A750 mobile ROM (i.e the kernel)...The Chinese ROM is custom built using basic kernel for MTK6575 phone...The Tesmart Mod v1.4 is based on the Chinese ROM with language and few other modifications...So basically, all these custom ROMs are ported from phones to this tablet...

I am trying to segregate where the definition/initialization of modules is done in the kernels...As of now, I think it is the "init.rc" under boot.img-ramdisk, but I am not a 100% sure that is the only place, there may be some elements of kernel.img that need to differ as well...

If you have some info, kindly share as well, I am sort'a new in this field

Thanx in advance
[Android General] garringm:
So far you have done everything I was going to look into.

I first wanted to explore the possibility of repartioning the spaces needed. I think this will be the biggest set back of atleast my device when it comes to crearing any custom roms or kernels. Next need to figure out how exactly to build a cwm flashable rom. Which is what I plan to do with the above link. I do think though that you will find a lot of info in the init file. Its almost like they are taking a step backwards when dealing with mkt devices. This is stuff I had forgotten about when we first ported android to my tilt.

I need to brush up on how to strip down the boot and system .img's. Plan to do a lot of digging into this weekend I started out just looking for a 6575 device that someone had made a custom kernel for or even had a github and came across that. Because essentially one should be able to use it from one device to the next since everything is based off of this chip
[Android General] makbro:
1. First connect your device to PC (Windows 7 or XP, doesn't matter) and delete all the drivers for the device shown in Device Manager...

2. Then keep the reset button of the device pressed while plugging in the USB cable to PC, a new device will be detected : “Lenovo preloader”, choose to install the driver manually and point to the "USB VCOM" drivers folder and choose the driver...

3. Remove the cable again...Now keep the vol+ button pressed this time while plugging in the USB cable, choose to install the driver manually and point to the "USB VCOM" drivers folder and choose the driver again...

4. Now you can follow JUST the Update 3 procedure in this thread :-

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

It's very simple and straightforward !!!

I hope this is helpful !!!
[Android General] csns:
I have to say that I must be out of luck :)

First of all I wasn't aware that the bootloader in this tablet is locked... and to be honest I don't even know what it means in this particular case. Not to mention that I haven't found a way to unlock it if needed.

I would be obliged if someone could "fill me in" on this topic.

Second of all my backup seems to be quite useless - so far I tried a gazilion of combinations with the rom dump files I made and some from Foxtrot and the Chinese ROM but the damn tablet gets stuck on the big Lenovo logo.

Here I'd like to ask you Makbro : can you please share your backup? Just don't upload data.img, cache.img and nvram.img as they contain your private information (unless you don't mind :) )

Many thanks!
[Android General] makbro:
You can unlock bootloader using this method :- (I used the same, it works for this device too)

http://forums.lenovo.com/t5/IdeaPad...ge/Unlocking-the-A2109-Bootloader/ta-p/857215

Pl PM me your email add, I'll send you my back-up in an archive (I don't want it to be public, however, since you in so much trouble I can share it with you, pl don't forward it further...And remember, my device is A2107A-H, 4GB storage)
[Android General] johnmilthon:
can you share your files buck up with me please :( , i want my tablet back with the stock rom please

---------- Post added at 04:42 PM ---------- Previous post was at 04:34 PM ----------

how do you get in "Starting Fastboot USB download protocol" because i Power down the tablet, power back on and immediately tap the Volume Down button. and desn't appear anything, how you did it ? or do you know where can i have this "1) If you have adb working, you can type 'adb reboot bootloader'" please
[Android General] makbro:
Either install ADB OR use MTK Droid tools and open a ADB terminal from the button on the lower right frame of the tool...
[Android General] johnmilthon:
i did it but i don't get the Starting Fastboot USB download protocol screen

---------- Post added at 05:20 PM ---------- Previous post was at 05:13 PM ----------

do i have to do something more to have the fastboot usb, i have to install another thing like in the cwm the recovery img?
[Android General] csns:
I have the same situation - the tablet just reboots the system.
[Android General] makbro:
As per my knowledge, no...You just need a working ADB terminal !!!

Is your device in working condition ???

If yes, follow this tutorial to get ADB and Fastboot running on your PC :-

http://dottech.org/21534/how-to-ins...ows-computer-for-use-with-your-android-phone/

---------- Post added at 12:25 AM ---------- Previous post was at 12:22 AM ----------

You can also follow this tutorial to get ADB and Fastboot running on your PC :-

http://dottech.org/21534/how-to-inst...android-phone/
[Android General] csns:
I believe my ADB is working fine, commands are sent to the device and I can force it to reboot from the command prompt... but not in fastboot. Like I wrote - the tablet just reboots the system.
[Android General] makbro:
With the Vol - button pressed...that's weird !!! Sorry can't help you with that guys !!!

On another note, are you using LeTools, the Lenovo version of fastboot.exe...cause the one from ADB alone doesn't start this mode...If not, pl read the lines below serial number 9) of the tutorial I posted i.e. :-

http://forums.lenovo.com/t5/IdeaPad...ge/Unlocking-the-A2109-Bootloader/ta-p/857215

Pl don't be offended, I'm just trying to help, if you have taken these steps carefully already, I have no more ideas at present !!!
[Android General] johnmilthon:
no fasboot screen, yeah is in working condition with china version or what do you mean with woriking condition :S??
[Android General] makbro:
I meant exactly that...just wanted to know if it's booting or not...some guys have got their devices stuck in boot loop, so I wanted to clarify...Pl read the updated part of my post above to verify one last thing !!!
[Android General] csns:
In order to get to point 9 we need to boot the device into bootloader - we cannot :)

Perhaps the problem lays in the custom ROM?
[Android General] kunleski:
Finally got the cwm installed and rooted,

Thanks to all, now, what rom should i install to get the call function and all the two sim cards working,

Thank you all,
[Android General] makbro:
Oops...yeah u r right...Well my device is now back to stock with unlocked bootloader so I can't really verify whether the problem is with custom ROM or not...May be when I complete my own custom stock ROM with dialing enabled (which I am working on now), I can verify this...
[Android General] kunleski:
I tried Lenovo A2107a-h A2107_S406_121213 pemergency Final, but the cwm is not seing it!
[Android General] makbro:
Pl press the thanks button of all those who may have helped you in any way !!!
[Android General] johnmilthon:
i have done all things that the post says, but nothing happens, it reboot normaly when i put reboot botloader on the adb program
[Android General] makbro:
Did you place the folder within "/clockworkmod/backup" of your external SD Card ???

Foxtrot v100 is also a good option !!!

---------- Post added at 01:15 AM ---------- Previous post was at 01:12 AM ----------

If it reboots even after you tap the Vol down button immediately on restart, then I am out of ideas...An interesting problem for the experts here !!! (Obviously I am not one :) )
[Android General] johnmilthon:
information

lets interchange some information, so this will help us, and others who want to recover or flash original rom

i bought my tablet in Movistar Peru

it is Lenovo A2107A-H 16G wifi

after changing rom, it was 4.0.4 version ICS

---------- Post added at 06:39 PM ---------- Previous post was at 06:26 PM ----------

i'm seriusly thinking about erasing every things i have done, then take it to the technical service :/
[Android General] Core2uu:
WiFi Issues, anyone else?

I just got this guy yesterday and it's working as fine as I'd expect a $130 tablet to. HOWEVER, if I'm more than 3 feet away from my router, it drops the WiFi connection periodically. It's ridiculous. If I go into another room, it will connect for about 20 seconds, then disconnect, then reconnect, and start all over again.

This is kind of useless as a tablet if it can't keep a WiFi connection on a range of over 3 feet. Anyone else having a similar problem?
[Android General] lambofgod13:
Anyone figure out how to fix the crappy audio when headphones are connected?
[Android General] johnmilthon:
hey i found, it is not the preloader and dps, you can use from other rom, what is not working on the sp tool, is the system.img file, all works, but it stoped on the lenovo screen, i realized it, when i put the recovery file with CWM, and i got an error trying to restore system file, boot.img restore perfectly

---------- Post added at 11:54 PM ---------- Previous post was at 11:50 PM ----------

i have a big idea, i will make a buck up stcok rom of my father's tab, with the mktdroid and use de preloader and dps from other rom, i think that should works, because is only the system.img that is not restoring, anyway, first of all i will take it to the care center tomorrow hahahaha xD, i hope they solve my problem
[Android General] garringm:
I was asked to put up my full stock from backup. This is for the -f variant and will be missing a few files since I didn't realize these had locked bootloaders and my children took them for the weekend. It will also be missing the nvram and data portion everything else i will post as is. Once they are uploaded i will update this post with the links.

UPDATE

As requested here is the link. The NVRAM and preloader and dsp are missing. Google drive would not let me upload the .zip

https://docs.google.com/folder/d/0B5boQXDyoVrfWHE3dGo4UkE5UEk/edit
[Android General] lambofgod13:
In order for that to work you have to have the apps2sd script in the system folders it had to be part of the rom. An app won't work just because you partitioned your sd storage.
[Android General] Diegol27:
Thanks for your answer, there are roms with the app preinstalled that allows you to move your apps to your sd card; but in my case I downloaded link2sd and create a partition as the application says and link2sd moved my apps to my sd succesfully the problem came up when I rebooted my device then my ext2 partition dessapeared.

Excuse me if I insist looking for an app; but I think that is a problem of the application I mean maybe apps2sd will work better or another one

In your case what rom are you using?

Is it possible to install the scripts you mention without installing a new rom?

Thanks a lot!
[Android General] makbro:
Install any dialer APK (You don't have to if you already have calling enabled) ... enter this code using dialer * # * # 3646633 # * # *

You will enter Engineering Mode...Select "Audio" then "Headset Mode" then select "Media" as Type and set the value "Max Vol" as "160"

You can select the audio levels of all modes from here !!! Choose the levels as you feel suit you !!! Enjoy !!!

---------- Post added at 03:05 PM ---------- Previous post was at 02:55 PM ----------

Not at all, I stay connected 3 rooms away (about 10 meters +) without any problems...Try to replace your "wpa_supplicant", "wpa_supplicant.conf" files in \system\bin and \system\etc\wifi with stock files or any of the custom ROMs and reboot...This should fix this issue if it is software related !!!
[Android General] lambofgod13:
I tried it, it said telephone features not enabled on this device. In not rooted could that be the reason I can't do it?

I just really want tho get rid of this crappy SRS enhanced sound ugh.
[Android General] makbro:
You mean the dialer apk doesn't install ???
[Android General] lambofgod13:
I got into engineer mode but it wouldn't let me change volume.

I tried to attach a screenshot but I don't have permission to post photos in this forum.
[Android General] makbro:
Did you select "Audio" -----> "Headset Mode" -----> in "Type" select "Media" and then set "Max Vol" to 160 ???

If correct and still not possible, then I guess you need to be rooted to change this !!!
[Android General] lambofgod13:
It'll let me change every thing except volume its set at 130. All I really want to do is get rid of the SRS sound is there a way to get it to mono sound? I only ask this cause I'm deaf in my left ear and all this fancy sound coming out of different speaker does me no good. I wish these dummies would think of this option when they make the software ugh
[Android General] garringm:
It will not on a sim enabled device, HOWEVER I think I have found something that could be causing the problem, In /system/etc there is a file called disableapplist with several entries including contacts, engineering mode, and dialer, I tried removing those entries and restarting, but I think it will have to be done on a new install though. All the apps are included in the build they are just being disabled
[Android General] jhonnysg:
lenovo a2107a-F enable radio fm??

Good someone could help me start the FM radio in a2107a-F (wifi only). as I was finding out and has the same combo chip mt6620 the 3G version
[Android General] berriosb:
Hola johnmilton yo tambien soy de peru y tengo el mism problema de no poder conectarme en 3g pero antes de cambiar de rom hice un backup del original rom. Se puede restaurar este. Si tienes un fono haber si conversamos mi rpm es *379972
[Android General] johnmilthon:
con que hiciste el backup de tu talbet?, has intentado algo? y no funciono hacer el back up?, cuentame todo lo que hiciste, porque tengo unas cuantas ideas para restaurarlo que aun no he probado, como te llamas?
[Android General] johnmilthon:
i can't use mktdriver, i think i'm doing something wrong, please makbro can you help me?, i remenber in chinesse rom, mktdroid has a color green, here with the table of my father has a blue color
[Android General] johnmilthon:
it takes more than 1 hour to make a backup :S

---------- Post added at 05:18 AM ---------- Previous post was at 05:01 AM ----------

i think i'm doing it, i did'y get error from dps and the other file, i'm flashing now, lets see

---------- Post added at 05:46 AM ---------- Previous post was at 05:18 AM ----------

HEy please help me, i don't know what i'm doing wrong, i flasheed with a stock rom, created from mtk driod, and when it's tourning on, i get a black screen, that says select your country, and lost of little red squares, when i put the scater file, i don't any error, so i don't know what could it bei will take a photo of that screen to post here
[Android General] berriosb:
Primero la rotee e hice backup con el cmd recovery y si hizo backup completo pero ahora q cambie el rom al de pemergency no puedo restaurarlo a traves del cmd porq no lo reconoce y no se si esto sea porq es otro rom.

Soy jonatan de cusco si tienes un fono te llamo para intentar reparar esto el mio es 984977609.

Saludos
[Android General] lambofgod13:
What happens if I change the other values on the audio since I can't change the volume to Max?
[Android General] makbro:
I see that you haven't selected "Media" in the second field from the top named "Type" in the thumbnail you posted...Once you select Media, you can set the Max Vol field I think...If not, you need to be rooted to adjust this !!!

---------- Post added at 06:16 PM ---------- Previous post was at 06:13 PM ----------

You are in "Factory mode"...that's where this black screen with country settings appears...I don't know the procedure to complete the factory mode initialization yet but will research and post a solution as soon as I get one...

In the mean time, any of the experts on the forum may comment and help pl !!!
[Android General] lambofgod13:
Ah, thx bro. What happens if I set the levels and value? Will I get a normal sound instead of the SRS audio?

I got it to set max volume you don't need root. Thx a ton bro I appreciate it.
[Android General] makbro:
You can't get rid of the SRS unless you are rooted and go to any of the Custom ROMs...However, keep adjusting the "Max Vol" and "Level" until you set the sound right for you !!!
[Android General] lambofgod13:
I'm afraid to root just yet, not snuff support if something goes wrong. And the root methed seems like a lot of a headache trying to get cwm and to back up the stock ROM. Maybe if a method that becomes easier I will but I've been reading and seems like most people are having a lot of issues trying to unlock and root. Thx for your help bro.
[Android General] makbro:
Nice ROM

Although Chinese again, but a nice and smooth ROM by LeWa OS !!!

http://4pda.ru/forum/index.php?showtopic=286687&view=findpost&p=17563300
[Android General] acanuckeh:
A2107A-F Rooted!

With regard to A2107A-F..

I was able to root, install CWM and do all these CoD tweaks, which have greatly increased the phones usability.

Have you exp. any issues with HD play back? I haven't been able to fix this at all. Its really laggy on this device.

Also do you have a safe list of things that we can freeze as well? There is a desktop app that you can freeze in Titanium which pretty much disables the home screen..i.e. don't freeze it. :laugh: Im trying to get rid of most of this bloat ware and clean it up.

I did notice a lot of cellular and phone apps... you think we can freeze these? My device was bought in Canada, not sure if that changes things if you're also not receiving the HD error.

Thanks for all the help though!
[Android General] garringm:
Its actually quite easy most peoples problems are the lack or inability to comprehend how to install the correct drivers. Its probably one of the easiest devices I have ever rooted my acer tab runs a very high risk of bricking every tine I flash or mess around with the system files

---------- Post added at 04:47 PM ---------- Previous post was at 04:20 PM ----------

I don't have the tibu pro version so I can't freeze apps, the best way of finding what and what can't be removed is trial and error, we all are at the forefront of development for this device. So anything you can do in the name of development is great.

I don't think my son has had any problems with HD video playback. You may try Mxplayer in the market as far as I'm concerned its the best.

I don't think that the phone and cellular apps are causing issue for us -f users. They are actually not installed into the /data portion they have been disabled at first boot. I am trying to find a way to install these so that I can use engineering mode. Maybe we need to start a new thread for this device with section for tips and tweaks such as these. That way they don't get buried in the many pages of this one. Androidforums.com actually has a desperate sub forum for this device but no one is over there
[Android General] manwithmanypiercings:
I installed the 4.2 Gallery. 4.2 Keyboard won't work. I tried everything I could to get it to work. 4.2 camera works but no photosphere. I'm still trying to figure out a way to get the contacts apk installed.
[Android General] lambofgod13:
You can use the jellybean keyboard in Google play store. I'm using it right now.

---------- Post added at 02:07 PM ---------- Previous post was at 02:04 PM ----------

Thx garringm I'll have to give it a try drivers aren't no big issue for me, you just keep trying different ones till one works.
[Android General] manwithmanypiercings:
Just install PDA net and it will install the drivers you need.
[Android General] garringm:
In system/etc there is a file named disaledapplist this is included in it. But I believe you would have to build a custom rom and remove these from this file to have them installed on a new install. I think they are installed on first boot
[Android General] garringm:
I found an init file on the root directory that has the FM radio parts of the mt6220 chip commented out. I am curious for those of you that have the FM radio do you have an app for it?
[Android General] makbro:
Yes we have an app...But FM Radio has to be initialized in the "init.rc" under "boot.img-ramdisk" also (the unpacked kernel folder, the "init" file that you mentioned is constructed during flashing of course)
[Android General] garringm:
Sounds like I need to learn how to do some kernel work then.
[Android General] makbro:
I am sure you'll be able to do it quite well, if you already don't :) Even a NOOB like me got a fair enough hold on this in a month !!!
[Android General] johnmilthon:
hey makbro, is my tab in factory mode? how do you know that, i'm afraid because i get that with the original stock rom, did it happened to you, when you restored to original?
[Android General] acanuckeh:
Have you tried out HD youtube videos? I am still having serious lag in that department in terms of playback. Also are you familiar with speedy script? Will it run with our device?
[Android General] mayank10yadav:
CWM

Hi,

Please tell me how to flash CWM to take stock ROM backup......i have rooted my tab.

And which one will be the stable ROM to use for this tab.

Please mention the links and process as well....thanks in advance.
[Android General] garringm:
I have never used speedy script just read about. Not sure if itll work but I will dig into it. Yeah my son is having problems with youtube hd videos. Not sure yet what can be done about that
[Android General] makbro:
It is in factory mode, I read it in another forum once...It didn't happen to me and I don't know the procedure to recover from there !!!

---------- Post added at 02:44 PM ---------- Previous post was at 02:39 PM ----------

Congratulations !!! Follow till step 2 of procedure in this thread to get full ROM dump and then UPDATE 3 method to get CWM (It is the easiest)...Credit csns !!!

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

As far as the ROMs are concerned, "pemergency final" and "Foxtrot" v 100 are both good, pemergency final is in this thread while Foxtrot v 100 is here:-

http://4pda.ru/forum/index.php?showtopic=286687&st=920#entry17447493
[Android General] mayank10yadav:
Many Thanks To all......finally i have installed "pemergency final"...and also have stock ROM backup by CWM and "gscript".
[Android General] lambofgod13:
Does rooting and flashing that ROM fix the WiFi and make the tablet quicker and smoother?
[Android General] csns:
Failed stock backup restore

So this is a follow up on the matter I was fighting with in recent days - that is restoring the original stock backup I made before flashing a custom ROM.

Unfortunately I I had some problems so I asked makbro to help me out - and he did.

Equipped with 2 sets of original backup (mine and makbro's) I tried flashing SP Flash Tool but I got some issues.

I could spend a lot of time writing what is going on but it's easier to show you.

Take a look at this video http://youtu.be/XPQMhFbfBRY and let me know if you know what might be causing those errors.

All help is appreciated!

Thanks.
[Android General] makbro:
When you use my back-up, doesn't it proceed past the first red colored progress bar, when I do the same, there are 5 different colored progress bars that appear one after another and the whole process takes about 12 minutes...

I ask cause I noticed you pressed Stop after the red colored progress bar completed 100%...of course you don't have my "data.img" but you can copy urs there and complete the Flashing...