yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] owain94:
Yeah i saw it but try the second one

Make a folder like system and data give it a rondom name you like and tell the updater script to flash folder "x" to /data/data

run_program("/sbin/busybox", "mount", "/data");

package_extract_dir("data", "/data");

set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");

package_extract_dir("x", "/data/data");

set_perm_recursive(x, x, x, x, "/data/data");

unmount("/data");
[LG Optimus 2x] NickHu:
mount("MTD", "[B]userdata[/B]", "/data");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
unmount("/data");
[LG Optimus 2x] erestor6:
Thanks but but I already tried this script.

My problem is in "data/data"
[LG Optimus 2x] erestor6:
What should the value of x?
[LG Optimus 2x] Rusty!:
mount("EXT3", "/dev/block/mmcblk0p8", "/data");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
unmount("/data");
[LG Optimus 2x] erestor6:
Thanks but my problem is about "data/data" not "data/app"
[LG Optimus 2x] owain94:
run_program("/sbin/busybox", "mount", "/data");

package_extract_dir("data", "/data");

set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");

package_extract_dir("data2", "/data/data");

set_perm_recursive(x, x, x, x, "/data/data");

unmount("/data");

now you need to make your zip like this

- system

- - app

- - bin

- - lib

- - etc

- - etc

- - etc

- data

- - app

- data2

FILES FOR DATA/DATA HERE!! NOT IN A SUB MAP

one dash for folder in root of the zip

double dash for a subfolder in the root folder

for the x just try 777 and see if it flash if it does it will just work with 777 (:

so this line

set_perm_recursive(x, x, x, x, "/data/data");

should be

set_perm_recursive(0777, 0777, 0777, 0777, "/data/data");

just try it i don't know if it even works i hope so!
[LG Optimus 2x] erestor6:
I try also in this way but if I go (throught rootexplorer) in "data/data" there are only new files and not my files!

I tried to manually copy my configuration files in "data/data" folder and I immediately see my preferences working.

BUT WHEN I REBOOT THE PHONE I LOST MY PREFERENCES.

I noticed that the fonder that I manually copied in "data/data" had different permissions from the other folders in "data/data".

Other folders in in "data/data", all have the following code in permissions:

"rwxr-x--x"

in my opinion I have to set these permission in "data/data" but I don't know to which numbers correspond this code!

I have to set

set_perm_recursive(?, ?, ?, ?, "/data/data");

to obtain this code "rwxr-x--x"
[LG Optimus 2x] smoochiezz24:
Im having the same issue. Im trying to replace my libswypecore.so in data/data/com.swype.android.inputmethod ive tried manually doing it in root explorer with no prevail. I tried flashing and the file stays original. Any more ideas of what I can do?
[LG Optimus 2x] djmcnz:
Hunting for albino ducks in a snow storm.

1. get the recovery.log after you've flashed - that will tell you what the script is doing.

2. mount and look in /data/data in recovery before you reboot to tell you what the script left behind

3. log the first boot to see what Android does with /data/data upon boot

Self-help my friend using the tools you have.

Post all of those results if you have no success and we can take another look.

Bad script or bad permissions is my bet.
[LG Optimus 2x] Rusty!:
Probably wouldn't hurt to post up your updater-script for analysis either.
[LG Optimus 2x] smoochiezz24:
I ended up getting it to work but I think the permissions were screwing it up. At first I had "set_perm_recursive(0777, 0777, 0777, 0777, "/data/data")" and it actually turned my lib folder into some type of file (I don't know what as I have already deleted it). I deleted that line and it flashed. I had to manually edit the permission though. The file seems to be getting replaced from somewhere else tho upon reboot but thats a different thread. Anyone know how to set the "set_perm_recursive(xxxx, xxxx, xxxx, xxxx, "/data/data")" as to obtain permission of rwxr-x--x
[LG Optimus 2x] djmcnz:
That would be:

owner, group, dir, files

So if you want it owned by root (0):

0, 0, 0755, 0711

Or owned by system (1000)

1000, 1000, 0755, 0711

But I suspect these will be incorrect... they just don't look right (I'd try 0777, 0755) have a play around with chmod/chown in a recovery console first to see what they need to be.

Either way, 0777 will not work for the first two parameters, the only values you can reliably use here for system level files is 0 or 1000.

Indeed, if you use 0, 0, 0777, 0777 it's guaranteed to work, it's just a little less secure (not that it matters).

So, perhaps start with 1000, 1000, 0777, 0777 and then tighten down the last one to 0755 as necessary.
[LG Optimus 2x] jacobmllr95:
Hey guys I am from the MIUI Roadrunner Team and here is the code that will work. We use it for our own updater-script and it works perfect ;)

