yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] Nudeldampf:
I'm very sorry, I made a mistake in my post :( Good thing you mentioned it!

The only way I got PhilZ recovery working was with flashing the R14 kitkat build first on both phones. And after that flashing the custom recovery.img (trying to flash the custom recovery with the rest of the R14 build in one step did not work). And with that working I could install Cyanogen or Miui or whatever, I tried a few roms out there.

Everything works fine with the crocodile phone, but not the smooth one. The smooth one starts flickering right after flashing R14 kitkat, so that once booted into recovery it is very hard to navigate there. Anyhow I did the same steps for installing Cyanogen blindly and it worked. Cyanogen on the smooth phone. Still with flickering, but weirdly enough much less and those now half-transparent lines seemed to be stuck on their place, not moving anymore. And yeah, it looks as strange as it sounds when I try to explain it :D

The flickering issue seems to only appear on this newer batch with the smooth backplate, some other users on other forums noticed the same problems after they tried to flash a kitkat build.

The crocodile phones seem to be the better ones, hehe. The only visible difference I can see between those two phone versions is that the screen from the crocodiles is a bit brighter.

Trying to flash the custom recovery.img with PhilZ on a R21 build does not work, when trying to get into recovery after flashing everything you get is just a black screen. So this custom recovery.img from the Cyanogen thread is designed only for kitkat builds.

Again sorry for this misunderstanding!

As for the R24 update, I tried flashing it through adb, but as I see it this is not working? "adb install" lets you install apks only, "fastboot flash" only img files. There is a way with "adb sideload update.zip" but it seems to work only with a custom recovery? It did not work with the stock R21. Don't know for sure, I'm a bit confused - I tried all of this, but nothing besides pushing the zip onto the phone proved successful and resulted in the errors above.

And thanks for the link about the recovery file :)
[General Questions and Answers] tvladan:
I got it now! So no luck in R21 either ... no need for me to bother with it than. :((

One more question: When flashing custom recovery image what tool did you use? The built in from the recovery installer? ADB? SP Flash Tool with scatter? If you used SP Flash Tool did you use download only or upgrade? 'Cause I used download only ... and I am thinking maybe I should of used upgrade?

Also in the boot.img there are some mofidications that need to be made to unlock / insecure the adb /fastboot as follows:

unpack boot.img using kitchen or whatever tool you find on the net (i used bootimg.exe from here:http://xdaforums.com/redmi-1s/general/guide-unpack-repack-kernel-t2908458)

in unpacked image folder enter the rmdisk folder or whatever name the unpack tools gives it (there is one folder after unpack) and search the default.prop file. edit it with notepad++ (since it does not change the file type) and change the following:

ro.secure=0

ro.debuggable=1

persist.service.adb.enable=1

and the most important one:

persist.sys.usb.config=mtp,adb (this is for the usb device to be recognized by the pc after setting insecure mode with ro.secure=0) if persist.sys.usb.config=mtp,adb does not work just use persist.sys.usb.config=mtp (or adb try one of the time and see which one works, for me worked the first with both, just need to disable / enable usb debugging in the phone with the phone connected to usb and the pc recognizes the device). There are other options to change here, just search default.prop editing on google.

After making the above changes repack the boot.img and flash it with sp flash back to the phone. Reboot phone and you will have root privileges in adb. From here on there are lots of possibilities: root, instal unsigned updates, etc. Just google this and there are lots of tutorials / guides, even for rooting with adb push. I tried to instal ChainfireSU with this method but could not get it to work, probably because of the KingUser APK that was intalled on my phone.
[General Questions and Answers] Pepo1980:
Link for rooted and repartitioned R21: 4pda.ru/forum/index.php?showtopic=627212&view=findpost&p=41740502

(post 2053)

There are also instructions for flashing - it is required to format memory area where will be new partitions.

I am using it now on my DG700. There is SuperSU preinstalled, internal partition is 4.11 GB.

There are many informations and links for DG700 in first post - partitioning, recovery..., I did not tested anything.

I can also read very little in russian, I am mostly using google translation to czech...
[General Questions and Answers] Nudeldampf:
I used the latest SP Flash Tool with the scatter file from the R14 build to flash the custom recovery.img with PhilZ and with download only setting.

If you select the firmware upgrade option you can't select only files you want files from the list - because you'll notice it changes to download only in an instant. So upgrade seems to be flash everything there is and download is for just specific files instead of all. Although I didn't notice any difference when flashing for example the R21 build one time with upgrade and one time with download :eek:

Thanks for the informations about the boot.img, I'll try to bring this to good use :D

As for the R24 update - sometimes I really am stupid. I just installed it with the built in bootloader.. I totally had forgotten that you can bring it up after the android icon with the red exclamation mark when you press Power and Volume up again. From there I chose the update.zip, installed and after a few minutes R24 was working. Sometimes I just have to think about the basics :)

---------- Post added at 01:58 PM ---------- Previous post was at 01:55 PM ----------

Thank you very much! :) I'm downloading right now and will test it as soon as its finished!
[General Questions and Answers] tvladan:
Downloading now !!! Planning to flash only boot.img and recovery.img from the root_system_img, if that does not work will flash the entire image. Hopefully I can port my USERDATA partition and keep my apps and data installed ... Be back with results ... this might take a while :) ... Thank you [MENTION=6942647]Pepo1980[/MENTION]

