[Q] HTC One S and wifi channels 12-14 - HTC One S

Hi.
I have found that my rooted HTC One S 4.1.1 doesn't recognize Wi-Fi channels 12 and 13 (14th channel too, but it's not a problem for me).
I've red about fixing the Regulatory domain on other threads, even found the solution to change it with the help of SQLite Editor: I've edited the /data/data/com.android.providers.settings/databases/settings.db, table "secure", field "wifi_country_code" and changed value from "ru" to "eu", but it haven't changed anything. Also, after reboot it returned to old value "ru".
I've also tried to do this with sqlite3 - with the same ending and no result.
Does anyone have the fix for this problem?
P.S. I also tried WIFICodes from here: http://forum.xda-developers.com/showthread.php?t=1982149

re-master said:
Hi.
I have found that my rooted HTC One S 4.1.1 doesn't recognize Wi-Fi channels 12 and 13 (14th channel too, but it's not a problem for me).
I've red about fixing the Regulatory domain on other threads, even found the solution to change it with the help of SQLite Editor: I've edited the /data/data/com.android.providers.settings/databases/settings.db, table "secure", field "wifi_country_code" and changed value from "ru" to "eu", but it haven't changed anything. Also, after reboot it returned to old value "ru".
I've also tried to do this with sqlite3 - with the same ending and no result.
Does anyone have the fix for this problem?
P.S. I also tried WIFICodes from here: http://forum.xda-developers.com/showthread.php?t=1982149
Click to expand...
Click to collapse
Hello,
I am curious what rom you are running, If you are running stock JB 4.1.1 then the system partition has write protection. Any thing that you do the it will be undon upon a reboot. there are modded kernels in the cevelopment section that have gotten around this write protection. You might want to check out this thread, but only if you have a S4 model http://forum.xda-developers.com/showthread.php?t=2083229. Hope that helps.
Rsotbiemrptson

Rsotbiemrptson said:
Hello,
I am curious what rom you are running, If you are running stock JB 4.1.1 then the system partition has write protection. Any thing that you do the it will be undon upon a reboot. there are modded kernels in the cevelopment section that have gotten around this write protection. You might want to check out this thread, but only if you have a S4 model http://forum.xda-developers.com/showthread.php?t=2083229. Hope that helps.
Rsotbiemrptson
Click to expand...
Click to collapse
I have a stock 4.1.1 rom, but I installed a kernel patch so I can save changes on /system partition. It was checked during su, busibox and sqlite3 instalations. Patch was also found on this subforum.
I'll check now if /data partition is write-protected.
Added later:
Ofcourse /data is not write-protected. I checked it by creating a new folder and new file in it. Also, in sqlite database mentioned before there is parameter called "wifi_on" and it saves the value during reboot.
So, it's not a problem of a privileges and write protection.

Related

[Q] Various android-related queries