run_program("/sbin/busybox", "mount", "/data");
package_extract_dir("data", "/data");
set_perm(1000, 1000, 0771, "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/data");
package_extract_dir("sdcard", "/sdcard");
run_program("/sbin/busybox", "umount", "/data");
[LG Optimus 2x] erestor6:
It's true!

Thank you very very very much!!

Inviato dal mio LG-P990 usando Tapatalk
[LG Optimus 2x] dsilx:
help help help

Okso im making a rom and with the developers permission i could use his tweaks and scripts in it but for it to work i need to mount data because the is a folder in it needed for the scripts to run

But i dont know where to put it

because they have to send info to a folder in data basically data/fly-on

Below is my updatwr script could anyone tell me where to put the txt and what to put in

also could i just do this

run_program("/sbin/busybox", "mount", "/data");

package_extract_dir("data", "/data"); and if so where would i put it

Fyi im sorry not that good with mounts yet
[Streak 5 Q&A, Help & Troubleshooting] aurelio9:
is there any way to get the 3g to work on my unlocked dell streak with the baseband version ending with 00-us sorry i just got it and really sad that it just has edge i just got a internet plan with t mobile to and would like to use this phone since i love everything else about it
[Streak 5 Q&A, Help & Troubleshooting] sgood1971:
Afraid not, Tmo 3g is a different beast than ATT 3g.
[Streak 5 Q&A, Help & Troubleshooting] aurelio9:
Even if I root the streak would I not get 3g out hspa?
[Streak 5 Q&A, Help & Troubleshooting] Strephon Alkhalikoi:
Rooting won't help because this is a hardware issue, not software. T-Mobile's frequencies cannot be seen by an unlocked/AT&T Streak, and thus you will be limited to 2G (EDGE) speeds.

Your only alternative is to find an AWS Streak. These units have a different receiver in them than the standard, and are fully usable on T-Mobile.
[Streak 5 Q&A, Help & Troubleshooting] Vinsane:
AWS model. ;) im rockin it on Tmobile 3G+
[Streak 5 Q&A, Help & Troubleshooting] aurelio9:
Is there any way to find one lol
[Streak 5 Q&A, Help & Troubleshooting] Vinsane:
They're very hard to come by. You just have to keep an eye out for one or convince someone to let go of theirs :p
[Streak 5 Q&A, Help & Troubleshooting] aurelio9:
Lol great ok well thanks
[Galaxy S II Q&A, Help & Troubleshooting] vatic:
Hi...

I use Taiwan version i9100. Because Taiwan no release new firmware to fix bug (KG2 now).

So, I try to upgrade UK KH3 firmware on my device.

I install Chinese input method, it's works well.

But, I need to install "Chinese smart dial-up search function" on UK KH3.

I can't find any method to solve my problem.

Does any one can suggest me how to do it?

Thanks a lot.
[XPERIA X10 Q&A, Help & Troubleshooting] schattenlord:
Hi guys

zdzihu's CM7-ZMOD with zKernel was my first Android Mod.

Everything works fine, but I like to report a curious batterie behaviour.

I'm on ZMOD 003 Hotfix3 incl. zKernel and using smartass_zmod governor.

