yashsingh1/xdaforums huggingface dataset:
[Android General] kirito9:
Yeeeap, that's android for you well not really android but manufactures who don't want you modifying something you own? :confused: So then what is the point of me having this device if I can't do what I want to with it? Sadly Google can't do anything about it as they only provide the OS base, whatever the OEM decides to do they can.

Hmm not really sure you can.

I meant he has a guide for systemless root on 6.0 :), sorry for misleading you.

Sounds good, protecting that java code as well :good:.

That makes it a bit hard to determine which OEM it came from so we would know who hid the partition. Fierce XL came from MetroPCS so I know it's them, they also confirmed that they indeed hid the partition. Tracfone is another company that I know hides the fastboot partition and also prevents FLASHING the device without a code like seriously? This one is has an MTK SoC that you normally flash with SPFT but you can't.

Yeah, I've been in your position before, trying to root without a recovery. It was a bit easier back then when KitKat just came out where you could've pushed the files to the data partition and manually get the root but with Marshmallow and all these checks, just makes it more difficult. Hope I or you come up with something.
[Android General] kirito9:
I'll try the 5010E build again.
[Android General] kirito9:
What you need to do then is go back to the guide for flashing the ROM_0 file and at the preloader step, just check the box. Do not load anything, continue the guide and hopefully you should be back to stock.
[Android General] Summer Eges:
Please where is the guide? and give me comprehensive steps to follow. This is what you posted earlier, "Yup, if you cannot do this then you probably have to get someone else to do it and only upload the preloader file for you. Or a small hack I forgot to mention. Click on the preloader checkbox but do not load anything, it will still work .". I did not get it. Please the guide.
[Android General] kirito9:
I did send the guide, you probably didn't see it. Here is the link to my reply with the guide http://xdaforums.com/showpost.php?p=69532755&postcount=509
[Android General] Summer Eges:
So I should locate the ROM_0 file in the file path? What will be the begin address of the ROM_0 file? What is the region?
[Android General] kirito9:
Yes locate the ROM_0 file, the address is replacing the 3 non zeroes with zeros. What region? :confused:
[Android General] Summer Eges:
The region specifies I choose from either boot 1, boot 2 or EMMC. It's set at EMMC as default. So which 1?
[Android General] kirito9:
Take a screenshot, you're not doing something right.
[Android General] Summer Eges:
https://drive.google.com/drive/folders/0B8VH0f41bLR6a1FLUmN6U0lDckk?usp=sharing

The drop-down arrow has 3 options;

- EMMC_BOOT_1

- EMMC_BOOT_2

- EMMC_USER

When I clicked on "write memory" under Window toolbar, "EMMC_USER" is the default option. Did you get me now?
[Android General] kirito9:
EMMC_USER. Try it, never seen this option before.
[Android General] leosinto:
My 8050D has 540x960 screen resolution. I try to find replacement but all I can find is 1080x1920 screen. Can it work?
[Android General] kirito9:
Not really sure about screens so I'll say no.
[Android General] OldDays:
Hello kirito9, hello everyone,

On the french market is available a version of the 4" Pixi 4 with dual SIM support and an ARM Cortex A7 1.1 GHz chipset. Model number is apparently 4034D-2BALWE1. Since I cannot post external URL for now, you might want to look it up on the LDLC webshop.

This version looks different from the MediaTek-based ones for which the CM13 ROM has been developped.

Is there any chance it would be compatible ?

If so, would both SIMs function ?

Thank you for your help.

OldDays
[Android General] kirito9:
If you can adb pull the build.prop from /system, I can check and confirm for you.
[Android General] kirito9:
Hmm, it could be the root method, I didn't check to see if the 4034 has this problem. Are you using an app to change something/mount as R/W. This is a known problem on another Alcatel device with LP as default OS. The kernel needs modifications to allow R/W. Rooting with SuperSU doesn't even help.

If you want to maybe delete something, I would suggest either freezing it on using TWRP's file manager and delete what ever you need from the /system.
[Android General] MrKartupelis:
I also tried apps on play store, all of them are failed.

I need to use AdAway and without R/W it's impossible to use :( Probably I'll workaround with taking hosts file from my friend's rooted AdAway installed Note3 then delete old hosts file and paste new one in TWRP.

