yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] mujammil786:
bootloder get unlocked and locked too

ok so phone get detected in fastboot mode:):victory: .was able to lock and unlock boot loader but without custom recovery it is no useful for us.:(

unlocked bootloader.

tried flashing Vernee_Apollo_Lite_P6(same spec. as epic 1) twrp recovery.

flashing done but after flashing phone refused to boot.

flashed stock recovery from update zip.

locked bootloader.

phone booted but erased internal memory after boot.:eek:

---------- Post added at 11:47 AM ---------- Previous post was at 11:44 AM ----------

do you know any guide for making twrp and i think phone will not boot if it detect any change in system partition i think :confused::confused::confused::confused:
[Android Q&A, Help & Troubleshooting] vivek12341:
OTA updates

Hi everyone

I received OTA notification ~700mb

Guys i have

1.i flashed noverity.img and twrp.img

2.still not modified system and not rooted (not flashed SuperSU.zip)

Can i still install it flashing stock recovery or with twrp

Please Help me :cowboy::confused:

Reply me
[Android Q&A, Help & Troubleshooting] mujammil786:
Can u tell me your current version....

---------- Post added at 03:44 PM ---------- Previous post was at 03:23 PM ----------

Well i modified boot.img but after that device is not booting i will upload zip by tomorrow morning.
[Android Q&A, Help & Troubleshooting] vivek12341:
Thanks

HI bro

i flashed stock boot.img and recovery.img

and locked the bootloader

and updated the system to 1280 from 1200

succesfully

but one doubt:

If new any new system update arrives,do we have to do above process or suggest any

Using OUTL1 1.2.3 from firmwarefiles.com

I can flash using normal download

but got errors in emergency download(like some library error)

.......

Thanks for TWRP recovery and rooting method.....LOve u:laugh::laugh::laugh:
[Android Q&A, Help & Troubleshooting] mujammil786:
port rom and port boot.img

https://drive.google.com/open?id=0B4FNo4vddleCY05GRUxJMUNua00 <portboot

https://drive.google.com/open?id=0B4FNo4vddleCVDhBUk15Y29vcXM <ported rom i havae used mad rom(vernee apollo lite) as base rom for porting. port rom.zip contains original modified boot.img of our phone. :)
[Android Q&A, Help & Troubleshooting] vivek12341:
Rapid Battery drain lol

Rooted

Installed Xposed, gravitybox, Viper, Dolby Atmos

All working fine and No lags

BUT BATTERY DRAINING LIKE ANYTHING

20% PER HOUR

used greenify, amplify but no luck

Heating like ironbox

CPU all cores comes to online even no app is running

Help me guys

Or ive to flash stock rom? (i hate it)

?????
[Android Q&A, Help & Troubleshooting] Bornstud:
Hey brother,

I got error while flashing your port rom.

[script aborted: symlink: some symlinks failed

symlink: some symlinks failed

Updater process ended with ERROR: 7]

I have now restored my twrp backup.

---------- Post added at 04:33 AM ---------- Previous post was at 04:32 AM ----------

It is kernel issue.

We have to use optimised kernel for that.

And this stock have not that kernal (I think so)

Coz everyone facing same issue of battery draining.
[Android Q&A, Help & Troubleshooting] vivek12341:
Bro u guys working on Modifying kernel?? :highfive: thanks

Waiting for it bro...... :cowboy:

Bro i saw that this phone has 4k recording capability

How to use that... Stock camera has upto 1080p???

Last doubt

Its said that this phone can get Noughat update or any fix update

Company guys will fix this issue right??
[Android Q&A, Help & Troubleshooting] mujammil786:
[MENTION=6596270]Bornstud[/MENTION]

I think there is problem with updater script can u check it?
[Android Q&A, Help & Troubleshooting] Bornstud:
Okie.

I notice that

Very first time flashing of ur ROM with wipeing system partition, I got that error,

But without wiping system partition its flashed successfully but got into bootloop.

And then flashing stock boot.IMG its booted ur port Rom7.1.1 (had hope to run like butter) but after optioming app after very firstboot its again rebooted to boot doesn't start again.

And finally have to restored twrp backup...
[Android Q&A, Help & Troubleshooting] mujammil786:
SO u r saying that u got the screen of optimising apps.but i was stuck on boot animation..

---------- Post added at 11:04 AM ---------- Previous post was at 11:03 AM ----------

Can u modify boot.img ?

I tried but after modification its size reduced to 8 mb from 14 mb (approx)
[Android Q&A, Help & Troubleshooting] Bornstud:
Yeah I have ported kernal from noveritynoencrypts.img to ur boot.IMG

And got screen optimisation screen..

But didn't get it again.
[Android Q&A, Help & Troubleshooting] mujammil786:
U mean by boot of base mad rom
[Android Q&A, Help & Troubleshooting] Bornstud:
No I just use kernal from noveritynoencrypt.IMG and paste it into boot.IMG of ur port ROM.zip and then flash it via fastboot cmnd
[Android Q&A, Help & Troubleshooting] mujammil786:
But boot.img in port zip was same as noveritynoencrypt.img...
[Android Q&A, Help & Troubleshooting] Bornstud:
Whether u have port ramdisk folder?

Coz I think we also required for Same to do it.
[Android Q&A, Help & Troubleshooting] mujammil786:
It was original boot.img modified earlier

I tried to modify it but it does not boot.
[Android Q&A, Help & Troubleshooting] Bornstud:
Okie,

Let me try modify it.

Did I u modify stock boot. IMG or nonveritynoencrpt.IMG

?
[Android Q&A, Help & Troubleshooting] mujammil786:
I modified nonverity.img
[Android Q&A, Help & Troubleshooting] Bornstud:
Okie..I don't know how to port compatible boot.img

But let me try my hand on it.☺☺
[Android Q&A, Help & Troubleshooting] mujammil786:
Same here??
[Android Q&A, Help & Troubleshooting] mujammil786:
kernel source for mt6797

[MENTION=6596270]Bornstud[/MENTION] [MENTION=690456]Mafioso[/MENTION]

https://github.com/MT6797

it will be helpfull????

---------- Post added at 12:58 PM ---------- Previous post was at 12:28 PM ----------

can u guide me through boot image porting guide?
[Android Q&A, Help & Troubleshooting] Mafioso:
Might be, but i haven't done much dev myself. Not sure if you have gone through the link, but here is one guide which was given to me by kirito9, might be it will be useful.

https://xdaforums.com/android/software-hacking/guide-port-64-mtk-roms-t3555933
[Android Q&A, Help & Troubleshooting] mujammil786:
OK THANX and do not use zip i have uploaded coz mad rom developer are using custom boot image.
[Android Q&A, Help & Troubleshooting] Bornstud:
I think we shall first Port a android 6.0 based ROM,

Coz their is kernal issue while directly porting to 7.1.1

Porting from AOSP of Redmi Note 4 is a Better option.

Further we have to deodex the apps that are in System/app , system/framework, system/prvtapp
[Android Q&A, Help & Troubleshooting] mujammil786:
can u give me the link of rom?
[Android Q&A, Help & Troubleshooting] Bornstud:
This is a link

https://www.androidfilehost.com/?fid=529152257862686902
[Android Q&A, Help & Troubleshooting] mujammil786:
i have created another rom from leeco x620 linage os 13 but its stuck on preparing to start after optimizing app.and after restarting it,its stuck on boot animation. and this time i ported boot.img of rom:eek:
[Android Q&A, Help & Troubleshooting] Bornstud:
Did u successfully flashed ROM?

Which meta-inf folder u used in this ROM?

Coz every time I flash ROM ported from different device ROM its stuck while flashing.

I didn't know how to built updater-script and relevant update-binary?

Did u change it in ported rom or just take it as it it.
[Android Q&A, Help & Troubleshooting] mujammil786:
used from ported rom and done some modification in it.

do u have any suggestion for the stuck on updating app issue.
[Android Q&A, Help & Troubleshooting] Bornstud:
No,

I have no idea about that.
[Android Q&A, Help & Troubleshooting] mujammil786:
ok thanks
[MENTION=690456]Mafioso[/MENTION] any suggestions...
[Android Q&A, Help & Troubleshooting] Mafioso:
no buddy. I dont but not sure, if their might be some log which we can refer to see what the phone was doing when it got hanged? That's pretty much thr std way to debug errors..
[Android Q&A, Help & Troubleshooting] mujammil786:
How to get it?
[Android Q&A, Help & Troubleshooting] Bornstud:
I think for that we have to use Android SDK to Get Logcat.txt file to debug issue.
[Android Q&A, Help & Troubleshooting] Mafioso:
I don't know, will try searching. If i found anything will let you know..
[Android Q&A, Help & Troubleshooting] mujammil786:
Ok
[Android Q&A, Help & Troubleshooting] Bornstud:
Their might be issue in porting a ROM,

I got same issue,

While set up settings after first boot

Its hanged.
[Android Q&A, Help & Troubleshooting] mujammil786:
Dont know brother this is first time im porting rom so....

Btw which base rom r u using??
[Android Q&A, Help & Troubleshooting] Bornstud:
Redmi note 4..AOSP

And I get one another thing that

Their is Sharp Z2 in Singapore and Sharp A1 in Taiwan and china which very similar to our in focus Epic 1, and this device are update of Nought but I don't know how to download it.
[Android Q&A, Help & Troubleshooting] mujammil786:
Link please?
[Android Q&A, Help & Troubleshooting] Bornstud:
http://www.android-nougat.tech/2016/11/sharp-z2-8410.html

Check it. But I think this is a spam..
[Android Q&A, Help & Troubleshooting] mujammil786:
it is spam
[Android Q&A, Help & Troubleshooting] Bornstud:
Okie. :crying:
[Android Q&A, Help & Troubleshooting] mujammil786:
help needed

[MENTION=7174278]kuberrocks96[/MENTION]

i used ur guide and created 2 roms but both roms gets stuck on preparing to start after optimizing apps.

any suggestions?
[Android Q&A, Help & Troubleshooting] Bornstud:
Which is your PORT ROM?
[Android Q&A, Help & Troubleshooting] Bornstud:
Hello Brother,

I have ported a ROM and its working now with some of bugs like network bug, Bluetooth, camera not working.

Now its time to fix this...:)