Using the stock kernel, batterie drains very fast. Now with zKernel, it is kind moderate.

But after it drains under ~66-67% in a short time (watching movies in the train) it begins to load 'magical' back to 74%.

I've wiped the batterie cache, but I could reproduce this behaviour the last three day.

I've attached screen shots from today (the red line is just for orientation).

Btw: How can I check, if the device enters deep sleep mode? I've read there seems to be a problem with CDU Spy and the zKernel (100% deep sleep).

Regrading to z's tip, I've turned off 'auto sync' and set screen timeout to 30sec.

But Batteries is draining out very constant, even if I set 2G mode, WLAN, BT, GPS, etc off. (Except for the time it is loading mystically).

Regards

oh, ... and hi XDA Forum
[XPERIA X10 Q&A, Help & Troubleshooting] aimcr7:
Try wipe battery stats then fully charge, calibrate your battery, then use it till fully discharge, and charge it til full (let it alone).

Work great for me.
[XPERIA X10 Q&A, Help & Troubleshooting] schattenlord:
Thanks for this tip, but I have tried this, already. But nothing changed.

I flashed to Dooms Kernel v4 using the given smartass governor.

I assume, that the batterie only 'recharges', when I consume a lot of power over more then 30 minutes.

Btw: Batterie seems to life longer, with D's Kernel. And deep sleep works fine, too.
[Galaxy S II Themes and Apps] krisgsgs2:
hi,

is there an app to transfer music files from my ipod (itunes) to my phone?

