HTC 816 how to modify the platform.xml file with out breaking the system protection - Desire 816 General

the Other modules for updating the platform.xml file is bit complex and risky....
below are the steps which is easy and safe
advantages ::
1) you can save the Kernel, from any modifications..
2) you still can keep the system protection ON and dont have to break it
Friends...
here is the workaround i Did and succeeded.....
note : 1 ) rooted mobile 2) should have installed twrp recovery in the mobile... 3) terminal emulator for android installed
1) I made a copy of platform.xml in my sd card and copied to PC
2) edited the platform.xml using note++ in my pc like below...
<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
</permission>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORA GE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="sdcard_all" />
<group gid="media_rw" />
</permission>
3) copied the modifed file again to sd card of the phone
4) modify the ownership and permission of platform.xml for mobile requirement ::
i) use the terminal emulator for android
ii) open the term
( i) type the following a) su b) cd /ext_sdcard/path/ c) ls -l |grep -i plat
d) chown root:root platform.xml e) chmod 644 platform.xml f) ls -l |grep -i plat --> verify if the permission is ( rw-r-r root root )
4) rebooted the mobile to twrp recovery
5) using mount option mount system & sd card
6) using advanced option, go to filemanager and /system/etc/permissions/ select the file ( platform.xml)
i) it will show special menu rename the original platform.xml to platform.xml.org
7) go back to filemanager, /ext_sdcard/path..../ copy the platform.xml from sdcard to /system/etc/permissions/ ( system location )
8) using chmod change the permission to 0644 ( check the owner information too, skip if the 4 step is completed )
9) reboot the mobile...
10) you can see any applications requiring sd card access will be happy & not annoying about the write permission on the sd card...
11) you can verify if the file has been modified or not by using the terminal emulator
i) use the terminal emulator for android
ii) open the term
i) type the following a) su b) cd /system/etc/permissions/ c) ls -l |grep -i plat d) cat platform.xml ( you can see the new entries in them )
12) if this fails, go back to twrp recovery and
remove or delete the newly added platform.xml and rename the original file to its former state....
Let me know if you succeed in this or need any help ....
:good::good::good::good::good::good::good::good::highfive::highfive::highfive::highfive::highfive::good::good::good::good::good:

hi SivasankarC,
give me your modify-platform-xml-file plesssss.....

kishorparmar said:
hi SivasankarC,
give me your modify-platform-xml-file plesssss.....
Click to expand...
Click to collapse
ok done ............
https://drive.google.com/file/d/0B-0MK7r6HDbzWmtTN2FYNTc3UEk/edit?usp=sharing
goodluck....

SivasankarC said:
ok done ............
https://drive.google.com/file/d/0B-0MK7r6HDbzWmtTN2FYNTc3UEk/edit?usp=sharing
goodluck....
Click to expand...
Click to collapse
---------------------
Thanks bro.......:good::good::good:
---------- Post added at 02:57 PM ---------- Previous post was at 02:20 PM ----------
hi SivasankarC,
terminal emulator staps is necessary ?
if I do this staps copy past your modify-platform-xml-file from twrp recovery
1- copy your modify-platform-xml-file to sd card
2- rebooted to twrp recovery
3-using mount option mounted system & sd card
4-using advanced option, renamed the original platform.xml to platform.xml.backup
5-copied the platform.xml from sdcard to system location
6- using chmod i changed the permission to 644
7-reboot the mobile
its working ?
thanks.

kishorparmar said:
---------------------
Thanks bro.......:good::good::good:
---------- Post added at 02:57 PM ---------- Previous post was at 02:20 PM ----------
hi SivasankarC,
terminal emulator staps is necessary ?
if I do this staps copy past your modify-platform-xml-file from twrp recovery
1- copy your modify-platform-xml-file to sd card
2- rebooted to twrp recovery
3-using mount option mounted system & sd card
4-using advanced option, renamed the original platform.xml to platform.xml.backup
5-copied the platform.xml from sdcard to system location
6- using chmod i changed the permission to 644
7-reboot the mobile
its working ?
thanks.
Click to expand...
Click to collapse
Yes that should do the magic......
after reboot...........
just check this
i) type the following a) su b) cd /system/etc/permissions/ c) ls -l |grep -i plat
both the platform files should be having same permissions.... rw-r-r and root:root
check if application has the access to ext sd card.....

