yashsingh1/xdaforums huggingface dataset:
[Galaxy Note GT-N7000 Themes and Apps] not-i:
Looks good mate. Have you tried looking through the android manifest of the gesture apk for the associated libraries?

Also thinking there may be a permission needed. I'll have a look through my Note 2 and see what I can find.

EDIT: it uses permission - com.sec.android.app.minimode but we have this already. This points to minimode.jar. I have compared both from N7000 & N7100 and only difference is in com/sec/android/app/minimode in the two smali's in the attached zip (these are from MG1 N7100).

Maybe this will help?
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
Thanks [MENTION=4503214]not-i[/MENTION],, I will see what I can do with these goodies.. As start, I will push the whole jar to decrease defragment possibility.
[Galaxy Note GT-N7000 Themes and Apps] not-i:
How much was working for you? I can add gestures now and no fc by copying those two smalis into LT9 minimode.jar. I also recompiled gesture app with LT9 framework.

Only problem is where to write the gestures. In note 2 you hold pen and stroke up to bring up gesture pad. I'm not getting it yet
[Galaxy Note GT-N7000 Themes and Apps] tkari4:
Mod from first post works perfectly! (XXLT4)

If you have FC, then "it's good" maybe you can find the problem with the Dalvik Debug Monitor

I had FC in SystemUI after pressing the help button on the mw app bar...

DDM (ddms) told me what is missing. :good:

It's the part of the Android SDK. It works well with Philz kernel.
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
Here is my feedback:

New minimode.jar smali: NO

Compiling SPenGesturePad.apk with GT-N7000 framework: NO

Have you able to create gesture and saved it normally and then recall it without fc?

if so, could you please share your modded minimode.jar and SPenGesturePad.apk so I can check and then inquiry about the procedure.

thanks in advance for co-operation :good:

Edit:

I think this feature will not be handy if we couldn't figure out how to call gesture pad as [MENTION=4503214]not-i[/MENTION] mentioned: ((Only problem is where to write the gestures. In note 2 you hold pen and stroke up to bring up gesture pad. I'm not getting it yet))..!!!!

It gives same results as adb logcat.. it locates to same smali (GesturePadNewCmdActivity) with NullPointerException.
[Galaxy Note GT-N7000 Themes and Apps] not-i:
I got gestures working :laugh::D:good:

I will upload the files when I'm at work. Running late right now.

[MENTION=369057]majdinj[/MENTION] I made the gesture apk visible in app drawer. Now you can open it to write on the gesture pad and it works. Only problem is that you may as well just open the app you want as it will take just as long, ha ha.

Next step is to try make the gesture pad come up with some command or gesture on home screen
[Galaxy Note GT-N7000 Themes and Apps] nokiamodeln91:
:thumbup:
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
Cool,, every minute is worth waiting,,

Thanks,,

So who is the genius now??!! :o
[Galaxy Note GT-N7000 Themes and Apps] not-i:
your still the man, ha ha :D
[Galaxy Note GT-N7000 Themes and Apps] mjrifath:
Wow impressive..

Thanks to majdinj (guide/tutorial master) and not-i(moding/porting master) for brought this amazing feature to our Note device.

You both are Genius guys.

Thanks again:thumbup:

With your colobration i hope Note 3 feature also would be able to port to our device when ir arrives.

Cheers:D
[Galaxy Note GT-N7000 Themes and Apps] not-i:
Ok I have uploaded the working Quick Command Gesture pad to the Sweet ROM thread. Not sure how it will go with other roms as it uses my SecSettings from Sweet ROM (LT9 firmware) (which would need my android policy.jar for all settings like ink effect to work).

[MENTION=369057]majdinj[/MENTION] you could try it with your settings anyway and see how you go.