LE: After a first look this is just offician R21 with modified system.img to include root su and apk and modified EBR files ... no custom recovery :(( It is still better than nothing !!! :P
[General Questions and Answers] Nudeldampf:
In short, I did a clean flash: IT WORKS!! :D

Boy, am I happy right now, this is awesome :)

The recovery seems to be the stock one, but Lollipop is rooted and partition size is much better as well!

I'll just register there to thank the maker of this and then download a Carliv custom recovery for Lollipop (http://4pda.ru/forum/dl/post/6181314/CWM_Carliv_LP.rar).

Thank you so much [MENTION=6942647]Pepo1980[/MENTION] :)

And I also have to test this on the other version of the phone with the smooth backplate, but I'm pretty sure this will work as well
[General Questions and Answers] tvladan:
That is good news indeed ... now to see if I can recover my USER DATA ...

The link to the custom recovery apeares broken .... maybe if you register you can ask for a relink? Or if it works for you you can reupload it somewhere?
[General Questions and Answers] Nudeldampf:
I think the download link there will only work if you're a registered user on their forum. I'm trying to register, but they won't let me :crying:

First I had to search for an online typepad because typing a captcha without a russian keyboard layout is... painful :D But apparently they don't like Google Mail nor some german Mail Services I tried.

Google Translate shows this: "Due to the persistent problems of postal services Rambler, we have to restrict the registration of addresses @ rambler.ru. Recommended to choose other mail service." I'll try some more Mail services I know of, we can't stop now now we're so close to wonderland :D

Or maybe the registration to the forums is geo blocked, but that would make no real sense.
[General Questions and Answers] tvladan:
[MENTION=6942647]Pepo1980[/MENTION] might help ... maybe he has an account there or something ... I tried to register with my office@company.ro mail account and still no luck :(

LE: After 100 flashes and soft bricks all I got were bootloops so far ... :(
[General Questions and Answers] tvladan:
Ok, here it is rooted with ChainfireSU, repartitioned to 4GB app space 1GB internal storage.

Custom Rom Based on R21 Lollipop official build for DOGEEE Titans S2 DG700, with proper root, and modified internal storage space:)

NO CUSTOM RECOVERY

Before rooting make a backup using this method here

Download zip, extract, flash with SPFlashTools enter stock recovery erase data / cache, than boot android

If something is wrong or not working report back PLS !!!

All the credits go to this guy here from 4pdaRU. I merely took his 2 scatters, flashed them and then read back into one scatter.

download link: https://drive.google.com/file/d/0B8ogUl7TK0cpRHVLeTV3cmlwcVU/view?usp=sharing
[General Questions and Answers] Nudeldampf:
I just can't get through their Captcha System - it always tells me the code does not match :(

I'm using this typepad to get the right characters and as it seems the Captchas always only differ in the two numbers in it. The other characters are always the same and are always at the same place. Yet I cannot complete registration.

EDIT: Haha. okay. As it turns out users in Reddit had the same problems with this kind if Captcha and like someone there posted - the captcha wants a calculation.

плюс: plus

равно: equals

Now I've registered myself and will see if I can download the recovery and of course thank those awesome people. Just have to translate from english to russian first :)
[General Questions and Answers] Pepo1980:
Yes, it is necessary to register. I just succefully register 4pda with Gmail. Tricky is that captcha. It is not needed to write anny russian characters. In captcha is trivial math equation, like "71 plus 73 equals". You need only write "144".

Then confirmation mail with activation link arrives (to spam folder...).

In sign in form is better check checkbox "Я не могу ввести ответ" (I can not answer) and mail with signin link will arrive. (The captcha in sign in form is more tricky, you need to count numbers in text)
[General Questions and Answers] Nudeldampf:
Hehe thank you, that is exactly what I did now :)

