yashsingh1/xdaforums huggingface dataset:
[Micromax A110] MasterAwesome:
Can you guys try installing my cm11 now? Since sdcard is mounted

Regards

MasterAwesome

---------- Post added at 03:03 PM ---------- Previous post was at 03:01 PM ----------

The latest recovery can mount sdcard automatically so transfer the cm11 to sdcard and flash it.

And type in computer after connecting device in recovery

adb logcat > recovery.log this will create the log in the folder where is executed

Regards

MasterAwesome
[Micromax A110] CrashOverride1995:
Hey sdcard1 is mounted but not sdcard0 so still cant flash as there is no option to install zip from sdcard1
[Micromax A110] MasterAwesome:
Is sdcard1 your external or internal?

Regards

MasterAwesome
[Micromax A110] CrashOverride1995:
sdcard0-- external

sdcard1-- internal
[Micromax A110] subhashdas:
getting this error while fetching logcat

"/sbin/sh: exec: line 1: logcat: not found"

any solution?

The problem with logcat is only in recovery

When the phone is running there is no problem in taking logcat.
[Micromax A110] Jukel Rakesh:
Official update confirmed!
[Micromax A110] subhashdas:
REMOVED
[Micromax A110] rohit83:
let masterawesome take some rest pls, he has been working day n night continuously n i thank others too for helping n supportting him so much:angel:, i hope masterawesome will be back soon with some good news:fingers-crossed:
[Micromax A110] MasterAwesome:
Mount system manually then type logcat and try installing the recovery in the attachemnt i've mounted internal sdcard also

