OK, so I've been using Android Kitchen (URL provided) to modify other ROMS (not CM6 cuz the kitchen is not compatible) to add my own apps and whatnot. So I flash nightly about ever couple of days or so, and hate having to flash the core CM zip and then gapps then copy over my apps, and do mods that I like, etc.
Now you can do all of that in one shot here's how.
In this example, I will demonstrate adding Gapps, change density of LCD, and add my own apps to /system/app (note, this might prevent market from auto update on your apps).
1. Download nightly zip
2. Extract it using your favorite zip program
3. You should get a directory (if not unzip it into a directory) of CM6.
To change LCD Density:
4. go into /system/ folder and open build.prop and look for "ro.sf.lcd_density" and change the value to some'n you like. I have mine at 170 instead of 240 (default)
5. Save the file and do a chmod 755 system/build.prop
Note: I'm not sure if step 5 matters but I thought I would put it back to original state when it was found in the archive.
To Add Gapps:
6. Download Gapps zip file
7. Extract to a directory other than the ROM directory
8. Go into system folder and copy over all the respective files in the folders into CM6 corresponding folder. For example: Gapps => /system/app/Vending.apk then you will copy that apk into /CM6_extracted_folder/app/ and so on so forth.
To add your own apps:
9. Simply add all apks into /CM6_extracted_folder/app/
10. Do a chmod -R 755 /CM6_extracted_folder/app/
Note: same note as in step #5.
Putting it all together:
11. Now create an zip archive with your favorite zip app
12. Add all the contents of /CM6_extracted_folder/ into the archive. NOT the /CM6_extracted_folder/ folder itself but everything underneath it.
13. IMPORTANT: DO NOT set any compression rate, just add it as normal rate (default in most app). I tried it with diff. compression rate and recovery flash have hard time reading it.
After all of that you should have the following folder structure in your archive:
boot.img
META-INF
system
If you don't see it like that then redo ur archive.
Now you can transfer the file over to sdcard and flash it all in one sweep.
If you really want to get fancy, you can write script to automate all of this.
Just want to share some modded apps and framework, all stock only a bit more flat.
Apps are for stock based 4.1.2 roms, results are similar to latest Touchwiz versions.
Apps may FC at first start, that's why they need to be restarted once modded, then they will launch as usual.
Framework
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Mod will apply on default actionbar background in apps that use it (Settings, My Files, Messaging, Xposed, etc..) and system dialogs.
Some others sammy app doesn't follow default backgroud rules for actionbar, so they need to be modded individually, like Phone, Clock, Calculator, etc.. I'll add them in the next posts.
CAUTION:
Do a nandroid backup, if anything goes wrong in changing framework it could end in bootloops, backup your framework-res.apk in system/framework too.
HOW TO:
1. Download framework-resFlat.apk
2. Put it into your sdcard
3. Copy it to system/framework
4. Rename framework-resFlat.apk in framework-res.apk
5. Overwrite framework-res.apk
6. Set permissions to rw-r--r-- if needed
8. Reboot
9. Enjoy
Download link
Messaging
Mod will apply on messaging bubbles (choose style n°2 in settings) and send, attach, contact buttons.
Since the app uses default background for actionbar you need the above modded framework above to have a flat actionbar.
CAUTION:
Backup your SecMms.apk in system/app.
HOW TO:
1. Download SecMmsFlat.apk
2. Put it into your sdcard
3. Copy it to system/app
4. Rename SecMmsFlat.apk in SecMms.apk
5. Overwrite SecMms.apk
6. Set permissions to rw-r--r-- if needed
7. Open Messaging settings and choose bubbble style n°2
8. Enjoy
Download link
Phone & Contacts
Mod will apply on actionbar only, maybe to dialpad too in the future.
CAUTION:
Backup your SecContacts.apk in system/app.
HOW TO:
1. Download SecContactsFlat.apk
2. Put it into your sdcard
3. Copy it to system/app
4. Rename SecContactsFlat.apk in SecContacts.apk
5. Overwrite SecContacts.apk
6. Set permissions to rw-r--r-- if needed
7. Enjoy
Download link
Browser
Mod will apply on actionbar only.
CAUTION:
Backup your SecBrowser.apk in system/app.
HOW TO:
1. Download SecBrowserFlat.apk
2. Put it into your sdcard
3. Copy it to system/app
4. Rename SecBrowserFlat.apk in SecBrowser.apk
5. Overwrite SecBrowser.apk
6. Set permissions to rw-r--r-- if needed
7. Enjoy
Download link
Calculator
Mod will apply to actionbar and buttons.
CAUTION:
Backup your SecCalculator2.apk in system/app.
HOW TO:
1. Download SecCalculator2Flat.apk
2. Put it into your sdcard
3. Copy it to system/app
4. Rename SecCalculator2Flat.apk in SecCalculator2.apk
5. Overwrite SecCalculator2.apk
6. Set permissions to rw-r--r-- if needed
7. Enjoy
Download link
Clock
Mod will apply to actionbar only.
CAUTION:
Backup your ClockPackage.apk in system/app.
HOW TO:
1. Download ClockPackageFlat.apk
2. Put it into your sdcard
3. Copy it to system/app
4. Rename ClockPackageFlat.apk in ClockPackage.apk
5. Overwrite ClockPackage.apk
6. Set permissions to rw-r--r-- if needed
7. Enjoy
Download link
Gallery
Mod will apply to actionbar only.
CAUTION:
Backup your com.sec.android.gallery3d.apk in system/app.
HOW TO:
1. Download com.sec.android.gallery3dFlat.apk
2. Put it into your sdcard
3. Copy it to system/app
4. Rename com.sec.android.gallery3dFlat.apk in com.sec.android.gallery3d.apk
5. Overwrite com.sec.android.gallery3d.apk
6. Set permissions to rw-r--r-- if needed
7. Enjoy
Download link
Task Manager
Mod will apply to actionbar only.
CAUTION:
Backup your JobManager.apk in system/app.
HOW TO:
1. Download JobManagerFlat.apk
2. Put it into your sdcard
3. Copy it to system/app
4. Rename JobManagerFlat.apk in JobManager.apk
5. Overwrite JobManager.apk
6. Set permissions to rw-r--r-- if needed
7. Enjoy
Download link
Music Player
Mod will apply to bars, buttons and widget.
CAUTION:
Backup your Music Player.apk in system/app.
HOW TO:
1. Download Music PlayerFlat.apk
2. Put it into your sdcard
3. Copy it to system/app
4. Rename Music PlayerFlat.apk in Music Player.apk
5. Overwrite Music Player.apk
6. Set permissions to rw-r--r-- if needed
7. Enjoy
Download link
Video Player
Mod will apply to actionbar only.
CAUTION:
Backup your VideoPlayer.apk in system/app.
HOW TO:
1. Download VideoPlayerFlat.apk
2. Put it into your sdcard
3. Copy it to system/app
4. Rename VideoPlayerFlat.apk in VideoPlayer.apk
5. Overwrite VideoPlayer.apk
6. Set permissions to rw-r--r-- if needed
7. Enjoy
Download link
Pop-up Browser
Mod will apply to actionbar only.
CAUTION:
Backup your PopupBrowser.apk in system/app.
HOW TO:
1. Download PopupBrowserFlat.apk
2. Put it into your sdcard
3. Copy it to system/app
4. Rename PopupBrowserFlat.apk in PopupBrowser.apk
5. Overwrite PopupBrowser.apk
6. Set permissions to rw-r--r-- if needed
7. Enjoy
Download link
reserved
how to download from mega
it says enter decrption key
Patrick Bteman said:
how to download from mega
it says enter decrption key
Click to expand...
Click to collapse
Sorry I'm not familiar with the new mega host, I'll check the link asap!
thnk u plz upload video player and music player ASAP!!!
Patrick Bteman said:
thnk u plz upload video player and music player ASAP!!!
Click to expand...
Click to collapse
Download links should be ok now, music player is a bit troublesome, but it should be finished in the next days. Update for current modded apps are coming too with more dividers and buttons steamrolled!
Patrick Bteman said:
thnk u plz upload video player and music player ASAP!!!
Click to expand...
Click to collapse
Music Player is up!
why arent there any dl links without having this spyware traps blocking the way?
v00d007 said:
why arent there any dl links without having this spyware traps blocking the way?
Click to expand...
Click to collapse
Which spyware? They're just Mega host links, don't know any free host without some ads if it's what are you talking about.
this mega app is known to spy on a lot of data. nothings really for free nowadays...
v00d007 said:
this mega app is known to spy on a lot of data. nothings really for free nowadays...
Click to expand...
Click to collapse
Anyone is free to share better mirrors, I'll add them to OP.
Upon overwriting the framework-res.apk with the new one, I softbricked my S3.
Required a recovery restore and system format. Where did I go wrong?
Joe_Crow said:
Upon overwriting the framework-res.apk with the new one, I softbricked my S3.
Required a recovery restore and system format. Where did I go wrong?
Click to expand...
Click to collapse
Since you're overwriting a N7000 framework on a i9300 I'm not surprised about that.
"CAUTION: Do a nandroid backup" is written in big red letters in the op so i guess is reading what you did wrong.
neonboy said:
Since you're overwriting a N7000 framework on a i9300 I'm not surprised about that.
"CAUTION: Do a nandroid backup" is written in big red letters in the op so i guess is reading what you did wrong.
Click to expand...
Click to collapse
I did a nandroid backup, which solved the problem. I did not read the N7000 bit though so I apologise for that.
thnaks bro. will check soon.
neonboy said:
Just want to share some modded apps and framework, all stock only a bit more flat.
Apps are for stock based 4.1.2 roms, results are similar to latest Touchwiz versions.
Apps may FC at first start, that's why they need to be restarted once modded, then they will launch as usual.
Framework
Mod will apply on default actionbar background in apps that use it (Settings, My Files, Messaging, Xposed, etc..) and system dialogs.
Some others sammy app doesn't follow default backgroud rules for actionbar, so they need to be modded individually, like Phone, Clock, Calculator, etc.. I'll add them in the next posts.
CAUTION:
Do a nandroid backup, if anything goes wrong in changing framework it could end in bootloops, backup your framework-res.apk in system/framework too.
HOW TO:
1. Download framework-resFlat.apk
2. Put it into your sdcard
3. Copy it to system/framework
4. Rename framework-resFlat.apk in framework-res.apk
5. Overwrite framework-res.apk
6. Set permissions to rw-r--r-- if needed
8. Reboot
9. Enjoy
Download link
Messaging
Mod will apply on messaging bubbles (choose style n°2 in settings) and send, attach, contact buttons.
Since the app uses default background for actionbar you need the above modded framework above to have a flat actionbar.
CAUTION:
Backup your SecMms.apk in system/app.
HOW TO:
1. Download SecMmsFlat.apk
2. Put it into your sdcard
3. Copy it to system/app
4. Rename SecMmsFlat.apk in SecMms.apk
5. Overwrite SecMms.apk
6. Set permissions to rw-r--r-- if needed
7. Open Messaging settings and choose bubbble style n°2
8. Enjoy
Download link
Phone & Contacts
Mod will apply on actionbar only, maybe to dialpad too in the future.
CAUTION:
Backup your SecContacts.apk in system/app.
HOW TO:
1. Download SecContactsFlat.apk
2. Put it into your sdcard
3. Copy it to system/app
4. Rename SecContactsFlat.apk in SecContacts.apk
5. Overwrite SecContacts.apk
6. Set permissions to rw-r--r-- if needed
7. Enjoy
Download link
Browser
Mod will apply on actionbar only.
CAUTION:
Backup your SecBrowser.apk in system/app.
HOW TO:
1. Download SecBrowserFlat.apk
2. Put it into your sdcard
3. Copy it to system/app
4. Rename SecBrowserFlat.apk in SecBrowser.apk
5. Overwrite SecBrowser.apk
6. Set permissions to rw-r--r-- if needed
7. Enjoy
Download link
Click to expand...
Click to collapse
Borrow!
Good Day Sir! Can I use the apks on the Rom I am about to make? I'd be giving proper credits in return
Koala D Klutz said:
Good Day Sir! Can I use the apks on the Rom I am about to make? I'd be giving proper credits in return
Click to expand...
Click to collapse
Sure, no problems :good: I can upload a steamrolled Samsung IME too if needed.
Mirror for framework (MEGA SAYS THAT NO EXISTS)
I created FlymeUI statusbar model in CM12 beta 5 (bauner custom rom) and resize height of navigation bar (more small),
File:
SystemUI:
goo.gl/p64oEo
Framework:
goo.gl/zutUfx
Guide:
1. Open folder /system/priv-app/ SystemUI, rename SystemUI.apk to SystemUI.apk~
2. Open folder /system/priv-app/ SystemUI/arm, rename SystemUI.odex to SystemUI.odex~
3. Paste SystemUI.apk in folder /system/priv-app/ SystemUI which already download and set permission as default
Be carefull in step 4 since make your note bootloop (if wrong step)
4. Paste framework-res.apk in folder /system/framework and replace which new one (set permission in outside forlder of /system/framework to prevent bootloop since after paste will automatically reboot).
File permission:
v v -
v - -
v - -
Note:
Backup your rom before execute this mod.
I'm not create flashzip file but doing by manually .
This mod can't use in another version.
Credit to:
1. Bauner
2. Golv
TWRP Flashable Zip - Sample
About
This is a sample zip i.e Empty, with this you can move anything (for say: apps, fonts, boot anim, libs/hals, build.prop etc) to your system partition easily.
How-to?
Extract the zip
Now copy-paste the stuff you want to flash
normally compress the zip again
Go to TWRP
Flash and Reboot.
Hit thanks and Enjoy xD
Download
Attached below - click click
Notes
For anything you want to flash/move to system: You will have to first make a folder inside the system folder for ex
You want to push a lib in lib64 folder for that you need to create a folder as 'lib64' inside the system folder
so the path will be : (flashable zip)/system/lib64/(your file)
Lets say :-
For Apps:
(flashable zip)/system/app/(your app)
For Fonts:
(flashable zip)/system/fonts/
For Boot anim:
(flashable zip)/system/media/(bootanimation.zip)
PS : Sorry for Typos if any.
thread closed as per OP request
1. download framework-res.apk from from here http://www.mediafire.com/file/jwmbdax2h878zdk/framework-res.apk
2. use any root explorer and replace framework-res.apk located in /system/framework/framework-res.apk
3. set permissions to rw-r-r
4. reboot into recovery and wipe cache, and dalivik cache and then reboot into system
5. done
only works on xiaomi.eu rom 7.5.25
Preview:
https://youtu.be/t1ir3Kb1gyc
Guide:
Howto make this for your rom:
1. u need to enable adb on your phone
2.
Code:
adb pull /system/framework/framework-res.apk
3. decompile framework-res.apk
4. ovverride anim folder and animator folder with the one i provided in attatchment below
5. recompile
6. put the 'new' framework-res.apk on internal sd card
7. use any root explorer and replace framework-res.apk located in /system/framework/framework-res.apk
8. set permissions to rw-r-r
9. reboot into recovery and wipe cache, and dalivik cache and then reboot into system
10. done
note :
decompile recompile the easy way thanks to @littlejoelgriffo :
Now is the important part. Install Winrar Then open the .apk by right clicking the file -> open with -> WinRar. Now you can look around the .apk file. Find a file inside the .apk you wish to edit. (In my case I'm going to navigate to res -> mipmap-hdpi -> ic_launcher_settings.png). Just drag the file from the .apk and edit to your liking.
NOTE: It is recommended never to completely take everything out of the .apk and then put it all back in. Just do one file at a time.
Then when your finished, select the old file in the .apk and press the delete button. Now drag in the new edited file into where you found it. Easy!
have fun