So here's the CWM Carliv Lollipop recovery:

https://drive.google.com/file/d/0B0miMZWBwOtwN1hXc1VSM1ZLLUk/view?usp=sharing

Haven't posted there to thank those guys so far, I want to see if this works first :)

But if you load the scatter into the Flash Tool it throws an error that "PMT changed for the ROM; it must be downloaded" and then stops :(
[General Questions and Answers] Pepo1980:
I did not tested it yet. But witch scatter are you using? If you flashed this rooted R21, you have to use scatter from that R21 package. It has different memory mappings.
[General Questions and Answers] Nudeldampf:
Yes, I tried that one after the scatter coming with the recovery. It did flash to 46% and then broke up with an error message. Recovery on the phone is still the stock one after that, but in the FAQ on top of the thread there are some more custom recoverys with TWRP. I just downloaded them and will test them the next minutes after I did a clean reflash with the rooted R21.

---------- Post added at 11:31 AM ---------- Previous post was at 10:54 AM ----------

Okay guys, we are golden! :)

The TWRP recovery works, here is the link - flash it with the scatter from the rooted R21:

https://drive.google.com/file/d/0B0miMZWBwOtwSkgtR053Z1ZjS2M/view?usp=sharing

Credits for this recovery go to hanuma50 from 4pda.ru :)

So now we finally have a rooted R21 with customized partition layout and custom recovery. Awesome! :D

EDIT: Forgot to mention that Flash Tools will throw an error after flashing the TWRP recovery. Just ignore that, pull off the phone and reboot - it will work.
[General Questions and Answers] smallking055:
Nudeldampf how did you do that?

But if you load the scatter into the Flash Tool it throws an error that "PMT changed for the ROM; it must be downloaded" and then stops
[General Questions and Answers] Nudeldampf:
Did you try the new TWRP I posted or the previous Carliv? The error you had was the same I had when trying to flash the Carliv recovery.. forget that, take the TWRP I posted above and flash it with the scatter from the rooted R21 build :)
[General Questions and Answers] tvladan:
I bypassed the "PMT changed for the ROM" error using FirmwareUpgrade. That formats all the images and redownloads them. In order to do that you need ALL the images in scatter (boot, recovery, ebr, etc) ... Or you cand try to create a new scatter from the existing installed rom on the phone using MTK Droids and use that one in download only mode.

Happy to se we are going somewhere with this :D [MENTION=6718315]Nudeldampf[/MENTION] you are the king man! BIG THANK YOU !!!

TWRP works and after reboot? No need to erase / rename the recovery-from-boot.p file ? I just can't wait to get home and try it myself :P

Other than MyBackup Root and Titanium Backup I din not found a solution to port USRDATA.img from R16 that I had to R21 that I have now installed :((
[General Questions and Answers] Nudeldampf:
Too much of honor, those russian guys did the magic and the awesome [MENTION=6942647]Pepo1980[/MENTION] pointed us to the right forum :)

Btw, I can confirm this is working for the newer version of the phone (the one with the smooth backplate) as well!

Now to install sweet XPosed Framework, hehe :)
[General Questions and Answers] tvladan:
Of course BIG THANK YOU to [MENTION=6942647]Pepo1980[/MENTION] TOO he is also the king !!! ... I wonder where [MENTION=5074219]NaturalBornCamper[/MENTION] is ... he is missing all the fun here ...
[General Questions and Answers] Nudeldampf:
Yup, I turned the phone on and off a few times, but TWRP stays and works also after reboots, no need to change anything at all :)
[General Questions and Answers] smallking055:
some problem.....

