Hello!
Just switched to Defy+ from another android phone and I need few advices.
I couldn't get root access with original firmware (BL7).
Tried superoneclick (recommended and newest) and doom lord method.
Both have stopped at "sending 185 (or 9) zerglings" after finishing 145.
So I flashed rooted firmware (DEFYPLUS_U3_4.5.1-134_DFP-231_CEE_ROOTED_No_Signed), installed 2ndinit 2.3 and installed Quarx CM 7.2
build sep 23rd.
The kernel is ge281be6 51 #1.
Second problem is with setvsel. It does nothing. I can set 1 or even 0 for 300 MHz and phone works fine.
Then I tried setXperia and app works fine.
However, since vsel option are available at boot menu, I figured why to use app and went to boot to set values.
Both apps see 4 clock domains and all 4 are used when settings are applied.
But, cpu boot settings show 3 options with fourth available with "gb kernel".
Setting 300/600/800/1000 allows only 3 different domains to be visible to system.
CM setting see 300/300/600/800 with 1GHz missing.
Is there any other kernel to be flashed or what am I missing?
The other thing that worries me is that setvsel and setXperia don't show vsel values set at boot menu.
Do those application read data from system or do they have their own set of default values that they list after install?
In other words, are vsel values set at boot sticking?
And additional question about CM 7.2: at random times OS looses connection to google account.
I reconnects back after a minute or two so it's not a big deal but I would like it to stick.
It's not a signal or baseband problem.
Internet connection during these drops functions normally. Starting gtalk restores connection immediately.
Lastly, what CM7 ROM do you recommend for Defy+?
There is a forrest of ROM's with, um, features not clearly written or explained so it's better to ask more experienced users.
I tried installing Jordan's ROM (from 25th I believe) but there is no boot and recovery displays errors (busybox related if i remember correctly).
Thanx!
Root access on stock firmware... Use the better and with HD recording ms2ginger if you need a stock based firmware
As for roms based on cm7.2, I like wiui by wajk for pure performance use builds by quarx or maniac
Remember to use roms based on gb kernel i.e defy+ builds
If you run into any problems while installing the ROM please refer to the excellent all in one beginners guide or post back here
Sent from my MB526 using xda premium
Well, tried euroskank's cm7 from 26th october and vsel values (clocks too) set at boot stick as expected and setvsel reads them.
Google link drop is still present but I can live with that.
Status:
It still needs some polishing and cleaning up, and there are unresolved issues but nothing serious (check below). Based on user reports this is pretty usable. Battery and performance are both at least as good as stock, with the added benefit of having doze support, being less bloated, coming rooted etc.
Credits:
This wouldn't be possible without DeckerSU's post with an official MM rom. I've used his file to extract the binary stuff.
I've also cloned his device tree to build TWRP on omnirom since I was having a hard time building it on CM.
I started by cloning pivoq's device tree for CM12.1. So credit goes out to him too.
Those are just the things I've used directly but looking at other people's code also helped a ton to figure things out. So I guess credits goes also to the whole community/ecosystem.
Known Issues:
Smart lock isn't preserving settings across reboots. (If anyone is willing to test this and contact me, it can probably be fixed easily)
The bundled camera app (Snap) works well. Stock camera app works well as well (doesn't come with the ROM, maybe I'll provide a zip in the future). But some cam apps have issues.
Not Working / Enabled / Unknown:
Flip cover.
Drm?
Fastdormancy?
No NFC icon on statusbar. ** Won't fix ** - AOSP or CyanogenMod do not have such an icon. Some vendors add it. As such I don't think ROM should come with it by default. Either there's an exposed module for it that people can install, or a flashable zip can be made to add it. I think that's the better route rather than have the ROM come with it.
CNE - ** Won't fix ** - Disabled by choice. It's an anti-feature in my opinion.
Notes:
Doze: Officially doze requires a special motion sensor that our device does not have. Motion will not keep the device from dozing, or awake it. Also, doze by default takes a long time to kick in (about ~1h), and I would advise people to tweak those timings to their usage patterns with Doze Settings Editor (http://forum.xda-developers.com/android/apps-games/root-doze-settings-editor-android-t3235130), or some other app like Greenify / Nap time. Lastly doze is supposed to work with GCM, which isn't available on the ROM by default unless you install google apps or an adequate substitute.
XPosed: works with v87+.
SELinux: I've seen a lot of people setting selinux to permissive, often because of some xposed module. SELinux is an integral part of android's security. Things are already pretty bad with it, disabling it isn't recommended. While there will still be many security bugs, often selinux limits their scope or makes it so that multiple bugs will be required for successful explotation. No xposed module is worth that.
Download:
LineageOS 09/04/2017:
https://www.androidfilehost.com/?fid=745425885120723074
TWRP 3.1.0:
https://www.androidfilehost.com/?fid=817550096634753196
- The recovery has support for encryption and adopted storage (including mixed mode).
ROM Changelog:
** 09/04/2017 **
Code:
- April security patch level
- Kernel sync to 1.2.7-rb1.41
** 25/03/2017 **
Code:
- March security patch level
**13/03/2017**
Code:
- Move on to LineageOS
- Fix wifi tethering
- Fix OpenGapps issues
- February 01 security patch level
- Sync kernel to LA.BR.1.2.7_rb1.40
** 16/12/2016 **
Code:
- December 01 security patch level
** 09/12/2016 **
Code:
- Updated kernel for CVE-2016-5195 (November 06 security patch level now).
- Added ZEN IO Scheduler
- Tweaked cpu governor, 200Mhz+ clock (from 533).
- Added zram.
** 25/11/2016 **
Code:
- Fixed SIM regression for dual sim variants.
- Added F2FS support for data and cache (Beware recovery linked above wasn't updated)
- Tweaked minimum brightness setting
- Added 533Mhz as lowest frequency for cpu (from 800Mhz).
- Removed wifi dual band (device doesn't support 5Ghz).
- Compatible with microG/UnifiedNLP:
Permission for signature spoofing (don't give this to apps unless you know what you're doing).
Added location overlays for UnifiedNlp.
** 23/11/2016 **
Code:
- Fixed reported regressions. Unsure about the SIM one,hopefully it's fixed too.
** 21/11/2016 **
Code:
- Fixed modem battery drain
- Fixed FM radio (new app)
- Fixed camera (new app, Snap). As far as i've noticed everything's working under this app.
- Enabled Doze.
- Fixed operator name showing as numerical ID.
- Changed LTE label to 4G.
- November 5 security patch level.
** 09/11/2016 **
Code:
- Fixed wrong power accounting for bluetooth
- Updated wlan firmware blob
** 08/11/2016 **
Code:
- Fixed leds regression
- Fixed location battery drain
- FM radio kind of working:
(to hear sound you need to turn bluetooth on, you can turn it off again afterwards)
- Front camera isn't dark anymore but still crashes with HDR. Cam still has issues but is usable.
- Post processing daemon isn't crashing anymore, which was leading to some hiccups.
- Advanced reboot should be working for everyone now
- IRQ Balancing
- Added cne/dpm vendor libs. Haven't tested further so CNE might be working.
- Minor tweaks/fixes, some selinux stuff.
** 30/10/2016 **
Code:
- Correct variant should now be detected and multisim set up accordingly.
- Built without microG patch (which was incompatible with google apps)
** 27/10/2016 **
Code:
- Fixed camera. Had made a mistake while building previous rom.
(This is not a fix for the front camera darkness issue.)
Recovery Changelog:
**14/03/2017**
Code:
- Update to twrp 3.1.0
**21/01/2017**
Code:
- Update to twrp 3.0.3, fixes .img flashing.
- Removed superfluous mouse pointer.
- Updated kernel with current f2fs support.
Code:
I'm currently creating my first github account etc. As I find the time to clean up the commit history and set things up properly I'll update the post with links to the device tree and kernel sources.
I've decided to post now, perhaps prematurely, because I'm very limited on time I can spend on this (can't afford it). I'm also unsure if there's even many people interested. So the best way forward if there's interest is either other people joining in and carrying this further, or supporting development with some donations.
Donations:
So far got 9 donations.
$50 < Total donations < $100.
Thanks to anyone who's donated and has shown appreciation!.
reserved.
Cool nice to see devrlopment to the 4.7 idol, I'm still waiting for the official marshmallow update (europeu representativas on Twitter and Facebook keep saying its coming) but if that takes too long I might get to use this rom
wow, i never thought that we will ever get cm13! thank you for your hard work! please, don't give up!
Rom is Very good.
downloading it now, i'll have time to flash the rom tonight
does xposed work?
basic functions like phone, sms, 2g, wifi work without any problem?
what about battery?
jani0417 said:
downloading it now, i'll have time to flash the rom tonight
does xposed work?
basic functions like phone, sms, 2g, wifi work without any problem?
what about battery?
Click to expand...
Click to collapse
I noticed I made a mistake on this build and as such the camera is broken. I'm gonna make a new build in a couple hours.
Never tried xposed.
Basic functions are all working for me. At least for the 6039Y I think it should work but we'll find out if people leave feedback. My guess is that it's probably working, with the exception of maybe dual sim variants.
Wifi should be working. Qualcomm CNE isn't, and I'm unsure if I even want it as a feature, need to research on it.
I haven't thought of a way to measure battery performance but I'm using it on my phone daily. If it's worse than it should be it's not by a very large margin. I also haven't run any kind of benchmark. (Too early for that in my opinion).
Thx,
for your work on CM13 for 4,7" Variant. If you upload new build with fixed camera i will test it on my europe 6039Y and leave feedback here.
Have a nice day
alecbl said:
I noticed I made a mistake on this build and as such the camera is broken. I'm gonna make a new build in a couple hours.
Click to expand...
Click to collapse
thank you, i'll check it tonight before flashing. i'd do it now but i'm waiting for important calls
Basic functions are all working for me. At least for the 6039Y
Click to expand...
Click to collapse
perfect i also have an 6039Y (2AALWE7)
Wifi should be working. Qualcomm CNE isn't, and I'm unsure if I even want it as a feature, need to research on it.
Click to expand...
Click to collapse
as for me, i hate it.
i'm using profiles to make sure that when my wifi is on, data is off and vice versa. earlier i had surprising phone bills because of this feature :silly:
I haven't thought of a way to measure battery performance but I'm using it on my phone daily
Click to expand...
Click to collapse
perfect :good:
and again: THANK YOU :good:
Updated original post. Cam should be working now.
Thank you very much! I really liked the hardware, but missing the MM update. But CM13 is even better:good::good:
First time I got into a bootloot updating from CM12.1, had to change data and cache filesystem back to ext4, don't forget.
Gonna test it now, hopefully you can merge the latests @Unjustified Dev commits when he makes them public aswell
Phantom410 said:
First time I got into a bootloot updating from CM12.1, had to change data and cache filesystem back to ext4, don't forget.
Gonna test it now, hopefully you can merge the latests @Unjustified Dev commits when he makes them public aswell
Click to expand...
Click to collapse
Yes, I haven't enabled f2fs support yet. I intend to do it at some point. Pivoq had a kernel source tree in which he updated f2fs, supporting xattr etc. I haven't figured out where did he import those changes from yet. I wanted to do the same, but didn't want to import from him because that's not being kept in sync with upstream.
What commits are you talking about?
Xposed work perfectly.
Nice,
i have installed at this time incl. xposed , but without gapps. After first setup all OK. In the next days i test with all my apps and give you feedback. I`m hopefully. :good:
This is the greatest thing to ever happen to my Idol.
Thank you so much. Root and Xposed work fine. Latest version of Busybox installed fine.
Flashed Gapps Pico successfully.
Seems to be really smooth but time will tell. Themes work perfectly.
Using the advanced reboot menu to try and reboot into recovery doesn't work. Granted i'm not using the recovery linked in the original post. I'm using the recovery made by DeckerSU.
What recovery is linked in your post? Is it Cyanogenmod recovery or TWRP and if so, what version?
EDIT: Not even "Adb reboot recovery" will get the device to boot into recovery anymore. Hmm...
Wow, just wow. You did more in one day, than some of the "DEV's" here for their entire time good job man.
Sparkey159 said:
This is the greatest thing to ever happen to my Idol.
Thank you so much. Root and Xposed work fine. Latest version of Busybox installed fine.
Flashed Gapps Pico successfully.
Seems to be really smooth but time will tell. Themes work perfectly.
Using the advanced reboot menu to try and reboot into recovery doesn't work. Granted i'm not using the recovery linked in the original post. I'm using the recovery made by DeckerSU.
What recovery is linked in your post? Is it Cyanogenmod recovery or TWRP and if so, what version?
EDIT: Not even "Adb reboot recovery" will get the device to boot into recovery anymore. Hmm...
Click to expand...
Click to collapse
I have a very good idea of why that's happening. Did you happen to change your bootloader at any point? Alcatel's kernel source has a non standard way of handling reboot, what's more, it's not exactly the same in their lollipop vs marshmallow sources.
The recovery in the post is twrp 3.0.2 with support for encryption and adopted storage. It's using the same kernel, so if you flash that recovery what I expect will happen is that you wont be able to reboot into bootloader or reboot into recovery from the recovery either. The decision of where to reboot into is done by the bootloader and precedes the kernel, just so you know. Changing the recovery can't fix that. Of course you can always do so using power+volume keys, until I fix it.
alecbl said:
I have a very good idea of why that's happening. Did you happen to change your bootloader at any point? Alcatel's kernel source has a non standard way of handling reboot, what's more, it's not exactly the same in their lollipop vs marshmallow sources.
The recovery in the post is twrp 3.0.2 with support for encryption and adopted storage. It's using the same kernel, so if you flash that recovery what I expect will happen is that you wont be able to reboot into bootloader or reboot into recovery from the recovery either. The decision of where to reboot into is done by the bootloader and precedes the kernel, just so you know. Changing the recovery can't fix that. Of course you can always do so using power+volume keys, until I fix it.
Click to expand...
Click to collapse
I don't think I've changed the bootloader since I got the device. I don't have access to fastboot commands. My idol was a O2 branded one that I brought quite recently. I haven't been able to use Petrov.0's method of restoring the fastboot commands either. I don't really mind losing the ability to reboot into recovery from the system since its worth it for Android Marshmallow.
Thanks, I'll be using your recovery from now on too since its more updated. :good:
Flashed, tested
-unlocked 6039Y 2AALWE7
-tap to wake/sleep works
-sms, phone, wifi works
-gapps works
-front camera in photo mode really dark, in video mode is okay
-tried Google Camera from play store, it crashes everytime, when switching from video to photo mode
-so far I love this rom
Hey,
Have got my OP5 for almost a week now and its superb imo! Now all my previous android phones I rooted, some early on, some when I had owned them for a year or so. What does it add in terms of functionality to the OP5 right now? OS is already fast AF, battery is amazing etc.
As far as I can tell not much besides a couple of OOS based custom ROM's and kernels. In terms of extra battery life or performance, you might get a very slight gain when flashing a custom ROM and kernel and mess with it's settings but for me so far the stock ROM and kernel give me everything I need in terms of battery life and performance.
The main reason I rooted was to get Adaway. Maybe in a couple of days I'll mess around with substratum and play around with a theme or two.
Same reasons for rooting any other Android device
I rooted for Titanium Backup and AdAway. Also for audio mod (Viper4ARISE). Another good reason is debloating, but with OOS there's not much bloat! If you plan on keeping the stock rom, it's still interesting to try other kernels.
Freedom... It's your phone you should have root access to it. In Samsung and other world - for debloting OS (does not need in OP5)... Ability to install hosts file - hate all those pesky ads sticking in your face goods you don't need/want etc.
So, I rooted my device today! But I can't get V4A to work, it freezes on driver installation for a while and then says its installed, I reboot and no driver is installed.. Also, where do you keep your Titanium backup? Doesnt a full wipe in TWRP erase the internal storage?
Exactly what I did right now, Adaway, Tit backup, kernel and substratum with a nice dark theme!
Agreed. I root my phones after any OS updates need installed after opening the box. In this case I was rooted 20 min after opening the box. I root because, well it's what you do with android right? Seriously, I root for Titanium Backup and adaway. Also for things like EX kernel since I can on the fly adjust max volume and vibration intensity. I can never notice/feel vibration on a phone out of the box, kind of annoying.
The stock ROM is just about what i need so no real need for my in the way of custom ROMs, at least not right now. Especially when I'm already getting 8.5 to 10 hours of SOT on med to heavy use.
Typically a wipe through TWRP will keep the data partition intact unless you select to wipe it explicitly. You can also just copy the Titanium Backup directory onto a PC or OTG drive if you are paranoid. I restored a number of apps + data from my old phone and it worked just fine.
Viper is fairly sensitive on how it's flashed and what order, etc. I had to re-read the installation instructions several times. There is another thread on Viper, it might be helpful: https://forum.xda-developers.com/oneplus-5/help/viper-audio-t3627717
To install Pixel Launcher. Got way too used to it. Can't live without it.
Which Titanium Backup version are you using?
I have some issue with TB and root:
https://forum.xda-developers.com/oneplus-5/help/apps-root-access-rooted-using-supersu-t3630528
The latest on the play store since I bought the pro key I just keep it up to date. I think 8.0.2
Hey guys,
I've only just delved into the realm of root (as of last week) but have dabbled in flashing different CSC and similar stuff via ODIN before. The advantages of having root access are unbelievable, but there's just a few things bugging me that I can't seem to do at the moment.
I am aware that Xposed Framework isn't currently (officially) supported on Nougat - I am running 7.0 - and so I will wait patiently for that. In the meanwhile, however, I have a real love for stock android, and while I find that I can get a lot of the system UI to look like stock Android, I can't for the life of me get the quick settings menu to appear how it appears on the Google Pixel and Pixel XL. Again, I know for people on Marshmellow they can use Xposed and their problems are sorted, or indeed flash a custom ROM, but the very few disadvantages of flashing a custom ROM are basically dealbreakers for me (namely extremely heavy usage of camera app which is quite bad in ROMs from what I've heard).
So my question is thus: Is there any way that I can achieve the look of the stock Android quick settings menu when I pull down my notifcations without flashing a custom ROM or waiting for Xposed to hit Nougat, and is there any way that I can change the colour of my notifications as I find it really annoying that I have a dark theme applied to my phone but all my notifications in my notification tray are white as all hell
Also, perhaps this is worth mentioning but my substratum app doesn't seem to have root access. When I install any sort of theme, I am only presented with the install or uninstall option, and I have seen usually there are more options than that. Also it's a dead giveaway that it doesn't have root access when substratum doesn't even appear in SuperSU.
Thanks guys
Hi all
I've got a Samsung Tab E T560 wifi version (Quad-Core, 1,3GHz, 1,5GB RAM, WiFi, Android 4.4) and from the first day i got it it suffered from random reboots and freezing.Then i decided to root it and installed TWRP recovery on it,i didn't unlock the bootloader,well not that I'm aware of...Then i installed No-frills CPU Control/SetCPU app to undeclock it to try that and thats when i saw that the tablet was overclocked to 1300mhz max. and 1300mhz mini.,then i tried installing custom ROM that was just ported for this device but couldn't underclock it,i opened the cpu app and set the settings for mini. i set minimum and for max.1000mhz and tried also 1200mhz,granted root and it says successful but it stays the same 1300mhz mini.,1300mhz max,sometimes it gets the mini value on 700mhz,but the max. value stays on 1300mhz...
So long story,short...My question do i have to flash a kernel that supports overclocking and underclocking or is it just necessary to have root?Or do i need to unlock the bootloader.
I tried to find a custom kernel for this device but couldn't find anything.So what are my options as this device is not really so much supported.
Bottom line,i just need this Ta let to function withoit reboot i don't use it for games so it doesn't have to run on 1300mhz for me, just to be stable...
Thank you in advance