[Guide] How to port Stock 2.3.6 apps to cm7 - Galaxy Y GT-S5360 General

Warning:
This guide isn't orginally by me, I found it on internet and posting (with some edits) here to help people
The original post : http://epiccm.blogspot.com/2012/01/porting-touchwiz-apps-for-cm7.html
Click to expand...
Click to collapse
Many stock Samsung apps are awesome and beautifully looking, also cyanogen mod is fast and high customizable, you dont need to sacrfice CM& for good looking apps anymore
Click to expand...
Click to collapse
STEPS:
1- get your desired App from System/app + twframework.jar and twframework-res.apk from System/framework
2- Decompile all of them Using APK Manager OR Apktool OR Virtous Ten Studio or any other apps
Guide for decompile,compile : HERE
Click to expand...
Click to collapse
3- Remove the library dependence from the AndroidManifest.xml
The line looks like this:
Code:
and remove any lines contain ‘com.device.samsung’
This to make it install on non samsung roms
Click to expand...
Click to collapse
4- Copy the twframework code into the app source.
‘twframework.jar.out/smali/’
The app now contains both its own code, and all the needed TouchWiz code. There’s a small chance it might work if you recompile it now, but it probably also needs resources
Click to expand...
Click to collapse
.
5-Update the resources
a. Add the needed files/parts
search for any ‘@touchwiz:’ parts in any xml file under res/.
Next, you will need to merge everything under /res/ from the twframework-res.apk.
Copy over anything that doesn’t already exist. Files under /res/values/ (Except public.xml) will need to be merged, meaning insert all the values from the framework into the app, before the closing tag (Keep the XML valid). If your missing any resources, re-compiling the APK will fail
b. Remove the touchwiz references
Replace every ‘@touchwiz:’ with just an ‘@’
Example :
Code:
@touchwiz:color/
to
@color/
Copied directly from OP :
There are some calls to IDs in the 0x20 range, this is an issue because as far as I know, the 0x20 range can only be provided by the system somehow. For the Calendar app, I had to remove setIcon calls in a few activities to prevent ResourceNotFound exceptions.
If you remove them, then some things like images might not work. I also found that just removing them can cause random NullPointer errors.
Note: While working on the Task Manager, it became more complex. I had to update the old 0x20 references to the references within the new package.
After the resources are added, decompile it again, so the added resources show up in the /res/values/public.xml
Search for the old 0x20 value, and update it to the new value. If you include the /smali/touchwiz/ directory, then you can just search for the hex value and you will get the name of it from the TW R.smali files, and you can find the updated hex value in the /res/value/public.xml file
Click to expand...
Click to collapse
6. Re-compile
7. Sign the apk using platform key or testkey from HERE
GUIDE TO SIGN APK
Click to expand...
Click to collapse
Most apps uses testkey but if you had any permission error, use platform key or search google for the error
Click to expand...
Click to collapse
8. Install
adb push /system/app/
OR
using system app installer
OR
using any root explorer
Credits :
-Original poster
-Me, for simplifing it
Click to expand...
Click to collapse

Well this is useful!

I Will release some apps, after my exams finish
Sent from my GT-S5360 using Tapatalk 2

Is it possible to port stock fm radio to cm7?

bluestarfish said:
Is it possible to port stock fm radio to cm7?
Click to expand...
Click to collapse
you can try it, but it will not work anyway. there is a radio fm bug in cm7

yeah finaly i got this
many thanks sir

Well, I had it in my mind everytime but never tried doing it... #laziness
Anyways, this IS usefull :good:

Nachiket.Namjoshi said:
Well, I had it in my mind everytime but never tried doing it... #laziness
Anyways, this IS usefull :good:
Click to expand...
Click to collapse
Its a great honor for me that a good developer like you admires my work
On a side note : many devs ported stock apps (generally clock widget and launcher and task manager) to CM7 but no one ever shared, I don't like those who don't share their experiences
Sent from my GT-S5360 using Tapatalk 2

Perfect !
Just what i needed good job OP

Related

[Q] The secret of editing framework-res.apk