thanks in advance
[Galaxy S II Themes and Apps] wizgnome:
doubleTwist syncs with iTunes.
[Galaxy S II Themes and Apps] sonyz7:
CopyTrans is very good, too.:)
[Galaxy S II Themes and Apps] King Shady:
+1 Former iPhone user and doubletwist works great.
[HTC Inspire 4G] coldsteal:
I have a JVC radio that works with an iPhone. Is there any SW that would allow it to work with a android?
[HTC Inspire 4G] Agoattamer:
This is the second thread you have started on the same subject. :( What are you expecting to do with it? As mentioned before if your phone is in disk drive mode you should be able to play mp3 files from the card. Have you tried that? Works fine on my kenwood like that.
[HTC Inspire 4G] coldsteal:
thanks

I was actually hopping to be able to pump out audio like phone calls etc.. The iPhone can can do it. I thought the other post was removed becaues I put it in the wrong section.
[HTC Inspire 4G] Agoattamer:
My kenwood does both. But it is actually done by bluetooth. There are 2 channels, phone and AD2P that my headunit has settings for. I myself have never heard of using USB for this phone. I don't think the micro usb port is capable of handling that. If you expect your headunit to handle calls it will either have to be done by bluetooth or by auxillary headphone cable. What way are you trying to make the connection? What make and model of headunit do you have in your car?
[HTC Inspire 4G] coldsteal:
You are correct. I was to cheap to pay the extra $ for the BT. I put a spliter on the AUX port and all works. Just had to hide a few cables. The reason I can not use BT is, I use SKYPE for long conf calls. IT works great but it does not pump out audio out of BT.

I connect one side to my XM portable and the other to the audio port on the phone. Seems to be working ok. I get a little feedback from Phone when it is plugged in to a power source. I am working on a fix for that.
[Verizon Droid Charge] filthy1:
can someone please help me I have edited the files I want edited and have used draw9 to set patches...but when I run the xultimate 9 patch compiler I get this error>>> C:\Documents and Settings\H\Local Settings\Application Data\7z.exe is not a valid Win 32 application and I don't know how to fix it...any help would be GREATLY appreciated!!

:confused:
[Verizon Droid Charge] gunnermike:
not sure what going on there. but try this. instead of using ultimatex, decompile with apk manager, make your edits, then recompile the apk. when you use ultimatex to recompile a .9 it wont decompile properly when you want to make future edits.
[Verizon Droid Charge] filthy1:
apk manager

I was able to do this for tge framework but now I am trying to edit my message bubbles in the mms.apk and am honestly a little,confused on how to decompile and recompile apps....
[Verizon Droid Charge] gunnermike:
do you have apk manager??
[Verizon Droid Charge] filthy1:
Yes sir sure do! Btw thanks for trying to help.
[Verizon Droid Charge] kvswim:
I answered your q&a thread too. Just re/install 7Zip.

Sent from my Droid Charge running GummyCharged 2.0
[Verizon Droid Charge] filthy1:
I still had it installed while it was giving me an error but I will try.
[Verizon Droid Charge] filthy1:
no go

So I just reinstalled 7zip but it did the same error tried to use apk manager and it won't decompile cause it says I have to extract it first so I extracted it and tried to recompile it and I got error 21 with a bunch of missing images but there is nothing that I changed other than the .9.png's I am so confused that I may just live with a theme I dislike ....:mad:
[Verizon Droid Charge] gunnermike:
make sure you have the proper frameworks installed. 7z wont do you any good. put in "place here for mods" or something like that, the select option 9 to decompile. now, you cant have any extras. it theres one extra icon it wont recompile. so make sure you account for every icon that goesn in there.
[Verizon Droid Charge] filthy1:
I don't have a framework....I am just trying to edit the bubbles in the mms.apk to start....and I keep getting an error that tells me check the log if I try to decompile or recompile the mms.apk
[Verizon Droid Charge] gunnermike:
ok, you need to get some basics. head over to freenode channel #teamsbrissenmod. thats the best place to go to learn how to do this stuff. i will be on for a little bit.
[Verizon Droid Charge] codelinx:
I think i'm going to go there I would like to learn some basics!....*looks forward to some boot camp*

4G LTE Tapatalked
[Verizon Droid Charge] nitsuj17:
thats not really true...xultimate does the exact same thing when compiling .9s as if they were compiled with apktool or eclipse

a lot of the .9s i compile in windows (unfortunate byproduct of work) are with xultimate and the decompile fine later

same with android utility in linux

generally its fine to just use apktool to decompile, edit and recompile but this doesnt always work with some apks that just cant be decompiled without errors
[Verizon Droid Charge] gunnermike:
not doubting you, however i have never had a .9 that compiled with apkmanager or tool seperate during decompile, and where as not all .9's compiled with ultimate x seperate, many do. so...i just dont bother with ultimate x. when your apks decompile and recompile properly, it makes future edits much easier.
[Wildfire Q&A, Help & Troubleshooting] SalkinA:
I've been using the "DK Custom Froyo V4.5.2" ROm for a while now, and it's been behaving quite well. But I just made a call and when it was over the display just stayed black, it has happened a few times before. It's quite annoying since the only solution seems to be to rip out the battery and put it in again.

I'm not sure it's the ROM that's causing this, in fact I don't think it is, but you never know. So wondering if anyone else have experienced this with the wildfire and have a solution for it. I'd rather stay with the current ROm but if a change to another one would fix this problem I'm willing to try it. But I rather stay with a "Older" ROM, just for thefact that wildfire isn't the most powerful mobile out there and I imagine it's more suited and can perform better with a little older ROM.

Greatful for any help. :)

EDIT: Just found this topic:

http://xdaforums.com/showthread.php?t=921103

Can that be it? I do have a "rubber protection" on it.

http://xdaforums.com/showthread.php?t=674847

Seems like it indeed is the cover that causes it.

Mods can remove this if they like, maybe I shouldn't post it when I have already found the answer but it's been bugging me for a while and maybe someone else will find it useful.
[Droid 2 General] [1up]:
Ok so this is my first post just wanna say hi to everyone.

Last night around 1:00 am i noticed my phone had some kind of prompt asking me to install gingerbread, the phone had already downloaded it.

I decided i wanted to stay on Froyo for several reasons, the biggest being that i like my phone the way it is and i don't wanna lose my root or my ability to tether.