---------- Post added at 07:23 AM ---------- Previous post was at 07:23 AM ----------

Hello Brother,

I have ported a ROM and its working now with some of bugs like network bug, Bluetooth, camera not working.

Now its time to fix this...:)
[Android Q&A, Help & Troubleshooting] Mafioso:
wow congrats bro, your hard work finally paid off ? which version of Android is it based on?
[Android Q&A, Help & Troubleshooting] Bornstud:
It is AOSP 6.0
[Android Q&A, Help & Troubleshooting] mujammil786:
Can u describe the steps?
[Android Q&A, Help & Troubleshooting] Bornstud:
Followed kuberrocks guide along with Sandeep.sethi
[Android Q&A, Help & Troubleshooting] mujammil786:
Link?
[Android Q&A, Help & Troubleshooting] mujammil786:
And how did you get past optimizing apps?
[Android Q&A, Help & Troubleshooting] Bornstud:
Which ROM u r porting?

I just ported first as per sandeep.sethi guide and at last post update of kuberrocks..
[Android Q&A, Help & Troubleshooting] mujammil786:
linage os for leeco x620
[Android Q&A, Help & Troubleshooting] Bornstud:
Android version 6.0 or 7.1.1?
[Android Q&A, Help & Troubleshooting] mujammil786:
6.0
[Android Q&A, Help & Troubleshooting] Bornstud:
Okie..