and sorry about not responding at the evening i was busy :(

and can you guys navigate to /dev/block/platform/somedir/by-name can someone tell me what the "somedir" is inside that folder you'll find another folder called by-name all partitions will be listed there and it'll be easier for me to mount.

Regards

MasterAwesome
[Micromax A110] subhashdas:
I am using the recovery4.img

and in the CWM when i go to mounts and storage menu and select mount /system, it gives error

"Error mounting /system!"

should i use any other recovery.

and when i execute the command adb logcat > logcat.txt

an out file is generated with this written inside it

"/sbin/sh: exec: line 1: logcat: not found"
[Micromax A110] sharath0033:
in mtk-sd.1 only first three folders of mtk-sd.0 are present....
[Micromax A110] MasterAwesome:
There's nothing called by-name? because there is by-name... inside mtk-sd.0

click search and check if a file called system is inside mtk-sd.0

I'm uploading another one to check if this one works in mounting the /system
[Micromax A110] sharath0033:
i searched inside mtk-sd.0 for system but no file exists....there is a folder name by-num in mtk-sd.0...i thought it is similar to the folder by-name...:confused:.
[Micromax A110] MasterAwesome:
Yeah by-num is block numbers like p1 p2 etc where as my-name has the partition names for example system recovery and are linked to the actual dev/block/mmc**

anyway, try my latest recovery to check if /system mounts?
[Micromax A110] sharath0033:
Error E:can't mount /cache/recovery/command

Error E:can't mount /cache/recovery/log

Error E:can't open /cache/recovery/log

Error E:can't mount /cache/recovery/last_log

Error E:can't open /cache/recovery/last_log

Error E:can't mount /cache/recovery/last_install

Error E:can't open /cache/recovery/last_install

when tried to manually mount system

Error mounting /system!

same error for cache...when tried to open sdcard0

Error E:can't mount /storage/sdcard0
[Micromax A110] subhashdas:
Tried the new recovery, no improvement.

Bottom error message remains same.

cant mount /system same error as previous.

logcat can not be created error : logcat not found.
[Micromax A110] MasterAwesome:
Awe man :/

[MENTION=5238428]superdragonpt[/MENTION], a little help on the partitions I'm got the recovery to boot but i can't get the partitions to work I got the partitions from the mounts and partition files under the /proc folder I don't understand why it's not mounting maybe a extra command in the Board configuration while building? Or the default.prop?

Regards

MasterAwesome

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

Can you get me the /etc/fstab file?

Regards

MasterAwesome
[Micromax A110] subhashdas:
This is the discription of mount point i found a few pages back, check the highlighted ones

In the recovery when i select the show log option the error show there is

I:Can't partition unsafe device: /dev/block/mmcblk1p2

I:Volume /storage/sdcard0 is not odle. current status is 0

There is a difference in the mount point i think.

as per the quote sdcard0 -> mmcblk1p8

whereas as per recovery log it is mmcblk1p2

could this be the problem.
[Micromax A110] MasterAwesome:
Wow, thanks.. I'll try that out right away

Can you send me that file?

Regards

MasterAwesome
[Micromax A110] subhashdas:
here you go.

its from 4.2 rom which i am currently using.
[Micromax A110] MasterAwesome:
Okay, try these 2 and tell me any errors when you click show recovery log

First one i modified a lot := changed init.rc etc(Might not even work :fingers-crossed:)

the 2nd one just a little bit ..

the 3rd one= i dont even remember what i did :eek:

Here's the link := http://d-h.st/6qq
[Micromax A110] subhashdas:
Downloading will report soon.

one question

you have the device tree, source code and custom kernel

Why don't you consider compiling TWRP 2.7 ?

It had more debugging tools as i read some where
[Micromax A110] MasterAwesome:
More features= tougher to make

i need to implement touch lot of stuff besides it will be too much for your partition size and you'd have to flash your stock rom with the changed partition layout all sorts of stuff..

If I can make the cwm without any issues I will make twrp
[Micromax A110] subhashdas:
[MENTION=5321417]MasterAwesome[/MENTION]

Report of Latest recovery test

1. Recovery1

Didn't boot at all

just showed the boot logo then went blank. black screen

2. Recovery2

booted to recovery

Same error at the bottom -. can't mount /cache etc.

sdcard0 not working, same error -> can't mount /storage/sdcard0

In show log

same error as before just the code of mount point has changed to mmcblk0p4

New option avaliable in the advance menu

**partition /storage/sdcard0

in the option there are some more option like 128M, 256M, 512M, 1024M, 2048M and 4096M.

didn't selected any.

error report option still not working

3. Recovery3

booted to recovery

Same error at the bottom -. can't mount /cache etc.

sdcard0 not working, same error -> can't mount /storage/sdcard0

In show log

same error as recovery2

The new option is not available in this recovery
[Micromax A110] MasterAwesome:
I new the first one wouldn't boot :P

/dev/block/vold/179:6

Can you check if this folder/file exists?

Regards

MasterAwesome
[Micromax A110] subhashdas:
Yes the file us there but I can't copy it to different location.

---------- Post added at 05:01 PM ---------- Previous post was at 04:58 PM ----------
[Micromax A110] MasterAwesome:
You're not supposed to be able to copy it it's just a vold managed link

Regards

MasterAwesome

---------- Post added at 09:44 PM ---------- Previous post was at 09:34 PM ----------

I'm currently out and cannot make more recoveries at the moment I'll continue at 12AM IST

Regards

MasterAwesome
[Micromax A110] MasterAwesome:
Can someone get the /proc/mounts and /proc/partitions I lost the files can someone upload it here so I can verify the partitions?

If exists, /proc/mtd and /proc/fs

Regards

MasterAwesome
[Micromax A110] subhashdas:
attached partitions and mtd file.

couldnt find the fs file there is afolder with the name fs.

mount is a shortcut file couldnt copy it.
[Micromax A110] MasterAwesome:
try copy the contents of mount because someone earlier gave me the file i seem to have lost it..
[Micromax A110] MasterAwesome:
Can you try the recovery attached?
[Micromax A110] subhashdas:
Contents fo mount file
[Micromax A110] MasterAwesome:
Do my recoveries work?

Regards

MasterAwesome
[Micromax A110] subhashdas:
1. Recovery0

Booted to recovery but same mount problem with system and other partition in the mount and storage menu.

new option added in the mount and storage menu like mount sdcard0 and mount sdcard1, didn't work either.

same error at the bottom as earlier versions. error mounting cache

2. recovery1

did not boot to recovery, just stuck at boot logo.

Sir,

I would be available for the next 5 hrs as i off for my exam and will be assisting you after 1900 IST.
[Micromax A110] CODE_WORKX:
Till then I m here....master I have a110 stock recovery..

..and perhaps you can see its Mount points....

Further cwm 6.0.3.2. U can use its Mount points... Its purely stable...
[Micromax A110] MasterAwesome:
Install ubuntu and start TeamViewer.. I'll be there.. Cause I need to debug stuff :/

Regards

MasterAwesome
[Micromax A110] CODE_WORKX:
meeting id m87-619-350
[Micromax A110] subhashdas:
:cool:

Any Good News.......:confused:

[MENTION=5321417]MasterAwesome[/MENTION]

you should look at this

https://www.youtube.com/watch?v=WhKyb0wNfg8

May be it would be of some help to you.
[Micromax A110] MasterAwesome:
Nah, thats no help... I'm compiling one now i'll try to mount emmc give me a few secs :D
[Micromax A110] subhashdas:
Do you need ubuntu

My PC is free any time you need it, will be ready for you...
[Micromax A110] MasterAwesome:
[MENTION=5238428]superdragonpt[/MENTION], a little help here..

I've got the recovery to boot but cache /system are not mounting

Here's my recovery.fstab

Here's my BoardConfig.mk: BoardConfig.mk

the initial BoardConfig.mk also booted the recovery but i tried adding additional flags to make it work better...

# Android fstab file.
#
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK

/emmc@android /system ext4 ro,noatime wait
/emmc@cache /cache ext4 noatime,nosuid,nodev,noauto_da_alloc wait
/emmc@usrdata /data ext4 noatime,nosuid,nodev,noauto_da_alloc wait,encryptable=footer
/dev/block/mmcblk1p2 /storage/sdcard0 vfat rw,dirsync,nosuid,nodev,noexec,relatime wait
/dev/block/mmcblk1p1 /storage/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime wait
/dev/bootimg /boot emmc defaults defaults
/dev/recovery /recovery emmc defaults defaults

And, others here i've attached a recovery.img and tried to mount the sdcard so you can give the full log

Regards

MasterAwesome
[Micromax A110] MasterAwesome:
Also try

Also try this recovery.img
[Micromax A110] subhashdas:
No

No luck with the new recovery.

New recovery version 6.0.4.8

System not mounting

can only mount /emmc and /storage/sdcard1.

same error at the bottom

but no option of installing zip from sdcard1.

report error not working still.

show log shows the same error as before (i think).

but this time there are no code related to mount point in the show log option.

Still can't take logcat at recovery mode.
[Micromax A110] MasterAwesome:
I'm going to delete the line of sdcard0 and so that the log gets saved in sdcard1
[Micromax A110] MasterAwesome:
I'm removed the sdcard0 line so check now, I've uploaded it
[Micromax A110] subhashdas:
Did not booted to recovery, STUCK at boot logo.
[Micromax A110] MasterAwesome:
I'll make one later at night as today also im busy till 11:30-12 IST
[Micromax A110] subhashdas:
I have attached a CWM recovery version 5.5 created using MtkDroidTools v2.5.3

you can check the mount point from this recovery as this would much accurately described in this recovery.

As i thing that the problem with the recovery is the mismatch of mount point.

please consider....
[Micromax A110] MasterAwesome:
I havent see your recovery yet although i've "hardcoded" the actual mount points rather than giving a location from which it uses syslinks

thanks to [MENTION=2689045]awaaas[/MENTION] for the recovery.fstab share.

Download here : http://d-h.st/san
[Micromax A110] Faaiz Puthawala:
bro not booting

after logo stuck at black screen
[Micromax A110] MasterAwesome:
Give me a few seconds..

===================================================
[MENTION=5401084]fa@iz[/MENTION] , [MENTION=3428781]subhashdas[/MENTION] I've attached 4 recoveries for testing I'm done for the day; Hope atleast one of these work.. try mounting the following partitions :=

a)sdcard1

