yashsingh1/xdaforums huggingface dataset:
[Micromax Canvas Nitro A310/A311] jpower73:
By removing these lines from updater script U can install the rom on coolpad f1 or a310, using philz (cwm). No need to change recovery. Just tested it.

___

assert(getprop("ro.product.device") == "A311" || getprop("ro.build.product") == "A311" || getprop("ro.product.device") == "htt92_wet_jb9" || getprop("ro.build.product") == "htt92_wet_jb9" || abort("This package is for device: A311,htt92_wet_jb9; this device is " + getprop("ro.product.device") + "."););

ui_print("Target: Micromax/lineage_A311/A311:6.0.1/MOB31T/aace410e37:userdebug/test-keys");

ifelse(is_mounted("/system"), unmount("/system"));

package_extract_dir("install", "/tmp/install");

set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);

set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);

mount("ext4", "EMMC", "/dev/block/mmcblk0p8", "/system", "");

run_program("/tmp/install/bin/backuptool.sh", "backup");

unmount("/system");

if is_mounted("/data") then

package_extract_file("META-INF/org/lineageos/releasekey", "/tmp/releasekey");

run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");

else

mount("ext4", "EMMC", "/dev/block/mmcblk0p10", "/data", "");

package_extract_file("META-INF/org/lineageos/releasekey", "/tmp/releasekey");

run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");

unmount("/data");

endif;

___

Also i flashed supersu.zip.

Good work thp@1997.

Thank you :)
[Micromax Canvas Nitro A310/A311] thp@1997:
It'll also work if you only remove line starting from assert. :)
[Micromax Canvas Nitro A310/A311] MrStark007:
Hey Dev I have rooted my A311 but cannot find the TWRP recovery file from anywhere as they do not Officially support us. Can you please give me a link to latest TWRP for A311 and the instructions to install it ? I am very desperate to try out your contribution. Thanks in advance.
[Micromax Canvas Nitro A310/A311] thp@1997:
You can grab TWRP from here. You can use Flashify or Rashr Flash Tool to flash recovery after rooting.

http://www.mtk-dev.com/2017/05/601stable-lineageos-130r79-mt6592.html
[Micromax Canvas Nitro A310/A311] MrStark007:
Thanks. It worked perfectly.Problem was with the wrong TWRP file I downloaded. Now I am #Resurrected
[Micromax Canvas Nitro A310/A311] Suresh466:
Can i install gapps manually