SivasankarC said:
Yes that should do the magic......
after reboot...........
just check this
i) type the following a) su b) cd /system/etc/permissions/ c) ls -l |grep -i plat
both the platform files should be having same permissions.... rw-r-r and root:root
check if application has the access to ext sd card.....
Click to expand...
Click to collapse
----------------------
thanks.

hi SivasankarC
Its Possible we Swap Internal and External Memory on rooted htc 816 ?

kishorparmar said:
hi SivasankarC
Its Possible we Swap Internal and External Memory on rooted htc 816 ?
Click to expand...
Click to collapse
I am pretty much sure, that can be done........... filesystem entries has to be modified... and might be many other short cuts has to be re-linked.....
but i have not done that............ it might ruin the speed and possibly corrupt....
use a good sd card ( i use samsung pro card ) and use folder mount application buy pro....
phone should be rooted,,,,
after any application is installed in the device....
1) manually stop the application from apps->services....
2) use root explorer to move the entire content of the apps to sd card....
3) use folder mount app to create a link to directory....
4) start the apps....
( i used in NFS MW moved the 2 gb data to sdcard and base app in internal mem game is working good no issues )
by doing this, you can have the apps in sd card, with the internal memory free....
some basic apps like players.... etc if installed in internal memory will have good response time....
but having entire apps in sd card... hmmm i dont recommend....

hi SivasankarC,
thanks for reply....:laugh:

SivasankarC said:
the Other modules for updating the platform.xml file is bit complex and risky....
below are the steps which is easy and safe
advantages ::
1) you can save the Kernel, from any modifications..
2) you still can keep the system protection ON and dont have to break it
Friends...
here is the workaround i Did and succeeded.....
note : 1 ) rooted mobile 2) should have installed twrp recovery in the mobile... 3) terminal emulator for android installed
1) I made a copy of platform.xml in my sd card and copied to PC
2) edited the platform.xml using note++ in my pc like below...
<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
</permission>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORA GE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="sdcard_all" />
<group gid="media_rw" />
</permission>
3) copied the modifed file again to sd card of the phone
4) modify the ownership and permission of platform.xml for mobile requirement ::
i) use the terminal emulator for android
ii) open the term
( i) type the following a) su b) cd /ext_sdcard/path/ c) ls -l |grep -i plat
d) chown root:root platform.xml e) chmod 644 platform.xml f) ls -l |grep -i plat --> verify if the permission is ( rw-r-r root root )
4) rebooted the mobile to twrp recovery
5) using mount option mount system & sd card
6) using advanced option, go to filemanager and /system/etc/permissions/ select the file ( platform.xml)
i) it will show special menu rename the original platform.xml to platform.xml.org
7) go back to filemanager, /ext_sdcard/path..../ copy the platform.xml from sdcard to /system/etc/permissions/ ( system location )
8) using chmod change the permission to 0644 ( check the owner information too, skip if the 4 step is completed )
9) reboot the mobile...
10) you can see any applications requiring sd card access will be happy & not annoying about the write permission on the sd card...
11) you can verify if the file has been modified or not by using the terminal emulator
i) use the terminal emulator for android
ii) open the term
i) type the following a) su b) cd /system/etc/permissions/ c) ls -l |grep -i plat d) cat platform.xml ( you can see the new entries in them )
12) if this fails, go back to twrp recovery and
remove or delete the newly added platform.xml and rename the original file to its former state....
Let me know if you succeed in this or need any help ....
:good::good::good::good::good::good::good::good::highfive::highfive::highfive::highfive::highfive::good::good::good::good::good:
Click to expand...
Click to collapse
Thank you so much for this mate. Helped a lot and saved me a lot of trouble

Plz Help
Im a noob and im not getting how to go through this step can sum1 guide me in detail. my 816 is rooted
---------- Post added 27th July 2014 at 12:04 AM ---------- Previous post was 26th July 2014 at 11:49 PM ----------
i used xposed and downloaded sd fix module from it and now i can del and copy files from sd card but in tube mate im not able to download videos directly to sd card. will replacing platform.xml wrk for me?

