[REQ] It's possible port Fascinate lockscreen? - Galaxy S I9000 Android Development

It's possible port Fascinate lockscreen? It's better than i9000 lockscreen
Link here: http://forum.xda-developers.com/showthread.php?t=797431

Probably... you can try to replace your /system/framework/android.policy.odex with the fascinate one...
I might be wrong but as far as i know this file contain the lockscreen

Speaking of the fascinate, One thing I like about the fascinate is that the stupid numbers at the top (the ones that represent the home screens) only appear at certain times.
http://www.youtube.com/watch?v=jsuoEQpRK08
Go to the 7 minute mark and you will see what I mean. The numbers will pop up then go away.

you cannot replace an odex.. odex are encrypted for a specific firmware. they also are extensions of an apk. you need both.. you would need to de-odex and then replace the deodexed file.

lgkahn said:
you cannot replace an odex.. odex are encrypted for a specific firmware. they also are extensions of an apk. you need both.. you would need to de-odex and then replace the deodexed file.
Click to expand...
Click to collapse
encrypted
I though they were just byte-optimized for a particular phone so upon boot it doesn't need to create .dex's and just loads the .dex from the odex directly (in turn giving u a faster boot, at the sacrifice of customization).

Related

How to port sense ui?

How can i port sense ui to vanilla rom?
Which are interested files?
I already know about needing to edit init.rc, to put customize folder in system and to copy htc apps and libs but i can't get it working, how can i do?
Well, you'll definitely need the htc framework / res in /system/framework
along with Rosie, and the associated widgets in /system/app
adwinp said:
Well, you'll definitely need the htc framework / res in /system/framework
along with Rosie, and the associated widgets in /system/app
Click to expand...
Click to collapse
I have to edit framework-res too, right?
No, although you need com.htc.resources.apk.
Ok, i tried to do this but there are some problems
1. There aren't sense colors (for example highlight color is android's original orange)
2. There aren't sense images
3. Notify bar is white and not black
4. Rosie Home FC continuously
How can i fix?
1: copy over the framework from /system/framework from another rom
2: copy over the htc-specific apps from /system/app (you definitely need rosie.apk and htcaddprogramwidget.apk, amongst others)
adwinp said:
1: copy over the framework from /system/framework from another rom
2: copy over the htc-specific apps from /system/app (you definitely need rosie.apk and htcaddprogramwidget.apk, amongst others)
Click to expand...
Click to collapse
1. Already tried, stuck on bootscreen
2. Copied all htc apps
Ideas?
Just download Villain, and copy every apk starting with HTC from system/app.
You could try copying the framework too, but I've had a lot of problems porting it over 100% working vanilla builds. Try copying the framework over, but I can't guarantee it'll even boot. I think Villain is pushing it.. there are so many Sense apps and widgets that it seems sluggish.
Adwinp had it just right with his [email protected] roms. Perfect balance of Sense and no-sense. Very quick, but looked like sense.
nprussell said:
Just download Villain, and copy every apk starting with HTC from system/app.
You could try copying the framework too, but I've had a lot of problems porting it over 100% working vanilla builds. Try copying the framework over, but I can't guarantee it'll even boot. I think Villain is pushing it.. there are so many Sense apps and widgets that it seems sluggish.
Adwinp had it just right with his [email protected] roms. Perfect balance of Sense and no-sense. Very quick, but looked like sense.
Click to expand...
Click to collapse
I tried taking sense from villain and from hero/espresso hybrid:
- With villain if i copy the framework i can't get the phone to boot, if i don't copy the framework the rom starts but rosie give continuosly FC
- With espresso hybrid without copying the framework the rom doesn't recognize rosie as home, if i copy framework phone doesn't boot
Solutions?
Well
I can safely say it's being worked on . And Even more so that it is possible.
I currently have a working build based on Espresso Rosie with only a few problems in HTC widgets to iron out.
I can't promise when it'll get released (if at all) on my current schedule, but if I find the time to finish it for my personal needs. (I can't currently afford the time to keep flashing from my stock ROM to the Vanilla 2.1 I'm building it on).
I'm sure someone will beat me to a working build, but depending on how this next week goes with my real work, I may or may not have the time to finish it.
Just tried merging villain's framework-res with my rom's one, the phone remains on bootscreen
Exit93 said:
Just tried merging villain's framework-res with my rom's one, the phone remains on bootscreen
Click to expand...
Click to collapse
Out of interest - are you trying to re-sign the framework-res? Re-signing it with test keys will force it to hang on the boot screen.
I believe the launcher is the same... correct me if I'm wrong.
nprussell said:
Out of interest - are you trying to re-sign the framework-res? Re-signing it with test keys will force it to hang on the boot screen.
I believe the launcher is the same... correct me if I'm wrong.
Click to expand...
Click to collapse
Yeah...
I resigned it with stericson's method
So... we can't modify graphics in that res package? I wanted to customize it
Sorry for the little bit of thread hijacking here.
I too am interested in porting Sense, but to a Samsung device that's currently not supported in this forums - the Galaxy Spica (i5700).
I have tried to copy all HTC apps but the phone did not recognize them. For example, if I push all apps to /system/app and press the home button, the default home comes out and not sense (no prompt either).
Every other app FCs (for example com.htc.music or com.htc.browser).
Copying the HTC framework to the phone would result in eternal bootscreen.
Copying all the libs to the phone would result in hang

