yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Boocy:
** Why to create backup **

So the main reason I am making this tread is that there are soo many phones out there with MediaTek chips and a very few of these phones maybe just 5% of them have a STOCK ROM uploaded somewhere online for you guys to download and unbrick your soft bricked phone, after trying to do God knows what with it.. Also there is a lot of confusion between models on the market, since there are many of these Chinese phones with the same model name, maybe they even look the same but they do have different hardware inside. So when you install ROM "for your model" you can get soprised that the phone just won't start.. you might even hard-brick it, and then you can safelly throw your phone in garbage.. :)

And since even rooting your phone can get it bricked also, the safest way to go is to backup your STOCK ROM before trying to do anything..

** How to create backup **

Here is detailed explanation on how to create STOCK backup for ANY MediaTek phone or tablet: http://blog.morrison.nl/how-to-backup-and-install-cwm-on-your-no-1-mini-pad-rom/

P.S. I suggest using "MTK Droid Root and Tools" version 2.4.3 becouse that version worked just fine for my MT6589 device with Android 4.2.1, probably it will work for other chip versions too..

You can see in that tutorial that they have said that you should copy the hex code after the cache image ( http://blog.morrison.nl/wp-content/uploads/2013/07/Capture9.png ), but on that way you will not get userdata and chace from your phone, and it is recomended that you get that too.. Soo take the code after "NODL_EMTPOOL" or if that can't go, use the code after "NODL_FAT"..

After you are done with that tutorial you will have STOCK backup of your ROM, and you will have ClockWorkMod recovery installed on your phone.. :)

But even after that, I recomend you that you create backup with "MTK Droid Root and Tools" as well as with the CWM Recovery...just in case.. :)

** Rooting process **

Well, I am sure that you will all easily find one click solution for rooting your phones as soon as you google it with your Android version and chip model.. But still, here are some suggestions:

* MT6575/MT6577 devices with ICS

Just use MTK Droid Root and Tools that you have used for backing up your ROM.

* MT6575/MT6577 devices with Jelly Bean

These phones used to be tricky to root since you used to port CWM recovery for your ROM, but now after you backup your rom and install automated ClockWorkMod recovery created by "MTK Droid Root and Tools", all you need to do is copy this file: Root_Superuser_3.1.3_Busybox_1.20.2-Update1-signed.zip on your SD card, get into CWM Recovery and install the ZIP.. Rooting Done! :)

* MT6589 devices with Jelly Bean

http://gleescape.com/posts/2376

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

If this Guide helped you don't forget to hit Thanks Button. :)

.
[Android Q&A, Help & Troubleshooting] Boocy:
Reserved.
[Android Q&A, Help & Troubleshooting] nsrk:
Backing up stock rom

bro i use Intex Aqua 3.2.......which is on GB........can u plzz gimme a working tutorial of stock rom backup as well as rooting process.....its mediatek device with chipset MT-6575
[Android Q&A, Help & Troubleshooting] Boocy:
Use my tutorial to make a backup for your phone, then it is not dangerous to try out every rooting option out there, to see wich one is good for you ;)

Cheers bro ;)
[Android Q&A, Help & Troubleshooting] oRmA2:
Thanks!

I have rooted the Alcatel One Touch Scribe HD

but is there any way to install any custom rom or even cyanogen mod or even aosp roms ?
[Android Q&A, Help & Troubleshooting] Boocy:
Maybe yes if someone has created ROM specificlly for your model.. but very often if you are beginer things might get complicated, so first backup your cellphone in the way I have described in this thread, and onlly then you can go arround and try out some custom made stuff.. :)

After you back up your phone, there is this cool thing called GravityBox developed only for MT6589 Android 4.2.1 users, but I think that new releases are compatible with Android 4.1 too.. I honestly think that is better then any custom ROM.. :)

Regards,

Emrah. :)
[Android Q&A, Help & Troubleshooting] Klown80:
FYI - You need to be rooted to use back up option in MTK Droid Tools unless your device has an insecure kernel by default. Otherwise the back up button will be greyed out in root, backup, & recovery tab

Also, you might to give credit for MTK droid tools to [MENTION=5119815]rua1[/MENTION] in your first post, he is guy that made MTK Droid Tools and he also gave a full set of instructions on how to use his tool here:

http://xdaforums.com/showthread.php?t=2160490
[Android Q&A, Help & Troubleshooting] Boocy:
Before using MTK root and tools backup it is required to have rooted phone and it is possible to be done using the smart phone flash tool for getting the image out of phone, after that load the image into mtk droid root and tools and "extract it" during "extraction" mtk droid root and tools will ask you if you would like to create CWM recovery image.. click YES, after that using CWM recovery you can root your phone in no time. :)

