[ROM][24 Feb] IceCreamSandwich Development/Discussion Thread - Kindle Fire Android Development

IceCreamSandwich Development/Discussion Thread
What is this?
Click to expand...
Click to collapse
Hello everyone! This thread is dedicated to Hashcode's and JackpotClavin's work.
This is an Android 4.0.3 ROM not meant for daily use! It is based on CyanogenMod 9.
I will not post any instructions how to flash this to your kindle until it is considered to be ready for daily use. If you know how, feel free to do it.
If you want to join us on IRC:
irc.freenode.net #kindlefire-dev
What works? What doesn't?
Click to expand...
Click to collapse
revxx14 created a Google Spreadsheet to collect known bugs. You can find it right here.
Please take a look at it before reporting any bugs!
A rough list what does not work:
Hardware Video Decoding
Light sensor
There is a SOD bug and no, there is no bluetooth.
Downloads
Click to expand...
Click to collapse
ROM:
2012-02-24 cm9-02-24.zip
ff4e0ea9c27d28b18226e230e2bf2994 by sitic
Changelog:
+init.d support
+fix default.prop
+Test: Apps use now xlarge layout instead of large
More information here
Google Apps:
gapps-ics-20120224-signed.zip
11b5763810edb732379d39b6df9ccbcf
Workarounds / Fixes
Click to expand...
Click to collapse
None needed.
Last words
Click to expand...
Click to collapse
The devs do all of this for free, remember that. Buy them a drink! ♥

it's actually the vold binary found in /system/bin/vold from cm7 ;-) you'll have to change permissions on it once you push it back to /system/bin/ (i just did a 777), then reboot
that's just to have the sdcard properly mount at both /sdcard and /mnt/sdcard. if you wanna do the mass storage you'll have to download the app and do the commands i'm not really a fan of it because unlike other devices, every single filesystem present on our device will mount with the app, so system and data and the sdcard will mount and create like 8 windows on your computer

So the zip file above does the sd card mount with that update or not or is a new update file imminent.

Any hints as to what is or isn't working? At least a vague Idea? Wifi?
Sent from my HTC EVO 3D using xda premium

The zip above was only meant for other devs to see if they could get the sdcard working but now it's working.
Sent from my Galaxy Nexus using XDA App

Wifi works. Video playback (Netflix) and some audio (in Angry Birds) doesn't work. Runs pretty good though.
I'm so excited. Thanks for all your hard work guys.

I've had some random spouts of sound working. sometimes the keyboard will randomly start making those key noises, and it's started working playing angry birds before, but not for long.
---------- Post added at 06:45 PM ---------- Previous post was at 06:44 PM ----------
JackpotClavin said:
The zip above was only meant for other devs to see if they could get the sdcard working but now it's working.
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
when could you upload a new zip with sd card fix? I'd try a crack at it myself but don't want to mess up anything.
EDIT: nevermind. Seen the new vold file in the op.

Excuse me for being blind, but how do I get to the Trebuchet settings?

JackpotClavin said:
The zip above was only meant for other devs to see if they could get the sdcard working but now it's working.
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
Could you make a flashable zip where the sd-card is working please?

http://www.multiupload.com/Z5QBY3M80T
Flashable zip with working sd, the launcher from CM9 and the USB mount app. I haven't tested it yet (i am about to flash it). If this isn't allowed then please remove it.
Basically its got vold added to bin, the set_perm line in the updater-zip for it, trebuchet in /system/app and the ICS Usb mounter apk in /system/app.
Enjoy

XperiaPlayer said:
http://www.multiupload.com/Z5QBY3M80T
Flashable zip with working sd, the launcher from CM9 and the USB mount app. I haven't tested it yet (i am about to flash it). If this isn't allowed then please remove it.
Basically its got vold added to bin, the set_perm line in the updater-zip for it, trebuchet in /system/app and the ICS Usb mounter apk in /system/app.
Enjoy
Click to expand...
Click to collapse
Downloading Now as well. Will report back soon
Sent from my Kindle Fire using xda premium

XperiaPlayer said:
http://www.multiupload.com/Z5QBY3M80T
Flashable zip with working sd, the launcher from CM9 and the USB mount app. I haven't tested it yet (i am about to flash it). If this isn't allowed then please remove it.
Basically its got vold added to bin, the set_perm line in the updater-zip for it, trebuchet in /system/app and the ICS Usb mounter apk in /system/app.
Enjoy
Click to expand...
Click to collapse
I should be able to flash this over the other one just wiping /system without any problems, right?

FroyoShark said:
I should be able to flash this over the other one just wiping /system without any problems, right?
Click to expand...
Click to collapse
I flashed this over the last one with no problem. However the USB Mass Storage Tools don't work. I keep getting an error: "You cannot enable UMS without a USB connection."

When it boots you need to do the following:
Check set as default then select:
Trebuchet
com.cyanogeonmod.trebuchet
If the USB mounter comes up just press the back button at the bottom.
ENjoy

How exactly do you set permissions to 777? God I sound like a noob. Lol

I also get the error as well, going to see what it is now. (usb mounter ums)
---------- Post added at 08:17 PM ---------- Previous post was at 08:16 PM ----------
If you use my zip you dont need to set the permissions. However if you are doing it on the device (the way described in first post):
adb shell (or terminal emulator)
chmod 777 /system/bin/vold
---------- Post added at 08:21 PM ---------- Previous post was at 08:17 PM ----------
The SD card seems to work if you type this into adb shell:
echo "/dev/block/mmcblk0" > /sys/devices/platform/usb_mass_storage/lun0/file
It then pops up on my screen as Removable Device (F, however windows asks me to format it....

gannon5197 said:
How exactly do you set permissions to 777? God I sound like a noob. Lol
Click to expand...
Click to collapse
If you use adb: adb shell chmod 777 /system/bin/vold
If you use Root Explorer, check all nine boxes.

Thanks!!!
Just wanted to reiterate that XDA is the greatest forum ever!! Thanks to all of the guys working on this, you are incredible!!!

A official alpha would be nice it's abit confusing as who is in charge on this rom seems live everyone is having a dabble here and there for a fully working rom.Good work though guys.

XperiaPlayer said:
http://www.multiupload.com/Z5QBY3M80T
Flashable zip with working sd, the launcher from CM9 and the USB mount app. I haven't tested it yet (i am about to flash it). If this isn't allowed then please remove it.
Basically its got vold added to bin, the set_perm line in the updater-zip for it, trebuchet in /system/app and the ICS Usb mounter apk in /system/app.
Enjoy
Click to expand...
Click to collapse
I will add this to the OP when I get home later!
Sent from my Nexus S using XDA App

Related

Enhanced Camera.apk

Everyone seems to be asking for a silent camera app, also some desire one with better image/video capturing. There is one in existence however, most wouldn't know this (unless you use the 'search' function) because it's in the I9100 forum. Yes, it does work with our phone but I wanted something that was build from our source and that's up to date. I decided to take the best of both and combine them. This is the Camera.apk from Calkulin's 2.8.1 (EL29) ROM but with the edits from Potatoman's incorporated into it.
Check out Potatoman's thread to see the bitrates and sampling rates if you're curious. Instructions on how to put this in /system/app are in Patatoman's thread also. Let me know if for some reason they didn't work and I'll see what I can do. I've tested it on mine so I know it works I just haven't had a chance to test the sampling and bitrates.
Also, there's a media_profiles.xml that may or may not be useful. I use it anyway. That goes in /system/etc with no special permissions. Just give it the same as the stock one.
Lastly, in no way do I take credit for this. All I've done is combine work from two great devs - they did all the dirty work. If you'd like to thank or donate to someone then donate/thank one of them, or both
Cheers and enjoy.
EDIT: Figured I would add this here for those that aren't sure how to replace a /system file.
For a file explorer (eg. Root Explorer) make sure the system is mounted as r/w. Copy the app from your sdcard to the /system/app directory. Change permissions to rw-r-r. Reboot. I also set the owner and group to root but you shouldn't have to.
For terminal
Code:
su
mount -o remount,rw /dev/block/mmcblk0p9 /system
cp /sdcard/path/to/app /system/app
chmod 644 /system/app/Camera.apk
Reboot
Only if you have to should you just install it like a regular app. If you have to, just click on the app in your file explorer and select 'install'. This will install it to the /data/app directory. This should never have to be done though.
Just make sure you reboot
Sent from my SPH-D710 using xda premium
Thanks for the update. The higher bitrate camp.apk was posted in the theme/app section.
Excellent find... much obliged!
Sent from the last remaining Prime; Leader of the Autopads.
Didn't get it where the volume rocker takes picture though
Sent from the near past
Wait... so this particular .apk does not include the snap photo via volume rocker functionality?
I am just going by the previous post.
Sent from one impressive piece of technology.
No not yet anyway. It just has the higher bitrate and sampling rate right now. I'm new to .dex edits so I'll keep updating it as I learn more. I know there's a power button mod for it but from what I've read its still buggy.
Sent from my SPH-D710 using XDA App
KCRic said:
Everyone seems to be asking for a silent camera app, also some desire one with better image/video capturing. There is one in existence however, most wouldn't know this (unless you use the 'search' function) because it's in the I9100 forum. Yes, it does work with our phone but I wanted something that was build from our source and that's up to date. I decided to take the best of both and combine them. This is the Camera.apk from Calkulin's 2.8.1 (EL29) ROM but with the edits from Potatoman's incorporated into it.
Check out Potatoman's thread to see the bitrates and sampling rates if you're curious. Instructions on how to put this in /system/app are in Patatoman's thread also. Let me know if for some reason they didn't work and I'll see what I can do. I've tested it on mine so I know it works I just haven't had a chance to test the sampling and bitrates.
Also, there's a media_profiles.xml that may or may not be useful. I use it anyway. That goes in /system/etc with no special permissions. Just give it the same as the stock one.
Lastly, in no way do I take credit for this. All I've done is combine work from two great devs - they did all the dirty work. If you'd like to thank or donate to someone then donate/thank one of them, or both
Cheers and enjoy.
Click to expand...
Click to collapse
For noobs like me, do you just put the camera apk in your storage and install it using installer app?
Nice find! I just switched from Calkulin 2.8.1 to TNz Blend ROM and will love to have Calkulin's camera app with the Blend ROM... Best of both worlds! Will flash this tomorrow and report back.
Sent from my GT-P7510 using Tapatalk
Could not sleep so decided to install it now, not letting me though. Tried to install through the package installer but it won't go... Perhaps I cannot install it on a different ROM (running TNz Blend)
Sent from my SPH-D710 using Tapatalk
AntikytheraTech said:
Could not sleep so decided to install it now, not letting me though. Tried to install through the package installer but it won't go... Perhaps I cannot install it on a different ROM (running TNz Blend)
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
Yes you can....push to system/app....set permissions up like the other apps there....the click and install
Sent from the near past
Danial723 said:
Yes you can....push to system/app....set permissions up like the other apps there....the click and install
Sent from the near past
Click to expand...
Click to collapse
How do you set the permissions without using ADB? I only ask because I have never used it (clearly). But maybe now is the time.... :-S
Sent from my SPH-D710 using Tapatalk
AntikytheraTech said:
How do you set the permissions without using ADB? I only ask because I have never used it (clearly). But maybe now is the time.... :-S
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
You'll need a file explorer app like Root Explorer. You can also use a terminal emulator app. With the file explorer you copy the app from your sdcard to the /system/app directory. Make sure sure the system is mounted in r/w also. That will overwrite the original, now all you have to do is set permissions which are rw-r-r.
Just to be safe, reboot. If you had a shortcut for it on your homescreen you'll have to put it back there.
For terminal
Code:
su
mount -o remount,rw /dev/block/mmcblk0p9 /system
cp /sdcard/path/to/app /system/app
chmod 644 /system/app/Camera.apk
Danial723 said:
Didn't get it where the volume rocker takes picture though
Sent from the near past
Click to expand...
Click to collapse
I figured I would test to see if it had that function since Calkulin's camera does. I'm able to take pictures with the volume rocker. Are you not?
sratwars said:
For noobs like me, do you just put the camera apk in your storage and install it using installer app?
Click to expand...
Click to collapse
No,u need to put apk in /system/app folder but you need to be rooted to put apk's in that folder.
But u can try just installing it regularly,sometimes that works too for some apps.
(For noobs like me, do you just put the camera apk in your storage and install it using installer app?)
no. read instruction before replying PLEASE!
*xda_ace=spades. said:
(For noobs like me, do you just put the camera apk in your storage and install it using installer app?)
no. read instruction before replying PLEASE!
Click to expand...
Click to collapse
And read the dates before you revive a 5 month old thread PLEASE!

[HELP] Cannot install APKs to /system/app via push

I am using AOKP M3 with Black Exodus theme installed, but I doubt that matters.
This is so frustrating. Regardless of the system apk I am trying to install, it NEVER shows up in the app drawer. Here are the steps I use.
adb remount
adb push [Systemapk] /system/app/
make sure permissions are set to rw-r--r--
reboot (shouldn't have to, but doesn't do anything)
I've installing multiple different system apps but it never works. NITROZ kindly made a zip for me, but it's app specific and I shouldn't have to use it.
Any help is greatly appreciated
stupid question but have you checked the permissions on system/app/ ?
I would of thought rw rw r !!
---------- Post added at 04:21 PM ---------- Previous post was at 04:09 PM ----------
Looks like I'm the stupid one , adb remount gives you the permissions!!
shanman-2 said:
stupid question but have you checked the permissions on system/app/ ?
I would of thought rw rw r !!
---------- Post added at 04:21 PM ---------- Previous post was at 04:09 PM ----------
Looks like I'm the stupid one , adb remount gives you the permissions!!
Click to expand...
Click to collapse
Yeah, all the apk permissions in system/app are the same
Edit-misread. Does your device show up using ADB devices command?
Sent from my Galaxy Nexus using xda premium
Wow, you have got to be kidding me. It doesn't work with ADB, but when I cut/paste using root explorer it works.
ARGHHHH. Well, at least I got it somewhat working.
And yea, adb devices lists my phone.
Scratch that. The root explorer method worked once and now nothing.
I have rebooted. Tried with sign and unsigned apps. Modified permissions. ARGH!
Maybe u can help. I have cm9 music apk on my SD. It says in es explorer cut and paste to system/app. Is that a folder. I can't find where to paste the apk to. Do I paste it to a folder? Please help. I'm still learning.
Sent from my HTC Sensation using xda premium
hardrockinandroid said:
Maybe u can help. I have cm9 music apk on my SD. It says in es explorer cut and paste to system/app. Is that a folder. I can't find where to paste the apk to. Do I paste it to a folder? Please help. I'm still learning.
Sent from my HTC Sensation using xda premium
Click to expand...
Click to collapse
CM9 music does not need to go in the /system/app folder as it is not necessary. If all you want to do is use the app, just leave it where it is and click to install it.
number3pencil said:
Scratch that. The root explorer method worked once and now nothing.
I have rebooted. Tried with sign and unsigned apps. Modified permissions. ARGH!
Click to expand...
Click to collapse
make sure you tap the Mount R/W button in Root Explorer when you are in the system/app folder. It should be somewhere at the top of the screen. Then you should (in theory) be able to copy anything to the system folders.

(HOW TO) Swap SD Card For CM10

Since CM10 by Arco released, there is no swap option in the storage menu.
This is only for CM10 and ONLY FOR GALAXY W
For this just copy the file provided to '/etc/(paste)' via root explorer or some other app...also set permissions to rw-r-r
For Permissions: Image Provided.
there are two files.
1. Internal sd card as the default
2. Microsd card as Default
THIS IS NOT A FLASH-ABLE ZIP. PLEASE EXTRACT
Thanks to (tomatoman23)
yow jas!
just want to clarify things;
you mean, to swap internal to external memories, just paste these TWO files to /etc, changed permissions, reboot, and done?
or we select which one to be default?
-salute!
reinjoy said:
yow jas!
just want to clarify things;
you mean, to swap internal to external memories, just paste these TWO files to /etc, changed permissions, reboot, and done?
or we select which one to be default?
-salute!
Click to expand...
Click to collapse
You have to select the one you want to be default
Sent from my GT-I8150 using xda premium
jassim007 said:
Since CM10 by Arco released, there is no swap option in the storage menu.
This is only for CM10 and ONLY FOR GALAXY W
For this just copy the file provided to '/etc/(paste)' via root explorer or some other app...also set permissions to rw-r-r
For Permissions: Image Provided.
there are two files.
1. Internal sd card as the default
2. Microsd card as Default
THIS IS NOT A FLASH-ABLE ZIP. PLEASE EXTRACT
Thanks to (tomatoman23)
Click to expand...
Click to collapse
it's don't work on CM10 by arco.
russian forum : http://4pda.ru/forum/index.php?showtopic=383411&st=240#entry17028209
Sent from my GT-I8150 using xda premium
sib_rock said:
it's don't work on CM10 by arco.
russian forum : http://4pda.ru/forum/index.php?showtopic=383411&st=240#entry17028209
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
How come its not working for you? What are steps you did?
I'm using external as default. Have you face Apollo or any music player force closed?
Sent from my GT-I8150 using xda premium
---------- Post added at 03:47 AM ---------- Previous post was at 03:43 AM ----------
When I see your edited vold.fstab is same as like I did manually before.
Sent from my GT-I8150 using xda premium
jassim007 said:
How come its not working for you? What are steps you did?
Click to expand...
Click to collapse
sorry, it's say other men:
1. Download "External sd card as default".
2. Extract vold.fstab
3. Copy(overwrite) it to "/etc"
4. Change permissions to rw-r--r--
5. Reboot
6. Got bootloop
sent from my SGW with MIUI
This doesn't work on arco's cm10 alpha1.I copied the vold.fstab with root explorer and set permissions like the image.And the phone stuck at bootanimation.Phone doesn't boot normally.
Or you could simply with the default file explorer in CM10, enable root acess and then navigate to system > etc > void.fstab and then change it to resemble this
# internal sdcard
dev_mount sdcard /storage/sdcard1 28 /devices/platform/msm_sdcc.2/mmc_host/mmc1
# externel sdcard
dev_mount external_sd /storage/sdcard0 auto /devices/platform/msm_sdcc.4/mmc_host/mmc2
Click to expand...
Click to collapse
Or you can use the one I included because some might be lazy, all you need to do now is change the permissions to rw-r--r-- (heres what it looks like if you are unsure)
VVO
VOO
VOO
V = Tick/select. O = Leave blank.
Reboot and your done.
LittleDoggy said:
Or you could simply with the default file explorer in CM10, enable root acess and then navigate to system > etc > void.fstab and then change it to resemble this
Or you can use the one I included because some might be lazy, all you need to do now is change the permissions to rw-r--r-- (heres what it looks like if you are unsure)
VVO
VOO
VOO
V = Tick/select. O = Leave blank.
Reboot and your done.
Click to expand...
Click to collapse
Can you tell me the different your attachment file with external default by OP's one???
Sent from my GT-I8150 using xda premium
temenalie said:
Can you tell me the different your attachment file with external default by OP's one???
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
No idea since the only thing I did to mine is as I shown in the quote and nothing else which I already swapped the storages and I didn't see what the OP posted but seeing as people have been having problems just thought I help out cause I got confused at first.
LittleDoggy said:
Or you could simply with the default file explorer in CM10, enable root acess and then navigate to system > etc > void.fstab and then change it to resemble this
Or you can use the one I included because some might be lazy, all you need to do now is change the permissions to rw-r--r-- (heres what it looks like if you are unsure)
VVO
VOO
VOO
V = Tick/select. O = Leave blank.
Reboot and your done.
Click to expand...
Click to collapse
Also stuck at boot animation
Update: I manage to get it work. I manually edit the file rather than placing the file using default file manager (I using solid explorer before the stuck in boot animation happens).
sib_rock said:
sorry, it's say other men:
1. Download "External sd card as default".
2. Extract vold.fstab
3. Copy(overwrite) it to "/etc"
4. Change permissions to rw-r--r--
5. Reboot
6. Got bootloop
sent from my SGW with MIUI
Click to expand...
Click to collapse
Which ROM are you using? This is only for CM10.
temenalie said:
I'm using external as default. Have you face Apollo or any music player force closed?
Sent from my GT-I8150 using xda premium
---------- Post added at 03:47 AM ---------- Previous post was at 03:43 AM ----------
When I see your edited vold.fstab is same as like I did manually before.
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
Even i have faced. For that just clear data in Appollo.
Did you extract the zip? To Sadikbircan
Sent from my GT-I8150 using xda app-developers app
Confirmed not working on PAC rom. Bootloop
Pressing "Thanks" button will be much appreciated if user's posts useful for you
LittleDoggy said:
Or you could simply with the default file explorer in CM10, enable root acess and then navigate to system > etc > void.fstab and then change it to resemble this
Or you can use the one I included because some might be lazy, all you need to do now is change the permissions to rw-r--r-- (heres what it looks like if you are unsure)
VVO
VOO
VOO
V = Tick/select. O = Leave blank.
Reboot and your done.
Click to expand...
Click to collapse
I have also used this vold.fstab (and followed the instructions) and my phone got stuck at the bootanimation. I will try to manually modify my vold.fstab.
Sent from my GT-I8150 using xda premium
I´m not into CM10 for now as CM9 is working well for me, but assuming the vold.fstab files provided by jassim007 are correct, you need to do the following to prevent the SGW to stick in a bootloop.
1) Use RootExplorer
2) Copy the file either to your external or internal Storage
3) Move the file to your device, but not the destination folder
4) Set permissions correctly
5) Copy to destination folder by overwriting the original vold.fstab
6) Reboot
reddvilzz said:
Confirmed not working on PAC rom. Bootloop
Pressing "Thanks" button will be much appreciated if user's posts useful for you
Click to expand...
Click to collapse
For PAC rom you can try this
jassim007 said:
Which ROM are you using? This is only for CM10.
Click to expand...
Click to collapse
it's say 3 men, whose use CM10 by arco
sent from my SGW with MIUI