b)sdcard2

c)/emmc

d)/system

e)/cache

f)/data

==============================

mount it manually via mounts and storage menu

and check if you can take a log in each of the recoveries.

If you can't take error log reports go to advanced and click show log and see if there are any warning/error messages if so please report them

Download Link := http://d-h.st/h8Z

Regards

MasterAwesome
[Micromax A110] Faaiz Puthawala:
downloadig...will report

and btw can u tell me how to take log...should i take with adb
[Micromax A110] MasterAwesome:
Go to advanced menu then go to show log. If your cache or sdcard gets mounted click report error if they are not mounting then type show log and reply here with any warnings / errors in the log.

Regards

MasterAwesome
[Micromax A110] Faaiz Puthawala:
RECOVERY0

DOESNT BOOT STUCK AT BLACK SCREEN AFTER LOGO

2.RECOVERY1

BOOTED...!!!!

SDCARD0,SDCARD1 AND CACHE BOTH NOT MOUNTING

3.RECOVERY2

SDCARD 1 MOUNTED

SDCARD 0 AND CAHCE NOT MOUNTING

4.RECOVERY3.

NO OPTION TO MOUND SDCARD

CACHE ALSO NOT MOUNTING

INSTALL ZIP--> SDCARD CAN'T MOUNT:cowboy:
[Micromax A110] MasterAwesome:
We'll continue tomorrow.