But which boot.img u put into ported ROM?
[Android Q&A, Help & Troubleshooting] K001droid:
Please ask the question to my thread.
[Android Q&A, Help & Troubleshooting] mujammil786:
boot.img of port rom with our kernel in it.
[Android Q&A, Help & Troubleshooting] Bornstud:
I had same problem then I restore boot.img from my nandroid backup after flashing ported ROM and it booted.

Try that way if it work for u
[Android Q&A, Help & Troubleshooting] AtlerJ:
Error: Red State

I was trying to follow the setps, got far as 4e that is "fastboot reboot" but got Red state error.

Error:

"Red Sate

Your device has failed verification and may not work properly

Your device will reboot in 5 seconds"

it gets struck there.
[Android Q&A, Help & Troubleshooting] Bornstud:
Did u correctly unlocked ur device?
[Android Q&A, Help & Troubleshooting] AtlerJ:
I might not. (Sorry I am trying for first time :mad:)

only good thing i suppose is that I can go to recovery on the phone by pressing power and volume up and can go to fastboot

can you suggest a way forward.

---------- Post added at 05:26 AM ---------- Previous post was at 05:17 AM ----------

thanks for the hint, i tried again to unlock and was able to boot with error: orange state.
[Android Q&A, Help & Troubleshooting] Mafioso:
now that you're back go orange state, is your phone able to boot? If it is, you can just follow the steps further..