[GUIDE] ODEX any 4.1.1 JB ROM from official OTA

This will essentially odex all files in your /system/framework and it will do it straight from the Android UI via my personal favorite app ... this is good because it frees up memory, makes UI transitions cleaner, and reduces DVM size.
NOTE: DO NOT TRY TO ODEX YOUR /SYSTEM/APP/ DIRECTORY THEN TRY TO ODEX USING THIS METHOD. YOU WILL HAVE A BAD DAY. 0_o framework must me odexed before system apps
1. download the odex.zip here --> PURPLE
2. extract all files with a file explorer, i prefer root explorer or fx file explorer
3. place the extracted folder and all of it's contents in /data/local/tmp ... so you should have /data/local/tmp/odex/+(misc files in new odex directory)
4. give the new directory and ALL contents FULL permissions - full read, write, and execute perms. You will need to set them all individually. the odex folder, and all contents. your file explorer, if it has taken you this far, should be able to accomplish this. Also, mount your system as writeable as well!
5. download this app TERMINAL EMULATOR dont worry it is free. open the app
Type the following commands - each new line should be executed with the enter key:
su (hit enter, it will ask for root)
/data/local/tmp/odex/odex (hit enter, you will see
you will see a bunch of outputs. there will be a message when it is done (honestly, like 10 seconds if that) saying something like "enjoy your hybrid ROM"
type "reboot recovery" (without the quotes)
device will boot into recovery immediately after you hit enter...
wipe cache and dalvik cache once more each, and reboot your device. PROFIT :good:
*Disclaimer - I don't take donations, just hit the thanks button, and the thanks button for anybody I mention in my thread.
typing su in doesn't request root permission. I am definitely rooted, not sure what's going on.
EDIT: Got it, the su was working but I didn't realize that it might just change from $ to # instead of asking for permission. I also had to grant not just the directory, but all of the files in the odex folder full permission, which might have just been a reading comprehension error on my part. Worked flawlessly after that. On Infamous 2.2
deadpass said:
typing su in doesn't request root permission. I am definitely rooted, not sure what's going on.
EDIT: Got it, the su was working but I didn't realize that it might just change from $ to # instead of asking for permission. I also had to grant not just the directory, but all of the files in the odex folder full permission, which might have just been a reading comprehension error on my part. Worked flawlessly after that. On Infamous 2.2
Click to expand...
Click to collapse
your super user app is probably set by default to allow access. also, i will update the OP to be a little more clear about setting the perms on the directory AND it's contents.
thanks
Forgot to mention that you have to mount your system to writeable.
Sent from my SGH-T999 using xda app-developers app
---------- Post added at 09:32 PM ---------- Previous post was at 09:18 PM ----------
Oh and the old odexme.apk works fine for odexing jb roms.
Sent from my SGH-T999 using xda app-developers app
TarHeelTrigger said:
Forgot to mention that you have to mount your system to writeable.
Sent from my SGH-T999 using xda app-developers app
---------- Post added at 09:32 PM ---------- Previous post was at 09:18 PM ----------
Oh and the old odexme.apk works fine for odexing jb roms.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Ah, yes. I need sleep. Lol
So... shouldn't I see "odex" files in /system/app?
So what's the difference between this and the app that does it automaticly?
Sent from my SGH-T999 using xda app-developers app
I'll wait for the app
Sent from my SGH-T999 using xda premium
scifan said:
So... shouldn't I see "odex" files in /system/app?
Click to expand...
Click to collapse
I don't see the .odex files either...
Sent from my SGH-T999
scifan said:
So... shouldn't I see "odex" files in /system/app?
Click to expand...
Click to collapse
Nabeel10 said:
I don't see the .odex files either...
Sent from my SGH-T999
Click to expand...
Click to collapse
This Odex's the files in your /system/framework
NOT /system/app
WarlockW said:
This Odex's the files in your /system/framework
NOT /system/app
Click to expand...
Click to collapse
Ok, that explains a few things... I'd expected the /system/app folder to also be odexed
Think I restored from Nandroid because I couldn't tell what changed....
Sent from my SGH-T999 using Tapatalk 2
scifan said:
So... shouldn't I see "odex" files in /system/app?
Click to expand...
Click to collapse
No, you shouldn't, because this odexes /system/framework/* not /system/app/*.all
Also, please for the love of hot Asian women people... please read the directions carefully in the OP lol...
If you have used the odex me app... don't use this method... if you odex your system apps, THEN try to odex framework after, you will have issues.
cobraboy85 said:
No, you shouldn't, because this odexes /system/framework/* not /system/app/*.all
Also, please for the love of hot Asian women people... please read the directions carefully in the OP lol...
If you have used the odex me app... don't use this method... if you odex your system apps, THEN try to odex framework after, you will have issues.
Click to expand...
Click to collapse
Understood. Don't odex system apps BEFORE odexing framework, but can we odex system apps AFTER odexing /system/framework? Or better yet, is there any reason to odex system apps after odexing /system/framework?
Thanks in advance for your reply!
__McB__ said:
Understood. Don't odex system apps BEFORE odexing framework, but can we odex system apps AFTER odexing /system/framework? Or better yet, is there any reason to odex system apps after odexing /system/framework?
Thanks in advance for your reply!
Click to expand...
Click to collapse
Yes after you odex your framework you can odex system apps.
The main thing about odexing is your apps load faster and it frees up memory in your /data/ partition because you are removing a good chunk of dalvik cache.
Also does improve performance just a tick, by that I mean general UI responsiveness is improved.
Thanks!
just for the sgh3 or would any work like sgh2?
wondering if this would work for the s2 :fingers-crossed:
DAD12345 said:
wondering if this would work for the s2 :fingers-crossed:
Click to expand...
Click to collapse
No it won't.
Boot class path is different.
But if you change that part in the script it will work.
Will this work on all jb roms. Like 4.2 or is it just for s3 4.1?
sent via note 2 in boss mode @ quad core 1.9ghz
Didn't work for me and the dude was so rude that I asked really made me like unfollow him
Sent from my SGH-T989 using xda app-developers app
It didn't really work, and I gave full permissions as well, should I try again?
Sent from my SGH-T999

swap internal and external SD cards

I made this post over in the HellyBean thread as one user was asking about it, and I decided I would post it in an easier to find place.
Basically it is a shell script that you can toss into /data/loca/userinit.d (if your ROM supports userinit.d, otherwise throw it in /system/etc/init.d) that will swap your internal and external SD cards.
Using this script is at your own risk. Any bricks, fires, alien invasions, etc are not my fault... well, unless they are. I have run this script on my phone and it seems to do as I claim it does.
This script has ONLY been tested on a SGH-T989D phone running the ROM Hellybean on Android 4.3. Based on my memory, I believe this should work on 4.2.2 ROMs as well and should not be dependant on one specific ROM. If you wish to make sure it will work with your ROM, run the following command from the shell/terminal:
mount | grep sdcard
if you see /dev/block/vold/179:97 and /dev/block/vold/179:28 and tempfs as your 3 SD cards, you are good to go. If you get any different values, this script will NOT work for you unless you modify it to match your values. I STRONGLY recommend you check your mount points before running the script as mounting an incorrect partition to your SD card (internal or external) can do unexpected things. If you unintentionally mount your recovery or boot, you could easily corrupt these. I accept no responsibility if anything goes wrong. Make sure you do all of this as root as well where applicable.
STEPS:
1) backup your internal and external SD cards
2) take a nandroid (never hurts to do a nandroid before making a startup script)
3) download the zip file and extract the swapsd.sh file (NOTE: this is NOT a flashable zip. do NOT attempt to flash this from recovery. If you do, you do so at your own risk)
4) copy the script to your phone (however you wish to do that is up to you)
OPTIONAL STEPS
5) copy the script to /data/local
6) run the script
7) verify that your internal and external SD cards are swapped
END OF OPTIONAL STEPS
8) do one of the following:
8A) copy the script to /data/loca/userinit.d
8B) copy the script to /system/etc/init.d (NOTE: you will need to mount /system as RW)
9) change the permissions on the file to 755 (or rwxr-xr-x)
10) reboot and your SD cards will be swapped.
I strongly recommend doing the optional steps as if they fail for any reason, then you do NOT want to run this as a boot script.
Below is the script if you are curious what it is actually doing:
#/sys/xbin/bash
while [ `mount | grep -c sdcard` -lt 3]
do
sleep 10
done
umount /storage/sdcard0/.android_secure
umount /storage/sdcard0
umount /storage/sdcard1
mount /dev/block/vold/179:97 /storage/sdcard0
mount /dev/block/vold/179:28 /storage/sdcard1
mount -t tmpfs -o ro,seclabel,size=0k,mode=000 tmpfs /storage/sdcard0/.android_secure
man how do this does it work really want it kinda lost on how to do it
astonmartin214 said:
man how do this does it work really want it kinda lost on how to do it
Click to expand...
Click to collapse
Pretty easy... copy the files in the attached zip to /data/local/userinit.d if your kernel supports it...otherwise out it at /system/etc/init.d
I would first try running it from anywhere to verify works for though
Sent from my SM-T310 using xda app-developers app
bmg002 said:
Pretty easy... copy the files in the attached zip to /data/local/userinit.d if your kernel supports it...otherwise out it at /system/etc/init.d
I would first try running it from anywhere to verify works for though
Sent from my SM-T310 using xda app-developers app
Click to expand...
Click to collapse
don't get it still lost wish U could make a video of it
astonmartin214 said:
don't get it still lost wish U could make a video of it
Click to expand...
Click to collapse
I'll see what I can do... won't be very exciting as it is all command prompt crap...
Want me to write a pc app for it?
I'll need to look up the rules for distributing adb...
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
astonmartin214 said:
don't get it still lost wish U could make a video of it
Click to expand...
Click to collapse
What part are you stuck at?
can't find the data/local or the file
astonmartin214 said:
can't find the data/local or the file
Click to expand...
Click to collapse
es file explorer then hit the second button on top to get to device, the folder is under there....might have to hit it twice
Your probably overthinking it, I looked it over and the longest process is making a backup...
what rom r u using?
ill walk u step by step if need be....
minlo said:
es file explorer then hit the second button on top to get to device, the folder is under there....might have to hit it twice
Your probably overthinking it, I looked it over and the longest process is making a backup...
what rom r u using?
ill walk u step by step if need be....
Click to expand...
Click to collapse
I'm running carbon ROM & I use es file
astonmartin214 said:
I'm running carbon ROM & I use es file
Click to expand...
Click to collapse
Did you find device with steps given?
keep in mind the carbon i bleave you running it kkat n mod steps are 4.3 based, not sure if it matters but wanted to that out....
minlo said:
Did you find device with steps given?
Click to expand...
Click to collapse
yes I did
go to data then local
reply back
---------- Post added at 08:52 PM ---------- Previous post was at 08:50 PM ----------
place unzipped scrpt file there
Run script file
I hope you already made ur backups as stated by op
---------- Post added at 09:04 PM ---------- Previous post was at 08:52 PM ----------
astonmartin214 said:
yes I did
Click to expand...
Click to collapse
still with me?
the optional steps are to verify compatibility i bleave
minlo said:
go to data then local
reply back
---------- Post added at 08:52 PM ---------- Previous post was at 08:50 PM ----------
place unzipped scrpt file there
Run script file
I hope you already made ur backups as stated by op
---------- Post added at 09:04 PM ---------- Previous post was at 08:52 PM ----------
still with me?
the optional steps are to verify compatibility i bleave
Click to expand...
Click to collapse
don't really care about backups
astonmartin214 said:
don't really care about backups
Click to expand...
Click to collapse
yeah i keep my first backup and ddriver backup
but if something happens LOL u were warned!
Did u run the script?
what's next
astonmartin214 said:
what's next
Click to expand...
Click to collapse
did they swap? i cant see the screenies good on my phone
one way to tell i bleave is settings, storage
if so we are on step 8 to make it permanant....
I dont have 8a but i have 8b on jedi rom....
hit settings in es file exp, go to root explorer, pick mount system rw
place script in location stated on 8b....
reply back
astonmartin214 said:
what's next
Click to expand...
Click to collapse
The screenshots you attached do not really show much. The root folder contents should not change, but /storage/sdcard0 and /storage/sdcard1 should change contents.
What should happen after running the script (if it was successful, I found with later builds of HellyBean I needed to do a lazy unmount and to use busybox to unmount it) is /storage/sdcard0 and /storage/sdcard1 should swap contents. So sdcard0 is normally your INTERNAL memory and sdcard1 is normally your EXTERNAL memory, so running the command should swap them.
I have not tested it on kitkat, but I believe it should work. I know that later jellybean builds used vold devices instead of mmcblk devices, but I don't think that kitkat would have removed the mmcblk device.
If you like, I can update the script to use busybox and a lazy unmount? I know to remount /data you need to use a lazy unmount as it is in use.
bmg002 said:
The screenshots you attached do not really show much. The root folder contents should not change, but /storage/sdcard0 and /storage/sdcard1 should change contents.
What should happen after running the script (if it was successful, I found with later builds of HellyBean I needed to do a lazy unmount and to use busybox to unmount it) is /storage/sdcard0 and /storage/sdcard1 should swap contents. So sdcard0 is normally your INTERNAL memory and sdcard1 is normally your EXTERNAL memory, so running the command should swap them.
I have not tested it on kitkat, but I believe it should work. I know that later jellybean builds used vold devices instead of mmcblk devices, but I don't think that kitkat would have removed the mmcblk device.
If you like, I can update the script to use busybox and a lazy unmount? I know to remount /data you need to use a lazy unmount as it is in use.
Click to expand...
Click to collapse
I think we lost him LOL
2nd time this week tried helping some noobs and they dissappear...
minlo said:
I think we lost him LOL
2nd time this week tried helping some noobs and they dissappear...
Click to expand...
Click to collapse
Lol or he figured it out... I hope that is the case
Sent from my SM-T310 using xda app-developers app

Categories

Resources