Regards

MasterAwesome
[Micromax A110] rohit83:
If sd card1 i.e. internal memory is mounted we can at least put rom zip file in internal memory & flash it? Correct me if i m wrong :confused:?
[Micromax A110] MasterAwesome:
I don't think /system mounted he didn't report that yet... Can you test them and tell me if /system mounted? If it did then you can flash it

Regards

MasterAwesome
[Micromax A110] subhashdas:
N

Test results

1. Recovery

Did not booted, only black screen

2. Recovery1

Booted to Recovery

A. Same opening page error at the bottom.

B. Mannual mount

No other partition mounted

C. Error Repor didn't worked

D. No file created in /cache/recovery

E. Show log

3. Recovery2

Booted to Recovery

A. Same opening page error at the bottom.

B. Mannual mount

/storage/sdcard1 mounted

No other partition mounted

C. Error Repor didn't worked

D. No file created in /cache/recovery

E. Show log

4. Recovery3

Booted to Recovery

A. Same opening page error at the bottom.

B. Mannual mount

No other partition mounted

C. Error Repor didn't worked

D. No file created in /cache/recovery

E. Show log

F. Change in option in the "Mount and Storage" menu

in place of mount /storage/sdcard0 or sdcard1 there were 2 same options "mount auto"

Note all show log content:

the show log content mentioned is incomplete some of the line were not visible as the moved up.

There is no option in the recovery for installing zip from sdcard1 at present.

---------- Post added at 10:16 PM ---------- Previous post was at 09:40 PM ----------

My internal storage (1gb phone memory ) is gone missing.

Can't find it anywhere, not in setting, file manager nowhere.

Last recovery installed was recovery2.

---------- Post added at 10:28 PM ---------- Previous post was at 10:16 PM ----------

@fa@iz

You have flash all the 4 recovery is you internal storage working ?
[Micromax A110] MasterAwesome:
In the second recovery log are you sure it said blocl cause then I wrote the partition name wrong

Regards

MasterAwesome
[Micromax A110] subhashdas:
[MENTION=5321417]MasterAwesome[/MENTION]

No it must be a spelling mistake it must be "block" as didn't see any spelling mistake in the log.

I found a ttol which claims to create latest cwm recovery 6.0.4.4, but i am unable to use it properly, as the recovery created with this tool stuck at boot logo, you could git it a try. I have posted the download link and the forum link.

forum link

http://www.chinaphonearena.com/foru...575-MT6515-MT6577-MT6517-MT6589-MT6582-MT6592

CWM Magic Tool download link

http://ge.tt/1LiUibJ1?c
[Micromax A110] MasterAwesome:
Looks like the sdcard0 itself is vold managed... try these recoveries http://d-h.st/VtF
[Micromax A110] Faaiz Puthawala:
GIVING IT A TRY WILL REVIEW SOON :fingers-crossed:
[Micromax A110] MasterAwesome:
But still trying to figure out why cache not working :/.

