yashsingh1/xdaforums huggingface dataset:
[X Play Android Development] rodries:
[MENTION=5293805]GtrCraft[/MENTION]

To enable write to external sd in Moto camera apk

Please add:

<item name="android.permission.WRITE_MEDIA_STORAGE" granted="true" flags="0" />

in /data/system/packages.xml

in <package name="com.motorola.cameraone" ....> in <perms> section

Info from here:

https://xdaforums.com/2015-moto-g/themes-apps/moto-g4-camera-timeweather-widget-t3382126

I have tested it and works fine.

Edit:

I have tested with moto g4 camera:

https://xdaforums.com/moto-x-play/themes-apps/moto-g4-camera-app-available-t3383415

I have notice that there is no com.motorola.camera1 in packages.xml for moto z camera
[X Play Android Development] GtrCraft:
How can I add it to an apk that you install from the play store...
[X Play Android Development] rodries:
Uggh, sorry I thougth that the file was in the ROM
[X Play Android Development] GtrCraft:
Lol no. Use something else for that.
[X Play Android Development] rodries:
After understand the problem I have decompiled the apk and add the permission to the manifest, but we have a few problems.

If you read this article: https://www.xda-developers.com/android-3-2-code-inadvertently-preventing-write-access-to-external-storage/

You will see that the special permission is valid for system apk only.

So I have created a twrp flashable zip file to install it as a system apk and works, I can save in my external sd card now.

I'd like to know if it is possible to add a patch to allow WRITE_MEDIA_STORAGE permission in user apks, but for me it is not important as I have my zip file.

Edit:

I have attached my zip with the last Moto Z Camera with external sdcard enabled
[X Play Android Development] K.khiladi:
Does this app work when the display size is changed?
[X Play Android Development] rodries:
I have tested it right now and works with 370dpi in this ROM
[X Play Android Development] ronak123456:
I am using this ROM and the problem i am having is like my phone is now at 100% i just opened Clash of clans for 2 mins and battery went down 2% i mean it draining fast! Also, when i had 100% earlier like few hours back...it drained 4% as i did not use the phone at all. what to do? i dnt have xposed and only rooted the phone. Everything is default and i off the adaptive brightness option as it gets way dark when using it. Should i install xposed for greenify and amplify or some script?
[X Play Android Development] rohitpaul9000:
in which network u r?

---------- Post added at 05:39 PM ---------- Previous post was at 05:34 PM ----------

i m also having this problm , i think thats because of poot network of jio
[X Play Android Development] fablebreton:
2℅ lost with 2min of clash of clan is not so good but if you use 4g is not so much

If you have just flashed the ROM today your CPU works a lot few hours after a flash

Anyway, as default interactive governor is quite bad for battery, I recommend squid or Optimus with this script : https://xdaforums.com/showpost.php?p=70873918&postcount=167

Or at least Optimus with Optimus governor
[X Play Android Development] ronak123456:
i am not using 4g am using wifi for clash of clans! And i've flashed the ROM yesterday morning and now it's evening here :)

I will try that post. Thanks
[X Play Android Development] ronak123456:
there is some serious issue with my battery..!! 9mins used and 8% down..from 100% i did the glassfish script few minutes back..!
[X Play Android Development] ronak123456:
a noobie question! As i installed the scripts 1st time i am not sure how to do it. I also just flashed the optimus r19

What i did was downloaded the script GlassFishCP and used es file explorer and pasted the file in /system/etc/init.d

went to kernal auditor and went to init.d and selected GlassFishCP and executed

Now, am i missing anything? or what to do now? I aint getting option to change the cpu from interactive to glassfishCP or it will not be there only..sorry a noobie question!
[X Play Android Development] fablebreton:
Glassfish is not a governor, it's a script that will tweak some values in files that govern CPU, it is based on interactive.

If you want check if still applied after a reboot, check this file

/sys/devices/system/cpu/cpu0/cpufreq

/interactive/go_hispeed_load

Value must be 91
[X Play Android Development] ronak123456:
Yes its 91 so it is applied :)