Regards,

Emrah.
[Android Q&A, Help & Troubleshooting] Boocy:
I did not try to take credit for anything (any app) but putting all this stuff in one post so the guys that buy phone with MTK chip for first time can help them self more easily.

Regards,

Emrah.
[Android Q&A, Help & Troubleshooting] Klown80:
Lol, I am very familiar with using MTK, I was taught by the great Rua1 himself and Master Yuweng . I know full well how to use SPFT to pull images from device as well as how to use MTK. I was pointing out that you stated numerous times that you should make a back up before trying a root method. This is simply not possible without root or an insecure kernel. :good:

Also - I did not say you were taking credit for Rua1's tool, I was just pointing out that is is pretty standard practice on XDA to give credit to the proper person when you post their tools.
[Android Q&A, Help & Troubleshooting] Boocy:
I am sorry, but I might have miss understood you.. Are you trying to say that it is impossible to get image out of the phone with SPFT without the root? Because by "creating a backup" I meant on that. And that is possible, at least it worked for me on 3 phones so far. :)

About the credit thing, noted, I'll edit my first post. :)
[Android Q&A, Help & Troubleshooting] Klown80:
Hi,

Sorry for any confusion on that part, Yes you can pull files from phone using SPFT without being rooted. But in order to use MTK DT to make a back up the device needs to either be rooted or at least have an insecure kernel to use the back up function in MTK DT.

By following your directions above to pull the stock recovery img with SPFT then use MTK DT to port a CWM based recovery that is compatible with your specific device and flashing it to your device first then allows you to root very easily by flashing a superuser.zip (or superSU.zip). I remember the days of having to use unpack and repack scripts with plug ins in the android kitchen to port CWM or TWRP to these MTK devices but Rua1 made it quite simple by adding these functions into MTK so it does all the work for you on the most part now. Or were you meaning pull the stock boot.img and have MTK use it to make an insecure boot.img and flash that to phone, as it allows you to use back up function?

Thanks! ;)

*EDIT* You were perhaps meaning use SPFT to pull a complete back up from phone first, before rooting? That is possible without root, you just cant use back up function in MTK DT without root
[Android Q&A, Help & Troubleshooting] Boocy:
Yeah, I meant on pulling the entire image of the phone.. :)

And about that cooking in Android Kitchen.. yeah, I remember these days.. I actually did that on MT6577 with Android 4.1.1, God, it took me one entire day to figure out the entire process.. hah :D ..here it is: http://xdaforums.com/showthread.php?t=2236360

Regards. ;)
[Android Q&A, Help & Troubleshooting] Klown80:
Lol, yep Yuweng taught me how too, he is a great guy for sure!
[Android Q&A, Help & Troubleshooting] Boocy:
Hehe.. yeah :)

Hmm, I have a question, I mean.. I know this is not the place where I should ask this, but anyway.. here it goes:

I have MTK MT6589 phone with Android 4.2.1 and I would like to enable OTG functionality.. is it possible that I do that, and I would appreciate if you could give me any directions.

Regards,

Emrah.
[Android Q&A, Help & Troubleshooting] taha mustafa:
hi ! i bought ht desire 310 single sim and 1 gb version a few days back and got a software update i installed it and the phone rebooted normally but im facing a problem ... the phone reboots after every 3 mins if i use it or charge it, it just happened after the update, i need help if some one can guide me the phone only remains on in recovery mode or factory mode and yes it is a media tek device its not rooted
[Android Q&A, Help & Troubleshooting] Boocy:
This thread can help you to backup your current firmware or root the same, also to restore the firmware you have backed up using methods described in this thread.. I can't help you if you do not have original firmware mate. Sorry.

Now you should remember to always use this thread to back up your stuff before updating.. but then again you said ht desire, if you meant htc desire 310, then htc should have original firmware all arround the net.. hah :D

If no success try this:

Step 1. To exclude the possibility of conflicts from 3rd party applications, please try restarting your phone by press and hold the "POWER" button > choose "Restart" in Phone options pop up window.

Step 2. Try stopping any newly installed applications that might be running on the device.

If no success try this: http://www.htc.com/hk-en/contact/email/

Regards.
[Android Q&A, Help & Troubleshooting] bilal.fanatic:
Please tell meif this method can this be used to root mt6582 running kitkat??
[Android Q&A, Help & Troubleshooting] Boocy:
Don't know about your specific device and the rooting.. this is pretty much old thread, but give it a shot with backuping first.. I bet this method should work. :) After that you can try rooting in any way you find online without bricking your device.