Available here
[Galaxy Note GT-N7000 Themes and Apps] asmanao:
xxlta tried it on. but in the settings still fc.
[Galaxy Note GT-N7000 Themes and Apps] not-i:
You would probably need other files, jars etc which are modded for sweet rom I would guess
[Galaxy Note GT-N7000 Themes and Apps] asmanao:
thanks for the reply. I'll wait 'other developments
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
Thanks [MENTION=4503214]not-i[/MENTION] .. I have tried the files you uploaded and after struggling I still have fc with gesture command unfortunately with same error throwing by logcat. :(

Wild thinking

: this gesture might need other lib(s) that is/are available in LT9 firmware (at least the one we confirm working) or SweetROM,,,???

Anyhow BIG thanks to you [MENTION=4503214]not-i[/MENTION] for your contributing in this thread..

I will update OP and put some note regarding gesture issue with old and LT9 firmware..

Other tests with other firmwares are required..

Until then, happy modding :)
[Galaxy Note GT-N7000 Themes and Apps] mbartosik:
@up

Logcat from my n7000 (I have FC too , when i try add new gesture command - Sweet Rom v 10 )

09-10 12:24:47.551: W/dalvikvm(11773): threadid=1: thread exiting with uncaught exception (group=0x40d642a0)
09-10 12:24:47.561: E/AndroidRuntime(11773): FATAL EXCEPTION: main
09-10 12:24:47.561: E/AndroidRuntime(11773): java.lang.NullPointerException
09-10 12:24:47.561: E/AndroidRuntime(11773):	at com.sec.android.gesturepad.GesturePadNewCmdActivity$6.onClick(GesturePadNewCmdActivity.java)
09-10 12:24:47.561: E/AndroidRuntime(11773):	at android.view.View.performClick(View.java:4261)
09-10 12:24:47.561: E/AndroidRuntime(11773):	at android.view.View$PerformClick.run(View.java:17356)
09-10 12:24:47.561: E/AndroidRuntime(11773):	at android.os.Handler.handleCallback(Handler.java:615)
09-10 12:24:47.561: E/AndroidRuntime(11773):	at android.os.Handler.dispatchMessage(Handler.java:92)
09-10 12:24:47.561: E/AndroidRuntime(11773):	at android.os.Looper.loop(Looper.java:137)
09-10 12:24:47.561: E/AndroidRuntime(11773):	at android.app.ActivityThread.main(ActivityThread.java:4921)
09-10 12:24:47.561: E/AndroidRuntime(11773):	at java.lang.reflect.Method.invokeNative(Native Method)
09-10 12:24:47.561: E/AndroidRuntime(11773):	at java.lang.reflect.Method.invoke(Method.java:511)
09-10 12:24:47.561: E/AndroidRuntime(11773):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
09-10 12:24:47.561: E/AndroidRuntime(11773):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
09-10 12:24:47.561: E/AndroidRuntime(11773):	at dalvik.system.NativeStart.main(Native Method)
[Galaxy Note GT-N7000 Themes and Apps] not-i:
I've got an idea. I'll pm you
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
OK... waiting for PM
[Galaxy Note GT-N7000 Themes and Apps] asmanao:
my phone mounts xxlta rom. I can test changes hi!
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
OK after several testing,, we thought of other SGNII apps that [MENTION=4503214]not-i[/MENTION] includes in his SweetROM, so they could be the reason..

After downloading SGNII ported apps from [MENTION=4503214]not-i[/MENTION] post here:

http://xdaforums.com/showpost.php?p=44404755&postcount=2799

I did these tests:

Tried to push only lib: FAILED

Then added tried etc: FAILED

Then added tried preloaddata: FAILED

Then added tried VODB: FAILED

Then added tried system app and preload app: SUCCESS .. horrrrrey :fingers-crossed:

Conclusion:

Although I have tried several things, flashing, pushing, installing... all these things FAILED to prevent fc from showing up.. But after pushing SGNII apps, it works which means there is app dependent along with other stuff.. I will try to tune that up.. this will be time consuming, so any contributing is welcomed
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
I have now tried this one that makes PenGesture works..