Anyway tell me if the both sdcard mount cause that's the only change I've done.. And check if you have a folder /dev/platform/msm_sdcc.1/mmc_host/mmc1

Regards

MasterAwesome
[Micromax A110] ##W4TCH0UT##:
MasterAwesome can you upload the recovery.fstab.... I will try to fix the errors and see why /cache partition is not mounting... Does the recovery boot??
[Micromax A110] Faaiz Puthawala:
here is the review

1.recovery0

no option to mount sdcard in mounts and storage

no partitions mounting

install zip from sdcard-->> can't mount sdcard

2.recovery1

same error as above no partions mounting and no option in advanced menu

AND NO FOLDER IN DEV FOLDER
[Micromax A110] subhashdas:
[MENTION=5401084]fa@iz[/MENTION]

Is you internal storage working???
[Micromax A110] Faaiz Puthawala:
ya bro in previous recovery there was an option in advanced so it was working
[Micromax A110] rohit83:
If internal storage is working for u then can u copy cm11 zip to ur internal memory n flash it? N tell if it's being flashed?
[Micromax A110] MasterAwesome:
[MENTION=5401084]fa@iz[/MENTION], Can you check if /system is mouting?
[Micromax A110] subhashdas:
No not in recovery,

when the phone is running normally using file manager can you use internal storage and external storage?

and

which was your last recovery flashed.

Ignore

internal memory started working after formatting it in pc.
[Micromax A110] MasterAwesome:
Try this recovery, tell me the log along with if cache , system , data is mounting...
[Micromax A110] subhashdas:
No partition mounting through mount and storage menu.

same error at the bottom.

log
[Micromax A110] MasterAwesome:
Looks like the system mounted though.. what do you mean? there's nothing in the mount and storage menu? nad looks like the sdcard1 mounted
[Micromax A110] subhashdas:
There are 8 option in the mount and storage menu

1 mount system

2 mount cache

3 mount data

4 format system

5 format cache

6 format data

7 format /boot

8 mount USB storage

in option 1 to 3 i received error

error mounting /system and so on..

noting happens when i try to mount USB.

There is no option for sdcard1 anywhere.
[Micromax A110] MasterAwesome:
The operation not permitted i think has something to do with mount types..

Here use Ubuntu and start Gparted the, connect phone and format internal sdcard to ext4..

I'm not very sure with this method but I cant think of anything else...

since twrp uses recovery.fstab v1 i can try building it... But, the size of recovery will be > 6 MiB so you need to repartition your entire phone like what i did for canvas 4. To repartition all you need to do is flash the stock ROM again using SPFlash tools using my scatter file.. Recovery partition increased to 8MiB since sec_ro partition is in reality only 112KiB it doesnt need a 6MiB partition.
[Micromax A110] subhashdas:
Can you expalin a little more

first i need to flash 4.1 stock rom using sptool then use ubuntu to format the internal sdcard to ext4, or vice verse.
[Micromax A110] MasterAwesome:
Don't format it just flash using sp flash tools with my Scatter file. Remember to select all the partitions. And I'll make a twrp

Regards

MasterAwesome
[Micromax A110] subhashdas:
error loading scatter file.

"

Error: initialising scatter file failed. please check the mane of scatter file which you load is legal"

should i use the stock name

MT6577_Android_scatter_emmc.txt
[Micromax A110] subhashdas:
error loading scatter file.

"

Error: initialising scatter file failed. please check the mane of scatter file which you load is legal"

should i use the stock name

MT6577_Android_scatter_emmc.txt

AFTER Renaming

which option to select.
[Micromax A110] MasterAwesome:
Rename it select all partitions and click firmware update.

Paste this Scatter file in the stock Rom directory

Regards

MasterAwesome
[Micromax A110] subhashdas:
thanks

now i understand.

Reporting in a few mins.
[Micromax A110] subhashdas:
error in sp tool

cant load sec_ro, secro.img

if i use the stock scatter file then there are no error in loading secro.img

should i flash without it.
[Micromax A110] MasterAwesome:
Oh.. Don't.. Wait how many MB is secro.img

Regards

