yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] GreekDragon:
New build is up! :)

AFH Download

Github Download

Changelogs:

- Set CFQ as default IO Scheduler

- Fixed pstore compile

- Merged a few security fixes

- Sched updates

- LZ4 and LZO updates

- Updated exfat modules to latest dorimanx source

- Merged many kernel changes from CM

- TRIM fixed

- BFQ update to v7r8 and SIO updated to SIOPLUS

- Added Tripndroid scheduler

- Workqueue updates

- Changed toolchain to latest Linaro 4.9.4 and fixes to get newer toolchain working

- Compiler optimizations

- Increased internal kernel hz speed to 300 and related fixes

- Minor cleanup to removed io schedulers

- Removed SIO, added SIOPlus IO Scheduler

- Added lowmemreserve ratio tuning

- Removed TRIM CRON job for now

- Set entropy tuning on boot to fix any ROM/DEV set.

- Added TripNDroid scheduler

- Style fixes for the rest of the initramfs

- Updated descriptions - Fixes to spelling errors, reorganization of settings

- Updated profiles - Fix stability of performance profiles, improved battery life and performance

- Forced zzmoove to use selected hotplug method

- Fixed Stweaks always detects a value been changed

- Added HotPlug tab section

- Added Intelli HotPlug

- Added Alucard HotPlug

Some battery results(Wi-fi, calls,facebook,games,chat,music)
[Galaxy S II Android Development] xn0live:
its not very interesting i get with apolo kernel with wlan/3g games whatsapp, facebook co,

11 hours = 3-4 hours screen on
[Galaxy S II Android Development] GreekDragon:
Those are my stress test.
[Galaxy S II Android Development] xn0live:
can i play high games for example gta? if yes it cost a lot a lot of battery or you do it friendly
[Galaxy S II Android Development] chhapil:
Can't compare this to Apollo kernel, it's undervolted by default.

You can get similar results with undervolting on Dorimanx also
[Galaxy S II Android Development] GreekDragon:
Long time no see. Was busy working in other ROMS. Totally forgot the kernel. :P

This is probably the final build for Dorimanx kernel(at least for JB).

Lot of things changed. Upstream & security fixes. Fixed lot of things. Switched to gsstudio's repo.

Download Link: https://www.androidfilehost.com/?fid=313042859668276799
[Miscellaneous Android Development] pix106:
View attachment 5172309

Stock Lollipop 5.0 Debloated ROM

for Lenovo Tab2 A7-10F

(MT8127 only)​

Disclaimer

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, thermonuclear war,
* or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included in this
* roms before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
* Always backup your device before flashing any rom/recovery/whatever
*/

Introduction

Stock rom, rooted, debloated, with updated and added apps

Installation instructions

Install MTK USB Drivers (windows xp/vista/7 - Windows 8/8.1/10 - other windows 10) and flash using SP Flash Tool (howto)

Important notes :

Always prefer a clean install than an upgrade/dirty install.

If you have any problem when dirty installing/upgrading, do a clean install and see if problem persists

In SP Flash Tool, always use "Download Only" mode when not explicitly asked to do otherwise (

you could lose your IMEI/WIFI/BT

) or if you don't know what you are doing.

Please do NOT ask about any problem with USB drivers or SP Flash Tool here in this thread, this is not the right place for it as these problems are not related to THIS particular ROM but to YOUR computer setup. There are other threads and/or sites about such problems.

Suggested

Flash remove_lenovo_ota.zip to avoid future accidents : do not install official OTA update on a non official ROM

OTA update availability can be checked here or there, depending on Lenovo versioning (is v57 20160614 - from OTA file name - or 20160701 - from Android settings info ?)

Features

based on unofficial v57 package

rooted (SuperSU 2.76)

blocked stock recovery self-installation

debloated : /system/vendor/operator, AnyShare, AnySync, LenovoId, bootaudio.mp3, bootanimation.zip, shutanimation.zip, loading.zip

updated apps on /system

replaced AOSP Agenda with Google Agenda

added Google Street View

3 available scatter files in rom:

- stock recovery

- TWRP3

- TWRP2

Download

https://www.androidfilehost.com/?fid=10763459528675583590

Contributors