That and i have put a lot of time and effort into getting my phone to look a certain way using go launcher ex and i just don't wanna change at this point in time.

Ok so i did a tiny bit of research and found a way to disable the blurupdater.apk by renaming it to blurupdater.apk to .bak which stops the update prompt.

I did this using super manager and i also noticed in my cache file a file named Blur_version.2.3.20.a955.verizon.en.Us.zip which is around 105.72 megs.

Is this the gingerbread update and can i delete it from the cache file using super manager?

If not where can i find the update file and how do i delete it as i do not want gingerbread and am perfectly happy with Froyo as it is now.

I also read somewhere online that doing a hard reset will take my device off the soak listings, what i'm wondering is does verizon plan to force the update to all devices at some point?

If so can i simply do a hard reset and get my device off the list.

Can i stop them from forcing me to upgrade to gingerbread if i don't want to, is really what i'm wondering.

Thank you in advance for any help you guys can give :)
[Droid 2 General] Heafust:
B4 you delete it, can I have it? Please? I have seen in other forums mention that the soak has started coming through. I'm just not sure about the file name. 2.3.20 is Froyo.

I'm on the Leak from June and it was 4.5.153.A955....
[Droid 2 General] rusty815:
He's not on the soak test, he thinks blur version 2.3.20 is gingerbread, its the newest version of blur for froyo. Gingerbread hasn't been officially released.

You should go ahead and update to the newest version of froyo, make sure to unfreeze everything first, afterwards all you have to do is root again via z4root and your good to go

Sent from my DROID2 GLOBAL running Leaked Rooted Gingerbread!
[Droid 2 General] [1up]:
No i am on the soak test i just renamed the updater and the update message says 4.5.601.en.US has been downloaded and is ready to install. Anyone know where can i find the downloaded file so i can delete it. I seriously do not wanna jump to gingerbread.

@d2user you can have it if i can find it and get it off my phone :D
[Droid 2 General] Heafust:
I am not a soak tester(thus wanting the file) but am told it is just in /cache
[Droid 2 General] [1up]:
Ok well the only file of any size in my root cache folder is the one i mentioned above, im viewing the file with super manager, is it possible that super manager just isn't reading the file correctly?

When i renamed blur_updater.apk super just sees it as updater.apk?

So maybe its just not reading the file name correctly?

I dunno but its 105.72 megs.
[Droid 2 General] Heafust:
Wish I could be more help. All I can say for sure is that my cache is empty except for 2 empty sub folders.
[Droid 2 General] sb1831:
I got the update and let's just say it's got roots
[Droid 2 General] [1up]:
Does wireless tether work on gingerbread and how did you root it. I used z4root to root froyo. It was pretty much childs play, Is there a one click root for gb. I wouldnt mind upgrading but dont wanna lose functionality. Im on verizon and lately they have been trying to stop tethering.
[Droid 2 General] SevereDeceit:
Update has been pushed to my device, all loaded up.
[Droid 2 General] SlimMan:
Downloading now, gonna see what it is and or does.

UPDATE:

Here are the specs: Sys Ver 4.5.601.A955.Verison.en.US, Android Ver. 2.3.3, Baseband Ver. BP_C_01.09.13P, Kernel Ver. 2.6.32.9-gca08d89bmvq97@zin22lnxdroid28#1, Build Number 4.5.1_57_DR-31, ER Ver. 5, PRL ver. 65226.

Also I have posted a SS over @ MyDroidWorld.
[Desire HD General] Ky1:
Hi There, I would debrand my DHD on T-mobile loaded software is 2.3.3

I have create the goldcard. i don't know what rom to use. Sorry I'm new to this

Thanks
[Desire HD General] copex:
i used the guides below.you should also change the CID.

Read here.......

http://xdaforums.com/showthread.php?t=857537&highlight=easy+s+off

