[ROM] Deodexed XXMB2 4.1.2 - Galaxy Ace II Android Development

Hi, I made dodexed Jelly Bean ROM (XXMB2 leaked version)
I hope all is fine but it is my first deodexing so please test and make backup in CWM ​
Installation:
Copy XXMB2_deodex.zip to SD Card
Download and install CWM 6.0.2.8 from here
Mount system and preload from CWM
Install XXMB2_deodex.zip from CWM
[Optional] wipe cache/dalvik-cache
Reboot
Download: http://d-h.st/jr4
For devs:
batch script making file with symlinks cmd for preload apps
Code:
for /r . %%g in (*.apk) do echo symlink("/preload/symlink/system/app/%%~nxg", "/system/app/%%~nxg");>>!preload.txt
pause
ex. output !preload.txt:
Code:
symlink("/preload/symlink/system/app/AccuweatherDaemon.apk", "/system/app/AccuweatherDaemon.apk");
symlink("/preload/symlink/system/app/AccuweatherWidget.apk", "/system/app/AccuweatherWidget.apk");
symlink("/preload/symlink/system/app/AccuweatherWidget_Main.apk", "/system/app/AccuweatherWidget_Main.apk");
symlink("/preload/symlink/system/app/AutomationTest_JBUP.apk", "/system/app/AutomationTest_JBUP.apk");
symlink("/preload/symlink/system/app/BasicLiveWallpapers.apk", "/system/app/BasicLiveWallpapers.apk");
symlink("/preload/symlink/system/app/ChocoEUKor.apk", "/system/app/ChocoEUKor.apk");
symlink("/preload/symlink/system/app/ClockPackage.apk", "/system/app/ClockPackage.apk");
symlink("/preload/symlink/system/app/CoolEUKor.apk", "/system/app/CoolEUKor.apk");
symlink("/preload/symlink/system/app/DualClockAnalog.apk", "/system/app/DualClockAnalog.apk");
symlink("/preload/symlink/system/app/FaceLock.apk", "/system/app/FaceLock.apk");
symlink("/preload/symlink/system/app/FactoryTest_CODINA_EUR_OPEN.apk", "/system/app/FactoryTest_CODINA_EUR_OPEN.apk");
symlink("/preload/symlink/system/app/FmmDM.apk", "/system/app/FmmDM.apk");
symlink("/preload/symlink/system/app/FmRadio.apk", "/system/app/FmRadio.apk");
symlink("/preload/symlink/system/app/GMS_Maps.apk", "/system/app/GMS_Maps.apk");
symlink("/preload/symlink/system/app/GoogleTTS.apk", "/system/app/GoogleTTS.apk");
symlink("/preload/symlink/system/app/kieswifi.apk", "/system/app/kieswifi.apk");
symlink("/preload/symlink/system/app/MobilePrint.apk", "/system/app/MobilePrint.apk");
symlink("/preload/symlink/system/app/MusicHub_20_store.apk", "/system/app/MusicHub_20_store.apk");
symlink("/preload/symlink/system/app/MusicPlayer.apk", "/system/app/MusicPlayer.apk");
symlink("/preload/symlink/system/app/PlusOne.apk", "/system/app/PlusOne.apk");
symlink("/preload/symlink/system/app/PolarisViewer.apk", "/system/app/PolarisViewer.apk");
symlink("/preload/symlink/system/app/RoseEUKor.apk", "/system/app/RoseEUKor.apk");
symlink("/preload/symlink/system/app/SamsungTTS.apk", "/system/app/SamsungTTS.apk");
symlink("/preload/symlink/system/app/SecBrowser.apk", "/system/app/SecBrowser.apk");
symlink("/preload/symlink/system/app/SecCalendar.apk", "/system/app/SecCalendar.apk");
symlink("/preload/symlink/system/app/SecCalendarProvider.apk", "/system/app/SecCalendarProvider.apk");
symlink("/preload/symlink/system/app/SecContacts.apk", "/system/app/SecContacts.apk");
symlink("/preload/symlink/system/app/SecContactsProvider.apk", "/system/app/SecContactsProvider.apk");
symlink("/preload/symlink/system/app/SecEmail.apk", "/system/app/SecEmail.apk");
symlink("/preload/symlink/system/app/SecExchange.apk", "/system/app/SecExchange.apk");
symlink("/preload/symlink/system/app/SecMms.apk", "/system/app/SecMms.apk");
symlink("/preload/symlink/system/app/SimpleAlarmClock.apk", "/system/app/SimpleAlarmClock.apk");
symlink("/preload/symlink/system/app/SlideShow.apk", "/system/app/SlideShow.apk");
symlink("/preload/symlink/system/app/Street.apk", "/system/app/Street.apk");
symlink("/preload/symlink/system/app/talkback.apk", "/system/app/talkback.apk");
symlink("/preload/symlink/system/app/TMemo.apk", "/system/app/TMemo.apk");
symlink("/preload/symlink/system/app/VideoPlayer.apk", "/system/app/VideoPlayer.apk");
symlink("/preload/symlink/system/app/VoiceRecorder.apk", "/system/app/VoiceRecorder.apk");
symlink("/preload/symlink/system/app/voice_talk_U1.apk", "/system/app/voice_talk_U1.apk");
symlink("/preload/symlink/system/app/YahoonewsDaemon.apk", "/system/app/YahoonewsDaemon.apk");
symlink("/preload/symlink/system/app/YahoonewsWidget.apk", "/system/app/YahoonewsWidget.apk");
symlink("/preload/symlink/system/app/YahoostockDaemon.apk", "/system/app/YahoostockDaemon.apk");
symlink("/preload/symlink/system/app/YahoostockWidget.apk", "/system/app/YahoostockWidget.apk");
symlink("/preload/symlink/system/app/YouTube.apk", "/system/app/YouTube.apk");
save as .bat
We need add this to updater-script to correct simlinks apps from preload partiton.
Feel free for use as a base or whatever you want
ex. updater-script:
Code:
assert((getprop("ro.product.device") == "GT-I8160" || getprop("ro.product.device") == "GT-I8160P" || getprop("ro.product.device") == "GT-I8160L") && getprop("ro.build.id") == "JZO54K");
ui_print(" ");
ui_print(" +--------------------------------------------+ ");
ui_print(" | Ace 2 - deodexing | ");
ui_print(" +--------------------------------------------+ ");
show_progress(1.000000, 0);
ui_print(" ");
ui_print("Cleaning system & preload apps...");
delete_recursive("/system/app");
delete_recursive("/system/framework");
delete_recursive("/preload/symlink/system/app");
set_progress(0.150000);
ui_print(" ");
ui_print("Extracting system framework...");
package_extract_dir("framework", "/system/framework");
set_progress(0.300000);
ui_print(" ");
ui_print("Extracting system app...");
package_extract_dir("app", "/system/app");
set_progress(0.600000);
ui_print(" ");
ui_print("Extracting preload app...");
package_extract_dir("preload-app", "/preload/symlink/system/app");
set_progress(0.900000);
ui_print(" ");
ui_print("Creating symlinks...");
symlink("/preload/symlink/system/app/AccuweatherDaemon.apk", "/system/app/AccuweatherDaemon.apk");
symlink("/preload/symlink/system/app/AccuweatherWidget.apk", "/system/app/AccuweatherWidget.apk");
symlink("/preload/symlink/system/app/AccuweatherWidget_Main.apk", "/system/app/AccuweatherWidget_Main.apk");
symlink("/preload/symlink/system/app/AutomationTest_JBUP.apk", "/system/app/AutomationTest_JBUP.apk");
symlink("/preload/symlink/system/app/BasicLiveWallpapers.apk", "/system/app/BasicLiveWallpapers.apk");
symlink("/preload/symlink/system/app/ChocoEUKor.apk", "/system/app/ChocoEUKor.apk");
symlink("/preload/symlink/system/app/ClockPackage.apk", "/system/app/ClockPackage.apk");
symlink("/preload/symlink/system/app/CoolEUKor.apk", "/system/app/CoolEUKor.apk");
symlink("/preload/symlink/system/app/DualClockAnalog.apk", "/system/app/DualClockAnalog.apk");
symlink("/preload/symlink/system/app/FaceLock.apk", "/system/app/FaceLock.apk");
symlink("/preload/symlink/system/app/FactoryTest_CODINA_EUR_OPEN.apk", "/system/app/FactoryTest_CODINA_EUR_OPEN.apk");
symlink("/preload/symlink/system/app/FmmDM.apk", "/system/app/FmmDM.apk");
symlink("/preload/symlink/system/app/FmRadio.apk", "/system/app/FmRadio.apk");
symlink("/preload/symlink/system/app/GMS_Maps.apk", "/system/app/GMS_Maps.apk");
symlink("/preload/symlink/system/app/GoogleTTS.apk", "/system/app/GoogleTTS.apk");
symlink("/preload/symlink/system/app/kieswifi.apk", "/system/app/kieswifi.apk");
symlink("/preload/symlink/system/app/MobilePrint.apk", "/system/app/MobilePrint.apk");
symlink("/preload/symlink/system/app/MusicHub_20_store.apk", "/system/app/MusicHub_20_store.apk");
symlink("/preload/symlink/system/app/MusicPlayer.apk", "/system/app/MusicPlayer.apk");
symlink("/preload/symlink/system/app/PlusOne.apk", "/system/app/PlusOne.apk");
symlink("/preload/symlink/system/app/PolarisViewer.apk", "/system/app/PolarisViewer.apk");
symlink("/preload/symlink/system/app/RoseEUKor.apk", "/system/app/RoseEUKor.apk");
symlink("/preload/symlink/system/app/SamsungTTS.apk", "/system/app/SamsungTTS.apk");
symlink("/preload/symlink/system/app/SecBrowser.apk", "/system/app/SecBrowser.apk");
symlink("/preload/symlink/system/app/SecCalendar.apk", "/system/app/SecCalendar.apk");
symlink("/preload/symlink/system/app/SecCalendarProvider.apk", "/system/app/SecCalendarProvider.apk");
symlink("/preload/symlink/system/app/SecContacts.apk", "/system/app/SecContacts.apk");
symlink("/preload/symlink/system/app/SecContactsProvider.apk", "/system/app/SecContactsProvider.apk");
symlink("/preload/symlink/system/app/SecEmail.apk", "/system/app/SecEmail.apk");
symlink("/preload/symlink/system/app/SecExchange.apk", "/system/app/SecExchange.apk");
symlink("/preload/symlink/system/app/SecMms.apk", "/system/app/SecMms.apk");
symlink("/preload/symlink/system/app/SimpleAlarmClock.apk", "/system/app/SimpleAlarmClock.apk");
symlink("/preload/symlink/system/app/SlideShow.apk", "/system/app/SlideShow.apk");
symlink("/preload/symlink/system/app/Street.apk", "/system/app/Street.apk");
symlink("/preload/symlink/system/app/talkback.apk", "/system/app/talkback.apk");
symlink("/preload/symlink/system/app/TMemo.apk", "/system/app/TMemo.apk");
symlink("/preload/symlink/system/app/VideoPlayer.apk", "/system/app/VideoPlayer.apk");
symlink("/preload/symlink/system/app/VoiceRecorder.apk", "/system/app/VoiceRecorder.apk");
symlink("/preload/symlink/system/app/voice_talk_U1.apk", "/system/app/voice_talk_U1.apk");
symlink("/preload/symlink/system/app/YahoonewsDaemon.apk", "/system/app/YahoonewsDaemon.apk");
symlink("/preload/symlink/system/app/YahoonewsWidget.apk", "/system/app/YahoonewsWidget.apk");
symlink("/preload/symlink/system/app/YahoostockDaemon.apk", "/system/app/YahoostockDaemon.apk");
symlink("/preload/symlink/system/app/YahoostockWidget.apk", "/system/app/YahoostockWidget.apk");
symlink("/preload/symlink/system/app/YouTube.apk", "/system/app/YouTube.apk");
set_progress(1.000000);
ui_print(" ");
Sorry for poor english.