Just copy the file and everything will work.It work on my phone l edit file myself...
Sent from LG 4X HD using Tapatalk 2

kishorparmar said:
---------------------
Thanks bro.......:good::good::good:
---------- Post added at 02:57 PM ---------- Previous post was at 02:20 PM ----------
hi SivasankarC,
terminal emulator staps is necessary ?
if I do this staps copy past your modify-platform-xml-file from twrp recovery
1- copy your modify-platform-xml-file to sd card
2- rebooted to twrp recovery
3-using mount option mounted system & sd card
4-using advanced option, renamed the original platform.xml to platform.xml.backup
5-copied the platform.xml from sdcard to system location
6- using chmod i changed the permission to 644
7-reboot the mobile
its working ?
thanks.
Click to expand...
Click to collapse
Thanks!
Yes it's working at HTC Desire 601 zara ul 4.4.2 rooted s-on

Thx bro
Sent from my D816w using XDA Free mobile app

Thank you kindly my good man.
I used this trick to edit the default.xml file
Changed the rule from 2 to 0
Confirm free WIFI Tethering now working. Very handy trick when you do not have S-off. :good:
Edit: WIFI Hotspot appeared to be working but there is actually no internet connection. Not sure if that's a tethering guard apk issue?

I make easy way to do it
You can flash this zip on your recovery
My recovery is CWM
So it pass I test yet but I want you to test it too
:fingers-crossed::fingers-crossed:

biwajung said:
i make easy way to do it
you can flash this zip on your recovery
my recovery is cwm
so it pass i test yet but i want you to test it too
:fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
it did not work

biwajung said:
I make easy way to do it
You can flash this zip on your recovery
My recovery is CWM
So it pass I test yet but I want you to test it too
:fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
Hi biwajung,
I used your flashable .zip (I'm on CWM as well)
It flashed successfully but I'm not sure if it work.
I punched the below into terminal emulator and saw this (screenshot attached)? Does that mean it worked or no? Sorry for the dumb question?
View attachment 2959901

Sivasankar
I currently have 5.36gb of "other" on the internal storage. We're you able to move 2gb of that to your SD card or did you move the "apps" ? I have about 1gb of apps on the internal storage. I was just wondering which 2gb you were able to move to the SD card? It would be awesome if you could provide a step by step how you moved the 2gb to the SD card......thanks.
Sent from my 710C using XDA Free mobile app

i've do it already verygood

Related

[Q] (MiRaGe-KANG build dual boot) How do I set the emmc OS to see uSD p6?

B&N is flashing the emmc 1.4.1 system build for me tomorrow,
when that is done, I need to tell that OS when its booted,
it should find /sdcard (the standard fat32 external storage
filesystem) on the last hardware partition on the uSD card
(which I think is p6?).
I wondered if I can mount from either of the 2 OSes on the card,
the emmc /system partition (say via root explorer or a terminal
emulator or adb shell) to edit its /system/etc/vold.fstab to point
to the correct partition?
Is there a defined way to edit the emmc system from a sdcard
based system, or do I have to root the emmc OS to edit it?
Can I 'adb pull' the file, edit it on windows and 'adb push'
it back to /system, (or does it require rooting to turn on 'usb
debugging' to enable adb)?
I already expanded the the last partition with EASYUS to fill the card.
fuzzynco said:
B&N is flashing the emmc 1.4.1 system build for me tomorrow,
when that is done, I need to tell that OS when its booted,
it should find /sdcard (the standard fat32 external storage
filesystem) on the last hardware partition on the uSD card
(which I think is p6?).
I wondered if I can mount from either of the 2 OSes on the card,
the emmc /system partition (say via root explorer or a terminal
emulator or adb shell) to edit its /system/etc/vold.fstab to point
to the correct partition?
Is there a defined way to edit the emmc system from a sdcard
based system, or do I have to root the emmc OS to edit it?
Can I 'adb pull' the file, edit it on windows and 'adb push'
it back to /system, (or does it require rooting to turn on 'usb
debugging' to enable adb)?
I already expanded the the last partition with EASYUS to fill the card.
Click to expand...
Click to collapse
Yeah, quite simple.
From your CM7 rom.
-Use root explorer and browse to /mnt.
-In the /mnt folder create a folder called /nsystem
-Now open up terminal emulator and perform the following commands
Code:
$ su
# mount /dev/block/mmcblk0p5 /mnt/nsystem
-Now go back to root explorer and browse to /mnt/nsystem/etc
-I think you have to mount it as r/w and then long press on vold.fstab
-Edit the sdcard mount from "auto" to "7", not 6. It has to be "7"
-Save it and make sure you exit out of root explorer. Not just pushing the home button, but choosing exit from the menu
-Go back to terminal and it should bring you back to where you left off and type in the following commands
Code:
# umount /mnt/nsystem
# exit
$
-Now you can reboot to the stock rom and it should be able to share the same sdcard partition as your dualbootsd
Racks
racks11479 said:
Yeah, quite simple.
From your CM7 rom.
-Use root explorer and browse to /mnt.
-In the /mnt folder create a folder called /nsystem
-Now open up terminal emulator and perform the following commands
Code:
$ su
# mount /dev/block/mmcblk0p5 /mnt/nsystem
-Now go back to root explorer and browse to /mnt/nsystem/etc
-I think you have to mount it as r/w and then long press on vold.fstab
-Edit the sdcard mount from "auto" to "7", not 6. It has to be "7"
-Save it and make sure you exit out of root explorer. Not just pushing the home button, but choosing exit from the menu
-Go back to terminal and it should bring you back to where you left off and type in the following commands
Code:
# umount /mnt/nsystem
# exit
$
-Now you can reboot to the stock rom and it should be able to share the same sdcard partition as your dualbootsd
Racks
Click to expand...
Click to collapse
That's exactly what I needed.
Is holding the hard key (N) supposed
to display a menu? The effects I saw were
normal boot (CM7), both volume keys (CM9)
and N key CWM Recovery.
B&N decided they have to replace the device, (store tech said
TPTB required them to stop using the repartitionin uSD cards they
were using). Since they can't reflash, they agreed to send a .replacement)

[HOWTO] - Deodex & ZipAlign any ROM - More RAM, More Space, More Speed!

Hi all,
I have managed to deodex and zipalign my rooted I8190XXALL2_I8190OXXALL1 ROM in my smartphone, so thought i would share it here.
Follow all the instructions carefully. I will not be held responsible in any manner if your smartphone doesn’t boot up or gets bricked due to not following the instructions.
Please make sure -
1. Your smartphone is already rooted (flash one of the rooted rom's founded here)
2. Download and install Busybox Installer latest version.
3. Make sure you already have Java SE Development Kit and Android SDK installed on your computer.
Install them to the default choice on the C: drive.
4. You should also have a basic knowledge of ADB.
Required Downloads -
1. xUltimate version 2.4.2 – Link. You may have to Google for the correct version to download. Extract it to C:\xUltimate-v2.4.2.
Instructions –
1. Connect your smartphone to your computer. (Make sure you have selected USB debugging in Settings>Applications>Development)
2. Open a command prompt as administrator. Wait for Window to appear.
3. Change Directory to C:\xUltimate-v2.4.2
4. Launch main.exe.
5. If everything goes well xUltimate should recognize the smartphone and make a connection. You should now see a list of options.
6. Select option (1) pull /system/app. Wait until it completes.
7. Select option (2) pull /system/framework. Wait until it completes.
8. Then select option (3) Deodex /system/app. Wait until it complete.
[If encounter any error. Find out which .odex file is it. Then remove .odex file from folder origi_app in xUltimate folder.
If you encounter the error “ ‘java’ is not recognized as an internal or external command, operable or batch file” see Note below.]
9. Then select option (4) Deodex /system/framework. Wait until it complete.
10. Now Exit from xUltimate.
11. Disconnect and connect your smartphone. Your PC should open a Window for you to view your files.
12. Go to C:\xUltimate-v2.4.2 folder and copy “done_frame”, and “done_app”, and move them to the root of the internal sdcard. Don’t copy them to your external sdcard
14. Now safely eject your smartphone from the PC.
15. Click on My Computer and find the directory where Android SDK is installed (on my PC it is in C:\Program Files (x86)\Android\android-sdk\. Then go to the ‘platform-tools’ folder in it. Right click on any free space in folder while pressing shift key. Select ‘open command prompt here’.
16. Reconnect the smartphone to your PC in USB debugging mode.
17. Now enter the following commands (if you are using adb shell in su for the first time, keep smartphone screen on).
adb shell (this should recognize your device)
su
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
18. Your smartphone will reboot and perform an automatic Android update. You have now deodexed/zipaligned the ROM on your smartphone.
NOTE
I only tried this on my I8190 with ROM I8190XXALL2 - I8190XXALL1 BTU Rooted.
At Step 8, (running Option 3), if you encounter the error “ ‘java’ is not recognized as an internal or external command, operable or batch file” then xUltimate can’t find the PATH to your ‘java’ command.
To add the location of Java to your PATH do this:
Right-click on ‘My Computer’ (or Computer for Vista) and choose ‘Properties’.
Navigate to the ‘Advanced’ tab (or for Vista/7/8, click 'Advanced System Settings’ on the left, then find the ‘Advanced’ tab)
Click ‘Environment Variables’
Under System Variables, find 'Path' and click Edit...
DO NOT ERASE OR REPLACE THE CONTENTS OF THIS. YOU ARE SIMPLY GOING TO ADD TO IT.
At the very end of the text field, add a semicolon [ ; ] and add the location of java.exe.
On my Windows 64-bit system this is in “c:\program files\java\jdk1.7.0_06\bin” . For others it might be "c:\program files\java\jre7\bin". I seem to have java.exe in both locations but only the first one worked for the batch file in xUltimate.
Then ‘Okay’ that to save the addition and come out of ‘Properties’
Batch files will now be able to find java.exe without you modifying the batch file.
*************************************************************************************
If for some reason you can't deodex and zipalign apps and framework with xUltimate, ive uploaded them for your use:
done_app
done_frame
They were deoxeded and zipaligned from ROM I8190XXALL2 - I8190XXALL1 BTU Rooted
*************************************************************************************
I followed the above and it works. I used Root Explorer to check my smartphone and all the .odex files have gone, i have more memory available, and smartphone seems faster!
infected_
Well you'll get more ram and deode xing opens a whole new of theming possibilities but it won't be as fast as odexed rom even though zipaligned !
nikufellow said:
Well you'll get more ram and deode xing opens a whole new of theming possibilities but it won't be as fast as odexed rom even thigh zipaligned !
Click to expand...
Click to collapse
I get more RAM thats what i like and more space..! i dont care about theming... but i guaranty that the phone seems faster deoxed and zipaligned...
infected_ said:
I get more RAM thats what i like and more space..! i dont care about theming... but i guaranty that the phone seems faster deoxed and zipaligned...
Click to expand...
Click to collapse
I do not doubt you mate i just posted what i knew from my experience ! Stay with deodexed Rom for few more days/weeks and then temporarily try coming back to odexed stock and you'll know the difference
Sent from a hybrid phablet !
i just didn't find a way no recompile system.img in windows.... or else i had made a pretty cool rom and fast whit android kitchen 0.208... :silly:
Don't give up we need Roms
Sent from a hybrid phablet !
i can compile cm or aokp if u want
Yes please.
Sent from my GT-I8190 using xda premium
Shapeshift said:
i can compile cm or aokp if u want
Click to expand...
Click to collapse
can you decompile system.img from this latest 4.1.1 rooted rom I8190XXALL2_I8190OXXALL1_BTU and replace /system/app/* and /system/framework/* with the deodexed and zipaligned apk's:
done_app
done_frame
and then compile into odin flashable *.tar.md5 ?!
infected_ said:
Hi all,
I have managed to deodex and zipalign my rooted I8190XXALL2_I8190OXXALL1 ROM in my smartphone, so thought i would share it here.
Follow all the instructions carefully. I will not be held responsible in any manner if your smartphone doesn’t boot up or gets bricked due to not following the instructions.
Please make sure -
1. Your smartphone is already rooted (flash one of the rooted rom's founded here)
2. Download and install Busybox Installer latest version.
3. Make sure you already have Java SE Development Kit and Android SDK installed on your computer.
Install them to the default choice on the C: drive.
4. You should also have a basic knowledge of ADB.
Required Downloads -
1. xUltimate version 2.4.2 – Link. You may have to Google for the correct version to download. Extract it to C:\xUltimate-v2.4.2.
Instructions –
1. Connect your smartphone to your computer. (Make sure you have selected USB debugging in Settings>Applications>Development)
2. Open a command prompt as administrator. Wait for Window to appear.
3. Change Directory to C:\xUltimate-v2.4.2
4. Launch main.exe.
5. If everything goes well xUltimate should recognize the smartphone and make a connection. You should now see a list of options.
6. Select option (1) pull /system/app. Wait until it completes.
7. Select option (2) pull /system/framework. Wait until it completes.
8. Then select option (3) Deodex /system/app. Wait until it complete.
[If encounter any error. Find out which .odex file is it. Then remove .odex file from folder origi_app in xUltimate folder.
If you encounter the error “ ‘java’ is not recognized as an internal or external command, operable or batch file” see Note below.]
9. Then select option (4) Deodex /system/framework. Wait until it complete.
10. Now Exit from xUltimate.
11. Disconnect and connect your smartphone. Your PC should open a Window for you to view your files.
12. Go to C:\xUltimate-v2.4.2 folder and copy “done_frame”, and “done_app”, and move them to the root of the internal sdcard. Don’t copy them to your external sdcard
14. Now safely eject your smartphone from the PC.
15. Click on My Computer and find the directory where Android SDK is installed (on my PC it is in C:\Program Files (x86)\Android\android-sdk\. Then go to the ‘platform-tools’ folder in it. Right click on any free space in folder while pressing shift key. Select ‘open command prompt here’.
16. Reconnect the smartphone to your PC in USB debugging mode.
17. Now enter the following commands (if you are using adb shell in su for the first time, keep smartphone screen on).
adb shell (this should recognize your device)
su
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
18. Your smartphone will reboot and perform an automatic Android update. You have now deodexed/zipaligned the ROM on your smartphone.
NOTE
I only tried this on my I8190 with ROM I8190XXALL2 - I8190XXALL1 BTU Rooted.
At Step 8, (running Option 3), if you encounter the error “ ‘java’ is not recognized as an internal or external command, operable or batch file” then xUltimate can’t find the PATH to your ‘java’ command.
To add the location of Java to your PATH do this:
Right-click on ‘My Computer’ (or Computer for Vista) and choose ‘Properties’.
Navigate to the ‘Advanced’ tab (or for Vista/7/8, click 'Advanced System Settings’ on the left, then find the ‘Advanced’ tab)
Click ‘Environment Variables’
Under System Variables, find 'Path' and click Edit...
DO NOT ERASE OR REPLACE THE CONTENTS OF THIS. YOU ARE SIMPLY GOING TO ADD TO IT.
At the very end of the text field, add a semicolon [ ; ] and add the location of java.exe.
On my Windows 64-bit system this is in “c:\program files\java\jdk1.7.0_06\bin” . For others it might be "c:\program files\java\jre7\bin". I seem to have java.exe in both locations but only the first one worked for the batch file in xUltimate.
Then ‘Okay’ that to save the addition and come out of ‘Properties’
Batch files will now be able to find java.exe without you modifying the batch file.
*************************************************************************************
If for some reason you can't deodex and zipalign apps and framework with xUltimate, ive uploaded them for your use:
done_app
done_frame
They were deoxeded and zipaligned from ROM I8190XXALL2 - I8190XXALL1 BTU Rooted
*************************************************************************************
I followed the above and it works. I used Root Explorer to check my smartphone and all the .odex files have gone, i have more memory available, and smartphone seems faster!
infected_
Click to expand...
Click to collapse
Make it for pll or rename the thread "INFO OR HOWTO"
Great info thx m8
Sent from my GT-I8190 using XDA Premium App
The done_app link is broken..
JoFury said:
The done_app link is broken..
Click to expand...
Click to collapse
just tried it now... its working.
https://dl.dropbox.com/u/17735355/done_app.rar
https://dl.dropbox.com/u/17735355/done_frame.rar
Is this SIII Mini specific or Any phone and any rom?? THAN-Q.
NHS2008 said:
Is this SIII Mini specific or Any phone and any rom?? THAN-Q.
Click to expand...
Click to collapse
any device running on an odexed Rom
why fix it if it ain't broken ?
nikufellow said:
any device running on an odexed Rom
why fix it if it ain't broken ?
Click to expand...
Click to collapse
Thank you for the answer...
Sent from infected_ s3 mini i8190
nikufellow said:
any device running on an odexed Rom
why fix it if it ain't broken ?
Click to expand...
Click to collapse
Even the L version?
i have a 4.1.2 Faria ROM in my S3 galaxy mini. I can do this?
generalriden said:
i have a 4.1.2 Faria ROM in my S3 galaxy mini. I can do this?
Click to expand...
Click to collapse
I don't advise you... faria's rom is already zipaligned.
infected_ said:
I don't advise you... faria's rom is already zipaligned.
Click to expand...
Click to collapse
I have problem from
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
Click to expand...
Click to collapse
and after searche on Google find another thread like this and i see diferant methode can you pleas see and explain i try with this http://forum.xda-developers.com/showthread.php?t=1688211 method this night and feed if worked but if you see we have diferant commande now i know need to change
from
#mount -o remount,rw /dev/block/mmcblk0p9 /system
to
#mount -o remount,rw /dev/block/mmcblk0p22 /system
i try and feed if worked later
thank for tut
hi, need some help. when i try to deodex, i got error "Error occured while loading boot class path files. Aborting. bla bla bla"
please help me

[Guide] Remove bloatware from Android phone

Hello,
I have found a way to remove unwanted applications from probably any Android phone with stock ROM (like Motorola Defy XT320). Linux console basics needed.
Procedure is safe as long as you know what you are doing.
However if you remove important applications you will damage your ROM. Some bloatware is needed by ROM.
I do not take responsibility. Experiment, but backup your phone first!
1) Root phone
2) Install and setup SSHDroid on the phone
3) Connect through ssh to your phone and login as root. Depending on system use putty (WIN) or console command ssh (LINUX).
command: su (login as root)
4) Find package of the aplication you want to remove
command: pm list packages (list packages installed in the phone)
command: pm path <PACKAGE> (use package name found in previous step to determine where the file is)
5) Move to this folder and change file access rights and move file to ie. SD card. Probably you will need to remount first folder applications are in. So if application is in /flex/app, then remount only /flex as below.
command: mount -o rw,remount /<FOLDER>
command: chmod 777 <FILENAME>
command: mv <FILENAME> /mnt/sdcard/
6) Probably we don't need this, but change access rights to the file and remount folder again.
command: chmod 644 <FILENAME>
command: mount -o ro,remount /<FOLDER>
7) Enjoy more internal memory on your phone! Comments welcome!
[Guide] Moving applications to SD card
You can also move heavy applications to SD card and still use them.
Not all applications may be moved this way. Some will disappear from application menu.
I do not take responsibility. Experiment, but backup your phone first!
command: mv <FILENAME> /mnt/sdcard/
command: ln -s <TARGET FILENAME> <APPLICATION FILENAME>
In my example I have moved 10MB Quickoffice from internal memory to SD card and created symlink in /flex/app folder:
mv Quick* /mnt/sdcard/app/
ln -s /mnt/sdcard/app/Quickoffice-Motorola-SP-5_0_104_V_Signed_2012-01-03_10-18-47.apk Quickoffice-Motorola-SP-5_0_104_V_Signed_2012-01-03_10-18-47.apk
Works like a charm!
I think that is easier to remove through root explorer.
pgreed said:
I think that is easier to remove through root explorer.
Click to expand...
Click to collapse
You are probably right. I bought my first Android phone two days earlier. Pieces of software I have tried were unsuccessful in removing bloatware. So I was looking for other way. Using console allows you to remove ie. default wallpapers or sounds. It frees some additional memory which is scarce in Defy Mini.

[CM10.1][KF Gen1] how to disable bluetooth in settings

We know that Kindle Fire 1st Gen doesn't have the bluetooth hardware. So while I was very excited about the official CM 10.1 build (otter), I thought that the bluetooth toggle is a bit of the eye sour in the Settings panel.
Here are the steps to get rid of it:
1) enable devleoper option
2) adb shell
3) mount -o remount,rw /system # you need to change a couple permission files
4) cd /system/etc/permissions/
5) vi android.hardware.bluetooth.xml and remove the line
Code:
<feature name="android.hardware.bluetooth" />
6) vi tablet_core_hardware.xml and remove the line
Code:
<feature name="android.hardware.bluetooth" />
7) reboot and you will find the unnecessary bluetooth toggle is gone.
Respond to the post if you have any questions.
I tried this but used Root Explorer. Worked great. Thanks!
Sent from my Xoom using Tapatalk 4

ROM for Moto x style Brasil edition dual sim

i am having Moto X style Brazil edition dual sim Retla 6.0
i have tried many Nougat​ Roms Like AICP ., RR , but none of them detected my Sim Card
plz any one help me and tell me about which Rom i Could flash on This varient
i Shall be very thankful .
I have the same problem @malkuu, have you fixed your phone?
richardtrle said:
I have the same problem @malkuu, have you fixed your phone?
Click to expand...
Click to collapse
Yes i have fixed that
richardtrle said:
I have the same problem @malkuu, have you fixed your phone?
Click to expand...
Click to collapse
Follow this
NOTE: This assumes that you have already setup ADB and Fastboot on your PC.
1- Boot your Android device into TWRP recovery.
2- Select Mount » and then select System from the list of partitions to mount the system partition and then go back.
3- Connect your device to the PC with an authentic USB cable.
4- Open a command window on the PC and issue the following command to pull build.prop file from the device:
adb pull /system/build.prop
The above command will download the build.prop file to your PC in the same directory where your command prompt is running from.
+ Tip: Make a copy of the build.prop file before you edit it so that you’ve a backup of the original file.
5. Open the build.prop file on your PC using the Notepad++ program.
6. Edit the build.prop file and add following lines to the Radio Section (or anywhere for that matter) and save it on the PC after making the changes.
This is the MAIN STEP TO FIXED FOR GET DUAL SIM
ro.fsg-id=emea_dsds
persist.radio.multisim.config=dsds
ro.telephony.ril.config=simactivation
7. Once you’ve saved the edits to the build.prop file, push it back to the device using the following command:
adb push build.prop /system/
8. Now set the correct permissions for the build.prop file with following commands (issue them one-by-one):
adb shell
cd system
chmod 644 build.prop
9. Once you’ve set the correct permission for build.prop file, reboot your device to system from TWRP’s Reboot » System option.
That’s it.
malkuu said:
Follow this
NOTE: This assumes that you have already setup ADB and Fastboot on your PC.
1- Boot your Android device into TWRP recovery.
2- Select Mount » and then select System from the list of partitions to mount the system partition and then go back.
3- Connect your device to the PC with an authentic USB cable.
4- Open a command window on the PC and issue the following command to pull build.prop file from the device:
adb pull /system/build.prop
The above command will download the build.prop file to your PC in the same directory where your command prompt is running from.
+ Tip: Make a copy of the build.prop file before you edit it so that you’ve a backup of the original file.
5. Open the build.prop file on your PC using the Notepad++ program.
6. Edit the build.prop file and add following lines to the Radio Section (or anywhere for that matter) and save it on the PC after making the changes.
This is the MAIN STEP TO FIXED FOR GET DUAL SIM
ro.fsg-id=emea_dsds
persist.radio.multisim.config=dsds
ro.telephony.ril.config=simactivation
7. Once you’ve saved the edits to the build.prop file, push it back to the device using the following command:
adb push build.prop /system/
8. Now set the correct permissions for the build.prop file with following commands (issue them one-by-one):
adb shell
cd system
chmod 644 build.prop
9. Once you’ve set the correct permission for build.prop file, reboot your device to system from TWRP’s Reboot » System option.
That’s it.
Click to expand...
Click to collapse
i did that but it didn't work for me
custom roms like AICP and lineage can't rocognize my simcards
what should i do then?
ehsan_991 said:
i did that but it didn't work for me
custom roms like AICP and lineage can't rocognize my simcards
what should i do then?
Click to expand...
Click to collapse
bro i am also using AICP rom u must edit build.prop correctly like when u add lines under radio section dont forget to add a blank space between radio section and the next section

Categories

Resources