but what abt the drain?
[X Play Android Development] icantstopflash:
drain is good :D
[X Play Android Development] ronak123456:
lol
[X Play Android Development] Leni_YO:
Just wait a day. 100% to 90% is not representative cause 100% is never the full charge, because the battery would wear a lot more if always charged fully.
[X Play Android Development] ronak123456:
ok sure :)
[X Play Android Development] mizaj:
Is there any way to disable led while charging?
[X Play Android Development] DragonClawsAreSharp:
Settings > Owls Nest > Notification
[X Play Android Development] ronak123456:
Is there a way to hide the HD is capable notification for volte? It's really annoying
[X Play Android Development] icantstopflash:
Yeah , patch here : https://www.thorlabs.com/thorproduct.cfm?partnumber=T743-2.0
[X Play Android Development] ronak123456:
How mean :(
[X Play Android Development] K.khiladi:
Thanks a ton for this cam and with working SD card storage. Worked like a charm.
[X Play Android Development] Leni_YO:
Is it normal, that adaptive brightness can get much lower than manual? Manual brightness is still pretty bright on the lowest setting.
[X Play Android Development] K.khiladi:
Yes, adaptive brightness can get lower than manual.
[X Play Android Development] raptorskate:
Is it a big difference in battery? To use adaptive brightness or not?
[X Play Android Development] raf.lozano:
I don't think there are big changes... But I find adaptive more comfortable... ?
[X Play Android Development] Sickaxis79:
Another great rom. Everything works smooth and solid. I flashed SuperSU afterwards to gain root acces, but working fine now. Thanks a lot.
[X Play Android Development] dev>null:
[MENTION=5293805]GtrCraft[/MENTION] Last weekly zip seems corrupted...if it contains the fix for dual sim can you please upload it again? Thx man ;)

EDIT > For anybody interested: personal rom has working dual sim detection!
[X Play Android Development] cucumbers:
Definitely the most stable 7.1.1 ROM I have used on Lux so far. Thanks very much for this.
[X Play Android Development] Leni_YO:
So I guess that some values need to be changed. It can't be right that the lowest manual brightness is so bright.
[X Play Android Development] isene:
Does it have the mobile data bug? Which doesn't turn on data connection after turning off WiFi
[X Play Android Development] Leni_YO:
nope
[X Play Android Development] fablebreton:
I don't find minimal value bright at all
[X Play Android Development] Leni_YO:
When I'm lying in bed it's a lot brighter than adaptive :D
[X Play Android Development] fablebreton:
Its the only N Rom with GroundZero ones that haven't the data toggle bug

---------- Post added at 03:13 PM ---------- Previous post was at 03:10 PM ----------

have you set the night display ?

Otherwise you can tweak rgb values by script, by lowering the 3 values that will reduce brightness
[X Play Android Development] cucumbers:
I haven't noticed that bug yet - so hopefully it's gone for good now...
[X Play Android Development] Leni_YO:
Yeah i mostly use adaptive with night display. In stock mm the manual brightness could get much lower.
[X Play Android Development] droid1782:
how do i disable a sim in aosip, does it have sim management?
[X Play Android Development] ronak123456:
After reading all the posts abt battery life and how good the ROM is..did a install but now back to stock as for me battery life sucks big time. Though the ROM is very stable and smooth and every single thing works like a charm. Except for the battery and the device is capable notification. I am going back to stock :) thanks for sharing this wonderful ROM.
[X Play Android Development] raf.lozano:
I didn't think that the battery sucked... For the first couple of days it wears faster, but I credit this to using more the phone as there's a new ROM and the battery cycle is a bit messed up. Nowadays, after 3 or 4 days, it spends about the same as it used to spend using stock.

Remember, the more functions you use, the more sot you take, the more battery the phone needs
[X Play Android Development] icantstopflash:
Yes i agree

this ROM is just awesome and battery very good (8h sot here)

I am afraid that for some people and especially Indians with their volte, who must drain a lot, it's better to stay on stock (and give us some rest on Custom ROM threads :D )

---------- Post added at 07:28 PM ---------- Previous post was at 07:17 PM ----------

The isnt any custom ROM currently that support "disable sim"

You can just stop data or use airplain, but no disable sim
[X Play Android Development] K.khiladi:
That device is HD capable notification is gonna be there no matter what and regarding the battery, using 4g and volte uses more battery than the 2g.

More so, battery life isn't just about how much SOT one can clock. My SOT varies from 3.5 hrs to 5 hrs depending how I use it.

---------- Post added at 12:33 AM ---------- Previous post was at 12:30 AM ----------

Well, being an Indian I too am tired of seeing first the volte requirement questions and then the battery isn't lasting lost statements. I too use volte and I have absolutely no problem using a custom rom.