As far as I know we don't have kernel sources for 5010 officially, right? If you can send me the kernel source link for 5010, i can try to create R/W kernel.
[Android General] kirito9:
So far, kernel source is only available for the 4034 (Pixi 4 4"), it has a lot of compile errors out the box which isn't new with MTK.

Ahh, AdAway doesn't work for me either, never investigated it. Maybe I'll try to get the 4034 kernel booting. I did fix the compile errors tho and it compiles but doesn't boot.
[Android General] MrKartupelis:
fahimch's cm13 for 5010 scores as same with Pixi stock rom in AnTuTu, also comes with R/W support. But, The main problem is - none of CM13 roms as snappy as stock Pixi roms. I think TCL did really good optimization into their rom. But I still cannot able to understand their purpose about locking system read-only.
[Android General] kirito9:
Ohh so R/W works in CM. Nice to know. Not really sure either. Maybe a custom stock ROM would help? Not sure. But I had a problem on another stock Pixi 3 (developer options not staying enabled) and a custom stock ROM solved it.
[Android General] MrKartupelis:
I really don't know which part we have to edit in stock rom to enable R/W Access. I don't have that much knowledge :eek:

I'll try chmod 777 in TWRP to /system right now. (Let's brick eheheh :) )

755 looks better.
[Android General] kirito9:
Be sure to have that backup before hand.
[Android General] hacknmtk:
Actually I have a 5017O and I use AdAway with no problems. You'll have to go into the app settings and change the hosts file to /data/hosts. Then reboot into twrp and mount the partitions that aren't already mounted. Go to advanced and then file manager. Go into /system/etc and find the stock hosts file and delete it. Now back out of file manager and go into the terminal and if you're already shown as root "#" then you just need to add a symlink from the new hosts file to /system/etc by doing:

ln -s /data/hosts /system/etc/hosts

Now go back into the file manager and set the permission for /system/etc/hosts to 775. Reboot the phone and run AdAway again to update the hosts file. Then reboot the phone and you should be good to go. I've been running AdAway on my phone like that since I installed twrp and haven't had any problems with it not working. Set it to check for updates and install them on its own and you shouldn't have to do anything else with it. Just make sure when it does update the hosts file to do a normal reboot which will update the symlinked file in /system/etc on its own. Enjoy, and don't forget to hit the thanks button.

As far as kernel source goes, sourceforge does have the kernel source from Alcatel for a lot of phones. You'll want the 5017 one posted (not the B version which is for the Qualcomm chipset that was available in some of the Pixis). It is full of errors, files in the wrong places, and a lot of things need fixed to get it working correctly. I was working on fixing the source and getting it to work without having to modify anything but my health comes first so I haven't had the time to work on it in awhile. It is one of the things that MDT (hacknmtk, kirito9) is working on.

I do have the full source for a similar phone that I'm hoping to get to tweaking soon for the 5017. It's a 64 bit Lollipop stock ROM rather than the 32 bit that our phones came with. I'm a little hesitant to flash a new bootloader (lk and preloader) built from source since flashing the wrong preloader can hard brick the phone (almost the only way to do a hard brick, these phones are easy to soft brick and fix with no problem though).

Always make a full backup with SP Flash in case you need to reinstall the stock ROM for your phone. There's a few partitions that are unique to each phone so asking for a ROM to flash because you didn't do a full readback will most likely never have everything you need.
[Android General] mishurov:
Me too.
[Android General] OldDays:
That is kind of you.

Potential purchase depending on CM support to become effective, I am unable to share this file.

Perhaps some other member will let us know.

Had missed your message. Model number starts with 4034D ; it looks good then.
[Android General] RiceydDr0id:
Hay all can d 3g version number 4034x Alcatel pixi 4 I have just got my hands on b rooted? Looking for non PC method at d moment. Hope someone can help all d browsing iv dine has made me none d wiser if my model number 4034x can b rooted? Thanks all.. Nice lil phone.
[Android General] kirito9:
The LDLC website unfortunately doesn't provide enough into for me to check if it's running a Qualcomm processor or Mediatek.
[Android General] kirito9:
It can be rooted but via PC. There is no known non PC method at the moment.
[Android General] RiceydDr0id:
Dam... No worries I'll have a laptop soon. Tried framroot and kingoroot no joy. So looking like no root axx till I have a PC.

Thanks k.
[Android General] vVxiliVv:
Hey, i have just registered here, i do have some experience with flashing...

But i am confused. I bought a pixi (5010x) wich recovery can i use and wich cm is the right one. I have read trough the whole thread BTW.

Thanks!
[Android General] kirito9:
I made a mistake with the second post for the Pixi 4 (5), I had it as 4.5 that's probably why you didn't find anything for the 5010. Pixi 4 (5) = 5010 A/X/D/G.