MasterAwesome
[Micromax A110] subhashdas:
4253KB
[Micromax A110] MasterAwesome:
PRELOADER 0x0
{
}
DSP_BL 0x40000
{
}
MBR 0x600000
{
}
EBR1 0x604000
{
}
__NODL_PMT 0x608000
{
}
__NODL_NVRAM 0xa08000
{
}
__NODL_SECCFG 0xf08000
{
}
UBOOT 0xf28000
{
}
BOOTIMG 0xf88000
{
}
RECOVERY 0x1588000
{
}
SEC_RO 0x1c88000
{
}
__NODL_MISC 0x2188000
{
}
LOGO 0x21e8000
{
}
__NODL_EXPDB 0x24e8000
{
}
ANDROID 0x26e8000
{
}
CACHE 0x227e8000
{
}
USRDATA 0x428e8000
{
}
__NODL_FAT 0xa29e8000
{
}
__NODL_BMTPOOL 0xFFFF00a8
{
}

Use this

Regards

MasterAwesome
[Micromax A110] subhashdas:
every thing loaded correctly.

should i flash now?

or wait for twrp recovery.
[Micromax A110] MasterAwesome:
Give me 2-5 mins twrp is still compiling..

Regards

MasterAwesome
[Micromax A110] MasterAwesome:
Recovery TWRP : in the attachement

Recovery TWRP 2: in the attachment..

once you've used my scatter file you can use mtk uncle tools/fastboot to flash it spflash tools not needed
[Micromax A110] subhashdas:
Recovery.img gave a boot loop and

Recovery2.img stuck at boot logo.

do i need to flash bindassdost kernel?
[Micromax A110] MasterAwesome:
Hmm... And no you don't need to flash anything... Making another one...

I'll try philz recovery this time

Regards

MasterAwesome
[Micromax A110] MasterAwesome:
Try this : link in attachment
[Micromax A110] subhashdas:
Again Boot loop

goes to boot logo then black screen then again boot logo and so on
[Micromax A110] MasterAwesome:
Any other errors/problems let me know I'll try to help you :)

Sent from my Moto G
[Micromax A110] MasterAwesome:
I had this same error recently .. follow this,

repo sync
make clean&&make clobber&&make installclean
lunch devicename-userdebug
make bacon

If the error still persists try ~/cm11/system/extras/ext4_utils/Android.mk

delete the libselinux.so from there it might conflict with ext4_utils on old kernels. But first try syncing repo

---------- Post added at 05:13 PM ---------- Previous post was at 04:42 PM ----------

If you give me the device tree and kernel source git repo, I could build it for you. Or if have TeamViewer I could assist you in building the rom
[Micromax A110] ##W4TCH0UT##:
Thanks [MENTION=5321417]MasterAwesome[/MENTION]. Thanks for your involvement in this project. Owe you a lot.
[Micromax A110] MasterAwesome:
What are developers for other than to help their fellow developers. And, you're quite welcome :D

If you get stuck at some point feel free to PM or mention me in your posts.

I thought these guides could get in handy if you face errors:Making the boot.img{Mediatek}.

And, Making the rom{MediaTek}
[Micromax A110] ##W4TCH0UT##:
Thanks. Your guides are detailed and explained.
[Micromax A110] CODE_WORKX:
woah !! bro u are back.......

even consider me anytime .......for help......

and bro i have instaled BBQ linux 64 bit

:D
[Micromax A110] Jukel Rakesh:
Buddy progress update!
[Micromax A110] ##W4TCH0UT##:
Umm.... [MENTION=5321417]MasterAwesome[/MENTION] could you link me to a working device tree for any mt6577 device. I think I have to check my device trees.
[Micromax A110] MasterAwesome:
I have no clue.. If there is one I'll check it out or we'll have to make it. What do you say we start a devDB and we both work on this project cause I've got some requests... Well do it probably via TeamViewer? We'll start on Friday cause I'm out for a vacation. And I'll get my 250Mbps speed by then :P

MasterAwesome
[Micromax A110] ##W4TCH0UT##:
I'm up for it.
[Micromax A110] MasterAwesome:
Hurrah :P