Those using volte has to understand that 4g is going to drain battery faster 2g or 3g. ;)
[X Play Android Development] Rick O:
FM radio definitely broken
[X Play Android Development] tavares_one:
Hi, I really like this rom, everything is working,camera app is super fast and no bugs so far. Costumizations options are great except for one thing. I realy like the orignal android blue but this rom has another, is it possible to change the colors?
[X Play Android Development] Skeptico:
Use Substratum.
[X Play Android Development] manan001:
Is development still taking place? Since a while no updates.
[X Play Android Development] Skeptico:
Be patient.
[X Play Android Development] Ebrahim Ali:
The FM radio app force closes for me. Is anyone else experiencing the same?
[X Play Android Development] Rick O:
Yes, the same for me.
[X Play Android Development] :
FM Radio FC logcat:
[X Play Android Development] kpamkar:
I flashed it on my phone, didn't recognise the SIM. It was a weekly
[X Play Android Development] Jagadhidh:
you have to full wipe and choose the weekly 0201

flashed this ROM yesterday, and I think it's the best N ROM, except FM (not very important) no bug at all

Battery is good and ROM very smooth, there is not too much features but the most usefull are there :good:
[X Play Android Development] PanOptikum:
If i am on aosp extended and Optimus kernel, do I have to only make a full wipe and flash this ROM?
[X Play Android Development] K.khiladi:
When changing from one rom to other, always have to make a full wipe first.
[X Play Android Development] PanOptikum:
Is there anything more i should do?
[X Play Android Development] PSxplay:
Whenever i enable night light. Device starts to lags
[X Play Android Development] fablebreton:
no such issue here with night light, I use it with custom schedule
[X Play Android Development] rodries:
Do not disturb not working, anyone else?
[X Play Android Development] nplezka:
here I am, it doesn't start on my presets...
[X Play Android Development] nik2013:
Has anyone faced soft reboot while using GPS related app?

I faced it today when I started Ola app and quickly I switched to desktop for some other task, that time device soft-rebooted. Any suggestions?
[X Play Android Development] ooklathemok:
Superuser?

Can I just ask which version of superuser people are having success with? I haven't had to redo root since like 2.46 or 2.62 or something. Are you using the "systemless" method? Or is everyone using this magisk or phh?
[X Play Android Development] moozer:
2.79 SR3 just flashing as normal through TWRP
[X Play Android Development] rodries:
Created a bug report about the "do not disturb" problem in the community.

https://plus.google.com/111748252105649426227/posts/QUpAwxYf1Bv
[X Play Android Development] fablebreton:
Magisk phh here, works fine, and open source unlike SuperSU
[X Play Android Development] floid180:
in this rom is root by default? because i dont want root to use Fire emblem heroes
[X Play Android Development] ooklathemok:
No. You have to root when using this ROM and possibly all those from [MENTION=5293805]GtrCraft[/MENTION].

Thanks to [MENTION=7834999]fablebreton[/MENTION] & [MENTION=5650345]moozer[/MENTION] for telling me what superuser that they're using to root. I tried phh version this time.

I've had 2 reboots. I'm paranoid now because when I tried Tesla the phone worked fine for 5-6 hours and then would reboot every single minute. I thought it was superuser issues, but now I'm wondering if it is an app that I use. Something with Nougat that doesn't like one of my apps. If it persists, I guess I'll try a clean install without any of my apps and see if there are any reboots. The last logcat was super short and didn't show much.
[X Play Android Development] raf.lozano:
Any themes from substratum?
[X Play Android Development] ooklathemok:
I haven't done any theming or really know what substratum is. Haha. I see people talking about themes and I assume it has something to do with the OmniSwitch app, but I figured I'd play with that once I got back to normal. I just haven't got back to normal since moving from rooted stock 6.0 to these Nougat ROMs.

Edit: I used Google Maps to go somewhere this evening and when I choose navigation the phone reboots. Nothing in logcat when I looked. I could upload later.
[X Play Android Development] andreliu:
Just flashed AOSIP Build 5.5-KANG-lux-20170130 :) Was previously on AOSPextended.

I hoping to have a better battery life and LTE on SIM2 (unfortunately not working on both ROMs, only on stock ROM).

AOSPextended is a great ROM, but is power hungry from time to time, battery can easily loose 10% in 30 mins when using UBER combined with LTE.