Hey can i install gapps manually by downloading or sharing from other devices offline and not flash gapps via recovery. Would it cause any issues. I could save a ton of mobile data that way.
[Micromax Canvas Nitro A310/A311] thp@1997:
There's no other way to install gapps. You have to flash it via Recovery. There's smallest option available for gapps and that is only 80 Mb ( is that really big ). :laugh:
[Micromax Canvas Nitro A310/A311] idneaspats:
Hey guys I have finally flashed the ROM successfully but now I have another issue. Volume up button is not functional (can't increase volume) but it works in recovery mode. Volume down is OK. Any suggestions?
[Micromax Canvas Nitro A310/A311] thp@1997:
Are you using A310?
[Micromax Canvas Nitro A310/A311] Suresh466:
hmm got it thanks for reply. if you could help me with twrp recovery

I flashed twrp recovery you provided in your blog via rashr while flashing recovery there poped a warning "selected recovery image is too big for your device (partition 0 mb). If you are sure this age is correct you can skip size check from setting"

And I selected Skip size check and it flashed successfully now the problem is I can access recovery via quick boot and advanced reboot option bit can access recover with key combinations I tried all possible key combinations but can't access recover that way. What might be the problem?

And I already flashed this ROM loving it smooth and everything is good so far. Unnoticed that music app is showing unfortunately stopped not a big problem through can be worked around easily. Thanks
[Micromax Canvas Nitro A310/A311] idneaspats:
Yes i have coolpad f1 and i flashed a310 patch
[Micromax Canvas Nitro A310/A311] anas sami:
It is working perfect in my a310... But I'm facing only 1 problem... After every restart a notification will pop up showing memory card is corrupted... After formatting still showing the same thing again and again and again... Can somebody please help...???
[Micromax Canvas Nitro A310/A311] Suresh466:
Stuck in boot loop and cant access recovery.

I dont know where else to contact you. Please do reply.

I flashed xposed framework v83 arm via trwp recovery 3.something which you provided in your blog everything was fine until i enabled all modules and hit reboot option provided in xposed app and it asked for root permission i granted and then it keeps showing boot animation amd vibrates time to time. As you know (i posted earlier) I can't access recovery mode via hardware keys. It wasn't bothering me until i got into boot loop. What should i do now.

And i hope i would get out of boot loop soon. then after that how can i resolve the issue of not being able to access recovery via hardware keys i dont want to be in same situation again.

Note: i was on this ROM currentl
[Micromax Canvas Nitro A310/A311] JZ™:
I accidentally cleared system partition before flashing rom. When i tried to install, it gave updater script error help:(
[Micromax Canvas Nitro A310/A311] thp@1997:
You can't use v83 of xposed with latest Roms. Try out latest version of xposed.
[Micromax Canvas Nitro A310/A311] JZ™:
OP help meee
[Micromax Canvas Nitro A310/A311] Suresh466:
Why can't i access recovery by pressing hardware keys combination.

I can access recovery via quick boot though not with hard ware keys combo. I flashed twrp via mobile uncle tools and also tried rashr both succefully flashed recovery but still cant access recovery via hardware key combo. Please guide me how could i fix this it is annoying. Im on a311 . I guess somethimg is wrong with partition but what? How to fix this :confused:

Note: while flashing recovery via rashr a warning poped up recovery too big for your device (partition 0 mb). Googled it no help
[Micromax Canvas Nitro A310/A311] jpower73:
There's no reason to flash xposed framework.

Just dl xposed installer. Open it and dl framework from the apk. It will grab and install the appropriate framework.

Also there's no need to change recovery. Just delete assert line from update script.

I flashed it with philz recovery

I hate twrps.

:)

Also, for the missing earphones icon on status bar, you may dl this.... https://xdaforums.com/xposed/modules/xposed-headset-icon-headset-icon-t3401532

The easy way...

;)
[Micromax Canvas Nitro A310/A311] Suresh466:
If you could help me with recovery issue.

I cant access recovery via hard button but only from quick boot. I recently flashed recovery via rashr and then it warned me recovery too large for your device (partition 0). Partition messed up i guess. How to fix it. See my previous reply for clarification
[Micromax Canvas Nitro A310/A311] jpower73:
Flash original rom with ydgp tool.

https://xdaforums.com/a310/orig-development/micromax-a310-a311-unbricking-guide-t3184034
[Micromax Canvas Nitro A310/A311] idneaspats:
Hey guys I think sound patch does not make any difference, sound is too low(call ringer, music, etc) neither Dolby atmos change anything. Any ideas?
[Micromax Canvas Nitro A310/A311] thp@1997:
Sound patch contain default values for audio settings taken from stock rom so it really does increase your sound. If you want more loud then you can. Use either Dolby or Viper also.
[Micromax Canvas Nitro A310/A311] anas sami:
Restart your mobile once and flash the zip file again... It will flash normally...

---------- Post added at 12:07 AM ---------- Previous post was at 12:04 AM ----------

In rashr open options and then uncheck the box showing recovery size value.... It will help you fishing the recovery...
[Micromax Canvas Nitro A310/A311] JZ™:
Should i unmount data guys?
[Micromax Canvas Nitro A310/A311] thp@1997:
New Build is coming soon.
[Micromax Canvas Nitro A310/A311] blacklisted.rock:
Showing this what to do?

Device - micromax a311 , tried rebooting recovery and dismounting system and all

Plz tell asap
[Micromax Canvas Nitro A310/A311] Dipesh17:
I get error: Error in updater binary in zip, How to fix it. Please help me.
[Micromax Canvas Nitro A310/A311] pavanben:
unable to install

I am installing this for Micromax a310 and i am getting an error -> "this package is for device:A311, htt92_wet_jb;"

"E: Error in /sdcard/lineage -13....(status 7)" and finally "error in lashing zip"...

i tried with different TWRP 2.4.4 , 2.8, 3.1 , still nothing.

kindly help me!

thank you in advance
[Micromax Canvas Nitro A310/A311] thp@1997:
Use twrp from here lineageos post,

www.mtk-dev.com
[Micromax Canvas Nitro A310/A311] jpower73:
Network drop while speaker on and answering via headset plugged in

FIXED

Install this:

https://mega.nz/#!8Z4xBZLI!SVUhkGH1bJtZh08v2rXiwO6aKgkIZvdSt3wZqFU6LeU

and set it up like this

windows print screen

SoundAbout must be activated constantly.. :)

probably this is a solution for all mm based roms

(sorry for the oversized ss. i'm posting from my cellphone :) )
[Micromax Canvas Nitro A310/A311] mickiewicz:
do you know any workaround for not-autoconnecting wifi to known networks?

i was trying to use a tip - to forget known network in wifi setting and add it again - it doesnt help.

i have this issue on every 6,0-based rom (coolpad f1)
[Micromax Canvas Nitro A310/A311] jpower73:
download macrodroid from playstore. open it and go to templates/latest

find "force wifi connect by jpower73"

open it

go to Actions tab an set your preffered wifi networks

once completed click "tick mark"

Ready

No such issue on this rom..
[Micromax Canvas Nitro A310/A311] Abishek2:
Gps not working

is there any workaround ?
[Micromax Canvas Nitro A310/A311] anas sami:
Use recovery from lineageos page
[Micromax Canvas Nitro A310/A311] MrStark007:
Did you flash the correct recovery ?
[Micromax Canvas Nitro A310/A311] mickiewicz:
finaly a 6.0-based rom which can autoconnect to known wifi networks :)!

thanks!

one more question - to be able to hear fm radio first i have to play something (for example) on youtube.

and then when i got some notification - radio will not play, so i have to play something on youtube once again.

any tip to this issue?
[Micromax Canvas Nitro A310/A311] jpower73:
Yes, just capture a 2 second video with any camera application and whenever this issue occurs, just playback this video. Works 100 per cent... :)

Or go to macrodroid templates, find "Fm radio workaround by Jpower73", download it, select your video and use this macro as widget on the main screen to activate the radio.

Or make a macro to playback this video on every boot. ;)
[Micromax Canvas Nitro A310/A311] thp@1997:
Nice. :3
[Micromax Canvas Nitro A310/A311] nik3923:
Rom problem