You will need ResourceManager.apk and libs and VODB from [MENTION=4503214]not-i[/MENTION] SGNII port..

I will do more testing for tune up,, this may take some time for me cuz I have some instability issue with my PC.. so please be patient.

In the moment, try the files I pointed to, at least to try the SPen Gesture feature.

Cheers

Edit:

It is only VODB folder,,, I don't know why it didn't work before while I was trying different things..!!!

It is official now, SPen Gesture has been ported successfully to GT-N7000 :laugh:

I would like to thank [MENTION=4503214]not-i[/MENTION], without his files for SNote porting, I couldn't come over this SPen Gesture fc issue.

OP will be updated to include SPen Gesture porting way..
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
OP updated with final porting way..

enjoy
[Galaxy Note GT-N7000 Themes and Apps] asmanao:
sorry but not works here fc (xxlta) .like before
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
OK, download (SweetV10_SGNII_NEW_SNote_SPlanner_by_not-i_&_kenet.zip) from the post above and open it, delete preload folder and sweet folder then open system folder and delete app folder. Retutn back and open META-INF folder several times till you find updater-script, open it and delete these lines:

show_progress(0.1, 0);
ui_print("");
ui_print(" Installing Sweet ROM V10 Mods ");
ui_print("");
ui_print(" Porting from SGN II ");
ui_print(" Snote, Idea Sketch & SPlanner ");
ui_print("");
run_program("/sbin/sleep", "3s");
show_progress(1, 8);
unmount("/system");
unmount("/cache");
unmount("/data");
[B][COLOR="Red"]unmount("/preload");[/COLOR][/B]

mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p7", "/cache");
delete_recursive("/cache");
mount("ext4", "EMMC", "/dev/block/mmcblk0p10", "/data");
delete_recursive("/data/dalvik-cache/");
[B][COLOR="Red"]mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/preload");[/COLOR][/B]

ui_print("");
[B][COLOR="Red"]ui_print("removing old files...........");

delete("/symlink/system/app/QuickSnote_Q1.apk");
delete("/symlink/system/app/SecCalendar_Q1.apk");
delete("/symlink/system/app/Snote_Q1.apk");
delete("/system/app/ResourceManager.apk");
delete("/system/app/sCloudSyncSNote.apk");
delete("/system/app/SecCalendarProvider.apk");
delete("/system/app/Snote_Q_Provider.apk");
delete("/system/app/SPlannerAppWidget.apk");
delete("/system/app/QuickSnote_Q1.apk");
delete("/system/app/SecCalendar_Q1.apk");
delete("/system/app/Snote_Q1.apk");
delete("/system/lib/libsnote_Q1.so");[/COLOR][/B]

package_extract_dir("system", "/system");
[B][COLOR="Red"]package_extract_dir("preload", "/preload");[/COLOR][/B]

[B][COLOR="Red"]package_extract_file("sweet/create_preload_symlinks", "/tmp/create_preload_symlinks");
set_perm(0, 0, 0777, "/tmp/create_preload_symlinks");
run_program("/tmp/create_preload_symlinks");

set_perm_recursive(0, 0, 0755, 0644, "/preload/symlink/system/app");[/COLOR][/B]
set_perm(0, 0, 0755, "system/VODB");

run_program("/sbin/umount", "/system");
run_program("/sbin/umount", "/cache");
run_program("/sbin/umount", "/data");
[B][COLOR="Red"]run_program("/sbin/umount", "/preload");[/COLOR][/B]

ui_print("");
ui_print(" Enjoy my mod ");
ui_print("");
ui_print("");
ui_print(" by not-i ");
ui_print("");

then try flashing the file in cwm..

I will do one more test just to make sure.. I will totally format my phone and flash new fresh ROM, then I will try the procedure again just to make sure that everything is OK
[Galaxy Note GT-N7000 Themes and Apps] asmanao:
when I touch. "spengesture" icon the phone freezes.
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
Have you wiped cache and dalvik cache.. did you try the new SPenGesturePad.apk in OP..