Will keep you posted on battery performance
[X Play Android Development] pijes:
30 minutes with UBER (gps on) and LTE? I don't think you would get less drain on other roms.
[X Play Android Development] Ebrahim Ali:
Can someone tell me how to disable cell broadcasts please. I get them every minute and it's realy annoying
[X Play Android Development] pijes:
Settings - More - Emergency broadcasts?
[X Play Android Development] Ebrahim Ali:
Nope it's not there BTW. You have to go to SMS app. I disabled everything but I keep getting cell broadcasts
[X Play Android Development] Ebrahim Ali:
Ok I think I found how to disable cell broadcasts. Go to settings>apps>all>cell broadcasts and deny the SMS permission. I havent had a single cell broadcast since doing this
[X Play Android Development] GtrCraft:
Personal build update:

https://www.androidfilehost.com/?fid=745425885120708552

-With the weeklies being late I decided to make a personal build. For changelog check github
[X Play Android Development] treibstoff:
direct Update over 020117 build possible?
[X Play Android Development] GtrCraft:
yes
[X Play Android Development] PSxplay:
When new music is added it doesn't shows up in music player(blackplayer ex). Whenever i restarts the music shows up. Is this related to rom or music player?
[X Play Android Development] daschenbrener:
I am as well facing the GPS issue. anything that appears to try to access the GPS , my phone reboots.

And any assistance I can provide in resolving this, please let me know.
[X Play Android Development] nik2013:
To be specific, It didn't reboot every time, when I used GPS based app (Ola & Uber). It has happened only once, 2 days back.
[X Play Android Development] nik2013:
I am facing one issue - though I put 2nd sim in LTE/4G (after selecting 2G for 1st SIM), 2nd SIM still uses 2G newtork and data connection shows E-edge and also doesn't show any 4G networks during manual network search for 2nd SIM.

Note: after selecting 2G for 1st sim, it goes to 2G.
[X Play Android Development] daschenbrener:
Yeah , unfortunately mine does every time,

so i'm going to get a logcat going on and get something back to these guys, cause everything else works 100%
[X Play Android Development] raf.lozano:
Has anyone tried using Android auto with this? I'm in latest personal build and my car doesn't recognize always the phone. In the weekly it used to recognize as soon as I plugged the phone. I don't think it's cable related... :confused:
[X Play Android Development] daschenbrener:
I posted the bug in the google site

https://plus.google.com/+DavidAschenbrener/posts/V6MGHeTouiL
[X Play Android Development] raf.lozano:
Reporting another bug: in "settings> sound > do not disturb" the phone doesn't enter automatically in DND mode. Tried different schedules and the rules don't apply...

Thanks for the ROM, nevertheless :good:

Btw, using latest personal build
[X Play Android Development] GtrCraft:
Do a clean flash without gapps and test
[X Play Android Development] cucumbers:
After suffering through many reboots, I'm starting to agree that there is something wrong with the GPS.

I usually use High Accuracy location services. I don't usually have issues with Google Maps, but other apps that call the GPS (some speed testing apps, Instagram if I want to tag the location) make the phone crash, sometimes right away, sometimes with some random delay. I also noticed that if I disable location services entirely, then I don't get any random reboots anymore, and I also don't get the bug I have had for a while where the phone reboots after I take it out of a long period of being in airplane mode. Interestingly, if I turn off location services before I take the phone out of airplane mode, and then turn location back on, no problem - but if location is on when I toggle out of airplane, a crash is guaranteed.

Like I said I usually use high accuracy services, and I use wifi - but not bluetooth - in scanning. I might try other location services mode (low accuracy or switch scanning to bluetooth) to see if that makes a difference. But with location services off I haven't had a single reboot.

I don't know if it's worth posting a logcat, this bug seems to take many forms, but I will if requested.
[X Play Android Development] daschenbrener:
OK, quick question, what should I use to test then? For an app?
[Android Apps and Games] juntjoo:
I don't know if this is possible burning thought I wasn't once before. I use podcast addict and it separates the audio files from the video ones and I'd like to be able to watch/listen to them together. Any suggestions? Thanks
[Honor 5C Questions & Answers] Cienight:
It happens mostly when the screen is off (even though I have the always on setting enabled) but also when using the phone normaly. Suddenly I get a toast that I was connected to my WiFi. I've also checked the router logs an I see that the honor 5c is constantly disconnecting and reconnecting. Does anybody else have this problem? I'm on latest emui 4.1.2 without root or any other mod. I played with different channels and frequencies but that didn't help at all. Any ideas? I think it has to do with the battery optimization settings of marshmallow but even on the performance setting the WiFi connectivity just drops.
[Honor 5C Questions & Answers] Cienight:
Whoever finds this will be my hero
[Honor 5C Questions & Answers] Shubho20:
In the wifi settings, just check that, "Keep Wi-Fi on during sleep" is set to always or not. If not then set it to always.