Regards.
[Android Q&A, Help & Troubleshooting] bilal.fanatic:
Thanks for your response. I have a gionee peioneer p4. Dont know much about it.
[Android Q&A, Help & Troubleshooting] nicorb:
Hi all and thanks for this thread !

I have managed to install custom cmw and make back ups both with cmw and mtk tools .Problem is that when press SuperUser in the mtk tools ,the process goes on forever without completing.

My device is an mls iQTalk Crystal Max Dual ,mt6577,(iQ1600), on android 4.1.1 and Kernel 3.4.

I also , tried to install su via cmw with "Root_Superuser_3.1.3_Busybox_1.20.2-Update1-signed.zip" .Got success message in cmw flashing ,but after boot up there's no su root ,even after intall of su app dl from google store....So,any help here ?? ..Pls !!!
[Android Q&A, Help & Troubleshooting] dangerouSoul:
Help with backup

Hi i don´t know how to backup my phone smart 3 mediatek 6575. when i click on the article for stock backup only a picture is there =(. My phone is already rooted. I need cwm to install a different rom. Any help will be appreciated =)
[Android Q&A, Help & Troubleshooting] Juanpb12:
can anyone update links please? thank you so much!. best regards.
[LG Optimus L9 P760, P765, P768, P769] jtragna:
I'm getting ready for the new update for the US L9 and I would like to know what I would need to do since I am rooted with Busybox installed... I would like to know if I should uninstall Busybox and unroot, or is that not necessary, thanks!

Sent via LG Optimus L9 US
[Sprint Samsung Galaxy S III] Quetzalcoatl:
I've been on the cm 10.1 rc2 since it was released without issue.

I'm constantly listening to music stored on my sd so I know this problem is short lived.

Last night my phone would start skipping every couple of songs and eventually it would stop reading the sdcard. A restart would fix this for about 5 minutes. All of today up until about 20 minutes ago my phone would constantly say "preparing sd" or "sd card removed unexpectedly"

I tried removing and reinserting the sd card multiple times and same issue. My sd card became inaccessible on my phone. I tried accessing it via twrp and it worked sort of. It was EXTREMELY laggy trying to navigate through sd card contents.

I thought my sd card was gone so I put it in my evolte and the phone read it no problem and played my music no problem. I put it back in my s3 and it still wouldn't do anything. Now it seems to have fixed itself but I wouldn't be surprised if it happens again soon
[Sprint Samsung Galaxy S III] prboy1969:
It sounds like the SD Card is on it's way out. But you might be able to salvage it. I use SD Formatter. It works wonders. I would back up everything. Then format the SD Card.
[Sprint Samsung Galaxy S III] Quetzalcoatl:
Thanks, I'll try formatting it. The odd thing is my s3 stopped reading the sd card completely but I popped it into my evolte and its reading it just fine.
[Sprint Samsung Galaxy S III] Quetzalcoatl:
Just an update. Haven't had a chance to format the card but my evo lte has had no trouble reading as where my s3 wont even detect when the card goes in
[Sprint Samsung Galaxy S III] styles420:
It is still possible that the problem is the sd card - if the evo has better sd hardware, then that could explain why it isn't affected yet...

But it is also possible that the gs3's hardware is starting to fail - one way to test it is to try another sd card in the gs3. If it reads the other card just fine, that should be enough to reasonably rule out failing hardware (trying the card in a different phone is a good step, but not definitive proof by itself). If you don't have any spare sd cards, see if you can borrow a friend's for a minute (no need to alter their files, so hopefully you can find at least one person who won't have any objections)
[Sprint Samsung Galaxy S III] Quetzalcoatl:
Well I've put in 3 different cards right now, including the one that initially gave me trouble(without any fotmatting) and the phone has read all of them no problem.
[Sprint Samsung Galaxy S III] styles420:
Weird (hopefully in a good way) - did you make any changes to the phone between then and now?
[HTC Droid DNA] crpalmer:
init.d tweaks

I created some scripts that run on boot (init.d) because I install my kernel so many times that I would go insane if I had to use an installer to configure it each time. By using these scripts and configuration files on the sdcard, I can just configure it once and keep installing away to my heart's content.

After installing this kernel, there will be:

/system/etc/init.d/99crpalmer

run at boot, even if you switch to another kernel. It is safe to leave this file there and to let it run as it only makes changes if the kernel contains "crpalmer" in the version. If run with a kernel that contains crpalmer in the version, it will rename mpdecision so it can't run. If you install another kernel it will then rename mpdecision back so that it will run in the new kernel. In addition to stopping the built-in mpdecision it will allow the following tweaks:

CPU Frequencies

* Frequencies loaded from /sdcard/crpalmer-cpufreq-min and /sdcard/crpalmer-cpufreq-max

* Governor loaded from /sdcard/crpalmer-cpufreq-governor

* If you specify either or both of these frequencies, it will lock down all of the CPU frequency controls. I had to do this because HTC overrides them in a script that is run very late in the boot process (thanks HTC!).

* E.g. adb shell su -c "echo 192000 > /sdcard/crpalmer-cpufreq-min"

* E.g. adb shell su -c "echo 1728000 > /sdcard/crpalmer-cpufreq-max"

* E.g. adb shell su -c "echo interactive > /sdcard/crpalmer-cpufreq-governor"

Undervolting

* + or - value loaded from /sdcard/crplamer-uv

* The undervolting in 2.0.23 for FAST binned CPUs would be specified as:

* E.g. adb shell su -c "echo -100 > /sdcard/crpalmer-uv"

Lightsensor

* My light sensor changes didn't sound like they worked well for everyone. If you don't like them you can disable them by:

* E.g. adb shell touch /sdcard/crpalmer-stock-lightsensor

HTC Colour "Enhancement"

* If this file is present then the HTC's colour "enhancement" will be used, otherwise it will be disabled.

* If this file contains the string "m7" then it will use one of the colour enhancement that was used in the M7 kernel for a panel most like ours.

** E.g. adb shell touch /sdcard/crpalmer-color-enhancement

My WIFI Won't Turn On

If your WIFI won't turn on then the most likely cause is that either you didn't flash the boot.img (e.g. not S-OFF) or your modules don't match the kernel. To figure out what's wrong, first boot the ROM after having installed my kernel. Second, verify that you are running my kernel by running

adb shell cat /proc/version

and seeing that it says crpalmer in (it should match the version that you think you installed, but at least saying crpalmer is a good start). Then do:

adb shell dmesg -c

(turn on wifi)

adb shell dmesg

and look for an error that says crpalmer in it (something like a module version mismatch error). If you see that, it should tell you the version number of the modules that are installed and the version of the kernel.
[HTC Droid DNA] crpalmer:
reserved
[HTC Droid DNA] crpalmer:
Note for those of you used to an existing kernel of mine.

This kernel involves reporting all of my changes to a new base. As such, it is likely to have some issues at the moment. Please let me know if something isn't working right.

This kernel is based on Linux 3.4.10 and not the latest 3.4 Linux kernel. I may change that in the future, but for the time being it makes it easier to try to move code to and from the CM repos to leave it at 3.4.10 and therefore I won't be changing that for now.

This kernel does not contain my thermal driver. I haven't spend the time to port it to this kernel yet and the stock seems to be working a lot better than the DNA one. Therefore, I may never bother porting it.

This kernel does not contain force fast-charge. I may add it again the future.
[HTC Droid DNA] d08speed3:
This cant work on the latest unofficial CM correct?
[HTC Droid DNA] shobon:
The title says they're for the official nightlies, so I'd doubt it.
[HTC Droid DNA] Arte Suave:
Just flashed this. I'm new to your kernel init.d settings. How do I make them run exactly?
[HTC Droid DNA] CrimsonKnight13:
Excellent work as always. Looking forward to every new release.
[HTC Droid DNA] d08speed3:
Kernel is running great! Can you pleassssssse add fast charge :)

---------- Post added at 07:18 AM ---------- Previous post was at 06:40 AM ----------

Scrolling does feel choppy
[HTC Droid DNA] JoshDB:
Not sure how relevant this is to folks, but my phone's running PPSSPP games, most noticeably Dissidia 012, much better with this kernel and CM10.2 than it was with the 4.3 roms from about a week ago.
[HTC Droid DNA] crpalmer:
I just posted a new release. I have been completely flicker free today running this kernel. It could be a fluke, but at the moment I am (once again) optimistic that we might have a solution.

If you have bad flickering on CM ROMs, can you let me know how this version works for you?

Version 4.1.1: September 10, 2013: GPU / Display / Clocks / Flicker?

* Synch the GPU code with the M7 / upstream

* Make the display code more inline with the M7 / upstream, use the proper late_init ./ early _off interface

* Add missing clocks