Edit

I have flashed new ROM from scratch, and tried the mod again with port and it is fine..!!!
[Galaxy Note GT-N7000 Themes and Apps] asmanao:
nothing. Now restore the backup and try again. the file "spengesture.apk" I put it in / system / app?
[Galaxy Note GT-N7000 Themes and Apps] not-i:
Yes
[Galaxy Note GT-N7000 Themes and Apps] diegonnc:
Well thank you majdinj , you are a genious, after following carefully your guide i was able to do it on my own stock lite rom based on XXLTA, and it works just fine.Thank you again ;)
[Galaxy Note GT-N7000 Themes and Apps] asmanao:
finally works. I removed all languages ​​other than my own. so I lightened a bit the system. majdini & note-i you are great
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
I am glad to hear that..

Next:

Now I am thinking of checking the resource of recalling the pen gesture from... mm I think android.policy,,, I will try but no promise.!!
[Galaxy Note GT-N7000 Themes and Apps] asmanao:
any news. is well accepted :)
[Galaxy Note GT-N7000 Themes and Apps] dsmas:
Sorry to bother.

Smali SecSetting.apk not producing modded file in finish folder. Thanks.
[Galaxy Note GT-N7000 Themes and Apps] diegonnc:
Make sure the Baksmali Manager, is in the shortest folder path you could think of.I recommend unzipping the program into c:backsmali.
[Galaxy Note GT-N7000 Themes and Apps] dsmas:
OK. I got it. I deleted each color separately and got the final apk.

Hat's Off to masdinj for both his op and baksmali. Great.

Edited : Previously deleted all colors in one shot. Also first time used baksmali.(apk editing).
[Galaxy Note GT-N7000 Themes and Apps] Hazem62:
thanks for the superb work

- for arabic users , unrar the attached file , add the yielded folder to /system/VODB , this will enable arabic language in Quick command .

- the command is written from Right to Left , e.g.

مجدى #

you may need root explorer to do the copying process
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
Always the first step is the hardest part of doing anything in life.. It is good that you started doing baksmali things and by time you will be addicted to it, especially if succeed doing the mod yourself,,,, I wish you all the best mate.

Thanks man, and your procedure can be applied to any language actually, just find the corresponding VODB for your language and add it to VODB folder in your device and fix permissions. Just make sure that you have enough space in /system partition.
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
Multi-languages VODB

I have made a multi-languages VODB folder as flashable zip file.

It contains the following languages:

Arabic - ar

Bulgarian - bg

Catalan (Spain) - ca_ES

Czech (Czech Republic) - cs_CZ

Danish (Denmark) - da_DK

German (Germany) - de_DE

Greek (Greece) - el_GR

English (United Kingdom) - en_GB

English (United States) - en_US

Spanish (Castilian) - es_ES

Spanish (United States) - es_US

Estonian - et

Basque - eu

Finnish (Finland) - fi_FI

French (Canada) - fr_CA

French (France) - fr_FR

Galician - gl

Croatian - hr

Hungarian (Hungary) - hu_HU

Indonesian (Indonesia) - id_ID

Icelandic - is

Italian (Italy) - it_IT

Kazakh (Kazakhstan) - kk_KZ

Korean (Korea) - ko_KR

Lithuanian - lt

Latvian - lv

Malay (Malaysia) - ms_MY

??? - mul

Norwegian (Norway) - nb_NO

Dutch (Netherlands) - nl_NL

Polish (Poland) - pl_PL

Portuguese (Brazil) - pt_BR

Portuguese (Portugal) - pt_PT

Romanian (Romania) - ro_RO

Russian (Russia) - ru_RU

Slovak - sk

Slovenian - sl

Serbian - sr

Swedish (Sweden) - sv_SE

Thai - th

Turkish (Turkey) - tr_TR

Ukrainian - uk

Urdu - ur