Hello everyone!
I have tried and tried to customize framework-res.apk, and what a nightmare!! I made a script that works all fine when using Defrost 2.9a and 2.5, but if i try Cyanogenmod or Defrost 3.0, i get force close. When I modify both xml and images.
What am I doing wrong?
Bestest of best regards,
Jonas Hald
Check this initially:
http://forum.xda-developers.com/showthread.php?t=722993
Daelyn said:
Check this initially:
Click to expand...
Click to collapse
As i get it, that doesnt work when I edit the xml, then it has to be recompiled?
Sure
If u change the code it has to be Recompiled ;-)
xtcislove said:
Sure
If u change the code it has to be Recompiled ;-)
Click to expand...
Click to collapse
Yeah, so I do
But i get force close in cyanogen and DF 3.0 - but the Circle Mod online framework modifier can do it, without force close.
Are you sure its not semi-edit the files? I think there are just various versions of the framework.
xtcislove said:
Are you sure its not semi-edit the files? I think there are just various versions of the framework.
Click to expand...
Click to collapse
Semi-edit the files?
So i'm trying to edit the status bar background.png file. I've made a copy of the framework, changed it to zip, replaced file, changed back to apk. But the systems folder is read only. how do i go about changing it to 'write' so I can replace the frameworks???
Also, if my background is transparent, do i also need to change something in the xml if I want the new background to be a solid color

[DPI] Dialer, MusicPlayer, Calc, FM, Camera + GUIDE +utility(kinda)