pix106
[Miscellaneous Android Development] albatard116:
Thanks a lot! ;)
[Miscellaneous Android Development] daser4berlin:
Thanks man... xD
[Miscellaneous Android Development] pillow64:
work fine , thank very much
[Miscellaneous Android Development] thE_29:
Is there a way to update TWRP and the ROM only and keep the apps and other stuff from installation?
[Miscellaneous Android Development] pillow64:
perhaps , if you have made before nandroid backup, by restoring only data or with this apps https://play.google.com/store/apps/details?id=com.h3r3t1c.bkrestore . can't confirm because never try
[Miscellaneous Android Development] pix106:
After a TWRP backup, you can try updating without flashing userdata partition and see what happens, but i would recommend a clean install anyway :

Some users reported apps crashing after updating.

If you are lucky, you may only have to update google play services. That's what happened for me, but some other issue i already had before applying this update only disappeared after a clean install.

Lenovo updates do not pop quite often, for me they are perfect time for a clean install :)
[Miscellaneous Android Development] gnick666:
Great!

Could you create a more detailed tutorial for installing this ROM and TWRP?

I'm not familiar with the SP Flash Tool, and I'd like to avoid bricking the tablet...

You kept mentioning in other threads that this is for the MT8127 variant? How can I find out what variant is my tablet?

Also the SP Flash Tool how to isn't very helpful because it implies that the tablet should be connected in a power off state, and of course, nothing works...
[Miscellaneous Android Development] pix106:
I have updated first post, but i won't make any detailed tuturial about how to set up your computer to install USB driver and/or flash any MTK roms on any MTK phone/tablet.

And here too in "Introduction", thread title... :)

Use any hardware info app, such as CPU-Z or Aida64

If you're not asian, you should have a MT8127.

Your tablet has to be turned off to flash it, this is how MTK flashing works :)

Except it does not warn about "Download Only" mode (it's default mode, if you don"t know what you're doing, don't change it... :)), i don't see anything wrong with this tutorial.

If anyone finds a better tutorial about SPFT, i'd be glad to add it to first post.
[Miscellaneous Android Development] gnick666:
As It turns out, I became a victim of my habits... I own multiple Android devices (mainly samsung and OnePlus) and usually when I download a ZIP file, it's intended to be flashed, and I didn't check the contents.

After unpacking, everything became clear... Thank you for your hard work! :D

My tablet has been operating almost perfectly since then. The WiFi has some signal strength problems (only 1 bar, while other devices show full strength), but it works.
[Miscellaneous Android Development] sayV:
Lenovo A7-20F

Is there a Lollipop ROM available for A7-20F. If not, can this be ported to it? The only difference between this and A7-20F is the camera. I do not need access to the camera anyway. Could you help me with porting this to the Lenovo tab2 A7-20F?
[Miscellaneous Android Development] mayank22:
Its just the stock debloated rom bro. Why would u want to port it??
[Miscellaneous Android Development] sayV:
Because there is no Stock Lollipop on A7-20F even though the hardware is identical except for the camera. Anything that lets me run Lollipop on the A7-20F will do.. Do you know any?

Everything is the same except for the back camera. http://www.gsmarena.com/compare.php3?idPhone1=6955&idPhone2=8185
[Miscellaneous Android Development] pix106:
You mean there was no ota LP update released for a7-20f ?

Before creating topics on XDA, I posted previous versions of my roms on a french forum. Although I didn't, and still don't encourage anyone to do so, some users from there flashed the previous version on a a7-20f and reported it to be working except the rear camera.

I don't have a a7-20f, I don't know if there are differences regarding nvram or any other difference but rear camera, but if these differences are software only maybe it could be possible to make a "a7-20f patch" for this rom.

I obviously can't try flashing it, I'm away with no computer and a limited internet access for about a month, so I can't try downloading any a7-20f stock rom or ota update to compare it with a7-10f rom.
[Miscellaneous Android Development] MaRtYy01:
I think it will work fine on a7-20f,just replace the camera libs.
[Miscellaneous Android Development] PGHammer:
Curiousity - A7-30F

I'm curious about the A7-30F (same CPU and every other detail) - is anybody familiar *enough* to show any hardware differences between the two? (From what I've seen on Lenovo's site, there aren't any - they even take the same OTA updates.)

Bloat is, in fact, a frustrating issue with the A7-30F - the mere 8GB of standard storage (same as the -10F) is a real pain in the rear.
[Miscellaneous Android Development] MaRtYy01:
A7-30F isnt the same.It has mt83something cpu with mali-400 gpu instead of 450,which makes it mt6582 for tablets,if you check 4pda you have some marshmallow roms but rollback to the kitkat firmware with 3.4.67 kernel to flash them.
[Miscellaneous Android Development] razibus:
Pix106 bro. Thanks you for this fabulous job

