[Q] Creating a stock-based rom! - Galaxy Ace S5830 General

Hey guys!
How do I create a stock-based rom? The only thing I found was this: http://forum.xda-developers.com/showthread.php?t=1533740 But I don't know if it applies to Ace too.
Someone can confirm if this works? Also, If I just take a install-script from another ROM it will work? Or I'll need to write my own?
And, last but not least, for themeing, what files I need to change? Framework or tw-framework?

Okay that most things in that tut works some things are not 4 tha ace
scripts u can just add other scripts from roms no need 2 write own (ask permisions ofcorce)
Theme edit systemui.apk in system/app
edit framework-res.apk system/framework
edit twlauncher.apk system/app
and u can edit tw-framework if u wanna (not much 2 theme there)
HOPE I HELPED!!!
GOOD LUCK

Search before posting please...Theres a guide written by me for ace..
---------- Post added at 10:08 PM ---------- Previous post was at 10:08 PM ----------
If you need any help,PM me and i will help

Prawesome said:
Search before posting please...Theres a guide written by me for ace..
---------- Post added at 10:08 PM ---------- Previous post was at 10:08 PM ----------
If you need any help,PM me and i will help
Click to expand...
Click to collapse
I've made my first ROM using your tutorial as basis I need to know if there is something much different between building a CM7 rom and a stock ROM. Since stock roms always came with those other files (modem, phone, csc...), I need to know if I can just extract the system.rfs file, edit what I wand or what I need and made a flashable zip.
A bit off-topic question: where are the resources used on the lockscreen? framework-res.apk?

Quick Question: if I pick the apps that I have installed libs and put them on /system/lib, they will work?

For the lockscreen and other graphic (theme) edits check this tut, gives you a feel of where to screw with the framework-res.apk
http://forum.xda-developers.com/showthread.php?t=1543059
The easiest thing to do is to replace .9.png files with those of other ROMS to personalize it. Editing the xml files takes some trial and error, but its easier than it seems.

Thank you! One more thing: The power menu, it is hard-coded or I can add options to it via xml editing?

Renan Lazarotto said:
Thank you! One more thing: The power menu, it is hard-coded or I can add options to it via xml editing?
Click to expand...
Click to collapse
If you want to add options to power menu,you need to edit android.policy.jar,framework.jar and framework-res.apk.Here is a guide on that. http://forum.xda-developers.com/showthread.php?t=811532 You might need to make a few changes to make it adapt,like change the string ids,and its GlobalActions$3 you should copy for ace,its GlobalActions$4.smali.
---------- Post added at 09:19 AM ---------- Previous post was at 09:16 AM ----------
Renan Lazarotto said:
I've made my first ROM using your tutorial as basis I need to know if there is something much different between building a CM7 rom and a stock ROM. Since stock roms always came with those other files (modem, phone, csc...), I need to know if I can just extract the system.rfs file, edit what I wand or what I need and made a flashable zip.
A bit off-topic question: where are the resources used on the lockscreen? framework-res.apk?
Click to expand...
Click to collapse
Just download a package from Odin.You will get a .tar.md5 file which you wont be able to extract,so rename the file to .tar Now,you will be extract it,after extraction,you will get many .img files like system.img,boot.img. Extract system.img,replace stock boot.img with Cf-root and thats about it.You could take the updater script from BlackHawk as it does the job most of the times.

Prawesome said:
Just download a package from Odin.You will get a .tar.md5 file which you wont be able to extract,so rename the file to .tar Now,you will be extract it,after extraction,you will get many .img files like system.img,boot.img. Extract system.img,replace stock boot.img with Cf-root and thats about it.You could take the updater script from BlackHawk as it does the job most of the times.
Click to expand...
Click to collapse
I extracted the stock rom (system.rfs within the system files) and used the cf-root boot.img but my rom didn't start after flashing. I only saw the samsung galaxy ace logo and a blue triangle on the upper left corner of screen.
From the stocklite rom I used the updater-script. Maybe there is the fault?
Here the rom: Link
Please help me
Best regards
Marcus

freibergisch said:
I extracted the stock rom (system.rfs within the system files) and used the cf-root boot.img but my rom didn't start after flashing. I only saw the samsung galaxy ace logo and a blue triangle on the upper left corner of screen.
From the stocklite rom I used the updater-script. Maybe there is the fault?
Here the rom: Link
Please help me
Best regards
Marcus
Click to expand...
Click to collapse
Hmm...thats weird..Try taking the updater script and binary from blackhawk and try.If it still doesnt work,then try and take a logcat,it might help.
---------- Post added at 02:15 PM ---------- Previous post was at 02:10 PM ----------
Let me just download it and check the rom.

