yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] kirito9:
It said the page was removed. Send the link in a PM. Upload the build.prop file and await further instructions.

---------- Post added at 07:25 PM ---------- Previous post was at 07:12 PM ----------

According to this...http://pastebin.com/yXxgJdzv. It doesn't seem to find your sdcard. Do you have an sdcard in the device?
[Android Q&A, Help & Troubleshooting] Kamefrede:
Yes I have an sdcard on the device
[Android Q&A, Help & Troubleshooting] kirito9:
Trying creating the folder on the sdcard as specified in the log.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Done but still the same result
[Android Q&A, Help & Troubleshooting] kirito9:
Alright, give this a go https://forum.hovatek.com/thread-13347.html.
[Android Q&A, Help & Troubleshooting] Kamefrede:
This is confusing I installed the driver it asked me to install but when I clicked to power up the phone it installed another preloader driver and now I have two and I can't get it to work
[Android Q&A, Help & Troubleshooting] Kamefrede:
Okay on a further note I managed to do it but then to my surprise Miracle Box says >> Not supported

Edit: I noticed I accidentally double posted, sorry mods!
[Android Q&A, Help & Troubleshooting] kirito9:
Ok, let's revert back to the first method. Did you try both tools? Did you try to create the directory that was there?
[Android Q&A, Help & Troubleshooting] Kamefrede:
Yes I did both with my phone and with adb on my phone it straight up wouldn't let me and on abd it said permission denied.
[Android Q&A, Help & Troubleshooting] kirito9:
Hmmm, it seems that you need root for this to work. I'll try it on my device and see if it detects it.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Oh, but don't the most common root methods involve using a zip file through a custom recovery?
[Android Q&A, Help & Troubleshooting] kirito9:
Indeed they do but there are one click apps that work too like Kingroot. If Kingroot doesn't work then more then likely you need to root using a custom recovery.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Kingroot doesn't work on my phone, but custom recovery seems impossible for my device, this is confusing is my device unrootable?
[Android Q&A, Help & Troubleshooting] kirito9:
Not necessarily, but sometimes these things take time. I don't have the device for myself so I can't try anything with it so for now. I'l do more reading and get back to you.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Okay thank you!
[Android Q&A, Help & Troubleshooting] Kamefrede:
Sorry for double post but I want to ask if it is possible to trick the alcatel mobile upgrade software in order to get a stock rom out of it? ( also found preloader and scatter files for my phone don't know if they are useful or not).
[Android Q&A, Help & Troubleshooting] kirito9:
Should be useful yes, another way to try and get the backup of your files. When you say trick can you elaborate? I think I know what you mean but not quite.

Can you upload your scatter file?
[Android Q&A, Help & Troubleshooting] Kamefrede:
By trick I meant leaving the program running long enough so it will download the files and compress them and then unplug my phone before it goes to the next step which is flashing my phone, I did it and now I have .mbn files but I don't know what to do with them!

And i'll pm you the scatter file
[Android Q&A, Help & Troubleshooting] kirito9:
Ohh yeah, you can actually do that. I did it once but what I think the newer versions of the tool does is saves the files for you locally, before I think you had to copy them before flashing. I got the scatter.

EDIT: Alright, this good. First of all install the MTK Preloader drivers, depending on what Windows you're running, instructions may vary. Do a quick google search to find out how to install.

We can use this scatter file and a program called SmartPhoneFLashTool (SPFT) to make a backup of your ROM. Download the latest version from here and extract it. Go to the folder and locate flash_tool.exe, run it as administrator and then go to select scatter. Locate your scatter file you got and see if it loads.

If it does, go to the readback tab of SPFT, click on add then choose the path to where you want your ROM_0 file to be saved (your partitions backup). Another box should pop up asking for address length, use this address as your length "0xda000000". It's the cache partition. This ensures that all your files above cache are backed up. I would try userdata but I've never been able to successfully backup userdata.img along with the other files.

When all that's done, turn of your device, wait a few seconds and then click on readback. Connect your device to the PC.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Oh yeah it saves it locally I just realized now there is a folder with my device name and the mbn files on the program folder
[Android Q&A, Help & Troubleshooting] kirito9:
See my edited post.
[Android Q&A, Help & Troubleshooting] Kamefrede:
I got ERROR: STATUS_ERR (0xC0010001)

Edit: I tried again and got ERROR: STATUS_SEC_AUTH_FILE_NEEDED (0xC0030012)
[Android Q&A, Help & Troubleshooting] kirito9:
Hmm, checking it now.

EDIT: Press either CTRL+ALT+S or V and see if there's another menu with authentication file. Select the one from the SPFT folder and try again.
[Android Q&A, Help & Troubleshooting] Kamefrede:
None of these hotkeys work and there is also no authentication file in the SPFT folder
[Android Q&A, Help & Troubleshooting] kirito9:
Interesting...this is what I found on another site.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Yeah I put a random auth file that I found in the mobile upgrade software and the second error you quoted is the one that appears, odd. ( the auth file is for a pixi device)

Also maybe there is a auth file in the stock rom I downloaded from the alcatel mobile upgrade software, how would I go about extracting the mbn files?

Edit: Quick question non removable batteries don't impact rooting/flashing right?
[Android Q&A, Help & Troubleshooting] kirito9:
They can in some way in regards to the device connection to the PC. Some users have to press the volume up/down button while connecting the device to the PC to get it detected.

Not sure how to extract mbn files, I've searched but nothing useful found. Maybe I'll go from the second error, might give me more than the first.
[Android Q&A, Help & Troubleshooting] Kamefrede:
The thing is the STARTCMD error now appeared even though I didn't have an auth file in
[Android Q&A, Help & Troubleshooting] kirito9:
There seems to be another version of the SPFT with SecBoot that's said to work on devices with locked bootloader. Give this one a try, it might work.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Oh so the unlock bootloader option in the developer settings doesn't really unlock the bootloader?

Edit: That flash tool says the file name is not legal and it doesn't seem to do anything when I click read back and connect my phone and tap the power button
[Android Q&A, Help & Troubleshooting] kirito9:
Not necessarily, it allows you to have the right to unlock it. Speaking of that, did you already unlock your bootloader? This might be a reason why you get this error.
[Android Q&A, Help & Troubleshooting] Kamefrede:
No I didn't unlock my bootloader I have no clue how to do it
[Android Q&A, Help & Troubleshooting] kirito9:
You can unlock it by following this.
[Android Q&A, Help & Troubleshooting] Kamefrede:
erm... when I did adb reboot-bootloader it just booted into android normally

Edit: also tried adb reboot fastboot, same thing

One question: My phone's encryption isn't messing this up right?
[Android Q&A, Help & Troubleshooting] kirito9:
I think it's reboot booloader without the hyphen.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Didn't work still :/
[Android Q&A, Help & Troubleshooting] kirito9:
Alright, try to get the back with the new SPFT I posted.
[Android Q&A, Help & Troubleshooting] Kamefrede:
I did, that one said that the scatter file name was not legal and didn't recognize my phone at all
[Android Q&A, Help & Troubleshooting] kirito9:
Hmmm, I'll keep checking.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Just one thing: I think my phone has full disk encryption, could that be the reason it won't let me boot to the bootloader/fastboot?
[Android Q&A, Help & Troubleshooting] kirito9:
I doubt as other devices has this as well but they can boot to fastboot.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Okay!
[Android Q&A, Help & Troubleshooting] kirito9:
I found this .... https://www.youtube.com/watch?v=UjmNXtlHd_s. Not sure if you wanna try it.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Link inside the video leads to one of those websites that you have to click ads to download, so yeah I don't think its legit
[Android Q&A, Help & Troubleshooting] kirito9:
Yeah probably not legit.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Good news, I mean kinda, after tinkering around a bit when I set the SPFT version you sent to USB mode it detected my phone, bad news is that it errored with S_BROM_CMD_STARTCMD_FAIL
[Android Q&A, Help & Troubleshooting] kirito9:
I'll ask a dev for assistance :P.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Thank you!
[Android Q&A, Help & Troubleshooting] kirito9:
I might have to just port/build TWRP for you and let you flash, from there you can backup partitions.
[Android Q&A, Help & Troubleshooting] Kamefrede:
But don't you need a boot.img or a recovery.img from my device for that?
[Android Q&A, Help & Troubleshooting] kirito9:
FP...lol yes yes I indeed do.
[Android Q&A, Help & Troubleshooting] Kamefrede:
This is weird I pressed random buttons while trying to read back the device download DA appeared 100% but then it said device ctrl exception something and now my phone is using a different COM port name instead of Mediatek USB Port it's Mediatek DA USB VCom but SPFT doesn't recognize it
[Android Q&A, Help & Troubleshooting] Kamefrede:
Edit: I'm an idiot nvm

and sorry for double post
[Android Q&A, Help & Troubleshooting] kirito9:
Random buttons? :P What buttons might those be? Did you install the preloader drivers?
[Android Q&A, Help & Troubleshooting] Kamefrede:
I was trying to get into fastboot mode but by accident only held the volume up key and yes I have the preloader drivers installed
[Android Q&A, Help & Troubleshooting] kirito9:
Hmm, progress. What do you get with just volume down.
[Android Q&A, Help & Troubleshooting] Kamefrede:
It also worked momentarily until it errored again
[Android Q&A, Help & Troubleshooting] kirito9:
Do you think you can get the error in detail? Maybe we can go from there.
[Android Q&A, Help & Troubleshooting] Kamefrede:
status_protocol_err

edit: and also status_device_ctrl_exception
[Android Q&A, Help & Troubleshooting] kirito9:
Great, I'll get on it.

---------- Post added at 07:03 PM ---------- Previous post was at 06:31 PM ----------

See here

and

Also see here.
[Android Q&A, Help & Troubleshooting] Kamefrede:
I am using the latest(I think) sp flash tools downloaded from the link you provided. And will that ter work in my phone?
[Android Q&A, Help & Troubleshooting] kirito9:
Well like the user said, they got the latest one from the same site (androidmtk) and it wasn't the latest. So check elsewhere for the latest version. I was just showing you the files they used to get the drivers installed. Maybe try from scratch and follow it and see if they will help.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Hey, sorry for the late reply, I downloaded the latest version ( atleast I think it was) and followed the steps from that website, still the same result tho
[Android Q&A, Help & Troubleshooting] kirito9:
Hmm alright, still strange. Maybe have to revert back to the one click methods. I don't know of any that can root android 6.0 tho.
[Android Q&A, Help & Troubleshooting] Kamefrede:
I don't think there are any one click root methods for android 6.0 at this point in time.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Double post but, literally just sent a ticket to alcatel to see if they know how to unlock the bootloader of the device, they'll probably just tell me to f off but worth a shot I guess
[Android Q&A, Help & Troubleshooting] kirito9:
Worth a shot indeed.
[Android Q&A, Help & Troubleshooting] Kamefrede:
After doing some digging around and searching ( and still no reply from alcatel customer service) I found out that the reason I can't go to fastboot and such is because alcatel disabled fastboot on newer devices, and I can't find a way to enable it
[Android Q&A, Help & Troubleshooting] kirito9:
The Qualcomm Alcatel device has this issue as well and there's no way around it. At least most Alcatel MTK devices aren't supposed to have the fastboot boot locked where as the Qualcomm models are all locked. I managed to compile and boot on an Qualcomm based device that has the fastboot locked and the recovery booted. Otherwise they have to reflash their entire firmware to fix the soft brick they get when they flash a bad TWRP.

It would've been nice if you were able to get root at least, then you probably could've backed up the partitions and use SPFT to fix. But it seems like they even locked you out of SPFT.

Android is sadly becoming more like Apple.
[Android Q&A, Help & Troubleshooting] Kamefrede:
I still have faith that some crazy russian developer will find a way to root and install twrp on this device until then I'll keep browsing google everyday to see if anyone has done it! Thanks for all your effort though!
[Android Q&A, Help & Troubleshooting] kirito9:
Haha you know about the Russians? They're really good. I hope someone finds a way and you're welcome.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Hello again!

I May not have found a russian who rooted my device but I Managed to extract the mbn files! Although under temporary names since i don't know which is which but I need your help!
[Android Q&A, Help & Troubleshooting] kirito9:
Interesting, how did you extract them and screenshot? Not sure what you really mean.
[Android Q&A, Help & Troubleshooting] Kamefrede:
So here is everything I did: Firstly I let the firmware download from the Alcatel Mobile Upgrade software, then I converted the .mbn files to .img files using a perl script because unyaffsmbn wasn't working, then I downloaded a program to extract system.img and android image kitchen to try and identify the boot.img, after using those both tools I have partially extracted boot.img and have fully extracted system.img

Screenshots:

[IMG="system.img"]http://i.imgur.com/I85Ygfo.png[/IMG]

[IMG="boot.img"]http://i.imgur.com/ARYq3RP.png[/IMG]
[Android Q&A, Help & Troubleshooting] kirito9:
Great, we can use these to get a working TWRP. Do you think it's possible to make a guide for getting information from the mbn files. I'll try it and actually get a feel of what's what.
[Android Q&A, Help & Troubleshooting] Kamefrede:
I guess I can try I'm not that good at making guides but I'll try:

Software/scripts needed:

https://www.cygwin.com/

http://pastebin.com/b0QtkxiF

https://github.com/osm0sis/Android-Image-Kitchen

http://arun700s.blogspot.pt/2016/01/tool-unpack-repack-systemimg.html

Alcatel/Any kind of firmware that comes in .mbn format

1. After installing cygwin and having the mbn files, launch cygwin, navigate to the folder where the mbn files are and paste the script, replacing system.mbn with whatever the name is of the .mbn file you want to use and replace also system.img to the respective name

2. If the .img file you are trying to extract is the system.img ( generally the largest) you need to use the tool to extract the system.img, open the tool, click pull file, paste system.img in there, press unpack system.img, type 1 and click enter and you're good to go just wait a bit and it'll be extracted. (NOTE: for this the file has to be specifically named system.img

2.a If the .img file you are trying to open is another one besides system.img, use the osm0sis android image kitchen, just drag and drop the file into the unpackimg batch file and it'll be extracted into a folder named ramdisk

I guess that's pretty much it, but do you necessarily need the recovery.img for twrp or can you use system.img?
[Android Q&A, Help & Troubleshooting] kirito9:
I'm assuming that having native Linux or even VM would work in the case of Cygwin. So now that you've made a guide (it's good, I understand it :) ), I can see where you're at. Upload those .img files for me, just boot and maybe recovery if you have it and I'll work with those for now. I have tools to extract them so it's fine.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Partially one of the reasons I did step 2 and 2a is because it is impossible to tell which img is boot and which one is recovery so i'll upload all of them Right here!

And also the mbn's in case you want to double check if I did the process right or I somehow managed to corrupt the files. MBN's here

PS: I now realized in my earlier links I was putting the link name as the link and the link as a name
[Android Q&A, Help & Troubleshooting] kirito9:
Cool, I'll check them after I've finished with something here.
[Android Q&A, Help & Troubleshooting] Kamefrede:
Any progress with the files?
[Android Q&A, Help & Troubleshooting] rictec:
hello guys on this post i got one of this beasts and will start backing it up pretty soon

so any known methods to root it that you know of?

anyone did a stock rom backup ?

any custom recovery?

thank you

PS: found a scatter and a preloader for this device i wonder if the boot is locked or if i can readback the rom...
[Android Q&A, Help & Troubleshooting] rictec:
hello

now i got a scatter a DA and a preloader now who as a shine_plus.auth file for sp flash tool ...besides alcatel of course lol

i really want to do a rom dump before a i do anything else with this phone...
[Android Q&A, Help & Troubleshooting] rictec:
well i tried unfortunately this is not a device for the likes of me ..i want to root, unlock , customize and rebuild rom and this device is 100% locked down the boot is locked and fastboot is locked too...with no way to unlock without major digging

since it as also some very low quality in terms of camera, network stability and other annoying things i give it up ...so dont have it anymore

if you are not on the deep dig business stay away from this device...

Thank you
[Android Q&A, Help & Troubleshooting] kirito9:
Seems you can't do anything with this device because they locked the bootloader/preloader. Not even flashing a custom recovery.

---------- Post added at 08:25 PM ---------- Previous post was at 08:21 PM ----------

Do you by chance remember the script by the XDA member? The pastebin link has expired.
[Android Q&A, Help & Troubleshooting] rictec:
you cant is a developer brick and they have no intention of giving us a boot unlock/fastboot unlock ..well i ditched that device because of that if i wanted to stay locked out of a device i would probably get a i-thing...
[Android Q&A, Help & Troubleshooting] Kamefrede:
Hey,

Sorry for the late reply but here is the script

cat system.mbn | perl -pe 's/(\xFF{5}\x00{4}\xFF{54})[^\xFF]{10}(\xFF{16})/\1\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\2
/g' | perl -pe 's/(\xFF{32})\xA8\xCF\x56\xCF\xFA\x43\x09\x9F\x79(\xFF{32})/\1\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\2/g' > system.img

I thought you had given up but I hope I was wrong!
[Android Q&A, Help & Troubleshooting] kirito9:
Thank you, I didn't give up I just had to take some time off from XDA for a while. As [MENTION=235359]rictec[/MENTION] said this device bootloader cannot be unlocked and flashing may brick it. No backup can be made because modifying the device in anyway using SPFT has been restricted.
[Android Q&A, Help & Troubleshooting] Kamefrede:
So it's pretty much impossible to do anything with the device?
[Android Q&A, Help & Troubleshooting] akash14darshan:
Try iRoot , worked for me though.

You need a pc for iRoot to work
[Android Q&A, Help & Troubleshooting] Kamefrede:
I tried iRoot but it failed, what device did it work for you?
[Android Q&A, Help & Troubleshooting] akash14darshan:
My Device is Spice Mi526n MTK6592M

I suggest you to try making your kernel insecure before trying kingroot again.

To make your kernel insecue :

Download boot.img for your device suited for the rom.

Decompile it using Android Kitchen or any other tool (Google for img decompiler)

Go to ramdisk , find default.prop , edit it using notepad++

Chance or add

ro.secure=0
ro.adb.secure=0

Then Recompile and Flash Kernel ,and try iRoot , There is high possibility that it may work now
[Android Q&A, Help & Troubleshooting] Kamefrede:
Problem is I can't find a boot.img for my device nor can extract it from the rom.
[Android Q&A, Help & Troubleshooting] akash14darshan:
Dumping a boot.img is easy .

Method1 , Easiest

-su
-df
-cat /proc/partitions

Now that you have your boot partition ,

-dd if="boot partition" of="/system/boot.img"

Once the code runs successfully , you will find your kernel in /system

Method2, Experimental

Download MTK Droid Tools

Install Proper drivers for your phone and Connect phone to pc

Open Mtk Droid took and Click Root at below.

Once the Box at left turns green , click backup boot,recovery.img

After Completing the process , you may find both the images at /backup/"your device name"/

Cheers
[Android Q&A, Help & Troubleshooting] Kamefrede:
I can't do su command because my phone is not rooted and the MTK droid tools method doesn't work
[Android Q&A, Help & Troubleshooting] akash14darshan:
For stock rom , here you go

https://drive.google.com/file/d/0Byi69Jpw2ZDtZFJZMnQ4V0t2am8/view

Extract it using 7-zip and you'll find your boot.img

PS:

I completely forgot that it was root that we tried to achieve here :p
[Android Q&A, Help & Troubleshooting] Kamefrede:
I extracted it with 7-zip and extracted the file inside and there was the what I assume is the android kernel to be compiled, there was no boot.img
[Android Q&A, Help & Troubleshooting] akash14darshan:
Im Sorry to tell you this , but what I'll tell you now is a difficult to do process.

I'll tell you the basics What you should actually do:

i)Open MTK Droid Tools

ii)Click Block Maps

iii)Click Create Scatter File

