help to port apps from SGS to SGS+ - Galaxy S I9000 General

hello mates,
is there someone that can explain me in few steps how to port system apps from i9000 to i9001?
I need only some directions no the whole process, I already know show to decompile and compile apps.
That I want to do in specific case si to port the i9000 tw30launcher to i9001 (cause on 9001 si bugged)

Le master broodplank pmed me. I asked this to him he said we need to deodex the files
:
Twlauncher and frameworks from the i9000 and then decompile and recompile them so that the signature is correct for our device @broodplank1337

mrjraider said:
Le master broodplank pmed me. I asked this to him he said we need to deodex the files
:
Twlauncher and frameworks from the i9000 and then decompile and recompile them so that the signature is correct for our device @broodplank1337
Click to expand...
Click to collapse
umh...
- step1: decopiled i9000 TouchWiz30Launcher.apk using apktool and i9000 framework-res.apk
- step2: decopiled i9001 TouchWiz30Launcher.apk using apktool and i9001 framework-res.apk
- step3: compiled i9000 TouchWiz30Launcher.apk using apktool and i9001 framework-res.apk
- step4: copied AndroidManifest.xml,resources.arsc and META-INF folder in modded APK
... but i does not works... what I'm done wrong or what I missing?

I dont know. Ive tried it myself but failed aswell. Perhaps a question for him or another dev
Verstuurd van mijn GT-I9001 met Tapatalk

OK...
I've found where I was wrong: the resources.arsc file should not be replaced after the mod...
not easy such things for a near to 40 years old man...
by the way, I just remembered that Samsung has released a 2.3.6 version with fixed touchwiz: the KPC

I think you don't have to port the apps because both phones have the same resolution.

Related

4 Lockscreens for SGS tried but failed