Edit : Sry i haven't read ur post properly. Is this the problem from the starting? Coz i don't have this issue.
[Honor 5C Questions & Answers] Cienight:
I think I noticed this problem since the beginning but after flashing the latest 4.1.2 it got worse. Skype and WhatsApp calls get disconnected while screen is off (after 15 seconds or so).
[Honor 5C Questions & Answers] Shubho20:
Have u tried to flash the rom version that came with the phone?
[Honor 5C Questions & Answers] Cienight:
The problem was with the original Rom and the reason why I flashed the latest.
[Honor 5C Questions & Answers] Superjb:
Exactly the same issue.

Hello,

I have exactly the same issue. I checked also dhcp mode in the developer tools.

Did you found a way to solve it ?
[Honor 5C Questions & Answers] Cienight:
Changing the router solved the problem.
[ZTE Axon 7 Questions & Answers] djkuz:
Maybe someone will be able to make a backup of gpt, using axon7tool , or maybe someone already has it.

My phone is brick, and I need this backup. Please upload gpt-backup.bin.

Thank you in advance.

axon7tool: https://xdaforums.com/axon-7/development/axon7tool-flash-backup-boot-recovery-t3514254
[P8lite General] SuperProHacker:
Hello all my friends at XDA!

I have been using this phone for about 9 months now and i have been collecting some ROM's and Recovery's and sutch for you all in one.

README:

I AM NOT RESPONSIBLE FOR ANYTHING THAT HAPPENS TO YOUR PHONE

I can help, but if its hardbricked, its not my fault

1. I did not make any of theese mods, tweaks, roms etc.

2. I am NOT responsible if you break or brick your phone using any of this packs contents.

3. If you do get bricked just go to unbricking folder and follow the instructions

4. Read credits and go give them a like :)

5. Send me stuff to add into this pack, i will continue updating this pack if it gets popular.

Send me suggestions to: XDA: SuperProNinja Steam: Sleepysquid Email:vaisanen.ma@gmail.com

6. ???

7. Have fun

The pack contains:

ROM's

GApps

Root tools/zip's

Systemless/Hide root zip's

Useful apk's

Useful tweaks

Converting

And more extras like Location replacers etc

​

I want to say thank you to all of the people who are developing for this device and i truly appreciate the work they are putting into their work.

DOWNLOADS

You can download the whole pack from HERE About 8,5 GB (THIS IS UPDATED WHEN THERE IS 3-5 FILES TO ADD)

But if you are low on space just click HERE and you can inspect the files and download what you want (THIS IS UPDATED FIRST)

Torrent:HERE

Credits

Compiled by: SleepySquid XDA: SuperProHacker

Gapps by : Open gapps

Location replacers by : sokkoban

Recovery's by : TWRP-team, xepelato, Bartixxx

Rom's by : Xepelato, gbmasterdoctor, haky 86, bartixx, surdu_petru

Root tools/zip's by : SMCHOHAN, Couldnt find the other one :(

Systemless-Hide root zip's : topjohnwu, Chainfire, Shakalaca

Unbrick by: hi6210sft.blogspot.com / Modified by SleepySquid (me)

Useful apk's by : Shakalaca

Useful tweak's by : BSDgeek_Jake, dark_optimistic, Jeeko, ImbaWind, zeppelinrox, pikachu01, SohamSen
[P8lite General] grgotijejr:
Can't wait for it to come out. :)
[P8lite General] zoko:
great post.......congratulations....
[P8lite General] fenival:
Can I purpose a torrent?
[P8lite General] pomm:
Many thx! The lineageos is the 14.1 experimental?
[P8lite General] SuperProHacker:
yeah
[P8lite General] SuperProHacker:
There you go :)
[P8lite General] pomm:
OK! Thx...
[P8lite General] De EmperoR:
The AOSP ROM is an experimental build, yes?
[P8lite General] RizwanH20:
Yes
[P8lite General] Suwwan:
Hi , i searched for the performance tweaks , they need init.d support ; how did you get that ?
[P8lite General] cabarkapa:
REUPLOAD

IS there any chance for you to repload all these files?
[P8lite General] Faize_Lohar:
Links are Dead

All links are Officially dead please do check them.
[P8lite General] adnaanhitman:
Yes, can someone please delete this thread as there is no point in having posts that are misleading & serving no purpose.
[P8lite General] amageek:
Does any one has access to the files? I only need Call Recorder file... If anyone has it, can you please upload it..

Thanks.