Hi,
Thank you for testing it.
I didn't copy the csc files into the system directory.
But i tried it with csc but without any success..
Please have a look over my rom..
Im very confused
PS: took the updater script from blackhawk and one other. Both are the same.
Marcus
Gesendet von meinem HTC Desire

Prawesome said:
If you want to add options to power menu,you need to edit android.policy.jar,framework.jar and framework-res.apk.Here is a guide on that. http://forum.xda-developers.com/showthread.php?t=811532 You might need to make a few changes to make it adapt,like change the string ids,and its GlobalActions$3 you should copy for ace,its GlobalActions$4.smali.
---------- Post added at 09:19 AM ---------- Previous post was at 09:16 AM ----------
Just download a package from Odin.You will get a .tar.md5 file which you wont be able to extract,so rename the file to .tar Now,you will be extract it,after extraction,you will get many .img files like system.img,boot.img. Extract system.img,replace stock boot.img with Cf-root and thats about it.You could take the updater script from BlackHawk as it does the job most of the times.
Click to expand...
Click to collapse
Thanks for the tip on the menu and all. Now I'll start to work on the ROM, but I'll still wait for the confirmation if the update script works!

freibergisch said:
Hi,
Thank you for testing it.
I didn't copy the csc files into the system directory.
But i tried it with csc but without any success..
Please have a look over my rom..
Im very confused
PS: took the updater script from blackhawk and one other. Both are the same.
Marcus
Gesendet von meinem HTC Desire
Click to expand...
Click to collapse
Hm...If you could,could you upload the rom to some other site like MediaFire? I cant seem to download the file properly from the link you gave.
---------- Post added at 06:20 PM ---------- Previous post was at 06:16 PM ----------
Renan Lazarotto said:
Thanks for the tip on the menu and all. Now I'll start to work on the ROM, but I'll still wait for the confirmation if the update script works!
Click to expand...
Click to collapse
Lol,updater script will work.Where do you think everyone takes updater scripts from? Its too big/dangerous to write up on your own,so what do you do,you take an existing one and modify it to work with your rom.Oh,and give credits to the original dev who wrote the updater script.

Hi,
I'm uploading the rom to mediafire now.
I give you the link when the rom is up in few minutes.
Thank you
---------- Post added at 06:09 PM ---------- Previous post was at 05:49 PM ----------
http://www.mediafire.com/?1bc8xt7q9sp8vzw
Edit: This is with CSC directories from the odin flash files.

Prawesome said:
Search before posting please...Theres a guide written by me for ace..
---------- Post added at 10:08 PM ---------- Previous post was at 10:08 PM ----------
If you need any help,PM me and i will help
Click to expand...
Click to collapse
where i can find the post?

tonyboy3 said:
where i can find the post?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1465477

Related

[Q] Live With Walkman (Stock ROM Mod)

I'm trying to download the files from this thread (http://forum.xda-developers.com/showthread.php?t=1444858), but the links seem to be dead.
Can somebody help me?
I suggest you to try hybroman, if you like a stock rom with modifications
http://forum.xda-developers.com/showthread.php?t=1373435
androidsl said:
I suggest you to try hybroman, if you like a stock rom with modifications
http://forum.xda-developers.com/showthread.php?t=1373435
Click to expand...
Click to collapse
First of all, thanks for the suggestion.
The thing is, I don't want to mess with the bootloader for now. That's why I need the Stock ROM Mod
Its EASY!
pablitoaimar said:
I'm trying to download the files from this thread (http://forum.xda-developers.com/showthread.php?t=1444858), but the links seem to be dead.
Can somebody help me?
Click to expand...
Click to collapse
Just use these links:
Download ROM : http://depositfiles.com/files/0i804hqbr
Downlaod FW no_system : http://depositfiles.com/files/wvw5gjrqs
Don't forget to hit the thanks button if i helped!
pablitoaimar said:
I'm trying to download the files from this thread (http://forum.xda-developers.com/showthread.php?t=1444858), but the links seem to be dead.
Can somebody help me?
Click to expand...
Click to collapse
you can try this link. download which build version u want!!
link: http://minus.com/m76lbNMOR/1g
hit thanks if helped
---------- Post added at 11:47 AM ---------- Previous post was at 11:31 AM ----------
i suggest u to download (WT19i_4.0.2.A.0.62_(1254-1848).ftf.zip)
file, as on downloading u can extract (WT19i_4.0.2.A.0.62_(1254-1848).ftf) from that (.zip) file and u can easily flash it using flashtool!!
---------- Post added at 11:56 AM ---------- Previous post was at 11:47 AM ----------
or this (WT19i_4.0.2.A.0.62__1254-1889_.ftf) file