iv)Save it in Desktop

v)Download and Open SP Flash tools

vi)http://www.droidgyan.com/readback-backup/

Note:Step where it mentions not to create a cwm , DONOT press NO,Click Yes , we want a custom recovery for the device ,right?

After Getting new recovery.img , flash it using sp flash tool.

Flash only recovery , untick everything else

After flashing , boot into recovery , Go to advanced options and Verify Root

This will automatically install Root binaries , and on boot , You'll find supersu.

If you have any prob , contact me ...

---------- Post added at 06:44 AM ---------- Previous post was at 06:27 AM ----------

But before trying the above step , can you try if your stock recovery supports sideload?

To check sideload , connect your device to pc

-adb reboot recovery
-adb devices

[IMG="Example"]https://i1.wp.com/techbeasts.com/wp-content/uploads/2016/03/ADB-Sideload.png[/IMG]

If it does , it might be extermely easy to get your device rooted in no time.

Cheers
[Android Q&A, Help & Troubleshooting] Kamefrede:
The readback method doesn't work on my phone, my recovery has an option that says enable adb, after selecting it it says -- enable adb ... -- please reset ... and I don't know what to do after that
[Android Q&A, Help & Troubleshooting] akash14darshan:
Readback works in every Mediatek phone.

i)What error message does it show while readback?

ii)Did you turn on your phone and plug it in ,pressing power button or did you just plug in your turned on phone.

iii)What drivers do you have installed?
[Android Q&A, Help & Troubleshooting] Kamefrede:
i) STATUS_SEC_AUTH_FILE_NEEDED, STATUS_BROM_CMD_STARTCMD_FAIL, STATUS_BROM_CMD_SEND_DA_FAIL

ii) I unplugged my phone, turned it off, plugged it back in and press the power button.

iii) I have mediatek vcom preloader drivers installed that [MENTION=5515628]kirito9[/MENTION] linked some posts ago
[Android Q&A, Help & Troubleshooting] akash14darshan:
I have pda4net and mobistel installed.

Can you confirm the driver and check if spflash is the latest version you have..