You will find everything you need here for root and CM13.

Please make a complete backup with TWRP before flashing CM13.
[Android General] vVxiliVv:
Unfortunately cms looks buggy, no sim is a big nono, but hey at least it is there, good jib kirito:)

Is there any chance that there will be a working one?

And also wich custom recovery is better? Never heard of ctr before

Thanks!
[Android General] Proenkel:
at kirito9:

yes
[Android General] kirito9:
Follow these guide to make a backup of your device then I can begin with the recovery.

First install these:

Mediatek Preloader Drivers

ADB access anywhere

Then download these (get the latest version):

MTK Droid Tools

SP Flash Tool

Then follow this guide to create a scatter file:

Generate scatter file

And finally:

Create backup with SPFT
[Android General] Proenkel:
Hmm is this needed also if i don't care about a backup ?

The device is new and i don't have any data on there i want to backup.
[Android General] kirito9:
Lol, this method of backup doesn't backup data but backs up important partitions of the device., so you do need to make the backup.
[Android General] Proenkel:
I see ok ty :)

---------- Post added at 04:43 PM ---------- Previous post was at 04:29 PM ----------

Have an error here.

I am on windows 10, those drivers seem to be for xp,vista,win 7 ?

Edit: think i got it, they have a tutorial for win8+ as well, trying that now
[Android General] kirito9:
No worries, they will still work.
[Android General] Proenkel:
Ok i had an error trying to make a scatter file.

When i open MTKdroidtools

It loads info but it says this:

-->>> Connect to device <<<---

--- ERROR : --- TotalBytesPerChunk Not Found. Set default Page/Spare=2048/64 !!!

--- Unknown ROM structure, backup NOT possible!

ATTENTION! File /system/recovery-from-boot.p which restore factory recovery in case of phone switching on in a normal mode Is Found!

