Steps for update rom, root, battery fix & deodex [Photon locked] - Motorola Photon 4G

I want see exact percent in my battery icon, i tried some zip from user jokersax11 but i guess are for deodexed phones.
Thanks.
Check details in post 4.

Get the "Battery" app in the Play Store, the developer's name is Macropinch... shows the exact battery %..no root needed
Sent from my MB855 using xda premium

Details
1.- download e install rsd lite and ADB drivers
2.- go to: http://forum.xda-developers.com/showthread.php?t=1202666&page=109 an download 1FF-sunfire-user-2.3.4-4.5.1A-1_SUN-198_7-CM-release-keys-signed-Sprint-US.sbf.gz (extract it) and Stock Deodexed and Zipaligned 198_7 ROM Working Data
Power off your photon then put in rsd mode hold vol + & power button, connect it to usb port and flash with rsd lite.
3.- root with this package: http://www.mediafire.com/?195zmexjqjqvq0g for more details steps check this topic : http://forum.xda-developers.com/showthread.php?t=1819660
4.- Extract app & framework folders from Stock Deodexed and Zipaligned 198_7 ROM Working Data and copy to sdcard, enable in your photon USB Debugging by going to Settings > Applications > Development and checkmark USB Debugging option, connect your phone to the computer but do not mount SD Card or SD Ext.
5.- change to ADB dir and then execute:
adb shell
su
stop
mount -o rw,remount -t emmc /dev/block/mmcblk0p12 /system
cp /sdcard/app/* /system/app/
cp /sdcard/framework/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t emmc /dev/block/mmcblk0p12 /system
reboot
6.- Go to http://forum.xda-developers.com/showthread.php?t=1343807 and download Batterypercentstocklook.zip and extract services.jar and framework-res.apk and copy to sdcard/framework, then install with:
adb shell
su
stop
mount -o rw,remount -t emmc /dev/block/mmcblk0p12 /system
cp /sdcard/framework/services.jar /system/framework/
cp /sdcard/framework/framework-res.apk /system/framework/
mount -o ro,remount -t emmc /dev/block/mmcblk0p12 /system
reboot
7.- Done! You now have a Photon phone; updated, rooted, deodexed and show exact battery percent, but still locked.
Thanks.

Related

Farsi/arabic support (connecting the arabic letters together)

Froyo can show arabic letters but they are not connected ,any APK to support Arabic letters and connect the letters together ?
thanx in advance
I second this...
Patch your system with Streakdroid 1.7
Copy framework.jar from system\framework
patch it using arabic scripter from ce4arab Add the new framework.jar on Streakdroid 1.7 zip file then do master reset and patch it again
copy libwebcore.so to lib ( you will get it from the same page)
you will get connected letters
Jattal, Have you got a link to the arabic scripter?
how do u patch?
jattal said:
Patch your system with Streakdroid 1.7
Copy framework.jar from system\framework
patch it using arabic scripter from ce4arab Add the new framework.jar on Streakdroid 1.7 zip file then do master reset and patch it again
copy libwebcore.so to lib ( you will get it from the same page)
you will get connected letters
Click to expand...
Click to collapse
a step by step guide will be helpful
thanks.
here you go
http://arstreak.com/2011/03/20/dell-streak-froyo-2-2-2-build-345-with-arabic-how-to-for-all/
http://arstreak.com/
I would just like to add that most people are getting "cp not found error"
use the following commands after rooting and installing busybox
NOTE: what you download from the market is busybox installer... you will have to run it and then install busybox
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_frame/* /system/framework/
busybox rm /system/app/*.odex
busybox rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
Hope this helps.
amcolian said:
I would just like to add that most people are getting "cp not found error"
use the following commands after rooting and installing busybox
NOTE: what you download from the market is busybox installer... you will have to run it and then install busybox
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_frame/* /system/framework/
busybox rm /system/app/*.odex
busybox rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
Hope this helps.
Click to expand...
Click to collapse
Can this be done via root explorer thanks.
Unfortunately it cannot because your device will shutdown on changing the files and it won't be able to boot. The reason why the above commands work is that they freeze your phone in current state while the files are copied and deleted.
However as some adb commands do not run on android 2.2, you need busybox.
Sorry for the late reply, but I wasn't available for a while.
amcolian said:
I would just like to add that most people are getting "cp not found error"
use the following commands after rooting and installing busybox
NOTE: what you download from the market is busybox installer... you will have to run it and then install busybox
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
busybox cp /sdcard/done_app/* /system/app/
busybox cp /sdcard/done_frame/* /system/framework/
busybox rm /system/app/*.odex
busybox rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
Hope this helps.
Click to expand...
Click to collapse
Hello
thanks for the reply, i would like to ask you if this method could work for all android devices OR only Dell Streak?
as i have Xperia X10 and i just installed Miui ROM and the letters are not connected... what should i do?
thanks in advanced
LOOK HERE
maan1976 said:
Froyo can show arabic letters but they are not connected ,any APK to support Arabic letters and connect the letters together ?
thanx in advance
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=834683
does work for non rooted devices
jattal said:
Patch your system with Streakdroid 1.7
Copy framework.jar from system\framework
patch it using arabic scripter from ce4arab Add the new framework.jar on Streakdroid 1.7 zip file then do master reset and patch it again
copy libwebcore.so to lib ( you will get it from the same page)
you will get connected letters
Click to expand...
Click to collapse
hello man
does this method work for non rooted device
my device is still new
is there any other way for non rooted?
and please tell me what is the easiest way to root the device
thaaaaaank u sooooo much
regards

[Q] Deodex/adb help!

Ok I am on a rooted 345 us White dell streak.
I am trying to deodex. I have used the deo 1.2.1 deodexer in the xda forum thread for auto deodex 2.3.
I pulled all my apks and their odex files from the /system/app/ folder
and the jars and odex files from the /system/framework folder
I am trying to use adb to copy them from my sdcard to the correct folders, but when i reboot my phone hangs at the dell logo.
Hopefully someone can see what I am doing wrong.
I enter:
adb shell
su (then I allow permission on my phone)
mount -o rw,remount -t yaffs2 /dev/block/mtdblock6 /system
cp /sdcard/doneapk/* /system/app/
cp /sdcard/doneframework/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t yaffs2 /dev/block/mtdblock6 /system
reboot
what am i missing?
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
also u can find them here as i done this to intgrade arabic to streak its in done_app & done_fram
my rom 345
http://hotfile.com/dl/110981641/4de9442/arabic_streak_345_15380_00.7z.html
bump..
can you guys post a quick guide with steps on how to do this? How hard is it to go back and edit files later like services.odex? if it doesn't exist anymore?
I have no idea what bump means......forum noob obviously.
But if you search auto deodex 2.3 in xda forums it is under droidx forums.
So I changed the mount command to yaffs2 /dev/bkock/mtdblock6 where theirs is different because from what I understand, that is the streaks mount command for mounting.
But I will try the other path and see if it works. I will keep you updated when I try it later.
freepal08 said:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
also u can find them here as i done this to intgrade arabic to streak its in done_app & done_fram
my rom 345
http://hotfile.com/dl/110981641/4de9442/arabic_streak_345_15380_00.7z.html
Click to expand...
Click to collapse
so I tried your command path and no luck. still stuck on the dell logo.
Thank GOD for nandroid backup.
how exactly did you deodex your files? maybe thats what i am missing. Maybe the deodexed files i put in have an issue.
i used xUltimate-v2.2.2
and if u are 345 rom
u can use my files
also its take up to 10 min to load the phone
Krad said:
bump..
can you guys post a quick guide with steps on how to do this? How hard is it to go back and edit files later like services.odex? if it doesn't exist anymore?
Click to expand...
Click to collapse
Whenever you edit services.odex you first doedex it...then you modify it...then you carefully and painfully re-odex it...with a deodexed file system you get rid of the first and last steps...
so it would be services.dex, you copy it to your pc, edit it, and send it back...quicker and easier modding
freepal08 said:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
sync
reboot
also u can find them here as i done this to intgrade arabic to streak its in done_app & done_fram
my rom 345
http://hotfile.com/dl/110981641/4de9442/arabic_streak_345_15380_00.7z.html
Click to expand...
Click to collapse
ok I am trying your files. I see you put sync as your last command after you remount. that differs than the droidx forum How to manually deodex thread.
what does sync do?
I got farther with your files than i have before. So maybe I might have some luck after all, but still stuck on a frozen boot animation
I have no idea what I did differently but I am now deodexed using the file provided above.
My phone is now a rooted and deodexed 345 build. Nice!

Droid X2 2.3.4 OTA Deodexed App/Framework Files

Here is zip with the stock 2.3.4 deodexed app/framework you can use this to deodex your phone or just to have for backup or whatever. This was taken from OTA update and deodexed myself using Xultimate. I did this to my phone to install my own eclipse type hack that still includes all stock blur components. I can also include that if you want but the phone has to be deodexed first.
Deodexed Files Zip...http://db.tt/1NQ4NCxX
Instructions to use this to deodex your phone...Must be Rooted.
Unzip File
Copy done_app and done_frame to sd-card then...
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
**Not Responsible for Damage to Your Phone** HAVE FUN!!!!

[Q] How To Deodex Photon?

I was following a thread at DroidXForums on how to do it and when I get the "cp /sdcard/done_app/* /system/app/" command, it says that there is no file or directory there. The instructions from the DroidXForums is below and when I have the ability to post links I will post a link to the thread.
Could I get some help?
Unzip xUltimate v2.2, and launch "Main.exe"
If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
Run option 1. After option 1 is done, run option 2.
Now these well take a while. Run option 3.
IMPORTANT: After you have run option 3, you MUST navigate to the xUltimate folder and find "origi_frame" folder, and delete "guava.odex". It's a bad file, and interferes with deodexing process.
Now run option 4, and wait.
Exit xUltimate, and put the phone in USB mass storage.
Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
Open a command prompt, and do the following:
Code:
adb shell
su (note: super user will be promp on your phone)
stop
mount -o rw,remount -t emmc /dev/block/mmcblk0p12 /system
cp /sdcard-ext/done_app/* /system/app/
cp /sdcard-ext/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t emmc /dev/block/mmcblk0p12 /system
reboot
I belive
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
are wrong to use on the Photon should be
adb shell
su (note: super user will be promp on your phone)
stop
mount -o rw,remount -t emmc /dev/block/mmcblk0p12 /system
cp /sdcard-ext/done_app/* /system/app/
cp /sdcard-ext/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t emmc /dev/block/mmcblk0p12 /system
reboot
I shall try that. I will edit this later tonight and let you know how it goes!
Edit: Still no luck even when following your code.
well a simple way to deodex rom is use one thats already out Jokers think he has a pretty much stock rom with just a few minor tweaks.
if not there is always Yay's deodexd update zip
http://forum.xda-developers.com/showpost.php?p=16328237&postcount=1 scroll down its the
Stock Deodexed and Zipaligned ROM UPDATED WORKING DATA link
---------- Post added at 08:42 PM ---------- Previous post was at 08:39 PM ----------
i checked that link and first line says must be ROOTED are you?
ZeroManArmy said:
I was following a thread at DroidXForums on how to do it and when I get the "cp /sdcard/done_app/* /system/app/" command, it says that there is no file or directory there. The instructions from the DroidXForums is below and when I have the ability to post links I will post a link to the thread.
Could I get some help?
Unzip xUltimate v2.2, and launch "Main.exe"
If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
Run option 1. After option 1 is done, run option 2.
Now these well take a while. Run option 3.
IMPORTANT: After you have run option 3, you MUST navigate to the xUltimate folder and find "origi_frame" folder, and delete "guava.odex". It's a bad file, and interferes with deodexing process.
Now run option 4, and wait.
Exit xUltimate, and put the phone in USB mass storage.
Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
Open a command prompt, and do the following:
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Click to expand...
Click to collapse
Rangerbry said:
i checked that link and first line says must be ROOTED are you?
Click to expand...
Click to collapse
I am rooted and the way I fixed it was to put the phone in Charge Only Mode, and it worked. I am unable to see in the log file created by Test.exe if I am fully deodex'd.
Code:
(21:42:24.89 Wed 11/23/2011)
****
C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\android\platform-tools
****
C:\Windows\system32\java.exe
****
Main ADB
Android Debug Bridge version 1.0.26
****
PATH ADB
Android Debug Bridge version 1.0.29
****
[ro.build.id]: [4.5.1A-1_SUN-198_7]
[ro.build.display.id]: [4.5.1A-1_SUN-198_7]
[ro.build.version.incremental]: [CM]
[ro.build.version.sdk]: [10]
[ro.build.version.codename]: [REL]
[ro.build.version.release]: [2.3.4]
[ro.build.date]: [Mon Oct 3 13:59:39 EDT 2011]
[ro.build.date.utc]: [1317664779]
[ro.build.type]: [user]
[ro.build.user]: [eaz002]
[ro.build.host]: [fl36bld22]
[ro.build.tags]: [release-keys]
[ro.build.product]: [moto_sunfire]
[ro.build.description]: [sunfire-user 2.3.4 4.5.1A-1_SUN-198_7 CM release-keys]
[ro.build.fingerprint]: [sprint/moto_sunfire/sunfire:2.3.4/4.5.1A-1_SUN-198_7/CM:user/release-keys]
[ro.build.version.full]: [Blur_Version.45.3.7.MB855.Sprint.en.US]
****
adb server is out of date. killing...
* daemon started successfully *
TA28700TGP
So was I Deodexed?

[Q]What's the difference for /system under Recovery mode and Root privilege

I want move my app to /system/app/, I did follow steps under ROOT privilege
Code:
mount -o remount,rw /system /system
cat /data/local/tmp/abc.apk > /system/app/abc.apk
chmod 644 /system/app/abc.apk
mount -o remount,ro /system /system
reboot
but the abc.apk file disappear from /system/app after reboot.
if I use update.zip package under Recovery mode to write the abc.apk to /system/app, it will be normal after reboot.
so, what's the difference for wrinting system partition under Recovery mode and ROOT privilege?
Thank you very much!

Categories

Resources