I have a problem: The software no longer able to write on the external SD card of 32 GB. I've done editing the file "platform.xml" (with Root Explorer) but the problem remains.

Assistance would be welcome.

thank you in advance
[Miscellaneous Android Development] pix106:
This is a general problem with Lollipop, apps can't write outside of their own folder on sdcard.

I searched aboiut it and found platform.xml changes : are you sure the file was really modified ?

I don't know much about it and haven't tried myself, as i don't "write" at all with this tablet but "read" most of the time :)

You will probably find more help on more general threads.
[Miscellaneous Android Development] MaRtYy01:
GL2SD fixes that,you can try the xinternalsd xposed module as well.
[Miscellaneous Android Development] thE_29:
Any chances you make a Magisk version of the ROM with systemless-xposed?

http://xdaforums.com/android/software/mod-magisk-v1-universal-systemless-t3432382
[Miscellaneous Android Development] PGHammer:
No; it isn't. It does have a Mali GPU (Mali-450 MP according to CPU-Z); however, the CPU is the same MT8127 (also according to CPU-Z) that the rest of the F subseries of Tab2s use. (You are thinking of the G/GV/H/HV phablet versions - those are indeed all MT65xx and have lots of ROM alternatives available for them (they also have SIM support); however, the F subseries uses the same case - but lacks the SIM support of their phablet brethren.) It is, in fact that it IS an MTK8127 that has kept it from getting the development love that the MT6582 has been getting.
[Miscellaneous Android Development] MaRtYy01:
Oh ._. why df they didnt just use the same chip in all tablets XD and the only difference is the mali450 gpu,the cpu is the same.Its still weird how crossported roms dont boot,guess I gotta try from mt6592 instead of mt6582.
[Miscellaneous Android Development] PGHammer:
Phablets v. Tablets v. Phones

Again, the MT6582/6592 is phablet-specific (to deal with call and SIM-related features in the G/GV/H/HV); the F subseries supports none of it. The GPU (Mali 400 series - in the case of the F, either 400MP or 450MP, depending on model) is, except for specific feature support, identical across the F subseries - and shows up in the G and H as well). Remember, the CPU (not the GPU) is what separates tablet from phablets/phones; in fact, I know of no phablet that uses the MT8127.) However, there ARE some non-Lenovo tablets that use the MT8127.

The big reason I asked about this particular ROM is due to the A7-10 having the "bloat" problem that is also a major complaint with the A7-30 - since they are identical in CPU and GPU (and both are suffering from lack of internal storage, why wouldn't the debloated ROM for one work in the other (since everything else - including their OTA updates - match up)?
[Miscellaneous Android Development] MaRtYy01:
It would work in that case,since everything is 1:1,except the back camera,idk if replacing libs can fix it.
[Miscellaneous Android Development] pix106:
Be aware that preloaders may be different, if you flash a wrong preloader your tablet will be bricked.

There may be other differences between those models partition tables.
[Miscellaneous Android Development] PGHammer:
Which is why I asked; I haven't done anything yet.

At least I did manage to solve one of my other long-standing issues - a proper third-party recovery. Jemmini has compiled TWRP 2.8.7.0 for our particular tablet; even better, it can be installed via Rashr - in other words, from within the tablet. However, Rashr can indicate that there is not enough space (thanks to the bloat problem on all F-subseries tablets) - telling Rashr to disregard the not enough free space indicator will let the flash work. Then you can go right into your new TWRP Recovery and do what you need to. (And yes - it works in Lollipop, which I have installed on my tablet.)
[Miscellaneous Android Development] pix106:
I didn't know this mod, thanks.

I dont know the advantages and disadvantages of using it, have to learn more before anything else, and/or be noticed about them here :)

What could be done with systemless that can not be done using a normal rooted rom ?

Android pay ?

Pokemon Go ? :)

OTA upgrades (if any) ?

If i understood the few chapters i've read, boot.img has to be modified. OTA upgrade install script could detect it.

You'll have to convince me :)
[Miscellaneous Android Development] pix106:
I faced this problem building TWRP for some other tablet, and had to remove some features to make it fit the partition.