When i click Blocks Map, i see bmtpool but that's it, it does not load a list there so i can click "create scatter file"
[Android General] kirito9:
Try this one http://www.4shared.com/zip/P4H5Dv8-ce/Mtk_Droid_Tool_v253d.html
[Android General] Proenkel:
Same problem :(
[Android General] kirito9:
Give me a few minutes. I'll try to create one for you.
[Android General] Proenkel:
ok thx!!
[Android General] Proenkel:
Did you find a sollution ?
[Android General] kirito9:
Working on it. I'll send the stuff after if this works.
[Android General] Proenkel:
ok thx allot!
[Android General] kirito9:
Ok, download this Miracle Box and extract it. Disable your antivirus. Don't worry it's safe, the antivirus will just think it's malicious.

Turn off your phone, take out the battery (if possible). Open Miracle_Loader_2.27A.exe, go to the MTK tab, select save as scatter to get your scatter file. Click the start button then plug in your phone. It will ask you what partitions you want to backup, if you want select all (will take a while) or just select boot,recovery,system,preloader,custpack and whatever else you want but just make sure to get those. Click ok and then let the process continue.
[Android General] Proenkel:
>>SUM ERR:89000000 145480000 100000

Getting this message while reading userdata @25%

Does the battery needs to be out during the entire process ?

Or out after shutdown, then back in ?

Does the battery needs to be 50%+ charged ? Is this essential ?

---------- Post added at 10:50 PM ---------- Previous post was at 10:36 PM ----------

btw "custpack" was on in the block list
[Android General] kirito9:
Don't backup userdata, if you are doing everything let cache be the last partition and no battery isn't used. Yes take out the battery during the entire process.

---------- Post added at 05:51 PM ---------- Previous post was at 05:50 PM ----------

Ok, then make a backup of that too. But let cache be the last partition.
[Android General] Proenkel:
Ok i have it running now for everything and cache the last from that list.

"custpack" was not in that list, you say i need to make a backup of that one ? but how can i do this ?
[Android General] kirito9:
Oh oh I thought you said it was. Skip that then. Did you get your scatter file?

---------- Post added at 06:04 PM ---------- Previous post was at 06:00 PM ----------

Download this tool that I found today Miracle Box. Disable your antivirus. Don't worry it's safe, the antivirus will just think it's malicious. Extract it and open Miracle_Loader_2.27A.exe. Turn off your phone, take out the battery (if possible). Go to CDMA/Qualcomm/LG tab. Select the read option and press the start button, see if the tool detects your device.
[Android General] Proenkel:
Yes i think so , it says: done!

And i see it saved a bunch of .bin files and one scatter.txt file

---------- Post added at 11:18 PM ---------- Previous post was at 11:06 PM ----------

I am now trying to create the backup with SPFT.

But when i load in the scatter file, it says

S_DL_LOAD_REGION_IS_OVERLAP

please check partition size

But then it does show allot of stuff including, preloading, boot, system, preloader
[Android General] kirito9:
Depends on your preference really, TWRP has full touch and lots of features, CTR was mainly designed for devices with 6MB recovery partition limit as well as for MTK devices. I use TWRP as it has MTP etc. CTR is good too, test them and see which you like best.

Not sure if there will be a working on unless someone takes up the porting challenge and tries to port a new CM13. I don't have this device and it's really hard to work for a device you don't own (yet I continue to open threads :eek:)
[Android General] vVxiliVv:
so i have flashed twrp, the wierd thing after flashing it i can get into it, the problem is i can't get to boot to twrp again.

i can get into android and when i try to enter into twrp i only get to the stock recovery. why is that?
[Android General] kirito9:
Not sure, wrong TWRP maybe? Your model probably has a different kernel than what's inside of the TWRP. Try flashing the CTR, if you can boot into it,make a backup of your ROM and upload the stock boot.img so I can check the kernel.
[Android General] mishurov:
https://sourceforge.net/projects/alcatel/files/

There's no device tree for 5010D. I tried to make one based on Doogee X5 from M.A.D., got nothing. It boots but a great deal of the hardware doesn't work properly.

https://github.com/mishurov/android_device_TCL_5010D

Found another one

https://github.com/MTK-Devices-Project/android_device_mediatek_mt6580
[Android General] vVxiliVv:
[MENTION=5515628]kirito9[/MENTION] ctr formated my system when i tried to make a backup, i am not a noob i have experience flashing and with recoveries, dont know why it happaned.

Now i am on cm13 i had no other choice but i am using the 4pda one cuz it has only front flash light and radio bugged.

I dont know why twrp did not worked. Now it works, gues the cm zip flashed my original boot.img so i cant give you the original. The rom i am using is for 5010d it works and twrp tough its your version.

---------- Post added at 01:16 PM ---------- Previous post was at 01:15 PM ----------

Lot of tyos sorry.
[Android General] mishurov:
I have ROMs for 5010D.

Flashtool backup

https://yadi.sk/d/FaP73sIvz4gg3

Cleaned stock for TWRP:

https://yadi.sk/d/zcIKy0cPyYiCw

CM13 with working flashlight

https://yadi.sk/d/JNq6qncPyMfyT
[Android General] vVxiliVv:
[MENTION=7833711]mishurov[/MENTION] front flashlight works? And what about sim?

Thanks for the links.
[Android General] mishurov:
Sims work, mobile signals strength is always same in a tray, however dBs values in settings are right, it's a common bug for all ported from Doogee X5 versions of CM13 for MT6580 SoC, including those ones from this thread. FM Radio doesn't work.
[Android General] vVxiliVv:
Do i need to fpash the flashtoop backub with fastboot? I cant get pokemon go to work because of the root files.

Thanks!
[Android General] mishurov:
It's for SP flash tool, just in case. Although, if you want to make your phone factory default, it's better to use Mobile_Upgrade_S_4.5.9_Setup.exe.

http://alcatel-mobile.com/global-en/support/product?id=59047&model=PIXI4&submodel=PIXI 4(5)3G
[Android General] kirito9:
The files at sourceforge are not device trees but kernel sources. So far for the Pixi 4 devices, only the Pixi 4 4" model # 4034 kernel source is available. They might or might not help in getting that CM13 ROM fully functional.

Not sure what you mean by you "tried to make a device tree based on Dogee X5 but got nothing". What works and what doesn't work? Nice work btw :good:.
[Android General] kirito9:
Weird that it formatted your system :eek: do you have the recovery log so that I can check? To get back to the stock ROM you can use the Mobile Upgrade Tool linked by [MENTION=7833711]mishurov[/MENTION] above. Try the TWRP again and make the backup.
[Android General] kirito9:
Thanks for the links, I'll add them to the first post.
[Android General] mishurov:
Pixi 4 (5) has a similar hardware to Pixi 4 (4). Probably the screen size is the only difference. However it's better to wait the official kernel sources.

Work: WiFi connection, BT, Camera, Flashlights.

Don't work: Telephony, Sound, FM Radio.

CM doesn't see SIM-cards inserted, doesn't show an IMEI and a baseband info. I tried to use MediaTekRIL.java to make telephony work, it didn't help; tried to play with rootdir's *.rc files, it didn't help either.
[Android General] kirito9:
Yeah the Pixi 4 (4) sources can be ported to work with the Pixi 4 (5) if you have the right Project Config and correct drivers but this is more hassle then waiting for official sources. Don't expect the sources to be buildable out of the box tho, had to fix errors left by MTK :rolleyes:.

Check the vendor files, the firmware folder for Telephony and lib files for audio. Did you use Doogee X5 vendor files or you replaced those?
[Android General] mishurov:
I listed files from the Doogee X5 vendor repository and yanked those files from the stock system.img, also added some for camera, which I figured out fromc the "adb logcat" linker errors.

So, the firmware and vendor files are from the stock ROM. I don't know which libraries are related to the audio hardware and which ones are related to Cyanogen itself.
[Android General] vVxiliVv:
[MENTION=5515628]kirito9[/MENTION] the problem is that i can't get stock because the upgrade tool says tha i am on the latest version, is there a workaround for this? I would liek to get to stock :/
[Android General] kirito9:
Hmm strange, files from stock should work. I'm checking both device folders now, just skimming through. I'm thinking it could be something with the system.prop? You had a bit more than the X5. Not sure, could be an issue.

How about trying to copy the lib/hw audio files to your compiled ROM and only the modem.img to stock. See if that'll solve anything, if it does you can update your vendor files.
[Android General] kirito9:
Never found a solution for that since I've been using that tool. Try restoring the TWRP backup and try with MUS again.
[Android General] mishurov:
These are the binaries from the stock ROM I used during compilation.

https://github.com/mishurov/android_vendor_TCL_5010D

There's probably a reason to compile ROM without any vendor binaries and then to try to push them one by one and to tweak the vendor files collection.
[Android General] kirito9:
Yeah, maybe not all stock binaries are compatible with CM.
[Android General] vVxiliVv:
so i have the "CM13 with working flashlight" flashlight really works, renamed su in bin and xbin directories with twrp and now pokemon go works fine, cm13 on my phone, tottaly cool, expect that i dont have root, i can easly rename su again tough...

Only problem is the battery, it is really weak, it was weak with the stock rom as well, anyone else?
[Android General] MrKartupelis:
Does cleaned stock one comes with Root?
[Android General] mishurov:
No, it doesn't. I suppose the method from the first post should gain a root access.
[Android General] keemi:
5010X/Pixi4-5 get update
[Android General] vVxiliVv:
[MENTION=4209402]keemi[/MENTION] would you be kind enough to reset your phone to factory and make a backup with twrp?
[Android General] KCO:
works fine xposed in pixi 4 4" ???
[Android General] AndroidFan13:
superuser.zip intalation aborted #

I did all the commands but did not install root :crying:
[Android General] kirito9:
Do you have the OTA update.zip? If you do can you kindly share it for other Pixi 4-5 users :).
[Android General] kirito9:
Yes it does.
[Android General] kirito9:
Not enough information, what Pixi 4 model do you have?
[Android General] AndroidFan13:
Thanks for answering