I use flashtool v.5.13.52.200 load scatter rooted r21 and load your TWRP.

where am I wrong?
[General Questions and Answers] Nudeldampf:
Hmm.. did you use the combined scatter [MENTION=4913970]tvladan[/MENTION] created or the original package from the 4pda.ru here?

I used only the files from the russian forum and the Flash Tool provided with them (Version 5.1524.00.000) and they worked fine with TWRP for both of my phones.

---------- Post added at 01:58 PM ---------- Previous post was at 01:21 PM ----------

Okay, I thought maybe I should write down how I did the clean R21 flashing with the recovery, hope this helps others :)

- Download the rooted and repartitioned R21 package from here.

- Unpack everything to a folder of your choice

- Shut down the phone and open SP Flash Tools provided with the package, load the scatter from the R21 folder

- Click on the Format Tab, tick Validation and Manual Format Flash, enter the values 0x0000000045F80000 and 0x000000018CC80000, then click Start and only then connect your turned of phone

- When it is finished it will present a green ring

- Unplug the phone and go to the Download Tab, it should be filled with the data from the R21 scatter file (except for FAT, just ignore that)

- Click on download and only then connect your still turned off phone again

- When it is finished it will present a green ring

- Unplug your phone and turn it on, first start will take up to ten minutes, just be patient and wait

- When the phone has booted up and everything seems fine, turn it off again

- Load the scatter from the unpacked root_system_img folder

- Click on Download and only then connect your turned off phone

- When it is finished it will present a green ring

- Unplug your phone and turn it on again, you'll see it will update one file.

Now for installing the custom TWRP recovery:

- Download the recovery from here

- Turn off your phone and load the R21 scatter file into SP Flash

- deselect everything and click on the location column from RECOVERY. This will open a dialog in which you will choose the recovery_TWRP_2860_DG700_LP.img

- make sure the only thing selected is RECOVERY with the recovery_TWRP_2860_DG700_LP.img file, click on Download and only then connect your turned off phone

- After flashing you will be presented with a error from SP Flash. Just ignore that, unplug the phone and turn it on.

To get into recovery you have to hold the Power and Volume up key when turning on the phone. This will present you with a little menu with three options: Recovery, Fastboot and Normal.

You can swich between them with Volume up and select your choice with Volume down. Select Recovery and after a few seconds you will be presented with the Touch TWRP recovery.

The custom R21 build and the images used above were made by Yalita35254 for his instruction for this customized R21 made by him.

The custom TWRP recovery belongs to TEAMWIN and [MENTION=4478781]yuweng[/MENTION]!

Credits for the TWRP port for DG700 go to Hanuma50.

All credits go to these guys, I just merely used their work for this instruction.
[General Questions and Answers] Pepo1980:
I also succesfully flashed recovery_TWRP_2860_DG700_LP.img using scatter from package R21_root_system_img.

SP_Flash_Tool_Win_v5.1524.00

Thanks for testing.

Please can someone let me know about successful installation of xposed framework?
[General Questions and Answers] Nudeldampf:
Yep, I can confirm that :)

I installed the xposed-v74-sdk21-arm.zip from http://xdaforums.com/showthread.php?t=3034811 and rebooted. It then upgrades Android and is rebooting three or four times before loading the system. After that I installed the XposedInstaller_3.0_alpha4.apk and from there XPrivacy. The only thing I don't understand right now is why XPrivacy is showing me only 0/78 items to restrict?

EDIT:

Okay, my bad. I just had to adjust the filter to show system applications because I simply had no user applications installed - stupid me :D So I can confirm XPosed Framework and XPrivacy are working well! :)
[General Questions and Answers] tvladan:
I confirm that xposed can be installed now. Just reboot and let android do the updating after flashing with custom recovery. Also...does anybody know any must have modules besides gravitybox .
[General Questions and Answers] ariel2222:
first of all, a big "thank you" to every one who worked so hard those past months.