Help Please! Deodex a rom problems!

I can't seem to deodex the rom I'm trying to get up and working. I keep getting a error
" The program can't start because mgwz.dll is missing from your computer.. "
Although, I understand that, I still have a problem. I can't get the Framework.jar to deodex right.
I'm using a Deodexer program found here:
http://forum.xda-developers.com/showpost.php?p=5775540&postcount=57
And the zip I'm trying to deodex is here:
http://www.mediafire.com/?p6imi5i7hxcswth
Please, and thank you.
Bump!
Do you get any errors in baksmali?
Are you trying to deodex in windows? Linux is much easier- I recommend ubuntu! http://www.ubuntu.com/
I have a homebrewed script that seems to work- and took just over 3 mins to run.
Use at your own risk!! I didn't look at the link to the tool you posted and I don't know a thing about this rom, but I tested my script against your rom anyway. Everything I learned about deodexing is from the internet. For entertainment purposes only. If you brick your device, it's your own fault.
http://www.mediafire.com/download.php?o5na6x5is7db2jk
check to make sure you are using the right version of baksmali/smali, api level is 10, and you have the right boot class path. Bluetooth needs javax.obex.odex in the boot class path.
---------- Post added at 10:48 AM ---------- Previous post was at 10:42 AM ----------
Edit- v2 added framework-res.apk Also note that the zip only contains the files that had odex files. apps or frameworks without an odex files are not included. For example, GexinService.apk or DSPManager.apk seem to be deodexed already.
I'm not very good with this stuff, but ill install Ubuntu on my second hard drive.
I don't under the baskmail(or however spelled) and API level.
I know baskmail is needed, and there are different versions. Do I need to put baskmail in the Windows directory like APKtool/
Sent from my LG-VM670 using Tapatalk 2
there's lots of info here http://code.google.com/p/smali/
I don't know how apktool deodexes- you might want to comb through the bat/shell files to see what it does. Then you can figure out how it calls baksmali/smali.
---------- Post added at 02:28 PM ---------- Previous post was at 02:28 PM ----------
there's lots of info here http://code.google.com/p/smali/
I don't know how apktool deodexes- you might want to comb through the bat/shell files to see what it does. Then you can figure out how it calls baksmali/smali.

How to edit recovery.img

Hi i am interesting to modifcated a recovery.img to put my own TEXT to put my own IMAGES.
How can i do it?¿
A lot of thanks
It is exactly same as unpacking boot.img
Use dsixdas kitchen to do that.
Ok
varun.chitre15 said:
It is exactly same as unpacking boot.img
Use dsixdas kitchen to do that.
Click to expand...
Click to collapse
And how i edit the images?¿
Build it from source.
how I do
dastin1015 said:
Build it from source.
Click to expand...
Click to collapse
how I do it ?¿
i find the images and how can I change the name of recovery I refer to the upper side where it put the name of it
There areany different recovery...what are you trying to edit? Cwm, twrp, ext4...etc
And source...I find the easiest way is to get a cyanogen working folder setup and use
Code:
make bootimage
that creates a kernel with included recovery (for Samsung devices)
Sent from my SGH-I997 using Tapatalk 2
---------- Post added at 05:09 PM ---------- Previous post was at 05:07 PM ----------
http://rootzwiki.com/index.php?/topic/23903-How-to-Compile-TWRP-from-Source that's for twrp recovery...but it may give you a better idea on building recoveries from source
Sent from my HTC PH39100 using Tapatalk 2

[Q] [CM12] How do I extract the apk files from CM12.zip?