Depending on A7-30 partition table, overriding size check in rashr could overwrite the partition that begins after the recovery partition.
[Miscellaneous Android Development] thE_29:
Yeah. It would be for PKM GO, Android Pay and all other stuff which detects root via SafetyNet. There is no XPosed module, which can bypass that checks (yet)..

But I did not know, that you have to modifiy the boot.img. All I read was, that you should have a clean/vanilla Android (so remove, SU and xposed) and then install it + phhs root.
[Miscellaneous Android Development] DenisDeneck:
Hi. On 4pda I posted a mod for flashing via twrp. XDA does not allow me to post this link. Hopefully in the future it will help porting.:eek:
[Miscellaneous Android Development] pix106:
Pokemon go was a joke in my post :)
[Miscellaneous Android Development] pix106:
What are you talking about ? porting what ?
[Miscellaneous Android Development] DenisDeneck:
CM

Flooding need 10 posts. :(
[Miscellaneous Android Development] MaRtYy01:
So that must be your mod http://4pda.ru/forum/index.php?showtopic=668336&st=740#entry53323616 right?Gotta check it out these days,although my russian isnt the best and idk what exacly is modded XD but since its just 400mb,seems very slimmed version of the stock rom(most times I zipped it it was over 700mb),should be better base for porting.
[Miscellaneous Android Development] DenisDeneck:
mod is based on T2-A7-10F_S057_160701_ROW

removed most of the applications. The main feature , the installation through twrp
[Miscellaneous Android Development] pix106:
Great there is someone else to chat with about stock rom modding :)

I'll take a look at your mod soon.

Did you try mine ?

I once tried to make a TWRP flashable version of my rom, but failed writting a fully working updater-script. Flashing went fine but rom did not boot. Permission/symlinks problems i suppose.

I just borrowed the updater-script of your mod, it installs my rom fine with TWRP :) How did you do your updater-script ?

So... i may post a TWRP flashable version of my debloated/updated rom :)

And maybe some other version i've been "working on" and testing for a few weeks/months now
[Miscellaneous Android Development] DenisDeneck:
Yes. updater-script is the hardest part of the job. If you want to use my script you'll notice that when you add new files will have to manually register and add permission.
[Miscellaneous Android Development] pix106:
Not all files are in the script, aren't they ?

If so, how did you choose which files to include in this script ?
[Miscellaneous Android Development] DenisDeneck:
if you want to add something then you better see how to do it on the example of different script updater.
[Miscellaneous Android Development] PGHammer:
Eashr's warning message

Rashr did give a warning message about just that; however, it installed just fine, and I'm using it now.

To be safe, run a cleaning app before running Rashr to make sure you have enough space.
[Miscellaneous Android Development] pix106:
This has nothing to do with the partition size rashrs warns about :)

And as it's for some other device that the one of this thread... end of OT ? :)
[Miscellaneous Android Development] pix106:
Thanks to DenisDeneck install-script, i have prepared a TWRP flashable version of this rom. The same, but TWRP flashable.

I may not publish it since, still thanks to DenisDeneck install-script, i have also prepared some other TWRP flashable rom : S057 Debloated + noGapps.

This is really minimalist, "options" like root, opengapps, xposed... can be flashed separately, so everyone can do more precisely what he wants just by flashing additionnal zips.

I have been working on this since a few months, and i've been using it since then with opengapp mini... it works just fine for me :)

From this minimal state, i started looking at aroma installer to add a few options to the rom.

I used a few different generators to begin with, and made an working aroma installer for some optional apps like fdroid, adaway, twrp manager, downloaders (xposed/gapps/chromium).

I would like to make an aroma installer that includes everything, rom, root..., but for now i have a few problems :

- in some tests, rom flashing went fine but rom did not boot

- in some other tests, aroma installers freezes when clicking the first "Next" (like opengapps aroma). It's a known problem, but it didn't happen preparing the aroma for optional apps.

- i don't know yet how to flash some other zip from the aroma installer, if possible (i would like it to be easy to update, for example with some other SuperSU version).

Or maybe flashing a few zips is enough, and we don't need aroma installers :)

Any thoughts folks ? :)
[Miscellaneous Android Development] DenisDeneck:
I wanted to collect firmware with a minimum of intrusive applications. Anyone who is able to install this rom will be able to easily install something that he will need.