[Q for Theme development] Multiple lockscreens with JVS framework

Hello,
I always got Multiple lockscreen frameworks such as EDT and JKay's Lockscreens. I really want to know, actually where are these files located in framework-res..
I want to port EDT's JVR lockscreens to JVS framework.
Anybody willing to help me?
Regards,
Rahul
I'm quite interested in this too...and I guess that nobody will write us down a list with needed files .....I can tell you what I've found out so far and hope that it will be of any help to you.
The smali files for the lockscreen itself I think they should be in android.policy.jar
Then there also should be some changes in framework.jar which I do not know.
The ressource files like pictures etc are in the framework-res.apk
Then you also need the edt.apk in /system/app
Decompile the files with apkmanager/baksmali
Use a comparision tool like winmerge to see what files are added additionaly compared with the standard stock files. And also too see if there are smali changes in some files.
Good luck
Sent from my GT-I9000 using Tapatalk
why bother, they are not bug free anyways
$omator said:
why bother, they are not bug free anyways
Click to expand...
Click to collapse
You said that more than once now, but I sure as hell don't suffer any bugs while using them on JVQ or JVR.
While we're at it, I thought, hey, what the hell, I can learn and do it myself. Always good to learn this sort of thing. So I got smali/baksmali, winmerge, and Whitehawkx's source files, which I think will work.
But that's not the point.
The point is that baksmali is desassembling the .dex files just fine, but when I want to make a new file after merging the files from the sources with the originals of the .dex... It makes a .dex with the original files.
That is: disassemble -> merge the files -> I make sure the files are there. They are. -> I use smali, it creates the new .dex -> As everytime I do anything, I think, hey, lets disassemble the new file again to make sure the new files are there -> The files are not there.
It's driving me crazy... I mean, how the hell does it create a file from something that isn't there any more?
I can sort of get that the new files and folders don't make it to the new .dex (although, no, I don't get why would that be), but how can the overwritten files go back to be the original ones?
Seriously, driving me crazy.
Edit: Ok, nevermind what I said... The files change frigging places when smali assembles them...?
Edit2: Suprise, surprise, it didn't boot, but now I don't know if it's because I did something wrong or because the source files aren't good for JVS. I'm gonna try to do it on JVP, I'm curious now...
$omator said:
why bother, they are not bug free anyways
Click to expand...
Click to collapse
Well because some of them have features people want to have...and also because people can live with some of the bugs. I don't care if it writes me SIM-Card is locked even if it isn't. The functionality doesn't decrease because of that.
But well these lockscreens give us a music widget that works with other players then the crappy samsung stock one. And I can unlock directly to messages or phone. If it was for me I would only need something like the fourtab(which sadly has a memory leak)...but if the whole package could be ported or whatsoever and people would like to do it why not ?
Code is present in the android-policy.jar and framework.jar (for some lockscreens). You need to copy over the Smali Files fromt he MOD to the JVS framework and android policy. After that you need to copy over the drawables, layouts and other xml files to the framework apk of JVS and assign them each a unique resource ID. These resource IDs need to be substituted with the new values in the Smali files. Since the framework-res.apk changes with Firmwares, the Resource IDs are different for each framework.
It's very complicated stuff for rookies. You need to know which stuff to copy where and what modifications to make for specific lockscreens. And you need to use Logcat and do a lot of trial and error.
And $omator is right. Those lockscreens all together don't work perfectly due to conflicting code. For example, I made a SGS II Lockscreen Port http://forum.xda-developers.com/showthread.php?t=1070564 . The Same Lockscreen that is found along with 9 Lockscreen MOD is incomplete and doesn't work perfectly. I don't mean to say that the 9 lockscreen mod is useless, but It is very handly provided you compromise on what you get.
dhiru1602 said:
Code is present in the android-policy.jar and framework.jar (for some lockscreens). You need to copy over the Smali Files fromt he MOD to the JVS framework and android policy. After that you need to copy over the drawables, layouts and other xml files to the framework apk of JVS and assign them each a unique resource ID. These resource IDs need to be substituted with the new values in the Smali files. Since the framework-res.apk changes with Firmwares, the Resource IDs are different for each framework.
It's very complicated stuff for rookies. You need to know which stuff to copy where and what modifications to make for specific lockscreens. And you need to use Logcat and do a lot of trial and error.
And $omator is right. Those lockscreens all together don't work perfectly due to conflicting code. For example, I made a SGS II Lockscreen Port http://forum.xda-developers.com/showthread.php?t=1070564 . The Same Lockscreen that is found along with 9 Lockscreen MOD is incomplete and doesn't work perfectly. I don't mean to say that the 9 lockscreen mod is useless, but It is very handly provided you compromise on what you get.
Click to expand...
Click to collapse
Very complicated to do something like that from scratch, yes.
If at least one of the persons that have made a 9 lockscreen JVS rom posted the sources... From there I've learned by now that it's fairly easy to just include them into the files.
But no one have.
If you really want to learn how to do it i can only recommend read lots of info and do some investigations by yourself.
If some guy made the stuff for lets say XXJVQ then grab the files and compare them with the stock files. Decompile them with apkmanager. (jar files can also be modded this way, you only need to add .apk to the jar extention, and remove it later after compiling back)
This way you can see what files need to be added and what values need to be changed/added. First try to understand the process and after that make your own mods.
I used Winmerge for comparisation of the files.
Well... I modded the overscroll by myself. It's a start.
Thanks to Team Obssessed, we can already have multiple lockscreens on JVS.
I already made a theme as I like and added the lockscreens thanks to the files of this rom.
Now I can have a proper JVS .
Is just that I'm too used to puzzle and MIUI lockscreens to go back to stock or AOSP. And those two work without bugs, so... And don't know about the rest.
and btw. apkmanager got aapktool with outdated baksmali/smali ...

