[DEV][MODDING] CRT, Airview, 4-way reboot, ink effect, phone, sms..etc [9/Dec/2013]

7raiden7

Senior Member
Aug 3, 2012
173
48
0
R: [DEV][MODDING] CRT, Airview, 4-way reboot, ink effect, phone, sms..etc [25/Feb/201

Really Thanks for this tutorial!

Could you recommend me a guide to learn how to compile and modify a kernel from source?

Inviato dal mio GT-N7000 con Tapatalk 2
 

jackq

Senior Member
Mar 1, 2012
785
709
0
B-B
I managed to make motion menu to display Smart Alert feature but how can I use it??
I made a miss call to my phone, and after a while I pick up the phone but no vibration!!
Are there any things to do to make it working or just enable the feature in motion menu and that is all!!!!
Any progress to enable this feature? I want it too :D
 

ekache

Senior Member
Jan 30, 2009
343
15
0
41
Jakarta
Rotating TouchWiz Launcher for Galaxy Note with JB 4.1.2 XXLSZ

This is what I'm looking for...great tutorials from a great one who has a kind to share.
Thanks in advance, dear majdinj.

Hope there will be a Rotating TouchWiz tutorial Mod, if it possible.
Well...I think I've found the way how to do it.
-You should have a deodexed ROM
-You should have APK-Multi Tool like "APK-Multi-Tool repacked by majdinj - Nov 2012" credits to him
-Decompile apk of SecLauncher2.apk
-Then goto folder \projects\SecLauncher2.apk\res\values\
-Open file integers.xml with Notepad
-Change the given value "1" to "3" (without quote)
as you can see below:
Code:
<integer name="config_screenOrientation">3</integer>
-Don't forget to Compile it again.
-Rename System_SecLauncher2.apk to SecLauncher2.apk
-Replace the original with this one
-Enjoy the rotating TWLauncher as if we're in Tablet mode.
 

asusgarb

Senior Member
Jul 4, 2010
1,775
344
0
excuse me, but where can i find twframework-res? framework.res is downloadable by apkmultitool site, but i don't know where i can find the twframework. in your repacked multitool there aren't.

the strange thing is some time ago i tried again to use it (unsuccesfully) and they installed without being downloaded by me.
 

ThaiDai

Senior Member
May 28, 2011
2,537
2,574
203
Aachen/หนองบัวลำภู
excuse me, but where can i find twframework-res? framework.res is downloadable by apkmultitool site, but i don't know where i can find the twframework. in your repacked multitool there aren't.

the strange thing is some time ago i tried again to use it (unsuccesfully) and they installed without being downloaded by me.
It's not part of the tools but always a file in your Rom located in /system/framework.
Follow the installation instructions in the setup.bat of the APK-Multi-Tool for installing the necessary files first.
 

codekidX

Senior Member
Mar 7, 2012
1,230
2,070
0
Mumbai
Hello greate guide ....!

I followed this guide perfectly !
1) I built secsettings.apk with Supersu integrated with it ,,,when i replace it with original app with root explorer and reboot phone ...the phone goes into bootloop
2) for adding 23 toggles }
3) for increasing apps in drawer in seclauncher2 } The problem is same as above

My device is galaxy grand i9082 ...it has same strings as well as smali's layout !

PLease help me if you know what i am doing wrong
 

majdinj

Senior Member
Nov 25, 2006
980
3,437
0
AlAhsa
Hello greate guide ....!

I followed this guide perfectly !
1) I built secsettings.apk with Supersu integrated with it ,,,when i replace it with original app with root explorer and reboot phone ...the phone goes into bootloop
2) for adding 23 toggles }
3) for increasing apps in drawer in seclauncher2 } The problem is same as above

My device is galaxy grand i9082 ...it has same strings as well as smali's layout !

PLease help me if you know what i am doing wrong
Is your ROM deodexed??
Have you pushed the modded file to the correct partition??
Have you fixed the modded file permissions to rw-r--r-- before rebooting??
Have you tried wiping cache and dalvik cache??
 

codekidX

Senior Member
Mar 7, 2012
1,230
2,070
0
Mumbai
Is your ROM deodexed??
Have you pushed the modded file to the correct partition??
Have you fixed the modded file permissions to rw-r--r-- before rebooting??
Have you tried wiping cache and dalvik cache??
yes i set the permission tried wiping cache and dalvik cache also ! no luck

yes, actually it is not a custom ROM ! i rooted the stock firmware !!! and deodexed it using my tool ! pushed it through adb into the system

so do i need to build a custom ROM and then try it again ?
 

apurvapatel

Senior Member
Mar 15, 2009
262
93
0
Gujarat
Majdin,
Great tutorial and compilation in one thread :good:

I am trying to build a DeOdexed and Zip Alligned "Lite" ROM from XXLSZ from ThaiDai's great tutorial. Everything stock works perfectly fine.

I tried some of your mod tutorials which work great. Am stuck at a couple of them though.

For me, 4 way reboot works with an issue. Hot Reboot gets the phone stuck at the glowing Samsung logo. Restart the phone and it cold boots perfectly. Happens everytime,

Facing problems with Smart Rotation enabling too. Compiling and pushing the SecSetting,apk to phone, Setting FCs everytime. Cant figure it out. Setting permission is done right. Pushed to the right partition. The ROM is deodexed on which I work with the apktool.

Same with ekache's tutorial for Rotating Touchwiz Launcher. Pushing the compiled apk to the phone doesnt show TWLauncher at all. No FC no nothing. Another installed launcher works. TouchWiz doesnt show up at all.

Rest of a couple of mods work just fine for me. For enabling ink effect, 23 toggles and such, I need to learn more. : )

Awaiting your advice.
 

Linuxx84