Hi,
I kno I've posted this in Q&A but maybe there is one super developer who can help the community getting there 4 lockscreens?!
Currently there only exist two types of lockscreen for the sgs i9000. AOSP or samsung glass.
For the Vibrant on the other hand, some people (untermensch ) have managed to get 4 lockscreen types:
AOSP lockscreen
Glass lockscreen
Puzzle lockscreen
Epic lockscreen
More info in this topic: http://forum.xda-developers.com/showthread.php?t=838260
It must definitly be possible to port this to a froyo rom on our SGS but it has taken me a lot of time allready and have not progressed one bit.
Frustrating indeed.
I managed to decompile the android.policy.jar using the command: java -jar baksmali.jar -x android.policy.jar -o android.policy
I added the epic classes from the source zip file in the earlier mentioned post.
I recompiled ((java -jar smali.jar android.policy -o classes.dex) it again and at least no errors at this stage.
Next I tried to decompile the framework-res.apk.
Got errors from apktool, saying that it can't decompile a nine patch image. The nine patch image does not contain a nine patch chunk (so not really a nine patch but png with .0.png extension?)
Tried a lot of things, options, google, this forum but failed to find a solution.
The same thing with the Settings.apk, same kind of error, no solution.
I must be doing something wrong here and have come to a point that I cant figure it out anymore.
I believe that a lot of people would be interested in this kind of thing and this is something achievable.
If somebody could take a shot at this modification please, it would be so awesome to have this for Darkys rom or Docrom v9.
ps.i do remember that some id's of resources need to change cause there are some duplicates somewhere but don't remember which one where.
The source codes that untenmensch provided contain all the information. Though haven't tried it, but it is comprehensive enough.
Try using apk manager to decompile the framework-res.apk, and you use baksmali and smali for the settings apk.
Use stock apk, instead of modded ones.
Sent from my GT-I9000 using Tapatalk
laboratik said:
Next I tried to decompile the framework-res.apk.
Got errors from apktool, saying that it can't decompile a nine patch image. The nine patch image does not contain a nine patch chunk (so not really a nine patch but png with .0.png extension?)
Click to expand...
Click to collapse
to decompile framework-res use this: http://forum.xda-developers.com/showthread.php?t=745189
I use it for my personal rom and works better.
apktool or apkmanager don't work better with samsung framework-res,because Samsung don't respect the standard image and there are a lot of errors that can you correct using draw9patch from SDK,but in this way must edit all pngs...and they are a lot.
texture said:
to decompile framework-res use this: http://forum.xda-developers.com/showthread.php?t=745189
I use it for my personal rom and works better.
apktool or apkmanager don't work better with samsung framework-res,because Samsung don't respect the standard image and there are a lot of errors that can you correct using draw9patch from SDK,but in this way must edit all pngs...and they are a lot.
Click to expand...
Click to collapse
doesnt really help as it still uses apktool. I tried to build the lockscreen mod for my ROM with it
just delete them.nothing will be happened

Odex -> <- Problem / Confusion

I know the technical difference b/w ODex-ed and DeODex-ed
I have an odexed ROM
I simply want some applications (apks) from my Previous ROM, which was deodexed
When I PUT .apk files from My Previous ROMs ZIP to my Device's system/app - I get FC
When I restore apps like Go Launcher Ex, from Titanium Backup, I still get FC for that
Any Info...?
I want to use some apps from my Previous ROM
I want Rotary LockScreen
Also, a Professional Theme, Odexed
As I have seen that odexed ROM are so incredibly smooth in almost every aspect
(Not only 1st boot or initial days)
Help appreciated !!
the anserw is simle if your previous firmware was deodexed:
Youraplicationname.odex is missing
@$omator --
Deleting th old apk & dex file, bfore replacing, should work, then?
Sent from my GT-I9000 using xda premium
you must either have all files in pairs apk + odex (thats odex)
or apk only (thats deodexed)
when looking at /system/framework/
that would be jar + odex (odex) or jar only (deodexed)
@$omator
I am talking bout MyFiles.apk
I want new Samsung's MyFiles.apk
So I will delete old apk & dex files
Then put new apk file
Is tht wht u mean?
Sent from my GT-I9000 using xda premium
if you now have aapk+odex
you have to copy new apk and odex
om.thelostone said:
@$omator
I am talking bout MyFiles.apk
I want new Samsung's MyFiles.apk
So I will delete old apk & dex files
Then put new apk file
Is tht wht u mean?
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
I'm pretty sure I tried this some time ago and found it will not work. The MyFiles.apk is strictly linked to the ROM you are using, something to do with the framework, so you cannot use one on another ROM version.
As for other apk's, if the file you want to use is deodexed, you simply delete the new apk and odex file and put the old one in its place although be warned, it may cause instability on your ROM if you do this with system apk files
ok whatever if you know better
$omator said:
ok whatever if you know better
Click to expand...
Click to collapse
Woah chill on the attitude, I was only offering some help based on my experience with trying the same thing
bigdyl69 said:
I'm pretty sure I tried this some time ago and found it will not work. The MyFiles.apk is strictly linked to the ROM you are using, something to do with the framework, so you cannot use one on another ROM version.
As for other apk's, if the file you want to use is deodexed, you simply delete the new apk and odex file and put the old one in its place although be warned, it may cause instability on your ROM if you do this with system apk files
Click to expand...
Click to collapse
Yup
Thanks
U got my doubt clear
I was not replacing MyFiles actually
Was just giving an example so that $omator thinks I understood
Also
The irony is most of th times, its th system apks tht have dex files
If its not a system apk, I wud rather download th latest 4m market
Sent from my GT-I9000 using xda premium

[Q]Is there any available sources for GT-S5360 SystemUI?

I dont know if there is sources for the apps of GT-S5360
I need is the sources for apps (SystemUI.apk)
If you have one please post it here
Thanks:victory:
I already looked at
http://opensource.samsung.com
I dont know if the sources of apps is also available there(I cant download at the server)
Decompile SystemUI.apk with apktool - it will give you all the smali files & xml files
http://forum.xda-developers.com/showthread.php?t=2206938
i don't understand what you mean,
systemui is literally reverse re-engineerable since it only affects a software point of view not hardware unlike framework,

Trouble decompile

Heya everyone
I am having trouble decompile the gravitybox apk file
I get the error that cant decompile arsc file
I dont want to do major edits I just wanna edit the apk to hide it from launcher which is editing the manifest of app
Please help me
Thanks
You haven't loaded the correct framework into apktool
Make sure you have at least jellybean framework-res.apk and load it into apktool using
If framework-res.apk
Here is cm10 framework
http://d-h.st/zAg
marcussmith2626 said:
You haven't loaded the correct framework into apktool
Make sure you have at least jellybean framework-res.apk and load it into apktool using
If framework-res.apk
Here is cm10 framework
http://d-h.st/zAg
Click to expand...
Click to collapse
Sir I have loaded the framework from my xperia c which runs on 4.2.2
I have used this a'll to decompile other apps but it give this error with apktool only
abhishekr700 said:
Sir I have loaded the framework from my xperia c which runs on 4.2.2
I have used this a'll to decompile other apps but it give this error with apktool only
Click to expand...
Click to collapse
Try using a different apktool version - I would use 1.5.2 unless decompiling kitkat/lollipop apks
Apktool 1.5.2
https://code.google.com/p/android-apktool/downloads/list
Apktool rc4
https://bitbucket.org/iBotPeaches/apktool/downloads
marcussmith2626 said:
Try using a different apktool version - I would use 1.5.2 unless decompiling kitkat/lollipop apks
Apktool 1.5.2
https://code.google.com/p/android-apktool/downloads/list
Apktool rc4
https://bitbucket.org/iBotPeaches/apktool/downloads
Click to expand...
Click to collapse
Sir I'm already using 1.5.2 version
I will give a try to rc4
But what does the error mean?

[GUIDE] How To Add Contacts, Tasks, Apps, Lighting Edge Panel for Note 5 Nougat

GUIDE EDGE NOUGAT NOTE 5 (in just 2 minutes or less besides compiling time)
Prerequisits:
I recommend TMA (TickleMyAndroid by @Ticklefish) for decompile and recompile
Any program like Beyond Compare, Winmerge, Notepad++ or others
Firmware deodexed Note 5 and S6edge+ (who prefers S7e firmware → just waste of time and is more difficult)
1.
You need framework.jar and services.jar from N5 and S6e+
2.
Decompile all 4
3.
Find framework.jar.out/smali/android/app/SystemServiceRegistry.smali
make this smali N5 same as S6e+
4.
Find all 101 SystemServiceRegistry$"xx".smali in N5 and all 102 in S6e+
Easiest way -> delete all 1-101 smalis and copy all 1-102 from S6e+ to N5
5.
Find services.jar.out/smali/com/android/server/SystemServer.smali
make this smali N5 same as S6e+
6.
Recompile framwork.jar + services.jar (N5 of course)
7.
Add in etc/floating_feature.xml
<SEC_FLOATING_FEATURE_COMMON_CONFIG_EDGE>people,task,circle,panel,-nightclock</SEC_FLOATING_FEATURE_COMMON_CONFIG_EDGE>
<SEC_FLOATING_FEATURE_COMMON_CONFIG_EDGE_STRIPE>-1</SEC_FLOATING_FEATURE_COMMON_CONFIG_EDGE_STRIPE>
Click to expand...
Click to collapse
8.
Add in system/etc/permissions following files from S6e+
com.sec.feature.cocktailpanel
com.sec.feature.people_edge_notification
9.
Add apps from S6e+
app/CocktailQuickTool
app/SBrowserEdge
priv-app/AppsEdgePanel
priv-app/CocktailBarService
priv-app/PeopleStripe
priv-app/TaskEdgePanel
and some more if you like
DONE
special credits as always to @thereassaad for our successful teamwork :highfive:
PS: Here is a link to my latest edge.zip QD2 -> EXAMPLE (remove the SystemUI apk in it)
Thanks!!
Gửi từ SM-N920S của tôi bằng cách sử dụng Tapatalk
sweet.. it working well.. thanks arnie..
Do i need to root my device?
mltan_bdo said:
Do i need to root my device?
Click to expand...
Click to collapse
Yes u want to root ur device...?
Androidwizzard said:
GUIDE EDGE NOUGAT NOTE 5 (in just 2 minutes or less besides compiling time)
Prerequisits:
I recommend TMA (TickleMyAndroid by @Ticklefish) for decompile and recompile
Any program like Beyond Compare, Winmerge, Notepad++ or others
Firmware deodexed Note 5 and S6edge+ (who prefers S7e firmware → just waste of time and is more difficult)
1.
You need framework.jar and services.jar from N5 and S6e+
2.
Decompile all 4
3.
Find framework.jar.out/smali/android/app/SystemServiceRegistry.smali
make this smali N5 same as S6e+
4.
Find all 101 SystemServiceRegistry$"xx".smali in N5 and all 102 in S6e+
Easiest way -> delete all 1-101 smalis and copy all 1-102 from S6e+ to N5
5.
Find services.jar.out/smali/com/android/server/SystemServer.smali
make this smali N5 same as S6e+
6.
Recompile framwork.jar + services.jar (N5 of course)
7.
Add in etc/floating_feature.xml
8.
Add in system/etc/permissions following files from S6e+
com.sec.feature.cocktailpanel
com.sec.feature.people_edge_notification
9.
Add apps from S6e+
app/CocktailQuickTool
app/SBrowserEdge
priv-app/AppsEdgePanel
priv-app/CocktailBarService
priv-app/PeopleStripe
priv-app/TaskEdgePanel
and some more if you like
DONE
special credits as always to @thereassaad for our successful teamwork :highfive:
PS: Here is a link to my latest edge.zip QD2 -> EXAMPLE
Click to expand...
Click to collapse
Hi please make a flashable zip file please
Thanks
ajorloo said:
Hi please make a flashable zip file please
Thanks
Click to expand...
Click to collapse
instead of quote the whole OP have you checked the example.zip?
Do I need to deodex my entire system? I used TMA to make a Deodex .zip but I got a lot of Force Closes after that. I just want the Edge features and nothing more. (Besides root and basic CSC features enabled)
cachanilla86 said:
Do I need to deodex my entire system? I used TMA to make a Deodex .zip but I got a lot of Force Closes after that. I just want the Edge features and nothing more. (Besides root and basic CSC features enabled)
Click to expand...
Click to collapse
this guide is for rom builders and developers who have a deodexed N5 rom base already
Androidwizzard said:
this guide is for rom builders and developers who have a deodexed N5 rom base already
Click to expand...
Click to collapse
I have a deodexed base on my Sprint N5 but I'm having a problem on 2 different builds: I can't update the Music app, it just force closes so badly; the last time I tried to do a logcat I just had time to take some screenshots, can you help me? I used TMA for deodexing and doing all the mods. I tried with 925 and 928 files but the problem is the same. If the music app gets updated it will force close like every other second. Can you help me? I can send you the screenshots and files if neccesary.
Will there be any s8 edge lighting feature if i flash this?
marcuskhoo said:
Will there be any s8 edge lighting feature if i flash this?
Click to expand...
Click to collapse
This is a GUIDE with an EXAMPLE.zip
so the purpose is to teach HOW to make it and by no means to provide a flashable mod.
Androidwizzard said:
This is a GUIDE with an EXAMPLE.zip
so the purpose is to teach HOW to make it and by no means to provide a flashable mod.
Click to expand...
Click to collapse
So will i get the s8 edge lighting feature if i edit the files as instructed? Also by any chance,is there any way that i can do this without a computer?
@Androidwizzard The guide is very detailed, In fact I did it in a few minutes after deodexing my phone but I have a bug: I cannot update the music app because it will force close immediately after updating. Can you help me please? I already did a logcat so I have a log . I'm using SM-G928P files because my Note 5 is a Sprint model and I already did this in 3 different build numbers and every single time I have the same problem.
Thanks.
(I'm running: Windows 8.1 x64, latest Java JDK and JRE, latest TMA. Also, Notepad++, Winmerge, 7zip...etc)
Androidwizzard said:
GUIDE EDGE NOUGAT NOTE 5 (in just 2 minutes or less besides compiling time)
Prerequisits:
I recommend TMA (TickleMyAndroid by @Ticklefish) for decompile and recompile
Any program like Beyond Compare, Winmerge, Notepad++ or others
Firmware deodexed Note 5 and S6edge+ (who prefers S7e firmware → just waste of time and is more difficult)
1.
You need framework.jar and services.jar from N5 and S6e+
2.
Decompile all 4
3.
Find framework.jar.out/smali/android/app/SystemServiceRegistry.smali
make this smali N5 same as S6e+
4.
Find all 101 SystemServiceRegistry$"xx".smali in N5 and all 102 in S6e+
Easiest way -> delete all 1-101 smalis and copy all 1-102 from S6e+ to N5
5.
Find services.jar.out/smali/com/android/server/SystemServer.smali
make this smali N5 same as S6e+
6.
Recompile framwork.jar + services.jar (N5 of course)
7.
Add in etc/floating_feature.xml
8.
Add in system/etc/permissions following files from S6e+
com.sec.feature.cocktailpanel
com.sec.feature.people_edge_notification
9.
Add apps from S6e+
app/CocktailQuickTool
app/SBrowserEdge
priv-app/AppsEdgePanel
priv-app/CocktailBarService
priv-app/PeopleStripe
priv-app/TaskEdgePanel
and some more if you like
DONE
special credits as always to @thereassaad for our successful teamwork :highfive:
PS: Here is a link to my latest edge.zip QD2 -> EXAMPLE (remove the SystemUI apk in it)
Click to expand...
Click to collapse
Its easy..thanks for that good way..[emoji7] [emoji7]
Powered by Arnie ROM....
cachanilla86 said:
@Androidwizzard The guide is very detailed, In fact I did it in a few minutes after deodexing my phone but I have a bug: I cannot update the music app because it will force close immediately after updating. Can you help me please? I already did a logcat so I have a log . I'm using SM-G928P files because my Note 5 is a Sprint model and I already did this in 3 different build numbers and every single time I have the same problem.
Thanks.
(I'm running: Windows 8.1 x64, latest Java JDK and JRE, latest TMA. Also, Notepad++, Winmerge, 7zip...etc)
Click to expand...
Click to collapse
Solved! I kept the arm folder inside the framework folder, that was causing the issue. After deleting system/framework/arm the music app updated correctly.
Androidwizzard said:
GUIDE EDGE NOUGAT NOTE 5 (in just 2 minutes or less besides compiling time)
Click to expand...
Click to collapse
What the mater with me when I do this guide. Help me. Thank.
Dong_RSC said:
What the mater with me when I do this guide. Help me. Thank.
Click to expand...
Click to collapse
are there arm folders in your deodexed framework folder left behind? delete both
Androidwizzard said:
are there arm folders in your deodexed framework folder left behind? delete both
Click to expand...
Click to collapse
Thank very much, Fine work.
I have a dude
Works for s6 Flat T-Mobile Android 7

Categories

Resources