http://4pda.ru/forum/index.php?s=&showtopic=668336&view=findpost&p=53323616
[Miscellaneous Android Development] pix106:
I also want to learn how to use aroma :) But you're right, and i thought so, it's not mandatory.

The difference between our works is there is no gapps in my rom to come ; it was the next step i wanted to cross for months :)

Thanks again for the installer-script that unlocked my work-in-progress !
[Miscellaneous Android Development] pix106:
I have these errors too.

This is "stock" behaviour :)
[Miscellaneous Android Development] aprilakshay:
Please post the twrp flashable version
[Miscellaneous Android Development] pix106:
it has to be installed on top of a LP rom, so if you're coming from KK you have to use SPFT anyway => there would be people with soft bricks because they did not install LP first.

That's why it will most probably stay private :)
[Miscellaneous Android Development] aprilakshay:
Thats true still........

Even i learnt it the hard way.After a bootloop :silly:.

Then flash it using spft and blah blah blah....

Is there a way u can send me through any source or something..........:rolleyes:
[Miscellaneous Android Development] pix106:
No way, it either fully public, either fully private :)
[Miscellaneous Android Development] aprilakshay:
Wait a sec .See the thread name

:o

Cmon you can do well.Read thread name again.:laugh:

This isnt CyanogenMod or orion thread .This is for stock rom.
[Miscellaneous Android Development] pix106:
please don't insist...

If you want a stock family rom, use stock family tool, which is SPFT.
[Miscellaneous Android Development] Dev_Mashru:
Does otg work properly in this rom? I'm getting this message and it doesn't seem to be detecting properly. I tried 2 pendrives and 1 hdd, out of which only the 1st pendrive is getting detected.

Edit: all 3 are detected in twrp.
[Miscellaneous Android Development] pix106:
As far as I remember, it did work.

This ROM is the same as stock ROM, it's just debloated, so behaviour is the same than stock.
[Miscellaneous Android Development] Dev_Mashru:
In stock also I'm getting the same error.
[Miscellaneous Android Development] stakyr:
Works like a charm!

...but the overall performance is dramatically decreased. Android 5.0 is a lot heavier than the 4.3 one.

PS: Be patient, when the tab loads for the first time after flashing. Loading screen stays there for ages.
[Miscellaneous Android Development] Gerilac:
I installed this rom with SPFT, everything went well, but now i cant turn on my tablet? Doesnt react when i plug charger or press Power On button.

Edit:fixed by disconnecting batery, holding down power button and then turned on normaly.
[Miscellaneous Android Development] Brendanus:
I successfully flashed a custom A7-10F rom to the A7-20F. Everything works fine except the rear camera. I don't know whether this can be fixed with an add-on? The rear camera is not a show-stopper on the A7-20F, so the upgrade is well worth it.
[Miscellaneous Android Development] Supersonic_X:
Optimizing apps in every reboot and magisk wont install completely

First of all thanks for the ROMs and developments made for the device :angel:

Issue in both the stock rom and debloated, after using cm & orion came back to stock cuz of no more maintains.

Issue 1:

Playstore wont update to latest build version when i click on build it shows message that it will update to latest version, after closing the playstore and trying to reopen it says "App isn't installed" message, waited for a while now playstore opens but, is still in the same stock build version 5.5.12.

I managed to install play store app from the (apkmirror site) first downloaded the same PLAYSTORE build version (5.5.12) &

Though Searched for solution gave me many advices like wiping cache, clearing cache of the app but no use.

Then I got a post saying this issue is there due to apk files converted to odex files then this issue will happen on odexed device if "Remove classes.odex option isn't ticked in odex tool then this happens" I was totally blank at this stage & didn't quite understand how to resolve this. Any suggestions to this even i tried installing Gapps from open gapps (arm 5.0 pico) :cyclops: THEN PROBLEM INCREASED FROM 1 TO OPTIMISING 96, so now I flashed back to stock.

Issue 2: Tried installing "magisk 17 zip in twrp" it stops with error ( unable to unpack boot.img) & Error 1:.... . And then I took stock boot.img and patched it with magisk manager and installed via sp tools and booted and got root access :D .

But magisk manager said magisk 17 installed but cant pass safety net or finish direct install method from the app. [ My bootloader is unlocked and SU binaries are not present in the rom ] :confused:

:cowboy:

Hope, answer's are there and appreciated. Please don't criticize cuz i love Android and android devices should live forever :cool::good: