Enable MUTE option in MIUI ROM - Defy Q&A, Help & Troubleshooting

Hey Guys,
I am using WIUI GB since..very fast and Good Looking ROM,
But only issue is there i can not turn on MUTE option in call
so i have tried all MIUI option but no solution,
i have just checked phone.apk from miui ROM via 7 zip,checked xml files
its saying
turnover_mute_
Click to expand...
Click to collapse
can someone help me on this..how to enable mute in voice call?
Thanks

Anands3 said:
Hey Guys,
I am using WIUI GB since..very fast and Good Looking ROM,
But only issue is there i can not turn on MUTE option in call
so i have tried all MIUI option but no solution,
i have just checked phone.apk from miui ROM via 7 zip,checked xml files
its saying
can someone help me on this..how to enable mute in voice call?
Thanks
Click to expand...
Click to collapse
+1 I have the same issue. When I select mute I get the icon in the status bar but the call doesn't go to mute and other party can hear what ever I can speak.

May be some DEV Help us who can edit apk or xml files
i am sure then mute function will work

hope it helps,
best regards.
yo000

yo000 said:
hope it helps,
best regards.
yo000
Click to expand...
Click to collapse
Actually I dont have PC knowledge i can do only Basic things,
May b this catlog can help any Dev to understand whats wrong here & Why Mute is not working..
Hey DEV please help us
Sent from my MB525 using xda app-developers app

Anands3 said:
Actually I dont have PC knowledge i can do only Basic things,
May b this catlog can help any Dev to understand whats wrong here & Why Mute is not working..
Hey DEV please help us
Sent from my MB525 using xda app-developers app
Click to expand...
Click to collapse
Any one???
Sent from my MB525 using xda app-developers app

Moved to Q&A. Please ask all questions there.

Looking forward for a working Mute Button
I am not a developer but thought will try to digg into this issue as I wanted to move back to MIUIv4 based ROM. Below is my finding which I felt may help developers to pick it up
PhoneUtils.smali of CM7.2
.method private static setMuteInternal(Lcom/android/internal/telephony/Phone;Z)V
.locals 5
.parameter "phone"
.parameter "muted"
.prologue"
PhoneUtils.smali of Pikachu MIUIv4
.method private static setMuteInternal(Lcom/android/internal/telephony/Phone;Z)V
.locals 2
.parameter
.parameter
.prologue
I found few more locations in the file without the word muted in the MIUI smali. I am not even a NOOB on SMALI stuff so looking forward for someone to help here.
EDIT: I tried adding "Phone" and "Muted" parameters but no effect. I think we need to find out the reason for "Error connection: Permission denied" as posted by yo000. Logcat throws the same errors whenever Mute function is engaged.

I m currently on Pikachu Miui That running Great, Best Battery Life,
Every thing works Great But only having mute problem
Sent from my MB525 using xda app-developers app

Found something else today
1. " init: sys_prop: permission denied uid:1000 name:ro.auto_time.startup_synced " error in dmesg every time I try Mute/Unmute -- Does anyone know what is this and how to fix it?
2. Below lines where missing in /system/etc/permissions/permissions.xml file. But no difference even after adding them
" <permission name="android.permission.RAW_AUDIO" >
<group gid="audio" /> "

Finally Working Mute on Defy with MIUI 2.4.20 GB
Finally Mute is working on my Wajk MIUI GB ROM for Defy+.
Replace the libaudio.so file with the attached one and set permission as rw-r--r--.
Thru ADB
Code:
adb push libaudio.so /system/lib
adb shell
su
chmod 644 /system/lib/libaudio.so
ls -l /system/lib/libaudio.so
Above command should display below output.
-rw-r--r-- 1 root root 177624 Feb 29 2008 libaudio.so
Reboot.
The attached libaudio.so is from CM7.2.
The only bug with my MIUI is gone now

thank you for the great info, i want to share my findings. maybe already known, but anyway.
off topic, you can make torch stay on in miui when lockscreen is active, just press power button immediately during the seconds led is on after pressing home, to turn off press again power button then home, works every time in miui spain 2.3.7c mb525/red. maybe works in Pikachu and other flavors.
best regards.
Pio.

Related

[Workaround] XDA/Tapatalk App - JIT (Updated 06/22/10)

After reading many posts about not being able to the XDA App with JIT enabled… I decided to post this…
Here’s something I happened to “stumble” upon while playing around with ROMs with JIT-enabled. Hopefully this will help some others enjoy the XDA/Tapatalk App from their phones with JIT-enabled
I have done this on two (2) Cyanogen based ROMs (CELB2.4 and CE1.1). Both had JIT enabled by default.
In any case, I love being able to use the XDA App from my phone to feed my addiction However, I also enjoy having JIT and the goodness that comes along with it! So… I was playing with CELB2.4 and testing some battery life. After disabling JIT, I instantly started up XDA (as I was unable to use due to FC’s with JIT enabled). I logged in and browsed around. However, disabling JIT had no effect on my battery life, so I decided to re-enable. Later, without thinking, I started up XDA and browsed around some more. It didn’t hit me until a few minutes later that JIT was enabled and I was able to use XDA.
In any case, I loaded up a NAND of CE1.1 and did the same thing, with the same result. XDA app worked perfectly… and I’m still getting over 5.3 mflops
I think there are other apps that have issues with JIT, however, I personally don’t use them. Hope this helps others! Would love to know what ROMs this “trick” works with, and/or which it doesn’t.
------------------------------------------------------------------------------------
I highly recommend doing a NAND backup before doing anything. It's just good practice!
There are a few methods to enable/disable JIT... here's what I did (using a Windows machine):
Disable JIT via adb:
adb remount
abd pull /system/build.prop build.prop
Open build.prop in Notepad/Wordpad or favorite text editor (file will be in the working directory)
find the line:
dalvik.vm.execution-mode=int:jit
replace with:
dalvik.vm.execution-mode=int:fast
SAVE
adb push build.prop /system/
Reboot Phone
------------------------------------------------------------------------------------
After disabling JIT, reboot, open up XDA App, login and browse around (as a side note, I created a favorite to the Eris Forums). Then, close out of XDA App, and then re-enable JIT and reboot.
------------------------------------------------------------------------------------
Enable JIT via adb:
adb remount
abd pull /system/build.prop build.prop
Open build.prop in Notepad/Wordpad or favorite text editor (file will be in working directory)
find the line:
dalvik.vm.execution-mode=int:fast
replace with:
dalvik.vm.execution-mode=int:jit
SAVE
adb push build.prop /system/
Reboot Phone
------------------------------------------------------------------------------------
Alternatively you can also use a program like Root Explorer to find the build.prop file in the /system/ folder and edit/save/reboot.
Again, would love to know the results this has for others!
------------------------------------------------------------------------------------
Thanks to a post from thenestor, it's been discovered that version 0.9 of the XDA/Tapatalk app works just fine with JIT (regardless if an AOSP or other ROM). I'm currently using version 0.9 on xtrROM and it works great. I have attached the zip with the 0.9 apk. It has a "funky" name... and I didn't rename... I simply used Astro to install the apk. works great!
MODS: if for any reason I am NOT allowed to have version 0.9 posted, please let me know, and I will take the attachment down ASAP.
I vote for a toggle app/widget
Root Explorer
It works! Used root explorer...nor really that hard to do. Thanks for sharing your discovery.
didnt work with Aloysius v12. Oh well.
paintguy said:
It works! Used root explorer...nor really that hard to do. Thanks for sharing your discovery.
Click to expand...
Click to collapse
which ROM where you using?
I have not had time to try on my ROM but would love to know if it is a viable work around to try and incorporate...
zach.xtr said:
which ROM where you using?
I have not had time to try on my ROM but would love to know if it is a viable work around to try and incorporate...
Click to expand...
Click to collapse
I was using Eris Lightening Bolt 2.5.
When I loaded the app the first time on my ELB install, it crashed. However, I reloaded it straight away and it worked. I did not disable JIT or do anything else to make it work, just restarted the app. It hasn't crashed since. I have, however, had it sit and spin on "Processing".
Didn't work on latest ErisLightningBolt 1.4.
1. XDA didn't work w/stock config.
2. Changed int:jit to int:fast.
3. Rebooted.
4. XDA worked! Signed in, created some favorites.
5. Changed int:fast back to int:jit.
6. Rebooted.
7. XDA FCs.
I can confirm that it works.
Eris Lightning Bold 2.5
Thanks!
Disable JIT via adb:
adb remount
abd pull /system/build.prop build.prop
------------------------------------------------------------------------------------
Enable JIT via adb:
adb remount
abd pull /system/build.prop build.prop
Open build.prop in Notepad/Wordpad or favorite text editor (file will be in working directory)
find the line:
dalvik.vm.execution-mode=int:fast
replace with:
dalvik.vm.execution-mode=int:jit
SAVE
adb push build.prop /system/
Reboot Phone
------------------------------------------------------------------------------------
Click to expand...
Click to collapse
I'm running CM:E 1.1, and can't seem to find how to disable jit. Framework43's rom. I miss my xda time saver tapatalk. If anyone can help. I would appreciate it, greatly. Thank you much.
Re: [Workaround] XDA/Tapatalk App - JIT
From my testing seem to work only for AOSP based builds. .. must be something in the HTC framework causing interference
-------------------------------------
Sent via the XDA Tapatalk App
zach.xtr said:
From my testing seem to work only for AOSP based builds. .. must be something in the HTC framework causing interference
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Thank you for the response. Ill message framework43 about it to see if he can help me further into this issue of mine.
Confirm Also
I confirm that this worked on CELB v2.5
Turnyface said:
I can confirm that it works.
Eris Lightning Bold 2.5
Thanks!
Click to expand...
Click to collapse
Re: [Workaround] XDA/Tapatalk App - JIT
@zach.xtr
I found out that all I had to do was add the string to build.prop
I followed a POST on "Jcase's Universal JIT Update"
I added these two strings at the bottom of build.prop
dalvik.vm.execution-mode=int:fast
dalvik.vm.heapsize=38m
That fixed the issue with xda tapatalk closing randomly. I still have yet to re-enable "jit" to see if the workaround works.
Thank you for the help and replies.
-------------------------------------
Sent via the XDA Tapatalk App
Edit: I can confirm that the work around does NOT work on CyanogenEris v1.1 (jit enabled)
(Above shows what to add if missing.)
P.S.
It did NOT work for me, can't confirm it overall.
@someone who can help.
How would I go about fixing the market issues?
Can't install apps, I can only push the ones I have backed up.
jetmclean said:
I confirm that this worked on CELB v2.5
Click to expand...
Click to collapse
I can confirm this as well
If you don't want to disable JIT, or if you're on a ROM where disabling and re-enabling doesn't work, just downgrade to "xda-developers app v0.9" (not sure which version of the real Tapatalk) and it works with JIT.
is 0.9 a google apk search?
have a link?
sweet! found it! much like thenestor, i had to find it using some "crafty" methods! lacks some of the "favorites" w/sub-forums... but works VERY nicely with JIT.
thanks for the tip thenestor... good stuff!
if i'm allowed to post 0.9 version, i will gladly do so! (nothing wrong with it, i hope?).
tenzomonk said:
sweet! found it! much like thenestor, i had to find it using some "crafty" methods! lacks some of the "favorites" w/sub-forums... but works VERY nicely with JIT.
thanks for the tip thenestor... good stuff!
if i'm allowed to post 0.9 version, i will gladly do so! (nothing wrong with it, i hope?).
Click to expand...
Click to collapse
Can you share some of the craft involved in finding this? Thanks!!
Cary
Re: [Workaround] XDA/Tapatalk App - JIT
@zach.xtr
I found out that all I had to do was add the string to build.prop
I followed a POST on "Jcase's Universal JIT Update"
I added these two strings at the bottom of build.prop
dalvik.vm.execution-mode=int:fast
dalvik.vm.heapsize=38m
That fixed the issue with xda tapatalk closing randomly. I still have yet to re-enable "jit" to see if the workaround works.
Thank you for the help and replies.
-------------------------------------
Sent via the XDA Tapatalk App
Edit: I can confirm that the work around does NOT work on CyanogenEris v1.1 (jit enabled)
(Above shows what to add if missing.)
P.S.
It did NOT work for me, can't confirm it overall.
@someone who can help.
How would I go about fixing the market issues?
Can't install apps, I can only push the ones I have backed up.
Click to expand...
Click to collapse
Thanks for this! I can confirm it works on white widow 3.2. I play toss it quite a bit so downgrading xda wasn't a
complete fix for me.
-------------------------------------
Sent via the XDA Tapatalk App

Dzo's Aurora ICS for u8800 - General Discussion

Use this to ask about your problems with this roms, apps that don't work, battery problems, wifi problems... anything that's not related directly to development
For better understanding, please state:
kernel version
aurora version
which wipes used
come from another rom?
IMEI / MAC address status
Helping is easier when we know what you did to your phone.
Hope everyone gets your problems solved.
Things to do / not to do:
To do:
This rom comes with all setup
You can erase system apps that you don't need for example.
To change CPU clocks, governor & I/O scheduler, use 3rd apps available @ Google Play
Not to do:
-Changing device ID through build.prop will result in broken camera.
MODS:
Boot Animation
[MOD][Bootanimation]Energy BIOS Boot Animation for U8800
[bootanimation]tweaked ics
[BOOTANIMATION] Bootanimation for dzo's Aurora ICS - 1/3/2012
[BOOTANIMATION]Official CM9
Battery Indicator
[MOD] Battery Percentage Icons for ICS 4.0.3
[MOD] Honeycomb Battery Icons for Aurora
[MOD][THEME]U8800 Circular Battery Percentage for DZO Aurora ICS 2.02
Keyboard
ICS Stock MULTILINGUAL Keyboard
Wireless tweak
May improve your wireless speed
Older wpa_supplicant. Use this if you've troubles connecting to some AP
Mobile Network
For Saunalahti users (and possible others in similar situation, roaming problems)
List of bugs/issues and possible correction:
-Kernel .35.7
NOT LISTED
-Kernel 3.0.8
Gameboid, GBCoid Gensoid and all those based Emulators have A & B Buttons overlaped.
Only workaround is assign capacitive buttons to those A & B buttons.​
May have some troubles connecting to Wifi networks
use link provided at 1st post for wpa supplicant​
-Common:
Thumbnails with green/purple line from taken pictures
Wifi not working. invalid MAC Address
Override MAC Address:
-Install Terminal Emulator from Market.(with data or via PC)
-Run terminal and enter these commands: (where is "11:22:33:44:55:66" you should place your original mac address)
su
setprop persist.sys.wifimac mac_param=11:22:33:44:55:66​
Distorted sound about 70% of max volume
edit this line on build.prop:
lpa.decode=true to lpa.decode=false​
Android Market/Play crashes.
Well in that case:
AURORA 2.04
Kernel version: 2.6.35.7
Modifications:None
Full wipe:Yes
Bug: Can't access Android Market, just created a second gmail account and nothing. Alfer installing the room already cleared the app data, and done al the wipes in recovery.
Market always worked on 2.02, 2.03 test and in the first days on 2.04.
IMEI ok.
IP unavailable
Serial Number unavailable
MAC Wi Fi unavailable
Serial Number unknown
Thank's
It seems that you have an invalid Mac address. try fix permissions with CWM.
if does not work, override mac address doing this:
-Install Terminal Emulator from Market.(with data or via PC)
-Run terminal and enter these commands and where is "11:22:33:44:55:66" you should place your original mac address(you can see your mac address printed on a sticker under the battery.)
su
setprop persist.sys.wifimac mac_param=11:22:33:44:55:66
reboot and proof it
Aurora 2.0.4
Kernel:3.0.8
Wipes:all
Bug:camera!!!the first foto is always ok.all the others no "a half foto green",sometimes like a puzzle!!!
Sorry for my poor engklish
Sent from my U8800 using Tapatalk 2 Beta-5
Loureiro said:
It seems that you have an invalid Mac address. try fix permissions with CWM.
if does not work, override mac address doing this:
-Install Terminal Emulator from Market.(with data or via PC)
-Run terminal and enter these commands and where is "11:22:33:44:55:66" you should place your original mac address(you can see your mac address printed on a sticker under the battery.)
su
setprop persist.sys.wifimac mac_param=11:22:33:44:55:66
reboot and proof it
Click to expand...
Click to collapse
Ok,
will try this at home.
thank's
giannis.gr said:
Aurora 2.0.4
Kernel:3.0.8
Wipes:all
Bug:camera!!!the first foto is always ok.all the others no "a half foto green",sometimes like a puzzle!!!
Sorry for my poor engklish
Sent from my U8800 using Tapatalk 2 Beta-5
Click to expand...
Click to collapse
the same configuration like yours and vwith the same problems in the picture
Sent from my U8800 using XDA
vlc_marcos said:
the same configuration like yours and vwith the same problems in the picture
Sent from my U8800 using XDA
Click to expand...
Click to collapse
Thumbnails of the pictures are messed up here too
I'm running Aurora 2.04 with 3.0.8 and camera is working good here.only noticed green line(with .35 kernel) and now there's a purple line in each photo, only visible on thumbnails
Can you post a photo?
vlc_marcos said:
the same configuration like yours and vwith the same problems in the picture
Sent from my U8800 using XDA
Click to expand...
Click to collapse
Loureiro said:
I'm running Aurora 2.04 with 3.0.8 and camera is working good here.only noticed green line(with .35 kernel) and now there's a purple line in each photo, only visible on thumbnails
Can you post a photo?
Click to expand...
Click to collapse
Photos are ok, thumbnails are messed up only
Edit: and after 4 consecutive photos camera stacks. You need to exit and re-enter to work properly.
I have this!!!
Sent from my U8800 using Tapatalk 2 Beta-5
Aurora 2.0.4
Kernel:2.6.35.7
Wipes:all
Bug:Audiobook Player 2 not skipping to next track.
When I listen to audiobooks with Audiobook Player 2 it stops playing after every file if nothing else is going on with the phone(screen off). It is enough to press vol buttons or power button, then it starts with next file.
If I leave screen on, charger connected or have any other app in background doing something(for example downloading something with Opera), it skips automatically to the next file like it should.
It is almost as the phone enters some kind of sleep mode so it doesn't change track.
I have used this app with all other roms without problems. I have tried other audiobook players but this is by far the best that is why it is bugging me.
Can someone help? Could someone atleast try if the same thing happen to you? It is a free app.
Link to app: Audiobook Player 2
Edit: This problem has been atleast with last 5-6 versions of Aurora, since the earlier audio skipping track issue, but this is not the same problem.
For fellow Saunalahti users (and possible others in similar situation), here is a modified framework.jar (for Dzo's Aurora ROM versions 2.03_test and 2.04). It makes the phone stop thinking it's roaming when connected to an operator in the same country (operator with the same MCC to be exact). So, no more need to enable data roaming to use it at home network.
The concept is from here, although details differed a bit.
I take no responsibility for anything, and using this might incur costs in some countries (if an operator with the same MCC as your's allows data roaming for extra cost, or if I've f****d up something). With Saunalahti in Finland this works for me, and I did test it with a foreign SIM card and it identified roaming correctly. However, the risk will always be your own if you choose to use this.
giannis.gr said:
I have this!!!
Sent from my U8800 using Tapatalk 2 Beta-5
Click to expand...
Click to collapse
I can confirm the camera issues. It's not always, but sometimes the photos get cropped, greened, pinked, doubled, and happened to me the issue you've reported too.
Using latest aurora and latest kernel (the one with some usb changes).
I'm not sure if this is the proper thread for this question so feel free to delete or move it to the proper place.
I was wondering what the downgrade procedure is. I'd like to go back to one of the official GB roms. Do I just follow the standard procedure as when upgrading an official ROM?
Sent from my U8800 using XDA
Neil_Feris said:
I'm not sure if this is the proper thread for this question so feel free to delete or move it to the proper place.
I was wondering what the downgrade procedure is. I'd like to go back to one of the official GB roms. Do I just follow the standard procedure as when upgrading an official ROM?
Sent from my U8800 using XDA
Click to expand...
Click to collapse
yes, just follow that procedure and you'll be fine
cokratex said:
Aurora 2.0.4
Kernel:2.6.35.7
Wipes:all
Bug:Audiobook Player 2 not skipping to next track.
When I listen to audiobooks with Audiobook Player 2 it stops playing after every file if nothing else is going on with the phone(screen off). It is enough to press vol buttons or power button, then it starts with next file.
...
Edit: This problem has been atleast with last 5-6 versions of Aurora, since the earlier audio skipping track issue, but this is not the same problem.
Click to expand...
Click to collapse
It seems to me some kind of incompatibility with ics. Try to contact audiobook's dev.
giannis.gr said:
I have this!!!
Sent from my U8800 using Tapatalk 2 Beta-5
Click to expand...
Click to collapse
I can confirm this, happens after a few shots. Using 3.0.8
Loureiro said:
It seems to me some kind of incompatibility with ics. Try to contact audiobook's dev.
Click to expand...
Click to collapse
Thank you for answering, I sent him a mail yesterday, maybe he has some idea.
Has anyone else had the same issue?
Aurora 2.0.4
kernel:3.0.8 v2
wipes done in rom instalation: all
wipes done in kernel instalation: cache & dalvik
know bug's so far:
- thumbs in gallery distorted and green in the middle of the image
Loureiro said:
This thread is intended to talk about the well-known ICS ROM for ours u8800 made by Dzo, the Aurora ICS
Use this to ask about your problems with this roms, apps that don't work, battery problems, wifi problems... anything that's not related directly to development
For better understanding, please state:
kernel version
aurora version
which wipes used
come from another rom?
IMEI / MAC address status
Helping is easier when we know what you did to your phone.
Hope everyone gets your problems solved.
Click to expand...
Click to collapse
i am still unable to get my real mac address.... still my wifi is not working...
chochweet said:
i am still unable to get my real mac address.... still my wifi is not working...
Click to expand...
Click to collapse
Which version of Aurora you're using?
Kernel version?
IMEI is ok?
wifi new driver or old driver?
worked on previous versions of Aurora?
BTW, I've updated both 1st posts. Take a look. I'll do my best to keep it updated

Lost vibration Enlighted CM9

I was trying to make an update.zip to enlight CM9 each time I install a new nightly.
Last time I lost vibration in ringtones while aptic feedback works fine.
I can not understand which apk is "guilty" of that.
Any idea?
Code:
delete("/system/app/ADWLauncher.apk");
delete("/system/app/AudioEffectSettings.apk");
delete("/system/app/BasebandSwitcher.apk");
delete("/system/app/Browser.apk");
delete("/system/app/ChromeBookmarksSyncAdapter.apk");
delete("/system/app/CompassCalibrate.apk");
delete("/system/app/DefyParts.apk");
delete("/system/app/Development.apk");
delete("/system/app/DroidSSHd.apk");
delete("/system/app/DSPManager.apk");
delete("/system/app/Email.apk");
delete("/system/app/Exchange.apk");
delete("/system/app/FMRadio.apk");
delete("/system/app/FMRadioService.apk");
delete("/system/app/Galaxy4.apk");
delete("/system/app/GenieWidget.apk");
delete("/system/app/HoloSpiralWallpaper.apk");
delete("/system/app/LiveWallpapers.apk");
delete("/system/app/LiveWallpapersPicker.apk");
delete("/system/app/MagicSmokeWallpapers.apk");
delete("/system/app/MotoPhonePortal.apk");
delete("/system/app/NoiseField.apk");
delete("/system/app/OneTimeInitializer.apk");
delete("/system/app/PhaseBeam.apk");
delete("/system/app/RomUpdater.apk");
delete("/system/app/SetupWizard.apk");
delete("/system/app/SpareParts.apk");
delete("/system/app/Stk.apk");
delete("/system/app/Talk.apk");
delete("/system/app/Trebuchet.apk");
delete("/system/app/VisualizationWallpapers.apk");
delete("/system/app/VoiceDialer.apk");
Edit: if someone wants to try this, remember to install another launcher first.
Sent from my MB526 using XDA

[DUALBOOT MOD] Shared Apps

Hello everyone!
First of all, I am posting here as I am not able to post in the Development Forum. If a moderator sees this fit could he/she please move this thread to the Development forum.
This is a mod to Siyah's Kernel which allows Dual Booting.
Currently you are unable to share apps between your two ROM's and to me that is really annoying.
WELL, after much research and testing I have devised a script to allow sharing of apps between ROM's.
WARNING: Should only be used on freshly flashed 2nd ROM's otherwise you will lose all your downloaded apps for your 2nd ROM!!!
They way this works is to mount the data from your 1st ROM in your 2nd ROM, then symbolic link the app folder.
Now for all you people that are going to nag saying it has issues, stop it! If it has issues fix it yourself! I tested this on Omega ROM and ParanoidAndroid and it works fine.
First go through the process of flashing your 2nd ROM. Once that is completely boot into your 1st ROM again and download the attached file and extract its contents to "/data/media" otherwise known as the root of your internal SD Card.
Once completed, reboot into your 2nd ROM and download/open your Terminal app and type in the following commands
(lines starting with # are comments so don't type those into your terminal, also hit enter at the end of each line):
Code:
# Escalate to root (hit grant if a dialog pops up)
su
# Remount the system so you can write to it
mount -o rw,remount /system
# Now copy the file from your SD Card to /system/etc/init.d
cp /data/media/01userinit.sh /system/etc/init.d/01userinit.sh
# Change working directory to /system/etc/init.d
cd /system/etc/init.d
# Rename the 01userinit.sh to 01userinit
# If 01 is already used then choose the next lowest number e.g. 01banner so choose 02
rename 01userinit.sh 01userinit
# Change permissions just to make sure (remember to use your number if you changed the 01 part)
chmod 771 01userinit
After doing this close the terminal and reboot the phone into the 2nd ROM again. This time it should take a little longer and might say its upgrading a few apps.
This is largely untested so there is no guarantee it will work.
WARNING!!!! MUST READ THIS WARNING!!!!
Uninstalling an application from either ROM WILL uninstall it from the other ROM as well!!!
You are sharing apps directly, no mimics or anything!!!
Thanks for reading! Feedback is much appreciated, if there are issues I will be glad to listen and see if I can fix them but I make no promises. :silly:
charsleysa said:
Hello everyone!
First of all, I am posting here as I am not able to post in the Development Forum. If a moderator sees this fit could he/she please move this thread to the Development forum.
***deleted**
Thanks for reading! Feedback is much appreciated, if there are issues I will be glad to listen and see if I can fix them but I make no promises. :silly:
Click to expand...
Click to collapse
Good work keep it up!
Exactly what I was looking for! Will try this when I'm home, will give feedback then! Thanks
Sent from my GT-I9300 using xda app-developers app
Good works.
this method run with the contact and message also???
very thanks for this.
I will try.
gazou_hb said:
Good works.
this method run with the contact and message also???
very thanks for this.
I will try.
Click to expand...
Click to collapse
This script won't do that. I can create a script to do that if I have time but first I need to work on assignments.
Looks like good work, will give it a go later and/maybe congratulations
Sent from my GT-I9300 using xda premium
I try this with Samsung ROM xxdlib ans cm10 ROM. All application have present.
Your method and file work perfectly.
I thinks that it's better to make a recoevry install for easy method. If it's possible.
Good works.
Sorry for my bad english.
For my request concerning the same method for the contact and messages (SMS) talk me when i test...
Sent from my GT-I9300 using xda premium
Nice mod! It is worth noting that the script only links the apps (APKs) between ROMs. It does not link the data (databases/preferences) used by these apps.
I'm trying to link the sms messages across ROMs but the db seems to be different between Samsung and CM ROMs. I would like to see what would you do here
Sent from my GT-I9300 using Tapatalk 2
I would like to have the data linked to, any way to do that?
Sent from my GT-I9300 using xda app-developers app
lightning18 said:
Nice mod! It is worth noting that the script only links the apps (APKs) between ROMs. It does not link the data (databases/preferences) used by these apps.
I'm trying to link the sms messages across ROMs but the db seems to be different between Samsung and CM ROMs. I would like to see what would you do here
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I just tried linking contacts, sms and calendar and I managed to corrupt my entire 2nd ROM so I don't think it's possible without providing a 3rd app to run in the background.
Interesting, will give it a try
Great! Just waiting to full sync between ROMS
I love the concept but cannot get this to work. No matter what I do it won't work
Drew071
Sent from my GT-I9300 using xda app-developers app
it is not working... initially the app dir was loaded as /data/app/app tweaked the script to load the app directory ( dataapp ) .. still i am not able to see the apps in the launcher .. .
drew071 said:
I love the concept but cannot get this to work. No matter what I do it won't work
Drew071
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
smartvinu said:
it is not working... initially the app dir was loaded as /data/app/app tweaked the script to load the app directory ( dataapp ) .. still i am not able to see the apps in the launcher .. .
Click to expand...
Click to collapse
Could you please tell me what ROM's you are using and whether or not they are fresh installs.
Just tried this with Omega v28 and PA 2.2 as 2nd, didn't work but not a fresh install. I'm swapping then backing up PA to try again now and see if it works.
Edit: Just formatted 2nd rom and reinstalled as per OP's instructions and it worked. So that's the key I guess Awesome work OP!!
Tried this and didn't work, tried numerous times.
1st ROM: Paranoid
2nd ROM: Omega 28 (did a fresh install)
Does not show any of my apps in omega ROM from paranoid ROM.
I did encounter a problem in the terminal stage, on the moving file part its says can not find the file, I have to do it manually.
Sent from my GT-I9300 using xda app-developers app
jayc1980 said:
Tried this and didn't work, tried numerous times.
1st ROM: Paranoid
2nd ROM: Omega 28 (did a fresh install)
Does not show any of my apps in omega ROM from paranoid ROM.
I did encounter a problem in the terminal stage, on the moving file part its says can not find the file, I have to do it manually.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Perhaps it's related to that? Make sure you put it in the right spot and have the permissions right.
Sent from my GT-I9300 using xda premium
Its very strange, all else seems fine.
Just that one error, all else is fine. Moved to the location stated but still nothing??
Sent from my GT-I9300 using xda app-developers app
---------- Post added at 07:10 PM ---------- Previous post was at 06:57 PM ----------
If I set the permissions manually what's the correct set up, currently it's:
These parts are ticked -
User: read, write, execute
Group: read, write, execute
Other: execute
jayc1980 said:
Its very strange, all else seems fine.
Just that one error, all else is fine. Moved to the location stated but still nothing??
Sent from my GT-I9300 using xda app-developers app
---------- Post added at 07:10 PM ---------- Previous post was at 06:57 PM ----------
If I set the permissions manually what's the correct set up, currently it's:
These parts are ticked -
User: read, write, execute
Group: read, write, execute
Other: execute
Click to expand...
Click to collapse
Yeah the permissions are the same as mine. Hmm bit weird
Sent from my GT-I9300 using xda premium

[TOOL] Starting a new tool

I'm a beginner in AndroidModding, and the ways that I have found so far are boring (as well as my ability to describe my project).
Basically, I'm developing a visual tool to facilitate mods creation. I know there are already some, but I intend to make a better base for beginners as I don't make crap.
I'll leave out some screen shots and when I make the program more stable I'll upload a first test version.
I wish everyone who has any idea about what I can add in the project manifest and suggest the same. At the end I will give credit to all who help me improve things.
And also, if you guys think this is will be useless please tell me this too
[Change log]
14/10/13
Working features:
-Create and manage Devices and ROMs
--Auto framework change 90% complete
-Create multiple projects of same APK
-Import an APK via dialog box to avoid mistake at folder arrange
-Decompile, Build, Auto META-INF PATCH, Recompile and ZipAlign just at one click for each function.
-Shortcut to working folders
-Debug output
-Set zipalign compression option
Features i'm working on:
-Auto change framework for different devices
-Auto mod scripting
-Translation features
-Pull/Push files via ADB
Features that I already tought about:
-Multi-Framework capability: Switch between frameworks to mod apps of different Roms and devices without complication.
-Project creation: Create a new independent mod with just one click without losing your previous project.
-Auto patch: Select a Mod in a list, choose your preferences and watch while program do the hard work for you.
-Create a auto patch youself: If you are already experient and want automate your mods, you can create a list of actions to auto apply into an apk.
-Create a Zip file to install in recovery mod
-Default stuff to ApkTool like decompile, build, recompile, blabla
[add 06/10/13 18:30]
-Adb pull/push: send or get files from your phone by adb connection
-Smali code autopatch support
ps: I don't know speak english as well, so, sorry about any mistake
This is good and seems fun
will wait for a test release
Will it be Open Source ?
Then we could improve your work by submitting patches
Pixelvernichter said:
Will it be Open Source ?
Then we could improve your work by submitting patches
Click to expand...
Click to collapse
Its a good idea, I'll think aboit it
Sent from my GT-I9100 using xda app-developers app
Also, if you need an tester for your tool I have time and i would do it
That tool will be great for a nope like me thanks
Sent from my GT-I9100 using xda app-developers app
shfddi being
:good:
i'll help to test if u want to..
Live log would be good. To watch as phone boots into an inevitable bootloop when trying something new. Saves running log separately and lets you view as it happens. With filtering would be good. Adbmagic did something similar but you cant copy or search the log.
Sent from my GT-I9305 using Tapatalk 4
Solved!Does anyone know if a xml like instead when inner value is empty interferes something or just make file bigger? I mean to Android, because I know their same thing.
Also, who wants help me making me an logo? I was thinking about an android with Merlin's costume, but I don't have the skills to reproduce this
Goldieking said:
Live log would be good. To watch as phone boots into an inevitable bootloop when trying something new. Saves running log separately and lets you view as it happens. With filtering would be good. Adbmagic did something similar but you cant copy or search the log.
Sent from my GT-I9305 using Tapatalk 4
Click to expand...
Click to collapse
That's a good idea, i'll try implement that, thanks
Sent from my GT-I9100 using xda app-developers app
SkyaTura said:
Does anyone know if a xml like instead when inner value is empty interferes something or just make file bigger? I mean to Android, because I know their same thing.
Also, who wants help me making me an logo? I was thinking about an android with Merlin's costume, but I don't have the skills to reproduce this
That's a good idea, i'll try implement that, thanks
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Bump !
Logo in progress
( Android with Merlin Costum. lol xD )
New changes at thread!!!
I pretend to release a beta version this week yet
Pixelvernichter said:
Bump !
Logo in progress
( Android with Merlin Costum. lol xD )
Click to expand...
Click to collapse
Can we see a preview of our MerlinDroid?
(i would be annoying if i ask an icon version?)

Categories

Resources