* These changes (most notably the clocks change) may have improved the screen flickering (only time will tell).
[HTC Droid DNA] d08speed3:
I see you added smartmax governor. I've never used it have you? Just wondering.
[HTC Droid DNA] crpalmer:
That'd coming from the stock kernel. I haven't played with it at all.
[HTC Droid DNA] schott12521:
This kernel is amazing so far; it fixed the wonky boot image thingy, and most of my flickering is gone as well, and mine was pretty bad occasionally. Lets see if it holds tomorrow. Only other thought is maybe USB OTG, but thanks CrPalmer.
[HTC Droid DNA] erikmentze:
Rock solid on my device, but I've never had very bad flickering (knock on wood). Thanks for the great work!
[HTC Droid DNA] alejobog:
Thanks, could please fix the autofocus of the camera that does not work!
[HTC Droid DNA] crpalmer:
Any positive or negative reports on the flickering with 4.1.1?
[HTC Droid DNA] mike_augie:
none here sir..... none seen .. running cyanfox
[HTC Droid DNA] crpalmer:
Did you have a lot, a little, some flickering on older kernels? How long have you been running it?
[HTC Droid DNA] mike_augie:
Been running cyan since day of release and both Ur kernels for 4.3 l since u put them out a few days ago ... Had slight flickering nothing hard core like some had reported could see it more in bright light but seems to have almost totally took care of mine ...
[HTC Droid DNA] starcms:
Edit: never mind. It worked for the first boot, created the log file, but no go after that with 4.4.14 or 4.4.15. All my other init.d scripts work fine.

Edit2: Fixed the issue. For some reason on the latest nightlies, init.d scripts aren't able to read or write to /sdcard/ I changed every instance of /sdcard/ to /data/ in the scripts, copied the config files from sdcard to data, and all's good.
[HTC Droid DNA] pyroguysf:
How can I grab dmesg output? The second post implies it should work, but I just get "klogctl: Operation not permitted." I'm on amit_sen's Slim 1.6 with 4.4.15 right now, but its my understanding that the ROM shouldn't matter for that since logging is all managed by the kernel (correct me if I'm wrong). I know there's other ways to get the info I'm looking for, but I'd like to be able to use dmesg. Same result on CM 10/7 nightly with stock kernel.
[HTC Droid DNA] crpalmer:
Are you doing this:

adb shell su -c dmesg > localfilename.txt

? adb on CM based builds does not automatically become root and you must be root to run dmesg.
[HTC Droid DNA] El Ha$on:
Can also use this app to get different kinds of logs easily. Link is to the play store.

http://goo.gl/KHykHc

Sent from my Droid DNA on 4.3!!!
[HTC Droid DNA] loctorn:
Settings > Dev Options > Root Access change to include ADB

*Hit the thanks button if I helped you*
[HTC Droid DNA] pyroguysf:
ADB had root and I previously tried "adb shell dmesg" "adb shell su dmesg" and probably a few other things, but it only works with the -c as posted above, thanks. Out of curiosity, what does -c do? Is it an argument for su or something different entirely?
[HTC Droid DNA] El Ha$on:
Haven't had one of these in the longest but was watching a video on YouTube and has a random reboot.

Here's the last_kmsg

http://goo.gl/QvMDiV

Sent from my Droid DNA on 4.3!!!
[HTC Droid DNA] crpalmer:
I don't have permission to access that log.
[HTC Droid DNA] El Ha$on:
Alright this one should work now.

If it doesn't then I'll have to wait until I get home from work. Thanks for your help.

http://goo.gl/qaoqic
[HTC Droid DNA] crpalmer:
That one I can access, but there is no indication that the kernel crashed. What happened? Did it go to the white HTC splash screen or directly to the CM spinning splash screen?
[HTC Droid DNA] El Ha$on:
I was browsing Facebook. Clicked on a link to view a video on YouTube. Video started playing. While watching video I switches from portrait to landscape and then I get the white HTC splash screen.

I tried to recreate it but this time it didn't happen.

Sent from my Droid DNA on 4.3!!!
[HTC Droid DNA] Gungrave223:
hey it seems that the alarm is still some what broken, by which i mean it doesn't plays if you have BT headset connected. And it use to sound out loud even with BT connect before. (it still vibrates, but that doesn't wake, luck I'm smart enough to have 2 alarm clock or i would not have made it to work today lol)
[HTC Droid DNA] .torrented:
Next time you get a random reboot or w/e that was you got, grab the last_kmsg
[HTC Droid DNA] El Ha$on:
I did. And I posted it. Crpalmer mentioned that the last_kmsg posted did indicate that the kernel crashed so he asked to describe what happened.

Thanks though!

Sent from my Droid DNA on 4.3!!!
[HTC Droid DNA] .torrented:
Ah ok my bad sorry.