I have managed to compile (from source) and install CM7.2 on my HTC dream, but my questions below are related to Android:
1. Is there a way to find out which packages (.apk) were installed on my system and if so, how do I do that?
2. Is there a way to find out each package dependencies (I need to figure out this as I am bent on removing the vast amount of guff installed on the phone - I won't need 90% of this stuff)?
3. Similarly to 2 above - is there a way to look at dependencies of a package not yet installed on my system (i.e. the .apk file)?
4. How do I actually remove a package for good from the system?
5. Similarly to 3 above, how do I actually install a package from within the root system - I know I can do this via adb, but is there a way to do this inside the, say, command line terminal?
6. Is there a way to alter (understand remove) certain program permissions which I could see "granted" to a particular program/package? I know there are various ways to look at these, but I wish to remove permissions I am not happy being granted to that particular program/package.
And one last a bit more advanced query: I would like to build a single package from the source tree and then install the resulting .apk file on my system.
Basically, I will try to upgrade a package with a new revision and add a few patches to the package source of my own before compiling it and building it again.
I usually build the whole lot (all packages + the rootfs image itself) with "mke bacon", but if I want to alter the source and build a single package how do I do that?
I am not very familiar with the Android make system, so I don't want to go heads-first into something and make a real mess of it.
Thanks a lot for any assistance given.
Small addition as apparently I cannot post a reply (too few posts) in this thread: http://forum.xda-developers.com/showthread.php?p=9055790#post9055790
Question to ezTerry (if he is reading this!): the advice given in that post above was absolutely splendid! I followed it religiously and it worked an absolute treat!
There is one exception though - I've LOST all of my IMEI, IMEI SV and Baseband information after applying these fixes. As soon as I installed the radio updates and then installed my newly-compiled kernel + CM7.2 (successfully!) I then checked the above fields from Settings and they were all gone!
After a while, the baseband, IMEI and IMEI SV appeared, but the IMEI and IMEI SV stuff have now different values than what I've had previously (I've had T-Mobile IMEI, now it appears that I was "assigned" O2 IMEI & IMEI SV values - very bizarre!).
Is this something I need worry about and (I don't yet have a sim card, but I plan to get one soon after I fix my phone), more importantly, how the hell do these IMEI numbers appeared on my phone - where did they came from?!
josh36 said:
Small addition as apparently I cannot post a reply (too few posts) in this thread: http://forum.xda-developers.com/showthread.php?p=9055790#post9055790
Question to ezTerry (if he is reading this!): the advice given in that post above was absolutely splendid! I followed it religiously and it worked an absolute treat!
There is one exception though - I've LOST all of my IMEI, IMEI SV and Baseband information after applying these fixes. As soon as I installed the radio updates and then installed my newly-compiled kernel + CM7.2 (successfully!) I then checked the above fields from Settings and they were all gone!
After a while, the baseband, IMEI and IMEI SV appeared, but the IMEI and IMEI SV stuff have now different values than what I've had previously (I've had T-Mobile IMEI, now it appears that I was "assigned" O2 IMEI & IMEI SV values - very bizarre!).
Is this something I need worry about and (I don't yet have a sim card, but I plan to get one soon after I fix my phone), more importantly, how the hell do these IMEI numbers appeared on my phone - where did they came from?!
Click to expand...
Click to collapse
Any takers?
@1 Check out the respective directories, i.e. for system apps /system/app
@2 Trial and Error, or someone might have made such a list for your device already
@3 No simple way, you would have to look through the decompiled code i guess
@4 Remove the apk from the folder (for example /system/app) and reboot your device, after wards you might have to clean up some extra folders, i.e. settings of that app. (you can use SD Maid from my signature for that)
@5 Some can just be installed the usual way, by opening it. Some .apk files have to be put in the system folders, afterswards reboot and the app should be "installed". To put those apps there use a rootcapable file explorer of your choice. To edit /system you will need to remount it as it is read only by default, you can do that through command line, but most good file explorers have an option for that.
@6 Yes thats possible, there was an app to do that, just not sure what it was called... It is very likely though, that those apps will not work correctly or just FC.
For the make system, if you just change a package, and build again, it will most likely just rebuild the changed files. I'm not so sure either though... damn make system can be pretty messy... and get upset real fast if you change something ;-).
Dark3n said:
@1 Check out the respective directories, i.e. for system apps /system/app
Click to expand...
Click to collapse
Yep, that indeed helped - I didn't realise that the .apk files are "intact" and do not behave in the "standard" (in Linux terms) way a "package" behaves - the app is "installed" as soon as .apk is placed in /data/app or /system/app. The PacketManager does the rest on reboot.
It also cleans up the mess "automagically" if I delete .apk file and reboot, which is nice.
Dark3n said:
@2 Trial and Error, or someone might have made such a list for your device already
Click to expand...
Click to collapse
Yeah, that's a real bugger - I can't see a way of finding the dependencies, but I haven't looked properly at "pm" (the Package Manager command line tool) - maybe I could use something there.
Dark3n said:
@6 Yes thats possible, there was an app to do that, just not sure what it was called... It is very likely though, that those apps will not work correctly or just FC.
Click to expand...
Click to collapse
A very simple example will issustrate my point - my calendar application is installed and needs some sort of GOOGLE_MAIL and access to the internet permissions, neither of which I am happy to grant, because 1) I won't be using online calendars; and 2) I won't use (google) mail.
The truth is, I deliberately did not install any google apps as I won't be using any of them - ever!
Now, every time I boot up and look at my log files with logcat I see a bunch of error messages that this application (the calendar) needs a bunch of permissions which do not exist (naturally, as I haven't installed a single google app on my phone).
So, I wish to wipe out these permissions from the calendar so that logcat is not filled with junk every time I start my phone.
As I already pointed out above, there are also some installed apps who are listed to "need" permissions I am not happy to grant - like the internet access to calendar for example (there are more apps, but I think you get the point).
Dark3n said:
For the make system, if you just change a package, and build again, it will most likely just rebuild the changed files. I'm not so sure either though... damn make system can be pretty messy... and get upset real fast if you change something ;-).
Click to expand...
Click to collapse
Yeah, that was my plan B - there must be another - easier - way though.
I wish to update a lot of stuff (I will be recompiling/refreshing existing packages as well as adding new things I developed for "standard" Linux), but with this Android make system I am blind - it is very different to what I am used to in the Linux world.
To top it all off, I can't post in any of the devs forums yet as I do not have 10 posts!
Further to my previous post - I just found out a superb article about stripping out Android and removing unnecessary packages from it - http://wiki.cyanogenmod.com/wiki/Barebones
It lists various dependencies and shows what could be deleted and what cannot be - what I wanted really.
My only remaining problem - at least for now - is the making of specific packages without building the whole image.

[LY-F1] Model number vs build.prop

Hi guys, hope somebody can help me.
I have an LY-F1 tablet with latest ICS 4.0.3 from manufacturer site.
It's pre-rooted already and i installed superuser and busybox.
My major problem is the market, my tablet is recognized has unknown MID which keeps me from getting acess to the full list of apps and gives me compatibility issues.
I've searched in build.prop and there's no field in that file that could define my tablet as MID.
Where can that info be stored for the market to read it?
On my about tablet it also shows MID for model number which means that must be stored somewhere else.
my ro.product.model has a value of A710, not MID!!
What the hell can i do to change this?
I was told to create a local.prop on /data folder, that local.prop should override the build.prop but with no result.
I used a build.prop file from a previous ICS firmware for the same device with no results too. That previous release had full market acess with that same file and the most strange thing was that when using that previous file whem going to about tablet nothing changed, model remains the same, build date remains the date of previous firmware also. Seems like nothing is read from build.prop.
Hope i made my point and sorry for the long post.
Thanks in advance
That's because "MID" model is defined in the "oem.prop" file. I suggest you to use a custom ROM based on the official one released on 10.3.2012.
Here is the video link, you can see how good it is, and it has a "MID" changed to other model so you can access a lot of more apps on makert.
Only bug I found in this one is the HDMI connection, but gaming is great, for the first time, I am able to play Aspahalt 6 on my Ly-f1 tablet.
http://www.youtube.com/watch?feature=player_embedded&v=Xx1jGxeeRyU
Alseo, today, manufacturer released the new version ROM and it says that it has a better market compatibility. I'm gona test it as soon it gets downloaded.
aldinezi said:
That's because "MID" model is defined in the "oem.prop" file. I suggest you to use a custom ROM based on the official one released on 10.3.2012.
Here is the video link, you can see how good it is, and it has a "MID" changed to other model so you can access a lot of more apps on makert.
Only bug I found in this one is the HDMI connection, but gaming is great, for the first time, I am able to play Aspahalt 6 on my Ly-f1 tablet.
http://www.youtube.com/watch?feature=player_embedded&v=Xx1jGxeeRyU
Alseo, today, manufacturer released the new version ROM and it says that it has a better market compatibility. I'm gona test it as soon it gets downloaded.
Click to expand...
Click to collapse
hey guys
i have a question, i read your post,but so i must change the information inside the file "oem.prop"??anf How ??....thanks.

Gio CM7.2 wifi mac address changing after restarting wifi

Hi guys.
I can't reply to original topic, which is here.
I've downloaded version [ROM] CM7.2-20120325-gio-NIGHTLY-AROMA.zip nad installed it without any problems, in newest clockworkmod recovery 5.0.2.7.
My problem is, that after restarting wi-fi or whole system it changes mac address. First 3 pairs (if i remember it's producers code) are still the same, but the rest is random i think.
I've searched through this forum, and user google, but i don't found anything that can help me...
I found how to change mac address, but i read it's not permanent change...
Someone could help me?
Sorry if I added this question to wrong forum, I'm just no so good at english, as you probabky can see while reading my post
OK, sorry that was my fault...
I run app named GooManager and after that and after while it said there is patch to current ROM. I installed this patch (I had to do it manually, because of GooManager crashes, i think it's because of SuperUser, but there were no info about needed priviliges) nad now everything works fine i think
Patch is here. If someone could edit main topic and add this?

[CM12/12.1-UPDATED] S4 Display Color Profiles for CyanogenMod 11, 12, 12.1

### CM12(.1) UPDATE ### (see bottom)
Hey Folks,
are you also tired of the oversaturated colors of the S4 amoled display??
I found out that the S4minisettings.apk, that was originally developed for the S4 Mini by @F4k to regulate the saturation and other colour concerning features, does the job for the S4 aswell! It works very similar to the colour profiles built into samsung stock roms.
After installation you can find a new settings option "advanced settings" in systemsettings/display just like they're are built in into the carbon roms.
Installation:
Download the apk from the link below.
Then you have to manually put the s4minisettings.apk to /system/app and after that it's very important to set ownership and permissions as follows:
Owner: root, root
Permissions: rw,r,r (644)
reboot!
The main option to reduce the saturation is called "Mode - Set the mDNIe mode". I choose "natural" and the oversaturation of the display is gone!
Some other options don't apply until you switch screen off an on once.
___________________________________________________
The apk can be downloaded here:
http://forum.xda-developers.com/attachment.php?attachmentid=2443961&d=1386605141
original thread here (search for F4K's post):
http://forum.xda-developers.com/showthread.php?t=2558702&page=11
you may also want to have a look at s4miniarchive who did a good article/video about it:
http://www.s4miniarchive.com/2014/01/enable-color-saturation-galaxy-s4-mini-cyanogenmod11.html
all thanks go to @F4k for creating this nice apk!
###CM12(.1)-Instructions###
So, f4k made a new lollipop version of this tool S4MiniSettings and built it into his S4 Mini cm12 rom. I extracted it and offer it to you for download.
Instructions:
- extract zip
- copy the folder "S4Minisettings" to /system/app folder
- set permissions of the folder to rwxr-xr-x (755), the apk to rw-r--r-- (644)
- reboot
- after reboot there is a new icon in the app drawer
- if you prefered the setting "natural" from the kitkat version, now choose "movie"
Notes:
- Important: SELinux level higher than "strikt"/"enforcing" is needed to write to system folder and/or set permissions, and the apk to be loaded at boot. Custom kernels like Alucard mostly got SELinux set to "moderat".
- Don't be confused about the app name - it does work with the S4 - definitely!
Doesn't S4 4.4.2 have this by default? I can do same changes through my Display settings - no need for additional apk.
I use kernel perseus to better experience with real colors.
Enviado do meu GT-I9500
creage said:
Doesn't S4 4.4.2 have this by default? I can do same changes through my Display settings - no need for additional apk.
Click to expand...
Click to collapse
The "S4" has this by default in the Touchwiz ROM it ships with, but this thread is about CyanogenMod.
Speaking of which, it possible to adjust color cast in CM11 on my Note 8.0 under Display/Display Advanced. Maybe this feature will also come to CM11 on the i9500.
When i reboot nothing happends :/ i have everything like you said, bit it doestn appear. I have cm 11 snapshot m3, help?
Or does this only work on nightlies build?? :crying:
elmaku said:
When i reboot nothing happends :/ i have everything like you said, bit it doestn appear. I have cm 11 snapshot m3, help?
Click to expand...
Click to collapse
Did you set the permissions and owner correctly? Otherwise it can't work.
Peter Semper said:
Did you set the permissions and owner correctly? Otherwise it can't work.
Click to expand...
Click to collapse
the permissions are exactly like you have it, but still its not working. It doesnt scan my apps when I reboot :/. Also worth noting, every time i go to see the permissions or change it it says in a square. "The current file system is read-only. Do you want to remount as read-write and continue the operation?" I click yes, then i change it rw--r--r and reboot and nothing happends. When I go check it againg is the same prosses all over againg.
Edit: Also, in my settings I have Display & lights instead of "Display" as the video shows. I know nothing and I understand this may be a dumb question, but it may had to do with the problem? sorry.
Over-saturated colours of S4? Oh Dear Lord :|
elmaku said:
the permissions are exactly like you have it, but still its not working. It doesnt scan my apps when I reboot :/. Also worth noting, every time i go to see the permissions or change it it says in a square. "The current file system is read-only. Do you want to remount as read-write and continue the operation?" I click yes, then i change it rw--r--r and reboot and nothing happends. When I go check it againg is the same prosses all over againg.
Click to expand...
Click to collapse
Which file manager do you use? "root explorer" i.e. has sometimes problems and sais it's write protected. I use "root browser" which does a good job, mostly.
devilsdouble said:
Over-saturated colours of S4? Oh Dear Lord :|
Click to expand...
Click to collapse
killjoy
Peter Semper said:
Which file manager do you use? "root explorer" i.e. has sometimes problems and sais it's write protected. I use "root browser" which does a good job, mostly.
Click to expand...
Click to collapse
I have used both! and none of them works when I reboot . Man what a bad luck I have.
elmaku said:
I have used both! and none of them works when I reboot . Man what a bad luck I have.
Click to expand...
Click to collapse
And also tried the file manager provided with cm 11? Just have to "unleash" it in the options, I mean enable root mode.
Peter Semper said:
And also tried the file manager provided with cm 11? Just have to "unleash" it in the options.
Click to expand...
Click to collapse
Nope... just tried it and it doesnt optimize the apps when rebooting. I'm stuck.
elmaku said:
Nope... just tried it and it doesnt optimize the apps when rebooting. I'm stuck.
Click to expand...
Click to collapse
Very strange, you must have done something wrong.
Peter Semper said:
Very strange, you must have done something wrong.
Click to expand...
Click to collapse
I really don't understand :/... It is just not detecting it... maybe an option I have enable? I hate these saturated colors... :/ maybe it is only on nightlies?
Another options
splitterzelle said:
Hey Folks,
are you also tired of the oversaturated colours of the S4 amoled display??
I found out that the S4minisettings.apk, that was originally developed for the S4 Mini by F4K to regulate the saturation and other colour concerning features, does the job for the S4 aswell! It works very similar to the colour profiles built into samsung stock roms.
....
The apk can be downloaded here:
http://forum.xda-developers.com/attachment.php?attachmentid=2443961&d=1386605141
....
all thanks go to F4K for creating this nice apk!
Click to expand...
Click to collapse
This apk requires way too many permissions for the task it performs... Suspicious...
There is another option: KTweaker tool which comes with Ktoonsez kernels also allows to modify this setting (works with CM11 kernel, not only with Ktoonsez) .
After all this setting can be set via kernel "/sys" filesystem. From terminal emulator execute command:
Code:
echo 2 > /sys/class/mdnie/mdnie/mode
To make this change permanent (survive reboots and ROM updates) one may use init.d supplied with CM11, and create additional script in /data/local/ (in this location script will survive CM update).
Seems like init.d in CM11-M10 doesn't start scripts in /data/local/userinit.d/ directory, so the only option is to place script code to /data/local/userinit.sh
Permissions of this script must be set to 0755 (-rwxr-xr-x).
For anyone who interested in adopting this method I've prepared template script (also it sets some other available screen options, not only mode):
Code:
#!/system/bin/sh
# For SGS4 screen mode can be chosen from:
# 0 - STANDARD
# 1 - DYNAMIC
# 2 - MOVIE
# 3 - NATURAL
echo 3 > /sys/class/mdnie/mdnie/mode
# For SGS4 screen scenario can be chosen from:
# 0 - UI_MODE
# 1 - VIDEO_MODE
# 2 - VIDEO_WARM_MODE
# 3 - VIDEO_COLD_MODE
# 4 - CAMERA_MODE
# 5 - NAVI
# 6 - GALLERY_MODE
# 7 - VT_MODE
# 8 - BROWSER
# 9 - eBOOK
echo 0 > /sys/class/mdnie/mdnie/scenario
# Other parameters are boolean: 0 - Disabled, 1 - Enabled
echo 0 > /sys/class/mdnie/mdnie/negative
echo 0 > /sys/class/mdnie/mdnie/outdoor
Additionally I've prepared TWRP (CWM should work also, but I've not tested) installable version of this script (see attachment).
In that case if you dislike my default setting you'll need to unpack it, edit "data/local/userinit.sh" and pack it back using zip.
PS
This MAY work with other Samsung AMOLED devices. I can confirm that it works with galaxy tab 7.7 (p6800).
qolob said:
This apk requires way too many permissions for the task it performs... Suspicious...
Click to expand...
Click to collapse
It's not suspicious in any way! The developer f4k who wrote this little apk is a very honorable guy, just have a look at his profile and all of the work he does...
This apk does the job perfectly and doesn't do any harm to nothing.
Your remark/comment is very unnessessary here. So why don't you go start a thread your own instead of lousing this one up?
splitterzelle said:
It's not suspicious in any way! The developer f4k who wrote this little apk is a very honorable guy, just have a look at his profile and all of the work he does...
This apk does the job perfectly and doesn't do any harm to nothing.
Click to expand...
Click to collapse
I'm not trying to blame anyone in anything.
I'm not a pro in android programming and maybe such permissions are implied to all apk's that manage system settings.
However I can't see any reason for app that manages screen settings to require permissions to make calls, access user contacts etc. and it seems suspicious to me. That's all.
splitterzelle said:
Your remark/comment is very unnessessary here. So why don't you go start a thread your own instead of lousing this one up?
Click to expand...
Click to collapse
When I was searching how to setup screen settings in CM11 on SGS4 I've found only this thread. And when I've managed to solve this problem with alternative method I've decided that other users maybe interested in this information. I've posted to Your thread because I thought that it is a good idea to post all possible solutions for 'S4 amoled display colour profiles with cyanogenmod 11' in one thread to help other people find them quickly and in one place.
Sorry if I was wrong and violated something.
qolob said:
I'm not trying to blame anyone in anything.
I'm not a pro in android programming and maybe such permissions are implied to all apk's that manage system settings.
However I can't see any reason for app that manages screen settings to require permissions to make calls, access user contacts etc.
...
Sorry if I was wrong and violated something.
Click to expand...
Click to collapse
Mostly when there are high ranking permissions for an app requested, it isn't because of maliciousness of the author, it's often just carelessness of the creator not deactivating them in the building tool's presets he uses.
And after all, just don't be so mistrustful about things coming from senior xda developers......
This method I announced here is very simple to install, safe and works perfectly even with the latest nightlies so far.

Important. For those who are using AOSP/AICP 7.0 ROM

1.Okay so, in this thread I'm going to post a fix for the infamous mobile data bug I.e mobile data which stubbornly refuses to turn on until restart
2. Substratum weird notification toasts after installing dark themes in which the lowercase y,g,q are incompletely rendered or else, in simple terms, they look weird because the lines don't seem to fit the toast
3. Only 2g bug
3. Overheating bug and battery drain
4. People who are sceptical about doze
5. No sim detected problem
6.Video recording bug
7. And if any more bugs, please mention. The above ones are all fixable although 5th and 1st require some workaround.
Important note. : to make sure that you don't encounter any sim card problem, clean flash this ROM only if you have flashed the official ROMs
Fixes :
1. Install any cm13 nightly. Dial *#*#4636#*#* and change the network type to WCDMA(3G) Preferred (or any G according to your choice). I recommend this step as a must because it hardwires the device to use all of types of desired networks and not enforce only 2g. Also, *please note to insert the data sim in the first slot only* in order to properly use this functionality.
If you are done with the above step, congrats, 80% of the work is already done. Open root explorer and go to /system/etc/apnconfig.XML (something related to APN and I'm sure it'll be the first file). Copy the file and save it somewhere in the internal or external memory.
Now flash android 7.0 and replace the same file in /system/etc/ and set the permission to read only I.e disable every right to write that file.
(This will work in most cases. If not then its a modem issue perhaps )
Edit : I found a new fix. Change the APN name to EE
and APN to everywhere
2. Go to display, change the display size to large and text size to small.
3. Flash the latest ROM of AOSP and disable clusterplug. There's already a tutorial on it in moto x play section. Please google it also govtuner is reportedly working.
4.doze works and phone goes to deep sleep. Observed via EX kernel manager
5.flash the stock ROM properly and then reflash this. Also possibly this is due to .70 volte update. So make sure you use the .52 update before flashing this ROM
6.use google camera and set the quality to 720p
7.you mention.
I'm no developer and I love to experiment. I'll make it a point to experiment on any other bugs if present
Thank you and please post your opinions.
Update : I disabled the aggressive doze in greenify and the data seems to work with the normal apn settings 'apparently'. Although this is the case with android n only. I didn't face this whole using cm13
Also I recommend periodic clearing of partition cache
This is definitely posted in the wrong section. What about this thread implies "Original Android Development" ?
Should be in the general discussion section.
Men thks for the post but, can you xplain how can i do the cluster plug off ? can you help me please
FanDroid09 said:
This is definitely posted in the wrong section. What about this thread implies "Original Android Development" ?
Should be in the general discussion section.
Click to expand...
Click to collapse
The whole point was, the ROM was included in this section. So people will automatically see this post if they are facing any problems. Please understand the logic behind this
anderson.laverde said:
Men thks for the post but, can you xplain how can i do the cluster plug off ? can you help me please
Click to expand...
Click to collapse
http://forum.xda-developers.com/mot...r-plug-enable-disable-stock-cm-t3422345/page4
kpamkar said:
The whole point was, the ROM was included in this section. So people will automatically see this post if they are facing any problems. Please understand the logic behind this
Click to expand...
Click to collapse
Still the wrong section
Why is this needed? Most workarounds are told already. And this should be in general not development
kpamkar said:
The whole point was, the ROM was included in this section. So people will automatically see this post if they are facing any problems. Please understand the logic behind this
Click to expand...
Click to collapse
It doesn't matter what your logic is. This section is for developers that are posting their original work.
The point is to keep the forums properly organized. Not to make it as easy as possible for users who can't search a thread for solutions that have already been talked about.
kpamkar said:
1.Okay so, in this thread I'm going to post a fix for the infamous mobile data bug I.e mobile data which stubbornly refuses to turn on until restart
2. Substratum weird notification toasts after installing dark themes in which the lowercase y,g,q are incompletely rendered or else, in simple terms, they look weird because the lines don't seem to fit the toast
3. Only 2g bug
3. Overheating bug and battery drain
4. People who are sceptical about doze
5. No sim detected problem
6.Video recording bug
7. And if any more bugs, please mention. The above ones are all fixable although 5th and 1st require some workaround.
Important note. : to make sure that you don't encounter any sim card problem, clean flash this ROM only if you have flashed the official ROMs
Fixes :
1. Install any cm13 nightly. Dial *#*#4636#*#* and change the network type to WCDMA(3G) Preferred (or any G according to your choice). I recommend this step as a must because it hardwires the device to use all of types of desired networks and not enforce only 2g. Also, *please note to insert the data sim in the first slot only* in order to properly use this functionality.
If you are done with the above step, congrats, 80% of the work is already done. Open root explorer and go to /system/etc/apnconfig.XML (something related to APN and I'm sure it'll be the first file). Copy the file and save it somewhere in the internal or external memory.
Now flash android 7.0 and replace the same file in /system/etc/ and set the permission to read only I.e disable every right to write that file.
(This will work in most cases. If not then its a modem issue perhaps )
2. Go to display, change the display size to large and text size to small.
3. Flash the latest ROM of AOSP and disable clusterplug. There's already a tutorial on it in moto x play section. Please google it also govtuner is reportedly working.
4.doze works and phone goes to deep sleep. Observed via EX kernel manager
5.flash the stock ROM properly and then reflash this. Also possibly this is due to .70 volte update. So make sure you use the .52 update before flashing this ROM
6.use google camera and set the quality to 720p
7.you mention.
I'm no developer and I love to experiment. I'll make it a point to experiment on any other bugs if present
Thank you and please post your opinions.
Click to expand...
Click to collapse
Moved out of the Development sections to here....
can you give the important parameters from: /etc/apnconfig.XML
thnx
New fix is mentioned. Please check
E:Unknown Command[log]
E:Unknown Command[log]
Error when flashing any nougat rom
PSxplay said:
E:Unknown Command[log]
E:Unknown Command[log]
Error when flashing any nougat rom
Click to expand...
Click to collapse
Not an error. Happens with everyone. Don't worry
I'm trying to go with RR5.7.4 / CM13 but AOSP / AICP N7.0.0. Returning to .52, install the kernel from axxx007xxxz / only for N, full wipe, wipe data. Does not help. "Insert SIM". When flashing an error in a previous post.
Rive188 said:
I'm trying to go with RR5.7.4 / CM13 but AOSP / AICP N7.0.0. Returning to .52, install the kernel from axxx007xxxz / only for N, full wipe, wipe data. Does not help. "Insert SIM". When flashing an error in a previous post.
Click to expand...
Click to collapse
Wait. Why are you flashing a different kernel other than what was given in the rom already ? Also you need to do a full flash which includes flashing of every single file in the retasia/reteu package
I need to go back through the fastboot on the stock?
Rive188 said:
I need to go back through the fastboot on the stock?
Click to expand...
Click to collapse
I guess so. It seems you messed up with the kernel settings. And please give me the exact details of the files you flashed
kpamkar said:
I guess so. It seems you messed up with the kernel settings. And please give me the exact details of the files you flashed
Click to expand...
Click to collapse
All files are taking on XDA. Now it sets RR 5.7.4. I tried to install AICP, AOSP.
Rive188 said:
All files are taking on XDA. Now it sets RR 5.7.4. I tried to install AICP, AOSP.
Click to expand...
Click to collapse
I'm sorry I didn't get you. Can you elaborate properly?

Categories

Resources