Hi
In cm11 zip file (i.e. the installation file .zip eg:cm-11-20150107-NIGHTLY-falcon.zip), you can find the apk files from the zip in system/app folder or system/priv-app folder
But in cm12.zip, I can't find the app or priv-app folder in system/
I can only find build.prop file
Can you people help me to find the folder where all the installation apks are kept?
Regards
Yash
no one knows?
No one knows?
No one on XDA knows?
[email protected] said:
No one knows?
No one on XDA knows?
Click to expand...
Click to collapse
Part of the answer is I can see the system as large dat files in the root of the zip package. What I followed this link for was because I was hoping to find the answer, too. I'm going to try extracting the dat file(s), changing file extension to zip or some other common archive type and seeing if some common Android archive extracting apps will be able to open it. I'll report back if I have luck.
---------- Post added at 04:15 AM ---------- Previous post was at 04:07 AM ----------
http://forum.xda-developers.com/and.../how-to-conver-lollipop-dat-files-to-t2978952
Job done! Thanks!
roirraW "edor" ehT said:
Part of the answer is I can see the system as large dat files in the root of the zip package. What I followed this link for was because I was hoping to find the answer, too. I'm going to try extracting the dat file(s), changing file extension to zip or some other common archive type and seeing if some common Android archive extracting apps will be able to open it. I'll report back if I have luck.
---------- Post added at 04:15 AM ---------- Previous post was at 04:07 AM ----------
http://forum.xda-developers.com/and.../how-to-conver-lollipop-dat-files-to-t2978952
Click to expand...
Click to collapse
I am happy for a positive reply. Thanks.:good::highfive:

Require Stock SGS 3 Keyboard

Mistakenly i have deleted my stock keyboard galaxy s3 gt-19300 because i was trying to install GS6 keyboard... I have deleted "SamsungIME.apk", "SamsungIME.odex" and "libswiftkeysdk-java.so".. Please help me and upload these files i shall be very thankful to you!. Running 4.3 Jellybean
Play Store > Productivity > A Keyboard > Google the file you needed
snkmv said:
Play Store > Productivity > A Keyboard > Google the file you needed
Click to expand...
Click to collapse
i want this file libswiftkeysdk-java.so . can you plz attach this file so i can get this and put it to the lib folder of my gt-i9300?
Sir I don't have the same ROM as you do so I don't have that file, what ROM are you using?
---------- Post added at 10:39 PM ---------- Previous post was at 10:29 PM ----------
ali.hassan8861 said:
i want this file libswiftkeysdk-java.so . can you plz attach this file so i can get this and put it to the lib folder of my gt-i9300?
Click to expand...
Click to collapse
https://www.dropbox.com/s/86wso2ey49alkwj/libswiftkeysdk-java.so?dl=0
Be careful, you might want to make a backup before touching your /system
If
/system/lib doesn't work try
/system/lib/arm
Also I got this from an old s3 that I own
snkmv said:
Sir I don't have the same ROM as you do so I don't have that file, what ROM are you using?
---------- Post added at 10:39 PM ---------- Previous post was at 10:29 PM ----------
https://www.dropbox.com/s/86wso2ey49alkwj/libswiftkeysdk-java.so?dl=0
Be careful, you might want to make a backup before touching your /system
If
/system/lib doesn't work try
/system/lib/arm
Also I got this from an old s3 that I own
Click to expand...
Click to collapse
running official touchwiz 4.3 jellybean... Thanks @snkmv bro but it didn't work for me�� may be you are using other rom version, and there is no "arm" folder in system>lib
ali.hassan8861 said:
running official touchwiz 4.3 jellybean... Thanks @snkmv bro but it didn't work for me�� may be you are using other rom version, and there is no "arm" folder in system>lib
Click to expand...
Click to collapse
I got it straight from /lib/arm, I don't know why don't you have the folder, the .so was compiled for arm, maybe you deleted the folder along with the file
snkmv said:
I got it straight from /lib/arm, I don't know why don't you have the folder, the .so was compiled for arm, maybe you deleted the folder along with the file
Click to expand...
Click to collapse
have drm named folder in lib.. okay now i tell you the whole story. i was searching for galaxy s6 keyboard and the file which i downloaded consist 3 files SamsungIME. apk, SamsungIME. odex and libswiftkeysdk-java.so. I make backup of Samsung.IME and SamsungIME. odex first and then copy the s6 keyboard in system>apps but i forgot to make backup of libswiftkeysdk-java.so and overwrite that s6 keyboard's file on libswiftkeysdk-java.so and now i restored stock SamsungIME.apk and SamsungIME. odex but i dont have this stock libswiftkeysdk-java.so file... i am sure that i haven't delete any folder from system/lib

Categories

Resources