one question- can i use the Nudeldampf's tutorial with lollipop 5 R21 installed?
[General Questions and Answers] tvladan:
Before that if you have any important data I recommend making a backup at least with my backup pro or titanium, but yes you can flash over r21. If you get any errors please report back. I plan making one image with repartition, root, twrp for spflash tool later this evening and post it here to make things simpler and install everything in one flash.
[General Questions and Answers] ariel2222:
In that case, good sir, I will wait.

can you also make a guide for us noobs out there...:D
[General Questions and Answers] tvladan:
post deleted because it does not work ... will return after more study of this ...
[General Questions and Answers] Nudeldampf:
Awesome work, thanks a lot!! :good: :)

Maybe we should ask [MENTION=5074219]NaturalBornCamper[/MENTION] to include this in his first post of this thread so that more people will find it?
[General Questions and Answers] NaturalBornCamper:
WAAAAAA!!!!! HOLY DAMN MOTHER OF GOD!!!

I got so much to say, I could write a book hahaha!

First, I did not check XDA in three days and more happened in this time than in the previous months! I'm so sorry for not being part of the fun, testing, flashing, tinkering, I'm really sad I missed all this haha! I read ALL your posts with a growing smile on my face and took notes on what I would do, and advice for you guys too, but all of this is so pointless now, it's pretty much all done hehe!

Again sorry for not helping much, I did so much flashing in the past that I could not afford to make tests over and over again as I don't have a backup phone anymore (previous one is pretty much useless) and the only internet access I have in Thailand is my 3G.

Thanks so much for all of you guy's efforts, I also wanted to write a complete guide from A to Z with the exact tools version to download and the step-by-step, but it looks like you guys were faster than me haha! I think while I was reading, I kept hitting "thanks" on almost all your posts haha! :P

Anyways, I feel like I can help contribute for 2 more things, notably:

-I do't really care about internal sd-card since I put everything on my external sd anyways, so I will take [MENTION=4913970]tvladan[/MENTION] 's image and try to edit to partitions to have even more internal space. Will tell you guys about it.

-A guy also posted the r24 Lollipop version from wireless update. Have any of you guys tried it (it will probably give an error since it will detect changes in /system)? I'll see if I can manage to merge

[MENTION=4913970]tvladan[/MENTION], I am not up to date anymore with the xposed modules as I haven't kept up to date since the last 5 months, but I will try to boot up my old Jellybean phone with ghost touch and give you a list of my essentials :)

[MENTION=246113]nudel[/MENTION]kampf, sure friend, I will post that on the first page for new people to find easily you guy's work with credits and all :) I will just check first if I can contribute with the 2 points I mentioned and update my initial post after yaaaa!!

[MENTION=6942647]Pepo1980[/MENTION], glad you joined the team, your arrival was a turning point in our lives :D

See ya guys laters!
[General Questions and Answers] Nudeldampf:
As for the R24 OTA update from Doogee, you can safely install this via the stock recovery and it works for updating stock R21 to stock R24.

Would be nice if one finds a way to integrate this into the rooted R21 build :) I'm having an eye on the thread at 4pda.ru for any changes, but haven't read through all of those over 100 pages :D
[General Questions and Answers] NaturalBornCamper:
Will have a look at the r24 and see what I can do, maybe compile that C script :)

In the meantime, this is your chance to learn russian hehe:

A little russian tutorial for you, should be able to understand russian 100% after that :P

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

I'm backing up my phone now (Nandroid, TitaniumBackup and Buzz launcher settings) and downloading all I need before I lose internet, taking a while then it's back to the mad scientist lab. [MENTION=4913970]tvladan[/MENTION] Xposed modules coming soon.. battery of old phone was so dead that it's been on charge with no activity whatsoever for 30 minutes now
[General Questions and Answers] tvladan:
I'll try and do that tonight and make an r24 flash able room with twrp, root, and repart.