If it is not, put the phone in fastboot mode and try to redo the fastboot commands..
[Android Q&A, Help & Troubleshooting] AtlerJ:
Yes, I am able to boot and android is loading fine.

I am not sure what all I did :confused: . I guess, i have flashed stock recovery.img that was mentioned in the thread.

and then did fastboot OEM unlock (as indicated)

after rebooting, It deleted all the data tho, that's okay.

then it showed Orange state error and loaded OS

I will try anew all the steps some other time (after understanding what am doing :D )

thanks for your help. :good:
[Android Q&A, Help & Troubleshooting] hiakki:
HELP!

Downloaded all files from above given links, followed all instructions.

Installed new WINDOWS 7 OS just for this.

But fastboot gets stuck everytime on "waiting for device".

Here is my ss of both windows i.e., device manager (for drivers) and cmd.

[IMG="adb cmmnd n driver check"]https://drive.google.com/open?id=0B9xwS859LQaAQUw0eGhpV0FlVGs[/IMG]

[IMG="fastboot cmmnd n driver check"]https://drive.google.com/open?id=0B9xwS859LQaARDl4cUZ1cXd3WEU[/IMG]
[Android Q&A, Help & Troubleshooting] Mafioso:
did you enable usb debugging? if yes, its mostly driver issue, try installing mtk and phone drivers again.
[Android Q&A, Help & Troubleshooting] mujammil786:
did u able to solve any bug?
[Android Q&A, Help & Troubleshooting] Bornstud:
No, I did try to solve out network bug till now,

But didn't get it solved. And their no. Of bugs that I have to solve out.

This is a screenshot for our device
[Android Q&A, Help & Troubleshooting] Bornstud:
This was missed:silly:
[Android Q&A, Help & Troubleshooting] mujammil786:
what about camera and audio?
[Android Q&A, Help & Troubleshooting] Bornstud:
Audio is working well

But camera shows black background..

Do u know how to solve out it.???
[Android Q&A, Help & Troubleshooting] mujammil786:
no brother
[Android Q&A, Help & Troubleshooting] Bornstud:
Okiie..

Right now I have limited time to solve this bugs due to March End.

I will try it after this period...:laugh:
[Android Q&A, Help & Troubleshooting] mujammil786:
:good:
[Android Q&A, Help & Troubleshooting] mujammil786:
[MENTION=6596270]Bornstud[/MENTION] [MENTION=690456]Mafioso[/MENTION]

ok i tried and got imei but no network ,no camera,no bluetooth.any idea? i already tried by changing lib files...
[Android Q&A, Help & Troubleshooting] Bornstud:
Did u check check thread by Sandeep.sethi for bug fixing?
[Android Q&A, Help & Troubleshooting] mujammil786:
Yes but changing lib doesn't help at all and most of libs are not present in both ROMs..
[Android Q&A, Help & Troubleshooting] hiakki:
1. obviously usb debuggin on thats why adb command is working.

2. installed a whole new win 7 just for this, and in ss as u can see no problem icons r there.
[Android Q&A, Help & Troubleshooting] chinatown24:
hey anyone feel battery drain after rooting infocus epic 1
[Android Q&A, Help & Troubleshooting] mujammil786:
I feel battery drain after last update
[Android Q&A, Help & Troubleshooting] Bornstud:
www(.)change(.)org/p/infocus-mobile-india-infocus-kernel-sources-must-be-released?recruiter=701903165&utm_source=share_petition&utm_medium=copylink