bro this rom is not working for nitro a310 recovery is giving an error that this rom is for a311.:(
[Micromax Canvas Nitro A310/A311] pavanben:
No sim card detected.
[Micromax Canvas Nitro A310/A311] JZ™:
TWRP link for installing this rom pls
[Micromax Canvas Nitro A310/A311] idneaspats:
Hello guys, i have a little problem about LED notification. When screen is off i have always a blue led on even without any notification. There is no led notification manager and apps like lightflow dont work. Any suggestion? Thanks
[Micromax Canvas Nitro A310/A311] Sreeroop:
Phone reboots automatically when pictures are taken also while playing games and other heavy usage. Phone is a310 . Any help?
[Micromax Canvas Nitro A310/A311] Sreeroop:
It reboots automatically in every rom actually...miui,RR,los,CM

If anyone knows anything pls help:confused:
[Micromax Canvas Nitro A310/A311] shiva DX:
Which gaaps should I download bro

Arm ➡ 6.0 ➡ ? . Pico/stock . What ?

And what if I didn't flashed gaaps ? can I install them once I finish installation of the ROM ??
[Micromax Canvas Nitro A310/A311] Kcraut:
Nice Rom

Have been using this Rom for more than a week now on my A311, haven't faced any major problem while using it.

however i am facing some issues, so help me if anyone can.

1. Battery backup varies too much, earlier it was only 2-3 hours so after using battery calibration apps and battery saver apps and disabling all the automatic features like brightness, night mode and system profiles etc, now the battery settings shows about 6-7 hours of battery backup left, and sometimes even 11-12 hrs, like I said, it varies too frequently, i should mention that both my Sims are set for 2g as i don't use mobile data and the battery consumption increases way too much after enabling root.

2. Unstable network of dual sim, any time i try to make call for the first time, the network drops, then it comes back after calling for the 2nd time, i saw a patch in the thread but it was for headphones, so i didn't flash it.

3. While using apps, sometimes i just come back to home screen automatically without any error message, the apps doesn't close, i can still access them from the recent apps menu.

So these are the only issues that i faced while using this Rom, so if anyone has any suggestion, then please do tell.

Thanks in advance.
[Micromax Canvas Nitro A310/A311] domora:
error 7

iam using micromax nitro a311, and twrp version is 3.0.2...what did i miss please help me out.
[Micromax Canvas Nitro A310/A311] shiva DX:
plz help [MENTION=302582]thp[/MENTION]1997 , [MENTION=324389]loverboy[/MENTION] and other devs

Bro , when I tried to flash cm 13.zip via twrp 2.8.6.0 it is showing "this package is for a311 and this device is (I didn't remember device name ) " and then " E : error executing cm 13.zip l/sdcard1" in red colour. Should I use another version of twrp ??? plz help ???. and thanks in advance ????
[Micromax Canvas Nitro A310/A311] æ±Ÿè¥¿é¦„é¥¨:
Will we get the chance of using Android 8?

It's said that all the Android could get updated.?
[Micromax Canvas Nitro A310/A311] Vansh1033:
Hey plzz help me with cast screen option its not working
[Micromax Canvas Nitro A310/A311] Hareesh12:
Just go to mount settings and uncheck the system option.

Now flash the zip again. It will work?
[Micromax Canvas Nitro A310/A311] Vansh1033:
Hey I m unable. to connect to my BT speakers
[Micromax Canvas Nitro A310/A311] mohammed_Moid:
i am using micromax a311

i have sucessfully installed the rom

but when i try to install gapps it shows error 70

please help me how can i solve this :( :(
[Micromax Canvas Nitro A310/A311] kotak29:
switch 3g work right? can i change installation of apps to external storage?
[Micromax Canvas Nitro A310/A311] Vansh1033:
Bro which type of gapps u r using

Try pico for ARM and 6.0
[Micromax Canvas Nitro A310/A311] mohammed_Moid:
thanks

thanks got it!
[Micromax Canvas Nitro A310/A311] Vansh1033:
Bro for thanking hit thank button

And hit thank for those who deserves it
[Micromax Canvas Nitro A310/A311] theswapnil:
Cast screen is working in this rom ???
[Micromax Canvas Nitro A310/A311] mohammed_Moid:
phone automatically gets switch off

Any solution?
[Micromax Canvas Nitro A310/A311] Vansh1033:
No its not working properly with my tv

---------- Post added at 04:57 PM ---------- Previous post was at 04:56 PM ----------

Just wipe cache and dalvik cache
[Micromax Canvas Nitro A310/A311] fun2shweb:
My phone (on stockrom) was stuck in bootloop after I restarted it. So, I flashed stock rom, but the cellular network was not working. It was never able to register on a network. I tried both in 2G and 3G. Then, I tried other custom roms. Still same issue. I tried Lineage as my last custom rom and I still have the same issue. It shows "Error while searching for network" on all roms including stock.

Can any of the developers help me please. Wifi n BT works. Only celluar network doesnt work. It is able to detect sim, but not able to register on network. I tried the sim on other phones, and I was able to connect to a network. So, its the phone issue. Please help
[Micromax Canvas Nitro A310/A311] niraj_venom:
GApp. . .which one to select? Peco or something else?
[Micromax Canvas Nitro A310/A311] jpower73:
Do as i say here..

http://www.modaco.com/forums/topic/376576-nitro-baseband-imei-patch-for-mmx-a310a311/
[Micromax Canvas Nitro A310/A311] ashm@123:
Same problem.. Here. It happened in my phone a month ago..

Then i took to the service centre they said its motherboard problem.. I lost hope in the phone.

So im using it without any network.. Wifi Bluetooth all work except sim card.

I also flashed the nitroband zip.. Didn't work
[Micromax Canvas Nitro A310/A311] geekmanoj:
Nano or Pico
[Micromax Canvas Nitro A310/A311] XiaoshaXs:
can use on coolpad f1? (coolpad 8297/8297W)
[Micromax Canvas Nitro A310/A311] Hcofficial:
while flashing it shows error code 7

currently i am using miui8.2.1 on nitroa311 when i try to flash this it says error status 7 i wiped the system partition of the miui8 rom only i didnt do a factory reset or wipe data and i tried to fix error status 7 by seeing a post and than treid to flash and now it showing error status 6 what can i do now i want to use marshmallow
[Micromax Canvas Nitro A310/A311] niraj_venom:
Thanks for responding. . .

But I tried flashing this file. . .it shows error, m unable to flash zip file
[Micromax Canvas Nitro A310/A311] geekmanoj:
What error does it show?
[Micromax Canvas Nitro A310/A311] niraj_venom:
Failed to extract zip file
[Micromax Canvas Nitro A310/A311] fk_guna:
when i flash this rom, then a message shown "this package is for "a311" and your device is "CP8297W"," and then the flashing procedure becomes abort..... after that i have also tried to change device in updater-script [a311 to cp8297w] but then the flashing process says that there is no MD5 found or something like that............

so what to do............plz help me..............

[MY DEVICE IS A311]..............and i am in flashable stock rom
[Micromax Canvas Nitro A310/A311] geekmanoj:
Well, there is an issue with the zip file. Download the file again from opengapps.org

---------- Post added at 04:31 AM ---------- Previous post was at 04:30 AM ----------

As mentioned above you must flash the twrp recovery given in this post. Otherwise it's not gonna work.
[Micromax Canvas Nitro A310/A311] niraj_venom:
Cool. . . I'll try this.

Thank you

---------- Post added at 04:59 AM ---------- Previous post was at 04:55 AM ----------

But this link helps only to download gapps. . . .the error "failed to extract zip" shows when I flash ROM file
[Micromax Canvas Nitro A310/A311] geekmanoj:
Download the ROM again. I think it's corrupted.
[Micromax Canvas Nitro A310/A311] ?Keita?:
Is GPS fixed in all modes?
[Micromax Canvas Nitro A310/A311] Rat_heesh:
Network drop while attending call with headphones

Has anyone found a solution to this problem? :D
[Micromax Canvas Nitro A310/A311] alone warriar:
hello brothers

i have a311 and now i am on cm12 with twrp 3. but i want to install lineage os 13.

i have downloaded old version of lineage os 2 months ago with gapps etc.

today i have downloaded newer version, gapps and sound patch.

i wiped data, cache and factory reset

when i am trying to install os(newer version) it shows error ike this -

ths package for device a311, httt92_wet_jbg: this device is nibiru_h1c

updater process ended with error 7.

i downloaded the os again but same error.

so i tried to install old version of os and it installed properly

mobile data is working fine, signal range showing properly, but when i am trying to call someone, it says no cellular network

can you help me brothers?
[Micromax Canvas Nitro A310/A311] Rat_heesh:
Try it with a new version of twrp

That's how it worked for me:D
[Micromax Canvas Nitro A310/A311] alone warriar:
ok bro ,i am going to try

i hope it will work properly

---------- Post added at 09:55 AM ---------- Previous post was at 09:46 AM ----------

oh, actually i have twrp 3.0.2

and i think this is latest version
[Micromax Canvas Nitro A310/A311] Rat_heesh:
Try flashing the ROM again then

If it still shows error

Clear dalvik/cache and reboot into recovery

This time try installing the ROM without wiping anything

It should work:)
[Micromax Canvas Nitro A310/A311] alone warriar:
ok lets try...

---------- Post added at 10:13 AM ---------- Previous post was at 10:03 AM ----------

no luck. same error:(:(:(
[Micromax Canvas Nitro A310/A311] Rat_heesh:
Then idk what to do bro:(

My device is a310

It showed the same error while installing the ROM

But after flashing twrp v3.0.2 it installed properly

The ROM works smoothly also

But changed my device name to a311:rolleyes:
[Micromax Canvas Nitro A310/A311] alone warriar:
how can i change my device name?
[Micromax Canvas Nitro A310/A311] Rat_heesh:
You don't have to

The ROM is for a311

It converted my a310 into a311:confused:

Reebot the device and try downloading the file again

Flash twrp once again and install the ROM:fingers-crossed: :fingers-crossed:

That's all I can suggest

I'm no developer bro:(:(
[Micromax Canvas Nitro A310/A311] geekmanoj:
You can change the device name by editing the build.prop file :)
[Micromax Canvas Nitro A310/A311] xeros2:
I have the same problem and it's permanent now - I can't get network on any SIM card - voice calls using cellular network work fine, but can't connect to the internet (no either E(2G)/3G/H+ signs), even after reboot, but once it accidentally started to work and I could disable/re-enable network, change settings, etc. and it worked fine, then I've made reboot and since then it doesn't work again.

I can't find anything useful in logcat for this issue, but I found only that "Limit data transmission" option was not available (no such option) in "Data usage" when network was working, but now this option is there and no matter if I'll set high limit, reset stats, disable limits - the network doesn't work.

Edit:

It seems that enabling airplane mode for few minutes, then disabling it helps as a workaround.
[Micromax Canvas Nitro A310/A311] prakash4mail:
Error as this device is P188F04

I was able to install the initial release of it. the latest 1.6 gives me error as "this package is for device : A311, htt92_wet_jb9; this device is P188F04". Please help me i want to install the new one. If this check can be skipped please provide such package. Mine is A311 device.

Also might be irrevalnt question in here but the the usb seems to have broken, this device never gets detected in PC even post drivers install. Any issue with the software or if internal hardware issue(then lets ignore for now)

Thanks a lot :):)
[Micromax Canvas Nitro A310/A311] gknayak9:
Phone is not working. specially microphone. I can hear others voice. but they cannot hear mine.

so uninstalling the rom . going back to lollicraft. really sorry
[Micromax Canvas Nitro A310/A311] gknayak9:
Sound recording is working.

But while dialing or receiving a call, I can hear their voice, but others are not able to hear my voice. It must be a bug. Please remove this
[Micromax Canvas Nitro A310/A311] saf63r:
Search the forum for error 7 problem.
[Micromax Canvas Nitro A310/A311] SrivatsaNag:
Same problem here.

---------- Post added at 06:54 PM ---------- Previous post was at 06:42 PM ----------

There are lots of bugs in this ROM!

Photos captured in HDR mode is not showing, only Black screen.

And while recording video, if we capture a photo Camera stop's working.

If we answered a call with microphone, other people is not listening to our voice but voice of other side is hearing clearly.

Data is not at all stable. Every 40-60sec data turns On & Off automatically and when data is On network fluctuate continuously.

Is developer used/tried this ROM are not!!??