I use a 4 pixi model 4034E ...
[Android General] kirito9:
Which recovery are you using? TWRP or CTR.

EDIT: I have the same problem, looking into it.
[Android General] keemi:
[MENTION=5515628]kirito9[/MENTION] They did not give ota, update from Mobile Upgrade S 4.5.9, i can upload files from Mobile Upgrade

https://mega.nz/#!b5YzkTiI!WGuzOgGqzB9HqB9vMc_vv8_Cm70wNalEv-SpTRMCGSA
[Android General] kirito9:
Thanks, will link it to the first post.
[Android General] Shahriar Rahat:
A little bit confusing..........

Working

SIM

Wifi

Vibration

Bluetooth

Sound

Flashlight

Camera

Led Notifications

Not working

SIM

Camera

GPS

Bugs

You tell me...

-------------------------------------------------------------------------------

i am confused about the list what are working & what are not. Plzz kindly clear it.

---------- Post added at 12:52 AM ---------- Previous post was at 12:48 AM ----------

------------------------------------------------------------------------------

What are working in cm13v2 & what are not?? (5010D).......

plz give a list on it...........
[Android General] kirito9:
I'm not sure what is working and what isn't. I didn't post this ROM, only linked it from a user here.

Edit: I made the change. I don't have the Pixi 4-5 so can you do the bug report for me? Make a backup of your stock ROM before tho.