[Q] [HELP] How to replace default dialer on CM 7.2?

Hi this must be a noob question, but i need to know how to replace the default dialer .apk file and also the contacts .apk file to something else (exDialer and exContacts) in the ROM itself.
Try extracting the apks from the stock ROM and replace it. Report back.
Sent from a Time Lord, using his TARDIS.
Nope it didn't seem to work!
It said installation failed.
Just follow these steps...there is a chance they might not work but you are free to try it
1.Install the dialer app(dont move it to sd card)
2.Use a file manager app with root permissions enabled(eg- ES File Explorer) and go to the "phone memory" then "data/app" copy the app's apk to the sd card
3.Now uninstall the app ....the install was for getting the apk file
4.Rename the backed up apk as "Phone.apk" (case-sensitive)
5.Backup your CM7 dialer by going into phone memory "system/app"....it will be named "Phone.apk".....back it up somewhere in the SD card
6.Now just take the apk of the dialer you wanted and copy it in phone memory "system/app"
7.Finally change the permissions of the apk as follows
--->In ES File Explorer,after moving your desired dialer's apk,long press for menu
--->Then select Properties
--->In the properties window there will be a button labelled "Change" just beside permissions
--->Then Select the 1st two check boxes in User,1st in group and 1st in other and press ok
8.Reboot the phone and pray to God it works
9.To revert back,just put the original "Phone.apk" in "system/app" and reboot
csoulr666 said:
8.Reboot the phone and pray to God it works
Click to expand...
Click to collapse
lol!
Sadly, no it didn't work. Damn this is tough!
Originally Posted by csoulr666
8.Reboot the phone and pray to God it works
Click to expand...
Click to collapse
lol!
Sadly, no it didn't work. Damn this is tough!
Click to expand...
Click to collapse
What happens?
Sent from my Wildfire S using XDA
You're not supposed to remove the default dialler app. It's a part of the system framework and the results when you do try to remove it will be severe. I believe that the phone aspect of Android is integrated into the default dialer apk (Both in sense and in AOSP).
In any case, there is no need to remove the dialler apk.You just install an alternate dialler and set that as default. It's works as if the original dialler was never there.
You cannot bring over the sense dialler though since that depends on the entire sense framework.
Just install exDialer and set it as default.
You can push it to /system/app if you would like. Leave the original one as it though.
vbhtt said:
What happens?
Sent from my Wildfire S using XDA
Click to expand...
Click to collapse
As soon as I replace the Phone.apk, it force closes to the homescreen. After I try restarting the device, it refuses to get past the Boot Screen Animation.
AceRoom said:
You're not supposed to remove the default dialler app. It's a part of the system framework and the results when you do try to remove it will be severe. I believe that the phone aspect of Android is integrated into the default dialer apk (Both in sense and in AOSP).
In any case, there is no need to remove the dialler apk.You just install an alternate dialler and set that as default. It's works as if the original dialler was never there.
You cannot bring over the sense dialler though since that depends on the entire sense framework.
Just install exDialer and set it as default.
You can push it to /system/app if you would like. Leave the original one as it though.
Click to expand...
Click to collapse
So you're saying there is no way I can natively replace the dialer to the exDialer in the Rom itself?
FYI: The Rom concerned here is HCMIUI 3.2 by Henry. Brilliant Rom otherwise!
Exactly, the default dialler cannot be replaced except perhaps by a full replacement say from the original cm7 rom or a themed version of your current dialler. You can only add a secondary dialler which will work in addition to the original one.
Check out the apk for the original Phone.apk
You'll find the components of the in-call screen.
cm7 themes for example retheme the framework which applies some modifications to the original in call screen.
AceRoom said:
Exactly, the default dialler cannot be replaced except perhaps by a full replacement say from the original cm7 rom
Click to expand...
Click to collapse
^ How do i do that? Actually this is exactly what i want to do, a full replacement!
You can probably take the Phone.apk and replace your current one with (Make sure you set the permissions to 644) but it really won't make much of a difference. Instead, just install the cm7 Theme Chooser and change your theme. HC MIUI is basically a themed cm7 rom with a MIUI flavor, MIUI apps and stellar animation effects!
Would love to get those on other ROMS!
There's actually a fuller MIUI (gb) but it's only on beta (There are some usability issues in which the colours in some apps are FUBAR) and the MIUI 4 (ics) is only on alpha... On my phone, the Phone crashed on making a calling the MIUI 4...
Well i guess this is not possible the way i thought i would!
maybe someone can make a patch or something that will do this( maybe for other default apps also) just a thought?!
How to set ExDialer as fault
AceRoom said:
You're not supposed to remove the default dialler app. It's a part of the system framework and the results when you do try to remove it will be severe. I believe that the phone aspect of Android is integrated into the default dialer apk (Both in sense and in AOSP).
In any case, there is no need to remove the dialler apk.You just install an alternate dialler and set that as default. It's works as if the original dialler was never there.
You cannot bring over the sense dialler though since that depends on the entire sense framework.
Just install exDialer and set it as default.
You can push it to /system/app if you would like. Leave the original one as it though.
Click to expand...
Click to collapse
How do i set exDialer as default dialer. I really want to set it as default one.
Thanks