Hello, you all know that when you change screen density in build.prop a problem with some apps appears.
[MultiDPI]GalaxySpack-CWM.zip contains Dialer, Music Player, FMRadio, Calculator
all modded to support multiple DPI
You can just flash this via CWM or extract individual APKs and replace them in /system/apk/
Newest: Camera.apk
Video Player
How to do it yourself? (example on DialerTabActivity.apk)
* its quite easy, if you want do fix any app you need to know how to edit .xml files, have some basic knowledge about android layout files. If you just want to repack Dialer its easier, because I supply the layout file you just need to recompile the file with apkmanager replacing one of layout files
- download layout_resize.zip file attached (you are welcome to improve the app);
- download APK Manager;
*optional step, not sure if its needed: get framework files from your device and goto apk_manager_4.9\other and install framework files:
Code:
java -jar apktool.jar if "[dir]\apk_manager_4.9\twframework-res.apk"
Code:
java -jar apktool.jar if "[dir]\apk_manager_4.9\framework-res.apk"
- copy DialerTabActivity.apk from your device to "\apk_manager_4.9\place-apk-here-for-modding"
- start script.bat and select decompile apk (if it doesnt work you probably need to do optional step and then try with dependencies, skipping part where it asks for apks)
* now there comes my small commandline java utility - it resizes (replaces hardcoded dip values with 1,5 times bigger rounded px values) layouts in files passed by commandline.
-copy .xml files you want to modify to its dir;
-invoke by (or just use convert_all.bat, now working, thanks Einride!) (windows!):
Code:
for /f %a IN ('dir /b *.xml') DO call java LayoutResizer %a
(idk why resize_all.bat doesnt work)
- modified files are in converted directory, you need to copy them over files in apk_manager_4.9\res\
- hit compile apk
- select yes for system apk and yes for min # of errors
- delete \apk_manager_4.9\keep\resources.arsc and \apk_manager_4.9\keep\res\layout\dialer_app.xml (and any other xml file corresponding to one you have modified
- hit any key
- the apk you need to copy back to your phone is \apk_manager_4.9\place-apk-here-for-modding\unsignedDialerTabActivity.apk
If any rommakers would like to include these apks feel free to do so
Also you are welcome to fix remaining apps including:
-clock
-calendar
-allshare
kudos:
APKTOOL + SIGNAPK authors
APKMANAGER author
xan said:
Hello, you all know that when you change screen density in build.prop a problem with some apps appears. On my first attempt to correct that:
Modded TW calculator (which i kinda like), to work with 200dpi density.
It may not be pixel perfect but hell it works
kudos:
APKTOOL + SIGNAPK authors
Click to expand...
Click to collapse
So, this is for people who change the screen density to 200 dpi, right?
This is a great idea! Do you take requests?
Such a great idea! I'm on 170 density, but i'll give this a go anyway.
You'll become loved if you end up doing this to all the apps that don't scale correctly!
Sent from my GT-I9000 using XDA App
The dialler is the main one.
Sent from my GT-I9000 using XDA App
Hello,
How do you change the screen density?
kevnangel said:
Hello,
How do you change the screen density?
Click to expand...
Click to collapse
Hi you have to be rooted download lcddensity from the market.
Yes, this is for those who changed density to 200 or less (still looks better than stock one).
This was just a proof of concept, the main aim is to mod Phone.apk. At this stage I'm able to repack it, but due to its complexity and the fact its system apk, I'm doing something wrong. This needs more time, but I will try to figure it out today.
And yes, Samsung's layout files are a mess. Phone.apk >40 layout files.
No requests, since its kind of time demanding task, you can post list of STOCK apps that dont scale well for reference. After I'm done with Phone I'll write some guide.
Thanks for the great modification. I tried to onstall it on my Galaxy tab and it actually worked. Not perfect for the tab but Hey it works atleast, however, it keeps forcing close everytime i try to go landsacpe! It would be excellent if you would fix this cheers
Any screenshots of how the phone looks with a different DPI?
DistortedWisdom said:
Thanks for the great modification. I tried to onstall it on my Galaxy tab and it actually worked. Not perfect for the tab but Hey it works atleast, however, it keeps forcing close everytime i try to go landsacpe! It would be excellent if you would fix this cheers
Click to expand...
Click to collapse
Hm, I have no idea what is causing this.
About screenshots -> it looks almost exactly the same as 'normal' TW calculator on standard 240dpi.
xan said:
Yes, this is for those who changed density to 200 or less (still looks better than stock one).
This was just a proof of concept, the main aim is to mod Phone.apk. At this stage I'm able to repack it, but due to its complexity and the fact its system apk, I'm doing something wrong. This needs more time, but I will try to figure it out today.
And yes, Samsung's layout files are a mess. Phone.apk >40 layout files.
No requests, since its kind of time demanding task, you can post list of STOCK apps that dont scale well for reference. After I'm done with Phone I'll write some guide.
Click to expand...
Click to collapse
Thx for this!
Any news on this phone.apk?
STOCK apps that dont scale well are:
Phone (Keypad)
Calculator (Keypad)
FM-Radio (Pad and some button)
Camera (settings)
If you can these working that would be awsome!
I'm using the lowest possible setting without crashing contacts => 182
Rgds
SamHaLeKe said:
Thx for this!
Any news on this phone.apk?
Phone (Keypad)
Click to expand...
Click to collapse
Dialer uploaded to first post
any screen shots`?
first doc's kichen and now this
yeey!
happy newyear xan!
edit: tested and working, looking better now, using 182 ppi as that is perfect for me and the lowest setting without contacts crashing.
want to have the maximum space...
Sent from my GT-I9000 using XDA App
xan said:
Dialer uploaded to first post
Click to expand...
Click to collapse
working great! you did it xan!
can you please have a look to the other apk's like fm-radio? perhaps you can add more plus buttons to?
Sent from my GT-I9000 using XDA App
xan great work bud, wanted to ask something, i have a themed Samsung Dialer, and i'm guessing just copying/pasting the images from that to your modded one won't work properly? If so, is it possible to make the themed Dialer apk into 200DPI?
Cheers!
Yes it will overwrite. Yup, themed 200dpi dialer is possible, just attach DialerActivity.apk here
I am using 182 but I hope it still looks better than the stock one!
xan said:
Yes it will overwrite. Yup, themed 200dpi dialer is possible, just attach DialerActivity.apk here
Click to expand...
Click to collapse
Thanks mate, attached

Enable electronBeam Animation

Hey,
This recent leak of "gingerbread" from samsung does not have animation enabled by default. The code is there, they've just disabled it from the xml.
So here are the steps :
For developers :
1. Get apk manager
2. Put framework-res.apk in "modding" folder
3. Run apk manager, decompile with dependancy (option 10)
4. Drag twframework-res.apk into the script.
5. Go into projects\framework-res\res\values\bool.xml
6. Make config_animateScreenLights to false
7. Go back to script and select compile.
8. Say y
9. Say y
10. Delete resources.arsc from keep folder
11. Enter in script
12. U'll find unsignedframework-res.apk in "modding" folder
For users :
Code:
adb push unsignedframework-res.apk /data/local/tmp/framework-res.apk
adb shell
su
mount -o rw,remount /dev/block/stl9 /system
stop
rm /system/framework/framework-res.apk
cp /data/local/tmp/framework-res.apk /system/framework/
rm /data/local/tmp/framework-res.apk
reboot
Make sure settings -> display -> animation isnt set to none.
Hi Daneshm90,
Did you manage to decompile Settings.apk for GB? Funny thing now is that there is an additional apk in the /userprofile/apktool/ folder. There are now 3 apks (resoures.arsc):
1.apk
2.apk
127.apk
This is something new. Is it now the apks are tri-dependency instead of co-dependency for GB Galaxy s?
g00ndu said:
Hi Daneshm90,
Did you manage to decompile Settings.apk for GB? Funny thing now is that there is an additional apk in the /userprofile/apktool/ folder. There are now 3 apks (resoures.arsc):
1.apk
2.apk
127.apk
This is something new. Is it now the apks are tri-dependency instead of co-dependency for GB Galaxy s?
Click to expand...
Click to collapse
Hmm havent tried that. Will try and let you know.
Daneshm90 said:
Hmm havent tried that. Will try and let you know.
Click to expand...
Click to collapse
Thanks, and waiting for your good news.
Hey thnks for the screen off animation..can u also check whether the glow in end of list is presebt in the code but has been disabled....coz it works in some apps like youtube where u scroll sideways thanks!
Can I ask something?
is this way only for I9000?
I'm using Korean GalaxyS(SHW-M110S, it's shape is same with I9000).
When I pull this framework-res.apk into my SGS, SGS boots infinitely(I don't know this term in English.. sorry)
galaxyS
I am Korea Galaxy S [M110S] user is using. I've tried to apply the source code does not work on framework-res.apk bool.xml config_animateScreenLights to false in a note that if you're saying?
DeHD said:
Can I ask something?
is this way only for I9000?
I'm using Korean GalaxyS(SHW-M110S, it's shape is same with I9000).
When I pull this framework-res.apk into my SGS, SGS boots infinitely(I don't know this term in English.. sorry)
Click to expand...
Click to collapse
Nope these steps are standard. So you can pull your framework-res and undergo these exact modifications
g00ndu said:
Thanks, and waiting for your good news.
Click to expand...
Click to collapse
For me i need twframework-res and framework-res in order to decompile settings.apk w/o error.
So i get 1.apk and 2.apk
DeHD said:
Can I ask something?
is this way only for I9000?
I'm using Korean GalaxyS(SHW-M110S, it's shape is same with I9000).
When I pull this framework-res.apk into my SGS, SGS boots infinitely(I don't know this term in English.. sorry)
Click to expand...
Click to collapse
You guys are using gingerbread leaked rom? Iirc it should be a prerequisite for this mod.
This will come in handy.
Thx.
Worked on JVK, thanks for this
EDIT: Added the resulting framework-res.apk
EDIT2: Complied wrong, all pngs are duplicated, taking up a lot of space. Please do not use this one. Use either danesh's or the one in perka's stash should be updated soon
EDIT3: The fixed framework-res.apk is in perka's stash here http://goo.gl/Lf7LF
Mothatt said:
Worked on JVK, thanks for this
EDIT: Added the resulting framework-res.apk
Click to expand...
Click to collapse
Hi mothatt
See you in IRC
v10.0 beta 4 / RC1
Sent from my GT-I9000 using XDA Premium App
when i try installing it on my phone it says application not installed. what to do?
oaiebmxxx69 said:
when i try installing it on my phone it says application not installed. what to do?
Click to expand...
Click to collapse
Its a framework installation.
Just follow the adb instructions in OP. This is a framework apk, not a user apk.
Daneshm90 said:
Its a framework installation.
Just follow the adb instructions in OP. This is a framework apk, not a user apk.
Click to expand...
Click to collapse
sorry mate but didn't understand a word...
oaiebmxxx69 said:
sorry mate but didn't understand a word...
Click to expand...
Click to collapse
Do u have adb setup ?
If not then read up on how to set it up and then execute the "user" commands i have in the main post.
Daneshm90 said:
Do u have adb setup ?
If not then read up on how to set it up and then execute the "user" commands i have in the main post.
Click to expand...
Click to collapse
i got apk manager and i select option #10 but it just disappears and it also says i don't have java but i do...please help me dude get this thing right
oaiebmxxx69 said:
i got apk manager and i select option #10 but it just disappears and it also says i don't have java but i do...please help me dude get this thing right
Click to expand...
Click to collapse
U can use ones i posted. Click my.profile n search my posts. I posted it in jvk thread
I tent to get a lot of bootloops when i try to push the unsigned framework that i compiled. Adding the resources.asc manually (first take it out the framework and manually add it again with no compression) resolved that.
Is that extra step not nessecary anymore ?

[MOD][CM12.1 BETA 3/20150506] Google Android System Webview

Introduction
Google has updated Android System Webview for Lollipop, but is only exclusive for stock Nexus ROMs. The app is available in Play Store but renders unusable for non-Nexus ROMs. The 'framework-res.apk' contains a string that links the webview to the stock package 'com.android.webview,' and the updated webview uses the package name 'com.google.android.webview.' This mod replaces the link for the Webview from stock to the updated package.
An Xposed module is available but Xposed Framework is in its 'Super Alpha' stage for Android 5.1.1. This mod is for those who don't want to test an unstable build yet.
Instructions
NOTE: Ensure that a backup is available in case things get out of hand.
Download and install Android System Webview from Play Store or replace the stock webview with Delta GApps Webview Addon (flash).
Download the attached file and place it in the device's storage.
Flash the downloaded file through recovery.
Reboot the system.
DIY Tutorial
If you have other mods installed, you can apply this mod alongside them.
Requirements
Windows Platform
A PC
Modified framework-res.apk
Instructions
Go to iBotPeaches' Apktool website and follow the installation instructions for Apktool 2.x.
Place the modified framework-res.apk together with the previously downloaded files in the same folder.
Hold 'Ctrl' + 'Shift' and right-click inside the folder and select 'Open command window here'.
Type in:
Code:
apktool if framework-res.apk
This imports the framework, which is what the 'if' stands for.
Type in:
Code:
apktool d framework-res.apk -s
This decodes the apk. The '-s' variable makes it decode only the resources, which saves us more time in decompiling.
Navigate to 'framework-res\res\values'.
Open up strings.xml and find 'config_webViewPackageName'.
Replace 'com.android.webview' with 'com.google.android.webview' and save.
Type in:
Code:
apktool b framework-res -c
This rebuilds the apk, which is what the 'b' stands for. The variable '-c' copies the original AndroidManifest.xml and META-INF folder. These contain the signatures of the apk and are necessary to function properly.
The recompiled framework-res.apk will be placed in 'framework-res\dist'.
Overwrite the existing framework-res.apk manually or replace the one in the flashable zip with the newly modified framework-res.apk.
thanks for your guide bro
will try this soon, but what we know how this work, if we success install this mod?
Nicklas Van Dam said:
thanks for your guide bro
will try this soon, but what we know how this work, if we success install this mod?
Click to expand...
Click to collapse
The only way I found out it was working was when I removed/replaced the stock webview, Google apps didn't force close at boot. I haven't thought/found other ways on how to.
elmkzgirxp said:
The only way I found out it was working was when I removed/replaced the stock webview, Google apps didn't force close at boot. I haven't thought/found other ways on how to.
Click to expand...
Click to collapse
So I must deleted stock android web view?
Nicklas Van Dam said:
So I must deleted stock android web view?
Click to expand...
Click to collapse
It's not necessary as it is guaranteed to work. But if you really wanted to make sure, then you can go ahead and replace/remove the stock webview.
elmkzgirxp said:
It's not necessary as it is guaranteed to work. But if you really wanted to make sure, then you can go ahead and replace/remove the stock webview.
Click to expand...
Click to collapse
is this will make bootloop? i used cm and this very fragile for that thing
Nicklas Van Dam said:
is this will make bootloop? i used cm and this very fragile for that thing
Click to expand...
Click to collapse
No. You should consider the risk when dealing with these things. Otherwise don't attempt to do such modifications.
elmkzgirxp said:
No. You should consider the risk when dealing with these things. Otherwise don't attempt to do such modifications.
Click to expand...
Click to collapse
i'm not consider that -_-, but i'm very lazy to reflash again if this bootloop. ok thanks for suggest
i've do patch to core.jar from lucky patcher. that's why i lazy with that thing -_- . if reflash it take much time to patch it again
@elmkzgirxp
is there way to check if webview is working??
also there are three files related to webview in aosp ROMs at /system/lib folder
1)libwebviewchromium.so
2)libwebviewchromium_loader.so
3)libwebviewchromium_plat_support.so
do they need replacement as Google webview also has libwebviewchromium.so file
mepsilon2 said:
@elmkzgirxp
is there way to check if webview is working??
also there are three files related to webview in aosp ROMs at /system/lib folder
1)libwebviewchromium.so
2)libwebviewchromium_loader.so
3)libwebviewchromium_plat_support.so
do they need replacement as Google webview also has libwebviewchromium.so file
Click to expand...
Click to collapse
The only way I know is that it doesn't return error messages on certain apps in logcat.
If you're talking about AOSP, the three libraries are used by webview.apk, the stock one. If you are using 5.0+, then it's not necessary to remove them, as the libraries in the /system/app folder takes precedence. But if you're using 4.0+, then you have to replace them. Most flashable zips do this work for you, unless you're doing it manually.
elmkzgirxp said:
The only way I know is that it doesn't return error messages on certain apps in logcat.
If you're talking about AOSP, the three libraries are used by webview.apk, the stock one. If you are using 5.0+, then it's not necessary to remove them, as the libraries in the /system/app folder takes precedence. But if you're using 4.0+, then you have to replace them. Most flashable zips do this work for you, unless you're doing it manually.
Click to expand...
Click to collapse
thanks
I'm on 5.1.1. Google webview has it's own libwebviewchromium.so shouldn't it have it's own libwebviewchromium_plat_support.so and libwebviewchromium_loader.so also??
---------- Post added at 10:42 AM ---------- Previous post was at 10:28 AM ----------
I guess it shouldn't as stock webview also has only libwebviewchromium.so Other 2 lib files must be common for both webview
mepsilon2 said:
I guess it shouldn't as stock webview also has only libwebviewchromium.so Other 2 lib films must be common for both webview
Click to expand...
Click to collapse
Right, of course, I forgot. The other two libraries are still necessary for it to function, but they rely on different libwebviewchromium.so.
elmkzgirxp said:
Right, of course, I forgot. The other two libraries are still necessary for it to function, but they rely on different libwebviewchromium.so.
Click to expand...
Click to collapse
I don't know if people already know this or not. but There is now no need to compile and decompile framework. there is a new commit which support both type of webview. Here is link for SlimRom
https://github.com/SlimRoms/frameworks_base/commit/72556d08c5a50d01252c74e1cec361ee24edd6e6
This support I have found in CM and AICP ROM too but not in ParanoidAandroid
mepsilon2 said:
I don't know if people already know this or not. but There is now no need to compile and decompile framework. there is a new commit which support both type of webview. Here is link for SlimRom
https://github.com/SlimRoms/frameworks_base/commit/72556d08c5a50d01252c74e1cec361ee24edd6e6
This support I have found in CM and AICP ROM too but not in ParanoidAandroid
Click to expand...
Click to collapse
Yeah, this thread is actually outdated, but I am unable to delete it. This could just be for future reference.

[MOD,7.1.x/7.1.2 ] Network traffic meter ( root required)

[DISCLAIM]
Doing at your own risk, I don't hold any responsibility for any consequence that may have occured.
I personally have tested this mod on my rooted pixel on NOF26v release.
Remember to do a backup first.
I personally recommended to overwrite those files and keep your adb connected and restart the system ui instead of a directly rebooting by install the app. . By this way, if there is something wrong, you could easily revert the change via adb.
[Background]
After a week, accompanied with many bootloop and systemui FCs, I finally managed to make the real network traffic to show in the status bar.
I was inspired by this post post by @Morningstar, however, the code is outdated and does not work with the latest nougat release.
I then extracted all the updated smali files from Resurrect Remix ,specifically the system image for flo device because I personally owned a nexus7 2013.
I modified the scripts provided by @sellsky, actually a lot of changes needs to be done, and you need to add missing code when you see something unusual in 'adb logcat'.
You can find the modded files (SytemUIGoogle.apk, SettingsGoogle.apk ) from here.
You can find the modded trafficcm from here.
Screenshot is also attached.
Updated files for NOF27B: https://drive.google.com/file/d/0Bzu0Zqno-_D7ZzFOckhHSHRZeGc/view?usp=sharing
Updated files for N2G47E : https://drive.google.com/file/d/0Bzu0Zqno-_D7ejRYZU9UeFljTFE/view?usp=sharing
Updated trafficcm script for 7.1.2: https://drive.google.com/file/d/0Bzu0Zqno-_D7a3F6aTU2MDVrdFU/view?usp=sharing
Nicely done.
Great job .
Bro can you give me some instructions so that I can mod on my stock OnePlus 3 rom
Hi,
I would like to ask how apply this mod. Must I copy SettingGoogle.apk and SystemUIGoogle.apk from traffic_mod.tar? Where can I find this *.apk in system.
Thank you very much for your help
kevin.kvik said:
Hi,
I would like to ask how apply this mod. Must I copy SettingGoogle.apk and SystemUIGoogle.apk from traffic_mod.tar? Where can I find this *.apk in system.
Thank you very much for your help
Click to expand...
Click to collapse
They are both in system/priv-app in their own folders.
Tulsadiver said:
They are both in system/priv-app in their own folders.
Click to expand...
Click to collapse
I don´t have this folders in system/priv-app
kevin.kvik said:
I don´t have this folders in system/priv-app
Click to expand...
Click to collapse
Then you don't have a Pixel?
works perfectly, I copied both files to system/priv-app, reboot, magic. Thank you!
This one feature is ~70% of my love for xposed. Thanks for porting this over... greatly appreciate it.
To be clear for others, the script is not required for this to work.
Back up the two files in question, both in system/priv -- then copy the above apks into the respective folders and reboot.
After installing this mod and you want it on the left hand side, flash this.
If someone who is using a OnePlus 3/T is able to make this work please say how you did it because I can't find the files that need replacing on my device.
have no idea on how to use the modification and will this still work on latest security patch
bush911 said:
have no idea on how to use the modification and will this still work on latest security patch
Click to expand...
Click to collapse
Works fine.
The thread has been quite clear.
1.) Download
2.) Copy
3.) Reboot
4.) Enable
bush911 said:
have no idea on how to use the modification and will this still work on latest security patch
Click to expand...
Click to collapse
Should work fine, and you could also try the newest build I made ( I have updated the main OP ).
Scarface1991 said:
If someone who is using a OnePlus 3/T is able to make this work please say how you did it because I can't find the files that need replacing on my device.
Click to expand...
Click to collapse
Are you deodexed?
Tulsadiver said:
Are you deodexed?
Click to expand...
Click to collapse
I'm using a custom ROM that is based on AOSP so I think I am. At least there are no .odex files within my system/app folder.
Scarface1991 said:
I'm using a custom ROM that is based on AOSP so I think I am. At least there are no .odex files within my system/app folder.
Click to expand...
Click to collapse
Upload your systemui.apk, framework-res.apk, and settings.apk or whatever yours is called.
I'm not a pixel user, using clean AOSP on Redmi note 3 snapdragon. Can I use these modded files? Or they are SoC dependent?
I'm pretty much a noob ?
kurogami95 said:
I'm not a pixel user, using clean AOSP on Redmi note 3 snapdragon. Can I use these modded files? Or they are SoC dependent?
I'm pretty much a noob
Click to expand...
Click to collapse
You can't use the finished product but using the script might work if you will change the names of your settings.apk and systemui.apk to match the pixel and run his script on your pc. Afterwards change the names back.
Ops updated for android 7.1.2, there are some change in the android support lib.

Categories

Resources