Vietnamese (Viet Nam) - vi_VN

Chinese (S) - zh_CN

Chinese (Hong Kong) - zh_HK

Chinese (T) - zh_TW

Download:

- SGNII_VODB_ML.zip | Download - size: ~100mb |

(md5sum: 367e69e59f7f3a83948fad765f20d7ae )

After finishing download, open it by any archive program and go to system\VODB folder and delete any language that you don't want and leave only the one you use (for me I have only English and Arabic) then put it in your sdcard and flash it in recovery.
[Galaxy Note GT-N7000 Themes and Apps] serge_harle_z:
Hi majdinj, nice work. With your tutorials I was able to add some functions to the i717. MAybe you can help me out. I tried the spen gesture in the i717 and I get FC when trying to access the settings. I tried looking into logcat but I really dont understand much. Thanks
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
In which part you got fc?

Is it when you open it or when exit it or when tried to write gesture?

Also how much available space in /system partition?

Which VODB file you flashed?
[Galaxy Note GT-N7000 Themes and Apps] serge_harle_z:
It is when I try to open the gestures through settings. Also I get FC when trying to open Quick Command in the apps. I used the VODB that is attached and set permitions as indicated.I already have airview activated and working correctly.
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
Use VODB with 4 mb not 100mb

If problem persist, it could be:

1) Either your ROM are missing file(s) that are already in GT-N7000 which makes Quick Command works (if this is the cause, then you have to search as I did - although unlikely..!!)

or

2) The compiled SPenGesturePad.apk is not compatible with your device firmware, try doing this way:

- Download untouched SPenGesturePad.apk from attachment down here

- By using apktool, install your ROM framework-res.apk and twframework.apk

- Decompile SPenGesturePad.apk

- Open AndroidManifest.xml and add the blue line here to make app visible in app drawer:

<intent-filter>
<action android:name="android.intent.action.MAIN" />
[B][COLOR="Blue"]<category android:name="android.intent.category.LAUNCHER" />[/COLOR][/B]
</intent-filter>

- Recompile SPenGesturePad.apk again and SIGN it (important).

- Now push the new SPenGesturePad.apk to device and fix permissions

This way will ensure you have compiled SPenGesturePad.apk against your ROM firmware
[Galaxy Note GT-N7000 Themes and Apps] serge_harle_z:
Will try it out tonight. Thanks man. I will let you know how it goes.:good:
[Galaxy Note GT-N7000 Themes and Apps] galaxynote2:
I'm using the app "GMD Spen Control Root" to call the Quick Command and works nice! Try the free app!
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
Yup, I just tried it and it worths every penny spent,,

If any is interested, you can visit the developer thread (@StupidIdea) from here
[Galaxy Note GT-N7000 Themes and Apps] kirtandoshi:
VODB folder permissions

Just in case you are getting force closures when trying to open quick command app or set a gesture for quick command through settings...

please check your VODB folder.....The folder and all Sub folders inside it should have permissions drwxr-xr-x not rw-r-r

rw-r-r permission should be for all the single files in the VODB folder and the single files in the subfolders....

This is what i discovered after getting FC on quick command app.

So to explain it simpler :

VODB : drwxr-xr-x

- en_US : drwxr-xr-x

- 5 files inside this folder : rw-r-r

- lib : drwxr-xr-x

- 11 files inside this folder : rw-r-r

- resources.txt : rw-r-r

I have got quick command working alongside the SNote and Splanner app for Galaxy note 8.0...on my N7000.

Thank you Majdinj and not-i for this great mod!!
[Galaxy Note GT-N7000 Themes and Apps] serge_harle_z:
Did the test and it still fc. Will download the LT9 rom and have a look to see what the I717 is missing. Anyway thanks for the help.
[Galaxy Note GT-N7000 Themes and Apps] harold5249:
Is it possible to call the gesture pad without using s pen?