Hello Brother,

I found this petition on change(.)org against infocus, to release their device source code

Plz sign the petition if u think it would be available to public.:)
[Android Q&A, Help & Troubleshooting] chinatown24:
here is what i found out the viper mod it has a huge battery drain and also you need to download a battery calibration root app from playstore and calibrate your phone battery
[Android Q&A, Help & Troubleshooting] Mafioso:
done.

For me, battery is getting drained due to ttyc0 wakelock. It keeps the phone awake 20-30% of the times when screen is off, making deep sleep only 60-70%. I tested it by keeping phone undisturbed overnight to observe the same. Normally deep sleep should have been 95%+ for good optimzed rom.

Been researching on this kernel wakelock for few days, it seems it is related to radio and common on some MTK phones.

Tried the following measures so far but with no effect :(

Turn off keep wifi on during sleep

Installed Smart Network to turn off Wifi, GPS when screen is off (it properly turns off wifi, now you won't see WiFi running in bbs even though its off)

Disabled Fast Dormancy (via MTK engineer mode)

Limit Network bands to only supported bands by operator (via MTK engineer band mode)

Disable Fingerprint sensor

Somebody suggested that sometimes network operator is responsible for this wakelock, so i kept single sim only. Turned off other sim which is jio, but still nothing. I couldn't disable my other sim to check this (idea) as i need to keep this number on.

If we can find solution for this, i think standby battery drain can be reduced considerably.
[Android Q&A, Help & Troubleshooting] mujammil786:
Ok i have made rom but camera not working,no audio from speaker(u can solve that),and main thing is got imei but no network.. Can u work on that??
[Android Q&A, Help & Troubleshooting] Mafioso:
As much as i love to, but i'm not sure :( I got a job in prod support so need to have phone working pretty much 24x7 and these days it has been quite a handful. Might be if things calm down i could give it a shot. Can you post some links where i can get started to learn about ROM porting ?
[Android Q&A, Help & Troubleshooting] ddineshkumar496@gmail.com:
I have a rooted in focus epic 1 mobile. I want a miui ROM for my device. can anybody port me a ROM for infocis epic 1
[Android Q&A, Help & Troubleshooting] Bornstud:
Brother for this we need to have source code for in focus epic 1, which we didn't have.

We have ported some of the ROM but its have many bugs.
[Android Q&A, Help & Troubleshooting] Mafioso:
did your battery problem got solved after flashing different system image?

It started for me too, perviously the phone used to switch anytime in 0-10% range. Gradually it increased to 0-15%. Today it switched off around 22% battery :( i.e. it went from 22 to 0 in an instant and was unable to turn on until i plugged in charger.
[Android Q&A, Help & Troubleshooting] mujammil786:
No brother my phone was getting shutdown at 70%.I have given my phone for replacement of battery and motherboard but after changing​ wifi and bluetooth stopped . currently my phone is in service center.this mobile is s****t and my biggest mistake.
[Android Q&A, Help & Troubleshooting] Mafioso:
oh sorry to hear that. I'm also feeling battery is of very inferior quality.. its started going downhill only in 3-4 months :(

did you restore it via sut before giving it to service center?
[Android Q&A, Help & Troubleshooting] mujammil786:
Yes?
[Android Q&A, Help & Troubleshooting] Mafioso:
cool :good:
[Android Q&A, Help & Troubleshooting] hiakki:
Unable to unlock bootloader, #RedState

I installed these softwares on win 7 and my device got recognized in fastboot mode on windows 7:

1. minimal adb and fastboot version 1.4.2 (931 KB)

2. universal adb driver setup (16.27 MB)

3. pda net A4197

4. Driver_Auto_Installer_SP_Drivers_20160804 (8.87 MB)

5. restart computer

Now when i type:

1. fastboot OEM unlock, it just shows all commands of fastboot

2. so i decided to move to next step flashing boot and recovery

3. when I flashed recovery only, In recovery mode it shows as "Red State"

4. when i flashed both of them phone got soft brick and showed "Red State"

5. since i had a backup of all ".img", so i flashed back and atleast have my phone working

So my question is how to unlock bootloader to save my phone from red state.

Answer to the above question is:

1. i used command

fastboot flashing unlock

2. after this as usual everything was formatted and got orange state error but don't worry follow as this hread post guy (@Mafioso) has said and everything will be alright.

Thank you for this guide :)
[Android Q&A, Help & Troubleshooting] Mafioso:
i bought rock 2in1 qc+mtk pump express charger from aliexpress. With this charger I'm getting same charging rapidly message. Charging does seem fast also.

Will do a 0 to 100 test soon..

Edit: did a 0 to 100 test.. doesn't seem to be much faster than stock charger...initial 1hr charging was able to restore 55%, full charge to 100% took close to ~ 2hr 20m.. similar to stock charger..

Edit2: Rock charger indeed is able to push in more amps. Close to 2200mA compared with stock charger goes upto arnd 1700mA. Currents measured with Ampere app. Current reduce as your phone charges, max is upto 50-55%
[Android Q&A, Help & Troubleshooting] am133408:
Can anyone port me AOSP/LINEAGE OS/RESURRUCTION REMIX ROM
[Android Q&A, Help & Troubleshooting] Bornstud:
anyone have updated their in focus epic1 to IN_360

Its latest update??
[Android Q&A, Help & Troubleshooting] Mafioso:
Did you get a notification for update ? or did you read it somewhere?

anyway its not visible to me, probably because of modified system by rooting :confused:
[Android Q&A, Help & Troubleshooting] Bornstud:
Yeah I had received notification for update.

But unable to update because of rooted phone.

I think we have to reflash stock recovery and stock boot IMG to update latest version.
[Android Q&A, Help & Troubleshooting] Mafioso:
i guess but that also will format and encrypt the phone:rolleyes:

let me know if you try otherwise i will try in the coming week

Also if you go to phone update in settings are you able to see this new update?

For me it is telling there is no new update..I'm on 00_IN_280 build
[Android Q&A, Help & Troubleshooting] Mafioso:
Some more info about the update from FB. 1 guy reported, he's screen on time increased also heating issue is now gone.

Did you try it?

It might not work for me as i have modified system partition through TWRP , so SUT might only be way to go for me :(
[Android Q&A, Help & Troubleshooting] Mafioso:
Updated first post with patched boot.img (in1360patchboot.img) (with no forced encryption and no dm-verity) for newest build i.e. 00_IN_1360.

Many thanks to [MENTION=5169465]DespairFactor[/MENTION] for making it possible again.
[Android Q&A, Help & Troubleshooting] Bornstud:
Anyone are able to update their infocus epic1 to IN_360?
[Android Q&A, Help & Troubleshooting] Mafioso:
you have to restore phone via SUT, update the phone and then do the whole procedure again (with new boot.img) to root it.
[Android Q&A, Help & Troubleshooting] faizan Ace:
twrp backup works

thanks twrp backup works in my device well this is best medhod
[Android Q&A, Help & Troubleshooting] Bornstud:
But I am unable to restore my phone with SUT.

ANY OTHER WAY?

---------- Post added at 10:29 AM ---------- Previous post was at 10:18 AM ----------

Can u plz provide link to Download SUT,

Coz SUT that I have installed didn't work for me...
[Android Q&A, Help & Troubleshooting] Mafioso:
I downloaded the one from below, build 1280 https://firmwarefile.com/infocus-epic-1

also dont turn off your phone as suggested in sut readme file. It only works when your phone is on. Check below vid for more instructions

https://m.youtube.com/watch?v=eV_cId5fC9E
[Android Q&A, Help & Troubleshooting] Bornstud:
My Battery life is almost drained ..

Draining within a 5-6hours without any active use.

Any solution???

I am on in360 update...
[Android Q&A, Help & Troubleshooting] Mafioso:
hmmm seems your phone is not going in deep sleep. You can install better battery stats on see what is causing the drain. I get normally 10-12 with medium heavy use on phone.
[Android Q&A, Help & Troubleshooting] mujammil786:
After latest update otg is not working !!
[Android Q&A, Help & Troubleshooting] shashikumar9:
How to install urs backuped twrp rom

---------- Post added at 03:59 AM ---------- Previous post was at 03:56 AM ----------

How u had installed it? :confused: