[Request of MOD] Prevent the auto-converting of SMS to MMS - Samsung Galaxy Nexus

Hey,
I've been Modding my Nexus all day long (despite the strong possibility of failing my next exam ) Whatever, anyway... Is there a possibility of making a MOD that would prevent the stock SMS/MMS app from auto-converting SMS's to MMS? i have no plan for MMS with my carrier so when i convert to MMS it's never sent... and i HATE using third party apps when the stock has everything i want..
So, Please Devs, take that into consideration, i've seen it done on Galaxy Note development so i still have hope for it to be done on the awesome developers phone ( the developers are the awesome.... and the phone )

Just noticed this tonight... awful feature for me as well as like you I have no MMS in my contract.
Please someone create an option to turn this off.

+1
I like using the stock messaging app too and would like an option to turn this off if possible.

Just one pump post if there is a developer that might be interested!
(Not gonna raise this post again, it's just this once, don't rage )

I'd love this too, this is my main gripe coming to this phone. I'd of hoped one of the many custom roms would've picked this up and changed it.
I don't see why google can't just give you the option to change it.
Sent from my Galaxy Nexus using XDA App

Maybe use a third party app to split the messages. Or idk if stock can do that
Sent from my SPH-D700 using Tapatalk

Not too hard. Was actually messing with the code last night. I'll see about getting it done tomorrow.
Sent from my Galaxy Nexus using Tapatalk

You could try kik.

Resun said:
Not too hard. Was actually messing with the code last night. I'll see about getting it done tomorrow.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Sounds promising... many thanks in advance

This is the solution:
- decompile Mms.apk
- change value for "smsToMmsTextThreshold" in mms_config.xml inside res/xml/ folder. 4 to 100 for example...
- compile
The big problem is I can't compile after... I have problem with apktools/dependency: framework-res.apk and/or systemUI.apk won't work for now. And I have no time to find what is the problem... If a great master could find this post it will be very good for us!

Juno-First said:
You could try kik.
Click to expand...
Click to collapse
Thanks, been doing this a while
---------------
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It will take a longer amount of time depending on how long your message is, the one I sent myself was 12 "parts", and took 4 minutes. It will auto convert at 20 parts now. Will work on adding splitting option, but not going to be any time soon.
Figured this was for GSM, tested on LTE fine, but let me know if it doesn't work.
Just used adb to push it over the stock Mms.
Mms.apk

Resun said:
Thanks, been doing this a while
---------------
It will take a longer amount of time depending on how long your message is, the one I sent myself was 12 "parts", and took 4 minutes. It will auto convert at 20 parts now. Will work on adding splitting option, but not going to be any time soon.
Figured this was for GSM, tested on LTE fine, but let me know if it doesn't work.
Just used adb to push it over the stock Mms.
Mms.apk
Click to expand...
Click to collapse
Hey do you think you can do this to the dark themed MMS.apk? I'll link to the thread.
Thanks alot for your work!
http://forum.xda-developers.com/showthread.php?t=1423638

DDRFAN said:
Hey do you think you can do this to the dark themed MMS.apk? I'll link to the thread.
Thanks alot for your work!
http://forum.xda-developers.com/showthread.php?t=1423638
Click to expand...
Click to collapse
Sure. Give me a few minutes, I'll post it.
---------- Post added at 10:06 PM ---------- Previous post was at 09:29 PM ----------
Here's the Dark Theme Mms.apk by santacruzdz.
Dark Themed Mms

Resun said:
Sure. Give me a few minutes, I'll post it.
---------- Post added at 10:06 PM ---------- Previous post was at 09:29 PM ----------
Here's the Dark Theme Mms.apk by santacruzdz.
Dark Themed Mms
Click to expand...
Click to collapse
Thank you so much! I really appreciate it .

Resun said:
Sure. Give me a few minutes, I'll post it.
---------- Post added at 10:06 PM ---------- Previous post was at 09:29 PM ----------
Here's the Dark Theme Mms.apk by santacruzdz.
Dark Themed Mms
Click to expand...
Click to collapse
You my friend, are my hero!!! Thank You So Much!!!

Thanks!
This is exactly what im looking for. The only problem is that in still a noob when it cones to android and modifying it.
So I dont know where to copy the file to/ install it.
Ive got adb and my phone (Galaxy Nexus) is rooted.
So i need some more detailed instructions.
The answer is probably not too hard to find in these forums,
But i also wanted to ask what other mods etc you would suggest/ have done for your galaxy nexus/ android phone.
All my googleing seems to find is that i can get free wifi tethering or similat things that my phone can already do.
Ive got lots of tweaks that i use on my ipod touch that i would like to find for my phone .
Eg.
Activator
Sbsettings
XBMC -> xbmc . org it's awesome
Etc
Thanks for any help

ZeuBug said:
This is the solution:
- decompile Mms.apk
- change value for "smsToMmsTextThreshold" in mms_config.xml inside res/xml/ folder. 4 to 100 for example...
- compile
The big problem is I can't compile after... I have problem with apktools/dependency: framework-res.apk and/or systemUI.apk won't work for now. And I have no time to find what is the problem... If a great master could find this post it will be very good for us!
Click to expand...
Click to collapse
Didn't even come across this one (I usually only ever use gTalk to talk to folk), but I've added it in to my ROM now too Cheers for finding this one!

-TheAwesome- said:
This is exactly what im looking for. The only problem is that in still a noob when it cones to android and modifying it.
So I dont know where to copy the file to/ install it.
Ive got adb and my phone (Galaxy Nexus) is rooted.
So i need some more detailed instructions.
The answer is probably not too hard to find in these forums,
But i also wanted to ask what other mods etc you would suggest/ have done for your galaxy nexus/ android phone.
All my googleing seems to find is that i can get free wifi tethering or similat things that my phone can already do.
Ive got lots of tweaks that i use on my ipod touch that i would like to find for my phone .
Eg.
Activator
Sbsettings
XBMC -> xbmc . org it's awesome
Etc
Thanks for any help
Click to expand...
Click to collapse
Remount your /system partition in adb:
1. adb shell
2. su, only if you have a $ prompt
3. mount -o remount,rw -t yaffs2 /dev/block/mtdblock03 /system
4. exit
5. adb push Mms.apk /system/app/Mms.apk
Sent from my Galaxy Nexus using Tapatalk

Resun said:
Remount your /system partition in adb:
1. adb shell
2. su, only if you have a $ prompt
3. mount -o remount,rw -t yaffs2 /dev/block/mtdblock03 /system
4. exit
5. adb push Mms.apk /system/app/Mms.apk
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Thanks for the reply.
It's not working though. I think it's not correctly making the /system partition rw.
This is what happens:
adb shell
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock03 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock03 /system
# exit
exit
adb push Mms.apk /system/app/Mms.apk
failed to copy 'Mms.apk' to '/system/app/Mms.apk': Permission denied
any ideas?

-TheAwesome- said:
Thanks for the reply.
It's not working though. I think it's not correctly making the /system partition rw.
This is what happens:
adb shell
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock03 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock03 /system
# exit
exit
adb push Mms.apk /system/app/Mms.apk
failed to copy 'Mms.apk' to '/system/app/Mms.apk': Permission denied
any ideas?
Click to expand...
Click to collapse
Sounds like you're on Linux? When you get the permission denied, it's usually if you're running adb without root. Kill the adb server, adb kill-server, then run it again with root permission. If it wasn't mounting it properly, it would give you something about being a read-only system.

Related

[APP] SGS Battery Icon Mod2 - v1.1.2

App to replace the standard battery icon with a more sophisticated one. (by replacing the framework-res.apk file on your device)
Note: only apply the mods for your firmware version. Your firmware version is displayed on the main page. The firmware versions of the mods are displayed in the first column of the list of available mods.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
* It is adviced to do a nandroid backup. (My opinion: if you root your device always do a nandroid backup of your system files )
* If you didn't make a nandroid backup and you had *USB Debugging* turned on, try the method described at the end of this post if you are running into troubles.
Recovery Procedure
In case you didn't make a nandroid backup and you can't reboot your device because you applied a mod for a wrong version, here's a simple way out: (Thanks to boisrobe!)
Open SuperOneClick and choose "Shell Root"
Start ADB, wait for the # prompt and enter the following commands:
#busybox mount -o remount,rw /system (or mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system ... if there's no busybox)
#rm /system/framework/framework-res.apk
#cp /sdcard/framework-res.apk /system/framework/framework-res.apk
#chown root.root /system/framework/framework-res.apk
#chmod 644 /system/framework/framework-res.apk
#reboot
Changelog:
v1.1.2:
v1.1.1: Mandatory Update! (changed the way icons are fetched
v1.1: added icon preview
v1.0: release
---
There's a donation version in the Android Market (€0.75) . Donations are for supporting this project. Search for Galaxy Battery Icon Mod 2 (full title) or "Icon Mod 2" . Or follow the link "Beansoft Apps" in the About box. There's also a version on AndroidPit (paypal)
There is certainly no need for reflash after bad framework-res.apk copy.
What an user needs to do is to backup original file and then use ULK kernel's feature -> Modified CWM. U can adb push the old file to system/framework from there. (just first solution which crossed my mind)
xan said:
There is certainly no need for reflash after bad framework-res.apk copy.
What an user needs to do is to backup original file and then use ULK kernel's feature -> Modified CWM. U can adb push the old file to system/framework from there. (just first solution which crossed my mind)
Click to expand...
Click to collapse
GREAT! When the user runs the app for the first time, a backup of the original framework-res.apk is made in the root of the sdcard.
Note for users who are currently running a mod. Restore the original file before you are going to run this version. (Or get a original framework-res.apk for your rom in kalpik's thread)
If there is a backup on the root of the sdcard and u have ULK kernel installed, and user has a ADB connection available:
- boot into CWM recovery,
- select "mounts and storage",
- select "mount /mnt/sdcard",
- connect the USB cable,
- open adb shell connection
- type "cp /sdcard/framework-res.apk /system/framework/framework-res.apk" (the second argument is backup file)
- reboot, should be fixed.
At the moment the app replaces the current framework-res.apk?
What about opening the .apk and just replace the few icons you want to change, so you will be able to combine many mods. Would be awesome.
Fr4gg0r said:
At the moment the app replaces the current framework-res.apk?
What about opening the .apk and just replace the few icons you want to change, so you will be able to combine many mods. Would be awesome.
Click to expand...
Click to collapse
Yep, I agree. But on the other hand, there's so much work done already on this by modders, that I don't see the point of reinventing the wheel. I think it's better this way. Modders can work independently and if they wish they can make their modded framework-res.apk available for this app in a fairly easy way.
It's a more pragmatic.
BTW one can make all kinds of modded framework-res.apk's available this way.
Feedback
I see that there are many downloads yet, but I don't see any reports. May I infer from this that the app is working without any problems? Or are you guys still figuring out how to get your device working again
Version c for JPA damages phone dialogs, when Polish language is used and you get English date/time on locked screen.
Sent from my GT-I9000 using Tapatalk
Works great on JPM. The only thing is if you change portrait to landscape then the download dialog dissapear.
Thx for the tool.
works great on jpo. Even mods for jpa works flawlessly on jpo. Thanks a lot
appelflap said:
(icons will be replaced by examples of the mod versions)
For now, see here for examples of the different versions.
Click to expand...
Click to collapse
Could someone do a mod based on the battery icon used by the OP?
Or a version with the percentage included.
sebarkh said:
Version c for JPA damages phone dialogs, when Polish language is used and you get English date/time on locked screen.
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
Ok, thanks for noticing. I see if I can add some comment functionality to the app, so that other users can use the feedback of others.
PittBrad said:
Works great on JPM. The only thing is if you change portrait to landscape then the download dialog dissapear.
Thx for the tool.
Click to expand...
Click to collapse
shahadat said:
works great on jpo. Even mods for jpa works flawlessly on jpo. Thanks a lot
Click to expand...
Click to collapse
Thanks for testing!! I couldn't test the app myself all the way, because, like I said, I've sold my SGS. Although I really did like this phone, I had a unexplainable urge to go for the newest, hottest kid on the block, the Desire HD.
I based the code on the other app I made and that was tested to run without any problems, but yeah, you never know. I guess I can reduce all the warning signs in the first post a bit then
tintol said:
Could someone do a mod based on the battery icon used by the OP?
Or a version with the percentage included.
Click to expand...
Click to collapse
It's the battery icon of the Desire HD. The battery color fits with the other colors used by the DHD (selection color, color of for example checkboxes etc.) I don't know if it matches also with the blue theme of the Galaxy S. Anyway I can extract the battery icons and post them here. Maybe others can mod them for the SGS.
Great Work
It's work very well on JPO (CSC XEU)
Thanks
appelflap said:
It's the battery icon of the Desire HD. The battery color fits with the other colors used by the DHD (selection color, color of for example checkboxes etc.) I don't know if it matches also with the blue theme of the Galaxy S. Anyway I can extract the battery icons and post them here. Maybe others can mod them for the SGS.
Click to expand...
Click to collapse
The colors don't fit well on SGS' original theme, but there's a lot of people using moded ROM's with grey themes. Also, most of the battery mods available look like a rainbow, to many colors.
I was looking around on the Desire forums and noticed that those icons are from the original ROM, and I remembered sawing a grey version of that.
http://forum.xda-developers.com/showthread.php?t=760106
It's from the Captivate forums, and I think it could add a good mod to the ones available
Going to test with JPA, THANKS FOR THE EFFORT!
Edit: messes up the dutch translations for several apps, just like the others out there.
Sent from my GT-I9000 using XDA App
XWJPA Version D
Unfortunately, the numbers are black
Update v1.1
As promissed now with icon preview
updated files on the server. Some more mods... I will add more files to the list the coming days. Check with the app if there are new mods online.
Are there requests for Eclair mods?
Thanks
Great app, nice work.
Any chance we can see some more battery mods for JPO? Ta.

[MOD] JellyBean Carrier Name Change

HOW TOO: Change Carrier Name Using Root Explorer (or similar app)​
For those who wanted to know here is a nice and easy way to change carrier name for the time being until custom ROMS come out with the option built in.
-Must Have Root
-Must have a file explorer such as Root Explorer to have access to System Files
PLEASE NOTE: I AM NOT RESPONSIBLE FOR ANY DAMAGE DONE TO YOUR PHONE, MAKE A NANDROID BACKUP BEFORE ATTEMPTING ANY MODS SUCH AS THIS!
also note: i am not taking credit for this mod as it is the same mod that was used on ICS to change carrier name for ROMs such as CM9.
credit goes to belair56 for letting me know how to get this done on this original post. I have just simplified instructions a bit.
STEPS For people who already have "Verizon Wireless" showing up:
1) Download Carrier.zip file i have attached and extract "spn-conf.xml" onto your desktop or some folder you will remember where it has been placed.
2) Open "spn-conf.xml" with something such as NotePad or WordPad and edit the words that you see below in red to whatever you want to display instead of Verizon Wireless.
3) Save "spn-conf.xml" and copy it to the root of your SD Card.
4) Open Root Explorer or an app similar, copy "spn-conf.xml" from your SD card to "System/etc" directory.
5) Reboot, and Enjoy!
STEPS For people with "T-CDMA 64" showing up:
1) Download T-CDMA 64.zip file i have attached and extract "eri.xml" onto your desktop or some folder you will remember where it has been placed.
2) Open "eri.xml" with something such as NotePad or WordPad and edit the words that you see below in red to whatever you want to display instead of Verizon Wireless.
3) Save "eri.xml" and copy it to the root of your SD Card.
4) Open Root Explorer or an app similar, copy "eri.xml" from your SD card to "/data" directory.
5) Reboot, and Enjoy!
Code:
<?xml version="1.0" encoding="utf-8"?>
<spnOverrides>
<spnOverride numeric="310004" spn="[COLOR="Red"]Verizon Wireless[/COLOR]" />
<spnOverride numeric="310005" spn="[COLOR="red"]Verizon Wireless[/COLOR]" />
<spnOverride numeric="310012" spn="[COLOR="red"]Verizon Wireless[/COLOR]" />
<spnOverride numeric="311480" spn="[COLOR="red"]Verizon Wireless[/COLOR]" />
</spnOverrides>
as you can see i chose to use my Twitter name "@StarvingMarc" - examples below:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks a trillion for this!!!!!
BRING ON ALL THE COOL MODS FOR JB!!!!
However, before a slew more MODS start pouring out....I'm quite sure MODS should be posted in the Themes and Apps forum.
NexusNero said:
Thanks a trillion for this!!!!!
BRING ON ALL THE COOL MODS FOR JB!!!!
However, before a slew more MODS start pouring out....I'm quite sure MODS should be posted in the Themes and Apps forum.
Click to expand...
Click to collapse
your absolutely right! would a moderator be kind enough to move this to its respective forum (themes/mods)... Thanks in advance!!!
Didn't seem to work for me. After a reboot, it sat at the Google screen for a while. I pulled the battery, booted back up and now I'm still at CDMA 64. Any suggestions?
Thanks for sharing.
Any special permissions to set? Not working on mine. I just left as is (Verizon Wireless). Moved to system/etc via Root Explorer ....rebooted and still the same.
sing1gnis said:
Didn't seem to work for me. After a reboot, it sat at the Google screen for a while. I pulled the battery, booted back up and now I'm still at CDMA 64. Any suggestions?
Click to expand...
Click to collapse
unfortunately not...
Didn't work for me either.
Sent from my Galaxy Nexus using xda premium
kxs783kms said:
Any special permissions to set? Not working on mine. I just left as is (Verizon Wireless). Moved to system/etc via Root Explorer ....rebooted and still the same.
Click to expand...
Click to collapse
How is yours saying Verizon Wireless? Mine says....T-CDMA64
I would love it it say anything but T-CDMA64, LOL.
NexusNero said:
How is yours saying Verizon Wireless? Mine says....T-CDMA64
I would love it it say anything but T-CDMA64, LOL.
Click to expand...
Click to collapse
No, I left Verizon Wireless in the spn.xml file. I didn't change the writing. But when I add it to system/etc and then reboot, my phone still says T-CDMA64.
Put a eri.xml file in /data, reboot, enjoy seeing "Verizon Wireless"
imnuts said:
Put a eri.xml file in /data, reboot, enjoy seeing "Verizon Wireless"
Click to expand...
Click to collapse
1) Where do I find this eri.xml file....
2) There is no /data in the one and only JB ROM for VZW.
Do I pull/find this eri.xml file in another ROM perhaps? Do I then create a /data folder in the root of the ROM?
kxs783kms said:
Any special permissions to set? Not working on mine. I just left as is (Verizon Wireless). Moved to system/etc via Root Explorer ....rebooted and still the same.
Click to expand...
Click to collapse
No permission changes dont work either, RW-R--R-- is what is should be but that still doesnt work
---------- Post added at 08:18 PM ---------- Previous post was at 08:16 PM ----------
NexusNero said:
1) Where do I find this eri.xml file....
2) There is no /data in the one and only JB ROM for VZW.
Do I pull/find this eri.xml file in another ROM perhaps? Do I then create a /data folder in the root of the ROM?
Click to expand...
Click to collapse
Idk where to find it, but you are mistaken, there is a /data directory. I think you are trying to look for it in /system if so you wont find it there.
You kids are doing it wrong!
Take the "spn-conf" file in the OP and rename it to "eri" (no quotations of course). Paste the file under /data and reboot. It works, promise.
KWKSLVR said:
You kids are doing it wrong!
Take the "spn-conf" file in the OP and rename it to "eri" (no quotations of course). Paste the file under /data and reboot. It works, promise.
Click to expand...
Click to collapse
hey id be happy to update the OP with these directions... did u have the "CDMA-XX" and get it to change to VZ wireless? i think thats the main problem here
KWKSLVR said:
You kids are doing it wrong!
Take the "spn-conf" file in the OP and rename it to "eri" (no quotations of course). Paste the file under /data and reboot. It works, promise.
Click to expand...
Click to collapse
Thanks
spunks3 said:
hey id be happy to update the OP with these directions... did u have the "CDMA-XX" and get it to change to VZ wireless? i think thats the main problem here
Click to expand...
Click to collapse
It works
spunks3 said:
hey id be happy to update the OP with these directions... did u have the "CDMA-XX" and get it to change to VZ wireless? i think thats the main problem here
Click to expand...
Click to collapse
Yep, sure did. I was T-CDMA 64 for a few hours today before I changed it . I'm not sure why it was different for me than it was for you, but I was always under the impression that this info was pulled from /data instead of /system/etc, but I guess every model is different!?
---------- Post added at 11:02 PM ---------- Previous post was at 11:00 PM ----------
tyler1234567 said:
Thanks
It works
Click to expand...
Click to collapse
No problem man, glad to help. Huge thanks to spunks3 for this thread too! There are a lot of people out there that don't even realize it's a setting that can be customized!
KWKSLVR said:
Yep, sure did. I was T-CDMA 64 for a few hours today before I changed it . I'm not sure why it was different for me than it was for you, but I was always under the impression that this info was pulled from /data instead of /system/etc, but I guess every model is different!?
---------- Post added at 11:02 PM ---------- Previous post was at 11:00 PM ----------
No problem man, glad to help. Huge thanks to spunks3 for this thread too! There are a lot of people out there that don't even realize it's a setting that can be customized!
Click to expand...
Click to collapse
OP has been updated for people who have the T-CDMA 64 issue... thanks for the info on the fix!!
I've tried this recent discovery twice with no luck bedtime now.
Sent from my Galaxy Nexus using xda app-developers app
renamed the original spn-conf.xml to eri.xml and put it in /data and still no luck... Any ideas?

[MOD][CWM][SCRIPT]Reodex your ROM and be faster

This CWM script will reodex any custom ROM.
With BOOTCLASSPATH edit in dexo.sh it can work on any ROM and phone.
Reodexing gives some people perceivable speed up. And it frees data partition from system dalvik cache. So dalvik-cache rebuild is also accelerated.
I ran it with stock kernel (root injected). And had problems with running it on any custom kernel.
http://galaxytree.net/bravomail/universalOdex.zip
Also a good example of output from shell script into CWM console.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is the work of the brilliant TommyTomatoe
strongsteve said:
This is the work of the brilliant TommyTomatoe
Click to expand...
Click to collapse
That it is, and he should prolly be credited in the 50 threads that this fellar started
Sent from my SPH-L710 using xda premium
Awesome.
Anyway to run this from ADB via PC for individul files rather than a whole ROM? I have been doing it manualy with this same script from TT but it takes a while typing it all in for each file.
This is what i do for individual files using dexopt wrapper:
Make sure you are currently runing an odex ROM or the script will not work
Move the dexopt wrapper file to /system/bin and cmod it 775 (you can get this file by unzipping the file in the OP)
move the files you want to odex to /mnt/extSdCard (for this exanple I will use SystemUI.apk)
Open an ADB window and type the following:
Code:
adb shell
su
mount -o remount,rw /system
chmod 777 /system
cd /mnt/extSdCard
dexopt-wrapper SystemUI.apk SystemUI.odex /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar
:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework
/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar:/system/framework/sec_edm.jar:/system/fram
ework/seccamera.jar
It will take a couple secoonds and it should spit out a "success" when done. If not, you typed something wrong.
Then you need to sign your new .odex file with the odex on your current system by typing the following code:
Code:
busybox dd if=/system/app/SystemUI.odex of=SystemUI.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
obviuosly if you were dealing with a file from say /system/framework you would change the line above to point to /system/framework instead of /system/app
Now you will have 2 files on your extSdCard:
SystemUI.apk (the original deodexed file you started with)
SystemUI.odex (the file the script just made)
Use 7zip or winrar to extract the classes.dex from the SystemUI.apk
Chmod them 644 and push them to the appropriate folder, for our example it would be /system/app
restart the phone and you should now be good.
Thats a lot of typing to go through for each file so a script or batch file would be awesome to be able to run and save some time. I like to run odex ROMs because they do seem to be faster but YRMV. I generally use DSIXDA's Kitchen to deodex the files I want to modify so I can get to the Smali files. I make the changes to the file and test them out in a dedoxed enviornment. When I know they work, i re-odex them (with the process above) and push them back into my stock odexed rom.
Not trying to step on your thread OP, just posting an alternate method of doing just individual files intead on an entire ROM.
Obviously credit for the process above goes to Tommy T!
ThanksTommy!
Didact74 said:
Awesome.
Anyway to run this from ADB via PC for individul files rather than a whole ROM? I have been doing it manualy with this same script from TT but it takes a while typing it all in for each file.
This is what i do for individual files using dexopt wrapper:
Make sure you are currently runing an odex ROM or the script will not work
Move the dexopt wrapper file to /system/bin and cmod it 775 (you can get this file by unzipping the file in the OP)
move the files you want to odex to /mnt/extSdCard (for this exanple I will use SystemUI.apk)
Open an ADB window and type the following:
Code:
adb shell
su
mount -o remount,rw /system
chmod 777 /system
cd /mnt/extSdCard
dexopt-wrapper SystemUI.apk SystemUI.odex /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar
:/system/framework/framework.jar:/system/framework/framework2.jar:/system/framework/android.policy.jar:/system/framework
/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar:/system/framework/sec_edm.jar:/system/fram
ework/seccamera.jar
It will take a couple secoonds and it should spit out a "success" when done. If not, you typed something wrong.
Then you need to sign your new .odex file with the odex on your current system by typing the following code:
Code:
busybox dd if=/system/app/SystemUI.odex of=SystemUI.odex bs=1 count=20 skip=52 seek=52 conv=notrunc
obviuosly if you were dealing with a file from say /system/framework you would change the line above to point to /system/framework instead of /system/app
Now you will have 2 files on your extSdCard:
SystemUI.apk (the original deodexed file you started with)
SystemUI.odex (the file the script just made)
Use 7zip or winrar to extract the classes.dex from the SystemUI.apk
Chmod them 644 and push them to the appropriate folder, for our example it would be /system/app
restart the phone and you should now be good.
Thats a lot of typing to go through for each file so a script or batch file would be awesome to be able to run and save some time. I like to run odex ROMs because they do seem to be faster but YRMV. I generally use DSIXDA's Kitchen to deodex the files I want to modify so I can get to the Smali files. I make the changes to the file and test them out in a dedoxed enviornment. When I know they work, i re-odex them (with the process above) and push them back into my stock odexed rom.
Not trying to step on your thread OP, just posting an alternate method of doing just individual files intead on an entire ROM.
Obviously credit for the process above goes to Tommy T!
ThanksTommy!
Click to expand...
Click to collapse
That's exactly what I do as well.. I just baksmali the odex when I need to edit the smali.
If you are already in the odexed rom environment, you do not have to include the bootclasspath
Awesome bro, simply awesome! I used a similar script during my brief EVO 3D days that I always ran after flashing a new rom and I considered it priceless!
Thanks man..
strongsteve said:
If you are already in the odexed rom environment, you do not have to include the bootclasspath
Click to expand...
Click to collapse
What?!? I been typing all that for nothing? LOL.
So all i would need is:
dexopt-wrapper SystemUI.apk SystemUI.odex
Didact74 said:
What?!? I been typing all that for nothing? LOL.
So all i would need is:
dexopt-wrapper SystemUI.apk SystemUI.odex
Click to expand...
Click to collapse
Dextopt-wrapper sdcard/folder/app.apk sdcard/folder/app.odex
Sent from my SPH-L710 using xda premium
strongsteve said:
Dextopt-wrapper sdcard/folder/app.apk sdcard/folder/app.odex
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
Sweet.
Thanks man.
Strongsteve is the king of odex. Lol.
Sent from my Nexus S 4G using xda premium
So i flashed the zip on sonic free. how can i tell if the rom is now odexed?
Flashing zips in rehab!!
Holy cow amigo. You started a bunch of threads. A little credit to original author would have been nice if you took the work and revamped it. All credit cause you didn't.
Sharing is caring. But I suggest you put where you got the script, etc, as well as the original author.
edit. upon further review, i see that you did change some things, mainly removing the original header (which is absolutely lame) and made it work with CWM. Also, you set a static BOOTCLASSPATH - which defeats the purpose of this script!!
Let me check my pms and emails. Someone contacted me a long time ago asking me review to their changes. Maybe it was you lol.
Sent from my EVO using Tapatalk 2
tommytomatoe said:
Holy cow amigo. You started a bunch of threads. A little credit to original author would have been nice if you took the work and revamped it. All credit cause you didn't.
Sharing is caring. But I suggest you put where you got the script, etc, as well as the original author.
edit. upon further review, i see that you did change some things, mainly removing the original header (which is absolutely lame) and made it work with CWM. Also, you set a static BOOTCLASSPATH - which defeats the purpose of this script!!
Let me check my pms and emails. Someone contacted me a long time ago asking me review to their changes. Maybe it was you lol.
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Tommy I miss your classic tomato over here! I know you got an HTC lte so I'm guessing we won't be seeing any roms from you here but one can only hope
-Sprint Galaxy Slll_Transformer Prime-
manso1102 said:
Tommy I miss your classic tomato over here! I know you got an HTC lte so I'm guessing we won't be seeing any roms from you here but one can only hope
-Sprint Galaxy Slll_Transformer Prime-
Click to expand...
Click to collapse
Haha thanks. Yeah I'm over here on HTC. Taking a long extended break from Android. Things have changed since I last did anything
Sent from my EVO using Tapatalk 2
tommytomatoe said:
Holy cow amigo. You started a bunch of threads. A little credit to original author would have been nice if you took the work and revamped it. All credit cause you didn't.
Sharing is caring. But I suggest you put where you got the script, etc, as well as the original author.
edit. upon further review, i see that you did change some things, mainly removing the original header (which is absolutely lame) and made it work with CWM. Also, you set a static BOOTCLASSPATH - which defeats the purpose of this script!!
Let me check my pms and emails. Someone contacted me a long time ago asking me review to their changes. Maybe it was you lol.
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
LOL.. Tell it like it is Tommy.
Tommy can u fix this script then for us since he set a static boot class path?
Sent from Galaxy SIII
musclehead84 said:
Tommy can u fix this script then for us since he set a static boot class path?
Sent from Galaxy SIII
Click to expand...
Click to collapse
http://classictomatoe.net/dexo-universal-odex-tool
Edit. Original thread. http://themikmik.com/showthread.php?t=12988
Sent from my EVO using Tapatalk 2

[EG04][ROMs][CWM] IC.JeLLY_oNGB.BeAN.S & DEODEXed +/APP & /SYSTEM FILES

Disclaimer: Flashing is fun, but get irritating when softbrick, bootlooooooooop etc happens. Nandroid back up and use tb101 themer! [im not selling it enough, this will save u from dead end troubleshooting. I didnt flash YOUR phone but i will help in anyway i can if you run into trouble.
IC.JeLLY_oNGB.BeAN.S [WIP]
[Based off EG04]
[screens]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What is it? It is a starter pack. [all other releases will be in form of starter and update packs]
Deodexed and zip-aligned
ALL TB101 mods (-TW4-Havent played with that one yet)
ICS Boot Ani & Sounds [working on boot/bootsound, had this trouble w/ec07]
My ICS/JB Theme [Latest Release [00] (still beta, havent heard back from yall)]
-No xml mods yet, ie. Horizontals and text colors [see Patch]
Gps.config mod
DeBloated_Pro (cleaned most that i was i aware i could, so if anything is gone u want, they are in deodex.zip)
SuperSU [must install after 00]
BusyBox (update if you need to)
More to come....
ICS SOFTKEYS?
In the past with my themes the initial rom flash doesnt boot softkey mods correctly so... YOU will need to patch them. [For Alphas]
Download the attached zip and [unzip&] put in TB101 themer with other softkey imgs, then pull your frameworks in and mod.
MAKE A ZIP WITH YOUR OG FRAMEWORKS WITH DEFAULTS AS MODS [flash if bootloop]
How to install? [updated:10.25]
Download 00&SuperSU [attachment] and put on sdcard root
BACKUP [nandroid via cwm, contacts, sms, apks via TiBU etc]
Flash [install] 00.zip in CWM
Wipe Cache/Dalvik
Reboot (Should boot now )
-if bootloop Flash SuperSU.zip
Reboot
Reboot
Enjoy!
Initial Alpha_00 Release: Here [10.24.12] [will WIPE DATA] [updated:10.25]
-should boot now
Patch_00: Here [must have 00_release installed, you will need to patch this framework again for ics keys etc]
+XMLs now editted
+ICS Tasker skin [hold home]
+ICS 5 bar network pngs now
+build.prop tweaks
Patch_00 Screens
My Goal:
I wish this to be a starter rom for all to own. So input is needed and support will be in form of patch [you can also patch and post] until all system are go. This forum has been best supported over my 3 devices, let learn and continue.
Thank YOU!
credits:
trailblazer101 (everything as always)
dsixda (rom kitchen, updaterscript)
Vertemus (og Domination themer)
and YOU!
As well as credit given in theme thread.
...
DEODEXed ROM [will WIPE DATA, back up nandroid, flash, restore data]
[CWM]: here (thank the poster too!)
debloated
rooted (superuser)
busybox
stock zImage (placeholder)
OG STOCK DEODEX FILES: Here
(just put into cwm zip to add or drag into Trailblazer101s framework maker)
Working on a ROM myself... Will be my first ever.
added oneclick method to deodex ROOTED, BUSYBOX, EG04 STOCK ROM.
Any idea why when I mount cache.rfs in MagicISO there is no recovery folder?
jaizero said:
Any idea why when I mount cache.rfs in MagicISO there is no recovery folder?
Click to expand...
Click to collapse
What are u trying todo?
Extract csc?
Sent from my SPH-M580BST using Tapatalk 2
im in irc
What is the name of the room in IRC? Yup trying to extract the recovery folder.
ciscogee said:
MANUAL or ONECLICK!!! added [10.17.2012]
Requirements:
Rooted device (google "Super One Click" and then when rooted, dl latest SU or superSU)
Busybox installed (via market after root)
ADB installed and working properly (added to path is optimal) ADB added to zip (for one click method)
Flashed and working EG04 rom
EG04_STOCK_DEODEX.zip
and just enough adb knowlege to follow directions
ONECLICK
Download zip, follow README.txt (windows only atm)
MANUAL
Step 1:
Download EG04_STOCK_DEODEX.zip, Unzip and place folders done_app and done_frameworks on root of sdcard.
Step 2:
Open cmd prompt (in sdk/platform-tools/ or any folder if in path)
and copy and past each cmd line. (if any errors occcur, post them).
Code:
$ adb shell
$ su
[you may need to accept permissions by superuser on phone, if 1st time shelling)
# stop
# mount -o rw,remount /system/ /system/
# cp /sdcard/done_app/* /system/app/
# rm /system/app/*.odex
# cp /sdcard/done_frame/* /system/framework/
# rm /system/framework/*.odex
# mount -o ro,remount /system/ /system/
# reboot
[$ & # are showing you root access]
BAM! deodexed!,
use titanium back up to delete bloat you do not want.
Im working on a rom after homework.
Yay we're active again!
Click to expand...
Click to collapse
Nevermind Got it working.
The one click isn't working for me.
The cp command isn't found
Confused
Im a little confused about how to flash this as its different from when I was flashing on ec09. So if someone could provide me detailed steps that would be great
---------- Post added at 02:39 AM ---------- Previous post was at 02:15 AM ----------
Ok so I understand what to do and I rooted successfully. However when I try to update my su binary it fails every time and I cant figure out what to do to get it to become successful so for now I unrooted.
Who here was wanting a way to get the call screen in the ticker working on different launchers? Well, I just figured it out Go to my new thread in theming for new info heh
lets stay on topic!!!!!
jus bs-ing yas!
since we are off topic, when decompiling your modded apks, am i using stock or your modded frameworks to install?
Jaggar345 said:
Im a little confused about how to flash this as its different from when I was flashing on ec09. So if someone could provide me detailed steps that would be great
---------- Post added at 02:39 AM ---------- Previous post was at 02:15 AM ----------
Ok so I understand what to do and I rooted successfully. However when I try to update my su binary it fails every time and I cant figure out what to do to get it to become successful so for now I unrooted.
Click to expand...
Click to collapse
I dont recommend flashing things just to flash them because they are there. Thats how phones get bricked. Read some tutorials on ADB and the Android SDK before diving into code etc... Just my .02
cwm up
lost it if someone has it can u upload, if not ill make another soon.
New rom added
xml patch up...
anyone using these?
Just getting ready to flash cwm and get started, just want to make sure I've got the order right... Flash 00.zip then the patch, both in cwm. Then if I want ics softkeys download the zip and use tb themer to mod framework, make zip and flash from cwm... Right? Maybe... I have yet to use TB's themer.
Sent from my SCH-I400 using xda app-developers app
roaddog665 said:
Just getting ready to flash cwm and get started, just want to make sure I've got the order right... Flash 00.zip then the patch, both in cwm. Then if I want ics softkeys download the zip and use tb themer to mod framework, make zip and flash from cwm... Right? Maybe... I have yet to use TB's themer.
Sent from my SCH-I400 using xda app-developers app
Click to expand...
Click to collapse
Back up you stuff first. Nand and apks etc
Flash rom_00.zip then supersu.zip.
(I don't have too much time to script, I'm way behind in classes due to gb fun) then patch_00.zip
Clear caches
Reboot.
Then when boots legit restore your data nand and apks etc.
And yes for ics keys use tb themer, it will do it for you, just add the png folder in themer dirs
Sent from my SPH-M580BST using Tapatalk 2
Having technical difficulties at the moment, can't get into download mode... Trying another comp now.
Oops... Operator error... Flash after supper.
Sent from my SCH-I400 using xda app-developers app
any idea why it would be stuck at the installing update step? I can't get by that

Some apps can't get access to (/emulated/0/) folder

Hi,
My device is LG G4 h-815 rooted, marshmallow 6.0 v20e.
A lot of my apps can't see the folder /emulated/0/
Thank you for your help.
Any idea ?!!
shaydzmi said:
Any idea ?!!
Click to expand...
Click to collapse
which apps?
xzfzx said:
which apps?
Click to expand...
Click to collapse
Actually, all my apps, except the stock file manager.
Some apps can show me (0) when I open it, but when I go back to the upper folder I can't go forward again.
I hope this makes sense.
shaydzmi said:
Hi,
My device is LG G4 h-815 rooted, marshmallow 6.0 v20e.
A lot of my apps can't see the folder /emulated/0/
Thank you for your help.
Click to expand...
Click to collapse
If im not mistaken when mm came out they changed they write permissions on sd card i may be wrong. But u have to make a
Sure u grant perms to all apps that need sd write. a lott of people on the g3s were having this issue. I neve did when i run mm so i dont know exactly. Just trying to spit an idea out there
TheMadScientist420 said:
If im not mistaken when mm came out they changed they write permissions on sd card i may be wrong. But u have to make a
Sure u grant perms to all apps that need sd write. a lott of people on the g3s were having this issue. I neve did when i run mm so i dont know exactly. Just trying to spit an idea out there
Click to expand...
Click to collapse
Thank you for your help.
I have no problem with the external SD card.
The problem I'm having is with internal storage, this is a little demonstration how it looks like :
When I open an app for example : Explorer, It shows me this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
When I go to the parent folder, it will become like this :
shaydzmi said:
Actually, all my apps, except the stock file manager.
Some apps can show me (0) when I open it, but when I go back to the upper folder I can't go forward again.
I hope this makes sense.
Click to expand...
Click to collapse
as the user above stated it might be a permission problem but i dont believe that is the case because /emulated/0 is the internal storage...
can you please name one app so i can check it? i am running v20d and not rooted but i dont think one letter can make the difference lol and if you can not get access with root than i dont think that it matters.
eidt: just saw you new comment i am downloading es explorer to try and look at the problem
---------- Post added at 10:56 AM ---------- Previous post was at 10:03 AM ----------
ok so i looked into it and it seems to be an android problem
it seems like some why the user t=does not have read permission
since i dont have root i can not fix it but you can (because you have root) i am guiding you blindly with out testing it...but i am sure it will not do any harm if you follow it.
first little guide so you have some kind of knowledge about what you are about to do if you dont already have.
ls - see the content of a folder
cd - enter in to a folder ( or out by ".." )
chmod - change permissions
su - use another user
for the steps:
1. download terminal emulator.
2. cd storage
3. cd emulated
4.(its a small L not a capital i) ls (just to make you sure you have the same error as me)
5. cd ..
6.(its a small L not a capital i) ls -la (just to make sure you see the permissions as me to the emulated folder(the letter on the side))
7. su root
8. chmod -R 775 emulated
and i believe your are done let me know if it worked
xzfzx said:
as the user above stated it might be a permission problem but i dont believe that is the case because /emulated/0 is the internal storage...
can you please name one app so i can check it? i am running v20d and not rooted but i dont think one letter can make the difference lol and if you can not get access with root than i dont think that it matters.
eidt: just saw you new comment i am downloading es explorer to try and look at the problem
---------- Post added at 10:56 AM ---------- Previous post was at 10:03 AM ----------
ok so i looked into it and it seems to be an android problem
it seems like some why the user t=does not have read permission
since i dont have root i can not fix it but you can (because you have root) i am guiding you blindly with out testing it...but i am sure it will not do any harm if you follow it.
first little guide so you have some kind of knowledge about what you are about to do if you dont already have.
ls - see the content of a folder
cd - enter in to a folder ( or out by ".." )
chmod - change permissions
su - use another user
for the steps:
1. download terminal emulator.
2. cd storage
3. cd emulated
4.(its a small L not a capital i) ls (just to make you sure you have the same error as me)
5. cd ..
6.(its a small L not a capital i) ls -la (just to make sure you see the permissions as me to the emulated folder(the letter on the side))
7. su root
8. chmod -R 775 emulated
and i believe your are done let me know if it worked
Click to expand...
Click to collapse
Thank you very much,
This is what I did :
Nothing happened.
It doesn't want to change permission.
shaydzmi said:
It doesn't want to change permission.
Click to expand...
Click to collapse
2 things:
1. you forgot "su root"
2.
you wrote "chmod -R775 emulated"
instead of "chmod -R 775 emulated" between the R and the 775 there is space
xzfzx said:
2 things:
1. you forgot "su root"
2.
you wrote "chmod -R775 emulated"
instead of "chmod -R 775 emulated" between the R and the 775 there is space
Click to expand...
Click to collapse
I did this, doesn't fix the problem, and I couldn't understand what is written :
shaydzmi said:
I did this, doesn't fix the problem, and I couldn't understand what is written :
Click to expand...
Click to collapse
you wrote "chmod -R 775"
instead of "chmod -R 775 emulated"
Again :
Sent from my LG-H815 using Tapatalk
shaydzmi said:
Again :
View attachment 3694608
Sent from my LG-H815 using Tapatalk
Click to expand...
Click to collapse
did it worked?...
there is no error....
do "ls" after "cd emulated" to check it if you dont get permission denied that means it worked
No, it didn't work :
Sent from my LG-H815 using Tapatalk
shaydzmi said:
No, it didn't work :
View attachment 3694739
Sent from my LG-H815 using Tapatalk
Click to expand...
Click to collapse
:-/ can you do ls -la after cd storage and upload the pic?
and you can try and do cd storage > su root > chmod 775 emulated > cd emulated > chmod 775 0 > chmod -R 775 0 > ls-la (the last is for checking) if it does not work
you can try one last thing reenter terminal than su root > cd mnt > cd user > chmod 775 0 > chmod -R 775 0 > cd 0 > ls-la and if this does not work i am out of ideas...i dont know maybe google did it in purpose somewhy.
in the end it is not such a big problem because you can still see the content of it you just cant just go back to it when browsing in any app which is not big deal because you can always reopen the app.
maybe some one else can help you
Sent from my LG-H815 using Tapatalk
Sent from my LG-H815 using Tapatalk
It is a big deal to me, because I'm not able to select a folder in internal storage as a virtual podcast, because the podcast app can't enter 0.
Sent from my LG-H815 using Tapatalk
try "cd /sdcard"

Categories

Resources