http://xdaforums.com/showthread.php?t=905003
[Desire HD General] Ky1:
Thanks for replay. how do I change the CID. and what is first to downgrade? or S OFF?
[Desire HD General] copex:
read all of the info in the first link, this will answer all of your questions.

I.E

under system requirments.....

It will not work on 1.72.405.3 or higher build, or new radio (12.28b.60.140e_26.03.02.26_M is ok). Downgrade first!!

CID list is on Page 2, you use the easy radio tool to change it.

Good Look.
[Droid Incredible Q&A, Help & Troubleshooting] deriq4251:
I was using a sense 3.0 rom when i noticed my phone wasnt vibrating . So i switched to an AOSP Rom and still no vibrate. I usually keep my phone on loud but in school i need it on vibrate. Is there anyway to get this fixed ?
[Wildfire Q&A, Help & Troubleshooting] karanv2008:
I recently gained root over my wildfire using revolutionary ... now while this process I did a stupid thing that I didn't backup by stock rom... now I am running Cm7.0.3 stable (has some glitches) & I want to go back to stock Rom but I have some doubts

Suppose if I flash a ruu.exe of stock eclair will I loose my root & s-off ?

Simply put will my phone be deprived from flashing further Roms ?

*please ignore any spell errors...was typing from phone.

Thank u!!
[Wildfire Q&A, Help & Troubleshooting] Scratch0805:
Some RUU's have a new HBoot and some don't, look for a safe RUU without HBoot and you will keep s.off and Root.
[Wildfire Q&A, Help & Troubleshooting] rakesh595160:
i want to get s on again for that i need to flash ruu but if i flash a RUU with hboot flashing goes perfect or not ??

anything like brick or something like that is not gonna happen na??
[Wildfire Q&A, Help & Troubleshooting] El Mariach1:
Just choose the right RUU and everything will be alright.
[Wildfire Q&A, Help & Troubleshooting] karanv2008:
will this work...?

will the below work?

RUU_Buzz_hTC_Asia_India_1.25.720.1_Radio_13.45.55. 24_3.35.15.31_release_142213_signed.exe

Please Rep...
[Wildfire Q&A, Help & Troubleshooting] 3xeno:
Flashing the RUU will remove your root and Custom Recovery (Clockworkmod), but it will NOT touch your modified S-OFF HBOOT. Thus, it will remain at 6.01.1022 even after flashing an RUU.
[Wildfire Q&A, Help & Troubleshooting] karanv2008:
pls confirm...

So it means that if I flash this ruu I will have to root my phone once again b4 flash a custom rom?

If that's right please suggest me (give me a link to download) a stock eclair rom which will retain my root, s-off & hboot so that I don't have to root once again to flash a new custom rom.

please please Rep...

Thank u!
[Wildfire Q&A, Help & Troubleshooting] 3xeno:
The stock Eclair ROM's links have died unfortunately (And I dont have a backup of that myself)

http://xdaforums.com/showthread.php?t=807983

But you can get a Stock Froyo ROM which will retain root here (Download the Rooted Version):

http://xdaforums.com/showthread.php?t=877977
[Wildfire Q&A, Help & Troubleshooting] karanv2008:
just confirming for the last time...

So if if I flash this rooted froyo ruu I will retain root + s-off & hboot right?

pls rep

Thank u very much
[Wildfire Q&A, Help & Troubleshooting] 3xeno:
Yes, you will retain everything.
[Wildfire Q&A, Help & Troubleshooting] karanv2008:
thank u

Thank u very much mate!
[Wildfire Q&A, Help & Troubleshooting] karanv2008:
problem with flashing rooted Froyo Rom

After I downloaded the rom & tried to flash it with Rom manager it started & after the progress bar reached about 25% ...phone restarted & after that it shows the htc boot animation (quietly brilliant) & later within 15-20 sec it again shows the same boot animation & this process keeps on repeating (but the phone doesn't restarts)....what should I do ?

I'm stuck...buddy pls help

waiting 4 ur reply....help...help

Thanks..