Related
This is my first port ever so any advice, feedback is appreciated.
I'm not a developer, I just want to learn and I found that doing this port was not too difficult. So if anyone feels like helping me out learn about porting, etc then feel free to contact me.
I decided to open this thread for better support and faster feedback as I'm planing to keep it as up to date, bug free as my skills and time permit.
Well the official website for the rom is LewaOS
Credit: Thanks to xj220gt, for his initial port that got my interest, to the CM team since I'm using their roms as a base, and to whoever else credit is due.
New baseband = March 11 2012
Old Baseband = July 2011
Click to expand...
Click to collapse
Download links:
Code:
[B]Current released version:[/B]
[URL="http://www.mediafire.com/download.php?zntk35vbbd72f2n"] LewaOS-R.282_13.01.09[/URL]
[B]Old version:[/B]
[URL="http://www.mediafire.com/download.php?ri1kw4uvfpy0mye"]R.282 LewaOS Turbo 05/10/2012[/URL]
[URL="http://www.mediafire.com/download.php?wt2k7z9reqs0dj6"]R.282 LewaOS Turbo 20/07/2012[/URL]
[URL="http://www.mediafire.com/?5w1zqc1jceb1p4l"]R.282 LewaOS RC3[/URL] (New Baseband)
[URL="http://www.mediafire.com/?vhc9gbvyvnb1112"]R.282 LewaOS RC3[/URL] (Old Baseband)
Screenshots!
Check my Gallery
The tutorials have been moved to the third post.
Changelog
Changelog:
January 8th, 2013
Code:
[QUOTE]
LewaOS-R282-13.8.1 testing
Removed some bloat
Updated to the latest version of cm and lewa.
[/QUOTE]
[U]June 4th, 2012
Code:
[QUOTE]
LewaOS-Base-release_nBB
Port based on released 2012/3/22 of Lewa OS for HuaWei X5 (U8800x) suit for kernel 2.6.35.7
Base rom is CM7.2 nightly from 06/03/2012
[B]Added:[/B]
CM camera
ES Explorer
Quickpic latest version
CM voice dialer
CM wallpapers
Support for livewallpapers and a few stock ones from CM
ADW launcher
Term emulator
Gallery 3d (quickpic recommended unless you want picasa photos support)
[B]Added wifi calling[/B]
LGEservices
mms apk
cm music
ROM manager
superuser
Torch
[B]Not working:[/B] Camera blacks out.
Big thanks to jookdakang23 for pointing me out to a more stable build to port from.
[/QUOTE]
[/U]
June 5th, 2012
Code:
[QUOTE]
LewaOS_R.282_p999-RC1-nBB
Port based on released 2012/3/22 of Lewa OS for ZTE Blade v880
[B]Features:[/B]
Deodexed
Zipaligned
updated host to block many adds (like with adblock)
[B]Added apps:[/B]
ADW Launcher (just in case)
Android Terminal
ES File Explorer 1.6.1.6
Gallery 3D (Quick pic recomended)
Wifi calling
LGE services and support for live wallpapers
CM wallpapers
CM live wallpapers
CM mms app (just in case)
Quickpic 2.3
Rom Manager
Torch app
Voice Dialer
Everything stock is working
[/QUOTE]
June 6th, 2012
Code:
[QUOTE]
[B]LewaOS_R.282_p999-RC2[/B]
Port based on released 2012/3/22 of Lewa OS for ZTE Blade v880
Removed ADW Launcher (Not needed and dont fully work, install from market if you want it.
Removed lewa bloat (chinese market, etc)
Removed Quickpic (it was not launching) Left stock one
Odexed (deodexing it gave me a low probability of getting everything to work, maybe for RC3 I'll try again.)
zip aligned
custom host to block adds
[/QUOTE]
Code:
[B]LewaOS_R.282_p999-RC3[/B]
Removed some bloat.
Added support for /data/app (gives user the ability to remove those apps without need for root.)
Updated Lewa launcher
Fixed contact picture issue
Fixed double txt
Deodexed
adds blocked
Added some apps I think are useful but can be easily removed.
Click to expand...
Click to collapse
June 8th, 2012
Code:
[B]LewaOS_R.282_p999-12.06.08[/B]
Optimized
New interface
Latest version of LewaOS
Stable version
Added wifi calling
From now on, I will update weekly unless some wild bugs appear or new fixes for CM bugs shows up.
[SIZE="5"][B]LewaOS Bugs:[/B][/SIZE]
[B]Confirmed:[/B]
Mobile Network Settings is completly white.
Video Recording not working.
No option to change lockscreen.
Settings crash when changing call settings.
Loock screen is partially in chinese
[B]Not Confirmed:[/B]
Pulling down notification bar makes the bar goes down then back up.
Wallpaper crashes.
No root?
Click to expand...
Click to collapse
LewaOS Official Changelog
Code:
SMS
- Optimized MMS paperclip symbol to show the incomplete
- Optimize the interface of the instant messaging pop-up box
- Optimize a new message, a common point of contact listed rules
- Optimization in the SMS settings SMS instant suggestions "to" information immediately prompted
- Optimize the removal of the SMS in SMS settings limit and MMS restrictions
- Fixed a bug where after repeated contact with a contact, when the new message, commonly used contacts will show repeated
- Repair information address, use Baidu input method to enter the word, click the Delete key, contacts stored FC
- Repair contact information is still being saved as a draft
- Repair response through instant messaging frog letter, the state in its session interface has been "sent ..."
- Add existing contacts to repair bulk SMS search interface can not use Family Names
- Repair the music player interface, Sogou input method to reply to instant messaging, replies finished keyboard does not automatically recover
- Repair contact only with a number of text messages, re-edit the new SMS, add a contact does not have this number of automatic memory
System
- Repair boot sometimes get stuck in the "Music Experience" interface
- Fixed connection WiFi, enter the WiFi interface and then return to the WiFi will automatically disconnect
- Optimized the HVGA bottom of the phone to confirm / cancel button too much
Security interceptor
- Optimize the long number of pop-up option box in the white list interface, increasing the "Move to blacklist feature
- Repair will receive spam messages are added to the blacklist, and then the numbers go to the white list to return to the message list, press and the number should not be removed from the blacklist. "
- Optimization of telephone intercepts to add numbers to the white list, press and the number of telephone intercepts, the "Add to white list" to "Move to blacklist
Call
- Added automatic call recording function (System Settings -> Applications -> Call -> automatic recording)
- Fix non-card or no network, a normal call, it should give the user a prompt to tell the user can not call
- Fixed blocking rules set to block all numbers, outgoing calls and hang up immediately when the call icon in the status bar does not disappear
- The process of repair calls to instant messaging, and the other side hang up the phone, our instant messaging window with the switch off
- Repair a conference call, management conference call interface "return call" button font color and background color similar and difficult to see the text
Version update
- Repair to cancel on the download, click on "Download the new version of" no response
- Fixed non-WiFi to download the full package, the network cut to the next WiFi, the download can not continue
Status Bar
- Add user custom shortcut switches the display and location of the order
- Repair the data storage mode, disconnect the USB cable, re-insert the data storage mode is still open
- Repair quickly click twice on USB storage, USB storage has been closed, but in fact the USB storage to open
- Repair masked the missed call notification bar ad blocking incoming calls drop-down status bar once FC
Click to expand...
Click to collapse
How to install:
1-) Make a nandroid backup of most recent working rom. Also use titaniumbackup or similar to backup your data
2-) Wipe clean all partitions
3-) Flash the new Rom
4-) Flash GAPPS
5-) Flash your kernel (optional)
6-) Boot up
7-) Restore your apps, be mindful when restoring settings.
I know this might be a lot of work, but that is the safest way I have found to keep my data as I have lots of apps. Also You must keep your sd card files intact for this to work.
After first boot, do the initial setup, fix permissions and reboot. That is all.
What is working: Everything.
What is not working: As far as I know no issues.
Add-ons
If you want my zip with the updated camera.apk and updated libs for the new baseband then flash this. The mod was not made by me, I just updated the libs to make it work with current roms.
Gapps:
gapps-gb-20110828-signed
gapps-gb-20110828-newtalk-signed for the New Gtalk with video support.
Kernels supported: Basically anything that is for CM7.
Trinity kernels Official website
ELP-G2x-06022012 For battery saver.
T15-G2x-06022012 For better performance over battery.
Faux kernel version 054 is the latest
His kernels are here
You will need a custom recovery with support for ext4 for trinity kernels, if you want use these.
For windows: One-Click ClockworkMod Recovery NvFlasher
For Linux: CWM-Based Recovery 5.0.2.8 For P999(Internal & External SD)
Mac OS: ClockworkMod flash
Harsh Kernel: update-harsh-CM7-3.0.32-P999-0406 Download the CM7 version for p999. (Currently this kernel removes cwm so do not use for now)
Tutorials:
Original guide for porting
dsixda's Android Kitchen
The guide for the kitchen
Bonus Downloads:
CM7.2 nightly from 06/03/2012 for old baseband mod by me.
LG G2X usb drivers for windows.
How to add support for old or new baseband?
I have been asked what did I do to get the latest nightly to support the old baseband so I will just put it here.
To add support for the new baseband just get these 4 files from here.
Then You will open your rom file or just add the files to the following locations replacing old files:
1-)nvddk_audiofx_core.axf to /system/bin/nvddk_audiofx_core.axf
2-)nvrm_daemon to /system/bin/nvrm_daemon
3-)libnvddk_audiofx.so to /system/lib/libnvddk_audiofx.so
4-)libnvmm_audio.so to /system/lib/libnvmm_audio.so
This has only been tested to work with GB
If you want to provide support for the old baseband instead of the new one then just do the same, but get the files from a rom that supports the old baseband, I recommend CM7.2 RC2, it is the same process.
Click to expand...
Click to collapse
How to unbrick-upgrade or/and downgrade baseband.
Okay the first thing is to go to stock (rooted) 2.3.3 this will work for unbriking and everything. G2X_V21E_00_NVFlash The original thread can be found here.
This is good in case you brick or want to upgrade, you go to a lower version so LG tool let you upgrade.
Code:
[QUOTE="ILUHA_89, post: 17258229, member: 4234630"][COLOR="Blue"][B]ROM for recovery G2X under the NVFLASH [/B][/COLOR]
This method necessary!
If the device is not loaded and not firmware in other ways! (If you downloaded the wrong firmware in the device)
I took the unpacked program files KDZ and added to them NVFlash and created BAT file!
Download ROM: [URL="http://www.mediafire.com/?wfokxjxi7rfoaey"]http://www.mediafire.com/?wfokxjxi7rfoaey[/URL]
Mirror: [url]http://www.megaupload.com/?d=C5LBU3DS[/url]
Download APX driver: [url]http://www.mediafire.com/?k559zgjlqkd5ted[/url]
[B][COLOR="DarkOrange"] Installation Instructions: [/COLOR][/B]
[LIST=1]
[*]Download both files
[*]Unpack it to the C drive to their respective folder
[*]Remove the battery
[*]Hold Vol Up/Down (and keep them held)
[*]Insert the USB cable
[*]Install APX driver from the your APX folder
For windows 7(and vista? please confirm):
[LIST]
[*]Open Device Manager in Windows and you should see "APX Device" listed with an error
[*]Right click on the APX device
[*]Select 'Update driver software'
[*]Select 'Let me pick...'
[*]Select 'Have disk'
[*]Browse to directory you extracted the APX Driver
[*]Select the *entire* 'APX Driver' folder
[*]Accept any warnings, including the big red alert (you may need to disable UAC)
[*]Now in Device Manager under 'USB Controllers' you should have an 'NVIDIA USB Boot-recovery driver for mobile devices'
[*]If not, uninstall the driver, reboot, rinse and repeat
[*]Unplug everything
[/LIST]
[*]Hold Vol Up/Down (and keep them held)
[*]Insert USB cable
[*]open your ROM folder:
[*]Run Flash.bat file and wait for the process
[*]After the logo appears on the LG phone
[*]Unplug USB cable
[*]Insert the battery
[*]enjoy!
[/LIST]
After that, I recommend to firmware device with help programms KDZ or LG Mobile Update[/QUOTE]
Now we need to download the kdz files.
The V21Y_00 update (LG T-Mobile branded Android 2.3.4) can be found here and the Original thread
Use this file for upgrading to the newer baseband.
For downgrading go to this thread on the first post, if you have a T-Mobile phone download this one if not the the other.
From this thread download the offline tool
This tool will let us upgrade or downgrade.
Now the thread provide instructions but many people get lost even with the pictures because there are basic yet important steps he misses.
1-) Unzip the tool.
2-) go to start menu and look for wordpad, do a rick click and run as administrator.
3-) Opend wordpad as administrator, from it, open up the “host” file is under C:\windows\system32\drivers\etc\ or %systemroot%\system32\drivers\etc\ at the bottom add 127.0.0.1 csmg.lgmobile.com.
4-)open cmd.exe as administrator, cd to the unzipped directory and run Automatic Offline Procedure.vbs
To open cm or wordpad as administrator you have to do a search in the menu bar and then a right click and select "run as" or "run as administrator"
5-) The script will install 1. MSXML 4.0 SP3 Parser, let it do it.
6-) The script will also run 2. “windows enabler.exe”, on the status bar (usually right lower corner) a new icon will show up, do a left click and make sure it says on.
7-) 3. Enable the phone’s “USB debugging” mode (menu>settings>applications>development>USB debugging), connect the phone to PC and wait for drivers to be loaded.
4. Run "UpTestEX_mod2_marwin.exe" if the script dont already start it. It usually does.
9-) Despite of what the original guides says, the only thing you need to change is select the kdz file.
10-) Press "Normal web upgrade test" > upgrade start >
11-) Select: Clear Phone Software update registry, Select "Different Country" and select your Language. Click <OK>
12-) Ignore any message saying to check the internet and run again, this is good.
13-) Wait until it finishes. If it gives any message that the phone is not connected or something like that, disconnect it, turn it off, remove battery and plug it back holding "Volume Down" key. (Automatically goes to Upgrade mode).
That's it. The same process to upgrade or downgrade.
The last step is to flash cwm. Use the link I provide in this same post.
Click to expand...
Click to collapse
Most of these stuff is not mine so instead of repeating everything on my own words and add my part, I just use what is there and add my part and provide links to where I got the info or files from. This is my way of giving credit to where it is due without having a list of the names of everyone related or unrelated.
Is wifi calling working with this rom?
Sent from my LG-P999 using xda premium
cervantesjc said:
Is wifi calling working with this rom?
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Yes it is, I just added the changelog.
I seriously need to get the standard format the devs use.
Rafase282 said:
Yes it is, I just added the changelog.
I seriously need to get the standard format the devs use.
Click to expand...
Click to collapse
Thanks, I'll give it a try, I need wifi calling, just because I have no reception where I live.
Sent from my LG-P999 using xda premium
cervantesjc said:
Thanks, I'll give it a try, I need wifi calling, just because I have no reception where I live.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
I just found out that the lewas dial app crashes when you receive a call. I was testing wifi calls, so the good news is, it works, the bad news is, I'll have to change that app and re-upload.
hey op, just some advice, you should add in the op screenshots, what kind of rom this is, and its features etc. cuz most of us cant read chinese
Removed file, I'm going to start over. I broke data while playing with changing the dial apk.
does bluetooth call audio work with this ROM? it didnt work in the latest CM...
BuddhaTeh1337 said:
does bluetooth call audio work with this ROM? it didnt work in the latest CM...
Click to expand...
Click to collapse
If it did not work on CM7.2 Nightly from 05/27/2012 then there is a high chance that it will not work as it is based on that.
I'm currently testing a build. When changing the phone.apk and its odex file for the phone.apk from cm it seems my data is gone and dialers crash at boot. Currently trying to figure out how to fix it.
After much struggle I decided to start completely clean. So I got the data working again but the dialer would crash when incoming calls.
Now I'm going to try to replace the phone.apk for the CM one. If that works then soon enough I should have a "stable" version soon.
There is a new initial release, check changelog for more info.
I'm still unable to replace the crappy dialer app from this rom, ugh!
Still working on finsding a solution. If anyone could help me with showing me how to deodex this rom, and even better, how to replace the dialer app without breaking data, please let me know.
Edit: ALso I just finished reuploading, this time I changed the chinese apps for better ones eventhough dialer issue still persist. AT last that would be a better initial release than just pure stock Lewaos.
Keep us updated. The dialer messenger combo is kind of cool, if I was able to make calls...
Sent from my Android powered coffee coaster.
How i disable lockscreen, so i can add widgets on home screen in Lewas OS rom? Because every time i pressed the screen it locks and dont let me add widgets.
Sent from my LG-P999 using xda premium
sleepingturtle said:
Keep us updated. The dialer messenger combo is kind of cool, if I was able to make calls...
Sent from my Android powered coffee coaster.
Click to expand...
Click to collapse
With the stock I was able to make calls with both wifi calling and without. The problem is to receive it.
I'm not that popular either way so I could go without it for a while
chipis said:
How i disable lockscreen, so i can add widgets on home screen in Lewas OS rom? Because every time i pressed the screen it locks and dont let me add widgets.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Well normally on the lewaos launcher, you just press and hold the screen, then a menu will appear at the button, select widgets, then above that menu the available widgets will show up.
The closest setting I see for lockscreen is on settings>personal>themes<customize> then you get lockscreen and its wallpaper.
Support for themes is fully working. But you need to use the default launcher to see the changes not adw launcher.
Aside from this, I'm not quite sure what is your issue as I can get widgets just fine.
Rafase282 said:
Well normally on the lewaos launcher, you just press and hold the screen, then a menu will appear at the button, select widgets, then above that menu the available widgets will show up.
The closest setting I see for lockscreen is on settings>personal>themes<customize> then you get lockscreen and its wallpaper.
Support for themes is fully working. But you need to use the default launcher to see the changes not adw launcher.
Aside from this, I'm not quite sure what is your issue as I can get widgets just fine.
Click to expand...
Click to collapse
Thanks i got it!
Old baseband version coming soon. Hopefully this one will be stable. I'm planing on using the latest nightly and remove support of the new baseband to make it work with the old one.
Also I have a untested ICS rom Genesis Beta 9 with support for the new baseband, and updated kernel modified by me. So I'll be going back to the new baseband to test that rom
Yayyyyy,hopefully dialer can be resolved. The Wi-Fi calling apk is in this correct?
Sent from my LG-P999 using Tapatalk 2
Update: Paul O'Brien of Modaco has made a web based tool for you to quickly make a new apk to your own requirements without the need to compile and decompile yourself, it can be found here - http://www.modaco.com/topic/358494-lj1-note-2-multi-window-tool/ (please pay attention to his last paragraph too!).
Dear all
Better laid out page with quick guide - http://lennyuk.co.uk/lennyuks-multi-screen-extend-mod-for-n7100/
What it is:
This is my quick fix before a real fix comes at a later date to add more apps to the multi-scren mode. It is not perfect and only allows for apps I have listed below (and the ones that were already there).
This is just a simple xml mod, it is easy to do yourself if you know how to decompile and recompile framework-res.apk, I will not accept the credit for finding where in the xml it needs to be edited, I have just made the changes below, recompiled and made a .zip for you.
As a warnning if your planning on making your own edit, there is a general bug in the way this works (not confirmed but believed) that if you have more than 1 page full of apps in that "edit" screen the whole split-screen crashes.
So don't go adding too many apps at this point in time!
What it is not:
This is not an ideal solution to add all your apps, it is just a quick xml change to add the apps I have detailed below.
What does it add?
The apps I have added are as follows (by package name, if you don't understand package names then try to google it, it will probably tell you the name of the app, but its easy to work out in most cases):
Code:
In v1.2:
<item>com.google.android.apps.authenticator2</item>
<item>com.lastpass.lpandroid</item>
<item>com.google.android.apps.plus</item>
<item>com.quoord.tapatalkpro.activity</item>
<item>com.adaptiveblue.GetGlue</item>
<item>com.androirc</item>
<item>bbc.iplayer.android</item>
<item>com.gzero.tv</item>
<item>com.dropbox.android</item>
<item>dk.tacit.android.foldersync.full</item>
<item>com.imdb.mobile</item>
<item>se.footballaddicts.livescore</item>
<item>com.android.vending</item>
<item>com.google.android.music</item>
<item>com.spotify.mobile.android.ui</item>
<item>com.amazon.mp3</item>
<item>com.amazon.venezia</item>
<item>com.bskyb.android.skyplus</item>
<item>com.ideashower.readitlater.pro</item>
<item>com.levelup.touiteur</item>
<item>com.speedsoftware.rootexplorer</item>
In v1.3:
<item>org.connectbot</item>
<item>com.handmark.tweetcaster.premium</item>
<item>com.google.android.apps.docs</item>
<item>com.whatsapp</item>
<item>jackpal.androidterm</item>
<item>de.shapeservices.implusfull</item>
<item>de.shapeservices.impluslite</item>
<item>com.quoord.tapatalkxda.activity</item>
<item>com.quoord.tapatalkxdapre.activity</item>
<item>kik.android</item>
<item>com.ebuddy.android</item>
<item>com.skype.raider</item>
Do not worry if you don't have some of these apps installed, they will just be ignored.
IT MIGHT LOG YOU OUT OF YOUR ACCOUNTS, THIS CANNOT BE AVOIDED, BUT YOU CAN JUST ADD THEM BACK
Install
1) NANDROID FIRST!! This way if something goes wrong, or you don't like my mod you can easily revert.
2) Flash in CWM (or other custom) recovery.
3) Boot and add back all your accounts!
Files
v1.3 - CLICK HERE
v1.2 - click here
Updates
I might update this with other apps requested if and only if it appears a real fix is taking too long.
I strongly advise you keep a close eye on Modaco or Paul O'Brien's twitter feed as he might have some interesting information on this subject soon.
IF YOU ARE AN APP DEVELOPER PLEASE READ THIS - http://www.modaco.com/page/news/_/a...rt-for-samsung-multi-window-to-your-apps-r823
Apps to be added (if I make an update!):
- Slices
- <item>com.metago.astro</item>
- <item>com.instagram.android</item>
- <item>com.phonezoo.android.streamzoo></item>
- <item>com.alensw.picfolder</item>
- uk.Amazon.mShop.android
- Shazam
- GoSMS
- Google Translate
- <item>com.infraware.polarisoffice4</item>
- WeChat messenger
- email (stock)
- calculator
Changelog
v1.3
- More apps added, see list above
v1.2
- initial release
- based on LJ1 (but should be fine on any stock based rom that has multi-screen feature)
- includes apps listed in section 1 above (future apps, if updated, will be split into separate sections in the list so its clear they were added later)
Request to add whatsapp...please..
Thanks in advance..
Sent from my GT-N7100 using Tapatalk 2
sumeshd said:
Request to add whatsapp and tapatalk..please..
Thanks in advance..
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
tapatalk is already there
+1 on whatsapp, and :
- Andftp
- Andsmb
- Terminal (both those on the market)
Which toolkit did you use to decompile + recompile this framework file?
Can I request Stylish Girl - Fashion Closet please
https://play.google.com/store/apps/details?id=com.ddnmedia.stylishgirl
eitama said:
+1 on whatsapp, and :
- Andftp
- Andsmb
- Terminal (both those on the market)
Which toolkit did you use to decompile + recompile this framework file?
Click to expand...
Click to collapse
I didn't use a toolkit if you mean a pre-made script tool thing, I just used the latest apktool and a command prompt window.
thanks, amazon is good for italian shop?
Lennyuk said:
I didn't use a toolkit if you mean a pre-made script tool thing, I just used the latest apktool and a command prompt window.
Click to expand...
Click to collapse
Does that apktool also sign the apk after recompiling?
Do you have to copy the resource.asec thingy? (Been some time since I handled apktool)
Marchintosh said:
thanks, amazon is good for italian shop?
Click to expand...
Click to collapse
the app is the same for every country as far as I know, it just detects where you account is registered when you login, so yes it should be fine.
OK I'm test good on Wannam v1.1
Can you add app Yahoo, IM+
eitama said:
Does that apktool also sign the apk after recompiling?
Do you have to copy the resource.asec thingy? (Been some time since I handled apktool)
Click to expand...
Click to collapse
no it doesn't sign, we don't have access to samsungs keys anyway.
I copied resources.arsc after compiling over to the original apk and replaced the existing one.
If people want to get a list of their own packages for personal editing:
Code:
adb shell
pm list packages -f
Then select the ones you want to add and strip out the spurious 'package:/system/app/xxxxxxxxx=' or 'package:/data/app/xxxxxxxxx='
As a warnning, there is a general bug in the way this works (not confirmed but believed) that if you have more than 1 page full of apps in that "edit" screen the whole split-screen crashes.
So don't go adding too many apps at this point in time!
At least folk can take out the ones they don't want to make space for others
Done. This is awesome thanks Lennyuk!!!!
where edit xml in framework-res.apk?? i want add app for me
dale89 said:
where edit xml in framework-res.apk?? i want add app for me
Click to expand...
Click to collapse
res/values/arrays.xml
thanks for the mod, i will try to edit !
i don't see anything res/values/arrays.xml
dale89 said:
i don't see anything res/values/arrays.xml
Click to expand...
Click to collapse
You need to decompile framework-res.apk first.
### 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.
Hi,
I have a rooted android 4.2.2 tablet ,I want to block the default screen orientation when i turn off the auto rotation , that's mean :
when i turn off the auto rotation and i'm in landscape, i don't want it to turn to portrait (and vice-versa), and i prefer to use a code and not an app that stays always in memory
Someone can help me please?
Thank you
Note : Please quote my post when you want to answer me, like that i will receive an email telling me that there is a new reply
saywow said:
Hi,
I have a rooted android 4.2.2 tablet ,I want to block the default screen orientation when i turn off the auto rotation , that's mean :
when i turn off the auto rotation and i'm in landscape, i don't want it to turn to portrait (and vice-versa), and i prefer to use a code and not an app that stays always in memory
Someone can help me please?
Thank you
Note : Please quote my post when you want to answer me, like that i will receive an email telling me that there is a new reply
Click to expand...
Click to collapse
-If you know to editing apk files then follow these steps.
- Decompile your default system launcher for example SecLauncher2.apk for SAMSUNG phones using apk multitool.
- Go to \res\values folder and open integers.xml.
- Search for this line:
Code:
<integer name="config_screenOrientation">[COLOR="Red"]1[/COLOR]</integer>
- Change the integer number to one of actions bellow:
1 = Disabled
2 = Enabled when Screen Rotation is switched on (270 degree)
3 = As same as 2
4 = Always enabled even if Screen Rotation is switched off (270 degree)
5 = Always default position
6 = Always in landscape mode (to the left)
7 = As same as 5
8 = Always in landscape mode (to the right)
9 = Upside down portrait when Screen Rotation is switched on
10= As same as 4 but for all directions (360 degree)
- Save changes.. recompile, push it to your device and fix permissions to 644 and reboot.
HIT THANKS if i helped you
pandian8552 said:
-If you know to editing apk files then follow these steps.
- Decompile your default system launcher for example SecLauncher2.apk for SAMSUNG phones using apk multitool.
- Go to \res\values folder and open integers.xml.
- Search for this line:
Code:
<integer name="config_screenOrientation">[COLOR="Red"]1[/COLOR]</integer>
- Change the integer number to one of actions bellow:
1 = Disabled
2 = Enabled when Screen Rotation is switched on (270 degree)
3 = As same as 2
4 = Always enabled even if Screen Rotation is switched off (270 degree)
5 = Always default position
6 = Always in landscape mode (to the left)
7 = As same as 5
8 = Always in landscape mode (to the right)
9 = Upside down portrait when Screen Rotation is switched on
10= As same as 4 but for all directions (360 degree)
- Save changes.. recompile, push it to your device and fix permissions to 644 and reboot.
HIT THANKS if i helped you
Click to expand...
Click to collapse
Thank you for your answer , I'm using smart launcher , can i do that using only my tab or i need a computer?!
and i don't know how to "fix permission" can you explain to me please? and i don't really know which option is responding to what i need , is it 5/7th ?!
saywow said:
Thank you for your answer , I'm using smart launcher , can i do that using only my tab or i need a computer?!
and i don't know how to "fix permission" can you explain to me please? and i don't really know which option is responding to what i need , is it 5/7th ?!
Click to expand...
Click to collapse
no no no, i told to edit your home launcher not custom launcher
if your tablet is rooted then go to /system/app/(your system launcher.apk)
and you need a computer with all resources likeJAVA(jdk) , SDK , NotePad++ , for this download each one from THIS SITEEEEEE
and click here for apk multi tool and tutorial for using apk multi tool
if you know editing apk files using means then edit
i think this is new for you then learn it from the above website
PERMISSIONS
if your done editing your system launcher then you have to paste it using root explorer in /system/app/paste and overrite it
when you are pasted it successfully then by long press that apk file a tab opens in that clickpermissions in that tick all read box and tick first box of write
this is spelled as rw-r--r-- where the r-read w-write slash is represented as not to tick
click THANKS if i helped you
pandian8552 said:
no no no, i told to edit your home launcher not custom launcher
if your tablet is rooted then go to /system/app/(your system launcher.apk)
and you need a computer with all resources likeJAVA(jdk) , SDK , NotePad++ , for this download each one from THIS SITEEEEEE
and click here for apk multi tool and tutorial for using apk multi tool
if you know editing apk files using means then edit
i think this is new for you then learn it from the above website
PERMISSIONS
if your done editing your system launcher then you have to paste it using root explorer in /system/app/paste and overrite it
when you are pasted it successfully then by long press that apk file a tab opens in that clickpermissions in that tick all read box and tick first box of write
this is spelled as rw-r--r-- where the r-read w-write slash is represented as not to tick
click THANKS if i helped you
Click to expand...
Click to collapse
Ok thanks a lot , but the problem i have uninstalled the default launcher , what should i do?
saywow said:
Ok thanks a lot , but the problem i have uninstalled the default launcher , what should i do?
Click to expand...
Click to collapse
Then search for your launcher on google you may find solution for that
Give your phone detàils
Sent from my GT-I8552 using XDA Free mobile app
pandian8552 said:
Then search for your launcher on google you may find solution for that
Give your phone detàils
Sent from my GT-I8552 using XDA Free mobile app
Click to expand...
Click to collapse
Ok thanks a lot , idk how but it works now , i've just re-install my frimware and keept smart launcher 2 .
Thank you.
S-VoiceDescription
OK U can call it a Touchwiz Marshmallow/Lollipop/S6 S Voice
Catelog/Features/Bugs/Status
S Voice v1
-S Voice working(obvious)
-Wake up working
-Sound recognization working perfect
-The system settings still open old S voice app
-In S Voice settings the Sound Wake up is shown off even when its on but its not a bug of any sort so NO PROBLEM
S Voice v1.1.0
-S Voice working(obvious)
-Wake up working
-Sound recognization working perfect The Replys are now better
-The system settings open New S Voice - It may be possible that after reboot it vanishes from system setting- but thats not a problem
-In S Voice settings the Sound Wake up option FIXED
INSTALLATION:
v1.0.0
Download the zip file provided
Extract it using a file explorer or any other app
Now move the folders to the respective as in the main folder, that is, Sysem>priv-apps>(the folders placed here)
Provide proper permission to folder rwx r-x r-x
Provide permission to apk rw-r--r--
Provide permission to files(like .so in lib or arm folder) rw-r--r--
Do a full reboot
v1.1.0
Flash via recovery
Do System Reboot
If system settings still open old s voice- go to system settings- in bottom-default applications- clear default for any sort of s voice
If there is a problem - try this --Delete all S-Voice releated apk files and folders in system>priv-app location nd then flash the zip - now Open settings>S Voice>Enable double tap feature action to activate s voice - now again go to system>priv-app location and this time delete the folder S-Voice_Android_phone - reboot system - now double tap and configure the New S-Voice
NOTE
Any sort of copy or makin mirror link will not be tolerated but u can request me for making a mirror link
U can help fix the problems u r facing
U HAVE DECIDED TO TRY THIS MODE SO IF U FACE ANY BOOTLOOP. ITS NONE OF MY PROBLEM
THIS IS FOR THE MOTION ROM BETA 5.1.1 v16.8 and older So if u try it on any other ROM and it doesnt works, dont complain; and if it works plz tell on this form so others may know
Screenshots are provided in attachment
Download LInk here:https://drive.google.com/file/d/0B5C0CmQAaTT9RE4tbmUza1FzMUk/view?usp=docslist_api
DOWNLOAD LINK v1.1.0
https://drive.google.com/file/d/0B5C0CmQAaTT9MzBER2hMTEZaUWs/view?usp=docslist_api
Credit
For Now its me @sumitgupta06
IF U LIKE MY WORK OR FOUND IT HELPFUL U R FREE TO GIVE ME A THANK
So Plz Hit The Thank Button
try to port Air Command for Motion rom please bro
cakdavid said:
try to port Air Command for Motion rom please bro
Click to expand...
Click to collapse
Ok bro I will see what i can do
Multiwindow pls
priendy said:
Multiwindow pls
Click to expand...
Click to collapse
FIXING the multiwindow would be a very difficult thing
I will see what i can do if theres something i can even do
DO NOT worry bro cuz the devs are working on that problem
BUT THERES A TEMPORARY FIX
Install Xposed Framework and activate a multiwindow xposed module
UPDATE ABOUT S VOICE - ON WHICH I M CURRENTLY WORKING - WILL UPLOAD IT WHEN COMPLETELY FIXED
-Added Latest Built - S6 S Voice(But I dont see any difference)
-Fixed the settings problem so now system settings open the New S voice
-Completely removed the old S Voice
-New Problem Arises -- No Network Every time we open the app
I will see if I can fix this problem
Till Then u Can use this v1.0.0
Hit thank if it works for u
Ok guys I have fixed this 2 issues
Now i Will make a flashable zip and upload it
Guys link uploaded
Enjoy
If u face any old bugs, inform me on this thread
Plz HIT THE THANK BUTTON IF IT WORKS
Won't work, just same as standard. I've flashed that
northernopsrey said:
Won't work, just same as standard. I've flashed that
Click to expand...
Click to collapse
Bro u r only getting the new one Or like facing the old one??
If there is a problem bro - try this --Delete all S-Voice releated apk files and folders in system>priv-app location nd then flash the zip - now Open settings>S Voice>Enable double tap feature action to activate s voice - now again go to system>priv-app location and this time delete the folder S-Voice_Android_phone - reboot system - now double tap and configure the New S-Voice
This will definaltely work
Sorry wont be uploading a better fixed zip cuz i have gone through an ccident recently and had got a pretty bad hand injury
sumitgupta06 said:
Bro u r only getting the new one Or like facing the old one??
Click to expand...
Click to collapse
Still getting old one
northernopsrey said:
Still getting old one
Click to expand...
Click to collapse
Try the fix i wrote bro
if u r not rooted---https://download.chainfire.eu/593/supersu
if u require file explorer --- https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en
sumitgupta06 said:
Try the fix i wrote bro
if u r not rooted---https://download.chainfire.eu/593/supersu
if u require file explorer --- https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en
Click to expand...
Click to collapse
I through you forgot write the file extraction script, so I see nothing S Voice files after I flashed them. It flashed very quickly (usually it taking long time, 2 minutes since it has large file size). So double check the flashing script
Forcing to manual installation instead
I'm sorry to hear that, just get well soon
hi guys new update MAY come soon - v2.0
all bugs fixed
and fully working flashable file this time
I m once again saying MAY cuz possible i wont be available this month for this.
sumitgupta06 said:
hi guys new update MAY come soon - v2.0
all bugs fixed
and fully working flashable file this time
I m once again saying MAY cuz possible i wont be available this month for this.
Click to expand...
Click to collapse
Hey, mate. Its possible to port S6 Camera?
Maybe this A5 thread can help you (idk), look: http://forum.xda-developers.com/samsung-a-series/general/s6-note5-apps-galaxy-a5-t3247522
will it work on aditiya romv2.1???
#anurag said:
will it work on aditiya romv2.1???
Click to expand...
Click to collapse
yes it will work....try it...bcoz its for 5.1.1 base roms
Double tap doesn't work
S8 S-Voice Dream Style Icon
1) Replaced the application icons
2) Installation : https://yadi.sk/d/CBfJkAZK3JUPFZ