Good work mate, just what I needed right now that I have a problem with systemUI and I got no status bar no settings and no wallpaper lawl,

thanks
Sent from my GT-I8160 using Tapatalk 2

Q1: is SecSettings not included in /preload/ ? Because its the reason I can't get any mods to work. Manual pushing, copy-pasting or moving, and flashing results in a bootloop.
Q2: Have you tried this? Is everything working fine. I can't download this right now but I want to make sure.
Good Work. :good:
OT: BTW, can anyone try out the mods I made?

Q1: is SecSettings not included in /preload/ ? Because its the reason I can't get any mods to work. Manual pushing, copy-pasting or moving, and flashing results in a bootloop.<br />
Q2: Have you tried this? Is everything working fine. I can't download this right now but I want to make sure. <br />
<br />
Good Work. :good:<br />
<br />
OT: BTW, can anyone try out the mods I made?
Click to expand...
Click to collapse
Whenever you mod apks and push them, you have to update the symlinks..
I do not respond to tech support via PM

Lawl im confused
Is this a custom rom or the deodexed version of the official 4.1.2 fw?

Fzee said:
Lawl im confused
Is this a custom rom or the deodexed version of the official 4.1.2 fw?
Click to expand...
Click to collapse
deodexed version of the official 4.1.2 fw

Fzee said:
Lawl im confused
Is this a custom rom or the deodexed version of the official 4.1.2 fw?
Click to expand...
Click to collapse
First line
"Hi, I made dodexed Jelly Bean ROM (XXMB2 leaked version)"

Nice touch with the batch script. BTW, I have already deodexed it can you upload your META-INF?
Here's my output:
Code:
symlink("/preload/symlink/system/app/AccuweatherDaemon.apk", "/system/app/AccuweatherDaemon.apk");
symlink("/preload/symlink/system/app/AccuweatherWidget.apk", "/system/app/AccuweatherWidget.apk");
symlink("/preload/symlink/system/app/AccuweatherWidget_Main.apk", "/system/app/AccuweatherWidget_Main.apk");
symlink("/preload/symlink/system/app/BasicLiveWallpapers.apk", "/system/app/BasicLiveWallpapers.apk");
symlink("/preload/symlink/system/app/ClockPackage.apk", "/system/app/ClockPackage.apk");
symlink("/preload/symlink/system/app/DualClockAnalog.apk", "/system/app/DualClockAnalog.apk");
symlink("/preload/symlink/system/app/FactoryTest_CODINA_EUR_OPEN.apk", "/system/app/FactoryTest_CODINA_EUR_OPEN.apk");
symlink("/preload/symlink/system/app/FmmDM.apk", "/system/app/FmmDM.apk");
symlink("/preload/symlink/system/app/FmRadio.apk", "/system/app/FmRadio.apk");
symlink("/preload/symlink/system/app/kieswifi.apk", "/system/app/kieswifi.apk");
symlink("/preload/symlink/system/app/MusicPlayer.apk", "/system/app/MusicPlayer.apk");
symlink("/preload/symlink/system/app/PickUpTutorial.apk", "/system/app/PickUpTutorial.apk");
symlink("/preload/symlink/system/app/SecBrowser.apk", "/system/app/SecBrowser.apk");
symlink("/preload/symlink/system/app/SecCalendar.apk", "/system/app/SecCalendar.apk");
symlink("/preload/symlink/system/app/SecCalendarProvider.apk", "/system/app/SecCalendarProvider.apk");
symlink("/preload/symlink/system/app/SecContacts.apk", "/system/app/SecContacts.apk");
symlink("/preload/symlink/system/app/SecContactsProvider.apk", "/system/app/SecContactsProvider.apk");
symlink("/preload/symlink/system/app/SecEmail.apk", "/system/app/SecEmail.apk");
symlink("/preload/symlink/system/app/SecExchange.apk", "/system/app/SecExchange.apk");
symlink("/preload/symlink/system/app/SecMms.apk", "/system/app/SecMms.apk");
symlink("/preload/symlink/system/app/SecSettings.apk", "/system/app/SecSettings.apk");
symlink("/preload/symlink/system/app/SecWallpaperChooser.apk", "/system/app/SecWallpaperChooser.apk");
symlink("/preload/symlink/system/app/SimpleAlarmClock.apk", "/system/app/SimpleAlarmClock.apk");
symlink("/preload/symlink/system/app/SlideShow.apk", "/system/app/SlideShow.apk");
symlink("/preload/symlink/system/app/TMemo.apk", "/system/app/TMemo.apk");
symlink("/preload/symlink/system/app/VoiceRecorder.apk", "/system/app/VoiceRecorder.apk");
symlink("/preload/symlink/system/app/YahoonewsDaemon.apk", "/system/app/YahoonewsDaemon.apk");
symlink("/preload/symlink/system/app/YahoonewsWidget.apk", "/system/app/YahoonewsWidget.apk");
symlink("/preload/symlink/system/app/YahoostockDaemon.apk", "/system/app/YahoostockDaemon.apk");
symlink("/preload/symlink/system/app/YahoostockWidget.apk", "/system/app/YahoostockWidget.apk");
These are the apps that i could not deodex

Hi all!
I installed it according to the description. Some widget with an error message. Contacts - is not installed. Dialer - is not installed. Unfortunately, there is still room for improvement. Previous backup restored.

Increasing flash counter?

i cant install any app
Enviado desde mi GT-I8160 usando Tapatalk 2

Can i flash this from GB??

loof13 said:
Can i flash this from GB??
Click to expand...
Click to collapse
You can. If you want to brick your phone.

have anyone try this? any bugs?

Been using for 5 hours and no bugs atm...
Sent from my GT-I8160 using Tapatalk 2

noob question.. is the bluetooth can be fixed in a deodexed rom?

heml0ck said:
noob question.. is the bluetooth can be fixed in a deodexed rom?
Click to expand...
Click to collapse
Nope. That's Samsung's job.

Dr01nE said:
Q1: is SecSettings not included in /preload/ ? Because its the reason I can't get any mods to work. Manual pushing, copy-pasting or moving, and flashing results in a bootloop.
Q2: Have you tried this? Is everything working fine. I can't download this right now but I want to make sure.
Good Work. :good:
OT: BTW, can anyone try out the mods I made?
Click to expand...
Click to collapse
I try multiwindow nad ASOP lockscreen not working ;/
Maybe you try one more time making this mod using my deodex version as a base?
gidano said:
Hi all!
I installed it according to the description. Some widget with an error message. Contacts - is not installed. Dialer - is not installed. Unfortunately, there is still room for improvement. Previous backup restored.
Click to expand...
Click to collapse
All install this ROM multiple times with/without factory reset etc. and all basic apps working (dialer, contacst, market, widget, sms etc.).
Try again and do not forget mount preload.
dzumper said:
Increasing flash counter?
Click to expand...
Click to collapse
No all mod installing by CWM don't do that.

Eselter said:
I try multiwindow nad ASOP lockscreen not working ;/
Maybe you try one more time making this mod using my deodex version as a base?
Click to expand...
Click to collapse
Did you check Settings? There's supposed to be options to enable/disable the mods there.
If it still won't work, I will try and use your ROM as base. Also, do not flash AOSP and Multi in one device, (example, you flashed AOSP then Multi)
The mods wouldn't work as they have different android.policy.jar
EDIT: What happens after flashing? FCs? or just nothing?
I don't know how it works on our phone but I think we can try this
http://www.samsung.com/us/support/s...ide_seq=8829&prd_ia_cd=N0000004&map_seq=62396

Related

{FIXED!} WeatherWidget.apk from Xperia Sola works on ICS 4.0.3