Sent from my GT-N7000
[Galaxy Note GT-N7000 Themes and Apps] asmanao:
it is possible. but it will be difficult to write with one finger ;)
[Galaxy Note GT-N7000 Themes and Apps] harold5249:
How?

I prefer use my finger because I dislike to use s pen. It will cause loosen to the s pen "store room". :(

Sent from my GT-N7000
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
For non-auto fix permission recovery, I made new VODB flashable that contains all required permissions in updater-script.

I hope it will fix problem of fc that others face.
[Galaxy Note GT-N7000 Themes and Apps] armaan_99:
Hi,

The above method looks more complicated than rooting and flashing ROM. I am have Note 7000... so what steps i should follow to get the Airview and S Pen Gesture to work fine. The device is rooted, but want to know if i can enable Airview and S-pen Gesture on Stock 4.1.2. Can i just flash Perm_fix-VODB.zip in recovery mode. Thanks in Advance.
[Galaxy Note GT-N7000 Themes and Apps] armaan_99:
Can anybody help me with this. I would want to enable it on my N7000
[Galaxy Note GT-N7000 Themes and Apps] Kamy:
If you flash sweet rom you can have this mod.
[Galaxy Note GT-N7000 Themes and Apps] akhil093:
One question sir.

I've enabled the gesture guide option successfully but it is not working. I know it doesn't related to pen attach or detach feature which is not available for our note.. So i want to know the reason that why its not working. It only requires to be pen held over the screen with pen button pressed and the available gestures should appear.
[Galaxy Note GT-N7000 Themes and Apps] majdinj:
Yeah sir as you said,, but if you looked at note 2, the feature is not there either.. so I am assuming that it is just preparation code for the next note generation or next api level as having finger airview codes already in note 1 and 2 but is not functioned either because of missing extra codes in other apk or jar or libs files.
[Galaxy Note GT-N7000 Themes and Apps] methoddon1:
After finishing download, open it by any archive program and go to system\VODB folder and delete any language that you don't want and leave only the one you use (for me I have only English and Arabic) then put it in your sdcard and flash it in recovery.[/QUOTE]

[MENTION=369057]majdinj[/MENTION] can i just push the needed language folder with Root Explorer to vodb folder with the right permissions of course ?

p.s. tried, system doesnt see it even with all the right permissions after a reboot or dalvik cache wipe. so the question is ,- upon flashing a zip ,but let's say i'll just leave one language in your zip, will it just add that language to a list of languages already on the device or will it wipe out the original vodb and create a new one ? the reason i'm asking is because i noticed the thread is for Note 2 so as i understand the translation to russian will be limited to note 2 apps,settings etc. so if English is compatible with everything my galaxy S5 has, obviously with different soft, russian could be off by some percentage. that's the reason i'm asking. will it add or will it wipe and create a new VODB Folder ?
[Samsung Galaxy Nexus] Keygan:
Hi so i have a Samsung Galaxy Nexus whit Android 4.2.1 GSM version and i have a huge lag problem every thing is slower even the turning speed of the screen and i crash very often the browser is unsusable and well if you whant to install a game or a program whit all the lag and crashing it will take you like 10 to 20 mins . So pls xda forums help me i will be very gratefull .

PS . I dont know when exactly this started but i know its not new when i got this phone it was amazing but i dont know but maybe after december or january it started lagging .:(:(:confused::confused:
[Samsung Galaxy Nexus] TheMan0790:
Get the update to 4.3...that should help.
[Samsung Galaxy Nexus] Keygan:
I am not good whit phoned :DD

ahh sorry if this is a stupid question but how do i need to root my phone ?
[Samsung Galaxy Nexus] TheMan0790:
Are you on the stock, Google ROM?
[Samsung Galaxy Nexus] empsun:
Known problem due to inability of proper trimming of internal memory. The thing that worked for me (p.s. on my phone the lagging started after about 10 months of buying) was running "lagfix free". It needs root though.

Send from a GNEX YAKJU with stock ROM and custom recovery with root