Senior Member
Dec 12, 2012
198
29
0
Hi majdinj, I tried to follow your guide on how to integrate an app in Settings.apk but when I recompile I get an error:

C:\apktool\SecSettings\res\xml\settings_headers.xml:78: error: Error parsing XML: mismatched tag

Why? I checked several times and it is right :(
 

ekache

Senior Member
Jan 30, 2009
343
15
0
41
Jakarta
...
Same with ekache's tutorial for Rotating Touchwiz Launcher. Pushing the compiled apk to the phone doesnt show TWLauncher at all. No FC no nothing. Another installed launcher works. TouchWiz doesnt show up at all.
...
If you don't mind I'll give you "Rotating" SecLauncher2.apk of mine (XXLSZ)
And make sure you don't have SecLauncher2.odex on your /system/app/
Just in case...try to install another launcher before replacing the SecLauncher2.apk if something goes wrong.

Here's how I replace the SecLauncher2.apk:
-Using Root Explorer rename SecLauncher2.apk to SecLauncher2.apk.ori
-Then copy and paste the "Rotating" SecLauncher2.apk to /system/app/
-Change its permission to rw-r--r--
-Reboot.

Good luck.
 

Attachments

Last edited:

apurvapatel

Senior Member
Mar 15, 2009
262
93
0
Gujarat
If you don't mind I'll give you "Rotating" SecLauncher2.apk of mine (XXLSZ)
And make sure you don't have SecLauncher2.odex on your /system/app/
Just in case...try to install another launcher before replacing the SecLauncher2.apk if something goes wrong.
Good luck.
Thanks Ekache,

Your SecLauncher2.apk works perfectly fine. I just pushed it to the system/app folder on my phone with ES File Manager, root rights given, and the launcher works perfectly fine.

I decompiled the stock deodexed and zip alligned launcher file from the ROM, changed the "1" to "3" in integer.xml file and recompiled it again. The recompilation process finishes perfectly.

When I push my changed apk file to system/app, change the permissions and reboot the phone, the twlauncher isnt seen by the system at all. Any other launcher installed runs. No option for twlauncher comes. It is not even listed in Settings->Application Manager.

The size of your apk file is 25,65,868 bytes and my recompiled apk is 26,28,773 bytes. The only thing i changed is the interger value, still difference in size.

I am using majdin's APK-Multi-Tool repacked by majdinj - Nov 2012. May be the compression level or the heap size used is different in the
apktool?

I am going to try the whole thing from scratch again. Cook up the stock rom rooted, deodexed and zip alligned. No mods at all. Once that runs fine on my phone, I'll pull the SecLauncher.apk from the phone and push the recompiled apk again and see.

I am totally confused!!
 

Goldie

Inactive Recognized Developer
Oct 16, 2010
9,966
22,758
0
Re: [DEV][MODDING] CRT, Airview, 4-way reboot, ink effect, phone, sms..etc [1/March/2

i cant't found \res\values folder on secsetting.apk...
Then it didn't decompile correctly or you didn't decompile at all ;)

Sent from my GT-I9100 using Tapatalk 2
 

majdinj

Senior Member
Nov 25, 2006
980
3,437
0
AlAhsa
Hi majdinj, I tried to follow your guide on how to integrate an app in Settings.apk but when I recompile I get an error:

C:\apktool\SecSettings\res\xml\settings_headers.xml:78: error: Error parsing XML: mismatched tag

Why? I checked several times and it is right :(
This means you have mismatched values.. check values in values\strings.xml and pic name in drawable-xhdpi folder

Majdin,
Great tutorial and compilation in one thread :good:

I am trying to build a DeOdexed and Zip Alligned "Lite" ROM from XXLSZ from ThaiDai's great tutorial. Everything stock works perfectly fine.

I tried some of your mod tutorials which work great. Am stuck at a couple of them though.

For me, 4 way reboot works with an issue. Hot Reboot gets the phone stuck at the glowing Samsung logo. Restart the phone and it cold boots perfectly. Happens everytime,

Facing problems with Smart Rotation enabling too. Compiling and pushing the SecSetting,apk to phone, Setting FCs everytime. Cant figure it out. Setting permission is done right. Pushed to the right partition. The ROM is deodexed on which I work with the apktool.

Same with ekache's tutorial for Rotating Touchwiz Launcher. Pushing the compiled apk to the phone doesnt show TWLauncher at all. No FC no nothing. Another installed launcher works. TouchWiz doesnt show up at all.

Rest of a couple of mods work just fine for me. For enabling ink effect, 23 toggles and such, I need to learn more. : )

Awaiting your advice.
- 4 way reboot: you need to flash kernel fix (see philz thread)
- Smart Rotation enabling: either you did wrong smali editing, or you sign your apk that you shouldn't.
- Rotating Touchwiz Launcher: tbh, I didn't test this mod, Only I post tut for mods I tested!!
- Ink effect: I recommend you to go for InkEffectSettings program that was created by mythtrandyr, since it makes you able to choose any color.

yes i set the permission tried wiping cache and dalvik cache also ! no luck

yes, actually it is not a custom ROM ! i rooted the stock firmware !!! and deodexed it using my tool ! pushed it through adb into the system

so do i need to build a custom ROM and then try it again ?
You need to have whole deodexed rom.. not only deodexed targeted apk!!!

i cant't found \res\values folder on secsetting.apk...
It seems that you just extracted your apk!!!
You need to DECOMPILE it
 
Last edited:

inamie

Senior Member
Aug 16, 2012
592
193
0
KLang
Re: [DEV][MODDING] CRT, Airview, 4-way reboot, ink effect, phone, sms..etc [1/March/2

Does anyone have googlesearchwidget.apk with 5x1..

Sent from my GT-N7100 using xda app-developers app