Hi guys! I fixed the WeatherWidget.apk from Xperia Sola, he now works on ICS!
Install: move to system/app with the permissions rw-r--r--, reboot, enjoy!
P.S. works only on Home.apk from Xperia S
muzontnt said:
Hi guys! I corrected the WeatherWidget.apk from Xperia Sola, he now works on ICS!
Install: move to system/app with the permissions rw-r--r--, reboot, enjoy!
P.S. works only on Home.apk from Xperia S
Click to expand...
Click to collapse
dude bad news.. I installed it correctly on my neo ICS restarted... and when I go add widget, go down to the bottom find weather widget tap on it and nothing happens!? what else do I have to install???
EDIT: My bad.. I didn't see that it works only on xperia S launcher... sorry
Thanks for your work!
I guess you need widget picker.apk to select the weather winget
Thank you been looking and asking for this for awhile, could you make it transparent.?
Sent from my LT18i using xda premium
can use on Mooded80.5 rom??
link for xperia s home to work with this
Can anyone provided a link for working xperia s home that works with this mod?
Thanks in advance
Metallijim said:
Can anyone provided a link for working xperia s home that works with this mod?
Thanks in advance
Click to expand...
Click to collapse
i have this home.apk from xperia s and it works,
5 screens, 5x4 apptray, no rotation and corners.
here the link:
http://www.mediafire.com/?ovqnzh59aqcm0u6
install with root explorer then reboot and then go to settings/apps
go to all and search xperia home then clear the data of it.
Thanks, worked a charm
Metallijim said:
Thanks, worked a charm
Click to expand...
Click to collapse
dont say thanks but press and you`re welcome man
I can't give the permissions for some reason! :S Weird!
Sent from my LT18i using XDA
FAdrums said:
I can't give the permissions for some reason! :S Weird!
Sent from my LT18i using XDA
Click to expand...
Click to collapse
get a cwm flashable zip file,delete every app in it
include home,weather apk's to system/app folder
extract update-script in META-INF\com\google\android to desktop
rename it to update-script.txt
open in notepad
find these lines
Code:
ui_print(" Mounting SYSTEM...");
mount("MTD", "system", "/system");
ui_print(" Copy files to SYSTEM...");
package_extract_dir("system", "/system");
add this line after these lines in update-script
Code:
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
save and exit,remove .txt extension
delete update-script in rar and add the new update-script to rar
flash it via cwm
ThilinaC said:
get a cwm flashable zip file,delete every app in it
include home,weather apk's to system/app folder
extract update-script in META-INF\com\google\android to desktop
rename it to update-script.txt
open in notepad
find these lines
Code:
ui_print(" Mounting SYSTEM...");
mount("MTD", "system", "/system");
ui_print(" Copy files to SYSTEM...");
package_extract_dir("system", "/system");
add this line after these lines in update-script
Code:
set_perm_recursive(0, 0, 0755, 0644, "/system/app");
save and exit,remove .txt extension
delete update-script in rar and add the new update-script to rar
flash it via cwm
Click to expand...
Click to collapse
Errr... Thanks for the tutorial bro but that's too advanced for me!
Sent from my LT18i using XDA
Yeah, very thanks!
Enviado desde mi Xperia arc s con Tapatalk 2.
Mooded ICS 80.5B, 1GB Swap, doomkernel v5, frec 1.6ghz.
Does this work on MIUI rom?
Thanks... work great
Are you able to get this to work on ics 4.0.4 build .431 I have tried many times and when I click I get need widgetpicker.apk to run error.
When I try on other stock launcher it does not run.
Sent from my LT15i using xda premium
zolaisugly said:
Are you able to get this to work on ics 4.0.4 build .431 I have tried many times and when I click I get need widgetpicker.apk to run error.
When I try on other stock launcher it does not run.
Sent from my LT15i using xda premium
Click to expand...
Click to collapse
Installed Home.apk & widgetpicker.apk from Xperia S
muzontnt said:
Installed Home.apk & widgetpicker.apk from Xperia S
Click to expand...
Click to collapse
I would but cant find them.....any links or attachments.
Sent from my LT15i using xda premium
nice great

[Solved]Adding apps option to aroma

Please anyone I am a noob at adding options of apps in aroma so please can someone tell me how to add options of apps and other stuff so that people can choose what they want
Sent from my SK17i using xda premium
Here..
dragonhustler said:
Please anyone I am a noob at adding options of apps in aroma so please can someone tell me how to add options of apps and other stuff so that people can choose what they want
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
Here, read this - http://forum.xda-developers.com/showthread.php?t=1461712
The posts below give a detailed description for Rom Chefs on how to use and configure Aroma Installer. Good luck:good:
Re: [Q]Adding apps option to aroma
Thanks I think I got something now
Btw do I have to edit the updater script just to make the function I edited in aroma configuration work?
Sent from my SK17i using xda premium
Yes
dragonhustler said:
Thanks I think I got something now
Btw do I have to edit the updater script just to make the function I edited in aroma configuration work?
Sent from my SK17i using xda premium
Click to expand...
Click to collapse
Yes. Once you add a checkbox function, the choice of the user will be stored in a temporary file. Then, in the normal updater-script you have to insert some if statements. For example : - This is a patch for all the Xperia 2011 MDPI
# Mini
if
file_getprop("/tmp/aroma-data/device.prop","selected.0") == "1"
then
ui_print("@ Installing Mini files");
package_extract_dir("mini/system", "/system");
endif;
# Mini Pro
if
file_getprop("/tmp/aroma-data/device.prop","selected.0") == "2"
then
ui_print("@ Installing Mini Pro files");
package_extract_dir("minipro/system", "/system");
endif;
# LwW
if
file_getprop("/tmp/aroma-data/device.prop","selected.0") == "3"
then
ui_print("@ Installing LwW files");
package_extract_dir("lww/system", "/system");
endif;
# Active
if
file_getprop("/tmp/aroma-data/device.prop","selected.0") == "4"
then
ui_print("@ Installing Active files");
package_extract_dir("active/system", "/system");
endif;
Re: [Q]Adding apps option to aroma
Ah ok thanks for helping i think i understand now
Re: [Q]Adding apps option to aroma
All the semicolons with brackets actually became the emoticon!
Sent from my LT26i using xda app-developers app

[UPDATE 3][MOD] Galaxy "S4"launcher And Widget For Xperia MDPI

Proudly Presenting The most Awaited Launcher for Xperia MDPI's
Galaxy S4 Nature UX launcher optimized for MDPI devices .. it is, we have something for all Android users. They will be glad to know that the couple of weeks ago the Galaxy S4’s system dump was leaked ..!!
Galaxy S4 Transparent Weather
http://d-h.st/tr3
Galaxy S4 Weather Widget CM10 & CM10.1
http://d-h.st/21s
TouchWiz UX:
S4 Launcher [For MDPI Phones]
http://d-h.st/Y5S
Method of Installation:
Just download the respective file according phones specification, don’t extract them and just place them into the root directory of your phone’s SD Card. You must also know that the weather widget will only work on your device if you have installed the TW launcher as well.
Step 1: First of all, create a Nandroid backup of your existing ROM so that you are on the safe side.
Step 2: Next, clear the Dalvik cache by going to the “wipe Dalvik cache”.
Step 3: flash touchWiz widget
Step 3: Now, from the main recovery menu, select “install zip from sdcard” then select “choose zip from sdcard” and then select the zip file.
Step 4: When the installation completes, just reboot your phone
As soon as the phone boots up, press the Home button on your phone to launch the TouchWiz launcher.
FLASH NEW UPDATE 3 Plz report IF it is WORKING ..?? -- i will add more s4 Apps if this launcher is working ..
​
Click to expand...
Click to collapse
​
I AM NOT RESPONSIBLE FOR ANY BRICKING OF THE DEVICE
ALL CREDITS TO Linq’z QIrls’z Chinese And officiallySonyrebel for fixing issues for our devices...!!
A THANKS FOR A GREAT WORK
Null VoiD
any screenshots mate?
gihan798114 said:
any screenshots mate?
Click to expand...
Click to collapse
oops forgot that uploading in a Bit ..
!!
Status 7 on flash
When i flash the S4 Launcher zip i get a status 7 after install ( no changes ). The model number looks like it does not match ours ( gives me a GT-S7500 ). Perhaps there is a problem with the updater-script?
Great release bro... gonna try it... Thanks!!! :good:
screenshot ?!
Where is the screeen shot ?!
status 7 error!
status 7 error
Thanks for this mate gonna try it
Even tried pushing two home with some another app named badege to system apps and changed the permissions!
BTW is it compatible with cm10.1?
Update 2
update 2 fixing all isues related to installation
only for CM 9,10,10.1 - AOKP
I've tried this & not working on Iced Bean 3.4 ROM
Read the post before your post and you will know why it's not working for you...
Iced Bean is based on stock ICS.
Sent from my WT19i using Tapatalk.
I flashed all 3 via TWRP.I can't see the launcher.
Help me.I'm running CM10 in my xperia mini pro.
Install success
but i don't see the launcher , how to fix it? (using CM10 JB4.1.2)
plz flash update 3 and tell if it is working or not ..?? i will add more s4 apps if launcher working
Null VoiD said:
plz flash update 3 and tell if it is working or not ..?? i will add more s4 apps if launcher working
Click to expand...
Click to collapse
updater-script update 3
Code:
assert(getprop("ro.product.device") == "trebon" || getprop("ro.build.product") == "trebon" || getprop("ro.product.board") == "GT-S7500" || getprop("ro.product.model") == "GT-S7500");
ui_print("Mounting /system partition..");
mount("ext4", "EMMC", "/dev/block/mmcblk0p16", "/system");
ui_print("Please wait..");
ui_print("Installing Touchwiz 5.0 Launcher..");
package_extract_dir("system", "/system");
unmount("/system");
ui_print("Done.");
will show error 7 again i think. cmiiw:good:
ERROR 7 when flashing the update 3
Sparksys said:
ERROR 7 when flashing the update 3
Click to expand...
Click to collapse
change your updater-script with this, trus me it's work
thanks for share this launcher work now:fingers-crossed:
Code:
ui_print("Mounting system");
run_program("/sbin/busybox", "mount", "/system");
ui_print("Installing files");
package_extract_dir("system", "/system");
run_program("/sbin/busybox", "umount", "/system");
ui_print("All done!");
edit: weather widget works too
tonnitube said:
change your updater-script with this, trus me it's work
thanks for share this launcher work now:fingers-crossed:
Code:
ui_print("Mounting system");
run_program("/sbin/busybox", "mount", "/system");
ui_print("Installing files");
package_extract_dir("system", "/system");
run_program("/sbin/busybox", "umount", "/system");
ui_print("All done!")
edit: weather widget works too
Click to expand...
Click to collapse
I use your script , error status 6

[Q] how to add user removable apps in custom rom

i am making a custom rom.it is my 1st time.i want to add some application which users can simply uninstall normally ...but putting application on system > app folder it makes it system application and user needs to use titanium backup or other application to remove it..so how to add application in the rom which user can remove without any 3rd party application?
Will adding it in it in data-apps work?
Regards
-N
You could use aroma installer for the installation and make them optional. So the people can choose wheter they want the apps or not
tanvir108115 said:
i am making a custom rom.it is my 1st time.i want to add some application which users can simply uninstall normally ...but putting application on system > app folder it makes it system application and user needs to use titanium backup or other application to remove it..so how to add application in the rom which user can remove without any 3rd party application?
Click to expand...
Click to collapse
Along with the system folder, create a folder called "data" (no quotes). Inside that make another folder called "app". Place all apks that you want in app. Then add these lines to the updater-script -
Code:
mount("yaffs2", "MTD", "userdata", "/data");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
unmount("/data");
mihahn said:
You could use aroma installer for the installation and make them optional. So the people can choose wheter they want the apps or not
Click to expand...
Click to collapse
don't know the way to add aroma installer in custom rom flashable zip..can you tell me the way?
tanvir108115 said:
don't know the way to add aroma installer in custom rom flashable zip..can you tell me the way?
Click to expand...
Click to collapse
Happy learning. ...
XperienceD said:
Development:
[Tutorial] How To Logcat
15 Apps for Programming on Android
[Guide]Complete Android ROM development and essential tutorials ~~ By Nero Young ~~
Android - Chef Central
dsixda's Android Kitchen
(GUIDE) How to port ROMS!
[Tutorial] How to build a ROM?
[TOOL]Aroma App Package Creator v1.1
APP][DEV] Update me [ROM MAKER] - 2.0.3 - PUSH NOTIFICATION
How to build a Linux kernel and flash it to the phone
[GUIDE] [Xperia P/S] How to unpack/pack the Sony 2012 kernels
[DEV TOOLS] - Pack & Repack Boot.img Files - for Windows USERS
[GUIDE] How to make your regional firmware an .FTF file
[Guide] How make a FTF of stock firmware from SUS files
[GUIDE]How to make a rooted flashable rom from ftf file[FOR ALL XPERIA PHONES]
[tutorial] | how to extract system.sin
[tutorial] step by step method to extract ftf file from ics [ics]
[Tool] Yaffey - Utility for reading, editing and writing YAFFS2 images
[TUT]Make Your Own Vanilla IceCream Rom [Custom Rom][Lightweight,Smooth&cool]
[DEV + HOWTO] KangXperiaProject - AOKP for Xperia (tutorial to compile from source)
Click to expand...
Click to collapse

[RECOVERY][UNOFFICIAL]TeamWin Recovery Project 3.0.0.0 (TWRP)

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/
Team Win Recovery Project (TWRP), is an open-source software custom recovery image for Android-based devices. It provides a touchscreen-enabled interface which allows users to install third-party firmware and backup the current system, which are often unsupported by stock recovery images.
Screenshots
Under screenshots tab
Installation
Pick your build type, i.e recovery flashable or Odin flashable.
If recovery flashable, simply put the zip in phone, and flash it from an existing working recovery.
If Odin flashable, go to download mode, connect to PC, run Odin, select 'PDA', select the twrp tar.md5, flash it.
Enjoy.
Walkthrough
Since our device resolution is low, TWRP does not fit into the screen, hence there is a button with arrow key (left/right), which indicates that there is another section of the page, pressing that button takes you to the other section.
Downloads
Redirect
Device Specific Source
All device specific source can be found in TeamButter repo.
Credits
@Dreamstar
@andii_nr
@psych.half
TWRP
XDA:DevDB Information
TWRP 3.0.0.0, Tool/Utility for the Samsung Galaxy Star
Contributors
corphish
Source Code: https://github.com/TeamWin/Team-Win-Recovery-Project
Version Information
Status: Beta
Created 2016-02-13
Last Updated 2016-05-25
Reserved
Changelog
20160217
Removed deprecated INJECT_TWRP flag
Updated fstab.
Backup to External Storage should work.
20160213
Initial release
nice .. twrp3 released :')
Is it possible to flash cm 11 with twrp 3.0
holey freakin moley.
Too much development for this little *** in a small time.
Thank u guys
---------- Post added at 10:04 PM ---------- Previous post was at 10:04 PM ----------
dabakale said:
Is it possible to flash cm 11 with twrp 3.0
Click to expand...
Click to collapse
yeah.
why not?
dabakale said:
Is it possible to flash cm 11 with twrp 3.0
Click to expand...
Click to collapse
Yeah, I myself tested it
@corphish
Nice job. Btw did MTP working? If then, how did you fix it?
doesntexits said:
@corphish
Nice job. Btw did MTP working? If then, how did you fix it?
Click to expand...
Click to collapse
Yeah its working.
There is no reason for it to be broken though.
UMS_LUN_FILE flag needs to be set in BoardConfig and the USB MTP must be working in the system with the kernel you are using.
For us, USB MTP was broken, it would be fixed by a small change in kernel.
Probably you are using stock kernel.
Thank you bro
corphish said:
Yeah its working.
There is no reason for it to be broken though.
UMS_LUN_FILE flag needs to be set in BoardConfig and the USB MTP must be working in the system with the kernel you are using.
For us, USB MTP was broken, it would be fixed by a small change in kernel.
Probably you are using stock kernel.
Click to expand...
Click to collapse
Well, we use stock kernel with one single change: Samsung MTP disabled, because it's incompatible with CM.
 @cleverior.ipul go here bro
_/|\_ um @cleverior.ipul
Really nice to see that you and some other devs are still working so hard for star, keep up !!
Alright new recoveries.. sweet
So it's my turn to bring something new to the table now..
Speaking of recoveries, can anyone check the updater-script? And how the hell do I mount system...
Code:
ui_print("Unpacking files.");
package_extract_file("modules", "/tmp/modules");
package_extract_file("module_setup.sh", "/tmp/ module_setup.sh");
ui_print("Setting up ,,");
ui_print("If this part fails, restore backup before reboot.");
set_perm(0, 0, 0755, "/tmp/module_setup.sh ");
assert(run_program("/tmp/module_setup.sh") == 0);
ui_print("Flashing the kernel");
package_extract_file("boot.img", "/dev/block/mmcblk0p5");
ui_print("Done. ");
@corphish I messed up the frequency stats, as soon as I fix that I'm pushing it.. And it can only be built as module. so you have to insmod it at init.*.rc
And do check the documentation and warni gs in source, before integrating it into CM.
psych.half said:
Alright new recoveries.. sweet
So it's my turn to bring something new to the table now..
Speaking of recoveries, can anyone check the updater-script? And how the hell do I mount system...
Code:
ui_print("Unpacking files.");
package_extract_file("modules", "/tmp/modules");
package_extract_file("module_setup.sh", "/tmp/ module_setup.sh");
ui_print("Setting up ,,");
ui_print("If this part fails, restore backup before reboot.");
set_perm(0, 0, 0755, "/tmp/module_setup.sh ");
assert(run_program("/tmp/module_setup.sh") == 0);
ui_print("Flashing the kernel");
package_extract_file("boot.img", "/dev/block/mmcblk0p5");
ui_print("Done. ");
@corphish I messed up the frequency stats, as soon as I fix that I'm pushing it.. And it can only be built as module. so you have to insmod it at init.*.rc
And do check the documentation and warni gs in source, before integrating it into CM.
Click to expand...
Click to collapse
try this
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p21", "/system");
package_extract_dir("system", "/system");
doesntexits said:
Well, we use stock kernel with one single change: Samsung MTP disabled, because it's incompatible with CM.
@cleverior.ipul go here bro
Click to expand...
Click to collapse
thanks bro. now MTP is working like a charm on linux. but in windows 10, MTP isnt detected. only usb icon that appear.
andii_nr said:
try this
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p21", "/system");
package_extract_dir("system", "/system");
Click to expand...
Click to collapse
Copy and paste.
Oh yeah, I forgot I'm using the old ramdisk from beta 2. Too lazy to extract them..
Can you post your just the modified ramdisk, I'll use that in the kernrel.
Thanks again.
psych.half said:
Copy and paste.
Oh yeah, I forgot I'm using the old ramdisk from beta 2. Too lazy to extract them..
Can you post your just the modified ramdisk, I'll use that in the kernrel.
Thanks again.
Click to expand...
Click to collapse
only ramdisk I modified ?
psych.half said:
Copy and paste.
Oh yeah, I forgot I'm using the old ramdisk from beta 2. Too lazy to extract them..
Can you post your just the modified ramdisk, I'll use that in the kernrel.
Thanks again.
Click to expand...
Click to collapse
Here you go
@corphish this can't backup to extsdcard ?
@corphish
I had to extract it anyway.. https://github.com/mint2g/kernel_ramdisk/commits/cm-11
By the way why do we have inject TWRP. Afaik it's for devices with no seperate recovery partition. I will created an PR , for that and external sd.. but I can't test it... so
And about the kernel I couln't get hold of this updater-script, so I rolled my own., https://github.com/mint2g/kernel_flashzip
So it's gonna take some time..

Categories

Resources