[Q] ediing SystemUI.apk

I am using a T989 4.0.3 UVLE1 rooted, otherwise stock. **DEodexed (added .bak to systemUI.odex) and 14togglesBlue.zip MOD added
When i extract the SystemUI.apk in Root Browser i find resources/assests (images in .png format) relating to the battery, wifi/mobile data, and signal bar icons for the status bar. The stock look is a green motif/theme for the battery and gray for the other icons, but included in the files are ICS blue colored icons that i have yet to see in my status bar, these .png files are named slightly different or are in a folder that is named slightly different.
If i wanted to use the ICS Blue styled icons, which i do, would it be as easy as replacing the green icons with the blue ones and renaming them?
Root browser allows me to extract SystemUI.apk so i can manipulate the files, ie rename and copy them, then when i am finished it only allows me to .zip SystemUI.apk
Is the .zip file created "flashable"? Is there a stndard/correct way of doing this?
Thank you.
HATe410 said:
I am using a T989 4.0.3 UVLE1 rooted, otherwise stock. **DEodexed (added .bak to systemUI.odex) and 14togglesBlue.zip MOD added
When i extract the SystemUI.apk in Root Browser i find resources/assests (images in .png format) relating to the battery, wifi/mobile data, and signal bar icons for the status bar. The stock look is a green motif/theme for the battery and gray for the other icons, but included in the files are ICS blue colored icons that i have yet to see in my status bar, these .png files are named slightly different or are in a folder that is named slightly different.
If i wanted to use the ICS Blue styled icons, which i do, would it be as easy as replacing the green icons with the blue ones and renaming them?
Root browser allows me to extract SystemUI.apk so i can manipulate the files, ie rename and copy them, then when i am finished it only allows me to .zip SystemUI.apk
Is the .zip file created "flashable"? Is there a stndard/correct way of doing this?
Thank you.
Click to expand...
Click to collapse
Okay this is totally wrong.... lol
In order to edit any apk you need 7zip and apk manager or apk tool. And you need to properly deodex your system. Simply renaming systemui.odex to .bak will not "deodex" your ROM. I dont remember how to deodex anymore cause i dont run ROMs odexed. There are numerous threads explaining how to deodex so use search and google my friend
But you are on the right track. you could simply rename the .png files. But you have to rename them to exactly the same name as the ones which are being displayed currently. Or you could edit the status_bar.xml file and target the new .png files which is a bit more difficult but cleaner. Cause if you rename the new png files, you have to either delete or rename the old png files. Which i recommend the later.
Then you need to recompile the systemUI.apk with apk manager or apk tool (whichever you decide to use) google them both to get a better understanding of them. I dont wanna just "tell" you what exactly to do because i had to google everything myself, and in my googling i learned a lot more than what i wanted which made everything so much easier to do.
Also, when you recompile the apk, do not sign the apk. You could zip align the apk which i do to all my mods to ensure they are correct.
Hope this helped and good luck! If you need help just PM me or post in the thread. I respond to PMs quicker though. But have fun
So i used a MOD created by jim93 (http://forum.xda-developers.com/showthread.php?t=1616189) to edit a systemUI.apk to add ICS style blue battery, blue WiFi status with blue/white upstream/downstream symbols, and blue Signal bars. All while maintaning the toggles and quick panal settings.
Now i would like to:
1. ICS Blue Clock + Remove AM/PM
2. Obtain a better battery icon with percentage inside battery
3. Transparent Notification window
4. Activate 180 degree rotation
I would like to make these adjustment on stock 4.0.3 UVLE1 software
I cant find a custom ROM that doesnt compromise on at least 1 basic feature, also very bad experinces with ROMs in the past. For me the Stock system is very stable and EVERYTHING WORKS
Can someone please help me locate the Files needed to edit these items, or at least let me know if any of my goals are completely impossible
Any advice or information is greatly appreciated
THANKS XDA!
if anyone would like my modded file (.zip) i can gmail it to you, really i only replaced .png (image files) no big deal
HATe410 said:
So i used a MOD created by jim93 (http://forum.xda-developers.com/showthread.php?t=1616189) to edit a systemUI.apk to add ICS style blue battery, blue WiFi status with blue/white upstream/downstream symbols, and blue Signal bars. All while maintaning the toggles and quick panal settings.
Now i would like to:
1. ICS Blue Clock + Remove AM/PM
2. Obtain a better battery icon with percentage inside battery
3. Transparent Notification window
4. Activate 180 degree rotation
I would like to make these adjustment on stock 4.0.3 UVLE1 software
I cant find a custom ROM that doesnt compromise on at least 1 basic feature, also very bad experinces with ROMs in the past. For me the Stock system is very stable and EVERYTHING WORKS
Can someone please help me locate the Files needed to edit these items, or at least let me know if any of my goals are completely impossible
Any advice or information is greatly appreciated
THANKS XDA!
if anyone would like my modded file (.zip) i can gmail it to you, really i only replaced .png (image files) no big deal
Click to expand...
Click to collapse
I have done most of these edits that you would like to try and I will tell you this if you search google with the information you need you will find tutorials on everything you are asking for. This is what I did and how I learned these fun tasks. Everything you want to do especially in ICS can be accomplished. Also check out a site called UOT Kitchen, it may save you on a step or two. Although learning how to do it is still quite educational as well.
over it
Of course i googled these topics, i google things ALL the time lol I've also used this site as a resource for over a year, tried all the apk modification tools suggested to no avail. Not understanding the instructions given here and being a tech/computer savvy person has made me very upset. This has caused me allot of stress and loss of sleep, Gave up returned my phone to factory settings goodnight
Thanks?

(Q) How To Theme AOSP ICS?

My phone (Galaxy S Plus) is running aosp ics built by broodplank and i want to theme it with touchwiz 5 cm9 theme. I used ninjamorph and copy and paste res file of the touchwiz 5 theme.apk (extracted) into both the systemui.apk and gramework-res.apk. I rebooted my phone and exactly no difference. Can someone tell me how to theme aosp? I hate cm9 cause aosp on my device runs smoother than vm9 and more slim
You probably didnt expect to see me here but i think you need to transfer those files with more care.
I mean the images in drawable-hdpi dont even match names probably so then its a waste of space only.
You need to check and study the contents of the aosp files good. And then based on what you know you start copying those files.
Im not a themer but i think its not just copying if you port them from a different framework (tw in this case)
broodplank1337 said:
You probably didnt expect to see me here but i think you need to transfer those files with more care.
I mean the images in drawable-hdpi dont even match names probably so then its a waste of space only.
You need to check and study the contents of the aosp files good. And then based on what you know you start copying those files.
Im not a themer but i think its not just copying if you port them from a different framework (tw in this case)
Click to expand...
Click to collapse
Thanks but are there any tw frameworks in your aosp?
Why you dont use the theme chooser from market and apply one touchwiz theme?
broodplank1337 said:
You probably didnt expect to see me here but i think you need to transfer those files with more care.
I mean the images in drawable-hdpi dont even match names probably so then its a waste of space only.
You need to check and study the contents of the aosp files good. And then based on what you know you start copying those files.
Im not a themer but i think its not just copying if you port them from a different framework (tw in this case)
Click to expand...
Click to collapse
he is completely right (it's broodplank, what you'd expect?)
I got a hint for you. these files which you extracted should have the same name as the same screen solution, if not, they are cannkt be displayed and you will get a fc.
How about making a team Juhan Jufri? you are a good modder! I'm building Project Stock at the moment (based on Broods AOSP (thank you again, really well done!)
It's a rom which should have all Samsung features we know well from our gb stock to make a stock like 4.0.4 rom (samsung said, they couldn't because of some hardware stuff, i will proof that).
It's not easy so I need help.
So? would you join my team and help me build Project Stock?
EDIT: forgot to answer your question. take the twframework.apk from a gb stock (based) rom. can be found (gess you already know) in system/framework
sent from my GameBoy Color
------------------------------
working on:
Project Stock (4.0.4)

Categories

Resources