Rom Building/Customizing/Editing - Sprint LG G2

Can anyone assist me in rom building/editing.
The synopsis: I have two G2 roms (one is a G3 port). I want to pull some visual framework files (notifications panel, status bar, etc) and the phone dial-pad from one, and inject it into the other
I have the customized rom cooked, but I can't get the sysui from FC with the pulled framework files and when I take it back to the original files so it will not FC, the dial-pad I pulled from the G2 rom does work, BUT has some graphical issues.
I am now at the precipice of my knowledge, and don't think I can debug any further, so asking for assistance.

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

[THEME][MOD] Azreil`s Kitchen (JPK, JPM, JPA, JP6, JPO) (Revert Included) (25.11.10)

Hello everyone! These are my mods and themes that I use daily and I thought that there might be more like me who would like them, and I said it would be nice to share
So, here they are:
1. AbitofSens - This theme has some changes "inspired" from a sense ROM, like icons, battery, signal stat, settings icons, some other icons and etc. It also has stock Android lock screen. Is not much, but is simple and elegant, maybe there are people who are interested.
2. AbitofSmoothSens - The second theme is based on AbitofSens but with Smooth Sense percent battery with white text.
Manny thanks to the guys from Droid Incredible thread
3. Azreil`s Notifications Tab - changed icons and backgrounds.
4. SmoothSense % Batt Mod - This is just the percent battery with white text and some minor changes in the status bar and notifications.
5. Dani31's Stock Galaxy S % Battery - As the name states this mod is all stock but with stock % battery. Credits go to dani31 for the battery icons, I only did the modifications in orther for the mod to work on JPK.
This is for JPK Froyo only!!
For other ROM versions post your original framework-res.apk and settings.apk.
Just flash using Recovery (2e) expecting that you allready rooted the phone, rename the file in "update.zip", you know the drill
If you use CWM Recovery no need to rename, just flash.
Enjoy!
Cheers!
EVERYTHING IS TESTED AND WORKS!! IF BUGS FOUND PLEASE REPORT IN ORDER TO EXTERMINATE
All files can be found here: 1. JPM, JPA & JPO | 2. JPK | 3. JP6
Changes:
21.10.10 - Minor changes; - No more black text over black blackground;
22.10.10 - Can confirm the mod and theme for JPM work for JPA, tested on my phone.
22.10.10 - Added stock Android Messaging and modded Contacts icons and some notifications, for AbitofSmoothSense.
22.10.10 - Added a version of AbitofSmoothSense with SGS Messaging app AOSP modded, maybe not anyone likes stock Android Messaging.
23.10.10 - Just flashed DocRambone JP6 and my JPM theme and mod and it runs without problems.
26.10.10 - JP6 folder created, files wich end in "SGS_SMS_APP" have AOSP look SGS MMS and Contacts apps. More to come..
04.11.10 - JPM/JPA Theme and Mod work for JPO too, confirmed by other users too.
06.11.10 - Added my extremelly light Launcher, is stock SGS without iPhone icon backgrounds, change a few icons, optimized, zipaligned, more in the future. I like it, is fast and less iphone-ish. V2 has fully transparent menu background, see 3rd screen. Flash as update.zip in recovery 2e or CWM.
25.11.10 - Added updated version, updated the charging animation, is fully working now, minor optimizations. Tested on JPM and JPO.
Can you apply these lock screens manual I have the 3e Recovery.
The phone has to be rooted in order to do it manually. Gues that if you have 3e you didn`t root.
I have rooted. Which files to copy?
In the update zip, framework folder you have "android.policy.jar" and "android.policy.odex" copy them with RootExplorer in "system/framework" in your phone, reset the phone and your done.
Did that. Im on 2.2JPK and now the phone wont boot. Sits on the white GT-I9000 screen. Was I suppose to put any other files in? And how can I do this without a re-flash? I have still got recovery and download mode.
That shouldn`t have happened, I did the same thing and had no problems, the same 2.2 JPK ROM. If it won`t start and stays at the boot logo it entered into a loop. Unfortunetally you might have to reflash, didn`t had this so I don`t know if you can do anything else.
Sorry.
FFS you should test stuff throuhrough before posting it...
I did mate, everything works, you might have made something wrong, don`t blame me.
I did exactly as you said, copied the two files over. You sure your not meant to copy the other files too?
For stock lock screen you only need the two files I told you in the previuos post. Is the n-th time i did the same thing, never had problems. By the way, how did you do root if you still have 3e recovery? After root I have 2e.
Sorry, totally my bad. Was using JPH and thought I was on JPK, just flashed to JPK and everything works fine.
Glad you got it fixed
Did you manage to get the stock lockscreen?
Think im getting mixed up here
Is this a lock screen?
NO. That is Launcher Pro with Windows Phone 7 layout. That is the desktop
This is the lockscreen:
Mm okay, I don't like this theme simply because you cant read the text in the notification bar.
FIXED! See first post. Sorry for that.
Just updated, lets see
Decent theme now, room for improvement as highlighted on front page.
Thanks, i will improve it, unfortunetally I don`t have too much time to experiment with the phone.
New stuff in the first post

[MOD] V20F bell / atnt / xxx Kronic BlueMod v4.3 / V5 / V5.1

Kronic BlueMod V 4.3 / V5.1 for 4.2 framework
- i posted v5 on a reply... wasn't thinking it's on page 1.
- it is normal for first boot to take a long time after flashing mod, during this time the system is updating the cache partitions new drawables etc because system files changed. 1-3 minutes maybe. if it starts to take really long then flash backup zip or reflash the rom you were using to patch the files back to normal, this shouldn't really happen though unless you get currupt download or flash to incompatible rom.
for bell based v20f, also works on most other v20f but some icons may need to be swapped.
- to backup original ui, make a copy of this zip, open the copy with 7-zip, replace /system/app/systemui.apk and /system/framework/framework-res.apk with the CURRENT ones from your phone (adb pull them or something) then rename the copied zip originalUI.zip and put it on your sdcard, in case something goes wrong you can reflash it to go back to default.
- to install just flash the zip in recovery mode, do not wipe cache partitions, the android OS will update them when it sees changed files.
enjoy!!!!
p.s. i don't take responsibility for you breaking your phone.
if you aren't confident in moding these files, but you want something changed just post what it is and i'll do my best to provide you with a personal patch. if there is an icon i missed on the rom you use, let me know and i'll update. (many roms use differant icons)
- if this doesn't work with your rom you can request that i write one specifically for your rom and i may do it.
i do intend on adding other color versions of this so feel free to request colors.
this UI mod is intended to make the amazingly stable and battery friendly v20f a real option by making it pretty.
other additions i recommend are:
power toggles (has a homescreen widget that add's reboot menu with recovery option and bypasses reflashing on reboot by this i just mean a faster reboot by using a root reboot command instead of stock reboot which takes forever)
pocket skip track (allows you do add screen off track switching functionality to stock roms.)
mx camera (gives you hdr camera options without removing 1080p video capabilities like cm10.1)
apex launcher (jelly bean style launcher with lots of options)
exdialer ( a good free dialer with some really nice theme's i bought a payed one for 2 dollars or something that's black and blue)
MHL works on stock roms (micro usb -> hdmi -> tv)
the rom i recommend to run with this is
the legend Ho!No!'s v20f mod 2
http://forum.xda-developers.com/showthread.php?t=2185178
happy texting !!!
the other feature of this is it should theoretically run smoother than stock files due to less compression.
i will also be posting email.apk LGMms.apk LGCalendar.apk with some better black theme's
this mod is not new but i'm just trying to make a universal one for v20f now, i already have alot of happy users.
--added in 4.3 is standard black background with blue text (on title bar) for any apps or widgets that use default framework values, so far on mine it works for quite a few.
i don't think this will work on roms that aren't deodexed
Kronics BlueMod V5
V5.1 has a few divider fixes and the tab for slider panels/quicksettings in status_bar_expanded
the lockscreen is for pattern lock check attachment if u wanna see it
the screenshot for the quicksettings panel is from before the cyan color was fixed to neon blue
screenshot 16 is V4.3 the others are 5.0, in 5.1 the bottom tab color is fixed on screenshot 26
in 5.0+ BlueMod tag is removed i decided the average person probably doesn't want it.
in 5.1 the bottom bar in expanded panel color is fixed
- i did more work to framework-res to change more of the default backgrounds and font color's for 3rd party apps and such, there are a few system apps that i think have to be modded individually because it didn't apply for them, but you should see some of your apps starting to inherit the theme.
for the pattern lock mod, i disable the showing of the lines because it's extremely hard to mod, it's done in some equation in a smali file somewhere that is differant location on most phones, until someone that has a strong grasp of smali that uses LG phones takes a look i can't mod that
reserved for secondary files
if you want to learn to do your own mod's, or fix something i missed on your rom, the tutorial can be found here:
http://forum.xda-developers.com/showthread.php?t=2362717
Kronics BlueMod v5
This has only been tested on the rom with 4.2 framework v20f, if someone wants to try flashing it on a non updated framework v20f and let me know if it works that is cool, if not i'll do it when i get a chance, if u do it backup your original files to a flash first.
i already fixed the highligher on the bottom tab for settings panel that is slightly the wrong color (greenish) coming in next update
i'm currently investigating the issue that is causing long reboots on every reboot instead of the first one after install. it doesn't seem to be affecting system performance but i know that is probably annoying people so i'm looking into fixing it.
edit i wiped all drives and installed the rom without the mod and it was only 15 seconds or so faster boot, i think this rom just has a long boot (the 4.2 framework one)

[MOD][THEME] CM11 XHDPI Light Blue Status Bar, Notification Row, Quicksettings.

MAY NOT WORK ON OTHER PHONES THAN LG p930/p935/p936. If you want to try it on another phone be sure to make a backup first just in case it doesn't work.
If your phone uses xhdpi folders than you can port this theme very easily just ask me how, if no one wants to i won't bother explaining.
Basically I think the white status bar is terribly boring and dull if you want to change this theme into another color post here or pm me i can give you instructions. I will be making these a full theme probably soon but that one will change almost everything which some people might not want. See the screenshots for more info, if you don't like it after you've installed you can flash a cm update or reflash last update and it'll go back to normal, if you install an update and want to switch back to that theme the same flashable should work unless they change some of the framework for the status bar (doesn't happen often). When that happens i can update this easily so just watch for an update.
Install instructions.
1) optional. --> make nandroid backup.
2) flash zip file
3) optional. --> wipe cache
4) reboot
- also removes compression on framework-res.apk and SystemUI.apk.
- zipaligned for proper Ram performance; won't slow down your UI drawing like some themes.
- playstore status bar icons will be added in the full theme (they aren't in the files included in this patcher, they are in the playstore apk)
- removed annoying emergency call only reminders from the notification tray
- removed carrier label from status bars (except under the data icon in quicksettings if you chose to have that icon there) but took out the extra line at the bottom with it as it's useless.
- removed transparency from qs/notification tray
- themed recent apps screen
- please report any bugs or icons that i missed (sometimes if you use a feature i don't i may have missed something and not realized it)
-classes.dex files are not modified, this means the system is just as secure as original cyanogenmod. If you don't believe me you can use 7-zip to restore all the files in each apk except "res" folder and "resources.arsc". sometimes resources.arsc doesn't get modified either. If you decide to do this i recommend zipaligning the apk again.
- if you want the a link to the kernel i use and my settings to get your benchmark up like mine just ask.
- with the default cm kernel and no OC i was only getting like 10500 or something.
~ Download link
~ Screenshots included.

[Q] [REQ][HOW TO?] How to theme a system app?

I just recently switched my stock rom to be deodexed and I'm now looking at the possibility of theming and mods for my rom.
I already have a little experience modding the signal icons on a different Android device, and I've already downloaded a mod from this forum that turns part of the stock dialer to a holo dark/material theme, but I want to do more with it.
So far I can't seem to find a good tutorial on how to properly mod system files, especially knowing that the stock rom on the Moto G is a Motorola variant of Android KitKat, and not AOSP or similar, although it's close enough that I figure some mods might work since many Xposed modules for AOSP work fine on my stock rom.
Would it be safe to look for a tutorial based on AOSP 4.4.4, or does anyone know a good place to learn the proper way to modify and theme a Motorola stock rom?
chuman72486 said:
I just recently switched my stock rom to be deodexed and I'm now looking at the possibility of theming and mods for my rom.
I already have a little experience modding the signal icons on a different Android device, and I've already downloaded a mod from this forum that turns part of the stock dialer to a holo dark/material theme, but I want to do more with it.
So far I can't seem to find a good tutorial on how to properly mod system files, especially knowing that the stock rom on the Moto G is a Motorola variant of Android KitKat, and not AOSP or similar, although it's close enough that I figure some mods might work since many Xposed modules for AOSP work fine on my stock rom.
Would it be safe to look for a tutorial based on AOSP 4.4.4, or does anyone know a good place to learn the proper way to modify and theme a Motorola stock rom?
Click to expand...
Click to collapse
get apktool
with this decompile your apks you want to theme/mod
hapy theming! (there plenty of tutorials of how to edit images or the .9 patch files. with gimp etc.. just search )
after that recompile, if you just have edited some images (ressources) pull them afterwards from the new COMPILED apk out in a folder.
take the original apk & open with 7zip & pull the edited stuff into the right directions.
if you have done some advanced modification such as in values folder, you need after the new apk is compiled, open it with 7zip & pull from the original app the meta-inf folder into the new compiled one (singing) after tthat replace it on that phone

Categories

Resources