Transmission error : unable to save resume file: permission denied - Raspberry Pi Q&A, Help & Troubleshooting

Hello everyone! some background info: Transmission config is good.
Samba is working nicely.
debian-transmission user added to pi
download and incomplete folders automounted in /mnt/whatever
hdd properly automounted with ntfs-3g
download and incomplete folders have 777 permissions (i know....)
debian-transmission user added to plugdev (ntfs stuff)
ok backround added, thing is, it downloads good and nice and everything is on rails, 5 minutes and i get the error
"unable to save resume file: permission denied"
Now comes the spooky thing... if i click resume.... it goes and downloads for another five minutes!
Any clue guys?

Hello guys !!
Got the same problem, pretty much same conf.
I found a lead about the ownership of the /var/lib/transmission-daemon/info/resume/, which i set to pii, but nothing changed. My folders are set correctly, i tested !
Thanks for help !

Related

How to filter ads on your G1

You can find the latest version of this app on the slideme app store.
http://slideme.org/application/adfree
This is the old thread, I started a new thread in the general section => http://forum.xda-developers.com/showthread.php?p=40759351
================================================================================================================================================
Spoiled by ad free browsing on my normal desktop computer it became increasingly annoying seeing all the ads on my phone. However it's really easy to make them disappear, although you most likely will need root on the phone.
Download the hosts.txt file from http://www.mvps.org/winhelp2002/hosts.txt, you may need to run dos2unix over the file to remote \r characters, rename the file hosts and copy it to /system/etc on your phone and say goodbye to most ads.
You may find the list to be imperfect, for example some feedburner URLs are "blocked" as a result which can screw with RSS feeds, although it's annoying giving too much info to Google but like everything else in life some things are a trade off.
If you want to root your phone, try this article.
Thanks for this!
As soon as I read the topic title I realised what you were doing and I never thought of it myself.
My hosts file was /etc/hosts though, not /system/etc/hosts
Dark X Dragon said:
As soon as I read the topic title I realised what you were doing and I never thought of it myself.
Click to expand...
Click to collapse
I've been using this technique for a bit, just didn't think to post about it before did a quick search and noticed no one else had so thought I might as well
My hosts file was /etc/hosts though, not /system/etc/hosts
Click to expand...
Click to collapse
Doesn't seem to matter, I just checked the /etc dir and it has the same hosts file.
Actually, /etc is a symbolic link to /system/etc, so your hosts file is really at /system/etc -- however, accessing the file through either path is equivalent.
Ha ha hosts exists on android!? I had no idea. I'm also a spoiled ad-less pc user. This is great. Thanks.
If you can't download the file above (it appears as text in browser), replace .txt with .zip at the end of the url. This will download the zip file which u can later unzip with an unzip app in the market.
Ok. I can't paste over the original hosts file using the phone? Astro and lynda file managers don't do it for me. And yes I am rooted, running 1.5 dudes build. Can this be done only from a PC?
ShatBag1105 said:
Ok. I can't paste over the original hosts file using the phone? Astro and lynda file managers don't do it for me. And yes I am rooted, running 1.5 dudes build. Can this be done only from a PC?
Click to expand...
Click to collapse
You have a couple of options, you can download the terminal app from the market and use it, or you can use ADB to shell into the phone, or wait for someone to code an app to do it all for you.
For the time being go with installing terminal, then type 'su' to become root. That is unless you have a copy of adb handy, if you can 'adb shell' the following commands are the same, except you can copy and paste.
Then remount the system partition read-write.
Code:
mount -o remount,rw /dev/block/mtdblock3 /system
Then you go into the etc dir
Code:
cd /system/etc
Then you can rm the hosts file
Code:
rm hosts
Then grab the hosts.txt file
Code:
wget http://www.mvps.org/winhelp2002/hosts.txt -O hosts
Always more than one way to skin a cat, but the above works for me(tm)
lbcoder said:
Actually, /etc is a symbolic link to /system/etc, so your hosts file is really at /system/etc -- however, accessing the file through either path is equivalent.
Click to expand...
Click to collapse
Ugghh, I read that ages ago but really didn't commit it to memory. It is now. =)
There's a fair chance I won't get around to it but I'm tempted to take this ad blocking further. Namely an automatic app but there might be more to add to it.
Thanks for the help delta. I figured it had to be done in terminal. And you know, this would definitely become very popular as an app.
I'm a dummy its etc not ect
delta_foxtrot2 said:
Then grab the hosts.txt file
Code:
wget http://www.mvps.org/winhelp2002/hosts.txt -O hosts
Always more than one way to skin a cat, but the above works for me(tm)
Click to expand...
Click to collapse
(I am using the terminal program on the phone)
Until the above step, no problems
After typing in the above I get the following message:
"bad address "www.mvps.org"
I checked for typing errors, tried it 3 times but get the same error message
Any suggestions please?
thanks
nyayo99 said:
(I am using the terminal program on the phone)
Until the above step, no problems
After typing in the above I get the following message:
"bad address "www.mvps.org"
I checked for typing errors, tried it 3 times but get the same error message
Any suggestions please?
thanks
Click to expand...
Click to collapse
Try it without the http://www. It might work like that. This is a lot harder than it should be lol. The g1 is putting up a fight!
ShatBag1105 said:
Try it without the http://www. It might work like that. This is a lot harder than it should be lol. The g1 is putting up a fight!
Click to expand...
Click to collapse
Thanks, but this didn't work either.
Some googling indicated a possible DNS issue.
So I looked up the IP address (209.68.48.119), substituted that into your instructions and presto, everything worked!
Many thanks for the ad killer option for the G1
Aah beautiful work. Just to clarify for newbs like me. The last line is (# wget http://209.68.48.119/winhelp2002/hosts.txt -O hosts). Make sure that -O hosts is a captialized O.
ShatBag1105 said:
Aah beautiful work. Just to clarify for newbs like me. The last line is (# wget http://209.68.48.119/winhelp2002/hosts.txt -O hosts). Make sure that -O hosts is a captialized O.
Click to expand...
Click to collapse
Yes, capital letter o, lower case o stores the output of wget into the file which isn't the desired outcome
I plan on suggesting the following URLs to the hosts.txt guy to block admob ads in apps
p.admob.com
analytics.admob.com
r.admob.com
In the mean time you can manually add it to the hosts file yourself, just copy and past from another line.
After updating the hosts file you may need to reboot or wait for the hostname to expire from the internal lookup cache, unless someone knows a quick way to flush the cache to speed up the process that is.
Thanks for this. Worked great for me. Very helpful tutorial.
Just uploaded "AdFree" to android market, this does all the steps I laid out manually at the touch of a button.
Its funny how
127.0.0.1 localhost
is the only thing blocked in the /system/etc/hosts file. lol.
andonnguyen said:
Its funny how
127.0.0.1 localhost
is the only thing blocked in the /system/etc/hosts file. lol.
Click to expand...
Click to collapse
That isn't "blocked" and in fact nothing gets blocked by the hosts file it just points hostnames to the local system, which usually has no web server running so the connection fails immediately.
However you MUST have localhost listed or various things will fail and cause all sorts of issues.
New version of AdFree is now up, I have the app adding the admob hostnames to the bottom of the list.

old version don not use

please use this version moving forward.
http://forum.xda-developers.com/showthread.php?t=643045
mssmison said:
It's been a long time since I've posted a new build to the forum please go easy on me I've been a behind the scenes guy lately
So everyone's probably seen the extensive changes we did to the initrd. If not find them in this post here. We've removed the rootfs completely. And setup an amazing new install menu, this was all vilord and if anyone deserves a donation it's him. This means that no older builds with work with this until they've been updated. We're going to post a new thread with instructions to create a compatible system. These builds are both setup for 320x480 resolution, however it is very easy now to change stuff. So if on windows download 7zip, open the tar file with zip, than open the build.prop and change the LCD Density accordingly. Save the changes and when prompted add the changed file back in.
instructions
unrar the file and copy the androidinstall.tar so a folder on your sdcard called andboot.
Build 1.
Eclair 2.1 Vogue edition;
Features;
Working Audio
Working GPS
Partially working bluetooth (I've some kernel updates to finish I think)
Full sleep support
Customized Animated Wallpapers for our phones, I rewritten the app to use lower resolutions, less sprites and lowered other features. As well I've optimized the images to make them use ALOT less ram. I am still working on this app so watch this thread for updates for the livewallpapers. As example I've fixed, but not yet included the galaxy wallpaper, and made more progress on water.. But I've got to post this sometime
It's a little slow to start but runs great once it's up and running.
What doesn't work
Camera, that's next on the list of libs to work on.
Some of the animated wallpapers don't work and the grass one is way too big still.
While the audio in works, things like the voice search and voicekeyboard don't tend to get the right words. There's been some fun ones come up
Bluetooth syncs with my headset but I get no sound. Please let me know if it's the same for you. I believe there's more to do to the libs to get bluetooth working properly.
Additional Info
It's a little slow to start up because I'm making sure all the apps are optimized on every boot. Maps isn't included, so you can update it.
Download:
http://www.mediafire.com/?omdxj2znmwz
Build 2
This is just a port of an older WesG build from the dream forums. It's rock solid stable with no issues, again though you have to enter your own apn information. I haven't yet applied the BT fix yet, but as the system is so easy to work with now anyone can do it
Download
http://www.mediafire.com/?ngdo0jjdy5t
If you like my customize apps and drivers and want to use it in your build. Ask
If you like my work donate to DZO! He's done ALL the work, we've just done tidbits.
Click to expand...
Click to collapse
Great job on this my friend!
S H I T
[10 char limit]
EDIT: It boots fine, just follow the instructions.
! C:\Users\Owner\Documents\Downloads\Compressed\mssmison2.1.rar: CRC failed in androidinstall.tar. The file is corrupt
I'm getting this when trying to extract .tar file
don't extract it. just put it in /sdcard/andboot with the new initrd from the NoMoRootfs thread
I'll test this in a minute
vilord said:
don't extract it. just put it in /sdcard/andboot with the new initrd from the NoMoRootfs thread
I'll test this in a minute
Click to expand...
Click to collapse
I actually just tried to drop it (andriodinstall.tar) file not the whole .rar on my sd card and I got that error. Also tried to drop it on my desktop and got the same error. I'm using winrar could that be the problem?
You extract the androidinstall.tar from within the rar file and drop it on your sd card in the folder.
Crap. Failure to launch. Reuploading file, give it about 20 minutes..
Sorry everyone
mssmison said:
You extract the androidinstall.tar from within the rar file and drop it on your sd card in the folder.
Click to expand...
Click to collapse
Thanks ms Can't wait to see the live wallpaper water on my Vogue!!! lol
During unzipping "mssmison2.1.rar" with winrar it returns a CRC error on the .tar file
mssmison said:
These builds are both setup for 320x480 resolution, however it is very easy now to change stuff. So if on windows download 7zip, open the tar file with zip, than open the build.prop and change the LCD Density accordingly. Save the changes and when prompted add the changed file back in.
Click to expand...
Click to collapse
So, for 240x320 just put LCD Density to 120????
Also, when I try to extract with 7zip I get "data error in 'androidinstall.tar.' File is broken"
Yes about the density change, but you must open the tar with 7zip if you are in windows.
K I've reuploaded the file, and tested it before I uploaded.
sorry again about the 'failure to launch'
If I replace the rootfs file with the one that has BT fix, is it going to work with this build?
CyCLoBoT said:
If I replace the rootfs file with the one that has BT fix, is it going to work with this build?
Click to expand...
Click to collapse
There is no rootfs.
And like the first post says bluetooth connects but no sound yet. it's using the same setup as the bluetooth fix.
I'm getting this error during initial boot...
mount:mounting /data/sysfiles/su on /system/xbin/su failed: No such file or directory
A N D R O I D with a blinking cursor
Reddog80p said:
I'm getting this error during initial boot...
mount:mounting /data/sysfiles/su on /system/xbin/su failed: No such file or directory
A N D R O I D with a blinking cursor
Click to expand...
Click to collapse
are you using the files from the thread I posted too? the new nbh and basefiles?
mssmison said:
are you using the files from the thread I posted too? the new nbh and basefiles?
Click to expand...
Click to collapse
new nbh no basefiles running from nand with just the tar file on sd. I used the tar file from the re-upload around a half hour ago.
did you run the installer?
how long did you wait?
To people getting the "freeze at A N D R O I D"
You need to hold down VOLUME UP and install the system. That wasn't made super clear anywhere. Otherwise it'll just try to boot whatever you've got on there and fail because it doesn't have the former rootfs files in the /system.
Also, @msssmision, the tar file is still goofy (7-Zip's fault?) - GNU tar gets a lot of "skipping to next header" and then exits with an error code.
bri3d said:
To people getting the "freeze at A N D R O I D"
You need to hold down VOLUME UP and install the system. That wasn't made super clear anywhere. Otherwise it'll just try to boot whatever you've got on there and fail because it doesn't have the former rootfs files in the /system.
Also, @msssmision, the tar file is still goofy (7-Zip's fault?) - GNU tar gets a lot of "skipping to next header" and then exits with an error code.
Click to expand...
Click to collapse
Thanks...lol Thats a kick ass Installer! So check the sys on nand and the data on nand and select install system?
thats right
thanks for the props on the installer, spent a while getting it integrated.
I ripped it off from here, but put about 6 or 7 solid hours into getting it to fit and react with the keys/screen

path too deep

I have big problem with my HTC lately
when I plug it to my PC as disk drive I cant copy any bigger file from PC
because after while I have "Error : path too deep " - what is wrong
I can copy through Active Sync but it takes ages
could someone help me??
This a frequent problem,that generally causes the long path in your system folder.
I had the same problem and finally I found a sofware.
Long Path Tool
PathTooDeep.com
I hope that it will help you!
Good luck!
Cheers!

[ThinkTank]Replacing bootanimation.

Ok, so here is a bit of a preamble to stop flaming and unnecessary posts in this thread. This thread is not about changing bootdown animation for that go here.
Also do not do this if you don't understand what this all means, i am not responsible for your device, or anything else.
To the post:
I flashed back to stock last night to help everyone who wants to be able to use custom bootanimations (those like most other android phones can.) By placing a bootanimation.zip into /system/media and it should play when you boot. However as most of you know their is a proprietary format (QMG) getting called. Since I do not want to pay Quram and I also want custom bootanimations it leaves me with one choice, make it call the bootanimation.zip IN STEAD of the bootsamsung(loop).qmg. This is where what I am trying is different then other attempts I have read. Most other attempts try to break the QMG, why not just go around it and call what you want anyway.
The goodies:
I can get a custom bootanimation (specifically this one here) to play on my phone. Should work for any custom bootanimation.zip as long as it is built properly. Try to find one for our resolution or it will be tiny, but whatever I'm sure you can fix that right. You are in development forum anyways. There is a weird delay between the black and white VIBRANT screen and the animation playing but since it is progress and on the stock rom (rooted of course) I am going to post what I did, and others can come in and help. ALRIGHT!
What to do:
Open up your command prompt and cd to the directory with your adb i.e. cd C:\adb\. Also place the bootanimation.zip (C:\adb\bootanimation.zip)
Then run this below in your command prompt window.
Code:
1. adb push bootanimation.zip /sdcard/bootanimation.zip
2. adb shell
3. su (NOTE: Allow root access on actual phone)
4. mount -o remount,rw /dev/block/st19 /system (NOTE: This just allows read/write access on /system)
5. busybox cp /sdcard/bootanimation.zip /system/media/bootanimation.zip
6. cd /system/bin/
7. mv playlogo playlogoBKP
8. mv playlogos1 playlogos1BKP
9. busybox cp bootanimation playlogo
10. busybox cp bootanimation2nd playlogos1
Now go ahead and reboot and enjoy your own custom bootanimation.zip
Also when done playing around you might want to revert everything back, cause I do not know if there are other repercusions of doing this. Although none I have noticed.
Video Evidence. (Because I am not a recognized member of this forum)
Replacing the bootanimation sounds and bootdown is not something covered by this thread as it is super easy, just go here.
Q. Well it seems like you figured everything out already Zaduma, what do we need with a thinktank thread about this?
A. There is a delay that lasts between 3-5 seconds between VIBRANT Screen and actual animation playing. Let's get rid of this.
Updates (not reflected above.) -- I will try to keep this updated with important information so you can just jump in.
We might be able to remove the lag if we can edit the init.rc, it calls playlogos1 only, which pretty much means that playlogo, bootanimation, and bootanimation2nd are useless files, of course unless you rename them playlogos1. The problem with this is that playlogos1 is called like this.
Code:
service playlogos1 /system/bin/playlogos1
user root
oneshot
But bootanimation should be called like this (as we know from AOSP builds and from bootanimation2nd, which i think is probably samsungs first attempt to put proprietary QMG in opening)
Code:
service bootanim /system/bin/bootanimation(2nd)
user graphics
group graphics
disabled
oneshot
I am not 100% sure of why being called from user graphics (most likely a root access user, or the disabled line would have anything to do with anything, but they are there.)
Also something I have seemed to find conclusive, if you run /system/bin/bootanimation it plays the animation almost instantly, but if you run /system/bin/bootanimation2nd it plays after a bit of a delay. So after renaming bootanimation to playlogos1 I noticed no change at actual boot time. I really feel like being able to update init.rc might hold some key, this is just a hunch I'm kinda figuring out what I can as I go.
I can confirm that this does indeed work, and the lag is annoying is the lag from the bootanimation & bootanimation2nd?
camalot said:
I can confirm that this does indeed work, and the lag is annoying is the lag from the bootanimation & bootanimation2nd?
Click to expand...
Click to collapse
+1 confirmed working, plays for maybe two seconds, then displays home screen.
EDIT: in a logcat i noticed "Unable to open zip '/data/local/bootanimation.zip': No such file or directory" I tried placing the bootanimation.zip into the /data/local folder, but am still getting the lag between the white vibrant and the animation....
Edit2: I tried editing the pngs in the zip file. I wanted to know at want frame the animation was playing and what frame is was stopping at. so i just painted the frame number on top of the picture, rezipped/pushed/copied/rebooted, and now all i get is the white vibrant, followed by pure black screen for a few seconds, then the lock/home screen.........not sure if there is a file size limit, or what...if i push the original bootanimation.zip i get the animation back......
d_bot said:
Edit2: I tried editing the pngs in the zip file. I wanted to know at want frame the animation was playing and what frame is was stopping at. so i just painted the frame number on top of the picture, rezipped/pushed/copied/rebooted, and now all i get is the white vibrant, followed by pure black screen for a few seconds, then the lock/home screen.........not sure if there is a file size limit, or what...if i push the original bootanimation.zip i get the animation back......
Click to expand...
Click to collapse
Here I got it working, trick is when you put it into an archive to put archive to store, so it doesn't compress the files. I have attached a custom "Haters" bootanimation with painted frame numbers. You might notice that the files are not jpg, that is just what i saved them as. It didn't seem to reveal to much to me. I don't think the problem is with the animation, I think it is when it gets called, not exactly sure of course.
Also about your log. When it looks for a bootanimation it checks /data/local first and if it finds nothing it goes to /system/media. I believe /data/local is a legacy command and for forward compatibility you should just get in the habit of using /system/media.
This lag is very puzzling, I am gonna try and pull the bootanimation / playlogo files off of other android phones or maybe android open source and see what happens...
For anyone who happens to want to look at what bootanimation / bootanimation2nd / playlogo / playlogos1 is remember they can be opened with 7zip and viewed as an archive. Inside them are 6 files 0, 1, 2, 3, 4, 5 (if memory serves). It all looks arbitrary to me however, just a bunch of random junk.
Awesome Dude, This is definitily progress in the right direction. Thank you, and all the Devs for their hard work.
zaduma said:
Here I got it working, trick is when you put it into an archive to put archive to store, so it doesn't compress the files. I have attached a custom "Haters" bootanimation with painted frame numbers. You might notice that the files are not jpg, that is just what i saved them as. It didn't seem to reveal to much to me. I don't think the problem is with the animation, I think it is when it gets called, not exactly sure of course.
Also about your log. When it looks for a bootanimation it checks /data/local first and if it finds nothing it goes to /system/media. I believe /data/local is a legacy command and for forward compatibility you should just get in the habit of using /system/media.
This lag is very puzzling, I am gonna try and pull the bootanimation / playlogo files off of other android phones or maybe android open source and see what happens...
For anyone who happens to want to look at what bootanimation / bootanimation2nd / playlogo / playlogos1 is remember they can be opened with 7zip and viewed as an archive. Inside them are 6 files 0, 1, 2, 3, 4, 5 (if memory serves). It all looks arbitrary to me however, just a bunch of random junk.
Click to expand...
Click to collapse
AFAIK, i don't remember seeing the "bootanimation", "bootanimation2nd", "playlogo" and "playlogos1" on any AOSP builds. I think those may be a SGS thing. Also, the /data/local/ i believe is used because it is writable by user, if i remember correctly, and would not require root to put a file there. But I could be wrong about that.
Why did you rename the bootanimation & bootanimation2nd as playlogo and playlogos1? does that tell it to load the /system/media/bootanimation.zip?
edit: ok, I was wrong... bootanimation is there, but not bootanimation2nd and not playlogo / playlogos1
i think editing the init.rc properly could do this how it is in aosp. the following is in our init.rc. These are the two that stick out to me. you see the 1st one is commented out.
Code:
#service bootanim /system/bin/bootanimation2nd
# user graphics
# group graphics
# disabled
# oneshot
Code:
service playlogos1 /system/bin/playlogos1
user root
oneshot
It looks like this in an aosp rom.
Code:
service bootanim /system/bin/bootanimation
user graphics
group graphics
disabled
oneshot
Jr33 said:
i think editing the init.rc properly could do this how it is in aosp. the following is in our init.rc. These are the two that stick out to me. you see the 1st one is commented out.
Click to expand...
Click to collapse
Exactly what has to be done. That requires a kernal edit tho if I'm not mistaken as init.rc get reloaded every time the phone is restarted.
it works but disable my lag fix , there's a way i can do its w/o removing the lag fix?
Designgears at the captivate forum says he and a coworker got it working on the cappy. He didn't give details but he's including it in his next incarnation of his ever popular rom for the captivate.
Its good to see that this has been figured out. Here as well. I can't wait to try it
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Samsung I hate you. Edited so that people don't get silly ideas.
Trying to look through the AOSP. I can confirm that there is only bootanimation. I'm going to probably end up compiling some of it from source, it would be nice to know exactly what is happening in playlogos1, it might be just calling the animation but I find it unlikely.
Also if anyone can send me information about how to edit the initrd I would be very thankful. I guess I can just rename whatever file I want to playlogos1 but then it doesn't have the full set of options Running into problems trying to compile android from source, fricken a.
End of the day I need to figure out how to edit init.rc and have the changes be saved, because obviously it gets overwritten when you turn your phone off/on.
xalucardx said:
it works but disable my lag fix , there's a way i can do its w/o removing the lag fix?
Click to expand...
Click to collapse
I don't know. If you are running any of eugene's roms edit playlogosnow and not playlogos1, because he is running a custom set of commands there and calling playlogosnow at the end.
Also: OP updated.
Edit:
Dani897 said:
Designgears at the captivate forum says he and a coworker got it working on the cappy. He didn't give details but he's including it in his next incarnation of his ever popular rom for the captivate.
Its good to see that this has been figured out. Here as well. I can't wait to try it
Sent from my SAMSUNG-SGH-I897 using Tapatalk
Click to expand...
Click to collapse
I'd love to see where you read this, I searched that thread and there is talk about only playing the logos through playlogos instead of using it as a place to launch lagfix's since custom kernels now support userscripts...
Just ran
Code:
cd /system/bin
ls -l playlogos1
which revealed that root.shell owned the file and it's permissions were set to -rwxr-xr-x-
so i went ahead and
Code:
mv playlogos1 playlogos1BKP
cp bootanimation playlogos1
ls -l playlogos1
which revealed that root owned bootanimation so now i ran
Code:
chown root.shell playlogos1
to fix ownership and made sure permissions were set for this owner
Code:
chmod 755 playlogos1
Effect: nothing, don't bother.
All you need is playlogos1 removed from init.rc and uncomment bootanimation from there. Then on boot the phone will activate the bootanimation binary instead. I have no clue how to edit the initramfs to include the edited init.rc. I have ben looking all over for instructions or some script to split/repack. Maybe JAC could incorporate this into his release, but probably won't because I am sure there are many people that like the samsung bootanimation. I for one like it, I just wish it was in .zip format.
Sent from my SGH-T959 using XDA App
Jr33 said:
All you need is playlogos1 removed from init.rc and uncomment bootanimation from there. Then on boot the phone will activate the bootanimation binary instead. I have no clue how to edit the initramfs to include the edited init.rc. I have ben looking all over for instructions or some script to split/repack. Maybe JAC could incorporate this into his release, but probably won't because I am sure there are many people that like the samsung bootanimation. I for one like it, I just wish it was in .zip format.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Nah, i have done this. It reflashes init.rc at boot and at shutdown. Without repacking it, the changes won't last long enough to see boot time.
zaduma said:
Nah, i have done this. It reflashes init.rc at boot and at shutdown. Without repacking it, the changes won't last long enough to see boot time.
Click to expand...
Click to collapse
i know it re-flashes. you misread my post. it needs to repackaged in the initramfs to stick. you can edit the init.rc on the phone all you want but nothing will happen.
Bump. Any new progress on this?
Bringing this topic back to life hopefully!!!
Has anyone looked into this anymore? I've been playing with it for a couple days now and can get the first 45 or so of my 60 frames to play using the desc file included but replacing the text
"320 480 13p 0 0 animate"
with
"480 800 60
p 0 0 animate"
(480 800 - screen resolution... 60 - frames/sec... p - ???... 0 - # of times to repeat... 0 - # of frames to pause after last frame... animate - folder png's located in)
It seems as if I'm limited to a certain amount of TIME not frames... Like the phone breaks the boot sequence into 2 separate time slots... one for T-Mobile sequence and one of Galaxy-S sequence... not a restriction on frames like the bootdown sequence has. I played with changing the frame-rate (the 13 and the 60) to different variations including 1, 30, 60, 80. I got further along in my animation with each variation, but it seemed as if it hit a time restraint wall and it hard stopped the animation.
Also, another reason I think it is alloting 2 separate time slots is that the Droid boot animation file contains 2 separate folders "part0" and "part1" with png files in both, and their desc.txt file contains text calling both folders out?? Could that have something to do with our animation pausing 3-5sec?? Is it looking for another animation call? Do we need more than one boot sequence?
It's late here and I'm not going to play with it any more tonight, but I'll skim more of the surface tomorrow. I'm no pro at this stuff as this is my first android and phone development is completely new to me, so don't poke too hard. If this is old news and someone has figured it out, a nice 'how-to' would be greatly appreciated!
One last thing... I failed to make a backup of my original stock bootanimation.zip file... would it be too much to ask someone to post one or send me a copy so I can revert without nandroid restoring??
ndhr3d said:
It's late here and I'm not going to play with it any more tonight, but I'll skim more of the surface tomorrow. I'm no pro at this stuff as this is my first android and phone development is completely new to me, so don't poke too hard. If this is old news and someone has figured it out, a nice 'how-to' would be greatly appreciated!
One last thing... I failed to make a backup of my original stock bootanimation.zip file... would it be too much to ask someone to post one or send me a copy so I can revert without nandroid restoring??
Click to expand...
Click to collapse
I realize you said it was late, but did you mean the stock .qmg file?
I have edited the init.rc and can run the bootanimation binary. The problem is, it never stops. Does anyone know how the AOSP boot animation is supposed to be halted? I have to adb shell into the phone and kill the bootanimation process.
If you want to mess with it, check out my kernel. You can run a script to replace init.rc at bootup before Android's init app loads up.
Babyface1249 said:
I realize you said it was late, but did you mean the stock .qmg file?
Click to expand...
Click to collapse
Whichever was what the phone was calling before I started destroying everything!
The cmd code included creating BKP files of the playlogo and playlogos1 files, but both of those I've overridden. Not sure if I need those to bring back the original boot sequence.
ttabbal; said:
Does anyone know how the AOSP boot animation is supposed to be halted?
Click to expand...
Click to collapse
I know nothing about android development other than the few things I've been able to modify by swapping out png files or flashing with recovery... I wish I had enough time in my day to learn about it all. The one thing I remember from the Droid forum I read was that a 0 in the desc file after the p means 'infinite loops'... maybe simply change that to a 1 and see if it plays through only once??
Reference to that infinite: http://www.machackpc.com/featured/how-to-changecreate-your-boot-animation-for-droid/
If you got it all to work and play the entire loop with no 3-5sec delay prior, that is fantastic! Otherwise I guess I could Nandroid back... luckily I was smart enough to create a backup before starting to mess around in my system files!

[Q] (Solved) How can I restore my Note to access SDCard?

Hello guys!
Today I was watching the tutorial from curser4eva.com to get AirView on the N7000. I wasn't successful and I get a little frustrated.
I don't really know why but I changed the permissions of the etc/permissions directory to: rw--r--r-- (0644) using Solid Explorer, and then restart my phone, since then I'm not able to access to my interal or external sdcard and also cannot access to a lot of apps.
Here is what I did exactly:
Using Solid Explorer, I copied the com.sec.feature.hovering_ui.xml file from my sdcard and tried to paste it in the etc/permissions directory but it said that there wasn't enough free space (I got the same message few days ago when I've tried to paste and apk. into the system/app directory).
And after this, I change the etc/permissions folder permissions to: rw--r--r-- (0644) using Solid Explorer, and then restart my phone, and after everything loads, a bunch messages of Force Closed services (dropobox, youtube, gapps services, for example) Pops up.
Then I open Solid Explorer to try to restore the permissions, and immediately pops up this message: Error - Cannot browse to "/storage/sdcard0"- An unknown error occured.
Then I jumped to the system root and accessed to etc/permissions and restored the permissions to: rwxr--xr--x-- (0755) and restart my phone, but nothing changes.
Finally in CWM recovery I flashed again the Jelly Bean eybee ROM to try to fix it, without any good result.
And right now I don't know what else could I do, because, in case you haven't noticed yet, I'm a freaking noob :crying:
Information could be useful:
I'm running Android 4.1.1
Baseband: N7000XXLS1
Build number JRO03C.N7000XXLS2
I'm also able to access to the Sdcard with Root Browser, and noticed that all files dates changed to: Dec 31, 1969 06:00:00, and all have the size of: 0.00B
Thanks in advance for your advices!!!..... And an apology if I'm wasting your time.
- José González
Reflash the room you were on when you changed the permission...
If that doesn't solve then make a titanium backup and do a factory reset, then restore apps
May be you want to go to stock rom using odin again and the come back to this rom
I'll take your advices
Thanks for your replys.
I will do your advices tonight.
Also, can you tell me which are your permissions and ownership of the storage and sdcard folders? Mine are:
Storage: r--xr--x-- (0550) , owner: 1000 system, group: 0 root.
Sdcard0: rwx--rwx--rx-- (0775), Owner: 1000 system, Group: 0 root
I'll wait fot your answer.
jgmoran said:
Thanks for your replys.
I will do your advices tonight.
Also, can you tell me which are your permissions and ownership of the storage and sdcard folders? Mine are:
Storage: r--xr--x-- (0550) , owner: 1000 system, group: 0 root.
Sdcard0: rwx--rwx--rx-- (0775), Owner: 1000 system, Group: 0 root
I'll wait fot your answer.
Click to expand...
Click to collapse
I copied the "com.sec.feature.hovering_ui.xml" and i didnt face any problem
Actually you are required to change the permissions of xml file..not for the etc/permissions folder
And permissions of storage : r-xr-x--- ,owner: system ,group:1028: 1028
sdcard : rwxrwxrwx, owner: 0:root ,group: 0:root
Solved!
Thanks guys!
I followed Jamal Ahmed recomendation. I did a factory reset from recovery and then reflash the ROM, and that's it!. And also I was able finally to copy de .xml to the permissions folder .
XDA Developers For the Win!!!
-José González

Categories

Resources